commit dbeeb816e805091e7cfc03baf36dc40b4adb2bbd Author: Linus Torvalds Date: Tue Nov 6 13:57:46 2007 -0800 Linux 2.6.24-rc2 commit 7a82b63f19b0a05a76271aee1eb7905cd1c7d5ad Author: Jeff Dike Date: Tue Nov 6 11:02:50 2007 -0500 UML: fix defconfig build again Reported by Al Viro. This fixes it: [AC]FLAGS -> KBUILD_[AC]FLAGS conversion in Makefile-i386. Signed-off-by: Jeff Dike Cc: Al Viro Cc: Sam Ravnborg Signed-off-by: Linus Torvalds commit 55762690e2696d7b5034d85d1fbeb620841220c9 Author: Latchesar Ionkov Date: Tue Nov 6 08:02:53 2007 -0600 9p: add missing end-of-options record for trans_fd The list of options that the fd transport accepts is missing end-of-options marker. This patch adds it. Signed-off-by: Latchesar Ionkov Acked-by: Eric Van Hensbergen commit dd1a458412c358f8b4550d7e7df88982c88ce408 Author: Latchesar Ionkov Date: Tue Nov 6 08:02:53 2007 -0600 9p: return NULL when trans not found v9fs_match_trans function returns arbitrary transport module instead of NULL when the requested transport is not registered. This patch modifies the function to return NULL in that case. Signed-off-by: Latchesar Ionkov Acked-by: Eric Van Hensbergen commit 8999e04f3b7930f0c6f091a541237de51d8dd372 Author: Latchesar Ionkov Date: Tue Nov 6 08:02:53 2007 -0600 9p: use copy of the options value instead of original v9fs_parse_options function uses strsep which modifies the value of the v9ses->options field. That modified value is later passed to the function that creates the transport potentially making the transport creation function to fail. This patch creates a copy of v9ses->option field that v9fs_parse_options function uses instead of the original value. Signed-off-by: Latchesar Ionkov Acked-by: Eric Van Hensbergen commit dda6b022f3222f09d3fb49f5dfabd31d33e0d10b Author: Latchesar Ionkov Date: Tue Nov 6 08:02:53 2007 -0600 9p: fix memory leak in v9fs_get_sb This patch fixes a memory leak in v9fs_get_sb. Signed-off-by: Latchesar Ionkov Acked-by: Eric Van Hensbergen commit 246a3d186a10266c9ee362e8d37c3bd851246b84 Author: Li Zefan Date: Mon Nov 5 12:53:09 2007 +1000 drm: DRM: fix memset size error The size passing to memset is wrong. Signed-off-by: Li Zefan Signed-off-by: Dave Airlie commit 747824c67b31b5d6e9379fae8af2ef46cf715f62 Author: Dave Airlie Date: Mon Nov 5 11:48:34 2007 +1000 drm: remove remnants of DRM_COPY_FROM/TO_USER_IOCTL This is a bug in the savage driver since I introduced these changes. Signed-off-by: Dave Airlie commit f9618ac08b37992c80ca320b3463559873726837 Author: Dave Airlie Date: Mon Nov 5 11:36:18 2007 +1000 drm: remove second forward decleration of drm device struct. Signed-off-by: Dave Airlie commit 2655e2cee2d77459fcb7e10228259e4ee0328697 Author: Alan Cox Date: Mon Nov 5 22:51:09 2007 +0000 ata_piix: Add additional PCI identifier for 40 wire short cable Keeping the list in sync with the old IDE driver Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds commit 8dce39c231af554932f8ab0d671e077ab6db9e46 Author: Li Zefan Date: Mon Nov 5 14:51:10 2007 -0800 time: fix inconsistent function names in comments Signed-off-by: Li Zefan Cc: Thomas Gleixner Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 001e09e86c1c7612783f46256500c31e5ed55c6a Author: Greg Ungerer Date: Mon Nov 5 14:51:04 2007 -0800 m68knommu: fix pread/pwrite defines Fix system call defines for system call 180 and 181 to match the underlying system call table function entries. System call 180 calls sys_pread64, and 181 calls sys_pwrite64, so make the definitions match. Signed-off-by: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a29f2b0288ba2a8fb302f9a639521ac9ff302e5 Author: Michael Halcrow Date: Mon Nov 5 14:51:04 2007 -0800 eCryptfs: release mutex on hash error path Release the crypt_stat hash mutex on allocation error. Check for error conditions when doing crypto hash calls. Signed-off-by: Michael Halcrow Reported-by: Kazuki Ohta Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 778d1a2bd42ae862a6c6d20a1c3af5e45b3c1924 Author: Michael Halcrow Date: Mon Nov 5 14:51:03 2007 -0800 eCryptfs: increment extent_offset once per loop interation The extent_offset is getting incremented twice per loop iteration through any given page. It should only be getting incremented once. This bug should only impact hosts with >4K page sizes. Signed-off-by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01aae97196f2cdfbfebc5a0365bad82d98975588 Author: Matti Linnanvuori Date: Mon Nov 5 14:51:02 2007 -0800 telephony: phonedev panics if unregistering device not registered [Bug 9266] Remove panic from phonedev. See http://bugzilla.kernel.org/show_bug.cgi?id=9266 for details (phonedev panics if unregistering device not registered). Signed-off-by: Matti Linnanvuori Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit def6ae26a9e69c3e6d0f0054524c76fd32420ecd Author: Neil Brown Date: Mon Nov 5 14:51:02 2007 -0800 md: fix misapplied patch in raid5.c commit 4ae3f847e49e3787eca91bced31f8fd328d50496 ("md: raid5: fix clearing of biofill operations") did not get applied correctly, presumably due to substantial similarities between handle_stripe5 and handle_stripe6. This patch moves the chunk of new code from handle_stripe6 (where it isn't needed (yet)) to handle_stripe5. Signed-off-by: Neil Brown Cc: "Dan Williams" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 139b82984af5a98e4b03fd01616d79fc4970128a Author: Randy Dunlap Date: Mon Nov 5 14:51:01 2007 -0800 virtio/virtcons: fix section mismatch warning Make virtcons_probe() __devinit. Fixes this section warning: WARNING: vmlinux.o(.text+0x14c10b): Section mismatch: reference to .init.text:hvc_alloc (between 'virtcons_probe' and 'ac_register_board') Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12730926557e9b89b7618b79754598b09387d37d Author: Randy Dunlap Date: Mon Nov 5 14:51:00 2007 -0800 rtc: m48t59 fix section mismatch warning Change the name of this data to use a name (suffix) that is whitelisted by MODPOST so that the section warning is fixed (not generated). WARNING: vmlinux.o(.data+0x1b140): Section mismatch: reference to .init.text:m48t59_rtc_probe (between 'm48t59_rtc_platdrv' and 'm48t59_nvram_attr') Signed-off-by: Randy Dunlap Acked-by: Alessandro Zummo Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f15cf5151c3ecfe4073fb4478f686cb396bc2b17 Author: Jeff Dike Date: Mon Nov 5 14:50:59 2007 -0800 uml: correctly strip kernel defines from userspace CFLAGS KERNEL_DEFINES needs whitespace trimmed, otherwise the whitespace crunching done by make fools the patsubst which is used to remove KERNEL_DEFINES from USER_CFLAGS. Signed-off-by: Jeff Dike Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f40c05528f9d612057a3dd382008a54179f8919 Author: WANG Cong Date: Mon Nov 5 14:50:59 2007 -0800 uml: fix incompatible types warning in previous SG fix Fix an incompatible-pointer warning. Signed-off-by: WANG Cong Signed-off-by: Jeff Dike Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b07989f51eea16e2fe3eab032801599d952966fb Author: Roel Kluin <12o3l@tiscali.nl> Date: Mon Nov 5 14:50:58 2007 -0800 paride: fix 'and' typo in drivers/block/paride/pt.c Fix 'and' typo (PT_WRITE_OK is defined 2) Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6551198a201a70cb11e25712b1d0b2a369bb8a4c Author: Adrian Bunk Date: Mon Nov 5 14:50:57 2007 -0800 fs/afs/vlocation.c: fix off-by-one This patch fixes an off-by-one error spotted by the Coverity checker. Signed-off-by: Adrian Bunk Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f11b7ae8d6180bb3c0ad04b38a8ca7e0a26c6605 Author: Hugh Dickins Date: Mon Nov 5 14:50:56 2007 -0800 arm26: remove it again A tiny vestige of arm26 has appeared: remove it again. (akpm: someone (tm) needs to remove include/asm-arm26/ too) Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b030c2c2f0f1d98d5fe412e5b7cf7fd53f5221a Author: Andi Kleen Date: Mon Nov 5 14:50:56 2007 -0800 Fix bitmap_scnlistprintf for empty masks When a bitmap is empty bitmap_scnlistprintf() would leave the buffer uninitialized. Set it to an empty string in this case. I didn't see any in normal kernel callers hitting this, but some custom debug code of mine did. Signed-off-by: Andi Kleen Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a75983eef1193c43caebde6643a218bd8d8390e Author: Kamalesh Babulal Date: Mon Nov 5 14:50:55 2007 -0800 Missing include file in kallsyms.h The Build with randconfig fails with following error with the 2.6.24-rc4-git9 include/linux/kallsyms.h:56: error: `NULL' undeclared (first use in this function) include/linux/kallsyms.h:56: error: (Each undeclared identifier is reported only once include/linux/kallsyms.h:56: error: for each function it appears in.) make[2]: *** [arch/powerpc/platforms/cell/spu_callbacks.o] Error 1 make[1]: *** [arch/powerpc/platforms/cell] Error 2 make: *** [arch/powerpc/platforms] Error 2 Signed-off-by: Kamalesh Babulal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1265205c0ee3919c3f2c750662630154c8faab2 Author: Mathieu Desnoyers Date: Mon Nov 5 14:50:54 2007 -0800 local_t Documentation update Grant Grundler was asking for more detail about correct usage of local atomic operations and suggested adding the resulting summary to local_ops.txt. "Please add a bit more detail. If DaveM is correct (he normally is), then there must be limits on how the local_t can be used in the kernel process and interrupt contexts. I'd like those rules spelled out very clearly since it's easy to get wrong and tracking down such a bug is quite painful." Signed-off-by: Mathieu Desnoyers Signed-off-by: Grant Grundler Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf2cdef30667d0d3d09c6934c95d1fb87c43345a Author: Yinghai Lu Date: Mon Nov 5 14:50:53 2007 -0800 serial: fix compile warning about putc drivers/serial/8250_early.c:80: warning: conflicting types for built-in function `putc' Signed-off-by: Yinghai Lu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae5fbf771aeb534e31f3541673bb240ff8c07283 Author: Vasily Averin Date: Mon Nov 5 14:50:53 2007 -0800 i2o: debug messages corrected max_phys_segments and max_sectors were swapped Signed-off-by: Vasily Averin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5db6a4dac1c7f459af2f895f6889346cedd467a1 Author: Alexey Dobriyan Date: Mon Nov 5 14:50:52 2007 -0800 Dump stack during sysctl registration failure Let's make immediately obvious from where sysctl comes from and messages itself more noticeable. Signed-off-by: Alexey Dobriyan Acked-by: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df59ebc49ef101302e9328ff76ff28c18df39cfb Author: Roel Kluin <12o3l@tiscali.nl> Date: Mon Nov 5 14:50:51 2007 -0800 i4l: errors with assignments in if Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bbfd53d47abd1fb20d7c93a9b19a75970b66f49 Author: Alan Cox Date: Mon Nov 5 22:58:58 2007 +0000 libata: handle broken cable reporting One or two ancient drives predated the cable spec and didn't sent the valid bits for the field. I had hoped to leave this out of libata as a piece of historical annoyance but a recent CD drive shows the same bug so we have to import support for it. Same concept as Bartlomiej's changes old IDE except that as we have centralised blacklists we can avoid keeping another private table of stuff Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 73946f9fc5be1433f1e182d11303188390ff242f Author: Alan Cox Date: Mon Nov 5 22:53:38 2007 +0000 pata_hpt37x: Fix outstanding bug reports on the HPT374 and 37x cable detect - Read frequency correctly - Correct cable detect handling - Fix wrong filter test Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 7f2803d0266844adacacbc3dea7822d5347ccb50 Author: Alan Cox Date: Mon Nov 5 22:51:09 2007 +0000 ata_piix: Add additional PCI identifier for 40 wire short cable Keeping the list in sync with the old IDE driver Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 36beb82390235236c60eb97ca526b1cad97e2df3 Author: Alan Cox Date: Mon Nov 5 15:04:40 2007 +0000 pata_serverworks: Fix problem with some drive combinations The driver used the channel not the device number for deciding where to load some timing parameters. Also change so that we clear the UDMA field as the old driver did. Not believed neccessary but does no harm. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit f2511f13daaf00fdd206bee7b108f75923a613c6 Author: Olof Johansson Date: Sun Nov 4 16:09:23 2007 -0600 phylib: Silence driver registration It gets quite verbose to see every single PHY driver being registered by default. Signed-off-by: Olof Johansson Signed-off-by: Jeff Garzik commit ac8c635abb7bce730a315be0525bea0c29e742d0 Author: Olof Johansson Date: Sun Nov 4 16:08:51 2007 -0600 phylib: Add ID for Marvell 88E1240 Add PHY IDs for Marvell 88E1240. It seems to have close enough programming models to 1111/1112 for basic support at least. Also clean up whitespace in the ID list a bit. Signed-off-by: Olof Johansson Signed-off-by: Jeff Garzik commit d2ea732e9ecb68841206f2761ae91360da87cfac Author: Evgeniy Dushistov Date: Sun Nov 4 23:22:29 2007 +0300 82596: free nonexistent resource fix During booting of last vanilla kernel I got: Trying to free nonexistent resource... This because of if "ENABLE_APRICOT" is on we do: request_region(ioaddr,...) if (checksum test failed) goto out1; dev->base_addr = ioaddr;//<-here mistake out1: release_region(dev->base_addr,...) This change fixes this bug for me. Signed-off-by: Evgeniy Dushistov Signed-off-by: Jeff Garzik commit cacd40e07c5ad7068221b3910098f1d364e74e45 Author: David Miller Date: Wed Oct 31 16:35:57 2007 -0700 SUNHME: Fix missing NETIF_F_VLAN_CHALLENGED on PCI happy meals No HME parts can do VLANs correctly. Signed-off-by: David S. Miller Signed-off-by: Jeff Garzik commit 199fb21d520ac8c09de1f1288e667988815aa79a Author: David Brownell Date: Wed Oct 31 10:37:37 2007 +0100 leds: bugfixes for leds-gpio Three bugfixes to the leds-gpio driver, plus minor whitespace tweaks: - Do the INIT_WORK() before registering each LED, so if its trigger becomes immediately active it can schedule work without oopsing.. - Use normal registration, not platform_driver_probe(), so that devices appearing "late" (hotplug type) can still be bound. - Mark the driver remove code as "__devexit", preventing oopses when the underlying device is removed. These issues came up when using this driver with some GPIO expanders living on serial busses, which act unlike "normal" platform devices: they can appear and vanish along with the serial bus driver. Signed-off-by: David Brownell Signed-off-by: Richard Purdie commit bd3989e006ed1c88d47c3308746ae0330fc1bcf4 Author: Jeff Garzik Date: Mon Oct 29 09:48:09 2007 -0400 PCI: Add Kconfig option to disable deprecated pci_find_* API Signed-off-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit ccb9d59e682d7bd758457b6d2458365cc68fad7a Author: Dirk Hohndel Date: Mon Oct 29 06:28:17 2007 -0700 PCI: pciserial_resume_one ignored return value of pci_enable_device [PATCH] pciserial_resume_one ignored return value of pci_enable_device Signed-off-by: Dirk Hohndel Acked-by: Alan Cox Acked-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit 00395410885cac96015850426bf697423a3ec9dc Author: Adrian Bunk Date: Wed Oct 24 18:25:00 2007 +0200 PCI Hotplug: cpqhp_pushbutton_thread(): remove a pointless if() check The Coverity checker spotted that we'd have already oops'ed if "ctrl" was NULL. Additionally, "func" had just been checked for not being NULL. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit d73460d79bc88de74221d73723ed61a0081b7a36 Author: Adrian Bunk Date: Wed Oct 24 18:27:18 2007 +0200 PCI: make pci_match_device() static pci_match_device() no longer has any other users. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 5257dca0bdc36027a4bfc1002264bd465e86ab7a Author: David Miller Date: Thu Oct 25 01:17:16 2007 -0700 PCI: Remove 3 incorrect MSI quirks. Now that we have dealt with the real issue, in that some ATI SATA and USB controllers needed the INTX_DISABLE quirk, we can remove these AMD chipset global MSI disabling quirks. This reverts three changesets: 4be8f906435a6af241821ab5b94b2b12cb7d57d8 (PCI: disable MSI on RS690) aea6a433f50cd89b9cbd10850fd0b32f961f9883 (PCI: disable MSI on RD580) f122392f679ebed39db08074f935d770504623eb (PCI: disable MSI on RX790) This is based upon testing and feedback from Shane Huang . Cc: Shane Huang Signed-off-by: David S. Miller Acked-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit bc38b411fe696fad32b261f492cb4afbf1835256 Author: David Miller Date: Thu Oct 25 01:16:52 2007 -0700 PCI: Add MSI INTX_DISABLE quirks for ATI SB700/800 SATA and IXP SB400 USB Signed-off-by: David S. Miller Acked-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit ba698ad4b7e466cbb4a8bde6b9da8080ab06808d Author: David Miller Date: Thu Oct 25 01:16:30 2007 -0700 PCI: Add quirk for devices which disable MSI when INTX_DISABLE is set. A reasonably common problem with some devices is that they will disable MSI generation when the INTX_DISABLE bit is set in the PCI_COMMAND register. Quirk this explicitly, guarding the pci_intx() calls in msi.c with this quirk indication. The first entries for this quirk are for 5714 and 5780 Tigon3 chips, and thus we can remove the workaround code from the tg3.c driver. Signed-off-by: David S. Miller Acked-by: Michael Chan Acked-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit 1d84b5424efbcce69a1c955ba181147d23d43a14 Author: David Miller Date: Thu Oct 25 01:15:53 2007 -0700 PCI: Add MSI quirk for ServerWorks HT1000 PCIX bridge. This is the fix for the following problem: https://bugzilla.redhat.com/show_bug.cgi?id=227657 The bnx2 device 5706 complains about MSI not working behind a ServerWorks HT1000 PCIX bridge. An earlier commit to fix the problem: e3008dedff4bdc96a5f67224cd3d8d12237082a0: "PCI: disable MSI by default on systems with Serverworks HT1000 chips" was not entirely correct, and has been reverted. MSI does not work on the PCIX bus because the BIOS did not set the HT_MSI_FLAGS_ENABLE bit in the HyperTransport MSI capability on the bridge. We use the existing quirk_msi_ht_cap() to detect the problem and disable MSI in all buses behind it. Signed-off-by: Michael Chan Cc: Anantha Subramanyam Cc: Naren Sankar Signed-off-by: David S. Miller Acked-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit 2cc31879f8cfa0efc74fe7e58ab4e01ef5908730 Author: David Miller Date: Thu Oct 25 01:15:24 2007 -0700 PCI: Revert "PCI: disable MSI by default on systems with Serverworks HT1000 chips" This reverts commit e3008dedff4bdc96a5f67224cd3d8d12237082a0. The real bug was an INTX issue in the tg3 ethernet chip, and cured by commit c129d962a66c76964954a98b38586ada82cf9381 Signed-off-by: David S. Miller Acked-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit bcbf6ee3eb5212ff774161cae15ce4f92f7edafb Author: Bartlomiej Zolnierkiewicz Date: Mon Nov 5 21:42:30 2007 +0100 ide: fix IDE_HFLAG_NO_ATAPI_DMA handling in config_drive_for_dma() commit 33c1002ed912ac9dacedd5d5b166da3b72d18460 incorrectly changed return value from '0' to '-1', fix it (ns87415 was the only host driver affected since it uses both IDE_HFLAG_TRUST_BIOS_FOR_DMA and IDE_HFLAG_NO_ATAPI_DMA). Signed-off-by: Bartlomiej Zolnierkiewicz commit 01745112de5f721dd5afb06bc60b4a1e65e397ce Author: Bartlomiej Zolnierkiewicz Date: Mon Nov 5 21:42:29 2007 +0100 ide: move ide_fixstring() documentation to ide-iops.c from ide.h Signed-off-by: Bartlomiej Zolnierkiewicz commit 26a5b04075f6f2ccf30b22e7f0fc9127c500a698 Author: Bartlomiej Zolnierkiewicz Date: Mon Nov 5 21:42:27 2007 +0100 ide: add missing #ifdef/#endif CONFIG_IDE_TASK_IOCTL Signed-off-by: Bartlomiej Zolnierkiewicz commit d34887da6be91eaac1db168fa48d91eaa4504795 Author: Bartlomiej Zolnierkiewicz Date: Mon Nov 5 21:42:27 2007 +0100 ide: fix ide_find_dma_mode() to print human-readable info Problem reported by Mikael. Cc: Mikael Pettersson Signed-off-by: Bartlomiej Zolnierkiewicz commit 02ac2460ff126afadf8d364c82ebb13e116df33b Author: Bartlomiej Zolnierkiewicz Date: Mon Nov 5 21:42:27 2007 +0100 ide: add missing rq.ref_count initialization to ide_diag_taskfile() Noticed by Tejun Heo. Cc: Tejun Heo Signed-off-by: Bartlomiej Zolnierkiewicz commit 1c11d241115a352a4468a7a4884c22cf68a5c6fd Author: Bartlomiej Zolnierkiewicz Date: Mon Nov 5 21:42:27 2007 +0100 ide: clear HOB bit for REQ_TYPE_ATA_TASK requests in ide_end_drive_cmd() ide_dump_ata_status() may set HOB bit before ide_end_drive_cmd() is called. Signed-off-by: Bartlomiej Zolnierkiewicz commit 320112bd28d3c477f6990bfe8762ccb978106a08 Author: Bartlomiej Zolnierkiewicz Date: Mon Nov 5 21:42:26 2007 +0100 ide: check rq->cmd_type in drive_cmd_intr() drive_cmd_intr() is used by both REQ_TYPE_ATA_CMD and REQ_TYPE_ATA_TASK but commands using PIO-in protocol are valid only for REQ_TYPE_ATA_CMD (&args[4] in case of REQ_TYPE_ATA_TASK points to a value for IDE_LCYL_REG register instead of the data buffer). This fix allows REQ_TYPE_ATA_TASK commands to use non-zero values for IDE_SECTOR_REG (args[3]). Signed-off-by: Bartlomiej Zolnierkiewicz commit f7d7f3fd21f06c1f07d1dc9e2cc8a3c43b53faa6 Author: Bartlomiej Zolnierkiewicz Date: Mon Nov 5 21:42:26 2007 +0100 ide/Kconfig: fix BLK_DEV_OFFBOARD dependencies This config option is effective only for host drivers that use IDE_HFLAG_OFF_BOARD host flag (aec62xx, generic, hpt34x, hpt366, pdc202xx_new, pdc202xx_old and tc86c001). Signed-off-by: Bartlomiej Zolnierkiewicz commit 6d5dd21de497668c44aade803e1689bf131dc1a6 Author: Adrian Bunk Date: Mon Nov 5 21:42:26 2007 +0100 ide: unexport ide_fix_driveid ide_fix_driveid can now be unexported. Signed-off-by: Adrian Bunk Acked-by: Alan Cox Signed-off-by: Bartlomiej Zolnierkiewicz commit 127ba2896512699338d997418d7cf5064720b55b Author: Matti Linnanvuori Date: Mon Nov 5 21:42:26 2007 +0100 ide/Kconfig: add IDEDISK_MULTI_MODE text adapted from hdparm manual page Add IDEDISK_MULTI_MODE text adapted from hdparm manual page. Signed-off-by: Matti Linnanvuori Signed-off-by: Bartlomiej Zolnierkiewicz commit 699b052ad2996c4ca87aa4b9d4a51dcca0f9e588 Author: Tejun Heo Date: Mon Nov 5 21:42:25 2007 +0100 ide: do_identify() string termination fix Terminates id->model string before invoking strstr() in do_identify(). Signed-off-by: Tejun Heo Signed-off-by: Bartlomiej Zolnierkiewicz commit afda5e4da5abf7366ba8ac49e7634b3c85a143ae Author: sebdeg@ngi.it Date: Mon Nov 5 21:42:25 2007 +0100 piix: add support for ICH7 on Acer 5602aWLMi In piix.c (and in ata_piix.c) are already included some patches to skip the cable check on some laptops and to enable UDMA > 33 modes, but I've noticed than theese doesn't work on my Acer Aspire 5602WLMi (maybe exist more versions of this laptop). With this simple patch I can set transfer mode to UDMA100. From: "sebdeg@ngi.it" Signed-off-by: Andrew Morton Acked-by: Alan Cox Signed-off-by: Bartlomiej Zolnierkiewicz commit 4d20826ffb6fa80c71b85d2cb858ae400a59a4d5 Author: Kamalesh Babulal Date: Mon Nov 5 16:11:12 2007 +0530 cpm_load_patch() - declartion conflict Commit f2a0bd3753dad7ea4605ebd5435716b39e9f92bb defines the function with "void cpm_load_patch(cpm8xx_t *cp)" prtotype and is declared as "extern void cpm_load_patch(volatile immap_t *immr)" in the header file. Signed-off-by: Kamalesh Babulal Signed-off-by: Linus Torvalds commit 05aa345034de6ae9c77fb93f6a796013641d57d5 Author: Christoph Lameter Date: Mon Nov 5 11:31:58 2007 -0800 SLUB: Fix memory leak by not reusing cpu_slab Fix the memory leak that may occur when we attempt to reuse a cpu_slab that was allocated while we reenabled interrupts in order to be able to grow a slab cache. The per cpu freelist may contain objects and in that situation we may overwrite the per cpu freelist pointer loosing objects. This only occurs if we find that the concurrently allocated slab fits our allocation needs. If we simply always deactivate the slab then the freelist will be properly reintegrated and the memory leak will go away. Signed-off-by: Christoph Lameter Acked-by: Hugh Dickins Signed-off-by: Linus Torvalds commit 633872b980f55f40a5e7de374f26970e41e2137b Author: Rusty Russell Date: Mon Nov 5 21:55:57 2007 +1100 lguest: tidy up documentation After Adrian Bunk's "make async_hcall static" moved things around, update comments to match (aka "make Guest"). Signed-off-by: Rusty Russell commit fad23fc78b959dae89768e523c3a6f5edb83bbe9 Author: Adrian Bunk Date: Fri Nov 2 16:43:22 2007 +0100 kernel/futex.c: make 3 functions static The following functions can now become static again: - get_futex_key() - get_futex_key_refs() - drop_futex_key_refs() Signed-off-by: Adrian Bunk Signed-off-by: Rusty Russell commit 02c3530da6b926b31f89ba589da72eca49557edd Author: Adrian Bunk Date: Fri Nov 2 16:43:28 2007 +0100 unexport access_process_vm This patch removes the no longer used EXPORT_SYMBOL_GPL(access_process_vm). Signed-off-by: Adrian Bunk Signed-off-by: Rusty Russell commit 9b56fdb458b014bdda974b43a3e59721032898bb Author: Adrian Bunk Date: Fri Nov 2 16:43:10 2007 +0100 lguest: make async_hcall() static async_hcall() can become static. Signed-off-by: Adrian Bunk Signed-off-by: Rusty Russell commit d2cb0e6ecbe0ef93ab36631cd17ec6cf92b69c5a Author: Christian Borntraeger Date: Mon Nov 5 11:10:14 2007 +0100 [S390] tod clock: announce clocksource as perfect The Time of Day clock is the standard time source for s390. It is - monotonic - allows very fast reading - architecture guarantees at least microsecond stepping - available as part of the architecture We should announce the rate of tod as 400 to be in sync with the description found in clocksource.h: "400-499:Perfect The ideal clocksource. A must-use where available." This change will prefer tod over less reliable clock sources. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky commit 69d39d6669a01e26ae6dbf5c3e84e0d1b6ccf332 Author: Heiko Carstens Date: Mon Nov 5 11:10:13 2007 +0100 [S390] Rename "idle_time" attribute to "idle_time_us". Seems that people prefer to have the unit encoded in the attribute name. Also makes parsing easier. Now we have: # cat /sys/devices/system/cpu/cpu0/idle_time_us 131473592 instead of # cat /sys/devices/system/cpu/cpu0/idle_time 131473592 us Cc: Arjan van de Ven Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit b2eaee6e81696d80d9c6ecfcbba8951673e83934 Author: Roel Kluin <12o3l@tiscali.nl> Date: Mon Nov 5 11:10:12 2007 +0100 [S390] Fix priority mistakes in drivers/s390/cio/cmf.c Fixes priority mistakes similar to '!x & y' Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Martin Schwidefsky commit 0b8da654b6c13b40b0e0efd916ee57ed13f9fa1f Author: Heiko Carstens Date: Mon Nov 5 11:10:11 2007 +0100 [S390] Fix memory detection. Yet another patch in the countless series of memory detection fixes: if the last area of the reported storage size is a hole the detection loop will loop forever. Just break chunk detection loop if its end is going to be larger than reported storage size. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 0d2be08893605be00de0f95ee7e4b8917ea1ebc3 Author: Heiko Carstens Date: Mon Nov 5 11:10:10 2007 +0100 [S390] Fix compile on !CONFIG_SMP. Commit fae8b22d3e3e3a3d317a7746493997af02a3f35c "[S390] Add per-cpu idle time / idle count sysfs attributes" causes a link error on !CONFIG_SMP. Fix this by adding some #ifdef's. Real fix would be to cleanup the code since we don't register a cpu on !CONFIG_SMP. But that would be quite a big patch. For the time being this is good enough. arch/s390/kernel/built-in.o: In function `do_monitor_call': (.text+0x50d4): undefined reference to `per_cpu__s390_idle' arch/s390/kernel/built-in.o: In function `cpu_idle': (.text+0x518c): undefined reference to `per_cpu__s390_idle' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 931bb68ba6355b7111966c90822ed862c102a9cd Author: Gerald Schaefer Date: Mon Nov 5 11:10:09 2007 +0100 [S390] device_schedule_callback() for dcssblk. Unregistering a device from within a device attribute handler leads to a deadlock. Need to use device_schedule_callback() to unregister device in error path. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 0fc3ddd67a6781238b038165d9dd8c1f9ba81111 Author: Christian Borntraeger Date: Mon Nov 5 11:10:08 2007 +0100 [S390] Fix smsgiucv init on no iucv machines smsgiucv is a driver that relies on iucv to work properly. If iucv ans smsgiucv are compiled into the kernel and run on an lpar the following scenario happens: iucv is initialized early as a subsystem. It checks for z/VM and returns with EPROTONOTSUPPORT. Later smsgiucv tries to run driver_register with iucv_bus as bus. As this bus is not initialized the driver core and list debugging issue several warnings and oopses. Solution is to let smsgiucv also check for z/VM and return EPROTONOTSUPPORT as well. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky commit 33583c3657ef30cd7f4cb563071ac23cb6ff69a0 Author: Heiko Carstens Date: Mon Nov 5 11:10:07 2007 +0100 [S390] cio: use INIT_WORK to initialize struct work. Use INIT_WORK to initialize struct work and don't initialize a struct work partial by explicitly initializing its private structures. Fixes the following lockdep bug because no key was assigned: INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. 0000000001f07bb8 0000000001f07bf8 0000000000000002 0000000000000000 0000000001f07c98 0000000001f07c10 0000000001f07c10 0000000000015406 0000000000000000 0000000000000002 0000000000000000 0000000000000000 0000000001f07bf8 000000000000000c 0000000001f07bf8 0000000001f07c68 000000000039ae60 0000000000015406 0000000001f07bf8 0000000001f07c48 Call Trace: ([<0000000000015376>] show_trace+0xda/0x104) [<0000000000015460>] show_stack+0xc0/0xf8 [<00000000000154c6>] dump_stack+0x2e/0x3c [<000000000006a71e>] __lock_acquire+0x47e/0x11a0 [<000000000006b4f0>] lock_acquire+0xb0/0xd8 [<00000000000555a6>] run_workqueue+0x1aa/0x24c [<00000000000556de>] worker_thread+0x96/0xf4 [<000000000005c210>] kthread+0x90/0xb4 [<000000000001947a>] kernel_thread_starter+0x6/0xc [<0000000000019474>] kernel_thread_starter+0x0/0xc Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit f5456b63ec9fdad37b680fc9fe6fe8222d2c1839 Author: Kristen Carlson Accardi Date: Fri Nov 2 16:37:08 2007 -0700 libata: Don't disable dipm with SET FEATURES LPM seems to get hung up while disabling DIPM, and after thinking about this a bit, I don't think we really need to manually disable it anyway. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Jeff Garzik commit 17bd9a2f4c35de29d2539a2ff6851d61be281e25 Author: Geert Uytterhoeven Date: Mon Oct 29 21:21:37 2007 +0100 libata and bogus LBA48 drives A colleague noticed recent versions of Ubuntu no longer detect his 80 GB ST380020ACE drive. This drive is special in that it advertises LBA48 support, but has the lba_capacity_2 field set to zero (cfr. http://lkml.org/lkml/2004/3/30/163). Upon closer look, libata indeed doesn't seem to handle this case yet. Below is an (untested) fix. Signed-off-by: Jeff Garzik commit 9f259cc59ba45b8db401d60be9700e275676fb15 Author: H. Peter Anvin Date: Sun Nov 4 17:54:31 2007 -0800 x86 setup: set %ebx == %ebp == %edi == 0 on protected mode entry In accordance with the newly formalized 32-bit boot protocol, set %ebx == %ebp == %edi == 0 in order to support future extensions to the protocol. Signed-off-by: H. Peter Anvin commit 7ed192906a2144ebc8ca2925a85d27b9c5355668 Author: H. Peter Anvin Date: Sun Nov 4 17:50:12 2007 -0800 x86 setup: add a near jump to serialize %cr0 on 386/486 The 386 and 486 needs a jump immediately after setting %cr0 in order to serialize the pipeline. Signed-off-by: H. Peter Anvin commit 038477aa15df6557ef0c8b2b60523c81eae58ee9 Author: Roel Kluin <12o3l@tiscali.nl> Date: Mon Nov 5 10:53:18 2007 +1000 drm/sis: missing mutex unlock in error path. airlied: separated this out from a patch on lkml. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Dave Airlie commit 7fc86860cf73e060ab8ed9763010dfe5b5389b1c Author: Dave Airlie Date: Mon Nov 5 10:45:27 2007 +1000 radeon: set the address to access the GART table on the CPU side correctly This code relied on the CPU and GPU address for the aperture being the same, On some r5xx hardware I was playing with I noticed that this isn't always true. This fixes issues seen on some r400 cards. (bugs.freedesktop.org 9957) Signed-off-by: Dave Airlie commit 4f663bdc65307e38401aa3b787a7a7569f28b920 Author: Mike Isely Date: Sat Nov 3 00:06:42 2007 -0300 V4L/DVB (6548): pvrusb2: Fix oops on module removal The pvrusb2 driver is tearing down its sysfs related pieces in the incorrect order. This leaves dangling pointers which causes the kernel device core to oops. The problem has been present virtually forever but became malignant with the changeover to the way of handling /sys/class. Fix is just to make sure we don't tear down the class structure until AFTER the driver instances are deregistered. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab commit ac72fed79fbbdb35882b393401584435c9fc37ac Author: Brandon Philips Date: Sun Nov 4 06:28:51 2007 -0300 V4L/DVB (6547): V4L: remove PCI from VIDEO_VIVI depends vivi.c is a virtual driver that builds without PCI and should run on non-pci hardware. Signed-off-by: Brandon Philips Signed-off-by: Mauro Carvalho Chehab commit fe51f819bcbaa1fe94291f4bbe2a6a40c1653b54 Author: Mauro Carvalho Chehab Date: Fri Nov 2 16:46:28 2007 -0300 V4L/DVB (6532): Add the remaining addresses for tda9887 Signed-off-by: Mauro Carvalho Chehab commit 8c6da5c41e39abc8d775a14f3bea28bec6c76d69 Author: Ludovico Cavedon Date: Fri Nov 2 16:37:32 2007 -0300 V4L/DVB (6531): Fix a regression caused by commit 153962364dc6fa4a24571885fbe76506d8968610 From: Ludovico Cavedon Signed-off-by: Ludovico Cavedon Signed-off-by: Mauro Carvalho Chehab commit 032c2028ac6829cbbbf2639e5e2861bf14f73b91 Author: Mauro Carvalho Chehab Date: Thu Nov 1 21:33:38 2007 -0300 V4L/DVB (6518): Fix tvp5150 default values Signed-off-by: Mauro Carvalho Chehab commit 6d35c8f648763299926d6e19de5334e15a9be7ab Author: Trent Piepho Date: Thu Nov 1 01:16:09 2007 -0300 V4L/DVB (6514): em28xx: Include linux/mm.h This em28xx-video.c uses functions from this header, but doesn't include it. It depends on some v4l headers included two levels down including poll.h, which includes mm.h. These v4l headers might change, so it's best to include the headers needed directly. It also causes problems for the out of core build system's backward compatibility with older kernels, which is the real reason I bothered to create a patch for something that would otherwise be so minor that it would hardly be worth the trouble. Signed-off-by: Trent Piepho Signed-off-by: Mauro Carvalho Chehab commit 32d111a9f0e6de901667612d1b0c46bbfd5d37cb Author: Alexander E. Patrakov Date: Wed Oct 31 11:40:09 2007 -0300 V4L/DVB (6506): saa7134-alsa: Fix mmap support Trent Piepho wrote: > I do not think the saa7134-alsa driver supports mmap. The cx88-alsa driver > also claimed to support mmap, but it never worked until I fixed it. It's > pretty clear that the code in saa7134-alsa was based on the same code as > cx88-alsa, so it's likely it has the same bug. You are right. The patch below (based on your cx88 patch, but I don't really understand it) fixes mmap support in saa7134-alsa for me. Recording via mmap (arecord -M -f S16_LE -c 2 -r 32000 -D hw:1) didn't work at all before, works now, tested for at least 20 minutes (but, unfortunately, with one overrun at least 0.719 ms long). Signed-off-by: Alexander E. Patrakov Acked-by: Takashi Iwai Signed-off-by: Trent Piepho Signed-off-by: Mauro Carvalho Chehab commit f21daa41d19def8c0a1e9d9626f773447b8191f6 Author: Mike Isely Date: Sun Oct 28 22:19:53 2007 -0300 V4L/DVB (6504): pvrusb2: Remove dead sysfs code The pvrusb2 driver's sysfs implementation had long since implemented a dummy hotplug function because at the time the kernel would oops without at least the empty function being present. Today - after numerous class interface changes in the kernel - this pvrusb2 change had been dutifully carried forward but an inspection of the kernel sources shows that it is no longer needed. So remove the dummy function and its reference. This also solves a recurring backwards compatibility issue in the pvrusb2 driver as the class interface has been getting thrashed in the kernel. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab commit 4ed53a5af75d858bd224c2cdd7604e347a63218f Author: Roel Kluin <12o3l@tiscali.nl> Date: Sun Oct 28 22:15:33 2007 -0300 V4L/DVB (6503): pvrusb2: Fix associativity logic error if(!x & y) should either be if(!(x & y)) or if(!x && y) I made changes as seemed appropriate, but please review this is against current git. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab commit 85085ad7b2cc281a94bb406172ba938870863639 Author: Hartmut Birr Date: Wed Oct 31 02:04:16 2007 -0300 V4L/DVB (6501): stv0297: Signal strength fixes Fixes the signal strength value (higher value = higher signal strength) and scales the value to the range of 0..ffff. The characteristic itself is wrong. To get proper values on a TT-C2300 in the range of 40..60% real signal strength, the values from the patch should be divide by two. The attached patch doesn't fix the characteristic. Signed-off-by: Hartmut Birr Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 7cccccc33aa9ab7171ca05c0b59c62912509b23e Author: Hartmut Birr Date: Wed Oct 31 01:57:58 2007 -0300 V4L/DVB (6500): tda10021: Fix reported signal strength Fix reported signal strength value (higher value = higher signal strength). Signed-off-by: Hartmut Birr Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 3de0e18b3a5860a296bcff3d94400f3b30b02c86 Author: Hartmut Birr Date: Wed Oct 31 01:50:47 2007 -0300 V4L/DVB (6499): tda10021: Bit error counting fixed Bit error counting fixed for the tda10021. Signed-off-by: Hartmut Birr Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 4a3625b22129d076a754bb366d0c31fa1b078317 Author: Oliver Endriss Date: Wed Oct 31 01:34:25 2007 -0300 V4L/DVB (6498): ves1820: Change the acquisition range for clock recovery from 120 ppm to 240ppm Change the acquisition range for clock recovery from 120 ppm to 240ppm. Apparently, some cable providers in Germany are playing with their parameters, and the capture range of the ves1820 is too small to acquire a lock with the current setting... ;-( Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 26ac14e24f3c84ed7a619639c2027f03b52bd64b Author: Oliver Endriss Date: Wed Oct 31 00:39:48 2007 -0300 V4L/DVB (6495): saa7146: saa7146_wait_for_debi_done fixes Two fixes for the 'saa7146_wait_for_debi_done' code: (a) Timeout did not work when the routine was called with interrupts disabled. (b) Reduce PCI I/O load caused by saa7146_wait_for_debi_done. Seems to be very important on fast machines! Based on code posted by Hartmut Birr @vdr-portal. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit cb20630cefb382a360fcc9ea054e597596153f42 Author: Randy Dunlap Date: Mon Oct 29 15:19:55 2007 -0300 V4L/DVB (6479): use input functions, should depend on INPUT All of these drivers select VIDEO_IR, which uses the input subsystem, so they should also depend on INPUT. Problem examples: drivers/built-in.o: In function `ir_input_key_event': ir-functions.c:(.text+0x10849a): undefined reference to `input_event' ir-functions.c:(.text+0x1084ac): undefined reference to `input_event' drivers/built-in.o: In function `saa7134_set_i2c_ir': (.text+0x11cc0a): undefined reference to `get_key_pinnacle_color' drivers/built-in.o: In function `saa7134_set_i2c_ir': (.text+0x11cc4f): undefined reference to `get_key_pinnacle_grey' drivers/built-in.o: In function `saa7134_input_fini': (.text+0x11cd8b): undefined reference to `input_unregister_device' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11d1fa): undefined reference to `input_allocate_device' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11d317): undefined reference to `input_register_device' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11d6ca): undefined reference to `input_free_device' drivers/built-in.o: In function `saa7134_set_i2c_ir': (.text+0x11c3f3): undefined reference to `ir_codes_hauppauge_new' drivers/built-in.o: In function `saa7134_set_i2c_ir': (.text+0x11c450): undefined reference to `ir_codes_pinnacle_color' drivers/built-in.o: In function `saa7134_set_i2c_ir': (.text+0x11c480): undefined reference to `ir_codes_purpletv' drivers/built-in.o: In function `saa7134_set_i2c_ir': (.text+0x11c495): undefined reference to `ir_codes_pinnacle_grey' drivers/built-in.o: In function `saa7134_ir_start': (.text+0x11c622): undefined reference to `ir_rc5_timer_end' drivers/built-in.o: In function `saa7134_ir_start': (.text+0x11c637): undefined reference to `ir_rc5_timer_keyup' drivers/built-in.o: In function `build_key': saa7134-input.c:(.text+0x11c769): undefined reference to `ir_extract_bits' saa7134-input.c:(.text+0x11c7ad): undefined reference to `ir_input_keydown' saa7134-input.c:(.text+0x11c7f0): undefined reference to `ir_input_keydown' saa7134-input.c:(.text+0x11c7f9): undefined reference to `ir_input_nokey' saa7134-input.c:(.text+0x11c806): undefined reference to `ir_input_nokey' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11ca07): undefined reference to `ir_codes_encore_enltv' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11caf6): undefined reference to `ir_input_init' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cbf2): undefined reference to `ir_codes_avermedia' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cc24): undefined reference to `ir_codes_pctv_sedna' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cc53): undefined reference to `ir_codes_flydvb' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cc85): undefined reference to `ir_codes_videomate_tv_pvr' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11ccb7): undefined reference to `ir_codes_pixelview' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cce9): undefined reference to `ir_codes_eztv' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cd1b): undefined reference to `ir_codes_manli' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cda8): undefined reference to `ir_codes_cinergy' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cdd7): undefined reference to `ir_codes_flyvideo' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11ce06): undefined reference to `ir_codes_asus_pc39' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11ce7d): undefined reference to `ir_codes_gotview7135' drivers/built-in.o: In function `saa7134_input_init1': (.text+0x11cee1): undefined reference to `ir_codes_proteus_2309' Signed-off-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab commit 5efeb972942f3bfe2fce2b73db9579484625e270 Author: Randy Dunlap Date: Mon Oct 29 15:19:50 2007 -0300 V4L/DVB (6478): ir-functions use input functions, should depend on INPUT Media ir-functions uses input_(*) functions so it should depend on the INPUT config symbol. drivers/built-in.o: In function `ir_input_key_event': ir-functions.c:(.text+0x10849a): undefined reference to `input_event' ir-functions.c:(.text+0x1084ac): undefined reference to `input_event' Signed-off-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab commit 04d934ff84f97970fa59980b0c327422b08cda50 Author: Adrian Bunk Date: Wed Oct 24 09:06:47 2007 -0300 V4L/DVB (6432): tuner: fix CONFIG_TUNER_TEA5761=m This patch fixes CONFIG_TUNER_TEA5761=m broken by commit ca805d57cf5ea7482ed3da28653f30621249ee45. Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 52c28d4b0a0849f608c1623f97d936a0d7ffbfea Author: Jeff Garzik Date: Fri Oct 26 09:00:37 2007 -0300 V4L/DVB (6407): planb: fix obvious interrupt handling bugs irq handlers have returned a return value for years now... catch up with the times. Also, ditch unneeded prototype. Signed-off-by: Jeff Garzik Signed-off-by: Mauro Carvalho Chehab commit 387a299bdd9311fc8532fd8ab5109a35cee510af Author: hermann pitton Date: Thu Oct 25 21:26:53 2007 -0300 V4L/DVB (6406): saa7134: fix analog audio in on medion md8800 quadro saa7134: fix analog audio in on medion md8800 quadro, aka CTX944 Signed-off-by: Hermann Pitton Signed-off-by: Mauro Carvalho Chehab commit 195ccf67738f41eae557ba0322b33b15a39fd88f Author: Steven Toth Date: Wed Oct 24 23:12:58 2007 -0300 V4L/DVB (6403): mt2131: replace comma with semicolon fix Semicolon fix. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit dd7d5013cdad2efe7ddbb3f77728cfe0ce295e5b Author: Steven Toth Date: Wed Oct 24 21:05:51 2007 -0300 V4L/DVB (6402): s5h1409: Fix broken QAM support This patch enables QAM Annex-B support (US digital cable) for the s5h1409 VSB/QAM demodulator. Tested successfully with the mt2131 tuner, present on the following supported boards: Hauppauge WinTV-HVR-1250 Hauppauge WinTV-HVR-1800 Hauppauge WinTV-HVR-1800lp This patch is also known to work with an upcoming XC5000 tuner driver. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bb8d56a4d8cad90825db0c12b55d66fde91dfa44 Author: Jonathan Corbet Date: Tue Oct 23 17:31:36 2007 -0300 V4L/DVB (6395): cafe_ccic: Add a pointer to the data sheet Add a pointer to the (recently posted) Cafe data sheet. Signed-off-by: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab commit c303449741279fc9a108c80e0816f0c4ddca8c09 Author: Jonathan Corbet Date: Tue Oct 23 17:30:27 2007 -0300 V4L/DVB (6394): Fix a cafe_ccic resume bug If the system is suspended while the camera is streaming, it will not continue streaming on resume. Save the state properly so that resume works. Signed-off-by: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab commit a8ab68bffe3fe7b8e9ff963ea321d283fc77ac5f Author: Trent Piepho Date: Mon Oct 22 17:44:55 2007 -0300 V4L/DVB (6392): bttv: Update initial image size when set via V4L1 VIDIOCMCAPTURE The V4L1 spec says that the image size should be with with VIDIOCSWIN before requesting buffers with VIDIOCGMBUF and capturing into them with VIDIOCMCAPTURE. But it seems that many apps don't do this. They set the size using the fields in the VIDIOCMCAPTURE ioctl. The driver doesn't know what size to capture until it actually starts to capture. In particular, it doesn't know what size to capture until it has already mmap the captured buffers. Which is quite stupid. Why V4L1 has size and format fields for VIDIOCMCAPTURE I have no idea. Many drivers don't support this, including those using v4l1-compat. The bttv does, which is probably the only reason such broken software is so prevalent. But, the driver doesn't adjust its idea of what size is being captured when it is set this way. If you try to query the driver's current setting with v4l2-ctl, it won't be correct. Signed-off-by: Trent Piepho Signed-off-by: Mauro Carvalho Chehab commit 35378434e739ac869d0146a47133a0f9d6fd2ee8 Author: Trent Piepho Date: Mon Oct 22 17:44:54 2007 -0300 V4L/DVB (6391): bttv: SPICT ioctl doesn't work with vlc The bttv driver instists that the depth specified in the call to VIDIOCSPICT match the pixel format specified in the same call. vlc doesn't set the depth field, which makes the SPICT ioctl always fail. The V4L1 standard is not clear on how most operation are supposed to work, and this is no exception. The depth field would appear to be entirely redundant, as the pixel format specifies a specific depth. It could be that this field was only meant for output from the *G*PICT ioctl and should be ignored in *S*PICT. This is in fact what the v4l1-compat wrapper does. Signed-off-by: Trent Piepho Signed-off-by: Mauro Carvalho Chehab commit 0180bf32793f9fadf3b541ebb43d770e5c9d0274 Author: Mauro Carvalho Chehab Date: Fri Oct 26 00:11:17 2007 -0300 V4L/DVB (6390): Updates missing entries at CARDLIST.em28xx Signed-off-by: Mauro Carvalho Chehab commit 615bb29ccbe9fa06d9f33b29d9c3f51340726656 Author: Mark Lord Date: Sat Nov 3 22:04:03 2007 -0400 rtc: ignore msb when reading back mday from alarm I have a system here that actively relies upon RTC wake alarms, and it has been failing (again) for a few days when attempting to use the /sys/class/rtc/rtc?/wakealarm interface. The old (fixed by Linus) /proc/ interface still works, but I'd like to get it using the new one. This patch fixes rtc-cmos to ignore the two upper bits when reading the BCD mday (day of month) register from CMOS. Some systems (eg. mine) seem to have the top bit set to "1" for some reason. The older /proc/ interface ignores the upper bits, and so we should too. Signed-off-by: Mark Lord Acked-by: David Brownell Cc: Alessandro Zummo Signed-off-by: Linus Torvalds commit 69ee0b3522428a07ff1765446d631ecc7da6ae0f Author: Sam Ravnborg Date: Sun Nov 4 19:00:46 2007 +0100 kbuild: do not pick up CFLAGS from the environment Too many people have CFLAGS set to support building userspace. And now Kbuild picks up CFLAGS this caused troubles. Although people should realise that setting CFLAGS has a 'global' effect the impact on the kernel build is a suprise. So change kbuild to pick up value from KCFLAGS that is much less used. When kbuild pick up a value it will warn like this: Makefile:544: "WARNING: Appending $KCFLAGS (-O3) from environment to kernel $CFLAGS" Signed-off-by: Sam Ravnborg Cc: Thomas Bächler Cc: David Miller Cc: Ingo Molnar commit 9e66269d40229cd9823024120910a43af57a9d72 Author: Jens Axboe Date: Sun Nov 4 09:44:56 2007 +0100 ieee1394: iso and async streams: s/g list fix Torsten Kaiser wrote: > Looking that calltrace upwards, it seems replacing the > memset(dma->sglist,...) with sg_init_table(...) would fix the BUG_ON() > as that inits the SG_MAGIC. Tested-by: Torsten Kaiser Signed-off-by: Stefan Richter commit f26792d5c63344e14540ced4b19deb29e360bb8d Author: Jeff Garzik Date: Mon Oct 29 17:18:39 2007 -0400 [libata] Utilize new SCSI event infrastructure An end to CD-ROM polling (if you have a device that supports AN)... hooray! Signed-off-by: Jeff Garzik commit a341cd0f6a0fde1f85fec9aa8f81f824ea4a3f92 Author: Jeff Garzik Date: Mon Oct 29 17:15:22 2007 -0400 SCSI: add asynchronous event notification API Originally based on a patch by Kristen Carlson Accardi @ Intel. Copious input from James Bottomley. Signed-off-by: Jeff Garzik commit ebab89909e0dc716282d5e7f6e73a3155fe66d4a Author: Anton Altaparmakov Date: Sat Nov 3 07:38:59 2007 +0000 NTFS: Fix read regression. The regression was caused by: commit[a32ea1e1f925399e0d81ca3f7394a44a6dafa12c] Fix read/truncate race This causes ntfs_readpage() to be called for a zero i_size inode, which failed when the file was compressed and non-resident. Thanks a lot to Mike Galbraith for reporting the issue and tracking down the commit that caused the regression. Looking into it I found three bugs which the patch fixes. Signed-off-by: Anton Altaparmakov Tested-by: Mike Galbraith Signed-off-by: Linus Torvalds commit 3c887e8a1a4553ae6263fc9490e33de213e3746f Author: Robert Jennings Date: Tue Oct 30 11:37:07 2007 -0500 [SCSI] ibmvscsi: Prevent IO during partner login By setting the request_limit in send_srp_login to 1 we allowed login requests to be sent to the server adapter. If this was not an initial login, but was a login after a disconnect with the server, other I/O requests could attempt to be processed before the login occured. These I/O requests would fail, sometimes resulting in filesystems getting marked read-only. To address this we can set the request_limit to 0 while doing the login and add an exception where login requests, along with task management events, are always passed to the server. There is a case where the request_limit had already reached 0 would result in all events being sent rather than returning SCSI_MLQUEUE_HOST_BUSY; this has also been fixed by this patch. Signed-off-by: Robert Jennings Signed-off-by: Brian King Signed-off-by: James Bottomley commit 7e2b19fbc7b9c1fd8ee9c79b375fcedb69dd07c9 Author: James Smart Date: Mon Oct 29 11:00:39 2007 -0400 [SCSI] lpfc : Correct queue tag handling This patch corrects the lpfc tag handling issue identified by Hannes Reinecke http://marc.info/?l=linux-scsi@m=119270235628850&w=2 The basis for this patch originated from Hajime Kai. Thank You Hajime. Signed-off-by: hajime-kai@soft.fujitsu.com Signed-off-by: James Smart Signed-off-by: James Bottomley commit c4e1608ef4b2ab4f6974fa351bb6c92e1de59aa7 Author: James Bottomley Date: Sat Nov 3 08:40:30 2007 -0500 [SCSI] Update MAINTAINER email address and trees Signed-off-by: James Bottomley commit 5270222f96608818e431b5c4029b1f12020ab719 Author: Tejun Heo Date: Wed Oct 31 10:17:07 2007 +0900 libata: don't configure downstream links faster than the upstream link There's nothing to be gained by configuring downstream links faster than the upstream link and such configurations cause problems on certain PMPs. Limit downstream link speed by the upstream link speed. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit db64bcf387aae6c7afad122a529d7d0513d3c5db Author: Tejun Heo Date: Wed Oct 31 10:17:06 2007 +0900 libata: request PHY speed configuration on SControl access failure In sata_set_spd_needed(), if SControl read failed, it returned 0 and skipped PHY speed configuration. However, if SControl access fails, it's far more logical to request PHY speed configuration. Reverse the logic. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit dfcc173d71b029eb2b10cf99bb5b4e8749e09799 Author: Tejun Heo Date: Wed Oct 31 10:17:05 2007 +0900 libata: consider errors not associated with commands for speed down libata EH used to ignore errors not associated with commands when determining whether speed down is necessary or not. This leads to the following problems. * Errors not associated with commands can occur indefinitely without libata EH taking corrective actions. * Upstream link errors don't trigger speed down when PMP is attached to it and commands issued to downstream device trigger errors on the upstream link. This patch makes ata_eh_link_autopsy() consider errors not associated with command for speed down. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 08cf69d005acda706bc014c61301993758ce9c5f Author: Tejun Heo Date: Wed Oct 31 10:17:04 2007 +0900 libata: more robust reset failure handling Reset failure is a critical error. It results in disabling the link requiring user intervention to re-enable it. Make reset failure handling more robust such that libata EH doesn't give up too early. * Temporary glitches during hardreset may lead to classification failure when there's no softreset available. Retry instead of giving up. * Initial softreset or follow up softreset may fail classification. Move classification error handling block out of followup softreset block such that both cases are handled and retry instead of giving up. Also, on the last try, give ATA class a blind shot. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 416dc9ed206bba09807300ee5f155a81cebbd4a1 Author: Tejun Heo Date: Wed Oct 31 10:17:03 2007 +0900 libata: cosmetic clean up / reorganization of ata_eh_reset() Clean up and reorganize ata_eh_reset() to ease further changes. * Cache ARRAY_SIZE(ata_eh_reset_timeouts) in @max_tries. * Cache link->flags in @lflags. * Move failure handling block to the end of the function and unnest both success and failure handling blocks. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit cd955463bb4e96cfec18a0e5b6887c6797fb821d Author: Tejun Heo Date: Wed Oct 31 10:17:02 2007 +0900 libata: fix timing computation in ata_eh_reset() As jiffies changes asynchronously, it needs to be cached if unchanging timestamp is needed. The code in ata_eh_reset() intended to do that with @now but never actually did it. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f8d8e5799b75cf7ad530d2bf2a42229bf7360526 Author: Tony Battersby Date: Tue Oct 30 11:44:35 2007 -0400 libata: increase 128 KB / cmd limit for ATAPI tape drives Commands sent to ATAPI tape drives via the SCSI generic (sg) driver are limited in the amount of data that they can transfer by the max_sectors value. The max_sectors value is currently calculated according to the command set for disk drives, which doesn't apply to tape drives. The default max_sectors value of 256 limits ATAPI tape drive commands to 128 KB. This patch against 2.6.24-rc1 increases the max_sectors value for tape drives to 65535, which permits tape drive commands to transfer just under 32 MB. Tested with a SuperMicro PDSME motherboard, AHCI, and a Sony SDX-570V SATA tape drive. Note that some of the chipset drivers also set their own max_sectors value, which may override the value set in libata-core. I don't have any of these chipsets to test, so I didn't go messing with them. Also, ATAPI devices other than tape drives may benefit from similar changes, but I have only tape drives and disk drives to test. Signed-off-by: Tony Battersby Signed-off-by: Jeff Garzik commit 03116d67e0973bb493fe9307e28973a24a272bcc Author: Mikael Pettersson Date: Wed Oct 31 13:21:29 2007 +0100 sata_promise: fix endianess bug in ASIC PRD bug workaround The original workaround for the Promise ASIC PRD bug contained an endianess bug which I failed to detect: the adjustment of the last PRD entry's length field applied host arithmetic to little-endian data, which is incorrect on big-endian machines. We have the length available in host-endian format, so do the adjustment on host-endian data and then convert and store it in the PRD entry's little-endian data field. Thanks to an anonymous reviewer for detecting this bug. Signed-off-by: Mikael Pettersson Signed-off-by: Jeff Garzik commit 48166fd9b065005ece8ceae594c1c50b3d955a80 Author: Stephen Hemminger Date: Wed Oct 31 10:00:27 2007 -0700 libata: fix docbook Fix docbook format in the comments. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a2d6ed149cefab495dbb573124e7e1ca331005fd Author: Adrian Bunk Date: Wed Oct 31 00:50:23 2007 +0100 make ata_scsi_lpm_get() static ata_scsi_lpm_get() can become static. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit 1992a5ede1246a746782f687bfe07bf76650770b Author: Stephen Rothwell Date: Wed Oct 31 14:53:32 2007 +1100 libata: suppress two warnings drivers/ata/libata-core.c:768: warning: 'ata_lpm_enable' defined but not used drivers/ata/libata-core.c:784: warning: 'ata_lpm_disable' defined but not used Signed-off-by: Stephen Rothwell Signed-off-by: Jeff Garzik commit aa91c72566a5a6d52f11b2f8d98bcf1774eeccfd Author: ashish kalra Date: Wed Oct 31 19:28:04 2007 +0800 ata/sata_fsl: Remove ata_scsi_suspend/resume callbacks Signed-off-by: ashish kalra Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 1f0e4175ae0c38b9e4cb62b7a700ba0b60aa3281 Author: ashish kalra Date: Wed Oct 31 19:28:03 2007 +0800 ata/sata_fsl: Remove sending LOG EXT command in sata_fsl_softreset() Signed-off-by: ashish kalra Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit e7eac96e8f0e57a6e9f94943557bc2b23be31471 Author: ashish kalra Date: Wed Oct 31 19:28:02 2007 +0800 ata/sata_fsl: Move MPC8315DS link speed limit workaround to specific ifdef Signed-off-by: ashish kalra Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 520d3a1a8cb3eb8794e3dbb822dbc40c20f18e52 Author: Li Yang Date: Wed Oct 31 19:28:01 2007 +0800 ata/sata_fsl: cleanup style problem Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 066ce4db07fd547c40e57cd8a0f853124b1687aa Author: Jeff Garzik Date: Wed Oct 31 19:28:00 2007 +0800 ata/sata_fsl: remove unneeded sata_fsl_hardreset() Signed-off-by: Jeff Garzik Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 25ce945a8e775d1f494447969e6a8fffcebcc352 Author: Jeff Garzik Date: Wed Oct 31 19:27:59 2007 +0800 ata/sata_fsl: remove unneeded on-stack copy of FIS Remove unneeded on-stack copy of FIS in sata_fsl_cache_taskfile_from_d2h_fis(). Signed-off-by: Jeff Garzik Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 2a52e8d4ea86a9143b4c3a1c1ec249a3b8bee74e Author: Jeff Garzik Date: Wed Oct 31 19:27:58 2007 +0800 ata/sata_fsl: cleanup needless casts to/from void __iomem * Signed-off-by: Jeff Garzik Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 9465d5324834f1e99c1343b7bbdc5e6ac8c83f87 Author: Jeff Garzik Date: Wed Oct 31 19:27:57 2007 +0800 ata/sata_fsl: Remove unnecessary SCR cases SCRs in the driver map to the standard values found in include/linux/ata.h, so no need for individual scr_read/scr_write case statements duplicating the natural value. Signed-off-by: Jeff Garzik Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit a2962dd0967d7a16a907f1c63dcb7f83e3bb1795 Author: Li Yang Date: Wed Oct 31 19:27:56 2007 +0800 ata/sata_fsl: Kill ata_sg_is_last() Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 79b3edc97e31d7016c957af653cd3d459917dea0 Author: Li Yang Date: Wed Oct 31 19:27:55 2007 +0800 ata/sata_fsl: save irq in private data for irq unmapping Powerpc uses virtual irq which has to be unmapped. Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 27c96eaabaf6e3cf386a69640d134b34ce51ff13 Author: Li Yang Date: Wed Oct 31 19:27:54 2007 +0800 ata/sata_fsl: Remove deprecated hooks Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 1bf617b712380940ed357cb94b488fb262069594 Author: Li Yang Date: Wed Oct 31 19:27:53 2007 +0800 ata/sata_fsl: Update for ata_link introduction Update the driver to use the newly added ata_link structure. Signed-off-by: Li Yang Signed-off-by: Jeff Garzik commit 74521c28e550c4ec265cda14114bd9b908e9de34 Author: Ralf Baechle Date: Fri Nov 2 17:26:06 2007 +0000 Use i8253.c lock for PC speaker on MIPS, too. The Jazz machines have to use the PIT timer for dyntick and highresolution kernels. This may break because currently just like i386 used to do MIPS uses two separate spinlocks in the actual PIT code and the PC speaker code. So switch to do it the same that x86 currently does PIT locking. Signed-off-by: Ralf Baechle Signed-off-by: Linus Torvalds commit acf603513ebc0ebf209f087fb7b9237b0c0a2581 Author: Wim Van Sebroeck Date: Fri Aug 31 08:23:10 2007 +0000 [WATCHDOG] iTCO_wdt.c ICH8 pci-device-id's Add the pci-device-id's for the ICH8M and the ICH8M-E chipsets. Signed-off-by: Wim Van Sebroeck commit 08113e39dfd3d91053e8f1855fc0dc15305fb4c0 Author: Wim Van Sebroeck Date: Fri Aug 31 08:15:34 2007 +0000 [WATCHDOG] iTCO_wdt.c init & exit fixes Mark init and exit procedures as __devinit & _-devexit. Signed-off-by: Wim Van Sebroeck commit c87b639a2a34ea2912000ee1b1bd313d46fda276 Author: Wim Van Sebroeck Date: Sun Aug 19 20:17:58 2007 +0000 [WATCHDOG] iTCO_wdt.c pci_device_id table clean-up Make the pci_device_id table more readable. Signed-off-by: Wim Van Sebroeck commit c7dfd0cca300c5dc49213cf1c78c77393600410d Author: Alexey Dobriyan Date: Thu Nov 1 16:27:08 2007 -0700 [WATCHDOG] spin_lock_init() fixes Some watchdog drivers initialize global spinlocks in module's init function which is tolerable, but some do it in PCI probe function. So, switch to static initialization to fix theoretical bugs and, more importantly, stop giving people bad examples. Signed-off-by: Alexey Dobriyan Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton commit 3be51f70e1f5e11a723d28b3dde26bc3aacdbc71 Author: Thomas Bogendoerfer Date: Fri Nov 2 11:17:13 2007 +0100 [MIPS] Jazz: disable PIT; cleanup R4030 clockevent Fix ISA irq acknowledge. Make r4030 clockevent code look like other mips clockevent code. Signed-off-by: Thomas Bogendoerfer Signed-off-by: Ralf Baechle commit 651194f82066ba3688630b5a0d79d13d26a7ccbb Author: Ralf Baechle Date: Thu Nov 1 21:55:39 2007 +0000 [MIPS] Bigsur supports highmem. Signed-off-by: Ralf Baechle commit 9603a23d3b28bc1d52492a927d8256f8c46e8f41 Author: Ralf Baechle Date: Thu Nov 1 16:50:06 2007 +0000 [MIPS] mtx-1: Enable -Werror. Signed-off-by: Ralf Baechle commit e7c9d6b927191602cf79ea0183727c7112e79673 Author: Ralf Baechle Date: Thu Nov 1 16:49:12 2007 +0000 [MIPS] mtx-1: Remove unused mtx1_sys_btn. Signed-off-by: Ralf Baechle commit ae11e3214b0ecfcb2dd2536aab68e8d3834d5c5b Author: Ralf Baechle Date: Thu Nov 1 16:46:14 2007 +0000 [MIPS] Pb1200: Enable -Werror. Signed-off-by: Ralf Baechle commit 72fc19ff51cc32fe85ddb085cb0622b7b97b2158 Author: Ralf Baechle Date: Thu Nov 1 15:45:37 2007 +0000 [MIPS] Fix and cleanup the MIPS part of the (ab)use of CLOCK_TICK_RATE. This is the clock rate of the i8253 PIT. A MIPS system may not have a PIT by the symbol is used all over the kernel including some APIs. So keeping it defined to the number for the PIT is the only sane thing for now. Signed-off-by: Ralf Baechle commit c9294022af5022584756d67164e68dba0be9302b Author: Thomas Bogendoerfer Date: Thu Nov 1 11:36:42 2007 +0100 [MIPS] SNI: register a02r clockevent; don't use PIT timer Register A20R clockevent. Remove PIT timer setup because it doesn't work Signed-off-by: Thomas Bogendoerfer Signed-off-by: Ralf Baechle commit f6a8cc31aa23318c6c95aabad7f49874fb79e527 Author: Ralf Baechle Date: Thu Nov 1 14:44:57 2007 +0000 [MIPS] i8253.h: Remove all i8259 related definitions. Signed-off-by: Ralf Baechle commit dd3db6eb0e47b4480eeea30394d19bd826e64964 Author: Ralf Baechle Date: Thu Nov 1 14:38:20 2007 +0000 [MIPS] i8253: Cleanup. Signed-off-by: Ralf Baechle commit 9aa4cc11b22ec447b42c5df03fdab5eb748971e2 Author: Yoichi Yuasa Date: Thu Nov 1 21:51:23 2007 +0900 [MIPS] Cobalt: Fix IRQ comment; the Cobalt kernel uses CP0 counter now. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit db0c19e1a6abd9a9bdbf3ffbabc1e8e4995cb462 Author: Ralf Baechle Date: Thu Nov 1 12:59:18 2007 +0000 [MIPS] Pb1200: Fix warning. arch/mips/au1000/pb1200/irqmap.c:101: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result And while at it a few coding style cleanups. Signed-off-by: Ralf Baechle commit f5cd9f14e2660e610d8bb99ce723ef098b65ae9c Author: Ralf Baechle Date: Thu Nov 1 12:22:53 2007 +0000 [MIPS] Pb1200: Fix warning. arch/mips/au1000/pb1200/board_setup.c:71: warning: unused variable 'pin_func' Signed-off-by: Ralf Baechle commit c8925297e875168a7c08965b4f80b418524fb8ce Author: Ralf Baechle Date: Thu Nov 1 12:20:51 2007 +0000 [MIPS] IP27: Fix build error. Signed-off-by: Ralf Baechle commit 07f6169cffdca076ef9a67bd69dd1085dc668618 Author: Ralf Baechle Date: Thu Nov 1 12:16:20 2007 +0000 [MIPS] Excite: Fix build error. Signed-off-by: Ralf Baechle commit 217dd11e9d0442767fa13c9c188be0b92dc93d7e Author: Ralf Baechle Date: Thu Nov 1 01:57:55 2007 +0000 [MIPS] Sibyte: Split and move clock code. Signed-off-by: Ralf Baechle commit f3f9ad0edcc1b7bf154bb34fe3b3f71e5379c9f0 Author: Ralf Baechle Date: Thu Nov 1 00:24:50 2007 +0000 [MIPS] Sibyte: Fixes for oneshot timer mode. Signed-off-by: Ralf Baechle commit faf2782bf3903391936aba0b575fd39b1da10d00 Author: Ralf Baechle Date: Thu Nov 1 00:10:07 2007 +0000 [MIPS] Sibyte: Remove blank line. Signed-off-by: Ralf Baechle commit 211a29a87cbde00d8c34fb6d92fc91a87c2c9b47 Author: Thiemo Seufer Date: Wed Oct 31 16:26:56 2007 +0000 [MIPS] Swarm: Fix build failure Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit d9eec1a5d6ae54b0f7562ffe07008a33ac39e8fe Author: Atsushi Nemoto Date: Wed Oct 31 01:21:03 2007 +0900 [MIPS] time: Code cleanups * Do not include unnecessary headers. * Do not mention time.README. * Do not mention mips_timer_ack. * Make clocksource_mips static. It is now dedicated to c0_timer. * Initialize clocksource_mips.read statically. * Remove null_hpt_read. * Remove an argument of plat_timer_setup. It is just a placeholder. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 1d0a909cfc41f17175023b939b28322e427746b4 Author: Ralf Baechle Date: Tue Oct 30 14:24:51 2007 +0000 [MIPS] time: Remove now unused local_timer_interrupt. Signed-off-by: Ralf Baechle commit 81b635ef368d994a86f20c0ea5a82f45045da1e9 Author: Ralf Baechle Date: Wed Oct 31 13:10:00 2007 +0000 [MIPS] IP32: Fix address of 2nd serial interface. Found by Giuseppe Sacco . Signed-off-by: Ralf Baechle commit 46abf4b39a555294ec0df138923daed1ccb9adb5 Author: Ralf Baechle Date: Wed Oct 31 12:42:56 2007 +0000 [MIPS] SB1250: Use the right irqaction for the timer interrupt. Signed-off-by: Ralf Baechle commit d1598b6adb0e7d9615f751f3bced128bcceb7378 Author: Ralf Baechle Date: Wed Oct 31 12:36:42 2007 +0000 [MIPS] SB1250: Remove stray assignment of cpumask. Signed-off-by: Ralf Baechle commit 2e5dcd2b4ce97ebc43703f2645bf2fe978da1627 Author: Ralf Baechle Date: Wed Oct 31 12:34:42 2007 +0000 [MIPS] Sibyte: Fix names of the clockevent devices. Signed-off-by: Ralf Baechle commit 9e32a510afa62c0d548d78572031e6112d21e0ea Author: Ralf Baechle Date: Wed Oct 31 00:08:06 2007 +0000 [MIPS] Sibyte: Build fixes / dead code removal. Signed-off-by: Ralf Baechle commit eb76c5c03caaa2b5c362b8514fb727047baa8fd9 Author: Dmitry Torokhov Date: Fri Nov 2 09:07:33 2007 -0400 Input: linux-input mailing list moved to vger.kernel.org Signed-off-by: Dmitry Torokhov Acked-by: Jiri Kosina Acked-by: Johannes Berg commit 51fd77bd9f512ab6cc9df0733ba1caaab89eb957 Author: Jens Axboe Date: Fri Nov 2 08:49:08 2007 +0100 [BLOCK] Don't allow empty barriers to be passed down to queues that don't grok them Signed-off-by: Jens Axboe commit 5ec140e600b7d6624c657f008833f0e71bd5ef48 Author: Vasily Averin Date: Wed Oct 31 08:33:24 2007 +0100 dm: bounce_pfn limit added Device mapper uses its own bounce_pfn that may differ from one on underlying device. In that way dm can build incorrect requests that contain sg elements greater than underlying device is able to handle. This is the cause of slab corruption in i2o layer, occurred on i386 arch when very long direct IO requests are addressed to dm-over-i2o device. Signed-off-by: Vasily Averin Cc: Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe commit 6f5d8aa6382eef2b26032c88656270bdae7f0c42 Author: Aaron Carroll Date: Tue Oct 30 10:40:13 2007 +0100 Deadline iosched: Fix batching fairness After switching data directions, deadline always starts the next batch from the lowest-sector request. This gives excessive deadline expiries and large latency and throughput disparity between high- and low-sector requests; an order of magnitude in some tests. This patch changes the batching behaviour so new batches start from the request whose expiry is earliest. Signed-off-by: Aaron Carroll Signed-off-by: Jens Axboe commit dfb3d72a9aa519672c9ae06f0d2f93eccb35482f Author: Aaron Carroll Date: Tue Oct 30 10:40:13 2007 +0100 Deadline iosched: Reset batch for ordered requests The deadline I/O scheduler does not reset the batch count when starting a new batch at a higher-sectored request. This means the second and subsequent batch in the same data direction will never exceed a single request in size whenever higher-sectored requests are pending. This patch gives new batches in the same data direction as old ones their full quota of requests by resetting the batch count. Signed-off-by: Aaron Carroll Signed-off-by: Jens Axboe commit 5d1a536621403b442eef60ddd35e6b7a46fb04b7 Author: Aaron Carroll Date: Tue Oct 30 10:40:12 2007 +0100 Deadline iosched: Factor out finding latter reques Factor finding the next request in sector-sorted order into a function deadline_latter_request. Signed-off-by: Aaron Carroll Signed-off-by: Jens Axboe commit c46f2334c84c2b26baa64d42d75ddc5fab38c3dc Author: Jens Axboe Date: Wed Oct 31 12:06:37 2007 +0100 [SG] Get rid of __sg_mark_end() sg_mark_end() overwrites the page_link information, but all users want __sg_mark_end() behaviour where we just set the end bit. That is the most natural way to use the sg list, since you'll fill it in and then mark the end point. So change sg_mark_end() to only set the termination bit. Add a sg_magic debug check as well, and clear a chain pointer if it is set. Signed-off-by: Jens Axboe commit 87ae9afdcada236d0a1b38ce2c465a65916961dc Author: Adrian Bunk Date: Tue Oct 30 10:35:04 2007 +0100 cleanup asm/scatterlist.h includes Not architecture specific code should not #include . This patch therefore either replaces them with #include or simply removes them if they were unused. Signed-off-by: Adrian Bunk Signed-off-by: Jens Axboe commit 013fb33972061ac65cdf3e1771267985e59deca1 Author: Jens Axboe Date: Tue Oct 30 10:34:33 2007 +0100 SG: Make sg_init_one() use general table init functions Don't open code sg_init_one(), make it reuse sg_init_table(). Signed-off-by: Jens Axboe commit dd3aa7cdac35dcdcb93ff5684622664395b0155e Author: Paul Mundt Date: Fri Nov 2 14:36:55 2007 +0900 sh64: Update defconfigs. Signed-off-by: Paul Mundt commit 352d281300df22c6d01cb550c6ac0336d977739d Author: Paul Mundt Date: Fri Nov 2 14:33:21 2007 +0900 sh: Update r7785rp defconfig. Signed-off-by: Paul Mundt commit 0b532f5773572b0ede2bdf05930c69547b233d89 Author: Paul Mundt Date: Fri Nov 2 14:28:07 2007 +0900 sh: mach-type updates. This adds in the x3proto and magicpanelr2 mach types, plugs in highlander and rts7751r2d groups, and also hooks up the r2d subtypes. Signed-off-by: Paul Mundt commit b5751e2e00cb88b34ac1ebfa9ec4496db4dee098 Author: Paul Mundt Date: Fri Nov 2 14:17:19 2007 +0900 sh: Fix up r7780rp highlander CF access size. R7780RP can't do byte-sized accesses to CF, so needs to do word sized access with low-byte masking. This same problem exists on older versions of the R2D, with the same workaround having been implemented in 43f4b8c7578b928892b6f01d374346ae14e5eb70 there. Follow that change for the highlander boards. This does not impact R7780MP or SH7785 based Highlander modules. If you're unfortunate enough to be stuck with an R7780RP, this patch is for you! Signed-off-by: Paul Mundt commit f38c5a696a1e775c70d8764b1b9c1a4e267448d3 Author: Kaz Kojima Date: Fri Nov 2 12:29:37 2007 +0900 sh: Terminate .eh_frame in VDSO with a 4-byte 0. It's assumed that .eh_frame is terminated with 4-byte 0 in shared libraries and executable. It seems to be the case for VDSOs too. Without this terminator, I saw failures when unwinding from VDSO, though I don't know how other architectures handle this issue. For the normal libs, crtendS.o gives this terminator. We can use such terminating objects. Or we can add a 4-byte 0 with modifying the linker script like as the patch below. Signed-off-by: Kaz Kojima Signed-off-by: Paul Mundt commit 236b1957447018d53cfd24ec774995c44e18998d Author: Paul Mundt Date: Fri Nov 2 12:22:47 2007 +0900 sh: Correct SUBARCH matching. When configuring the kernel natively the uname matching is off, so fix up the uname mangling to get the proper SUBARCH. Needs an explicit range so that SH-5 doesn't break. Signed-off-by: Mike Frysinger Signed-off-by: Paul Mundt commit 110ed28246a0063a5984d7f72ba5c97f154a51cf Author: Paul Mundt Date: Fri Nov 2 12:16:51 2007 +0900 sh: Decouple 4k and soft/hardirq stacks. While using separate IRQ stacks can cut down on stack consumption, many users can also use 4k stacks directly without the additional need of separate stacks for soft and hardirqs. With this split, we support the same rationale for 4KSTACKS as m68knommu, with the IRQSTACKS abstraction as per ppc64. Signed-off-by: Paul Mundt commit 0e670685e4925930000a678c74eb1cbf23b415fa Author: Stuart Menefy Date: Fri Nov 2 12:14:09 2007 +0900 sh: Fix optimized __copy_user() movca.l usage. movca.l is restricted to SH-4 and up only, though compilers that are unable to support ISA tuning (especially older versions of binutils) will happily compile in the bogus opcode on older parts. Conditionalize it to fix SH-3 regressions noted by Kristoffer. Signed-off-by: Stuart Menefy Signed-off-by: Paul Mundt commit 2a0f9c4c452298da89b67060c7ca034ef7836aa9 Author: Helge Deller Date: Thu Nov 1 22:19:15 2007 -0400 Input: inport, logibm - use KERN_INFO when reporting missing mouse Many mouse drivers are often compiled (e.g. in Linux distributions) into the kernel at the same time just to make sure that at least one driver will suceed in find it's mouse device. Nevertheless, only the inport and logitech busmouse mouse drivers report with KERN_ERR log level if the mouse wasn't found. They should use KERN_INFO instead, because it's not an error if the mouse isn't attached at all. Signed-off-by: Helge Deller Signed-off-by: Dmitry Torokhov commit 2a3e480d4b3392ce8907089094bd074575f9bb2a Author: Dmitry Torokhov Date: Thu Nov 1 22:13:32 2007 -0400 Input: appletouch - idle reset logic broke older Fountains Fountains do not support change mode request and therefore should be excluded from idle reset attempts. Also: - do not re-submit URB when we decide that touchpad needs to be reinicialized - do not repeat size detection when reinitializing the touchpad - Add missing KERN_* prefixes to messages Signed-off-by: Dmitry Torokhov Acked-by: Johannes Berg commit c956a24018819bd903fad0cd275a63c089cdba53 Author: Andrew Gallatin Date: Wed Oct 31 17:40:06 2007 -0400 Fix myri10ge NAPI oops & warnings When testing the myri10ge driver with 2.6.24-rc1, I found that the machine crashed under heavy load: Unable to handle kernel paging request at 0000000000100108 RIP: [] net_rx_action+0x11b/0x184 The address corresponds to the list_move_tail() in netif_rx_complete(): if (unlikely(work == weight)) list_move_tail(&n->poll_list, list); Eventually, I traced the crashes to calling netif_rx_complete() with work_done == budget. From looking at other drivers, it appears that one should only call netif_rx_complete() when work_done < budget. To fix it, I changed the test in myri10ge_poll() so that it refers to to work_done rather than looking at the rx ring status. If work_done is < budget, then that implies we have no more packets to process. Any races will be resolved by the NIC when the write to irq_claim is made. In myri10ge_clean_rx_done(), if we ever exceeded our budget, it would report a work_done one larger than was acutally done. This is because the increment was done in the conditional, so work_done would be incremented regardless of whether or not the test passed or failed. This would lead to the WARN_ON_ONCE(work > weight); warning in net_rx_action triggering. I've moved the increment of work_done inside the loop. Note that this would only be a problem when we had exceeded our budget. Signed off by: Andrew Gallatin Andrew Gallatin Myricom Inc Signed-off-by: Jeff Garzik commit 48d58459fe991e48bf7e6638a0ded0f8cbd2fa3b Author: Grant Likely Date: Thu Nov 1 08:22:35 2007 -0600 Fix region size check in mpc5200 FEC driver Driver shouldn't complain if the register range is larger than what it expects. This works around failures with some device trees. Signed-off-by: Grant Likely Signed-off-by: Jeff Garzik commit 644fdf9b08e51e172d54cb500473470edb4ba1e0 Author: Grant Likely Date: Thu Nov 1 08:22:30 2007 -0600 mpc5200: Fix Kconfig dependancies on MPC5200 FEC device driver When not building an arch/powerpc kernel, the mpc5200 FEC driver depends on some symbols which are not defined (BESTCOMM & BESTCOMM_FEC). This patch flips around the dependancy logic so that it cannot be selected unless BESTCOMM_FEC is selected first. Kconfig stops complaining this way. Also, the driver only works for arch/powerpc (not arch/ppc) anyway so it should depend on PPC_MERGE also. Signed-off-by: Grant Likely Signed-off-by: Jeff Garzik commit b4d367fb20ed19be4a53fa88b407248aeb8bd461 Author: David S. Miller Date: Thu Nov 1 03:18:02 2007 -0700 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit 49259d34c52df6be482fefca946debe28ba9a2f6 Author: David S. Miller Date: Thu Nov 1 02:26:38 2007 -0700 [IRDA] IRNET: Fix build when TCGETS2 is defined. Signed-off-by: David S. Miller commit 3b582cc14c50f71eabf1c3cada05acb8dc9f457c Author: Stephen Hemminger Date: Thu Nov 1 02:21:47 2007 -0700 [NET]: docbook fixes for netif_ functions Documentation updates for network interfaces. 1. Add doc for netif_napi_add 2. Remove doc for unused returns from netif_rx 3. Add doc for netif_receive_skb [ Incorporated minor mods from Randy Dunlap -DaveM ] Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d57a9212e00779181d8d820887dcab3e9d529194 Author: Pavel Emelyanov Date: Thu Nov 1 00:46:50 2007 -0700 [NET]: Hide the net_ns kmem cache This cache is only required to create new namespaces, but we won't have them in CONFIG_NET_NS=n case. Hide it under the appropriate ifdef. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 1a2ee93d281d00cc6e2db1c306032a105d2c9474 Author: Pavel Emelyanov Date: Thu Nov 1 00:45:59 2007 -0700 [NET]: Mark the setup_net as __net_init The setup_net is called for the init net namespace only (int the CONFIG_NET_NS=n of course) from the __init function, so mark it as __net_init to disappear with the caller after the boot. Yet again, in the perfect world this has to be under #ifdef CONFIG_NET_NS, but it isn't guaranteed that every subsystem is registered *after* the init_net_ns is set up. After we are sure, that we don't start registering them before the init net setup, we'll be able to move this code under the ifdef. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 6a1a3b9f686bb04820a232cc1657ef2c45670709 Author: Pavel Emelyanov Date: Thu Nov 1 00:44:50 2007 -0700 [NET]: Hide the dead code in the net_namespace.c The namespace creation/destruction code is never called if the CONFIG_NET_NS is n, so it's OK to move it under appropriate ifdef. The copy_net_ns() in the "n" case checks for flags and returns -EINVAL when new net ns is requested. In a perfect world this stub must be in net_namespace.h, but this function need to know the CLONE_NEWNET value and thus requires sched.h. On the other hand this header is to be injected into almost every .c file in the networking code, and making all this code depend on the sched.h is a suicidal attempt. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit d46557955f2a35e58772518775464cdf354b3245 Author: Pavel Emelyanov Date: Thu Nov 1 00:43:49 2007 -0700 [NET]: Relax the reference counting of init_net_ns When the CONFIG_NET_NS is n there's no need in refcounting the initial net namespace. So relax this code by making a stupid stubs for the "n" case. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 1dba323b3f92cf4a475236763b0373cb7d49395d Author: Pavel Emelyanov Date: Thu Nov 1 00:42:43 2007 -0700 [NETNS]: Make the init/exit hooks checks outside the loop When the new pernet something (subsys, device or operations) is being registered, the init callback is to be called for each namespace, that currently exitst in the system. During the unregister, the same is to be done with the exit callback. However, not every pernet something has both calls, but the check for the appropriate pointer to be not NULL is performed inside the for_each_net() loop. This is (at least) strange, so tune this. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 6257ff2177ff02d7f260a7a501876aa41cb9a9f6 Author: Pavel Emelyanov Date: Thu Nov 1 00:39:31 2007 -0700 [NET]: Forget the zero_it argument of sk_alloc() Finally, the zero_it argument can be completely removed from the callers and from the function prototype. Besides, fix the checkpatch.pl warnings about using the assignments inside if-s. This patch is rather big, and it is a part of the previous one. I splitted it wishing to make the patches more readable. Hope this particular split helped. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 154adbc8469ff21fbf5c958446ee92dbaab01be1 Author: Pavel Emelyanov Date: Thu Nov 1 00:38:43 2007 -0700 [NET]: Remove bogus zero_it argument from sk_alloc At this point nobody calls the sk_alloc(() with zero_it == 0, so remove unneeded checks from it. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 8fd1d178a3f177777707ee782f12d93e9a7eb5e5 Author: Pavel Emelyanov Date: Thu Nov 1 00:37:32 2007 -0700 [NET]: Make the sk_clone() lighter The sk_prot_alloc() already performs all the stuff needed by the sk_clone(). Besides, the sk_prot_alloc() requires almost twice less arguments than the sk_alloc() does, so call the sk_prot_alloc() saving the stack a bit. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 2e4afe7b35458beedba418a6e2aaf0b0ac82cc18 Author: Pavel Emelyanov Date: Thu Nov 1 00:36:26 2007 -0700 [NET]: Move some core sock setup into sk_prot_alloc The security_sk_alloc() and the module_get is a part of the object allocations - move it in the proper place. Note, that since we do not reset the newly allocated sock in the sk_alloc() (memset() is removed with the previous patch) we can safely do this. Also fix the error path in sk_prot_alloc() - release the security context if needed. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 3f0666ee3039443fa7b7cf436dd16ce0dd8e3f95 Author: Pavel Emelyanov Date: Thu Nov 1 00:34:42 2007 -0700 [NET]: Auto-zero the allocated sock object We have a __GFP_ZERO flag that allocates a zeroed chunk of memory. Use it in the sk_alloc() and avoid a hand-made memset(). This is a temporary patch that will help us in the nearest future :) Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit c308c1b20e2eb7b13f200a7c18b3f23561318367 Author: Pavel Emelyanov Date: Thu Nov 1 00:33:50 2007 -0700 [NET]: Cleanup the allocation/freeing of the sock object The sock object is allocated either from the generic cache with the kmalloc, or from the proc->slab cache. Move this logic into an isolated set of helpers and make the sk_alloc/sk_free look a bit nicer. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 1e2e6b89f1d3152da0606d23e65e8760bf62a4c3 Author: Pavel Emelyanov Date: Thu Nov 1 00:31:26 2007 -0700 [NET]: Move the get_net() from sock_copy() The sock_copy() is supposed to just clone the socket. In a perfect world it has to be just memcpy, but we have to handle the security mark correctly. All the extra setup must be performed in sk_clone() call, so move the get_net() into more proper place. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit f1a6c4da14c365d3ee0b5de43a93f7470982637c Author: Pavel Emelyanov Date: Thu Nov 1 00:29:45 2007 -0700 [NET]: Move the sock_copy() from the header The sock_copy() call is not used outside the sock.c file, so just move it into a sock.c Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller commit 261ab365fadd53ddc1b292b1663800e11fbf3e71 Author: Ilpo Järvinen Date: Thu Nov 1 00:10:18 2007 -0700 [TCP]: Another TAGBITS -> SACKED_ACKED|LOST conversion Similar to commit 3eec0047d9bdd, point of this is to avoid skipping R-bit skbs. Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller commit e56d6cd6057aac1c6ed8e1590acd62b46e06201d Author: Ilpo Järvinen Date: Thu Nov 1 00:09:37 2007 -0700 [TCP]: Process DSACKs that reside within a SACK block DSACK inside another SACK block were missed if start_seq of DSACK was larger than SACK block's because sorting prioritizes full processing of the SACK block before DSACK. After SACK block sorting situation is like this: SSSSSSSSS D SSSSSS SSSSSSS Because write_queue is walked in-order, when the first SACK block has been processed, TCP is already past the skb for which the DSACK arrived and we haven't taught it to backtrack (nor should we), so TCP just continues processing by going to the next SACK block after the DSACK (if any). Whenever such DSACK is present, do an embedded checking during the previous SACK block. If the DSACK is below snd_una, there won't be overlapping SACK block, and thus no problem in that case. Also if start_seq of the DSACK is equal to the actual block, it will be processed first. Tested this by using netem to duplicate 15% of packets, and by printing SACK block when found_dup_sack is true and the selected skb in the dup_sack = 1 branch (if taken): SACK block 0: 4344-5792 (relative to snd_una 2019137317) SACK block 1: 4344-5792 (relative to snd_una 2019137317) equal start seqnos => next_dup = 0, dup_sack = 1 won't occur... SACK block 0: 5792-7240 (relative to snd_una 2019214061) SACK block 1: 2896-7240 (relative to snd_una 2019214061) DSACK skb match 5792-7240 (relative to snd_una) ...and next_dup = 1 case (after the not shown start_seq sort), went to dup_sack = 1 branch. Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller commit 52eb053b7191f1d3017a56e921753e3097876c47 Author: David S. Miller Date: Tue Oct 30 21:11:28 2007 -0700 [SPARC64]: Fix linkage of enormous kernels. This was found by make randconfig If the kernel .text is very large, the .fixup section branches are too far away to be relocated correctly. Use "sethi %hi(label), reg; jmpl reg + %lo(label); %g0" sequence instead of the branch to fix this. There is another case in switch_to() involving a branch, which is fixed similarly. Signed-off-by: David S. Miller commit d6898556e90ba9842e59ac9c2425b42ea33019b4 Author: David S. Miller Date: Mon Oct 29 01:19:14 2007 -0700 [SPARC64]: Fix build with CONFIG_NET disabled. We can't export verify_compat_iovec when CONFIG_NET is disabled, and consequently the Solaris compat module should also depend upon CONFIG_NET. Signed-off-by: David S. Miller commit 7e5766fa9431602ef0e56ceae900d0cce3a78b96 Author: David S. Miller Date: Mon Oct 29 00:36:09 2007 -0700 [SPARC64]: Fix build failure when CONFIG_BUG is disabled. When CONFIG_BUG is turned off, the standard trick of: switch (x) { case X: ... case Y: ... default: BUG(); }; to mark impossible cases does not work because BUG() evalutes to nothing and thus GCC just sees a fallthrough code path. Add an explicit KERN_ERR log message and a do_exit() to trap this case. Signed-off-by: David S. Miller commit 099d575aaf3dcf4c9c1e0b53c7b17c5faddb1b59 Author: David S. Miller Date: Mon Oct 29 00:23:07 2007 -0700 [SPARC64]: Kill unused ITAG_MASK macro in ultra.S It is unused since we went to an I-cache flush that solely used the 'flush' instruction, and it's presence breaks the build when PAGE_SIZE is 512KB. Signed-off-by: David S. Miller commit 23e8bc200c3bbbd6eae1128e9095a3968954af2e Author: David S. Miller Date: Sat Oct 27 22:33:33 2007 -0700 [SPARC64]: Fix bogus '&' conditinal in set_rtc_mmss(). We're using '&' instead of '&&'. Noticed by Roel Kluin. Signed-off-by: David S. Miller commit d919fd433b5823d1cf9d0688eb2eec183de9b74c Author: Greg Kroah-Hartman Date: Wed Oct 31 12:51:29 2007 -0700 Revert "Driver core: remove class_device_*_bin_file" This reverts commit fcd239d3d5575e5cc63aab5c33cf6dc66904f6d6. I messed up, ia64 still uses these files in the current tree, and now can not build the pci code, which all ia64 boxes seem to require :) This fixes that mistake. Signed-off-by: Greg Kroah-Hartman commit 2ed45b07c957e37db88d7d3696b63eb79b0ef5ef Author: Adrian Bunk Date: Sun Oct 28 16:51:32 2007 +0100 ieee1394: ieee1394_transactions.c: remove dead code This patch removes dead code spotted by the Intel C Compiler. Signed-off-by: Adrian Bunk Signed-off-by: Stefan Richter commit 0bd243c4d93583cd8e1786c0bd6982f6f9f94ab6 Author: Kristian Høgsberg Date: Tue Jun 5 19:27:05 2007 -0400 firewire: Fix pci resume to not pass in a __be32 config rom. The ohci_enable() function shared between pci_probe and pci_resume takes a host endian config rom, but ohci->config_rom is __be32. This sets up the config rom in the wrong endian on little endian machine, specifically, BusOptions will be initialized to a 0 max receive size. This patch changes the way we reuse the config rom so that we avoid this problem. Signed-off-by: Kristian Hoegsberg Signed-off-by: Stefan Richter commit 5307cc1aa53850f017c8053db034cf950b670ac9 Author: Linus Torvalds Date: Wed Oct 31 09:19:46 2007 -0700 Remove broken ptrace() special-case code from file mapping The kernel has for random historical reasons allowed ptrace() accesses to access (and insert) pages into the page cache above the size of the file. However, Nick broke that by mistake when doing the new fault handling in commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7 ("mm: merge populate and nopage into fault (fixes nonlinear)". The breakage caused a hang with gdb when trying to access the invalid page. The ptrace "feature" really isn't worth resurrecting, since it really is wrong both from a portability _and_ from an internal page cache validity standpoint. So this removes those old broken remnants, and fixes the ptrace() hang in the process. Noticed and bisected by Duane Griffin, who also supplied a test-case (quoth Nick: "Well that's probably the best bug report I've ever had, thanks Duane!"). Cc: Duane Griffin Acked-by: Nick Piggin Signed-off-by: Linus Torvalds commit 558de8a74efe37a4b5e2ef944da17d23e701dd98 Author: David Brownell Date: Tue Oct 30 00:15:46 2007 +0100 [ARM] 4634/1: DaVinci GPIO header build fix This fixes a build problem with GPIOs on DaVinci. Since it inlines operations for on-chip GPIOs, it needs some headers to support those direct register accesses. Those headers won't be included on other platforms, since they don't have that optimization. Signed-off-by: David Brownell Acked-by: Kevin Hilman Signed-off-by: Russell King commit 1398f679dfa167bfc656803ea86a8d1a984cbaf1 Author: eric miao Date: Tue Oct 30 08:02:55 2007 +0100 [ARM] 4636/1: pxa: add default configuration for zylonite Signed-off-by: eric miao Signed-off-by: Russell King commit e9bba8ee6cbb5b8065d42aa9e898cb0d84605c58 Author: eric miao Date: Tue Oct 30 08:01:38 2007 +0100 [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com Signed-off-by: eric miao Signed-off-by: Russell King commit 710798c3e1f995ac88be6d0fa030566e9b4b8f06 Author: Roel Kluin <12o3l@tiscali.nl> Date: Fri Oct 26 23:22:51 2007 +0200 [ARM] Fix assignment instead of condition in arm/mach-omap2/clock.c Fix assignment instead of condition Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Acked-by: Tony Lindgren Signed-off-by: Russell King commit fd3d72859b5fab00aba2e7ce5ca65744f6720769 Author: Russell King Date: Sat Oct 27 21:48:43 2007 +0100 [ARM] nommu: fix breakage caused by f9720205d1f847cb59e197e851b5276425363f6b Someone forgot to use 'ls include/asm-*/flat.h' or 'grep -r flat_get_addr_from_rp .' to find all architectures which may be affected by their change. Fix the fall out. Noticed-by: Robert P. J. Day Signed-off-by: Russell King commit df43309bd525bbe569978ca2a47415b7b07ee057 Author: Russell King Date: Sat Oct 27 15:15:49 2007 +0100 [ARM] pxa: shut up CLOCK_EVT_MODE_RESUME warning Resolve: CC arch/arm/mach-pxa/time.o arch/arm/mach-pxa/time.c: In function `pxa_osmr0_set_mode': arch/arm/mach-pxa/time.c:154: warning: enumeration value `CLOCK_EVT_MODE_RESUME' not handled in switch Signed-off-by: Russell King commit 0214f9221aa06fba35c0cd5c80641b0fcfcb1cbe Author: Russell King Date: Sat Oct 27 11:01:35 2007 +0100 [ARM] Fix FIQ issue with ARM926 Jon Eibertzon writes: > We have noticed that the I-cache is disabled while waiting for > interrupt in cpu_arm926_do_idle in arch/arm/mm/proc-arm926.S > and we are curious to know why, because this causes us a great > performance hit when executing in FIQ-handlers. Is it assumed > here that every individual FIQ-handler re-enables the I-cache? The I-cache disable is an errata workaround, so the solution is to disable FIQs across the section with the I-cache disabled. Signed-off-by: Russell King commit d8cb70d10a2d4e6b083b89044a68d860d0bf1eec Author: Russell King Date: Fri Oct 26 17:56:40 2007 +0100 [ARM] Fix pxamci regression Fix: WARNING: at arch/arm/mach-pxa/clock.c:69 clk_disable() [] (dump_stack+0x0/0x14) from [] (clk_disable+0x34/0xa0) [] (clk_disable+0x0/0xa0) from [] (pxamci_set_ios+0x74/0xf0) [] (pxamci_set_ios+0x0/0xf0) from [] (mmc_power_off+0x90/0x9c) [] (mmc_power_off+0x0/0x9c) from [] (mmc_start_host+0x18/0x28) [] (mmc_start_host+0x0/0x28) from [] (mmc_add_host+0xe8/0x104) [] (mmc_add_host+0x0/0x104) from [] (pxamci_probe+0x24c/0x2f4) [] (pxamci_probe+0x0/0x2f4) from [] (platform_drv_probe+0x20/0x24) ... Signed-off-by: Russell King commit 5984a2fc7e7c9ab118e78ae9799e98fc4ade40f9 Author: Russell King Date: Fri Oct 26 17:55:28 2007 +0100 [ARM] Fix netx_defconfig regression Fix: CC arch/arm/mach-netx/xc.o arch/arm/mach-netx/xc.c: In function 'request_xc': arch/arm/mach-netx/xc.c:192: error: 'struct kobject' has no member named 'name' arch/arm/mach-netx/xc.c:196: error: 'struct kobject' has no member named 'name' arch/arm/mach-netx/xc.c:200: error: 'struct kobject' has no member named 'name' Signed-off-by: Russell King commit a80770ce4d8e0e83a32298453c0a8e78444f8184 Author: Russell King Date: Fri Oct 26 17:54:39 2007 +0100 [ARM] Fix ateb9200_defconfig build regression Fix: CC drivers/serial/atmel_serial.o drivers/serial/atmel_serial.c: In function 'atmel_serial_suspend': drivers/serial/atmel_serial.c:924: error: implicit declaration of function 'at91_suspend_entering_slow_clock' Acked-by: Andrew Victor Signed-off-by: Russell King commit 01c0ad58548fa1fa76379d1bea060f6e1d6ba2af Author: Russell King Date: Fri Oct 26 17:47:34 2007 +0100 [ARM] Fix an rpc_defconfig regression Fix: CC drivers/scsi/arm/powertec.o In file included from drivers/scsi/arm/powertec.c:29: drivers/scsi/arm/scsi.h: In function 'next_SCp': drivers/scsi/arm/scsi.h:42: error: 'struct scatterlist' has no member named 'page' drivers/scsi/arm/scsi.h: In function 'init_SCp': drivers/scsi/arm/scsi.h:80: error: 'struct scatterlist' has no member named 'page' Signed-off-by: Russell King commit b23e79fd87529706eb8e9e350226465b4abe70d2 Author: Russell King Date: Fri Oct 26 16:33:31 2007 +0100 [ARM] Fix omap_h2_1610_defconfig regressions Fix: arch/arm/mach-omap1/built-in.o: In function `h2_init': board-h2.c:(.init.text+0xbb4): undefined reference to `i2c_register_board_info' Acked-by: Tony Lindgren Signed-off-by: Russell King commit 914301982f38e5842b28fd2f708208ea456b346a Author: Matt Reimer Date: Thu Oct 25 19:06:44 2007 +0100 [ARM] 4632/1: Fix a typo in include/asm-arm/plat-s3c/regs-nand.h Fix a typo in include/asm-arm/plat-s3c/regs-nand.h. Signed-off-by: Matt Reimer Acked-by: Ben Dooks Signed-off-by: Russell King commit bb374b7b938f73666c403b201b3dd48ec9fe118a Author: David Miller Date: Tue Oct 30 21:23:48 2007 -0700 [MEDIA] IVTV: exit_ivtv_i2c() cannot be __devexit It is referenced both from __devinit code (ivtv_probe) and normal .text (ivtv_process_eeprom), and therefore cannot be discarded via __devexit. Signed-off-by: David S. Miller Acked-by: Hans Verkuil Signed-off-by: Linus Torvalds commit f202df600c4485d406aa033ce793d3e78f5ff1e0 Author: Dmitry Torokhov Date: Wed Oct 31 12:33:26 2007 +0100 HID: Don't access input_dev->private directly input_{get|set}_drvdata() helpers should be used instead. Signed-off-by: Dmitry Torokhov Signed-off-by: Jiri Kosina commit 368d290ba2a66338303b5d3998b182e404a9eb38 Author: Dirk Hohndel Date: Tue Oct 30 13:02:44 2007 +0100 HID: fix hidinput_connect ignoring retval from input_register_device hidinput_connect() ignores retval from input_register_device(). Fix it by properly undoing all the registrations that have been already done, and return error. Signed-off-by: Dirk Hohndel Signed-off-by: Jiri Kosina commit d624284b06f869dad87a70a8d0cad72fbf7527b9 Author: Jiri Kosina Date: Thu Oct 25 11:38:21 2007 +0200 HID: hiddev - fix compiler warning drivers/hid/usbhid/hiddev.c: In function 'hiddev_compat_ioctl': drivers/hid/usbhid/hiddev.c:746: warning: passing argument 4 of 'hiddev_ioctl' makes integer from pointer without a cast Add cast to hiddev_compat_ioctl() Signed-off-by: Jiri Kosina commit df7bded75e6e0b14d79ba2a2d2f382f1014788cf Author: Jerrold Jones Date: Mon Oct 22 11:38:41 2007 +0200 HID: Add GoTop tablets to blacklist GoTop devices are handled by usbtouchscreen driver, make sure HID ignores them. Signed-off-by: Daniel Ritz Signed-off-by: Dmitry Torokhov Signed-off-by: Jiri Kosina commit 298bb62175a8e8c2f21f3e00543cda853f423599 Author: Stephen Rothwell Date: Tue Oct 30 23:57:05 2007 -0700 [AF_KEY]: suppress a warning for 64k pages. On PowerPC allmodconfig build we get this: net/key/af_key.c:400: warning: comparison is always false due to limited range of data type Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller commit c81134b58c0857122cce23b29d41788e02a5024d Author: Paul Mundt Date: Wed Oct 31 15:22:45 2007 +0900 sh: Clean up SR.RB Kconfig mess. CPU_HAS_SR_RB is selected by both CPU_SH3 and CPU_SH4, so having a dependency and default y on those additionally doesn't make much sense. The select also has to be special cased for CPUs that don't support this. This is also something that has been abused too much as a result of being user-visible, hence the addition of the select in the first place. So just kill the user-visibility entirely while we're at it. Signed-off-by: Paul Mundt commit b2078fa221e31a491d0bd720e3acdf9870fe40fd Author: Paul Mundt Date: Wed Oct 31 15:17:03 2007 +0900 sh: Kill off dead ipr_irq_demux(). Signed-off-by: Paul Mundt commit 710701c8fc4f6e0c67a98a0b9ca0d75656115957 Author: Keiichi Kii Date: Fri Oct 26 15:55:24 2007 +0900 add SubmittingPatches to Documentation/ja_JP This patch adds SubmittingPatches translated into Japanese to Documentation/ja_JP directory. I attach the patch because there is a possibility that MUA will change the character encoding sometimes. Signed-off-by: Keiichi KII Cc: YOSHIFUJI Hideaki Signed-off-by: Greg Kroah-Hartman commit 5ab3bd5785774c4ae9dae87332d1d5bd6415c823 Author: Keiichi Kii Date: Fri Oct 26 15:51:44 2007 +0900 fix typo in SubmittingPatches Fix typo. Signed-off-by: Keiichi Kii Cc: Andy Whitcroft Cc: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 60b8cabd8e8a1d266aa8778957691cd925673083 Author: Kay Sievers Date: Fri Oct 26 20:07:44 2007 +0200 Driver Core: fix bug in device_rename() for SYSFS_DEPRECATED=y This should fix the sysfs warnings that renaming network devices is causing to show up with CONFIG_SYSFS_DEPRECATED=y The code just shouldn't run if class devices are real directories, it's an update for the symlink in the class directory. Nobody noticed that as