ChangeSet@1.1831, 2004-06-05 13:35:07-07:00, axboe@suse.de [PATCH] kill drivers/ide TCQ support Lets just remove it. It's been disabled some time ago, and there's no chance of it ever getting resurrected. PATA TCQ has so many technical short comings, that it was never really interesting I'm afraid. Signed-off-by: Jens Axboe Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1830, 2004-06-05 13:01:52-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: remove dead code from ide-taskfile.c Remove dead code from task_in_intr() and pre_task_mulout_intr() (CONFIG_IDE_TASKFILE_IO=n versions). Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1829, 2004-06-05 13:01:41-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: sanitize __ide_do_rw_disk() debugging code - move common code to ide_do_rw_disk() (+ always print block number and rq->buffer) - use pr_debug() Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1828, 2004-06-05 13:01:29-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: remove needless exports Remove needless exports from ide.c, ide-probe.c and ide-proc.c. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1827, 2004-06-05 13:01:17-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: use try_to_flush_leftover_data() in idedisk_error() Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1826, 2004-06-05 13:01:06-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: remove unused ide_remove_setting() from ide.c Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1825, 2004-06-05 13:00:55-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: change CONFIG_IDEDISK_STOKE to a runtime option From: Christoph Hellwig To be useful for distribution kernels it needs to be a runtime option. The original patch is from Joerg Platte via the Debian kernel package, with some adjustments from me (and me too - Bart). Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.43, 2004-06-05 11:15:37-07:00, torvalds@ppc970.osdl.org Merge bk://drm.bkbits.net/drm-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1608.1.13, 2004-06-06 18:19:38+10:00, airlied@starflyer.(none) Remove check that is needed only for 2.4 kernel fixes bug reports on lk. Signed-off-by: Colin Leroy Signed-off-by: Dave Airlie ChangeSet@1.1815.2.6, 2004-06-05 15:55:25-07:00, olh@suse.de [NET]: Fix compat bug in recvmsg/sendmsg wrt MSG_CMSG_COMPAT. ChangeSet@1.1815.2.5, 2004-06-05 14:41:55-07:00, hadi@cyberus.ca [NET]: Add ARPHRD_NONE and use it in tun driver. ChangeSet@1.1815.3.42, 2004-06-05 11:05:56-07:00, minyard@acm.org [PATCH] Fix ipmi compile failure Geert Uytterhoeven wrote: While compiling drivers/char/ipmi/ipmi_si_intf.c in 2.6.6-rc1 on m68k, I noticed a missing include (needed for disable_irq_nosync() and enable_irq()): Furthermore none of CONFIG_ACPI_INTERPETER, CONFIG_X86, and CONFIG_PCI were set, and thus IPMI_MEM_ADDR_SPACE and IPMI_IO_ADDR_SPACE are not defined, but they are used. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.41, 2004-06-05 10:59:21-07:00, airlied@linux.ie [PATCH] MTD: add st m50fw0* to jedec_probe.c Adds support to the jedec probe for ST M50FW040, M50FW080 and M50FW016 all Firmware hubs for i8x0 chipsets, http://www.st.com/stonline/products/families/memories/fl_nor/fl_fwh.htm Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.40, 2004-06-05 10:59:12-07:00, minyard@acm.org [PATCH] Fix procfs warnings when removing ipmi_si module Presently we get procfs warnings from ipmi_si.ko due to its failing to remove all of a /proc directory's contents prior to removing that directory. This patch tracks all proc entries for an IPMI interface and unregisters them all upon removal. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.39, 2004-06-05 10:59:01-07:00, benh@kernel.crashing.org [PATCH] Fix DRM mismerge(?) From: Colin Leroy Paulus brought this up on IRC, it seems to be a bad DRM merge: The code #ifndef VMAP_4_ARGS if ( dev->agp->cant_use_aperture ) return -EINVAL; #endif in DRM(agp_acquire) should be removed altogether in a 2.6 kernel because its vmap() takes 4 arguments; however, only the guards seem to have been removed, which causes this function to erroneously fail if the AGP aperture can't be directly accessed by the CPU. Signed-off-by: Colin Leroy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.38, 2004-06-05 10:58:50-07:00, benh@kernel.crashing.org [PATCH] Fix rivafb's OpenFirmware parsing The attached patch fixes the EDID parsing for PPC on rivafb. It actually finds the EDID info in the OF Tree now. I grabbed this from BenHs Tree as of 2.6.5-rc3. The current code has no chance to work since it doesn't walk the device tree. This helps rivafb on PPC at least a bit further... Signed-off-by: Guido Guenther Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.37, 2004-06-05 10:58:39-07:00, nickpiggin@yahoo.com.au [PATCH] sched: improve wakeup-affinity David Mosberger noticed bw_pipe was way down on sched-domains kernels on SMP systems. That is due to two things: first, the previous wake-affine logic would *always* move a pipe wakee onto the waker's CPU. With the scheduler rework, this was toned down a lot (but extended to all types of wakeups). One of the ways this was damped was with the logic: don't move the wakee if its CPU is relatively idle compared to the waker's CPU. Without this, some workloads would pile everything up onto a few CPUs and get lots of idle time. However, the fix was a bit of a blunt hack: if the wakee runqueue was below 50% busy, and the waker's was above 50% busy, we wouldn't do the move. I think a better way to capture it is what this patch does: if the wakee runqueue is below 100% busy, and the sum of the two runqueue's loads is above 100% busy, and the wakee runqueue is less busy than the waker runqueue (ie. CPU utilisation would drop if we do the move), then we don't do the move. After I fixed this, I found things were still getting bounced around quite a bit. The reason is that we were attempting very aggressive idle balancing in order to cut down idle time in a dbt2-pgsql workload, which is particularly sensitive to idle. After having Mark Wong (markw@osdl.org) retest this load with this patch, it looks like we don't need to be so aggressive. I'm glad to be rid of this because it never sat too well with me. We should see slightly lower cost of schedule and slightly improved cache impact with this change too. Mark said: --- This looks pretty good: metric kernel 2334 2.6.7-rc2 2298 2.6.7-rc2-mm2 2329 2.6.7-rc2-mm2-sched-more-wakeaffine --- ie. within the noise. David said: --- Oooh, me likeee! Host OS Pipe AF UNIX --------- ------------- ---- ---- caldera.h Linux 2.6.6 3424 2057 (plain 2.6.6) caldera.h Linux 2.6.7-r 333. 1402 (original 2.6.7-rc1) caldera.h Linux 2.6.7-r 3086 4301 (2.6.7-rc1 with your patch) Pipe-bandwidth is still down about 10% but that may be due to unrelated changes (or perhaps warmup effects?). The AF UNIX bandwidth is just mindboggling. Moreover, with your patch 2.6.7-rc1 shows better context-switch times and lower communication latencies (more like the numbers you're getting on UP). So it seems like the overall balance of keeping things on the same CPU vs. distributing them across CPUs is improved. --- I also ran some tests on the NUMAQ. kernbench, dbench, hackbench, reaim were much the same. tbench was improved, very much so when clients < NR_CPU. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.36, 2004-06-05 10:58:28-07:00, neilb@cse.unsw.edu.au [PATCH] md: fix BUG in raid5 resync code. This condtion on this loop is primarily to avoid the loop if it doesn't appear to be needed. However it optimises a little too much and there is a case where it skips the loop when it is really needed. This patch fixes it. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.35, 2004-06-05 10:58:17-07:00, axboe@suse.de [PATCH] fix cdrom length check There's a bad length check in cdrom_get_random_writable(), it's off-by-4 since fh->data_len is the length of data _after_ that field (which is offset 4 bytes in the header). Check is pretty bogus anyways, so just kill it. Signed-Off-By: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.34, 2004-06-05 10:58:06-07:00, paulkf@microgate.com [PATCH] synclink.c driver init modifications * Fix cleanup on driver init failure (call pci_unregister_driver if necessary) * Keep driver loaded if no hardware found (for dynid support) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.33, 2004-06-05 10:57:56-07:00, paulkf@microgate.com [PATCH] synclink_cs.c driver init modifications * Fix cleanup on driver init failure Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.32, 2004-06-05 10:57:45-07:00, paulkf@microgate.com [PATCH] synclinkmp.c driver init modifications * Fix cleanup on driver init failure (call pci_unregister_driver if necessary) * Keep driver loaded if no hardware found (for dynid support) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.31, 2004-06-05 10:57:34-07:00, kevcorry@us.ibm.com [PATCH] dm: dm-ioctl.c: change an int* to a size_t* dm-ioctl.c: Use a size_t* instead of an int* in list_version_get_needed(). size_t and int are not the same size on all architectures. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.30, 2004-06-05 10:57:23-07:00, akpm@osdl.org [PATCH] nfs-direct warning fix fs/nfs/direct.c: In function `nfs_file_direct_write': fs/nfs/direct.c:549: warning: initialization discards qualifiers from pointer target type Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.29, 2004-06-05 10:57:12-07:00, rusty@rustcorp.com.au [PATCH] fix sysfs node cpumap for large NR_CPUS As pointed out by Paul Jackson , sometimes 99 chars is not enough. We currently get a page from sysfs: that code should check we haven't overrun it. Signed-off-by: Rusty Russell Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.28, 2004-06-05 10:57:01-07:00, ak@suse.de [PATCH] Use KERN_ALERT more for oopses Often users only report what syslogd reports with KERN_ALERT when a kernel crash occurs. Make an oops print mpre information with that (in particular the RIP) Patch for i386 and x86-64. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.27, 2004-06-05 10:56:50-07:00, neilb@cse.unsw.edu.au [PATCH] md: support reshaping raid1 arrays - adding or removing drives. This allows the number of "raid_disks" in a raid1 to be changed. This requires allocating a new pool of "r1bio" structures which a different number of bios, suspending IO, and swapping the new pool in place of the old. (and a few other related changes). Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.26, 2004-06-05 10:56:39-07:00, neilb@cse.unsw.edu.au [PATCH] md: allow md arrays to be resized if devices are large enough. It is possible to have raid1/4/5/6 arrays that do not use all the space on the drive. This can be done explicitly, or can happen info you, one by one, replace all the drives with larger devices. This patch extends the "SET_ARRAY_INFO" ioctl (which previously invalid on active arrays) allow some attributes of the array to be changed and implements changing of the "size" attribute. "size" is the amount of each device that is actually used. If "size" is increased, the new space will immediately be "resynced". Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.25, 2004-06-05 10:56:27-07:00, neilb@cse.unsw.edu.au [PATCH] md: abort the resync of raid1 there is only one device. If raid1 decides it needs to resync it will do so even if there is only one working device. This is pointless. With this patch we abort resync if there is nowhere to write to. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.24, 2004-06-05 10:56:16-07:00, neilb@cse.unsw.edu.au [PATCH] md: handle hot-add for arrays with non-persistent superblocks If the superblock isn't persistent, we shouldn't allow room for it. From: Paul Clements Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.23, 2004-06-05 10:56:05-07:00, neilb@cse.unsw.edu.au [PATCH] md: make sure the size of a raid5/6 array is a multiple of the chunk size. Normally the size is chosen as a multiple of the chunk size, but if the size is explicitly chosen, it might not be. So we force it. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.22, 2004-06-05 10:55:54-07:00, neilb@cse.unsw.edu.au [PATCH] md: allow an md personality to refuse a hot-remove request. This isn't really needed at the moment, but it is more consistant with the interface and may be needed later. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.21, 2004-06-05 10:55:41-07:00, neilb@cse.unsw.edu.au [PATCH] md: make sure md_check_recovery will remove a faulty device when ->nr_pending hits 0 md_check_recovery only locks a device and does stuff when it thinks there is a real likelyhood that something needs doing. So the test at the top must cover all possibilities. But it didn't cover the possibility that the last outstanding request on a failed device had finished and so the device needed to be removed. As a result, a failed drive might not get removed from the personalities perspective on the array, and so it could never be removed from the array as a whole. With this patch, whenever ->nr_pending hits zero on a faulty device, MD_RECOVERY_NEEDED is set so that md_check_recovery will do stuff. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.20, 2004-06-05 10:55:29-07:00, neilb@cse.unsw.edu.au [PATCH] md: rationalise device selection in md/multipath. md/multipath has two separate pieces of code for choosing a device to use, one when a request is first made and the other when a request is being re-tried after failure. This patch discards multipath_read_balance and uses multipath_map in both situations. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.19, 2004-06-05 10:55:18-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: documentation typo fixes Fix minor typos. From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.18, 2004-06-05 10:55:07-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: nfsd4 file creation fix Fix error return in create. (See comment in xdr for createtype4 at end of rfc3530.) From: Andy Adamson From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.17, 2004-06-05 10:54:56-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: nfsd4 setclientid fix Fix a somewhat bizarre corner case in clid processing: a clientid match isn't required for case 3. From: Andy Adamson From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.16, 2004-06-05 10:54:45-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: nfsd getattr fix Oops: we were claiming to support the TIME_CREATE attribute, when we don't really. From: Andy Adamson From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.15, 2004-06-05 10:54:34-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: nfsd4_release_lockowner() oops fix Fix oops in release_lockowner. We need to break out to two loops, not just one, and if the loop finds nothing, 'local' won't be NULL. So just put the body of the 'if' inside the loop. From: Andy Adamson From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.14, 2004-06-05 10:54:23-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: rsc_lookup simplification rsc_lookup is a bit complicated: it either takes responsibility for the memory pointed to by handle.data and sets handle.data to NULL, or it leaves handle.data unchanged, in which case the caller is responsible for freeing handle.data. I forgot that the possibility of inserting a negative cache entry into the cache meant that this could happen even when rsc_lookup is called with set == 0. Note that the ip_map code has the same bug, not that it seems to matter much, since the memory in question in that case is always just a statically allocated string. From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.13, 2004-06-05 10:54:12-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: gss_svc locking and refcounting fixes The server sunrpc code should take a reference on the relevant module before calling any authentication code. Also, it looks to me like the table of authops needs some locking. Finally, gss_svc_init wasn't checking the status of svc_auth_register, and gss_svc_shutdown wasn't calling svc_auth_unregister. From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.12, 2004-06-05 10:54:02-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: nfsd4 xdr name encoding improvements Encode names directly into xdr buffer; this optimizes out a data copy, reduces stack usage, and will make life simpler when doing acls. From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.11, 2004-06-05 10:53:48-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: nfsd_acceptable() typo fix there's a small typo in nfsd_acceptable. It calls err = permission(parent->d_inode, S_IXOTH, NULL); It really wants to use MAY_EXEC instead of S_IXOTH. Those happen to be the same at the moment, but may not do so forever. From: Olaf Kirch : From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.10, 2004-06-05 10:53:32-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: exp_find(): remove null pointer check If ek = exp_find_key() is not an error, then ek->ek_export should be set; no point in checking if it's NULL. From: "J. Bruce Fields" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.9, 2004-06-05 10:53:17-07:00, neilb@cse.unsw.edu.au [PATCH] kNFSd: Fix nfs3 dentry encoding The "offset" in an entry in an nfs3 readdir response is 64 bits long and as it has only a 32 bit alignment, it fall half in one page of the response and half in another. This patch adds a second offset pointer (offset1) which points to the second half in the unusual case of the offset being split between pages, and sets and uses it accordingly. From: Olaf Kirch Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.8, 2004-06-05 10:53:02-07:00, adilger@clusterfs.com [PATCH] ext3: htree rename fix A problem with htree was recently discovered during Lustre testing when files were being renamed within the same directory. In some cases the addition of the new name caused a directory block split and the old dir_entry was pointing at the wrong entry, and the wrong entry was removed. This would seem entirely possible in a Maildir directory, since the MTA will be doing a lot of renames within the same directory. If old_de is pointing to the newly-added entry (i_ino is the same) we end up deleting the new entry instead of the old one. It looks as if the rename never happened. We need to verify that the name we are unlinking is what we expect. If is also possible that old_de is pointing to the now-unused space at the end of a newly-split leaf block, so we still need to try ext3_delete_entry() (which will skip the stale entry and return ENOENT) instead of just relying on the inum + name check. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.7, 2004-06-05 10:52:50-07:00, hugh@veritas.com [PATCH] mm: kill missed pte warning I've seen no warnings, nor heard any reports of warnings, that anon_vma ever misses ptes (nor anonmm before it). That WARN_ON (with its useless stack dump) was okay to goad developers into making reports, but would mainly be an irritation if it ever appears on user systems: kill it now. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.6, 2004-06-05 10:52:39-07:00, hugh@veritas.com [PATCH] mm: get_user_pages vs. try_to_unmap Andrea Arcangeli's fix to an ironic weakness with get_user_pages. try_to_unmap_one must check page_count against page->mapcount before unmapping a swapcache page: because the raised pagecount by which get_user_pages ensures the page cannot be freed, will cause any write fault to see that page as not exclusively owned, and therefore a copy page will be substituted for it - the reverse of what's intended. rmap.c was entirely free of such page_count heuristics before, I tried hard to avoid putting this in. But Andrea's fix rarely gives a false positive; and although it might be nicer to change exclusive_swap_page etc. to rely on page->mapcount instead, it seems likely that we'll want to get rid of page->mapcount later, so better not to entrench its use. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.5, 2004-06-05 10:52:28-07:00, hugh@veritas.com [PATCH] mm: vma_adjust insert file earlier For those arches (arm and parisc) which use the i_mmap tree to implement flush_dcache_page, during split_vma there's a small window in vma_adjust when flush_dcache_mmap_lock is dropped, and pages in the split-off part of the vma might for an instant be invisible to __flush_dcache_page. Though we're more solid there than ever before, I guess it's a bad idea to leave that window: so (with regret, it was structurally nicer before) take __vma_link_file (and vma_prio_tree_init) out of __vma_link. vma_prio_tree_init (which NULLs a few fields) is actually only needed when copying a vma, not when a new one has just been memset to 0. __insert_vm_struct is used by nothing but vma_adjust's split_vma case: comment it accordingly, remove its mark_mm_hugetlb (it can never create a new kind of vma) and its validate_mm (another follows immediately). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.4, 2004-06-05 10:52:17-07:00, hugh@veritas.com [PATCH] mm: vma_adjust adjust_next wrap Fix vma_adjust adjust_next wrapping: Rajesh V. pointed out that if end were 2GB or more beyond next->vm_start (on 32-bit), then next->vm_pgoff would have been negatively adjusted. Signed-off-by: Hugh Dickins Signed-off-by: Rajesh Venkatasubramanian Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.3, 2004-06-05 10:52:06-07:00, hugh@veritas.com [PATCH] mm: follow_page invalid pte_page The follow_page write-access case is relying on pte_page before checking pfn_valid: rearrange that - and we don't need three struct page *pages. (I notice mempolicy.c's verify_pages is also relying on pte_page, but I'll leave that to Andi: maybe it ought to be failing on, or skipping over, VM_IO or VM_RESERVED vmas?) Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.2, 2004-06-05 10:51:55-07:00, hugh@veritas.com [PATCH] mm: swapper_space.i_mmap_nonlinear Initialize swapper_space.i_mmap_nonlinear, so mapping_mapped reports false on it (as it used to do). Update comment on swapper_space, now more fields are used than those initialized explicitly. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1815.3.1, 2004-06-05 10:51:44-07:00, ak@suse.de [PATCH] More x86-64 bugfixes This patch fixes the problem some people had with their systems crashing early at boot. Also fix a problem in the LDT/TSS setup noticed by Paul Menage. And some other random fixes. - Update defconfig - Remove some unnecessary printks - Enlarge kernel mapping to 40MB - Fix acpi=ht (Suresh Siddha) - Use KERN_ALERT for more important oops lines - Fix LDT/TSS limit (Paul Menage) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1822, 2004-06-04 22:15:18-07:00, davidm@tiger.hpl.hp.com ia64: Kill unused external declaration of "acpi_legacy_devices". ChangeSet@1.1821, 2004-06-04 21:16:31-07:00, kaos@sgi.o ia64: work around linker bug Building 2.6.6-ia64-040521, using GNU ld version 2.14.90.0.4 20030523. __gp is sometimes set incorrectly. Instead of being .got + 0x2000000, it is set to .data + 0x2000000, which breaks some LTOFF22 and GPREL22 entries. This is non-deterministic, changing the path name to the kernel tree which changes the size of some messages in .data is enough to make the linker get it right. Force __gp to be based on .got. HJ Lu says this is fixed in newer versions of binutils but the work around is sensible enough that it is a better solution than forcing everybody to upgrade binutils. Signed-off-by: David Mosberger ChangeSet@1.1815.2.4, 2004-06-04 20:57:50-07:00, shemminger@osdl.org [TCP]: Common code for generating tcp_info. ChangeSet@1.1815.1.6, 2004-06-04 17:34:45-07:00, davem@nuts.davemloft.net [KERNEL]: Some sparse fixes for init/main.c 1) Explicitly cast to __user in syscall invocations where we know we are in KERNEL_DS 2) Explicitly test against zero in assignment expression conditional. ChangeSet@1.1815.1.5, 2004-06-04 17:31:24-07:00, davem@nuts.davemloft.net [COMPAT]: Fix some sparse annotations in fs/compat_ioctl.c ChangeSet@1.1815.1.4, 2004-06-04 17:12:17-07:00, davem@nuts.davemloft.net [AIO]: Split ki_user_obj into a 2 member union. This documents how this member is used in two ways, 1) as a pointer to a user ioctx and 2) as a pointer to a task struct to wake up. ChangeSet@1.1815.1.3, 2004-06-04 17:00:16-07:00, davem@nuts.davemloft.net [COMPAT]: Add __user attributes for pointers passed while KERNEL_DS. ChangeSet@1.1815.2.3, 2004-06-04 16:53:48-07:00, paulus@samba.org [PATCH] ppc32: Fix typo in ppc32 spinlock.h Brown-paper bag time... I put a typo in the asm for _raw_write_trylock (left in a spurious \n\). This patch fixes it. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1815.1.2, 2004-06-04 16:51:43-07:00, davem@nuts.davemloft.net [SPARC64]: Tidy asm macros in sfp-util.h ChangeSet@1.1815.1.1, 2004-06-04 16:39:36-07:00, davem@nuts.davemloft.net [SPARC64]: Fix compat_sys_wait4 extern decl. ChangeSet@1.1820, 2004-06-04 16:17:51-07:00, akpm@osdl.org [PATCH] ia64: uninline find_next_bit on ia64 From: Paul Jackson Move the page of code (~700 bytes of instructions) for find_next_bit and find_next_zero_bit from inline in include/asm-ia64/bitops.h to a real function in arch/ia64/lib/bitops.c, leaving a declaration and macro wrapper behind. The other arch's with almost this same code might want to also uninline it: alpha, parisc, ppc, sh, sparc, sparc64. These are too big to inline. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: David Mosberger ChangeSet@1.1819, 2004-06-04 16:12:27-07:00, alext@fc.hp.com [PATCH] ia64: fix comment-typo in entry.S Signed-off-by: David Mosberger ChangeSet@1.1818, 2004-06-04 16:11:10-07:00, garyhade@us.ibm.com [PATCH] ia64: Fix early serial console setup regression on the IBM x450 and x455 This patch removes the ACPI LEGACY_DEVICES IA-PC boot architecture flag as a condition for early serial console setup. This flag may not be set on some systems (e.g. IBM x450 and x455) where early serial console setup is possible. Signed-off-by: Gary Hade Signed-off-by: David Mosberger ChangeSet@1.1817, 2004-06-04 16:08:45-07:00, alex.williamson@hp.com [PATCH] ia64: setup cpu_to_node for cpus not present In latest linux-2.5 bitkeeper, if you turn on CONFIG_HOTPLUG_CPU w/ an NR_CPUS greater than physically presents CPUs, you'll end up taking an MCA in __alloc_percpu(). kmem_cache_alloc_node() gets called with a node value of -1. It seems other architectures are defaulting the cpu_to_node map to zero for possible, but not present cpus. Here's a trivial patch that does the same for ia64. Signed-off-by: David Mosberger ChangeSet@1.1816, 2004-06-04 15:54:38-07:00, davidm@tiger.hpl.hp.com Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5 into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5 ChangeSet@1.1726.29.9, 2004-06-04 15:44:11-07:00, davidm@tiger.hpl.hp.com ia64: Avoid intermediate-overflows in sched_clock(). Bug reported by Zoran Menyhart. ChangeSet@1.1810.1.5, 2004-06-04 14:11:24-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: slip.c annotation ChangeSet@1.1810.1.4, 2004-06-04 14:11:13-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: depca annotation ioctl structure annotated ChangeSet@1.1810.1.3, 2004-06-04 14:11:02-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/net/tun.c annotation ChangeSet@1.1810.1.2, 2004-06-04 14:10:51-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: the rest of ifr_data cleanups and annotations The rest of ->ifr_data cleanups. A bunch of drivers use address of ifr->ifr_ifru, but spell that as &ifr->ifr_data, which expands to &ifr->ifr_ifru.ifru_data. ifr_ifru is a union and in effect they sneak in a private field into that union; ifr_ifru.ifru_data is a field in that union and it has nothing to do with the things they want to do. Cleaned up by explicit use of &ifr->ifr_ifru. Several places where we really use ->ifr_data (i.e. use its value and use it as __user pointer) annotated. ChangeSet@1.1810.1.1, 2004-06-04 14:10:38-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: if_mii() helper (from jgarzik) From: Jeff Garzik Jeff's patch adds a helper for obtaining mii_ioctl_data from ifreq and switches drivers to it. It's almost a "move common expression into inline helper", except that instead of (struct mii_ioctl_data *)&rq->ifr_ifru.ifru_data it does (struct mii_ioctl_data *)&rq->ifr_ifru - pointer to union instead of pointer to a field of union that has nothing to do with mii_ioctl_data *and* adds confusion by being a pointer itself. ChangeSet@1.1814, 2004-06-04 14:02:33-07:00, davem@nuts.davemloft.net Merge http://linux-lksctp.bkbits.net/lksctp-2.5.work into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1813, 2004-06-04 13:59:50-07:00, yoshfuji@linux-ipv6.org [UDPv4]: Pass correct socket to ip_mc_sf_allow. ChangeSet@1.1812, 2004-06-04 13:58:09-07:00, jmorris@redhat.com [IPVS]: IPVS needs checksum fixups. Here's an additional patch for ipvs, which also mangles packets via netfilter and was previously depending on the checksum helper in nf_hook_slow(). Signed-of-by: James Morris Signed-of-by: David S. Miller ChangeSet@1.1811, 2004-06-04 13:47:02-07:00, davem@nuts.davemloft.net Merge nuts.davemloft.net:/disk1/BK/network-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1764.4.1, 2004-06-04 21:21:51+01:00, rmk@flint.arm.linux.org.uk [PCMCIA] Add sparse annotations to ds.c ChangeSet@1.1764.3.2, 2004-06-04 20:03:16+01:00, Toshihiro.Kobayashi@com.rmk.(none) [ARM PATCH] 1911/1: fix of odd PMD handling in do_translation_fault() Patch from Toshihiro Kobayashi do_translation_fault() in arch/arm/mm/fault.c will never resolve odd PMD. This patch fixes that problem. ChangeSet@1.1810, 2004-06-04 11:59:56-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] apply nForce2 fixup only if C1 Halt Disconnect is enabled Some boards don't support C1 Halt Disconnect. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1764.3.1, 2004-06-04 17:54:37+01:00, catalin.marinas@com.rmk.(none) [ARM PATCH] 1912/1: Wrong cache aliasing bit check Patch from Catalin Marinas arch/arm/mm/mmap.c: arch_get_unamapped_area() checks bit 9 in the cache type register for possible cache aliasing problems. Bit 11 should be checked instead. ChangeSet@1.1809, 2004-06-04 07:24:16-07:00, viro@www.linux.org.uk [PATCH] sparse: tpqic annotation ChangeSet@1.1808, 2004-06-04 07:24:00-07:00, viro@www.linux.org.uk [PATCH] sparse: drivers/char/i8 annotation ChangeSet@1.1807, 2004-06-04 07:23:45-07:00, viro@www.linux.org.uk [PATCH] sparse: lp annotation ChangeSet@1.1806, 2004-06-04 07:23:33-07:00, viro@www.linux.org.uk [PATCH] sparse: misc drivers annotations assorted minor bits in drivers/* - all independent, but there's some limit to splitting stuff... ChangeSet@1.1805, 2004-06-04 07:23:24-07:00, viro@www.linux.org.uk [PATCH] sparse: ppdev annotation ChangeSet@1.1804, 2004-06-04 07:23:12-07:00, viro@www.linux.org.uk [PATCH] sparse: sonypi annotiation ChangeSet@1.1803, 2004-06-04 07:23:01-07:00, viro@www.linux.org.uk [PATCH] sparse: usb/core/devio annotation ChangeSet@1.1802, 2004-06-04 07:22:50-07:00, viro@www.linux.org.uk [PATCH] sparse: trivial fs annotations ChangeSet@1.1801, 2004-06-04 07:22:38-07:00, viro@www.linux.org.uk [PATCH] sparse: synclink annotation ChangeSet@1.1800, 2004-06-04 07:22:27-07:00, viro@www.linux.org.uk [PATCH] sparse: synclink_cs annotation ChangeSet@1.1799, 2004-06-04 07:22:16-07:00, viro@www.linux.org.uk [PATCH] sparse: ide-floppy annotation ChangeSet@1.1798, 2004-06-04 07:22:05-07:00, viro@www.linux.org.uk [PATCH] sparse: misc headers annotations several pointers in ioctl structures marked as userland ones. And that's it with this patchset. A couple more of those and we'll be done with the noise warnings ;-) ChangeSet@1.1797, 2004-06-04 00:39:32-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: rest of drivers/net annotations in the patchset s2io.c: bogus initializer ({{"a"},{"b"}} has too many braces for two-dimensional array of char - strings are arrays themselves). de4x5.h: missing __user on a pointer in ioctl structure. airo.c: cleaned up and fixed procfs ->read() and ->write() ChangeSet@1.1796, 2004-06-04 00:39:21-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: misc scsi annotation osst.c, st.c, scsi_debug.c annotated. ChangeSet@1.1795, 2004-06-04 00:39:10-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: gdth.c annotation ChangeSet@1.1794, 2004-06-04 00:38:59-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: hugetlb sysctl annotation ChangeSet@1.1793, 2004-06-04 00:38:48-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: rest of net/* annotations (in this patchset, that is ;-) ChangeSet@1.1792, 2004-06-04 00:38:37-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: selinux annotation selinuxfs.c annotated ChangeSet@1.1791, 2004-06-04 00:38:29-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: more wan annotations ChangeSet@1.1790, 2004-06-04 00:38:18-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: ->ifr_data fixes b44.c: ->ioctl() is broken, since it uses &ifr->ifr_data instead of ifr->ifr_data itself. Surprise, surprise, copy_from_user() on that address doesn't do any good... baycom_epp.c: does get_user() of the first word of structure, then immediately does copy_from_user() on the entire thing and completely ignores the value read by get_user() (it uses the same value in copied structure instead). Bogus get_user() call removed. ChangeSet@1.1789, 2004-06-04 00:38:07-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: ->ifr_data annotation ->ifr_data users annotated. ChangeSet@1.1788, 2004-06-03 22:43:54-07:00, paulus@samba.org [PATCH] ppc64: don't clear MSR.RI in do_hash_page_DSI Some code that is used on iSeries (do_hash_page_DSI in head.S) was clearing the RI (recoverable interrupt) bit in the MSR when it shouldn't. We were getting SLB miss interrupts following that which were panicking because they appeared to have occurred at a bad place. This patch fixes the problem. In fact it isn't necessary for do_hash_page_DSI to do anything to RI, so the patch changes the code to not set or clear it. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1787, 2004-06-03 22:34:34-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: mroute annotation ChangeSet@1.1786, 2004-06-03 22:34:23-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: more netfilter annotation ChangeSet@1.1785, 2004-06-03 22:34:12-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: sctp annotation ChangeSet@1.1784, 2004-06-03 22:34:00-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: bluetooth annotation ChangeSet@1.1764.2.2, 2004-06-03 22:04:23-07:00, davem@nuts.davemloft.net [NETFILTER]: In ipt_TCPMSS, SYN packets are never hw checksummed. Signed-off-by: David S. Miller ChangeSet@1.1764.2.1, 2004-06-03 22:03:01-07:00, jmorris@redhat.com [NETFILTER]: Fix checksum bug for multicast/broadcast packets on postrouting hook. In a nutshell, skb checksum mangling has been removed from nf_hook_slow() and pushed up to whatever really needs to do it. Namely: NAT, ip_fw_compat, ipt_TCPMSS, IPSec transforms. skb_checksum_help() has been changed to perform an skb_copy() if needed (e.g. the original problem case where bcast/mcast was cloning packets for transmission over loopback, changing ip_summed). Because of the above, the output path has been modified to take into account the fact that an skb may need to be changed in some places. There are some minor changes in the routing code to take care of the now different input and output function prototypes. The ipv6 fragmentation code has been modified to detect a changed skb. The rest of the patch (probably the bulk of it) is simply the result of changing to double skb pointers. I've tested this with ipv4, ipv6, ipsec (including xfrm bundles), NAT and the original DHCP test case. Everything seems to be working ok. Signed-off-by: James Morris Signed-off-by: David S. Miller ChangeSet@1.1783, 2004-06-03 21:43:50-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: vlan annotation ChangeSet@1.1782, 2004-06-03 21:43:39-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: irda annotation ChangeSet@1.1781, 2004-06-03 21:38:06-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: netlink annotation ChangeSet@1.1780, 2004-06-03 21:37:55-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: net/bridge annotation net/bridge partially annotated. There are nasty problems with net/bridge/netfilter/* and they'll need to be dealt with at some point - it mixes kernel and userland pointers a lot and while it seems to avoid obvious breakage, it's not a nice code. ChangeSet@1.1779, 2004-06-03 21:37:44-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: wanrouter annotation ChangeSet@1.1778, 2004-06-03 21:37:33-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: econet annotation econet partially annotated. It's still badly broken - it mixes userland and kernel chunks in the same iovec, then does set_fs(KERNEL_FS) and sends that to sock_sendmsg(). Do we still want to support that protocol family, anyway? ChangeSet@1.1777, 2004-06-03 21:29:23-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: appletalk annotation ChangeSet@1.1776, 2004-06-03 21:29:13-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: ipx annotation ChangeSet@1.1775, 2004-06-03 21:27:41-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: x25 annotation ChangeSet@1.1774, 2004-06-03 21:27:30-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: rose annotation ChangeSet@1.1773, 2004-06-03 21:27:19-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: netrom annotation ChangeSet@1.1772, 2004-06-03 21:27:08-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: ax25 annotation ChangeSet@1.1771, 2004-06-03 21:26:57-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: decnet annotation ChangeSet@1.1770, 2004-06-03 21:26:47-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: coda annotation ChangeSet@1.1769, 2004-06-03 21:02:54-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: atm annotation - drivers The rest of ATM annotation: drivers. ChangeSet@1.1768, 2004-06-03 21:02:43-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: atm annotation (core) ATM core annotated; ATM drivers will go in the next patch, here we only annotated their method prototypes ChangeSet@1.1764.1.42, 2004-06-03 20:38:25-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] drivers/atm/horizon.c delousing Same as with ambassador.c - same authors, same braindamage. ChangeSet@1.1764.1.41, 2004-06-03 20:38:14-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] drivers/atm/ambassador.c delousing Translated to C. Original was anything but. BTW, even if they were writing in Pascal, their use of nested functions would be gratuitous for such a situation. ChangeSet@1.1764.1.40, 2004-06-03 20:28:37-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: rest of drivers/block annotation ChangeSet@1.1764.1.39, 2004-06-03 20:28:26-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: paride annotation ChangeSet@1.1764.1.38, 2004-06-03 20:28:16-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: cpqarray annotation ChangeSet@1.1764.1.37, 2004-06-03 20:28:05-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: cciss annotation cciss annotated, definition of inlined helpers moved up - before their first use. ChangeSet@1.1764.1.36, 2004-06-03 20:27:54-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: DAC960 annotation ChangeSet@1.1764.1.35, 2004-06-03 20:27:43-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/pnp annotation ChangeSet@1.1764.1.34, 2004-06-03 20:27:32-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/md annotation ChangeSet@1.1764.1.33, 2004-06-03 20:27:21-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/cdrom annotation ChangeSet@1.1764.1.32, 2004-06-03 20:27:10-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: drivers/cpufreq annotation drivers/cpufreq annotated ChangeSet@1.1764.1.31, 2004-06-03 19:54:49-07:00, torvalds@ppc970.osdl.org sparse: annotate (and comment on) kmod.c user pointer usage Big comment, because it wasn't clear why this cast was valid. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1764.1.30, 2004-06-03 19:41:31-07:00, viro@www.linux.org.uk [PATCH] sparse: forte annotation forte annotated ChangeSet@1.1764.1.29, 2004-06-03 19:41:21-07:00, viro@www.linux.org.uk [PATCH] sparse: msnd annotation msnd annotated ChangeSet@1.1764.1.28, 2004-06-03 19:41:10-07:00, viro@www.linux.org.uk [PATCH] sparse: ymfpci annotation ymfpci annotated ChangeSet@1.1764.1.27, 2004-06-03 19:40:59-07:00, viro@www.linux.org.uk [PATCH] sparse: maestro annotation maestro annotated ChangeSet@1.1764.1.26, 2004-06-03 19:40:48-07:00, viro@www.linux.org.uk [PATCH] sparse: btaudio annotation btaudio annotated ChangeSet@1.1764.1.25, 2004-06-03 19:40:37-07:00, viro@www.linux.org.uk [PATCH] sparse: ad1889 annotation ad1889 annotated ChangeSet@1.1764.1.24, 2004-06-03 19:40:27-07:00, viro@www.linux.org.uk [PATCH] sparse: the rest of sound/* annotation Remaining bits and pieces in sound/oss annotated. At that point sound/* is done - we have no noise warnings left there. ChangeSet@1.1764.1.23, 2004-06-03 19:40:16-07:00, viro@www.linux.org.uk [PATCH] sparse: maestro3 annotation maestro3 annotated ChangeSet@1.1764.1.22, 2004-06-03 19:40:06-07:00, viro@www.linux.org.uk [PATCH] sparse: sonicvibes annotation sonicvibes annotated ChangeSet@1.1764.1.21, 2004-06-03 19:39:55-07:00, viro@www.linux.org.uk [PATCH] sparse: ali5455 annotation ali5455 annotated ChangeSet@1.1764.1.20, 2004-06-03 19:39:44-07:00, viro@www.linux.org.uk [PATCH] sparse: cs46xx annotation cs46xx annotated ChangeSet@1.1764.1.19, 2004-06-03 19:39:33-07:00, viro@www.linux.org.uk [PATCH] sparse: i810 annotation i810 annotated ChangeSet@1.1764.1.18, 2004-06-03 19:39:22-07:00, viro@www.linux.org.uk [PATCH] sparse: rme96xx annotation rme96xx annotated ChangeSet@1.1764.1.17, 2004-06-03 19:39:11-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: esssolo annotation esssolo annotated ChangeSet@1.1764.1.16, 2004-06-03 19:39:00-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: es1370 annotation es1370 annotated ChangeSet@1.1764.1.15, 2004-06-03 19:38:50-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: es1371 annotation es1371 annotated ChangeSet@1.1764.1.14, 2004-06-03 19:38:39-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: cmpci annotation cmpci annotated ChangeSet@1.1764.1.13, 2004-06-03 19:38:28-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: cs4281 annotation cs4281 annotated ChangeSet@1.1764.1.12, 2004-06-03 19:38:17-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: rest of ALSA annotation The rest of annotation for ALSA drivers; only OSS stuff left to do in sound/* ChangeSet@1.1764.1.11, 2004-06-03 19:38:05-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: emu10k1 annotation emu10k1 annotated. ChangeSet@1.1764.1.10, 2004-06-03 19:37:54-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: rme9652 annotation Annotated driver and ioctl structure used by it. ChangeSet@1.1764.1.9, 2004-06-03 19:37:43-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: trident annotation Both ALSA and OSS variants ChangeSet@1.1764.1.8, 2004-06-03 19:37:32-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: vx annotation Both PCI and PCMCIA variants of driver annotated ChangeSet@1.1764.1.7, 2004-06-03 19:37:22-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: sb annotation sb annotation (both ALSA and OSS drivers) ChangeSet@1.1764.1.6, 2004-06-03 18:19:22-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: wavefront annotation Both ALSA and OSS drivers + wavefront ioctl structure annotated. NB: both should be switched to generic firmware loading - as it is, they are using a homegrown and rather ugly variant ChangeSet@1.1764.1.5, 2004-06-03 18:19:11-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: sscape annotation ChangeSet@1.1764.1.4, 2004-06-03 18:19:00-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: sound/isa/gus annotation GUS annotated. ChangeSet@1.1764.1.3, 2004-06-03 18:18:49-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: rest of sound/core The rest of sond/core annotated; reverted bogus addition of __user in snd_seq_kernel_client_ctl() - I should've guessed from the name alone ;-) ChangeSet@1.1764.1.2, 2004-06-03 18:18:40-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: opl annatation Annotated sound/drivers/opl* ChangeSet@1.1764.1.1, 2004-06-03 18:18:29-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: sound/core/pcm* annotation The tricky part here was an iterator that used to take a callback and argument for that callback as parameters. Iterator itself didn't care what type that argument had been; it's entirely up to callback. The thing is, two callbacks expect (and get) char __user * while other two expect (and also get) char __user **. Iterator used to use void * as "opaque data"; I've switched it to unsigned long. Note that there was nothing that said "it's a pointer" - use of callback that would take e.g. int is also perfectly legitimate. The rest is triviali annotation. ChangeSet@1.1726.68.6, 2004-06-03 17:46:29-07:00, sri@us.ibm.com [SCTP] Fix poll() on a 1-1 style socket so that it returns when the association is aborted by peer. ChangeSet@1.1726.29.8, 2004-06-03 17:41:08-07:00, arun.sharma@intel.com [PATCH] ia64: disable in-kernel ia32 emulation post Madison For IPF processors beyond Madison, this patches changes the kernel to allow IA-32 application execution exclusively using IA-32EL. Signed-off-by: Arun Sharma Signed-off-by: David Mosberger ChangeSet@1.1726.68.5, 2004-06-03 17:40:49-07:00, sri@us.ibm.com [SCTP] Fix to wakeup blocking connect() after max INIT retries failed. ChangeSet@1.1726.68.4, 2004-06-03 17:33:41-07:00, sri@us.ibm.com [SCTP] Fix missing VTAG validation on certain incoming packets. ChangeSet@1.1726.29.7, 2004-06-03 17:26:51-07:00, arun.sharma@intel.com [PATCH] ia64: tighten FPH state context switch check In the absence of this patch, a process can set it's own mfh bit and potentially view another process's high floating point registers. So a check is needed. Signed-off-by: Arun Sharma Signed-off-by: David Mosberger ChangeSet@1.1726.68.3, 2004-06-03 17:26:13-07:00, sri@us.ibm.com [SCTP] Fix the use of cached non-zero vtag in an INIT that is resent after a stale cookie error. ChangeSet@1.1726.29.6, 2004-06-03 17:20:24-07:00, pfg@sgi.com [PATCH] ia64: for SN2, disable MST errors on probe Signed-off-by: David Mosberger ChangeSet@1.1726.68.2, 2004-06-03 17:19:57-07:00, jhh@lucent.com [SCTP] Fix to not start a new association on a 1-many style sendmsg() with MSG_EOF/MSG_ABORT flag and no data. ChangeSet@1.1726.68.1, 2004-06-03 17:16:07-07:00, jhh@lucent.com [SCTP] Fix to not setup a new association if the endpoint is in SHUTDOWN_ACK_SENT state and recognizes that the peer has restarted. ChangeSet@1.1764, 2004-06-03 16:48:01-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: annotation of include/sound (generic parts) Annotated method prototypes, commonly used ioctl-only structures and generic helpers. Instances of methods in drivers are _not_ annotated at that point - they will go with driver patches ChangeSet@1.1763, 2004-06-03 16:47:51-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: sound/core annotation - trivial part Trivial parts of sound/core annotation. ChangeSet@1.1762, 2004-06-03 16:47:39-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: sound/core/timer.c fix copy_from_user() where copy_to_user() should've been. Unfortunately, on x86 they are almost identical, so it went unnoticed for quite a while. ChangeSet@1.1761, 2004-06-03 16:47:28-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: msnd sound fix msnd_pinnacle/msnd_classic do copy_{to,from}_user under a spinlock. Taken out of spinlock (into a temp. buffer). Calls of msnd_fifo_{read,write} always go from kernel buffer now, so we can drop the 'int user' argument in them _and_ simplify error handling - all errors were from copy_..._user() and now these are called directly by dsp_read()/dsp_write(). ChangeSet@1.1760, 2004-06-03 16:47:17-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: sound sb fix In some cases snd_sb_csp_load() did kmalloc() and copy_from_user() under a spinlock. Split into snd_sb_csp_load() and snd_sb_csp_load_user() - ther former always from kernel pointer, the latter - from userland. snd_sb_csp_load_user() doesn't take any locks itself, it just does kmalloc, copy_from_user and calls snd_sb_csp_load() to do the rest. ChangeSet@1.1759, 2004-06-03 16:12:53-07:00, akpm@osdl.org [PATCH] Add the sixth arg to the sys_futex() prototype. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1726.67.11, 2004-06-03 23:53:06+01:00, davej@redhat.com [CPUFREQ] Convert longhaul debug printk to use varargs. From: Joe Perches. Signed-off-by: Dave Jones ChangeSet@1.1726.67.10, 2004-06-03 23:46:25+01:00, davej@redhat.com [CPUFREQ] Remove bogus longhaul v4 The code only supports 3 versions, so numbering them 1,2 and 4 doesn't make a lot of sense. Signed-off-by: Dave Jones ChangeSet@1.1726.67.9, 2004-06-03 23:44:00+01:00, davej@redhat.com [CPUFREQ] Move longhaul multiplier debug printk to somewhere more useful. If we abort due to a reserved FSB being found, we probably want to know the multipliers. Signed-off-by: Dave Jones ChangeSet@1.1726.67.8, 2004-06-03 23:42:37+01:00, davej@redhat.com [CPUFREQ] Remove duplicate debug printk from longhaul driver. Signed-off-by: Dave Jones ChangeSet@1.1726.67.7, 2004-06-03 23:40:20+01:00, davej@redhat.com [CPUFREQ] Unify the EBLCR parsing code in longhaul. Signed-off-by: Dave Jones ChangeSet@1.1726.67.6, 2004-06-03 23:34:18+01:00, davej@redhat.com [CPUFREQ] Document some oddness in the longhaul driver. Signed-off-by: Dave Jones ChangeSet@1.1726.67.5, 2004-06-03 23:29:42+01:00, davej@redhat.com [CPUFREQ] Remove lots of redundant code from longhaul driver. The recent Nehemiah changes introduced lots of stuff that does a whole lot of nothing. Nuke it. Signed-off-by: Dave Jones ChangeSet@1.1726.67.4, 2004-06-03 23:24:07+01:00, davej@redhat.com [CPUFREQ] Fix powernow-k7 when ACPI_PROCESSOR built as module. From Herbert Xu Signed-off-by: Dave Jones ChangeSet@1.1752.2.46, 2004-06-03 15:06:05-07:00, paulus@samba.org [PATCH] ppc32: Fix locks.c properly this time When I moved the exports into arch/ppc/lib/locks.c, I forgot to include module.h, so it doesn't compile (with CONFIG_SMP + CONFIG_SPINLOCK_DEBUG). This patch fixes it. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1752.4.4, 2004-06-03 14:54:24-07:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1752.4.3, 2004-06-03 14:51:40-07:00, davem@nuts.davemloft.net [SPARC64]: New 6th arg of sys_futex needs sign extension. ChangeSet@1.1752.4.2, 2004-06-03 14:44:52-07:00, hch@lst.de [SBUS]: Further cleanup of scsi driver header usage. ChangeSet@1.1752.4.1, 2004-06-03 14:44:08-07:00, hch@lst.de [ATM]: Simplify fore200e DMA macros even further. ChangeSet@1.1726.67.3, 2004-06-03 22:34:21+01:00, davej@redhat.com [CPUFREQ] Change longhaul debugging info printk's to dprintk's ChangeSet@1.1752.2.45, 2004-06-03 13:16:15-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] DMA mode setup fixes for piix.c/ata_piix.c From: Go Taniguchi (Turbolinx Inc.) Change reg48 and reg54 in 8bit access and remove unused reg44. Jeff acked ata_piix.c part. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1752.3.1, 2004-06-03 21:13:07+01:00, icampbell@com.rmk.(none) [ARM PATCH] 1890/2: Consolidate CPUFREQ handling in SOC PCMCIA driver Patch from Ian Campbell Rediffed against latest BK. Compiles on Assabet and my PXA255 platform. Tested on my 255 platform. ChangeSet@1.1755, 2004-06-03 20:04:33+01:00, nico@org.rmk.(none) [ARM PATCH] 1910/1: rework Mainstone and IDP include files Patch from Nicolas Pitre Don't include them from hardware.h ChangeSet@1.1754, 2004-06-03 17:01:25+01:00, rmk@flint.arm.linux.org.uk [ARM] Don't include lubbock.h in asm/arch/hardware.h Since asm/arch/hardware.h is included (indirectly) by most kernel files, we don't want all these files depending on the individual machine support files, especially as only five files really require the header. Instead, explicitly include lubbock.h into files as necessary. ChangeSet@1.1752.2.44, 2004-06-03 08:26:30-07:00, rmk+lkml@arm.linux.org.uk [PATCH] Export swapper_space swapper_space is needed by at least loop/st/sg these days. ChangeSet@1.1752.2.43, 2004-06-03 08:22:18-07:00, paulus@samba.org [PATCH] ppc32: Reduce WARN_ON(0) to nothing The last patch I sent means that we have WARN_ON(0) in a couple of places when CONFIG_PREEMPT=n. This patch makes that reduce to nothing (rather than a conditional trap on a 0 value), and also makes BUG_ON(0) reduce to nothing for completeness. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.42, 2004-06-03 08:22:08-07:00, paulus@samba.org [PATCH] ppc32: Fix preemptible check Ben H added a check in a couple of places to make sure that we had preemption disabled when we call enable_kernel_{fp,altivec}. Unfortunately the check he used trips in the case when CONFIG_PREEMPT=n. This patch fixes it by defining a preemptible() macro (which reduces to 0 when CONFIG_PREEMPT=n) and doing WARN_ON(preemptible()). Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.41, 2004-06-03 08:21:57-07:00, paulus@samba.org [PATCH] ppc32: Make ppc32 PCI code more robust The main thrust of this patch is to make the ppc32 PCI code more robust by checking for bus->resource[] being NULL before using it. We can legitimately get elements of bus->resource being NULL and I have actually hit that on some machines. This patch also allows resources starting at 0 to be accepted as assigned (we can and do get PCI resources starting at 0 in I/O space on PPC machines) and provides a sensible default for the case where Open Firmware doesn't give us a bus-range property for a PCI bridge. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.40, 2004-06-03 08:21:47-07:00, paulus@samba.org [PATCH] ppc32: Use -fPIC instead of -mrelocatable-lib The ppc32 boot code has a couple of files that are executed very early on before the kernel is mapped at the address it is linked at. We have been using -mrelocatable-lib to compile these files, but apparently -mrelocatable-lib is deprecated and the gcc developers are threatening to remove it. In fact the -fPIC flag does what we need. This patch changes -mrelocatable-lib to -fPIC. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.39, 2004-06-03 08:21:36-07:00, paulus@samba.org [PATCH] ppc32: Suppress bogus info in /proc/ppc_htab on 64-bit cpus In the ppc32 kernel, we have a /proc/ppc_htab file that trawls through the MMU hash table and prints various statistics on it such as percent occupancy. However, the hash table entry format is different on 64-bit cpus (POWER3, G5) which the ppc32 kernel does support (in 32-bit mode). This patch disables the scanning of the MMU hash table and printing of the statistics that we get from it on 64-bit cpus. Since the statistics are only for interest, and the ppc32 kernel is being used less and less on 64-bit cpus now that the ppc64 kernel is in reasonable shape, I didn't think it worth while to add code to deal with the 64-bit HPTE format. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.38, 2004-06-03 08:21:26-07:00, paulus@samba.org [PATCH] ppc32: Don't synchronize in disable_irq() if no handler This patch is the ppc32 counterpart to a fix that went into arch/i386/kernel/irq.c last October. The bug was noted by Al Viro: if no handler exists, and we have IRQ_INPROGRESS set because of an earlier irq that got through, synchronize_irq() will end up waiting forever. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.37, 2004-06-03 08:21:15-07:00, paulus@samba.org [PATCH] ppc32: Add _raw_write_trylock I tried compiling a PPC32 kernel with PREEMPT + SMP and it failed because we didn't have a _raw_write_trylock. This patch adds _raw_write_trylock, moves the exports of _raw_*lock from arch/ppc/kernel/ppc_ksyms.c to arch/ppc/lib/locks.c, and makes __spin_trylock static since it is only used in locks.c. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.36, 2004-06-03 08:20:09-07:00, torvalds@ppc970.osdl.org sparse: fix up futex address space warning ChangeSet@1.1752.2.35, 2004-06-03 08:05:20-07:00, akpm@osdl.org [PATCH] direct-io invalidation fix clean_blockdev_aliases() is using the wrong thing to work out how many filesystem blocks should be invalidated. It invalidates too many, which can cause live fs metadata buffers to be invalidated when they are pending writeout. It's a filesystem-wrecker, although seems very hard to hit. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.34, 2004-06-03 08:05:09-07:00, akpm@osdl.org [PATCH] bug in sys_io_setup From: Jerzy Szczepkowski There is a bug in sys_io_setup(). If ioctx_alloc() succeeds and put_user() fails io_destroy() is called. io_destroy() assumes that ioctx->users >= 2 (if context is alive) and calls put_ioctx twice, while in this sequence ioctx->users == 1. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.33, 2004-06-03 08:04:58-07:00, akpm@osdl.org [PATCH] Use decimal instead of hex for EDD values From: "Patrick J. LoPresti" This patch changes default_cylinders, default_heads, default_sectors_per_track, legacy_max_cylinder, legacy_max_head, legacy_sectors_per_track, and sectors to decimal. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.32, 2004-06-03 08:04:48-07:00, akpm@osdl.org [PATCH] Better names for EDD legacy_* fields From: "Patrick J. LoPresti" Renames legacy_heads to legacy_max_head legacy_sectors to legacy_sectors_per_track. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.31, 2004-06-03 08:04:36-07:00, akpm@osdl.org [PATCH] use c99 struct initializer in hotcpu_notifier From: Nathan Lynch The hotcpu_notifier macro does not properly record the given priority in the notifier block. This causes trouble only for callers which specify a non-zero priority, of which there are none (yet). Signed-off-by: Nathan Lynch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.30, 2004-06-03 08:04:25-07:00, akpm@osdl.org [PATCH] ext3_orphan_del may double-decrement bh->b_count From: Jeff Mahoney Chris Mason and I ran across this one while hunting down another bug. If ext3_mark_iloc_dirty() fails in ext3_orphan_del() on the outer buffer, bh->b_count will be decremented twice. ext3_mark_iloc_dirty() will brelse the buffer, even on error. ext3_orphan_del() is explicity brelse'ing the buffer on error. Prior to calling ext3_mark_iloc_dirty(), this is the correct behavior. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.29, 2004-06-03 08:04:14-07:00, akpm@osdl.org [PATCH] update elilo loader location in Kconfig From: Matt Tolentino The elilo EFI boot loader has been moved to sourceforge. So, update the location of where one might look for it. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.28, 2004-06-03 08:04:03-07:00, akpm@osdl.org [PATCH] kill off efi_dir in efi.h From: Matt Tolentino The /proc support for efi 'stuff' isn't used/needed anymore, yet the efi_dir declaration remains. This removes it. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.27, 2004-06-03 08:03:52-07:00, akpm@osdl.org [PATCH] quota: fix for old quota format From: Jan Kara Fix a problem in the old quota format when we tried to read quota information after the end of quota file (that is correct as it might a user with sufficiently large UID which has no limits or usage). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.26, 2004-06-03 08:03:41-07:00, akpm@osdl.org [PATCH] quota: fix writing of quota info From: Jan Kara Fixes a problem with some quota operations not writing the quota info they changed which could later cause that some transaction to use more buffers than it had reserved or it could cause corrupted quota files when the system was rebooted at the right time. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.25, 2004-06-03 08:03:27-07:00, akpm@osdl.org [PATCH] s390: network device driver From: Martin Schwidefsky Network driver changes: - iucv: Fix special case of a "Connection Pending" interrupt within iucv_do_int. - netiucv: Revoke broken iucvMagic change for more than one connection. - qeth: Fix string parsing in notifier_register attribute function. - qeth: Add code for socket ioctl SIOC_QETH_GET_CARD_TYPE. - qeth: Fix debug log entry and buffer copy in qeth_snmp_command_cb. - qeth: Fix race on qeth_dbf_txt_buf. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.24, 2004-06-03 08:03:07-07:00, akpm@osdl.org [PATCH] s390: block device driver From: Martin Schwidefsky block device driver changes: - dasd: Fix diag discipline if it is loaded as a module. - dcssblk: Replace r/w lock with r/w semaphore to be able to call device_register inside a critical section. - dcssblk: Fix error handling in write function for dcss "add" attribute. - xpram & dcssblk: Fix sanity check for sector number. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.23, 2004-06-03 08:02:51-07:00, akpm@osdl.org [PATCH] s390: common i/o layer From: Martin Schwidefsky Common i/o layer changes: - qdio: Lose the adapter lock for thin interrupts to improve performance and do unregister of the adapter interrupt handler with rcu. - ccwgroup: Fix error handling when creating a ccwgroup device. - Convert the slow crw kernel thread to a single threaded workqueue. - Use the slow crw workqueue to unregister a subchannel after it was found not operational to serialize it with other possible unregister/ register events coming in via machine checks. - Trigger a rescan of the css via the slow path if a missing channel path is found in __recover_lost_chpids. - Use saner default levels for the debug feature, add some debugging code. - Remove request_irq and free_irq stubs. - Remove bogus inlines. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.22, 2004-06-03 08:02:35-07:00, akpm@osdl.org [PATCH] s390: core From: Martin Schwidefsky s390 core changes: - Make use of the ipte instruction for ptep_set_access_flags - Fix atomic64_inc_and_test primitive as well. - Fix return type handler for __copy_in_user. - New default configuration. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.21, 2004-06-03 08:02:18-07:00, akpm@osdl.org [PATCH] hugetlbpage: reinitialise compound page destructor From: David Gibson Currently the hugepage code stores the hugepage destructor in the mapping field of the second of the compound pages. However, this field is never cleared again, which causes tracebacks from free_pages_check() if the hugepage is later destroyed by reducing the number in /proc/sys/vm/nr_hugepages. This patch fixes the bug by clearing the mapping field when the hugepage is freed. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.20, 2004-06-03 08:02:02-07:00, akpm@osdl.org [PATCH] direct-io hole fix From: Chris Mason When filling holes via DIRECT_IO, we fall back to normal buffered io. For this to work properly, the direct io funcs have to return a value of zero to the file write functions, so the file write functions know where to start writing. In some cases, dio->result was getting returned by direct_io_worker, and that wasn't always zero, causing some data not to be written. From: : - Simplify things by setting `ret' later on, fix up subsequent damage to the dio_complete() args. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.19, 2004-06-03 08:01:46-07:00, akpm@osdl.org [PATCH] hugetlbpage msync() fix From: David Gibson Currently, calling msync() on a hugepage area will cause the kernel to blow up with a bad_page() (at least on ppc64, but I think the problem will exist on other archs too). The msync path attempts to walk pagetables which may not be there, or may have an unusual layout for hugepages. Lucikly we shouldn't need to do anything for an msync on hugetlbfs beyond flushing the cache, so this patch should be sufficient to fix the problem. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.18, 2004-06-03 08:01:30-07:00, akpm@osdl.org [PATCH] move #endif to correct place From: David Mosberger Darrene Williams noticed that the #endif for __ARCH_WANT_SYS_SIGPROCMASK was off by one routine. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.17, 2004-06-03 08:01:14-07:00, akpm@osdl.org [PATCH] aio: fix io_getevents() timer expiry setting From: William Lee Irwin III start_jiffies was not respected by set_timeout(), which reread jiffies instead of respecting what read_events() passed it. This difference can be significant, particularly if the calling process slept during the copy_to_user() operation in read_events(). To correct this, this patch teaches it to respect its argument, with the additional bonus of converting it to use timespec_to_jiffies() instead of open-coding it. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.16, 2004-06-03 08:01:02-07:00, akpm@osdl.org [PATCH] use const in time.h unit conversion functions From: William Lee Irwin III The time conversion functions may have const args, which is in fact useful for when they are passed const variables as arguments so as to avoid discarding qualifiers from pointer types warnings. This is a preparatory cleanup for a minor aio bugfix. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1726.67.2, 2004-06-03 16:00:55+01:00, davej@redhat.com [CPUFREQ] Remove duplicate declaration of debug var from longhaul. Spotted by Joe Perches. I'm surprised gcc didn't at least warn about this. Signed-off-by: Dave Jones ChangeSet@1.1752.2.15, 2004-06-03 08:00:46-07:00, akpm@osdl.org [PATCH] mm/oom_kill.c trivial cleanup From: "Luiz Fernando N. Capitulino" Remove duplicated assignment. Signed-off by: Luiz Capitulino Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.14, 2004-06-03 08:00:30-07:00, akpm@osdl.org [PATCH] dm: add DM_REMOVE_ALL_32 compat ioctl From: Marcus Meissner Add DM_REMOVE_ALL_32 to the list of compatible ioctls. Signed-off-By: Marcus Meissner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.13, 2004-06-03 08:00:14-07:00, akpm@osdl.org [PATCH] fix possible NULL pointer in fs/ext3/super.c. From: "Luiz Fernando N. Capitulino" In fs/ext3/super.c::ext3_get_journal() at line 1675 `journal' can be NULL, but it is not handled right (detect by Coverity's checker). Signed-off by: Luiz Capitulino Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.12, 2004-06-03 07:59:59-07:00, akpm@osdl.org [PATCH] Fix loop device cache handling From: Russell King It appears the loop driver has had one flush_dcache_page() call added for the case where it writes to the backing device page cache pages. However, it seems to be missing the call where it writes to its own page cache pages. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.11, 2004-06-03 07:59:43-07:00, akpm@osdl.org [PATCH] sched: balance-on-exec fix From: Jack Steiner It looks like the call to sched_balance_exec() from do_execve() is in the wrong spot. The code calls sched_balance_exec() before determining whether "filename" actually exists. In many cases, users have several entries in $PATH. If a full path name is not specified on the 'exec" call, the library code iterates thru the files in the PATH list until it finds the program. This can result is numerous migrations of the parent process before the program is actually found. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.10, 2004-06-03 07:59:32-07:00, akpm@osdl.org [PATCH] floppy minor number fix From: Paul Slootman Correctly set the floppy disk's first minor. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.9, 2004-06-03 07:59:21-07:00, akpm@osdl.org [PATCH] selinux: check processed security context length From: Stephen Smalley This patch changes security_context_to_sid to check the length of the processed security context against the full length of the provided context, rejecting any further data. Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.8, 2004-06-03 07:59:10-07:00, akpm@osdl.org [PATCH] Add reference_init.pl to `make buildcheck' target `make buildcheck' only checks for calls to linker discarded sections, reference_init checks for calls to sections discarded at run time, init was cloned from discarded. They are separate because the linker detects the discarded case and I did not want to confuse users with messages about init text/data while they were fixing the linker errors. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.7, 2004-06-03 07:58:58-07:00, akpm@osdl.org [PATCH] partition table validity checking From: Andries Brouwer The patch examines a putative partition table, and if that doesnt look like a valid partition table it goes away again. Some devices have partition tables (and there are many styles of such), some don't. Traditionally fixed disks have one, floppies don't. Nobody knows what happens with ZIP disks, USB sticks and other such things. Both the DOS-type partition table, and the "big floppy" whole disk FAT filesystem are common. It is undesirable for the kernel to detect partitions where there are none. This leads to great confusion, sometimes to kernel crashes. In the particular case of DOS-type partition tables a partition entry has a 1-byte field boot_ind that traditionally is 0x80 for the boot partition and 0 for the other three primary partitions. Linux does not use this field, and one sometimes sees tables with all four entries zero. The patch tells the kernel not to think that something is a valid DOS-type partition table when a value other than 0 or 0x80 is encountered. I think it is a fairly safe change: I do not know of any fdisk-type program that will write other values there. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.6, 2004-06-03 07:58:47-07:00, akpm@osdl.org [PATCH] ppc64 gives up too quickly on hotplugged cpu From: Nathan Lynch On some systems it can take a hotplugged cpu much longer to come up than it would at boot. If the cpu comes up after we've given up on it, it tends to die in its first attempt to kmem_cache_alloc (uninitialized percpu data, I imagine). In my experimentation I haven't seen a processor take more than one second to become available; the patch waits five seconds just to be safe. Signed-off-by: Nathan Lynch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.5, 2004-06-03 07:58:36-07:00, akpm@osdl.org [PATCH] ppc64: update info about available iseries_veth interfaces From: Olaf Hering /proc/iSeries/config contains now the number of configured virtual ethernet adapters. AVAILABLE_VETH should only indicate if there is at least one interface available, iseries_veth must be loaded in this case. Printing the entire map will give installers some hints about what interface numbers will appear and how the MAC address may look like. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.4, 2004-06-03 07:58:25-07:00, akpm@osdl.org [PATCH] ppc64: kernel Makefile options for $(AS) From: Olaf Hering `-64' is no longer a valid option for as. Pass it `-a64' instead. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.3, 2004-06-03 07:58:14-07:00, akpm@osdl.org [PATCH] ppc32: add "indirect" DCR access, pass 2 From: Matt Porter DCR number is encoded in mfdcr/mtdcr command itself and this prevents easy DCR access when register number is not known on compile time. This patch adds __mfdcr & __mtdcr helpers which use pre-generated mfdcr/mtdcr sequences for all possible DCR numbers. We also use GCC extension __builtin_constant_p to optimize cases when DCR number is in fact known during compilation. Signed-off-by: Eugene Surovegin Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.2, 2004-06-03 07:58:03-07:00, akpm@osdl.org [PATCH] shrink_all_memory() fixes - Off-by-one in balance_pgdat means that we're not scanning the zones all the way down to priority=0. - Always set zone->temp_priority in shrink_caches(). I'm not sure why I had the `if (zone->free_pages < zone->pages_high)' test in there, but it's preventing us from setting ->prev_priority correctly on the try_to_free_pages() path. - Set zone->prev_priority to the current priority if it's currently a "lower" priority. This allows us to build up the pressure on mapped pages on the first scanning pass rather than only on successive passes. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.2.1, 2004-06-03 07:57:52-07:00, akpm@osdl.org [PATCH] ramfs o_sync oops fix Writing to ramfs files with O_SYNC dereferences null in mpage_writepages(), due to null a_ops->writepage. The call path is generic_file_aio_write_nolock ->generic_osync_inode ->write_inode_now ->__writeback_single_inode ->__sync_single_inode ->do_writepages ->mpage_writepages The best fix for this is to visit all ram-backed filesystems and give them a no-op a_ops.writepages. But baling out if the file is memory-backed is a sufficient coverall and is how we handle this in __filemap_fdatawrite(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.1752.1.1, 2004-06-03 15:34:49+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 1906/1: S3C2410: serial minor number fix Patch from Ben Dooks Fix the minor number of the serial device to be the same as the configuration in the 2.4.x series kernels. ChangeSet@1.1753, 2004-06-03 15:21:54+01:00, tony@com.rmk.(none) [ARM PATCH] 1902/1: OMAP update 1/3: entry-armv.S Patch from Tony Lindgren Update the IO register names in entry-armv.S ChangeSet@1.1752, 2004-06-02 23:47:52-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: simplify CONFIG_IDEDMA_ONLYDISK logic a bit Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1751, 2004-06-02 23:47:41-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: remove useless /proc/ide/siimage from siimage.c It only gives (not mapped in case of MMIO) DMA base addresses. The same info is given during driver initialization (if BM-DMA is used) or can be obtained from 'lspci -v' output (if MMIO-DMA is used). Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1750, 2004-06-02 23:47:30-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: add IDE_ARCH_OBSOLETE_DEFAULTS per jgarzik's suggestion Define it in if ide_default_io_base(), ide_default_irq() and ide_init_default_irq() are needed. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1749, 2004-06-02 23:47:18-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: use as They are identical (modulo infamous PC9800 stuff). Acked by Andi. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1748, 2004-06-02 23:47:08-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: use generic ide_init_hwif_ports() on m68k Also print the same warning as on m68k on other archs too. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1747, 2004-06-02 23:46:57-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: add new nForce IDE/SATA device IDs to amd74xx.c From: "Brian Lazara" Add device IDs for new nForce IDE and SATA controllers. Rename some of the existing controller names to correctly match released product names. Acked by Vojtech. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1746, 2004-06-02 23:46:46-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: merge amd74xx.h into amd74xx.c While at it add DECLARE_AMD_DEV() and DECLARE_NV_DEV() macros (ala piix.h:DECLARE_PIIX_DEV() added by jgarzik). Acked by Vojtech. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1745, 2004-06-02 23:46:35-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: ide_pci_device_t sanitization - convert ->isa_ports into ->flags (IDEPCI_FLAG_ISA_PORTS) - add IDEPCI_FLAG_{OBS_FORCE_PDC,FORCE_MASTER} flags and use them in setup-pci.c - use struct pci_dev ->vendor and ->device fields directly in generic.c and serverworks.c - remove no longer needed debug checks (dev->device != d->device) - remove ->vendor and ->device fields from ide_pci_device_t - misc cleanups Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1744, 2004-06-02 23:46:23-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: fix for generic IDE PCI module Extracted from the Debian kernel package. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1743, 2004-06-02 23:46:12-07:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide: don't put disks in standby mode on halt on Alpha From: Ivan Kokshaysky Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Linus Torvalds ChangeSet@1.1741, 2004-06-02 23:41:55-07:00, torvalds@ppc970.osdl.org Merge bk://kernel.bkbits.net/davem/sparc-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1726.63.5, 2004-06-02 16:14:08-07:00, davem@nuts.davemloft.net [ATM]: fore200e dma direction macro tests no longer needed. ChangeSet@1.1726.63.4, 2004-06-02 16:02:20-07:00, tcallawa@redhat.com [SBUS]: Stop using drivers/scsi/{scsi,hosts}.h in drivers. ChangeSet@1.1726.63.3, 2004-06-02 16:01:05-07:00, hch@lst.de [SBUS]: Define dma direction bits in terms of enum dma_data_direction. ChangeSet@1.1726.63.2, 2004-06-02 15:58:19-07:00, davem@nuts.davemloft.net [SPARC64]: Kill _exit kernelsyscall stub from unistd.h ChangeSet@1.1726.66.3, 2004-06-02 17:51:11-04:00, arjanv@redhat.com [libata] Use standard headers from include/scsi, not drivers/scsi ChangeSet@1.1726.66.2, 2004-06-02 17:31:53-04:00, jgarzik@redhat.com [libata scsi] ack SYNCHRONIZE CACHE command When taskfile delivery is improved, we will actually perform this command, instead of no-oping it. For now, this is cosmetic except for removing an annoying message that some users see. ChangeSet@1.1726.66.1, 2004-06-02 17:29:00-04:00, jgarzik@redhat.com [libata promise] revert broken taskfile delivery change The ->tf_load and ->exec_command driver hooks were changed to assume that PIO was the only type of taskfile ever delivered to these functions. This will be true... in the future, but not today. In other drivers this change was not needed, but Promise executes commands differently due to its "ATA packet" hardware features, so the Promise drivers need this change reverted. Diagnosis and initial fix by Brad Campbell ChangeSet@1.1726.62.2, 2004-06-02 21:21:35+01:00, davej@redhat.com [CPUFREQ] Consolidate version checking in longhaul_get_cpu_mult reduce code duplication. ChangeSet@1.1726.64.4, 2004-06-02 16:20:04-04:00, khc@pm.waw.pl [PATCH] 2.6 Generic HDLC update The attached patch updates generic HDLC: - fixed some carrier-related problems (Cisco HDLC and FR links could report valid link when no carrier was detected at startup). - fixed kbuild problems with wanxl firmware (building kernel in separate tree). $(src)/wanxlfw.inc is now wanxlfw.inc_shipped. ChangeSet@1.1726.64.3, 2004-06-02 16:14:29-04:00, paulus@samba.org [PATCH] ppp ldisc close deadlock prevention Jeff Garzik writes: > So what was the resolution of this? This patch is what we want. We don't in fact need to do the read lock, only the write lock, which is what the original patch did. However, we need to do it in ppp_synctty.c as well as ppp_async.c. Thanks to John K Luebs for pointing out the problem. Signed-off-by: Paul Mackerras ChangeSet@1.1726.64.2, 2004-06-02 16:04:40-04:00, jgarzik@redhat.com Cset exclude: jgarzik@redhat.com|ChangeSet|20040527204246|14084 Revert CONFIG_NET_GIGE change. The proper fix is _not_ NET_ETHERNET or default twiddling, but better overall organization of the ethernet driver selection, which would include not only CONFIG_NET_GIGE but other options as well. Reverted back to old behavior until a full and complete solution appears (and people like it, of course). ChangeSet@1.1726.65.5, 2004-06-02 15:54:58-04:00, margitsw@t-online.de [PATCH] prism54: Add avs header support * islpci_eth.[c,h], islpci_dev.[c,h], isl_ioctl.[c,h] : added support for avs header in monitor mode. Based on the work of Antonio Eugenio Burriel . Unified packets header (rfmon_header and rx_annex) for iwspy. ChangeSet@1.1726.65.4, 2004-06-02 15:54:50-04:00, margitsw@t-online.de [PATCH] prism54: Add iwspy support * islpci_eth.c, islpci_dev.h, isl_ioctl.c : iwspy support. ChangeSet@1.1726.65.3, 2004-06-02 15:54:42-04:00, margitsw@t-online.de [PATCH] prism54: Reset card on tx timeout * islpci_eth.[c,h] islpci_dev.[c,h] : reset card on tx_timeout. Patch submited by Denis Vlasenko ChangeSet@1.1726.65.2, 2004-06-02 15:54:33-04:00, margitsw@t-online.de [PATCH] prism54: Add new private ioctls * oid_mgt.[c,h] : added type to oids. New functions : oid_cpu_to_le(), mgt_le_to_cpu() and mgt_response_to_str(). * isl_ioctl.c : use private sub-ioctls. Added a bunch of private sub-ioctls. Removed the le??_to_cpu and cpu_to_le??. Give the error code when sending wireless events. ChangeSet@1.1726.65.1, 2004-06-02 15:54:25-04:00, margitsw@t-online.de [PATCH] prism54: delete cvs tags * Remove CVS tags from source ChangeSet@1.1726.64.1, 2004-06-02 15:48:29-04:00, herbert@gondor.apana.org.au [PATCH] Check cmd in plip_ioctl I received a bug report that a PLIP interface was incorrectly identified as wireless because plip_ioctl did not check what the value of cmd is before processing the request. This patch fixes exactly that. ChangeSet@1.1738, 2004-06-02 07:18:12-07:00, jeremy@redfishsoftware.com.au [PATCH] Fix signal race during process exit Fix a race identified by Jeremy Kerr : if update_process_times() decides to deliver a signal due to process timer expiry, it can race with __exit_sighand()'s freeing of task->sighand. Fix that by clearing the per-process timer state in exit_notify(), while under local_irq_disable() and under tasklist_lock. tasklist_lock provides exclusion wrt release_task()'s freeing of task->sighand and local_irq_disable() provides exclusion wrt update_process_times()'s inspection of the per-process timer state. We also need to deal with the send_sig() calls in do_process_times() by setting rlim_cur to RLIM_INFINITY. Signed-off-by: Andrew Morton Signed-off-by: Jeremy Kerr Signed-off-by: Linus Torvalds ChangeSet@1.1726.29.5, 2004-06-01 23:02:05-07:00, maeda.naoaki@jp.fujitsu.com ia64: fix /proc/ioports regression in 2.6.6 on Tiger4 This patch fixes a problem that "cat /proc/ioports" loops on some IA64 machines that use quirk_io_region(). The problem is caused by redundant resource claim by quirk_io_region() and pcibios_fixup_device_resources(). The patch prevents this condition and is written by Matthew Wilcox. Signed-off-by: Maeda Naoaki ChangeSet@1.1726.29.4, 2004-06-01 22:49:16-07:00, davidm@tiger.hpl.hp.com ia64: Add defconfig for Ski simulator (patch by Darren Williams). ChangeSet@1.1726.29.3, 2004-06-01 22:47:21-07:00, davidm@tiger.hpl.hp.com Update ia64 linux mailing-list and web-site addresses. ChangeSet@1.1726.29.2, 2004-06-01 22:40:42-07:00, dsw@gelato.unsw.edu.au ia64: define pending_irq_cpumask in irq.c This fixes a build-problem with the Ski simulator. The simulator doesn't include iosapic.c and hence pending_irq_cpumask never got defined. ChangeSet@1.1726.60.5, 2004-06-01 21:58:12-07:00, davem@nuts.davemloft.net Merge bk://bk.skbuff.net:20607/linux-2.6-ipstats into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1726.63.1, 2004-06-01 21:43:05-07:00, davem@nuts.davemloft.net [SPARC64]: Compat syscall overhaul. 1) Make syscall entry zero-extend all arguments. 2) Sign extend those needed in sys32.S 3) Kill the A() AA() macros, replace with compat_ptr() et al. ChangeSet@1.1726.60.4, 2004-06-01 20:21:09-07:00, yoshfuji@linux-ipv6.org [IPV4]: Store idev in routes. ChangeSet@1.1726.61.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.1726.61.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.1726.1.151, 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.1726.1.150, 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.1726.61.2, 2004-06-01 20:42:35+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix missing spinlock initialisation. ChangeSet@1.1726.61.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.1726.60.3, 2004-06-01 12:35:39-07:00, herbert@gondor.apana.org.au [IPSEC]: Fix xfrm_tunnel leak. Turns out that the IPIP tunnel used by IPCOMP states are only freed if the IPCOMP state is deleted by xfrm_state_delete. This is not the case for all states. For example, an immature IPCOMP state that dies in add_sa will not go through xfrm_state_delete. The following patch moves the delete_tunnel call into IPCOMP's destructor. I think it makes more sense there as IPCOMP is the only user of the tunnel anyway. ChangeSet@1.1726.60.2, 2004-06-01 12:29:20-07:00, davem@nuts.davemloft.net [IPV6]: ndisc_dst_alloc can never get a NULL dev. ChangeSet@1.1726.60.1, 2004-06-01 12:27:14-07:00, yoshfuji@linux-ipv6.org [IPV6]: Store idev in routes. ChangeSet@1.1726.1.148, 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.1726.1.147, 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.1726.59.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.1726.1.145, 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.1726.1.144, 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.1726.1.143, 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.1726.1.142, 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.1726.1.141, 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.1726.1.140, 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.1726.1.139, 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.1726.1.138, 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.1726.1.137, 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.1726.1.136, 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.1726.1.135, 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.1726.1.134, 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.1726.1.133, 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.1726.1.132, 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.1726.1.131, 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.1726.1.130, 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.1726.1.129, 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.1726.1.128, 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.1726.1.127, 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.1726.1.126, 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.1726.1.125, 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.1726.1.124, 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.1726.1.123, 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.1726.1.122, 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.1726.1.121, 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.1726.1.120, 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.1726.1.119, 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.1726.1.118, 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.1726.1.117, 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.1726.1.116, 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.1726.1.115, 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.1726.1.114, 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.1726.1.113, 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.1726.1.112, 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.1726.1.111, 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.1608.1.12, 2004-06-01 22:25:46+10:00, airlied@starflyer.(none) add R200_EMIT_RB3D_BLENDCOLOR state packet to support GL_EXT_blend_color, GL_EXT_blend_func_separate and GL_EXT_blend_equation_separate on r200 from Roland Scheidegger Signed-off-by: Dave Airlie ChangeSet@1.1608.1.11, 2004-06-01 22:17:28+10:00, airlied@starflyer.(none) fix missing DRM_ERR()s - Eric Anholt Signed-off-by: Dave Airlie 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.1726.57.5, 2004-06-01 18:05:31+09:00, yoshfuji@linux-ipv6.org [IPV4] use ip-independent ipstats_mib to store IPv4 statistics. 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.1726.57.4, 2004-06-01 16:32:35+09:00, yoshfuji@linux-ipv6.org [IPV6] rename snmp6_ipv6_list to snmp6_ipstats_list. ChangeSet@1.1726.57.3, 2004-06-01 16:22:57+09:00, yoshfuji@linux-ipv6.org [IPV{4,6}] introduce ip-independent ipstats_mib based on ipv6_mib. ChangeSet@1.1726.57.2, 2004-06-01 15:51:12+09:00, yoshfuji@linux-ipv6.org [NET] Introduce and use several common stuff for snmp item list. ChangeSet@1.1726.57.1, 2004-06-01 15:24:48+09:00, yoshfuji@linux-ipv6.org [IPV6] use appropriate __alignof__() for mibs. ChangeSet@1.1726.56.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.1726.1.110, 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.1726.55.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.1726.55.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.1726.55.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.1726.55.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.1726.55.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.1726.1.107, 2004-05-31 19:08:20-07:00, davem@nuts.davemloft.net [SPARC]: First stage of sparc32 sparse work. ChangeSet@1.1726.53.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.1726.52.5, 2004-05-31 17:09:43-07:00, davem@nuts.davemloft.net [SPARC]: Set sparse arch defines explicitly. ChangeSet@1.1726.1.103, 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.1726.52.4, 2004-05-31 16:25:51-07:00, davem@nuts.davemloft.net [SPARC64]: Lots of sparse work for arch/sparc64. ChangeSet@1.1726.1.101, 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.1726.1.100, 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.1726.52.3, 2004-05-31 14:44:34-07:00, davem@nuts.davemloft.net [SPARC64]: __volatile --> __volatile__ ChangeSet@1.1726.52.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.1726.52.1, 2004-05-31 13:06:15-07:00, davem@nuts.davemloft.net [SPARC64]: Fix NR_IRQS check in hardirq.h ChangeSet@1.1726.1.99, 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.1726.1.98, 2004-05-31 12:21:49-07:00, torvalds@ppc970.osdl.org ppc64: add more user annotations to ptrace.c ChangeSet@1.1726.1.97, 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.1726.1.96, 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.1726.1.95, 2004-05-31 10:41:08-07:00, torvalds@ppc970.osdl.org ppc64: missing __user annotations noticed by stricter checks. ChangeSet@1.1726.1.94, 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.1726.1.93, 2004-05-31 10:38:48-07:00, torvalds@ppc970.osdl.org sparse: add "__force" type attribute for forcing a cast. ChangeSet@1.1726.1.92, 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.1726.51.2, 2004-05-31 11:47:23+01:00, rmk@flint.arm.linux.org.uk [ARM] Correct permissions on several ARMv6 files. ChangeSet@1.1726.51.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.1726.50.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.1726.1.91, 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.1726.1.90, 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.1726.1.89, 2004-05-30 22:00:08-07:00, torvalds@ppc970.osdl.org ppc64: mark the "regshere" marker with proper type information. ChangeSet@1.1726.1.88, 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.1726.1.87, 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.1726.1.86, 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.1726.1.85, 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.1726.1.84, 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.1726.1.83, 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.1726.1.82, 2004-05-30 21:33:10-07:00, torvalds@ppc970.osdl.org ppc64: more explicitly typed constants ChangeSet@1.1726.49.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.1726.49.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.1726.49.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.1726.49.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.1726.49.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.1726.49.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.1726.49.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.1726.49.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.1726.49.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.1726.49.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.1726.49.10, 2004-05-30 20:07:53-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: amd64 - more trivial annotations ChangeSet@1.1726.49.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.1726.49.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.1726.49.7, 2004-05-30 20:07:19-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: net/* non-ANSI argument lists ChangeSet@1.1726.49.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.1726.49.5, 2004-05-30 20:06:56-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] sparse: trivial part of net/* annotation ChangeSet@1.1726.49.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.1726.49.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.1726.49.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.1726.49.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.1726.47.1, 2004-05-30 19:12:54-07:00, davem@nuts.davemloft.net [PKT_SCHED]: Missing rta_len init in sch_delay. ChangeSet@1.1726.46.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.1726.46.1, 2004-05-30 17:39:32-07:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1726.45.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.1726.45.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.1726.45.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.1726.45.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.1726.45.2, 2004-05-30 11:10:51-07:00, torvalds@ppc970.osdl.org Add __user annotations to sock_get_timestamp() ChangeSet@1.1726.45.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.1726.1.78, 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.1726.1.77, 2004-05-29 23:24:11-07:00, torvalds@ppc970.osdl.org Linux 2.6.7-rc2 TAG: v2.6.7-rc2