ChangeSet@1.1835.1.4, 2004-06-01 22:37:35+01:00, rmk@flint.arm.linux.org.uk [ARM] asm_do_IRQ takes an unsigned IRQ number. ChangeSet@1.1835.1.3, 2004-06-01 22:06:35+01:00, nico@org.rmk.(none) [ARM PATCH] 1896/2: distinguish between memory and LCD clock on PXA Patch from Nicolas Pitre [patch rediffed] On PXA27x the memory and LCd clocks are different. Also clean the PXA27x clock code a bit. ChangeSet@1.1877, 2004-06-01 13:56:21-07:00, torvalds@ppc970.osdl.org Add comments on load balancing special cases. Ingo explains: The condition is 'impossible', but the whole balancing code is (intentionally) a bit racy: cpus_and(tmp, group->cpumask, cpu_online_map); if (!cpus_weight(tmp)) goto next_group; for_each_cpu_mask(i, tmp) { if (!idle_cpu(i)) goto next_group; push_cpu = i; } rq = cpu_rq(push_cpu); double_lock_balance(busiest, rq); move_tasks(rq, push_cpu, busiest, 1, sd, IDLE); in the for_each_cpu_mask() loop we specifically check for each CPU in the target group to be idle - so push_cpu's runqueue == busiest [== current runqueue] cannot be true because the current CPU is not idle, we are running in the migration thread ... But this is not a real problem, load-balancing we do in a racy way to reduce overhead [and it's all statistics anyway so absolute accuracy is impossible], and active balancing itself is somewhat racy due to the migration-thread wakeup (and the active_balance flag) going outside the runqueue locks [for similar reasons]. so it all looks quite plausible - the normal SMP boxes dont trigger it, but Bjorn's 128-CPU setup with a non-trivial domain hiearachy triggers it. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds ChangeSet@1.1876, 2004-06-01 13:40:59-07:00, bjorn.helgaas@hp.com [PATCH] active_load_balance() deadlock active_load_balance() looks susceptible to deadlock when busiest==rq. Without the following patch, my 128-way box deadlocks consistently during boot-time driver init. ChangeSet@1.1835.1.2, 2004-06-01 20:42:35+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix missing spinlock initialisation. ChangeSet@1.1835.1.1, 2004-06-01 20:36:39+01:00, rmk@flint.arm.linux.org.uk [ARM] Update ARM memory region reservations. Remove 26-bit ARM region reserves. All region reserves start at PHYS_OFFSET, and we only ever have one, so set res_size and reserve the region from PHYS_OFFSET size res_size. Don't free the .init sections on Integrator/CP - they sit in the SSRAM obscured region so we are unable to use them for DMA purposes. ChangeSet@1.1874, 2004-06-01 12:13:52-07:00, torvalds@ppc970.osdl.org Start documenting the sign-off procedure in SubmittingPatches We already have over 200 sign-off lines in the kernel, so let's document the thing, even if discussion may still be on-going. ChangeSet@1.1873, 2004-06-01 11:36:29-07:00, torvalds@ppc970.osdl.org Merge bk://linux-dj.bkbits.net/agpgart into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1826.1.1, 2004-06-01 18:10:55+01:00, davej@delerium.codemonkey.org.uk Merge delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/bk-linus into delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/agpgart ChangeSet@1.1371.675.25, 2004-06-01 17:39:56+01:00, davej@redhat.com [AGPGART] intel-agp: skip non-AGP devices From: Matt Domsch. The E7205 doesn't have an AGP header, so printing this message is pretty much useless. Also make it KERN_WARNING as well, as it's not really worthy of a KERN_ERR ChangeSet@1.1371.675.24, 2004-06-01 17:34:01+01:00, davej@delerium.codemonkey.org.uk Cset exclude: davej@redhat.com|ChangeSet|20040523113850|65135 ChangeSet@1.1871, 2004-06-01 08:52:40-07:00, akpm@osdl.org [PATCH] radeonfb powerdown doesn't work From: When I switch the computer to standby with echo -n standby > /sys/power/state the radeonfb driver tells me its suspending to state 1 but the display does not get turned off. It turns out to be a small typo in drivers/video/aty/radeon_pm.c. (from http://bugme.osdl.org/show_bug.cgi?id=2758) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1870, 2004-06-01 08:52:29-07:00, akpm@osdl.org [PATCH] CRIS architecture update From: "Mikael Starvik" - Lots of fixes from 2.4. - Updated for 2.6.6. - Added IDE driver Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1869, 2004-06-01 08:52:01-07:00, akpm@osdl.org [PATCH] correct use_mm()/unuse_mm() to use task_lock() to protect ->mm From: William Lee Irwin III Split off from suparna's patches: Correct use_mm()/unuse_mm() to use task_lock() to protect task->mm. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1868, 2004-06-01 08:51:50-07:00, akpm@osdl.org [PATCH] use aio workqueue in fs/aio.c From: William Lee Irwin III Minor aio correction split off from suparna's patches: Use the dedicated aio workqueue, not keventd, in order to isolate the rest of the system from aio's demands. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1867, 2004-06-01 08:51:39-07:00, akpm@osdl.org [PATCH] cpqarray.c: seed the random number pool From: George France Teach cpqarray.c to do the add_disk_randomness() thing. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1866, 2004-06-01 08:51:28-07:00, akpm@osdl.org [PATCH] sched: remove noinline workaround From: Ingo Molnar Now the x86_64 bitop memory clobber problem has been fixed we can remove this. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1865, 2004-06-01 08:51:17-07:00, akpm@osdl.org [PATCH] i386: add missing bitop.h memory clobbers From: Andi Kleen Add missing memory clobbers to find_first_bit() and find_first_zero_bit(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1864, 2004-06-01 08:51:07-07:00, akpm@osdl.org [PATCH] Fix readahead handling in knfsd From: NeilBrown The read-ahead structures were not being initialised properly, and were not having the use-count decremented after use, making them fairly useless (since Apr 2002!). From: Colin Gibbs Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1863, 2004-06-01 08:50:56-07:00, akpm@osdl.org [PATCH] fix mca procfs stub From: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1862, 2004-06-01 08:50:45-07:00, akpm@osdl.org [PATCH] linux/timer.h needs linux/stddef.h From: Christoph Hellwig timer.h is using NULL and thus needs stddef.h, without it some drivers break on alpha. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1861, 2004-06-01 08:50:34-07:00, akpm@osdl.org [PATCH] s/tkill/tgkill/ in /** documentation */ From: bert hubert Documentation is in fact for tgkill and not for tkill Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1860, 2004-06-01 08:50:23-07:00, akpm@osdl.org [PATCH] vesafb: vram boot option the same as 2.4.x From: Marc-Christian Petersen Give the vesafb `vram' boot option the same (silly) syntax as 2.4 and document it. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1859, 2004-06-01 08:50:12-07:00, akpm@osdl.org [PATCH] Document checkstacks From: Diego Calleja =?ISO-8859-15?Q?Garc=EDa?= It'll be much better if the world can know about the existence of checkstacks. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1858, 2004-06-01 08:50:02-07:00, akpm@osdl.org [PATCH] pnpbios only makes sense for X86 From: Christoph Hellwig Extracted from the Debian kernel package Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1857, 2004-06-01 08:49:51-07:00, akpm@osdl.org [PATCH] SECURITY_SELINUX depends on NET From: Adrian Bunk LD .tmp_vmlinux1 security/built-in.o(.text+0x97e4): In function `selnl_notify': : undefined reference to `alloc_skb' security/built-in.o(.text+0x988a): In function `selnl_notify': : undefined reference to `netlink_broadcast' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1856, 2004-06-01 08:49:40-07:00, akpm@osdl.org [PATCH] POSIX_MQUEUE depends on NET From: Adrian Bunk POSIX_MQUEUE requires netlink. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1855, 2004-06-01 08:49:31-07:00, akpm@osdl.org [PATCH] md.c message during quiet boot From: Ingo Molnar the patch below gets rid of a message that gets printed during FC2's quiet bootup. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1854, 2004-06-01 08:49:20-07:00, akpm@osdl.org [PATCH] Missing pop-off in arch/i386/kernel/acpi/wakeup.S From: There is a missing pop-off after call of acpi_enter_sleep_state. On success, acpi_enter_sleep_state never returns, but on failure, it will cause kernel OOPS. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1853, 2004-06-01 08:49:10-07:00, akpm@osdl.org [PATCH] Support for SC1100 From: David Goodenough Add PCI device supoprt for the Geode SC1100-based Microtik Routerboard 230. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1852, 2004-06-01 08:48:58-07:00, akpm@osdl.org [PATCH] Mark cache_names __initdata From: Brian Gerst We don't need to keep the pointer array around after the caches are initialized. This doesn't affect the actual strings. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1851, 2004-06-01 08:48:47-07:00, akpm@osdl.org [PATCH] Add FUTEX_CMP_REQUEUE futex op From: Jakub Jelinek FUTEX_REQUEUE operation has been added to the kernel mainly to improve pthread_cond_broadcast which previously used FUTEX_WAKE INT_MAX op. pthread_cond_broadcast releases internal condvar mutex before FUTEX_REQUEUE operation, as otherwise the woken up thread most likely immediately sleeps again on the internal condvar mutex until the broadcasting thread releases it. Unfortunately this is racy and causes e.g. http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/tst-cond16.c?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=glibc to hang on SMP. http://listman.redhat.com/archives/phil-list/2004-May/msg00023.html contains analysis how the hang happens, the problem is if any thread does pthread_cond_*wait in between releasing of the internal condvar mutex and FUTEX_REQUEUE operation, a wrong thread might be awaken (and immediately go to sleep again because it doesn't satisfy conditions for returning from pthread_cond_*wait) while the right thread requeued on the associated mutex and there would be nobody to wake that thread up. The patch below extends FUTEX_REQUEUE operation with something FUTEX_WAIT already uses: FUTEX_CMP_REQUEUE is passed an additional argument which is the expected value of *futex. Kernel then while holding the futex locks checks if *futex != expected and returns -EAGAIN in that case, while if it is equal, continues with a normal FUTEX_REQUEUE operation. If the syscall returns -EAGAIN, NPTL can fall back to FUTEX_WAKE INT_MAX operation which doesn't have this problem, but is less efficient, while in the likely case that nobody hit the (small) window the efficient FUTEX_REQUEUE operation is used. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1850, 2004-06-01 08:48:36-07:00, akpm@osdl.org [PATCH] Add watchdog timer to iseries_veth driver From: David Gibson Currently the iSeries virtual ethernet driver has no Tx watchdog timer. This makes it vulnerable to clagging up if the other end of connection is misbehaving - in particular if it is not giving timely hypervisor level acks to our data frams. This patch adds a watchdog timer which resets the connection to any lpar we seem to be having trouble sending to. With any luck the other end might behave better after the reset. If not, this will at least unclag the queue for a while so we can keep talking to the lpars which are behaving correctly. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1849, 2004-06-01 08:48:25-07:00, akpm@osdl.org [PATCH] ppc64: iseries bolted SLB fix From: Anton Blanchard Legacy iseries has problems with the bolted vmalloc patch. This patch disables the optimisation on iseries and creates a slb_add_bolted helper function. Also, while we require all SLB entries to be context switched, we werent informing the iseries hypervisor. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1848, 2004-06-01 08:48:14-07:00, akpm@osdl.org [PATCH] ppc64: SLB accounting fix From: Anton Blanchard Even though we have a variable containing the number of entries in the SLB, we hardwire the value at boot. We also dont use the variable in the head.S fastpath handler. This patch removes it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1847, 2004-06-01 08:48:03-07:00, akpm@osdl.org [PATCH] ppc64: bolt first vmalloc segment into SLB From: Anton Blanchard Based on some profiles we noticed the first vmalloc region was being continually cast out and replaced. All modules end up there so it is one of our hottest segments. This patch bolts the vmalloc region into the second segment. SLB misses on an NFS benchmark were reduced by about 10% with this patch. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1846, 2004-06-01 08:47:52-07:00, akpm@osdl.org [PATCH] ppc64: reset iseries progress indicator on boot From: Anton Blanchard Reset the progress indicator on iseries after boot. Signed-off-by: John Engel Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1845, 2004-06-01 08:47:41-07:00, akpm@osdl.org [PATCH] ppc64: add eeh_add_device_early/late From: Anton Blanchard Implement eeh_add_device_early and eeh_add_device_late, required for the ppc64 PCI hotplug code. Signed-off-by: Linas Vepstas Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1844, 2004-06-01 08:47:31-07:00, akpm@osdl.org [PATCH] ppc64: iSeries fix virtual ethernet transmit block From: Stephen Rothwell This patch fixes the virtual ethernet driver so that it will not block the transmit queue indefinitely. This patch appplies on top of the previous patch from Rusty that removed skb_clone. There is one white space fix in hte middle of this - I hope that doesn't offend :-). Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1843, 2004-06-01 08:47:20-07:00, akpm@osdl.org [PATCH] ppc64: iSeries virtual ethernet minor optimisation From: Stephen Rothwell This has only been adjusted by me to apply after David Gibson's patch to add a watchdog timer. The iseries_veth driver does skb_clone, it should only need to skb_get, which is cheaper. Should help performance a little. Signed-off-by: Rusty Russell Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1842, 2004-06-01 08:47:09-07:00, akpm@osdl.org [PATCH] ppc64: iSeries default config update From: Stephen Rothwell This patch brings the iSeries default config up to date and changes some of the options to what I use. These are more sensible options (at least in my opinion :-)). Please apply. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1841, 2004-06-01 08:46:58-07:00, akpm@osdl.org [PATCH] radeonfb fix (non-8bpp clear doesn't use palette) From: Jurriaan I've used this patch since 2.6.5, and other users have confirmed it solves their problems. Basically, when not in 8bpp mode, radeonfb should use the palette when clearing a region on screen. This is how it's done in 2.4 and xfree, also. Signed-off-by: Jurriaan Kalkman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1840, 2004-06-01 08:36:07-07:00, paulus@samba.org [PATCH] ppc64: fix missing RELOCs, add linux,phandle property This fixes a couple of bugs in arch/ppc64/kernel/prom.c. We were missing a couple of places where we needed to use RELOC(). I added the RELOC in one case, and in the other, moved the variable that we were accessing onto the stack (and reduced its size). (We use the variable to get a property value, but we aren't interested in the value, just in whether the property exists or not. Since we pass the size of the variable to the OF getprop call, it won't overflow.) The effect of missing the RELOCs would be that random memory locations get used on IBM pSeries systems (possibly causing random boot failures). The other thing that this does is add a linux,phandle property to each node, containing the phandle for the node, which is the token that OF uses to identify the node. Some nodes reference other nodes by means of their phandle. Without the linux,phandle property, userspace code looking at the OF device-tree image in /proc/device-tree has no way of knowing which other node is being referenced. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1839, 2004-06-01 08:35:56-07:00, rusty@rustcorp.com.au [PATCH] Export kthread primitives kthreads are not just for breakfast anymore. Signed-off-by: Rusty Russell (creator) Signed-off-by: Linus Torvalds ChangeSet@1.1838, 2004-06-01 08:35:45-07:00, ak@suse.de [PATCH] Fix x86-64 compilation without CONFIG_NUMA This fixes compilation of x86-64 without CONFIG_NUMA again (got broken by the previous patchkit) ChangeSet@1.1837, 2004-06-01 08:33:51-07:00, torvalds@ppc970.osdl.org sparse: use new generic __chk_user_ptr() macro in x86/ppc64/sparc* Older versions of gcc were unhappy with our previous trick, and just separating out the __CHECKER__ case made it much simpler. ChangeSet@1.1608.13.23, 2004-06-01 13:49:42+01:00, davej@redhat.com [CPUFREQ] Fix build of longhaul. Arjan noted that in some cases, the build fails. This should fix it up. ChangeSet@1.1371.675.23, 2004-06-01 10:35:02+01:00, davej@redhat.com [AGPGART] Improve the resume functions for Intel AGP bridges by restoring config space (the bios might not have done that). From: Arjan van de Ven ChangeSet@1.1371.675.22, 2004-06-01 09:00:11+01:00, davej@redhat.com [AGPGART] Make agp=off work again. This option only worked for the amd64 driver. On every other driver, the only thing it did was make it not printk the banner on startup. ChangeSet@1.1371.675.21, 2004-06-01 08:50:18+01:00, davej@redhat.com [AGPGART] Fix broken serverworks tlb flush routine. This is horribly broken due to a jiffy wrap bug, we never get out of the while loop, preventing booting on a kernel with this driver compiled in. (See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124495) The warning message there has never been reported in any bug report that google can find, so I'm of the opinion that this driver is trying to be too clever for its own good. Rip out the jiffies logic completely, it should be totally unnecessary. ChangeSet@1.1817.1.1, 2004-06-01 07:52:38+02:00, P@draigBrady.com [WATCHDOG] v2.6.6 w83627hf_wdt.c-patch Add w83627hf_select_wd_register and w83627hf_unselect_wd_register. Add w83627hf_init to fix initialization problem on certain motherboards. Make ping and disable code return 0 (int) on success. Extract set_heartbeat code to seperate function. ChangeSet@1.1836, 2004-05-31 22:36:02-07:00, joern@wohnheim.fh-wedel.de [PATCH] Improve `make checkstack' On i386, stack usually grows with "sub $0x8,%esp" and shrinks with "add $0x8,%esp" respectively. In some cases, though, stack grows with "add $0xffffff80,%esp" and shrinks with "sub $0xffffff80,%esp". Obviously, we don't want to miss those cases. Since in either case add and sub seem to be balanced and contain the same parameter, we don't need a second regex. We simply accept hex numbers of up to 8 digits and treat them as negative numbers when the sub appears to be a little too high. ...or so I thought. But another day of testing proved me wrong again. Some functions do stuff like "sub $0x10,%esp", ..., "add $0x20,%esp". In other words, add and sub are *NOT* balanced. Manual inspection showed that 0x20 is a more realistic number, so I accept either variant, just in case. We pay for this with a bunch of duplicates in our output, but that beats missing some stack hogs. In the long run, this script has to be replaced by gcc options, really. Looking at the result and guessing back is such a stupid idea. Signed-off-by: Jörn Engel ChangeSet@1.1822.2.6, 2004-05-31 23:01:40-04:00, willy@debian.org [PATCH] Better tulip handling on PA-RISC This patch improves some of the handling of PA-RISC tulip cards. - Introduce HAS_SWAPPED_SEEPROM and NEEDS_FAKE_MEDIA_TABLE - Only trigger this code on GSC machines. The pure PCI machines don't have these cards. - Allow the chip_name to be overridden in tulip_init_one(). - Fix some indentation. - Handle the output from tulip_read_eeprom() better. ChangeSet@1.1822.2.5, 2004-05-31 23:01:28-04:00, khc@pm.waw.pl [PATCH] Re: [Fwd: [PATCH] Stop queue on close in hdlcdrv] > From: Ralf Baechle > Subject: [PATCH] Stop queue on close in hdlcdrv > To: Jeff Garzik > Date: Tue, 4 May 2004 13:59:15 +0200 > > The stop method of a driver should ensure queueing is stopped ... > > diff -u -r1.19 hdlcdrv.c > --- suckage/drivers/net/hamradio/hdlcdrv.c 12 Apr 2004 20:23:32 -0000 the above means the following is needed for my drivers - please apply to 2.6: ChangeSet@1.1822.2.4, 2004-05-31 23:01:17-04:00, hch@lst.de [PATCH] farsync needs i386 gets it implicitly from somewhere but some architectures don't. Also move down so we have asm after linux headers. ChangeSet@1.1822.2.3, 2004-05-31 23:01:07-04:00, akpm@osdl.org [PATCH] s2io section fix s2io_rem_nic() is marked __exit and is being referred to from .data. Signed-off-by: Andrew Morton ChangeSet@1.1822.2.2, 2004-05-31 23:00:56-04:00, akpm@osdl.org [PATCH] fix net/ixgb/ixgb_main.c warning From: "Luiz Fernando N. Capitulino" drivers/net/ixgb/ixgb_main.c: In function `ixgb_intr': drivers/net/ixgb/ixgb_main.c:1593: warning: unused variable `hw' (catch by J. Cherry). This happens because `hw' is only used when CONFIG_IXGB_NAPI is not set. As `hw' is used only to have the code readable, we can use it for !CONFIG_IXGB_NAPI too. Signed-off-by: Andrew Morton ChangeSet@1.1833, 2004-05-31 19:08:20-07:00, davem@nuts.davemloft.net [SPARC]: First stage of sparc32 sparse work. ChangeSet@1.1827.1.1, 2004-05-31 18:03:02-07:00, davem@kernel.bkbits.net Merge http://linux-mh.bkbits.net/bluetooth-2.6 into kernel.bkbits.net:/home/davem/bluetooth-2.6 ChangeSet@1.1822.1.5, 2004-05-31 17:09:43-07:00, davem@nuts.davemloft.net [SPARC]: Set sparse arch defines explicitly. ChangeSet@1.1829, 2004-05-31 16:56:32-07:00, akpm@osdl.org [PATCH] ppc32: reorg DMA API, add coherent alloc in irq From: Eugene Surovegin Put back DECLARE_PCI_UNMAP_??? and friends accidentaly removed during DMA API reorganization. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1822.1.4, 2004-05-31 16:25:51-07:00, davem@nuts.davemloft.net [SPARC64]: Lots of sparse work for arch/sparc64. ChangeSet@1.1827, 2004-05-31 15:18:46-07:00, torvalds@ppc970.osdl.org sparse: make x86 and ppc64 set the architecture-specific #define's explcitly. sparse doesn't set any arch defines itself. ChangeSet@1.1826, 2004-05-31 15:11:45-07:00, petero2@telia.com [PATCH] Avoid excessive stack usage in NFS Assigning '*wdata' with a dynamic initializer creates a temporary structure copy on the stack, and then the final data is initialized with a "memcpy()". As a result, these NFS functions use more than 800 bytes of stack-space. Changing the code to just do a memset followed by explicit initialization of the non-zero member variables takes the stack usage down to 36 bytes. Here is a patch that does exactly that. ChangeSet@1.1822.1.3, 2004-05-31 14:44:34-07:00, davem@nuts.davemloft.net [SPARC64]: __volatile --> __volatile__ ChangeSet@1.1822.1.2, 2004-05-31 14:41:04-07:00, davem@nuts.davemloft.net [SPARC64]: Annotate 64-bit constants with 'UL' ChangeSet@1.1608.4.13, 2004-05-31 23:34:49+02:00, marcel@holtmann.org [Bluetooth] Add quirk for broken RTX Telecom based dongles Some RTX Telecom based USB dongles offer SCO support, but their implementation is broken. This patch disables the use of the ISOC interface for these devices. ChangeSet@1.1608.4.12, 2004-05-31 23:02:50+02:00, marcel@holtmann.org [Bluetooth] Add dynamic channel allocation for RFCOMM server sockets If no channel is specified for a RFCOMM server socket, it will search for the next free one and automaticly bind to it. Proposed by Stephen Crane ChangeSet@1.1608.4.11, 2004-05-31 22:52:34+02:00, marcel@holtmann.org [Bluetooth] Add dynamic PSM allocation for L2CAP server sockets If no PSM is specified for a L2CAP server socket, it will search for the next free one and automaticly bind to it. Proposed by Stephen Crane ChangeSet@1.1608.4.10, 2004-05-31 22:44:36+02:00, marcel@holtmann.org [Bluetooth] Allocate protocol number for HIDP support This patch allocates the next free protocol number for the upcoming HIDP support. ChangeSet@1.1608.4.9, 2004-05-31 22:34:23+02:00, marcel@holtmann.org [Bluetooth] Update Kconfig help entries This patch updates the address of the BlueZ project and changes some wording of the help entries. ChangeSet@1.1608.4.8, 2004-05-31 22:16:59+02:00, marcel@holtmann.org [Bluetooth] Remove CVS tags and cleanup the code Since we are using Bitkeeper the CVS tags are useless. This patch removes them and makes some whitespace cleanups. ChangeSet@1.1822.1.1, 2004-05-31 13:06:15-07:00, davem@nuts.davemloft.net [SPARC64]: Fix NR_IRQS check in hardirq.h ChangeSet@1.1825, 2004-05-31 12:35:54-07:00, torvalds@ppc970.osdl.org ppc64: more user address fixups. Removed one (harmless) direct user pointer access. ChangeSet@1.1824, 2004-05-31 12:21:49-07:00, torvalds@ppc970.osdl.org ppc64: add more user annotations to ptrace.c ChangeSet@1.1823, 2004-05-31 12:17:16-07:00, torvalds@ppc970.osdl.org ppc64: fix more user pointers in signal handling ChangeSet@1.1608.4.7, 2004-05-31 21:04:38+02:00, marcel@holtmann.org [Bluetooth] Move function exports out of syms.c With Linux 2.6 there is no need to keep the function exports in a central file and thus the use of syms.c makes no real sense. Remove it and add the EXPORT_SYMBOL calls to the functions they belong to. ChangeSet@1.1822, 2004-05-31 11:19:40-07:00, torvalds@ppc970.osdl.org sparse: make x86 user pointer checks stricter. Also use "__force" when forcing the user address to "unsigned long" for the address limit check. ChangeSet@1.1821, 2004-05-31 10:41:08-07:00, torvalds@ppc970.osdl.org ppc64: missing __user annotations noticed by stricter checks. ChangeSet@1.1820, 2004-05-31 10:39:30-07:00, torvalds@ppc970.osdl.org ppc64: check more of the user access functions for proper arguments. ChangeSet@1.1819, 2004-05-31 10:38:48-07:00, torvalds@ppc970.osdl.org sparse: add "__force" type attribute for forcing a cast. ChangeSet@1.1818, 2004-05-31 09:59:55-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: asus_acpi dereference of userland pointers Direct sscanf() on userland buffer in procfs ->write_proc(). Fixed. ChangeSet@1.1816.2.2, 2004-05-31 11:47:23+01:00, rmk@flint.arm.linux.org.uk [ARM] Correct permissions on several ARMv6 files. ChangeSet@1.1816.2.1, 2004-05-31 11:41:16+01:00, rmk@flint.arm.linux.org.uk [ARM] Eliminate meminfo 'end' element Some machines decided to initialise this element. It's not necessary since find_memend_and_nodes() initialises this itself. However, 'end' is not required if we initialise high_memory in this function rather than waiting until mem_init() is called. ChangeSet@1.1816.1.1, 2004-05-31 11:15:46+01:00, rmk@flint.arm.linux.org.uk [PCMCIA] Fix up SOC PCMCIA socket timing calculations The timing calculations used by the PXA platforms did not always take account of the timings handed to us by PCMCIA, and where it did, it assumed IO timings for memory windows. We fix this, and provide a generic function which calculates the required timings (in nanoseconds) for IO, memory and attribute windows. The SOC drivers only have to convert this information to whatever format the hardware requires to achieve at least these timing parameters. ChangeSet@1.1817, 2004-05-31 00:38:17-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: reiserfs annotation Everything straigthforward and takes care of almost all sparse warnings in fs/reiserfs/*. ChangeSet@1.1816, 2004-05-30 23:17:04-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] trivial annotation for arch/i386/kernel/* Several places in arch/i386/kernel were still un-annotated - they didn't trip copy_.._user(), so they stayed alive. Caught and killed. That's not all - there's a big cluster of them in vm86.c, but I haven't looked into that code yet. ChangeSet@1.1815, 2004-05-30 22:00:08-07:00, torvalds@ppc970.osdl.org ppc64: mark the "regshere" marker with proper type information. ChangeSet@1.1814, 2004-05-30 21:35:38-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse alpha: the rest of it A bunch of "return in void function" dealt with, removed bogus extern from definition of __load_new_mm_context(), sanitized fscking ugly CROSS_64K() helper (even if sparse doesn't segfault on that anymore, it's _still_ fscking ugly). ChangeSet@1.1813, 2004-05-30 21:34:09-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse alpha: utimes() ... and that's where I'd found do_utimes() crap before I went grepping ;-) ChangeSet@1.1812, 2004-05-30 21:33:58-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse alpha: trivial parts of __user annotation Trivial stuff in arch/alpha annotated; in two cases of osf_proplist_syscall() dereferencing userland pointers replaced with get_user ChangeSet@1.1811, 2004-05-30 21:33:47-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse alpha: #if abuses #if where #ifdef should've been ChangeSet@1.1810, 2004-05-30 21:33:36-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse alpha: long constants Long constants marked as such ChangeSet@1.1809, 2004-05-30 21:33:26-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse alpha: beginning of __user annotation Copying primitives annotated. ChangeSet@1.1808, 2004-05-30 21:33:10-07:00, torvalds@ppc970.osdl.org ppc64: more explicitly typed constants ChangeSet@1.1803.5.20, 2004-05-30 20:09:42-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: SIOCGIFCONF handling - the rest of it Fixed the type of SIOCGIFCONF callback; inet instance was already correctly annotated, decnet one was _not_. Moreover, decnet callback needed fixing - dereferencing userland address. ChangeSet@1.1803.5.19, 2004-05-30 20:09:31-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: tty_driver ->write_proc() Made ->write_proc in tty_driver suitable for procfs write callback ChangeSet@1.1803.5.18, 2004-05-30 20:09:21-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: n_tty annotation n_tty annotated, ldisc_struct ->read() and ->write() got __user on their buf argument. ChangeSet@1.1803.5.17, 2004-05-30 20:09:10-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: vt and friends vt, vt_ioctl, consolemap and selection annotated, struct unimapdesc and struct consolefontdesc got __user on their pointer members. ChangeSet@1.1803.5.16, 2004-05-30 20:08:59-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: tty_ioctl annotation tty_ioctl.c annotation ChangeSet@1.1803.5.15, 2004-05-30 20:08:48-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: tty_io annotation tty_io.c annotated ChangeSet@1.1803.5.14, 2004-05-30 20:08:37-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: fs/compat.c::copy_iocb() cleanup That "u64" in there is actually struct iocb __user *. Changed prototype, killed casts in body and caller... ChangeSet@1.1803.5.13, 2004-05-30 20:08:26-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: amd64 - rest return void in floppy.h and "conditionally long" constants in page.h. Would be useful to teach as(1) about C notation for long... ChangeSet@1.1803.5.12, 2004-05-30 20:08:15-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: amd64 - long constants Long constants marked as such. ChangeSet@1.1803.5.11, 2004-05-30 20:08:04-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: amd64 - #if abuse fixes #if where #ifdef should've been. Fixed. ChangeSet@1.1803.5.10, 2004-05-30 20:07:53-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: amd64 - more trivial annotations ChangeSet@1.1803.5.9, 2004-05-30 20:07:42-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: amd64 annotations - trivial part Annotation of amd64 code - just adding __user where needed... ChangeSet@1.1803.5.8, 2004-05-30 20:07:30-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: amd64 annotation - beginning Annotated basic primitives (copy_.._user, get_user, ...). Functions got __user in prototypes, macros (in uaccess.h) got a conditional check - see CHECK_UPTR() below. If you have more elegant way to deal with the macros - please, tell. ChangeSet@1.1803.5.7, 2004-05-30 20:07:19-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: net/* non-ANSI argument lists ChangeSet@1.1803.5.6, 2004-05-30 20:07:08-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: more net/* annotation Annotation of net/* ...copy... that deals with userland pointers + several bits that fell out of previous patch (trivial annotations) ChangeSet@1.1803.5.5, 2004-05-30 20:06:56-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: trivial part of net/* annotation ChangeSet@1.1803.5.4, 2004-05-30 20:06:44-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: missed piece of sock_get_timestamp() annotation ChangeSet@1.1803.5.3, 2004-05-30 20:06:33-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: dev_ioctl() callers dev_ioctl() has a __user pointer argument; however, its declaration lacks that and callers are also wrong. Declaration fixed, callers updated. ChangeSet@1.1803.5.2, 2004-05-30 20:06:21-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: missed setsockopt wrappers Here's the tail of setsockopt I've missed - for old protocol families we have wrappers around those methods. ChangeSet@1.1803.5.1, 2004-05-30 20:01:28-07:00, ak@suse.de [PATCH] Fix compilation on x86-64 I managed to break compilation with my last patch with a last minute edit. ChangeSet@1.1803.3.1, 2004-05-30 19:12:54-07:00, davem@nuts.davemloft.net [PKT_SCHED]: Missing rta_len init in sch_delay. ChangeSet@1.1803.2.2, 2004-05-30 17:43:22-07:00, davem@nuts.davemloft.net [SPARC]: Do tty_flip_buffer_push outside of port lock. ChangeSet@1.1803.2.1, 2004-05-30 17:39:32-07:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1803.1.6, 2004-05-30 12:50:19-07:00, torvalds@ppc970.osdl.org ppc64: use "ASM_CONST()" to give proper C type to constants that can also be used in assembly language context. This one fixes the common CPU_FTR_COHERENT_ICACHE warning in asm/cacheflush.h. ChangeSet@1.1803.1.5, 2004-05-30 11:55:25-07:00, ak@suse.de [PATCH] Really fix empty node 0 on x86-64 x86-64 shares some numa code with i386, and that didn't handle holes in the node map properly. Fix this. ChangeSet@1.1803.1.4, 2004-05-30 11:55:13-07:00, ak@suse.de [PATCH] x86-64 update Add accumulated bug fixes for x86-64 and some minor cleanups. - Add ptep_set_access_flags from i386 - Change memory text mapping to 10MB from 40MB to make alias window smaller - Disable change_page_attr for kernel mapoing for now (wrong, but the other code also doesn't work) - Add .bss.page_aligned and align interrupt/exception stacks (idea from Matt Mackall) - Protect sysenter MSR setup against missing registers. - Set mce tolerance level to 1 (panic instead of deadlock) - Fix cross 4GB bug in find_first_bit (Michael Matz) - Add missing memory clobbers in bitops.h (Suresh B. Siddha) - Check kernel size at boot up - Set boot cpu online at boot to fix early printk - Fix EFER bit definitions (Dave Jones) - Fix comments in 32bit syscall table. - Quieten all 32bit syscalls that are unimplemented in 32bit. - Various MCE fixes suggested by Eric Morton, David Boles et.al. More to come. - Quieten some printks - Fix cpu online check in msr driver - Lower polling interval for machine checks to 5 minutes to avoid overrunning the registers. - Make memcpy_{from,to}io more compatible with i386 (Roland Dreier) ChangeSet@1.1803.1.3, 2004-05-30 11:47:20-07:00, torvalds@ppc970.osdl.org ppc64: fix untyped large constants so that they don't cause sparse to warn about implicit typing. ChangeSet@1.1803.1.2, 2004-05-30 11:10:51-07:00, torvalds@ppc970.osdl.org Add __user annotations to sock_get_timestamp() ChangeSet@1.1803.1.1, 2004-05-30 10:32:16-07:00, pepe@attika.ath.cx [PATCH] make vram boot option actually work The following patch makes the vram boot option actually be recognized and its value assigned to the vram variable. Signed-off-by: Linus Torvalds ChangeSet@1.1804, 2004-05-30 14:40:37+01:00, rmk@flint.arm.linux.org.uk [ARM] Add two more missing __user annotations for sparse. ChangeSet@1.1803, 2004-05-29 23:24:11-07:00, torvalds@ppc970.osdl.org Linux 2.6.7-rc2 TAG: v2.6.7-rc2