ChangeSet@1.1758, 2004-05-25 22:24:29-07:00, torvalds@ppc970.osdl.org Remove bogus test preprocessor test. PAGE_SIZE isn't even always defined at this point, which makes us test undefined preprocessor symbols. It so happens that the test works in that case, but since the test is a bit pointless in the first place... ChangeSet@1.1757, 2004-05-25 22:22:33-07:00, torvalds@ppc970.osdl.org Make constant types explicit, rather than depend on some rather subtle C type expansion rules. This makes sparse happier. ChangeSet@1.1756, 2004-05-25 22:21:34-07:00, torvalds@ppc970.osdl.org Don't return void types from void functions. This helps reduce sparse noise. ChangeSet@1.1752, 2004-05-25 13:09:27-07:00, sxking@qwest.net [IPSEC]: Fix buglet in AF_KEY spddelete When trying to spddelete individual entries using setkey, spddelete always fails. The culprit is in net/af_key.c; spdadd sets the family field of the selector when creating an entry, but spddelete doesn't when building a selector to match for xfrm_policy_bysel. Trivial fix is to have spddelete set the family field in the selector in same way spdadd does. ChangeSet@1.1717.18.6, 2004-05-25 13:06:21-07:00, davem@nuts.davemloft.net [TG3]: Update driver version and reldate. ChangeSet@1.1743.1.67, 2004-05-25 13:04:59-07:00, torvalds@ppc970.osdl.org Introduce architecture-specific "ptep_update_dirty_accessed()" helper function to write-back the dirty and accessed bits from ptep_establish(). Right now this defaults to the same old "set_pte()" that we've always done, except for x86 where we now fix the (unlikely) race in updating accessed bits and dropping a concurrent dirty bit. ChangeSet@1.1717.18.5, 2004-05-25 13:04:23-07:00, akepner@sgi.com [TG3]: Make sure RX/TX flow control settings actually get set. ChangeSet@1.1743.1.66, 2004-05-25 12:37:15-07:00, torvalds@ppc970.osdl.org Pass in a "dirty" argument to ptep_establish in preparation for pte update race fix. This does not actually use the information yet, but the next few patches will start to put it to some good use. ChangeSet@1.1743.1.65, 2004-05-25 11:11:46-07:00, ak@muc.de [PATCH] Fix nodemask clearing bug in NUMA API Fix over long nodemask clearing in get_mem_policy() by using the right size for the node mask. ChangeSet@1.1751, 2004-05-25 11:04:01-07:00, linux-kernel@vortech.net [VLAN]: Use KERN_INFO for VLAN_INF. ChangeSet@1.1750, 2004-05-25 11:02:48-07:00, herbert@gondor.apana.org.au [IPSEC]: Use add_timer() in xfrm_state_find. ChangeSet@1.1749, 2004-05-25 11:02:07-07:00, herbert@gondor.apana.org.au [IPSEC]: Fix outdated comment in __xfrm_state_delete. ChangeSet@1.1748, 2004-05-25 11:01:22-07:00, herbert@gondor.apana.org.au [IPSEC]: Do not leak entries in xfrm_state_find. In xfrm_state_find, the larval state never actually matures with Openswan so it only ever gets deleted by the timer which means that the time crash can't happen :) It becomes a (possible) memory leak instead. ChangeSet@1.1747, 2004-05-25 10:58:43-07:00, shemminger@osdl.org [BRIDGE]: Update bridge.txt Trent Jarvi noticed this. The file was out of date with current web site and maintainer. Please apply to 2.4 and 2.6. Signed-off-by: Stephen Hemminger ChangeSet@1.1743.1.64, 2004-05-25 10:27:46-07:00, paulus@samba.org [PATCH] IRQ stacks for PPC64 Even with a 16kB stack, we have been seeing stack overflows on PPC64 under stress. This patch implements separate per-cpu stacks for processing interrupts and softirqs, along the lines of the CONFIG_4KSTACKS stuff on x86. At the moment the stacks are still 16kB but I hope we can reduce that to 8kB in future. (Gcc is capable of adding instructions to the function prolog to check the stack pointer whenever it moves it downwards, and I want to use that when I try using 8kB stacks so I can be confident that we aren't overflowing the stack.) Signed-off-by: Paul Mackerras ChangeSet@1.1743.1.63, 2004-05-25 10:06:18-07:00, mingo@elte.hu [PATCH] x86-bigsmp: use fixed interrupt delivery This patch, from Venkatesh Pallipadi, changes x86 IO-APICs to use fixed interrupt delivery instead of lowest priority to support larger number of CPUs. Only bigsmp is affected by this cleanup. From: Venkatesh Pallipadi Signed-off-by: Ingo Molnar ChangeSet@1.1743.1.62, 2004-05-25 08:45:46-07:00, akpm@osdl.org [PATCH] missing compat ioctl mapping for DM_REMOVE_ALL Signed-off-by: Marcus Meissner Added missing DM_REMOVE_ALL call. ChangeSet@1.1743.1.61, 2004-05-25 08:45:35-07:00, akpm@osdl.org [PATCH] sched_yield() microoptimisation Signed-off-by: Ingo Molnar We can avoid the local_irq_enable() in sched_yield() because schedule() unconditionally enables interrupts anyway. ChangeSet@1.1743.1.60, 2004-05-25 08:45:24-07:00, akpm@osdl.org [PATCH] sched.h comment typo fix Signed-off-by: Christian Meder Signed-off-by: Ingo Molnar sched.h typo fix from Christian Meder. ChangeSet@1.1743.1.59, 2004-05-25 08:45:13-07:00, akpm@osdl.org [PATCH] Subject: Re: Help understanding slow down Signed-off-by: Ingo Molnar Add a warning that "idle=poll" is a performance hit on hyperthreaded CPUs. ChangeSet@1.1743.1.58, 2004-05-25 08:45:03-07:00, akpm@osdl.org [PATCH] No interpretation of HD spindown timeout in laptop mode ACPI binding script. From: Bart Samwel Currently the ACPI binding script in the Laptop Mode doc always says "20 seconds" and "2 hours" for the timeouts it uses. This is incorrect if the user changed the config values, so we print something more general. ChangeSet@1.1743.1.57, 2004-05-25 08:44:52-07:00, akpm@osdl.org [PATCH] rmap build fix From: William Lee Irwin III PMD_SIZE is not a compile-time constant on sparc. Use min() in there so that the cluster size will be evaluated at runtime if the architecture insists on doing that. ChangeSet@1.1743.1.56, 2004-05-25 08:44:41-07:00, akpm@osdl.org [PATCH] ir-kbd-gpio.c build fix It's initialising slot 24 in two places. Gerd Knorr says "This one should be 23.". ChangeSet@1.1743.1.55, 2004-05-25 08:44:29-07:00, akpm@osdl.org [PATCH] Revert bogus x86-64 change From: Andi Kleen The 32bit generic nops added with a previous patch to x86-64 alternative() are not completely 64bit clean. This caused crashes in some cases. This patch reverts this broken change. ChangeSet@1.1743.1.54, 2004-05-25 08:44:14-07:00, akpm@osdl.org [PATCH] isapnp sb16 virtual pc From: David Sanders Patch adds support for the emulated Soundblaster 16 in Virtual PC 2004. ChangeSet@1.1743.1.53, 2004-05-25 08:44:01-07:00, akpm@osdl.org [PATCH] ext2: fix build with DEBUG=y From: FabF ChangeSet@1.1743.1.52, 2004-05-25 08:43:49-07:00, akpm@osdl.org [PATCH] minor sched.c cleanup Signed-off-by: Christian Meder Signed-off-by: Ingo Molnar The following obviously correct patch from Christian Meder simplifies the DELTA() define. ChangeSet@1.1743.1.51, 2004-05-25 08:43:39-07:00, akpm@osdl.org [PATCH] Really enable NUMA API on x86-64 From: Andi Kleen Really enable the NUMA API system calls on x86-64. ChangeSet@1.1743.1.50, 2004-05-25 08:43:28-07:00, akpm@osdl.org [PATCH] remap_file_pages: fix syscall declaration Signed-off-by: Hugh Dickins sys_remap_file_pages is declared as asmlinkage in mm/fremap.c, but is the one syscall declared without asmlinkage in include/linux/syscalls.h. ChangeSet@1.1743.1.49, 2004-05-25 08:43:17-07:00, akpm@osdl.org [PATCH] remap_file_pages: implement MAP_POPULATE for all protections Signed-off-by: Hugh Dickins It seems eccentric to implement MAP_POPULATE only on PROT_NONE mappings: do_mmap_pgoff is passing down prot, then sys_remap_file_pages verifies it's not set. I guess that's an oversight from when we realized that the prot arg to sys_remap_file_pages was misdesigned. There's another oddity whose heritage is harder for me to understand, so please let me leave it to you: sys_remap_file_pages is declared as asmlinkage in mm/fremap.c, but is the one syscall declared without asmlinkage in include/linux/syscalls.h. ChangeSet@1.1743.1.48, 2004-05-25 08:43:06-07:00, akpm@osdl.org [PATCH] Fix for lockup in reiserfs acl/xattrs From: Jeff Mahoney The following is a patch to fix a locking problem in ACL/xattr code. It manifests when a user attempts to set an xattr on a file which they do not own, and on which an ACL is applied. What happens is this: reiserfs_setxattr [write lock inode xattr sem] ->xattr_set -> lookup -> __reiserfs_permission [if conditions above are met, and need_lock= is unset, read lock inode xattr sem] *lockup* Since we already keep track of when to lock during permission calls, the fix is simple: just make the locking conditional as it was before. Credits to Andreas Gruenbacher ChangeSet@1.1743.1.47, 2004-05-25 08:42:56-07:00, akpm@osdl.org [PATCH] UDF: directory reading fix From: Ben Fennema The problem occured when files were stored on the disc in 16-bit per character mode when all the upper bits were 0. The fs module converted the file name given by the user to a 8-bit per character string to compare, so the comparison always failed. The patch maps the file from disc into the current locale and then compares it directly to the file name given by the user. ChangeSet@1.1743.1.46, 2004-05-25 08:42:45-07:00, akpm@osdl.org [PATCH] bk-kernel-howto reversion From: Rusty Russell This one snuck through - Jeff prefers the bk:// addresses. ChangeSet@1.1743.1.45, 2004-05-25 08:42:34-07:00, akpm@osdl.org [PATCH] CREDITS is unmaintained From: Adrian Bunk This information seems to be quite outdated. ChangeSet@1.1743.1.44, 2004-05-25 08:42:23-07:00, akpm@osdl.org [PATCH] H8/300 ne driver module fix From: Yoshinori Sato - module support fix ChangeSet@1.1743.1.43, 2004-05-25 08:42:12-07:00, akpm@osdl.org [PATCH] H8/300 module fix From: Yoshinori Sato - fix relocation - define SYMBOL_PREFIX ChangeSet@1.1743.1.42, 2004-05-25 08:42:00-07:00, akpm@osdl.org [PATCH] Fix various memory leaks From: Yury Umanets Thanks to smatch I have found few memory leaks and other related issues. ChangeSet@1.1743.1.41, 2004-05-25 08:41:49-07:00, akpm@osdl.org [PATCH] v4l: use saa7111 i2c module in V4L MXB driver From: Michael Hunold The attached patch changes my "Multimedia eXtension Board" (MXB) Video4Linux-driver to use the standard saa7111 video decoder infrastructure (to which I recently submitted changes through Ronald Bultje) instead of some home-brewn direct-access stuff. Nothing serious, but it removes code duplication and makes the code use the video decoder api. ChangeSet@1.1743.1.40, 2004-05-25 08:41:40-07:00, akpm@osdl.org [PATCH] initramfs uncpio fix From: init/initramfs.c::do_skip() has an off-by-one that leads to unpacking failures for some gzipped cpio images. We have static int __init do_skip(void) { if (this_header + count <= next_header) { eat(count); return 1; } else { eat(next_header - this_header); state = next_state; return 0; } } and that <= should actually be <. It almost never matters, since if we hit the boundary case (header ending exactly on the gunzip window end) the current variant will simply end up doing extra call of do_skip() when we get to the next window and that will finish the work (assign state). The only exception is when we hit that in the last window. That is, if there's nothing after the final header (trailer). Then we miss the final state transition (Skip -> Reset) and get "junk in archive" panic. Normally cpio(1) pads the image to multiple of 512, so we actually have a bunch of zeroes after the trailer. And that almost always saves our butts - trailer is followed by zeroes, so we get to Reset state just fine. So we never see that on small in-kernel image (it's less than 512 bytes, so it gets a lot of padding) and we almost never see that on external ones (1:127 odds of hitting the bug). ChangeSet@1.1743.1.39, 2004-05-25 08:41:29-07:00, akpm@osdl.org [PATCH] FAT: small fixes From: OGAWA Hirofumi - use fat_fs_panic() instead of BUG() if it read a corrupted inode. - add missing "\n". ChangeSet@1.1743.1.38, 2004-05-25 08:41:18-07:00, akpm@osdl.org [PATCH] swsusp: fix swsusp with intel-agp From: Pavel Machek swsusp contained rather nasty bug where it killed machine when intel-agp or anything else split kernel 4MB mapping. Herbert Xu diagnosed this. Fixed by switching to "known good" mapping for during suspend/resume. ChangeSet@1.1743.1.37, 2004-05-25 08:41:07-07:00, akpm@osdl.org [PATCH] Don't use "cut" in laptop mode control script -- it is in /usr. From: Bart Samwel We don't want to use "cut" in the laptop mode control script, because that is in /usr. This patch is from Jasper Spaans. ChangeSet@1.1743.1.36, 2004-05-25 08:40:54-07:00, akpm@osdl.org [PATCH] matroxfb: Add support for mapping CRTC<->outputs at boot time Signed-off-by: Petr Vandrovec Some people expressed interest in having possibility to set CRTC <-> outputs mapping at boot time, without having to use 'matroxset' later after kernel boots. This patch adds option 'video=matroxfb:outputs:XYZ', where X sets which CRTC will connect to primary output, Y sets secondary output and Z sets DVI output. In addition to that I also added missing memset() into maven, which was broken since i2c was kobjectified. ChangeSet@1.1743.1.35, 2004-05-25 08:40:43-07:00, akpm@osdl.org [PATCH] ext3: remove duplicated ext3_std_error() call From: Andi Kleen When start_transaction() detects an error it already calls ext3_std_error. No need to do it again in the caller. ChangeSet@1.1743.1.34, 2004-05-25 08:40:34-07:00, akpm@osdl.org [PATCH] make i386 dma-mapping.h includeable standalone From: Christoph Hellwig From: Debian kernel package, author probably Herbert Xu Include asm/io.h and asm/scatterlist.h in include/asm-i386/dma-mapping.h to make it useable standalone, which is already true for most architectures. ChangeSet@1.1743.1.33, 2004-05-25 08:40:22-07:00, akpm@osdl.org [PATCH] befs: typo fix From: "Sergey S. Kostyliov" Fix a typo in an error message. ChangeSet@1.1743.1.32, 2004-05-25 08:40:12-07:00, akpm@osdl.org [PATCH] include linux/selection.h for color_table in drivers/video/tgafb.c From: Christoph Hellwig From: Debian kernel package, author probably Herbert Xu ChangeSet@1.1743.1.31, 2004-05-25 08:40:01-07:00, akpm@osdl.org [PATCH] include linux/root_dev.h for ROOT_DEV in drivers/mtd/maps/uclinux.c From: Christoph Hellwig * Include linux/root_dev.h for ROOT_DEV in drivers/mtd/maps/uclinux.c ChangeSet@1.1743.1.30, 2004-05-25 08:39:49-07:00, akpm@osdl.org [PATCH] missing init.h in drivers/mtd/chips/sharp.c From: Christoph Hellwig again needed by most non-x86 arches. * Include linux/init.h for __init ChangeSet@1.1743.1.29, 2004-05-25 08:39:38-07:00, akpm@osdl.org [PATCH] add one more neomagic audio device id From: Christoph Hellwig From: Mattia Monga via Debian kernel package Add support for nm256xl+ in sound/oss/nm256_audio.c ChangeSet@1.1743.1.28, 2004-05-25 08:39:28-07:00, akpm@osdl.org [PATCH] remove a dead variable from isofs From: Christoph Hellwig From: Debian kernel package, author is probably Herbert Xu * Do not get seqno since we will not use it in fs/isofs/inode.c ChangeSet@1.1743.1.27, 2004-05-25 08:39:18-07:00, akpm@osdl.org [PATCH] fix a bash-ism in toplevel Makefile From: Christoph Hellwig From: Debian kernel package, author probably Herbert Xu. * Fixed bashism in Makefile ChangeSet@1.1743.1.26, 2004-05-25 08:39:07-07:00, akpm@osdl.org [PATCH] befs: nls fix From: "Sergey S. Kostyliov" Fix nls support for character sets with character width large than 1. ChangeSet@1.1743.1.25, 2004-05-25 08:38:57-07:00, akpm@osdl.org [PATCH] hfsplus: update dir time after change From: Roman Zippel Update dir ctime/mtime when adding/removing an entry. ChangeSet@1.1743.1.24, 2004-05-25 08:38:46-07:00, akpm@osdl.org [PATCH] hfsplus: don't release not existing nodes From: Roman Zippel When releasing a page don't try to release not existing nodes. ChangeSet@1.1743.1.23, 2004-05-25 08:38:35-07:00, akpm@osdl.org [PATCH] hfsplus: completely remove half inserted catalog entry From: Roman Zippel If the inserting of the file or dir record failed, remove the previously inserted thread record. ChangeSet@1.1743.1.22, 2004-05-25 08:38:25-07:00, akpm@osdl.org [PATCH] hfsplus: delete inode properly From: Roman Zippel Call hfsplus_delete_inode() to delete an inode when adding it to the filesystem failed, so superblock info is correctly updated. ChangeSet@1.1743.1.21, 2004-05-25 08:38:14-07:00, akpm@osdl.org [PATCH] hfsplus: correct dentry initialization for dir dentries. From: Roman Zippel Initialize d_fsdata field also for dir dentries, use hfsplus_instantiate helper function for this. ChangeSet@1.1743.1.20, 2004-05-25 08:38:04-07:00, akpm@osdl.org [PATCH] hfsplus: fix key length for index nodes From: Roman Zippel Use the correct key length for index nodes. ChangeSet@1.1743.1.19, 2004-05-25 08:37:53-07:00, akpm@osdl.org [PATCH] Decrease srtuct file size by 8 From: Kurt Garloff Attached patch decreases the size of struct file by 8 bytes on 64 bit arches by avoiding unecessary padding. ChangeSet@1.1743.1.18, 2004-05-25 08:37:44-07:00, akpm@osdl.org [PATCH] remove stale comments above struct page From: Christoph Hellwig struct page easily fits into a single cacheline with any recent CPU, and the ordering isn't as described anymore anyway. ChangeSet@1.1743.1.17, 2004-05-25 08:37:33-07:00, akpm@osdl.org [PATCH] don't export vma_prio_tree_next From: Christoph Hellwig there's no user is modules, the function isn't in mainline and I don't see why modules should use it. ChangeSet@1.1743.1.16, 2004-05-25 08:37:14-07:00, akpm@osdl.org [PATCH] Fix race condition with current->group_info From: Olaf Kirch I have been chasing a corruption of current->group_info on PPC during NFS stress tests. The problem seems to be that nfsd is messing with its group_info quite a bit, while some monitoring processes look at /proc//status and do a get_group_info/put_group_info without any locking. This problem can be reproduced on ppc platforms within a few seconds if you generate some NFS load and do a "cat /proc/XXX/status" of an nfsd thread in a tight loop. I therefore think changes to current->group_info, and querying it from a different process, needs to be protected using the task_lock. (akpm: task->group_info here is safe against exit() because the task holds a ref on group_info which is released in __put_task_struct, and the /proc file has a ref on the task_struct). ChangeSet@1.1743.1.15, 2004-05-25 08:36:57-07:00, akpm@osdl.org [PATCH] ep_send_events() stack reduction ep_send_events() uses ~350 bytes of stack for a local buffer of events to send to userspace. The patch fixes that by removing the double-buffering altogether. A pipe-based microbenchmark from Davide Libenzi was sped up by 1-2%. ChangeSet@1.1743.1.14, 2004-05-25 08:36:46-07:00, akpm@osdl.org [PATCH] Fix the mangled-oops-output-on-SMP problem From: Ingo Molnar printk currently does if (oops_in_progres) bust_printk_locks(); which means that once we oops, the printk locking is 100% ineffective and multiple CPUs make an unreadable mess on a serial console. It's a significant development hassle. Fix that up by only popping locks once per ten seconds. akpm@osdl.org did: - Bump the timeout to 30 seconds - 9600 baud is slow. - Handle jiffy wraps: change the logic so that we only skip the lockbust if the current time is within 30 seconds of the previous lockbusting attempt. ChangeSet@1.1743.1.13, 2004-05-25 08:36:31-07:00, akpm@osdl.org [PATCH] Prevent scary warnings from knfsd From: "J. Bruce Fields" The kernel currently prints: nfsd: nobody listening for auth.unix.ip upcall; has some daemon not been started? on every bootup, during initscripts. Neil Brown says: It was part of the recent set of idmapper patches. Bruce wanted the admin to get a warning when the idmapper daemon wasn't running. I thought the same warning should apply to any daemon that responded to upcalls. In the case of auth.unix.ip it isn't strictly necessary for a daemon to be running (for comparability with 2.4). You can get rid of the warning by doing: mount -t nfsd nfsd /proc/fs/nfs before mountd is started (init scripts should start doing this I hope, but distributions don't tend to use the init script from nfs-utils, so it is hard to push it). This will trigger mountd to listen on auth.unix.ip and others. That's a hassle, so Bruce's patch limits the warning purely to the new idmapper cache. It provides a callback in the cache_detail that individual caches can use to log messages when upcalls fail because a userspace daemon not running. Implement this method for the idmapping caches. ChangeSet@1.1743.1.12, 2004-05-25 08:36:18-07:00, akpm@osdl.org [PATCH] Fix userspace include of linux/fs.h From: Mans Rullgard There are a few include which should have been under __KERNEL__. ChangeSet@1.1743.1.11, 2004-05-25 08:36:02-07:00, akpm@osdl.org [PATCH] use SLAB_PANIC in ll_rw_blk.c ChangeSet@1.1743.1.10, 2004-05-25 08:35:48-07:00, akpm@osdl.org [PATCH] ppc64: avoid bogus real IRQ numbers Signed-off-by: Paul Mackerras Early in the boot process on pSeries machines, we look in the Open Firmware device tree for information about the interrupt assignments, and assign virtual IRQ numbers for each physical IRQ. There is currently a couple of bugs in this code which result in us assigning virtual IRQs for nonexistent physical IRQs. This causes problems when we call the firmware to enable or disable those nonexistent physical IRQs. Some versions at least of the firmware will hit an assertion failure and crash the machine when this happens. This patch fixes the bugs and ensures that we don't try and use nonexistent physical IRQ numbers. One bug was that we were mapping ISA interrupts, which is unnecessary since virtual IRQ numbers 0 - 15 are reserved for them. The other was that when we had a PCI interrupt (which is always in the range 1 to 4, corresponding to INTA to INTD) which didn't have a mapping in the PCI host bridge above it, we were just using the original number (usually 1) rather than ignoring it. ChangeSet@1.1743.1.9, 2004-05-25 08:35:31-07:00, akpm@osdl.org [PATCH] ppc64: bump IOMMU_MAX_ORDER Signed-off-by: Anton Blanchard We have cards that want over 2MB of PCI consistent memory. The IOMAP_MAX_ORDER limit is just to catch bad drivers early, so we can bump this a bit. We want some room to grow but our maximum get_free_pages allocation on ppc64 is currently 16MB, so it doesnt make sense to go above that. ChangeSet@1.1743.1.8, 2004-05-25 08:35:13-07:00, akpm@osdl.org [PATCH] ppc64: small enter_rtas fix From: Anton Blanchard enter_rtas now takes an unsigned long. ChangeSet@1.1743.1.7, 2004-05-25 08:34:57-07:00, akpm@osdl.org [PATCH] dynamic addition of virtual disks on PPC64 iSeries From: Stephen Rothwell This patch allows us to dynamically add virtual disks to an iSeries partition. It works like this: after you have created the virtual disk file on OS/400 and attached it to the Linux partition, you need to write to /sys/bus/vio/drivers/viodasd/probe (it doesn't matter what you write). This will do the probe. It calls add_disk() for each new disk, so we get hotplug events as a side effect. This was the nicest way I could think of doing this as the interface to the hypervisor is polled ... ChangeSet@1.1743.1.6, 2004-05-25 08:34:44-07:00, akpm@osdl.org [PATCH] ppc64: fix to viopath.c From: Anton Blanchard From: Olaf Hering and Nathan Lynch: Fix a couple of nasty lurking bugs in viopath.c and add information required to know if the iseries_veth module should be loaded on legacy iSeries systems. ChangeSet@1.1743.1.5, 2004-05-25 08:34:35-07:00, akpm@osdl.org [PATCH] ppc64: NUMA fixes From: Anton Blanchard From: Anton Blanchard, Dave Hansen and Olof Johansson: Fix multiple bugs in the ppc64 NUMA topology probe code. - We were using HW cpu numbers instead of logical ones. 615, 630, 650, some 670 and some 690 SMP will all fail to boot without this patch. - The old code would BUG() when it got confused (more NUMA zones than the kernel is configured for etc). - The common depth calculation was incorrect. Dave found an OF property that gives us exactly what we want. - Things were broken on SMT machines. The new code should work on those broken systems and should no longer BUG() but fall back to a flat topology when it gets confused. ChangeSet@1.1743.1.4, 2004-05-25 08:34:24-07:00, akpm@osdl.org [PATCH] ppc64: fix inline spinlocks From: Anton Blanchard In _raw_spin_lock_flags we were branching to the wrong spot and would restore random stuff to the MSR. ChangeSet@1.1743.1.3, 2004-05-25 08:05:12-07:00, davej@redhat.com [PATCH] Make early_cpu_detect() set x86_cache_alignment on pre-cpuid CPU's too From: Zdenek Pavlas On any x86 without cpuid, early_cpu_detect() left x86_cache_alignment as zero, so kmem_cache_init() calls cache_estimate() with align == 0, and it loops forever. I've tried this trivial fix, and it works for me. Andi Kleen looked over this, and ok'd it. ChangeSet@1.1743.1.2, 2004-05-24 17:19:59-07:00, paulus@samba.org [PATCH] ppc64: better stack traces This improves the stack traces we get on PPC64 by putting a marker in those stack frames that are created as a result of an interrupt or exception. The marker is "regshere" (0x7265677368657265). With this, stack traces show where exceptions have occurred, which can be very useful. This also improves the accuracy of the trace because the relevant return address can be in the link register at the time of the exception rather than on the stack. We now print the PC and exception type for each exception frame, and then the link register if appropriate as the next item in the trace. ChangeSet@1.1737.3.15, 2004-05-24 23:14:52+01:00, rmk@flint.arm.linux.org.uk [ARM] pxa2xx_udc needs asm/mach-types.h ChangeSet@1.1737.3.14, 2004-05-24 22:42:29+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix lubbock PCMCIA driver. - access SA1111 GPIO using sa1111_set_io functions. - access Lubbock misc register using lubbock_set_misc_wr - fix CF voltage selection. - don't fiddle with PCMCIA voltage selection when selecting CF voltage. - wait for the voltage switches to stabilise before reading the new card state. ChangeSet@1.1745, 2004-05-24 10:15:43-07:00, herbert@gondor.apana.org.au [IPSEC]: Use add_timer in find_acq. ChangeSet@1.1744, 2004-05-24 10:13:27-07:00, herbert@gondor.apana.org.au [IPSEC]: Fix OOPS when deleting an ip address. Looks like I was too hasty in blaming myself :) Although my patch does fix a real bug, it cannot have been responsible for the crash that the OP reported. The reason is that the state timer always keeps a reference to the state so even if it is incorrectly re-added the reference will prevent the crash. Hence the problem is still a bug in the ref counting. I think I've found the real culprit now. __xfrm?_find_acq() is missing an xfrm_state_hold on the create path. This also explains why I never see it myself since Openswan never creates states through that code-path. ChangeSet@1.1737.3.13, 2004-05-24 17:29:49+01:00, rmk@flint.arm.linux.org.uk [ARM] Don't reference __machine_arch_type directly. ChangeSet@1.1737.3.12, 2004-05-24 17:18:24+01:00, icampbell@com.rmk.(none) [ARM PATCH] 1893/1: define __ARCH_WANT_SYS_PAUSE for ARM Patch from Ian Campbell The recent changeset "Sanitise handling of unneeded syscall stubs" missed __ARCH_WANT_SYS_PAUSE from include/asm-arm/unistd.h. ChangeSet@1.1737.3.11, 2004-05-24 17:14:00+01:00, rmk@flint.arm.linux.org.uk [ARM] Remove needless include of asm/mach-types.h ChangeSet@1.1737.1.99, 2004-05-24 08:20:03-07:00, James.Bottomley@SteelEye.com [PATCH] pa-risc: kernel/fork.c broken by the new rmap Any architecture (like pa-risc) that makes use of the helper function flush_dcache_mmap_lock() won't compile with the new rmap due to use of the wrong "mapping". Trivial fix. ChangeSet@1.1737.1.98, 2004-05-24 08:16:24-07:00, torvalds@ppc970.osdl.org Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.1737.3.10, 2004-05-24 13:16:26+01:00, rmk@flint.arm.linux.org.uk [ARM] Enable IRQs over context switches Disabling IRQs over context switches causes unreasonable IRQ latency on VIVT cached machines, so provide our own prepare_arch_switch(), finish_arch_switch() and task_running() implementations. We provide an optimised UP version so we don't end up needlessly incrementing and decrementing the preempt count. ChangeSet@1.1737.3.9, 2004-05-24 12:17:09+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix sorting of machine class symbols. These are supposed to be ordered by option name. ChangeSet@1.1737.3.8, 2004-05-24 00:34:23+01:00, rmk@flint.arm.linux.org.uk [ARM] Remove old static GPIO port definitions for SA1111. Using these old definitions on PXA will result in randomly scribbling over memory. Remove them. ChangeSet@1.1737.1.96, 2004-05-23 16:19:28-07:00, vadim@cs.washington.edu [NET]: Save some space with sysfs strings. ChangeSet@1.1737.1.95, 2004-05-23 16:13:00-07:00, davem@nuts.davemloft.net Merge http://linux-mh.bkbits.net/bluetooth-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1737.3.7, 2004-05-24 00:09:54+01:00, rmk@flint.arm.linux.org.uk [ARM] PXAFB bug fixes - There are only 16 entries in the pseudo palette - For dual-panel displays, we need to halve the display height - When disabling the LCD controller, use LCCR0_DIS (aka slow disable) rather than quick disable. - Clean up compiler warnings. ChangeSet@1.1737.3.6, 2004-05-23 23:52:39+01:00, rmk@flint.arm.linux.org.uk [ARM] Remove SA1111 PS/2 IRQ_HANDLED handling. Some SA1111 devices are unable to clear the PS/2 receive IRQ before it has been serviced, so we always re-enter the handler one more time than is strictly necessary. We can't clear the IRQ after servicing because that causes race conditions with other SA1111 devices, so we take the easy option and always return IRQ_HANDLED. ChangeSet@1.1737.3.5, 2004-05-23 23:41:39+01:00, rmk@flint.arm.linux.org.uk [ARM] Update PXA serial driver. - Move CKEN manipulation into power management handling (so we don't shut down the clock to the console port.) - .iotype should be using UPIO_xxx not SERIAL_IO_xxx - Remove each port when module is unloaded. - Remove needless #include. - Remove ASYNC_SKIP_TEST - we don't have any tests to skip. ChangeSet@1.1737.3.4, 2004-05-23 23:29:13+01:00, rmk@flint.arm.linux.org.uk [ARM] Add LCD display parameters for Lubbock board. ChangeSet@1.1737.3.3, 2004-05-23 23:23:59+01:00, rmk@flint.arm.linux.org.uk [ARM] Add lubbock_set_misc_wr() This provides an atomic method to update the Lubbock board specific register from various drivers. ChangeSet@1.1737.3.2, 2004-05-23 22:06:28+01:00, rmk@flint.arm.linux.org.uk [ARM] Provide coherent_dma_mask for PXA MCI device. ChangeSet@1.1737.3.1, 2004-05-23 21:56:17+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix oops in dma_unmap_single() Fix an oops caused by a missing failure return value for devices which do not require DMA bouncing. ChangeSet@1.1737.1.94, 2004-05-23 12:22:09-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] ncpfs compat ioctls This takes ncpfs ioctl handling into fs/compat_ioctl.c, removing it from ppc64 and sparc64 code. Code sanitized, switched to compat_alloc_user_space(), bunch of {k,v}malloc() killed. ChangeSet@1.1612.5.27, 2004-05-23 11:44:28-05:00, brking@us.ibm.com [PATCH] ipr driver version 2.0.7 Bump driver version ChangeSet@1.1612.5.26, 2004-05-23 11:37:37-05:00, brking@us.ibm.com [PATCH] ipr remove anonymous unions for gcc 2.95 This patch removes all usage of anonymous unions from the ipr driver since gcc 2.95 does not support anonymous unions. ChangeSet@1.1612.5.25, 2004-05-23 11:25:01-05:00, brking@us.ibm.com [PATCH] ipr fix for ioa reset timeout oops This patch fixes an oops discovered in test which can occur on bad hardware if the ipr adapter times out coming operational. ChangeSet@1.1612.5.24, 2004-05-23 11:22:07-05:00, brking@us.ibm.com [PATCH] ipr add error logs to abort and reset paths This patch adds additional error logging to abort, device reset, and bus reset paths to help in diagnosing scsi problems on ipr. ChangeSet@1.1612.5.23, 2004-05-23 11:19:21-05:00, brking@us.ibm.com [PATCH] ipr gcc attributes fixes This patch fixes an issue where ipr was including a kernel data structure, list_head, in a packed structure, which causes compile issues on some architectures, and is just a bad thing to do. ChangeSet@1.1612.5.22, 2004-05-23 11:17:44-05:00, jejb@mulgrave.(none) initial 2.6 fixup for ATP870U scsi From: Alan Cox Pretty minimal. queue_command is now called locked, this requires propogating some small locking changes for send_s870 ChangeSet@1.1608.4.6, 2004-05-23 13:43:34+02:00, marcel@holtmann.org [Bluetooth] Define .kobj.k_name for the fake device The PCMCIA devices are not devices for the kernel and the bt3c_cs driver uses a fake device for calling request_firmware(). The fake device initialization must also set .kobj.k_name to prevent an oops until PCMCIA devices are fully integrated into the driver model. ChangeSet@1.1608.4.5, 2004-05-23 13:31:00+02:00, marcel@holtmann.org [Bluetooth] Use try_module_get() for RFCOMM sessions It is not possible to use __module_get() when adding a new RFCOMM session, because there is a case where no reference count is hold. This happens when the module is not in use right now and an incoming connection occurs. ChangeSet@1.1742, 2004-05-23 10:22:27+02:00, perex@suse.cz ALSA CVS update - Jaroslav Kysela PCM Midlevel,ALSA Core Added SNDRV_PCM_SYNC_PTR_APPL and SNDRV_PCM_SYNC_PTR_AVAIL_MIN extensions to SYNC_PTR ioctl for PCM API. ChangeSet@1.1741, 2004-05-23 10:22:01+02:00, perex@suse.cz ALSA CVS update - Takashi Iwai VIA82xx driver - added the DXS entry for ECS K7VTA3 v8.0 - fixed the DXS entry for ASUS A7V8X to NO_VRA. ChangeSet@1.1740, 2004-05-23 10:21:22+02:00, perex@suse.cz ALSA CVS update - Takashi Iwai ALSA Core added reverse selections of components to CONFIG_SND_BIT32_EMUL. ChangeSet@1.1739, 2004-05-23 10:14:09+02:00, perex@suse.cz ALSA CVS update - Takashi Iwai PCI drivers,ICE1712 driver,ICE1724 driver - improved the description of ice1724 driver on Kconfig. - better support of VT1720 with snd-ice1724 driver. - check PCI subsystem IDs when no EEPROM is available (ice1724 only) - change the driver name string if given in the board list. - merged prodigy 7.1 support into aureon.c. they are almost identical. - allow to use PDMA4 and RMDA1 for non-SPDIF purpose if specified (ice1724 only). ChangeSet@1.1737.1.93, 2004-05-22 22:46:07-07:00, torvalds@ppc970.osdl.org Linux 2.6.7-rc1 TAG: v2.6.7-rc1