commit efb0372bbaf5b829ff8c39db372779928af542a7 tree bd45777341bb85727ee4c301bb8e44d73c2554ac parent a46c9047642d70f5619e4a14129d74dd1f6ea74f author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:40:49 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: fix compile warning after consolidation patch The header declaring this function wasn't included, so the function declaration was totally bogus wrt. the proto - even if this wasn't going to fail at all. It was so bad that the compile warning I got was "control reaches end of non-void function", i.e. missing return. Actually, this has been there for ages, the consolidation patch just added the warning which was needed to clean it up. Nice. Really. Cc: Allan Graves Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit a46c9047642d70f5619e4a14129d74dd1f6ea74f tree 1d0850d57ad6c3d109c700c071e7cd468306a1e8 parent ae756df8ddd00a30bb3bdf6774b514c096dda4a4 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:40:29 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: comment about cast build fix Explain why the casting we do to silence this warning is indeed safe. It is because the field we're casting from, though being 64-bit wide, was filled with a pointer in first place by ourselves. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit ae756df8ddd00a30bb3bdf6774b514c096dda4a4 tree ba7bade58318a6fe1ff645e4edb349e0bfef5394 parent 41c79dc3825545d9aa2d5e5b1a99f8faabf51455 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:40:10 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: readd removed unistd.h inclusion Readd this header (deleted in 60d339f6fe0831060600c62418b71a62ad26c281). A warning is spit out here about undeclared getpgrp(). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 41c79dc3825545d9aa2d5e5b1a99f8faabf51455 tree 52e160a072f238eac8506ed95cfd21ab0c7eb75b parent fd7481047882eaa0a692a545d5f8419612ece1b0 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:39:47 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: fix bogus HOST_ELF_CLASS symbol name Even if with a bit of misunderstanding, Al fixed this in commit 95608261dae863bc43292e6fbd946a3abd3aa49f. Well, the symbol was intended to come from userspace (it exists there on normal host), but since some hosts may miss that, using the kernel one is just as fine. However, rename it to be named consistently with the rest. Actually, he missed converting ELFCLASS32 to coming from kernel headers. For consistence, add ELFCLASS64 too. Cc: Al Viro Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit fd7481047882eaa0a692a545d5f8419612ece1b0 tree af6c5283673881234f9f7615472b0d417ee6ca8f parent 8e5cb35a60c8792ffc3ba89ea66ebdd3c2f01cb1 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:39:32 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: Fix conflict between libc and ipv6 gcc is now complaining during link on some hosts - fix it as for other things. Reported by Antoine Martin . Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 8e5cb35a60c8792ffc3ba89ea66ebdd3c2f01cb1 tree 85d8b8f9926a765e96024bd8f0d08bf0e6de08e0 parent 36decba90b184a25b7f77fb7df1612125cc41ac5 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:39:14 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: fix uname output on 32-bit binary on 64-bit host Translate uname output taken from the host if needed. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 36decba90b184a25b7f77fb7df1612125cc41ac5 tree adaf26bbb1306a0d3b52c983b9fa9e5b57b780a5 parent 76629ac154aacfec8883954c3ff9871905d2fb8e author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:38:57 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:29 -0700 [PATCH] uml: fix modify_ldt - missing break in switch I am a lamer :-(. Luckily, Luo Xin performed LTP testing and found this failure. Btw, the fact that the patch in which I introduced this was merged shows that: a) I'm really trusted by people b) sometimes they're wrong about point a). c) lack of time for reviewers. CC: Luo Xin Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 76629ac154aacfec8883954c3ff9871905d2fb8e tree 76cf6da4fe5493e463ccccd2b80b65608c9a4db9 parent 676067cfeaa16f6f338e067e83ce4733b41c0b24 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:38:33 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:29 -0700 [PATCH] uml: remove verify_area_{tt,skas} When removing verify_area, verify_area_{tt,skas} were forgotten. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 676067cfeaa16f6f338e067e83ce4733b41c0b24 tree 4468541d1b970fc240c115b69d894443d3ed564c parent c51179fb0c77ad91df5825f8f7eb670da97e137e author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:38:09 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:29 -0700 [PATCH] Remove unused var from asm/futex.h As recently done by Russell King for ARM, commit 4732efbeb997189d9f9b04708dc26bf8613ed721 introduces a generic asm/futex.h copied along most arches, which includes a "-ENOSYS support" to be changed if needed. However, it includes an unused var (taken from the "real" version) which GCC warns about. Remove it from all arches having that file version (i.e. same GIT id). $ git-diff-tree -r HEAD and $ git-ls-tree -r HEAD include/|grep 9feff4ce1424bc390608326240be369eb13aa648 may be more interesting than looking at the patch itself, to make sure I've just copied the arm header to all other archs having the original dummy version of this file. Cc: Jakub Jelinek Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit c51179fb0c77ad91df5825f8f7eb670da97e137e tree e1f4b8abef1caf0be32a6d777074fd84a80ef165 parent f62378fcfc9c13a57b0b69dbd43336a4df8155a5 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:37:14 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:29 -0700 [PATCH] uml: adapt asm/futex.h to our arch Follow up to 4732efbeb997189d9f9b04708dc26bf8613ed721 - uml must just reuse as-is the backing architecture support. There is a micro-fixup is needed for the included file, which won't affect i386 behaviour at all. I've not tested compilation on x86_64, only on x86, but the code is almost the same except the culprit test, so everything should be ok on x86_64 too. Cc: Jakub Jelinek Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit f62378fcfc9c13a57b0b69dbd43336a4df8155a5 tree b2682850f0d15079e0618ee09a23ba7ee71df55b parent a418500b42c5c54f3f9d68036950c701740a2765 parent 6a1ced59b3ac5d1088f597fd0613a724cdf19e2c author Linus Torvalds Wed, 21 Sep 2005 14:30:37 -0700 committer Linus Torvalds Wed, 21 Sep 2005 14:30:37 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 6a1ced59b3ac5d1088f597fd0613a724cdf19e2c tree 8165b4ab26e448b2bd1a54a460a007521f1d5661 parent a9f7baf4d695dbe3028d40ca374c1d11499eaee6 author Catalin Marinas Wed, 21 Sep 2005 22:14:05 +0100 committer Russell King Wed, 21 Sep 2005 22:14:05 +0100 [ARM] 2932/1: Avoid the "noreturn" warning in arch/arm/kernel/traps.c Patch from Catalin Marinas This patch prevents the "noreturn function does return" warning in the __bug() function in arch/arm/kernel/traps.c Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit a418500b42c5c54f3f9d68036950c701740a2765 tree 17541c0ab858c3251a4e0ef802a9ac74f425943e parent 62a36c43c898d45efcfe3376ea1da6a9a182e1ad parent f2065e4242e5078d53c521b973c5cd4eae91eca2 author Linus Torvalds Wed, 21 Sep 2005 13:21:35 -0700 committer Linus Torvalds Wed, 21 Sep 2005 13:21:35 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit f2065e4242e5078d53c521b973c5cd4eae91eca2 tree 08cd44403ac326f41715e918f781d077367cb70b parent 972d512a17c1bb7c4b784a9da2ca75745fcc6989 author Hal Rosenstock Wed, 21 Sep 2005 12:33:09 -0700 committer Roland Dreier Wed, 21 Sep 2005 12:33:09 -0700 [IB] Fix RMPP receive length calculation Based on simplification idea from Sean Hefty Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 972d512a17c1bb7c4b784a9da2ca75745fcc6989 tree 91eb1a1a0c1affe19e23b15069b6a5fd86d3ca72 parent 2fe9f798ba3cf7c939e638b78f46975e79039978 author Sean Hefty Wed, 21 Sep 2005 12:31:26 -0700 committer Roland Dreier Wed, 21 Sep 2005 12:31:26 -0700 [IB] Add MAD data field size definitions Clean up code by using enums instead of hard-coded magic numbers. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 62a36c43c898d45efcfe3376ea1da6a9a182e1ad tree 3d2e39625a2ca620ef71433cf100ff51a225438b parent 89d7cbf73e1a85241eb42339f6cb7a429fec178c author Stephane Kardas Wed, 21 Sep 2005 09:55:45 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:12:18 -0700 [PATCH] fat: fix adate During a forensic analysis on the fat file system, I found than the result for the last access date on this file system was different between the stat command and the istat command (package tct-utils). The istat command display a true date (the right windows date) but the stat primitive (so stat, find, ls command) displays a wrong date. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89d7cbf73e1a85241eb42339f6cb7a429fec178c tree e74da41540922732f5d1d4f236c890c019545262 parent 7980cbbb30bf044e6f40912a3f6456204ddfc27e author Randy Dunlap Wed, 21 Sep 2005 09:55:44 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:12:18 -0700 [PATCH] update URL for HPET spec. Correct URL for HPET spec. Signed-off-by: Randy Dunlap Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7980cbbb30bf044e6f40912a3f6456204ddfc27e tree 8bd1ccb91431f1c81ab5980a5cc8474f1d490136 parent 4b1ac9ab15c1fc1e0b73d887a0c0cafe92991f97 author Eric Dumazet Wed, 21 Sep 2005 09:55:43 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:12:18 -0700 [PATCH] Adds sys_set_mempolicy() in include/linux/syscalls.h Signed-off-by: Eric Dumazet Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b1ac9ab15c1fc1e0b73d887a0c0cafe92991f97 tree 60d469d5c1ebc67da4f14380804bd1b721ac840a parent 8f91648dcb0685d58aa046b25c69ce0d5f284f8c author Stephen Hemminger Wed, 21 Sep 2005 09:55:41 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] skge: add maintainer Add MAINTAINER record for Andrew ;-) Signed-off-by: Stephen Hemminger Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f91648dcb0685d58aa046b25c69ce0d5f284f8c tree 728475d2e8a2a4c92bf251657daa7287e5bb36e2 parent 7e2cff42cfac27c25202648c5c89f9171e5bc085 author Christoph Hellwig Wed, 21 Sep 2005 09:55:40 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] fixup Documentation/DocBook/kernel-hacking.tmpl __FUNCTION__ is the prefered kernel idiom, __func__ is not supported by gcc 2.95 (we actually map __FUNCTION__ to __func__ for more recent compilers, but it should never be used directly) Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e2cff42cfac27c25202648c5c89f9171e5bc085 tree 5579fa13b1fc8081201f05d687e6dc795d9d648f parent 7e871b6c8f1f4fda41e51ef86147facecac3be9f author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 09:55:39 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] mm: add a note about partially hardcoded VM_* flags Hugh made me note this line for permission checking in mprotect(): if ((newflags & ~(newflags >> 4)) & 0xf) { after figuring out what's that about, I decided it's nasty enough. Btw Hugh itself didn't like the 0xf. We can safely change it to VM_READ|VM_WRITE|VM_EXEC because we never change VM_SHARED, so no need to check that. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e871b6c8f1f4fda41e51ef86147facecac3be9f tree d03c9af90786ea7fa8f5e77ce1e71437ab7de4df parent f875a1a6650edce859bd21051a22e1c27ac7ea63 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 09:55:38 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] mm: update stale comment for removal of page->list Update comment for the 2.6.6-rc1 conversion from page->list and address_space->{clean,dirty,locked}_pages to radix tree tagging and ->lru. I've mostly avoided to mention page lists (at least I've shortened the comment). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f875a1a6650edce859bd21051a22e1c27ac7ea63 tree 7244466f1ed3caf93a8a9fd955b4f365ce39299e parent f10df6860498c7f52db4f00ff00a1ba334bcfea0 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 09:55:37 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] README update from the stone age We have no options which the user can set in the Makefile. Only the EXTRAVERSION, which is also useful in place of the "backup modules" suggestion. We don't have configuration options in the top Makefile. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f10df6860498c7f52db4f00ff00a1ba334bcfea0 tree aa1a75645a002e869886aaae9d09d332a69f8bba parent 8b20f6da20d874a58becc7a08b130c4382ea7325 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 09:55:37 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] fix locking comment in unmap_region() That comment is plain wrong (we even take the pagetable lock inside unmap_region()). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b20f6da20d874a58becc7a08b130c4382ea7325 tree 351214ad8719c6d46291d21b212996db46aef0dd parent 40da47e1159b89f2df5c718d2d5e269ced72b541 author Deepak Saxena Wed, 21 Sep 2005 09:55:35 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] Fix I2O config-osm init to return proper error We currently unregister the config-osm driver if initialization of the legacy ioctl() handlers failed but still return success. We should be returning -EBUSY in this case. Signed-off-by: Deepak Saxena Cc: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40da47e1159b89f2df5c718d2d5e269ced72b541 tree 9051017d52f9354670cd5a18b8804c4249328305 parent bbcc6bee9e5bf45ec35e87a4e0755dff09fe25d4 author Benjamin Herrenschmidt Wed, 21 Sep 2005 09:55:34 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] ppc64: Build zImage.vmode for G5 zImage.vmode was recently added. It's a version of zImage in which the ELF note section used by open firmware indicates that it requires a virtual mode instance of OF instead of real mode. This allows it to work with Apple OF, and thus is directly bootable (or netbootable) from OF command line. (Unfortunately, pSeries OF sort-of requires real mode and Apple OF sort-of requires virtual mode, and both tend to be unhappy if no notes section specifies the mode at all). However, we forgot to add zImage.vmode to the default G5 build. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbcc6bee9e5bf45ec35e87a4e0755dff09fe25d4 tree 1408c9d960ffca08e8f053cec060cf52ab0f352d parent 1bc2a3bb86688ffca691ba2ad30a2d5dcba774cf author Christoph Hellwig Wed, 21 Sep 2005 09:55:33 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] remove blkdev_scsi_issue_flush_fn again This function was removed a while ago, but crept in again via a recent scsi merge. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bc2a3bb86688ffca691ba2ad30a2d5dcba774cf tree 09e8f19669e0494cd3464b0d5babebf259778c30 parent d6dbf42ee36d4f9ffc2a93877c19937c81974124 author Anton Blanchard Wed, 21 Sep 2005 09:55:33 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] ppc64: Fix issue with non zero boot cpu The new version of the flattened device tree passes the boot cpuid in the header instead of via a linux,boot-cpu property. We need to update the in kernel OF parsing code to do this, otherwise machines with a non zero boot cpuid fail to come up. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6dbf42ee36d4f9ffc2a93877c19937c81974124 tree f7896850214230318c504b58f81cdbab5401ca96 parent 3c2822ccb1f8cc96fc006aa82e68e1944290014a author Mike Miller Wed, 21 Sep 2005 09:55:32 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] cciss: busy_initializing bug fix This patch fixes the problem Bjorn reported. The busy_initializing flag should have cleared before going into the for loop. Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c2822ccb1f8cc96fc006aa82e68e1944290014a tree 3834b0004ef12b96f699529ca8008a0644531fa3 parent 31f6d9d628739c097964b8dbae939ea997da94a3 author Olof Johansson Wed, 21 Sep 2005 09:55:31 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] PPC64: Fix boot for some pre-POWER4 systems Some RS64 systems (such as F80) have non-python host bridges with EADS. However, they have two EADS with 4 buses each under them, so the old logic that assumed no more than 7 busses per PHB failed miserably. Big thanks to Olaf Hering for helping me test this, he's got one of the few machines that broke from the previous logic. Also, to be a bit smarter at detecting the need for a PHB-level IOMMU table by checking for the presence of an ISA bus. Only PHBs with ISA bridges should need the PHB-level table. Signed-off-by: Olof Johansson Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31f6d9d628739c097964b8dbae939ea997da94a3 tree a559531440fbf6685e68ebce5f5a26695ae7d5d9 parent 66dcca062847bcd261ebb3ac96d51101f31a8630 author Andrew Morton Wed, 21 Sep 2005 09:55:30 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] Add printk_clock() ia64's sched_clock() accesses per-cpu data which isn't set up at boot time. Hence ia64 cannot use printk timestamping, because printk() will crash in sched_clock(). So make printk() use printk_clock(), defaulting to sched_clock(), overrideable by the architecture via attribute(weak). Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66dcca062847bcd261ebb3ac96d51101f31a8630 tree 12f23a499ae0af8107d0c4a3afcff75e6697fa3b parent d79e743e9fcf03f521300a970eb1ab69641910ba author Sripathi Kodi Mon, 19 Sep 2005 18:26:12 -0500 committer Linus Torvalds Wed, 21 Sep 2005 09:15:34 -0700 [PATCH] Fix invisible threads problem When the main thread of a thread group has done pthread_exit() and died, the other threads are still happily running, but will not be visible under /proc because their leader is no longer accessible. This fixes the access control so that we can see the sub-threads again. Signed-off-by: Sripathi Kodi Acked-by: Al Viro Signed-off-by: Linus Torvalds commit d79e743e9fcf03f521300a970eb1ab69641910ba tree 9672cd40a47d1791d906c0c5d3990f7274a20ff9 parent 2fe9f798ba3cf7c939e638b78f46975e79039978 author Paul Mackerras Wed, 21 Sep 2005 14:14:22 +1000 committer Linus Torvalds Wed, 21 Sep 2005 09:15:34 -0700 [PATCH] ppc64: Fix PCI flags when using OF device tree My code to set up the PCI tree from the Open Firmware device tree was setting IORESOURCE_* flags on the resources for the devices, but not the PCI_BASE_ADDRESS_* flags. This meant that some drivers misbehaved, and /proc/pci showed the wrong types for the resources. This fixes it. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 2fe9f798ba3cf7c939e638b78f46975e79039978 tree f65153c806f68bd6e965d65d7c7e4104b27fff90 parent 76abf3e71c5a4d315ec95e23e5aedd15fbfcd6df parent a131430c200f6bda313bf5d0a8e238c41afdfe0a author Linus Torvalds Wed, 21 Sep 2005 07:53:38 -0700 committer Linus Torvalds Wed, 21 Sep 2005 07:53:38 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 76abf3e71c5a4d315ec95e23e5aedd15fbfcd6df tree 396d39575c2e1bb43f0e5794969814cdb2387909 parent d90d4392b395083a7d295b7cdf0edfd849d4c2a3 parent 7957aed72b104f7528da484f292442c6f3a131a1 author Linus Torvalds Wed, 21 Sep 2005 07:53:05 -0700 committer Linus Torvalds Wed, 21 Sep 2005 07:53:05 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit a131430c200f6bda313bf5d0a8e238c41afdfe0a tree c156cf5e4b65af0ad7bd2f5828e7697884a3c358 parent 1a3e64aa480101d11d8cac94ca57fd8bbe2536b7 author Christopher Zimmermann Wed, 21 Sep 2005 00:41:22 -0700 committer David S. Miller Wed, 21 Sep 2005 00:41:22 -0700 [SPARC] cs4231: Fix SBUS support in this driver. From: Christopher Zimmermann This patch enables SBus support for the cs4231 sound driver. It is tested on an Ultra2. Capture and playback both work. I experienced lags and crashes using certain threaded players like ogg123 and mp3blaster, while the former is lagging far more. This behavior may be specific to SMP systems. It is reproducable using the dummy sound card driver. Sox works flawlessly. Setting up the calculation of ptr in snd_cs4231_playback_pointer was a bit strange. I got it to work by not incrementing the [pc]_periods_sent counter when starting DMA the first time in cs4231_dma_trigger. Therefore this dummy thing. [ I did some minor cleanups -DaveM ] Signed-off-by: David S. Miller commit 1a3e64aa480101d11d8cac94ca57fd8bbe2536b7 tree 371ca21e83c83ccabe48484f9f62078232d4660a parent 729b4f7de68191478b20fab19a6d0c6b8c4380c9 author Tom 'spot' Callaway Wed, 21 Sep 2005 00:29:16 -0700 committer David S. Miller Wed, 21 Sep 2005 00:29:16 -0700 [ATYFB]: Fix build with CONFIG_FB_ATY_GENERIC_LCD disabled. Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit 7957aed72b104f7528da484f292442c6f3a131a1 tree be24b967df59eefbdf3eacc5d8891f14225dd44b parent 78c6671a88313fd3c4364dc46e8c8186612616b8 author Stephen Hemminger Wed, 21 Sep 2005 00:19:46 -0700 committer David S. Miller Wed, 21 Sep 2005 00:19:46 -0700 [TCP]: Set default congestion control correctly for incoming connections. Patch from Joel Sing to fix the default congestion control algorithm for incoming connections. If a new congestion control handler is added (via module), it should become the default for new connections. Instead, the incoming connections use reno. The cause is incorrect initialisation causes the tcp_init_congestion_control() function to return after the initial if test fails. Signed-off-by: Stephen Hemminger Acked-by: Ian McDonald Signed-off-by: David S. Miller commit 78c6671a88313fd3c4364dc46e8c8186612616b8 tree 55ad469a2f178eb7a0172daf06798a356aa314f9 parent 0fb375fb9b93b7d822debc6a734052337ccfdb1f author Stephen Hemminger Wed, 21 Sep 2005 00:15:39 -0700 committer David S. Miller Wed, 21 Sep 2005 00:15:39 -0700 [FIB_TRIE]: message cleanup Cleanup the printk's in fib_trie: * Convert a couple of places in the dump code to BUG_ON * Put log level's on each message The version message really needed the message since it leaks out on the pretty Fedora bootup. Signed-off-by: Stephen Hemminger Acked-by: Robert Olsson , Signed-off-by: David S. Miller commit 0fb375fb9b93b7d822debc6a734052337ccfdb1f tree 0aec28fa88b0b83e2101e1eee4c7c66ae10b5301 parent 6d67e34de5a378de2f461137944c5d931283d557 author Eric W. Biederman Wed, 21 Sep 2005 00:11:37 -0700 committer David S. Miller Wed, 21 Sep 2005 00:11:37 -0700 [AF_PACKET]: Allow for > 8 byte hardware addresses. The convention is that longer addresses will simply extend the hardeware address byte arrays at the end of sockaddr_ll and packet_mreq. In making this change a small information leak was also closed. The code only initializes the hardware address bytes that are used, but all of struct sockaddr_ll was copied to userspace. Now we just copy sockaddr_ll to the last byte of the hardware address used. For error checking larger structures than our internal maximums continue to be allowed but an error is signaled if we can not fit the hardware address into our internal structure. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller commit d90d4392b395083a7d295b7cdf0edfd849d4c2a3 tree ca223472e3a125fdc83d0d316d144529f0f18195 parent 6d67e34de5a378de2f461137944c5d931283d557 parent 71eea47d853bb0ce0c6befe11b3e08111263170f author Linus Torvalds Tue, 20 Sep 2005 17:38:51 -0700 committer Linus Torvalds Tue, 20 Sep 2005 17:38:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 6d67e34de5a378de2f461137944c5d931283d557 tree ef559dbcbb3c2336f13f2b1d8d5995abca137000 parent 7a482425f45e695a2e2821b32a887865f016fbf9 author Antonino A. Daplas Wed, 21 Sep 2005 07:32:49 +0800 committer Linus Torvalds Tue, 20 Sep 2005 17:36:38 -0700 [PATCH] fbdev: Fix reversed back and front porches In fbdev perspective, the frontporch is the lower/right margin and the backporch is the upper/left margin. Correct. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 7a482425f45e695a2e2821b32a887865f016fbf9 tree d368ef974461fd071bf0d6c48f96b3cdff6b58f2 parent c90eef84b8f5c7416cb99ab6907896f2dd392b4d author Antonino A. Daplas Wed, 21 Sep 2005 07:30:21 +0800 committer Linus Torvalds Tue, 20 Sep 2005 17:36:38 -0700 [PATCH] nvidiafb: Fix absence of cursor in nvidiafb A recent change in nvidiafb caused nvidiafb_cursor to always return -ENXIO instead of using the soft_cursor. This will happen if the parameter "hwcur" is not set, which happens to be the default. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit a9f7baf4d695dbe3028d40ca374c1d11499eaee6 tree 9696d31ce6d599f2b65979f0e5c09048cc791ab7 parent 840ff6a4f6174d7fe19c206b5f36ff64123a2f45 author Russell King Tue, 20 Sep 2005 21:01:13 +0100 committer Russell King Tue, 20 Sep 2005 21:01:13 +0100 [ARM] Fix pcf8583 to build Seems that the Acorn RTC driver missed an update. Fix it. Signed-off-by: Russell King commit 729b4f7de68191478b20fab19a6d0c6b8c4380c9 tree c3515037d7797643a6f83e2331ab9d2cd1dd1f64 parent 6a9b490d5fd7f23c5bcd75f970e01633ad3136e3 author David S. Miller Tue, 20 Sep 2005 12:18:38 -0700 committer David S. Miller Tue, 20 Sep 2005 12:18:38 -0700 [SPARC64]: Verify vmalloc TLB misses more strictly. Arrange the modules, OBP, and vmalloc areas such that a range verification can be done quite minimally. Signed-off-by: David S. Miller commit 71eea47d853bb0ce0c6befe11b3e08111263170f tree ff675d57b8d3dc6688a2016b41b0d41b54611231 parent 8d2cae0651502028bf64844508ab18528bbd65c2 author Michael S. Tsirkin Tue, 20 Sep 2005 10:54:48 -0700 committer Roland Dreier Tue, 20 Sep 2005 10:54:48 -0700 [PATCH] IB/mthca: Fix device removal memory leak Clean up QP table array on device removal. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8d2cae0651502028bf64844508ab18528bbd65c2 tree 6e166a94e5f581c683d2b29e792665082b21afd5 parent eff4c654b1a4a5e5493fbdc3affa6dd48765c085 author Roland Dreier Tue, 20 Sep 2005 10:52:04 -0700 committer Roland Dreier Tue, 20 Sep 2005 10:52:04 -0700 [PATCH] IPoIB: Don't flush workqueue from within workqueue ipoib_mcast_restart_task() is always called from within the single-threaded IPoIB workqueue, so flushing the workqueue from within the function can lead to a recursion overflow. But since we're running in a single-threaded workqueue, we're already synchronized against other items in the workqueue, so just get rid of the flush in ipoib_mcast_restart_task(). Signed-off-by: Roland Dreier commit 840ff6a4f6174d7fe19c206b5f36ff64123a2f45 tree 1b66816135fad5a97d5ea0862b95341278f4227f parent 5fe10ab19046d84f3fd243436cbd5fa01019e809 author Russell King Tue, 20 Sep 2005 17:52:13 +0100 committer Russell King Tue, 20 Sep 2005 17:52:13 +0100 [ARM] Prevent deadlock in page fault handler As per x86, we may deadlock while trying to get the mmap semaphore. Implement the same fix, which allows (eg) recursive faults to cause an oops instead of deadlocking. Signed-off-by: Russell King commit 5fe10ab19046d84f3fd243436cbd5fa01019e809 tree 3b79a956940cf021801f9c8ae757d77b996c4355 parent 9d0fd1eb8a3c19f3ede5418540b3c9f64fac4b86 author Ben Dooks Tue, 20 Sep 2005 17:24:33 +0100 committer Russell King Tue, 20 Sep 2005 17:24:33 +0100 [ARM] 2928/1: S3C2410 - make machine init code static Patch from Ben Dooks This code is not being exported, declare it static Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c90eef84b8f5c7416cb99ab6907896f2dd392b4d tree 556a077afb13e93461601666ba9cb5dd83c4e554 parent 9600c11ba3602be161cd376f1460f3de561fc299 parent eed8b2dee7cff46dd4bf5b82dc53465d229162ba author Linus Torvalds Tue, 20 Sep 2005 08:54:33 -0700 committer Linus Torvalds Tue, 20 Sep 2005 08:54:33 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 9600c11ba3602be161cd376f1460f3de561fc299 tree d071c2427a8f7ad601aec6d8ae76b0f61410becf parent 676d55ae30ea3b688f0386f70553489f25f24d55 parent 13e1e1f08c1c098c7574c1fa72bd8c67792dc89b author Linus Torvalds Tue, 20 Sep 2005 08:50:49 -0700 committer Linus Torvalds Tue, 20 Sep 2005 08:50:49 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit 9d0fd1eb8a3c19f3ede5418540b3c9f64fac4b86 tree 2d25f3e3428c7d0310a596805448143db10e2c3b parent 02b7dd1244aab9267ae4078e1ad6a2fdaabeb6ed author Ben Dooks Tue, 20 Sep 2005 16:45:20 +0100 committer Russell King Tue, 20 Sep 2005 16:45:20 +0100 [ARM] 2927/1: .arch.info - postfix section with .init for `make buildcheck` Patch from Ben Dooks The `make buildcheck` is erroneously reporting that the .arch.info list is referencing items in the .init section as it is not itself postfixed with .init Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 02b7dd1244aab9267ae4078e1ad6a2fdaabeb6ed tree 27e3ee0cb242a58aca567537af5bc9c971904390 parent bfe6815e0465035d013b2b676444376fe2b3716e author Ben Dooks Tue, 20 Sep 2005 16:35:03 +0100 committer Russell King Tue, 20 Sep 2005 16:35:03 +0100 [ARM] 2926/1: .proc.info - postfix section with .init for `make buildcheck` Patch from Ben Dooks The `make buildcheck` is erroneously reporting that the .proc.info list is referencing items in the .init section as it is not itself postfixed with .init Signed-off-by: Ben Dooks Signed-off-by: Russell King commit bfe6815e0465035d013b2b676444376fe2b3716e tree 98666f80d1e828a1822009dabfc85d032358f322 parent 58dd48a6575d3ba86ba659eb8c6fc23246783fba author Ben Dooks Tue, 20 Sep 2005 16:25:12 +0100 committer Russell King Tue, 20 Sep 2005 16:25:12 +0100 [ARM] 2925/3: earlyparam - postfix section with .init for `make buildcheck` Patch from Ben Dooks The `make buildcheck` is erroneously reporting that the earlyparam list is referencing items in the .init section as it is not itself postfixed with .init Also, as per rmk's suggestion, rename the __early_param to .early_param to bring it into line with everything else Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 58dd48a6575d3ba86ba659eb8c6fc23246783fba tree 81ea9d313a6df18fe1decbc6c9edc77d408bd8f1 parent 9506057fca54464f3291b62156e6cd907c4cbc95 author Vincent Sanders Tue, 20 Sep 2005 16:21:42 +0100 committer Russell King Tue, 20 Sep 2005 16:21:42 +0100 [ARM] 2922/1: compile fix for shark Patch from Vincent Sanders Shark platform fails to build with gcc 4 because of a bad lvalue assignement Signed-off-by: Vincent Sanders Signed-off-by: Russell King commit 9506057fca54464f3291b62156e6cd907c4cbc95 tree efbc13a3a992be184c50db9bba4e3f4e80600b21 parent 676d55ae30ea3b688f0386f70553489f25f24d55 author Ben Dooks Tue, 20 Sep 2005 16:20:49 +0100 committer Russell King Tue, 20 Sep 2005 16:20:49 +0100 [ARM] 2924/3: taglist - postfix section with .init for `make buildcheck` Patch from Ben Dooks The `make buildcheck` is erroneously reporting that the taglist is referencing items in the .init section as it is not itself postfixed with .init Signed-off-by: Ben Dooks Signed-off-by: Russell King commit eed8b2dee7cff46dd4bf5b82dc53465d229162ba tree 1508bedde4dda971c56dc30c7edf1e36bfbefc9e parent 676d55ae30ea3b688f0386f70553489f25f24d55 author Anton Altaparmakov Tue, 20 Sep 2005 14:19:30 +0100 committer Anton Altaparmakov Tue, 20 Sep 2005 14:19:30 +0100 NTFS: More runlist handling fixes from Richard Russon and myself. Signed-off-by: Anton Altaparmakov commit 6a9b490d5fd7f23c5bcd75f970e01633ad3136e3 tree dd3ad10d43a5dd765705f32ff1fca6fc1bab88fd parent e0487992ce1dd7ae7da9c6aabdb19570bb95432b author David S. Miller Mon, 19 Sep 2005 20:11:57 -0700 committer David S. Miller Mon, 19 Sep 2005 20:11:57 -0700 [SPARC64]: Move DCACHE_ALIASING_POSSIBLE define to asm/page.h This showed that arch/sparc64/kernel/ptrace.c was not getting the define properly, and thus the code protected by this ifdef was never actually compiled before. So fix that too. Signed-off-by: David S. Miller commit e0487992ce1dd7ae7da9c6aabdb19570bb95432b tree a2d748df1ae99d8f9e6c8e6055e9ef9a3153d1cf parent ff171d8f66a7fe1a000e610e9de11224749f9a22 author Ed L. Cashin Mon, 19 Sep 2005 19:57:36 -0700 committer David S. Miller Mon, 19 Sep 2005 19:57:36 -0700 [BYTEORDER]: Document alignment and byteorder macros This patch comments the fact that although passing le64_to_cpup et al. is within the intended use of the byteorder macros, using get_unaligned is the recommended way to go. Signed-off-by: Ed L. Cashin Signed-off-by: David S. Miller commit ff171d8f66a7fe1a000e610e9de11224749f9a22 tree 5cd542d07cb547d80bbf71fbd0e26df25d0895ea parent 875bd5ab01bc0b760fd4e97838931cd2e7456cbd author David S. Miller Mon, 19 Sep 2005 19:56:06 -0700 committer David S. Miller Mon, 19 Sep 2005 19:56:06 -0700 [SPARC64]: Handle little-endian unaligned loads/stores correctly. Because we use byte loads/stores to cons up the value in and out of registers, we can't expect the ASI endianness setting to take care of this for us. So do it by hand. This case is triggered by drivers/block/aoe/aoecmd.c in the ataid_complete() function where it goes: /* word 100: number lba48 sectors */ ssize = le64_to_cpup((__le64 *) &id[100<<1]); This &id[100<<1] address is 4 byte, rather than 8 byte aligned, thus triggering the unaligned exception. Signed-off-by: David S. Miller commit eff4c654b1a4a5e5493fbdc3affa6dd48765c085 tree 1ddbbdaa978b310f5ac11b9778ac8e5f775d0783 parent 6577ae51cf52f5fb0e4a85e673dd7bf2d0074e3e author Hal Rosenstock Mon, 19 Sep 2005 13:51:01 -0700 committer Roland Dreier Mon, 19 Sep 2005 13:51:01 -0700 [PATCH] IB: Fix data length for RMPP SA sends We need to subtract off the header length from our payload length when sending multi-packet SA messages. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 13e1e1f08c1c098c7574c1fa72bd8c67792dc89b tree aa07ca5b3ac4d21cf76b5f9aa8059334756f4c7f parent aef4a983090fa590481a86d9690dc3fa6bb121fa author Andreas Herrmann Mon, 19 Sep 2005 16:56:17 +0200 committer James Bottomley Mon, 19 Sep 2005 13:04:15 -0500 [SCSI] zfcp: add additional fc_host attributes this patch adds some fc host attributes and removes its equivalents from the zfcp_adapter structure and zfcp specific sysfs subtree. Furthermore it removes superfluous calls to fc_remort_port_delete when an adapter is set offline because rports will be removed by fc_remove_host anyway. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit aef4a983090fa590481a86d9690dc3fa6bb121fa tree 12b78b227102dc2f41dda227fe83f34a8838e015 parent 8a36e4532ea10471f0a8605207d071361d7be2c3 author Maxim Shchetynin Tue, 13 Sep 2005 21:51:16 +0200 committer James Bottomley Mon, 19 Sep 2005 13:03:45 -0500 [SCSI] zfcp: provide support for NPIV N_Port ID Virtualization (NPIV) allows a single FCP port to appear as multiple, distinct ports providing separate port identification. NPIV is supported by FC HBAs on System z9. zfcp was adapted to support this new feature. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 8a36e4532ea10471f0a8605207d071361d7be2c3 tree f34e5928de7d73b9aaf385f3fb0847a6c52c297b parent 810f1e3ea5cc0a812816af97020a27c73441f8e9 author Maxim Shchetynin Tue, 13 Sep 2005 21:50:38 +0200 committer James Bottomley Mon, 19 Sep 2005 13:03:00 -0500 [SCSI] zfcp: enhancement of zfcp debug features Debug features (DBFs) els_dbf, cmd_dbf and abt_dbf were removed and san_dbf, hba_dbf and scsi_dbf were introduced. The erp_dbf did not change. The new traces improve debugging of problems with zfcp, scsi-stack, multipath and hardware in the SAN. san_dbf traces things like ELS and CT commands, hba_dbf saves HBA specific information of requests, and scsi_dbf saves FCP and SCSI specific information of requests. Common to all new DBFs is that they provide a so called structured view. This significantly improves readability of the traces. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 810f1e3ea5cc0a812816af97020a27c73441f8e9 tree 7f98b35f5dcf950d3835adde0a4854be141887ab parent 77eb1699c76177af2f3d65c8ae7934cf304e0254 author Andreas Herrmann Tue, 13 Sep 2005 21:49:52 +0200 committer James Bottomley Mon, 19 Sep 2005 13:02:21 -0500 [SCSI] zfcp: shorten eh_bus_reset and eh_host_reset handlers Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 77eb1699c76177af2f3d65c8ae7934cf304e0254 tree ac3f780aa91d63be314feee54f306d48d996b09c parent 059c97d0434834d291eff94669ca2dd3eaac9d28 author Andreas Herrmann Tue, 13 Sep 2005 21:48:33 +0200 committer James Bottomley Mon, 19 Sep 2005 13:01:53 -0500 [SCSI] zfcp: remove function zfcp_fsf_req_wait_and_cleanup Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 059c97d0434834d291eff94669ca2dd3eaac9d28 tree 70719559f65366c74eb82ee8c7c7a01a0d80aca9 parent 3734d24b2e8d85796de70c13705cfb7cbb1d77df author Andreas Herrmann Tue, 13 Sep 2005 21:47:52 +0200 committer James Bottomley Mon, 19 Sep 2005 13:01:23 -0500 [SCSI] zfcp: remove union zfcp_req_data, use unit refcount for FCP commands o union zfcp_req_data removed o increment unit refcount when processing FCP commands (This fixes a theoretical race: When all scsi commands of a unit are aborted and the scsi_device is removed then the unit could be removed before all fsf_requests of that unit are completely processed.) Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 3734d24b2e8d85796de70c13705cfb7cbb1d77df tree c89ddff8f636bea1a33bc88873e40dc7d562be46 parent e0fc15bef0e8c6b5abad6e10cfe3d42e278ae8e8 author Andreas Herrmann Tue, 13 Sep 2005 21:47:11 +0200 committer James Bottomley Mon, 19 Sep 2005 13:00:50 -0500 [SCSI] zfcp: fix race conditions when accessing erp_action lists o always use locking when changing erp_action lists, o avoid escalation to ERP_ACTION_REOPEN_PORT_FORCED if erp_action is still in use for ERP_ACTION_REOPEN_PORT Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit e0fc15bef0e8c6b5abad6e10cfe3d42e278ae8e8 tree f7a96e8b93a0de251b25c2b6543c115eba3abc8c parent 466544d8898fc87ed6e2e62ac14af7c50ab7a1a4 author Moore, Eric Dean Thu, 15 Sep 2005 13:17:14 -0600 committer James Bottomley Mon, 19 Sep 2005 12:48:22 -0500 [SCSI] fusion SAS support (mptsas driver) minor fix On Thursday, September 15, 2005 6:22 AM, Christoph Hellwig wrote: > Looks good to me, except for the spurious scsi_print_command prototype > in mptscsih.h. The attached patch addresses that concern. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 466544d8898fc87ed6e2e62ac14af7c50ab7a1a4 tree a23688bc1424a2af986482bac159768d625b5deb parent 0c33b27deb93178f10778b3d2669af1674793cef author Moore, Eric Dean Wed, 14 Sep 2005 18:09:10 -0600 committer James Bottomley Mon, 19 Sep 2005 12:45:38 -0500 [SCSI] fusion SAS support (mptsas driver) updates Summary of Changes: * splitting mpt_interrupt per Christophs suggestion about a month ago * rename ScsiCfgData to SpiCfgData structure, then move all the raid related info into new structure called RaidCfgData. This is done because SAS supports RAID, as well as SPI, so the raid stuff should be seperate. * incorrect timeout calculation for cntdn inside WaitForDoorbellAck and WaitForDoortbellInt * add support for interpreting SAS Log Info * Increase Event Log Size from 0xA to 0x32 * Fix bug in mptsas/mptfc/mptspi - when controller has Initiator Mode Disabled, and only running in TargetMode, the mptctl would panic when loading. The fix is to return 0, instead of -ENODEV, in SCSI LLD respective probe routines * Fix bug in mptlan.c - driver will panic if there is host reset, due to dev being set to zero in mpt_lan_ioc_reset * Fix's for SPI - Echo Buffer * Several fix's in mptscsih_io_done - FCP Response info, RESIDUAL_MISMATCH, Data Underrun, etc. * Cleanup Error Handling - EH handlers, mptscsih_flush_cmds, and zeroing out ScsiLookup from mptscsih_qcmd * Cleanup asyn event handling from mptscsih -> mptscsih_event_process. Also added support for SAS Persistent Table Full, an asyn event Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 0c33b27deb93178f10778b3d2669af1674793cef tree a16c7ce2f10947c696041febe89e13a98ba32b48 parent 82ffb67164064752a56669511545316075b41e1d author Christoph Hellwig Fri, 09 Sep 2005 16:27:19 +0200 committer James Bottomley Mon, 19 Sep 2005 12:42:57 -0500 [SCSI] fusion SAS support (mptsas driver) Adds the actual mptsas driver, based upon the LSI driver with new work for SAS transport class integration from Eric Moore and me. This obviously depends on the SAS transport class. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 82ffb67164064752a56669511545316075b41e1d tree 7b5c92f76e25ddf66419668412db147cde35a410 parent 3ed7a4704beb66a155acd67b78b7e9a5674d55fb author Christoph Hellwig Fri, 09 Sep 2005 16:25:54 +0200 committer James Bottomley Mon, 19 Sep 2005 12:42:31 -0500 [SCSI] fusion core changes for SAS support - various bits for SAS support from the LSI driver. - use the device private data for the fusion target private data. this should be using the midlayer target data framework, but we can't move over to that until fusion has been switched to the generic DV code - use target ID and channel from the fusion target private data, because those in scsi_device will be different for mptsas Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 6577ae51cf52f5fb0e4a85e673dd7bf2d0074e3e tree 3c3be701f7954d52f850c116903deb2698bb8038 parent 3853194c2e174cee4da093c67bd54cbf9a38559a author Roland Dreier Mon, 19 Sep 2005 09:17:56 -0700 committer Roland Dreier Mon, 19 Sep 2005 09:17:56 -0700 [PATCH] IB/mthca: Don't try to set srq->last for userspace SRQs Userspace SRQs don't have a buffer allocated for them in the kernel, so it doesn't make sense to set srq->last during initialization. In fact, this can crash trying to follow a nonexistent buffer pointer. Signed-off-by: Roland Dreier commit 3ed7a4704beb66a155acd67b78b7e9a5674d55fb tree 0a0ad71a64888fb2ab69e2b0acb99005dbc3af04 parent 939647ee308e0ad924e776657704c7bedd498664 author James Bottomley Mon, 19 Sep 2005 09:50:04 -0500 committer James Bottomley Mon, 19 Sep 2005 09:50:04 -0500 [SCSI] Fix thread termination for the SCSI error handle From: Alan Stern This patch (as561) fixes the error handler's thread-exit code. The kthread_stop call won't wake the thread from a down_interruptible, so the patch gets rid of the semaphore and simply does set_current_state(TASK_INTERRUPTIBLE); Signed-off-by: Alan Stern Modified to simplify the termination loop and correct the sleep condition. Signed-off-by: James Bottomley commit 939647ee308e0ad924e776657704c7bedd498664 tree cfff68b8f65a53e186fd1e7443aa370885ac1ed9 parent a64358db1253b35d508a411e80a3ad23b859ec88 author James Bottomley Sun, 18 Sep 2005 15:05:20 -0500 committer James Bottomley Mon, 19 Sep 2005 09:24:52 -0500 [SCSI] fix oops on usb storage device disconnect We fix the oops by enforcing the host state model. There have also been two extra states added: SHOST_CANCEL_RECOVERY and SHOST_DEL_RECOVERY so we can take the model through host removal while the recovery thread is active. Signed-off-by: James Bottomley commit 3853194c2e174cee4da093c67bd54cbf9a38559a tree 3939280d0bf49b4b24068215f30aefdc38aaf0bc parent c915033fc62d7186d243d89f88782d6be33fd8f6 author Roland Dreier Sun, 18 Sep 2005 14:00:17 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:38 -0700 [PATCH] IB/mthca: Fix posting work requests to shared receive queues The error handling paths in mthca_tavor_post_srq_recv() and mthca_arbel_post_srq_recv() are quite bogus, the result of a screwed up merge. Fix them so they work as intended. Pointed out by Michael S. Tsirkin Signed-off-by: Roland Dreier commit c915033fc62d7186d243d89f88782d6be33fd8f6 tree e509ef63ef6dba42f31807b5c9f6c20b48be3a9a parent ce5b65cc9626feac0d4ffb96f798407e50c45575 author Roland Dreier Sun, 18 Sep 2005 13:52:06 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:38 -0700 [PATCH] IB/mthca: Initialize eq->nent before we use it In mthca_create_eq(), we call get_eqe() before setting eq->nent. This is wrong, because get_eqe() uses eq->nent. Fix this, and clean up the code a little while we're at it. (We got lucky with the current code, because eq->nent was cleared to 0, which get_eqe() made happen to do the right thing) Pointed out by Michael S. Tsirkin Signed-off-by: Roland Dreier commit ce5b65cc9626feac0d4ffb96f798407e50c45575 tree 42803ff0ecbc1f0d47adb628d88378232d03b1d6 parent d6cff021e24515255b296d399ec517a68bf2ed08 author Hal Rosenstock Sun, 18 Sep 2005 13:47:53 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:38 -0700 [PATCH] IPoIB: Fix SA client retransmission strategy We got a little mixed up with what the backoff member holds in the IPoIB multicast group structure: sometimes it was used as a number of seconds, and sometimes it was used as a number of jiffies. Fix the code so that backoff is always in seconds. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit d6cff021e24515255b296d399ec517a68bf2ed08 tree f3d21aca027cb7065522629c00f65fc3a8fb1d96 parent bb4a7f0da75ce9f3e933880428d39b2aa1f16961 author Roland Dreier Tue, 13 Sep 2005 10:41:03 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:37 -0700 [PATCH] IB/mthca: fix posting of first work request Fix posting first WQE for mem-free HCAs: we need to link to previous WQE even in that case. While we're at it, simplify code for Tavor-mode HCAs. We don't really need the conditional test there either; we can similarly always link to the previous WQE. Based on Michael S. Tsirkin's analogous fix for userspace libmthca. Signed-off-by: Roland Dreier commit bb4a7f0da75ce9f3e933880428d39b2aa1f16961 tree 9034e0db70f28c93317ad8794437523e3c3c9c52 parent 51574e0398a2d93cbf7f26e36b673cd919062268 author Roland Dreier Mon, 12 Sep 2005 14:08:51 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:37 -0700 [PATCH] IB/mthca: assign ACK timeout field correctly The hardware reads the ACK timeout field from the most significant 5 bits of struct mthca_qp_path's ackto field, not the least significant bits. This fix has the driver put the timeout in the right place. Without this, we get a timeout that is 2^8 times too small. Signed-off-by: Roland Dreier commit 51574e0398a2d93cbf7f26e36b673cd919062268 tree c8cb3e2331b71227109433ce3256c0a655506d69 parent 6c0741fbdee5bd0f8ed13ac287c4ab18e8ba7d83 author Michael S. Tsirkin Mon, 12 Sep 2005 09:52:28 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:37 -0700 [PATCH] IPoIB: fix module removal race Since ipoib uses queue_delayed_work to run flush task on port state events, it must flush scheduled work after unregistering the event handler. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit a64358db1253b35d508a411e80a3ad23b859ec88 tree e222f3f17d6962a84d966620485d19f67d7fafa7 parent b95be99d52ce4f9db9ff0bd5f10e9e2066da6d2e author Alan Stern Tue, 26 Jul 2005 10:27:10 -0400 committer James Bottomley Sun, 18 Sep 2005 15:22:06 -0500 [SCSI] SCSI scanning and removal fixes This patch (as545) fixes the list traversals in __scsi_remove_target and scsi_forget_host. In each case the existing code list_for_each_entry_safe in an _unsafe_ manner, because the list was not protected from outside modification while the iteration was running. The new scsi_forget_host routine takes the moderately controversial step of iterating over devices for removal rather than iterating over targets. This makes more sense to me because the current scheme treats targets as second-class citizens, created and removed on demand, rather than as objects corresponding to actual hardware. (Also I couldn't figure out any safe way to iterate over the target list, since it's not so easy to tell when a target has already been removed.) Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit b95be99d52ce4f9db9ff0bd5f10e9e2066da6d2e tree 6b01de07c638fd596cc254ca6a095aa4f5ef9ba2 parent 1832a5862f2e1b4e5835611ee14bc30a8ed3cad5 author Alan Stern Thu, 15 Sep 2005 13:52:51 -0400 committer James Bottomley Sat, 17 Sep 2005 15:24:53 -0500 [SCSI] fix oops in scsi_release_buffers() I found one other thing that needs to be fixed. The call to scsi_release_buffers in scsi_unprep_request causes an oops, because the sgtable has already been freed in scsi_io_completion. The following patch is needed. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 1832a5862f2e1b4e5835611ee14bc30a8ed3cad5 tree f56d509fbe68e5f76c26da4ff74a965fe68ff46e parent 541950027f8b7c96a639bc16e48930c590f1b98a author Andreas Herrmann Fri, 16 Sep 2005 11:01:14 +0200 committer James Bottomley Fri, 16 Sep 2005 11:25:50 -0400 [SCSI] change port speed definitions for scsi_transport_fc obviously FC Port Speeds in scsi_transport_fc.h are defined according to FC-HBA: #define FC_PORTSPEED_1GBIT 1 #define FC_PORTSPEED_2GBIT 2 #define FC_PORTSPEED_10GBIT 4 #define FC_PORTSPEED_4GBIT 8 Problem is, whoever invented FC-HBA did not care about FC-FS or FC-GS-x. Following FC-FS/FC-GS-x defintions of port speeds would look like: 1 GBit: 0x0001 2 GBit: 0x0002 4 GBit: 0x0004 10GBit: 0x0008 (and new in FC-LS: 8 Gbit: 0x0010 16GBit: 0x0020) I really appreciate if scsi_transport_fc.h would define port speeds according to FC-GS-x/FC-FS. Thus mapping of port speed capabilities to values defined in scsi_transport_fc.h can be avoided in the LLDD. Attached is a patch to change the definitions. Signed-off-by: James Bottomley commit 541950027f8b7c96a639bc16e48930c590f1b98a tree 69d367dab3f738c888bf16646ed85cde69e3bf2a parent b5683557331b129658ab435391df527ef72d63dc author Alan Stern Thu, 15 Sep 2005 21:52:51 -0400 committer James Bottomley Thu, 15 Sep 2005 22:03:54 -0400 [SCSI] fix use after potential free in scsi_remove_device Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit b5683557331b129658ab435391df527ef72d63dc tree 121d9502ed38b7b01c17532e2a28806a1108f457 parent 59897dad98d63ac15e1e36fcc3a107c892b1826c author James Bottomley Thu, 15 Sep 2005 08:59:36 -0500 committer James Bottomley Thu, 15 Sep 2005 08:59:36 -0500 [SCSI] atp870u: fix memory addressing bug From: Alan Cox The virt_to_bus() wasn't correctly taken out of this driver. It needs to be able to track both physical and virtual addresses for its prd table. Update the driver to do this with separate tracking entries. Signed-off-by: Alan Cox Signed-off-by: James Bottomley commit 59897dad98d63ac15e1e36fcc3a107c892b1826c tree 42e65c1e3e99ab12ab484b0311c4487ae7a76148 parent d39a942c3f4061d2218dcadf79ce10010dbcdb3c author James Bottomley Wed, 14 Sep 2005 12:57:42 -0400 committer James Bottomley Wed, 14 Sep 2005 16:59:03 -0400 [SCSI] fix sym scsi boot hang On Wed, 2005-09-14 at 18:06 +1000, Anton Blanchard wrote: > And in particular it looks like the scsi_unprep_request in > scsi_queue_insert is causing it. The following patch fixes the boot > problems on the vscsi machine: OK, my fault. Your fix is almost correct .. I was going to do this eventually, honest, because there's no need to unprep and reprep a command that comes in through scsi_queue_insert(). However, I decided to leave it in to exercise the scsi_unprep_request() path just to make sure it was working. What's happening, I think, is that we also use this path for retries. Since we kill and reget the command each time, the retries decrement is never seen, so we're retrying forever. Signed-off-by: James Bottomley commit d39a942c3f4061d2218dcadf79ce10010dbcdb3c tree d9a963b86932d8e7715f6d4a932c3f89b667a2fb parent 186d330e682210100c671355580a8592e4a21692 author Randy.Dunlap Tue, 13 Sep 2005 21:43:56 -0700 committer James Bottomley Wed, 14 Sep 2005 16:58:26 -0400 [SCSI] scsi: 2 drivers need MODULE_LICENSE() Modules need a license to prevent kernel tainting. Signed-off-by: Randy Dunlap Signed-off-by: James Bottomley commit 186d330e682210100c671355580a8592e4a21692 tree 63c9956263463c950c2965a5e871508d41aa9de3 parent a89f29f6ea8dba0b7c4ae5d1d0b43de6cb500ea6 author Timothy Thelin Tue, 13 Sep 2005 19:56:28 -0700 committer James Bottomley Wed, 14 Sep 2005 16:54:12 -0400 [SCSI] scsi: sd, sr, st, and scsi_lib all fail to copy cmd_len to new cmd This fixes an issue in scsi command initialization from a request where sd, sr, st, and scsi_lib all fail to copy the request's cmd_len to the scsi command's cmd_len field. Signed-off-by: Timothy Thelin Signed-off-by: James Bottomley commit a89f29f6ea8dba0b7c4ae5d1d0b43de6cb500ea6 tree 66e7c34459c41b4ade0d202258184fb2df84e907 parent 154fb614df83086ceb18a2c19908154e78d4dc98 author James Bottomley Tue, 30 Aug 2005 11:48:07 -0500 committer James Bottomley Tue, 13 Sep 2005 14:24:48 -0500 [SCSI] aic7xxx: move to dma_get_required_mask() and correct 39 bit assumptions This patch moves aic7xxx over to the dma_get_required_mask() API and dumps its open coded memory check. It also appears from this bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167049 That 39 bit addressing doesn't work on older cards. I surmise that the AHC_LARGE_SCBS flag is the one that marks cards capable of using 39 bit addressing, so I also folded that check into the code. Signed-off-by: James Bottomley commit 154fb614df83086ceb18a2c19908154e78d4dc98 tree 4db0b4124cc635d4eadc245ea4716d13ec5d293b parent 1c5363153dc7ae694404e7732b4ce36eecc94ca7 author Dave C Boutcher Tue, 13 Sep 2005 10:09:02 -0500 committer James Bottomley Tue, 13 Sep 2005 10:15:10 -0500 [SCSI] ibmvscsi compatibility fix Linda Xie ever so gently pointed out that she had a patch to preserve compatibility with older SLES targets, and I told her we didn't need to push it to mainline. This patch explicitly checks the version of the IBMVSCSI target and ensures that large scatterlists are not sent to older targets. Signed-off-by: Linda Xie Signed-off-by: Dave Boutcher Signed-off-by: James Bottomley commit 1c5363153dc7ae694404e7732b4ce36eecc94ca7 tree 91476e383f04f25f5883b04517adfd92f6b66231 parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author James Bottomley Mon, 12 Sep 2005 09:15:14 -0500 committer James Bottomley Tue, 13 Sep 2005 09:52:19 -0500 [SCSI] blacklist REPORT LUNS usage on transtec arrays They report being SCSI-3 but seem to give back rubbish to a REPORT_LUNS command. Force them to be sequentially scanned. Signed-off-by: James Bottomley