commit a68aa1cc6f3203b8a332683ebde67a00f39eec43 tree c05bd86850d8e0d0fb096a4b5f8d9f268b5561e8 parent a319a2773a13bab56a0d0b3744ba8703324313b5 parent 23930fa1cebfea6f79881c588ccd1b0781e49e3f author Linus Torvalds Sun, 24 Sep 2006 10:19:56 -0700 committer Linus Torvalds Sun, 24 Sep 2006 10:19:56 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: (50 commits) [libata] Delete pata_it8172 driver [PATCH] libata: improve handling of diagostic fail (and hardware that misreports it) [PATCH] libata: fix non-uniform ports handling Fix libata resource conflict for legacy mode [libata] ata_piix: build fix [PATCH] pata_amd: Check enable bits on Nvidia [PATCH] Update SiS PATA [libata] Add pata_jmicron driver to Kconfig, Makefile [libata #pata-drivers] Trim trailing whitespace. [libata] Trim trailing whitespace. [libata] Add a bunch of PATA drivers. Rename libata-bmdma.c to libata-sff.c. libata: Grand renaming. Clean up drivers/ata/Kconfig a bit. [PATCH] CONFIG_PM=n slim: drivers/scsi/sata_sil* [PATCH] sata_via: Add SATA support for vt8237a [PATCH] libata: change path to libata in libata.tmpl [PATCH] libata: s/CONFIG_SCSI_SATA/CONFIG_[S]ATA/g in pci/quirks.c libata: Make sure drivers/ata is a separate Kconfig menu [libata] ata_piix: add missing kfree() ... commit a319a2773a13bab56a0d0b3744ba8703324313b5 tree f02c86acabd1031439fd422a167784007e84ebb1 parent e18fa700c9a31360bc8f193aa543b7ef7b39a06b parent 183798799216fad36c7219fe8d4d6dee6b8fa755 author Linus Torvalds Sun, 24 Sep 2006 10:15:13 -0700 committer Linus Torvalds Sun, 24 Sep 2006 10:15:13 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (217 commits) net/ieee80211: fix more crypto-related build breakage [PATCH] Spidernet: add ethtool -S (show statistics) [NET] GT96100: Delete bitrotting ethernet driver [PATCH] mv643xx_eth: restrict to 32-bit PPC_MULTIPLATFORM [PATCH] Cirrus Logic ep93xx ethernet driver r8169: the MMIO region of the 8167 stands behin BAR#1 e1000, ixgb: Remove pointless wrappers [PATCH] Remove powerpc specific parts of 3c509 driver [PATCH] s2io: Switch to pci_get_device [PATCH] gt96100: move to pci_get_device API [PATCH] ehea: bugfix for register access functions [PATCH] e1000 disable device on PCI error drivers/net/phy/fixed: #if 0 some incomplete code drivers/net: const-ify ethtool_ops declarations [PATCH] ethtool: allow const ethtool_ops [PATCH] sky2: big endian [PATCH] sky2: fiber support [PATCH] sky2: tx pause bug fix drivers/net: Trim trailing whitespace [PATCH] ehea: IBM eHEA Ethernet Device Driver ... Manually resolved conflicts in drivers/net/ixgb/ixgb_main.c and drivers/net/sky2.c related to CHECKSUM_HW/CHECKSUM_PARTIAL changes by commit 84fa7933a33f806bbbaae6775e87459b1ec584c0 that just happened to be next to unrelated changes in this update. commit e18fa700c9a31360bc8f193aa543b7ef7b39a06b tree 1006f53177341c614d4aeb6c96e2e8f3859b5f52 parent 4f5537de7c1531398e84e18a24f667e49cc94208 author Jeff Garzik Sun, 24 Sep 2006 11:13:19 -0400 committer Jeff Garzik Sun, 24 Sep 2006 11:13:19 -0400 Move several *_SUPER_MAGIC symbols to include/linux/magic.h. Signed-off-by: Jeff Garzik commit 23930fa1cebfea6f79881c588ccd1b0781e49e3f tree 36d29e3f83661c4f5f45b6f74ac0d5f9886867a8 parent 36b35a5be0e4b406acd816e2122d153e875105be parent 4f5537de7c1531398e84e18a24f667e49cc94208 author Jeff Garzik Sun, 24 Sep 2006 01:52:47 -0400 committer Jeff Garzik Sun, 24 Sep 2006 01:52:47 -0400 Merge branch 'master' into upstream commit 4f5537de7c1531398e84e18a24f667e49cc94208 tree fe598e6cda4715e0af97e62d6084c00a1bb42475 parent f164c42161d21368d9cd4d6d6efc158baa2618db parent 1b73c4bb063c4aa0cdc25425809bb87f65ee75af author Linus Torvalds Sat, 23 Sep 2006 20:41:53 -0700 committer Linus Torvalds Sat, 23 Sep 2006 20:41:53 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: [SCSI] scsi_transport_fc: fixup netlink arguments commit 1b73c4bb063c4aa0cdc25425809bb87f65ee75af tree f973fb22aeffa6891abc39ca71dab0123ea460fd parent 1aedf2ccc60fade26c46fae12e28664d0da3f199 author James Bottomley Sat, 23 Sep 2006 22:07:20 -0500 committer James Bottomley Sat, 23 Sep 2006 22:07:20 -0500 [SCSI] scsi_transport_fc: fixup netlink arguments nlmsg_multicast now takes an extra allocation flag, so add it to the use in the fibre channel transport class. Signed-off-by: James Bottomley commit f164c42161d21368d9cd4d6d6efc158baa2618db tree fd6b2043f847b3551b1a8e13ef6fedd8ff575bad parent 6973dddee264723720e18ad2be5a0a454c0f52d9 parent 1aedf2ccc60fade26c46fae12e28664d0da3f199 author Linus Torvalds Sat, 23 Sep 2006 19:53:30 -0700 committer Linus Torvalds Sat, 23 Sep 2006 19:53:30 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (94 commits) [SCSI] SPI transport class: misc DV fixes [SCSI] Switch some more scsi drivers to pci_get_device and refcounted pci structures [SCSI] eata_pio cleanup and PCI fix [SCSI] aacraid: README update [SCSI] aacraid: remove scsi_remove_device [SCSI] aacraid: merge rx and rkt code [SCSI] aacraid: expose physical devices [SCSI] aacraid: misc cleanup [SCSI] zfcp: update maintainers file [SCSI] zfcp: update maintainers file [SCSI] zfcp: fix: avoid removal of fsf reqs before qdio queues are down [SCSI] zfcp: introduce struct timer_list in struct zfcp_fsf_req [SCSI] zfcp: fix: use correct req_id in eh_abort_handler [SCSI] zfcp: create private slab caches to guarantee proper data alignment [SCSI] zfcp: remove zfcp_ccw_unregister function [SCSI] aic7xxx: pause sequencer before touching SBLKCTL [SCSI] aic7xxx: avoid checking SBLKCTL register for certain cards [SCSI] scsi_debug version 1.80 [SCSI] megaraid: Make megaraid_ioctl() check copy_to_user() return value [SCSI] aha152x: remove static host array ... commit 1aedf2ccc60fade26c46fae12e28664d0da3f199 tree d91083e3079f1ddb942a382ac2b5a7525570ad59 parent dfdc58ba354adb80d67c99f7be84f95a8e02e466 parent 1ab9dd0902df4f4ff56fbf672220549090ab28ba author James Bottomley Sat, 23 Sep 2006 21:03:52 -0500 committer James Bottomley Sat, 23 Sep 2006 21:03:52 -0500 Merge mulgrave-w:git/linux-2.6 Conflicts: include/linux/blkdev.h Trivial merge to incorporate tag prototypes. commit dfdc58ba354adb80d67c99f7be84f95a8e02e466 tree 9cbbe31f7d3d5be0029fd7c1a8eeaaa02e53853a parent a07f353701acae77e023f6270e8af353b37af7c4 author James Bottomley Wed, 20 Sep 2006 12:00:18 -0400 committer James Bottomley Sat, 23 Sep 2006 20:53:53 -0500 [SCSI] SPI transport class: misc DV fixes Key more of the domain validation settings off the inquiry data from the disk (in particular, don't try IU or DT unless the disk claims to support them. Also add a new dv_in_progress flag to prevent recursive DV. Signed-off-by: James Bottomley commit 6973dddee264723720e18ad2be5a0a454c0f52d9 tree ece3be91a32831a77fbac0ddcbe10f101ae03707 parent e17ba8f51f69782abc4575dd30848ba5eafaa797 author David S. Miller Sat, 23 Sep 2006 18:32:38 -0700 committer David S. Miller Sat, 23 Sep 2006 18:34:07 -0700 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit e17ba8f51f69782abc4575dd30848ba5eafaa797 tree 534d829913806ce56e32f3d2e0404f3ab236bddf parent 1ab9dd0902df4f4ff56fbf672220549090ab28ba author David S. Miller Sat, 23 Sep 2006 18:31:42 -0700 committer David S. Miller Sat, 23 Sep 2006 18:34:06 -0700 [SPARC64]: Fix sched_clock() wrapping every ~17 seconds. Unfortunately, sparc64 doesn't have an easy way to do a "64 X 64 --> 128" bit multiply like PowerPC and IA64 do. We were doing a "64 X 64 --> 64" bit multiple which causes overflow very quickly with a 30-bit quotient shift. So use a quotientshift count of 10 instead of 30, just like x86 and ARM do. This also fixes the wrapping of printk timestamp values every ~17 seconds. Signed-off-by: David S. Miller commit a07f353701acae77e023f6270e8af353b37af7c4 tree 150bb61c6eb1891afaaa79047a399e3e66f561a2 parent 1a68d41a334a406d4bd35999f0be4d47f193e477 author Alan Cox Fri, 15 Sep 2006 15:34:32 +0100 committer James Bottomley Sat, 23 Sep 2006 20:32:52 -0500 [SCSI] Switch some more scsi drivers to pci_get_device and refcounted pci structures Signed-off-by: Alan Cox Signed-off-by: James Bottomley commit 1a68d41a334a406d4bd35999f0be4d47f193e477 tree 64913df8d3d751ca1e6acc8d0ab6b5eb204fda02 parent 2538363eb51a70948ed36bf3971a728268d10766 author Alan Cox Mon, 18 Sep 2006 19:18:34 +0100 committer James Bottomley Sat, 23 Sep 2006 20:28:19 -0500 [SCSI] eata_pio cleanup and PCI fix This started as a PCI reference fixup but to do that I need to build it, to build it I need to fix it and its full of 32bitisms and uglies. It has been resurrected, I'm not sure if this is a thank you for the work on the license stuff or punishment for some unknown misdeed however 8). I've also fixed a memory scribble in the init code. One oddity - the changes from HZ * to constants are deliberate. Whoever originally wrote the code (or cleaned it up) used HZ for a cycle timing loop even though is not HZ related. I've put it back to the counts used in the old days when the driver was most used. Signed-off-by: Alan Cox Signed-off-by: James Bottomley commit 2538363eb51a70948ed36bf3971a728268d10766 tree 09548ebacc4d796c02b45a3b20e5f963f6d8d330 parent ac5826ca91243272f97b3f01e80d71e3618f105f author Mark Haverkamp Tue, 19 Sep 2006 09:00:39 -0700 committer James Bottomley Sat, 23 Sep 2006 20:10:32 -0500 [SCSI] aacraid: README update Received from Mark Salyzyn: This patch to the driver's documentation adds a few new product entries, sorts the entries on OEM lines first for easy searching, followed by product id order to make it easier to compare against the open source pci list. The driver has 'family match' so is somewhat future proof, no code changes are required to recognize the new products. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit ac5826ca91243272f97b3f01e80d71e3618f105f tree fa68284e8e8afb3661b8441c610196b05503cbb8 parent 76a7f8fdc0c2381ae1ba55ef71837712223ecb3c author Mark Haverkamp Tue, 19 Sep 2006 09:00:18 -0700 committer James Bottomley Sat, 23 Sep 2006 20:10:10 -0500 [SCSI] aacraid: remove scsi_remove_device Received from Mark Salyzyn: Until the system is stabilized, I am suggesting the enclosed modification to prevent the driver from tickling the panic. Once sysfs and friends are stabilized, the patch may be backed out. We have yet to evaluate if we really want to relinquish existing Scsi Devices in any case, holding on to them as configuration of arrays comes and goes makes some sense as well. As a result, we have opted to pull the lines rather than comment them in legacy. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 76a7f8fdc0c2381ae1ba55ef71837712223ecb3c tree b6672be9f0c94d36841e56e6cf8a8636028268c5 parent 653ba58d55feb708c6f97e6f3e84901b3a03c9c0 author Mark Haverkamp Tue, 19 Sep 2006 09:00:02 -0700 committer James Bottomley Sat, 23 Sep 2006 20:09:42 -0500 [SCSI] aacraid: merge rx and rkt code Received from Mark Salyzyn: The only real difference between the rkt and rx platform modules is the offset of the message registers. This patch recognizes this similarity and simplifies the driver to reduce it's code footprint and to improve maintainability by reducing the code duplication. Visibly, the 'rkt.c' portion of this patch looks more complicated than it really is. View it as retaining the rkt-only specifics of the interface. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 653ba58d55feb708c6f97e6f3e84901b3a03c9c0 tree 833d63cf7fac90e693f0a2503e90d4a1f7362b9d parent 65101355450df2d935f8d56ac3abef279f28a0e2 author Mark Haverkamp Tue, 19 Sep 2006 08:59:43 -0700 committer James Bottomley Sat, 23 Sep 2006 20:09:03 -0500 [SCSI] aacraid: expose physical devices Received from Mark Salyzyn: I am placing this functionality into an insmod parameter. Normally the physical components are exported to sg, and are blocked from showing up in sd. Note that the pass-through I/O path via the driver through the Firmware to the physical disks is not an optimized path, the card is designed for Hardware RAID, elevator sorting and caching. This should not be used as a means for utilizing the aacraid based controllers as a generic scsi/SATA/SAS controller, performance should suck by a few percentage points, any RAID meta-data on the drives will confuse the controller about who owns the drives and there is a high risk of destroying content in both directions. Unreliable and for experimentation or strange controlled circumstances only. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 65101355450df2d935f8d56ac3abef279f28a0e2 tree deea581c99159e8d7f13d0f92c6972d9a5ab9b74 parent 9cbb889786548c1212fb77a9df8d09ed883a3480 author Mark Haverkamp Tue, 19 Sep 2006 08:59:23 -0700 committer James Bottomley Sat, 23 Sep 2006 20:08:26 -0500 [SCSI] aacraid: misc cleanup Received from Mark Salyzyn: Basically cleanup, nothing here will have an affect. Adjusting some error codes, removing superfluous definitions and code fragments. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 1ab9dd0902df4f4ff56fbf672220549090ab28ba tree 4fbb1a75f8bd0ff50e634eaf583db681774e501a parent f7425b160db500520c33f241edb066fc5c413f03 parent 08d3ad6a518051bfaefd5d6a8005e20c036996c3 author Linus Torvalds Sat, 23 Sep 2006 17:23:15 -0700 committer Linus Torvalds Sat, 23 Sep 2006 17:23:15 -0700 Merge git://git.infradead.org/mtd-2.6 * git://git.infradead.org/mtd-2.6: [MTD] Whitespace cleanup in SSFDC driver. [MTD] SSFDC translation layer minor cleanup [MTD] Fix dependencies with CONFIG_MTD=m commit f7425b160db500520c33f241edb066fc5c413f03 tree f1f50b935fa49a273f8df685b5fb2fcf6a0f07a6 parent 9f261e011340bcd22c1dd48b465153bd78caa8c8 parent f0063c4489a00ed5395378ef80a7edea4272f20b author Linus Torvalds Sat, 23 Sep 2006 17:21:12 -0700 committer Linus Torvalds Sat, 23 Sep 2006 17:21:12 -0700 Merge branch 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa * 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa: (148 commits) [ALSA] intel8x0m - Free irq in suspend [ALSA] Move CONFIG_SND_AC97_POWER_SAVE to pci/Kconfig [ALSA] usb-audio: add mixer control names for the Aureon 5.1 MkII [ALSA] ES1938: remove duplicate field initialization [ALSA] usb-audio: increase number of packets per URB [ALSA] hda-codec - Fix headphone auto-toggle on sigmatel codec [ALSA] hda-intel - A slight cleanup of timeout check in azx_get_response() [ALSA] hda-codec - Fix mic input with STAC92xx codecs [ALSA] mixart: Use SEEK_{SET,CUR,END} instead of hardcoded values [ALSA] gus: Use SEEK_{SET,CUR,END} instead of hardcoded values [ALSA] opl4: Use SEEK_{SET,CUR,END} instead of hardcoded values [ALSA] sound core: Use SEEK_{SET,CUR,END} instead of hardcoded values [ALSA] hda-codec - Support multiple headphone pins [ALSA] hda_intel prefer 24bit instead of 20bit [ALSA] hda-codec - Add vendor ids for Motorola and Conexant [ALSA] hda-codec - Add device id for Motorola si3054-compatible codec [ALSA] Add missing compat ioctls for ALSA control API [ALSA] powermac - Fix Oops when conflicting with aoa driver [ALSA] aoa: add locking to tas codec [ALSA] hda-intel - Fix suspend/resume with MSI ... commit 9f261e011340bcd22c1dd48b465153bd78caa8c8 tree b1c266ea746a0e8591e6af781aef22854e652ff9 parent a4c12d6c5dde48c69464baf7c703e425ee511433 parent 026ed5c9185dcc4b2df92e98c3d61a01cea19cbf author Linus Torvalds Sat, 23 Sep 2006 16:58:40 -0700 committer Linus Torvalds Sat, 23 Sep 2006 16:58:40 -0700 Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 * git://git.linux-nfs.org/pub/linux/nfs-2.6: (74 commits) NFS: unmark NFS direct I/O as experimental NFS: add comments clarifying the use of nfs_post_op_update() NFSv4: rpc_mkpipe creating socket inodes w/out sk buffers NFS: Use SEEK_END instead of hardcoded value NFSv4: When mounting with a port=0 argument, substitute port=2049 NFSv4: Poll more aggressively when handling NFS4ERR_DELAY NFSv4: Handle the condition NFS4ERR_FILE_OPEN NFSv4: Retry lease recovery if it failed during a synchronous operation. NFS: Don't invalidate the symlink we just stuffed into the cache NFS: Make read() return an ESTALE if the file has been deleted NFSv4: It's perfectly legal for clp to be NULL here.... NFS: nfs_lookup - don't hash dentry when optimising away the lookup SUNRPC: Fix Oops in pmap_getport_done SUNRPC: Add refcounting to the struct rpc_xprt SUNRPC: Clean up soft task error handling SUNRPC: Handle ENETUNREACH, EHOSTUNREACH and EHOSTDOWN socket errors SUNRPC: rpc_delay() should not clobber the rpc_task->tk_status Fix a referral error Oops NFS: NFS_ROOT should use the new rpc_create API NFS: Fix up compiler warnings on 64-bit platforms in client.c ... Manually resolved conflict in net/sunrpc/xprtsock.c commit a4c12d6c5dde48c69464baf7c703e425ee511433 tree 73c375e41a353e2da0461ff30d744bff73958b08 parent 73af07de3e32b9ac328c3d1417258bb98a9b0a9b parent 3b9f9a1c3903b64c38505f9fed3bb11e48dbc931 author Linus Torvalds Sat, 23 Sep 2006 16:49:31 -0700 committer Linus Torvalds Sat, 23 Sep 2006 16:49:31 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (353 commits) [IPV6] ADDRCONF: Mobile IPv6 Home Address support. [IPV6] ADDRCONF: Allow non-DAD'able addresses. [IPV6] NDISC: Fix is_router flag setting. [IPV6] ADDRCONF: Convert addrconf_lock to RCU. [IPV6] NDISC: Add proxy_ndp sysctl. [IPV6] NDISC: Set per-entry is_router flag in Proxy NA. [IPV6] NDISC: Avoid updating neighbor cache for proxied address in receiving NA. [IPV6]: Don't forward packets to proxied link-local address. [IPV6] NDISC: Handle NDP messages to proxied addresses. [NETFILTER]: PPTP conntrack: fix another GRE keymap leak [NETFILTER]: PPTP conntrack: fix GRE keymap leak [NETFILTER]: PPTP conntrack: fix PPTP_IN_CALL message types [NETFILTER]: PPTP conntrack: check call ID before changing state [NETFILTER]: PPTP conntrack: clean up debugging cruft [NETFILTER]: PPTP conntrack: consolidate header parsing [NETFILTER]: PPTP conntrack: consolidate header size checks [NETFILTER]: PPTP conntrack: simplify expectation handling [NETFILTER]: PPTP conntrack: remove unnecessary cid/pcid header pointers [NETFILTER]: PPTP conntrack: fix header definitions [NETFILTER]: PPTP conntrack: remove more dead code ... commit 73af07de3e32b9ac328c3d1417258bb98a9b0a9b tree 12897ed106e661d74886d753330c01d315366f53 parent 79da342c31ea839277060c1d2086aaf3b5cd85a4 author Herbert Xu Sun, 24 Sep 2006 09:30:19 +1000 committer Linus Torvalds Sat, 23 Sep 2006 16:48:46 -0700 [CRYPTO] hmac: Fix error truncation by unlikely() The error return values are truncated by unlikely so we need to save it first. Thanks to Kyle Moffett for spotting this. Signed-off-by: Herbert Xu Signed-off-by: Linus Torvalds commit 9cbb889786548c1212fb77a9df8d09ed883a3480 tree 5605d2f593421c5ca671a3de1cff9f9057e38a3a parent 99005e91eb2289c0ff0875257b5d18d9b7cc4eb7 author Swen Schillig Thu, 21 Sep 2006 16:29:31 +0200 committer James Bottomley Sat, 23 Sep 2006 18:04:58 -0500 [SCSI] zfcp: update maintainers file As Andreas stated he will not maintain the zfcp driver anymore. Instead I will take over the responsibility. Signed-off-by: Swen Schillig Signed-off-by: James Bottomley commit 99005e91eb2289c0ff0875257b5d18d9b7cc4eb7 tree 42665e73594b39c753b9a36001c100ea04614b5f parent 8165428610446ea9e6aa9dfa5485ab78e58cc9fc author Andreas Herrmann Mon, 18 Sep 2006 22:32:15 +0200 committer James Bottomley Sat, 23 Sep 2006 18:02:14 -0500 [SCSI] zfcp: update maintainers file Removed myself as maintainer of the s390 zfcp driver -- I will not maintain it any longer. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 8165428610446ea9e6aa9dfa5485ab78e58cc9fc tree c410ad0f802abd86461a04ea7a4f552447e3ed03 parent 2abbe866c8eb0296e3f5343bcf73e5371522a738 author Andreas Herrmann Mon, 18 Sep 2006 22:30:36 +0200 committer James Bottomley Sat, 23 Sep 2006 18:01:46 -0500 [SCSI] zfcp: fix: avoid removal of fsf reqs before qdio queues are down Fix the fix ... One of my previous fixes introduced removal of all fsf requests in zfcp's eh_host_reset_handler. But this must not happen before qdio queues are shut down. So, I revert the changes of zfcp_scsi_eh_host_reset_handler. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 2abbe866c8eb0296e3f5343bcf73e5371522a738 tree c839b12b43d07d538e32bcabec1fefa2106f384f parent 4eff4a36516d72e4f6ede901141214a7e05607e7 author Andreas Herrmann Mon, 18 Sep 2006 22:29:56 +0200 committer James Bottomley Sat, 23 Sep 2006 18:01:23 -0500 [SCSI] zfcp: introduce struct timer_list in struct zfcp_fsf_req This instance will be used whenever a timer is needed for a request by zfcp. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 4eff4a36516d72e4f6ede901141214a7e05607e7 tree b6a775ee5acbfdc91a349fc69580031e17276768 parent dd52e0eaf891cd85bf2ca057c15ed6bfd76db4e6 author Andreas Herrmann Mon, 18 Sep 2006 22:29:20 +0200 committer James Bottomley Sat, 23 Sep 2006 18:00:56 -0500 [SCSI] zfcp: fix: use correct req_id in eh_abort_handler zfcp's eh_abort_handler used the wrong request ID to identify the request to be aborted. The bug was introduced with commit fea9d6c7bcd8ff1d60ff74f27ba483b3820b18a3 for improved management of request IDs. The bug is fixed with this patch. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit dd52e0eaf891cd85bf2ca057c15ed6bfd76db4e6 tree dc457fe1b732716b715c05864ab02be767414cb4 parent d136205182b1ea4897da31e325a296f8831a6796 author Heiko Carstens Mon, 18 Sep 2006 22:28:49 +0200 committer James Bottomley Sat, 23 Sep 2006 17:54:24 -0500 [SCSI] zfcp: create private slab caches to guarantee proper data alignment Create private slab caches in order to guarantee proper alignment of data structures that get passed to hardware. Sidenote: with this patch slab cache debugging will finally work on s390 (at least no known problems left). Furthermore this patch does some minor cleanups: - store ptr for transport template in struct zfcp_data Signed-off-by: Heiko Carstens Signed-off-by: Andreas Herrmann Compile fix ups and Signed-off-by: James Bottomley commit d136205182b1ea4897da31e325a296f8831a6796 tree f437535162826c1fa04daebe45f7906b7d42466d parent cf2b5d3fcab77a9390293920ec5b49e67eced200 author Heiko Carstens Mon, 18 Sep 2006 22:28:04 +0200 committer James Bottomley Sat, 23 Sep 2006 17:49:52 -0500 [SCSI] zfcp: remove zfcp_ccw_unregister function Remove unused zfcp_ccw_unregister function (leftover from zfcp's module_exit era). Signed-off-by: Heiko Carstens Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit cf2b5d3fcab77a9390293920ec5b49e67eced200 tree 63f85032f1a5a3423997880d3c9033f1928e90e1 parent 3e3c60e3a8c7013d55768aa7256bb5a7f66b0bb4 author Doug Ledford Sun, 17 Sep 2006 07:38:15 +0200 committer James Bottomley Sat, 23 Sep 2006 17:48:11 -0500 [SCSI] aic7xxx: pause sequencer before touching SBLKCTL Some cards need to pause the sequencer before the SBLKCTL register is touched. This fixes a PCI related oops seen on powerpc macs with this card caused by trying to ascertain the bus signalling before beginning domain validation. Signed-off-by: James Bottomley commit 3e3c60e3a8c7013d55768aa7256bb5a7f66b0bb4 tree fdb4539ec39d15434f74e63e139fb8de3a27e4dc parent 231839102b54512ced7d3ee7fc9b8bcf5e3b583b author James Bottomley Wed, 06 Sep 2006 09:04:40 -0500 committer James Bottomley Sat, 23 Sep 2006 17:39:34 -0500 [SCSI] aic7xxx: avoid checking SBLKCTL register for certain cards For cards that don't support LVD, checking the SBLKCTL register to determine the bus singalling doesn't work. So, check that the card supports LVD first (AHC_ULTRA2) before checking the register. Signed-off-by: James Bottomley commit 231839102b54512ced7d3ee7fc9b8bcf5e3b583b tree 0136daa29d7f67c17da2dc02780a6dadcd4fb615 parent c9802cd9574a80444e689c7525627b40d7dc3a06 author Douglas Gilbert Sat, 16 Sep 2006 20:30:47 -0400 committer James Bottomley Sat, 23 Sep 2006 17:37:44 -0500 [SCSI] scsi_debug version 1.80 See http://www.torque.net/sg/sdebug26.html for more information on the scsi_debug driver. ChangeLog: - add 'vpd_use_hostno' parameter to allow simulated hosts to see the same set of targets (and luns). For testing multipath software. - add 'fake_rw' parameter to ignore the data in READ and WRITE commands - add support for log subpages (new in SPC-4) - yield appropriate block descriptor for MODE SENSE commands (only for pdt=0 (i.e. disks)) - REQUEST SENSE response no longer shows the stopped power condition (SAT changed to agree with SPC-3) Signed-off-by: Douglas Gilbert Signed-off-by: James Bottomley commit c9802cd9574a80444e689c7525627b40d7dc3a06 tree 5954e2ac7e97023b51d36127963a1e9262fbcfe0 parent 3eeab61aa3ddd3c0bedb7449ada1599de22fdb5a parent 2d2f8d59b14bec6c745e219a350ac51d9e00673f author James Bottomley Sat, 23 Sep 2006 15:33:43 -0500 committer James Bottomley Sat, 23 Sep 2006 15:33:43 -0500 Merge mulgrave-w:git/scsi-misc-2.6 Conflicts: drivers/scsi/iscsi_tcp.c drivers/scsi/iscsi_tcp.h Pretty horrible merge between crypto hash consolidation and crypto_digest_...->crypto_hash_... conversion Signed-off-by: James Bottomley commit 79da342c31ea839277060c1d2086aaf3b5cd85a4 tree 3d4accf576a5a063afbae009678917021bafd3fb parent 4ac493b1d5bfd332f3dee64baaa620961bab6cdc author Al Viro Sat, 23 Sep 2006 18:21:35 +0100 committer Linus Torvalds Sat, 23 Sep 2006 11:34:43 -0700 [PATCH] more get_property() fallout Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 4ac493b1d5bfd332f3dee64baaa620961bab6cdc tree 276fcdaaad3efc3bbe259a48b2308865b9aefb63 parent 2efc80cb8ddc341d81de996920e3b2ad8a12b1f7 author Al Viro Sat, 23 Sep 2006 18:20:56 +0100 committer Linus Torvalds Sat, 23 Sep 2006 11:34:43 -0700 [PATCH] briq_panel: read() and write() get __user pointers, damnit annotated, fixed a roothole in ->write(). Dereferencing user-supplied pointer is a Bad Idea(tm)... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2efc80cb8ddc341d81de996920e3b2ad8a12b1f7 tree 029c820b78fd8eeaf9e378c79cb818382f93a781 parent 13b5aeccc4350e5069c723e8f9becd7208ee02f2 author Al Viro Sat, 23 Sep 2006 16:45:55 +0100 committer Linus Torvalds Sat, 23 Sep 2006 11:34:43 -0700 [PATCH] #elif that should've been #elif defined #elif CONFIG_44x in ibm4xx.h should've been #elif defined(CONFIG_44x) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 13b5aeccc4350e5069c723e8f9becd7208ee02f2 tree 84decf7505e98d2e1d7a0935219f8b5e006c04d7 parent d7b2004528a967f2ba0bf31b1eb0da6a876960e6 author Al Viro Sat, 23 Sep 2006 16:44:58 +0100 committer Linus Torvalds Sat, 23 Sep 2006 11:34:43 -0700 [PATCH] more fallout from get_property returning pointer to const Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit d7b2004528a967f2ba0bf31b1eb0da6a876960e6 tree e527ce665b6d3d4b346e74fd5797113e0f3fd8a4 parent 5f77043f0f7851aa6139fb9a8b297497b540b397 author Al Viro Sat, 23 Sep 2006 16:44:16 +0100 committer Linus Torvalds Sat, 23 Sep 2006 11:34:43 -0700 [PATCH] missing includes from infiniband merge indirect chains of includes are arch-specific and can't be relied upon... (hell, even attempt to build it for itanic would trigger vmalloc.h ones; err.h triggers on e.g. alpha). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5f77043f0f7851aa6139fb9a8b297497b540b397 tree 2c9ee5c2c6219cce5fdd30ba41d35eaab6763595 parent 4c8bd7eeee4c8f157fb61fb64b57500990b42e0e author Herbert Xu Sun, 24 Sep 2006 00:40:41 +1000 committer Linus Torvalds Sat, 23 Sep 2006 11:34:43 -0700 [CRYPTO] hmac: Fix hmac_init update call The crypto_hash_update call in hmac_init gave the number 1 instead of the length of the sg list in bytes. This is a missed conversion from the digest => hash change. As tcrypt only tests crypto_hash_digest it didn't catch this. Signed-off-by: Herbert Xu Signed-off-by: Linus Torvalds commit 4c8bd7eeee4c8f157fb61fb64b57500990b42e0e tree 6d410adb72e69270c348a09ece9f5eb3a297af8a parent 3eeab61aa3ddd3c0bedb7449ada1599de22fdb5a author David Miller Fri, 22 Sep 2006 22:31:36 -0700 committer Linus Torvalds Sat, 23 Sep 2006 11:34:42 -0700 [KERNEL] Do not truncate to 'int' in ALIGN() macro. Signed-off-by: David S. Miller Signed-off-by: Linus Torvalds commit 2d2f8d59b14bec6c745e219a350ac51d9e00673f tree 0e40289425e854c0b7f6e899600f2abd9a6df6bd parent 5fcda4224529c4e550c917668d5e96c1d3e7039b author Jesper Juhl Fri, 15 Sep 2006 14:43:11 +0200 committer James Bottomley Sat, 23 Sep 2006 11:53:09 -0500 [SCSI] megaraid: Make megaraid_ioctl() check copy_to_user() return value Check copy_to_user() return value in drivers/scsi/megaraid.c::megadev_ioctl() This gets rid of this little warning: drivers/scsi/megaraid.c:3661: warning: ignoring return value of 'copy_to_user', declared with attribute warn_unused_result Signed-off-by: Jesper Juhl Acked-by: "Ju, Seokmann" Signed-off-by: James Bottomley commit 5fcda4224529c4e550c917668d5e96c1d3e7039b tree 94e446cf1366c76daeef2c0d92000f6e812a0ef4 parent 10d19ae5e1715c27db7009df6d59179774e7b8a1 author James Bottomley Thu, 14 Sep 2006 17:04:58 -0500 committer James Bottomley Sat, 23 Sep 2006 11:51:57 -0500 [SCSI] aha152x: remove static host array Fix this driver not to use a static two element host array instead use a list. This should fix panic on multiple eject reinsert of the pcmcia version of this device. Signed-off-by: James Bottomley commit 10d19ae5e1715c27db7009df6d59179774e7b8a1 tree 02ef755c802efc3823c87717aee78174d61f4f58 parent f2d719c65ad8f10afa7bec11315faa7badf4ecb9 author malahal@us.ibm.com Thu, 07 Sep 2006 15:12:42 -0700 committer James Bottomley Sat, 23 Sep 2006 11:47:29 -0500 [SCSI] aic94xx: Fix for a typo in aic94xx_init() Signed-off-by: Malahal Naineni Signed-off-by: James Bottomley commit f2d719c65ad8f10afa7bec11315faa7badf4ecb9 tree 79b3c96a313d24e40a9a0856a739e485e4a01bb4 parent 65396410af63db90d6428c678ff84aa652c3c1ec author Alexis Bruemmer Thu, 07 Sep 2006 14:32:16 -0700 committer James Bottomley Sat, 23 Sep 2006 11:47:00 -0500 [SCSI] aic94xx: Removes Reliance on FLASH Manufacture IDs This patch removes the reliance on FLASH Manufacture IDs for validation. Signed-off-by: Alexis Bruemmer Signed-off-by: James Bottomley commit 08d3ad6a518051bfaefd5d6a8005e20c036996c3 tree d1bdfe06ce6705d0d62d3ce0b005c3ed2cbcb550 parent 9a05eded5d17a425b9d9ed9dd80f518429dde4e8 author David Woodhouse Sat, 23 Sep 2006 16:20:48 +0100 committer David Woodhouse Sat, 23 Sep 2006 16:20:48 +0100 [MTD] Whitespace cleanup in SSFDC driver. Says akpm: ' - search for "( " and " )", fix.' Signed-off-by: David Woodhouse commit 9a05eded5d17a425b9d9ed9dd80f518429dde4e8 tree c89aa151f179eb26abf776d0804f85833f144554 parent 892e4fba1cb5cdc70f3acc65e024e541c0b2d559 author David Woodhouse Sat, 23 Sep 2006 10:56:24 +0100 committer David Woodhouse Sat, 23 Sep 2006 10:56:24 +0100 [MTD] SSFDC translation layer minor cleanup Don't include . Don't say 'MB' where you mean 'MiB'. Don't allocate 512 bytes on the stack. Signed-off-by: David Woodhouse commit 892e4fba1cb5cdc70f3acc65e024e541c0b2d559 tree 0afa420b54842f9ac0fb048bcc0c316f3560c2b7 parent 734a56285dbeedc6cc10aef6f700eeab7c65ea9f author David Woodhouse Sat, 23 Sep 2006 10:24:36 +0100 committer David Woodhouse Sat, 23 Sep 2006 10:24:36 +0100 [MTD] Fix dependencies with CONFIG_MTD=m CMDLINEPARTS shouldn't be selectable, and neither should SSFDC, which can be a tristate anyway. Signed-off-by: David Woodhouse commit f0063c4489a00ed5395378ef80a7edea4272f20b tree 7317be5ca915b882580474ff7f36631271356df7 parent 8b0c4149e82170ebc44b96e9ed96545f8ebd7c81 author Takashi Iwai Fri, 22 Sep 2006 15:30:42 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:48:40 +0200 [ALSA] intel8x0m - Free irq in suspend Free the irq handler in suspend and reacquire in resume as well as intel8x0 audio driver does. Some devices may change the irq line dynamically during suspend/resume. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 8b0c4149e82170ebc44b96e9ed96545f8ebd7c81 tree d379e6b77fc4c808c959a8498ac091f1218de673 parent fef8a0c03daa1aaf3f83e45da2b14674c073a9f5 author Takashi Iwai Fri, 22 Sep 2006 15:27:55 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:48:36 +0200 [ALSA] Move CONFIG_SND_AC97_POWER_SAVE to pci/Kconfig Moved the entry of CONFIG_SND_AC97_POWER_SAVE from drivers/Kconfig to more appropriate place, pci/Kconfig. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit fef8a0c03daa1aaf3f83e45da2b14674c073a9f5 tree 0deb792d70f66fe1ce550f1aab0749649c1a4cb5 parent dbf91dd47d90e1d91d5daf37ca30728f4e11c5e3 author Clemens Ladisch Fri, 22 Sep 2006 11:00:51 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:48:30 +0200 [ALSA] usb-audio: add mixer control names for the Aureon 5.1 MkII Add a mixer name map for the TerraTec Aureon 5.1 MkII USB. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit dbf91dd47d90e1d91d5daf37ca30728f4e11c5e3 tree 9a018868f6500705f8d384ac0ff2a6d69814e3c6 parent 92b9ac78f934616d08c72747607bfb0fa51ee52d author Clemens Ladisch Fri, 22 Sep 2006 10:58:40 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:48:21 +0200 [ALSA] ES1938: remove duplicate field initialization Remove the duplicate and inconsistent initialization of the kcontrol access field. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit 92b9ac78f934616d08c72747607bfb0fa51ee52d tree decb3ba04de5cf83a1a2ab819e793dc8c2a533cf parent eb995a8c82dba4a8e027c99ac5001fbc287a115c author Clemens Ladisch Fri, 22 Sep 2006 10:57:36 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:48:17 +0200 [ALSA] usb-audio: increase number of packets per URB To decrease the USB interrupts rate, increase both the default and the maximum number of packets per URB. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit eb995a8c82dba4a8e027c99ac5001fbc287a115c tree ee0bc14b9fd86361661db92f42aaa974d883fc80 parent 5c79b1f887f8edcd399baa164b66a1c08566c994 author Takashi Iwai Thu, 21 Sep 2006 14:28:21 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:48:12 +0200 [ALSA] hda-codec - Fix headphone auto-toggle on sigmatel codec Fix/optimize the headphone auto-toggle function on sigmatel codecs. The headphone pins are kept as output. When headhpones are unplugged, you cannot hear anyway ;) Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 5c79b1f887f8edcd399baa164b66a1c08566c994 tree e47d2cc5e2bea91c56d001833d960edbdf1f9371 parent 314634bc81325dcfeb31ed138647d428b1f26cbf author Takashi Iwai Thu, 21 Sep 2006 13:34:13 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:48:06 +0200 [ALSA] hda-intel - A slight cleanup of timeout check in azx_get_response() A slight cleanup of timeout check in azx_get_response() to check jiffies for HZ-independent timeout. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 314634bc81325dcfeb31ed138647d428b1f26cbf tree 9a230e872a69e13d026eae4cb247b1447b14c88f parent 7ffffecc7c4df08ad89723ca32d936ff09b5b3ff author Takashi Iwai Thu, 21 Sep 2006 11:56:18 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:48:01 +0200 [ALSA] hda-codec - Fix mic input with STAC92xx codecs Fixed mic input with STAC92xx codecs. The mic pin was sometimes set to OUTPUT by the headphone jack detection. Also, try to assign a secondary mic as front-mic (or vice versa) in the auto-detection if possible. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7ffffecc7c4df08ad89723ca32d936ff09b5b3ff tree 430d690b22502e5731b2d4035e6c5eb1fdd4345f parent d158da81ee9a1fa70d980f58b0f143fa873ca9ed author Josef 'Jeff' Sipek Thu, 21 Sep 2006 11:33:42 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:56 +0200 [ALSA] mixart: Use SEEK_{SET,CUR,END} instead of hardcoded values mixart: Use SEEK_{SET,CUR,END} instead of hardcoded values Signed-off-by: Josef 'Jeff' Sipek Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit d158da81ee9a1fa70d980f58b0f143fa873ca9ed tree 6c255769165ac98acf6151f6e118cde57e02328a parent dd47a33806bfe93c08b071c4d26a2390cbbc9e65 author Josef 'Jeff' Sipek Thu, 21 Sep 2006 11:33:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:52 +0200 [ALSA] gus: Use SEEK_{SET,CUR,END} instead of hardcoded values gus: Use SEEK_{SET,CUR,END} instead of hardcoded values Signed-off-by: Josef 'Jeff' Sipek Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit dd47a33806bfe93c08b071c4d26a2390cbbc9e65 tree 3bdc72c997302c222105838945d91ad921807889 parent e6f8f108a19638d7c6535ab393a228ed9d4804a6 author Josef 'Jeff' Sipek Thu, 21 Sep 2006 11:32:43 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:47 +0200 [ALSA] opl4: Use SEEK_{SET,CUR,END} instead of hardcoded values opl4: Use SEEK_{SET,CUR,END} instead of hardcoded values Signed-off-by: Josef 'Jeff' Sipek Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit e6f8f108a19638d7c6535ab393a228ed9d4804a6 tree f8838be1d503e8b6b3edff009bd3e572ecb72da7 parent eb06ed8f4c2440558ebf465e8baeac6367d90201 author Josef 'Jeff' Sipek Thu, 21 Sep 2006 11:31:58 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:43 +0200 [ALSA] sound core: Use SEEK_{SET,CUR,END} instead of hardcoded values sound core: Use SEEK_{SET,CUR,END} instead of hardcoded values Signed-off-by: Josef 'Jeff' Sipek Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit eb06ed8f4c2440558ebf465e8baeac6367d90201 tree 60501d5c4e918f96d26033b95373f4368ca929e2 parent 33ef765131bcf82bc5fca3f25d8313fa4df93ce0 author Takashi Iwai Wed, 20 Sep 2006 17:10:27 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:38 +0200 [ALSA] hda-codec - Support multiple headphone pins Some machines have multiple headpohne pins (usually on the lpatop and on the docking station) while the current hda-codec driver assumes a single headphone pin. Now it supports multiple hp pins (at least for detection). The sigmatel 92xx code supports this new multiple hp pins. It detects all hp pins for auto-muting, too. Also, the driver checks speaker pins in addition. In some cases, all line-out, speaker and hp-pins coexist. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 33ef765131bcf82bc5fca3f25d8313fa4df93ce0 tree 0962faa8831af98a9b381b12345e3b5d83e0d691 parent a922625126cc9bf593d801879a965b9f0eae6958 author Nicolas Graziano Tue, 19 Sep 2006 14:23:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:33 +0200 [ALSA] hda_intel prefer 24bit instead of 20bit If I understand the hda_intel code, for format > 20bit it only advertise the SNDRV_PCM_FMTBIT_S32_LE format and play it at 32 bit, 20 bit or 24 bit. But if the 20bit and 24bit are available, actually it prefer the 20bit format. This path is to prefer the 24bit format instead of 20bit. Signed-off-by: Nicolas Graziano Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit a922625126cc9bf593d801879a965b9f0eae6958 tree 52e0e51344bfea3e5fe07bc14a4914d66b9db28c parent 5720fddd62367bb44335ec83f6371ce91e9ead12 author Takashi Iwai Sun, 17 Sep 2006 22:05:54 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:28 +0200 [ALSA] hda-codec - Add vendor ids for Motorola and Conexant Added string entries for Motorola and Conexant vendor ids. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 5720fddd62367bb44335ec83f6371ce91e9ead12 tree 084c29ba2dd7980997d7a3b29f81e2547ff0a6fd parent 2b1181ed83ee8b0afbf9ba3e4f789f00375b2a17 author Takashi Iwai Sun, 17 Sep 2006 22:04:17 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:24 +0200 [ALSA] hda-codec - Add device id for Motorola si3054-compatible codec Added the device id for Motorola si3054-compatible modem codec on a Gateway laptop. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2b1181ed83ee8b0afbf9ba3e4f789f00375b2a17 tree 3248cc6cc9315fc4a5e48bd7f77ae8f005538135 parent 783eaf4671a4f5a95102aedb5a45e1f8adab945c author Takashi Iwai Sun, 17 Sep 2006 22:02:22 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:19 +0200 [ALSA] Add missing compat ioctls for ALSA control API Added the missing 32bit-compat ioctl entries for ALSA control API (espcially for recent additions of TLV stuff). Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 783eaf4671a4f5a95102aedb5a45e1f8adab945c tree 678162376dee56761dfba7913d1c85aa62005bbe parent 307192065c55dbc70159037c1e3006a9f761192b author Takashi Iwai Sun, 17 Sep 2006 22:00:51 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:15 +0200 [ALSA] powermac - Fix Oops when conflicting with aoa driver Fixed Oops when conflictin with aoa driver due to lack of i2c initialization. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 307192065c55dbc70159037c1e3006a9f761192b tree 462ed687281672986f54af5ac1d7abc2f2b8c999 parent 43001c9515cf87935c50e84b3e27b1f3b3776b5d author Johannes Berg Sun, 17 Sep 2006 21:59:25 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:06 +0200 [ALSA] aoa: add locking to tas codec Looks like I completely forgot to do this. This patch adds locking to the tas codec so two userspace programs can't hit the controls at the same time. Tested on my powerbook, but I obviously can't find any problems even without it since it doesn't do SMP. Signed-off-by: Johannes Berg Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 43001c9515cf87935c50e84b3e27b1f3b3776b5d tree 295e87add08bfec4a2a4fada76fd1cac7ac0123b parent 854b66e44260320c21ebe4b8a18e189f2e45b5be author Takashi Iwai Fri, 08 Sep 2006 12:30:03 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:47:00 +0200 [ALSA] hda-intel - Fix suspend/resume with MSI Fixed suspend/resume with MSI enablement. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 854b66e44260320c21ebe4b8a18e189f2e45b5be tree 2e9636686f69d9f7ab659d3afa1b7495ef6de7d8 parent 8f88820ee49359ea33af42845456ce9dbf54d39a author Takashi Iwai Fri, 08 Sep 2006 12:27:38 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:55 +0200 [ALSA] ak4xxx - Remove bogus IPGA controls Remove IPGA volume controls and merge the IPGA range to ADC volume controls. These two volumes are not really independent but connected simply in different ranges 0-0x7f and 0x80-max. It doesn't make sense to provide two controls. Since both 0x7f and 0x80 specify 0dB, a hack is needed for IPGA range to skip 0x80 (increment one) for such controls. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 8f88820ee49359ea33af42845456ce9dbf54d39a tree 8df83d4eb69a76ecbdb2d5d961c7d638b3fdf5ca parent e08a007d1041e0bc3df6b855043d8efde91851aa author Liam Girdwood Thu, 07 Sep 2006 18:07:46 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:51 +0200 [ALSA] Fix WM9705 AC97 patch build error This patch fixes a build error (introduced by me) in ac97_patch.c wrt WM9705 touchscreen. o Removed spurious '3D' from character after |= operation (0x3D is ASCII for '=') Signed-off-by: Liam Girdwood Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit e08a007d1041e0bc3df6b855043d8efde91851aa tree ace6ac98dec5bfc7a658df9aa6d0c78393b8598b parent dafbbb1fdbf103b24d0f7aa645625b6bd558c896 author Takashi Iwai Thu, 07 Sep 2006 17:52:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:46 +0200 [ALSA] hda-codec - Fix SPDIF device number of ALC codecs Assign the SPDIF always to the secondary device (dev#1) to keep the same configuration. Move the optional capture device to the third device (dev#2). hda_intel now just ignores the NULL entries in the pcm arrays from codecs. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit dafbbb1fdbf103b24d0f7aa645625b6bd558c896 tree 889cc11043b4f3edd06a1aa8a0089aa06249eb36 parent cd417d4fe89638a2848980cb389b9781d4913173 author Takashi Iwai Thu, 07 Sep 2006 12:40:00 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:42 +0200 [ALSA] hda-intel - Fix pci_disable_msi() call Fix the order to call pci_disable_msi() to be after free_irq(). (Otherwise pci_disable_msi() bugs you.) Also, added a description of disable_msi option to documentation. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit cd417d4fe89638a2848980cb389b9781d4913173 tree 5b8807717f6079c6dd50a18ac0ed315353aae10d parent 9d19f48cfe2570562c2c6226780a7ca627b0f1f1 author Takashi Iwai Wed, 06 Sep 2006 16:03:11 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:37 +0200 [ALSA] hda-codec - Add support for LG LW25 laptop Added the support for LG LW25 laptop with ALC880 codec. It's the same codec model as LG LW20 (model=lg-lw). Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 9d19f48cfe2570562c2c6226780a7ca627b0f1f1 tree dffe11da7daa0b27225c08badee58628923d961b parent a7da6ce564a80952d9c0b210deca5a8cd3474a31 author Takashi Iwai Wed, 06 Sep 2006 14:27:46 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:32 +0200 [ALSA] Add pcm_class attribute to PCM sysfs entry This patch adds a new attribute, pcm_class, to each PCM sysfs entry. It's useful to detect what kind of PCM stream is, for example, HAL can check whether it's a modem or not. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit a7da6ce564a80952d9c0b210deca5a8cd3474a31 tree e0520ce4255be7a8692e39241e086334a232b6a8 parent 160ea0dc6b86e2c0c4d325c06bf402bfdde7c1c7 author Takashi Iwai Wed, 06 Sep 2006 14:03:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:27 +0200 [ALSA] hda-codec - Add independent headphone volume control This patch addes the support of the independent 'Headphone' volume control to the generic codec parser. Some codecs (e.g. Conexant) have separate connections to the headphone and the independent amp adjustment is needed. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 160ea0dc6b86e2c0c4d325c06bf402bfdde7c1c7 tree e87db8537135b9e9ab21c0f57c0796f531845802 parent 0b59397268ed418e139db3806f7956ffcb18b33d author Richard Fish Wed, 06 Sep 2006 13:58:25 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:22 +0200 [ALSA] [snd-intel-hda] enable center/LFE speaker on some laptops This patch adds LFE mixer controls for laptops with a stac9200 and a mono speaker pin with amplifier. Signed-off-by: Richard Fish Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 0b59397268ed418e139db3806f7956ffcb18b33d tree 4f5a0a91be5e0bfbfe244b755be6820d66dca3a0 parent 55a29af5ed5d914f017e6a7c613a4d7cc34f82d9 author Takashi Iwai Wed, 06 Sep 2006 13:35:27 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:18 +0200 [ALSA] Add dB information to es1938 driver Added the dB information to ESS Solo (es1938) driver. The new compound dB range TLVs are used for non-linear native volume controls. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 55a29af5ed5d914f017e6a7c613a4d7cc34f82d9 tree 74f44500e741a0ad0cbfd5bb182b3d98da107401 parent 311e70a4741c736795da082da7290164d9cf3726 author Takashi Iwai Wed, 06 Sep 2006 12:15:34 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:11 +0200 [ALSA] Add definition of TLV dB range compound Added the definition of TLV dB range compound. It contains one or more dB-range or linear-volume TLV entries with min/max ranges. Used for volume controls with non-linear curves. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 311e70a4741c736795da082da7290164d9cf3726 tree 17e746d945ad674fc20841f10566554958d47bd8 parent ea543f1ee61bbfdf6cac4b79d66c7840d5b00037 author Takashi Iwai Wed, 06 Sep 2006 12:13:37 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:46:07 +0200 [ALSA] hdsp - Fix auto-updating of firmware Fixed the auto-updating of firmware if the breakout box was switched off/on. The firmware binary itself was already cached but it wasn't loaded properly. Also, request_firmware() is issued if the box was with firmware at module loading time but later it's erased. The auto-update is triggered at each PCM action (open, prepare, etc) and at opening proc files. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit ea543f1ee61bbfdf6cac4b79d66c7840d5b00037 tree 9afd4cc03826e32f6abd2145c77c7e9d8311a183 parent 679e28eef835cbd30de78c2f80bf488cba1b7e40 author Krzysztof Helt Tue, 05 Sep 2006 20:25:05 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:57 +0200 [ALSA] sparc dbri: SMP fixes The dbri driver hangs when used in kernel compiled with SMP support due to inproper locking. The patch fixes it. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 679e28eef835cbd30de78c2f80bf488cba1b7e40 tree 99eccfb2fd4e89bea16d3c7bcf93b4a982fafa50 parent bd25b7cae1e763b292f359170e16bccd01c7ee5c author Ville Syrjala Mon, 04 Sep 2006 12:28:51 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:53 +0200 [ALSA] es1968: Fix hw volume Fix maestro2 hardware volume control. Tested on a Dell Inspiron 7000. Signed-off-by: Ville Syrjala Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit bd25b7cae1e763b292f359170e16bccd01c7ee5c tree ede5771f67361bb6d2e139c25e4e79d66fed4728 parent 93ed150375187ae7917ed1e3b9b830b9d4065bad author Ville Syrjala Mon, 04 Sep 2006 12:28:24 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:48 +0200 [ALSA] ac97: Fix AD1819 volume range AD1819 volume registers can hold extra bits which do not affect the actual volume. Add a res_table to the codec patch to fix the problem. PCM, line and mic volume were tested. Signed-off-by: Ville Syrjala Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 93ed150375187ae7917ed1e3b9b830b9d4065bad tree 1b33472374a20512bec7cb22733229ae5b88a8fc parent 35a49934a7180fd80fb0bb3777d125dd939df50e author Tobin Davis Fri, 01 Sep 2006 21:03:12 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:43 +0200 [ALSA] hda-codec - Add 5 stack audio support for Intel 965 systems This patch renames the 965_2112 function ids to 965_3ST, and adds functional support for 965_5ST (5 stack 7.1 surround). Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 35a49934a7180fd80fb0bb3777d125dd939df50e tree d52c57ca6531555182d3082ebb509f5f3840a1d4 parent 2fd53a7e9b1392f9cc3002a24f3c13b2796e70c3 author Takashi Iwai Fri, 01 Sep 2006 17:09:44 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:37 +0200 [ALSA] Add dB scale information to mixart driver Added the dB scale information to mixart driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2fd53a7e9b1392f9cc3002a24f3c13b2796e70c3 tree 867ee4c5928d1f6305822740291fbc7c44607bca parent 927fc866025857c109219d4ed62d8c3cbc02713a author Andreas Schwab Fri, 01 Sep 2006 17:15:36 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:33 +0200 [ALSA] [PPC,SOUND] Fix audio gpio state detection When booting with line out or headphone plugged, you won't hear anything. The problem is that after reset all channels are muted, but the actual value of the gpio port doesn't exactly match the active_val settings as expected by check_audio_gpio. For example, the line_mute port is set to 7, but check_audio_gpio would expect 0xd or 0xf, thus its return value indicates that it is not active, even though it is. AFAICS only looking at the low bit is enough to determine whether the port is active. Signed-off-by: Andreas Schwab Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 927fc866025857c109219d4ed62d8c3cbc02713a tree 3f4dce2e6c269f854eb288873ad9d588e1df3c82 parent 929861c669a443cf667ec0d80ac73a567ed4543c author Pavel Machek Thu, 31 Aug 2006 17:03:43 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:28 +0200 [ALSA] sound/pci/hda/intel_hda: small cleanups Cleanup whitespace. Signed-off-by: Pavel Machek Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 929861c669a443cf667ec0d80ac73a567ed4543c tree 240aa4d84868c3c107cd33d7e52c09903cb0ac0c parent f640c3205aca4fe231beccc9e719c946cf3fee7a author Takashi Iwai Thu, 31 Aug 2006 16:55:40 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:22 +0200 [ALSA] hda-intel - Remove volatile Removed volatile from the position buffer pointer. Also, use synchronize_irq() instead of unreliable msleep(1) in the driver remove callback. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f640c3205aca4fe231beccc9e719c946cf3fee7a tree 4fd4b1db6e426e2640be9eaecab71f14ab27d1cc parent 680ef792a1afdb3bf38e4a0296cce996a5b95317 author Takashi Iwai Wed, 30 Aug 2006 16:57:37 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:18 +0200 [ALSA] Add dB scale information to ice1724 driver Added the dB scale information to each board support code of ice1724 driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 680ef792a1afdb3bf38e4a0296cce996a5b95317 tree 6259caf21efb03a5f528187413871467d75e3bda parent 723b2b0d36fa7cea81a962af2d40d88520d5a5f1 author Takashi Iwai Wed, 30 Aug 2006 16:56:30 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:13 +0200 [ALSA] Add dB scale information to ice1712 driver Added the dB scale information for native digital volumes of ice1712 driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 723b2b0d36fa7cea81a962af2d40d88520d5a5f1 tree 0020b109e0792aba552c99cff7b6576b81a5c2b6 parent d0ae48471570c680333cbe28c143bbab887a4ec2 author Takashi Iwai Wed, 30 Aug 2006 16:49:54 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:08 +0200 [ALSA] Clean up and add TLV support to AK4xxx i2c driver - Clean up the code in AK4xxx-ADDA i2c code. - Fix capture gain controls for AK5365 - Changed the static table for DAC/ADC mixer labels to use structs - Implemented TLV entries for each AK codec The volumes in AK4524, AK4528 and AK5365 are corrected with a table to be suitable for dB conversion. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit d0ae48471570c680333cbe28c143bbab887a4ec2 tree 9de58315e99dc59d7f0d66e708777c7422e504cb parent a79eee8d3d8a80c37d235e1181d67c3705c7bbfe author Takashi Iwai Tue, 29 Aug 2006 18:15:15 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:45:03 +0200 [ALSA] Add missing dB scale information to vxpocket driver Added the missing dB scale information for Mic volume to vxpocket driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit a79eee8d3d8a80c37d235e1181d67c3705c7bbfe tree 1a0618e6aba24c6ca10d5822bc08c03219d794ee parent 9f458e7fb5b92385d348fb6039ba7211a6d6ba6e author Luke Ross Tue, 29 Aug 2006 10:46:32 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:58 +0200 [ALSA] Support for non-standard rates in USB audio driver There's at least one USB audio chipset out there which supports only one non-standard rate (ID 0e6a:0310 supports 46875Hz). There's a few other patches for this card which are unsatisfactory because they attempt to map this rate to 44.1k leading to sound distortion. The patch below uses SNDRV_PCM_RATE_KNOT to properly support the non-standard rates where they are available. Signed-off-by: Luke Ross Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 9f458e7fb5b92385d348fb6039ba7211a6d6ba6e tree 9ac4a4857f3deb6ac8bd4eccf468f353a4a3be9c parent 33925186d843e7004288cd3d87843c5a1dbf55a4 author Andrey Liakhovets Mon, 28 Aug 2006 16:52:41 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:53 +0200 [ALSA] ac97 - Fix VIA EPIA sound problem Fix the bad sound quality on VIA EPIA system using VIA VT1617A (ALSA bug#2381). Signed-off-by: Andrey Liakhovets Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 33925186d843e7004288cd3d87843c5a1dbf55a4 tree 56f7eaa2106ef7fd46c7eea7e9b4a9d8ff4fa656 parent 063a40d9111ce7558f2fdfa4f85acfc47eb27353 author Takashi Iwai Mon, 28 Aug 2006 13:29:42 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:49 +0200 [ALSA] ymfpci - Add TLV entries for native volume controls Added the linear volume TLV entries for YMFPCI native volume controls. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 063a40d9111ce7558f2fdfa4f85acfc47eb27353 tree 66b1d91583d6fa1c4596c349bebc03a0363273cb parent 1f14d167f0233342eab53bb1a429ddad1e848de4 author Takashi Iwai Mon, 28 Aug 2006 13:20:13 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:44 +0200 [ALSA] Add the definition of linear volume TLV Added the definition of linear volume TLV type. Some DSP chips and codecs (e.g. AK codec) use linear volume control. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1f14d167f0233342eab53bb1a429ddad1e848de4 tree 58cea0df5e0bac079310f05951ce736fea8c1ccd parent 99dabfe716002c54b4dffa545460dc74bc632c22 author Krzysztof Helt Mon, 28 Aug 2006 13:01:31 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:40 +0200 [ALSA] sparc dbri: OSS layer fix This patch removes setting of incorrect stop_threshold value inside the driver. After the change, playback through the OSS layer works correctly. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 99dabfe716002c54b4dffa545460dc74bc632c22 tree facabb1403341d689341481c02e9b90b20b2be60 parent aaad3653a5f073ce9eaef4efd387cf7fc3a53d18 author Krzysztof Helt Mon, 28 Aug 2006 13:00:45 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:35 +0200 [ALSA] dbri sparc: fixes TS leak This patch fixes time slot leak in the dbri driver. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit aaad3653a5f073ce9eaef4efd387cf7fc3a53d18 tree fa42d208052b9b960bc6e689c543898e470b5db8 parent 2c7782b420ee137057eeec7c24a565ac85fc1988 author Krzysztof Helt Mon, 28 Aug 2006 12:59:23 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:31 +0200 [ALSA] sparc dbri: recording is back This patch fixes sound recording after the driver convertion to ring buffered version. It also contains small clean ups to the driver. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2c7782b420ee137057eeec7c24a565ac85fc1988 tree d3e26dd27caf13ca738db721eab05cfda8d17c48 parent 18c1c3f694105ab2a6f43e054e23f9a751b2f869 author Takashi Iwai Fri, 25 Aug 2006 13:11:26 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:26 +0200 [ALSA] hda-codec - Use model=ref for some Dell laptops Force to choose model=ref for some Dell laptops with STAC9200 codec chip for fixing the silent mic recording problem (possibly due to a BIOS bug). Reference: ALSA bug#2038 So far, applied to Inspiron 630m, Latitude D620 and 120L. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 18c1c3f694105ab2a6f43e054e23f9a751b2f869 tree 06c01bed5e123f33bbc9633ac6eb98784e626f3b parent 86148e84c218e49b54521e8dae7bb78eb66c4281 author Takashi Iwai Fri, 25 Aug 2006 11:39:34 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:21 +0200 [ALSA] Return error if no user TLV is defined Retrun error to user TLV_READ ioctl if no TLV is defined. (Until now, nothing was written and rerunred successfully.) Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 86148e84c218e49b54521e8dae7bb78eb66c4281 tree f05752428c2fe498f6375a22b0d7cb70b1a49949 parent 1186ed8c7dc9c0185e783beddf241509cc224f1a author Takashi Iwai Thu, 24 Aug 2006 12:36:36 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:17 +0200 [ALSA] Fix errors with user TLV_WRITE Fixed the errors at checking info.access field during user TLV_WRITE call. It should have been zero-initialized. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1186ed8c7dc9c0185e783beddf241509cc224f1a tree f24bf18a5d860ab9a4655c6bc8f67a6eb4a2b667 parent c6ff77f71fe692fa48fe02dbfe74a01f3d5e55e2 author Takashi Iwai Wed, 23 Aug 2006 19:53:28 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:12 +0200 [ALSA] Add dB scale information to vxpocket and vx222 drivers Added the dB scale information to vxpocket and vx222 drivers. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c6ff77f71fe692fa48fe02dbfe74a01f3d5e55e2 tree 4c2f87ba3e36ba9f2af6023e1eecfd9d87f4387e parent 3479307f8ca3cbf4181b8bf7d8c824156a9e63b7 author Takashi Iwai Wed, 23 Aug 2006 19:53:02 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:05 +0200 [ALSA] Add dB scale information to pcxhr driver Added the dB scale information to pcxhr driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 3479307f8ca3cbf4181b8bf7d8c824156a9e63b7 tree 26c4df6f74358218643f7967507844e872f77686 parent 071c73ad5fce436ee00c9422b7ca0c5d629451fb author Jochen Voss Wed, 23 Aug 2006 18:35:35 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:44:00 +0200 [ALSA] Fix volume control for the AK4358 DAC Fix volume control for the AK4358 DAC. The attenuation control registers of the AK4358 use only 7bit for the volume, the msb is used to enable attenuation output. Without this patch there are 256 volume levels the lower 128 of which are mute. Signed-off-by: Jochen Voss Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 071c73ad5fce436ee00c9422b7ca0c5d629451fb tree ac8c6776f2b4acb24e22c8c55c61832144fc140a parent 11b44bbde52b6c50ed8c9ba579d7ee9ff5b48cd8 author Takashi Iwai Wed, 23 Aug 2006 18:34:06 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:56 +0200 [ALSA] hda-codec - Fix mic capture with generic parser Fixed the mic capture with generic parser of hda-codec driver - Use VREF80 for mic pins if available - Handle multiple inputs correctly on audio-input widget node. Confirmed on a conexant codec chip. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 11b44bbde52b6c50ed8c9ba579d7ee9ff5b48cd8 tree 0e216886680a33d2ca2f29b5551c1484e1da0d48 parent 6d8590650eb81d2c869c7adf4b469071cec11eee author Richard Fish Wed, 23 Aug 2006 18:31:34 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:51 +0200 [ALSA] hda-codec - restore HDA sigmatel pin configs on resume This patch restores the Intel HDA Sigmatel codec pin configuration on resume. Most of it is dedicated to saving the BIOS pin configuration if necessary, so that even unrecognized chips can be resumed correctly. Signed-off-by: Richard Fish Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 6d8590650eb81d2c869c7adf4b469071cec11eee tree 99f72606dce6cc5e800019d7bd004559006fd63e parent 7b89190cf6ecd5075c272b4ec12f65a4ce45a762 author Guillaume Munch Tue, 22 Aug 2006 17:15:47 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:47 +0200 [ALSA] hda-codec - Support for SigmaTel 9872 - AR11M and AR11S uses the same chip hence we claim to support the AR Series. - Added commentary about STAC9225s which shares the same id as CXD9872RD. - Added entry for 7662 but won't work automatically until pci_subdevice is known. - 'vaio' model now corresponds to CXD9872RD_VAIO for backward compat. - Replaced STAC766x_VAIO with CXD9872RD_VAIO, STAC9872AK_VAIO, STAC9872K_VAIO and CXD9872AKD_VAIO - Added 'vaio-ar' model for potential future modifications. Signed-off-by: Guillaume Munch Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7b89190cf6ecd5075c272b4ec12f65a4ce45a762 tree f60ba82c95763b052db944b5246defe65b603367 parent bab282b912baf372d8f705357946ef691b621899 author Magnus Sandin Tue, 22 Aug 2006 13:33:12 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:42 +0200 [ALSA] ac97 - Enable S/PDIF on ASUS P5P800-VM mobo The attached patch will force building the S/PDIF controls on the PCU SSID for Asus P5P800-VM motherboard, even if the AC97_EI_SPDIF bit is not set. Signed-off-by: Magnus Sandin Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit bab282b912baf372d8f705357946ef691b621899 tree 104f1fb366f89dfe82670dc98b681da1b28bda32 parent a1c7a7d890634eaec106e5fb3a7d9c92b8f85b0d author Vladimir Avdonin Tue, 22 Aug 2006 13:31:58 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:38 +0200 [ALSA] hda-codec - Fix for Acer laptops with ALC883 codec Patch enables the internal speaker on acer laptops with ALC883. Signed-off-by: Vladimir Avdonin Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit a1c7a7d890634eaec106e5fb3a7d9c92b8f85b0d tree 260025bde47e31aafb7e5e72fdfe8bbbd1ac79f6 parent eac06a10d2b814dfacc36a8fff35ef07bf4eec8e author Takashi Iwai Tue, 22 Aug 2006 13:16:39 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:33 +0200 [ALSA] Add dB scale information to opl3sa2 driver Added the dB scale information to opl3sa2 driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit eac06a10d2b814dfacc36a8fff35ef07bf4eec8e tree b58b442323d539ae6edaebede6643f49213e4978 parent 0e7febf15851fb438b9518654340d1f704d202e5 author Takashi Iwai Tue, 22 Aug 2006 13:16:25 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:28 +0200 [ALSA] Add dB scale information to ad1848 driver Added the dB scale information to ad1848 driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 0e7febf15851fb438b9518654340d1f704d202e5 tree 347b5b86b2ce1991787c66e829ce439f9222c7ff parent fb567a8e4f077b7b084c0558706339c35a4fb186 author Takashi Iwai Tue, 22 Aug 2006 13:16:01 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:23 +0200 [ALSA] Add dB scale information to ad1816a driver Added the dB scale information to ad1816a driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit fb567a8e4f077b7b084c0558706339c35a4fb186 tree 63bfffca736bb7992cee1a566478fa7d967a3608 parent a0aef8edfc9d6d682dba557fe42599297cbc329a author Takashi Iwai Wed, 23 Aug 2006 13:07:19 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:19 +0200 [ALSA] Add dB scale information to dummy driver Added the dB scale information to dummy driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit a0aef8edfc9d6d682dba557fe42599297cbc329a tree bf1cf3b912ac3e1d8a51029002d6dd2c5b4c6eac parent 666c70ffd1c4be795de988f26a8ab13524d4ed47 author Takashi Iwai Wed, 23 Aug 2006 13:01:37 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:14 +0200 [ALSA] Add dB scale information to trident driver Added the dB scale information to trident driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 666c70ffd1c4be795de988f26a8ab13524d4ed47 tree 3a930d34f8a1bcace53ff403333ec37e395cb6e4 parent 9f6ab25063f04597e02968ae8393e8f4703c1563 author Takashi Iwai Wed, 23 Aug 2006 12:32:06 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:10 +0200 [ALSA] Add dB scale information to fm801 driver Added the dB scale information to fm801 driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 9f6ab25063f04597e02968ae8393e8f4703c1563 tree 279423663dc11dd50d3246a9d3073ded4d706645 parent 9107226d2ca8a15534da96313a1d370fb1eb8f9e author Takashi Iwai Wed, 23 Aug 2006 12:14:25 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:05 +0200 [ALSA] Add dB scale information to cs4281 driver Added the dB scale information to cs4281 driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 9107226d2ca8a15534da96313a1d370fb1eb8f9e tree 17f11fd11337f62fc506ea075359c50d9046a88e parent 7058c042001e111c601e1b031d9bcb8b5d392b74 author Takashi Iwai Wed, 23 Aug 2006 12:04:34 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:43:01 +0200 [ALSA] Add dB scale information to ak4531 codec Added the dB scale information to ak4531 codec driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7058c042001e111c601e1b031d9bcb8b5d392b74 tree 2ceb87b23ef88ec3b39b69b583ab809830e6152e parent 2f3482fbbd5dac7d0e86fe5b7ac5c1e51d52b084 author Takashi Iwai Mon, 21 Aug 2006 18:44:54 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:56 +0200 [ALSA] Added TLV support to VIA82xx driver Added the TLV support to VIA82xx driver for addition of dB range information. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2f3482fbbd5dac7d0e86fe5b7ac5c1e51d52b084 tree a7f8c3192208f840e6af7322efc0e565221120ca parent 7376d013fc6d3a45d748e0ce758ca9412b01b9dd author Takashi Iwai Mon, 21 Aug 2006 18:44:31 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:51 +0200 [ALSA] Add TLV support to AC97 codec driver Added the TLV support to AC97 codec driver for addition of dB range information. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7376d013fc6d3a45d748e0ce758ca9412b01b9dd tree ebe54b3ce6e34faf2a1fc8568b754a299174da2d parent 93f09c4cc111506db2ffa6220b7a3d7f73e41aa3 author Stephen Hemminger Mon, 21 Aug 2006 19:17:46 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:47 +0200 [ALSA] intel_hda: MSI support Simple patch to enable Message Signalled Interrupts for the HDA Intel audio controller. Tested with: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) MSI is better because it means audio doesn't end up sharing IRQ with USB. Signed-off-by: Stephen Hemminger Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 93f09c4cc111506db2ffa6220b7a3d7f73e41aa3 tree 733b0aad32c31998c92a68635669eec0df308837 parent ab93c7ae54a81bcecb77608ca89eea140f1d45ad author Adrian Bunk Mon, 21 Aug 2006 19:22:45 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:42 +0200 [ALSA] make sound/pci/emu10k1/emu10k1.c:snd_emu10k1_resume() static This patch makes the needlessly global snd_emu10k1_resume() static. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit ab93c7ae54a81bcecb77608ca89eea140f1d45ad tree f9db7fbc303e6f18e54bcaea3d1e9039fe8561d0 parent 1be54c824be9b5e163cd83dabdf0ad3ac81c72a8 author Krzysztof Helt Wed, 23 Aug 2006 11:37:36 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:38 +0200 [ALSA] sparc dbri: hardware constrains added This patch adds ALSA hardware constrains so stereo is possible only with 16-bit format. It contains small cleanups to ring buffered code as well. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1be54c824be9b5e163cd83dabdf0ad3ac81c72a8 tree 1a559701342e767a6add56a9e7960f26c1baba4c parent 294a30dc8cf13c492913f2ed3a6540bdf6e84e39 author Krzysztof Helt Mon, 21 Aug 2006 19:30:57 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:33 +0200 [ALSA] sparc dbri: ring buffered version It is a complete rework of low level layer to work on ring buffers for comands and data descriptors. This removes annoying noise due to delay in data buffer switching. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 294a30dc8cf13c492913f2ed3a6540bdf6e84e39 tree 3c92542d4cd9834e65b72241ac1ea2dd54c1d51f parent d1fdf07e22efdb9fa53739c0f0fec1f6b24c2056 author Krzysztof Helt Mon, 21 Aug 2006 19:29:59 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:28 +0200 [ALSA] sparc dbri: simplifed linking time slot function A simplified routines to link and unlink time slots. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit d1fdf07e22efdb9fa53739c0f0fec1f6b24c2056 tree cb83b26fd0e84741e80a0a053374fe2fff8e995c parent 470f1f1a1c2597fab98339ab0966dbf602d604f0 author Krzysztof Helt Mon, 21 Aug 2006 19:29:18 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:24 +0200 [ALSA] sparc dbri: fixed setting of burst size after reset A proper way to set DBRI's burst size. The size must be set after each chip reset. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 470f1f1a1c2597fab98339ab0966dbf602d604f0 tree 71c4f21207c373cfa1e99df79728f00ddba7a720 parent c27354460b1e0cbcd9dfc9232a76bd56c46dce89 author Krzysztof Helt Mon, 21 Aug 2006 19:28:16 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:19 +0200 [ALSA] sparc dbri: more driver cleanup A general clean up and redudant code removal. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c27354460b1e0cbcd9dfc9232a76bd56c46dce89 tree 3c0de67af75b0c95093b6d0956c6d9b338c9cd1e parent e96224ae974844d3f4e84f927ca4b17f1a2079a3 author Krzysztof Helt Mon, 21 Aug 2006 19:27:35 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:15 +0200 [ALSA] sparc dbri: removal of dri_desc struct The structure is in big part redudant. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit e96224ae974844d3f4e84f927ca4b17f1a2079a3 tree 9b521d379b2ecae8506216ca5b11050d49046718 parent 81d3dbde76eedcd3ede8a73eb72790d67fa254a9 author Takashi Iwai Mon, 21 Aug 2006 17:57:44 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:10 +0200 [ALSA] hda-intel - Switch to polling mode for CORB/RIRB communication Automatically switch to polling mode for CORB/RIRB communication if the irq-driven mode seems not working well. If the polling mode still doesn't work, switch to single_cmd mode as fallback. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 81d3dbde76eedcd3ede8a73eb72790d67fa254a9 tree 391d9fb0fd5384f602c0c17239d4e8616d311a99 parent 948a4db217235ba51c41d8e7c2ffcf9432e57274 author Tobin Davis Tue, 22 Aug 2006 19:44:45 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:06 +0200 [ALSA] hda-codec - Add support for new Intel boards with Stac9227 codec This patch adds full 5.1 audio support for Intel boards with the SigmaTel 9227 codec chip (946, 963, 965 series). Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 948a4db217235ba51c41d8e7c2ffcf9432e57274 tree 6b7b6f2f9a4b0b15b78a2add58157767d29c2be9 parent 79cf0d376fbf1cdf8e9c7c70c3a7c7434a716879 author Tobin Davis Tue, 22 Aug 2006 19:43:46 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:42:00 +0200 [ALSA] hda-codec - add missing device ids for Intel 945 boards This patch adds missing device ids for Intel 945 motherboards. Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 79cf0d376fbf1cdf8e9c7c70c3a7c7434a716879 tree f81868b0290f26c55f541d133e48b872cbfc0e4a parent 68a6abd97f8b9aa072e36b1901531e7bb69b6efc author Takashi Iwai Tue, 22 Aug 2006 16:35:19 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:55 +0200 [ALSA] Fix missing selection of CONFIG_VIDEO_DEV from SND_FM801_TEA575X Fixed the missing selection of CONFIG_VIDEO_DEV from SND_FM801_TEA575X. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 68a6abd97f8b9aa072e36b1901531e7bb69b6efc tree b981b52f3d0359fcbf36e70ae2d7940f0c53adbf parent 2aaeee8bd1cf51b6ed7c751a8472cb77f3ddc642 author Tobin Davis Mon, 21 Aug 2006 19:02:10 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:51 +0200 [ALSA] hda-codec - Fix headphone output for some Intel 945 systems This patch enables headphone output at initialization for Intel 945 based systems that don't have proper detection circuitry. Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2aaeee8bd1cf51b6ed7c751a8472cb77f3ddc642 tree 0e1bf4a190e404adb3fbc199c2b610fcca17239b parent adf75dcab1deb9625538f74906508c1f6136fd98 author Tobin Davis Mon, 21 Aug 2006 19:01:12 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:46 +0200 [ALSA] hda-codec - add missing device ids This patch adds missing device ids for Intel 915 and D102GGC motherboards. Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit adf75dcab1deb9625538f74906508c1f6136fd98 tree b55c3893c2eb2f4a216865a48eead454c679f8bf parent c256652466127872f1b2e510431dc25524ba40ba author Clemens Ladisch Fri, 18 Aug 2006 09:03:45 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:42 +0200 [ALSA] riptide: fix compile errors with older gcc Change the syntax of a union initialization that is not understood by gcc 2.x. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit c256652466127872f1b2e510431dc25524ba40ba tree a7fcb9fb643f70eb2c6702f1a161e92312e9eecf parent e05d696424f21b59eccff35d04938f0d6588cd94 author Takashi Iwai Thu, 17 Aug 2006 18:21:36 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:37 +0200 [ALSA] Add missing TLV callbacks for HD-audio codecs Added missing TLV callbacks for HD-audio codec supports. Also cleaned up the tlv callback for ad1986a (no mutex is needed there). Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit e05d696424f21b59eccff35d04938f0d6588cd94 tree 327f921deff3fbcbe7c9eebafc2fe5e19047dc01 parent 16727d94adf9a1376775fd34d982778c7f3506df author Takashi Iwai Thu, 17 Aug 2006 17:12:19 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:33 +0200 [ALSA] Fix some typos in snd-dummy driver Fixed some typos in snd-dummy driver. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 16727d94adf9a1376775fd34d982778c7f3506df tree f1d876d1c81326884f25974054a89755c42f4a88 parent 5fc3a2b250716b34ca7c0128475bbedf795f1ac2 author Krzysztof Helt Thu, 17 Aug 2006 16:59:28 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:28 +0200 [ALSA] sparc dbri: removal of redudant volatile keywords It removes redudant volatile keywords. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 5fc3a2b250716b34ca7c0128475bbedf795f1ac2 tree 399590c917ec6cccfb19666bd78ff16b86caeb3e parent 7cf0a95310f21f3c986288a483801b1d5694dee1 author Krzysztof Helt Thu, 17 Aug 2006 16:58:45 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:23 +0200 [ALSA] sparc dbri: removal of unused struct members It removes unused or rarely used members of defined structures. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7cf0a95310f21f3c986288a483801b1d5694dee1 tree 74325a39a8ac88c8674c21e71f0e6f4fb90f37a2 parent 99ccc560b73ff7381153dc1391d18391373931d3 author Takashi Iwai Thu, 17 Aug 2006 16:23:07 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:19 +0200 [ALSA] Fix compile errors with older gcc Fixed compile errors with older gcc for initialization of a union. sound/pci/ca0106/ca0106_mixer.c: At top level: sound/pci/ca0106/ca0106_mixer.c:499: unknown field 'p' specified in initializer sound/pci/ca0106/ca0106_mixer.c:499: warning: missing braces around initializer sound/pci/ca0106/ca0106_mixer.c:499: warning: (near initialization for 'snd_ca0106_volume_ctls[0].tlv') Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 99ccc560b73ff7381153dc1391d18391373931d3 tree 711cc97dab35104206c16a347e9213dd5ee58fb6 parent d244bf897b2e7933112067ec8d8dc1d47b86145f author Guillaume Munch Wed, 16 Aug 2006 19:35:12 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:14 +0200 [ALSA] Add support for Sony Vaio AR 11B This patch adds automatic detection for Sigmatel ID 7664, the sound chip in Sony Vaio AR 11B (european name). - patch_stac7661 becomes patch_stac766x - .id = 0x83847664 is added Signed-off-by: Guillaume Munch Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit d244bf897b2e7933112067ec8d8dc1d47b86145f tree fc1c434f9a00c7953050ffbc6242a316a3a5e8fa parent 80b556f26b3830ad5bd6ff9f701675ac8afcb263 author Magnus Sandin Wed, 16 Aug 2006 15:25:23 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:10 +0200 [ALSA] Fix for LG K1 Express Laptop Attached is the patch for the LG K1 Express (K1-2333V) laptop that enables sound output. Signed-off-by: Magnus Sandin Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 80b556f26b3830ad5bd6ff9f701675ac8afcb263 tree 8bcd0bc1cd32c9f6fb0e675670625a0d0f4003a3 parent 5e4968e24ced93b7b130e7e1fc947a79f82776bf author Alexey Dobriyan Wed, 16 Aug 2006 12:56:53 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:05 +0200 [ALSA] emu10k1x: simplify around pci_register_driver() Report errors to modprobe as side effect. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 5e4968e24ced93b7b130e7e1fc947a79f82776bf tree f90d1b77d7f033ba058177c323127651ef5d8d73 parent 6fb982803522bc86ca61774c6edf317f77165453 author Tobias Klauser Wed, 16 Aug 2006 12:56:16 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:41:00 +0200 [ALSA] sound/pci/fm801: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 6fb982803522bc86ca61774c6edf317f77165453 tree 8603d66246dc7bae650febd87a1c6c0b164c75f5 parent 42fe7647911d0bcaf81aac46db73a3b24387df6d author Krzysztof Helt Wed, 16 Aug 2006 12:54:29 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:56 +0200 [ALSA] sparc dbri removal of DBRI_NO_INTS This patch removes define DBR_NO_INTS and all code related to handling more than one dbri irq statuses block. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 42fe7647911d0bcaf81aac46db73a3b24387df6d tree 89aed63c7fb4384658edc827048f4613938e885c parent fe25befde9723ba7d921c100bf00d7643323e5a7 author Krzysztof Helt Wed, 16 Aug 2006 12:53:34 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:51 +0200 [ALSA] dbri driver cleanup This is a small clean up of the dbri driver for sparc machines. It contains also a fix to DBRI interrupt queue initialization. Signed-off-by: Krzysztof Helt Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit fe25befde9723ba7d921c100bf00d7643323e5a7 tree 5007d23d95a7d7358f76d094db71e5774ff4d52e parent 22309c3e0c8911865cad0aa94f53a9afadaad7ee author Jaroslav Kysela Tue, 15 Aug 2006 14:39:07 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:47 +0200 [ALSA] ice1712 - fix 1600->16000Hz value typo Signed-off-by: Jaroslav Kysela commit 22309c3e0c8911865cad0aa94f53a9afadaad7ee tree 922b876b9e3cb176034c6fced355d700e990f5dc parent f24e9f586b377749dff37554696cf3a105540c94 author Takashi Iwai Wed, 09 Aug 2006 16:57:28 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:41 +0200 [ALSA] Added model for Uniwill laptop with ALC861 Added a new model 'uniwill-m31' for Uniwill laptops with ALC861 codec chip. The patch is taken from ALSA bug#2035, and modifeid. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f24e9f586b377749dff37554696cf3a105540c94 tree 179aa1c4bb7e6ed15e69d83a8869bba4d2c52613 parent cf93907b98c82c2157e5bbe766bee8f1c5bb87b2 author Takashi Iwai Wed, 09 Aug 2006 14:51:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:37 +0200 [ALSA] Select I2C and I2C_POWERMAC in aoa/codecs/Kconfig Added the missing selection of I2C and I2C_POWERMAC for Onyx and TAS codecs in aoa/codecs/Kconfig. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit cf93907b98c82c2157e5bbe766bee8f1c5bb87b2 tree add0b89171e8aa51ea6da3153fa1f802ecbe4496 parent 30ba6e207a915a6c70f22ccb3f9169d1cce88466 author Takashi Iwai Wed, 09 Aug 2006 14:33:27 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:32 +0200 [ALSA] Fix compile warnings in ak4xxx-adda.c Fixed compile warnings in ak4xxx-adda.c reagarding missing enum cases in switch. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 30ba6e207a915a6c70f22ccb3f9169d1cce88466 tree 34970a5a814f752483800984c3164f62dc950960 parent 96d9e9347c9c5ca980bef22b4add7d437d79034f author Jochen Voss Wed, 09 Aug 2006 14:26:26 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:27 +0200 [ALSA] Revolution 5.1 - complete the AK5365 support Complete the AK5365 support. This adds a boolean control to toggle the soft mute feature of the AK5365 chip. Signed-off-by: Jochen Voss Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 96d9e9347c9c5ca980bef22b4add7d437d79034f tree 302ad6bbddb84efb58367f46d0a4c21df56a71e5 parent 683fe1537e660c322c8af953773921e814791193 author Jochen Voss Tue, 08 Aug 2006 21:13:42 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:23 +0200 [ALSA] Revolution 5.1 - register the AK5365 ADC with ALSA Enable capture support for the M-Audio Revolution 5.1 card, by registering the ADC with ALSA. Signed-off-by: Jochen Voss Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 683fe1537e660c322c8af953773921e814791193 tree fda0252e756a3b276a7cacad778e795c49739006 parent f5a5ffad072ec3c1fd636174c30f0ba52fe0259f author Jochen Voss Tue, 08 Aug 2006 21:12:44 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:18 +0200 [ALSA] Revolution 5.1 - add AK5365 ADC support Add support for the AK5365 ADC. Signed-off-by: Jochen Voss Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f5a5ffad072ec3c1fd636174c30f0ba52fe0259f tree 382ffdf40a7e045c6449853d80a71d81034ca2fb parent 25b6c43b3d6258f3e87244eeb2b9347dc5e83c40 author Danny Tholen Tue, 08 Aug 2006 18:59:07 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:14 +0200 [ALSA] [snd-hda-intel] fix sound on some Asus W6A chips This patch adds support in ALSA snd-hda-intel driver for Asus W6A motherboard as reported in MDV Bugzilla #19962 (see http://qa.mandriva.com/show_bug.cgi?id=19962) Signed-off-by: Danny Tholen Signed-off-by: Thomas Backlund Signed-off-by: Thierry Vignaud Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 25b6c43b3d6258f3e87244eeb2b9347dc5e83c40 tree 381b8dc19ac10d5386cd1e771e7ff7f1be75e39e parent 727f317a10da74b4e5c6d968bbba07767bfea794 author Takashi Iwai Tue, 08 Aug 2006 13:01:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:09 +0200 [ALSA] Fix the preselected model for HP machine Fixed the preselected model for a HP machine with SSID 103c:3010 to use hp-3013 (ALSA bug#2157). Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 727f317a10da74b4e5c6d968bbba07767bfea794 tree 3c8f08e706105e0a0c036ce11e0754e30f9412d3 parent 2529bba7606b23c1b7161d3c2ad486162e8650f9 author Takashi Iwai Fri, 04 Aug 2006 19:08:03 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:40:04 +0200 [ALSA] usb-audio - Fix a typo of CONFIG_PROC_FS Fixed a typo of CONFIG_PROC_FS in usbaudio.c. The stream proc file appears again. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2529bba7606b23c1b7161d3c2ad486162e8650f9 tree fc19403b51f9a8c3d080fac7acd50c3a95cb652c parent f03d68fe343d70bb06ecdb3d70dcf0e678ed99f9 author Takashi Iwai Fri, 04 Aug 2006 12:57:19 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:59 +0200 [ALSA] Fix substream selection in PCM and rawmidi The PCM and rawmidi substreams can be selected explicitly by opening control handle and set via *_PREFER_SUBDEVICE ioctl. But, when multiple controls are opened, the driver gets confused. The patch fixes the initialization of prefer_*_subdevice and the check of multiple controls. The first set subdevice is picked up as the valid one. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f03d68fe343d70bb06ecdb3d70dcf0e678ed99f9 tree 5d5a232219a95acfb2bfe449968b7fbb0f1e5df8 parent 548a648b98318e4b843b636dd2c7f42377e19a00 author Dmitry Torokhov Thu, 03 Aug 2006 15:06:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:55 +0200 [ALSA] ppc-beep - handle errors from input_register_device() ppc-beep: handle errors from input_register_device() (Also fixed the wrong memory release in the error path.) Signed-off-by: Dmitry Torokhov Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 548a648b98318e4b843b636dd2c7f42377e19a00 tree af08ffaaabd478080656a7fb8df149d37f66cdb8 parent 1c3985580445ef9225c1ea7714d6d963f7626eeb author Takashi Iwai Mon, 31 Jul 2006 16:51:51 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:50 +0200 [ALSA] Fix control/status mmap with shared PCM substream The flag to avoid 32bit-incompatible mmap for control/status records should be outside the pcm substream instance since a substream can be shared among multiple opens. Now it's flagged in pcm_file list that is directly assigned to file->private_data. Also, removed snd_pcm_add_file() and remove_file() functions and substream.files field that are not really used in the code. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1c3985580445ef9225c1ea7714d6d963f7626eeb tree b3cbc142be479ff13593239c3db6ee132d1d167c parent f3302a59cf6961712658db63b66ea5902c17d5e1 author Ondrej Zary Mon, 31 Jul 2006 12:51:57 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:46 +0200 [ALSA] es18xx - Add PnP BIOS support This patch adds PnP BIOS support to es18xx driver. It allows ESS ES18xx sound chips integrated in some notebooks (such as DTK FortisPro TOP-5A) that don't appear as ISA cards (they aren't recognized by ISA PnP, only by PnP BIOS) to 'just work' automatically. Signed-off-by: Ondrej Zary Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f3302a59cf6961712658db63b66ea5902c17d5e1 tree b32ae62fd508fba16a9096ba8f30e883eb164443 parent 7012b2dac71988f61b520b33c70c63be372b5994 author Matt Porter Mon, 31 Jul 2006 12:49:34 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:41 +0200 [ALSA] hda: sigmatel 9205 family support Adds support for the '9205 family' which includes some other part numbers but 9205 is the first one. These are 4 channel codecs, some have digital mic capability. Support for the digital mic feature will come later. Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7012b2dac71988f61b520b33c70c63be372b5994 tree f6dd2ee18b2d2604b3822e5c14331ad60e126e0e parent 4e195a7b78618c89b06547f3140e67a69ec23272 author James Courtier-Dutton Fri, 28 Jul 2006 22:27:56 +0100 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:37 +0200 [ALSA] snd-emu10k1: Add a comment explaining the conversion function for dB gain. Signed-off-by: James Courtier-Dutton Signed-off-by: Jaroslav Kysela commit 4e195a7b78618c89b06547f3140e67a69ec23272 tree c371937f6d62e7b6c316ba9507906258b0454d10 parent 35aec4e2affb99d52b4b744ddb09767eb6e05580 author Takashi Iwai Fri, 28 Jul 2006 14:47:34 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:32 +0200 [ALSA] Fix noisy output with shared channel mode with hd-audio - Fix the wrong initialization of num_dacs when changing the channel mode between 2 and multi-channel modes. It must be evaluated after calling snd_hda_ch_mode_put() - Added the similar check of num_dacs fix in Realtek code. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 35aec4e2affb99d52b4b744ddb09767eb6e05580 tree 610f3cccb7640ef907f5582f9181991aa4e9871b parent 4b146cb087b4a668511f6c991da1dc40e2e04b0d author Takashi Iwai Fri, 28 Jul 2006 14:44:31 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:27 +0200 [ALSA] Don't set up the same PID twice in snd_hda_multi_out_analog_prepare Check the hp_nid whether it's identical with front pin to avoid the setup of the same widget node twice. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 4b146cb087b4a668511f6c991da1dc40e2e04b0d tree 4be992353d1fb0b981290de789a0a96e49d7ea7a parent 68ab801e32bbe2caac8b8c6e6e94f41fe7d687ad author Takashi Iwai Fri, 28 Jul 2006 14:42:36 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:22 +0200 [ALSA] Misc fixes for Realtek HD-audio codecs - Added model=arima for Arima W820Di1 with ALC882 codec chip - Added EAPD-control verbs to TCL S700 init verbs - Added missing model strings for Realtek codecs (to be specified via module option explicitly for testing/debugging) Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 68ab801e32bbe2caac8b8c6e6e94f41fe7d687ad tree 8a014270a65517a3290416d2a2143e207b3708de parent 9265d199616630c2eb993ffe40c9daef3d6873b3 author Matthias Koenig Thu, 27 Jul 2006 16:59:23 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:16 +0200 [ALSA] Add snd-mts64 driver for ESI Miditerminal 4140 Added snd-mts64 driver for Ego Systems (ESI) Miditerminal 4140 by Matthias Koenig . The driver requires parport (CONFIG_PARPORT). Signed-off-by: Matthias Koenig Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 9265d199616630c2eb993ffe40c9daef3d6873b3 tree 0c272b14f45d20386dd07555615b17d1634c0f94 parent bc6c531eb53de8a0ba355f76ce2bd28f58e46707 author Takashi Iwai Thu, 27 Jul 2006 15:50:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:11 +0200 [ALSA] Fix Makefile of cs5535audio Use ifeq instead of ifdef in Makefile to make the maintenance of out-of-kernel tree easier. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit bc6c531eb53de8a0ba355f76ce2bd28f58e46707 tree 78fadf8996e1183911f1e40003c0e938641955c9 parent b7c6b03405896bc181e1e2c9c06628c3b1681af5 author Jaroslav Kysela Thu, 27 Jul 2006 10:44:30 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:05 +0200 [ALSA] HDA driver - do not set mute flag for dB scale (follow HDA specification) Signed-off-by: Jaroslav Kysela commit b7c6b03405896bc181e1e2c9c06628c3b1681af5 tree 0ff17e2ee28e447a3e4d267fa1edad93627b9b78 parent 827a56ea3d9c3d5f80c5520ba9d487f9b7069238 author Takashi Iwai Tue, 25 Jul 2006 15:29:37 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:39:00 +0200 [ALSA] via82xx - Add dxs_support entry for a FSC machine Added dxs_support=5 entry for a FSC machine. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 827a56ea3d9c3d5f80c5520ba9d487f9b7069238 tree 0ab1d6076a52922b3178799829f4adf5dc505195 parent 304dcaac91f0d26543b31fd7e63726f096c826ee author Takashi Iwai Tue, 25 Jul 2006 14:51:16 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:55 +0200 [ALSA] Added model for ASUS M2NPV-VM mobo Added the proper model (3stack) for ASUS M2NPV-VM mobo with AD1986A codec. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 304dcaac91f0d26543b31fd7e63726f096c826ee tree bb0aaafbfb87824773cce8f44ed29cc8e8d1eb1c parent 6d177ba7839dd7ed391c2f36b121eb09d1eaee4c author Takashi Iwai Tue, 25 Jul 2006 14:51:16 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:50 +0200 [ALSA] Add support of Benq laptop with ALC262 Added the support of Benq laptop with ALC262 codec. A model string 'benq' is added, too. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 6d177ba7839dd7ed391c2f36b121eb09d1eaee4c tree 2fc3501ef9ffc0b894ea909b159721787ac92667 parent 5a053d012d0576e9306009939ca81a86547ef35a author Takashi Iwai Tue, 25 Jul 2006 14:51:15 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:46 +0200 [ALSA] Add hp-bpc model type for HP laptops Added 'hp-bpc' model type for HP xw4400-compatible laptops. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 5a053d012d0576e9306009939ca81a86547ef35a tree 80092d40f521dbf31478f293820ce80583ebefc0 parent 0a197f005a27766f5c9e0d960e7650748ec1ee4f author Takashi Iwai Tue, 25 Jul 2006 14:51:15 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:41 +0200 [ALSA] Add model entry for Clevo m665n laptop Added the proper model entry for Clevo m665n laptop with ALC880 codec. Also, added a model string 'clevo' to enable the clevo-type model option. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 0a197f005a27766f5c9e0d960e7650748ec1ee4f tree c692c2d4837b0cbf0eed682a6fd82efebe840a0d parent 31508f83f591dc8764427b6321c89f8f9e84bad2 author Takashi Iwai Tue, 25 Jul 2006 14:51:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:36 +0200 [ALSA] Add model entry for Samsung X10 laptop Added the proper model entry (laptop-eapd) for Samsung X10-T2300 Culesa laptop with AD1986A codec. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 31508f83f591dc8764427b6321c89f8f9e84bad2 tree e8b131303a9397232b33fbaaf5591f097f93af35 parent fff36e472b4315df77513f4339c5c199c6aad28b author James Courtier-Dutton Sat, 22 Jul 2006 17:02:10 +0100 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:32 +0200 [ALSA] snd-emu10k1: Implement dB gain infomation. Signed-off-by: James Courtier-Dutton Signed-off-by: Jaroslav Kysela commit fff36e472b4315df77513f4339c5c199c6aad28b tree 02c3041d3c006520cb4056847c27b30cdd48254d parent f1265391ea002a28933dc1a8a55948c0ed64c9d0 author James Courtier-Dutton Sat, 22 Jul 2006 15:02:48 +0100 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:26 +0200 [ALSA] snd-ca0106: Fix dB gain TLVs. Signed-off-by: James Courtier-Dutton Signed-off-by: Jaroslav Kysela commit f1265391ea002a28933dc1a8a55948c0ed64c9d0 tree caf87497512e4526ef75ecf1c134ed5ed45aad11 parent 6e9059b05fa733045d7845ac70c5ba0a05e3c2d1 author Clemens Ladisch Fri, 21 Jul 2006 10:46:18 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:22 +0200 [ALSA] usb-audio: add more Yamaha devices Add some quirks for some unknown Yamaha USB MIDI devices. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit 6e9059b05fa733045d7845ac70c5ba0a05e3c2d1 tree af471b0c64182326c6d51cc0388d35a24bc300ff parent cd93fe4770ca607c7f39260c02941deccbd77b8b author Clemens Ladisch Fri, 21 Jul 2006 10:45:19 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:17 +0200 [ALSA] system timer: remove unused snd_timer_system_private.timer field Remove the snd_timer_system_private structure's timer field that was never used. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit cd93fe4770ca607c7f39260c02941deccbd77b8b tree 7f2fc78b8815d88de991160feb7574120cd47aed parent de2696d8bc9c81874b3743e0c27708760cb7fb52 author Clemens Ladisch Mon, 17 Jul 2006 16:53:57 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:13 +0200 [ALSA] timer: fix timer rescheduling When checking whether a hardware timer needs to be rescheduled, we have to compare against the previously scheduled interval and not against the actual interval between the last two interrupts. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit de2696d8bc9c81874b3743e0c27708760cb7fb52 tree a19fca7ba453cc136cfa18b3deb1b57f34759f4a parent 6ed5eff025b72cb84a884d4be05f854f13b1542f author Clemens Ladisch Mon, 17 Jul 2006 16:52:09 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:08 +0200 [ALSA] system timer: clear correction value when timer stops Do not retain the old correction value when the timer was stopped. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit 6ed5eff025b72cb84a884d4be05f854f13b1542f tree c6cf92ad2e646b8134367c2db40168f5e4c651d4 parent 17f48ec3f15ddb8080b151304ee887c68f7e4650 author Clemens Ladisch Mon, 17 Jul 2006 16:51:37 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:38:03 +0200 [ALSA] system timer: accumulate correction for multiple lost ticks When multiple timer interrupts arrive too late, correct for all delays instead of ignoring the earlier ones. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit 17f48ec3f15ddb8080b151304ee887c68f7e4650 tree 05d420b98cff7b2c28c0051be74db0196b6edd1e parent 7bc5ba7e02f63a5732fdf99e7471f54738f6f918 author Clemens Ladisch Mon, 17 Jul 2006 16:50:56 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:58 +0200 [ALSA] system timer: fix lost ticks correction adjustment Fix the adjustment of the lost ticks correction variable in the case when the correction has been fully taken into account in the next timer expiration value. Subtracting the scheduled ticks value would result in an underflow. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit 7bc5ba7e02f63a5732fdf99e7471f54738f6f918 tree 8b170e80155eaa18951fde3c2e974aede253cab5 parent 6a65d793b0a82c7e190d9fd92a479401b6a127ca author Takashi Iwai Fri, 14 Jul 2006 15:18:19 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:54 +0200 [ALSA] Add TLV support to snd-usb-audio driver Added TLV-read support to snd-usb-audio driver for passing the volume dB scale information to user-space. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 6a65d793b0a82c7e190d9fd92a479401b6a127ca tree 3f55f0b9e853688203e764f09797758a2a5c8c22 parent 11b3a7555aa1b1629614e919889a4479dfe6f37b author Takashi Iwai Fri, 14 Jul 2006 14:39:34 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:49 +0200 [ALSA] Remove unused tlv_rw field from struct snd_kcontrol Remove unused tlv_rw field from struct snd_kcontrol. The callback is set in tlv.c field, instead. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 11b3a7555aa1b1629614e919889a4479dfe6f37b tree 17035ddd1cae6951232de292ef5b0ba6e388804f parent 22a27c7f8d0752b38b315d6a192c338d45ea28d5 author James Courtier-Dutton Sat, 08 Jul 2006 16:39:30 +0100 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:45 +0200 [ALSA] snd-emu10k1: Implement 24bit capture via Philips 1361T ADC for SB0240 card. Signed-off-by: James Courtier-Dutton Signed-off-by: Jaroslav Kysela commit 22a27c7f8d0752b38b315d6a192c338d45ea28d5 tree 98610de27de0f6c289936da79e3dd48fcc16d8bf parent 302e9c5af4fb3ea258917ee6a32e9e45f578b231 author Matt Porter Thu, 06 Jul 2006 18:49:10 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:40 +0200 [ALSA] hda: fix sigmatel 9227/8/9 codec support SigmaTel 9227/8/9 IDs must use the 927x patch. Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 302e9c5af4fb3ea258917ee6a32e9e45f578b231 tree 2f3c5f8c48c198fc3a7c7b1460d094549cd7d313 parent 7f0e2f8bb851f5e0a2e0fef465b7b6f36c7aa7be author Jaroslav Kysela Wed, 05 Jul 2006 17:39:49 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:36 +0200 [ALSA] HDA codec & CA0106 - add/fix TLV support Signed-off-by: Jaroslav Kysela commit 7f0e2f8bb851f5e0a2e0fef465b7b6f36c7aa7be tree 788d092f974bd98ea0b7d84a1362555672f7a81e parent 8aa9b586e42099817163aba01d925c2660c4dbbe author Jaroslav Kysela Wed, 05 Jul 2006 17:39:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:31 +0200 [ALSA] HDA codec - little code & comment cleanup Signed-off-by: Jaroslav Kysela commit 8aa9b586e42099817163aba01d925c2660c4dbbe tree b70172eafcb672074fda1858c7a9c5779a1132f8 parent 6bbe13ecbbce4415a5a7959b3bc35b18313025e0 author Jaroslav Kysela Wed, 05 Jul 2006 17:34:51 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:26 +0200 [ALSA] Control API - more robust TLV implementation - added callback option - added READ/WRITE/COMMAND flags to access member - added WRITE/COMMAND ioctls - added SNDRV_CTL_EVENT_MASK_TLV for TLV change notifications - added TLV support to ELEM_ADD ioctl Signed-off-by: Jaroslav Kysela commit 6bbe13ecbbce4415a5a7959b3bc35b18313025e0 tree f0d962b368d769000776c799c43b810be5524ed5 parent e0a5d82a966172c5f1dff6229d4a07be2222e8b3 author Jaroslav Kysela Tue, 04 Jul 2006 13:39:55 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:21 +0200 [ALSA] fm801: fixed broken previous patch for the FM tuner only code - do not allocate and enable interrupt - do not do the FM tuner mute (it should be handled more cleanly) Signed-off-by: Jaroslav Kysela commit e0a5d82a966172c5f1dff6229d4a07be2222e8b3 tree 2f2873a35c0924a0c047b35aa01a8deb9f47a9cb parent 82466ad76d60c35bf1c48ba1b9c98c35d82fc385 author Andy Shevchenko Tue, 04 Jul 2006 12:05:14 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:17 +0200 [ALSA] fm801: Support FM only card Signed-off-by: Andy Shevchenko Signed-off-by: Jaroslav Kysela commit 82466ad76d60c35bf1c48ba1b9c98c35d82fc385 tree 82d374d6b3b3027bff6c43c057293017bbcab7c5 parent 6dbe662874ba08585eaf732d126762c25ac8e3f7 author Mike Rapoport Thu, 29 Jun 2006 17:15:33 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:12 +0200 [ALSA] add codec-specific controls for UCB1400 This patch adds some codec-specific controls for Philips UCB1400 codec. Signed-off-by: Mike Rapoport Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 6dbe662874ba08585eaf732d126762c25ac8e3f7 tree 7460c36d4d848f223b682f7a700866bcf6dbc7d5 parent 2b29b13c5794f648cd5e839796496704d787f5a6 author Takashi Iwai Tue, 27 Jun 2006 18:28:53 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:08 +0200 [ALSA] Add experimental support of aggressive AC97 power-saving mode Added CONFIG_SND_AC97_POWER_SAVE kernel config to enable the support of aggressive AC97 power-saving mode. In this mode, the AC97 powerdown register bits are dynamically controlled at each open/close of PCM streams. The mode is activated via power_save option for snd-ac97-codec driver. As default it's off. It can be turned on/off on the fly via sysfs, too. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2b29b13c5794f648cd5e839796496704d787f5a6 tree b9753f2593aff429a8cca63e40f052a0fdd6aedb parent c461482c8072bb073e6146db320d3da85cdc89ad author Takashi Iwai Fri, 23 Jun 2006 14:38:26 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:37:03 +0200 [ALSA] Deprecate snd_card_free_in_thread() Deprecated snd_card_free_in_thread(), replaced with snd_card_free_when_closed(). Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c461482c8072bb073e6146db320d3da85cdc89ad tree 3b69cfd292a488a8cb57ac9b040bd2b1b1a1e26d parent 746d4a02e68499fc6c1f8d0c43d2271853ade181 author Takashi Iwai Fri, 23 Jun 2006 14:38:23 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:36:58 +0200 [ALSA] Unregister device files at disconnection Orignally proposed by Sam Revitch . Unregister device files at disconnection to avoid the futher accesses. Also, the dev_unregister callback is removed and replaced with the combination of disconnect + free. A new function snd_card_free_when_closed() is introduced, which is used in USB disconnect callback. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 746d4a02e68499fc6c1f8d0c43d2271853ade181 tree c4a1e9a0e8f5f95a44a3349d9b86490fe837428f parent 42750b04c5baa7c5ffdf0a8be2b9b320efdf069f author Takashi Iwai Fri, 23 Jun 2006 14:37:59 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:36:48 +0200 [ALSA] Fix disconnection of proc interface - Add the linked list to each proc entry to enable a single-shot disconnection (unregister) - Deprecate snd_info_unregister(), use snd_info_free_entry() - Removed NULL checks of snd_info_free_entry() Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 42750b04c5baa7c5ffdf0a8be2b9b320efdf069f tree 52aea8f1eeb44405b67bc5b381cce6bc20e2bff6 parent 3eeab61aa3ddd3c0bedb7449ada1599de22fdb5a author Jaroslav Kysela Thu, 01 Jun 2006 18:34:01 +0200 committer Jaroslav Kysela Sat, 23 Sep 2006 10:36:42 +0200 [ALSA] Control API - TLV implementation for additional information like dB scale This patch implements a TLV mechanism to transfer an additional information like dB scale to the user space. The types might be extended in future. Acked-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 026ed5c9185dcc4b2df92e98c3d61a01cea19cbf tree 3a070b30921f3fedd06478b0d8a435d786416baa parent f551e44ff11d3e2ec8f37907bb88ec2433cc8b74 author Chuck Lever Wed, 20 Sep 2006 14:33:07 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:06 -0400 NFS: unmark NFS direct I/O as experimental Remove the EXPERIMENTAL flag from the NFS_DIRECTIO option. Test plan: Unset the EXPERIMENTAL kernel build option and check to see that the NFS direct I/O option is still available. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit f551e44ff11d3e2ec8f37907bb88ec2433cc8b74 tree f86527c24391f70d72a28111df5c541959e8f293 parent a53a3c58fd83e572a7c768d88b4c4e9840a57e82 author Chuck Lever Wed, 20 Sep 2006 14:33:04 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:05 -0400 NFS: add comments clarifying the use of nfs_post_op_update() Comments-only change to clarify a detail of the NFS protocol and how it is implemented in Linux. Test plan: None. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a53a3c58fd83e572a7c768d88b4c4e9840a57e82 tree e1ff5aab7dd8d4c27d28abdec5c437bc48375ef8 parent aec5e175288c711cbe44750276f61efa3fa3d370 author Steve Dickson Wed, 06 Sep 2006 11:51:21 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:05 -0400 NFSv4: rpc_mkpipe creating socket inodes w/out sk buffers This patch stop rpc_mkpipe from create S_IFSOCK nodes what don't have associated sk buffers attached (which causes SELinux to oops during NFSv4 mounts). Instead the S_IFIFO mode bit is set which probably make more sense and seems to work just fine during my connectathon and fsx testing... Signed-off-by: Steve Dickson Signed-off-by: Trond Myklebust commit aec5e175288c711cbe44750276f61efa3fa3d370 tree b793c3da94887f25e26b6627959a8bb5cb3b10dc parent 51b6ded4d9a94a61035deba1d8f51a54e3a3dd86 author Josef 'Jeff' Sipek Sat, 16 Sep 2006 21:09:32 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:04 -0400 NFS: Use SEEK_END instead of hardcoded value Signed-off-by: Josef 'Jeff' Sipek Signed-off-by: Trond Myklebust commit 51b6ded4d9a94a61035deba1d8f51a54e3a3dd86 tree ec5a7a1cd573a2839e1af36aa74afb217dd1c01c parent 2066fe89b459c3c787c811b3369df191cddd93d8 author Trond Myklebust Fri, 15 Sep 2006 16:31:56 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:04 -0400 NFSv4: When mounting with a port=0 argument, substitute port=2049 RFC3530 states that the registered port 2049 for the NFS protocol should be the default configuration in order to allow clients not to use the RPC binding protocols. If the mount program sends us a port=0, we therefore substitute port=2049. Signed-off-by: Trond Myklebust commit 2066fe89b459c3c787c811b3369df191cddd93d8 tree 0eca930bb5dd17671b49d09e2aad13c6bdee801b parent c514983d8d2260020543a81589a2b8c7d4bdab4e author Trond Myklebust Fri, 15 Sep 2006 08:30:46 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:04 -0400 NFSv4: Poll more aggressively when handling NFS4ERR_DELAY Change the initial retry delay from 1s to 0.1s (and then back off exponentially). Signed-off-by: Trond Myklebust commit c514983d8d2260020543a81589a2b8c7d4bdab4e tree 6151b2a7bb74c6209f7861d0748b35261e53c15e parent 6b30954ebb569fa1b2abdb21f2f4290eec76bf80 author Trond Myklebust Fri, 15 Sep 2006 08:25:04 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:03 -0400 NFSv4: Handle the condition NFS4ERR_FILE_OPEN Retry a few times before we give up: the error is usually due to ordering issues with asynchronous RPC calls. Signed-off-by: Trond Myklebust commit 6b30954ebb569fa1b2abdb21f2f4290eec76bf80 tree 8d342c0709eeb7c0b442db29b6b3754572e75689 parent 97db8f41792839a6912fd21be8b61dd6c50db58f author Trond Myklebust Thu, 14 Sep 2006 14:03:14 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:03 -0400 NFSv4: Retry lease recovery if it failed during a synchronous operation. Signed-off-by: Trond Myklebust commit 97db8f41792839a6912fd21be8b61dd6c50db58f tree b569931dd76809ef4bee9165da54d1c34310fbe4 parent 5f004cf2aa8494708fd8d78e78142b7b2748e765 author Trond Myklebust Thu, 14 Sep 2006 14:03:14 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:03 -0400 NFS: Don't invalidate the symlink we just stuffed into the cache And slight optimisation of nfs_end_data_update(): directories never have delegations anyway. Signed-off-by: Trond Myklebust commit 5f004cf2aa8494708fd8d78e78142b7b2748e765 tree c4f10f43217737e08d68167e1866ef5b305ac571 parent 2dec51466a08ac1c67da41bfd0518d43d983a2eb author Trond Myklebust Thu, 14 Sep 2006 14:03:14 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:02 -0400 NFS: Make read() return an ESTALE if the file has been deleted Currently, a read() request will return EIO even if the file has been deleted on the server, simply because that is what the VM will return if the call to readpage() fails to update the page. Ensure that readpage() marks the inode as stale if it receives an ESTALE. Then return that error to userland. Signed-off-by: Trond Myklebust commit 2dec51466a08ac1c67da41bfd0518d43d983a2eb tree b6df8d1c1dfe41b4aa89d42ba9864358e6eea1d3 parent fd6840714d9cf6e93f1d42b904860a94df316b85 author J. Bruce Fields Tue, 12 Sep 2006 11:53:23 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:02 -0400 NFSv4: It's perfectly legal for clp to be NULL here.... Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit fd6840714d9cf6e93f1d42b904860a94df316b85 tree e72a0ef8bff8f1b6183596dbce3de34570ee6180 parent 762d4527c2fc19d821a13d9a3455ccc2d4073731 author Trond Myklebust Tue, 05 Sep 2006 12:27:44 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:01 -0400 NFS: nfs_lookup - don't hash dentry when optimising away the lookup If the open intents tell us that a given lookup is going to result in a, exclusive create, we currently optimize away the lookup call itself. The reason is that the lookup would not be atomic with the create RPC call, so why do it in the first place? A problem occurs, however, if the VFS aborts the exclusive create operation after the lookup, but before the call to create the file/directory: in this case we will end up with a hashed negative dentry in the dcache that has never been looked up. Fix this by only actually hashing the dentry once the create operation has been successfully completed. Signed-off-by: Trond Myklebust commit 762d4527c2fc19d821a13d9a3455ccc2d4073731 tree 8e2f9ad313c1c8faececce38d43e15c9dc94a65c parent 6b6ca86b77b62b798cf9ca2599036420abce7796 author Trond Myklebust Sun, 03 Sep 2006 00:51:55 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:01 -0400 SUNRPC: Fix Oops in pmap_getport_done There is no guarantee that the parent task still exists when we exit from the portmapper. Save the xprt instead. Signed-off-by: Trond Myklebust commit 6b6ca86b77b62b798cf9ca2599036420abce7796 tree cf631a3c293be45fa4bed54bca5dcbfc96a57df1 parent da45828e2835057045150b318c4fbe9bb91f18dd author Trond Myklebust Tue, 05 Sep 2006 12:55:57 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:01 -0400 SUNRPC: Add refcounting to the struct rpc_xprt In a subsequent patch, this will allow the portmapper to take a reference to the rpc_xprt for which it is updating the port number, fixing an Oops. Signed-off-by: Trond Myklebust commit da45828e2835057045150b318c4fbe9bb91f18dd tree b04b3ae7fe4cf79c8af2f399f44d5db65995ac55 parent 76303992b4701124f4cd0791ae2049ab4332f02c author Trond Myklebust Thu, 31 Aug 2006 15:44:52 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:25:00 -0400 SUNRPC: Clean up soft task error handling - Ensure that the task aborts the RPC call only when it has actually timed out. - Ensure that req->rq_majortimeo is initialised correctly. Signed-off-by: Trond Myklebust commit 76303992b4701124f4cd0791ae2049ab4332f02c tree 2f364988b34340e2b4698facdbd84818c224c0d6 parent 8014793b1b2869445adfe678d64cdacd10e99d53 author Trond Myklebust Wed, 30 Aug 2006 14:32:49 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:56 -0400 SUNRPC: Handle ENETUNREACH, EHOSTUNREACH and EHOSTDOWN socket errors In case of any of the above errors occuring, delay for 3 seconds, then handle as if it were a timeout error. Signed-off-by: Trond Myklebust commit 8014793b1b2869445adfe678d64cdacd10e99d53 tree 861968eb71efbeae9918b1f407be99a5e6aaa9d3 parent 297de4f65698ee1e1c75e27d57933b5fa8227e72 author Trond Myklebust Thu, 31 Aug 2006 18:24:08 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:56 -0400 SUNRPC: rpc_delay() should not clobber the rpc_task->tk_status Doing so prevents stuff like call_encode() from working correctly. Signed-off-by: Trond Myklebust commit 297de4f65698ee1e1c75e27d57933b5fa8227e72 tree b04698edae97e64b3ad5290b33a9233f97f48c77 parent 058ad9cbf14b3c7480d01b20280cb4d5858f7a50 author andros@citi.umich.edu Tue, 29 Aug 2006 12:19:41 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:56 -0400 Fix a referral error Oops Fix an oops when the referral server is not responding. Check the error return from nfs4_set_client() in nfs4_create_referral_server. Signed-off-by: Andy Adamson Signed-off-by: Trond Myklebust commit 058ad9cbf14b3c7480d01b20280cb4d5858f7a50 tree 069a2340c25a953b134b09efc9b84e64847b93ec parent 6daabf1b04c89f1fbd8eab5450261360943c8e20 author Chuck Lever Sun, 27 Aug 2006 17:23:53 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:55 -0400 NFS: NFS_ROOT should use the new rpc_create API Teach NFS_ROOT to use the new rpc_create API instead of the old two-call API for creating an RPC transport. Test plan: Compile the kernel with the NFS client build-in, and set CONFIG_NFS_ROOT. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 6daabf1b04c89f1fbd8eab5450261360943c8e20 tree a4aa0653c5edaf6deb41a10c16b8476f331e7c72 parent 158998b6fe36f6acef087f574c96d44713499cc9 author David Howells Thu, 24 Aug 2006 15:44:16 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:55 -0400 NFS: Fix up compiler warnings on 64-bit platforms in client.c Fix up warnings from compiling on ppc64. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 158998b6fe36f6acef087f574c96d44713499cc9 tree afc0f330e51135cdcf05bd8c268bf514165a4e4a parent 5dd3177ae5012c1e2ad7a9ffdbd0e0d0de2f60e4 author Trond Myklebust Thu, 24 Aug 2006 01:03:17 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:54 -0400 SUNRPC: Make rpc_mkpipe() take the parent dentry as an argument Signed-off-by: Trond Myklebust commit 5dd3177ae5012c1e2ad7a9ffdbd0e0d0de2f60e4 tree 2a8730d6443f6d33e8879cfc323396f9a570b97b parent 275a082fe9308e710324e26ccb5363c53d8fd45f author Trond Myklebust Thu, 24 Aug 2006 01:03:05 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:54 -0400 NFSv4: Fix a use-after-free issue with the nfs server. Signed-off-by: Trond Myklebust commit 275a082fe9308e710324e26ccb5363c53d8fd45f tree e97df6e45f98ea2827f71dc749f8cd47f3f353cc parent 94a6d75320b3681e6e728b70e18bd186cb55e682 author Trond Myklebust Tue, 22 Aug 2006 20:06:24 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:54 -0400 Add a real API for dealing with blk_congestion_wait() Signed-off-by: Trond Myklebust commit 94a6d75320b3681e6e728b70e18bd186cb55e682 tree 0957071549d76ceb3857e419998818b11bce7269 parent 873101b33776780d32610fc4c90c7358a5e98f51 author Chuck Lever Tue, 22 Aug 2006 20:06:23 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:53 -0400 NFS: Use cached page as buffer for NFS symlink requests Now that we have a copy of the symlink path in the page cache, we can pass a struct page down to the XDR routines instead of a string buffer. Test plan: Connectathon, all NFS versions. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 873101b33776780d32610fc4c90c7358a5e98f51 tree 39bff3860ecc522e8a716c8cf2eebf55588f081a parent 4f390c152bc87165da4b1f5b7d870b46fb106d4e author Chuck Lever Tue, 22 Aug 2006 20:06:23 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:53 -0400 NFS: copy symlinks into page cache before sending NFS SYMLINK request Currently the NFS client does not cache symlinks it creates. They get cached only when the NFS client reads them back from the server. Copy the symlink into the page cache before sending it. Test plan: Connectathon, all NFS versions. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 4f390c152bc87165da4b1f5b7d870b46fb106d4e tree 643b5d12f76bd7d3688380fbaf69f607a34a06bf parent d3db90e270791b21cd00d3c094884bffa907cc9e author Chuck Lever Tue, 22 Aug 2006 20:06:22 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:52 -0400 NFS: Fix double d_drop in nfs_instantiate() error path If the LOOKUP or GETATTR in nfs_instantiate fail, nfs_instantiate will do a d_drop before returning. But some callers already do a d_drop in the case of an error return. Make certain we do only one d_drop in all error paths. This issue was introduced because over time, the symlink proc API diverged slightly from the create/mkdir/mknod proc API. To prevent other coding mistakes of this type, change the symlink proc API to be more like create/mkdir/mknod and move the nfs_instantiate call into the symlink proc routines so it is used in exactly the same way for create, mkdir, mknod, and symlink. Test plan: Connectathon, all versions of NFS. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit d3db90e270791b21cd00d3c094884bffa907cc9e tree 3d6aea8fabd34fba5db5454867811b087bb71e05 parent b86acd501a34227e0ed2b2d54dc8002c1701ce17 author Chuck Lever Tue, 22 Aug 2006 20:06:22 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:52 -0400 NFS: remove a no-longer-needed error check in nfs_symlink() In the early days of NFS, there was no duplicate reply cache on the server. Thus retransmitted non-idempotent requests often found that the request had already completed on the server. To avoid passing an unanticipated return code to unsuspecting applications, NFS clients would often shunt error codes that implied the request had been retried but already completed. Thanks to NFS over TCP, duplicate reply caches on the server, and network performance and reliability improvements, it is safe to remove such checks. Test plan: None. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b86acd501a34227e0ed2b2d54dc8002c1701ce17 tree 1f237ba5e565d05a9ed78ebf90d9ff7d1cdade05 parent ff9aa5e56df60cc8565a93cc868fe25ae3f20e49 author Chuck Lever Tue, 22 Aug 2006 20:06:22 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:51 -0400 SUNRPC: export new RPC client functions with _GPL This patch is optional. It has been suggested that the RPC client internal functions used by upper layer protocols (such as NFS) be exported via EXPORT_SYMBOL_GPL. This patch does that. Test plan: Compile kernel with CONFIG_NFS enabled as a module. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ff9aa5e56df60cc8565a93cc868fe25ae3f20e49 tree ae1045652699feacd18aecbc7023edd430c2695e parent 9e1968c58d72c4b85d8a69bda1e194f9701fb224 author Chuck Lever Tue, 22 Aug 2006 20:06:21 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:51 -0400 SUNRPC: Eliminate xprt_create_proto and rpc_create_client The two function call API for creating a new RPC client is now obsolete. Remove it. Also, remove an unnecessary check to see whether the caller is capable of using privileged network services. The kernel RPC client always uses a privileged ephemeral port by default; callers are responsible for checking the authority of users to make use of any RPC service, or for specifying that a nonprivileged port is acceptable. Test plan: Repeated runs of Connectathon locking suite. Check network trace to ensure correctness of NLM requests and replies. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9e1968c58d72c4b85d8a69bda1e194f9701fb224 tree ac19353824d0567f6986c505869810228dfaed64 parent ae5c79476f36512d1100e162606bb5691f2cce5a author Chuck Lever Tue, 22 Aug 2006 20:06:21 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:51 -0400 SUNRPC: Convert RPC portmapper to use new rpc_create() API Replace xprt_create_proto/rpc_create_client calls in pmap_clnt.c with new rpc_create() API. Test plan: Repeated runs of Connectathon locking suite. Check network trace for proper PMAP calls and replies. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ae5c79476f36512d1100e162606bb5691f2cce5a tree 5dd4ea2fad48c21c3ddb7839ab28221d06c3b409 parent 41877d207c46f050b709f452703ade20c3b4a096 author Chuck Lever Tue, 22 Aug 2006 20:06:21 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:50 -0400 NFSD: Convert NFS server callback logic to use new rpc_create API Replace xprt_create_proto/rpc_create_client call in NFS server callback functions to use new rpc_create() API. Test plan: NFSv4 delegation functionality tests. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 41877d207c46f050b709f452703ade20c3b4a096 tree a0da315e01e6008823dcc46c602e13c550a085a8 parent e1ec78928b4d5a31b7a847e65c6009f4229f7c0f author Chuck Lever Tue, 22 Aug 2006 20:06:20 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:50 -0400 NFS: Convert NFS client to use new rpc_create() API Convert NFS client mount logic to use rpc_create() instead of the old xprt_create_proto/rpc_create_client API. Test plan: Mount stress tests. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit e1ec78928b4d5a31b7a847e65c6009f4229f7c0f tree cf4a8b521551b3e398801fc3618b586e19f94f1e parent c2866763b4029411d166040306691773c12d4caf author Chuck Lever Tue, 22 Aug 2006 20:06:20 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:50 -0400 LOCKD: Convert to use new rpc_create() API Replace xprt_create_proto/rpc_create_client with new rpc_create() interface in the Network Lock Manager. Note that the semantics of NLM transports is now "hard" instead of "soft" to provide a better guarantee that lock requests will get to the server. Test plan: Repeated runs of Connectathon locking suite. Check network trace to ensure NLM requests are working correctly. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c2866763b4029411d166040306691773c12d4caf tree 5b16b3a293843062234c5eaf377da2af93365266 parent 6ca948238724c945bd353f51d54ae7d285f3889f author Chuck Lever Tue, 22 Aug 2006 20:06:20 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:49 -0400 SUNRPC: use sockaddr + size when creating remote transport endpoints Prepare for more generic transport endpoint handling needed by transports that might use different forms of addressing, such as IPv6. Introduce a single function call to replace the two-call xprt_create_proto/rpc_create_client API. Define a new rpc_create_args structure that allows callers to pass in remote endpoint addresses of varying length. Test-plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 6ca948238724c945bd353f51d54ae7d285f3889f tree 222aa223d93a4ffc7e662e1d80bb3b5d28b5f1a2 parent c4efcb1d3e0bc76aeb9ca6301d19a5079893c6c9 author Chuck Lever Tue, 22 Aug 2006 20:06:19 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:49 -0400 SUNRPC: Clean-up after previous patches. Remove some unused macros related to accessing an RPC peer address Test plan: Compile kernel with CONFIG_NFS option enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c4efcb1d3e0bc76aeb9ca6301d19a5079893c6c9 tree 23f113b897f1ab2e00e4fcf774d93711d7f703b8 parent e7f7865743fff3d3938ec7540e5a784d662426da author Chuck Lever Tue, 22 Aug 2006 20:06:19 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:48 -0400 SUNRPC: Use "sockaddr_storage" for storing RPC client's remote peer address IPv6 addresses are big (128 bytes). Now that no RPC client consumers treat the addr field in rpc_xprt structs as an opaque, and access it only via the API calls, we can safely widen the field in the rpc_xprt struct to accomodate larger addresses. Test plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit e7f7865743fff3d3938ec7540e5a784d662426da tree 83034702cda4717d7f687bd2635afd81bc9c15bf parent f425eba437f0051bde979ea2eef8bc875a77cd00 author Chuck Lever Tue, 22 Aug 2006 20:06:19 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:48 -0400 SUNRPC: Teach rpc_pipe.c to use new rpc_peeraddr() API Hide the details of how the RPC client stores remote peer addresses from the RPC pipefs implementation. Test plan: Connectathon with Kerberos 5 authentication. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit f425eba437f0051bde979ea2eef8bc875a77cd00 tree c64aae65d42c1bd67604ec0ffe957c03dc3233fe parent edb267a688fcee5335d596752f117a30c7152e44 author Chuck Lever Tue, 22 Aug 2006 20:06:18 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:48 -0400 SUNRPC: Create API for displaying remote peer address Provide an API for formatting the remote peer address for printing without exposing its internal structure. The address could be dynamic, so we support a function call to get the address rather than reading it straight out of a structure. Test-plan: Destructive testing (unplugging the network temporarily). Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit edb267a688fcee5335d596752f117a30c7152e44 tree b73a91f17f22baa81a3c0a4df1b01929680a2807 parent 39d7bbcb5ba5e9d8d658b70903dd7939400e57db author Chuck Lever Tue, 22 Aug 2006 20:06:18 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:47 -0400 SUNRPC: add xprt switch API for printing formatted remote peer addresses Add a new method to the transport switch API to provide a way to convert the opaque contents of xprt->addr to a human-readable string. Test plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 39d7bbcb5ba5e9d8d658b70903dd7939400e57db tree 591e25f18cc1779c88c1a9de9306b23ff50bd0e0 parent 081f79a9b09b634f0dc08ed014e0195464d52535 author Chuck Lever Tue, 22 Aug 2006 20:06:18 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:47 -0400 SUNRPC: remove extraneous header inclusions include/linux/sunrpc/clnt.h already includes include/linux/sunrpc/xprt.h. We can remove xprt.h from source files that already include clnt.h. Likewise include/linux/sunrpc/timer.h. Test plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 081f79a9b09b634f0dc08ed014e0195464d52535 tree ad0829216553e8f86a913dac626c6617e5509398 parent 44c31be261540acf66ddd730631ead8009cc361d author Chuck Lever Tue, 22 Aug 2006 20:06:17 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:46 -0400 SUNRPC: Teach the RPC portmapper to use the new rpc_peeraddr() API. Hide the details of how the RPC client stores remote peer addresses from the RPC portmapper. Test plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 44c31be261540acf66ddd730631ead8009cc361d tree 157a92c24d50f8c82be464a4b326e07a37b2de2a parent ed39440a2573abc926f230267000f21fa5a87822 author Chuck Lever Tue, 22 Aug 2006 20:06:17 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:46 -0400 LOCKD: Teach lockd to use the new rpc_peeraddr() API Hide the details of how the RPC client stores remote peer addresses from the Network Lock Manager. Test plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ed39440a2573abc926f230267000f21fa5a87822 tree f9b6ba1ce3a7f94fc9d3f4a3e82eea3fdcc965a6 parent bbf7c1dd2ae2b4040b41b1065ee9b1b6905b1605 author Chuck Lever Tue, 22 Aug 2006 20:06:17 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:45 -0400 SUNRPC: create API for getting remote peer address Provide an API for retrieving the remote peer address without allowing direct access to the rpc_xprt struct. Test-plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit bbf7c1dd2ae2b4040b41b1065ee9b1b6905b1605 tree b1867e722c1cc679b1834feeeeb21195f57dc873 parent 5b1eacbcd78930d976eb50a93f1779d311b553d1 author Chuck Lever Tue, 22 Aug 2006 20:06:16 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:44 -0400 SUNRPC: Introduce transport switch callout for pluggable rpcbind Introduce a clean transport switch API for plugging in different types of rpcbind mechanisms. For instance, rpcbind can cleanly replace the existing portmapper client, or a transport can choose to implement RPC binding any way it likes. Test plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 5b1eacbcd78930d976eb50a93f1779d311b553d1 tree 28e573a581f185a0f00e6dbd80435039e31d8c24 parent c4a5692fb83f23008c720fe84454d5603e80b103 author Chuck Lever Tue, 22 Aug 2006 20:06:16 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:40 -0400 SUNRPC: Support for RPC child tasks no longer needed The previous patches removed the last user of RPC child tasks, so we can remove support for child tasks from net/sunrpc/sched.c now. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c4a5692fb83f23008c720fe84454d5603e80b103 tree 5e82d275121ec3a8bfe32c0f0c48cccde1616e02 parent 4a68179d38874c37be2802442a71b847f5d1a2a9 author Chuck Lever Tue, 22 Aug 2006 20:06:16 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:40 -0400 SUNRPC: Clean-up after recent changes to sunrpc/pmap_clnt.c Add comments for external functions, use modern function definition style, and fix up dprintk formatting. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 4a68179d38874c37be2802442a71b847f5d1a2a9 tree 688b345744d182e303f96891d396a0ee1e43520a parent ec739ef03dc926d05051c8c5838971445504470a author Chuck Lever Tue, 22 Aug 2006 20:06:15 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:39 -0400 SUNRPC: Make RPC portmapper use per-transport storage Move connection and bind state that was maintained in the rpc_clnt structure to the rpc_xprt structure. This will allow the creation of a clean API for plugging in different types of bind mechanisms. This brings improvements such as the elimination of a single spin lock to control serialization for all in-kernel RPC binding. A set of per-xprt bitops is used to serialize tasks during RPC binding, just like it now works for making RPC transport connections. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ec739ef03dc926d05051c8c5838971445504470a tree 940d3dafd873c159c1279ade15ba11ede1d12983 parent 9c5bf38d85a31b946664bcc21078ef5bb10672f7 author Chuck Lever Tue, 22 Aug 2006 20:06:15 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:39 -0400 SUNRPC: Create a helper to tell whether a transport is bound Hide the contents and format of xprt->addr by eliminating direct uses of the xprt->addr.sin_port field. This change is required to support alternate RPC host address formats (eg IPv6). Test-plan: Destructive testing (unplugging the network temporarily). Repeated runs of Connectathon locking suite with UDP and TCP. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9c5bf38d85a31b946664bcc21078ef5bb10672f7 tree cceee456ebefe2380a417746b366d67a11ec6ebe parent 36b15c54cd0d6f707a3ac03e4a2a60bb530a95b9 author Trond Myklebust Tue, 22 Aug 2006 20:06:14 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:38 -0400 NFS: Fix nfs_alloc_client() The scheme to indicate which services have been started up appears to be seriously broken. Signed-off-by: Trond Myklebust commit 36b15c54cd0d6f707a3ac03e4a2a60bb530a95b9 tree 09aa1cff411f9a26c1da9255241a865b13d738f3 parent 738a35195941ecf604d3070e2a053e1df3de350b author Trond Myklebust Tue, 22 Aug 2006 20:06:14 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:38 -0400 NFS: Ensure NFSv2/v3 mounts respect the NFS_MOUNT_SECFLAVOUR flag Signed-off-by: Trond Myklebust commit 738a35195941ecf604d3070e2a053e1df3de350b tree dd85dd6e48fad4a041d26ef6c36c4dd08537161f parent 27ba851244f627a302d0fc6469d1ad413fc34fcb author David Howells Sun, 30 Jul 2006 14:58:27 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:38 -0400 NFS: Secure the roots of the NFS subtrees in a shared superblock Invoke security_d_instantiate() on root dentries after allocating them with dentry_alloc_anon(). Normally dentry_alloc_root() would do that, but we don't call that as we don't want to assign a name to the root dentry at this point (we may discover the real name later). Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 27ba851244f627a302d0fc6469d1ad413fc34fcb tree 383016ee3e96fe7acf62067bda1ed70371ab4640 parent 6aaca566503296a73f956908ec98173946134fe2 author David Howells Sun, 30 Jul 2006 14:40:56 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:37 -0400 NFS: Fix error handling Fix an error handling problem: nfs_put_client() can be given a NULL pointer if nfs_free_server() is asked to destroy a partially initialised record. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 6aaca566503296a73f956908ec98173946134fe2 tree 7625bbfa14cddd93ed3e2afa03caf4b553116f76 parent 54ceac4515986030c2502960be620198dd8fe25b author David Howells Tue, 22 Aug 2006 20:06:13 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:37 -0400 NFS: Add server and volume lists to /proc Make two new proc files available: /proc/fs/nfsfs/servers /proc/fs/nfsfs/volumes The first lists the servers with which we are currently dealing (struct nfs_client), and the second lists the volumes we have on those servers (struct nfs_server). Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 54ceac4515986030c2502960be620198dd8fe25b tree b4ae4305c5652c0fe883ef5ea3243da91dbd2b34 parent cf6d7b5de8535a9f0088c5cc28ee2dae87371b4a author David Howells Tue, 22 Aug 2006 20:06:13 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:37 -0400 NFS: Share NFS superblocks per-protocol per-server per-FSID The attached patch makes NFS share superblocks between mounts from the same server and FSID over the same protocol. It does this by creating each superblock with a false root and returning the real root dentry in the vfsmount presented by get_sb(). The root dentry set starts off as an anonymous dentry if we don't already have the dentry for its inode, otherwise it simply returns the dentry we already have. We may thus end up with several trees of dentries in the superblock, and if at some later point one of anonymous tree roots is discovered by normal filesystem activity to be located in another tree within the superblock, the anonymous root is named and materialises attached to the second tree at the appropriate point. Why do it this way? Why not pass an extra argument to the mount() syscall to indicate the subpath and then pathwalk from the server root to the desired directory? You can't guarantee this will work for two reasons: (1) The root and intervening nodes may not be accessible to the client. With NFS2 and NFS3, for instance, mountd is called on the server to get the filehandle for the tip of a path. mountd won't give us handles for anything we don't have permission to access, and so we can't set up NFS inodes for such nodes, and so can't easily set up dentries (we'd have to have ghost inodes or something). With this patch we don't actually create dentries until we get handles from the server that we can use to set up their inodes, and we don't actually bind them into the tree until we know for sure where they go. (2) Inaccessible symbolic links. If we're asked to mount two exports from the server, eg: mount warthog:/warthog/aaa/xxx /mmm mount warthog:/warthog/bbb/yyy /nnn We may not be able to access anything nearer the root than xxx and yyy, but we may find out later that /mmm/www/yyy, say, is actually the same directory as the one mounted on /nnn. What we might then find out, for example, is that /warthog/bbb was actually a symbolic link to /warthog/aaa/xxx/www, but we can't actually determine that by talking to the server until /warthog is made available by NFS. This would lead to having constructed an errneous dentry tree which we can't easily fix. We can end up with a dentry marked as a directory when it should actually be a symlink, or we could end up with an apparently hardlinked directory. With this patch we need not make assumptions about the type of a dentry for which we can't retrieve information, nor need we assume we know its place in the grand scheme of things until we actually see that place. This patch reduces the possibility of aliasing in the inode and page caches for inodes that may be accessed by more than one NFS export. It also reduces the number of superblocks required for NFS where there are many NFS exports being used from a server (home directory server + autofs for example). This in turn makes it simpler to do local caching of network filesystems, as it can then be guaranteed that there won't be links from multiple inodes in separate superblocks to the same cache file. Obviously, cache aliasing between different levels of NFS protocol could still be a problem, but at least that gives us another key to use when indexing the cache. This patch makes the following changes: (1) The server record construction/destruction has been abstracted out into its own set of functions to make things easier to get right. These have been moved into fs/nfs/client.c. All the code in fs/nfs/client.c has to do with the management of connections to servers, and doesn't touch superblocks in any way; the remaining code in fs/nfs/super.c has to do with VFS superblock management. (2) The sequence of events undertaken by NFS mount is now reordered: (a) A volume representation (struct nfs_server) is allocated. (b) A server representation (struct nfs_client) is acquired. This may be allocated or shared, and is keyed on server address, port and NFS version. (c) If allocated, the client representation is initialised. The state member variable of nfs_client is used to prevent a race during initialisation from two mounts. (d) For NFS4 a simple pathwalk is performed, walking from FH to FH to find the root filehandle for the mount (fs/nfs/getroot.c). For NFS2/3 we are given the root FH in advance. (e) The volume FSID is probed for on the root FH. (f) The volume representation is initialised from the FSINFO record retrieved on the root FH. (g) sget() is called to acquire a superblock. This may be allocated or shared, keyed on client pointer and FSID. (h) If allocated, the superblock is initialised. (i) If the superblock is shared, then the new nfs_server record is discarded. (j) The root dentry for this mount is looked up from the root FH. (k) The root dentry for this mount is assigned to the vfsmount. (3) nfs_readdir_lookup() creates dentries for each of the entries readdir() returns; this function now attaches disconnected trees from alternate roots that happen to be discovered attached to a directory being read (in the same way nfs_lookup() is made to do for lookup ops). The new d_materialise_unique() function is now used to do this, thus permitting the whole thing to be done under one set of locks, and thus avoiding any race between mount and lookup operations on the same directory. (4) The client management code uses a new debug facility: NFSDBG_CLIENT which is set by echoing 1024 to /proc/net/sunrpc/nfs_debug. (5) Clone mounts are now called xdev mounts. (6) Use the dentry passed to the statfs() op as the handle for retrieving fs statistics rather than the root dentry of the superblock (which is now a dummy). Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit cf6d7b5de8535a9f0088c5cc28ee2dae87371b4a tree 815aecb371fc5b702c209bbda550e950e2bd1b04 parent 5006a76cca8f86c6975c16fcf67e83b8b0eee2b6 author David Howells Tue, 22 Aug 2006 20:06:12 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:36 -0400 NFS: Start rpciod in server common management Start rpciod in the server common (nfs_client struct) management code rather than in the superblock management code. This means we only need to "start" it once per server instead of once per superblock. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 5006a76cca8f86c6975c16fcf67e83b8b0eee2b6 tree fbe711871729ddfc921e91ba86202a15c5a1a55f parent 8fa5c000d7f986ef9cdc6d95f9f7fcee20e0a7d6 author David Howells Tue, 22 Aug 2006 20:06:12 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:36 -0400 NFS: Eliminate client_sys in favour of cl_rpcclient Eliminate nfs_server::client_sys in favour of nfs_client::cl_rpcclient as we only really need one per server that we're talking to since it doesn't have any security on it. The retransmission management variables are also moved to the common struct as they're required to set up the cl_rpcclient connection. The NFS2/3 client and client_acl connections are thenceforth derived by cloning the cl_rpcclient connection and post-applying the authorisation flavour. The code for setting up the initial common connection has been moved to client.c as nfs_create_rpc_client(). All the NFS program definition tables are also moved there as that's where they're now required rather than super.c. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 8fa5c000d7f986ef9cdc6d95f9f7fcee20e0a7d6 tree 356b811803db9775fd9c870d189a9ff75885ae6c parent 1f163415dc05983830bcc47b33c155b2528b1574 author David Howells Tue, 22 Aug 2006 20:06:12 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:35 -0400 NFS: Move rpc_ops from nfs_server to nfs_client Move the rpc_ops from the nfs_server struct to the nfs_client struct as they're common to all server records of a particular NFS protocol version. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 1f163415dc05983830bcc47b33c155b2528b1574 tree e4180da9947f8b802b6927726cda9d0949f8e00f parent 27951bd26031f6c27d38df9e94623bbe208a2464 author David Howells Tue, 22 Aug 2006 20:06:11 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:35 -0400 NFS: Make better use of inode* dereferencing macros Make better use of inode* dereferencing macros to hide dereferencing chains (including NFS_PROTO and NFS_CLIENT). Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 27951bd26031f6c27d38df9e94623bbe208a2464 tree 4d5b84cb50ad06883e5aaf16d144ce6cdab9f006 parent 509de8111656a7d89b4a1a5f430f4460ce510f0f author David Howells Tue, 22 Aug 2006 20:06:11 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:35 -0400 NFS: Maintain a common server record for NFS2/3 as well as for NFS4 Maintain a common server record for NFS2/3 as well as for NFS4 so that common stuff can be moved there from struct nfs_server. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 509de8111656a7d89b4a1a5f430f4460ce510f0f tree 94ec0130ab74a5c80956ca3edd3298999b3b9897 parent 0c7d90cfed91a283228017ba6faf37ee0bcd32b1 author David Howells Tue, 22 Aug 2006 20:06:11 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:34 -0400 NFS: Add extra const qualifiers Add some extra const qualifiers into NFS. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 0c7d90cfed91a283228017ba6faf37ee0bcd32b1 tree bf8aae1186e905660f179cbda720ce51d1b7498c parent 24c8dbbb5f777187d660393599641ab3307b4b97 author David Howells Tue, 22 Aug 2006 20:06:10 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:34 -0400 NFS: Use the dentry superblock directly in nfs_statfs() Use the nominated dentry's superblock directly in the NFS statfs() op to get a file handle, rather than using s_root (which will become a dummy dentry in a future patch). Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 24c8dbbb5f777187d660393599641ab3307b4b97 tree 9d50fdd57c7593d925a21e4bb049095a4e4ead6f parent e9326dcab413848e70ab746c7c5363da13e5f801 author David Howells Tue, 22 Aug 2006 20:06:10 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:33 -0400 NFS: Generalise the nfs_client structure Generalise the nfs_client structure by: (1) Moving nfs_client to a more general place (nfs_fs_sb.h). (2) Renaming its maintenance routines to be non-NFS4 specific. (3) Move those maintenance routines to a new non-NFS4 specific file (client.c) and move the declarations to internal.h. (4) Make nfs_find/get_client() take a full sockaddr_in to include the port number (will be required for NFS2/3). (5) Make nfs_find/get_client() take the NFS protocol version (again will be required to differentiate NFS2, 3 & 4 client records). Also: (6) Make nfs_client construction proceed akin to inodes, marking them as under construction and providing a function to indicate completion. (7) Make nfs_get_client() wait interruptibly if it finds a client that it can share, but that client is currently being constructed. (8) Make nfs4_create_client() use (6) and (7) instead of locking cl_sem. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit e9326dcab413848e70ab746c7c5363da13e5f801 tree 594a1e4ac32fd0620f0b91442d5d1b65fd9cc743 parent 2b3de4411b3ccaeb00018c99d1bbe7203554cf7f author David Howells Tue, 22 Aug 2006 20:06:10 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:33 -0400 NFS: Add a server capabilities NFS RPC op Add a set_capabilities NFS RPC op so that the server capabilities can be set. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 2b3de4411b3ccaeb00018c99d1bbe7203554cf7f tree cb49ea1fe64835fdbb8335a55049e70b3d87c5ae parent b7162792b5c0e0f6e91b8997f8e6bbc76ec5420a author David Howells Tue, 22 Aug 2006 20:06:09 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:32 -0400 NFS: Add a lookupfh NFS RPC op Add a lookup filehandle NFS RPC op so that a file handle can be looked up without requiring dentries and inodes and other VFS stuff when doing an NFS4 pathwalk during mounting. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit b7162792b5c0e0f6e91b8997f8e6bbc76ec5420a tree 214c0aec3cee41cf872e0c4940fa778f6c0f94e9 parent 7539bbab8062aadc1db95a22b377146843cfa88f author David Howells Tue, 22 Aug 2006 20:06:09 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:32 -0400 NFS: Return an error when starting the idmapping pipe Return an error when starting the idmapping pipe so that we can detect it failing. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 7539bbab8062aadc1db95a22b377146843cfa88f tree 697983ea016cbe378e4f2128846edebd78e468b9 parent adfa6f980bd46974e6b32b22dd0c45e3f52063f4 author David Howells Tue, 22 Aug 2006 20:06:09 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:32 -0400 NFS: Rename nfs_server::nfs4_state Rename nfs_server::nfs4_state to nfs_client as it will be used to represent the client state for NFS2 and NFS3 also. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit adfa6f980bd46974e6b32b22dd0c45e3f52063f4 tree 7dbc86985faa0fce0e73103979262c1593ea3a3b parent 5ae1fbce142b67bf59e15fb1af96e88a96abde7b author David Howells Tue, 22 Aug 2006 20:06:08 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:31 -0400 NFS: Rename struct nfs4_client to struct nfs_client Rename struct nfs4_client to struct nfs_client so that it can become the basis for a general client record for NFS2 and NFS3 in addition to NFS4. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 5ae1fbce142b67bf59e15fb1af96e88a96abde7b tree 88e09770f11535b688f9539b5999f836c8b322ab parent 0a8ea4372b2868842986118ca90912f3382e6c5a author David Howells Tue, 22 Aug 2006 20:06:08 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:31 -0400 NFS: Fix NFS4 callback up/down prototypes Make the nfs_callback_up()/down() prototypes just do nothing if NFS4 is not enabled. Also make the down function void type since we can't really do anything if it fails. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 0a8ea4372b2868842986118ca90912f3382e6c5a tree 06d0641bf6d5906c28814c672ce43697467fa03d parent 7d4e2747a0412583526a162fbbd6edeeafcceb08 author David Howells Tue, 22 Aug 2006 20:06:08 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:30 -0400 NFS: Disambiguate nfs_stat_to_errno() Rename the NFS4 version of nfs_stat_to_errno() so that it doesn't conflict with the common one used by NFS2 and NFS3. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 7d4e2747a0412583526a162fbbd6edeeafcceb08 tree 756180b37a02b504998c646ff027652f80e10bab parent 770bfad846ab6628444428467b11fa6773ae9ea1 author David Howells Tue, 22 Aug 2006 20:06:07 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:30 -0400 NFS: Fix up split of fs/nfs/inode.c Fix ups for the splitting of the superblock stuff out of fs/nfs/inode.c, including: (*) Move the callback tcpport module param into callback.c. (*) Move the idmap cache timeout module param into idmap.c. (*) Changes to internal.h: (*) namespace-nfs4.c was renamed to nfs4namespace.c. (*) nfs_stat_to_errno() is in nfs2xdr.c, not nfs4xdr.c. (*) nfs4xdr.c is contingent on CONFIG_NFS_V4. (*) nfs4_path() is only uses if CONFIG_NFS_V4 is set. Plus also: (*) The sec_flavours[] table should really be const. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 770bfad846ab6628444428467b11fa6773ae9ea1 tree 5fd803319fe718367dca081b23abd36bfc85f78a parent 979df72e6f963b42ee484f2eca049c3344da0ba7 author David Howells Tue, 22 Aug 2006 20:06:07 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:30 -0400 NFS: Add dentry materialisation op The attached patch adds a new directory cache management function that prepares a disconnected anonymous function to be connected into the dentry tree. The anonymous dentry is transferred the name and parentage from another dentry. The following changes were made in [try #2]: (*) d_materialise_dentry() now switches the parentage of the two nodes around correctly when one or other of them is self-referential. The following changes were made in [try #7]: (*) d_instantiate_unique() has had the interior part split out as function __d_instantiate_unique(). Callers of this latter function must be holding the appropriate locks. (*) _d_rehash() has been added as a wrapper around __d_rehash() to call it with the most obvious hash list (the one from the name). d_rehash() now calls _d_rehash(). (*) d_materialise_dentry() is now __d_materialise_dentry() and is static. (*) d_materialise_unique() added to perform the combination of d_find_alias(), d_materialise_dentry() and d_add_unique() that the NFS client was doing twice, all within a single dcache_lock critical section. This reduces the number of times two different spinlocks were being accessed. The following further changes were made: (*) Add the dentries onto their parents d_subdirs lists. Signed-Off-By: David Howells Signed-off-by: Trond Myklebust commit 979df72e6f963b42ee484f2eca049c3344da0ba7 tree f3ba48a16203c899dbe57482c1ff7f1c02e0c9ca parent cfcea3e8c66c2dcde98d5c2693d4bff50b5cac97 author Trond Myklebust Tue, 25 Jul 2006 11:28:19 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:29 -0400 NFS: Add an ACCESS cache memory shrinker A pinned inode may in theory end up filling memory with cached ACCESS calls. This patch ensures that the VM may shrink away the cache in these particular cases. The shrinker works by iterating through the list of inodes on the global nfs_access_lru_list, and removing the least recently used access cache entry until it is done (or until the entire cache is empty). Signed-off-by: Trond Myklebust commit cfcea3e8c66c2dcde98d5c2693d4bff50b5cac97 tree ee7b995a48c43de7355fa33079ee7aaad020d6f3 parent 1c3c07e9f6cc50dab2aeb8051325e317d4f6c70e author Trond Myklebust Tue, 25 Jul 2006 11:28:18 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:29 -0400 NFS: Add a global LRU list for the ACCESS cache ...in order to allow the addition of a memory shrinker. Signed-off-by: Trond Myklebust commit 1c3c07e9f6cc50dab2aeb8051325e317d4f6c70e tree 96bbc2a304e9a0e831daf589d1662c6129303796 parent 3eeab61aa3ddd3c0bedb7449ada1599de22fdb5a author Trond Myklebust Tue, 25 Jul 2006 11:28:18 -0400 committer Trond Myklebust Fri, 22 Sep 2006 23:24:28 -0400 NFS: Add a new ACCESS rpc call cache to the linux nfs client The current access cache only allows one entry at a time to be cached for each inode. Add a per-inode red-black tree in order to allow more than one to be cached at a time. Should significantly cut down the time spent in path traversal for shared directories such as ${PATH}, /usr/share, etc. Signed-off-by: Trond Myklebust commit 183798799216fad36c7219fe8d4d6dee6b8fa755 tree eec3ee23ae45c095087315c70034cc140e309965 parent 9b6b0b81f0de6a17ce57c818d1f403253c200e1f author Jeff Garzik Fri, 22 Sep 2006 21:19:05 -0400 committer Jeff Garzik Fri, 22 Sep 2006 21:19:05 -0400 net/ieee80211: fix more crypto-related build breakage Signed-off-by: Jeff Garzik commit 3eeab61aa3ddd3c0bedb7449ada1599de22fdb5a tree 0bb8477f775e48ab32900d254116288ee794441d parent 6585b572402e5ec7936422123b44b65fef7a5ea6 parent b8c06a2ab68661bf841e21003f4447f8d422aed3 author Linus Torvalds Fri, 22 Sep 2006 17:51:59 -0700 committer Linus Torvalds Fri, 22 Sep 2006 17:51:59 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: [CIFS] statfs for cifs unix extensions no longer experimental [CIFS] New POSIX locking code not setting rc properly to zero on successful [CIFS] Support deep tree mounts (e.g. mounts to //server/share/path) commit 6585b572402e5ec7936422123b44b65fef7a5ea6 tree 52eef1d14bcf6f6ad6226fca02e8198a30d7abe3 parent 2ee8099f2c2bc74a7c2fac7f83e12a5d651681d3 parent edf03fb0575cbee2595a63374b17dc0921f2094a author Linus Torvalds Fri, 22 Sep 2006 17:50:50 -0700 committer Linus Torvalds Fri, 22 Sep 2006 17:50:50 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart: [AGPGART] Rework AGPv3 modesetting fallback. [AGPGART] Add suspend callback for i965 [AGPGART] Fix number of aperture sizes in 830 gart structs. [AGPGART] Intel 965 Express support. [AGPGART] agp.h: constify struct agp_bridge_data::version [AGPGART] const'ify VIA AGP PCI table. [AGPGART] CONFIG_PM=n slim: drivers/char/agp/intel-agp.c [AGPGART] CONFIG_PM=n slim: drivers/char/agp/efficeon-agp.c [AGPGART] Const'ify the agpgart driver version. [AGPGART] remove private page protection map commit 2ee8099f2c2bc74a7c2fac7f83e12a5d651681d3 tree 433ebb87a3d5d02e7df3700c846ac9af632c55f3 parent c03efdb202a4882f426ce49766859af4058c9b8a parent 24669f7d00d387799fc6a39452ab22d7f078f043 author Linus Torvalds Fri, 22 Sep 2006 17:50:22 -0700 committer Linus Torvalds Fri, 22 Sep 2006 17:50:22 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq: [CPUFREQ] sw_any_bug_dmi_table can be used on resume, so it isn't initdata [CPUFREQ] Fix some more CPU hotplug locking. [CPUFREQ] Workaround for BIOS bug in software coordination of frequency [CPUFREQ] Longhaul - Add voltage scaling to driver [CPUFREQ] Fix sparse warning in ondemand [CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static [CPUFREQ] Longhaul - Add ignore_latency option [CPUFREQ] Longhaul - Disable arbiter [CPUFREQ][2/2] ondemand: updated add powersave_bias tunable [CPUFREQ][1/2] ondemand: updated tune for hardware coordination [CPUFREQ] Fix typo. commit c03efdb202a4882f426ce49766859af4058c9b8a tree 9bdfd7ff7908d13193605b77faf4b0cc18ef484b parent 956295d50dc5462722f029de64d44a7ecba54e69 author Al Viro Sat, 23 Sep 2006 01:29:34 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:57 -0700 [PATCH] fallout from hcd-core patch missing le16_to_cpu() Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 956295d50dc5462722f029de64d44a7ecba54e69 tree 839ebe5631d59e702db05e37b506af446f4615e9 parent 5932ef077716e3e798eaba6738ef874849f62a17 author Al Viro Sat, 23 Sep 2006 01:27:30 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:57 -0700 [PATCH] fix the survivors of fbcon_vbl_handler() renaming In |Author: James Simmons |Date: Thu Mar 13 22:37:08 2003 -0800 | | [FBCON] Cursor handling clean up. I nuked several static variables. we have -static void fbcon_vbl_handler(int irq, void *dummy, struct pt_regs *fp) +static void fb_vbl_handler(int irq, void *dev_id, struct pt_regs *fp) and 3 years later a couple of instances missed back then still remains there. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5932ef077716e3e798eaba6738ef874849f62a17 tree aef525063c75811002dc97033cfa6a9933e026ff parent a07562e03a3f4a1276931e3fb3cb532622a6c616 author Al Viro Sat, 23 Sep 2006 01:26:02 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:57 -0700 [PATCH] sun4: fix sbus_setup_iommu() iommu_init() and iounit_init() are never called for sun4, but that's not enough - these calls should be ifdefed out since the functions in question simply do not exist for CONFIG_SUN4 kernel. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a07562e03a3f4a1276931e3fb3cb532622a6c616 tree 18853119251593544627d1b249b83d34b6064a51 parent 00ddaf20b0049c65ddd0c2b1cbed16c7a433e47c author Al Viro Sat, 23 Sep 2006 01:25:18 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:57 -0700 [PATCH] asm/backlight.h is ppc-only Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 00ddaf20b0049c65ddd0c2b1cbed16c7a433e47c tree 34b5fa03e9d81611dd1e746813a350a9961850c8 parent 55ae922323c90fdcb733c13ccf0da2ee72763913 author Al Viro Sat, 23 Sep 2006 01:22:46 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] sanitize frv archclean Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 55ae922323c90fdcb733c13ccf0da2ee72763913 tree 86fbf40a8bf2678f5cdd254b70021032b20e851c parent 634965f5cfda1763f51e7916cfa49265b70e2a8d author Al Viro Sat, 23 Sep 2006 01:24:25 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] aoa is pmac-only Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 634965f5cfda1763f51e7916cfa49265b70e2a8d tree d8b1dce2b96fb7e63e558085f2a80eb369f62268 parent cc9bd99e9adfa4f44ea050a63fb41a3f764acf84 author Al Viro Sat, 23 Sep 2006 01:20:31 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] memcpy_fromio() missing in istallion memcpy() from iomem is a bad thing... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit cc9bd99e9adfa4f44ea050a63fb41a3f764acf84 tree d8f4512b107305f119d727e7fd3f523fd9125f4e parent a83fbf635992442edf6aa3252e4008d4a08edf12 author Al Viro Sat, 23 Sep 2006 01:18:41 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] fix ancient breakage in ebus_init() Back when pci_dev had base_address[], loop of form base = &...->base_address[0]; for (.....) { ... *base++ = addr; } was fine, but when that array got spread in ->resource[...].start replacing the initialization with base = &...->resource[0].start; was not a sufficient modification. IOW this code got broken for cases when there had been more than one resource to fill. All way back in 2.3.41-pre3... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a83fbf635992442edf6aa3252e4008d4a08edf12 tree dd31c01247cea278a77dcb88732d19c92b9bca77 parent db392219c5f572610645696e3672f6ea38783a65 author Al Viro Sat, 23 Sep 2006 00:10:18 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] fix missing ifdefs in syscall classes hookup for generic targets several targets have no ....at() family and m32r calls its only chown variant chown32(), with __NR_chown being undefined. creat(2) is also absent in some targets. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9b6b0b81f0de6a17ce57c818d1f403253c200e1f tree 51706d05197363768630bdcbd5249c906f9567f9 parent 78cc3b78c4208d28e7f4ecded82e238224ed4d1c author Jim Lewis Fri, 22 Sep 2006 17:22:53 -0700 committer Jeff Garzik Fri, 22 Sep 2006 20:26:02 -0400 [PATCH] Spidernet: add ethtool -S (show statistics) Add the ethtool -S (show statistics) feature to the Spidernet ethernet driver. I have tested it extensively and believe it is ready to be applied. Signed-off-by: James K Lewis Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 78cc3b78c4208d28e7f4ecded82e238224ed4d1c tree 137f4fe32e41572bb41ba170f6b822ebf215079e parent ff2a2e0172fd11b1bfb9b45ee1b996d3f10669af parent d81bf551103cc3bc9e4f7ddf337511d6da0d088f author Jeff Garzik Fri, 22 Sep 2006 20:18:02 -0400 committer Jeff Garzik Fri, 22 Sep 2006 20:18:02 -0400 Merge tag 'r8169-20060920-00' of git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6 into tmp commit ff2a2e0172fd11b1bfb9b45ee1b996d3f10669af tree aa73a797810fb389c27af29b9eea2648bc979ee4 parent 06ede91017d015a03cf8c1c87b3ff668f9a846e0 author Ralf Baechle Fri, 22 Sep 2006 20:15:30 -0400 committer Jeff Garzik Fri, 22 Sep 2006 20:15:30 -0400 [NET] GT96100: Delete bitrotting ethernet driver Code for the EV96100 evaluation board hasn't compiled since at least November 15, 2003, so it is being deleted as of 2.6.18 due to lack of a user base. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 06ede91017d015a03cf8c1c87b3ff668f9a846e0 tree 7c9e4098d676b647f3e5f7d6a11ac1cf1f91f809 parent 1d22e05df8183b36b3cc0760344774040abc74d5 author Dale Farnsworth Wed, 20 Sep 2006 12:24:34 -0700 committer Jeff Garzik Fri, 22 Sep 2006 20:13:23 -0400 [PATCH] mv643xx_eth: restrict to 32-bit PPC_MULTIPLATFORM No 64-bit PPC_MULTIPLATFORM platforms use the mv643xx_eth driver, so build it only on PPC32. Signed-off-by: Dale Farnsworth Acked-by: Sven Luther Signed-off-by: Jeff Garzik commit 1d22e05df8183b36b3cc0760344774040abc74d5 tree ec560b450a60045d0607b450ced38b60a9db9ecb parent 28eb177dfa5982d132edceed891cb3885df258bb author Lennert Buytenhek Fri, 22 Sep 2006 02:28:13 +0200 committer Jeff Garzik Fri, 22 Sep 2006 20:13:23 -0400 [PATCH] Cirrus Logic ep93xx ethernet driver The Cirrus Logic ep93xx is an ARM SoC that includes an ethernet MAC -- this patch adds a driver for that ethernet MAC. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 28eb177dfa5982d132edceed891cb3885df258bb tree 5f8fdc37ad1d8d0793e9c47da7d908b97c814ffb parent fd8ae94eea9bb4269d6dff1b47b9dc741bd70d0b parent db392219c5f572610645696e3672f6ea38783a65 author Jeff Garzik Fri, 22 Sep 2006 20:10:23 -0400 committer Jeff Garzik Fri, 22 Sep 2006 20:10:23 -0400 Merge branch 'master' into upstream Conflicts: net/ieee80211/ieee80211_crypt_tkip.c net/ieee80211/ieee80211_crypt_wep.c commit 24669f7d00d387799fc6a39452ab22d7f078f043 tree 4ccea639fe4958e45586c7f19e6f77a39faaa9cc parent ddad65df0048e210c93640b59b3bad12701febb6 author Jeremy Fitzhardinge Tue, 12 Sep 2006 18:55:53 -0700 committer Dave Jones Fri, 22 Sep 2006 19:18:19 -0400 [CPUFREQ] sw_any_bug_dmi_table can be used on resume, so it isn't initdata sw_any_bug_dmi_table can be used on resume, so it isn't initdata. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Dave Jones commit ddad65df0048e210c93640b59b3bad12701febb6 tree 5530a3fbeef881c48ca02e491529d709dc812ea0 parent 8adcc0c674004c0f9467031a93dc639c2b01411f author Dave Jones Fri, 22 Sep 2006 19:15:23 -0400 committer Dave Jones Fri, 22 Sep 2006 19:15:23 -0400 [CPUFREQ] Fix some more CPU hotplug locking. Lukewarm IQ detected in hotplug locking BUG: warning at kernel/cpu.c:38/lock_cpu_hotplug() [] lock_cpu_hotplug+0x42/0x65 [] cpufreq_update_policy+0x25/0xad [] kprobe_flush_task+0x18/0x40 [] schedule+0x63f/0x68b [] __link_module+0x0/0x1f [] __cond_resched+0x16/0x34 [] cond_resched+0x26/0x31 [] wait_for_completion+0x17/0xb1 [] cpufreq_stat_cpu_callback+0x13/0x20 [cpufreq_stats] [] cpufreq_stats_init+0x74/0x8b [cpufreq_stats] [] sys_init_module+0x91/0x174 [] sysenter_past_esp+0x56/0x79 As there are other places that call cpufreq_update_policy without the hotplug lock, it seems better to keep the hotplug locking at the lower level for the time being until this is revamped. Signed-off-by: Dave Jones commit db392219c5f572610645696e3672f6ea38783a65 tree 240878f6367e528840cc4fe92f6b3a251651572f parent 3e2ab46df697048e222cdc046a2fa97149ca32ba parent 9cd330d36b32ed48d49561b165842db20bd153cc author Linus Torvalds Fri, 22 Sep 2006 15:47:06 -0700 committer Linus Torvalds Fri, 22 Sep 2006 15:47:06 -0700 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: (65 commits) IB: Fix typo in kerneldoc for ib_set_client_data() IPoIB: Add some likely/unlikely annotations in hot path IPoIB: Remove unused include of vmalloc.h IPoIB: Rejoin all multicast groups after a port event IPoIB: Create MCGs with all attributes required by RFC IB/sa: fix ib_sa_selector names IB/iser: INFINIBAND_ISER depends on INET IB/mthca: Simplify calls to mthca_cq_clean() RDMA/cma: Document rdma_accept() error handling IB/mthca: Recover from catastrophic errors RDMA/cma: Document rdma_destroy_id() function IB/cm: Do not track remote QPN in timewait state IB/sa: Require SA registration IPoIB: Refactor completion handling IB/iser: Do not use FMR for a single dma entry sg IB/iser: fix some debug prints IB/iser: make FMR "page size" be 4K and not PAGE_SIZE IB/iser: Limit the max size of a scsi command IB/iser: fix a check of SG alignment for RDMA RDMA/cma: Protect against adding device during destruction ... commit 3e2ab46df697048e222cdc046a2fa97149ca32ba tree f0b53afc6054853f7281b833d2d6b9ed48ed2b19 parent e6e5fee1426bef07f4e6c3c76f48343c14207938 parent 54caf44da31995df1f51174468fd9e83ca5c67a2 author Linus Torvalds Fri, 22 Sep 2006 15:37:31 -0700 committer Linus Torvalds Fri, 22 Sep 2006 15:37:31 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: [netdrvr] mv643xx_eth: fix obvious typo, which caused build breakage [netdrvr] lp486e: fix typo commit 9cd330d36b32ed48d49561b165842db20bd153cc tree 029ddb8fa1fb820cfe61ec77f094ac72f2637f91 parent a8bfca024326560d86c6323b0504288ca55a75fc author Krishna Kumar Fri, 22 Sep 2006 15:22:58 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:58 -0700 IB: Fix typo in kerneldoc for ib_set_client_data() Signed-off-by: Krishna Kumar Signed-off-by: Roland Dreier commit a8bfca024326560d86c6323b0504288ca55a75fc tree cc3bae75628c57b8f70a0ed66beee62201557bad parent 507c33504686e733a14ef0b2dc9db0c20fae4653 author Eli Cohen Fri, 22 Sep 2006 15:22:58 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:58 -0700 IPoIB: Add some likely/unlikely annotations in hot path Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit 507c33504686e733a14ef0b2dc9db0c20fae4653 tree eba9071f31789b23751b7bbf3686e7228997ff7e parent 5ccd025553d73e523212ee0860b7f4a75e886bfa author Dotan Barak Thu, 21 Sep 2006 18:26:43 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:57 -0700 IPoIB: Remove unused include of vmalloc.h IPoIB doesn't use anything from , so don't include it. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 5ccd025553d73e523212ee0860b7f4a75e886bfa tree 31a6fe6745b16b47cab4e34760e6c8a1ab70108b parent d0df6d6d4539241179a1ef5394787825bf05bbce author Eli Cohen Fri, 22 Sep 2006 15:22:56 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:56 -0700 IPoIB: Rejoin all multicast groups after a port event When ipoib_ib_dev_flush() is called because of a port event, the driver needs to rejoin all multicast groups, since the flush will call ipoib_mcast_dev_flush() (via ipoib_ib_dev_down()). Otherwise no (non-broadcast) multicast groups will be rejoined until the networking core calls ->set_multicast_list again, and so multicast reception will be broken for potentially a long time. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit d0df6d6d4539241179a1ef5394787825bf05bbce tree 82e66fbc8b048e15132fe4eedacfc9187b77abf4 parent aec79fcc3ea3b536a2788b4e22b7ebabbb176485 author Roland Dreier Fri, 22 Sep 2006 15:22:56 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:56 -0700 IPoIB: Create MCGs with all attributes required by RFC RFC 4391 ("Transmission of IP over InfiniBand (IPoIB)") says: If the IB multicast group does not already exist, one must be created first with the IPoIB link MTU. The MGID MUST use the same P_Key, Q_Key, SL, MTU, and HopLimit as those used in the broadcast-GID. The rest of attributes SHOULD follow the values used in the broadcast-GID as well. However, the current IPoIB driver is only setting the attributes required by the InfiniBand spec to create a multicast group, so in particular the MTU and HopLimit are not being set. Add these attributes when creating MCGs, and also set the Rate attribute, since IPoIB pays attention to that attribute as well. Signed-off-by: Roland Dreier commit aec79fcc3ea3b536a2788b4e22b7ebabbb176485 tree 3ae94bd1003362c52aa6118897fbeacfd0b4128a parent 5755d6dad95808a24a65dd9e61e23c305f9b077c author Michael S. Tsirkin Mon, 18 Sep 2006 22:17:08 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 IB/sa: fix ib_sa_selector names Relevant SA queries are actually "greater than" / "less than", not "greater than or equal" / "less than or equal" as the names imply. (See IB spec 1.2 Vol 1, 15.2.5.16 PATHRECORD/Table 205 PathRecord) Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 5755d6dad95808a24a65dd9e61e23c305f9b077c tree 22549b19cc0e4aeeaa8abaf72b34cf0a9c53856d parent d35cc330a2058a32410ef42784b8d3b942f37b8b author Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 IB/iser: INFINIBAND_ISER depends on INET iSER won't build without CONFIG_INET enabled, so make Kconfig reflect that. Signed-off-by: Roland Dreier commit d35cc330a2058a32410ef42784b8d3b942f37b8b tree d01f8996ab79610edbf070c21b9200480c5b126f parent 951f7fc1372da3d826b1d975b3cc5e3db92af5d0 author Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 IB/mthca: Simplify calls to mthca_cq_clean() If a QP has separate send and receive CQs, then the send CQ will never have receive completions from that QP in it. So when cleaning the send CQ, there's no need to pass in an SRQ pointer, even if the QP is attached to an SRQ. Signed-off-by: Roland Dreier commit 951f7fc1372da3d826b1d975b3cc5e3db92af5d0 tree 21129949b4ad6fd3ad9da5bbd427db090d2cb3da parent b3b30f5e8a0c50db3d76b6f7c7cc50245aeb57fd author Or Gerlitz Fri, 22 Sep 2006 15:22:54 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:54 -0700 RDMA/cma: Document rdma_accept() error handling Document the reject sending and modifying QP to error done in rdma_accept(). Signed-off-by: Or Gerlitz Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit b3b30f5e8a0c50db3d76b6f7c7cc50245aeb57fd tree 02e7b931be922a71e82da5c9baf273ac5d2312d9 parent 07eeec0627e93a1a753c4df004a97a4d0a7b9ceb author Jack Morgenstein Tue, 15 Aug 2006 21:11:18 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:54 -0700 IB/mthca: Recover from catastrophic errors Trigger device remove and then add when a catastrophic error is detected in hardware. This, in turn, will cause a device reset, which we hope will recover from the catastrophic condition. Since this might interefere with debugging the root cause, add a module option to suppress this behaviour. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 07eeec0627e93a1a753c4df004a97a4d0a7b9ceb tree a64ef6da30f93a2443c8a3131e1cfc0d04c721d0 parent a70d059009f4a207e2a9c794f40fc8c870096d54 author Or Gerlitz Tue, 12 Sep 2006 09:03:33 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:54 -0700 RDMA/cma: Document rdma_destroy_id() function Clarify that rdma_destroy_id cancels outstanding asynchronous operations on the Associated id. Signed-off-by: Or Gerlitz Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit a70d059009f4a207e2a9c794f40fc8c870096d54 tree 80c8e31f8db32d1eb1974218886baa2c196d6ab0 parent c1a0b23bf477c2e1068905f4e2b5c3cee139e853 author Michael S. Tsirkin Mon, 28 Aug 2006 16:32:50 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:53 -0700 IB/cm: Do not track remote QPN in timewait state Do not track remote QPN in TimeWait state, since QP is not connected. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit c1a0b23bf477c2e1068905f4e2b5c3cee139e853 tree 68357e32e8b6542647f639da8ca3859b4cb3b59b parent 2439a6e65ff09729c3b4215f134dc5cd4e8a30c0 author Michael S. Tsirkin Mon, 21 Aug 2006 16:40:12 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:53 -0700 IB/sa: Require SA registration Require users to register with SA module, to prevent the sa_query module text from going away while an SA query callback is still running. Update all in-tree users for the new interface. Signed-off-by: Michael S. Tsirkin Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 2439a6e65ff09729c3b4215f134dc5cd4e8a30c0 tree a8c85db68ed2bc15be60e9a713ac7a73c5c40796 parent d81110285f7f6c07a0ce8f99a5ff158a647cd649 author Roland Dreier Fri, 22 Sep 2006 15:22:52 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:52 -0700 IPoIB: Refactor completion handling Split up ipoib_ib_handle_wc() into ipoib_ib_handle_rx_wc() and ipoib_ib_handle_tx_wc() to make the code easier to read. This will also help implement NAPI in the future. Signed-off-by: Roland Dreier commit d81110285f7f6c07a0ce8f99a5ff158a647cd649 tree 7ecbae2d81a7464114a7d57e1a7d0230aaa21071 parent e981f1d4b8288072ba7cf6b7141cd4aefb404383 author Erez Zilber Mon, 11 Sep 2006 12:26:33 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:52 -0700 IB/iser: Do not use FMR for a single dma entry sg Fast Memory Registration (fmr) is used to register for rdma an sg whose elements are not linearly sequential after dma mapping. The IB verbs layer provides an "all dma memory MR (memory region)" which can be used for RDMA-ing a dma linearly sequential buffer. Change the code to use the dma mr instead of doing fmr when dma mapping produces a single dma entry sg. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit e981f1d4b8288072ba7cf6b7141cd4aefb404383 tree b33851f7b985ea86c11a5e99c523fbcf97c12bd3 parent 8dfa0876d3dde5f9c1818a4c35caaabc3ddba78b author Erez Zilber Mon, 11 Sep 2006 12:24:00 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:51 -0700 IB/iser: fix some debug prints fix and add some debug prints related to iser handling of memory for rdma. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit 8dfa0876d3dde5f9c1818a4c35caaabc3ddba78b tree ca68e1f128305185c8cb807e15ab67b36b2be2a5 parent 8072ec2f8f6790df91e85d833e672c9c30a7ab3c author Erez Zilber Mon, 11 Sep 2006 12:22:30 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:51 -0700 IB/iser: make FMR "page size" be 4K and not PAGE_SIZE As iser is able to use at most one rdma operation for the execution of a scsi command, and registration of the sg associated with scsi command has its restrictions, the code checks if an sg is "aligned for rdma". Alignment for rdma is measured in "fmr page" units whose possible resolutions are different between HCAs and can be smaller, equal or bigger to the system page size. When the system page size is bigger than 4KB (eg the default with ia64 kernels) there a bigger chance that an sg would be aligned for rdma if the fmr page size is 4KB. Change the code to create FMR whose pages are of size 4KB and to take that into account when processing the sg. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit 8072ec2f8f6790df91e85d833e672c9c30a7ab3c tree 15866a5b44b5f199fea76f1b540c2a790203aad2 parent 777a71dd4d901f055967ddbd038d2a74ffce0eb8 author Erez Zilber Mon, 11 Sep 2006 12:20:54 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:50 -0700 IB/iser: Limit the max size of a scsi command Currently, the data length of a command coming down from scsi-ml is limited only by the size of its sg list (sg_tablesize). The max data length may be different for different page size values. By setting max_sectors, we limit the data length to max_sectors*512 bytes. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit 777a71dd4d901f055967ddbd038d2a74ffce0eb8 tree 88c05b9d52619a4881c12c752b55ed124f782fc0 parent 61a73c708f37295892176bc911b178278df6a091 author Erez Zilber Mon, 11 Sep 2006 12:19:17 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:49 -0700 IB/iser: fix a check of SG alignment for RDMA dma mapping may include a "compaction" of the sg associated with scsi command. Hence, the size of the maximal prefix of the SG which is aligned for rdma must be compared against the length of the dma mapped sg (mem->dma_nents) and not against the size of it before it was mapped (mem->size). Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit 61a73c708f37295892176bc911b178278df6a091 tree caa11f34a88a687f6699373f24bd93733b048f10 parent f94b533d091a42da92d908eb7b3f9ade1923f90d author Sean Hefty Fri, 01 Sep 2006 15:33:55 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:49 -0700 RDMA/cma: Protect against adding device during destruction Closes a window where address resolution can attach an rdma_cm_id to a device during destruction of the rdma_cm_id. This can result in the rdma_cm_id remaining in the device list after its memory has been freed. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit f94b533d091a42da92d908eb7b3f9ade1923f90d tree e8deed557c293bdb5eeaf8ca87ddda69e1cf3586 parent 07ebafbaaa72aa6a35472879008f5a1d1d469a0c author Tom Tucker Fri, 22 Sep 2006 15:22:48 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:48 -0700 RDMA/amso1100: Add driver for Ammasso 1100 RNIC Add a driver for the Ammasso 1100 gigabit ethernet RNIC. Signed-off-by: Tom Tucker Signed-off-by: Steve Wise Signed-off-by: Roland Dreier commit 07ebafbaaa72aa6a35472879008f5a1d1d469a0c tree c42ed5c70e5bea1382f1cbde3f4a70d172e2f650 parent 922a8e9fb2e0711212badce47a41137e2ca04cb3 author Tom Tucker Thu, 03 Aug 2006 16:02:42 -0500 committer Roland Dreier Fri, 22 Sep 2006 15:22:47 -0700 RDMA: iWARP Core Changes. Modifications to the existing rdma header files, core files, drivers, and ulp files to support iWARP, including: - Hook iWARP CM into the build system and use it in rdma_cm. - Convert enum ib_node_type to enum rdma_node_type, which includes the possibility of RDMA_NODE_RNIC, and update everything for this. Signed-off-by: Tom Tucker Signed-off-by: Steve Wise Signed-off-by: Roland Dreier commit 922a8e9fb2e0711212badce47a41137e2ca04cb3 tree 54af57ac9f2ddcaf0e6fdead4d9175eecd9e06e2 parent 3cd965646b7cb75ae84dd0daf6258adf20e4f169 author Tom Tucker Thu, 03 Aug 2006 16:02:40 -0500 committer Roland Dreier Fri, 22 Sep 2006 15:22:46 -0700 RDMA: iWARP Connection Manager. Add an iWARP Connection Manager (CM), which abstracts connection management for iWARP devices (RNICs). It is a logical instance of the xx_cm where xx is the transport type (ib or iw). The symbols exported are used by the transport independent rdma_cm module, and are available also for transport dependent ULPs. Signed-off-by: Tom Tucker Signed-off-by: Steve Wise Signed-off-by: Roland Dreier commit 3cd965646b7cb75ae84dd0daf6258adf20e4f169 tree 85f078616af532d079fce34c8f307f9a4cb888af parent f06d26537559113207e4b73af6a22eaa5c5e9dc3 author Roland Dreier Fri, 22 Sep 2006 15:22:46 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:46 -0700 IB: Whitespace fixes Remove some trailing whitespace that has snuck in despite the best efforts of whitespace=error-all. Also fix a few other whitespace bogosities. Signed-off-by: Roland Dreier commit f06d26537559113207e4b73af6a22eaa5c5e9dc3 tree d5d33db61adc4070a4b4b0d4f903d3223299db7b parent 2b3e258e5dd1938e2708eb5354ad8ba056fe8154 author Sean Hefty Mon, 28 Aug 2006 15:15:18 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:45 -0700 IB/cm: Randomize starting comm ID Randomize the starting local comm ID to avoid getting a rejected connection due to a stale connection after a system reboot or reloading of the ib_cm. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 2b3e258e5dd1938e2708eb5354ad8ba056fe8154 tree fde0892c0d1de71584c6350eca6cc13d0107d845 parent 75ab13443e4575c00788ba9861105745b9dda05c author James Lentini Mon, 28 Aug 2006 15:12:04 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:44 -0700 IB/mad: Remove unused includes The ib_mad module does not use a kthread function, but mad_priv.h includes . mad_rmpp.c does not do any DMA-related stuff, but includes . Remove the unused includes. Signed-off-by: James Lentini Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 75ab13443e4575c00788ba9861105745b9dda05c tree f1244f0a1e819e2bf31ddef2e9cac5a349da2146 parent 76842405fca5f8b8e08d91558ecd3b922265034a author Sean Hefty Mon, 28 Aug 2006 15:10:32 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:44 -0700 IB/mad: Add support for dual-sided RMPP transfers. The implementation assumes that any RMPP request that requires a response uses DS RMPP. Based on the RMPP start-up scenarios defined by the spec, this should be a valid assumption. That is, there is no start-up scenario defined where an RMPP request is followed by a non-RMPP response. By having this assumption we avoid any API changes. In order for a node that supports DS RMPP to communicate with one that does not, RMPP responses assume a new window size of 1 if a DS ACK has not been received. (By DS ACK, I'm referring to the turn-around ACK after the final ACK of the request.) This is a slight spec deviation, but is necessary to allow communication with nodes that do not generate the DS ACK. It also handles the case when a response is sent after the request state has been discarded. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 76842405fca5f8b8e08d91558ecd3b922265034a tree a0a8940fd2306903251296eb4f1d37a16cacf234 parent c1f250c0b45cdfdd89b21f2b866f317439aa21de author Sean Hefty Mon, 28 Aug 2006 11:57:42 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:43 -0700 IB/cm: Use correct reject code for invalid GID Set the reject code properly when rejecting a request that contains an invalid GID. A suitable GID is returned by the IB CM in the additional reject information (ARI). This is a spec compliancy issue. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit c1f250c0b45cdfdd89b21f2b866f317439aa21de tree 5cc5fab7be988579743d896fab5a01864a2c0df1 parent 9e583b85c2a0215dc7f4427361b4f75fcc0316af author Sean Hefty Mon, 28 Aug 2006 11:55:52 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:42 -0700 IB/cm: Enable atomics along with RDMA reads Enable atomic operations along with RDMA reads if a local RDMA read/atomic depth is provided by the user. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 9e583b85c2a0215dc7f4427361b4f75fcc0316af tree 2ad47c07a32da31189fc5d017e757adab34154fc parent f6f76725b5ed8085c602b16bfd309c9957fb84c8 author Jack Morgenstein Mon, 28 Aug 2006 19:12:39 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:42 -0700 IB/mthca: Return correct number of bits for static rate in query_qp Incorrect number of bits was taken for static_rate field. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit f6f76725b5ed8085c602b16bfd309c9957fb84c8 tree d1784262a4239e7e17dc1262f2a4112561553639 parent b046a04e162dc7f468700a0817acda0321b2b3ae author Jack Morgenstein Mon, 28 Aug 2006 19:10:34 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:41 -0700 IB/mthca: Return port number for unconnected QPs in query_qp port_num was not being returned for unconnected QPs. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit b046a04e162dc7f468700a0817acda0321b2b3ae tree 47d7d08b9a79827125ce11ae83ed4f4c02e982a7 parent 30fc5c3130bdbc7cc051a2d6054ad38360d408a8 author Jack Morgenstein Mon, 28 Aug 2006 19:08:53 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:40 -0700 IB/mthca: Fix default static rate returned for Tavor in AV When default static rate is returned for Tavor, need to translate it to an ib rate value. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 30fc5c3130bdbc7cc051a2d6054ad38360d408a8 tree 6928159aeed17f8a15ae705a0ce16551bef5811e parent e35d710d0c5b74bc9833d6a3791706bd577a3724 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:48 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:40 -0700 IB/ipath: control receive polarity inversion Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit e35d710d0c5b74bc9833d6a3791706bd577a3724 tree 3bb24378144082c7f521e83194d027914c65afbc parent d821f02a6ebed97e35e0bc7575452cfc6f9073cb author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:46 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:39 -0700 IB/ipath: fix return value from ipath_poll This stops the generic poll code from waiting for a timeout. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit d821f02a6ebed97e35e0bc7575452cfc6f9073cb tree a4457534d937843df8f15eb1a2f5c90ab3c46697 parent a78aa6fb156f9954562c9539aeb25dbec1ffca10 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:45 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:39 -0700 IB/ipath: allow SMA to be disabled This is useful for testing purposes. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit a78aa6fb156f9954562c9539aeb25dbec1ffca10 tree 45ce52f85ad0453f39d6f2add8c92f665f3577a6 parent 0b81e4f79af8322c7142701982f40d1431dedf19 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:44 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:38 -0700 IB/ipath: handle sq_sig_all field correctly Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 0b81e4f79af8322c7142701982f40d1431dedf19 tree 4d1161d8603471cbe8ece750980eb22767a91235 parent ca4ce383acfb05b8035453cdbbfd4f8ae36c7a69 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:43 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:38 -0700 IB/ipath: put a limit on the number of QPs that can be created Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit ca4ce383acfb05b8035453cdbbfd4f8ae36c7a69 tree c18fe8810822fe7a6cb01d66ce7ab05a7f29264e parent fc8cf8cdfc3ce328c577b18ebcd60a5595f2a283 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:42 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:37 -0700 IB/ipath: validate path_mig_state properly Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit fc8cf8cdfc3ce328c577b18ebcd60a5595f2a283 tree 55f4240fd9eca1b3d3545881e9cce9c575ddbb7c parent ff0b8597ec3e7db6b37130a195cb3d673dafea27 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:41 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:36 -0700 IB/ipath: be more strict about testing the modify QP verb Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit ff0b8597ec3e7db6b37130a195cb3d673dafea27 tree 84d54a7e32a01e8c2cd536a6f88e8f5e8bb30748 parent 525d0ca1d452ed336c1d907fb20c104467a8a47b author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:40 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:36 -0700 IB/ipath: add serial number to hardware freeze error message Also added the word "Hardware" after "Fatal" to make it more obvious that it's hardware, not software. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 525d0ca1d452ed336c1d907fb20c104467a8a47b tree 8c6e6b649f7b7ce988ac697c58d60e36ab16dc8b parent 092260b8f966ebe0742045416082e9a81bd971d1 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:39 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:35 -0700 IB/ipath: support new QLogic product naming scheme This patch only renames files, fixes product names, and updates comments. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 092260b8f966ebe0742045416082e9a81bd971d1 tree bcd29243f82cfcd6d69d7ec761a7709ae859d509 parent eae33d47a797e159306567643284a98ae7428ec4 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:38 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:35 -0700 IB/ipath: account for attached QPs correctly Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit eae33d47a797e159306567643284a98ae7428ec4 tree 8a878a2e65f8a809d25c6c8ddd22c42073f7867c parent 98341f261893acd7bc5abee5ddc35337ef49e457 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:37 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:34 -0700 IB/ipath: do not allow use of CQ entries with invalid counts Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 98341f261893acd7bc5abee5ddc35337ef49e457 tree 44393b654275fbb4324da3b6622808e36f6c3dbd parent 32c0a26c8f91dbc2797175c2bdff42b54f66c71d author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:36 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:34 -0700 IB/ipath: add new minor device to allow sending of diag packets Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 32c0a26c8f91dbc2797175c2bdff42b54f66c71d tree ba090ead26ea5738976fa533ab173a69e8711095 parent 0fd41363e0785247b7c19127318abc8b5eacc86b author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:35 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:33 -0700 IB/ipath: trivial cleanups Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 0fd41363e0785247b7c19127318abc8b5eacc86b tree bf71d78bd12008367e1c0293280a50a9628133f3 parent b55f4f06c834a67f949a5219c5f97ffafa240989 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:34 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:32 -0700 IB/ipath: remove stale references to userspace SMA When we first submitted a userspace subnet management agent, it was rejected, so we left it out of the final driver submission. This patch removes a number of vestigial references to it. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit b55f4f06c834a67f949a5219c5f97ffafa240989 tree f7fb3095a8e7e09370036ad9d669925897d5f0c4 parent 34b2aafea38efdf02cd8107a6e1057e2a297c447 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:33 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:31 -0700 IB/ipath: simplify debugging code after ipath_core and ib_ipath merger Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 34b2aafea38efdf02cd8107a6e1057e2a297c447 tree fc800510f947696156df70cf6608f8283bab868c parent b1c1b6a30eac88665a35a207cc5e6233090b9d65 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:32 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:31 -0700 IB/ipath: simplify layering code A lot of ipath layer code was only called in one place. Now that the ipath_core and ib_ipath drivers are merged, it's more sensible to simply inline the simple stuff that the layer code was doing. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit b1c1b6a30eac88665a35a207cc5e6233090b9d65 tree 7f2351404d45a48688e3cc2be355d2fb016e4b18 parent 367fe711c5dc85dbc3265cf01e34d4d6fbd55f06 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:31 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:30 -0700 IB/ipath: merge ipath_core and ib_ipath drivers There is little point in keeping the two drivers separate, so we are merging them. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 367fe711c5dc85dbc3265cf01e34d4d6fbd55f06 tree ff3b35b84371afd5fbb2b13ea5657bbda71e73df parent ba11203a11835737df980ef3dd3bd8325b9cc94e author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:30 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:29 -0700 IB/ipath: drop requirement that PIO buffers be mmaped write-only Some userlands try to mmap these pages read-write, so accommodate them. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit ba11203a11835737df980ef3dd3bd8325b9cc94e tree 67c444e4989fcd7e883d0be2d495817b9767e5c6 parent 8e280d94e29af67035637fb957daba7ae0d23583 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:29 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:28 -0700 IB/ipath: fix handling of kpiobufs Change comment: no longer imply that user can set ipath_kpiobufs to zero. Actually set ipath_kpiobufs from parameter. Previously only altered per-device ipath_lastport_piobuf, which was over-written in chip init. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 8e280d94e29af67035637fb957daba7ae0d23583 tree eb95b5a5f8eecee6b8f0b0aacb5da14a05d514fa parent c27fef26271d352b5546c33239edeb0dcb4fc0cc author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:28 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:27 -0700 IB/ipath: fix for crash on module unload, if cfgports < portcnt Allocate enough pointers for all possible ports, to avoid problems in cleanup/unload. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit c27fef26271d352b5546c33239edeb0dcb4fc0cc tree 3dc284784c4218c80d7806c05324be1599d6c6c6 parent eb9dc6f48dc7537ce53163109625bd992150e0cf author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:27 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:27 -0700 IB/ipath: lock resource limit counters correctly Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit eb9dc6f48dc7537ce53163109625bd992150e0cf tree c452c01196bc47b266faec728da87ac5539316e4 parent 373d9915803aebbbf7fd3841efd9dac31c32e148 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:26 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:26 -0700 IB/ipath: More changes to support InfiniPath on PowerPC 970 systems Ordering of writethrough store buffers needs to be forced, and we need to use ifdef to get writethrough behavior to InfiniPath buffers, because there is no generic way to specify that at this time (similar to code in char/drm/drm_vm.c and block/z2ram.c). Signed-off-by: John Gregor Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 373d9915803aebbbf7fd3841efd9dac31c32e148 tree bd0b05d5e78eab4471bc4d623a880013693077ea parent 9bc57e2d19db4da81c1150120658cc3658a99ed4 author Ralph Campbell Fri, 22 Sep 2006 15:22:26 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:26 -0700 IB/ipath: Performance improvements via mmap of queues Improve performance of userspace post receive, post SRQ receive, and poll CQ operations for ipath by allowing userspace to directly mmap() receive queues and completion queues. This eliminates the copying between userspace and the kernel in the data path. Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier commit 9bc57e2d19db4da81c1150120658cc3658a99ed4 tree 0047863da8629f79d59f50d243ad7d6c01a5ec5c parent 64f817ba98095156149ba5991592d5d039f6da74 author Ralph Campbell Fri, 11 Aug 2006 14:58:09 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:25 -0700 IB/uverbs: Pass userspace data to modify_srq and modify_qp methods Pass a struct ib_udata to the low-level driver's ->modify_srq() and ->modify_qp() methods, so that it can get to the device-specific data passed in by the userspace driver. Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier commit 64f817ba98095156149ba5991592d5d039f6da74 tree 72aaa87275033036bbf0e886c1cb7cf1e9d38bb5 parent fab97220c9e409a98b1956ba677ddd2dd43b0b95 author Ralph Campbell Fri, 22 Sep 2006 15:22:24 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:24 -0700 IB/uverbs: Allow resize CQ operation to return driver-specific data Add a ib_uverbs_resize_cq_resp.driver_data field so that low-level drivers can return data from a resize CQ operation to userspace. Have ib_uverbs_resize_cq() only copy the cqe field, to avoid having to bump the userspace ABI. Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier commit fab97220c9e409a98b1956ba677ddd2dd43b0b95 tree f4fd0456b758a651eb7e774c550641e177a9b333 parent ded7f1a16d50527359be02f8b04f9ba56bc923e6 author Heiko J Schick Fri, 22 Sep 2006 15:22:22 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:22 -0700 IB/ehca: Add driver for IBM eHCA InfiniBand adapters Add a driver for IBM GX bus InfiniBand adapters, which are usable with some pSeries/System p systems. Signed-off-by: Heiko J Schick Signed-off-by: Roland Dreier commit 3b9f9a1c3903b64c38505f9fed3bb11e48dbc931 tree 0a508ef9ea7f9795d28333204c0a40c843b81e50 parent 55ebaef1d5db9c1c76ba01a87fd986db5dee550d author Noriaki TAKAMIYA Fri, 22 Sep 2006 14:45:56 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:29 -0700 [IPV6] ADDRCONF: Mobile IPv6 Home Address support. IFA_F_HOMEADDRESS is introduced for Mobile IPv6 Home Addresses on Mobile Node. The IFA_F_HOMEADDRESS flag should be set for Mobile IPv6 Home Addresses for 2 purposes. 1) We need to check this on receipt of Type 2 Routing Header (RFC3775 Secion 6.4), 2) We prefer Home Address(es) in source address selection (RFC3484 Section 5 Rule 4). Signed-off-by: Noriaki TAKAMIYA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 55ebaef1d5db9c1c76ba01a87fd986db5dee550d tree f06df5c635a1313ae6628d15a784076e5929c496 parent fc26d0abd5afd2b5268a7dbdbf8be1095ce5703e author Noriaki TAKAMIYA Fri, 22 Sep 2006 14:45:27 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:28 -0700 [IPV6] ADDRCONF: Allow non-DAD'able addresses. IFA_F_NODAD flag, similar to IN6_IFF_NODAD in BSDs, is introduced to skip DAD. This flag should be set to Mobile IPv6 Home Address(es) on Mobile Node because DAD would fail if we should perform DAD; our Home Agent protects our Home Address(es). Signed-off-by: Noriaki TAKAMIYA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit fc26d0abd5afd2b5268a7dbdbf8be1095ce5703e tree bfb7beca3f0286920e5518541e10c380a6fb8ac6 parent 8814c4b533817df825485ff32ce6ac406c3a54d1 author YOSHIFUJI Hideaki Fri, 22 Sep 2006 14:44:53 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:27 -0700 [IPV6] NDISC: Fix is_router flag setting. We did not send appropriate IsRouter flag if the forwarding setting is positive even value. Let's give 1/0 value to ndisc_send_na(). Also, existing users of ndisc_send_na() give 0/1 to override, we can omit redundant operation in that function. Bug hinted by Nicolas Dichtel . Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 8814c4b533817df825485ff32ce6ac406c3a54d1 tree b72cc3513e7dc4b60e98c7ddebe76bca188f88fc parent fbea49e1e2404baa2d88ab47e2db89e49551b53b author YOSHIFUJI Hideaki Fri, 22 Sep 2006 14:44:24 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:26 -0700 [IPV6] ADDRCONF: Convert addrconf_lock to RCU. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit fbea49e1e2404baa2d88ab47e2db89e49551b53b tree 7e11746b350048e04867a9f67b843057428c2ef0 parent 62dd93181aaa1d5a501a9cebcb254f44b8a48af7 author YOSHIFUJI Hideaki Fri, 22 Sep 2006 14:43:49 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:25 -0700 [IPV6] NDISC: Add proxy_ndp sysctl. We do not always need proxy NDP functionality even we enable forwarding. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 62dd93181aaa1d5a501a9cebcb254f44b8a48af7 tree b19cc7f630d3fecccc338f1c5a75000a4485565a parent 5f3e6e9e19f50a6910aec2dbd479187aabba04b7 author Ville Nuorvala Fri, 22 Sep 2006 14:43:19 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:24 -0700 [IPV6] NDISC: Set per-entry is_router flag in Proxy NA. We have sent NA with router flag from the node-wide forwarding configuration. This is not appropriate for proxy NA, and it should be set according to each proxy entry's configuration. This is used by Mobile IPv6 home agent to support physical home link in acting as a proxy router for mobile node which is not a router, for example. Based on MIPL2 kernel patch. Signed-off-by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki commit 5f3e6e9e19f50a6910aec2dbd479187aabba04b7 tree 872c70c3012701ebae6d7f1861894f9d0e634817 parent 74553b09dcd9194cbda737016f0b89f245145670 author Ville Nuorvala Fri, 22 Sep 2006 14:42:46 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:23 -0700 [IPV6] NDISC: Avoid updating neighbor cache for proxied address in receiving NA. This aims at proxying router not updating neighbor cache entry for proxied address when it receives NA because either the proxied node is off link or it has already sent a NA to the proxied router. Based on MIPL2 kernel patch. Signed-off-by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki commit 74553b09dcd9194cbda737016f0b89f245145670 tree 75c131a859fa6152dd62913617bc8225f54c5b93 parent e21e0b5f19ac7835a244c2016f7ed726f971b3e9 author Ville Nuorvala Fri, 22 Sep 2006 14:42:18 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:22 -0700 [IPV6]: Don't forward packets to proxied link-local address. Proxying router can't forward traffic sent to link-local address, so signal the sender and discard the packet. This behavior is clarified by Mobile IPv6 specification (RFC3775) but might be required for all proxying router. Based on MIPL2 kernel patch. Signed-off-by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki commit e21e0b5f19ac7835a244c2016f7ed726f971b3e9 tree 93c12a003ed5a86caf0fe28ade960da219835cd3 parent 4c5de695cf7f71c85ad8cfff509f6475b8bd4d27 author Ville Nuorvala Fri, 22 Sep 2006 14:41:44 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:21 -0700 [IPV6] NDISC: Handle NDP messages to proxied addresses. It is required to respond to NDP messages sent directly to the "target" unicast address. Proxying node (router) is required to handle such messages. To achieve this, check if the packet in forwarding patch is NDP message. With this patch, the proxy neighbor entries are always looked up in forwarding path. We may want to optimize further. Based on MIPL2 kernel patch. Signed-off-by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki commit 4c5de695cf7f71c85ad8cfff509f6475b8bd4d27 tree 5175e20ab9244b4a0961ae98d85c8823956aad77 parent fd5e3befa405ea64d4db6b393b821644bf963c57 author Patrick McHardy Wed, 20 Sep 2006 12:11:30 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:20 -0700 [NETFILTER]: PPTP conntrack: fix another GRE keymap leak When the master PPTP connection times out while still having unfullfilled expectations (and a GRE keymap entry) associated with it, the keymap entry is not destroyed. Add a destroy callback to struct ip_conntrack_helper and use it to destroy PPTP siblings when the master is destroyed. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit fd5e3befa405ea64d4db6b393b821644bf963c57 tree 8e8519eb437b20a457c0c8897269216c1fa5622a parent 62fbe9c82b20197a4f9c54f7add5d368418ba277 author Patrick McHardy Wed, 20 Sep 2006 12:11:12 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:19 -0700 [NETFILTER]: PPTP conntrack: fix GRE keymap leak When destroying the GRE expectations without having seen the GRE connection the keymap entry is not freed, leading to a memory leak and, in case of a following call within the same session, failure during expectation setup. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 62fbe9c82b20197a4f9c54f7add5d368418ba277 tree 8dac2b3d2e0fe0bced40b4c12656070023eb4ac2 parent 750a58423309b56751076329e9edf61b93213e0f author Patrick McHardy Wed, 20 Sep 2006 12:10:52 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:18 -0700 [NETFILTER]: PPTP conntrack: fix PPTP_IN_CALL message types Fix incorrectly used message types and call IDs: - PPTP_IN_CALL_REQUEST (PAC->PNS) contains a PptpInCallRequest (icreq) message and the PAC call ID - PPTP_IN_CALL_REPLY (PNS->PAC) contains a PptpInCallReply (icack) message and the PNS call ID Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 750a58423309b56751076329e9edf61b93213e0f tree 8b57331ec4cec74b148a8189c265c167d1037001 parent 87a0117afdfe64473a6c802501bc15aee145ebb8 author Patrick McHardy Wed, 20 Sep 2006 12:10:37 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:17 -0700 [NETFILTER]: PPTP conntrack: check call ID before changing state For rejected calls the state is set to PPTP_CALL_NONE even for non-matching call ids. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 87a0117afdfe64473a6c802501bc15aee145ebb8 tree 7c31d2ade86cc3de46a9256aaf707d7a838df79a parent 4c651756d502e72a68b0bc6fb20bb18c68785227 author Patrick McHardy Wed, 20 Sep 2006 12:10:21 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:16 -0700 [NETFILTER]: PPTP conntrack: clean up debugging cruft Also make sure not to hand packets received in an invalid state to the NAT helper since it will mangle the packet with invalid data. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4c651756d502e72a68b0bc6fb20bb18c68785227 tree 049a27ab3d5e8e48d9d86bffbb5125e90e903a17 parent a1073406a124c1d3b33a0f06bfb8078a9ddd1985 author Patrick McHardy Wed, 20 Sep 2006 12:10:06 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:15 -0700 [NETFILTER]: PPTP conntrack: consolidate header parsing Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a1073406a124c1d3b33a0f06bfb8078a9ddd1985 tree f00172adc188074a998d39df64f258c1048d6f73 parent cf9f81523ef3e95d9f222c896d266e4562999150 author Patrick McHardy Wed, 20 Sep 2006 12:09:51 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:14 -0700 [NETFILTER]: PPTP conntrack: consolidate header size checks Also make sure not to pass undersized messages to the NAT helper. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cf9f81523ef3e95d9f222c896d266e4562999150 tree 6fa5175b120b150a28e495a8b87704bb139bbb69 parent 857c06da2ba2e00b81677c2f6740048d87da0207 author Patrick McHardy Wed, 20 Sep 2006 12:09:34 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:13 -0700 [NETFILTER]: PPTP conntrack: simplify expectation handling Remove duplicated expectation handling in the NAT helper and simplify the remains in the conntrack helper. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 857c06da2ba2e00b81677c2f6740048d87da0207 tree 234bfa8f2ce443606ad7f5f4e3989e4b25a5db98 parent 6013c0a13e335674a783215e182c367406294392 author Patrick McHardy Wed, 20 Sep 2006 12:09:19 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:12 -0700 [NETFILTER]: PPTP conntrack: remove unnecessary cid/pcid header pointers Just the values are needed, not the memory locations. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6013c0a13e335674a783215e182c367406294392 tree a090b1899c7b96df754df06c537659277328db78 parent 5256f663a0228af9bf69ba74ad9f0928f35713f7 author Patrick McHardy Wed, 20 Sep 2006 12:08:56 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:11 -0700 [NETFILTER]: PPTP conntrack: fix header definitions Fix a few header definitions to match RFC2637. Most importantly the PptpOutCallRequest header included an invalid padding field and a size check was disabled because of this. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5256f663a0228af9bf69ba74ad9f0928f35713f7 tree 4b317f7b80f001e5dc2004eca4eb6e0fa4acb5d1 parent a1ad1deed5bf6fa06f2213b7f1a794de4cf791a6 author Patrick McHardy Wed, 20 Sep 2006 12:08:41 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:10 -0700 [NETFILTER]: PPTP conntrack: remove more dead code The calculated sequence numbers are not used for anything. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a1ad1deed5bf6fa06f2213b7f1a794de4cf791a6 tree 5f5895cdb3f19f9137b644f684bb7bc1cb138345 parent 955b944293dd4c931ec866ebe19a6b2463b8f9a0 author Patrick McHardy Wed, 20 Sep 2006 12:08:23 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:09 -0700 [NETFILTER]: PPTP conntrack: remove dead code The call ID in reply packets is never changed, remove the code. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 955b944293dd4c931ec866ebe19a6b2463b8f9a0 tree 2b3053116a8585810977383c3d28c60c0f7d0fb5 parent edd5a329cf69c112882e03c8ab55e985062a5d2a author Patrick McHardy Wed, 20 Sep 2006 12:08:03 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:08 -0700 [NETFILTER]: PPTP conntrack: get rid of unnecessary byte order conversions The conntrack structure contains the call ID in host byte order for no reason, get rid of back and forth conversions. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit edd5a329cf69c112882e03c8ab55e985062a5d2a tree bbaad0b5ccb74b6eff9a81ed6b6df99dfb674a0f parent 127f15dd659b20e722561ff8c86dc058e1a72323 author Patrick McHardy Wed, 20 Sep 2006 12:07:39 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:07 -0700 [NETFILTER]: PPTP conntrack: fix whitespace errors Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 127f15dd659b20e722561ff8c86dc058e1a72323 tree 1a197ff0866d6984899e793d214c19ce565cafb6 parent 02c63cf777c331121bfb6e9c1440a9835ad2f2a8 author Patrick McHardy Wed, 20 Sep 2006 12:07:23 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:06 -0700 [NETFILTER]: ipt_hashlimit: add compat conversion functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 02c63cf777c331121bfb6e9c1440a9835ad2f2a8 tree ff1dd6d4bc9a84264bbddee6792c5b758194eb66 parent 7ce975b9da93b46dbf6ba70a1b4751bec211d079 author Patrick McHardy Wed, 20 Sep 2006 12:07:06 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:06 -0700 [NETFILTER]: xt_limit: add compat conversion functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7ce975b9da93b46dbf6ba70a1b4751bec211d079 tree fac49f960fff7ac2bfbfec200f30fe1a377d48cd parent f1eda05386ade8dad4e8e9b48ecbd9432b6739d9 author Patrick McHardy Wed, 20 Sep 2006 12:06:40 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:05 -0700 [NETFILTER]: xt_CONNMARK: add compat conversion functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f1eda05386ade8dad4e8e9b48ecbd9432b6739d9 tree 956400d02fc018dbe428b63208a891ec1fb2d8e4 parent be7263b7b72ed9d5d25958f2b71e77e889e4845a author Patrick McHardy Wed, 20 Sep 2006 12:06:25 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:04 -0700 [NETFILTER]: xt_connmark: add compat conversion functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit be7263b7b72ed9d5d25958f2b71e77e889e4845a tree 1dbe32317083bd80b1b7b805b3e3889a86f1f302 parent bc80b656657251fc936d2d93fc70d5566c1c7d29 author Patrick McHardy Wed, 20 Sep 2006 12:06:10 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:03 -0700 [NETFILTER]: xt_MARK: add compat conversion functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit bc80b656657251fc936d2d93fc70d5566c1c7d29 tree 3b781d832a742a57beda451e4c05a73b31b5d055 parent 9fa492cdc160cd27ce1046cb36f47d3b2b1efa21 author Patrick McHardy Wed, 20 Sep 2006 12:05:54 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:02 -0700 [NETFILTER]: xt_mark: add compat conversion functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 9fa492cdc160cd27ce1046cb36f47d3b2b1efa21 tree 6ecb2a92a87523af2a1f7236f0bca456ca0677f3 parent 79030ed07de673e8451a03aecb9ada9f4d75d491 author Patrick McHardy Wed, 20 Sep 2006 12:05:37 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:01 -0700 [NETFILTER]: x_tables: simplify compat API Split the xt_compat_match/xt_compat_target into smaller type-safe functions performing just one operation. Handle all alignment and size-related conversions centrally in these function instead of requiring each module to implement a full-blown conversion function. Replace ->compat callback by ->compat_from_user and ->compat_to_user callbacks, responsible for converting just a single private structure. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 79030ed07de673e8451a03aecb9ada9f4d75d491 tree 4ba8bd843c8bc95db0ea6877880b73d06da620e5 parent bec71b162747708d4b45b0cd399b484f52f2901a author Patrick McHardy Wed, 20 Sep 2006 12:05:08 -0700 committer David S. Miller Fri, 22 Sep 2006 15:20:00 -0700 [NETFILTER]: ip_tables: revision support for compat code Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit bec71b162747708d4b45b0cd399b484f52f2901a tree 50f93845e00c9aed07383b9c9b003a2749672fd4 parent 1192e403e9ea2dc23bbbe2b4fe9bdbc47e8c6056 author Patrick McHardy Wed, 20 Sep 2006 12:04:08 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:59 -0700 [NETFILTER]: ip_tables: fix module refcount leaks in compat error paths Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1192e403e9ea2dc23bbbe2b4fe9bdbc47e8c6056 tree 5554ab529123500558637dc39cf14247e02a41cc parent c1fe3ca5106d9568791433fa6c7f27e71ac69e1b author Brian Haley Wed, 20 Sep 2006 12:03:46 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:58 -0700 [NETFILTER]: make some netfilter globals __read_mostly Signed-off-by: Brian Haley Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c1fe3ca5106d9568791433fa6c7f27e71ac69e1b tree e3a00c265b70caadc7a6b8a17aa82491e354e31e parent 71cd83a8bde61612b277fd5bf91503ac1ad61e23 author George Hansper Wed, 20 Sep 2006 12:03:23 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:57 -0700 [NETFILTER]: TCP conntrack: improve dead connection detection Don't count window updates as retransmissions. Signed-off-by: George Hansper Signed-off-by: Patrick McHardy commit 71cd83a8bde61612b277fd5bf91503ac1ad61e23 tree 77d425753349dbc3e0cf4e34e3065b5a3dcc4a75 parent 7cf73936fe6bb9b027b75fd8fa3c634fe74843d3 author Alexey Dobriyan Wed, 20 Sep 2006 12:02:44 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:56 -0700 [NETFILTER]: xt_policy: remove dups in .family sparse "defined twice" warning Signed-off-by: Alexey Dobriyan Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7cf73936fe6bb9b027b75fd8fa3c634fe74843d3 tree 3fd047eb700ff11ddaff1a91bef478175c4e8c3b parent ca39df6cdfbe2ea210e31117f5d469576cfe9008 author Patrick McHardy Wed, 20 Sep 2006 12:02:21 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:55 -0700 [NETFILTER]: ip6t_HL: remove write-only variable Noticed by Alexey Dobriyan Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ca39df6cdfbe2ea210e31117f5d469576cfe9008 tree fd6569e94a28ac9b654fd009918c0e82775ffae8 parent 5251e2d2125407bbff0c39394a4011be9ed8b5d0 author Patrick McHardy Wed, 20 Sep 2006 12:01:34 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:54 -0700 [NETFILTER]: ipt_TTL: fix checksum update bug Fix regression introduced by the incremental checksum patches. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5251e2d2125407bbff0c39394a4011be9ed8b5d0 tree 3dda0aeb90d80a2ddd0e7a4215bfe9eaa8209033 parent 01f348484dd8509254d045e3ad49029716eca6a1 author Pablo Neira Ayuso Wed, 20 Sep 2006 12:01:06 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:54 -0700 [NETFILTER]: conntrack: fix race condition in early_drop On SMP environments the maximum number of conntracks can be overpassed under heavy stress situations due to an existing race condition. CPU A CPU B atomic_read() ... early_drop() ... ... atomic_read() allocate conntrack allocate conntrack atomic_inc() atomic_inc() This patch moves the counter incrementation before the early drop stage. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 01f348484dd8509254d045e3ad49029716eca6a1 tree 7a3f6d3bc775298bdc4b29749c34f18ffd379ee9 parent 90d47db4a06f93f7339618b2a4f0cb032ef8d6d5 author Pablo Neira Ayuso Wed, 20 Sep 2006 12:00:45 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:52 -0700 [NETFILTER]: ctnetlink: simplify the code to dump the conntrack table Merge the bits to dump the conntrack table and the ones to dump and zero counters in a single piece of code. This patch does not change the default behaviour if accounting is not enabled. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 90d47db4a06f93f7339618b2a4f0cb032ef8d6d5 tree 5bc69de31502801f3526577775e90225a43a0ff2 parent 9123de2c043996050bacf77031cad845f5976f5d author Dmitry Mishin Wed, 20 Sep 2006 12:00:21 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:51 -0700 [NETFILTER]: x_tables: small check_entry & module_refcount cleanup While standard_target has target->me == NULL, module_put() should be called for it as for others, because there were try_module_get() before. Signed-off-by: Dmitry Mishin Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 9123de2c043996050bacf77031cad845f5976f5d tree f6b20a74b75cca066d6ba6837d57fa82efe2a017 parent 57dab5d0bfee21663ed20222b4cedeb0655ba1f3 author Patrick McHardy Wed, 20 Sep 2006 11:59:42 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:51 -0700 [NETFILTER]: ip6table_mangle: reroute when nfmark changes in NF_IP6_LOCAL_OUT Now that IPv6 supports policy routing we need to reroute in NF_IP6_LOCAL_OUT when the mark value changes. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 57dab5d0bfee21663ed20222b4cedeb0655ba1f3 tree adb83bae14ed15f1dd196577c4ab1462325bc8df parent ecb70c95c45ece0935b076295388267f6d8db65c author Patrick McHardy Wed, 20 Sep 2006 11:59:25 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:50 -0700 [NETFILTER]: xt_limit: don't reset state on unrelated rule updates The limit match reinitializes its state whenever the ruleset changes, which means it will forget about previously used credits. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ecb70c95c45ece0935b076295388267f6d8db65c tree 51677f5b2db693951eb06587ab20732739d01532 parent 2be344c4461d29b99113f62fa91c5ceab9997329 author Patrick McHardy Wed, 20 Sep 2006 11:59:06 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:49 -0700 [NETFILTER]: ipt_TCPMSS: misc cleanup - remove debugging cruft - remove printk for reallocation failures - remove unused addition Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 2be344c4461d29b99113f62fa91c5ceab9997329 tree d543156b5811e9577384e76d02417826b82e8155 parent 68e1f188de535865d4543bae92d168c007857e7b author Patrick McHardy Wed, 20 Sep 2006 11:58:50 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:48 -0700 [NETFILTER]: ipt_TCPMSS: remove impossible condition Every skb must have a dst_entry at this point. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 68e1f188de535865d4543bae92d168c007857e7b tree 78f38adad0eb1bd6325d0c1744404d58bc355ada parent 50b9f1d509eb998db73cd769c9511186474f566e author Patrick McHardy Wed, 20 Sep 2006 11:58:35 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:47 -0700 [NETFILTER]: ipt_TCPMSS: reformat - fix whitespace error - break lines at 80 characters - reformat some expressions to be more readable Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 50b9f1d509eb998db73cd769c9511186474f566e tree 6d69634fbf04b97426fe5cbaa9380c81ecb94eae parent df0933dcb027e156cb5253570ad694b81bd52b69 author Patrick McHardy Wed, 20 Sep 2006 11:58:17 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:46 -0700 [NETFILTER]: xt_conntrack: clean up overly long lines Also fix some whitespace errors and use the NAT bits instead of deriving the state manually. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit df0933dcb027e156cb5253570ad694b81bd52b69 tree 48588f78dfda69f737b5ccfff02787ca0dad6036 parent 1bf38a36b6a0e810dafae048fdbb999e587f0f2f author Patrick McHardy Wed, 20 Sep 2006 11:57:53 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:45 -0700 [NETFILTER]: kill listhelp.h Kill listhelp.h and use the list.h functions instead. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1bf38a36b6a0e810dafae048fdbb999e587f0f2f tree 73578ff692770de7064f3a4beb3bd2749c8dff51 parent c55e2f4997a104d66b59bdf1aa8ab125d09ae00a author Patrick McHardy Wed, 20 Sep 2006 11:57:09 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:44 -0700 [NETFILTER]: remove unused include file Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c55e2f4997a104d66b59bdf1aa8ab125d09ae00a tree 51c92b1085e5a3067a14386c0b449ac33036bb7a parent 593f16aa627d61da447c76ee5a159450174627f6 author Al Viro Tue, 19 Sep 2006 13:23:19 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:43 -0700 [IPV4]: ipip and ip_gre encapsulation bugs Handling of ipip and ip_gre ICMP error relaying is b0rken; it accesses 8bit field + 3 reserved octets as host-endian 32bit, does comparison, subtraction and stuffs the result back. That breaks on big-endian. Fixed, made endian-clean. [ Note that this effected code is permanently commented out with and ifdef, so this error couldn't actually cause problems for anyone. -DaveM ] Signed-off-by: Al Viro Signed-off-by: David S. Miller commit 593f16aa627d61da447c76ee5a159450174627f6 tree bad929ddf4eae76009c86e96e06cf31d1cd36a18 parent 374bcf32c86e1b56eab832bbb6b21e636707eab6 author Andrea Bittau Tue, 19 Sep 2006 13:15:33 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:42 -0700 [DCCP] CCID2: Add helper functions for changing important CCID2 state Introduce methods which manipulate interesting congestion control state such as pipe and rtt estimate. This is useful for people wishing to monitor the variables of CCID and instrument the code [perhaps using Kprobes]. Personally, I am a fan of encapsulation---that justifies this change =D. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 374bcf32c86e1b56eab832bbb6b21e636707eab6 tree c813985a0736740c683d841010b9317db0a2b1ee parent 07978aabd52ce67f59971872c80f76d6e3ca18ae author Andrea Bittau Tue, 19 Sep 2006 13:14:43 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:41 -0700 [DCCP] CCID2: Halve cwnd once upon multiple losses in a single RTT When multiple losses occur in one RTT, the window should be halved only once [a single "congestion event"]. This is now implemented, although not perfectly. Slightly changed the interface for changing the cwnd: pass hctx instead of dp. This is required in order to allow for change_cwnd to be called from _init(). Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 07978aabd52ce67f59971872c80f76d6e3ca18ae tree 30b878674d4cf147cc6a0e91ff953298bc07b8e2 parent 8d424f6ca2d02026dadff409770639d720375afb author Andrea Bittau Tue, 19 Sep 2006 13:13:37 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:40 -0700 [DCCP] CCID2: Allocate seq records on demand Allocate more sequence state on demand. Each time a packet is sent out by CCID2, a record of it needs to be kept. This list of records grows proportionally to cwnd. Previously, the length of this list was hardcored and therefore the cwnd could only grow to this value (of 128). Now, records are allocated on demand as necessary---cwnd may grow as it wishes. The exceptional case of when memory is not available is not handled gracefully. Perhaps, cwnd should be capped at that point. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 8d424f6ca2d02026dadff409770639d720375afb tree 5132c78f1e1aec21b9d264e416c490c4c7a119df parent 446dec30c7f305ed1bb0092b0a8d9367d842a33f author Andrea Bittau Tue, 19 Sep 2006 13:12:44 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:39 -0700 [DCCP] CCID2: Add Kconfig option for CCID2 debug Allow the user to choose whether or not to enable CCID2 debugging via Kconfig. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 446dec30c7f305ed1bb0092b0a8d9367d842a33f tree 91c7b8e94e973279974f55732b4b37426a3da2df parent 69263bcfb5016bc3bdd099607a4232cba06f8491 author Andrea Bittau Tue, 19 Sep 2006 13:10:11 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:39 -0700 [DCCP] CCID2: Tell DCCP to quickly check whether cwnd is available If not enough cwnd is available, tell the sender to check again as soon as possible. This will increase CPU utilization (polling frequently for cwnd) but will improve network performance. That is, the sender will need to wait less before detecting the increase of cwnd. A better architecture would be for the CCID to call-back (or dequeue) from DCCP when it is able to transmit traffic -- not the other way around as it currently occurs. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 69263bcfb5016bc3bdd099607a4232cba06f8491 tree 0d147c53de267fec3055bd5cb11a24ce4c936f08 parent d458c25ce24ce00ea547e9976e293e7835416253 author Adrian Bunk Fri, 22 Sep 2006 14:28:11 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:13 -0700 [ATM]: proper prototypes in net/atm/mpc.h (and reduce ifdef clutter) Signed-off-by: Adrian Bunk Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit d458c25ce24ce00ea547e9976e293e7835416253 tree b15e036537270aa0f70c390556aaa483702fd326 parent 29651cda97b0a9e4ac0fbeb5ea731a9909f0f128 author Andrea Bittau Tue, 19 Sep 2006 13:07:20 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:11 -0700 [DCCP] CCID2: Initialize ssthresh to infinity Initialize the slow-start threshold to infinity. This way, upon connection initiation, slow-start will be exited only upon a packet loss. This patch will allow connections to quickly gain speed. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 29651cda97b0a9e4ac0fbeb5ea731a9909f0f128 tree 3b6002e4fa3bdf7d233b8d46654effe9f816d505 parent 4a0a50fb43912b4a593d2416c507a198fe607a6d author Andrea Bittau Tue, 19 Sep 2006 13:06:46 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:10 -0700 [DCCP] CCID2: Fix jiffie wrap issues Jiffies are now handled correctly (I hope) in CCID2. If they wrap, no problem. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 4a0a50fb43912b4a593d2416c507a198fe607a6d tree 24b09ba4c83942c2ccec0261affdcbc68a2f335c parent 8e27e4650cb7e73aa4dd97d860539e7605ac7e39 author Andrea Bittau Tue, 19 Sep 2006 13:06:16 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:09 -0700 [DCCP] ackvec: Remove unused variables Get rid of unused variables in ackvector state. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 8e27e4650cb7e73aa4dd97d860539e7605ac7e39 tree 467ff3a8ecbb0fba014f917b42cc14f1f3665e32 parent 23d06e3b986677ec57007a24891fa9deb09ac973 author Andrea Bittau Tue, 19 Sep 2006 13:05:35 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:08 -0700 [DCCP] ackvec: Fix how DCCP_ACKVEC_STATE_NOT_RECEIVED is used Fix the way state is masked out. DCCP_ACKVEC_STATE_NOT_RECEIVED is defined as appears in the packet, therefore bit shifting is not required. This fix allows CCID2 to correctly detect losses. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 23d06e3b986677ec57007a24891fa9deb09ac973 tree f77c083196ebd447fdf5905a984d2235695c62e3 parent a1e59abf824969554b90facd44a4ab16e265afa4 author Andrea Bittau Tue, 19 Sep 2006 13:04:54 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:07 -0700 [DCCP] ACKVEC: fix ackvector length calculation Fix ackvector length calculation upon receiving an "ack-of-ack". This patch avoids the ackvector from growing too large which causes it to not be inserted into packets. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a1e59abf824969554b90facd44a4ab16e265afa4 tree b981536bbf7dde2c55e9a5223a5e31bea2c356a2 parent 1ef9696c909060ccdae3ade245ca88692b49285b author Patrick McHardy Tue, 19 Sep 2006 12:57:34 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:06 -0700 [XFRM]: Fix wildcard as tunnel source Hashing SAs by source address breaks templates with wildcards as tunnel source since the source address used for hashing/lookup is still 0/0. Move source address lookup to xfrm_tmpl_resolve_one() so we can use the real address in the lookup. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1ef9696c909060ccdae3ade245ca88692b49285b tree 3a2df5bbd6b448a4f873125ab5dd7c7a0cc7ae05 parent 4eb327b517cf85f6cb7dcd5691e7b748cbe8c343 author Alexey Kuznetsov Tue, 19 Sep 2006 12:52:50 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:05 -0700 [TCP]: Send ACKs each 2nd received segment. It does not affect either mss-sized connections (obviously) or connections controlled by Nagle (because there is only one small segment in flight). The idea is to record the fact that a small segment arrives on a connection, where one small segment has already been received and still not-ACKed. In this case ACK is forced after tcp_recvmsg() drains receive buffer. In other words, it is a "soft" each-2nd-segment ACK, which is enough to preserve ACK clock even when ABC is enabled. Signed-off-by: Alexey Kuznetsov Signed-off-by: David S. Miller commit 4eb327b517cf85f6cb7dcd5691e7b748cbe8c343 tree 51bd92e6b5582a10f21de0d909fb062d6ecf8cce parent 161643660129dd7d98f0b12418c0a2710ffa7db6 author Venkat Yekkirala Tue, 19 Sep 2006 10:24:19 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:04 -0700 [SELINUX]: Fix bug in security_sid_mls_copy The following fixes a bug where random mem is being tampered with in the non-mls case; encountered by Jashua Brindle on a gentoo box. Signed-off-by: Venkat Yekkirala Acked-by: Stephen Smalley Signed-off-by: James Morris commit 161643660129dd7d98f0b12418c0a2710ffa7db6 tree e14d0bb1429cd2263a1026e204f2b6fc786249bb parent 7198f8cec12ccec6d6f2e18c08ecc8c66c8aaf93 author Adrian Bunk Mon, 18 Sep 2006 00:40:38 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:03 -0700 [SCTP]: Cleanups This patch contains the following cleanups: - make the following needlessly global function static: - socket.c: sctp_apply_peer_addr_params() - add proper prototypes for the several global functions in include/net/sctp/sctp.h Note that this fixes wrong prototypes for the following functions: - sctp_snmp_proc_exit() - sctp_eps_proc_exit() - sctp_assocs_proc_exit() The latter was spotted by the GNU C compiler and reported by David Woodhouse. Signed-off-by: Adrian Bunk Acked-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 7198f8cec12ccec6d6f2e18c08ecc8c66c8aaf93 tree f75e2cd8b76ce7a73c0160245da11cd89e30f7a1 parent 680a27a23af45307095ae432dd0bc859e1fbe219 author Thomas Graf Mon, 18 Sep 2006 00:13:46 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:02 -0700 [IPV6] address: Support NLM_F_EXCL when adding addresses iproute2 doesn't provide the NLM_F_CREATE flag when adding addresses, it is assumed to be implied. The existing code issues a check on said flag when the modify operation fails (likely due to ENOENT) before continueing to create it, this leads to a hard to predict result, therefore the NLM_F_CREATE check is removed. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 680a27a23af45307095ae432dd0bc859e1fbe219 tree 2f879b84afbbe1a6c8ca296e202367d04528d8e3 parent 0ab6803bc90a8ee5c860ef09334b30007d1746be author Thomas Graf Mon, 18 Sep 2006 00:13:07 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:01 -0700 [IPV6] address: Allow address changes while device is administrative down Same behaviour as IPv4, using IFF_UP is a no-no anyway. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 0ab6803bc90a8ee5c860ef09334b30007d1746be tree 934a0d108a9137337defadc2a396a199fda32610 parent 101bb229691c438bce4d7f13006494dd4de6910a author Thomas Graf Mon, 18 Sep 2006 00:12:35 -0700 committer David S. Miller Fri, 22 Sep 2006 15:19:00 -0700 [IPV6] address: Convert address dumping to new netlink api Replaces INET6_IFADDR_RTA_SPACE with a new function calculating the total required message size for all address messages. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 101bb229691c438bce4d7f13006494dd4de6910a tree 9c8ee441db74606e8af629f8d37cf8d0e8bdde1a parent 85486af00b620ebe26fe0fa72172c115667a2fba author Thomas Graf Mon, 18 Sep 2006 00:11:52 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:59 -0700 [IPV6] address: Add put_ifaddrmsg() and rt_scope() Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 85486af00b620ebe26fe0fa72172c115667a2fba tree 8ef0e8c06733a45d4e73f0bb28afe3baca1bbc93 parent 1b29fc2c8bf42d8fc5310f3770d7fd7ddf4386c0 author Thomas Graf Mon, 18 Sep 2006 00:11:24 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:58 -0700 [IPV6] address: Add put_cacheinfo() to dump struct cacheinfo Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 1b29fc2c8bf42d8fc5310f3770d7fd7ddf4386c0 tree c04436343e3222eac4d5aefc9601a36b5779de58 parent b933f7166ba376967f88a598ff04256f6d1b0b21 author Thomas Graf Mon, 18 Sep 2006 00:10:50 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:57 -0700 [IPV6] address: Convert address lookup to new netlink api Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit b933f7166ba376967f88a598ff04256f6d1b0b21 tree 8054f857bf5e8860a2d9da7021a11e7cb5ffd097 parent 461d8837faac141f4676bf451b3339d0e48656d1 author Thomas Graf Mon, 18 Sep 2006 00:10:19 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:56 -0700 [IPV6] address: Convert address deletion to new netlink api Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 461d8837faac141f4676bf451b3339d0e48656d1 tree 6bd4a0d5aa2859b5e4c9c97971d992f71b94566e parent 94aec08ea426903a3fb3cafd4d8b900cd50df702 author Thomas Graf Mon, 18 Sep 2006 00:09:49 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:55 -0700 [IPV6] address: Convert address addition to new netlink api Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 94aec08ea426903a3fb3cafd4d8b900cd50df702 tree d1c9bdea378dee85c06ef98151b3d8c383b55cc8 parent 4cbf1cae9f08c76ed92700090a69a5b1f1f6a982 author Brian Haley Mon, 18 Sep 2006 00:05:22 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:54 -0700 [NETFILTER]: Change tunables to __read_mostly Change some netfilter tunables to __read_mostly. Also fixed some incorrect file reference comments while I was in there. (this will be my last __read_mostly patch unless someone points out something else that needs it) Signed-off-by: Brian Haley Acked-by: Patrick McHardy Signed-off-by: David S. Miller commit 4cbf1cae9f08c76ed92700090a69a5b1f1f6a982 tree 7cda551330ef83303a459a51cec3bca5e4bdeb0f parent 9c1ea148ad8bb06538b43908891afedebeaf361b author Brian Haley Mon, 18 Sep 2006 00:04:22 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:53 -0700 [SCTP]: Change globals to __read_mostly Change sctp globals to __read_mostly. Signed-off-by: Brian Haley Signed-off-by: David S. Miller commit 9c1ea148ad8bb06538b43908891afedebeaf361b tree 88afcb61bc3dbdaabca6126901df45a2bf7ebe19 parent eb328111efde7bca782f340fe805756039ec6a0c author Brian Haley Mon, 18 Sep 2006 00:03:41 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:52 -0700 [BRIDGE]: Change sysctl tunables to __read_mostly Change some bridge sysctl tunables to __read_mostly. Signed-off-by: Brian Haley Signed-off-by: David S. Miller commit eb328111efde7bca782f340fe805756039ec6a0c tree 77c38b0a7ee67703c95caf16c6691576e2f77d03 parent 78e5b8916e7db119850f57ce8548fbb9767078fc author Thomas Graf Mon, 18 Sep 2006 00:01:59 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:51 -0700 [GENL]: Provide more information to userspace about registered genl families Additionaly exports the following information when providing the list of registered generic netlink families: - protocol version - header size - maximum number of attributes - list of available operations including - id - flags - avaiability of policy and doit/dumpit function libnl HEAD provides a utility to read this new information: 0x0010 nlctrl version 1 hdrsize 0 maxattr 6 op GETFAMILY (0x03) [POLICY,DOIT,DUMPIT] 0x0011 NLBL_MGMT version 1 hdrsize 0 maxattr 0 op unknown (0x02) [DOIT] op unknown (0x03) [DOIT] .... Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 78e5b8916e7db119850f57ce8548fbb9767078fc tree 1aa44a67101b354279d4edc98afc6c4ae1389a88 parent d1d9facfd1b326e0df587c96f0ee55de2ae9f946 author Patrick McHardy Wed, 13 Sep 2006 20:35:36 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:50 -0700 [RTNETLINK]: Fix netdevice name corruption When changing a device by ifindex without including a IFLA_IFNAME attribute, the ifname variable contains random garbage and is used to change the device name. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d1d9facfd1b326e0df587c96f0ee55de2ae9f946 tree a451927f0a8269ce7a34ca0cb833c0f5d16f2576 parent eb878e84575fbce21d2edb079eada78bfa27023d author James Morris Fri, 01 Sep 2006 00:32:12 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:49 -0700 [XFRM]: remove xerr_idxp from __xfrm_policy_check() It seems that during the MIPv6 respin, some code which was originally conditionally compiled around CONFIG_XFRM_ADVANCED was accidently left in after the config option was removed. This patch removes an extraneous pointer (xerr_idxp) which is no longer needed. Signed-off-by: James Morris Acked-by: Masahide NAKAMURA Signed-off-by: David S. Miller commit eb878e84575fbce21d2edb079eada78bfa27023d tree f47eb18d4539015596de96ccb9ac3fd20584cbe5 parent fda9ef5d679b07c9d9097aaf6ef7f069d794a8f9 author Jamal Hadi Salim Thu, 31 Aug 2006 17:42:59 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:48 -0700 [IPSEC]: output mode to take an xfrm state as input param Expose IPSEC modes output path to take an xfrm state as input param. This makes it consistent with the input mode processing (which already takes the xfrm state as a param). Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit fda9ef5d679b07c9d9097aaf6ef7f069d794a8f9 tree 6a265dc2038bc5568c5a499e6c8d4733650ed3f7 parent dc435e6dac1439340eaeceef84022c4e4749796d author Dmitry Mishin Thu, 31 Aug 2006 15:28:39 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:47 -0700 [NET]: Fix sk->sk_filter field access Function sk_filter() is called from tcp_v{4,6}_rcv() functions with arg needlock = 0, while socket is not locked at that moment. In order to avoid this and similar issues in the future, use rcu for sk->sk_filter field read protection. Signed-off-by: Dmitry Mishin Signed-off-by: Alexey Kuznetsov Signed-off-by: Kirill Korotaev commit dc435e6dac1439340eaeceef84022c4e4749796d tree 87da22f876202e108d7e908281bc1b21038836bb parent a9917c06652165fe4eeb9ab7a5d1e0674e90e508 author Masahide NAKAMURA Thu, 31 Aug 2006 15:18:49 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:46 -0700 [IPV6] MIP6: Fix to update IP6CB when cloned skbuff is received at HAO. Signed-off-by: Masahide NAKAMURA Signed-off-by: David S. Miller commit a9917c06652165fe4eeb9ab7a5d1e0674e90e508 tree d73dacb6b29848b143bd760fcacec5831f5a8ece parent ff9b5e0f08cb650d113eef0c654f931c0a7ae730 author Masahide NAKAMURA Thu, 31 Aug 2006 15:14:32 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:45 -0700 [XFRM] STATE: Fix flusing with hash mask. This is a minor fix about transformation state flushing for net-2.6.19. Please apply it. Signed-off-by: David S. Miller commit ff9b5e0f08cb650d113eef0c654f931c0a7ae730 tree 65ac7b9220184e96c89626a39df3d45715e7171c parent 3015d5d4e5b15eddea272a697e83391100581932 author Herbert Xu Thu, 31 Aug 2006 15:11:02 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:44 -0700 [TCP]: Fix rcv mss estimate for LRO By passing a Linux-generated TSO packet straight back into Linux, Xen becomes our first LRO user :) Unfortunately, there is at least one spot in our stack that needs to be changed to cope with this. The receive MSS estimate is computed from the raw packet size. This is broken if the packet is GSO/LRO. Fortunately the real MSS can be found in gso_size so we simply need to use that if it is non-zero. Real LRO NICs should of course set the gso_size field in future. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 3015d5d4e5b15eddea272a697e83391100581932 tree fee65f53db7fc175f5a286dd036eae602a14cf8d parent 18adaf067cf013fc2690d3830eba99ff800795b4 author Thomas Graf Thu, 31 Aug 2006 15:04:30 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:43 -0700 [RTNETLINK]: Fix typo causing wrong skb to be freed A typo introduced by myself which leads to freeing the skb containing the netlink message when it should free the newly allocated skb for the reply. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 18adaf067cf013fc2690d3830eba99ff800795b4 tree 7762a71eca108238e8f49cf9a7dc3eb7589331a6 parent 7a42c2175703f54a3640f25dc078c8190a4f904e author Brian Haley Thu, 31 Aug 2006 15:03:36 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:42 -0700 [AF_UNIX]: Change max_dgram_qlen sysctl to __read_mostly Signed-off-by: Brian Haley Signed-off-by: David S. Miller commit 7a42c2175703f54a3640f25dc078c8190a4f904e tree ac04b16a3c0e357f31db886ac73d2ccc2a3d3642 parent 28a7b327b8cc8ea35662d360d3d11d60195debc9 author Brian Haley Thu, 31 Aug 2006 15:03:02 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:41 -0700 [NET]: Change somaxconn sysctl to __read_mostly Signed-off-by: Brian Haley Signed-off-by: David S. Miller commit 28a7b327b8cc8ea35662d360d3d11d60195debc9 tree b0dc6358ea5f5ea45cebc14ab1f66895e258e93f parent 7a0e1d602288370801c353221c6a938eab925053 author Adrian Bunk Wed, 30 Aug 2006 15:03:07 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:40 -0700 [PKT_SCHED] act_simple.c: make struct simp_hash_info static This patch makes the needlessly global struct simp_hash_info static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 7a0e1d602288370801c353221c6a938eab925053 tree f11ef396a27549513a91fcaf7d06dafb2b84509a parent e448e931309e703f51d71a557973c620ff12fbda author Paul Moore Tue, 29 Aug 2006 17:56:04 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:39 -0700 [NetLabel]: add some missing #includes to various header files Add some missing include files to the NetLabel related header files. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit e448e931309e703f51d71a557973c620ff12fbda tree 8a738f5f45367965c29210402d28464fec3c04be parent 7b3bbb926f4b3dd3a007dcf8dfa00203f52cb58d author Paul Moore Tue, 29 Aug 2006 17:55:38 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:38 -0700 [NetLabel]: uninline selinux_netlbl_inode_permission() Uninline the selinux_netlbl_inode_permission() at the request of Andrew Morton. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit 7b3bbb926f4b3dd3a007dcf8dfa00203f52cb58d tree 1ee2ab452f5c94ce4779171d6ebaa07f7d1fcd21 parent c1b14c0a46232246f61d3157bac1201e1e102227 author Paul Moore Tue, 29 Aug 2006 17:55:11 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:37 -0700 [NetLabel]: Cleanup ebitmap_import() Rewrite ebitmap_import() so it is a bit cleaner and easier to read. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit c1b14c0a46232246f61d3157bac1201e1e102227 tree 51c8097371c251c7dc17a6e637009523ce558bca parent 1b7f775209bbee6b993587bae69acb9fc12ceb17 author Paul Moore Tue, 29 Aug 2006 17:54:41 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:36 -0700 [NetLabel]: Comment corrections. Fix some incorrect comments. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit 1b7f775209bbee6b993587bae69acb9fc12ceb17 tree 9760b5b1fcf2f874e32e900ea59e7b185370d360 parent 99f59ed073d3c1b890690064ab285a201dea2e35 author Paul Moore Tue, 29 Aug 2006 17:54:17 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:35 -0700 [NetLabel]: remove unused function prototypes Removed some older function prototypes for functions that no longer exist. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit 99f59ed073d3c1b890690064ab285a201dea2e35 tree 0f6ae012cf4f988d3ae0c665fd3b12ea05409ec8 parent fc747e82b40ea50a62eb2aef55bedd4465607cb0 author Paul Moore Tue, 29 Aug 2006 17:53:48 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:34 -0700 [NetLabel]: Correctly initialize the NetLabel fields. Fix a problem where the NetLabel specific fields of the sk_security_struct structure were not being initialized early enough in some cases. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit fc747e82b40ea50a62eb2aef55bedd4465607cb0 tree 31b98872a3dfe8f71740c7047ea5bd09c966e054 parent 8394e9b2faf539f82470b36c86f0485cab5278bd author Ian McDonald Tue, 29 Aug 2006 17:50:19 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:33 -0700 [DCCP]: Tidyup CCID3 list handling As Arnaldo Carvalho de Melo points out I should be using list_entry in case the structure changes in future. Current code functions but is reliant on position and requires type cast. Noticed when doing this that I have one more variable than I needed so removing that also. Signed off by: Ian McDonald Signed-off-by: David S. Miller commit 8394e9b2faf539f82470b36c86f0485cab5278bd tree a386a99ed0563c94d802a8e21ae8a675787fdf74 parent 9bcfcaf5e9cc887eb39236e43bdbe4b4b2572229 author Stephen Hemminger Tue, 29 Aug 2006 17:49:31 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:32 -0700 [NETFILTER] bridge: debug message fixes If CONFIG_NETFILTER_DEBUG is enabled, it shouldn't change the actions of the filtering. The message about skb->dst being NULL is commonly triggered by dhclient, so it is useless. Make sure all messages end in newline. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 9bcfcaf5e9cc887eb39236e43bdbe4b4b2572229 tree 34d6369208bdd707a5e45bdf1972c94e3206b6e3 parent 07317621d004e8e6967f2dac8562825267e56135 author Stephen Hemminger Tue, 29 Aug 2006 17:48:57 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:31 -0700 [NETFILTER] bridge: simplify nf_bridge_pad Do some simple optimization on the nf_bridge_pad() function and don't use magic constants. Eliminate a double call and the #ifdef'd code for CONFIG_BRIDGE_NETFILTER. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 07317621d004e8e6967f2dac8562825267e56135 tree 232ab2aac1fa12c0fb481dfc3f0506ae275bd36e parent cd360007a0eb8cbf17c006cca42aa884d33f96be author Stephen Hemminger Tue, 29 Aug 2006 17:48:17 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:30 -0700 [NETFILTER] bridge: code rearrangement for clarity Cleanup and rearrangement for better style and clarity: Split the function nf_bridge_maybe_copy_header into two pieces Move copy portion out of line. Use Ethernet header size macros. Use header file to handle CONFIG_NETFILTER_BRIDGE differences Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit cd360007a0eb8cbf17c006cca42aa884d33f96be tree eafbf11767e33cf247cc9cc7bc6474fe3c483a29 parent def42ff4dd6f54ebcf78192579a8ff1f81d8e2e8 author Alexey Dobriyan Mon, 28 Aug 2006 23:58:32 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:29 -0700 [IPV4]: Make struct sockaddr_in::sin_port __be16 Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit def42ff4dd6f54ebcf78192579a8ff1f81d8e2e8 tree 3ad722dea8f5a157ee9fb01725b7b58aae28d5c1 parent 0719bdf1b5e7eb0d9c3c73ebbd9c9d5d382bb9e1 author Alexey Dobriyan Mon, 28 Aug 2006 23:57:56 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:28 -0700 [IPV4]: Make struct in_addr::s_addr __be32 There will be relatively small increase in sparse endian warnings, but this (and sin_port) patch is a first step to make networking code endian clean. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 0719bdf1b5e7eb0d9c3c73ebbd9c9d5d382bb9e1 tree 35ae31c424391b1ea48bf00f2528f8f2f68633fe parent 33cc48966827165e49de1cb8ff4fb57c127d4be0 author Benoit Boissinot Mon, 28 Aug 2006 17:50:37 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:27 -0700 [NETFILTER]: xt_CONNMARK.c build fix net/netfilter/xt_CONNMARK.c: In function 'target': net/netfilter/xt_CONNMARK.c:59: warning: implicit declaration of function 'nf_conntrack_event_cache' The warning is due to the following .config: CONFIG_IP_NF_CONNTRACK=m CONFIG_IP_NF_CONNTRACK_MARK=y # CONFIG_IP_NF_CONNTRACK_EVENTS is not set CONFIG_IP_NF_CONNTRACK_NETLINK=m This change was introduced by: http://www.kernel.org/git/?p=linux/kernel/git/davem/net-2.6.19.git;a=commit;h=76e4b41009b8a2e9dd246135cf43c7fe39553aa5 Proposed solution (based on the define in include/net/netfilter/nf_conntrack_compat.h: Signed-off-by: Benoit Boissinot Acked-by: Pablo Neira Ayuso Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 33cc48966827165e49de1cb8ff4fb57c127d4be0 tree 442ad224702bb0a085a71efabc1ff18fdff91d12 parent 5176f91ea83f1a59eba4dba88634a4729d51d1ac author YOSHIFUJI Hideaki Mon, 28 Aug 2006 13:19:30 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:26 -0700 [IPV6] ROUTE: Fix dst reference counting in ip6_pol_route_lookup(). In ip6_pol_route_lookup(), when we finish backtracking at the top-level root entry, we need to hold it. Bug noticed by Mitsuru Chinen . Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 5176f91ea83f1a59eba4dba88634a4729d51d1ac tree 80b35d2cd7ab316f0ee96ab742fee5073b949130 parent a5531a5d852008be40811496029012f4ad3093d1 author Thomas Graf Sat, 26 Aug 2006 20:13:18 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:25 -0700 [NETLINK]: Make use of NLA_STRING/NLA_NUL_STRING attribute validation Converts existing NLA_STRING attributes to use the new validation features, saving a couple of temporary buffers. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit a5531a5d852008be40811496029012f4ad3093d1 tree f59a1b240753ef4f0a672f256fc01d8a965793d1 parent e3b4eadbea77ecb3c3a74d1bc81b392f454c7f2e author Thomas Graf Sat, 26 Aug 2006 20:11:47 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:24 -0700 [NETLINK]: Improve string attribute validation Introduces a new attribute type NLA_NUL_STRING to support NUL terminated strings. Attributes of this kind require to carry a terminating NUL within the maximum specified in the policy. The `old' NLA_STRING which is not required to be NUL terminated is extended to provide means to specify a maximum length of the string. Aims at easing the pain with using nla_strlcpy() on temporary buffers. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e3b4eadbea77ecb3c3a74d1bc81b392f454c7f2e tree a94577b99959414edd2b76d5005b5d361badc5a6 parent bed53ea7fef37820b7c92ad74feff1b817c6aae3 author David S. Miller Sat, 26 Aug 2006 20:10:15 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:23 -0700 [UDP]: saddr_cmp function should take const socket pointers This also kills a warning while building ipv6: net/ipv6/udp.c: In function ‘udp_v6_get_port’: net/ipv6/udp.c:66: warning: passing argument 3 of ‘udp_get_port’ from incompatible pointer type Signed-off-by: David S. Miller commit bed53ea7fef37820b7c92ad74feff1b817c6aae3 tree 6cacd897edc7a0308d89c2d239d75df5f8624277 parent 25030a7f9eeab2dcefff036469e0e2b4f956198f author David S. Miller Sat, 26 Aug 2006 20:06:49 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:22 -0700 [UDP]: Mark udp_port_rover static. It is not referenced outside of net/ipv4/udp.c any longer. Signed-off-by: David S. Miller commit 25030a7f9eeab2dcefff036469e0e2b4f956198f tree 923030c42f1c2bf4aa9cd851df13b95bd0fe542b parent 6a28ec8cd0c6993a4ac0d52f4347f7ed077b5cac author Gerrit Renker Sat, 26 Aug 2006 20:06:05 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:21 -0700 [UDP]: Unify UDPv4 and UDPv6 ->get_port() This patch creates one common function which is called by udp_v4_get_port() and udp_v6_get_port(). As a result, * duplicated code is removed * udp_port_rover and local port lookup can now be removed from udp.h * further savings follow since the same function will be used by UDP-Litev4 and UDP-Litev6 In contrast to the patch sent in response to Yoshifujis comments (fixed by this variant), the code below also removes the EXPORT_SYMBOL(udp_port_rover), since udp_port_rover can now remain local to net/ipv4/udp.c. Signed-off-by: Gerrit Renker Signed-off-by: David S. Miller commit 6a28ec8cd0c6993a4ac0d52f4347f7ed077b5cac tree ad18c4377c2ce5fb9f0cb859d297498dcda20f10 parent e5d679f33900c71d1a76ba07c5b04055abd34480 author David S. Miller Sat, 26 Aug 2006 19:48:49 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:20 -0700 [NETFILTER]: Fix nf_conntrack_ftp.c build. Noticed by Adrian Bunk. Signed-off-by: David S. Miller commit e5d679f33900c71d1a76ba07c5b04055abd34480 tree fb581f7156870056dbb91feaab9d3dd22fdcf61e parent ff5dfe736dd9f6c74b206aa77c0465dfd503bdb9 author Alexey Dobriyan Sat, 26 Aug 2006 19:25:52 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:19 -0700 [NET]: Use SLAB_PANIC Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit ff5dfe736dd9f6c74b206aa77c0465dfd503bdb9 tree 32366a88470dc809f9aa4dd5dbcabd1c8d30b6e5 parent 97e5848dd39e7e76bd6077735ebb5473763ab9c5 author Johannes Berg Sat, 26 Aug 2006 19:17:53 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:18 -0700 [NETLINK]: remove third bogus argument from NLA_PUT_FLAG This patch removes the 'value' argument from NLA_PUT_FLAG which is unused anyway. The documentation comment was already correct so it doesn't need an update :) Signed-off-by: Johannes Berg Signed-off-by: David S. Miller commit 97e5848dd39e7e76bd6077735ebb5473763ab9c5 tree f1292b7bb558df8f27016fbac31a3b017bdba438 parent 2a0109a707d2b0ae48f124d3be0fdf1715c0107a author Ian McDonald Sat, 26 Aug 2006 19:16:45 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:17 -0700 [DCCP]: Introduce tx buffering This adds transmit buffering to DCCP. I have tested with CCID2/3 and with loss and rate limiting. Signed off by: Ian McDonald Signed-off-by: David S. Miller commit 2a0109a707d2b0ae48f124d3be0fdf1715c0107a tree 52d6335e8e50c0573fd455730ae2b0d99d36bf82 parent ef047f5e1085d6393748d1ee27d6327905f098dc author Ian McDonald Sat, 26 Aug 2006 19:15:35 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:16 -0700 [DCCP]: Shift sysctls into feat.h This shifts further sysctls into feat.h. No change in functionality - shifting code only. Signed off by: Ian McDonald Signed-off-by: David S. Miller commit ef047f5e1085d6393748d1ee27d6327905f098dc tree b1ac74cd97e5e39afedbecbffd8feaf59458d3d8 parent 366e4adc0f9ef33f56c62f980a7d83775e64abd0 author YOSHIFUJI Hideaki Fri, 01 Sep 2006 00:29:06 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:15 -0700 [NET]: Use BUILD_BUG_ON() for checking size of skb->cb. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 366e4adc0f9ef33f56c62f980a7d83775e64abd0 tree 66a33db0eb110e75c55e906de27b6693b42e7efa parent 74975d40b16fd4bad24a2e2630dc7957d8cba013 author Patrick McHardy Sat, 26 Aug 2006 16:50:20 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:14 -0700 [IPV6]: Fix routing by fwmark Fix mark comparison, also dump the mask to userspace when the mask is zero, but the mark is not (in which case the mark is dumped, so the mask is needed to make sense of it). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 74975d40b16fd4bad24a2e2630dc7957d8cba013 tree 4fc905f88af941dd204d4918b2d61829bb3606f6 parent b4e9b520ca5d07a37ea59648e7f50f478e7487a3 author Alexey Dobriyan Fri, 25 Aug 2006 17:10:33 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:13 -0700 [TCP] Congestion control (modulo lp, bic): use BUILD_BUG_ON Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit b4e9b520ca5d07a37ea59648e7f50f478e7487a3 tree c007ca2e57ba73e6bc6196ad1deaaf58c7d7aae4 parent 88e91f290307d22ae88302e3a24f0c36905e8a6c author Patrick McHardy Fri, 25 Aug 2006 16:11:42 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:12 -0700 [NET_SCHED]: Add mask support to fwmark classifier Support masking the nfmark value before the search. The mask value is global for all filters contained in one instance. It can only be set when a new instance is created, all filters must specify the same mask. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 88e91f290307d22ae88302e3a24f0c36905e8a6c tree 3824f092df11390d64d2a3be92fc2d4b09b94eda parent bbfb39cbf63829d1db607aa90cbdca557a3a131d author Patrick McHardy Fri, 25 Aug 2006 16:11:08 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:11 -0700 [DECNET]: Add support for fwmark masks in routing rules Add support for fwmark masks. For compatibility a mask of 0xFFFFFFFF is used when a mark value != 0 is sent without a mask. Signed-off-by: Patrick McHardy Acked-by: Steven Whitehouse Signed-off-by: David S. Miller commit bbfb39cbf63829d1db607aa90cbdca557a3a131d tree 9312c446794adf6781c6b92de3b4ea57c8468569 parent 267935b197d2a6e6924f9de2841f0470bfe63acd author Patrick McHardy Fri, 25 Aug 2006 16:10:14 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:10 -0700 [IPV4]: Add support for fwmark masks in routing rules Add a FRA_FWMASK attributes for fwmark masks. For compatibility a mask of 0xFFFFFFFF is used when a mark value != 0 is sent without a mask. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 267935b197d2a6e6924f9de2841f0470bfe63acd tree de297ef5f0e597735e498edcfd7f7301404748a1 parent cd9d742622fbc2190221e0b2aca80596bfd17733 author David S. Miller Fri, 25 Aug 2006 16:07:48 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:09 -0700 [IPV6]: Fix build with fwmark disabled. Based upon a patch by Brian Haley. Signed-off-by: David S. Miller commit cd9d742622fbc2190221e0b2aca80596bfd17733 tree 4734f16bf89a5e7c24427058e494a5815ec6fca6 parent 2613aad5ab28579687519918cdc353af0eed5a3f author YOSHIFUJI Hideaki Fri, 25 Aug 2006 16:05:43 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:08 -0700 [IPV6] ROUTE: Add support for fwmask in routing rules. Add support for fwmark masks. A mask of 0xFFFFFFFF is used when a mark value != 0 is sent without a mask. Based on patch for net/ipv4/fib_rules.c by Patrick McHardy . Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 2613aad5ab28579687519918cdc353af0eed5a3f tree 76e8c22b32b9229367537dcc277fcebd92f30767 parent 6c5eb6a50741b882fd99fbb8178942ca2f74b724 author YOSHIFUJI Hideaki Fri, 25 Aug 2006 16:05:00 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:07 -0700 [IPV6] ROUTE: Fix size of fib6_rule_policy. It should not be RTA_MAX+1 but FRA_MAX+1. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 6c5eb6a50741b882fd99fbb8178942ca2f74b724 tree 24fa447c98e26c7ab939514b360d41a050115829 parent acba48e1a3c95082af1e12c5efaaca3506103a92 author YOSHIFUJI Hideaki Fri, 25 Aug 2006 16:04:29 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:06 -0700 [IPV6] ROUTE: Fix FWMARK support. - Add missing nla_policy entry. - type of fwmark is u32, not u8. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit acba48e1a3c95082af1e12c5efaaca3506103a92 tree a6c001ca19cfb67427aaec822952c32bb0916568 parent 65e3d72654d9a33cdccd5c19777a5515ae9dd37d author David S. Miller Fri, 25 Aug 2006 15:46:46 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:05 -0700 [XFRM]: Respect priority in policy lookups. Even if we find an exact match in the hash table, we must inspect the inexact list to look for a match with a better priority. Noticed by Masahide NAKAMURA . Signed-off-by: David S. Miller commit 65e3d72654d9a33cdccd5c19777a5515ae9dd37d tree 7909c52172b254518c26377ff743241f3838d8eb parent 298969727e7b855d53f3becfa92c055914082ec4 author Alexey Dobriyan Fri, 25 Aug 2006 00:38:03 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:04 -0700 [TCP] tcp_bic: use BUILD_BUG_ON Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 298969727e7b855d53f3becfa92c055914082ec4 tree f9aa6930cfe4d3beede0cd1f7fbbace8783bfb96 parent d4f3e9b735c72823aab597bfa4860d184658a609 author Alexey Dobriyan Fri, 25 Aug 2006 00:37:24 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:03 -0700 [TCP] tcp_lp: use BUILD_BUG_ON Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit d4f3e9b735c72823aab597bfa4860d184658a609 tree 50e953f90bfc69df5555322b3bc45bd0fce54ba7 parent 1884f78c7a8b456c654338e3eb2874a99688ea10 author David S. Miller Fri, 25 Aug 2006 00:27:09 -0700 committer David S. Miller Fri, 22 Sep 2006 15:18:02 -0700 [NET] in6_pton: Kill errant printf statement. Signed-off-by: David S. Miller commit 1884f78c7a8b456c654338e3eb2874a99688ea10 tree 1e4bb6d6a4355790e6d8a3fa36b4be7045b6dad3 parent 1aaec67f9335a17856dfacdd3e5cc6f4c18faeec author YOSHIFUJI Hideaki Mon, 19 Jun 2006 03:20:32 +0900 committer David S. Miller Fri, 22 Sep 2006 15:18:02 -0700 [NETFILTER] NF_CONNTRACK_FTP: Use in6_pton() to convert address string. Signed-off-by: YOSHIFUJI Hideaki commit 1aaec67f9335a17856dfacdd3e5cc6f4c18faeec tree 87801e3cb66fc7103dc2c0008246b055fda39deb parent 75bff8f023e02b045a8f68f36fa7da98dca124b8 author YOSHIFUJI Hideaki Sun, 25 Jun 2006 23:54:55 +0900 committer David S. Miller Fri, 22 Sep 2006 15:18:01 -0700 [NET]: Add common helper functions to convert IPv6/IPv4 address string to network address structure. These helpers can be used in netfilter, cifs etc. Signed-off-by: YOSHIFUJI Hideaki commit 75bff8f023e02b045a8f68f36fa7da98dca124b8 tree e476cdbadcb6386d1f2dcbc6d637800261984375 parent 2cc67cc731d9b693a08e781e98fec0e3a6d6ba44 author YOSHIFUJI Hideaki Mon, 21 Aug 2006 19:22:01 +0900 committer David S. Miller Fri, 22 Sep 2006 15:18:00 -0700 [IPV6] ROUTE: Routing by FWMARK. Based on patch by Jean Lorchat . Signed-off-by: YOSHIFUJI Hideaki commit 2cc67cc731d9b693a08e781e98fec0e3a6d6ba44 tree c749d424266ae7f6427495a97da7dc7b3de2446d parent e731c248ba9e8c7025ae8b4a3fa48e4236b82e52 author YOSHIFUJI Hideaki Mon, 21 Aug 2006 19:18:57 +0900 committer David S. Miller Fri, 22 Sep 2006 15:17:59 -0700 [IPV6] ROUTE: Routing by Traffic Class. Signed-off-by: YOSHIFUJI Hideaki commit e731c248ba9e8c7025ae8b4a3fa48e4236b82e52 tree 784c9e9420283f73604f81f31f445ab9b097795a parent e4bec827feda76d5e7417a2696a75424834d564f author YOSHIFUJI Hideaki Thu, 24 Aug 2006 23:18:12 +0900 committer David S. Miller Fri, 22 Sep 2006 15:17:58 -0700 [IPV6] MIP6: Several obvious clean-ups. - Remove redundant code. Pointed out by Brian Haley . - Unify code paths with/without CONFIG_IPV6_MIP. - Use NIP6_FMT for IPv6 address textual presentation. - Fold long line. Pointed out by David Miller . Signed-off-by: YOSHIFUJI Hideaki commit e4bec827feda76d5e7417a2696a75424834d564f tree bd899e0c2fbf7f6dd1d33ce0610d88fc4a8864ee parent 44e36b42a8378be1dcf7e6f8a1cb2710a8903387 author David S. Miller Fri, 22 Sep 2006 15:17:35 -0700 committer David S. Miller Fri, 22 Sep 2006 15:17:35 -0700 [IPSEC] esp: Defer output IV initialization to first use. First of all, if the xfrm_state only gets used for input packets this entropy is a complete waste. Secondly, it is often the case that a configuration loads many rules (perhaps even dynamically) and they don't all necessarily ever get used. This get_random_bytes() call was showing up in the profiles for xfrm_state inserts which is how I noticed this. Signed-off-by: David S. Miller commit ded7f1a16d50527359be02f8b04f9ba56bc923e6 tree 5ef2b43576bb1a07e34c902a52475868be4ba711 parent 2a214182d23594915d6ae517b6368ba2eae055d2 author Ishai Rabinovitz Tue, 15 Aug 2006 17:34:52 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:17:21 -0700 IB/srp: Add port/device attributes Add local_ib_device and local_ib_port attributes to srp scsi_host. These are needed when we want to connect to the same target through multiple distinct ports. Signed-off-by: Ishai Rabinovitz Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2a214182d23594915d6ae517b6368ba2eae055d2 tree 8bb02515297e0726cfb9558c19ff6c1548ab2a4b parent 1ccf6aa19aabc11587d6d7818a5729adfed0e3de author James Lentini Fri, 22 Sep 2006 15:17:20 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:17:20 -0700 IB/mthca: Include the header we really want Signed-off-by: James Lentini Signed-off-by: Roland Dreier commit 1ccf6aa19aabc11587d6d7818a5729adfed0e3de tree 754e213bc201cd338dd6bffa6877872b1e0dcc93 parent ab10867621a96230757eb4a2a19d560b85f62ce9 author Roland Dreier Fri, 22 Sep 2006 15:17:20 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:17:20 -0700 IB/uverbs: Fix lockdep warning when QP is created with 2 CQs Lockdep warns when userspace creates a QP that uses different CQs for send completions and receive completions, because both CQs are locked and their mutexes belong to the same lock class. However, we know that the mutexes are distinct and the nesting is safe (there is no possibility of AB-BA deadlock because the mutexes are locked with down_read()), so annotate the situation with SINGLE_DEPTH_NESTING to get rid of the lockdep warning. Signed-off-by: Roland Dreier commit ab10867621a96230757eb4a2a19d560b85f62ce9 tree f8dc75cf9222948663ce01b819764cd8d332d6d9 parent 9217b27b12eb5ab910d14b3376c2b6cd13d87711 author Roland Dreier Fri, 22 Sep 2006 15:17:19 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:17:19 -0700 IB/uverbs: Use idr_read_cq() where appropriate There were two functions that open-coded idr_read_cq() in terms of idr_read_uobj() rather than using the helper. Signed-off-by: Roland Dreier commit 9217b27b12eb5ab910d14b3376c2b6cd13d87711 tree 49d1f60e61013b7c60e13de0f60ec9ead81309b5 parent 9fd558f454b666aca218a990d44f9e1ffac6ed4d author Michael S. Tsirkin Thu, 03 Aug 2006 22:16:06 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:17:18 -0700 IB/ipoib: Fix flush/start xmit race (from code review) Prevent flush task from freeing the ipoib_neigh pointer, while ipoib_start_xmit() is accessing the ipoib_neigh through the pointer it has loaded from the skb's hardware address. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 9fd558f454b666aca218a990d44f9e1ffac6ed4d tree 43ab69a01d0c9932b90aa930f21c3a6319b55baa parent b27075735e371f481940a4920b329202334d2259 author Michael S. Tsirkin Fri, 22 Sep 2006 15:17:18 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:17:18 -0700 IB/mthca: Don't use privileged UAR for kernel access Make kernel use UAR2 instead of UAR1 for hardware access: this adds sanity checking from the hardware side, without any performance cost. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit b27075735e371f481940a4920b329202334d2259 tree 3480b0a635a075539e1a1af58cf08b8b6ddcfd8c parent e6e5fee1426bef07f4e6c3c76f48343c14207938 author Jack Morgenstein Tue, 19 Sep 2006 11:13:24 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:17:17 -0700 IB/mthca: Fix lid used for sending traps The SM LID used to send traps to is incorrectly set to port LID. This is a regression from 2.6.17 -- after a PortInfo MAD is received, no traps are sent to the SM LID. The traps go to the loopback interface instead, and are dropped there. The SM LID should be taken from the sm_lid of the PortInfo response. The bug was introduced by commit 12bbb2b7be7f5564952ebe0196623e97464b8ac5: IB/mthca: Add client reregister event generation Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 44e36b42a8378be1dcf7e6f8a1cb2710a8903387 tree 2c057957a4e4dc7f679ac671a9f091f3fe366b92 parent 2518c7c2b3d7f0a6b302b4efe17c911f8dd4049f author David S. Miller Thu, 24 Aug 2006 04:50:50 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:49 -0700 [XFRM]: Extract common hashing code into xfrm_hash.[ch] Signed-off-by: David S. Miller commit 2518c7c2b3d7f0a6b302b4efe17c911f8dd4049f tree 7de05ca17d76eee141d4feff3b7b27d850557ae6 parent c1969f294e624d5b642fc8e6ab9468b7c7791fa8 author David S. Miller Thu, 24 Aug 2006 04:45:07 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:48 -0700 [XFRM]: Hash policies when non-prefixed. This idea is from Alexey Kuznetsov. It is common for policies to be non-prefixed. And for that case we can optimize lookups, insert, etc. quite a bit. For each direction, we have a dynamically sized policy hash table for non-prefixed policies. We also have a hash table on policy->index. For prefixed policies, we have a list per-direction which we will consult on lookups when a non-prefix hashtable lookup fails. This still isn't as efficient as I would like it. There are four immediate problems: 1) Lots of excessive refcounting, which can be fixed just like xfrm_state was 2) We do 2 hash probes on insert, one to look for dups and one to allocate a unique policy->index. Althought I wonder how much this matters since xfrm_state inserts do up to 3 hash probes and that seems to perform fine. 3) xfrm_policy_insert() is very complex because of the priority ordering and entry replacement logic. 4) Lots of counter bumping, in addition to policy refcounts, in the form of xfrm_policy_count[]. This is merely used to let code path(s) know that some IPSEC rules exist. So this count is indexed per-direction, maybe that is overkill. Signed-off-by: David S. Miller commit c1969f294e624d5b642fc8e6ab9468b7c7791fa8 tree b2487a8cd5d2552e837ceaeb279e660267e528b3 parent a47f0ce05ae12ce9acad62896ff703175764104e author David S. Miller Thu, 24 Aug 2006 04:00:03 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:47 -0700 [XFRM]: Hash xfrm_state objects by source address too. The source address is always non-prefixed so we should use it to help give entropy to the bydst hash. Signed-off-by: David S. Miller commit a47f0ce05ae12ce9acad62896ff703175764104e tree 7d2d64d86ca869b2039ffe8ec066a5daa87b8673 parent 1c0953997567b22e32fdf85d3b4bc0f2461fd161 author David S. Miller Thu, 24 Aug 2006 03:54:22 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:47 -0700 [XFRM]: Kill excessive refcounting of xfrm_state objects. The refcounting done for timers and hash table insertions are just wasted cycles. We can eliminate all of this refcounting because: 1) The implicit refcount when the xfrm_state object is active will always be held while the object is in the hash tables. We never kfree() the xfrm_state until long after we've made sure that it has been unhashed. 2) Timers are even easier. Once we mark that x->km.state as anything other than XFRM_STATE_VALID (__xfrm_state_delete sets it to XFRM_STATE_DEAD), any timer that fires will do nothing and return without rearming the timer. Therefore we can defer the del_timer calls until when the object is about to be freed up during GC. We have to use del_timer_sync() and defer it to GC because we can't do a del_timer_sync() while holding x->lock which all callers of __xfrm_state_delete hold. This makes SA changes even more light-weight. Signed-off-by: David S. Miller commit 1c0953997567b22e32fdf85d3b4bc0f2461fd161 tree 5e4d691503d911f2134734e345ae0d7f01b97e4e parent c7f5ea3a4d1ae6b3b426e113358fdc57494bc754 author David S. Miller Thu, 24 Aug 2006 03:30:28 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:46 -0700 [XFRM]: Purge dst references to deleted SAs passively. Just let GC and other normal mechanisms take care of getting rid of DST cache references to deleted xfrm_state objects instead of walking all the policy bundles. Signed-off-by: David S. Miller commit c7f5ea3a4d1ae6b3b426e113358fdc57494bc754 tree d77be695b79131617029d8586fd729a6b94b56e5 parent 2575b65434d56559bd03854450b9b6aaf19b9c90 author David S. Miller Thu, 24 Aug 2006 03:29:04 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:45 -0700 [XFRM]: Do not flush all bundles on SA insert. Instead, simply set all potentially aliasing existing xfrm_state objects to have the current generation counter value. This will make routes get relooked up the next time an existing route mentioning these aliased xfrm_state objects gets used, via xfrm_dst_check(). Signed-off-by: David S. Miller commit 2575b65434d56559bd03854450b9b6aaf19b9c90 tree 6e7ae9460a5a61b97f3964b2cb97ff5524e2557b parent a624c108e5595b5827796c253481436929cd5344 author David S. Miller Thu, 24 Aug 2006 03:26:44 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:44 -0700 [XFRM]: Simplify xfrm_spi_hash It can use __xfrm{4,6}_addr_hash(). Signed-off-by: David S. Miller commit a624c108e5595b5827796c253481436929cd5344 tree 55b4f940a86c1c842c93fd7c98423aa86c0e48da parent 9d4a706d852411154d0c91b9ffb3bec68b94b25c author David S. Miller Thu, 24 Aug 2006 03:24:33 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:43 -0700 [XFRM]: Put more keys into destination hash function. Besides the daddr, key the hash on family and reqid too. Signed-off-by: David S. Miller commit 9d4a706d852411154d0c91b9ffb3bec68b94b25c tree 1613607168baa8b654c300895cd7d0ffb6f18581 parent f034b5d4efdfe0fb9e2a1ce1d95fa7914f24de49 author David S. Miller Thu, 24 Aug 2006 03:18:09 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:42 -0700 [XFRM]: Add generation count to xfrm_state and xfrm_dst. Each xfrm_state inserted gets a new generation counter value. When a bundle is created, the xfrm_dst objects get the current generation counter of the xfrm_state they will attach to at dst->xfrm. xfrm_bundle_ok() will return false if it sees an xfrm_dst with a generation count different from the generation count of the xfrm_state that dst points to. This provides a facility by which to passively and cheaply invalidate cached IPSEC routes during SA database changes. Signed-off-by: David S. Miller commit f034b5d4efdfe0fb9e2a1ce1d95fa7914f24de49 tree e166f1e87606f7e53a78cac543284c3484481727 parent 8f126e37c0b250310a48a609bedf92a19a5559ec author David S. Miller Thu, 24 Aug 2006 03:08:07 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:41 -0700 [XFRM]: Dynamic xfrm_state hash table sizing. The grow algorithm is simple, we grow if: 1) we see a hash chain collision at insert, and 2) we haven't hit the hash size limit (currently 1*1024*1024 slots), and 3) the number of xfrm_state objects is > the current hash mask All of this needs some tweaking. Remove __initdata from "hashdist" so we can use it safely at run time. Signed-off-by: David S. Miller commit 8f126e37c0b250310a48a609bedf92a19a5559ec tree c1de0aea5f425d74b99453e9edb4561dfd147d2c parent edcd582152090bfb0ccb4ad444c151798a73eda8 author David S. Miller Thu, 24 Aug 2006 02:45:07 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:40 -0700 [XFRM]: Convert xfrm_state hash linkage to hlists. Signed-off-by: David S. Miller commit edcd582152090bfb0ccb4ad444c151798a73eda8 tree 9d6051e71c5c22c50315d6b2c740170002469288 parent 2770834c9f44afd1bfa13914c7285470775af657 author David S. Miller Thu, 24 Aug 2006 00:42:45 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:39 -0700 [XFRM]: Pull xfrm_state_by{spi,src} hash table knowledge out of afinfo. Signed-off-by: David S. Miller commit 2770834c9f44afd1bfa13914c7285470775af657 tree 40191fdc632e572bc7878f57dc8fb385109a3aa8 parent 64d9fdda8e1bdf416b2d9203c3ad9c249ea301be author David S. Miller Thu, 24 Aug 2006 00:13:10 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:38 -0700 [XFRM]: Pull xfrm_state_bydst hash table knowledge out of afinfo. Signed-off-by: David S. Miller commit 64d9fdda8e1bdf416b2d9203c3ad9c249ea301be tree 875d2925a44cdacd0adc1f1ccfbd3f06cd4d0b69 parent 58c949d1b9551f3e4ba9dde4aeda341ecf5e42b5 author Masahide NAKAMURA Wed, 23 Aug 2006 22:54:07 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:37 -0700 [XFRM] IPV6: Support Mobile IPv6 extension headers sorting. Support Mobile IPv6 extension headers sorting for two transformation policies. Mobile IPv6 extension headers should be placed after IPsec transport mode, but before transport AH when outbound. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 58c949d1b9551f3e4ba9dde4aeda341ecf5e42b5 tree d219f78a417aeb03167b786d84f878ede237da2f parent f7b6983f0feeefcd2a594138adcffe640593d8de author Masahide NAKAMURA Wed, 23 Aug 2006 22:51:02 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:36 -0700 [XFRM] IPV6: Add sort functions to combine templates/states for IPsec. Add sort functions to combine templates/states for IPsec. Think of outbound transformation order we should be careful with transport AH which must be the last of all transport ones. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit f7b6983f0feeefcd2a594138adcffe640593d8de tree 41878fad9f0f0306718fa832eac7dfa76f51222d parent 41a49cc3c02ace59d4dddae91ea211c330970ee3 author Masahide NAKAMURA Wed, 23 Aug 2006 22:49:28 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:35 -0700 [XFRM] POLICY: Support netlink socket interface for sub policy. Sub policy can be used through netlink socket. PF_KEY uses main only and it is TODO to support sub. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 41a49cc3c02ace59d4dddae91ea211c330970ee3 tree bca262bd2d32f1cf7473b5360052ff3103845e23 parent 4e81bb8336a0ac50289d4d4c7a55e559b994ee8f author Masahide NAKAMURA Wed, 23 Aug 2006 22:48:31 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:34 -0700 [XFRM]: Add sorting interface for state and template. Under two transformation policies it is required to merge them. This is a platform to sort state for outbound and templates for inbound respectively. It will be used when Mobile IPv6 and IPsec are used at the same time. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 4e81bb8336a0ac50289d4d4c7a55e559b994ee8f tree fefa71843c3f8152dd0a008b3b40fe2e42d204d7 parent c11f1a15c522ddd3bbd2c32b5ce3e0b1831b22f2 author Masahide NAKAMURA Wed, 23 Aug 2006 22:43:30 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:34 -0700 [XFRM] POLICY: sub policy support. Sub policy is introduced. Main and sub policy are applied the same flow. (Policy that current kernel uses is named as main.) It is required another transformation policy management to keep IPsec and Mobile IPv6 lives separate. Policy which lives shorter time in kernel should be a sub i.e. normally main is for IPsec and sub is for Mobile IPv6. (Such usage as two IPsec policies on different database can be used, too.) Limitation or TODOs: - Sub policy is not supported for per socket one (it is always inserted as main). - Current kernel makes cached outbound with flowi to skip searching database. However this patch makes it disabled only when "two policies are used and the first matched one is bypass case" because neither flowi nor bundle information knows about transformation template size. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki commit c11f1a15c522ddd3bbd2c32b5ce3e0b1831b22f2 tree 6946876fcace9b21e142ba21f03a6ebd7801e8d2 parent 01be8e5d59d7e6da5c425a31b43709c2a4a69b5d author Masahide NAKAMURA Wed, 23 Aug 2006 22:38:14 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:33 -0700 [XFRM] POLICY: Add Kconfig to support sub policy. Add Kconfig to support sub policy. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 01be8e5d59d7e6da5c425a31b43709c2a4a69b5d tree 7f85f5741b18fcead2376a93ba407b3353e36a85 parent 70182ed23d2559345aadb3cfb6a68a7c1cc0aa39 author Masahide NAKAMURA Wed, 23 Aug 2006 20:47:44 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:32 -0700 [IPV6] MIP6: Ignore to report if mobility headers is rejected. Ignore to report user-space for known mobility headers rejected by destination options header transformation. Mobile IPv6 specification (RFC3775) says that mobility header is used with destination options header carrying home address option only for binding update message. Other type message cannot be used and node must drop it silently (and must not send binding error) if receving such packet. To achieve it, (1) application should use transformation policy and wild-card states to catch binding update message prior other packets (2) kernel doesn't report the reject to user-space not to send binding error message by application. This patch is for (2). Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 70182ed23d2559345aadb3cfb6a68a7c1cc0aa39 tree 79899680cb66ac9cccbf6e8f5b10f66d9a6f306f parent 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 author Masahide NAKAMURA Wed, 23 Aug 2006 20:45:55 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:31 -0700 [IPV6] MIP6: Report to user-space when home address option is rejected. Report to user-space when home address option is rejected. In receiving this message user-space application will send Mobile IPv6 binding error. It is rate-limited by kernel. Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 tree 424700fb0a41b28c5615d0d21ca74d699e1fa872 parent df0ba92a99ca757039dfa84a929281ea3f7a50e8 author Masahide NAKAMURA Wed, 23 Aug 2006 20:44:06 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:30 -0700 [XFRM]: Introduce XFRM_MSG_REPORT. XFRM_MSG_REPORT is a message as notification of state protocol and selector from kernel to user-space. Mobile IPv6 will use it when inbound reject is occurred at route optimization to make user-space know a binding error requirement. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit df0ba92a99ca757039dfa84a929281ea3f7a50e8 tree 26f1f562c513ad43f813dcf2c58d426a3649625b parent 2ce4272a699c731b9736d76126dc742353e381db author Masahide NAKAMURA Wed, 23 Aug 2006 20:41:00 -0700 committer David S. Miller Fri, 22 Sep 2006 15:08:29 -0700 [XFRM]: Trace which secpath state is reject factor. For Mobile IPv6 usage, it is required to trace which secpath state is reject factor in order to notify it to user space (to know the address which cannot be used route optimized communication). Based on MIPL2 kernel patch. This patch was also written by: Henrik Petander Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 2ce4272a699c731b9736d76126dc742353e381db tree ce60343164fa72dde2207d4c4045554662efa141 parent 6e8f4d48b265225bdf437bbf3151b0d6700dda22 author Masahide NAKAMURA Wed, 23 Aug 2006 20:39:03 -0700 committer David S. Miller Fri, 22 Sep 2006 15:07:03 -0700 [IPV6] MIP6: Transformation support mobility header. Transformation support mobility header. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 6e8f4d48b265225bdf437bbf3151b0d6700dda22 tree f71cfecfc21d5a28e10a9e761164252dd65fa154 parent 7be96f7628469e56f91d51f13b03e9bcff113c7f author Masahide NAKAMURA Wed, 23 Aug 2006 20:36:47 -0700 committer David S. Miller Fri, 22 Sep 2006 15:07:02 -0700 [IPV6] MIP6: Add sending mobility header functions through raw socket. Mobility header is built by user-space and sent through raw socket. Kernel just extracts its type to flow. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 7be96f7628469e56f91d51f13b03e9bcff113c7f tree 60db169f3fa51967dd916355face3f2b38d7cc5d parent 2b741653b6c824fe7520ee92b6795f11c5f24b24 author Masahide NAKAMURA Wed, 23 Aug 2006 20:35:31 -0700 committer David S. Miller Fri, 22 Sep 2006 15:07:01 -0700 [IPV6] MIP6: Add receiving mobility header functions through raw socket. Like ICMPv6, mobility header is handled through raw socket. In inbound case, check only whether ICMPv6 error should be sent as a reply or not by kernel. Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala This patch was also written by: Antti Tuominen Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 2b741653b6c824fe7520ee92b6795f11c5f24b24 tree eea6f085896ad74e53aa44c00f1b004775e5ef83 parent e23c7194a8a21e96b99106bdabde94614c4b84d6 author Masahide NAKAMURA Wed, 23 Aug 2006 20:34:26 -0700 committer David S. Miller Fri, 22 Sep 2006 15:07:00 -0700 [IPV6] MIP6: Add Mobility header definition. Add Mobility header definition for Mobile IPv6. Based on MIPL2 kernel patch. This patch was also written by: Antti Tuominen Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e23c7194a8a21e96b99106bdabde94614c4b84d6 tree a1b7f5ec06b0f3f82db55c5250d3021417c07270 parent 3d126890dd67beffec27c1b6f51c040fc8d0b526 author Masahide NAKAMURA Wed, 23 Aug 2006 20:33:28 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:59 -0700 [XFRM] STATE: Add Mobile IPv6 route optimization protocols to netlink interface. Add Mobile IPv6 route optimization protocols to netlink interface. Route optimization states carry care-of address. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 3d126890dd67beffec27c1b6f51c040fc8d0b526 tree c796ef93eb61fe1a93c42dd7965fe21a5b142b66 parent 2c8d7ca0f76103855ad1f2a930e05683b64a00eb author Noriaki TAKAMIYA Wed, 23 Aug 2006 20:32:34 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:58 -0700 [IPV6] MIP6: Add destination options header transformation. Add destination options header transformation for Mobile IPv6. Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala Signed-off-by: Noriaki TAKAMIYA Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 2c8d7ca0f76103855ad1f2a930e05683b64a00eb tree 528b684361ba249d3a80a3ded057454cd9ed269d parent 27637df92e25dfb45dd71a93a2f4bf9c080fa627 author Noriaki TAKAMIYA Wed, 23 Aug 2006 20:31:11 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:57 -0700 [IPV6] MIP6: Add routing header type 2 transformation. Add routing header type 2 transformation for Mobile IPv6. Based on MIPL2 kernel patch. Signed-off-by: Noriaki TAKAMIYA Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 27637df92e25dfb45dd71a93a2f4bf9c080fa627 tree e4c477a1faff6faf7ae2812a921c06c4116f3731 parent 793832361fe7e9c3fcae2edd1d293c583a0a095c author Masahide NAKAMURA Wed, 23 Aug 2006 19:29:47 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:56 -0700 [IPV6] IPSEC: Support sending with Mobile IPv6 extension headers. Mobile IPv6 defines home address option as an option of destination options header. It is placed before fragment header then ip6_find_1stfragopt() is fixed to know about it. Home address option also carries final source address of the flow, then outbound AH calculation should take care of it like routing header case. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 793832361fe7e9c3fcae2edd1d293c583a0a095c tree 43ee73c5f5cd329089c3fbcf71594036974d6be3 parent 8dd7368dd97def967bbb3aec67b882e8dfd1a528 author Masahide NAKAMURA Wed, 23 Aug 2006 19:27:25 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:55 -0700 [IPV6] MIP6: Revert address to send ICMPv6 error. IPv6 source address is replaced in receiving packet with home address option carried by destination options header. To send ICMPv6 error back, original address which is received one on wire should be used. This function checks such header is included and reverts them. Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 8dd7368dd97def967bbb3aec67b882e8dfd1a528 tree 8d5b9cb5b4fa6319a8b91b16163873b5ebf3660d parent a831f5bbc89a9978795504be9e1ff412043f8f77 author David S. Miller Wed, 23 Aug 2006 19:25:55 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:54 -0700 [IPV6]: Put dsthao after flags in order to pack inet6_skb_parm better. Signed-off-by: David S. Miller commit a831f5bbc89a9978795504be9e1ff412043f8f77 tree 755b7e5478b64358a5716fdaa675516d9d36ab3d parent 842426e719f86cd5709617208efae93ff1a1e2d8 author Masahide NAKAMURA Wed, 23 Aug 2006 19:24:48 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:53 -0700 [IPV6] MIP6: Add inbound interface of home address option. Add inbound function of home address option by registering it to TLV table for destination options header. Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 842426e719f86cd5709617208efae93ff1a1e2d8 tree aa18a6fae1c45b645c8ae8fcb1568e3d3502cabc parent a80ff03e05e4343d647780c116b02ec86078fd24 author Noriaki TAKAMIYA Wed, 23 Aug 2006 19:21:34 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:52 -0700 [IPV6] MIP6: Add home address option definition. Add home address option definition for Mobile IPv6. Based on MIPL2 kernel patch. Signed-off-by: Noriaki TAKAMIYA Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit a80ff03e05e4343d647780c116b02ec86078fd24 tree 71f62b9b95ad1b01b2af9d3032324bb2501ae703 parent c61a404325093250b676f40ad8f4dd00f3bcab5f author Masahide NAKAMURA Wed, 23 Aug 2006 19:19:50 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:51 -0700 [IPV6]: Allow to replace skbuff by TLV parser. In receiving Mobile IPv6 home address option which is a TLV carried by destination options header, kernel will try to mangle source adderss of packet. Think of cloned skbuff it is required to replace it by the parser just like routing header case. This is a framework to achieve that to allow TLV parser to replace inbound skbuff pointer. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit c61a404325093250b676f40ad8f4dd00f3bcab5f tree 8494f117afa5d79fcd97d57fe69e64369d5a78d7 parent 280a9d340057ce1b3cca63084df22f4ef5b35fba author Masahide NAKAMURA Wed, 23 Aug 2006 19:18:35 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:50 -0700 [IPV6]: Find option offset by type. This is a helper to search option offset from extension header which can carry TLV option like destination options header. Mobile IPv6 home address option will use it. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 280a9d340057ce1b3cca63084df22f4ef5b35fba tree fc41839e13cc27f8f3607f829202f1e46cc52e87 parent 65d4ed92219b28875efb52de5700da8c3dfa83e1 author Masahide NAKAMURA Wed, 23 Aug 2006 19:17:12 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:49 -0700 [IPV6] MIP6: Add socket option and ancillary data interface of routing header type 2. Add socket option and ancillary data interface of routing header type 2. Mobile IPv6 application will use this to send binding acknowledgement with the header without relation of confirmed route optimization (binding). Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 65d4ed92219b28875efb52de5700da8c3dfa83e1 tree dc400aa962fa77147128dfe46da34cdbf4a7eb7a parent 642ec62eee5bdc158e01029220c8a23c685778fb author Masahide NAKAMURA Wed, 23 Aug 2006 19:16:22 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:48 -0700 [IPV6] MIP6: Add inbound interface of routing header type 2. Add inbound interface of routing header type 2 for Mobile IPv6. Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 642ec62eee5bdc158e01029220c8a23c685778fb tree 37ed4f32dd4fc919f29af4f34e14c9a6eb058b85 parent ee53826801a8fa7a0e333895421ef6d0e5fbfbf0 author Noriaki TAKAMIYA Wed, 23 Aug 2006 19:15:07 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:47 -0700 [IPV6] MIP6: Add routing header type 2 definition. Add routing header type 2 definition for Mobile IPv6. Based on MIPL2 kernel patch. Signed-off-by: Noriaki TAKAMIYA Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki commit ee53826801a8fa7a0e333895421ef6d0e5fbfbf0 tree ea7e689d5c1b3fd7c57d441bff5ad477286b7023 parent 654b32c6aad19d2fd363813cd8a1a1e64daf611b author Masahide NAKAMURA Wed, 23 Aug 2006 19:13:46 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:46 -0700 [IPV6]: Add Kconfig to enable Mobile IPv6. Add Kconfig to enable Mobile IPv6. Based on MIPL2 kernel patch. Signed-off-by: Noriaki TAKAMIYA Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki commit 654b32c6aad19d2fd363813cd8a1a1e64daf611b tree 280057a850e9d79752eb6b20bafb475a0c6f67d9 parent e53820de0f81da1429048634cadc6ef5f50c2f8b author Masahide NAKAMURA Wed, 23 Aug 2006 19:12:56 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:45 -0700 [XFRM]: Fix message about transformation user interface. Transformation user interface is not only for IPsec. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e53820de0f81da1429048634cadc6ef5f50c2f8b tree 7a63689f564c0719a0d4fea2cc5d3b84ea00fbbd parent 9afaca057980c02771f4657c455cc7592fcd7373 author Masahide NAKAMURA Wed, 23 Aug 2006 19:12:01 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:44 -0700 [XFRM] IPV6: Restrict bundle reusing For outbound transformation, bundle is checked whether it is suitable for current flow to be reused or not. In such IPv6 case as below, transformation may apply incorrect bundle for the flow instead of creating another bundle: - The policy selector has destination prefix length < 128 (Two or more addresses can be matched it) - Its bundle holds dst entry of default route whose prefix length < 128 (Previous traffic was used such route as next hop) - The policy and the bundle were used a transport mode state and this time flow address is not matched the bundled state. This issue is found by Mobile IPv6 usage to protect mobility signaling by IPsec, but it is not a Mobile IPv6 specific. This patch adds strict check to xfrm_bundle_ok() for each state mode and address when prefix length is less than 128. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 9afaca057980c02771f4657c455cc7592fcd7373 tree 3ef6e1b304248fad27c8063b7fbffdba966a0671 parent 060f02a3bdd4d9ba8aa3c48e9b470672b1f3a585 author Masahide NAKAMURA Wed, 23 Aug 2006 18:20:16 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:43 -0700 [XFRM] IPV6: Update outbound state timestamp for each sending. With this patch transformation state is updated last used time for each sending. Xtime is used for it like other state lifetime expiration. Mobile IPv6 enabled nodes will want to know traffic status of each binding (e.g. judgement to request binding refresh by correspondent node, or to keep home/care-of nonce alive by mobile node). The last used timestamp is an important hint about it. Based on MIPL2 kernel patch. This patch was also written by: Henrik Petander Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 060f02a3bdd4d9ba8aa3c48e9b470672b1f3a585 tree 0eb60cf50ad70ceb856c82c32124470f6bce2d86 parent 1b5c229987dc4d0c92a38fac0cde2aeec08cd775 author Noriaki TAKAMIYA Wed, 23 Aug 2006 18:18:55 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:42 -0700 [XFRM] STATE: Introduce care-of address. Care-of address is carried by state as a transformation option like IPsec encryption/authentication algorithm. Based on MIPL2 kernel patch. Signed-off-by: Noriaki TAKAMIYA Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki commit 1b5c229987dc4d0c92a38fac0cde2aeec08cd775 tree 5726243af6aa7194f1ed65e0340539e1ee5c6a42 parent 99505a843673faeae962a8cde128c7c034ba6b5e author Masahide NAKAMURA Wed, 23 Aug 2006 18:11:50 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:41 -0700 [XFRM] STATE: Support non-fragment outbound transformation headers. For originated outbound IPv6 packets which will fragment, ip6_append_data() should know length of extension headers before sending them and the length is carried by dst_entry. IPv6 IPsec headers fragment then transformation was designed to place all headers after fragment header. OTOH Mobile IPv6 extension headers do not fragment then it is a good idea to make dst_entry have non-fragment length to tell it to ip6_append_data(). Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 99505a843673faeae962a8cde128c7c034ba6b5e tree f12a7409b5981881e56fcf5ca973de0d5d6001bd parent 9e51fd371a022318c5b64b831c43026e89bc4f75 author Masahide NAKAMURA Wed, 23 Aug 2006 18:10:33 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:41 -0700 [XFRM] STATE: Add a hook to obtain local/remote outbound address. Outbound transformation replaces both source and destination address with state's end-point addresses at the same time when IPsec tunnel mode. It is also required to change them for Mobile IPv6 route optimization, but we should care about the following differences: - changing result is not end-point but care-of address - either source or destination is replaced for each state This hook is a common platform to change outbound address. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 9e51fd371a022318c5b64b831c43026e89bc4f75 tree d11b58ab8d89bc52eb5c875a8e698fcb285c87ef parent fbd9a5b47ee9c319ff0cae584391241ce78ffd6b author Masahide NAKAMURA Wed, 23 Aug 2006 18:09:09 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:40 -0700 [XFRM]: Rename secpath_has_tunnel to secpath_has_nontransport. On current kernel inbound transformation state is allowed transport and disallowed tunnel mode when mismatch is occurred between tempates and states. As the result of adding two more modes by Mobile IPv6, this function name is misleading. Inbound transformation can allow only transport mode when mismatch is occurred between template and secpath. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit fbd9a5b47ee9c319ff0cae584391241ce78ffd6b tree 3e6cdcf297e3f82b7ab276e5ffa59abfcb912f44 parent f3bd484021d9486b826b422a017d75dd0bd258ad author Masahide NAKAMURA Wed, 23 Aug 2006 18:08:21 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:39 -0700 [XFRM] STATE: Common receive function for route optimization extension headers. XFRM_STATE_WILDRECV flag is introduced; the last resort state is set it and receives packet which is not route optimized but uses such extension headers i.e. Mobile IPv6 signaling (binding update and acknowledgement). A node enabled Mobile IPv6 adds the state. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit f3bd484021d9486b826b422a017d75dd0bd258ad tree 52ec4e50183dffc02d33bd3cfcafe4cbc2022910 parent 1d71627d699eca831c1fbfb66ea67bb1fba41415 author Masahide NAKAMURA Wed, 23 Aug 2006 18:00:48 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:38 -0700 [XFRM]: Restrict authentication algorithm only when inbound transformation protocol is IPsec. For Mobile IPv6 usage, routing header or destination options header is used and it doesn't require this comparison. It is checked only for IPsec template. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 1d71627d699eca831c1fbfb66ea67bb1fba41415 tree 19652e18b0b5f58c94674d8b32168c8c93e0b151 parent aee5adb4307c4c63a4dc5f3b49984d76f8a71b5b author Masahide NAKAMURA Wed, 23 Aug 2006 17:59:44 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:37 -0700 [XFRM] STATE: Introduce route optimization mode. Route optimization is used with routing header and destination options header for Mobile IPv6. At outbound it makes header space like IPsec transport. At inbound it does nothing because exhdrs.c functions have responsibility to update skbuff information for these headers. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit aee5adb4307c4c63a4dc5f3b49984d76f8a71b5b tree b2daac197259c535d66749617ede6f8479b355a4 parent eb2971b68a7d17a7d0fa2c7fc6fbc4bfe41cd694 author Masahide NAKAMURA Wed, 23 Aug 2006 17:57:28 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:36 -0700 [XFRM] STATE: Add a hook to find offset to be inserted header in outbound. On current kernel, ip6_find_1stfragopt() is used by IPv6 IPsec to find offset to be inserted header in outbound for transport mode. (BTW, no usage may be needed for IPv4 case.) Mobile IPv6 requires another logic for routing header and destination options header respectively. This patch is common platform for the offset and adopts it to IPsec. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit eb2971b68a7d17a7d0fa2c7fc6fbc4bfe41cd694 tree 5f6e98ac376d0d2faa69e8a6644706a7312a1ff1 parent 6c44e6b7ab500d7e3e3f406c83325671be51a752 author Masahide NAKAMURA Wed, 23 Aug 2006 17:56:04 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:35 -0700 [XFRM] STATE: Search by address using source address list. This is a support to search transformation states by its addresses by using source address list for Mobile IPv6 usage. To use it from user-space, it is also added a message type for source address as a xfrm state option. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 6c44e6b7ab500d7e3e3f406c83325671be51a752 tree d68b6347f4e437cd4aac9444ed9ee323f73eb06c parent 622dc8281a80374873686514e46f852093d91106 author Masahide NAKAMURA Wed, 23 Aug 2006 17:53:57 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:34 -0700 [XFRM] STATE: Add source address list. Support source address based searching. Mobile IPv6 will use it. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 622dc8281a80374873686514e46f852093d91106 tree 21ea09f939b3fe56e346b92fb07eaebc58e6f2a2 parent dc00a525603650a1471c823a1e48c6505c2f9765 author Masahide NAKAMURA Wed, 23 Aug 2006 17:52:01 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:33 -0700 [XFRM]: Expand XFRM_MAX_DEPTH for route optimization. XFRM_MAX_DEPTH is a limit of transformation states to be applied to the same flow. Two more extension headers are used by Mobile IPv6 transformation. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit dc00a525603650a1471c823a1e48c6505c2f9765 tree 5ea2b999a564daf2f6fb217db13859db702b4537 parent 5794708f11551b6d19b10673abf4b0202f66b44d author Masahide NAKAMURA Wed, 23 Aug 2006 17:49:52 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:32 -0700 [XFRM] STATE: Allow non IPsec protocol. It will be added two more transformation protocols (routing header and destination options header) for Mobile IPv6. xfrm_id_proto_match() can be handle zero as all, IPSEC_PROTO_ANY as all IPsec and otherwise as exact one. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 5794708f11551b6d19b10673abf4b0202f66b44d tree 60d954e185dd80af7e6c08608fd0528cf21a5d41 parent 7e49e6de30efa716614e280d97963c570f3acf29 author Masahide NAKAMURA Fri, 22 Sep 2006 15:06:24 -0700 committer David S. Miller Fri, 22 Sep 2006 15:06:24 -0700 [XFRM]: Introduce a helper to compare id protocol. Put the helper to header for future use. Based on MIPL2 kernel patch. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 7e49e6de30efa716614e280d97963c570f3acf29 tree 8eaef9d40300d16a7675722e082c5d8ab2a53d40 parent 77d16f450ae0452d7d4b009f78debb1294fb435c author Masahide NAKAMURA Fri, 22 Sep 2006 15:05:15 -0700 committer David S. Miller Fri, 22 Sep 2006 15:05:15 -0700 [XFRM]: Add XFRM_MODE_xxx for future use. Transformation mode is used as either IPsec transport or tunnel. It is required to add two more items, route optimization and inbound trigger for Mobile IPv6. Based on MIPL2 kernel patch. This patch was also written by: Ville Nuorvala Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 77d16f450ae0452d7d4b009f78debb1294fb435c tree 464c7c05b32a03068f47af064285a9bce876962d parent 4e96c2b4180aff4f080b77314712073c6ca430e7 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:25:05 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:56 -0700 [IPV6] ROUTE: Unify RT6_F_xxx and RT6_SELECT_F_xxx flags Unify RT6_F_xxx and RT6_SELECT_F_xxx flags into RT6_LOOKUP_F_xxx flags, and put them into ip6_route.h Signed-off-by: YOSHIFUJI Hideaki Acked-by: Ville Nuorvala commit 4e96c2b4180aff4f080b77314712073c6ca430e7 tree a8b7da386b59d7ceaec567a8b5f84c8d0c07fc59 parent c0bece9f2aec546c3750ae3972f80e024a923f34 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:23:39 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:55 -0700 [IPV6] KCONFIG: Add subtrees support. This is for developers only. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala commit c0bece9f2aec546c3750ae3972f80e024a923f34 tree 82a6527979ecaf0b6b2a21d70a2e37baba22e4cd parent cb15d9c224fcc03b32396c1c7416e777c2dcca34 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:23:25 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:55 -0700 [IPV6] ROUTE: Add credits about subtree fixes. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit cb15d9c224fcc03b32396c1c7416e777c2dcca34 tree f946bbfc56daeff71560bd0fb2648bf49a38cd87 parent 150730d5a53b1bbb486101b2a5fb82ff0d3f916e author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:23:11 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:54 -0700 [IPV6] NDISC: Search subtrees when backtracking on receipt of redirects. Signed-off-by: YOSHIFUJI Hideaki Acked-by: Ville Nuorvala commit 150730d5a53b1bbb486101b2a5fb82ff0d3f916e tree d14162b46a962ee3f2e15efd59ff3fd79882ee9d parent 982f56f3a9be4651520c0fdd3d80a5d02e95a178 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:22:55 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:53 -0700 [IPV6] ROUTE: Purge clones on other trees when deleting a route. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala commit 982f56f3a9be4651520c0fdd3d80a5d02e95a178 tree d58b624d1a384bb280aecc2b626c2c18c072eb7d parent 7fc33165a74301b2c5c90b2f2a1f6907cbd5c6f1 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:22:39 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:52 -0700 [IPV6] ROUTE: Search subtree when backtracking. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit 7fc33165a74301b2c5c90b2f2a1f6907cbd5c6f1 tree 377c2299e95fcaae378a3498ccda7b09517722cc parent fefc2a6c201aeafc1d0329a140de502d49f69d04 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:22:24 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:51 -0700 [IPV6] ROUTE: Put SUBTREE() as FIB6_SUBTREE() into ip6_fib.h for future use. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit fefc2a6c201aeafc1d0329a140de502d49f69d04 tree ca3e95d6558719ed7c833880de0099e5587edc70 parent 825e288ef4c55a379a97e104c825eb9b74874099 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:21:50 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:50 -0700 [IPV6] ROUTE: Allow searching subtree only. Signed-off-by: YOSHIFUJI Hideaki Acked-by: Ville Nuorvala Signed-off-by: David S. Miller commit 825e288ef4c55a379a97e104c825eb9b74874099 tree 38cfe6e2e051dd464a115cd9e9c80e634d159328 parent 3fc5e0440be7fab3abae4e801b0ef17e9b3b58c4 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:21:29 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:49 -0700 [IPV6] ROUTE: Make sure we do not exceed args in fib6_lookup_1(). Signed-off-by: YOSHIFUJI Hideaki Acked-by: Ville Nuorvala Signed-off-by: David S. Miller commit 3fc5e0440be7fab3abae4e801b0ef17e9b3b58c4 tree 3512287b6942518c10c122d213334629e2266fd2 parent 2285adc1e6c9f964f9625e7edcd233fccd7a7c92 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:21:12 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:48 -0700 [IPV6] ROUTE: Fix looking up a route on subtree. Even on RTN_ROOT node, we need to process its subtree first. Fix NULL pointer dereference in fib6_locate(). Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit 2285adc1e6c9f964f9625e7edcd233fccd7a7c92 tree 9a101ad7a1bff6e8bf4ba5edef3d39254e6b1216 parent 66729e18df08ee20a9824148236b89f56371659e author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:20:54 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:47 -0700 [IPV6] ROUTE: Prune clones from main tree as well. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit 66729e18df08ee20a9824148236b89f56371659e tree 6f974289880a6a3d6df0e30c9d9c4a067f65c5d0 parent 8e1ef0a95b87e8b4292b2ba733e8cb854ea2d2fe author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:20:34 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:46 -0700 [IPV6] ROUTE: Make sure we have fn->leaf when adding a node on subtree. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit 8e1ef0a95b87e8b4292b2ba733e8cb854ea2d2fe tree 245489015b33604df5b270ce3c027205d867a929 parent cf6b1982599cbb60f410adeda659b0b29cdf7ad7 author YOSHIFUJI Hideaki Tue, 29 Aug 2006 17:15:09 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:45 -0700 [IPV6]: Cache source address as well in ipv6_pinfo{}. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit cf6b1982599cbb60f410adeda659b0b29cdf7ad7 tree 37d6b5ad9cc071a99bf175f707f2a1a969763941 parent af184765848c280c7e6190f45c827c5ea3881126 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:19:18 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:44 -0700 [IPV6] ROUTE: Introduce a helper to check route validity. Signed-off-by: YOSHIFUJI Hideaki Acked-by: Ville Nuorvala Signed-off-by: David S. Miller commit af184765848c280c7e6190f45c827c5ea3881126 tree 82d6515825c9679ac5140ec635b4a12fef71ad03 parent a6279458c534d01ccc39498aba61c93083ee0372 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:18:57 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:43 -0700 [IPV6] NDISC: Initialize fl with outbound interface to lookup rules properly. Based on MIPL2 kernel patch. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit a6279458c534d01ccc39498aba61c93083ee0372 tree aeca5c6e3e54345bd35f8217e705f90f414d9452 parent 5e032e32ecc2e6cb0385dc115ca9bfe5e19a9539 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:18:26 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:42 -0700 [IPV6] NDISC: Search over all possible rules on receipt of redirect. Split up function for finding routes for redirects. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 5e032e32ecc2e6cb0385dc115ca9bfe5e19a9539 tree a920b2450737c8688ed7fbbbc73b47a7402f04c6 parent a57d27fc7107ddcc655ba2812cfebfce3163fd62 author YOSHIFUJI Hideaki Wed, 23 Aug 2006 17:12:24 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:41 -0700 [IPV6] NDISC: Take source address into account for redirects. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit a57d27fc7107ddcc655ba2812cfebfce3163fd62 tree 98f5e6816bf1771e9489aa50e781c21bb36d21ca parent 2809486424df58043b380aeb9d7f402c031c46f6 author David S. Miller Tue, 22 Aug 2006 22:20:14 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:40 -0700 [RTNETLINK]: Don't return error on no-metrics. Instead just cancel the nested attribute and return 0. Signed-off-by: David S. Miller commit 2809486424df58043b380aeb9d7f402c031c46f6 tree 60d502933dfb03185adc398fbba1b8af5381984b parent 3fd091e73b81f131e1567c4d4a1ec042940bf2f7 author Thomas Graf Tue, 22 Aug 2006 13:52:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:40 -0700 [NETFILTER]: x_tables: Fix typos after conversion to use mass registation helper Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 3fd091e73b81f131e1567c4d4a1ec042940bf2f7 tree c08ebbeee329bbc31cb578db1dddde7394431f5f parent ce556b3a591fff3bebf8c5590a86aa98e1b2f153 author Vladislav Yasevich Tue, 22 Aug 2006 13:29:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:39 -0700 [SCTP]: Remove multiple levels of msecs to jiffies conversions. The SCTP sysctl entries are displayed in milliseconds, but stored internally in jiffies. This results in multiple levels of msecs to jiffies conversion and as a result produces a truncation error. This patch makes things consistent in that we store and display defaults in milliseconds and only convert once for use by association. This patch also adds some sane min/max values so that we don't go off the deep end. Signed-off-by: Vladislav Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit ce556b3a591fff3bebf8c5590a86aa98e1b2f153 tree 6d4599be0d63b2375fad373a162dc55102caf29c parent 5fa2a7601f994bdd034e871b7ea1abd6969fbb6c author Patrick McHardy Tue, 22 Aug 2006 00:44:14 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:38 -0700 [NETFILTER]: xt_tcpmss: minor cleanups - remove unused define - remove useless wrapper function - use new line for expression after condition Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5fa2a7601f994bdd034e871b7ea1abd6969fbb6c tree 79c5294c070494498728f7f36f1ea424bf52ad8f parent 91270cf81765152f6e77953440beb4d3b34a71b5 author Patrick McHardy Tue, 22 Aug 2006 00:43:55 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:37 -0700 [NETFILTER]: ip6_tables: consolidate dst and hbh matches The matches are identical besides one looking for NEXTHDR_HOP, the other for NEXTHDR_DEST. Remove ip6t_dst.c and handle both in ip6t_hbh.c. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 91270cf81765152f6e77953440beb4d3b34a71b5 tree e8cd187341a8626612ef800ff6f42e535c9861dc parent 53e26658282373b84ba85a0c9807cb762f7738a6 author Patrick McHardy Tue, 22 Aug 2006 00:43:38 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:36 -0700 [NETFILTER]: x_tables: add data member to struct xt_match Shared match functions can use this to make runtime decisions basen on the used match. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 53e26658282373b84ba85a0c9807cb762f7738a6 tree 53b6a8e005c668958068b0fb9fbf603e9a22379d parent efa741656e9ebf5fd6e0432b0d1b3c7f156392d3 author Patrick McHardy Tue, 22 Aug 2006 00:43:20 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:35 -0700 [NETFILTER]: nfnetlink: remove unnecessary packed attributes Remove unnecessary packed attributes in nfnetlink structures. Unfortunately in a few cases they have to stay to avoid changing structure sizes. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit efa741656e9ebf5fd6e0432b0d1b3c7f156392d3 tree 18ad158b5972904bd9ba930e5c6ec49181f3b400 parent fe1cb10873b44cf89082465823ee6d4d4ac63ad7 author Patrick McHardy Tue, 22 Aug 2006 00:36:37 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:34 -0700 [NETFILTER]: x_tables: remove unused size argument to check/destroy functions The size is verified by x_tables and isn't needed by the modules anymore. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit fe1cb10873b44cf89082465823ee6d4d4ac63ad7 tree 0176a23fb45e7e45182e5b852a08c6ab16db2015 parent 4470bbc749e5551cce914529309456f631e25120 author Patrick McHardy Tue, 22 Aug 2006 00:35:47 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:33 -0700 [NETFILTER]: x_tables: remove unused argument to target functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4470bbc749e5551cce914529309456f631e25120 tree 972978df336c49235889dc745124fdfd1b990349 parent 52d9c42ef2563d2c420eb23b96bf5a4cae9e167b author Patrick McHardy Tue, 22 Aug 2006 00:34:04 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:32 -0700 [NETFILTER]: x_tables: make use of mass registation helpers Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 52d9c42ef2563d2c420eb23b96bf5a4cae9e167b tree 003022136c43ea48a2d5dcde5c06c261b1705e86 parent 90528e6fe92ee1a353d6a639930e7d70d85b5c85 author Patrick McHardy Tue, 22 Aug 2006 00:33:45 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:31 -0700 [NETFILTER]: x_tables: add helpers for mass match/target registration Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 90528e6fe92ee1a353d6a639930e7d70d85b5c85 tree 4a23ac908acf5ef10b15e8d52354f5915a54d628 parent da878c8e5aae3eeceeee7af8d52633d7bc125edf author Patrick McHardy Tue, 22 Aug 2006 00:33:26 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:30 -0700 [NETFILTER]: xt_CONNMARK: use tabs for indentation Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit da878c8e5aae3eeceeee7af8d52633d7bc125edf tree 27f67c9713e98919e5c38d6cc85a05e9485576e9 parent 1158ba27bec6d1a20999099a938908cf85f47640 author Patrick McHardy Tue, 22 Aug 2006 00:33:09 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:29 -0700 [NETFILTER]: replace open coded checksum updates Replace open coded checksum update by nf_csum_update calls and clean up the surrounding code a bit. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1158ba27bec6d1a20999099a938908cf85f47640 tree dd638a9cab5d580887b6a5498b1a0cc0dfd77fab parent 1a31526baeed30aaa70503cee0ab281f78cae0d6 author Patrick McHardy Tue, 22 Aug 2006 00:32:47 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:28 -0700 [NETFILTER]: nfnetlink_queue: fix typo in error message Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1a31526baeed30aaa70503cee0ab281f78cae0d6 tree bf54c585c3c3d3de92f76645cd40ee5c4fb2d2db parent b3a27bfba51d445784eb0cd6451b73a73fb69cf9 author Pablo Neira Ayuso Tue, 22 Aug 2006 00:32:23 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:27 -0700 [NETFILTER]: ctnetlink: remove impossible events tests for updates IPCT_HELPER and IPCT_NATINFO bits are never set on updates. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b3a27bfba51d445784eb0cd6451b73a73fb69cf9 tree 0c697133c749cf83167c6e314a4c40ca14d520db parent b9a37e0c81c498be2db9f52063c53e55d76c815e author Pablo Neira Ayuso Tue, 22 Aug 2006 00:32:05 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:26 -0700 [NETFILTER]: ctnetlink: check for listeners before sending expectation events This patch uses nfnetlink_has_listeners to check for listeners in userspace. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b9a37e0c81c498be2db9f52063c53e55d76c815e tree 9ffb59b51a083c12db5616aeba15f77efbc86508 parent 2521c12cf1a29f6c380b13ca32a38175f6beed08 author Pablo Neira Ayuso Tue, 22 Aug 2006 00:31:49 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:25 -0700 [NETFILTER]: ctnetlink: dump connection mark ctnetlink dumps the mark iif the event mark happened Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 2521c12cf1a29f6c380b13ca32a38175f6beed08 tree 9077f28bd5a1fd25de83874f30cabcd28acb9e6c parent b93ff78317c0b8f42830e2bb13dd8df596232528 author Pablo Neira Ayuso Tue, 22 Aug 2006 00:31:24 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:24 -0700 [NETFILTER]: conntrack: introduce connection mark event This patch introduces the mark event. ctnetlink can use this to know if the mark needs to be dumped. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b93ff78317c0b8f42830e2bb13dd8df596232528 tree 1a37f733e793463c196f31aebe03e2b5058c991f parent a468701db58a8b3e08e3f55fa6ac66db42014922 author Daniel De Graaf Tue, 22 Aug 2006 00:30:55 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:23 -0700 [NETFILTER]: ipt_recent: add module parameter for changing ownership of /proc/net/ipt_recent/* Signed-off-by: Daniel De Graaf Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a468701db58a8b3e08e3f55fa6ac66db42014922 tree 7b4b0fe62a7d15eae25b3013fd3ecaf13bce5028 parent 9ba1627617d396135a4d679542a3623d5819e628 author Yasuyuki Kozakai Tue, 22 Aug 2006 00:30:26 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:22 -0700 [NETFILTER]: x_tables: replace IPv4 DSCP target by address family independent version This replaces IPv4 DSCP target by address family independent version. This also - utilizes dsfield.h to get/mangle DS field in IPv4/IPv6 header - fixes Kconfig help text. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 9ba1627617d396135a4d679542a3623d5819e628 tree 4a0a72bca0e4a6ad91ae89b572ac58a074ba4eab parent 131852176c1f5b4350b4af811d1836db387d0c61 author Yasuyuki Kozakai Tue, 22 Aug 2006 00:29:37 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:21 -0700 [NETFILTER]: x_tables: replace IPv4 dscp match by address family independent version This replaces IPv4 dscp match by address family independent version. This also - utilizes dsfield.h to get the DS field in IPv4/IPv6 header, and - checks for the DSCP value from user space. - fixes Kconfig help text. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 131852176c1f5b4350b4af811d1836db387d0c61 tree 1092efea1219dd4ea2c146b68563c72568183e78 parent 8abfedd889e46ad4977dfcdab737edf5c5803c62 author Henrik Kretzschmar Tue, 22 Aug 2006 00:28:33 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:20 -0700 [TG3]: Convert the pci_device_id table to PCI_DEVICE() Convert the pci_device_ids to PCI_DEVICE() macro. Saves 1.5k in the sourcefile. Signed-off-by: Henrik Kretzschmar Acked-by: Michael Chan Signed-off-by: David S. Miller commit 8abfedd889e46ad4977dfcdab737edf5c5803c62 tree 0c2921fb1b708b7c06d9a0fd81defad0c7a9e562 parent eb5fa39f5ef490c72901b547ac5e7211efd47d56 author Sridhar Samudrala Tue, 22 Aug 2006 00:24:09 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:19 -0700 [SCTP]: Use the flags value that is passed as an arg to sctp_accept. No need to do multiple dereferences - sk->sk_socket->file->f_flags Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit eb5fa39f5ef490c72901b547ac5e7211efd47d56 tree d580df5be11d8a0be0fa45c90588622925046db2 parent df7deeb5402087ea0387173aaf067d37a264a8f0 author Vladislav Yasevich Tue, 22 Aug 2006 00:23:13 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:18 -0700 [SCTP]: Fix IPv6 address flag setting when doing peel-off/accept. During accept/peeloff we try to copy the list of bound addresses from the original endpoint to the new one. However, we forgot to set the flag to say that IPv6 is allowed on the new endpoint. Signed-off-by: Vladislav Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit df7deeb5402087ea0387173aaf067d37a264a8f0 tree 3001b220fe38b48a0bf2d7a4f4590fd2c8ed87e3 parent ac0b04627269ff16c3c7ab854a65fe6780c6e3e5 author Vladislav Yasevich Tue, 22 Aug 2006 00:19:51 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:17 -0700 [SCTP]: Cleanup nomem handling in the state functions. This patch cleans up the "nomem" conditions that may occur during the processing by the state machine functions. In most cases we delay adding side-effect commands until all memory allocations are done. Signed-off-by: Vladislav Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit ac0b04627269ff16c3c7ab854a65fe6780c6e3e5 tree 421ea678ea12d1e193b3bbf27fb1410355ba9b47 parent 72d3b2c970a2d5d2ccb1d1cab4fb76663c4f2e49 author Sridhar Samudrala Tue, 22 Aug 2006 00:15:33 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:16 -0700 [SCTP]: Extend /proc/net/sctp/snmp to provide more statistics. This patch adds more statistics info under /proc/net/sctp/snmp that should be useful for debugging. The additional events that are counted now include timer expirations, retransmits, packet and data chunk discards. The Data chunk discards include all the cases where a data chunk is discarded including high tsn, bad stream, dup tsn and the most useful one(out of receive buffer/rwnd). Also moved the SCTP MIB data structures from the generic include directories to include/sctp/sctp.h. Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 72d3b2c970a2d5d2ccb1d1cab4fb76663c4f2e49 tree 2b75caaaf7c5b6de325b0037169671b6c186f711 parent ab364a6f96bad9625bdb97b5688c76c44eb1e96e author David S. Miller Tue, 22 Aug 2006 00:13:07 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:15 -0700 [IPV6]: Fixup ip6_del_rt() call for new args. Signed-off-by: David S. Miller commit ab364a6f96bad9625bdb97b5688c76c44eb1e96e tree 6a85db5eb05c524401855c77c8e489272869c7b6 parent 2d7202bfdd28687073f5efef8d2f51bbab0af867 author Thomas Graf Tue, 22 Aug 2006 00:01:47 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:14 -0700 [IPv6] route: Convert GETROUTE to use new netlink api Fixes various unvalidated netlink attributes causing memory corruptions when left empty by userspace applications. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 2d7202bfdd28687073f5efef8d2f51bbab0af867 tree cde1c82c196c353658fc7ede31ea153a306ed7f9 parent 86872cb57925c46a6499887d77afb880a892c0ec author Thomas Graf Tue, 22 Aug 2006 00:01:27 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:13 -0700 [IPv6] route: Convert FIB6 dumping to use new netlink api Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 86872cb57925c46a6499887d77afb880a892c0ec tree bc0442efb85226adac5c7ae43e632639dd1b6899 parent 40e22e8f3d4d4f1ff68fb03683f007c53ee8b348 author Thomas Graf Tue, 22 Aug 2006 00:01:08 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:12 -0700 [IPv6] route: FIB6 configuration using struct fib6_config Replaces the struct in6_rtmsg based interface orignating from the ioctl interface with a struct fib6_config based on. Allows changing the interface without breaking the ioctl interface and avoids passing on tons of parameters. The recently introduced struct nl_info is used to pass on netlink authorship information for notifications. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 40e22e8f3d4d4f1ff68fb03683f007c53ee8b348 tree e630e465a8fdd12e674d8a160a695a72cf81ca8d parent e0a1ad73d34fd6dfdb630479400511e9879069c0 author Thomas Graf Tue, 22 Aug 2006 00:00:45 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:11 -0700 [IPv6] route: Simplify ip6_ins_rt() Provide a simple ip6_ins_rt() for the majority of users and an alternative for the exception via netlink. Avoids code obfuscation. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e0a1ad73d34fd6dfdb630479400511e9879069c0 tree eda7611d42a7184131056e08b0bfb13d18b0e24e parent e9ce1cd3cf6cf35b21d0ce990f2e738f35907386 author Thomas Graf Tue, 22 Aug 2006 00:00:21 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:11 -0700 [IPv6] route: Simplify ip6_del_rt() Provide a simple ip6_del_rt() for the majority of users and an alternative for the exception via netlink. Avoids code obfuscation. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e9ce1cd3cf6cf35b21d0ce990f2e738f35907386 tree 22a3ee7b78ae7cbf00520c66dcc389d87740069c parent 2e4ca75b31b6851dcc036c2cdebf3ecfe279a653 author David S. Miller Mon, 21 Aug 2006 23:54:55 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:10 -0700 [PKT_SCHED]: Kill pkt_act.h inlining. This was simply making templates of functions and mostly causing a lot of code duplication in the classifier action modules. We solve this more cleanly by having a common "struct tcf_common" that hash worker functions contained once in act_api.c can work with. Callers work with real action objects that have the common struct plus their module specific struct members. You go from a common object to the higher level one using a "to_foo()" macro which makes use of container_of() to do the dirty work. This also kills off act_generic.h which was only used by act_simple.c and keeping it around was more work than the it's value. Signed-off-by: David S. Miller commit 2e4ca75b31b6851dcc036c2cdebf3ecfe279a653 tree e1810a6adbbf145b7fafbdaef002b7752a1d2b4f parent d3e01f71863da30a2d6bfca069a036168b6c8607 author Stephen Hemminger Thu, 17 Aug 2006 18:20:18 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:09 -0700 [ETH]: indentation and cleanup Run ethernet support through Lindent and fix up. Applies after docbook comments patch Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d3e01f71863da30a2d6bfca069a036168b6c8607 tree a2daae93a4ac90070ec0ce5a3ffa5c11542d37ee parent e92b43a3455d3e817c13481bb3ea3cd29d0a47f4 author Stephen Hemminger Thu, 17 Aug 2006 18:18:53 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:08 -0700 [ETH]: docbook comments Add docbook style comments to ethernet support. Signed-off-by: Stephen Hemminger Acked-by: Randy Dunlap Signed-off-by: David S. Miller commit e92b43a3455d3e817c13481bb3ea3cd29d0a47f4 tree e1c02f4f95c9887a0498175023c77a1f37553d5c parent d889ce3b29e55b91257964b4c9aac70b91fedd91 author Stephen Hemminger Thu, 17 Aug 2006 18:17:37 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:07 -0700 [NET] neighbour: reduce exports There are several symbols only used by rtnetlink and since it can not be a module, there is no reason to export them. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d889ce3b29e55b91257964b4c9aac70b91fedd91 tree 6d9250959b3cf33ceae6fcd90f34a12315bddb1c parent be403ea1856f1428b5912b42184acbba808c41d6 author Thomas Graf Thu, 17 Aug 2006 18:15:44 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:06 -0700 [IPv4]: Convert route get to new netlink api Fixes various unvalidated netlink attributes causing memory corruptions when left empty by userspace applications. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit be403ea1856f1428b5912b42184acbba808c41d6 tree 53b7ae4a3d07dd6bcf84f01963aaa32dba2b3a45 parent 4e902c57417c4c285b98ba2722468d1c3ed83d1b author Thomas Graf Thu, 17 Aug 2006 18:15:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:05 -0700 [IPv4]: Convert FIB dumping to use new netlink api Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 4e902c57417c4c285b98ba2722468d1c3ed83d1b tree 83251829a4bc9628a3543e5f70e7b11090fe22d9 parent ab32ea5d8a760e7dd4339634e95d7be24ee5b842 author Thomas Graf Thu, 17 Aug 2006 18:14:52 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:04 -0700 [IPv4]: FIB configuration using struct fib_config Introduces struct fib_config replacing the ugly struct kern_rta prone to ordering issues. Avoids creating faked netlink messages for auto generated routes or requests via ioctl. A new interface net/nexthop.h is added to help navigate through nexthop configuration arrays. A new struct nl_info will be used to carry the necessary netlink information to be used for notifications later on. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit ab32ea5d8a760e7dd4339634e95d7be24ee5b842 tree 8460a66c529fe03f926848326d9b6aa874e19514 parent 56fc85ac961e2c20dcb5ef07e2628b3f93de2e49 author Brian Haley Fri, 22 Sep 2006 14:15:41 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:03 -0700 [NET/IPV4/IPV6]: Change some sysctl variables to __read_mostly Change net/core, ipv4 and ipv6 sysctl variables to __read_mostly. Couldn't actually measure any performance increase while testing (.3% I consider noise), but seems like the right thing to do. Signed-off-by: Brian Haley Signed-off-by: David S. Miller commit 56fc85ac961e2c20dcb5ef07e2628b3f93de2e49 tree 337f2a13b49fcfc140885a1cc6c3f9e0024277fb parent 0ec6d3f467faeec5dd3b617959eb90e9d520113d author Thomas Graf Tue, 15 Aug 2006 00:37:29 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:02 -0700 [RTNETLINK]: Unexport rtnl socket Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 0ec6d3f467faeec5dd3b617959eb90e9d520113d tree 9258098a14c5a2f50e730e4422d17eabbeadfcbb parent bd5785ba3ac1c89aa4c351ceb2acd96686424d8c author Thomas Graf Tue, 15 Aug 2006 00:37:09 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:01 -0700 [NET] link: Convert notifications to use rtnl_notify() Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit bd5785ba3ac1c89aa4c351ceb2acd96686424d8c tree 26e473bff32af75af82ebab226d18bba8ba459cb parent 280a306c539389156477cc9c07028d43fe4fbf86 author Thomas Graf Tue, 15 Aug 2006 00:36:49 -0700 committer David S. Miller Fri, 22 Sep 2006 14:55:00 -0700 [WIRELESS]: Convert notifications to use rtnl_notify() Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 280a306c539389156477cc9c07028d43fe4fbf86 tree 956c9fe4e045236bb02980ebe35edc489c6bb47a parent 8c384bfa36b1dbeba8154da20d49167ce3e275c4 author Thomas Graf Tue, 15 Aug 2006 00:36:28 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:59 -0700 [BRIDGE]: Convert notifications to use rtnl_notify() Fixes a wrong use of current->pid as netlink pid. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 8c384bfa36b1dbeba8154da20d49167ce3e275c4 tree 799c78f4b32fc3651bb5e53bc0a8042bbf322828 parent 8d7a76c9b17866f426fcbb531c81af7a1f53e071 author Thomas Graf Tue, 15 Aug 2006 00:36:07 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:58 -0700 [IPv6] prefix: Convert prefix notifications to use rtnl_notify() Fixes a wrong use of current->pid as netlink pid. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 8d7a76c9b17866f426fcbb531c81af7a1f53e071 tree 4eb93041c3454f719324826072c6a42983701b1c parent 21713ebc4f119950e87d21c4637d5a750eea20e8 author Thomas Graf Tue, 15 Aug 2006 00:35:47 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:57 -0700 [IPv6] link: Convert link notifications to use rtnl_notify() Fixes a wrong use of current->pid as netlink pid. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 21713ebc4f119950e87d21c4637d5a750eea20e8 tree 9aee5c6012e7676e6ec70afb907adab912f347c1 parent 5d620266431c03d1dac66287367c6da26c64a069 author Thomas Graf Tue, 15 Aug 2006 00:35:24 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:56 -0700 [IPv6] route: Convert route notifications to use rtnl_notify() Fixes a wrong use of current->pid as netlink pid. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 5d620266431c03d1dac66287367c6da26c64a069 tree f4a8a1dd4a12a3cd7ca8167551cf11be36a49f79 parent f21c7bc5f6a0a5bd03988886ff46656bc3f255b7 author Thomas Graf Tue, 15 Aug 2006 00:35:02 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:55 -0700 [IPv6] address: Convert address notification to use rtnl_notify() Fixes a wrong use of current->pid as netlink pid. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit f21c7bc5f6a0a5bd03988886ff46656bc3f255b7 tree fdbb479b329d10a23315c57573b3485214dfdd1f parent d6062cbbd1f5e92c94e5eae9ef1a280ed48d56d5 author Thomas Graf Tue, 15 Aug 2006 00:34:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:54 -0700 [IPv4] route: Convert route notifications to use rtnl_notify() Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit d6062cbbd1f5e92c94e5eae9ef1a280ed48d56d5 tree 1712e15976e15f63e2038772179276ffe926d336 parent dc738dd83e88c3c5de55431f8cfb758de5d4df48 author Thomas Graf Tue, 15 Aug 2006 00:33:59 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:53 -0700 [IPv4] address: Convert address notification to use rtnl_notify() Adds support for NLM_F_ECHO allowing applications to easly see which address have been deleted, added, or promoted. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit dc738dd83e88c3c5de55431f8cfb758de5d4df48 tree bf82bfdb484002d72a2bf2e568514e58b5f397c3 parent b8673311804ca29680dd584bd08352001fcbe2f8 author Thomas Graf Tue, 15 Aug 2006 00:33:35 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:52 -0700 [DECNET]: Convert DECnet notifications to use rtnl_notify() Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit b8673311804ca29680dd584bd08352001fcbe2f8 tree c9061b88debe78fae16e60fcb43f1e931abfa448 parent c17084d21c18497b506bd28b82d964bc9e6c424b author Thomas Graf Tue, 15 Aug 2006 00:33:14 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:51 -0700 [NEIGH]: Convert neighbour notifications ot use rtnl_notify() Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit c17084d21c18497b506bd28b82d964bc9e6c424b tree 2c8c32dfc2b1535b2f9edf6cb70ec1a86c48c0f0 parent 97676b6b5538b3e059d33b8338e7d5cc41c5f1f1 author Thomas Graf Tue, 15 Aug 2006 00:32:48 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:51 -0700 [NET] fib_rules: Convert fib rule notification to use rtnl_notify() Adds support for NLM_F_ECHO to simplify the process of identifying inserted rules with an auto generated priority. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 97676b6b5538b3e059d33b8338e7d5cc41c5f1f1 tree 76e41eb58bd86a96e204dacbb6746da387e67452 parent d387f6ad10764fc2174373b4a1cca443adee36e3 author Thomas Graf Tue, 15 Aug 2006 00:31:41 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:50 -0700 [RTNETLINK]: Add rtnetlink notification interface Adds rtnl_notify() to send rtnetlink notification messages and rtnl_set_sk_err() to report notification errors as socket errors in order to indicate the need of a resync due to loss of events. nlmsg_report() is added to properly document the meaning of NLM_F_ECHO. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit d387f6ad10764fc2174373b4a1cca443adee36e3 tree ed22c34f55de9c668eed1727d46239f3b48599b7 parent 2942e90050569525628a9f34e0daaa9b661b49cc author Thomas Graf Tue, 15 Aug 2006 00:31:06 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:49 -0700 [NETLINK]: Add notification message sending interface Adds nlmsg_notify() implementing proper notification logic. The message is multicasted to all listeners in the group. The applications the requests orignates from can request a unicast back report in which case said socket will be excluded from the multicast to avoid duplicated notifications. nlmsg_multicast() is extended to take allocation flags to allow notification in atomic contexts. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 2942e90050569525628a9f34e0daaa9b661b49cc tree fc6acc11514e64ff9efc31bdc1bb458232206642 parent f8d8fda54a1bfcf8cf829e44c494b2b4582819aa author Thomas Graf Tue, 15 Aug 2006 00:30:25 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:48 -0700 [RTNETLINK]: Use rtnl_unicast() for rtnetlink unicasts Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit f8d8fda54a1bfcf8cf829e44c494b2b4582819aa tree 370f231339db628ef05f291a8511cc5f53ba330c parent 62872e2dcb3127b20a49e3b4b1d93523cf476cc4 author David S. Miller Tue, 15 Aug 2006 00:15:41 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:47 -0700 [IPV6] udp: Fix type in previous change. UDPv6 stats are UDP6_foo not UDP_foo. Signed-off-by: David S. Miller commit 62872e2dcb3127b20a49e3b4b1d93523cf476cc4 tree b6ac296c59ab341a26c2a3562d347fac93cbf1dc parent 9c3bd6833a4df1abd9ecd3b51492b8949bf9cd11 author Stphane Witzmann Tue, 15 Aug 2006 00:09:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:46 -0700 [ARCNET]: SoHard PCI support Add support for a SoHard PCI ARCnet card. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 9c3bd6833a4df1abd9ecd3b51492b8949bf9cd11 tree 6835d90852cd40289ad970b979b694ed55203e60 parent 9a673e563e543a5c8a6f9824562e55e807b8a56c author Bjorn Helgaas Tue, 15 Aug 2006 00:05:38 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:45 -0700 [IRDA]: Replace hard-coded dev_self[] array sizes with ARRAY_SIZE() Several IR drivers used "for (i = 0; i < 4; i++)" to walk their dev_self[] table. Better to use ARRAY_SIZE(). And fix ali-ircc so it won't run off the end if we find too many adapters. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 9a673e563e543a5c8a6f9824562e55e807b8a56c tree 53d26641175411b04ce7c755df72e515b3bf79ad parent 97a4f3e7110619568aa239fe19143d9ec42dede5 author Adrian Bunk Tue, 15 Aug 2006 00:03:53 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:44 -0700 [SELINUX]: security/selinux/hooks.c: Make 4 functions static. This patch makes four needlessly global functions static. Signed-off-by: Adrian Bunk Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 97a4f3e7110619568aa239fe19143d9ec42dede5 tree e11b066c4cae9b770ef413a09d84447959caf1f0 parent a18135eb9389c26d36ef5c05bd8bc526e0cbe883 author Alan Cox Tue, 15 Aug 2006 00:01:05 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:43 -0700 [NETFILTER]: Make unused signal code go away so nobody copies its brokenness This code is wrong on so many levels, please lose it so it isn't replicated anywhere else. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit a18135eb9389c26d36ef5c05bd8bc526e0cbe883 tree 7e5c18ab898e9bd7871ce7f4944d808954a1e000 parent 81aa646cc4df3779bcbf9d18cc2c0813ee9b3262 author David S. Miller Tue, 15 Aug 2006 00:00:09 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:42 -0700 [IPV6]: Add UDP_MIB_{SND,RCV}BUFERRORS handling. Signed-off-by: David S. Miller commit 81aa646cc4df3779bcbf9d18cc2c0813ee9b3262 tree 7cf11f1e09f83b97a36012c187231504c4654199 parent 2aa7f36cdb332a32849afbf25fcbf35dce5b1940 author Martin Bligh Mon, 14 Aug 2006 23:57:10 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:41 -0700 [IPV4]: add the UdpSndbufErrors and UdpRcvbufErrors MIBs Signed-off-by: Martin Bligh Signed-off-by: Andrew Morton commit 2aa7f36cdb332a32849afbf25fcbf35dce5b1940 tree dcf6403b12dbd2b37148a6e8abca74b3ceb36019 parent 50da859d4e566fba90ebda87b843970d902c903e author Adrian Bunk Mon, 14 Aug 2006 23:55:20 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:40 -0700 [DECNET]: cleanups - make the following needlessly global functions static: - dn_fib.c: dn_fib_sync_down() - dn_fib.c: dn_fib_sync_up() - dn_rules.c: dn_fib_rule_action() - remove the following unneeded prototype: - dn_fib.c: dn_cache_dump() Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 50da859d4e566fba90ebda87b843970d902c903e tree 43d7e49e429afe62b61920ba4d8d4278bcf6ced1 parent 90d41122f79c8c3687d965dde4c6d30a6e0cac4c author Andreas Mohr Mon, 14 Aug 2006 23:54:30 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:39 -0700 [TG3]: Constify firmware structs Constify largish areas of firmware data in Tigon3 ethernet driver. non-const: lsmod: tg3 101404 0 objdump -x: .rodata 000003e8 .data 00004a0c ls -l: -rw-r--r-- 1 root root 114404 2006-08-19 21:36 drivers/net/tg3.ko const: lsmod: tg3 101404 0 objdump -x: .rodata 000042c8 .data 00000b4c ls -l: -rw-r--r-- 1 root root 114532 2006-08-19 21:06 drivers/net/tg3.ko Signed-off-by: Andreas Mohr Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 90d41122f79c8c3687d965dde4c6d30a6e0cac4c tree 97aba5d36e7e7a923b9cc0611602219d88b4766e parent d1aa62f15b511457af2233150c960dc1fd02769b author Adrian Bunk Mon, 14 Aug 2006 23:49:16 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:38 -0700 [IPV6] ip6_fib.c: make code static Make the following needlessly global code static: - fib6_walker_lock - struct fib6_walker_list - fib6_walk_continue() - fib6_walk() Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d1aa62f15b511457af2233150c960dc1fd02769b tree 8f5b1055de7d8de7551eb7f559d644b846938aea parent d880309ae17783c27016bf4f903782d322d0a2a1 author Steven Whitehouse Fri, 11 Aug 2006 16:44:18 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:37 -0700 [DECNET] Fix to decnet rules compare function Here is a fix to the DECnet rules compare function where we used 32bit values rather than 16bit values. Spotted by Patrick McHardy. Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller commit d880309ae17783c27016bf4f903782d322d0a2a1 tree 9d573199c073960cd9b077c7f22c6183fbb2564e parent b6fe17d6cc5d570b72f8e4da351b593c5a680355 author Steven Whitehouse Fri, 11 Aug 2006 16:43:41 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:36 -0700 [DECNET] Fix to multiple tables routing Here is a fix to Patrick McHardy's increase number of routing tables patch for DECnet. I did just test this and it appears to be working fine with this patch. Signed-off-by: Steven Whitehouse Acked-by: Patrick McHardy Signed-off-by: David S. Miller commit b6fe17d6cc5d570b72f8e4da351b593c5a680355 tree 7245b8476733a9066e453d53c5eb86d168db8b33 parent 3696f625e2efa1f1b228b276788274e1eb86fcfa author Stephen Hemminger Tue, 29 Aug 2006 17:06:13 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:35 -0700 [NET] netdev: Check name length Some improvements to robust name interface. These API's are safe now by convention, but it is worth providing some safety checks against future bugs. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3696f625e2efa1f1b228b276788274e1eb86fcfa tree 2dfe12d28e7b0017fd3594bf5d1fd46cd2ff0c7e parent 0cef296da9331e871401076b8c0688b2b31fcadd author Stephen Hemminger Thu, 10 Aug 2006 23:36:01 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:34 -0700 [HTB]: rbtree cleanup Add code to initialize rb tree nodes, and check for double deletion. This is not a real fix, but I can make it trap sometimes and may be a bandaid for: http://bugzilla.kernel.org/show_bug.cgi?id=6681 Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 0cef296da9331e871401076b8c0688b2b31fcadd tree 0baba2aa63de49c135d7c3e35a3f5227dfc48573 parent 87990467d387f922103db31678034785d8f21cb7 author Stephen Hemminger Thu, 10 Aug 2006 23:35:38 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:34 -0700 [HTB]: Use hlist for hash lists. Use hlist instead of list for the hash list. This saves space, and we can check for double delete better. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 87990467d387f922103db31678034785d8f21cb7 tree e9bf5a4c22daa703feb246fec34500e938e3718e parent 18a63e868b04cf949643cc9d2c8a51d8cb5da9c4 author Stephen Hemminger Thu, 10 Aug 2006 23:35:16 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:33 -0700 [HTB]: Lindent Code was a mess in terms of indentation. Run through Lindent script, and cleanup the damage. Also, don't use, vim magic comment, and substitute inline for __inline__. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 18a63e868b04cf949643cc9d2c8a51d8cb5da9c4 tree 5c5643cf93f8f7bec1b2bbc4443628346be51a1a parent 9ac961ee05bfc837e5271be34ad7158e90dce7d9 author Stephen Hemminger Thu, 10 Aug 2006 23:34:02 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:32 -0700 [HTB]: HTB_HYSTERESIS cleanup Change the conditional compilation around HTB_HYSTERSIS since code was splitting mid expression. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 9ac961ee05bfc837e5271be34ad7158e90dce7d9 tree da3c748809f3854fa69a1fc9fba86e52a5c083ca parent 3bf72957d2a553c343e4285463ef0a88139bdec4 author Stephen Hemminger Thu, 10 Aug 2006 23:33:16 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:31 -0700 [HTB]: Remove lock macro. Get rid of the macro's being used to obscure the locking. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3bf72957d2a553c343e4285463ef0a88139bdec4 tree dd7f6882d7ba513d849914db8c7f074bcc69b0c1 parent b801f54917b7c6e8540f877ee562cd0725e62ebd author Stephen Hemminger Thu, 10 Aug 2006 23:31:08 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:30 -0700 [HTB]: Remove broken debug code. The HTB network scheduler had debug code that wouldn't compile and confused and obfuscated the code, remove it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit b801f54917b7c6e8540f877ee562cd0725e62ebd tree 4e9bfbe7109fd7ccd9a685771b0c37f753726455 parent abcab268303c22d24fc89fedd35d82271d20f5da author Patrick McHardy Thu, 10 Aug 2006 23:12:34 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:29 -0700 [NET]: Increate RT_TABLE_MAX to 2^32 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit abcab268303c22d24fc89fedd35d82271d20f5da tree 2add5b99164734899d92ad37d89b1ded91c219bf parent 1b43af5480c351dbcb2eef478bafe179cbeb6e83 author Patrick McHardy Thu, 10 Aug 2006 23:11:47 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:28 -0700 [DECNET]: Increase number of possible routing tables to 2^32 Increase the number of possible routing tables to 2^32 by replacing the fixed sized array of pointers by a hash table and replacing iterations over all possible table IDs by hash table walking. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1b43af5480c351dbcb2eef478bafe179cbeb6e83 tree c69adf005f89c7f5147ad338f1e7243aebc14008 parent 1af5a8c4a11cfed0c9a7f30fcfb689981750599c author Patrick McHardy Thu, 10 Aug 2006 23:11:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:27 -0700 [IPV6]: Increase number of possible routing tables to 2^32 Increase number of possible routing tables to 2^32 by replacing iterations over all possible table IDs by hash table walking. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1af5a8c4a11cfed0c9a7f30fcfb689981750599c tree 9affafefd0b4a023d527e3f5d386957bd1dace7b parent 9e762a4a89b302cb3b26a1f9bb33eff459eaeca9 author Patrick McHardy Thu, 10 Aug 2006 23:10:46 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:26 -0700 [IPV4]: Increase number of possible routing tables to 2^32 Increase the number of possible routing tables to 2^32 by replacing the fixed sized array of pointers by a hash table and replacing iterations over all possible table IDs by hash table walking. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 9e762a4a89b302cb3b26a1f9bb33eff459eaeca9 tree 4be606cc6bfe097beac3aeeea32b4adc107409b7 parent 2dfe55b47e3d66ded5a84caf71e0da5710edf48b author Patrick McHardy Thu, 10 Aug 2006 23:09:48 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:25 -0700 [NET]: Introduce RTA_TABLE/FRA_TABLE attributes Introduce RTA_TABLE route attribute and FRA_TABLE routing rule attribute to hold 32 bit routing table IDs. Usespace compatibility is provided by continuing to accept and send the rtm_table field, but because of its limited size it can only carry the low 8 bits of the table ID. This implies that if larger IDs are used, _all_ userspace programs using them need to use RTA_TABLE. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 2dfe55b47e3d66ded5a84caf71e0da5710edf48b tree f3818a7016985f79856212d797921e319bff8cd2 parent d924424aaed116b362c6d0e667d912b77e655085 author Patrick McHardy Thu, 10 Aug 2006 23:08:33 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:24 -0700 [NET]: Use u32 for routing table IDs Use u32 for routing table IDs in net/ipv4 and net/decnet in preparation of support for a larger number of routing tables. net/ipv6 already uses u32 everywhere and needs no further changes. No functional changes are made by this patch. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d924424aaed116b362c6d0e667d912b77e655085 tree 3e0471efbc0e5bdba5daee4238eb3996aaafb5d7 parent 1e38bb3a38d08129d08c904b10ea3ba08e22d297 author Stephen Hemminger Thu, 10 Aug 2006 23:03:23 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:23 -0700 [NEIGHBOUR]: Use ALIGN() macro. Rather than opencoding the mask, it looks better to use ALIGN() macro from kernel.h. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 1e38bb3a38d08129d08c904b10ea3ba08e22d297 tree 9397a07c4ba054be8a343694597a622b16fcdaf9 parent bf0d52492d82ad70684e17c8a46942c13d0e140e author David S. Miller Thu, 10 Aug 2006 00:22:41 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:22 -0700 [NET]: Kill double initialization in sock_alloc_inode. No need to set ei->socket.flags to zero twice. Signed-off-by: David S. Miller commit bf0d52492d82ad70684e17c8a46942c13d0e140e tree d3d60f2eb4a19dc18d00a53f6aebeae60629234f parent f0fd27d42e39b91f85e1840ec49b072fd6c545b8 author Dave Jones Fri, 22 Sep 2006 14:00:29 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:21 -0700 [NET]: Remove unnecessary config.h includes from net/ config.h is automatically included by kbuild these days. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit f0fd27d42e39b91f85e1840ec49b072fd6c545b8 tree aa4d1cbe1671507e4d0ec6787076db92a0ee5926 parent 55737fda0bc73cb20f702301d8b52938a5a43630 author Stephen Hemminger Wed, 09 Aug 2006 21:03:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:20 -0700 [NET]: sock_register interface changes The sock_register() doesn't change the family, so the protocols can define it read-only. No caller ever checks return value from sock_unregister() Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 55737fda0bc73cb20f702301d8b52938a5a43630 tree a605776f772aa189a655da9e5854db5d95e844b7 parent 757dbb494be3309fe41ce4c62f8057d8b41d8897 author Stephen Hemminger Fri, 01 Sep 2006 00:23:39 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:19 -0700 [NET]: socket family using RCU Replace the gross custom locking done in socket code for net_family[] with simple RCU usage. Some reordering necessary to avoid sleep issues with sock_alloc. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 757dbb494be3309fe41ce4c62f8057d8b41d8897 tree f55c1a64768261d71b7845c33d1984ec78eeea77 parent 89bddce58e85bb18b13f5077e8349ba9a3ee2597 author Stephen Hemminger Wed, 09 Aug 2006 20:50:00 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:18 -0700 [NET]: drop unused elements from net_proto_family Three values in net_proto_family are defined but never used. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 89bddce58e85bb18b13f5077e8349ba9a3ee2597 tree ec91323f823a43be782efcfd2914ae6a2edf7ab6 parent 53fad3cbff120d8987f377eff374cf4db4ecb177 author Stephen Hemminger Fri, 01 Sep 2006 00:19:31 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:17 -0700 [NET] socket: code style cleanup Make socket.c conform to current style: * run through Lindent * get rid of unneeded casts * split assignment and comparsion where possible Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 53fad3cbff120d8987f377eff374cf4db4ecb177 tree 43078f18154d1109913f95d7fc3bd7da61ca8f1b parent a22ec367b08455f95fa0096ce1999950b6f6911c author Sridhar Samudrala Wed, 09 Aug 2006 17:03:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:16 -0700 [SUNRPC]: Remove the unnecessary check for highmem in xs_sendpages(). Just call kernel_sendpage() directly. Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit a22ec367b08455f95fa0096ce1999950b6f6911c tree ca6a3be19df20cf63b513d8540e9dc84b5e33bc4 parent a8731cbf61c8768ea129780b70dc7dfc6795aad4 author Steven Whitehouse Wed, 09 Aug 2006 16:00:57 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:15 -0700 [DECNET]: Convert rwlock to spinlock As per Stephen Hemminger's recent patch to ipv4/fib_semantics.c this is the same change but for DECnet. Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller commit a8731cbf61c8768ea129780b70dc7dfc6795aad4 tree 82e177adc2b342d9943d1737f82fc1b205116b14 parent 8f491069b40be5d627007a343f99759e9da6a178 author Steven Whitehouse Wed, 09 Aug 2006 15:56:46 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:15 -0700 [DECNET]: Covert rules to use generic code This patch converts the DECnet rules code to use the generic rules system created by Thomas Graf . Signed-off-by: Steven Whitehouse Acked-by: Thomas Graf Signed-off-by: David S. Miller commit 8f491069b40be5d627007a343f99759e9da6a178 tree ba2be735de32fa30015fe22febf4329c8e79ca25 parent 832b4c5e184391773e462653aa862a8cab71f38d author Herbert Xu Wed, 09 Aug 2006 15:47:12 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:14 -0700 [IPV4]: Use network-order dport for all visible inet_lookup_* Right now most inet_lookup_* functions take a host-order hnum instead of a network-order dport because that's how it is represented internally. This means that users of these functions have to be careful about using the right byte-order. To add more confusion, inet_lookup takes a network-order dport unlike all other functions. So this patch changes all visible inet_lookup functions to take a dport and move all dport->hnum conversion inside them. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 832b4c5e184391773e462653aa862a8cab71f38d tree 46eb431ae2f0e2b58a4929bbf3363f64633f10b0 parent b14295532421c40f82ee099fdbd3d011f022e756 author Stephen Hemminger Tue, 29 Aug 2006 16:48:09 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:13 -0700 [IPV4] fib: convert reader/writer to spinlock Ther is no point in using a more expensive reader/writer lock for a low contention lock like the fib_info_lock. The only reader case is in handling route redirects. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit b14295532421c40f82ee099fdbd3d011f022e756 tree 5b08b1c3ef0a33952db11c484fb0e2c69190aac6 parent 99a92ff50424146ba01a222248fd47a1cd55b78f author Ville Nuorvala Tue, 08 Aug 2006 16:44:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:12 -0700 [IPV6]: Make sure fib6_rule_lookup doesn't return NULL The callers of fib6_rule_lookup don't expect it to return NULL, therefore it must return ip6_null_entry whenever fib_rule_lookup fails. Signed-off-by: Ville Nuorvala Signed-off-by: David S. Miller commit 99a92ff50424146ba01a222248fd47a1cd55b78f tree 85f78f657bfb7379206d3b27c5c3fa77bb7a1cd9 parent 1a01912ae0a5666c4c24eaae2b4821711e2ad79a author Herbert Xu Tue, 08 Aug 2006 02:18:10 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:11 -0700 [IPV4]: Uninline inet_lookup_listener By modern standards this function is way too big to be inlined. It's even bigger than __inet_lookup_listener :) Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 1a01912ae0a5666c4c24eaae2b4821711e2ad79a tree 64a3767ce51581a67b435931a3868f545bcac764 parent 0298f36a579b5bd7f10f6f6d57e5929977a865a1 author Louis Nyffenegger Tue, 08 Aug 2006 00:56:11 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:10 -0700 [INET]: Remove is_setbyuser patch The value is_setbyuser from struct ip_options is never used and set only one time (http://linux-net.osdl.org/index.php/TODO#IPV4). This little patch removes it from the kernel source. Signed-off-by: Louis Nyffenegger Signed-off-by: David S. Miller commit 0298f36a579b5bd7f10f6f6d57e5929977a865a1 tree 090ba1183c598a5e7f65e89998538f3917d7f093 parent 8423a9aadfaa135fd5fd1ab8bbd4a1e76b4143c9 author David S. Miller Mon, 07 Aug 2006 21:56:52 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:09 -0700 [IPV4]: Kill fib4_rules_clean(). As noted by Adrian Bunk this function is totally unused. Signed-off-by: David S. Miller commit 8423a9aadfaa135fd5fd1ab8bbd4a1e76b4143c9 tree f9f98736ef5aee88a297043ecd4cc1cc6f655879 parent 8ce11e6a9faf1f1c849b77104adc1642c46aee95 author David S. Miller Mon, 07 Aug 2006 21:54:37 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:08 -0700 [IPV6]: Protect RTM_GETRULE table entry with IPV6_MULTIPLE_TABLES ifdef This is how IPv4 handles this case too. Based upon a patch from Andrew Morton. Signed-off-by: David S. Miller commit 8ce11e6a9faf1f1c849b77104adc1642c46aee95 tree 58b169b6856d5eafb8cbc1fa547ff967be9ad30c parent e6242e928ef1e4ed853f909a7479e4934f4bcb70 author Adrian Bunk Mon, 07 Aug 2006 21:50:48 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:07 -0700 [NET]: Make code static. This patch makes needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit e6242e928ef1e4ed853f909a7479e4934f4bcb70 tree f348f28e1993c73b2683f7edf87ef673ad2d5ec8 parent ac5a488ef252ed673cb067843e411f8cc43f7ab9 author Sridhar Samudrala Mon, 07 Aug 2006 20:58:01 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:06 -0700 [SUNRPC]: Update to use in-kernel sockets API. Signed-off-by: Sridhar Samudrala Acked-by: James Morris Signed-off-by: David S. Miller commit ac5a488ef252ed673cb067843e411f8cc43f7ab9 tree e607478560ed050723fe5e578dc5ede37bedfa93 parent b63bbc5006a0a62fabc81c4f77e95f16ff16f340 author Sridhar Samudrala Mon, 07 Aug 2006 20:57:31 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:05 -0700 [NET]: Round out in-kernel sockets API This patch implements wrapper functions that provide a convenient way to access the sockets API for in-kernel users like sunrpc, cifs & ocfs2 etc and any future users. Signed-off-by: Sridhar Samudrala Acked-by: James Morris Signed-off-by: David S. Miller commit b63bbc5006a0a62fabc81c4f77e95f16ff16f340 tree 49c4e77ca662ca99863e556b08ff8900256f2a3a parent ca860fb39b4aa1479e2fea67435a2c1eac9ce789 author Thomas Graf Mon, 07 Aug 2006 18:00:57 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:04 -0700 [NEIGH]: Move netlink neighbour table bits to linux/neighbour.h rtnetlink_rcv_msg() is not longer required to parse attributes for the neighbour tables layer, remove dependency on obsolete and buggy rta_buf. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit ca860fb39b4aa1479e2fea67435a2c1eac9ce789 tree 02437f9e08c0cd001cef7e74adcb0f26c418f60c parent 6b3f8674bccbb2e784d01e44373fb730af6cb149 author Thomas Graf Mon, 07 Aug 2006 18:00:18 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:03 -0700 [NEIGH]: Convert neighbour table dumping to new netlink api Also fixes skipping of already dumped neighbours. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 6b3f8674bccbb2e784d01e44373fb730af6cb149 tree f6632cf6c5a06d79e3023aa5828600d64d348907 parent 9067c722cf6930adf1df2d169de9094dd90b0c33 author Thomas Graf Mon, 07 Aug 2006 17:58:53 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:02 -0700 [NEIGH]: Convert neighbour table modification to new netlink api Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 9067c722cf6930adf1df2d169de9094dd90b0c33 tree eb2133038cbd85bbf55b5acd2d5297f03357e45b parent 8b8aec508302d4e63fd88f47894805115277f70f author Thomas Graf Mon, 07 Aug 2006 17:57:44 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:01 -0700 [NEIGH]: Move netlink neighbour bits to linux/neighbour.h Moves netlink neighbour bits to linux/neighbour.h. Also moves bits to be exported to userspace from net/neighbour.h to linux/neighbour.h and removes __KERNEL__ guards, userspace is not supposed to be using it. rtnetlink_rcv_msg() is not longer required to parse attributes for the neighbour layer, remove dependency on obsolete and buggy rta_buf. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 8b8aec508302d4e63fd88f47894805115277f70f tree 79972eb86fb0a01552bd6ed010126040aa32c34e parent 5208debd0f1da07bbb350f8b0b142775d4f002ea author Thomas Graf Mon, 07 Aug 2006 17:56:37 -0700 committer David S. Miller Fri, 22 Sep 2006 14:54:00 -0700 [NEIGH]: Convert neighbour dumping to new netlink api Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 5208debd0f1da07bbb350f8b0b142775d4f002ea tree fc8d407d963c6d4b36a708006487327336b04c25 parent a14a49d2b7b9290e87751f21f503f1954267d4c4 author Thomas Graf Mon, 07 Aug 2006 17:55:40 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:59 -0700 [NEIGH]: Convert neighbour addition to new netlink api Fixes: Return EAFNOSUPPORT if no table matches the specified address family. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit a14a49d2b7b9290e87751f21f503f1954267d4c4 tree d2d8719332e1b6966d53830de955dec6fb360d70 parent 3226f6881719e61e00e92b4c85a8ef49aa4d42b1 author Thomas Graf Mon, 07 Aug 2006 17:53:08 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:58 -0700 [NEIGH]: Convert neighbour deletion to new netlink api Fixes: Return ENOENT if the neighbour is not found (was EINVAL) Return EAFNOSUPPORT if no table matches the specified address family. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 3226f6881719e61e00e92b4c85a8ef49aa4d42b1 tree 9070d7dcf78183e019a033c076fd335f4c37303c parent 6c813a7297e3af4cd7c3458e09e9ee3d161c6830 author Patrick McHardy Sun, 06 Aug 2006 22:24:08 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:58 -0700 [IPV6]: Fix policy routing lookup When the lookup in a table returns ip6_null_entry the policy routing lookup returns it instead of continuing in the next table, which effectively means it only searches the local table. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6c813a7297e3af4cd7c3458e09e9ee3d161c6830 tree f4f954814585c1e5eda070742da5a108dd2dbc19 parent d7aba67f814729647c938ac6da2d5224b790f926 author Patrick McHardy Sun, 06 Aug 2006 22:22:47 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:57 -0700 [IPV6]: Fix crash in ip6_del_rt ip6_null_entry doesn't have rt6i_table set, when trying to delete it the kernel crashes dereferencing table->tb6_lock. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d7aba67f814729647c938ac6da2d5224b790f926 tree a33704e2b4bf5276ddf9b664c0145e0f4b498c25 parent 394f545db6e7e4d7a6a2fa3f543b755ca39d58ac author Patrick McHardy Sat, 05 Aug 2006 02:20:42 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:56 -0700 [IPV6]: Fix thinko in rt6_fill_node This looks like a mistake, the table ID is overwritten again. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 394f545db6e7e4d7a6a2fa3f543b755ca39d58ac tree bc757b66d1a394948dace8b57a6272858e5a511b parent 4cf411de49c65140b3c259748629b561c0d3340f author Patrick McHardy Sat, 05 Aug 2006 00:58:52 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:55 -0700 [NETFILTER]: nf_queue: handle GSO packets Handle GSO packets in nf_queue by segmenting them before queueing to avoid breaking GSO in case they get mangled. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4cf411de49c65140b3c259748629b561c0d3340f tree 71dbc9fbbb0b64e805033665e3653d991abb0f7e parent 84fa7933a33f806bbbaae6775e87459b1ec584c0 author Patrick McHardy Sat, 05 Aug 2006 00:58:33 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:54 -0700 [NETFILTER]: Get rid of HW checksum invalidation Update hardware checksums incrementally to avoid breaking GSO. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 84fa7933a33f806bbbaae6775e87459b1ec584c0 tree 5be404225d90f640997b12f631e9b496b3fd0d61 parent 8584d6df39db5601965f9bc5e3bf2fea833ad7bb author Patrick McHardy Tue, 29 Aug 2006 16:44:56 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:53 -0700 [NET]: Replace CHECKSUM_HW by CHECKSUM_PARTIAL/CHECKSUM_COMPLETE Replace CHECKSUM_HW by CHECKSUM_PARTIAL (for outgoing packets, whose checksum still needs to be completed) and CHECKSUM_COMPLETE (for incoming packets, device supplied full checksum). Patch originally from Herbert Xu, updated by myself for 2.6.18-rc3. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 8584d6df39db5601965f9bc5e3bf2fea833ad7bb tree b0fe1c5a0bb36ac9692feebfc87c4ece3c0a083b parent 0844565fb8a9418f5a860aa480c1aef70319c9a2 author Patrick McHardy Sat, 05 Aug 2006 00:56:16 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:51 -0700 [NETFILTER]: netbios conntrack: fix compile Fix compile breakage caused by move of IFA_F_SECONDARY to new header file. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 0844565fb8a9418f5a860aa480c1aef70319c9a2 tree 9f75d9472ca3ad12121deef6729ddf96b8b8f687 parent b60c5115f4abf0b961a18682889798dcfbe6a801 author Thomas Graf Fri, 04 Aug 2006 23:05:56 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:50 -0700 [NET]: Move netlink interface bits to linux/if.h Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit b60c5115f4abf0b961a18682889798dcfbe6a801 tree 2612f4a912b3396b6770cb3b8a7ae0e71b0ecc13 parent da5e0494c542dddc56a1f1edfd30310ea30f41ff author Thomas Graf Fri, 04 Aug 2006 23:05:34 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:49 -0700 [NET]: Convert link dumping to new netlink api Transforms netlink code to dump link tables to use the new netlink api. Makes rtnl_getlink() available regardless of the availability of the wireless extensions. Adding copy_rtnl_link_stats() avoids the structural dependency of struct rtnl_link_stats on struct net_device_stats and thus avoids troubles later on. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit da5e0494c542dddc56a1f1edfd30310ea30f41ff tree 7b1a0d32607fa184f6b5a807cd877e9fe31a2bef parent 1823730fbc89fadde72a7bb3b7bdf03cc7b8835c author Thomas Graf Thu, 10 Aug 2006 21:17:37 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:48 -0700 [NET]: Convert link modification to new netlink api Transforms do_setlink() into rtnl_setlink() using the new netlink api. A warning message printed to the console is added in the event that a change request fails while part of the change request has been comitted already. The ioctl() based nature of net devices makes it almost impossible to move on to atomic netlink operations without obsoleting some of the functionality. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 1823730fbc89fadde72a7bb3b7bdf03cc7b8835c tree c11f23e7cc15f47d61994fc370ece9841203dec2 parent 47f68512d2685431f1781830dfcbab31bda87644 author Thomas Graf Fri, 04 Aug 2006 23:04:54 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:47 -0700 [IPv4]: Move interface address bits to linux/if_addr.h Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 47f68512d2685431f1781830dfcbab31bda87644 tree 3bf7335dd213ac1a51f497ee1f0c2ea49a26820a parent dfdd5fd4e93d98e06be9ac9db84e3b98c6c26706 author Thomas Graf Fri, 04 Aug 2006 23:04:36 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:46 -0700 [IPV4]: Convert address dumping to new netlink api Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit dfdd5fd4e93d98e06be9ac9db84e3b98c6c26706 tree 521f60c85516ace4a28db7c1e7a7a04e2a6557a2 parent 5c7539781d392629fb40b04aad9a1f197b66cd01 author Thomas Graf Fri, 04 Aug 2006 23:04:17 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:45 -0700 [IPV4]: Convert address deletion to new netlink api Fixes various unvalidated netlink attributes causing memory corruptions when left empty by userspace. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 5c7539781d392629fb40b04aad9a1f197b66cd01 tree 4c625e6191c7dd9fdb7d2479993c4b94ea322290 parent bf8b79e444a748963c71d2a58709e1ce5597e1b5 author Thomas Graf Fri, 04 Aug 2006 23:03:53 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:45 -0700 [IPV4]: Convert address addition to new netlink api Adds rtm_to_ifaddr() transforming a netlink message to a struct in_ifaddr. Fixes various unvalidated netlink attributes causing memory corruptions when left empty by userspace applications. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit bf8b79e444a748963c71d2a58709e1ce5597e1b5 tree 4f598fc078926f3729cc615d0a5a00c2d1e57967 parent fe4944e59c357f945f81bc67edb7ed1392e875ad author Thomas Graf Fri, 04 Aug 2006 23:03:29 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:44 -0700 [NETLINK]: Convert core netlink handling to new netlink api Fixes a theoretical memory and locking leak when the size of the netlink header would exceed the skb tailroom. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit fe4944e59c357f945f81bc67edb7ed1392e875ad tree 9634365d416ac574442fc7e21e1eaa26a71a26d1 parent e1ef4bf23b1ced0bf78a1c98289f746486e5c912 author Thomas Graf Fri, 04 Aug 2006 23:03:05 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:43 -0700 [NETLINK]: Extend netlink messaging interface Adds: nlmsg_get_pos() return current position in message nlmsg_trim() trim part of message nla_reserve_nohdr(skb, len) reserve room for an attribute w/o hdr nla_put_nohdr(skb, len, data) add attribute w/o hdr nla_find_nested() find attribute in nested attributes Fixes nlmsg_new() to take allocation flags and consider size. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e1ef4bf23b1ced0bf78a1c98289f746486e5c912 tree 9085559a5bf39e2dffa33d2ae4548d7b15d27064 parent 101367c2f8c464ea96643192673aa18d88e6336d author Thomas Graf Fri, 04 Aug 2006 03:39:22 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:42 -0700 [IPV4]: Use Protocol Independant Policy Routing Rules Framework Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 101367c2f8c464ea96643192673aa18d88e6336d tree bf129373fb6f9e168671f42bf597e5564cdfbd42 parent 14c0b97ddfc2944982d078b8e33b088840068976 author Thomas Graf Fri, 04 Aug 2006 03:39:02 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:41 -0700 [IPV6]: Policy Routing Rules Adds support for policy routing rules including a new local table for routes with a local destination. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 14c0b97ddfc2944982d078b8e33b088840068976 tree 41109287d7e143da29b4bc8742040582af17d870 parent c71099acce933455123ee505cc75964610a209ad author Thomas Graf Fri, 04 Aug 2006 03:38:38 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:40 -0700 [NET]: Protocol Independant Policy Routing Rules Framework Derived from net/ipv/fib_rules.c Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit c71099acce933455123ee505cc75964610a209ad tree cf167c926350ff6c4040289dacce54849824c240 parent 5d0bbeeb144f631150881712607345c532e38e7e author Thomas Graf Fri, 04 Aug 2006 23:20:06 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:39 -0700 [IPV6]: Multiple Routing Tables Adds the framework to support multiple IPv6 routing tables. Currently all automatically generated routes are put into the same table. This could be changed at a later point after considering the produced locking overhead. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 5d0bbeeb144f631150881712607345c532e38e7e tree 379a9e7bd63ecc3a4b3886aa297ba8cf282b273e parent 8161327311fe4da1684ed08015e141feb9a0a737 author Thomas Graf Fri, 04 Aug 2006 03:37:36 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:38 -0700 [IPV6]: Remove ndiscs rt6_lock dependency (Ab)using rt6_lock wouldn't work anymore if rt6_lock is converted into a per table lock. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 8161327311fe4da1684ed08015e141feb9a0a737 tree fe21222e18d93f01fa05c6bc2dd60f16fa03575f parent 7420ed23a4f77480b5b7b3245e5da30dd24b7575 author Paul Moore Thu, 03 Aug 2006 16:50:39 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:37 -0700 [NetLabel]: tie NetLabel into the Kconfig system Modify the net/Kconfig file to enable selecting the NetLabel Kconfig options. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit 7420ed23a4f77480b5b7b3245e5da30dd24b7575 tree 016f5bb996c5eae66754b10243c5be6226d773f2 parent 96cb8e3313c7a12e026c1ed510522ae6f6023875 author Venkat Yekkirala Fri, 04 Aug 2006 23:17:57 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:36 -0700 [NetLabel]: SELinux support Add NetLabel support to the SELinux LSM and modify the socket_post_create() LSM hook to return an error code. The most significant part of this patch is the addition of NetLabel hooks into the following SELinux LSM hooks: * selinux_file_permission() * selinux_socket_sendmsg() * selinux_socket_post_create() * selinux_socket_sock_rcv_skb() * selinux_socket_getpeersec_stream() * selinux_socket_getpeersec_dgram() * selinux_sock_graft() * selinux_inet_conn_request() The basic reasoning behind this patch is that outgoing packets are "NetLabel'd" by labeling their socket and the NetLabel security attributes are checked via the additional hook in selinux_socket_sock_rcv_skb(). NetLabel itself is only a labeling mechanism, similar to filesystem extended attributes, it is up to the SELinux enforcement mechanism to perform the actual access checks. In addition to the changes outlined above this patch also includes some changes to the extended bitmap (ebitmap) and multi-level security (mls) code to import and export SELinux TE/MLS attributes into and out of NetLabel. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit 96cb8e3313c7a12e026c1ed510522ae6f6023875 tree 35d796afb2365041bc98fdba8f1734419be6b6c8 parent d15c345fe3b8dfda0fa5a1d2143a35fffa746a43 author Paul Moore Thu, 03 Aug 2006 16:48:59 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:35 -0700 [NetLabel]: CIPSOv4 and Unlabeled packet integration Add CIPSO/IPv4 and unlabeled packet management to the NetLabel subsystem. The CIPSO/IPv4 changes allow the configuration of CIPSO/IPv4 within the overall NetLabel framework. The unlabeled packet changes allows NetLabel to pass unlabeled packets without error. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit d15c345fe3b8dfda0fa5a1d2143a35fffa746a43 tree 7de6afd5f4de2fca01eaca879e342ab493dc0bba parent 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 author Paul Moore Thu, 03 Aug 2006 16:48:37 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:34 -0700 [NetLabel]: core NetLabel subsystem Add a new kernel subsystem, NetLabel, to provide explicit packet labeling services (CIPSO, RIPSO, etc.) to LSM developers. NetLabel is designed to work in conjunction with a LSM to intercept and decode security labels on incoming network packets as well as ensure that outgoing network packets are labeled according to the security mechanism employed by the LSM. The NetLabel subsystem is configured through a Generic NETLINK interface described in the header files included in this patch. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 tree 1e095b7f705fafe0e301b7ce0c61a1f92a2a6a8d parent 11a03f78fbf15a866ba3bf6359a75cdfd1ced703 author Paul Moore Thu, 03 Aug 2006 16:48:06 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:33 -0700 [NetLabel]: CIPSOv4 engine Add support for the Commercial IP Security Option (CIPSO) to the IPv4 network stack. CIPSO has become a de-facto standard for trusted/labeled networking amongst existing Trusted Operating Systems such as Trusted Solaris, HP-UX CMW, etc. This implementation is designed to be used with the NetLabel subsystem to provide explicit packet labeling to LSM developers. The CIPSO/IPv4 packet labeling works by the LSM calling a NetLabel API function which attaches a CIPSO label (IPv4 option) to a given socket; this in turn attaches the CIPSO label to every packet leaving the socket without any extra processing on the outbound side. On the inbound side the individual packet's sk_buff is examined through a call to a NetLabel API function to determine if a CIPSO/IPv4 label is present and if so the security attributes of the CIPSO label are returned to the caller of the NetLabel API function. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit 11a03f78fbf15a866ba3bf6359a75cdfd1ced703 tree 49c4c35124c05826a940fba6633dd815985cf8a9 parent 8802f616f6de8576805f32e47602816f141118f2 author Paul Moore Thu, 03 Aug 2006 16:46:20 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:32 -0700 [NetLabel]: core network changes Changes to the core network stack to support the NetLabel subsystem. This includes changes to the IPv4 option handling to support CIPSO labels. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit 8802f616f6de8576805f32e47602816f141118f2 tree 0763c745b3b09ebb085b7d8625447e284a5650de parent a51c64f1e5c2876eab2a32955acd9e8015c91c15 author Paul Moore Thu, 03 Aug 2006 16:45:49 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:31 -0700 [NetLabel]: documentation Documentation for the NetLabel system, this includes a basic overview of how NetLabel works, how LSM developers can integrate it into their favorite LSM, as well as documentation on the CIPSO related sysctl variables. Also, due to the difficulty of finding expired IETF drafts, I am including the IETF CIPSO draft that is the basis of the NetLabel CIPSO implementation. Signed-off-by: Paul Moore Signed-off-by: David S. Miller commit a51c64f1e5c2876eab2a32955acd9e8015c91c15 tree 1cc49c6ee7a3135ea000956e5fef41ff4c8e2ebe parent 4237c75c0a35535d7f9f2bfeeb4b4df1e068a0bf author Venkat Yekkirala Thu, 27 Jul 2006 22:01:34 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:30 -0700 [MLSXFRM]: Fix build with SECURITY_NETWORK_XFRM disabled. The following patch will fix the build problem (encountered by Andrew Morton) when SECURITY_NETWORK_XFRM is not enabled. As compared to git-net-selinux_xfrm_decode_session-build-fix.patch in -mm, this patch sets the return parameter sid to SECSID_NULL in selinux_xfrm_decode_session() and handles this value in the caller selinux_inet_conn_request() appropriately. Signed-off-by: Venkat Yekkirala Acked-by: James Morris Signed-off-by: David S. Miller commit 4237c75c0a35535d7f9f2bfeeb4b4df1e068a0bf tree 02adcb6fe6c346a8b99cf161ba5233ed1e572727 parent cb969f072b6d67770b559617f14e767f47e77ece author Venkat Yekkirala Mon, 24 Jul 2006 23:32:50 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:29 -0700 [MLSXFRM]: Auto-labeling of child sockets This automatically labels the TCP, Unix stream, and dccp child sockets as well as openreqs to be at the same MLS level as the peer. This will result in the selection of appropriately labeled IPSec Security Associations. This also uses the sock's sid (as opposed to the isec sid) in SELinux enforcement of secmark in rcv_skb and postroute_last hooks. Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit cb969f072b6d67770b559617f14e767f47e77ece tree 4112eb0182e8b3e28b42aebaa40ca25454fc6b76 parent beb8d13bed80f8388f1a9a107d07ddd342e627e8 author Venkat Yekkirala Mon, 24 Jul 2006 23:32:20 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:28 -0700 [MLSXFRM]: Default labeling of socket specific IPSec policies This defaults the label of socket-specific IPSec policies to be the same as the socket they are set on. Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit beb8d13bed80f8388f1a9a107d07ddd342e627e8 tree 19d5763b9b3b8ff3969997565e5ec0edd6e4bd33 parent 4e2ba18eae7f370c7c3ed96eaca747cc9b39f917 author Venkat Yekkirala Fri, 04 Aug 2006 23:12:42 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:27 -0700 [MLSXFRM]: Add flow labeling This labels the flows that could utilize IPSec xfrms at the points the flows are defined so that IPSec policy and SAs at the right label can be used. The following protos are currently not handled, but they should continue to be able to use single-labeled IPSec like they currently do. ipmr ip_gre ipip igmp sit sctp ip6_tunnel (IPv6 over IPv6 tunnel device) decnet Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit 4e2ba18eae7f370c7c3ed96eaca747cc9b39f917 tree 9165d8c0fea650e3cf226d4e0bb3c153978f8ae0 parent 0d681623d30c6565e8b62889f3aa3f4d4662c3e8 author Venkat Yekkirala Mon, 24 Jul 2006 23:31:14 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:26 -0700 [MLSXFRM]: Add security context to acquire messages using PF_KEY This includes the security context of a security association created for use by IKE in the acquire messages sent to IKE daemons using PF_KEY. This would allow the daemons to include the security context in the negotiation, so that the resultant association is unique to that security context. Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit 0d681623d30c6565e8b62889f3aa3f4d4662c3e8 tree ecda711a40bcee7472e2e25e68cc712854245fad parent e0d1caa7b0d5f02e4f34aa09c695d04251310c6c author Serge Hallyn Mon, 24 Jul 2006 23:30:44 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:25 -0700 [MLSXFRM]: Add security context to acquire messages using netlink This includes the security context of a security association created for use by IKE in the acquire messages sent to IKE daemons using netlink/xfrm_user. This would allow the daemons to include the security context in the negotiation, so that the resultant association is unique to that security context. Signed-off-by: Serge Hallyn Signed-off-by: David S. Miller commit e0d1caa7b0d5f02e4f34aa09c695d04251310c6c tree bf023c17abf6813f2694ebf5fafff82edd6a1023 parent b6340fcd761acf9249b3acbc95c4dc555d9beb07 author Venkat Yekkirala Mon, 24 Jul 2006 23:29:07 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:24 -0700 [MLSXFRM]: Flow based matching of xfrm policy and state This implements a seemless mechanism for xfrm policy selection and state matching based on the flow sid. This also includes the necessary SELinux enforcement pieces. Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit b6340fcd761acf9249b3acbc95c4dc555d9beb07 tree d7691da37f840833dae9a14bacd4b657101f5c79 parent 892c141e62982272b9c738b5520ad0e5e1ad7b42 author Venkat Yekkirala Mon, 24 Jul 2006 23:28:37 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:23 -0700 [MLSXFRM]: Add security sid to flowi This adds security to flow key for labeling of flows as also to allow for making flow cache lookups based on the security label seemless. Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit 892c141e62982272b9c738b5520ad0e5e1ad7b42 tree c8e0c9b3e55106d2cb085a5047b9d02dbbb28653 parent 08554d6b33e60aa8ee40bbef94505941c0eefef2 author Venkat Yekkirala Fri, 04 Aug 2006 23:08:56 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:22 -0700 [MLSXFRM]: Add security sid to sock This adds security for IP sockets at the sock level. Security at the sock level is needed to enforce the SELinux security policy for security associations even when a sock is orphaned (such as in the TCP LAST_ACK state). This will also be used to enforce SELinux controls over data arriving at or leaving a child socket while it's still waiting to be accepted. Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit 08554d6b33e60aa8ee40bbef94505941c0eefef2 tree 1610750ccd13872a33fffffcce057e10aa785d2e parent 51bd39860ff829475aef611a3234309e37e090d9 author Venkat Yekkirala Mon, 24 Jul 2006 23:27:16 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:21 -0700 [MLSXFRM]: Define new SELinux service routine This defines a routine that combines the Type Enforcement portion of one sid with the MLS portion from the other sid to arrive at a new sid. This would be used to define a sid for a security association that is to be negotiated by IKE as well as for determing the sid for open requests and connection-oriented child sockets. Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit 51bd39860ff829475aef611a3234309e37e090d9 tree 2ff1569f44f54ecad1d1d232bacfa4c76b9502a6 parent e6e5fee1426bef07f4e6c3c76f48343c14207938 author Venkat Yekkirala Mon, 24 Jul 2006 23:26:30 -0700 committer David S. Miller Fri, 22 Sep 2006 14:53:20 -0700 [MLSXFRM]: Granular IPSec associations for use in MLS environments The current approach to labeling Security Associations for SELinux purposes uses a one-to-one mapping between xfrm policy rules and security associations. This doesn't address the needs of real world MLS (Multi-level System, traditional Bell-LaPadula) environments where a single xfrm policy rule (pertaining to a range, classified to secret for example) might need to map to multiple Security Associations (one each for classified, secret, top secret and all the compartments applicable to these security levels). This patch set addresses the above problem by allowing for the mapping of a single xfrm policy rule to multiple security associations, with each association used in the security context it is defined for. It also includes the security context to be used in IKE negotiation in the acquire messages sent to the IKE daemon so that a unique SA can be negotiated for each unique security context. A couple of bug fixes are also included; checks to make sure the SAs used by a packet match policy (security context-wise) on the inbound and also that the bundle used for the outbound matches the security context of the flow. This patch set also makes the use of the SELinux sid in flow cache lookups seemless by including the sid in the flow key itself. Also, open requests as well as connection-oriented child sockets are labeled automatically to be at the same level as the peer to allow for use of appropriately labeled IPSec associations. Description of changes: A "sid" member has been added to the flow cache key resulting in the sid being available at all needed locations and the flow cache lookups automatically using the sid. The flow sid is derived from the socket on the outbound and the SAs (unlabeled where an SA was not used) on the inbound. Outbound case: 1. Find policy for the socket. 2. OLD: Find an SA that matches the policy. NEW: Find an SA that matches BOTH the policy and the flow/socket. This is necessary since not every SA that matches the policy can be used for the flow/socket. Consider policy range Secret-TS, and SAs each for Secret and TS. We don't want a TS socket to use the Secret SA. Hence the additional check for the SA Vs. flow/socket. 3. NEW: When looking thru bundles for a policy, make sure the flow/socket can use the bundle. If a bundle is not found, create one, calling for IKE if necessary. If using IKE, include the security context in the acquire message to the IKE daemon. Inbound case: 1. OLD: Find policy for the socket. NEW: Find policy for the incoming packet based on the sid of the SA(s) it used or the unlabeled sid if no SAs were used. (Consider a case where a socket is "authorized" for two policies (unclassified-confidential, secret-top_secret). If the packet has come in using a secret SA, we really ought to be using the latter policy (secret-top_secret).) 2. OLD: BUG: No check to see if the SAs used by the packet agree with the policy sec_ctx-wise. (It was indicated in selinux_xfrm_sock_rcv_skb() that this was being accomplished by (x->id.spi == tmpl->id.spi || !tmpl->id.spi) in xfrm_state_ok, but it turns out tmpl->id.spi would normally be zero (unless xfrm policy rules specify one at the template level, which they usually don't). NEW: The socket is checked for access to the SAs used (based on the sid of the SAs) in selinux_xfrm_sock_rcv_skb(). Forward case: This would be Step 1 from the Inbound case, followed by Steps 2 and 3 from the Outbound case. Outstanding items/issues: - Timewait acknowledgements and such are generated in the current/upstream implementation using a NULL socket resulting in the any_socket sid (SYSTEM_HIGH) to be used. This problem is not addressed by this patch set. This patch: Add new flask definitions to SELinux Adds a new avperm "polmatch" to arbitrate flow/state access to a xfrm policy rule. Signed-off-by: Venkat Yekkirala Signed-off-by: David S. Miller commit e6e5fee1426bef07f4e6c3c76f48343c14207938 tree 28f4ca26cf85e0971e9bb4927c439b36c2b93f51 parent 3e59ddff2b8dfe42b15520c4f8f2486bd9f9708e parent fadcfa33b6319a5faf8af2287f08bf93a7f926b6 author Linus Torvalds Fri, 22 Sep 2006 12:56:22 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:56:22 -0700 Merge git://git.infradead.org/~dwmw2/hdroneline * git://git.infradead.org/~dwmw2/hdroneline: [HEADERS] One line per header in Kbuild files to reduce conflicts Manual (trivial) conflict resolution in include/asm-s390/Kbuild commit 3e59ddff2b8dfe42b15520c4f8f2486bd9f9708e tree 10587a53ab093fc498fa52651f8a7c1b2b99af60 parent 6bbd9b6d694ff7242d63cda2faac4bd59ee4328e parent eb35746ca5e2211569b91ebb44d55b88ec91f3b0 author Linus Torvalds Fri, 22 Sep 2006 12:52:16 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:52:16 -0700 Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2 * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2: ocfs2: Remove overzealous BUG_ON() ocfs2: Don't print on unknown remote blocking call ocfs2: Remove EXPERIMENTAL dependency ocfs2: implement directory read-ahead ocfs2: properly update i_mtime on buffered write ocfs2: Fix directory link count checks in ocfs2_link() ocfs2: move nlink check in ocfs2_mknod() ocfs2: Fix heartbeat sector calculation [PATCH] fs/ocfs2/ioctl.c should #include "ioctl.h" ocfs2: add ext2 attributes configfs: Prevent duplicate subsystem names. commit 6bbd9b6d694ff7242d63cda2faac4bd59ee4328e tree 0641aa896e2ea01f4692973e5fbea429408854f4 parent a489d159229fcc07bbb7566ac4fac745b79197ad parent 3c164bd8153c4644a22dc2101b003c67cd2a0d0a author Linus Torvalds Fri, 22 Sep 2006 12:51:33 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:51:33 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (64 commits) [BLOCK] dm-crypt: trivial comment improvements [CRYPTO] api: Deprecate crypto_digest_* and crypto_alg_available [CRYPTO] padlock: Convert padlock-sha to use crypto_hash [CRYPTO] users: Use crypto_comp and crypto_has_* [CRYPTO] api: Add crypto_comp and crypto_has_* [CRYPTO] users: Use crypto_hash interface instead of crypto_digest [SCSI] iscsi: Use crypto_hash interface instead of crypto_digest [CRYPTO] digest: Remove old HMAC implementation [CRYPTO] doc: Update documentation for hash and me [SCTP]: Use HMAC template and hash interface [IPSEC]: Use HMAC template and hash interface [CRYPTO] tcrypt: Use HMAC template and hash interface [CRYPTO] hmac: Add crypto template implementation [CRYPTO] digest: Added user API for new hash type [CRYPTO] api: Mark parts of cipher interface as deprecated [PATCH] scatterlist: Add const to sg_set_buf/sg_init_one pointer argument [CRYPTO] drivers: Remove obsolete block cipher operations [CRYPTO] users: Use block ciphers where applicable [SUNRPC] GSS: Use block ciphers where applicable [IPSEC] ESP: Use block ciphers where applicable ... commit a489d159229fcc07bbb7566ac4fac745b79197ad tree ea7bcf20e845de8a96ccc1549799ac073fb28a84 parent a48178a2fa17beee17d7e6aeaa6ed2db5813552d parent 388c571cffc4ae4e64f0786333e811308acbbc10 author Linus Torvalds Fri, 22 Sep 2006 12:50:35 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:50:35 -0700 Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (44 commits) [S390] hypfs crashes with invalid mount option. [S390] cio: subchannel evaluation function operates without lock [S390] cio: always query all paths on path verification. [S390] cio: update path groups on logical CHPID changes. [S390] cio: subchannels in no-path state. [S390] Replace nopav-message on VM. [S390] set modalias for ccw bus uevents. [S390] Get rid of DBG macro. [S390] Use alternative user-copy operations for new hardware. [S390] Make user-copy operations run-time configurable. [S390] Cleanup in signal handling code. [S390] Cleanup in page table related code. [S390] Linux API for writing z/VM APPLDATA Monitor records. [S390] xpram off by one error. [S390] Remove kexec experimental flag. [S390] cleanup appldata. [S390] fix typo in vmcp. [S390] Kernel stack overflow handling. [S390] qdio slsb processing state. [S390] Missing initialization in common i/o layer. ... commit a48178a2fa17beee17d7e6aeaa6ed2db5813552d tree 74579777d047478b3d62fcc3349a903b53515770 parent 14d1adfc59ba66932ef167fdff62983e7c2b0197 parent 734a56285dbeedc6cc10aef6f700eeab7c65ea9f author Linus Torvalds Fri, 22 Sep 2006 12:49:18 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:49:18 -0700 Merge git://git.infradead.org/mtd-2.6 * git://git.infradead.org/mtd-2.6: Remove accidentally-added include/linux/utsrelease.h Revert "[MTD] blkdev helper code: fix printk format warning" [MTD] Add SSFDC (SmartMedia) read-only translation layer [MTD] pmc551 pci cleanup [MTD] pmc551 use kzalloc [MTD] pmc551 whitespace cleanup [MTD] Remove iq80310 map driver [MTD NAND] Fix in typo ndfc.c causing wrong ECC layout [MTD] physmap: add power management support ioremap balanced with iounmap for drivers/mtd subsystem [MTD] Switch to pci_get_device and do ref counting [MTD] blkdev helper code: fix printk format warning [MTD] Fix ixp4xx partition parsing. [JFFS2] Remove unneeded ifdefs from jffs2_fs_i.h [MTD NAND] Remove old code in au1550nd.c [MTD] Unlock NOR flash automatically where necessary commit 14d1adfc59ba66932ef167fdff62983e7c2b0197 tree 34bad21bf4ec220be87fa5d79ff41dd98e7dad9f parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 parent 69917c26c840e7de94522bf90fb190de63bf92bd author Linus Torvalds Fri, 22 Sep 2006 12:48:03 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:48:03 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (114 commits) [POWERPC] Fix ohare IDE irq workaround on old powermacs [POWERPC] EEH: Power4 systems sometimes need multiple resets. [POWERPC] Include in arch/powerpc/sysdev/fsl_soc.h for phys_addr_t. [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c [POWERPC] Maple U3 HT - reject inappropriate config space access [POWERPC] Fix IPIC pending register assignments [POWERPC] powerpc: fix building gdb against asm/ptrace.h [POWERPC] Remove DISCONTIGMEM cruft from page.h [POWERPC] Merge iSeries i/o operations with the rest [POWERPC] 40x: Fix debug status register defines [POWERPC] Fix compile error in sbc8560 [POWERPC] EEH: support MMIO enable recovery step [POWERPC] EEH: enable MMIO/DMA on frozen slot [POWERPC] EEH: code comment cleanup [POWERPC] EEH: balance pcidev_get/put calls [POWERPC] PPC: Fix xmon stack frame address in backtrace [POWERPC] Add AT_PLATFORM value for Xilinx Virtex-4 FX [POWERPC] Start arch/powerpc/boot code reorganization [POWERPC] Define of_read_ulong helper [POWERPC] iseries: eliminate a couple of warnings ... commit 734a56285dbeedc6cc10aef6f700eeab7c65ea9f tree c13d7334d94afad04e36f0b3ff296e6fcacdd9bb parent e4e3295f0c0e1a09a46522359e24c0569e2e7b47 author David Woodhouse Fri, 22 Sep 2006 18:41:20 +0100 committer David Woodhouse Fri, 22 Sep 2006 18:41:20 +0100 Remove accidentally-added include/linux/utsrelease.h Signed-off-by: David Woodhouse commit e4e3295f0c0e1a09a46522359e24c0569e2e7b47 tree 538e656d60b2872521fcf295f7250df90d21b07a parent 51197abf29657373bcf9803d87da3c3d8fc3a37e author David Woodhouse Fri, 22 Sep 2006 11:05:42 +0100 committer David Woodhouse Fri, 22 Sep 2006 11:05:42 +0100 Revert "[MTD] blkdev helper code: fix printk format warning" This reverts commit 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c. The 'flags' field of the struct request is 'unsigned long'. Quite how Randy came to see 'long int format, different type arg' I don't know, but it doesn't seem to be the case any more. Signed-off-by: David Woodhouse commit 51197abf29657373bcf9803d87da3c3d8fc3a37e tree 9adde058fc9a6817fe0fe45fc2e4e13de36f358f parent 98aacdfde05ccf512d4395eed0d4894eea2d163c author Claudio Lanconelli Fri, 22 Sep 2006 11:01:37 +0100 committer David Woodhouse Fri, 22 Sep 2006 11:01:37 +0100 [MTD] Add SSFDC (SmartMedia) read-only translation layer Signed-off-by: Claudio Lanconelli Signed-off-by: David Woodhouse commit 98aacdfde05ccf512d4395eed0d4894eea2d163c tree 8704accf03834acb16a83cb38f844c1a5e4e4878 parent 7fefb924d7aed7116fe2a68cdbfc9e36318e7300 author Jiri Slaby Tue, 19 Sep 2006 21:55:28 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:34:15 +0100 [MTD] pmc551 pci cleanup Use pci_resource_start for getting start of regions and pci_iomap to not doing this directly by using dev->resource... (Thanks to Rolf Eike Beer) Signed-off-by: Jiri Slaby Signed-off-by: David Woodhouse commit 7fefb924d7aed7116fe2a68cdbfc9e36318e7300 tree d8c5402b6bcf91131dbd7fd471f8c3c0591703da parent cdf0a7d16980858e72f5d26bfe48abf01112fab5 author Jiri Slaby Tue, 19 Sep 2006 21:55:18 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:33:52 +0100 [MTD] pmc551 use kzalloc Use kzalloc instad of kmalloc+memset(0). Signed-off-by: Jiri Slaby Signed-off-by: David Woodhouse commit cdf0a7d16980858e72f5d26bfe48abf01112fab5 tree a46adb9d19fa945dc1ba6e6c62087074834d29a1 parent e417fcfb857b809e5dabc9b252ad70f090d553d1 author Jiri Slaby Tue, 19 Sep 2006 21:55:06 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:33:31 +0100 [MTD] pmc551 whitespace cleanup Spaces were used for indent, there was more than 80 columns per line. Get rid of that stuff. Signed-off-by: Jiri Slaby Signed-off-by: David Woodhouse commit e417fcfb857b809e5dabc9b252ad70f090d553d1 tree 2eaf33a95ad3ee0864604c13423360f743a7225f parent 6a545a0d6021a4d759ba6d0c1082d1abf8d64c84 author Lennert Buytenhek Thu, 21 Sep 2006 03:47:48 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:31:01 +0100 [MTD] Remove iq80310 map driver The iq80310 mtd map driver depends on ARCH_IQ80310, which isn't defined anywhere in the tree (as we don't have 80310 support), and furthermore, everything the driver does can be done with physmap instead. Signed-off-by: Lennert Buytenhek Signed-off-by: David Woodhouse commit 6a545a0d6021a4d759ba6d0c1082d1abf8d64c84 tree 1bd55b9ee6eec2378557bc43630fb163c83075cc parent 17c2dae3aaff9b1e5d83996a5f098ad693f3aeca author Frank Haverkamp Wed, 20 Sep 2006 17:24:52 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:30:25 +0100 [MTD NAND] Fix in typo ndfc.c causing wrong ECC layout Due to this typo, a wrong ECC layout table is chosen. Signed-off-by: Frank Haverkamp Signed-off-by: David Woodhouse commit 17c2dae3aaff9b1e5d83996a5f098ad693f3aeca tree e2d35bb9f404a84761b2641309b22881a4672e7e parent 25f0c659fe64832d8ee06aa623fffaad708dcf8b author Lennert Buytenhek Thu, 21 Sep 2006 23:16:48 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:26:56 +0100 [MTD] physmap: add power management support Implement PM handling for physmap. Idea from Steven Scholz, patch by David Anders. Signed-off-by: Lennert Buytenhek Signed-off-by: David Woodhouse commit 25f0c659fe64832d8ee06aa623fffaad708dcf8b tree b5740156ac2ce5e39aaaba32ddb21b03379abb48 parent dd8e9ed6ed544e2b924429d29cd2a6b55590109b author Amol Lad Thu, 21 Sep 2006 18:12:43 +0530 committer David Woodhouse Fri, 22 Sep 2006 10:24:31 +0100 ioremap balanced with iounmap for drivers/mtd subsystem ioremap must be balanced by an iounmap and failing to do so can result in a memory leak. Tested (compilation only) with: - allmodconfig - Modifying drivers/mtd/maps/Kconfig and drivers/mtd/nand/Kconfig to make sure that the changed file is compiling without warning Signed-off-by: Amol Lad Signed-off-by: David Woodhouse commit dd8e9ed6ed544e2b924429d29cd2a6b55590109b tree 0961c205e59591e7da65ce7504c919e7ee3e4351 parent 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c author Alan Cox Fri, 22 Sep 2006 10:19:20 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:19:20 +0100 [MTD] Switch to pci_get_device and do ref counting Signed-off-by: Alan Cox Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c tree 5caced088dbe000e938fc4848b632994c6563443 parent f40a6f1cc7fe522e51e1ac4c7ab3035a434f2cef author Randy Dunlap Fri, 22 Sep 2006 10:17:28 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:17:28 +0100 [MTD] blkdev helper code: fix printk format warning Fix printk format warning(s): drivers/mtd/mtd_blkdevs.c:72: warning: long int format, different type arg (arg 2) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit f40a6f1cc7fe522e51e1ac4c7ab3035a434f2cef tree d1d449a85661db1241f739bb6f05bc4765aa84e6 parent f2dd117fa51dd8fc071b1352254c0d14d2399b0a author Brian Walsh Fri, 22 Sep 2006 10:16:16 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:16:16 +0100 [MTD] Fix ixp4xx partition parsing. If the amount of flash is not divisible by 2 then the mask in parse_mtd_partitions would fail to work as designed. Passing in the base address corrects this problem. Signed-off-by: Brian Walsh Cc: Deepak Sanexa Cc: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit f2dd117fa51dd8fc071b1352254c0d14d2399b0a tree b7c5e149cdf942723c409b85df8da01fb55324d0 parent cbc88ba83ff772d8c47d95ba0fef38ad888d6fcf author Michal Piotrowski Fri, 22 Sep 2006 10:13:46 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:13:46 +0100 [JFFS2] Remove unneeded ifdefs from jffs2_fs_i.h We certainly don't need the check for Linux version > 2.5.2, and in fact we can also live without the __ECOS check, since we can just add it back in the eCos git tree which is automatically derived from the Linux fs/jffs2 subdirectory in the upstream git tree. Signed-off-by: Michal Piotrowski Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit cbc88ba83ff772d8c47d95ba0fef38ad888d6fcf tree 140bf2cf428ef10db16b7eb3552ec57d1a51f3e8 parent 187ef15268e638603dea55a91fdfa29feaed6d13 author Michal Piotrowski Fri, 22 Sep 2006 10:09:44 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:09:44 +0100 [MTD NAND] Remove old code in au1550nd.c Signed-off-by: Michal Piotrowski Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 187ef15268e638603dea55a91fdfa29feaed6d13 tree a3895b43f90ed87ae54e3b066468ac2c8fdf31ee parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author HÃ¥vard Skinnemoen Fri, 22 Sep 2006 10:07:08 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:07:08 +0100 [MTD] Unlock NOR flash automatically where necessary Introduce the MTD_STUPID_LOCK flag which indicates that the flash chip is always locked after power-up, so all sectors need to be unlocked before it is usable. If this flag is set, and the chip provides an unlock() operation, mtd_add_device will unlock the whole MTD device if it's writeable. This means that non-writeable partitions will stay locked. Set MTD_STUPID_LOCK in fixup_use_atmel_lock() so that these chips will work as expected. Signed-off-by: HÃ¥vard Skinnemoen Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 69917c26c840e7de94522bf90fb190de63bf92bd tree 8ffe260e70dc6bc5be0d010085bec0cebf1ffbd7 parent e102926385b56e593b995ecc433f041b498a49e1 author Benjamin Herrenschmidt Fri, 22 Sep 2006 12:56:30 +1000 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Fix ohare IDE irq workaround on old powermacs Looks like a workaround for old bogus OF bitrot... This fixes it and hence fixes boot on some performa machines. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit e102926385b56e593b995ecc433f041b498a49e1 tree 28426cd50b4cd833a761242b8a7788596e1ddfe0 parent 3d574abd59d49173ac3096a19575a2f7430505be author Linas Vepstas Thu, 21 Sep 2006 18:25:56 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] EEH: Power4 systems sometimes need multiple resets. On detection of an EEH error, some Power4 systems seem to occasionally want to be reset twice before they report themselves as fully recovered. This patch re-arranges the code to attempt additional resets if the first one doesn't take. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 3d574abd59d49173ac3096a19575a2f7430505be tree 8657d051db10eb49e36d85b09269fc075cc53a8e parent cc9881ce371dc7ff3ef5404feda59566fabaf521 author Scott Wood Thu, 21 Sep 2006 13:11:52 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Include in arch/powerpc/sysdev/fsl_soc.h for phys_addr_t. This patch causes fsl_soc.h to import the definition of phys_addr_t itself, rather than relying on its includer to do so. Signed-off-by: Scott Wood Signed-off-by: Paul Mackerras commit cc9881ce371dc7ff3ef5404feda59566fabaf521 tree 3326f263f308f9c3c4bc6cb2737e3c1377fade2a parent d608df5c7da6ee968aa2ad43c596d5f8d4022299 author Nathan Lynch Thu, 21 Sep 2006 14:31:13 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c Noticed that the U3_*CFA macros have some typos: #define U3_HT_CFA0(devfn, off) \ ((((unsigned long)devfn) << 8) | offset) (refers to offset rather than off) #define U3_AGP_CFA0(devfn, off) \ ((1 << (unsigned long)PCI_SLOT(dev_fn)) \ | (((unsigned long)PCI_FUNC(dev_fn)) << 8) \ (refers to dev_fn rather than devfn) Things happen to work, but there doesn't seem to be any reason these shouldn't be functions. Overall behavior should be unchanged. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit d608df5c7da6ee968aa2ad43c596d5f8d4022299 tree 421df8cc60c8570e89b15a74cd67b177ca64778c parent ed709d134deeaea7925a3d748b33ca7e58cc683d author Nathan Lynch Thu, 21 Sep 2006 14:25:34 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Maple U3 HT - reject inappropriate config space access When there is a PCI-X mode 2 capable device behind the HT<->PCI-X bridge, the pci core decides that the device has the extended 4K config space, even though the bus is not operating in mode 2. This is because the u3_ht pci ops silently accept offsets greater than 255 but use only the 8 least significant bits, which means reading at offset 0x100 gets the data at offset 0x0, and causes confusion for lspci. Reject accesses to configuration space offsets greater than 255. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit ed709d134deeaea7925a3d748b33ca7e58cc683d tree 9d42ba6363e933273011e6c31d834b950ea8cad8 parent 7d452c326c2ac879aced884411a0fe3ba75d9c87 author Scott Wood Thu, 21 Sep 2006 13:10:51 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Fix IPIC pending register assignments This patch fixes the assignment of pending registers to IRQ numbers for the IPIC; the code previously assigned all IRQs to the high pending word regardless of which word the interrupt belonged to. Signed-off-by: Scott Wood Signed-off-by: Paul Mackerras commit 7d452c326c2ac879aced884411a0fe3ba75d9c87 tree fd1c533c0ecb8364a00cc28e8f7c8dbca5dc4840 parent 2954da897c40de0f3abdd6a100f2978f30d04068 author Arnd Bergmann Thu, 21 Sep 2006 12:29:51 +0200 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] powerpc: fix building gdb against asm/ptrace.h Ulrich Weigand found a bug with the current version of the asm-powerpc/ptrace.h that prevents building at least the SPU target version of gdb, since some ptrace opcodes are not defined. The problem seems to have originated in the merging of 32 and 64 bit versions of that file, the problem is that some opcodes are only valid on 64 bit kernels, but are also used by 32 bit programs, so they can't depends on the __powerpc64__ symbol. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 2954da897c40de0f3abdd6a100f2978f30d04068 tree 2e695a29fea688539ef4b933918d5d252fa60760 parent caf81329c39b5c48f6cc0d78fa159b5a587e37f9 author Michael Ellerman Thu, 21 Sep 2006 18:21:35 +1000 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Remove DISCONTIGMEM cruft from page.h This looks like cruft to me, these functions don't exist AFAICT, and I can't see that it's possible to even enable DISCONTIGMEM on powerpc anymore. CC'ing some folks who might know better, based on the who-touched-it-last principle. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit caf81329c39b5c48f6cc0d78fa159b5a587e37f9 tree 7cf6afe7a14e2a9d1cc962895b61d8cb24e71793 parent 7da8a2e5c1fd2ee513fdeac8d13c4f3623838fd0 author Stephen Rothwell Thu, 21 Sep 2006 18:00:00 +1000 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Merge iSeries i/o operations with the rest This patch changes the io operations so that they are out of line if CONFIG_PPC_ISERIES is set and includes a firmware feature check in that case. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit b8c06a2ab68661bf841e21003f4447f8d422aed3 tree c3fc32bb2d9a3d6ac35a4c296ba82053681ccc76 parent 6b70c9559bcf381a6521e38b0dd5d3d4d905868a author Steve French Fri, 22 Sep 2006 01:14:52 +0000 committer Steve French Fri, 22 Sep 2006 01:14:52 +0000 [CIFS] statfs for cifs unix extensions no longer experimental Signed-off-by: Steve French commit 7da8a2e5c1fd2ee513fdeac8d13c4f3623838fd0 tree 215564fe0ebd43b8ab659b2ccb01ec487c02d34f parent 8b9b5a77e3aeb9650b511a8be4c61632999537db author Josh Boyer Wed, 20 Sep 2006 09:11:59 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:39 +1000 [POWERPC] 40x: Fix debug status register defines This fixes some debug register defines on PPC 40x that were incorrect. Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras commit 8b9b5a77e3aeb9650b511a8be4c61632999537db tree 1e704132f4fd02db24cf0e73ab6e0c31d1d74e77 parent 6a1ca373a16b0e170164ab8a2d6d01eab2a22f6e author Amy Fong Mon, 18 Sep 2006 23:07:24 -0400 committer Paul Mackerras Thu, 21 Sep 2006 22:59:38 +1000 [POWERPC] Fix compile error in sbc8560 The following fixes compile errors in sbc8560. Signed-off-by: Amy Fong Signed-off-by: Paul Mackerras commit 6a1ca373a16b0e170164ab8a2d6d01eab2a22f6e tree 94408b9a75b9a031fb3dfaf18c4dd192de4fb448 parent 47b5c838af92d3504e99633bf568578203b7305f author Linas Vepstas Fri, 15 Sep 2006 18:58:59 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:20 +1000 [POWERPC] EEH: support MMIO enable recovery step Update to the PowerPC PCI error recovery code. Add code to enable MMIO if a device driver reports that it is capable of recovering on its own. One anticipated use of this having a device driver enable MMIO so that it can take a register dump, which might then be followed by the device driver requesting a full reset. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 47b5c838af92d3504e99633bf568578203b7305f tree 0122e533f39c48572d74a592c61ac394466fff01 parent cb5b562444c27cf53f5d297bd7a89807ea614cf3 author Linas Vepstas Fri, 15 Sep 2006 18:57:42 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:14 +1000 [POWERPC] EEH: enable MMIO/DMA on frozen slot Add wrapper around the rtas call to enable MMIO or DMA on a frozen pci slot. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit cb5b562444c27cf53f5d297bd7a89807ea614cf3 tree 462b0ed5aad52c2595dc6f906eaf6e82919bd0da parent af525592187951a595c73de11b48969a13b5d5a3 author Linas Vepstas Fri, 15 Sep 2006 18:56:35 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:10 +1000 [POWERPC] EEH: code comment cleanup Clean up subroutine documentation; mostly formatting changes, with some new content. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit af525592187951a595c73de11b48969a13b5d5a3 tree 0c0c6876b5278b4390fddf1d49fd9d53dc4ff1b8 parent 4dbefe6459555d6fb9d08743615fbaa53894beb2 author Linas Vepstas Fri, 15 Sep 2006 18:55:34 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:08 +1000 [POWERPC] EEH: balance pcidev_get/put calls This corrects a pci_dev get/put imbalance that can occur only in highly unlikely situations (kmalloc failures, pci devices with overlapping resource addresses). No actual failures seen, this was spotted during code review. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 4dbefe6459555d6fb9d08743615fbaa53894beb2 tree f185541b0b0224ffb2b26de85e8814115faa3ade parent 838fdb4d2d0e4730364220b51be28a42d04c665e author Josh Boyer Fri, 15 Sep 2006 14:53:10 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:55:06 +1000 [POWERPC] PPC: Fix xmon stack frame address in backtrace The stack frame address was being printed incorrectly in the backtrace option of XMON on PPC. This patch fixes it to print the actual stack address instead of the address of the local variable that contains it. Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras commit 838fdb4d2d0e4730364220b51be28a42d04c665e tree 6eaece1f5d1295b3d7f43d5362478cd1d71bf243 parent b2c5f61920eeee9c4e78698de4fde4586fe5ae79 author Peter Bergner Thu, 14 Sep 2006 14:18:38 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:54:54 +1000 [POWERPC] Add AT_PLATFORM value for Xilinx Virtex-4 FX Jakub noticed the cputable.c entry for Xilinx Virtex-4 FX was missing a .platform value, so the AT_PLATFORM value wouldn't be set correctly. This adds it. Signed-off-by: Peter Bergner Signed-off-by: Paul Mackerras commit 6b70c9559bcf381a6521e38b0dd5d3d4d905868a tree 2165ddc6fa0d7677b00fdee6265271ac29024df6 parent 2fe87f02a04ad6e7075023a87fe38eb458a4bb9d author Steve French Thu, 21 Sep 2006 07:35:29 +0000 committer Steve French Thu, 21 Sep 2006 07:35:29 +0000 [CIFS] New POSIX locking code not setting rc properly to zero on successful unlock in case where server does not support POSIX locks and nobrl is not specified. Signed-off-by: Steve French commit 2fe87f02a04ad6e7075023a87fe38eb458a4bb9d tree ec095fecdccad724faa6560cf7a81a9494a5a093 parent b835bebe95608c81270636a78b70333afb011925 author Steve French Thu, 21 Sep 2006 07:02:52 +0000 committer Steve French Thu, 21 Sep 2006 07:02:52 +0000 [CIFS] Support deep tree mounts (e.g. mounts to //server/share/path) Samba bugzilla #4040 Signed-off-by: Steve French commit fd8ae94eea9bb4269d6dff1b47b9dc741bd70d0b tree 88f81d90021bd38b33622169103988f1e0a66510 parent 783c99f42e221217761e9c319838d5533107f7cb parent 54caf44da31995df1f51174468fd9e83ca5c67a2 author Jeff Garzik Thu, 21 Sep 2006 00:08:25 -0400 committer Jeff Garzik Thu, 21 Sep 2006 00:08:25 -0400 Merge branch 'upstream-fixes' into upstream commit 54caf44da31995df1f51174468fd9e83ca5c67a2 tree 306a78de16850b17c81d86492ed088171addbc03 parent 8ce90907ea534f10075a9eba5f83d6dd77b39cb6 author Jeff Garzik Thu, 21 Sep 2006 00:08:10 -0400 committer Jeff Garzik Thu, 21 Sep 2006 00:08:10 -0400 [netdrvr] mv643xx_eth: fix obvious typo, which caused build breakage The last minute fix submitted by the author fixed a bug, but broke the driver build. Noticed by Al Viro, since I can't build on said platform. Signed-off-by: Jeff Garzik commit 8ce90907ea534f10075a9eba5f83d6dd77b39cb6 tree f0afaf6ee678a2e6f3c9c1b2a76921e73257e0d9 parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Jeff Garzik Thu, 21 Sep 2006 00:06:21 -0400 committer Jeff Garzik Thu, 21 Sep 2006 00:06:21 -0400 [netdrvr] lp486e: fix typo inside #if 0'd code, but it bugged me. Really, we should probably just delete the driver. Signed-off-by: Jeff Garzik commit 3c164bd8153c4644a22dc2101b003c67cd2a0d0a tree c6b3f7a3d0f2d3850ce1c8c7e040053f548ebe9b parent 3ad819c61f5f8347f39cdcbe652b3c60ec615888 author Rik Snel Sat, 02 Sep 2006 18:17:33 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:27 +1000 [BLOCK] dm-crypt: trivial comment improvements Just some minor comment nits. - little-endian is better than low-endian - and since it is called essiv everywere it should also be essiv in the comments (and not ess_iv) Signed-off-by: Rik Snel Signed-off-by: Herbert Xu commit 3ad819c61f5f8347f39cdcbe652b3c60ec615888 tree a323dbf1afe0180ceb1d5d7d4caf785742585f1b parent 6010439f47e6b308c031dad7d99686030ef942dd author Herbert Xu Sat, 26 Aug 2006 18:44:31 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:23 +1000 [CRYPTO] api: Deprecate crypto_digest_* and crypto_alg_available This patch marks the crypto_digest_* functions and crypto_alg_available as deprecated. They've been replaced by crypto_hash_* and crypto_has_* respectively. Signed-off-by: Herbert Xu commit 6010439f47e6b308c031dad7d99686030ef942dd tree c59d65017014dec1f0c01e6372c7a92f3284a5e9 parent e4d5b79c661c7cfca9d8d5afd040a295f128d3cb author Herbert Xu Sat, 26 Aug 2006 18:34:10 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:22 +1000 [CRYPTO] padlock: Convert padlock-sha to use crypto_hash This patch converts padlock-sha to use crypto_hash for its fallback. It also changes the fallback selection to use selection by type instead of name. This is done through the new CRYPTO_ALG_NEED_FALLBACK bit, which is set if and only if an algorithm needs a fallback of the same type. Signed-off-by: Herbert Xu commit e4d5b79c661c7cfca9d8d5afd040a295f128d3cb tree 55a19ceca1b51b26d1934d388b26f0b1bed99a3e parent fce32d70ba834129b164c40c2d4260e5a7a7d850 author Herbert Xu Sat, 26 Aug 2006 18:12:40 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:22 +1000 [CRYPTO] users: Use crypto_comp and crypto_has_* This patch converts all users to use the new crypto_comp type and the crypto_has_* functions. Signed-off-by: Herbert Xu commit fce32d70ba834129b164c40c2d4260e5a7a7d850 tree 25076d25f1b95c93b276db253bc8cd301bae6289 parent 35058687912aa2f0b4554383cc10be4e0683b9a4 author Herbert Xu Sat, 26 Aug 2006 17:35:45 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:21 +1000 [CRYPTO] api: Add crypto_comp and crypto_has_* This patch adds the crypto_comp type to complete the compile-time checking conversion. The functions crypto_has_alg and crypto_has_cipher, etc. are also added to replace crypto_alg_available. Signed-off-by: Herbert Xu commit 35058687912aa2f0b4554383cc10be4e0683b9a4 tree 3e18d13aef6682553887076c1e9872e91e6fc5c4 parent dc64ddf4918f0da52df10d83c2a5941a547c2035 author Herbert Xu Thu, 24 Aug 2006 19:10:20 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:21 +1000 [CRYPTO] users: Use crypto_hash interface instead of crypto_digest This patch converts all remaining crypto_digest users to use the new crypto_hash interface. Signed-off-by: Herbert Xu commit dc64ddf4918f0da52df10d83c2a5941a547c2035 tree ed1c3dcd4b5b6d636d9960caeeb64aa01cf092f1 parent 8425165dfed27945e8509c141cea245d1739e372 author Herbert Xu Thu, 24 Aug 2006 18:45:50 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:20 +1000 [SCSI] iscsi: Use crypto_hash interface instead of crypto_digest This patch converts ISCSI to use the new crypto_hash interface instead of crypto_digest. It's a fairly straightforward substitution. Signed-off-by: Herbert Xu commit 8425165dfed27945e8509c141cea245d1739e372 tree c2a05344993a52bb317bb320a97d0566f3d277bf parent 878b9014666217555d16073764f30e825cf18d2f author Herbert Xu Sun, 20 Aug 2006 15:25:22 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:20 +1000 [CRYPTO] digest: Remove old HMAC implementation This patch removes the old HMAC implementation now that nobody uses it anymore. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 878b9014666217555d16073764f30e825cf18d2f tree cd7ab9f6f49dc0eb3cbfacd0abfc1a1daa243aaf parent 1b489e11d4df82514792f9f981f31976f8a94ddf author Herbert Xu Sun, 20 Aug 2006 15:17:04 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:20 +1000 [CRYPTO] doc: Update documentation for hash and me This patch updates the documentation to reflect the switch from digest to hash. It also replaces notes about emailing James Morris to refer to me instead. Signed-off-by: Herbert Xu commit 1b489e11d4df82514792f9f981f31976f8a94ddf tree fe047012069eb528fc18518fc4340a02ab9b0adc parent 07d4ee583e21830ec5604d31f65cdc60a6eca19e author Herbert Xu Sun, 20 Aug 2006 15:07:14 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:19 +1000 [SCTP]: Use HMAC template and hash interface This patch converts SCTP to use the new HMAC template and hash interface. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 07d4ee583e21830ec5604d31f65cdc60a6eca19e tree 32962ef0dd13d0d1f66b143ca5d03a88d8b9f772 parent e9d41164e2fdd897fe4520c2079ea0000f6e0ec3 author Herbert Xu Sun, 20 Aug 2006 14:24:50 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:18 +1000 [IPSEC]: Use HMAC template and hash interface This patch converts IPsec to use the new HMAC template. The names of existing simple digest algorithms may still be used to refer to their HMAC composites. The same structure can be used by other MACs such as AES-XCBC-MAC. This patch also switches from the digest interface to hash. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit e9d41164e2fdd897fe4520c2079ea0000f6e0ec3 tree da56da7216ac1cc7abc040b93ed6a358d374ef71 parent 0796ae061e6da5de7cfc1af57dfd42a73908b1bf author Herbert Xu Sat, 19 Aug 2006 21:38:49 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:18 +1000 [CRYPTO] tcrypt: Use HMAC template and hash interface This patch converts tcrypt to use the new HMAC template rather than the hard-coded version of HMAC. It also converts all digest users to use the new cipher interface. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 0796ae061e6da5de7cfc1af57dfd42a73908b1bf tree 83832b65f93f2979483640d994d72f8b37860701 parent 055bcee3102dc35f019b69df9c2618e9d6dd1c09 author Herbert Xu Mon, 21 Aug 2006 20:50:52 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:17 +1000 [CRYPTO] hmac: Add crypto template implementation This patch rewrites HMAC as a crypto template. This means that HMAC is no longer a hard-coded part of the API. It's now a template that generates standard digest algorithms like any other. The old HMAC is preserved until all current users are converted. The same structure can be used by other MACs such as AES-XCBC-MAC. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 055bcee3102dc35f019b69df9c2618e9d6dd1c09 tree 3f7c68abbbb5041d570e4cb8588f3943530bc0b7 parent 7226bc877a22244e8003924031435a4bffd52654 author Herbert Xu Sat, 19 Aug 2006 22:24:23 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:17 +1000 [CRYPTO] digest: Added user API for new hash type The existing digest user interface is inadequate for support asynchronous operations. For one it doesn't return a value to indicate success or failure, nor does it take a per-operation descriptor which is essential for the issuing of requests while other requests are still outstanding. This patch is the first in a series of steps to remodel the interface for asynchronous operations. For the ease of transition the new interface will be known as "hash" while the old one will remain as "digest". This patch also changes sg_next to allow chaining. Signed-off-by: Herbert Xu commit 7226bc877a22244e8003924031435a4bffd52654 tree b522aec40dcf6c9c3080d6c8d0fce77c432238af parent 03fd9cee7f46dddcd2562bc175d2c348502ce281 author Herbert Xu Mon, 21 Aug 2006 21:40:49 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:16 +1000 [CRYPTO] api: Mark parts of cipher interface as deprecated Mark the parts of the cipher interface that have been replaced by block ciphers as deprecated. Thanks to Andrew Morton for suggesting doing this before removing them completely. Signed-off-by: Herbert Xu commit 03fd9cee7f46dddcd2562bc175d2c348502ce281 tree d2248f83a1842fb0db44d8b0aa89e3605886d9e2 parent efcf8023e299be605f217dc2c1b2754b5534569c author Herbert Xu Mon, 14 Aug 2006 23:11:53 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:16 +1000 [PATCH] scatterlist: Add const to sg_set_buf/sg_init_one pointer argument This patch adds a const modifier to the buf argument of sg_set_buf and sg_init_one. This lets people call it with pointers that are const. Signed-off-by: Herbert Xu commit efcf8023e299be605f217dc2c1b2754b5534569c tree 36baba6406dd270f64c4e039811893877f9f0499 parent f12cc2090d721647c23dfce20834f4306db3b77d author Herbert Xu Sat, 05 Aug 2006 16:28:19 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:16 +1000 [CRYPTO] drivers: Remove obsolete block cipher operations This patch removes obsolete block operations of the simple cipher type from drivers. These were preserved so that existing users can make a smooth transition. Now that the transition is complete, they are no longer needed. Signed-off-by: Herbert Xu commit f12cc2090d721647c23dfce20834f4306db3b77d tree fba6861bdb58153acaab1ba1e51ec4e48fe0fd99 parent 378c6697a282c383d89428380a3405bf95189347 author Herbert Xu Tue, 22 Aug 2006 20:36:13 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:15 +1000 [CRYPTO] users: Use block ciphers where applicable This patch converts all remaining users to use the new block cipher type where applicable. It also changes all simple cipher operations to use the new encrypt_one/decrypt_one interface. Signed-off-by: Herbert Xu commit 378c6697a282c383d89428380a3405bf95189347 tree 3127c641dd07694199cd4e89c9cd5c155c4eb560 parent 6b7326c8497f954c2cfcb4c49fe42be5b80887bc author Herbert Xu Tue, 22 Aug 2006 20:33:54 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:15 +1000 [SUNRPC] GSS: Use block ciphers where applicable This patch converts SUNRPC/GSS to use the new block cipher type where applicable. Signed-off-by: Herbert Xu commit 6b7326c8497f954c2cfcb4c49fe42be5b80887bc tree 5739c37f7a72d1ef281fbbb5bbc1483226eec198 parent 04ff12609445c7b462d7fc7f2d30dad442c922f3 author Herbert Xu Sun, 30 Jul 2006 15:41:01 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:14 +1000 [IPSEC] ESP: Use block ciphers where applicable This patch converts IPSec/ESP to use the new block cipher type where applicable. Similar to the HMAC conversion, existing algorithm names have been kept for compatibility. Signed-off-by: Herbert Xu commit 04ff12609445c7b462d7fc7f2d30dad442c922f3 tree f19aff48d2e6a4c7e4bf25044c1b30ea428f4318 parent d1806f6a97a536b043fe50e6d8a25b061755cf50 author Herbert Xu Sun, 13 Aug 2006 08:50:00 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:14 +1000 [IPSEC]: Add compatibility algorithm name support This patch adds a compatibility name field for each IPsec algorithm. This is needed when parameterised algorithms are used. For example, "md5" will become "hmac(md5)", and "aes" will become "cbc(aes)". Signed-off-by: Herbert Xu commit d1806f6a97a536b043fe50e6d8a25b061755cf50 tree 0df6a3772783600f58fa0c5e709c650d1f832610 parent 69affe7fc52c14e4b81408a2076e9e58ba4af60a author Herbert Xu Tue, 22 Aug 2006 20:29:17 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:13 +1000 [BLOCK] dm-crypt: Use block ciphers where applicable This patch converts dm-crypt to use the new block cipher type where applicable. It also changes simple cipher operations to use the new encrypt_one/decrypt_one interface. Signed-off-by: Herbert Xu commit 69affe7fc52c14e4b81408a2076e9e58ba4af60a tree fd971855cfab1005fc954506014acb1bd96bb6bc parent cba83564d112e4aec52227f68670f8dbd4d4ac89 author Herbert Xu Thu, 21 Sep 2006 11:45:53 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:45:53 +1000 [BLOCK] cryptoloop: Use block ciphers where applicable This patch converts cryptoloop to use the new block cipher type where applicable. As a result the ECB-specific and CBC-specific transfer functions have been merged. Signed-off-by: Herbert Xu commit cba83564d112e4aec52227f68670f8dbd4d4ac89 tree 6fe5f3990e67598ae640580d4818f29183244418 parent a9e62fadf0b02ba4a1d945d1a75652507da94319 author Herbert Xu Sun, 13 Aug 2006 08:26:09 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:44:50 +1000 [CRYPTO] tcrypt: Use block ciphers where applicable This patch converts tcrypt to use the new block cipher type where applicable. Signed-off-by: Herbert Xu commit a9e62fadf0b02ba4a1d945d1a75652507da94319 tree 8e17290e66a3b0200d1a55b1798c81c9bb83e19d parent 28ce728a90cce3a0c6c0ed00354299de52db94b1 author Herbert Xu Mon, 21 Aug 2006 21:39:24 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:44:50 +1000 [CRYPTO] s390: Added block cipher versions of CBC/ECB This patch adds block cipher algorithms for S390. Once all users of the old cipher type have been converted the existing CBC/ECB non-block cipher operations will be removed. Signed-off-by: Herbert Xu commit 28ce728a90cce3a0c6c0ed00354299de52db94b1 tree d5f8c799cb949a5afdfb9db4fb9c4c749820c35e parent db131ef9084110d9e82549c0a627e157e8bb99d7 author Herbert Xu Mon, 21 Aug 2006 21:38:42 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:44:35 +1000 [CRYPTO] padlock: Added block cipher versions of CBC/ECB This patch adds block cipher algorithms for cbc(aes) and ecb(aes) for the PadLock device. Once all users to the old cipher type have been converted the old cbc/ecb PadLock operations will be removed. Signed-off-by: Herbert Xu commit db131ef9084110d9e82549c0a627e157e8bb99d7 tree 65330d3557a7dda47fa48876b7ea9cac1461301d parent 5cde0af2a9825dd1edaca233bd9590566579ef21 author Herbert Xu Thu, 21 Sep 2006 11:44:08 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:44:08 +1000 [CRYPTO] cipher: Added block ciphers for CBC/ECB This patch adds two block cipher algorithms, CBC and ECB. These are implemented as templates on top of existing single-block cipher algorithms. They invoke the single-block cipher through the new encrypt_one/decrypt_one interface. This also optimises the in-place encryption and decryption to remove the cost of an IV copy each round. Signed-off-by: Herbert Xu commit 5cde0af2a9825dd1edaca233bd9590566579ef21 tree e396297e3a2436d4a6ac77de63f95f2328c7a0fe parent 5c64097aa0f6dc4f27718ef47ca9a12538d62860 author Herbert Xu Tue, 22 Aug 2006 00:07:53 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:52 +1000 [CRYPTO] cipher: Added block cipher type This patch adds the new type of block ciphers. Unlike current cipher algorithms which operate on a single block at a time, block ciphers operate on an arbitrarily long linear area of data. As it is block-based, it will skip any data remaining at the end which cannot form a block. The block cipher has one major difference when compared to the existing block cipher implementation. The sg walking is now performed by the algorithm rather than the cipher mid-layer. This is needed for drivers that directly support sg lists. It also improves performance for all algorithms as it reduces the total number of indirect calls by one. In future the existing cipher algorithm will be converted to only have a single-block interface. This will be done after all existing users have switched over to the new block cipher type. Signed-off-by: Herbert Xu commit 5c64097aa0f6dc4f27718ef47ca9a12538d62860 tree d8c0cd3358464f589c9f2778b7be348f73db6950 parent f28776a369b12f9a03a822a8e1090ed670a41f4f author Herbert Xu Sat, 12 Aug 2006 21:56:17 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:52 +1000 [CRYPTO] scatterwalk: Prepare for block ciphers This patch prepares the scatterwalk code for use by the new block cipher type. Firstly it halves the size of scatter_walk on 32-bit platforms. This is important as we allocate at least two of these objects on the stack for each block cipher operation. It also exports the symbols since the block cipher code can be built as a module. Finally there is a hack in scatterwalk_unmap that relies on progress being made. Unfortunately, for hardware crypto we can't guarantee progress to be made since the hardware can fail. So this also gets rid of the hack by not advancing the address returned by scatterwalk_map. Signed-off-by: Herbert Xu commit f28776a369b12f9a03a822a8e1090ed670a41f4f tree b1eb08db2d7ad5c83a4b2784aea3af0502d127b3 parent e853c3cfa8cc24869ecd2526e589bcb176bc12e9 author Herbert Xu Sun, 13 Aug 2006 20:58:18 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:51 +1000 [CRYPTO] cipher: Added encrypt_one/decrypt_one This patch adds two new operations for the simple cipher that encrypts or decrypts a single block at a time. This will be the main interface after the existing block operations have moved over to the new block ciphers. It also adds the crypto_cipher type which is currently only used on the new operations but will be extended to setkey as well once existing users have been converted to use block ciphers where applicable. Signed-off-by: Herbert Xu commit e853c3cfa8cc24869ecd2526e589bcb176bc12e9 tree 24ad223420bdea868e891676ebb7285e3c477a05 parent 8f21cf0d2bae04ece761595036c9da8328b279aa author Herbert Xu Tue, 22 Aug 2006 00:06:54 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:51 +1000 [CRYPTO] api: Added crypto_type support This patch adds the crypto_type structure which will be used for all new crypto algorithm types, beginning with block ciphers. The primary purpose of this abstraction is to allow different crypto_type objects for crypto algorithms of the same type, in particular, there will be a different crypto_type objects for asynchronous algorithms. Signed-off-by: Herbert Xu commit 8f21cf0d2bae04ece761595036c9da8328b279aa tree 4025d020895dcbfc2aef330fed01860bbf0ba64d parent 6d7d684d635ac5a345f075015f2c84169c111c6a author Herbert Xu Sun, 30 Jul 2006 11:53:45 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:50 +1000 [CRYPTO] api: Feed flag directly to crypto_yield The sleeping flag used to determine whether crypto_yield can actually yield is really a per-operation flag rather than a per-tfm flag. This patch changes crypto_yield to take a flag directly so that we can start using a per-operation flag instead the tfm flag. Signed-off-by: Herbert Xu commit 6d7d684d635ac5a345f075015f2c84169c111c6a tree 9a1b397fe8db3c14cc69880aba747e50c1a1faa2 parent 65b75c36f4e8422602826c75c803136e0da94122 author Herbert Xu Sun, 30 Jul 2006 11:53:01 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:50 +1000 [CRYPTO] api: Added crypto_alloc_base Up until now all crypto transforms have been of the same type, struct crypto_tfm, regardless of whether they are ciphers, digests, or other types. As a result of that, we check the types at run-time before each crypto operation. This is rather cumbersome. We could instead use different C types for each crypto type to ensure that the correct types are used at compile time. That is, we would have crypto_cipher/crypto_digest instead of just crypto_tfm. The appropriate type would then be required for the actual operations such as crypto_digest_digest. Now that we have the type/mask fields when looking up algorithms, it is easy to request for an algorithm of the precise type that the user wants. However, crypto_alloc_tfm currently does not expose these new attributes. This patch introduces the function crypto_alloc_base which will carry these new parameters. It will be renamed to crypto_alloc_tfm once all existing users have been converted. Signed-off-by: Herbert Xu commit 65b75c36f4e8422602826c75c803136e0da94122 tree 4adf5b95aff10656469572425a0ae14196031370 parent f3f632d61ae9af85d436706ee8e33af1a7fb9c28 author Herbert Xu Mon, 21 Aug 2006 21:18:50 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:50 +1000 [CRYPTO] s390: Added missing driver name and priority Accelerated versions of crypto algorithms must carry a distinct driver name and priority in order to distinguish themselves from their generic counter- part. Signed-off-by: Herbert Xu commit f3f632d61ae9af85d436706ee8e33af1a7fb9c28 tree 38c9aa8a1210d88d60a7d961c47e15210d16ca78 parent 7fed0bf271b374be4c98a5880faed4b1128e78e9 author Herbert Xu Sun, 06 Aug 2006 23:12:59 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:49 +1000 [CRYPTO] api: Added asynchronous flag This patch adds the asynchronous flag and changes all existing users to only look up algorithms that are synchronous. Signed-off-by: Herbert Xu commit 7fed0bf271b374be4c98a5880faed4b1128e78e9 tree 29a1244ed286c500bf64afcef0c571e771ed0cd5 parent df89820ebd5bbf4f3c6b5f8ee7d9e983107f6a91 author Herbert Xu Sun, 06 Aug 2006 23:10:45 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:04 +1000 [CRYPTO] api: Add common instance initialisation code This patch adds the helpers crypto_get_attr_alg and crypto_alloc_instance which can be used by simple one-argument templates like hmac to process input parameters and allocate instances. Signed-off-by: Herbert Xu commit df89820ebd5bbf4f3c6b5f8ee7d9e983107f6a91 tree a782e2662cbdb6c7ad7591f2697d06008048f966 parent c907ee76d8456fe1d98f40b5febfc7802a73b784 author Herbert Xu Fri, 14 Jul 2006 10:42:27 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:03 +1000 [CRYPTO] cipher: Removed special IV checks for ECB This patch makes IV operations on ECB fail through nocrypt_iv rather than calling BUG(). This is needed to generalise CBC/ECB using the template mechanism. Signed-off-by: Herbert Xu commit c907ee76d8456fe1d98f40b5febfc7802a73b784 tree ba7abea258fd89c2873fbac40b1d5928b4a99f5b parent ee7564166da9e218c3f605ee78ff16599d4d5a05 author Herbert Xu Mon, 21 Aug 2006 22:04:03 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:03 +1000 [CRYPTO] tcrypt: Use test_hash for crc32c Now that crc32c has been fixed to conform with standard digest semantics, we can use test_hash for it. I've turned the last test into a chunky test. Signed-off-by: Herbert Xu commit ee7564166da9e218c3f605ee78ff16599d4d5a05 tree 430f72a4711bbfe88d0d04be0d241bc6558b4eef parent 560c06ae1ab7c677002ea3b6ac83521bf12ee07d author Herbert Xu Sun, 09 Jul 2006 14:49:42 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:02 +1000 [CRYPTO] digest: Store temporary digest in tfm When the final result location is unaligned, we store the digest in a temporary buffer before copying it to the final location. Currently that buffer sits on the stack. This patch moves it to an area in the tfm, just like the CBC IV buffer. Signed-off-by: Herbert Xu commit 560c06ae1ab7c677002ea3b6ac83521bf12ee07d tree 374ed69a7e23ba9d07458d20672aac6ae552ae51 parent 25cdbcd9e5d20e431f829cafce48a418830011f4 author Herbert Xu Sun, 13 Aug 2006 14:16:39 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:02 +1000 [CRYPTO] api: Get rid of flags argument to setkey Now that the tfm is passed directly to setkey instead of the ctx, we no longer need to pass the &tfm->crt_flags pointer. This patch also gets rid of a few unnecessary checks on the key length for ciphers as the cipher layer guarantees that the key length is within the bounds specified by the algorithm. Rather than testing dia_setkey every time, this patch does it only once during crypto_alloc_tfm. The redundant check from crypto_digest_setkey is also removed. Signed-off-by: Herbert Xu commit 25cdbcd9e5d20e431f829cafce48a418830011f4 tree 0dff8422d2b0b1da1d3505b0ad0e840f6f0fd66d parent 58ec4152895b96f047dcf5e490ee49b4c574dec3 author Herbert Xu Sun, 06 Aug 2006 23:03:08 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:01 +1000 [CRYPTO] crc32c: Fix unconventional setkey usage The convention for setkey is that once it is set it should not change, in particular, init must not wipe out the key set by it. In fact, init should always be used after setkey before any digestion is performed. The only user of crc32c that sets the key is tcrypt. This patch adds the necessary init calls there. Signed-off-by: Herbert Xu commit 58ec4152895b96f047dcf5e490ee49b4c574dec3 tree 2cc6316aaf70ffd7c43ae9677f0ba35903b9de9d parent 5644bda5d6aa17a70b8842eb56365d501a5da159 author Michal Ludvig Mon, 17 Jul 2006 08:14:58 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:00 +1000 [CRYPTO] padlock-sha: TFMs don't need to be static TFMs are local variables. No need to declare them static. After all one is enough. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit 5644bda5d6aa17a70b8842eb56365d501a5da159 tree ac19f321bdc0dfa081e4ea7348584f516f6a7e7b parent cb17530b0a4e01bd595a7ac437467a1a9833a15c author Michal Ludvig Sun, 06 Aug 2006 22:50:30 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:00 +1000 [CRYPTO] padlock: Helper module padlock.ko Compile a helper module padlock.ko that will try to autoload all configured padlock algorithms. This also provides backward compatibility with the ancient times before padlock.ko was renamed to padlock-aes.ko Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit cb17530b0a4e01bd595a7ac437467a1a9833a15c tree 4d35d00a4827790e1aeca6ec4baeea299e45cc25 parent 6c833275152b454d311f0e70b5e6bf028b4a2aaf author Adrian Bunk Sat, 15 Jul 2006 11:31:25 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:00 +1000 [CRYPTO] padlock-sha: Make 2 functions static This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Herbert Xu commit 6c833275152b454d311f0e70b5e6bf028b4a2aaf tree a08d9d1057730c1c5dde31de1db0bd81810ee8d2 parent ccc17c34d676f116bd09dd36a3b01627bc6a2f8a author Michal Ludvig Wed, 12 Jul 2006 12:29:38 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:59 +1000 [CRYPTO] padlock: Driver for SHA1 / SHA256 algorithms Support for SHA1 / SHA256 algorithms in VIA C7 processors. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit ccc17c34d676f116bd09dd36a3b01627bc6a2f8a tree 458c6c6e7b187885c5fac80668c44583ce930ab1 parent db5e9a42373ae6d84c4b0179c2fe0aba866474e8 author Michal Ludvig Sat, 15 Jul 2006 10:23:49 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:22 +1000 [CRYPTO] padlock: Update private header file PADLOCK_CRA_PRIORITY is shared between padlock-aes and padlock-sha so it should be in the header. On the other hand "struct cword" is only used in padlock-aes.c so it's unnecessary to have it in padlock.h Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit db5e9a42373ae6d84c4b0179c2fe0aba866474e8 tree 7b8ba1a14ca02aeb0df119cf97fa0095f4e5f993 parent 1191f0a49390caf16f4a2831a4fc373757471ad6 author Herbert Xu Sun, 09 Jul 2006 10:35:49 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:22 +1000 [CRYPTO] padlock: Add compatibility alias after rename Whenever we rename modules we should add an alias to ensure that existing users can still locate the new module. This patch also gets rid of the now unused module function prototypes from padlock.h. Signed-off-by: Herbert Xu commit 1191f0a49390caf16f4a2831a4fc373757471ad6 tree 8b92255ab82b777feade49a68cc0dc9691f1c665 parent b14cdd6704c96474ba5c74b5959487beaa5ee1cd author Michal Ludvig Sun, 06 Aug 2006 22:46:20 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:21 +1000 [CRYPTO] padlock: Get rid of padlock-generic.c Merge padlock-generic.c into padlock-aes.c and compile AES as a standalone module. We won't make a monolithic padlock.ko with all supported algorithms, instead we'll compile each driver into its own module. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit b14cdd6704c96474ba5c74b5959487beaa5ee1cd tree 9964ad4284280c8064ac8dc6b35d8ef8eaca65f3 parent b3be9a6d9a78bb820f5242f43b98f38b0ca610a6 author Michal Ludvig Sun, 09 Jul 2006 09:02:24 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:21 +1000 [CRYPTO] api: Add missing accessors for new crypto_alg fields Add missing accessors for cra_driver_name and cra_priority. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit b3be9a6d9a78bb820f5242f43b98f38b0ca610a6 tree 138002fa4ad727f5520b7c36e4eb6ca3f2bc599c parent 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 author Michal Ludvig Sun, 09 Jul 2006 08:59:38 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:20 +1000 [CRYPTO] sha: Add module aliases for sha1 / sha256 Crypto modules should be loadable by their .cra_driver_name, so we should make MODULE_ALIAS()es with these names. This patch adds aliases for SHA1 and SHA256 only as that's what we need for PadLock-SHA driver. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 tree 813799f00d8402348ba6817953b1c631541be66c parent 492e2b63eb10c28f4f0b694264d74a8755cd1be0 author Herbert Xu Thu, 21 Sep 2006 11:39:29 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:39:29 +1000 [CRYPTO] api: Added spawns Spawns lock a specific crypto algorithm in place. They can then be used with crypto_spawn_tfm to allocate a tfm for that algorithm. When the base algorithm of a spawn is deregistered, all its spawns will be automatically removed. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 492e2b63eb10c28f4f0b694264d74a8755cd1be0 tree d882a2df15d939b2edf9064963d73c71c5985b9b parent 2b8c19dbdc692e81243a328725a02efb77b144a5 author Herbert Xu Thu, 21 Sep 2006 11:35:17 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:35:17 +1000 [CRYPTO] api: Allow algorithm lookup by type This patch also adds the infrastructure to pick an algorithm based on their type. For example, this allows you to select the encryption algorithm "aes", instead of any algorithm registered under the name "aes". For now this is only accessible internally. Eventually it will be made available through crypto_alloc_tfm. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 2b8c19dbdc692e81243a328725a02efb77b144a5 tree f9256d5515cc315d54971f62e0e9812d5db572ba parent 2825982d9d66ebba4b532a07391dfbb357f71c5f author Herbert Xu Thu, 21 Sep 2006 11:31:44 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:31:44 +1000 [CRYPTO] api: Add cryptomgr The cryptomgr module is a simple manager of crypto algorithm instances. It ensures that parameterised algorithms of the type tmpl(alg) (e.g., cbc(aes)) are always created. This is meant to satisfy the needs for most users. For more complex cases such as deeper combinations or multiple parameters, a netlink module will be created which allows arbitrary expressions to be parsed in user-space. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 2825982d9d66ebba4b532a07391dfbb357f71c5f tree 3789b26b593d081ff8eedc7e528c2b9b49a94dc2 parent 4cc7720cd165273b08a72b4193146dffee58e34b author Herbert Xu Sun, 06 Aug 2006 21:23:26 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:17:13 +1000 [CRYPTO] api: Added event notification This patch adds a notifier chain for algorithm/template registration events. This will be used to register compound algorithms such as cbc(aes). In future this will also be passed onto user-space through netlink. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 4cc7720cd165273b08a72b4193146dffee58e34b tree 19c49af8a8195624ae101f665a05efc086c7f53b parent cce9e06d100df19a327b19f23adad76e7bf63edd author Herbert Xu Sun, 06 Aug 2006 21:16:34 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:17:12 +1000 [CRYPTO] api: Add template registration A crypto_template generates a crypto_alg object when given a set of parameters. this patch adds the basic data structure fo templates and code to handle their registration/deregistration. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit cce9e06d100df19a327b19f23adad76e7bf63edd tree ce10f50679db9ed8db92912c104eef1f05efc3c5 parent 9409f38a0c8773c04bff8dda8c552d7ea013d956 author Herbert Xu Mon, 21 Aug 2006 21:08:13 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:30 +1000 [CRYPTO] api: Split out low-level API The crypto API is made up of the part facing users such as IPsec and the low-level part which is used by cryptographic entities such as algorithms. This patch splits out the latter so that the two APIs are more clearly delineated. As a bonus the low-level API can now be modularised if all algorithms are built as modules. Signed-off-by: Herbert Xu commit 9409f38a0c8773c04bff8dda8c552d7ea013d956 tree 694ad993535d6dcfd479f9b5cb4faab64c12fcd7 parent 6521f30273fbec65146a0f16de74b7b402b0f7b0 author Herbert Xu Sun, 06 Aug 2006 19:49:12 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:30 +1000 [IPSEC]: Move linux/crypto.h inclusion out of net/xfrm.h The header file linux/crypto.h is only needed by a few files so including it in net/xfrm.h (which is included by half of the networking stack) is a waste. This patch moves it out of net/xfrm.h and into the specific header files that actually need it. Signed-off-by: Herbert Xu commit 6521f30273fbec65146a0f16de74b7b402b0f7b0 tree 1e664f6c1a7c960c60c4cae01585933029f81a5f parent 72fa491912689ca69dd15f4266945d2c2f2819f8 author Herbert Xu Sun, 06 Aug 2006 20:28:44 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:29 +1000 [CRYPTO] api: Add crypto_alg reference counting Up until now we've relied on module reference counting to ensure that the crypto_alg structures don't disappear from under us. This was good enough as long as each crypto_alg came from exactly one module. However, with parameterised crypto algorithms a crypto_alg object may need two or more modules to operate. This means that we need to count the references to the crypto_alg object directly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 72fa491912689ca69dd15f4266945d2c2f2819f8 tree c117b6ccdd08c73694261aac0b7f43fdf27c861c parent eaf44088ff467410dd15a033fef118888002ffe6 author Herbert Xu Sun, 28 May 2006 09:05:24 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:29 +1000 [CRYPTO] api: Rename crypto_alg_get to crypto_mod_get The functions crypto_alg_get and crypto_alg_put operates on the crypto modules rather than the algorithms. Therefore it makes sense to call them crypto_mod_get and crypto_alg_put respectively. This is needed because we need to have real algorithm reference counters for parameterised algorithms as they can be unregistered from below by when their parameter algorithms are themselves unregistered. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit eaf44088ff467410dd15a033fef118888002ffe6 tree 72b225b910342ae74e1b0915ceff61b4ead97883 parent b9f535ffe38f7eb61ac2219d32d97c377b69f70d author Joachim Fritschi Tue, 20 Jun 2006 21:12:02 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:29 +1000 [CRYPTO] twofish: x86-64 assembly version The patch passed the trycpt tests and automated filesystem tests. This rewrite resulted in some nice perfomance increase over my last patch. Short summary of the tcrypt benchmarks: Twofish Assembler vs. Twofish C (256bit 8kb block CBC) encrypt: -27% Cycles decrypt: -23% Cycles Twofish Assembler vs. AES Assembler (128bit 8kb block CBC) encrypt: +18% Cycles decrypt: +15% Cycles Twofish Assembler vs. AES Assembler (256bit 8kb block CBC) encrypt: -9% Cycles decrypt: -8% Cycles Full Output: http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-c-x86_64.txt http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-asm-x86_64.txt http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-aes-asm-x86_64.txt Here is another bonnie++ benchmark with encrypted filesystems. Most runs maxed out the hd. It should give some idea what the module can do for encrypted filesystem performance even though you can't see the full numbers. http://homepages.tu-darmstadt.de/~fritschi/twofish/output_20060610_130806_x86_64.html Signed-off-by: Joachim Fritschi Signed-off-by: Herbert Xu commit b9f535ffe38f7eb61ac2219d32d97c377b69f70d tree 57e09481226ab5a25f3938963f8299c9f0cd8439 parent 758f570ea785a5fbcdca026dfab2e9e1a3f89726 author Joachim Fritschi Tue, 20 Jun 2006 20:59:16 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:28 +1000 [CRYPTO] twofish: i586 assembly version The patch passed the trycpt tests and automated filesystem tests. This rewrite resulted in some nice perfomance increase over my last patch. Short summary of the tcrypt benchmarks: Twofish Assembler vs. Twofish C (256bit 8kb block CBC) encrypt: -33% Cycles decrypt: -45% Cycles Twofish Assembler vs. AES Assembler (128bit 8kb block CBC) encrypt: +3% Cycles decrypt: -22% Cycles Twofish Assembler vs. AES Assembler (256bit 8kb block CBC) encrypt: -20% Cycles decrypt: -36% Cycles Full Output: http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-asm-i586.txt http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-c-i586.txt http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-aes-asm-i586.txt Here is another bonnie++ benchmark with encrypted filesystems. All runs with the twofish assembler modules max out the drivespeed. It should give some idea what the module can do for encrypted filesystem performance even though you can't see the full numbers. http://homepages.tu-darmstadt.de/~fritschi/twofish/output_20060611_205432_x86.html Signed-off-by: Joachim Fritschi Signed-off-by: Herbert Xu commit 758f570ea785a5fbcdca026dfab2e9e1a3f89726 tree b16a4acb4cb6244a79e6ca41120874aafb39c7e3 parent 2729bb427f686e47970406d6bde6b11892885f29 author Joachim Fritschi Tue, 20 Jun 2006 20:39:29 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:28 +1000 [CRYPTO] twofish: Fix the priority This patch adds a proper driver name and priority to the generic c implemtation to allow coexistance of c and assembler modules. Signed-off-by: Joachim Fritschi Signed-off-by: Herbert Xu commit 2729bb427f686e47970406d6bde6b11892885f29 tree 6c17bab6970fc4bcc92c0de76d174e35d8043844 parent 799111020c66c41aef621a3b53ad112543754124 author Joachim Fritschi Tue, 20 Jun 2006 20:37:23 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:27 +1000 [CRYPTO] twofish: Split out common c code This patch splits up the twofish crypto routine into a common part ( key setup ) which will be uses by all twofish crypto modules ( generic-c , i586 assembler and x86_64 assembler ) and generic-c part. It also creates a new header file which will be used by all 3 modules. This eliminates all code duplication. Correctness was verified with the tcrypt module and automated test scripts. Signed-off-by: Joachim Fritschi Signed-off-by: Herbert Xu commit 799111020c66c41aef621a3b53ad112543754124 tree da9fc944ada8607cf534a2d0b0774ba8e0549fcc parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Herbert Xu Mon, 21 Aug 2006 21:03:52 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:27 +1000 [CRYPTO] api: Fixed crypto_tfm context alignment Previously the __aligned__ attribute was added to the crypto_tfm context member to ensure it is alinged correctly on architectures such as arm. Unfortunately kmalloc does not use the same minimum alignment rules as gcc so this is useless. This patch changes it to use kmalloc's minimum alignment. Signed-off-by: Herbert Xu commit eb35746ca5e2211569b91ebb44d55b88ec91f3b0 tree debd08f16bdb89c11b893a7e009892aaf9621411 parent f12033d206ea48928d8124cdd5d35d8008c18935 author Mark Fasheh Wed, 09 Aug 2006 13:23:08 -0700 committer Mark Fasheh Wed, 20 Sep 2006 16:00:54 -0700 ocfs2: Remove overzealous BUG_ON() The truncate code was never supposed to BUG() on an allocator it doesn't know about, but rather to ignore it. Right now, this does nothing, but when we change our allocation paths to use all suballocator files, this will allow current versions of the fs module to work fine. Signed-off-by: Mark Fasheh commit f12033d206ea48928d8124cdd5d35d8008c18935 tree 769c6e3c8c2fb6cef9736ce6557cfbfe29ad9875 parent 02ed8416fe5b7e33b5bbf2d73f9af1d316806822 author Mark Fasheh Wed, 13 Sep 2006 18:57:57 -0700 committer Mark Fasheh Wed, 20 Sep 2006 16:00:36 -0700 ocfs2: Don't print on unknown remote blocking call Signed-off-by: Mark Fasheh commit 02ed8416fe5b7e33b5bbf2d73f9af1d316806822 tree 5d13f6792c2ec5f593f7a89ca55bf8454e06c887 parent aa9588741db907785e4d92c8b768dd6c9077e6f0 author Mark Fasheh Thu, 14 Sep 2006 10:28:06 -0700 committer Mark Fasheh Wed, 20 Sep 2006 16:00:06 -0700 ocfs2: Remove EXPERIMENTAL dependency Things have been working pretty well for a while now. We should've probably done this at least one kernel revision ago, but it doesn't hurt to be paranoid. Signed-off-by: Mark Fasheh commit aa9588741db907785e4d92c8b768dd6c9077e6f0 tree d34da288a9d296a8a2ba19dfa0f1df8429bd3e33 parent e0b4096d34fbd6b30838c417100c9d0ef73c71f2 author Mark Fasheh Fri, 21 Apr 2006 13:49:02 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:53:40 -0700 ocfs2: implement directory read-ahead Uptodate.c now knows about read-ahead buffers. Use some more aggressive logic in ocfs2_readdir(). The two functions which currently use directory read-ahead are ocfs2_find_entry() and ocfs2_readdir(). Signed-off-by: Mark Fasheh commit e0b4096d34fbd6b30838c417100c9d0ef73c71f2 tree cabe34d3ae64b906f186ddea53bf3b4f84099ab7 parent 0f62de2c9ca60a35f63122e7ea992cee8aae4bef author Mark Fasheh Tue, 11 Jul 2006 14:38:54 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:53:05 -0700 ocfs2: properly update i_mtime on buffered write We weren't always updating i_mtime on writes, so fix ocfs2_commit_write() to handle this. Signed-off-by: Mark Fasheh Acked-by: Zach Brown commit 0f62de2c9ca60a35f63122e7ea992cee8aae4bef tree 31af0006aedea3a22e463198b5c4a00ca893bf1c parent a663e30513d7ecc77dd71d474e7646bf78c0ba62 author Tiger Yang Thu, 31 Aug 2006 20:39:47 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:52:27 -0700 ocfs2: Fix directory link count checks in ocfs2_link() Remove the redundant "i_nlink >= OCFS2_LINK_MAX" check and adds an unlinked directory check in ocfs2_link(). Signed-off-by: Tiger Yang Signed-off-by: Mark Fasheh commit a663e30513d7ecc77dd71d474e7646bf78c0ba62 tree ac37a5d33b62cce82df4e35a816f73f4631e339a parent 471e3f57286da7ce8820ad42c77d5f5f49d56a41 author Mark Fasheh Wed, 09 Aug 2006 11:45:07 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:52:08 -0700 ocfs2: move nlink check in ocfs2_mknod() The dir nlink check in ocfs2_mknod() was being done outside of the cluster lock, which means we could have been checking against a stale version of the inode. Fix this by doing the check after the cluster lock instead. Signed-off-by: Mark Fasheh commit 471e3f57286da7ce8820ad42c77d5f5f49d56a41 tree 763078566e354815f0c48684c48b618506be73d3 parent 2d5625181fac18f572cbbd18878d28f5eebf4733 author Mathieu Avila Wed, 13 Sep 2006 11:11:27 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:50:53 -0700 ocfs2: Fix heartbeat sector calculation This fixes things for devices which set max_sectors to 8. Signed-off-by: Mark Fasheh commit 2d5625181fac18f572cbbd18878d28f5eebf4733 tree 5125d63c551d6c7be1f9a5c99b16d05a85a3db7c parent ca4d147e62df370c334898464023aa7f9126abe1 author Adrian Bunk Mon, 10 Jul 2006 01:32:51 +0200 committer Mark Fasheh Wed, 20 Sep 2006 15:49:33 -0700 [PATCH] fs/ocfs2/ioctl.c should #include "ioctl.h" Every file should #include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit ca4d147e62df370c334898464023aa7f9126abe1 tree aff39cd19c5b0a95a1fd85caf439c4aa69c5830e parent b4c98f625fffee3a6f633082e9e4be3e952ca2ab author Herbert Poetzl Mon, 03 Jul 2006 17:27:12 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:48:39 -0700 ocfs2: add ext2 attributes Support immutable, and other attributes. Some renaming and other minor fixes done by myself. Signed-off-by: Herbert Poetzl Signed-off-by: Mark Fasheh commit b4c98f625fffee3a6f633082e9e4be3e952ca2ab tree ff7832706aeab7b16cbe18dd7976be7b56c49e55 parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Joel Becker Wed, 13 Sep 2006 11:01:19 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:46:14 -0700 configfs: Prevent duplicate subsystem names. For all child objects, creation comes through mkdir(2), so duplicate names are prevented. Subsystems, though, are registered by client drivers at init_module()/__init time. This patch prevents duplicate subsystem names. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 36b35a5be0e4b406acd816e2122d153e875105be tree 27f50d132f54a5d21c7fd268964162b324827b62 parent 93590859884784520a1850767f86296abc2cdc6d author Jeff Garzik Wed, 20 Sep 2006 17:48:53 -0400 committer Jeff Garzik Wed, 20 Sep 2006 17:48:53 -0400 [libata] Delete pata_it8172 driver This MIPS platform is going away. Acked-by: Ralf Baechle Signed-off-by: Jeff Garzik commit d81bf551103cc3bc9e4f7ddf337511d6da0d088f tree 15ebe716d004a0fc10d3b92869eeec593a7bbf7d parent b39fe41f481d20c201012e4483e76c203802dda7 author Francois Romieu Wed, 20 Sep 2006 21:31:20 +0200 committer Francois Romieu Wed, 20 Sep 2006 21:08:20 +0200 r8169: the MMIO region of the 8167 stands behin BAR#1 Reported by Matt Bockol to make its LOM (MSI 965 Neo) work. Signed-off-by: Francois Romieu commit 388c571cffc4ae4e64f0786333e811308acbbc10 tree 98bfa69fe8fa4cae331ccfa46118e40d1e80d389 parent 564337f34cc10fd8f30329e4e5f14f8995db5711 author Michael Holzheu Wed, 20 Sep 2006 16:00:04 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 16:00:04 +0200 [S390] hypfs crashes with invalid mount option. When an invalid mount option is specified, no root inode is created for hypfs, hypfs_fill_super() returns with -EINVAL and then hypfs_kill_super() is called. hypfs_kill_super() does not check if the root inode has been initialized. This patch adds this check. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky commit 564337f34cc10fd8f30329e4e5f14f8995db5711 tree b2f4791c1b696d1ce4202b14c6dcae3b3211de01 parent 28bdc6f6233f380ddc0b430cabd88ffeafea34c7 author Peter Oberparleiter Wed, 20 Sep 2006 16:00:01 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 16:00:01 +0200 [S390] cio: subchannel evaluation function operates without lock css_evaluate_subchannel() operates subchannel without lock which can lead to erratic behavior caused by concurrent device access. Also split evaluation function to make it more readable. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit 28bdc6f6233f380ddc0b430cabd88ffeafea34c7 tree be2c8e7943dab4328fcbe18cd6e03c50a82e0f34 parent e0e32c8eba86fd5ea79eefad6f2c0b4988dfd02a author Peter Oberparleiter Wed, 20 Sep 2006 15:59:59 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:59 +0200 [S390] cio: always query all paths on path verification. Reappearing channel paths are sometimes not utilized by CCW devices because path verification incorrectly relies on path-operational-mask information which is not updated until a channel path has been used again. Modify path verification procedure to always query all available paths to a device. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit e0e32c8eba86fd5ea79eefad6f2c0b4988dfd02a tree 2337ed7ce0e1c392c31a67da6c534c6d681649aa parent dd9963f9dd0985e16e878fd3632ecadfc54d3fbb author Peter Oberparleiter Wed, 20 Sep 2006 15:59:57 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:57 +0200 [S390] cio: update path groups on logical CHPID changes. CHPIDs that are logically varied off will not be removed from a CCW device's path group because resign-from-pathgroup command is issued with invalid path mask of 0 because internal CCW operations are masked by the logical path mask after the relevant bits are cleared by the vary operation. Do not apply logical path mask to internal operations. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit dd9963f9dd0985e16e878fd3632ecadfc54d3fbb tree 323295ffcc116aceac4c0bcb20bb641d54253737 parent dcd707b4bdc10b4fa20efa116dbaeded21513115 author Peter Oberparleiter Wed, 20 Sep 2006 15:59:54 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:54 +0200 [S390] cio: subchannels in no-path state. Subchannel may incorrectly remain in state no-path after channel paths have reappeared. Currently the scan for subchannels which are using a channel path ends at the first occurrence if a full link address was provided by the channel subsystem. The scan needs to continue over all subchannels. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit dcd707b4bdc10b4fa20efa116dbaeded21513115 tree 2b6558ef933b746819a79ef0f03ba0e8e74bf3d9 parent db0c2d59087296b3567ec408abe17108db88b385 author Peter Oberparleiter Wed, 20 Sep 2006 15:59:52 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:52 +0200 [S390] Replace nopav-message on VM. Specifying kernel parameter "dasd=nopav" on systems running under VM has no function but results in message "disable PAV mode". Correct message is "'nopav' not supported on VM". Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit db0c2d59087296b3567ec408abe17108db88b385 tree 303981d2ff2b5a10069fbee1692189f1b1739608 parent 250b2dc83347feb73eb6bdf7511685e72b587e68 author Peter Oberparleiter Wed, 20 Sep 2006 15:59:49 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:49 +0200 [S390] set modalias for ccw bus uevents. Add the MODALIAS environment variable for ccw bus uevents. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit 250b2dc83347feb73eb6bdf7511685e72b587e68 tree 7e6a1c0dd288d151f77103d921a7793515697cc5 parent 6c2a9e6df60478e712f3c3d98b5047778a82a3d7 author Cornelia Huck Wed, 20 Sep 2006 15:59:47 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:47 +0200 [S390] Get rid of DBG macro. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky commit 6c2a9e6df60478e712f3c3d98b5047778a82a3d7 tree 6768eb3991f4f1616b211a21ccf1b8e27820ae79 parent d02765d1af743567398eb6d523dea0ba5e5e7e8e author Gerald Schaefer Wed, 20 Sep 2006 15:59:44 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:44 +0200 [S390] Use alternative user-copy operations for new hardware. This introduces new user-copy operations which are optimized for copying more than 256 Bytes on new hardware. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit d02765d1af743567398eb6d523dea0ba5e5e7e8e tree 9a39c21d9924a8d81ce85254cd3d013dbe50d23e parent 6837a8c352efcc5efc70424e9bfd94ff9bfa9a47 author Gerald Schaefer Wed, 20 Sep 2006 15:59:42 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:42 +0200 [S390] Make user-copy operations run-time configurable. Introduces a struct uaccess_ops which allows setting user-copy operations at run-time. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 6837a8c352efcc5efc70424e9bfd94ff9bfa9a47 tree a77dd0895fca642175d65db2cd23157be82ff7a5 parent 9282ed929758b82f448a40d3c17319d794970624 author Gerald Schaefer Wed, 20 Sep 2006 15:59:39 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:39 +0200 [S390] Cleanup in signal handling code. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 9282ed929758b82f448a40d3c17319d794970624 tree f3db7796f0ea7afddc853ab4294033b4fdd6d785 parent 31b58088292c7f00f0b81088bfb557285b0b6247 author Gerald Schaefer Wed, 20 Sep 2006 15:59:37 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:37 +0200 [S390] Cleanup in page table related code. Changed and simplified some page table related #defines and code. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 31b58088292c7f00f0b81088bfb557285b0b6247 tree 7ce82a49cbf3ad0c28feb63d15b35a6c97d668a0 parent e620c4940002348417e8d317d65bc7b152646493 author Melissa Howland Wed, 20 Sep 2006 15:59:34 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:34 +0200 [S390] Linux API for writing z/VM APPLDATA Monitor records. This patch delivers a new Linux API in the form of a misc char device that is useable from user space and allows write access to the z/VM APPLDATA Monitor Records collected by the *MONITOR System Service of z/VM. Signed-off-by: Melissa Howland Signed-off-by: Martin Schwidefsky commit e620c4940002348417e8d317d65bc7b152646493 tree 8885306f33abae831d831f1a2a02f7fb67589d3b parent 07d43ce6a2ba0bb914078c3b066a7a3bab57599d author Christian Borntraeger Wed, 20 Sep 2006 15:59:32 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:32 +0200 [S390] xpram off by one error. The xpram driver shows and uses 4096 bytes less than available. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky commit 07d43ce6a2ba0bb914078c3b066a7a3bab57599d tree 084ab9c3f7e4a3fd531679ced250215ff9ae74ff parent 1f38d61347203055b55e34083cce7a9cd8c529a9 author Heiko Carstens Wed, 20 Sep 2006 15:59:29 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:29 +0200 [S390] Remove kexec experimental flag. Follow other architectures and remove kexec experimental flag. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 1f38d61347203055b55e34083cce7a9cd8c529a9 tree f7793ce226cbef903e4e3400c588ca7fcdaa1a52 parent 45af3af8761a3f790fe414c017de039a08ccd780 author Gerald Schaefer Wed, 20 Sep 2006 15:59:26 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:26 +0200 [S390] cleanup appldata. Introduce asm header that contains the appldata data structures and the diag inline assembly. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 45af3af8761a3f790fe414c017de039a08ccd780 tree 5385f628eba9a54ea649e1159c87600eee1e9d20 parent 9514e2311be97a01e8669c4de78e9fea37489f09 author Christian Borntraeger Wed, 20 Sep 2006 15:59:24 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:24 +0200 [S390] fix typo in vmcp. Fix comment typo in vmcp, it is z/VM and not v/VM. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky commit 9514e2311be97a01e8669c4de78e9fea37489f09 tree 74a256ce4ab6a94c904635f47862f8f3e3ec7974 parent 6981e936aa156c747bb3e6aea414bba673457115 author Heiko Carstens Wed, 20 Sep 2006 15:59:22 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:22 +0200 [S390] Kernel stack overflow handling. Substract the size of the initial stack frame from the correct register. Otherwise we will end up in a program check loop. Fix the offset into the save area as well. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 6981e936aa156c747bb3e6aea414bba673457115 tree ac18a8ed8bb398480bba575e55411ddaeac6c879 parent 81388d2a45b89c890b981cfc83b01ec15ae3483b author Frank Pavlic Wed, 20 Sep 2006 15:59:19 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:19 +0200 [S390] qdio slsb processing state. The last SLSB has to be set to STATE_PROCESSING if we really want to use the PROCESSING feature. Signed-off-by: Frank Pavlic Signed-off-by: Martin Schwidefsky commit 81388d2a45b89c890b981cfc83b01ec15ae3483b tree 3fcb8f583e4bf12d891a016b25b58df304e8766c parent e87bfe51b5ca2db99dd680bbb1e8fe3c94b607df author Heiko Carstens Wed, 20 Sep 2006 15:59:17 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:17 +0200 [S390] Missing initialization in common i/o layer. Previous patch that was intended to reduce stack usage within common i/o layer didn't consider implicit memset(..., 0, ...) used with the initializations used before. Add these missing memsets wherever it's not obvious that the concerned memory region is zeroed. This should give the same semantics as before. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit e87bfe51b5ca2db99dd680bbb1e8fe3c94b607df tree abbffd8e3ca0edcbe5a0e36e1e94deb9a3b10adc parent 1375fc1fb0434a26f93c59b1b9f3fdb8bf90bba5 author Heiko Carstens Wed, 20 Sep 2006 15:59:15 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:15 +0200 [S390] convert some assembler to C. Convert GET_IPL_DEVICE assembler macro to C function. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 1375fc1fb0434a26f93c59b1b9f3fdb8bf90bba5 tree ea38ce53e9cc74b73fc3171f55a67437e9b29eb2 parent 0fee644ada12c524abbf723132fbea6a082ecfc2 author Heiko Carstens Wed, 20 Sep 2006 15:59:12 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:12 +0200 [S390] __exit cleanup. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 0fee644ada12c524abbf723132fbea6a082ecfc2 tree 3b2a06417a5883ad5226c79d44b222398a3f636a parent b0035f127e007ea0afc8baad740093eb124f7b0b author Martin Schwidefsky Wed, 20 Sep 2006 15:59:10 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:10 +0200 [S390] cleanup sysinfo and add system z9 specific extensions. With System z9 additional fields have been added to the output of the store system information instruction. This patch adds the new model information field and the alternate cpu capability fields to the output of /proc/sysinfo. While we at it clean up the code as well. Signed-off-by: Martin Schwidefsky commit b0035f127e007ea0afc8baad740093eb124f7b0b tree e981be8bbe1ee39431691866b526cb8e8d728276 parent a00bfd7147c0c5c04a59f7adcb0e6d8948b90a6e author Horst Hummel Wed, 20 Sep 2006 15:59:07 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:07 +0200 [S390] dasd default debug level. Enhanced default DBF level to get most important messages in debug feature files. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky commit a00bfd7147c0c5c04a59f7adcb0e6d8948b90a6e tree ffe3eb5ede49bf5a14fe31f3270d917fc4bc9c7a parent 47addc84b450fd5e391ab118e178645cb0bbd89d author Martin Schwidefsky Wed, 20 Sep 2006 15:59:05 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:05 +0200 [S390] dasd deadlock after state change pending interrupt. The dasd_device_from_cdev function is called from interrupt context to get the struct dasd_device associated with a ccw device. The driver_data of the ccw device points to the dasd_devmap structure which contains the pointer to the dasd_device structure. The lock that protects the dasd_devmap structure is acquire with out irqsave. To prevent the deadlock in dasd_device_from_cdev if it is called from interrupt context the dependency to the dasd_devmap structure needs to be removed. Let the driver_data of the ccw device point to the dasd_device structure directly and use the ccw device lock to protect the access. Signed-off-by: Martin Schwidefsky commit 47addc84b450fd5e391ab118e178645cb0bbd89d tree 026dafc084523245a928675aafb74ff23e54a56b parent 7d5d688f724dd5a651d1ce7bc3ea7c03d28137a1 author Frank Pavlic Wed, 20 Sep 2006 15:59:03 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:03 +0200 [S390] qdio_get_micros return value. qdio_get_micros is supposed to return microseconds. The get_clock() return value needs to be shifted by 12 to get to microseconds. Signed-off-by: Frank Pavlic Signed-off-by: Martin Schwidefsky commit 7d5d688f724dd5a651d1ce7bc3ea7c03d28137a1 tree 8279b48cfd496490003710ef919327c9751e1023 parent 8301425534b87bae9990261f3008f39999be738c author Heiko Carstens Wed, 20 Sep 2006 15:59:00 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:00 +0200 [S390] Use simple_strtoul instead of own cmm_strtoul wrapper. Fix compile warning with some configurations: arch/s390/mm/cmm.c:58: warning: 'cmm_strtoul' defined but not used Originally cmm_strtoul was introduced because simple_strtoul couldn't handle strings with hexadecimal numbers that contained a capital 'X'. Since this is no longer true cmm_strtoul can be removed. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 8301425534b87bae9990261f3008f39999be738c tree fc653ebb1945ef03ca7e35dbe908b566c60293f0 parent ba8ce5c6f0a15f08eae39880a0de296007f4a4e7 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:58 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:58 +0200 [S390] architecture co-maintainer. Add Heiko Carstens as co-maintainer for the s390 architecture. Signed-off-by: Martin Schwidefsky commit ba8ce5c6f0a15f08eae39880a0de296007f4a4e7 tree f3f3cb5cfefe97028754ade1436ae8138c3daa6e parent 8427082a506f7ae0abf82ce0047a045ec4309e59 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:56 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:56 +0200 [S390] #undef in unistd.h Avoid using #undef in unistd.h. Signed-off-by: Martin Schwidefsky commit 8427082a506f7ae0abf82ce0047a045ec4309e59 tree ddd756abcf3fe2241ce4a8d322a11e0404fb345f parent 39b083fe1c3c7b88939f6fa1b0b96e579f12e96f author Heiko Carstens Wed, 20 Sep 2006 15:58:54 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:54 +0200 [S390] fix syscall restart handling. If do_signal() gets called several times before returning to user space and no signal is pending (e.g. cancelled by a debugger) syscall restart handling could be done several times. This would change the user space PSW to an address prior to the syscall instruction. Fix this by making sure that syscall restart handling is only done once. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 39b083fe1c3c7b88939f6fa1b0b96e579f12e96f tree b56864fed4a0aa286696cb4e63cbea6d8a962c8a parent ff6b8ea68f4b7353f88b97024f28127e2148aa00 author Heiko Carstens Wed, 20 Sep 2006 15:58:51 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:51 +0200 [S390] empty function defines. Use do { } while (0) constructs instead of empty defines to avoid subtle compile bugs. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit ff6b8ea68f4b7353f88b97024f28127e2148aa00 tree 67ebb74cbbc042d99325ff33c3f80e4b3e0a1c42 parent 331c982d4a6b43cdc0d056956a1cae8a7d6237bf author Michael Holzheu Wed, 20 Sep 2006 15:58:49 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:49 +0200 [S390] ipl/dump on panic. It is now possible to specify a ccw/fcp dump device which is used to automatically create a system dump in case of a kernel panic. The dump device can be configured under /sys/firmware/dump. In addition it is now possible to specify a ccw/fcp device which is used for the next reboot of Linux. The reipl device can be configured under /sys/firmware/reipl. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky commit 331c982d4a6b43cdc0d056956a1cae8a7d6237bf tree 45fd6612c461c278f53c09fe666a17a85d305d29 parent f19bfb2c9b8675590fbecb43e5ce3b34ee321185 author Michael Holzheu Wed, 20 Sep 2006 15:58:47 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:47 +0200 [S390] hypfs compiler warnings. Add casts to avoid compiler warnings. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky commit f19bfb2c9b8675590fbecb43e5ce3b34ee321185 tree efe625aaf90e61fedfe7d5af028d9b202a44c850 parent 65912a84c0f33304fa5ea004c7b6ee58d5f5572e author Michael Holzheu Wed, 20 Sep 2006 15:58:44 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:44 +0200 [S390] hypfs comment cleanup. Correct some comments in the hypervisor filesystem. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky commit 65912a84c0f33304fa5ea004c7b6ee58d5f5572e tree a9a684ed713f09cd47d6bd1cfe6872cf757feb58 parent 4ba069b802c29eee066385f9826e2d83716626b4 author Heiko Carstens Wed, 20 Sep 2006 15:58:41 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:41 +0200 [S390] initrd vs. bootmem bitmap. Move initrd if the bitmap of the bootmem allocator would overwrite it. In addition this patch sets the default size and address of the initrd to 0. Therefore all boot loaders must set the initrd size and address correctly. This is especially relevant for ftp boot via HMC/SE, where this change requires a special patch file entry in the .ins file which sets these two values contained at address 0x10408 and 0x10410. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 4ba069b802c29eee066385f9826e2d83716626b4 tree 663159a4d05a49b4133bb9145fc41fb95a6d4132 parent 5432114baf0300286a6ca1b0aea549492a379432 author Michael Grundy Wed, 20 Sep 2006 15:58:39 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:39 +0200 [S390] add kprobes support. Signed-off-by: Michael Grundy Signed-off-by: David Wilder Signed-off-by: Martin Schwidefsky commit 5432114baf0300286a6ca1b0aea549492a379432 tree 6a9cf64c86e4ee4d439f91e9bd4485688d28ddd7 parent fe3a1be59c851aba2330387596c6134bc5ec8397 author Ralph Wuerthner Wed, 20 Sep 2006 15:58:36 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:36 +0200 [S390] zcrypt secure key cryptography extension. Allow the user space to send extended cprb messages directly to the PCIXCC / CEX2C cards. This allows the CCA library to construct special crypto requests that use "secure" keys that are stored on the card. Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit fe3a1be59c851aba2330387596c6134bc5ec8397 tree 72f29650a763d127246181a49e92cf2b573212a7 parent 6684af1a07a1f88f3970bc90e5aed173d39168db author Martin Schwidefsky Wed, 20 Sep 2006 15:58:34 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:34 +0200 [S390] zcrypt driver Makefile, Kconfig and monolithic build. The Makefile and Kconfig changes should be obvious. The monolithic build option is there to create an old-style z90crypt module for backward compatability to older distributions. Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 6684af1a07a1f88f3970bc90e5aed173d39168db tree de3056173598cced75379f04427702497466b515 parent 963ed931c3fd18082bfde0e8704a28955663abf4 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:32 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:32 +0200 [S390] zcrypt PCICC, PCIXCC coprocessor card ap bus drivers. Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 963ed931c3fd18082bfde0e8704a28955663abf4 tree 3d7fb72d8aca7b4020e8bfe0b055c71f3d7de5c7 parent 2dbc2418bac32a18a372ae9aec386f0fe9174389 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:29 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:29 +0200 [S390] zcrypt CEX2A, CEX2C, PCICA accelerator card ap bus drivers. Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 2dbc2418bac32a18a372ae9aec386f0fe9174389 tree edfbdc374bc636021aa084c95bd77b49f3a1a1bb parent 1534c3820c26aca4e2567f97b8add8bea40e7e2b author Martin Schwidefsky Wed, 20 Sep 2006 15:58:27 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:27 +0200 [S390] zcrypt user space interface. The user space interface of the zcrypt device driver implements the old user space interface as defined by the old z90crypt driver. Everything is there, the /dev/z90crypt misc character device, all the lovely ioctls and the /proc file. Even writing to the z90crypt proc file to configure the crypto device still works. It stands to reason to remove the proc write function someday since a much cleaner configuration via the sysfs is now available. The ap bus device drivers register crypto cards to the zcrypt user space interface. The request router of the user space interface picks one of the registered cards based on the predicted latency for the request and calls the driver via a callback found in the zcrypt_ops of the device. The request router only knows which operations the card can do and the minimum / maximum number of bits a request can have. Signed-off-by: Cornelia Huck Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 1534c3820c26aca4e2567f97b8add8bea40e7e2b tree da76ec6d0c3abb099ffe7d542b3f0f6fe570957f parent 7561b974e0cbbdca1bb880b55200afd9a1a20737 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:25 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:25 +0200 [S390] zcrypt adjunct processor bus. Add a bus for the adjunct processor interface. Up to 64 devices can be connect to the ap bus interface, each device with 16 domains. That makes 1024 message queues. The interface is asynchronous, the answer to a message sent to a queue needs to be received at some later point in time. Unfortunately the interface does not provide interrupts when a message reply is pending. So the ap bus needs to implement some fancy polling, each active queue is polled once per 1/HZ second or continuously if an idle cpus exsists and the poll thread is activ (see poll_thread parameter). The ap bus uses the sysfs path /sys/bus/ap and has two bus attributes, ap_domain and config_time. The ap_domain selects one of the 16 domains to be used for this system. This limits the maximum number of ap devices to 64. The config_time attribute contains the number of seconds between two ap bus scans to find new devices. The ap bus uses the modalias entries of the form "ap:tN" to autoload the ap driver for hardware type N. Currently known types are: 3 - PCICC, 4 - PCICA, 5 - PCIXCC, 6 - CEX2A and 7 - CEX2C. Signed-off-by: Cornelia Huck Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 7561b974e0cbbdca1bb880b55200afd9a1a20737 tree 88a6e31a827e79ac29c7bede802554ba40f20319 parent de1a3f1ce6c4c3b2b14cf9157a22d6b4c64f708e author Martin Schwidefsky Wed, 20 Sep 2006 15:58:22 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:22 +0200 [S390] remove old z90crypt driver. The z90crypt driver has served its term. It is replaced by the shiny new zcrypt device driver. Signed-off-by: Martin Schwidefsky commit de1a3f1ce6c4c3b2b14cf9157a22d6b4c64f708e tree dcda907cb6bb49ddbbaa1ac70108188da7f38a9d parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:20 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:20 +0200 [S390] EX_TABLE macro. Add EX_TABLE helper macro to simplify creation of inline assembly exception table entries. Signed-off-by: Martin Schwidefsky commit b2c5f61920eeee9c4e78698de4fde4586fe5ae79 tree 53927c324413786b34db4f0e79cd0aa436d3f930 parent a4dc7ff08915a2035aa6d6decc53fa1deaa410bb author Mark A. Greer Tue, 19 Sep 2006 14:05:08 +1000 committer Paul Mackerras Wed, 20 Sep 2006 15:09:58 +1000 [POWERPC] Start arch/powerpc/boot code reorganization This abstracts the operations used in the bootwrapper, and defines the operations needed for the bootwrapper to run on an OF platform. The operations have been divided up into platform ops (platform_ops), firmware ops (fw_ops), device tree ops (dt_ops), and console ops (console_ops). The proper operations will be hooked up at runtime to provide the functionality that you need. Signed-off-by: Mark A. Greer Signed-off-by: Paul Mackerras commit a4dc7ff08915a2035aa6d6decc53fa1deaa410bb tree 9b28af3a21f915e3fe8ed7ee163be1b1d2bfe8b0 parent 19e59df4dc2e6f7b46190ee77ce7093769f597a7 author Paul Mackerras Tue, 19 Sep 2006 14:06:27 +1000 committer Paul Mackerras Wed, 20 Sep 2006 15:09:48 +1000 [POWERPC] Define of_read_ulong helper There are various places where we want to extract an unsigned long value from a device-tree property that can be 1 or 2 cells in length. This replaces some open-coded calculations, and one place where we assumed without checking that properties were the length we wanted, with a little of_read_ulong() helper. Signed-off-by: Paul Mackerras commit 783c99f42e221217761e9c319838d5533107f7cb tree ff09cb67fc0875450e83906af887fe219bc99c53 parent f8ec473387f70d103c83ffb3ab50cb2b1380d0c0 parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Jeff Garzik Wed, 20 Sep 2006 00:48:28 -0400 committer Jeff Garzik Wed, 20 Sep 2006 00:48:28 -0400 Merge branch 'master' into upstream commit 19e59df4dc2e6f7b46190ee77ce7093769f597a7 tree 97860ac68308a91515fbdc1699d26a09aa9a0d10 parent 5adcaf50cf697aa4d0c731107003c1383b59b214 author Stephen Rothwell Thu, 14 Sep 2006 14:55:36 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:12:22 +1000 [POWERPC] iseries: eliminate a couple of warnings Copy and paste bug in io.h Signed-off-by: Stephen Rothwell commit 5adcaf50cf697aa4d0c731107003c1383b59b214 tree c4f93c02f43c325066a46e9d9221cac9d51125d8 parent 73ea9e1bcb8eea4f3b2052fe7ccd7ee4b5a271a0 author Stephen Rothwell Tue, 19 Sep 2006 22:17:49 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:06:18 +1000 [POWERPC] convert string i/o operations to C This produces essentially the same code and will make the iSeries i/o consolidation easier. The count parameter is changed to long since that will produce the same (better) code on 32 and 64 bit builds. Signed-off-by: Stephen Rothwell commit 73ea9e1bcb8eea4f3b2052fe7ccd7ee4b5a271a0 tree be96595750908640a29fb5ad2a4a8224af2bb65e parent 661f1cdb8b3e3c2c44e97df122c1d5643c054ce8 author Stephen Rothwell Tue, 19 Sep 2006 17:30:20 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:06:18 +1000 [POWERPC] clean up ide io accessors Signed-off-by: Stephen Rothwell commit 661f1cdb8b3e3c2c44e97df122c1d5643c054ce8 tree 9f540dda2d57d2ec2fcec5aee3b7f0a4c7992d94 parent fa053d2f008cb73fa768b8e171486d8c0b33312b author Stephen Rothwell Tue, 19 Sep 2006 16:52:55 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:06:18 +1000 [POWERPC] remove unused asm routines _insw, _outsw, _insl amd _outsl are all unused, so remove them. Signed-off-by: Stephen Rothwell commit fa053d2f008cb73fa768b8e171486d8c0b33312b tree 007b3e058e9b065f7a38bd26bc7498802bf68940 parent 9ca91e0fb5295e8317030feb889085e452cedab1 author Stephen Rothwell Tue, 19 Sep 2006 14:51:40 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:06:17 +1000 [POWERPC] remove unused io accessors The io accessors insw_ns, outsw_ns, insl_ns and outsl_ns are unused (except for one unnecessary use in drivers/net/3c509.c that is addressed in a previous patch) and are only defined in powerpc/ppc, so remove them. Signed-off-by: Stephen Rothwell commit 9ca91e0fb5295e8317030feb889085e452cedab1 tree 54fffc6f581d4ae0b2491807f36998c067bdf76f parent 4f896e53eea70013fa48d0d8662680cf8aae8a43 author Stephen Rothwell Thu, 14 Sep 2006 16:59:31 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:02:51 +1000 [POWERPC] silence a warning Left over from the constifying of get_property. Signed-off-by: Stephen Rothwell commit 4f896e53eea70013fa48d0d8662680cf8aae8a43 tree 4a22e8033ac46f4a801e79e8002b60d792efd6cf parent 7dcd86e14319f4ceab883787ab2e00a5f860d14d author Stephen Rothwell Thu, 24 Aug 2006 13:29:33 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:01:16 +1000 [POWERPC] make spinlocks work in a combined kernel If we build a pSeries/iSeries combined kernel, we will need this. Signed-off-by: Stephen Rothwell commit f8ec473387f70d103c83ffb3ab50cb2b1380d0c0 tree 8abcae6e3e7c4692519196c26dac4a82e65753b4 parent 23b6b0e3e8306ce3d00e0c87196bfaad335b9096 author Jeff Garzik Tue, 19 Sep 2006 15:27:07 -0400 committer Jeff Garzik Tue, 19 Sep 2006 15:27:07 -0400 e1000, ixgb: Remove pointless wrappers Signed-off-by: Jeff Garzik commit 23b6b0e3e8306ce3d00e0c87196bfaad335b9096 tree 3e690e564ac42444937b0d66b624c0e292d4a88a parent 8624a1c93772d24a38ed10cfcd290e8a18ac5b0a parent 47a5c6fa0e204a2b63309c648bb2fde36836c826 author Jeff Garzik Tue, 19 Sep 2006 15:13:45 -0400 committer Jeff Garzik Tue, 19 Sep 2006 15:13:45 -0400 Merge branch 'master' into upstream commit fadcfa33b6319a5faf8af2287f08bf93a7f926b6 tree 367e931ec64a88c20a4d15c351d4c7dbb1b7adf1 parent 47a5c6fa0e204a2b63309c648bb2fde36836c826 author David Woodhouse Tue, 19 Sep 2006 12:43:58 +0100 committer David Woodhouse Tue, 19 Sep 2006 12:43:58 +0100 [HEADERS] One line per header in Kbuild files to reduce conflicts Signed-off-by: David Woodhouse commit 93590859884784520a1850767f86296abc2cdc6d tree 7465312f962467d8af3b24dd0f7510ea7113e010 parent 4a3381feb823e06c8e2da7e283c17b0b6fdbddcf author Alan Cox Tue, 12 Sep 2006 16:55:12 +0100 committer Jeff Garzik Tue, 19 Sep 2006 01:58:00 -0400 [PATCH] libata: improve handling of diagostic fail (and hardware that misreports it) Our ATA probe code checks that a device is not reporting a diagnostic failure during start up. Unfortunately at least one device seems to like doing this - the Gigabyte iRAM. This is only done for the master right now (which is fine for the iRAM as it is SATA), as with PATA some combinations of ATAPI device seem to fool the check into seeing a drive that isn't there if it is applied to the slave. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 4a3381feb823e06c8e2da7e283c17b0b6fdbddcf tree e1bef4c3db854bb10fd13dc67415d77b5d999533 parent fea63e38013ec628ab3f7fddc4c2148064b7910a parent 47a5c6fa0e204a2b63309c648bb2fde36836c826 author Jeff Garzik Tue, 19 Sep 2006 00:42:13 -0400 committer Jeff Garzik Tue, 19 Sep 2006 00:42:13 -0400 Merge branch 'master' into upstream commit 8624a1c93772d24a38ed10cfcd290e8a18ac5b0a tree 035dc21e3957540c8cdb817507f2377e07065a3b parent 26d36b642e2f024019f94819284a11273807571d author Stephen Rothwell Tue, 19 Sep 2006 11:54:49 +1000 committer Jeff Garzik Tue, 19 Sep 2006 00:36:59 -0400 [PATCH] Remove powerpc specific parts of 3c509 driver On powerpc and ppc, insl_ns and insl are identical as are outsl_ns and outsl, so remove the conditional use of insl_ns and outsl_ns. Signed-off-by: Stephen Rothwell Signed-off-by: Jeff Garzik commit fea63e38013ec628ab3f7fddc4c2148064b7910a tree a3e1cd7f50562a20584cd28ef9d71e0cd6c7c896 parent a64f97f2c351410dfb3099c2369eacf7154b5532 author Tejun Heo Sat, 16 Sep 2006 03:04:15 +0900 committer Jeff Garzik Tue, 19 Sep 2006 00:29:20 -0400 [PATCH] libata: fix non-uniform ports handling Non-uniform ports handling got broken while updating libata to handle those in the same host. Only separate irq for the non-uniform secondary port was implemented while all other fields (host flags, transfer mode...) of the secondary port simply shared those of the first. For ata_piix combined mode, which ATM is the only user of non-uniform ports, this causes the secondary port assume the wrong type. This can cause PATA port to use SATA ops, which results in bogus check on PCS and detection failure. This patch adds ata_probe_ent->pinfo2 which points to optional port_info for the secondary port. For the time being, this seems to be the simplest solution. This workaround will be removed together with ata_probe_ent itself after init model is updated to allow more flexibility. Signed-off-by: Tejun Heo Cc: Alan Cox Cc: Nelson A. de Oliveira Signed-off-by: Jeff Garzik commit a64f97f2c351410dfb3099c2369eacf7154b5532 tree b9f132ee5544febc50a9616a4edb52dd89370105 parent b68c5f546e951d718edf611c4bd9853753e4b366 parent cb60736b32a84cbc9525b0bb4df26b04cbfbc8e8 author Jeff Garzik Tue, 19 Sep 2006 00:25:50 -0400 committer Jeff Garzik Tue, 19 Sep 2006 00:25:50 -0400 Merge branch 'tmp' into upstream Conflicts: drivers/ata/libata-sff.c commit cb60736b32a84cbc9525b0bb4df26b04cbfbc8e8 tree f0e179a8596588366e098f77ffddbe8cf4b8e677 parent 95064a75ebf8744e1ff595e8cd7ff9b6c851523e author Arnaud Patard Tue, 19 Sep 2006 00:23:52 -0400 committer Jeff Garzik Tue, 19 Sep 2006 00:23:52 -0400 Fix libata resource conflict for legacy mode When the libata is trying to handle legacy ide ports (0x1f0 for instance), it doesn't take care if the resource has childs or not. The result is that this situation : 0100-01fe : pnp 00:09 0170-0177 : libata 01f0-01f7 : libata is seen as conflict, which is wrong. The proposed fix is to detect childs and in this case, look at which child is conflicting. Signed-off-by: Arnaud Patard Signed-off-by: Jeff Garzik commit 26d36b642e2f024019f94819284a11273807571d tree cce04aa045ad79dc63fcac3f4652d338218dc66a parent b921c3d8b64fe12948088be049785de49be50990 author Alan Cox Fri, 15 Sep 2006 15:22:51 +0100 committer Jeff Garzik Tue, 19 Sep 2006 00:05:45 -0400 [PATCH] s2io: Switch to pci_get_device We want the pci devices ref counted against hotplug. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit b921c3d8b64fe12948088be049785de49be50990 tree 426619f6bd1d9636cdace998a63ec6885c53fa72 parent 53ccce2395cdc3693c22b9a94764b66dc1a4fcb4 author Alan Cox Fri, 15 Sep 2006 15:27:06 +0100 committer Jeff Garzik Tue, 19 Sep 2006 00:05:45 -0400 [PATCH] gt96100: move to pci_get_device API Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 53ccce2395cdc3693c22b9a94764b66dc1a4fcb4 tree 91a884aafe61608be29dcdf8deba6810dd921bae parent 72e8d6bbc151ca670c66d58a37e5bbfbc041db69 author Jan-Bernd Themann Thu, 14 Sep 2006 13:51:56 +0200 committer Jeff Garzik Tue, 19 Sep 2006 00:05:45 -0400 [PATCH] ehea: bugfix for register access functions Hi Jeff, sorry to bother you again. We figured out that the readq function we included in the eHEA patch we sent yesterday to access eHEA registers is defined as little endian on POWER. This collides with our adapter. We talked to some PPC people who told us there is a discussion going on about new access functions. We were told to use __raw_readq / __raw_writeq for now. This patch fixes this bug found by our internal tests today. Please apply this small patch on the latest patch we sent you yesterday. If it is easier for you I can also give you the entire eHEA patch again. sorry and thanks a lot, Jan-Bernd Signed-off-by: Jan-Bernd Themann drivers/net/ehea/ehea.h | 2 +- drivers/net/ehea/ehea_hw.h | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) Signed-off-by: Jeff Garzik commit 72e8d6bbc151ca670c66d58a37e5bbfbc041db69 tree 20546e26d6b09ba8e3e8421b8a8945e1006833a9 parent f50e5ea14baa321c5f0ff71707a83b02bf5b9398 author Linas Vepstas Mon, 18 Sep 2006 20:58:06 -0700 committer Jeff Garzik Tue, 19 Sep 2006 00:04:29 -0400 [PATCH] e1000 disable device on PCI error A recent patch in -mm3 titled "gregkh-pci-pci-don-t-enable-device-if-already-enabled.patch" causes pci_enable_device() to be a no-op if the kernel thinks that the device is already enabled. This change breaks the PCI error recovery mechanism in the e1000 device driver, since, after PCI slot reset, the card is no longer enabled. This is a trivial fix for this problem. Tested. Signed-off-by: Linas Vepstas Cc: John Ronciak Cc: Jesse Brandeburg Cc: Jeff Kirsher Acked-by: Auke Kok Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f50e5ea14baa321c5f0ff71707a83b02bf5b9398 tree 2019c5bc11d99a353f3274853e913f489ed103ce parent ecf7f354e228ac9e80d2d25a0a0cbc8c876e9ab4 parent 803db244b9f71102e366fd689000c1417b9a7508 author Jeff Garzik Sun, 17 Sep 2006 01:06:01 -0400 committer Jeff Garzik Sun, 17 Sep 2006 01:06:01 -0400 Merge branch 'upstream-fixes' into upstream commit ecf7f354e228ac9e80d2d25a0a0cbc8c876e9ab4 tree 14c83181a6998c2e230c9746d131b48eaf4e978d parent c233289c29369dba7177ca873e9b8ed457af2a78 parent 8b98a37c4b00f3fbcf162281bd4595777e61241b author Jeff Garzik Sun, 17 Sep 2006 01:03:17 -0400 committer Jeff Garzik Sun, 17 Sep 2006 01:03:17 -0400 Merge branch 'upstream-fixes' into upstream commit 7dcd86e14319f4ceab883787ab2e00a5f860d14d tree c5fa0ea156e38e0aa5edde243c43b0dee1c7f097 parent f04da0bc36566ad17cf21e4ac8dbae377ca1dc75 author Kim Phillips Wed, 13 Sep 2006 17:41:55 -0500 committer Paul Mackerras Thu, 14 Sep 2006 10:36:11 +1000 [POWERPC] Fix MPC8349EMDS dts PCI interrupt-map values for IDSEL 0x18 Fix MPC8349EMDS dts PCI interrupt-map values for IDSEL 0x18 per Tanya's catch. Signed-off-by: Kim Phillips Signed-off-by: Tanya Jiang Signed-off-by: Paul Mackerras commit f04da0bc36566ad17cf21e4ac8dbae377ca1dc75 tree 7555ffd9de1938ed533aa94452a98805508cece3 parent c547fc28ab3e8716076fdaf4bd0260c5d63a18f7 author Olof Johansson Wed, 13 Sep 2006 13:32:39 -0500 committer Paul Mackerras Thu, 14 Sep 2006 10:36:11 +1000 [POWERPC] Fix non-smp build This fixes a compile error that only surfaces on CONFIG_SMP=n builds; seems to get pulled in through another header file for SMP builds. This problem was introduced by the hvcall stats patch. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit c547fc28ab3e8716076fdaf4bd0260c5d63a18f7 tree 34af1fa64a63618660187ae58ad182665a1861ef parent 3dd836a56de0d4f049438412959b905e1db4666e parent 63b98080daa35f0d682db04f4fb7ada010888752 author Paul Mackerras Thu, 14 Sep 2006 07:07:18 +1000 committer Paul Mackerras Thu, 14 Sep 2006 07:07:18 +1000 Merge branch 'linux-2.6' commit c233289c29369dba7177ca873e9b8ed457af2a78 tree 7dc73aa736c2a1164c887f203eff2b533220d11a parent 7282d491ecaee9883233a0e27283c4c79486279a author Jeff Garzik Wed, 13 Sep 2006 14:33:12 -0400 committer Jeff Garzik Wed, 13 Sep 2006 14:33:12 -0400 drivers/net/phy/fixed: #if 0 some incomplete code Signed-off-by: Jeff Garzik commit 7282d491ecaee9883233a0e27283c4c79486279a tree 172ffa70716f5493db57976ceef7652120b3332f parent 76fd85937097a0c2ec8ab23bf21dc10992d1c398 author Jeff Garzik Wed, 13 Sep 2006 14:30:00 -0400 committer Jeff Garzik Wed, 13 Sep 2006 14:30:00 -0400 drivers/net: const-ify ethtool_ops declarations Signed-off-by: Jeff Garzik commit 76fd85937097a0c2ec8ab23bf21dc10992d1c398 tree 0a3dfbacda717b9c55dfd25f6b773016a9a8910a parent f65b138ca94326bbffe06ddc28e65606a249e58e author Stephen Hemminger Fri, 08 Sep 2006 11:16:13 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:30:47 -0400 [PATCH] ethtool: allow const ethtool_ops The ethtool_ops structure is immutable, it expected to be setup by the driver and is never changed. This patch allows drivers to declare there ethtool_ops structure read-only. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit f65b138ca94326bbffe06ddc28e65606a249e58e tree 8fb69b76b32fe10d07678e3721a68638841061ca parent b89165f2b75ba0a79eb5ed60924835cf3c54c51a author Stephen Hemminger Wed, 06 Sep 2006 12:45:02 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:27:44 -0400 [PATCH] sky2: big endian Fix support for big endian platforms like PPC. Still not sure about VLAN acceleration (does it need swapping)? Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b89165f2b75ba0a79eb5ed60924835cf3c54c51a tree 6ed4af3b2746c94416858753449f74310cb5407c parent 2eaba1a280b6380f5b1238c53ce62e4381fc5f97 author Stephen Hemminger Wed, 06 Sep 2006 12:44:53 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:27:44 -0400 [PATCH] sky2: fiber support Fix the support for fiber connected gigabit boards. Allow half duplex gigabit to be configured. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2eaba1a280b6380f5b1238c53ce62e4381fc5f97 tree 4b161be011f0bb6adeea1c49c5fef5e84297e26d parent 6aa20a2235535605db6d6d2bd850298b2fe7f31e author Stephen Hemminger Wed, 06 Sep 2006 12:44:47 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:27:44 -0400 [PATCH] sky2: tx pause bug fix Fix problems with transmit pause frames. The driver was telling the GMAC to flush (not process) pause frames. Manually disabling pause wasn't working because of problems in the setup. This maybe the cause of the lockup under load. http://bugzilla.kernel.org/show_bug.cgi?id=6839 Patch against netdev-2.6 git tree Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6aa20a2235535605db6d6d2bd850298b2fe7f31e tree df0b855043407b831d57f2f2c271f8aab48444f4 parent 7a291083225af6e22ffaa46b3d91cfc1a1ccaab4 author Jeff Garzik Wed, 13 Sep 2006 13:24:59 -0400 committer Jeff Garzik Wed, 13 Sep 2006 13:24:59 -0400 drivers/net: Trim trailing whitespace Signed-off-by: Jeff Garzik commit 7a291083225af6e22ffaa46b3d91cfc1a1ccaab4 tree c87a93ee7d5c1c63ce98dc90a62cd0b4dfc4318f parent 7de745e56244156233e5cdd62b462e52e638d408 author Jan-Bernd Themann Wed, 13 Sep 2006 17:44:31 +0200 committer Jeff Garzik Wed, 13 Sep 2006 13:23:52 -0400 [PATCH] ehea: IBM eHEA Ethernet Device Driver Hi Jeff, I fixed the __iomem issue and tested the driver with sparse. Looks good so far. Thanks for your effort. Jan-Bernd Themann Signed-off-by: Jan-Bernd Themann drivers/net/Kconfig | 9 drivers/net/Makefile | 1 drivers/net/ehea/Makefile | 6 drivers/net/ehea/ehea.h | 447 ++++++ drivers/net/ehea/ehea_ethtool.c | 294 ++++ drivers/net/ehea/ehea_hcall.h | 51 drivers/net/ehea/ehea_hw.h | 287 ++++ drivers/net/ehea/ehea_main.c | 2654 ++++++++++++++++++++++++++++++++++++++++ drivers/net/ehea/ehea_phyp.c | 705 ++++++++++ drivers/net/ehea/ehea_phyp.h | 455 ++++++ drivers/net/ehea/ehea_qmr.c | 582 ++++++++ drivers/net/ehea/ehea_qmr.h | 358 +++++ 12 files changed, 5849 insertions(+) Signed-off-by: Jeff Garzik commit 7de745e56244156233e5cdd62b462e52e638d408 tree fbc0a3e546de813a5276c0c8a5454d46b1329fbc parent 3904c324148930bad5d9b97fdf66c63e7682b546 author Don Fry Wed, 13 Sep 2006 10:16:53 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:23:52 -0400 [PATCH] pcnet32: NAPI implementation Implement NAPI changes to pcnet32 driver. Compile default is off. Listed as experimental. Len and Don both worked on a NAPI implementation and have both tested these changes. An e1000 blasting short packets to the pcnet32 will lockup Don's system until the receive storm stops. Without NAPI Len's system watchdog would expire causing the system to reboot. With NAPI the system will stay operational. Tested ia32 and ppc64. Tested '970A, '971, '972, '973, '975, '976, and '978. The Kconfig changes came from Len. Don is to blame for all the others. Signed-off-by: Len Sorensen Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 3904c324148930bad5d9b97fdf66c63e7682b546 tree 92241080690303c39bd1f254906d71a6c214abd5 parent 9691edd26cfae0484367a6b8e3d46f3a5179e663 author Don Fry Wed, 13 Sep 2006 10:16:38 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:23:52 -0400 [PATCH] pcnet32: break receive routine into two pieces. Breaking the receive frame processing into two routines for greater clarity. Tested ia32 and ppc64. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 9691edd26cfae0484367a6b8e3d46f3a5179e663 tree 86e57f62c87c37bac7a2f5036f2e6e6512ab5e3b parent b368a3fbe41c44e4c7eb628002bbd8891defa7e0 author Don Fry Wed, 13 Sep 2006 10:16:21 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:23:52 -0400 [PATCH] pcnet32: move/create receive and transmit routines Move the receive routine and create the transmit routine. Tested ia32 and ppc64. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit b368a3fbe41c44e4c7eb628002bbd8891defa7e0 tree d0836b4797a29732182009b28084144eb79a323f parent 5c99346a3358a9c3c3fcf38669c05ac5f06832c9 author Don Fry Wed, 13 Sep 2006 10:16:07 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:23:52 -0400 [PATCH] pcnet32: magic number cleanup Change some magic numbers to clearer names. A few whitespace changes. Tested ia32 and ppc64. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 5c99346a3358a9c3c3fcf38669c05ac5f06832c9 tree 548f8ef561cf81069b41a709f6241704f63d3405 parent 38ed61d6c0b2c35fbaa1ccdb497543a18509d401 author Don Fry Wed, 13 Sep 2006 10:15:43 -0700 committer Jeff Garzik Wed, 13 Sep 2006 13:23:52 -0400 [PATCH] pcnet32: remove unnecessary save/restore register accesses. Delete unnecessary save/restore of rap in interrupt handler and statistics. tested ia32 and ppc64. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 38ed61d6c0b2c35fbaa1ccdb497543a18509d401 tree d7be64b244119ccfb346d3cea7124bbc2135603e parent 4291130595065aa3c9fbb9130231f65e4914629a parent 71d28725548be203e8b8f6ad63b1f64fd7f02d4d author Jeff Garzik Wed, 13 Sep 2006 12:26:12 -0400 committer Jeff Garzik Wed, 13 Sep 2006 12:26:12 -0400 Merge branch 'upstream-fixes' into upstream commit 3dd836a56de0d4f049438412959b905e1db4666e tree d42c0afb2a438403683904c0af089c74167767d6 parent 26c8af5f01dfb91f709cc2ba07fb650949aae13e author David Howells Tue, 12 Sep 2006 16:04:25 +0100 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] Export copy_4K_page() Export copy_4K_page() for use by modules via copy_page() (such as CacheFiles). Signed-Off-By: David Howells Signed-off-by: Paul Mackerras commit 26c8af5f01dfb91f709cc2ba07fb650949aae13e tree dbaa11641da7348bb2fbde3c75429449c7ca4104 parent 87fd7724d4022913ae8dbee3ed55cd04f2c316a6 author Olaf Hering Fri, 08 Sep 2006 16:29:21 +0200 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] print backtrace when entering xmon xmon does not print a backtrace per default. This is bad on systems with USB keyboard, the most needed info about the crash is lost. print a backtrace during the very first xmon entry. Booting with xmon=nobt disables the autobacktrace functionality. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 87fd7724d4022913ae8dbee3ed55cd04f2c316a6 tree 9b27b41d106e25ed8185a32db37b63f89df0220f parent 06e6d290ac7a9fb6fcec3a2207988163709f06aa author Olof Johansson Thu, 07 Sep 2006 15:18:08 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] Quiet hvc_console console output on failed opens No other tty driver will print on the console when the open of it fails. On systems that happen to be configured for both ttyS0 and hvc0 console, this will keep flooding the console output. This is most likely to happen with systems booted between with and without hypervisor from the same filesystem. Let's just remove it. When it's really needed (i.e. when the open fails and someone is trying to debug it), noone will see the output anyway. And init will report the opens failing in due time through the syslog. Signed-off-by: Olof Johansson Acked-by: Ryan S. Arnold Signed-off-by: Paul Mackerras commit 06e6d290ac7a9fb6fcec3a2207988163709f06aa tree b307d4cedab14f39b34d7eddbbeb6525dc7b2025 parent 57852a853b0d6761f270be0961d5d8387e98c8bb author Josh Boyer Thu, 07 Sep 2006 08:25:40 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] PPC: Fix Kconfig whitespace warnings Fix the following whitespace warnings when compiling with ARCH=ppc arch/ppc/Kconfig:1207:warning: leading whitespace ignored arch/ppc/Kconfig:1226:warning: leading whitespace ignored arch/ppc/Kconfig:1231:warning: leading whitespace ignored Also fix a typo ("Supprt"). Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras commit 57852a853b0d6761f270be0961d5d8387e98c8bb tree f3c3ff7ec94014a9acba27761dd489fdce1c66db parent ab06ff3af34a6288b314862abfebd86ad918c5d9 author Mike Kravetz Wed, 06 Sep 2006 16:23:12 -0700 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] powerpc: Instrument Hypervisor Calls Add instrumentation for hypervisor calls on pseries. Call statistics include number of calls, wall time and cpu cycles (if available) and are made available via debugfs. Instrumentation code is behind the HCALL_STATS config option and has no impact if not enabled. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit ab06ff3af34a6288b314862abfebd86ad918c5d9 tree 66c38b43bc2f39420c5c47ce50dcd59c2baec6d9 parent 1e76875e51266a5c43f601ecf08a92be5769228c author Olof Johansson Wed, 06 Sep 2006 14:44:54 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] powerpc: PA Semi PWRficient MAINTAINER entry Maintainer entry for PWRficient Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 1e76875e51266a5c43f601ecf08a92be5769228c tree 62867c80d57bd5fc335917dc0c2bcd26dfcc934b parent b3ebd1d862d6c23caa58e40d341eefc426f835e1 author Olof Johansson Wed, 06 Sep 2006 14:42:08 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] powerpc: PA Semi PWRficient platform support Base patch for PA6T and PA6T-1682M. This introduces the arch/powerpc/platform/pasemi directory, together with basic implementations for various setup. Much of this was based on other platform code, i.e. Maple, etc. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit b3ebd1d862d6c23caa58e40d341eefc426f835e1 tree c4db512b520833be44b72b97aab0c439138bfb5e parent 0024300000769eadcb4a4fcdff531d45ee7735d4 author Olof Johansson Wed, 06 Sep 2006 14:35:57 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] powerpc: PA6T cputable entry, PVR value Introduce PWRficient PA6T cputable entries and feature bits. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 0024300000769eadcb4a4fcdff531d45ee7735d4 tree 18a94c4df1716a59a80b8b6934e55a75677f26c3 parent 5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095 author Olof Johansson Wed, 06 Sep 2006 14:35:19 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] powerpc: Divorce CPU_FTR_CTRL from CPU_FTR_PPCAS_ARCH_V2_BASE The performance monitor implementation (including CTRL register behaviour) is just included in PPC v2 as an example, it's not truly part of the base. It's actually a somewhat misleading feature, but I'll leave that be for now: The presence of the register is not what the feature bit is used for, but instead it's used to determine if it contains the runlatch bit for idle reporting of the performance monitor. For alternative implementations, the register might still exist but the bit might have different meaning (or no meaning at all). For now, split it off and don't include it in CPU_FTR_PPCAS_ARCH_V2_BASE. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095 tree 21a995bedd7c7fdca8b2fdb3b7f91f4bfc8228a3 parent b7e89214aadf82fa5eaff28f50f2078fa6ae773c author Olof Johansson Wed, 06 Sep 2006 14:34:41 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] powerpc: Reduce default cacheline size to 64 bytes Reduce default cacheline size on 64-bit powerpc from 128 bytes to 64. This is the architected minimum. In most cases we'll still end up using cache line information from the device tree, but defaults are used during early boot and doing a few dcbst/icbi's too many there won't do any harm. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit b7e89214aadf82fa5eaff28f50f2078fa6ae773c tree 877bfd9e81dcdb68a2a66080ee562fc4796b0975 parent 477bcae4c289a60f2303fbd4a3a875dcca647cf8 author Josh Boyer Thu, 07 Sep 2006 13:27:58 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] PPC 4xx: Enable XMON on PPC 4xx boards The following patch allows XMON to run on the 4xx platform. Tested on Walnut, Ebony, and Nova (440GX based) eval boards. 440EP, 440SP, and 440SPE boards should work as well. Patch is against 2.6.18-rc6. Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras commit 477bcae4c289a60f2303fbd4a3a875dcca647cf8 tree c9c7136011ad809d433e94c9bc482f7526c53627 parent c3412dcb75ff4d64b44bedc72761d5707d19edf7 author Corey Minyard Wed, 06 Sep 2006 09:02:53 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] Make function of pm_power_off consistent with x86 Allow the pm_power_off function variable in PPC to work as an override. This makes the function consistent with the other architectures and it allows generic poweroff operations (like those provided in IPMI systems) to work properly on PPC. Signed-off-by: Corey Minyard Cc: Joseph Barnett Signed-off-by: Paul Mackerras commit c3412dcb75ff4d64b44bedc72761d5707d19edf7 tree 3e893de720ce5aca6a3e6471cd6ef0fcbcb62281 parent f50d4cfc98d70f919afb2924b1b53c36b2f4e62f author Will Schmidt Wed, 30 Aug 2006 13:11:38 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] Emulate power5 popcntb instruction In an attempt to make it easier for a power5 optimized app to run on a power4 or a 970 or random earlier machine, this provides emulation of the popcntb instruction. Signed-off-by: Will Schmidt Signed-off-by: Paul Mackerras commit f50d4cfc98d70f919afb2924b1b53c36b2f4e62f tree 352c8c20b13d6951de56c90895161c06e1bb0563 parent aa43f77939c97bf9d3580c6a5e71a5a40290e451 author Michael Ellerman Thu, 24 Aug 2006 16:54:08 +1000 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] Split out vpa unregister logic from pseries_kexec_cpu_down_xics() As part of the new irq code pseries_kexec_cpu_down() was split into a xics and mpic version. The vpa unregister logic is now only done in the xics routine, and although that's ok in practice (we don't have SPLPAR machines with mpic), I'd rather have the two concepts stay separate. So move the vpa unregister into pseries_kexec_cpu_down(), which gets called by both the xics and mpic routines. This also gives us an obvious place to put any new kexec-down logic needed in future. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit b68c5f546e951d718edf611c4bd9853753e4b366 tree 9ee71557445ee9ead299ac3e3a5e7d994ab30ad9 parent b0fea350ce515c6ae01e0f259d9b1ffdec824e22 parent 95064a75ebf8744e1ff595e8cd7ff9b6c851523e author Jeff Garzik Wed, 13 Sep 2006 00:39:09 -0400 committer Jeff Garzik Wed, 13 Sep 2006 00:39:09 -0400 Merge branch 'master' into upstream commit 4291130595065aa3c9fbb9130231f65e4914629a tree 988be49185231866ac4e42d6154994b244e6f991 parent d3148ce9a65813a8020473739c200cb63036f84c parent eff68d452f1a6842fb05218fd93c774ffc4dbc5a author Jeff Garzik Wed, 13 Sep 2006 00:34:46 -0400 committer Jeff Garzik Wed, 13 Sep 2006 00:34:46 -0400 Merge branch 'upstream-fixes' into upstream commit b0fea350ce515c6ae01e0f259d9b1ffdec824e22 tree 2946caf0555f1a81c2b2b7008c7e8cb5dabbab78 parent 97148ba2235e334e57d05fa07045cf3e6629763c author Jeff Garzik Wed, 13 Sep 2006 00:25:23 -0400 committer Jeff Garzik Wed, 13 Sep 2006 00:25:23 -0400 [libata] ata_piix: build fix Spotted by Andrew Morton. Signed-off-by: Jeff Garzik commit d3148ce9a65813a8020473739c200cb63036f84c tree 96be330d1fd69cf19574b44c44e717e891ac2227 parent 2a69bf428e49c229f8b735ba3de0a91ebd5d7f33 author Auke-Jan H Kok Tue, 12 Sep 2006 10:46:15 -0700 committer Jeff Garzik Tue, 12 Sep 2006 22:07:09 -0400 [PATCH] e1000: revert 'e1000: Remove 0x1000 as supported device' The commit 'e1000: Remove 0x1000 as supported device' (Jeff Kirsher, 673a052fde79ab5e9dce569b0336358812ddba2d) Removes PIC device ID 8086:1000 from the list of supported devices. A fix was submitted for the original issue (commit 6a9516989f94df10d9a27ba543c6b53b3e69c84a). This commit reverts commit 673a052fde79ab5e9dce569b0336358812ddba2d and re-enables 82542rev3 chips completely. Signed-off-by: Auke Kok Signed-off-by: Jeff Garzik commit 2a69bf428e49c229f8b735ba3de0a91ebd5d7f33 tree 586eafa1a16f51d4b309ebe0c53f5befd8f88ad0 parent cb930205c9dc26efedba5e93e6f84b98f36257e1 parent b39fe41f481d20c201012e4483e76c203802dda7 author Jeff Garzik Tue, 12 Sep 2006 22:03:36 -0400 committer Jeff Garzik Tue, 12 Sep 2006 22:03:36 -0400 Merge tag 'r8169-20060912-00' of git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6 into tmp commit cb930205c9dc26efedba5e93e6f84b98f36257e1 tree 4a98f78a6a57d9f7c63c6b0aa7d9106f51e011a2 parent 435b70e65d7cecbcf2a7e9495ded9d179d63f3ba parent 48907e39890590792c58272604cfb34ad1d80054 author Jeff Garzik Tue, 12 Sep 2006 21:59:47 -0400 committer Jeff Garzik Tue, 12 Sep 2006 21:59:47 -0400 Merge tag '8139cp-20060912-00' of git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6 into tmp commit 65396410af63db90d6428c678ff84aa652c3c1ec tree 78c610b8dbfda4b583cb4a5b950bf4149738113c parent a506b44bb5000b2652490a906c3e58beb2a8f6bb author Henrik Kretzschmar Tue, 12 Sep 2006 23:49:33 +0200 committer James Bottomley Tue, 12 Sep 2006 17:12:31 -0500 [SCSI] wd33c93: Scsi_Cmnd convertion Changes obsolete typedef'd Scsi_Cmnd to struct scsi_cmnd. Signed-off-by: Henrik Kretzschmar Signed-off-by: James Bottomley commit 48907e39890590792c58272604cfb34ad1d80054 tree 75cc0a74ef9c704b3cfe0745d4bde39b5db515fb parent cccb20d3a9b7c6d4b6e1b52ee02814e6094aaa12 author Francois Romieu Sun, 10 Sep 2006 23:33:44 +0200 committer Francois Romieu Tue, 12 Sep 2006 21:00:46 +0200 8139cp: ring_info removal for the transmit path As long as the descriptor fits on a single cacheline, the change should be almost free. Now ring_info is not used at all. Remove it. Signed-off-by: Francois Romieu commit 435b70e65d7cecbcf2a7e9495ded9d179d63f3ba tree c501a17e7cb7dacff049e28b25ea5ee65a00bd06 parent 4e83b7fad8d3fd55828baa4510885c7362e66a26 parent 6a9516989f94df10d9a27ba543c6b53b3e69c84a author Jeff Garzik Tue, 12 Sep 2006 12:03:54 -0400 committer Jeff Garzik Tue, 12 Sep 2006 12:03:54 -0400 Merge branch 'upstream-fixes' into upstream commit 97148ba2235e334e57d05fa07045cf3e6629763c tree a04504e7d4feb0dacfe1862a59abecaf99997f09 parent 76ff3c6e3b389a5a7692811dd456e0ff58340cac parent 05ff0e291af086f4325bac76abad250690bbbd63 author Jeff Garzik Tue, 12 Sep 2006 12:03:21 -0400 committer Jeff Garzik Tue, 12 Sep 2006 12:03:21 -0400 Merge branch 'master' into upstream commit 76ff3c6e3b389a5a7692811dd456e0ff58340cac tree a004a3ba02a2182f64803d9fdcf46846cd32162a parent af323a2fb508b0fa1c1fa91cbc6ec86fb0879c07 author Alan Cox Tue, 12 Sep 2006 17:14:03 +0100 committer Jeff Garzik Tue, 12 Sep 2006 12:01:46 -0400 [PATCH] pata_amd: Check enable bits on Nvidia A couple of people reported long delays on probe with the newer kernels and Nvidia PATA. This turned out to be because the Nvidia path forgot to check the enable bits so probed empty ports. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit af323a2fb508b0fa1c1fa91cbc6ec86fb0879c07 tree 0ab67f571a6cd2f148ec2b4abd7d8cc9a78723a5 parent dd1dc802368154a75926491092ec9e6a939c32df author Alan Cox Tue, 12 Sep 2006 17:15:12 +0100 committer Jeff Garzik Tue, 12 Sep 2006 12:01:46 -0400 [PATCH] Update SiS PATA New chipset identifiers Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 4e83b7fad8d3fd55828baa4510885c7362e66a26 tree eb3f28516c05a945f2e9c8003e5864de4e0763bc parent c925f1ea9ec20a95d46f57810f4a4d69db74580e parent d5b20697ca37d80cc4ec2ba3c5ddf1339dc1d49a author Jeff Garzik Tue, 12 Sep 2006 11:45:33 -0400 committer Jeff Garzik Tue, 12 Sep 2006 11:45:33 -0400 Merge branch 'tmp' into upstream commit d5b20697ca37d80cc4ec2ba3c5ddf1339dc1d49a tree a5fa98145b1d95b84357157856517de8d0e31edf parent 05ff0e291af086f4325bac76abad250690bbbd63 author Andy Gospodarek Mon, 11 Sep 2006 17:39:18 -0400 committer Jeff Garzik Tue, 12 Sep 2006 11:45:19 -0400 [PATCH] Remove more unnecessary driver printk's As I promised last week, here is the first pass at removing all unnecessary printk's that exist in network device drivers currently in promiscuous mode. The duplicate messages are not needed so they have been removed. Some of these drivers are quite old and might not need an update, but I did them all anyway. I am currently auditing the remaining conditional printk's and will send out a patch for those soon. Signed-off-by: Andy Gospodarek Signed-off-by: Jeff Garzik commit c925f1ea9ec20a95d46f57810f4a4d69db74580e tree 150d09324f1cf6b231bbe1f3791a75f9169470dd parent 8083e1656211eb1487329923d592ee061d08d7b3 parent 884d3a2bad7293e56fe99d9322a1090bfdfd7c4e author Jeff Garzik Tue, 12 Sep 2006 11:43:28 -0400 committer Jeff Garzik Tue, 12 Sep 2006 11:43:28 -0400 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream commit 8083e1656211eb1487329923d592ee061d08d7b3 tree 92a44787484996b82365fab21f2dec960ab4f2d3 parent 6b12a3d35ff6cb09f8b777ab258ea1e32c680d62 parent 1802ca745280b916cda4090e459741b8c9b3e8d0 author Jeff Garzik Tue, 12 Sep 2006 11:42:45 -0400 committer Jeff Garzik Tue, 12 Sep 2006 11:42:45 -0400 Merge branch 'upstream-fixes' into upstream commit a506b44bb5000b2652490a906c3e58beb2a8f6bb tree 04a2c62f244cdacb88f7a8377c16783e04e66a88 parent 2b7cbe20174695bca1afe2a8f755e1eb299f4768 author Daniel Walker Sat, 09 Sep 2006 09:31:03 -0700 committer James Bottomley Tue, 12 Sep 2006 09:17:30 -0500 [SCSI] fix compile error on module_refcount LD .tmp_vmlinux1 drivers/built-in.o(.text+0x8e1f9): In function `scsi_device_put': drivers/scsi/scsi.c:887: undefined reference to `module_refcount' make: *** [.tmp_vmlinux1] Error 1 There are only two users of module_refcount() outside of kernel/module.c and the other one uses ifdef's similar to this. Signed-Off-By: Daniel Walker Signed-off-by: James Bottomley commit 884d3a2bad7293e56fe99d9322a1090bfdfd7c4e tree 26375b9205380f02fad6a877a7d3f5afa3260c14 parent dca762d63a6fd62599f0d5d18525fa347fa1772a author Christian Steineck Fri, 08 Sep 2006 23:51:34 +0200 committer John W. Linville Mon, 11 Sep 2006 19:34:03 -0400 [PATCH] hostap_cs: added support for Proxim Harmony PCI W-Lan card hostap_cs driver - added support for Proxim Harmony PCI W-Lan Card (uses pd6729 based pcmcia2pci bridge) Signed-off-by: Christian Steineck Signed-off-by: John W. Linville commit dca762d63a6fd62599f0d5d18525fa347fa1772a tree 1c619558db1a846fc318134caa4792d945e41cf1 parent 87d263271b1bbf344c596ac308417ff692ddc851 author Larry Finger Thu, 07 Sep 2006 11:17:05 -0500 committer John W. Linville Mon, 11 Sep 2006 19:34:03 -0400 [PATCH] bcm43xx: remove dead code in bcm43xx_sysfs.c Coverity CID 1160 & 1161 Remove some dead code from bcm43xx_sysfs.c in 2.6.18-rc6 Signed-off-by: Darren Jenkins Signed-off-by: Larry Finger Signed-off-by: John W. Linville commit 87d263271b1bbf344c596ac308417ff692ddc851 tree 566f6b682e55f6ae68a73da17ee6e78f771035ef parent 1ef4583ee3e1efab83d05b6ccdad378c9caaa95f author Larry Finger Thu, 07 Sep 2006 10:12:11 -0500 committer John W. Linville Mon, 11 Sep 2006 19:34:02 -0400 [PATCH] bcm43xx: ucode debug status via sysfs This patch prints out the ucode debug status to sysfs. So, users can watch the microcode status of their hardware. Signed-off-by: Martin Langer Signed-off-by: Larry Finger Signed-off-by: John W. Linville commit 1ef4583ee3e1efab83d05b6ccdad378c9caaa95f tree 3a443ce3f33f020f0a1b89a9f9f0c5fe95caad14 parent 6807b5076373b8a6b6dac3b3b54645c85df91ad6 author Larry Finger Mon, 04 Sep 2006 17:13:57 -0500 committer John W. Linville Mon, 11 Sep 2006 19:34:02 -0400 [PATCH] bcm43xx: Add firmware version printout This patch prints microcode revision, patchlevel, date and time to KERN_INFO. Also, version 4.xx microcodes (rev>0x128) will be rejected by the driver, because they still do not work. Signed-off-by: Martin Langer Acked-by: Michael Buesch Signed-off-by: Larry Finger Signed-off-by: John W. Linville commit 6807b5076373b8a6b6dac3b3b54645c85df91ad6 tree 4f8187d5fd0c0b8c60d6d927d5db94461c70ea3b parent bd6dd756522f3874b0efe576f9c25f5dee239646 author Larry Finger Sun, 03 Sep 2006 23:38:56 -0500 committer John W. Linville Mon, 11 Sep 2006 19:34:02 -0400 [PATCH] bcm43xx: remove dead statistics code This patch removes code that was make obsolete when the wireless statistics in bcm43xx-softmac were changed, but was overlooked at that time. The value of bcm->stats.link_quality computed here is never used. Signed-off-by: Larry Finger Signed-off-by: John W. Linville commit bd6dd756522f3874b0efe576f9c25f5dee239646 tree f7fa278d1e4c850a77280bcc40ae1275c31c750c parent 4e1bbd846d00a245dcf78b6b331d8a9afed8e6d7 author Jean Tourrilhes Tue, 29 Aug 2006 18:19:23 -0700 committer John W. Linville Mon, 11 Sep 2006 19:34:02 -0400 [PATCH] Prism54 : add bitrates to scan result This patch adds bitrate information to the scan result in the Prism54 driver, like some/most other driver do. Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit 4e1bbd846d00a245dcf78b6b331d8a9afed8e6d7 tree 5eaca587cf00eef0f27a11a43220ffe602c25c4f parent fc3e39bef9ef5eb594ab2a35206b9b049c36320a author Ulrich Kunitz Tue, 29 Aug 2006 23:51:43 +0100 committer John W. Linville Mon, 11 Sep 2006 19:34:01 -0400 [PATCH] zd1211rw: Removed unneeded packed attributes Inspired by an e-mail by Stephen Hemminger I decided to remove all unneeded packed attributes from the code where the member variables are already aligned. This avoids horrible code being generated on some architectures. Signed-off-by: Ulrich Kunitz Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit fc3e39bef9ef5eb594ab2a35206b9b049c36320a tree 8fa1efe3a95eda2a004d9cbffaa99d9996b1ab64 parent fca2714f27376caa04c3127c802a553b295eaa32 author Daniel Drake Tue, 29 Aug 2006 23:49:53 +0100 committer John W. Linville Mon, 11 Sep 2006 19:34:01 -0400 [PATCH] zd1211rw: Add ID for Asus WL-159g Tested by Vincent TOUCHARD zd1211 chip 0b05:170c v4802 high 00-11-d8 AL2230_RF pa0 g--- Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit fca2714f27376caa04c3127c802a553b295eaa32 tree 6b6d86b5a641d744ccf367a4594afc3d362b4c04 parent 6aeb3dddb7c6697c083582a0757078e163758971 author Daniel Drake Tue, 29 Aug 2006 23:49:32 +0100 committer John W. Linville Mon, 11 Sep 2006 19:34:01 -0400 [PATCH] zd1211rw: Add ID for Siemens Gigaset USB Stick 54 Tested by Martin Dummer. zd1211 chip 0b3b:5630 v4330 high 00-01-e3 RF2959_RF pa0 --- Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 6aeb3dddb7c6697c083582a0757078e163758971 tree c032b0e362e1e142bcfa14c7f3988c62cef7902c parent 7d4b0394bbf5e306ff9d5753163a07187131bfd8 author Larry Finger Mon, 11 Sep 2006 16:46:26 -0400 committer John W. Linville Mon, 11 Sep 2006 19:34:01 -0400 [PATCH] bcm43xx: Correct out of sequence initialization step This patch fixes an out of sequence step in the bcm43xx_init_board routine for bcm43xx-softmac. Signed-off-by: Larry Finger Signed-off-by: John W. Linville commit 7d4b0394bbf5e306ff9d5753163a07187131bfd8 tree 24696862ca6df267b7c4d30feb240174c99d4237 parent 34fa0e319c760189f1fc226acc5b3b387dc58099 author Larry Finger Mon, 21 Aug 2006 09:43:44 -0500 committer John W. Linville Mon, 11 Sep 2006 19:34:00 -0400 [PATCH] bcm43xx-softmac: Init, shutdown and restart fixes This fixes various bugs in the init and shutdown code that would lead to lockups and crashes. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 34fa0e319c760189f1fc226acc5b3b387dc58099 tree 401ce21e352ce538abe25744da9c510a2339cd06 parent 623b3e1d645e42030897d18d37db10133d763006 parent db888aed7e83559d61cff04bf002d0fb80ecbfa7 author John W. Linville Mon, 11 Sep 2006 16:40:03 -0400 committer John W. Linville Mon, 11 Sep 2006 16:40:03 -0400 Merge branch 'upstream-fixes' into upstream commit 623b3e1d645e42030897d18d37db10133d763006 tree 090ff481cd72b47ff87d50615461712a33ba41e6 parent c576af479162c0a11d4e2691ebc97354958d9285 parent 38f5745c5a90641079fd5b48600ae63f7ab6edcd author John W. Linville Mon, 11 Sep 2006 14:08:41 -0400 committer John W. Linville Mon, 11 Sep 2006 14:08:41 -0400 Merge branch 'from-linus' into upstream commit b39fe41f481d20c201012e4483e76c203802dda7 tree 06493995b74c1fd2f40561b0f6924d3b863f166f parent d2eed8cff9a1a5d7e12ec9ddf71432c466b104d0 author Francois Romieu Mon, 11 Sep 2006 20:10:58 +0200 committer Francois Romieu Mon, 11 Sep 2006 19:51:47 +0200 r8169: quirk for the 8110sb on arm platform Inverting the write ordering of the TxDescAddr{High/Low} registers suffices to trigger a sabbat of PCI errors which make the device completely dysfunctional. The issue has not been reported on a different platform. Switching from MMIO accesses to I/O ones as done in Realtek's own driver fixes (papers over ?) the bug as well but I am not thrilled to see everyone pay the I/O price for an obscure bug. This is the minimal change to handle the issue. Signed-off-by: Francois Romieu Reported-by: Lennert Buytenhek commit 6b12a3d35ff6cb09f8b777ab258ea1e32c680d62 tree 433a88c55ac4713e9d839a9589728ac4dd142afd parent 0486a8c83b0f83c52c4d93accd841e08ccdf04dc parent 519854876c66bd04b0c12d3cead6e0e5fc5a1167 author Jeff Garzik Mon, 11 Sep 2006 09:14:17 -0400 committer Jeff Garzik Mon, 11 Sep 2006 09:14:17 -0400 Merge branch 'upstream-fixes' into upstream commit 0486a8c83b0f83c52c4d93accd841e08ccdf04dc tree 793c5740cf6fd8a7bbad01e3b31fe122f81eb56b parent 2a2fc64481ed48ef0952d03979b053d1e6ba89dc author Stephen Hemminger Wed, 06 Sep 2006 11:06:10 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:07:19 -0400 [PATCH] skge: check for PCI hotplug during IRQ Check if IRQ came from hardware fault (hotplug). Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2a2fc64481ed48ef0952d03979b053d1e6ba89dc tree ba43d147d00fbd4bd68285ce869c98be13967bb4 parent 9f486ae1d9ea700a952b77a8881de05ebc1610c3 author Andy Gospodarek Fri, 08 Sep 2006 08:41:48 -0400 committer Jeff Garzik Mon, 11 Sep 2006 09:06:34 -0400 [PATCH] cleanup unnecessary forcedeth printk This removes unnecessary messages that show up every time I put my ethernet card in promiscuous mode. I'm already getting notification from the networking layer, I don't need notification from the driver as well. There are probably other drivers that do this as well -- I'll look around and see what I can find. Signed-off-by: Andy Gospodarek Signed-off-by: Jeff Garzik commit 9f486ae1d9ea700a952b77a8881de05ebc1610c3 tree 702247e52d2d8ce81758aec6dd3362db52a3cd36 parent 42eab56776b7c9686ee39f8f677a3e3b09caa170 author Valerie Henson Fri, 08 Sep 2006 11:15:41 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:05:37 -0400 [PATCH] Handle pci_enable_device() errors in resume Signed-off-by: Valerie Henson Cc: Jeff Garzik Signed-off-by: Jeff Garzik commit 42eab56776b7c9686ee39f8f677a3e3b09caa170 tree 79a4612538438a1c91d5aa1883a8115296a91540 parent 7f2b12482c86d69ed1804d239a52ea846ef294f2 author Grant Grundler Fri, 08 Sep 2006 11:15:40 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:05:37 -0400 [PATCH] Use tulip.h in winbond-840.c Include "tulip.h" in winbond-840.c and clean up lots of redundant definitions. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin Signed-off-by: Valerie Henson Signed-off-by: Jeff Garzik commit 7f2b12482c86d69ed1804d239a52ea846ef294f2 tree 5bcb8d6c4d9a90634595cf2d4e4a40302dab5e67 parent 0bb3cf726b37c13abce9f9134a68b94aa10e8803 author Grant Grundler Fri, 08 Sep 2006 11:15:39 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:05:37 -0400 [PATCH] Clean up tulip.h Update/cleanup some definitions in tulip.h and tulip_core.c. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin Signed-off-by: Valerie Henson Signed-off-by: Jeff Garzik commit 0bb3cf726b37c13abce9f9134a68b94aa10e8803 tree 52a1fe8fdd08bdc088c1fb95957ecf5e698b8def parent 40c0d87948ab635e814f45664259d4cc193651a1 author Francois Romieu Fri, 08 Sep 2006 11:15:38 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:05:37 -0400 [PATCH] Defer tulip_select_media() to process context Move tulip_select_media() processing to a workqueue, instead of delaying in interrupt context, edited by Kyle McMartin to use kevent thread, instead of creating its own workqueue. Signed-off-by: Kyle McMartin Signed-off-by: Valerie Henson Signed-off-by: Jeff Garzik commit 40c0d87948ab635e814f45664259d4cc193651a1 tree 24c3c8e62eef0db500466540a7338d161c7ce5d7 parent b892de0bd79d534ff4dcbae7aa2ad5b63e23e9fd author Grant Grundler Fri, 08 Sep 2006 11:15:37 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:05:37 -0400 [PATCH] Flush MMIO writes in reset sequence The obvious safe registers to read is one from PCI config space. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin Signed-off-by: Valerie Henson Signed-off-by: Jeff Garzik commit b892de0bd79d534ff4dcbae7aa2ad5b63e23e9fd tree 45ac1f0e4457b2458583207128d646d19ae11222 parent c69f412219855c9525c96052a65b60814531977c author Thibaut Varene Fri, 08 Sep 2006 11:15:36 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:05:37 -0400 [PATCH] Make DS21143 printout match lspci output Signed-off-by: Thibaut Varene Signed-off-by: Kyle McMartin Signed-off-by: Valerie Henson Signed-off-by: Jeff Garzik commit c69f412219855c9525c96052a65b60814531977c tree 21df55a4cd4848276a9fec2eaebb88a863ba43af parent 6b92801b43441f1f0280c332b966b75c74222060 author Grant Grundler Fri, 08 Sep 2006 11:15:35 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:05:37 -0400 [PATCH] Print physical address in tulip_init_one As the cookie returned by pci_iomap() is fairly useless... [Compile warning on pci_resource_start() format fixed up by Valerie Henson.] Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin Signed-off-by: Valerie Henson Signed-off-by: Jeff Garzik commit 6b92801b43441f1f0280c332b966b75c74222060 tree b506159eff5edb6a458f472eb08c4f7f75b0f410 parent 10e299fc6d596f4e8476d24ebba1495a8355baff author Valerie Henson Fri, 08 Sep 2006 11:15:34 -0700 committer Jeff Garzik Mon, 11 Sep 2006 09:05:37 -0400 [PATCH] Change tulip maintainer Signed-off-by: Valerie Henson Signed-off-by: Jeff Garzik MAINTAINERS | 4 ++-- drivers/net/tulip/21142.c | 2 +- drivers/net/tulip/eeprom.c | 2 +- drivers/net/tulip/interrupt.c | 2 +- drivers/net/tulip/media.c | 2 +- drivers/net/tulip/pnic.c | 2 +- drivers/net/tulip/pnic2.c | 2 +- drivers/net/tulip/timer.c | 2 +- drivers/net/tulip/tulip_core.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) commit 10e299fc6d596f4e8476d24ebba1495a8355baff tree f7517eccba4dfc223113961c64429f3986afa8eb parent cff93eb3d3244cc117a5204fe1d62102b506afb9 parent 38f5745c5a90641079fd5b48600ae63f7ab6edcd author Jeff Garzik Mon, 11 Sep 2006 09:05:33 -0400 committer Jeff Garzik Mon, 11 Sep 2006 09:05:33 -0400 Merge branch 'master' into upstream commit dd1dc802368154a75926491092ec9e6a939c32df tree d30356622b57f9d993ff1c54a621c2d1f8cd31d9 parent 406176ee7ef81cec3f346ecd41286a67148e3b0c parent 6708374178d225ef77571ed23b30e8a93c36add5 author Jeff Garzik Mon, 11 Sep 2006 08:54:55 -0400 committer Jeff Garzik Mon, 11 Sep 2006 08:54:55 -0400 Merge branch 'upstream-fixes' into upstream Conflicts: drivers/ata/ata_piix.c commit edf03fb0575cbee2595a63374b17dc0921f2094a tree b9964afc71abc0a6a786a0641380440a5bc8fe34 parent 08da3f413f6aa3eb48cfc5331c68e57393167fe5 author Dave Jones Sun, 10 Sep 2006 21:12:20 -0400 committer Dave Jones Sun, 10 Sep 2006 21:12:20 -0400 [AGPGART] Rework AGPv3 modesetting fallback. Sometimes the logic to handle AGPx8->AGPx4 fallback failed, as can be seen in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197346 The failures occured if the bridge was in AGPx8 mode, but the user hadn't specified a mode in their X config. We weren't setting the mode to the highest mode capable by the video card+bridge (as we do in the AGPv2 case), which was leading to all kinds of mayhem including us believing that after falling back from AGPx8, that we couldn't do x4 mode (which is disastrous in AGPv3, as those are the only two modes possible). Signed-off-by: Dave Jones commit 08da3f413f6aa3eb48cfc5331c68e57393167fe5 tree 395758a4848487db6e5c570bc8991e86bfaa3610 parent c14635eb4e591c61e419c065df1fdacf9ff90c00 author Dave Jones Sun, 10 Sep 2006 21:09:26 -0400 committer Dave Jones Sun, 10 Sep 2006 21:09:26 -0400 [AGPGART] Add suspend callback for i965 Signed-off-by: Dave Jones commit 2b7cbe20174695bca1afe2a8f755e1eb299f4768 tree aa60d5d6cab1860b756b373ab98abecbce733754 parent a01e70e570a72b8a8c9a58062e4f5bdcd3986222 author James Bottomley Thu, 07 Sep 2006 15:14:46 -0500 committer James Bottomley Thu, 07 Sep 2006 15:21:50 -0500 [SCSI] fix up SCSI netlink build CONFIG_SCSI_NETLINK can become a bool since the item its selecting (CONFIG_NET) cannot be a module. Signed-off-by: James Bottomley commit a01e70e570a72b8a8c9a58062e4f5bdcd3986222 tree d2b8b5e0e69d14805ac98033561597de6e24d5c6 parent d24e1eeb3a16e4944288c2f3bf082e1513f4b425 author James Bottomley Wed, 06 Sep 2006 19:28:07 -0500 committer James Bottomley Thu, 07 Sep 2006 15:20:23 -0500 [SCSI] aci94xx: implement link rate setting This patch implements the ability to set the minimum and maximum linkrates for both libsas (for expanders) and aic94xx (for the host phys). It also tidies up the setting of the hardware min and max to make sure they're updated when the expander emits a change broadcast. Signed-off-by: James Bottomley commit d24e1eeb3a16e4944288c2f3bf082e1513f4b425 tree 395812a03c26a8693c23362eb403048164352dd6 parent 88edf74610bd894b93438f389688bc8b4a2d3414 author James Bottomley Wed, 06 Sep 2006 19:25:22 -0500 committer James Bottomley Thu, 07 Sep 2006 15:16:44 -0500 [SCSI] scsi_transport_sas: make minimum and maximum linkrate settable quantities According to SPEC, the minimum_linkrate and maximum_linkrate should be settable by the user. This patch introduces a callback that allows the sas class to pass these settings on to the driver. Signed-off-by: James Bottomley commit 88edf74610bd894b93438f389688bc8b4a2d3414 tree 5f22ad465f07a8eda5576185db2e24ac7797d68a parent b4620233d6a3510564c561a5a2a365a1d8a34b68 author James Bottomley Wed, 06 Sep 2006 17:36:13 -0500 committer James Bottomley Thu, 07 Sep 2006 12:41:16 -0500 [SCSI] SAS: consolidate linkspeed definitions At the moment we have two separate linkspeed enumerations covering roughly the same values. This patch consolidates on a single one enum sas_linkspeed in scsi_transport_sas.h and uses it everywhere in the aic94xx driver. Eventually I'll get around to removing the duplicated fields in asd_sas_phy and sas_phy ... Signed-off-by: James Bottomley commit b4620233d6a3510564c561a5a2a365a1d8a34b68 tree d91ffb0c62728f3dab97debfa244d517061bbfab parent f479ab87936563a286b8aa0e39003c40fa31c6da author Henrik Kretzschmar Wed, 06 Sep 2006 10:49:48 +0200 committer James Bottomley Thu, 07 Sep 2006 12:39:34 -0500 [SCSI] scsi-driver ultrastore replace Scsi_Cmnd with struct scsi_cmnd Signed-off-by: Henrik Kretzschmar Signed-off-by: James Bottomley commit f479ab87936563a286b8aa0e39003c40fa31c6da tree 9592ef7ca7b68dd2ec5c21e371a6b4ad76be8ac5 parent 884d25cc4fda20908fd4ef93dbb41d817984b68b author James Bottomley Wed, 06 Sep 2006 09:00:29 -0500 committer James Bottomley Thu, 07 Sep 2006 10:37:22 -0500 [SCSI] fix up non-modular SCSI The recent change to the way scsi_device_get()/put() work broke the non modular build (we do a module_refcount on a NULL). Fix this by checking for non-null before checking module_refcount(). Signed-off-by: James Bottomley commit 884d25cc4fda20908fd4ef93dbb41d817984b68b tree 99a7a2a02ff76bee9c4a0620e6a90321517bba13 parent 26dacd0c9b2dc1dc987c376aeee4e80691a7dd0b author James Bottomley Tue, 05 Sep 2006 16:26:41 -0500 committer James Bottomley Thu, 07 Sep 2006 10:08:43 -0500 [SCSI] Fix refcount breakage with 'echo "1" > scan' when target already present Spotted by: Dan Aloni The problem is there's inconsistent locking semantic usage of scsi_alloc_target(). Two callers assume the target comes back with reference unincremented and the third assumes its incremented. Fix by always making the reference incremented on return. Also fix path in target alloc that could consistently increment the parent lock. Finally document scsi_alloc_target() so its callers know what the expectations are. Signed-off-by: James Bottomley commit cff93eb3d3244cc117a5204fe1d62102b506afb9 tree 14aaadd17ffe8af8904546cc8911aca3918f3d17 parent f6aa1693671fa9ea661fd30f003820d129fe0628 author Adrian Bunk Mon, 04 Sep 2006 13:41:14 +0200 committer Jeff Garzik Wed, 06 Sep 2006 12:52:52 -0400 [PATCH] make drivers/net/e1000/e1000_hw.c:e1000_phy_igp_get_info() static This patch makes the needlessly global e1000_phy_igp_get_info() static. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit c14635eb4e591c61e419c065df1fdacf9ff90c00 tree e05cd50d0d3e5e6fa3fdaf06d08a41f31700cfe7 parent 65c25aadfa4e917060e99fe459f33a6a07db53cc author Dave Jones Wed, 06 Sep 2006 11:59:35 -0400 committer Dave Jones Wed, 06 Sep 2006 11:59:35 -0400 [AGPGART] Fix number of aperture sizes in 830 gart structs. Spotted by Eric Anholt. Signed-off-by: Dave Jones commit 65c25aadfa4e917060e99fe459f33a6a07db53cc tree 510a3fd7bd869cb49d27f22e0f9191d4bca44138 parent 115b384cf87249d76adb0b21aca11ee22128927d author Eric Anholt Wed, 06 Sep 2006 11:57:18 -0400 committer Dave Jones Wed, 06 Sep 2006 11:57:18 -0400 [AGPGART] Intel 965 Express support. From: Alan Hourihane From: Eric Anholt Signed-off-by: Dave Jones commit f6aa1693671fa9ea661fd30f003820d129fe0628 tree f17e223a4b80c22e82c2a8543806aebad4e6e77c parent 513f533e3f161c5a59555677d35e8ae28037bd89 author Stephen Hemminger Fri, 01 Sep 2006 15:53:50 -0700 committer Jeff Garzik Wed, 06 Sep 2006 11:19:23 -0400 [PATCH] skge: version 1.8 Because of the NAPI and other SMP fixes, let's call this a version. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 513f533e3f161c5a59555677d35e8ae28037bd89 tree 84d8d7355f8c14f3abd57e8e313ce39ed09e3d05 parent 29365c900963d4986b74a0dadea46872bf283d76 author Stephen Hemminger Fri, 01 Sep 2006 15:53:49 -0700 committer Jeff Garzik Wed, 06 Sep 2006 11:19:23 -0400 [PATCH] skge: use NAPI for transmit complete The skge driver has much better performance if transmit done is handled in NAPI softirq. Change from doing transmit locking in driver (LLTX) and use device lock. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 29365c900963d4986b74a0dadea46872bf283d76 tree d896de1c7306f0f03c9781cb054bbcd5cf0a9817 parent c54f9765daafe8493dba837b3d70e97432cd876a author Stephen Hemminger Fri, 01 Sep 2006 15:53:48 -0700 committer Jeff Garzik Wed, 06 Sep 2006 11:19:23 -0400 [PATCH] skge: irq lock race The driver needs to access the IRQ status inside of lock to avoid races with other places changing IRQ mask etc. This may be related to some of the SMP bugs reported against skge in kernel bugzilla. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c54f9765daafe8493dba837b3d70e97432cd876a tree 5933a42766864a3117611ec1c999758e9f8a2f38 parent 2f4a66ad49097f0b0207a141aa2115ed352fbf58 author Stephen Hemminger Fri, 01 Sep 2006 15:53:47 -0700 committer Jeff Garzik Wed, 06 Sep 2006 11:19:22 -0400 [PATCH] skge: use netdev_alloc_skb Change to use new netdev_alloc_skb interface for 2.6.18. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2f4a66ad49097f0b0207a141aa2115ed352fbf58 tree 4909c72aa86e53ce17458cc3347e3682b769aefb parent ce7f93680aa1d37171c654536ae0ce9745d86a24 author Stephen Hemminger Fri, 01 Sep 2006 14:52:04 -0700 committer Jeff Garzik Wed, 06 Sep 2006 11:10:50 -0400 [PATCH] sky2: more pci device id's Some more Marvell device id's, these are from the latest SysKonnect vendor driver version of sk98lin (8.36). Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ce7f93680aa1d37171c654536ae0ce9745d86a24 tree 7c88e6ebafbcdf5c0a89feb82b572a5ea4e6d000 parent b4d01327e4c05ab555a4cf38a33f4b4fa2f75e64 author Brice Goglin Thu, 31 Aug 2006 01:32:59 -0400 committer Jeff Garzik Wed, 06 Sep 2006 11:06:46 -0400 [PATCH] myri10ge: improve firmware selection Improve the firmware selection by adding 2 cases where we should use the optimized firmware: * when the actual PCIe link width is lower than 8x. * when the board is plugged to one of the new Intel PCIe chipsets that are known to provide aligned PCIe completions. The patch actually raises two concerns: * We might want to add a generic PCI function to get the PCIe link width since some other drivers (at least ipath) do the same. But we probably do not want to add a new function for every PCIe capability. I will probably look at it and discuss it on linux-pci in the future. * As requested during the submission, the PCI ids of chipsets that are known to provided aligned completion are defined in the myri10ge code. If we keep adding new ones, it might become better to move them to pciids.h. But, this sort of quirk to detect these chipsets are very specific to our NIC, I don't think it is worth moving it to the PCI core until somebody else really needs it. Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik commit b4d01327e4c05ab555a4cf38a33f4b4fa2f75e64 tree f683950f737fea82e55153209ef34a4089285abc parent a2413598b8c5f14d75f914ce95d72bacdeabd05e parent d279490543ee4e7c51371eb605b578ab47f45305 author Jeff Garzik Wed, 06 Sep 2006 11:06:44 -0400 committer Jeff Garzik Wed, 06 Sep 2006 11:06:44 -0400 Merge branch 'upstream-fixes' into upstream commit a2413598b8c5f14d75f914ce95d72bacdeabd05e tree 35e1340b05b295dbefefaa45424e00a55c28402e parent f2ad2d9b65963322186a8af2bd2965c734a7badb parent c576af479162c0a11d4e2691ebc97354958d9285 author Jeff Garzik Wed, 06 Sep 2006 11:02:22 -0400 committer Jeff Garzik Wed, 06 Sep 2006 11:02:22 -0400 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream commit f2ad2d9b65963322186a8af2bd2965c734a7badb tree 3bac0275d80a590b0254650b6a36e018dcf73b0a parent edf7e5ec99c2e24cea3951f7961958fc7edbfdd1 author Ayaz Abdulla Thu, 24 Aug 2006 17:35:41 -0400 committer Jeff Garzik Wed, 06 Sep 2006 10:57:37 -0400 [PATCH] forcedeth: decouple vlan and rx checksum dependency This patch decouples the dependency between the rx checksum feature and vlan feature. This is done by ignoring the checksum information if the user has disabled rx checksum when vlan is enabled. Signed-Off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit edf7e5ec99c2e24cea3951f7961958fc7edbfdd1 tree 1862fb28066e7f8728f7bc325349e1efc5885ab6 parent 3784fd7316d336f2ba79b6c7c8168d08eff8a714 author Ayaz Abdulla Thu, 24 Aug 2006 15:43:42 -0400 committer Jeff Garzik Wed, 06 Sep 2006 10:57:37 -0400 [PATCH] forcedeth: errata for marvell phys This patch addresses an errata found on certain marvell phys concerning the reset of the BMCR phy register during phy reset. Signed-Off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit 406176ee7ef81cec3f346ecd41286a67148e3b0c tree f938fc24d000b5217d95fb8a1b4e0a2c9d2bbae6 parent fc851fad00d7fa1bf4ac7034d9ba8041bf482d50 author Jeff Garzik Wed, 06 Sep 2006 10:48:19 -0400 committer Jeff Garzik Wed, 06 Sep 2006 10:48:19 -0400 [libata] Add pata_jmicron driver to Kconfig, Makefile Someone on LKML noticed it was missing (sorry, missed the name). Signed-off-by: Jeff Garzik commit 8adcc0c674004c0f9467031a93dc639c2b01411f tree c927083c7ad6be78749ad0ecc2fff1f018a7dd5f parent db44aaf3a2f599163c53ce96658aca688b3466f0 author Venkatesh Pallipadi Fri, 01 Sep 2006 14:02:24 -0700 committer Dave Jones Tue, 05 Sep 2006 17:28:42 -0400 [CPUFREQ] Workaround for BIOS bug in software coordination of frequency Some buggy BIOSes do a "software any" kind of coordination without telling about it to OS. So, when OS sets frequency on one CPU on these platforms, it will also impact all the other logical CPUs that are in the same power domain. Attached patch is a workaround for those buggy BIOSes. Patch should be a noop on the normal non-buggy platforms. Applies over previously sent acpi-cpufreq and software coordination bug fix patch Signed-off-by: Denis Sadykov Signed-off-by: Venkatesh Pallipadi Signed-off-by: Alexey Starikovskiy Signed-off-by: Dave Jones commit db44aaf3a2f599163c53ce96658aca688b3466f0 tree ad6bbd01851d911e0641256f5d10531504a85ee4 parent 23e735bc7b0e1d614656881794257b4224efda3a author Rafa³ Bilski Wed, 16 Aug 2006 01:07:33 +0200 committer Dave Jones Tue, 05 Sep 2006 17:28:42 -0400 [CPUFREQ] Longhaul - Add voltage scaling to driver Rename option "dont_scale_voltage" to "scale_voltage" because don't will be default. Use "pos" for calculating voltage. In this way driver don't need to know mV value or low level value. Simply min U is one pos and max U is second pos. All pos between these two are used. Assume that min U is for min f and max U for max f. For frequency between min and max calculate pos based on difference between current frequency and min f. Values in mobile VRM table changed to values from C3-M datasheet. Signed-off-by: Rafa³ Bilski Signed-off-by: Dave Jones commit 115b384cf87249d76adb0b21aca11ee22128927d tree f39a2a54863e9d82d1196906f92c82ab5991c6af parent 8eb7925f93af75e66a240d148efdec212f95bcb7 parent c336923b668fdcf0312efbec3b44895d713f4d81 author Dave Jones Tue, 05 Sep 2006 17:20:21 -0400 committer Dave Jones Tue, 05 Sep 2006 17:20:21 -0400 Merge ../linus commit 8eb7925f93af75e66a240d148efdec212f95bcb7 tree 228544ec353c1c3fe374eb9ffe13c4efe7fa9f29 parent b53e674a707cf77e76339852abdc063696679261 author Alexey Dobriyan Sun, 20 Aug 2006 18:48:13 +0400 committer Dave Jones Tue, 05 Sep 2006 17:19:51 -0400 [AGPGART] agp.h: constify struct agp_bridge_data::version drivers/char/agp/backend.c: In function `agp_backend_initialize': drivers/char/agp/backend.c:141: warning: assignment discards qualifiers from pointer target type Signed-off-by: Alexey Dobriyan Signed-off-by: Dave Jones commit 23e735bc7b0e1d614656881794257b4224efda3a tree d9523b531156fedb204e31b4612519b0a7a003e7 parent 3906f4edeef976c081c4e7bd92164d2f59c325ae parent c336923b668fdcf0312efbec3b44895d713f4d81 author Dave Jones Tue, 05 Sep 2006 17:16:33 -0400 committer Dave Jones Tue, 05 Sep 2006 17:16:33 -0400 Merge ../linus commit 3906f4edeef976c081c4e7bd92164d2f59c325ae tree 6ad1309a5e2eda9c2dde0e9bd0dca8d0a4060b9b parent b5ecf60fe6b18de0bc59d336d444835d4ef835ed author Dave Jones Tue, 05 Sep 2006 17:15:47 -0400 committer Dave Jones Tue, 05 Sep 2006 17:15:47 -0400 [CPUFREQ] Fix sparse warning in ondemand drivers/cpufreq/cpufreq_ondemand.c:323:2: warning: Using plain integer as NULL pointer Signed-off-by: Dave Jones commit 26dacd0c9b2dc1dc987c376aeee4e80691a7dd0b tree 99aedce0ff57498f3db3a15b3987cf5faf7c42dd parent c3f28afa61343e3e010e3014aa0d6eba271c1558 author James Smart Fri, 18 Aug 2006 17:47:24 -0400 committer James Bottomley Mon, 04 Sep 2006 21:25:59 -0500 [SCSI] lpfc 8.1.10 : Change version number to 8.1.10 Change version number to 8.1.10 Signed-off-by: James Smart Signed-off-by: James Bottomley commit c3f28afa61343e3e010e3014aa0d6eba271c1558 tree 43b20c5595a4590b470b476a3a0251cb21bd6743 parent c01f32087960edd60a302ad62ad6b8b525e4aeec author James Smart Fri, 18 Aug 2006 17:47:18 -0400 committer James Bottomley Mon, 04 Sep 2006 21:25:41 -0500 [SCSI] lpfc 8.1.10 : Add support for new lpfc soft_wwpn attribute Add support for a new lpfc soft_wwpn sysfs attribute Signed-off-by: James Smart Signed-off-by: James Bottomley commit c01f32087960edd60a302ad62ad6b8b525e4aeec tree abefc5afc051d379802de42175e14df37d79b4ae parent 0f29b966d60e9a4f5ecff9f3832257b38aea4f13 author James Smart Fri, 18 Aug 2006 17:47:08 -0400 committer James Bottomley Mon, 04 Sep 2006 21:25:21 -0500 [SCSI] lpfc 8.1.10 : Add support for dev_loss_tmo_callbk and fast_io_fail_tmo_callbk Add support for new dev_loss_tmo callback Goodness is that it removes code for a parallel nodev timer that existed in the driver Add support for the new fast_io_fail callback Signed-off-by: James Smart Signed-off-by: James Bottomley commit 0f29b966d60e9a4f5ecff9f3832257b38aea4f13 tree 0b14cbcdf74aee4676c49353f816ae5f98c504ee parent ae36764a230ff6a278ed93735acf5fcda08f2786 author James Smart Fri, 18 Aug 2006 17:33:29 -0400 committer James Bottomley Mon, 04 Sep 2006 21:22:05 -0500 [SCSI] FC transport: Add dev_loss_tmo callbacks, and new fast_io_fail_tmo w/ callback This patch adds the following functionality to the FC transport: - dev_loss_tmo LLDD callback : Called to essentially confirm the deletion of an rport. Thus, it is called whenever the dev_loss_tmo fires, or when the rport is deleted due to other circumstances (module unload, etc). It is expected that the callback will initiate the termination of any outstanding i/o on the rport. - fast_io_fail_tmo and LLD callback: There are some cases where it may take a long while to truly determine device loss, but the system is in a multipathing configuration that if the i/o was failed quickly (faster than dev_loss_tmo), it could be redirected to a different path and completed sooner. Many thanks to Mike Reed who cleaned up the initial RFC in support of this post. The original RFC is at: http://marc.theaimsgroup.com/?l=linux-scsi&m=115505981027246&w=2 Signed-off-by: James Smart Signed-off-by: James Bottomley commit fc851fad00d7fa1bf4ac7034d9ba8041bf482d50 tree 779a8b572d1701ef2c46755df751d9275650cdf4 parent 85cd7251b9112e3dabeac9fd3b175601ca607241 parent f9bcda7760e1373615c9f6d9ce24209b0ab97de1 author Jeff Garzik Mon, 04 Sep 2006 06:42:01 -0400 committer Jeff Garzik Mon, 04 Sep 2006 06:42:01 -0400 Merge branch 'upstream' into pata-drivers commit f9bcda7760e1373615c9f6d9ce24209b0ab97de1 tree f90b3031126c4e4beb8161f38ea436303e2b8b73 parent 9bec2e38527a9f2497b3d976715c672d08d6160d parent c336923b668fdcf0312efbec3b44895d713f4d81 author Jeff Garzik Mon, 04 Sep 2006 06:41:37 -0400 committer Jeff Garzik Mon, 04 Sep 2006 06:41:37 -0400 Merge branch 'master' into upstream commit 3784fd7316d336f2ba79b6c7c8168d08eff8a714 tree 3019c37f1ba588f252d1a9f1ef33beb5d3d683b1 parent 7c440e7990ea22c0c374c59a5fbd79b0579d1517 parent c336923b668fdcf0312efbec3b44895d713f4d81 author Jeff Garzik Mon, 04 Sep 2006 06:29:54 -0400 committer Jeff Garzik Mon, 04 Sep 2006 06:29:54 -0400 Merge branch 'master' into upstream commit ae36764a230ff6a278ed93735acf5fcda08f2786 tree 3605ce0cffe2e6aee3b5f3107f3949cc27b9ed83 parent d2873e4c1ef293ee6d66456fb84448e258a487fa author James Smart Fri, 18 Aug 2006 17:46:53 -0400 committer James Bottomley Sat, 02 Sep 2006 15:36:04 -0500 [SCSI] lpfc 8.1.10 : Add support to return adapter symbolic name Add support to return adapter symbolic name (now that attribute is dynamic) Signed-off-by: James Smart Signed-off-by: James Bottomley commit d2873e4c1ef293ee6d66456fb84448e258a487fa tree 60941dc2fdd12b50cc94956eacc430e86e6f1c74 parent f14e2e29cdd07f80de6dec168dc2bb39de37eec3 author James Smart Fri, 18 Aug 2006 17:46:43 -0400 committer James Bottomley Sat, 02 Sep 2006 15:35:48 -0500 [SCSI] lpfc 8.1.10 : Add support to post events via new FC event interfaces Add support to post events via new FC event interfaces Signed-off-by: James Smart Signed-off-by: James Bottomley commit f14e2e29cdd07f80de6dec168dc2bb39de37eec3 tree 51f761e90b38f6ec8e6b9fc452f6184df71ebea0 parent 84314fd4740ad73550c76dee4a9578979d84af48 author James Smart Tue, 22 Aug 2006 09:55:23 -0400 committer James Bottomley Sat, 02 Sep 2006 15:35:15 -0500 [SCSI] SCSI & FC transport: extend event vendor id's to 64bits During discussions with Mike Christie, I became convinced that we needed a larger vendor id. This patch extends the id from 32 to 64 bits. This applies on top of the prior patches that add SCSI transport events via netlink. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 84314fd4740ad73550c76dee4a9578979d84af48 tree f8902dbe4134f9bab4f6886bb6c0b2a30797ceaa parent deb81d80ba27da8dfabc29ccb5977db8f4942a0a author James Smart Fri, 18 Aug 2006 17:30:09 -0400 committer James Bottomley Sat, 02 Sep 2006 15:33:49 -0500 [SCSI] SCSI and FC Transport: add netlink support for posting of transport events This patch formally adds support for the posting of FC events via netlink. It is a followup to the original RFC at: http://marc.theaimsgroup.com/?l=linux-scsi&m=114530667923464&w=2 and the initial posting at: http://marc.theaimsgroup.com/?l=linux-scsi&m=115507374832500&w=2 The patch has been updated to optimize the send path, per the discussions in the initial posting. Per discussions at the Storage Summit and at OLS, we are to use netlink for async events from transports. Also per discussions, to avoid a netlink protocol per transport, I've create a single NETLINK_SCSITRANSPORT protocol, which can then be used by all transports. This patch: - Creates new files scsi_netlink.c and scsi_netlink.h, which contains the single and shared definitions for the SCSI Transport. It is tied into the base SCSI subsystem intialization. Contains a single interface routine, scsi_send_transport_event(), for a transport to send an event (via multicast to a protocol specific group). - Creates a new scsi_netlink_fc.h file, which contains the FC netlink event messages - Adds 3 new routines to the fc transport: fc_get_event_number() - to get a FC event # fc_host_post_event() - to send a simple FC event (32 bits of data) fc_host_post_vendor_event() - to send a Vendor unique event, with arbitrary amounts of data. Note: the separation of event number allows for a LLD to send a standard event, followed by vendor-specific data for the event. Note: This patch assumes 2 prior fc transport patches have been installed: http://marc.theaimsgroup.com/?l=linux-scsi&m=115555807316329&w=2 http://marc.theaimsgroup.com/?l=linux-scsi&m=115581614930261&w=2 Sorry - next time I'll do something like making these individual patches of the same posting when I know they'll be posted closely together. Signed-off-by: James Smart Tidy up configuration not to make SCSI always select NET Signed-off-by: James Bottomley commit deb81d80ba27da8dfabc29ccb5977db8f4942a0a tree b4776d0eb64c1e849a40870192e9c90abd773f66 parent cf355883f506051a8ce3ac4539752829320b6c8c author James Bottomley Fri, 01 Sep 2006 09:28:48 -0400 committer James Bottomley Sat, 02 Sep 2006 13:57:28 -0500 [SCSI] add failure return to scsi_init_shared_tag_map() And use it in the stex driver. Signed-off-by: James Bottomley commit cf355883f506051a8ce3ac4539752829320b6c8c tree 2835cac08b85aa9778482938cf4fdf2fbd7d1ebd parent 5a25ba1677ab8d63890016a8c1bca68a3e0fbc7d author Ed Lin Fri, 01 Sep 2006 14:31:51 +0800 committer James Bottomley Sat, 02 Sep 2006 13:57:02 -0500 [SCSI] stex: add shared tags from block Use block shared tags entirely within the driver. In the case of shutdown, assume that there are no other outstanding commands, so tag 0 is fine. Signed-off-by: Ed Lin Signed-off-by: James Bottomley commit 5a25ba1677ab8d63890016a8c1bca68a3e0fbc7d tree 38a1a9361914c689a9914535e67c8bdfde92721e parent 69bdd88ca2670c321fef774e77059516f836c6f2 author Jeff Garzik Fri, 01 Sep 2006 03:12:19 -0400 committer James Bottomley Sat, 02 Sep 2006 13:54:02 -0500 [SCSI] Add Promise SuperTrak driver Add Promise SuperTrak 'stex' driver, supporting SuperTrak EX8350/8300/16350/16300 controllers. The controller's firmware accepts SCSI commands, handing them to the underlying RAID or JBOD disks. The driver consisted of the following cleanups and fixes, beyond its initial submission: Ed Lin: stex: cleanup and minor fixes stex: add new device ids stex: update internal copy code path stex: add hard reset function stex: adjust command timeout in slave_config routine stex: use more efficient method for unload/shutdown flush Jeff Garzik: [SCSI] Add Promise SuperTrak 'shasta' driver. Rename drivers/scsi/shasta.c to stex.c ("SuperTrak EX"). [SCSI] stex: update with community comments from 'Promise SuperTrak' thread [SCSI] stex: Fix warning, trim trailing whitespace. [SCSI] stex: remove last remnants of "shasta" project code name [SCSI] stex: removed 6-byte command emulation [SCSI] stex: minor cleanups [SCSI] stex: minor fixes: irq flag, error return value [SCSI] stex: use dma_alloc_coherent() Signed-off-by: Jeff Garzik Signed-off-by: James Bottomley commit 69bdd88ca2670c321fef774e77059516f836c6f2 tree 4df0e1cc0bc90306762db2b0591dc7a067952365 parent 01dfc7fc56f4b7ec0e5344ab44fcf673ebfbf7fa author Hannes Reinecke Fri, 01 Sep 2006 15:50:23 +0200 committer James Bottomley Sat, 02 Sep 2006 13:37:47 -0500 [SCSI] Wrong size information for devices with disabled read access When accessing a device with disabled read access the capacity is set randomly to 1GB. This makes it impossible to userspace tools to detect invalid device capacities. Signed-off-by: Mike Anderson Acked-by: Chris Mason Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 01dfc7fc56f4b7ec0e5344ab44fcf673ebfbf7fa tree a3196af588db1cdf8a6aa72bcc6648934580bab8 parent e648f63c6520d6e572573149c16a64d2c5ad7ec5 author Mike Christie Thu, 31 Aug 2006 18:09:35 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:43 -0500 [SCSI] iscsi class: update version Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit e648f63c6520d6e572573149c16a64d2c5ad7ec5 tree 4561ce970213236ec2c3ee732a053a8ae5917e99 parent f47f2cf5d4acf929a3aaa6957c3fc4622c358703 author Mike Christie Thu, 31 Aug 2006 18:09:34 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:40 -0500 [SCSI] libiscsi: don't call into lld to cleanup task In the normal IO path we should not be calling back into the LLD since the LLD will have cleaned up the task before or after calling complete pdu. For the fail_command path we still need to do this to force the cleanup. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit f47f2cf5d4acf929a3aaa6957c3fc4622c358703 tree 6bf770ac6a789f926728b1881a7eee64a463404f parent ca5186842a6d85e982e3d572ecd407453d0c5116 author Mike Christie Thu, 31 Aug 2006 18:09:33 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:36 -0500 [SCSI] libiscsi: check that command ptr is set before accessing it If the scsi eh sends a TUR and the session is down we could return SCSI_ML_HOST_BUSY. scsi eh will ignore this and send ask us to abort the command and we blindly accesst the command ptr. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit ca5186842a6d85e982e3d572ecd407453d0c5116 tree 6eb680933750cf330308ab2c748a3d0e85c30c53 parent db98ccde0881b8247acb52dece6d94ed770a7aa5 author Mike Christie Thu, 31 Aug 2006 18:09:32 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:32 -0500 [SCSI] iscsi_tcp: fix partial digest recv When a digest is spread across two network buffers, we currently ignore this and try to check the digest with the partial buffer. Or course this fails. This patch has use iscsi_tcp_copy to copy the whole digest before testing it. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit db98ccde0881b8247acb52dece6d94ed770a7aa5 tree 6c3c32696b253bac7ed10625a0c57562d4bf7796 parent d5390f5f788f01788e9dfd41ad516a2908901610 author Mike Christie Thu, 31 Aug 2006 18:09:31 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:28 -0500 [SCSI] libiscsi: only check burst lengths when sending unsol data The first burst length is only relevant if immedate data = Yes or if Initial R2T is No Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit d5390f5f788f01788e9dfd41ad516a2908901610 tree e8438950bb9a5e601639d9c0806eae329730b44a parent 753e7d3866748799e4a8769cd27ea7202654211b author Mike Christie Thu, 31 Aug 2006 18:09:30 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:25 -0500 [SCSI] iscsi_tcp: update header size during relogin When we relogin to a target, we have not yet negotiated digests so we must reset the hdr_size var. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 753e7d3866748799e4a8769cd27ea7202654211b tree 1abee266dc83b269495133ce53ab463569e231d2 parent dd8c0d958621e3137f3e3302f7b8952041a4a1d7 author Mike Christie Thu, 31 Aug 2006 18:09:29 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:21 -0500 [SCSI] iscsi_tcp: fix header resend This patch built over the last ones fixes a bug in the partial header resend code, where we add on another 4 bytes to the send length on the resend. We want just the header plus digest. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit dd8c0d958621e3137f3e3302f7b8952041a4a1d7 tree 30b943eebcc044cb3305c449d7eea00376115a22 parent 62f383003c22cd34920d0412465eddcb1223da0d author Mike Christie Thu, 31 Aug 2006 18:09:28 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:18 -0500 [SCSI] scsi_tcp: rm data rx and tx tfms We currently allocated seperate tfms for data and header digests. There is no reason for this since we can never calculate a rx header and digest at the same time. Same for sends. So this patch removes the data tfms and has the send and recv sides use the rx_tfm or tx_tfm. I also made the connection creation code preallocate the tfms because I thought I hit a bug where I changed the digests settings during a relogin but could not allocate the tfm and then we just failed. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 62f383003c22cd34920d0412465eddcb1223da0d tree ca5091110dbf19df3f8031a590cd11229e6081e1 parent 98a9416af08385f8497e9c1595113a81aefa5d49 author Mike Christie Thu, 31 Aug 2006 18:09:27 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:14 -0500 [SCSI] iscsi_tcp: fix padding, data digests, and IO at weird offsets iscsi_tcp calculates padding by using the expected transfer length. This has the problem where if we have immediate data = no and initial R2T = yes, and the transfer length ended up needing padding then we send: 1. header 2. padding which should have gone after data 3. data Besides this bug, we also assume the target will always ask for nice transfer lengths and the first burst length will always be a nice value. As far as I can tell form the RFC this is not a requirement. It would be silly to do this, but if someone did it we will end doing bad things. Finally the last bug in that bit of code is in our handling of the recalculation of data digests when we do not send a whole iscsi_buf in one try. The bug here is that we call crypto_digest_final on a iscsi_sendpage error, then when we send the rest of the iscsi_buf, we doiscsi_data_digest_init and this causes the previous data digest to be lost. And to make matters worse, some of these bugs are replicated over and over and over again for immediate data, solicited data and unsolicited data. So the attached patch made over the iscsi git tree (see kernel.org/git for details) which I updated today to include the patches I said I merged, consolidates the sending of data, padding and digests and calculation of data digests and fixes the above bugs. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 98a9416af08385f8497e9c1595113a81aefa5d49 tree 0029f8f14bd70a366f2bebe54eb386cf1021ca60 parent 60ecebf5a10e42f5e2d6e07eb9e24bdee8500b81 author Mike Christie Thu, 31 Aug 2006 18:09:26 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:11 -0500 [SCSI] attempt to complete r2t with data len greater than max burst A couple targets like string bean and MDS, send r2ts with a data len greater than the max burst we agreed to. We were being strict in our enforcing of the iscsi rfc in that code path, but there is no driver limitation that prevents us from fullfilling the request. To allow those targets to work we will ignore the max_burst length and send as much data as the target asks for assuming it has consciously decided to override its max burst length. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 60ecebf5a10e42f5e2d6e07eb9e24bdee8500b81 tree 79b27fd89fe175daa4e4cd6feda8a6548c6d9bf1 parent ffd0436ed2e5a741c8d30062b489b989acf0a526 author Mike Christie Thu, 31 Aug 2006 18:09:25 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:07 -0500 [SCSI] add refcouting around ctask usage in main IO patch It is possible that a ctask could be completing and getting cleaned up at the same time, we are finishing up the last data transfer. This could then result in the data transfer code using stale or invalid values. This patch adds a refcount to the ctask. When the count goes to zero then we know the transmit thread and recv thread or softirq are not touching it and we can safely release it. The eh should not need to grab a reference because it only cleans up a task if it has both the xmit mutex and recv lock (or recv side suspended). Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit ffd0436ed2e5a741c8d30062b489b989acf0a526 tree 037433a76a116c67d3f074c5a83305be8241a8e5 parent e5b3cd42960a10c1bc3701d4f00767463c88ec9d author Mike Christie Thu, 31 Aug 2006 18:09:24 -0400 committer James Bottomley Sat, 02 Sep 2006 13:37:04 -0500 [SCSI] libiscsi, iscsi_tcp, iscsi_iser: check that burst lengths are valid. iSCSI RFC states that the first burst length must be smaller than the max burst length. We currently assume targets will be good, but that may not be the case, so this patch adds a check. This patch also moves the unsol data out offset to the lib so the LLDs do not have to track it. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit e5b3cd42960a10c1bc3701d4f00767463c88ec9d tree f8e54261c465f51fe1ebc67facf9074f0744e385 parent 85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b author Alan Stern Mon, 21 Aug 2006 15:53:25 -0400 committer James Bottomley Sat, 02 Sep 2006 13:36:59 -0500 [SCSI] SCSI: sanitize INQUIRY strings Sanitize the Vendor, Product, and Revision strings contained in an INQUIRY result by setting all non-graphic or non-ASCII characters to ' '. Since the standard disallows such characters, this will affect only non-compliant devices. To help maintain backward compatibility, NUL characters are treated specially. They are taken as string terminators; they and all the following characters are set to ' '. If some valid characters get erased as a result... well, we weren't seeing them before so we haven't lost anything. The primary purpose of this change is to allow blacklist entries to match devices with illegal Vendor or Product strings. In addition, the patch updates a couple of function prototypes, giving inq_result its correct type (unsigned char *). Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b tree a6d2883ef3b4f40a71d59c9db0fda87d43419463 parent 86e33a296c2c9ed6eece0bfff4ac776f42040504 author James Bottomley Thu, 31 Aug 2006 18:15:22 -0400 committer James Bottomley Fri, 01 Sep 2006 17:56:56 -0400 [SCSI] sd: fix cache flushing on module removal (and individual device removal) The fix isn't actually in sd: it's in scsi_device_get(). I modified it to allow devices to be returned in SDEV_CANCEL, but not SDEV_DEL. This means that the device_remove_driver, which occurs in device_del() in scsi_remove_device() after the device has gone into SDEV_CANCEL is now effective at flushing the cache. Signed-off-by: James Bottomley commit 7c440e7990ea22c0c374c59a5fbd79b0579d1517 tree 4fa6513ee2740479bf9c2796a3911eefa485572b parent a422142cfdf90d889d8d3e2affb8311a381530b7 parent 9ee093f653bae98cb56b0669819d4bccb8c05fa4 author Jeff Garzik Thu, 31 Aug 2006 17:39:21 -0400 committer Jeff Garzik Thu, 31 Aug 2006 17:39:21 -0400 Merge branch 'upstream' of git://lost.foo-projects.org/~ahkok/git/netdev-2.6 into upstream commit 9ee093f653bae98cb56b0669819d4bccb8c05fa4 tree a04608635a3f16ab2fe5b6d06f481e34e7ff9c24 parent 69c7a940335371cf31a6589bf2b2ad1d197ef6ec author Auke Kok Thu, 31 Aug 2006 14:27:53 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:53 -0700 ixgb: Increment version to 1.0.112-k2 Signed-off-by: Auke Kok commit 69c7a940335371cf31a6589bf2b2ad1d197ef6ec tree 8948770e20ef5526be50230a8cfe2b3187dd1b49 parent 01748fbb413d6f3b36c330544969d1d7254ee509 author Auke Kok Thu, 31 Aug 2006 14:27:52 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:52 -0700 ixgb: remove skb->dev assignment Same change as e1000: remove skb->dev assignment, it's now done by netdev_alloc_skb. Signed-off-by: Auke Kok commit 01748fbb413d6f3b36c330544969d1d7254ee509 tree 1148455cf4d76d0b4bc17186790710282339449c parent adc5413965e6ca2cd18f0ec89933f762b5605574 author Linas Vepstas Thu, 31 Aug 2006 14:27:52 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:52 -0700 ixgb: Add PCI Error recovery callbacks Adds PCI Error recovery callbacks to the Intel 10-gigabit ethernet ixgb device driver. Lightly tested, works. "Zhang, Yanmin" wrote: Both pci_disable_device and ixgb_down would access the device. It doesn't follow Documentation/pci-error-recovery.txt that error_detected shouldn't do any access to the device. Signed-off-by: Linas Vepstas Signed-off-by: Andrew Morton Signed-off-by: Auke Kok commit adc5413965e6ca2cd18f0ec89933f762b5605574 tree 8fd57f8e212b39d944cb61a8e3faed5a7ddaeff9 parent 7a0eec3bca6ca024325defbc454252da6c537d40 author Jesse Brandeburg Thu, 31 Aug 2006 14:27:51 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:51 -0700 ixgb: Add buffer_info and test like e1000 has. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok commit 7a0eec3bca6ca024325defbc454252da6c537d40 tree 2609600be6b4a5a465c8e8b5570b44c7789bda1a parent ab8ced2fb00f3a1e1b63f8c3c61ad4262308ddc0 author Jesse Brandeburg Thu, 31 Aug 2006 14:27:51 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:51 -0700 ixgb: Cache-align all TX components of the adapter struct. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok commit ab8ced2fb00f3a1e1b63f8c3c61ad4262308ddc0 tree 8a0c6e990588885917675197e9b6166748d72160 parent a91bb6a8b411bdd8053601d7c2254d54670a4df6 author Auke Kok Thu, 31 Aug 2006 14:27:51 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:51 -0700 ixgb: recalculate after how many descriptors to wake the queue Recalculate when to wake the queue using DESC_NEEDED instead of a static hardcoded number. Signed-off-by: Auke Kok commit a91bb6a8b411bdd8053601d7c2254d54670a4df6 tree f0b95643b3954a1afb1df335c3bb86a8f6dc21d9 parent f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39 author Jesse Brandeburg Thu, 31 Aug 2006 14:27:50 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:50 -0700 ixgb: Set a constant blink rate for ixgb adapter identify (1sec on, 1sec off) Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok commit f990b426afb2f6ed77ba9ec272bdfe3d5d3a3d39 tree 5300d4c5e2ef6fff286bddb0b8a937e21be7b1fb parent 5791704fbe6e1a23de29332e18840f8c90faf601 author Auke Kok Thu, 31 Aug 2006 14:27:50 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:50 -0700 ixgb: convert dev->priv to netdev_priv(dev). Signed-off-by: Auke Kok commit 5791704fbe6e1a23de29332e18840f8c90faf601 tree baffbdc9d2d536a13eafb8741de4622378379cf9 parent a535aa1922083c85ce6fb7d1341db0d17df433d4 author Auke Kok Thu, 31 Aug 2006 14:27:50 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:50 -0700 ixgb: Convert dev_alloc_skb to netdev_alloc_skb. Signed-off-by: Auke Kok commit a535aa1922083c85ce6fb7d1341db0d17df433d4 tree d8fe45f2084d42dd8f82cdcd283682e8208f89ec parent 859b039463d7584afb4e25e950bf6dd58460add8 author Auke Kok Thu, 31 Aug 2006 14:27:49 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:49 -0700 e100: increment version to 3.5.16-k2 Increment the version of e100 to 3.5.16-k2, increment dates. Signed-off-by: Auke Kok commit 859b039463d7584afb4e25e950bf6dd58460add8 tree f47e8a0df7177670401b526d64e6eb8fb1c69807 parent b1d26f24e864204dfaa82b1252477e981ba9ef24 author Auke Kok Thu, 31 Aug 2006 14:27:49 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:49 -0700 e100: remove skb->dev assignment Signed-off-by: Auke Kok commit b1d26f24e864204dfaa82b1252477e981ba9ef24 tree 3ebdd35056a551d2605ea62fedd30f0476abf0c7 parent 4187592b6d2230d4f9f7177c369dde2aef1a4337 author Linas Vepstas Thu, 31 Aug 2006 14:27:48 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:48 -0700 e100: fix error recovery A recent patch in -mm3 titled "gregkh-pci-pci-don-t-enable-device-if-already-enabled.patch" causes pci_enable_device() to be a no-op if the kernel thinks that the device is already enabled. This change breaks the PCI error recovery mechanism in the e100 device driver, since, after PCI slot reset, the card is no longer enabled. This is a trivial fix for this problem. Tested. Signed-off-by: Linas Vepstas Signed-off-by: Andrew Morton Signed-off-by: Auke Kok commit 4187592b6d2230d4f9f7177c369dde2aef1a4337 tree eb4deadc93a8ab915372530de1cdf9b7a7c9cb0e parent 7cc33234f23f1abb5d2f6639dda1700b1fde4b64 author Auke Kok Thu, 31 Aug 2006 14:27:48 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:48 -0700 e100: Convert e100 to use netdev_alloc_skb(). Signed-off-by: Auke Kok commit 7cc33234f23f1abb5d2f6639dda1700b1fde4b64 tree 77cb84111a067e3abea208545aa6fc8be54b26fe parent ca6f72241966602d254900b9d624cac00df745bf author Auke Kok Thu, 31 Aug 2006 14:27:47 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:47 -0700 e1000: Increment driver version to 7.2.7-k2 Signed-off-by: Auke Kok commit ca6f72241966602d254900b9d624cac00df745bf tree f600780a8d0aeb8d7814c0de9237c9c39ffb75ec parent 5881cde8a38cab3b228a63516ab64f8d79acc4f5 author Christoph Hellwig Thu, 31 Aug 2006 14:27:47 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:47 -0700 e1000: clean up skb allocation code Signed-off-by: Christoph Hellwig Acked-by: Jesse Brandeburg Signed-off-by: Auke Kok commit 5881cde8a38cab3b228a63516ab64f8d79acc4f5 tree c13da70c1c5838853f2ac607387b1926a70a2142 parent 120cd57644f85b280b538ee403423641167913a9 author Jesse Brandeburg Thu, 31 Aug 2006 14:27:47 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:47 -0700 e1000: Add PCI ID 0x10a4 for our new 4-port PCI-Express device Device 0x10a4 is a double 82571 on a single PCI-Express card and has 4 gigabit capable ports. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok commit 120cd57644f85b280b538ee403423641167913a9 tree 32c35ef6464c0894c6c279d378493c9d6a289402 parent 1db2740d78c74eb11c4d0906047d9c13229a89a4 author Jesse Brandeburg Thu, 31 Aug 2006 14:27:46 -0700 committer Auke Kok Thu, 31 Aug 2006 14:27:46 -0700 e1000: unify WoL capability detection code WoL is constantly giving problems and needed a rewrite. Consolidates all WoL capabilities into a single function, and disables WoL for all other ports on the device except for port A. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok commit cccb20d3a9b7c6d4b6e1b52ee02814e6094aaa12 tree 17ed3c7a4f9b818692af55f38da30f7c801f13ed parent 7668a4945ba0e17a61e535a6c67aa64a319a03b4 author Francois Romieu Wed, 16 Aug 2006 13:07:18 +0200 committer Francois Romieu Thu, 31 Aug 2006 22:15:43 +0200 8139cp: use PCI_DEVICE() to shorten the PCI device table Signed-off-by: Francois Romieu commit 7668a4945ba0e17a61e535a6c67aa64a319a03b4 tree 08a883a950a69e1105d1eef59ae7f6e6ec318932 parent e68970e7543815133224f79a858e7c9e0c42f4de author François Romieu Tue, 15 Aug 2006 20:10:57 +0200 committer Francois Romieu Thu, 31 Aug 2006 22:15:42 +0200 8139cp: pci_get_drvdata(pdev) can not be NULL in suspend handler 1) pci_set_drvdata() is used in cp_{init/remove}_one to initialize/reset driver_data to the relevant value (resp. net_device * and NULL). 2) each of the 3 relevant functions is issued under (device *)->sem: 2.1) pci_unregister_driver -> driver_unregister -> bus_remove_driver -> driver_detach (takes (device *)->sem) -> __device_release_driver(dev) -> dev->bus-remove(dev) (== pci_device_remove) -> drv->remove(pdev) (== cp_remove_one) [...] pci_dev->driver = NULL; 2.2) pci_register_driver -> __pci_register_driver -> driver_register -> bus_add_driver -> driver_attach -> __driver_attach (takes (device *)->sem) -> driver_probe_device(drv, dev) -> dev->bus->probe(dev) (== pci_device_probe) -> _pci_device_probe(drv, pci_dev) -> pci_call_probe(drv, pci_dev, id) -> drv->probe(dev, id) (== cp_init_one) [...] pci_dev->driver = drv; 2.3) suspend_device (takes (device *)->sem) -> dev->bus->suspend(dev) (== pci_device_suspend) checking for drv = pci_dev->driver != NULL [...] -> drv->suspend(pci_dev, state) (== cp_suspend) dev->sem and the state of pci_dev->driver provide the expected result. St Mary's day was a bit rainy here. Signed-off-by: Francois Romieu commit e68970e7543815133224f79a858e7c9e0c42f4de tree 87814a5defcad4201cf37e5c15ab497fdd301859 parent d03d376dd29cae53bf70a21a0c26b306abe37326 author Francois Romieu Tue, 15 Aug 2006 16:22:27 +0200 committer Francois Romieu Thu, 31 Aug 2006 22:15:41 +0200 8139cp: removal of useless BUG_ON() check netdev_priv() will provide a nice oops a few lines before the BUG_ON() check. Signed-off-by: Francois Romieu commit d03d376dd29cae53bf70a21a0c26b306abe37326 tree 06dbf38b03287ab45274c1a2105d590a65d312a3 parent 0ba894d420b845667e2981c2147af974a755fba2 author Francois Romieu Sun, 29 Jan 2006 01:31:36 +0100 committer Francois Romieu Thu, 31 Aug 2006 22:15:41 +0200 8139cp: sync the device private data with its r8169 counterpart struct cp_private is reorganized to be more easily compared between the r8169 and the 8139cp drivers. The alignment should not be impacted. Signed-off-by: Francois Romieu commit 0ba894d420b845667e2981c2147af974a755fba2 tree 86d0332de1632929a1c0dbd8c2575a0f78409969 parent c48e9399e895834f26dff9149de1930ba18a0d6c author Francois Romieu Mon, 14 Aug 2006 19:55:07 +0200 committer Francois Romieu Thu, 31 Aug 2006 22:15:40 +0200 8139cp: ring_info removal for the receive path The ring_info.len field is not used at all. cp_private.rx_skb is turned into an array of sk_buff *. Signed-off-by: Francois Romieu commit c48e9399e895834f26dff9149de1930ba18a0d6c tree 3a85dfd9c2426e5ede98aa41e2ad59c2cd9c9abf parent 3598b57be449a2ee9178e5c511bdb1a8aaccba20 author Francois Romieu Sun, 29 Jan 2006 01:30:48 +0100 committer Francois Romieu Thu, 31 Aug 2006 22:15:40 +0200 8139cp: remove gratuitous indirection dev is an argument of the current function. Signed-off-by: Francois Romieu commit 3598b57be449a2ee9178e5c511bdb1a8aaccba20 tree ac100c84aa1afbfc8e9dd66bd3c47c3f788f4ee6 parent dc709bd190c130b299ac19d596594256265c042a author Francois Romieu Sun, 29 Jan 2006 01:31:13 +0100 committer Francois Romieu Thu, 31 Aug 2006 22:15:39 +0200 8139cp: trim ring_info Fat removal: the mapping address is available from the Rx/Tx descriptors. Signed-off-by: Francois Romieu commit d2eed8cff9a1a5d7e12ec9ddf71432c466b104d0 tree 030e38aa61a1e82f84bf83a25c4e23f879af3128 parent 5f787a1aca3705bdc6adbda36f8d6446380e85a6 author Francois Romieu Thu, 31 Aug 2006 22:01:07 +0200 committer Francois Romieu Thu, 31 Aug 2006 22:01:07 +0200 r8169: the 0x8136 needs a 8 bytes alignment Reported by Darren Salt. Signed-off-by: Francois Romieu commit 5f787a1aca3705bdc6adbda36f8d6446380e85a6 tree 54d9f437366053acb21bbed879ec369608123da1 parent 64e4bfb40c9d07a48c1c7e5b8556e92e7cd7406a author Francois Romieu Thu, 17 Aug 2006 13:02:36 +0200 committer Francois Romieu Thu, 31 Aug 2006 21:59:42 +0200 r8169: add basic MII ioctl support Signed-off-by: Francois Romieu commit 64e4bfb40c9d07a48c1c7e5b8556e92e7cd7406a tree 9940402f978632dedad3273b40ee26ba0f1ecb12 parent 5b0384f4fd079c24b976ee333e6d1f0c95cf14de author Francois Romieu Thu, 17 Aug 2006 12:43:06 +0200 committer Francois Romieu Thu, 31 Aug 2006 21:59:36 +0200 r8169: use standard #defines from mii.h instead of declaring private ones Some unused stuff goes away btw. Signed-off-by: Francois Romieu commit 5b0384f4fd079c24b976ee333e6d1f0c95cf14de tree 58cafcab3883a2d8e3b6e60a0bb7f1c879fe6510 parent b518fa8eac2d0ac497c0fdb27e4cec68d0249bb7 author Francois Romieu Wed, 16 Aug 2006 16:00:01 +0200 committer Francois Romieu Thu, 31 Aug 2006 21:59:29 +0200 r8169: trim trailing whitespaces and convert whitespaces to tabs Signed-off-by: Francois Romieu commit b518fa8eac2d0ac497c0fdb27e4cec68d0249bb7 tree 96ffced71b36d055c57726deaa20443c84fb5f6b parent 188f4af04618b32b8ec7c630a3f18201c81ce70c author Francois Romieu Wed, 16 Aug 2006 15:23:13 +0200 committer Francois Romieu Thu, 31 Aug 2006 21:59:24 +0200 r8169: udelay() removal No need to chew CPU cycles as there is no heavy timing requirement and the delays are always requested from a sleepable context. Signed-off-by: Francois Romieu commit 188f4af04618b32b8ec7c630a3f18201c81ce70c tree a09867951537476aa8125a400528e42f85d8a23a parent bcf0bf90cd9e9242b66e0563b6a8c8db2e4c262c author Francois Romieu Wed, 16 Aug 2006 14:51:52 +0200 committer Francois Romieu Thu, 31 Aug 2006 21:59:19 +0200 r8169: use NETDEV_TX_{BUSY/OK} Signed-off-by: Francois Romieu commit 86e33a296c2c9ed6eece0bfff4ac776f42040504 tree 7c4a11084b233e1899aec6c247435f3478bbd3b5 parent 492dfb489658dfe4a755fa29dd0e34e9c8bd8fb8 author James Bottomley Wed, 30 Aug 2006 09:45:51 -0400 committer James Bottomley Thu, 31 Aug 2006 11:18:03 -0400 [SCSI] add shared tag map helpers This patch adds support for sharing tag maps at the host level (i.e. either every queue [LUN] has its own tag map or there's a single one for the entire host). This formulation is primarily intended to help single issue queue hardware, like the aic7xxx Signed-off-by: James Bottomley commit 492dfb489658dfe4a755fa29dd0e34e9c8bd8fb8 tree 1ad52b1ce98743729c7cacce0c602e22d3a5d076 parent f19eaa7f53736449a6eac89c3863eca2c64d5913 author James Bottomley Wed, 30 Aug 2006 15:48:45 -0400 committer James Bottomley Thu, 31 Aug 2006 11:17:18 -0400 [SCSI] block: add support for shared tag maps The current block queue implementation already contains most of the machinery for shared tag maps. The only remaining pieces are a way to allocate and destroy a tag map independently of the queues (so that the maps can be managed on the life cycle of the overseeing entity) Acked-by: Jens Axboe Signed-off-by: James Bottomley commit aa43f77939c97bf9d3580c6a5e71a5a40290e451 tree 095c0b8b3da4b6554a3f8ef4b39240a5d9216d4d parent 2818c5dec5e28d65d52afbb7695bbbafe6377ee5 parent 4c15343167b5febe7bb0ba96aad5bef42ae94d3b author Paul Mackerras Thu, 31 Aug 2006 15:45:48 +1000 committer Paul Mackerras Thu, 31 Aug 2006 15:45:48 +1000 Merge branch 'merge' commit 85cd7251b9112e3dabeac9fd3b175601ca607241 tree b33b80f54883e224a586661165bd0aee2c47ed39 parent 481ff126e8d9be63809e7854badf815e54066eed author Jeff Garzik Thu, 31 Aug 2006 00:03:49 -0400 committer Jeff Garzik Thu, 31 Aug 2006 00:03:49 -0400 [libata #pata-drivers] Trim trailing whitespace. commit 481ff126e8d9be63809e7854badf815e54066eed tree c682ce7a20bf129428fc0f3cc393f9c9b39ed678 parent 669a5db411d85a14f86cd92bc16bf7ab5b8aa235 parent 9bec2e38527a9f2497b3d976715c672d08d6160d author Jeff Garzik Thu, 31 Aug 2006 00:02:26 -0400 committer Jeff Garzik Thu, 31 Aug 2006 00:02:26 -0400 Merge branch 'upstream' into pata-drivers commit 9bec2e38527a9f2497b3d976715c672d08d6160d tree b081189d1beca3a81ade7209c131977cd8f23f3b parent b01e86fee6c821e4e003fd4e9f65453ac478a58e author Jeff Garzik Thu, 31 Aug 2006 00:02:15 -0400 committer Jeff Garzik Thu, 31 Aug 2006 00:02:15 -0400 [libata] Trim trailing whitespace. commit f19eaa7f53736449a6eac89c3863eca2c64d5913 tree dd60f697af06bf3b6b1ece3fa7a29485ff2b4e92 parent bc229b3663dcd7d8f266cb13b0839efdee6d95b5 author Darrick J. Wong Wed, 30 Aug 2006 14:18:33 -0700 committer James Bottomley Wed, 30 Aug 2006 17:30:06 -0400 [SCSI] aic94xx: Increase can_queue for better performance This patch sets can_queue in the aic94xx driver's scsi_host to better performing values than what's there currently. It seems that asd_ha->seq.can_queue reflects the number of requests that can be queued per controller; so long as there's one scsi_host per controller, it seems logical that the scsi_host ought to have the same can_queue value. To the best of my (still limited) knowledge, this method provides the correct value. The effect of leaving this value set to 1 is terrible performance in the case of either (a) certain Maxtor SAS drives flying solo or (b) flooding several disks with I/O simultaneously (md-raid). There may be more scenarios where we see similar problems that I haven't uncovered. Signed-off-by: Darrick J. Wong Signed-off-by: James Bottomley commit bc229b3663dcd7d8f266cb13b0839efdee6d95b5 tree c200150738373f040d2408ca04b9d172d1f00dbe parent 187afbed1814ea0851bf30bacbf807217dd7864b author James Bottomley Mon, 28 Aug 2006 17:08:21 -0500 committer James Bottomley Wed, 30 Aug 2006 11:04:17 -0400 [SCSI] aic94xx: add MODULE_FIRMWARE tag Add a tag which shows what the firmware file we're requesting is. Signed-off-by: James Bottomley commit 187afbed1814ea0851bf30bacbf807217dd7864b tree 3e60ca1e1edf5feac14bbad0ba0fe087a6229853 parent 2908d778ab3e244900c310974e1fc1c69066e450 author Jon Masters Mon, 28 Aug 2006 17:08:21 -0500 committer James Bottomley Wed, 30 Aug 2006 10:47:27 -0400 [SCSI] MODULE_FIRMWARE for binary firmware(s) Right now, various kernel modules are being migrated over to use request_firmware in order to pull in binary firmware blobs from userland when the module is loaded. This makes sense. However, there is right now little mechanism in place to automatically determine which binary firmware blobs must be included with a kernel in order to satisfy the prerequisites of these drivers. This affects vendors, but also regular users to a certain extent too. The attached patch introduces MODULE_FIRMWARE as a mechanism for advertising that a particular firmware file is to be loaded - it will then show up via modinfo and could be used e.g. when packaging a kernel. Signed-off-by: Jon Masters Comments added in line with all the other MODULE_ tag Signed-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman commit 669a5db411d85a14f86cd92bc16bf7ab5b8aa235 tree 8d4f9d63e18185695a4d97e1a3fa4e18b61c7345 parent b01e86fee6c821e4e003fd4e9f65453ac478a58e author Jeff Garzik Tue, 29 Aug 2006 18:12:40 -0400 committer Jeff Garzik Tue, 29 Aug 2006 18:12:40 -0400 [libata] Add a bunch of PATA drivers. The vast majority of drivers and changes are from Alan Cox. Albert Lee contributed and maintains pata_pdc2027x. Adrian Bunk, Andrew Morton, and Tejun Heo contributed various minor fixes and updates. Signed-off-by: Jeff Garzik commit b01e86fee6c821e4e003fd4e9f65453ac478a58e tree 21695e10cbe7001d2ccc8c87cee5e7a7865b1025 parent e889173c2c67dc288e9b050ab066cfae151b047e parent 60d4684068ff1eec78f55b5888d0bd2d4cca1520 author Jeff Garzik Tue, 29 Aug 2006 17:55:59 -0400 committer Jeff Garzik Tue, 29 Aug 2006 17:55:59 -0400 Merge /spare/repo/linux-2.6 into upstream commit a422142cfdf90d889d8d3e2affb8311a381530b7 tree bde7e2c7a3ee8bca649aecd877a9ee1593f4223e parent 6fc47e31c0e802d205d67e644f654532e5d365d5 parent 60d4684068ff1eec78f55b5888d0bd2d4cca1520 author Jeff Garzik Tue, 29 Aug 2006 17:20:55 -0400 committer Jeff Garzik Tue, 29 Aug 2006 17:20:55 -0400 Merge branch 'master' into upstream commit 6fc47e31c0e802d205d67e644f654532e5d365d5 tree b08f68cca0e9f9a9ba1e76f0135c9538af294457 parent ccdaa2a9daf4777aa50866a28921153ad837a2be author Stephen Hemminger Mon, 28 Aug 2006 16:19:39 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:31 -0400 [PATCH] skge: version 1.7 Increase version. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ccdaa2a9daf4777aa50866a28921153ad837a2be tree d702099a5f17b806b0fe86f2135462df09688a89 parent 83c758fabd3589842ebcb3af6b9150ff55bc39aa author Stephen Hemminger Mon, 28 Aug 2006 16:19:38 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:31 -0400 [PATCH] skge: use ethX for irq assigments The user level irq balance daemon uses "eth" as a way to distinquish ethernet devices. Also, by using device name it is possible to distinquish different boards. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 83c758fabd3589842ebcb3af6b9150ff55bc39aa tree 27a0f8a772d9552815b38eafb6f7ccd19b13d859 parent 78bc218663e3bd6cbbaf6a363d2f88f17541adfb author Stephen Hemminger Mon, 28 Aug 2006 16:19:37 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:31 -0400 [PATCH] skge: use dev_alloc_skb To avoid problems with buggy protocols that assume extra header space, use dev_alloc_skb() when allocating receive buffers. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 78bc218663e3bd6cbbaf6a363d2f88f17541adfb tree acbbd0e96fafb3a6332bbe9b31c483bb922fb886 parent d38efdd65aaabd82374f386d0cc54de2ffc90af3 author Stephen Hemminger Mon, 28 Aug 2006 16:19:36 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:30 -0400 [PATCH] skge: pci bus post fixes At the end of a critical section, we need to force the PCI write to complete by doing a read. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d38efdd65aaabd82374f386d0cc54de2ffc90af3 tree 99967ff37a6a491776d790f0e40fb15747ed7ef7 parent e981d47b9f0c322bacc8398c6c25fcd355a19415 author Stephen Hemminger Mon, 28 Aug 2006 16:19:35 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:30 -0400 [PATCH] skge: cleanup suspend/resume code The code for suspend/resume needs several fixes. The hardware lock should be setup in probe only, not in resume. Interrupts should be disabled during suspend, etc. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e981d47b9f0c322bacc8398c6c25fcd355a19415 tree 596c3996bcc781f612b1d98ce520c08dac98d893 parent 98232f85ffd0efc34c462da5ee81516f7432cec2 author shemminger@osdl.org Mon, 28 Aug 2006 10:00:53 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:30 -0400 [PATCH] sky2: version 1.7 Change version number for this bundle. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 98232f85ffd0efc34c462da5ee81516f7432cec2 tree b78073dfae9bd9cabc46520f2644172de2050551 parent d3bcfbeb27a546d02af202353381ddd91ea39b87 author shemminger@osdl.org Mon, 28 Aug 2006 10:00:52 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:30 -0400 [PATCH] sky2: pci post bug Make sure that PCI write occurs before the delay. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d3bcfbeb27a546d02af202353381ddd91ea39b87 tree dd960a2854a075b6e46d4c1d1219cd5f6f81d74c parent 1d179332f8918a5f4e031dc068a469283b01c4c1 author shemminger@osdl.org Mon, 28 Aug 2006 10:00:51 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:30 -0400 [PATCH] sky2: power down PHY when not up To save power, don't enable power to the PHY until device is brought up. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 1d179332f8918a5f4e031dc068a469283b01c4c1 tree 004d7ec6faab91cc32609dbd2d2a9de33ec39be6 parent e07560cd4f762935968a1120168eb7d22260d85f author shemminger@osdl.org Mon, 28 Aug 2006 10:00:50 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:30 -0400 [PATCH] sky2: optimize checksum offload information Since many packets have the same checksum starting offset and insertion location; the driver can save the last information and only tell hardware when it changes. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e07560cd4f762935968a1120168eb7d22260d85f tree fb1b41403609c550e0dffb1d6365ff8883d8e9cb parent bb507fe11ffda19eee158ce0be42d222135b7aca author shemminger@osdl.org Mon, 28 Aug 2006 10:00:49 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:30 -0400 [PATCH] sky2: TSO mss optimization The MSS in the transmit engine only has to change if TSO mtu changes. This means less commands to the chip when mixing TSO and regular data. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bb507fe11ffda19eee158ce0be42d222135b7aca tree c31b9bcd880dd4f214ec705e9a4cbaefa95e63f9 parent 97bda706b475655088201d7bb96cb8dd6d0d1aa3 author shemminger@osdl.org Mon, 28 Aug 2006 10:00:48 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:30 -0400 [PATCH] sky2: MSI test timing The test for MSI IRQ could have timing issues. The PCI write needs to be pushed out before waiting, and the wait queue should be initialized before the IRQ. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 97bda706b475655088201d7bb96cb8dd6d0d1aa3 tree d691e4a6128a2edc45886120561a8cdc532b057b parent 497d7c8681dec5084b2e79193c2aaeddc789477f author shemminger@osdl.org Mon, 28 Aug 2006 10:00:47 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:29 -0400 [PATCH] sky2: dont use force status bit Don't use force status bit. It was never implemented on all chips, or has no impact. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 497d7c8681dec5084b2e79193c2aaeddc789477f tree cf0063f49e00f8eda26d95cceef7696fdcf15808 parent fba5008cda606488cf42b60de60b4414cc2276ad author shemminger@osdl.org Mon, 28 Aug 2006 10:00:46 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:29 -0400 [PATCH] sky2: use netdev_alloc_skb Use netdev_alloc_skb for buffer allocation to allow for headroom. This prevents bugs in code paths that assume extra space at the front and makes sky2 behave like other drivers. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit fba5008cda606488cf42b60de60b4414cc2276ad tree 0cf28b14ceac3281a97972e9b048e747fec7f5e9 parent 699a71238856b19091503c671bac8abb1e3f9a3a author shemminger@osdl.org Mon, 28 Aug 2006 10:00:45 -0700 committer Jeff Garzik Tue, 29 Aug 2006 17:18:29 -0400 [PATCH] sky2: remove cloned/pskb_expand_head check The code to handle cloned skb overwriting is unnecessary in the sky2 driver and is buggy. The bug is that pskb_expand_head can change the skb but the driver has already mapped in the header. Since the sky2 hardware doesn't need to overwrite memory, the buggy code can just be removed; it was mistakenly copied from the tg3 driver. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c576af479162c0a11d4e2691ebc97354958d9285 tree 7d7afb028c3bcf8f5d4b42c2e9bcb5f5a9ec47d3 parent 653d5b55c0125dca97a420b9a5e77fad7adbf3f0 author Larry Finger Wed, 23 Aug 2006 23:02:40 -0500 committer John W. Linville Tue, 29 Aug 2006 17:06:34 -0400 [PATCH] bcm43xx: Set floor of wireless signal and noise at -110 dBm This patch sets the floor of wireless level (signal) and noise at -110 dBm, which makes them be comatible with RCPI, as discussed by Simon Barber. With this change, bcm43xx-softmac and bcm43xx-d80211 behave the same. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 653d5b55c0125dca97a420b9a5e77fad7adbf3f0 tree 628946c950a6c08087912f11c682f96fa6dce56a parent efa7e0691f476bfe39d83bf367dfd9c4fa05b43f author Larry Finger Wed, 23 Aug 2006 10:04:01 -0500 committer John W. Linville Tue, 29 Aug 2006 17:06:34 -0400 [PATCH] bcm43xx - set correct value in mac_suspended for ifdown/ifup sequence When bcm43xx-softmac is given an ifdown/ifup sequence, the value for bcm->mac_suspended ends up wrong, which leads to a large number of assert(bcm->mac_suspended>=0) messages. This one-line patch fixes this problem. Signed-off-by: Michael Buesch Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit efa7e0691f476bfe39d83bf367dfd9c4fa05b43f tree cbbee0724812d54fec0c9b4b0f0fdc04cd0527d2 parent 8b5f9171f66ce5049d306cd65010ef6cb290f18d author Zhu Yi Tue, 22 Aug 2006 17:11:56 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:34 -0400 [PATCH] ipw2200: Fix compile error when CONFIG_IPW2200_DEBUG is not selected Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8b5f9171f66ce5049d306cd65010ef6cb290f18d tree 8d7e39196d0e90597333aa019b8bba94cc9f39fd parent 094c4d2df6c17a37d9e1b88601990ab660c00c3e author Zhu Yi Mon, 21 Aug 2006 11:39:13 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:34 -0400 [PATCH] ipw2200: Update version stamp to 1.1.4 Update version ipw2200 stamp to 1.1.4 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 094c4d2df6c17a37d9e1b88601990ab660c00c3e tree 3c414a9e08f2b94484409655d47d00be28d140cd parent efbd809829001c94e48b96337ea05a16d5ecee85 author Zhu Yi Mon, 21 Aug 2006 11:39:03 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:34 -0400 [PATCH] ipw2200: enable wireless extension passive scan This patch enables the ipw2200 driver to support passive scanning as offered by the wireless extensions. For this, I enhanced the ipw_wx_set_scan function in such a way that it differentiates between a passive and an active scan request. Additionally, I added a new function called ipw_request_passive_scan that is similiar to the ipw_request_scan function to perform passive scans. Last but not least, I added a field (in fact it is a work_struct struct) called request_passive_scan to the ipw_priv struct. Signed-off-by: Thomas King Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit efbd809829001c94e48b96337ea05a16d5ecee85 tree 0ff04bf837a98d6f0dc3cba6154b8a373e7de8a6 parent c8c22c942e46ca0e06fc7c72845314da1ad41702 author Zhu Yi Mon, 21 Aug 2006 11:38:52 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:33 -0400 [PATCH] ipw2100: Fix deadlock detected by lockdep Fix by removing dependency between priv->action_sem and rtnl semaphore. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit c8c22c942e46ca0e06fc7c72845314da1ad41702 tree df4ed73123b9cb1cddac846c0d8c82370b638596 parent b9bec768c321e51a8da00d56230bc795464992b2 author Zhu Yi Mon, 21 Aug 2006 11:38:39 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:33 -0400 [PATCH] ipw2200: Add pci .shutdown handler If we don't disable the card in the pci .shutdown method, there might be pending interrupts still in the interrupt line after a reboot on some platform. This patch fixes the problem by disable the hardware in the pci .shutdown method. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b9bec768c321e51a8da00d56230bc795464992b2 tree 563e306ba574d80a8ffc2515937dde3ff0971c50 parent d5f7ac203924a51d0e678338a11be42135fa7996 author Zhu Yi Mon, 21 Aug 2006 11:38:28 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:33 -0400 [PATCH] ipw2200: Fix kernel Oops if cmdlog debug is enabled When command error log debug is enabled, we write every host command and parameters into a buffer. But we didn't alloc the parameter buffer for this case. The patch adds struct cmdlog_host_cmd so that the buffer is allocated from the stack. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d5f7ac203924a51d0e678338a11be42135fa7996 tree 89e3df3d1faaab58226bff8999b375a9dd4bbb22 parent 88a93df4cbc1342108356bda4f163d5cb78b6381 author Zhu Yi Mon, 21 Aug 2006 11:38:17 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:33 -0400 [PATCH] ipw2200: mark "iwconfig retry 255" as invalid The ipw2200 firmware/ucode only support values from 0 to 254. So mark 255 as invalid. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 88a93df4cbc1342108356bda4f163d5cb78b6381 tree c3c46fb93fc55c9f83fcf1cc591f913630507274 parent 851ca2687e224b3ad82222d9788532a0eaa05a41 author Zhu Yi Mon, 21 Aug 2006 11:38:08 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:32 -0400 [PATCH] ipw2200: remove the MAC timestamp present field from radiotap head IEEE80211_RADIOTAP_TSFT is defined as the Value in microseconds of the MAC's 64-bit 802.11 Time Synchronization Function timer when the first bit of the MPDU arrived at the MAC. Since ipw2200 hardware doesn't provide this value, we disable this feature from the radiotap header present flag. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 851ca2687e224b3ad82222d9788532a0eaa05a41 tree b389ad3cd969f55180c8a69687e64182c3ab9d89 parent 39be0aaf20c832c50e5f0a975d13013a13650865 author Zhu Yi Mon, 21 Aug 2006 11:37:58 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:32 -0400 [PATCH] ipw2200: Fix ipw2200 QOS parameters endian issue Signed-off-by: Jackie Wu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 39be0aaf20c832c50e5f0a975d13013a13650865 tree 03a6a011f6ecc92b6f194ce5eef599a64a8bc08e parent a9f0d42321a7ac40d244a7c6d74a3d1c7a4aa4f3 author Zhu Yi Mon, 21 Aug 2006 11:37:36 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:32 -0400 [PATCH] ipw2200: remove unused struct ipw_rx_buffer Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit a9f0d42321a7ac40d244a7c6d74a3d1c7a4aa4f3 tree 1af416fbb674aaba4aa9d4023f04f40a06f35367 parent ab644b0b51bf3170b398c087b7a34be6d3c7b7ba author Zhu Yi Mon, 21 Aug 2006 11:37:26 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:32 -0400 [PATCH] ipw2200: Reassociate even if set the same essid. This patch traps the case when the essid is being set to its current value. If the essid is being set again and we are already associated, chances are some other parameters have also been altered. I think it is safer to do the re-association for this case. Signed-off-by: Bill Moss Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit ab644b0b51bf3170b398c087b7a34be6d3c7b7ba tree 00dc1725331833e7f7d04aab9e855803500d4634 parent c580f67fd7fa9deee1f4cf6b86c694b880534a82 author Zhu Yi Mon, 21 Aug 2006 11:37:13 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:31 -0400 [PATCH] ipw2200: ipw_wx_set_essid fix This patch cleanups the ipw_wx_set_essid code and forces a reassociation when setting the essid to "any". I have tested this patch with iwconfig. It makes ipw2200 compliant with all the cases mentioned in the iwconfig man page. The commands iwconfig iface essid any iwconfig iface essid -- any iwconfig iface essid off iwconfig iface essid on all seemed to work correctly. None of this worked before the patch. Note, this patch treats iwconfig iface essid iwconfig iface essid "" The same. It produces an error message: essid: Unknown host. Since an essid of "" is not mentioned in the iwconfig man page. Signed-off-by: Bill Moss Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit c580f67fd7fa9deee1f4cf6b86c694b880534a82 tree b2ff842c56d9746a56d1fb51d70d8521c9ae1598 parent 01d478338ff3eff3bade043495f0fc9e57568876 author Zhu Yi Mon, 21 Aug 2006 11:37:01 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:31 -0400 [PATCH] ipw2200: SIOCGIWFREQ ioctl returns frequency rather than channel The SIOCGIWFREQ ioctl fills the request structure's freq field by setting the exponent to 0 and the mantissa to the current channel number. The iwconfig tool works around this behaviour by looking up the frequency from the channel table if a frequency below 1kHz is returned, other tools (e.g. kwlaninfo) don't. According to the comment in the iwconfig source the driver is supposed to return the frequency, not the channel number. Signed-off-by: Ingo van Lil Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 01d478338ff3eff3bade043495f0fc9e57568876 tree ec7317a247a3758fdddaddf6877826f71e0425d8 parent f09fc44d8c25f22c4d985bb93857338ed02feac6 author Zhu Yi Mon, 21 Aug 2006 11:36:53 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:31 -0400 [PATCH] ipw2200: always enable frequently used debugging code Moving part of the debugging code from IPW_DEBUG to IPW_LL_DEBUG (low level debugging) and make IPW_DEBUG be always enabled. IPW_LL_DEBUG still needs to be enabled by selecting CONFIG_IPW2200_DEBUG. But it is highly deprecated for normal users since it adds higher debug verbosity in driver hot paths. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit f09fc44d8c25f22c4d985bb93857338ed02feac6 tree b73af3c9a258a53ad9323edae81ccb9578cf6590 parent 5a656949719bf8598ad1e93a56eb11e70a4c3208 author Zhu Yi Mon, 21 Aug 2006 11:34:19 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:31 -0400 [PATCH] ieee80211: Workaround malformed 802.11 frames from AP Stop processing further but return success when we receive a malformed packet from the AP. We need this patch to workaround some AP bugs. For example, the beacon frames from the Orinoco AP1000 contains an IE (value = 128) with length equals to 8 but the actual frame length is only 7. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 5a656949719bf8598ad1e93a56eb11e70a4c3208 tree ea0df5c37e264903b9e82e4ec7ade946e6d39be2 parent b4328d87ec5711543b818fea2e1cf64f09d326f1 author Zhu Yi Mon, 21 Aug 2006 11:33:56 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:30 -0400 [PATCH] ieee80211: Fix TKIP and WEP decryption error on SMP machines The IEEE80211 TKIP and WEP Tx and Rx paths use the same crypto_tfm to encrypt and decrypt data. During the encrypt and decrypt process, both of them will set a new key to crypto_tfm. If they happen on the same time, it will corrupt the crypto_tfm. Thus users will receive an ICV error or Michael MIC error. This only likely to happen on SMP box with heavy traffic both on Tx and Rx. The patch use two sets of crypto_tfms to avoid this problem. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b4328d87ec5711543b818fea2e1cf64f09d326f1 tree c458073bed1b554b0f1a64fc5cd27b16181e6c90 parent 051562f7e980b53f7bc6529f2e55b68e20f5d0e6 author Zhu Yi Mon, 21 Aug 2006 11:33:09 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:30 -0400 [PATCH] ieee80211: TKIP and CCMP replay check rework Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 051562f7e980b53f7bc6529f2e55b68e20f5d0e6 tree 47b86d5e32a10b7b94ea3b12aaa16c6a31e44d37 parent 65b6a2775102cd81e57158ef4b1cb89641f76cfd author Zhu Yi Mon, 21 Aug 2006 11:32:47 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:30 -0400 [PATCH] ieee80211: remove ieee80211_tx() is_queue_full warning Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 65b6a2775102cd81e57158ef4b1cb89641f76cfd tree b470e6c38ebb5efd5d7749355d1226ba15f4e355 parent b6971c2191d910714ec36b0ef50886f12c744a06 author Zhu Yi Mon, 21 Aug 2006 11:32:31 +0800 committer John W. Linville Tue, 29 Aug 2006 17:06:30 -0400 [PATCH] ieee80211: Fix header->qos_ctl endian issue Signed-off-by: Jackie Wu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b6971c2191d910714ec36b0ef50886f12c744a06 tree d0c3a73fd93614cbb330e661784072f9847f1338 parent 80b60fa8488e98ceaecb8f976abe79df50988037 author Larry Finger Sat, 19 Aug 2006 10:56:28 -0500 committer John W. Linville Tue, 29 Aug 2006 17:06:30 -0400 [PATCH] bcm43xx: return correct hard_start_xmit error code hard_start_xmit should return a NETIF_TX_FOO error code. Signed-off-by: Michael Buesch Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 80b60fa8488e98ceaecb8f976abe79df50988037 tree af64ba4e3589c8b98cb9673bb3aabdffb44c7c3e parent 9c974fb1a44dc8d09c16caa4dd174b0403ba585c author Larry Finger Wed, 16 Aug 2006 11:05:16 -0500 committer John W. Linville Tue, 29 Aug 2006 17:06:29 -0400 [PATCH] bcm43xx: optimization of DMA bitfields Convert the bitfields in the bcm43xx DMA code to properly aligned u8 booleans. These flags are accessed in the DMA hotpath, so it's a good idea to waste a few bytes of memory for the sake of speed by not requiring masking (and probably shifting) of the bitfields. Signed-off-by: Michael Buesch Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 9c974fb1a44dc8d09c16caa4dd174b0403ba585c tree 69ad62abd798583efdc32b799023e0fd4adec9d1 parent 821fe6831c02259ea0e8c2dec56173bd6037f900 author Pavel Roskin Tue, 15 Aug 2006 20:45:03 -0400 committer John W. Linville Tue, 29 Aug 2006 17:06:29 -0400 [PATCH] orinoco: include linux/if_arp.h directly Don't rely on linux/if_arp.h being included by other headers Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville commit 821fe6831c02259ea0e8c2dec56173bd6037f900 tree b805af8b7c0bedf5effae7991941642b21bbf8e5 parent fb67a0f7b76647ab5ad1e2512275f672584bb4c3 author Pavel Roskin Tue, 15 Aug 2006 20:45:00 -0400 committer John W. Linville Tue, 29 Aug 2006 17:06:29 -0400 [PATCH] orinoco: Don't use "extern inline" on locking functions SPARC architecture has been fixed, so it's no longer needed. Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville commit fb67a0f7b76647ab5ad1e2512275f672584bb4c3 tree e144b3d638d7b6dcd50286958a69ec20e8b13ab7 parent 7a9b8cdacfd42d44f8a615e7db8743655d7647e7 author Michael Buesch Wed, 16 Aug 2006 00:39:36 +0200 committer John W. Linville Tue, 29 Aug 2006 17:06:29 -0400 [PATCH] MAINTAINERS: Add Larry Finger for bcm43xx (softmac) Add Larry Finger to bcm43xx MAINTAINERS Remove Michael Buesch and add Larry Finger in the bcm43xx-softmac MAINTAINERS record. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 7a9b8cdacfd42d44f8a615e7db8743655d7647e7 tree a8cfcdb2cbda9ceef88b333be38e623c94187e71 parent 9218e02bd4dba86e458d9c57d66c18517fb642ff author Michael Buesch Wed, 16 Aug 2006 00:29:07 +0200 committer John W. Linville Tue, 29 Aug 2006 17:06:28 -0400 [PATCH] bcm43xx: re-add bcm43xx_rng_init() call Calls to bcm43xx_rng_init() and bcm43xx_rng_exit() got lost due to merge trouble. Re-add them. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 9218e02bd4dba86e458d9c57d66c18517fb642ff tree cb24a5ed0fe9859d4e4cdfa9470b9bd0a382fb05 parent 3b4c7d640376dbccfe80fc4f7b8772ecc7de28c5 author Michael Buesch Wed, 16 Aug 2006 00:25:16 +0200 committer John W. Linville Tue, 29 Aug 2006 17:06:28 -0400 [PATCH] bcm43xx: >1G and 64bit DMA support This is a rewrite of the bcm43xx DMA engine. It adds support for >1G of memory (for chips that support the extension bits) and 64-bit DMA (for chips that support it). Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 3b4c7d640376dbccfe80fc4f7b8772ecc7de28c5 tree d32851f791af1f1c448cf1d07a941638abe3b3a7 parent e4ac2663ea27d5dda88d97d117080995fcfcd6d5 author Sukadev Bhattiprolu Mon, 14 Aug 2006 23:12:03 -0700 committer John W. Linville Tue, 29 Aug 2006 17:06:28 -0400 [PATCH] kthread: airo.c The airo driver is currently caching a pid for later use, but with the implementation of containers, pids themselves do not uniquely identify a task. The driver is also using kernel_thread() which is deprecated in drivers. This patch essentially replaces the kernel_thread() with kthread_create(). It also stores the task_struct of the airo_thread rather than its pid. Since this introduces a second task_struct in struct airo_info, the patch renames airo_info.task to airo_info.list_bss_task. As an extension of these changes, the patch further: - replaces kill_proc() with kthread_stop() - replaces signal_pending() with kthread_should_stop() - removes thread completion synchronisation which is handled by kthread_stop(). [akpm@osdl.org: fix races] Signed-off-by: Sukadev Bhattiprolu Cc: Javier Achirica Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: John W. Linville commit e4ac2663ea27d5dda88d97d117080995fcfcd6d5 tree 74eac23956a86546ed93eac973b0bc4744b97ccc parent 4c2be501b7e8695f8bdf4f7d5f51595ed55eea44 parent d96299537e43681942ea272e00b0e529aa5b5fa4 author John W. Linville Tue, 29 Aug 2006 16:17:25 -0400 committer John W. Linville Tue, 29 Aug 2006 16:17:25 -0400 Merge branch 'from-linus' into upstream commit 2908d778ab3e244900c310974e1fc1c69066e450 tree 440d56e98414cd2a8ca711dcd6424df1982d474e parent f4ad7b5807385ad1fed0347d966e51a797cd1013 author James Bottomley Tue, 29 Aug 2006 09:22:51 -0500 committer James Bottomley Tue, 29 Aug 2006 09:52:29 -0500 [SCSI] aic94xx: new driver This is the end point of the separate aic94xx driver based on the original driver and transport class from Luben Tuikov The log of the separate development is: Alexis Bruemmer: o aic94xx: fix hotplug/unplug for expanderless systems o aic94xx: disable split completion timer/setting by default o aic94xx: wide port off expander support o aic94xx: remove various inline functions o aic94xx: use bitops o aic94xx: remove queue comment o aic94xx: remove sas_common.c o aic94xx: sas remove depot's o aic94xx: use available list_for_each_entry_safe_reverse() o aic94xx: sas header file merge James Bottomley: o aic94xx: fix TF_TMF_NO_CTX processing o aic94xx: convert to request_firmware interface o aic94xx: fix hotplug/unplug o aic94xx: add link error counts to the expander phys o aic94xx: add transport class phy reset capability o aic94xx: remove local_attached flag o Remove README o Fixup Makefile variable for libsas rename o Rename sas->libsas o aic94xx: correct return code for sas_discover_event o aic94xx: use parent backlink port o aic94xx: remove channel abstraction o aic94xx: fix routing algorithms o aic94xx: add backlink port o aic94xx: fix cascaded expander properties o aic94xx: fix sleep under lock o aic94xx: fix panic on module removal in complex topology o aic94xx: make use of the new sas_port o rename sas_port to asd_sas_port o Fix for eh_strategy_handler move o aic94xx: move entirely over to correct transport class formulation o remove last vestages of sas_rphy_alloc() o update for eh_timed_out move o Preliminary expander support for aic94xx o sas: remove event thread o minor warning cleanups o remove last vestiges of id mapping arrays o Further updates o Convert aic94xx over entirely to the transport class end device and o update aic94xx/sas to use the new sas transport class end device o [PATCH] aic94xx: attaching to the sas transport class o Add missing completion removal from prior patch o [PATCH] aic94xx: attaching to the sas transport class o Build fixes from akpm Jeff Garzik: o [scsi aic94xx] Remove ->owner from PCI info table Luben Tuikov: o initial aic94xx driver Mike Anderson: o aic94xx: fix panic on module insertion o aic94xx: stub out SATA_DEV case o aic94xx: compile warning cleanups o aic94xx: sas_alloc_task o aic94xx: ref count update o aic94xx nexus loss time value o [PATCH] aic94xx: driver assertion in non-x86 BIOS env Randy Dunlap: o libsas: externs not needed Robert Tarte: o aic94xx: sequence patch - fixes SATA support Signed-off-by: James Bottomley commit 1db2740d78c74eb11c4d0906047d9c13229a89a4 tree a20f6b5d852ea01dc1cc610db6b9f96a5842941d parent e7b4411704246e28be0eea8c83af174e1766ed86 author Auke Kok Mon, 28 Aug 2006 14:56:32 -0700 committer Auke Kok Mon, 28 Aug 2006 14:56:32 -0700 e1000: Use module param array code Use module param array code to distinguish between defaults and user specified values. Signed-off-by: Auke Kok commit e7b4411704246e28be0eea8c83af174e1766ed86 tree 88895e8bc05e1101378879f370e6cf2b3f79b8fd parent 3d1dd8cb23c30447602563fc8302af0f15fdf3a9 author Auke Kok Mon, 28 Aug 2006 14:56:30 -0700 committer Auke Kok Mon, 28 Aug 2006 14:56:30 -0700 e1000: remove unused part_num reading code Remove the code that reads part_num from the EEPROM. This part number is never displayed or queryable by the user. Signed-off-by: Auke Kok commit 3d1dd8cb23c30447602563fc8302af0f15fdf3a9 tree 8bbecd1ced0fa8715f8701a2c5198f217cabe342 parent 3fbbc72ef172cd4272a43234d4c7a7bba44c97f5 author Auke Kok Mon, 28 Aug 2006 14:56:27 -0700 committer Auke Kok Mon, 28 Aug 2006 14:56:27 -0700 e1000: error out if we cannot enable PCI device on resume Do not ignore errors returned by pci_enable_device, instead error out. Signed-off-by: Auke Kok commit 3fbbc72ef172cd4272a43234d4c7a7bba44c97f5 tree 94da5cf0359f63ae830c43be61e02fa1816da937 parent 6dd62ab063ec12bf1343d244d89e09d5c3b79f51 author Vasily Averin Mon, 28 Aug 2006 14:56:24 -0700 committer Auke Kok Mon, 28 Aug 2006 14:56:24 -0700 e1000: ring buffers resources cleanup Memory leak was found in 2.6.18-rc4 and e1000 7.2.7 from sourceforge: We should free resources allocated for previous rings if following allocation fails. Signed-off-by: Vasily Averin Signed-off-by: Andrew Morton Signed-off-by: Auke Kok commit 6dd62ab063ec12bf1343d244d89e09d5c3b79f51 tree 31a2e5b89a4529c322bd5bf026bdf124f35e644f parent 401a552b8b318d594fc44d36e3da13ad475a41f7 author Vasily Averin Mon, 28 Aug 2006 14:56:22 -0700 committer Auke Kok Mon, 28 Aug 2006 14:56:22 -0700 e1000: e1000_probe resources cleanup Fix resources cleanup in e1000_probe() Signed-off-by: Vasily Averin Signed-off-by: Andrew Morton Signed-off-by: Auke Kok commit 401a552b8b318d594fc44d36e3da13ad475a41f7 tree a8d2e8e93a7ce29bc8949bc270a8248e795cc2e7 parent 8fc897b00a7d81ffaa24e18881c2d6b10698ab0b author Vasily Averin Mon, 28 Aug 2006 14:56:19 -0700 committer Auke Kok Mon, 28 Aug 2006 14:56:19 -0700 e1000: IRQ resources cleanup irq leak was found in 2.6.18-rc4 and e1000 7.2.7 from sourceforge: if e1000_up fails in e1000_open() we do not free allocated irq Signed-off-by: Vasily Averin Signed-off-by: Andrew Morton Signed-off-by: Auke Kok commit 8fc897b00a7d81ffaa24e18881c2d6b10698ab0b tree 3dac8c72398e8a23228b2a5edd5c926c2a58675d parent 699a71238856b19091503c671bac8abb1e3f9a3a author Auke Kok Mon, 28 Aug 2006 14:56:16 -0700 committer Auke Kok Mon, 28 Aug 2006 14:56:16 -0700 e1000: Whitespace cleanup, cosmetic changes Signed-off-by: Auke Kok commit f4ad7b5807385ad1fed0347d966e51a797cd1013 tree 7661a3f739cc6fc808175a482202885ee1c3ab48 parent 8ce7a9c159c8c4eb480f0a65c6af753dbf9a1a70 author James Bottomley Fri, 25 Aug 2006 13:48:18 -0500 committer James Bottomley Sun, 27 Aug 2006 22:30:11 -0500 [SCSI] scsi_transport_sas: remove local_attached flag This flag denotes local attachment of the phy. There are two problems with it: 1) It's actually redundant ... you can get the same information simply by seeing whether a host is the phys parent 2) we condition a lot of phy parameters on it on the false assumption that we can only control local phys. I'm wiring up phy resets in the aic94xx now, and it will be able to reset non-local phys as well. I fixed 2) by moving the local check into the reset and stats function of the mptsas, since that seems to be the only HBA that can't (currently) control non-local phys. Signed-off-by: James Bottomley commit 8ce7a9c159c8c4eb480f0a65c6af753dbf9a1a70 tree be59573c0af3617d0cd8a7d61f0ed119e58b1156 parent d2afb3ae04e36dbc6e9eb2d8bd54406ff7b6b3bd parent 01da5fd83d6b2c5e36b77539f6cbdd8f49849225 author James Bottomley Sun, 27 Aug 2006 21:59:59 -0500 committer James Bottomley Sun, 27 Aug 2006 21:59:59 -0500 Merge ../linux-2.6 commit 2818c5dec5e28d65d52afbb7695bbbafe6377ee5 tree a061c7228e4716850620a06fde35fd76f7551df6 parent ea0763a7e62f60f3e166327268a80f16ad806718 author Paul Mackerras Fri, 25 Aug 2006 15:08:21 +1000 committer Paul Mackerras Fri, 25 Aug 2006 15:08:21 +1000 [POWERPC] Only offer CONFIG_BRIQ_PANEL if CONFIG_PPC_CHRP is enabled since only the briQ has a briQ front panel, and the briQ is a CHRP and is only supported if CONFIG_PPC_CHRP is set. Signed-off-by: Paul Mackerras commit ea0763a7e62f60f3e166327268a80f16ad806718 tree de54ec5e5d5a49b3cba81b096b7572852aa6f5a9 parent 271c511db9d37d6797745adb1f151a8bd2838c6f parent c85c41ad73c6db4cf4cc98c595cc5e2fdbdb53d5 author Paul Mackerras Fri, 25 Aug 2006 14:56:07 +1000 committer Paul Mackerras Fri, 25 Aug 2006 14:56:07 +1000 Merge branch 'merge' commit 271c511db9d37d6797745adb1f151a8bd2838c6f tree fe789181efeada6073cf3fb6d3d9b366e2f7a742 parent 39ed2fe62c39ac46cda00b1759806a297f38743b author Johannes Berg Tue, 22 Aug 2006 16:57:05 +0200 committer Paul Mackerras Fri, 25 Aug 2006 13:30:27 +1000 [POWERPC] make checkstack work with ARCH=powerpc This patch adds 'powerpc' architecture support to checkstack.pl. Signed-off-by: Johannes Berg Signed-off-by: Paul Mackerras commit 39ed2fe62c39ac46cda00b1759806a297f38743b tree 9afdbd66064c97a2a4951c93f3675a54146ac973 parent e2bf2e26c0915d54208315fc8c9864f1d987217a author Olaf Hering Mon, 21 Aug 2006 18:11:32 +0200 committer Paul Mackerras Fri, 25 Aug 2006 13:30:26 +1000 [POWERPC] reboot when panic_timout is set Only call into RTAS when booted with panic=0 because the RTAS call does not return. The system has to be rebooted via the HMC or via the management console right now. This is cumbersome and not what the default panic=180 is supposed to do. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit e2bf2e26c0915d54208315fc8c9864f1d987217a tree 23946098081ac558faabaaadd0f1ea88416aeb72 parent 6f3d5d3cc4b1447578ae8484166bbc34a64150c5 author Stephen Rothwell Thu, 17 Aug 2006 16:28:28 +1000 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] iseries: remove some gcc 4.1 warnings gcc 4.1 produces some warnings that say it is ignoring the packed attribute on some structure elements, so, since all the elements of these structs are packed, pack the structs instead. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 6f3d5d3cc4b1447578ae8484166bbc34a64150c5 tree 3641fb3b82081252fcb67cb8d2c66eb4d877e25c parent a0a428e30077fd64c39aadf5221cf2c7a14dc281 author Michael Ellerman Wed, 16 Aug 2006 22:04:14 +1000 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] Add a helper for calculating RTAS "config_addr" parameters Several RTAS calls take a "config_addr" parameter, which is a particular way of specifying a PCI busno, devfn and register number into a 32-bit word. Currently these are open-coded, and I'll be adding another soon, replace them with a helper that encapsulates the logic. Be more strict about masking the busno too, just in case. Booted on P5 LPAR. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a0a428e30077fd64c39aadf5221cf2c7a14dc281 tree dbdc1172b705b8f1576fb43bebd2fbc83ee83995 parent 9a2ded55c40ad17b8b12f87c592a40b2e8593c4d author Stephen Rothwell Wed, 16 Aug 2006 15:24:28 +1000 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] iseries: remove const warning Just one bit of fallout from the constification of the get_property return value. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 9a2ded55c40ad17b8b12f87c592a40b2e8593c4d tree f1fd41f15356787e68915257be26dafb0d951932 parent 869d7f381e8c32de85ddfa9621125fb10a885f87 author Michael Neuling Wed, 16 Aug 2006 23:12:14 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] powerpc: Make RTAS console init generic The rtas console doesn't have to be Cell specific. If we get both RTAS tokens, we should just enabled the console then and there. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 869d7f381e8c32de85ddfa9621125fb10a885f87 tree d6997f7113e20d4a15d9f79d22bcb2819e6564ab parent f39b7a55a84e34e3074b168e30dc73b66e85261d author Jon Loeliger Tue, 15 Aug 2006 16:19:02 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] Allow MPC8641 HPCN to build with CONFIG_PCI disabled too. Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit f39b7a55a84e34e3074b168e30dc73b66e85261d tree 9be321bfcd5d0404309b1514127987117c2541cc parent 2e97425197ecf85641a89e5a4868f8e147cc443f author Olof Johansson Fri, 11 Aug 2006 00:07:08 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] Cleanup CPU inits Cleanup CPU inits a bit more, Geoff Levand already did some earlier. * Move CPU state save to cpu_setup, since cpu_setup is only ever done on cpu 0 on 64-bit and save is never done more than once. * Rename __restore_cpu_setup to __restore_cpu_ppc970 and add function pointers to the cputable to use instead. Powermac always has 970 so no need to check there. * Rename __970_cpu_preinit to __cpu_preinit_ppc970 and check PVR before calling it instead of in it, it's too early to use cputable. * Rename pSeries_secondary_smp_init to generic_secondary_smp_init since everyone but powermac and iSeries use it. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 2e97425197ecf85641a89e5a4868f8e147cc443f tree 491defe1ac72de19380dafe7053d3dac497ecf82 parent 9e6ee340194e8bd8f463b55c6d028272c0e64155 author Olof Johansson Fri, 11 Aug 2006 00:03:01 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] Rename cpu_setup_power4.S to cpu_setup_ppc970.S Rename cpu_setup_power4.S to cpu_setup_ppc970.S, since that's really what it is. No functional or other changes. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 9e6ee340194e8bd8f463b55c6d028272c0e64155 tree 5e51b6d0b1cbe7076e4f36eeec0f10964eaa8dc9 parent 11a27ad782fc7ae4b7d6ac8fefad4ceb415300d6 author Geoff Levand Wed, 09 Aug 2006 15:28:13 -0700 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] cell: interrupt.c whitespace clean up Whitespace clean up for cell/interrupt.c. Signed-off-by: Geoff Levand Signed-off-by: Paul Mackerras commit 11a27ad782fc7ae4b7d6ac8fefad4ceb415300d6 tree 10e3f8925e8b659a833017ceb674edbbe2fd3c82 parent 32bc6e095d75233e7c87cc6fa0e07942b124d194 author Michael Neuling Wed, 09 Aug 2006 17:00:30 +1000 committer Paul Mackerras Fri, 25 Aug 2006 13:17:08 +1000 [POWERPC] SLB shadow buffer cleanup Cleanup some of the #define magic as suggested by Milton. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit e889173c2c67dc288e9b050ab066cfae151b047e tree 1d7dbd8a39d59ebc8573ffa6bac6236709e7bdba parent cca3974e48607c3775dc73b544a5700b2e37c21a author Jeff Garzik Thu, 24 Aug 2006 03:55:09 -0400 committer Jeff Garzik Thu, 24 Aug 2006 03:55:09 -0400 Rename libata-bmdma.c to libata-sff.c. Signed-off-by: Jeff Garzik commit cca3974e48607c3775dc73b544a5700b2e37c21a tree 0777d6121ba199af0aad196eb5a693510ec8e62e parent 54a86bfc3d4601be9c36cd4e8a1bdc580c98fa6a author Jeff Garzik Thu, 24 Aug 2006 03:19:22 -0400 committer Jeff Garzik Thu, 24 Aug 2006 03:19:22 -0400 libata: Grand renaming. The biggest change is that ata_host_set is renamed to ata_host. * ata_host_set => ata_host * ata_probe_ent->host_flags => ata_probe_ent->port_flags * ata_probe_ent->host_set_flags => ata_probe_ent->_host_flags * ata_host_stats => ata_port_stats * ata_port->host => ata_port->scsi_host * ata_port->host_set => ata_port->host * ata_port_info->host_flags => ata_port_info->flags * ata_(.*)host_set(.*)\(\) => ata_\1host\2() The leading underscore in ata_probe_ent->_host_flags is to avoid reusing ->host_flags for different purpose. Currently, the only user of the field is libata-bmdma.c and probe_ent itself is scheduled to be removed. ata_port->host is reused for different purpose but this field is used inside libata core proper and of different type. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 54a86bfc3d4601be9c36cd4e8a1bdc580c98fa6a tree 41956fc365923a8c85037c51b8085076d7d8a303 parent 81ce3c4b4d3771866ce74b1c3856b45c3e2549fc parent ac2164d5e425fa4755bdbab9641d8dab7239b6f5 author Jeff Garzik Thu, 24 Aug 2006 02:51:38 -0400 committer Jeff Garzik Thu, 24 Aug 2006 02:51:38 -0400 Merge branch 'upstream-fixes' into upstream commit 81ce3c4b4d3771866ce74b1c3856b45c3e2549fc tree 4ffcee8ec06cdd0edc1a3d2d215e08b04f9ecf41 parent 281d426c7e64286f433645e27862e7744b1e9310 author Jeff Garzik Thu, 24 Aug 2006 02:41:25 -0400 committer Jeff Garzik Thu, 24 Aug 2006 02:41:25 -0400 Clean up drivers/ata/Kconfig a bit. commit 281d426c7e64286f433645e27862e7744b1e9310 tree 580dcab54f53c2e6d056139294aad2416402e4bd parent 08be09b7c38a71b1677285c10a08725833ff9b95 author Alexey Dobriyan Mon, 14 Aug 2006 22:49:30 -0700 committer Jeff Garzik Thu, 24 Aug 2006 02:37:03 -0400 [PATCH] CONFIG_PM=n slim: drivers/scsi/sata_sil* Remove some code which is unneeded if CONFIG_PM=n. Signed-off-by: Alexey Dobriyan Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 08be09b7c38a71b1677285c10a08725833ff9b95 tree 69a646c4dae51904477e1ae24605f28b0b07292b parent 58707cceeef22bd5e85a7f41491e9c3ff57772f9 author Jay Cliburn Mon, 07 Aug 2006 22:08:30 -0500 committer Jeff Garzik Thu, 24 Aug 2006 02:27:50 -0400 [PATCH] sata_via: Add SATA support for vt8237a This patch adds support for the VIA Technologies VT8237A SATA controller, used, for example, on the ASUS M2V socket AM2 motherboard. Signed-off-by: Jay Cliburn Signed-off-by: Jeff Garzik commit 699a71238856b19091503c671bac8abb1e3f9a3a tree db0e6db06961db05c35f3df61e7f14b845b7cd29 parent 85a7ea1b0a3263f3ad423b789a841d03c9acbb65 parent 891b11f619dcfe045015394fa89041f02dac9428 author Jeff Garzik Thu, 24 Aug 2006 00:45:36 -0400 committer Jeff Garzik Thu, 24 Aug 2006 00:45:36 -0400 Merge branch 'upstream-fixes' of git://lost.foo-projects.org/~ahkok/git/netdev-2.6 into tmp commit 85a7ea1b0a3263f3ad423b789a841d03c9acbb65 tree 1bd6e9fca08067157425fee973cf68594c827829 parent c58ac5caeb32ef17c2e4fc208f7dc93f6de32b7d author Brice Goglin Mon, 21 Aug 2006 17:36:56 -0400 committer Jeff Garzik Thu, 24 Aug 2006 00:43:51 -0400 [PATCH] myri10ge: use multicast support in the firmware Some recent myri10ge firmwares support multicast filtering as well as an extended mcp_irq_data structure (64 instead of 40 bytes). The new command MXGEFW_CMD_SET_STATS_DMA_V2 is used to check whether the firmware support those. mgp->fw_multicast_support is defined accordingly. When fw_multicast_support is set, some new multicast filtering commands is passed to the board in myri10ge_set_multicast_list(). Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik commit c58ac5caeb32ef17c2e4fc208f7dc93f6de32b7d tree b31514090620ca564bfe75ba970b843800e51015 parent 8d8b03297c96811501e3821edd4602b315458030 author Brice Goglin Mon, 21 Aug 2006 17:36:49 -0400 committer Jeff Garzik Thu, 24 Aug 2006 00:43:51 -0400 [PATCH] myri10ge: use netif_msg_link Add msg_enable and use netif_msg_link to enable/disable reporting of link status changes since some Ethernet switches seem to generate a lot of status changes under some circumstances and some people want to avoid useless flooding in the logs. Also add a counter for link status changes to statistics. Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik commit 8d8b03297c96811501e3821edd4602b315458030 tree 241e690a9b7957d48b6069940871f37aa9c7df5a parent c67eebd67400c4c2ae1389317f1de0cbb3b7a1ca parent 357eb4cf75fdb9dbe46b64d50f3670de6a45dc91 author Jeff Garzik Thu, 24 Aug 2006 00:42:07 -0400 committer Jeff Garzik Thu, 24 Aug 2006 00:42:07 -0400 Merge branch 'upstream-fixes' into upstream commit 4c2be501b7e8695f8bdf4f7d5f51595ed55eea44 tree d111c2d4601c1e1bdbfbbd585afaee9a8be6f2a6 parent 69758820a42da207bdc775d6eccf1f9fb67cd62e parent 9b5cce07648d059a013444116bd0140b047b25a1 author John W. Linville Wed, 23 Aug 2006 14:22:14 -0400 committer John W. Linville Wed, 23 Aug 2006 14:22:14 -0400 Merge branch 'upstream-fixes' into upstream commit 69758820a42da207bdc775d6eccf1f9fb67cd62e tree 4c4dd2b596aa5535231656bf0fa1bc65a8b17471 parent 113b898e38cb20e80847c24154ce62273b948c6a parent ef7d1b244fa6c94fb76d5f787b8629df64ea4046 author John W. Linville Tue, 22 Aug 2006 14:42:36 -0400 committer John W. Linville Tue, 22 Aug 2006 14:42:36 -0400 Merge branch 'from-linus' into upstream commit 58707cceeef22bd5e85a7f41491e9c3ff57772f9 tree 85bedf4f7c0f7620059f786fbd8779d7217f45e9 parent f89b2b5ddcace8959f760c0556369bd19bda0548 author Henrik Kretzschmar Mon, 21 Aug 2006 18:39:26 -0700 committer Jeff Garzik Tue, 22 Aug 2006 06:11:17 -0400 [PATCH] libata: change path to libata in libata.tmpl Since libata moved from /drivers/scsi to /drivers/ata this template is broken. Signed-off-by: Henrik Kretzschmar Acked-by: Randy Dunlap Acked-by: Alan Cox Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f89b2b5ddcace8959f760c0556369bd19bda0548 tree 520c9530340056a9cc3f86f65027d22fd401b0a4 parent 7796705244d1f04053acf24bee7eb2983f9cfeaf parent f1a58ecae527fc67c87ce4dcb9e73894f64aadfe author Jeff Garzik Tue, 22 Aug 2006 06:10:49 -0400 committer Jeff Garzik Tue, 22 Aug 2006 06:10:49 -0400 Merge branch 'upstream-fixes' into upstream Conflicts: drivers/ata/ata_piix.c commit d2afb3ae04e36dbc6e9eb2d8bd54406ff7b6b3bd tree 661a4634bcec8202c07db8e9aba71064c550ec66 parent 4041b9cd87d97a7c73a5bf5a9305dffee2599386 author Daniel Walker Mon, 14 Aug 2006 23:09:23 -0700 committer James Bottomley Sat, 19 Aug 2006 16:18:28 -0600 [SCSI] BusLogic gcc 4.1 warning fixes - Reworked all the very long lines in that block (this drivers full of them though) - Returns an error in three places that it didn't before. - Properly clean up after a scsi_add_host() failure. Signed-off-by: Daniel Walker Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit c67eebd67400c4c2ae1389317f1de0cbb3b7a1ca tree 6110d2bf15227860a80e880c3bb01147f32039c3 parent 1fb0a6c8c6fe08ae1a5c20f5bdb05a287df3b828 author Komuro Wed, 16 Aug 2006 13:54:11 +0900 committer Jeff Garzik Sat, 19 Aug 2006 17:52:05 -0400 [PATCH] network: axnet_cs.c: add new id (0x021b, 0x0202) Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Jeff Garzik commit 1fb0a6c8c6fe08ae1a5c20f5bdb05a287df3b828 tree ddb34baf5704fa755c96cedb14aa913c4fea65a0 parent 299176206b266f204be859adf9e66efd06628ab2 parent a76b044af147135b5fb7570aba35d4908f143cc9 author Jeff Garzik Sat, 19 Aug 2006 17:51:34 -0400 committer Jeff Garzik Sat, 19 Aug 2006 17:51:34 -0400 Merge branch 'upstream-fixes' into upstream commit 7796705244d1f04053acf24bee7eb2983f9cfeaf tree b6d9dc2986a22bd3fd2352f9246a59621d959c23 parent 499792ec6dc737467e5486527cef95ed7d74fba9 author Tejun Heo Sat, 19 Aug 2006 03:54:39 +0900 committer Jeff Garzik Sat, 19 Aug 2006 17:50:18 -0400 [PATCH] libata: s/CONFIG_SCSI_SATA/CONFIG_[S]ATA/g in pci/quirks.c drivers/pci/quirks.c was not updated when libata config constants were renamed braking several libata quirks. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 299176206b266f204be859adf9e66efd06628ab2 tree e25d9ee1c43940e00e70124a18d869a75de543ab parent 5243a37b7991c85e3ea3afb6e3e13eea7ec2927d author Jeff Garzik Sat, 19 Aug 2006 17:48:59 -0400 committer Jeff Garzik Sat, 19 Aug 2006 17:48:59 -0400 drivers/net: Remove deprecated use of pci_module_init() From: Michal Piotrowski Signed-off-by: Michal Piotrowski Signed-off-by: Jeff Garzik commit 5243a37b7991c85e3ea3afb6e3e13eea7ec2927d tree f00a3c22acf4f5297752ee935dd24ef5012efd87 parent a513c315f95c6d73041436fd1598d51722bd6264 author Henrik Kretzschmar Tue, 15 Aug 2006 11:41:11 +0200 committer Jeff Garzik Sat, 19 Aug 2006 17:46:33 -0400 [PATCH] remove an unused function from the header Removes an unused function from the via-velocity-driver. It doesn't make the binary smaller, but the source cleaner. Signed-off-by: Henrik Kretzschmar Signed-off-by: Jeff Garzik commit a513c315f95c6d73041436fd1598d51722bd6264 tree 505f9a15c1771756cf21011e3f291b81c86cb3df parent fd6746daade513bf7f887625c107878b6aacccfd parent 113b898e38cb20e80847c24154ce62273b948c6a author Jeff Garzik Sat, 19 Aug 2006 17:46:13 -0400 committer Jeff Garzik Sat, 19 Aug 2006 17:46:13 -0400 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream commit fd6746daade513bf7f887625c107878b6aacccfd tree ee192025b75d54d2db00f6d19b8b307366af1599 parent e700f9f4a208bf6c5d2b4dd67816555930524476 author Brice Goglin Mon, 14 Aug 2006 17:53:15 -0400 committer Jeff Garzik Sat, 19 Aug 2006 17:45:17 -0400 [PATCH] myri10ge: convert to netdev_alloc_skb Convert the myri10ge driver to use netdev_alloc_skb instead of dev_alloc_skb, which requires to propagate the net_device across several functions. Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik commit e700f9f4a208bf6c5d2b4dd67816555930524476 tree 58fb624280c4295b8975d18055ac323959cd2e9f parent 846050dd49719b1f68248807bba5c27bfc86f81a author Brice Goglin Mon, 14 Aug 2006 17:52:54 -0400 committer Jeff Garzik Sat, 19 Aug 2006 17:45:17 -0400 [PATCH] myri10ge: define some previously hardwired firmware constants Define some previously hardwired firmware constants. Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik commit 846050dd49719b1f68248807bba5c27bfc86f81a tree 79922936e8cde867ba90d753f79aa61f575e162b parent 49666145de54b5d6d256442bb1bec03ffae1ac76 parent 2ca2d5e84c19ddbc0126087af6288533a05f1799 author Jeff Garzik Sat, 19 Aug 2006 17:45:11 -0400 committer Jeff Garzik Sat, 19 Aug 2006 17:45:11 -0400 Merge branch 'upstream-fixes' into upstream commit 499792ec6dc737467e5486527cef95ed7d74fba9 tree b88c4ef9d4491c17f71d26d33e73f05f7c7ea6a0 parent 421b20b9c44b3fcdc07d6af875dad5ae86fad014 parent d14b50cc60ca465290fcdb3b88e7d5fb684361ed author Jeff Garzik Sat, 19 Aug 2006 17:27:27 -0400 committer Jeff Garzik Sat, 19 Aug 2006 17:27:27 -0400 Merge branch 'upstream-fixes' into upstream commit 49666145de54b5d6d256442bb1bec03ffae1ac76 tree b79bcaabffa18847cab31efdf798dc5740e8d73b parent bcd68373877e74d8ca5039c10dc5d699ba5dc7d0 parent 41ace1861a93f12f70ff10026fb1539fea38fcf8 author Jeff Garzik Sat, 19 Aug 2006 17:25:47 -0400 committer Jeff Garzik Sat, 19 Aug 2006 17:25:47 -0400 Merge branch 'upstream-fixes' into upstream commit 4041b9cd87d97a7c73a5bf5a9305dffee2599386 tree 8f385a2f120dafd6fcad27e2896c960993939121 parent b8d08210126a7b769b857720a59721a453a57a1e author Michal Piotrowski Thu, 17 Aug 2006 13:28:22 +0000 committer James Bottomley Sat, 19 Aug 2006 13:44:54 -0700 [SCSI] megaraid_sas: pci_module_init to pci_register_driver conversion Signed-off-by: Michal Piotrowski Acked-by: "Patro, Sumant" Signed-off-by: James Bottomley commit b8d08210126a7b769b857720a59721a453a57a1e tree d68487391ade14febcce5894e8e16d75e4224d4b parent f3d7271c5ac9029d19fc0252a85bc045334382cc author James Smart Thu, 17 Aug 2006 08:00:43 -0400 committer James Bottomley Sat, 19 Aug 2006 13:43:10 -0700 [SCSI] fc transport: add fc_host system_hostname attribute and u64_to_wwn() This patch updates the fc transport for the following: - Addition of a new attribute "system_hostname" which can be used to set the fully qualified hostname that the fc_host is attached to. The fc_host can then register this string as the FDMI-based host name attribute. Note: for NPIV, a fc_host could be associated with a system which is not the local system. - Add the inline function u64_to_wwn(), which is the inverse of the existing wwn_to_u64() function. - Slight reorg, just to keep dynamic attributes with each other, etc Signed-off-by: James Smart Signed-off-by: James Bottomley commit f3d7271c5ac9029d19fc0252a85bc045334382cc tree 9cc47ccdd7de9e27f31db4beb50a9af3e24f0bd4 parent 2b6ee9b5295460017fc1bc3d60545512df280908 author Henrik Kretzschmar Tue, 15 Aug 2006 11:17:21 +0200 committer James Bottomley Sat, 19 Aug 2006 13:42:00 -0700 [SCSI] convert to PCI_DEVICE() macro Convert the pci_device_id-table of the megaraid_sas-driver to the PCI_DEVICE-macro, to safe some lines. Signed-off-by: Henrik Kretzschmar Acked-by: "Patro, Sumant" Signed-off-by: James Bottomley commit 2b6ee9b5295460017fc1bc3d60545512df280908 tree 157cc851ac58932de7c1daaf971f5d784e5a77ab parent 016131b8fffa1085b4ad165ab228116fdc278ebe author Randy Dunlap Mon, 14 Aug 2006 23:09:23 -0700 committer James Bottomley Sat, 19 Aug 2006 13:41:08 -0700 [SCSI] aic7*: cleanup MODULE_PARM_DESC strings Modify beginning string to be more readable. Remove one trailing newline. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 016131b8fffa1085b4ad165ab228116fdc278ebe tree 3fcd7eadc0524e29d0d3c5ba8e67833b4ccf6f1a parent a2f5d4d94f0ab9560b9a99d73d5b86b377c7f201 author James Smart Mon, 14 Aug 2006 08:20:25 -0400 committer James Bottomley Sat, 19 Aug 2006 13:40:07 -0700 [SCSI] fc transport: convert fc_host symbolic_name attribute to a dynamic attribute Signed-off-by: James Bottomley commit a2f5d4d94f0ab9560b9a99d73d5b86b377c7f201 tree 2a0cc44f528f181d836f25a090f0da783c1e8a87 parent 84961f28e9d13a4b193d0c8545f3c060c1890ff3 author Dave Jones Thu, 10 Aug 2006 21:41:13 -0400 committer James Bottomley Sat, 19 Aug 2006 13:39:11 -0700 [SCSI] remove unnecessary includes of linux/config.h from drivers/scsi/ kbuild includes this automatically these days. Signed-off-by: Dave Jones Signed-off-by: James Bottomley commit 84961f28e9d13a4b193d0c8545f3c060c1890ff3 tree 11ad36484d5a891a2455d876dfd9cf6fd82f51f3 parent 8c867b257d159ca04602d7087fa29f846785f9ea author dave wysochanski Wed, 09 Aug 2006 14:56:32 -0400 committer James Bottomley Sat, 19 Aug 2006 13:37:40 -0700 [SCSI] Don't add scsi_device for devices that return PQ=1, PDT=0x1f Some targets may return slight variations of PQ and PDT to indicate no LUN mapped. USB UFI setting PDT=0x1f but having reserved bits for PQ is one example, and NetApp targets returning PQ=1 and PDT=0x1f is another. Both instances seem like reasonable responses according to SPC-3 and UFI specs. The current scsi_probe_and_add_lun() code adds a scsi_device for targets that return PQ=1 and PDT=0x1f. This causes LUNs of type "UNKNOWN" to show up in /proc/scsi/scsi when no LUNs are mapped. In addition, subsequent rescans fail to recognize LUNs that may be added on the target, unless preceded by a write to the delete attribute of the "UNKNOWN" LUN. This patch addresses this problem by skipping over the scsi_add_lun() when PQ=1,PDT=0x1f is encountered, and just returns SCSI_SCAN_TARGET_PRESENT. Signed-off-by: Dave Wysochanski Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 8c867b257d159ca04602d7087fa29f846785f9ea tree 4c95fc920744556d718b8d63371a6b525524cfbe parent 90ee346651524eb275405d410f5d3bb6765a2d93 author Mark Haverkamp Thu, 03 Aug 2006 08:03:30 -0700 committer James Bottomley Sat, 19 Aug 2006 13:35:11 -0700 [SCSI] aacraid: Reset adapter in recovery timeout Received from Mark Salyzyn If the adapter is in blinkled (Firmware Assert) when error recovery timeout actions have been triggered, perform an adapter warm reset and restart the initialization. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 90ee346651524eb275405d410f5d3bb6765a2d93 tree ff78b321da9aafb44dfbe593f0c7dbe7f88f053e parent 8c23cd7457151fc8ace79ec700a8aeaa9fc5b3d9 author Mark Haverkamp Thu, 03 Aug 2006 08:03:07 -0700 committer James Bottomley Sat, 19 Aug 2006 13:33:45 -0700 [SCSI] aacraid: Check for unlikely errors Received from Mark Salyzyn The enclosed patch cleans up some code fragments, adds some paranoia (unproven causes of potential driver failures). Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 8c23cd7457151fc8ace79ec700a8aeaa9fc5b3d9 tree f957cbf36472ef63872f71d444b0bb75ed594ab4 parent c8f7b073e0e81499474a84ee2a90f77f7805c7f8 author Mark Haverkamp Tue, 08 Aug 2006 08:52:14 -0700 committer James Bottomley Sat, 19 Aug 2006 13:33:13 -0700 [SCSI] aacraid: Restart adapter on firmware assert (Update 2) Received from Mark Salyzyn If the adapter should be in a blinkled (Firmware Assert) state when the driver loads, we will perform a warm restart of the Adapter Firmware to see if we can rescue the adapter. Possible causes of a blinkled can occur on some early release motherboard BIOSes, transitory PCI bus problems on embedded systems or non-x86 based architectures, transitory startup failures of early release drives or transitory hardware failures; some of which can bite the adapter later at runtime. Future enhancements will include recovery during runtime. Fixed extra whitespace space issue. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit c8f7b073e0e81499474a84ee2a90f77f7805c7f8 tree c5421bd69530488d78b76ffab3ebb9fa08000fc7 parent 04846f25920d4b05d6040c531cc601049260db52 author Mark Haverkamp Thu, 03 Aug 2006 08:02:24 -0700 committer James Bottomley Sat, 19 Aug 2006 13:32:57 -0700 [SCSI] aacraid: interruptible ioctl Received from Mark Salyzyn This patch allows the FSACTL_SEND_LARGE_FIB, FSACTL_SENDFIB and FSACTL_SEND_RAW_SRB ioctl calls into the aacraid driver to be interruptible. Only necessary if the adapter and/or the management software has gone into some sort of misbehavior and the system is being rebooted, thus permitting the user management software applications to be killed relatively cleanly. The FIB queue resource is held out of the free queue until the adapter finally, if ever, completes the command. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 04846f25920d4b05d6040c531cc601049260db52 tree a41cc37bceb14caf39316212fdee6be480d5137f parent 19ac0db3e22de3b00cc4aadc7efbad0420c7aa08 author Andreas Herrmann Wed, 09 Aug 2006 17:31:16 +0200 committer James Bottomley Sat, 19 Aug 2006 13:31:53 -0700 [SCSI] limit recursion when flushing shost->starved_list Attached is a patch that should limit a possible recursion that can lead to a stack overflow like follows: Kernel stack overflow. CPU: 3 Not tainted Process zfcperp0.0.d819 (pid: 13897, task: 000000003e0d8cc8, ksp: 000000003499dbb8) Krnl PSW : 0404000180000000 000000000030f8b2 (get_device+0x12/0x48) Krnl GPRS: 00000000135a1980 000000000030f758 000000003ed6c1e8 0000000000000005 0000000000000000 000000000044a780 000000003dbf7000 0000000034e15800 000000003621c048 070000003499c108 000000003499c1a0 000000003ed6c000 0000000040895000 00000000408ab630 000000003499c0a0 000000003499c0a0 Krnl Code: a7 fb ff e8 a7 19 00 00 b9 02 00 22 e3 e0 f0 98 00 24 a7 84 Call Trace: ([<000000004089edc2>] scsi_request_fn+0x13e/0x650 [scsi_mod]) [<00000000002c5ff4>] blk_run_queue+0xd4/0x1a4 [<000000004089ff8c>] scsi_queue_insert+0x22c/0x2a4 [scsi_mod] [<000000004089779a>] scsi_dispatch_cmd+0x8a/0x3d0 [scsi_mod] [<000000004089f1ec>] scsi_request_fn+0x568/0x650 [scsi_mod] ... [<000000004089f1ec>] scsi_request_fn+0x568/0x650 [scsi_mod] [<00000000002c5ff4>] blk_run_queue+0xd4/0x1a4 [<000000004089ff8c>] scsi_queue_insert+0x22c/0x2a4 [scsi_mod] [<000000004089779a>] scsi_dispatch_cmd+0x8a/0x3d0 [scsi_mod] [<000000004089f1ec>] scsi_request_fn+0x568/0x650 [scsi_mod] [<00000000002c5ff4>] blk_run_queue+0xd4/0x1a4 [<000000004089fa9e>] scsi_run_host_queues+0x196/0x230 [scsi_mod] [<00000000409eba28>] zfcp_erp_thread+0x2638/0x3080 [zfcp] [<0000000000107462>] kernel_thread_starter+0x6/0xc [<000000000010745c>] kernel_thread_starter+0x0/0xc <0>Kernel panic - not syncing: Corrupt kernel stack, can't continue. This stack overflow occurred during tests on s390 using zfcp. Recursion depth for this panic was 19. Usually recursion between blk_run_queue and a request_fn is avoided using QUEUE_FLAG_REENTER. But this does not help if the scsi stack tries to flush the starved_list of a scsi_host. Limit recursion depth when flushing the starved_list of a scsi_host. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 891b11f619dcfe045015394fa89041f02dac9428 tree b4b9c10c42d2ab2e68671055510183d0a11cb5a2 parent 3ae84d9269592a1284892c93597a604a894f1102 author Auke Kok Wed, 16 Aug 2006 13:47:31 -0700 committer Auke Kok Wed, 16 Aug 2006 13:47:31 -0700 ixgb: Increment version to 1.0.109-k4 Signed-off-by: Auke Kok commit 3ae84d9269592a1284892c93597a604a894f1102 tree e6bb8f5adf7b944ff21b25b0a4586529efceeefb parent 0fe198a5e10229b269624a18bbd390001a8d3476 author Jesse Brandeburg Wed, 16 Aug 2006 13:47:25 -0700 committer Auke Kok Wed, 16 Aug 2006 13:47:25 -0700 ixgb: fix cache miss due to miscalculation Reduce writeback threshold by 1. We were instructing the hardware to wait until the 17th descriptor which went over the cache line limit. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok commit 0fe198a5e10229b269624a18bbd390001a8d3476 tree 80d96642bec0829a89082a121c78c4aeaa067e0b parent dc335d9735220b3a9ece5ec2d95864b1e8ff06a0 author Manasi Deval Wed, 16 Aug 2006 13:47:20 -0700 committer Auke Kok Wed, 16 Aug 2006 13:47:20 -0700 ixgb: Add CX4 PHY type detection and subdevice ID. Signed-off-by: Manasi Deval Signed-off-by: Auke Kok commit dc335d9735220b3a9ece5ec2d95864b1e8ff06a0 tree 3a5ea5a43370be5507f03c9a060ca8f1544af3e7 parent 600c977c0801210602d7502f9c978c2b8c31a209 author Auke Kok Wed, 16 Aug 2006 13:39:09 -0700 committer Auke Kok Wed, 16 Aug 2006 13:39:09 -0700 e1000: Increment driver version to 7.1.9-k6 Signed-off-by: Auke Kok commit 600c977c0801210602d7502f9c978c2b8c31a209 tree ff7a270e51012a4e10717e68ff9a0a2a7d57dd82 parent 7820d4281a0d746a92992a9117aec007628ae3fe author Jeff Kirsher Wed, 16 Aug 2006 13:39:04 -0700 committer Auke Kok Wed, 16 Aug 2006 13:39:04 -0700 e1000: Disable aggressive clocking on esb2 with SERDES port Disable aggressive clocking on esb2 with SERDES port as it causes hardware problems. Signed-off-by: Jeff Kirsher Signed-off-by: Auke Kok commit 7820d4281a0d746a92992a9117aec007628ae3fe tree 4691b2f0f5a81ee508e360a3373c6364c146c1db parent c9c1b834c7b6e00badfd9a775682644f192f0357 author Jeff Kirsher Wed, 16 Aug 2006 13:39:00 -0700 committer Auke Kok Wed, 16 Aug 2006 13:39:00 -0700 e1000: Force full DMA clocking for 10/100 speed Signed-off-by: Jeff Kirsher Signed-off-by: Auke Kok commit c9c1b834c7b6e00badfd9a775682644f192f0357 tree 7e4f827b726c355bfea01f4229c23f9e5a9d171c parent 1a821ca59593d307e564800c2f25ed1f9e1e2a6f author Jeff Kirsher Wed, 16 Aug 2006 13:38:54 -0700 committer Auke Kok Wed, 16 Aug 2006 13:38:54 -0700 e1000: Allow NVM to setup LPLU for IGP2 and IGP3 Allow NVM to setup LPLU for IGP2 and IGP3. Only IGP needs LPLU D3 disabled during init here. Signed-off-by: Jeff Kirsher Signed-off-by: Auke Kok commit 1a821ca59593d307e564800c2f25ed1f9e1e2a6f tree 371bbd22f21c1b1883acfe44cbefe8991006a232 parent d658266ed6144f9dbc785c7d5bb6e8e5e2e7f3cf author Jesse Brandeburg Wed, 16 Aug 2006 13:38:46 -0700 committer Auke Kok Wed, 16 Aug 2006 13:38:46 -0700 e1000: explicit locking for two ethtool path functions Explicitly lock two more ethtool entry points completely instead of the hardware reset only to prevent a race condition. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok commit d658266ed6144f9dbc785c7d5bb6e8e5e2e7f3cf tree 1b61f68c5339e7591bebafc87de807c144b9fa0b parent 673a052fde79ab5e9dce569b0336358812ddba2d author Jesse Brandeburg Wed, 16 Aug 2006 13:31:33 -0700 committer Auke Kok Wed, 16 Aug 2006 13:31:33 -0700 e1000: Explicitly power up the PHY during loopback testing. Signed-off-by: Jesse Brandeburg commit 673a052fde79ab5e9dce569b0336358812ddba2d tree 836a6f7f333a47d530a72cfe86ab86a2fec12370 parent e15fdd0391dfeb0d439ecac759fb88aca7930f2f author Jeff Kirsher Wed, 16 Aug 2006 11:28:49 -0700 committer Auke Kok Wed, 16 Aug 2006 11:28:49 -0700 e1000: Remove 0x1000 as supported device Remove pci ID 8086:1000 from the list fo supported devices. This device has not functioned with the driver for very long (since v. 5.2.4!) and we lack the resources to come with a substantial fix. There are only few cards of this type out there. Signed-off-by: Jeff Kirsher Signed-off-by: Auke Kok commit e15fdd0391dfeb0d439ecac759fb88aca7930f2f tree 3b42be6be895960c308951e8912ae609128d4d13 parent 4e1dc97d5e0dd5b1cf78e67ea8f12ca9697c9eee author Auke Kok Wed, 16 Aug 2006 11:28:45 -0700 committer Auke Kok Wed, 16 Aug 2006 11:28:45 -0700 e1000: Same cosmetic fix as earlier sent out for IPV4. Signed-off-by: Auke Kok commit 4e1dc97d5e0dd5b1cf78e67ea8f12ca9697c9eee tree 5ba98856e3f699b4d6a5283f65d9a90e703511ab parent 60ffa478759f39a2eb3be1ed179bc3764804b2c8 author Auke Kok Wed, 16 Aug 2006 11:28:35 -0700 committer Auke Kok Wed, 16 Aug 2006 11:28:35 -0700 e100: increment version to 3.5.10-k4 Increment the version of e100 to 3.5.10-k4, increment dates. Signed-off-by: Auke Kok commit 60ffa478759f39a2eb3be1ed179bc3764804b2c8 tree 6195728e45ff7228968a164e44f48bc8bd9b7ca9 parent 09e590e5d5a93f2eaa748a89c623258e6bad1648 author Jeff Kirsher Wed, 16 Aug 2006 11:28:14 -0700 committer Auke Kok Wed, 16 Aug 2006 11:28:14 -0700 e100: Fix MDIO/MDIO-X MDIO/MDIO-X was broken due to a wrong errata. Removing the workaround code fixes for affected NICs. Signed-off-by: Jeff Kirsher Signed-off-by: Auke Kok commit 113b898e38cb20e80847c24154ce62273b948c6a tree b1b498b4d5286fcd21cfafe63a275ad2974869c1 parent c48cf125146852424bfe8e02033c6065dd0a4021 author Michael Wu Sun, 13 Aug 2006 23:27:17 -0700 committer John W. Linville Mon, 14 Aug 2006 15:43:23 -0400 [PATCH] ray_cs: Remove dependency on ieee80211 This patch removes the dependency on ieee80211.h from the ray_cs driver. ray_cs only needs iw_handler.h. Signed-off-by: Michael Wu Signed-off-by: John W. Linville commit c48cf125146852424bfe8e02033c6065dd0a4021 tree a6c94c29648f1fe3b16ea5384812947f3e15819c parent 943599ee2c3a018fd09c25d7a9e8703792dd618e author Ulrich Kunitz Sat, 12 Aug 2006 18:00:17 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:23 -0400 [PATCH] zd1211rw: cleanups Add static to 2 internal functions. Thanks goes to Adrian Bunk, who found that. Also made some modifications to the clear functions: After a discussion on the mailing list, I implemented this code to have on the one hand sufficient test in debug mode, but on the other hand reduce the overhead for structure clearing to a minimum. A new macro ZD_MEMCLEAR is introduced, which produces code if DEBUG is set. Locks are not set anymore for structure clearing, but in debug mode, there is a verification, that the locks have not been set. Finally, removed a misleading comment regarding locking in the disconnect path. Signed-off-by: Ulrich Kunitz Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 943599ee2c3a018fd09c25d7a9e8703792dd618e tree 38fb45f68986e4565c53046994eed408646e493d parent a1030e92c1507eb4a3c15d0a7d62987f671b609c author Ulrich Kunitz Sat, 12 Aug 2006 18:00:05 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:23 -0400 [PATCH] zd1211rw: USB id 1582:6003 for Longshine 8131G3 added The Longshine device is a ZD1211B and has a AL2230 RF. I tested it successfully with no encryption and WEP. Signed-off-by: Ulrich Kunitz Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit a1030e92c1507eb4a3c15d0a7d62987f671b609c tree 96bdf0831b6a71bbf43fd6ad28f1186a9b408b0c parent 4ceb7e9936dae67d6c553a4954fa410a99b3ea16 author Daniel Drake Sun, 13 Aug 2006 12:15:29 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:23 -0400 [PATCH] zd1211rw: Convert installer CDROM device into WLAN device Some devices identify themselves as a virtual USB CDROM drive. The virtual CD includes the windows driver. We aren't interested in this, so we eject the virtual CDROM and then the real wireless device appears. Patch fixed over the earlier version to not leak cmd, thanks to Michael Buesch for spotting that. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 4ceb7e9936dae67d6c553a4954fa410a99b3ea16 tree 580d1ffdc5b182acaf71e1aadc6742e058106c6b parent d066c2190de86d75e17dc35beba48b920cb125ee author Daniel Drake Sat, 12 Aug 2006 18:00:03 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:22 -0400 [PATCH] zd1211rw: Add ID for ZyXEL G220F zd1211 chip 0586:3402 v4916 high 00-13-49 AL2230_RF pa0 ---- This device pops up after the virtual driver CD has been ejected. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit d066c2190de86d75e17dc35beba48b920cb125ee tree 7920cc3c65f77122e1aa65ed4337580c80537257 parent 12f393089775ca33c53541eb67112fc04d799131 author Daniel Drake Sat, 12 Aug 2006 17:59:59 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:22 -0400 [PATCH] zd1211rw: Firmware version vs bootcode version mismatch handling This is needed for my G220F, otherwise it fails to initialize after the existing firmware upload routine. The vendor driver actually does more than what I have done here: it downloads the firmware + boot code, modifies it, and uploads it again (really messy). I have not copied that part over, as my device can get on its feet without it. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 12f393089775ca33c53541eb67112fc04d799131 tree 1c066826f736d92386b593ce5b7d2b44a438da34 parent 1b865491fcbf9b865fb5cf48c94cbae2995c6589 author Daniel Drake Sat, 12 Aug 2006 17:59:51 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:22 -0400 [PATCH] zd1211rw: Add ID for Allnet ALLSPOT Hotspot finder Tested by Wonka on IRC. zd1211 chip 157e:3204 v4810 high 00-11-e0 AL7230B_RF pa0 g--- Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 1b865491fcbf9b865fb5cf48c94cbae2995c6589 tree b7d4a9e75b2f763f552fc7edfdb86cc22e6a092f parent ec62bd91bbb58254dfddca3d290f5fe4aa1cb769 author Daniel Drake Sat, 12 Aug 2006 17:59:50 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:22 -0400 [PATCH] zd1211rw: Add ID for Senao NUB-8301 Tested by lyakh on IRC zd1211 chip 1740:2000 v4721 high 00-02-6f AL7230B_RF pa0 g--- Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit ec62bd91bbb58254dfddca3d290f5fe4aa1cb769 tree b8c77202028f1a4f2cb2f1dda36882560bc99269 parent 20fe2176e5edbeb5957f113df1282a917ef87b5d author Daniel Drake Sat, 12 Aug 2006 17:59:46 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:21 -0400 [PATCH] zd1211rw: Support AL7230B RF This patch adds support for another Airoha RF which is present in some ZD1211 adapters. This RF supports 802.11a as well as 802.11b/g, but 802.11a connectivity is not yet supported by this driver. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 20fe2176e5edbeb5957f113df1282a917ef87b5d tree bf1b07ba5bc22060f42e37209d41bc51183b72f4 parent 98227a90a727029613f23c5e53554f1f4d7a1c89 author Daniel Drake Sat, 12 Aug 2006 17:59:42 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:21 -0400 [PATCH] zd1211rw: AL2230 ZD1211B vendor sync This patch synchronizes our code to some recent vendor driver modifications. A new PHY layout is supported, some values are tweaked, and the AL2230 is now programmed over a new interface which is many times faster. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 98227a90a727029613f23c5e53554f1f4d7a1c89 tree a94d2935976ff102e9919769b3ee1906a5cc2496 parent fe7215caa033814cee1e6808e44132b7cefb1a9e author Daniel Drake Sat, 12 Aug 2006 17:59:22 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:21 -0400 [PATCH] zd1211rw: Match vendor driver IFS values The vendor driver resets the IFS value every time the channel changes, to this one. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit fe7215caa033814cee1e6808e44132b7cefb1a9e tree d79cba555890bb52f2fbdaf7dc662d1a2a14e0ae parent e9ffb3d7ec94083a44a8721681391beca2ffd68c author Daniel Drake Sat, 12 Aug 2006 17:59:12 +0100 committer John W. Linville Mon, 14 Aug 2006 15:43:21 -0400 [PATCH] zd1211rw: ZD1211B ASIC/FWT, not jointly decoder The vendor driver chooses this value based on an ifndef ASIC, and ASIC is never defined. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit e9ffb3d7ec94083a44a8721681391beca2ffd68c tree 6768ab487b3f44c2a4995ee61307e47760ca9b88 parent 8b9411014e6f18a883c18b38f41338dbd53fddea parent e9fa4f7bd291c29a785666e2fa5a9cf3241ee6c3 author John W. Linville Mon, 14 Aug 2006 15:33:54 -0400 committer John W. Linville Mon, 14 Aug 2006 15:33:54 -0400 Merge branch 'from-linus' into upstream commit 421b20b9c44b3fcdc07d6af875dad5ae86fad014 tree f13d2364937a54f5023b053f67f91ebce403475e parent 24dd01bfbce685395dc0ade71308326b3861187a author Jeff Garzik Mon, 14 Aug 2006 14:27:36 -0400 committer Jeff Garzik Mon, 14 Aug 2006 14:27:36 -0400 libata: Make sure drivers/ata is a separate Kconfig menu Noticed by Rafael J. Wysocki Signed-off-by: Jeff Garzik commit 24dd01bfbce685395dc0ade71308326b3861187a tree 50e9e225deb05109502b003643a359369c6c2df9 parent 370ba07eb8324569636bacb47abba79587640d05 author Jeff Garzik Mon, 14 Aug 2006 14:22:54 -0400 committer Jeff Garzik Mon, 14 Aug 2006 14:22:54 -0400 [libata] ata_piix: add missing kfree() Noticed by Andrew Morton. Signed-off-by: Jeff Garzik commit 370ba07eb8324569636bacb47abba79587640d05 tree 6d0b8ccf5d0f9acc978131490322bd2ce0028090 parent 8ad92ba7152f40cc31f6f15500c01e4eb39cfed1 author Jeff Garzik Mon, 14 Aug 2006 14:12:57 -0400 committer Jeff Garzik Mon, 14 Aug 2006 14:12:57 -0400 libata: Separate libata.ko build from individual driver builds Since some SAS drivers need libata, we can no longer use the rule that auto-builds libata.ko as needed. We must instead depend on Kconfig to determine when to build the library kernel module. Noticed by Brian King @ IBM. Signed-off-by: Jeff Garzik commit 8ad92ba7152f40cc31f6f15500c01e4eb39cfed1 tree 7075ed815c8b3a2d9a54db747234944b8af53841 parent b352e57dc3bb5033996adaa67c2f69b795eddd39 author Jeff Garzik Mon, 14 Aug 2006 14:10:07 -0400 committer Jeff Garzik Mon, 14 Aug 2006 14:10:07 -0400 libata: Remove SCSI_ prefix from Kconfig symbols Signed-off-by: Jeff Garzik commit b352e57dc3bb5033996adaa67c2f69b795eddd39 tree 2bfec75e331452c84a591b6fad1e1407b22a1922 parent cea0d336e7e139becc9432499e0ba8234ffbed5f author Alan Cox Thu, 10 Aug 2006 18:52:12 +0100 committer Jeff Garzik Mon, 14 Aug 2006 14:04:37 -0400 [PATCH] libata: Add CompactFlash support The CFA world has some additional rules and drive modes we need to support for newer expansion cards and on embedded boxes Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit bcd68373877e74d8ca5039c10dc5d699ba5dc7d0 tree 17f105ffe56e49a9b7ee75e63eb2297fa1f558c5 parent 0c913bdf3eb5a829724c286209c079e727935724 author Dave Jones Thu, 10 Aug 2006 21:37:13 -0400 committer Jeff Garzik Mon, 14 Aug 2006 14:00:43 -0400 [PATCH] remove unnecessary config.h includes from drivers/net/ config.h is automatically included by kbuild these days. Signed-off-by: Dave Jones Signed-off-by: Jeff Garzik commit 0c913bdf3eb5a829724c286209c079e727935724 tree 895e0ee458c30044f6b8c49a7b279e6ccf65325c parent 80a8003f9236992fce45e6b2d0f33098b55a3859 parent 09e590e5d5a93f2eaa748a89c623258e6bad1648 author Jeff Garzik Mon, 14 Aug 2006 13:59:38 -0400 committer Jeff Garzik Mon, 14 Aug 2006 13:59:38 -0400 Merge branch 'upstream-fixes' into upstream commit 80a8003f9236992fce45e6b2d0f33098b55a3859 tree 0f42717d499baaed5925079a6a8f4522b0a68399 parent f5c7db1c915ddad32deda2afcdf7ecf1d84fc8fd author Daniele Venzano Sat, 12 Aug 2006 11:17:03 +0200 committer Jeff Garzik Mon, 14 Aug 2006 13:59:31 -0400 [PATCH] Add new PHY to sis900 supported list Please include the attached patch that adds support for a new PHY to the sis900 driver. See also Bugzilla 6919. Signed-off-by: Daniele Venzano -- Signed-off-by: Jeff Garzik commit b5ecf60fe6b18de0bc59d336d444835d4ef835ed tree fa8ccb8598d475a149ac6fb1ada068717bfa179b parent 6595413fc9453a211f4b5d5cc42f0bbf3daa615b author Adrian Bunk Sun, 13 Aug 2006 23:00:08 +0200 committer Dave Jones Mon, 14 Aug 2006 01:18:54 -0400 [CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static This patch makes the needlessly global powersave_bias_target() static. Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones commit 6595413fc9453a211f4b5d5cc42f0bbf3daa615b tree cb0b9b0b1dd91c073eca7e4b26de3a4439dff66d parent 179da8e6e8903a8cdb19bb12672d50dc33f0fde6 author Rafa³ Bilski Sun, 13 Aug 2006 09:16:20 +0200 committer Dave Jones Mon, 14 Aug 2006 01:18:53 -0400 [CPUFREQ] Longhaul - Add ignore_latency option Some laptops with VIA C3 processor, CLE266 chipset and AMI BIOS have incorrect latency values in FADT table. These laptops seems to be C3 capable, but latency values are to big: 101 for C2 and 1017 for C3. This option will allow user to skip C3 latency test but not C3 address test. AMI BIOS is setting C3 address to correct value in DSDT table. Signed-off-by: Rafa³ Bilski Signed-off-by: Dave Jones commit b53e674a707cf77e76339852abdc063696679261 tree b979d52f91dd6b438b7545234ccdec33c6ed4fbf parent 85be7d60595b4803731cec158b0023bc050fdd14 author Dave Jones Fri, 11 Aug 2006 18:13:41 -0400 committer Dave Jones Fri, 11 Aug 2006 18:13:41 -0400 [AGPGART] const'ify VIA AGP PCI table. Signed-off-by: Dave Jones commit 85be7d60595b4803731cec158b0023bc050fdd14 tree 2a3e144f0b5183e0c1e1f976f2ad9a1b7c8481bd parent 71565619af84a15d0abef6f0d6704e6472cd87c1 author Alexey Dobriyan Sat, 12 Aug 2006 02:02:02 +0400 committer Dave Jones Fri, 11 Aug 2006 18:10:27 -0400 [AGPGART] CONFIG_PM=n slim: drivers/char/agp/intel-agp.c Signed-off-by: Alexey Dobriyan Signed-off-by: Dave Jones commit 71565619af84a15d0abef6f0d6704e6472cd87c1 tree 07981be89b5ddbfecb3c8e8b77ea9614a5cb93dd parent e7745d4e0299a3460128917ceb6b6a807fa7f9e8 author Alexey Dobriyan Sat, 12 Aug 2006 01:59:50 +0400 committer Dave Jones Fri, 11 Aug 2006 18:10:27 -0400 [AGPGART] CONFIG_PM=n slim: drivers/char/agp/efficeon-agp.c Signed-off-by: Alexey Dobriyan Signed-off-by: Dave Jones commit e7745d4e0299a3460128917ceb6b6a807fa7f9e8 tree a2137ac22bfbe838faa00e49529f7cbfb9bf55dd parent 804af2cf6e7af31d2e664b54e657dddd9b531dbd author Dave Jones Fri, 11 Aug 2006 18:02:27 -0400 committer Dave Jones Fri, 11 Aug 2006 18:02:27 -0400 [AGPGART] Const'ify the agpgart driver version. Signed-off-by: Dave Jones commit 179da8e6e8903a8cdb19bb12672d50dc33f0fde6 tree 0e791d2d3890db822508f64d2bc1301ac307c982 parent 05ca0350e8caa91a5ec9961c585c98005b6934ea author Rafa³ Bilski Tue, 08 Aug 2006 19:12:20 +0200 committer Dave Jones Fri, 11 Aug 2006 17:59:57 -0400 [CPUFREQ] Longhaul - Disable arbiter ACPI C3 works for "Powersaver" processors, so use it only for them. Older CPU will change frequency on "halt" only. But we can protect transition in two ways: - by ACPI PM2 register, there is "bus master arbiter disable" bit. This isn't tested because VIA mainboards don't have PM2 register, - by PLE133 PCI/AGP arbiter disable register. There are two bits in this register. First is "PCI arbiter disable", second "AGP arbiter disable". This is working on VIA Epia 800 mainboards. Test on bm_control is more proper because this is true when PM2 register exist. Signed-off-by: Rafa³ Bilski Signed-off-by: Dave Jones commit 05ca0350e8caa91a5ec9961c585c98005b6934ea tree 16eb1080f5db361dcd18821f7204b8edf5ffb698 parent 1ce28d6b19112a7c76af8e971e2de3109d19a943 author Alexey Starikovskiy Mon, 31 Jul 2006 22:28:12 +0400 committer Dave Jones Fri, 11 Aug 2006 17:59:57 -0400 [CPUFREQ][2/2] ondemand: updated add powersave_bias tunable ondemand selects the minimum frequency that can retire a workload with negligible idle time -- ideally resulting in the highest performance/power efficiency with negligible performance impact. But on some systems and some workloads, this algorithm is more performance biased than necessary, and de-tuning it a bit to allow some performance impact can save measurable power. This patch adds a "powersave_bias" tunable to ondemand to allow it to reduce its target frequency by a specified percent. By default, the powersave_bias is 0 and has no effect. powersave_bias is in units of 0.1%, so it has an effective range of 1 through 1000, resulting in 0.1% to 100% impact. In practice, users will not be able to detect a difference between 0.1% increments, but 1.0% increments turned out to be too large. Also, the max value of 1000 (100%) would simply peg the system in its deepest power saving P-state, unless the processor really has a hardware P-state at 0Hz:-) For example, If ondemand requests 2.0GHz based on utilization, and powersave_bias=100, this code will knock 10% off the target and seek a target of 1.8GHz instead of 2.0GHz until the next sampling. If 1.8 is an exact match with an hardware frequency we use it, otherwise we average our time between the frequency next higher than 1.8 and next lower than 1.8. Note that a user or administrative program can change powersave_bias at run-time depending on how they expect the system to be used. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Alexey Starikovskiy Signed-off-by: Dave Jones commit 1ce28d6b19112a7c76af8e971e2de3109d19a943 tree 5fe089fa4b9851ca4c975a5e13f636f95fa43078 parent cd878479792cc1e4bc9d62ed0ef2c4454743848c author Alexey Starikovskiy Mon, 31 Jul 2006 22:25:20 +0400 committer Dave Jones Fri, 11 Aug 2006 17:59:56 -0400 [CPUFREQ][1/2] ondemand: updated tune for hardware coordination Try to make dbs_check_cpu() call on all CPUs at the same jiffy. This will help when multiple cores share P-states via Hardware Coordination. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Alexey Starikovskiy Signed-off-by: Dave Jones commit cd878479792cc1e4bc9d62ed0ef2c4454743848c tree 41abf6ff0cb2e4797fb14a31b1723371a5fda685 parent 9f737633e6ee54fc174282d49b2559bd2208391d author Dave Jones Fri, 11 Aug 2006 17:59:28 -0400 committer Dave Jones Fri, 11 Aug 2006 17:59:28 -0400 [CPUFREQ] Fix typo. Signed-off-by: Dave Jones commit f5c7db1c915ddad32deda2afcdf7ecf1d84fc8fd tree c62f64f0c7e446cd11a2092fd101e75a1cfa38a2 parent e714d99cacac976deac3239c89f2c9e3125649b6 parent 8d3d35b4e20dc2e678fc7cb51165905b5a32fb76 author Jeff Garzik Thu, 10 Aug 2006 08:31:03 -0400 committer Jeff Garzik Thu, 10 Aug 2006 08:31:03 -0400 Merge branch 'upstream-fixes' into upstream commit cea0d336e7e139becc9432499e0ba8234ffbed5f tree 14c910c33c3eb79b35a5d3b5ecf7a299d0860b4c parent c6fd280766a050b13360d7c2d59a3d6bd3a27d9a parent a34b6fc04d58ad72fe0cc74cd448f4551bd2ebaf author Jeff Garzik Thu, 10 Aug 2006 08:29:23 -0400 committer Jeff Garzik Thu, 10 Aug 2006 08:29:23 -0400 Merge branch 'upstream-fixes' into upstream commit c6fd280766a050b13360d7c2d59a3d6bd3a27d9a tree fdbeab639bc3dec29267bbf4b32cff7c8dd03593 parent 79ed35a9f139ad2b2653dfdd5f45a8f1453e2cbb author Jeff Garzik Thu, 10 Aug 2006 07:31:37 -0400 committer Jeff Garzik Thu, 10 Aug 2006 07:31:37 -0400 Move libata to drivers/ata. commit 79ed35a9f139ad2b2653dfdd5f45a8f1453e2cbb tree 1f97c3bfd3ae9995a1e396c5a6c02bf5a346b55c parent 6a2e42ad0f7ac0f4093b96ed0c6744f09bdfce1d parent b7887196e38da54ff893897b80875d632d1a1114 author Jeff Garzik Thu, 10 Aug 2006 06:56:51 -0400 committer Jeff Garzik Thu, 10 Aug 2006 06:56:51 -0400 Merge branch 'tj-upstream-pci_register_driver' of git://htj.dyndns.org/libata-tj into upstream commit 6a2e42ad0f7ac0f4093b96ed0c6744f09bdfce1d tree 4e8a07ebf250f287c363ec3931247448827c1ba6 parent 8b881b0410de0f72a43e814393abf3a4cb29ebb4 parent 51704c609fcf256dacfcfae3622eb6ef53ac5b48 author Jeff Garzik Thu, 10 Aug 2006 06:55:26 -0400 committer Jeff Garzik Thu, 10 Aug 2006 06:55:26 -0400 Merge branch 'upstream-fixes' into upstream commit 8b881b0410de0f72a43e814393abf3a4cb29ebb4 tree 4ee2da79e3e069226bb7824019f81e25fa5c3622 parent 2b8ae728a8bada0cca10f30d3e7c52d384e8d5ad author Jeff Garzik Sun, 11 Jun 2006 09:59:27 -0400 committer Jeff Garzik Thu, 10 Aug 2006 06:49:45 -0400 [ATA] Increase lba48 max-sectors from 200 to 256. Also, moved ATA_MAX_SECTORS and ATA_MAX_SECTORS_LBA48 from linux/libata.h to linux/ata.h, now that they truly reflect the standard (well... mostly; note TODO comment). This changes the performance profile (and potential bug profile) for a bunch of drivers, so be wary. commit 2b8ae728a8bada0cca10f30d3e7c52d384e8d5ad tree 97a19d2f2f41c932163d7bc6ce47db66c405a712 parent 4852ba24f647199be797545226c6d325db231937 parent dd3bec63f80e663cdb655b8bdc9c1a0ea938f1c5 author Jeff Garzik Thu, 10 Aug 2006 06:46:16 -0400 committer Jeff Garzik Thu, 10 Aug 2006 06:46:16 -0400 Merge branch 'sii-m15w' into upstream commit b7887196e38da54ff893897b80875d632d1a1114 tree 6cba2112e9058fc67f30edab5baa0fc606b61115 parent 4852ba24f647199be797545226c6d325db231937 author Pavel Roskin Thu, 10 Aug 2006 18:13:18 +0900 committer Tejun Heo Thu, 10 Aug 2006 18:13:18 +0900 [PATCH] libata: replace pci_module_init() with pci_register_driver() Replace pci_module_init() with pci_register_driver(). Signed-off-by: Pavel Roskin Signed-off-by: Tejun Heo commit 4852ba24f647199be797545226c6d325db231937 tree 5c732e919c04f2854622a02f618d4cbcf51a3687 parent 2a88d1ac8dca898a7fb602ddd581bf4d2977509d author Tejun Heo Thu, 10 Aug 2006 16:59:18 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:18 +0900 [PATCH] libata: kill unused hard_port_no and legacy_mode Kill unused probe_ent/ap->hard_port_no and probe_ent->legacy_mode. Signed-off-by: Tejun Heo commit 2a88d1ac8dca898a7fb602ddd581bf4d2977509d tree e399e827ba74349c544f8765b3bf67522a3e7ada parent c4b01f1de254820175fe2d02b4cf7c0fab335846 author Tejun Heo Thu, 10 Aug 2006 16:59:16 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:16 +0900 [PATCH] libata: replace ap->hard_port_no with ap->port_no Replace ap->hard_port_no with ap->port_no. Signed-off-by: Tejun Heo commit c4b01f1de254820175fe2d02b4cf7c0fab335846 tree 316335e3faa6ee6d1dcb3c102d95d7a9d4cf575b parent dd5b06c490de72440ec39f814de99a714a45a1a9 author Tejun Heo Thu, 10 Aug 2006 16:59:14 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:14 +0900 [PATCH] libata: use dummy port for stolen legacy ports Use dummy port for stolen legacy ports. This makes ap->port_no always equal ap->hard_port_no. Signed-off-by: Tejun Heo commit dd5b06c490de72440ec39f814de99a714a45a1a9 tree 7a4665f9b6fdb5a264c753b90a215e2953e2d0f7 parent 2ec7df0457b710d9201f211dbccdbecf0ad38b7e author Tejun Heo Thu, 10 Aug 2006 16:59:12 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:12 +0900 [PATCH] libata: implement dummy port Implement dummy port which can be requested by setting appropriate bit in probe_ent->dummy_port_mask. The dummy port is used as placeholder for stolen legacy port. This allows libata to guarantee that index_of(ap) == ap->port_no == actual_device_port_no, and thus to remove error-prone ap->hard_port_no. As it's used only when one port of a legacy controller is reserved by some other entity (e.g. IDE), the focus is on keeping the added *code* complexity at minimum, so dummy port allocates all libata core resources and acts as a normal port. It just has all dummy port_ops. This patch only implements dummy port. The following patch will make libata use it for stolen legacy ports. Signed-off-by: Tejun Heo commit 2ec7df0457b710d9201f211dbccdbecf0ad38b7e tree 4fbffc3e05aa65fd9ed63b4ac809712719e19cda parent 37deecb5139ee431233781a9a093d9fcaab54c5b author Alan Cox Thu, 10 Aug 2006 16:59:10 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:10 +0900 [PATCH] libata: rework legacy handling to remove much of the cruft Kill host_set->next Fix simplex support Allow per platform setting of IDE legacy bases Some of this can be tidied further later on, in particular all the legacy port gunge belongs as a PCI quirk/PCI header decode to understand the special legacy IDE rules in the PCI spec. Longer term Jeff also wants to move the request_irq/free_irq out of core which will make this even cleaner. tj: folded in three followup patches - ata_piix-fix, broken-arch-fix and fix-new-legacy-handling, and separated per-dev xfermask into separate patch preceding this one. Folded in fixes are... * ata_piix-fix: fix build failure due to host_set->next removal * broken-arch-fix: add missing include/asm-*/libata-portmap.h * fix-new-legacy-handling: * In ata_pci_init_legacy_port(), probe_num was incorrectly incremented during initialization of the secondary port and probe_ent->n_ports was incorrectly fixed to 1. * Both legacy ports ended up having the same hard_port_no. * When printing port information, both legacy ports printed the first irq. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Tejun Heo commit 37deecb5139ee431233781a9a093d9fcaab54c5b tree ddc3d31e2517619437dfefd311a6d978ba246ae9 parent 6d0500df5b37c94b779ac2c3f522ff917e039f99 author Tejun Heo Thu, 10 Aug 2006 16:59:07 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:07 +0900 [PATCH] libata: implement per-dev xfermask Implement per-dev xfermask. libata used to determine xfermask per-port - the fastest mode of the slowest device on the port. This patch enables per-dev xfermask. Original patch is from Alan Cox . The following changes are made by me. * simplex warning message is added * remove disabled device handling code which is never invoked (originally for choosing port-wide lowest PIO mode) Cc: Alan Cox Signed-off-by: Tejun Heo commit 6d0500df5b37c94b779ac2c3f522ff917e039f99 tree 2d3b3df847a4f1e5ca61d6d6cffd9d1cc16e47b7 parent 996139f1ce50c56c5e66f86b6aba17ff5ea00b86 author Jeff Garzik Thu, 10 Aug 2006 16:59:05 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:05 +0900 [PATCH] [libata] Kill 'count' var in ata_device_add() Eliminate redundant loop variable 'count' Signed-off-by: Jeff Garzik Signed-off-by: Tejun Heo commit 996139f1ce50c56c5e66f86b6aba17ff5ea00b86 tree 286ec88b9323c01f05b5505a19c3cee33b26680f parent 4608c1608501cf2b0dc4478c9b6c3902db58408a author Jeff Garzik Thu, 10 Aug 2006 16:59:03 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:03 +0900 [PATCH] [libata] some function renaming s/ata_host_add/ata_port_add/ s/ata_host_init/ata_port_init/ libata naming got stuck in the middle of a Great Renaming: ata_host -> ata_port ata_host_set -> ata_host To eliminate confusion, let's just give up for now, and simply ensure that things are internally consistent. Signed-off-by: Jeff Garzik Signed-off-by: Tejun Heo commit 4608c1608501cf2b0dc4478c9b6c3902db58408a tree 5b179b34ff3878498c887d5ae9c409f6044342e9 parent 3f066887595de490c411762ce58a31412b09e939 author Tejun Heo Thu, 10 Aug 2006 16:59:01 +0900 committer Tejun Heo Thu, 10 Aug 2006 16:59:01 +0900 [PATCH] libata: update ata_host_init() and rename it to ata_port_init_shost() Update ata_host_init() such that it only initializes SCSI host related stuff and doesn't call into ata_port_init(), and rename it to ata_port_init_shost(). Signed-off-by: Tejun Heo commit 3f066887595de490c411762ce58a31412b09e939 tree a26e04a120ae71ae72910cbd85c52ceba40a3ffc parent f4b5cc874158a139c091b3decd468929e10645e6 parent 22aac0896b1b0b8cabaf00714c55dd12f25d5738 author Jeff Garzik Wed, 09 Aug 2006 01:19:18 -0400 committer Jeff Garzik Wed, 09 Aug 2006 01:19:18 -0400 Merge branch 'upstream-fixes' into upstream commit f4b5cc874158a139c091b3decd468929e10645e6 tree 0ab440ace3cd35ff202e9ee9e3f00e79b91c86c6 parent 80289167fd3ebaeb7b2641e69cbec44b61165fe7 author Tejun Heo Mon, 07 Aug 2006 11:39:04 +0900 committer Jeff Garzik Wed, 09 Aug 2006 00:13:28 -0400 [PATCH] ahci: remove IRQ mask clearing from init_controller() Initial IRQ mask clearing is done by libata-core by freezing all ports prior to requesting IRQ. Remove redundant IRQ clearing from init_controller(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 80289167fd3ebaeb7b2641e69cbec44b61165fe7 tree cb979ef0563377b9c901359dbcb1f117ff7d48d5 parent f6d950e2a5209bd7e3fb1a238f43f24f3697f5b0 author Brian King Mon, 07 Aug 2006 14:27:31 -0500 committer Jeff Garzik Wed, 09 Aug 2006 00:08:39 -0400 [PATCH] libata: Add support for SATA attachment to SAS adapters The following patch enhances libata to allow SAS device drivers to utilize libata to talk to SATA devices. It introduces some new APIs which allow libata to be used without allocating a virtual scsi host. New APIs: ata_sas_port_alloc - Allocate an ata_port ata_sas_port_init - Initialize an ata_port (probe device, etc) ata_sas_port_destroy - Free an ata_port allocated by ata_sas_port_alloc ata_sas_slave_configure - configure scsi device ata_sas_queuecmd - queue a scsi command, similar to ata_scsi_queuecomand These new APIs can be used either directly by a SAS LLDD or could be used by the SAS transport class. Possible usage for a SAS LLDD would be: scsi_scan_host target_alloc ata_sas_port_alloc slave_alloc ata_sas_port_init slave_configure ata_sas_slave_configure Commands received by the LLDD for SATA devices would call ata_sas_queuecmd. Device teardown would occur with: slave_destroy port_disable target_destroy ata_sas_port_destroy Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit f6d950e2a5209bd7e3fb1a238f43f24f3697f5b0 tree acdcb6deba03af3255c6e4bd76593ffa570e1698 parent 155a8a9c8f4084016d9e27bf03ba1f19201438f4 author Brian King Mon, 07 Aug 2006 14:27:24 -0500 committer Jeff Garzik Wed, 09 Aug 2006 00:08:38 -0400 [PATCH] libata: Move ata_probe_ent_alloc to libata_core Move ata_probe_ent_alloc to libata-core. It will also be used by future SAS/SATA integration patches. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit 155a8a9c8f4084016d9e27bf03ba1f19201438f4 tree 31ea68dd479537b3d1e039f124e34d4270cb9eb8 parent b03732f006bd1ecee32587ec8235c41af5ad905f author Brian King Mon, 07 Aug 2006 14:27:17 -0500 committer Jeff Garzik Wed, 09 Aug 2006 00:08:38 -0400 [PATCH] libata: Add ata_port_init Separate out the ata_port initialization from ata_host_init so that it can be used in future SAS patches. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit b03732f006bd1ecee32587ec8235c41af5ad905f tree 19e1a4abab97cc476d66641bc1043640d61464db parent c256e95f7d602737e380f5f08666cc6a74023b4a author Brian King Mon, 07 Aug 2006 14:27:10 -0500 committer Jeff Garzik Wed, 09 Aug 2006 00:08:38 -0400 [PATCH] libata: Add ata_host_set_init Add ata_host_set_init in preparation for SAS attached SATA. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit e714d99cacac976deac3239c89f2c9e3125649b6 tree d9e9ee67785867bc0773ec64b294558181778259 parent d15064aa94f44a17bfc052f5b748f5e240735551 author Philippe De Muyter Thu, 03 Aug 2006 18:42:15 +0200 committer Jeff Garzik Wed, 09 Aug 2006 00:02:46 -0400 [PATCH] sundance: small cleanup This patch uses the sundance_reset function everywhere a reset is done, and adds a link to the archives of the original mailing list. Signed-off-by: Philippe De Muyter Signed-off-by: Jeff Garzik commit c256e95f7d602737e380f5f08666cc6a74023b4a tree 70d2111d62face3dbecd61885d61c86d3f81c7cb parent 38ebb1e0ed214efe124534eba4a34e869a0d8da7 parent c71d6be54e92c4b2d31faf51850354aff22b82b0 author Jeff Garzik Tue, 08 Aug 2006 23:59:55 -0400 committer Jeff Garzik Tue, 08 Aug 2006 23:59:55 -0400 Merge branch 'upstream-fixes' into upstream commit d15064aa94f44a17bfc052f5b748f5e240735551 tree e4667c05655d6366e2d69131a892e1e299b7caa3 parent e27cdba53b8ad5c12c9281b3737e07f2a536c3a2 parent 2f96740c26f1dcff9111dca3e01379ab12aafde5 author Jeff Garzik Tue, 08 Aug 2006 23:54:22 -0400 committer Jeff Garzik Tue, 08 Aug 2006 23:54:22 -0400 Merge branch 'upstream-fixes' into upstream commit e27cdba53b8ad5c12c9281b3737e07f2a536c3a2 tree 9ca5866a80e3b553b0956220a7a49e10345f33fa parent 5070d3408405ae1941f259acac7a9882045c3be4 author Stephen Hemminger Mon, 31 Jul 2006 20:37:19 -0700 committer Jeff Garzik Tue, 08 Aug 2006 23:47:59 -0400 [PATCH] forcdeth: revised NAPI support Revised version of the forcedeth NAPI support. This version is based against netdev-2.6#upstream (after the MAC patches from Ayaz today). Can't use nv_disable_hw_interrupts because NAPI only wants to mask off receive irq's and leave the others alone. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5070d3408405ae1941f259acac7a9882045c3be4 tree c9dd972e8c2d0904ac8181a4466aba18954e3976 parent f1489653e9c891f343d2034aad0ef6984d3ef5cb author Ayaz Abdulla Mon, 31 Jul 2006 12:05:01 -0400 committer Jeff Garzik Tue, 08 Aug 2006 23:47:30 -0400 [PATCH] forcedeth: mac address corrected This patch will correct the mac address and set a flag to indicate that it is already corrected in case nv_probe is called again. For example, when you use kexec to restart the kernel. Signed-Off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit f1489653e9c891f343d2034aad0ef6984d3ef5cb tree d9333c6a7188037bb0d47cc68150348d4cc82159 parent fcf194d19b7857c2467bebdb271bd079a0c0da81 author Ayaz Abdulla Mon, 31 Jul 2006 12:04:45 -0400 committer Jeff Garzik Tue, 08 Aug 2006 23:47:30 -0400 [PATCH] forcedeth: move mac address setup/teardown This patch moves the mac address setup/teardown to the nv_probe/nv_remove functions. This fixes WOL wakeup since on nv_close we would reverse the mac address. Also, bonding driver will reset address after nv_close is called. Signed-Off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit fcf194d19b7857c2467bebdb271bd079a0c0da81 tree 2b2137ffde5d5574b03709a760eb821eaee205e0 parent 242898be7a1921f646ca529ddc26d7337c69922f author Komuro Sun, 23 Jul 2006 10:20:55 +0900 committer Jeff Garzik Tue, 08 Aug 2006 23:38:29 -0400 [PATCH] network: pcnet_cs.c: remove unnecessary 'mdio_reset' 'mdio_reset' has bad side effects that moves the phy_id. DL10022-based cards work properly without 'mdio_reset'. Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Jeff Garzik commit 32bc6e095d75233e7c87cc6fa0e07942b124d194 tree 8f83ef9a23d52d1305878b65dd98fc22b09b7f3e parent 5cf13911b1e72707b6f0eb39b2d819ec6e343d76 parent 81b73dd92b97423b8f5324a59044da478c04f4c4 author Paul Mackerras Tue, 08 Aug 2006 17:09:11 +1000 committer Paul Mackerras Tue, 08 Aug 2006 17:09:11 +1000 Merge branch 'merge' commit 5cf13911b1e72707b6f0eb39b2d819ec6e343d76 tree cdbd2bc3d6f6e1b6fde2d6fcda43abe186db0313 parent 2f6093c84730b4bad65bcd0f2f904a5769b1dfc5 author Michael Neuling Mon, 07 Aug 2006 17:34:50 +1000 committer Paul Mackerras Tue, 08 Aug 2006 17:08:58 +1000 [POWERPC] Update lppaca offset comments Update offset comments. No functional change. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 2f6093c84730b4bad65bcd0f2f904a5769b1dfc5 tree ab4e64a0520e944062f418e91706ff968e23a6ea parent 452b5e21216011f2f068e80443568f5f3f3f4d63 author Michael Neuling Mon, 07 Aug 2006 16:19:19 +1000 committer Paul Mackerras Tue, 08 Aug 2006 17:08:56 +1000 [POWERPC] Implement SLB shadow buffer This adds a shadow buffer for the SLBs and regsiters it with PHYP. Only the bolted SLB entries (top 3) are shadowed. The SLB shadow buffer tells the hypervisor what the kernel needs to have in the SLB for the kernel to be able to function. The hypervisor can use this information to speed up partition context switches. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 452b5e21216011f2f068e80443568f5f3f3f4d63 tree 0421f30b448e8fa0788665002965e3d10f265745 parent f4dddce57c105c447c566be52c3d210dec570a27 author Matt Porter Fri, 04 Aug 2006 11:44:01 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:07:08 +1000 [POWERPC] Fix powerpc 44x_mmu build The PIN_SIZE definition name changed, update 44x_mmu.c accordingly. Signed-off-by: Matt Porter Signed-off-by: Paul Mackerras commit f4dddce57c105c447c566be52c3d210dec570a27 tree 3209afe64c48a40cfddd6e6646249bb948e8a763 parent 3d7714867a8d240fae3ab0bde656a369de2b08ab author Matt Porter Fri, 04 Aug 2006 11:41:51 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:07:07 +1000 [POWERPC] Remove flush_dcache_all export Removes the flush_dcache_all export for non coherent platforms. We removed the last in-kernel user of this years ago in arch/ppc so it no longer serves a purpose. Plus, it breaks the build at the moment. Signed-off-by: Matt Porter Signed-off-by: Paul Mackerras commit 3d7714867a8d240fae3ab0bde656a369de2b08ab tree 9651bca18081f490d7ecfc43f30a1c9d3ed9d5e5 parent 40681b95a4ef798bc38c92e0d9b8c06bbdd34409 author Jon Loeliger Thu, 03 Aug 2006 16:27:57 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:07:06 +1000 [POWERPC] Add MPC8641 HPCN Device Tree Source file. As per list discussion, let's add device tree source files under powerpc/boot/dts. If nothing else, it is a starting point. Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit 40681b95a4ef798bc38c92e0d9b8c06bbdd34409 tree 8de6bebd3c876737a6c55263548ad1002fe5cbe2 parent 3ab2b385c8a5cdf060c6a41582118a0cb27d0910 author Michael Ellerman Wed, 02 Aug 2006 11:13:50 +1000 committer Paul Mackerras Tue, 08 Aug 2006 17:07:04 +1000 [POWERPC] Make doc comments extractable We don't have much in the way of doc comments, but some of those we do have don't work because they start with "/***" or "/*", not "/**" which is what kernel-doc requires. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 3ab2b385c8a5cdf060c6a41582118a0cb27d0910 tree 82064e07b6f7ba408d0a3670edba3fafdfe746d7 parent 45934c47237108903ec019f08e124e592ba0b6c2 author Amos Waterland Tue, 01 Aug 2006 15:44:11 -0400 committer Paul Mackerras Tue, 08 Aug 2006 17:07:02 +1000 [POWERPC] Turn on tigon3 support in maple_defconfig I think that most people who use maple_defconfig are doing so for a JS21, so it might make sense to turn Tigon3 support on by default. Built and booted on a JS21. Signed-off-by: Amos Waterland Signed-off-by: Paul Mackerras commit 45934c47237108903ec019f08e124e592ba0b6c2 tree 355209f7393ae88fbcea191b3123e00b913aac08 parent 919fede6edab94cccb3ca8c1c0b32fa62c9369a5 author Jake Moilanen Thu, 27 Jul 2006 13:17:25 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:06:59 +1000 [POWERPC] Export msi symbols Forgot to export symbols for MSI. Signed-off-by: Jake Moilanen Acked-by: Segher Boessenkool Signed-off-by: Paul Mackerras commit 919fede6edab94cccb3ca8c1c0b32fa62c9369a5 tree 91820c190e4e8fbef6f2a57c0d1e6df014b1d50c parent afd05423e02bc7391a7489b686ba1e166b6e8349 author Jon Loeliger Mon, 31 Jul 2006 15:35:41 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:05:44 +1000 [POWERPC] Rewrite the PPC 86xx IRQ handling to use Flat Device Tree IRQ setup now comes from the Flat Device Tree and use the new generic IRQ code. Fixed the fsl_soc.c IRQ OF interrupt node parsing. Removed some unused MPC86xx macro definition. Signed-off-by: Zhang Wei Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit 38ebb1e0ed214efe124534eba4a34e869a0d8da7 tree 3712611527654e81109d194d903401c86763e3f4 parent 236a686b56428a8967a057a2396f9be74e2ee652 parent 9f737633e6ee54fc174282d49b2559bd2208391d author Jeff Garzik Mon, 07 Aug 2006 06:43:17 -0400 committer Jeff Garzik Mon, 07 Aug 2006 06:43:17 -0400 Merge branch 'master' into upstream commit 242898be7a1921f646ca529ddc26d7337c69922f tree 674adf64ca6254318dab5bcd428ebe8ac73957ff parent 6bbad18a8b18228fa65d73547dfd5efad1515ef8 parent 9f737633e6ee54fc174282d49b2559bd2208391d author Jeff Garzik Mon, 07 Aug 2006 06:38:41 -0400 committer Jeff Garzik Mon, 07 Aug 2006 06:38:41 -0400 Merge branch 'master' into upstream commit afd05423e02bc7391a7489b686ba1e166b6e8349 tree 040a752095e88afbebda9eea7cbfa34dcfdf1de8 parent b9377ffc3a03cde558d76349a262a1adbb6d3112 author Michael Neuling Fri, 28 Jul 2006 13:58:37 +1000 committer Paul Mackerras Mon, 07 Aug 2006 12:03:49 +1000 [POWERPC] Enable PURR sysfs entry correctly We have CPU_FTR_PURR now, so let's use it. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 19ac0db3e22de3b00cc4aadc7efbad0420c7aa08 tree b58b629192df8cf6ef5fd4a431c60efead0b1ff0 parent 4ff36718ede26ee2da73f2dae94d71e2b06845fc author James Bottomley Sun, 06 Aug 2006 18:15:22 -0500 committer James Bottomley Sun, 06 Aug 2006 18:19:19 -0500 [SCSI] fix up short inquiry printing A recent drivers base commit: 3e95637a48820ff8bedb33e6439def96ccff1de5 Caused the bus to be added to dev_printk, so now our SCSI inquiry short messages print like this: scsiscsi 2:0:0:0: Direct access IBM-ESXS ST973401SS B519 PQ: 0 ANSI: 5 Just remove the "scsi" from the sdev_printk to compensate. Signed-off-by: James Bottomley commit 4ff36718ede26ee2da73f2dae94d71e2b06845fc tree d9188d88bb3f60427c9976ed0f3da8bf433bb757 parent 008cd5bbfb4763322837cd1f7c621f02ebe22fef author Matthew Wilcox Tue, 04 Jul 2006 12:15:20 -0600 committer James Bottomley Sun, 06 Aug 2006 15:59:26 -0500 [SCSI] Improve inquiry printing - Replace scsi_device_types array API with scsi_device_type function API. Gets rid of a lot of common code, as well as being easier to use. - Add the new device types in SPC4 r05a, and rename some of the older ones. - Reformat the printing of inquiry data; now fits on one line and includes PQ. I think I've addressed all the feedback from the previous versions. My current test box prints: scsi 2:0:1:0: Direct access HP 18.2G ATLAS10K3_18_SCA HP05 PQ: 0 ANSI: 2 Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 008cd5bbfb4763322837cd1f7c621f02ebe22fef tree 1247c6a37a5f3c31a006df2ac6dae01cfc13b772 parent 117d2ce1cea25fc94302ff418ccef644cd3e59af author Brian King Wed, 02 Aug 2006 14:58:04 -0500 committer James Bottomley Sun, 06 Aug 2006 15:51:12 -0500 [SCSI] ipr: Bump driver version to 2.1.4 Bump the ipr driver version to 2.1.4. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 117d2ce1cea25fc94302ff418ccef644cd3e59af tree 110fc53fd3c4e8741ba7deb072e5d17388c2d096 parent 5b7304fbfb74bfca6f7d5a88b28197e3f7f2743b author Brian King Wed, 02 Aug 2006 14:57:58 -0500 committer James Bottomley Sun, 06 Aug 2006 15:50:50 -0500 [SCSI] ipr: Auto sense handling fix Fix up a logic error in the checking for valid sense data. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 5b7304fbfb74bfca6f7d5a88b28197e3f7f2743b tree cd97f3c12720ccdb784c24df63318ab34080313e parent 896bbd21408ddbfb9a57819404dbb04f4f0afb35 author Brian King Wed, 02 Aug 2006 14:57:51 -0500 committer James Bottomley Sun, 06 Aug 2006 15:50:19 -0500 [SCSI] ipr: Properly handle IOA recovered errors The ipr driver currently translates adapter recovered errors to DID_ERROR. This patch fixes this to translate these errors to success instead. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 896bbd21408ddbfb9a57819404dbb04f4f0afb35 tree 35d962735d3aa9225a9cb71408e1d4b5aed5787f parent b5145d25f0d8eae21ad7969822f2d4ce7f22e72a author Brian King Wed, 02 Aug 2006 14:57:44 -0500 committer James Bottomley Sun, 06 Aug 2006 15:49:57 -0500 [SCSI] ipr: Handle new SAS error codes Add definitions for some SAS error codes that can be logged by ipr SAS adapters. Signed-off-by: Brian King Signed-off-by: James Bottomley commit b5145d25f0d8eae21ad7969822f2d4ce7f22e72a tree f0cff80091492cf44ad87b75281ddf4ae29825a5 parent 5d947f2b7607c4674d104accbd3768744aaa4154 author Brian King Wed, 02 Aug 2006 14:57:36 -0500 committer James Bottomley Sun, 06 Aug 2006 15:49:40 -0500 [SCSI] ipr: Add some hardware defined types for SATA Add some hardware defined types for SATA. This is required by future patches to add SATA support to ipr. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 5d947f2b7607c4674d104accbd3768744aaa4154 tree 4edd0cc41502ab2bebdd92c75dfd5ae1db25cf0b parent dd7e2f2266acf66ec882baa6fbd79f853b5fe966 author Michael Reed Mon, 31 Jul 2006 12:19:30 -0500 committer James Bottomley Sun, 06 Aug 2006 15:49:15 -0500 [SCSI] mptfc: add additional fc transport attributes Add host_supported_speeds, host_maxframe_size, host_speed, host_fabric_name, host_port_type, host_port_state, and host_symbolic_name transport attributes to fusion fibre channel. Signed-off-by: Michael Reed Acked-by: Moore, Eric Signed-off-by: James Bottomley commit dd7e2f2266acf66ec882baa6fbd79f853b5fe966 tree 1bfcc0c3e31c08d7a82cf88f6ae48e30298bebdb parent 9e5c50fa8686ede7c37b939a0b950df50346eb3d author Michael Reed Fri, 04 Aug 2006 12:09:24 -0500 committer James Bottomley Sun, 06 Aug 2006 11:36:23 -0500 [SCSI] scsi_queue_work() documented return value is incorrect If you examine the queue_work() routine you'll see that it returns 1 on success, 0 if the work is already queued. This patch corrects the source code documentation for the scsi_queue_work function. Signed-off-by: Michael Reed Signed-off-by: James Bottomley commit 9e5c50fa8686ede7c37b939a0b950df50346eb3d tree 66aa077dc7ca0d298b104db351fd59e053064ff7 parent fddafd3d21953d5ea740f7b2f27149f7dd493194 author Christoph Hellwig Fri, 04 Aug 2006 17:18:30 +0200 committer James Bottomley Sun, 06 Aug 2006 11:35:39 -0500 [SCSI] remove SCSI_STATE_ #defines These aren't used anymore since the field in scsi_cmnd where it was stored has been removed. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 8b9411014e6f18a883c18b38f41338dbd53fddea tree 19097ce80adc22af61073af43991c3525c7267bd parent 71bfe47f023c55c322607939b786ce0a44627dfc parent 782a6675119c76c071e74e2ddd98268f47770cba author John W. Linville Fri, 04 Aug 2006 14:57:43 -0400 committer John W. Linville Fri, 04 Aug 2006 14:57:43 -0400 Merge branch 'upstream-fixes' into upstream commit 71bfe47f023c55c322607939b786ce0a44627dfc tree f59c37feb00f1df2e0f4ec282ae9c80ad6bb0cdc parent 73c1ac1e3b6c989b9b5f7b2313ac590a1c3b6d6a parent efe78cda3596f8a6d1c2d4a6b1a221bafa3e1a48 author John W. Linville Fri, 04 Aug 2006 14:24:15 -0400 committer John W. Linville Fri, 04 Aug 2006 14:24:15 -0400 Merge branch 'from-linus' into upstream commit fddafd3d21953d5ea740f7b2f27149f7dd493194 tree 7e1851143eebfc9ba107aab41e6a46c2ec727aad parent 2672ea86be26353108a72a28910df4dc61cdb5e2 author Brian King Thu, 03 Aug 2006 13:54:59 -0500 committer James Bottomley Fri, 04 Aug 2006 09:29:17 -0400 [SCSI] DAC960: PCI id table fixup The PCI ID table in the DAC960 driver conflicts with some devices that use the ipr driver. All ipr adapters that use this chip have an IBM subvendor ID and all DAC960 adapters that use this chip have a Mylex subvendor id. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 2672ea86be26353108a72a28910df4dc61cdb5e2 tree 206dc3a525dd5a03661f4e55a265b78db1e7e563 parent d67a70aca200f67be42428e74eb3353f20ad1130 author Dave Jones Wed, 02 Aug 2006 17:11:49 -0400 committer James Bottomley Fri, 04 Aug 2006 09:28:43 -0400 [SCSI] advansys pci tweaks. Remove a lot of duplicate #defines from the advansys driver, and make them look like PCI IDs as defined elsewhere in the kernel. Also add a module table so that it automatically gets picked up by tools relying on modinfo output (like say, distro installers). Signed-off-by: Dave Jones Signed-off-by: James Bottomley commit 236a686b56428a8967a057a2396f9be74e2ee652 tree 835fbce4ce6bd19a3a2f4bb7496707f6922d43fb parent 36a2c6b28003dd0592b8ece5e9409991e0820f50 parent efe78cda3596f8a6d1c2d4a6b1a221bafa3e1a48 author Jeff Garzik Fri, 04 Aug 2006 07:47:35 -0400 committer Jeff Garzik Fri, 04 Aug 2006 07:47:35 -0400 Merge branch 'master' into upstream commit 6bbad18a8b18228fa65d73547dfd5efad1515ef8 tree 193e53bc0fa0b01c3c0fab4d3eda23ce84bb1154 parent fe2a24dfc577a05349a39c6c8a6312818d28bb59 parent efe78cda3596f8a6d1c2d4a6b1a221bafa3e1a48 author Jeff Garzik Fri, 04 Aug 2006 07:15:56 -0400 committer Jeff Garzik Fri, 04 Aug 2006 07:15:56 -0400 Merge branch 'master' into upstream commit fe2a24dfc577a05349a39c6c8a6312818d28bb59 tree 5e5b206787da449ef688762136b82c183208284f parent 834695ee415f064036dacdd1b2c414cff1e81cb4 author Stephen Hemminger Tue, 01 Aug 2006 11:55:23 -0700 committer Jeff Garzik Thu, 03 Aug 2006 17:36:39 -0400 [PATCH] sky2: status interrupt handling improvement More changes to prevent losing status and causing hangs. The hardware is smarter than I gave it credit for. Clearing the status IRQ causes the status state machine to toggle an IRQ if needed and post any more transmits. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 36a2c6b28003dd0592b8ece5e9409991e0820f50 tree c5b52547b2658a8a3b898b8224b835a7e8396017 parent 95916edd02e3a7752315422f386c55723d4a3637 parent f1d39b291e2263f5e2f2ec5d4061802f76d8ae67 author Jeff Garzik Thu, 03 Aug 2006 17:35:48 -0400 committer Jeff Garzik Thu, 03 Aug 2006 17:35:48 -0400 Merge branch 'upstream-fixes' into upstream commit 834695ee415f064036dacdd1b2c414cff1e81cb4 tree 1881097e7a4047cdc845655843e931b297bfb47a parent 57fa442c1e842e6ec18ec7cd8cca9e29b5189278 parent c54772e751c0262073e85a7aa87f093fc0dd44f1 author Jeff Garzik Thu, 03 Aug 2006 17:33:27 -0400 committer Jeff Garzik Thu, 03 Aug 2006 17:33:27 -0400 Merge branch 'upstream-fixes' into upstream commit 57fa442c1e842e6ec18ec7cd8cca9e29b5189278 tree 8b3462cf2a5d6ea9af0cb1c9f169d1055a6e7b06 parent 534abebaf746087414291955131f31a39c4f3271 author Stephen Hemminger Sat, 29 Jul 2006 17:21:55 -0700 committer Jeff Garzik Thu, 03 Aug 2006 17:31:56 -0400 [PATCH] sky2: more pci device ids Recent vendor driver and customer reports show more devices. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 534abebaf746087414291955131f31a39c4f3271 tree 36ad09f044eeec65e80944f720aac2d5f491a7eb parent fd39c6889255f939d4010b249096b590549c9273 parent 75c30b1368faaa9c740536b91a15a33aab62f30b author Jeff Garzik Thu, 03 Aug 2006 17:28:34 -0400 committer Jeff Garzik Thu, 03 Aug 2006 17:28:34 -0400 Merge branch 'upstream-fixes' into upstream commit fd39c6889255f939d4010b249096b590549c9273 tree 0cbe728eba60dcc76ab4b0a0d12d02780df0f0b6 parent 23946a8a980d13af7b84bcf3ce023e0d166ec83f parent 73c1ac1e3b6c989b9b5f7b2313ac590a1c3b6d6a author Jeff Garzik Thu, 03 Aug 2006 17:20:58 -0400 committer Jeff Garzik Thu, 03 Aug 2006 17:20:58 -0400 Merge branch 'bcm43xx' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream commit 23946a8a980d13af7b84bcf3ce023e0d166ec83f tree 193d2959a7b62b48aaf2236447f1378779e55104 parent 66e8bb97055ff22a0e5ea89c0a75a35f8738cc96 parent 2b14c30b46e007a16c665cc86329bf4a1d9ff6ee author Jeff Garzik Thu, 03 Aug 2006 17:20:37 -0400 committer Jeff Garzik Thu, 03 Aug 2006 17:20:37 -0400 Merge branch 'upstream-fixes' into upstream commit 73c1ac1e3b6c989b9b5f7b2313ac590a1c3b6d6a tree d86e78cf330bd424c953265861a9c8418af579d1 parent ebf572b448757190027d8ee34e73deb989ec7b60 parent 4456403f5ed589aeecc4271bc09f4ade6eae8adc author John W. Linville Wed, 02 Aug 2006 14:31:12 -0400 committer John W. Linville Wed, 02 Aug 2006 14:31:12 -0400 Merge branch 'upstream' into bcm43xx commit 4456403f5ed589aeecc4271bc09f4ade6eae8adc tree ce5f9d3416b1e47cdb0d40bd4226f6dcd121d20d parent 02b311bce9fc87987a123adc3e6a2d0a2caa70e2 parent fde627b54ce7bef094157074f3adb9b6e1a96d4c author John W. Linville Wed, 02 Aug 2006 14:29:40 -0400 committer John W. Linville Wed, 02 Aug 2006 14:29:40 -0400 Merge branch 'upstream-fixes' into upstream commit 02b311bce9fc87987a123adc3e6a2d0a2caa70e2 tree ba5c42ecf98de1a1a72f4bd5d94dc729ca8196c9 parent 8f0f850e240df5bea027caeb1723142c50e37e57 parent 49b1e3ea19b1c95c2f012b8331ffb3b169e4c042 author John W. Linville Wed, 02 Aug 2006 14:15:39 -0400 committer John W. Linville Wed, 02 Aug 2006 14:15:39 -0400 Merge branch 'from-linus' into upstream commit ebf572b448757190027d8ee34e73deb989ec7b60 tree 2320a92b1aed2c9475e291d75c92616af75e195a parent 48c86da1a211ef13bbfb1c8f2e35dda44a66b8a1 parent 49b1e3ea19b1c95c2f012b8331ffb3b169e4c042 author John W. Linville Wed, 02 Aug 2006 14:15:21 -0400 committer John W. Linville Wed, 02 Aug 2006 14:15:21 -0400 Merge branch 'from-linus' into bcm43xx commit d67a70aca200f67be42428e74eb3353f20ad1130 tree 863562f74854295bfdf60eb26375ff984d8a2d4d parent 43d6b68dc38867e489995e21649bb82f6ee7b5d3 author James Bottomley Fri, 28 Jul 2006 17:36:46 -0500 committer James Bottomley Wed, 02 Aug 2006 10:53:18 -0400 [SCSI] arcmsr: fix up sysfs values The sysfs files in arcmsr are non-standard in that they aren't simple filename value pairs, the values actually contain preceeding text which would have to be parsed. The idea of sysfs files is that the file name is the description and the contents is a simple value. Fix up arcmsr to conform to this standard. Acked-By: Erich Chen Signed-off-by: James Bottomley commit 43d6b68dc38867e489995e21649bb82f6ee7b5d3 tree e4523050e774a13d436dcdfad4c00b28ceff4bd9 parent 1c57e86d75cf162bdadb3a5fe0cd3f65aa1a9ca3 author Andrew Morton Sat, 29 Jul 2006 11:14:08 -0700 committer James Bottomley Wed, 02 Aug 2006 10:51:23 -0400 [SCSI] areca sysfs fix Remove sysfs_remove_bin_file() return-value checking from the areca driver. There's nothing a driver can do if sysfs file removal fails, so we'll soon be changing sysfs_remove_bin_file() to internally print a diagnostic and to return void. Cc: Erich Chen Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit b9377ffc3a03cde558d76349a262a1adbb6d3112 tree c61fcdb732d06c64b9c5634953e46cefdf6af846 parent 57cad8084e0837e0f2c97da789ec9b3f36809be9 author Anton Blanchard Wed, 19 Jul 2006 08:01:28 +1000 committer Paul Mackerras Tue, 01 Aug 2006 16:19:15 +1000 [POWERPC] clean up pseries hcall interfaces Our pseries hcall interfaces are out of control: plpar_hcall_norets plpar_hcall plpar_hcall_8arg_2ret plpar_hcall_4out plpar_hcall_7arg_7ret plpar_hcall_9arg_9ret Create 3 interfaces to cover all cases: plpar_hcall_norets: 7 arguments no returns plpar_hcall: 6 arguments 4 returns plpar_hcall9: 9 arguments 9 returns There are only 2 cases in the kernel that need plpar_hcall9, hopefully we can keep it that way. Pass in a buffer to stash return parameters so we avoid the &dummy1, &dummy2 madness. Signed-off-by: Anton Blanchard -- Signed-off-by: Paul Mackerras commit 57cad8084e0837e0f2c97da789ec9b3f36809be9 tree e9c790afb4286f78cb08d9664f58baa7e876fe55 parent cb18bd40030c879cd93fef02fd579f74dbab473d parent 49b1e3ea19b1c95c2f012b8331ffb3b169e4c042 author Paul Mackerras Tue, 01 Aug 2006 10:37:25 +1000 committer Paul Mackerras Tue, 01 Aug 2006 10:37:25 +1000 Merge branch 'merge' commit 48c86da1a211ef13bbfb1c8f2e35dda44a66b8a1 tree e02987843b4dd1d14673290ac68c406b94ad2436 parent 894b62748bec22a98e636ed40221b27d1b9094b7 author John W. Linville Mon, 31 Jul 2006 14:54:57 -0400 committer John W. Linville Mon, 31 Jul 2006 14:58:18 -0400 [PATCH] bcm43xx: reduce mac_suspend delay loop count Drop the mac_suspend loop count to reduce the maximum delay to 10ms. Signed-off-by: John W. Linville commit 894b62748bec22a98e636ed40221b27d1b9094b7 tree 526755622320add7fa29429edf2390f3f6d5f127 parent f1207ba1a756610a9880fe4b70d7f0e9f0627073 author Larry Finger Mon, 31 Jul 2006 14:20:44 -0400 committer John W. Linville Mon, 31 Jul 2006 14:21:56 -0400 [PATCH] bcm43xx: add missing mac_suspended initialization Fix-up missing mac_suspended initialization which resulted from Linville's sloppy patch mangling. Signed-off-by: John W. Linville commit cb18bd40030c879cd93fef02fd579f74dbab473d tree fdc2d097988ab89fe69d28e36e83b0bad802ad9b parent 5d33eebee83784f5f03bc3861fa92ee5cd831922 author Mike Kravetz Thu, 20 Jul 2006 23:39:51 -0700 committer Paul Mackerras Mon, 31 Jul 2006 15:56:35 +1000 [POWERPC] Instrument Hypervisor Calls: merge headers Move all the Hypervisor call definitions to to a single header file. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 5d33eebee83784f5f03bc3861fa92ee5cd831922 tree 3da9ff7109e0a1d3cd3c17f332dfb84a237852f3 parent 931b261f442e779b0656d9b04c7ffe4939ef8c0a author Jeremy Kerr Thu, 13 Jul 2006 16:32:52 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] Simplify dma_ops bug conditions Use BUG_ON rather than BUG to simplify the dma_ops handing, and remove the now-unnecessary return cases. Booted on pseries. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 931b261f442e779b0656d9b04c7ffe4939ef8c0a tree 76d650707d78ed7c9e002481001ac175c8502d8e parent 88c805940bb9a1478f06ed6dd5d6f660bdc38eaa author Jeremy Kerr Wed, 12 Jul 2006 15:42:06 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] Make get_property() return a const void * Previous changes have treated the return values of get_property as const, so now we can make the actual change to get_property(). There shouldn't be a need to cast the return values anymore. We will now get compiler warnings when property values are assigned to a non-const variable. If properties need to be updated, there's still the of_find_property function. Built for cell_defconfig, chrp32_defconfig, g5_defconfig, iseries_defconfig, maple_defconfig, pmac32_defconfig, ppc64_defconfig and pseries_defconfig. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 88c805940bb9a1478f06ed6dd5d6f660bdc38eaa tree 4eefeb6e7555e0eb226647f1fa17bc237aee8c7f parent af5f92d881d783b47d1f993ddffa2bce8b2993fe author Jeremy Kerr Wed, 12 Jul 2006 15:41:52 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] tsi108: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. tsi108 driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit af5f92d881d783b47d1f993ddffa2bce8b2993fe tree 4a566dbd4c559700b1d24250b88dbd0de886df80 parent 5c339e96a391476ebb7cc63d913445c8cee092ff author Jeremy Kerr Wed, 12 Jul 2006 15:41:41 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] sata_svw: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. sata_svw changes Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 5c339e96a391476ebb7cc63d913445c8cee092ff tree 2d531f40b6886e20ecde612616d8e89cb4b2656a parent abddd185a0195988b8a5e802d55aff91783489de author Jeremy Kerr Wed, 12 Jul 2006 15:41:30 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] tmp_atmel: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. tpm_atmel changes Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit abddd185a0195988b8a5e802d55aff91783489de tree b155a1d9aef8c34fafbf54ab7ed829726522913e parent 1a2509c946bfd4d4a4c5a6e816082d3a7de45db8 author Jeremy Kerr Wed, 12 Jul 2006 15:41:18 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] sound: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific sound driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 1a2509c946bfd4d4a4c5a6e816082d3a7de45db8 tree 1a99101fe9be656b928272925102c602e6650562 parent 294ef16a2ee34d0d94aa63616f7552d3bc66c982 author Jeremy Kerr Wed, 12 Jul 2006 15:41:03 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] netdevices: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific network device driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 294ef16a2ee34d0d94aa63616f7552d3bc66c982 tree fd41d15117e97a756566a040ca9833e76ea8e525 parent b04e3dd4ab4c7763a4ca8f751caaf69ce8dabbba author Jeremy Kerr Wed, 12 Jul 2006 15:40:51 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] scsi: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific scsi driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit b04e3dd4ab4c7763a4ca8f751caaf69ce8dabbba tree 0224891d9ea4bfa4b1b8245d498cf2fa81737884 parent 018a3d1db7cdb6127656c1622ee1d2302e16436d author Jeremy Kerr Wed, 12 Jul 2006 15:40:40 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] video & agp: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific video & agp driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 018a3d1db7cdb6127656c1622ee1d2302e16436d tree 5b6714fa9fcd1441f7c1b30e0391484c095925b6 parent eeb2b723ef5100fafa381d92eb70d83e98516a44 author Jeremy Kerr Wed, 12 Jul 2006 15:40:29 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] powermac: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powermac platform & macintosh driver changes. Built for pmac32_defconfig, g5_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit eeb2b723ef5100fafa381d92eb70d83e98516a44 tree 782883072f3ec64cd795c3c2a69322647ce5f96c parent ae6b4101e53dcf8a41f3432dacca9d3eb34e9cc3 author Jeremy Kerr Wed, 12 Jul 2006 15:40:17 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] maple: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. maple platform changes. Built for maple_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit ae6b4101e53dcf8a41f3432dacca9d3eb34e9cc3 tree 9144d6ef4e0fcb30900eef1e2b67904fb7266039 parent c61c27d58af61e5b78257019b173732c29ce0c64 author Jeremy Kerr Wed, 12 Jul 2006 15:40:05 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] chrp: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. chrp platform changes. Built for chrp32_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit c61c27d58af61e5b78257019b173732c29ce0c64 tree 259c64446662670d36b40f26dd702b5006a97e1d parent 8efca49329a50710d656a8bb78d6f0f0e2f48a26 author Jeremy Kerr Wed, 12 Jul 2006 15:39:54 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] cell: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. cell platform changes. Built for cell_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 8efca49329a50710d656a8bb78d6f0f0e2f48a26 tree 6843306ed52bb6f9b932633ddaf1df90431a2ab6 parent c4c7cba90cf9f180a2c45f7e54143f786360f3dd author Jeremy Kerr Wed, 12 Jul 2006 15:39:42 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] mpc: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. mpc* platform changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit c4c7cba90cf9f180a2c45f7e54143f786360f3dd tree 293afc1cc7ae9fa206ad85d2fc6d4eacd817a37c parent 954a46e2d5aec6f59976ddeb1d232b486e59b54a author Jeremy Kerr Wed, 12 Jul 2006 15:39:42 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] iseries: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. iseries platform changes. Built for iseries_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 954a46e2d5aec6f59976ddeb1d232b486e59b54a tree 4e34abf431de3d6a31036c1fdf33fa4dadeb2951 parent a7f67bdf2c9f24509b8e81e0f35573b611987c80 author Jeremy Kerr Wed, 12 Jul 2006 15:39:43 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] pseries: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. pseries platform changes. Built for pseries_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit a7f67bdf2c9f24509b8e81e0f35573b611987c80 tree 201662dd6504418ef3c84cfe1f280153a4d8cb29 parent 4288b92b9644fdb4c6168273873fe08f32090d7a author Jeremy Kerr Wed, 12 Jul 2006 15:35:54 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc core changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 4288b92b9644fdb4c6168273873fe08f32090d7a tree 9f62e8416d65281e3566ec0632b3955b6be16fe0 parent 790e05d8c2b9941218c7c9ffb5c318382fab0a8b author Andrew Morton Sat, 08 Jul 2006 22:38:56 -0700 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] briq_panel Kconfig fix drivers/char/briq_panel.c:28:22: error: asm/prom.h: No such file or directory Cc: Jeremy Kerr Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 95916edd02e3a7752315422f386c55723d4a3637 tree 60a30047ded7ba486e47cf401edd68a6a7bc2453 parent 3c5100c1c40cc5e27b4da4a736994c76d93392a0 author Jeff Garzik Sat, 29 Jul 2006 04:10:14 -0400 committer Jeff Garzik Sat, 29 Jul 2006 04:10:14 -0400 [libata] ahci: add SiS PCI IDs Signed-off-by: David Wang Signed-off-by: Jeff Garzik commit 3c5100c1c40cc5e27b4da4a736994c76d93392a0 tree 27060b36ff09d3423da9539fc1c796ec058aca29 parent c1332875cbe0c148c7f200d4f9b36b64e34d9872 author Tejun Heo Wed, 26 Jul 2006 16:58:33 +0900 committer Jeff Garzik Sat, 29 Jul 2006 04:04:55 -0400 [PATCH] libata: cosmetic changes to PM functions Unify pm_message_t argument to the new-style @mesg. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 66e8bb97055ff22a0e5ea89c0a75a35f8738cc96 tree 4160d135081fbc99cab9426dbfce9299ec68fdee parent e1c3e5014040869abd6ef2cdf987e7c74cb40ada parent dc710afe95ee9b263ab593c11d86a684f1606872 author Jeff Garzik Sat, 29 Jul 2006 04:03:33 -0400 committer Jeff Garzik Sat, 29 Jul 2006 04:03:33 -0400 Merge branch 'master' into upstream commit c1332875cbe0c148c7f200d4f9b36b64e34d9872 tree c4456bfe0a3892989081c1ed1faaff145b9a8837 parent d91542c11f3981768367815cf087ad36e792ea4a author Tejun Heo Wed, 26 Jul 2006 15:59:26 +0900 committer Jeff Garzik Sat, 29 Jul 2006 04:01:31 -0400 [PATCH] ahci: implement Power Management support Implement power management support. Original implementation is from Zhao, Forrest Signed-off-by: Tejun Heo Signed-off-by: Zhao, Forrest Signed-off-by: Jeff Garzik commit d91542c11f3981768367815cf087ad36e792ea4a tree ceefba529bf78fa2b8f044ffadd6e2da33a59160 parent 0be0aa98985dfec42502c0d0af2a1baff9bdb19f author Tejun Heo Wed, 26 Jul 2006 15:59:26 +0900 committer Jeff Garzik Sat, 29 Jul 2006 04:01:31 -0400 [PATCH] ahci: separate out ahci_reset_controller() and ahci_init_controller() Separate out ahci_reset_controller() and ahci_init_controller() from ata_host_init(). These will be used by PM callbacks. This patch doesn't introduce any behavior change. Signed-off-by: Tejun Heo Signed-off-by: Zhao, Forrest Signed-off-by: Jeff Garzik commit 0be0aa98985dfec42502c0d0af2a1baff9bdb19f tree 110f8d9419bc18370ddc410082e65a634d8a8109 parent 9f5920567bfabbd1be26112a31c44652b6587394 author Tejun Heo Wed, 26 Jul 2006 15:59:26 +0900 committer Jeff Garzik Sat, 29 Jul 2006 04:01:31 -0400 [PATCH] libata: improve driver initialization and deinitialization Implement ahci_[de]init_port() and use it during initialization and de-initialization. ahci_[de]init_port() are supersets of what used to be done during driver [de-]initialization. This patch makes the following behavior changes. * Per-port IRQ mask is cleared on driver load as done in other drivers. The mask will be configured properly during probe. * During init_one(), HOST_IRQ_STAT is cleared after masking port IRQs such that there is no race window. * CMD_SPIN_UP is cleared during init_one() instead of being set. It is set in port_start(). This is more consistent with overall structure of initialization. Note that CMD_SPIN_UP simply controls PHY activation. * Slumber and staggered spin-up are handled properly. * All init/deinit operations are done in step-by-step manner as described in the spec instead of issued as single merged command. Original implementation is from Zhao, Forrest Signed-off-by: Tejun Heo Signed-off-by: Zhao, Forrest Signed-off-by: Jeff Garzik commit 9f5920567bfabbd1be26112a31c44652b6587394 tree 27e06539d48f05b85693ba2e9854ebf9a5a4abd7 parent d8fcd116d203dfe2f6c272d0cd67724b172f1bc2 author Tejun Heo Wed, 26 Jul 2006 15:59:26 +0900 committer Jeff Garzik Sat, 29 Jul 2006 04:01:31 -0400 [PATCH] ahci: simplify ahci_start_engine() Simplify ahci_start_engine() by killing prerequisite condition checks. Rationales are.. * No user checks error return from ahci_start_engine() * Code flow guarantees the prerequisite conditions unless the controller is malfunctioning. In such cases, the driver had chances to learn about the problem _before_ calling this function. * Closely related to the above two, driver calls into this function even when prerequisites fail hoping for the best. Basically, ahci_start_engine() should only do the operation itself. It isn't the right place to check for prerequisites. Signed-off-by: Tejun Heo Signed-off-by: Zhao, Forrest Signed-off-by: Jeff Garzik commit d8fcd116d203dfe2f6c272d0cd67724b172f1bc2 tree 4b6c9cd5f50c754f5be053a2722162bd337e6534 parent 254950cd56fee220c9d548f3e57211b95976ba64 author Tejun Heo Wed, 26 Jul 2006 15:59:25 +0900 committer Jeff Garzik Sat, 29 Jul 2006 04:01:31 -0400 [PATCH] ahci: cosmetic changes to ahci_start/stop_engine() * fascist-format comments according to comment style used in libata core layer. * if() -> if () Signed-off-by: Tejun Heo Signed-off-by: Zhao, Forrest Signed-off-by: Jeff Garzik commit 254950cd56fee220c9d548f3e57211b95976ba64 tree 1a92d2f284f962fcead4ce9cc4a53f7c860ceb2c parent ab1623da2b6659fa9e7810362430de482ebdb9cf author Tejun Heo Wed, 26 Jul 2006 15:59:25 +0900 committer Jeff Garzik Sat, 29 Jul 2006 04:01:31 -0400 [PATCH] ahci: relocate several internal functions * move ahci_port_start/stop() below EH functions. This makes ahci more consistent with other drivers and makes prototypes for ahci_start/stop_engine() unnecessary. * swap positions between ahci_start_engine() and ahci_stop_engine() for readability. Signed-off-by: Tejun Heo Signed-off-by: Zhao, Forrest Signed-off-by: Jeff Garzik commit ab1623da2b6659fa9e7810362430de482ebdb9cf tree b1d8a3dd9ca48886173d19b681d167455e57cc56 parent 5b85f29ca453d56d83cdffa075d615583bb8fb72 parent dc710afe95ee9b263ab593c11d86a684f1606872 author Jeff Garzik Sat, 29 Jul 2006 04:01:23 -0400 committer Jeff Garzik Sat, 29 Jul 2006 04:01:23 -0400 Merge branch 'master' into upstream commit 5b85f29ca453d56d83cdffa075d615583bb8fb72 tree a553754dcef01a22a6bd6e2eeb2fd4eb69bf5b37 parent 48cb37bd9e053429aacb7c2726da3300aba60c68 parent ab3b3fd38125be0242c2f94bf144b48054210882 author Jeff Garzik Sat, 29 Jul 2006 01:39:26 -0400 committer Jeff Garzik Sat, 29 Jul 2006 01:39:26 -0400 Merge branch 'upstream-fixes' into upstream commit e1c3e5014040869abd6ef2cdf987e7c74cb40ada tree cd8cd078e6b40a64866e5e152b0e5d06e7126700 parent a8bed49ecfb47a40cc401f5ec7c9a8a38098e728 author Henrik Kretzschmar Mon, 24 Jul 2006 14:42:01 +0200 committer Jeff Garzik Sat, 29 Jul 2006 01:31:33 -0400 [PATCH] initialisation cleanup for ULI526x-net-driver removes the unneeded local variable rc replace pci_module_init() with pci_register_driver() two coding style issues on switch Signed-off-by: Henrik Kretzschmar Signed-off-by: Jeff Garzik commit a8bed49ecfb47a40cc401f5ec7c9a8a38098e728 tree 178f2c08d38b46960d28f80029ec51567bd5cffc parent f82a9352f6b955d1dd9adc1124d6796be2c147df author Stephen Hemminger Thu, 27 Jul 2006 18:50:09 -0700 committer Jeff Garzik Sat, 29 Jul 2006 01:29:30 -0400 [PATCH] forcedeth: le32 annotation Use __le32 to indicate byte order of hardware ring elements Signed-off-by: Stephen Hemminger drivers/net/forcedeth.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit f82a9352f6b955d1dd9adc1124d6796be2c147df tree 3167378582058a2351c938866d6e95692b56a7ac parent 053dd21789eb8fdf9e69982bd223e4cf644c1477 author Stephen Hemminger Thu, 27 Jul 2006 18:50:08 -0700 committer Jeff Garzik Sat, 29 Jul 2006 01:29:30 -0400 [PATCH] forcedeth: coding style cleanups Fix the coding style of the nForce Ethernet driver. - typedef's should not be used - variable names should not be capitialized - structure tags should be lower case - add whitespace near keywords - don't add paren's to switch cases - remove paren's from return - don't use __constant_ntohs unless necessary. Signed-off-by: Stephen Hemminger drivers/net/forcedeth.c | 246 ++++++++++++++++++++++++------------------------ 1 file changed, 123 insertions(+), 123 deletions(-) Signed-off-by: Jeff Garzik commit 053dd21789eb8fdf9e69982bd223e4cf644c1477 tree 5492a50de6f2d46a43b728d6d9ad027cf8a94fbc parent d7446c0b5224e7024bd2f881b3d7fce0b9713fea parent 4da3dcf34671fa15c4f01101754106d97fc98e6e author Jeff Garzik Sat, 29 Jul 2006 01:29:27 -0400 committer Jeff Garzik Sat, 29 Jul 2006 01:29:27 -0400 Merge branch 'upstream-fixes' into upstream commit d7446c0b5224e7024bd2f881b3d7fce0b9713fea tree 57e5fbd69f81ac0ff1220efb876efaae3f723e8b parent 7d2d8259a2a3078c629b6ee9d4a7ae3ef74ac100 parent 187ff3b8575569668cde9021b9fe70386a4131fb author Jeff Garzik Sat, 29 Jul 2006 01:24:00 -0400 committer Jeff Garzik Sat, 29 Jul 2006 01:24:00 -0400 Merge branch 'upstream-fixes' into upstream commit 7d2d8259a2a3078c629b6ee9d4a7ae3ef74ac100 tree 4184f2a7d58ba1a1729225404e52d9a89463dd77 parent a47e9209485243afb4f002b8c3d76d1990b09d0a parent 8f0f850e240df5bea027caeb1723142c50e37e57 author Jeff Garzik Sat, 29 Jul 2006 00:33:35 -0400 committer Jeff Garzik Sat, 29 Jul 2006 00:33:35 -0400 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream commit a47e9209485243afb4f002b8c3d76d1990b09d0a tree 3bd1d738155bc5e615db144b57077cbe905b858b parent 5a4faa873782d748960b02fdec95e3d4d2e3ae38 parent 5b84b6fa9b96d1598eb77196f9d8b3e62efac647 author Jeff Garzik Sat, 29 Jul 2006 00:32:42 -0400 committer Jeff Garzik Sat, 29 Jul 2006 00:32:42 -0400 Merge branch 'upstream-fixes' into upstream commit 5a4faa873782d748960b02fdec95e3d4d2e3ae38 tree 7faa11e95d9a881a4914529268cae11f210d5c97 parent 572e432e01c1f7c64ad8375a6e0d935b0e40ebf5 author Ron Mercer Tue, 25 Jul 2006 00:40:21 -0700 committer Jeff Garzik Sat, 29 Jul 2006 00:28:51 -0400 [PATCH] qla3xxx NIC driver This is a complementary network driver for our ISP4XXX parts. There is a concurrent effort underway to get the iSCSI driver (qla4xxx) integrated upstream as well. I have been through several iterations with the linux-netdev list and have had much response from Stephen Hemminger. - Built and tested using kernel 2.6.17-rc4. - The chip supports two ethernet and two iSCSI functions. - The functions ql_sem_lock, ql_sem_spinlock, ql_sem_unlock, and ql_wait_for_drvr_lock are used to protect resources that are shared across the network and iSCSI functions. This protection is mostly during chip initialization and resets, but also include link management. - The PHY/MII are not exported through ethtool due to the fact that the iSCSI function will control the common link at least 50% of the time. This driver has been through several iterations on the netdev list and we feel this driver is ready for inclusion in the upstream kernel. It has been built and tested on x86 and PPC64 platforms. Cc: Jeff Garzik Cc: Stephen Hemminger Signed-off-by: Ron Mercer Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 572e432e01c1f7c64ad8375a6e0d935b0e40ebf5 tree 57ae4168e9bf4c88a1267f4ec6c96df3789cc9cc parent d11ea48aab3b57cc931cc7120603e1c2ffb04302 parent e3f2ddeac718c768fdac4b7fe69d465172f788a8 author Jeff Garzik Sat, 29 Jul 2006 00:28:36 -0400 committer Jeff Garzik Sat, 29 Jul 2006 00:28:36 -0400 Merge branch 'master' into upstream commit 1c57e86d75cf162bdadb3a5fe0cd3f65aa1a9ca3 tree 166f691c186d6e663218559c4762299063f63657 parent 0c269e6d3c615403a6e0acbe6e88f1c0da9c2396 author Erich Chen Wed, 12 Jul 2006 08:59:32 -0700 committer James Bottomley Fri, 28 Jul 2006 14:13:40 -0500 [SCSI] arcmsr: initial driver, version 1.20.00.13 arcmsr is a driver for the Areca Raid controller, a host based RAID subsystem that speaks SCSI at the firmware level. This patch is quite a clean up over the initial submission with contributions from: Randy Dunlap Christoph Hellwig Matthew Wilcox Adrian Bunk Signed-off-by: Erich Chen Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 0c269e6d3c615403a6e0acbe6e88f1c0da9c2396 tree e23fa9700542b879dcc39d90ac3004b71e71c064 parent f4c8aa1107969c26b1984eb2996a58f816dea71f author James Bottomley Wed, 12 Jul 2006 09:51:04 -0400 committer James Bottomley Fri, 28 Jul 2006 13:48:54 -0500 [SCSI] mptsas: add parent port backlink This takes advantage of the sas class backlink function to show which port on an expander is used to communicate with the parent. Signed-off-by: James Bottomley commit f4c8aa1107969c26b1984eb2996a58f816dea71f tree 7929bd06154bcfedd8de71674567018685174d45 parent 64821324ca49f24be1a66f2f432108f96a24e596 author brking@charter.net Wed, 05 Jul 2006 17:00:01 -0500 committer James Bottomley Fri, 28 Jul 2006 13:48:14 -0500 [SCSI] megaraid: Add support for change_queue_depth Adds support for change_queue_depth so that device queue depth can be changed at runtime through sysfs. Signed-off-by: Acked-by: Seokmann Ju Signed-off-by: James Bottomley commit f1207ba1a756610a9880fe4b70d7f0e9f0627073 tree f6840b54e05cbffb70e64e9646245b0068217b03 parent 27be44ff8ee29e945adad226cc360c9278239d17 author John W. Linville Thu, 27 Jul 2006 18:10:00 -0400 committer John W. Linville Thu, 27 Jul 2006 18:24:54 -0400 [PATCH] bcm43xx: fix-up build breakage from merging patches out of order Signed-off-by: John W. Linville commit 27be44ff8ee29e945adad226cc360c9278239d17 tree d04c723c2866b062b54c156f6de3ab5f535b667c parent 58e5528ee464d38040b9489e10033c9387a10d56 author Larry Finger Fri, 14 Jul 2006 15:42:17 -0500 committer John W. Linville Thu, 27 Jul 2006 18:19:25 -0400 [PATCH] bcm43xx: improved statistics This minor patch for wireless-2.6 (softmac) adjusts the parameters of the wireless statistics to improve the display of programs such as the "Wireless Network Information" applet of KDE. Thanks to Dan Williams and Jean Tourrilhes for valuable help in setting up the return of info in dBm. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 58e5528ee464d38040b9489e10033c9387a10d56 tree 58023ac8bf79757e37a4d05ce7fa63fb3f2388b9 parent 3234faa8abe0c3d6da12cc4a38ce790134c92564 author Michael Buesch Sat, 08 Jul 2006 22:02:18 +0200 committer John W. Linville Thu, 27 Jul 2006 18:19:18 -0400 [PATCH] bcm43xx: init routine rewrite Rewrite of the bcm43xx initialization routines. This fixes several issues: * up-down-up-down-up... stale data issue (May fix some DHCP issues) * Fix the init vs IRQ handler race (and remove the workaround) * Fix init for cards with multiple cores (APHY) As softmac has no internal PHY handling (unlike dscape), this adds the file "phymode" to sysfs. The active PHY can be selected by writing either a, b or g to this file. Current PHY can be determined by reading from it. * Fix the controller restart code. Controller restart can now also be triggered through echo 1 > /debug/bcm43xx/ethX/restart Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 3234faa8abe0c3d6da12cc4a38ce790134c92564 tree ac2ee8630c1bae65b22b0f48c61b64b121227b70 parent b8e7cdb391c50cfc243a387b6690f5a251537e50 author Michael Buesch Wed, 28 Jun 2006 20:35:17 +0200 committer John W. Linville Thu, 27 Jul 2006 18:19:14 -0400 [PATCH] bcm43xx: fix mac_suspend refcount This fixes mac_suspend reference counting for ifconfig up ifconfig down ifconfig up Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit b8e7cdb391c50cfc243a387b6690f5a251537e50 tree 442cd915aab1629ae64005780a61463122f67d8c parent 062caf43d803771b660defe6b147711d8b730364 author Michael Buesch Tue, 27 Jun 2006 17:56:44 +0200 committer John W. Linville Thu, 27 Jul 2006 18:19:10 -0400 [PATCH] bcm43xx: lower mac_suspend udelay Microoptimization: This reduces the udelay in bcm43xx_mac_suspend. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 062caf43d803771b660defe6b147711d8b730364 tree 5e3446bd4cedbd98f70d35f08b0b37ffc11e0bf8 parent 8f0f850e240df5bea027caeb1723142c50e37e57 author Michael Buesch Mon, 12 Jun 2006 17:02:22 +0200 committer John W. Linville Thu, 27 Jul 2006 18:19:02 -0400 [PATCH] bcm43xx: suspend MAC while executing long pwork Suspend MAC (and make MAC-suspend refcounting) when doing long periodic work. On long periodic work, we disable IRQs on the device, so we don't want the MAC to stay operating and probably miss packets due do non-delivery of interrupts. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 8f0f850e240df5bea027caeb1723142c50e37e57 tree 020a588e29d1c15937512bbdcd5266a866545e9a parent f2060f039e8a8bc83b10e6d0f8fb440425560569 author Daniel Drake Tue, 18 Jul 2006 22:00:25 +0100 committer John W. Linville Thu, 27 Jul 2006 16:17:28 -0400 [PATCH] softmac: Add MAINTAINERS entry Signed-off-by: Daniel Drake Acked-by: Johannes Berg Signed-off-by: John W. Linville commit f2060f039e8a8bc83b10e6d0f8fb440425560569 tree f1b106e959b66c016903fa90fdeeb63e586ca896 parent d7712ac254a4ae2e9c927e29e37b8c7ac334e6ad author Daniel Drake Tue, 18 Jul 2006 21:38:05 +0100 committer John W. Linville Thu, 27 Jul 2006 16:17:28 -0400 [PATCH] ieee80211: Make ieee80211_rx_any usable ieee80211_rx_any is new to 2.6.18-rc1, even though it appears this function was never completed: http://lists.sipsolutions.net/pipermail/softmac-dev/2006-February/000103.html This patch changes ieee80211_rx_any to always claim the skb, which avoids further driver complexity and the possibility of leaking management frames. It also exports the function so that people can actually use it. Signed-off-by: Daniel Drake Acked-by: Johannes Berg Signed-off-by: John W. Linville commit d7712ac254a4ae2e9c927e29e37b8c7ac334e6ad tree 99b5aef9dcb65cf96c6ac97063bb25d17d3e0649 parent 5acd0c4153be25269d7cb9a4b09fd6db571c5cc1 author Daniel Drake Tue, 18 Jul 2006 21:34:56 +0100 committer John W. Linville Thu, 27 Jul 2006 16:17:28 -0400 [PATCH] softmac: export highest_supported_rate function zd1211 needs this functionality, no point duplicating it. Signed-off-by: Daniel Drake Acked-by: Johannes Berg Signed-off-by: John W. Linville commit 5acd0c4153be25269d7cb9a4b09fd6db571c5cc1 tree b970a1b9469617597ab1594ca269bc81b020a881 parent d8e2be90d301a0381e9b2528fe2835cf2992bca3 author Daniel Drake Tue, 18 Jul 2006 21:33:27 +0100 committer John W. Linville Thu, 27 Jul 2006 16:17:28 -0400 [PATCH] softmac: ERP handling and driver-level notifications This patch implements ERP handling in softmac so that the drivers can support protection and preambles properly. I added a new struct, ieee80211softmac_bss_info, which is used for BSS-dependent variables like these. A new hook has been added (bssinfo_change), which allows the drivers to be notified when anything in bssinfo changes. I modified the txrates_change API to match the bssinfo_change API. The existing one is a little messy and the usefulness of providing the old rates is questionable (and can be implemented at driver level if really necessary). No drivers are using this API (yet), so this should be safe. Signed-off-by: Daniel Drake Acked-by: Johannes Berg Signed-off-by: John W. Linville commit d8e2be90d301a0381e9b2528fe2835cf2992bca3 tree 6595307b63a93c37a4287d3aec89fcf6ab01b385 parent eab411f1e850af5acbd6ef278f4e669250f71915 author Daniel Drake Tue, 18 Jul 2006 21:30:34 +0100 committer John W. Linville Thu, 27 Jul 2006 16:17:27 -0400 [PATCH] ieee80211: small ERP handling additions This adds a flag to the ieee80211_network structure which indicates whether the stored erp_value is valid (a check against 0 is not enough, since an ERP of 0 is valid and very meaningful). I also added the ERP IE bit-definitions to ieee80211.h. This is needed by some upcoming softmac patches. Signed-off-by: Daniel Drake Acked-by: Johannes Berg Signed-off-by: John W. Linville commit eab411f1e850af5acbd6ef278f4e669250f71915 tree bdaf5b4db188d90743d28db23e9c611b4d74a43c parent 7c0c3afb6e67004648ca589445e073dba4040509 author Dan Williams Mon, 17 Jul 2006 21:21:47 -0400 committer John W. Linville Thu, 27 Jul 2006 16:17:27 -0400 [PATCH] prism54: update to WE-19 for WPA support Add WE-19 capabilities to prism54 fullmac driver so that it supports the necessary Wireless Extensions WPA calls. Convert reporting of WPA/RSN Generic Information Elements to IWEVGENIE rather than pre-WE-19 IWEVCUSTOM as well. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 7c0c3afb6e67004648ca589445e073dba4040509 tree 6c914c3c7ffd2aa25cb788adbc0912bf9495acd2 parent 089f99d8ac398905f6dc75dd2ce5796ced5dd943 author Daniel Drake Sun, 16 Jul 2006 13:55:17 +0100 committer John W. Linville Thu, 27 Jul 2006 16:17:27 -0400 [PATCH] Add zd1211rw MAINTAINERS entry Hopefully this will help people like Adrian Bunk send patches where the maintainers will see them :) Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 089f99d8ac398905f6dc75dd2ce5796ced5dd943 tree db7293cbb0054f45cb4af389a73395c1afe77285 parent 67fd6b45231362a2f1ed6c74281a901105ae7d3e author Daniel Drake Thu, 13 Jul 2006 17:56:16 +0100 committer John W. Linville Thu, 27 Jul 2006 16:17:27 -0400 [PATCH] zd1211rw: Implement SIOCGIWNICKN wireless.h discourages using SIOCGIWNAME to publish the driver name which the interface belongs to. Use SIOCGIWNICKN instead. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 67fd6b45231362a2f1ed6c74281a901105ae7d3e tree f3e65998eb9da1ce3a649eaf2d8d089164bb485c parent 13dca9b87edebd5aa1d9ea5811bcf0fa1e975b52 author Pavel Machek Tue, 11 Jul 2006 15:34:05 +0200 committer John W. Linville Thu, 27 Jul 2006 16:17:26 -0400 [PATCH] cleanup // comments from ipw2200 ipw2200 uses // comments, and uses them for removing unneeded code. Clean it up a bit. Signed-off-by: Pavel Machek Signed-off-by: John W. Linville commit 13dca9b87edebd5aa1d9ea5811bcf0fa1e975b52 tree 8658c11b6cce5a19767fa27ceaffdcb4860eefaf parent 416512cb75f51f3d12e5e1aa57b6a36760fd12c9 author Robert Schulze Mon, 10 Jul 2006 18:37:44 +0200 committer John W. Linville Thu, 27 Jul 2006 16:17:26 -0400 [PATCH] airo: collapse debugging-messages in issuecommand to one line Signed-off-by: John W. Linville commit 416512cb75f51f3d12e5e1aa57b6a36760fd12c9 tree f8081ffd9ce0b7a5867d5ad262345c222122abb6 parent 20f99dcf417a28089ef6c877ae97f5dec2eab435 parent ca0084fa90533687b6317e6d084141da87c74d5c author John W. Linville Thu, 27 Jul 2006 15:06:13 -0400 committer John W. Linville Thu, 27 Jul 2006 15:06:13 -0400 Merge branch 'upstream-fixes' into upstream commit 20f99dcf417a28089ef6c877ae97f5dec2eab435 tree b4fe1f3e429d6a82ddaaa8e12899da630cfa8a63 parent dd2f5538a157bda68bfa8efb39feaaccdda9e74e parent 64821324ca49f24be1a66f2f432108f96a24e596 author John W. Linville Thu, 27 Jul 2006 14:27:06 -0400 committer John W. Linville Thu, 27 Jul 2006 14:27:06 -0400 Merge branch 'from-linus' into upstream commit 804af2cf6e7af31d2e664b54e657dddd9b531dbd tree a9127236c76953ddc627b8133aae208651e206fd parent 64821324ca49f24be1a66f2f432108f96a24e596 author Hugh Dickins Wed, 26 Jul 2006 21:39:49 +0100 committer Dave Jones Wed, 26 Jul 2006 19:58:39 -0400 [AGPGART] remove private page protection map AGP keeps its own copy of the protection_map, upcoming DRM changes will also require access to this map from modules. Signed-off-by: Hugh Dickins Signed-off-by: Dave Airlie Signed-off-by: Dave Jones commit bcf0bf90cd9e9242b66e0563b6a8c8db2e4c262c tree 07c718f1bf9ca8c3699ba31727195f5cf95ab93e parent 4ff96fa67379c31ced69f193c7ffba17051f38e8 author Francois Romieu Wed, 26 Jul 2006 23:14:13 +0200 committer Francois Romieu Wed, 26 Jul 2006 23:23:15 +0200 r8169: sync with vendor's driver - add several PCI ID for the PCI-E adapters ; - new identification strings ; - the RTL_GIGA_MAC_VER_ defines have been renamed to closely match the out-of-tree driver. It makes the comparison less hairy ; - various magic ; - the PCI region for the device with PCI ID 0x8136 is guessed. Explanation: the in-kernel Linux driver is written to allow MM register accesses and avoid the IO tax. The relevant BAR register was found at base address 1 for the plain-old PCI 8169. User reported lspci show that it is found at base address 2 for the new Gigabit PCI-E 816{8/9}. Typically: 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.: Unknown device 8168 (rev 01) Subsystem: Unknown device 1631:e015 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- commit 4ff96fa67379c31ced69f193c7ffba17051f38e8 tree d552a84e48803533ea155e8b88f56c9b33865793 parent 623a1593c84afb86b2f496a56fb4ec37f82b5c78 author Francois Romieu Wed, 26 Jul 2006 22:05:06 +0200 committer Francois Romieu Wed, 26 Jul 2006 23:23:14 +0200 r8169: remove rtl8169_init_board Rationale: - its signature is not exactly pretty; - it has no knowledge of pci_device_id; - kiss 23 lines good bye. Signed-off-by: Francois Romieu commit 623a1593c84afb86b2f496a56fb4ec37f82b5c78 tree a2b1334700c59aaa078aaec74d928ab58590be50 parent 9dccf61112e6755f4e6f154c1794bab3c509bc71 author Francois Romieu Sun, 14 May 2006 12:42:14 +0200 committer Francois Romieu Wed, 26 Jul 2006 23:23:13 +0200 r8169: hardware flow control The datasheet suggests that the device handles the hardware flow control almost automagically. User report a different story, so let's try to twiddle the mii registers. Signed-off-by: Francois Romieu commit 9dccf61112e6755f4e6f154c1794bab3c509bc71 tree 38c1549ccdcb617fadd5824030995c465f80710f parent a2b98a697fa4e7564f78905b83db122824916cf9 author Francois Romieu Sun, 14 May 2006 12:31:17 +0200 committer Francois Romieu Wed, 26 Jul 2006 23:23:13 +0200 r8169: RX fifo overflow recovery Signed-off-by: Francois Romieu commit a2b98a697fa4e7564f78905b83db122824916cf9 tree 993de4e76f22b8a0831c36abf7133c09615c6dbb parent 64821324ca49f24be1a66f2f432108f96a24e596 author Francois Romieu Sun, 14 May 2006 12:18:44 +0200 committer Francois Romieu Wed, 26 Jul 2006 23:23:12 +0200 r8169: mac address change support Fix for http://bugzilla.kernel.org/show_bug.cgi?id=6032. Cc: Tim Mattox Signed-off-by: Francois Romieu commit d11ea48aab3b57cc931cc7120603e1c2ffb04302 tree dad3c780816d0a76e021ee53c49c7c1fb4dd1243 parent 22ad852b8297e5063fc50f54a77e13f6d9b16a6f parent abb5a5cc6bba1516403146c5b79036fe843beb70 author Jeff Garzik Mon, 24 Jul 2006 03:40:11 -0400 committer Jeff Garzik Mon, 24 Jul 2006 03:40:11 -0400 Merge branch 'master' into upstream commit 48cb37bd9e053429aacb7c2726da3300aba60c68 tree b96346400d0d36557d683bc1535ed5139f9ca76d parent e36fcd8ae611b91f0bbaf6063b0b98e1ef955880 parent b71426eb10d904d421b36f51f93c8d0ba558edac author Jeff Garzik Mon, 24 Jul 2006 03:38:25 -0400 committer Jeff Garzik Mon, 24 Jul 2006 03:38:25 -0400 Merge branch 'upstream-fixes' into upstream commit e36fcd8ae611b91f0bbaf6063b0b98e1ef955880 tree 751b37949e1ca165828cad4bbe2f39d24a8a4d4f parent 5457f2194ad198a0aba4190ec99a6a81846fdca5 parent 8419dc8a34d765f2ff1aa4051084d54cfeff09cf author Jeff Garzik Mon, 24 Jul 2006 03:38:01 -0400 committer Jeff Garzik Mon, 24 Jul 2006 03:38:01 -0400 Merge branch 'upstream-fixes' into upstream commit 5457f2194ad198a0aba4190ec99a6a81846fdca5 tree 2daf5c3cc82bc7c0aea2dea04bfc1dde9287c5ef parent 13abf50df209008b5d44075bafeeab42ace56aa6 author zhao, forrest Thu, 13 Jul 2006 13:38:32 +0800 committer Jeff Garzik Wed, 19 Jul 2006 16:45:42 -0400 [PATCH] The redefinition of ahci_start_engine() and ahci_stop_engine() - Make ahci_start_engine() and ahci_stop_engine() more consistent with AHCI spec 1.1 - Change their input parameter from ap to port_mmio - Update the existing users of ahci_start_engine() and ahci_stop_engine() Signed-off-by: Forrest Zhao Signed-off-by: Hannes Reinecke Signed-off-by: Jens Axboe Signed-off-by: Jeff Garzik commit 22ad852b8297e5063fc50f54a77e13f6d9b16a6f tree d4f36792dd3435e14d132ecf4b90ebff9deb9118 parent 225ec70a8cf5086a70d755e394c56186a30053d3 author Arjan van de Ven Wed, 05 Jul 2006 20:36:40 +0200 committer Jeff Garzik Wed, 19 Jul 2006 14:01:17 -0400 [PATCH] resend of 8390 patch for lockdep The 8390 drivers use disable_irq() as a locking primitive, which means these uses need lockdep specific annotation that they are used as such. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Jeff Garzik commit 225ec70a8cf5086a70d755e394c56186a30053d3 tree 0143bb4f394c617822479e1c36a4b3bb3b07e14c parent 3fac0613937dff488141c8ade3320fd815c38ed7 parent dd2f5538a157bda68bfa8efb39feaaccdda9e74e author Jeff Garzik Wed, 19 Jul 2006 13:51:27 -0400 committer Jeff Garzik Wed, 19 Jul 2006 13:51:27 -0400 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream commit 3fac0613937dff488141c8ade3320fd815c38ed7 tree 82052794092339205a030459820e7c5847d98d05 parent 79690602adc5b52ce224df6ac67bde0074b2aede author Ralf Baechle Thu, 13 Jul 2006 12:14:55 +0100 committer Jeff Garzik Wed, 19 Jul 2006 13:50:39 -0400 [PATCH] Remove useless #ifdef MODULE stuff and printout Get rid of the MODULE stuff. Could have rewritten to use modern interfaces but the copyright message of this BSD licensed code isn't interesting enough to be watched on every bootup, in every syslog. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 79690602adc5b52ce224df6ac67bde0074b2aede tree 6cb4c9008c5f02cc2ca4cbebe7cc31636042c4b4 parent 15880352659a363209c5ad9cfc796a9c8a7f5196 author Ralf Baechle Thu, 13 Jul 2006 12:12:53 +0100 committer Jeff Garzik Wed, 19 Jul 2006 13:50:39 -0400 [PATCH] Remove useless casts Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 15880352659a363209c5ad9cfc796a9c8a7f5196 tree 122365b897cff1dd81ee5d372c7c9360620097f7 parent b6e37e55c250f5233401b2566b1a4b512a98bc7b author Ralf Baechle Thu, 13 Jul 2006 12:10:48 +0100 committer Jeff Garzik Wed, 19 Jul 2006 13:50:39 -0400 [PATCH] Convert to kzalloc Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit b6e37e55c250f5233401b2566b1a4b512a98bc7b tree bf7f0e127619ac2b39fc76aee1fcb8157372b656 parent 5f5d83fdbfb50ffb6f5fbf5fd69bc791d9d5cd20 author Ralf Baechle Fri, 14 Jul 2006 12:15:40 +0100 committer Jeff Garzik Wed, 19 Jul 2006 13:50:39 -0400 [PATCH] Cleanup SLHC configuration Convert selection of serial line header compression to use CONFIG_SLHC rather than makefile ifeq uglyness. This makes it easier to select the SLHC module from other code. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 5f5d83fdbfb50ffb6f5fbf5fd69bc791d9d5cd20 tree d76665b3842d8b33e6eb9dadbdd33ec2a51b426e parent bdd01503c3e4e9827df015bc7e440d5498308fdd author Stephen Hemminger Mon, 17 Jul 2006 15:38:32 -0400 committer Jeff Garzik Wed, 19 Jul 2006 13:49:04 -0400 [PATCH] sky2: add another PCI ID Yet another PCI ID for 88E8056 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit dd3bec63f80e663cdb655b8bdc9c1a0ea938f1c5 tree 80b6de2e54293100b5a36426b54cb8b239c3142a parent f5beec49636bf8d5a34065c8ab030cd4ea84516f author Tejun Heo Wed, 01 Mar 2006 15:13:50 +0900 committer Jeff Garzik Sun, 16 Jul 2006 11:55:46 -0400 [PATCH] sata_sil: remove unaffected drives from m15w blacklist m15w blacklist overgrew by attributing unrelated problems to m15w including R_ERR on DMA activate FIS errata. This patch shrinks sata_sil m15w blacklist such that it's as reported by Silicon Image. Signed-off-by: Tejun Heo Cc: Carlos Pardo Signed-off-by: Jeff Garzik commit 790e05d8c2b9941218c7c9ffb5c318382fab0a8b tree efc88203419278fbe9aa6ebbf3b74738abf573f2 parent 20697cb775bdd0271f3c90fad2d15c065fd19488 parent ca652c9396fa052815518e2b2ce2ebee6d9fb861 author Stephen Rothwell Fri, 14 Jul 2006 17:27:26 +1000 committer Stephen Rothwell Fri, 14 Jul 2006 17:27:26 +1000 Merge branch 'mpe' commit ca652c9396fa052815518e2b2ce2ebee6d9fb861 tree 734a9f70c12a628fdd09d54ca7c1ced224b3964e parent 2d69ff32ebf3dff9e9b48bbbbafe2b9b6f188d48 author Michael Ellerman Fri, 14 Jul 2006 14:25:33 +1000 committer Stephen Rothwell Fri, 14 Jul 2006 17:26:59 +1000 [POWERPC] iseries: Move iommu_table_cb into platforms/iseries Although we pass the address of an iommu_table_cb to HvCallXm_getTceTableParms, we don't actually need the structure definition anywhere except in the iseries iommu code, so move the struct in there. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 20697cb775bdd0271f3c90fad2d15c065fd19488 tree 011ae1040fda8cf4a4bf660a523d7e9abf682597 parent 54f5cd8afa1c9c9f8b152a946b0a7e0ecdef1631 parent 4e9e95a3554e98e7383a3591283ffcd850c9ef48 author Stephen Rothwell Thu, 13 Jul 2006 19:05:50 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 19:05:50 +1000 Merge branch 'hvc_iseries' commit 54f5cd8afa1c9c9f8b152a946b0a7e0ecdef1631 tree 6545b38374c9283ce00da3fe300247f3880de2da parent 380ed24b1b81a188c5b716286143157a27935aab author Stephen Rothwell Thu, 13 Jul 2006 18:56:56 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:56:56 +1000 [POWERPC] iseries: Remove unnecessary include of iseries/hv_lp_event.h Also remove unnecessary reference to struct HvLpEvent. Signed-off-by: Stephen Rothwell commit 380ed24b1b81a188c5b716286143157a27935aab tree 42a5bd13caecc7afba4469aa658779d155f64e06 parent 3da27289a8ecc688fc62c0961dfe89d392370480 author Stephen Rothwell Thu, 13 Jul 2006 18:56:00 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:56:00 +1000 [POWERPC] iseries: Small viotape cleanup allowed by devfs removal Signed-off-by: Stephen Rothwell commit 4e9e95a3554e98e7383a3591283ffcd850c9ef48 tree 245703cc917a274b84f02cf68c43ba5efe370f59 parent 8bff05b052db7a4cfaaf0eee7f8145600548e9c9 author Stephen Rothwell Thu, 13 Jul 2006 18:53:32 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:53:32 +1000 [POWERPC] Make the hvc_console output buffer size settable So the iSeries console will be faster since it can send up to 200 bytes at a time to the Hypervisor. This only affects the tty part of the console, the console writes are still in 16 byte lots. Signed-off-by: Stephen Rothwell commit 8bff05b052db7a4cfaaf0eee7f8145600548e9c9 tree fe637e3ba17b1453d039b8fdd7d9339fad674f4a parent 3da27289a8ecc688fc62c0961dfe89d392370480 author Stephen Rothwell Thu, 13 Jul 2006 18:51:22 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:51:22 +1000 [POWERPC] iseries: A new iSeries console This driver uses the hvc_console.c infrastructure that is used by the pSeries virtual and RTAS consoles. This will allow us to make viocons.c obsolete and is another step along the way to a combined kernel (as viocons could not coexist with CONFIG_VT). Signed-off-by: Stephen Rothwell commit 2d69ff32ebf3dff9e9b48bbbbafe2b9b6f188d48 tree 8c1a67ff3867c71427d10331d0e68f6517846477 parent 463c61928c453c2998d39b683c86385ee877c289 author Michael Ellerman Thu, 13 Jul 2006 17:54:44 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:43:25 +1000 [POWERPC] Fix a compiler warning in mm/tlb_64.c The compiler doesn't understand that BUG() never returns, so complains that psize isn't set. Just set it to the normal value, which seems to produce nice code and keeps gcc happy. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 463c61928c453c2998d39b683c86385ee877c289 tree 86d2cb6885f8e7d2e0a1b20bfa972519f9c73cf8 parent f357b4cc5826ae55a5f3893424502cb15c6b6eba author Michael Ellerman Thu, 13 Jul 2006 17:54:44 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:43:12 +1000 [POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c PhbId might be used unitialised, so set it to 0xff (nothing) always. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit f357b4cc5826ae55a5f3893424502cb15c6b6eba tree 39dcb3204ce8e5670863a180deda0c2a9efc9b5c parent 06a36db1d712242a00cb30aaebdd088b4be28082 author Michael Ellerman Thu, 13 Jul 2006 17:54:39 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:43:01 +1000 [POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c iSeries_Get_Location_Code() has error paths, but currently returns void, so give it a return code and only print the output if it returns successfully. Gcc isn't smart enough to be quiet though, so set frame to 0 to shut it up. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 06a36db1d712242a00cb30aaebdd088b4be28082 tree d768a710172634e939b4592f68a791e295800a26 parent a2ced11b6af59854cc2a2791dccd8b6c0da2f733 author Michael Ellerman Thu, 13 Jul 2006 17:52:17 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:52 +1000 [POWERPC] iseries: Move ItLpNaca into platforms/iseries Move ItLpNaca into platforms/iseries now that it's not used elsewhere. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit a2ced11b6af59854cc2a2791dccd8b6c0da2f733 tree 5f3d913c90c3836ce6b9e84a09d475de47de994a parent c59acae85409fdf5d7574e90009c8410daf38938 author Michael Ellerman Thu, 13 Jul 2006 17:52:12 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:38 +1000 [POWERPC] iseries: Make HvLpConfig_get(Primary)LpIndex functions HvLpConfig_get(Primary)LpIndex are currently static inlines that return fields from the itLpNaca, if we make them real functions we can make the itLpNaca private to iSeries. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit c59acae85409fdf5d7574e90009c8410daf38938 tree d61be73e9bff19478e5389b013de70fe0ea98465 parent a892e5d7fa7fb893b5873f7150a83f6f1ee141b5 author Michael Ellerman Thu, 13 Jul 2006 17:52:09 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:29 +1000 [POWERPC] iseries: Make ItExtVpdPanel private to iSeries No one outside platforms/iseries needs ItExtVpdPanel anymore, so move it in there. It used to be needed by lparcfg, and so was exported, but isn't needed anymore, so unexport it. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit a892e5d7fa7fb893b5873f7150a83f6f1ee141b5 tree 7bf5194235b14ffc837ed38db7110d01eb7a6089 parent dac411e7aa92d23dadbcb8721845ab88577294c7 author Michael Ellerman Thu, 13 Jul 2006 17:52:06 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:20 +1000 [POWERPC] iseries: Cleanup e2a() and strne2a() e2a() was formally used by lparcfg, and so had to be exported, but isn't anymore, so don't. e2a() and strne2a() can both be static, and __init. And e2a can be made much more concise if we use x ... y case labels, while we're there add support for lower case letters. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit dac411e7aa92d23dadbcb8721845ab88577294c7 tree 38cca1b9999c44db1ebf1aea53879a2130f85c7f parent a749690ecf7ab55aa46df1698bcee3ec110612df author Michael Ellerman Thu, 13 Jul 2006 17:52:04 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:03 +1000 [POWERPC] iseries: Move e2a()/strne2a() into their only caller The ASCII -> EBCDIC functions, e2a() and strne2a() are now only used in dt.c, so move them in there. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit a749690ecf7ab55aa46df1698bcee3ec110612df tree 2e86beded7bc9e6b2dc6c37a78a1a4c44e6687c1 parent 3da27289a8ecc688fc62c0961dfe89d392370480 author Michael Ellerman Thu, 13 Jul 2006 17:52:01 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:41:43 +1000 [POWERPC] iseries: Use device tree /system-id in /proc/iSeries/config We export a bunch of info in /proc/iSeries/config. Currently we pull it directly out of some iSeries specific structs, but we could use the device tree instead, this saves decoding it twice and is a little neater. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit dd2f5538a157bda68bfa8efb39feaaccdda9e74e tree 60d41757ff5ba39afcbe115ef6dd20e8db631334 parent 4221f980a4931364be7ffd81c4f16784990f6f8b author Daniel Drake Wed, 05 Jul 2006 15:57:31 +0100 committer John W. Linville Mon, 10 Jul 2006 14:19:42 -0400 [PATCH] zd1211rw: Add Sagem device ID's Based on a patch by Matthieu CASTET. zd1211 chip 079b:004a v4330 high 00-60-b3 AL2230_RF pa0 g-- zd1211b chip 079b:0062 v4810 high 00-60-b3 AL2230_RF pa0 g-- Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit 4221f980a4931364be7ffd81c4f16784990f6f8b tree ab7f3b768a28ff306c95a8dac6c9a7e0182a8da3 parent 2087da5dc12c497123d5fb8949ceed9021b673ec author Larry Finger Thu, 29 Jun 2006 22:48:59 -0500 committer John W. Linville Mon, 10 Jul 2006 14:19:41 -0400 [PATCH] bcm43xx: improved statistics This patch improves the statistics returned from bcm43xx_get_wireless_stats. The signal level comes from smoothing the "rssi" value returned by the firmware after it is converted into a dBm value by the driver. The quality value is a hack derived from the smoothed level and an assumed RX_POWER_MAX of -10 dBM. The noise value is still the one calculated from the clean-room formula. On my system, this is roughly -65 dBm, which seems too high. The revised version uses the ieee80211 spinlock to protect traversing of the network list. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 2087da5dc12c497123d5fb8949ceed9021b673ec tree 86ba0a1f3353cf515208b549b0fb9b0c76794c92 parent efa6a370216f1816456b49aac03295071720f7eb author Michael Buesch Wed, 28 Jun 2006 20:17:57 +0200 committer John W. Linville Mon, 10 Jul 2006 14:19:41 -0400 [PATCH] bcm43xx: voluntary preemtion in the calibration loops This patch adds voluntary preemption points into the PHY calibration loops to allow non-CONFIG_PREEMPT machines to not suffer from huge delays. CONFIG_PREEMPT machines are already fine, because all this code is run in non-atomic process context. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit efa6a370216f1816456b49aac03295071720f7eb tree a29c205e603d96ad3b4ef34b274335a851672aac parent b312d799b324e895745ffe148def234fc60d5b74 author Michael Buesch Tue, 27 Jun 2006 21:38:40 +0200 committer John W. Linville Mon, 10 Jul 2006 14:19:41 -0400 [PATCH] bcm43xx: opencoded locking As many people don't seem to like the locking "obfuscation" in the bcm43xx driver, this patch removes it. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 3da27289a8ecc688fc62c0961dfe89d392370480 tree cda59eaa2450fa1e98185f0c753210625570228e parent b5a1a9abe1a54ba40a9612001920f98bbdd0c56f author Jeremy Kerr Tue, 04 Jul 2006 16:47:18 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Remove linux,pci-domain properties The linux,pci-domain property is no longer used by DLPAR/PCI Hotplug utilites, or LSVPD. This change removes it. Built for ppc64_defconfig. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit b5a1a9abe1a54ba40a9612001920f98bbdd0c56f tree e0ed5a874d08e753b9643120cc68900c31c95cbe parent 980ffd3258dbcdb011e929de5d658ec81febba8d author Jeremy Kerr Tue, 04 Jul 2006 16:46:44 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Use const qualifiers for prom parsing utilites The of_bus callbacks map and get_flags can be constified, as they don't alter the range or addr arguments. of_dump_addr and of_read_addr can also be constified. Built for 32- and 64-bit powerpc Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 980ffd3258dbcdb011e929de5d658ec81febba8d tree 3cdf435f5aaf9fc40b6df43221f7d73576b80651 parent 7ed14c2177694ce086180eb9ca9ca4c6cd72c7ef author Jeremy Kerr Tue, 04 Jul 2006 16:44:46 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Remove linux,device properties The linux,device property isn't used anywhere within the kernel, and since it's a kernel pointer, it's a little useless for userspace. This change removes the code to create this property in of_device_register. Built for pmac32. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 7ed14c2177694ce086180eb9ca9ca4c6cd72c7ef tree 3ae86ab89905167c8fdc9f220524d4d693895108 parent 861fa7737db889ae1701ba58c083d4a7bd8705d3 author Benjamin Herrenschmidt Thu, 06 Jul 2006 15:09:19 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Add cpufreq support for Xserve G5 The Xserve G5 are capable of frequency switching like other desktop G5s. This enables it. It also fix a Kconfig issue which prevented from building the G5 cpufreq support if CONFIG_PMAC_SMU was not set (the first version of that driver only worked with SMU based macs, but this isn't the case anymore). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 861fa7737db889ae1701ba58c083d4a7bd8705d3 tree f2398f760279de2169a2c61b0a4034d1a0c0c2c1 parent e7c1f69d4fa4da47dc995b5de64b6cb76ae32081 author Benjamin Herrenschmidt Thu, 06 Jul 2006 18:03:06 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Xserve G5 thermal control fixes The thermal control for the Xserve G5s had a few issues. For one, the way to program the RPM fans speeds into the FCU is different between it and the desktop models, which I didn't figure out until recently, and it was missing a control loop for the slots fan, running it too fast. Both of those problems were causing the machine to be much more noisy than necessary. This patch also changes the fixed value of the slots fan for desktop G5s to 40% instead of 50%. It seems to still have a pretty good airflow that way and is much less noisy. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit e7c1f69d4fa4da47dc995b5de64b6cb76ae32081 tree f28032f439eb7a0a667eb6ac969b008e3e317f2e parent 73ea6959b11821ba5ade77fb1d3d4aed52be3b67 author Michael Ellerman Tue, 04 Jul 2006 17:13:23 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Fix mem= handling when the memory limit is > RMO size There's a bug in my cleaned up mem= handling, if the memory limit is larger than the RMO size we'll erroneously enlarge the RMO size. Fix is to only change the RMO size if the memory limit is less than the current RMO value. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 73ea6959b11821ba5ade77fb1d3d4aed52be3b67 tree 0082aa5e030c4908a8d6f2ff2347a99a00c65bc5 parent a45b83957deabbdac9a3d908c6ca4c25f05ce1ad author Benjamin Herrenschmidt Tue, 04 Jul 2006 17:07:18 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] More offb/bootx fixes There were still some issues with offb when BootX doesn't provide a proper display node, this fixes them. This also re-instates the palette hacks that were disabled a couple of kernel versions ago when I converted to the new OF parsing, and shuffles some functions around to avoid prototypes. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a45b83957deabbdac9a3d908c6ca4c25f05ce1ad tree 7f2115c9b732e0feae54d7e49134259076a9fc4f parent 26c5032eaa64090b2a01973b0c6ea9e7f6a80fa7 author Benjamin Herrenschmidt Tue, 04 Jul 2006 15:06:20 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Add support for briq front panel This adds the driver for the Briq front panel. This is a cleaned up version of a driver that has been floating around for some time now, initially written by Karsten Jeppesen and cleaned up by jk and myself. Signed-off-by: Jeremy Kerr Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 26c5032eaa64090b2a01973b0c6ea9e7f6a80fa7 tree 61cde3e5c0c5c7fe3e0cf89be2f2d5d1b9d35379 parent f704b8d1f080ee71b7a9a88bcf585e7dd4272f4b author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:16:28 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Add briq support to CHRP The support for Briq machines has been floating around as patches for ages. This cleans it up and adds it once for all. Some of this is based on initial code provided by Karsten Jeppesen and mostly rewritten from scratch by me. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit f704b8d1f080ee71b7a9a88bcf585e7dd4272f4b tree c3a1306ef6f17652ea8464bcde3479255251caf2 parent e70e943847bdae13175bf3a8bca6328e369de90a author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:14:07 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Fix legacy_serial.c error handling on 32 bits The code in legacy_serial.c wouldn't properly compare OF translation results against OF_BAD_ADDR as it's using a phys_addr_t which is 32 bits on some 32-bit powerpc platforms. This fixes it by always using a u64 which is what is returned by the OF parsing routines. It also makes translation failure harmless for ISA serial ports. If they can't translate, we can't use the UART early, but we can still let the 8250 driver use it later on by using IO port accessors. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit e70e943847bdae13175bf3a8bca6328e369de90a tree 98e5fdede7ccf87f70d557e148bb379d2a5bea56 parent 1e031d65b0cb5f882b20ebc356ea0345ff18dbf0 author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:11:23 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Fix default clock for udbg_16550 This patch makes it possible to provide 0 as the clock value for udbg_16550, making it default to the standard 1.8432Mhz clock Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 1e031d65b0cb5f882b20ebc356ea0345ff18dbf0 tree 71e14bb61e74237ed1246e00994e1836787612fe parent 470407a88e549135dce5fba7d86fb9910f500e56 author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:09:36 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Fix non-MPIC CHRPs with CONFIG_SMP set Pseudo-CHRP machines like Pegasos without an MPIC would crash at boot if CONFIG_SMP was set because the "smp_ops" pointer was set to MPIC related ops unconditionally. This patch makes it NULL on machines that don't support SMP and provides proper default behaviour in the callers when smp_ops is NULL. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 470407a88e549135dce5fba7d86fb9910f500e56 tree 5796327b363995e1b3833de5bf7253d53aec2986 parent e8c0acf9a4fe3b2b6847541bf5cc3c86c18272ec author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:07:42 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Fix 32 bits warning in prom_init.c A warning is hurting my eyes when building 32 bits kernels Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit e8c0acf9a4fe3b2b6847541bf5cc3c86c18272ec tree e3017dabe83ffb716bd91c33b50c61fa1ff1a75a parent 3a09aa4730f021ad917a66a0c6d2ff6d616a7e4f author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:06:29 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Workaround Pegasos incorrect ISA "ranges" The Pegasos firmware doesn't create a valid "ranges" property for the ISA bridge, thus causing translation of ISA addresses and IO ports to fail. This fixes it, thus re-enabling proper early serial console to work on Pegasos. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 3a09aa4730f021ad917a66a0c6d2ff6d616a7e4f tree 8eae9bdc1cd249ba4455537df3fcdb502da0eee0 parent fda7ffd25fc5bbe1b4209dfafb854c7ad7308c93 author Johannes Berg Mon, 03 Jul 2006 14:28:14 +0200 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] fix up front-LED Kconfig Rather long patch, apparently no one has updated the pmac32_defconfig in a while. Signed-off-by: Paul Mackerras commit fda7ffd25fc5bbe1b4209dfafb854c7ad7308c93 tree 1611f33a11f6ecb9beef7999b4a261f4af14e75a parent 120bda20c6f64b32e8bfbdd7b34feafaa5f5332e author Niels Kristian Bech Jensen Sun, 02 Jul 2006 13:02:27 +0200 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Add -fno-stack-protector to BOOTCFLAGS in arch/powerpc/boot/Makefile. I got some undefined references to __stack_chk_fail in arch/powerpc/boot/stdio.o and arch/powerpc/boot/prom.o when I was trying to build a kernel on Ubuntu Edgy Eft - which includes Stack Smashing Protection. This patch adds -fno-stack-protector to BOOTCFLAGS in arch/powerpc/boot/Makefile (why does BOOTCFLAGS depend on HOSTCFLAGS and not CFLAGS?). Regards, Niels Kristian Bech Jensen Signed-off-by: Paul Mackerras