commit c1158e63dfeb3928e94c768f0a403b3e0e799f70 Author: Avi Kivity Date: Fri Jul 20 08:18:27 2007 +0300 KVM: MMU: Fix oopses with SLUB The kvm mmu uses page->private on shadow page tables; so does slub, and an oops result. Fix by allocating regular pages for shadows instead of using slub. Tested-by: S.Çağlar Onur Signed-off-by: Avi Kivity commit 35f3f28613bc7263949db23a4c7078e425810c8c Author: Avi Kivity Date: Tue Jul 17 14:20:30 2007 +0300 KVM: x86 emulator: implement rdmsr and wrmsr Allow real-mode emulation of rdmsr and wrmsr. This allows smp Windows to boot, presumably for its sipi trampoline. Signed-off-by: Avi Kivity commit 90cb0529dd230548a7f0d6b315997be854caea1b Author: Avi Kivity Date: Tue Jul 17 13:04:56 2007 +0300 KVM: Fix memory slot management functions for guest smp The memory slot management functions were oriented against vcpu 0, where they should be kvm-wide. This causes hangs starting X on guest smp. Fix by making the functions (and resultant tail in the mmu) non-vcpu-specific. Unfortunately this reduces the efficiency of the mmu object cache a bit. We may have to revisit this later. Signed-off-by: Avi Kivity commit d55e2cb20123cdb5020ec4a2b2f1eace5038c292 Author: Avi Kivity Date: Tue Jul 10 17:50:55 2007 +0300 KVM: MMU: Store nx bit for large page shadows We need to distinguish between large page shadows which have the nx bit set and those which don't. The problem shows up when booting a newer smp Linux kernel, where the trampoline page (which is in real mode, which uses the same shadow pages as large pages) is using the same mapping as a kernel data page, which is mapped using nx, causing kvm to spin on that page. Signed-off-by: Avi Kivity commit 2cb7e714229681408e323852bed939989faf6991 Merge: d638d49... 3f23de1... Author: Linus Torvalds Date: Fri Jul 20 09:18:08 2007 -0700 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sfr/ofcons * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sfr/ofcons: Create drivers/of/platform.c Create linux/of_platorm.h [SPARC/64] Rename some functions like PowerPC Begin consolidation of of_device.h Begin to consolidate of_device.c Consolidate of_find_node_by routines Consolidate of_get_next_child Consolidate of_get_parent Consolidate of_find_property Consolidate of_device_is_compatible Start split out of common open firmware code Split out common parts of prom.h commit d638d4990bfb99998420e78e8fd4607bca5cf8d0 Merge: 8c6b065... 5a6eb67... Author: Linus Torvalds Date: Fri Jul 20 09:16:07 2007 -0700 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: appletouch - improve powersaving for Geyser3 devices Input: lifebook - fix an oops on Panasonic CF-18 Input: document intended meaning of KEY_SWITCHVIDEOMODE Input: switch to using seq_list_xxx helpers Input: i8042 - give more trust to PNP data on i386 Input: add driver for Fujitsu serial touchscreens Input: ads7846 - re-check pendown status before reporting events Input: ads7846 - introduce sample settling delay Input: xpad - add support for leds on xbox 360 pad commit 8c6b065b792061c2e471d530127f2348fd9d243d Author: Alan Cox Date: Fri Jul 20 15:36:31 2007 +0100 pata_cs5520: Fix probe bug regression introduced in 2.6.22 Signed-off-by: Alan Cox Signed-off-by: Linux Torvalds commit 6a860c979b35469e4d77da781a96bdb2ca05ae64 Author: Jens Axboe Date: Fri Jul 20 15:18:12 2007 +0200 splice: fix bad unlock_page() in error case If add_to_page_cache_lru() fails, the page will not be locked. But splice jumps to an error path that does a page release and unlock, causing a BUG() in unlock_page(). Fix this by adding one more label that just releases the page. This bug was actually triggered on EL5 by gurudas pai using fio. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 9d1ca6f13cfedfd127f3be7e447bd6d922806a65 Author: Rusty Russell Date: Fri Jul 20 22:15:01 2007 +1000 lguest: override sched_clock Guests currently use the default scheduler clock: this means they always use jiffies even if TSC is actually available. It doesn't make any noticeable difference here, but it's a better thing to do. Also remove commented-out asm/sched-clock.h from -mm tree. Signed-off-by: Rusty Russell Signed-off-by: Linus Torvalds commit 876be9d89e9c8a007577e6372e331042edf4020b Author: Rusty Russell Date: Fri Jul 20 22:12:56 2007 +1000 lguest: trivial: We now have asm/processor-flags.h, so use it. Signed-off-by: Rusty Russell Signed-off-by: Linus Torvalds commit e5faff45b381e053c31214713ed783d97f49177b Author: Rusty Russell Date: Fri Jul 20 22:11:13 2007 +1000 lguest: fix sense if IF flag on interrupt injection The sense of the IF bit is backwards in the host interrupt handling. This means we always save "IF=1" on the stack when injecting an interrupt. It turns out this is almost always correct (unless the guest is taking a page fault in an interrupt due to an unpopulated vmalloc mapping), so went unnoticed. Signed-off-by: Rusty Russell Signed-off-by: Linus Torvalds commit bd6dc742a4b1945861795a66dc27c65365c5f28e Author: David Howells Date: Fri Jul 20 10:59:41 2007 +0100 AFS: Use patched rxrpc_kernel_send_data() correctly Fix afs_send_simple_reply() to accept a greater-than-zero return value from rxrpc_kernel_send_data() as being a successful return rather than thinking it an error and aborting the call. rxrpc_kernel_send_data() previously returned zero incorrectly when it worked successfully, but has been patched to return the number of bytes it transmitted. Signed-off-by: David Howells Signed-off-by: Linus Torvalds commit 5f7e08ca7b657f5678dd62a080f7f3a8f923ad02 Merge: 7f46e6c... 56386f6... Author: Linus Torvalds Date: Fri Jul 20 08:52:53 2007 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: (26 commits) sh: intc - add support for SH7750 and its variants sh: Move entry point code to .text.head. sh: heartbeat: Shut up resource size warning. sh: update r2d defconfig and fix SH7751R pci compliation sh: Many symbol exports for nommu allmodconfig. sh: zero terminate 8250 platform data for r2d board sh: cpufreq: Fix up the build for SH-2. sh: Make on-chip DMA channel selection explicit. sh: Fix up CPU dependencies for on-chip DMAC. sh: cpufreq: clock framework support. sh: Support rate rounding for SH7722 FRQCR clocks. sh: Implement clk_round_rate() in the clock framework. sh: Fix up PCI section mismatch warnings. sh: Wire up fallocate() syscall. sh: intc - add support for 7780 sh: intc - improve group support sh: Fix up SH-3 and SH-4 driver dependencies. sh: push-switch: Correct license string. sh: cpufreq: Fix driver dependencies and flag as broken. sh: IPR/INTC2 IRQ setup consolidation. ... commit 7f46e6ca0183568a688e6bfe40e3ab9adb305d03 Merge: c8e16aa... 53555eb... Author: Linus Torvalds Date: Fri Jul 20 08:52:06 2007 -0700 Merge branch 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa * 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa: (102 commits) [ALSA] version 1.0.14 [ALSA] remove duplicate Logitech Quickcam USB ID in usbquirks.h [ALSA] hda-codec - Fix input with STAC92xx [ALSA] hda-intel: support for iMac 24'' released on 09/2006 [ALSA] hda-codec - Add quirk for Asus P5LD2 [ALSA] snd-ca0106: Add support for X-Fi Extreme Audio. [ALSA] snd-emu10k1:Enable E-Mu 1616m notebook firmware loading. [ALSA] snd-emu10k1: Initial support for E-Mu 1616 and 1616m. [ALSA] cs46xx - Fix PM resume [ALSA] hda: Enable SPDIF in/out on some stac9205 boards [ALSA] timer: check for incorrect device state in non-debug compiles, too [ALSA] snd-aoa-codec-onyx: fix typo [ALSA] hda-codec - Add quirks for HP dx2200/dx2250 [ALSA] hda-codec - Rename HP model-specific quirks [ALSA] hda-codec - Add quirk for HP Samba [ALSA] hda-codec - Add LG LW20 line-in capture source [ALSA] usb-audio - Fix AC3 with M-Audio Audiophile USB [ALSA] hda: stac9202 mixer fix [ALSA] Make s3c24xx_i2s_set_clkdiv() change the correct bits [ALSA] hda-codec - Add LG LW20 si3054 modem id ... commit c8e16aa291c7d1ff14d3784e52bd376bcae17d54 Merge: 6936b17... fad9e7d... Author: Linus Torvalds Date: Fri Jul 20 08:51:11 2007 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6: sh64: Flag sh64_get_page() as __init_refok. sh64: Move entry point code to .text.head. sh64: Fix up PCI section mismatch warnings. sh64: Update cayman defconfig. sh64: Wire up fallocate() syscall. commit 6936b17ea03f54525f01b12819d558ba52a86b46 Merge: 5c72fc5... 8350163... Author: Linus Torvalds Date: Fri Jul 20 08:50:49 2007 -0700 Merge branch 'cfq' of git://git.kernel.dk/data/git/linux-2.6-block * 'cfq' of git://git.kernel.dk/data/git/linux-2.6-block: cfq: Write-only stuff in CFQ data structures cfq: async queue allocation per priority commit 5c72fc5cad68f5e1bfe0910cca9f63723e4a5c4a Author: Nick Piggin Date: Fri Jul 20 09:21:06 2007 +0200 arm: fix up handle_mm_fault changes Update arm to use bitwise types for its VM_FAULT_ constants. Signed-off-by: Nick Piggin Cc: Russell King Signed-off-by: Linus Torvalds commit dee2383784212c67819fdda1cbd4339f11d23b99 Merge: e609ccc... 5ddf24c... Author: Linus Torvalds Date: Fri Jul 20 08:46:42 2007 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: (29 commits) libata: implement EH fast drain libata: schedule probing after SError access failure during autopsy libata: clear HOTPLUG flag after a reset libata: reorganize ata_ehi_hotplugged() libata: improve SCSI scan failure handling libata: quickly trigger SATA SPD down after debouncing failed libata: improve SATA PHY speed down logic The SATA controller device ID is different according to ahci: implement SCR_NOTIFICATION r/w ahci: make NO_NCQ handling more consistent libata: make ->scr_read/write callbacks return error code libata: implement AC_ERR_NCQ libata: improve EH report formatting sata_sil24: separate out sil24_do_softreset() sata_sil24: separate out sil24_exec_polled_cmd() sata_sil24: replace sil24_update_tf() with sil24_read_tf() ahci: separate out ahci_do_softreset() ahci: separate out ahci_exec_polled_cmd() ahci: separate out ahci_kick_engine() ahci: use deadline instead of fixed timeout for 1st FIS for SRST ... commit e609ccc3161ead8a685b15533d9b6958ed368358 Author: Matthew Wilcox Date: Fri Jul 20 09:29:50 2007 -0600 Fix Lindent to not indent preprocessor comments so far I recently ran Lindent over the AdvanSys driver and it moved the comments on #else and #endif lines way over to the right: #else /* ADVANSYS_DEBUG */ This doesn't match what I expect from kernel style, but it is documented. We just need another flag to indent to make this look like: #else /* ADVANSYS_DEBUG */ Signed-off-by: Matthew Wilcox Signed-off-by: Linus Torvalds commit 178554ae75739e91dc4d7c3e42a3db95448cc5bf Author: Jesper Juhl Date: Fri Jul 20 00:31:48 2007 -0700 Memory leak in tpm_ascii_bios_measurements_open() Coverity found a memory leak in tpm_ascii_bios_measurements_open(). If "read_log(log)" fails, then we may leak 'log' and 'log->bios_event_log'. Signed-off-by: Jesper Juhl Cc: Seiji Munetoh Cc: Stefan Berger Cc: Reiner Sailer Cc: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22982a5687d8abf7bafe6d307585464f47089f18 Author: Greg Ungerer Date: Fri Jul 20 00:31:47 2007 -0700 m68knommu: reformat show_cpuinfo() Reformat show_cpuinfo() to be consistent with normal coding style (and rest of this file). Signed-off-by: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e3bbb3f05339de438faf54124f25c92e6fe4ac2e Author: Jesper Juhl Date: Fri Jul 20 00:31:47 2007 -0700 cr_backlight_probe() allocates too little storage for struct cr_panel The Coverity checker noticed that we allocate too little storage for "struct cr_panel *crp" in cr_backlight_probe(). Signed-off-by: Jesper Juhl Cc: Thomas Hellstrom Cc: Alan Hourihane Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb0645a8b1f14da300f40bb9f424640cd1181fbf Author: Dan Williams Date: Fri Jul 20 00:31:46 2007 -0700 async_tx: fix kmap_atomic usage in async_memcpy Andrew Morton: [async_memcpy] is very wrong if both ASYNC_TX_KMAP_DST and ASYNC_TX_KMAP_SRC can ever be set. We'll end up using the same kmap slot for both src add dest and we get either corrupted data or a BUG. Evgeniy Polyakov: Btw, shouldn't it always be kmap_atomic() even if flag is not set. That pages are usual one returned by alloc_page(). So fix the usage of kmap_atomic and kill the ASYNC_TX_KMAP_DST and ASYNC_TX_KMAP_SRC flags. Cc: Andrew Morton Cc: Evgeniy Polyakov Signed-off-by: Dan Williams Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c6129c68fe90a61166800b40217a850b8faee98 Author: Stephen Rothwell Date: Fri Jul 20 00:31:45 2007 -0700 dpt_i2o depends on virt_to_bus Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1833633803c7ef4d8f09877d3f1549cbd252f477 Author: Nick Piggin Date: Fri Jul 20 00:31:45 2007 -0700 fix some conversion overflows Fix page index to offset conversion overflows in buffer layer, ecryptfs, and ocfs2. It would be nice to convert the whole tree to page_offset, but for now just fix the bugs. Signed-off-by: Nick Piggin Cc: Michael Halcrow Cc: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e228929bc257b963523ed75aa60d2ad77ece2189 Author: Paul Mundt Date: Fri Jul 20 00:31:44 2007 -0700 mm: fix memory hotplug oops from ZONE_MOVABLE changes. zone_movable_pfn is presently marked as __initdata and referenced from adjust_zone_range_for_zone_movable(), which in turn is referenced by zone_spanned_pages_in_node(). Both of these are __meminit annotated. When memory hotplug is enabled, this will oops on a hot-add, due to zone_movable_pfn having been freed. __meminitdata annotation gives the desired behaviour. This will only impact platforms that enable both memory hotplug and ARCH_POPULATES_NODE_MAP. Signed-off-by: Paul Mundt Acked-by: Mel Gorman Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d1b87530e7df5c9541a69910ef7f786f034eca0 Author: Adrian Bunk Date: Fri Jul 20 00:31:44 2007 -0700 arch/i386/xen/events.c should #include Every file should include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk Acked-by: Jeremy Fitzhardinge Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2eea68e7db759ce67807b42b7407236cccfde71 Author: Roland McGrath Date: Fri Jul 20 00:31:43 2007 -0700 xen: disable vdso "nosegneg" on native boot One of the nice ideas behind paravirt is that CONFIG_XEN=y can be included in a standard configuration and be no worse for native booting than as a Xen guest. The glibc feature that supports the vDSO "nosegneg" note is designed specifically to make this easy. You just have to flip one bit at boot time. This patch makes Xen flip the bit, so a CONFIG_XEN=y kernel on bare hardware does not make glibc use the less-optimized library builds. Signed-off-by: Roland McGrath Acked-by: Jeremy Fitzhardinge Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ac12c6fe1b5fbda0d0caedb8214cde545a5737c Merge: 52a2368... 78d0012... Author: Linus Torvalds Date: Fri Jul 20 08:26:54 2007 -0700 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: Fix two year old bug in early bootup asm. [SPARC64]: Update defconfig. [SPARC64]: Fix log message type in vio_create_one(). [SPARC64]: Tweak assertions in sun4v_build_virq(). [SPARC64]: Tweak kernel log messages in power_probe(). [SPARC64]: Fix handling of multiple vdc-port nodes. [SPARC64]: Fix device type matching in VIO's devspec_show(). [SPARC64]: Fix MODULE_DEVICE_TABLE() specification in VDC and VNET. [SPARC]: Add sys_fallocate() entries. [SPARC64]: Use orderly_poweroff(). commit 52a23685f37c06d0cd00eeb8f517a90de3f2c338 Merge: d046943... d20da3c... Author: Linus Torvalds Date: Fri Jul 20 08:25:49 2007 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (44 commits) USB: drivers/usb/storage/dpcm.c whitespace cleanup USB: r8a66597-hcd: fixes some problem USB: change name of spinlock in hcd.c USB: move routines in hcd.c USB: misc: uss720: clean up urb->status usage USB: misc: usbtest: clean up urb->status usage USB: misc: usblcd: clean up urb->status usage USB: misc: phidgetmotorcontrol: clean up urb->status usage USB: misc: phidgetkit: clean up urb->status usage USB: misc: legousbtower: clean up urb->status usage USB: misc: ldusb: clean up urb->status usage USB: misc: iowarrior: clean up urb->status usage USB: misc: ftdi-elan: clean up urb->status usage USB: misc: auerswald: clean up urb->status usage USB: misc: appledisplay: clean up urb->status usage USB: misc: adtux: clean up urb->status usage USB: core: message: clean up urb->status usage USB: image: microtek: clean up urb->status usage USB: image: mdc800: clean up urb->status usage USB: storage: onetouch: clean up urb->status usage ... commit d046943cbaf332f75284ad99f4b3e60bae7ffff2 Author: Al Viro Date: Fri Jul 20 16:18:06 2007 +0100 fix gfp_t annotations for slub Since we have use like ~SLUB_DMA, we ought to have the type set right in both cases. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8d4bc5b6b0ce030f51a2db836caeaf687b986791 Author: Al Viro Date: Fri Jul 20 16:15:28 2007 +0100 ANSIfy a couple of functions in netfilter It's C, not C++... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6d14bfe77b8246a45670b7158d3a49bfe55662c7 Author: Al Viro Date: Fri Jul 20 16:10:24 2007 +0100 Fix lguest misannotation It's void __user *, not void * __user... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 25cccecce8e29f92eb5a0445bc97ee01ef2da379 Author: Al Viro Date: Fri Jul 20 16:07:33 2007 +0100 Fix up sky2 breakage Doing |= 1 << 19 to 16bit unsigned is not particulary useful; that register is 32bit, unlike the ones dealt with in the rest of function, so we need u32 variable here. Signed-off-by: Al Viro Acked-by: Stephen Hemminger Signed-off-by: Linus Torvalds commit a9204879b4242c2bed3a172399906acd371a8081 Author: Al Viro Date: Fri Jul 20 16:03:40 2007 +0100 Fix buggered kmalloc() call argument order Wrong order of arguments Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit dfedfaf55a452637d72bfc482c80f902a470ebb7 Author: Al Viro Date: Fri Jul 20 04:33:58 2007 +0100 m68k: exclude more unbuildable drivers anything that wants working dma-mapping won't work parport_pc won't work on m68k unless we have ISA Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 446df4c1e5f56cb68ec0cd9c29bbb2c7b04a513e Author: Al Viro Date: Fri Jul 20 04:33:48 2007 +0100 mac89x0: missing __init Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f6ea2090e08abf3b95e1b692f1eec596bce69e9c Author: Al Viro Date: Fri Jul 20 04:33:38 2007 +0100 m68k: remove empty ->setup is several consoles Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 66a3f820cb6a88ef0481e042d4b48b2299deab7e Author: Al Viro Date: Fri Jul 20 04:33:28 2007 +0100 m68k: missing __init Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 88f8bb780e13fd31f207e1752ee8624dc786381f Author: Al Viro Date: Fri Jul 20 04:33:18 2007 +0100 m68k: missing exports Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7e5de05169b766b86b4bc7c196f53d57e1952bff Author: Al Viro Date: Fri Jul 20 04:33:08 2007 +0100 m68k: use .text.head i.e. tell modpost that entry point code (that has to be outside of .init.text for external reasons) is OK to refer to .init.* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f9569e1d1540791f664aeb935b1ec11b6e56507c Author: Al Viro Date: Fri Jul 20 04:32:58 2007 +0100 m68k iomem (based on Geert's tree + memcpy_... stuff) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 3a5df1d451cfe3a3d6d63f144554cac286eecba1 Author: Al Viro Date: Fri Jul 20 04:32:48 2007 +0100 m68k: teach modpost about .m68_fixup Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8a0236743ecd591f16a749f5c06670c6ae9661be Author: Al Viro Date: Fri Jul 20 00:24:22 2007 +0100 more isa/eisa/pci-only drivers marked as such Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5ddf24c5ea9d715dc4f5d5d5dd1c9337d90466dc Author: Tejun Heo Date: Mon Jul 16 14:29:41 2007 +0900 libata: implement EH fast drain In most cases, when EH is scheduled, all in-flight commands are aborted causing EH to kick in immediately. However, in some cases (especially with PMP), it's unclear which commands are affected by the error condition and although aborting all in-flight commands work, it isn't optimal and may cause unnecessary disruption. On the other hand, waiting for in-flight commands to drain themselves can take up to 30seconds. This patch implements EH fast drain to handle such situations. It gives in-flight commands some time to finish up but doesn't wait for too long. After EH is scheduled, fast drain timer is started and if no other completion occurs in ATA_EH_FASTDRAIN_INTERVAL all in-flight commands are aborted. If any completion occurred in the interval, the port is given another interval to finish up itself. Currently ATA_EH_FASTDRAIN_INTERVAL is 3 secs which should be enough for finishing up most commands. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4e57c517b3cbaceb7438eeec879ca129fc17442c Author: Tejun Heo Date: Mon Jul 16 14:29:41 2007 +0900 libata: schedule probing after SError access failure during autopsy If SError isn't accessible, EH can't tell whether hotplug has happened or not. Report SError read failure with AC_ERR_OTHER and schedule probing with hardreset. This will be mainly useful for PMPs. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit fccb6ea5c240b9f29baa55448488fd6aee49f5a5 Author: Tejun Heo Date: Mon Jul 16 14:29:41 2007 +0900 libata: clear HOTPLUG flag after a reset ATA_EHI_HOTPLUGGED is a hint for reset functions indicating the the port might have gone through hotplug/unplug just before entering EH. Reset functions modify their behaviors a bit to handle the situation better - e.g. using longer debouncing delay. Currently, once HOTPLUG is set, it isn't cleared till the end of EH. This is unnecessary and makes EH take longer. Clear the HOTPLUGGED flag after a reset try (successful or not). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f8f1e1cc0cd4d75c73e9a55a0ede8958e4fa14f1 Author: Tejun Heo Date: Mon Jul 16 14:29:40 2007 +0900 libata: reorganize ata_ehi_hotplugged() __ata_ehi_hotplugged() now has no users. Regorganize ata_ehi_hotplugged() such that a new function ata_ehi_schedule_probe() deals with scheduling probing. ata_ehi_hotplugged() calls it and additionally marks hotplug specific flags. ata_ehi_schedule_probe() will be used laster. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1ae463171cc1b1ea6dad7bcb298e96c073e7373e Author: Tejun Heo Date: Mon Jul 16 14:29:40 2007 +0900 libata: improve SCSI scan failure handling SCSI scan may fail due to memory allocation failure even if EH is not in progress. Due to use of GFP_ATOMIC in SCSI scan path, allocation failure isn't too rare especially while probing multiple devices at once which is the case when a bunch of devices are connected to PMP. This patch moves SCSI scan failure detetion logic from ata_scsi_hotplug() to ata_scsi_scan_host() and implement synchronous scan behavior. The synchronous path sleeps briefly and repeats SCSI scan if some devices aren't attached properly. It contains robust retry loop to minimize the chance of device misdetection during boot and falls back to async retry if everything fails. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f1545154a5c96590b1992aac8ee1e2c445e301ed Author: Tejun Heo Date: Mon Jul 16 14:29:40 2007 +0900 libata: quickly trigger SATA SPD down after debouncing failed Debouncing failure is a good indicator of basic link problem. Use -EPIPE to indicate debouncing failure and make ata_eh_reset() invoke sata_down_spd_limit() if the error occurs during reset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 008a78961ec72990d09d7625ef9499d7317d040d Author: Tejun Heo Date: Mon Jul 16 14:29:40 2007 +0900 libata: improve SATA PHY speed down logic sata_down_spd_limit() first reads the current SPD from SStatus and limit the speed to the lower one of one below the current limit or one below the current SPD in SStatus. SPD may not be accessible or valid when SPD down is requested making sata_down_spd_limit() fail when it's most needed. This patch makes the current SPD cached after each successful reset and forces GEN I speed (1.5Gbps) if neither of SStatus or the cached value is valid, so sata_down_spd_limit() is now guaranteed to lower the speed limit if lower speed is available. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit badc2341579511a247f5993865aa68379e283c5c Author: su henry Date: Fri Jul 20 08:07:46 2007 -0400 The SATA controller device ID is different according to the onchip SATA type set in the system BIOS: Device Device ID SATA in IDE mode 0x4390 SATA in AHCI mode 0x4391 SATA in non-raid5 driver 0x4392 SATA in raid5 driver 0x4393 Although the device ID is different, they use the same AHCI driver .The attached file is the patch for adding these device IDs for ATI SB700. Signed-off-by: henry.su.ati@gmail.com Signed-off-by: Jeff Garzik commit 203ef6c456ad70e660cca67921d3d872b13aa516 Author: Tejun Heo Date: Mon Jul 16 14:29:40 2007 +0900 ahci: implement SCR_NOTIFICATION r/w Make ahci_scr_read/write() handle SCR_NOTIFICATION if the controller supports it. Also, print "sntf" in the cap line if supported. While at it, convert eight space into a tab in ahci_print_info(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 274c1fde5c775a53331427d454745b9ecc5c783b Author: Tejun Heo Date: Mon Jul 16 14:29:40 2007 +0900 ahci: make NO_NCQ handling more consistent ahci_save_initial_config() is responsible for reading, screening the host CAP register and storing the modified result into hpriv->cap for the rest of the driver. Move ATA_FLAG_NO_NCQ handling into ahci_save_initial_config(). It's more consistent this way and the rest of the driver can always refer to hpriv->cap to determine configured capability. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit da3dbb17a0e9a9ec7f5aed95f1fddadb790edc9d Author: Tejun Heo Date: Mon Jul 16 14:29:40 2007 +0900 libata: make ->scr_read/write callbacks return error code Convert ->scr_read/write callbacks to return error code to better indicate failure. This will help handling of SCR_NOTIFICATION. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5335b729064e03319cd2d5219770451dbb1d7f67 Author: Tejun Heo Date: Mon Jul 16 14:29:40 2007 +0900 libata: implement AC_ERR_NCQ When an NCQ command fails, all commands in flight are aborted and the offending one is reported using log page 10h. Depending on controller characteristics and LLD implementation, all commands may appear as having a device error due to shared TF status making it hard to determine what's actually going on. This patch adds AC_ERR_NCQ, marks the command reported by log page 10h with it and print extra "" after the error report for the command to help distinguishing the offending command. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b64bbc39f2122a2276578e40144af69ef01decd4 Author: Tejun Heo Date: Mon Jul 16 14:29:39 2007 +0900 libata: improve EH report formatting Requiring LLDs to format multiple error description messages properly doesn't work too well. Help LLDs a bit by making ata_ehi_push_desc() insert ", " on each invocation. __ata_ehi_push_desc() is the raw version without the automatic separator. While at it, make ehi_desc interface proper functions instead of macros. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 975530e8a33fdeb1ad80d82fde11d56bf9ed2760 Author: Tejun Heo Date: Mon Jul 16 14:29:39 2007 +0900 sata_sil24: separate out sil24_do_softreset() Separate out sil24_do_softreset() which takes @pmp as its last argument. This will be used to implement sil24_pmp_softreset(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 37b99cba8c2a3fd05a3a9f652cc2b3e48d1b9197 Author: Tejun Heo Date: Mon Jul 16 14:29:39 2007 +0900 sata_sil24: separate out sil24_exec_polled_cmd() Separate out sil24_exec_polled_cmd() from sil24_softreset(). This will be used to implement sil24_pmp_read/write(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit e59f0dad33176a13803ff8a41cc639a06c43d381 Author: Tejun Heo Date: Mon Jul 16 14:29:39 2007 +0900 sata_sil24: replace sil24_update_tf() with sil24_read_tf() Replace sil24_update_tf() to sil24_read_tf() which reads TF into passed int result TF argument and can read TFs of PMP links. This will be used by PMP support. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a9cf5e858100b2f82ad61028c26a1a3de11c4839 Author: Tejun Heo Date: Mon Jul 16 14:29:39 2007 +0900 ahci: separate out ahci_do_softreset() Separate out ahci_do_softreset() which takes @pmp as its last argument. This will be used to implement ahci_pmp_softreset(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 91c4a2e09267b0ddc8e59d121e3748cd18675739 Author: Tejun Heo Date: Mon Jul 16 14:29:39 2007 +0900 ahci: separate out ahci_exec_polled_cmd() Separate out ahci_exec_polled_cmd() from ahci_softreset(). This will be used to implement ahci_pmp_read/write(). ahci_exec_polled_cmd() performs reset_engine before returning if the command fails (times out). This is to improve robustness. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d2e75dfffbe9e86e1d646264792ac9bcd2cc4267 Author: Tejun Heo Date: Mon Jul 16 14:29:39 2007 +0900 ahci: separate out ahci_kick_engine() Separate out stop_engine - CLO - start_engine sequence from ahci_softreset() and ahci_clo() into ahci_reset_engine() and use it in ahci_softreset() and ahci_post_internal_cmd(). The function will also be used to prepare for and clean up after PMP register access commands. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2cbb79ebbd4be07041368da5379a64f89f8ad518 Author: Tejun Heo Date: Mon Jul 16 14:29:38 2007 +0900 ahci: use deadline instead of fixed timeout for 1st FIS for SRST Use deadline instead of fixed timeout for 1st FIS for SRST to improve robustness of SRST. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9977126c4b65c1396b665f7a0eeb8c7dede336f9 Author: Tejun Heo Date: Mon Jul 16 14:29:38 2007 +0900 libata: add @is_cmd to ata_tf_to_fis() Add @is_cmd to ata_tf_to_fis(). This controls bit 7 of the second byte which tells the device whether this H2D FIS is for a command or not. This cleans up ahci a bit and will be used by PMP. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit fe36cb53cfd82f3c0796a0826e1c9caf198c8f97 Author: Petr Vandrovec Date: Fri Jul 20 07:44:44 2007 -0400 [libata] Fix reported task file values in sense data ata_tf_read was setting HOB bit when lba48 command was submitted, but was not clearing it before reading "normal" data. As it is only place which sets HOB bit in control register, and register reads should not be affected by other bits, let's just clear it when we are done with reading upper bytes so non-48bit commands do not have to touch ctl at all. pata_scc suffered from same problem... Signed-off-by: Petr Vandrovec Signed-off-by: Jeff Garzik commit f3a03b0934fb83a030ccd3e6f1fbe845a9c44d49 Author: Dave Jones Date: Mon Jul 16 11:23:03 2007 -0400 Correct comment in libata-sff.c The filename in the file header is incorrect. Signed-off-by: Dave Jones Signed-off-by: Jeff Garzik commit dcd0344775c1c0bf8ff3b9541863beea5088a7c9 Author: Akira Iguchi Date: Tue Jul 17 12:10:17 2007 +0900 pata_scc.c: small fixes (Workaround for errata A308) This patch fixes some issues of the previous patch: - Use mode_filter() hook to limit ATAPI UDMA mode - "data loss" warning message - handling of udma_mask Signed-off-by: Kou Ishizaki Signed-off-by: Akira Iguchi Signed-off-by: Jeff Garzik commit 028a2596336b19a7e3713cfa9fe04d0d32e95876 Author: Alexey Dobriyan Date: Tue Jul 17 23:48:48 2007 +0400 ahci.c: fix CONFIG_PM=n compilation Commit df69c9c5438b4e396a64d42608b2a6c48a3e7475 moved only prototype of out of CONFIG_PM. Move function out as well. Box seems to boot fine. Signed-off-by: Alexey Dobriyan Signed-off-by: Jeff Garzik commit 3fb6589ceaf06d9c65bdf2382249d818771e913b Author: Tejun Heo Date: Fri Jul 20 12:49:38 2007 +0900 libata: add ST9160821AS 3.CLF to NONCQ blacklist Yay, the first one from Seagate. 3.ALC firmware is okay. This was reported by Sam Freed on bugzilla bug 8759. Signed-off-by: Tejun Heo Signed-off-by: Sam Freed Signed-off-by: Jeff Garzik commit 83b6839ec33becca78ebf6035489733a62e750bb Author: Magnus Damm Date: Fri Jul 20 12:50:58 2007 +0900 pata_platform: Fix NULL pointer dereference pata_platform: Fix NULL pointer dereference pata_platform currently dereferences a NULL pointer in pata_platform_probe() if pdev->dev.platform_data is set to NULL. This breakage was most likely introduced by commit 5f45bc50976ee1f408f7171af155aec646655a37. Signed-off-by: Magnus Damm Signed-off-by: Jeff Garzik commit 0ea9e179f436f153fc19fdaef7abbc1e0da20762 Author: Jeff Garzik Date: Fri Jul 13 17:06:45 2007 -0400 [libata] sata_mv: minor cleanups * trim trailing whitespace * document some flags, registers, and register bits * fix locking around EDMA on/off and configuration * continue replacing "constant OP var" with "var OP constant" * use new pci_try_set_mwi() Signed-off-by: Jeff Garzik commit 6c1153e00af8de755ec278d873a97c9ce2a72d10 Author: Jeff Garzik Date: Fri Jul 13 15:20:15 2007 -0400 [libata] sata_mv: Micro-optimization and cleanups * Micro-optimization in the EDMA interrupt handling code * s/EDMA_ERR_CRBQ_PAR/EDMA_ERR_CRQB_PAR/ * Document EDMA Error Interrupt Cause register bits Signed-off-by: Jeff Garzik commit 56386f6424f242cff46e2cfd7be44624cd37dce1 Author: Magnus Damm Date: Fri Jul 20 18:44:49 2007 +0900 sh: intc - add support for SH7750 and its variants This patch converts the cpu specific 7750 setup code to use the new intc controller. Many new vectors are added and multiple processor variants including 7091, 7750, 7750s, 7750r, 7751 and 7751r should all have the correct vectors hooked up. IRLM interrupts can be enabled using ipr_irq_enable_irlm() which now is marked as __init. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 53555eb758388fff3982875129ca96080caed147 Author: Jaroslav Kysela Date: Fri Jul 20 11:13:35 2007 +0200 [ALSA] version 1.0.14 Signed-off-by: Jaroslav Kysela commit 1f6268e982c7d35adee34d8f92a17644c7b3f78a Author: Jaroslav Kysela perex@suse.cz Date: Fri Jul 20 10:42:56 2007 +0200 [ALSA] remove duplicate Logitech Quickcam USB ID in usbquirks.h Signed-off-by: Jaroslav Kysela commit aafc03398baefaac380b34a1ee6356e7eed8e663 Author: Takashi Iwai Date: Tue May 29 18:01:06 2007 +0200 [ALSA] hda-codec - Fix input with STAC92xx The recent fix for STAC92xx surround outputs broke the input pin setting for shared line-in and mic jacks. This patch fixes the breakage. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c54728d8aa59283ece86cb745e5085ece8b4eedb Author: Nicola Fagnani Date: Thu Jul 19 23:28:52 2007 +0200 [ALSA] hda-intel: support for iMac 24'' released on 09/2006 Basic audio support for the iMac 24'' model released on 09/2006, including headphone jack detection with automatic speaker muting. This iMac uses the Realtek ALC885 codec, not a Sigmatel one as in other models. Functionality has been tested for internal speakers, headphone and microphone. Signed-off-by: Nicola Fagnani Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c5d9f1cdbf067b5500886c5171159e99657341ce Author: Claudio Matsuoka Date: Thu Jul 19 23:18:32 2007 +0200 [ALSA] hda-codec - Add quirk for Asus P5LD2 Without the proper model setting, the Asus P5LD2 rear outputs remain completely silent unlike other systems where the front speakers usually work. This patch adds the P5LD2 to the quirk table. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 8632649b1c991aab883a8538e493c33e362d077a Author: James Courtier-Dutton Date: Fri May 18 20:35:50 2007 +0100 [ALSA] snd-ca0106: Add support for X-Fi Extreme Audio. This card is just a normal SB Live 24bit, but under a different marketing name. Signed-off-by: James Courtier-Dutton Signed-off-by: Jaroslav Kysela commit d9e8a552d486eff3281e58754d126500782dcd74 Author: James Courtier-Dutton Date: Sat Jul 14 10:24:49 2007 +0100 [ALSA] snd-emu10k1:Enable E-Mu 1616m notebook firmware loading. Signed-off-by: James Courtier-Dutton Signed-off-by: Jaroslav Kysela commit 3663d845e557989d09e856c1e9e708e80a976dd4 Author: James Courtier-Dutton Date: Sat Jul 14 02:18:26 2007 +0100 [ALSA] snd-emu10k1: Initial support for E-Mu 1616 and 1616m. Signed-off-by: James Courtier-Dutton Signed-off-by: Jaroslav Kysela commit 89f157d9e6bf08b65f93dcb1dca1de037079885f Author: Takashi Iwai Date: Thu Jul 19 11:23:21 2007 +0200 [ALSA] cs46xx - Fix PM resume Fixed PM resume of cs46xx devices. It now restores properly the DSP image and kick-off the DSP. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 87d483630a4bd5af2beb2155c7ae8c408729a1a6 Author: Matthew Ranostay Date: Tue Jul 17 11:52:24 2007 +0200 [ALSA] hda: Enable SPDIF in/out on some stac9205 boards Added support for some boards with SPDIF in/out, and cleaned up the GPIO enable function. Signed-off-by: Matthew Ranostay Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7c64ec343a7d7b2d73b19e6bb8d9fd15f0462890 Author: Clemens Ladisch Date: Mon Jul 16 11:01:30 2007 +0200 [ALSA] timer: check for incorrect device state in non-debug compiles, too Convert the snd_assert()s to simple if()s to prevent crashes when one of the timer instance ioctls is called before the file is bound to a timer device. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit c28054d4b31d78272f65c0d11db0796f50fb9569 Author: Yoann Padioleau Date: Sat Jul 14 00:33:15 2007 +0200 [ALSA] snd-aoa-codec-onyx: fix typo Parse error in ifdef or bad use of macro. Signed-off-by: Yoann Padioleau Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit ef64adbbba1b215e8b523b50ef9d568b4bf2e1e3 Author: Claudio Matsuoka Date: Sat Jul 14 00:26:16 2007 +0200 [ALSA] hda-codec - Add quirks for HP dx2200/dx2250 HP dx2200 and dx2250 use Micro-Star International (MSI) motherboards (models MS-7254 and MS-7297 respectively) with an ALC862 codec in threestack configuration. Adding this quirk allows correct 5.1 sound output in these systems. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 4723c022e1960abb5608b37ef61443da7d6296bb Author: Claudio Matsuoka Date: Fri Jul 13 14:36:19 2007 +0200 [ALSA] hda-codec - Rename HP model-specific quirks Rename ALC888_HP_NETTLE and ALC888_HP_LUCKNOW models to the more generic names ALC888_6ST_HP and ALC888_3ST_HP since HP seems to be consistent in the wiring of their 3stack and 6stack ALC888-based systems. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit e87f97a3e842a816f30f087d5bfac68ef2afaef2 Author: Claudio Matsuoka Date: Fri Jul 13 11:51:32 2007 +0200 [ALSA] hda-codec - Add quirk for HP Samba This patch fixes 5.1 surround output for the HP Samba using the same quirk as the HP Lucknow. If HP machines are uniform in their wiring, we should rename ALC888_HP_NETTLE to ALC888_6ST_HP and ALC888_HP_LUCKNOW to ALC888_3ST_HP for generic HP 6stack and 3stack configurations. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit e4f41da9e5f03e67ebe6067aad40c6a79443c3ae Author: Claudio Matsuoka Date: Fri Jul 13 11:51:06 2007 +0200 [ALSA] hda-codec - Add LG LW20 line-in capture source Add line-in to the list of LG LW20 capture sources. Also fix the LG LW pin assignment list comment. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit cac19c3ba123369b7c1199e20bb01fb265004ff5 Author: Thibault Le Meur Date: Fri Jul 13 11:50:23 2007 +0200 [ALSA] usb-audio - Fix AC3 with M-Audio Audiophile USB Fixed AC3 interface in device_setup=0x00 mode thanks to Hakan Lennestal and updated documentation Signed-off-by: Thibault Le Meur Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1b290a510c12be91b6a2f7d6a07ef61b8ee9f06a Author: Matthew Ranostay Date: Thu Jul 12 15:17:34 2007 +0200 [ALSA] hda: stac9202 mixer fix Added support for line out controls for STAC9202 cards, and fixed issue where master mixer control was being created twice for headphone and speaker outs. Signed-off-by: Matthew Ranostay Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 82fb159aa3d187aac0fce076739d7d8884e7a0af Author: Matt Reimer Date: Thu Jul 12 12:27:24 2007 +0200 [ALSA] Make s3c24xx_i2s_set_clkdiv() change the correct bits Make s3c24xx_i2s_set_clkdiv() change the correct bits. Signed-off-by: Matt Reimer Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit ef2ec0dd65bc542f9ab45ea2fac6920cb1afa13b Author: Claudio Matsuoka Date: Thu Jul 12 11:27:37 2007 +0200 [ALSA] hda-codec - Add LG LW20 si3054 modem id Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f8c78b82b9e47d933629e7060e4a83a277b15ffe Author: Thibault Le Meur Date: Thu Jul 12 11:26:35 2007 +0200 [ALSA] usb-audio - Fix audiophile-USB quirk for little-endian Audiophile-usb fix (corrects little-endianness in 16bit modes, resets interfaces at device initialization, and updates the documentation). Signed-off-by: Thibault Le Meur Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit be38114a49853e441e694d690e631937de5fc524 Author: Claudio Matsuoka Date: Wed Jul 11 10:31:08 2007 +0200 [ALSA] hda-codec - Add VIA HDA to si3054 Add VIA HDA identification to use the HDA-based Motorola modem of the Clevo m540 laptop. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2dcd522f89d17936d08665c22ab0ee415b8c5d56 Author: Tobin Davis Date: Tue Jul 10 17:04:57 2007 +0200 [ALSA] HDA-Intel - Add support for MSI K9AGM2-FIH motherboard This patch adds support for the MSI K9AGM2-FIH on-board audio. Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit cfc24ec89b488eeb5dfe4189761205fca38eb58e Author: Ritesh Raj Sarraf Date: Tue Jul 10 13:03:57 2007 +0200 [ALSA] USB ID for intergrated quickcam on dell xps m1210 This patch adds Logitech QuickCam USB ID for Dell's XPS M1210 notebooks. Signed-off-by: Ritesh Raj Sarraf Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 706568967c7d99a5975b2a21aacd791dc838ea8c Author: Adrian Bunk Date: Tue Jul 10 11:34:32 2007 +0200 [ALSA] fix SND_CS5530=y, ISA=n compilation This patch fixes the following compile error with CONFIG_SND_CS5530=y, CONFIG_ISA=n: <-- snip --> ... LD .tmp_vmlinux1 sound/built-in.o: In function 'snd_sb16_capture_trigger': sb16_main.c:(.text+0x212ad): undefined reference to 'snd_sbdsp_command' sb16_main.c:(.text+0x212cc): undefined reference to 'snd_sbdsp_command' sb16_main.c:(.text+0x212f7): undefined reference to 'snd_sbdsp_command' sound/built-in.o: In function 'snd_sb16_playback_trigger': sb16_main.c:(.text+0x2136d): undefined reference to 'snd_sbdsp_command' sb16_main.c:(.text+0x2138c): undefined reference to 'snd_sbdsp_command' ... <-- snip --> Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f95474ec05106a2af46220fbf8624adc17fcb3e7 Author: Takashi Iwai Date: Tue Jul 10 00:47:43 2007 +0200 [ALSA] hda-codec - Fix default pin config of Abit AW9D-MAX Fix the default pin configuration of Abit AW9D-MAX. The board has a broken BIOS that doesn't set the correct pin default configs, which screws up the auto-configuration of snd-hda-intel driver. The patch enables the override of default pin config values. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 341d4eb0cffdcd5fbdbd696dc26671f91e7c418c Author: Takashi Iwai Date: Mon Jul 9 17:53:18 2007 +0200 [ALSA] hda-codec - Fix Toshiba A100 with ALC861 One of the newly added model entries causes a regression on Toshiba A100. It works fine with model=auto. So, let's deselect the entry again. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c34532da91c208bd5567419984ea6a4bf60dad60 Author: George Shapovalov Date: Mon Jul 9 10:42:35 2007 +0200 [ALSA] usb-audio: another Logitech camera/microphone ID match From: George Shapovalov Another case of ALSA ticket #3040: we need an explicit USB ID match for another Logitech camera/microphone device. Signed-off-by: Daniel Drake Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f167684a6454183d41588982ed26e4c6ee6feb48 Author: Takashi Iwai Date: Mon Jul 9 10:39:44 2007 +0200 [ALSA] usbaudio - Add quirk for Roland EXR series Added a quirk for Roland EXR series. Reported by Andre Coetzee. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit d20b9b20e5f3bb82a6f38583154cb2f163d465d7 Author: Takashi Iwai Date: Mon Jul 9 10:36:22 2007 +0200 [ALSA] aica - fix behaviour in poor resource conditions Fix behaviour in poor resource conditions. With this new patch, tidied with indent and with SNDRV_PCM_TRIGGER_STOP being used. Signed-off by: Adrian McMenamin Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 43bbb6ccc67775b432c31d5fd2e1050329ffdcbf Author: Takashi Iwai Date: Fri Jul 6 20:22:05 2007 +0200 [ALSA] hda-intel - Show the last command in warning messages Show the last issued command in warning messages when any communication error with CORB/RIRB occurs. Also, a bit code clean-up for composing the command value in *_send_cmd(). Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit a4eed138add1018846d17e813560b0c7c0ae8e01 Author: Takashi Iwai Date: Fri Jul 6 18:17:04 2007 +0200 [ALSA] hda-codec - Fix number of pin widgets with STAC codecs Use ARRAY_SIZE() to calculate the number of pin widgets for each codec chip. This also fixes a typo in STAC9205 code that gives a wrong number (14 instead of 12), which resulted in fatal communication errors. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 47a2327eac01fa944ab935fc5bb03c3032b2ec37 Author: Robert P. J. Day Date: Fri Jul 6 13:27:16 2007 +0200 [ALSA] Remove unreferenced header file include/sound/wavefront_fx.h Signed-off-by: Robert P. J. Day Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1a7fa543cb5d8185d293a03842b33136d8dcc04c Author: Takashi Iwai Date: Fri Jul 6 12:27:25 2007 +0200 [ALSA] Fix substream to check in PCM drain The check of a substream in snd_pcm_drain() might not be always correct since runtime can point a different substream (although the PCM state of each linked substream should be same, in theory). This patch fixes it. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 940d244851f8a204b5aedae678d9ab96c20b2fec Author: Takashi Iwai Date: Fri Jul 6 12:24:55 2007 +0200 [ALSA] Add missing model entries for HD-audio codecs Added missing model entries for HD-audio codecs in the module option list. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 0f40502e0b5300a37c4cfc7bf93f84c2702dbbe9 Author: Takashi Iwai Date: Fri Jul 6 12:24:11 2007 +0200 [ALSA] hda-codec - Add missing model parameter strings for ALC262 Added the missing model option values for ALC262. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit cdb0e9a7af3ad34f3f879fda9251039c4cad3403 Author: Claudio Matsuoka Date: Fri Jul 6 12:11:22 2007 +0200 [ALSA] Update Claudio's CREDITS information Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 8341de60c76c400eaa453c91810ba6995d2fdb57 Author: Claudio Matsuoka Date: Fri Jul 6 12:10:45 2007 +0200 [ALSA] hda-codec - Add HP Lucknow 5.1 support Added HP Lucknow (ALC888) 5.1 surround support based on ALC883 6-channel threestack with changes in channel routing. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit cd1e3b40429c172b29c04a9c777be2ca1ac012e0 Author: Claudio Matsuoka Date: Fri Jul 6 12:10:01 2007 +0200 [ALSA] hda-codec - Fix HP Nettle 5.1 output Fixed HP Nettle 6ch/8ch channel routing based on ALC883 sixstack and swapping rear and center/LFE in verbs and mixer settings. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1624cb9a35d4276c8ea0d939d580a6945ac72ac1 Author: Takashi Iwai Date: Thu Jul 5 13:10:51 2007 +0200 [ALSA] hda-codec - Fix the recording selection on VAIO laptop Fix the mismatch of init verb and capture mux with VAIO STAC9872. Also, changed the item names to be more intuitive. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 067b5a844c7b9703b0bdcd8cf003a621734c3bae Author: Kailang Yang Date: Thu Jul 5 12:35:15 2007 +0200 [ALSA] hda-codec - Fix ALC662 auto mode Fixed ALC662 auto mode, wrong NIDs were chosen. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 83c34218a867085f7108438408c8323b46dbfc4a Author: Kailang Yang Date: Thu Jul 5 11:43:05 2007 +0200 [ALSA] hda-codec - Some fixes for Realtek codec supports - Added BenQ T31-16 AMD Turion64x2 (ALC262) support - Added models for ASUS machines with ALC861 Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 0a8c5da3c066a1e92a66a493e6fe04d5ce7a206d Author: Claudio Matsuoka Date: Wed Jul 4 15:17:38 2007 +0200 [ALSA] hda-codec - Fix 5.1 output in LG LW20 Implemented LG LW20 5.1 support based on ALC880 threestack modes. It was previously set to use one DAC and 2 jack modes, giving 2-channel output only. Analog CD playing support is still missing. Signed-off-by: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 4210861964145617cf27b2b9c45860bff3e8290c Author: Paul Vojta Date: Wed Jul 4 10:35:29 2007 +0200 [ALSA] nm256 - Add mention of opl3sa2 to a diagnostic message Adds mention of opl3sa2 driver to a diagnostic message for NeoMagic nm256 driver. Signed-off-by: Paul Vojta Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 4700418cfc045296ee453342dc2fb142dc752aed Author: Paul Vojta Date: Wed Jul 4 10:34:22 2007 +0200 [ALSA] opl3sa2 - Add Neomagic MagicWave 3D ISA PnP ID Add Neomagic MagicWave 3D to list of supported devices for opl3sa2 driver. Signed-off-by: Paul Vojta Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 8f41b56645f03e6f50407211d6f0f0627ae95e4e Author: Claudio Matsuoka Date: Tue Jul 3 20:02:49 2007 +0200 [ALSA] hda-codec - Add support for HP Nettle Added the model for HP Nettle mobo with ALC883. From: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 8481da5a8d009d9bbac3d1483b579940e6dd9d59 Author: Claudio Matsuoka Date: Tue Jul 3 20:05:19 2007 +0200 [ALSA] hda-codec - Add support for HP Spartan Added the model for HP Spartan with Conexant codec chip. From: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 95093a23b9090025f8a6be0ac93859210fbba678 Author: Claudio Matsuoka Date: Tue Jul 3 20:07:39 2007 +0200 [ALSA] usb-audio - Add quirk for Roland Juno-G Added a quirk for Roland Juno-G. It's simply a copy of Fantom-X with the IDs changed. From: Claudio Matsuoka Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c454fd4e888dc2b1423b6a65106a619e99a2deb4 Author: Masakazu Mokuno Date: Tue Jul 3 12:54:49 2007 +0200 [ALSA] Add PS3 sound driver The patch adds the support for the sound feature of PS3 - the digital output of HDMI and SPDIF optical, and the analog output of AV multi. Signed-off-by: Masakazu Mokuno Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 87823090a8bd373f34bdb6f1d5cdc5f2f4da4905 Author: Carlo Beccaria Date: Tue Jul 3 08:04:25 2007 +0200 [ALSA] usb-audio: add Roland SH-201 support Add quirks to detect the Roland SH-201. Signed-off-by: Carlo Beccaria Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit df802952b723cdb08f2f8a3cba396c357290850b Author: Takashi Iwai Date: Mon Jul 2 19:18:00 2007 +0200 [ALSA] hda-codec - Fix the error in DAC assignment of STAC codec The STAC codec support code has the automatic recognition of additional side-output pins, and this may result in an error when the assigned pin has no corresponding DAC connection. The patch fixes the problem -- it corrects the line_outs again without such additional pins. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit d10ad1a26da03fe089c02846a95fa5938c3ca3ce Author: Adrian Bunk Date: Mon Jul 2 16:03:12 2007 +0200 [ALSA] sound/pci/hda/patch_realtek.c: remove dead code This patch removes some dead code spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 3c2b576d58b4542b1adc56cbfb92dbfa5eef89ee Author: Randy Dunlap Date: Wed Jun 27 11:52:39 2007 +0200 [ALSA] portman2x4 section mismatch FIx section mismatch when CONFIG_HOTPLUG=n: WARNING: sound/built-in.o(.exit.text+0x271): Section mismatch: reference to .init.text:snd_p ortman_unregister_all (between 'snd_portman_module_exit' and 'alsa_mpu401_uart_exit') Signed-off-by: Randy Dunlap Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 076c0e4fd80a43f64710fe9aabdc4c463b7f8621 Author: Randy Dunlap Date: Tue Jun 26 11:43:52 2007 +0200 [ALSA] fix ensoniq section mismatch Fix ensoniq driver sections when HOTPLUG=n, but code is used during resume, so it cannot be discarded: WARNING: sound/pci/snd-ens1371.o(.text+0x5c0): Section mismatch: reference to .init.text: (between 'snd_ensoniq_chip_init' and 'snd_ensoniq_free') Signed-off-by: Randy Dunlap Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit f8f794ab27dd3c6d9965ec5434775ead23d3d7a2 Author: Tobin Davis Date: Mon Jun 25 12:14:25 2007 +0200 [ALSA] HDA - Change default configuration for Fujitsu Si3515 This patch changes the default configuration for the Fujitsu Siemens Si3515 Laptop to the correct model=laptop. Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 6963f84c428ecd31780c97224004c2462b0664f7 Author: Mike Crash Date: Mon Jun 25 12:12:51 2007 +0200 [ALSA] hda: support for S/PDIF out on ASUS M2V Added support for S/PDIF digital output on ASUS M2V motheboard - added new model '3stack-660-digout' and ALC660VD_3ST_DIG Signed-off-by: Mike Crash Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit e65365de5ba280e058bd6b8b80c8790253268887 Author: Takashi Iwai Date: Mon Jun 25 12:09:32 2007 +0200 [ALSA] Fix invalid schedule_timeout_interruptible() Fixed the invalid use of schedule_timeout_interruptible() without checking pending signals. Simply replaced with schedule_timeout(). Suggestions thanks to Jeff Garzik. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c12aad6efbee1d937438f1deabbef695add0628b Author: Randy Dunlap Date: Mon Jun 25 12:08:01 2007 +0200 [ALSA] more section mismatches Something about __init_or_module isn't working as expected (?). CONFIG_HOTPLUG=y CONFIG_MODULES=n Fix shared init/exit code helper: WARNING: sound/built-in.o(.exit.text+0x243): Section mismatch: reference to .init.text: (between 'alsa_card_mpu401_exit' and 'ac97_bus_exit') WARNING: sound/built-in.o(.exit.text+0x21b): Section mismatch: reference to .init.text: (between 'alsa_card_dummy_exit' and 'alsa_card_serial_exit') Signed-off-by: Randy Dunlap Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit bdec0c728256e1a3739820e244a5138bcfae5a91 Author: Randy Dunlap Date: Mon Jun 25 12:07:38 2007 +0200 [ALSA] fix section mismatch Fix shared init/exit function attributes: WARNING: sound/built-in.o(.exit.text+0x4a1): Section mismatch: reference to .init.text: (between 'alsa_card_virmidi_exit' and 'alsa_card_serial_exit') WARNING: sound/built-in.o(.exit.text+0x4c1): Section mismatch: reference to .init.text: (between 'alsa_card_serial_exit' and 'ac97_bus_exit') Signed-off-by: Randy Dunlap Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 0ac8551ea08e655fc6f35874803f091a17dacf90 Author: Takashi Iwai Date: Wed Jun 20 15:46:13 2007 +0200 [ALSA] hda-codec - Add AD1882 codec support Added AD1882 codec support. It has currently two models, 3stack and 6stack. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit e25c05f1d5cf4e332db88b15e9daa1cabd6e17e0 Author: Jonathan Phenix Date: Tue Jun 19 18:31:28 2007 +0200 [ALSA] hda-codec - Output MFG information for HDA devices This patch output information about the MFG (Modem Function Group) to the /proc/asound/card?/codec#? file. This information is important to identify if a HDA device has a modem or not. Signed-off-by: Jonathan Phenix Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 92a22beb756c53985e8ba98d39f2c8fc834557a4 Author: Matthew Ranostay Date: Tue Jun 19 16:48:28 2007 +0200 [ALSA] hda: add eapd support to additional idt codecs Added support for EAPD on the 927x, and 9227-8 IDT HDA codecs. Enabling EAPD powers the internal speaker amp otherwise there is no sound on systems with an internal amp. Signed-off-by: Matthew Ranostay Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 76c08828709129bdce6c6a325e0342ba73f2618f Author: Takashi Iwai Date: Tue Jun 19 12:17:42 2007 +0200 [ALSA] hda-codec - Add model dell for Dell XPS M1210 Added a new model 'dell' for Dell XPS M1210 with STAC922x codec chip. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit b69f3748400517d1023337b97456a0a1cdc74a79 Author: Tobin Davis Date: Tue Jun 19 12:13:32 2007 +0200 [ALSA] hda-codec - Add Fujitsu Siemens v3515 support to patch_conexant This patch adds support for the Fujitsu Seimens Amilo Pro v3515 notebook. Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2723f2a46823465f24b91cca0ace1e1389fe3507 Author: Graeme Gregory Date: Tue Jun 19 12:12:33 2007 +0200 [ALSA] ASoC S3C24xx machine drivers - lm4857-h missing patch Somewhere when dealing with the s3c24xx patches and requested changes I managed to miss this file on re-submission. Its a header file required for compilation of neo1973-wm8573.c and should be a no brainer. Signed-off-by: Graeme Gregory Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 8c87286fdcb67f796cc9477a9bc1a2f1e173d99f Author: Takashi Iwai Date: Tue Jun 19 12:11:16 2007 +0200 [ALSA] hda-codec - Fix ALC662 auto-configuration code The auto-configuration code didn't initialize the verbs correctly. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit a18519e1e4783628182743e6cca5f9dfa6a9e3bd Author: Takashi Iwai Date: Thu Jun 14 12:58:23 2007 +0200 [ALSA] hda-codec - Add model for Toshiba A135 Added model=lenovo for Toshiba A135 with ALC861VD codec. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit febe3375ea690a6cf544c33fa0fea1a06ff451ee Author: Tobin Davis Date: Tue Jun 12 11:27:46 2007 +0200 [ALSA] hda-codec - Add HP Pavillion quirk to Realtek code This patch adds the HP Pavillion a1589L desktop system to the ALC883 configuration table. Signed-off-by: Tobin Davis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1c3973240b94a48766b7bfe743a4fcaad4eab3eb Author: Andrew Morton Date: Mon Jun 11 12:23:31 2007 +0200 [ALSA] ali5451 warning fix sound/pci/ali5451/ali5451.c: In function 'snd_ali_prepare': sound/pci/ali5451/ali5451.c:716: warning: 'R2' may be used uninitialized in this function Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 13d457094bc364e942884266036fd1b2ab74308b Author: Pavel Hofman Date: Mon Jun 11 12:21:20 2007 +0200 [ALSA] emu10k1 - EMU 1212 with 16 capture channels * adding 8 more 32-bit capture channels (total of 16) for emu1010 cards * adding some code comments and card details description Signed-off-by: Pavel Hofman Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 15cc4458c5c93bd5a616410815d5d165f0fe0900 Author: Peer Chen Date: Fri Jun 8 13:55:10 2007 +0200 [ALSA] Add the MCP73/77 support to hda_intel driver Add the MCP73/MCP77 support to hda driver. The patch base on kernel 2.6.22-rc4 Signed-off-by: Peer Chen Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit b959d1f83fc9cb707aef86ccb3f65e20f9572428 Author: Takashi Iwai Date: Fri Jun 8 12:25:25 2007 +0200 [ALSA] hda-codec - Fix Thinkpad X61/T61 outputs Enable EAPD bit on Thinkpad X61/T61. The recent model requires it explicitly to make any sounds. In future, it should be toggled automatically on demand. Also, added a beep volume/switch. Some people like it although I don't understand why :) Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit bc55197d5a19a58c63f826dbd326da70e97b88f8 Author: Manuel Lauss Date: Fri Jun 8 11:41:34 2007 +0200 [ALSA] soc/sh: let SND_SOC_PCM_SH7760 depend on SH_DMABRG Let SND_SOC_PCM_SH7760 depend on SH_DMABRG rather than select'ing it. Gets rid of the Kbuild warning about SH_DMABRG being undefined on non-sh builds. Signed-off-by: Manuel Lauss Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 6f3bf657edf9c592cf9d92e07ab385bb0ede48c5 Author: Daniel T Chen Date: Fri Jun 8 11:39:35 2007 +0200 [ALSA] hda-codec - Add quirk for another MSI laptop to alc883_cfg_tbl[] This hg commit adds the SSID of another MSI laptop to the alc883_cfg_tbl[] quirk list. Verified in #alsa/Freenode on Thu, Jun 7, 2007. Signed-off-by: Daniel T Chen Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 35739bb179386cf52c13d0779a42ecfe18dedf7e Author: Dave Jones Date: Wed Jun 6 14:48:52 2007 +0200 [ALSA] Yet another Uniwill laptop with ALC861 codec From: Dave Jones Rediffed version of the patch from .. http://bugzilla.kernel.org/show_bug.cgi?id=8016 that seems to be lingering for some time. Original patch by: Andy Shevchenko Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit a361d84bfcd938208dea6c84aa19994b3d69e15d Author: Kailang Yang Date: Tue Jun 5 12:30:55 2007 +0200 [ALSA] hda-codec - Add support of ALC268 codec Added the support of new ALC268 codec chip. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7d87de2db2213e6e9413532445b14c92dae42c85 Author: Kailang Yang Date: Tue Jun 5 12:17:21 2007 +0200 [ALSA] hda-codec - Add proper model for HP xw series Set the proper model for HP xw4550, xw4600, xw6600 and xw8600. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 538c49c41bf5a0a739ad2a5417ec25e060ee9d9e Author: Takashi Iwai Date: Tue Jun 5 12:13:34 2007 +0200 [ALSA] hda-codec - Fix AD1984 basic model Fix the amp direction of digital mic capture volume mixer, which resulted in -EINVAL. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 1919de0a9e939ef4f9453ef1630ca1345991e144 Author: Alan Horstmann Date: Mon Jun 4 23:11:23 2007 +0200 [ALSA] More description on duplex streams with OSS emulation Add paragraph to the OSS document to clarify correct use of duplex streams. Signed-off-by: Alan Horstmann Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 3b194401a31b8df9a07a1850e3fe44fc7ba832a4 Author: Takashi Iwai Date: Mon Jun 4 18:32:23 2007 +0200 [ALSA] hda-codec - Fix Oops with AD1984 thinkpad model Fixed Oops with AD1984 thinkpad model. Also fixed the wrong init verbs for NID 0x03 and 0x04, which have apparently no mute bit. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 304e3bb7a15d839cef64b24a1bcc1230b2ae6fa6 Author: Takashi Iwai Date: Wed May 30 12:46:21 2007 +0200 [ALSA] rme9652 - Fix the hw_pointer check The negative check in hw_pointer callback doesn't work because the value is unsigned. Cast to int in the comparison to fix this. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit ba8c3c37db0d6bf5e6de25016975ebfb558d2aba Author: Takashi Iwai Date: Wed May 30 12:42:31 2007 +0200 [ALSA] ali5451 - Fix invalid type of codec->irq field The irq field of struct snd_ali shouldn't be unsigned since it's uninitialized value is -1. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 807a463603a2e014f36e88317aa5e07c15887fcd Author: Takashi Iwai Date: Tue May 29 19:01:37 2007 +0200 [ALSA] hda-codec - Fix STAC922x capture boost level STAC922x provides the capture boost level up to 4, but actually it works only up to 2. Since the range of the mixer is automatically defined from amp-capability bits, we need to override the value beforehand. snd_hda_override_amp_caps() is introduced for this purpose. The function patch_stac922x() calls this for NID 0x12 (Mux Capture Volume). This should fix another recording problem on Intel Macs. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 5d5d3bc3eddf2ad97b2cb090b92580e7fed6cee1 Author: Ivan N. Zlatev Date: Tue May 29 16:03:00 2007 +0200 [ALSA] hda-codec - Fix pin configs for Intel Macs * adds the pinconfigs for all 5 Apple boards and 14 Subsystem IDs (support for possibly all iMac, Mac, MacMini etc etc) * adds 'intel-mac-v1' to v5 models which replace the current * reflects changes in Alsa-Configuration.txt Signed-off-by: Ivan N. Zlatev Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 65ff2357a7e40bf4b42858516861c3d0e19f512b Author: Ash Willis Date: Tue May 29 14:34:17 2007 +0200 [ALSA] Disable debugging output for the ALS300 driver Disables debugging output in the ALS300 driver. Also contains a whitespace cleanup and a fix for a potential bug. Signed-off-by: Ash Willis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit dda369cf2022fb767b158c4ba2fe2f1ca1fba29c Author: Takashi Iwai Date: Fri May 25 11:50:33 2007 +0200 [ALSA] Fix SB-module dependency with PCI drivers A few PCI drivers like ALS4000 and CS5530 require the SB16-codes. This patch fixes / improves the dependency between SB modules and PCI drivers. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 621887aee9c7b4b613c12b82b83df7e56877f303 Author: Takashi Iwai Date: Thu May 24 18:46:54 2007 +0200 [ALSA] Add support for Cyrix/NatSemi Geode CS5530 (VSA1) Add support for Cyrix/NatSemi Geode SC5530 (VSA1). The driver is snd-cs5530. Signed-off-by Ash Willis Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 0ba7962b9f06c02dd1af93002e8d757805d16758 Author: Takashi Iwai Date: Wed May 23 16:27:32 2007 +0200 [ALSA] hda-codec - Fix wrong mixer controls for AD1984 thinkpad model Fixed the wrong mixer controls for AD1984 thinkpad model. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 0dae0f83cd9956d0959f6d6de9f5391da6483274 Author: Takashi Iwai Date: Mon May 21 12:41:29 2007 +0200 [ALSA] hda-codec - Add support of newer version of Intel iMac Added the pin configs for newer version of Intel iMac. The information provided by Ivan N. Zlatev . Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit ea7cfcdfe6439cd98816da9d339a6bc9032d2084 Author: Pavel Hofman Date: Sat May 19 17:21:04 2007 +0200 [ALSA] ice1724 - Add PCM Playback Switch to Revo 7.1 This patch adds the support of mute for front channels of M-Audio Revolution 7.1 (the DAC AK4381 features a mute bit). Signed-off-by: Pavel Hofman Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 959047431a9e65f6ae25705e77a8e460a1aa04c0 Author: Takashi Iwai Date: Sat May 19 17:06:42 2007 +0200 [ALSA] Add description about probe_mask option for snd-hda-intel Added a brief description about probe_mask option for snd-hda-intel. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 2bac647c45ed9b397ace9109e6935c1364690f8a Author: Takashi Iwai Date: Fri May 18 18:21:41 2007 +0200 [ALSA] hda-codec - Add AD1884 / AD1984 codec support Added the support of AD1884 and AD1984 codec chips. Also experimental quirks for Thinkpad T61/X61 laptops with AD1984. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 198de43d758ca2700e2b52b49c0b189b4931466c Author: Adrian McMenamin Date: Fri May 18 14:26:59 2007 +0200 [ALSA] Add ALSA support for the SEGA Dreamcast PCM device ALSA support for the SEGA Dreamcast Yamaha AICA sound device (pcm) This patch adds ALSA sound support for pcm playback on two channels on the SEGA Dreamcast built-in sound device (the Yamaha AICA) Add driver for the AICA sound device built into the SEGA Dreamcast Hook it all up with the build system. Signed-off-by: Adrian McMenamin Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit aef3b06ac69783d6a6d1e4357c62bab46dd16141 Author: Manuel Lauss Date: Mon May 14 18:40:07 2007 +0200 [ALSA] SH7760 ASoC support ALSA ASoC support for SH7760 This patch adds ALSA ASoC drivers for the Audio interfaces of the SH7760 SoC: Add driver for the SH7760 DMA engine (dmabrg) Add AC97 driver for HAC unit(s) found on SH7760/SH7780 Add I2S driver for SSI unit(s) found on SH7760/SH7780 Add a generic SH7760-AC97 machine driver. Hook it all up with the build system. Signed-off-by: Manuel Lauss Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 80ab1c0e9ea90467e34dd3187b1d8162e8be314b Author: Graeme Gregory Date: Mon May 14 11:06:11 2007 +0200 [ALSA] ASoC S3C24xx machine drivers - Kconfig This patch adds Kconfig and build support for the Neo1973, SMDK2443 and S3C2443 AC97 ALSA audio drivers. Signed-off-by: Graeme Gregory Signed-off-by: Liam Girdwood Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 7a05f067c0da139613cbe74583bb7d208a5f87b9 Author: Liam Girdwood Date: Mon May 14 11:05:09 2007 +0200 [ALSA] ASoC S3C24xx machine drivers - I2C ID for LM4857 This patch adds I2C ID for the LM4857 audio amp and corrects the spacing of the WM8731, WM8750 and WM8753 ID's. Signed-off-by: Liam Girdwood Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 438b76ad816ef7d8e523d7b10d113eeb0b9932b2 Author: Graeme Gregory Date: Mon May 14 11:04:34 2007 +0200 [ALSA] ASoC S3C24xx machine drivers - SMDK 2443 This patch adds ALSA support for the SMDK2443 reference board. Signed-off-by: Graeme Gregory Signed-off-by: Liam Girdwood Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 74930bb6db56bcc9899723c6c79fe681524e5b62 Author: Graeme Gregory Date: Mon May 14 11:03:52 2007 +0200 [ALSA] ASoC S3C24xx machine drivers - Openmoko Neo1973 This patch adds ALSA support for the Openmoko Neo1973 phone. Features:- * HiFi Playback and capture. * Phone calls supported. * Support for BT PCM in WM8753 voice interface. * Support for LM4857 audio amp. Signed-off-by: Graeme Gregory Signed-off-by: Liam Girdwood Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 050f05eaec1c7c5434c78d010ada3cfeb7d0b3b3 Author: Graeme Gregory Date: Mon May 14 11:02:51 2007 +0200 [ALSA] ASoC S3C24xx machine drivers - s3c2443-AC97 This patch adds AC97 support to the Samsung S3C2443 CPU. Signed-off-by: Graeme Gregory Signed-off-by: Liam Girdwood Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit c111b8de975a357ff58e73047e9af48afacf2347 Author: Richard Knutsson Date: Mon May 14 10:38:57 2007 +0200 [ALSA] usbusx2yaudio: kfree(NULL) is valid if (!x) kfree(x); is not needed since kfree(NULL) is valid. Signed-off-by: Richard Knutsson Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit 500bec3d2ba4787e6ab110d159b2926093c27304 Author: Daniel Drake Date: Thu May 10 08:52:19 2007 +0200 [ALSA] usb-audio: another Logitech QuickCam ID This patch adds the ID for another quickcam microphone, reported by freqmod on ALSA ticket #0003040 I'm going to submit a USB patch separately to provide a macro to simplify these entries, as suggested by Alan Stern. We could switch to using that in future. Signed-off-by: Daniel Drake Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela commit 101f6f4ba7109aafd7b3f2eafd7124f854dda451 Author: Takashi Iwai Date: Wed Jun 20 12:03:09 2007 +0200 [ALSA] Fix unfreed pnp driver in opti9xx ISA driver - Added the missing pnp_unregister_card_driver() in the case ISA PnP isn't found, which caused an error at kobject_add with -EEXIST Jun 11 09:07:31 rain kernel: kobject_add failed for opti9xx with -EEXIST, don't try to register things with the same name in the same directory. Jun 11 09:07:31 rain kernel: [] kobject_shadow_add+0x12a/0x1c0 Jun 11 09:07:31 rain kernel: [] kobject_register+0x21/0x50 Jun 11 09:07:31 rain kernel: [] bus_add_driver+0x72/0x1b0 Jun 11 09:07:31 rain kernel: [] pnp_register_card_driver+0x4f/0xc0 Jun 11 09:07:31 rain kernel: [] alsa_card_opti9xx_init+0xa/0x25 [snd_opti92x_ad1848] Jun 11 09:07:31 rain kernel: [] sys_init_module+0x157/0x1610 Jun 11 09:07:31 rain kernel: [] syscall_call+0x7/0xb - Fixed the probe behavior when no PnP is set up. Now it behaves like the former version. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela commit fad9e7d95769ff6c0918b79d58a7ba03615c3ff9 Author: Paul Mundt Date: Fri Jul 20 17:46:42 2007 +0900 sh64: Flag sh64_get_page() as __init_refok. sh64_get_page() wraps in to regular allocators as well as the bootmem allocator for fetching pages, it carefully checks to see which one it can use depending on the system state, so the access is safe. Signed-off-by: Paul Mundt commit 56982002a359533d471834f4398e3002aeb6fbbc Author: Paul Mundt Date: Fri Jul 20 17:45:05 2007 +0900 sh64: Move entry point code to .text.head. Follow the sh and m68k changes to silence the modpost warnings. Signed-off-by: Paul Mundt commit 339547bf5de1212c9c7b89b0e0d69620709729d2 Author: Paul Mundt Date: Fri Jul 20 17:40:03 2007 +0900 sh: Move entry point code to .text.head. Follow Al Viro's m68k change from l-k: i.e. tell modpost that entry point code (that has to be outside of .init.text for external reasons) is OK to refer to .init.* Shuts up some section mismatch warnings from modpost. Signed-off-by: Paul Mundt commit bf73af2314702fcf44fb2a098244e3927f459531 Author: Paul Mundt Date: Fri Jul 20 17:35:42 2007 +0900 sh: heartbeat: Shut up resource size warning. Signed-off-by: Paul Mundt commit ee54505199ad0d5819c613a68746d425a08fdc8f Author: Magnus Damm Date: Fri Jul 20 17:25:48 2007 +0900 sh: update r2d defconfig and fix SH7751R pci compliation This patch updates the r2d board support in a few ways: - CPU_SUBTYPE_SH7751R is selected in the defconfig to play well with the r2d board Kconfig entry. Without this the defconfig results in no board enabled. - Enable EARLY_PRINTK. - Enable SH_STANDARD_BIOS - this works well for early printk on the r2d board. - Add "earlyprink=bios" to the cmdline for early serial port output by default. - CONFIG_SUBTYPE_SH7751R support is added to the sh-specific pci makefile. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 8350163a90f6003c9e60e8ebc0e00f654657645f Author: Alexey Dobriyan Date: Fri Jul 20 10:07:50 2007 +0200 cfq: Write-only stuff in CFQ data structures There are some leftover bits from the task cooperator patch, that was yanked out again. While it will get reintroduced, no point in having this write-only stuff in the tree. So yank it. Signed-off-by: Jens Axboe commit c2dea2d1fdbce86942dba0a968c523d8b7858bb5 Author: Vasily Tarasov Date: Fri Jul 20 10:06:38 2007 +0200 cfq: async queue allocation per priority If we have two processes with different ioprio_class, but the same ioprio_data, their async requests will fall into the same queue. I guess such behavior is not expected, because it's not right to put real-time requests and best-effort requests in the same queue. The attached patch fixes the problem by introducing additional *cfqq fields on cfqd, pointing to per-(class,priority) async queues. Signed-off-by: Jens Axboe commit 98d877c487a75af78f74780703aa6b174780788d Author: Paul Mundt Date: Fri Jul 20 16:59:49 2007 +0900 sh: Many symbol exports for nommu allmodconfig. allmodconfig generates a lot of interesting code, a lot of the generated symbols we've never exported before, so this fixes those up. Verified with both GCC3 and GCC4 toolchains. Signed-off-by: Paul Mundt commit 3a353824df7595165a162aee3b53e4d96e7dfa95 Author: Magnus Damm Date: Fri Jul 20 16:34:22 2007 +0900 sh: zero terminate 8250 platform data for r2d board struct plat_serial8250_port should contain a terminating zero entry Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 6894e0a94350e8ba5c5c8342e916fde14df5fb43 Author: Paul Mundt Date: Fri Jul 20 16:03:02 2007 +0900 sh: cpufreq: Fix up the build for SH-2. Signed-off-by: Paul Mundt commit fc10020292c7a21d1c85a215fa266d4c7cf0f4eb Author: Paul Mundt Date: Fri Jul 20 14:24:57 2007 +0900 sh: Make on-chip DMA channel selection explicit. Currently this has a prompt to allow users to change it. There's no reason to do this, and it has caused breakage and confusion in the past, so remove it entirely. We'll get rid of this when the whole driver is tidied for the driver model. Signed-off-by: Paul Mundt commit 3e7678333a2b3bd89e3669535faa18d53a8fa054 Author: Paul Mundt Date: Fri Jul 20 14:23:04 2007 +0900 sh: Fix up CPU dependencies for on-chip DMAC. We only handle SH-3 and SH-4 at present, don't expose it to the other CPUs. Signed-off-by: Paul Mundt commit 78d00125398f18f7354e759ba7cd544a6b07f504 Author: David S. Miller Date: Thu Jul 19 21:50:09 2007 -0700 [SPARC64]: Fix two year old bug in early bootup asm. We try to fetch the CIF entry pointer from %o4, but that can get clobbered by the early OBP calls. It is saved in %l7 already, so actually this "mov %o4, %l7" can just be completely removed with no other changes. Signed-off-by: David S. Miller commit da9f0ac2f1c00b415939f6b00ee0ea19650377d0 Merge: bd5f0d1... cb5ec75... Author: Paul Mundt Date: Fri Jul 20 13:38:49 2007 +0900 Merge branch 'clkfwk' commit cb5ec75b8b0410bba4ae612d13a2f26e938bc49c Author: Paul Mundt Date: Fri Jul 20 13:38:19 2007 +0900 sh: cpufreq: clock framework support. This gets the SH cpufreq working again. We follow the changes in the AVR32 implementation for wrapping in to the clock framework. CPUs that wish to use this are required to define rate rounding primitives in order to satisfy clk_round_rate(). This works well enough for the common case, though we should look at unifying this driver across all of the platforms that implement clock framework support in one capacity or another. Signed-off-by: Paul Mundt commit cbc5a069373264dec320e887835390132c69b951 Author: David S. Miller Date: Thu Jul 19 21:30:56 2007 -0700 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit fe04d7798f611bca333df27d44484bdd62eef53f Author: Paul Mundt Date: Fri Jul 20 13:30:07 2007 +0900 sh: Support rate rounding for SH7722 FRQCR clocks. Now that the round_rate() op is supported, hook it up on SH7722 for the FRQCR (CPU, PCLK, etc.) clocks. Signed-off-by: Paul Mundt commit 5a6eb676d3bc4d7a6feab200a92437b62ad298da Author: Soeren Sonnenburg Date: Fri Jul 20 00:29:32 2007 -0400 Input: appletouch - improve powersaving for Geyser3 devices The appletouch geyser3 devices found in the Intel Macs (and possibly some later PPC ones?) send a constant stream of packets after the first touch. This results in the kernel waking up around once every couple of milliseconds to process them, making it almost impossible to spend any significant amount of time in C3 state on a dynamic HZ kernel. Sending the mode initialization code makes the device shut up until it's touched again. This patch does so after receiving 10 packets with no interesting content. Signed-off-by: Soeren Sonnenburg Signed-off-by: Matthew Garrett Signed-off-by: Dmitry Torokhov commit e6b20d8d62d87451f41365945b27202d7dadaee6 Author: Dmitry Torokhov Date: Fri Jul 20 00:29:14 2007 -0400 Input: lifebook - fix an oops on Panasonic CF-18 Signed-off-by: Dmitry Torokhov commit f6991b0456416186b578d38717efcda2b012b79c Author: Paul Mundt Date: Fri Jul 20 13:29:09 2007 +0900 sh: Implement clk_round_rate() in the clock framework. This is an optional component of the clock framework. However, as we're going to be using this in the cpufreq drivers, add support for it to the framework. Signed-off-by: Paul Mundt commit 74121b699c7142cbf11b01212512a1824fbd5f19 Author: Fabio Massimo Di Nitto Date: Thu Jul 19 14:00:55 2007 -0700 [SPARC64]: Fix log message type in vio_create_one(). Signed-off-by: David S. Miller commit 5f7426c0e16dba118aa1b18f3c97c3d7adfb7540 Author: David S. Miller Date: Wed Jul 18 23:16:51 2007 -0700 [SPARC64]: Tweak assertions in sun4v_build_virq(). They are too strict. Signed-off-by: David S. Miller commit 2a26302164e0d26df94810ffa2eabcad0fc55c95 Author: David S. Miller Date: Wed Jul 18 21:18:50 2007 -0700 [SPARC64]: Tweak kernel log messages in power_probe(). Use KERN_INFO, add missing newline, etc. Signed-off-by: David S. Miller commit 91ba3c2128e9ee490a9f04bcd5b54749b18e4410 Author: David S. Miller Date: Wed Jul 18 15:15:45 2007 -0700 [SPARC64]: Fix handling of multiple vdc-port nodes. The "id" property in vdc-port nodes are not unique, they are all zero. Therefore assign ID's using the parent's "cfg-handle" property which will be unique. Signed-off-by: David S. Miller commit 48db7b7c50cdb06c85f0ff01b5c19ac34903048b Author: Fabio Massimo Di Nitto Date: Wed Jul 18 14:37:26 2007 -0700 [SPARC64]: Fix device type matching in VIO's devspec_show(). with the recent renames, we forgot to update the matches for devspec. This is required to keep udev working and autoload modules. Signed-off-by: David S. Miller commit da68e0814a83649f7063c33562f535b60396b566 Author: Fabio Massimo Di Nitto Date: Wed Jul 18 14:35:23 2007 -0700 [SPARC64]: Fix MODULE_DEVICE_TABLE() specification in VDC and VNET. Signed-off-by: David S. Miller commit bc5a2e64a185c4759a540becac34651443b2d2ab Author: David S. Miller Date: Wed Jul 18 14:28:59 2007 -0700 [SPARC]: Add sys_fallocate() entries. Signed-off-by: David S. Miller commit a376178011c9db0b704bb1f9b4719d873847362e Author: David S. Miller Date: Wed Jul 18 13:12:45 2007 -0700 [SPARC64]: Use orderly_poweroff(). Signed-off-by: David S. Miller commit 3f23de10f283819bcdc0d2282e8b5b14c2e96d3b Author: Stephen Rothwell Date: Thu May 3 02:38:57 2007 +1000 Create drivers/of/platform.c and populate it with the common parts from PowerPC and Sparc[64]. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit b41912ca345e6de8ec8469d57cd585881271e2b9 Author: Stephen Rothwell Date: Tue May 1 16:12:57 2007 +1000 Create linux/of_platorm.h Move common stuff from asm-powerpc/of_platform.h to here and move the common bits from asm-sparc*/of_device.h here as well. Create asm-sparc*/of_platform.h and move appropriate parts of of_device.h to them. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit 37b7754aab9a6ad7ecbba45c87f8d8a1f81b3bcc Author: Stephen Rothwell Date: Mon Apr 30 17:43:56 2007 +1000 [SPARC/64] Rename some functions like PowerPC This is to make the of merge easier. Also rename of_bus_type. Signed-off-by: Stephen Rothwell Acked-by: David S. Miller commit bd5f0d1c256fdf286fab358a04e87476e3535075 Author: Paul Mundt Date: Fri Jul 20 13:22:47 2007 +0900 sh: Fix up PCI section mismatch warnings. Flag pcibios_setup() and pcibios_fixup_bus() as __devinit. Follows the sh64 change. Signed-off-by: Paul Mundt commit beeea6d6a1f9c39fbda3abdd2c528ba90422e4bf Author: Paul Mundt Date: Fri Jul 20 13:14:07 2007 +0900 sh64: Fix up PCI section mismatch warnings. pcibios_fixup_bus() and pcibios_setup() should be __devinit. Signed-off-by: Paul Mundt commit f898f8dbcec4848cddb8c5be2d0affd75779ebe2 Author: Stephen Rothwell Date: Tue May 1 16:49:51 2007 +1000 Begin consolidation of of_device.h This just moves the common stuff from the arch of_device.h files to linux/of_device.h. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit f85ff3056cefdf4635ebf98b30e9a7d86521567f Author: Stephen Rothwell Date: Tue May 1 16:40:36 2007 +1000 Begin to consolidate of_device.c This moves all the common parts for the Sparc, Sparc64 and PowerPC of_device.c files into drivers/of/device.c. Apart from the simple move, Sparc gains of_match_node() and a call to of_node_put in of_release_dev(). PowerPC gains better recovery if device_create_file() fails in of_device_register(). Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit 207a130540b045d2dc7ce7becaa7a687b81548b9 Author: Paul Mundt Date: Fri Jul 20 12:39:54 2007 +0900 sh64: Update cayman defconfig. Signed-off-by: Paul Mundt commit 1ef4d4242d9c494c49ae1ae66dc938fce0272816 Author: Stephen Rothwell Date: Tue Apr 24 17:57:33 2007 +1000 Consolidate of_find_node_by routines This consolidates the routines of_find_node_by_path, of_find_node_by_name, of_find_node_by_type and of_find_compatible_device. Again, the comparison of strings are done differently by Sparc and PowerPC and also these add read_locks around the iterations. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit a13c16e847ee50d77546cffa596d3c573b3270b7 Author: Paul Mundt Date: Fri Jul 20 12:37:51 2007 +0900 sh64: Wire up fallocate() syscall. Signed-off-by: Paul Mundt commit d1cd355a5e44dfe993efc0c0458ca9f99a28a9a3 Author: Stephen Rothwell Date: Tue Apr 24 17:21:29 2007 +1000 Consolidate of_get_next_child This adds a read_lock around the child/next accesses on Sparc. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit e679c5f445fe142940e0962de9c5c82f10d9357c Author: Stephen Rothwell Date: Tue Apr 24 17:16:16 2007 +1000 Consolidate of_get_parent This requires creating dummy of_node_{get,put} routines for sparc and sparc64. It also adds a read_lock around the parent accesses. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit 581b605a83ec241a2aff8ef780e08b9414c8dfd8 Author: Stephen Rothwell Date: Tue Apr 24 16:46:53 2007 +1000 Consolidate of_find_property The only change here is that a readlock is taken while the property list is being traversed on Sparc where it was not taken previously. Also, Sparc uses strcasecmp to compare property names while PowerPC uses strcmp. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit 0081cbc3731de8ad4744ba433af51f17bf27eb9c Author: Stephen Rothwell Date: Tue May 1 16:29:19 2007 +1000 Consolidate of_device_is_compatible The only difference here is that Sparc uses strncmp to match compatibility names while PowerPC uses strncasecmp. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit 97e873e5c8ad8711ce4cca080cff4eb5d21b3aeb Author: Stephen Rothwell Date: Tue May 1 16:26:07 2007 +1000 Start split out of common open firmware code This creates drivers/of/base.c (depending on CONFIG_OF) and puts the first trivially common bits from the prom.c files into it. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit 0c99adb0a6dfe292842a8142b48e494d7731f5fe Author: Paul Mundt Date: Fri Jul 20 12:27:09 2007 +0900 sh: Wire up fallocate() syscall. Signed-off-by: Paul Mundt commit 39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb Author: Magnus Damm Date: Fri Jul 20 12:10:29 2007 +0900 sh: intc - add support for 7780 This patch converts the cpu specific 7780 setup code to use the new intc controller. Many new vectors are added and also support for external interrupt sense configuration. So with this patch it is now possible to configure external interrupt pins as edge or level triggered using set_irq_type(). No external interrupts are registered by default. Use plat_irq_setup_pins() to select between IRQ or IRL mode. This patch also fixes the Alarm IRQ for the RTC. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 680c45981ae2b4029878806d76aa17bb62d3c674 Author: Magnus Damm Date: Fri Jul 20 12:09:29 2007 +0900 sh: intc - improve group support This patch improves intc group support, ie it makes it possible to group interrupts together and mask / unmask the entire group. This also works with priorities, so setting a priority for an entire group is also possible. This patch is needed to properly support certain processors such as the 7780. Fixes for NULL pointers in DECLARE_INTC_DESC() are also included. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit d0afa579698f33a65bc5c21d3d667dbb46f9e440 Author: Paul Mundt Date: Wed Jul 18 18:55:25 2007 +0900 sh: Fix up SH-3 and SH-4 driver dependencies. Both shwdt and rtc-sh are only supported on SH-3 and SH-4 at the moment, don't allow them to break the SH-2 and SH-5 (sh64) builds. Signed-off-by: Paul Mundt commit e5e3dfc80a7380abe101d5b5d5266bed2691de1d Author: Paul Mundt Date: Wed Jul 18 18:54:09 2007 +0900 sh: push-switch: Correct license string. This was accidentally set as "GPLv2", whereas the kernel expects v2 to be written "GPL v2", this caused complaints regarding the use of the platform device APIs when built as a module. Signed-off-by: Paul Mundt commit 792e947a29da618d0945048bd257f354f8a1dc89 Author: Paul Mundt Date: Wed Jul 18 18:53:09 2007 +0900 sh: cpufreq: Fix driver dependencies and flag as broken. This is only supported on SH-4, so don't expose it for the other CPUs. Additionally, it's suffered some bitrot, so add a BROKEN dependency as well until we fix it up. Signed-off-by: Paul Mundt commit 90015c89386ffb8967422fbe9f5e7babf1dc2c5e Author: Magnus Damm Date: Wed Jul 18 17:57:34 2007 +0900 sh: IPR/INTC2 IRQ setup consolidation. This patch unifies the cpu specific interrupt setup functions for interrupt controller blocks such as ipr, intc2 and intc. There is no point in having separate functions for each interrupt controller, so let's clean this up. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 493a358e0a8992ec13098dd084223b55b05a7f03 Author: Magnus Damm Date: Wed Jul 18 17:54:10 2007 +0900 sh: clean up interrupt code for solution engine 7722 board This patch cleans up solution engine 7722 specific interrupt code. The main purpose is to replace the mux function with use of set_irq_chained_handler() and replace hard coded register poking code with set_irq_type(). The board specific interrupts are also moved to start from SE7722_FPGA_IRQ_BASE. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 1b06428ee56fadedd004bfc5e3fbb39fb8c99010 Author: Magnus Damm Date: Wed Jul 18 17:51:24 2007 +0900 sh: intc - add support for 7722 processor This patch converts the cpu specific 7722 setup code to use the new intc controller. Many new vectors are added and also support for external interrupt sense configuration. So with this patch it is now possible to configure external interrupt pins as edge or level triggered using set_irq_type(). Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 02ab3f70791f7d5c9098acaa31a72dd7d0961cb0 Author: Magnus Damm Date: Wed Jul 18 17:25:09 2007 +0900 sh: intc - shared IPR and INTC2 controller This is the second version of the shared interrupt controller patch for the sh architecture, fixing up handling of intc_reg_fns[]. The three main advantages with this controller over the existing ones are: - Both priority (ipr) and bitmap (intc2) registers are supported - External pin sense configuration is supported, ie edge vs level triggered - CPU/Board specific code maps 1:1 with datasheet for easy verification This controller can easily coexist with the current IPR and INTC2 controllers, but the idea is that CPUs/Boards should be moved over to this controller over time so we have a single code base to maintain. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 53aba19f82045c1df838570b8484043e93c4442a Author: Magnus Damm Date: Tue Jul 17 18:10:11 2007 +0900 sh: Fix irq assignment for uarts on sh7722 This patch contains two serial port related fixes for sh7722: - Make sure the irqs for the first serial port is correct - Add the second and third serial port to the platform data Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt commit 4aafae27d0ce73f8507b8983b36006b734aa343a Author: Kristoffer Ericson Date: Tue Jul 17 13:52:38 2007 +0900 sh: hd64461 tidying. Kill off the hd64461 io.c, as all of the hd64461 users are now using the generic I/O routines. [ hd64461/ moved to hd64461.c by Paul ] Signed-off-by: Kristoffer Ericson Signed-off-by: Paul Mundt commit e6c972f21828f16d12704e5cf67d6f79c26cb53b Author: Yoshihiro Shimoda Date: Tue Jul 17 13:38:54 2007 +0900 sh: r7780rp: Add R8A66597 and M66592 support. This wires up the platform devices for the USB expansion boards for the Highlander boards. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Paul Mundt commit 76c1ce7870fd9b05431da1bbd47fdafcc029a25b Author: Stephen Rothwell Date: Tue May 1 16:19:07 2007 +1000 Split out common parts of prom.h This creates linux/of.h and includes asm/prom.h from it. We also include linux/of.h from asm/prom.h while we transition. Signed-off-by: Stephen Rothwell Acked-by: Paul Mackerras Acked-by: David S. Miller commit 9a79b2274186fade17134929d4f85b70d59a3840 Merge: 75473c1... 20c2df8... Author: Linus Torvalds Date: Thu Jul 19 18:38:13 2007 -0700 Merge branch 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6 * 'kmem_death' of master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: mm: Remove slab destructors from kmem_cache_create(). commit 75473c1d3930896bbabcc99bb58fafd53ef42473 Author: Al Viro Date: Fri Jul 20 02:01:16 2007 +0100 fallout from kbuild changes Change in 'kbuild: do section mismatch check on full vmlinux' should've been replicated in arch/um/Makefile. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac Author: Paul Mundt Date: Fri Jul 20 10:11:58 2007 +0900 mm: Remove slab destructors from kmem_cache_create(). Slab destructors were no longer supported after Christoph's c59def9f222d44bb7e2f0a559f2906191a0862d7 change. They've been BUGs for both slab and slub, and slob never supported them either. This rips out support for the dtor pointer from kmem_cache_create() completely and fixes up every single callsite in the kernel (there were about 224, not including the slab allocator definitions themselves, or the documentation references). Signed-off-by: Paul Mundt commit d20da3c39b9d5b04f0258ba74643533268f56e30 Author: S.Caglar Onur Date: Mon Jul 16 13:41:45 2007 +0300 USB: drivers/usb/storage/dpcm.c whitespace cleanup Following trivial patch converts smarttabs/whitespaces into real tabs. Signed-off-by: S.Caglar Onur Signed-off-by: Greg Kroah-Hartman commit e294531dc9f2c1f5291373dcdd5013c0cdcbdee2 Author: Yoshihiro Shimoda Date: Wed Jul 18 23:10:34 2007 +0900 USB: r8a66597-hcd: fixes some problem This patch incorporates some updates. Updates include: - Fix the problem that control transfer might fail - Change from GFP_KERNEL to GFP_ATOMIC - Clean up some coding style issue Signed-off-by: Yoshihiro Shimoda Signed-off-by: Greg Kroah-Hartman commit 809a58b896ba07e771adc76a47c83e4ca1969da8 Author: Alan Stern Date: Wed Jul 18 12:14:24 2007 -0400 USB: change name of spinlock in hcd.c This patch (as940 renames hcd_data_lock in hcd.c to hcd_urb_list_lock, which is more descriptive of the lock's job. It also introduces a convenient inline routine for testing whether a particular USB device is a root hub. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 32aca5600526189dd876e6c92b64fd88cf052c8d Author: Alan Stern Date: Wed Jul 18 12:08:02 2007 -0400 USB: move routines in hcd.c This patch (as939) moves a couple of routine in hcd.c around. The purpose is to put all the general URB- and endpoint-related routines (submit, unlink, giveback, and disable) together in one spot. There are no functional changes. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 82210d377468f59745303b96473e30e60b33434d Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: uss720: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 59d99785a9f8294f9e38ac677df8526e44462f66 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: usbtest: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 0723af13bf5c6710af99531fc4862622f3c2d637 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: usblcd: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit a95a03811beb4ac4b9ac4a39486b912d07d64d64 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: phidgetmotorcontrol: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 2fe8c3f1538e8db2b853f10480584679b0c336f1 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: phidgetkit: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 64771a0f19320f73ab4be69db591ba51a17d7748 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: legousbtower: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 491c021e0beafe4146f6a1c9a1c58bd0fb2a42d0 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: ldusb: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit fb3abee69de583180348b9029378e31574c31cfd Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: iowarrior: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 84346269f9a05e66ff2973916776a080d566f9ab Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: ftdi-elan: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 22bea334c941bcece2ddcc79201de4437803e3a5 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: auerswald: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 13f9782d8e2e6a20e5fc44dd758d5747fdfd76ab Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: appledisplay: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 24497a00114ef42a752d614635168db9e2192f5e Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: misc: adtux: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 3fc3e8269fa5c1f35b518dbe18dc48acef3c7684 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: core: message: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit b44cd112a0400d5eb381f3c1a1e7a6925911c835 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: image: microtek: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit dd6fa4d755fb1e2822406ab8ce3d28db217acc01 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: image: mdc800: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 62e5a330dc1354d98f73a82f3d13517805f061f6 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: storage: onetouch: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 18ac3016055b58d676f6148a77dcf539d05ce215 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: class: usblp: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 185d40587d22fe604962fb53c0c9a9f1670feb66 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: class: cdc-acm: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 33fea2b2f523251d29619641451bfebdc35f4950 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: atm: usbatm: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 508330ebdacb3df07ee2a75aee8caf2c205befc8 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: atm: ueagle-atm: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit 9a5a3e95b49c93813476974abaa038c9d36bdd14 Author: Greg Kroah-Hartman Date: Wed Jul 18 10:58:02 2007 -0700 USB: atm: speedtch: clean up urb->status usage This done in anticipation of removal of urb->status, which will make that patch easier to review and apply in the future. Signed-off-by: Greg Kroah-Hartman commit c35f68a05d0916e89ae2aab1a456f96fea9190cd Author: Greg Kroah-Hartman Date: