commit 39ca371c45b04cd50d0974030ae051906fc516b6 tree 2f07d7647753af0911ff1f9cabd6dbab949d4981 parent 4faa5285283fad081443e3612ca426a311bb6c7e author Mark Rustad Mon, 17 Oct 2005 16:43:34 -0700 committer Linus Torvalds Mon, 17 Oct 2005 17:03:57 -0700 [PATCH] kbuild: Eliminate build error when KALLSYMS not defined The following build error happens with 2.6.14-rc4 when CONFIG_KALLSYMS is not defined. The error message in a fragment of the output was: CC arch/i386/lib/usercopy.o AR arch/i386/lib/lib.a /bin/sh: line 1: +@: command not found make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CHK include/linux/compile.h Signed-off-by: Mark Rustad Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4faa5285283fad081443e3612ca426a311bb6c7e tree f5178184a94fb8343afee94a5b7cd47c05a2bc49 parent e7507ed91e093b9e4e218e41ebfdce05458258fc author Zach Brown Mon, 17 Oct 2005 16:43:33 -0700 committer Linus Torvalds Mon, 17 Oct 2005 17:03:57 -0700 [PATCH] aio: revert lock_kiocb() lock_kiocb() was introduced to serialize retrying and cancellation. In the process of doing so it tried to sleep waiting for KIF_LOCKED while holding the ctx_lock spinlock. Recent fixes have ensured that multiple concurrent retries won't be attempted for a given iocb. Cancel has other problems and has no significant in-tree users that have been complaining about it. So for the immediate future we'll revert sleeping with the lock held and will address proper cancellation and retry serialization in the future. Signed-off-by: Zach Brown Acked-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7507ed91e093b9e4e218e41ebfdce05458258fc tree c2e89b585e9153677d626bb7dfe7ef12426016a0 parent 5cc9eeef9a9567acdfc2f6943f24381bf460f008 author Dmitry Torokhov Mon, 17 Oct 2005 16:43:32 -0700 committer Linus Torvalds Mon, 17 Oct 2005 17:03:57 -0700 [PATCH] uniput - fix crash on SMP Only signal completion after marking request slot as free, otherwise other processor can free request structure before we finish using it. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5cc9eeef9a9567acdfc2f6943f24381bf460f008 tree 14599d0ba4646a5f39de1e6d7939ed4415248d23 parent 9ac0b9c1927228a38a71216536176af8811a435a author Pavel Machek Mon, 17 Oct 2005 16:43:31 -0700 committer Linus Torvalds Mon, 17 Oct 2005 17:03:57 -0700 [PATCH] Fix /proc/acpi/events around suspend Fix -EIO on /proc/acpi/events after suspends. This actually breaks suspending by power button in many setups. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ac0b9c1927228a38a71216536176af8811a435a tree aafbbc2150f7d6a232889db711832b61f28de916 parent b65574fec5db1211bce7fc8bec7a2b32486e0670 author Stephan Brodkorb Mon, 17 Oct 2005 16:43:30 -0700 committer Linus Torvalds Mon, 17 Oct 2005 17:03:57 -0700 [PATCH] n_r3964 mod_timer() fix Since Revision 1.10 was released the n_r3964 module wasn't able to receive any data. The reason for that behavior is because there were some wrong calls of mod_timer(...) in the function receive_char (...). This patch should fix this problem and was successfully tested with talking to some kuka industrial robots. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b65574fec5db1211bce7fc8bec7a2b32486e0670 tree eed63a503028c04db304c37969fa0c54e8c28dda parent 5ee832dbc6770135ec8d63296af0a4374557bb79 author David McCullough Mon, 17 Oct 2005 16:43:29 -0700 committer Linus Torvalds Mon, 17 Oct 2005 17:03:57 -0700 [PATCH] output of /proc/maps on nommu systems is incomplete Currently you do not get all the map entries on nommu systems because the start function doesn't index into the list using the value of "pos". Signed-off-by: David McCullough Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ee832dbc6770135ec8d63296af0a4374557bb79 tree 80ffdc157100df18f1c18d39f5036a9b798f2c06 parent cc675230a9ca17010694bc8bd3c69ca9adf2efef author Eric Dumazet Mon, 17 Oct 2005 20:01:21 +0200 committer Linus Torvalds Mon, 17 Oct 2005 15:27:58 -0700 [PATCH] rcu: keep rcu callback event counter This makes call_rcu() keep track of how many events there are on the RCU list, and cause a reschedule event when the list gets too long. This helps keep RCU event lists down. Signed-off-by: Linus Torvalds commit cc675230a9ca17010694bc8bd3c69ca9adf2efef tree 338784dc40e0a3ec5f96f5a76c267846ad2f5e8d parent 47d6b08334a43fafa61a587f721fa21ef65d81be author Jeff Garzik Mon, 17 Oct 2005 13:01:57 -0400 committer Linus Torvalds Mon, 17 Oct 2005 15:01:53 -0700 [PATCH] Fix and clean up quirk_intel_ide_combined() configuration This change makes quirk_intel_ide_combined() dependent on the precise conditions under which it is needed: * IDE is built in * IDE SATA option is not set * ata_piix or ahci drivers are enabled This fixes an issue where some modular configurations would not cause the quirk to be enabled. Signed-off-by: Jeff Garzik Signed-off-by: Linus torvalds commit 47d6b08334a43fafa61a587f721fa21ef65d81be tree 57e9082d0011a4ada210878be2b90c2ede14451a parent 6ce969171d5187f7621be68c0ebbc7fb02ec53f1 author Oleg Nesterov Mon, 17 Oct 2005 18:49:42 +0400 committer Linus Torvalds Mon, 17 Oct 2005 15:00:00 -0700 [PATCH] posix-timers: fix task accounting Make sure we release the task struct properly when releasing pending timers. release_task() does write_lock_irq(&tasklist_lock), so it can't race with run_posix_cpu_timers() on any cpu. Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds commit 6ce969171d5187f7621be68c0ebbc7fb02ec53f1 tree 9784933075d154085fec4fe96be7dc8006202fbb parent b3c52da33ce95747b1bff86cce716d4f1397f14a author Trond Myklebust Mon, 17 Oct 2005 06:03:23 -0400 committer Linus Torvalds Mon, 17 Oct 2005 14:47:16 -0700 [PATCH] NFS: Fix Oopsable/unnecessary i_count manipulations in nfs_wait_on_inode() Oopsable since nfs_wait_on_inode() can get called as part of iput_final(). Unnecessary since the caller had better be damned sure that the inode won't disappear from underneath it anyway. Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit b3c52da33ce95747b1bff86cce716d4f1397f14a tree 7958a929e5b9486bf0b5358776078c1bc71faf88 parent 13b58ee51802a45d2b8853ffe0003d9fa768195c author Trond Myklebust Mon, 17 Oct 2005 06:02:00 -0400 committer Linus Torvalds Mon, 17 Oct 2005 14:47:16 -0700 [PATCH] NFS: Fix cache consistency races If the data cache has been marked as potentially invalid by nfs_refresh_inode, we should invalidate it rather than assume that changes are due to our own activity. Also ensure that we always start with a valid cache before declaring it to be protected by a delegation. Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit 13b58ee51802a45d2b8853ffe0003d9fa768195c tree f08cf0e2a4afbd007fbc11864cd3c4fa0df6e9d8 parent e9b765decfb49ddc105d303d491e1bee9769436f author Christian Krause Mon, 17 Oct 2005 14:30:48 -0700 committer Linus Torvalds Mon, 17 Oct 2005 14:45:49 -0700 [PATCH] USB: fix bug in handling of highspeed usb HID devices During the development of an USB device I found a bug in the handling of Highspeed HID devices in the kernel. What happened? Highspeed HID devices are correctly recognized and enumerated by the kernel. But even if usbhid kernel module is loaded, no HID reports are received by the kernel. The output of the hardware USB analyzer told me that the host doesn't even poll for interrupt IN transfers (even the "interrupt in" USB transfer are polled by the host). After some debugging in hid-core.c I've found the reason. In case of a highspeed device, the endpoint interval is re-calculated in driver/usb/input/hid-core.c: line 1669: /* handle potential highspeed HID correctly */ interval = endpoint->bInterval; if (dev->speed == USB_SPEED_HIGH) interval = 1 << (interval - 1); Basically this calculation is correct (refer to USB 2.0 spec, 9.6.6). This new calculated value of "interval" is used as input for usb_fill_int_urb: line 1685: usb_fill_int_urb(hid->urbin, dev, pipe, hid->inbuf, 0, hid_irq_in, hid, interval); Unfortunately the same calculation as above is done a second time in usb_fill_int_urb in the file include/linux/usb.h: line 933: if (dev->speed == USB_SPEED_HIGH) urb->interval = 1 << (interval - 1); else urb->interval = interval; This means, that if the endpoint descriptor (of a high speed device) specifies e.g. bInterval = 7, the urb->interval gets the value: hid-core.c: interval = 1 << (7-1) = 0x40 = 64 urb->interval = 1 << (interval -1) = 1 << (63) = integer overflow Because of this the value of urb->interval is sometimes negative and is rejected in core/urb.c: line 353: /* too small? */ if (urb->interval <= 0) return -EINVAL; The conclusion is, that the recalculaton of the interval (which is necessary for highspeed) should not be made twice, because this is simply wrong. ;-) Re-calculation in usb_fill_int_urb makes more sense, because it is the most general approach. So it would make sense to remove it from hid-core.c. Because in hid-core.c the interval variable is only used for calling usb_fill_int_urb, it is no problem to remove the highspeed re-calculation in this file. Signed-off-by: Christian Krause Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit e9b765decfb49ddc105d303d491e1bee9769436f tree 16fdd136b112a86c4313436e83a51549346db40c parent 2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f author Olav Kongas Mon, 17 Oct 2005 14:30:43 -0700 committer Linus Torvalds Mon, 17 Oct 2005 14:45:49 -0700 [PATCH] isp116x-hcd: fix handling of short transfers Increased use of scatter-gather by usb-storage driver after 2.6.13 has exposed a buggy codepath in isp116x-hcd, which was probably never visited before: bug happened only for those urbs, for which URB_SHORT_NOT_OK was set AND short transfer occurred. The fix attached was tested in 2 ways: (a) it fixed failing initialization of a flash drive with an embedded hub; (b) the fix was tested with 'usbtest' against a modified g_zero driver (on top of net2280), which generated short bulk IN transfers of various lengths including multiples and non-multiples of max_packet_length. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f tree 27422cfcf8f403e5aa25e98148c225dbedb027c5 parent de21eb63add932c61e018d20a760dcaed8c3e40c author Linus Torvalds Mon, 17 Oct 2005 09:10:15 -0700 committer Linus Torvalds Mon, 17 Oct 2005 09:10:15 -0700 Increase default RCU batching sharply Dipankar made RCU limit the batch size to improve latency, but that approach is unworkable: it can cause the RCU queues to grow without bounds, since the batch limiter ended up limiting the callbacks. So make the limit much higher, and start planning on instead limiting the batch size by doing RCU callbacks more often if the queue looks like it might be growing too long. Signed-off-by: Linus Torvalds commit de21eb63add932c61e018d20a760dcaed8c3e40c tree a6b121b5759c12e15e09a0f7235c7386daa8d571 parent 9b3acc21d7677787ef456d17574a084a1c1193ae author Ronald S. Bultje Sun, 16 Oct 2005 20:29:25 -0700 committer Linus Torvalds Mon, 17 Oct 2005 08:59:10 -0700 [PATCH] fix black/white-only svideo input in vpx3220 decoder Fix the fact that the svideo input will only give input in black/white in some circumstances. Reason is that in the PCI controller driver (zr36067), after setting input, we reset norm, which overwrites the input register with the default. This patch makes it always set the correct value for the input when changing norm. Signed-off-by: Ronald S. Bultje Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b3acc21d7677787ef456d17574a084a1c1193ae tree 33a5288d11b2cbc59d272710929200a097b3a27f parent 0aec4867dca149e2049e8439b76bd82ad9dac52c author Ronald S. Bultje Sun, 16 Oct 2005 20:29:24 -0700 committer Linus Torvalds Mon, 17 Oct 2005 08:59:10 -0700 [PATCH] fix vpx3220 offset issue in SECAM Fix bug #5404 in kernel bugzilla. It basically updates the vpx3220 initialization tables with some newer values that we've had in CVS for a while (and that, for some reason, never ended up in the kernel... must've gotten lost). Those fix a ~16 pixels noise at the top of the picture in at least SECAM, although (now that I think about it) PAL was probably affected, also. Signed-off-by: Ronald S. Bultje Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0aec4867dca149e2049e8439b76bd82ad9dac52c tree d55aacfbc10525d46f5b78c872039decf01e86e1 parent b24d18aa743dad0c42918157c5d717686269d3a8 author Samuel Thibault Sun, 16 Oct 2005 20:29:22 -0700 committer Linus Torvalds Mon, 17 Oct 2005 08:59:10 -0700 [PATCH] SVGATextMode fix Fix bug 5441. I didn't know about messy programs like svgatextmode... Couldn't this be integrated in some linux/drivers/video/console/svgacon.c ?... So because of the existence of the svgatextmode program, the kernel is not supposed to touch to CRT_OVERFLOW/SYNC_END/DISP/DISP_END/OFFSET ? Disabling the check in vgacon_resize() might help indeed, but I'm really not sure whether it will work for any chipset: in my patch, CRT registers are set at each console switch, since stty rows/cols apply to consoles separately... The attached solution is to keep the test, but if it fails, we assume that the caller knows what it does (i.e. it is svgatextmode) and then disable any further call to vgacon_doresize. Svgatextmode is usually used to _expand_ the display, not to shrink it. And it is harmless in the case of a too big stty rows/cols: the display will just be cropped. I tested it on my laptop, and it works fine with svgatextmode. A better solution would be that svgatextmode explicitely tells the kernel not to care about video timing, but for this an interface needs be defined and svgatextmode be patched. Signed-off-by: Samuel Thibault Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b24d18aa743dad0c42918157c5d717686269d3a8 tree ceade1641a1806c5f3db2f4b344fe9070b488bad parent 3d80636a0d5f056ffc26472d05b6027a7a9f6e1c author Herbert Xu Sun, 16 Oct 2005 20:29:20 -0700 committer Linus Torvalds Mon, 17 Oct 2005 08:59:10 -0700 [PATCH] list: add missing rcu_dereference on first element It seems that all the list_*_rcu primitives are missing a memory barrier on the very first dereference. For example, #define list_for_each_rcu(pos, head) \ for (pos = (head)->next; prefetch(pos->next), pos != (head); \ pos = rcu_dereference(pos->next)) It will go something like: pos = (head)->next prefetch(pos->next) pos != (head) do stuff We're missing a barrier here. pos = rcu_dereference(pos->next) fetch pos->next barrier given by rcu_dereference(pos->next) store pos Without the missing barrier, the pos->next value may turn out to be stale. In fact, if "do stuff" were also dereferencing pos and relying on list_for_each_rcu to provide the barrier then it may also break. So here is a patch to make sure that we have a barrier for the first element in the list. Signed-off-by: Herbert Xu Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d80636a0d5f056ffc26472d05b6027a7a9f6e1c tree 39b3dbae53938728c55b2312190561b858431d92 parent 688ce17b8599abc548b406c00e4d18ae0dec954f author Linus Torvalds Sun, 16 Oct 2005 17:36:06 -0700 committer Linus Torvalds Sun, 16 Oct 2005 17:36:06 -0700 Fix memory ordering bug in page reclaim As noticed by Nick Piggin, we need to make sure that we check the page count before we check for PageDirty, since the dirty check is only valid if the count implies that we're the only possible ones holding the page. We always did do this, but the code needs a read-memory-barrier to make sure that the orderign is also honored by the CPU. (The writer side is ordered due to the atomic decrement and test on the page count, see the discussion on linux-kernel) Signed-off-by: Linus Torvalds commit 688ce17b8599abc548b406c00e4d18ae0dec954f tree c64c78c72bf9582c2dcc5a3455d6fe561c6e7085 parent e6850cce8f0fcb0e16b981f13cb9c69618bbdaf1 author Al Viro Sun, 16 Oct 2005 00:17:33 -0700 committer David S. Miller Sun, 16 Oct 2005 00:17:33 -0700 [PATCH]: highest_possible_processor_id() has to be a macro ... otherwise, things like alpha and sparc64 break and break badly. They define cpu_possible_map to something else in smp.h *AFTER* having included cpumask.h. If that puppy is a macro, expansion will happen at the actual caller, when we'd already seen #define cpu_possible_map ... and we will get the right thing used. As an inline helper it will be tokenized before we get to that define and that's it; no matter what we define later, it won't affect anything. We get modules with dependency on cpu_possible_map instead of the right symbol (phys_cpu_present_map in case of sparc64), or outright link errors if they are built-in. Signed-off-by: Al Viro Signed-off-by: David S. Miller commit e6850cce8f0fcb0e16b981f13cb9c69618bbdaf1 tree 94793ab89f972f16dc3cd38433476e0e55f2fcc2 parent 7a3ca7d2b5ec31b2cfa594b961d77e68075e33c7 author Andrew Morton Sat, 15 Oct 2005 16:15:38 -0700 committer David S. Miller Sat, 15 Oct 2005 16:15:38 -0700 [NETFILTER]: Fix ip6_table.c build with NETFILTER_DEBUG enabled. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 7a3ca7d2b5ec31b2cfa594b961d77e68075e33c7 tree 29ba927b48b3c69517954dcbf45098455d4ea6e4 parent f8cc5756dee3c2a4c56a7f089291f5ae0232747f author Randall Nortman Fri, 14 Oct 2005 17:21:50 -0700 committer Linus Torvalds Fri, 14 Oct 2005 18:13:31 -0700 [PATCH] usbserial: Regression in USB generic serial driver Kernel version 2.6.13 introduced a regression in the generic USB serial converter driver (usbserial.o, drivers/usb/serial/generic.c). The bug manifests, as far as I can tell, whenever you attempt to write to the device -- the write will never complete (write() returns 0, or blocks). Signed-off-by: Randall Nortman Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit f8cc5756dee3c2a4c56a7f089291f5ae0232747f tree c56914922a40cca1a48ac0191f2f5d7fb224ad55 parent bf7c7decb9752a3cb644b435cb354c8948606680 parent b4d1b825785847cddee6d104113da913f2ca8efb author Linus Torvalds Fri, 14 Oct 2005 17:17:04 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:17:04 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit bf7c7decb9752a3cb644b435cb354c8948606680 tree 457d3d4749be66d05f18857dbf57a84b532f2e3a parent 9e04099cb90dce6a34b4cbc6b4a0d4e4cc4c5680 parent 04f03bf7dbd04c15c30d91c6a277f6970cc4ef14 author Linus Torvalds Fri, 14 Oct 2005 17:16:55 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:16:55 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 9e04099cb90dce6a34b4cbc6b4a0d4e4cc4c5680 tree 30c96145b80941b1e59c4c32df3616cc2f33125f parent 757e0108473787f470294ce77bf703fedddfce7d parent 414894938b88c1ad2e9cea6502ceccefb30605c4 author Linus Torvalds Fri, 14 Oct 2005 17:16:35 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:16:35 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 757e0108473787f470294ce77bf703fedddfce7d tree 61363438075d5098e4edee12987545423b5d2714 parent d656901bca2e19057ca7a6e48bc56dec9ca7003e author Kolli, Neela Syam Fri, 14 Oct 2005 15:59:13 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:13 -0700 [PATCH] megaraid maintainers entry I am taking over all Megaraid SCSI drivers. Here is the patch for the MAINTENERS file. Signed-off-by: Neela Syam Kolli Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d656901bca2e19057ca7a6e48bc56dec9ca7003e tree be4b71c139b837345c66ca6a3dd7ae88d9314538 parent 63c6764ce4c650245a41a95a2235207d25ca4fde author Yoshinori Sato Fri, 14 Oct 2005 15:59:12 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:13 -0700 [PATCH] sh-sci.c sci_start_tx error Argument does not agree. Signed-off-by: Yoshinori Sato Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63c6764ce4c650245a41a95a2235207d25ca4fde tree 7d719c49948440bb23cb07b6cb8938507b1c16e2 parent 2d1f87a728a5ddd9ee0418e14a12e5cb0372fad1 author Yoshinori Sato Fri, 14 Oct 2005 15:59:11 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:13 -0700 [PATCH] nommu build error fix "proc_smaps_operations" is not defined in case of "CONFIG_MMU=n". Signed-off-by: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d1f87a728a5ddd9ee0418e14a12e5cb0372fad1 tree 8e3aa8cbd90723b32d7b82a12ef62f0a55a8ad89 parent 0e7734d3ca24302a513e69dd24a560c34047c038 author Evgeniy Polyakov Fri, 14 Oct 2005 15:59:11 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:13 -0700 [PATCH] Dallas's 1-wire bus compile error drivers/built-in.o: In function `w1_alloc_dev': undefined reference to `netlink_kernel_create' drivers/built-in.o: In function `w1_alloc_dev': undefined reference to `sock_release' Signed-off-by: Evgeniy Polyakov Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e7734d3ca24302a513e69dd24a560c34047c038 tree 9770fd9af9a73c9aca8a6b16cbbd3071147d9474 parent 1350843cf0fa46e2f633c78b335777aac3d054b2 author Mark Haverkamp Fri, 14 Oct 2005 15:59:10 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:13 -0700 [PATCH] aacraid: host_lock not released fix While doing some testing of error cases I ran into this bug. In some cases the reset handler can exit with the host_lock still held. Signed-off-by: Mark Haverkamp Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1350843cf0fa46e2f633c78b335777aac3d054b2 tree a2983db190088e01a44f05450c09e2deea3a8c24 parent a90933fb4e7b85587e5cbdf863deeb16695c19bd author Benjamin Herrenschmidt Fri, 14 Oct 2005 15:59:09 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] ppc64: Fix G5 model in /proc/cpuinfo Andreas Schwab spotted that recent kernels broke reporting of the PowerMac machine model in /proc/cpuinfo. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a90933fb4e7b85587e5cbdf863deeb16695c19bd tree b27be41b3412d5ffdc90b3f7d76f2a2aa25662f5 parent 6593b58cfb54138781c5cd88f605e2ae663301b0 author Hirokazu Takata Fri, 14 Oct 2005 15:59:07 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] m32r: Fix smp.c for preempt kernel This patch fixes the following BUG message of arch/m32r/smp.c for CONFIG_DEBUG_PREEMPT: BUG: using smp_processor_id() in preemptible This message is displayed by an smp_processor_id() execution during kernel's preemptible-state. Signed-off-by: Hitoshi Yamamoto Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6593b58cfb54138781c5cd88f605e2ae663301b0 tree 32ebcd01bb2eda36d83628d3a490555475c7e06c parent e26148d934762b61133a64b6862f870624ff617d author Matteo Croce <3297627799@wind.it> Fri, 14 Oct 2005 15:59:06 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] wireless/airo: Build fix The aironet PCI driver has a build dependency on ISA that prevent the driver to compile on systems that doesn't support ISA, like x86_64. The driver really doesn't depend on ISA, it does some ISA stuff in the initialization code, since the driver supports both ISA and PCI cards. So the driver should depend on ISA_DMA_API to build on all systems, and this will not hurt PCI at all. Signed-off-by: Matteo Croce <3297627799@wind.it> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e26148d934762b61133a64b6862f870624ff617d tree 1387c6dfb62cf20447e08f26ceb757bb28d4d0c0 parent f1ac046d7b297186f755fb213589b539426e1406 author Tim Schmielau Fri, 14 Oct 2005 15:59:05 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] Fix copy-and-paste error in BSD accounting Fix copy and paste error in jiffies_to_AHZ conversion which leads to wrong BSD accounting information on alpha and ia64 when CONFIG_BSD_PROCESS_ACCT_V3 is turned on. Also update comment to match reorganised header files. Signed-off-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1ac046d7b297186f755fb213589b539426e1406 tree 0a13e989a9d30832f4cdae02435d06f1da4acce9 parent c6ecf7ed3131961e5aeedb0efd217afa0808798f author Alexey Dobriyan Fri, 14 Oct 2005 15:59:04 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] radio-cadet: check request_region() return value correctly Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6ecf7ed3131961e5aeedb0efd217afa0808798f tree e10117b6ad2149dd54eafeafeb1bb297b7d4438d parent 65d406ace3b44e042807d3f9a2e71088818e80f2 author Takashi Iwai Fri, 14 Oct 2005 15:59:03 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] Add missing export of getnstimeofday() Adds the missing EXPORT_SYMBOL_GPL for getnstimeofday() when CONFIG_TIME_INTERPOLATION isn't set. Needed by drivers/char/mmtimer.c Signed-off-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 65d406ace3b44e042807d3f9a2e71088818e80f2 tree 18c357f50bbd3588241c5c5713f69f32440325e9 parent 4846d0172dd7fb6a77843644caa6d9a8909225b9 author Pavel Machek Fri, 14 Oct 2005 15:59:03 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] zaurus: fix dependencies on collie keyboard This fixes depenencies of collie keyboard. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4846d0172dd7fb6a77843644caa6d9a8909225b9 tree 9f0facfea0e9d8dce59e02b569a706959e4a7b65 parent 6edb7467be2195e7eeb6844e37668253af216100 author Pavel Machek Fri, 14 Oct 2005 15:59:02 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] zaurus: fix soc_common.c This fixes wrong comments, non-working debug subsystem, and some potentially dangerous macros. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6edb7467be2195e7eeb6844e37668253af216100 tree 26345960976935682a7abd5c7696b9eab798bc4a parent 43d2c4ca385b02ab7a604aa09a9da36f1668bee6 author Pavel Machek Fri, 14 Oct 2005 15:59:01 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:12 -0700 [PATCH] zaurus: fix compilation with cpufreq disabled This fixes compilation with CPU_FREQ disabled. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 43d2c4ca385b02ab7a604aa09a9da36f1668bee6 tree 208cdf7bd9bc9fbd1c7dc951ae9b9c22413a4381 parent 3384a04ed42c583755226374e1ff6a53db7f27c3 author Yoichi Yuasa Fri, 14 Oct 2005 15:59:00 -0700 committer Linus Torvalds Fri, 14 Oct 2005 17:10:11 -0700 [PATCH] mips: fix build error in TANBAC TB0226 arch/mips/pci/fixup-tb0226.c: In function `pcibios_map_irq': arch/mips/pci/fixup-tb0226.c:31: warning: implicit declaration of function `vr41xx_set_irq_trigger' arch/mips/pci/fixup-tb0226.c:32: error: `TRIGGER_LEVEL' undeclared (first use in this function) arch/mips/pci/fixup-tb0226.c:32: error: (Each undeclared identifier is reported only once arch/mips/pci/fixup-tb0226.c:32: error: for each function it appears in.) arch/mips/pci/fixup-tb0226.c:33: error: `SIGNAL_THROUGH' undeclared (first use in this function) arch/mips/pci/fixup-tb0226.c:34: warning: implicit declaration of function `vr41xx_set_irq_level' arch/mips/pci/fixup-tb0226.c:34: error: `LEVEL_LOW' undeclared (first use in this function) Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4d1b825785847cddee6d104113da913f2ca8efb tree b491001940d86d6e3325300056aeda4158f6ef84 parent f75884d28a6eae5a422d0454b982da3842f777af author David S. Miller Fri, 14 Oct 2005 15:26:08 -0700 committer David S. Miller Fri, 14 Oct 2005 15:26:08 -0700 [SPARC64]: Fix powering off on SMP. Doing a "SUNW,stop-self" firmware call on the other cpus is not the correct thing to do when dropping into the firmware for a halt, reboot, or power-off. For now, just do nothing to quiet the other cpus, as the system should be quiescent enough. Later we may decide to implement smp_send_stop() like the other SMP platforms do. Based upon a report from Christopher Zimmermann. Signed-off-by: David S. Miller commit f75884d28a6eae5a422d0454b982da3842f777af tree ff69ee62cc3f6a21ef6454de79edfdffbe4561fd parent 688cb30bdc3e398d97682a6a58f825821ee838c2 author David S. Miller Fri, 14 Oct 2005 13:44:32 -0700 committer David S. Miller Fri, 14 Oct 2005 13:44:32 -0700 [QLOGICPTI]: Handle INQUIRY response sniffing correctly. These days, in 2.6.x, even INQUIRY commands are sent using scatter gather lists. Bug reported by Tom 'spot' Callaway. Signed-off-by: David S. Miller commit 414894938b88c1ad2e9cea6502ceccefb30605c4 tree 509cdc1c35972c93be690e9e51cccc5074ef4b56 parent 72023b63cc512d2d7c2a31c6bc1be497eafbd834 author Richard Purdie Fri, 14 Oct 2005 16:07:28 +0100 committer Russell King Fri, 14 Oct 2005 16:07:28 +0100 [ARM] 3014/1: Spitz keyboard: Correct the right shift key Patch from Richard Purdie Correct the right shift key entry in the spitz keyboard driver. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 72023b63cc512d2d7c2a31c6bc1be497eafbd834 tree 439f0f193a26e5af065c9c7f365af2875272bf10 parent 10f92eb7c6b4e8069c2defd2ad23b74f31f8962d author Richard Purdie Fri, 14 Oct 2005 16:07:27 +0100 committer Russell King Fri, 14 Oct 2005 16:07:27 +0100 [ARM] 3013/1: Spitz: Fix compile errors Patch from Richard Purdie Remove a couple of lines of accidently added code causing compile errors. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 10f92eb7c6b4e8069c2defd2ad23b74f31f8962d tree 0ab8f965123b8215ff44c69f30c9da5996e35bdf parent cb38c569e5ecf9e922e66963b6da2751b4f13d81 author Richard Purdie Fri, 14 Oct 2005 16:07:26 +0100 committer Russell King Fri, 14 Oct 2005 16:07:26 +0100 [ARM] 3012/1: Corgi/Spitz LCD: Use bus_find_device to locate pxafb - fix compile error Patch from Richard Purdie Update corgi_lcd to use bus_find_device to locate the pxafb device hence fixing a compile error. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit cb38c569e5ecf9e922e66963b6da2751b4f13d81 tree de0c6c57b91fd2f6c1458f95e7022fbec9435d41 parent cb90d681ae439e525de9de519508ac9041342321 author Richard Purdie Fri, 14 Oct 2005 16:07:25 +0100 committer Russell King Fri, 14 Oct 2005 16:07:25 +0100 [ARM] 3011/1: pxafb: Add ability to set device parent + fix spitz compile error Patch from Richard Purdie Add a function to allow machines to set the parent of the pxa framebuffer device. This means the power up/down sequence can be controlled where required by the machine. Update spitz to use the new function, fixing a compile error. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 04f03bf7dbd04c15c30d91c6a277f6970cc4ef14 tree 2fd4ad00c404bb5306270445cfcd79b477c3cf5a parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Baris Cicek Fri, 14 Oct 2005 14:32:40 +0100 committer Russell King Fri, 14 Oct 2005 14:32:40 +0100 [SERIAL] Add SupraExpress 336i Sp ASVD modem ID Signed-off-by: Russell King commit cb90d681ae439e525de9de519508ac9041342321 tree fb4ad4931318154171cc32e50b631ecb016ba641 parent 6205d158d16d2619bf30f0aff47a8e09b07106e9 author Deepak Saxena Fri, 14 Oct 2005 12:49:15 +0100 committer Russell King Fri, 14 Oct 2005 12:49:15 +0100 [ARM] 2980/1: Fix L7200 core.c compile Patch from Deepak Saxena This patch fixes L7200 so that it builds in 2.6.latest. I do not have the hardware so don't know if it actually still works, but the changes are fairly trivial. I am not even sure if anyone still maintains, uses, or cares about this machine type. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6205d158d16d2619bf30f0aff47a8e09b07106e9 tree 5d7841b2d9436370a1321552ca58372e9644049e parent 13b1f64c16e2eb96a021b49cf3986528046ba3dc author Ben Dooks Fri, 14 Oct 2005 12:24:24 +0100 committer Russell King Fri, 14 Oct 2005 12:24:24 +0100 [ARM] 3009/1: S3C2410 - io.h offsets too large for LDRH/STRH Patch from Ben Dooks The __inwc/__outwc calls are capable of creating LDRH and STRH instructions with offsets over 8bits as GCC does not have a constraint for an 8bit offset. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 688cb30bdc3e398d97682a6a58f825821ee838c2 tree 8fc9ca543fc3966eb961743ba4587298fce49279 parent 51e8513615ed8202b22ba9a43b0c7376ea4f6868 author David S. Miller Thu, 13 Oct 2005 22:15:24 -0700 committer David S. Miller Thu, 13 Oct 2005 22:15:24 -0700 [SPARC64]: Eliminate PCI IOMMU dma mapping size limit. The hairy fast allocator in the sparc64 PCI IOMMU code has a hard limit of 256 pages. Certain devices can exceed this when performing very large I/Os. So replace with a more simple allocator, based largely upon the arch/ppc64/kernel/iommu.c code. Signed-off-by: David S. Miller commit 51e8513615ed8202b22ba9a43b0c7376ea4f6868 tree 17242822a3520e2075448ac294c98adfe44a0583 parent c931488cc4619eecfe68a2f046b5898fddc2f904 author David S. Miller Thu, 13 Oct 2005 21:10:08 -0700 committer David S. Miller Thu, 13 Oct 2005 21:10:08 -0700 [SPARC64]: Consolidate common PCI IOMMU init code. All the PCI controller drivers were doing the same thing setting up the IOMMU software state, put it all in one spot. Signed-off-by: David S. Miller commit 3384a04ed42c583755226374e1ff6a53db7f27c3 tree 91f0138bb69ba1afe7302df4b285ef760d96f426 parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe parent 74e52aa561d5bb973075c2015133546b42cdc290 author Linus Torvalds Thu, 13 Oct 2005 16:10:54 -0700 committer Linus Torvalds Thu, 13 Oct 2005 16:10:54 -0700 Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 046d20b73960b7a2474b6d5e920d54c3fd7c23fe tree 13d06fa7a11554585f6796f6c34d03f4c522365e parent eb0d6041143fae63410c5622fef96862e6b20933 author Herbert Xu Thu, 13 Oct 2005 14:42:24 -0700 committer David S. Miller Thu, 13 Oct 2005 14:42:24 -0700 [TCP]: Ratelimit debugging warning. Better safe than sorry. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit eb0d6041143fae63410c5622fef96862e6b20933 tree 28a8f9ed7fc1e60850a06c2f06fe8bbaaa08d073 parent 34cb711ba922f53cca45443b8c3c1078873cf599 author Evgeniy Polyakov Thu, 13 Oct 2005 14:42:04 -0700 committer David S. Miller Thu, 13 Oct 2005 14:42:04 -0700 [CONNECTOR]: Update documentation to match reality. Updated documentation to reflect 2.6.14 netlink changes about socket options, multicasting and group number. Please concider for 2.6.14. Signed-off-by: Evgeniy Polyakov Signed-off-by: David S. Miller commit 34cb711ba922f53cca45443b8c3c1078873cf599 tree 2b120d59460047caff9546d68f445626947d47fc parent c8923c6b852d3a97c1faad0566e38fca330375a7 author Andi Kleen Thu, 13 Oct 2005 14:41:44 -0700 committer David S. Miller Thu, 13 Oct 2005 14:41:44 -0700 [NET]: Disable NET_SCH_CLK_CPU for SMP x86 hosts Opterons with frequency scaling have fully unsynchronized TSCs running at different frequencies, so using TSCs there is not a good idea. Also some other x86 boxes have this problem. gettimeofday should be good enough, so just disable it. Signed-off-by: Andi Kleen Signed-off-by: David S. Miller commit c8923c6b852d3a97c1faad0566e38fca330375a7 tree eb79e97c5468bba641c7a34b83514876f4902cf2 parent c931488cc4619eecfe68a2f046b5898fddc2f904 author David S. Miller Thu, 13 Oct 2005 14:41:23 -0700 committer David S. Miller Thu, 13 Oct 2005 14:41:23 -0700 [NETFILTER]: Fix OOPSes on machines with discontiguous cpu numbering. Original patch by Harald Welte, with feedback from Herbert Xu and testing by Sébastien Bernard. EBTABLES, ARP tables, and IP/IP6 tables all assume that cpus are numbered linearly. That is not necessarily true. This patch fixes that up by calculating the largest possible cpu number, and allocating enough per-cpu structure space given that. Signed-off-by: David S. Miller commit 13b1f64c16e2eb96a021b49cf3986528046ba3dc tree b8220efc2177dc7fb041b9490a42b36f7bfeb177 parent 50688ea9ed6fe154058c065bc7dc60980533a2c8 author Nicolas Pitre Thu, 13 Oct 2005 22:04:37 +0100 committer Russell King Thu, 13 Oct 2005 22:04:37 +0100 [ARM] 3008/1: the exception table is not read-only Patch from Nicolas Pitre ... and therefore should not live in the .text section. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 50688ea9ed6fe154058c065bc7dc60980533a2c8 tree 58a793d1d870dcaadac26e226e4bc7e705df2d02 parent c931488cc4619eecfe68a2f046b5898fddc2f904 author Ben Dooks Thu, 13 Oct 2005 22:04:36 +0100 committer Russell King Thu, 13 Oct 2005 22:04:36 +0100 [ARM] 3007/1: BAST - add CONFIG_ISA to build Patch from Ben Dooks The Simtec EB2410ITX (BAST) has a PC/104 slot, and therefore we should enable CONFIG_ISA to allow the drivers for ISA peripherals to be selected Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c931488cc4619eecfe68a2f046b5898fddc2f904 tree b92e43b7cbae6e7128ca6d7831d06e63989f2a31 parent aac372de6bde03168b833b4db1346a2c34a016c6 parent 3a8f675c40ba2d04e4fff6710db3da763436269f author Linus Torvalds Thu, 13 Oct 2005 09:59:32 -0700 committer Linus Torvalds Thu, 13 Oct 2005 09:59:32 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 3a8f675c40ba2d04e4fff6710db3da763436269f tree d1215879e5672b2a4287bcfd398fb3cbb10968de parent 9153bd75f25ff3170f07fb9ac1fb0e718afc6fce author Ben Dooks Thu, 13 Oct 2005 16:46:35 +0100 committer Russell King Thu, 13 Oct 2005 16:46:35 +0100 [ARM] 3006/1: S3C2410 - arch/arm/mach-s3c2410 sparse fixes Patch from Ben Dooks Remove an unused variable from s3c2410.c and ensure that items not needed to be exported from s3c2440.c are declared static. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 9153bd75f25ff3170f07fb9ac1fb0e718afc6fce tree 6c6caeb12371b4ef8fb5b9e8bfb6b2d3efc27ead parent a451e28c7642830d8b066e5a13de46934151ce3a author Ben Dooks Thu, 13 Oct 2005 16:46:35 +0100 committer Russell King Thu, 13 Oct 2005 16:46:35 +0100 [ARM] 3005/1: S3C2440 - add definition for s3c2440_set_dsc() call in hardware.h Patch from Ben Dooks include/asm-arm/arch-s3c2410/hardware.h was missing the definition for s3c2440_set_dsc() Signed-off-by: Ben Dooks Signed-off-by: Russell King commit aac372de6bde03168b833b4db1346a2c34a016c6 tree 2f8e0f92f5384e58169ac4ddd452b9e7e5b05435 parent 02d31ed258434b29eb0e3a10f5ede6eecd46b6ba parent c9c10830740df1b5e7848d6fbb68c93a73e8f7cd author Linus Torvalds Wed, 12 Oct 2005 19:08:10 -0700 committer Linus Torvalds Wed, 12 Oct 2005 19:08:10 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 02d31ed258434b29eb0e3a10f5ede6eecd46b6ba tree e901ed8af00756086e2da1a5e0c52602d2b01603 parent 1b66e9fe8523cc239b6bea8443a860f50aeb2a83 parent 9ff5c59ce278c37bca22fbf98076d199bcaf9845 author Linus Torvalds Wed, 12 Oct 2005 19:07:59 -0700 committer Linus Torvalds Wed, 12 Oct 2005 19:07:59 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 1b66e9fe8523cc239b6bea8443a860f50aeb2a83 tree 7d067a24df07dc1116c7c636dc41f77ab874f167 parent 67d2b48e20bfc82f8fdb5410c28564b8b058fcab parent 9621904012de3c8d0d4e2904dcc7170b3012119e author Linus Torvalds Wed, 12 Oct 2005 19:07:38 -0700 committer Linus Torvalds Wed, 12 Oct 2005 19:07:38 -0700 Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 67d2b48e20bfc82f8fdb5410c28564b8b058fcab tree e7f6c54ee8d29893af37dc089a25a7ab24876b05 parent d8e998c58a870770905495a1d45ebf7285b5b1c5 parent 875521ddccfa90d519cf31dfc8aa472f7f6325bb author Linus Torvalds Wed, 12 Oct 2005 19:07:19 -0700 committer Linus Torvalds Wed, 12 Oct 2005 19:07:19 -0700 Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 9ff5c59ce278c37bca22fbf98076d199bcaf9845 tree eadd2da5cdf0cbe158c55567684385f6db86394f parent afb997c6163b33292d31a09d6aa5cbb03ffa5bf1 author Herbert Xu Wed, 12 Oct 2005 15:59:39 -0700 committer David S. Miller Wed, 12 Oct 2005 15:59:39 -0700 [TCP]: Add code to help track down "BUG at net/ipv4/tcp_output.c:438!" This is the second report of this bug. Unfortunately the first reporter hasn't been able to reproduce it since to provide more debugging info. So let's apply this patch for 2.6.14 to 1) Make this non-fatal. 2) Provide the info we need to track it down. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit afb997c6163b33292d31a09d6aa5cbb03ffa5bf1 tree ee88c284b220e60088934b77797f4433590bf90c parent ab4060e858e36129f9319ef0fa055347ad60e1d5 author Ben Dooks Wed, 12 Oct 2005 15:12:21 -0700 committer David S. Miller Wed, 12 Oct 2005 15:12:21 -0700 [NETPOLL]: wrong return for null netpoll_poll_lock() When netpoll is not being used, the macro that defines the removed routing netpoll_poll_lock defines the return as zero, but the real routine returns a `void *` Signed-off-by: Ben Dooks Signed-off-by: David S. Miller commit ab4060e858e36129f9319ef0fa055347ad60e1d5 tree c3d28036801fcab8529bd8ee977fafd755fb3da4 parent eeb2b8560676e454ad37ee30b49bc7d897edc9be author Stephen Hemminger Wed, 12 Oct 2005 15:10:01 -0700 committer David S. Miller Wed, 12 Oct 2005 15:10:01 -0700 [BRIDGE]: fix race on bridge del if This fixes the RCU race on bridge delete interface. Basically, the network device has to be detached from the bridge in the first step (pre-RCU), rather than later. At that point, no more bridge traffic will come in, and the other code will not think that network device is part of a bridge. This should also fix the XEN test problems. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit c9c10830740df1b5e7848d6fbb68c93a73e8f7cd tree b614058c3291ebccb996b27cee9b709956df7791 parent d8e998c58a870770905495a1d45ebf7285b5b1c5 author David S. Miller Wed, 12 Oct 2005 12:22:46 -0700 committer David S. Miller Wed, 12 Oct 2005 12:22:46 -0700 [SPARC64]: Fix boot failures on SunBlade-150 The sequence to move over to the Linux trap tables from the firmware ones needs to be more air tight. It turns out that to be %100 safe we do need to be able to translate OBP mappings in our TLB miss handlers early. In order not to eat up a lot of kernel image memory with static page tables, just use the translations array in the OBP TLB miss handlers. That solves the bulk of the problem. Furthermore, to make sure the OBP TLB miss path will work even before the fixed MMU globals are loaded, explicitly load %g1 to TLB_SFSR at the beginning of the i-TLB and d-TLB miss handlers. To ease the OBP TLB miss walking of the prom_trans[] array, we sort it then delete all of the non-OBP entries in there (for example, there are entries for the kernel image itself which we're not interested in at all). We also save about 32K of kernel image size with this change. Not a bad side effect :-) There are still some reasons why trampoline.S can't use the setup_trap_table() yet. The most noteworthy are: 1) OBP boots secondary processors with non-bias'd stack for some reason. This is easily fixed by using a small bootup stack in the kernel image explicitly for this purpose. 2) Doing a firmware call via the normal C call prom_set_trap_table() goes through the whole OBP enter/exit sequence that saves and restores OBP and Linux kernel state in the MMUs. This path unfortunately does a "flush %g6" while loading up the OBP locked TLB entries for the firmware call. If we setup the %g6 in the trampoline.S code properly, that is in the PAGE_OFFSET linear mapping, but we're not on the kernel trap table yet so those addresses won't translate properly. One idea is to do a by-hand firmware call like we do in the early bootup code and elsewhere here in trampoline.S But this fails as well, as aparently the secondary processors are not booted with OBP's special locked TLB entries loaded. These are necessary for the firwmare to processes TLB misses correctly up until the point where we take over the trap table. This does need to be resolved at some point. Signed-off-by: David S. Miller commit a451e28c7642830d8b066e5a13de46934151ce3a tree d9a3aac69649f01b283958f8b53cbfdd6b86d914 parent e6158b4a5647624ceb90074bfcc248ea3152c906 author Liam Girdwood Wed, 12 Oct 2005 19:58:12 +0100 committer Russell King Wed, 12 Oct 2005 19:58:12 +0100 [ARM] 3003/1: SSP channel map register updates for pxa2xx Patch from Liam Girdwood This patch updates the pxa2xx channel map registers definitions in pxa-regs.h Changes:- o Added description for SSP2 registers o Added definitions for SSP3 registers Signed-off-by:Liam Girdwood Signed-off-by: Russell King commit e6158b4a5647624ceb90074bfcc248ea3152c906 tree 1f8da50d47f8d4b5dd27b06fa694fb48e38162bb parent 6ec5e7f3656f0397b7e8b39a7dcc77937d187596 author Lothar Wassmann Wed, 12 Oct 2005 19:58:11 +0100 committer Russell King Wed, 12 Oct 2005 19:58:11 +0100 [ARM] 3002/1: Wrong parameter to uart_update_timeout() in drivers/serial/pxa.c Patch from Lothar Wassmann The function serial_pxa_set_termios() is calling uart_update_timeout() with the baud rate divisor as third parameter, while uart_update_timeout() expects the baud rate in this place. This results in a bogus port->timeout which is proportional to the baud rate. Signed-off-by: Lothar Wassmann Signed-off-by: Russell King commit 6ec5e7f3656f0397b7e8b39a7dcc77937d187596 tree bbf8e615955817764637b7a2ecd2e228835b2cc5 parent 737d0bb7701cdebb661e4db0236071a7df977777 author Ben Dooks Wed, 12 Oct 2005 19:58:10 +0100 committer Russell King Wed, 12 Oct 2005 19:58:10 +0100 [ARM] 2978/1: nwfpe - clean up sparse errors Patch from Ben Dooks The NWFPE is producing a number of errors from sparse due to not defining a number of functions in the header files. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 737d0bb7701cdebb661e4db0236071a7df977777 tree fe250db7c6bf3381d01418bdab50fb9124e6fe00 parent cd26f45bfca4d4fa5ddfe21613d2da46f1acb821 author George G. Davis Wed, 12 Oct 2005 19:58:10 +0100 committer Russell King Wed, 12 Oct 2005 19:58:10 +0100 [ARM] 2969/1: miscellaneous whitespace cleanup Patch from George G. Davis Fix leading, trailing and other miscellaneous whitespace issues in arch/arm/kernel/alignment.c. Signed-off-by: George G. Davis Signed-off-by: Russell King commit cd26f45bfca4d4fa5ddfe21613d2da46f1acb821 tree 85ca14c209a808201fcbc21909924a4bcf8d5ec6 parent ceca629e0b4858d6b8bff260dab2e947d31aca56 author George G. Davis Wed, 12 Oct 2005 19:58:09 +0100 committer Russell King Wed, 12 Oct 2005 19:58:09 +0100 [ARM] 2970/1: Use -mtune=arm1136j-s when building for CPU_V6 targets Patch from George G. Davis When building for CPU_V6 targets, we should use -mtune=arm1136j-s rather than -mtune=strongarm but fall back to the later in case someone is using an older toolchain (although they should really upgrade instead). Signed-off-by: George G. Davis Signed-off-by: Russell King commit ceca629e0b4858d6b8bff260dab2e947d31aca56 tree 56b9a6a6dbf1674c7111dfaa255f294c895dd4e2 parent 9f693d7b149a74bac301ee47136359294cffed25 author Sascha Hauer Wed, 12 Oct 2005 19:58:08 +0100 committer Russell King Wed, 12 Oct 2005 19:58:08 +0100 [ARM] 2971/1: i.MX uart handle rts irq Patch from Sascha Hauer handle rts interrupt Signed-off-by: Giancarlo Formicuccia Signed-off-by: Sascha Hauer commit 9f693d7b149a74bac301ee47136359294cffed25 tree 5cedfec20f95b07006e5ea2add7c0c2b6bb40612 parent a7b1bbbc89194deba8cde02200f08b3840c9daa2 author Ben Dooks Wed, 12 Oct 2005 19:58:07 +0100 committer Russell King Wed, 12 Oct 2005 19:58:07 +0100 [ARM] 2979/2: S3C2410 - add static to non-exported machine items Patch from Ben Dooks Do not export items that are not needed by symbol name elsewhere Signed-off-by: Ben Dooks Signed-off-by: Russell King commit a7b1bbbc89194deba8cde02200f08b3840c9daa2 tree 3ad70801998d8ad62531ad3d2d4e2902a794312e parent 17efa644f624a521e4a6c6a4641d39d227a9b24a author Ben Dooks Wed, 12 Oct 2005 19:58:07 +0100 committer Russell King Wed, 12 Oct 2005 19:58:07 +0100 [ARM] 2977/1: armksyms.c - make items in export table static Patch from Ben Dooks The items in the export table do not need to be exported elsehwere, so quash the sparse warning by making the symbol for the table entry static. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 17efa644f624a521e4a6c6a4641d39d227a9b24a tree 4a47afcca1a87daae79781de03333b97de2b076e parent 0eea3c0b6cb356bc8e515084f831cac7e3d5131c author Ben Dooks Wed, 12 Oct 2005 19:58:06 +0100 committer Russell King Wed, 12 Oct 2005 19:58:06 +0100 [ARM] 2976/1: S3C2410: add static to functions in serial driver Patch from Ben Dooks The s3c2410 serial driver is missing static declerations on several functions that are not exported, and have no need of being exported outside the driver Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 0eea3c0b6cb356bc8e515084f831cac7e3d5131c tree 100507b40de41e2391783604e99d700771b672cd parent 60ac133aac9e07b94f2cb6bf571bf8aef69248c3 author Ben Dooks Wed, 12 Oct 2005 19:58:05 +0100 committer Russell King Wed, 12 Oct 2005 19:58:05 +0100 [ARM] 2975/1: S3C2410: time.c missing include of cpu.h Patch from Ben Dooks arch/arm/mach-s3c2410/time.c is missing include of cpu.h, causing the declaration of the timer struct (s3c24xx_timer) to be flagged as missing the declaration. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 60ac133aac9e07b94f2cb6bf571bf8aef69248c3 tree f75a44630c4cd0b63c025eee1ccc615a6ec7157e parent da64c6ee6bb71bfb3f09d9bb89ce1aa4b1ee7e89 author Nicolas Pitre Wed, 12 Oct 2005 19:51:24 +0100 committer Russell King Wed, 12 Oct 2005 19:51:24 +0100 [ARM] 2974/1: fix ARM710 swi bug workaround Patch from Nicolas Pitre Either no one is using an ARM710 with recent kernels, or all ARM710s still in use are not afflicted by this swi bug. Nevertheless, the code to work around the ARM710 swi bug is itself currently buggy since it uses r8 as a pointer to S_PC while in fact it holds the spsr content these days. Fix that, and simplify the code as well. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit d8e998c58a870770905495a1d45ebf7285b5b1c5 tree 828a1633c667c0769feec6451aa450bbfb911a10 parent cbd27b8ced4b1888c93f69b4dd108a69ac4d733f author Benjamin Herrenschmidt Wed, 12 Oct 2005 14:22:50 +1000 committer Linus Torvalds Wed, 12 Oct 2005 08:24:47 -0700 [PATCH] ppc32: Tell userland about lack of standard TB Glibc is about to get some new high precision timer stuff that relies on the standard timebase of the PPC architecture. However, some (rare & old) CPUs do not have such timebase and it is a bit annoying to have your stuff just crash because you are running on the wrong CPU... This exposes to userland a CPU feature bit that tells that the current processor doesn't have a standard timebase. It's negative logic so that glibc will still "just work" on older kernels (it will just be unhappy on those old CPUs but that doesn't really matter as distro tend to update glibc & kernel at the same time). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit cbd27b8ced4b1888c93f69b4dd108a69ac4d733f tree c3bf062e9473261cbd4774996c96cfc0f3759239 parent 9d624ea474a3ddf3a0702d9b47e428ce1f8488a6 author Benjamin Herrenschmidt Wed, 12 Oct 2005 11:39:33 +1000 committer Linus Torvalds Wed, 12 Oct 2005 08:24:47 -0700 [PATCH] ppc32: Fix timekeeping Interestingly enough, ppc32 had broken timekeeping for ages... It worked, but probably drifted a bit more than could be explained by the actual bad precision of the timebase calibration. We discovered that recently when somebody figured out that the common code was using CLOCK_TICK_RATE to correct the timekeeing, and ppc32 had a completely bogus value for it. This patch turns it into something saner. Probably not as good as doing something based on the actual timebase frequency precision but I'll leave that sort of math to others. This at least makes it better for the common HZ values. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 9d624ea474a3ddf3a0702d9b47e428ce1f8488a6 tree 6974b966b5da06e04597fc32a3b67fe0a8e0bafc parent 91acb21f084aa244f26839406ae7ed8aa3668058 author Paolo 'Blaisorblade' Giarrusso Tue, 11 Oct 2005 21:01:01 +0200 committer Linus Torvalds Wed, 12 Oct 2005 08:22:26 -0700 [PATCH] uml: compile-time fix recent patch Give an empty definition for clear_can_do_skas() when it is not needed. Thanks to Junichi Uekawa for reporting the breakage and providing a fix (I re-fixed it in an IMHO cleaner way). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 91acb21f084aa244f26839406ae7ed8aa3668058 tree 5a186b9b35d2e26aaf1c85441125611c9c88dd18 parent da64c6ee6bb71bfb3f09d9bb89ce1aa4b1ee7e89 author Jeff Dike Mon, 10 Oct 2005 23:10:32 -0400 committer Linus Torvalds Wed, 12 Oct 2005 08:22:26 -0700 [PATCH] uml: revert block driver use of host AIO The patch to use host AIO support that I submitted early after 2.6.13 exposed some problems in the block driver. I have fixes for these, but am not comfortable putting them into 2.6.14 at this late date. So, this patch reverts the use of host AIO. I will resubmit the original patch, plus fixes to the driver after 2.6.14 in order to get a reasonable amount of testing before they're exposed to the general public. Signed-off-by: Jeff Dike Signed-off-by: Linus Torvalds commit da64c6ee6bb71bfb3f09d9bb89ce1aa4b1ee7e89 tree c6f31816e5a5afc84e920c6c3f5702327dd990de parent f5154a98a1931641f0448f6512294a15279110d7 parent b1b510aa284af1908d5d369d52f7dae16aaabd71 author Linus Torvalds Tue, 11 Oct 2005 16:39:24 -0700 committer Linus Torvalds Tue, 11 Oct 2005 16:39:24 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit b1b510aa284af1908d5d369d52f7dae16aaabd71 tree dd79875667adf73552c4b9c4789aee2b4ada8368 parent 08eb8f124f990aa476589d1f7810f7ec7f259c08 author David S. Miller Tue, 11 Oct 2005 15:45:16 -0700 committer David S. Miller Tue, 11 Oct 2005 15:45:16 -0700 [SPARC64]: Fix net booting on Ultra5 We were not doing alignment properly when remapping the kernel image. What we want is a 4MB aligned physical address to map at KERNBASE. Mistakedly we were 4MB aligning the virtual address where the kernel initially sits, that's wrong. Instead, we should PAGE align the virtual address, then 4MB align the physical address result the prom gives to us. Signed-off-by: David S. Miller commit 74e52aa561d5bb973075c2015133546b42cdc290 tree 3e8f269e99443bdb3cec6e23f3193dd696e6518e parent f5154a98a1931641f0448f6512294a15279110d7 parent 96f339c6b95344942fe5fce012ff4f2a3b2cb80d author Tony Luck Tue, 11 Oct 2005 15:08:48 -0700 committer Tony Luck Tue, 11 Oct 2005 15:08:48 -0700 Pull mbcs-init-sn-check into release branch commit f5154a98a1931641f0448f6512294a15279110d7 tree fd5ea19514d07338f58b2df4b2f87922b9975a04 parent 9149ccfa3571eaa4a4b444777d67fc4ed3ebcf27 author Hugh Dickins Tue, 11 Oct 2005 19:16:26 +0100 committer Linus Torvalds Tue, 11 Oct 2005 12:03:47 -0700 [PATCH] Don't map the same page too much Refuse to install a page into a mapping if the mapping count is already ridiculously large. You probably cannot trigger this on 32-bit architectures, but on a 64-bit setup we should protect against it. Signed-off-by: Hugh Dickins Signed-off-by: Linus Torvalds commit 9149ccfa3571eaa4a4b444777d67fc4ed3ebcf27 tree 92d07c8a2e76abf5b5805db6deb5a90d69406b76 parent d3089792f6ee38cdc9e254a7cb2f8c8d7f38c20d author Peter Bergner Tue, 11 Oct 2005 09:28:24 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:54 -0700 [PATCH] ppc64: Add R_PPC64_TOC16 module reloc Newer gcc's are generating this relocation, so the module loader needs to handle it. Signed-off-by: Peter Bergner Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3089792f6ee38cdc9e254a7cb2f8c8d7f38c20d tree f1a6e34bf02d5ebdfe5647e72286d74c2f45a720 parent 9de11aab1c8fd87da7e1fb435ce0ff26bacd7909 author Michael Krufky Tue, 11 Oct 2005 09:28:24 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:54 -0700 [PATCH] V4L: Enable s-video input on DViCO FusionHDTV5 Lite * bttv-cards.c: - Enable S-Video input on DViCO FusionHDTV5 Lite Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9de11aab1c8fd87da7e1fb435ce0ff26bacd7909 tree 3ab41df3d9ba382278e819ab8d84be163b6dab9c parent 6de505173e24e76bb33a2595312e0c2b44d49e58 author Hirokazu Takata Tue, 11 Oct 2005 08:29:09 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:54 -0700 [PATCH] m32r: trap handler code for illegal traps This patch prevents illegal traps from causing m32r kernel's infinite loop execution. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6de505173e24e76bb33a2595312e0c2b44d49e58 tree 0d06e061a70b337627b7e83985d736c0b4f50f33 parent a0c111c631e7ab4abd68920debd44259160812ef author akpm@osdl.org Tue, 11 Oct 2005 08:29:08 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:54 -0700 [PATCH] binfmt_elf bss padding fix Nir Tzachar points out that if an ELF file specifies a zero-length bss at a whacky address, we cannot load that binary because padzero() tries to zero out the end of the page at the whacky address, and that may not be writeable. See also http://bugzilla.kernel.org/show_bug.cgi?id=5411 So teach load_elf_binary() to skip the bss settng altogether if the elf file has a zero-length bss segment. Cc: Roland McGrath Cc: Daniel Jacobowitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0c111c631e7ab4abd68920debd44259160812ef tree bfcafa019ba2fb2bf38e5a07f9f5958b7ecb697f parent 1bef40032992320dd25a266fc166bfb8fa3f2f59 author Paolo Galtieri Tue, 11 Oct 2005 08:29:07 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:54 -0700 [PATCH] ppc highmem fix I've noticed that the calculations for seg_size and nr_segs in __dma_sync_page_highmem() (arch/ppc/kernel/dma-mapping.c) are wrong. The incorrect calculations can result in either an oops or a panic when running fsck depending on the size of the partition. The problem with the seg_size calculation is that it can result in a negative number if size is offset > size. The problem with the nr_segs caculation is returns the wrong number of segments, e.g. it returns 1 when size is 200 and offset is 4095, when it should return 2 or more. Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bef40032992320dd25a266fc166bfb8fa3f2f59 tree e02d654b4db45b752e3201c3f6eec3f4c719b69f parent 22c1ea44f0d33eda532883858b6cdabc5f265b66 author Suzuki Tue, 11 Oct 2005 08:29:06 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:54 -0700 [PATCH] madvise: Avoid returning error code -EBADF for anonymous mappings Revert this recent correctness change: Douglas Crosher reported that it broke an existing application, and that madvise() works without error on anonymous mappings on Solaris. This means that madvise() will remain non-standards-compliant: we should return -EBADF for all requests against non-file-backed vma's, but Linux only does this for MADV_WILLNEED requests. Signed-off-by: Suzuki K P Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c1ea44f0d33eda532883858b6cdabc5f265b66 tree 8af9c20a09e9ce9d497ec3db078d872b74a9c3ab parent 19cba8abd6ca09527c194864ae651db65cbacfe1 author Andreas Gruenbacher Tue, 11 Oct 2005 08:29:05 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:54 -0700 [PATCH] nfsacl: Solaris VxFS compatibility fix Here is a compatibility fix between Linux and Solaris when used with VxFS filesystems: Solaris usually accepts acl entries in any order, but with VxFS it replies with NFSERR_INVAL when it sees a four-entry acl that is not in canonical form. It may also fail with other non-canonical acls -- I can't tell, because that case never triggers: We only send non-canonical acls when we fake up an ACL_MASK entry. Instead of adding fake ACL_MASK entries at the end, inserting them in the correct position makes Solaris+VxFS happy. The Linux client and server sides don't care about entry order. The three-entry-acl special case in which we need a fake ACL_MASK entry was handled in xdr_nfsace_encode. The patch moves this into nfsacl_encode. Signed-off-by: Andreas Gruenbacher Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19cba8abd6ca09527c194864ae651db65cbacfe1 tree 3d59a1e147b2701d0957bef392e2fda441d5143f parent ad6ce87e5bd4440a6ce9aa9f8cda795b9e902eff author Latchesar Ionkov Tue, 11 Oct 2005 08:29:03 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:54 -0700 [PATCH] v9fs: remove additional buffer allocation from v9fs_file_read and v9fs_file_write v9fs_file_read and v9fs_file_write use kmalloc to allocate buffers as big as the data buffer received as parameter. kmalloc cannot be used to allocate buffers bigger than 128K, so reading/writing data in chunks bigger than 128k fails. This patch reorganizes v9fs_file_read and v9fs_file_write to allocate only buffers as big as the maximum data that can be sent in one 9P message. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad6ce87e5bd4440a6ce9aa9f8cda795b9e902eff tree d3ea460d562a06ccfd1edec6e2b6c4e37995438a parent e4314bf496bb7bb9acd754aeb319c30869bc8d76 author Abhay Salunke Tue, 11 Oct 2005 08:29:02 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:53 -0700 [PATCH] dell_rbu: changes in packet update mechanism In the current dell_rbu code ver 2.0 the packet update mechanism makes the user app dump every individual packet in to the driver. This adds in efficiency as every packet update makes the /sys/class/firmware/dell_rbu/loading and data files to disappear and reappear again. Thus the user app needs to wait for the files to reappear to dump another packet. This slows down the packet update tremendously in case of large number of packets. I am submitting a new patch for dell_rbu which will change the way we do packet updates; In the new method the user app will create a new single file which has already packetized the rbu image and all the packets are now staged in this file. This driver also creates a new entry in /sys/devices/platform/dell_rbu/packet_size ; the user needs to echo the packet size here before downloading the packet file. The user should do the following: create one single file which has all the packets stacked together. echo the packet size in to /sys/devices/platform/dell_rbu/packet_size. echo 1 > /sys/class/firmware/dell_rbu/loading cat the packetfile > /sys/class/firmware/dell_rbu/data echo 0 > /sys/class/firmware/dell_rbu/loading The driver takes the file which came through /sys/class/firmware/dell_rbu/data and takes chunks of paket_size data from it and place in contiguous memory. This makes packet update process very efficient and fast. As all the packet update happens in one single operation. The user can still read back the downloaded file from /sys/devices/platform/dell_rbu/data. Signed-off-by: Abhay Salunke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4314bf496bb7bb9acd754aeb319c30869bc8d76 tree ecec8fb728b2f872f970a7d666aa0147654e809f parent e5945b4f605d1479d5b44252a2c691168c5d38d6 author Anton Blanchard Tue, 11 Oct 2005 08:29:00 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:53 -0700 [PATCH] ppc64: Fix PCI hotplug pSeries_irq_bus_setup is marked __devinit but references s7a_workaround which is marked __initdata. Depending on who got the memory for s7a_workaround (and if the value was now positive), it was possible for PCI hotplugged devices to have 3 subtracted from their interrupt number. This would happen randomly and caused me much confusion :) Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5945b4f605d1479d5b44252a2c691168c5d38d6 tree 042f1163012843113aecce2ccbb997e0d2622025 parent 907a42617970a159361f17ef9a63f04d276995ab author Cornelia Huck Tue, 11 Oct 2005 08:28:59 -0700 committer Linus Torvalds Tue, 11 Oct 2005 09:46:53 -0700 [PATCH] s390: ccw device reconnect oops. Search for a disconnect ccw_device on the ccw bus rather than on the css bus (was a typo in patch I did for the klist conversion). A cast to an embedding ccw_device from an embedded device in a struct subchannel will lead us to oopses. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9621904012de3c8d0d4e2904dcc7170b3012119e tree a4bf95c6f7b53bb626884ca7b68d6b5d63fa3b8f parent 3c92c2ba33cd7d666c5f83cc32aa590e794e91b0 author Jeff Garzik Tue, 11 Oct 2005 01:52:39 -0400 committer Jeff Garzik Tue, 11 Oct 2005 01:52:39 -0400 sata_nv: Fixed bug introduced by 0.08's MCP51 and MCP55 support. commit 875521ddccfa90d519cf31dfc8aa472f7f6325bb tree 5a337befd661bc5fbd16b26b9c73ee1f620054b0 parent 3c92c2ba33cd7d666c5f83cc32aa590e794e91b0 author Jeff Garzik Tue, 11 Oct 2005 01:38:35 -0400 committer Jeff Garzik Tue, 11 Oct 2005 01:38:35 -0400 e100: revert CPU cycle saver microcode, it causes severe problems for certain NICs Reverting 685fac63f5ca6c5ca06bab641e1a32bbf9287e89: > [PATCH] e100: CPU cycle saver microcode > > > Add cpu cycle saver microcode to 8086:{1209/1229} other than ICH devices. > > Signed-off-by: Mallikarjuna R Chilakala > Signed-off-by: Ganesh Venkatesan > Signed-off-by: John Ronciak > Signed-off-by: Jeff Garzik commit eeb2b8560676e454ad37ee30b49bc7d897edc9be tree 60b316e93b880aa1ba01a9c5496c8269a48b4de9 parent 2a9bc9bb4d3a4570a8a48aadf071b91e657adb89 author Arnaldo Carvalho de Melo Mon, 10 Oct 2005 21:25:23 -0700 committer David S. Miller Mon, 10 Oct 2005 21:25:23 -0700 [TWSK]: Grab the module refcount for timewait sockets This is required to avoid unloading a module that has active timewait sockets, such as DCCP. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 2a9bc9bb4d3a4570a8a48aadf071b91e657adb89 tree b20dc78e5e9dc6deed61c47bf12a72ec8f9a9768 parent 777b25a2fea7129222eb11fba55c0a67982383ff author Arnaldo Carvalho de Melo Mon, 10 Oct 2005 21:25:00 -0700 committer David S. Miller Mon, 10 Oct 2005 21:25:00 -0700 [DCCP]: Transition from PARTOPEN to OPEN when receiving DATA packets Noticed by Andrea Bittau, that provided a patch that was modified to not transition from RESPOND to OPEN when receiving DATA packets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 777b25a2fea7129222eb11fba55c0a67982383ff tree 51e4a429fc09a8401371e47db9845d119408e576 parent 061cb4a0ec34a6e3069d5a1b3c547e55a71498c5 author Arnaldo Carvalho de Melo Mon, 10 Oct 2005 21:24:20 -0700 committer David S. Miller Mon, 10 Oct 2005 21:24:20 -0700 [CCID]: Check if ccid is NULL in the hc_[tr]x_exit functions For consistency with ccid_exit and to fix a bug when IP_DCCP_UNLOAD_HACK is enabled as the control sock is not associated to any CCID. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 061cb4a0ec34a6e3069d5a1b3c547e55a71498c5 tree 016065254b56b7739cc26df7007d094651fb64d6 parent 339231537506846cb232a2f0cc4a2c662b2d5b07 author Pablo Neira Ayuso Mon, 10 Oct 2005 21:23:46 -0700 committer David S. Miller Mon, 10 Oct 2005 21:23:46 -0700 [NETFILTER] ctnetlink: add support to change protocol info This patch add support to change the state of the private protocol information via conntrack_netlink. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 339231537506846cb232a2f0cc4a2c662b2d5b07 tree 76846aa4c8b94b2bc9caaaa9650c46658fad4fe9 parent a051a8f7306476af0a74370ad56e793cb6c43bf7 author Pablo Neira Ayuso Mon, 10 Oct 2005 21:23:28 -0700 committer David S. Miller Mon, 10 Oct 2005 21:23:28 -0700 [NETFILTER] ctnetlink: allow userspace to change TCP state This patch adds the ability of changing the state a TCP connection. I know that this must be used with care but it's required to provide a complete conntrack creation via conntrack_netlink. So I'll document this aspect on the upcoming docs. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit a051a8f7306476af0a74370ad56e793cb6c43bf7 tree 3dc8bc67e6c16a28a0161ed7f7fb55008da3d7d5 parent d4875b049b2e6401a6e1fae90b7f09e20a636fcf author Harald Welte Mon, 10 Oct 2005 21:21:10 -0700 committer David S. Miller Mon, 10 Oct 2005 21:21:10 -0700 [NETFILTER]: Use only 32bit counters for CONNTRACK_ACCT Initially we used 64bit counters for conntrack-based accounting, since we had no event mechanism to tell userspace that our counters are about to overflow. With nfnetlink_conntrack, we now have such a event mechanism and thus can save 16bytes per connection. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit d4875b049b2e6401a6e1fae90b7f09e20a636fcf tree a5021c091cbd141675cdd90ac330d33188284c03 parent a02a64223eddb410712b015fb3342c9a316ab70b author Herbert Xu Mon, 10 Oct 2005 21:11:34 -0700 committer David S. Miller Mon, 10 Oct 2005 21:11:34 -0700 [IPSEC] Fix block size/MTU bugs in ESP This patch fixes the following bugs in ESP: * Fix transport mode MTU overestimate. This means that the inner MTU is smaller than it needs be. Worse yet, given an input MTU which is a multiple of 4 it will always produce an estimate which is not a multiple of 4. For example, given a standard ESP/3DES/MD5 transform and an MTU of 1500, the resulting MTU for transport mode is 1462 when it should be 1464. The reason for this is because IP header lengths are always a multiple of 4 for IPv4 and 8 for IPv6. * Ensure that the block size is at least 4. This is required by RFC2406 and corresponds to what the esp_output function does. At the moment this only affects crypto_null as its block size is 1. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a02a64223eddb410712b015fb3342c9a316ab70b tree 771285d98ae94517f0aa0b16af0208d4cdc55dda parent e1c73b78e3706bd3c336d4730a01dd4081dfb7ee author Herbert Xu Mon, 10 Oct 2005 21:11:08 -0700 committer David S. Miller Mon, 10 Oct 2005 21:11:08 -0700 [IPSEC]: Use ALIGN macro in ESP This patch uses the macro ALIGN in all the applicable spots for ESP. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 08eb8f124f990aa476589d1f7810f7ec7f259c08 tree 2c303b6c0bc4a2c41ed493af7713e3088ba0482c parent b8df110fea555d5088bba67f446c2435104405be author David S. Miller Mon, 10 Oct 2005 21:02:26 -0700 committer David S. Miller Mon, 10 Oct 2005 21:02:26 -0700 [SPARC32]: Revert IOMAP change eb98129eec7fa605f0407dfd92d40ee8ddf5cd9a Breakage noted by Al Viro. It breaks non-PCI builds, it's probably better to have a more direct implementation on sparc32, and which driver actually needs this is still questionable. We can resolve this in 2.6.15 Signed-off-by: David S. Miller commit e1c73b78e3706bd3c336d4730a01dd4081dfb7ee tree 1187db9206c73a3a37195a6f95d81dabc8932cb8 parent 5bbc243aafff9ad653dc7a9fa7bcaf0b4631355a author Pablo Neira Ayuso Mon, 10 Oct 2005 20:55:49 -0700 committer David S. Miller Mon, 10 Oct 2005 20:55:49 -0700 [NETFILTER] ctnetlink: add one nesting level for TCP state To keep consistency, the TCP private protocol information is nested attributes under CTA_PROTOINFO_TCP. This way the sequence of attributes to access the TCP state information looks like here below: CTA_PROTOINFO CTA_PROTOINFO_TCP CTA_PROTOINFO_TCP_STATE instead of: CTA_PROTOINFO CTA_PROTOINFO_TCP_STATE Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 5bbc243aafff9ad653dc7a9fa7bcaf0b4631355a tree 2d958403be2219e322c5106406c650e79d450f0b parent a1bcc3f26885b0a8bf04799551de2e9574ccbda1 author Harald Welte Mon, 10 Oct 2005 20:54:01 -0700 committer David S. Miller Mon, 10 Oct 2005 20:54:01 -0700 [NETFILTER]: Add missing include to ip_conntrack_tuple.h Without this #include, __be16 is not defined and userspace programs will break. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit a1bcc3f26885b0a8bf04799551de2e9574ccbda1 tree 36397c29c8ad0eeb945117674734fc235ab4bebc parent d000eaf7720cb12cd03cd3d55f71be44357d27a9 author Pablo Neira Ayuso Mon, 10 Oct 2005 20:53:16 -0700 committer David S. Miller Mon, 10 Oct 2005 20:53:16 -0700 [NETFILTER] ctnetlink: ICMP ID is not mandatory The ID is only required by ICMP type 8 (echo), so it's not mandatory for all sort of ICMP connections. This patch makes mandatory only the type and the code for ICMP netlink messages. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit d000eaf7720cb12cd03cd3d55f71be44357d27a9 tree cbdb3e64a427adedf7f6ec4a75b338d1731bc9ee parent b3a91d037a2575040f9b6a483f60c407a3d80368 author Harald Welte Mon, 10 Oct 2005 20:52:51 -0700 committer David S. Miller Mon, 10 Oct 2005 20:52:51 -0700 [NETFILTER] conntrack_netlink: Fix endian issue with status from userspace When we send "status" from userspace, we forget to convert the endianness. This patch adds the reqired conversion. Thanks to Pablo Neira for discovering this. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit b3a91d037a2575040f9b6a483f60c407a3d80368 tree 013652fd0d1b089bd9229fe4af47177e0d055b43 parent ebe0bbf06c9e03613bdcb6b5a704595a9344b7ff author Harald Welte Mon, 10 Oct 2005 20:52:36 -0700 committer David S. Miller Mon, 10 Oct 2005 20:52:36 -0700 [NETFILTER] nat: remove bogus structure member When 'rustynat' was merged in 2.6.12, the use of the "helper" pointer of struct ipt_nat_info was obsoleted, but the pointer not removed from the struct. This patch removes the pointer, thereby yet again shrinking struct ip_conntrack. Discovered-by: Rusty Russell Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit ebe0bbf06c9e03613bdcb6b5a704595a9344b7ff tree 33453cb2cd33095e3a226d0866bdfe1019473646 parent f40863cec87464f3f4ec3a6c00e3fda3bbb0c91b author Harald Welte Mon, 10 Oct 2005 20:52:19 -0700 committer David S. Miller Mon, 10 Oct 2005 20:52:19 -0700 [NETFILTER] nfnetlink: use highest bit of nfa_type to indicate nested TLV As Henrik Nordstrom pointed out, all our efforts with "split endian" (i.e. host byte order tags, net byte order values) are useless, unless a parser can determine whether an attribute is nested or not. This patch steals the highest bit of nfattr.nfa_type to indicate whether the data payload contains a nested nfattr (1) or not (0). This will break userspace compatibility, but luckily no kernel with nfnetlink was released so far. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit f40863cec87464f3f4ec3a6c00e3fda3bbb0c91b tree e2945b3cae7237392c04969ff808a0c011f911a0 parent 85d9b05d9b1edad9a2630584754720a957ab0a2a author Harald Welte Mon, 10 Oct 2005 20:51:53 -0700 committer David S. Miller Mon, 10 Oct 2005 20:51:53 -0700 [NETFILTER] ipt_ULOG: Mark ipt_ULOG as OBSOLETE Similar to nfnetlink_queue and ip_queue, we mark ipt_ULOG as obsolete. This should have been part of the original nfnetlink_log merge, but I somehow missed it. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 85d9b05d9b1edad9a2630584754720a957ab0a2a tree 5a3ad0385af05c05bf50354bc6fc398474f0f9ae parent 907a42617970a159361f17ef9a63f04d276995ab author Harald Welte Mon, 10 Oct 2005 20:47:42 -0700 committer David S. Miller Mon, 10 Oct 2005 20:47:42 -0700 [NETFILTER] PPTP helper: Add missing Kconfig dependency PPTP should not be selectable without conntrack enabled Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit b8df110fea555d5088bba67f446c2435104405be tree 1bb8dfc1a6eadcab3e6df99aff4ae6cde38e94b4 parent 907a42617970a159361f17ef9a63f04d276995ab author David S. Miller Mon, 10 Oct 2005 20:43:22 -0700 committer David S. Miller Mon, 10 Oct 2005 20:43:22 -0700 [SPARC64]: Fix oops on runlevel change with serial console. Incorrect uart_write_wakeup() calls cause reference to a NULL tty pointer in sunsab and sunzilog serial drivers. Signed-off-by: David S. Miller commit 96f339c6b95344942fe5fce012ff4f2a3b2cb80d tree c83a3ecd44d161becb4fe29cbbcdffc6f2f29dbb parent ed39f731ab2e77e58122232f6e27333331d7793d author Greg Edwards Wed, 28 Sep 2005 17:05:19 -0500 committer Tony Luck Tue, 04 Oct 2005 09:39:18 -0700 [IA64] mbcs_init() should give up unless running on sn2 CONFIG_SGI_MBCS is enabled in generic kernels, but the driver may oops some other platforms. Check whether we are running on sn2 and bail out if we are not before doing anything dangerous. Acked-by: Bruce Losure Signed-off-by: Greg Edwards Signed-off-by: Tony Luck