commit c0758146adbe39514e75ac860ce7e49f865c2297 tree dd3f3c6503bc4ba29ae10ca510c4ddd02c0b4b2a parent 23cb8c297eb939b25e5a628dc9e8a71b17f1c44e author Dave Jones Mon, 03 Oct 2005 15:02:20 -0400 committer Linus Torvalds Wed, 05 Oct 2005 07:38:28 -0700 [PATCH] Fix drm 'debug' sysfs permissions Just enables some extra printk's, but still.. Only the sysadmin should be able to do that. Signed-off-by: Linus Torvalds commit 23cb8c297eb939b25e5a628dc9e8a71b17f1c44e tree c7dbcdef11fd251b39d0dcab80aaae6a3bcb9439 parent 329d4dd72e5c3393a0c7aeebf3e62df77b196d71 author Benjamin Herrenschmidt Wed, 05 Oct 2005 17:43:40 +1000 committer Linus Torvalds Wed, 05 Oct 2005 07:33:42 -0700 [PATCH] ppc: Fix timekeeping with HZ=250 on some Mac models Older Macs which uses the VIA chip timers to calibrate the timebase used some code that wouldn't work if HZ wasn't divisible by 100... This fixes it at least for 250. Not totally perfect but should be enough for now (so it at least works with the default value which is now 250). There is still a potential issue with the core using CLOCK_TICK_RATE to maintain xtime and CLOCK_TICK_RATE value on ppc32 is pure crap, but that is a different problem, this patch at least brings us back to our previous situation. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 329d4dd72e5c3393a0c7aeebf3e62df77b196d71 tree 56875e380ca40310c4b3dafaef9284dfe3974026 parent 9bc39bec87ee3e35897fe27441e979e7c208f624 author Al Viro Wed, 05 Oct 2005 08:36:02 +0100 committer Linus Torvalds Wed, 05 Oct 2005 07:33:42 -0700 [PATCH] fix the breakage in sparc headers If we switch extern inline to static inline, we'd better switch the pre-declarations we use to say that these puppies have __attribute_const__ on them. Otherwise we get extern declaration followed by static inline one. Which makes gcc unhappy, and for a good reason... Signed-off-by: Al Viro Signed-off-by: David S. Miller Signed-off-by: Linus Torvalds commit 9bc39bec87ee3e35897fe27441e979e7c208f624 tree 7c46d832b837b4441f7f4e4465d908b0e3e02a36 parent bb77c03cf40fec911c4ce9610b8207bf0050a5fd author Pavel Roskin Tue, 04 Oct 2005 21:33:10 -0400 committer Jeff Garzik Tue, 04 Oct 2005 23:37:21 -0400 [PATCH] orinoco: Information leakage due to incorrect padding The orinoco driver can send uninitialized data exposing random pieces of the system memory. This happens because data is not padded with zeroes when its length needs to be increased. Reported by Meder Kydyraliev Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit bb77c03cf40fec911c4ce9610b8207bf0050a5fd tree 72376e4a216f9e107e5527df9614a7fa6f078e67 parent ce12467d44d7394731ec9e91e032d50b04e502f6 parent aba7a22f291c13448177b28e0e3d01260ed04fbe author Linus Torvalds Tue, 04 Oct 2005 16:55:43 -0700 committer Linus Torvalds Tue, 04 Oct 2005 16:55:43 -0700 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit ce12467d44d7394731ec9e91e032d50b04e502f6 tree 7ede647cd2b5c035fe030b6c21021313ece01a7e parent 50165d8b1d915422343079f79a878a0f7572feaa author Deepak Saxena Tue, 04 Oct 2005 16:32:38 -0700 committer Linus Torvalds Tue, 04 Oct 2005 16:41:48 -0700 [PATCH] Fix broken IXP4xx GPIO macro Macro ended up backwards during one of cleanups. Found by Alessandro Zummo. Signed-off-by: Deepak Saxena Signed-off-by: Linus Torvalds commit 50165d8b1d915422343079f79a878a0f7572feaa tree 55358d0e902b34c6d45f73afb16310e686212669 parent 944d2647dded12e2b05ad8ebc020644bb1997ce1 parent c2f480869fa7559fa3532e415e3e3ec49339f208 author Linus Torvalds Tue, 04 Oct 2005 15:57:53 -0700 committer Linus Torvalds Tue, 04 Oct 2005 15:57:53 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 944d2647dded12e2b05ad8ebc020644bb1997ce1 tree 1b4ce29652e6f01e08880a47f467ccec052f1505 parent f6e63cfb5cfcccca510672155b90dd39bf45a35f author Andi Kleen Wed, 05 Oct 2005 00:21:39 +0200 committer Linus Torvalds Tue, 04 Oct 2005 15:56:52 -0700 [PATCH] x86_64: Drop global bit from early low mappings Drop global bit from early low mappings Suggested by Linus, originally also proposed by Suresh. This fixes a race condition with early start of udev, originally tracked down by Suresh B. Siddha. The problem was that switching to the user space VM would not clear the global low mappings for the beginning of memory, which lead to memory corruption. Drop the global bits. The kernel mapping stays global because it should stay constant. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c2f480869fa7559fa3532e415e3e3ec49339f208 tree be1914404491e7010f3068010cc72e22fa054d4d parent 74f8849496b73d2ae4f9c53f61bf59e063ceed88 author Nicolas Pitre Tue, 04 Oct 2005 23:17:53 +0100 committer Russell King Tue, 04 Oct 2005 23:17:53 +0100 [ARM] 2952/1: fix a register clobber list Patch from Nicolas Pitre If gcc decides to assign lr to %0 we're screwed. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 74f8849496b73d2ae4f9c53f61bf59e063ceed88 tree 15b167058991d2733c4f96be507b61febc081a12 parent 0a5b0aa8a331f4346b4b02bc653107304a6abdc5 author Nicolas Pitre Tue, 04 Oct 2005 23:17:52 +0100 committer Russell King Tue, 04 Oct 2005 23:17:52 +0100 [ARM] 2951/1: fix wrong comment Patch from Nicolas Pitre The cmpxchg emulation syscall needs write access. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 0a5b0aa8a331f4346b4b02bc653107304a6abdc5 tree 10476f4758b174a86a133493da992d6fb7adc636 parent d78795b6930956fb66238d4d26242482d4a31470 author Sascha Hauer Tue, 04 Oct 2005 23:17:52 +0100 committer Russell King Tue, 04 Oct 2005 23:17:52 +0100 [ARM] 2950/1: i.MX gpio setup function Patch from Sascha Hauer Current implementation of imx_gpio_mode does not allow to configure all alternate routing possibilities of the i.MX. With this patch every bit in the gpio setup registers has a corresponding bit in the gpio_mode parameter, so every routing should be possible now. Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit d78795b6930956fb66238d4d26242482d4a31470 tree 72599f5b6267c842c669ab8dd80725f488ff74ac parent ed39f731ab2e77e58122232f6e27333331d7793d author Sascha Hauer Tue, 04 Oct 2005 23:17:51 +0100 committer Russell King Tue, 04 Oct 2005 23:17:51 +0100 [ARM] 2949/1: Hynix h720x Run mode Patch from Sascha Hauer After coming out of idle mode the h720x goes into slow mode. Switch it back to run mode. Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit f6e63cfb5cfcccca510672155b90dd39bf45a35f tree bc15910c506a87a89eb0bf4392d9a6175ff4e402 parent fad1c45c939bb246a488be1fa06f539e85b80545 parent e6308be85afee685347fa3440bed10faaa5d6c1a author Linus Torvalds Tue, 04 Oct 2005 13:55:22 -0700 committer Linus Torvalds Tue, 04 Oct 2005 13:55:22 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit fad1c45c939bb246a488be1fa06f539e85b80545 tree 2a368da0e73817083caed84f4fe8085fcb654554 parent 71dc036247573e377703233af289019f4aa3176e author Allan Graves Tue, 04 Oct 2005 14:53:52 -0400 committer Linus Torvalds Tue, 04 Oct 2005 13:22:01 -0700 [PATCH] uml: Fix sysrq-r support for skas mode The old code had the IP and SP coming from the registers in the thread struct, which are completely wrong since those are the userspace registers. This fixes that by pulling the correct values from the jmp_buf in which the kernel state of each thread is stored. Signed-off-by: Allan Graves Signed-off-by: Jeff Dike Signed-off-by: Linus Torvalds commit 71dc036247573e377703233af289019f4aa3176e tree 271f2932328fdfba3b72087e311412f992e4bc1d parent c2b513dfbb04d7c94cca145172cfeb91f7683e54 author Jeff Dike Tue, 04 Oct 2005 14:53:49 -0400 committer Linus Torvalds Tue, 04 Oct 2005 13:22:01 -0700 [PATCH] UML - Fix Al's build tidying Al's build tidying missed one bit from me - without this UML doesn't boot. Signed-off-by: Jeff Dike Acked-by: Al Viro Signed-off-by: Linus Torvalds commit c2b513dfbb04d7c94cca145172cfeb91f7683e54 tree 8d022fdb4b7c44b940f8b09f2e568c044cadc27c parent ce0fe7e70a0ad11097a3773e9f3f0de3d859edf0 author Al Viro Tue, 04 Oct 2005 17:48:44 +0100 committer Linus Torvalds Tue, 04 Oct 2005 13:22:01 -0700 [PATCH] bfs iget() abuses bfs_fill_super() walks the inode table to get the bitmap of free inodes and collect stats. It has no business using iget() for that - it's a lot of extra work, extra icache pollution and more complex code. Switched to walking the damn thing directly. Note: that also allows to kill ->i_dsk_ino in there - separate patch if Tigran can confirm that this field can be zero only for deleted inodes (i.e. something that could only be found during that scan and not by normal lookups). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ce0fe7e70a0ad11097a3773e9f3f0de3d859edf0 tree c626ee7ca36d5648ec928a22fd991c15268f31d3 parent 25e2d79f527b7abce624f30516f3167195b69a2e author Alexey Dobriyan Tue, 04 Oct 2005 17:43:06 +0100 committer Linus Torvalds Tue, 04 Oct 2005 13:22:01 -0700 [PATCH] bfs endianness annotations Signed-off-by: Alexey Dobriyan Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 25e2d79f527b7abce624f30516f3167195b69a2e tree cbb84bef77eb8a9b69ccff4ddf05015ee07ee2fd parent 433992361ce95a1da76b76c9c24d4c957b058aff author Al Viro Tue, 04 Oct 2005 17:40:44 +0100 committer Linus Torvalds Tue, 04 Oct 2005 13:22:00 -0700 [PATCH] bogus kfree() in ibmtr On several failure exits in ibmtr we end up doing kfree() on dev->priv, with dev allocated by alloc_trdev() and ->priv never reassigned. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 433992361ce95a1da76b76c9c24d4c957b058aff tree ad81b34a432144afa945f669a35791e1cfe20df6 parent dd7205ed0f022a2a5e60eb7404e6c9f49d2301c3 author Al Viro Tue, 04 Oct 2005 17:36:04 +0100 committer Linus Torvalds Tue, 04 Oct 2005 13:22:00 -0700 [PATCH] missing include in megaraid_sas megaraid_sas depends on arch-specific indirect includes pulling fs.h in; on alpha they do not. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit e6308be85afee685347fa3440bed10faaa5d6c1a tree 9cb766b5b66f700528722b2e92745a2a6dcc3288 parent 87bf9c97b4b3af8dec7b2b79cdfe7bfc0a0a03b2 author Robert Olsson Tue, 04 Oct 2005 13:01:58 -0700 committer David S. Miller Tue, 04 Oct 2005 13:01:58 -0700 [IPV4]: fib_trie root-node expansion The patch below introduces special thresholds to keep root node in the trie large. This gives a flatter tree at the cost of a modest memory increase. Overall it seems to be gain and this was also proposed by one the authors of the paper in recent a seminar. Main table after loading 123 k routes. Aver depth: 3.30 Max depth: 9 Root-node size 12 bits Total size: 4044 kB With the patch: Aver depth: 2.78 Max depth: 8 Root-node size 15 bits Total size: 4150 kB An increase of 8-10% was seen in forwading performance for an rDoS attack. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 87bf9c97b4b3af8dec7b2b79cdfe7bfc0a0a03b2 tree 4db874d395f55023d579947a63fccd3ccfcaff77 parent dd7205ed0f022a2a5e60eb7404e6c9f49d2301c3 author YOSHIFUJI Hideaki Tue, 04 Oct 2005 13:00:39 -0700 committer David S. Miller Tue, 04 Oct 2005 13:00:39 -0700 [IPV6]: Fix infinite loop in udp_v6_get_port(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit dd7205ed0f022a2a5e60eb7404e6c9f49d2301c3 tree 773021ad63126ff2dacff654bd41b03a4ad6389e parent 43d0b1376dc7abc29411fa31f50fe7cfb68afcd3 parent c394e458b69632902d65f9e2f39df79314f72908 author Linus Torvalds Tue, 04 Oct 2005 09:34:00 -0700 committer Linus Torvalds Tue, 04 Oct 2005 09:34:00 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 43d0b1376dc7abc29411fa31f50fe7cfb68afcd3 tree 67dc7b09f7c090a3b1360a6fb06fbf9342047c5c parent 832f8f0378ff1566f2a222352c7ad5df3f8d0d9d parent fdc657c66678551c7987dc23a78ae1a26251276f author Linus Torvalds Tue, 04 Oct 2005 08:11:13 -0700 committer Linus Torvalds Tue, 04 Oct 2005 08:11:13 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit c394e458b69632902d65f9e2f39df79314f72908 tree 562a5c51f5f87eeb98a39697d5b4c11e2c4c66e3 parent 18efefa9355119b4f6d9b73b074ebbf9882c37c3 author Anton Altaparmakov Tue, 04 Oct 2005 13:08:53 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 13:08:53 +0100 NTFS: Fix a 64-bitness bug where a left-shift could overflow a 32-bit variable which we now cast to 64-bit first (fs/ntfs/mft.c::map_mft_record_page(). Signed-off-by: Anton Altaparmakov commit 18efefa9355119b4f6d9b73b074ebbf9882c37c3 tree 06be664fb85896e6506c3cc8e79ba33e963ce79c parent ed39f731ab2e77e58122232f6e27333331d7793d author Anton Altaparmakov Tue, 04 Oct 2005 13:06:00 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 13:06:00 +0100 NTFS: Fix a stupid bug in __ntfs_bitmap_set_bits_in_run() which caused the count to become negative and hence we had a wild memset() scribbling all over the system's ram. Signed-off-by: Anton Altaparmakov commit 832f8f0378ff1566f2a222352c7ad5df3f8d0d9d tree f7b42af2245acd767716bea1f5d2ec05666d99a6 parent 81c58732277654a51bb52832e1bc74234bb977bc author Randy Dunlap Tue, 04 Oct 2005 00:41:22 -0700 committer Jeff Garzik Tue, 04 Oct 2005 05:29:48 -0400 [PATCH] sungem: fix gfp flags type Fix nocast sparse warnings in sungen: drivers/net/sungem.h:1040:45: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit 81c58732277654a51bb52832e1bc74234bb977bc tree 930a80364524f66dde215190729ec5718c10e416 parent f36a29d5672c7698ffe55c7c05107ae77fa698cc author Randy Dunlap Mon, 03 Oct 2005 21:24:36 -0700 committer Jeff Garzik Tue, 04 Oct 2005 05:29:48 -0400 [PATCH] ns83820: fix gfp flags type Fix implicit nocast warnings in ns83820 code, including __nocast: drivers/net/ns83820.c:603:46: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit f36a29d5672c7698ffe55c7c05107ae77fa698cc tree 65e4587a180812bfce03f12f6f294825545c3092 parent 67974231d4354fe26aaa39a3153b5c0945b94858 author Randy Dunlap Mon, 03 Oct 2005 21:24:45 -0700 committer Jeff Garzik Tue, 04 Oct 2005 05:29:48 -0400 [PATCH] ieee80211: fix gfp flags type Fix implicit nocast warnings in ieee80211 code, including __nocast: net/ieee80211/ieee80211_tx.c:215:9: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit 67974231d4354fe26aaa39a3153b5c0945b94858 tree 14eccea7e68aed055aff5847b8dfdb32500aece0 parent 32fa2bfcf882f8901ca206e33b0d8975cc8e89a2 author Ion Badulescu Mon, 03 Oct 2005 22:31:36 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:31:36 -0400 [netdrvr starfire] fix highmem and broken firmware issues Unfortunately, [your patch] might address the crash but doesn't address the real problem. It turns out that the problem is one of padding (the firmware cksum engine works only on 32-bit chunks, yuck), so the special casing for length == 1 wasn't sufficient anyway. This patch addresses the issue, as well the other issue of i386 + CONFIG_HIGHMEM being broken. It is pretty much the same workaround that Adaptec themselves used in their Windows driver. I have yet to check if it fixes the problem when the skb is non-linear, but this patch _will_ solve the problem for 99% of the users out there (those not using sendfile). Signed-off-by: Ion Badulescu Signed-off-by: Jeff Garzik commit 32fa2bfcf882f8901ca206e33b0d8975cc8e89a2 tree de12ce1cdb382c4ae24839647e06159cc1742d3e parent 49a9db07abd4ac89693dbd4dcd92fcd1f30ece00 author Grant Coady Sat, 10 Sep 2005 00:14:05 +1000 committer Jeff Garzik Mon, 03 Oct 2005 22:23:26 -0400 [PATCH] net/Kconfig: convert pocket_adapter ISA to PARPORT This patch changes pocket and parallel adaptors to depend on PARPORT instead of ISA in order to get the option in newer SuperIO based systems. Signed-off-by: Grant Coady Signed-off-by: Jeff Garzik commit 49a9db07abd4ac89693dbd4dcd92fcd1f30ece00 tree 9fd0618ed25f7123671f066d2983c92fe4116e39 parent 32b5bfab9a09b19ea9a7d902b249ebf311fd2999 author Wade Farnsworth Mon, 03 Oct 2005 22:21:33 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:21:33 -0400 [PATCH] emac: add support for platform-specific unsupported PHY features This patch adds support to the ibm_emac driver for platform-specific unsupported PHY features. The patch attempts to determine the highest speed and duplex when autonegotiation is unsupported. Signed-off-by: Wade Farnsworth Signed-off-by: Jeff Garzik commit 32b5bfab9a09b19ea9a7d902b249ebf311fd2999 tree 78e9032e407c10806df075f47cc791be34b31a55 parent 217df670d9a4da036d68b22500ac06128811d5c8 author Philippe De Muyter Thu, 22 Sep 2005 11:09:44 +0200 committer Jeff Garzik Mon, 03 Oct 2005 22:16:42 -0400 [PATCH] tulip DC21143 rev 48 10Mbit HDX fix The patch below is necessary to allow my Digital DS21143 Tulip rev 48 ethernet interface to work in a 10Mbit Half Duplex network. Without it, the driver keeps retrying other modes in an endless loop. It seems like someone already had the same problem with a rev 65 board :) Signed-off-by: Philippe De Muyter Signed-off-by: Jeff Garzik commit 217df670d9a4da036d68b22500ac06128811d5c8 tree b944f0379c1e513ca2d663f6dc0b5d226e9bdd73 parent 9123e0d78990246304fe681167b8d8097f1e02d7 author Jay Vosburgh Mon, 26 Sep 2005 16:11:50 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:15:00 -0400 [PATCH] fix bonding crash, remove old ABI support David S. Miller wrote: >I think removing support for older ifenslave binaries is >the least painful solution to this problem. This patch removes backwards compatibility for old ifenslave binaries (ifenslave prior to verison 1.0.0). I did not similarly modify ifenslave itself; with sysfs on the horizon, I don't see that as being worthwhile. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik commit 9123e0d78990246304fe681167b8d8097f1e02d7 tree af538ea90ed4f64b448fd36f0379ec79db9f3c89 parent bb53d6d0e70cd0749a7844efc62cefeb24b134b6 author Ursula Braun Fri, 30 Sep 2005 10:17:24 +0200 committer Jeff Garzik Mon, 03 Oct 2005 22:05:38 -0400 [PATCH] s390: qeth driver fixes From: Peter Tiedemann From: Frank Pavlic minor qeth fixes: - free old skb in qeth_realloc_headroom after duplicating skb - disable IPV6 support for Hipersockets devices - call ccw_device_set_offline on every channel regardless of the return value of the prior ccw_device_set_offline calls - allocate qdio structures in DMA-area - schedule recovery of appropriate card when cable has been inserted again. - add missing initialization of card->lock - write sequence number in skb->cb for SNA protocol which requires strictly serialized packets. Signed-off-by: Frank Pavlic diffstat: qeth.h | 2 ++ qeth_main.c | 37 +++++++++++++++++-------------------- 2 files changed, 19 insertions(+), 20 deletions(-) Signed-off-by: Jeff Garzik commit bb53d6d0e70cd0749a7844efc62cefeb24b134b6 tree 6d259bf1ff272c8ad04bb8d2235c37b1fab77ce4 parent 8cb6108baee9dcd1dc96f476fe217d6a6b53c994 author Komuro Mon, 03 Oct 2005 22:03:28 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:03:28 -0400 [netdrvr] fix smc91c92_cs multicast bug The smc91c92_cs multicast does not work if the count of multicast address is 1. Signed-off-by: Signed-off-by: Jeff Garzik commit 8cb6108baee9dcd1dc96f476fe217d6a6b53c994 tree 09eb68368fe4921c260315a927ddddeb4a6ad217 parent 0a1c80f1115b9a1aacf00a312a532ceef49dfa1b author Randy Dunlap Sun, 02 Oct 2005 22:41:09 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:01:14 -0400 [PATCH] ieee80211: fix gfp flags type Fix implicit nocast warnings in ieee80211 code: net/ieee80211/ieee80211_tx.c:215:9: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit 0a1c80f1115b9a1aacf00a312a532ceef49dfa1b tree 6c6b10398deab02281bfa638d586decafa158757 parent c2681dd8c71c8fb4ca530f94536550fcd843aae4 author Randy Dunlap Sun, 02 Oct 2005 22:42:11 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:01:14 -0400 [PATCH] ns83820: fix gfp flags type Fix implicit nocast warnings in ns83820 code: drivers/net/ns83820.c:603:46: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit c2681dd8c71c8fb4ca530f94536550fcd843aae4 tree 383b262bd07294869cb8ba882b012e2533bbbcd1 parent ed39f731ab2e77e58122232f6e27333331d7793d author Stephen Hemminger Mon, 03 Oct 2005 12:03:13 -0700 committer Jeff Garzik Mon, 03 Oct 2005 21:58:33 -0400 [PATCH] skge: set mac address oops with bonding Skge driver was bringing link up/down when changing mac address. This doesn't work in the bonding environment, and is more effort than needed. Fixes-bug: http://bugzilla.kernel.org/show_bug.cgi?id=5271 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit fdc657c66678551c7987dc23a78ae1a26251276f tree e8046592965a658370211f4068c1b9cdc5edb33e parent 3115624eda34d0f4e673fc6bcea36b7ad701ee33 author David S. Miller Mon, 03 Oct 2005 17:37:27 -0700 committer David S. Miller Mon, 03 Oct 2005 17:37:27 -0700 [SUNSU]: Fix bogus locking in sunsu_change_mouse_baud() The lock is not held when calling this function, so we shouldn't drop then reacquire it. Based upon a report from Jim MacBaine. Signed-off-by: David S. Miller commit 3115624eda34d0f4e673fc6bcea36b7ad701ee33 tree a81c9e0f3d84a96725e109452d4ddc90f95b513a parent ed39f731ab2e77e58122232f6e27333331d7793d author Adrian Bunk Mon, 03 Oct 2005 17:37:02 -0700 committer David S. Miller Mon, 03 Oct 2005 17:37:02 -0700 [SPARC]: "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit ed39f731ab2e77e58122232f6e27333331d7793d tree 9bd673c02644ec5f22107dd95e251a0f9abd4d29 parent 7ce312467edc270fcbd8a699efabb37ce1802b98 author David S. Miller Mon, 03 Oct 2005 16:25:23 -0700 committer David S. Miller Mon, 03 Oct 2005 16:25:23 -0700 [TG3]: Update driver version and release date. Signed-off-by: David S. Miller commit 7ce312467edc270fcbd8a699efabb37ce1802b98 tree fb267926db2239ddb815b6c5acd1be82ff56229c parent 3e56a40bb36f1f73b4eac2ffe267c5357811e321 author David S. Miller Mon, 03 Oct 2005 16:07:30 -0700 committer David S. Miller Mon, 03 Oct 2005 16:07:30 -0700 [IPV4]: Update icmp sysctl docs and disable broadcast ECHO/TIMESTAMP by default It's not a good idea to be smurf'able by default. The few people who need this can turn it on. Signed-off-by: David S. Miller commit 3e56a40bb36f1f73b4eac2ffe267c5357811e321 tree cea32921e2273357aefbed7638d92d4580ca38c0 parent e5ed639913eea3e4783a550291775ab78dd84966 author Herbert Xu Mon, 03 Oct 2005 14:36:32 -0700 committer David S. Miller Mon, 03 Oct 2005 14:36:32 -0700 [IPV4]: Get rid of bogus __in_put_dev in pktgen This patch gets rid of a bogus __in_dev_put() in pktgen.c. This was spotted by Suzanne Wood. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit e5ed639913eea3e4783a550291775ab78dd84966 tree e6e915aa686d2a7125181fc83a847e1955a8ba46 parent a5e7c210fefd2454c757a3542e41063407ca7108 author Herbert Xu Mon, 03 Oct 2005 14:35:55 -0700 committer David S. Miller Mon, 03 Oct 2005 14:35:55 -0700 [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl The following patch renames __in_dev_get() to __in_dev_get_rtnl() and introduces __in_dev_get_rcu() to cover the second case. 1) RCU with refcnt should use in_dev_get(). 2) RCU without refcnt should use __in_dev_get_rcu(). 3) All others must hold RTNL and use __in_dev_get_rtnl(). There is one exception in net/ipv4/route.c which is in fact a pre-existing race condition. I've marked it as such so that we remember to fix it. This patch is based on suggestions and prior work by Suzanne Wood and Paul McKenney. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a5e7c210fefd2454c757a3542e41063407ca7108 tree 24c5b867419a59b6cab36335468cef642dbcca66 parent f36d6ab182a5c68e92ea3e85821dde9d29bfe284 author David S. Miller Mon, 03 Oct 2005 14:21:58 -0700 committer David S. Miller Mon, 03 Oct 2005 14:21:58 -0700 [IPV6]: Fix leak added by udp connect dst caching fix. Based upon a patch from Mitsuru KANDA Signed-off-by: David S. Miller commit f36d6ab182a5c68e92ea3e85821dde9d29bfe284 tree 500b59dbde0ac1930d8d756f499878de2bc1cfe4 parent 444fc8fc3a1f926fa224655b8950bd853368c1a3 author Yan Zheng Mon, 03 Oct 2005 14:19:15 -0700 committer David S. Miller Mon, 03 Oct 2005 14:19:15 -0700 [IPV6]: Fix ipv6 fragment ID selection at slow path Signed-Off-By: Yan Zheng Signed-off-by: David S. Miller commit 444fc8fc3a1f926fa224655b8950bd853368c1a3 tree f6359721fc50ac3802b30d705e2c7c06b983c5f8 parent 496a22b08fa326bf17c11eb900e0505aa9da3506 author Herbert Xu Mon, 03 Oct 2005 14:18:10 -0700 committer David S. Miller Mon, 03 Oct 2005 14:18:10 -0700 [IPV4]: Fix "Proxy ARP seems broken" Meelis Roos wrote: > RK> My firewall setup relies on proxyarp working. However, with 2.6.14-rc3, > RK> it appears to be completely broken. The firewall is 212.18.232.186, > > Same here with some kernel between 14-rc2 and 14-rc3 - no reposnse to > ARP on a proxyarp gateway. Sorry, no exact revison and no more debugging > yet since it'a a production gateway. The breakage is caused by the change to use the CB area for flagging whether a packet has been queued due to proxy_delay. This area gets cleared every time arp_rcv gets called. Unfortunately packets delayed due to proxy_delay also go through arp_rcv when they are reprocessed. In fact, I can't think of a reason why delayed proxy packets should go through netfilter again at all. So the easiest solution is to bypass that and go straight to arp_process. This is essentially what would've happened before netfilter support was added to ARP. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 496a22b08fa326bf17c11eb900e0505aa9da3506 tree abf14a82d195d0ead07d3ec1cafd77ee31d1bbc4 parent 81c3d5470ecc70564eb9209946730fe2be93ad06 author Russell King Mon, 03 Oct 2005 14:16:34 -0700 committer David S. Miller Mon, 03 Oct 2005 14:16:34 -0700 [NET]: Fix "sysctl_net.c:36: error: 'core_table' undeclared here" During the build for ARM machine type "fortunet", this error occurred: CC net/sysctl_net.o net/sysctl_net.c:36: error: 'core_table' undeclared here (not in a function) It appears that the following configuration settings cause this error due to a missing include: CONFIG_SYSCTL=y CONFIG_NET=y # CONFIG_INET is not set core_table appears to be declared in net/sock.h. if CONFIG_INET were defined, net/sock.h would have been included via: sysctl_net.c -> net/ip.h -> linux/ip.h -> net/sock.h so include it directly. Signed-off-by: Russell King Signed-off-by: David S. Miller commit 81c3d5470ecc70564eb9209946730fe2be93ad06 tree 1efa553c305a6453769dacfaf580bc6ccf146d82 parent 399de50bbbb2501a6db43daaa8a2dafbc9bcfe0c author Eric Dumazet Mon, 03 Oct 2005 14:13:38 -0700 committer David S. Miller Mon, 03 Oct 2005 14:13:38 -0700 [INET]: speedup inet (tcp/dccp) lookups Arnaldo and I agreed it could be applied now, because I have other pending patches depending on this one (Thank you Arnaldo) (The other important patch moves skc_refcnt in a separate cache line, so that the SMP/NUMA performance doesnt suffer from cache line ping pongs) 1) First some performance data : -------------------------------- tcp_v4_rcv() wastes a *lot* of time in __inet_lookup_established() The most time critical code is : sk_for_each(sk, node, &head->chain) { if (INET_MATCH(sk, acookie, saddr, daddr, ports, dif)) goto hit; /* You sunk my battleship! */ } The sk_for_each() does use prefetch() hints but only the begining of "struct sock" is prefetched. As INET_MATCH first comparison uses inet_sk(__sk)->daddr, wich is far away from the begining of "struct sock", it has to bring into CPU cache cold cache line. Each iteration has to use at least 2 cache lines. This can be problematic if some chains are very long. 2) The goal ----------- The idea I had is to change things so that INET_MATCH() may return FALSE in 99% of cases only using the data already in the CPU cache, using one cache line per iteration. 3) Description of the patch --------------------------- Adds a new 'unsigned int skc_hash' field in 'struct sock_common', filling a 32 bits hole on 64 bits platform. struct sock_common { unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse; int skc_bound_dev_if; struct hlist_node skc_node; struct hlist_node skc_bind_node; atomic_t skc_refcnt; + unsigned int skc_hash; struct proto *skc_prot; }; Store in this 32 bits field the full hash, not masked by (ehash_size - 1) Using this full hash as the first comparison done in INET_MATCH permits us immediatly skip the element without touching a second cache line in case of a miss. Suppress the sk_hashent/tw_hashent fields since skc_hash (aliased to sk_hash and tw_hash) already contains the slot number if we mask with (ehash_size - 1) File include/net/inet_hashtables.h 64 bits platforms : #define INET_MATCH(__sk, __hash, __cookie, __saddr, __daddr, __ports, __dif)\ (((__sk)->sk_hash == (__hash)) ((*((__u64 *)&(inet_sk(__sk)->daddr)))== (__cookie)) && \ ((*((__u32 *)&(inet_sk(__sk)->dport))) == (__ports)) && \ (!((__sk)->sk_bound_dev_if) || ((__sk)->sk_bound_dev_if == (__dif)))) 32bits platforms: #define TCP_IPV4_MATCH(__sk, __hash, __cookie, __saddr, __daddr, __ports, __dif)\ (((__sk)->sk_hash == (__hash)) && \ (inet_sk(__sk)->daddr == (__saddr)) && \ (inet_sk(__sk)->rcv_saddr == (__daddr)) && \ (!((__sk)->sk_bound_dev_if) || ((__sk)->sk_bound_dev_if == (__dif)))) - Adds a prefetch(head->chain.first) in __inet_lookup_established()/__tcp_v4_check_established() and __inet6_lookup_established()/__tcp_v6_check_established() and __dccp_v4_check_established() to bring into cache the first element of the list, before the {read|write}_lock(&head->lock); Signed-off-by: Eric Dumazet Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 399de50bbbb2501a6db43daaa8a2dafbc9bcfe0c tree 1c4e6034b0d5485c4ed3d010acc2d60d52ec2ed8 parent a232f76732e11c91c2215d3a43cf9ebc7f939939 author Michael Chan Mon, 03 Oct 2005 14:02:39 -0700 committer David S. Miller Mon, 03 Oct 2005 14:02:39 -0700 [TG3]: Refine AMD K8 write-reorder chipset test. Test for VIA K8T800 north bridge instead of AMD K8 HyperTransport bridge based on new information from Andi Kleen. The AMD HyperTransport interface is not responsible for PCI transactions and so the re-ordering is more likely done by the VIA north bridge. This code is subject to change if we get more information from AMD or VIA. PCI Express devices are excluded from doing the read flush since all chipsets in the write_reorder list are PCI chipsets. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit a232f76732e11c91c2215d3a43cf9ebc7f939939 tree e23578fb673d037193178b4a52b38ea5d42164c2 parent 325ed8239309cb29f10ea58c5a668058ead11479 author Al Viro Mon, 03 Oct 2005 14:01:37 -0700 committer David S. Miller Mon, 03 Oct 2005 14:01:37 -0700 [CASSINI]: Convert to ethtool_ops Signed-off-by: Al Viro Signed-off-by: David S. Miller commit 325ed8239309cb29f10ea58c5a668058ead11479 tree 77386825b72ac44f4f42a942ef78bd1ff924b351 parent ddea7be0ec8d1374f0b483a81566ed56ec9f3905 author Herbert Xu Mon, 03 Oct 2005 13:57:23 -0700 committer David S. Miller Mon, 03 Oct 2005 13:57:23 -0700 [NET]: Fix packet timestamping. I've found the problem in general. It affects any 64-bit architecture. The problem occurs when you change the system time. Suppose that when you boot your system clock is forward by a day. This gets recorded down in skb_tv_base. You then wind the clock back by a day. From that point onwards the offset will be negative which essentially overflows the 32-bit variables they're stored in. In fact, why don't we just store the real time stamp in those 32-bit variables? After all, we're not going to overflow for quite a while yet. When we do overflow, we'll need a better solution of course. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit ddea7be0ec8d1374f0b483a81566ed56ec9f3905 tree c04ca29bf4bcf047aacabcbce4d451817df155c3 parent 7d6322b4659216fff76619d3b4088eecbdfa46d5 author Ravikiran G Thirumalai Mon, 03 Oct 2005 10:36:28 -0700 committer Linus Torvalds Mon, 03 Oct 2005 10:54:22 -0700 [PATCH] x86_64: Fix numa node topology detection for srat based x86_64 boxes 2.6.14-rc2 does not assign cpus to proper nodeids on our em64t numa boxen. Our boxes use acpi srat for parsing the numa information. srat_detect_node() used phys_proc_id[] to get to the cpu's local apic id, but phys_proc_id[] represents the cpu<->initial_apic_id mapping. The following patch fixes this problem. Now apicid_to_node[] is properly indexed with the local apic id. Signed-off-by: Ravikiran Thirumalai Acked-by: Suresh Siddha Cc: Andi Kleen Signed-off-by: Linus Torvalds commit 7d6322b4659216fff76619d3b4088eecbdfa46d5 tree 19aa385d903fcc0f2b5d6d978dc83a87c2eca95f parent d6b9acc0c6c4a7c5d484d15271a5274656d0864f parent 51c928c34fa7cff38df584ad01de988805877dba author Linus Torvalds Mon, 03 Oct 2005 08:07:10 -0700 committer Linus Torvalds Mon, 03 Oct 2005 08:07:10 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit d6b9acc0c6c4a7c5d484d15271a5274656d0864f tree 845765e077d9d436f1f2e7d57b9fe0e32a9e679a parent c77054e518d9163578cfcad09826d7b959f95ece author Paul Jackson Mon, 03 Oct 2005 00:29:10 -0700 committer Linus Torvalds Mon, 03 Oct 2005 08:06:42 -0700 [PATCH] Document patch subject line better Improve explanation of the Subject line fields in Documentation/SubmittingPatches Canonical Patch Format. Signed-off-by: Paul Jackson Signed-off-by: Linus Torvalds commit 51c928c34fa7cff38df584ad01de988805877dba tree 7900dfd128a2a40d6c924a38e5d9244e91342205 parent 97af50f60ff1202b0dd9ce481d4cf98c6a578bec author James Bottomley Sat, 01 Oct 2005 09:38:05 -0500 committer James Bottomley Mon, 03 Oct 2005 08:39:48 -0500 [SCSI] Legacy MegaRAID: Fix READ CAPACITY Some Legacy megaraid cards can't actually cope with the scatter/gather version of the READ CAPACITY command (which is what we now send them since altering all SCSI internal I/O to go via the block layer). Fix this (and a few other broken megaraid driver assumptions) by sending the non-sg version of the command if the sg list only has a single element. Signed-off-by: James Bottomley commit c77054e518d9163578cfcad09826d7b959f95ece tree b91725791a44b2ab14cb65ef35b9a4deb5ef59e3 parent 75f8426c17bc091260a6f7536ba10767596e15eb parent 2c3a0540999ac9bd7147fb98833224a58cdaf217 author Linus Torvalds Sun, 02 Oct 2005 18:28:32 -0700 committer Linus Torvalds Sun, 02 Oct 2005 18:28:32 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 75f8426c17bc091260a6f7536ba10767596e15eb tree 8858ac4d497ed8a37bc307fbd8f5b80e81dd4a06 parent d70ddac1bf3a8b102996588010ca87018c3a4a04 author Paul Jackson Sun, 02 Oct 2005 18:01:42 -0700 committer Linus Torvalds Sun, 02 Oct 2005 18:28:09 -0700 [PATCH] Document from line in patch format Document more details of patch format such as the "from" line and the "---" marker line, and provide more references for patch guidelines. Signed-off-by: Paul Jackson Signed-off-by: Linus Torvalds commit 2c3a0540999ac9bd7147fb98833224a58cdaf217 tree 85fe67c8a02c5e7b90f9ceb2330c0e6b8d1f6b7d parent 487fd4eb1445407c9760af08b0b34c3f4cdb4afc author Catalin Marinas Sun, 02 Oct 2005 22:34:35 +0100 committer Russell King Sun, 02 Oct 2005 22:34:35 +0100 [ARM] 2943/1: Clear the exclusive monitor in v6_early_abort Patch from Catalin Marinas Data abort caused by ldrex/strex can leave the exclusive monitor in an unpredictable state. It is recommended that a clrex/strex is performed to clear this state. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit d70ddac1bf3a8b102996588010ca87018c3a4a04 tree f1c2db0d79c3ccc357e2b837f7d0ec07977b6b39 parent b620cc2cd80393b9a0f9a76806cb7f9e91671dac author Richard Henderson Sun, 02 Oct 2005 12:49:52 -0700 committer Linus Torvalds Sun, 02 Oct 2005 14:32:49 -0700 [PATCH] alpha: fix kernel alignment traps Pass in the pointer to the on-stack registers rather than using them directly as the arguments. Ivan noticed that I missed a spot when purging the registers as first stack parameter idiom. Signed-off-by: Linus Torvalds commit 97af50f60ff1202b0dd9ce481d4cf98c6a578bec tree 5637b5d7d505869ee5aace5ad6ed33085fc78697 parent 9e70592fcd87c90e9e98090d66cb79f39d740d4a author James Bottomley Sun, 02 Oct 2005 15:22:35 -0500 committer James Bottomley Sun, 02 Oct 2005 15:32:25 -0500 [SCSI] aic7xxx/aic79xx: fix module removal path not to panic In these drivers, scsi_remove_host() is called too late, at the point it is called, the driver has already shut down too far to accept any I/O that the shutdown might generate. Any generated I/O actually triggers a panic. Fix this by calling scsi_remove_host() as early as possible and not calling scsi_host_put() until just before we kfree the ahc_softc. Signed-off-by: James Bottomley commit 9e70592fcd87c90e9e98090d66cb79f39d740d4a tree 9f0c6493871998b94c50ae18eab88138a33c52ec parent 1640a2c385a860ef25be4a8d18a528c4b6f02bd6 author James Bottomley Sun, 02 Oct 2005 12:59:49 -0500 committer James Bottomley Sun, 02 Oct 2005 15:20:03 -0500 [SCSI] fix potential panic with proc on module removal There's a problem in our host release in that it calls scsi_proc_hostdir_rm(). However, if you hold a reference to the host as you remove the module, the host template (which proc uses) will be freed and the system will panic when the host device is finally released. Fix this by moving scsi_proc_hostdir_rm() to where it should be: in scsi_remove_host(). Signed-off-by: James Bottomley commit 487fd4eb1445407c9760af08b0b34c3f4cdb4afc tree d4fe20f822429352184159985b5b330bf2fd4c2d parent 0e3a64e2162f971180bf1fdd91c263dbdfcfd385 author Russell King Sun, 02 Oct 2005 18:12:03 +0100 committer Russell King Sun, 02 Oct 2005 18:12:03 +0100 [ARM] Fix init printk for EBSA110 network driver, and link timer Arrange for the initialisation printks to happen after we've registered the network interface, so we know what name the device is. Also, check the link every 500ms (and use msecs_to_jiffies.) Signed-off-by: Russell King commit 0e3a64e2162f971180bf1fdd91c263dbdfcfd385 tree 094b9c00b2b2f79a90aff52dd7aeaef979ae74de parent b620cc2cd80393b9a0f9a76806cb7f9e91671dac author Russell King Sun, 02 Oct 2005 18:02:25 +0100 committer Russell King Sun, 02 Oct 2005 18:02:25 +0100 [ARM] Fix EBSA110 network driver link detection EBSA110 link detection didn't read the register - it wrote it. Oops. Signed-off-by: Russell King commit b620cc2cd80393b9a0f9a76806cb7f9e91671dac tree 6291cc977570bfbdd209fb55602806b8f4cd8d11 parent 036bfdcb0dfa39fc1ff5ded196b5fd92f1bb9ea8 parent 31f919c3296a30427b18458b13c308513a62c3b9 author Linus Torvalds Sat, 01 Oct 2005 17:02:13 -0700 committer Linus Torvalds Sat, 01 Oct 2005 17:02:13 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 036bfdcb0dfa39fc1ff5ded196b5fd92f1bb9ea8 tree 90ac70029802d5730a36a0bd8a092a97721605b8 parent 14bfd1ff94f519a59b1e88e682819332d7e98171 author Sven Henkel Sun, 02 Oct 2005 08:30:33 +1000 committer Linus Torvalds Sat, 01 Oct 2005 17:01:48 -0700 [PATCH] ppc32: Add new iBook 12" to PowerMac models table This adds the new iBook G4 (manufactured after July 2005) to the PowerMac models table. The model name (PowerBook6,7) is taken from a 12" iBook, I don't know if it also matches the 14" version. The patch applies to a vanilla 2.6.13.2 kernel. Signed-off-by: Sven Henkel Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 14bfd1ff94f519a59b1e88e682819332d7e98171 tree a93505ba7f7983e529b3cf19670cfc1b1af75fc7 parent 14bf01bb0599c89fc7f426d20353b76e12555308 author Sven Henkel Sun, 02 Oct 2005 08:29:18 +1000 committer Linus Torvalds Sat, 01 Oct 2005 17:01:48 -0700 [PATCH] pmac/radeonfb: Add suspend support for M11 chip in new iBook 12" This adds suspend support for the Radeon M11 chip in 12" iBooks manufactured after July 2005. I don't know if the new 14" iBooks also have that chip, so they might also be supported. The chip identifies itself as "RV350 NV" (pci id 0x4e56), revision 0x80. Apple calls it "Snowy", xfree86 names it "ATI FireGL Mobility T2 (M11) NV (AGP)". So, we seem to be lucky here: The suspend-code for the M10 (which also is a "RV350 NV") works flawless for that chip. Signed-off-by: Sven Henkel Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 31f919c3296a30427b18458b13c308513a62c3b9 tree 2c803a5b61b8559bd18ae69b01031fe74e5fe4c0 parent 9f4426dde2be352aabc326539eccc726cea2d98c author Vincent Sanders Sat, 01 Oct 2005 22:56:34 +0100 committer Russell King Sat, 01 Oct 2005 22:56:34 +0100 [ARM] 2945/1: ARM fortunet fails to build because of missing include Patch from Vincent Sanders When building the fortunet ARM platform it fails to compile because of missing include. Signed-off-by: Vincent Sanders Signed-off-by: Russell King commit 9f4426dde2be352aabc326539eccc726cea2d98c tree a36e6d4f5b808e74c3701572168a85e7b6403a45 parent f0e837d9182d7903bde3ebafbd1d0d68c6d32d43 author Vincent Sanders Sat, 01 Oct 2005 22:56:34 +0100 committer Russell King Sat, 01 Oct 2005 22:56:34 +0100 [ARM] 2944/1: GCC 4 mx1ads serial driver compile fix Patch from Vincent Sanders When building the mx1ads ARM platforms the serial driver fails to compile with GCC 4.01 due to extern/static ambiguity. Signed-off-by: Vincent Sanders Signed-off-by: Russell King commit 14bf01bb0599c89fc7f426d20353b76e12555308 tree 4d9c164faaff5df25044b15afa235debc96091dc parent fd2e54b35bd70d11c160ded4834e2378e915356e author Linus Torvalds Sat, 01 Oct 2005 11:04:18 -0700 committer Linus Torvalds Sat, 01 Oct 2005 11:04:18 -0700 Fix inequality comparison against "task->state" We should always use bitmask ops, rather than depend on some ordering of the different states. With the TASK_NONINTERACTIVE flag, the inequality doesn't really work. Oleg Nesterov argues (likely correctly) that this test is unnecessary in the first place. However, the minimal fix for now is to at least make it work in the presense of TASK_NONINTERACTIVE. Waiting for consensus from Roland & co on potential bigger cleanups. Signed-off-by: Linus Torvalds commit fd2e54b35bd70d11c160ded4834e2378e915356e tree 6396bae6e445cc732ace9792018a14ece9274b0f parent 2d8ab6ad6edf0e8709da9ad24e3f023503f76cee author Diego Calleja Sat, 01 Oct 2005 17:00:48 +0200 committer Linus Torvalds Sat, 01 Oct 2005 10:54:47 -0700 [PATCH] trivial #if -> #ifdef Use '#ifdef' consistently on __KERNEL__. This was reported as bug #5340 (isn't easier to send a fix than report the bug?!) Signed-off-by: Diego Calleja Signed-off-by: Linus Torvalds commit 2d8ab6ad6edf0e8709da9ad24e3f023503f76cee tree ba5f06ad6f77c199f9f7d79493013dbdebf2ba6c parent 702c96d55059b4a8e5b1eb112ee3b1804708a1bd author Ananth N Mavinakayanahalli Sat, 01 Oct 2005 13:14:17 -0400 committer Linus Torvalds Sat, 01 Oct 2005 10:54:47 -0700 [PATCH] ppc64: fix up()/down() usage for kprobe_mutex The incorrect kprobe_mutex usage on x86_64 had percolated to ppc64 too. First noticed by Yanmin Zhang. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Linus Torvalds commit 702c96d55059b4a8e5b1eb112ee3b1804708a1bd tree 21783503ba16539d1e0d9d0b53edf97266382daf parent f0e837d9182d7903bde3ebafbd1d0d68c6d32d43 author Deepak Saxena Fri, 30 Sep 2005 16:20:22 -0700 committer Linus Torvalds Fri, 30 Sep 2005 23:04:20 -0700 [PATCH] ARM: Fix IXP2000 serial port resource range. For real this time. Serial port only needs 32 bytes of resource space but we are currently asking for 64K. Signed-off-by: Deepak Saxena [ diff went missing first time due to corrupted patch ] Signed-off-by: Linus Torvalds commit f0e837d9182d7903bde3ebafbd1d0d68c6d32d43 tree a36abbed986e1d803efafd662ec3d65361f02853 parent a9487e48a34d7ad606f40a76080475a522a27cff author Francois Romieu Fri, 30 Sep 2005 16:54:02 -0700 committer Linus Torvalds Fri, 30 Sep 2005 17:20:21 -0700 [PATCH] r8169: tone down the r8169 driver Tone down the r8169 driver As an alternative, people can use the boot time 'debug' option and/or use 'ethtool -s ethX msglvl xyz'. The different messages are listed at: http://www.zoreil.com/~romieu/r8169/doc/msglvl.txt Signed-off-by: Francois Romieu Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9487e48a34d7ad606f40a76080475a522a27cff tree a4fa93c9088781ae4ece9a5e60e8ecb9b63d960f parent 69d37960b578be0a69383bd71d06c1fcfb86e8b9 author Benjamin Herrenschmidt Sat, 01 Oct 2005 09:21:25 +1000 committer Linus Torvalds Fri, 30 Sep 2005 17:20:20 -0700 [PATCH] pmac: fix cpufreq for old tipb 550Mhz The old 550Mhz titanium powerbook can switch to a lower frequency (500Mhz). A user has been repeately reporting overtemp conditions on his machine at high speed so this simple patch adds support to PowerMac cpufreq for this machine. The difference in frequency isn't big but seem enough to fix that user's problems. The patch has been around for some time now and doesn't seem to cause any problem, so I suppose it could go in now. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Alain RICHARD Signed-off-by: Linus Torvalds commit 69d37960b578be0a69383bd71d06c1fcfb86e8b9 tree 1041e0ea3650a74d5b1fc730cd7b697d0eed5d01 parent 1c9426e8a59461688bb451e006456987b198e4c0 author Deepak Saxena Fri, 30 Sep 2005 16:20:22 -0700 committer Linus Torvalds Fri, 30 Sep 2005 17:20:20 -0700 [PATCH] Fix IXP2000 serial port resource range Serial port only needs 32 bytes of resource space but we are currently asking for 64K. Signed-off-by: Deepak Saxena Signed-off-by: Linus Torvalds commit aba7a22f291c13448177b28e0e3d01260ed04fbe tree 9fb794e8e53edcef79d075e13363805a9eb23a96 parent d70ed6075f15bdbb0548d162394bf10332769c88 author Michael S. Tsirkin Fri, 30 Sep 2005 13:55:50 -0700 committer Roland Dreier Fri, 30 Sep 2005 13:55:50 -0700 [IB] mthca: Fix memory leak on device close Remember to free the multicast group context memory table. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit d70ed6075f15bdbb0548d162394bf10332769c88 tree f34b72480922d614a3210898b1bb990b61b91e40 parent a1c337afaf4ec4d4eabc75a5e1170d03161de4e1 author Roland Dreier Wed, 28 Sep 2005 19:56:57 -0700 committer Roland Dreier Wed, 28 Sep 2005 19:56:57 -0700 [IPoIB] Rename IPoIB's path_lookup() to avoid name clashes Rename IPoIB driver's path_lookup() to ipoib_path_lookup() to avoid a clashes with the kernel global path_lookup(). We don't hit this with the current kernel source, but some external patches seem to trigger this, and it's cleaner to avoid clashing with global names anyway. Signed-off-by: Roland Dreier refs/heads/for-linus commit 1640a2c385a860ef25be4a8d18a528c4b6f02bd6 tree 4735f28570e42b25bda1e7fb2a4ad081e3e95e31 parent 63a70eeaafe0e17e7f45cba495cb457d06070419 author Mark Haverkamp Tue, 20 Sep 2005 12:57:11 -0700 committer James Bottomley Mon, 26 Sep 2005 17:49:07 -0500 [SCSI] aacraid: remove aac_insert_entry Received from Mark Salyzyn from Adaptec. High Priority Queues have *never* been used in the entire history of the aac based adapters. Associated with this, aac_insert_entry can be removed, SavedIrql can be removed & padding variable can be removed. With the movement of SavedIrql out & replaced with an automatic variable qflags, the locking can be refined somewhat. The sparse warnings did not catch the need for byte swapping in the 'dprintk' debugging print macros, so fixed this up when this code was moved outside of the now refined locking. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 63a70eeaafe0e17e7f45cba495cb457d06070419 tree baaec894a18394c8b4ae6d9eb8ea1e2b31eca001 parent 9203344cb8ecc554a1d36eae6661235ed422cf59 author Mark Haverkamp Tue, 20 Sep 2005 12:57:04 -0700 committer James Bottomley Mon, 26 Sep 2005 17:48:29 -0500 [SCSI] aacraid: fib size math fix Received from Mark Salyzyn from Adaptec. The size of the command packet's scatter gather list maximum size was miscalculated in the low range leading to the driver initialization limiting the maximum i/o size that could go to the Adapter. There were no negative operational side effects resulting from this bad math, only a subtle limit in performance of the Adapter at the top end of the range. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 9203344cb8ecc554a1d36eae6661235ed422cf59 tree 190894be25e864910104be1918799eeb32168692 parent 08efb7b6116927c8b6e0af5064448e3aa13300e6 author Mark Haverkamp Tue, 20 Sep 2005 12:56:50 -0700 committer James Bottomley Mon, 26 Sep 2005 17:46:59 -0500 [SCSI] aacraid: initialization timeout Received from Mark Salyzyn from Adaptec. In the rare instances where the adapter, or the motherboard, is misbehaving; driver initialization or shutdown becomes problematic. By introducing a 3 minute timeout on the first interrupt driven command during initialization, or the issuance of the adapter shutdown command during driver unload, we can resolve the lockup problems induced by common (but rare) hardware misbehaviors. The timeout during initialization, should it occur, is accompanied by a message presented to the console and the logs indicating that the user should inspect and resolve problems with interrupt routing. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 08efb7b6116927c8b6e0af5064448e3aa13300e6 tree 55d9a30b8fdd669e12866250000425bef6fc00e0 parent 131256cf203d0df62014dda8453a70cb6af0d0bb author Mark Haverkamp Tue, 20 Sep 2005 12:56:36 -0700 committer James Bottomley Mon, 26 Sep 2005 17:46:18 -0500 [SCSI] aacraid: error return checking This patch adds some additional error return checking and error return value propagation during initialization. Also, the deprecation of pci_module_init with pci_register_driver along with the change in return values. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 131256cf203d0df62014dda8453a70cb6af0d0bb tree 6e7ba27ba4d4181a312a7b1bec385cf68b501dcd parent 2f130980d14cb938226011875ca5224cd46dc1f9 author Mark Haverkamp Mon, 26 Sep 2005 13:04:56 -0700 committer James Bottomley Mon, 26 Sep 2005 17:42:50 -0500 [SCSI] aacraid: handle AIF hotplug events (update) Received from Mark Salyzyn from Adaptec. Hotplug sniffs the AIFs (events) from the adapter and if a container change resulting in the device going offline (container zero), online (container zero completed) or changing capacity (morph) it will take actions by calling the appropriate API. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 2f130980d14cb938226011875ca5224cd46dc1f9 tree 73c5898afdc04a2363369a1e8f1196e02fe41cef parent 7a8cf29d69e077dfe90e327859201fd9b75a47ce author Mark Haverkamp Mon, 26 Sep 2005 13:02:15 -0700 committer James Bottomley Mon, 26 Sep 2005 17:41:49 -0500 [SCSI] aacraid: aacraid: AIF preallocation (update) Recevied from Mark Salyzyn from Adaptec. Aif pre-allocation is used to pull the kmalloc outside of the locks. Applies to the scsi-misc-2.6 git tree. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 7a8cf29d69e077dfe90e327859201fd9b75a47ce tree f2176261e25a0d94d85c09a66d6d40285fa925bf parent c4a3e0a529ab3e65223e81681c7c6b1bc188fa58 author Mark Haverkamp Thu, 22 Sep 2005 09:15:24 -0700 committer James Bottomley Mon, 26 Sep 2005 17:41:13 -0500 [SCSI] aacraid: Greater than 2TB capacity support Received from Mark Salyzyn from Adaptec. There are a few adapters that are capable of creating devices with this large of a capacity, but now that we have the large fib support in, the management applications will be capable of generating them. The problem is, once they are created, the driver will not be able to access the devices correctly without this patch. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit c4a3e0a529ab3e65223e81681c7c6b1bc188fa58 tree 82e583de63f648ac152bb515435bcac84887b682 parent fe8b2304e54552cea113318e2f66c45628130fdc author Bagalkote, Sreenivas Tue, 20 Sep 2005 17:46:58 -0400 committer James Bottomley Mon, 26 Sep 2005 17:32:44 -0500 [SCSI] MegaRAID SAS RAID: new driver Signed-off-by: Sreenivas Bagalkote Signed-off-by: James Bottomley commit fe8b2304e54552cea113318e2f66c45628130fdc tree d44cdc471ced18d6e41c8d25b857bb4381d6ec75 parent 44550322cb601ac3f882e7438bbeec971fa1b1a3 author Christoph Hellwig Sun, 25 Sep 2005 23:10:33 +0200 committer James Bottomley Sun, 25 Sep 2005 17:19:35 -0500 [SCSI] sas: fix remote phy removal Brown paperbag bug: sas_rphy_delete was ordered completely wrong. Fix it up to be the same order as sas_phy_delete or fc_rport_terminate and fix rphy objects that leaked after module removal. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 44550322cb601ac3f882e7438bbeec971fa1b1a3 tree e50f57f9c85bacf3fc07359b1a339432dea31a7a parent 6f3a20242db2597312c50abc11f1e747c5d2326a author Andrew Vasquez Tue, 20 Sep 2005 13:32:11 -0700 committer James Bottomley Sun, 25 Sep 2005 12:11:35 -0500 [SCSI] qla2xxx: fix remote port timeout with qla2xxx driver This patch fixes a hole in the rport unblock handling when processing fabric events via the ADISC/PLOGI device state machine. Original code would not properly 'unblock' the port upon the port reloging into the fabric. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 6f3a20242db2597312c50abc11f1e747c5d2326a tree edfc17cfd7e1813dbe728602f80630cfab985c20 parent 49bfd8db4a39ea14fb3780b162012b4b3611fce8 author James Bottomley Thu, 22 Sep 2005 20:33:28 -0500 committer James Bottomley Sun, 25 Sep 2005 12:01:48 -0500 [SCSI] allow REPORT LUN scanning even for LUN 0 PQ of 3 Currently we just ignore the device, which means there are a few arrays out there that we don't find. This patch updates the scsi_report_lun_scan() to take a target instead of a device so it can be called on a return of SCSI_SCAN_TARGET_PRESENT, which is what a PQ 3 device returns. Signed-off-by: James Bottomley commit 49bfd8db4a39ea14fb3780b162012b4b3611fce8 tree 32eb481522ad819bc82490306f860a3bed4045e2 parent 68ce1eb54056e4fad6e73968e958b926d28cb0dd author adam radford Wed, 21 Sep 2005 17:20:14 -0700 committer James Bottomley Sun, 25 Sep 2005 09:36:26 -0500 [SCSI] 3ware 9000: Add support for 9550SX controllers Signed-off-by: Adam Radford Signed-off-by: James Bottomley commit 68ce1eb54056e4fad6e73968e958b926d28cb0dd tree c960d7488ba1888b7e01a5b4bd68590d2b3bbe71 parent a418500b42c5c54f3f9d68036950c701740a2765 author Andrew Morton Wed, 21 Sep 2005 09:46:54 -0700 committer James Bottomley Wed, 21 Sep 2005 16:25:46 -0500 [SCSI] lpfc build fix gcc-2.95.x doesn't do anonymous unions. Signed-off-by: Andrew Morton Signed-off-by: James Bottomley