commit 3fbcd940dfb6f11d016801a5e4b89cbe88ddc412 tree 79dc1763a3e90caafd8dffd9eb4e30d917647f99 parent e694420258cb1af5eb5a06e4b1a027e8c917d027 parent e9422e091531c5851da4ffb8ee6dcbc36dc5b7a9 author Linus Torvalds Sat, 02 Sep 2006 14:52:07 -0700 committer Linus Torvalds Sat, 02 Sep 2006 14:52:07 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial * master.kernel.org:/home/rmk/linux-2.6-serial: [SERIAL] 8250: constify some serial structs [SERIAL] Make uart_match_port() work with all memory mapped UARTs commit e694420258cb1af5eb5a06e4b1a027e8c917d027 tree 09848cd700e10fe98c3c299d0a4ecb2df1928c7d parent 3b6362b833b9f7a9d4222cf1bb35f99c411abb31 parent a188ad2bc7dbfa16ccdcaa8d43ade185b969baff author Linus Torvalds Sat, 02 Sep 2006 14:51:45 -0700 committer Linus Torvalds Sat, 02 Sep 2006 14:51:45 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] 3762/1: Fix ptrace cache coherency bug for ARM1136 VIPT nonaliasing Harvard caches [ARM] 3765/1: S3C24XX: cleanup include/asm-arm/arch-s3c2410/dma.h [ARM] 3764/1: S3C24XX: change type naming to kernel style [ARM] 3763/1: add both rtcs to csb337 defconfig [ARM] Fix ARM __raw_read_trylock() implementation [ARM] 3750/3: Fix double VFP emulation for EABI kernels commit 3b6362b833b9f7a9d4222cf1bb35f99c411abb31 tree b72c39577b6a5d50cda735c43213158118c8f7e4 parent d738752fc46c4cc339bc66346cf6134446ce08db author Oleg Nesterov Sat, 02 Sep 2006 21:22:16 +0400 committer Linus Torvalds Sat, 02 Sep 2006 14:51:27 -0700 [PATCH] eligible_child: remove an obsolete ->tgid check It is not possible to find a sub-thread in ->children/->ptrace_children lists, ptrace_attach() does not allow to attach to sub-threads. Even if it was possible to ptrace the task from the same thread group, we can't allow to release ->group_leader while there are others (ptracer) threads in the same group. Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds commit a188ad2bc7dbfa16ccdcaa8d43ade185b969baff tree 7938fff8dded204e92bd7c3149875abb8d7060aa parent 57bcdafcb1e0782e7ae13471d9223c69e3a6cba2 author George G. Davis Sat, 02 Sep 2006 18:43:20 +0100 committer Russell King Sat, 02 Sep 2006 18:43:20 +0100 [ARM] 3762/1: Fix ptrace cache coherency bug for ARM1136 VIPT nonaliasing Harvard caches Patch from George G. Davis Resolve ARM1136 VIPT non-aliasing cache coherency issues observed when using ptrace to set breakpoints and cleanup copy_{to,from}_user_page() while we're here as requested by Russell King because "it's also far too heavy on non-v6 CPUs". NOTES: 1. Only access_process_vm() calls copy_{to,from}_user_page(). 2. access_process_vm() calls get_user_pages() to pin down the "page". 3. get_user_pages() calls flush_dcache_page(page) which ensures cache coherency between kernel and userspace mappings of "page". However flush_dcache_page(page) may not invalidate I-Cache over this range for all cases, specifically, I-Cache is not invalidated for the VIPT non-aliasing case. So memory is consistent between kernel and user space mappings of "page" but I-Cache may still be hot over this range. IOW, we don't have to worry about flush_cache_page() before memcpy(). 4. Now, for the copy_to_user_page() case, after memcpy(), we must flush the caches so memory is consistent with kernel cache entries and invalidate the I-Cache if this mm region is executable. We don't need to do anything after memcpy() for the copy_from_user_page() case since kernel cache entries will be invalidated via the same process above if we access "page" again. The flush_ptrace_access() function (borrowed from SPARC64 implementation) is added to handle cache flushing after memcpy() for the copy_to_user_page() case. Signed-off-by: George G. Davis Signed-off-by: Russell King commit d738752fc46c4cc339bc66346cf6134446ce08db tree d7ca1400a1f6c4f53d4ecc8f1c83c810353b377b parent a930363881c225fb52824145d1ba8f1a8c447dd8 parent db59b464f8708cdba857f16b183cff0b7466d6b5 author Linus Torvalds Fri, 01 Sep 2006 11:40:37 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:40:37 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: uhci-hcd: fix list access bug USB: Support for ELECOM LD-USB20 in pegasus USB: Add VIA quirk fixup for VT8235 usb2 USB: rtl8150_disconnect() needs tasklet_kill() USB Storage: unusual_devs.h for Sony Ericsson M600i USB Storage: Remove the finecam3 unusual_devs entry UHCI: don't stop at an Iso error usb gadget: g_ether spinlock recursion fix USB: add all wacom device to hid-core.c blacklist hid-core.c: Adds all GTCO CalComp Digitizers and InterWrite School Products to blacklist USB floppy drive SAMSUNG SFD-321U/EP detected 8 times commit a930363881c225fb52824145d1ba8f1a8c447dd8 tree 1e6996560b2cdf9d3978a085bdd1b2ebb4a934a7 parent 4cfb04a9d3d6865d932d02616b27b89d3a634026 author Benjamin Herrenschmidt Thu, 31 Aug 2006 21:27:54 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:10 -0700 [PATCH] backlight last round of fixes Fix some more problems (inverted use of semaphores in some places). He also moved my checks into within the protected section which is better. Signed-off-by: Michael Hanselmann Signed-off-by: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4cfb04a9d3d6865d932d02616b27b89d3a634026 tree c4e50178d972ca9c4c9a90a23db413ed3ef66617 parent 3b98b087fc2daab67518d2baa8aef19a6ad82723 author Badari Pulavarty Thu, 31 Aug 2006 21:27:54 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:10 -0700 [PATCH] manage-jbd-its-own-slab fix Missed a place where I forgot to convert kfree() to kmem_cache_free() as part of jbd-manage-its-own-slab changes. Signed-off-by: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b98b087fc2daab67518d2baa8aef19a6ad82723 tree a7defc8fa53b2023affc072cd20c4f4734e4395d parent 1678df37be8abbb381becdc40242ed915e775550 author Nishanth Aravamudan Thu, 31 Aug 2006 21:27:53 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:10 -0700 [PATCH] fix NUMA interleaving for huge pages Since vma->vm_pgoff is in units of smallpages, VMAs for huge pages have the lower HPAGE_SHIFT - PAGE_SHIFT bits always cleared, which results in badd offsets to the interleave functions. Take this difference from small pages into account when calculating the offset. This does add a 0-bit shift into the small-page path (via alloc_page_vma()), but I think that is negligible. Also add a BUG_ON to prevent the offset from growing due to a negative right-shift, which probably shouldn't be allowed anyways. Tested on an 8-memory node ppc64 NUMA box and got the interleaving I expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Adam Litke Cc: Andi Kleen Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1678df37be8abbb381becdc40242ed915e775550 tree f7401c5c552ca4660280550ebeb1b6fd833c7e5a parent 7931e2a92b4de23093362308087daa8aabd3848a author John Keller Thu, 31 Aug 2006 21:27:51 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:10 -0700 [PATCH] sgiioc4: fixup use of mmio ops Fix some bugs in the patch that converted the IOC4 driver from port IO ops to memio ops. http://marc.theaimsgroup.com/?l=linux-ide&m=114895892231438&w=2 Problems fixed are: - Call to default_hwif_mmiops() was not being done until _after_ first IO operation, resulting in the first IO operation being done as a port IO op, instead of memio. - request_region() calls needed to be request_mem_region() - Incomplete error case handling. - Non-usage of ioremap() and __iomem. Signed-off-by: John Keller Signed-off-by: Jeremy Higdon Cc: Alan Cox Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7931e2a92b4de23093362308087daa8aabd3848a tree 07a7a828bb71882a2583ed14ed0c0067eeed1266 parent ca72945d2d0981299035bd9d40a08ff06e74b5b8 author Takashi Iwai Thu, 31 Aug 2006 21:27:50 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:10 -0700 [PATCH] ALSA: ac97: correct some Mic mixer elements Revert the mixer element names of some Mic controls to the state of 2.6.17. This should fix the name mismatch in alsactl. Signed-off-by: Takashi Iwai Cc: Jaroslav Kysela Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca72945d2d0981299035bd9d40a08ff06e74b5b8 tree eb9f64c29bdebb17a686501dc54cb222072f0363 parent d565dd3b0824b67a8442df4de83cc44f7c726fc9 author Benjamin Herrenschmidt Thu, 31 Aug 2006 21:27:50 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:09 -0700 [PATCH] powerpc: Fix PowerMac IRQ handling bug The port to genirq & the new powerpc interrupt model in 2.6.18 introduced a bug in the legacy PowerMac PIC code (used on older machines) because of a typo potentially causing hangs due to interrupt storms. This fixes it, along with a performance issue causing us to do spurrious retriggers after masking an interrupt. Signed-off-by: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d565dd3b0824b67a8442df4de83cc44f7c726fc9 tree efe10d3e6355353a3ffd416a873d609119d9fbd9 parent 0b1d647a02c5a1b67d45287eeb6cb3b2219c41c3 author Benjamin Herrenschmidt Thu, 31 Aug 2006 21:27:49 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:09 -0700 [PATCH] powerpc: More via-pmu backlight fixes The via-pmu backlight code (introduced in 2.6.18) has various design issues causing crashes on machines using it like the old Wallstreet powerbook (Michael, the author, never managed to test on these and I just got my hand on one of those old beasts). This fixes them by no longer trying to hijack the backlight device of the frontmost framebuffer (causing that framebuffer to crash) but having it's own local bits instead. Might look weird but it's better that way on those old machines, at least as a last-minute fix for 2.6.18. We might rework the whole thing later. This patch also changes the way it gets notified of sleep and wakeup in order to properly shut the backlight down on sleep and bring it back on wakeup. Signed-off-by: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b1d647a02c5a1b67d45287eeb6cb3b2219c41c3 tree 13f9caa7b0ebd17dff481f854ac8803aae01234f parent 1e5f5e5cd65eec6ce5c24a9c29f3e52673b121a6 author Pavel Mironchik Thu, 31 Aug 2006 21:27:47 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:09 -0700 [PATCH] dm: work around mempool_alloc, bio_alloc_bioset deadlocks This patch works around a complex dm-related deadlock/livelock down in the mempool allocator. Alasdair said: Several dm targets suffer from this. Mempools are not yet used correctly everywhere in device-mapper: they can get shared when devices are stacked, and some targets share them across multiple instances. I made fixing this one of the prerequisites for this patch: md-dm-reduce-stack-usage-with-stacked-block-devices.patch which in some cases makes people more likely to hit the problem. There's been some progress on this recently with (unfinished) dm-crypt patches at: http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/ (dm-crypt-move-io-to-workqueue.patch plus dependencies) and: I've no problems with a temporary workaround like that, but Milan Broz (a new Redhat developer in the Czech Republic) has started reviewing all the mempool usage in device-mapper so I'm expecting we'll soon have a proper fix for this associated problems. [He's back from holiday at the start of next week.] For now, this sad-but-safe little patch will allow the machine to recover. [akpm@osdl.org: rewrote changelog] Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e5f5e5cd65eec6ce5c24a9c29f3e52673b121a6 tree a16b0c130740de4d3707b14f0744c4ee9016f248 parent a9eec55623f5aedfcef745d3a0e0f97f5d4f74be author Adrian Bunk Thu, 31 Aug 2006 21:27:46 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:09 -0700 [PATCH] schedule obsolete OSS drivers for removal, 2nd round This patch schedules obsolete OSS drivers (with ALSA drivers that support the same hardware) for removal. A rationale of the patch is in http://lkml.org/lkml/2006/7/11/186 Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9eec55623f5aedfcef745d3a0e0f97f5d4f74be tree 11a147f9755ac50cb33c4065e406f987ce0be2c9 parent 43a1dd502f40fdb644402f64cd06cf8016cd9780 author Corey Minyard Thu, 31 Aug 2006 21:27:45 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:09 -0700 [PATCH] IPMI: fix occasional oops on module unload Olaf Kirch of SuSE tracked down a problem where module unloads of the IPMI driver would occasionally result in Oopses. He tracked that down to a variable that wasn't always initialized properly in some situations. This patch initializes that variable. Olaf sent a patch that kzalloc-ed the data, but this structure is large enough that I would perfer to not do that. Thanks Olaf! Signed-off-by: Corey Minyard Cc: Olaf Kirch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 43a1dd502f40fdb644402f64cd06cf8016cd9780 tree 24b6b285e528b0f48c9d70d11a3ba9a15cc47aba parent 290995fc3c06c0548ae303dd0b1371a8727f4fad author Henrik Kretzschmar Thu, 31 Aug 2006 21:27:44 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:09 -0700 [PATCH] kerneldoc for handle_bad_irq() Adds the description of the parameters from handle_bad_irq(). Signed-off-by: Henrik Kretzschmar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 290995fc3c06c0548ae303dd0b1371a8727f4fad tree d959976f4349a9e5d30bd72acc2e9621e85d5b4d parent ef16b5194f3233a11851180cd82eafb76542047d author Ian E. Morgan Thu, 31 Aug 2006 21:27:42 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] SBC8360: module_param() permission fixes The last argument of module_param is permissions, not default value. Acked-by: Wim Van Sebroeck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef16b5194f3233a11851180cd82eafb76542047d tree 2c9cf994951b5d539f5dce21aaf93f83c0ba17d3 parent a9aa141cfc2e08470bba3b9a8328bc50ac457488 author Olaf Hering Thu, 31 Aug 2006 21:27:41 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] exit early in floppy_init when no floppy exists modprobe -v floppy on a Apple G5 writes incorrect stuff to dmesg: Floppy drive(s): fd0 is 2.88M The reason is that the legacy io check happens very late, when part of the floppy stuff is already initialized. check_legacy_ioport() returns either -ENODEV right away, or it walks the device-tree looking for a floppy node. Signed-off-by: Olaf Hering Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9aa141cfc2e08470bba3b9a8328bc50ac457488 tree 8b97118b574db7f2ec3d254db6dac232e9240b6e parent d742eae8e2655a960b2e07f3f622d78546c14031 author Andrew Morton Thu, 31 Aug 2006 21:27:40 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] x86: increase MAX_MP_BUSSES on default arch Vitezslav Samel reports that an HP DL380 g4 fails using the default arch due to the ISA bus having an ID of 32. It would have worked OK with the generic arch - for some reason the default arch doesn't support as many busses. So bump that up to support 256 busses, but leave it at 32 if we're building a tiny system to save a bit of memory. Cc: Vitezslav Samel Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d742eae8e2655a960b2e07f3f622d78546c14031 tree 66505da9522487897d86cfafd78844f174b4592b parent 35df17c57cecb08f0120fb18926325f1093dc429 author Bill Huey (hui Thu, 31 Aug 2006 21:27:39 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] xtensa: ptrace: EXIT_ZOMBIE fix We're testing the wrong task_struct field. Acked-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35df17c57cecb08f0120fb18926325f1093dc429 tree dc79780b3133e55dc591e35238fdb313e8e0219e parent 30f3174d1c506db2c6d2c1dddc9c064e741d6b76 author Shailabh Nagar Thu, 31 Aug 2006 21:27:38 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] task delay accounting fixes Cleanup allocation and freeing of tsk->delays used by delay accounting. This solves two problems reported for delay accounting: 1. oops in __delayacct_blkio_ticks http://www.uwsg.indiana.edu/hypermail/linux/kernel/0608.2/1844.html Currently tsk->delays is getting freed too early in task exit which can cause a NULL tsk->delays to get accessed via reading of /proc//stats. The patch fixes this problem by freeing tsk->delays closer to when task_struct itself is freed up. As a result, it also eliminates the use of tsk->delays_lock which was only being used (inadequately) to safeguard access to tsk->delays while a task was exiting. 2. Possible memory leak in kernel/delayacct.c http://www.uwsg.indiana.edu/hypermail/linux/kernel/0608.2/1389.html The patch cleans up tsk->delays allocations after a bad fork which was missing earlier. The patch has been tested to fix the problems listed above and stress tested with rapid calls to delay accounting's taskstats command interface (which is the other path that can access the same data, besides the /proc interface causing the oops above). Signed-off-by: Shailabh Nagar Cc: Balbir Singh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30f3174d1c506db2c6d2c1dddc9c064e741d6b76 tree 3b29c5f68c06604522db63b70c374fe1c31eafb1 parent 202af6d50155f8594ba01d8e0a54d77facc0152a author john stultz Thu, 31 Aug 2006 21:27:37 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] Fix faulty HPET clocksource usage (fix for bug #7062) Apparently some systems export valid HPET addresses, but hpet_enable() fails. Then when the HPET clocksource starts up, it only checks for a valid HPET address, and the result is a system where time does not advance. See http://bugme.osdl.org/show_bug.cgi?id=7062 for details. This patch just makes sure we better check that the HPET is functional before registering the HPET clocksource. Signed-off-by: John Stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 202af6d50155f8594ba01d8e0a54d77facc0152a tree 5f84f613d0304c990692de13e34708b020060f68 parent ddac7c7e3a0fe9cfdcef0de24476b8d69f8cf3e7 author Paul Fulghum Thu, 31 Aug 2006 21:27:36 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] synclink_gt: fix receive tty error handling Fix receive tty error handling in synclink_gt driver. Adrian reported compiler warning for incorrect bit test against char variable. I determined these and other device specific error bits were incorrectly defined. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddac7c7e3a0fe9cfdcef0de24476b8d69f8cf3e7 tree b75845fa2424284342869566b3ed5233abecde92 parent df9ecaba3f152d1ea79f2a5e0b87505e03f47590 author NeilBrown Thu, 31 Aug 2006 21:27:36 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] md: Fix issues with referencing rdev in md/raid1 We need to be careful when referencing mirrors[i].rdev. It can disappear under us at various times. So: fix a couple of problem places. comment a couple of non-problem places move an 'atomic_add' which deferences rdev down a little way to some where where it is sure to not be NULL. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df9ecaba3f152d1ea79f2a5e0b87505e03f47590 tree b25f855923ef437a0513559425d6c875dbd3e617 parent a302eb4e4602d6444ae75a0e516fb2f2c62d6642 author Christoph Lameter Thu, 31 Aug 2006 21:27:35 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] ZVC: Scale thresholds depending on the size of the system The ZVC counter update threshold is currently set to a fixed value of 32. This patch sets up the threshold depending on the number of processors and the sizes of the zones in the system. With the current threshold of 32, I was able to observe slight contention when more than 130-140 processors concurrently updated the counters. The contention vanished when I either increased the threshold to 64 or used Andrew's idea of overstepping the interval (see ZVC overstep patch). However, we saw contention again at 220-230 processors. So we need higher values for larger systems. But the current default is already a bit of an overkill for smaller systems. Some systems have tiny zones where precision matters. For example i386 and x86_64 have 16M DMA zones and either 900M ZONE_NORMAL or ZONE_DMA32. These are even present on SMP and NUMA systems. The patch here sets up a threshold based on the number of processors in the system and the size of the zone that these counters are used for. The threshold should grow logarithmically, so we use fls() as an easy approximation. Results of tests on a system with 1024 processors (4TB RAM) The following output is from a test allocating 1GB of memory concurrently on each processor (Forking the process. So contention on mmap_sem and the pte locks is not a factor): X MIN TYPE: CPUS WALL WALL SYS USER TOTCPU fork 1 0.552 0.552 0.540 0.012 0.552 fork 4 0.552 0.548 2.164 0.036 2.200 fork 16 0.564 0.548 8.812 0.164 8.976 fork 128 0.580 0.572 72.204 1.208 73.412 fork 256 1.300 0.660 310.400 2.160 312.560 fork 512 3.512 0.696 1526.836 4.816 1531.652 fork 1020 20.024 0.700 17243.176 6.688 17249.863 So a threshold of 32 is fine up to 128 processors. At 256 processors contention becomes a factor. Overstepping the counter (earlier patch) improves the numbers a bit: fork 4 0.552 0.548 2.164 0.040 2.204 fork 16 0.552 0.548 8.640 0.148 8.788 fork 128 0.556 0.548 69.676 0.956 70.632 fork 256 0.876 0.636 212.468 2.108 214.576 fork 512 2.276 0.672 997.324 4.260 1001.584 fork 1020 13.564 0.680 11586.436 6.088 11592.523 Still contention at 512 and 1020. Contention at 1020 is down by a third. 256 still has a slight bit of contention. After this patch the counter threshold will be set to 125 which reduces contention significantly: fork 128 0.560 0.548 69.776 0.932 70.708 fork 256 0.636 0.556 143.460 2.036 145.496 fork 512 0.640 0.548 284.244 4.236 288.480 fork 1020 1.500 0.588 1326.152 8.892 1335.044 [akpm@osdl.org: !SMP build fix] Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a302eb4e4602d6444ae75a0e516fb2f2c62d6642 tree 8f477d121e8bd31611b1ae3c3658f5c71684f788 parent b63fe1ba4409774738c971d4e6f0b12b54cc2c65 author Christoph Lameter Thu, 31 Aug 2006 21:27:34 -0700 committer Linus Torvalds Fri, 01 Sep 2006 11:39:08 -0700 [PATCH] ZVC: Overstep counters Increments and decrements are usually grouped rather than mixed. We can optimize the inc and dec functions for that case. Increment and decrement the counters by 50% more than the threshold in those cases and set the differential accordingly. This decreases the need to update the atomic counters. The idea came originally from Andrew Morton. The overstepping alone was sufficient to address the contention issue found when updating the global and the per zone counters from 160 processors. Also remove some code in dec_zone_page_state. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b63fe1ba4409774738c971d4e6f0b12b54cc2c65 tree 6f035e3502324a68427b548116d221129a66cf2c parent 0668b47205e42c04e9c1b594573be5a822ac7f09 parent 5a4e6dccbc0cd1b726820b782daebf887dcb95e9 author Linus Torvalds Thu, 31 Aug 2006 21:27:29 -0700 committer Linus Torvalds Thu, 31 Aug 2006 21:27:29 -0700 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: IB/mthca: Use IRQ safe locks to protect allocation bitmaps commit db59b464f8708cdba857f16b183cff0b7466d6b5 tree aba762f4214e4bbbf7b6340f5a7007c7a78c2393 parent 5df3d8b53f436a26fad8077b1ceb39a7708e95ec author Alan Stern Thu, 31 Aug 2006 14:18:39 -0400 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 uhci-hcd: fix list access bug When skipping to the last TD of an URB, go to the _last_ entry in the list instead of the _first_ entry (as780). This fixes Bugzilla #6747 and possibly others. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 5df3d8b53f436a26fad8077b1ceb39a7708e95ec tree c516f7bd1589dd9b0b3f2c99b7f146428b1693a1 parent 1ae4f9ba84b94b85d995a6ae0064b869ff15b080 author Nobuhiro Iwamatsu Tue, 29 Aug 2006 10:47:41 +0300 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 USB: Support for ELECOM LD-USB20 in pegasus This patch is support LD-USB20 of the USB LAN device. http://www2.elecom.co.jp/products/LD-USB20.html ( Japanese only ) I am using this device. And, I confirmed work by using this patch. Signed-off-by: Nobuhiro Iwamatsu Acked-by: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit 1ae4f9ba84b94b85d995a6ae0064b869ff15b080 tree c7d1b959276bb438d2f79ebd9f2a5c1685af7db1 parent eff674a514bd3f59e0cae9b843e0665b576a5ed8 author Mark Hindley Mon, 28 Aug 2006 20:43:25 +0100 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 USB: Add VIA quirk fixup for VT8235 usb2 Patch to add VIA PCI quirk for Enhanced/Extended USB on VT8235 southbridge. It is needed in order to use EHCI/USB 2.0 with ACPI. Without it IRQs are not routed correctly, you get an "Unlink after no-IRQ?" error and the device is unusable. I belive this could also be a fix for Bugzilla Bug 5835. Signed-off-by: Mark Hindley Signed-off-by: Greg Kroah-Hartman commit eff674a514bd3f59e0cae9b843e0665b576a5ed8 tree 624efc633bf91bcb42e55b86f935996812e72eed parent c9c770ed1fe2698c9a3b18e5fc12d1262e099c0c author Andrew Morton Mon, 14 Aug 2006 23:11:09 -0700 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 USB: rtl8150_disconnect() needs tasklet_kill() We need to wait until any currently-running handler has completed. Fixes an unplug-time oops reported by "Miles Lane" . Cc: "Petko Manolov" Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit c9c770ed1fe2698c9a3b18e5fc12d1262e099c0c tree a7250cea06a0d9c4d7eafcd037fd598e130ca3ce parent f84c749f1ce6a54b84b098f5fa53a01686401fac author Phil Dibowitz Sun, 27 Aug 2006 23:54:37 -0700 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 USB Storage: unusual_devs.h for Sony Ericsson M600i This entry was sent in by Emmanuel Vasilakis , turned into a patch by yours truly. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit f84c749f1ce6a54b84b098f5fa53a01686401fac tree c9fa421d599808ed854a317a6e93a50eb78fc3ee parent 7ceb932f489e86b555258e5f7d7f061f9c1863eb author Phil Dibowitz Wed, 23 Aug 2006 21:11:01 -0700 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 USB Storage: Remove the finecam3 unusual_devs entry This patch removes the Kyocera Finecam L3 entry in unusual devices originally submitted by Michael Krauth and Alessandro Fracchetti given that Gerriet finds he doesn't need it and Alessandro confirms it isn't needed anymore as well. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 7ceb932f489e86b555258e5f7d7f061f9c1863eb tree 818ba4b61f7896897a3c174582c1bee26a960607 parent 789851cf0005b946557340c9bbfc7728906cdbfc author Alan Stern Mon, 21 Aug 2006 11:58:50 -0400 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 UHCI: don't stop at an Iso error Unlike other sorts of endpoint queues, Isochronous queues don't stop when an error is encountered. This patch (as772) fixes the scanning routine in uhci-hcd, to make it keep on going when it finds an Iso error. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 789851cf0005b946557340c9bbfc7728906cdbfc tree f10696d1397dead43f70509432266f7afef9aeb9 parent ea186651d5a7b822c855de5de505c5c19812bf0b author David Brownell Mon, 21 Aug 2006 15:26:38 -0700 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 usb gadget: g_ether spinlock recursion fix The new spinlock debug code turned up a spinlock recursion bug in the Ethernet gadget driver on a disconnect path; it would show up with any UDC driver where the cancellation of active requests was synchronous, rather than e.g. delayed until a controller's completion IRQ. That recursion is fixed here by creating and using a new spinlock to protect the relevant lists. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit ea186651d5a7b822c855de5de505c5c19812bf0b tree 65b75045d606c1445eda03b1fdb5270a21bf5e22 parent 6f8d9e26e7deecb1296c221aa979542bc5d63f20 author Ping Cheng Fri, 14 Jul 2006 16:50:04 -0700 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:30 -0700 USB: add all wacom device to hid-core.c blacklist Add all Wacom devices to hid-core.c blacklist Signed-off-by: Ping Cheng Signed-off-by: Greg Kroah-Hartman commit 6f8d9e26e7deecb1296c221aa979542bc5d63f20 tree 5b49e86db8c0aa2160a1a860493a7d7b4ad87dd8 parent 082fdd12b15c28ab74e5f6559fb3ba15bf9fd393 author Jeremy Roberson Mon, 28 Aug 2006 19:58:28 -0700 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:29 -0700 hid-core.c: Adds all GTCO CalComp Digitizers and InterWrite School Products to blacklist Adds all GTCO CalComp Digitizers and InterWrite School Products to hid-core.c blacklist. Signed-off-by: Jeremy A. Roberson Signed-off-by: Greg Kroah-Hartman commit 082fdd12b15c28ab74e5f6559fb3ba15bf9fd393 tree dd5792af4e8febbe4024bd39ce576f2d8461c624 parent 0668b47205e42c04e9c1b594573be5a822ac7f09 author juergen.mell@t-online.de Mon, 28 Aug 2006 13:53:53 -0700 committer Greg Kroah-Hartman Thu, 31 Aug 2006 18:04:29 -0700 USB floppy drive SAMSUNG SFD-321U/EP detected 8 times USB floppy drive SAMSUNG SFD-321U/EP detected 8 times Acked-by: mantel@suse.de Signed-off-by: Greg Kroah-Hartman commit 5a4e6dccbc0cd1b726820b782daebf887dcb95e9 tree 28750ce9e633081f8e814d69a3f3d21fd71359f8 parent 22db37ec5fd51b0c77b1dd5751b1cdc2672c08d6 author Roland Dreier Thu, 31 Aug 2006 16:43:06 -0700 committer Roland Dreier Thu, 31 Aug 2006 17:25:56 -0700 IB/mthca: Use IRQ safe locks to protect allocation bitmaps It is supposed to be OK to call mthca_create_ah() and mthca_destroy_ah() from any context. However, for mem-full HCAs, these functions use the mthca_alloc() and mthca_free() bitmap helpers, and those helpers use non-IRQ-safe spin_lock() internally. Lockdep correctly warns that this could lead to a deadlock. Fix this by changing mthca_alloc() and mthca_free() to use spin_lock_irqsave(). Signed-off-by: Roland Dreier commit 0668b47205e42c04e9c1b594573be5a822ac7f09 tree efc844d3b50e37a0db4cc650c7b005911945e786 parent 5991c84421f3ea1e281954610a39e4993e5c39e4 author Wei Dong Thu, 31 Aug 2006 15:24:48 -0700 committer David S. Miller Thu, 31 Aug 2006 15:24:48 -0700 [IPV4]: Fix SNMPv2 "ipFragFails" counter error When I tested Linux kernel 2.6.17.7 about statistics "ipFragFails",found that this counter couldn't increase correctly. The criteria is RFC2011: RFC2011 ipFragFails OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of IP datagrams that have been discarded because they needed to be fragmented at this entity but could not be, e.g., because their Don't Fragment flag was set." ::= { ip 18 } When I send big IP packet to a router with DF bit set to 1 which need to be fragmented, and router just sends an ICMP error message ICMP_FRAG_NEEDED but no increments for this counter(in the function ip_fragment). Signed-off-by: Wei Dong Signed-off-by: David S. Miller commit 5991c84421f3ea1e281954610a39e4993e5c39e4 tree ce8ea8b89cf4f0a98322c117214b980cb055bad5 parent 99c7bc0133b875280fdd2bf78e4ffbd58cc609e3 author Akinobu Mita Thu, 31 Aug 2006 15:21:50 -0700 committer David S. Miller Thu, 31 Aug 2006 15:21:50 -0700 [NET]: Rate limiting for socket allocation failure messages. This patch limits the warning messages when socket allocation failures happen. It happens under memory pressure. Signed-off-by: Akinobu Mita Signed-off-by: David S. Miller commit 99c7bc0133b875280fdd2bf78e4ffbd58cc609e3 tree bf66fa8252c23145730e6efceffe19af4c7b002c parent dd1a47c21ee4f4f682285ad9d4624d2cec436f93 author YOSHIFUJI Hideaki Thu, 31 Aug 2006 14:52:17 -0700 committer David S. Miller Thu, 31 Aug 2006 14:52:17 -0700 [IPV6]: Fix kernel OOPs when setting sticky socket options. Bug noticed by Remi Denis-Courmont . Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit dd1a47c21ee4f4f682285ad9d4624d2cec436f93 tree eb25419d0c4a3e044aa8f3d0d2ffe87c02ad0a70 parent 22db37ec5fd51b0c77b1dd5751b1cdc2672c08d6 parent 7b7db1b59563aebe2f4d2ba850468afb2c87c82a author Linus Torvalds Thu, 31 Aug 2006 14:42:07 -0700 committer Linus Torvalds Thu, 31 Aug 2006 14:42:07 -0700 Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: [S390] cio: unsolicited interrupts during sense pgid. [S390] cio: no path after machine check. [S390] cio: kernel stack overflow. [S390] dasd: fix device shutdown process. [S390] broken copy_in_user function. commit 22db37ec5fd51b0c77b1dd5751b1cdc2672c08d6 tree e77e6051471162d5201cce6e0e41712c5d175252 parent 4c15343167b5febe7bb0ba96aad5bef42ae94d3b author Chris Wright Thu, 31 Aug 2006 00:53:22 -0700 committer Linus Torvalds Thu, 31 Aug 2006 10:46:07 -0700 [PATCH] i386: rwlock.h fix smp alternatives fix Commit 8c74932779fc6f61b4c30145863a17125c1a296c ("i386: Remove alternative_smp") did not actually compile on x86 with CONFIG_SMP. This fixes the __build_read/write_lock helpers. I've boot tested on SMP. [ Andi: "Oops, I think that was a quilt unrefreshed patch. Sorry. I fixed those before testing, but then still send out the old patch." ] Signed-off-by: Chris Wright Cc: Gerd Hoffmann Acked-by: Andi Kleen Signed-off-by: Linus Torvalds commit 57bcdafcb1e0782e7ae13471d9223c69e3a6cba2 tree 0f3b4a4355b6512c1f789fa51d9c975a6cd561ab parent f105a7dfc5e81c28dd23ebf2328e42972e2cf240 author Ben Dooks Thu, 31 Aug 2006 15:26:41 +0100 committer Russell King Thu, 31 Aug 2006 15:26:41 +0100 [ARM] 3765/1: S3C24XX: cleanup include/asm-arm/arch-s3c2410/dma.h Patch from Ben Dooks Cleanup for include/asm-arma/arch-s3c2410/dma.h, by using tab characters to indent items, remove the now un-necessary changelog, and update the copyright information. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit f105a7dfc5e81c28dd23ebf2328e42972e2cf240 tree ce38e1802bef52e03f9f16acc5344322d2ddc4f6 parent 851fb304b510fc1e5dc5852cda25361219c1c4b1 author Ben Dooks Thu, 31 Aug 2006 15:26:37 +0100 committer Russell King Thu, 31 Aug 2006 15:26:37 +0100 [ARM] 3764/1: S3C24XX: change type naming to kernel style Patch from Ben Dooks The type naming in the s3c24xx dma code is riddled with typedefs creating _t types, from the code import from 2.4 which is contrary to the current Kernel coding style. This patch cleans this up, removing the typedefs and and fixing up the resultant code changes. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 851fb304b510fc1e5dc5852cda25361219c1c4b1 tree 723496cee266d15c4004ad57ad9cd4aff2ae568b parent 8e34703b9315688305306d26148088b0a8292563 author David Brownell Thu, 31 Aug 2006 15:26:35 +0100 committer Russell King Thu, 31 Aug 2006 15:26:35 +0100 [ARM] 3763/1: add both rtcs to csb337 defconfig Patch from David Brownell This adds RTC support to the csb337 default config. Both the AT91 and the ds1307 RTCs are enabled (rtc0 and rtc1 respectively). The ds1307 is used to initialize the system time, since it's battery-backed. From then on the AT91 RTC is used, since it's more capable (with both alarm and update irqs, and system wakeup capability) even though it needs manual initialization (symlink /dev/rtc to /dev/rtc0 for older versions of hwclock, then "hwclock --systohc") in an rc script or from inittab. Signed-off-by: David Brownell Signed-off-by: Russell King commit 8e34703b9315688305306d26148088b0a8292563 tree 86955dfb894b441525be160e1f6814e6cfbd9a3c parent 0355b3e039c621d15321fd0d5cf72d8bdb8f723d author Russell King Thu, 31 Aug 2006 15:09:30 +0100 committer Russell King Thu, 31 Aug 2006 15:09:30 +0100 [ARM] Fix ARM __raw_read_trylock() implementation Matthew Wilcox pointed out that the generic implementation of this is unfit for use. Here's an ARM optimised version instead. Signed-off-by: Russell King commit 4c15343167b5febe7bb0ba96aad5bef42ae94d3b tree e70f835cc57a6e4b7e18bcb1908217a95a389ba7 parent eb36c2884a1a2190791afe65fd833b2d3cd4b999 parent d0027bf09f09d95a23b8f476ba8cea28f2576781 author Linus Torvalds Wed, 30 Aug 2006 21:44:06 -0700 committer Linus Torvalds Wed, 30 Aug 2006 21:44:06 -0700 Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: [POWERPC] Fix return value from memcpy [POWERPC] iseries: Define insw et al. so libata/ide will compile [POWERPC] Fix irq enable/disable in smp_generic_take_timebase [POWERPC] Fix problem with time not advancing on 32-bit platforms [POWERPC] Restore copyright notice in arch/powerpc/kernel/fpu.S [POWERPC] Fix up ibm_architecture_vec definition [POWERPC] Make OF irq map code detect more error cases [POWERPC] Support for "weird" MPICs and fixup mpc7448_hpc2 [POWERPC] Fix MPIC sense codes in documentation [POWERPC] Fix performance regression in IRQ radix tree locking [POWERPC] Add mpc7448hpc2 device tree source file [POWERPC] Add MPC8349E MDS device tree source file to arch/powerpc/boot/dts [POWERPC] modify mpc83xx platforms to use new IRQ layer [POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_type to set IRQ sense [POWERPC] back up old school ipic.[hc] to arch/ppc [POWERPC] Use mpc8641hpcn PIC base address from dev tree. [POWERPC] Allow MPC8641 HPCN to build with CONFIG_PCI disabled too. [POWERPC] Fix powerpc 44x_mmu build [POWERPC] Remove flush_dcache_all export commit eb36c2884a1a2190791afe65fd833b2d3cd4b999 tree 2bc7defdfee59f273e81a5ddd2e792c65bb93d4c parent 98a3c781057fa43494e7e8b39d639e93fca0ecbf author Paul Mackerras Wed, 30 Aug 2006 16:13:16 +1000 committer Linus Torvalds Wed, 30 Aug 2006 21:21:55 -0700 [PATCH] ppc32: fix last_jiffy time comparison This fixes a hang on ppc32. The problem was that I was comparing a 32-bit quantity with a 64-bit quantity, and consequently time wasn't advancing. This makes us use a 64-bit quantity on all platforms, which ends up simplifying the code since we can now get rid of the tb_last_stamp variable (which actually fixes another bug that Ben H and I noticed while going carefully through the code). This works fine on my G4 tibook. Let me know how it goes on your machines. Acked-by: Olaf Hering Acked-by: Mikael Pettersson Signed-off-by: Linus Torvalds commit 98a3c781057fa43494e7e8b39d639e93fca0ecbf tree 73a0cdcac3ec6ca0257de607efcfbedc8897fc07 parent 9129d6ea475b7e9f216c8324ea05b7a0d8aba540 author Benjamin Herrenschmidt Thu, 31 Aug 2006 14:04:34 +1000 committer Linus Torvalds Wed, 30 Aug 2006 21:21:55 -0700 [PATCH] fbdev: Fix crashes in various fbdev's blank routines The backlight changes that went in had a bug where they could cause the kernel to access an unitialized pointer when blanking if there is no backlight control on a machine. The bug affects atyfb, aty128fb, nvidiafb and rivafb. radeonfb seems to be ok. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit d0027bf09f09d95a23b8f476ba8cea28f2576781 tree 8dc94937525548c34c73c648fdeb2d9d0dc895fb parent e7498656b5e2e9e3806d263fecc90b2707d02093 author Paul Mackerras Thu, 31 Aug 2006 13:22:58 +1000 committer Paul Mackerras Thu, 31 Aug 2006 13:22:58 +1000 [POWERPC] Fix return value from memcpy As pointed out by Herbert Xu , our memcpy implementation didn't return the destination pointer as its return value, and there is code in the kernel that expects that. This fixes it. Signed-off-by: Paul Mackerras commit 9129d6ea475b7e9f216c8324ea05b7a0d8aba540 tree 88727e330f6f936d8850a99e711133bb4c97b8e3 parent 18f2905fcec3e06deafd25a02e37eabaaaaef744 parent c57d68caeed7bc335e6d35c951a9abae733a580b author Linus Torvalds Wed, 30 Aug 2006 17:12:11 -0700 committer Linus Torvalds Wed, 30 Aug 2006 17:12:11 -0700 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: [IA64] Increase default nodes shift to 10, nr_cpus to 1024 [IA64] remove redundant local_irq_save() calls from sn_sal.h [IA64] panic if topology_init kzalloc fails [IA64-SGI] Silent data corruption caused by XPC V2. commit 18f2905fcec3e06deafd25a02e37eabaaaaef744 tree 4d5b14ddd63782e46056892a8b3c644f03a38842 parent a7dec1e0dbb9e8e032b56a62d07ab6ac009109d3 author Roland Scheidegger Wed, 30 Aug 2006 23:17:55 +0100 committer Linus Torvalds Wed, 30 Aug 2006 16:06:14 -0700 [PATCH] drm: radeon flush TCL VAP for vertex program enable/disable The radeon requires a VAP state flush when enabling/disabling vertex programs on the r200 cards. Signed-off-by: Dave Airlie Signed-off-by: Linus Torvalds commit a7dec1e0dbb9e8e032b56a62d07ab6ac009109d3 tree 0ab90fffff8b5b71a6705ee9e8647dfdee0aa0eb parent ec0063b40a2291e095faf07fbeb94be92e525c54 author Alan Cox Wed, 30 Aug 2006 19:14:25 +0100 committer Linus Torvalds Wed, 30 Aug 2006 16:05:16 -0700 [PATCH] Missing PCI id update for VIA IDE The following change from -mm is important to 2.6.18 (actually to 2.6.17 but its too late for that). This was contributed over three months ago by VIA to Bartlomiej and nothing happened. As a result the new chipset is now out and Linux won't run on it. By the time 2.6.18 is finalised this will be the defacto standard VIA chipset so support would be a good plan. Tested in -mm for a while, its essentially a PCI ident update but for the bridge chip because VIA do things in weird ways. Signed-off-by: Linus Torvalds commit ec0063b40a2291e095faf07fbeb94be92e525c54 tree c8605faccf1781687b91dafeaba6bdd6c2f10943 parent 01ebb77b31149d847726a8847ad0d37631d7f049 author Suleiman Souhlal Wed, 30 Aug 2006 19:37:20 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:16 -0700 [PATCH] x86_64: Don't write out segments from vsyscall32 DSO if it is not mapped It's possible to get an invalid page fault in kernel mode when we try to write out segments from vsyscall32 when dumping core for a 32bit process if the vsyscall32 DSO is not mapped in its address space (which can happen if, for example, ulimit -v 100 is run). Signed-off-by: Suleiman Souhlal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 01ebb77b31149d847726a8847ad0d37631d7f049 tree a91d01f8c17d24041a4f2015e093ddfbd9defa1e parent 386dcafaacd212ef4a8aeed67a7db3ffbb44c7b2 author Keith Owens Wed, 30 Aug 2006 19:37:19 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:16 -0700 [PATCH] x86_64: Save original IST values for checking stack addresses The values in init_tss.ist[] can change when an IST event occurs. Save the original IST values for checking stack addresses when debugging or doing stack traces. Signed-off-by: Keith Owens Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 386dcafaacd212ef4a8aeed67a7db3ffbb44c7b2 tree 99e470b46fb81a1cde164458d03c9c9d807c1231 parent 266f0566761cf88906d634727b3d9fc2556f5cbd author Andi Kleen Wed, 30 Aug 2006 19:37:18 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:16 -0700 [PATCH] i386: Remove __KERNEL__ ifdef around _syscall*() After all their only point is having them in user space. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 266f0566761cf88906d634727b3d9fc2556f5cbd tree a8f664a8b02e9363be200f80e0567dc2c6de74e3 parent bbad0b669d33f3023cfe70ec79ba5ea487afca59 author Andi Kleen Wed, 30 Aug 2006 19:37:17 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:16 -0700 [PATCH] i386: Fix stack switching in do_IRQ There was a bogus hunk from the genirq merge that essentially broke stack switching for hard interrupts. Remove it since it isn't needed. Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bbad0b669d33f3023cfe70ec79ba5ea487afca59 tree ea873666050096e8ff0876e610ee9e78eb40c6ab parent 40dd2d20f220eda1cd0da8ea3f0f9db8971ba237 author Andi Kleen Wed, 30 Aug 2006 19:37:16 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:16 -0700 [PATCH] x86_64: Remove __KERNEL__ ifdef around _syscall*() After all their only point is having them in user space. On x86-64 they don't even work in kernel space. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 40dd2d20f220eda1cd0da8ea3f0f9db8971ba237 tree aea5d128ef6ce5bc16f18502f4d6745268344731 parent 8c74932779fc6f61b4c30145863a17125c1a296c author Andi Kleen Wed, 30 Aug 2006 19:37:15 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:16 -0700 [PATCH] x86: Disable MMCONFIG on Intel SDV using DMI blacklist As a replacement for the earlier removal of the e820 MCFG check we blacklist the Intel SDV with the original BIOS bug that motivated that check. On those machines don't use MMCONFIG. This also adds a new pci=mmconf parameter to override the blacklist. Cc: Greg KH Cc: Arjan van de Ven Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8c74932779fc6f61b4c30145863a17125c1a296c tree 664c5c1ea4674ec35dbc499294c3830f8176fb43 parent 841be8ddf92578e5b481ed9f9abb85649fc13238 author Andi Kleen Wed, 30 Aug 2006 19:37:14 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] i386: Remove alternative_smp The .fill causes miscompilations with some binutils version. Instead just patch the lock prefix in the lock constructs. That is the majority of the cost and should be good enough. Cc: Gerd Hoffmann Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 841be8ddf92578e5b481ed9f9abb85649fc13238 tree 55d2d25350eb15b6822d91b38a7cddd9c697b58f parent ceee88223047749ad683d397b19904c3dfb6adeb author Andi Kleen Wed, 30 Aug 2006 19:37:13 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] x86_64: Remove alternative_smp The .fill causes miscompilations with some binutils version. Instead just patch the lock prefix in the lock constructs. That is the majority of the cost and should be good enough. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ceee88223047749ad683d397b19904c3dfb6adeb tree 0ffd471277ba53299690c444e669ea343cba145f parent ea424055b771a165c9abd3ae109255a3b825c745 author Andi Kleen Wed, 30 Aug 2006 19:37:12 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] x86_64: Recover 1MB of kernel memory Noticed by Jan Beulich. When the kernel was moved from 1MB to 2MB in 2.6.17 the kernel reservation code wasn't adjusted and it still reserved starting with 1MB. This means 1MB always were lost. This patch fixes this by reserving only starting with _text. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ea424055b771a165c9abd3ae109255a3b825c745 tree 228f3bf4f392a8ce45d78a1ea8cfd8bd6f1f4f5b parent 61171b8dbd36b0cc34d3813a59a8e4dc2984414d author Jan Beulich Wed, 30 Aug 2006 19:37:11 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] x86: Make backtracer fallback logic more bullet-proof The unwinder fallback logic still had potential for falling through to the legacy stack trace code without printing an indication (at once serving as a separator) of this. Further, the stack pointer retrieval for the fallback should be as restrictive as possible (in order to avoid having the legacy stack tracer try to access invalid memory). The patch tightens that, but this could certainly be further improved. Also making the call_trace command line option now conditional upon CONFIG_STACK_UNWIND (as it's meaningless otherwise). Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 61171b8dbd36b0cc34d3813a59a8e4dc2984414d tree 5c4dede0bddc19c1e564ebcd95976afcebe63a4f parent 29fe5f3bafb644c33269fb0f2a719d4809a07332 author Jan Beulich Wed, 30 Aug 2006 19:37:10 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] x86: fix x86 cpuid keys used in alternative_smp() By hard-coding the cpuid keys for alternative_smp() rather than using the symbolic constant it turned out that incorrect values were used on both i386 (0x68 instead of 0x69) and x86-64 (0x66 instead of 0x68). Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 29fe5f3bafb644c33269fb0f2a719d4809a07332 tree 12bac74201557aaf93a664df04622a90626f2c8c parent c05991ed12fd71e539dd8de8f5663450cd0c934c author Andi Kleen Wed, 30 Aug 2006 19:37:09 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] i386: Add kernel thread stack frame termination for properly stopping stack unwinds. One open question: Should this added push perhaps be made conditional upon CONFIG_STACK_UNWIND or CONFIG_UNWIND_INFO? [AK: not needed, these are all very slow paths] Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c05991ed12fd71e539dd8de8f5663450cd0c934c tree e9a86dac1c2bf688d0683be97a5de32af59c175e parent 11012d419cfc0e0f78ca356aca03674217910124 author Andi Kleen Wed, 30 Aug 2006 19:37:08 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] x86_64: Add kernel thread stack frame termination for properly stopping stack unwinds. One open question: Should these added pushes perhaps be made conditional upon CONFIG_STACK_UNWIND or CONFIG_UNWIND_INFO? [AK: Not needed -- these are all very slow paths] Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 11012d419cfc0e0f78ca356aca03674217910124 tree 6013f84adb892155d7141f3e996a52ab13b7669f parent ddcf36511d213501a035f168334046ba30a61a11 author Andi Kleen Wed, 30 Aug 2006 19:37:06 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] x86: Revert e820 MCFG heuristics The check for the MCFG table being reserved in the e820 map was originally added to detect a broken BIOS in a preproduction Intel SDV. However it also breaks the Apple x86 Macs, which can't supply this properly, but need a working MCFG. With this patch they wouldn't use the MCFG and not work. After some discussion I think it's best to remove the heuristic again. It also failed on some other boxes (although it didn't cause much problems there because old style port access for PCI config space still works as fallback), but the preproduction SDVs can just use pci=nommcfg. Supporting production machines properly is more important. Edgar Hucek did all the debugging work. Cc: Arjan van de Ven Cc: Edgar Hucek Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ddcf36511d213501a035f168334046ba30a61a11 tree e1cd6cf6026293b8d0f94aa2f16fc1c4f77e5443 parent df31405a9a240e8ea882953ea90736ff57b47643 author Andi Kleen Wed, 30 Aug 2006 19:37:05 +0200 committer Linus Torvalds Wed, 30 Aug 2006 16:05:15 -0700 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit df31405a9a240e8ea882953ea90736ff57b47643 tree 082b1c061f976a4f9031f7e44b77d50a959a28de parent 7c30b0653f1bcaf04f8abf24cad5c1e642a3da47 parent 404dda854b8bb04df72405d5088fa3e6100aef36 author Linus Torvalds Wed, 30 Aug 2006 15:54:55 -0700 committer Linus Torvalds Wed, 30 Aug 2006 15:54:55 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SUNLANCE]: Fix probing problem. [SPARC64]: Fix X server hangs due to large pages. commit 7c30b0653f1bcaf04f8abf24cad5c1e642a3da47 tree bf62b79a6edb86ff17ef5eb8cbfa04c9c0783ba5 parent 7288026b8671061aff7663b1766037b3f2573627 parent ee1377c3eef4238d89b2f99fa4d0bbbad3078b64 author Linus Torvalds Wed, 30 Aug 2006 15:54:35 -0700 committer Linus Torvalds Wed, 30 Aug 2006 15:54:35 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [STRIP]: Fix neighbour table refcount leak. [IPV6]: ipv6_add_addr should install dstentry earlier [NETLINK]: Call panic if nl_table allocation fails [TCP]: Two RFC3465 Appropriate Byte Count fixes. [IPV6]: SNMPv2 "ipv6IfStatsInAddrErrors" counter error [E100]: Add module option to ignore bad EEPROM checksums. [SCTP]: Fix sctp_primitive_ABORT() call in sctp_close(). commit 0355b3e039c621d15321fd0d5cf72d8bdb8f723d tree 005fd5c6e3e78ec39ee2a3924371cbdc69b34fac parent dc709bd190c130b299ac19d596594256265c042a author Daniel Jacobowitz Wed, 30 Aug 2006 15:06:39 +0100 committer Russell King Wed, 30 Aug 2006 15:06:39 +0100 [ARM] 3750/3: Fix double VFP emulation for EABI kernels Patch from Daniel Jacobowitz vfp_put_double didn't work in a CONFIG_AEABI kernel. By swapping the arguments, we arrange for them to be in the same place regardless of ABI. I made the same change to vfp_put_float for consistency. Signed-off-by: Daniel Jacobowitz Signed-off-by: Russell King commit 7b7db1b59563aebe2f4d2ba850468afb2c87c82a tree 13906695f3afecc6329a2859fd8cdc54af099946 parent 3b88508a31a77eb3487154922e1eff282dc1d863 author Stefan Bader Wed, 30 Aug 2006 14:33:39 +0200 committer Martin Schwidefsky Wed, 30 Aug 2006 14:33:39 +0200 [S390] cio: unsolicited interrupts during sense pgid. Calls to set a device online with path grouping may get stuck in some cases because certain device conditions where discarded after unsolicited interrupts. Check subchannel activity after unsolicited interrupts and retry the operation if the subchannel is idle. Signed-off-by: Stefan Bader Signed-off-by: Martin Schwidefsky commit 3b88508a31a77eb3487154922e1eff282dc1d863 tree 64e402e24e45ec3d1f0f940cccdeb622977558fc parent 292888c81e74115db5e5a4a838f730a7c3662982 author Peter Oberparleiter Wed, 30 Aug 2006 14:33:37 +0200 committer Martin Schwidefsky Wed, 30 Aug 2006 14:33:37 +0200 [S390] cio: no path after machine check. Devices enter no-path state after disabling a channel path via the SE even though another path has been reenabled at the SE. The devices are set into no-path state before triggering path verification even though other paths may have become available. To fix this trigger path verification before setting a device into no-path state. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit 292888c81e74115db5e5a4a838f730a7c3662982 tree 16f7b7bf39cd8a72fa8d3aa5b71c8dc890b57c96 parent 8f61701bdf536c7a80f0f614bac91c7883804c4c author Heiko Carstens Wed, 30 Aug 2006 14:33:35 +0200 committer Martin Schwidefsky Wed, 30 Aug 2006 14:33:35 +0200 [S390] cio: kernel stack overflow. Use different kind of assignment to make sure gcc doesn't create code that creates temp variables on the stack, assigns values to it and copies the content of the whole temp variable to the destination. This reduces stack usage of e.g. ccwgroup_driver_register from 976 to 48 bytes instead. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 8f61701bdf536c7a80f0f614bac91c7883804c4c tree 59cacbdf8dc8e5677556f5c95c1b11a775ff47de parent af313e5a4f56b248767d667c3c2436dda767df77 author Horst Hummel Wed, 30 Aug 2006 14:33:33 +0200 committer Martin Schwidefsky Wed, 30 Aug 2006 14:33:33 +0200 [S390] dasd: fix device shutdown process. Fix clear_IO handling (need to wait for interrupt) and introduced error-handling in shutdown processing. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky commit af313e5a4f56b248767d667c3c2436dda767df77 tree 7cc495fcd98841375a3f3a6a574dd6d9fcd7a7c2 parent dc709bd190c130b299ac19d596594256265c042a author Martin Schwidefsky Wed, 30 Aug 2006 14:33:30 +0200 committer Martin Schwidefsky Wed, 30 Aug 2006 14:33:30 +0200 [S390] broken copy_in_user function. The copy_in_user primitive does not work as advertised. If the source and target area are available copy_in_user copies one byte too much. If one of the memory areas is not available it does not copy as much data as it can, but up to 257 bytes less. Signed-off-by: Martin Schwidefsky commit e7498656b5e2e9e3806d263fecc90b2707d02093 tree c355ffc0bda9fe211e4506d51c8b95c7e0c1126e parent 467c37801c453849a2fe243c3226476ee3985868 author Stephen Rothwell Wed, 30 Aug 2006 17:11:34 +1000 committer Paul Mackerras Wed, 30 Aug 2006 21:12:18 +1000 [POWERPC] iseries: Define insw et al. so libata/ide will compile These are build fixes that enable (for example) libata and the ide code to actually build on iSeries. The associated hardware will never be supported on legacy iSeries, so the code paths don't actually need to work, but it is useful (especially for a combined kernel) if the code can build. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit e9422e091531c5851da4ffb8ee6dcbc36dc5b7a9 tree 5de45e4ac7c8ea051d859c08ab5adf2b8141a0f7 parent d21b55d30b46c0b43821a2980e4998965fa37e33 author Helge Deller Tue, 29 Aug 2006 21:57:29 +0200 committer Russell King Wed, 30 Aug 2006 10:06:14 +0100 [SERIAL] 8250: constify some serial structs - some const- ification and usage of ARRAY_SIZE() in serial drivers Signed-off-by: Helge Deller Signed-off-by: Russell King commit d21b55d30b46c0b43821a2980e4998965fa37e33 tree 4d8c743d0907fc8cd250799f66146e88332a4fcf parent dc709bd190c130b299ac19d596594256265c042a author Sergei Shtylyov Mon, 28 Aug 2006 19:49:03 +0400 committer Russell King Wed, 30 Aug 2006 10:06:14 +0100 [SERIAL] Make uart_match_port() work with all memory mapped UARTs uart_match_port() always fails with UPIO_MEM32, UPIO_AU, and UPIO_TSI cases. Since they match to the memory mapped UARTs, they should be handled just like UPIO_MEM case. Signed-off-by: Sergei Shtylyov Signed-off-by: Russell King commit 467c37801c453849a2fe243c3226476ee3985868 tree b1e9dedf59ff9144945cb711a96274f4ca9bce62 parent e0d872d536bb93335d5905b09fe374a163486d43 author Paul Mackerras Wed, 30 Aug 2006 16:10:47 +1000 committer Paul Mackerras Wed, 30 Aug 2006 16:10:47 +1000 [POWERPC] Fix irq enable/disable in smp_generic_take_timebase Eran Ben-Avi pointed out that the arch/ppc version of smp_generic_take_timebase disables interrupts on entry but exits without restoring them. However, both it and the arch/powerpc version have another problem, which is that they use local_irq_disable/enable rather than local_irq_save/restore, and they are called with interrupts disabled. This fixes both problems; it changes a return to a break in the arch/ppc version, and changes both versions to use local_irq_save/restore. Signed-off-by: Paul Mackerras commit e0d872d536bb93335d5905b09fe374a163486d43 tree c308e65872d65698095077cbfe36f38aa6da5f6f parent fea23bfefb4e98efd3c36f00ccc0b60281dc99da author Paul Mackerras Wed, 30 Aug 2006 15:55:32 +1000 committer Paul Mackerras Wed, 30 Aug 2006 16:09:43 +1000 [POWERPC] Fix problem with time not advancing on 32-bit platforms This fixes a problem introduced in 5db9fa9593e2ff69f2b95f9d59229dc4faaa564d. The last_jiffy per-cpu variable is only 32 bits on 32-bit machines, but it was being compared with a 64-bit quantity (tb_next_jiffy), which resulted in time not advancing. This fixes it by changing last_jiffy to be 64 bits on all platforms. With this, we no longer need tb_last_stamp as a 32-bit version of tb_last_jiffy, so this gets rid of tb_last_stamp and we just use tb_last_jiffy instead. This also fixes a bug when the boot cpu is not online, because using tb_last_stamp could have caused the wrong timebase origin value to be used when calculating the time of day. Signed-off-by: Paul Mackerras commit fea23bfefb4e98efd3c36f00ccc0b60281dc99da tree 81c3b57be56ebed680aece7bc085c3f9b931d81c parent 11e9ed43ca8a741c2858c33d12120cf8817d3bff author Paul Mackerras Wed, 30 Aug 2006 14:45:35 +1000 committer Paul Mackerras Wed, 30 Aug 2006 14:45:35 +1000 [POWERPC] Restore copyright notice in arch/powerpc/kernel/fpu.S This code got moved from head.S but the copyright notice on head.S didn't get transferred with it. Noticed by Cort Dougan . Signed-off-by: Paul Mackerras commit 11e9ed43ca8a741c2858c33d12120cf8817d3bff tree 7212aad3add118380065695eaa086b865a9ee28f parent 006b64de607f895de2ba1e21d3179cddf059128f author Will Schmidt Fri, 25 Aug 2006 15:46:59 -0500 committer Paul Mackerras Wed, 30 Aug 2006 14:34:04 +1000 [POWERPC] Fix up ibm_architecture_vec definition This problem was noticed by one of the Phyp firmware folks. Our ibm,client-architecture-support call was failing. This corrects the vector length parameters being passed in. Signed-off-by: Will Schmidt Signed-off-by: Paul Mackerras commit 006b64de607f895de2ba1e21d3179cddf059128f tree c4eb38d1a3fcb42336475ae261c6624d179308ed parent 7233593b7844c2db930594ee9c0c872a6900bfcc author Benjamin Herrenschmidt Fri, 25 Aug 2006 14:46:23 +1000 committer Paul Mackerras Wed, 30 Aug 2006 14:31:03 +1000 [POWERPC] Make OF irq map code detect more error cases Device-tree bugs on js20 with some versions of SLOF were causing the interrupt for IDE to not be parsed correctly and fail to boot. This patch adds a bit more sanity checking to the parser to detect some of those errors and fail instead of returning bogus information. The powerpc PCI code can then trigger a fallback that works on those machines. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 7233593b7844c2db930594ee9c0c872a6900bfcc tree afd6d3011feec3d2a2b1d80afd0e4ee9ef5fa3e4 parent 3efbdd136e52ee4028b5bb5b848a6043cf61cd6e author Zang Roy-r61911 Fri, 25 Aug 2006 14:16:30 +1000 committer Paul Mackerras Wed, 30 Aug 2006 14:29:42 +1000 [POWERPC] Support for "weird" MPICs and fixup mpc7448_hpc2 This adds a new hardware information table for mpic. This enables the mpic code to deal with mpic controllers with different register layouts and hardware behaviours. This introduces CONFIG_MPIC_WEIRD. For boards with non standard mpic controllers, select CONFIG_MPIC_WEIRD and add its hardware information in the mpic_infos[] array. TSI108/109 PIC takes the first index of weird hardware information table. :) The table can be extended. The Tsi108/109 PIC looks like standard OpenPIC but, in fact, is different in register mapping and behavior. The patch does not affect the behavior of standard mpic. If CONFIG_MPIC_WEIRD is not defined, the code is essentially identical to the current code. [benh@kernel.crashing.org: This patch is a slightly cleaned up version of Zang Roy's support for the TSI108 MPIC variant. It also fixes up MPC7448_hpc2 to use the new version of the type macros and changes the way MPIC is selected in Kconfig to better match what is done for other system devices. ] Signed-off-by: Roy Zang Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 404dda854b8bb04df72405d5088fa3e6100aef36 tree 01d4eafea67712d473ef30159e3ad170bc74b5e9 parent 47f2c3604f47579ac5c173f8b402dc6cd8e2e8fa author Krzysztof Helt Mon, 28 Aug 2006 23:28:16 -0700 committer David S. Miller Tue, 29 Aug 2006 21:23:32 -0700 [SUNLANCE]: Fix probing problem. The current probe table causes ledma and lebuffer "le" devices to get probed twice which is not what we want. Match just "le" and look directly at the parent to get the correct top-level node information. Signed-off-by: Krzysztof Helt Signed-off-by: David S. Miller commit 47f2c3604f47579ac5c173f8b402dc6cd8e2e8fa tree e6801f2664730e13019dd0e23e71ac50c898ca88 parent dc709bd190c130b299ac19d596594256265c042a author David S. Miller Mon, 28 Aug 2006 00:33:03 -0700 committer David S. Miller Tue, 29 Aug 2006 21:23:31 -0700 [SPARC64]: Fix X server hangs due to large pages. This problem was introduced by changeset 14778d9072e53d2171f66ffd9657daff41acfaed Unlike the hugetlb code paths, the normal fault code is not setup to propagate PTE changes for large page sizes correctly like the ones we make for I/O mappings in io_remap_pfn_range(). It is absolutely necessary to update all sub-ptes of a largepage mapping on a fault. Adding special handling for this would add considerably complexity to tlb_batch_add(). So let's just side-step the issue and forcefully dirty any writable PTEs created by io_remap_pfn_range(). The only other real option would be to disable to large PTE code of io_remap_pfn_range() and we really don't want to do that. Much thanks to Mikael Pettersson for tracking down this problem and testing debug patches. Signed-off-by: David S. Miller commit ee1377c3eef4238d89b2f99fa4d0bbbad3078b64 tree 629ac8232edb57ff2831b7801d1f426835adbfdd parent 57f5f544f58ffa1d6c38630d0522c9c0be67c533 author Stephen Hemminger Tue, 29 Aug 2006 21:18:45 -0700 committer David S. Miller Tue, 29 Aug 2006 21:22:19 -0700 [STRIP]: Fix neighbour table refcount leak. Found by inspection. The STRIP driver does neigh_lookup() but never releases. This driver shouldn't being doing gratuitous arp anyway. Untested, obviously, because of lack of hardware. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 57f5f544f58ffa1d6c38630d0522c9c0be67c533 tree c47651ea2300b28e11d6898f67f73eab41a9423b parent fab2caf62ed03d83bd3a3598b859c3c345a8e8b5 author Keir Fraser Tue, 29 Aug 2006 02:43:49 -0700 committer David S. Miller Tue, 29 Aug 2006 21:22:18 -0700 [IPV6]: ipv6_add_addr should install dstentry earlier ipv6_add_addr allocates a struct inet6_ifaddr and a dstentry, but it doesn't install the dstentry in ifa->rt until after it releases the addrconf_hash_lock. This means other CPUs will be able to see the new address while it hasn't been initialized completely yet. One possible fix would be to grab the ifp->lock spinlock when creating the address struct; a simpler fix is to just move the assignment. Acked-by: jbeulich@novell.com Acked-by: okir@suse.de Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit fab2caf62ed03d83bd3a3598b859c3c345a8e8b5 tree b72cbc8e158fe6d7f71f21d3007a47eba41123b3 parent 3fdf3f0c99e90e167f0d0643fcc8739e27456697 author Akinobu Mita Tue, 29 Aug 2006 02:15:24 -0700 committer David S. Miller Tue, 29 Aug 2006 21:22:18 -0700 [NETLINK]: Call panic if nl_table allocation fails This patch makes crash happen if initialization of nl_table fails in initcalls. It is better than getting use after free crash later. Signed-off-by: Akinobu Mita Signed-off-by: David S. Miller commit 3fdf3f0c99e90e167f0d0643fcc8739e27456697 tree 03e70416c6baca7db752d00d5623d43390d84714 parent 76d0cc1b64e1686b2b53e081c94142dd99f01ec5 author Daikichi Osuga Tue, 29 Aug 2006 02:01:44 -0700 committer David S. Miller Tue, 29 Aug 2006 21:22:16 -0700 [TCP]: Two RFC3465 Appropriate Byte Count fixes. 1) fix slow start after retransmit timeout 2) fix case of L=2*SMSS acked bytes comparison Signed-off-by: Daikichi Osuga Signed-off-by: David S. Miller commit 76d0cc1b64e1686b2b53e081c94142dd99f01ec5 tree 0ea9e38ef83928e7b990bf0f732809b36b1b53a4 parent 8fb6f732c389847dece403b7470d6d3d2778804a author Lv Liangying Tue, 29 Aug 2006 00:00:47 -0700 committer David S. Miller Tue, 29 Aug 2006 21:22:15 -0700 [IPV6]: SNMPv2 "ipv6IfStatsInAddrErrors" counter error When I tested Linux kernel 2.6.17.7 about statistics "ipv6IfStatsInAddrErrors", found that this counter couldn't increase correctly. The criteria is RFC2465: ipv6IfStatsInAddrErrors OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of input datagrams discarded because the IPv6 address in their IPv6 header's destination field was not a valid address to be received at this entity. This count includes invalid addresses (e.g., ::0) and unsupported addresses (e.g., addresses with unallocated prefixes). For entities which are not IPv6 routers and therefore do not forward datagrams, this counter includes datagrams discarded because the destination address was not a local address." ::= { ipv6IfStatsEntry 5 } When I send packet to host with destination that is ether invalid address(::0) or unsupported addresses(1::1), the Linux kernel just discard the packet, and the counter doesn't increase(in the function ip6_pkt_discard). Signed-off-by: Lv Liangying Signed-off-by: David S. Miller commit 8fb6f732c389847dece403b7470d6d3d2778804a tree 5b7e13a40b0fe37a4d95a15da39c6769d40474a0 parent b9ac86727fc02cc7117ef3fe518a4d51cd573c82 author David S. Miller Mon, 28 Aug 2006 22:12:54 -0700 committer David S. Miller Tue, 29 Aug 2006 21:22:14 -0700 [E100]: Add module option to ignore bad EEPROM checksums. Several people run into the situation where the E100 EEPROM contents are fine, but the checksum hasn't been set properly. This renders the device useless for them even though it would function correctly. The default is off, which retains the current behavior. Signed-off-by: David S. Miller commit b9ac86727fc02cc7117ef3fe518a4d51cd573c82 tree b621339f1336ced4315b832df229a2880491f3e3 parent dc709bd190c130b299ac19d596594256265c042a author Sridhar Samudrala Mon, 28 Aug 2006 13:53:01 -0700 committer David S. Miller Tue, 29 Aug 2006 21:22:13 -0700 [SCTP]: Fix sctp_primitive_ABORT() call in sctp_close(). With the recent fix, the callers of sctp_primitive_ABORT() need to create an ABORT chunk and pass it as an argument rather than msghdr that was passed earlier. Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 7288026b8671061aff7663b1766037b3f2573627 tree 6b1815edfdc11e95eb9669f471a8233a04943d21 parent 1ad8f401b6e16e3ba8a70dcda466e7a0986f7e5e author Adrian Bunk Wed, 30 Aug 2006 13:41:58 +1000 committer Nathan Scott Wed, 30 Aug 2006 13:41:58 +1000 [XFS] Fix char size overflow in bmap_alloc call for unwritten extent conversion. Since bma.conv is a char and XFS_BMAPI_CONVERT is 0x1000, bma.conv was always assigned zero. Spotted by the GNU C compiler (SVN version). SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:26887a Signed-off-by: Adrian Bunk Signed-off-by: Nathan Scott commit 1ad8f401b6e16e3ba8a70dcda466e7a0986f7e5e tree 93d87d9e3dc488e3a43c00882b59fecfd1e8d267 parent dc709bd190c130b299ac19d596594256265c042a author Nathan Scott Wed, 30 Aug 2006 13:41:23 +1000 committer Nathan Scott Wed, 30 Aug 2006 13:41:23 +1000 [XFS] Update the MAINTAINERS file entry for XFS. Signed-off-by: Nathan Scott commit 3efbdd136e52ee4028b5bb5b848a6043cf61cd6e tree d4851042f801f1d612565b10611dd002e566086b parent 8ec8f2e85c6b88b4a1641eb3902275bcf2c6d60a author Benjamin Herrenschmidt Wed, 30 Aug 2006 08:58:00 +1000 committer Paul Mackerras Wed, 30 Aug 2006 10:36:18 +1000 [POWERPC] Fix MPIC sense codes in documentation The booting-without-of.txt had incorrect definition for the sense codes for an OpenPIC controller Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 8ec8f2e85c6b88b4a1641eb3902275bcf2c6d60a tree ff4d7eacba8c61f9950cbb36b0844ca53546316b parent 4b3afca9345f5beb9c607faeb2aef4f91dd91a13 author Benjamin Herrenschmidt Mon, 28 Aug 2006 11:17:37 +1000 committer Paul Mackerras Wed, 30 Aug 2006 10:36:16 +1000 [POWERPC] Fix performance regression in IRQ radix tree locking When reworking the powerpc irq code, I figured out that we were using the radix tree in a racy way. As a temporary fix, I put a spinlock in there. However, this can have a significant impact on performances. This patch reworks that to use a smarter technique based on the fact that what we need is in fact a rwlock with extremely rare writers (thus optimized for the read path). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 4b3afca9345f5beb9c607faeb2aef4f91dd91a13 tree f9b946434517ce17fe9cb05012a3c61ed9612258 parent 1b9a93eb4638dcde0c3af42fd6c05e3911baa7db author Zang Roy-r61911 Fri, 25 Aug 2006 16:43:25 +0800 committer Paul Mackerras Wed, 30 Aug 2006 10:36:13 +1000 [POWERPC] Add mpc7448hpc2 device tree source file This patch adds the mpc7448hpc2 device tree source file. Signed-off-by: Roy Zang Signed-off-by: Paul Mackerras commit 1b9a93eb4638dcde0c3af42fd6c05e3911baa7db tree 3143d17d40ab16778b1b5933024b72a4cb8f59eb parent f1f17716d13bfb709809a3f5c84bda105b646b9e author Kim Phillips Tue, 29 Aug 2006 18:13:31 -0500 committer Paul Mackerras Wed, 30 Aug 2006 10:34:33 +1000 [POWERPC] Add MPC8349E MDS device tree source file to arch/powerpc/boot/dts Add MPC8349E MDS device tree source file to arch/powerpc/boot/dts Signed-off-by: Kim Phillips Signed-off-by: Paul Mackerras commit f1f17716d13bfb709809a3f5c84bda105b646b9e tree 1d8c9f4905ccb21b4cc91386fd3dca3e9697e25d parent b9f0f1bb2bcaae96dd3267f6bd3ad1ca44a1f5ad author Kim Phillips Fri, 25 Aug 2006 11:59:22 -0500 committer Paul Mackerras Wed, 30 Aug 2006 10:34:33 +1000 [POWERPC] modify mpc83xx platforms to use new IRQ layer This fixes MPC834x MDS (formerly SYS) and ITX platform code to get IRQ data (including PCI) from the device tree, and to use the new IPIC code. renamed defconfig (sys -> mds), left one redundant NULL assignment in mpc83xx_pcibios_fixup to keep the compiler happy. Signed-off-by: Kim Phillips Signed-off-by: Li Yang Signed-off-by: Paul Mackerras commit b9f0f1bb2bcaae96dd3267f6bd3ad1ca44a1f5ad tree 3b9f29de777df859406ee649cc5a29b703c026ae parent bf4152dd7ccb6c060d786200a893dfe30193a07f author Kim Phillips Fri, 25 Aug 2006 11:59:07 -0500 committer Paul Mackerras Wed, 30 Aug 2006 10:34:33 +1000 [POWERPC] Adapt ipic driver to new host_ops interface, add set_irq_type to set IRQ sense This converts ipic code to Benh's IRQ mods. For the IPIC, IRQ sense values in the device tree equal those in include/linux/irq.h; that's 8 for low assertion (most internal IRQs on mpc83xx), and 2 for high-to-low change. spinlocks added to [un]mask, ack operations; default handler and type now set in host_map; and redundant condition check eliminated. Signed-off-by: Kim Phillips Signed-off-by: Li Yang Signed-off-by: Paul Mackerras commit bf4152dd7ccb6c060d786200a893dfe30193a07f tree 74b045430956862ee987dad4e33ab99b194ac65d parent c85c41ad73c6db4cf4cc98c595cc5e2fdbdb53d5 author Kim Phillips Fri, 25 Aug 2006 11:58:53 -0500 committer Paul Mackerras Wed, 30 Aug 2006 10:34:33 +1000 [POWERPC] back up old school ipic.[hc] to arch/ppc Keep from breaking 83xx arch/ppc build. Back up old school arch/powerpc/sysdev/ipic.[hc] to arch/ppc/syslib. Signed-off-by: Kim Phillips Signed-off-by: Paul Mackerras commit dc709bd190c130b299ac19d596594256265c042a tree 53c74b614d906825d478b62c068e2ed11b883c95 parent d96299537e43681942ea272e00b0e529aa5b5fa4 parent ea4c07d780a6f7b7be2d984117bd3e0a2b772e3d author Linus Torvalds Tue, 29 Aug 2006 15:54:07 -0700 committer Linus Torvalds Tue, 29 Aug 2006 15:54:07 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: [CIFS] Do not send Query All EAs SMB when mount option nouser_xattr [CIFS] endian errors in lanman protocol support [CIFS] Fix oops in cifs_close due to unitialized lock sem and list in [CIFS] Fix oops when negotiating lanman and no password specified [CIFS] [CIFS] Allow cifsd to suspend if connection is lost [CIFS] Make midState usage more consistent [CIFS] spinlock protect read of last srv response time in timeout path [CIFS] Do not time out posix brl requests when using new posix setfileinfo commit c57d68caeed7bc335e6d35c951a9abae733a580b tree 06dc1dfe999c680ccc2a754508080335c20d550d parent 986e12fa74c837d7fe5bdfe80666e2e2d46711bd author Christoph Lameter Tue, 22 Aug 2006 19:43:27 -0700 committer Tony Luck Tue, 29 Aug 2006 10:17:49 -0700 [IA64] Increase default nodes shift to 10, nr_cpus to 1024 Change both the NODES_SHIFT and the NR_CPUS so that even big machines can boot all nodes and processors with a generic kernel. Signed-off-by: Christoph Lameter Signed-off-by: Tony Luck commit 986e12fa74c837d7fe5bdfe80666e2e2d46711bd tree f2833ff53a75c181d28f866362acbdf6a11024b1 parent a813213d73bb29d6986c3e93669a9cd5f7984364 author Russ Anderson Thu, 24 Aug 2006 11:08:52 -0500 committer Tony Luck Tue, 29 Aug 2006 10:17:21 -0700 [IA64] remove redundant local_irq_save() calls from sn_sal.h sn_change_memprotect() does a local_irq_save() then calls ia64_sal_oemcall_nolock() which calls SAL_CALL_NOLOCK() which also does a local_irq_save(). This patch removes the redundant local_irq_save() and local_irq_restore() calls in sn_change_memprotect() and sn_inject_error(). Signed-off-by: Russ Anderson Signed-off-by: Tony Luck commit d96299537e43681942ea272e00b0e529aa5b5fa4 tree 65e4df4142a7a0eb0ec0bfe70058771731e39194 parent 1b8b22f44bc68b066c571ca2b5ab4fda123c15bd parent 737c17561fb2c6a72810cca7d7c0b8bdc29bb120 author Linus Torvalds Mon, 28 Aug 2006 20:19:55 -0700 committer Linus Torvalds Mon, 28 Aug 2006 20:19:55 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial * master.kernel.org:/home/rmk/linux-2.6-serial: [SERIAL] Support for Intashield 2 port PCI serial card commit 1b8b22f44bc68b066c571ca2b5ab4fda123c15bd tree bb7e9bf87204a60fea86389d5f79fc4fa79b7ec7 parent 60d4684068ff1eec78f55b5888d0bd2d4cca1520 parent 260e98edc8ae8ea862c9c222eeffb1a2eeafa7fc author Linus Torvalds Mon, 28 Aug 2006 20:19:16 -0700 committer Linus Torvalds Mon, 28 Aug 2006 20:19:16 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] 3761/1: fix armv4t breakage after adding thumb interworking to userspace helpers [ARM] Add Integrator support for glibc outb() and friends [ARM] Move prototype for register_isa_ports to asm/io.h [ARM] Arrange for isa.c to use named initialisers [ARM] 3741/1: remove sa1111.c build warning on non-sa1100 systems [ARM] 3760/1: This patch adds timeouts while working with SSP registers. Such timeouts were en [ARM] 3758/1: Preserve signalling NaNs in conversion [ARM] 3749/3: Correct VFP single/double conversion emulation [ARM] 3748/3: Correct error check in vfp_raise_exceptions commit 260e98edc8ae8ea862c9c222eeffb1a2eeafa7fc tree 33f7e69ca5e27c1fd2c874ddd807e4d8c6e3dc23 parent 863dab453b869136453944bda63e20b6ed39c5ef author Lennert Buytenhek Mon, 28 Aug 2006 12:51:20 +0100 committer Russell King Mon, 28 Aug 2006 12:51:20 +0100 [ARM] 3761/1: fix armv4t breakage after adding thumb interworking to userspace helpers Patch from Lennert Buytenhek On armv4t systems, we have always compiled the kernel with -march=armv4 instead of -march=armv4t, which means that any use of bx will bomb out. Commit ba9b5d76372dc290b6ca04dad93927a22c2ac49a introduced the use of bx in the kernel, which means we need to compile with -march=armv4t on armv4t systems now. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 863dab453b869136453944bda63e20b6ed39c5ef tree b6bfe11f05220f1d14e7856f6619fdf09ec15a0d parent 1645f20bc4440d6f67f73f570f3cf873b4e37f3c author Russell King Mon, 28 Aug 2006 12:47:05 +0100 committer Russell King Mon, 28 Aug 2006 12:47:05 +0100 [ARM] Add Integrator support for glibc outb() and friends Add the necessary call to register_isa_ports() so that glibc knows where these are found on Integrator platforms. Signed-off-by: Russell King commit 1645f20bc4440d6f67f73f570f3cf873b4e37f3c tree bad534529fb147d90d870d28ba15e666975fd2c2 parent 7034b0e60a2ccfab4ee2d3a468cb8cad6de3740d author Russell King Mon, 28 Aug 2006 12:45:16 +0100 committer Russell King Mon, 28 Aug 2006 12:45:16 +0100 [ARM] Move prototype for register_isa_ports to asm/io.h Signed-off-by: Russell King commit 7034b0e60a2ccfab4ee2d3a468cb8cad6de3740d tree e8f4ce9a3c9da04463de9b1a9573b71164deadf8 parent 416112f818afcc08aeaba79ebba899aee5ddf571 author Russell King Mon, 28 Aug 2006 12:44:03 +0100 committer Russell King Mon, 28 Aug 2006 12:44:03 +0100 [ARM] Arrange for isa.c to use named initialisers Convert isa.c (the glibc interface for emulating ISA IO) to use named initialisers. Signed-off-by: Russell King commit 416112f818afcc08aeaba79ebba899aee5ddf571 tree 404f2d5f4c5969d3c46e35328f1fea65456cc7eb parent 8f1bf8743c459399685f5df43021acd156548c22 author David Brownell Sun, 27 Aug 2006 13:09:14 +0100 committer Russell King Sun, 27 Aug 2006 13:09:14 +0100 [ARM] 3741/1: remove sa1111.c build warning on non-sa1100 systems Patch from David Brownell Remove buld warning when building sa1111 on non-sa1100 platforms (e.g. PXA). Signed-off-by: David Brownell Signed-off-by: Russell King commit 8f1bf8743c459399685f5df43021acd156548c22 tree 3eab5454e3dd04765f0f8b8d9f490596260d0ec5 parent b53a2b41f156a9c9b62c14502037cbc15bc08b54 author Paul Sokolovsky Sun, 27 Aug 2006 12:54:56 +0100 committer Russell King Sun, 27 Aug 2006 12:54:56 +0100 [ARM] 3760/1: This patch adds timeouts while working with SSP registers. Such timeouts were en Patch from Paul Sokolovsky This patch adds timeouts while working with SSP registers. Such timeouts were envisioned by docstrings in ssp.c, but were not implemented. There were actual lockups while accessing touchscreen for iPaqs h1910, h4000 due to lack of the timeouts. This is updated version of previously submitted patch: 3738/1. Signed-off-by: Paul Sokolovsky Signed-off-by: Russell King commit b53a2b41f156a9c9b62c14502037cbc15bc08b54 tree 7813d3dfbbb9fe97a8a093c837d7ee5a6746c4ae parent c29ecac18cb740ae845db14963ac586c53962453 author Daniel Jacobowitz Sun, 27 Aug 2006 12:42:14 +0100 committer Russell King Sun, 27 Aug 2006 12:42:14 +0100 [ARM] 3758/1: Preserve signalling NaNs in conversion Patch from Daniel Jacobowitz The fcvtds and fcvtsd instructions were generating a qnan bit pattern for both quiet and signalling NaNs. Signed-off-by: Daniel Jacobowitz Signed-off-by: Russell King commit c29ecac18cb740ae845db14963ac586c53962453 tree c9de25e8cd7ee3729a613b0176b448fd86a62d94 parent 7c6f25141b88b5e926f9d43932ce668602d611ae author Daniel Jacobowitz Sun, 27 Aug 2006 12:42:10 +0100 committer Russell King Sun, 27 Aug 2006 12:42:10 +0100 [ARM] 3749/3: Correct VFP single/double conversion emulation Patch from Daniel Jacobowitz The fcvtsd/fcvtds emulation was left behind when the numbering of double precision registers was changed from 0-30 to 0-15. Both conversion instructions were writing their results to the wrong register. Also, the conversion instructions should stop after the first element even if a vector length is specified. Signed-off-by: Daniel Jacobowitz Signed-off-by: Russell King commit 7c6f25141b88b5e926f9d43932ce668602d611ae tree 50553a8e12aa4918eb3723ba3682e9ba2ca1e025 parent 3a13813e6effcfad5910d47b15b724621b50b878 author Daniel Jacobowitz Sun, 27 Aug 2006 12:42:08 +0100 committer Russell King Sun, 27 Aug 2006 12:42:08 +0100 [ARM] 3748/3: Correct error check in vfp_raise_exceptions Patch from Daniel Jacobowitz The recent fix to hide VFP_NAN_FLAG broke the check in vfp_raise_exceptions; it would attempt to deliver an exception mask of 0xfffffeff instead of reporting a serious error condition using printk. Define a safe constant to use for an invalid exception maskm, and use it at both ends. Signed-off-by: Daniel Jacobowitz Signed-off-by: Russell King commit 737c17561fb2c6a72810cca7d7c0b8bdc29bb120 tree 3c18a3b61e08ed55076759139a331a18fadbbb95 parent 3a13813e6effcfad5910d47b15b724621b50b878 author Peter Horton Sat, 26 Aug 2006 09:07:36 +0100 committer Russell King Sun, 27 Aug 2006 11:59:49 +0100 [SERIAL] Support for Intashield 2 port PCI serial card Here is a patch that adds support for the Instashield IS-200 2 port PCI serial card. Signed-off-by: Peter Horton Signed-off-by: Russell King commit c85c41ad73c6db4cf4cc98c595cc5e2fdbdb53d5 tree 6d198b8f8f6fb2e22f39265c4083fb5796f09eff parent 5dc599c206ad50e1b190edfbc98b7cf8ce361003 author Jon Loeliger Thu, 17 Aug 2006 14:27:57 -0500 committer Paul Mackerras Fri, 25 Aug 2006 14:32:13 +1000 [POWERPC] Use mpc8641hpcn PIC base address from dev tree. After going through the trouble of setting up the PIC base address in the pic@40000 device tree node, use it instead of the obsolete hard-coded value. Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit 5dc599c206ad50e1b190edfbc98b7cf8ce361003 tree 39d959b30b002402ae23562755735e70589c9e36 parent 054389f114fc55d525926b55e82b473b783a7d77 author Jon Loeliger Tue, 15 Aug 2006 16:19:02 -0500 committer Paul Mackerras Fri, 25 Aug 2006 14:32:13 +1000 [POWERPC] Allow MPC8641 HPCN to build with CONFIG_PCI disabled too. Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit 054389f114fc55d525926b55e82b473b783a7d77 tree 679f7c0aea606b2349ba030fa1614ef9de01753a parent af07ac276af6eec5111a6567cb7eaf4d222bd332 author Matt Porter Fri, 04 Aug 2006 11:44:01 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:41:41 +1000 [POWERPC] Fix powerpc 44x_mmu build The PIN_SIZE definition name changed, update 44x_mmu.c accordingly. Signed-off-by: Matt Porter Signed-off-by: Paul Mackerras commit af07ac276af6eec5111a6567cb7eaf4d222bd332 tree 9635d4f924b724ca75848ac1a9d6a9eff65b3e0d parent c9169f8747bb282cbe518132bf7d49755a00b6c1 author Matt Porter Fri, 04 Aug 2006 11:41:51 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:32:35 +1000 [POWERPC] Remove flush_dcache_all export Removes the flush_dcache_all export for non coherent platforms. We removed the last in-kernel user of this years ago in arch/ppc so it no longer serves a purpose. Plus, it breaks the build at the moment. Signed-off-by: Matt Porter Signed-off-by: Paul Mackerras commit a813213d73bb29d6986c3e93669a9cd5f7984364 tree eaeb242ce68a6467d6c740d1c62d2f3945e5be25 parent 7682a4c624e0011b5f3e8dd3021dc54961260d97 author Paul Jackson Mon, 14 Aug 2006 22:45:49 -0700 committer Tony Luck Thu, 24 Aug 2006 08:29:24 -0700 [IA64] panic if topology_init kzalloc fails There really is no sense trying to continue if the kzalloc of sysfs_cpus[] fails in ia64 topology_init. The code calling into here doesn't check errors very well, and one ends up with a nonobvious boot failure that wastes peoples time debugging. See for example the lkml thread at: http://lkml.org/lkml/2006/3/2/215 Since the system is totally dead when this kzalloc fails, not having yet even booted, might as well announce one's death boldly and plainly. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Tony Luck commit ea4c07d780a6f7b7be2d984117bd3e0a2b772e3d tree 5028cb83b1ff387a3c5d997b0688930bc2c55b08 parent 5ddaa683a513439081c9511b0d9ad490672c51c9 author Steve French Wed, 16 Aug 2006 19:44:25 +0000 committer Steve French Wed, 16 Aug 2006 19:44:25 +0000 [CIFS] Do not send Query All EAs SMB when mount option nouser_xattr specified Pointed out by Bjoern Jacke Signed-off-by: Steve French commit 5ddaa683a513439081c9511b0d9ad490672c51c9 tree 7c90bbc458cc2c05331a8bcb142e2eb41469056f parent e466e4876bf39474e15d0572f2204578137ae7f5 author Steve French Tue, 15 Aug 2006 13:35:48 +0000 committer Steve French Tue, 15 Aug 2006 13:35:48 +0000 [CIFS] endian errors in lanman protocol support le16 compared to host-endian constant u8 fed to le32_to_cpu() le16 compared to host-endian constant Signed-off-by: Al Viro Signed-off-by: Steve French commit e466e4876bf39474e15d0572f2204578137ae7f5 tree 1cefd7b97eb2d32846cffb5f8a32173e5db65946 parent 66abda5e1fa48e12e06d0b68746b0e67202a97d2 author Steve French Tue, 15 Aug 2006 13:07:18 +0000 committer Steve French Tue, 15 Aug 2006 13:07:18 +0000 [CIFS] Fix oops in cifs_close due to unitialized lock sem and list in new POSIX locking code Signed-off-by: Steve French commit 66abda5e1fa48e12e06d0b68746b0e67202a97d2 tree 5ca65be63b9c3b24548a190d8fcf04653a6ec451 parent 7ee1af765dfa3146aef958258003245e082284e5 author Steve French Fri, 11 Aug 2006 16:52:09 +0000 committer Steve French Fri, 11 Aug 2006 21:29:13 +0000 [CIFS] Fix oops when negotiating lanman and no password specified Pointed out by Guenter Kukkukk Signed-of-by: Steve French (cherry picked from bbf33d512da608c7221fec42b56b9ef89c25a5ee commit) commit 7ee1af765dfa3146aef958258003245e082284e5 tree 90ab87a136d63c937064e595fd8062e5bc721e03 parent 6c3d8909d85b2c18fd7a6e64f0ca757a257b40fa author Jeremy Allison Wed, 02 Aug 2006 21:56:33 +0000 committer Steve French Fri, 11 Aug 2006 21:28:47 +0000 [CIFS] Allow Windows blocking locks to be cancelled via a CANCEL_LOCK call. TODO - restrict this to servers that support NT_STATUS codes (Win9x will probably not support this call). Signed-off-by: Jeremy Allison Signed-off-by: Steve French (cherry picked from 570d4d2d895569825d0d017d4e76b51138f68864 commit) commit 6c3d8909d85b2c18fd7a6e64f0ca757a257b40fa tree 731c94d9ea4260d8f732f101f2f5e14d4c7fdc26 parent 5da07b0208066fd3544ecf2b521fc7a2e0228ad5 author Steve French Mon, 31 Jul 2006 22:46:20 +0000 committer Steve French Fri, 11 Aug 2006 21:28:26 +0000 [CIFS] Allow cifsd to suspend if connection is lost Make cifsd allow us to suspend if it has lost the connection with a server Ref: http://bugzilla.kernel.org/show_bug.cgi?id=6811 Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Steve French (cherry picked from 27bd6cd87b0ada66515ad49bc346d77d1e9d3e05 commit) commit 5da07b0208066fd3544ecf2b521fc7a2e0228ad5 tree 915422bc93ad4fde6cbacbf980b5cd4adc32b7a7 parent 14a441a2b4ee1dfc00ec822d91d9fb20f401c62f author Steve French Sun, 16 Jul 2006 21:33:15 +0000 committer Steve French Fri, 11 Aug 2006 21:28:02 +0000 [CIFS] Make midState usage more consistent Although harmless, we were sometimes treating midState like it contained flags but they are exclusive states, and this makes that more clear. Signed-off-by: Jeremy Allison Signed-off-by: Steve French (cherry picked from 586c057c3a68dd6ae0f3ba94fbf76798b1558074 commit) commit 14a441a2b4ee1dfc00ec822d91d9fb20f401c62f tree 122a33e5e056bdd433e78b4f6a1c9f8e2d3385d2 parent 3a5ff61c18659443f76bad6cf06f60103046de5d author Steve French Sun, 16 Jul 2006 04:32:51 +0000 committer Steve French Fri, 11 Aug 2006 21:27:41 +0000 [CIFS] spinlock protect read of last srv response time in timeout path Signed-off-by: Jeremy Allison Signed-off-by: Steve French (cherry picked from b33a3f55e54fd210fc043eafcf83728b03bc9e02 commit) commit 3a5ff61c18659443f76bad6cf06f60103046de5d tree 541e341724b50b11c598c9790370d460f189586b parent 9f737633e6ee54fc174282d49b2559bd2208391d author Steve French Fri, 14 Jul 2006 22:37:11 +0000 committer Steve French Fri, 11 Aug 2006 21:27:07 +0000 [CIFS] Do not time out posix brl requests when using new posix setfileinfo request and do not time out slow requests to a server that is still responding well to other threads Suggested by jra of Samba team Signed-off-by: Steve French (cherry picked from 89b57148115479eef074b8d3f86c4c86c96ac969 commit) commit 7682a4c624e0011b5f3e8dd3021dc54961260d97 tree f57ecd8f805a4df701812d3f7456da48bcdf63ac parent 9f737633e6ee54fc174282d49b2559bd2208391d author Dean Nelson Tue, 08 Aug 2006 15:03:29 -0500 committer Tony Luck Tue, 08 Aug 2006 13:28:52 -0700 [IA64-SGI] Silent data corruption caused by XPC V2. Jack Steiner identified a problem where XPC can cause a silent data corruption. On module load, the placement may cause the xpc_remote_copy_buffer to span two physical pages. DMA transfers are done to the start virtual address translated to physical. This patch changes the buffer from a statically allocated buffer to a kmalloc'd buffer. Dean Nelson reviewed this before posting. I have tested it in the configuration that was showing the memory corruption and verified it works. I also added a BUG_ON statement to help catch this if a similar situation is encountered. Signed-off-by: Robin Holt Signed-off-by: Dean Nelson Signed-off-by: Jack Steiner Signed-off-by: Tony Luck