ChangeSet@1.1641, 2004-04-30 21:28:54-07:00, torvalds@ppc970.osdl.org Fix fixed fadvice length handling - Correctly handle wraparound on offset+len - fix FADV_WILLNEED handling of non-page-aligned (offset+len) Let's hope we don't need to fix the fixed fix. ChangeSet@1.1640, 2004-04-30 21:09:43-07:00, akpm@osdl.org [PATCH] usb linkage fix On sparc64 toolchain: drivers/built-in.o(.init.text+0xaf8c): In function `usb_init': : undefined reference to `usbfs_cleanup' usb_init() is __init and usbfs_cleanup() is __exit. No can do. ChangeSet@1.1638, 2004-04-30 14:51:54-07:00, akpm@osdl.org [PATCH] task_struct alignment fix The recent slab alignment changes broke an unknown number of architectures (parisc and x86_64 for sure) by causing task_structs to be insufficiently aligned. We need good alignemnt because architectures do things like dumping FP state into the task_struct with instructions which require particular alignment (I think). So change the default alignment to L1_CACHE_BYTES, which is what we used to have, via SLAB_HW_CACHE_ALIGN. ChangeSet@1.1628.1.6, 2004-04-30 20:59:26+01:00, nico@org.rmk.(none) [ARM PATCH] 1841/1: Lubbock defconfig update Patch from Nicolas Pitre ChangeSet@1.1628.1.5, 2004-04-30 20:55:03+01:00, nico@org.rmk.(none) [ARM PATCH] 1840/1: recognize more XScale CPU variants Patch from Nicolas Pitre ... including the new PXA270 aka Bulverde. ChangeSet@1.1628.1.4, 2004-04-30 20:51:18+01:00, nico@org.rmk.(none) [ARM PATCH] 1839/1: fix lubbock_flash.c which used a bogus reg name Patch from Nicolas Pitre Before previous patch this driver compiled OK but was buggy. Now it doesn't compile anymore as the bogus macro has been deleted. Fix that in any case. The same fix has been committed to the MTD CVS already, but please forward this to Linus otherwise Lubbock won't compile from kernel.org tree anymore (waiting for dwmw2 to update this might prove ... hrm ... long) ChangeSet@1.1628.1.3, 2004-04-30 20:47:10+01:00, nico@org.rmk.(none) [ARM PATCH] 1838/1: Lubbock leds and macro namespace cleanup Patch from Nicolas Pitre Too many macro with too generic names. Let's remove unneeded code and redundant/unused macros. This also prevent namespace clash with upcoming patches. ChangeSet@1.1628.1.2, 2004-04-30 20:43:05+01:00, nico@org.rmk.(none) [ARM PATCH] 1837/1: small Lubbock cleanup Patch from Nicolas Pitre Minor cleanup of Lubbock specific code, like removal of redundant mappings. Also a prerequisite for some upcoming patches. ChangeSet@1.1628.1.1, 2004-04-30 20:39:17+01:00, nico@org.rmk.(none) [ARM PATCH] 1836/1: don't hardcode virtual addresses Patch from Nicolas Pitre virtual address mapping can change. ChangeSet@1.1637, 2004-04-30 12:37:45-07:00, rmk@arm.linux.org.uk [PATCH] Update MTD concatenating driver This patch updates the MTD concatenating driver from MTD CVS, which fixes issues found with this driver which concatenates multiple MTD devices into one MTD device. From David Woodhouse, through CVS: revision 1.8 date: 2003/06/30 11:01:26; author: dwmw2; state: Exp; lines: +5 -5 I will not commit stuff whilst pissed I will not commit stuff whilst pissed revision 1.7 date: 2003/06/29 21:26:34; author: dwmw2; state: Exp; lines: +9 -9 Fix ecc/oob subdev comparisions revision 1.6 date: 2003/06/25 12:37:50; author: dwmw2; state: Exp; lines: +14 -6 Don't pretend to have {read,write}_{oob,ecc} functions if subdevices don't revision 1.5 date: 2003/06/25 12:21:16; author: dwmw2; state: Exp; lines: +390 -397 coding style cleanup ChangeSet@1.1604.1.4, 2004-04-30 10:26:18-07:00, davidm@tiger.hpl.hp.com Cset exclude: davidm@tiger.hpl.hp.com|ChangeSet|20040427053149|28511 ChangeSet@1.1635, 2004-04-30 07:42:49-07:00, akpm@osdl.org [PATCH] fadvise length handling fix POSIX sez: "If len is zero, all data following offset is specified." ChangeSet@1.1634, 2004-04-30 07:42:38-07:00, akpm@osdl.org [PATCH] ppc64: shmget() translation bugfix From: David Gibson The 32->64 bit syscall translation layer on ppc64 incorrectly sign- extends rather than zero-extending the second parameter to shmget(), which should be a size_t. This means that it is impossible to shmget() more 2GB or more from a 32-bit process. ChangeSet@1.1633, 2004-04-30 07:42:26-07:00, akpm@osdl.org [PATCH] make ikconfig quiet From: "Randy.Dunlap" From: Pavel Machek Kill uninformative boot-time message. ChangeSet@1.1632, 2004-04-30 07:42:14-07:00, akpm@osdl.org [PATCH] s390: oprofile Kconfig fixes From: Arnd Bergmann Enable basic profiling code on s390 depending on CONFIG_PROFILING, not CONFIG_OPROFILE. CONFIG_PROFILING should enable the generic profiling code here, even if CONFIG_OPROFILE is not set. Note that the identical code on i386 is always compiled in, regardless of CONFIG_PROFILING and CONFIG_OPROFILE. ChangeSet@1.1631, 2004-04-30 07:42:01-07:00, akpm@osdl.org [PATCH] DVB:Fix adapter module removal bug From: Michael Hunold unfortunately it's possible to remove a DVB adapter module even if a DVB network device has been set up using this adapter. The attached patch fixes this problem. ChangeSet@1.1630, 2004-04-30 07:41:49-07:00, akpm@osdl.org [PATCH] efivars sysfs fix From: Matt Tolentino This trailing space in sysfs contents is not needed. ChangeSet@1.1629, 2004-04-30 07:41:36-07:00, akpm@osdl.org [PATCH] nfs printk warning fix From: Trond Myklebust fs/nfs/direct.c: In function `nfs_direct_IO': fs/nfs/direct.c:458: warning: int format, different type arg (arg 2) ChangeSet@1.1628, 2004-04-29 22:17:22-07:00, akpm@osdl.org [PATCH] parport pnp detection fix From: Adam Belay Fix http://bugme.osdl.org/show_bug.cgi?id=2540 It prevents PnP detection if devices were already detected by SuperIO. ChangeSet@1.1627, 2004-04-29 22:17:01-07:00, trond.myklebust@fys.uio.no [PATCH] NFSv3: Fix SETATTR call after O_EXCL create Ensure that when we send the SETATTR call after doing an O_EXCL create, we always set the atime and ctime fields. See RFC1813 for details on why the server is allowed to clobber these two fields in order to cache a verifier that protects CREATE in case of a timeout+resend from the client. Patch is by Olaf Kirch. ChangeSet@1.1604.1.3, 2004-04-29 15:15:15-07:00, pfg@sgi.com [PATCH] ia64: SN2 fix Move HW interrupt register init. to the proper place and don't force an interrupt if the IRQ is disabled or in progress. ChangeSet@1.1604.1.2, 2004-04-29 15:14:05-07:00, davidm@tiger.hpl.hp.com ia64: Fix Exec-Only stack patch so X can work again. No pun intended, but X can't work if it can't turn on eXecute-permission on the some data pages... ChangeSet@1.1625, 2004-04-29 14:13:28-07:00, hugh@veritas.com [PATCH] mremap offset type Just found I never changed type of move_page_tables when I changed it to return offset: einormous mremap moves would fail on 64-bit. ChangeSet@1.1624, 2004-04-29 07:21:10-07:00, akpm@osdl.org [PATCH] writeback livelock fix To avoid various livelocks, the writeback code parks all the dirty inodes onto sb->s_io and then works through that list until it is empty. This assumes that each inode will be moved to some other list as it is processed. But there's a loophole: if the ->writepages() implementation does nothing at all, the inode is not redirtied (which would move it to s_dirty). This causes s_io to not empty and pdflush goes nuts. So when this happens, move the inode onto s_dirty within __sync_single_inode(). Use list_move_tail() to attempt to preserve the time-ordering of the s_dirty list. ChangeSet@1.1623, 2004-04-29 07:20:56-07:00, akpm@osdl.org [PATCH] gcc-3.4.0 fixes From: Mikael Pettersson This patch fixes three warnings from gcc-3.4.0 in 2.6.6-rc3: - arch/i386/pci/pcbios.c: use of "+m" constraint - drivers/char/ftape/: use of cast-as-lvalue - drivers/char/ftape/: __attribute__((packed)) on something containing only bytes ChangeSet@1.1622, 2004-04-29 07:20:44-07:00, akpm@osdl.org [PATCH] Fix support for the Motorola PrPMC800 From: Tom Rini Makes the Motorola PrPMC800 platform functional again. This comes from Randy Vinson . ChangeSet@1.1621, 2004-04-29 07:20:22-07:00, akpm@osdl.org [PATCH] static functions in as-iosched.c From: Stephen Hemminger ChangeSet@1.1620, 2004-04-29 07:20:11-07:00, akpm@osdl.org [PATCH] s390: oprofile for s390 From: Martin Schwidefsky Add oprofile support for s/390. ChangeSet@1.1619, 2004-04-29 07:19:55-07:00, akpm@osdl.org [PATCH] s390: zfcp host adapter From: Martin Schwidefsky zfcp host adapter change: - Fix addressing exception due to uninitialized host_scribble pointer. ChangeSet@1.1618, 2004-04-29 07:19:43-07:00, akpm@osdl.org [PATCH] s390: 3270 console driver From: Martin Schwidefsky 3270 device driver change: - Add missing irb error checking. ChangeSet@1.1617, 2004-04-29 07:19:30-07:00, akpm@osdl.org [PATCH] s390: network driver From: Martin Schwidefsky Network driver changes: - ctc: Add missing irb error checking. - iucv: Add name of net_device to iucvMagic to more than one connection between two guests. - qeth: Don't send IPA command if card is not in state SOFTSETUP or UP. - qeth: Fix number base in simple_strtoul call for buffer_count attribute. - qeth: Fix reallocating of buffers when buffer_count attribute is changed. - qeth: Correct handling of return codes in qeth_realloc_buffer_pool. - qeth: Don't call dev_close/dev_open on STOPLAN/STARTLAN commands. Use netif_carrier_off/netif_carrier_on instead. ChangeSet@1.1616, 2004-04-29 07:19:17-07:00, akpm@osdl.org [PATCH] s390: common i/o layer From: Martin Schwidefsky Common i/o layer changes: - Don't use bus ids in crw debug feature. - Use cio_oper for oper notification to disconnected devices. - Remove __get_subchannel_by_stsch. - Make cio workqueue a single threaded workqueue. - Introduce addiotnal cio_notify workqueue for device driver notification. - Switch off path in vpm if cio_start returned -ENODEV. - Fix rescan for new subchannels after a logical vary on. ChangeSet@1.1615, 2004-04-29 07:19:03-07:00, akpm@osdl.org [PATCH] s390: core s390 From: Martin Schwidefsky s390 core changes: - Move setting/clearing of TIF_31BIT thread flag to SET_PERSONALITY. - Use TASK_UNMAPPED_BASE in elf_map32 for mmaps with address 0. - Define ARCH_KMALLOC_MINALIGN. - Define ARCH_MIN_TASKALIGN. ChangeSet@1.1614, 2004-04-29 07:18:52-07:00, akpm@osdl.org [PATCH] cciss MAINTAINERS update From: Here's an update for the MAINTAINERS file. ChangeSet@1.1613, 2004-04-29 07:18:37-07:00, akpm@osdl.org [PATCH] cciss build fix From: This patch fixes the linux/include/cciss_ioctl.h file. When support for the cciss big ioctl was added the stucture in the header was put in the wrong place. If an application includes the file it will fail to compile. ChangeSet@1.1612, 2004-04-29 07:18:25-07:00, akpm@osdl.org [PATCH] Update kerneltraffic link in SubmittingDrivers and kernel-docs.txt From: Coywolf Qi Hunt This updates the kerneltraffic url link found in Documentation/SubmittingDrivers and Documentation/kernel-docs.txt. ChangeSet@1.1611, 2004-04-29 07:18:11-07:00, akpm@osdl.org [PATCH] ppc32: compile error in signal.c From: Meelis Roos arch/ppc/kernel/signal.c: In function `handle_signal': arch/ppc/kernel/signal.c:518: error: `newspp' undeclared (first use in this function) arch/ppc/kernel/signal.c:518: error: (Each undeclared identifier is reported only once arch/ppc/kernel/signal.c:518: error: for each function it appears in.) arch/ppc/kernel/signal.c:518: warning: long unsigned int format, pointer arg (arg 3) ChangeSet@1.1610, 2004-04-29 07:17:59-07:00, akpm@osdl.org [PATCH] cifssmb.c warning fix On ppc64, __u64 is `unsigned long', so: fs/cifs/cifssmb.c: In function `CIFSSMBSetFileSize': fs/cifs/cifssmb.c:2466: warning: long long int format, __u64 arg (arg 2) ChangeSet@1.1609, 2004-04-29 07:15:20-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] Fix might_sleep in /proc/swaps code This fixes a locking problem noted by Tim Hockin: * /proc/swaps uses seq_file code, calling seq_path() with swaplock held * seq_path() calls d_path() * d_path() calls mntput() which might_sleep() We add a new semaphore protecting insertions/removals in the set of swap components + switch of ->start()/->stop() to the same semaphore [fixes deadlocks] + trivial cleanup of ->next(). ChangeSet@1.1608, 2004-04-29 07:12:31-07:00, david@gibson.dropbear.id.au [PATCH] POWER5 erratum workaround Early POWER5 revisions (irq and it will be overwritten by ide_init_default_irq() if CONFIG_PCI is defined. Fix it. I will clean it up properly later after killing ide_init_hwif_ports() on ARM{26}. Doing it now is just wasted effort. ChangeSet@1.1594.3.15, 2004-04-29 14:08:42+01:00, dirk.behme@com.rmk.(none) [ARM PATCH] 1835/1: Make ALTERA Excalibur work again in 2.6.5 Patch from Dirk Behme Make ALTERA Excalibur work again in 2.6.4. Update serial driver uart00.c and defconfig. This is an update of patch 1833/1. Remove #include , it isn't necessary at all. ChangeSet@1.1594.3.14, 2004-04-29 12:50:28+01:00, rmk@flint.arm.linux.org.uk [ARM] Add Versatile default configuration ChangeSet@1.1594.3.13, 2004-04-29 09:59:19+01:00, rmk@flint.arm.linux.org.uk [ARM] Move all page fault handling code to fault.c ChangeSet@1.1594.1.12, 2004-04-28 16:08:37-07:00, torvalds@ppc970.osdl.org Tell the sparse checker to use 64-bit mode when checking a ppc64 tree. ChangeSet@1.1594.1.11, 2004-04-28 16:06:55-07:00, torvalds@ppc970.osdl.org Add __user annotations to ppc64 user access functions. ChangeSet@1.1594.3.12, 2004-04-28 22:24:57+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix atomic bitops earlyclobber atomic_dec_and_test and atomic_add_negative didn't mark their temporary variables as early-clobber. Fix this. ChangeSet@1.1602, 2004-04-28 12:51:11-07:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1601, 2004-04-28 12:34:04-07:00, chaapala@cisco.com [CRYPTO]: Provide crc32c as a type of digest. ChangeSet@1.1594.3.11, 2004-04-28 20:32:24+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix read_cpuid() ChangeSet@1.1600, 2004-04-28 12:30:17-07:00, chaapala@cisco.com [LIB]: Use compiler.h's pure attribute macros in crc32.c. ChangeSet@1.1599, 2004-04-28 12:29:12-07:00, chaapala@cisco.com [LIB]: Add CRC32c (Castagnoli, et al Cyclic Redundancy-Check) ChangeSet@1.1598, 2004-04-28 12:26:48-07:00, shemminger@osdl.org [IPV4]: Use static in several places. More functions and data that should be static. ChangeSet@1.1594.3.10, 2004-04-28 20:22:33+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix shared mmap()ings for ARM VIPT caches. This allows us to appropriately align shared mappings on VIPT caches with aliasing issues. ChangeSet@1.1594.3.9, 2004-04-28 19:06:49+01:00, rmk@flint.arm.linux.org.uk [ARM] Remove Anakin default configuration file. ChangeSet@1.1594.1.10, 2004-04-28 09:58:52-07:00, ink@jurassic.park.msu.ru [PATCH] Fix rwsem contention case on alpha/s390x Thanks to Dru , who provided an easy way to reproduce the problem. What we have in lib/rwsem.c:__rwsem_do_wake(): int woken, loop; ^^^ and several lines below: loop = woken; woken *= RWSEM_ACTIVE_BIAS-RWSEM_WAITING_BIAS; woken -= RWSEM_ACTIVE_BIAS; However, rw_semaphore->count is 64-bit on Alpha, so RWSEM_WAITING_BIAS has been defined as -0x0000000100000000L. Obviously, this blows up in the write contention case. ChangeSet@1.1594.3.8, 2004-04-28 17:51:49+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix monspecs in ARM-related framebuffer drivers. Use named initialisers for monspecs; the format of the structure changed a while back and it broke. ChangeSet@1.1594.3.7, 2004-04-28 17:33:54+01:00, rmk@flint.arm.linux.org.uk [ARM] Oprofile should use asm/irq.h not asm/arch/irqs.h ChangeSet@1.1594.3.6, 2004-04-28 17:24:24+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix dependencies of SERIO_AMBAKMI and SERIO_RPCKBD ChangeSet@1.1594.3.5, 2004-04-28 16:52:43+01:00, rmk@flint.arm.linux.org.uk [ARM] Update ioremap implementation. Use flush_cache_vmap() after creating mappings. Also use BUG_ON() rather than if() BUG(). ChangeSet@1.1594.1.9, 2004-04-28 08:50:59-07:00, armin@melware.de [PATCH] ISDN CAPI: fix ncci list semaphore Fix new ISDN CAPI's internal ncci list semaphore if CONFIG_ISDN_CAPI_MIDDLEWARE is disabled. Thanks to Florian Schirmer. ChangeSet@1.1594.3.4, 2004-04-28 16:16:11+01:00, rmk@flint.arm.linux.org.uk [ARM] Update assabet_defconfig. ChangeSet@1.1594.4.8, 2004-04-28 08:16:03-07:00, akpm@osdl.org [PATCH] ppc32: Update Motorola PrPMC750 support From: Tom Rini This patch updates support for the Motorola PrPMC750 platform. Most of the size in this patch comes from merging prpmc750_pci.c and prpmc750_setup.c into just prpmc750.c. ChangeSet@1.1594.4.7, 2004-04-28 08:15:12-07:00, akpm@osdl.org [PATCH] ppc32: Add openpic_hookup_cascade() From: Tom Rini This patch adds openpic_hookup_cascade(offset, name, handler) which allows for an arbitrary interrupt controller to be hooked up as a cascade to the openpic. This also allows for platforms to just not have a cascaded controller. ChangeSet@1.1594.4.6, 2004-04-28 08:15:00-07:00, akpm@osdl.org [PATCH] ppc32: Update SBS K2 support From: Tom Rini This patch updates support for the SBS K2 platform. Most of the size in this patch comes from merging k2_pci.c and k2_setup.c into just k2.c. ChangeSet@1.1594.4.5, 2004-04-28 08:14:38-07:00, akpm@osdl.org [PATCH] fix warning in arch/ppc/boot/simple/misc.c From: Christoph Hellwig asm-ppc/elf.h uses a pointer to struct task_struct without any forward-declaration. In file included from include/linux/elf.h:5, from arch/ppc/boot/simple/misc.c:20: include/asm/elf.h:102: warning: `struct task_struct' declared inside parameter list include/asm/elf.h:102: warning: its scope is only this definition or declaration, which is probably not what you want ChangeSet@1.1594.4.4, 2004-04-28 08:14:27-07:00, akpm@osdl.org [PATCH] Fix thinkos in #if -> #ifdef conversions #2 From: Tom Rini And when trying to catch up on old patches, I forgot this hunk: ChangeSet@1.1594.4.3, 2004-04-28 08:14:13-07:00, akpm@osdl.org [PATCH] Fix thinkos in #if -> #ifdef conversions From: Tom Rini When I changed some '#if FOO' tests to '#ifdef FOO' I forgot to make sure that nothing was doing #define FOO 0. So after auditing all of the changes I made, the following is needed: ChangeSet@1.1594.4.2, 2004-04-28 08:14:02-07:00, akpm@osdl.org [PATCH] ppc64: Set memory-only nodes online From: Olof Johansson On pSeries LPARs we might end up with NUMA nodes that only have memory and no CPUs. Only the CPU configuration code actually set a node online, so memory-only nodes wouldn't show up in sysfs. Below patch adds the set_online call to the memory loop too. ChangeSet@1.1594.4.1, 2004-04-28 08:13:48-07:00, akpm@osdl.org [PATCH] fix warning in fs/dquot.c From: "Luiz Fernando N. Capitulino" fs/dquot.c: In function `vfs_quota_off': fs/dquot.c:1328: warning: label `out' defined but not used ChangeSet@1.1594.3.3, 2004-04-28 14:15:04+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix BE find_*_bit operations These broke when find_first_bit/find_next_bit was added. ChangeSet@1.1594.3.2, 2004-04-28 14:02:29+01:00, rmk@flint.arm.linux.org.uk [ARM] Add read_cpuid() to aid reading CPU ID registers. ChangeSet@1.1594.3.1, 2004-04-28 12:58:49+01:00, dvrabel@com.rmk.(none) [ARM PATCH] 1832/1: Typo in dma_unregister_dev printk Patch from David Vrabel Fix a trivial typo in a dma_unregister_dev printk. ChangeSet@1.1594.1.6, 2004-04-28 14:45:34+10:00, hch@sgi.com [XFS] close external blockdevice after final flush SGI Modid: xfs-linux:xfs-kern:170489a ChangeSet@1.1594.1.5, 2004-04-28 14:39:46+10:00, roehrich@sgi.com [XFS] Remove now that linvfs_mprotect doesn't need it. SGI Modid: xfs-linux:xfs-kern:170509a ChangeSet@1.1594.1.4, 2004-04-28 14:24:24+10:00, roehrich@sgi.com [XFS] Fix dmapi/mprotect interaction SGI Modid: xfs-linux:xfs-kern:170448a ChangeSet@1.1597, 2004-04-27 20:29:45-07:00, shemminger@osdl.org [TCP]: tcp_send_skb code pruning The function tcp_send_skb is only called from tcp_fin, and is always called with force_queue=1. Therefore, it no longer needs to be global and the code to send right now can be removed. Because it always queues, change the name as well, and fix up the comment. ChangeSet@1.1594.1.2, 2004-04-27 18:31:21-07:00, torvalds@ppc970.osdl.org Linux 2.6.6-rc3 TAG: v2.6.6-rc3