commit a0f067802576d4eb4c65d40b8ee7d6ea3c81dd61 tree c0172bf5d2a25e5658ba882cbf5d11468d6bdf53 parent ce362c009250340358a7221f3cdb7954cbf19c01 author Jeff Garzik Thu, 30 Mar 2006 23:06:13 -0500 committer Linus Torvalds Thu, 30 Mar 2006 22:16:24 -0800 [PATCH] splice exports Woe be unto he who builds their filesystems as modules. Signed-off-by: Jeff Garzik [ Obscure quote from the infamous geek bible? ] Signed-off-by: Linus Torvalds commit ce362c009250340358a7221f3cdb7954cbf19c01 tree 38b4700e51d3cce214690e7882069e0e12abf8d4 parent 064c94f9da8845f12446ab37142aa10f3c6f66ac parent cd7a9202a5a6e7712df2b80ed5ebd7b078130fc3 author Linus Torvalds Thu, 30 Mar 2006 15:04:13 -0800 committer Linus Torvalds Thu, 30 Mar 2006 15:04:13 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: (24 commits) [PARISC] Fix double free when removing HIL drivers [PARISC] Add atomic_sub_and_test [PARISC] Enabled some NLS modules in a500, b180 and c3000 defconfigs [PARISC] Kill duplicated EXPORT_SYMBOL warnings [PARISC] Move ioremap EXPORT_SYMBOL from parisc_ksyms.c [PARISC] Make local_t use atomic_long_t [PARISC] Update defconfigs [PARISC] Add PREEMPT support [PARISC] More useful readwrite lock helpers [PARISC] Convert HIL drivers to use input_allocate_device [PARISC] Fixup CONFIG_EISA a bit [PARISC] getsockopt should be ENTRY_COMP [PARISC] Remove obsolete CONFIG_DEBUG_IOREMAP [PARISC] Temporary FIXME for ioremapping EISA regions [PARISC] Enable ioremap functionality unconditionally [PARISC] Fix stifb with IOREMAP and a 64-bit kernel [PARISC] Add CONFIG_HPPA_IOREMAP to conditionally enable ioremap [PARISC] Add STRICT_MM_TYPECHECKS [PARISC] Fix IOREMAP with a 64-bit kernel [PARISC] Add parisc implementation of flush_kernel_dcache_page() ... commit 064c94f9da8845f12446ab37142aa10f3c6f66ac tree 974a69a06e7f9218ad987e41fc6627d62eac091e parent 256414dee44eaa0983f5ab1a71877de23c4e9ce7 parent 618a3c03fcfdf1ac4543247c8ddfb0c9d775ff33 author Linus Torvalds Thu, 30 Mar 2006 14:32:38 -0800 committer Linus Torvalds Thu, 30 Mar 2006 14:32:38 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: IB/mad: RMPP support for additional classes IB/mad: include GID/class when matching receives IB/mthca: Fix section mismatch problems IPoIB: Fix oops with raw sockets IB/mthca: Fix check of size in SRQ creation IB/srp: Fix unmapping of fake scatterlist commit 256414dee44eaa0983f5ab1a71877de23c4e9ce7 tree 770768cdd6ff6324f55fd305cb26109e89322fb0 parent 63e8d9114dab88c101be2372cb1f83a4fe74d9c1 parent 55d8ca4f8094246da6e71889a4e04bfafaa78b10 author Linus Torvalds Thu, 30 Mar 2006 14:29:20 -0800 committer Linus Torvalds Thu, 30 Mar 2006 14:29:20 -0800 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: [PATCH] sata_mv: three bug fixes [PATCH] libata: ata_dev_init_params() fixes [PATCH] libata: Fix interesting use of "extern" and also some bracketing [PATCH] libata: Simplex and other mode filtering logic [PATCH] libata - ATA is both ATA and CFA [PATCH] libata: Add ->set_mode hook for odd drivers [PATCH] libata: BMDMA handling updates [PATCH] libata: kill trailing whitespace [PATCH] libata: add FIXME above ata_dev_xfermask() [PATCH] libata: cosmetic changes in ata_bus_softreset() [PATCH] libata: kill E.D.D. commit 63e8d9114dab88c101be2372cb1f83a4fe74d9c1 tree 424e8f1bdc1daf12ad83a64958156245cd9f1de8 parent d1127e40e8d75cd3855e35424937c73d0bcec558 parent 55eb061326765b2d0489387cfb3fc7dbd244f917 author Linus Torvalds Thu, 30 Mar 2006 14:26:27 -0800 committer Linus Torvalds Thu, 30 Mar 2006 14:26:27 -0800 Merge branch 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 * 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: drm: remove drm_{alloc,free}_pages drm: sis fix compile warning drm: add new radeon PCI ids.. drm: read breadcrumb in IRQ handler drm: fixup i915 breadcrumb read/write drm: remove pointless checks in radeon_state drm: fixup improper cast. drm: rationalise some pci ids drm: Add general-purpose packet for manipulating scratch registers (r300) drm: rework radeon memory map (radeon 1.23) drm: update r300 register names drm: fixup PCI DMA support commit d1127e40e8d75cd3855e35424937c73d0bcec558 tree 093f020e971827c63d3eed1d646022c581ded2ea parent 5abc97aa25b2c41413b3a520faee83f2282d9f18 parent c1c57d767100417f63c18da52d7e96f82b2b9e1a author Linus Torvalds Thu, 30 Mar 2006 12:38:18 -0800 committer Linus Torvalds Thu, 30 Mar 2006 12:38:18 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: [IA64] ioremap() should prefer WB over UC [IA64] Add __mca_table to the DISCARD list in gate.lds [IA64] Move __mca_table out of the __init section [IA64] simplify some condition checks in iosapic_check_gsi_range [IA64] correct some messages and fixes some minor things [IA64-SGI] fix for-loop in sn_hwperf_geoid_to_cnode() [IA64-SGI] sn_hwperf use of num_online_cpus() [IA64] optimize flush_tlb_range on large numa box [IA64] lazy_mmu_prot_update needs to be aware of huge pages commit 5abc97aa25b2c41413b3a520faee83f2282d9f18 tree 4ba13ae0e91f15d02986df7cdca5e9455212d7d4 parent 5274f052e7b3dbd81935772eb551dfd0325dfa9d author Jens Axboe Thu, 30 Mar 2006 15:16:46 +0200 committer Linus Torvalds Thu, 30 Mar 2006 12:28:18 -0800 [PATCH] splice: add support for SPLICE_F_MOVE flag This enables the caller to migrate pages from one address space page cache to another. In buzz word marketing, you can do zero-copy file copies! Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 5274f052e7b3dbd81935772eb551dfd0325dfa9d tree c79f813ec513660edb6f1e4a75cb366c6b84f53f parent 5d4fe2c1ce83c3e967ccc1ba3d580c1a5603a866 author Jens Axboe Thu, 30 Mar 2006 15:15:30 +0200 committer Linus Torvalds Thu, 30 Mar 2006 12:28:18 -0800 [PATCH] Introduce sys_splice() system call This adds support for the sys_splice system call. Using a pipe as a transport, it can connect to files or sockets (latter as output only). From the splice.c comments: "splice": joining two ropes together by interweaving their strands. This is the "extended pipe" functionality, where a pipe is used as an arbitrary in-memory buffer. Think of a pipe as a small kernel buffer that you can use to transfer data from one end to the other. The traditional unix read/write is extended with a "splice()" operation that transfers data buffers to or from a pipe buffer. Named by Larry McVoy, original implementation from Linus, extended by Jens to support splicing to files and fixing the initial implementation bugs. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit cd7a9202a5a6e7712df2b80ed5ebd7b078130fc3 tree c7e2504dd6de0d2412815dce658468f7add77173 parent 4da9f131a74d12de56c44da6d522a9116da06805 author Kyle McMartin Thu, 30 Mar 2006 11:47:32 -0500 committer Kyle McMartin Thu, 30 Mar 2006 17:48:59 +0000 [PARISC] Fix double free when removing HIL drivers On Thu, Mar 30, 2006 at 08:31:02AM -0500, Dmitry Torokhov wrote: > Don't do that, its double free. input_unregister_device() normally > causes release() to be called and free the device. input_free_device > is only to be called when input_register_device has not been called or > failed. > > Plus you might want to unregister device after closing serio port, > otherwise your interrupt routine might be referencing already freed > memory. Signed-off-by: Kyle McMartin commit 4da9f131a74d12de56c44da6d522a9116da06805 tree 920ca1331e8d1a4658fb44269c4d6ebbbc30a390 parent a2d33807061133c8bb5cf515eec16e6900f26bc6 author Kyle McMartin Wed, 29 Mar 2006 19:47:32 -0500 committer Kyle McMartin Thu, 30 Mar 2006 17:48:59 +0000 [PARISC] Add atomic_sub_and_test Define atomic_sub_and_test to fix build failures. Signed-off-by: Kyle McMartin commit a2d33807061133c8bb5cf515eec16e6900f26bc6 tree 462728c556b9c49c94d8638cb89d24300892c28f parent 8ace5ff0a6d6674a2cf7a58fc573e599f2dd2090 author Stuart Brady Wed, 29 Mar 2006 13:11:25 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:58 +0000 [PARISC] Enabled some NLS modules in a500, b180 and c3000 defconfigs With c3000_defconfig and b180_defconfig, FAT couldn't be used because no NLS modules were built. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit 8ace5ff0a6d6674a2cf7a58fc573e599f2dd2090 tree 8e1bac737d792bba0a3358bbbe11dafe5582c07e parent d345fd362b1a8b14cc2dacf6a10c28b1962759d3 author Kyle McMartin Wed, 29 Mar 2006 15:21:12 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:58 +0000 [PARISC] Kill duplicated EXPORT_SYMBOL warnings Some symbols are exported both in parisc_ksyms.c, and at their definition site. Nuke the redundant EXPORT_SYMBOL in ksyms to quiet warnings when vmlinux is linked. Signed-off-by: Kyle McMartin commit d345fd362b1a8b14cc2dacf6a10c28b1962759d3 tree 943daff53a2347cb9593b51285e2642181833f13 parent 2746ae14fe55f9483ae94ef89d4495d0eb8ee03d author Kyle McMartin Wed, 29 Mar 2006 15:18:32 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:57 +0000 [PARISC] Move ioremap EXPORT_SYMBOL from parisc_ksyms.c Move ioremap/iounmap EXPORT_SYMBOL to ioremap.c where they belong. Signed-off-by: Kyle McMartin commit 2746ae14fe55f9483ae94ef89d4495d0eb8ee03d tree a029c1f0c17a2330e92108693ffd1b5260941059 parent 6f0b45152d458f86f11e8a601735af1c352e6f6c author Kyle McMartin Wed, 29 Mar 2006 07:04:49 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:56 +0000 [PARISC] Make local_t use atomic_long_t As done in asm-generic/local.h in mainline. Otherwise local_t was 32-bit even on a 64-bit kernel. Signed-off-by: Kyle McMartin commit 6f0b45152d458f86f11e8a601735af1c352e6f6c tree 34aab600a8a95b134532c9f9d9dc7b9dd65b5519 parent 50a34dbd612925f2ec55b1781632835ef36b97d5 author Helge Deller Sun, 26 Mar 2006 11:19:46 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:55 +0000 [PARISC] Update defconfigs Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 50a34dbd612925f2ec55b1781632835ef36b97d5 tree 1624f33bdbdd367efb8fadebe80da7db275ea1e6 parent bc8846c522264d2522b0082321ec8c2051a4536f author Kyle McMartin Fri, 24 Mar 2006 21:24:21 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:54 +0000 [PARISC] Add PREEMPT support Signed-off-by: Kyle McMartin commit bc8846c522264d2522b0082321ec8c2051a4536f tree a35d34fef7473635b58f4de04d50c5c897e74ce3 parent 102c8c76f787add0790406d5c47e03cb6f8765c2 author Kyle McMartin Fri, 24 Mar 2006 21:22:02 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:53 +0000 [PARISC] More useful readwrite lock helpers spinlock.c needs _can_lock helpers. Rewrite _is_locked helpers to be _can_lock helpers. Signed-off-by: Kyle McMartin commit 102c8c76f787add0790406d5c47e03cb6f8765c2 tree fc61e0f94c48b051bd12590abd085e12d14e8ef1 parent 10267cdd0c2dee46a3f59d93fbfac7229d416dba author Helge Deller Sun, 26 Mar 2006 07:41:55 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:53 +0000 [PARISC] Convert HIL drivers to use input_allocate_device Convert HIL drivers to use input_allocate_device() - avoids crashes. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 10267cdd0c2dee46a3f59d93fbfac7229d416dba tree 4057b966c302bef27be70a5cb0331317408298db parent b29eac43023bb1b62081efa878c3cf72cb39c437 author Helge Deller Sun, 26 Mar 2006 01:54:16 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:52 +0000 [PARISC] Fixup CONFIG_EISA a bit Fix up some ISA/EISA stuff. (Note: isa_ accessors have been removed from asm/io.h) Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit b29eac43023bb1b62081efa878c3cf72cb39c437 tree 8ecb13c2446405c6e3c3ca8f553156510f0a48fb parent a41d3862dfd44a1b09a0f6243bb34773061fd9a2 author Kyle McMartin Sun, 19 Feb 2006 11:02:50 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:51 +0000 [PARISC] getsockopt should be ENTRY_COMP compat_sys_getsockopt exists, so we should use that, instead of directly using sys_getsockopt on 64-bit compiles. Signed-off-by: Kyle McMartin commit a41d3862dfd44a1b09a0f6243bb34773061fd9a2 tree a290e1f3da6bc28cea62f9010482e962c50e3e32 parent cb4ab59cd6136f6ad6b3513054ac969fea02dfc6 author Helge Deller Thu, 23 Mar 2006 01:07:00 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:50 +0000 [PARISC] Remove obsolete CONFIG_DEBUG_IOREMAP Remove CONFIG_DEBUG_IOREMAP, it's now obsolete and won't work anyway. Remove it from lib/KConfig since it was only available on parisc. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit cb4ab59cd6136f6ad6b3513054ac969fea02dfc6 tree ba98f94097906f75f518a696df86ff3c48908edc parent 29ef8295327653ff09a56285c35213cd31fa54b3 author Helge Deller Thu, 23 Mar 2006 00:40:10 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:49 +0000 [PARISC] Temporary FIXME for ioremapping EISA regions Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 29ef8295327653ff09a56285c35213cd31fa54b3 tree f438a0a36fcde67c3ea6db45b1400c29eb9366be parent 857600c77161fd36e30cd6bcca9a0a8676036323 author Helge Deller Thu, 23 Mar 2006 00:32:46 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:48 +0000 [PARISC] Enable ioremap functionality unconditionally Enable CONFIG_HPPA_IOREMAP by default and remove all now unnecessary code. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 857600c77161fd36e30cd6bcca9a0a8676036323 tree bef75f9f9a2bebd9fc084b8a15064bdce1a45aef parent b8ce0aadcdebbaf5ec013c57e2a0803060817bcc author Helge Deller Wed, 22 Mar 2006 15:19:46 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:47 +0000 [PARISC] Fix stifb with IOREMAP and a 64-bit kernel Kill various warnings when built using ioremap. Remove stifb_{read,write} functions, which are now obsolete (and stack abusers!) Disable stifb mmap() functionality on a 64-bit kernel, it will crash the machine. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit b8ce0aadcdebbaf5ec013c57e2a0803060817bcc tree c910b16935911a5cfaee98b5e6040fe6e1918fd9 parent b31059f7634931a06f6811247ae9217d1a833a46 author Helge Deller Tue, 07 Mar 2006 14:12:13 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:46 +0000 [PARISC] Add CONFIG_HPPA_IOREMAP to conditionally enable ioremap Instead of making it a #define in asm/io.h, allow user to select to turn on IOREMAP from the config menu. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit b31059f7634931a06f6811247ae9217d1a833a46 tree 916b5f3b8e76f7ae1ee8b6820d344d2f5326250d parent b9e71ac13a71bb435a4146d868080f5389bb906c author Helge Deller Thu, 23 Mar 2006 15:48:15 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:45 +0000 [PARISC] Add STRICT_MM_TYPECHECKS Add STRICT_MM_TYPECHECKS to page.h as other architectures do. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit b9e71ac13a71bb435a4146d868080f5389bb906c tree 68765e7759f5c5fb315d40a65c3a1795ff9614f8 parent ba57583396585a1ca509e2a84d970a2ff3f9bbfb author Helge Deller Tue, 21 Mar 2006 16:01:15 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:44 +0000 [PARISC] Fix IOREMAP with a 64-bit kernel We were only copying 32-bits of the PTE/PFN, not the full 52-bits. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit ba57583396585a1ca509e2a84d970a2ff3f9bbfb tree 29568b37c8f4af9edc86d702a98713b0f016c78a parent ab43227c8a568119a3aebc952a95ac3023e1730d author James Bottomley Wed, 22 Mar 2006 09:42:04 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:44 +0000 [PARISC] Add parisc implementation of flush_kernel_dcache_page() We need to do a little renaming of our original syntax because of the difference in arguments. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit ab43227c8a568119a3aebc952a95ac3023e1730d tree f387220ee827f61e18c53c0143be7068ecaa5d61 parent 5076c15862644edb91d2e3436b2fa3e07b28385d author James Bottomley Wed, 22 Mar 2006 08:28:59 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:43 +0000 [PARISC] Add parisc implementation of flush_anon_page() This should now allow SG_IO and fuse to function correctly on our platform. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit 5076c15862644edb91d2e3436b2fa3e07b28385d tree 179750a6a7649c8cf233509c26da144764894ded parent 94c3e87a792c70d041954b0ef68ebd22368d0931 author Helge Deller Mon, 27 Mar 2006 12:52:15 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:42 +0000 [PARISC] I/O-Space must be ioremap_nocache()'d Addresses in F-space must be accessed uncached on most parisc machines. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 94c3e87a792c70d041954b0ef68ebd22368d0931 tree f35c5698cb20fdb6e5158a18ecb5f08e1dbaab2f parent a81dd18eb974cc34634c53a6447b2799ec0c3158 author Helge Deller Tue, 07 Mar 2006 13:34:45 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:41 +0000 [PARISC] Enable free_initrd_mem() I think it's time to enable free_initrd_mem() again... Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit a81dd18eb974cc34634c53a6447b2799ec0c3158 tree e607fe41c0c8a754d679b5d787feb0afbae3da94 parent 5d4fe2c1ce83c3e967ccc1ba3d580c1a5603a866 author Thibaut VARENE Fri, 03 Feb 2006 18:06:30 -0700 committer Kyle McMartin Thu, 30 Mar 2006 17:48:41 +0000 [PARISC] Clarify pdc_stable license terms pdc_stable.c is explicitly licensed under GPL version 2. Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit c1c57d767100417f63c18da52d7e96f82b2b9e1a tree c8427f85c043e50845b3226699fcf6c16d380b05 parent 3283a67d8618c9a292eced23e8753ab64adc6dba author Bjorn Helgaas Thu, 30 Mar 2006 09:53:39 -0700 committer Tony Luck Thu, 30 Mar 2006 09:05:41 -0800 [IA64] ioremap() should prefer WB over UC efi_memmap_init() collects full granules of WB memory, without regard for whether they also support UC. So in order for ioremap() to work for main memory, it must prefer WB mappings when possible. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit 3283a67d8618c9a292eced23e8753ab64adc6dba tree b46c784c8b6cca63b8878f8838fa3bbf1604280f parent d89cfe7f1e82d758a7983584c1593795d4e2c098 author Jes Sorensen Thu, 30 Mar 2006 10:13:22 -0500 committer Tony Luck Thu, 30 Mar 2006 09:04:19 -0800 [IA64] Add __mca_table to the DISCARD list in gate.lds Add __mca_table to the DISCARD list for the gate.lds linker script to avoid broken linker references when linking the final vmlinux file. Also add comment to include/asm-ia64/asmmacros.h to avoid anyone else hitting this problem in the future. Credits to James Bottomley for spotting the DISCARD list in gate.lds.S Signed-off-by: Jes Sorensen Signed-off-by: Tony Luck commit 618a3c03fcfdf1ac4543247c8ddfb0c9d775ff33 tree 9b3c0baf53f0fcab01848b7816aace785afd8a94 parent fa9656bbd9af5b95adc43eaa0a143992346378cb author Hal Rosenstock Tue, 28 Mar 2006 16:40:04 -0800 committer Roland Dreier Thu, 30 Mar 2006 07:19:51 -0800 IB/mad: RMPP support for additional classes Add RMPP support for additional management classes that support it. Also, validate RMPP is consistent with management class specified. Signed-off-by: Hal Rosenstock Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit fa9656bbd9af5b95adc43eaa0a143992346378cb tree 100d516324208e1a4a65b77e86bcbc94f5ef0db9 parent e1f7868c80947d40ef8e1fd37323d939a9bf311c author Jack Morgenstein Tue, 28 Mar 2006 16:39:07 -0800 committer Roland Dreier Thu, 30 Mar 2006 07:19:48 -0800 IB/mad: include GID/class when matching receives Received responses are currently matched against sent requests based on TID only. According to the spec, responses should match based on the combination of TID, management class, and requester LID/GID. Without the additional qualification, an agent that is responding to two requests, both of which have the same TID, can match RMPP ACKs with the incorrect transaction. This problem can occur on the SM node when responding to SA queries. Signed-off-by: Jack Morgenstein Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 55d8ca4f8094246da6e71889a4e04bfafaa78b10 tree fd6a562c93363ea11952e818e16cd080fac8caba parent 00b6f5e9e04b2186a71a5892640bb2d8e09a030e parent 63af2a5c5990d95f1e7d8795f1425fb976ea2b4b author Jeff Garzik Wed, 29 Mar 2006 19:43:31 -0500 committer Jeff Garzik Wed, 29 Mar 2006 19:43:31 -0500 Merge branch 'mv-merge' Conflicts: drivers/scsi/sata_mv.c commit 63af2a5c5990d95f1e7d8795f1425fb976ea2b4b tree ea1a7dbe399b200aa6df8a826be206f84eb60ae2 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Mark Lord Wed, 29 Mar 2006 09:50:31 -0500 committer Jeff Garzik Wed, 29 Mar 2006 19:40:24 -0500 [PATCH] sata_mv: three bug fixes (1) A DMA transfer size of 0x10000 was not being written as 0x0000 in the PRDs. Fixed. (1) The DEV_IRQ interrupt cause bit happens spuriously during EDMA operation, and was not being ignored by the driver. This led to various "drive busy" errors being reported, with associated unpredictable behaviour. Fixed. (2) If a SATA or PCI interrupt was received with no outstanding command, the interrupt handler still attempted to invoke ata_qc_complete(), triggering assert()/BUG_ON() behaviour elsewhere in libata. Fixed. The driver still has issues with confusion after error-recovery, but should now be reliable in the absence of drive errors. I will be looking more into the error-handling bugs next. Signed-Off-By: Mark Lord Signed-off-by: Jeff Garzik commit 00b6f5e9e04b2186a71a5892640bb2d8e09a030e tree f486ef99a0a7e5db563176eda559a8a332297df1 parent 17efc5f7237995295cbe008828788d187fea3c88 author Albert Lee Mon, 27 Mar 2006 16:39:18 +0800 committer Jeff Garzik Wed, 29 Mar 2006 19:30:28 -0500 [PATCH] libata: ata_dev_init_params() fixes ata_dev_init_params() fixes: - Get the "heads" and "sectors" parameters from caller instead of implicitly from dev->id[]. - Return AC_ERR_INVALID instead of 0 if an invalid parameter is found Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 17efc5f7237995295cbe008828788d187fea3c88 tree 161aff3167407186babfec501076a1c98716a314 parent 5444a6f405618706eddbe1605ef8533b1b655764 author Alan Cox Mon, 27 Mar 2006 19:01:32 +0100 committer Jeff Garzik Wed, 29 Mar 2006 19:30:28 -0500 [PATCH] libata: Fix interesting use of "extern" and also some bracketing Signed-off-by: Alan Cox Last of the set, just clean up some oddments. Assuming the whole set is now ok then the remaining differences are the setup of PIO_0 at reset and the ->data_xfer method. Signed-off-by: Jeff Garzik commit 5444a6f405618706eddbe1605ef8533b1b655764 tree 9265a1e65563add47a9fe5f1ddae44d6dd0742e3 parent 692785e798f341c057ff976c35a3d86ad5af8ac6 author Alan Cox Mon, 27 Mar 2006 18:58:20 +0100 committer Jeff Garzik Wed, 29 Mar 2006 19:30:28 -0500 [PATCH] libata: Simplex and other mode filtering logic Add a field to the host_set called 'flags' (was host_set_flags changed to suit Jeff) Add a simplex_claimed field so we can remember who owns the DMA channel Add a ->mode_filter() hook to allow drivers to filter modes Add docs for mode_filter and set_mode Filter according to simplex state Filter cable in core This provides the needed framework to support all the mode rules found in the PATA world. The simplex filter deals with 'to spec' simplex DMA systems found in older chips. The cable filter avoids duplicating the same rules in each chip driver with PATA. Finally the mode filter is neccessary because drive/chip combinations have errata that forbid certain modes with some drives or types of ATA object. Drive speed setup remains per channel for now and the filters now use the framework Tejun put into place which cleans them up a lot from the older libata-pata patches. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 692785e798f341c057ff976c35a3d86ad5af8ac6 tree c1bb3f9cfc1baa7702e8bc32c72141516598511b parent e35a9e01f2a504871e70576a9e11dbe4d8dee456 author Alan Cox Mon, 27 Mar 2006 18:49:19 +0100 committer Jeff Garzik Wed, 29 Mar 2006 19:30:28 -0500 [PATCH] libata - ATA is both ATA and CFA I think this is still needed with the new probe code (which btw seems to be missing docs in upstream ?). Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit e35a9e01f2a504871e70576a9e11dbe4d8dee456 tree 4761c2d8b9d827d95cc531376e5c02666734ecf6 parent 4e5ec5dba22ea509b1a004f9815751f0ffc815e5 author Alan Cox Mon, 27 Mar 2006 18:46:37 +0100 committer Jeff Garzik Wed, 29 Mar 2006 19:30:27 -0500 [PATCH] libata: Add ->set_mode hook for odd drivers Some hardware doesn't want the usual mode setup logic running. This allows the hardware driver to replace it for special cases in the least invasive way possible. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 4e5ec5dba22ea509b1a004f9815751f0ffc815e5 tree d7387c3051e51a8bca060918f4a3a8a1a7962715 parent 05c8e0ac5c37e9739a852b526afeecae97607cbb author Alan Cox Mon, 27 Mar 2006 18:42:40 +0100 committer Jeff Garzik Wed, 29 Mar 2006 19:30:27 -0500 [PATCH] libata: BMDMA handling updates This is the minimal patch set to enable the current code to be used with a controller following SFF (ie any PATA and early SATA controllers) safely without crashes if there is no BMDMA area or if BMDMA is not assigned by the BIOS for some reason. Simplex status is recorded but not acted upon in this change, this isn't a problem with the current drivers as none of them are for simplex hardware. A following diff will deal with that. The flags in the probe structure remain ->host_set_flags although Jeff asked me to rename them, simply because the rename would break the usual Linux rules that old code should break when there are changes. not compile and run and then blow up/eat your computer/etc. Renaming this later is a trivial exercise once a better name is chosen. Signed-off-by: Jeff Garzik commit 5d4fe2c1ce83c3e967ccc1ba3d580c1a5603a866 tree dbadab717d643708ed140eb72fa3b132eefa56ba parent 391fc09a143aac08d1a3dc37b60238612b504ad3 author Lennert Buytenhek Wed, 29 Mar 2006 15:12:44 +0200 committer Jeff Garzik Wed, 29 Mar 2006 17:34:02 -0500 [PATCH] ixp2000: fix gcc4 breakage gcc4 doesn't like us declaring a static function inside another function. We can do away with this construct altogether and use BUILD_BUG_ON() instead (idea from Andi Kleen.) Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 391fc09a143aac08d1a3dc37b60238612b504ad3 tree a4be557a7d86958eb360bf6ac1024b7ec88bb618 parent bc0e1fc970279c539db1e94dd473acbb193ee473 author Gary Zambrano Tue, 28 Mar 2006 14:57:38 -0800 committer Jeff Garzik Wed, 29 Mar 2006 17:34:02 -0500 [PATCH] b44: ensure valid mac addr Added code to check for invalid MAC address from eeprom or user input. Signed-off-by: Gary Zambrano Signed-off-by: Jeff Garzik commit bc0e1fc970279c539db1e94dd473acbb193ee473 tree 77d1cc0970eceebad84b5258b2823797239cbcaf parent 8a91ed60f58451342a25f3ab4484c7257430aa8e author Linas Vepstas Tue, 28 Mar 2006 16:36:23 -0600 committer Jeff Garzik Wed, 29 Mar 2006 17:34:02 -0500 [PATCH] Janitor: drivers/net/pcnet32: fix incorrect comments The comments concerning how the pcnet32 ethernet device driver selects the MAC addr to use are incorrect. A recent patch (in the last 3 months) changed how the code worked, but did not change the comments. Side comment: the new behaviour is good; I've got a pcnet32 card which powers up with garbage in the CSR's, and a good MAC addr in the PROM. Signed-off-by: Linas Vepstas Signed-off-by: Jeff Garzik commit 8a91ed60f58451342a25f3ab4484c7257430aa8e tree 77ab8fe111aca353cd6b7e74db987d839ffd849b parent a8b4cf42cf57e44e3c4a585e0f0a71e3a7efbf29 author Arthur Othieno Tue, 28 Mar 2006 14:09:01 -0800 committer Jeff Garzik Wed, 29 Mar 2006 17:34:02 -0500 [PATCH] net: remove CONFIG_NET_CBUS conditional for NS8390 Don't bother testing for CONFIG_NET_CBUS ("NEC PC-9800 C-bus cards"); it went out with the rest of PC98 subarch. Signed-off-by: Arthur Othieno Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit a8b4cf42cf57e44e3c4a585e0f0a71e3a7efbf29 tree ba3bcaea18d88f12297d3302dd1c9a1b9cec4709 parent 8dfc914a3f2ae4e303e2bff89f28fc14cee8a9a6 author Mark Brown Tue, 28 Mar 2006 14:08:55 -0800 committer Jeff Garzik Wed, 29 Mar 2006 17:34:02 -0500 [PATCH] natsemi: Support oversized EEPROMs The natsemi chip can have a larger EEPROM attached than it itself uses for configuration. This patch adds support for user space access to such an EEPROM. Signed-off-by: Mark Brown Cc: Tim Hockin Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 8dfc914a3f2ae4e303e2bff89f28fc14cee8a9a6 tree 3992bacdc53a6e640af93c204cef38726d9c9448 parent ff59c4563a8d1b39597aab4917959146c61f09b0 author Jens Osterkamp Mon, 27 Mar 2006 17:16:36 +0200 committer Jeff Garzik Wed, 29 Mar 2006 17:34:02 -0500 [PATCH] spidernet : enable tx checksum offloading by default This enables TX checksum offloading for the spidernet driver by default. Signed-off-by: Jens Osterkamp Signed-off-by: Jeff Garzik commit ff59c4563a8d1b39597aab4917959146c61f09b0 tree 5be8ad689d944f27a7b4b4bed2942c3ef47d7a98 parent e21a2b0cc5849e76434b37aff3a4b502c772f191 author Jay Vosburgh Mon, 27 Mar 2006 13:27:43 -0800 committer Jeff Garzik Wed, 29 Mar 2006 17:34:02 -0500 [PATCH] bonding: support carrier state for master Add support for the bonding master to specify its carrier state based upon the state of the slaves. For 802.3ad, the bond is up if there is an active, parterned aggregator. For other modes, the bond is up if any slaves are up. Updates driver version to 3.0.3. Based on a patch by jamal . Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik commit e21a2b0cc5849e76434b37aff3a4b502c772f191 tree 2fad2f2025ca1d9e5bc88d4e835e07967b8fd762 parent 8a89334caf80bb7c86383b73fd5a528cb88c696f parent 2638fed7ccb07ff43cdc109dd78e821efb629995 author Jeff Garzik Wed, 29 Mar 2006 17:30:19 -0500 committer Jeff Garzik Wed, 29 Mar 2006 17:30:19 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 8a89334caf80bb7c86383b73fd5a528cb88c696f tree 4590f6d465a94bb5cb4cc8c63a95d0186daeb88d parent 4e5077b62b1f67fe0df916e387da4a6dabe577e9 author Randy Dunlap Mon, 27 Mar 2006 12:26:12 -0800 committer Jeff Garzik Wed, 29 Mar 2006 17:28:49 -0500 [PATCH] acenic: fix section mismatches Fix section mismatches in acenic driver: WARNING: drivers/net/acenic.o - Section mismatch: reference to .init.data:tigon2FwText from .text between 'acenic_probe_one' (at offset 0x2409) and 'ace_interrupt' WARNING: drivers/net/acenic.o - Section mismatch: reference to .init.data:tigon2FwRodata from .text between 'acenic_probe_one' (at offset 0x2422) and 'ace_interrupt' Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit 4e5077b62b1f67fe0df916e387da4a6dabe577e9 tree 688827d0920b028fe79e39e2b8cfded4c37c32b8 parent 00b428c2ab35c81905b3e39d673689216dbd4742 author Jens Osterkamp Tue, 28 Mar 2006 15:59:55 +0200 committer Jeff Garzik Wed, 29 Mar 2006 17:28:49 -0500 [PATCH] spidernet : reduce console spam This patch reduces the message level of the RX ram full messages from err to debug to prevent spamming the console leaving it in the logfiles though. From: Jens Osterkamp Signed-off-by: Jeff Garzik commit 00b428c2ab35c81905b3e39d673689216dbd4742 tree 1d817a7976f5a837a9c37ab9a6f46fa85c0aefdd parent b8ab2dc3e1a7c525ca73ba0af3518ec0b7654b3b author Roger Luethi Tue, 28 Mar 2006 20:53:56 +0200 committer Jeff Garzik Wed, 29 Mar 2006 17:28:49 -0500 [PATCH] via-rhine: link state fix Problems with link state detection have been reported several times in the past months. Denis Vlasenko did all the work tracking it down. Jeff Garzik suggested the proper place for the fix. When using the mii library, the driver needs to check mii->force_media and set dev->state accordingly. Signed-off-by: Roger Luethi Signed-off-by: Jeff Garzik commit b8ab2dc3e1a7c525ca73ba0af3518ec0b7654b3b tree 468a1ed9815a0f4cef1d2aef57d9e071f2b0d321 parent 5c5131297db57b501f371ab53c40343eac6f2af7 author Komuro Sun, 26 Mar 2006 07:31:55 +0900 committer Jeff Garzik Wed, 29 Mar 2006 17:26:05 -0500 [PATCH] axnet_cs.c : add hardware multicast support Signed-off-by: Jeff Garzik commit 05c8e0ac5c37e9739a852b526afeecae97607cbb tree d8a6de4bd4d0fb4b91a996652a70c6d8a43a9f90 parent e02a4cabfcb9a999b74a2e2e6f13ffcb7ff2d606 author Tejun Heo Sat, 25 Mar 2006 14:28:57 +0900 committer Jeff Garzik Wed, 29 Mar 2006 17:19:13 -0500 [PATCH] libata: kill trailing whitespace Kill trailing whitespace. Signed-off-by: Jeff Garzik commit e02a4cabfcb9a999b74a2e2e6f13ffcb7ff2d606 tree 2f3db60be4c57eca2a4c3ab3f3122dcf1ec0c624 parent 600511e86babe3727264a0883a3a264f6fb6caf5 parent f3cab8a0b1a772dc8b055b7affa567a366627c9e author Jeff Garzik Wed, 29 Mar 2006 17:18:49 -0500 committer Jeff Garzik Wed, 29 Mar 2006 17:18:49 -0500 Merge branch 'master' commit 5c5131297db57b501f371ab53c40343eac6f2af7 tree fa0ad95f0324720c5a18f7138e84d7ef4dd83525 parent f3cab8a0b1a772dc8b055b7affa567a366627c9e author Gary Zambrano Wed, 29 Mar 2006 17:12:05 -0500 committer Jeff Garzik Wed, 29 Mar 2006 17:12:05 -0500 b44: fix force mac address before ifconfig up Initializing the b44 MAC & PCI functional blocks in the controller must occur inside init_one(). This will allow access to the MAC registers. The controller was being powered up in b44_open() which would not allow access to the registers before ifconfig was up. Philip Kohlbecher found this bug. Signed-off-by: Gary Zambrano commit f3cab8a0b1a772dc8b055b7affa567a366627c9e tree 39c4736047e7f1f6617a4703b3ebf62df1d68d34 parent 76babde121d2ffef04ca692ce64ef9f8a9866086 parent 65b4b4e81a5094d52cbe372b887b1779abe53f9b author Linus Torvalds Wed, 29 Mar 2006 11:29:33 -0800 committer Linus Torvalds Wed, 29 Mar 2006 11:29:33 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [NETFILTER]: Rename init functions. [TCP]: Fix RFC2465 typo. [INET]: Introduce tunnel4/tunnel6 [NET]: deinline 200+ byte inlines in sock.h [ECONET]: Convert away from SOCKOPS_WRAPPED [NET]: Fix ipx/econet/appletalk/irda ioctl crashes [NET]: Kill Documentation/networking/TODO [TG3]: Update version and reldate [TG3]: Skip timer code during full lock [TG3]: Speed up SRAM access [TG3]: Fix PHY loopback on 5700 [TG3]: Fix bug in 40-bit DMA workaround code [TG3]: Fix probe failure due to invalid MAC address commit 76babde121d2ffef04ca692ce64ef9f8a9866086 tree 294923bbb4974258d86d223e35eee691abacdfb1 parent e71ac6032edf77a1e4a81f3e3b260807e94b37a5 parent 15e812ad849e142e3dfc984d33c4d8042389f148 author Linus Torvalds Wed, 29 Mar 2006 11:28:30 -0800 committer Linus Torvalds Wed, 29 Mar 2006 11:28:30 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (67 commits) [PATCH] powerpc: Remove oprofile spinlock backtrace code [PATCH] powerpc: Add oprofile calltrace support to all powerpc cpus [PATCH] powerpc: Add oprofile calltrace support [PATCH] for_each_possible_cpu: ppc [PATCH] for_each_possible_cpu: powerpc [PATCH] lock PTE before updating it in 440/BookE page fault handler [PATCH] powerpc: Kill _machine and hard-coded platform numbers ppc: Fix compile error in arch/ppc/lib/strcase.c [PATCH] git-powerpc: WARN was a dumb idea [PATCH] powerpc: a couple of trivial compile warning fixes powerpc: remove OCP references powerpc: Make uImage default build output for MPC8540 ADS powerpc: move math-emu over to arch/powerpc powerpc: use memparse() for mem= command line parsing ppc: fix strncasecmp prototype [PATCH] powerpc: make ISA floppies work again [PATCH] powerpc: Fix some initcall return values [PATCH] powerpc: Workaround for pSeries RTAS bug [PATCH] spufs: fix __init/__exit annotations [PATCH] powerpc: add hvc backend for rtas ... commit d89cfe7f1e82d758a7983584c1593795d4e2c098 tree 4b3753dc531fdbef3710135dbb7ec1c1cf59ddb3 parent e6d1ba5cd9954e7c15538aaef7585b235a69e0e1 author Russ Anderson Wed, 29 Mar 2006 11:31:23 -0600 committer Tony Luck Wed, 29 Mar 2006 10:43:04 -0800 [IA64] Move __mca_table out of the __init section Move __mca_table out of the __init section. Signed-off-by: Tony Luck commit e1f7868c80947d40ef8e1fd37323d939a9bf311c tree 04ee4d31a49e563bbdca385b8d558d7fee2f0d47 parent ef12d4561900d4af37f46a8f2d97dec3c4d59bf9 author Roland Dreier Wed, 29 Mar 2006 09:36:46 -0800 committer Roland Dreier Wed, 29 Mar 2006 09:36:46 -0800 IB/mthca: Fix section mismatch problems Quite a few cleanup functions in mthca were marked as __devexit. However, they could also be called from error paths during initialization, so they cannot be marked that way. Just delete all of the incorrect annotations. Signed-off-by: Roland Dreier commit ef12d4561900d4af37f46a8f2d97dec3c4d59bf9 tree 29b849109170341a546fbe0bdb52a43741b0341c parent a07bacca7b4032dd361ad5c87b1c39ae229e6739 author Roland Dreier Wed, 29 Mar 2006 09:36:46 -0800 committer Roland Dreier Wed, 29 Mar 2006 09:36:46 -0800 IPoIB: Fix oops with raw sockets ipoib_hard_header() needs to handle the case that daddr is NULL. This can happen when packets are injected via a raw socket, and IPoIB shouldn't oops in this case. Reported by Anton Blanchard Signed-off-by: Roland Dreier commit a07bacca7b4032dd361ad5c87b1c39ae229e6739 tree 1050a1f6a00ca18cb1dc188a0af26b4cdd699ce3 parent 3f89f834497c0f37f16a3b6c32b1d60782facbca author Jack Morgenstein Sun, 26 Mar 2006 17:01:12 +0200 committer Roland Dreier Wed, 29 Mar 2006 09:36:46 -0800 IB/mthca: Fix check of size in SRQ creation The previous patch for Tavor broke MemFree logic. The driver should perform limit check only for Tavor. For MemFree, the check is incorrect, since ds (WQE stride) is always a power-of-2 (although the max_desc_size may not be). In Tavor, however, WQE stride and desc_size are the same, and are not necessarily power-of-2. The check was really for the WQE stride (and it Tavor, we use max_desc_size for the stride). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 3f89f834497c0f37f16a3b6c32b1d60782facbca tree 4a27d2b5ed847fd90678d3e7758fe08b493426e1 parent e71ac6032edf77a1e4a81f3e3b260807e94b37a5 author Roland Dreier Wed, 29 Mar 2006 09:36:45 -0800 committer Roland Dreier Wed, 29 Mar 2006 09:36:45 -0800 IB/srp: Fix unmapping of fake scatterlist The recently merged patch to create a fake scatterlist for non-SG SCSI commands had a bug: the driver ended up doing dma_unmap_sg() on a scatterlist scmnd->request_buffer rather than the fake scatter list it created. Fix this so that the driver unmaps the same thing it maps. Signed-off-by: Roland Dreier commit e71ac6032edf77a1e4a81f3e3b260807e94b37a5 tree 62dc600d81f214d44b9e42c0c2316e1a2259c5e9 parent 224b148ef7c9a00642eb33dbdf62f2840bde974f parent c25366680bab32efcbb5eda5f3c202099ba27b81 author Linus Torvalds Wed, 29 Mar 2006 08:55:36 -0800 committer Linus Torvalds Wed, 29 Mar 2006 08:55:36 -0800 Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 * git://oss.sgi.com:8090/oss/git/xfs-2.6: [XFS] Cleanup in XFS after recent get_block_t interface tweaks. [XFS] Remove unused/obsoleted function: xfs_bmap_do_search_extents() [XFS] A change to inode chunk allocation to try allocating the new chunk Fixes a regression from the recent "remove ->get_blocks() support" [XFS] Fix compiler warning and small code inconsistencies in compat [XFS] We really suck at spulling. Thanks to Chris Pascoe for fixing all commit 224b148ef7c9a00642eb33dbdf62f2840bde974f tree 1236762b06beb3565671adc5d554ae2651cd661f parent 547679087bc60277d11b11631d826895762c4505 parent c0e4077c946104e5d8a62f835dcdca5c79c8af7d author Linus Torvalds Tue, 28 Mar 2006 18:48:03 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:48:03 -0800 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/scjody/ieee1394 * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/scjody/ieee1394: ohci1394: cleanup the "Unexpected PCI resource length" warning. sbp2: misc debug logging cleanups sbp2: proper treatment of DID_OK ieee1394: set read permission for parameter disable_irm sbp2: check for ARM failure ohci1394: clean up asynchronous and physical request filters programming ieee1394: remove amdtp remains from ieee1394_core.h ieee1394: remove devfs support Signed-off-by: Jody McIntyre sbp2: prevent unloading of 1394 low-level driver commit 15e812ad849e142e3dfc984d33c4d8042389f148 tree e2d50c583457e8c4b2d06eea9846c04d0f5629d7 parent fa465f8c7008c6cab32b05f3f1af57f7c86e8873 author Anton Blanchard Mon, 27 Mar 2006 12:00:45 +1100 committer Paul Mackerras Wed, 29 Mar 2006 13:44:16 +1100 [PATCH] powerpc: Remove oprofile spinlock backtrace code Remove oprofile spinlock backtrace code now we have proper calltrace support. Also make MMCRA sihv and sipr bits a variable since they may change in future cpus. Finally, MMCRA should be a 64bit quantity. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit fa465f8c7008c6cab32b05f3f1af57f7c86e8873 tree d517abb9447600283359fb181a955bcd66b9633a parent 6c6bd754bf43d59756f094de144ecac239629dda author Anton Blanchard Mon, 27 Mar 2006 12:03:17 +1100 committer Paul Mackerras Wed, 29 Mar 2006 13:44:16 +1100 [PATCH] powerpc: Add oprofile calltrace support to all powerpc cpus Add calltrace support for other powerpc cpus. Tested on 7450. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 6c6bd754bf43d59756f094de144ecac239629dda tree b6cf2a7a3f133d24d22c63ba7bb8f9ebb02a8bab parent b848e0a07dd5a874821bb587bb724fac4aa45bad author Brian Rogan Mon, 27 Mar 2006 11:57:01 +1100 committer Paul Mackerras Wed, 29 Mar 2006 13:44:16 +1100 [PATCH] powerpc: Add oprofile calltrace support Add oprofile calltrace support to powerpc. Disable spinlock backtracing now we can use calltrace info. (Updated to work on both 32bit and 64bit by me). Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit b848e0a07dd5a874821bb587bb724fac4aa45bad tree 43c81d75963421146adb340c6ebb617c426718a1 parent 0e5519548fdc8eadc3eacb49b1908d44d347fb2b author KAMEZAWA Hiroyuki Tue, 28 Mar 2006 14:50:52 -0800 committer Paul Mackerras Wed, 29 Mar 2006 13:44:16 +1100 [PATCH] for_each_possible_cpu: ppc for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 0e5519548fdc8eadc3eacb49b1908d44d347fb2b tree 176d01babed4ece005f6c4715c464411c4262e9b parent bab70a4af737f623de5b034976a311055308ab86 author KAMEZAWA Hiroyuki Tue, 28 Mar 2006 14:50:51 -0800 committer Paul Mackerras Wed, 29 Mar 2006 13:44:15 +1100 [PATCH] for_each_possible_cpu: powerpc for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit bab70a4af737f623de5b034976a311055308ab86 tree f8c0e9463de01323db2cb1a62f4eb83adb5ce7ca parent bac30d1a78d0f11c613968fc8b351a91ed465386 author Eugene Surovegin Tue, 28 Mar 2006 10:13:12 -0800 committer Paul Mackerras Wed, 29 Mar 2006 13:44:15 +1100 [PATCH] lock PTE before updating it in 440/BookE page fault handler Fix 44x and BookE page fault handler to correctly lock PTE before trying to pte_update() it, otherwise this PTE might be swapped out after pte_present() check but before pte_uptdate() call, resulting in corrupted PTE. This can happen with enabled preemption and low memory condition. Signed-off-by: Eugene Surovegin Signed-off-by: Paul Mackerras commit 547679087bc60277d11b11631d826895762c4505 tree 91759a5584b9d42302d4b54ecdde644bc47e781d parent a1d5e21e3e388fb2c16463d007e788b1e41b74f1 author Oleg Nesterov Tue, 28 Mar 2006 16:11:30 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:44 -0800 [PATCH] send_sigqueue: simplify and fix the race send_sigqueue() checks PF_EXITING, then locks p->sighand->siglock. This is unsafe: 'p' can exit in between and set ->sighand = NULL. The race is theoretical, the window is tiny and irqs are disabled by the caller, so I don't think we need the fix for -stable tree. Convert send_sigqueue() to use lock_task_sighand() helper. Also, delete 'p->flags & PF_EXITING' re-check, it is unneeded and the comment is wrong. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1d5e21e3e388fb2c16463d007e788b1e41b74f1 tree ab89b42c9c8a873ac2f7e98dac2dc1c1807d27a1 parent 883606a7c9e84e206f96c38f88c4bd66df72f51e author Oleg Nesterov Tue, 28 Mar 2006 16:11:29 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:44 -0800 [PATCH] do_notify_parent_cldstop: remove 'to_self' param The previous patch has changed callsites of do_notify_parent_cldstop() so that to_self == (->ptrace & PT_PTRACED) always (as it should be). We can remove this parameter now. Signed-off-by: Oleg Nesterov Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 883606a7c9e84e206f96c38f88c4bd66df72f51e tree 8ac0a656ac7a46b83f00b0be094025104496332f parent dac27f4a09c274db048e80d2511102e540ac9e3a author Oleg Nesterov Tue, 28 Mar 2006 16:11:28 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:44 -0800 [PATCH] finish_stop: don't check stop_count < 0 Remove an obscure 'stop_count < 0' check in finish_stop(). The previous patch made this case impossible. Signed-off-by: Oleg Nesterov Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dac27f4a09c274db048e80d2511102e540ac9e3a tree feb4af6d7b1a784ece9909b8d5f11bd6ad83cdca parent a7e5328a06a2beee3a2bbfaf87ce2a7bbe937de1 author Oleg Nesterov Tue, 28 Mar 2006 16:11:28 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:44 -0800 [PATCH] simplify do_signal_stop() do_signal_stop() considers 'thread_group_empty()' as a special case. This was needed to avoid taking tasklist_lock. Since this lock is unneeded any longer, we can remove this special case and simplify the code even more. Also, before this patch, finish_stop() was called with stop_count == -1 for 'thread_group_empty()' case. This is not strictly wrong, but confusing and unneeded. Signed-off-by: Oleg Nesterov Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7e5328a06a2beee3a2bbfaf87ce2a7bbe937de1 tree 168102a80e9b98d19e8bf39156d35dacdb253c3d parent 4a2c7a7837da1b91468e50426066d988050e4d56 author Oleg Nesterov Tue, 28 Mar 2006 16:11:27 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:44 -0800 [PATCH] cleanup __exit_signal->cleanup_sighand path Move 'tsk->sighand = NULL' from cleanup_sighand() to __exit_signal(). This makes the exit path more understandable and allows us to do cleanup_sighand() outside of ->siglock protected section. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a2c7a7837da1b91468e50426066d988050e4d56 tree e7e321e1a61b934e3c0d938360cc4b990407fcea parent 47e65328a7b1cdfc4e3102e50d60faf94ebba7d3 author Oleg Nesterov Tue, 28 Mar 2006 16:11:26 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:44 -0800 [PATCH] make fork() atomic wrt pgrp/session signals Eric W. Biederman wrote: > > Ok. SUSV3/Posix is clear, fork is atomic with respect > to signals. Either a signal comes before or after a > fork but not during. (See the rationale section). > http://www.opengroup.org/onlinepubs/000095399/functions/fork.html > > The tasklist_lock does not stop forks from adding to a process > group. The forks stall while the tasklist_lock is held, but a fork > that began before we grabbed the tasklist_lock simply completes > afterwards, and the child does not receive the signal. This also means that SIGSTOP or sig_kernel_coredump() signal can't be delivered to pgrp/session reliably. With this patch copy_process() returns -ERESTARTNOINTR when it detects a pending signal, fork() will be restarted transparently after handling the signals. This patch also deletes now unneeded "group_stop_count > 0" check, copy_process() can no longer succeed while group stop in progress. Signed-off-by: Oleg Nesterov Acked-By: Eric Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47e65328a7b1cdfc4e3102e50d60faf94ebba7d3 tree 78e00a5321cca87767806a91e623e71b5c6637c7 parent 88531f725bd52e37a7be726860e4ff3f09031d89 author Oleg Nesterov Tue, 28 Mar 2006 16:11:25 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:44 -0800 [PATCH] pids: kill PIDTYPE_TGID This patch kills PIDTYPE_TGID pid_type thus saving one hash table in kernel/pid.c and speeding up subthreads create/destroy a bit. It is also a preparation for the further tref/pids rework. This patch adds 'struct list_head thread_group' to 'struct task_struct' instead. We don't detach group leader from PIDTYPE_PID namespace until another thread inherits it's ->pid == ->tgid, so we are safe wrt premature free_pidmap(->tgid) call. Currently there are no users of find_task_by_pid_type(PIDTYPE_TGID). Should the need arise, we can use find_task_by_pid()->group_leader. Signed-off-by: Oleg Nesterov Acked-By: Eric Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88531f725bd52e37a7be726860e4ff3f09031d89 tree e43f25881012112e29d3fc13e75ccc3ba3cd4dba parent aacc90944d4b1f2fcec73a8127eb60a3a701ce1c author Oleg Nesterov Tue, 28 Mar 2006 16:11:24 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:44 -0800 [PATCH] do_sigaction: don't take tasklist_lock do_sigaction() does not need tasklist_lock anymore, we can simplify the code. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aacc90944d4b1f2fcec73a8127eb60a3a701ce1c tree 34b8977a00913e46858d918fd437143882c66ee3 parent a122b341b74c08020f6521b615acca6a692aac79 author Oleg Nesterov Tue, 28 Mar 2006 16:11:23 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] do_group_exit: don't take tasklist_lock do_group_exit() takes tasklist_lock for zap_other_threads(), this is unneeded now. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a122b341b74c08020f6521b615acca6a692aac79 tree d2e679f11f805a2817de127f195cf1a61ca22b98 parent 6108ccd3e2f3012d5eec582e0af4d75e693824da author Oleg Nesterov Tue, 28 Mar 2006 16:11:22 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] do_signal_stop: don't take tasklist_lock do_signal_stop() does not need tasklist_lock anymore. So it does not need to do misc re-checks, and we can simplify the code. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6108ccd3e2f3012d5eec582e0af4d75e693824da tree 944465dbb375e98b628e799794ca60b8e0bed61e parent 7d7185c818925ba5fe90efa75840d0b415032774 author Oleg Nesterov Tue, 28 Mar 2006 16:11:22 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] relax sig_needs_tasklist() handle_stop_signal() does not need tasklist_lock for SIG_KERNEL_STOP_MASK signals anymore. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d7185c818925ba5fe90efa75840d0b415032774 tree d0ae8f18c7ec272d887d5bcb822773d9048e8507 parent 5876700cd399112ecfa70df36203c8c6660d84f8 author Oleg Nesterov Tue, 28 Mar 2006 16:11:21 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] sys_times: don't take tasklist_lock sys_times: don't take tasklist_lock Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5876700cd399112ecfa70df36203c8c6660d84f8 tree 3060724c6682ee7452bcb7b3c99eded75cd59ea7 parent 35f5cad8c4bab94ecc5acdc4055df5ea12dc76f8 author Oleg Nesterov Tue, 28 Mar 2006 16:11:20 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] do __unhash_process() under ->siglock This patch moves __unhash_process() call from realease_task() to __exit_signal(), so __detach_pid() is called with ->siglock held. This means we don't need tasklist_lock to iterate over thread group anymore: copy_process() was already changed to do attach_pid() under ->siglock. Eric's "pidhash-kill-switch_exec_pids.patch" from -mm changed de_thread() so it doesn't touch PIDTYPE_TGID. NOTE: de_thread() still needs some attention. It still changes task->pid lockless. Taking ->sighand.siglock here allows to do more tasklist_lock removals. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35f5cad8c4bab94ecc5acdc4055df5ea12dc76f8 tree aad78b130b697c3c4b594483c63a9b1a9c4ed009 parent 6a14c5c9da0b4c34b5be783403c54f0396fcfe77 author Oleg Nesterov Tue, 28 Mar 2006 16:11:19 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] revert "Optimize sys_times for a single thread process" This patch reverts 'CONFIG_SMP && thread_group_empty()' optimization in sys_times(). The reason is that the next patch breaks memory ordering which is needed for that optimization. tasklist_lock in sys_times() will be eliminated completely by further patch. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a14c5c9da0b4c34b5be783403c54f0396fcfe77 tree 63e40e5761eb5327ae4f713b284c67128cb4d261 parent c81addc9d3a0ebff2155e0cd86f90820ab97147e author Oleg Nesterov Tue, 28 Mar 2006 16:11:18 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] move __exit_signal() to kernel/exit.c __exit_signal() is private to release_task() now. I think it is better to make it static in kernel/exit.c and export flush_sigqueue() instead - this function is much more simple and straightforward. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c81addc9d3a0ebff2155e0cd86f90820ab97147e tree 56eb3a50f71e7a0e2a0f0daef4ec097375b06f8d parent 29ff471234d53c7235db287bc52f91884c2977c6 author Oleg Nesterov Tue, 28 Mar 2006 16:11:17 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] rename __exit_sighand to cleanup_sighand Cosmetic, rename __exit_sighand to cleanup_sighand and move it close to copy_sighand(). This matches copy_signal/cleanup_signal naming, and I think it is easier to follow. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29ff471234d53c7235db287bc52f91884c2977c6 tree 1572661596414515ebfcfd0d2ea55a4217606a5e parent 6b3934ef52712ece50605dfc72e55d00c580831a author Oleg Nesterov Tue, 28 Mar 2006 16:11:17 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:43 -0800 [PATCH] cleanup __exit_signal() This patch factors out duplicated code under 'if' branches. Also, BUG_ON() conversions and whitespace cleanups. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b3934ef52712ece50605dfc72e55d00c580831a tree 5ec3c4f69a20880f75de6ff8d7d2f67d96328df3 parent 7001510d0cbf51ad202dd2d0744f54104285cbb9 author Oleg Nesterov Tue, 28 Mar 2006 16:11:16 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:42 -0800 [PATCH] copy_process: cleanup bad_fork_cleanup_signal __exit_signal() does important cleanups atomically under ->siglock. It is also called from copy_process's error path. This is not good, for example we can't move __unhash_process() under ->siglock for that reason. We should not mix these 2 paths, just look at ugly 'if (p->sighand)' under 'bad_fork_cleanup_sighand:' label. For copy_process() case it is sufficient to just backout copy_signal(), nothing more. Again, nobody can see this task yet. For CLONE_THREAD case we just decrement signal->count, otherwise nobody can see this ->signal and we can free it lockless. This patch assumes it is safe to do exit_thread_group_keys() without tasklist_lock. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Acked-by: David Howells Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7001510d0cbf51ad202dd2d0744f54104285cbb9 tree 1df2a6930c460c12026231634b86d14b153a4a86 parent a9e88e84b5245da0a1dadb6ccca70ae84e93ccf6 author Oleg Nesterov Tue, 28 Mar 2006 16:11:14 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:42 -0800 [PATCH] copy_process: cleanup bad_fork_cleanup_sighand The only caller of exit_sighand(tsk) is copy_process's error path. We can call __exit_sighand() directly and kill exit_sighand(). This 'tsk' was not yet registered in pid_hash[] or init_task.tasks, it has no external references, nobody can see it, and IF (clone_flags & CLONE_SIGHAND) At least 'current' has a reference to ->sighand, this means atomic_dec_and_test(sighand->count) can't be true. ELSE Nobody can see this ->sighand, this means we can free it without any locking. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9e88e84b5245da0a1dadb6ccca70ae84e93ccf6 tree 2b155e7f5ce7ff14a986361fe81d77bf9039e95e parent f63ee72e0fb82e504a0489490babc7612c7cd6c2 author Oleg Nesterov Tue, 28 Mar 2006 16:11:14 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:42 -0800 [PATCH] introduce sig_needs_tasklist() helper In my opinion this patch cleans up the code. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f63ee72e0fb82e504a0489490babc7612c7cd6c2 tree 85167f8016d1f746135bf1777646a58c44376af1 parent aa1757f90bea3f598b6e5d04d922a6a60200f1da author Oleg Nesterov Tue, 28 Mar 2006 16:11:13 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:42 -0800 [PATCH] introduce lock_task_sighand() helper Add lock_task_sighand() helper and converts group_send_sig_info() to use it. Hopefully we will have more users soon. This patch also removes '!sighand->count' and '!p->usage' checks, I think they both are bogus, racy and unneeded (but probably it makes sense to restore them as BUG_ON()s). ->sighand is cleared and it's ->count is decremented in release_task() with sighand->siglock held, so it is a bug to have '!p->usage || !->count' after we already locked and verified it is the same. On the other hand, an already dead task without ->sighand can have a non-zero ->usage due to ptrace, for example. If we read the stale value of ->sighand we must see the change after spin_lock(), because that change was done while holding that same old ->sighand.siglock. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa1757f90bea3f598b6e5d04d922a6a60200f1da tree 4f8f3804b2595031d0b84de7086dc28375290f0d parent 1f09f9749cdde4e69f95d62d96d2e03f50b3353c author Oleg Nesterov Tue, 28 Mar 2006 16:11:12 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:42 -0800 [PATCH] convert sighand_cache to use SLAB_DESTROY_BY_RCU This patch borrows a clever Hugh's 'struct anon_vma' trick. Without tasklist_lock held we can't trust task->sighand until we locked it and re-checked that it is still the same. But this means we don't need to defer 'kmem_cache_free(sighand)'. We can return the memory to slab immediately, all we need is to be sure that sighand->siglock can't dissapear inside rcu protected section. To do so we need to initialize ->siglock inside ctor function, SLAB_DESTROY_BY_RCU does the rest. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f09f9749cdde4e69f95d62d96d2e03f50b3353c tree 414589e7d650df08685d00369b97cc6541a0a1ea parent 8292d633add73d40eda1d26089e2fc758944ac7c author Oleg Nesterov Tue, 28 Mar 2006 16:11:11 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:41 -0800 [PATCH] release_task: replace open-coded ptrace_unlink() Use ptrace_unlink() instead of open-coding. No changes in kernel/exit.o Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8292d633add73d40eda1d26089e2fc758944ac7c tree 963c4ec3c3a30223f1929cb67abe18f58ec17f5c parent 6ac781b11ade6e3451f6b460991c8b2b87e58280 author Oleg Nesterov Tue, 28 Mar 2006 16:11:10 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:41 -0800 [PATCH] wait_for_helper: trivial style cleanup Use NULL instead of (... *)0 Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ac781b11ade6e3451f6b460991c8b2b87e58280 tree a16cf9dd7a9322c2efaae2ac51bfc15845953738 parent c7c6464117a02b0d54feb4ebeca4db70fa493678 author Oleg Nesterov Tue, 28 Mar 2006 16:11:09 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:41 -0800 [PATCH] reparent_thread: use remove_parent/add_parent Use remove_parent/add_parent instead of open coding. No changes in kernel/exit.o Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7c6464117a02b0d54feb4ebeca4db70fa493678 tree 903498de6685d769631edbd7bce7609d07365946 parent 73b9ebfe126a4a886ee46cbab637374d7024668a author Oleg Nesterov Tue, 28 Mar 2006 16:11:09 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:41 -0800 [PATCH] pidhash: don't use zero pids daemonize() calls set_special_pids(1,1), while init and kernel threads spawned from init/main.c:init() run with 0,0 special pids. This patch changes INIT_SIGNALS() so that that they run with ->pgrp == ->session == 1 also. This patch relies on fact that swapper's pid == 1. Now we have no hashed zero pids in pid_hash[]. User-space visibible change is that now /sbin/init runs with (1,1) special pids and becomes a session leader. Quoting Eric W. Biederman: > > daemonize consuming pids (1,1) then consumes pgrp 1. So that when > /sbin/init calls setsid() it thinks /sbin/init is a process group > leader and setsid() fails. So /sbin/init wants pgrp 1 session 1 > but doesn't get it. I am pretty certain daemonize did not exist so > /sbin/init got pgrp 1 session 1 in 2.4. > > That is the bug that is being fixed. > > This patch takes things one step farther and essentially calls > setsid() for pid == 1 before init is execed. That is new behavior > but it cleans up the kernel as we now do not need to support the > case of a process without a process group or a session. > > The only process that could have possibly cared was /sbin/init > and it already calls setsid() because it doesn't want that. > > If this was going to break anything noticeable the change in behavior > from 2.4 to 2.6 would have already done that. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73b9ebfe126a4a886ee46cbab637374d7024668a tree d7ba00d4ce76b49c1569334956cd196b35977a04 parent c97d98931ac52ef110b62d9b75c6a6f2bfbc1898 author Oleg Nesterov Tue, 28 Mar 2006 16:11:07 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:41 -0800 [PATCH] pidhash: don't count idle threads fork_idle() does unhash_process() just after copy_process(). Contrary, boot_cpu's idle thread explicitely registers itself for each pid_type with nr = 0. copy_process() already checks p->pid != 0 before process_counts++, I think we can just skip attach_pid() calls and job control inits for idle threads and kill unhash_process(). We don't need to cleanup ->proc_dentry in fork_idle() because with this patch idle threads are never hashed in kernel/pid.c:pid_hash[]. We don't need to hash pid == 0 in pidmap_init(). free_pidmap() is never called with pid == 0 arg, so it will never be reused. So it is still possible to use pid == 0 in any PIDTYPE_xxx namespace from kernel/pid.c's POV. However with this patch we don't hash pid == 0 for PIDTYPE_PID case. We still have have PIDTYPE_PGID/PIDTYPE_SID entries with pid == 0: /sbin/init and kernel threads which don't call daemonize(). Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c97d98931ac52ef110b62d9b75c6a6f2bfbc1898 tree f811f8b2862692c2eb7ee92e62e8f0afcfd37a2d parent 9b678ece42893b53aae5ed7cb8d7cb261cacb72c author Oleg Nesterov Tue, 28 Mar 2006 16:11:06 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:41 -0800 [PATCH] kill SET_LINKS/REMOVE_LINKS Both SET_LINKS() and SET_LINKS/REMOVE_LINKS() have exactly one caller, and these callers already check thread_group_leader(). This patch kills theese macros, they mix two different things: setting process's parent and registering it in init_task.tasks list. Callers are updated to do these actions by hand. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b678ece42893b53aae5ed7cb8d7cb261cacb72c tree 2fc3cdcdc2940127885219b8d4142f8317b46bbd parent 8fafabd86f1b75ed3cc6a6ffbe6c3e53e3d8457d author Oleg Nesterov Tue, 28 Mar 2006 16:11:05 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:41 -0800 [PATCH] don't use REMOVE_LINKS/SET_LINKS for reparenting There are places where kernel uses REMOVE_LINKS/SET_LINKS while changing process's ->parent. Use add_parent/remove_parent instead, they don't abuse of global process list. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fafabd86f1b75ed3cc6a6ffbe6c3e53e3d8457d tree 3ae1a8fc44870ac3046213b11cad4aa8b3ce5f04 parent d799f03597cabc6112acb518fc8ab4487aa4f953 author Oleg Nesterov Tue, 28 Mar 2006 16:11:05 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:41 -0800 [PATCH] remove add_parent()'s parent argument add_parent(p, parent) is always called with parent == p->parent, and it makes no sense to do it differently. This patch removes this argument. No changes in affected .o files. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d799f03597cabc6112acb518fc8ab4487aa4f953 tree 1cc9561cbe4f463ff5579b14adc960b17a6a2cf4 parent d73d65293e3e2de7e916a89c8da30be0948afab7 author Oleg Nesterov Tue, 28 Mar 2006 16:11:04 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:40 -0800 [PATCH] choose_new_parent: remove unused arg, sanitize exit_state check 'child_reaper' arg is not used in choose_new_parent(). "->exit_state >= EXIT_ZOMBIE" check is a leftover, was valid when EXIT_ZOMBIE lived in ->state var. Signed-off-by: Oleg Nesterov Acked-by: Eric Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d73d65293e3e2de7e916a89c8da30be0948afab7 tree 62b0ca76e3099c927f2960856dd060b136a8ccef parent 652486fb84a07ed750f1c11639518f55808bf555 author Eric W. Biederman Tue, 28 Mar 2006 16:11:03 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:40 -0800 [PATCH] pidhash: kill switch_exec_pids switch_exec_pids is only called from de_thread by way of exec, and it is only called when we are exec'ing from a non thread group leader. Currently switch_exec_pids gives the leader the pid of the thread and unhashes and rehashes all of the process groups. The leader is already in the EXIT_DEAD state so no one cares about it's pids. The only concern for the leader is that __unhash_process called from release_task will function correctly. If we don't touch the leader at all we know that __unhash_process will work fine so there is no need to touch the leader. For the task becomming the thread group leader, we just need to give it the pid of the old thread group leader, add it to the task list, and attach it to the session and the process group of the thread group. Currently de_thread is also adding the task to the task list which is just silly. Currently the only leader of __detach_pid besides detach_pid is switch_exec_pids because of the ugly extra work that was being performed. So this patch removes switch_exec_pids because it is doing too much, it is creating an unnecessary special case in pid.c, duing work duplicated in de_thread, and generally obscuring what it is going on. The necessary work is added to de_thread, and it seems to be a little clearer there what is going on. Signed-off-by: Eric W. Biederman Cc: Oleg Nesterov Cc: Kirill Korotaev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 652486fb84a07ed750f1c11639518f55808bf555 tree 5fb6963a68dd63591f247d9bfc9f9e2d10468fb9 parent f96a795d4f6a8a13abe4b0d3c5d1c28ea8d7ce4b author Eric W. Biederman Tue, 28 Mar 2006 16:11:02 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:40 -0800 [PATCH] do_SAK: don't depend on session ID 0 I'm not really certain what the thinking was but the code obviously wanted to walk processes other than just those in it's session, for purposes of do_SAK. Just walking those tasks that don't have a session assigned sounds at the very least incomplete. So modify the code to kill everything in the session and anything else that might have the tty open. Hopefully this helps if the do_SAK functionality is ever finished. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f96a795d4f6a8a13abe4b0d3c5d1c28ea8d7ce4b tree 18baf25d15cc330240aebdd69273b4a6eca89056 parent 6c99c5cb94319a601b5ec5ee31c331f84755dd74 author Eric W. Biederman Tue, 28 Mar 2006 16:11:01 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:40 -0800 [PATCH] do_tty_hangup: use group_send_sig_info not send_group_sig_info We already have the tasklist_lock so there is no need for us to reacquire it with send_group_sig_info. reader/writer locks allow multiple readers and thus recursion so the old code was ok just wastful. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c99c5cb94319a601b5ec5ee31c331f84755dd74 tree dca4d96ee6aa1cfbc36b3eaf060b14278e2bd0d7 parent 1434261c07bcebd5ef8b8a18f919fdee533b84e0 author Eric W. Biederman Tue, 28 Mar 2006 16:11:00 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:40 -0800 [PATCH] Remove dead kill_sl prototype from sched.h The kill_sl function doesn't exist in the kernel so a prototype is completely unnecessary. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1434261c07bcebd5ef8b8a18f919fdee533b84e0 tree 1d0ba868866354569d2b8854a26ff48dbdbc1a98 parent fef23e7fbb11a0a78cd61935f7056bc2b237995a author Oleg Nesterov Tue, 28 Mar 2006 16:10:59 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:40 -0800 [PATCH] simplify exec from init's subthread I think it is enough to take tasklist_lock for reading while changing child_reaper: Reparenting needs write_lock(tasklist_lock) Only one thread in a thread group can do exec() sighand->siglock garantees that get_signal_to_deliver() will not see a stale value of child_reaper. This means that we can change child_reaper earlier, without calling zap_other_threads() twice. "child_reaper = current" is a NOOP when init does exec from main thread, we don't care. Signed-off-by: Oleg Nesterov Acked-by: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fef23e7fbb11a0a78cd61935f7056bc2b237995a tree a6ff460b3a5d11d01c0532de561eb81183e056c2 parent ca9ba4471c1203bb6e759b76e83167fec54fe590 author Eric W. Biederman Tue, 28 Mar 2006 16:10:58 -0800 committer Linus Torvalds Tue, 28 Mar 2006 18:36:40 -0800 [PATCH] exec: allow init to exec from any thread. After looking at the problem of init calling exec some more I figured out an easy way to make the code work. The actual symptom without out this patch is that all threads will die except pid == 1, and the thread calling exec. The thread calling exec will wait forever for pid == 1 to die. Since pid == 1 does not install a handler for SIGKILL it will never die. This modifies the tests for init from current->pid == 1 to the equivalent current == child_reaper. And then it causes exec in the ugly case to modify child_reaper. The only weird symptom is that you wind up with an init process that doesn't have the oldest start time on the box. Signed-off-by: Eric W. Biederman Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bac30d1a78d0f11c613968fc8b351a91ed465386 tree e52f3c876522a2f6047a6ec1c27df2e8a79486b8 parent e8222502ee6157e2713da9e0792c21f4ad458d50 parent ca9ba4471c1203bb6e759b76e83167fec54fe590 author Paul Mackerras Wed, 29 Mar 2006 13:24:50 +1100 committer Paul Mackerras Wed, 29 Mar 2006 13:24:50 +1100 Merge ../linux-2.6 commit c0e4077c946104e5d8a62f835dcdca5c79c8af7d tree c1f458722f86690a6172bbac2dfef3241ba0ec7e parent 94c2d01a537daf51a9fcf229d7d2204c979355d9 parent ca9ba4471c1203bb6e759b76e83167fec54fe590 author Jody McIntyre Tue, 28 Mar 2006 20:24:39 -0500 committer Jody McIntyre Tue, 28 Mar 2006 20:24:39 -0500 Merge with git+ssh://master.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 94c2d01a537daf51a9fcf229d7d2204c979355d9 tree 9ef944f89559b8d5ac3edaac836334861fd07fbf parent d024ebc67eaa6bb7abca2e3061cb257a1587fa30 author Jody McIntyre Tue, 28 Mar 2006 20:04:04 -0500 committer Jody McIntyre Tue, 28 Mar 2006 20:04:04 -0500 ohci1394: cleanup the "Unexpected PCI resource length" warning. This warning happens in practice because the resource length reported by the chipset is too large. This is not actually a problem, so don't warn about it. If it happens to be too small, warn about that, but with a different message so people who are used to ignoring the old message don't. Signed-off-by: Jody McIntyre commit d024ebc67eaa6bb7abca2e3061cb257a1587fa30 tree 7751c51d199478dd9a2245cd0b9c55ec6d7f0ee3 parent 8f0525ff1901f4fafe6d02d5d373ca38103ff5a7 author Stefan Richter Tue, 28 Mar 2006 20:03:55 -0500 committer Jody McIntyre Tue, 28 Mar 2006 20:03:55 -0500 sbp2: misc debug logging cleanups - move call of scsi_print_command from sbp2_send_command to the beginning of sbp2_queue_command to show also commands which are not sent - put sbp2's name into scsi_print_sense - use __FUNCTION__ in log messages - remove a few less useful log messages and comments Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 8f0525ff1901f4fafe6d02d5d373ca38103ff5a7 tree 1a68c033d4cac80a412063eb7a201c9104e87672 parent 23e93f1742372bc938e53151bdbf88d284ee9561 author Stefan Richter Tue, 28 Mar 2006 20:03:45 -0500 committer Jody McIntyre Tue, 28 Mar 2006 20:03:45 -0500 sbp2: proper treatment of DID_OK Sbp2 relied on DID_OK to be defined as 0. Always shift DID_OK into the right position anyway, and explicitly return DID_OK together with CHECK_CONDITION. Also comment on some #if 0 code. The patch does not change current behaviour. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 23e93f1742372bc938e53151bdbf88d284ee9561 tree 06292b0be5cca659d73b6caaf6e412e1375dc15c parent 556640510d7e15664cb9bf2f70f7519bfedd6c29 author Stefan Richter Tue, 28 Mar 2006 20:03:34 -0500 committer Jody McIntyre Tue, 28 Mar 2006 20:03:34 -0500 ieee1394: set read permission for parameter disable_irm No need to hide it from /sys/module/ieee1394/parameters/. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 65b4b4e81a5094d52cbe372b887b1779abe53f9b tree ef8369e6a8e5278f8f4101132ba85869e5a4ce1d parent c3e5d877aadc073b09c4901f8c1a768de79b0a5d author Andrew Morton Tue, 28 Mar 2006 16:37:06 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:48 -0800 [NETFILTER]: Rename init functions. Every netfilter module uses `init' for its module_init() function and `fini' or `cleanup' for its module_exit() function. Problem is, this creates uninformative initcall_debug output and makes ctags rather useless. So go through and rename them all to $(filename)_init and $(filename)_fini. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit c3e5d877aadc073b09c4901f8c1a768de79b0a5d tree 7338cd13457fa551fdf35579bf60ef6eb630d782 parent d2acc3479cbccd5cfbca6c787be713ef1de12ec6 author S P Tue, 28 Mar 2006 16:35:46 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:47 -0800 [TCP]: Fix RFC2465 typo. Signed-off-by: S P Signed-off-by: David S. Miller commit d2acc3479cbccd5cfbca6c787be713ef1de12ec6 tree aa348e19e15027db9abdd2da175a0c9055047858 parent f0088a50e7c49d1ba285c88fe06345f223652fd3 author Herbert Xu Tue, 28 Mar 2006 01:12:13 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:46 -0800 [INET]: Introduce tunnel4/tunnel6 Basically this patch moves the generic tunnel protocol stuff out of xfrm4_tunnel/xfrm6_tunnel and moves it into the new files of tunnel4.c and tunnel6 respectively. The reason for this is that the problem that Hugo uncovered is only the tip of the iceberg. The real problem is that when we removed the dependency of ipip on xfrm4_tunnel we didn't really consider the module case at all. For instance, as it is it's possible to build both ipip and xfrm4_tunnel as modules and if the latter is loaded then ipip simply won't load. After considering the alternatives I've decided that the best way out of this is to restore the dependency of ipip on the non-xfrm-specific part of xfrm4_tunnel. This is acceptable IMHO because the intention of the removal was really to be able to use ipip without the xfrm subsystem. This is still preserved by this patch. So now both ipip/xfrm4_tunnel depend on the new tunnel4.c which handles the arbitration between the two. The order of processing is determined by a simple integer which ensures that ipip gets processed before xfrm4_tunnel. The situation for ICMP handling is a little bit more complicated since we may not have enough information to determine who it's for. It's not a big deal at the moment since the xfrm ICMP handlers are basically no-ops. In future we can deal with this when we look at ICMP caching in general. The user-visible change to this is the removal of the TUNNEL Kconfig prompts. This makes sense because it can only be used through IPCOMP as it stands. The addition of the new modules shouldn't introduce any problems since module dependency will cause them to be loaded. Oh and I also turned some unnecessary pskb's in IPv6 related to this patch to skb's. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit f0088a50e7c49d1ba285c88fe06345f223652fd3 tree 82e3fd2dfbab6e7b73f6c6aabf9ba108d007e4da parent 1d1818316f0b61e0997a159680e1e631a23a407e author Denis Vlasenko Tue, 28 Mar 2006 01:08:21 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:45 -0800 [NET]: deinline 200+ byte inlines in sock.h Sizes in bytes (allyesconfig, i386) and files where those inlines are used: 238 sock_queue_rcv_skb 2.6.16/net/x25/x25_in.o 238 sock_queue_rcv_skb 2.6.16/net/rose/rose_in.o 238 sock_queue_rcv_skb 2.6.16/net/packet/af_packet.o 238 sock_queue_rcv_skb 2.6.16/net/netrom/nr_in.o 238 sock_queue_rcv_skb 2.6.16/net/llc/llc_sap.o 238 sock_queue_rcv_skb 2.6.16/net/llc/llc_conn.o 238 sock_queue_rcv_skb 2.6.16/net/irda/af_irda.o 238 sock_queue_rcv_skb 2.6.16/net/ipx/af_ipx.o 238 sock_queue_rcv_skb 2.6.16/net/ipv6/udp.o 238 sock_queue_rcv_skb 2.6.16/net/ipv6/raw.o 238 sock_queue_rcv_skb 2.6.16/net/ipv4/udp.o 238 sock_queue_rcv_skb 2.6.16/net/ipv4/raw.o 238 sock_queue_rcv_skb 2.6.16/net/ipv4/ipmr.o 238 sock_queue_rcv_skb 2.6.16/net/econet/econet.o 238 sock_queue_rcv_skb 2.6.16/net/econet/af_econet.o 238 sock_queue_rcv_skb 2.6.16/net/bluetooth/sco.o 238 sock_queue_rcv_skb 2.6.16/net/bluetooth/l2cap.o 238 sock_queue_rcv_skb 2.6.16/net/bluetooth/hci_sock.o 238 sock_queue_rcv_skb 2.6.16/net/ax25/ax25_in.o 238 sock_queue_rcv_skb 2.6.16/net/ax25/af_ax25.o 238 sock_queue_rcv_skb 2.6.16/net/appletalk/ddp.o 238 sock_queue_rcv_skb 2.6.16/drivers/net/pppoe.o 276 sk_receive_skb 2.6.16/net/decnet/dn_nsp_in.o 276 sk_receive_skb 2.6.16/net/dccp/ipv6.o 276 sk_receive_skb 2.6.16/net/dccp/ipv4.o 276 sk_receive_skb 2.6.16/net/dccp/dccp_ipv6.o 276 sk_receive_skb 2.6.16/drivers/net/pppoe.o 209 sk_dst_check 2.6.16/net/ipv6/ip6_output.o 209 sk_dst_check 2.6.16/net/ipv4/udp.o 209 sk_dst_check 2.6.16/net/decnet/dn_nsp_out.o Large inlines with multiple callers: Size Uses Wasted Name and definition ===== ==== ====== ================================================ 238 21 4360 sock_queue_rcv_skb include/net/sock.h 109 10 801 sock_recv_timestamp include/net/sock.h 276 4 768 sk_receive_skb include/net/sock.h 94 8 518 __sk_dst_check include/net/sock.h 209 3 378 sk_dst_check include/net/sock.h 131 4 333 sk_setup_caps include/net/sock.h 152 2 132 sk_stream_alloc_pskb include/net/sock.h 125 2 105 sk_stream_writequeue_purge include/net/sock.h Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 1d1818316f0b61e0997a159680e1e631a23a407e tree fe79294a13661c75f2c5e311dfa62b2ba5ac8f67 parent f6c90b71a355a0a4a22e1cfee5748617adc25a53 author David S. Miller Tue, 28 Mar 2006 00:01:55 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:43 -0800 [ECONET]: Convert away from SOCKOPS_WRAPPED Just use a local econet_mutex instead. Signed-off-by: David S. Miller commit f6c90b71a355a0a4a22e1cfee5748617adc25a53 tree 2fdbe51a57e25a781128ce4a8c85375201221ded parent f1465f7ea9e7aecba8e41d4aac9240f9b7fe2e24 author Petr Vandrovec Mon, 27 Mar 2006 23:39:31 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:43 -0800 [NET]: Fix ipx/econet/appletalk/irda ioctl crashes Fix kernel oopses whenever somebody issues compatible ioctl on AppleTalk, Econet, IPX or IRDA socket. For AppleTalk/Econet/IRDA it restores state in which these sockets were before compat_ioctl was introduced to the socket ops, for IPX it implements support for 4 ioctls which were not implemented before - as these ioctls use structures which match between 32bit and 64bit userspace, no special code is needed, just call 64bit ioctl handler. Signed-off-by: Petr Vandrovec Signed-off-by: David S. Miller commit f1465f7ea9e7aecba8e41d4aac9240f9b7fe2e24 tree d4b09f34b685f964853050ff342f3e100af5f3b4 parent e3a05978f18a38ae13bb3f1184abf3c999e06da9 author David S. Miller Mon, 27 Mar 2006 23:28:44 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:42 -0800 [NET]: Kill Documentation/networking/TODO Sorely out of date. Add the linux-net wiki web site to the NETWORKING maintainers entry, on which we maintain the current networking TODO list. Noticed by Randy Dunlap. Signed-off-by: David S. Miller commit e3a05978f18a38ae13bb3f1184abf3c999e06da9 tree 5a08154d7047986dabfe453c63a95dba2f53e779 parent f475f163f128a0d9c92dfa90bcb5953fd8f9766f author Michael Chan Mon, 27 Mar 2006 23:21:07 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:41 -0800 [TG3]: Update version and reldate Update version to 3.55. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit f475f163f128a0d9c92dfa90bcb5953fd8f9766f tree 877ee6c922e8596a185339599acb0efb6e615ac6 parent 100c4673307f5806788791b9b886877c806afd96 author Michael Chan Mon, 27 Mar 2006 23:20:14 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:39 -0800 [TG3]: Skip timer code during full lock Skip the main timer code if interrupts are disabled in the full lock state. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 100c4673307f5806788791b9b886877c806afd96 tree 0269abfbf85bfa2e149d027393c8c27d1e00bec6 parent ff18ff023495a4f1ce7c65e7c376c4720eccf4da author Michael Chan Mon, 27 Mar 2006 23:19:00 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:38 -0800 [TG3]: Speed up SRAM access Speed up SRAM read and write functions if possible by using MMIO instead of config. cycles. With this change, the post reset signature done at the end of D3 power change must now be moved before the D3 power change. IBM reported a problem on powerpc blades during ethtool self test that was caused by the memory test taking excessively long. Config. cycles are very slow on powerpc and the memory test can take more than 10 seconds to complete using config. cycles. As a result, NETDEV WATCHDOG can be triggered during self test and the chip can end up in a funny state. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit ff18ff023495a4f1ce7c65e7c376c4720eccf4da tree ef08dc52d54d7b50770be1497e4c3aed5a957dc1 parent 6728a8e2e180b96ac7940dd4d766c52f8e177717 author Michael Chan Mon, 27 Mar 2006 23:17:27 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:37 -0800 [TG3]: Fix PHY loopback on 5700 Fix PHY loopback failure on some 5700 devices. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 6728a8e2e180b96ac7940dd4d766c52f8e177717 tree d29f63bb0b6ee3560d12f21dc7431207508704ab parent 008652b337364ee994a0cd71d88a0fe9f00fc7ca author Michael Chan Mon, 27 Mar 2006 23:16:49 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:36 -0800 [TG3]: Fix bug in 40-bit DMA workaround code Need to check the TG3_FLAG_40BIT_DMA_BUG flag in the workaround code path instead of device flags. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 008652b337364ee994a0cd71d88a0fe9f00fc7ca tree 1a92b594cf22327ac92484e37129d86bac6f663c parent ca9ba4471c1203bb6e759b76e83167fec54fe590 author Michael Chan Mon, 27 Mar 2006 23:14:53 -0800 committer David S. Miller Tue, 28 Mar 2006 17:02:35 -0800 [TG3]: Fix probe failure due to invalid MAC address Some older bootcode in some devices may report 0 MAC address in SRAM when booting up from low power state. This patch fixes the problem by checking for a valid MAC address in SRAM and falling back to NVRAM if necessary. Thanks to walt for reporting the problem and helping to debug it. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 556640510d7e15664cb9bf2f70f7519bfedd6c29 tree 5c555b9c49119f243d969bd5d8ac1032e84c2cd7 parent 180a43044faeaa9bfe0c604d472023a6446430b5 author Stefan Richter Tue, 28 Mar 2006 19:59:42 -0500 committer Jody McIntyre Tue, 28 Mar 2006 19:59:42 -0500 sbp2: check for ARM failure Sbp2 did not check for successful registration of the lower address range when CONFIG_IEEE1394_SBP2_PHYS_DMA was set. If hpsb_register_addrspace failed, a "login timed-out" would occur which is misleading. Now sbp2 logs a sensible error message. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 180a43044faeaa9bfe0c604d472023a6446430b5 tree 81025e588cd49c5b69501773e58afbf31ba8b176 parent c1d08eb6cd06c225d825c8981e05729389fd51a9 author Stefan Richter Tue, 28 Mar 2006 19:57:34 -0500 committer Jody McIntyre Tue, 28 Mar 2006 19:57:34 -0500 ohci1394: clean up asynchronous and physical request filters programming Various cleanups of how ohci1394 programs AsynchronousRequestFilter, PhysicalRequestFilter, and physUpperBoundOffset. In particular, do not rewrite registers within the bus reset interrupt handler if bus resets do not affect the registers in the first place. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit c1d08eb6cd06c225d825c8981e05729389fd51a9 tree 42d68838b904e963a716d38d6b07c01c1e8751a6 parent a8748445e5ff747b114b5c29461ba2d28af404e8 author Stefan Richter Tue, 28 Mar 2006 19:56:45 -0500 committer Jody McIntyre Tue, 28 Mar 2006 19:56:45 -0500 ieee1394: remove amdtp remains from ieee1394_core.h since amdtp driver was deleted Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit a8748445e5ff747b114b5c29461ba2d28af404e8 tree d3d8a73fc5271664a1ab82a867879f7dbdb85415 parent e2f8165dc3c70cd74bcf2c63a6c0de254c6ff50c author Stefan Richter Tue, 28 Mar 2006 19:55:41 -0500 committer Jody McIntyre Tue, 28 Mar 2006 19:55:41 -0500 ieee1394: remove devfs support Devfs has been disabled in the last kernel releases, so let's remove it from ieee1394core, raw1394, video1394, dv1394. Signed-off-by: Stefan Richter Acked-by: Greg Kroah-Hartman Cc: Dan Dennedy Signed-off-by: Jody McIntyre commit e2f8165dc3c70cd74bcf2c63a6c0de254c6ff50c tree ce7c0f0af9e21de680c283f1ac8fbc9773f75571 parent 147830f297f369fa8731a75e3e4c7c7cd5c3e868 author Jody McIntyre Tue, 28 Mar 2006 19:55:11 -0500 committer Jody McIntyre Tue, 28 Mar 2006 19:55:11 -0500 Signed-off-by: Jody McIntyre commit 147830f297f369fa8731a75e3e4c7c7cd5c3e868 tree 228b73890ab9027d31bf9aead848136c2d3f0656 parent 5d5d7727a8cde78f798ecf04bac8031eff536f9d author Stefan Richter Tue, 28 Mar 2006 19:54:52 -0500 committer Jody McIntyre Tue, 28 Mar 2006 19:54:52 -0500 sbp2: prevent unloading of 1394 low-level driver When a new SBP-2 unit is added, sbp2 now takes a reference on the 1394 low-level driver (ohci1394 or pcilynx). This prevents the 1394 host driver module from being unloaded, e.g. by an administrative routine cleanup of unused kernel modules or when another 1394 driver which depends on ohci1394 is unloaded. The reference is dropped when the SBP-2 unit was disconnected, when sbp2 is unloaded or detached from the unit, or when addition of the SBP-2 unit failed. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit c25366680bab32efcbb5eda5f3c202099ba27b81 tree f433459e4db749d8e96b38152e30fac217e46cc4 parent 0b7e56a450a4800c5f48f3a345a5a7de2f38041c author Nathan Scott Wed, 29 Mar 2006 10:44:40 +1000 committer Nathan Scott Wed, 29 Mar 2006 10:44:40 +1000 [XFS] Cleanup in XFS after recent get_block_t interface tweaks. Signed-off-by: Nathan Scott commit 0b7e56a450a4800c5f48f3a345a5a7de2f38041c tree a326cc4f0f914457e57669e604112b094f08e786 parent 3ccb8b5f650e80b7cc7ef76289348472e026b6ac author Mandy Kirkconnell Wed, 29 Mar 2006 09:53:03 +1000 committer Nathan Scott Wed, 29 Mar 2006 09:53:03 +1000 [XFS] Remove unused/obsoleted function: xfs_bmap_do_search_extents() SGI-PV: 951415 SGI-Modid: xfs-linux-melb:xfs-kern:208490a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit 3ccb8b5f650e80b7cc7ef76289348472e026b6ac tree 4271489ba63b163c6ae997075efe6e5472f3d8d2 parent 3c674e74238cb2484169e3f84f687c66887086b6 author Glen Overby Wed, 29 Mar 2006 09:52:28 +1000 committer Nathan Scott Wed, 29 Mar 2006 09:52:28 +1000 [XFS] A change to inode chunk allocation to try allocating the new chunk contiguous with the most recently allocated chunk. On a striped filesystem, this will fill a stripe unit with inodes before allocating new inodes in another stripe unit. SGI-PV: 951416 SGI-Modid: xfs-linux-melb:xfs-kern:208488a Signed-off-by: Glen Overby Signed-off-by: Nathan Scott commit 3c674e74238cb2484169e3f84f687c66887086b6 tree 07964918e0948a42bf787b37fc970c4b137fce53 parent e0edd5962bd83d319aaa50b39580dc30299a7fe3 author Nathan Scott Wed, 29 Mar 2006 09:26:15 +1000 committer Nathan Scott Wed, 29 Mar 2006 09:26:15 +1000 Fixes a regression from the recent "remove ->get_blocks() support" change. inode->i_blkbits should be used when making a get_block_t request of a filesystem instead of dio->blkbits, as that does not indicate the filesystem block size all the time (depends on request alignment - see start of __blockdev_direct_IO). Signed-off-by: Nathan Scott Acked-by: Badari Pulavarty commit e0edd5962bd83d319aaa50b39580dc30299a7fe3 tree 7a9afc68dd972ce60c2836f9fba50e579615eed8 parent c41564b5af328ea4600b26119f6c9c8e1eb5c28b author Nathan Scott Wed, 29 Mar 2006 08:55:47 +1000 committer Nathan Scott Wed, 29 Mar 2006 08:55:47 +1000 [XFS] Fix compiler warning and small code inconsistencies in compat ioctl32 land. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25590a Signed-off-by: Nathan Scott commit c41564b5af328ea4600b26119f6c9c8e1eb5c28b tree 807890415ed6f4a44158fa29fd740cc042235ecd parent ca9ba4471c1203bb6e759b76e83167fec54fe590 author Nathan Scott Wed, 29 Mar 2006 08:55:14 +1000 committer Nathan Scott Wed, 29 Mar 2006 08:55:14 +1000 [XFS] We really suck at spulling. Thanks to Chris Pascoe for fixing all these typos. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25539a Signed-off-by: Nathan Scott commit 55eb061326765b2d0489387cfb3fc7dbd244f917 tree 7b86a46c2c0d9a1581f70dfd82067daaf566b16f parent d2b58b58838159b2afdc624f74b208e8bd3c029e author Dave Airlie Wed, 29 Mar 2006 08:16:12 +1000 committer Dave Airlie Wed, 29 Mar 2006 08:16:12 +1000 drm: remove drm_{alloc,free}_pages drm_alloc_pages and drm_free_pages can now be removed. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit d2b58b58838159b2afdc624f74b208e8bd3c029e tree 9b99a59fee6e45796a4f881c519597e8fc36d664 parent f3dd5c37382472a8b245ad791ed768771594e60c author Dave Airlie Wed, 29 Mar 2006 08:12:52 +1000 committer Dave Airlie Wed, 29 Mar 2006 08:12:52 +1000 drm: sis fix compile warning Prevent a gcc warning in the SIS DRM driver. offset is a unsigned int and the printk wants a long. Signed-off-by: Jon Mason Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit ca9ba4471c1203bb6e759b76e83167fec54fe590 tree 8aeb359631742f77f635cb5ff785bea9132502f9 parent d4965b3e2ff94d0c7b7e6e7e9794b54950a2f4b9 parent c4713074375c61f939310b04e92090afe29810dc author Linus Torvalds Tue, 28 Mar 2006 13:53:03 -0800 committer Linus Torvalds Tue, 28 Mar 2006 13:53:03 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] 3388/1: ixp23xx: add core ixp23xx support [ARM] 3417/1: add support for logicpd pxa270 card engine [ARM] 3387/1: ixp23xx: add defconfig [ARM] 3377/2: add support for intel xsc3 core [ARM] Move ice-dcc code into misc.c [ARM] Fix decompressor serial IO to give CRLF not LFCR [ARM] proc-v6: mark page table walks outer-cacheable, shared. Enable NX. [ARM] nommu: trivial patch for arch/arm/lib/Makefile [ARM] 3416/1: Update LART site URL [ARM] 3415/1: Akita: Add missing EXPORT_SYMBOL [ARM] 3414/1: ep93xx: reset ethernet controller before uncompressing commit d4965b3e2ff94d0c7b7e6e7e9794b54950a2f4b9 tree e96e7a3e02acacd4ee200592ec176b94802d11e7 parent 9561b03dc360068504cb296d325fb84295f91fbb parent aee85fe8e8143d3f54d9e6d3c6cdd40ead563267 author Linus Torvalds Tue, 28 Mar 2006 13:52:37 -0800 committer Linus Torvalds Tue, 28 Mar 2006 13:52:37 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial * master.kernel.org:/home/rmk/linux-2.6-serial: [SERIAL] Provide Cirrus EP93xx AMBA PL010 serial support. [SERIAL] amba-pl010: allow platforms to specify modem control method [SERIAL] Remove obsoleted au1x00_uart driver [SERIAL] Small time UART configuration fix for AU1100 processor commit c4713074375c61f939310b04e92090afe29810dc tree f09441eac8bd29a4a48f0360e1207d6def04b5fd parent e9937d4b0a9382c4c78411d1c53e62be396ee9a9 author Lennert Buytenhek Tue, 28 Mar 2006 21:18:54 +0100 committer Russell King Tue, 28 Mar 2006 21:18:54 +0100 [ARM] 3388/1: ixp23xx: add core ixp23xx support Patch from Lennert Buytenhek This patch adds support for the Intel ixp23xx series of CPUs. The ixp23xx is an XSC3 based CPU with 512K of L2 cache, a 64bit 66MHz PCI interface, two DDR RAM interfaces, QDR RAM interfaces, two gigabit MACs, two 10/100 MACs, expansion bus, four microengines, a Media and Switch Fabric unit almost identical to the one on the ixp2400, two xscale (8250ish) UARTs and a bunch of other stuff. This patch adds the core ixp23xx support code, and support for the ADI Engineering Roadrunner, Intel IXDP2351, and IP Fabrics Double Espresso platforms. Signed-off-by: Deepak Saxena Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit e9937d4b0a9382c4c78411d1c53e62be396ee9a9 tree c75b6c7b813d6d5172ddd47242d9b6ee8cc284a9 parent fa5ebfccf30741dc432cb81c25bb591c8018eb18 author Lennert Buytenhek Tue, 28 Mar 2006 21:08:13 +0100 committer Russell King Tue, 28 Mar 2006 21:08:13 +0100 [ARM] 3417/1: add support for logicpd pxa270 card engine Patch from Lennert Buytenhek Add support for the LogicPD PXA270 Card Engine. Signed-off-by: Lennert Buytenhek Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit fa5ebfccf30741dc432cb81c25bb591c8018eb18 tree 4c4b04099ee2099f041f7df578b71bce80bba9f1 parent 23bdf86aa06ebe71bcbf6b7d25de9958c6ab33fa author Lennert Buytenhek Tue, 28 Mar 2006 21:02:26 +0100 committer Russell King Tue, 28 Mar 2006 21:02:26 +0100 [ARM] 3387/1: ixp23xx: add defconfig Patch from Lennert Buytenhek Add ixp23xx defconfig. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 23bdf86aa06ebe71bcbf6b7d25de9958c6ab33fa tree 56636558e8cdeee0739e7d8c82d66ffe625340b3 parent de4533a04eb4f66dbef71f59a9c118256b886823 author Lennert Buytenhek Tue, 28 Mar 2006 21:00:40 +0100 committer Russell King Tue, 28 Mar 2006 21:00:40 +0100 [ARM] 3377/2: add support for intel xsc3 core Patch from Lennert Buytenhek This patch adds support for the new XScale v3 core. This is an ARMv5 ISA core with the following additions: - L2 cache - I/O coherency support (on select chipsets) - Low-Locality Reference cache attributes (replaces mini-cache) - Supersections (v6 compatible) - 36-bit addressing (v6 compatible) - Single instruction cache line clean/invalidate - LRU cache replacement (vs round-robin) I attempted to merge the XSC3 support into proc-xscale.S, but XSC3 cores have separate errata and have to handle things like L2, so it is simpler to keep it separate. L2 cache support is currently a build option because the L2 enable bit must be set before we enable the MMU and there is no easy way to capture command line parameters at this point. There are still optimizations that can be done such as using LLR for copypage (in theory using the exisiting mini-cache code) but those can be addressed down the road. Signed-off-by: Deepak Saxena Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit e6d1ba5cd9954e7c15538aaef7585b235a69e0e1 tree 4e23ac0b61613c860a8a38470b0fe6e5b0ff2357 parent 46cba3dcaea4eb51b28fac78d15542a90619a6ef author Satoru Takeuchi Mon, 27 Mar 2006 17:13:46 +0900 committer Tony Luck Tue, 28 Mar 2006 10:42:15 -0800 [IA64] simplify some condition checks in iosapic_check_gsi_range Some condition checks on iosapic_check_gsi_range() can be omitted because always `base <= end' is assured. This patch simplifies those checks. Signed-off-by: Satoru Takeuchi Signed-off-by: Tony Luck commit 46cba3dcaea4eb51b28fac78d15542a90619a6ef tree eadb3d54b8753a4bbaa6a9a63f621a953f49f3f1 parent 769ebc66dec24770ea1e99019099d2bc636a61d3 author Satoru Takeuchi Mon, 27 Mar 2006 17:12:19 +0900 committer Tony Luck Tue, 28 Mar 2006 10:41:23 -0800 [IA64] correct some messages and fixes some minor things This patch corrects some wrong comments and a printk message. It also fixes some minor things, and makes all lines fit in 80 columns. Signed-off-by: Satoru Takeuchi Signed-off-by: Tony Luck commit 9561b03dc360068504cb296d325fb84295f91fbb tree b241c43d203f99f2ce21c9edf81aa7f71ac57025 parent 7baf398f12585ae77748716fa77113c1f1831153 parent c326e27eb79e98050d855e371ac534ff4352e910 author Linus Torvalds Tue, 28 Mar 2006 09:48:32 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:48:32 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq: [CPUFREQ] cpufreq_conservative: keep ignore_nice_load and freq_step values when reselected [CPUFREQ] powernow: remove private for_each_cpu_mask() [CPUFREQ] hotplug cpu fix for powernow-k8 [PATCH] cpufreq_ondemand: add range check [PATCH] cpufreq_ondemand: keep ignore_nice_load value when it is reselected [PATCH] cpufreq_ondemand: Warn if it cannot run due to too long transition latency [PATCH] cpufreq_conservative: alternative initialise approach [PATCH] cpufreq_conservative: make for_each_cpu() safe [PATCH] cpufreq_conservative: alter default responsiveness [PATCH] cpufreq_conservative: aligning of codebase with ondemand commit 7baf398f12585ae77748716fa77113c1f1831153 tree 492361d848d3dfc33563a1bdf0d0f61b454aac82 parent 78cd9e04e0acea4f622e84ca0c760c7eae0c6854 parent 206dc69b31ca05baac68c75b8ed2ba7dd857d273 author Linus Torvalds Tue, 28 Mar 2006 09:25:44 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:25:44 -0800 Merge branch 'cfq-merge' of git://brick.kernel.dk/data/git/linux-2.6-block * 'cfq-merge' of git://brick.kernel.dk/data/git/linux-2.6-block: [BLOCK] cfq-iosched: seek and async performance fixes [PATCH] ll_rw_blk: fix 80-col offender in put_io_context() [PATCH] cfq-iosched: small cfq_choose_req() optimization [PATCH] [BLOCK] cfq-iosched: change cfq io context linking from list to tree commit 78cd9e04e0acea4f622e84ca0c760c7eae0c6854 tree 6df4f07bfa77f8115e4250a14be76c04a2b5dc3e parent ec7e15d6486e9d1da1c2f344b670b8388ba7019b parent 6e57a3a89785692bd8d012d80f5ee210ab8e0b68 author Linus Torvalds Tue, 28 Mar 2006 09:25:22 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:25:22 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: Implement futex_atomic_cmpxchg_inatomic(). commit c326e27eb79e98050d855e371ac534ff4352e910 tree c9c0ef0fb238ed491b7ee86fbdf11dff21f2297c parent 64840e2722aeb789574e336d231bbc6436d51b34 author Mattia Dongili Mon, 27 Mar 2006 22:55:55 +0200 committer Dave Jones Tue, 28 Mar 2006 12:20:18 -0500 [CPUFREQ] cpufreq_conservative: keep ignore_nice_load and freq_step values when reselected Keep the value of ignore_nice_load and freq_step of the conservative governor after the governor is deselected and reselected. Signed-off-by: Mattia Dongili Signed-off-by: Dave Jones commit ec7e15d6486e9d1da1c2f344b670b8388ba7019b tree 479d803ee546b536521dc87095c31781a98a0bb6 parent 4fa95ef639830ccf0ca1ad42ee9bed87ef642f32 author Andrew Morton Tue, 28 Mar 2006 01:56:55 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:09 -0800 [PATCH] compat_sys_futex() warning fix kernel/futex_compat.c: In function `compat_sys_futex': kernel/futex_compat.c:140: warning: passing arg 1 of `do_futex' makes integer from pointer without a cast kernel/futex_compat.c:140: warning: passing arg 5 of `do_futex' makes integer from pointer without a cast Not sure what Ingo was thinking of here. Put the casts back in. Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fa95ef639830ccf0ca1ad42ee9bed87ef642f32 tree 5b7357fc9f89b0d94e6a969414de2e8499cfc256 parent 7f927fcc2fd1575d01efb4b76665975007945690 author Jesper Juhl Tue, 28 Mar 2006 01:56:54 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:09 -0800 [PATCH] sound: Remove unneeded kmalloc() return value casts Get rid of unnessesary casts of kmalloc() return value in sound/ Signed-off-by: Jesper Juhl Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f927fcc2fd1575d01efb4b76665975007945690 tree fbb84689600ea512d7b52f9fc46db2d7d8d7c1fd parent ded23ac62776b4360d88e9b0330792d2c57fdfdf author Alexey Dobriyan Tue, 28 Mar 2006 01:56:53 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:08 -0800 [PATCH] Typo fixes Fix a lot of typos. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ded23ac62776b4360d88e9b0330792d2c57fdfdf tree 2a994ce4f56d77162585879df6dd0b5884426269 parent b791ccef21129f9c7e4ab8274d5d7a0ec0a2fb7c author Jesper Juhl Tue, 28 Mar 2006 01:56:52 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:08 -0800 [PATCH] trivial typos in Documentation/cputopology.txt Fix a few trivial mistakes in Documentation/cputopology.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b791ccef21129f9c7e4ab8274d5d7a0ec0a2fb7c tree 20659079914031f1e7325624439b6b8f82c9c02b parent ca43b317fc557bbcca845c684d93375286bf9e0b author Jesper Juhl Tue, 28 Mar 2006 01:56:52 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:08 -0800 [PATCH] fix signed vs unsigned in nmi watchdog Fix "signed vs unsigned" in nmi_watchdog_tick. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca43b317fc557bbcca845c684d93375286bf9e0b tree 5f90347c80748e05bcc797fa0bf2791f2fd85232 parent 5a83fdddb8a104c021837637a59f93948b906819 author Jesper Juhl Tue, 28 Mar 2006 01:56:51 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:08 -0800 [PATCH] vfree does its own NULL check, no need to be explicit in oss/msnd.c vfree() does it's own NULL checking, no need for explicit check before calling it. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a83fdddb8a104c021837637a59f93948b906819 tree 135b1b47bb4a33c2fa02d7011b495e2573926871 parent 07e0e93d9a3cdbe3cad450e0d0a2937585dffc55 author Jesper Juhl Tue, 28 Mar 2006 01:56:50 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:08 -0800 [PATCH] no need to check vfree arg for null in oss/sequencer There's no need to check pointers for NULL before handing them to vfree(). Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07e0e93d9a3cdbe3cad450e0d0a2937585dffc55 tree ea4ab1d1b81ffb43eec99b949a0be01e20abe816 parent 457d3d432bede99ed04d3bdeb5efb238a3627e8f author Jesper Juhl Tue, 28 Mar 2006 01:56:49 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:08 -0800 [PATCH] maestro3 vfree NULL check fixup vfree() checks for NULL, no need to do it explicitly. Signed-off-by: Jesper Juhl Acked-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 457d3d432bede99ed04d3bdeb5efb238a3627e8f tree 164c91effb78a8d447a0708fecb12dea3e1c71af parent 910638ae7ed4be27d6af55f6c9b5bf54b838e78b author Jesper Juhl Tue, 28 Mar 2006 01:56:49 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:07 -0800 [PATCH] vfree NULL check fixup for sb_card There's no need to check the vfree() argument for NULL. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 910638ae7ed4be27d6af55f6c9b5bf54b838e78b tree 5eda3cfd0e312c8b0916f6d5eb1cd98225e67891 parent 60c904ae5bded8bb71f7bff7d63f2a6959d2a8e4 author Matthias Gehre Tue, 28 Mar 2006 01:56:48 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:07 -0800 [PATCH] Replace 0xff.. with correct DMA_xBIT_MASK Replace all occurences of 0xff.. in calls to function pci_set_dma_mask() and pci_set_consistant_dma_mask() with the corresponding DMA_xBIT_MASK from linux/dma-mapping.h. Signed-off-by: Matthias Gehre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60c904ae5bded8bb71f7bff7d63f2a6959d2a8e4 tree af7593441b9d640302a73a6406218a6b9cdc6aa2 parent 9bae1ff3e7926fe5e92db2f3c6d8832f18f777bc author Marcelo Feitoza Parisi Tue, 28 Mar 2006 01:56:47 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:07 -0800 [PATCH] drivers/scsi/*: use time_after() and friends They deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9bae1ff3e7926fe5e92db2f3c6d8832f18f777bc tree 587f3223c048d6e06f8e61936eaa8baa69b482e0 parent 05613bdd8647bfc4535b0dcc8f1b95c8b39be394 author Marcelo Feitoza Parisi Tue, 28 Mar 2006 01:56:46 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:07 -0800 [PATCH] ide-tape: use time_after(), time_after_eq() They deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Cc: Bartlomiej Zolnierkiewicz Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05613bdd8647bfc4535b0dcc8f1b95c8b39be394 tree aeb3860bdc08e20b455313246f69ae026daef091 parent 50297cbf07427b47f0fff5ade8e21cdabf860249 author Marcelo Feitoza Parisi Tue, 28 Mar 2006 01:56:45 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:06 -0800 [PATCH] nvidia-agp: use time_before_eq() It deals with wrapping correctly and is nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50297cbf07427b47f0fff5ade8e21cdabf860249 tree 8d95f3c79f091c17ff78ba0ba0d7015166f6a52b parent f45e4656ac0609437267b242953c07d523649f8d author Marcelo Feitoza Parisi Tue, 28 Mar 2006 01:56:44 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:06 -0800 [PATCH] drivers/block/*: use time_after() and friends They deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f45e4656ac0609437267b242953c07d523649f8d tree bd70b8ae51d2a29c435a6567852f32badafb2720 parent 50fc9999ec27ad66ce6db31ebb03759f77962bc1 author Adrian Bunk Tue, 28 Mar 2006 01:56:43 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:06 -0800 [PATCH] arch/i386/kernel/microcode.c: remove the obsolete microcode_ioctl Nowadays, even Debian stable ships a microcode_ctl utility recent enough to no longer use this ioctl. Signed-off-by: Adrian Bunk Acked-by: Tigran Aivazian Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50fc9999ec27ad66ce6db31ebb03759f77962bc1 tree fb9f719d1cc5c1c43442fd3bef96ab3672c630a1 parent 4b6f5d20b04dcbc3d888555522b90ba6d36c4106 author Jesper Juhl Tue, 28 Mar 2006 01:56:43 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:06 -0800 [PATCH] Docs update: missing files and descriptions for filesystems/00-INDEX Add missing files and descriptions to Documentation/filesystems/00-INDEX Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b6f5d20b04dcbc3d888555522b90ba6d36c4106 tree 420f271eaef7d3def7d4433b151c3cb6d7a54770 parent 99ac48f54a91d02140c497edc31dc57d4bc5c85d author Arjan van de Ven Tue, 28 Mar 2006 01:56:42 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:06 -0800 [PATCH] Make most file operations structs in fs/ const This is a conversion to make the various file_operations structs in fs/ const. Basically a regexp job, with a few manual fixups The goal is both to increase correctness (harder to accidentally write to shared datastructures) and reducing the false sharing of cachelines with things that get dirty in .data (while .rodata is nicely read only and thus cache clean) Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99ac48f54a91d02140c497edc31dc57d4bc5c85d tree 68719391694a6914191bdf73d2071875f7653f6f parent ec1b9466cb4f6ae6d950bd67055d9410d1056d2a author Arjan van de Ven Tue, 28 Mar 2006 01:56:41 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:05 -0800 [PATCH] mark f_ops const in the inode Mark the f_ops members of inodes as const, as well as fix the ripple-through this causes by places that copy this f_ops and then "do stuff" with it. Signed-off-by: Arjan van de Ven Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec1b9466cb4f6ae6d950bd67055d9410d1056d2a tree b0f9fcfebd3fe82e26316f6df5d62d3655251ba3 parent 3c30a75256a5863705fb7658cb0b2e3bb09a13df author Andrew Morton Tue, 28 Mar 2006 01:56:40 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:05 -0800 [PATCH] ia64: const f_ops fix Tweak the proc setup code so things work OK with const proc_dir_entry.proc_fops. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c30a75256a5863705fb7658cb0b2e3bb09a13df tree bfd7f1f84592c6cebd33bd2cc2ef710cf9fd48d1 parent c8912599c677f58fd3a5e5420c9cb6df62b2d8fa author KAMEZAWA Hiroyuki Tue, 28 Mar 2006 01:56:39 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:05 -0800 [PATCH] for_each_possible_cpu: documentaion Replace for_each_cpu with for_each_possible_cpu. Modifies occurences in documentaion. for_each_cpu in whatisRCU.txt should be for_each_online_cpu ??? (I'm not sure..) Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c8912599c677f58fd3a5e5420c9cb6df62b2d8fa tree 64f6be50c778438ddf48ca52ebbb5ca253a70108 parent fe449f48368623eb47715061b4977ce982d8e03b author KAMEZAWA Hiroyuki Tue, 28 Mar 2006 01:56:39 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:05 -0800 [PATCH] for_each_possible_cpu: i386 This patch replaces for_each_cpu with for_each_possible_cpu. under arch/i386. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe449f48368623eb47715061b4977ce982d8e03b tree 46536755b6b56d4e990f651c08e7ac01fa14d4af parent 0fed48463fb20c6bcabc5cf70e2de47b30507ee1 author KAMEZAWA Hiroyuki Tue, 28 Mar 2006 01:56:38 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:05 -0800 [PATCH] for_each_possible_cpu: oprofile. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0fed48463fb20c6bcabc5cf70e2de47b30507ee1 tree 2e5633d4afe21dc79d1f0284951a4ee71c2c843c parent 0a945022778f100115d0cb6234eb28fc1b15ccaf author KAMEZAWA Hiroyuki Tue, 28 Mar 2006 01:56:37 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:05 -0800 [PATCH] for_each_possible_cpu: loopback device. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a945022778f100115d0cb6234eb28fc1b15ccaf tree 85df4b5f7dd8bf59557091379c59b23b09115bf6 parent 631d6747e1d877a4baa924cb373b8b9511a53e5e author KAMEZAWA Hiroyuki Tue, 28 Mar 2006 01:56:37 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:05 -0800 [PATCH] for_each_possible_cpu: fixes for generic part replaces for_each_cpu with for_each_possible_cpu(). Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 631d6747e1d877a4baa924cb373b8b9511a53e5e tree 5bb88d5c9716b9d9f398a6a1e8c8be4501671643 parent 68c3431ae22912be580c68d3955ef46515582943 author KAMEZAWA Hiroyuki Tue, 28 Mar 2006 01:56:36 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:04 -0800 [PATCH] for_each_possible_cpu: defines for_each_possible_cpu for_each_cpu() is a for-loop over cpu_possible_map. for_each_online_cpu is for-loop cpu over cpu_online_map. .....for_each_cpu() is not sufficiently explicit and can lead to mistakes. This patch adds for_each_possible_cpu() in preparation for the removal of for_each_cpu(). Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68c3431ae22912be580c68d3955ef46515582943 tree e65917db1f37eca94d6cc11221d9b99b01e27f80 parent e4a1f129f9e43a5e5d28fe6d1b214246a398cdce author Vadim Lobanov Tue, 28 Mar 2006 01:56:35 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:04 -0800 [PATCH] Fold select_bits_alloc/free into caller code. Remove an unnecessary level of indirection in allocating and freeing select bits, as per the select_bits_alloc() and select_bits_free() functions. Both select.c and compat.c are updated. Signed-off-by: Vadim Lobanov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4a1f129f9e43a5e5d28fe6d1b214246a398cdce tree 9a8277520d5ef1bf8e86f11d76e6f0244efd9330 parent 70674f95c0a2ea694d5c39f4e514f538a09be36f author Eric Dumazet Tue, 28 Mar 2006 01:56:34 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:04 -0800 [PATCH] use fget_light() in select/poll Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70674f95c0a2ea694d5c39f4e514f538a09be36f tree 906d109fafc5eafff6a90c8d866e0525fdaf6783 parent b02389e98a7b64ad5cd4823740defa8821f30bbd author Andi Kleen Tue, 28 Mar 2006 01:56:33 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:04 -0800 [PATCH] Optimize select/poll by putting small data sets on the stack Optimize select and poll by a using stack space for small fd sets This brings back an old optimization from Linux 2.0. Using the stack is faster than kmalloc. On a Intel P4 system it speeds up a select of a single pty fd by about 13% (~4000 cycles -> ~3500) It also saves memory because a daemon hanging in select or poll will usually save one or two less pages. This can add up - e.g. if you have 10 daemons blocking in poll/select you save 40KB of memory. I did a patch for this long ago, but it was never applied. This version is a reimplementation of the old patch that tries to be less intrusive. I only did the minimal changes needed for the stack allocation. The cut off point before external memory is allocated is currently at 832bytes. The system calls always allocate this much memory on the stack. These 832 bytes are divided into 256 bytes frontend data (for the select bitmaps of the pollfds) and the rest of the space for the wait queues used by the low level drivers. There are some extreme cases where this won't work out for select and it falls back to allocating memory too early - especially with very sparse large select bitmaps - but the majority of processes who only have a small number of file descriptors should be ok. [TBD: 832/256 might not be the best split for select or poll] I suspect more optimizations might be possible, but they would be more complicated. One way would be to cache the select/poll context over multiple system calls because typically the input values should be similar. Problem is when to flush the file descriptors out though. Signed-off-by: Andi Kleen Cc: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b02389e98a7b64ad5cd4823740defa8821f30bbd tree ca4a18bd812ea5b67b26ebeee430590954782f97 parent d266ab88938e49aa95f1965ee020df1b1d4c5761 author Andrew Morton Tue, 28 Mar 2006 01:56:32 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:04 -0800 [PATCH] ide_generic_all_on() warning fix drivers/ide/pci/generic.c:45: warning: `ide_generic_all_on' defined but not used Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d266ab88938e49aa95f1965ee020df1b1d4c5761 tree b31fff6d3f9d2008f4672b21c7f37c9e91888043 parent 9edc91df07a227dbde9f98ee1097f554130993dc author Alan Cox Tue, 28 Mar 2006 01:56:31 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:04 -0800 [PATCH] Small fixes backported to old IDE SiS driver Some quick backport bits from the libata PATA work to fix things found in the sis driver. The piix driver needs some fixes too but those are way to large and need someone working on old IDE with time to do them. This patch fixes the case where random bits get loaded into SIS timing registers according to the description of the correct behaviour from Vojtech Pavlik. It also adds the SiS5517 ATA16 chipset which is not currently supported by the driver. Thanks to Conrad Harriss for loaning me the machine with the 5517 chipset. Signed-off-by: Alan Cox Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9edc91df07a227dbde9f98ee1097f554130993dc tree 123cf66c191fcef180e153ec3164a4e4ef9b3c2e parent f5b95ff010d0a4e40f877277f8f0e62fcd83b5a8 author Rene Herman Tue, 28 Mar 2006 01:56:30 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] ide: AMD756 no host side cable detection >From http://marc.theaimsgroup.com/?l=linux-kernel&m=110304128900342&w=2 AMD756 doesn't support host side cable detection. Do disk side only and don't advice obsolete options. Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5b95ff010d0a4e40f877277f8f0e62fcd83b5a8 tree dd9b8f58a16fec4746fb58a0848a36916b1f86f1 parent fa8f399a2bc36c1329672400857757e0982babf3 author Adrian Bunk Tue, 28 Mar 2006 01:56:29 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] autofs4: proper prototype for autofs4_dentry_release() Add a proper prototype for autofs4_dentry_release() to autofs_i.h. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa8f399a2bc36c1329672400857757e0982babf3 tree f3a6ffdfa3cb45647112aaf8a6d0ae749f69f87b parent e51236092d2f7e40e87e88804b5b42e5f8025415 author Alexey Dobriyan Tue, 28 Mar 2006 01:56:28 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] drivers/block/acsi_slm.c: size_t can't be < 0 A size_t can't be < 0. (akpm: and rw_verify_area() already did that check) Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e51236092d2f7e40e87e88804b5b42e5f8025415 tree 9ac887d944107d86dad6a534bb0399b7cd60c15e parent 3ca1da4a82b169417b738a35783008c35da26466 author Andrew Morton Tue, 28 Mar 2006 01:56:27 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] remove relayfs_fs.h This is obsolete. Cc: Tom Zanussi Cc: Jens Axboe Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ca1da4a82b169417b738a35783008c35da26466 tree 6de5eba638d60f10006d56cb067032fb2cca2741 parent a28af471b8946de052a0eb0c080d5457be93f168 author Philip Gladstone Tue, 28 Mar 2006 01:56:27 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] Philip Gladstone has moved I noticed that my email address is four jobs ago. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a28af471b8946de052a0eb0c080d5457be93f168 tree e1a17db252831fc2cd7ff206f37b8232a34957e9 parent 3b71797eff4352b4295919efc52de84f84d33d94 author Adrian Bunk Tue, 28 Mar 2006 01:56:26 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] fs/fat/: proper prototypes for two functions Add proper prototypes for fat_cache_init() and fat_cache_destroy() in msdos_fs.h. Signed-off-by: Adrian Bunk Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b71797eff4352b4295919efc52de84f84d33d94 tree c59b38a2da075c585adaad0d432f0962dfb6c396 parent b9e20a920092eb3840424f85c78852c0433df00d author Adrian Bunk Tue, 28 Mar 2006 01:56:25 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] drivers/block/paride/pd.c: fix an off-by-one error The Coverity checker found this off-by-one error. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b9e20a920092eb3840424f85c78852c0433df00d tree 267bf2564817cc5d5c36cb4b3acd860e2ee2c126 parent 7b7a317cf863559b49b548a8b97b2f4bdf1e149e author Eric Sesterhenn Tue, 28 Mar 2006 01:56:24 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] Change dash2underscore() return value to char Since dash2underscore() just operates and returns chars, I guess its safe to change the return value to a char. With my .config, this reduces its size by 5 bytes. text data bss dec hex filename 4155 152 0 4307 10d3 params.o.orig 4150 152 0 4302 10ce params.o Signed-off-by: Eric Sesterhenn Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b7a317cf863559b49b548a8b97b2f4bdf1e149e tree 2cacc386c324894b0997d846830f5324bcf89a19 parent 7a1e524a5fe6c5bf9dd4488e946fa835fda8c3d9 author Serge E. Hallyn Tue, 28 Mar 2006 01:56:23 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:03 -0800 [PATCH] mqueue comment typo fix (akpm: I don't do comment typos patches. This one snuck through by accident) Signed-off-by: Serge Hallyn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a1e524a5fe6c5bf9dd4488e946fa835fda8c3d9 tree 1bb01a06d4e269e7af14ac9c38e70349ab547404 parent 273577165cd206d2d6689ee4b18aa13de1ec4bde author Andrew Morton Tue, 28 Mar 2006 01:56:22 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] alpha: make poll flags the same as other architectures Renumber the recently-added POLLREMOVE and POLLRDHUP to line up with the other architectures. Cc: Davide Libenzi Cc: Ulrich Drepper Cc: Ivan Kokshaysky Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 273577165cd206d2d6689ee4b18aa13de1ec4bde tree f5dfaed2e193bb65a00ef551f02ace8726cc461c parent f83ca9fe3ee390755f18b4a7780c25ce593b484a author Brian Rogan Tue, 28 Mar 2006 01:56:20 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] Add oprofile_add_ext_sample On ppc64 we look at a profiling register to work out the sample address and if it was in userspace or kernel. The backtrace interface oprofile_add_sample does not allow this. Create oprofile_add_ext_sample and make oprofile_add_sample use it too. Signed-off-by: Anton Blanchard Cc: Philippe Elie Cc: John Levon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f83ca9fe3ee390755f18b4a7780c25ce593b484a tree 7517b8739a05218690ff421f78820d46728908f1 parent 6d9eac34104654aa129e365b8d48bbb8c957f186 author Andrew Morton Tue, 28 Mar 2006 01:56:20 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] symversion warning fix gcc-4.2: kernel/module.c: In function '__find_symbol': kernel/module.c:158: warning: the address of '__start___kcrctab', will always evaluate as 'true' kernel/module.c:165: warning: the address of '__start___kcrctab_gpl', will always evaluate as 'true' kernel/module.c:182: warning: the address of '__start___kcrctab_gpl_future', will always evaluate as 'true' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d9eac34104654aa129e365b8d48bbb8c957f186 tree 47b81aaebb9903df4bdaacad963ca4ee2bf04204 parent 829d5f68ec59ff7c0fdd472132680df8e4b64f3e author Andrew Morton Tue, 28 Mar 2006 01:56:19 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] capi: register_chrdev() fix If the user specified `major=0' (odd thing to do), capi.c will use dynamic allocation. We need to pick up that major for subsequent unregister_chrdev(). Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 829d5f68ec59ff7c0fdd472132680df8e4b64f3e tree 9673303b0141dd6330e2ead5970084260a80884c parent 8637980bab3f09157eef20cc65d2eb7393c770fd author Andrew Morton Tue, 28 Mar 2006 01:56:18 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] paride-pt: register_chrdev fix If the user specified `major=0' (odd thing to do), pt.c will use dynamic allocation. We need to pick up that major for subsequent unregister_chrdev(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8637980bab3f09157eef20cc65d2eb7393c770fd tree 0e9a99bc983a67edc3b3017f4a45a695674cd17e parent a687fb18cbd061de2092632cf77e6b9dc93cf7cd author Andrew Morton Tue, 28 Mar 2006 01:56:18 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] paride: register_chrdev fix If the user specified `major=0' (odd thing to do), pg.c will use dynamic allocation. We need to pick up that major for subsequent unregister_chrdev(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a687fb18cbd061de2092632cf77e6b9dc93cf7cd tree f08f87ec148e3f1fcd6efa01b9ba815803b6f8ab parent be4676e61f969b624185f14d819adef23d45ffc2 author Adrian Bunk Tue, 28 Mar 2006 01:56:17 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] let BLK_DEV_RAM_COUNT depend on BLK_DEV_RAM It's purely cosmetic, but with the patch there's no longer a BLK_DEV_RAM_COUNT setting in the .config if BLK_DEV_RAM=n. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be4676e61f969b624185f14d819adef23d45ffc2 tree a8dcd2380ca0fce83a0e3e093a25f0b0ca87b256 parent 0080b7aae88c75e2a6b38dfcb228b0f239e18e3c author Paul Fulghum Tue, 28 Mar 2006 01:56:16 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] synclink_gt: remove uneeded async code Remove code in async receive handling that serves no purpose with new tty receive buffering. Previously this code tried to free up receive buffer space, but now does nothing useful while making expensive calls. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0080b7aae88c75e2a6b38dfcb228b0f239e18e3c tree 445aadcb5f4e6271d9dfc6a35395a0a3a57716c6 parent 86a34147d1f1c94e94500e63e83f9fa42548a088 author Paul Fulghum Tue, 28 Mar 2006 01:56:15 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:02 -0800 [PATCH] synclink_gt add gpio feature Add driver support for general purpose I/O feature of the Synclink GT adapters. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86a34147d1f1c94e94500e63e83f9fa42548a088 tree c125461636acf4e6fd6db6ec0b992ba278511f7c parent f5f5370da4b3128b7dfd944b4fcbb5c7b6887348 author Paul Fulghum Tue, 28 Mar 2006 01:56:14 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:01 -0800 [PATCH] synclink: remove dead code Remove dead code from synclink driver. This was used previously when the write method had a from_user flag, which has been removed. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5f5370da4b3128b7dfd944b4fcbb5c7b6887348 tree 45a00ae5b234648083bad84db213da3b8220b679 parent 4f3a36a7d0eb420471506fcd46ee46f4b5cd4ebc author Kyle McMartin Tue, 28 Mar 2006 01:56:11 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:01 -0800 [PATCH] Decrapify asm-generic/local.h Now that Christoph Lameter's atomic_long_t support is merged in mainline, might as well convert asm-generic/local.h to use it, so the same code can be used for both sizes of 32 and 64-bit unsigned longs. akpm sayeth: Q: Is there any particular reason why these routines weren't simply implemented with local_save/restore_flags, if they are only meant to guarantee atomicity to the local cpu? I'm sure on most platforms this would be more efficient than using an atomic... A: The whole _point_ of local_t is to avoid local_irq_disable(). It's designed to exploit the fact that many CPUs can do incs and decs in a way which is atomic wrt local interrupts, but not atomic wrt SMP. But this patch makes sense, because asm-generic/local.h is just a fallback implementation for architectures which either cannot perform these local-irq-atomic operations, or its maintainers haven't yet got around to implementing them. We need more work done on local_t in the 2.6.17 timeframe - they're defined as unsigned long, but some architectures implement them as signed long. Signed-off-by: Kyle McMartin Cc: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f3a36a7d0eb420471506fcd46ee46f4b5cd4ebc tree 2f08f6e498346ae5e41c60f6d8abd1f5a7b091ad parent 41623b064fbd76de5901da7c0e3cd2136617d787 author Matt Mackall Tue, 28 Mar 2006 01:56:10 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:01 -0800 [PATCH] RTC: Remove some duplicate BCD definitions Remove some duplicate BCD definitions Signed-off-by: Matt Mackall Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41623b064fbd76de5901da7c0e3cd2136617d787 tree f96bb5c45d7fa4a899af2be27a3bbdca079b023a parent 4c2e6f6a06cdd239ec17e195e7868ce0171ea154 author Matt Mackall Tue, 28 Mar 2006 01:56:09 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:01 -0800 [PATCH] RTC: Fix up some RTC whitespace and style Fix up some RTC whitespace and style Signed-off-by: Matt Mackall Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c2e6f6a06cdd239ec17e195e7868ce0171ea154 tree 7cd4cd9d37570330a67b94de17ad6766c8f1deda parent 356a9ce118879664ff88b76055b8bba115c1cc5e author Matt Mackall Tue, 28 Mar 2006 01:56:09 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:01 -0800 [PATCH] RTC: Remove RTC UIP synchronization on Alpha The sync may still be needed for CPU clock calibration but we don't sync in the regular case. Signed-off-by: Matt Mackall Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 356a9ce118879664ff88b76055b8bba115c1cc5e tree 99511ddb898c0decef970ca888a146ce4c47e105 parent 04cfbee0fcb2a2ab31344ac9ace1dd370f3de2bd author Matt Mackall Tue, 28 Mar 2006 01:56:08 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:01 -0800 [PATCH] RTC: Remove RTC UIP synchronization on SH MPC1211 Signed-off-by: Matt Mackall Cc: Paul Mundt Cc: Kazumoto Kojima Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04cfbee0fcb2a2ab31344ac9ace1dd370f3de2bd tree f1361eb5569b96eeea61c9b68df5302b1bc77ba0 parent ddcabb4fc7f2f4a70f35aa72827888a4c549d355 author Matt Mackall Tue, 28 Mar 2006 01:56:07 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:01 -0800 [PATCH] RTC: Remove RTC UIP synchronization on SH03 Signed-off-by: Matt Mackall Cc: Paul Mundt Cc: Kazumoto Kojima Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddcabb4fc7f2f4a70f35aa72827888a4c549d355 tree a730f9c35f76d88ec5f586dc415e427f618589a5 parent da2468b6a81884a696fd6c7ab66dcc62d7233d32 author Matt Mackall Tue, 28 Mar 2006 01:56:06 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:01 -0800 [PATCH] RTC: Remove RTC UIP synchronization on MIPS-based DEC Move real_year inside the read loop and move the spinlock up as well Signed-off-by: Matt Mackall Cc: Ralf Baechle Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da2468b6a81884a696fd6c7ab66dcc62d7233d32 tree 9510cd3e9711d9bcbd7196be4209533efd83252d parent 4af6ec46c696a57ba9b1c1abffcdca14d6ab5410 author Matt Mackall Tue, 28 Mar 2006 01:56:05 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:00 -0800 [PATCH] RTC: Remove RTC UIP synchronization on MIPS MC146818 Signed-off-by: Matt Mackall Cc: Ralf Baechle Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4af6ec46c696a57ba9b1c1abffcdca14d6ab5410 tree 5b111e21a95b4fa2434f811ea64ed4e63259b953 parent 6f0d7bd6a14dcf5b258cfd809143c50e4897902b author Matt Mackall Tue, 28 Mar 2006 01:56:05 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:00 -0800 [PATCH] RTC: Remove RTC UIP synchronization on ARM Signed-off-by: Matt Mackall Cc: Russell King Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f0d7bd6a14dcf5b258cfd809143c50e4897902b tree 0f7d4ec2e77c29ad0f83914a401fdad873a022e6 parent 4dc12ec7e26f287e33065e803bc0aede4c1dbdf3 author Matt Mackall Tue, 28 Mar 2006 01:56:04 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:00 -0800 [PATCH] RTC: Remove RTC UIP synchronization on PPC Maple Signed-off-by: Matt Mackall Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dc12ec7e26f287e33065e803bc0aede4c1dbdf3 tree 58061ae471c2dcf29ecd3f287fc2fa33ca107e5b parent 59937bcdb2bd759d15c792d9798a00da03bf1f48 author Matt Mackall Tue, 28 Mar 2006 01:56:03 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:00 -0800 [PATCH] RTC: Remove RTC UIP synchronization on CHRP (arch/powerpc) Signed-off-by: Matt Mackall Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59937bcdb2bd759d15c792d9798a00da03bf1f48 tree becb72ca7fbbb07e4bd86097f6eb2f529fb3ef8e parent 3dedf53bb16e27743e5d1f49dbfecf3e5897befa author Matt Mackall Tue, 28 Mar 2006 01:56:02 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:00 -0800 [PATCH] RTC: Remove RTC UIP synchronization on PPC CHRP (arch/ppc) Signed-off-by: Matt Mackall Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dedf53bb16e27743e5d1f49dbfecf3e5897befa tree 1833a6f7eca38558a4bca0efea079041fadb6222 parent 641f71f5f6ed251959ef8f88b1d0edc6ef7a4632 author Matt Mackall Tue, 28 Mar 2006 01:56:01 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:00 -0800 [PATCH] RTC: Remove RTC UIP synchronization on Sparc64 Signed-off-by: Matt Mackall Cc: "David S. Miller" Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 641f71f5f6ed251959ef8f88b1d0edc6ef7a4632 tree 8a493d60c361dc9f2e1f98805b276c96db2ad67c parent 63732c2f37093d63102d53e70866cf87bf0c0479 author Matt Mackall Tue, 28 Mar 2006 01:56:01 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:00 -0800 [PATCH] RTC: Remove RTC UIP synchronization on x86_64 Signed-off-by: Matt Mackall Cc: Andi Kleen Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63732c2f37093d63102d53e70866cf87bf0c0479 tree bf364131da50132b6e27cfb028eee725fb4fe3e5 parent 329b10bb0feacb7fb9a41389313ff0a51ae56f2a author Matt Mackall Tue, 28 Mar 2006 01:55:58 -0800 committer Linus Torvalds Tue, 28 Mar 2006 09:16:00 -0800 [PATCH] RTC: Remove RTC UIP synchronization on x86 Reading the CMOS clock on x86 and some other arches currently takes up to one second because it synchronizes with the CMOS second tick-over. This delay shows up at boot time as well a resume time. This is the currently the most substantial boot time delay for machines that are working towards instant-on capability. Also, a quick back of the envelope calculation (.5sec * 2M users * 1 boot a day * 10 years) suggests it has cost Linux users in the neighborhood of a million man-hours. An earlier thread on this topic is here: http://groups.google.com/group/linux.kernel/browse_frm/thread/8a24255215ff6151/2aa97e66a977653d?hl=en&lr=&ie=UTF-8&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3D1To2R-2S7-11%40gated-at.bofh.it#2aa97e66a977653d ..from which the consensus seems to be that it's no longer desirable. In my view, there are basically four cases to consider: 1) networked, need precise walltime: use NTP 2) networked, don't need precise walltime: use NTP anyway 3) not networked, don't need sub-second precision walltime: don't care 4) not networked, need sub-second precision walltime: get a network or a radio time source because RTC isn't good enough anyway So this patch series simply removes the synchronization in favor of a simple seqlock-like approach using the seconds value. Note that for purposes of timer accuracy on wakeup, this patch will cause us to fire timers up to one second late. But as the current timer resume code will already sync once (or more!), it's no worse for short timers. Signed-off-by: Matt Mackall Cc: Andi Kleen Cc: "David S. Miller" Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Russell King Cc: Ralf Baechle Cc: Paul Mundt Cc: Kazumoto Kojima Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 769ebc66dec24770ea1e99019099d2bc636a61d3 tree 7ff5ac2a9eea5a7def26f32ad8ffd06b367ed8e0 parent e6ef0fca2c61f7e773178be8c3833a709a47e022 author Dean Roe Mon, 06 Mar 2006 10:32:05 -0600 committer Tony Luck Tue, 28 Mar 2006 08:39:10 -0800 [IA64-SGI] fix for-loop in sn_hwperf_geoid_to_cnode() Fix a for-loop in sn_hwperf_geoid_to_cnode(). It needs to loop over num_cnodes to ensure it can still process TIO nodes in addition to compute nodes on systems with many nodes. Interim fix until better support for many (>265) nodes is complete. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit e8222502ee6157e2713da9e0792c21f4ad458d50 tree 0f970fb99912c257a7e5254f863a53f79d22ab14 parent 056cb48a2fb6fb31debf665695a9f97b45cfb8ec author Benjamin Herrenschmidt Tue, 28 Mar 2006 23:15:54 +1100 committer Paul Mackerras Tue, 28 Mar 2006 23:15:54 +1100 [PATCH] powerpc: Kill _machine and hard-coded platform numbers This removes statically assigned platform numbers and reworks the powerpc platform probe code to use a better mechanism. With this, board support files can simply declare a new machine type with a macro, and implement a probe() function that uses the flattened device-tree to detect if they apply for a given machine. We now have a machine_is() macro that replaces the comparisons of _machine with the various PLATFORM_* constants. This commit also changes various drivers to use the new macro instead of looking at _machine. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 056cb48a2fb6fb31debf665695a9f97b45cfb8ec tree f2c4216123dfbe0e30452fbc6b1b0b89de8824fa parent 872345b715ee02f3b45528449f0d11b44ef9ebb8 author Paul Mackerras Tue, 28 Mar 2006 21:13:44 +1100 committer Paul Mackerras Tue, 28 Mar 2006 22:10:02 +1100 ppc: Fix compile error in arch/ppc/lib/strcase.c Now that the strncasecmp implementation takes a size_t third parameter, we need to get a definition of size_t from somewhere. Signed-off-by: Paul Mackerras commit 206dc69b31ca05baac68c75b8ed2ba7dd857d273 tree f9ca5d996e19cb072165b1f6474c39b59b0e7451 parent 7143dd4b0127141a4f773e819d1d1f4ab82bb517 author Jens Axboe Tue, 28 Mar 2006 13:03:44 +0200 committer Jens Axboe Tue, 28 Mar 2006 13:03:44 +0200 [BLOCK] cfq-iosched: seek and async performance fixes Detect whether a given process is seeky and if so disable (mostly) the idle window if it is. We still allow just a little idle time, just enough to allow that process to submit a new request. That is needed to maintain fairness across priority groups. In some cases, we could setup several async queues. This is not optimal from a performance POV, since we want all async io in one queue to perform good sorting on it. It also impacted sync queues, as async io got too much slice time. Signed-off-by: Jens Axboe commit 872345b715ee02f3b45528449f0d11b44ef9ebb8 tree f2baa4bb2c6461bc4dc1fb6f14d1f0ad93e7ccaa parent 4d177fbfdadb011f1bac96f9ccba0cc9f21da8de author Andrew Morton Mon, 27 Mar 2006 23:42:49 -0800 committer Paul Mackerras Tue, 28 Mar 2006 20:48:54 +1100 [PATCH] git-powerpc: WARN was a dumb idea There are at least 14 different implementations of WARN() in the tree already. The build fails all over the place. Cc: Paul Mackerras Cc: Michael Ellerman Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 4d177fbfdadb011f1bac96f9ccba0cc9f21da8de tree ebd6442522d817a266f22262022d11155717f743 parent cf66c897d7fa07f57452b1a369aec37d97b11e31 author Stephen Rothwell Tue, 28 Mar 2006 17:14:44 +1100 committer Paul Mackerras Tue, 28 Mar 2006 20:40:33 +1100 [PATCH] powerpc: a couple of trivial compile warning fixes Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit de4533a04eb4f66dbef71f59a9c118256b886823 tree 8b8681da4294bf7be9d1cde44bfbf303843ba359 parent a081568d7016061ed848696984e3acf1ba0b3054 author Russell King Tue, 28 Mar 2006 10:34:05 +0100 committer Russell King Tue, 28 Mar 2006 10:34:05 +0100 [ARM] Move ice-dcc code into misc.c Signed-off-by: Russell King commit a081568d7016061ed848696984e3acf1ba0b3054 tree 5a6cd28d51e3c0b694499f4d0795b22a3d020eba parent 3747b36eeab93d8969e86987bbc1d44971229b26 author Russell King Tue, 28 Mar 2006 10:24:33 +0100 committer Russell King Tue, 28 Mar 2006 10:24:33 +0100 [ARM] Fix decompressor serial IO to give CRLF not LFCR As per the corresponding change to the serial drivers, arrange for ARM decompressors to give CRLF. Move the common putstr code into misc.c such that machines only need to supply "putc" and "flush" functions. Signed-off-by: Russell King commit 6e57a3a89785692bd8d012d80f5ee210ab8e0b68 tree d55008a8c891193b1858487e1177a44f6add06fd parent 329b10bb0feacb7fb9a41389313ff0a51ae56f2a author David S. Miller Tue, 28 Mar 2006 01:00:08 -0800 committer David S. Miller Tue, 28 Mar 2006 01:00:08 -0800 [SPARC64]: Implement futex_atomic_cmpxchg_inatomic(). Signed-off-by: David S. Miller commit 7143dd4b0127141a4f773e819d1d1f4ab82bb517 tree dfc1b1c5e622fae68c3c36935fc3ff327b4ee62d parent e8a99053ea82a4b4375049886cf1db64d7dcd755 author Jens Axboe Tue, 28 Mar 2006 09:00:28 +0200 committer Jens Axboe Tue, 28 Mar 2006 09:00:28 +0200 [PATCH] ll_rw_blk: fix 80-col offender in put_io_context() This makes akpm more happy. Signed-off-by: Jens Axboe commit e8a99053ea82a4b4375049886cf1db64d7dcd755 tree f16f440237e5627bda317923198fbbe00cb22e96 parent e2d74ac0664c89757bde8fb18c98cd7bf53da61c author Andreas Mohr Tue, 28 Mar 2006 08:59:49 +0200 committer Jens Axboe Tue, 28 Mar 2006 08:59:49 +0200 [PATCH] cfq-iosched: small cfq_choose_req() optimization this is a small optimization to cfq_choose_req() in the CFQ I/O scheduler (this function is a semi-often invoked candidate in an oprofile log): by using a bit mask variable, we can use a simple switch() to check the various cases instead of having to query two variables for each check. Benefit: 251 vs. 285 bytes footprint of cfq_choose_req(). Also, common case 0 (no request wrapping) is now checked first in code. Signed-off-by: Andreas Mohr Signed-off-by: Jens Axboe commit e2d74ac0664c89757bde8fb18c98cd7bf53da61c tree 1e858044a9180766eae4ec694d4200c4ae850406 parent 329b10bb0feacb7fb9a41389313ff0a51ae56f2a author Jens Axboe Tue, 28 Mar 2006 08:59:01 +0200 committer Jens Axboe Tue, 28 Mar 2006 08:59:01 +0200 [PATCH] [BLOCK] cfq-iosched: change cfq io context linking from list to tree On setups with many disks, we spend a considerable amount of time looking up the process-disk mapping on each queue of io. Testing with a NULL based block driver, this costs 40-50% reduction in throughput for 1000 disks. Signed-off-by: Jens Axboe commit cf66c897d7fa07f57452b1a369aec37d97b11e31 tree eb74b71c2ff288f4d77423bb7e54c3c55ef08bf9 parent facee873de8da5fe709c194f98eb0f2cc642a38c parent 78af90629ce98c8383ea16928e110eb97b889be6 author Paul Mackerras Tue, 28 Mar 2006 17:03:19 +1100 committer Paul Mackerras Tue, 28 Mar 2006 17:03:19 +1100 Merge branch '85xx' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc commit facee873de8da5fe709c194f98eb0f2cc642a38c tree 03a27e962c2a7ce56b5f56b5b4c8cda9d6b14a7d parent b239cbe957ae730caa8af2f169a4d35b8c1bb299 parent 10d713aef238b02a774766b2622027361630e28d author Paul Mackerras Tue, 28 Mar 2006 17:02:14 +1100 committer Paul Mackerras Tue, 28 Mar 2006 17:02:14 +1100 Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc commit 78af90629ce98c8383ea16928e110eb97b889be6 tree ade3b2f6317a9ceae025101b975ca4a8d6037ce7 parent 9cf8ca38719e08e5388ddd37ef1c46442b8f99a4 author Kumar Gala Mon, 27 Mar 2006 23:48:37 -0600 committer Kumar Gala Mon, 27 Mar 2006 23:48:37 -0600 powerpc: remove OCP references OCP isn't used in arch/powerpc and hopefully will never be. Signed-off-by: Kumar Gala commit b239cbe957ae730caa8af2f169a4d35b8c1bb299 tree 7567ee8777c8b4331770240952b738cf4f52d1b9 parent 69ed3324983bb937d78a8579ed91b90242ee5aaa author Stephen Rothwell Tue, 28 Mar 2006 14:40:58 +1100 committer Paul Mackerras Tue, 28 Mar 2006 16:45:36 +1100 [PATCH] powerpc: make ISA floppies work again We used to assume that a DMA mapping request with a NULL dev was for ISA DMA. This assumption was broken at some point. Now we explicitly pass the detected ISA PCI device in the floppy setup. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 69ed3324983bb937d78a8579ed91b90242ee5aaa tree 9565376cb542b8128e38a949f592881e489dcd60 parent 9fe901d124871f5781b9c4ccbb7ff93fdff9d39e author Anton Blanchard Tue, 28 Mar 2006 14:08:39 +1100 committer Paul Mackerras Tue, 28 Mar 2006 16:45:34 +1100 [PATCH] powerpc: Fix some initcall return values Non zero initcalls (except for -ENODEV) have started warning at boot. Fix smt_setup and init_ras_IRQ. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 9fe901d124871f5781b9c4ccbb7ff93fdff9d39e tree 234931bc56432ccf06f1f9c8463501bca64d6a0b parent e78b47a59026f04eb98b9d392901be13b56f444f author Mike Kravetz Mon, 27 Mar 2006 15:20:00 -0800 committer Paul Mackerras Tue, 28 Mar 2006 16:45:33 +1100 [PATCH] powerpc: Workaround for pSeries RTAS bug A bug in the RTAS services incorrectly interprets some bits in the CR when called from the OS. Specifically, bits in CR4. The result could be a firmware crash that also takes down the partition. A firmware fix is in the works. We have seen this situation when performing DLPAR operations. As a temporary workaround, clear the CR in enter_rtas(). Note that enter_rtas() will not set any bits in CR4 before calling RTAS. Also note that the 32 bit version of enter_rtas() should have the same work around even though the chances of hitting the bug are much smaller due to the lack of DLPAR on 32 bit kernels. However, my assembly skills are a bit rusty and the 32 bit code doesn't seem to follow the conventions for where things should be saved. In addition, I don't have a system to test 32 bit kernels. Help creating and at least touch testing the same workaround for 32 bit would be appreciated. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit e78b47a59026f04eb98b9d392901be13b56f444f tree 01c2fac8c4f76604ee24e074c11f4b4dbfeacda8 parent f4d1749e9570d3984800c371c6e06eb35b9718b1 author Arnd Bergmann Mon, 27 Mar 2006 21:27:40 +0200 committer Paul Mackerras Tue, 28 Mar 2006 16:45:30 +1100 [PATCH] spufs: fix __init/__exit annotations spufs_init and spufs_exit should be marked correctly so they can be removed when not needed. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit f4d1749e9570d3984800c371c6e06eb35b9718b1 tree 33bf58645b1e2404510c19d7e8b0ca16510998df parent 45d607ed92695d7543f5e1fc5b133cd69834e3e4 author Arnd Bergmann Mon, 27 Mar 2006 21:26:03 +0200 committer Paul Mackerras Tue, 28 Mar 2006 16:45:28 +1100 [PATCH] powerpc: add hvc backend for rtas Current Cell hardware is using the console through a set of rtas calls. This driver is needed to get console output on those boards. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 45d607ed92695d7543f5e1fc5b133cd69834e3e4 tree c82b6ae1f9b9827894021797a85cbcbe6efca08e parent 11089f08d9dd8b89cd07d6f126ccb4849e3c61a3 author Ryan S. Arnold Mon, 27 Mar 2006 21:25:16 +0200 committer Paul Mackerras Tue, 28 Mar 2006 16:45:26 +1100 [PATCH] powerpc: hvc_console updates These are some updates from both Ryan and Arnd for the hvc_console driver: The main point is to enable the inclusion of a console driver for rtas, which is currrently needed for the cell platform. Also shuffle around some data-type declarations and moves some functions out of include/asm-ppc64/hvconsole.h and into a new drivers/char/hvc_console.h file. Signed-off-by: "Ryan S. Arnold" Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 11089f08d9dd8b89cd07d6f126ccb4849e3c61a3 tree db5780ca34bee26bfcb1bbbdb8a2a3ab71c14b5a parent 5149fa47ec90eb5e79e28f3a7fbcf29421524817 author Laurent MEYER Mon, 27 Mar 2006 11:37:41 +0200 committer Paul Mackerras Tue, 28 Mar 2006 16:45:24 +1100 [PATCH] powerpc: fix incorrect SA_ONSTACK behaviour for 64-bit processes *) When setting a sighandler using sigaction() call, if the flag SA_ONSTACK is set and no alternate stack is provided via sigaltstack(), the kernel still try to install the alternate stack. This behavior is the opposite of the one which is documented in Single Unix Specifications V3. *) Also when setting an alternate stack using sigaltstack() with the flag SS_DISABLE, the kernel try to install the alternate stack on signal delivery. These two use cases makes the process crash at signal delivery. This fixes it. Signed-off-by: Laurent Meyer Signed-off-by: Paul Mackerras commit 5149fa47ec90eb5e79e28f3a7fbcf29421524817 tree c22023d68bbe23d273311185e284ead4c45d5edc parent d0160bf0b3e87032be8e85f80ddd2f18e107b86f author Michael Ellerman Mon, 27 Mar 2006 14:26:26 +1100 committer Paul Mackerras Tue, 28 Mar 2006 16:45:23 +1100 [PATCH] powerpc: Cope with duplicate node & property names in /proc/device-tree Various dodgy firmware might give us nodes and/or properties in the device tree with conflicting names. That's generally ok, except for when we export the device tree via /proc, so check when we're creating the proc device tree and munge names accordingly. Tested on a faked device tree with kexec, would be good if someone with actual bogus firmware could try it, but just for completeness. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit d0160bf0b3e87032be8e85f80ddd2f18e107b86f tree ad29de605288def9799b1cde52e1c5ddf03b4ee6 parent 2f25194dbe0c4b2472ce133ea3e9bcbb14936ae7 author Michael Ellerman Mon, 27 Mar 2006 14:26:25 +1100 committer Paul Mackerras Tue, 28 Mar 2006 16:45:20 +1100 [PATCH] powerpc: Rename and export ppc64_firmware_features We need to export ppc64_firmware_features for modules. Before we do that I think we should probably rename it to powerpc_firmware_features. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 9cf8ca38719e08e5388ddd37ef1c46442b8f99a4 tree 9ab7ee91cf57f51e7e6ba23b80c596ebc6228911 parent 5cd272085bbc905532869f3e1fd18a7100496b56 author Kumar Gala Mon, 27 Mar 2006 23:44:37 -0600 committer Kumar Gala Mon, 27 Mar 2006 23:44:37 -0600 powerpc: Make uImage default build output for MPC8540 ADS When we build for the MPC8540 ADS produce a uImage by default. Updated the defconfig to reflect this as well. Signed-off-by: Kumar Gala commit 5cd272085bbc905532869f3e1fd18a7100496b56 tree 2c29f8a713e90fe55864502ed962c656014bca71 parent ff2e6d7e27cf1f757ab0d97e1a9e46de47152a0e author Kumar Gala Mon, 27 Mar 2006 23:43:27 -0600 committer Kumar Gala Mon, 27 Mar 2006 23:43:27 -0600 powerpc: move math-emu over to arch/powerpc Towards the goal of having arch/powerpc not build anything over in arch/ppc move math-emu over. Also, killed some references to arch/ppc/ in the arch/powerpc Makefile which should belong in drivers/ when the particular sub-arch's move over to arch/powerpc. Signed-off-by: Kumar Gala commit 2f25194dbe0c4b2472ce133ea3e9bcbb14936ae7 tree 4bb2a77da578dafd951ff2bd24ff2fd8c61c0b83 parent 72533db0121e11811366b5a456f4068d1a4d542c author Anton Blanchard Mon, 27 Mar 2006 11:46:18 +1100 committer Paul Mackerras Tue, 28 Mar 2006 16:19:52 +1100 [PATCH] powerpc: export validate_sp for oprofile calltrace Export validate_sp so we can use it in the oprofile calltrace code. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 72533db0121e11811366b5a456f4068d1a4d542c tree b7dfcb86ca34e76efec8b7f2c2f165cf8414bd02 parent 0a26b1364f14852bc9a51db0ca63c5250c775627 author Anton Blanchard Mon, 27 Mar 2006 11:23:29 +1100 committer Paul Mackerras Tue, 28 Mar 2006 16:19:49 +1100 [PATCH] powerpc: Remove some ifdefs in oprofile_impl.h - No one uses op_counter_config.valid, so remove it - No need to ifdef around function protypes. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 10d713aef238b02a774766b2622027361630e28d tree cbade374a5542732d81c70eac5cd241a311eb4b0 parent cbd312b94ed123dc7080c9591cb715cd2a7327c0 author Kumar Gala Mon, 27 Mar 2006 18:26:42 -0600 committer Kumar Gala Mon, 27 Mar 2006 18:26:42 -0600 powerpc: use memparse() for mem= command line parsing Use memparse() instead of our own code for handling the parsing of mem= Signed-off-by: Kumar Gala commit cbd312b94ed123dc7080c9591cb715cd2a7327c0 tree c46e928055b2d7f99ebca053c18a3191a07067ef parent ff2e6d7e27cf1f757ab0d97e1a9e46de47152a0e author Kumar Gala Mon, 27 Mar 2006 18:26:18 -0600 committer Kumar Gala Mon, 27 Mar 2006 18:26:18 -0600 ppc: fix strncasecmp prototype Match, Linus's fix to arch/powerpc in arch/ppc. strcasecmp takes a size_t, not an int, as its third argument. Signed-off-by: Kumar Gala commit 0a26b1364f14852bc9a51db0ca63c5250c775627 tree 83422473cb4bf4c450012cded06288a0dc6abedf parent ff2e6d7e27cf1f757ab0d97e1a9e46de47152a0e author Paul Mackerras Tue, 28 Mar 2006 10:22:10 +1100 committer Paul Mackerras Tue, 28 Mar 2006 10:22:10 +1100 ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc 32-bit CHRP machines are now supported only in arch/powerpc, as are all 64-bit PowerPC processors. This means that we don't use Open Firmware on any platform in arch/ppc any more. This makes PReP support a single-platform option like every other platform support option in arch/ppc now, thus CONFIG_PPC_MULTIPLATFORM is gone from arch/ppc. CONFIG_PPC_PREP is the option that selects PReP support and is generally what has replaced CONFIG_PPC_MULTIPLATFORM within arch/ppc. _machine is all but dead now, being #defined to 0. Updated Makefiles, comments and Kconfig options generally to reflect these changes. Signed-off-by: Paul Mackerras commit ff2e6d7e27cf1f757ab0d97e1a9e46de47152a0e tree 3fc5952629df5cd6a5c3e49e44b3f43a2e0414bb parent 9618edab82fda8dbce5ea3abcdac9ded07abb2d4 author Paul Mackerras Tue, 28 Mar 2006 09:28:14 +1100 committer Paul Mackerras Tue, 28 Mar 2006 09:28:14 +1100 powerpc: Fix goof in 6xx and POWER4 idle power-save functions This fixes a mistake I made when editing these functions - when I took out the interrupt disabling code (because interrupts are now disabled by the caller) I left the register that is used for the MSR value to be used during doze/nap uninitialized. This fixes it. Also updated some of the comments in idle_power4.S and removed some code that was copied over from idle_6xx.S but is no longer relevant (we don't ever clear the CPU_FTR_CAN_NAP bit at runtime for POWER4). Signed-off-by: Paul Mackerras commit e6ef0fca2c61f7e773178be8c3833a709a47e022 tree 25ee67907b1bb580a5d43bd87b7df2401d67a77e parent ce9eed5a98efacb896551d3470d9d46826caaee5 author hawkes@sgi.com Mon, 27 Mar 2006 13:18:17 -0800 committer Tony Luck Mon, 27 Mar 2006 13:47:44 -0800 [IA64-SGI] sn_hwperf use of num_online_cpus() Eliminate an unnecessary -- and flawed -- use of the expensive num_online_cpus(). Signed-off-by: John Hawkes Signed-off-by: Tony Luck commit 64840e2722aeb789574e336d231bbc6436d51b34 tree eede793fd2260b68bd52491e11e0e8410df31317 parent eef5167e5045fa8265b3e72cac9dbc4bc7dd82a6 author Andrew Morton Sat, 25 Mar 2006 01:51:23 -0800 committer Dave Jones Mon, 27 Mar 2006 15:06:08 -0500 [CPUFREQ] powernow: remove private for_each_cpu_mask() It is unneeded and wrong. Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit eef5167e5045fa8265b3e72cac9dbc4bc7dd82a6 tree dafb8c4001ba4a8c5f15eedd81568799df8cb03f parent 0bb065f29bffc7895f0dbac1fc7d74b3a8d357a9 author shin, jacob Mon, 27 Mar 2006 09:57:20 -0600 committer Dave Jones Mon, 27 Mar 2006 15:01:28 -0500 [CPUFREQ] hotplug cpu fix for powernow-k8 Andi's previous fix to initialise powernow_data on all siblings will not work properly with CPU Hotplug. Signed-off-by: Jacob Shin Signed-off-by: Dave Jones commit 0bb065f29bffc7895f0dbac1fc7d74b3a8d357a9 tree 44c80e038d4500d2878634fcc692d69062fcb60f parent 329b10bb0feacb7fb9a41389313ff0a51ae56f2a parent 7c9d8c0e84d395a01289ebd1597758939a875a86 author Dave Jones Mon, 27 Mar 2006 14:56:39 -0500 committer Dave Jones Mon, 27 Mar 2006 14:56:39 -0500 Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpufreq-2.6 commit 2638fed7ccb07ff43cdc109dd78e821efb629995 tree 2e6889b01c9974f350f738338e9770c240c40591 parent 16f4352733d19c2d496f682c08cff368ba0495d0 author David Woodhouse Thu, 23 Mar 2006 22:43:38 +0000 committer John W. Linville Mon, 27 Mar 2006 14:04:13 -0500 [PATCH] softmac: reduce default rate to 11Mbps. We don't make much of an attempt to fall back to lower rates, and 54M just isn't reliable enough for many people. In fact, it's not clear we even set it to 11M if we're trying to associate with an 802.11b AP. This patch makes us default to 11M, which ought to work for most people. When we actually handle dynamic rate adjustment, we can reconsider the defaults -- but even then, probably it makes as much sense to start at 11M and adjust it upwards as it does to start at 54M and reduce it. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit 16f4352733d19c2d496f682c08cff368ba0495d0 tree a7ae0a31f61325604f5f7da380227fa8d4bda944 parent d94606e058fccf5e22537bcc6d0f297224350303 author David Woodhouse Thu, 23 Mar 2006 14:00:02 +0000 committer John W. Linville Mon, 27 Mar 2006 14:04:09 -0500 [PATCH] softmac: reduce scan dwell time It currently takes something like 8 seconds to do a scan, because we spend half a second on each channel. Reduce that time to 20ms per channel. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit ce9eed5a98efacb896551d3470d9d46826caaee5 tree 13752f8ae5e941b83f57ba815b1af4e7bbcff34d parent 5e48521e869de7d904bb5ffe9739258ffa026927 author Chen, Kenneth W Mon, 06 Mar 2006 14:12:54 -0800 committer Tony Luck Mon, 27 Mar 2006 10:20:03 -0800 [IA64] optimize flush_tlb_range on large numa box It was reported from a field customer that global spin lock ptcg_lock is giving a lot of grief on munmap performance running on a large numa machine. What appears to be a problem coming from flush_tlb_range(), which currently unconditionally calls platform_global_tlb_purge(). For some of the numa machines in existence today, this function is mapped into ia64_global_tlb_purge(), which holds ptcg_lock spin lock while executing ptc.ga instruction. Here is a patch that attempt to avoid global tlb purge whenever possible. It will use local tlb purge as much as possible. Though the conditions to use local tlb purge is pretty restrictive. One of the side effect of having flush tlb range instruction on ia64 is that kernel don't get a chance to clear out cpu_vm_mask. On ia64, this mask is sticky and it will accumulate if process bounces around. Thus diminishing the possible use of ptc.l. Thoughts? Signed-off-by: Ken Chen Acked-by: Jack Steiner Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Tony Luck commit 5e48521e869de7d904bb5ffe9739258ffa026927 tree 3827383a0a769cac6386bba65915bd6b54c33766 parent 64bc0430ee78c03c5c4ce549e217bb74bff7ea5d author Zhang, Yanmin Thu, 23 Feb 2006 11:07:20 +0800 committer Tony Luck Mon, 27 Mar 2006 10:15:41 -0800 [IA64] lazy_mmu_prot_update needs to be aware of huge pages Function lazy_mmu_prot_update is also used on huge pages when it is called by set_huge_ptep_writable, but it isn't aware of huge pages. Signed-off-by: Zhang Yanmin Acked-by: Ken Chen Signed-off-by: Tony Luck commit d94606e058fccf5e22537bcc6d0f297224350303 tree b0d67b9df91e72510972dfd1604703c01401799b parent cfa146e4be274fd04bfdb26b3c96cdfe81a43dc2 author Larry Finger Fri, 03 Mar 2006 16:21:55 -0600 committer John W. Linville Mon, 27 Mar 2006 12:07:02 -0500 [PATCH] Minor (janitorial) change to ieee80211 The attached patch removes a potential problem from ieee80211_wx.c, by changing the name of routine ipw2100_translate_scan to ieee80211_translate_scan. The problem is minor as the routine is declared static; however, if it were made global, it would pollute the namespace. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 329b10bb0feacb7fb9a41389313ff0a51ae56f2a tree a5b2d136589c90e36f87da7bab312109314c21b3 parent fdccffc6b711d1bfcd1e1b569537686dcad423e2 parent 7bebd83dbf096d0bf4b4bfbaf5d8844a05f5eafc author Linus Torvalds Mon, 27 Mar 2006 08:47:54 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:47:54 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: Fix off-by-1 error in TSB grow check. commit fdccffc6b711d1bfcd1e1b569537686dcad423e2 tree 51a4cdfad5ed6ea0fcec697f0f8e53a1d33ef326 parent 4fa639123d9e6e8dfaa3d116368f4b2478da31af parent 3eb4801d7bde42b82f05137392a1ee0ece090bad author Linus Torvalds Mon, 27 Mar 2006 08:47:29 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:47:29 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [NET]: drop duplicate assignment in request_sock [IPSEC]: Fix tunnel error handling in ipcomp6 commit 4fa639123d9e6e8dfaa3d116368f4b2478da31af tree 50c42e2102a542891a15b5011e48fbde14149baf parent df5b89b323b922f56650b4b4d7c41899b937cf19 parent ae36b883d29e53b6083ed3d1d44f254cee7507d3 author Linus Torvalds Mon, 27 Mar 2006 08:46:49 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:46:49 -0800 Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block * 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] Don't make debugfs depend on DEBUG_KERNEL [PATCH] Fix blktrace compile with sysfs not defined [PATCH] unused label in drivers/block/cciss. [BLOCK] increase size of disk stat counters [PATCH] blk_execute_rq_nowait-speedup [PATCH] ide-cd: quiet down GPCMD_READ_CDVD_CAPACITY failure [BLOCK] ll_rw_blk: kmalloc -> kzalloc conversion [PATCH] kzalloc() conversion in drivers/block [PATCH] update max_sectors documentation commit df5b89b323b922f56650b4b4d7c41899b937cf19 tree d1578782a9d763174474fe2db08f4ce4c6dc6218 parent 48c9c27b8bcd2a328a06151e2d5c1170db0b701b author NeilBrown Mon, 27 Mar 2006 01:18:20 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:03 -0800 [PATCH] md: Convert reconfig_sem to reconfig_mutex ... being careful that mutex_trylock is inverted wrt down_trylock Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48c9c27b8bcd2a328a06151e2d5c1170db0b701b tree 804fb1c410e0a246c92105710f1cd22a9daa8edc parent 2f889129de148b0ba2e1fbc9e9d33a4ef4c5f2cb author Arjan van de Ven Mon, 27 Mar 2006 01:18:20 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:03 -0800 [PATCH] sem2mutex: drivers/md Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f889129de148b0ba2e1fbc9e9d33a4ef4c5f2cb tree 78d9d9ceb070d92eb8c53cf6d683526e2447d7bc parent 8ddeeae51f2f197b4fafcba117ee8191b49d843e author NeilBrown Mon, 27 Mar 2006 01:18:19 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:03 -0800 [PATCH] md: Restore 'remaining' count when retrying an write operation When retrying a write due to barrier failure, we don't reset 'remaining', so it goes negative and never hits 0 again. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ddeeae51f2f197b4fafcba117ee8191b49d843e tree f18b93cd8d9122dcf9a59cc9ff63d75be146bb11 parent f6344757a92e5466bf8c23a74ee8f972ff35cb05 author NeilBrown Mon, 27 Mar 2006 01:18:18 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:03 -0800 [PATCH] md: Fix md grow/size code to correctly find the maximum available space An md array can be asked to change the amount of each device that it is using, and in particular can be asked to use the maximum available space. This currently only works if the first device is not larger than the rest. As 'size' gets changed and so 'fit' becomes wrong. So check if a 'fit' is required early and don't corrupt it. Signed-off-by: Doug Ledford Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6344757a92e5466bf8c23a74ee8f972ff35cb05 tree df390903800e7ea8dcf117d9b5a376e34fb1c741 parent b3b46be38aef5c46a4e144f1bcb8d0cc6bf3ff97 author NeilBrown Mon, 27 Mar 2006 01:18:17 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:03 -0800 [PATCH] md: Remove bi_end_io call out from under a spinlock raid5 overloads bi_phys_segments to count the number of blocks that the request was broken in to so that it knows when the bio is completely handled. Accessing this must always be done under a spinlock. In one case we also call bi_end_io under that spinlock, which probably isn't ideal as bi_end_io could be expensive (even though it isn't allowed to sleep). So we reducde the range of the spinlock to just accessing bi_phys_segments. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3b46be38aef5c46a4e144f1bcb8d0cc6bf3ff97 tree b564622beb5f3f586be8bc5f1f4125b4afda4198 parent df8e7f7639bab3b2cc536a1d30d5593d65251778 author NeilBrown Mon, 27 Mar 2006 01:18:16 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:02 -0800 [PATCH] md: Remove some stray semi-colons after functions called in macro.. wait_event_lock_irq puts a ';' after its usage of the 4th arg, so we don't need to. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df8e7f7639bab3b2cc536a1d30d5593d65251778 tree 93eb1e93e5f6e0f27f85b8b5d925c2dad2929c2e parent e464eafdb4400c6d6576ba3840d8bd40340f8a96 author NeilBrown Mon, 27 Mar 2006 01:18:15 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:02 -0800 [PATCH] md: Improve comments about locking situation in raid5 make_request Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e464eafdb4400c6d6576ba3840d8bd40340f8a96 tree 0c3f4003c883264ee08300c02007f06e4d1ebb91 parent 16484bf59634e25d1299761e5ed8bacf22bc6368 author NeilBrown Mon, 27 Mar 2006 01:18:14 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:02 -0800 [PATCH] md: Support suspending of IO to regions of an md array This allows user-space to access data safely. This is needed for raid5 reshape as user-space needs to take a backup of the first few stripes before allowing reshape to commence. It will also be useful in cluster-aware raid1 configurations so that all cluster members can leave a section of the array untouched while a resync/recovery happens. A 'start' and 'end' of the suspended range are written to 2 sysfs attributes. Note that only one range can be suspended at a time. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16484bf59634e25d1299761e5ed8bacf22bc6368 tree f11f049f5b60d766c402937bbb72c288a454ba4a parent 63c70c4f3a30e77e6f445bd16eff7934a031ebd3 author NeilBrown Mon, 27 Mar 2006 01:18:13 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:02 -0800 [PATCH] md: Make 'reshape' a possible sync_action action This allows reshape to be triggerred via sysfs (which is the only way to start it happening). Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63c70c4f3a30e77e6f445bd16eff7934a031ebd3 tree 12d2cd6cec5cd304bdf514ec8999a44c26f058ae parent b578d55fdd80140f657130abd85aebeb345755fb author NeilBrown Mon, 27 Mar 2006 01:18:13 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:02 -0800 [PATCH] md: Split reshape handler in check_reshape and start_reshape check_reshape checks validity and does things that can be done instantly - like adding devices to raid1. start_reshape initiates a restriping process to convert the whole array. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b578d55fdd80140f657130abd85aebeb345755fb tree 3737b88a25b3fb1e3347cd1c4c274336aee6a462 parent f67055780caac6a99f43834795c43acf99eba6a6 author NeilBrown Mon, 27 Mar 2006 01:18:12 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:02 -0800 [PATCH] md: Only checkpoint expansion progress occasionally Instead of checkpointing at each stripe, only checkpoint when a new write would overwrite uncheckpointed data. Block any write to the uncheckpointed area. Arbitrarily checkpoint at least every 3Meg. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f67055780caac6a99f43834795c43acf99eba6a6 tree 6b80e7b4cb300edb0910dbad1d840ff8e2f36ae5 parent 292695531ae4019bb15deedc121b218d1908b648 author NeilBrown Mon, 27 Mar 2006 01:18:11 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:01 -0800 [PATCH] md: Checkpoint and allow restart of raid5 reshape We allow the superblock to record an 'old' and a 'new' geometry, and a position where any conversion is up to. The geometry allows for changing chunksize, layout and level as well as number of devices. When using verion-0.90 superblock, we convert the version to 0.91 while the conversion is happening so that an old kernel will refuse the assemble the array. For version-1, we use a feature bit for the same effect. When starting an array we check for an incomplete reshape and restart the reshape process if needed. If the reshape stopped at an awkward time (like when updating the first stripe) we refuse to assemble the array, and let user-space worry about it. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 292695531ae4019bb15deedc121b218d1908b648 tree fb205eae13c3f3410f6ea44557b1c96b075a4d44 parent ccfcc3c10b2a5cb8fd3c918199a4ff904fc6fb3e author NeilBrown Mon, 27 Mar 2006 01:18:10 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:01 -0800 [PATCH] md: Final stages of raid5 expand code This patch adds raid5_reshape and end_reshape which will start and finish the reshape processes. raid5_reshape is only enabled in CONFIG_MD_RAID5_RESHAPE is set, to discourage accidental use. Read the 'help' for the CONFIG_MD_RAID5_RESHAPE entry. and Make sure that you have backups, just in case. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ccfcc3c10b2a5cb8fd3c918199a4ff904fc6fb3e tree 0c86fe6ba0f0bafd76f86f81b7425d6d497664aa parent 7ecaa1e6a1ad69862e9980b6c777e11f26c4782d author NeilBrown Mon, 27 Mar 2006 01:18:09 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:01 -0800 [PATCH] md: Core of raid5 resize process This patch provides the core of the resize/expand process. sync_request notices if a 'reshape' is happening and acts accordingly. It allocated new stripe_heads for the next chunk-wide-stripe in the target geometry, marking them STRIPE_EXPANDING. Then it finds which stripe heads in the old geometry can provide data needed by these and marks them STRIPE_EXPAND_SOURCE. This causes stripe_handle to read all blocks on those stripes. Once all blocks on a STRIPE_EXPAND_SOURCE stripe_head are read, any that are needed are copied into the corresponding STRIPE_EXPANDING stripe_head. Once a STRIPE_EXPANDING stripe_head is full, it is marks STRIPE_EXPAND_READY and then is written out and released. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ecaa1e6a1ad69862e9980b6c777e11f26c4782d tree 3cbd64ebc2a45f6b5ac45b0305fd3cf2c6916070 parent ad01c9e3752f4ba4f3d99c89b7370fa4983a25b5 author NeilBrown Mon, 27 Mar 2006 01:18:08 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:01 -0800 [PATCH] md: Infrastructure to allow normal IO to continue while array is expanding We need to allow that different stripes are of different effective sizes, and use the appropriate size. Also, when a stripe is being expanded, we must block any IO attempts until the stripe is stable again. Key elements in this change are: - each stripe_head gets a 'disk' field which is part of the key, thus there can sometimes be two stripe heads of the same area of the array, but covering different numbers of devices. One of these will be marked STRIPE_EXPANDING and so won't accept new requests. - conf->expand_progress tracks how the expansion is progressing and is used to determine whether the target part of the array has been expanded yet or not. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad01c9e3752f4ba4f3d99c89b7370fa4983a25b5 tree 856868aa97332d6d15d4cad412e0ebe3576bb571 parent b55e6bfcd23cb2f7249095050c649f7aea813f9f author NeilBrown Mon, 27 Mar 2006 01:18:07 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:01 -0800 [PATCH] md: Allow stripes to be expanded in preparation for expanding an array Before a RAID-5 can be expanded, we need to be able to expand the stripe-cache data structure. This requires allocating new stripes in a new kmem_cache. If this succeeds, we copy cache pages over and release the old stripes and kmem_cache. We then allocate new pages. If that fails, we leave the stripe cache at it's new size. It isn't worth the effort to shrink it back again. Unfortuanately this means we need two kmem_cache names as we, for a short period of time, we have two kmem_caches. So they are raid5/%s and raid5/%s-alt Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b55e6bfcd23cb2f7249095050c649f7aea813f9f tree 78c854c1eeb85d48bf0956309cc7ccfa14e9805a parent 4588b42e9d0d0904a745c96cead66506c75bae21 author NeilBrown Mon, 27 Mar 2006 01:18:06 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:01 -0800 [PATCH] md: Split disks array out of raid5 conf structure so it is easier to grow The remainder of this batch implements raid5 reshaping. Currently the only shape change that is supported is added a device, but it is envisioned that changing the chunksize and layout will also be supported, as well as changing the level (e.g. 1->5, 5->6). The reshape process naturally has to move all of the data in the array, and so should be used with caution. It is believed to work, and some testing does support this, but wider testing would be great for increasing my confidence. You will need a version of mdadm newer than 2.3.1 to make use of raid5 growth. This is because mdadm need to take a copy of a 'critical section' at the start of the array incase there is a crash at an awkward moment. On restart, mdadm will restore the critical section and allow reshape to continue. I hope to release a 2.4-pre by early next week - it still needs a little more polishing. This patch: Previously the array of disk information was included in the raid5 'conf' structure which was allocated to an appropriate size. This makes it awkward to change the size of that array. So we split it off into a separate kmalloced array which will require a little extra indexing, but is much easier to grow. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4588b42e9d0d0904a745c96cead66506c75bae21 tree 203162f7e829da88e0bb81bc0c3f49d6f832f855 parent 1be7892fffb45f6017494a88ff68fe84c6de26b4 author NeilBrown Mon, 27 Mar 2006 01:18:04 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:01 -0800 [PATCH] md: Update status_resync to handle LARGE devices status_resync - used by /proc/mdstat to report the status of a resync, assumes that device sizes will always fit into an 'unsigned long' This is no longer the case... Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1be7892fffb45f6017494a88ff68fe84c6de26b4 tree 685f3d32dc97becd58262531f0827f8d3bb6e96b parent c5a10f62c5c496c49db749af103b991873b7e2dc author NeilBrown Mon, 27 Mar 2006 01:18:03 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:00 -0800 [PATCH] md: Fix the 'failed' count for version-0 superblocks We are counting failed devices twice, once of the device that is failed, and once for the hole that has been left in the array. Remove the former so 'failed' matches 'missing'. Storing these counts in the superblock is a bit silly anyway.... Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5a10f62c5c496c49db749af103b991873b7e2dc tree 63d02eaa6b75a8ff05b2b81afe4555970799ec39 parent 89e5c8b5b85d6d46e8a28cdfa076313ae691d35c author NeilBrown Mon, 27 Mar 2006 01:18:03 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:00 -0800 [PATCH] md: Add '4' to the list of levels for which bitmaps are supported I really should make this a function of the personality.... Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89e5c8b5b85d6d46e8a28cdfa076313ae691d35c tree 61ef0df8f33900f926d6ebd81f295063cb0601b3 parent a22c96c737a9cefbe8d6e991c0032ad6db825a67 author NeilBrown Mon, 27 Mar 2006 01:18:02 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:00 -0800 [PATCH] md: Make sure QUEUE_FLAG_CLUSTER is set properly for md. This flag should be set for a virtual device iff it is set for all underlying devices. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a22c96c737a9cefbe8d6e991c0032ad6db825a67 tree 95a19ae05a86e9ecf29fd2aa0747c0af2266d728 parent b4cf1b72eec0e197257a5b07dc9ec53552cdd123 author Kevin Corry Mon, 27 Mar 2006 01:18:01 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:00 -0800 [PATCH] dm: remove unnecessary typecast Signed-off-by: Kevin Corry Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4cf1b72eec0e197257a5b07dc9ec53552cdd123 tree 5e292f1877ceaccb8d44683a5885078c0b101168 parent f165921df46a977e3561f1bd9f13a348441486d1 author Jun'ichi Nomura Mon, 27 Mar 2006 01:18:00 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:00 -0800 [PATCH] dm/md dependency tree in sysfs: convert bd_sem to bd_mutex Convert bd_sem to bd_mutex Signed-off-by: Jun'ichi Nomura Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f165921df46a977e3561f1bd9f13a348441486d1 tree a44679427f97090aeb4d5ba62568a41f4b367763 parent 5463c7904c952aa6b6804dd902c72a5332fa5221 author Jun'ichi Nomura Mon, 27 Mar 2006 01:17:59 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:00 -0800 [PATCH] dm/md dependency tree in sysfs: dm to use bd_claim_by_disk Use bd_claim_by_disk. Following symlinks are created if dm-0 maps to sda: /sys/block/dm-0/slaves/sda --> /sys/block/sda /sys/block/sda/holders/dm-0 --> /sys/block/dm-0 Signed-off-by: Jun'ichi Nomura Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5463c7904c952aa6b6804dd902c72a5332fa5221 tree b2894d58ad0d99959bf246722e33a64960125f57 parent 641dc636b0475582e48584340b774bd1e90d40d9 author Jun'ichi Nomura Mon, 27 Mar 2006 01:17:58 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:00 -0800 [PATCH] dm/md dependency tree in sysfs: md to use bd_claim_by_disk Use bd_claim_by_disk. Following symlinks are created if md0 is built from sda and sdb /sys/block/md0/slaves/sda --> /sys/block/sda /sys/block/md0/slaves/sdb --> /sys/block/sdb /sys/block/sda/holders/md0 --> /sys/block/md0 /sys/block/sdb/holders/md0 --> /sys/block/md0 Signed-off-by: Jun'ichi Nomura Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 641dc636b0475582e48584340b774bd1e90d40d9 tree 75c839cebd81a8ec4fae6c0cc35a387da160cfbe parent 100873687d81d4ce7b1299b447d33e87ba1e9583 author Jun'ichi Nomura Mon, 27 Mar 2006 01:17:57 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:45:00 -0800 [PATCH] dm/md dependency tree in sysfs: bd_claim_by_kobject Adding bd_claim_by_kobject() function which takes kobject as additional signature of holder device and creates sysfs symlinks between holder device and claimed device. bd_release_from_kobject() is a counterpart of bd_claim_by_kobject. Signed-off-by: Jun'ichi Nomura Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 100873687d81d4ce7b1299b447d33e87ba1e9583 tree d001189d851885fca9a8b287053a4d179c071763 parent 6a4d44c1f1108d6c9e8850e8cf166aaba0e56eae author Andrew Morton Mon, 27 Mar 2006 01:17:56 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm-md-dependency-tree-in-sysfs-holders-slaves-subdirectory-tidy Remove all the CONFIG_SYSFS stuff. That's supposed to all be implemented up in header files. Yes, the CONFIG_SYSFS=n data structures will be a little larger than necessary, but that's a tradeoff we can decide to make. Cc: Jun'ichi Nomura Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a4d44c1f1108d6c9e8850e8cf166aaba0e56eae tree 4e0b59ca2b4959e1593cbcdec4b90ec0d9041126 parent 3ac51e741a46af7a20f55e79d3e3aeaa93c6c544 author Jun'ichi Nomura Mon, 27 Mar 2006 01:17:55 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm/md dependency tree in sysfs: holders/slaves subdirectory Creating "slaves" and "holders" directories in /sys/block/ and creating "holders" directory under /sys/block// Signed-off-by: Jun'ichi Nomura Cc: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ac51e741a46af7a20f55e79d3e3aeaa93c6c544 tree cab595a4d9691d7602616337b7862a1a3d692b97 parent 1134e5ae79bab61c05657ca35a6297cf87202e35 author Darrick J. Wong Mon, 27 Mar 2006 01:17:54 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm store geometry Allow drive geometry to be stored with a new DM_DEV_SET_GEOMETRY ioctl. Device-mapper will now respond to HDIO_GETGEO. If the geometry information is not available, zero will be returned for all of the parameters. Signed-off-by: Darrick J. Wong Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1134e5ae79bab61c05657ca35a6297cf87202e35 tree 16d5e9c722fbe17dc343c65b85628c8e6ee36199 parent 9ade92a9a5b0a3a10efa6551b8c67a9277bf0438 author Mike Anderson Mon, 27 Mar 2006 01:17:54 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm table: store md Store an up-pointer to the owning struct mapped_device in every table when it is created. Access it with: struct mapped_device *dm_table_get_md(struct dm_table *t) Tables linked to md must be destroyed before the md itself. Signed-off-by: Mike Anderson Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ade92a9a5b0a3a10efa6551b8c67a9277bf0438 tree 976b3d4f8a90d08cf9db1f7afb40423570360d85 parent 7e51f257e87297a5b6fe6d136a8ef67206aaf3a8 author Alasdair G Kergon Mon, 27 Mar 2006 01:17:53 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm: tidy mdptr Change dm_get_mdptr() to take a struct mapped_device instead of dev_t. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e51f257e87297a5b6fe6d136a8ef67206aaf3a8 tree 1691809f9068c93a461b4c8a2d8aceee0daa60a8 parent 1ecac7fd74f2e5fb06a7719ecba55fb5778a9a47 author Mike Anderson Mon, 27 Mar 2006 01:17:52 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm: store md name The patch stores a printable device number in struct mapped_device for use in warning messages and with a proposed netlink interface. Signed-off-by: Mike Anderson Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ecac7fd74f2e5fb06a7719ecba55fb5778a9a47 tree 04cd89c4fc1a8996704d7b0df2e62fa1dc33388d parent 138728dc96529f20dfe970c470e51885a60e329f author Jun'ichi Nomura Mon, 27 Mar 2006 01:17:51 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm flush queue EINTR If dm_suspend() is cancelled, bios already added to the deferred list need to be submitted. Otherwise they remain 'in limbo' until there's a dm_resume(). Signed-off-by: Jun'ichi Nomura Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 138728dc96529f20dfe970c470e51885a60e329f tree a0369a9de402cd8b9a123129c5e8ba7c69ba1a95 parent 969429b504ae866d3f8b1cafd68a2c099e305093 author Alasdair G Kergon Mon, 27 Mar 2006 01:17:50 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm snapshot: fix kcopyd destructor Before removing a snapshot, wait for the completion of any kcopyd jobs using it. Do this by maintaining a count (nr_jobs) of how many outstanding jobs each kcopyd_client has. The snapshot destructor first unregisters the snapshot so that no new kcopyd jobs (created by writes to the origin) will reference that particular snapshot. kcopyd_client_destroy() is now run next to wait for the completion of any outstanding jobs before the snapshot exception structures (that those jobs reference) are freed. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 969429b504ae866d3f8b1cafd68a2c099e305093 tree 538c0a77049450e434cfc890807822491f766113 parent 4ee218cd67b385759993a6c840ea45f0ee0a8b30 author NeilBrown Mon, 27 Mar 2006 01:17:49 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:59 -0800 [PATCH] dm: make sure QUEUE_FLAG_CLUSTER is set properly This flag should be set for a virtual device iff it is set for all underlying devices. Signed-off-by: Neil Brown Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ee218cd67b385759993a6c840ea45f0ee0a8b30 tree 788d33b31e9d008eeb2de2a7f874e45b09695719 parent 930d332a23682202c07df0276dd665a57755b37d author Andrew Morton Mon, 27 Mar 2006 01:17:48 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:58 -0800 [PATCH] dm: remove SECTOR_FORMAT We don't know what type sector_t has. Sometimes it's unsigned long, sometimes it's unsigned long long. For example on ppc64 it's unsigned long with CONFIG_LBD=n and on x86_64 it's unsigned long long with CONFIG_LBD=n. The way to handle all of this is to always use unsigned long long and to always typecast the sector_t when printing it. Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 930d332a23682202c07df0276dd665a57755b37d tree 0a0202fb581a65a0b63a4a98aa725eb2088a7814 parent 76df1c651b66bdf07d60b3d60789feb5f58d73e3 author Jun'ichi Nomura Mon, 27 Mar 2006 01:17:47 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:58 -0800 [PATCH] drivers/md/dm-raid1.c: Fix inconsistent mirroring after interrupted recovery dm-mirror has potential data corruption problem: while on-disk log shows that all disk contents are in-sync, actual contents of the disks are not synchronized. This problem occurs if initial recovery (synching) is interrupted and resumed. Attached patch fixes this problem. Background: rh_dec() changes the region state from RH_NOSYNC (out-of-sync) to RH_CLEAN (in-sync), which results in the corresponding bit of clean_bits being set. This is harmful if on-disk log is used and the map is removed/suspended before the initial sync is completed. The clean_bits is written down to the on-disk log at the map removal, and, upon resume, it's read and copied to sync_bits. Since the recovery process refers to the sync_bits to find a region to be recovered, the region whose state was changed from RH_NOSYNC to RH_CLEAN is no longer recovered. If you haven't applied dm-raid1-read-balancing.patch proposed in dm-devel sometimes ago, the contents of the mirrored disk just corrupt silently. If you have, balanced read may get bogus data from out-of-sync disks. The patch keeps RH_NOSYNC state unchanged. It will be changed to RH_RECOVERING when recovery starts and get reclaimed when the recovery completes. So it doesn't leak the region hash entry. Description: Keep RH_NOSYNC state unchanged when I/O on the region completes. rh_dec() changes the region state from RH_NOSYNC (out-of-sync) to RH_CLEAN (in-sync), which results in the corresponding bit of clean_bits being set. This is harmful if on-disk log is used and the map is removed/suspended before the initial sync is completed. The clean_bits is written down to the on-disk log at the map removal, and, upon resume, it's read and copied to sync_bits. Since the recovery process refers to the sync_bits to find a region to be recovered, the region whose state was changed from RH_NOSYNC to RH_CLEAN is no longer recovered. If you haven't applied dm-raid1-read-balancing.patch proposed in dm-devel sometimes ago, the contents of the mirrored disk just corrupt silently. If you have, balanced read may get bogus data from out-of-sync disks. The RH_NOSYNC region will be changed to RH_RECOVERING when recovery starts on the region and get reclaimed when the recovery completes. So it doesn't leak the region hash entry. Alasdair said: I've analysed the relevant part of the state machine and I believe that the patch is correct. (Further work on this code is still needed - this patch has the side-effect of holding onto memory unnecessarily for long periods of time under certain workloads - but better that than corrupting data.) Signed-off-by: Jun'ichi Nomura Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76df1c651b66bdf07d60b3d60789feb5f58d73e3 tree 5458257a6a089396ac6ed5883a916af542ca8477 parent b4b610f684d13bf8691feeae5d4d7a8bd1f1033e author Alasdair G Kergon Mon, 27 Mar 2006 01:17:45 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:58 -0800 [PATCH] device-mapper snapshot: fix invalidation When a snapshot becomes invalid, s->valid is set to 0. In this state, a snapshot can no longer be accessed. When s->lock is acquired, before doing anything else, s->valid must be checked to ensure the snapshot remains valid. This patch eliminates some races (that may cause panics) by adding some missing checks. At the same time, some unnecessary levels of indentation are removed and snapshot invalidation is moved into a single function that always generates a device-mapper event. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4b610f684d13bf8691feeae5d4d7a8bd1f1033e tree 3226c70f318f494d3c6a6707879ba82ebec900b9 parent eccf081799be8d83852f183838bf26e1ca099db4 author Alasdair G Kergon Mon, 27 Mar 2006 01:17:44 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:58 -0800 [PATCH] device-mapper snapshot: replace sibling list The siblings "list" is used unsafely at the moment. Firstly, only the element on the list being changed gets locked (via the snapshot lock), not the next and previous elements which have pointers that are also being changed. Secondly, if you have two or more snapshots and write to the same chunk a second time before every snapshot has finished making its private copy of the data, if you're unlucky, _origin_write() could attempt its list_merge() and dereference a 'last' pointer to a pending_exception structure that has just been freed. Analysis reveals that the list is actually only there for reference counting. If 5 pending_exceptions are needed in origin_write, then the 5 are joined together into a 5-element list - without a separate list head because there's nowhere suitable to store it. As the pending_exceptions complete, they are removed from the list one-by-one and any contents of origin_bios get moved across to one of the remaining pending_exceptions on the list. Whichever one is last is detected because list_empty() is then true and the origin_bios get submitted. The fix proposed here uses an alternative reference counting mechanism by choosing one of the pending_exceptions as primary and maintaining an atomic counter there. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eccf081799be8d83852f183838bf26e1ca099db4 tree ff6e2fa87a149f1122e5f0f854bf1707e962f3b8 parent e4ccde33de202fae1b1e2a940604ee9e295450d9 author Alasdair G Kergon Mon, 27 Mar 2006 01:17:42 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:58 -0800 [PATCH] device-mapper snapshot: fix origin_write pending_exception submission Say you have several snapshots of the same origin and then you issue a write to some place in the origin for the first time. Before the device-mapper snapshot target lets the write go through to the underlying device, it needs to make a copy of the data that is about to be overwritten. Each snapshot is independent, so it makes one copy for each snapshot. __origin_write() loops through each snapshot and checks to see whether a copy is needed for that snapshot. (A copy is only needed the first time that data changes.) If a copy is needed, the code allocates a 'pending_exception' structure holding the details. It links these together for all the snapshots, then works its way through this list and submits the copying requests to the kcopyd thread by calling start_copy(). When each request is completed, the original pending_exception structure gets freed in pending_complete(). If you're very unlucky, this structure can get freed *before* the submission process has finished walking the list. This patch: 1) Creates a new temporary list pe_queue to hold the pending exception structures; 2) Does all the bookkeeping up-front, then walks through the new list safely and calls start_copy() for each pending_exception that needed it; 3) Avoids attempting to add pe->siblings to the list if it's already connected. [NB This does not fix all the races in this code. More patches will follow.] Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4ccde33de202fae1b1e2a940604ee9e295450d9 tree c6fa9ba9e6ed4c00836acef32f738ea2d81108fc parent d1ae418eef4ce763a95edec0b5fc095af5daca2e author Adrian Bunk Mon, 27 Mar 2006 01:17:41 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:58 -0800 [PATCH] video/sis/init301.c:SiS_ChrontelDoSomething2(): remove dead code The Coverity checker spotted these two unused variables. Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Cc: Thomas Winischhofer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d1ae418eef4ce763a95edec0b5fc095af5daca2e tree 251158f7887435cd058293c2532eafd722adff3a parent b0c87978216836455ef5fbcac6df1ce6679750b0 author Tobias Klauser Mon, 27 Mar 2006 01:17:39 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:58 -0800 [PATCH] drivers/video: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove duplicates of ARRAY_SIZE. Some coding style and trailing whitespaces are also fixed. Compile-tested where possible (some are other arch or BROKEN) Signed-off-by: Tobias Klauser Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0c87978216836455ef5fbcac6df1ce6679750b0 tree cb76e58c56a5a0281d1422a29afe518d958e5a50 parent ac3f9087d337a6ffa1a5fbdf2c923eb0aad1aef6 author Olaf Hering Mon, 27 Mar 2006 01:17:38 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:57 -0800 [PATCH] fbdev: add modeline for 1680x1050@60 Add a modeline for the Philips 200W display. aty128fb does not do DDC, it picks 1920x1440 or similar. It works ok with nvidiafb because it can ask for DDC data. mode "1680x1050-60" # D: 146.028 MHz, H: 65.191 kHz, V: 59.863 Hz geometry 1680 1050 1680 1050 16 timings 6848 280 104 30 3 176 6 hsync high vsync high rgba 5/11,6/5,5/0,0/0 endmode hwinfo --monitor 20: None 00.0: 10000 Monitor [Created at monitor.206] Unique ID: rdCR.pzUFTofo1S4 Parent ID: 002j.bJRsY88eNSC Hardware Class: monitor Model: "PHILIPS Philips 200W" Vendor: PHL "PHILIPS" Device: eisa 0x0832 "Philips 200W" Serial ID: "VN 016596" Resolution: 720x400@70Hz Resolution: 640x480@60Hz Resolution: 640x480@67Hz Resolution: 640x480@72Hz Resolution: 640x480@75Hz Resolution: 800x600@56Hz Resolution: 800x600@60Hz Resolution: 800x600@72Hz Resolution: 800x600@75Hz Resolution: 832x624@75Hz Resolution: 1024x768@60Hz Resolution: 1024x768@70Hz Resolution: 1024x768@75Hz Resolution: 1280x1024@75Hz Resolution: 1152x864@70Hz Resolution: 1152x864@75Hz Resolution: 1280x960@60Hz Resolution: 1280x1024@60Hz Resolution: 1680x1050@60Hz Size: 433x271 mm Driver Info #0: Max. Resolution: 1680x1050 Vert. Sync Range: 56-85 Hz Hor. Sync Range: 30-93 kHz Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #5 (VGA compatible controller) Signed-off-by: Olaf Hering Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac3f9087d337a6ffa1a5fbdf2c923eb0aad1aef6 tree a01c80fcddb96da7f0f98ce0192ff9e350a6bcd0 parent ed49843b897da9969e349c279ffc832efcb93213 author Ralf Baechle Mon, 27 Mar 2006 01:17:37 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:57 -0800 [PATCH] sparse: Fix warnings in newport driver about non-static functions There are more sparse warnings but fixing those will require some more work than I want to do without hardware for testing at hand. Signed-off-by: Ralf Baechle Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed49843b897da9969e349c279ffc832efcb93213 tree 0c83e4ee08a0f765f0ce0d4bb7a6a140a4f466d8 parent 6257ffacb9e1dc99a910d620ccb92ec88da20a4f author Pavel Roskin Mon, 27 Mar 2006 01:17:36 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:57 -0800 [PATCH] Add ID for Quadro NVS280 Quadro NVS280 is a dual-head PCIe card with PCI ID 10de:00fd and subsystem ID 10de:0215. Signed-off-by: Pavel Roskin Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6257ffacb9e1dc99a910d620ccb92ec88da20a4f tree 801b614933ff2fc167f339bd884bd62c6a57a313 parent eba87e8e8d7024da827accb00ce7e3affd10b7de author Antonino A. Daplas Mon, 27 Mar 2006 01:17:36 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:56 -0800 [PATCH] imsttfb: Remove dead code clk_p is always 0. Coverity Bug 67 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eba87e8e8d7024da827accb00ce7e3affd10b7de tree 58f072405f64681ff96345aeb0b430ae0a124487 parent 0e4be28023c14624e03a09b4494e919e088513f0 author Antonino A. Daplas Mon, 27 Mar 2006 01:17:35 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:56 -0800 [PATCH] atyfb: Remove dead code Remove code that can never be reached. Coverity Bug 67 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e4be28023c14624e03a09b4494e919e088513f0 tree 320d6a8026afc683c1eb1e4b6f18c223978aedde parent 7c518eb84ce75d4c8e8799f4fcad59837f6d1894 author Antonino A. Daplas Mon, 27 Mar 2006 01:17:34 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:56 -0800 [PATCH] savagefb: Remove NULL check Remove unnecessary NULL check. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c518eb84ce75d4c8e8799f4fcad59837f6d1894 tree 554c85c6ab12bde941873ac7a68e0a940d27f146 parent 3d5b191fff144634a04800e610b7ad0c1aefa6ed author Antonino A. Daplas Mon, 27 Mar 2006 01:17:33 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:56 -0800 [PATCH] i810fb: Remove NULL check Remove unnecessary NULL check. Being a function private to the driver, out_edid can never be NULL. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d5b191fff144634a04800e610b7ad0c1aefa6ed tree a4fe1e1adaf9c80bfa1c46f1cebbe4ca7f11d01b parent 8ff7727d2a92f8b99cc709b827859da5d3c46a8a author Antonino A. Daplas Mon, 27 Mar 2006 01:17:33 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:56 -0800 [PATCH] nvidiafb: Remove NULL check #2 Remove unnecessary NULL check. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ff7727d2a92f8b99cc709b827859da5d3c46a8a tree a58aba862bed89df05f4926da5d364037583db3f parent 4d7b84d1cbb213fdfd2b25ffd1217f249ba1d55a author Antonino A. Daplas Mon, 27 Mar 2006 01:17:32 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:56 -0800 [PATCH] nvidiafb: Remove NULL check Remove unnecessary NULL check, as struct info will never be NULL. Coverity Bug 835 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d7b84d1cbb213fdfd2b25ffd1217f249ba1d55a tree e9719e4dd51cf951e8cb54b2103663f05ac41a7d parent db77ec270d00098ff4fbf15f62f4506f6efb25d2 author Antonino A. Daplas Mon, 27 Mar 2006 01:17:31 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:56 -0800 [PATCH] rivafb: Remove NULL check Remove unnecessary NULL check, as struct info will never be NULL. Coverity Bug 836 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db77ec270d00098ff4fbf15f62f4506f6efb25d2 tree c4d49f61e120624d435b80b9ee7448eb6f064046 parent 59153f7d7effdb5b3c81eb6d03914a866157b319 author Alan Curry Mon, 27 Mar 2006 01:17:30 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:56 -0800 [PATCH] framebuffer: cmap-setting return values A set of 3 small bugfixes, all of which are related to bogus return values of fb colormap-setting functions. First, fb_alloc_cmap returns -1 if memory allocation fails. This is a hard condition to reproduce since you'd have to be really low on memory, but from studying the contexts in which it is called, I think this function should be returning a negative errno, and the -1 will be seen as an EPERM. Switching it to -ENOMEM makes sense. Second, the store_cmap function which is called for writes to /sys/class/graphics/fb0/color_map returns 0 for success, but it should be returning the count of bytes written since its return value ends up in userspace as the result of the write() syscall. Third, radeonfb returns 1 instead of a negative errno when FBIOPUTCMAP is called with an oversized colormap. This is seen in userspace as a return value of 1 from the ioctl() syscall with errno left unchanged. A more useful return value would be -EINVAL. Signed-off-by: Alan Curry Cc: "Antonino A. Daplas" Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59153f7d7effdb5b3c81eb6d03914a866157b319 tree 59241e05d5fc0ba01070624c6c559004fe1b686a parent f95ec3c6df271ae4e6290cd6b95c18a009c76dc9 author Antonino A. Daplas Mon, 27 Mar 2006 01:17:29 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] fbdev: Make BIOS EDID reading configurable DDC reading via the Video BIOS may take several tens of seconds with some combination of display cards and monitors. Make this option configurable. It defaults to `y' to minimise disruption. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f95ec3c6df271ae4e6290cd6b95c18a009c76dc9 tree de6c44709c312ea1d9708c0daeebf07c379a2c5e parent d03c21ec0be7787ff6b75dcf56c0e96209ccbfbd author Ralf Baechle Mon, 27 Mar 2006 01:17:27 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] au1200fb: Alchemy Au1200 framebuffer driver Add support for Alchemy Au1200 framebuffer driver Signed-off-by: Ralf Baechle Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d03c21ec0be7787ff6b75dcf56c0e96209ccbfbd tree 6d067fc95498f89a297f6bd390c8191f57ab9aeb parent 756e21a022aba5214bafcf803f114aed8a783b99 author Jean Delvare Mon, 27 Mar 2006 01:17:26 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] matrox maven: memory allocation and other cleanups A few cleanups which were done to almost all i2c drivers some times ago, but matroxfb_maven was forgotten: * Don't allocate two different structures at once. * Use kzalloc instead of kmalloc+memset. * Use strlcpy instead of strcpy. * Drop duplicate error message on client deregistration failure. Signed-off-by: Jean Delvare Acked-by: Petr Vandrovec Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 756e21a022aba5214bafcf803f114aed8a783b99 tree d41a2be43ed27563a13fb34b980453f8289d38ce parent fc4effc7a98d0d320e478d1d42bc4a8a64380150 author Arthur Othieno Mon, 27 Mar 2006 01:17:24 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] matroxfb: simply return what i2c_add_driver() does insmod will tell us when the module failed to load. We do no further processing on the return from i2c_add_driver(), so just return what i2c_add_driver() did, instead of storing it. Add __init/__exit annotations while we're at it. Signed-off-by: Arthur Othieno Acked-by: Jean Delvare Acked-by: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc4effc7a98d0d320e478d1d42bc4a8a64380150 tree 2291ae0b2eca05c45399f6f161714f3083269f1d parent 7a07cd786dbd0111b9dd977e114438220cb4eee5 author David Vrabel Mon, 27 Mar 2006 01:17:23 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] fbdev: framebuffer driver for Geode GX A framebuffer driver for the display controller in AMD Geode GX processors (Geode GX533, Geode GX500 etc.). Tested at 640x480, 800x600, 1024x768 and 1280x1024 at 8, 16, and 24 bpp with both CRT and TFT. No accelerated features currently implemented and compression remains disabled. This driver requires that the BIOS (or the SoftVG/Firmbase code in the BIOS) has created an appropriate virtual PCI header. Signed-off-by: David Vrabel Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a07cd786dbd0111b9dd977e114438220cb4eee5 tree 5aba3ac594def43624d6014b384b228029b6418c parent 15bdab959c9bb909c0317480dd9b35748a8f7887 author Antonino A. Daplas Mon, 27 Mar 2006 01:17:22 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] nvidiafb: add suspend and resume hooks Add suspend and resume hooks to make software suspend more reliable. Resuming from standby should generally work. Resuming from mem and from disk requires that the GPU is disabled. Adding these to the suspend script... fbset -accel false -a /* suspend here */ fbset -accel true -a ... should generally work. In addition, resuming from mem requires that the video card has to be POSTed by the BIOS or some other utility. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15bdab959c9bb909c0317480dd9b35748a8f7887 tree 1eb056f109f44f584059303347eb7a1b6f25957a parent 2115aea8185c8987b7688111953322742bd8795c author Antonino A. Daplas Mon, 27 Mar 2006 01:17:20 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] vgacon: Add support for soft scrollback The scrollback buffer of the VGA console is located in VGA RAM. This RAM is fixed in size and is very small. To make the scrollback buffer larger, it must be placed instead in System RAM. This patch adds this feature. The feature and the size of the buffer are made as a kernel config option. Besides consuming kernel memory, this feature will slow down the console by approximately 20%. Signed-off-by: Antonino Daplas Signed-off-by: Jiri Slaby Cc: Jindrich Makovicka Cc: Martin Mares Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2115aea8185c8987b7688111953322742bd8795c tree 62a791c01b10cdd98d4907d2a168d51e87558c09 parent c94ded6e602594c8e66fd5b1ba832d5327f5c103 author Samuel Thibault Mon, 27 Mar 2006 01:17:19 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] vgacon: fix EGA cursor resize function This corrects cursor resize on ega boards: registers are write-only, so we shouldn't even try to read them. And on ega, 31/30 produces a flat cursor. Using 31/31 is better: except with 32 pixels high fonts, it shouldn't show up. Signed-off-by: Samuel Thibault Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c94ded6e602594c8e66fd5b1ba832d5327f5c103 tree e0c9a0ba3b84e6e5c93d3ec02035ae4f900d6c34 parent 38125956441c5cab28333414cee308d162507477 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:18 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:55 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: wavefront Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. And fix some __init/__devinit issues. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38125956441c5cab28333414cee308d162507477 tree 85b0461fe5aa8a7f505aef7bfc71ae17c78fd3f1 parent be54414d597b168d8c4eb2dafb8933ea15a7c148 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:17 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:54 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: sscape Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be54414d597b168d8c4eb2dafb8933ea15a7c148 tree bec9355085d457f1af8f4a0770f4c3a3b1c5a496 parent 312fef308cb15e793d8902f1dbd318d01268d36e author Bjorn Helgaas Mon, 27 Mar 2006 01:17:16 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:54 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: sb_card Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. And fix some __init/__devinit issues. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 312fef308cb15e793d8902f1dbd318d01268d36e tree 0867a21d522155b9aed0a81ad584de7628fdbe3d parent ebdb71ea7b384ff3f32dd038dba0aad58580e832 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:15 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:54 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: sb16 Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. And fix some __init/__devinit issues. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebdb71ea7b384ff3f32dd038dba0aad58580e832 tree 3c9948bd9d938361700aef4d77034d79aa686893 parent 6a3a3a0260cf5a4e5942db8d56cae4db4dc139a6 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:14 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:54 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: interwave Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. And fix some __init/__devinit issues. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a3a3a0260cf5a4e5942db8d56cae4db4dc139a6 tree 7276dd1d721f7ffa25dc814f8bcde20bd3b0241b parent fea9739f2a1aed1cfb9b7af7cce66b28b68d4394 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:14 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:54 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: es968 Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. And fix some __init/__devinit issues. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fea9739f2a1aed1cfb9b7af7cce66b28b68d4394 tree 032fbca13e0fd6724c9dd41d20a597aef2bf8a1d parent 6736a6587b991477aae927c37176e8cab8689f9e author Bjorn Helgaas Mon, 27 Mar 2006 01:17:13 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:54 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: es18xx Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. And fix some __init/__devinit issues. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6736a6587b991477aae927c37176e8cab8689f9e tree c529a1a472e652648bf1ffd20e2e7932de37fefd parent 07d58ad06b46e630a5ff6b10e9b81f370b175b56 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:12 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:54 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: dt019x Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07d58ad06b46e630a5ff6b10e9b81f370b175b56 tree 11694ea3c346bd03670ed630681777455d5847ec parent db2735eb9076c5176ec9dcbbaefd38e7d82f0e47 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:11 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:54 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: cmi8330 Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. And fix some __init/__devinit issues. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db2735eb9076c5176ec9dcbbaefd38e7d82f0e47 tree 0844f8816317a7aa27804b31456817fc908eff28 parent 51427ec0f222cb73b21f3849416a95d751bdd742 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:10 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: azt2320 Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51427ec0f222cb73b21f3849416a95d751bdd742 tree 7915818c4cb5e268e8c317eed9c89f28d290f175 parent 5f53f4e2107fcfdd33da1cc34a86c9aef5e76af6 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:09 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: als100 Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. And fix a __init/__devinit issue. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f53f4e2107fcfdd33da1cc34a86c9aef5e76af6 tree 18e3fb83d69667cf24b677ced4f604c6cd6a2549 parent 982c609448b9d724e1c3a0d5aeee388c064479f0 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:08 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] PNP: adjust pnp_register_card_driver() signature: ad1816a Remove the assumption that pnp_register_card_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 982c609448b9d724e1c3a0d5aeee388c064479f0 tree 8e402d45943ec27c0b93d2f5aeb376f6aa512215 parent 070c6999831dc4cfd9b07c74c2fea1964d7adfec author Bjorn Helgaas Mon, 27 Mar 2006 01:17:08 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] pnp: PNP: adjust pnp_register_driver signature Remove the assumption that pnp_register_driver() returns the number of devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future. This changes the convention to "zero for success, or a negative error value," which matches pci_register_driver(), acpi_bus_register_driver(), and platform_driver_register(). Signed-off-by: Bjorn Helgaas Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 070c6999831dc4cfd9b07c74c2fea1964d7adfec tree 1d62474e7f9c6f90a6d9203399479aa4f30969e2 parent 803d0abb3dcfc93701c8a8dc7f2968a47271214c author Bjorn Helgaas Mon, 27 Mar 2006 01:17:07 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] pnp: cs4232: adjust pnp_register_driver signature Remove the assumption that pnp_register_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 803d0abb3dcfc93701c8a8dc7f2968a47271214c tree 3f50f6b1024626d87d1ba28cae7b8858294df390 parent 8c59c4a2216583cf79eaaaf71ef1dd5757e12854 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:06 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] pnp: IRDA: adjust pnp_register_driver signature Remove the assumption that pnp_register_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c59c4a2216583cf79eaaaf71ef1dd5757e12854 tree 56618d818f232399ba7a682af36301fdd14b232e parent ed7cb1913168fdce6d084f2f5cd6818851313383 author Bjorn Helgaas Mon, 27 Mar 2006 01:17:05 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] pnp: opl3sa2: adjust pnp_register_driver signature Remove the assumption that pnp_register_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed7cb1913168fdce6d084f2f5cd6818851313383 tree 8077b4bd2c4ee99e468d1cea07409a75d9b1fa1e parent f301ae6a690abe7edd2f92fa6df0b1b06986a6ad author Bjorn Helgaas Mon, 27 Mar 2006 01:17:04 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] pnp: cs4236: adjust pnp_register_driver signature Remove the assumption that pnp_register_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f301ae6a690abe7edd2f92fa6df0b1b06986a6ad tree 7ba628b3d11143589c2c9242120a5f18278d70ac parent 7597fee389b18e5ed3c8bd58f0012674beb279ed author Bjorn Helgaas Mon, 27 Mar 2006 01:17:04 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:53 -0800 [PATCH] pnp: mpu401: adjust pnp_register_driver signature This series of patches removes the assumption that pnp_register_driver() returns the number of devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future. (Many devices don't support hot-plug, of course, but PNP in general does.) This changes the convention to "zero for success, or a negative error value," which matches pci_register_driver(), acpi_bus_register_driver(), and platform_driver_register(). If drivers need to know the number of devices, they can count calls to their .probe() methods. This patch: Remove the assumption that pnp_register_driver() returns the number of devices claimed. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7597fee389b18e5ed3c8bd58f0012674beb279ed tree 797e434f56e96e232f662cb8aa668d6962cd10dc parent 1d98af87270cc08bb8251e004b9dc63cc838f24b author Bjorn Helgaas Mon, 27 Mar 2006 01:17:02 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:52 -0800 [PATCH] pnp: parport: adjust pnp_register_driver signature Remove the assumption that pnp_register_driver() returns the number of devices claimed. parport_pc_init() does nothing with "count", so remove it. Then nobody uses the return value of parport_pc_find_ports(), so make it void. Finally, update pnp_register_driver() usage. Signed-off-by: Bjorn Helgaas Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d98af87270cc08bb8251e004b9dc63cc838f24b tree 05098581730851d32b59fed728a7c86e8193677b parent e842f1c8ff8a88f290e26d1139e89aad02c4e0c3 author Alessandro Zummo Mon, 27 Mar 2006 01:16:47 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:52 -0800 [PATCH] RTC subsystem: M48T86 driver Add a driver for the ST M48T86 / Dallas DS12887 RTC. This is a platform driver. The platform device must provide I/O routines to access the RTC. Signed-off-by: Alessandro Zummo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e842f1c8ff8a88f290e26d1139e89aad02c4e0c3 tree e5a5498d09db91d9508836c6155ea74972008013 parent fd507e2ff3a5adaccbefa05f4bc9f58f44e930db author Richard Purdie Mon, 27 Mar 2006 01:16:46 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:52 -0800 [PATCH] RTC subsystem: SA1100/PXA2XX driver Add an RTC subsystem driver for the ARM SA1100/PXA2XX processor RTC. Signed-off-by: Richard Purdie Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd507e2ff3a5adaccbefa05f4bc9f58f44e930db tree e34d6ada2e2da94afd73f018e3ac098593bc63f2 parent 7520b94debdc61620e1582fb4f5cca4a830f91cd author Alessandro Zummo Mon, 27 Mar 2006 01:16:45 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:52 -0800 [PATCH] RTC subsystem: EP93XX driver This patch adds a driver for the RTC embedded in the Cirrus Logic EP93XX family of processors. Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7520b94debdc61620e1582fb4f5cca4a830f91cd tree 06aa554e50ef0608d9d33ede4771e4e3c0817154 parent b5a82d628d4491558c109fbeabc2993d6686e89c author Alessandro Zummo Mon, 27 Mar 2006 01:16:45 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:52 -0800 [PATCH] RTC subsystem: RS5C372 driver RTC class aware driver for the Ricoh RS5C372 chip used, among others, on the Synology DS101. Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5a82d628d4491558c109fbeabc2993d6686e89c tree 53200cf2e1e7f7004b4a3544ea5ac7f6025f2bf3 parent edf1aaa31fc52ade0da7b6d1f2dffc17f0bdb9ff author Alessandro Zummo Mon, 27 Mar 2006 01:16:44 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:52 -0800 [PATCH] RTC subsystem: PCF8563 driver An RTC class aware driver for the Philips PCF8563 RTC and Epson RTC8564 chips. This chip is used on the Iomega NAS100D. Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit edf1aaa31fc52ade0da7b6d1f2dffc17f0bdb9ff tree 2bd1729cc36c40678dff7f7d422c7354be89edbc parent a95579cd4b40a4e062e187d931f498145551ee29 author Alessandro Zummo Mon, 27 Mar 2006 01:16:43 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:52 -0800 [PATCH] RTC subsystem: DS1672 driver Driver for the Dallas/Maxim DS1672 chip, found on the Loft (http://www.giantshoulderinc.com). Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a95579cd4b40a4e062e187d931f498145551ee29 tree f7c47f1e27210194448d2fe48c32ac8244ee41ac parent 1fec7c66ba98fc3a04e15fd14fad6b404e56fc94 author Alessandro Zummo Mon, 27 Mar 2006 01:16:42 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:51 -0800 [PATCH] RTC subsystem: test device/driver Interrupts can be generated by echo "alarm|tick|update" >/sys/class/rtc/rtcX/device/irq Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fec7c66ba98fc3a04e15fd14fad6b404e56fc94 tree 80959d3ae6fda4507d9a37886e1c25974ef2e92a parent e824290e5dcfaf2120da587b16d10dfdff8d5d3e author Alessandro Zummo Mon, 27 Mar 2006 01:16:42 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:51 -0800 [PATCH] RTC subsystem: X1205 driver A port of the existing x1205 driver under the new RTC subsystem. It is actually under test within the NSLU2 project (http://www.nslu2-linux.org) and it is working quite well. It is the first driver under this new subsystem and should be used as a guide to port other drivers. Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e824290e5dcfaf2120da587b16d10dfdff8d5d3e tree 1cb9b7c49191082d28e7791217a841b3da1f3964 parent 728a294787b780130d8eb237518d4cac0afe760c author Alessandro Zummo Mon, 27 Mar 2006 01:16:41 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:51 -0800 [PATCH] RTC subsystem: dev interface Add the dev interface to the RTC subsystem. Each RTC will be available under /dev/rtcX . A symlink from /dev/rtc0 to /dev/rtc cab be obtained with the following udev rule: KERNEL=="rtc0", SYMLINK+="rtc" Signed-off-by: Alessandro Zummo Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 728a294787b780130d8eb237518d4cac0afe760c tree fd9b4b87dc963397bb3e4e8ed003b565353eef29 parent c5c3e19225217536d90515c494e55e642a21e4fa author Alessandro Zummo Mon, 27 Mar 2006 01:16:40 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:51 -0800 [PATCH] RTC subsystem: proc interface Add the proc interface to the RTC subsystem. The first RTC driver which registers with the class will be accessible by /proc/driver/rtc . This is required for compatibility with the standard RTC driver and to avoid breaking any user space application which may erroneusly rely on this. Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5c3e19225217536d90515c494e55e642a21e4fa tree 64e0f52ca0056b3f3167e59dcfcb950d8e1f3249 parent f7f3682fb2f8bc8a9c912baeea15454416ca1972 author Alessandro Zummo Mon, 27 Mar 2006 01:16:39 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:51 -0800 [PATCH] RTC subsystem: sysfs interface This patch adds the sysfs interface to the RTC subsystem. Each RTC client will have his own entry under /sys/classs/rtc/rtcN . Within this entry some attributes are exported by the subsystem, like date and time. Signed-off-by: Alessandro Zummo Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7f3682fb2f8bc8a9c912baeea15454416ca1972 tree ed30990cd38d5e39f1552bacd7bcce669c644a9b parent 6fc7f10cee28c7fa190920fefda8c696d5bf3074 author Alessandro Zummo Mon, 27 Mar 2006 01:16:38 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:51 -0800 [PATCH] RTC subsystem: I2C driver ids This patch adds the I2C driver ids to i2c-id.h in preparation of the I2C direct probing method. This is kept separate so that it can be integrated to Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fc7f10cee28c7fa190920fefda8c696d5bf3074 tree 549dd6be7fb058bf404deae6f72cd01f9ec177b3 parent 0c86edc0d4970649f39748c4ce4f2895f728468f author Alessandro Zummo Mon, 27 Mar 2006 01:16:37 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:51 -0800 [PATCH] RTC subsystem: I2C cleanup This patch, completely optional, removes from drivers/i2c/chips all the drivers that are implemented in the new RTC subsystem. It should be noted that none of the current driver is actually integrated, i.e. usable without further patches. Signed-off-by: Alessandro Zummo Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c86edc0d4970649f39748c4ce4f2895f728468f tree d4a4b0a45922fff8add243d14c8377eb902aa80a parent 4079c39aaab65022f4875609d76e62669ef94c29 author Alessandro Zummo Mon, 27 Mar 2006 01:16:37 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:51 -0800 [PATCH] RTC subsystem: class Add the basic RTC subsystem infrastructure to the kernel. rtc/class.c - registration facilities for RTC drivers rtc/interface.c - kernel/rtc interface functions rtc/hctosys.c - snippet of code that copies hw clock to sw clock at bootup, if configured to do so. Signed-off-by: Alessandro Zummo Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4079c39aaab65022f4875609d76e62669ef94c29 tree dbbd70f34f2054e49593bc20d4012fab300fee71 parent 12b824fb15a37cdcdfa3e92c9e912a07cc6f7a24 author Richard Purdie Mon, 27 Mar 2006 01:16:36 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:50 -0800 [PATCH] RTC subsystem: ARM Integrator cleanup Fix some namespace conflicts between the RTC subsystem and the ARM Integrator time functions. Signed-off-by: Richard Purdie Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12b824fb15a37cdcdfa3e92c9e912a07cc6f7a24 tree 85fb2cc63219078022a98471531ec8286eb2272d parent c58411e95d7f5062dedd1a3064af4d359da1e633 author Alessandro Zummo Mon, 27 Mar 2006 01:16:35 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:50 -0800 [PATCH] RTC subsystem: ARM cleanup This patch removes from the ARM subsytem some of the rtc-related functions that have been included in the RTC subsystem. It also fixes some naming collisions. Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c58411e95d7f5062dedd1a3064af4d359da1e633 tree 8816ec8e20ae8b1d622b41bc1e7e74c2bbd1f34d parent d23ee8fe6e2176a9d4dbfdd18edfa1b5bc3c79a5 author Alessandro Zummo Mon, 27 Mar 2006 01:16:34 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:50 -0800 [PATCH] RTC Subsystem: library functions RTC and date/time related functions. Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d23ee8fe6e2176a9d4dbfdd18edfa1b5bc3c79a5 tree a3c00fd0f8db10e034eefdafafdd609b45c4d5c2 parent e041c683412d5bf44dc2b109053e3b837b71742d author Yoichi Yuasa Mon, 27 Mar 2006 01:16:33 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:50 -0800 [PATCH] mips: fixed collision of rtc function name Fix the collision of rtc function name. Signed-off-by: Yoichi Yuasa Cc: Alessandro Zummo Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e041c683412d5bf44dc2b109053e3b837b71742d tree 9d271066ef379da0c0fb3b8cb4137abd5d2ebba0 parent 76b81e2b0e2241accebcc68e126bc5ab958661b9 author Alan Stern Mon, 27 Mar 2006 01:16:30 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:50 -0800 [PATCH] Notifier chain update: API changes The kernel's implementation of notifier chains is unsafe. There is no protection against entries being added to or removed from a chain while the chain is in use. The issues were discussed in this thread: http://marc.theaimsgroup.com/?l=linux-kernel&m=113018709002036&w=2 We noticed that notifier chains in the kernel fall into two basic usage classes: "Blocking" chains are always called from a process context and the callout routines are allowed to sleep; "Atomic" chains can be called from an atomic context and the callout routines are not allowed to sleep. We decided to codify this distinction and make it part of the API. Therefore this set of patches introduces three new, parallel APIs: one for blocking notifiers, one for atomic notifiers, and one for "raw" notifiers (which is really just the old API under a new name). New kinds of data structures are used for the heads of the chains, and new routines are defined for registration, unregistration, and calling a chain. The three APIs are explained in include/linux/notifier.h and their implementation is in kernel/sys.c. With atomic and blocking chains, the implementation guarantees that the chain links will not be corrupted and that chain callers will not get messed up by entries being added or removed. For raw chains the implementation provides no guarantees at all; users of this API must provide their own protections. (The idea was that situations may come up where the assumptions of the atomic and blocking APIs are not appropriate, so it should be possible for users to handle these things in their own way.) There are some limitations, which should not be too hard to live with. For atomic/blocking chains, registration and unregistration must always be done in a process context since the chain is protected by a mutex/rwsem. Also, a callout routine for a non-raw chain must not try to register or unregister entries on its own chain. (This did happen in a couple of places and the code had to be changed to avoid it.) Since atomic chains may be called from within an NMI handler, they cannot use spinlocks for synchronization. Instead we use RCU. The overhead falls almost entirely in the unregister routine, which is okay since unregistration is much less frequent that calling a chain. Here is the list of chains that we adjusted and their classifications. None of them use the raw API, so for the moment it is only a placeholder. ATOMIC CHAINS ------------- arch/i386/kernel/traps.c: i386die_chain arch/ia64/kernel/traps.c: ia64die_chain arch/powerpc/kernel/traps.c: powerpc_die_chain arch/sparc64/kernel/traps.c: sparc64die_chain arch/x86_64/kernel/traps.c: die_chain drivers/char/ipmi/ipmi_si_intf.c: xaction_notifier_list kernel/panic.c: panic_notifier_list kernel/profile.c: task_free_notifier net/bluetooth/hci_core.c: hci_notifier net/ipv4/netfilter/ip_conntrack_core.c: ip_conntrack_chain net/ipv4/netfilter/ip_conntrack_core.c: ip_conntrack_expect_chain net/ipv6/addrconf.c: inet6addr_chain net/netfilter/nf_conntrack_core.c: nf_conntrack_chain net/netfilter/nf_conntrack_core.c: nf_conntrack_expect_chain net/netlink/af_netlink.c: netlink_chain BLOCKING CHAINS --------------- arch/powerpc/platforms/pseries/reconfig.c: pSeries_reconfig_chain arch/s390/kernel/process.c: idle_chain arch/x86_64/kernel/process.c idle_notifier drivers/base/memory.c: memory_chain drivers/cpufreq/cpufreq.c cpufreq_policy_notifier_list drivers/cpufreq/cpufreq.c cpufreq_transition_notifier_list drivers/macintosh/adb.c: adb_client_list drivers/macintosh/via-pmu.c sleep_notifier_list drivers/macintosh/via-pmu68k.c sleep_notifier_list drivers/macintosh/windfarm_core.c wf_client_list drivers/usb/core/notify.c usb_notifier_list drivers/video/fbmem.c fb_notifier_list kernel/cpu.c cpu_chain kernel/module.c module_notify_list kernel/profile.c munmap_notifier kernel/profile.c task_exit_notifier kernel/sys.c reboot_notifier_list net/core/dev.c netdev_chain net/decnet/dn_dev.c: dnaddr_chain net/ipv4/devinet.c: inetaddr_chain It's possible that some of these classifications are wrong. If they are, please let us know or submit a patch to fix them. Note that any chain that gets called very frequently should be atomic, because the rwsem read-locking used for blocking chains is very likely to incur cache misses on SMP systems. (However, if the chain's callout routines may sleep then the chain cannot be atomic.) The patch set was written by Alan Stern and Chandra Seetharaman, incorporating material written by Keith Owens and suggestions from Paul McKenney and Andrew Morton. [jes@sgi.com: restructure the notifier chain initialization macros] Signed-off-by: Alan Stern Signed-off-by: Chandra Seetharaman Signed-off-by: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76b81e2b0e2241accebcc68e126bc5ab958661b9 tree 0d99cdc838cc2e7a5c383a56ec707ac739739d2c parent 8f17d3a5049d32392b79925c73a0cf99ce6d5af0 author Ingo Molnar Mon, 27 Mar 2006 01:16:28 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:50 -0800 [PATCH] lightweight robust futexes updates 2 futex.h updates: - get rid of FUTEX_OWNER_PENDING - it's not used - reduce ROBUST_LIST_LIMIT to a saner value Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f17d3a5049d32392b79925c73a0cf99ce6d5af0 tree 3c2aa0cbe337684d353dd2cfb0c177b4ae15217c parent 8fdd6c6df7889dc89df3d9fe0f5bbe6733e39f48 author Ingo Molnar Mon, 27 Mar 2006 01:16:27 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:49 -0800 [PATCH] lightweight robust futexes updates - fix: initialize the robust list(s) to NULL in copy_process. - doc update - cleanup: rename _inuser to _inatomic - __user cleanups and other small cleanups Signed-off-by: Ingo Molnar Cc: Thomas Gleixner Cc: Arjan van de Ven Cc: Ulrich Drepper Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fdd6c6df7889dc89df3d9fe0f5bbe6733e39f48 tree e037a0eb7214818ad4ef177c618ef1e302c2aed9 parent dfd4e3ec246355274c9cf62c6b04a1ee6fa3caba author Ingo Molnar Mon, 27 Mar 2006 01:16:26 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:49 -0800 [PATCH] lightweight robust futexes: x86_64 x86_64: add the futex_atomic_cmpxchg_inuser() assembly implementation, and wire up the new syscalls. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Arjan van de Ven Acked-by: Ulrich Drepper Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfd4e3ec246355274c9cf62c6b04a1ee6fa3caba tree 9b745a5f4b5134c2a101280f6bbd1947c15800d8 parent 34f192c6527f20c47ccec239e7d51a27691b93fc author Ingo Molnar Mon, 27 Mar 2006 01:16:25 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:49 -0800 [PATCH] lightweight robust futexes: i386 i386: add the futex_atomic_cmpxchg_inuser() assembly implementation, and wire up the new syscalls. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Arjan van de Ven Acked-by: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34f192c6527f20c47ccec239e7d51a27691b93fc tree 6c80416cf6a170a193f829e414051cc618b15ee3 parent 2eec9ad91f71a3dbacece5c4fb5adc09fad53a96 author Ingo Molnar Mon, 27 Mar 2006 01:16:24 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:49 -0800 [PATCH] lightweight robust futexes: compat 32-bit syscall compatibility support. (This patch also moves all futex related compat functionality into kernel/futex_compat.c.) Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Arjan van de Ven Acked-by: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2eec9ad91f71a3dbacece5c4fb5adc09fad53a96 tree 4e4e9373c6d3e2b2d0d0e18d563fbf7d1faea52e parent 0771dfefc9e538f077d0b43b6dec19a5a67d0e70 author Ingo Molnar Mon, 27 Mar 2006 01:16:23 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:49 -0800 [PATCH] lightweight robust futexes: docs Add robust-futex documentation. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0771dfefc9e538f077d0b43b6dec19a5a67d0e70 tree 696267e69228b7406b337f9651dedc75055a589e parent e9056f13bfcdd054a0c3d730e4e096748d8a363a author Ingo Molnar Mon, 27 Mar 2006 01:16:22 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:49 -0800 [PATCH] lightweight robust futexes: core Add the core infrastructure for robust futexes: structure definitions, the new syscalls and the do_exit() based cleanup mechanism. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Arjan van de Ven Acked-by: Ulrich Drepper Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9056f13bfcdd054a0c3d730e4e096748d8a363a tree 876d70d99cb679f7c4cbf6609d6341cadfb5c57e parent 62ac285f3c701f0457a15fe01baa64a965c4f5f1 author Ingo Molnar Mon, 27 Mar 2006 01:16:21 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:49 -0800 [PATCH] lightweight robust futexes: arch defaults This patchset provides a new (written from scratch) implementation of robust futexes, called "lightweight robust futexes". We believe this new implementation is faster and simpler than the vma-based robust futex solutions presented before, and we'd like this patchset to be adopted in the upstream kernel. This is version 1 of the patchset. Background ---------- What are robust futexes? To answer that, we first need to understand what futexes are: normal futexes are special types of locks that in the noncontended case can be acquired/released from userspace without having to enter the kernel. A futex is in essence a user-space address, e.g. a 32-bit lock variable field. If userspace notices contention (the lock is already owned and someone else wants to grab it too) then the lock is marked with a value that says "there's a waiter pending", and the sys_futex(FUTEX_WAIT) syscall is used to wait for the other guy to release it. The kernel creates a 'futex queue' internally, so that it can later on match up the waiter with the waker - without them having to know about each other. When the owner thread releases the futex, it notices (via the variable value) that there were waiter(s) pending, and does the sys_futex(FUTEX_WAKE) syscall to wake them up. Once all waiters have taken and released the lock, the futex is again back to 'uncontended' state, and there's no in-kernel state associated with it. The kernel completely forgets that there ever was a futex at that address. This method makes futexes very lightweight and scalable. "Robustness" is about dealing with crashes while holding a lock: if a process exits prematurely while holding a pthread_mutex_t lock that is also shared with some other process (e.g. yum segfaults while holding a pthread_mutex_t, or yum is kill -9-ed), then waiters for that lock need to be notified that the last owner of the lock exited in some irregular way. To solve such types of problems, "robust mutex" userspace APIs were created: pthread_mutex_lock() returns an error value if the owner exits prematurely - and the new owner can decide whether the data protected by the lock can be recovered safely. There is a big conceptual problem with futex based mutexes though: it is the kernel that destroys the owner task (e.g. due to a SEGFAULT), but the kernel cannot help with the cleanup: if there is no 'futex queue' (and in most cases there is none, futexes being fast lightweight locks) then the kernel has no information to clean up after the held lock! Userspace has no chance to clean up after the lock either - userspace is the one that crashes, so it has no opportunity to clean up. Catch-22. In practice, when e.g. yum is kill -9-ed (or segfaults), a system reboot is needed to release that futex based lock. This is one of the leading bugreports against yum. To solve this problem, 'Robust Futex' patches were created and presented on lkml: the one written by Todd Kneisel and David Singleton is the most advanced at the moment. These patches all tried to extend the futex abstraction by registering futex-based locks in the kernel - and thus give the kernel a chance to clean up. E.g. in David Singleton's robust-futex-6.patch, there are 3 new syscall variants to sys_futex(): FUTEX_REGISTER, FUTEX_DEREGISTER and FUTEX_RECOVER. The kernel attaches such robust futexes to vmas (via vma->vm_file->f_mapping->robust_head), and at do_exit() time, all vmas are searched to see whether they have a robust_head set. Lots of work went into the vma-based robust-futex patch, and recently it has improved significantly, but unfortunately it still has two fundamental problems left: - they have quite complex locking and race scenarios. The vma-based patches had been pending for years, but they are still not completely reliable. - they have to scan _every_ vma at sys_exit() time, per thread! The second disadvantage is a real killer: pthread_exit() takes around 1 microsecond on Linux, but with thousands (or tens of thousands) of vmas every pthread_exit() takes a millisecond or more, also totally destroying the CPU's L1 and L2 caches! This is very much noticeable even for normal process sys_exit_group() calls: the kernel has to do the vma scanning unconditionally! (this is because the kernel has no knowledge about how many robust futexes there are to be cleaned up, because a robust futex might have been registered in another task, and the futex variable might have been simply mmap()-ed into this process's address space). This huge overhead forced the creation of CONFIG_FUTEX_ROBUST, but worse than that: the overhead makes robust futexes impractical for any type of generic Linux distribution. So it became clear to us, something had to be done. Last week, when Thomas Gleixner tried to fix up the vma-based robust futex patch in the -rt tree, he found a handful of new races and we were talking about it and were analyzing the situation. At that point a fundamentally different solution occured to me. This patchset (written in the past couple of days) implements that new solution. Be warned though - the patchset does things we normally dont do in Linux, so some might find the approach disturbing. Parental advice recommended ;-) New approach to robust futexes ------------------------------ At the heart of this new approach there is a per-thread private list of robust locks that userspace is holding (maintained by glibc) - which userspace list is registered with the kernel via a new syscall [this registration happens at most once per thread lifetime]. At do_exit() time, the kernel checks this user-space list: are there any robust futex locks to be cleaned up? In the common case, at do_exit() time, there is no list registered, so the cost of robust futexes is just a simple current->robust_list != NULL comparison. If the thread has registered a list, then normally the list is empty. If the thread/process crashed or terminated in some incorrect way then the list might be non-empty: in this case the kernel carefully walks the list [not trusting it], and marks all locks that are owned by this thread with the FUTEX_OWNER_DEAD bit, and wakes up one waiter (if any). The list is guaranteed to be private and per-thread, so it's lockless. There is one race possible though: since adding to and removing from the list is done after the futex is acquired by glibc, there is a few instructions window for the thread (or process) to die there, leaving the futex hung. To protect against this possibility, userspace (glibc) also maintains a simple per-thread 'list_op_pending' field, to allow the kernel to clean up if the thread dies after acquiring the lock, but just before it could have added itself to the list. Glibc sets this list_op_pending field before it tries to acquire the futex, and clears it after the list-add (or list-remove) has finished. That's all that is needed - all the rest of robust-futex cleanup is done in userspace [just like with the previous patches]. Ulrich Drepper has implemented the necessary glibc support for this new mechanism, which fully enables robust mutexes. (Ulrich plans to commit these changes to glibc-HEAD later today.) Key differences of this userspace-list based approach, compared to the vma based method: - it's much, much faster: at thread exit time, there's no need to loop over every vma (!), which the VM-based method has to do. Only a very simple 'is the list empty' op is done. - no VM changes are needed - 'struct address_space' is left alone. - no registration of individual locks is needed: robust mutexes dont need any extra per-lock syscalls. Robust mutexes thus become a very lightweight primitive - so they dont force the application designer to do a hard choice between performance and robustness - robust mutexes are just as fast. - no per-lock kernel allocation happens. - no resource limits are needed. - no kernel-space recovery call (FUTEX_RECOVER) is needed. - the implementation and the locking is "obvious", and there are no interactions with the VM. Performance ----------- I have benchmarked the time needed for the kernel to process a list of 1 million (!) held locks, using the new method [on a 2GHz CPU]: - with FUTEX_WAIT set [contended mutex]: 130 msecs - without FUTEX_WAIT set [uncontended mutex]: 30 msecs I have also measured an approach where glibc does the lock notification [which it currently does for !pshared robust mutexes], and that took 256 msecs - clearly slower, due to the 1 million FUTEX_WAKE syscalls userspace had to do. (1 million held locks are unheard of - we expect at most a handful of locks to be held at a time. Nevertheless it's nice to know that this approach scales nicely.) Implementation details ---------------------- The patch adds two new syscalls: one to register the userspace list, and one to query the registered list pointer: asmlinkage long sys_set_robust_list(struct robust_list_head __user *head, size_t len); asmlinkage long sys_get_robust_list(int pid, struct robust_list_head __user **head_ptr, size_t __user *len_ptr); List registration is very fast: the pointer is simply stored in current->robust_list. [Note that in the future, if robust futexes become widespread, we could extend sys_clone() to register a robust-list head for new threads, without the need of another syscall.] So there is virtually zero overhead for tasks not using robust futexes, and even for robust futex users, there is only one extra syscall per thread lifetime, and the cleanup operation, if it happens, is fast and straightforward. The kernel doesnt have any internal distinction between robust and normal futexes. If a futex is found to be held at exit time, the kernel sets the highest bit of the futex word: #define FUTEX_OWNER_DIED 0x40000000 and wakes up the next futex waiter (if any). User-space does the rest of the cleanup. Otherwise, robust futexes are acquired by glibc by putting the TID into the futex field atomically. Waiters set the FUTEX_WAITERS bit: #define FUTEX_WAITERS 0x80000000 and the remaining bits are for the TID. Testing, architecture support ----------------------------- I've tested the new syscalls on x86 and x86_64, and have made sure the parsing of the userspace list is robust [ ;-) ] even if the list is deliberately corrupted. i386 and x86_64 syscalls are wired up at the moment, and Ulrich has tested the new glibc code (on x86_64 and i386), and it works for his robust-mutex testcases. All other architectures should build just fine too - but they wont have the new syscalls yet. Architectures need to implement the new futex_atomic_cmpxchg_inuser() inline function before writing up the syscalls (that function returns -ENOSYS right now). This patch: Add placeholder futex_atomic_cmpxchg_inuser() implementations to every architecture that supports futexes. It returns -ENOSYS. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Arjan van de Ven Acked-by: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62ac285f3c701f0457a15fe01baa64a965c4f5f1 tree e65539e7824ca902c42723216f5725711c9968ac parent 213b63b76a823e622d87df623aaec1119acaeaa0 author Ingo Molnar Mon, 27 Mar 2006 01:16:13 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:49 -0800 [PATCH] mips: add ptr_to_compat() Add ptr_to_compat() - needed by the new robust futex code. Signed-off-by: Ingo Molnar Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 213b63b76a823e622d87df623aaec1119acaeaa0 tree bcb1830a9a4c2501ed9f81424124a71536f95497 parent f267fa9f5b377b5cecdb2baf332fec08bb71246d author Ingo Molnar Mon, 27 Mar 2006 01:16:12 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:48 -0800 [PATCH] parisc: add ptr_to_compat() Add ptr_to_compat() to parisc - needed by the new robust futex code. Signed-off-by: Ingo Molnar Cc: Kyle McMartin Cc: Grant Grundler Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f267fa9f5b377b5cecdb2baf332fec08bb71246d tree 6e1d51ecaa4b7c990b835e382acce8409607dbbd parent 66e863acd7f2fb02fef709d5f0ab069445d4a58c author Ingo Molnar Mon, 27 Mar 2006 01:16:09 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:48 -0800 [PATCH] s390: add ptr_to_compat() Add ptr_to_compat() to s390 - needed by the new robust-futex code. Signed-off-by: Ingo Molnar Cc: Heiko Carstens Cc: Martin Schwidefsky untested. CHECKME: am i right about the 0x7fffffffUL masking? Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66e863acd7f2fb02fef709d5f0ab069445d4a58c tree fdea0fc71150b579d96f385efd25a87e613bbab4 parent 22a9835c350782a5c3257343713932af3ac92ee0 author Ingo Molnar Mon, 27 Mar 2006 01:16:06 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:48 -0800 [PATCH] ia64: add ptr_to_compat() Add ptr_to_compat() to ia64 - needed by the robust-futex code. Signed-off-by: Ingo Molnar Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22a9835c350782a5c3257343713932af3ac92ee0 tree 9688e99426e8aa85a468cc724ffee32c6a8abcad parent 95144c788dc01b6a0ff2c9c2222e37ffdab358b8 author Dave Hansen Mon, 27 Mar 2006 01:16:04 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:48 -0800 [PATCH] unify PFN_* macros Just about every architecture defines some macros to do operations on pfns. They're all virtually identical. This patch consolidates all of them. One minor glitch is that at least i386 uses them in a very skeletal header file. To keep away from #include dependency hell, I stuck the new definitions in a new, isolated header. Of all of the implementations, sh64 is the only one that varied by a bit. It used some masks to ensure that any sign-extension got ripped away before the arithmetic is done. This has been posted to that sh64 maintainers and the development list. Compiles on x86, x86_64, ia64 and ppc64. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95144c788dc01b6a0ff2c9c2222e37ffdab358b8 tree 9f7f186575bb717de39cedaf42bf02a94c11b664 parent ae0f15fb91274e67d78836d38c99ec363df33073 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:16:02 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:48 -0800 [PATCH] uninline zone helpers Helper functions for for_each_online_pgdat/for_each_zone look too big to be inlined. Speed of these helper macro itself is not very important. (inner loops are tend to do more work than this) This patch make helper function to be out-of-lined. inline out-of-line .text 005c0680 005bf6a0 005c0680 - 005bf6a0 = FE0 = 4Kbytes. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae0f15fb91274e67d78836d38c99ec363df33073 tree bfaa065faf772c42e1875c9e5f4b000cf4b1d241 parent 3571761fe49d960bb720c2308ffb9401f0a5e161 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:16:01 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:48 -0800 [PATCH] for_each_online_pgdat: remove pgdat_list By using for_each_online_pgdat(), pgdat_list is not necessary now. This patch removes it. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3571761fe49d960bb720c2308ffb9401f0a5e161 tree 2b100cedf9f18ec59f0aa38e8c0f6b25bec9dfab parent ec936fc563715a9e2b2e363eb060655b49529325 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:16:00 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:48 -0800 [PATCH] for_each_online_pgdat: remove sorting pgdat Because pgdat_list was linked to pgdat_list in *reverse* order, (By default) some of arch has to sort it by themselves. for_each_pgdat has gone..for_each_online_pgdat() uses node_online_map, which doesn't need to be sorted. This patch removes codes for sorting pgdat. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec936fc563715a9e2b2e363eb060655b49529325 tree 72e77aefeeda3c6ff396f080a5c6a82f25d52bf0 parent 679bc9fbb508a0aac9539b2de747eb5849feb428 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:59 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:48 -0800 [PATCH] for_each_online_pgdat: renaming for_each_pgdat Replace for_each_pgdat() with for_each_online_pgdat(). Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 679bc9fbb508a0aac9539b2de747eb5849feb428 tree 350b9d7d01eeb7e2401b5ade156ead1a635a4bba parent 8357f8695d58b50fbf2bd507b4b0fc2cd1e43bd6 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:58 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:47 -0800 [PATCH] for_each_online_pgdat: for_each_bootmem Add a list_head to bootmem_data_t and make bootmems use it. bootmem list is sorted by node_boot_start. Only nodes against which init_bootmem() is called are linked to the list. (i386 allocates bootmem only from one node(0) not from all online nodes.) A summary: 1. for_each_online_pgdat() traverses all *online* nodes. 2. alloc_bootmem() allocates memory only from initialized-for-bootmem nodes. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8357f8695d58b50fbf2bd507b4b0fc2cd1e43bd6 tree 8f7326f570ee80d129add7356c7b5c44fb995447 parent a0140c1d85637ee5f4ea7c78f066e3611a6a79dc author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:57 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:47 -0800 [PATCH] define for_each_online_pgdat This patch defines for_each_online_pgdat() as a replacement of for_each_pgdat() Now, online nodes are managed by node_online_map. But for_each_pgdat() uses pgdat_link to iterate over all nodes(pgdat). This means management structure for online pgdat is duplicated. I think using node_online_map for for_each_pgdat() is simple and sane rather ather than pgdat_link. New macro is named as for_each_online_pgdat(). Following patch will fix callers of for_each_pgdat(). The bootmem allocater uses for_each_pgdat() before pgdat initialization. I don't think it's sane. Following patch will fix it. Signed-off-by: Yasunori Goto Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0140c1d85637ee5f4ea7c78f066e3611a6a79dc tree 7a52892e57ff7a97a3aabf920891b68ca8bf578a parent 0ecd702bcb924d5fb7f687e09986f688336ac896 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:55 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:47 -0800 [PATCH] remove zone_mem_map This patch removes zone_mem_map. pfn_to_page uses pgdat, page_to_pfn uses zone. page_to_pfn can use pgdat instead of zone, which is only one user of zone_mem_map. By modifing it, we can remove zone_mem_map. Signed-off-by: KAMEZAWA Hiroyuki Cc: Dave Hansen Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ecd702bcb924d5fb7f687e09986f688336ac896 tree 50b9caabc044fb9780cc2a794aabb9d3a7fbf029 parent 655a0443470a73d5dc36e974a241e8db59bb1ccb author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:53 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:47 -0800 [PATCH] unify pfn_to_page: ia64 pfn_to_page ia64 has special config CONFIG_VIRTUAL_MEM_MAP. CONFIG_DISCONTIGMEM=y && CONFIG_VIRTUAL_MEM_MAP!=y is bug ? Signed-off-by: KAMEZAWA Hiroyuki Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 655a0443470a73d5dc36e974a241e8db59bb1ccb tree 1d6926f0bf49b48e02d106c6afb779b6502721fc parent e6009f1ba5f6ff0fc8723254ce89ef9c979cc370 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:52 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:47 -0800 [PATCH] unify pfn_to_page: xtensa pfn_to_page xtensa can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6009f1ba5f6ff0fc8723254ce89ef9c979cc370 tree 2a17a8a51325024afcab52e7b429cc3eeba4e8a7 parent 9828c185db7ab41426c03c5539b1759ccf3c28ed author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:52 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:47 -0800 [PATCH] unify pfn_to_page: v850 pfn_to_page v850 can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9828c185db7ab41426c03c5539b1759ccf3c28ed tree a4652ddceed256c316fab5f05def7fe72e704d8a parent 064b2a0762ef7dca5f7068a90b260a309ffe2002 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:50 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:46 -0800 [PATCH] unify pfn_to_page: uml pfn_to_page UML can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 064b2a0762ef7dca5f7068a90b260a309ffe2002 tree 15a87ea5b31c83b2df668b5b51690328990820d8 parent 309d34bbe521940de9098d306a58a1797a42d990 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:48 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:46 -0800 [PATCH] unify pfn_to_page: sparc pfn_to_page sparc can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 309d34bbe521940de9098d306a58a1797a42d990 tree 56074c86b0b0049e2cc82951afb909a222d099a5 parent 104b8deaa5c0144cccfc7d914413ff80c7176af1 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:47 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:46 -0800 [PATCH] unify pfn_to_page: sh64 pfn_to_page sh64 can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Paul Mundt Cc: Richard Curnow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 104b8deaa5c0144cccfc7d914413ff80c7176af1 tree 0897001525bd74a00fad02ab57f0bcd120ed3afc parent aed630434c4fc0bca8ed62f6730d44ba00bdf595 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:46 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:46 -0800 [PATCH] unify pfn_to_page: sh pfn_to_page sh can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Paul Mundt Cc: Kazumoto Kojima Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aed630434c4fc0bca8ed62f6730d44ba00bdf595 tree cf90afd6871a3245517cceda3e69671929248348 parent f68d4c996d3062c8fe64e3ed36d4c83d23288ad8 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:45 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:46 -0800 [PATCH] unify pfn_to_page: s390 pfn_to_page s390 can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Heiko Carstens Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f68d4c996d3062c8fe64e3ed36d4c83d23288ad8 tree 9ec058869422aa97040c81ced46c41e6de97cc79 parent 0d833b41092df2f4a65cbdb0a0a947c35cdd2f9d author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:44 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:46 -0800 [PATCH] unify pfn_to_page: ppc pfn_to_page PPC can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d833b41092df2f4a65cbdb0a0a947c35cdd2f9d tree 4a5369cb510411761ce50c789f18bf7b6aa7d867 parent a02036e796e5046fe0463b9a092e9b617c525866 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:43 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:46 -0800 [PATCH] unify pfn_to_page: parisc pfn_to_page PARISC can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a02036e796e5046fe0463b9a092e9b617c525866 tree 55a60acea1b1b5ea79375de0f467d8148c04ef05 parent 7126cffe74f0dbcd015aaabab01069f422526535 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:43 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:45 -0800 [PATCH] unify pfn_to_page: mips pfn_to_page MIPS can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7126cffe74f0dbcd015aaabab01069f422526535 tree 2afae8c0ad021ac99b21b38c79988d5e6a208da1 parent dd6cc7631cf2a63b3d6c32619054e017479e72ca author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:42 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:45 -0800 [PATCH] unify pfn_to_page: m32r pfn_to_page m32r can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd6cc7631cf2a63b3d6c32619054e017479e72ca tree f32f97c8dc1afe7236a802b914448f9edd863782 parent 5cdac7ca1b727184b1af21effaffcb9e2cd535c2 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:41 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:45 -0800 [PATCH] unify pfn_to_page: h8300 pfn_to_page H8300 can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5cdac7ca1b727184b1af21effaffcb9e2cd535c2 tree 4b148f7b09809f377cb896b24648f978cddf63bb parent bb872f787a9b6a40a4aa206175e768137f595d9c author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:40 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:45 -0800 [PATCH] unify pfn_to_page: FRV pfn_to_page FRV can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb872f787a9b6a40a4aa206175e768137f595d9c tree 85d03350f1d2a48e0526e288ea5dd01c5d42282c parent 89fccaf2c4a4a8318153e3460a92284dadeb8f71 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:39 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:45 -0800 [PATCH] unify pfn_to_page: cris pfn_to_page cris can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89fccaf2c4a4a8318153e3460a92284dadeb8f71 tree bc9ddec62622f13711089c86e33c3dbe79d0d3f0 parent 7eb98a2f3b605d8a11434d855b58d828393ea533 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:38 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] unify pfn_to_page: arm26 pfn_to_page arm26 can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7eb98a2f3b605d8a11434d855b58d828393ea533 tree 4643bb90d8fe3e48ca8d042286ca3d55b8560d45 parent 1c05dda2b6f025267ab79a267e0a84628a3760e1 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:37 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] unify pfn_to_page: arm pfn_to_page ARM can use generic funcs. PFN_TO_NID, LOCAL_MAP_NR are defined by sub-archs. Signed-off-by: KAMEZAWA Hirotuki Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c05dda2b6f025267ab79a267e0a84628a3760e1 tree d392ca5462102bdbf8504263e22b699ae2e6a3d3 parent 659e35051b165fb40f1160190c2d23f3d5c319d5 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:36 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] unify pfn_to_page: alpha pfn_to_page Alpha can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 659e35051b165fb40f1160190c2d23f3d5c319d5 tree 2c102902c0c3be8b5bc005f11cf758203e0407f7 parent dc8ecb43701a78bd3c38e7fed1d1c76840579450 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:35 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] unify pfn_to_page: powerpc pfn_to_page PowerPC can use generic ones. Signed-off-by: KAMEZAWA Hiroyuki Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc8ecb43701a78bd3c38e7fed1d1c76840579450 tree 4e9056ec8a86fc321384da15ba7a05bfda32e034 parent ad658b385e6308066f9084a7ea01305b223cd3a0 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:34 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] unify pfn_to_page: x86_64 pfn_to_page x86_64 can use generic funcs. For DISCONTIGMEM, CONFIG_OUT_OF_LINE_PFN_TO_PAGE is selected. Signed-off-by: KAMEZAWA Hiroyuki Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad658b385e6308066f9084a7ea01305b223cd3a0 tree f8f84bf79ade6e9e51dbd18434616e7f89b5c977 parent a117e66ed45ac0569c039ea60bd7a9a61e031858 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:33 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] unify pfn_to_page: i386 pfn_to_page i386 can use generic funcs. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a117e66ed45ac0569c039ea60bd7a9a61e031858 tree 292367ab930f83c418c34d4c46f95717e5e6394e parent b06be912a3ad68c69dba0ed6e92723140020e392 author KAMEZAWA Hiroyuki Mon, 27 Mar 2006 01:15:25 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] unify pfn_to_page: generic functions There are 3 memory models, FLATMEM, DISCONTIGMEM, SPARSEMEM. Each arch has its own page_to_pfn(), pfn_to_page() for each models. But most of them can use the same arithmetic. This patch adds asm-generic/memory_model.h, which includes generic page_to_pfn(), pfn_to_page() definitions for each memory model. When CONFIG_OUT_OF_LINE_PFN_TO_PAGE=y, out-of-line functions are used instead of macro. This is enabled by some archs and reduces text size. Signed-off-by: KAMEZAWA Hiroyuki Cc: Hugh Dickins Cc: Andi Kleen Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Russell King Cc: Ian Molton Cc: Mikael Starvik Cc: David Howells Cc: Yoshinori Sato Cc: Hirokazu Takata Cc: Ralf Baechle Cc: Kyle McMartin Cc: Heiko Carstens Cc: Martin Schwidefsky Cc: Paul Mundt Cc: Kazumoto Kojima Cc: Richard Curnow Cc: William Lee Irwin III Cc: "David S. Miller" Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Cc: Miles Bader Cc: Chris Zankel Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b06be912a3ad68c69dba0ed6e92723140020e392 tree 4de1f2c2804ae3230e14e94d3f33a14467889233 parent 0806903316d516a3b3851c51cea5c71724d9051d author Shaohua Li Mon, 27 Mar 2006 01:15:24 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] x86: don't use cpuid.2 to determine cache info if cpuid.4 is supported Don't use cpuid.2 to determine cache info if cpuid.4 is supported. The exception is P4 trace cache. We always use cpuid.2 to get trace cache under P4. Signed-off-by: Shaohua Li Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0806903316d516a3b3851c51cea5c71724d9051d tree 05b453747a68a32bfd1d668a53963a4bb0bc36d1 parent 1e9f28fa1eb9773bf65bae08288c6a0a38eef4a7 author Siddha, Suresh B Mon, 27 Mar 2006 01:15:23 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:44 -0800 [PATCH] sched: fix group power for allnodes_domains Current sched groups power calculation for allnodes_domains is wrong. We should really be using cumulative power of the physical packages in that group (similar to the calculation in node_domains) Signed-off-by: Suresh Siddha Cc: Ingo Molnar Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e9f28fa1eb9773bf65bae08288c6a0a38eef4a7 tree ccfa4927ebc7a8f663f9ac9e7789a713a33253ff parent 77e4bfbcf071f795b54862455dce8902b3fc29c2 author Siddha, Suresh B Mon, 27 Mar 2006 01:15:22 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:43 -0800 [PATCH] sched: new sched domain for representing multi-core Add a new sched domain for representing multi-core with shared caches between cores. Consider a dual package system, each package containing two cores and with last level cache shared between cores with in a package. If there are two runnable processes, with this appended patch those two processes will be scheduled on different packages. On such systems, with this patch we have observed 8% perf improvement with specJBB(2 warehouse) benchmark and 35% improvement with CFP2000 rate(with 2 users). This new domain will come into play only on multi-core systems with shared caches. On other systems, this sched domain will be removed by domain degeneration code. This new domain can be also used for implementing power savings policy (see OLS 2005 CMP kernel scheduler paper for more details.. I will post another patch for power savings policy soon) Most of the arch/* file changes are for cpu_coregroup_map() implementation. Signed-off-by: Suresh Siddha Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77e4bfbcf071f795b54862455dce8902b3fc29c2 tree cde3cb39a72de0bb8b42c1c5752f25b3b16bf5ee parent 013d3868143387be99bb0373d49452eaa3c55d41 author Andreas Mohr Mon, 27 Mar 2006 01:15:20 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:43 -0800 [PATCH] Small schedule() optimization small schedule() microoptimization. Signed-off-by: Andreas Mohr Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 013d3868143387be99bb0373d49452eaa3c55d41 tree 584f39a6d76ccfac6b77d2480b9b43b556547f3d parent 491214716755894986b99e0cf0a08b830d244577 author Martin Andersson Mon, 27 Mar 2006 01:15:18 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:43 -0800 [PATCH] sched: fix task interactivity calculation Is a truncation error in kernel/sched.c triggered when the nice value is negative. The affected code is used in the TASK_INTERACTIVE macro. The code is: #define SCALE(v1,v1_max,v2_max) \ (v1) * (v2_max) / (v1_max) which is used in this way: SCALE(TASK_NICE(p), 40, MAX_BONUS) Comments in the code says: * This part scales the interactivity limit depending on niceness. * * We scale it linearly, offset by the INTERACTIVE_DELTA delta. * Here are a few examples of different nice levels: * * TASK_INTERACTIVE(-20): [1,1,1,1,1,1,1,1,1,0,0] * TASK_INTERACTIVE(-10): [1,1,1,1,1,1,1,0,0,0,0] * TASK_INTERACTIVE( 0): [1,1,1,1,0,0,0,0,0,0,0] * TASK_INTERACTIVE( 10): [1,1,0,0,0,0,0,0,0,0,0] * TASK_INTERACTIVE( 19): [0,0,0,0,0,0,0,0,0,0,0] * * (the X axis represents the possible -5 ... 0 ... +5 dynamic * priority range a task can explore, a value of '1' means the * task is rated interactive.) However, the current code does not scale it linearly and the result differs from the given examples. If the mathematical function "floor" is used when the nice value is negative instead of the truncation one gets when using integer division, the result conforms to the documentation. Output of TASK_INTERACTIVE when using the kernel code: nice dynamic priorities -20 1 1 1 1 1 1 1 1 1 0 0 -19 1 1 1 1 1 1 1 1 0 0 0 -18 1 1 1 1 1 1 1 1 0 0 0 -17 1 1 1 1 1 1 1 1 0 0 0 -16 1 1 1 1 1 1 1 1 0 0 0 -15 1 1 1 1 1 1 1 0 0 0 0 -14 1 1 1 1 1 1 1 0 0 0 0 -13 1 1 1 1 1 1 1 0 0 0 0 -12 1 1 1 1 1 1 1 0 0 0 0 -11 1 1 1 1 1 1 0 0 0 0 0 -10 1 1 1 1 1 1 0 0 0 0 0 -9 1 1 1 1 1 1 0 0 0 0 0 -8 1 1 1 1 1 1 0 0 0 0 0 -7 1 1 1 1 1 0 0 0 0 0 0 -6 1 1 1 1 1 0 0 0 0 0 0 -5 1 1 1 1 1 0 0 0 0 0 0 -4 1 1 1 1 1 0 0 0 0 0 0 -3 1 1 1 1 0 0 0 0 0 0 0 -2 1 1 1 1 0 0 0 0 0 0 0 -1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 2 1 1 1 1 0 0 0 0 0 0 0 3 1 1 1 1 0 0 0 0 0 0 0 4 1 1 1 0 0 0 0 0 0 0 0 5 1 1 1 0 0 0 0 0 0 0 0 6 1 1 1 0 0 0 0 0 0 0 0 7 1 1 1 0 0 0 0 0 0 0 0 8 1 1 0 0 0 0 0 0 0 0 0 9 1 1 0 0 0 0 0 0 0 0 0 10 1 1 0 0 0 0 0 0 0 0 0 11 1 1 0 0 0 0 0 0 0 0 0 12 1 0 0 0 0 0 0 0 0 0 0 13 1 0 0 0 0 0 0 0 0 0 0 14 1 0 0 0 0 0 0 0 0 0 0 15 1 0 0 0 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 17 0 0 0 0 0 0 0 0 0 0 0 18 0 0 0 0 0 0 0 0 0 0 0 19 0 0 0 0 0 0 0 0 0 0 0 Output of TASK_INTERACTIVE when using "floor" nice dynamic priorities -20 1 1 1 1 1 1 1 1 1 0 0 -19 1 1 1 1 1 1 1 1 1 0 0 -18 1 1 1 1 1 1 1 1 1 0 0 -17 1 1 1 1 1 1 1 1 1 0 0 -16 1 1 1 1 1 1 1 1 0 0 0 -15 1 1 1 1 1 1 1 1 0 0 0 -14 1 1 1 1 1 1 1 1 0 0 0 -13 1 1 1 1 1 1 1 1 0 0 0 -12 1 1 1 1 1 1 1 0 0 0 0 -11 1 1 1 1 1 1 1 0 0 0 0 -10 1 1 1 1 1 1 1 0 0 0 0 -9 1 1 1 1 1 1 1 0 0 0 0 -8 1 1 1 1 1 1 0 0 0 0 0 -7 1 1 1 1 1 1 0 0 0 0 0 -6 1 1 1 1 1 1 0 0 0 0 0 -5 1 1 1 1 1 1 0 0 0 0 0 -4 1 1 1 1 1 0 0 0 0 0 0 -3 1 1 1 1 1 0 0 0 0 0 0 -2 1 1 1 1 1 0 0 0 0 0 0 -1 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 2 1 1 1 1 0 0 0 0 0 0 0 3 1 1 1 1 0 0 0 0 0 0 0 4 1 1 1 0 0 0 0 0 0 0 0 5 1 1 1 0 0 0 0 0 0 0 0 6 1 1 1 0 0 0 0 0 0 0 0 7 1 1 1 0 0 0 0 0 0 0 0 8 1 1 0 0 0 0 0 0 0 0 0 9 1 1 0 0 0 0 0 0 0 0 0 10 1 1 0 0 0 0 0 0 0 0 0 11 1 1 0 0 0 0 0 0 0 0 0 12 1 0 0 0 0 0 0 0 0 0 0 13 1 0 0 0 0 0 0 0 0 0 0 14 1 0 0 0 0 0 0 0 0 0 0 15 1 0 0 0 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 17 0 0 0 0 0 0 0 0 0 0 0 18 0 0 0 0 0 0 0 0 0 0 0 19 0 0 0 0 0 0 0 0 0 0 0 Signed-off-by: Martin Andersson Acked-by: Ingo Molnar Cc: Nick Piggin Cc: Mike Galbraith Cc: Peter Williams Cc: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 491214716755894986b99e0cf0a08b830d244577 tree fb23b729de181f6ea13bc9e5f4f778ca8a0b0e4a parent ad1b5229def92b71631a927895b034ceec06c991 author NeilBrown Mon, 27 Mar 2006 01:15:12 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:43 -0800 [PATCH] knfsd: Update rpc-cache.txt to match recent changes Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad1b5229def92b71631a927895b034ceec06c991 tree b3e1b365a2ce91c72d7f07c6271efc3c6c8ff839 parent 74cae61ab45f19a3e8c4d9f53c0e94df129c7915 author NeilBrown Mon, 27 Mar 2006 01:15:11 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:43 -0800 [PATCH] knfsd: Tidy up unix_domain_find We shouldn't really compare &new->h with anything when new ==NULL, and gather three different if statements that all start if (rv ... into one large if. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74cae61ab45f19a3e8c4d9f53c0e94df129c7915 tree 73ad8b7c562c5e790777b4c93352f739b521f382 parent baab935ff3bdac20c558809da0d8e8f761840219 author Adrian Bunk Mon, 27 Mar 2006 01:15:10 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:43 -0800 [PATCH] fs/nfsd/export.c,net/sunrpc/cache.c: make needlessly global code static We can now make some code static. Signed-off-by: Adrian Bunk Cc: Neil Brown Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit baab935ff3bdac20c558809da0d8e8f761840219 tree a22c3189505fe8e7ab3820c988ffd771c0b64fa6 parent ebd0cb1af3be2729cc1f574681dfba01fcf458d9 author NeilBrown Mon, 27 Mar 2006 01:15:09 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:43 -0800 [PATCH] knfsd: Convert sunrpc_cache to use krefs .. it makes some of the code nicer. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebd0cb1af3be2729cc1f574681dfba01fcf458d9 tree ed97a94406ed973573576fca585e1c87c15a4d05 parent 4d90452cb23b08a9a9dd001010f0ee6b1ee83a45 author NeilBrown Mon, 27 Mar 2006 01:15:08 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:43 -0800 [PATCH] knfsd: Unexport cache_fresh and fix a small race Cache_fresh is now only used in cache.c, so unexport it. Part of cache_fresh (setting CACHE_VALID) should really be done under the lock, while part (calling cache_revisit_request etc) must be done outside the lock. So we split it up appropriately. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d90452cb23b08a9a9dd001010f0ee6b1ee83a45 tree b48e804c037e6c4fc4afc95709acfb4c7b90ef97 parent 4013edea9a0b6cdcb1fdf5d4011e47e068fd6efb author NeilBrown Mon, 27 Mar 2006 01:15:07 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:42 -0800 [PATCH] knfsd: Remove DefineCacheLookup This has been replaced by more traditional code. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4013edea9a0b6cdcb1fdf5d4011e47e068fd6efb tree 19ea135919b899ba11552c155c4b403ed38204da parent f9ecc921b5b5e135050e7f22fef873c249aee3fc author NeilBrown Mon, 27 Mar 2006 01:15:07 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:42 -0800 [PATCH] knfsd: An assortment of little fixes to the sunrpc cache code - in cache_check, h must be non-NULL as it has been de-referenced, so don't bother checking for NULL. - When a cache-item is updated, we need to call cache_revisit_request to see if there is a pending request waiting for that item. We were using a transition to CACHE_VALID to see if that was needed, however that is wrong as an expired entry will still be marked 'valid' (as the data is valid and will need to be released). So instead use an off transition for CACHE_PENDING which is exactly the right thing to test. - Add a little bit more debugging info. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9ecc921b5b5e135050e7f22fef873c249aee3fc tree 2a67fd2bb053e14062846ef54cc7037fbeb6fbe1 parent 17f834b6d2e0b102ab53d73ba44d5dbb34c38f90 author NeilBrown Mon, 27 Mar 2006 01:15:06 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:42 -0800 [PATCH] knfsd: Use new cache code for name/id lookup caches Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17f834b6d2e0b102ab53d73ba44d5dbb34c38f90 tree 3e4cc522f48756835887bfff60450197f69a17d7 parent d4d11ea9d6d6fcfaa66fbd10fd4a8d43aa575597 author NeilBrown Mon, 27 Mar 2006 01:15:05 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:42 -0800 [PATCH] knfsd: Use new cache code for rsc cache Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4d11ea9d6d6fcfaa66fbd10fd4a8d43aa575597 tree 88781da348fdfc65ef76fd078a835e585f360a07 parent 8d270f7f4cdab792d7263926ac59f747258735ee author NeilBrown Mon, 27 Mar 2006 01:15:04 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:42 -0800 [PATCH] knfsd: Use new sunrpc cache for rsi cache Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d270f7f4cdab792d7263926ac59f747258735ee tree 14c862b05ddbbf406eb2cd13a975d6af272a9d6d parent 4f7774c3a0558526c0faaf525581f2029480b313 author NeilBrown Mon, 27 Mar 2006 01:15:04 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:42 -0800 [PATCH] knfsd: Use new cache_lookup for svc_expkey cache Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f7774c3a0558526c0faaf525581f2029480b313 tree dd72803431a9aaceb532e5a2cf491dd3240bfb91 parent 1a9917c2da5b81fa536e560be0c431435e2c965b author NeilBrown Mon, 27 Mar 2006 01:15:03 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:42 -0800 [PATCH] knfsd: Use new cache_lookup for svc_export Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a9917c2da5b81fa536e560be0c431435e2c965b tree 2dbbaeb55277887122409a4c396db2eba750fd59 parent 15a5f6bd23eddd5b3be80366f364be04fb1c1c99 author NeilBrown Mon, 27 Mar 2006 01:15:02 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:42 -0800 [PATCH] knfsd: Convert ip_map cache to use the new lookup routine Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15a5f6bd23eddd5b3be80366f364be04fb1c1c99 tree e3c4fa8eb9e8b21ebca33370b7a93eab11662a5d parent 7d317f2c9f1e9dcf4f632fa98f91d1d4a36c4cae author NeilBrown Mon, 27 Mar 2006 01:15:02 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:41 -0800 [PATCH] knfsd: Create cache_lookup function instead of using a macro to declare one The C++-like 'template' approach proves to be too ugly and hard to work with. The old 'template' won't go away until all users are updated. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d317f2c9f1e9dcf4f632fa98f91d1d4a36c4cae tree 7794c88facd3943a7496f7d41c2b7eb24a5d0be0 parent eab7e2e647c348b418e8715ecaca0177e1b473c7 author NeilBrown Mon, 27 Mar 2006 01:15:01 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:41 -0800 [PATCH] knfsd: Get rid of 'inplace' sunrpc caches These were an unnecessary wart. Also only have one 'DefineSimpleCache..' instead of two. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eab7e2e647c348b418e8715ecaca0177e1b473c7 tree 91aa453d6313eee89c8b19eea48699b1143264aa parent efc36aa5608f5717338747e152c23f2cfdb14697 author NeilBrown Mon, 27 Mar 2006 01:15:00 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:41 -0800 [PATCH] knfsd: Break the hard linkage from svc_expkey to svc_export Current svc_expkey holds a pointer to the svc_export structure, so updates to that structure have to be in-place, which is a wart on the whole cache infrastruct. So we break that linkage and just do a second lookup. If this became a performance issue, it would be possible to put a direct link back in which was only used conditionally. i.e. when an object is replaced in the cache, we set a flag in the old object. When dereferencing the link from svc_expkey, if the flag is set, we drop the reference and do a fresh lookup. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit efc36aa5608f5717338747e152c23f2cfdb14697 tree ab444f6e6c88ed07a8d5a034777c10de50e663fd parent 3e7b19198003fc25b11838e709f17d4fa173b2d7 author NeilBrown Mon, 27 Mar 2006 01:14:59 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:41 -0800 [PATCH] knfsd: Change the store of auth_domains to not be a 'cache' The 'auth_domain's are simply handles on internal data structures. They do not cache information from user-space, and forcing them into the mold of a 'cache' misrepresents their true nature and causes confusion. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e7b19198003fc25b11838e709f17d4fa173b2d7 tree 6d78904c52b5c96c1c6f59544658235ef2a3c1ab parent 871f94344cea36b2ce91231f442f9f9298529712 author Ian Kent Mon, 27 Mar 2006 01:14:59 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:41 -0800 [PATCH] autofs4: atomic var underflow Fix accidental underflow of the atomic counter. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 871f94344cea36b2ce91231f442f9f9298529712 tree 951865804407af1afcd7e84f1c152236302bb7f4 parent 3370c74b2e147169d5bba6665e03d3281f5795ed author Ian Kent Mon, 27 Mar 2006 01:14:58 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:41 -0800 [PATCH] autofs4: follow_link missing functionality This functionality is also need for operation of autofs v5 direct mounts. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3370c74b2e147169d5bba6665e03d3281f5795ed tree bf9a4b2d733605c539ebfb731bac21034adc53d9 parent 44d53eb041d901620b1090590a549a705767fd10 author Dave Jones Mon, 27 Mar 2006 01:14:57 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:41 -0800 [PATCH] Remove redundant check from autofs4_put_super We have to have a valid sbi here, or we'd have oopsed already. (There's a dereference of sbi->catatonic a few lines above) Coverity #740 Signed-off-by: Dave Jones Cc: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44d53eb041d901620b1090590a549a705767fd10 tree 765f8e737a9e067d65fefaa2f88a25e6855c17d0 parent 5c0a32fc2cd0be912511199449a37a4a6f0f582d author Ian Kent Mon, 27 Mar 2006 01:14:56 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:41 -0800 [PATCH] autofs4: change AUTOFS_TYP_* AUTOFS_TYPE_* Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c0a32fc2cd0be912511199449a37a4a6f0f582d tree f34ff979282bd957dee161e3668cc01b2dbd51ee parent 3a15e2ab5d6e79a79291734ac24f33d51c0ae389 author Ian Kent Mon, 27 Mar 2006 01:14:55 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: add new packet type for v5 communications This patch define a new autofs packet for autofs v5 and updates the waitq.c functions to handle the additional packet type. Signed-off-by: Ian Kent Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a15e2ab5d6e79a79291734ac24f33d51c0ae389 tree c195237286cab27521be8bc266a6f879e7e72e34 parent 34ca959cfc15cf09ad4da4f31ab034691e51af78 author Ian Kent Mon, 27 Mar 2006 01:14:55 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: add v5 expire logic This patch adds expire logic for autofs direct mounts. Signed-off-by: Ian Kent Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34ca959cfc15cf09ad4da4f31ab034691e51af78 tree 83bbe0a2b94ca58f39c65b1e605f44d421b9564b parent 051d381259eb57d6074d02a6ba6e90e744f1a29f author Ian Kent Mon, 27 Mar 2006 01:14:54 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: add v5 follow_link mount trigger method This patch adds a follow_link inode method for the root of an autofs direct mount trigger. It also adds the corresponding mount options and updates the show_mount method. Signed-off-by: Ian Kent Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 051d381259eb57d6074d02a6ba6e90e744f1a29f tree 35d58c8a900fa7cea03ea05d9d03ee01d24d5f51 parent f75ba3ade8a4599d67040a9493d75a864e7b329c author Ian Kent Mon, 27 Mar 2006 01:14:53 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: nameidata needs to be up to date for follow_link In order to be able to trigger a mount using the follow_link inode method the nameidata struct that is passed in needs to have the vfsmount of the autofs trigger not its parent. During a path walk if an autofs trigger is mounted on a dentry, when the follow_link method is called, the nameidata struct contains the vfsmount and mountpoint dentry of the parent mount while the dentry that is passed in is the root of the autofs trigger mount. I believe it is impossible to get the vfsmount of the trigger mount, within the follow_link method, when only the parent vfsmount and the root dentry of the trigger mount are known. This patch updates the nameidata struct on entry to __do_follow_link if it detects that it is out of date. It moves the path_to_nameidata to above __do_follow_link to facilitate calling it from there. The dput_path is moved as well as that seemed sensible. No changes are made to these two functions. Signed-off-by: Ian Kent Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f75ba3ade8a4599d67040a9493d75a864e7b329c tree d29e400b633dfbce58f80c18667042bb2b52eaeb parent e3474a8eb38e48dea6690d1fabd75f3c7fd2f93f author Ian Kent Mon, 27 Mar 2006 01:14:52 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: increase module version Update autofs4 version. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e3474a8eb38e48dea6690d1fabd75f3c7fd2f93f tree 0eb85dea5d7ae7bab9e22b139f5757c67294402e parent 90a59c7cf5dd68b41ffab61dd30eba1ef5746e66 author Ian Kent Mon, 27 Mar 2006 01:14:51 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: change may_umount* functions to boolean Change the functions may_umount and may_umount_tree to boolean functions to aid code readability. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90a59c7cf5dd68b41ffab61dd30eba1ef5746e66 tree d8ba682efbeaf2153aea6484a822a0ce433880ed parent e77fbddf77c071a5735a4bc63a30649bd64baf14 author Ian Kent Mon, 27 Mar 2006 01:14:50 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: rename simple_empty_nolock function Rename the function simple_empty_nolock to __simple_empty in line with kernel naming conventions. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e77fbddf77c071a5735a4bc63a30649bd64baf14 tree b16e27d3672e44f30c917f9b648c68bec799156b parent d7c4a5f1080a61fd4a3a00ba5f741986f8fb71f0 author Ian Kent Mon, 27 Mar 2006 01:14:49 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: white space cleanup for waitq.c Whitespace and formating changes to waitq code. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7c4a5f1080a61fd4a3a00ba5f741986f8fb71f0 tree e8f87bd83b674826b3e7f90fcfc4dba8ac93fa7c parent 862b110f0132401e422783bf68521ade3dc67578 author Ian Kent Mon, 27 Mar 2006 01:14:49 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:40 -0800 [PATCH] autofs4: add a show mount options for proc filesystem Add show_options method to display autofs4 mount options in the proc filesystem. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 862b110f0132401e422783bf68521ade3dc67578 tree 4cdf38bfb51fb6abba7ab99dc9d406325f0fb35d parent e0a7aae94030b878601eb67686b696de4a3764f0 author Ian Kent Mon, 27 Mar 2006 01:14:48 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] autofs4: remove update_atime unused function Remove the update of i_atime from autofs4 in favour of having VFS update it. i_atime is never used for expire in autofs4. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0a7aae94030b878601eb67686b696de4a3764f0 tree 721a08b9c124e5e9efe36bec1b501f7999657793 parent 1aff3c8b0511b5bb54acf7859e0c6ec9ae7287a9 author Ian Kent Mon, 27 Mar 2006 01:14:47 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] autofs4: expire mounts that hold no (extra) references only Alter the expire semantics that define how "busyness" is determined. Currently a last_used counter is updated on every revalidate from processes other than the mount owner process group. This patch changes that so that an expire candidate is busy only if it has a reference count greater than the expected minimum, such as when there is an open file or working directory in use. This method is the only way that busyness can be established for direct mounts within the new implementation. For consistency the expire semantic is made the same for all mounts. A side effect of the patch is that mounts which remain mounted unessessarily in the presence of some GUI programs that scan the filesystem should now expire. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1aff3c8b0511b5bb54acf7859e0c6ec9ae7287a9 tree be50f4c89a14240b568010da1b0ce3c182352afc parent 1ce12bad85863478619688c0c7363f93a9e5edb8 author Ian Kent Mon, 27 Mar 2006 01:14:46 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] autofs4: fix false negative return from expire Fix the case where an expire returns busy on a tree mount when it is in fact not busy. This case was overlooked when the patch to prevent the expiring away of "scaffolding" directories for tree mounts was applied. The problem arises when a tree of mounts is a member of a map with other keys. The current logic will not expire the tree if any other mount in the map is busy. The solution is to maintain a "minimum" use count for each autofs dentry and compare this to the actual dentry usage count during expire. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ce12bad85863478619688c0c7363f93a9e5edb8 tree b396ba540e38817a8dee8190c8ec437e2910d393 parent 1f5f2c3059ae8cc23cb3303daf324b06ba79517a author Ian Kent Mon, 27 Mar 2006 01:14:45 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] autofs4: simplify expire tree traversal Simplify the expire tree traversal code by using a function from namespace.c to calculate the next entry in the top down tree traversals carried out during the expire operation. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f5f2c3059ae8cc23cb3303daf324b06ba79517a tree a36fcdab769e3433a876d2e73f0877d53129c444 parent 2d753e62b87ab2fc72bb4ff5153791d32ff9c08e author Ian Kent Mon, 27 Mar 2006 01:14:44 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] autofs4: expire code readability cleanup Change the names of the boolean functions autofs4_check_mount and autofs4_check_tree to autofs4_mount_busy and autofs4_tree_busy respectively and alters their return codes to suit in order to aid code readabilty. A couple of white space cleanups are included as well. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d753e62b87ab2fc72bb4ff5153791d32ff9c08e tree d10660a7ad08973679c3cfa66cd2b8eedae5afaa parent f360ce3be466d50de153b001b24561ca7593042b author Ian Kent Mon, 27 Mar 2006 01:14:44 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] autofs4: can't mount due to mount point dir not empty Addresse a problem where stale dentrys stop mounts from happening. When a mount point directory is pre-created and a non-existent entry within it is requested a dentry ends up being created within the mount point directory which stops future mounts. The problem is solved by ignoring negative, unhashed dentrys in the mount point d_subdirs list. Additionally the apparent cacheing of -ENOENT returns from requests is removed. The test on d_time is a tautology and d_time is not initialised and has an unexpected value. In short it doesn't do what it's meant to. The cacheing of failed requests to the daemon is important and will be followed up later. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f360ce3be466d50de153b001b24561ca7593042b tree cad660d0143e02d3e949cd7c9483ea59da41b0ca parent 718c604a28e35848754a65b839e4877ec34b2fca author Ian Kent Mon, 27 Mar 2006 01:14:43 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] autofs4: use libfs routines for readdir Change readdir routines to use the cursor based routines in libfs.c. This removes reliance on old readdir code from 2.4 and should improve efficiency of readdir in autofs4. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 718c604a28e35848754a65b839e4877ec34b2fca tree df5a73b89f7e081d646d0c8df8a6aa6be89e1e76 parent 86c79cbcee7d617c5aaf9b4f7e6cc093397d3451 author Ian Kent Mon, 27 Mar 2006 01:14:42 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] autofs4: lookup white space cleanup Whitespace and formating changes to lookup code. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86c79cbcee7d617c5aaf9b4f7e6cc093397d3451 tree 4f367ebf885a156103b948ad4614938333325302 parent 5f4e8fd08f3993bc31a7dd91767fdb4da4fe6278 author Jeff Dike Mon, 27 Mar 2006 01:14:41 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:39 -0800 [PATCH] uml: fix hostfs stack corruption Noted by Oleg Drokin: We initialized an extra slot of struct kstatfs.spare, sometimes causing stack corruption. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Cc: Oleg Drokin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f4e8fd08f3993bc31a7dd91767fdb4da4fe6278 tree 8bd66ec07c3051d6f6e09fc53c7f2bde20c3c67d parent 1fbbd6844e6a84e5d166ab475dc298d3b89fa4bf author Jeff Dike Mon, 27 Mar 2006 01:14:40 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: fix thread startup race This fixes a race in the starting of write_sigio_thread. Previously, some of the data needed by the thread was initialized after the clone. If the thread ran immediately, it would see the uninitialized data, including an empty pollfds, which would cause it to hang. We move the data initialization to before the clone, and adjust the error paths and cleanup accordingly. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fbbd6844e6a84e5d166ab475dc298d3b89fa4bf tree ea00fbae751120e139491f5c30f3275d2f2cf19b parent 98c18238f146a9038098244d60a7d2b1f67ee790 author Jeff Dike Mon, 27 Mar 2006 01:14:39 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: prevent umid theft Behavior when booting two UMLs with the same umid was broken. The second one would steal the umid. This fixes that, making the second UML take a random umid instead. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98c18238f146a9038098244d60a7d2b1f67ee790 tree 97149aafbc265e63cec55d37a655dabbbf64c232 parent 6c29256c5703ad7c3cf62276dbc38d802a05669e author Jeff Dike Mon, 27 Mar 2006 01:14:38 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: fix segfault on signal delivery This fixes a process segfault where a signal was being delivered such that a new stack page needed to be allocated to hold the signal frame. This was tripping some logic in the page fault handler which wouldn't allocate the page if the faulting address was more that 32 bytes lower than the current stack pointer. Since a signal frame is greater than 32 bytes, this exercised that case. It's fixed by updating the SP in the pt_regs before starting to copy the signal frame. Since those are the registers that will be copied on to the stack, we have to be careful to put the original SP, not the new one which points to the signal frame, on the stack. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c29256c5703ad7c3cf62276dbc38d802a05669e tree 786472038ce420fd6db85bd3e09aa1fe62604bb8 parent cf9165a50aa21027d2f0eefc90476ec59ae6d2b8 author Jeff Dike Mon, 27 Mar 2006 01:14:37 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: allow ubd devices to be shared in a cluster This adds a 'c' option to the ubd switch which turns off host file locking so that the device can be shared, as with a cluster. There's also some whitespace cleanup while I was in this file. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf9165a50aa21027d2f0eefc90476ec59ae6d2b8 tree c303b8df02232a356b7778d1f95cb8d250f71220 parent c554f899b6747c9d8035bf91864d89b337ceb411 author Jeff Dike Mon, 27 Mar 2006 01:14:36 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: oS header cleanups This rearranges the OS declarations by moving some declarations into os.h. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c554f899b6747c9d8035bf91864d89b337ceb411 tree 77ef3961064266760f195c71f00c61c8b021ddfb parent 81efcd3300754462537ffac60336158b2f773b4e author Jeff Dike Mon, 27 Mar 2006 01:14:36 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: move tty logging to os-Linux The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from tty_log.c file under os-Linux dir Signed-off-by: Gennady Sharapov Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81efcd3300754462537ffac60336158b2f773b4e tree f957ccb8cacabcecf5cfd67c1feda5b1908cac0c parent f206aabb035318ac4bafbf0b87798335de3634df author Bodo Stroesser Mon, 27 Mar 2006 01:14:34 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: more carefully test whether we are in a system call For security reasons, UML in is_syscall() needs to have access to code in vsyscall-page. The current implementation grants this access by explicitly allowing access to vsyscall in access_ok_skas(). With this change, copy_from_user() may be used to read the code. Ptrace access to vsyscall-page for debugging already was implemented in get_user_pages() by mainline. In i386, copy_from_user can't access vsyscall-page, but returns EFAULT. To make UML behave as i386 does, I changed is_syscall to use access_process_vm(current) to read the code from vsyscall-page. This doesn't hurt security, but simplifies the code and prepares implementation of stub-vmas. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f206aabb035318ac4bafbf0b87798335de3634df tree 0fac4b6f593af478f0792e6c94f0881fd81645cd parent 8e367065eea04a6fde5cb8f3854164af99c45693 author Jeff Dike Mon, 27 Mar 2006 01:14:33 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: move sigio_user.c to os-Linux/sigio.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves sigio_user.c to os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e367065eea04a6fde5cb8f3854164af99c45693 tree ed43afe11ac49b992218b83a481a9e1db87160f9 parent 9b4f018d92dbeff9305b4cf4aa80874c3974cfcc author Jeff Dike Mon, 27 Mar 2006 01:14:32 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:38 -0800 [PATCH] uml: move SIGIO startup code to os-Linux/start_up.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves all startup code from sigio_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b4f018d92dbeff9305b4cf4aa80874c3974cfcc tree f344bda24c71134e1fd22189fc03eb9b19ccecc5 parent 63ae2a94d98dd9d94163918539ec80df33f44a69 author Jeff Dike Mon, 27 Mar 2006 01:14:31 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:37 -0800 [PATCH] uml: merge irq_user.c and irq.c The serial UML OS-abstraction layer patch (um/kernel dir). This joins irq_user.c and irq.c files. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63ae2a94d98dd9d94163918539ec80df33f44a69 tree ebb7d6d0919fd5a8d3bac6c6a726f2f51f53f779 parent d9f8b62a6b033fe7226d7c2b2efdd164ca1aa07c author Jeff Dike Mon, 27 Mar 2006 01:14:30 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:37 -0800 [PATCH] uml: move libc-dependent irq code to os-Linux The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from irq_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9f8b62a6b033fe7226d7c2b2efdd164ca1aa07c tree 23d7eb3d81f113e39a9425bd59702d099cfae02b parent c90e12b86595dbd9996336ac9d762487c638d934 author Jeff Dike Mon, 27 Mar 2006 01:14:29 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:37 -0800 [PATCH] uml: fix some printf formats Some printf formats are incorrect for large memory sizes. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c90e12b86595dbd9996336ac9d762487c638d934 tree a790e265263d05790af50c2e16c603d80b11937c parent bb83da053319e81906473bec08e8f677d6ac615f author Jeff Dike Mon, 27 Mar 2006 01:14:29 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:37 -0800 [PATCH] uml: fix declaration of exit() This fixes a conflict between a header and what gcc "knows" the declaration' to be. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb83da053319e81906473bec08e8f677d6ac615f tree b5ee3445db891baf71e4ce358baca740043c0672 parent dbffa471611d3fc4b401ebabf7bb63ac0e0272b1 author Jeff Dike Mon, 27 Mar 2006 01:14:27 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:37 -0800 [PATCH] uml: fix build warnings in __get_user Fix a gcc warning about losing qualifiers to the first argument of copy_from_user. The typeof change for correctness, and fixes a lot of the warnings, but there are some cases where x has some extra qualifiers, like volatile, which copy_from_user can't know about. For these, the void * cast seems to be necessary. Also cleaned up some of the whitespace and got rid of the emacs comment at the bottom. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbffa471611d3fc4b401ebabf7bb63ac0e0272b1 tree bb9ea8ac8b965b579ffaabf1be2e120339342e30 parent 5d5d7727a8cde78f798ecf04bac8031eff536f9d author OGAWA Hirofumi Mon, 27 Mar 2006 01:14:26 -0800 committer Linus Torvalds Mon, 27 Mar 2006 08:44:37 -0800 [PATCH] PM-Timer: don't use workaround if chipset is not buggy Current timer_pm.c reads I/O port triple times, in order to avoid the bug of chipset. But I/O port is slow. 2.6.16 (pmtmr) Simple gettimeofday: 3.6532 microseconds 2.6.16+patch (pmtmr) Simple gettimeofday: 1.4582 microseconds [if chip is buggy, probably it will be 7us or more in 4.2% of probability.] This patch adds blacklist of buggy chip, and if chip is not buggy, this uses fast normal version instead of slow workaround version. If chip is buggy, warnings "pmtmr is slow". But sounds like there is gray zone. I found the PIIX4 errata, but I couldn't find the ICH4 errata. But some motherboard seems to have problem. So, if we found a ICH4, generate warnings, and use a workaround version. If user's ICH4 is good, the user can specify the "pmtmr_good" boot parameter to use fast version. Acked-by: John Stultz Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cfa146e4be274fd04bfdb26b3c96cdfe81a43dc2 tree cd6985cc7bdec3c90afbb59bf83d459ecc06931f parent 79058acaf5b6d4bcc3056382619de3ca9cebc62f author Jouni Malinen Fri, 24 Mar 2006 21:24:55 -0800 committer John W. Linville Mon, 27 Mar 2006 11:40:32 -0500 [PATCH] hostap: Fix EAPOL frame encryption Fixed encrypted of EAPOL frames from wlan#ap interface (hostapd). This was broken when moving to use new frame control field defines in net/ieee80211.h. hostapd uses Protected flag, not protocol version (which was cleared in this function anyway). This fixes WPA group key handshake and re-authentication. http://hostap.epitest.fi/bugz/show_bug.cgi?id=126 Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 79058acaf5b6d4bcc3056382619de3ca9cebc62f tree 694484ef56c756f59ff18000c028f1995d1a2868 parent 0073602544954002e35699477dc59cdd5e9112e3 author Jouni Malinen Fri, 24 Mar 2006 21:24:54 -0800 committer John W. Linville Mon, 27 Mar 2006 11:40:32 -0500 [PATCH] hostap: Make hostap_tx_encrypt() static hostap_tx_encrypt() is used only inside hostap_80211_tx.c and there are no plans to use it elsewhere in the future either, so let's make it static. As a bonus, this should silence Coverity scanner from complaining about bogus FORWARD_NULL case (CID: 274). Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 0073602544954002e35699477dc59cdd5e9112e3 tree 8fa47307e4e677e8d83dd4fd83b449451057602f parent e4a9af98bb0fab13be6e3adbe108d565b790158a author Jean Tourrilhes Fri, 24 Mar 2006 16:45:24 -0800 committer John W. Linville Mon, 27 Mar 2006 11:39:15 -0500 [PATCH] zd1201 wireless stat update The "dev->get_wireless_stats" field is deprecated and slowly be surely going away. Most drivers have been updated months ago. Actually, there is an annoying message for driver still using it, but it seems that user of zd1201 were not annoyed enough ;-) Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit e4a9af98bb0fab13be6e3adbe108d565b790158a tree be46673e888726937da9dd01e07edd798b9f3cc4 parent ec483781fe98bba92e00f4428f8d69dd5e071246 author Adrian Bunk Fri, 24 Mar 2006 17:56:19 +0100 committer John W. Linville Mon, 27 Mar 2006 11:33:37 -0500 [PATCH] PCMCIA_SPECTRUM must select FW_LOADER PCMCIA_SPECTRUM must select FW_LOADER. Reported by "Alexander E. Patrakov" . Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit ec483781fe98bba92e00f4428f8d69dd5e071246 tree b5d60f8b3a0f9723170bd3bd02a4a5b3f854016d parent adc40e9796d03d56e99bdac62492492a1098124b author Michael Buesch Mon, 27 Mar 2006 11:49:51 +0200 committer John W. Linville Mon, 27 Mar 2006 11:19:47 -0500 [PATCH] bcm43xx: don't set the channel on a device, which is down. Initial patch by David Woodhouse and Michael Marineau. Locking fix by me. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit adc40e9796d03d56e99bdac62492492a1098124b tree 47d257ea6817e74ea274cb480af424ccc4f4661a parent 8afceb1e6a3b6361c7c2456ef488ee9c6db7b370 author Michael Buesch Sat, 25 Mar 2006 20:36:57 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:47 -0500 [PATCH] bcm43xx: sync GPHY init with the specs. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 8afceb1e6a3b6361c7c2456ef488ee9c6db7b370 tree c38bc8587af99e761766fb0388c4b9c1e59be22b parent b5e868edbeaa5fd832d42563195c0da00edfd3c9 author Michael Buesch Sat, 25 Mar 2006 17:04:41 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:46 -0500 [PATCH] bcm43xx: fix the remaining sparse warnings. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit b5e868edbeaa5fd832d42563195c0da00edfd3c9 tree 6dc2ffb85ed92d39c4978961cce43ba96a205ad0 parent d1ca6c4ff6714826acb1a434e5d3862984eb26d5 author Michael Buesch Sat, 25 Mar 2006 16:27:32 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:45 -0500 [PATCH] bcm43xx: remove some compilerwarnings. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit d1ca6c4ff6714826acb1a434e5d3862984eb26d5 tree b54f355a8569ad1e4a41b914876d02a22d321152 parent 04b98f71e2e3facc15e73b7e3ae9516ecb737375 author Michael Buesch Sat, 25 Mar 2006 15:43:18 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:45 -0500 [PATCH] bcm43xx: fix "include" issues on some platforms. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 04b98f71e2e3facc15e73b7e3ae9516ecb737375 tree 275dff963d51f844e4082d1803902012a77a1079 parent 72fb851e971a416f47ad0a3ffca7342a424af37a author Michael Buesch Sat, 25 Mar 2006 15:37:53 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:44 -0500 [PATCH] bcm43xx: get rid of "/* vim: ..." lines at the end of several files. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 72fb851e971a416f47ad0a3ffca7342a424af37a tree 934229d25a830186335ef4b4b12b47844b4cdb23 parent cf017e1b6f625978288e2cd8ede04f8185b97c08 author Michael Buesch Wed, 22 Mar 2006 18:10:19 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:44 -0500 [PATCH] bcm43xx: add useless and broken statistics stuff. People seem to want it. well... Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit cf017e1b6f625978288e2cd8ede04f8185b97c08 tree 87cf4e21b65ee8e8d51456d0e4adc68e827496b9 parent e382c234cbc6fcd76e9ed1168c77fe88d75df73c author Michael Buesch Wed, 22 Mar 2006 17:58:47 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:43 -0500 [PATCH] bcm43xx: fix nrssi_threshold calculation. patch by doctorzoidberg. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit e382c234cbc6fcd76e9ed1168c77fe88d75df73c tree 3f0a38c5e9712f62384019e670126a9b46a18c39 parent 6ecb26904c9db15ca964d60b9483f19dc51bda5b author Michael Buesch Tue, 21 Mar 2006 18:16:28 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:43 -0500 [PATCH] bcm43xx: sync interference mitigation code to the specs. This also includes a rewritten valuesave-stack. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 6ecb26904c9db15ca964d60b9483f19dc51bda5b tree 933fd9814eac05e1975735517942dfd5c5b2e412 parent 0ac59daee5f7fbaab25784a643edede669b5419e author Michael Buesch Mon, 20 Mar 2006 00:01:04 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:42 -0500 [PATCH] bcm43xx: set default attenuation values. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 0ac59daee5f7fbaab25784a643edede669b5419e tree 7e415dbd5dc7aee5eab28f18de1388e2e77f0f9e parent 6ab5b8e670c4bb7ac0035ec3c6d6a161fae12009 author Michael Buesch Sun, 19 Mar 2006 21:43:40 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:42 -0500 [PATCH] bcm43xx: some IRQ handler cleanups. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 6ab5b8e670c4bb7ac0035ec3c6d6a161fae12009 tree 312fd463ba50aa480a2b3c8215951fe7e664c318 parent 714eece7c7c300bbc5e8285890e7374958ca37f4 author Michael Buesch Sun, 19 Mar 2006 17:18:48 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:41 -0500 [PATCH] bcm43xx: merge all iwmode code into the set_iwmode function. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 714eece7c7c300bbc5e8285890e7374958ca37f4 tree 7a589f5aa916eb5463dbc5d420ee9c161456695e parent 4a1821e4c7a84569f788b7667affe2743317b63f author Michael Buesch Sat, 18 Mar 2006 21:28:46 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:40 -0500 [PATCH] bcm43xx: fix some gpio register trashing (hopefully :D) Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 4a1821e4c7a84569f788b7667affe2743317b63f tree fca9f5caf8554ae9dc16072b23273d10947e0f79 parent 5808bbbdf8c095745f0cac9110b245102243b243 author Michael Buesch Sat, 18 Mar 2006 20:19:12 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:40 -0500 [PATCH] bcm43xx: remove check for mmio length, as it differs among platforms. (especially embedded) Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 5808bbbdf8c095745f0cac9110b245102243b243 tree 1c74ae35e06d8a7cec0ec6109e8faee3b4191b60 parent b3db5e553876c1743eefae5963aea431ec4d5ba6 author Michael Buesch Wed, 15 Mar 2006 18:13:53 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:39 -0500 [PATCH] bcm43xx: properly mask txctl1 before writing it to hardware. This should not make a difference, but be careful to not trash the register. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit b3db5e553876c1743eefae5963aea431ec4d5ba6 tree 5bda353b8e8a696ccc93c2d7f3ebee668fa4d08d parent 4cf6f03e067d6d416f5c9219471daf64703afae4 author Michael Buesch Wed, 15 Mar 2006 16:31:45 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:39 -0500 [PATCH] bcm43xx: Do boardflags workarounds for specific boards. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 4cf6f03e067d6d416f5c9219471daf64703afae4 tree 349a70c932043d577d38b5db99547370a2e957be parent 49f29efa7f44a79b64c7882c68e171898d0495a0 author Michael Buesch Tue, 14 Mar 2006 18:23:43 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:38 -0500 [PATCH] bcm43xx: Remove the workaround in dummy_transmission, as it causes more trouble than it solves Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 49f29efa7f44a79b64c7882c68e171898d0495a0 tree c09f7a2be4a1eaa4a9d7ab2c095633c9003dc905 parent e9357c056c5e62516f0044e60591d41f00ca7cfa author Michael Buesch Tue, 14 Mar 2006 16:05:26 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:38 -0500 [PATCH] bcm43xx: Fix crash on ifdown, by being careful in pio/dma freeing. This bug was caused by the packing of the bcm43xx_dma and bcm43xx_pio structures into a union. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit e9357c056c5e62516f0044e60591d41f00ca7cfa tree a5dc842a43db15403207f1d763df008fb43cb8e6 parent aae3778176ec7a57b1c4f539b7252acfd7d99a1b author Michael Buesch Mon, 13 Mar 2006 19:27:34 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:37 -0500 [PATCH] bcm43xx: reduce the size of bcm43xx_private by removing unneeded members. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit aae3778176ec7a57b1c4f539b7252acfd7d99a1b tree e0d41e5836bebff3f9722b16a40bedbcb7c16483 parent e1b1b581b847a5ae9409a02a586476eaba2b3f89 author Michael Buesch Mon, 13 Mar 2006 15:54:56 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:37 -0500 [PATCH] bcm43xx: add functions bcm43xx_dma_read/write, bcm43xx_dma_tx_suspend/resume. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit e1b1b581b847a5ae9409a02a586476eaba2b3f89 tree 8022bfb924f0f3649b791ab440a54d27ca56a41c parent 73733847beead47dc31b1f8e1532e5eea9f8ddd3 author Michael Buesch Mon, 13 Mar 2006 15:20:05 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:36 -0500 [PATCH] bcm43xx: receive TX status on MMIO or DMA unconditionally regarding the 80211 core rev. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 73733847beead47dc31b1f8e1532e5eea9f8ddd3 tree 6c1c9f05d1ca6a7053151e2104f7d825b26e4ffc parent 7ce942d0ff5df145831631f4df391c7207e676bb author Michael Buesch Sun, 12 Mar 2006 19:44:29 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:36 -0500 [PATCH] bcm43xx: fix some stuff, add a few missing mmiowb(), remove dead code. This may workaround the XMIT ERRORs some people are getting. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 7ce942d0ff5df145831631f4df391c7207e676bb tree 7eb4715986d162fda097ef208a0b1b66a745e166 parent efccb647f486ff8174b4db0ab8145df8dd42ce6d author Michael Buesch Sat, 11 Mar 2006 13:43:06 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:35 -0500 [PATCH] bcm43xx: Remove the mmio access printing facility overhead. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit efccb647f486ff8174b4db0ab8145df8dd42ce6d tree 099f947a1a99f5699c99011175dd8d6bf27fc0d4 parent 4d5a9e0eeb7ec928c6bd55db410f09ed3779bc2a author Michael Buesch Sat, 11 Mar 2006 13:39:14 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:35 -0500 [PATCH] bcm43xx: Abstract the locking mechanism. This is the starting point to make the driver out-of-order-MMIO-stores safe. There are more mmiowb() needed. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 4d5a9e0eeb7ec928c6bd55db410f09ed3779bc2a tree fc7b3a0ce10f3495883d4d4788c77617ddba9fa9 parent 512a80916b8d04529c0915534c63529144f74e10 author Michael Buesch Sat, 11 Mar 2006 13:15:02 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:34 -0500 [PATCH] bcm43xx: Set both, the DMAmask and the coherent DMAmask. This has a potential to fix the >1G bug. But I can not test that, yet. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 512a80916b8d04529c0915534c63529144f74e10 tree 34531295df7a1aa990e268bf6b29bf0f16c507ef parent 367f899ac3b52cf4611cd291ec2bfbf774b15bc7 author Pete Zaitcev Tue, 07 Mar 2006 01:37:51 +0100 committer John W. Linville Mon, 27 Mar 2006 11:19:33 -0500 [PATCH] bcm43xx: fix DMA TX skb freeing in case of fragmented packets. It seems to me that the today's wireless-2.6 git contains bcm43xx which does not free txb's correctly, if I understand it right. Consider a situation where a txb with two skb's is sent down. The dma_tx_fragment will save the pointer to meta->txb of the first fragment. If fragments are freed in order, ieee80211_txb_free frees both skb's when the first fragment is processed. This may result in reuse of the second skb's memory. This danger is rather remote, but it seems to me that the patch below not only fixes the problem, but also makes the code simpler, which is good, right? Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 367f899ac3b52cf4611cd291ec2bfbf774b15bc7 tree 99763a1b2c27e3371c575beab326147bdb675410 parent f398f02d12cdc372e16c5e86246b10acf7211abc author Michael Buesch Tue, 28 Feb 2006 15:32:19 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:40 -0500 [PATCH] bcm43xx: Add sysfs attributes for device specific tunables. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit f398f02d12cdc372e16c5e86246b10acf7211abc tree e1f705974b5380e43e2308355d461197fa553468 parent 1d1a73ccdc618168f2a5c962aab250605c93e517 author Michael Buesch Thu, 23 Feb 2006 21:15:39 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:40 -0500 [PATCH] bcm43xx: Move TX/RX related functions to its own file. Add basic RTS/CTS code. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 1d1a73ccdc618168f2a5c962aab250605c93e517 tree 299cdcadc312e9db2088a25246c0ae7860d9918c parent cad2b31a76763d06048fb23a17b062acd5d46639 author Michael Buesch Tue, 21 Feb 2006 18:19:59 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:39 -0500 [PATCH] bcm43xx: add assert(bcm->initialized) to periodic_tasks_setup(). Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit cad2b31a76763d06048fb23a17b062acd5d46639 tree 682290730140415df89213a86157bb37031ec0cb parent bf7b876043e6e1390b1234d740f4fd9af20b3b9e author Michael Buesch Tue, 21 Feb 2006 18:08:55 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:39 -0500 [PATCH] bcm43xx: move initialized = 1 to the end of init_board. Note that the periodic work has to be started with initialized==1 Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit bf7b876043e6e1390b1234d740f4fd9af20b3b9e tree b13d7e74f53baec86c9ef7efa3ec81e1dde6190f parent c4c3beb7d70ae9d1fe97b7b49bc5a10ad26c2b01 author Michael Buesch Tue, 21 Feb 2006 17:58:18 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:38 -0500 [PATCH] bcm43xx: Workaround init_board vs IRQ race. The proper fix for this is to move IRQ enabling to the end of init_board. But this is nontrivial and needs to be done with care. Stay with this cheap workaround for now. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit c4c3beb7d70ae9d1fe97b7b49bc5a10ad26c2b01 tree 95f0ab2c80e6dbde8e85a87f5001fe7d0af9daff parent 26533e7e292075df1daf94965a7f3f0d91bd08a8 author Michael Buesch Mon, 20 Feb 2006 22:48:55 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:38 -0500 [PATCH] bcm43xx: Fix Kconfig typo (transfer mode default) Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 26533e7e292075df1daf94965a7f3f0d91bd08a8 tree 71e77368b7011ac820eb9dcf659e0c5deb4a9ec5 parent 10d8dd88dcc2c8ebe8ac7dcf75a2da7c9f9ee0f3 author Michael Buesch Sun, 19 Feb 2006 22:25:09 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:37 -0500 [PATCH] bcm43xx: remove old unused struct. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 10d8dd88dcc2c8ebe8ac7dcf75a2da7c9f9ee0f3 tree 36a2d439a39f182ee80788fcec58ac3f7b6b7f55 parent ad3f086c49aa682e493c935cda76f3850ee4a80e author Michael Buesch Sun, 19 Feb 2006 22:08:48 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:37 -0500 [PATCH] bcm43xx: split the channel helper functions, so that they can be used without a valid running core. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit ad3f086c49aa682e493c935cda76f3850ee4a80e tree 9a7fb77068f1860ec58da7090a68fbf025033f0e parent ea0922b067a0863f9a4198740651fd47a22af7f1 author Michael Buesch Sun, 19 Feb 2006 14:12:22 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:36 -0500 [PATCH] bcm43xx: make bcm43xx_sprom_crc() static. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit ea0922b067a0863f9a4198740651fd47a22af7f1 tree b8632f6842be02a10a3fe52d58aa89663e16c789 parent 489423c8d0ba2b4311530502f7b5a331da9a60f9 author Michael Buesch Sun, 19 Feb 2006 14:09:20 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:36 -0500 [PATCH] bcm43xx: Move sprom lowlevel reading/writing to its own functions. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 489423c8d0ba2b4311530502f7b5a331da9a60f9 tree 0bb259e3907eb33565e8140925b020400204e1b6 parent ab4977f881fc23cb02ef6f20d1e8ebbdcfef75ad author Michael Buesch Mon, 13 Feb 2006 00:11:07 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:35 -0500 [PATCH] bcm43xx: Code cleanups. This removes various "inline" statements and reduces codesize. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit ab4977f881fc23cb02ef6f20d1e8ebbdcfef75ad tree 3889653e5a05fb129fd5b185eb6b192f5b356804 parent dcfd720bd733544606b053e8e68b7419211ace72 author Michael Buesch Sun, 12 Feb 2006 22:40:39 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:35 -0500 [PATCH] bcm43xx: rewrite and simplify the periodic task handling. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit dcfd720bd733544606b053e8e68b7419211ace72 tree f5861ec7992aca63c236bc94111cf3759db19a5b parent d5dd8e28aa6ca08f73760a6b4a5d455319698201 author Michael Buesch Sun, 12 Feb 2006 20:25:55 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:34 -0500 [PATCH] bcm43xx: fix LED code. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit d5dd8e28aa6ca08f73760a6b4a5d455319698201 tree aeb121e9edccba346524f4c97439160679181c84 parent f1f566236dcc4cb57cfae89b539e19c1290e7f34 author Michael Buesch Sun, 12 Feb 2006 17:15:06 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:34 -0500 [PATCH] bcm43xx: update README Signed-off-by: John W. Linville commit f1f566236dcc4cb57cfae89b539e19c1290e7f34 tree b4067a425a173cf829b34019415cb46df077d3e9 parent 8bcab3f55982cf28310f2303bef741424ad0f563 author Michael Buesch Sun, 12 Feb 2006 16:55:06 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:33 -0500 [PATCH] Apple Airport: Add Kconfig note that the bcm43xx driver has to be used for Airport Extreme cards. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 8bcab3f55982cf28310f2303bef741424ad0f563 tree d2334adadd6add966e1b31247b09929e76343bd8 parent 77db31ea4322f2dd12dc814d6664ae96517604c0 author Michael Buesch Sun, 12 Feb 2006 16:52:10 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:33 -0500 [PATCH] bcm43xx: add a note that not all devices support PIO. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 77db31ea4322f2dd12dc814d6664ae96517604c0 tree 358519550cf715249ba836d06eb651d1fdf86079 parent 5c57807afcc28a6b8fb579ef2c79e49f0b688425 author Michael Buesch Sun, 12 Feb 2006 16:47:44 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:32 -0500 [PATCH] bcm43xx: Partially fix PIO code. Add Kconfig option for PIO or DMA mode (or both). Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 5c57807afcc28a6b8fb579ef2c79e49f0b688425 tree 274fac436790842c2e85504e6b5e2b5c52e06892 parent b5488beba8030b791e035c4da0122f98c42e355b author Michael Buesch Wed, 08 Feb 2006 18:04:02 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:32 -0500 [PATCH] bcm43xx: remove WX debugging. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit b5488beba8030b791e035c4da0122f98c42e355b tree c0efbd9b79d780860303b7c5bb51860a7c473a13 parent 921e485f98b11656cdcc39a37605e116e34cb315 author Michael Buesch Wed, 08 Feb 2006 18:00:30 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:31 -0500 [PATCH] bcm43xx: fix compiletime warning (phy_xmitpower) Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 921e485f98b11656cdcc39a37605e116e34cb315 tree 94f86a8efdbfef3550321467a28c0a0aa223d018 parent 62b7f0dfab0508a45a93045d49eda26d5285188d author Michael Buesch Wed, 08 Feb 2006 17:55:55 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:31 -0500 [PATCH] bcm43xx: heavily increase mac_suspend timeout. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 62b7f0dfab0508a45a93045d49eda26d5285188d tree e1acfe38e8d88c65441d9d02a00cf45e08a27fa1 parent 393344f67b598aaed594b9006e9eaa44ab62caa0 author Michael Buesch Wed, 08 Feb 2006 17:36:46 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:30 -0500 [PATCH] bcm43xx: enable SPROM writing. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 393344f67b598aaed594b9006e9eaa44ab62caa0 tree 1662df544434f228eb2d728d2a0c43722a4bff11 parent 67093a65c08dc45374f642b1ec1b86e7095a4dc8 author Michael Buesch Sun, 05 Feb 2006 15:28:20 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:30 -0500 [PATCH] bcm43xx: fix txpower reporting in WE. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 67093a65c08dc45374f642b1ec1b86e7095a4dc8 tree 3fabaacb98b2bf16f177845e6d632528679a805f parent 8fa252d099d864f8848a9890f26d1a51a9c7ad32 author Danny van Dyk Wed, 01 Feb 2006 00:43:05 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:29 -0500 [PATCH] Sync bcm43xx_phy_initb6() with specs Signed-off-by: John W. Linville commit 8fa252d099d864f8848a9890f26d1a51a9c7ad32 tree eac64bc0fcaa8b2e7b1dc2735e2848e7b9f79ad7 parent 6465ce1bbf7fede82dccec342417105b10793b51 author Michael Buesch Thu, 02 Feb 2006 19:49:15 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:29 -0500 [PATCH] bcm43xx: Wireless Ext update Wireless Ext update: update we_version_source set enc_capa Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 6465ce1bbf7fede82dccec342417105b10793b51 tree 948b292fc322e70e23cfaa39b0f95a893b1c670b parent 9e4a375b15c9940b13e66e224570b35c471c0128 author Michael Buesch Thu, 02 Feb 2006 19:11:08 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:28 -0500 [PATCH] bcm43xx: basic ethtool support This patch contains the beginnings of ethtool support for bcm43xx. It only implements get_drvinfo and get_link, but that's enough for ifplugd to use ethtool to know whether we're associated or not and then start or stop dhcp as necessary. Signed-off-by: Jason Lunz Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 9e4a375b15c9940b13e66e224570b35c471c0128 tree 1eb2e1cbbf37eb84deb59fef2a3c9bc4acdb1e18 parent a4a600d3e17f450666a9086465122103e96140d7 author Michael Buesch Thu, 02 Feb 2006 18:43:25 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:27 -0500 [PATCH] bcm43xx: Remove function bcm43xx_channel_is_allowed() Geographical restriction should become part of the 80211 stack, so every driver does not have to duplicate it. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit a4a600d3e17f450666a9086465122103e96140d7 tree 3b76a9ff5ba2c0dc217b21b330930246ea758614 parent 65f3f19120cf32233f537562e69893b88727b634 author Michael Buesch Wed, 01 Feb 2006 22:09:52 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:27 -0500 [PATCH] bcm43xx: Add more initvals sanity checks and error out, if one sanity check fails. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 65f3f19120cf32233f537562e69893b88727b634 tree 1e220d79294ff13116be5589efaf6ab1e4fdbd5a parent 6f3e2045cabd952a86bc819181d8a190cd0689c3 author Michael Buesch Tue, 31 Jan 2006 20:11:38 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:26 -0500 [PATCH] bcm43xx: Fix makefile. Remove all the "out-of-tree" stuff. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 6f3e2045cabd952a86bc819181d8a190cd0689c3 tree c37379fc811e420ca5e0cf437042b332084684be parent dda207ae2da37032524bbdd7a0133c37f2907ae8 author Michael Buesch Mon, 30 Jan 2006 17:43:20 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:26 -0500 [PATCH] bcm43xx: add DEBUG Kconfig option. Also fix indention. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit dda207ae2da37032524bbdd7a0133c37f2907ae8 tree 2e7f3bfedbe0f2bd04b2fa198c8cb2177d3f6366 parent 08ccd883f536d81d380522106c67bd5d7043fa4a author Michael Buesch Fri, 27 Jan 2006 17:39:44 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:25 -0500 [PATCH] bcm43xx: remove redundant COPYING file. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 08ccd883f536d81d380522106c67bd5d7043fa4a tree 313adb84df814fa93af77368706eeb46f34a7627 parent 4a2a2792d0cb3f2797ff179beef7b8c2981979c2 author Michael Buesch Fri, 27 Jan 2006 17:37:05 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:25 -0500 [PATCH] bcm43xx: Move README file to Documentation directory. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 4a2a2792d0cb3f2797ff179beef7b8c2981979c2 tree 94ef608dbf072e80e1e7e64fd038b32fcf0b860b parent ea72ab229fe9cdfe3d3f70a6e64d98c725294b24 author Michael Buesch Fri, 27 Jan 2006 17:33:15 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:24 -0500 [PATCH] bcm43xx: remove linux version compatibility code. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit ea72ab229fe9cdfe3d3f70a6e64d98c725294b24 tree 96bdbed22cac7b7256fe4b1e98f9b710edc68851 parent 70e5e983f8a3f801a96bfeb0682cd2955ec3c8ce author Michael Buesch Fri, 27 Jan 2006 17:26:20 +0100 committer John W. Linville Mon, 27 Mar 2006 11:18:24 -0500 [PATCH] bcm43xx: sync with svn.berlios.de Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 70e5e983f8a3f801a96bfeb0682cd2955ec3c8ce tree 58eb5b61a48767304aea2c3ad2b042557a275d13 parent f222313a61a5e134de80767b35c672b91e78383c author John W. Linville Mon, 23 Jan 2006 17:00:39 -0500 committer John W. Linville Mon, 27 Mar 2006 11:18:23 -0500 [PATCH] bcm43xx: patch Kconfig and wireless/Makefile for import Patch Kconfig and wireless/Makefile to merge bcm43xx 'properly' Signed-off-by: John W. Linville commit f222313a61a5e134de80767b35c672b91e78383c tree c3a8dca8a021bd88f58112e70ce52cfb28e99ff1 parent 5d5d7727a8cde78f798ecf04bac8031eff536f9d author John W. Linville Mon, 23 Jan 2006 16:59:58 -0500 committer John W. Linville Mon, 27 Mar 2006 11:18:23 -0500 [PATCH] wireless: import bcm43xx sources Import the bcm43xx driver from the upstream sources here: ftp://ftp.berlios.de/pub/bcm43xx/snapshots/bcm43xx/bcm43xx-20060123.tar.bz2 Signed-off-by: John W. Linville commit 3747b36eeab93d8969e86987bbc1d44971229b26 tree 2d6360f93f03b945644fd8a9e002f0154643798b parent 4682adcfb06448827fbdfd8b6c636796de569b7d author Russell King Mon, 27 Mar 2006 16:59:07 +0100 committer Russell King Mon, 27 Mar 2006 16:59:07 +0100 [ARM] proc-v6: mark page table walks outer-cacheable, shared. Enable NX. Mark page table walks with outer-cacheable attribute, and enable no-execute in page tables. Signed-off-by: Russell King commit 4682adcfb06448827fbdfd8b6c636796de569b7d tree e0b4c0b559efae66f42a480efd2542c94702ace9 parent c8c4b939e8dff82ee2bc22ed506ae29ecffca4c2 author Hyok S. Choi Mon, 27 Mar 2006 15:46:06 +0100 committer Russell King Mon, 27 Mar 2006 15:46:06 +0100 [ARM] nommu: trivial patch for arch/arm/lib/Makefile ifeq ($CONFIG_PREEMPT,y) -> ifeq ($(CONFIG_PREEMPT),y) Signed-off-by: Hyok S. Choi Signed-off-by: Russell King commit c8c4b939e8dff82ee2bc22ed506ae29ecffca4c2 tree ebbfdd28ac9e285d53a49cae54a31870e68003c3 parent bd8f103efef14980decf5d54a2de85835e9a6d9a author Erik Mouw Mon, 27 Mar 2006 15:32:30 +0100 committer Russell King Mon, 27 Mar 2006 15:32:30 +0100 [ARM] 3416/1: Update LART site URL Patch from Erik Mouw The LART website moved to http://www.lartmaker.nl/. This patch updates the URL in ARM specific files. Signed-off-by: Erik Mouw Acked-by: Jan-Derk Bakker Signed-off-by: Russell King commit 9618edab82fda8dbce5ea3abcdac9ded07abb2d4 tree 8edacdcf4d0ecdd8a7b5b0f88f3cf68c393afbc5 parent d0cc0dfa2dcf18854144b16a74502bd25c4eaedf author Paul Mackerras Mon, 27 Mar 2006 21:48:57 +1100 committer Paul Mackerras Mon, 27 Mar 2006 21:48:57 +1100 powerpc: Fix event-scan code for 32-bit CHRP On CHRP machines we are supposed to call into firmware (RTAS) periodically, to give it a chance to check for errors and other events. Under ppc we had some special code in timer_interrupt to do this, but that didn't get transferred over to arch/powerpc. Instead, we use an array of timer_list structs, one per CPU, and use add_timer_on to make sure each one gets called on the appropriate CPU. With this we can remove the heartbeat_* elements of the ppc_md struct. Signed-off-by: Paul Mackerras commit d0cc0dfa2dcf18854144b16a74502bd25c4eaedf tree 740eb0f6cc4e2a176436e013792c37f088b91732 parent e7e2d2da26384b07dfee83f63e6090e386c63d7e author Paul Mackerras Mon, 27 Mar 2006 20:31:44 +1100 committer Paul Mackerras Mon, 27 Mar 2006 20:31:44 +1100 ppc: Remove duplicate exports of __down, __up etc. __down, __down_interruptible and __up are defined and exported in arch/powerpc/kernel/semaphore.c, and used from there for ARCH=ppc, so there is no need to export them in arch/ppc/kernel/ppc_ksyms.c. Signed-off-by: Paul Mackerras commit e7e2d2da26384b07dfee83f63e6090e386c63d7e tree ee990ef6d6b1d5233ed6a1df751ecd6ac7e178cc parent 8b844dd7591a820a618a8fb33c9c43186d43d1b9 author Paul Mackerras Mon, 27 Mar 2006 20:17:06 +1100 committer Paul Mackerras Mon, 27 Mar 2006 20:17:06 +1100 powerpc: Don't compile in arch/ppc/kernel for 32-bit ARCH=powerpc All of the things needed for 32-bit ARCH=powerpc builds have now moved to arch/powerpc/kernel, so we don't need to go down into arch/ppc/kernel any more, and we can remove the CONFIG_PPC_MERGE conditional from arch/ppc/kernel/Makefile. There were two files still referenced in the merge section of arch/ppc/kernel/Makefile: ppc-stub.o, depending on CONFIG_KGDB, and dma-mapping.o, depending on CONFIG_NOT_COHERENT_CACHE. None of the platforms currently in ARCH=powerpc have caches that aren't coherent with DMA, but when we do get one we'll move dma-mapping.c over. As for CONFIG_KGDB, none of the Kconfig files in the tree define it, so I'll let it languish for now. Signed-off-by: Paul Mackerras commit 8b844dd7591a820a618a8fb33c9c43186d43d1b9 tree 4185cfc9b84e574a197b9371db44703af9380815 parent ed981856ca8af30912fd61a6a4ac8d30a453a5ec author Paul Mackerras Mon, 27 Mar 2006 20:09:04 +1100 committer Paul Mackerras Mon, 27 Mar 2006 20:09:04 +1100 powerpc: Move perfmon_fsl_booke.c over to arch/powerpc Signed-off-by: Paul Mackerras commit 7bebd83dbf096d0bf4b4bfbaf5d8844a05f5eafc tree ea583040c5d9fbd8d72e7b9bfa831c9f7b553a5e parent 5d5d7727a8cde78f798ecf04bac8031eff536f9d author David S. Miller Mon, 27 Mar 2006 01:07:55 -0800 committer David S. Miller Mon, 27 Mar 2006 01:07:55 -0800 [SPARC64]: Fix off-by-1 error in TSB grow check. The worst part about this bug is what it would cause a hugepage TSB to be allocated for every address space since "0 >= 0". Signed-off-by: David S. Miller commit ed981856ca8af30912fd61a6a4ac8d30a453a5ec tree 7297090fc4c5445422be9a1f86e95c2e899881b1 parent 45320bcbabfa9149f43a5beb4b9a4f108dd98929 author Paul Mackerras Mon, 27 Mar 2006 19:28:58 +1100 committer Paul Mackerras Mon, 27 Mar 2006 19:28:58 +1100 powerpc: Move module.c over to arch/powerpc ... and rename it to module_32.c since it is the 32-bit version. The 32-bit and 64-bit ABIs are sufficiently different that having a merged version isn't really practical. Signed-off-by: Paul Mackerras commit 45320bcbabfa9149f43a5beb4b9a4f108dd98929 tree 9909762878ef1390c2570b6157c521fb6a068433 parent 9b781727fd1062671afa144b93e8c69b14bcac4d author Paul Mackerras Mon, 27 Mar 2006 19:21:46 +1100 committer Paul Mackerras Mon, 27 Mar 2006 19:21:46 +1100 powerpc: Move swsusp.S over to arch/powerpc ... and rename it to swsusp_32.S, since it's 32-bit only at this stage. Signed-off-by: Paul Mackerras commit 9b781727fd1062671afa144b93e8c69b14bcac4d tree 1cec35f0cedc664394b15165d96944019b8e1ff2 parent 0eb4cb9b16aba6d610a0716503b96d299b308d44 author Paul Mackerras Mon, 27 Mar 2006 19:15:26 +1100 committer Paul Mackerras Mon, 27 Mar 2006 19:15:26 +1100 powerpc: Move cpu_setup_6xx.S and temp.c over to arch/powerpc Also renamed temp.c to tau_6xx.c (for thermal assist unit) and updated the Kconfig option description and help text for CONFIG_TAU. Signed-off-by: Paul Mackerras commit ae36b883d29e53b6083ed3d1d44f254cee7507d3 tree f50d7dff1df5bf032f259fbd0bb33aca26123079 parent 09540e691d7f57684b296b60241b2ff357fae3ab author Jens Axboe Sun, 26 Mar 2006 14:38:54 +0200 committer Jens Axboe Mon, 27 Mar 2006 09:29:03 +0200 [PATCH] Don't make debugfs depend on DEBUG_KERNEL We use it generally now, at least blktrace isn't a specific debug kernel feature. Signed-off-by: Jens Axboe commit 09540e691d7f57684b296b60241b2ff357fae3ab tree 8702109657c8ee08435aab0322bb412924caabe2 parent 89a7689e5c039090d99cbdc3625252c3dee50f7f author Jens Axboe Sun, 26 Mar 2006 14:32:09 +0200 committer Jens Axboe Mon, 27 Mar 2006 09:29:03 +0200 [PATCH] Fix blktrace compile with sysfs not defined debugfs depends on sysfs, so make blktrace kconfig option depend on that. Reported by Adrian Bunk. Signed-off-by: Jens Axboe commit 89a7689e5c039090d99cbdc3625252c3dee50f7f tree 897b1b7ec9c779434eea9027f23e8355471b59b7 parent 837c7878771c15ed8d85ecf814ece7fcb4551b46 author Eric Sesterhenn Fri, 24 Mar 2006 10:00:57 +0100 committer Jens Axboe Mon, 27 Mar 2006 09:29:03 +0200 [PATCH] unused label in drivers/block/cciss. this patch removes a warning about an unused label, by moving the label into the ifdef. Signed-off-by: Eric Sesterhenn Signed-off-by: Jens Axboe commit 837c7878771c15ed8d85ecf814ece7fcb4551b46 tree 28b06f0734958802ab98e1e6712ac3c6bf8f2518 parent 4c5d0bbde9669cfb7f7fd4670dc9a117aea90384 author Ben Woodard Wed, 22 Mar 2006 08:09:31 +0100 committer Jens Axboe Mon, 27 Mar 2006 09:29:02 +0200 [BLOCK] increase size of disk stat counters The kernel's representation of the disk statistics uses the type unsigned which is 32b on both 32b and 64b platforms. Unfortunately, most system tools that work with these numbers that are exported in /proc/diskstats including iostat read these numbers into unsigned longs. This works fine on 32b platforms and when the number of IO transactions are small on 64b platforms. However, when the numbers wrap on 64b platforms & you read the numbers into unsigned longs, and compare the numbers to previous readings, then you get an unsigned representation of a negative number. This looks like a very large 64b number & gives you bizarre readouts in iostat: ilc4: Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util ilc4: sda 5.50 0.00 143.96 0.00 307496983987862656.00 0.00 153748491993931328.00 0.00 2136028725038430.00 7.94 55.12 5.59 80.42 Though fixing iostat in user space is possible, and a quick survey indicates that several other similar tools also use unsigned longs when processing /proc/diskstats. Therefore, it seems like a better approach would be to extend the length of the disk_stats structure on 64b architectures to 64b. The following patch does that. It should not affect the operation on 32b platforms. Signed-off-by: Ben Woodard Cc: Rick Lindsley Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe commit 4c5d0bbde9669cfb7f7fd4670dc9a117aea90384 tree 1c118a45803e81ab6bd1a049273b3971b46bb3cd parent b8fca1c7682105c843319728d8e37b42b19092bb author Andrew Morton Wed, 22 Mar 2006 08:08:01 +0100 committer Jens Axboe Mon, 27 Mar 2006 09:29:02 +0200 [PATCH] blk_execute_rq_nowait-speedup Both elv_add_request() and generic_unplug_device() grab the queue lock and disable interrupts, do that locally and use the __ variants. Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe commit b8fca1c7682105c843319728d8e37b42b19092bb tree 68fa6c49fbbf44fecf19399c89bb3a755eaad2c2 parent f68110fc28859f5d7231d5c4fb6dbe68b1394c9b author Jens Axboe Tue, 21 Mar 2006 15:24:37 +0100 committer Jens Axboe Mon, 27 Mar 2006 09:29:02 +0200 [PATCH] ide-cd: quiet down GPCMD_READ_CDVD_CAPACITY failure Some drives like to throw a: ATAPI device hdc: Error: Not ready -- (Sense key=0x02) Incompatible medium installed -- (asc=0x30, ascq=0x00) The failed "Read Cd/Dvd Capacity" packet command was: "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 " warning on incompatible media, so quiet down this error. Signed-off-by: Jens Axboe commit f68110fc28859f5d7231d5c4fb6dbe68b1394c9b tree f7150373bd16be8ae51d0283ee98b2f29043e723 parent 06ff37ffb4ba8bcbda0e9d19c712c954ef7b8a0a author Jens Axboe Wed, 08 Mar 2006 13:31:44 +0100 committer Jens Axboe Mon, 27 Mar 2006 09:29:02 +0200 [BLOCK] ll_rw_blk: kmalloc -> kzalloc conversion Signed-off-by: Jens Axboe commit 06ff37ffb4ba8bcbda0e9d19c712c954ef7b8a0a tree 67eb8baf5abbd0776d7fe1c13106c6c9bfe10750 parent 28832e83379afd0b0e83b78ac317290c79ebd496 author Eric Sesterhenn Wed, 08 Mar 2006 11:21:52 +0100 committer Jens Axboe Mon, 27 Mar 2006 09:29:02 +0200 [PATCH] kzalloc() conversion in drivers/block this patch converts drivers/block to kzalloc usage. Compile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: Jens Axboe commit 28832e83379afd0b0e83b78ac317290c79ebd496 tree 5b6acaed05134e0558f08546aca99d74d30f97e9 parent 5d5d7727a8cde78f798ecf04bac8031eff536f9d author Mike Christie Wed, 08 Mar 2006 11:19:51 +0100 committer Jens Axboe Mon, 27 Mar 2006 09:29:01 +0200 [PATCH] update max_sectors documentation The max_sectors has been split into max_hw_sectors and max_sectors for some time. A patch to have blk_queue_max_sectors enforce this was sent by me and it broke IDE. This patch updates the documentation. Signed-off-by: Jens Axboe commit 0eb4cb9b16aba6d610a0716503b96d299b308d44 tree 3a8b8ed7e3f4b5bde9b690b17aca7926ba9bef90 parent fbd7740fdfdf9475f92287a84085a1913541cd5d author Paul Mackerras Mon, 27 Mar 2006 15:22:28 +1100 committer Paul Mackerras Mon, 27 Mar 2006 15:22:28 +1100 powerpc: Move l2cr.S over to arch/powerpc No functional changes, but call it l2cr_6xx.S since it is specific to 6xx-family (including G3/750 and G4/74xx) processors. Signed-off-by: Paul Mackerras commit fbd7740fdfdf9475f92287a84085a1913541cd5d tree f8719f3c3c45b498c51aaf290a682468726beb55 parent a0652fc9a28c3ef8cd59264bfcb089c44d1b0e06 author Paul Mackerras Mon, 27 Mar 2006 15:06:20 +1100 committer Paul Mackerras Mon, 27 Mar 2006 15:06:20 +1100 powerpc: Simplify pSeries idle loop Since pSeries only wants to do something different in the idle loop when there is no work to do, we can simplify the code by implementing ppc_md.power_save functions instead of complete idle loops. There are two versions: one for shared-processor partitions and one for dedicated- processor partitions. With this we also do a cede_processor() call on dedicated processor partitions if the poll_pending() call indicates that the hypervisor has work it wants to do. Signed-off-by: Paul Mackerras commit a0652fc9a28c3ef8cd59264bfcb089c44d1b0e06 tree a28527b65237b3067553a993f5ad06dfb24df044 parent 55aab8cd3a498201b769a19de861c77516bdfd45 author Paul Mackerras Mon, 27 Mar 2006 15:03:03 +1100 committer Paul Mackerras Mon, 27 Mar 2006 15:03:03 +1100 powerpc: Unify the 32 and 64 bit idle loops This unifies the 32-bit (ARCH=ppc and ARCH=powerpc) and 64-bit idle loops. It brings over the concept of having a ppc_md.power_save function from 32-bit to ARCH=powerpc, which lets us get rid of native_idle(). With this we will also be able to simplify the idle handling for pSeries and cell. Signed-off-by: Paul Mackerras commit 55aab8cd3a498201b769a19de861c77516bdfd45 tree 1d05000e49324876872bb8e9deb0359379674616 parent 1f5e3b028c5b592b5a792a390c78d609219aebfd author Michael Neuling Sat, 25 Mar 2006 17:30:00 +1100 committer Paul Mackerras Mon, 27 Mar 2006 14:49:48 +1100 [PATCH] powerpc: HVC init race I've been hitting a crash on boot where tty_open is being called before the hvc console driver setup is complete. This fixes the problem. Thanks to benh for his help on this. Signed-off-by: Michael Neuling Acked-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 1f5e3b028c5b592b5a792a390c78d609219aebfd tree f8aec1818e99f8ee485fdc686c73299bcbb6a18a parent f8dd311982c86141f4f2fd326c0edf0c2d9fd97b author Sylvain Munaut Sun, 26 Mar 2006 13:38:09 +0200 committer Paul Mackerras Mon, 27 Mar 2006 14:49:00 +1100 [PATCH] ppc32: Reorganize and complete MPC52xx initial cpu setup ppc32: Reorganize and complete MPC52xx initial cpu setup This patch splits up the CPU setup into a generic part and a platform specific part. We also add a few missing init at the same time. Signed-off-by: Sylvain Munaut Signed-off-by: Paul Mackerras commit f8dd311982c86141f4f2fd326c0edf0c2d9fd97b tree 474af7852e393a112456127b1185e84f1b7b57ab parent 5931c4350059ce9bd5fe398b628c478753a11e44 author Sylvain Munaut Sun, 26 Mar 2006 13:37:38 +0200 committer Paul Mackerras Mon, 27 Mar 2006 14:48:58 +1100 [PATCH] ppc32: Adds support for the LITE5200B dev board ppc32: Adds support for the LITE5200B dev board This LITE5200B devboard is the new development board for the Freescale MPC5200 processor. It has two PCI slots and so a different PCI IRQ routing. Signed-off-by: John Rigby Signed-off-by: Sylvain Munaut Signed-off-by: Paul Mackerras commit 5931c4350059ce9bd5fe398b628c478753a11e44 tree 4df1521e0bf4a809a8f7f54d14990485e3f92859 parent 37a801c776109dce801875b12525a9eaa12481e6 author Sylvain Munaut Sun, 26 Mar 2006 13:37:07 +0200 committer Paul Mackerras Mon, 27 Mar 2006 14:48:56 +1100 [PATCH] ppc32: Adds support for the PCI hostbridge in MPC5200B ppc32: Adds support for the PCI hostbridge in MPC5200B Signed-off-by: John Rigby Signed-off-by: Sylvain Munaut Signed-off-by: Paul Mackerras commit 37a801c776109dce801875b12525a9eaa12481e6 tree 80049af133cfb0d9a9b3dc1e519de958fc08268c parent b8c7b976a570aede21327e7d64781801e1641606 author Michael Neuling Sun, 26 Mar 2006 10:07:35 +1000 committer Paul Mackerras Mon, 27 Mar 2006 14:48:54 +1100 [PATCH] powerpc: legacy_serial loop cleanup We only ever execute the loop once, so let's move it to a function making it more readable. Cleanup patch, no functional change. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit b8c7b976a570aede21327e7d64781801e1641606 tree e9c028187448dbe77bd36685a591b1f6d3c1274b parent c258dd40ab8851c41873516ef90125e3bcd2e3e1 author Anton Blanchard Sat, 25 Mar 2006 17:31:30 +1100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:52 +1100 [PATCH] powerpc: Compile warning in hvcs driver We ended up with an unused variable after the tty updates went in. Fix it. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit c258dd40ab8851c41873516ef90125e3bcd2e3e1 tree 0bcdf1d03a92e2db7a5c0ebaa69ab002f6dd6e2b parent 4df20460a3ff0d60280738b094945c56cb5567a5 author Anton Blanchard Sat, 25 Mar 2006 17:27:09 +1100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:50 +1100 [PATCH] powerpc: Consistent printing of node id We were printing node ids in hex in one spot. Lets be consistent and always print them in decimal. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 4df20460a3ff0d60280738b094945c56cb5567a5 tree 39f831cf5f778b14a08b3453a8f798b2b8be8813 parent b4f382a3e5e20ba867e7aa5b01189a3fd40eea2c author Anton Blanchard Sat, 25 Mar 2006 17:25:17 +1100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:48 +1100 [PATCH] powerpc: Allow non zero boot cpuids We currently have a hack to flip the boot cpu and its secondary thread to logical cpuid 0 and 1. This means the logical - physical mapping will differ depending on which cpu is boot cpu. This is most apparent on kexec, where we might kexec on any cpu and therefore change the mapping from boot to boot. The patch below does a first pass early on to work out the logical cpuid of the boot thread. We then fix up some paca structures to match. Ive also removed the boot_cpuid_phys variable for ppc64, to be consistent we use get_hard_smp_processor_id(boot_cpuid) everywhere. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit b4f382a3e5e20ba867e7aa5b01189a3fd40eea2c tree afc522e8e0db3ac287f36ac96a5bb757845612f1 parent 79c227a92ce9fe0504e9c4aaadf3bfacb0f5f45e author Linas Vepstas Fri, 24 Mar 2006 17:11:29 -0600 committer Paul Mackerras Mon, 27 Mar 2006 14:48:46 +1100 [PATCH] powerpc/pseries: Cleanup device name printing. This avoids printk'ing a NULL string. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 79c227a92ce9fe0504e9c4aaadf3bfacb0f5f45e tree 3e674a8ec79bd170a86e1c5544948d267b381346 parent 47952d5ea67dc7098667a954483a82acf81eb4da author Arnd Bergmann Fri, 24 Mar 2006 19:49:27 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:44 +1100 [PATCH] spufs: Fix endless protection fault on LS writes by SPE. If an SPE attempts a DMA put to a local store after already doing a get, the kernel must update the HW PTE to allow the write access. This case was not being handled correctly. From: Mike Kistler Signed-off-by: Mike Kistler Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 47952d5ea67dc7098667a954483a82acf81eb4da tree 1696c80c6b883496006abd0a4586b02a981a50d4 parent 2fa68747dad290f4415e2ea8565d57876747b2d3 author Arnd Bergmann Fri, 24 Mar 2006 19:47:52 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:42 +1100 [PATCH] powerpc: use guarded ioremap for cell on-chip mappings I'm not sure where the information came from, but I assumed that doing cache-inhibited mappings for mmio regions was sufficient. It seems we also need the guarded bit set, like everyone else, which is the default for ioremap. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 2fa68747dad290f4415e2ea8565d57876747b2d3 tree ed801d9bbef113a9267127594115c8f3fc5ba7b4 parent 16cc11daff0230bcd1ae7327c1c256c0aa02cad6 author Arnd Bergmann Fri, 24 Mar 2006 19:46:29 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:40 +1100 [PATCH] powerpc: fix spider-pic affinity setting As noticed by Milton Miller, setting the initial affinity in spider-pic can go wrong if the target node field was not orinally empty. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 16cc11daff0230bcd1ae7327c1c256c0aa02cad6 tree b12424c57592741aa29c5876c872b06f166a3a78 parent add60ef303809087999412209d24d400a1c96670 author John Rose Fri, 24 Mar 2006 11:25:32 -0600 committer Paul Mackerras Mon, 27 Mar 2006 14:48:38 +1100 [PATCH] powerpc: dynamic probe - use ppc_md.pci_probe_mode() Change the dynamic PCI probe function for pSeries to use ppc_md.pci_probe_mode() when appropriate. Signed-off-by: John Rose Signed-off-by: Paul Mackerras commit add60ef303809087999412209d24d400a1c96670 tree f95a1105c5f680149131eb56084e86321b41170e parent 069007ae07ab9286fbe42e9a66b78e184f752a05 author Olaf Hering Thu, 23 Mar 2006 22:03:57 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:36 +1100 [PATCH] powerpc: return to OF via trap, not exit Do not call prom exit prom_panic. It clears the screen and the exit message is lost. On some (or all?) pmacs it causes another crash when OF tries to print the date and time in its banner. Set of_platform earlier to catch more prom_panic() calls. Signed-off-by: Olaf Hering Acked-by: Segher Boessenkool Signed-off-by: Paul Mackerras commit 069007ae07ab9286fbe42e9a66b78e184f752a05 tree 827f084167c9080e88b0555a37f2c5a9839a82cd parent 6088857b169c64e6e9672a2a66e76db3e957d5db author Andrew Morton Fri, 24 Mar 2006 02:34:46 -0800 committer Paul Mackerras Mon, 27 Mar 2006 14:48:34 +1100 [PATCH] powerpc: hot_add_scn_to_nid() build fix The return statement is to prevent `warning: 'nid' might be used uninitialized in this function'. Cc: Nathan Lynch Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 6088857b169c64e6e9672a2a66e76db3e957d5db tree 9864cf2887f365456d6edac28a78cd939b48dc52 parent ca3e91cb0cd53da70621f85d24a080b23751a013 author Olaf Hering Thu, 23 Mar 2006 21:50:59 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:32 +1100 [PATCH] correct the comment about stackpointer alignment in __boot_from_prom The address of variable val in prom_init_stdout is passed to prom_getprop. prom_getprop casts the pointer to u32 and passes it to call_prom in the hope that OpenFirmware stores something there. But the pointer is truncated in the lower bits and the expected value is stored somewhere else. In my testing I had a stackpointer of 0x0023e6b4. val was at offset 120, wich has address 0x0023e72c. But the value passed to OF was 0x0023e728. c00000000040b710: 3b 01 00 78 addi r24,r1,120 ... c00000000040b754: 57 08 00 38 rlwinm r8,r24,0,0,28 ... c00000000040b784: 80 01 00 78 lwz r0,120(r1) ... c00000000040b798: 90 1b 00 0c stw r0,12(r27) ... The stackpointer came from 32bit code. The chain was yaboot -> zImage -> vmlinux PowerMac OpenFirmware does appearently not handle the ELF sections correctly. If yaboot was compiled in /usr/src/packages/BUILD/lilo-10.1.1/yaboot, then the stackpointer is unaligned. But the stackpointer is correct if yaboot is compiled in /tmp/yaboot. This bug triggered since 2.6.15, now prom_getprop is an inline function. gcc clears the lower bits, instead of just clearing the upper 32 bits. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit ca3e91cb0cd53da70621f85d24a080b23751a013 tree 3200ffe0b07f0a2a9b513ac5a1add6c0e7910896 parent 6df10a82f8de89c66eb91c371d62d76e87b2cbba author Dirk Herrendoerfer Thu, 23 Mar 2006 00:00:13 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:30 +1100 [PATCH] spufs: initialize context correctly the mfc member of a new context was not initialized to zero, which potentially leads to wild memory accesses. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 6df10a82f8de89c66eb91c371d62d76e87b2cbba tree e8615f4c00a44f4e4a609d59c51e958f0300526b parent a33a7d7309d79656bc19a0e96fc4547a1633283e author Mark Nutter Thu, 23 Mar 2006 00:00:12 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:28 +1100 [PATCH] spufs: enable SPE problem state MMIO access. This patch is layered on top of CONFIG_SPARSEMEM and is patterned after direct mapping of LS. This patch allows mmap() of the following regions: "mfc", which represents the area from [0x3000 - 0x3fff]; "cntl", which represents the area from [0x4000 - 0x4fff]; "signal1" which begins at offset 0x14000; "signal2" which begins at offset 0x1c000. The signal1 & signal2 files may be mmap()'d by regular user processes. The cntl and mfc file, on the other hand, may only be accessed if the owning process has CAP_SYS_RAWIO, because they have the potential to confuse the kernel with regard to parallel access to the same files with regular file operations: the kernel always holds a spinlock when accessing registers in these areas to serialize them, which can not be guaranteed with user mmaps, Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit a33a7d7309d79656bc19a0e96fc4547a1633283e tree f3de6d139af1f1cbdf6d37800c9e13c07e9bc7f6 parent 2dd14934c9138c562d93c501e88c6d6f061eb8ba author Arnd Bergmann Thu, 23 Mar 2006 00:00:11 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:26 +1100 [PATCH] spufs: implement mfc access for PPE-side DMA This patch adds a new file called 'mfc' to each spufs directory. The file accepts DMA commands that are a subset of what would be legal DMA commands for problem state register access. Upon reading the file, a bitmask is returned with the completed tag groups set. The file is meant to be used from an abstraction in libspe that is added by a different patch. From the kernel perspective, this means a process can now offload a memory copy from or into an SPE local store without having to run code on the SPE itself. The transfer will only be performed while the SPE is owned by one thread that is waiting in the spu_run system call and the data will be transferred into that thread's address space, independent of which thread started the transfer. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 2dd14934c9138c562d93c501e88c6d6f061eb8ba tree 2eda4f517dd319989908a80bfbe06ce629932f77 parent a7f31841a40776605c834053ad1eb82d539bd79f author Arnd Bergmann Thu, 23 Mar 2006 00:00:09 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:24 +1100 [PATCH] spufs: allow SPU code to do syscalls An SPU does not have a way to implement system calls itself, but it can create intercepts to the kernel. This patch uses the method defined by the JSRE interface for C99 host library calls from an SPU to implement Linux system calls. It uses the reserved SPU stop code 0x2104 for this, using the structure layout and syscall numbers for ppc64-linux. I'm still undecided wether it is better to have a list of allowed syscalls or a list of forbidden syscalls, since we can't allow an SPU to call all syscalls that are defined for ppc64-linux. This patch implements the easier choice of them, with a blacklist that only prevents an SPU from calling anything that interacts with its own execution, e.g fork, execve, clone, vfork, exit, spu_run and spu_create and everything that deals with signals. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit a7f31841a40776605c834053ad1eb82d539bd79f tree c603bce363b9feed7251ef9a29a2edf31009178e parent 5536408c21cdde38bfdbb59a6fd4fcbf1232699f author Arnd Bergmann Thu, 23 Mar 2006 00:00:08 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:22 +1100 [PATCH] powerpc: declare arch syscalls in powerpc currently declares some of its own system calls in , but not all of them. That place also contains remainders of the now almost unused kernel syscall hack. - Add a new with clean declarations - Include that file from every source that implements one of these - Get rid of old declarations in This patch is required as a base for implementing system calls from an SPU, but also makes sense as a general cleanup. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5536408c21cdde38bfdbb59a6fd4fcbf1232699f tree 70ef920f6bc97383d1363926f19499167d0d2249 parent d0e57c68373f8ded8c50245fd082e606f9f63221 author Arnd Bergmann Thu, 23 Mar 2006 00:00:07 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:20 +1100 [PATCH] powerpc: work around a cell interrupt HW bug Apparently we have found a bug in the CPU that causes external interrupts to sometimes get disabled indefinitely. This adds a workaround for the problem. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit d0e57c68373f8ded8c50245fd082e606f9f63221 tree e74b9d732e519c150e12b16026a782e4987b5c7c parent 1a19f85584414ae0a9f94406ffd628096127583e author Jens Osterkamp Thu, 23 Mar 2006 00:00:06 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:18 +1100 [PATCH] powerpc: cell interrupt controller updates The current interrupt controller setup on Cell is done in a rather ad-hoc way with device tree properties that are not standardized at all. In an attempt to do something that follows the OF standard (or at least the IBM extensions to it) more closely, we have now come up with this patch. It still provides a fallback to the old behaviour when we find older firmware, that hack can not be removed until the existing customer installations have upgraded. Cc: hpenner@de.ibm.com Cc: stk@de.ibm.com Cc: Segher Boessenkool Cc: Milton Miller Cc: benh@kernel.crashing.org Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 1a19f85584414ae0a9f94406ffd628096127583e tree da40a6d33f36d89dc1d86509f15892a9b6f71f75 parent 5fa500bfc60f36c54bb20338795cc2facc0425f6 author Arnd Bergmann Thu, 23 Mar 2006 00:00:05 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:16 +1100 [PATCH] powerpc: update cell defconfig The default configuration in mainline got a little out of sync with what we use internally. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5fa500bfc60f36c54bb20338795cc2facc0425f6 tree cc5de78de2439330bcd7d4db19598d3ec56bc20c parent dd4d7bfad635dddc56b74dab1894ef01c8c836e1 author Arnd Bergmann Thu, 23 Mar 2006 00:00:04 +0100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:14 +1100 [PATCH] powerpc: fix cell iommu setup A small bug crept in the iommu driver when we made it more generic. This patch is needed for boards that have a dma window that does not start at bus address zero. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit dd4d7bfad635dddc56b74dab1894ef01c8c836e1 tree 4ce50568ffa94cd01803c57881d59c8bacda6dbe parent e3f94b85f98a346c5eb0ac0d9539b71cb7057143 author Michael Ellerman Thu, 23 Mar 2006 23:33:03 +1100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:12 +1100 [PATCH] powerpc: Change firmware_has_feature() to a macro So that we can use firmware_has_feature() in a BUG_ON() and have the compiler elide the code entirely if the feature can never be set, change firmware_has_feature to a macro. Unfortunate, but necessary at least until GCC bug #26724 is fixed. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit e3f94b85f98a346c5eb0ac0d9539b71cb7057143 tree 69cc1fcb75d5af9e89c6a28264547bfc5deadd1b parent af308377e204e25f1f58627d05fe0f483703b514 author Michael Ellerman Thu, 23 Mar 2006 23:32:24 +1100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:10 +1100 [PATCH] powerpc: Make BUG_ON & WARN_ON play nice with compile-time optimisations Change BUG_ON and WARN_ON to give the compiler a chance to perform compile-time optimsations. Depending on the complexity of the condition, the compiler may not do this very well, so if it's important check the object code. Current GCC's (4.x) produce good code as long as the condition does not include a function call, including a static inline. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit af308377e204e25f1f58627d05fe0f483703b514 tree bed18644cbf621ecb5447e626e6a0957ab363a46 parent 7c92943c7b6c42fa631ac2b67aeb507e727cd75b author Stephen Rothwell Thu, 23 Mar 2006 17:38:10 +1100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:08 +1100 [PATCH] powerpc: fix various sparse warnings Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 7c92943c7b6c42fa631ac2b67aeb507e727cd75b tree 6fcfee97618ff9b2d23d639a825b62e935028496 parent 5d5d7727a8cde78f798ecf04bac8031eff536f9d author Stephen Rothwell Thu, 23 Mar 2006 17:36:59 +1100 committer Paul Mackerras Mon, 27 Mar 2006 14:48:06 +1100 [PATCH] powerpc: work around sparse warnings in cputable.h Christoph noticed that sparse warned about all the enum tags in cuptable.h that had values that required them to be type log. (enum tags are ints according to the standard.) This patch attempts to fix them in the least intrusive way possible by turning them all into #defines except for the 32 bit CPU_FTRS_POSSIBLE and CPU_FTRS_ALWAYS which are hard to construct that way. This works because these last two contain no bits above 2^31. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 3eb4801d7bde42b82f05137392a1ee0ece090bad tree b2c77a296de517b8b1c551fd81b1795a9d1204a2 parent 6abaaaae6d5ed52422c8caf65f3cdbb95579bb58 author Norbert Kiesel Sun, 26 Mar 2006 17:39:55 -0800 committer David S. Miller Sun, 26 Mar 2006 17:39:55 -0800 [NET]: drop duplicate assignment in request_sock Just noticed that request_sock.[ch] contain a useless assignment of rskq_accept_head to itself. I assume this is a typo and the 2nd one was supposed to be _tail. However, setting _tail to NULL is not needed, so the patch below just drops the 2nd assignment. Signed-off-By: Norbert Kiesel Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 6abaaaae6d5ed52422c8caf65f3cdbb95579bb58 tree d35a7ca08d9ced7c7204197d2dd532bd3c8971fe parent 64bc0430ee78c03c5c4ce549e217bb74bff7ea5d author Herbert Xu Sun, 26 Mar 2006 17:37:54 -0800 committer David S. Miller Sun, 26 Mar 2006 17:37:54 -0800 [IPSEC]: Fix tunnel error handling in ipcomp6 The error handling in ipcomp6_tunnel_create is broken in two ways: 1) If we fail to allocate an SPI (this should never happen in practice since there are plenty of 32-bit SPI values for us to use), we will still go ahead and create the SA. 2) When xfrm_init_state fails, we first of all may trigger the BUG_TRAP in __xfrm_state_destroy because we didn't set the state to DEAD. More importantly we end up returning the freed state as if we succeeded! This patch fixes them both. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 5d5d7727a8cde78f798ecf04bac8031eff536f9d tree 41a34622391955c93c76d7541940568144fd2eec parent e7104b67040af98664dcd2c9cd36381ac0089f8b author David S. Miller Sun, 26 Mar 2006 15:30:29 -0800 committer David S. Miller Sun, 26 Mar 2006 15:30:29 -0800 [SPARC64]: Kill duplicate exports of string library functions. Kbuild now points these out. Signed-off-by: David S. Miller commit e7104b67040af98664dcd2c9cd36381ac0089f8b tree 07559b584bcd0a2b3598eff69343768915994dee parent 64bc0430ee78c03c5c4ce549e217bb74bff7ea5d author David S. Miller Sun, 26 Mar 2006 14:58:40 -0800 committer David S. Miller Sun, 26 Mar 2006 14:58:40 -0800 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit aee85fe8e8143d3f54d9e6d3c6cdd40ead563267 tree 09f6422b78bebb6783b1590339a0c72a30319d50 parent fbb18a277a6f192404aa20ece49529acb1e1e76d author Lennert Buytenhek Sun, 26 Mar 2006 23:16:39 +0100 committer Russell King Sun, 26 Mar 2006 23:16:39 +0100 [SERIAL] Provide Cirrus EP93xx AMBA PL010 serial support. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit fbb18a277a6f192404aa20ece49529acb1e1e76d tree 2ae2b039d05ce15ad6e0f7209877aaf918f8f24a parent 335bd9dff31d042b773591933d3ee5bd62d5ea27 author Russell King Sun, 26 Mar 2006 23:13:39 +0100 committer Russell King Sun, 26 Mar 2006 23:13:39 +0100 [SERIAL] amba-pl010: allow platforms to specify modem control method The amba-pl010 hardware does not provide RTS and DTR control lines; it is expected that these will be implemented using GPIO. Allow platforms to supply a function to implement manipulation of modem control lines. Signed-off-by: Russell King commit bd8f103efef14980decf5d54a2de85835e9a6d9a tree 1bee43ed9b856aacd163928d715d4f9b87091348 parent c9b4470e2d9d611181fe488fdf463948d8b24901 author Richard Purdie Sun, 26 Mar 2006 21:40:27 +0100 committer Russell King Sun, 26 Mar 2006 21:40:27 +0100 [ARM] 3415/1: Akita: Add missing EXPORT_SYMBOL Patch from Richard Purdie Add an EXPORT_SYMBOL for the Akita IO Expander Device. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit c9b4470e2d9d611181fe488fdf463948d8b24901 tree 5f74c641d602d2f3aa68f9fa3795a46ebb0fbe08 parent 36ddf5bbdea7ba4582abc62f106f0f0e9f0b6b91 author Lennert Buytenhek Sun, 26 Mar 2006 21:40:27 +0100 committer Russell King Sun, 26 Mar 2006 21:40:27 +0100 [ARM] 3414/1: ep93xx: reset ethernet controller before uncompressing Patch from Lennert Buytenhek The Redboot version that cirrus supplies for the cirrus ep93xx doesn't turn off DMA from the ethernet MAC before jumping to linux, which means that we might end up with bits of RX status and packet data scribbled over the uncompressed kernel image. Work around this by resetting the ethernet MAC before we uncompress. We don't usually work around bootloader bugs, but considering that the large majority of ep93xx boards out there have this problem, I figured this it was justified in this case. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 335bd9dff31d042b773591933d3ee5bd62d5ea27 tree d90228d7e8853bbc0a32f45352eb34602da943af parent 8faaea3faa5ed0b2a15afb7b4e57ce0cd8dbe4ef author Ralf Baechle Sun, 26 Mar 2006 21:25:57 +0100 committer Russell King Sun, 26 Mar 2006 21:25:57 +0100 [SERIAL] Remove obsoleted au1x00_uart driver As announced in feature-removal-schedule.txt. Signed-off-by: Ralf Baechle Signed-off-by: Russell King commit 8faaea3faa5ed0b2a15afb7b4e57ce0cd8dbe4ef tree 0ce4c35a50600466fa79b76103cc67bdc7668bf1 parent 36ddf5bbdea7ba4582abc62f106f0f0e9f0b6b91 author Freddy Spierenburg Sun, 26 Mar 2006 21:22:51 +0100 committer Russell King Sun, 26 Mar 2006 21:22:51 +0100 [SERIAL] Small time UART configuration fix for AU1100 processor The AU1100 processor does not have an internal UART2. Only UART0, UART1 and UART3 exist. This patch removes the non existing UART2 and replaces it with a descriptive comment. Signed-off-by: Freddy Spierenburg Signed-off-by: Russell King commit 64bc0430ee78c03c5c4ce549e217bb74bff7ea5d tree fdeb7f4caac07183c0f603579adb91288c024820 parent 9ae21d1bb376436285cd5346d3e4b3655d6dd1b9 author Manfred Spraul Sun, 26 Mar 2006 12:19:42 +0200 committer Linus Torvalds Sun, 26 Mar 2006 09:46:36 -0800 [PATCH] one ipc/sem.c->mutex.c converstion too many.. Ingo's sem2mutex patch incorrectly replaced one reference to ipc/sem.c with ipc/mutex.c in a comment. Signed-off-by: Manfred Spraul Signed-off-by: Linus Torvalds commit 9ae21d1bb376436285cd5346d3e4b3655d6dd1b9 tree 8f889770fae721da63bd378c1834a87e2eb1cfb5 parent f9b4192923fa6e38331e88214b1fe5fc21583fcc parent e9415777b1cd0eaf4d1d3d61772f0e6d5c2551ad author Linus Torvalds Sun, 26 Mar 2006 09:41:18 -0800 committer Linus Torvalds Sun, 26 Mar 2006 09:41:18 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: drivers/char/ftape/lowlevel/fdc-io.c: Correct a comment Kconfig help: MTD_JEDECPROBE already supports Intel Remove ugly debugging stuff do_mounts.c: Minor ROOT_DEV comment cleanup BUG_ON() Conversion in drivers/s390/block/dasd_devmap.c BUG_ON() Conversion in mm/mempool.c BUG_ON() Conversion in mm/memory.c BUG_ON() Conversion in kernel/fork.c BUG_ON() Conversion in ipc/sem.c BUG_ON() Conversion in fs/ext2/ BUG_ON() Conversion in fs/hfs/ BUG_ON() Conversion in fs/dcache.c BUG_ON() Conversion in fs/buffer.c BUG_ON() Conversion in input/serio/hp_sdc_mlc.c BUG_ON() Conversion in md/dm-table.c BUG_ON() Conversion in md/dm-path-selector.c BUG_ON() Conversion in drivers/isdn BUG_ON() Conversion in drivers/char BUG_ON() Conversion in drivers/mtd/ commit e9415777b1cd0eaf4d1d3d61772f0e6d5c2551ad tree b99e78d5e5561322d8b7349294ac85cc6280afea parent 8917f6f70b01ac6e4d534f8a387900caec11bf54 author Bastien Roucaries Sun, 26 Mar 2006 19:18:07 +0200 committer Adrian Bunk Sun, 26 Mar 2006 19:18:07 +0200 drivers/char/ftape/lowlevel/fdc-io.c: Correct a comment This patch correct a comment about cli(). Signed-off-by: Bastien Roucaries Signed-off-by: Adrian Bunk commit 8917f6f70b01ac6e4d534f8a387900caec11bf54 tree 7f4103aa51d10f40d167a8b32f78ee3a554873c0 parent 3be7d29fb9c02962b49be636b30ca9cadd0fda4b author Adrian Bunk Sun, 26 Mar 2006 19:15:03 +0200 committer Adrian Bunk Sun, 26 Mar 2006 19:15:03 +0200 Kconfig help: MTD_JEDECPROBE already supports Intel Intel chips are already supported. Signed-off-by: Adrian Bunk Acked-by: David Woodhouse commit f9b4192923fa6e38331e88214b1fe5fc21583fcc tree a75d460256e44d79f04cd28895f689f6e7cb7bad parent 37d54111c133bea05fbae9dfe6d3d61a1b19c09b author Akinobu Mita Sun, 26 Mar 2006 01:40:00 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:59:30 -0800 [PATCH] bitops: hweight() speedup wrote: This is an extremely well-known technique. You can see a similar version that uses a multiply for the last few steps at http://graphics.stanford.edu/~seander/bithacks.html#CountBitsSetParallel whch refers to "Software Optimization Guide for AMD Athlon 64 and Opteron Processors" http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/25112.PDF It's section 8.6, "Efficient Implementation of Population-Count Function in 32-bit Mode", pages 179-180. It uses the name that I am more familiar with, "popcount" (population count), although "Hamming weight" also makes sense. Anyway, the proof of correctness proceeds as follows: b = a - ((a >> 1) & 0x55555555); c = (b & 0x33333333) + ((b >> 2) & 0x33333333); d = (c + (c >> 4)) & 0x0f0f0f0f; #if SLOW_MULTIPLY e = d + (d >> 8) f = e + (e >> 16); return f & 63; #else /* Useful if multiply takes at most 4 cycles */ return (d * 0x01010101) >> 24; #endif The input value a can be thought of as 32 1-bit fields each holding their own hamming weight. Now look at it as 16 2-bit fields. Each 2-bit field a1..a0 has the value 2*a1 + a0. This can be converted into the hamming weight of the 2-bit field a1+a0 by subtracting a1. That's what the (a >> 1) & mask subtraction does. Since there can be no borrows, you can just do it all at once. Enumerating the 4 possible cases: 0b00 = 0 -> 0 - 0 = 0 0b01 = 1 -> 1 - 0 = 1 0b10 = 2 -> 2 - 1 = 1 0b11 = 3 -> 3 - 1 = 2 The next step consists of breaking up b (made of 16 2-bir fields) into even and odd halves and adding them into 4-bit fields. Since the largest possible sum is 2+2 = 4, which will not fit into a 4-bit field, the 2-bit ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "which will not fit into a 2-bit field" fields have to be masked before they are added. After this point, the masking can be delayed. Each 4-bit field holds a population count from 0..4, taking at most 3 bits. These numbers can be added without overflowing a 4-bit field, so we can compute c + (c >> 4), and only then mask off the unwanted bits. This produces d, a number of 4 8-bit fields, each in the range 0..8. From this point, we can shift and add d multiple times without overflowing an 8-bit field, and only do a final mask at the end. The number to mask with has to be at least 63 (so that 32 on't be truncated), but can also be 128 or 255. The x86 has a special encoding for signed immediate byte values -128..127, so the value of 255 is slower. On other processors, a special "sign extend byte" instruction might be faster. On a processor with fast integer multiplies (Athlon but not P4), you can reduce the final few serially dependent instructions to a single integer multiply. Consider d to be 3 8-bit values d3, d2, d1 and d0, each in the range 0..8. The multiply forms the partial products: d3 d2 d1 d0 d3 d2 d1 d0 d3 d2 d1 d0 + d3 d2 d1 d0 ---------------------- e3 e2 e1 e0 Where e3 = d3 + d2 + d1 + d0. e2, e1 and e0 obviously cannot generate any carries. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3be7d29fb9c02962b49be636b30ca9cadd0fda4b tree 2ec3fc11cb5f423091bd050181ac1786167c2ded parent 5ac35783f4a471d43c557db27928bc29f8a9c6d0 author Artem B. Bityuckiy Sun, 26 Mar 2006 18:58:31 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:58:31 +0200 Remove ugly debugging stuff Signed-off-by: Adrian Bunk commit 37d54111c133bea05fbae9dfe6d3d61a1b19c09b tree 780d15232a465815b96e2cd22c85b3e05f2b1238 parent e9bebd6f3acee68fa07d44726895b40733cb1dc0 author Akinobu Mita Sun, 26 Mar 2006 01:39:56 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:15 -0800 [PATCH] bitops: hweight() related cleanup By defining generic hweight*() routines - hweight64() will be defined on all architectures - hweight_long() will use architecture optimized hweight32() or hweight64() I found two possible cleanups by these reasons. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9bebd6f3acee68fa07d44726895b40733cb1dc0 tree 62809c9d7730f8488f3a1f52a38e0de146aea1fa parent b9a2838cc26c4c5369fbd2482acbc5ab60573479 author Akinobu Mita Sun, 26 Mar 2006 01:39:55 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:15 -0800 [PATCH] bitops: remove unused generic bitops in include/linux/bitops.h generic_{ffs,fls,fls64,hweight{64,32,16,8}}() were moved into include/asm-generic/bitops.h. So all architectures don't use them. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b9a2838cc26c4c5369fbd2482acbc5ab60573479 tree 3569c6b2edc1cf11cc2f34ed185b79009a86c620 parent 55b0f8a68ab475cc68f88d1e7a873490869d022e author Akinobu Mita Sun, 26 Mar 2006 01:39:53 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:15 -0800 [PATCH] bitops: ntfs: remove generic_ffs() Now the only user who are using generic_ffs() is ntfs filesystem. This patch isolates generic_ffs() as ntfs_ffs() for ntfs. Signed-off-by: Akinobu Mita Cc: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55b0f8a68ab475cc68f88d1e7a873490869d022e tree f569dd577e7fd53a15a9d3bb69868bbc941aac93 parent 6ecf66ae49390bb790673d46e5fb723edcc3733b author Akinobu Mita Sun, 26 Mar 2006 01:39:53 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:15 -0800 [PATCH] bitops: ia64: make partial_page.bitmap an unsigned long The find_*_bit() routines are defined to work on a pointer to unsigned long. But partial_page.bitmap is unsigned int and it is passed to find_*_bit() in arch/ia64/ia32/sys_ia32.c. So the compiler will print warnings. This patch changes to unsigned long instead. Signed-off-by: Akinobu Mita Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ecf66ae49390bb790673d46e5fb723edcc3733b tree 67ce42b9a207034b34f0d20a1af367d6aea2848b parent f51a05c16d3d051f5e000c50bccc4be91fe5f9f3 author Akinobu Mita Sun, 26 Mar 2006 01:39:51 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:15 -0800 [PATCH] bitops: sh: make thread_info.flags an unsigned long The test_bit() routines are defined to work on a pointer to unsigned long. But thread_info.flags is __u32 (unsigned int) on sh and it is passed to flag set/clear/test wrappers in include/linux/thread_info.h. So the compiler will print warnings. This patch changes to unsigned long instead. Signed-off-by: Akinobu Mita Cc: Paul Mundt Cc: Kazumoto Kojima Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f51a05c16d3d051f5e000c50bccc4be91fe5f9f3 tree 5753aad24e45b7218f63f789c754de1117c56df4 parent d4337aa5281a7357666f713339211fcd278f4e7a author Akinobu Mita Sun, 26 Mar 2006 01:39:50 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:15 -0800 [PATCH] bitops: update include/asm-generic/bitops.h Currently include/asm-generic/bitops.h is not referenced from anywhere. But it will be the benefit of those who are trying to port Linux to another architecture. So update it by same manner Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4337aa5281a7357666f713339211fcd278f4e7a tree 405917e1e56f1beab9b0e5eddff6b15932795624 parent f33e2fbacce8008984db99c45120db31081577c5 author Akinobu Mita Sun, 26 Mar 2006 01:39:43 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:15 -0800 [PATCH] bitops: xtensa: use generic bitops - remove {,test_and_}{set,clear,change}_bit() - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove generic_fls64() - remove find_{next,first}{,_zero}_bit() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove generic_hweight{32,16,8}() - remove sched_find_first_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f33e2fbacce8008984db99c45120db31081577c5 tree 762b2bdbbc10e36cca280ed06710d7a4964fba88 parent a58259cddf9f824af27abf8960ed604bee53f7c1 author Akinobu Mita Sun, 26 Mar 2006 01:39:42 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: x86_64: use generic bitops - remove sched_find_first_bit() - remove generic_hweight{64,32,16,8}() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a58259cddf9f824af27abf8960ed604bee53f7c1 tree 9282162d83466a9760cc32c3d561ea4109f5f914 parent 2d78d4beb64eb07d50665432867971c481192ebf author Akinobu Mita Sun, 26 Mar 2006 01:39:41 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: v850: use generic bitops - remove ffz() - remove find_{next,first}{,_zero}_bit() - remove generic_ffs() - remove generic_fls() - remove generic_fls64() - remove __ffs() - remove sched_find_first_bit() - remove generic_hweight{32,16,8}() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d78d4beb64eb07d50665432867971c481192ebf tree d007f5721ba96abff820f76db77f11ae578722f8 parent d59288b75797fd982546aee7ba24a495dee128dd author Akinobu Mita Sun, 26 Mar 2006 01:39:40 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: sparc64: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove ffz() - remove __ffs() - remove generic_fls() - remove generic_fls64() - remove sched_find_first_bit() - remove ffs() - unless defined(ULTRA_HAS_POPULATION_COUNT) - remove generic_hweight{64,32,16,8}() - remove find_{next,first}{,_zero}_bit() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d59288b75797fd982546aee7ba24a495dee128dd tree 6a02220f6e924195b752fa33b01234276e285133 parent 62f1b2465bdf77bb95037a5418040edb2af142d0 author Akinobu Mita Sun, 26 Mar 2006 01:39:39 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: sparc: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove ffz() - remove __ffs() - remove sched_find_first_bit() - remove ffs() - remove generic_fls() - remove generic_fls64() - remove generic_hweight{32,16,8}() - remove find_{next,first}{,_zero}_bit() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove ext2_{set,clear}_bit_atomic() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62f1b2465bdf77bb95037a5418040edb2af142d0 tree 8243a25283889278cbf6674ad4771dc638cdec33 parent e2268c7129e6cab53a5dac1ab0790a547555e21a author Akinobu Mita Sun, 26 Mar 2006 01:39:37 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: sh64: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove __ffs() - remove find_{next,first}{,_zero}_bit() - remove generic_hweight{32,16,8}() - remove sched_find_first_bit() - remove generic_ffs() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove ext2_{set,clear}_bit_atomic() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() - remove generic_fls() - remove generic_fls64() Signed-off-by: Akinobu Mita Cc: Paul Mundt Cc: Richard Curnow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2268c7129e6cab53a5dac1ab0790a547555e21a tree 9d7303c5a2fe2db5cb3863793c63fc8b40673675 parent 7e33db4e2e9d67ee01d105e33fb773eed8ba10f0 author Akinobu Mita Sun, 26 Mar 2006 01:39:35 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: sh: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove find_{next,first}{,_zero}_bit() - remove generic_ffs() - remove generic_hweight{32,16,8}() - remove sched_find_first_bit() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove ext2_{set,clear}_bit_atomic() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() - remove generic_fls() - remove generic_fls64() Signed-off-by: Akinobu Mita Cc: Paul Mundt Cc: Kazumoto Kojima Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e33db4e2e9d67ee01d105e33fb773eed8ba10f0 tree 452a381a4e2d36f519acfd09a2dd824d8ee4f572 parent e779b2f95f3786cd9cfc804cd6f04f7267d75541 author Akinobu Mita Sun, 26 Mar 2006 01:39:34 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: s390: use generic bitops - remove generic_ffs() - remove generic_fls() - remove generic_fls64() - remove generic_hweight{64,32,16,8}() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: Heiko Carstens Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e779b2f95f3786cd9cfc804cd6f04f7267d75541 tree 19d53822cc6c711ee5fa56be2eb8462dd0bc7d70 parent 59e18a2e1c8f6642c307032939daaf474c16344e author Akinobu Mita Sun, 26 Mar 2006 01:39:33 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: powerpc: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove generic_fls64() - remove generic_hweight{64,32,16,8}() - remove sched_find_first_bit() Signed-off-by: Akinobu Mita Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59e18a2e1c8f6642c307032939daaf474c16344e tree a0c58aa0e68703cf3844108f46636a6adf941ea6 parent 3c9ee7ef87414cba80dbdf433d3547bb20055ef7 author Akinobu Mita Sun, 26 Mar 2006 01:39:31 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:14 -0800 [PATCH] bitops: parisc: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove ffz() - remove generic_fls64() - remove generic_hweight{32,16,8}() - remove generic_hweight64() - remove sched_find_first_bit() - remove find_{next,first}{,_zero}_bit() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() Signed-off-by: Akinobu Mita Cc: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c9ee7ef87414cba80dbdf433d3547bb20055ef7 tree 33ba680da1c758bbee02979589600eda2d1f03ac parent d2d7cdcf6e6d2a3db9885316d075940f12324413 author Akinobu Mita Sun, 26 Mar 2006 01:39:30 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:13 -0800 [PATCH] bitops: mips: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - unless defined(CONFIG_CPU_MIPS32) or defined(CONFIG_CPU_MIPS64) - remove __ffs() - remove ffs() - remove ffz() - remove fls() - remove fls64() - remove find_{next,first}{,_zero}_bit() - remove sched_find_first_bit() - remove generic_hweight64() - remove generic_hweight{32,16,8}() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove ext2_{set,clear}_bit_atomic() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2d7cdcf6e6d2a3db9885316d075940f12324413 tree ed772d4213ed5adc3410d088693f5be5cf79dbe6 parent 4c5aea053d64bee7a776a4b874e1b417e9f316fe author Akinobu Mita Sun, 26 Mar 2006 01:39:29 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:13 -0800 [PATCH] bitops: m68knommu: use generic bitops - remove ffs() - remove __ffs() - remove sched_find_first_bit() - remove ffz() - remove find_{next,first}{,_zero}_bit() - remove generic_hweight() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() - remove generic_fls() - remove generic_fls64() Signed-off-by: Akinobu Mita Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c5aea053d64bee7a776a4b874e1b417e9f316fe tree 4d76b4732d55eec1bd32072aade5ac648cf87b5b parent d5728b45da6a510b74f07e385b3ef6b434b828e5 author Akinobu Mita Sun, 26 Mar 2006 01:39:28 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:13 -0800 [PATCH] ppc: fix undefined reference to hweight32 Build fix for ppc Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5728b45da6a510b74f07e385b3ef6b434b828e5 tree 2e324b833ce04cd8ae12e9136551459be0ba65c2 parent ba1a5b32ba5e2fcb53b6943b8c9c33694ac68ce5 author Akinobu Mita Sun, 26 Mar 2006 01:39:28 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:13 -0800 [PATCH] m68k: fix undefined reference to generic_find_next_zero_le_bit This patch reverts ext2 bitmap functions. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba1a5b32ba5e2fcb53b6943b8c9c33694ac68ce5 tree c2ee7ebfd46a7c94e6e7993fc34c21159b973b18 parent 6d9f937b559d664b6f222cb91eca9c6802bfe89a author Akinobu Mita Sun, 26 Mar 2006 01:39:27 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: m68k: use generic bitops - remove generic_fls64() - remove sched_find_first_bit() - remove generic_hweight() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() Signed-off-by: Akinobu Mita Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d9f937b559d664b6f222cb91eca9c6802bfe89a tree f431c052f0c0d9f2d29bb6e39e3ff142f23e10c9 parent 2875aef8bd0e42367a66a78ef7abe10f3bba27b5 author Akinobu Mita Sun, 26 Mar 2006 01:39:26 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: m32r: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove ffz() - remove find_{next,first}{,_zero}_bit() - remove __ffs() - remove generic_fls() - remove generic_fls64() - remove sched_find_first_bit() - remove generic_ffs() - remove generic_hweight{32,16,8}() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove ext2_{set,clear}_bit_atomic() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2875aef8bd0e42367a66a78ef7abe10f3bba27b5 tree 44f81fa0e5c3f5bcf90eb1d6326c1eff9915dfbd parent 1cc2b9943b7b3a8d526aa8be5450d3ec083c3de4 author Akinobu Mita Sun, 26 Mar 2006 01:39:25 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: ia64: use generic bitops - remove generic_fls64() - remove find_{next,first}{,_zero}_bit() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() - remove sched_find_first_bit() Signed-off-by: Akinobu Mita Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cc2b9943b7b3a8d526aa8be5450d3ec083c3de4 tree 302d864d0f11c9fb1ec747440b0fce7f9f3ca27e parent f6e0213f7c253086e17844df8ba21075100b5ead author Akinobu Mita Sun, 26 Mar 2006 01:39:24 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: i386: use generic bitops - remove generic_fls64() - remove sched_find_first_bit() - remove generic_hweight{32,16,8}() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6e0213f7c253086e17844df8ba21075100b5ead tree a03a057630d3ff9d2fa95360c8a4fe5e0f53662e parent 1f6d7a93c141a473e2cff428a3dbf13b4bec9325 author Akinobu Mita Sun, 26 Mar 2006 01:39:23 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: h8300: use generic bitops - remove generic_ffs() - remove find_{next,first}{,_zero}_bit() - remove sched_find_first_bit() - remove generic_hweight{32,16,8}() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove ext2_{set,clear}_bit_atomic() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() - remove generic_fls() - remove generic_fls64() Signed-off-by: Akinobu Mita Cc: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f6d7a93c141a473e2cff428a3dbf13b4bec9325 tree b614d718704e459450f007745b252d442b775327 parent e9f26df17266a8bd327957bd1a5957a263bd7112 author Akinobu Mita Sun, 26 Mar 2006 01:39:22 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: frv: use generic bitops - remove ffz() - remove find_{next,first}{,_zero}_bit() - remove generic_ffs() - remove __ffs() - remove generic_fls64() - remove sched_find_first_bit() - remove generic_hweight{32,16,8}() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9f26df17266a8bd327957bd1a5957a263bd7112 tree c39684add95509324916be3046888f3a8ece4e18 parent d142d8601993f423386556f1cbbacbdcf7b7a767 author Akinobu Mita Sun, 26 Mar 2006 01:39:21 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: cris: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove generic_fls() - remove generic_fls64() - remove generic_hweight{32,16,8}() - remove find_{next,first}{,_zero}_bit() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() - remove sched_find_first_bit() Signed-off-by: Akinobu Mita Acked-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d142d8601993f423386556f1cbbacbdcf7b7a767 tree b0f792a30a5b7a90222d90dff03dfd649f5080b0 parent b89c3b165fbec605c60fd5a9e32d647e4c0befbb author Akinobu Mita Sun, 26 Mar 2006 01:39:20 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: arm26: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - remove ffz() - remove __ffs() - remove generic_fls() - remove generic_fls64() - remove generic_ffs() - remove sched_find_first_bit() - remove generic_hweight{32,16,8}() Signed-off-by: Akinobu Mita Cc: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b89c3b165fbec605c60fd5a9e32d647e4c0befbb tree ff54d1aefdf2674b30d87e304eb2e6dfa0d34fc2 parent f7c29678739e69b8298496f926e87e5991e745e8 author Akinobu Mita Sun, 26 Mar 2006 01:39:19 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:12 -0800 [PATCH] bitops: arm: use generic bitops - remove __{,test_and_}{set,clear,change}_bit() and test_bit() - if __LINUX_ARM_ARCH__ < 5 - remove ffz() - remove __ffs() - remove generic_fls() - remove generic_ffs() - remove generic_fls64() - remove sched_find_first_bit() - remove generic_hweight{32,16,8}() Signed-off-by: Akinobu Mita Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7c29678739e69b8298496f926e87e5991e745e8 tree 51226dc4b81439d119a70c46cc7baf6677ca4109 parent b1bb9522daf2fb49c5793d128023e9ca1e08e13b author Akinobu Mita Sun, 26 Mar 2006 01:39:18 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] bitops: alpha: use generic bitops - unless defined(__alpha_cix__) and defined(__alpha_fix__) - remove generic_fls() - remove generic_hweight{64,32,16,8}() - remove generic_fls64() - remove find_{next,first}{,_zero}_bit() - remove ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() - remove minix_{test,set,test_and_clear,test,find_first_zero}_bit() Signed-off-by: Akinobu Mita Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b1bb9522daf2fb49c5793d128023e9ca1e08e13b tree c4b5cd1f9409167fd42c8273c251360ec5c5b0e8 parent 765f34fe324bdf0c0544b3404d25aaa511e3834b author Akinobu Mita Sun, 26 Mar 2006 01:39:17 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] bitops: generic minix_{test,set,test_and_clear,test,find_first_zero}_bit() This patch introduces the C-language equivalents of the functions below: int minix_test_and_set_bit(int nr, volatile unsigned long *addr); int minix_set_bit(int nr, volatile unsigned long *addr); int minix_test_and_clear_bit(int nr, volatile unsigned long *addr); int minix_test_bit(int nr, const volatile unsigned long *addr); unsigned long minix_find_first_zero_bit(const unsigned long *addr, unsigned long size); In include/asm-generic/bitops/minix.h and include/asm-generic/bitops/minix-le.h This code largely copied from: include/asm-sparc/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 765f34fe324bdf0c0544b3404d25aaa511e3834b tree 073161aa7c213b15e0d3be6d99a2649de3030e00 parent 930ae745f50088279fdc06057a429f16495b53a2 author Akinobu Mita Sun, 26 Mar 2006 01:39:16 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] bitops: generic ext2_{set,clear}_bit_atomic() This patch introduces the C-language equivalents of the functions below: int ext2_set_bit_atomic(int nr, volatile unsigned long *addr); int ext2_clear_bit_atomic(int nr, volatile unsigned long *addr); In include/asm-generic/bitops/ext2-atomic.h This code largely copied from: include/asm-sparc/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 930ae745f50088279fdc06057a429f16495b53a2 tree 13f8a66445f1f9730280ec3318127c50b4bc8e46 parent a54baa1487c51c8306dd6f457c1b5d5fcd539fff author Akinobu Mita Sun, 26 Mar 2006 01:39:15 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] bitops: generic ext2_{set,clear,test,find_first_zero,find_next_zero}_bit() This patch introduces the C-language equivalents of the functions below: int ext2_set_bit(int nr, volatile unsigned long *addr); int ext2_clear_bit(int nr, volatile unsigned long *addr); int ext2_test_bit(int nr, const volatile unsigned long *addr); unsigned long ext2_find_first_zero_bit(const unsigned long *addr, unsigned long size); unsinged long ext2_find_next_zero_bit(const unsigned long *addr, unsigned long size); In include/asm-generic/bitops/ext2-non-atomic.h This code largely copied from: include/asm-powerpc/bitops.h include/asm-parisc/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a54baa1487c51c8306dd6f457c1b5d5fcd539fff tree d0a08990caea37d6326ea969eadce927d981fd9f parent 3b9ed1a5d2d121f32d2cb4f2b05f1fc57c99c946 author Akinobu Mita Sun, 26 Mar 2006 01:39:14 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] fix error: __u32 undeclared Build fix for s390 declare __u32 and __u64. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b9ed1a5d2d121f32d2cb4f2b05f1fc57c99c946 tree d8ea52d6b490c0e3b3851e1887c01700cc0115c6 parent 09020adb61416c4307de35941a9725a5e33d9beb author Akinobu Mita Sun, 26 Mar 2006 01:39:13 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] bitops: generic hweight{64,32,16,8}() This patch introduces the C-language equivalents of the functions below: unsigned int hweight32(unsigned int w); unsigned int hweight16(unsigned int w); unsigned int hweight8(unsigned int w); unsigned long hweight64(__u64 w); In include/asm-generic/bitops/hweight.h This code largely copied from: include/linux/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09020adb61416c4307de35941a9725a5e33d9beb tree 1bce6f1c62a2960e1442913f93727980ec1dfa0b parent 6d29ea23da033f46ac4ab359d46650a7f7474611 author Akinobu Mita Sun, 26 Mar 2006 01:39:12 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] bitops: generic ffs() This patch introduces the C-language equivalent of the function: int ffs(int x); In include/asm-generic/bitops/ffs.h This code largely copied from: include/linux/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d29ea23da033f46ac4ab359d46650a7f7474611 tree 20403ba836b8e5e7ace71cae914bbc16d552a4bd parent c7f612cdf091def01454e7e132c7d7a3f419fbc4 author Akinobu Mita Sun, 26 Mar 2006 01:39:12 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] bitops: generic sched_find_first_bit() This patch introduces the C-language equivalent of the function: int sched_find_first_bit(const unsigned long *b); In include/asm-generic/bitops/sched.h This code largely copied from: include/asm-powerpc/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7f612cdf091def01454e7e132c7d7a3f419fbc4 tree 01b3fbc080a0a513dab60622aad0409d197b570a parent 2dfc383ad587bbead84739a9ff9273df3eda983d author Akinobu Mita Sun, 26 Mar 2006 01:39:11 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:11 -0800 [PATCH] bitops: generic find_{next,first}{,_zero}_bit() This patch introduces the C-language equivalents of the functions below: unsigned logn find_next_bit(const unsigned long *addr, unsigned long size, unsigned long offset); unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, unsigned long offset); unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size); unsigned long find_first_bit(const unsigned long *addr, unsigned long size); In include/asm-generic/bitops/find.h This code largely copied from: arch/powerpc/lib/bitops.c Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2dfc383ad587bbead84739a9ff9273df3eda983d tree 737b3d8e40b7e94de6299b72eed2ebf8e5fb68a4 parent 136abb32d6b4acf196425fb3968ebb368d84280e author Akinobu Mita Sun, 26 Mar 2006 01:39:10 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: generic fls64() This patch introduces the C-language equivalent of the function: int fls64(__u64 x); In include/asm-generic/bitops/fls64.h This code largely copied from: include/linux/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 136abb32d6b4acf196425fb3968ebb368d84280e tree 48f0f127f204569b4484bac6ab014f8ca36f7477 parent 176d8b0c2709e764d491e63a0c1b3a3e1459fcf8 author Akinobu Mita Sun, 26 Mar 2006 01:39:09 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: generic fls() This patch introduces the C-language equivalent of the function: int fls(int x); In include/asm-generic/bitops/fls.h This code largely copied from: include/linux/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 176d8b0c2709e764d491e63a0c1b3a3e1459fcf8 tree fd45cfce91c9fc75b4383fe0b62f77febf875c6c parent c1226a005ec400e966f4993dfcc0e99fd7baa6a1 author Akinobu Mita Sun, 26 Mar 2006 01:39:08 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: generic ffz() This patch introduces the C-language equivalent of the function: unsigned long ffz(unsigned long word); In include/asm-generic/bitops/ffz.h This code largely copied from: include/asm-parisc/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1226a005ec400e966f4993dfcc0e99fd7baa6a1 tree 7c69ee952fae6209b7e760c1b7de83e2d9f05d25 parent 4117b02132d1cf96a3e1c57148e302c4801c974d author Akinobu Mita Sun, 26 Mar 2006 01:39:08 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: generic __ffs() This patch introduces the C-language equivalent of the function: unsigned long __ffs(unsigned long word); In include/asm-generic/bitops/__ffs.h This code largely copied from: include/asm-sparc/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4117b02132d1cf96a3e1c57148e302c4801c974d tree bbab0444010b7e549ecb3bec2ac28624bd9b0393 parent 7a8a2429956fcfa3f3ef8fc105a4c055d70239ab author Akinobu Mita Sun, 26 Mar 2006 01:39:07 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: generic __{,test_and_}{set,clear,change}_bit() and test_bit() This patch introduces the C-language equivalents of the functions below: void __set_bit(int nr, volatile unsigned long *addr); void __clear_bit(int nr, volatile unsigned long *addr); void __change_bit(int nr, volatile unsigned long *addr); int __test_and_set_bit(int nr, volatile unsigned long *addr); int __test_and_clear_bit(int nr, volatile unsigned long *addr); int __test_and_change_bit(int nr, volatile unsigned long *addr); int test_bit(int nr, const volatile unsigned long *addr); In include/asm-generic/bitops/non-atomic.h This code largely copied from: asm-powerpc/bitops.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a8a2429956fcfa3f3ef8fc105a4c055d70239ab tree 51454e2625678a1ca2ac78ac715d870fd1685375 parent 67b0ad574b5ee90f8ea58196ff8a7f3780b75365 author Akinobu Mita Sun, 26 Mar 2006 01:39:06 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: generic {,test_and_}{set,clear,change}_bit() This patch introduces the C-language equivalents of the functions below: void set_bit(int nr, volatile unsigned long *addr); void clear_bit(int nr, volatile unsigned long *addr); void change_bit(int nr, volatile unsigned long *addr); int test_and_set_bit(int nr, volatile unsigned long *addr); int test_and_clear_bit(int nr, volatile unsigned long *addr); int test_and_change_bit(int nr, volatile unsigned long *addr); In include/asm-generic/bitops/atomic.h This code largely copied from: include/asm-powerpc/bitops.h include/asm-parisc/bitops.h include/asm-parisc/atomic.h Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67b0ad574b5ee90f8ea58196ff8a7f3780b75365 tree ca9bc212f6efa8f5170185ef1fa21f75de0684fd parent 72b61a3cfd80d1321eb898be8ceae2064f0fbea1 author Akinobu Mita Sun, 26 Mar 2006 01:39:05 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: use non atomic operations for minix_*_bit() and ext2_*_bit() Bitmap functions for the minix filesystem and the ext2 filesystem except ext2_set_bit_atomic() and ext2_clear_bit_atomic() do not require the atomic guarantees. But these are defined by using atomic bit operations on several architectures. (cris, frv, h8300, ia64, m32r, m68k, m68knommu, mips, s390, sh, sh64, sparc, sparc64, v850, and xtensa) This patch switches to non atomic bit operation. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72b61a3cfd80d1321eb898be8ceae2064f0fbea1 tree 67b9eccba0fce5b03814ae6468acde4616417f3d parent 3156054b02e263387d6cd27fd1b05eba2bc25459 author Akinobu Mita Sun, 26 Mar 2006 01:39:04 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: cris: remove unnecessary local_irq_restore() remove unnecessary local_irq_restore() after cris_atomic_restore() in test_and_set_bit(). Signed-off-by: Akinobu Mita Cc: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3156054b02e263387d6cd27fd1b05eba2bc25459 tree 902cb3735f6f124ed0614087211a9c8f675e0673 parent 4668f0cd0abd41a908ec7aa292e91fd158e0c8f8 author Akinobu Mita Sun, 26 Mar 2006 01:39:04 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:10 -0800 [PATCH] bitops: parisc: add ()-pair in __ffz() macro Noticed by Michael Tokarev add missing ()-pair in __ffz() macro for parisc Signed-off-by: Akinobu Mita Cc: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4668f0cd0abd41a908ec7aa292e91fd158e0c8f8 tree 8ae8ae1531b3f1da6e63d685a940d0f7979247a5 parent 4b417d0c7cb6af4afb7bad6463f7f3227d8a5074 author Akinobu Mita Sun, 26 Mar 2006 01:39:03 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:09 -0800 [PATCH] bitops: ia64: use cpu_set() instead of __set_bit() __set_bit() --> cpu_set() cleanup Signed-off-by: Akinobu Mita Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b417d0c7cb6af4afb7bad6463f7f3227d8a5074 tree 514ad66b1ee3286d877aa5d1cf18dc970bbe5722 parent 20548664aa2d98ba0ee3dde4482b0a96b9273b6f author Akinobu Mita Sun, 26 Mar 2006 01:39:01 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:09 -0800 [PATCH] bitops: alpha: use config options instead of __alpha_fix__ and __alpha_cix__ Use config options instead of gcc builtin definition to tell the use of instruction set extensions (CIX and FIX). This is introduced to tell the kbuild system the use of opmized hweight*() routines on alpha architecture. Signed-off-by: Akinobu Mita Cc: Richard Henderson Cc: Ivan Kokshaysky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20548664aa2d98ba0ee3dde4482b0a96b9273b6f tree 41139d88120716ffca09f894a357d3fc5e89aff2 parent 93635133663ea3155e74a0e3645b64754a046007 author Richard Knutsson Sun, 26 Mar 2006 01:39:00 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:09 -0800 [PATCH] oss/sonicvibes.c defines its own hweight32 sound/oss/sonicvibes.c:421: error: static declaration of hweight32 follows non-static declaration include/asm-generic/bitops/hweight.h:6: error: previous declaration of hweight32 was here Signed-off-by: Richard Knutsson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93635133663ea3155e74a0e3645b64754a046007 tree 6eb48fde8cc6a54d6b63ba160158f1b4688b337d parent f214ef3e193dea10a7b527d4f4b0c15d2d98c984 author Akinobu Mita Sun, 26 Mar 2006 01:38:59 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:09 -0800 [PATCH] arm: fix undefined reference to generic_fls This patch defines constant_fls() instead of removed generic_fls(). Signed-off-by: Akinobu Mita Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f214ef3e193dea10a7b527d4f4b0c15d2d98c984 tree 070e24ed0f819fb47ee964fd85752b1a1ab2a8a5 parent 0b28002fdf2d5b6ce3135a544c04940a16c5b0ba author Akinobu Mita Sun, 26 Mar 2006 01:38:59 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:09 -0800 [PATCH] um: fix undefined reference to hweight32 Build fix for user mode linux. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b28002fdf2d5b6ce3135a544c04940a16c5b0ba tree 474318b9381eecbb5bfe3181568df7ef3650330a parent 0f7217f4accad73e0a86febadb5a5d6e74ff7c37 author Akinobu Mita Sun, 26 Mar 2006 01:38:58 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:09 -0800 [PATCH] more s/fucn/func/ typo fixes s/fucntion/function/ typo fixes Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f7217f4accad73e0a86febadb5a5d6e74ff7c37 tree 20ec88cd9e7c18bd465bac32997e84543564a8ec parent 6b53f7870d1657831df23788d1984aac3b5a97bd author Akinobu Mita Sun, 26 Mar 2006 01:38:57 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:09 -0800 [PATCH] frv: remove unnesesary "&" Fix warning messages triggered by bitops code consolidation patches. cxn_bitmap is the array of unsigned long. '&' is unnesesary for the argument of *_bit() routins. Signed-off-by: Akinobu Mita Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b53f7870d1657831df23788d1984aac3b5a97bd tree 9392fb65aed9a693e6eacc70d2ccd05e3cff7d8a parent 9110540f7f2bbcc3577d2580a696fbb7af68c892 author Andrew Morton Sun, 26 Mar 2006 01:38:56 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:09 -0800 [PATCH] cmpci: don't use generic_hweight32() It's about to go away. Cc: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9110540f7f2bbcc3577d2580a696fbb7af68c892 tree 0bc9854f3039fe6a68b324abd0a7407eb3305ad6 parent 0e438e3f0089672f57a47467e1f0d15fc48778be author Dave Peterson Sun, 26 Mar 2006 01:38:55 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:08 -0800 [PATCH] EDAC: use EXPORT_SYMBOL_GPL Change all instances of EXPORT_SYMBOL() in the core EDAC module to EXPORT_SYMBOL_GPL(). Signed-off-by: David S. Peterson Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e438e3f0089672f57a47467e1f0d15fc48778be tree 6c73855695aca89dcf7eb787e1aa20fd27b6746a parent e009356f738634d8a137cca35503b9b33322c858 author Dave Peterson Sun, 26 Mar 2006 01:38:55 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:08 -0800 [PATCH] EDAC: add maintainers for chipset drivers - Add entries to MAINTAINERS list for EDAC-E752X, EDAC-E7XXX, and EDAC-R82600 chipset drivers - Fix MAINTAINERS entry for EDAC-CORE so it uses tabs rather than spaces to indent. This is consistent with how the other entries are formatted. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e009356f738634d8a137cca35503b9b33322c858 tree a57a377a6b2c691075bcd29e6f026ec5289bd978 parent f3479816bb549bbbc04d2332e77bbe0b92230bbc author Dave Peterson Sun, 26 Mar 2006 01:38:54 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:08 -0800 [PATCH] EDAC: use sysbus_message in e752x code Patch from Dave Jiang : Fix EDAC e752x driver so it outputs sysbus-specific error message when sysbus error detected. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3479816bb549bbbc04d2332e77bbe0b92230bbc tree 95d1f798fe44d16a2eb23d3140748b876aa4f4bd parent e7ecd8910293564d357dbaf18eb179e06fa35fd0 author Dave Peterson Sun, 26 Mar 2006 01:38:53 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:08 -0800 [PATCH] EDAC: documentation spelling fixes Fix spelling errors in EDAC documentation. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7ecd8910293564d357dbaf18eb179e06fa35fd0 tree 7ec33cd42783cc53dd3ce161802d1032cea869a7 parent 54933dddc3e8ccd9db48966d8ada11951cb8a558 author Dave Peterson Sun, 26 Mar 2006 01:38:52 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:08 -0800 [PATCH] EDAC: formatting cleanup Cosmetic indentation/formatting cleanup for EDAC code. Make sure we are using tabs rather than spaces to indent, etc. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54933dddc3e8ccd9db48966d8ada11951cb8a558 tree 7e353edef88b2ceee67f2745d6f68b084f60b45b parent 39f1d8d38aa3f757889a09855b241b6a23e2cac5 author Dave Peterson Sun, 26 Mar 2006 01:38:51 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:08 -0800 [PATCH] EDAC: reorder EXPORT_SYMBOL macros Fix EDAC code so EXPORT_SYMBOL comes after the function that is being exported. This is to maintain consistency with the rest of the kernel. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39f1d8d38aa3f757889a09855b241b6a23e2cac5 tree 26a37ad94dfff867b2c1e9ceb8ac65be5f95bd98 parent 18dbc337af5d6efd30cb9291e74722c8ad134fd3 author Dave Peterson Sun, 26 Mar 2006 01:38:50 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: Kconfig dependency changes - Add x86 dependency in drivers/edac/Kconfig for all current platform-specific modules. - Add PCI dependency to Radisys 82600 driver Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18dbc337af5d6efd30cb9291e74722c8ad134fd3 tree 10163d19960173d29deb7a9d931dfcdfe2188975 parent 472678ebd30d87cbe8d97562dcc0e46d1076040f author Dave Peterson Sun, 26 Mar 2006 01:38:50 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: protect memory controller list - Fix code so we always hold mem_ctls_mutex while we are stepping through the list of mem_ctl_info structures. Otherwise bad things may happen if one task is stepping through the list while another task is modifying it. We may eventually want to use reference counting to manage the mem_ctl_info structures. In the meantime we may as well fix this bug. - Don't disable interrupts while we are walking the list of mem_ctl_info structures in check_mc_devices(). This is unnecessary. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 472678ebd30d87cbe8d97562dcc0e46d1076040f tree 216f22045fb3b786f513f000b184e5fd449b58d1 parent 6e5a8748507dea83386d1d76c58aeaed1ff5a1ec author Dave Peterson Sun, 26 Mar 2006 01:38:49 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: kobject/sysfs fixes - After we unregister a kobject, wait for our kobject release method to call complete(). This causes us to wait until the kobject reference count reaches 0. Otherwise, a task accessing the EDAC sysfs interface can hold the reference count above 0 until after the EDAC module has been unloaded. When the reference count finally drops to 0, this will result in an attempt to call our release method inside the EDAC module after the module has already been unloaded. This isn't the best fix, since a process can get stuck sleeping forever uninterruptibly if the user does the following: rmmod my_module < /sys/my_sysfs/file I'll go back and implement a better fix later. However this should be ok for now. - Call edac_remove_sysfs_mci_device() from edac_mc_del_mc() rather than from edac_mc_free(). Since edac_mc_add_mc() calls edac_create_sysfs_mci_device(), edac_mc_del_mc() should call edac_remove_sysfs_mci_device(). Signed-off-by: David S. Peterson Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e5a8748507dea83386d1d76c58aeaed1ff5a1ec tree 90ce1bc0ed71a608f9af4c3db655a35d03173aac parent 028a7b6d3d9fa2cc41d76d45575345cca8d00a4c author Dave Peterson Sun, 26 Mar 2006 01:38:48 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: kobject_init/kobject_put fixes - Remove calls to kobject_init(). These are unnecessary because kobject_register() calls kobject_init(). - Remove extra calls to kobject_put(). When we call kobject_unregister(), this releases our reference to the kobject. The extra calls to kobject_put() may cause the reference count to drop to 0 while a kobject is still in use. Signed-off-by: David S. Peterson Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 028a7b6d3d9fa2cc41d76d45575345cca8d00a4c tree 42d59be8db8af1cd60e8388c2d93230335b28606 parent a1d03fcc1399b1e23922bcc3af1772b128aa6e93 author Dave Peterson Sun, 26 Mar 2006 01:38:47 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: edac_mc_add_mc fix [2/2] This is part 2 of a 2-part patch set. Fix edac_mc_add_mc() so it cleans up properly if call to edac_create_sysfs_mci_device() fails. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1d03fcc1399b1e23922bcc3af1772b128aa6e93 tree bf6b9895568a5fc0012590941213a28fe8d9af5d parent 749ede57443b2a7ede2db105145f21047efcea6a author Dave Peterson Sun, 26 Mar 2006 01:38:46 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: edac_mc_add_mc fix [1/2] This is part 1 of a 2-part patch set. The code changes are split into two parts to make the patches more readable. Move complete_mc_list_del() and del_mc_from_global_list() so we can call del_mc_from_global_list() from edac_mc_add_mc() without forward declarations. Perhaps using forward declarations would be better? I'm doing things this way because the rest of the code is missing them. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 749ede57443b2a7ede2db105145f21047efcea6a tree 0d0ee972f55e8fbb9d8fba6209a6304fdd3c98f1 parent d38fde84f7521973fdfa5c3d03d62f014b42cd03 author Dave Peterson Sun, 26 Mar 2006 01:38:45 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: cleanup code for clearing initial errors Fix xxx_probe1() functions so they call xxx_get_error_info() functions to clear initial errors. This is simpler and cleaner than duplicating the low-level code for accessing PCI config space. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d38fde84f7521973fdfa5c3d03d62f014b42cd03 tree 9ff599dbb5e20e3c29d7f8691e313d3e8f845895 parent 637beb697b8dc7b9d7a35c2b6488332e77963ded author Dave Peterson Sun, 26 Mar 2006 01:38:45 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: e7xxx fix minor logic bug Fix minor logic bug in e7xxx_remove_one(). Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 637beb697b8dc7b9d7a35c2b6488332e77963ded tree fa6fd86af71c724936049a147646dbfbda53722a parent e8a491b401dbbc5af9fe6483dc558d76343bfbb3 author Dave Peterson Sun, 26 Mar 2006 01:38:44 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:07 -0800 [PATCH] EDAC: i82875p cleanup - Fix i82875p_probe1() so it calls pci_get_device() instead of pci_find_device(). - Fix i82875p_probe1() so it cleans up properly on failure. - Fix i82875p_init() so it cleans up properly on failure. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8a491b401dbbc5af9fe6483dc558d76343bfbb3 tree bdc79f181103a01a6d5b3af0476a5328db0c4edb parent 3847bccce80c8a01d7adbad9961564252207302a author Dave Peterson Sun, 26 Mar 2006 01:38:43 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:06 -0800 [PATCH] EDAC: i82860 cleanup - Fix i82860_init() so it cleans up properly on failure. - Fix i82860_exit() so it cleans up properly. - Fix typo in comment (i.e. www.redhat.com.com). Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3847bccce80c8a01d7adbad9961564252207302a tree 517d0df74d28508a8590a5a671f8966264fbe863 parent 225159bd0a349bfd8cd9ae7c6bf39d75df09304a author Dave Peterson Sun, 26 Mar 2006 01:38:42 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:06 -0800 [PATCH] EDAC: e752x cleanup - Add ctl_dev field to "struct e752x_dev_info". Then we can eliminate ugly switch statement from e752x_probe1(). - Remove code from e752x_probe1() that clears initial PCI bus parity errors. The core EDAC module already does this. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 225159bd0a349bfd8cd9ae7c6bf39d75df09304a tree 73e99a2d140ee0724f7a10ee8ef63fefc600d2db parent 680cbbbb0e336b04b74be48b8ddd870537f1e226 author Dave Peterson Sun, 26 Mar 2006 01:38:41 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:06 -0800 [PATCH] EDAC: amd76x pci_dev_get/pci_dev_put fixes Eliminate unnecessary calls to pci_dev_get() and pci_dev_put() from amd76x driver. Signed-off-by: David S. Peterson Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 680cbbbb0e336b04b74be48b8ddd870537f1e226 tree 513059abbdabf082cd38e2a4ad3d71711857f3c2 parent 537fba28928c01b7db1580627450691a4bb0b9b3 author Dave Peterson Sun, 26 Mar 2006 01:38:41 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:06 -0800 [PATCH] EDAC: name cleanup Perform the following name substitutions on all source files: sed 's/BS_MOD_STR/EDAC_MOD_STR/g' sed 's/bs_thread_info/edac_thread_info/g' sed 's/bs_thread/edac_thread/g' sed 's/bs_xstr/edac_xstr/g' sed 's/bs_str/edac_str/g' The names that start with BS_ or bs_ are artifacts of when the code was called "bluesmoke". Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 537fba28928c01b7db1580627450691a4bb0b9b3 tree 1fd5adaa38ba639e28b56e014bfb309c0d1e181e parent f2fe42abbf0d99a8c4b96f1cc55db10ac35d2fb9 author Dave Peterson Sun, 26 Mar 2006 01:38:40 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:06 -0800 [PATCH] EDAC: printk cleanup This implements the following idea: On Monday 30 January 2006 19:22, Eric W. Biederman wrote: > One piece missing from this conversation is the issue that we need errors > in a uniform format. That is why edac_mc has helper functions. > > However there will always be errors that don't fit any particular model. > Could we add a edac_printk(dev, ); That is similar to dev_printk but > prints out an EDAC header and the device on which the error was found? > Letting the rest of the string be user specified. > > For actual control that interface may be to blunt, but at least for people > looking in the logs it allows all of the errors to be detected and > harvested. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2fe42abbf0d99a8c4b96f1cc55db10ac35d2fb9 tree 82e748a5b000b8e68135a50a153a1721d4666e65 parent dac5bafa3521a10a42a470ab612cd2bbc12d4203 author Dave Peterson Sun, 26 Mar 2006 01:38:38 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:06 -0800 [PATCH] EDAC: switch to kthread_ API This patch was originally posted by Christoph Hellwig (see http://lkml.org/lkml/2006/2/14/331): "Christoph Hellwig" wrote: > Use the kthread_ API instead of opencoding lots of hairy code for kernel > thread creation and teardown, including tasklist_lock abuse. > Signed-off-by: Christoph Hellwig Signed-off-by: David S. Peterson Cc: Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dac5bafa3521a10a42a470ab612cd2bbc12d4203 tree 5b9739c5e78b216b7170d974f8b73b3c9e942a4b parent 07dc1f9f2f80f67823dc9ab4ebe3b1b3b071b911 author Eric Sesterhenn Sun, 26 Mar 2006 01:38:38 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:06 -0800 [PATCH] Dead code in drivers/isdn/avm/avmcard.h This fixes coverity id #2. the if (i==0) is pretty useless, since we assing i=0, just the line before. Signed-off-by: Eric Sesterhenn Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07dc1f9f2f80f67823dc9ab4ebe3b1b3b071b911 tree 53751a6ea45cc3545e45b5690e643965c3c597be parent 76bb4685bff8781b5dbcd7080171d1e1f8c82f5b author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:37 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:06 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - M105 USB DECT adapter And: Tilman Schmidt This patch adds the connection-specific module "usb_gigaset", the hardware driver for Gigaset base stations connected via the M105 USB DECT adapter. It contains the code for handling probe/disconnect, AT command/response transmission, and call setup and termination, as well as handling asynchronous data transfers, PPP framing, byte stuffing, and flow control. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76bb4685bff8781b5dbcd7080171d1e1f8c82f5b tree c373b17550712df448fd1f195a752df530fbd87a parent cf7776dc05b89885a7ec6beff8409d48b077a3ac author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:36 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - isochronous data handler And: Tilman Schmidt This patch adds the payload data handler for the connection-specific module "bas_gigaset". It contains the code for handling isochronous data transfers, HDLC framing and flow control. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf7776dc05b89885a7ec6beff8409d48b077a3ac tree 78e825e65578526c3400e810759ba676d7014011 parent 982da5a196a0859eedc5ca1ff88feaf1bc6d6e4e author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:34 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - direct USB connection And: Tilman Schmidt This patch adds the main source file of the connection-specific module "bas_gigaset", the hardware driver for Gigaset base stations connected directly to the computer via USB. It contains the code for handling probe/disconnect, AT command/response transmission, and call setup and termination. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 982da5a196a0859eedc5ca1ff88feaf1bc6d6e4e tree f42c93dfa7abd78f68584be49cb71238f5328326 parent ee8a4b7f857fe7ba243e65c8925798cf8eda5ab0 author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:33 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - procfs interface And: Tilman Schmidt This patch adds the procfs interface to the gigaset module. The procfs interface provides access to status information and statistics about the Gigaset devices. If the drivers are built with the debugging option it also allows to change the amount of debugging output on the fly. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee8a4b7f857fe7ba243e65c8925798cf8eda5ab0 tree 8803a10dd343d13940ebfc34ce633dbacbefcd4e parent 3c66a22545dd88356bbf4efa45a7b178df8154e9 author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:32 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - tty interface And: Tilman Schmidt This patch adds the tty interface to the gigaset module. The tty interface provides direct access to the AT command set of the Gigaset devices. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c66a22545dd88356bbf4efa45a7b178df8154e9 tree 96d6115cddf69655d6b4b7b3866fdad8e2cef0a8 parent 14fa73a75df6a0ffe866f750e8dcd218d0171f51 author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:31 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - isdn4linux interface And: Tilman Schmidt This patch adds the isdn4linux subsystem interface to the gigaset module. The isdn4linux subsystem interface handles requests from and notifications to the isdn4linux subsystem. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14fa73a75df6a0ffe866f750e8dcd218d0171f51 tree 2c2533189245bf9f4e4035d6b717641a1b845387 parent 6fd5ea63f85e30fda55b80939b4f379ea5db62b1 author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:30 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - event layer And: Tilman Schmidt This patch adds the event layer to the gigaset module. The event layer serializes events from hardware, userspace, and other kernel subsystems. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fd5ea63f85e30fda55b80939b4f379ea5db62b1 tree e1f3d46ccb136535b0e7a6818b394c1d57173a24 parent 0a34eb8f55a71678c379b47c25f562050c80efcc author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:29 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - common module And: Tilman Schmidt This patch adds the common include file for the Siemens Gigaset drivers, providing definitions used by all of the Gigaset ISDN driver source files. It also adds the main source file of the gigaset module which manages common functions not specific to the type of connection to the device. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a34eb8f55a71678c379b47c25f562050c80efcc tree 7a70865055d9e3c6c0c59d1c4b06983e11b767fb parent b67000962f35313cfc5eabd675dc38b91678d9ed author Hansjoerg Lipp Sun, 26 Mar 2006 01:38:28 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] isdn4linux: Siemens Gigaset drivers - Kconfigs and Makefiles And: Tilman Schmidt The following patches add drivers for the Siemens Gigaset 3070 family of ISDN DECT PABXes connected via USB, either directly or over a DECT link using a Gigaset M105 or compatible DECT data adapter. The devices are integrated as ISDN adapters within the isdn4linux framework, supporting incoming and outgoing voice and data connections, and also as tty devices providing access to device specific AT commands. Supported devices include models 3070, 3075, 4170, 4175, SX205, SX255, and SX353 from the Siemens Gigaset product family, as well as the technically identical models 45isdn and 721X from the Deutsche Telekom Sinus series. Supported DECT adapters are the Gigaset M105 data and the technically identical Gigaset USB Adapter DECT, Sinus 45 data 2, and Sinus 721 data (but not the Gigaset M34 and Sinus 702 data which advertise themselves as CDC-ACM devices). These drivers have been developed over the last four years within the SourceForge project http://sourceforge.net/projects/gigaset307x/. They are being used successfully in several installations for dial-in Internet access and for voice call switching with Asterisk. This is our second attempt at submitting these drivers, taking into account the comments we received to our first submission on 2005-12-11. The patch set adds three kernel modules: - a common module "gigaset" encapsulating the common logic for controlling the PABX and the interfaces to userspace and the isdn4linux subsystem. - a connection-specific module "bas_gigaset" which handles communication with the PABX over a direct USB connection. - a connection-specific module "usb_gigaset" which does the same for a DECT connection using the Gigaset M105 USB DECT adapter. We also have a module "ser_gigaset" which supports the Gigaset M101 RS232 DECT adapter, but we didn't judge it fit for inclusion in the kernel, as it does direct programming of a i8250 serial port. It should probably be rewritten as a serial line discipline but so far we lack the neccessary knowledge about writing a line discipline for that. The drivers have been working with kernel releases 2.2 and 2.4 as well as 2.6, and although we took efforts to remove the compatibility code for this submission, it probably still shows in places. Please make allowances. This patch: Prepare the kernel build infrastructure for addition of the Gigaset ISDN drivers. It creates a Makefile and Kconfig file for the Gigaset driver and hooks them into those of the isdn4linux subsystem. It also adds a MAINTAINERS entry for the driver. This patch depends on patches 2 to 9 of the present set, as without the actual source files, activating the options added here will cause the kernel build to fail. Signed-off-by: Hansjoerg Lipp Signed-off-by: Tilman Schmidt Cc: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b67000962f35313cfc5eabd675dc38b91678d9ed tree 6de49259d6ea5aff06e251f17fcee680839b8e3c parent c04c1c81e211c2c95b548add7923e1d4ba4847ab author Prasanna S Panchamukhi Sun, 26 Mar 2006 01:38:26 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:05 -0800 [PATCH] kprobes: fix broken fault handling for sparc64 Provide proper kprobes fault handling, if a user-specified pre/post handlers tries to access user address space, through copy_from_user(), get_user() etc. The user-specified fault handler gets called only if the fault occurs while executing user-specified handlers. In such a case user-specified handler is allowed to fix it first, later if the user-specifed fault handler does not fix it, we try to fix it by calling fix_exception(). The user-specified handler will not be called if the fault happens when single stepping the original instruction, instead we reset the current probe and allow the system page fault handler to fix it up. I could not test this patch for sparc64. Signed-off-by: Prasanna S Panchamukhi Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c04c1c81e211c2c95b548add7923e1d4ba4847ab tree 15ce6f9c86785226e41b2385d4f8e6db7b48e980 parent 50e21f2b2861711b6df0b72ffef4a70d1532b023 author Prasanna S Panchamukhi Sun, 26 Mar 2006 01:38:25 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:04 -0800 [PATCH] kprobes: fix broken fault handling for ia64 Provide proper kprobes fault handling, if a user-specified pre/post handlers tries to access user address space, through copy_from_user(), get_user() etc. The user-specified fault handler gets called only if the fault occurs while executing user-specified handlers. In such a case user-specified handler is allowed to fix it first, later if the user-specifed fault handler does not fix it, we try to fix it by calling fix_exception(). The user-specified handler will not be called if the fault happens when single stepping the original instruction, instead we reset the current probe and allow the system page fault handler to fix it up. Signed-off-by: Prasanna S Panchamukhi Acked-by: Anil S Keshavamurthy Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50e21f2b2861711b6df0b72ffef4a70d1532b023 tree ec25f24103f10a6a620682fc9e1ab0849c7b4dce parent c28f896634f2c931a298490deab3861ab117716a author Prasanna S Panchamukhi Sun, 26 Mar 2006 01:38:24 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:04 -0800 [PATCH] kprobes: fix broken fault handling for powerpc64 Provide proper kprobes fault handling, if a user-specified pre/post handlers tries to access user address space, through copy_from_user(), get_user() etc. The user-specified fault handler gets called only if the fault occurs while executing user-specified handlers. In such a case user-specified handler is allowed to fix it first, later if the user-specifed fault handler does not fix it, we try to fix it by calling fix_exception(). The user-specified handler will not be called if the fault happens when single stepping the original instruction, instead we reset the current probe and allow the system page fault handler to fix it up. Signed-off-by: Prasanna S Panchamukhi Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c28f896634f2c931a298490deab3861ab117716a tree d68019b13f2eacc546fff176686bee0d99ab05df parent b4026513b88e7eaa52a31117e2b7bafdc1e40ef1 author Prasanna S Panchamukhi Sun, 26 Mar 2006 01:38:23 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:04 -0800 [PATCH] kprobes: fix broken fault handling for x86_64 Provide proper kprobes fault handling, if a user-specified pre/post handlers tries to access user address space, through copy_from_user(), get_user() etc. The user-specified fault handler gets called only if the fault occurs while executing user-specified handlers. In such a case user-specified handler is allowed to fix it first, later if the user-specifed fault handler does not fix it, we try to fix it by calling fix_exception(). The user-specified handler will not be called if the fault happens when single stepping the original instruction, instead we reset the current probe and allow the system page fault handler to fix it up. Signed-off-by: Prasanna S Panchamukhi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4026513b88e7eaa52a31117e2b7bafdc1e40ef1 tree 92bbffa53339d237424099bce8fb72d8996f93c2 parent 2326c77017c79fd6d55c69d8a49a57a252921bcd author Prasanna S Panchamukhi Sun, 26 Mar 2006 01:38:22 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:04 -0800 [PATCH] kprobes: fix broken fault handling for i386 Provide proper kprobes fault handling, if a user-specified pre/post handlers tries to access user address space, through copy_from_user(), get_user() etc. The user-specified fault handler gets called only if the fault occurs while executing user-specified handlers. In such a case user-specified handler is allowed to fix it first, later if the user-specifed fault handler does not fix it, we try to fix it by calling fix_exception(). The user-specified handler will not be called if the fault happens when single stepping the original instruction, instead we reset the current probe and allow the system page fault handler to fix it up. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2326c77017c79fd6d55c69d8a49a57a252921bcd tree 5a2cafc7452953a4d5c8a8e8eaa0ae34fe306f74 parent c6fd91f0bdcd294a0ae0ba2b2a7f7456ef4b7144 author bibo,mao Sun, 26 Mar 2006 01:38:21 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:04 -0800 [PATCH] kprobe handler: discard user space trap Currently kprobe handler traps only happen in kernel space, so function kprobe_exceptions_notify should skip traps which happen in user space. This patch modifies this, and it is based on 2.6.16-rc4. Signed-off-by: bibo mao Cc: Ananth N Mavinakayanahalli Cc: "Keshavamurthy, Anil S" Cc: Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6fd91f0bdcd294a0ae0ba2b2a7f7456ef4b7144 tree 1d095d1761a44118f101b2ce9697346ff168753a parent c9becf58d935265919bf1cb348b2c04492c8949d author bibo mao Sun, 26 Mar 2006 01:38:20 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:04 -0800 [PATCH] kretprobe instance recycled by parent process When kretprobe probes the schedule() function, if the probed process exits then schedule() will never return, so some kretprobe instances will never be recycled. In this patch the parent process will recycle retprobe instances of the probed function and there will be no memory leak of kretprobe instances. Signed-off-by: bibo mao Cc: Masami Hiramatsu Cc: Prasanna S Panchamukhi Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9becf58d935265919bf1cb348b2c04492c8949d tree 57ec897e82bdd4c30eb19112be425fe4d64a1029 parent 311ac88fd2d4194a95e9e38d2fe08917be98723c author Masami Hiramatsu Sun, 26 Mar 2006 01:38:19 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:04 -0800 [PATCH] kretprobe: kretprobe-booster In normal operation, kretprobe makes a target function return to trampoline code. A kprobe (called trampoline_probe) has been inserted in the trampoline code. When the kernel hits this kprobe, it calls kretprobe's handler and it returns to the original return address. Kretprobe-booster removes the trampoline_probe. It allows the trampoline code to call kretprobe's handler directly instead of invoking kprobe. The trampoline code returns to the original return address. (changelog from Chuck Ebbert <76306.1226@compuserve.com> - thanks ;)) Signed-off-by: Masami Hiramatsu Cc: Prasanna S Panchamukhi Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Cc: David S. Miller Cc: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 311ac88fd2d4194a95e9e38d2fe08917be98723c tree 321602aa5da2c18a285f31dc2dab14a7464c0483 parent b50ea74c7bc3ebe3d88a357893f0b96ae9092f13 author Masami Hiramatsu Sun, 26 Mar 2006 01:38:17 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:04 -0800 [PATCH] x86: kprobes-booster Current kprobe copies the original instruction at the probe point and replaces it with a breakpoint instruction (int3). When the kernel hits the probe point, kprobe handler is invoked. And the copied instruction is single-step executed on the copied buffer (not on the original address) by kprobe. After that, the kprobe checks registers and modify it (if need) as if the instructions was executed on the original address. My proposal is based on the fact there are many instructions which do NOT require the register modification after the single-step execution. When the copied instruction is a kind of them, kprobe just jumps back to the next instruction after single-step execution. If so, why don't we execute those instructions directly? With kprobe-booster patch, kprobes will execute a copied instruction directly and (if need) jump back to original code. This direct execution is executed when the kprobe don't have both post_handler and break_handler, and the copied instruction can be executed directly. I sorted instructions which can be executed directly or not; - Call instructions are NG(can not be executed directly). We should correct the return address pushed into top of stack. - Indirect instructions except for absolute indirect-jumps are NG. Those instructions changes EIP randomly. We should check EIP and correct it. - Instructions that change EIP beyond the range of the instruction buffer are NG. - Instructions that change EIP to tail 5 bytes of the instruction buffer (it is the size of a jump instruction). We must write a jump instruction which backs to original kernel code in the instruction buffer. - Break point instruction is NG. We should not touch EIP and pass to other handlers. - Absolute direct/indirect jumps are OK.- Conditional Jumps are NG. - Halt and software-interruptions are NG. Because it will stay on the instruction buffer of kprobes. - Prefixes are NG. - Unknown/reserved opcode is NG. - Other 1 byte instructions are OK. But those instructions need a jump back code. - 2 bytes instructions are mapped sparsely. So, in this release, this patch don't boost those instructions. >From Intel's IA-32 opcode map described in IA-32 Intel Architecture Software Developer's Manual Vol.2 B, I determined that following opcodes are not boostable. - 0FH (2byte escape) - 70H - 7FH (Jump on condition) - 9AH (Call) and 9CH (Pushf) - C0H-C1H (Grp 2: includes reserved opcode) - C6H-C7H (Grp11: includes reserved opcode) - CCH-CEH (Software-interrupt) - D0H-D3H (Grp2: includes reserved opcode) - D6H (Reserved) - D8H-DFH (Coprocessor) - E0H-E3H (loop/conditional jump) - E8H (Call) - F0H-F3H (Prefixes and reserved) - F4H (Halt) - F6H-F7H (Grp3: includes reserved opcode) - FEH-FFH(Grp4,5: includes reserved opcode) Kprobe-booster checks whether target instruction can be boosted (can be executed directly) at arch_copy_kprobe() function. If the target instruction can be boosted, it clears "boostable" flag. If not, it sets "boostable" flag -1. This is disabled status. In resume_execution() function, If "boostable" flag is cleared, kprobe-booster measures the size of the target instruction and sets "boostable" flag 1. In kprobe_handler(), kprobe checks the "boostable" flag. If the flag is 1, it resets current kprobe and executes instruction buffer directly instead of single stepping. When unregistering a boosted kprobe, it calls synchronize_sched() after "int3" is removed. So we can ensure followings after the synchronize_sched() called. - interrupt handlers are finished on all CPUs. - instruction buffer is not executed on all CPUs. And we can release the boosted kprobe safely. And also, on preemptible kernel, the booster is not enabled where the kernel preemption is enabled. So, there are no preempted threads on the instruction buffer. The description of kretprobe-booster: ==================================== In the normal operation, kretprobe make a target function return to trampoline code. And a kprobe (called trampoline_probe) have been inserted at the trampoline code. When the kernel hits this kprobe, it calls kretprobe's handler and it returns to original return address. Kretprobe-booster patch removes the trampoline_probe. It allows the trampoline code to call kretprobe's handler directly instead of invoking kprobe. And tranpoline code returns to original return address. This new trampoline code stores and restores registers, so the kretprobe handler is still able to access those registers. Current kprobe has about 1.3 usec/probe(*) overhead, and kprobe-booster patch reduces it to 0.6 usec/probe(*). Also current kretprobe has about 2.0 usec/probe(*) overhead. Kprobe-booster patch reduces it to 1.3 usec/probe(*), and the combination of both kprobe-booster patch and kretprobe-booster patch reduces it to 0.9 usec/probe(*). I expect the combination of both patches can reduce half of a probing overhead. Performance numbers strongly depend on the processor model. Andrew Morton wrote: > These preempt tricks look rather nasty. Can you please describe what the > problem is, precisely? And how this code avoids it? Perhaps we can find > something cleaner. The problem is how to remove the copied instructions of the kprobe *safely* on the preemptable kernel (CONFIG_PREEMPT=y). Kprobes basically executes the following actions; (1)int3 (2)preempt_disable() (3)kprobe_prehandler() (4)copied instructioin(single step) (5)kprobe_posthandler() (6)preempt_enable() (7)return to the original code During the execution of copied instruction, preemption is disabled (from step (2) to (6)). When unregistering the probes, Kprobe waits for RCU quiescent state by using synchronize_sched() after removing int3 instruction. Thus we can ensure the copied instruction is not executed. On the other hand, kprobe-booster executes the following actions; (1)int3 (2)preempt_disable() (3)kprobe_prehandler() (4)preempt_enable() <-- this one is added by my patch (5)copied instruction(direct execution) (6)jmp back to the original code The problem is that we have no way to prevent preemption on step (5) or (6). We cannot call preempt_disable() after step (6), because there are no rooms to do that. Thus, some other processes may be preempted at step(5) or (6) on preemptable kernel. And I couldn't find the easy way to ensure that other processes' stack do *not* have the address of them. (I thought some way to do that, but those are very costly.) So currently, I simply boost the kprobe only when the probe point is already preemption disabled. > Also, the patch adds a preempt_enable() but I don't see a corresponding > preempt_disable(). Am I missing something? It is corresponding to the preempt_disable() in the top of kprobe_handler(). I copied the code of kprobe_handler() here: static int __kprobes kprobe_handler(struct pt_regs *regs) { struct kprobe *p; int ret = 0; kprobe_opcode_t *addr = NULL; unsigned long *lp; struct kprobe_ctlblk *kcb; /* * We don't want to be preempted for the entire * duration of kprobe processing */ preempt_disable(); <-- HERE kcb = get_kprobe_ctlblk(); Signed-off-by: Masami Hiramatsu Cc: Prasanna S Panchamukhi Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Cc: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b50ea74c7bc3ebe3d88a357893f0b96ae9092f13 tree 853f3d7be8b43de3f15f54c91a0775bd4e131df5 parent 05cfb614ddbf3181540ce09d44d96486f8ba8d6a author Masami Hiramatsu Sun, 26 Mar 2006 01:38:13 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:03 -0800 [PATCH] kprobes: clean up resume_execute() Clean up kprobe's resume_execute() for i386 arch. Signed-off-by: Masami Hiramatsu Cc: Prasanna S Panchamukhi Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Cc: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05cfb614ddbf3181540ce09d44d96486f8ba8d6a tree aafed98638557a4643141d906fbb2406f0764a94 parent df869b630d9d9131c10cf073fb61646048874b2f author Roman Zippel Sun, 26 Mar 2006 01:38:12 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:03 -0800 [PATCH] hrtimers: remove data field The nanosleep cleanup allows to remove the data field of hrtimer. The callback function can use container_of() to get it's own data. Since the hrtimer structure is anyway embedded in other structures, this adds no overhead. Signed-off-by: Roman Zippel Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df869b630d9d9131c10cf073fb61646048874b2f tree 37e38f934e4505ddf23569227865f47facff64e8 parent 272705c5979c114e63dbfcd28ea15093038a4c42 author Roman Zippel Sun, 26 Mar 2006 01:38:11 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:03 -0800 [PATCH] hrtimers: remove nsec_t typedef nsec_t predates ktime_t and has mostly been superseded by it. In the few places that are left it's better to make it explicit that we're dealing with 64 bit values here. Signed-off-by: Roman Zippel Acked-by: Thomas Gleixner Acked-by: John Stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 272705c5979c114e63dbfcd28ea15093038a4c42 tree f23449f399cc6a693e6f7c26c4dfcce212381a20 parent 4dee26b7e26eb3c78da8bf6c1c52ee5419145b28 author Roman Zippel Sun, 26 Mar 2006 01:38:10 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:03 -0800 [PATCH] hrtimers: remove DEFINE_KTIME and ktime_to_clock_t() Now that it_real_value is gone, the last user of DEFINE_KTIME and ktime_to_clock_t are also gone, so remove it before someone starts using it again. Signed-off-by: Roman Zippel Acked-by: Ingo Molnar Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dee26b7e26eb3c78da8bf6c1c52ee5419145b28 tree fbea634975b43d58ce50319c2ff703a20fbd133f parent b75f7a51ca75c977d7d77f735d7a7859194eb39e author Roman Zippel Sun, 26 Mar 2006 01:38:10 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] hrtimers: remove it_real_value calculation from proc/*/stat Remove the it_real_value from /proc/*/stat, during 1.2.x was the last time it returned useful data (as it was directly maintained by the scheduler), now it's only a waste of time to calculate it. Return 0 instead. Signed-off-by: Roman Zippel Acked-by: Ingo Molnar Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b75f7a51ca75c977d7d77f735d7a7859194eb39e tree c8057a34970f9a6fb04bdfa37e2926df38747790 parent 432569bb9d9d424d7ffe5b21f8205c55bdd1aaa8 author Roman Zippel Sun, 26 Mar 2006 01:38:09 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] hrtimers: remove state field Remove the state field and encode this information in the rb_node similiar to normal timer. Signed-off-by: Roman Zippel Acked-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 432569bb9d9d424d7ffe5b21f8205c55bdd1aaa8 tree da649d202625d061d4fca27a6a63c4f81076724e parent 3b98a5328171cebc867f70484b20bd34948cd7f6 author Roman Zippel Sun, 26 Mar 2006 01:38:08 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] hrtimers: simplify nanosleep nanosleep is the only user of the expired state, so let it manage this itself, which makes the hrtimer code a bit simpler. The remaining time is also only calculated if requested. Signed-off-by: Roman Zippel Acked-by: Ingo Molnar Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b98a5328171cebc867f70484b20bd34948cd7f6 tree 11510d45aec22c742baf6b67233dc1ebdfa17ee1 parent 44f21475511bbc0135b52c66ad74dcc6a9026da3 author Roman Zippel Sun, 26 Mar 2006 01:38:07 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] hrtimers: posix-timer: cleanup common_timer_get() Cleanup common_timer_get() a little. Signed-off-by: Roman Zippel Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44f21475511bbc0135b52c66ad74dcc6a9026da3 tree 5cbd605c9d074f40b52a877859957432311b2399 parent 92127c7a45d4d167d9b015a5f9de6b41ed66f1d0 author Roman Zippel Sun, 26 Mar 2006 01:38:06 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] hrtimers: pass current time to hrtimer_forward() Pass current time to hrtimer_forward(). This allows to use the softirq time in the timer base when the forward function is called from the timer callback. Other places pass current time with a call to timer->base->get_time(). Signed-off-by: Roman Zippel Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92127c7a45d4d167d9b015a5f9de6b41ed66f1d0 tree 4742cc36ff0b26c999365d1e84133886bb694096 parent a0e9285233a32edf267d27cd03fe0056951422cf author Thomas Gleixner Sun, 26 Mar 2006 01:38:05 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] hrtimers: optimize softirq runqueues The hrtimer softirq is called from the timer softirq every tick. Retrieve the current time from xtime and wall_to_monotonic instead of calling base->get_time() for each timer base. Store the time in the base structure and provide a hook once clock source abstractions are in place and to keep the code open for new base clocks. Based on a patch from: Roman Zippel Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0e9285233a32edf267d27cd03fe0056951422cf tree bc8632552b1b91afa466b411992b0d85ec50d5a1 parent f91a2ad2ed97099fb565e3336f8df0df717f2ba9 author Badari Pulavarty Sun, 26 Mar 2006 01:38:05 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] ext3: "nobh" writeback support for filesystems blocksize < pagesize There is no valid reason why we can't support "nobh" option for filesystems with blocksize != PAGESIZE. This patch lets them use "nobh" option for writeback mode for blocksize < pagesize. Signed-off-by: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f91a2ad2ed97099fb565e3336f8df0df717f2ba9 tree ab8ebeca29bbbbf1f66c47173faebbc383a4dbf7 parent d6859bfca8cbfe4105704e410b0afa50beabbbb9 author Badari Pulavarty Sun, 26 Mar 2006 01:38:04 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] ext3: multi-block get_block() Mingming Cao recently added multi-block allocation support for ext3, currently used only by DIO. I added support to map multiple blocks for mpage_readpages(). This patch add support for ext3_get_block() to deal with multi-block mapping. Basically it renames ext3_direct_io_get_blocks() as ext3_get_block(). Signed-off-by: Badari Pulavarty Cc: Mingming Cao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6859bfca8cbfe4105704e410b0afa50beabbbb9 tree f26e02a70b3ab3c41ac06480c1662bc5fb27ce6f parent 1d8fa7a2b9a39d18727acc5c468e870df606c852 author Andrew Morton Sun, 26 Mar 2006 01:38:03 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:02 -0800 [PATCH] ext3: cleanups and WARN_ON() - Clean up a few little layout things and comments. - Add a WARN_ON to a case which I was wondering about. - Tune up some inlines. Cc: Mingming Cao Cc: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d8fa7a2b9a39d18727acc5c468e870df606c852 tree 41537fe9ea5478f3243e3301184dc13980f8201f parent fa30bd058b746c0e2318a77ff8b4977faa924c2c author Badari Pulavarty Sun, 26 Mar 2006 01:38:02 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:01 -0800 [PATCH] remove ->get_blocks() support Now that get_block() can handle mapping multiple disk blocks, no need to have ->get_blocks(). This patch removes fs specific ->get_blocks() added for DIO and makes it users use get_block() instead. Signed-off-by: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa30bd058b746c0e2318a77ff8b4977faa924c2c tree a91abdcc4909da5dd16ed1bab91b5764eafed174 parent b0cf2321c6599138f860517745503691556d8453 author Badari Pulavarty Sun, 26 Mar 2006 01:38:01 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:01 -0800 [PATCH] map multiple blocks for mpage_readpages() This patch changes mpage_readpages() and get_block() to get the disk mapping information for multiple blocks at the same time. b_size represents the amount of disk mapping that needs to mapped. On the successful get_block() b_size indicates the amount of disk mapping thats actually mapped. Only the filesystems who care to use this information and provide multiple disk blocks at a time can choose to do so. No changes are needed for the filesystems who wants to ignore this. [akpm@osdl.org: cleanups] Signed-off-by: Badari Pulavarty Cc: Mingming Cao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0cf2321c6599138f860517745503691556d8453 tree 39ecfea09c13ce09172ab3ec5a5b6d2fef657cac parent 205f87f6b342444f722e4559d33318686f7df2ca author Badari Pulavarty Sun, 26 Mar 2006 01:38:00 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:01 -0800 [PATCH] pass b_size to ->get_block() Pass amount of disk needs to be mapped to get_block(). This way one can modify the fs ->get_block() functions to map multiple blocks at the same time. [akpm@osdl.org: performance tweak] [akpm@osdl.org: remove unneeded assignments] Signed-off-by: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 205f87f6b342444f722e4559d33318686f7df2ca tree 61f32bb0582dde9fd62ee3d03ac3324b949b29e6 parent d48589bfad0e60bff0aa3f9e4875983f607bd44b author Badari Pulavarty Sun, 26 Mar 2006 01:38:00 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:01 -0800 [PATCH] change buffer_head.b_size to size_t Increase the size of the buffer_head b_size field (only) for 64 bit platforms. Update some old and moldy comments in and around the structure as well. The b_size increase allows us to perform larger mappings and allocations for large I/O requests from userspace, which tie in with other changes allowing the get_block_t() interface to map multiple blocks at once. Signed-off-by: Nathan Scott Signed-off-by: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d48589bfad0e60bff0aa3f9e4875983f607bd44b tree 3ec6d645847ea451b15abd6c9f1f27ce93591fd9 parent faa569763a7753e0a7cb8fd3919a62c0f7cc1e3c author Mingming Cao Sun, 26 Mar 2006 01:37:59 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:01 -0800 [PATCH] ext3_get_blocks: Adjust reservation window size for mblocks Optimize the block reservation and the multiple block allocation: with the knowledge of the total number of blocks ahead, set or adjust the reservation window size properly (based on the number of blocks needed) before block allocation happens: if there isn't any reservation yet, make sure the reservation window equals to or greater than the number of blocks needed, before create an reservation window; if a reservation window is already exists, try to extends the window size to match the number of blocks to allocate. This could increase the possibility of completing multiple blocks allocation in a single request, as blocks are only allocated in the range of the inode's reservation window. Signed-off-by: Mingming Cao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faa569763a7753e0a7cb8fd3919a62c0f7cc1e3c tree 663211ee691abc20892d106cf3dc1bd2d8c62ff3 parent b54e41ec17ae91dce174eb5a3515e7af4a440d42 author Mingming Cao Sun, 26 Mar 2006 01:37:58 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:01 -0800 [PATCH] ext3_get_blocks: Adjust accounting info in ext3_new_blocks() Update accounting information (quota, boundary checks, free blocks number etc) in ext3_new_blocks(). Signed-off-by: Mingming Cao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b54e41ec17ae91dce174eb5a3515e7af4a440d42 tree aa98a38e05188b204950eb0756fb792675951b0d parent b47b24781c59565f45acd765dc995a752d561e96 author Mingming Cao Sun, 26 Mar 2006 01:37:57 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:01 -0800 [PATCH] ext3_get_blocks: support multiple blocks allocation in ext3_new_block() Change ext3_try_to_allocate() (called via ext3_new_blocks()) to try to allocate the requested number of blocks on a best effort basis: After allocated the first block, it will always attempt to allocate the next few(up to the requested size and not beyond the reservation window) adjacent blocks at the same time. Signed-off-by: Mingming Cao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b47b24781c59565f45acd765dc995a752d561e96 tree bd18b4f13fef4e162429b1e1ba14841d4a11af3b parent 89747d369d34e333b9b60f10f333a0b727b4e4e2 author Mingming Cao Sun, 26 Mar 2006 01:37:56 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:01 -0800 [PATCH] ext3_get_blocks: multiple block allocation Add support for multiple block allocation in ext3-get-blocks(). Look up the disk block mapping and count the total number of blocks to allocate, then pass it to ext3_new_block(), where the real block allocation is performed. Once multiple blocks are allocated, prepare the branch with those just allocated blocks info and finally splice the whole branch into the block mapping tree. Signed-off-by: Mingming Cao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89747d369d34e333b9b60f10f333a0b727b4e4e2 tree 26b55849e666c7f6c7a7312b100756c3b591559f parent e2d53f9525790dfacbcf09f359536311d3913d98 author Mingming Cao Sun, 26 Mar 2006 01:37:55 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:00 -0800 [PATCH] ext3_get_blocks: Mapping multiple blocks at a once Currently ext3_get_block() only maps or allocates one block at a time. This is quite inefficient for sequential IO workload. I have posted a early implements a simply multiple block map and allocation with current ext3. The basic idea is allocating the 1st block in the existing way, and attempting to allocate the next adjacent blocks on a best effort basis. More description about the implementation could be found here: http://marc.theaimsgroup.com/?l=ext2-devel&m=112162230003522&w=2 The following the latest version of the patch: break the original patch into 5 patches, re-worked some logicals, and fixed some bugs. The break ups are: [patch 1] Adding map multiple blocks at a time in ext3_get_blocks() [patch 2] Extend ext3_get_blocks() to support multiple block allocation [patch 3] Implement multiple block allocation in ext3-try-to-allocate (called via ext3_new_block()). [patch 4] Proper accounting updates in ext3_new_blocks() [patch 5] Adjust reservation window size properly (by the given number of blocks to allocate) before block allocation to increase the possibility of allocating multiple blocks in a single call. Tests done so far includes fsx,tiobench and dbench. The following numbers collected from Direct IO tests (1G file creation/read) shows the system time have been greatly reduced (more than 50% on my 8 cpu system) with the patches. 1G file DIO write: 2.6.15 2.6.15+patches real 0m31.275s 0m31.161s user 0m0.000s 0m0.000s sys 0m3.384s 0m0.564s 1G file DIO read: 2.6.15 2.6.15+patches real 0m30.733s 0m30.624s user 0m0.000s 0m0.004s sys 0m0.748s 0m0.380s Some previous test we did on buffered IO with using multiple blocks allocation and delayed allocation shows noticeable improvement on throughput and system time. This patch: Add support of mapping multiple blocks in one call. This is useful for DIO reads and re-writes (where blocks are already allocated), also is in line with Christoph's proposal of using getblocks() in mpage_readpage() or mpage_readpages(). Signed-off-by: Mingming Cao Cc: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2d53f9525790dfacbcf09f359536311d3913d98 tree 0e25006f7c99b81ba786a32795bd3e97012f043e parent 5515eff811cb807f0d3221a6e8cc223c7850d205 author Takashi Sato Sun, 26 Mar 2006 01:37:54 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:00 -0800 [PATCH] 2TB files: change type of kstatfs entries This fix was proposed by Trond Myklebust. He says: The type "sector_t" is heavily tied in to the block layer interface as an offset/handle to a block, and is subject to a supposedly block-specific configuration option: CONFIG_LBD. Despite this, it is used in struct kstatfs to save a couple of bytes on the stack whenever we call the filesystems' ->statfs(). So kstatfs's entries related to blocks are invalid on statfs64 for a network filesystem which has more than 2^32-1 blocks when CONFIG_LBD is disabled. - struct kstatfs Change the type of following entries from sector_t to u64. f_blocks f_bfree f_bavail f_files f_ffree Signed-off-by: Trond Myklebust Signed-off-by: Takashi Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5515eff811cb807f0d3221a6e8cc223c7850d205 tree 4538d128fd5b1d61d8d791a032c5a29e59b0d993 parent a0f62ac6362c168754cccb36f196b3dfbddc3bc3 author Andrew Morton Sun, 26 Mar 2006 01:37:53 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:00 -0800 [PATCH] 2tb-files-add-blkcnt_t-fixes Cc: Takashi Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0f62ac6362c168754cccb36f196b3dfbddc3bc3 tree 079d525cfbf9851e2cb30acda77d180388d03c69 parent abcb6c9fd13fc2ad7757b818924dc8109a0e3775 author Takashi Sato Sun, 26 Mar 2006 01:37:52 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:00 -0800 [PATCH] 2TB files: add blkcnt_t Add blkcnt_t as the type of inode.i_blocks. This enables you to make the size of blkcnt_t either 4 bytes or 8 bytes on 32 bits architecture with CONFIG_LSF. - CONFIG_LSF Add new configuration parameter. - blkcnt_t On h8300, i386, mips, powerpc, s390 and sh that define sector_t, blkcnt_t is defined as u64 if CONFIG_LSF is enabled; otherwise it is defined as unsigned long. On other architectures, it is defined as unsigned long. - inode.i_blocks Change the type from sector_t to blkcnt_t. Signed-off-by: Takashi Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit abcb6c9fd13fc2ad7757b818924dc8109a0e3775 tree 39a1d5660d2bd92cffa8eef09d489b241e4072a1 parent 93d2341c750cda0df48a6cc67b35fe25f1ec47df author Takashi Sato Sun, 26 Mar 2006 01:37:51 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:00 -0800 [PATCH] 2TB files: st_blocks is invalid when calling stat64 This patch series fixes the following problems on 32 bits architecture. o stat64 returns the lower 32 bits of blocks, although userland st_blocks has 64 bits, because i_blocks has only 32 bits. The ioctl with FIOQSIZE has the same problem. o As Dave Kleikamp said, making >2TB file on JFS results in writing an invalid block number to disk inode. The cause is the same as above too. o In generic quota code dquot_transfer(), the file usage is calculated from i_blocks via inode_get_bytes(). If the file is over 2TB, the change of usage is less than expected. The cause is the same as above too. o As Trond Myklebust said, statfs64's entries related to blocks are invalid on statfs64 for a network filesystem which has more than 2^32-1 blocks with CONFIG_LBD disabled. [PATCH 3/3] We made patches to fix problems that occur when handling a large filesystem and a large file. It was discussed on the mails titled "stat64 for over 2TB file returned invalid st_blocks". Signed-off-by: Takashi Sato Cc: Dave Kleikamp Cc: Jan Kara Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93d2341c750cda0df48a6cc67b35fe25f1ec47df tree f098a3bbfae65ce967591ee94d605c6e6bea21c6 parent fec433aaaae32a02329ad7d71b0f3c91b7525077 author Matthew Dobson Sun, 26 Mar 2006 01:37:50 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:00 -0800 [PATCH] mempool: use mempool_create_slab_pool() Modify well over a dozen mempool users to call mempool_create_slab_pool() rather than calling mempool_create() with extra arguments, saving about 30 lines of code and increasing readability. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fec433aaaae32a02329ad7d71b0f3c91b7525077 tree cb8b700fa5c0e4ae51545bf2fbcaa37fc6bd6392 parent 26b6e051bc36b968a0b5ac96903b99e050d20b87 author Matthew Dobson Sun, 26 Mar 2006 01:37:49 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:57:00 -0800 [PATCH] mempool: add mempool_create_slab_pool() Create a simple wrapper function for the common case of creating a slab-based mempool. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 26b6e051bc36b968a0b5ac96903b99e050d20b87 tree b8f1aed358f5e19b1faf3e720247fdfa441f3b7c parent f183323d3822dee4d7b3147a59b6e8987fe201e0 author Matthew Dobson Sun, 26 Mar 2006 01:37:48 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] mempool: use common mempool kzalloc allocator This patch changes a mempool user, which is basically just a wrapper around kzalloc(), to use the common mempool_kmalloc/kfree, rather than its own wrapper function, removing duplicated code. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f183323d3822dee4d7b3147a59b6e8987fe201e0 tree f1cec982da7ae954af52584630c273976fd43127 parent 0eaae62abaa1ad1f231932b6cdd9fb1b91df6651 author Matthew Dobson Sun, 26 Mar 2006 01:37:48 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] mempool: add kzalloc allocator Add another allocator to the common mempool code: a kzalloc/kfree allocator This will be used by the next patch in the series to replace a mempool-backed kzalloc allocator. It is also very likely that there will be more users in the future. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0eaae62abaa1ad1f231932b6cdd9fb1b91df6651 tree cda02cffff075a8b542ddcea4fa0ff0064130502 parent 53184082b070dfb077218828fdf839826102ed96 author Matthew Dobson Sun, 26 Mar 2006 01:37:47 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] mempool: use common mempool kmalloc allocator This patch changes several mempool users, all of which are basically just wrappers around kmalloc(), to use the common mempool_kmalloc/kfree, rather than their own wrapper function, removing a bunch of duplicated code. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53184082b070dfb077218828fdf839826102ed96 tree 77aad868cb43b78195e7ca657c1e30a6934fac44 parent a19b27ce3847c3a5d4ea6b6c91b6f7154759af23 author Matthew Dobson Sun, 26 Mar 2006 01:37:46 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] mempool: add kmalloc allocator Add another allocator to the common mempool code: a kmalloc/kfree allocator This will be used by the next patch in the series to replace duplicate mempool-backed kmalloc allocators in several places in the kernel. It is also very likely that there will be more users in the future. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a19b27ce3847c3a5d4ea6b6c91b6f7154759af23 tree 794dc69869408bee9154b3e9d9852327e5219f4c parent 6e0678f394c7bd21bfa5d252b071a09e10e7a749 author Matthew Dobson Sun, 26 Mar 2006 01:37:45 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] mempool: use common mempool page allocator Convert two mempool users that currently use their own mempool-backed page allocators to use the generic mempool page allocator. Also included are 2 trivial whitespace fixes. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e0678f394c7bd21bfa5d252b071a09e10e7a749 tree 45e9729c67b867821748414667dada0d36a8bd34 parent 8219dd5710c1daec2d7a086eeeee5187decfde60 author Matthew Dobson Sun, 26 Mar 2006 01:37:44 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] mempool: add page allocator This will be used by the next patch in the series to replace duplicate mempool-backed page allocators in 2 places in the kernel. It is also likely that there will be more users in the future. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8219dd5710c1daec2d7a086eeeee5187decfde60 tree 916e1913ef0df4ece30f59275b1f2607dedd1821 parent a880c4cd2538293be59121a3658b8de8e3a058e5 author Steffen Klassert Sun, 26 Mar 2006 01:37:44 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] 3c59x: documentation update Update driver documentation. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a880c4cd2538293be59121a3658b8de8e3a058e5 tree 2f20cef9b9afc5ab6b050e184074dc62acb48eed parent 61238602622c965db052927c89901aa08f88d933 author Steffen Klassert Sun, 26 Mar 2006 01:37:43 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] 3c59x: minor cleanups Remove some whitespaces and codingstyle issues. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61238602622c965db052927c89901aa08f88d933 tree fa9aad9940ae692df63178d85d11a9d57dc12a94 parent 373a688742d7ba31cafc4c7b9bc09eba257860bd author Steffen Klassert Sun, 26 Mar 2006 01:37:42 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:59 -0800 [PATCH] 3c59x: remove per-driver versioning Remove per-driver versioning. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 373a688742d7ba31cafc4c7b9bc09eba257860bd tree fb25363f82bc3cab2d5e24369eaedf27f020a37c parent e94d10eb0d77ae70378f9218631a7be91e0aecff author Steffen Klassert Sun, 26 Mar 2006 01:37:41 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:58 -0800 [PATCH] 3c59x: use ethtool_op_get_link Use ethtool_op_get_link instead of vortex_get_link. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e94d10eb0d77ae70378f9218631a7be91e0aecff tree 31f9bdce9927be2a8ebc54c9cf9b7acad5e0d262 parent b4ff6450f5336c492d1e2f184d3b8186e0716b7a author Steffen Klassert Sun, 26 Mar 2006 01:37:41 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:58 -0800 [PATCH] 3c59x: carriercheck for forced media Handle netif_carrier_{on,of} also if media is forced to 10baseT/100baseTx. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4ff6450f5336c492d1e2f184d3b8186e0716b7a tree 1d7a56cd1c0d60d4ec6805381ce63f63ca60ac8a parent 125d5ce8a4e9e4babaed52518fecc9eb6958455d author Steffen Klassert Sun, 26 Mar 2006 01:37:40 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:58 -0800 [PATCH] 3c59x: decrease polling interval Set the polling interval for media changes to 5 seconds if link is down and 60 seconds if link is up. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 125d5ce8a4e9e4babaed52518fecc9eb6958455d tree 2a82dbe7d919827a8998d198d3a46ba72685f17c parent 33644c5e15917b36c26f0c30c48786c5e8e62be1 author Steffen Klassert Sun, 26 Mar 2006 01:37:39 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:58 -0800 [PATCH] 3c59x: use mii_check_media Check for media changes and netif_carrier by using mii_check_media() if mii is used. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33644c5e15917b36c26f0c30c48786c5e8e62be1 tree 6bbaea71295ce60eefca63df9f7d0f149101ceae parent 8f3b50fc72d538c79dd2c1f728f5e594a0192da2 author Jason Gunthorpe Sun, 26 Mar 2006 01:37:38 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:58 -0800 [PATCH] Fix typo causing bad mode of /initrd.image I noticed that after boot with an initrd in 2.6.16 the rootfs had: --w-r-xr-T 1 root root 6241141 Jan 1 1970 initrd.image Which is caused by a small typo: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f3b50fc72d538c79dd2c1f728f5e594a0192da2 tree 467c8e0880c7470d4d169a6d149c5946876c20ea parent 1751ace034bba6b423c1de4668f0e65cc9ef2b84 author Eric Sesterhenn Sun, 26 Mar 2006 01:37:37 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:58 -0800 [PATCH] Fix compilation for sound/oss/vwsnd.c Fix compilation for sound/oss/vwsnd.o, by moving li_destroy() above li_create() sound/oss/vwsnd.c:275: warning: conflicting types for ‘li_destroy’ sound/oss/vwsnd.c:275: error: static declaration of ‘li_destroy’ follows non-static declaration sound/oss/vwsnd.c:264: error: previous implicit declaration of ‘li_destroy’ was here Signed-off-by: Eric Sesterhenn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1751ace034bba6b423c1de4668f0e65cc9ef2b84 tree 3547409d6f919a459e3d79b02ff0903235b31616 parent 5ff2a7e25ddd648e9096d45cdc5e7d656a8bb0ff author H. Peter Anvin Sun, 26 Mar 2006 01:37:36 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:58 -0800 [PATCH] Update documentation for BLK_DEV_INITRD to match current usage Cc: Al Viro Cc: Christoph Hellwig Cc: Zdenek Pavlas Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ff2a7e25ddd648e9096d45cdc5e7d656a8bb0ff tree 2e6825663e0c3240d61a9f7274d96ab0b2727602 parent d6d21dfdd305bf94300df13ff472141d3411ea17 author maximilian attems Sun, 26 Mar 2006 01:37:35 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:58 -0800 [PATCH] isicom: select FW_LOADER The isicom driver uses request_firmware() and thus needs to select FW_LOADER. Signed-off-by: maximilian attems Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6d21dfdd305bf94300df13ff472141d3411ea17 tree 68468809491f981931db2d2bce4036d151289009 parent 3ac8bf077d0f13b9c3131dd61f9f76c78c322858 author Darren Jenkins Sun, 26 Mar 2006 01:37:34 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:57 -0800 [PATCH] fix array overrun in efi.c Coverity found an over-run @ line 364 of efi.c This is due to the loop checking the size correctly, then adding a '\0' after possibly hitting the end of the array. Ensure the loop exits with one space left in the array. Signed-off-by: Darren Jenkins Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ac8bf077d0f13b9c3131dd61f9f76c78c322858 tree 64698960010c8c2056c3dcf58b655aea890842b3 parent 9a98e2f7326d626d75cab2fe108c34b733227918 author Andrew Morton Sun, 26 Mar 2006 01:37:33 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:57 -0800 [PATCH] ads7846: sparc32 warning fix drivers/input/touchscreen/ads7846.c: In function `ads7846_read12_ser': drivers/input/touchscreen/ads7846.c:207: warning: implicit declaration of function `disable_irq' drivers/input/touchscreen/ads7846.c:209: warning: implicit declaration of function `enable_irq' Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a98e2f7326d626d75cab2fe108c34b733227918 tree de27536a7865162c9664187fa3e0bf6e10db242e parent 222b9f933a76b127a073f45278d2b0199587e8ce author Andrew Morton Sun, 26 Mar 2006 01:37:32 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:57 -0800 [PATCH] remove fixup_cpu_present_map() Since the addition of boot_cpu_init(), fixup_cpu_present_map() has been a no-op. That's because fixup_cpu_present_map() won't touch cpu_present_map if it has any bits set, and boot_cpu_init() sets a bit. So remove fixup_cpu_present_map(). A consequence of this (actually of the boot_cpu_init() change) is that the architecture _must_ populate cpu_present_map itself (probably in smp_prepare_cpus()). fixup_cpu_present_map() won't do it any more. If the architecture doesn't do this, it'll only bring up a single CPU. The other side effect (though less serious) is that smp_prepare_boot_cpu() no longer needs to mark the boot cpu in the online and present maps - boot_cpu_init() does that for everyone (to make early printks work). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 222b9f933a76b127a073f45278d2b0199587e8ce tree f8bc703ebd08a961c95183aad52bc349b3a787d5 parent 3e88c17d404c5787afd5bd1763380317f5ccbf84 author Andrew Morton Sun, 26 Mar 2006 01:37:31 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:57 -0800 [PATCH] tlclk: fix handling of device major tlclk calls register_chrdev() and permits register_chrdev() to allocate the major, but it promptly forgets what that major was. So if there's no hardware present you still get "telco_clock" appearing in /proc/devices and, I assume, an oops reading /proc/devices if tlclk was a module. Fix. Mark, I'd suggest that that we not call register_chrdev() until _after_ we've established that the hardware is present. Cc: Mark Gross Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e88c17d404c5787afd5bd1763380317f5ccbf84 tree 913f04bd00842b2b45ec2ead7ab93d16c037465b parent 22e6c1b39c648850438decd491f62d311800c7db author Herbert Poetzl Sun, 26 Mar 2006 01:37:30 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:57 -0800 [PATCH] loop: potential kernel hang waiting for kthread Check that kernel_thread() succeeded, so we don't wait for something which cannot happen. Signed-off-by: Herbert Poetzl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22e6c1b39c648850438decd491f62d311800c7db tree 23ec4760c7f85bbcad5ae029e5a3d65f93896ed2 parent 3158e9411a66fb98d495ac441c242264f31aaf3e author Maneesh Soni Sun, 26 Mar 2006 01:37:29 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:57 -0800 [PATCH] Use loff_t for size in struct proc_dir_entry Change proc_dir_entry->size to be loff_t to represent files like /proc/vmcore for 32bit systems with more than 4G memory. Needed for seeing correct size for /proc/vmcore for 32-bit systems with > 4G RAM. Signed-off-by: Maneesh Soni Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3158e9411a66fb98d495ac441c242264f31aaf3e tree 7b3bad47214c09c9dcd7ff27316c6de23f4c7cb0 parent 88959ea968709c35e8b979ac9f5a398fa748091a author Stephen Rothwell Sun, 26 Mar 2006 01:37:29 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:57 -0800 [PATCH] consolidate sys32/compat_adjtimex Create compat_sys_adjtimex and use it an all appropriate places. Signed-off-by: Stephen Rothwell Cc: Arnd Bergmann Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88959ea968709c35e8b979ac9f5a398fa748091a tree 7d93892ec8d7b15cd810e4bcb75715c797e01ab3 parent eb76b3fda1f7c2aa2d1523b36835048a15e5e5d2 author Stephen Rothwell Sun, 26 Mar 2006 01:37:27 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:57 -0800 [PATCH] create struct compat_timex and use it everywhere We had a copy of the compatibility version of struct timex in each 64 bit architecture. This patch just creates a global one and replaces all the usages of the old ones. Signed-off-by: Stephen Rothwell Cc: Arnd Bergmann Acked-by: Kyle McMartin Acked-by: Tony Luck Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb76b3fda1f7c2aa2d1523b36835048a15e5e5d2 tree 4a120685e7c1a3762a4da73d29327871f310a914 parent 5842add2f3b519111b6401f3a35862bd00a3aa7e author Andy Adamson Sun, 26 Mar 2006 01:37:26 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:56 -0800 [PATCH] NFSD4: return conflict lock without races Update the NFSv4 server to use the new posix_lock_file_conf() interface. Remove unnecessary (and race-prone) posix_test_file() calls. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5842add2f3b519111b6401f3a35862bd00a3aa7e tree 299e5653ec2b7dfc9fa565920d7320bbf1c9c07e parent 6dc0fe8f8b40854982929e4f24d8c65115769b60 author Andy Adamson Sun, 26 Mar 2006 01:37:26 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:56 -0800 [PATCH] VFS,fs/locks.c,NFSD4: add race_free posix_lock_file_conf() interface Lockd and the NFSv4 server both exercise a race condition where posix_test_lock() is called either before or after posix_lock_file() to deal with a denied lock request due to a conflicting lock. Remove the race condition for the NFSv4 server by adding a new conflicting lock parameter to __posix_lock_file() , changing the name to __posix_lock_file_conf(). Keep posix_lock_file() interface, add posix_lock_conf() interface, both call __posix_lock_file_conf(). [akpm@osdl.org: Put the EXPORT_SYMBOL() where it belongs] Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6dc0fe8f8b40854982929e4f24d8c65115769b60 tree a3489bf4765799778238e1fee3de71ec6a0e1d73 parent fa3536cc144c1298f2ed9416c33f3b77fa2cd37a author J. Bruce Fields Sun, 26 Mar 2006 01:37:24 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:56 -0800 [PATCH] VFS,fs/locks.c: cleanup locks_insert_block BUG instead of handling a case that should never happen. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa3536cc144c1298f2ed9416c33f3b77fa2cd37a tree 5484541319b86ae7dac0def4db7925f7cc7008e7 parent 878a9f30d7b13015f3aa4534d7877d985f150183 author Eric Dumazet Sun, 26 Mar 2006 01:37:24 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:56 -0800 [PATCH] Use __read_mostly on some hot fs variables I discovered on oprofile hunting on a SMP platform that dentry lookups were slowed down because d_hash_mask, d_hash_shift and dentry_hashtable were in a cache line that contained inodes_stat. So each time inodes_stats is changed by a cpu, other cpus have to refill their cache line. This patch moves some variables to the __read_mostly section, in order to avoid false sharing. RCU dentry lookups can go full speed. Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 878a9f30d7b13015f3aa4534d7877d985f150183 tree 54176c478c42c0038fecf83f9a36aac78af951da parent a23f9a3cfeb1d37ad090a751777665fd03bc067a author Randy Dunlap Sun, 26 Mar 2006 01:37:23 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:56 -0800 [PATCH] hpet header sanitization Add __KERNEL__ block. Use __KERNEL__ to allow ioctl interface to be usable. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a23f9a3cfeb1d37ad090a751777665fd03bc067a tree 822aea7270a5b0c4f1b037308e37f7b1a03cc0db parent 50c812b2b9513e3df34eae8c30cb2c221b79b2cb author Corey Minyard Sun, 26 Mar 2006 01:37:22 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:56 -0800 [PATCH] ipmi: Increment driver version to v39.0 Need to increment the version number because of the new PCI and sysfs capabilities of the driver. People maintaining things for distros have asked that I do this after interface or major functional changes. Signed-off-by: Corey Minyard Acked-by: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50c812b2b9513e3df34eae8c30cb2c221b79b2cb tree 565f31d3b3234e5324ba9534b752ae426b4a8c92 parent b0defcdbd2b7da7694e2645da92716cea0a3c0ff author Corey Minyard Sun, 26 Mar 2006 01:37:21 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:56 -0800 [PATCH] ipmi: add full sysfs support Add full driver model support for the IPMI driver. It links in the proper bus and device support. It adds an "ipmi" driver interface that has each BMC discovered by the driver (as a device). These BMCs appear in the devices/platform directory. If there are multiple interfaces to the same BMC, the driver should discover this and will only have one BMC entry. The BMC entry will have pointers to each interface device that connects to it. The device information (statistics and config information) has not yet been ported over to the driver model from proc, that will come later. This work was based on work by Yani Ioannou. I basically rewrote it using that code as a guide, but he still deserves credit :). [bunk@stusta.de: make ipmi_find_bmc_guid() static] Signed-off-by: Corey Minyard Signed-off-by: Yani Ioannou Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0defcdbd2b7da7694e2645da92716cea0a3c0ff tree f1db271ba58ead056e45e9bc45c888bb299fa02b parent 3c30b06df404c8892c225a99ecfd3f02789c0513 author Corey Minyard Sun, 26 Mar 2006 01:37:20 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:56 -0800 [PATCH] ipmi: add generic PCI handling Modify the PCI hanling code for the IPMI driver to use the new method of tables and registering, and adds more generic PCI handling for IPMI. Unfortunately, this required a rather large rework of the way the driver did detection so it would be more event-driven. [bunk@stusta.de: make a struct static] Signed-off-by: Corey Minyard Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c30b06df404c8892c225a99ecfd3f02789c0513 tree 3e98d86cdc92c91a3996afbed86250bc95b13a91 parent 2ff28e22bdb8727fbc7d7889807bc5a73aae56c5 author Con Kolivas Sun, 26 Mar 2006 01:37:19 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:55 -0800 [PATCH] cleanup smp_call_function UP build net/core/flow.c: In function 'flow_cache_flush': net/core/flow.c:299: warning: statement with no effect Signed-off-by: Con Kolivas Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ff28e22bdb8727fbc7d7889807bc5a73aae56c5 tree f7418aa963d729bf9fe8bd44d6c9b6e424a6c6bf parent 3978d7179d3849848df8a37dd0a5acc20bcb8750 author NeilBrown Sun, 26 Mar 2006 01:37:18 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:55 -0800 [PATCH] Make address_space_operations->invalidatepage return void The return value of this function is never used, so let's be honest and declare it as void. Some places where invalidatepage returned 0, I have inserted comments suggesting a BUG_ON. [akpm@osdl.org: JBD BUG fix] [akpm@osdl.org: rework for git-nfs] [akpm@osdl.org: don't go BUG in block_invalidate_page()] Signed-off-by: Neil Brown Acked-by: Dave Kleikamp Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3978d7179d3849848df8a37dd0a5acc20bcb8750 tree f6a60c588d54ffc482764e7846aabf7ba6135aa4 parent 5f921ae96f1529a55966f25cd5c70fab11d38be7 author NeilBrown Sun, 26 Mar 2006 01:37:17 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:55 -0800 [PATCH] Make address_space_operations->sync_page return void The only user ignores the return value, and the only instanace (block_sync_page) always returns 0... Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f921ae96f1529a55966f25cd5c70fab11d38be7 tree d8b3fecae1b36a99c0dbf544b30933a727bc7178 parent 14cc3e2b633bb64063698980974df4535368e98f author Ingo Molnar Sun, 26 Mar 2006 01:37:17 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:55 -0800 [PATCH] sem2mutex: ipc, id.sem Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Manfred Spraul Signed-off-by: Lee Schermerhorn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14cc3e2b633bb64063698980974df4535368e98f tree d542c9db7376de199d640b8e34d5630460b217b5 parent 353ab6e97b8f209dbecc9f650f1f84e3da2a7bb1 author Ingo Molnar Sun, 26 Mar 2006 01:37:14 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:55 -0800 [PATCH] sem2mutex: misc static one-file mutexes Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Dave Jones Cc: Paul Mackerras Cc: Ralf Baechle Cc: Jens Axboe Cc: Neil Brown Acked-by: Alasdair G Kergon Cc: Greg KH Cc: Dominik Brodowski Cc: Adam Belay Cc: Martin Schwidefsky Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 353ab6e97b8f209dbecc9f650f1f84e3da2a7bb1 tree bffabd9a5a493ffd2b41dd825e71e848ca6ba6d7 parent e655a250d5fc12b6dfe0d436180ba4a3bfffdc9f author Ingo Molnar Sun, 26 Mar 2006 01:37:12 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:55 -0800 [PATCH] sem2mutex: fs/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Eric Van Hensbergen Cc: Robert Love Cc: Thomas Gleixner Cc: David Woodhouse Cc: Neil Brown Cc: Trond Myklebust Cc: Dave Kleikamp Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e655a250d5fc12b6dfe0d436180ba4a3bfffdc9f tree fc914e0c146f82139ff7e40d30ec642f3663aa2a parent 9f4fd61fa7c13ea905dac18b9baa766a35b88485 author Con Kolivas Sun, 26 Mar 2006 01:37:11 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:55 -0800 [PATCH] swswsup: return correct load_image error If there's an error in load_image() we should return that without checking snapshot_image_loaded. Signed-off-by: Con Kolivas Acked-by: "Rafael J. Wysocki" Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f4fd61fa7c13ea905dac18b9baa766a35b88485 tree a12015d2a3655aaa2a7fd450bac5c954f02a8569 parent 23dd842c0033dbb05248c42929c3c526c55386de author Bjorn Helgaas Sun, 26 Mar 2006 01:37:10 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:54 -0800 [PATCH] ACPI: clean up memory attribute checking for map/read/write ia64 ioremap is now smart enough to use the correct memory attributes, so remove the EFI checks from osl.c. Signed-off-by: Bjorn Helgaas Cc: Matt Domsch Cc: "Tolentino, Matthew E" Cc: "Brown, Len" Cc: Andi Kleen Acked-by: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23dd842c0033dbb05248c42929c3c526c55386de tree 997126ad81b01819094fb75ccb1a33c88ace6e17 parent b2c99e3c70d77fb194df5aa1642030080d28ea48 author Tolentino, Matthew E Sun, 26 Mar 2006 01:37:09 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:54 -0800 [PATCH] EFI fixes Here's a patch that fixes EFI boot for x86 on 2.6.16-rc5-mm3. The off-by-one is admittedly my fault, but the other two fix up the rest. Cc: Bjorn Helgaas Cc: Matt Domsch Cc: "Tolentino, Matthew E" Cc: "Brown, Len" Cc: Andi Kleen Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2c99e3c70d77fb194df5aa1642030080d28ea48 tree 65f2a173e49b3e15e90b8cabf45b7dd4f3691e29 parent 27d8e3d15bcf9d7cd99bf6ca910ea9e34328c7fb author Bjorn Helgaas Sun, 26 Mar 2006 01:37:08 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:54 -0800 [PATCH] EFI: keep physical table addresses in efi structure Almost all users of the table addresses from the EFI system table want physical addresses. So rather than doing the pa->va->pa conversion, just keep physical addresses in struct efi. This fixes a DMI bug: the efi structure contained the physical SMBIOS address on x86 but the virtual address on ia64, so dmi_scan_machine() used ioremap() on a virtual address on ia64. This is essentially the same as an earlier patch by Matt Tolentino: http://marc.theaimsgroup.com/?l=linux-kernel&m=112130292316281&w=2 except that this changes all table addresses, not just ACPI addresses. Matt's original patch was backed out because it caused MCAs on HP sx1000 systems. That problem is resolved by the ioremap() attribute checking added for ia64. Signed-off-by: Bjorn Helgaas Cc: Matt Domsch Cc: "Tolentino, Matthew E" Cc: "Brown, Len" Cc: Andi Kleen Acked-by: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27d8e3d15bcf9d7cd99bf6ca910ea9e34328c7fb tree 227d271f008fd84d752671d7748c435c4276c542 parent e9b0a0712148abe96ff717a2b9f8dab1d433e0d5 author Bjorn Helgaas Sun, 26 Mar 2006 01:37:07 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:54 -0800 [PATCH] DMI: only ioremap stuff we actually need dmi_scan_machine() tries to ioremap 0x10000 (64K) bytes, even though it only looks at the first 32 bytes or so. If the SMBIOS table is near the end of a memory region, the ioremap() may fail when it shouldn't. This is in the efi_enabled path, so it really only affects ia64 at the moment. Signed-off-by: Bjorn Helgaas Cc: Matt Domsch Cc: "Tolentino, Matthew E" Cc: "Brown, Len" Cc: Andi Kleen Acked-by: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9b0a0712148abe96ff717a2b9f8dab1d433e0d5 tree 3f4415797d49f477c9c7516625c74438f31673f8 parent 136939a2b5aa4302281215745ccd567e1df2e8d4 author Bjorn Helgaas Sun, 26 Mar 2006 01:37:06 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:54 -0800 [PATCH] ia64: ioremap: check EFI for valid memory attributes Check the EFI memory map so we can use the correct memory attributes for ioremap(). Previously, we always used uncacheable access, which blows up on some machines for regular system memory. Signed-off-by: Bjorn Helgaas Cc: Matt Domsch Cc: "Tolentino, Matthew E" Cc: "Brown, Len" Cc: Andi Kleen Acked-by: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 136939a2b5aa4302281215745ccd567e1df2e8d4 tree 384841deada5b0ceb44c255e0474866bbc8d3354 parent 3ed3bce846abc7ef460104b461cac793e41afe5e author Bjorn Helgaas Sun, 26 Mar 2006 01:37:05 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:54 -0800 [PATCH] EFI, /dev/mem: simplify efi_mem_attribute_range() Pass the size, not a pointer to the size, to efi_mem_attribute_range(). This function validates memory regions for the /dev/mem read/write/mmap paths. The pointer allows arches to reduce the size of the range, but I think that's unnecessary complexity. Simplifying it will let me use efi_mem_attribute_range() to improve the ia64 ioremap() implementation. Signed-off-by: Bjorn Helgaas Cc: Matt Domsch Cc: "Tolentino, Matthew E" Cc: "Brown, Len" Cc: Andi Kleen Acked-by: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ed3bce846abc7ef460104b461cac793e41afe5e tree 6db86a6cdfd3600db4e24cd91f53ba6f4f661280 parent 10dbe196a8da6b3196881269c6639c0ec11c36cb author Matt Domsch Sun, 26 Mar 2006 01:37:03 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:54 -0800 [PATCH] ia64: use i386 dmi_scan.c Enable DMI table parsing on ia64. Andi Kleen has a patch in his x86_64 tree which enables the use of i386 dmi_scan.c on x86_64. dmi_scan.c functions are being used by the drivers/char/ipmi/ipmi_si_intf.c driver for autodetecting the ports or memory spaces where the IPMI controllers may be found. This patch adds equivalent changes for ia64 as to what is in the x86_64 tree. In addition, I reworked the DMI detection, such that on EFI-capable systems, it uses the efi.smbios pointer to find the table, rather than brute-force searching from 0xF0000. On non-EFI systems, it continues the brute-force search. My test system, an Intel S870BN4 'Tiger4', aka Dell PowerEdge 7250, with latest BIOS, does not list the IPMI controller in the ACPI namespace, nor does it have an ACPI SPMI table. Also note, currently shipping Dell x8xx EM64T servers don't have these either, so DMI is the only method for obtaining the address of the IPMI controller. Signed-off-by: Matt Domsch Acked-by: "Luck, Tony" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10dbe196a8da6b3196881269c6639c0ec11c36cb tree c3359408b621a643ca544ea796cfbade81ac07c2 parent 20c0d2d4402973050e7aad8a481ec6f847ee40d8 author Vivek Goyal Sun, 26 Mar 2006 01:37:02 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:54 -0800 [PATCH] i386: export: memory more than 4G through /proc/iomem Currently /proc/iomem exports physical memory also apart from io device memory. But on i386, it truncates any memory more than 4GB. This leads to problems for kexec/kdump. Kexec reads /proc/iomem to determine the system memory layout and prepares a memory map based on that and passes it to the kernel being kexeced. Given the fact that memory more than 4GB has been truncated, new kernel never gets to see and use that memory. Kdump also reads /proc/iomem to determine the physical memory layout of the system and encodes this informaiton in ELF headers. After a crash new kernel parses these ELF headers being used by previous kernel and vmcore is prepared accordingly. As memory more than 4GB has been truncated, kdump never sees that memory and never prepares ELF headers for it. Hence vmcore is truncated and limited to 4GB even if there is more physical memory in the system. This patch exports memory more than 4GB through /proc/iomem on i386. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20c0d2d4402973050e7aad8a481ec6f847ee40d8 tree a3fc29f54187aa9d2dad25a018011443ca83d7ff parent 841b8a46bffec232377d2de157f971e812be4fe4 author Jan Beulich Sun, 26 Mar 2006 01:37:01 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:53 -0800 [PATCH] i386: pass proper trap numbers to die chain handlers Pass the trap number causing the call to notify_die() to the die notification handler chain in a number of instances. Also, honor the return value from the handler chain invocation in die() as, through a debugger, the fault may have been fixed. Signed-off-by: Jan Beulich Acked-By: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 841b8a46bffec232377d2de157f971e812be4fe4 tree f54548f3734235676d5c9956b43b32bf81e2e6b3 parent 5a3a5a98b6422d05c39eaa32c8b3f83840c7b768 author H. Peter Anvin Sun, 26 Mar 2006 01:36:59 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:53 -0800 [PATCH] x86: "make isoimage" support; FDINITRD= support; minor cleanups Add a "make isoimage" to i386 and x86-64, which allows the automatic creation of a bootable CD image. It also adds an option FDINITRD= to include an initrd of the user's choice in generated floppy- or CD boot images. Finally, some minor cleanups of the image generation code. Signed-off-by: H. Peter Anvin Cc: Andi Kleen Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a3a5a98b6422d05c39eaa32c8b3f83840c7b768 tree e96a8f5543c94c57eb2b761fa94df9f7a9412e52 parent 03beb07664d768db97bf454ae5c9581cd4737bb4 author James Bottomley Sun, 26 Mar 2006 01:36:59 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:53 -0800 [PATCH] Add flush_kernel_dcache_page() API We have a problem in a lot of emulated storage in that it takes a page from get_user_pages() and does something like kmap_atomic(page) modify page kunmap_atomic(page) However, nothing has flushed the kernel cache view of the page before the kunmap. We need a lightweight API to do this, so this new API would specifically be for flushing the kernel cache view of a user page which the kernel has modified. The driver would need to add flush_kernel_dcache_page(page) before the final kunmap. Signed-off-by: James Bottomley Cc: Russell King Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03beb07664d768db97bf454ae5c9581cd4737bb4 tree b906c4db3a70627a58363193f3f843e7e2132ca1 parent 64a07bd82ed526d813b64b0957543eef55bdf9c0 author James Bottomley Sun, 26 Mar 2006 01:36:57 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:53 -0800 [PATCH] Add API for flushing Anon pages Currently, get_user_pages() returns fully coherent pages to the kernel for anything other than anonymous pages. This is a problem for things like fuse and the SCSI generic ioctl SG_IO which can potentially wish to do DMA to anonymous pages passed in by users. The fix is to add a new memory management API: flush_anon_page() which is used in get_user_pages() to make anonymous pages coherent. Signed-off-by: James Bottomley Cc: Russell King Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64a07bd82ed526d813b64b0957543eef55bdf9c0 tree 451586526696bc4a80d8a9f4c50460ae2d4e92eb parent cd7b24bb1891a10ee25168a912ff2304a9571d23 author Steven Rostedt Sun, 26 Mar 2006 01:36:55 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:53 -0800 [PATCH] protect remove_proc_entry It has been discovered that the remove_proc_entry has a race in the removing of entries in the proc file system that are siblings. There's no protection around the traversing and removing of elements that belong in the same subdirectory. This subdirectory list is protected in other areas by the BKL. So the BKL was at first used to protect this area too, but unfortunately, remove_proc_entry may be called with spinlocks held. The BKL may schedule, so this was not a solution. The final solution was to add a new global spin lock to protect this list, called proc_subdir_lock. This lock now protects the list in remove_proc_entry, and I also went around looking for other areas that this list is modified and added this protection there too. Care must be taken since these locations call several functions that may also schedule. Since I don't see any location that these functions that modify the subdirectory list are called by interrupts, the irqsave/restore versions of the spin lock was _not_ used. Signed-off-by: Steven Rostedt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd7b24bb1891a10ee25168a912ff2304a9571d23 tree c8cc6bf9b7c2d3b527f9c5bb8e7ae2b422ee3ac7 parent 6dc659d813fdd1789e605d69d0b8762d284e8c60 author Ingo Molnar Sun, 26 Mar 2006 01:36:54 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:53 -0800 [PATCH] warn if free_irq() is called from IRQ context Warn if free_irq() is called in IRQ context - free_irq() can execute /proc VFS work, which must not be done in IRQ context. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6dc659d813fdd1789e605d69d0b8762d284e8c60 tree 3eda05a63e1ed271d8382ca4de3315d1e1c19a24 parent 36ddf5bbdea7ba4582abc62f106f0f0e9f0b6b91 author Ingo Molnar Sun, 26 Mar 2006 01:36:54 -0800 committer Linus Torvalds Sun, 26 Mar 2006 08:56:53 -0800 [PATCH] drivers/block/floppy.c: dont free_irq() from irq context free_irq() should not be executed from softirq context. Found by the lock validator. The fix is to push fd_free_irq() into keventd. The code validates fine with this patch applied. (akpm: this is revolting, but so is floppy.c) [akpm@osdl.org: added flush_scheduled_work()] Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ac35783f4a471d43c557db27928bc29f8a9c6d0 tree 79968bfe746b596fad5b78dcba1d59bc223132d7 parent 606f44228e257ea1e35557c2fec7133cca634096 author Florin Malita Sun, 26 Mar 2006 18:53:34 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:53:34 +0200 do_mounts.c: Minor ROOT_DEV comment cleanup The ROOT_DEV comment is no longer accurate, it now seems to be initialized in init/do_mounts.c. Signed-off-by: Florin Malita Signed-off-by: Adrian Bunk commit 606f44228e257ea1e35557c2fec7133cca634096 tree d9cb9c5173079c1d03f917ab7e81871f0c226368 parent f02e1fafb534459522a8c46bc46b32820684623e author Eric Sesterhenn Sun, 26 Mar 2006 18:33:07 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:33:07 +0200 BUG_ON() Conversion in drivers/s390/block/dasd_devmap.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit f02e1fafb534459522a8c46bc46b32820684623e tree 4a4fe770d02fc83b71bcfc6d32eb609c80a5aa95 parent 5bcb28b139cffc736177ceb775d1c8b5c5a411e2 author Eric Sesterhenn Sun, 26 Mar 2006 18:31:56 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:31:56 +0200 BUG_ON() Conversion in mm/mempool.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 5bcb28b139cffc736177ceb775d1c8b5c5a411e2 tree 5a5e5624994c3a15dc4bd3beae07a2f891ba84dc parent 910dea7fdda22f0ee83d26d459e460c79ed94557 author Eric Sesterhenn Sun, 26 Mar 2006 18:30:52 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:30:52 +0200 BUG_ON() Conversion in mm/memory.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 910dea7fdda22f0ee83d26d459e460c79ed94557 tree 46e68906b0026e11ed567cedb7993060c89da9e2 parent 27315c96a4c3d5f24a902111dae537cdc28302e4 author Eric Sesterhenn Sun, 26 Mar 2006 18:29:26 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:29:26 +0200 BUG_ON() Conversion in kernel/fork.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 27315c96a4c3d5f24a902111dae537cdc28302e4 tree 15a37bd0b596fd5eb4d026df309ee6458f6049fd parent 309be53da60dc24b73f3f0bceab8f0707c05371f author Eric Sesterhenn Sun, 26 Mar 2006 18:28:38 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:28:38 +0200 BUG_ON() Conversion in ipc/sem.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 309be53da60dc24b73f3f0bceab8f0707c05371f tree 4e2c96510250f22017c39b214083d3e1bceb9889 parent 4d4ef9abe34a472fbfc9ab75cfde0d58bc342c44 author Eric Sesterhenn Sun, 26 Mar 2006 18:27:41 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:27:41 +0200 BUG_ON() Conversion in fs/ext2/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 4d4ef9abe34a472fbfc9ab75cfde0d58bc342c44 tree 77bb1b3be39cb94c7ee6dc71a740a74ea756527f parent 28133c7b2b9bbdf8a8765a319e818c1652f38c1f author Eric Sesterhenn Sun, 26 Mar 2006 18:26:51 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:26:51 +0200 BUG_ON() Conversion in fs/hfs/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 28133c7b2b9bbdf8a8765a319e818c1652f38c1f tree 35a5e82cbd970a90f45933aa2d4f20e421537b66 parent e827f92355e1eeec2d227d3bd3350d04042a011e author Eric Sesterhenn Sun, 26 Mar 2006 18:25:39 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:25:39 +0200 BUG_ON() Conversion in fs/dcache.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit e827f92355e1eeec2d227d3bd3350d04042a011e tree 87d1b735d59edcae4044b46157cb72de1a32af54 parent fddaaae16ba4d9f4d392a9ef94616d9d22485571 author Eric Sesterhenn Sun, 26 Mar 2006 18:24:46 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:24:46 +0200 BUG_ON() Conversion in fs/buffer.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit fddaaae16ba4d9f4d392a9ef94616d9d22485571 tree e2fdac204165026ead5fb5722f2ca1b3b9dfb89f parent 547bc92649345af6014578a64b27cc5787617935 author Eric Sesterhenn Sun, 26 Mar 2006 18:23:47 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:23:47 +0200 BUG_ON() Conversion in input/serio/hp_sdc_mlc.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 547bc92649345af6014578a64b27cc5787617935 tree 4b2a097badd0bef9003846813dec53d5daa5030e parent c163c7293eb68bf6c0c824d122a2192b9f129193 author Eric Sesterhenn Sun, 26 Mar 2006 18:22:50 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:22:50 +0200 BUG_ON() Conversion in md/dm-table.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit c163c7293eb68bf6c0c824d122a2192b9f129193 tree e5f859a60d5eab86bfa3229257603ab889c13bda parent 6dd44a74469c203c5106ada2082c46267b4ac674 author Eric Sesterhenn Sun, 26 Mar 2006 18:21:58 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:21:58 +0200 BUG_ON() Conversion in md/dm-path-selector.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 6dd44a74469c203c5106ada2082c46267b4ac674 tree dfc0b29c97b3147cecfcc874c1ae952b25841c71 parent 56ee48277fa214b3b7b0fd91e7fd3464e12597de author Eric Sesterhenn Sun, 26 Mar 2006 18:19:26 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:19:26 +0200 BUG_ON() Conversion in drivers/isdn this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 56ee48277fa214b3b7b0fd91e7fd3464e12597de tree 58068d7f6ccf295aa8dc10a131e34fc9fe3c3528 parent 373ebfbf17a8ecad304f65cb92c4d2d10adc0a19 author Eric Sesterhenn Sun, 26 Mar 2006 18:17:21 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:17:21 +0200 BUG_ON() Conversion in drivers/char this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 373ebfbf17a8ecad304f65cb92c4d2d10adc0a19 tree b2cc0bd4a1f26f38515476f436d532926b331a85 parent 36ddf5bbdea7ba4582abc62f106f0f0e9f0b6b91 author Eric Sesterhenn Sun, 26 Mar 2006 18:15:12 +0200 committer Adrian Bunk Sun, 26 Mar 2006 18:15:12 +0200 BUG_ON() Conversion in drivers/mtd/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 7c9d8c0e84d395a01289ebd1597758939a875a86 tree 7cdb1540d4e791d6e2e0a63c9a62ecf8ceccd0f9 parent 9cbad61b41f0b6f0a4c600fe96d8292ffd592b50 author Dominik Brodowski Sun, 26 Mar 2006 11:11:03 +0200 committer Dominik Brodowski Sun, 26 Mar 2006 11:11:03 +0200 [PATCH] cpufreq_ondemand: add range check Assert that cpufreq_target is, at least, called with the minimum frequency allowed by this policy, not something lower. It triggered problems on ARM. Signed-off-by: Dominik Brodowski commit 9cbad61b41f0b6f0a4c600fe96d8292ffd592b50 tree 85634cbfc70d97534926230dfc4bdc8880a80242 parent ff8c288d7d1a368b663058cdee1ea0adcdef2fa2 author Eric Piel Fri, 10 Mar 2006 11:35:27 +0200 committer Dominik Brodowski Sun, 26 Mar 2006 10:46:18 +0200 [PATCH] cpufreq_ondemand: keep ignore_nice_load value when it is reselected Keep the value of ignore_nice_load of the ondemand governor even after the governor has been deselected and selected back. This is the behavior of the other exported values of the ondemand governor and it's much more user-friendly. Signed-off-by: Eric Piel Acked-by: Venkatesh Pallipadi Signed-off-by: Dominik Brodowski commit ff8c288d7d1a368b663058cdee1ea0adcdef2fa2 tree 04de5f31a6773e1663a521c1217cb494c18dfa0e parent a159b82770ab84e1b5e0306fa65e158188492b16 author Eric Piel Fri, 10 Mar 2006 11:34:16 +0200 committer Dominik Brodowski Sun, 26 Mar 2006 10:43:06 +0200 [PATCH] cpufreq_ondemand: Warn if it cannot run due to too long transition latency Display a warning if the ondemand governor can not be selected due to a transition latency of the cpufreq driver which is too long. Signed-off-by: Eric Piel Acked-by: Venkatesh Pallipadi Signed-off-by: Dominik Brodowski commit a159b82770ab84e1b5e0306fa65e158188492b16 tree 93c0c6cd2438e8b20015bfb3444fa930b760452c parent 08a28e2e98aa821cf6f15f8a267beb2f33377bb9 author Alexander Clouter Wed, 22 Mar 2006 10:00:18 +0000 committer Dominik Brodowski Sun, 26 Mar 2006 10:18:18 +0200 [PATCH] cpufreq_conservative: alternative initialise approach Venki, author of cpufreq_ondemand, came up with a neater way to remove the initialiser code from the main loop of my code and out to the point when the governor is actually initialised. Not only does it look but it also feels cleaner, plus its simpler to understand. It also saves a bunch of pointless conditional statements in the main loop. Signed-off-by: Alexander Clouter Signed-off-by: Dominik Brodowski commit 08a28e2e98aa821cf6f15f8a267beb2f33377bb9 tree c1bc076d41c50e76cca7e1af023d1d1ace1b8326 parent e8a02572252f9115c2b8296c40fd8b985f06f872 author Alexander Clouter Wed, 22 Mar 2006 09:59:16 +0000 committer Dominik Brodowski Sun, 26 Mar 2006 10:14:54 +0200 [PATCH] cpufreq_conservative: make for_each_cpu() safe All these changes should make cpufreq_conservative safe in regards to the x86 for_each_cpu cpumask.h changes and whatnot. Whilst making it safe a number of pointless for loops related to the cpu mask's were removed. I was never comfortable with all those for loops, especially as the iteration is over the same data again and again for each CPU you had in a single poll, an O(n^2) outcome to frequency scaling. The approach I use is to assume by default no CPU's exist and it sets the requested_freq to zero as a kind of flag, the reasoning is in the source ;) If the CPU is queried and requested_freq is zero then it initialises the variable to current_freq and then continues as if nothing happened which should be the same net effect as before? Signed-off-by: Alexander Clouter Signed-off-by: Dominik Brodowski commit e8a02572252f9115c2b8296c40fd8b985f06f872 tree f6d161e1c47b9ea675f7aa552d618464314c926c parent 2c906b317b2d9c7e32b0d513e102bd68a2c49112 author Alexander Clouter Wed, 22 Mar 2006 09:56:23 +0000 committer Dominik Brodowski Sun, 26 Mar 2006 10:13:21 +0200 [PATCH] cpufreq_conservative: alter default responsiveness The sensible approach to making conservative less responsive than ondemand :) As mentioned in patch [1/4]. We do not want conservative to shoot through all the frequencies, its point (by default) is to slowly move through them. By default its ten times less responsive. Signed-off-by: Alexander Clouter Signed-off-by: Dominik Brodowski commit 2c906b317b2d9c7e32b0d513e102bd68a2c49112 tree dcb86235f25d11e8662d75a9b185a7098cf17fd5 parent 36ddf5bbdea7ba4582abc62f106f0f0e9f0b6b91 author Alexander Clouter Wed, 22 Mar 2006 09:54:10 +0000 committer Dominik Brodowski Sun, 26 Mar 2006 10:13:05 +0200 [PATCH] cpufreq_conservative: aligning of codebase with ondemand Since the conservative govenor was released its codebase has drifted from the the direction and updates that have been applied to the ondemand govornor. This patch addresses the lack of updates in that period and brings conservative back up to date. The resulting diff file between cpufreq_ondemand.c and cpufreq_conservative.c is now much smaller and shows more clearly the differences between the two. Another reason to do this is ages ago, knowingly, I did a piss poor attempt at making conservative less responsive by knocking up DEF_SAMPLING_RATE_LATENCY_MULTIPLIER by two orders of magnitude. I did fix this ages ago but in my dis-organisation I must have toasted the diff and left it the way it was. About two weeks ago a user contacted me saying he was having problems with the conservative governor with his AMD Athlon XP-M 2800+ as /sys/devices/system/cpu/cpu0/cpufreq/conservative showed sampling_rate_min 9950000 sampling_rate_max 1360065408 Nine seconds to decide about changing the frequency....not too responsive :) Signed-off-by: Alexander Clouter Signed-off-by: Dominik Brodowski commit 36ddf5bbdea7ba4582abc62f106f0f0e9f0b6b91 tree 163d637dfda12eba3f8822d3b2941869b2d0ba00 parent a41622eaa97e40c811fb7756f403c0d4caa65654 parent 104c7b03ea0913a24be103db66d8cf1f1f99a49a author Linus Torvalds Sat, 25 Mar 2006 20:31:32 -0800 committer Linus Torvalds Sat, 25 Mar 2006 20:31:32 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial * master.kernel.org:/home/rmk/linux-2.6-serial: [ARM] 3383/3: ixp2000: ixdp2x01 platform serial conversion [SERIAL] amba-pl010: Remove accessor macros [SERIAL] remove 8250_acpi (replaced by 8250_pnp and PNPACPI) [SERIAL] icom: select FW_LOADER commit a41622eaa97e40c811fb7756f403c0d4caa65654 tree 43dc2d74f80fc18d0467dcd2fe2168b2fccb845d parent 0b5c59a1e41636afa77b90d34e8c394d8d929733 parent 2ce9804fbd9d4da75fb5bb53331b46b614a7d5c3 author Linus Torvalds Sat, 25 Mar 2006 20:29:54 -0800 committer Linus Torvalds Sat, 25 Mar 2006 20:29:54 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] 3030/2: fix permission check in the obscur cmpxchg syscall [ARM] nommu: rename compressed/head.S symbols to a new style [ARM] select TLS_REG_EMUL and NEEDS_SYSCALL_FOR_CMPXCHG [ARM] nommu: Move hardware page table definitions to pgtable-hwdef.h [ARM] Move read of processor ID out of lookup_processor_type() [ARM] Fix typo in tlbflush.h [ARM] noMMU: removes TLB codes in nommu mode [ARM] noMMU: block sys_fork in nommu mode [ARM] 3399/1: Fix link problem when CONFIG_PRINTK is disabled [ARM] 3398/1: Fix the VFP registers loading/storing base address [ARM] 3397/1: AT91RM9200 Header update [ARM] 3385/1: Battery support for sharp zaurus sl-5500 (collie) [ARM] SMP: don't set cpu_*_map in smp_prepare_boot_cpu include/linux/clk.h is betraying its ARM origins [ARM] Move enable_irq and disable_irq to assembler.h [ARM] 3391/1: use PLAT8250_DEV_PLATFORM{,1} for platform device id instead of 0/1 commit 0b5c59a1e41636afa77b90d34e8c394d8d929733 tree 99a587f48138d47c3a46a91549358cc147fef96b parent 7d3aee9a9686ffc235c343dcab85c3ebea78908a author Andi Kleen Sun, 26 Mar 2006 02:24:07 +0100 committer Linus Torvalds Sat, 25 Mar 2006 20:19:29 -0800 [PATCH] Fix compilation of processor_idle.c on IA64 Broken earlier by me by a x86-64 patch. The code was optimized away, but the compiler still complained about an undeclared function. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 104c7b03ea0913a24be103db66d8cf1f1f99a49a tree de9a2584e7a9c36a875e2e16d5d7ee7a7ee60de7 parent 98639a67a9482fbfc4f9c91b4b59bf0d06b1f6c1 author Lennert Buytenhek Sat, 25 Mar 2006 23:03:13 +0000 committer Russell King Sat, 25 Mar 2006 23:03:13 +0000 [ARM] 3383/3: ixp2000: ixdp2x01 platform serial conversion Patch from Lennert Buytenhek Add a PLAT8250_DEV_PLATFORM2, and convert the two ixdp2x01 CPLD serial ports to use platform serial devices with ids PLAT8250_DEV_PLATFORM[12]. (The on-chip xscale UART is PLAT8250_DEV_PLATFORM, id #0.) Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 2ce9804fbd9d4da75fb5bb53331b46b614a7d5c3 tree 8b5770e7f6910d518227d68db34f1f322f4d69c7 parent 0003cedfc577be9d679c16531f8720739e9637ed author Nicolas Pitre Sat, 25 Mar 2006 22:44:05 +0000 committer Russell King Sat, 25 Mar 2006 22:44:05 +0000 [ARM] 3030/2: fix permission check in the obscur cmpxchg syscall Patch from Nicolas Pitre Quoting RMK: |pte_write() just says that the page _may_ be writable. It doesn't say |that the MMU is programmed to allow writes. If pte_dirty() doesn't |return true, that means that the page is _not_ writable from userspace. |If you write to it from kernel mode (without using put_user) you'll |bypass the MMU read-only protection and may end up writing to a page |owned by two separate processes. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 0003cedfc577be9d679c16531f8720739e9637ed tree 3b7a1e9087384706c8320f85f650ab96139e8c00 parent 3ee357f0f38a5fddebab18500c290d3879a2d89c parent c76b6b41d0ae29e1127d9f81cb687cabda57c14c author Russell King Sat, 25 Mar 2006 22:08:55 +0000 committer Russell King Sat, 25 Mar 2006 22:08:55 +0000 Merge nommu tree Fix merge conflict in arch/arm/mm/proc-xscale.S Signed-off-by: Russell King commit 3ee357f0f38a5fddebab18500c290d3879a2d89c tree edece89250bb68554ce2a145350e1a789ae20ea0 parent 80ed354725825035616fb369a8c38ff77494695c author Malcolm Parsons Sat, 25 Mar 2006 21:58:03 +0000 committer Russell King Sat, 25 Mar 2006 21:58:03 +0000 [ARM] 3399/1: Fix link problem when CONFIG_PRINTK is disabled Patch from Malcolm Parsons Printking a backtrace requires printk, so disable backtrace code when printk is disabled. Without this patch, a kernel with CONFIG_PRINTK disabled does not link: arch/arm/lib/lib.a(backtrace.o): In function `c_backtrace': arch/arm/lib/backtrace.S:(.text+0x108): undefined reference to `printk' arch/arm/lib/backtrace.S:(.text+0x11c): undefined reference to `printk' arch/arm/lib/lib.a(backtrace.o):(.fixup+0x8): undefined reference to `printk' Signed-off-by: Malcolm Parsons Signed-off-by: Russell King commit 80ed354725825035616fb369a8c38ff77494695c tree 4ef811cc3bcc6d986ac771a9a5217166b887f360 parent 1310eda4bec331fd951a8cbe80619f050f9036fc author Catalin Marinas Sat, 25 Mar 2006 21:58:00 +0000 committer Russell King Sat, 25 Mar 2006 21:58:00 +0000 [ARM] 3398/1: Fix the VFP registers loading/storing base address Patch from Catalin Marinas The current VFP code corrupts the VFP registers (including the control ones) if more than one floating point application is executed at the same time. This patch fixes the updating of the load/store base addresses for the VFP registers. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 1310eda4bec331fd951a8cbe80619f050f9036fc tree 62055625b297c06bde7bc8c5d7daf4e73d320680 parent 48a03ae863e0031def037fc828d7ea1a29b6fb7b author Andrew Victor Sat, 25 Mar 2006 21:57:59 +0000 committer Russell King Sat, 25 Mar 2006 21:57:59 +0000 [ARM] 3397/1: AT91RM9200 Header update Patch from Andrew Victor This patch updates the hardware header to include definitions for the Memory Controller registers. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 48a03ae863e0031def037fc828d7ea1a29b6fb7b tree 19fdc75a33256cf4ec1f68b8de6c4e98546d273f parent 091c539f08a6700e0cca8cd620c3d72dd9f9e2bb author Pavel Machek Sat, 25 Mar 2006 21:57:57 +0000 committer Russell King Sat, 25 Mar 2006 21:57:57 +0000 [ARM] 3385/1: Battery support for sharp zaurus sl-5500 (collie) Patch from Pavel Machek This adds support for battery reading on collie. Collie slowly charges battery even with charging disabled, so I did not yet enable fast charge. Signed-off-by: Pavel Machek Signed-off-by: Russell King commit 091c539f08a6700e0cca8cd620c3d72dd9f9e2bb tree 604aee064dce5f5f4f2e8a9036cddca1e89cb224 parent 686f8c5d77149f78ff6090dde774b2e43a7319b2 author Russell King Sat, 25 Mar 2006 21:37:29 +0000 committer Russell King Sat, 25 Mar 2006 21:37:29 +0000 [ARM] SMP: don't set cpu_*_map in smp_prepare_boot_cpu The recent addition of boot_cpu_init() implements the initialisation of the online, present and possible cpu maps for the boot CPU, so there is no reason to duplicate this in the architecture smp_prepare_boot_cpu() hook. Signed-off-by: Russell King commit 98639a67a9482fbfc4f9c91b4b59bf0d06b1f6c1 tree 89006be038bbcf2d26d999fc785b9c380d734aae parent 111c9bf8c5cfa92363b3719c8956d29368b5b9de author Russell King Sat, 25 Mar 2006 21:30:11 +0000 committer Russell King Sat, 25 Mar 2006 21:30:11 +0000 [SERIAL] amba-pl010: Remove accessor macros Remove unnecessary accessor macros, using readb/writel directly instead. Signed-off-by: Russell King commit 7d3aee9a9686ffc235c343dcab85c3ebea78908a tree 9de437eff5f62e0ead36d443ad97ab231b8f0e76 parent 3cbb90a9cb7854b1110663919d5bc3da3f46d5e3 author David S. Miller Sat, 25 Mar 2006 13:00:17 -0800 committer David S. Miller Sat, 25 Mar 2006 13:00:17 -0800 [SPARC64]: Keep cpu_present_map in sync with phys_cpu_present_map. Don't rely on fixup_cpu_present_map() to do this as that function is about to be removed. Signed-off-by: David S. Miller commit 686f8c5d77149f78ff6090dde774b2e43a7319b2 tree ae9162452f8f317875e710084ca7616f2e7dfdc1 parent 9c42954dfd50d02963cd453fb84bfef3967af2f0 author Todd Poynor Sat, 25 Mar 2006 18:15:24 +0000 committer Russell King Sat, 25 Mar 2006 18:15:24 +0000 include/linux/clk.h is betraying its ARM origins include/linux/clk.h is betraying its ARM origins. Signed-off-by: Todd Poynor Signed-off-by: Russell King commit 111c9bf8c5cfa92363b3719c8956d29368b5b9de tree 6368dfd6309ed48db0eca725c57c8b19ca8d5f33 parent cb2fc532d0a304631c92b175f886934654c60907 author Bjorn Helgaas Sat, 25 Mar 2006 17:49:47 +0000 committer Russell King Sat, 25 Mar 2006 17:49:47 +0000 [SERIAL] remove 8250_acpi (replaced by 8250_pnp and PNPACPI) With the combination of PNPACPI and 8250_pnp, we no longer need 8250_acpi. Signed-off-by: Bjorn Helgaas Signed-off-by: Russell King commit cb2fc532d0a304631c92b175f886934654c60907 tree 0a8c03947efc832ddb2a411d12e65ef6e1217468 parent b2fd16b4ff2508ac16ae994f4bcd941f97754c00 author maximilian attems Sat, 25 Mar 2006 17:44:20 +0000 committer Russell King Sat, 25 Mar 2006 17:44:20 +0000 [SERIAL] icom: select FW_LOADER The icom driver uses request_firmware() and thus needs to select FW_LOADER. Signed-off-by: maximilian attems Signed-off-by: Russell King commit 3cbb90a9cb7854b1110663919d5bc3da3f46d5e3 tree b7bf16e3e9b44dfaa7d5bff3c612a6ab72bd7169 parent 1b9a3917366028cc451a98dd22e3bcd537d4e5c1 author Linus Torvalds Sat, 25 Mar 2006 09:41:40 -0800 committer Linus Torvalds Sat, 25 Mar 2006 09:41:40 -0800 powerpc: fix strncasecmp prototype It takes a size_t, not an int, as its third argument. Signed-off-by: Linus Torvalds commit 1b9a3917366028cc451a98dd22e3bcd537d4e5c1 tree d911058720e0a9aeeaf9f407ccdc6fbf4047f47d parent 3661f00e2097676847deb01add1a0918044bd816 parent 71e1c784b24a026a490b3de01541fc5ee14ebc09 author Linus Torvalds Sat, 25 Mar 2006 09:24:53 -0800 committer Linus Torvalds Sat, 25 Mar 2006 09:24:53 -0800 Merge branch 'audit.b3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current * 'audit.b3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current: (22 commits) [PATCH] fix audit_init failure path [PATCH] EXPORT_SYMBOL patch for audit_log, audit_log_start, audit_log_end and audit_format [PATCH] sem2mutex: audit_netlink_sem [PATCH] simplify audit_free() locking [PATCH] Fix audit operators [PATCH] promiscuous mode [PATCH] Add tty to syscall audit records [PATCH] add/remove rule update [PATCH] audit string fields interface + consumer [PATCH] SE Linux audit events [PATCH] Minor cosmetic cleanups to the code moved into auditfilter.c [PATCH] Fix audit record filtering with !CONFIG_AUDITSYSCALL [PATCH] Fix IA64 success/failure indication in syscall auditing. [PATCH] Miscellaneous bug and warning fixes [PATCH] Capture selinux subject/object context information. [PATCH] Exclude messages by message type [PATCH] Collect more inode information during syscall processing. [PATCH] Pass dentry, not just name, in fsnotify creation hooks. [PATCH] Define new range of userspace messages. [PATCH] Filter rule comparators ... Fixed trivial conflict in security/selinux/hooks.c commit 3661f00e2097676847deb01add1a0918044bd816 tree 5a78dc694217c446b09362913195ad7afcf38fdb parent 53846a21c1766326bb14ce8ab6e997a0c120675d parent 0fdf109676d1eda4ff8199a9a3ee3f11c555c1b3 author Linus Torvalds Sat, 25 Mar 2006 09:20:39 -0800 committer Linus Torvalds Sat, 25 Mar 2006 09:20:39 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/aoe-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/aoe-2.6: [PATCH] aoe [3/3]: update version to 22 [PATCH] aoe [2/3]: don't request ATA device ID on ATA error [PATCH] aoe [1/3]: support multiple AoE listeners [PATCH] aoe: do not stop retransmit timer when device goes down [PATCH] aoe [8/8]: update driver version number [PATCH] aoe [7/8]: update driver compatibility string [PATCH] aoe [6/8]: update device information on last close [PATCH] aoe [5/8]: allow network interface migration on packet retransmit [PATCH] aoe [4/8]: use less confusing driver name [PATCH] aoe [3/8]: increase allowed outstanding packets [PATCH] aoe [2/8]: support dynamic resizing of AoE devices [PATCH] aoe [1/8]: zero packet data after skb allocation commit 53846a21c1766326bb14ce8ab6e997a0c120675d tree 37b04485e29844b4e734479181276a2f4d2447e4 parent 2e9abdd9bad485970b37cd53a82f92702054984c parent 1ebbe2b20091d306453a5cf480a87e6cd28ae76f author Linus Torvalds Sat, 25 Mar 2006 09:18:27 -0800 committer Linus Torvalds Sat, 25 Mar 2006 09:18:27 -0800 Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 * git://git.linux-nfs.org/pub/linux/nfs-2.6: (103 commits) SUNRPC,RPCSEC_GSS: spkm3--fix config dependencies SUNRPC,RPCSEC_GSS: spkm3: import contexts using NID_cast5_cbc LOCKD: Make nlmsvc_traverse_shares return void LOCKD: nlmsvc_traverse_blocks return is unused SUNRPC,RPCSEC_GSS: fix krb5 sequence numbers. NFSv4: Dont list system.nfs4_acl for filesystems that don't support it. SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum SUNRPC: Ensure rpc_call_async() always calls tk_ops->rpc_release() SUNRPC: Fix memory barriers for req->rq_received NFS: Fix a race in nfs_sync_inode() NFS: Clean up nfs_flush_list() NFS: Fix a race with PG_private and nfs_release_page() NFSv4: Ensure the callback daemon flushes signals SUNRPC: Fix a 'Busy inodes' error in rpc_pipefs NFS, NLM: Allow blocking locks to respect signals NFS: Make nfs_fhget() return appropriate error values NFSv4: Fix an oops in nfs4_fill_super lockd: blocks should hold a reference to the nlm_file NFSv4: SETCLIENTID_CONFIRM should handle NFS4ERR_DELAY/NFS4ERR_RESOURCE NFSv4: Send the delegation stateid for SETATTR calls ... commit 2e9abdd9bad485970b37cd53a82f92702054984c tree 8f473a59aae906e65d0f78bbc98a8db12401d5d2 parent c36cd16f78a5dd740a619ef8445e35a73484d58b parent 9d1f6b28ee2429a1f94a9f7074ffae7f918d33be author Linus Torvalds Sat, 25 Mar 2006 09:17:32 -0800 committer Linus Torvalds Sat, 25 Mar 2006 09:17:32 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart: [AGPGART] x86_64: Enable VIA AGP driver on x86-64 for VIA P4 chipsets [AGPGART] x86_64: Fix wrong PCI ID for ALI M1695 AGP bridge [AGPGART] ATI RS350 support. [AGPGART] Lots of CodingStyle/whitespace cleanups. commit c36cd16f78a5dd740a619ef8445e35a73484d58b tree 891222405ffed9d9a9df2edbb68d2383c6b3b6a0 parent 6a0f03e0d35c10e07f1160ca75fc9a367931e38b author Andi Kleen Sat, 25 Mar 2006 16:32:04 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:39 -0800 [PATCH] x86_64: Add cpu_relax() to busy loops in PM timer code Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6a0f03e0d35c10e07f1160ca75fc9a367931e38b tree 30f28b9feb33bf265bc56fe2690b1aa13208e79a parent f271a6f557497830f3995138b0c78d8634b33863 author Andi Kleen Sat, 25 Mar 2006 16:32:01 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:39 -0800 [PATCH] x86_64: Don't enable CONFIG_UNWIND_INFO by default for DEBUG_KERNEL DEBUG_KERNEL is often enabled just for sysrq, but this doesn't mean the user wants more heavyweight debugging information. Cc: jbeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f271a6f557497830f3995138b0c78d8634b33863 tree 32d2fdb8f4e95c7414bdf8a2aa339daecabe14c8 parent 3076a492a5e8dd624f237886646b35d12193502d author Andi Kleen Sat, 25 Mar 2006 16:31:58 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:39 -0800 [PATCH] x86_64: Removed duplicated declaration of force_iommu Noticed by Andrew Morton. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3076a492a5e8dd624f237886646b35d12193502d tree f864c94648364af19430090e8c362f8d1db48899 parent ad90573f93533ddf1035b0468ed27b4453e50c46 author Andi Kleen Sat, 25 Mar 2006 16:31:55 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:39 -0800 [PATCH] x86_64: Report SIGSEGV for IRET faults tcsh is not happy with the -9999 error code. Suggested by Ernie Petrides Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ad90573f93533ddf1035b0468ed27b4453e50c46 tree e1c112abeea9de2943133ca22b870634c1713a66 parent 0085979006fd55ec7c2f721bdaa9af130a08d62a author Andi Kleen Sat, 25 Mar 2006 16:31:52 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:39 -0800 [PATCH] x86_64: Initialize powernow_data[] for all siblings I got an oops on a dual core system because the lost tick handler called cpufreq_get() on core 1 and powernow tried to follow a NULL powernow_data[] pointer there. Initialize powernow_data for all cores of a CPU. Cc: Jacob Shin Cc: Dave Jones Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0085979006fd55ec7c2f721bdaa9af130a08d62a tree 5d740dc3b3b1446b2e07f0a1456816b1103b1267 parent dcf36bfa5de6d4e37878d4c98b6986fee4eb8b4c author Andi Kleen Sat, 25 Mar 2006 16:31:49 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:39 -0800 [PATCH] x86_64: Remove bogus special case in AMD core parsing. No need to restrict to power of two here. TBD needs more double checking Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit dcf36bfa5de6d4e37878d4c98b6986fee4eb8b4c tree 6b18d3efd64e55f14209f40ee3232da2ea25d69e parent 40caa884650fc6931cf55918dbf7496c49b3ddf8 author Eric Dumazet Sat, 25 Mar 2006 16:31:46 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:38 -0800 [PATCH] x86_64: group memnodemap and memnodeshift in a memnode structure pfn_to_page() and others need to access both memnode_shift and the very first bytes of memnodemap[]. If we force memnode_shift to be just before the memnodemap array, we can reduce the memory footprint to one cache line instead of two for most setups. This patch introduce a 'memnode' structure where shift and map[] are carefully placed. Signed-off-by: Eric Dumazet Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 40caa884650fc6931cf55918dbf7496c49b3ddf8 tree 2c524a531a96751b9b6a1bbc7b96b06700a3d6a4 parent 9c01dda02f417270e733e38effe1084c77ae107d author Kevin Winchester Sat, 25 Mar 2006 16:31:43 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:38 -0800 [PATCH] x86_64: Eliminate register_die_notifier symbol exported register_die_notifier is exported twice, once in traps.c and once in x8664_ksyms.c. This results in a warning on build. Signed-off-by: Kevin Winchester Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9c01dda02f417270e733e38effe1084c77ae107d tree 147b87763e66b4bfc3522f72a126d515451034f8 parent 94949436191f69dac735919a9698612ef6b3dbba author Navin Boppuri Sat, 25 Mar 2006 16:31:40 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:38 -0800 [PATCH] x86_64: Search K8 devices on more devices. arch/x86_64/kernel/aperture.c: The search for the AGP bridge has been extended to search for all the 256 buses instead of the first 32. This is required since on a some systems, the bridge may be located on a bus much farther than the first 32. By searching all 256 buses, we guarantee that the search succeeds on such systems. arch/x86_64/kernel/pci-gart.c: The search for the Northbridge is not limited to just bus 0 anymore. This is required because on certain systems, we may not find one on bus 0. Signed-off-by: Navin Boppuri Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 94949436191f69dac735919a9698612ef6b3dbba tree 9648177bb03f620b6333153102e5bdd7e56f47ca parent 5d05f4de414c98348219b633401ad9c9a5348a8b author Andi Kleen Sat, 25 Mar 2006 16:31:37 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:38 -0800 [PATCH] x86_64: Make local_t 64bit instead of 32bit For consistency with other architectures Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5d05f4de414c98348219b633401ad9c9a5348a8b tree 23c0ec4184594b3b59562e9a505bab99332ba487 parent ba22f13563de5773701fc318ccaaa37b1fb6d294 author Jon Mason Sat, 25 Mar 2006 16:31:34 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:38 -0800 [PATCH] x86_64: Make GART_IOMMU kconfig help text more specific (trivial) Have the GART_IOMMU help text specify that this is the hardware IOMMU in amd64 processors. This will be significant if/when other IOMMUs are added to the x86-64 architecture. :-) Also, note that the previous help text stated that IOMMU was needed for >3GB memory instead of >4GB. This is fixed in the newer version. Signed-off-by: Jon Mason Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ba22f13563de5773701fc318ccaaa37b1fb6d294 tree e29ddeaca4c9f7b1b5ef08804980600d0e089f5b parent 9d95dd849ccc43c4b21504e1829b5bed68cdb1bc author Andi Kleen Sat, 25 Mar 2006 16:31:31 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:14:38 -0800 [PATCH] x86_64: Remove CONFIG_UNORDERED_IO It was a failed experiment - all benchmarks done with it on both AMD and Intel showed it was a loss. That was probably because the store buffers of the CPUs for write combining traffic weren't large enough. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9d95dd849ccc43c4b21504e1829b5bed68cdb1bc tree 8c0040e2207e026512a536927155fdcdd6bda008 parent c912c2db2f5c2467ba34e4e655008a14532a3900 author Andi Kleen Sat, 25 Mar 2006 16:31:22 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:57 -0800 [PATCH] i386/x86-64: List Intel LaGrange AKA SMX in /proc/cpuinfo Spec just got published so we know the CPUID bit. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c912c2db2f5c2467ba34e4e655008a14532a3900 tree b8fb312672424a20b3f2b6574a864f88a99d0605 parent da7ed9f98f6f3f18664f8ab24303f9428b9d78f8 author Jon Mason Sat, 25 Mar 2006 16:31:19 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:57 -0800 [PATCH] x86_64: free_bootmem_node needs __pa in allocate_aperture free_bootmem_node expects a physical address to be passed in, but __alloc_bootmem_node returns a virtual one. That address needs to be translated to physical. Signed-off-by: Jon Mason Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit da7ed9f98f6f3f18664f8ab24303f9428b9d78f8 tree 692653ace76f945b130eeb991b8e3857caf866b6 parent b1fc513d81b0f50f9543428ce95ec63ae70ab184 author Vivek Goyal Sat, 25 Mar 2006 16:31:16 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:57 -0800 [PATCH] x86_64: timer interrupt lockup due to pending interrupt o check_timer() routine fails while second kernel is booting after a crash on an opetron box. Problem happens because timer vector (0x31) seems to be locked. o After a system crash, it is not safe to service interrupts any more, hence interrupts are disabled. This leads to pending interrupts at LAPIC. LAPIC sends these interrupts to the CPU during early boot of second kernel. Other pending interrupts are discarded saying unexpected trap but timer interrupt is serviced and CPU does not issue an LAPIC EOI because it think this interrupt came from i8259 and sends ack to 8259. This leads to vector 0x31 locking as LAPIC does not clear respective ISR and keeps on waiting for EOI. o This patch issues extra EOI for the pending interrupts who have ISR set. o Though today only timer seems to be the special case because in early boot it thinks interrupts are coming from i8259 and uses mask_and_ack_8259A() as ack handler and does not issue LAPIC EOI. But probably doing it in generic manner for all vectors makes sense. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b1fc513d81b0f50f9543428ce95ec63ae70ab184 tree ee3fc9dc3830e3cca3918911ee50804abfcc0094 parent 267b48014a5c0c2ae90b04dad5d95ceb903365a6 author Brian Gerst Sat, 25 Mar 2006 16:31:13 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: Use cpumask bitops for cpu_vm_mask cpu_vm_mask is of type cpumask_t, so use the proper bitops. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 267b48014a5c0c2ae90b04dad5d95ceb903365a6 tree 95f5475b7b7f6e5b4fd023f51fb2fa826d95a754 parent bd6633476922b7b51227f7f704c2546e763ae5ed author Andi Kleen Sat, 25 Mar 2006 16:31:10 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: Try to allocate node memmap near the end of node This fixes problems with very large nodes (over 128GB) filling up all of the first 4GB with their mem_map and not leaving enough space for the swiotlb. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bd6633476922b7b51227f7f704c2546e763ae5ed tree 4e9844781419fe600c3e9f3e9dab8207f8dd12dd parent 7682968b7d4d42bb076051b962c3926b4c98539a author Andi Kleen Sat, 25 Mar 2006 16:31:07 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: Force broadcast timer on AMD systems with C3 too. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7682968b7d4d42bb076051b962c3926b4c98539a tree 96ec205d6395056666e07ce2a1d4f9177582ae9c parent df92004ce60a0bb60c8315903c0765873c34a702 author Andi Kleen Sat, 25 Mar 2006 16:31:04 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: Change default setting for noexec32 to match i386 kernel This means i386 processes compiled with a recent compiler will get non executable heap by default now. This is the same default as a 32bit PAE kernel would use on a NX enabled CPU. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit df92004ce60a0bb60c8315903c0765873c34a702 tree 420782e1621f8d5d44dd8b4ecc640cbcfc0c4131 parent 01d4bed417b5943577e9290fbf672ea9a449dc46 author Arjan van de Ven Sat, 25 Mar 2006 16:31:01 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: Reorder one field of the PDA to reduce padding This reorders the mmu_state int in the pda, such that there is no more padding (there currently is 4 bytes of padding). Boot tested. Signed-off-by: Arjan van de Ven Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 01d4bed417b5943577e9290fbf672ea9a449dc46 tree b04d4b16cc9311f5181e26ebbf3f3202499c8cb9 parent 5b922cd429675059f7a7798f7a0b3898c38dc070 author Andi Kleen Sat, 25 Mar 2006 16:30:58 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: Limit max number of CPUs to 255 Because 256 causes overflows in some code that stores them in 8 bit fields and the x86 APIC architecture cannot handle more than 255 anyways. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5b922cd429675059f7a7798f7a0b3898c38dc070 tree 247064f8a708c87429090597c83a0bb93fbb3fdf parent 2ab7f1833baf0f0a0ca9868ee21f8273e2858132 author Chuck Ebbert <76306.1226@compuserve.com> Sat, 25 Mar 2006 16:30:55 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: fix orphaned bits of timer init messages When x86_64 timer init messages were changed to use apic verbosity levels, two messages were missed and one got the wrong level. This causes the last word of a suppressed message to print on a line by itself. Fix that so either the entire message prints or none of it does. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2ab7f1833baf0f0a0ca9868ee21f8273e2858132 tree 58e1a2395f19338ef38bf0b72df3be8aef9ce66a parent 4bdc3b7f1b730c07f5a6ccca77ee68e044036ffc author Andi Kleen Sat, 25 Mar 2006 16:30:52 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: Quieten down microcode update driver Only log data in microcode driver when something is changed Otherwise it was far too noisy on large systems. Also remove the printk when it is unloaded. Cc: tigran@veritas.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4bdc3b7f1b730c07f5a6ccca77ee68e044036ffc tree 58e79b7865d4d4660711f7f8a2a3cc2ec91e65ec parent 9b2a13b963dece8d45e07692b7872ae5a075ca2a author Arjan van de Ven Sat, 25 Mar 2006 16:30:49 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:56 -0800 [PATCH] x86_64: Basic reorder infrastructure This patch puts the infrastructure in place to allow for a reordering of functions based inside the vmlinux. The general idea is that it is possible to put all "common" functions into the first 2Mb of the code, so that they are covered by one TLB entry. This as opposed to the current situation where a typical vmlinux covers about 3.5Mb (on x86-64) and thus 2 TLB entries. This is done by enabling the -ffunction-sections flag in gcc, which puts each function in its own ELF section, so that the linker can then order them in a way defined by the linker script. As per previous discussions, Linus said he wanted a "static" list for this, eg a list provided by the kernel tarbal, so that most people have the same ordering at least. A script is provided to create this list based on readprofile(1) output. The included list is provisional, and entirely biased on my own testbox and me running a few kernel compiles and some other things. I think that to get to a better list we need to invite people to submit their own profiles, and somehow add those all up and base the final list on that. I'm willing to do that effort if this is ends up being the prefered approach. Such an effort probably needs to be repeated like once a year or so to adopt to the changing nature of the kernel. Made it a CONFIG with default n because it increases link times dramatically. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9b2a13b963dece8d45e07692b7872ae5a075ca2a tree 782cd87fb1ec85b41a0b14077708d5a1af180f57 parent 3056d6be19b50cbd3f0290e816d702cc3e54a6f3 author Andi Kleen Sat, 25 Mar 2006 16:30:46 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Always use IO-APIC routing for timer. I tested it on a couple of chipsets and it worked everywhere so it should be ok as default for now. So far I haven't done the great purge of the useless old check_timer code yet though. Can be overwritten with enable_8254_timer in the worst case Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3056d6be19b50cbd3f0290e816d702cc3e54a6f3 tree f23c61a35202b554d2be8ff1ee6c1a5ac9ab8856 parent 554d284ba90bc2306c31e5363789f05c320969c3 author Andi Kleen Sat, 25 Mar 2006 16:30:43 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Don't invoke OOM killer during dma_alloc_coherent() There is a fallback logic, so it's better to not use the OOM killer in the allocations. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 554d284ba90bc2306c31e5363789f05c320969c3 tree 8fb67f8c7bed5c6525a060b094ff461fb4bfb104 parent 28456edeff2ef9273c55cd12e4b193208717d4cd author Andi Kleen Sat, 25 Mar 2006 16:30:40 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Don't invoke OOM killer while allocating floppy DMA buffers Floppy can fall back to smaller buffers, so don't do OOM killing. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 28456edeff2ef9273c55cd12e4b193208717d4cd tree 9a75fb0b2158a8db1cb29d6df0dafc85bd82526f parent 7351c0bfe825db2239b835c771c95affe006f51c author Andi Kleen Sat, 25 Mar 2006 16:30:37 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Reename CMOS update warning Was disabled due to an old bug, long gone. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7351c0bfe825db2239b835c771c95affe006f51c tree 8ae203fcf187c221d8dbf82eff7f7350e83ca014 parent 6954bee829a037e4a3e06f7ecd7fc0466fadde41 author Andi Kleen Sat, 25 Mar 2006 16:30:34 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Fix formatting in time.c Only white space changes, code should be identical Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6954bee829a037e4a3e06f7ecd7fc0466fadde41 tree 07f7db85079b99539ab6fc66c7482a960b52202c parent eaeae0cc985fa1df753da7edc8d02635cbc1ba39 author Andi Kleen Sat, 25 Mar 2006 16:30:31 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Handle years beyond 2100 ACPIv2 has an official but optional way to get a date >2100. Use it. But all the platforms I tested didn't seem to support it. But anyways the x86-64 kernel should be ready for the 22nd century now. Actually i shouldn't care about this because I will be dead by then @) Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit eaeae0cc985fa1df753da7edc8d02635cbc1ba39 tree 793319d36cf4c16d0374ab915b3225cc073c3d26 parent 5f44a669805ab2c18b347436ec5333173b821268 author Arjan van de Ven Sat, 25 Mar 2006 16:30:28 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Patch to make the head.S-must-be-first-in-vmlinux order explicit This patch puts the code from head.S in a special .bootstrap.text section. I'm working on a patch to reorder the functions in the kernel (I'll post that later), but for x86-64 at least the kernel bootstrap requires that the head.S functions are on the very first page/pages of the kernel text. This is understandable since the bootstrap is complex enough already and not a problem at all, it just means they aren't allowed to be reordered. This patch puts these special functions into a separate section to document this, and to guarantee this in the light of possibly reordering the rest later. (So this patch doesn't fix a bug per se, but makes things more robust by making the order of these functions explicit) Signed-off-by: Arjan van de Ven Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5f44a669805ab2c18b347436ec5333173b821268 tree 15dda06f51067c3aeff7b794cbdd071a153297d0 parent f2d3efedbecc04dc348d723e4c90b46731b3bb48 author Andi Kleen Sat, 25 Mar 2006 16:30:25 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Add __init to fixmap functions that are only called during boot Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f2d3efedbecc04dc348d723e4c90b46731b3bb48 tree 982c7838a97a5c2420de392e5a36f49eaa1778b0 parent f083a329e63d471a5e9238e837772b1b76c218db author Andi Kleen Sat, 25 Mar 2006 16:30:22 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:55 -0800 [PATCH] x86_64: Implement early DMI scanning There are more and more cases where we need to know DMI information early to work around bugs. i386 already had early DMI scanning, but x86-64 didn't. Implement this now. This required some cleanup in the i386 code. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f083a329e63d471a5e9238e837772b1b76c218db tree 3d0955a4190ca886c3efa2e93e725d843e7d907b parent e6fc99c6aba0350a3c4c0206b7047d4893491485 author Andi Kleen Sat, 25 Mar 2006 16:30:19 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:54 -0800 [PATCH] x86_64: Clean up and tweak ACPI blacklist year code - Move the core parser into dmi_scan.c. It can be useful for other subsystems too. - Differentiate between field doesn't exist and field is 0 or unparseable. The first case is likely an old BIOS with broken ACPI, the later is likely a slightly buggy BIOS where someone forget to edit the date. Don't blacklist in the later case. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e6fc99c6aba0350a3c4c0206b7047d4893491485 tree 98e18080a519183356637799112757e37fb1b3de parent 04103609322daca31197068e310ba8037ecd3470 author Dave Jones Sat, 25 Mar 2006 16:30:16 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:54 -0800 [PATCH] x86_64: s/Overwrite/Override/ in arch/x86-64 s/Overwrite/Override/ Signed-off-by: Dave Jones Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 04103609322daca31197068e310ba8037ecd3470 tree e0686824d7b75c5f6036afccc4dc10f1bd18a0a6 parent a9ba9a3b3897561d01e04cd21433746df46548c0 author Andi Kleen Sat, 25 Mar 2006 16:30:13 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:54 -0800 [PATCH] x86_64: Move kernel to 2MB As suggested by Andi (and Alan), move the default kernel location from 1Mb to 2Mb, to align to the start of a TLB entry. Signed-off-by: Arjan van de Ven Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit a9ba9a3b3897561d01e04cd21433746df46548c0 tree d222fb0e1c522d4bd506cb8c24c498a7e1589da2 parent 4bc32c4d5cde5c57edcc9c2fe5057da8a4dd0153 author Arjan van de Ven Sat, 25 Mar 2006 16:30:10 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:54 -0800 [PATCH] x86_64: prefetch the mmap_sem in the fault path In a micro-benchmark that stresses the pagefault path, the down_read_trylock on the mmap_sem showed up quite high on the profile. Turns out this lock is bouncing between cpus quite a bit and thus is cache-cold a lot. This patch prefetches the lock (for write) as early as possible (and before some other somewhat expensive operations). With this patch, the down_read_trylock basically fell out of the top of profile. Signed-off-by: Arjan van de Ven Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4bc32c4d5cde5c57edcc9c2fe5057da8a4dd0153 tree ad3dd43ee4a88a258bc51ae9141ded97160b98ba parent 60c1bc82d9d42486e2b96de668b0b49fadaffd12 author Andi Kleen Sat, 25 Mar 2006 16:30:07 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:54 -0800 [PATCH] x86_64: Implement compat code for raw1394 read/write Not for the ioctls so far because I was too lazy. Cc: bcollins@debian.org Cc: dan@dennedy.org Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 60c1bc82d9d42486e2b96de668b0b49fadaffd12 tree 4dc840d3ecf007f24012defe1f42911534f568be parent e57113bc1ff591005ec0b0fb4885d97c01de73d8 author Ravikiran G Thirumalai Sat, 25 Mar 2006 16:30:04 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:54 -0800 [PATCH] x86_64: to use lapic ids instead of initial apic ids phys_proc_id[] on AMD boxes is right now populated with the initial apic id, obtained by the cpuid instruction. But, the initial apic id need not be the local apic id on clustered APIC systems (see comment at x86_64/kernel/genapic_cluster.c, line 110). On vSMPowered with AMD CPUs the cpu_to_node will turn out to be incorrect (as apicid_to_node[] is indexed by the initial apic id rather than the local apic id). On vSMPowered boxes with Intel CPUs this is working correctly as phys_proc_id[] is initialized correctly in detect_ht(). This fixes AMD boot path according to specification, to use the correct routines for local apic id and socket ids. We use hard_smp_processor_id() to read the local apic id, and phys_pkg_id() to determine socket id for phys_proc_id[] Patch tested on Tyan multicore boxes as well as vSMPowered boxes. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e57113bc1ff591005ec0b0fb4885d97c01de73d8 tree 5e383dc4bdb5decf06adecca6da76fec6cbaa7d8 parent 1f50249e940baa7133e0bdb32cd564bb3ba28456 author Jan Beulich Sat, 25 Mar 2006 16:30:01 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:54 -0800 [PATCH] x86_64: miscellaneous cleanup - adjust limits of GDT/IDT pseudo-descriptors (some were off by one) - move empty_zero_page into .bss.page_aligned - move cpu_gdt_table into .data.page_aligned - move idt_table into .bss - align inital_code and init_rsp - eliminate pointless (re-)declaration of idt_table in traps.c Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1f50249e940baa7133e0bdb32cd564bb3ba28456 tree 8c268c7a73a713b2d4423cbbd293d46eb488320e parent 2b692a872c21849edb0a398937e31991526a9216 author Andi Kleen Sat, 25 Mar 2006 16:29:58 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:54 -0800 [PATCH] x86_64: Make pfn_valid work early in boot It needs num_physpages, so initialize it early. It's later overwritten again. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2b692a872c21849edb0a398937e31991526a9216 tree 492273495ff811755032de6f725859888998d27b parent b2b978f98036717e2508cf3288aecb8f9c7d724e author Roberto Nibali Sat, 25 Mar 2006 16:29:55 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: Clean up white space in traps.c Attached is a small code style cleanup patch that resulted from my skimming through the arch/x86_64/kernel/traps.c code to figure out what went haywire. Signed-off-by: Roberto Nibali Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b2b978f98036717e2508cf3288aecb8f9c7d724e tree 199c2026a1452bccee95cf64d3de8d024396929a parent 6edfba1b33c701108717f4e036320fc39abe1912 author Henrik Kretzschmar Sat, 25 Mar 2006 16:29:52 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: Fix wrong PCI ID for ALI M1695 AGP bridge [description by AK] Made a cut'n'paste error when adding the entry for the ALI M1695 AGP bridge and added a second entry for the 1689 Cc: Dave Jones Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6edfba1b33c701108717f4e036320fc39abe1912 tree 48f69c4e9c103c88541d4c5e36fae9a688c45bb1 parent 681558fdb5848f0a6dc248108f0f7323f7380857 author Andi Kleen Sat, 25 Mar 2006 16:29:49 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: Don't define string functions to builtin gcc should handle this anyways, and it causes problems when sprintf is turned into strcpy by gcc behind our backs and the C fallback version of strcpy is actually defining __builtin_strcpy Then drop -ffreestanding from the main Makefile because it isn't needed anymore and implies -fno-builtin, which is wrong now. (it was only added for x86-64, so dropping it should be safe) Noticed by Roman Zippel Cc: Roman Zippel Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 681558fdb5848f0a6dc248108f0f7323f7380857 tree 275df1a007f74837c6d23b5c5987b85804ab22f3 parent 86ebcea899ff01274c1e8e15bf1d1f1cf5fac471 author Andi Kleen Sat, 25 Mar 2006 16:29:46 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: Check that early arguments are words on their own We've always had the problem that arguments only did a prefix match, which resulted e.g. in noapic and noapictimer getting confused. Fix the early argument parsing code to always check that arguments are whole words (except for those that take additional arguments of course) I factored out the checking code for that while also makes the code easier to maintain. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 86ebcea899ff01274c1e8e15bf1d1f1cf5fac471 tree d14b575e09c71aaf6f467a28c72f943ab815dd8f parent 8c914cb704a11460eec7ed2a572bb5e9bd513d24 author Jan Beulich Sat, 25 Mar 2006 16:29:43 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: remove dead do_softirq_thunk Appearantly a left-over... Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8c914cb704a11460eec7ed2a572bb5e9bd513d24 tree 3d735f0e33f474b296f106dee70935d77e267a74 parent 85f9eebccde51e24896f31383f5b70776362e1a6 author Jan Beulich Sat, 25 Mar 2006 16:29:40 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: actively synchronize vmalloc area when registering certain callbacks While the modular aspect of the respective i386 patch doesn't apply to x86-64 (as the top level page directory entry is shared between modules and the base kernel), handlers registered with register_die_notifier() are still under similar constraints for touching ioremap()ed or vmalloc()ed memory. The likelihood of this problem becoming visible is of course significantly lower, as the assigned virtual addresses would have to cross a 2**39 byte boundary. This is because the callback gets invoked (a) in the page fault path before the top level page table propagation gets carried out (hence a fault to propagate the top level page table entry/entries mapping to module's code/data would nest infinitly) and (b) in the NMI path, where nested faults must absolutely not happen, since otherwise the IRET from the nested fault re-enables NMIs, potentially resulting in nested NMI occurences. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 85f9eebccde51e24896f31383f5b70776362e1a6 tree de990ac5c7982fb05940d764b58f4ea20013c77d parent 77d910f557c44db0fa72ee856c41cdd56972cfca author Andi Kleen Sat, 25 Mar 2006 16:29:37 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: Use cpu_relax in poll loop in GART IOMMU The code waits for the GART to clear the TLB flush bit. Use cpu_relax in this time to allow hypervisors to yield the CPU in this time. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 77d910f557c44db0fa72ee856c41cdd56972cfca tree 8ef1599205e93e47452148b8c3c9ed44e090eae1 parent 9ede6b0945223d1e353501f41b988a3db56b4e27 author Andi Kleen Sat, 25 Mar 2006 16:29:34 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: Report local APIC ID when initializing CPU Makes some debugging easier. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9ede6b0945223d1e353501f41b988a3db56b4e27 tree 40ed5154dc041977e7e19da501eceee1e24ac369 parent 51f62e186b78f8743246a349b09be370c8735479 author Andi Kleen Sat, 25 Mar 2006 16:29:31 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: Don't need to read PIT in timer handler when PM timer is used The PM timer path through main_timer_handler doesn't need the delay variable because it figures it out in a different way. Don't try to read it from the PIT. With stopped PIT timer it is even useless. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 51f62e186b78f8743246a349b09be370c8735479 tree e8b4f95445a581c3844beafb45654cefff5c490d parent 45948d7720e8bd0104696087c6305fdd90e3b298 author Ashok Raj Sat, 25 Mar 2006 16:29:28 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:53 -0800 [PATCH] x86_64: cleanup allocating logical cpu numbers in x86_64 Minor cleanup to lend better for physical CPU hotplug. Earlier way of using num_processors as index doesnt fit if CPUs come and go. This makes the code little bit better to read, and helps physical hotplug use the same functions as boot. Reserving CPU0 for BSP is too late to be done in smp_prepare_boot_cpu(). Since logical assignments from MADT is already done via setup_arch()->acpi_boot_init()->parse lapic Signed-off-by: Ashok Raj Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 45948d7720e8bd0104696087c6305fdd90e3b298 tree 0da730feffeae60461117a07efdf2ada96704fa6 parent 2b514e74f4e59e3b8e54891580fef2c9ff6c7bd0 author Jan Beulich Sat, 25 Mar 2006 16:29:25 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86_64: save FPU context slightly later Touching of the floating point state in a kernel debugger must be NMI-safe, specifically math_state_restore() must be able to deal with being called out of an NMI context. In order to do that reliably, the context switch code must take care to not leave a window open where the current task's TS_USEDFPU flag and CR0.TS could get out of sync. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2b514e74f4e59e3b8e54891580fef2c9ff6c7bd0 tree 106ddc876df761c2b3d9aa3ef27c576ad15ed54b parent 893efca9279d7a78bae6532de0524e53370819d5 author Jan Beulich Sat, 25 Mar 2006 16:29:22 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86_64: eliminate set_debug() For consistency and to have only a single place of definition, replace set_debug() uses with set_debugreg(), and eliminate the definition of thj former. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 893efca9279d7a78bae6532de0524e53370819d5 tree 5ae05a1b6a0aa34cab50c0826782c04e9cc338f9 parent 3240114d23793384fa9c3c53f391f672d1c22d2e author Jan Beulich Sat, 25 Mar 2006 16:29:19 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86_64: disallow multi-byte hardware execution breakpoints While AMD formally permits multi-byte execution breakpoints, Intel disallows 8-byte as much as 2- or 4-byte ones. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3240114d23793384fa9c3c53f391f672d1c22d2e tree ec932afc61bda6e077af5f245b47a80c90bd51c6 parent abe059e7590fd4475285f2d037c70dec712a4572 author Jan Beulich Sat, 25 Mar 2006 16:29:16 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86_64: cpu_pda array to macro followup correction Fix one place where the previous change of cpu_pda from being an array to being a macro was not properly carried out. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit abe059e7590fd4475285f2d037c70dec712a4572 tree 4c15ffcf11786a89cd87d0766c6d6717342aa722 parent 913bd906019514579b3c7ec5ab9c463e89207a57 author Andi Kleen Sat, 25 Mar 2006 16:29:12 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86_64: Rename struct node in x86-64 NUMA code to struct bootnode It conflicts with the struct node in node.h Actually the x86-64 version was there first, but .. Suggested by Jan Beulich Cc: jbeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 913bd906019514579b3c7ec5ab9c463e89207a57 tree 8f73c66bf2b30afb2807814d97f9307af0508454 parent dca99a38bccceda9e079d4c95abefbd9028605fe author Andi Kleen Sat, 25 Mar 2006 16:29:09 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86_64: Increase the variability of the process stack on 64bit architectures 8MB is not really very random, use 1GB (or more with larger page sizes) instead. Also use the low bits of the random generator output now instead of throwing them away. Only enabled on x86-64 right now. Other architectures need to add a suitable STACK_RND_MASK Cc: mingo@elte.hu Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit dca99a38bccceda9e079d4c95abefbd9028605fe tree 1b583ae41d7b042e0249bb0b746c49fa6f09a4e8 parent c7ea1a96ec007ba761c9d5d11d788cd8fdd5c8b6 author Andi Kleen Sat, 25 Mar 2006 16:29:06 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86-64: Use -mtune=generic for generic kernels The upcomming gcc 4.2 got a new option -mtune=generic to tune code for both common AMD and Intel CPUs. Use this option when available for generic kernels. On x86-64 it is used with CONFIG_GENERIC_CPU. On i386 it is enabled with CONFIG_X86_GENERIC. It won't affect the base line CPU support in any ways and also not the minimum supported CPU. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c7ea1a96ec007ba761c9d5d11d788cd8fdd5c8b6 tree fab3b167a029a944502ae780721b0626f3808e0b parent af8fc1f528fd744e0b92cdb981eec0c8841f6f61 author Jan Beulich Sat, 25 Mar 2006 16:29:03 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86_64: Use correct PUD for memory hotadd Memory >39bits has a different PUD. Cc: "Tolentino, Matthew E" Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit af8fc1f528fd744e0b92cdb981eec0c8841f6f61 tree 5c80902870984cf23a1db43aed53db7d53c007c8 parent be9bf30c73184e0f1e4e0a50fb193d2a551bf75e author Andi Kleen Sat, 25 Mar 2006 16:29:00 +0100 committer Linus Torvalds Sat, 25 Mar 2006 09:10:52 -0800 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit be9bf30c73184e0f1e4e0a50fb193d2a551bf75e tree b94e1b39d59fa10b26fd740993ded00708de08e1 parent ace48471736a4b00753c74633f430c4a3a7d89cb parent 84f0b1ef8c013b33dea9bbc2521094dd29110cf0 author Linus Torvalds Sat, 25 Mar 2006 08:52:23 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:52:23 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq: [CPUFREQ] kzalloc conversion for gx-suspmod [CPUFREQ] Whitespace cleanup [CPUFREQ] Mark longhaul driver as broken. [PATCH] cpufreq: fix section mismatch warnings [CPUFREQ] Fix the p4-clockmod N60 errata workaround. [CPUFREQ] Fix handling for CPU hotplug [CPUFREQ] powernow-k8: Let cpufreq driver handle affected CPUs [CPUFREQ] Lots of whitespace & CodingStyle cleanup. [CPUFREQ] Remove duplicate cpuinfo struct [CPUFREQ] Silence powernow-k8 warning on k7's. commit ace48471736a4b00753c74633f430c4a3a7d89cb tree 5fd6df7367d7d92008689113fc43110c463497be parent 0c50527379496bb7a662f181d0baf0bf2c7a88a6 parent 7a343d4c46bc59fe617f968e996ce2fd67c5d179 author Linus Torvalds Sat, 25 Mar 2006 08:51:35 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:51:35 -0800 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: IPoIB: P_Key change event handling IB/mthca: Fix modify QP error path IPoIB: Fix network interface "RUNNING" status IB/mthca: Fix indentation IB/mthca: Fix uninitialized variable in mthca_alloc_qp() IB/mthca: Check SRQ limit in modify SRQ operation IB/mthca: Check that SRQ WQE size does not exceed device's max value IB/mthca: Check that sgid_index and path_mtu are valid in modify_qp IB/srp: Use a fake scatterlist for non-SG SCSI commands IPoIB: Pass correct pointer when flushing child interfaces commit 0c50527379496bb7a662f181d0baf0bf2c7a88a6 tree 93134000bcc725f2ae4679f8d9f434ae17f2480d parent 7d14f145f839b5d0d221ea209b4998f93267e2ec parent ea8aa68d36026c4c3d938170b06957aeac9682f4 author Linus Torvalds Sat, 25 Mar 2006 08:50:56 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:50:56 -0800 Merge branch 'upstream-linus' of git://oss.oracle.com/home/sourcebo/git/ocfs2 * 'upstream-linus' of git://oss.oracle.com/home/sourcebo/git/ocfs2: ocfs2: finally remove MLF* macros ocfs2: don't use MLF* in the file system ocfs2: don't use MLF* in dlm/ files ocfs2: don't use MLF* in cluster/ files [PATCH] ocfs2: dlm recovery fixes [PATCH] ocfs2: fix hang in dlm lock resource mastery ocfs2: use __attribute__ format commit 7d14f145f839b5d0d221ea209b4998f93267e2ec tree 669d09ad53c9de9ef2e6cef06d256a811d509d65 parent 2e1ca21d46aaef95101723fa402f39d3a95aba59 parent 4129a953ad4db379d8e07b0dd2157998653a1325 author Linus Torvalds Sat, 25 Mar 2006 08:49:25 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:49:25 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: [IA64] New IA64 core/thread detection patch [IA64] Increase max node count on SN platforms [IA64] Increase max node count on SN platforms [IA64] Increase max node count on SN platforms [IA64] Increase max node count on SN platforms [IA64] Tollhouse HP: IA64 arch changes [IA64] cleanup dig_irq_init [IA64] MCA recovery: kernel context recovery table IA64: Use early_parm to handle mvec_name and nomca [IA64] move patchlist and machvec into init section [IA64] add init declaration - nolwsys [IA64] add init declaration - gate page functions [IA64] add init declaration to memory initialization functions [IA64] add init declaration to cpu initialization functions [IA64] add __init declaration to mca functions [IA64] Ignore disabled Local SAPIC Affinity Structure in SRAT [IA64] sn_check_intr: use ia64_get_irr() [IA64] fix ia64 is_hugepage_only_range commit 2e1ca21d46aaef95101723fa402f39d3a95aba59 tree cd95efefb9ccb6ab4ac0589d01c06cdfc22cc989 parent 315ab19a6d12d6af7b6957090822f3057ab7e80f parent eae0f536f640bb95f2ad437a57c40c7d5683d1ac author Linus Torvalds Sat, 25 Mar 2006 08:48:48 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:48:48 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild * master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild: (46 commits) kbuild: remove obsoleted scripts/reference_* files kbuild: fix make help & make *pkg kconfig: fix time ordering of writes to .kconfig.d and include/linux/autoconf.h Kconfig: remove the CONFIG_CC_ALIGN_* options kbuild: add -fverbose-asm to i386 Makefile kbuild: clean-up genksyms kbuild: Lindent genksyms.c kbuild: fix genksyms build error kbuild: in makefile.txt note that Makefile is preferred name for kbuild files kbuild: replace PHONY with FORCE kbuild: Fix bug in crc symbol generating of kernel and modules kbuild: change kbuild to not rely on incorrect GNU make behavior kbuild: when warning symbols exported twice now tell user this is the problem kbuild: fix make dir/file.xx when asm symlink is missing kbuild: in the section mismatch check try harder to find symbols kbuild: fix section mismatch check for unwind on IA64 kbuild: kill false positives from section mismatch warnings for powerpc kbuild: kill trailing whitespace in modpost & friends kbuild: small update of allnoconfig description kbuild: make namespace.pl CROSS_COMPILE happy ... Trivial conflict in arch/ppc/boot/Makefile manually fixed up commit 315ab19a6d12d6af7b6957090822f3057ab7e80f tree 7d6d51cfbd0f5e3182d4490c077e1d3139eeb9a7 parent f081a529f808ed450c22553de7b3275e0ffde9a0 author Nick Piggin Sat, 25 Mar 2006 16:20:22 +0100 committer Linus Torvalds Sat, 25 Mar 2006 08:43:45 -0800 [PATCH] mm: restore vm_normal_page check Hugh is rightly concerned that the CONFIG_DEBUG_VM coverage has gone too far in vm_normal_page, considering that we expect production kernels to be shipped with the option turned off, and that the code has been under some large changes recently. Signed-off-by: Nick Piggin Signed-off-by: Linus Torvalds commit f081a529f808ed450c22553de7b3275e0ffde9a0 tree 0c50e4a3a4a95a5d97c1e9ceddaed6c0034115aa parent 1e8c573933fd7975679766850252ad08667e5ca4 author Andrew Morton Sat, 25 Mar 2006 01:51:51 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:42:45 -0800 [PATCH] cpufreq: speedstep-smi asm fix Fix bug identified by Linus Torvalds : the `out' instruction depends upon the state of memory_data[], so we need to tell gcc that before executing it. (The opcode, not gcc). Fixes http://bugzilla.kernel.org/show_bug.cgi?id=5553 Thanks to Antonio Ospite for testing. Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e8c573933fd7975679766850252ad08667e5ca4 tree 9600d0c7ee5ea8925f3c4dc30680c819e0363805 parent d71eecf3b8e893757cc3dec560c96a32ac090890 parent 232443e2c90cc2930624dec89df327615b002c55 author Linus Torvalds Sat, 25 Mar 2006 08:41:09 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:41:09 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (21 commits) BUG_ON() Conversion in drivers/video/ BUG_ON() Conversion in drivers/parisc/ BUG_ON() Conversion in drivers/block/ BUG_ON() Conversion in sound/sparc/cs4231.c BUG_ON() Conversion in drivers/s390/block/dasd.c BUG_ON() Conversion in lib/swiotlb.c BUG_ON() Conversion in kernel/cpu.c BUG_ON() Conversion in ipc/msg.c BUG_ON() Conversion in block/elevator.c BUG_ON() Conversion in fs/coda/ BUG_ON() Conversion in fs/binfmt_elf_fdpic.c BUG_ON() Conversion in input/serio/hil_mlc.c BUG_ON() Conversion in md/dm-hw-handler.c BUG_ON() Conversion in md/bitmap.c The comment describing how MS_ASYNC works in msync.c is confusing rcu: undeclared variable used in documentation fix typos "wich" -> "which" typo patch for fs/ufs/super.c Fix simple typos tabify drivers/char/Makefile ... commit d71eecf3b8e893757cc3dec560c96a32ac090890 tree 5ca3ce995f506c8659753d24b911f5502b36e201 parent b55813a2e50088ca30df33fa62aeed5d3adb1796 parent a54123e27779049d27d21e6c8adfee73aa2c0734 author Linus Torvalds Sat, 25 Mar 2006 08:39:55 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:39:55 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC]: Try to start getting SMP back into shape. commit b55813a2e50088ca30df33fa62aeed5d3adb1796 tree be50fe404e94869fe854766e190a5753dbc7dd49 parent 368d17e068f691dba5a4f122c271db5ec9b2ebd6 parent 9e19bb6d7a0959f5028d46e1ab99c50f0d36eda8 author Linus Torvalds Sat, 25 Mar 2006 08:39:20 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:39:20 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [NETFILTER] x_table.c: sem2mutex [IPV4]: Aggregate route entries with different TOS values [TCP]: Mark tcp_*mem[] __read_mostly. [TCP]: Set default max buffers from memory pool size [SCTP]: Fix up sctp_rcv return value [NET]: Take RTNL when unregistering notifier [WIRELESS]: Fix config dependencies. [NET]: Fill in a 32-bit hole in struct sock on 64-bit platforms. [NET]: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. [MODULES]: Don't allow statically declared exports [BRIDGE]: Unaligned accesses in the ethernet bridge commit 368d17e068f691dba5a4f122c271db5ec9b2ebd6 tree 69954cea09e5efd4ad1b8268be0e1733a13b4fae parent a9312fb839e90668d05a90024f3a7e7ff646a4a3 parent 22fe087f0139e2f5cbe004f24f84cb1c08b4711e author Linus Torvalds Sat, 25 Mar 2006 08:37:36 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:37:36 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (33 commits) V4L/DVB (3604): V4l printk fix V4L/DVB (3599c): Whitespace cleanups under Documentation/video4linux V4L/DVB (3599b): Whitespace cleanups under drivers/media V4L/DVB (3599a): Move drivers/usb/media to drivers/media/video V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. V4L/DVB (3598): Add bit algorithm adapter for the Conexant CX2341X boards. V4L/DVB (3597): Vivi: fix warning: implicit declaration of function 'in_interrupt' V4L/DVB (3588): Remove VIDIOC_G/S_AUDOUT from msp3400 V4L/DVB (3587): Always wake thread after routing change. V4L/DVB (3584): Implement V4L2_TUNER_MODE_LANG1_LANG2 audio mode V4L/DVB (3582): Implement correct msp3400 input/output routing V4L/DVB (3581): Add new media/msp3400.h header containing the routing macros V4L/DVB (3580): Last round of msp3400 cleanups before adding routing commands V4L/DVB (3579): Move msp_modus to msp3400-kthreads, add JP and KR std detection V4L/DVB (3578): Make scart definitions easier to handle V4L/DVB (3577): Cleanup audio input handling V4L/DVB (3575): Cxusb: fix i2c debug messages for bluebird devices V4L/DVB (3574): Cxusb: fix debug messages V4L/DVB (3573): Cxusb: remove FIXME: comment in bluebird_patch_dvico_firmware_download V4L/DVB (3572): Cxusb: conditionalize gpio write for the medion box ... commit a9312fb839e90668d05a90024f3a7e7ff646a4a3 tree 733a609f9ac45482628dc60cbf17910c65a67520 parent a9e102b60c51faa62506132e8780d8003888c98f author Andrew Morton Sat, 25 Mar 2006 03:08:30 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:02 -0800 [PATCH] git-scsi-misc: min() warning fix drivers/scsi/sd.c: In function `sd_store_cache_type': drivers/scsi/sd.c:193: warning: comparison of distinct pointer types lacks a cast Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9e102b60c51faa62506132e8780d8003888c98f tree 5f87532e8d24eda382d7f7df7764dac6e1e3132a parent 5ddcfa878d5b10b0ab94251a4229a8a9daaf93ed author NeilBrown Sat, 25 Mar 2006 03:08:29 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:02 -0800 [PATCH] More corrections to vfs.txt update Thanks "Randy.Dunlap" Cc: "Randy.Dunlap" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ddcfa878d5b10b0ab94251a4229a8a9daaf93ed tree b24bbd7ccb1a8accb0bc2e6f8c0d3b92f0bf66ea parent e4294b3ecd1da9abeb66709c89f71b1ba888b3b1 author Roman Zippel Sat, 25 Mar 2006 03:08:28 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:02 -0800 [PATCH] remove pps support This removes the support for pps. It's completely unused within the kernel and is basically in the way for further cleanups. It should be easier to readd proper support for it after the rest has been converted to NTP4 (where the pps mechanisms are quite different from NTP3 anyway). Signed-off-by: Roman Zippel Cc: Adrian Bunk Cc: john stultz Cc: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4294b3ecd1da9abeb66709c89f71b1ba888b3b1 tree 52c2a6661cebb58b8fab684303cd6b401f1284b5 parent 6261c8e34f07f09270b37e14c05962c952cbeebe author Mark A. Greer Sat, 25 Mar 2006 03:08:28 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:02 -0800 [PATCH] serial: merge mpsc.h into mpsc.c Merge mpsc.h into mpsc.c because its the only file that #include's mpsc.h. Signed-off-by: Mark A. Greer Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6261c8e34f07f09270b37e14c05962c952cbeebe tree 0778accb4d59ed82e5b5275f1efecc874debd174 parent a30ff2e348af9d3a1782103130c88960550a773f author Mark A. Greer Sat, 25 Mar 2006 03:08:27 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:02 -0800 [PATCH] serial: mpsc driver has definition of SUPPORT_SYSRQ below include of serial_core.h The definition of SUPPORT_SYSRQ must come before #include of serial_core.h. This patch moves the definition of SUPPORT_SYSRQ to be just after the #include of config.h to make it consistent with 8250.c. Reported-by: Stephane Chazelas Signed-off-by: Mark A. Greer Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a30ff2e348af9d3a1782103130c88960550a773f tree 0fbaf216c2a28c9c459adade7bcf517f8ab456fe parent 37f1e984253c7eeee8e0f2be9d134d1e9e34b9d4 author Mark A. Greer Sat, 25 Mar 2006 03:08:26 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:02 -0800 [PATCH] serial: mpsc driver passes bad devname to request_irq() The devname passed to request_irq() contained a '/' which is wrong. At a minimum, the '/' prevented the devname from showing up in /proc/irq//. This patch replaces the '/' with a '-' to fixes that problem. Reported-by: Stephane Chazelas Signed-off-by: Mark A. Greer Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37f1e984253c7eeee8e0f2be9d134d1e9e34b9d4 tree d46f9d866d88df62905717a21af3499f0ef30e3a parent 1ad3dcc09c88c6e01d7624398c591ff3aee22fbe author Eugene Teo Sat, 25 Mar 2006 03:08:25 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:02 -0800 [PATCH] Fix sequencer missing negative bound check 'int dev' came out of an 'unsigned char *' - as such, it will not get a negative value. Thanks Valdis. Signed-off-by: Eugene Teo Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ad3dcc09c88c6e01d7624398c591ff3aee22fbe tree 80c1d28cf329a781ac137858eb6c613fb0eb424e parent f5163427453bc6ca2dd497eeb3e7a30d1c74b487 author Luke Yang Sat, 25 Mar 2006 03:08:24 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] flat binary loader doesn't check fd table full In binfmt_flat.c, the flat binary loader should check file descriptor table and install the fd on the file. Convert the function to single-exit and fix this bug. Signed-off-by: "Luke Yang" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5163427453bc6ca2dd497eeb3e7a30d1c74b487 tree 6fc334c30d12ee269e58d96e515543de48e9cf53 parent 6cc6b1226b71132a1d6e95449d78e051f1f3b506 author Dimitri Sivanich Sat, 25 Mar 2006 03:08:23 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] Add SA_PERCPU_IRQ flag support Add support for SA_PERCPU_IRQ (only mmtimer.c uses this at this stage). Signed-off-by: Dimitri Sivanich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6cc6b1226b71132a1d6e95449d78e051f1f3b506 tree a301ab0b16a5135e777b96e1883f281fa711bf93 parent 55148548124e3e52e8921f1cb0e325111ef9cbb1 author Carsten Otte Sat, 25 Mar 2006 03:08:23 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] remove needless check in fs/read_write.c nr_segs is unsigned long and thus cannot be negative. We checked against 0 few lines before. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55148548124e3e52e8921f1cb0e325111ef9cbb1 tree b1a84317305d060b38bc6fcb1ae4006a76f22071 parent 06842415149371127b91d15774cff95dcccc1845 author Carsten Otte Sat, 25 Mar 2006 03:08:22 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] remove needless check in binfmt_elf.c Local variable i is unsigned int and thus cannot be negative. (akpm: unsigneds shouldn't be called `i'. This value cannot possibly be negative anyway). Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06842415149371127b91d15774cff95dcccc1845 tree ab613c84d1bb2cfab6ac090aa351c5ba7addfa02 parent d12ddde2bbf46b34eae3fb3fd36c0e42832b537c author Randy Dunlap Sat, 25 Mar 2006 03:08:21 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] Doc: fix example firmware source code Fix Documentation/firmware_class/ examples so that they will build. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d12ddde2bbf46b34eae3fb3fd36c0e42832b537c tree e3e9fd142c700154b041d75ff50075b614826c71 parent 1e0a91ad52c741d09288450674fc7c7f1695200a author Pekka Enberg Sat, 25 Mar 2006 03:08:21 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] udf: remove duplicate definitions This patch removes duplicate definitions from include/linux/udf_fs_i.h which are already defined in fs/udf/ecma_167.h. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e0a91ad52c741d09288450674fc7c7f1695200a tree 3586621cb3eddfee8eaa61e250659c4dbee932f3 parent d74beb9f33a5f16d2965f11b275e401f225c949d author Ralf Baechle Sat, 25 Mar 2006 03:08:19 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] EISA: Ignore generated file drivers/eisa/devlist.h Signed-off-by: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d74beb9f33a5f16d2965f11b275e401f225c949d tree 48f851753ebe9c9c8dd701dcdd0c5e1d7c629579 parent 34f361ade2fb4a869f6a7714d01c04ce4cfa75d9 author Eric Dumazet Sat, 25 Mar 2006 03:08:19 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] Use unsigned int types for a faster bsearch This patch avoids arithmetic on 'signed' types that are slower than 'unsigned'. This saves space and cpu cycles. size of kernel/sys.o before the patch (gcc-3.4.5) text data bss dec hex filename 10924 252 4 11180 2bac kernel/sys.o size of kernel/sys.o after the patch text data bss dec hex filename 10903 252 4 11159 2b97 kernel/sys.o I noticed that gcc-4.1.0 (from Fedora Core 5) even uses idiv instruction for (a+b)/2 if a and b are signed. Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34f361ade2fb4a869f6a7714d01c04ce4cfa75d9 tree a250999fc386ddbfe3c92e4d8ffdcf2d3393134a parent f1a1c2dc2a956c375b432d2a9a28e52ba9d81c7c author Ashok Raj Sat, 25 Mar 2006 03:08:18 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:01 -0800 [PATCH] Check if cpu can be onlined before calling smp_prepare_cpu() - Moved check for online cpu out of smp_prepare_cpu() - Moved default declaration of smp_prepare_cpu() to kernel/cpu.c - Removed lock_cpu_hotplug() from smp_prepare_cpu() to around it, since its called from cpu_up() as well now. - Removed clearing from cpu_present_map during cpu_offline as it breaks using cpu_up() directly during a subsequent online operation. Signed-off-by: Ashok Raj Cc: Srivatsa Vaddagiri Cc: "Li, Shaohua" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1a1c2dc2a956c375b432d2a9a28e52ba9d81c7c tree 39923914f3c5208c0948476ceff8f10617525f4e parent 174e27c607cfa3ebb92934d28c0fdfcf5ce6c3af author Randy Dunlap Sat, 25 Mar 2006 03:08:17 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:00 -0800 [PATCH] doc: more serial-console info Add info on flow control for serial consoles. Refer to netconsole option also. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 174e27c607cfa3ebb92934d28c0fdfcf5ce6c3af tree 1bc8f1804dc0917f1a86b2d32c701883932d81fe parent 0e6b3e5e97e2e8a25bcfc528dad94edf5220dfeb author Chen, Kenneth W Sat, 25 Mar 2006 03:08:16 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:00 -0800 [PATCH] direct-io: bug fix in dio handling write error There is a bug in direct-io on propagating write error up to the higher I/O layer. When performing an async ODIRECT write to a block device, if a device error occurred (like media error or disk is pulled), the error code is only propagated from device driver to the DIO layer. The error code stops at finished_one_bio(). The aysnc write, however, is supposedly have a corresponding AIO event with appropriate return code (in this case -EIO). Application which waits on the async write event, will hang forever since such AIO event is lost forever (if such app did not use the timeout option in io_getevents call. Regardless, an AIO event is lost). The discovery of above bug leads to another discovery of potential race window with dio->result. The fundamental problem is that dio->result is overloaded with dual use: an indicator of fall back path for partial dio write, and an error indicator used in the I/O completion path. In the event of device error, the setting of -EIO to dio->result clashes with value used to track partial write that activates the fall back path. It was also pointed out that it is impossible to use dio->result to track partial write and at the same time to track error returned from device driver. Because direct_io_work can only determines whether it is a partial write at the end of io submission and in mid stream of those io submission, a return code could be coming back from the driver. Thus messing up all the subsequent logic. Proposed fix is to separating out error code returned by the IO completion path from partial IO submit tracking. A new variable is added to dio structure specifically to track io error returned in the completion path. Signed-off-by: Ken Chen Acked-by: Zach Brown Acked-by: Suparna Bhattacharya Cc: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e6b3e5e97e2e8a25bcfc528dad94edf5220dfeb tree de537ca068cd7fc2a1d20a47f16c9091cf4c64ff parent 11b0b5abb2097a63c1081d9b7e825b987b227972 author Phillip Susi Sat, 25 Mar 2006 03:08:14 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:00 -0800 [PATCH] udf: fix uid/gid options and add uid/gid=ignore and forget options As Pekka Enberg pointed out, with the if still following the else, you can still get a null uid written to the disk if you specify a default uid= without uid=forget. In other words, if the desktop user is uid=1000 and the mount option uid=1000 is given ( which is done on ubuntu automatically and probably other distributions that use hal ), then if any other user besides uid 1000 owns a file then a 0 will be written to the media as the owning uid instead. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 11b0b5abb2097a63c1081d9b7e825b987b227972 tree 162c828c8d807a1b30869acbe11682dc9222dc16 parent 656bde5728b824ca23fcab8bc5800b309ea48d64 author Oliver Neukum Sat, 25 Mar 2006 03:08:13 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:00 -0800 [PATCH] use kzalloc and kcalloc in core fs code Signed-off-by: Oliver Neukum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 656bde5728b824ca23fcab8bc5800b309ea48d64 tree 9e570f9e5847a653d8ab11e2653464f5b525cc53 parent bda44e1d168ac76fce5183eb141592fc645c7818 author Jesper Juhl Sat, 25 Mar 2006 03:08:12 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:00 -0800 [PATCH] Fix memory leak in isapnp Spotted by the Coverity checker as bug #666 akpm; there are several other `return 1;'s in there which aren't freeing `dev'. (A fix which converts this function to single-exit would be preferred..) Signed-off-by: Jesper Juhl Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bda44e1d168ac76fce5183eb141592fc645c7818 tree d6467cd1b7062f18e3366586637e46adc1ba43e4 parent 96a9b4d31eba4722ba7aad2cc15118a7799f499f author Jesper Juhl Sat, 25 Mar 2006 03:08:11 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:00 -0800 [PATCH] OSS: Fix leak in awe_wave, also remove pointless cast. Fix resource leak and remove pointless cast of kmalloc return value. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96a9b4d31eba4722ba7aad2cc15118a7799f499f tree f96739e328e3e50b43122e551a36415f6e26a1e8 parent 8630282070b4a52b12cfa514ba8558e2f3d56360 author Andrew Morton Sat, 25 Mar 2006 03:08:10 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:00 -0800 [PATCH] cpumask: uninline any_online_cpu() text data bss dec hex filename before: 3605597 1363528 363328 5332453 515de5 vmlinux after: 3605295 1363612 363200 5332107 515c8b vmlinux 218 bytes saved. Also, optimise any_online_cpu() out of existence on CONFIG_SMP=n. This function seems inefficient. Can't we simply AND the two masks, then use find_first_bit()? Cc: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8630282070b4a52b12cfa514ba8558e2f3d56360 tree cf648185ccc0a0ba4e7cf752c1c09a0272a6d192 parent 3d18bd74a22d0bed3bc81fc64c4ba6344a10f155 author Andrew Morton Sat, 25 Mar 2006 03:08:09 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:23:00 -0800 [PATCH] cpumask: uninline highest_possible_processor_id() Shrinks the only caller (net/bridge/netfilter/ebtables.c) by 174 bytes. Also, optimise highest_possible_processor_id() out of existence on CONFIG_SMP=n. Cc: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d18bd74a22d0bed3bc81fc64c4ba6344a10f155 tree 414b44796651db833481e17030f0b18a1be3527b parent ccb46000f4bb459777686611157ac0eac928704e author Andrew Morton Sat, 25 Mar 2006 03:08:09 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:59 -0800 [PATCH] cpumask: uninline next_cpu() text data bss dec hex filename before: 3488027 1322496 360128 5170651 4ee5db vmlinux after: 3485112 1322480 359968 5167560 4ed9c8 vmlinux 2931 bytes saved Cc: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ccb46000f4bb459777686611157ac0eac928704e tree 461e956d9e27a7afa7de64950f3186070ffa61f5 parent 64b91379439ff0fb007bde90eb496299c14a9b2a author Andrew Morton Sat, 25 Mar 2006 03:08:08 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:59 -0800 [PATCH] cpumask: uninline first_cpu() text data bss dec hex filename before: 3490577 1322408 360000 5172985 4eeef9 vmlinux after: 3488027 1322496 360128 5170651 4ee5db vmlinux Cc: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64b91379439ff0fb007bde90eb496299c14a9b2a tree c238d0208bb152e16f379f09a79867d4e8544cb8 parent fe9bab2df96cec7011773aab272515b9faa9b6c4 author Pat Gefre Sat, 25 Mar 2006 03:08:07 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:59 -0800 [PATCH] Altix: rs422 support for ioc4 serial driver Add rs422 support to the Altix ioc4 serial driver. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe9bab2df96cec7011773aab272515b9faa9b6c4 tree 9e345e83dfd004464d250053f2bb63b9432830bc parent 1f4d4a80fbcb1e09cfb95660bcd2b677ea6d04c1 author Eugene Teo Sat, 25 Mar 2006 03:08:07 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:59 -0800 [PATCH] Fix sb_mixer use before validation dev should be validated before it is being used as index to array. Coverity bug #871 Signed-off-by: Eugene Teo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f4d4a80fbcb1e09cfb95660bcd2b677ea6d04c1 tree 713ba892d072d36eaf13f28096050fae794a1edb parent daff89f324755f87a060d5125a205c0755811ea9 author Adrian Bunk Sat, 25 Mar 2006 03:08:06 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:59 -0800 [PATCH] i4l/isdn_tty.c: fix a check-after-use Fix a check-after-use spotted by the Coverity checker. Signed-off-by: Adrian Bunk Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit daff89f324755f87a060d5125a205c0755811ea9 tree 5b2734bd46c8d73a068b571ba1059e67df014825 parent 57070d012cd425c3a71663528c56a436abd2d9da author Jonathan Corbet Sat, 25 Mar 2006 03:08:05 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:59 -0800 [PATCH] radix-tree documentation cleanups Documentation changes to help radix tree users avoid overrunning the tags array. RADIX_TREE_TAGS moves to linux/radix-tree.h and is now known as RADIX_TREE_MAX_TAGS (Nick Piggin's idea). Tag parameters are changed to unsigned, and some comments are updated. Signed-off-by: Jonathan Corbet Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57070d012cd425c3a71663528c56a436abd2d9da tree b5c4a356b9db70d59341695b8eca578d05f1972e parent 30087baf8810cd96b0ca2858993f29a89965ffff author Peter Staubach Sat, 25 Mar 2006 03:08:04 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:59 -0800 [PATCH] compat_sys_nfsservctl(): handle errors correctly Correct some error handling on the compat version of the nfsservctl() system. It was detecting errors while copying in the arguments from user space, but then attempting to use the arguments anyway. This didn't seem so good. Signed-off-by: Peter Staubach Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30087baf8810cd96b0ca2858993f29a89965ffff tree 08bfc281e539fbb88309784bec3ba9d2460e8027 parent 6e692ed37a507e18d8afe8e5faebd8c4722c5f12 author Vasily Averin Sat, 25 Mar 2006 03:08:03 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:58 -0800 [PATCH] i2o_dump_hrt() output cleanup This patch fixes i2o_dump_hrt output from dmesg: iop0: HRT has 1 entries of 16 bytes each. Adapter 00000012: <7>TID 0000:[<7>H<7>P<7>C<7>*<7>]:<7>PCI 1: Bus 1 Device 22 Function 0<7> Signed-off-by: Vasily Averin Cc: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e692ed37a507e18d8afe8e5faebd8c4722c5f12 tree 9178f07eb643123d20a95e4ec08477f2c85bd9ea parent 962749af67b145c57917bfbff3c303ebd7d5988c author John Hawkes Sat, 25 Mar 2006 03:08:02 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:58 -0800 [PATCH] fix alloc_large_system_hash() roundup The "rounded up to nearest power of 2 in size" algorithm in alloc_large_system_hash is not correct. As coded, it takes an otherwise acceptable power-of-2 value and doubles it. For example, we see the error if we boot with thash_entries=2097152 which produces a hash table with 4194304 entries. Signed-off-by: John Hawkes Cc: Roland Dreier Cc: "Chen, Kenneth W" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 962749af67b145c57917bfbff3c303ebd7d5988c tree ce454f8a1cb0beb89c875a11d31426a4b44ca0ba parent 231bed205879236357171e50bd8965e70797ecdc author Andrew Morton Sat, 25 Mar 2006 03:08:01 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:58 -0800 [PATCH] roundup_pow_of_two() 64-bit fix fls() takes an integer, so roundup_pow_of_two() is busted for ulongs larger than 2^32-1. Fix this by implementing and using fls_long(). (Why does roundup_pow_of_two() return a long?) (Why is roundup_pow_of_two() __attribute_const__ whereas long_log2() is __attribute_pure__?) (Why does long_log2() suck so much? Because we were missing fls_long()?) Cc: Roland Dreier Cc: "Chen, Kenneth W" Cc: John Hawkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 231bed205879236357171e50bd8965e70797ecdc tree fe3bb52388510eca3fc19548abd26f4009b94db1 parent 76c67de460b3d00b7ab8a96bb18f07ca47d65fba author Eric Dumazet Sat, 25 Mar 2006 03:08:00 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:58 -0800 [PATCH] No need to protect current->group_info in sys_getgroups(), in_group_p() and in_egroup_p() While doing some benchmarks of an Apache/PHP SMP server, I noticed high oprofile numbers in in_group_p() and _atomic_dec_and_lock(). rank percent 1 4.8911 % __link_path_walk 2 4.8503 % __d_lookup *3 4.2911 % _atomic_dec_and_lock 4 3.9307 % __copy_to_user_ll 5 4.9004 % sysenter_past_esp *6 3.3248 % in_group_p It appears that in_group_p() does an uncessary get_group_info(current->group_info); /* atomic_inc() */ ... /* access current->group_info */ put_group_info(current->group_info); /* _atomic_dec_and_lock */ It is not necessary to do this, because the current task holds a reference on its own group_info, and this reference cannot change during the lookup. This patch deletes the get_group_info()/put_group_info() pair from sys_getgroups(), in_group_p() and in_egroup_p() functions. Signed-off-by: Eric Dumazet Cc: Tim Hockin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76c67de460b3d00b7ab8a96bb18f07ca47d65fba tree d14478b129689dfc985efa3026bebfef2b4401b3 parent 258f4885e3b7b3ed06a35c02a94c8c62a4ac4739 author Rob Landley Sat, 25 Mar 2006 03:07:58 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:58 -0800 [PATCH] Ext2 flags shouldn't report "nogrpid" If I mount ext2 "rw", I want it to say "rw", not "rw,nogrpid". I caught this writing an automated regression test script for the busybox mount command. The symptom is /dev/loop0 on /images/ext2.dir type ext2 (rw,nogrpid) instead of: /dev/loop0 on /images/ext2.dir type ext2 (rw) The behavior was introduced by git commit 8fc2751beb0941966d3a97b26544e8585e428c08. Signed-off-by: Rob Landley Cc: Mark Bellon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 258f4885e3b7b3ed06a35c02a94c8c62a4ac4739 tree 81e701e497f58ee997d1fe50385597e7364ec736 parent 7e53cac41da9ebb9be774220c1b2615182667c9d author Johannes Stezenbach Sat, 25 Mar 2006 03:07:57 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:58 -0800 [PATCH] MAINTAINERS: remove dead URL http://mpeg.openprojects.net/ doesn't exist Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e53cac41da9ebb9be774220c1b2615182667c9d tree e7da5e8189ed1949d091d28e132736542352b739 parent 341546f5ad6fce584531f744853a5807a140f2a9 author NeilBrown Sat, 25 Mar 2006 03:07:57 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:58 -0800 [PATCH] Honour AOP_TRUNCATE_PAGE returns in page_symlink As prepare_write, commit_write and readpage are allowed to return AOP_TRUNCATE_PAGE, page_symlink should respond to them. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 341546f5ad6fce584531f744853a5807a140f2a9 tree d9ffbb75bfc0b3c4f50f571279e4d16a654c505c parent d5ee4ea8334368b7d284a7d82855f6f16ba599b4 author NeilBrown Sat, 25 Mar 2006 03:07:56 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] Update some VFS documentation Flesh out the description of the address_space operations. Signed-off-by: Neil Brown Cc: Avishay Traeger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5ee4ea8334368b7d284a7d82855f6f16ba599b4 tree 054713f586c18b8a9661f7515dd598e63860d6a5 parent 66777b795ca49f0e8708f1953022449e7e2acb48 author Benoit Boissinot Sat, 25 Mar 2006 03:07:54 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] indirect_print_item() warning fix fs/reiserfs/item_ops.c: In function 'indirect_print_item': fs/reiserfs/item_ops.c:278: warning: 'num' may be used uninitialized in this function (akpm: this is probably just gcc being dumb) Signed-off-by: Benoit Boissinot Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66777b795ca49f0e8708f1953022449e7e2acb48 tree 19a97220cc26b0de8a488d257b283e8309372ae3 parent 6a5315b0e7fbc028f6e6443cf7fb67b5881e7fa3 author Dave Jones Sat, 25 Mar 2006 03:07:53 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] remove dead address from maintainers list. Mailing this address gives.. Sorry your message to max_mk@yahoo.com cannot be delivered. This account has been disabled or discontinued [#102]. mta129.mail.re4.yahoo.com) Signed-off-by: Dave Jones Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a5315b0e7fbc028f6e6443cf7fb67b5881e7fa3 tree 97b1e8871d60f53a4ebc062bf593a528f4fbf18a parent 5c98d29ae4d8cb0e2ce78b82b2c1957bcfd7dbd3 author Jamie Lokier Sat, 25 Mar 2006 03:07:53 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] Remova long-incorrect address for Jamie Lokier Nice place isn't it? I've lived in 7 other houses since then. Signed-off-by: Jamie Lokier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c98d29ae4d8cb0e2ce78b82b2c1957bcfd7dbd3 tree 5078072f74de463766442a01db874b80b0ea1600 parent 7e3176555003a45318010d9820eb5ad1abb596bf author Adrian Bunk Sat, 25 Mar 2006 03:07:52 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] drivers/char/ipmi/ipmi_msghandler.c: fix a memory leak The Coverity checker found this memory leak. Signed-off-by: Adrian Bunk Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e3176555003a45318010d9820eb5ad1abb596bf tree 7553a8e0c69ee9db1234b3523e153f3b2d655361 parent 3cdc409c169c9f2155151eea82cb9868e4d62788 author Adrian Bunk Sat, 25 Mar 2006 03:07:51 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] md/bitmap.c:bitmap_mask_state(): fix inconsequent NULL checking We dereference bitmap both one line above and one line below this check rendering this check quite useless. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk Cc: Alasdair G Kergon Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cdc409c169c9f2155151eea82cb9868e4d62788 tree fa617074b227809333bc6443957c5e01d0c4a82d parent 340e48e662dc9bf79cdd9dc755cb2eb2bad580cd author Adrian Bunk Sat, 25 Mar 2006 03:07:50 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] reiserfs/xattr_acl.c:reiserfs_get_acl(): make size an int The Coverity checker wasn't happy seeing a size_t compared with -ENODATA and -ENOSYS. Since the only place where size is set is through the result of reiserfs_xattr_get() which is an int, we could simply make size an int. Signed-off-by: Adrian Bunk Cc: Jeff Mahoney Cc: Chris Mason Cc: Hans Reiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 340e48e662dc9bf79cdd9dc755cb2eb2bad580cd tree dcd67a41171101d47cf9afa77f642fc2b3efe172 parent 05eeae208d08a05a6980cf2ff61f02843c0955fd author Zdenek Pavlas Sat, 25 Mar 2006 03:07:49 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] BLK_DEV_INITRD: do not require BLK_DEV_RAM=y Initramfs initrd images do not need a ramdisk device, so remove this restriction in Kconfig. BLK_DEV_RAM=n saves about 13k on i386. Also without ramdisk device there's no need for "dry run", so initramfs unpacks much faster. People using cramfs, squashfs, or gzipped ext2/minix initrd images are probably smart enough not to turn off ramdisk support by accident. Cc: Al Viro Cc: Christoph Hellwig Cc: "H. Peter Anvin" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05eeae208d08a05a6980cf2ff61f02843c0955fd tree be6c6c4e16cfac07edf437a1f74ef027ada8ccc7 parent c1f5a1944657ba6abe375e3bb2a3238a46849f70 author Andrew Morton Sat, 25 Mar 2006 03:07:48 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:57 -0800 [PATCH] find_task_by_pid() needs tasklist_lock A couple of places are forgetting to take it. The kswapd case is probably unimportant. keventd_create_kthread() was racy. The whole thing is a bit flakey: you start a kernel thread, get its pid from kernel_thread() then look up its task_struct. a) It assumes that pid recycling takes a "long" time. b) We get a task_struct but no reference was taken on it. The owner of the kswapd and kthread task_struct*'s must assume that the new thread won't exit unexpectedly. Because if it does, they're left holding dead memory and any attempt to control or stop that task will crash. Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1f5a1944657ba6abe375e3bb2a3238a46849f70 tree 64f29ea3474ee2cc89e7212771f2509ba7ea3693 parent f1a136e0d098a4478236a1c24f9a57db5abf0755 author Kirk True Sat, 25 Mar 2006 03:07:47 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] ext3: Fix debug logging-only compilation error When EXT3FS_DEBUG is #define-d, the compile breaks due to #include file issues. Signed-off-by: Kirk True Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1a136e0d098a4478236a1c24f9a57db5abf0755 tree d65627ea5c9b4124cc456048da0d3ab5fb2dd5dd parent 2ab13460852e65c2ec0e77000baba5e859a6a2cf author Jesper Juhl Sat, 25 Mar 2006 03:07:46 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] kallsyms: handle malloc() failure This fixes coverity bugs #398 and #397 Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ab13460852e65c2ec0e77000baba5e859a6a2cf tree 566f37cc9f4cb593c3f85a7eb4ae46b308b8a6dd parent 4ffc84442572669727dc4fcd976582508eaf23e7 author Kirill Korotaev Sat, 25 Mar 2006 03:07:45 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] Reduce sched latency in shrink_dcache_sb() This patch reduces scheduling latency in shrink_dcache_sb() noticed during remounting of big partitions with many cached dentries. The same latency fix was applied to select_parent() long ago. Signed-off-by: Denis Lunev Signed-off-by: Pavel Emelianov Signed-off-by: Kirill Korotaev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ffc84442572669727dc4fcd976582508eaf23e7 tree ace5723edaefabf517683e44381d19d9fb141ae0 parent d25b9a1ff0741e71a46f37f45263b5ddcbc948c4 author OGAWA Hirofumi Sat, 25 Mar 2006 03:07:44 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] Move cond_resched() after iput() in sync_sb_inodes() In here, I think the following order is more cache-friendly. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d25b9a1ff0741e71a46f37f45263b5ddcbc948c4 tree 7cbf0f402041840b413a43c6da936998981f100d parent 11b8448751ba114416c63899638a8e473ebd21e7 author OGAWA Hirofumi Sat, 25 Mar 2006 03:07:44 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] freeze_bdev() cleanup freeze_bdev() uses a fsync_super() without sync_blockdev(). This patch makes __fsync_super() and shares it. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 11b8448751ba114416c63899638a8e473ebd21e7 tree 18ae22ae2a30a35729881ea5b05f7dca12c4439c parent d4eb82c783992551c574580eb55fddc8bb006ad0 author Denis Vlasenko Sat, 25 Mar 2006 03:07:42 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] fix messages in fs/minix Believe it or not, but in fs/minix/*, the oldest filesystem in the kernel, something still can be fixed: printk("new_inode: bit already set"); "\n" is missing! While at it, I also removed periods from the end of error messages and made capitalization uniform. Also s/i-node/inode/, s/printk (/printk(/ Signed-ff-by: Denis Vlasenko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4eb82c783992551c574580eb55fddc8bb006ad0 tree 912aa24f162342bffae86a0c3e4713700a9e5c66 parent 12b5989be10011387a9da5dee82e5c0d6f9d02e7 author Chris Wright Sat, 25 Mar 2006 03:07:41 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] make cap_ptrace enforce PTRACE_TRACME checks PTRACE_TRACEME doesn't have proper capabilities validation when parent is less privileged than child. Issue pointed out by Ram Gupta . Note: I haven't identified a strong security issue, and it's a small ABI change that could break apps that rely on existing behaviour (which allows parent that is less privileged than child to ptrace when child does PTRACE_TRACEME). Signed-off-by: Chris Wright Cc: Ram Gupta Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12b5989be10011387a9da5dee82e5c0d6f9d02e7 tree 74da71d407bf26bf97c639bb2b473de233a736ac parent 77d47582c2345e071df02afaf9191641009287c4 author Chris Wright Sat, 25 Mar 2006 03:07:41 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] refactor capable() to one implementation, add __capable() helper Move capable() to kernel/capability.c and eliminate duplicate implementations. Add __capable() function which can be used to check for capabiilty of any process. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77d47582c2345e071df02afaf9191641009287c4 tree b166b485024deed48add518bc60bf54e5f08a592 parent f348d70a324e15afc701a494f32ec468abb7d1eb author Adrian Bunk Sat, 25 Mar 2006 03:07:39 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] add a proper prototype for setup_arch() This patch adds a proper prototype for setup_arch() in init.h. This patch is based on a patch by Ben Dooks . Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f348d70a324e15afc701a494f32ec468abb7d1eb tree a4cb43429f7f08a6621c581bd99e4a03198e8c67 parent 501f2499b897ca4be68b1acc7a4bc8cf66f5fd24 author Davide Libenzi Sat, 25 Mar 2006 03:07:39 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:56 -0800 [PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications Implement the half-closed devices notifiation, by adding a new POLLRDHUP (and its alias EPOLLRDHUP) bit to the existing poll/select sets. Since the existing POLLHUP handling, that does not report correctly half-closed devices, was feared to be changed, this implementation leaves the current POLLHUP reporting unchanged and simply add a new bit that is set in the few places where it makes sense. The same thing was discussed and conceptually agreed quite some time ago: http://lkml.org/lkml/2003/7/12/116 Since this new event bit is added to the existing Linux poll infrastruture, even the existing poll/select system calls will be able to use it. As far as the existing POLLHUP handling, the patch leaves it as is. The pollrdhup-2.6.16.rc5-0.10.diff defines the POLLRDHUP for all the existing archs and sets the bit in the six relevant files. The other attached diff is the simple change required to sys/epoll.h to add the EPOLLRDHUP definition. There is "a stupid program" to test POLLRDHUP delivery here: http://www.xmailserver.org/pollrdhup-test.c It tests poll(2), but since the delivery is same epoll(2) will work equally. Signed-off-by: Davide Libenzi Cc: "David S. Miller" Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 501f2499b897ca4be68b1acc7a4bc8cf66f5fd24 tree 279014a8fd8ce1ca43f036e416063e6a795e5889 parent c777ac5594f772ac760e02c3ac71d067616b579d author Bryan Holty Sat, 25 Mar 2006 03:07:37 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] IRQ: prevent enabling of previously disabled interrupt This fix prevents re-disabling and enabling of a previously disabled interrupt. On an SMP system with irq balancing enabled; If an interrupt is disabled from within its own interrupt context with disable_irq_nosync and is also earmarked for processor migration, the interrupt is blindly moved to the other processor and enabled without regard for its current "enabled" state. If there is an interrupt pending, it will unexpectedly invoke the irq handler on the new irq owning processor (even though the irq was previously disabled) The more intuitive fix would be to invoke disable_irq_nosync and enable_irq, but since we already have the desc->lock from __do_IRQ, we cannot call them directly. Instead we can use the same logic to disable and enable found in disable_irq_nosync and enable_irq, with regards to the desc->depth. This now prevents a disabled interrupt from being re-disabled, and more importantly prevents a disabled interrupt from being incorrectly enabled on a different processor. Signed-off-by: Bryan Holty Cc: Andi Kleen Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c777ac5594f772ac760e02c3ac71d067616b579d tree 3a186fd7c1b63a89bc6c6749b2b234821ee8fdc4 parent 4cae59d2e85c1ee2ab1ee284db1945c5394cd965 author Andrew Morton Sat, 25 Mar 2006 03:07:36 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] irq: uninline migration functions Uninline some massive IRQ migration functions. Put them in the new kernel/irq/migration.c. Cc: Andi Kleen Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4cae59d2e85c1ee2ab1ee284db1945c5394cd965 tree 78e52d27c32d27e6feb8bc39c5774c166f361182 parent 276ad0c109e69a32b634f0550d096f9381135b7d author Andrew Morton Sat, 25 Mar 2006 03:07:35 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] ads7846 build fix sparc32: drivers/input/touchscreen/ads7846.c: In function `ads7846_read12_ser': drivers/input/touchscreen/ads7846.c:206: warning: implicit declaration of function `disable_irq' drivers/input/touchscreen/ads7846.c:208: warning: implicit declaration of function `enable_irq' Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 276ad0c109e69a32b634f0550d096f9381135b7d tree d64a22accf781d9de98401954271de851a6be0b8 parent 44575b2f0873c30ba6010e58048b317474f2bbd0 author Andrew Morton Sat, 25 Mar 2006 03:07:35 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] tpm: sparc32 build fix In file included from drivers/char/tpm/tpm_nsc.c:23: drivers/char/tpm/tpm.h: In function `tpm_read_index': drivers/char/tpm/tpm.h:92: warning: implicit declaration of function `outb' drivers/char/tpm/tpm.h:93: warning: implicit declaration of function `inb' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44575b2f0873c30ba6010e58048b317474f2bbd0 tree 501971efaceb5dba199bbee41e9d8cb734416384 parent 36a95bf5cd2c33280282da18eff0180a99cff201 author Pavel Machek Sat, 25 Mar 2006 03:07:34 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] collie: fix missing pcmcia bits This adds missing bits of collie (sharp sl-5500) PCMCIA support and MFD support. Signed-off-by: Pavel Machek Acked-by: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36a95bf5cd2c33280282da18eff0180a99cff201 tree 1fa365a57f0744218ecf53f162771872c056f70c parent bd34596239bfff615db7be7812d84c4ff6093f63 author Pavel Machek Sat, 25 Mar 2006 03:07:33 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] fix hardcoded values in collie frontlight In frontlight support, we should really use values from flash-ROM instead of hardcoding our own. Cleanup includes. Signed-off-by: Pavel Machek Acked-by: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd34596239bfff615db7be7812d84c4ff6093f63 tree c268353023882361ac7f85cb6a2864b8f692d119 parent c654d60e8f0ea13e35b15cff54c0e473b8b162be author Adrian Bunk Sat, 25 Mar 2006 03:07:32 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] remove MAINTAINERS entry for rtlinux It's already big enough and there's no reason to list maintainers of external patches. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c654d60e8f0ea13e35b15cff54c0e473b8b162be tree 5c496d488666225909ab1eb7e116827cd013ae60 parent 58bf6a2db2a4a1b41712674d9165510180259dec author Jan Beulich Sat, 25 Mar 2006 03:07:31 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] adjust /dev/{kmem,mem,port} write handlers The /dev/mem and /dev/kmem write handlers weren't fully POSIX compliant in that they wouldn't always force the file pointer to be updated when returning success status. The /dev/port write handler was inconsistent with the /dev/mem and /dev/kmem handlers in that when encountering a -EFAULT condition after already having written a number of items it would return -EFAULT rather than the number of bytes written. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 58bf6a2db2a4a1b41712674d9165510180259dec tree 0d9b02b152c5ddb4db6c0ae35f2c996c251eb451 parent ed1f559b9b9896ad40fe9606e0946efa590d7648 author Kirk True Sat, 25 Mar 2006 03:07:30 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:55 -0800 [PATCH] smbfs: Fix debug logging-only compilation error When SMBFS_DEBUG_VERBOSE is #define-d, the compile breaks: fs/smbfs/inode.c:217: error: aggregate value used where an integer was expected This is a simple matter of using the .tv_sec attribute of struct time_spec. Signed-off-by: Kirk True Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed1f559b9b9896ad40fe9606e0946efa590d7648 tree c2aa002f56e60246d9e398492ee480149d8b9f60 parent 67543e508d74ad1a8e80290580c9d1440beba4d9 author Eric Van Hensbergen Sat, 25 Mar 2006 03:07:30 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] 9p: update documentation Fix documentation to match current implementation. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67543e508d74ad1a8e80290580c9d1440beba4d9 tree f631dcbb0ea52075bad316b4c8b55ca6f78c7a71 parent 42e8c509cfa3d92b3dcbfe95edf6be00e5d4b0eb author Eric Van Hensbergen Sat, 25 Mar 2006 03:07:29 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] 9p: fix name consistency problems There were a number of conflicting naming schemes used in the v9fs project. The directory was fs/9p, but MAINTAINERS and Documentation referred to v9fs. The module name itself was 9p2000, and the file system type was 9P. This patch attempts to clean that up, changing all references to 9p in order to match the directory name. We'll also start using 9p instead of v9fs as our patch prefix. There is also a minor consistency cleanup in the options changing the name option to uname in order to more closely match the Plan 9 options. Signed-off-by: Eric Van Hensbergevan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42e8c509cfa3d92b3dcbfe95edf6be00e5d4b0eb tree 40ee89ca8e9ad5c64ccc8c0a1228f74e0ecbe1ff parent c0291a05f8e6a72c9807b0e2a369ee82bec659c3 author Eric Van Hensbergen Sat, 25 Mar 2006 03:07:28 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] v9fs: update license boilerplate Update license boilerplate to specify GPLv2 and remove the (at your option clause). This change was agreed to by all the copyright holders (approvals can be found on v9fs-developer mailing list). Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0291a05f8e6a72c9807b0e2a369ee82bec659c3 tree dd93c9a70965005bd72be09797d064b1738656dc parent 16cce6d27ef52e00cc124196046bbae7150024c1 author Eugene Teo Sat, 25 Mar 2006 03:07:27 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] v9fs: fix vfs_inode dereference before NULL check __getname, which in turn will call kmem_cache_alloc, may return NULL. Coverity bug #977 Signed-off-by: Eugene Teo Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16cce6d27ef52e00cc124196046bbae7150024c1 tree d4494a6a5146fa7314138f674c2928e31c26bcc0 parent 5174fdab9f58181249debab6e959ae4fd4abd0ed author Latchesar Ionkov Sat, 25 Mar 2006 03:07:26 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] v9fs: add extension field to Tcreate Implement a new way of creating special files. Instead of Tcreate+Twstat, add one more field to Tcreate that contains special file description. Signed-off-by: Latchesar Ionkov Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5174fdab9f58181249debab6e959ae4fd4abd0ed tree d5922acd425ffd35421dfe5ba17c5fb801888483 parent 4a26c2429b8c1ab2be140a4b29aaf16d4dcd8f92 author Latchesar Ionkov Sat, 25 Mar 2006 03:07:25 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] v9fs: print 9p messages Print 9p messages. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a26c2429b8c1ab2be140a4b29aaf16d4dcd8f92 tree 6233fc9cf2cf0889e839e318bf30d742c5861783 parent 27979bb2ff748613dba96ae66392a76fb0678527 author Russ Cox Sat, 25 Mar 2006 03:07:24 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] v9fs: rename tids to tags to be consistent with Plan 9 documentation The code talks about these things called tids, which I eventually figured out are tags. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27979bb2ff748613dba96ae66392a76fb0678527 tree 9f98e2b3c0efdc9db23eee70ce2f6831e9eb65bd parent 4a2f0acf0f951599fd9e4af95cf9483449970c26 author Russ Cox Sat, 25 Mar 2006 03:07:23 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] v9fs: consolidate trans_sock into trans_fd Here is a new trans_fd.c that replaces the current trans_fd.c and trans_sock.c. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a2f0acf0f951599fd9e4af95cf9483449970c26 tree 55e94035f8cc2dbe178f45c73ed9b73e09a3e540 parent 33d8675ea66e79d21da3ed64ce88dfb2a18bc6a7 author Andrew Morton Sat, 25 Mar 2006 03:07:22 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:54 -0800 [PATCH] kconfig: clarify memory debug options The Kconfig text for CONFIG_DEBUG_SLAB and CONFIG_DEBUG_PAGEALLOC have always seemed a bit confusing. Change them to: CONFIG_DEBUG_SLAB: "Debug slab memory allocations" CONFIG_DEBUG_PAGEALLOC: "Debug page memory allocations" Cc: "David S. Miller" Cc: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33d8675ea66e79d21da3ed64ce88dfb2a18bc6a7 tree 7283a680e122e4d15f50e818bab188b84fc852a9 parent c2f6fabb2ed3b869bc254c6cdc73d6beaaaf700f author Bjorn Helgaas Sat, 25 Mar 2006 03:07:20 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] amiga: fix driver_register() return handling, remove zorro_module_init() Remove the assumption that driver_register() returns the number of devices bound to the driver. In fact, it returns zero for success or a negative error value. zorro_module_init() used the device count to automatically unregister and unload drivers that found no devices. That might have worked at one time, but has been broken for some time because zorro_register_driver() returned either a negative error or a positive count (never zero). So it could only unregister on failure, when it's not needed anyway. This functionality could be resurrected in individual drivers by counting devices in their .probe() methods. Signed-off-by: Bjorn Helgaas Cc: Geert Uytterhoeven Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2f6fabb2ed3b869bc254c6cdc73d6beaaaf700f tree 8744d970a801a64ac3cb64f47e735dc3d33c44b9 parent e51c01b08474ea454a965a937fff0407ab6714c7 author Bjorn Helgaas Sat, 25 Mar 2006 03:07:19 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] EISA: tidy-up driver_register() return value Remove the assumption that driver_register() returns the number of devices bound to the driver. In fact, it returns zero for success or a negative error value. Signed-off-by: Bjorn Helgaas Acked-by: Jeff Garzik Acked-by: Marc Zyngier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e51c01b08474ea454a965a937fff0407ab6714c7 tree 403e22aa86b4a24699df7cc1285ab915ec3eda1a parent 5930860296ca438071d3824bf7306ad0dfd33fc1 author Bjorn Helgaas Sat, 25 Mar 2006 03:07:17 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] hp300: fix driver_register() return handling, remove dio_module_init() Remove the assumption that driver_register() returns the number of devices bound to the driver. In fact, it returns zero for success or a negative error value. dio_module_init() used the device count to automatically unregister and unload drivers that found no devices. That might have worked at one time, but has been broken for some time because dio_register_driver() returned either a negative error or a positive count (never zero). So it could only unregister on failure, when it's not needed anyway. This functionality could be resurrected in individual drivers by counting devices in their .probe() methods. Signed-off-by: Bjorn Helgaas Cc: Philip Blundell Cc: Jochen Friedrich Cc: "Antonino A. Daplas" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5930860296ca438071d3824bf7306ad0dfd33fc1 tree e59c986568f005414642cfd5c0a539e851f38d40 parent c1cda48af8b330a23206eceef3bd030b53c979cd author Alexander Zarochentsev Sat, 25 Mar 2006 03:07:16 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] reiserfs: use balance_dirty_pages_ratelimited_nr in reiserfs_file_write() Use the new balance_dirty_pages_ratelimited_nr in reiserfs "largeio" file write. Signed-off-by: Hans Reiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1cda48af8b330a23206eceef3bd030b53c979cd tree e39240fd743e22804d29ab0f38d5a0d5e64457b7 parent cd02b966bfcad12d1b2e265dc8dbc331d4c184c4 author Andrew Morton Sat, 25 Mar 2006 03:07:15 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] initcall failure reporting We presently ignore the return values from initcalls. But that can carry useful debugging information. So print it out if it's non-zero. It turns out the -ENODEV happens quite a lot, due to built-in drivers which have no hardware to drive. So suppress that unless initcall_debug was specified. Also make the warning message more friendly by printing the name of the initcall function. Also drop the KERN_DEBUG from the initcall_debug message. If we specified inticall_debug then we obviously want to see the messages. Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd02b966bfcad12d1b2e265dc8dbc331d4c184c4 tree f89c2c333848bb25966329397bc3856e9b8f649c parent e6a6784627483381d012b507bb0d49809658a1fa author Vladimir V. Saveliev Sat, 25 Mar 2006 03:07:15 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] reiserfs: cleanups Clean up several places where gcc issues warnings when -W is specified. Thanks to Neil for finding that. Signed-off-by: Vladimir V. Saveliev Cc: Neil Brown Signed-off-by: Hans Reiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6a6784627483381d012b507bb0d49809658a1fa tree f963234f9c07940fd02f25ff53c228d9b0a0006d parent 1efa64696bc55cc396eefa9838a90d106dfab6bf author Rene Herman Sat, 25 Mar 2006 03:07:13 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] parport: move PP_MAJOR from ppdev.h to major.h Today I wondered about /dev/parport after not seeing anything in drivers/parport register char-major-99. Having PP_MAJOR in include/linux/major.h would've allowed me to more quickly determine that it was the ppdev driver driving these. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1efa64696bc55cc396eefa9838a90d106dfab6bf tree 493b70cd6b38b89598f899a4312edbff7d5d9f02 parent fbd8ad30596409070801832335d3ea8cf1513ded author Sam Ravnborg Sat, 25 Mar 2006 03:07:13 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] block/floppy: fix section mismatch warnings In latest -mm a number of section mismatch warnings are generated for floppy.o like the following: WARNING: drivers/block/floppy.o - Section mismatch: reference to \ .init.data: from .text between 'init_module' (at offset 0x6976) and \ 'cleanup_module' The warning are caused by a reference to floppy_init() which is __init from init_module() which is not declared __init. Declaring init_module() _init fixes this. Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fbd8ad30596409070801832335d3ea8cf1513ded tree 4612b4565fe8de01f28a72d439742c91995fec05 parent c32ccd87bfd1414b0aabfcd8dbc7539ad23bcbaa author Sam Ravnborg Sat, 25 Mar 2006 03:07:11 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] ide: fix section mismatch warning In latest -mm ide-code.o gave a number of warnings like the following: WARNING: drivers/ide/ide-core.o - Section mismatch: reference to \ .init.text: from .text between 'init_module' (at offset 0x1f97) and \ 'cleanup_module' The warning was caused by init_module() calling parse_option() and ide_init() both declared __init. Declaring init_module() __init fixes the warnings. Signed-off-by: Sam Ravnborg Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c32ccd87bfd1414b0aabfcd8dbc7539ad23bcbaa tree 612dc637976cbe36e8b72924a1f7bd76e75463fd parent bf36b9011e3c5b2739f9da2f6de8a6fa3edded32 author Nick Piggin Sat, 25 Mar 2006 03:07:09 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:53 -0800 [PATCH] inotify: lock avoidance with parent watch status in dentry Previous inotify work avoidance is good when inotify is completely unused, but it breaks down if even a single watch is in place anywhere in the system. Robin Holt notices that udev is one such culprit - it slows down a 512-thread application on a 512 CPU system from 6 seconds to 22 minutes. Solve this by adding a flag in the dentry that tells inotify whether or not its parent inode has a watch on it. Event queueing to parent will skip taking locks if this flag is cleared. Setting and clearing of this flag on all child dentries versus event delivery: this is no in terms of race cases, and that was shown to be equivalent to always performing the check. The essential behaviour is that activity occuring _after_ a watch has been added and _before_ it has been removed, will generate events. Signed-off-by: Nick Piggin Cc: Robert Love Cc: John McCutchan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf36b9011e3c5b2739f9da2f6de8a6fa3edded32 tree 94bba12c78c6bc6a36dbb38faf3a6903a64e2e8a parent 21e4f9526989009282fe26280560ff3fbc21c9e0 author Andrew Morton Sat, 25 Mar 2006 03:07:08 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:52 -0800 [PATCH] sysrq cleanup sysrq.c is fairly revolting. Fix. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21e4f9526989009282fe26280560ff3fbc21c9e0 tree c47996deedb93331a3ad90cad8d96d9a50dc22f4 parent 2c3ca07d2f691a463b715c83122c87f57c2a7b7c author Jesper Juhl Sat, 25 Mar 2006 03:07:08 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:52 -0800 [PATCH] fix 'defined but not used' warning in net/rxrpc/main.c::rxrpc_initialise net/rxrpc/main.c: In function `rxrpc_initialise': net/rxrpc/main.c:83: warning: label `error_proc' defined but not used Signed-off-by: Jesper Juhl Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c3ca07d2f691a463b715c83122c87f57c2a7b7c tree 4aa00f81b79c6a5cb33631836d020ca32d787e20 parent 9871728b756646e0d758a966ba00f2c0ff812817 author Andrey Borzenkov Sat, 25 Mar 2006 03:07:07 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:52 -0800 [PATCH] Fix EDD to properly ignore signature of non-existing drives Some BIOSes do not always set CF on error before return from int13. The patch adds additional check for status being zero (AH == 0). Signed-off-by: Andrey Borzenkov Cc: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9871728b756646e0d758a966ba00f2c0ff812817 tree 32899f2bc1e72d6ba51665b59350e9729e7f5287 parent 8d3b33f67fdc0fb364a1ef6d8fbbea7c2e4e6c98 author Adrian Bunk Sat, 25 Mar 2006 03:07:06 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:52 -0800 [PATCH] kernel/params.c: make param_array() static param_array() in kernel/params.c can now become static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d3b33f67fdc0fb364a1ef6d8fbbea7c2e4e6c98 tree 7fc48e7544ea6a6c6a7cc7685612a38f5edc25ae parent c721bccece2b3abca4f7b0b95108e68b78445cec author Rusty Russell Sat, 25 Mar 2006 03:07:05 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:52 -0800 [PATCH] Remove MODULE_PARM MODULE_PARM was actually breaking: recent gcc version optimize them out as unused. It's time to replace the last users, which are generally in the most unloved drivers anyway. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c721bccece2b3abca4f7b0b95108e68b78445cec tree f8775f626554bd23c8224ee496a2d94191f9a7e5 parent 5b7b18ccdeb17dcc4a2ddbf4ce87094c7365f4b9 author Andrew Morton Sat, 25 Mar 2006 03:07:04 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:52 -0800 [PATCH] hysdn: remove custom types hysdn defines its own types: ulong, uint, uchar and word. Problem is, the module_param macros rely upon some of those identifiers having special meanings too. The net effect is that module_param() and friends cannot be used in ISDN because of this namespace clash. So remove the hysdn-private defines and open-code them all. Cc: Karsten Keil Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b7b18ccdeb17dcc4a2ddbf4ce87094c7365f4b9 tree cf60c476ba42f3e8aad609d0248b61074f5d65be parent 1aef821a6b3aeca8c19d06aee012ed9db617d1e3 author Adrian Bunk Sat, 25 Mar 2006 03:07:04 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:52 -0800 [PATCH] drivers/block/nbd.c: don't defer compile error to runtime If we can detect a problem at compile time, the compilation should fail. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1aef821a6b3aeca8c19d06aee012ed9db617d1e3 tree 27d43667834944a385d6f6f2280f6c6604f7af56 parent c41a24ce1fe13638732885859011321af862960a author Thomas Koeller Sat, 25 Mar 2006 03:07:03 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:52 -0800 [PATCH] constify tty flip buffer handling Add a couple of 'const' qualifiers to the TTY flip buffer APIs, where appropriate. Signed-off-by: Thomas Koeller Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c41a24ce1fe13638732885859011321af862960a tree 6fdf30f1fd5e2c92a10e2eab6c6db485aba340a0 parent 9a56c213929d83139fd1e12727e1037d71b519f8 author Jesper Juhl Sat, 25 Mar 2006 03:07:02 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] ISDN: fix copy_to_user() unused result warning in isdn_ppp drivers/isdn/i4l/isdn_ppp.c:785: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result Signed-off-by: Jesper Juhl Signed-off-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a56c213929d83139fd1e12727e1037d71b519f8 tree 013dd77c7cae23bd8fb821175a0d6fdc35bad9fe parent b500531e6f5f234ed267bd7060ee06d144faf0ca author Oleg Drokin Sat, 25 Mar 2006 03:07:02 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] Add lookup_instantiate_filp usage warning I think it would be nice to put an usage warning in header of lookup_instantiate_filp() to indicate it is unsafe to use it on anything but regular files (even that is potentially unsafe, but there your ->open() is usually in your hands anyway), so that others won't fall into the same trap I did. Signed-off-by: Oleg Drokin Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b500531e6f5f234ed267bd7060ee06d144faf0ca tree 6d7c311c917dc9ee7d4cd57ef4a6519ea46a0c11 parent 619d5d8a2b3f800ea3a0301a58ede570684956b0 author Oleg Drokin Sat, 25 Mar 2006 03:07:01 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] Introduce FMODE_EXEC file flag Introduce FMODE_EXEC file flag, to indicate that file is being opened for execution. This is useful for distributed filesystems to maintain consistent behavior for returning ETXTBUSY when opening for write and execution happens on different nodes. akpm: Needed by Lustre at present. I assume their objective to to work towards being able to install Lustre on an unmodified distro kernel, which seems sane. It should have zero runtime cost. Trond and Chuck indicate that NFS4 can probably use this too, for the same thing. Steven says it's also on the GFS todo list. Signed-off-by: Oleg Drokin Cc: Trond Myklebust Cc: Chuck Lever Cc: Steven Whitehouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 619d5d8a2b3f800ea3a0301a58ede570684956b0 tree 8c256c7d50534a5da1b991fb53184c1b10bdc538 parent a44c94a7b82a425b73384c104d5cb3dd3caa075e author Jeff Mahoney Sat, 25 Mar 2006 03:07:00 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] reiserfs: reiserfs_file_write() will lose error code when a 0-length write occurs w/ O_SYNC When an error occurs in reiserfs_file_write before any data is written, and O_SYNC is set, the return code of generic_osync_write will overwrite the error code, losing it. This patch ensures that generic_osync_inode() doesn't run under an error condition, losing the error. This duplicates the logic from generic_file_buffered_write(). Signed-off-by: Jeff Mahoney Cc: Chris Mason Cc: Jeff Mahoney Cc: Alexander Zarochentsev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a44c94a7b82a425b73384c104d5cb3dd3caa075e tree da86b5245bea89942f2639fec2d6f7378a117836 parent 23f9e0f891c9b159a199629d4426f6ae0c383508 author Alexander Zarochentsev Sat, 25 Mar 2006 03:06:59 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] reiserfs: handle trans_id overflow Reiserfs does not handle transaction ID overflow correctly. Transaction ID == 0 causes reiserfs to crash. The patch fixes all places where the transaction ID is incremented. Signed-off-by: Alexander Zarochentsev Signed-off-by: Hans Reiser Cc: Chris Mason Cc: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23f9e0f891c9b159a199629d4426f6ae0c383508 tree bc34ab7abe6de4d7b3a7741c1ab5d97ddc29f133 parent bdfc326614b90e7bc47ee4a8fed05988555f0169 author Alexander Zarochentzev Sat, 25 Mar 2006 03:06:57 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] reiserfs: fix transaction overflowing This patch fixes a bug in reiserfs truncate. A transaction might overflow when truncating long highly fragmented file. The fix is to split truncation into several transactions to avoid overflowing. Signed-off-by: Vladimir V. Saveliev Cc; Charles McColgan Cc: Alexander Zarochentsev Cc: Hans Reiser Cc: Chris Mason Cc: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdfc326614b90e7bc47ee4a8fed05988555f0169 tree d23575e690979c29c07a4c749e49150fe9aadf65 parent ca5734db60630f7c5564a61a5b9034c1bb369c3d author Adrian Bunk Sat, 25 Mar 2006 03:06:56 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] fs/inode.c: make iprune_mutex static There's no reason for iprune_mutex being global. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca5734db60630f7c5564a61a5b9034c1bb369c3d tree 7adf89d902aa102ba441eab4481e82750eb33503 parent 4af4c52f34606bdaab6930a845550c6fb02078a4 author Jan Kara Sat, 25 Mar 2006 03:06:55 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] Small cleanup in quota.h Remove unused quota flag. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4af4c52f34606bdaab6930a845550c6fb02078a4 tree a61f9a164fea1819c3bfb970dbffa5d778935965 parent 8d8c85117fbcbaea7718870ad4b1ddd12940d9b0 author Oleg Drokin Sat, 25 Mar 2006 03:06:54 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:51 -0800 [PATCH] Missed error checking for intent's filp in open_namei(). It seems there is error check missing in open_namei for errors returned through intent.open.file (from lookup_instantiate_filp). If there is plain open performed, then such a check done inside __path_lookup_intent_open called from path_lookup_open(), but when the open is performed with O_CREAT flag set, then __path_lookup_intent_open is only called with LOOKUP_PARENT set where no file opening can occur yet. Later on lookup_hash is called where exact opening might take place and intent.open.file may be filled. If it is filled with error value of some sort, then we get kernel attempting to dereference this error value as address (and corresponding oops) in nameidata_to_filp() called from filp_open(). While this is relatively simple to workaround in ->lookup() method by just checking lookup_instantiate_filp() return value and returning error as needed, this is not so easy in ->d_revalidate(), where we can only return "yes, dentry is valid" or "no, dentry is invalid, perform full lookup again", and just returning 0 on error would cause extra lookup (with potential extra costly RPCs). So in short, I believe that there should be no difference in error handling for opening a file and creating a file in open_namei() and propose this simple patch as a solution. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d8c85117fbcbaea7718870ad4b1ddd12940d9b0 tree 3e4c56b29a11ccad95a24679ecf41d341ffb844f parent e3df18983ea090a2e00dd5c2c6167bb431a0e0a2 author Andrew Morton Sat, 25 Mar 2006 03:06:53 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] jbd: convert kjournald to kthread API Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e3df18983ea090a2e00dd5c2c6167bb431a0e0a2 tree 99f7944da7c8c85eed6738c1ef9f357f7dcae928 parent 1d9b7d97d6661edb44ce08f17e47c66d4ac20e34 author Andrew Morton Sat, 25 Mar 2006 03:06:53 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] jbd: embed j_commit_timer in journal struct The kjournald timer is currently on the kernel thread's stack and the journal structure points at it. Save a pointer hop by moving the timer into the journal structure. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d9b7d97d6661edb44ce08f17e47c66d4ac20e34 tree aacf3d99c547d94e4fb1bbeb2a4eb887301c2319 parent 3dccff8dc00994428777f483922058c554db85bd author David Howells Sat, 25 Mar 2006 03:06:52 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] Keys: Replace duplicate non-updateable keys rather than failing Cause an attempt to add a duplicate non-updateable key (such as a keyring) to a keyring to discard the extant copy in favour of the new one rather than failing with EEXIST: # do the test in an empty session keyctl session # create a new keyring called "a" and attach to session keyctl newring a @s # create another new keyring called "a" and attach to session, # displacing the keyring added by the second command: keyctl newring a @s Without this patch, the third command will fail. For updateable keys (such as those of "user" type), the update method will still be called rather than a new key being created. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dccff8dc00994428777f483922058c554db85bd tree 14c72fa82afa4e325c4aaa3f84c31ab154f60b1d parent a7d06ca7b626c9257bee4439d9d80a7e44ae237e author David Howells Sat, 25 Mar 2006 03:06:51 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] Keys: Fix key quota management on key allocation Make key quota detection generate an error if either quota is exceeded rather than only if both quotas are exceeded. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7d06ca7b626c9257bee4439d9d80a7e44ae237e tree 1951ab3f604771885987b46d8858711a4d3ddf88 parent d3f4aaa3d7b4152dac28751ee902f769d03289a1 author Chen, Kenneth W Sat, 25 Mar 2006 03:06:50 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] x86: HUGETLBFS and DEBUG_PAGEALLOC are incompatible DEBUG_PAGEALLOC is not compatible with hugetlb page support. That debug option turns off PSE. Once it is turned off in CR4, the cpu will ignore pse bit in the pmd and causing infinite page-not- present faults. So disable DEBUG_PAGEALLOC if the user selected hugetlbfs. Signed-off-by: Ken Chen Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3f4aaa3d7b4152dac28751ee902f769d03289a1 tree 66c5313a705a5169b2c5cc12b703489c39b8ee52 parent f5335c0f1bcba16907972b66b905f62402433e23 author Ashok Raj Sat, 25 Mar 2006 03:06:50 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] x86: make CONFIG_HOTPLUG_CPU depend on !X86_PC Make CONFIG_HOTPLUG_CPU depend on !X86_PC, so we need to turn on either CONFIG_GENERICARCH, CONFIG_BIGSMP or any other subarch except X86_PC when CONFIG_HOTPLUG_CPU=y With 2.6.15+ kernels when CONFIG_HOTPLUG_CPU is turned on we switch to bigsmp mode for sending IPI's and ioapic configurations that caused the following error message. >> More than 8 CPUs detected and CONFIG_X86_PC cannot handle it. >> Use CONFIG_X86_GENERICARCH or CONFIG_X86_BIGSMP. Originally bigsmp was added just to handle >8 cpus, but now with hotplug cpu support we need to use bigsmp mode (why? see below), that cause the above error message even if there were less than 8 cpus in the system. The message is bogus, but we are cannot use logical flat mode due to issues with broadcast IPI can confuse a CPU just comming up. We use flat physical mode just like x86_64 case. More details on why bigsmp now uses flat physical mode (vs. cluster mode) in following link. http://marc.theaimsgroup.com/?l=linux-kernel&m=113261865814107&w=2 Signed-off-by: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5335c0f1bcba16907972b66b905f62402433e23 tree 9db1cf38a34b3dc9559e785d910e95d7002c91e2 parent d784124cfe9377c1a24d8efba31401f81c7c11f9 author Anton Blanchard Sat, 25 Mar 2006 03:06:49 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] quieten zone_pcp_init In zone_pcp_init we print out all zones even if they are empty: On node 0 totalpages: 245760 DMA zone: 245760 pages, LIFO batch:31 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 0 pages, LIFO batch:0 HighMem zone: 0 pages, LIFO batch:0 To conserve dmesg space why not print only the non zero zones. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d784124cfe9377c1a24d8efba31401f81c7c11f9 tree d4d46868e79dcab59fc589b11d4f0207b41f63b0 parent 0718dc2a82c865ca75975acabaf984057f9fd488 author Christoph Lameter Sat, 25 Mar 2006 03:06:48 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] mm: make page migration dependent on swap and NUMA The page migration code could function without NUMA but we currently have no users for the non-NUMA case. Signed-off-by: Christoph Lameter Cc: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0718dc2a82c865ca75975acabaf984057f9fd488 tree 0f7e8ed22ea26c79e17712c417593bdce04e7888 parent cafeb02e098ecd58fb0bd797b2c9fbba3edf54f8 author Christoph Lameter Sat, 25 Mar 2006 03:06:47 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] slab: fix memory leak in alloc_kmemlist We have had this memory leak for a while now. The situation is complicated by the use of alloc_kmemlist() as a function to resize various caches by do_tune_cpucache(). What we do here is first of all make sure that we deallocate properly in the loop over all the nodes. If we are just resizing caches then we can simply return with -ENOMEM if an allocation fails. If the cache is new then we need to rollback and remove all earlier allocations. We detect that a cache is new by checking if the link to the global cache chain has been setup. This is a bit hackish .... (also fix up too overlong lines that I added in the last patch...) Signed-off-by: Christoph Lameter Cc: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cafeb02e098ecd58fb0bd797b2c9fbba3edf54f8 tree f4d03a748184e24cb0ff4c9a56ba6b0eaefd78d3 parent e00946fe2351307eb3eda7a3343530f6d2d1af2e author Christoph Lameter Sat, 25 Mar 2006 03:06:46 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:50 -0800 [PATCH] alloc_kmemlist: Some cleanup in preparation for a real memory leak fix Inspired by Jesper Juhl's patch from today 1. Get rid of err We do not set it to anything else but zero. 2. Drop the CONFIG_NUMA stuff. There are definitions for alloc_alien_cache and free_alien_cache() that do the right thing for the non NUMA case. 3. Better naming of variables. 4. Remove redundant cachep->nodelists[node] expressions. Signed-off-by: Christoph Lameter Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e00946fe2351307eb3eda7a3343530f6d2d1af2e tree 1567b4abe0ed56fbd960943da2c52278ea196c02 parent 3ded175a4b7a4548f3358dcf5f3ad65f63cdb4ed author Christoph Lameter Sat, 25 Mar 2006 03:06:45 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] slab: Bypass free lists for __drain_alien_cache() __drain_alien_cache() currently drains objects by freeing them to the (remote) freelists of the original node. However, each node also has a shared list containing objects to be used on any processor of that node. We can avoid a number of remote node accesses by copying the pointers to the free objects directly into the remote shared array. And while we are at it: Skip alien draining if the alien cache spinlock is already taken. Kiran reported that this is a performance benefit. Signed-off-by: Christoph Lameter Cc: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ded175a4b7a4548f3358dcf5f3ad65f63cdb4ed tree c27a3da70d638bcf32f75c28d1da3f1eb18cb617 parent c5e3b83e97be4e09961c0af101644643e5d03d17 author Christoph Lameter Sat, 25 Mar 2006 03:06:44 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] slab: add transfer_objects() function slabr_objects() can be used to transfer objects between various object caches of the slab allocator. It is currently only used during __cache_alloc() to retrieve elements from the shared array. We will be using it soon to transfer elements from the alien caches to the remote shared array. Signed-off-by: Christoph Lameter Cc: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5e3b83e97be4e09961c0af101644643e5d03d17 tree 29863b7ff7452d10f0af51c3ff7ef72235e81c90 parent 40c07ae8daa659b8feb149c84731629386873c16 author Pekka Enberg Sat, 25 Mar 2006 03:06:43 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] mm: use kmem_cache_zalloc Convert mm/ to use the new kmem_cache_zalloc allocator. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40c07ae8daa659b8feb149c84731629386873c16 tree 77d9e7572135de30f184103cc6dd36f9c0f8dfbf parent a8c0f9a41f88da703ade33f9c1626a55c786e8bb author Pekka Enberg Sat, 25 Mar 2006 03:06:43 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] slab: optimize constant-size kzalloc calls As suggested by Eric Dumazet, optimize kzalloc() calls that pass a compile-time constant size. Please note that the patch increases kernel text slightly (~200 bytes for defconfig on x86). Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8c0f9a41f88da703ade33f9c1626a55c786e8bb tree 8c2904597c61b873bfd85eed4ac196dd66e6f125 parent 871751e25d956ad24f129ca972b7851feaa61d53 author Pekka Enberg Sat, 25 Mar 2006 03:06:42 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] slab: introduce kmem_cache_zalloc allocator Introduce a memory-zeroing variant of kmem_cache_alloc. The allocator already exits in XFS and there are potential users for it so this patch makes the allocator available for the general public. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 871751e25d956ad24f129ca972b7851feaa61d53 tree c3213a17481f601339ce0c81a22eebca0946c2c7 parent f52ac8fec8a13e207f675b0c16e0d5f800c1c204 author Al Viro Sat, 25 Mar 2006 03:06:39 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] slab: implement /proc/slab_allocators Implement /proc/slab_allocators. It produces output like: idr_layer_cache: 80 idr_pre_get+0x33/0x4e buffer_head: 2555 alloc_buffer_head+0x20/0x75 mm_struct: 9 mm_alloc+0x1e/0x42 mm_struct: 20 dup_mm+0x36/0x370 vm_area_struct: 384 dup_mm+0x18f/0x370 vm_area_struct: 151 do_mmap_pgoff+0x2e0/0x7c3 vm_area_struct: 1 split_vma+0x5a/0x10e vm_area_struct: 11 do_brk+0x206/0x2e2 vm_area_struct: 2 copy_vma+0xda/0x142 vm_area_struct: 9 setup_arg_pages+0x99/0x214 fs_cache: 8 copy_fs_struct+0x21/0x133 fs_cache: 29 copy_process+0xf38/0x10e3 files_cache: 30 alloc_files+0x1b/0xcf signal_cache: 81 copy_process+0xbaa/0x10e3 sighand_cache: 77 copy_process+0xe65/0x10e3 sighand_cache: 1 de_thread+0x4d/0x5f8 anon_vma: 241 anon_vma_prepare+0xd9/0xf3 size-2048: 1 add_sect_attrs+0x5f/0x145 size-2048: 2 journal_init_revoke+0x99/0x302 size-2048: 2 journal_init_revoke+0x137/0x302 size-2048: 2 journal_init_inode+0xf9/0x1c4 Cc: Manfred Spraul Cc: Alexander Nyberg Cc: Pekka Enberg Cc: Christoph Lameter Cc: Ravikiran Thirumalai Signed-off-by: Al Viro DESC slab-leaks3-locking-fix EDESC From: Andrew Morton Update for slab-remove-cachep-spinlock.patch Cc: Al Viro Cc: Manfred Spraul Cc: Alexander Nyberg Cc: Pekka Enberg Cc: Christoph Lameter Cc: Ravikiran Thirumalai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f52ac8fec8a13e207f675b0c16e0d5f800c1c204 tree 9e9150a6c89aa2460c8f714809494d36a5f72283 parent 214fda1f6e1b8ef2a5292b0372744037fc80d318 author Alessandro Zummo Sat, 25 Mar 2006 03:06:37 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] cirrus ep93xx watchdog driver Add a driver for the on-chip watchdog on the cirrus ep93xx series of ARM CPUs. Signed-off-by: Lennert Buytenhek Cc: Wim Van Sebroeck Cc: Russell King Signed-off-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 214fda1f6e1b8ef2a5292b0372744037fc80d318 tree 4cf0a18632cc663fcd75a1e23e357ec39c0c3b37 parent 7d99b7d634d81bb372e03e4561c80430aa4cfac2 author David Howells Sat, 25 Mar 2006 03:06:36 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] Optimise d_find_alias() The attached patch optimises d_find_alias() to only take the spinlock if there's anything in the the inode's alias list. If there isn't, it returns NULL immediately. With respect to the superblock sharing patch, this should reduce by one the number of times the dcache_lock is taken by nfs_lookup() for ordinary directory lookups. Only in the case where there's already a dentry for particular directory inode (such as might happen when another mountpoint is rooted at that dentry) will the lock then be taken the extra time. Signed-off-by: David Howells Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d99b7d634d81bb372e03e4561c80430aa4cfac2 tree 905654bd7cb4940126606cf212c61079eeca722b parent c08b8a49100715b20e6f7c997e992428b5e06078 author Thomas Gleixner Sat, 25 Mar 2006 03:06:35 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:49 -0800 [PATCH] Validate and sanitze itimer timeval from userspace According to the specification the timevals must be validated and an errorcode -EINVAL returned in case the timevals are not in canonical form. This check was never done in Linux. The pre 2.6.16 code converted invalid timevals silently. Negative timeouts were converted by the timeval_to_jiffies conversion to the maximum timeout. hrtimers and the ktime_t operations expect timevals in canonical form. Otherwise random results might happen on 32 bits machines due to the optimized ktime_add/sub operations. Negative timeouts are treated as already expired. This might break applications which work on pre 2.6.16. To prevent random behaviour and API breakage the timevals are checked and invalid timevals sanitized in a simliar way as the pre 2.6.16 code did. Invalid timevals are reported with a per boot limited number of kernel messages so applications which use this misfeature can be corrected. After a grace period of one year the sanitizing should be replaced by a correct validation check. This is also documented in Documentation/feature-removal-schedule.txt The validation and sanitizing is done inside do_setitimer so all callers (sys_setitimer, compat_sys_setitimer, osf_setitimer) are catched. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c08b8a49100715b20e6f7c997e992428b5e06078 tree 014758fb05908a3d49eeadc77f16dfa7585b12ac parent 185ae6d7a32721e9062030a9f2d24ed714fa45df author Thomas Gleixner Sat, 25 Mar 2006 03:06:33 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:48 -0800 [PATCH] sys_alarm() unsigned signed conversion fixup alarm() calls the kernel with an unsigend int timeout in seconds. The value is stored in the tv_sec field of a struct timeval to setup the itimer. The tv_sec field of struct timeval is of type long, which causes the tv_sec value to be negative on 32 bit machines if seconds > INT_MAX. Before the hrtimer merge (pre 2.6.16) such a negative value was converted to the maximum jiffies timeout by the timeval_to_jiffies conversion. It's not clear whether this was intended or just happened to be done by the timeval_to_jiffies code. hrtimers expect a timeval in canonical form and treat a negative timeout as already expired. This breaks the legitimate usage of alarm() with a timeout value > INT_MAX seconds. For 32 bit machines it is therefor necessary to limit the internal seconds value to avoid API breakage. Instead of doing this in all implementations of sys_alarm the duplicated sys_alarm code is moved into a common function in itimer.c Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 185ae6d7a32721e9062030a9f2d24ed714fa45df tree 0b58171078097f6a4e80c56e138d654a2d68a188 parent bc83455bc8336f57cd74d6e86b0f8fcad187d179 author Andrew Morton Sat, 25 Mar 2006 03:06:32 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:48 -0800 [PATCH] timer irq driven soft watchdog fix I seem to have lost this hunk in yesterday's patch. It brings the coming-online CPU's softlockup timer up to date so we don't get false-positive tripups during CPU hot-add. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc83455bc8336f57cd74d6e86b0f8fcad187d179 tree fe0a425d375ee880179685b2156a8a22e9a222b0 parent b2fd16b4ff2508ac16ae994f4bcd941f97754c00 author Andrey Panin Sat, 25 Mar 2006 03:06:31 -0800 committer Linus Torvalds Sat, 25 Mar 2006 08:22:48 -0800 [PATCH] fix DMI onboard device discovery Attached patch fixes invalid pointer arithmetic in DMI code to make onboard device discovery working again. akpm: bug has been present since dmi_find_device() was added in 2.6.14. Affects ipmi only (I think) - the symptoms weren't described. akpm: changed to use pointer arithmetic rather than open-coded sizeof. Signed-off-by: Andrey Panin Cc: Corey Minyard Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22fe087f0139e2f5cbe004f24f84cb1c08b4711e tree 491908d98fedbe7bc38a12ee7483eb6cacf6d8ed parent 48773e685b118ef56dcf5258ef7388a4bea16137 author Andrew Morton Sat, 25 Mar 2006 09:24:19 -0300 committer Mauro Carvalho Chehab Sat, 25 Mar 2006 09:29:42 -0300 V4L/DVB (3604): V4l printk fix drivers/media/video/v4l2-common.c: In function `v4l_printk_ioctl_arg': drivers/media/video/v4l2-common.c:477: warning: `0' flag used with `%p' printf format Someone went and "improved" my patch ;) Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 48773e685b118ef56dcf5258ef7388a4bea16137 tree 2d3755b848eafaa6dc70b7d3b68a9ffe8f5d458d parent d56410e0a594150c5ca06319da7bc8901c4d455e author Mauro Carvalho Chehab Sat, 25 Mar 2006 09:21:43 -0300 committer Mauro Carvalho Chehab Sat, 25 Mar 2006 09:29:32 -0300 V4L/DVB (3599c): Whitespace cleanups under Documentation/video4linux Signed-off-by: Mauro Carvalho Chehab commit d56410e0a594150c5ca06319da7bc8901c4d455e tree f1462651ac1bcc5cec48219dbb422ac615231423 parent 9f6933be665ce3b049c274c99810ac754edabf19 author Mauro Carvalho Chehab Sat, 25 Mar 2006 09:19:53 -0300 committer Mauro Carvalho Chehab Sat, 25 Mar 2006 09:29:23 -0300 V4L/DVB (3599b): Whitespace cleanups under drivers/media Signed-off-by: Mauro Carvalho Chehab commit 9f6933be665ce3b049c274c99810ac754edabf19 tree 70a670d030c5d5a4175076724e4720a5b967e2bc parent 7fa033b103bc3f5c37f934695473f63adf140dba author Mauro Carvalho Chehab Sat, 25 Mar 2006 09:05:39 -0300 committer Mauro Carvalho Chehab Sat, 25 Mar 2006 09:29:04 -0300 V4L/DVB (3599a): Move drivers/usb/media to drivers/media/video Because of historic reasons, there are two separate directories with V4L stuff. Most drivers are located at driver/media/video. However, some code for USB Webcams were inserted under drivers/usb/media. This makes difficult for module authors to know were things should be. Also, makes Kconfig menu confusing for normal users. This patch moves all V4L content under drivers/usb/media to drivers/media/video, and fixes Kconfig/Makefile entries. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Mauro Carvalho Chehab commit 9e19bb6d7a0959f5028d46e1ab99c50f0d36eda8 tree f6b3044e9bd57053f066f1dc087e1927d0088b43 parent cef2685e0053945ea0f3c02297386b040f486ea7 author Ingo Molnar Sat, 25 Mar 2006 01:41:10 -0800 committer David S. Miller Sat, 25 Mar 2006 01:41:10 -0800 [NETFILTER] x_table.c: sem2mutex Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit cef2685e0053945ea0f3c02297386b040f486ea7 tree 869c11f64c5e2259342c228c80e93cbbbf8e4fc1 parent b8059eadf9f4dc24bd72da71daa832a9a9899fb4 author Ilia Sotnikov Sat, 25 Mar 2006 01:38:55 -0800 committer David S. Miller Sat, 25 Mar 2006 01:38:55 -0800 [IPV4]: Aggregate route entries with different TOS values When we get an ICMP need-to-frag message, the original TOS value in the ICMP payload cannot be used as a key to look up the routes to update. This is because the TOS field may have been modified by routers on the way. Similarly, ip_rt_redirect should also ignore the TOS as the router that gave us the message may have modified the TOS value. The patch achieves this objective by aggregating entries with different TOS values (but are otherwise identical) into the same bucket. This makes it easy to update them at the same time when an ICMP message is received. In future we should use a twin-hashing scheme where teh aggregation occurs at the entry level. That is, the TOS goes back into the hash for normal lookups while ICMP lookups will end up with a node that gives us a list that contains all other route entries that differ only by TOS. Signed-off-by: Ilia Sotnikov Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit b8059eadf9f4dc24bd72da71daa832a9a9899fb4 tree 14ce03cd0b322ba35a600d13930a440aafda6f8d parent 7b4f4b5ebceab67ce440a61081a69f0265e17c2a author David S. Miller Sat, 25 Mar 2006 01:36:56 -0800 committer David S. Miller Sat, 25 Mar 2006 01:36:56 -0800 [TCP]: Mark tcp_*mem[] __read_mostly. Suggested by Stephen Hemminger. Signed-off-by: David S. Miller commit 7b4f4b5ebceab67ce440a61081a69f0265e17c2a tree ac02c685ce23f2440fecbebaa5b55cd47947c03e parent 2babf9daae4a3561f3264638a22ac7d0b14a6f52 author John Heffner Sat, 25 Mar 2006 01:34:07 -0800 committer David S. Miller Sat, 25 Mar 2006 01:34:07 -0800 [TCP]: Set default max buffers from memory pool size This patch sets the maximum TCP buffer sizes (available to automatic buffer tuning, not to setsockopt) based on the TCP memory pool size. The maximum sndbuf and rcvbuf each will be up to 4 MB, but no more than 1/128 of the memory pressure threshold. Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 2babf9daae4a3561f3264638a22ac7d0b14a6f52 tree 1fd884975fe0d8e9cf7e840a9eabf1be7429c130 parent 9f514950bb907e98f280492a091aa1889b97304e author Herbert Xu Sat, 25 Mar 2006 01:25:29 -0800 committer David S. Miller Sat, 25 Mar 2006 01:25:29 -0800 [SCTP]: Fix up sctp_rcv return value I was working on the ipip/xfrm problem and as usual I get side-tracked by other problems. As part of an attempt to change the IPv4 protocol handler calling convention I found that SCTP violated the existing convention. It's returning non-zero values after freeing the skb. This is doubly bad as 1) the skb gets resubmitted; 2) the return value is interpreted as a protocol number. This patch changes those return values to zero. IPv6 doesn't suffer from this problem because it uses a positive return value as an indication for resubmission. So the only effect of this patch there is to increment the IPSTATS_MIB_INDELIVERS counter which IMHO is the right thing to do. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 9f514950bb907e98f280492a091aa1889b97304e tree f25bc8dc9aacf4011588eea2dda80a9137a6becb parent 868d2c1efe9cdd259b67a80d60a7fb2fcecd3d68 author Herbert Xu Sat, 25 Mar 2006 01:24:25 -0800 committer David S. Miller Sat, 25 Mar 2006 01:24:25 -0800 [NET]: Take RTNL when unregistering notifier The netdev notifier call chain is currently unregistered without taking any locks outside the notifier system. Because the notifier system itself does not synchronise unregistration with respect to the calling of the chain, we as its user need to do our own locking. We are supposed to take the RTNL for all calls to netdev notifiers, so taking the RTNL should be sufficient to protect it. The registration path in dev.c already takes the RTNL so it's OK. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit f3dd5c37382472a8b245ad791ed768771594e60c tree 38c9d13de6187f0b67154d7ab643dbaed55280c2 parent 6e5fca53c72c95da92c092411c7ec81e926af632 author Dave Airlie Sat, 25 Mar 2006 18:09:46 +1100 committer Dave Airlie Sat, 25 Mar 2006 18:09:46 +1100 drm: add new radeon PCI ids.. This adds all the r300 and r400 PCI ids from DRM CVS, it also makes these cards only initialise when the new xorg driver is used, as otherwise the DRM can cause lockups. Signed-off-by: Dave Airlie commit 600511e86babe3727264a0883a3a264f6fb6caf5 tree 0fc6b51c6ddfb5d3f759bb88a34d8003386a50d7 parent 298a41ca41b4c933adc7b5a56a0adb0e1df2e556 author Tejun Heo Sat, 25 Mar 2006 11:14:07 +0900 committer Jeff Garzik Fri, 24 Mar 2006 23:08:36 -0500 [PATCH] libata: add FIXME above ata_dev_xfermask() Add FIXME above ata_dev_xfermask noting that the current implementation limits all transfer modes to the fastest of the slowest device on a port which isn't necessary. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 298a41ca41b4c933adc7b5a56a0adb0e1df2e556 tree cb91595ee62afb244bc83b868095ef0c7339947e parent aec5c3c1a929d7d79a420e943285cf3ba26a7c0d author Tejun Heo Sat, 25 Mar 2006 02:58:13 +0900 committer Jeff Garzik Fri, 24 Mar 2006 23:04:29 -0500 [PATCH] libata: cosmetic changes in ata_bus_softreset() ata_bus_softreset() should return AC_ERR_* on failure not arbitrary positive number. While at it, reformat comment above it. Signed-off-by: Tejun Heo Acked-by: Alan Cox Signed-off-by: Jeff Garzik commit 9d1f6b28ee2429a1f94a9f7074ffae7f918d33be tree 4298383f922c056a8d9b03ee0bdc22a37690137e parent 5c48b0e3599ff7559b39093219e8a428776f7932 author Andi Kleen Thu, 23 Mar 2006 21:31:34 +0100 committer Dave Jones Fri, 24 Mar 2006 19:24:56 -0500 [AGPGART] x86_64: Enable VIA AGP driver on x86-64 for VIA P4 chipsets Untested so far [davej: but needed for some newer EM64T systems] Signed-off-by: Andi Kleen Signed-off-by: Dave Jones commit 5c48b0e3599ff7559b39093219e8a428776f7932 tree 5acd4a8d6cbd3b2293424166cec96f9899a4a166 parent 9d1ef8a64e21e57109be45a7345b09cf913e4b0e author Henrik Kretzschmar Thu, 23 Mar 2006 21:29:19 +0100 committer Dave Jones Fri, 24 Mar 2006 19:24:56 -0500 [AGPGART] x86_64: Fix wrong PCI ID for ALI M1695 AGP bridge [description by AK] Made a cut'n'paste error when adding the entry for the ALI M1695 AGP bridge and added a second entry for the 1689 Signed-off-by: Andi Kleen Signed-off-by: Dave Jones commit 7a343d4c46bc59fe617f968e996ce2fd67c5d179 tree bc58caefafd0e1228266a0928f5d70aa5f262cf4 parent 192daa18dd7bfcaeb092a2ef928135745f2e6883 author Leonid Arsh Thu, 23 Mar 2006 19:52:51 +0200 committer Roland Dreier Fri, 24 Mar 2006 15:47:30 -0800 IPoIB: P_Key change event handling This patch causes the network interface to respond to P_Key change events correctly. As a result, you'll see a child interface in the "RUNNING" state (netif_carrier_on()) only when the corresponding P_Key is configured by the SM. When SM removes a P_Key, the "RUNNING" state will be disabled for the corresponding network interface. To implement this, I added IB_EVENT_PKEY_CHANGE event handling. To prevent flushing the device before the device is open by the "delay open" mechanism, I added an additional device flag called IPOIB_FLAG_INITIALIZED. This also prevents the child network interface from trying to join to multicast groups until the PKEY is configured. We used to get error messages like: ib0.f2f2: couldn't attach QP to multicast group ff12:401b:f2f2:0:0:0:ffff:ffff in this case. To fix this, I just check IPOIB_FLAG_OPER_UP flag in ipoib_set_mcast_list(). Signed-off-by: Leonid Arsh Signed-off-by: Roland Dreier commit 192daa18dd7bfcaeb092a2ef928135745f2e6883 tree f6bff7aac7acd0ec5935fa0ada2889d77f58d6f4 parent 4e37b956161c3a3b160972c11c55f07b38b9830c author Roland Dreier Fri, 24 Mar 2006 15:47:30 -0800 committer Roland Dreier Fri, 24 Mar 2006 15:47:30 -0800 IB/mthca: Fix modify QP error path If the call to mthca_MODIFY_QP() failed, then mthca_modify_qp() would still do some things it shouldn't, such as store away attributes for special QPs. Fix this, and simplify the code, by simply jumping to the exit path if mthca_MODIFY_QP() fails. Signed-off-by: Roland Dreier commit 4e37b956161c3a3b160972c11c55f07b38b9830c tree d3e18ea58a3375afd2920062ad454b5e3f7371ae parent b0b3a8e1939d18c9bd4caca0b4b859b118a4167e author Leonid Arsh Wed, 22 Mar 2006 19:54:24 +0200 committer Roland Dreier Fri, 24 Mar 2006 15:47:29 -0800 IPoIB: Fix network interface "RUNNING" status With the current IPoIB driver, the status of network interfaces stays "RUNNING" even if the link goes down (for example because a cable is unplugged). Fix this by flushing the IPoIB interface when the link goes down. Signed-off-by: Leonid Arsh Signed-off-by: Roland Dreier commit b0b3a8e1939d18c9bd4caca0b4b859b118a4167e tree c0fdd86f8b69c6b50983fc641bf4f232379b5253 parent b3f64967fafad2d3487cdba18bc5166aec33a823 author Roland Dreier Fri, 24 Mar 2006 15:47:29 -0800 committer Roland Dreier Fri, 24 Mar 2006 15:47:29 -0800 IB/mthca: Fix indentation Fix some whitespace damage (indenting with spaces) that snuck in. Signed-off-by: Roland Dreier commit b3f64967fafad2d3487cdba18bc5166aec33a823 tree a0beb8a5ef4e0b9a30e5f456abc887d7af0391b1 parent d4301e2c6685c87206f24f54969120b182119ab0 author Jack Morgenstein Wed, 22 Mar 2006 09:52:31 +0200 committer Roland Dreier Fri, 24 Mar 2006 15:47:29 -0800 IB/mthca: Fix uninitialized variable in mthca_alloc_qp() mthca_alloc_sqp() by mthca_set_qp_size() need to set qp->transport before calling mthca_set_qp_size(), since the value is used there. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit d4301e2c6685c87206f24f54969120b182119ab0 tree 64cd469cae71b04ec426ee2b14289a53bb9c9f9f parent ded9ad721d220d47989177076a181ae1f1b93af5 author Jack Morgenstein Mon, 20 Mar 2006 17:32:43 +0200 committer Roland Dreier Fri, 24 Mar 2006 15:47:28 -0800 IB/mthca: Check SRQ limit in modify SRQ operation When setting the shared receive queue (SRQ) watermark in a modify SRQ operation, make sure that the supplied value is not larger than the full size of the SRQ. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit ded9ad721d220d47989177076a181ae1f1b93af5 tree 4cd58fe6bccaaa133fbba3f22729dda3e6cb213f parent 0ef61db837c93d4377fabd37182bb6f83ea5ca70 author Jack Morgenstein Mon, 20 Mar 2006 12:35:34 +0200 committer Roland Dreier Fri, 24 Mar 2006 15:47:27 -0800 IB/mthca: Check that SRQ WQE size does not exceed device's max value Guarantee the calculated work queue entry size does not exceed the max allowable WQE size when creating an SRQ. This is a problem with Arbel in Tavor-compatibility mode because the current WQE size computation method rounds up to next power of 2. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 0ef61db837c93d4377fabd37182bb6f83ea5ca70 tree 04e5d5db86c5b12e3879c8a7c8933a1b8300ceda parent cf368713a3f3b2eb737a92d1b7186dedcc51167c author Dotan Barak Sun, 19 Mar 2006 17:20:36 +0200 committer Roland Dreier Fri, 24 Mar 2006 15:47:27 -0800 IB/mthca: Check that sgid_index and path_mtu are valid in modify_qp Add a check that the modify QP parameters sgid_index and path_mtu are valid, since they might come from userspace. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit cf368713a3f3b2eb737a92d1b7186dedcc51167c tree 450791a25611cf98bde1540a3c366d0e2a6ba117 parent 6f633c8d69415aabbccfcc494008e8e1300a98c1 author Roland Dreier Fri, 24 Mar 2006 15:47:26 -0800 committer Roland Dreier Fri, 24 Mar 2006 15:47:26 -0800 IB/srp: Use a fake scatterlist for non-SG SCSI commands Since the SCSI midlayer is moving towards entirely getting rid of commands with use_sg == 0, we should treat this case as an exception. Therefore, change the IB SRP initiator to create a fake scatterlist for these commands with sg_init_one(). This simplifies the flow of DMA mapping and unmapping, since SRP can just use dma_map_sg() and dma_unmap_sg() unconditionally, rather than having to choose between the dma_{map,unmap}_sg() and dma_{map,unmap}_single() variants. Signed-off-by: Roland Dreier commit 868d2c1efe9cdd259b67a80d60a7fb2fcecd3d68 tree 244be876c7628a400485c018a12ce0f02fa25874 parent 9932cf954691f20d548cd6010d89d1d48597e104 author Dave Jones Fri, 24 Mar 2006 15:47:25 -0800 committer David S. Miller Fri, 24 Mar 2006 15:47:25 -0800 [WIRELESS]: Fix config dependencies. I accidentally ended up with a config that set NET_RADIO off, and NET_WIRELESS_RTNETLINK on, which blew up thus.. net/built-in.o: In function `do_setlink':net/core/rtnetlink.c:479: undefined reference to `wireless_rtnetlink_set' net/built-in.o: In function `do_getlink':net/core/rtnetlink.c:521: undefined reference to `wireless_rtnetlink_get' Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit 6f633c8d69415aabbccfcc494008e8e1300a98c1 tree 8c3ad3009e6c4e19b4670c883342a047d511e434 parent b2fd16b4ff2508ac16ae994f4bcd941f97754c00 author Leonid Arsh Fri, 24 Mar 2006 15:47:25 -0800 committer Roland Dreier Fri, 24 Mar 2006 15:47:25 -0800 IPoIB: Pass correct pointer when flushing child interfaces ipoib_ib_dev_flush() should get passed cpriv->dev, not &cpriv->dev. Signed-off-by: Leonid Arsh Signed-off-by: Roland Dreier commit 9932cf954691f20d548cd6010d89d1d48597e104 tree cb7272b087f64b142759e61e3fdd81669f48c849 parent f67ed26f2b3e92c0450deae3ffc3fff21c878a75 author David S. Miller Fri, 24 Mar 2006 15:12:37 -0800 committer David S. Miller Fri, 24 Mar 2006 15:45:00 -0800 [NET]: Fill in a 32-bit hole in struct sock on 64-bit platforms. This makes struct sock 8 bytes smaller on 64-bit. Signed-off-by: David S. Miller commit f67ed26f2b3e92c0450deae3ffc3fff21c878a75 tree c4dcdb47cfb5f3ba498698cd13421d204047b219 parent a1a8feed1743ec8d2af1dafa7c5321679f0a3e4f author David S. Miller Thu, 23 Mar 2006 22:47:40 -0800 committer David S. Miller Fri, 24 Mar 2006 15:44:59 -0800 [NET]: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. Found by Solar Designer. Signed-off-by: David S. Miller commit a1a8feed1743ec8d2af1dafa7c5321679f0a3e4f tree 6323d9b66be6eb681564a4c82aa262d4bbb3e333 parent 4dc6d9cc38cea1004a7f827cf76409ae42231fee author Patrick McHardy Thu, 23 Mar 2006 22:07:34 -0800 committer David S. Miller Fri, 24 Mar 2006 15:44:58 -0800 [MODULES]: Don't allow statically declared exports Add an extern declaration for exported symbols to make the compiler warn on symbols declared statically. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4dc6d9cc38cea1004a7f827cf76409ae42231fee tree 6c96b23f151565cbc789f7b5004e966437bab056 parent b2fd16b4ff2508ac16ae994f4bcd941f97754c00 author Peter Chubb Thu, 23 Mar 2006 21:39:47 -0800 committer David S. Miller Fri, 24 Mar 2006 15:44:57 -0800 [BRIDGE]: Unaligned accesses in the ethernet bridge I see lots of kernel unaligned access to 0xa0000001009dbb6f, ip=0xa000000100811591 kernel unaligned access to 0xa0000001009dbb6b, ip=0xa0000001008115c1 kernel unaligned access to 0xa0000001009dbb6d, ip=0xa0000001008115f1 messages in my logs on IA64 when using the ethernet bridge with 2.6.16. Appended is a patch to fix them. Signed-off-by: Peter Chubb Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit ea8aa68d36026c4c3d938170b06957aeac9682f4 tree efc85ec20bdbacbe476bd7b01d73681cdf01193f parent b0697053f9e8de9cea3d510d9e290851ece9460b author Mark Fasheh Mon, 06 Mar 2006 12:33:14 -0800 committer Mark Fasheh Fri, 24 Mar 2006 14:58:29 -0800 ocfs2: finally remove MLF* macros Signed-off-by: Mark Fasheh commit b0697053f9e8de9cea3d510d9e290851ece9460b tree bcfa2ae33e4a5302ddbe94dec0eaf95013e79850 parent 29004858a76ba9e26393dd8a85e653f105a33753 author Mark Fasheh Fri, 03 Mar 2006 10:24:33 -0800 committer Mark Fasheh Fri, 24 Mar 2006 14:58:28 -0800 ocfs2: don't use MLF* in the file system Signed-off-by: Mark Fasheh commit 29004858a76ba9e26393dd8a85e653f105a33753 tree af526aed90f438d211e543ce7e8f2d8a1fa093e7 parent 70bacbdbfa6f63f8cd10432891f9ecee62397ff2 author Kurt Hackel Thu, 02 Mar 2006 16:43:36 -0800 committer Mark Fasheh Fri, 24 Mar 2006 14:58:27 -0800 ocfs2: don't use MLF* in dlm/ files Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 70bacbdbfa6f63f8cd10432891f9ecee62397ff2 tree d837f84ffb5a6ea6a18f854e1d8f85b48e340686 parent c03872f5f50bc10f2a1a485f08879a8d01bcfe49 author Mark Fasheh Thu, 02 Mar 2006 11:10:05 -0800 committer Mark Fasheh Fri, 24 Mar 2006 14:58:26 -0800 ocfs2: don't use MLF* in cluster/ files Signed-off-by: Mark Fasheh commit c03872f5f50bc10f2a1a485f08879a8d01bcfe49 tree 9ac370cf1a7c015522af75af3f60e9d6c4425bbc parent 9c6510a5bfe2f1c5f5b93386c06954be02e974e4 author Kurt Hackel Mon, 06 Mar 2006 14:08:49 -0800 committer Mark Fasheh Fri, 24 Mar 2006 14:58:25 -0800 [PATCH] ocfs2: dlm recovery fixes when starting lock mastery (excepting the recovery lock) wait on any nodes needing recovery. fix one instance where lock resources were left attached to the recovery list after recovery completed. ensure that the node_down code is run uniformly regardless of which node found the dead node first. Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 9c6510a5bfe2f1c5f5b93386c06954be02e974e4 tree dbb1897b3038677a68a7ccb1f04c250c10c16e55 parent a74e1f0e8a7858c9ba6065480c88d7feba3520ac author Kurt Hackel Thu, 02 Mar 2006 18:09:26 -0800 committer Mark Fasheh Fri, 24 Mar 2006 14:58:25 -0800 [PATCH] ocfs2: fix hang in dlm lock resource mastery fixes hangs in lock mastery related to refcounting on the mle structure Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit a74e1f0e8a7858c9ba6065480c88d7feba3520ac tree 651b85805a0b55b50bf41f8e48f569b658f67a5f parent b2fd16b4ff2508ac16ae994f4bcd941f97754c00 author Mark Fasheh Fri, 03 Mar 2006 10:18:58 -0800 committer Mark Fasheh Fri, 24 Mar 2006 14:58:24 -0800 ocfs2: use __attribute__ format Use the "format" attribute on ocfs2_error() and ocfs2_abort() so that the compiler will warn when we get calls to those functions wrong. Signed-off-by: Mark Fasheh commit 4129a953ad4db379d8e07b0dd2157998653a1325 tree 84c6d310953044caa420410165adcd0dfb2ac55f parent 4d357acadd7a5e60767c748ed7807e11c4387bdf author Fenghua Yu Mon, 27 Feb 2006 16:16:22 -0800 committer Tony Luck Fri, 24 Mar 2006 13:15:23 -0800 [IA64] New IA64 core/thread detection patch IPF SDM 2.2 changes definition of PAL_LOGICAL_TO_PHYSICAL to add proc_number=-1 to get core/thread mapping info on the running processer. Based on this change, we had better to update existing core/thread detection in IA64 kernel correspondingly. The attached patch implements this change. It simplifies detection code and eliminates potential race condition. It also runs a bit faster and has better scalability especially when cores and threads number grows up in one package. Signed-off-by: Fenghua Yu Signed-off-by: Tony Luck commit 4d357acadd7a5e60767c748ed7807e11c4387bdf tree 43e7643a7a505d8e585f42453127e7710f6a832f parent a9de98351436b25b3c2f234addb6d66a6a6f42f8 author Jack Steiner Thu, 02 Mar 2006 16:02:32 -0600 committer Tony Luck Fri, 24 Mar 2006 13:15:03 -0800 [IA64] Increase max node count on SN platforms Update configuration files with new CONFIG option. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit a9de98351436b25b3c2f234addb6d66a6a6f42f8 tree 72291671fe518c192ae2ba08c4dffb28b1a13f8b parent 3ad5ef8b9d0d0cc2d4b2c63e766ef903d482dfc7 author Jack Steiner Thu, 02 Mar 2006 16:02:28 -0600 committer Tony Luck Fri, 24 Mar 2006 13:14:41 -0800 [IA64] Increase max node count on SN platforms Node number are kept in the cpu_to_node_map which is currently defined as u8. Change to u16 to accomodate larger node numbers. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 3ad5ef8b9d0d0cc2d4b2c63e766ef903d482dfc7 tree c17d6073e4629bdf59972d5800368c12c5147aff parent b354a8388891adc5dc5e5fb0130f000152f3fb94 author Jack Steiner Thu, 02 Mar 2006 16:02:25 -0600 committer Tony Luck Fri, 24 Mar 2006 13:14:21 -0800 [IA64] Increase max node count on SN platforms Add support in IA64 acpi for platforms that support more than 256 nodes. Currently, ACPI is limited to 256 nodes because the proximity domain number is 8-bits. Long term, we expect to use ACPI3.0 to support >256 nodes. This patch is an interim solution that works with platforms that pass the high order bits of the proximity domain in "reserved" fields of the ACPI tables. This code is enabled ONLY on SN platforms. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit b354a8388891adc5dc5e5fb0130f000152f3fb94 tree 17ddef0b367ed0279f8f10d5d9af73ecd01e3db9 parent f90aa8c4febb306e1266e1ad34fd8464e201aa7f author Jack Steiner Thu, 02 Mar 2006 16:02:21 -0600 committer Tony Luck Fri, 24 Mar 2006 13:14:03 -0800 [IA64] Increase max node count on SN platforms Add a configuration option to allow the maximum number of nodes to be configurable for GENERIC or SN kernels. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit f90aa8c4febb306e1266e1ad34fd8464e201aa7f tree 01df1912a309560098bb6e49c39f4bcba4a3b0cb parent b17ea91a43ea0c746ab4cabb698275e1771ed23d author Prarit Bhargava Wed, 08 Mar 2006 13:30:18 -0500 committer Tony Luck Fri, 24 Mar 2006 13:13:06 -0800 [IA64] Tollhouse HP: IA64 arch changes arch/ia64/sn and include/asm-ia64/sn changes required to support Tollhouse system PCI hotplug, fixes the ia64_sn_sysctl_ioboard_get call, and introduces the PRF_HOTPLUG_SUPPORT feature bit. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit b17ea91a43ea0c746ab4cabb698275e1771ed23d tree dcbcfa816678db9bc8f4fb67bb6bfdfa0252b249 parent d2a28ad9fa7bf16761d070d8a3338375e1574b32 author Chen, Kenneth W Sun, 12 Mar 2006 11:10:00 -0800 committer Tony Luck Fri, 24 Mar 2006 13:12:46 -0800 [IA64] cleanup dig_irq_init dig_irq_init is equivalent to machvec_noop, no need to define another empty function. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 7fa033b103bc3f5c37f934695473f63adf140dba tree 7aa5fb9e81f2939e31acef2b26a2d6ef7728bfb0 parent a20c522498330ba0f4970a9bcd11890312277ae2 author Hans Verkuil Thu, 23 Mar 2006 20:12:26 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:27:00 -0300 V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit a20c522498330ba0f4970a9bcd11890312277ae2 tree f3add5b7d7f7a9f4eaf246afc6da2be97e7de64d parent f13df9195b2b4db874ba2d6bd1c2a09ea64d39e0 author Hans Verkuil Thu, 23 Mar 2006 19:37:58 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:27:00 -0300 V4L/DVB (3598): Add bit algorithm adapter for the Conexant CX2341X boards. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit f13df9195b2b4db874ba2d6bd1c2a09ea64d39e0 tree 63814243571fdba456767060de24fa22fba570e4 parent e3bb83420346534b51a500e3b13f75e269c3dd60 author Michael Krufky Thu, 23 Mar 2006 22:01:44 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:27:00 -0300 V4L/DVB (3597): Vivi: fix warning: implicit declaration of function 'in_interrupt' Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e3bb83420346534b51a500e3b13f75e269c3dd60 tree 24fa8baf723fd79c773dd5a2ed53ce554a6fd030 parent c68735180c6e274d938b8c07d61dcf5077085c7f author Hans Verkuil Mon, 20 Mar 2006 16:32:52 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:27:00 -0300 V4L/DVB (3588): Remove VIDIOC_G/S_AUDOUT from msp3400 VIDIOC_G/S_AUDOUT does not belong in msp3400 (it's a user level command, not to be used in internal i2c drivers). Also fix a compile warning and improve LOG_STATUS. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit c68735180c6e274d938b8c07d61dcf5077085c7f tree 1b807e7ce8d02be272a51bf6b86b0c4412a7726c parent 301e22d69140898eddd38a9134da711cb5dfc170 author Hans Verkuil Sun, 19 Mar 2006 18:43:50 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:58 -0300 V4L/DVB (3587): Always wake thread after routing change. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 301e22d69140898eddd38a9134da711cb5dfc170 tree 27a7d8df45f703a30cc983829e427d803a297d86 parent 2474ed444b475614ef795523076be7cc8437ae00 author Hans Verkuil Sat, 18 Mar 2006 17:15:00 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:58 -0300 V4L/DVB (3584): Implement V4L2_TUNER_MODE_LANG1_LANG2 audio mode Add a new audio mode V4L2_TUNER_MODE_LANG1_LANG2 (used by VIDIOC_G/S_TUNER). This mode allows the user to select both languages of a bilingual transmission, one language on the left, one on the right audio channel. If there is no bilingual transmission, or it is not supported, then this mode should act like V4L2_TUNER_MODE_STEREO. This mode is introduced for PVR-like drivers where it is useful to be able to record both languages of a bilingual broadcast. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 2474ed444b475614ef795523076be7cc8437ae00 tree 87808b3c7ff145b63a638e6e42ffce9db7db1b8c parent 49965a80a4c4f5cbe15fb3bb1f8f8b0ec4ef02bc author Hans Verkuil Sun, 19 Mar 2006 12:35:57 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:57 -0300 V4L/DVB (3582): Implement correct msp3400 input/output routing - implement VIDIOC_INT_S_AUDIO_ROUTING for msp3400 and tvaudio - use the new command in bttv, pvrusb2 and em28xx. - remove the now obsolete MSP_SET_MATRIX from msp3400 (yeah!) - remove the obsolete VIDIOC_S_AUDIO from msp3400. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 49965a80a4c4f5cbe15fb3bb1f8f8b0ec4ef02bc tree aaf7409eb7c44da7527b08d63bdab87e34471fce parent de533ccf8dd51f38ef3c1751f9eb5ad3f2fcfad9 author Hans Verkuil Sun, 19 Mar 2006 08:45:38 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:57 -0300 V4L/DVB (3581): Add new media/msp3400.h header containing the routing macros Moved msp3400.h to msp3400-driver.h. Created media/msp3400.h with the new routing defines and lots of comments. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit de533ccf8dd51f38ef3c1751f9eb5ad3f2fcfad9 tree a82aedd3ae45a9455c24cda20e51cd8e7596182f parent 9a80a93da738c631de644175fbd669ab9a9cb624 author Hans Verkuil Sun, 19 Mar 2006 08:21:56 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:57 -0300 V4L/DVB (3580): Last round of msp3400 cleanups before adding routing commands Lots of cleanups: - remove duplicate actions - add D/K3 Dual FM-Stereo and D/K NICAM FM (HDEV3) support - put prescales in the proper place - add missing D/K NICAM - msp34xxg_reset now only resets instead of also starting the autodetect (moved that to msp34xxg_thread) - fix support for SAP. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 9a80a93da738c631de644175fbd669ab9a9cb624 tree 971defc56764634e9747a6edb821b4ede86cbb89 parent 427725748b38997628d95ffdf8501bcc176cf631 author Hans Verkuil Sun, 19 Mar 2006 07:25:42 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:56 -0300 V4L/DVB (3579): Move msp_modus to msp3400-kthreads, add JP and KR std detection msp_modus is 'G' model specific. Moved it to kthreads and also added proper handling for the Japanese and South Korean TV standards. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 427725748b38997628d95ffdf8501bcc176cf631 tree 247159488fe2fa0bacd908e1353cfbb22ec9ece1 parent 8bf2f8e747700419cc5bbc56c4496774eb8f2f1f author Hans Verkuil Sun, 19 Mar 2006 06:48:51 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:56 -0300 V4L/DVB (3578): Make scart definitions easier to handle For the new routing implementation it is easier if all the 'normal' scart inputs (IN1-IN4) are consecutive. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 8bf2f8e747700419cc5bbc56c4496774eb8f2f1f tree 94e9b7e99d2e95d4515d48247ce549540374a989 parent ae62e3d4a8194680023b47ab778bf1dcea8d6b42 author Hans Verkuil Sat, 18 Mar 2006 21:31:00 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:56 -0300 V4L/DVB (3577): Cleanup audio input handling Cleanup audio input handling in bttv and tvaudio: - inputs were specified that were never used - mute was handled as a special input which led to confusing code - confusing naming made it difficult to see if the setting was for i2c or gpio. The old audiochip.h input names moved to tvaudio.h. Currently this is used both by tvaudio and msp3400 until the msp3400 implements the new msp3400-specific inputs. Detect in bttv the tvaudio and msp3400 i2c clients and use these client pointers to set the inputs directly instead of broadcasting the command. Removed AUDC_SET_INPUT. Now replaced by VIDIOC_S_AUDIO. This will be replaced again later by the new ROUTING commands. Removed VIDIOC_G_AUDIO implementations in i2c drivers: this command is a user level command and not to be used internally. It wasn't called at all anyway. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit ae62e3d4a8194680023b47ab778bf1dcea8d6b42 tree ae95d5dcb341fd826911c307e27b52b23ef92acc parent 4d6e772d989c11af7d7e41095f976cff5eeb43f3 author Michael Krufky Thu, 23 Mar 2006 01:11:18 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:55 -0300 V4L/DVB (3575): Cxusb: fix i2c debug messages for bluebird devices Only the Medion boxes return 0x08 after an i2c read/write. The bluebird devices do not return anything at all. This patch conditionalizes the test for the 0x08 return code to produce a warning message when using the Medion box, only. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4d6e772d989c11af7d7e41095f976cff5eeb43f3 tree 7df93734414bbfb71e8513fa6efa647fd091b8dd parent afdebc94ea86168973102fa77128764ac034d569 author Michael Krufky Thu, 23 Mar 2006 00:55:23 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:55 -0300 V4L/DVB (3574): Cxusb: fix debug messages - corrects the wording in some of the debug messages. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit afdebc94ea86168973102fa77128764ac034d569 tree 13811c2f37ea1cb0a867c23710a43ee6442db56f parent 5e805eff15b17e64d5a0913c9e4c816a96677398 author Michael Krufky Thu, 23 Mar 2006 00:15:55 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:53 -0300 V4L/DVB (3573): Cxusb: remove FIXME: comment in bluebird_patch_dvico_firmware_download Removed the FIXME comment from bluebird_patch_dvico_firmware_download: /* FIXME: are we allowed to change the fw-data ? */ Yes, we are allowed. DViCO's Windows driver also does the same thing. A single firmware image is used to support all of the bluebird boxes. The firmware sets all devices to PID: d700. Instead of using that, the driver replaces the d700 with the cold PID+1 before the download. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5e805eff15b17e64d5a0913c9e4c816a96677398 tree 65bd843d709e8cf4cf7bd7f6803e4f807d32e83c parent 5245953e1893152662dad47c87fa88213d5d09a1 author Michael Krufky Thu, 23 Mar 2006 00:01:34 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:53 -0300 V4L/DVB (3572): Cxusb: conditionalize gpio write for the medion box This patch removes the (harmless) -ETIMEDOUT during device init for the DViCO FusionHDTV Bluebird boxes, by conditionalizing the gpio write inside cxusb_i2c_xfer to happen only for Medion boxes. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5245953e1893152662dad47c87fa88213d5d09a1 tree e97c1b7ef76f72f6918ac0f97f3f3710bb8815c6 parent 2ae151911e31e6a012a46431cc515cc251242573 author Andrew Morton Wed, 22 Mar 2006 15:01:59 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:52 -0300 V4L/DVB (3571): Printk warning fixes On ppc64, u64 is `unsigned long' drivers/media/video/v4l2-common.c: In function `v4l_printk_ioctl_arg': drivers/media/video/v4l2-common.c:486: warning: cast from pointer to integer of different size drivers/media/video/v4l2-common.c:580: warning: long long int format, v4l2_std_id arg (arg 8) drivers/media/video/v4l2-common.c:625: warning: long long int format, v4l2_std_id arg (arg 8) drivers/media/video/v4l2-common.c:693: warning: long long int format, v4l2_std_id arg (arg 4) drivers/media/video/v4l2-common.c:910: warning: long long unsigned int format, long unsigned int a$ Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 2ae151911e31e6a012a46431cc515cc251242573 tree b0c10dad3622738f9f3e08d14f817d53c143dd59 parent bc2c7c365bd18c00f5fefaf1a560c440f3ce13f3 author Alan Cox Mon, 20 Mar 2006 13:59:42 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:52 -0300 V4L/DVB (3569): PATCH: switch cpia2 to mutexes and use ioctl 32 compat lib func Signed-off-by: Alan Cox Signed-off-by: Mauro Carvalho Chehab commit bc2c7c365bd18c00f5fefaf1a560c440f3ce13f3 tree 05102051eab11379ed07f6d5c49f6bdd24947417 parent 73dcddc583c40bcc9e6bf468c78c31930899922c author Michael Krufky Sat, 18 Mar 2006 18:36:44 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:52 -0300 V4L/DVB (3557): Kconfig: fix title and description for VIDEO_CX88_ALSA Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 73dcddc583c40bcc9e6bf468c78c31930899922c tree a807b9fcf632db480bdf9ac0edac79f19174db33 parent 6637e6fd2a930567f1878e4585d70b444a9cb3b3 author Hans Verkuil Thu, 16 Mar 2006 20:23:47 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:52 -0300 V4L/DVB (3551): Fix saturation bug. Fix NTSC->PAL standard change. Detect NTSC-KR standard. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 6637e6fd2a930567f1878e4585d70b444a9cb3b3 tree 780f54e243695c30677c0eb1bf9d7c52ded2403e parent 09df1c163adcf43e2c4234b52985f34b95b7634e author Patrick Boettcher Sat, 18 Mar 2006 14:13:22 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:51 -0300 V4L/DVB (3549): Make hotplug automatically load the b2c2-flexcop-usb module There was no MODULE_DEVICE_TABLE for the b2c2-flexcop-usb module. This makes it impossible for hotplug to load the module automatically, when such a device is connected. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 09df1c163adcf43e2c4234b52985f34b95b7634e tree 26bfc6ba4d135f932038e2b41c79d86c474d5abd parent 7c9b5048305ead226fb16def98d86f3ed67c4807 author Mauro Carvalho Chehab Sat, 18 Mar 2006 08:31:34 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:51 -0300 V4L/DVB (3548): Renamed I2C_foo addresses to I2C_ADDR_foo I2C_foo were used for some i2c addresses. Bad, since those constants could mean other i2c chip things. Signed-off-by: Mauro Carvalho Chehab commit 7c9b5048305ead226fb16def98d86f3ed67c4807 tree f6257da1117336e1c68e183c0ed23968d205c7f8 parent fa3fcceb30eb8a3cb2ac299c207c6f89b9aed379 author Mauro Carvalho Chehab Sat, 18 Mar 2006 08:08:14 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:51 -0300 V4L/DVB (3547): Tvaudio.h are just i2c addresses. Merged into i2c-addr.h Signed-off-by: Mauro Carvalho Chehab commit fa3fcceb30eb8a3cb2ac299c207c6f89b9aed379 tree 5cd9df4a0591aec9c1e69f19c2f34c40a0914f2a parent c72602b8250cc0d3ace59d1a7334c5cd7aa9490e author Mauro Carvalho Chehab Thu, 23 Mar 2006 21:45:24 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:51 -0300 V4L/DVB (3546): Fix Compilation after moving bttv code - Missing a Makefile for bt8xx - rds.h were at wrong directory, since it is a global header for an internal interface - tda7432 and tda9875 were dependent from bttv.h - bttv.h were holding i2c addresses Signed-off-by: Mauro Carvalho Chehab commit c72602b8250cc0d3ace59d1a7334c5cd7aa9490e tree 8b1413a0529d37c817651dd241a55dfe12e7fe5e parent faecfb1760325613debd8df9b9374ce4a28c01d9 author Manu Abraham Fri, 17 Mar 2006 18:21:17 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:50 -0300 V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit faecfb1760325613debd8df9b9374ce4a28c01d9 tree 844e0446e82f07c5d8007d62f7e3a842987e194b parent 280323ddbc595c463f89c30f3f0f823b076bb4e3 author Manu Abraham Fri, 17 Mar 2006 12:07:22 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:50 -0300 V4L/DVB (3539): Move bttv fragments to bt8xx/ Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 280323ddbc595c463f89c30f3f0f823b076bb4e3 tree 8acb153cc4282f534d27c656aa414214971cb984 parent 1e6dd65e17b8b584026334b16485365bab486422 author Mauro Carvalho Chehab Fri, 10 Mar 2006 13:41:26 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:50 -0300 V4L/DVB (3519): Corrects MODULE_AUTHOR Signed-off-by: Mauro Carvalho Chehab commit 1e6dd65e17b8b584026334b16485365bab486422 tree b870e052304bd14b8e49c6a5cae98bb4d33794a7 parent c7b0ac0546985fc6361a8d92cf808d46da797677 author Mauro Carvalho Chehab Fri, 10 Mar 2006 12:40:10 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:49 -0300 V4L/DVB (3518): Creates a virtual video device driver The Virtual Video Device Driver (aka vivi) is a device that can be used to: 1) test core v4l functionalities; 2) be a prototype for newer development. Vivi were developed using the best practices for v4l driver. When loaded, it provides a video device that generates a standard color bar, with a timestamp placed at top left corner. Signed-off-by: Mauro Carvalho Chehab commit c7b0ac0546985fc6361a8d92cf808d46da797677 tree 2147eb2f6dd7b2b82e0d7b4b9a26e12ef5193252 parent b2fd16b4ff2508ac16ae994f4bcd941f97754c00 author Mauro Carvalho Chehab Fri, 10 Mar 2006 12:29:15 -0300 committer Mauro Carvalho Chehab Fri, 24 Mar 2006 16:26:49 -0300 V4L/DVB (3516): Make video_buf more generic Video_buf were concerned to allow PCI devices to be used as video capture devices. This patch extends video_buf features by virtualizing pci-dependent functions and allowing other type of devices to use it. It is still DMA centric, although it may be used also by devices that emulates scatter/gather behavior or a DMA device Signed-off-by: Mauro Carvalho Chehab commit 232443e2c90cc2930624dec89df327615b002c55 tree 8bb1fa4c9aed6e020a8ecdb7f340ee329e2815e5 parent b74945547f0679003ede4d1afcd0aa169059a436 author Eric Sesterhenn Fri, 24 Mar 2006 18:53:18 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:53:18 +0100 BUG_ON() Conversion in drivers/video/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit b74945547f0679003ede4d1afcd0aa169059a436 tree f8a50059f602970f3e0d955d0e3c7d150d9056ac parent 089fe1b23da5468bbf02b721472f71f349837a7d author Eric Sesterhenn Fri, 24 Mar 2006 18:52:10 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:52:10 +0100 BUG_ON() Conversion in drivers/parisc/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 089fe1b23da5468bbf02b721472f71f349837a7d tree c5b385dff1ca5dc259e9ec08c0a7392947ae3818 parent 817dd6eed4bf40fa14d1e96ac4905efebd5e03f2 author Eric Sesterhenn Fri, 24 Mar 2006 18:50:27 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:50:27 +0100 BUG_ON() Conversion in drivers/block/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit d2a28ad9fa7bf16761d070d8a3338375e1574b32 tree 9da2c18c91a4ee12fa6a9b2d23dcb55d13dd0ca8 parent a5b00bb4fe60796c791238cf5653b82110031c93 author Russ Anderson Fri, 24 Mar 2006 09:49:52 -0800 committer Tony Luck Fri, 24 Mar 2006 09:49:52 -0800 [IA64] MCA recovery: kernel context recovery table Memory errors encountered by user applications may surface when the CPU is running in kernel context. The current code will not attempt recovery if the MCA surfaces in kernel context (privilage mode 0). This patch adds a check for cases where the user initiated the load that surfaces in kernel interrupt code. An example is a user process lauching a load from memory and the data in memory had bad ECC. Before the bad data gets to the CPU register, and interrupt comes in. The code jumps to the IVT interrupt entry point and begins execution in kernel context. The process of saving the user registers (SAVE_REST) causes the bad data to be loaded into a CPU register, triggering the MCA. The MCA surfaces in kernel context, even though the load was initiated from user context. As suggested by David and Tony, this patch uses an exception table like approach, puting the tagged recovery addresses in a searchable table. One difference from the exception table is that MCAs do not surface in precise places (such as with a TLB miss), so instead of tagging specific instructions, address ranges are registers. A single macro is used to do the tagging, with the input parameter being the label of the starting address and the macro being the ending address. This limits clutter in the code. This patch only tags one spot, the interrupt ivt entry. Testing showed that spot to be a "heavy hitter" with MCAs surfacing while saving user registers. Other spots can be added as needed by adding a single macro. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck commit 817dd6eed4bf40fa14d1e96ac4905efebd5e03f2 tree a322cc013acfe1bde06dc58aacacb59c02cf7276 parent 7ac1e877d48061aa6ebca936189c32b44ccf8d9c author Eric Sesterhenn Fri, 24 Mar 2006 18:49:12 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:49:12 +0100 BUG_ON() Conversion in sound/sparc/cs4231.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 7ac1e877d48061aa6ebca936189c32b44ccf8d9c tree 2efb95f8cb9d18e56b4e44c089e3f6a1cb483d0d parent 34814545890db603b7648ea2ea477d1f83b61297 author Eric Sesterhenn Fri, 24 Mar 2006 18:48:13 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:48:13 +0100 BUG_ON() Conversion in drivers/s390/block/dasd.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 34814545890db603b7648ea2ea477d1f83b61297 tree dcf8b60a50bbcbe8bf0ee29ea0d428c2435a895e parent 6978c7052f2e22c6c40781cdd4eba5c4bce9a789 author Eric Sesterhenn Fri, 24 Mar 2006 18:47:11 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:47:11 +0100 BUG_ON() Conversion in lib/swiotlb.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 6978c7052f2e22c6c40781cdd4eba5c4bce9a789 tree eb93e551109b441052db414b7074d8b2a0f19e45 parent 8cd5283b897f56004631944dd2888e9a7b843f89 author Eric Sesterhenn Fri, 24 Mar 2006 18:45:21 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:45:21 +0100 BUG_ON() Conversion in kernel/cpu.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 8cd5283b897f56004631944dd2888e9a7b843f89 tree a4a00feee4c2a8ec82a7ee939ca361c5433aeb37 parent ce52449742697f6f51be2a7c275a4ab2a73885b8 author Eric Sesterhenn Fri, 24 Mar 2006 18:44:22 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:44:22 +0100 BUG_ON() Conversion in ipc/msg.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit ce52449742697f6f51be2a7c275a4ab2a73885b8 tree 1cd5441d8fa9dea43b4d6de0adba910abaca814b parent c5d3237c2424c4a3cf69d33abc1f229943468367 author Eric Sesterhenn Fri, 24 Mar 2006 18:43:26 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:43:26 +0100 BUG_ON() Conversion in block/elevator.c this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit c5d3237c2424c4a3cf69d33abc1f229943468367 tree 5bd2cfc657b48cfc9ca014586d33704fa643475b parent 88bcd51262ed45212d1b3a65abbac46eaf36bfeb author Eric Sesterhenn Fri, 24 Mar 2006 18:42:13 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:42:13 +0100 BUG_ON() Conversion in fs/coda/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 88bcd51262ed45212d1b3a65abbac46eaf36bfeb tree 570fba807f94845399c12284d1c2f6568e4b016b parent b1eecf7e04f34e3248ca8d14e49156da63f05117 author Eric Sesterhenn Fri, 24 Mar 2006 18:38:48 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:38:48 +0100 BUG_ON() Conversion in fs/binfmt_elf_fdpic.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit b1eecf7e04f34e3248ca8d14e49156da63f05117 tree cf5f9929c5ce41523becfb63c65d0b2e403420d5 parent 4401d138993c652dc7463207fa3afde71b7ae509 author Eric Sesterhenn Fri, 24 Mar 2006 18:37:43 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:37:43 +0100 BUG_ON() Conversion in input/serio/hil_mlc.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 4401d138993c652dc7463207fa3afde71b7ae509 tree be2292c0d5329f54b98f0d4acbc574774f0834c2 parent 5daf2cf19a7d03843d8d2d1b4aaf5260479cc5a7 author Eric Sesterhenn Fri, 24 Mar 2006 18:36:27 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:36:27 +0100 BUG_ON() Conversion in md/dm-hw-handler.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 5daf2cf19a7d03843d8d2d1b4aaf5260479cc5a7 tree 16047cbccaa718d0f120647d2a071edf2659239f parent 16538c40776b8be6b0f23966e08fdc7b8fff823f author Eric Sesterhenn Fri, 24 Mar 2006 18:35:26 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:35:26 +0100 BUG_ON() Conversion in md/bitmap.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk commit 16538c40776b8be6b0f23966e08fdc7b8fff823f tree 77646f8bf17f0ef78ea9c50415ab639a734dc870 parent de0dfcdf550e6339e9f373587da62cffb5b559f8 author Amos Waterland Fri, 24 Mar 2006 18:30:53 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:30:53 +0100 The comment describing how MS_ASYNC works in msync.c is confusing because of a typo. This patch just changes "my" to "by", which I believe was the original intent. Signed-off-by: Adrian Bunk commit de0dfcdf550e6339e9f373587da62cffb5b559f8 tree 0023fc5d21539ba3f1b54acc7dbf5c1f639195ea parent c30fe7f73194650148b58ee80908c1bc38246397 author Baruch Even Fri, 24 Mar 2006 18:25:25 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:25:25 +0100 rcu: undeclared variable used in documentation The RCU documentation uses an fp variable which is not declared in the code snippets. Use the new_fp variable instead. Signed-Off-By: Baruch Even Acked-by: Signed-off-by: Adrian Bunk commit aec5c3c1a929d7d79a420e943285cf3ba26a7c0d tree 980faf6aafcc7ab5c85b680ee9345c6c2cb56f64 parent e93252faca2eb1a14b44369705be7c79eba2f037 author Tejun Heo Sat, 25 Mar 2006 01:33:34 +0900 committer Jeff Garzik Fri, 24 Mar 2006 12:24:33 -0500 [PATCH] libata: kill E.D.D. E.D.D. has no user in-tree and mostly useless. Kill it. For possible out-of-tree users, add a nice warning message and error handling if LLDD doesn't report any useable reset mechanism (and thus tries to use E.D.D.). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c30fe7f73194650148b58ee80908c1bc38246397 tree 0433d79fb7c737f838aa2b787b5d9682bc60c66c parent c690a72253b962b7274559f2cdf4844553076c03 author Uwe Zeisberger Fri, 24 Mar 2006 18:23:14 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:23:14 +0100 fix typos "wich" -> "which" Signed-off-by: Uwe Zeisberger Signed-off-by: Adrian Bunk commit c690a72253b962b7274559f2cdf4844553076c03 tree bbbde2ff40a39ce2b5cd66b0de7e946f783efa16 parent 13fce8062968996da496d4f65cc1c1f845704604 author Michael Owen Fri, 24 Mar 2006 18:21:44 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:21:44 +0100 typo patch for fs/ufs/super.c Quick and simple typo fix. neTXstep -> neXTstep Signed-off-by: Adrian Bunk commit 13fce8062968996da496d4f65cc1c1f845704604 tree fa8f3e8ee813397d043efd81780c487531705aa1 parent 53813158012f4d9272e5ccdc005671e780a39931 author Andrzej Zaborowski Fri, 24 Mar 2006 18:13:37 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:13:37 +0100 Fix simple typos This corrects some trivial errors in ARM docs and comments, Signed-off-by: Adrian Bunk commit b2fd16b4ff2508ac16ae994f4bcd941f97754c00 tree 45014cb8e62adc5b0e8e788fe1cfd78dfcd12d50 parent d4b7780ea1d2e08410fcc9963a57254147ae577a author Horms Thu, 23 Mar 2006 16:36:28 +0900 committer Jeff Garzik Fri, 24 Mar 2006 12:10:55 -0500 [PATCH] net: ne2k.c won't compile if pci_clone_list is const net: ne2k.c won't compile if pci_clone_list is const f71e130966ba429dbd24be08ddbcdf263df9a5ad which (amongst other things) made pci_clone_list in ne2k-pci.c const causes the following compile error. This patch reverses that portion of that changeset drivers/net/ne2k-pci.c:123: error: pci_clone_list causes a section type conflict ~/ gcc --version gcc (GCC) 4.0.3 (Debian 4.0.3-1) ~/ dpkg gcc-4.0 | grep Version Version: 4.0.3-1 Signed-Off-By: Horms commit d4b7780ea1d2e08410fcc9963a57254147ae577a tree 3625bc3f6f0220b348793e9dc1e1a131899b49c9 parent e93252faca2eb1a14b44369705be7c79eba2f037 author Andrew Victor Fri, 24 Mar 2006 11:50:17 +0200 committer Jeff Garzik Fri, 24 Mar 2006 12:10:55 -0500 [PATCH] AT91RM9200 Ethernet driver This patch adds support for the Ethernet controller integrated in the Atmel AT91RM9200 SoC processor. Changes since the previous submission (01/02/2006) are: - Make use of the clk.h clock infrastructure. - The multicast hash function is not crc32. [Patch by Pedro Perez] Signed-off-by: Andrew Victor Signed-off-by: Jeff Garzik commit 53813158012f4d9272e5ccdc005671e780a39931 tree 00c3325efcdb348eebcc6ac1d41002eac96be11d parent dd49d0f5625064e8fc790beb6f5256254a1dde2f author Jim Cromie Fri, 24 Mar 2006 18:10:34 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:10:34 +0100 tabify drivers/char/Makefile this trivial patch tabifies drivers/char/Makefile for readability. Signed-off-by: Jim Cromie Signed-off-by: Adrian Bunk commit dd49d0f5625064e8fc790beb6f5256254a1dde2f tree 11309d2858f24c857a9422a7b9243bf8c6e1ecc9 parent e93252faca2eb1a14b44369705be7c79eba2f037 author Jim Cromie Fri, 24 Mar 2006 18:08:17 +0100 committer Adrian Bunk Fri, 24 Mar 2006 18:08:17 +0100 Re-alphabetize a couple MAINTANTER entries. Signed-off-by: Adrian Bunk commit e93252faca2eb1a14b44369705be7c79eba2f037 tree 35ae4fde7c0b082388272f2154bfabc4bdf4500a parent f125b56113be4956867cc9bd098bb99b1b9bb93f parent 2f1f610b62bce36d6d50857859091b8989c70267 author Linus Torvalds Fri, 24 Mar 2006 08:19:51 -0800 committer Linus Torvalds Fri, 24 Mar 2006 08:19:51 -0800 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: [PATCH] libata: Remove dependence on host_set->dev for SAS [PATCH] libata: ata_scsi_ioctl cleanup [PATCH] libata: ata_scsi_queuecmd cleanup [libata] export ata_dev_pair; trim trailing whitespace [PATCH] libata: add ata_dev_pair helper [PATCH] Make libata not powerdown drivers on PM_EVENT_FREEZE. [PATCH] libata: make ata_set_mode() responsible for failure handling [PATCH] libata: use ata_dev_disable() in ata_bus_probe() [PATCH] libata: implement ata_dev_disable() [PATCH] libata: check if port is disabled after internal command [PATCH] libata: make per-dev transfer mode limits per-dev [PATCH] libata: add per-dev pio/mwdma/udma_mask [PATCH] libata: implement ata_unpack_xfermask() [libata] Move some bmdma-specific code to libata-bmdma.c [libata sata_uli] kill scr_addr abuse [libata sata_nv] eliminate duplicate codepaths with iomap [libata sata_nv] cleanups: convert #defines to enums; remove in-file history [libata sata_sil24] cleanups: use pci_iomap(), kzalloc() commit f125b56113be4956867cc9bd098bb99b1b9bb93f tree ffb7715fa4b729dab0546df887065718f36fba85 parent 0cb409d98e351e6817e0bc37fe6815fc14b2c036 author Andrew Morton Fri, 24 Mar 2006 03:18:44 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:31 -0800 [PATCH] fix build error if CONFIG_SYSFS=n uevent_seqnum and uevent_helper are only defined if CONFIG_HOTPLUG=y, CONFIG_NET=n. (I stole this back from Greg's tree - it makes allnoconfig work). Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cb409d98e351e6817e0bc37fe6815fc14b2c036 tree 2d3636949d65d5e4911bc9106ddfdf75872c2380 parent 24277dda3a54aa5e6265487e1a3091e27f3c0c45 author Davi Arnaut Fri, 24 Mar 2006 03:18:43 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:31 -0800 [PATCH] strndup_user: convert keyctl Copies user-space string with strndup_user() and moves the type string duplication code to a function (thus fixing a wrong check on the length of the type.) Signed-off-by: Davi Arnaut Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24277dda3a54aa5e6265487e1a3091e27f3c0c45 tree 8fdfcb8c522fff6ce6f82d0b06346b89a825d639 parent 96840aa00a031069a136ec4c55d0bdd09ac6d3a7 author Davi Arnaut Fri, 24 Mar 2006 03:18:43 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:31 -0800 [PATCH] strndup_user: convert module Change hand-coded userspace string copying to strndup_user. Signed-off-by: Davi Arnaut Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96840aa00a031069a136ec4c55d0bdd09ac6d3a7 tree f93592ca47f2412aa0cce3ce4c116d1678a42239 parent 6687a97d4041f996f725902d2990e5de6ef5cbe5 author Davi Arnaut Fri, 24 Mar 2006 03:18:42 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:31 -0800 [PATCH] strndup_user() This patch series creates a strndup_user() function to easy copying C strings from userspace. Also we avoid common pitfalls like userspace modifying the final \0 after the strlen_user(). Signed-off-by: Davi Arnaut Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6687a97d4041f996f725902d2990e5de6ef5cbe5 tree 6ab982091cde7179d94cf592f9c669fd22d93a23 parent 6a4d11c2abc57ed7ca42041e5f68ae4f7f640a81 author Ingo Molnar Fri, 24 Mar 2006 03:18:41 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] timer-irq-driven soft-watchdog, cleanups Make the softlockup detector purely timer-interrupt driven, removing softirq-context (timer) dependencies. This means that if the softlockup watchdog triggers, it has truly observed a longer than 10 seconds scheduling delay of a SCHED_FIFO prio 99 task. (the patch also turns off the softlockup detector during the initial bootup phase and does small style fixes) Signed-off-by: Ingo Molnar Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a4d11c2abc57ed7ca42041e5f68ae4f7f640a81 tree 93a839de19cf3f49bbbb3668f31c8a002c2f7f7f parent b5a7c4f5835ae2805d00ca39709002cb03364143 author Sergey Vlasov Fri, 24 Mar 2006 03:18:38 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] Fix module refcount leak in __set_personality() If the change of personality does not lead to change of exec domain, __set_personality() returned without releasing the module reference acquired by lookup_exec_domain(). Signed-off-by: Sergey Vlasov Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5a7c4f5835ae2805d00ca39709002cb03364143 tree 667be9c3dc48afae4cb9ace7366019974f05a9f8 parent d3561f78fd379a7110e46c87964ba7aa4120235c author Glauber de Oliveira Costa Fri, 24 Mar 2006 03:18:37 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] ext3: Properly report backup block present in a group In filesystems with the meta block group flag on, ext3_bg_num_gdb() fails to report the correct number of blocks used to store the group descriptor backups in a given group. It happens because meta_bg follows a different logic from the original ext3 backup placement in groups multiples of 3, 5 and 7. Signed-off-by: Glauber de Oliveira Costa Cc: Andreas Dilger Cc: "Stephen C. Tweedie" Cc: Alex Tomas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3561f78fd379a7110e46c87964ba7aa4120235c tree 3f055910e42abf0d2d312bf3feda79dd6798f76e parent e0661111e5441995f7a69dc4336c9f131cb9bc58 author Andrew Morton Fri, 24 Mar 2006 03:18:36 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] RLIMIT_CPU: document wrong return value Document the fact that setrlimit(RLIMIT_CPU) doesn't return error codes when it should. I don't think we can fix this without a 2.7.x.. Cc: Martin Schwidefsky Cc: Ulrich Weigand Cc: Cliff Wickman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0661111e5441995f7a69dc4336c9f131cb9bc58 tree 47a0a0ae66a9f792e6c9edbf683cdc0b62a2d4b7 parent ec9e16bacdba1da1ee15dd162384e22df5c87e09 author Andrew Morton Fri, 24 Mar 2006 03:18:35 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] RLIMIT_CPU: fix handling of a zero limit At present the kernel doesn't honour an attempt to set RLIMIT_CPU to zero seconds. But the spec says it should, and that's what 2.4.x does. Fixing this for real would involve some complexity (such as adding a new it-has-been-set flag to the task_struct, and testing that everwhere, instead of overloading the value of it_prof_expires). Given that a 2.4 kernel won't actually send the signal until one second has expired anyway, let's just handle this case by treating the caller's zero-seconds as one second. Cc: Martin Schwidefsky Cc: Ulrich Weigand Cc: Cliff Wickman Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec9e16bacdba1da1ee15dd162384e22df5c87e09 tree c69536db0e5a8814051745faa77fc34eea9ac75c parent de62a97ef576a1f6b5013139ded9893226375bbb author Andrew Morton Fri, 24 Mar 2006 03:18:34 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] sys_setrlimit() cleanup - Whitespace cleanups - Make that expression comprehensible. There's a potential logic change here: we do the "is it_prof_expires equal to zero" test after converting it to seconds, rather than doing the comparison between raw cputime_t's. But given that it's in units of seconds anyway, that shouldn't change anything. Cc: Martin Schwidefsky Cc: Ulrich Weigand Cc: Cliff Wickman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de62a97ef576a1f6b5013139ded9893226375bbb tree 39589587c7c48b4d2e3f1dc6a1c8ddb863ce814c parent 554b7c801e379e8c0072533b4da89a3a003cbfac author Christoph Hellwig Fri, 24 Mar 2006 03:18:33 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] deprecate the tasklist_lock export Drivers have no business looking at the task list and thus using this lock. The only possibly modular users left are: arch/ia64/kernel/mca.c drivers/edac/edac_mc.c fs/binfmt_elf.c which I'll send out fixes for soon. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 554b7c801e379e8c0072533b4da89a3a003cbfac tree 86f2da1549e37648948fe3d091ecc76c18714597 parent 57c2d60e1e3db506cdcecbf60f939593125db7f8 author Alan Cox Fri, 24 Mar 2006 03:18:32 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] Yet more rio cleaning (2 of 2) - Remove more unused headers - Remove various typedefs - Correct type of PaddrP (physical addresses should be ulong) - Kill use of bcopy - More printk cleanups - Kill true/false - Clean up direct access to pci BARs Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57c2d60e1e3db506cdcecbf60f939593125db7f8 tree f91c0b9b1682772fd5150919fd8a57479700f2dc parent db3185242a9a369d5ef13cd2baf196507925009e author Alan Cox Fri, 24 Mar 2006 03:18:31 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] Yet more rio cleaning (1 of 2) - Remove more unused headers - Remove various typedefs - Correct type of PaddrP (physical addresses should be ulong) - Kill use of bcopy - More printk cleanups - Kill true/false - Clean up direct access to pci BARs Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db3185242a9a369d5ef13cd2baf196507925009e tree 7fd6fcd3df83ba2af2f54f5861091f019d68cde3 parent 3d336aa257ba382c3ad7883ee000cbacb761e411 author Alan Cox Fri, 24 Mar 2006 03:18:30 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #5 Final polish. There is no more save_flags/cli type locking left. We also no longer use the pcicopy function and file so they can go. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d336aa257ba382c3ad7883ee000cbacb761e411 tree 655026fde099cb11ac6c3bac67092a6ebc9551d8 parent 00d83a54aa824b11ebc8c66c4a879cfeb5029a22 author Alan Cox Fri, 24 Mar 2006 03:18:29 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #4 Third large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 00d83a54aa824b11ebc8c66c4a879cfeb5029a22 tree c4d13bb89b7ee082439ae75a5c1ee2d9da52c3c4 parent e2b3afd676ad3e15ca2efca3b3605c7d817ec6e3 author Alan Cox Fri, 24 Mar 2006 03:18:28 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #3 Second large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2b3afd676ad3e15ca2efca3b3605c7d817ec6e3 tree f6b7c9739e20a865b6f1f379ccbab67a63ddec53 parent 27c6e526f34760a9c48a90112242b7165064fa85 author Alan Cox Fri, 24 Mar 2006 03:18:27 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #2 First large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27c6e526f34760a9c48a90112242b7165064fa85 tree 40505dbe2ab69e7f8077c7473984deecff0203f3 parent b6c6b6021ec735bd105e130ac1ee1606575f74c3 author Alan Cox Fri, 24 Mar 2006 03:18:26 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #1 More header cleanups, strip out typedefs and remove cruft. There are a lot of magic macros that can go and also a great deal of abuse of volatile that is not needed any more as this patch set cleans up the misuse of pointer access to ISA and PCI space. It now builds cleanly on 64bit, although there is more work left to do Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6c6b6021ec735bd105e130ac1ee1606575f74c3 tree 098596ea049ca6ec10cb999ef2db943936c35a56 parent 3b8e3f1e44326115f2a28a63ede62b1f5c53e46e author Alan Cox Fri, 24 Mar 2006 03:18:26 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] rioboot: post-Lindent After the indent we can now clean up unused code, and fix all myriad cases that don't use readb/writeb properly. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b8e3f1e44326115f2a28a63ede62b1f5c53e46e tree d8f285f56cd2c178612f014ba8e07b5bbd66e22f parent 74769abfcb430b839914f3fe91e23a4f628d9553 author Alan Cox Fri, 24 Mar 2006 03:18:24 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] rioboot: lindent This is the result of indent -kr -i8 -bri0 -l255 Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74769abfcb430b839914f3fe91e23a4f628d9553 tree af7443e43f236d4d9e6c87ef777989989f1079ec parent 10e705f83c3e796893a70fb872895ba604901166 author Alan Cox Fri, 24 Mar 2006 03:18:24 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] rio: more header cleanup Strip some of the typedef mess out Remove a small subset of unused defines and the like. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10e705f83c3e796893a70fb872895ba604901166 tree 61323e87e4c23de924b83a7acaced7ede6e257fc parent ac515898f35eaf7b77529cb0560115345d73bc15 author Takashi Iwai Fri, 24 Mar 2006 03:18:23 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] Fix "value computed not used" warnings Fixes for annoying gcc-4.1 compile warnings "value computed not used". Simply cast to void. (akpm: Linus will go ballistic...) Signed-off-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac515898f35eaf7b77529cb0560115345d73bc15 tree 392eb4e84c0d9e6bb4248bf7a2b3a5631d7646bd parent 208a08f7cc2a8932ed76162d9844f9ae7d7fc015 author Christoph Hellwig Fri, 24 Mar 2006 03:18:22 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] deprecate the kernel_thread export Announce that the kernel_thread export will be removed in half a year, after all it's users have been converted to the kthread_ API, which I plan to do over the next month. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 208a08f7cc2a8932ed76162d9844f9ae7d7fc015 tree 6f0eb837cf8c1ce131c93ecf52476046519c5969 parent f751d50f6dea1446797c9a31f5c183002e5780a8 author Kumar Gala Fri, 24 Mar 2006 03:18:21 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] ide: Allow IDE interface to specify its not capable of 32-bit operations In some embedded systems the IDE hardware interface may only support 16-bit or smaller accesses. Allow the interface to specify if this is the case and don't allow the drive or user to override the setting. Signed-off-by: Kumar Gala Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f751d50f6dea1446797c9a31f5c183002e5780a8 tree 9d8bc20f7f0fcb26e53865dbe10e5526e4dd3483 parent 82d821ddca8f5c990067cc37543010aa9346a172 author Adrian Bunk Fri, 24 Mar 2006 03:18:21 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] show MCP menu only on ARCH_SA1100 On architectures like i386, the "Multimedia Capabilities Port drivers" menu is visible, but it can't be visited since it contains nothing usable for !ARCH_SA1100. This patch therefore shows this menu only on ARCH_SA1100. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82d821ddca8f5c990067cc37543010aa9346a172 tree 32e544f964f202d1ee7a135370ea0f6661098bcd parent 2ea1c5392cc8ce249fb661db4f4cdfbbae373a89 author Kyle McMartin Fri, 24 Mar 2006 03:18:20 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] Conditionalize compat_sys_newfstatat If we don't want sys_newfstatat because __ARCH_WANT_STAT64 is defined, then we certainly don't want compat_sys_newfstatat either. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ea1c5392cc8ce249fb661db4f4cdfbbae373a89 tree 07e612d8e1e6c015f7da2702f2af4129e63db15c parent 7e9dd124b90af80824754f68c0b246cfd0fb624b author John Z. Bohach Fri, 24 Mar 2006 03:18:19 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] console_setup() depends (wrongly?) on CONFIG_PRINTK It appears that console_setup() code only gets compiled into the kernel if CONFIG_PRINTK is enabled. One detrimental side-effect of this is that serial8250_console_setup() never gets invoked when CONFIG_PRINTK is not set, resulting in baud rate not being read/parsed from command line (i.e. console=ttyS0,115200n8 is ignored, at least the baud rate part...) Attached patch moves console_setup() code from inside #ifdef CONFIG_PRINTK to outside (in printk.c), removing dependence on said config. option. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e9dd124b90af80824754f68c0b246cfd0fb624b tree 412027f65e6c5df873295397fe1c70e900285a50 parent d129bceb1d44ed3c23b99164849193703372bab4 author Nico Schottelius Fri, 24 Mar 2006 03:18:18 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] Updated Documentation/nfsroot.txt I today booted the first time my embedded device using Linux 2.6.15.2, which was booted by pxelinux, which then bootet itself from the nfsroot. This went pretty fine, but when I was reading through Documentation/nfsroot.txt I saw that there are some more modern versions available of loading the kernel and passing parameters. Signed-off-by: Nico Schottelius Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d129bceb1d44ed3c23b99164849193703372bab4 tree bcc7fbf2d0cde5fb437d835358ae42f788b14ac1 parent 97f2478db161714d0e3e864f38f5789c66f98b81 author Pierre Ossman Fri, 24 Mar 2006 03:18:17 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] mmc: Secure Digital Host Controller Interface driver Driver for the Secure Digital Host Controller Interface specification. Signed-off-by: Pierre Ossman Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97f2478db161714d0e3e864f38f5789c66f98b81 tree 685e6215bfb63cae2c288dd0af96378f81a33cfa parent 8f2e9f157a94f444dad974b088b853ac40785b02 author Pierre Ossman Fri, 24 Mar 2006 03:18:16 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] Secure Digital Host Controller id and regs Class code and register definitions for the Secure Digital Host Controller standard. Signed-off-by: Pierre Ossman Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f2e9f157a94f444dad974b088b853ac40785b02 tree a8a3b2413ffb2a4a6f84762f052f0f6b4699ef9a parent 18e79b40ed9c5223b88771f805c69f5993fc131b author Andrew Morton Fri, 24 Mar 2006 03:18:15 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] msync(): use do_fsync() No need to duplicate all that code. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18e79b40ed9c5223b88771f805c69f5993fc131b tree cc628524d4bfe3166bbe9d8d7217a1cb009ea209 parent 676758bdb7bfca8413a85203921746f446e237be author Andrew Morton Fri, 24 Mar 2006 03:18:14 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] fsync: extract internal code Pull the guts out of do_fsync() - we can use it elsewhere. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 676758bdb7bfca8413a85203921746f446e237be tree 23c731f429652e16f2cdba98cd503eaa059f929b parent 707c21c848deeb0200ba3f07e4ba90e6dc419c2f author Andrew Morton Fri, 24 Mar 2006 03:18:14 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] msync: fix return value msync() does a strange thing. Essentially: vma = find_vma(); for ( ; ; ) { if (!vma) return -ENOMEM; ... vma = vma->vm_next; } so an msync() request which starts within or before a valid VMA and which ends within or beyond the final VMA will incorrectly return -ENOMEM. Fix. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 707c21c848deeb0200ba3f07e4ba90e6dc419c2f tree d8e8f32916ac1f04e45e42595ddd0ef771ddb1ad parent 9c50823eebf7c256b92b4e0f02b5fb30e97788c2 author Andrew Morton Fri, 24 Mar 2006 03:18:13 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] msync(MS_SYNC): don't hold mmap_sem while syncing It seems bad to hold mmap_sem while performing synchronous disk I/O. Alter the msync(MS_SYNC) code so that the lock is released while we sync the file. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c50823eebf7c256b92b4e0f02b5fb30e97788c2 tree 241b754698c3501355d1061c828ab6d894dba617 parent 4741c9fd36b3bcadd37238321c469049da94a4b9 author Andrew Morton Fri, 24 Mar 2006 03:18:12 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] msync(): perform dirty page levelling It seems sensible to perform dirty page throttling in msync: as the application dirties pages we can kick off pdflush early, or even force the msync() caller to perform writeout, or even throttle the msync() caller. The main effect of this is to start disk writeback earlier if we've just discovered that a large amount of pagecache has been dirtied. (Otherwise it wouldn't happen for up to five seconds, next time pdflush wakes up). It also will cause the page-dirtying process to get panalised for dirtying those pages rather than whacking someone else with the problem. We should do this for munmap() and possibly even exit(), too. We drop the mmap_sem while performing the dirty page balancing. It doesn't seem right to hold mmap_sem for that long. Note that this patch only affects MS_ASYNC. MS_SYNC will be syncing all the dirty pages anyway. We note that msync(MS_SYNC) does a full-file-sync inside mmap_sem, and always has. We can fix that up... The patch also tightens up the mmap_sem coverage in sys_msync(): no point in taking it while we perform the incoming arg checking. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4741c9fd36b3bcadd37238321c469049da94a4b9 tree 4b3031b04cdbf2d3c5a4fcc1965ed857f1cf0ce4 parent fa5a734e406b53761fcc5ee22366006f71112c2d author Andrew Morton Fri, 24 Mar 2006 03:18:11 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] set_page_dirty() return value fixes We need set_page_dirty() to return true if it actually transitioned the page from a clean to dirty state. This wasn't right in a couple of places. Do a kernel-wide audit, fix things up. This leaves open the possibility of returning a negative errno from set_page_dirty() sometime in the future. But we don't do that at present. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa5a734e406b53761fcc5ee22366006f71112c2d tree 003a238b9207e38f747bfb119a30fb52f1cd5ae9 parent 8a14342683b1e3adcf5f78660a42fcbd95b44a35 author Andrew Morton Fri, 24 Mar 2006 03:18:10 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] balance_dirty_pages_ratelimited: take nr_pages arg Modify balance_dirty_pages_ratelimited() so that it can take a number-of-pages-which-I-just-dirtied argument. For msync(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a14342683b1e3adcf5f78660a42fcbd95b44a35 tree 332265cb9fe8b1e107864cdb380bf5f6b4bfb840 parent 2ecb9e633c5057d1203a59ef3e5c3aaea37c402e author Eric Dumazet Fri, 24 Mar 2006 03:18:10 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] HOTPLUG_CPU: avoid hitting too many cachelines in recalc_bh_state() Instead of using for_each_cpu(i), we can use for_each_online_cpu(i). When a CPU goes offline (ie removed from online map), it might have a non null bh_accounting.nr, so this patch adds a transfer of this counter to an online CPU counter. We already have a hotcpu_notifier, (function buffer_cpu_notify()), where we can do this bh_accounting. Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ecb9e633c5057d1203a59ef3e5c3aaea37c402e tree 9df374a3ef0bf531b27bcb19668f5ed1bbeb3732 parent 453ae9337aa3a7da12db723223998c7f75a026c0 author Arthur Othieno Fri, 24 Mar 2006 03:18:08 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] sound: remove PC98-specific OPL3_HW_OPL3_PC98 OPL3_HW_OPL3_PC98 #define isn't used anywhere; previously in sound/drivers/opl3/opl3_lib.c and sound/isa/cs423x/pc98.c, the latter of which went away with the rest of PC98 subarch. Signed-off-by: Arthur Othieno Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 453ae9337aa3a7da12db723223998c7f75a026c0 tree d4718e57787330e2ffbded21ee6349c79e8d963b parent df1e2fb540368d0f9640045235f81923fa63acb7 author Arthur Othieno Fri, 24 Mar 2006 03:18:07 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] block: floppy98 removal, really. floppy98 went out together with the rest of PC98 subarch. Remove stale Makefile entry that remained. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df1e2fb540368d0f9640045235f81923fa63acb7 tree aae81d11a102030772ab5a1a6bfa55820fbaf0da parent 38885bd4c2a4b59ddb22271d3e6c621859c76f02 author Hugh Dickins Fri, 24 Mar 2006 03:18:06 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] shmdt: check address alignment SUSv3 says the shmdt() function shall fail with EINVAL if the value of shmaddr is not the data segment start address of a shared memory segment: our sys_shmdt needs to reject a shmaddr which is not page-aligned. Does it have the potential to break existing apps? Hugh says "sys_shmdt() just does the wrong (unexpected) thing with a misaligned address: it'll fail on what you might expect it to succeed on, and only succeed on what it should definitely fail on. "That is, I think it behaves as if shmaddr gets rounded up, when the only understandable behaviour would be if it rounded it down. "Which does mean you'd have to be devious to see anything but EINVAL from a misaligned shmaddr there, so it's not terribly important." Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38885bd4c2a4b59ddb22271d3e6c621859c76f02 tree 60a4528db40c182f7091c8d84433542dabbc8faa parent a94ddf3ab866df9c187c9d8b3870b7ec38c6f7ad author Coywolf Qi Hunt Fri, 24 Mar 2006 03:18:05 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] sb_set_blocksize cleanup sb_set_blocksize() cleanup: make sb_set_blocksize() use blksize_bits(). Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a94ddf3ab866df9c187c9d8b3870b7ec38c6f7ad tree e52f82a6b200c03f9a2c83b31bc0ff3d249a7308 parent ebcf28e1c7a295f3321249dd235ad2e45938fdd9 author Randy Dunlap Fri, 24 Mar 2006 03:18:05 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] early_printk: cleanup trailiing whitespace Remove all trailing tabs and spaces. No other changes. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebcf28e1c7a295f3321249dd235ad2e45938fdd9 tree fdd2e131e627af55d3741a7fafad0edaa61410c1 parent 469eb4d03878b676418f853011ebfb54ccf83a5e author Andrew Morton Fri, 24 Mar 2006 03:18:04 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] fadvise(): write commands Add two new linux-specific fadvise extensions(): LINUX_FADV_ASYNC_WRITE: start async writeout of any dirty pages between file offsets `offset' and `offset+len'. Any pages which are currently under writeout are skipped, whether or not they are dirty. LINUX_FADV_WRITE_WAIT: wait upon writeout of any dirty pages between file offsets `offset' and `offset+len'. By combining these two operations the application may do several things: LINUX_FADV_ASYNC_WRITE: push some or all of the dirty pages at the disk. LINUX_FADV_WRITE_WAIT, LINUX_FADV_ASYNC_WRITE: push all of the currently dirty pages at the disk. LINUX_FADV_WRITE_WAIT, LINUX_FADV_ASYNC_WRITE, LINUX_FADV_WRITE_WAIT: push all of the currently dirty pages at the disk, wait until they have been written. It should be noted that none of these operations write out the file's metadata. So unless the application is strictly performing overwrites of already-instantiated disk blocks, there are no guarantees here that the data will be available after a crash. To complete this suite of operations I guess we should have a "sync file metadata only" operation. This gives applications access to all the building blocks needed for all sorts of sync operations. But sync-metadata doesn't fit well with the fadvise() interface. Probably it should be a new syscall: sys_fmetadatasync(). The patch also diddles with the meaning of `endbyte' in sys_fadvise64_64(). It is made to represent that last affected byte in the file (ie: it is inclusive). Generally, all these byterange and pagerange functions are inclusive so we can easily represent EOF with -1. As Ulrich notes, these two functions are somewhat abusive of the fadvise() concept, which appears to be "set the future policy for this fd". But these commands are a perfect fit with the fadvise() impementation, and several of the existing fadvise() commands are synchronous and don't affect future policy either. I think we can live with the slight incongruity. Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 469eb4d03878b676418f853011ebfb54ccf83a5e tree 38b10385c6241778ca88c6015ded3ba68d39a23c parent 604bf5a216e7f2d97cdf62614ca1281921531040 author Andrew Morton Fri, 24 Mar 2006 03:17:45 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] filemap_fdatawrite_range() api: clarify -end parameter I had trouble understanding working out whether filemap_fdatawrite_range()'s `end' parameter describes the last-byte-to-be-written or the last-plus-one. Clarify that in comments. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 604bf5a216e7f2d97cdf62614ca1281921531040 tree 3510302f5ff0ae04940eb79b67cffe6dee561908 parent ab7efcc97ebc92e03c0474dfd38f9c7b84b84115 author Jan Beulich Fri, 24 Mar 2006 03:16:19 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] CONFIG_UNWIND_INFO As a foundation for reliable stack unwinding, this adds a config option (available to all architectures except IA64 and those where the module loader might have problems with the resulting relocations) to enable the generation of frame unwind information. Signed-off-by: Jan Beulich Cc: Miles Bader Cc: "Luck, Tony" Cc: Ralf Baechle Cc: Kyle McMartin Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: "David S. Miller" Cc: Paul Mundt , Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab7efcc97ebc92e03c0474dfd38f9c7b84b84115 tree b0eb6b9abce5c47af9c61b606f37ec1c4d247e65 parent 09fe316a7b10219be592118626850e1dfdfcc1aa author Jan Beulich Fri, 24 Mar 2006 03:16:17 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] abstract type/size specification for assembly Provide abstraction for generating type and size information of assembly routines and data, while permitting architectures to override these defaults. Signed-off-by: Jan Beulich Cc: "Russell King" Cc: Ralf Baechle Cc: "Andi Kleen" Cc: "Luck, Tony" Cc: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09fe316a7b10219be592118626850e1dfdfcc1aa tree 09542092195cc918f3566102e2b4090936e160b2 parent e933b6d6511dc80c63ab36fd584715371ae293c7 author Alex Tomas Fri, 24 Mar 2006 03:16:16 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] fast ext3_statfs Under I/O load it may take up to a dozen seconds to read all group descriptors. This is what ext3_statfs() does. At the same time, we already maintain global numbers of free inodes/blocks. Why don't we use them instead of group reading and summing? Cc: Ravikiran G Thirumalai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e933b6d6511dc80c63ab36fd584715371ae293c7 tree 96bc02983930590f4edc938a37ab14006e3d352b parent 5b3cf3e0f019fcfe1e0c26aedb4d54b5e5be3a7b author Olaf Hering Fri, 24 Mar 2006 03:16:15 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] remove ipmi pm_power_off redefinition Use the global define of pm_power_off Signed-off-by: Olaf Hering Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b3cf3e0f019fcfe1e0c26aedb4d54b5e5be3a7b tree 516fa7597b59dfdd934d7f35bc303a8fe578c420 parent 53b3531bbbf70ac7551b32d1acc229d94de52658 author Pekka Enberg Fri, 24 Mar 2006 03:16:14 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] isofs: remove unused debugging macros Remove unused debugging macros from isofs. The referred debug functions do not exist in the kernel. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53b3531bbbf70ac7551b32d1acc229d94de52658 tree 644440c93f599bbf64bb0b703c97b03b4dc5d737 parent 29afd49b72a9b2c26fa8c678bcf3976d0540446b author Alexey Dobriyan Fri, 24 Mar 2006 03:16:13 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] s/;;/;/g Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29afd49b72a9b2c26fa8c678bcf3976d0540446b tree 4cc12f5bb3c5c3ee668226990e79115081609265 parent b2455396be35383c4eebc6745cc718b1dd9e23df author Paul Jackson Fri, 24 Mar 2006 03:16:12 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] cpuset: remove useless local variable initialization Remove a useless variable initialization in cpuset __cpuset_zone_allowed(). The local variable 'allowed' is unconditionally set before use, later on in the code, so does not need to be initialized. Not that it seems to matter to the code generated any, as the compiler optimizes out the superfluous assignment anyway. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2455396be35383c4eebc6745cc718b1dd9e23df tree 9ed4d43f1ca944c23372fad6554508f1747f5e2d parent 151a44202d097ae8b1bbaa6d8d2f97df30e3cd1e author Paul Jackson Fri, 24 Mar 2006 03:16:12 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] cpuset: memory_spread_slab drop useless PF_SPREAD_PAGE check The hook in the slab cache allocation path to handle cpuset memory spreading for tasks in cpusets with 'memory_spread_slab' enabled has a modest performance bug. The hook calls into the memory spreading handler alternate_node_alloc() if either of 'memory_spread_slab' or 'memory_spread_page' is enabled, even though the handler does nothing (albeit harmlessly) for the page case Fix - drop PF_SPREAD_PAGE from the set of flag bits that are used to trigger a call to alternate_node_alloc(). The page case is handled by separate hooks -- see the calls conditioned on cpuset_do_page_mem_spread() in mm/filemap.c Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 151a44202d097ae8b1bbaa6d8d2f97df30e3cd1e tree 3752bba902e73001443bb75f40495cc3a1d24f54 parent 8488bc359d674baf710992e4b641513ea5ebd212 author Paul Jackson Fri, 24 Mar 2006 03:16:11 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] cpuset: don't need to mark cpuset_mems_generation atomic Drop the atomic_t marking on the cpuset static global cpuset_mems_generation. Since all access to it is guarded by the global manage_mutex, there is no need for further serialization of this value. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8488bc359d674baf710992e4b641513ea5ebd212 tree 28f6558f6b006c5a28a64a1beabec5498d9b77d4 parent b0196009d8c3ecf6ea6ec080c63d2ccc146e7ad9 author Paul Jackson Fri, 24 Mar 2006 03:16:10 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset: remove unnecessary NULL check Remove a no longer needed test for NULL cpuset pointer, with a little comment explaining why the test isn't needed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0196009d8c3ecf6ea6ec080c63d2ccc146e7ad9 tree 3fcb06af54faf92fa5d9d82d5659762d2b742e1c parent c61afb181c649754ea221f104e268cbacfc993e3 author Paul Jackson Fri, 24 Mar 2006 03:16:09 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread slab cache hooks Change the kmem_cache_create calls for certain slab caches to support cpuset memory spreading. See the previous patches, cpuset_mem_spread, for an explanation of cpuset memory spreading, and cpuset_mem_spread_slab_cache for the slab cache support for memory spreading. The slab caches marked for now are: dentry_cache, inode_cache, some xfs slab caches, and buffer_head. This list may change over time. In particular, other file system types that are used extensively on large NUMA systems may want to allow for spreading their directory and inode slab cache entries. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c61afb181c649754ea221f104e268cbacfc993e3 tree 870917b3f9175cf1663a2620d989856913cfb5f8 parent 101a50019ae5e370d73984ee05d56dd3b08f330a author Paul Jackson Fri, 24 Mar 2006 03:16:08 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread slab cache optimizations The hooks in the slab cache allocator code path for support of NUMA mempolicies and cpuset memory spreading are in an important code path. Many systems will use neither feature. This patch optimizes those hooks down to a single check of some bits in the current tasks task_struct flags. For non NUMA systems, this hook and related code is already ifdef'd out. The optimization is done by using another task flag, set if the task is using a non-default NUMA mempolicy. Taking this flag bit along with the PF_SPREAD_PAGE and PF_SPREAD_SLAB flag bits added earlier in this 'cpuset memory spreading' patch set, one can check for the combination of any of these special case memory placement mechanisms with a single test of the current tasks task_struct flags. This patch also tightens up the code, to save a few bytes of kernel text space, and moves some of it out of line. Due to the nested inlines called from multiple places, we were ending up with three copies of this code, which once we get off the main code path (for local node allocation) seems a bit wasteful of instruction memory. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 101a50019ae5e370d73984ee05d56dd3b08f330a tree f5628837d4bb68a4109dfb8d6601f95b630848c3 parent fffb60f93ce5880aade88e01d7133b52a4879710 author Paul Jackson Fri, 24 Mar 2006 03:16:07 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread slab cache implementation Provide the slab cache infrastructure to support cpuset memory spreading. See the previous patches, cpuset_mem_spread, for an explanation of cpuset memory spreading. This patch provides a slab cache SLAB_MEM_SPREAD flag. If set in the kmem_cache_create() call defining a slab cache, then any task marked with the process state flag PF_MEMSPREAD will spread memory page allocations for that cache over all the allowed nodes, instead of preferring the local (faulting) node. On systems not configured with CONFIG_NUMA, this results in no change to the page allocation code path for slab caches. On systems with cpusets configured in the kernel, but the "memory_spread" cpuset option not enabled for the current tasks cpuset, this adds a call to a cpuset routine and failed bit test of the processor state flag PF_SPREAD_SLAB. For tasks so marked, a second inline test is done for the slab cache flag SLAB_MEM_SPREAD, and if that is set and if the allocation is not in_interrupt(), this adds a call to to a cpuset routine that computes which of the tasks mems_allowed nodes should be preferred for this allocation. ==> This patch adds another hook into the performance critical code path to allocating objects from the slab cache, in the ____cache_alloc() chunk, below. The next patch optimizes this hook, reducing the impact of the combined mempolicy plus memory spreading hooks on this critical code path to a single check against the tasks task_struct flags word. This patch provides the generic slab flags and logic needed to apply memory spreading to a particular slab. A subsequent patch will mark a few specific slab caches for this placement policy. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fffb60f93ce5880aade88e01d7133b52a4879710 tree 7882f0550af8580c0646306f6d391fe610f7ef8c parent 4b6a9316fab51af611dc8671f296734089f6a22a author Paul Jackson Fri, 24 Mar 2006 03:16:06 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread: slab cache format Rewrap the overly long source code lines resulting from the previous patch's addition of the slab cache flag SLAB_MEM_SPREAD. This patch contains only formatting changes, and no function change. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b6a9316fab51af611dc8671f296734089f6a22a tree 078f8f0f01a206af529bef137d5b71515c39053d parent 44110fe385af23ca5eee8a6ad4ff55d50339097a author Paul Jackson Fri, 24 Mar 2006 03:16:05 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread: slab cache filesystems Mark file system inode and similar slab caches subject to SLAB_MEM_SPREAD memory spreading. If a slab cache is marked SLAB_MEM_SPREAD, then anytime that a task that's in a cpuset with the 'memory_spread_slab' option enabled goes to allocate from such a slab cache, the allocations are spread evenly over all the memory nodes (task->mems_allowed) allowed to that task, instead of favoring allocation on the node local to the current cpu. The following inode and similar caches are marked SLAB_MEM_SPREAD: file cache ==== ===== fs/adfs/super.c adfs_inode_cache fs/affs/super.c affs_inode_cache fs/befs/linuxvfs.c befs_inode_cache fs/bfs/inode.c bfs_inode_cache fs/block_dev.c bdev_cache fs/cifs/cifsfs.c cifs_inode_cache fs/coda/inode.c coda_inode_cache fs/dquot.c dquot fs/efs/super.c efs_inode_cache fs/ext2/super.c ext2_inode_cache fs/ext2/xattr.c (fs/mbcache.c) ext2_xattr fs/ext3/super.c ext3_inode_cache fs/ext3/xattr.c (fs/mbcache.c) ext3_xattr fs/fat/cache.c fat_cache fs/fat/inode.c fat_inode_cache fs/freevxfs/vxfs_super.c vxfs_inode fs/hpfs/super.c hpfs_inode_cache fs/isofs/inode.c isofs_inode_cache fs/jffs/inode-v23.c jffs_fm fs/jffs2/super.c jffs2_i fs/jfs/super.c jfs_ip fs/minix/inode.c minix_inode_cache fs/ncpfs/inode.c ncp_inode_cache fs/nfs/direct.c nfs_direct_cache fs/nfs/inode.c nfs_inode_cache fs/ntfs/super.c ntfs_big_inode_cache_name fs/ntfs/super.c ntfs_inode_cache fs/ocfs2/dlm/dlmfs.c dlmfs_inode_cache fs/ocfs2/super.c ocfs2_inode_cache fs/proc/inode.c proc_inode_cache fs/qnx4/inode.c qnx4_inode_cache fs/reiserfs/super.c reiser_inode_cache fs/romfs/inode.c romfs_inode_cache fs/smbfs/inode.c smb_inode_cache fs/sysv/inode.c sysv_inode_cache fs/udf/super.c udf_inode_cache fs/ufs/super.c ufs_inode_cache net/socket.c sock_inode_cache net/sunrpc/rpc_pipe.c rpc_inode_cache The choice of which slab caches to so mark was quite simple. I marked those already marked SLAB_RECLAIM_ACCOUNT, except for fs/xfs, dentry_cache, inode_cache, and buffer_head, which were marked in a previous patch. Even though SLAB_RECLAIM_ACCOUNT is for a different purpose, it marks the same potentially large file system i/o related slab caches as we need for memory spreading. Given that the rule now becomes "wherever you would have used a SLAB_RECLAIM_ACCOUNT slab cache flag before (usually the inode cache), use the SLAB_MEM_SPREAD flag too", this should be easy enough to maintain. Future file system writers will just copy one of the existing file system slab cache setups and tend to get it right without thinking. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44110fe385af23ca5eee8a6ad4ff55d50339097a tree 50ed2bfe054b8e35968d8e4a5fbe95c8b3db843b parent 825a46af5ac171f9f41f794a0a00165588ba1589 author Paul Jackson Fri, 24 Mar 2006 03:16:04 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpuset memory spread page cache implementation and hooks Change the page cache allocation calls to support cpuset memory spreading. See the previous patch, cpuset_mem_spread, for an explanation of cpuset memory spreading. On systems without cpusets configured in the kernel, this is no change. On systems with cpusets configured in the kernel, but the "memory_spread" cpuset option not enabled for the current tasks cpuset, this adds a call to a cpuset routine and failed bit test of the processor state flag PF_SPREAD_PAGE. On tasks in cpusets with "memory_spread" enabled, this adds a call to a cpuset routine that computes which of the tasks mems_allowed nodes should be preferred for this allocation. If memory spreading applies to a particular allocation, then any other NUMA mempolicy does not apply. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 825a46af5ac171f9f41f794a0a00165588ba1589 tree b690fe9d809d7b047f0393097fc79892e1217d98 parent 8a39cc60bfa5a72f32d975729a354daca124f6de author Paul Jackson Fri, 24 Mar 2006 03:16:03 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpuset memory spread basic implementation This patch provides the implementation and cpuset interface for an alternative memory allocation policy that can be applied to certain kinds of memory allocations, such as the page cache (file system buffers) and some slab caches (such as inode caches). The policy is called "memory spreading." If enabled, it spreads out these kinds of memory allocations over all the nodes allowed to a task, instead of preferring to place them on the node where the task is executing. All other kinds of allocations, including anonymous pages for a tasks stack and data regions, are not affected by this policy choice, and continue to be allocated preferring the node local to execution, as modified by the NUMA mempolicy. There are two boolean flag files per cpuset that control where the kernel allocates pages for the file system buffers and related in kernel data structures. They are called 'memory_spread_page' and 'memory_spread_slab'. If the per-cpuset boolean flag file 'memory_spread_page' is set, then the kernel will spread the file system buffers (page cache) evenly over all the nodes that the faulting task is allowed to use, instead of preferring to put those pages on the node where the task is running. If the per-cpuset boolean flag file 'memory_spread_slab' is set, then the kernel will spread some file system related slab caches, such as for inodes and dentries evenly over all the nodes that the faulting task is allowed to use, instead of preferring to put those pages on the node where the task is running. The implementation is simple. Setting the cpuset flags 'memory_spread_page' or 'memory_spread_cache' turns on the per-process flags PF_SPREAD_PAGE or PF_SPREAD_SLAB, respectively, for each task that is in the cpuset or subsequently joins that cpuset. In subsequent patches, the page allocation calls for the affected page cache and slab caches are modified to perform an inline check for these flags, and if set, a call to a new routine cpuset_mem_spread_node() returns the node to prefer for the allocation. The cpuset_mem_spread_node() routine is also simple. It uses the value of a per-task rotor cpuset_mem_spread_rotor to select the next node in the current tasks mems_allowed to prefer for the allocation. This policy can provide substantial improvements for jobs that need to place thread local data on the corresponding node, but that need to access large file system data sets that need to be spread across the several nodes in the jobs cpuset in order to fit. Without this patch, especially for jobs that might have one thread reading in the data set, the memory allocation across the nodes in the jobs cpuset can become very uneven. A couple of Copyright year ranges are updated as well. And a couple of email addresses that can be found in the MAINTAINERS file are removed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a39cc60bfa5a72f32d975729a354daca124f6de tree c8a364e6fc5186293bca85152c442a4a23df4822 parent 7b5b9ef0e17d52c188fe73ea78e884fe67079e6c author Paul Jackson Fri, 24 Mar 2006 03:16:01 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpuset use combined atomic_inc_return calls Replace pairs of calls to , with a single call atomic_inc_return, saving a few bytes of source and kernel text. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b5b9ef0e17d52c188fe73ea78e884fe67079e6c tree 6f131575486edc261e20bbcdb2f73ec28d159e91 parent 0b1303fcf23678ee1785841fb0c770a35cd0833c author Paul Jackson Fri, 24 Mar 2006 03:16:00 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpuset cleanup not not operators Since the test_bit() bit operator is boolean (return 0 or 1), the double not "!!" operations needed to convert a scalar (zero or not zero) to a boolean are not needed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b1303fcf23678ee1785841fb0c770a35cd0833c tree 78b90c2766f8468b39363bd4525ebaa9b192aa8f parent 95c3832272fc77ea3e31f6382f82ba17be985cc7 author Christoph Lameter Fri, 24 Mar 2006 03:15:59 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpusets: only wakeup kswapd for zones in the current cpuset If we get under some memory pressure in a cpuset (we only scan zones that are in the cpuset for memory) then kswapd is woken up for all zones. This patch only wakes up kswapd in zones that are part of the current cpuset. Signed-off-by: Christoph Lameter Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95c3832272fc77ea3e31f6382f82ba17be985cc7 tree 7a8ac960b4abec39004927443d2d1464112b805d parent cdb0452789d365695b5b173542af9c7e3d24f185 author Paul E. McKenney Fri, 24 Mar 2006 03:15:58 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] rcutorture: tag success/failure line with module parameters A long-running rcutorture test can overflow dmesg, so that the line containing the module parameters is lost. Although it is usually possible to retrieve this information from the log files, it is much better to just tag it onto the final success/failure line so that it may be easily found. This patch does just that. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdb0452789d365695b5b173542af9c7e3d24f185 tree f8594a754736aecfb52d835a2e12f46a923e6ed6 parent 008accbbae6b2f18c2039d563f28d46ff4388d36 author Adrian Bunk Fri, 24 Mar 2006 03:15:57 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] kill include/linux/platform.h, default_idle() cleanup include/linux/platform.h contained nothing that was actually used except the default_idle() prototype, and is therefore removed by this patch. This patch does the following with the platform specific default_idle() functions on different architectures: - remove the unused function: - parisc - sparc64 - make the needlessly global function static: - arm - h8300 - m68k - m68knommu - s390 - v850 - x86_64 - add a prototype in asm/system.h: - cris - i386 - ia64 Signed-off-by: Adrian Bunk Acked-by: Patrick Mochel Acked-by: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 008accbbae6b2f18c2039d563f28d46ff4388d36 tree af4ce5fd57dfa3b8a5a5f0b0654d3f45a4c51f08 parent ff45e99dcd31e1810a9892ce28190bff262e4e12 author Alexey Dobriyan Fri, 24 Mar 2006 03:15:56 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] extract-ikconfig: don't use --long-options Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff45e99dcd31e1810a9892ce28190bff262e4e12 tree 81d1e76fa63acd316e82b448a4c3878238fb822c parent 66f9f59a5bfcb9efc8acad5ff0ece02fdaca6817 author Alexey Dobriyan Fri, 24 Mar 2006 03:15:56 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] extract-ikconfig: be sure binoffset exists before extracting Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66f9f59a5bfcb9efc8acad5ff0ece02fdaca6817 tree 15e872b25c747dc96b639fd5ec65cc9b604528ac parent a4a6198b80cf82eb8160603c98da218d1bd5e104 author Alexey Dobriyan Fri, 24 Mar 2006 03:15:55 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] extract-ikconfig: use mktemp(1) Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4a6198b80cf82eb8160603c98da218d1bd5e104 tree 8c59e9088840b6b95e46c00ddda4fd7a134154c2 parent c98d8cfbc600af88e9e6cffc84dd342280445760 author Jan Beulich Fri, 24 Mar 2006 03:15:54 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] tvec_bases too large for per-cpu data With internal Xen-enabled kernels we see the kernel's static per-cpu data area exceed the limit of 32k on x86-64, and even native x86-64 kernels get fairly close to that limit. I generally question whether it is reasonable to have data structures several kb in size allocated as per-cpu data when the space there is rather limited. The biggest arch-independent consumer is tvec_bases (over 4k on 32-bit archs, over 8k on 64-bit ones), which now gets converted to use dynamically allocated memory instead. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c98d8cfbc600af88e9e6cffc84dd342280445760 tree bcf88e2905ba6b640e120a7c6529e3dcddb8c130 parent 2c2212901f8b3fc84f36cb98150cfc2f6b4752f8 author Adrian Bunk Fri, 24 Mar 2006 03:15:53 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] fs/coda/: proper prototypes Introduce a file fs/coda/coda_int.h with proper prototypes for some code. Signed-off-by: Adrian Bunk Acked-by: Jan Harkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c2212901f8b3fc84f36cb98150cfc2f6b4752f8 tree 6acfa5cc4f27ef40ea9f8238db74c7930da169f6 parent 29c6e48601065908e7933c0d8440f383fffe155b author Adrian Bunk Fri, 24 Mar 2006 03:15:53 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] fs/ext2/: proper ext2_get_parent() prototype Add a proper prototype for ext2_get_parent(). Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29c6e48601065908e7933c0d8440f383fffe155b tree f72cd38d9b533ba897b95dd1047edf3e378d6a46 parent caa9ee771de3195ae85ac6f8cb550f53e9ecdd82 author Adrian Bunk Fri, 24 Mar 2006 03:15:52 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] fs/9p/: possible cleanups - mux.c: v9fs_poll_mux() was inline but not static resuling in needless object size bloat - mux.c: remove all "inline"s: gcc should know best what to inline - #if 0 the following unused global functions: - 9p.c: v9fs_v9fs_t_flush() - conv.c: v9fs_create_tauth() - mux.c: v9fs_mux_rpcnb() Signed-off-by: Adrian Bunk Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit caa9ee771de3195ae85ac6f8cb550f53e9ecdd82 tree 8aa692f337e071718e698baefc631b58b446beff parent cba9f33d13a8ca3125b2a30abe2425ce562d8a83 author Oleg Nesterov Fri, 24 Mar 2006 03:15:50 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] rcu_process_callbacks: don't cli() while testing ->nxtlist __rcu_process_callbacks() disables interrupts to protect itself from call_rcu() which adds new entries to ->nxtlist. However we can check "->nxtlist != NULL" with interrupts enabled, we can't get "false positives" because call_rcu() can only change this condition from 0 to 1. Tested with rcutorture.ko. Signed-off-by: Oleg Nesterov Acked-by: Dipankar Sarma Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cba9f33d13a8ca3125b2a30abe2425ce562d8a83 tree e93e3da369be7e9f55d15d02908606a43cecfbb9 parent ed5b43f15a8e86e3ae939b98bc161ee973ecedf2 author Bart Samwel Fri, 24 Mar 2006 03:15:50 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] Range checking in do_proc_dointvec_(userhz_)jiffies_conv When (integer) sysctl values are in either seconds or centiseconds, but represented internally as jiffies, the allowable value range is decreased. This patch adds range checks to the conversion routines. For values in seconds: maximum LONG_MAX / HZ. For values in centiseconds: maximum (LONG_MAX / HZ) * USER_HZ. (BTW, does anyone else feel that an interface in seconds should not be accepting negative values?) Signed-off-by: Bart Samwel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed5b43f15a8e86e3ae939b98bc161ee973ecedf2 tree dcd5bc0b5817d6452b0897a08293317f470f4db9 parent f6ef943813ac3085ece7252ea101d663581219f6 author Bart Samwel Fri, 24 Mar 2006 03:15:49 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] Represent laptop_mode as jiffies internally Make that the internal value for /proc/sys/vm/laptop_mode is stored as jiffies instead of seconds. Let the sysctl interface do the conversions, instead of doing on-the-fly conversions every time the value is used. Add a description of the fact that laptop_mode doubles as a flag and a timeout to the comment above the laptop_mode variable. Signed-off-by: Bart Samwel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6ef943813ac3085ece7252ea101d663581219f6 tree e32d3e57ba6ae235ec1f510b16d77fe9bfa8f96e parent 36f574135e36b86bb6ae794bf1d0fce3efa5601f author Bart Samwel Fri, 24 Mar 2006 03:15:48 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] Represent dirty_*_centisecs as jiffies internally Make that the internal values for: /proc/sys/vm/dirty_writeback_centisecs /proc/sys/vm/dirty_expire_centisecs are stored as jiffies instead of centiseconds. Let the sysctl interface do the conversions with full precision using clock_t_to_jiffies, instead of doing overflow-sensitive on-the-fly conversions every time the values are used. Cons: apparent precision loss if HZ is not a multiple of 100, because of conversion back and forth. This is a common problem for all sysctl values that use proc_dointvec_userhz_jiffies. (There is only one other in-tree use, in net/core/neighbour.c.) Signed-off-by: Bart Samwel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36f574135e36b86bb6ae794bf1d0fce3efa5601f tree 9dd55b2244d2ac9f7e05098e7236aa8cf6cd6d60 parent 3cf64b933c90ba701cfdc7188431104c646d7c9e author Andrew Morton Fri, 24 Mar 2006 03:15:47 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] free_uid() locking improvement Reduce lock hold times in free_uid(). Cc: Ingo Molnar Cc: "Paul E. McKenney" Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cf64b933c90ba701cfdc7188431104c646d7c9e tree a51cd036519cfddc1235b7023320c0dc53939432 parent 74373c6acc52450ced28780d5fece60f1d7d20aa author Paul Jackson Fri, 24 Mar 2006 03:15:46 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] bitmap: region restructuring Restructure the bitmap_*_region() operations, to avoid code duplication. Also reduces binary text size by about 100 bytes (ia64 arch). The original Bottomley bitmap_*_region patch added about 1000 bytes of compiled kernel text (ia64). The Mundt multiword extension added another 600 bytes, and this restructuring patch gets back about 100 bytes. But the real motivation was the reduced amount of duplicated code. Tested by Paul Mundt using <= BITS_PER_LONG as well as power of 2 aligned multiword spanning allocations. Signed-off-by: Paul Mundt Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74373c6acc52450ced28780d5fece60f1d7d20aa tree 6717fce7fdebbda48ad62b79b4ff721fae1c8dc3 parent 87e24802586333fa861861f6493c76039872755b author Paul Mundt Fri, 24 Mar 2006 03:15:45 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] bitmap: region multiword spanning support Add support to the lib/bitmap.c bitmap_*_region() routines For bitmap regions larger than one word (nbits > BITS_PER_LONG). This removes a BUG_ON() in lib bitmap. I have an updated store queue API for SH that is currently using this with relative success, and at first glance, it seems like this could be useful for x86 (arch/i386/kernel/pci-dma.c) as well. Particularly for anything using dma_declare_coherent_memory() on large areas and that attempts to allocate large buffers from that space. Paul Jackson also did some cleanup to this patch. Signed-off-by: Paul Mundt Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87e24802586333fa861861f6493c76039872755b tree 631a252da4716798027cd96b4529351e601c50c6 parent f993b3bf80b23d329951fe0fc5ba3647d5d912e9 author Paul Jackson Fri, 24 Mar 2006 03:15:44 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] bitmap: region cleanup Paul Mundt says: This patch set implements a number of patches to clean up and restructure the bitmap region code, in addition to extending the interface to support multiword spanning allocations. The current implementation (before this patch set) is limited by only being able to allocate pages <= BITS_PER_LONG, as noted by the strategically positioned BUG_ON() at lib/bitmap.c:752: /* We don't do regions of pages > BITS_PER_LONG. The * algorithm would be a simple look for multiple zeros in the * array, but there's no driver today that needs this. If you * trip this BUG(), you get to code it... */ BUG_ON(pages > BITS_PER_LONG); As I seem to have been the first person to trigger this, the result ends up being the following patch set with the help of Paul Jackson. The final patch in the series eliminates quite a bit of code duplication, so the bitmap code size ends up being smaller than the current implementation as an added bonus. After these are applied, it should already be possible to do multiword allocations with dma_alloc_coherent() out of ranges established by dma_declare_coherent_memory() on x86 without having to change any of the code, and the SH store queue API will follow up on this as the other user that needs support for this. This patch: Some code cleanup on the lib/bitmap.c bitmap_*_region() routines: * spacing * variable names * comments Has no change to code function. Signed-off-by: Paul Mundt Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f993b3bf80b23d329951fe0fc5ba3647d5d912e9 tree fe10d2cc0d96487c08ba5f4d385111350c934e2c parent 57f3ebccaa560d1eeb40b5c719773bed5cb0df46 author Adrian Bunk Fri, 24 Mar 2006 03:15:42 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: remove documentation This patch removes the documentation of the ISA legacy functions. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57f3ebccaa560d1eeb40b5c719773bed5cb0df46 tree 5c475fe84dbd352f9758f63c20a3c76c1b89c8ca parent c44fec118b62baad3fc70e2ef3447729a1d9b194 author Al Viro Fri, 24 Mar 2006 03:15:41 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: remove the helpers unused isa_...() helpers removed. Adrian Bunk: The asm-sh part was rediffed due to unrelated changes. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c44fec118b62baad3fc70e2ef3447729a1d9b194 tree d0d78ad0fb27ada520ee00f0140a35d8b0301968 parent b336cea307839f97684d314071ef683821c571ed author Al Viro Fri, 24 Mar 2006 03:15:41 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/net/lance.c switch to ioremap() Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b336cea307839f97684d314071ef683821c571ed tree 855b05000ff04ec4ab95663aaba19b61ed8cb628 parent 22bc685f4b93f4a0ce28e5829eaf754cb4f7c040 author Al Viro Fri, 24 Mar 2006 03:15:40 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/net/hp-plus.c switch to ioremap() Adrian Bunk: The order of the hunks in the patch was slightly rearranged due to an unrelated change in the driver. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22bc685f4b93f4a0ce28e5829eaf754cb4f7c040 tree 53a463596fee23c1e4b097ac7a1cd16b12da49a9 parent c818cb6406815716ab210ae15655ed94a973b15f author Al Viro Fri, 24 Mar 2006 03:15:38 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/scsi/in2000.c switched to ioremap(), cleaned the probing up a bit. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c818cb6406815716ab210ae15655ed94a973b15f tree cb11b7fd1a8081b728dc5f412dd0d63326e0b594 parent ef5a4c8b04867fa8ed9eaf311c4ed0c57c589b6d author Al Viro Fri, 24 Mar 2006 03:15:37 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/scsi/g_NCR5380.c switched CONFIG_SCSI_G_NCR5380_MEM code in g_NCR5380 to ioremap(); massaged g_NCR5380.h accordingly. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef5a4c8b04867fa8ed9eaf311c4ed0c57c589b6d tree 7a9b22f510e76228321aca4583767879f885b71f parent e8c96f8c29d89af0c13dc2819a9a00575846ca18 author Al Viro Fri, 24 Mar 2006 03:15:36 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/char/toshiba.c switch from isa_read...() to ioremap() and read...() Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8c96f8c29d89af0c13dc2819a9a00575846ca18 tree b90ed0da4803df56a91be5979580e335af2d697c parent b5029622ac86bb441dc5e641226fb1152fca02d7 author Tobias Klauser Fri, 24 Mar 2006 03:15:34 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] fs: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a duplicate of ARRAY_SIZE. Some trailing whitespaces are also deleted. Signed-off-by: Tobias Klauser Cc: David Howells Cc: Dave Kleikamp Acked-by: Trond Myklebust Cc: Neil Brown Cc: Chris Mason Cc: Jeff Mahoney Cc: Christoph Hellwig Cc: Nathan Scott Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5029622ac86bb441dc5e641226fb1152fca02d7 tree f84822901347b4ceaabb7ae58ed06de8e98e9a02 parent 88abaab4f9b08381e30e737980a1c49d6b524dfc author Bastian Blank Fri, 24 Mar 2006 03:15:32 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] dasd: "cleanup dasd_ioctl" fix Cast the argument correctly. Cc: Christoph Hellwig Cc: Martin Schwidefsky Cc: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88abaab4f9b08381e30e737980a1c49d6b524dfc tree d33aa82674c00c37cd293c9e888cff785880ce5a parent fb630517f0d0736ea73af07d6b357be9ad67e6f1 author Eric Sesterhenn Fri, 24 Mar 2006 03:15:31 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: kzalloc() conversion in drivers/s390 Convert all kmalloc + memset sequences in drivers/s390 to kzalloc usage. Signed-off-by: Eric Sesterhenn Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb630517f0d0736ea73af07d6b357be9ad67e6f1 tree e10cc0bfb089a303788206743b0a9bea616ebfdf parent 96641ee1e4a5154943774639478eb997f4ffb97e author Eric Sesterhenn Fri, 24 Mar 2006 03:15:31 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: kzalloc() conversion in arch/s390 Convert all kmalloc + memset sequences in arch/s390 to kzalloc usage. Signed-off-by: Eric Sesterhenn Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96641ee1e4a5154943774639478eb997f4ffb97e tree 2c63ffe5c068900c47f743c2d2e41107d153ddba parent b6cba4ee31e7376fa363c4b89ca502ac5e17eac1 author Eric Rossman Fri, 24 Mar 2006 03:15:30 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: CEX2A crt message length Undetected edge case for CRT messages to CEX2A caused length to be too short, thus truncating the message. The solution was to check a different variable which actually determines which key type is being used. Increment version number in z90main.c to correct level of 1.3.3, fix copyright year and add comment about bitlength limit of CEX2A. Signed-off-by: Eric Rossman Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6cba4ee31e7376fa363c4b89ca502ac5e17eac1 tree af8756fdb9587d84df424b020b08af8253c6eb9c parent 5f38433885245dce82aa53c20a6b2efbe81ae350 author Stefan Bader Fri, 24 Mar 2006 03:15:29 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: 3590 tape driver Michael Holzheu , Martin Schwidefsky Signed-off-by: Stefan Bader Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f38433885245dce82aa53c20a6b2efbe81ae350 tree 1731a5e3b9092f3ff060ac6aa652be8ec6dde890 parent 4cd190a736a97e302c038bd91357d636369d4c6b author Michael Holzheu Fri, 24 Mar 2006 03:15:28 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: fix endless retry loop in tape driver If a tape device is assigned to another host, the interrupt for the assign operation comes back with deferred condition code 1. Under some conditions this can lead to an endless loop of retries. Check if the current request is still in IO in deferred condition code handling and prevent retries when the request has already been cancelled. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4cd190a736a97e302c038bd91357d636369d4c6b tree c424b0788f70eb3148bc7bedd43008daa3c41560 parent 842d3fba94ed94cc5de7b712e0f4218ce6e4fd73 author Michael Holzheu Fri, 24 Mar 2006 03:15:27 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: tape operation abortion leads to panic When a request is aborted because of a signal, we currently stop the request via csh, but we do not wait for the interrupt of csh in any case. We free the request structure and therefore when the interrupt for the csh operation is presented, the request object is no longer valid and an invalid callback pointer is used. To fix this wait until the interrupt for csh arrives and until wait_event_interruptible() does not return -ERESTARTSYS. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 842d3fba94ed94cc5de7b712e0f4218ce6e4fd73 tree 2650ba0ce392479ede2c210cf58c3690c6b004c0 parent 20c644680af1ef9a6b36c0873f59498c98b07ab1 author Stefan Bader Fri, 24 Mar 2006 03:15:26 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: tape retry flooding by deferred CC in interrupt If a deferred CC happens there will be lots of messages, because the retry is done immediatly in the interrupt handler which can be too fast. To avoid this requeue the request and schedule the queue to be processed. Signed-off-by: Stefan Bader Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20c644680af1ef9a6b36c0873f59498c98b07ab1 tree af2e50faeb690b7aacf7be3480f08f0a6ec0b56f parent 554a826e0a29f1a88e5a5332f0718c059885ec17 author Stefan Weinhuber Fri, 24 Mar 2006 03:15:25 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: dasd extended error reporting The DASD extended error reporting is a facility that allows to get detailed information about certain problems in the DASD I/O. This information can be used to implement fail-over applications that can recover these problems. Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 554a826e0a29f1a88e5a5332f0718c059885ec17 tree 3251034cf7373c9d61f7107c1a52c0c9bf8f8afc parent d0b2eaa374afd10960a507a3f2ce2f24b85826e4 author Horst Hummel Fri, 24 Mar 2006 03:15:24 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: random values in result of BIODASDINFO2 Use kzalloc to get a zeroed buffer for the structure returned to user space by the BIODASDINFO2 ioctl. Not all fields are set up, e.g. the read_devno is missing. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0b2eaa374afd10960a507a3f2ce2f24b85826e4 tree 1d249de1857094650cff878b41b59cb8c597dc30 parent ef1597d527f119f14f093a7a3712221b9cb072c0 author Peter Oberparleiter Fri, 24 Mar 2006 03:15:24 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: remove experimental flag from dasd diag The dasd diag discipline has been tested on 64 bit and is no longer experimental. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef1597d527f119f14f093a7a3712221b9cb072c0 tree c5470721447fb380caf04d3a8c4f459875fac6cb parent 82814dbafdeef53e13e07134eb3b7be3c975fd21 author Horst Hummel Fri, 24 Mar 2006 03:15:23 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: Remove old history/whitespave from partition code Remove obsolete history and trailing whitespace. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82814dbafdeef53e13e07134eb3b7be3c975fd21 tree c54dded7519743b678b73fabffea6108fb456eb6 parent 8b2eb664ce9dcba8b54ececf5e057470c47e57f7 author Christoph Hellwig Fri, 24 Mar 2006 03:15:22 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: remove dynamic dasd ioctls Now that there are no more users of the awkward dynamic ioctl hack we can remove the code to support it. Signed-off-by: Christoph Hellwig Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b2eb664ce9dcba8b54ececf5e057470c47e57f7 tree dab47df832f199b0a1e9e20226b152feb522640a parent 1107ccfbdef280fedc677af3bdbc405611ba554a author Christoph Hellwig Fri, 24 Mar 2006 03:15:21 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: merge cmb into dasdc dasd_cmd just implements three ioctls which are wrappers around functionality in the core kernel or other modules. When merging those into dasd_mod they just add 22 lines of code which is far less than the amount of code removed in the last two patches, and which doesn't spill into another 4k pages when build modular, while removing a 128lines module. Signed-off-by: Christoph Hellwig Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1107ccfbdef280fedc677af3bdbc405611ba554a tree a3588525dbe853d13e5f25fa496deecaa022ab3a parent 13c6204facb01d425320411c17febff666875518 author Christoph Hellwig Fri, 24 Mar 2006 03:15:20 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: use normal switch statement for ioctls in dasd_ioctlc Add an ->ioctl method to the dasd_discipline structure. This allows to apply the same kind of cleanups the last patch applied to dasd_ioctl.c to dasd_eckd.c (the only dasd discipline with special ioctls) aswell. Again lots of code removed. During auditing the ioctls I found two fishy return value propagations from copy_{from,to}_user, maintainers please check those, I've marked them with XXX comments. Signed-off-by: Christoph Hellwig Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13c6204facb01d425320411c17febff666875518 tree df58981381da42532e0910694361eadb1c133ea9 parent 61d3ad0edf67e3baa66f124bc9ce964523d41809 author Christoph Hellwig Fri, 24 Mar 2006 03:15:19 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: use normal switch statement for ioctls in dasd_ioctlc Handle ioctls implemented in dasd_ioctl through the normal switch statement that most drivers use instead of the awkward dasd_ioctl_no_register routine. This avoids searching a linear list on every call to dasd_ioctl(), and allows to give the various ioctl implementation functions sane prototypes, aswell as moving the check for bdev->bd_disk->private_data from the individual functions to dasd_ioctl. (I think it can't actually every be NULL, but let's keep that for later) Signed-off-by: Christoph Hellwig Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61d3ad0edf67e3baa66f124bc9ce964523d41809 tree bb2c21add442c9ed3bad9379c19ce29fb04b5507 parent 699ff13f10b75ea929eea6f6fe47ba9cc8f92ca2 author Martin Schwidefsky Fri, 24 Mar 2006 03:15:18 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: connector support Include connector config in the s390 arch Kconfig to get support for connectors. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 699ff13f10b75ea929eea6f6fe47ba9cc8f92ca2 tree be9ae1f4d5483b9f6887ab67a2bf27b3d34834d7 parent 4896cef8e33e668734234543afb58eb171476ff3 author Michael Ryan Fri, 24 Mar 2006 03:15:17 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: cpu up retries Retry starting of new cpu if sigp restart returns condition code 2 (busy). Signed-off-by: Michael Ryan Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4896cef8e33e668734234543afb58eb171476ff3 tree 15301c3ea0897e13e7d8fb0fca3ac7052ec4d9af parent 5e8b1c4083a7f0f1e671ea16e23b78d1c8d3e0aa author Martin Schwidefsky Fri, 24 Mar 2006 03:15:16 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: BUG() warnings Use __builtin_trap instead of an inline assembly in the BUG() macro. That way the compiler knows that BUG() won't return. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e8b1c4083a7f0f1e671ea16e23b78d1c8d3e0aa tree d91e6791155c7c33f34cebb0b6d279e16059de5c parent 596852967ce3208b90132895dd1992a31b058bc8 author Martin Schwidefsky Fri, 24 Mar 2006 03:15:16 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: /proc/sys/vm/cmm_* permission bits Set permissoin of /proc/sys/vm/cmm_* files to 0644. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 596852967ce3208b90132895dd1992a31b058bc8 tree 9011e19cdabf3388ca7676522c294cf616b086bb parent 495a5b45ac33b8fe2c49780fdbcc8014cb6d6ddc author Heiko Carstens Fri, 24 Mar 2006 03:15:15 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: early parameter parsing Use common code parser for early parameters instead of our own. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 495a5b45ac33b8fe2c49780fdbcc8014cb6d6ddc tree b456ebc9e8f53edd726c903401b5e40bbb9562d5 parent dc06010c62da773321258df1d8a1708a3158e29d author Cornelia Huck Fri, 24 Mar 2006 03:15:14 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: channel path measurements Gather extended measurements for channel paths from the channel subsystem and expose them to userspace via a sysfs attribute. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc06010c62da773321258df1d8a1708a3158e29d tree 5f1981646537980d92e7c0ccc24867dfe116307e parent 3ba1998e90239ed0d7af918998bc866fa77303eb author Cornelia Huck Fri, 24 Mar 2006 03:15:13 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] s390: cio documentation update Update documentation of the common I/O layer: - Add MSS-specific example. - Add more information on ccwgroup devices. - Add channel path type attribute. - Fix typo. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ba1998e90239ed0d7af918998bc866fa77303eb tree 6417c281e7121149b86246a26ac136c9973e2b7d parent 3d1712c91df01d2573b934e972e231e8edb102c7 author Cornelia Huck Fri, 24 Mar 2006 03:15:12 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] s390: wrong interrupt delivered for hsch() or csch() When cio waits for the interrupt for a basic sense, interrupts for hsch() or csch() issued in the meantime are wrongly counted as interrupts for the basic sense and the accumulated irb is passed to the device driver. In ccw_device_w4sense(), check for clear or halt function in the irb and pass the irb for the csch() or hsch() to the device driver. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d1712c91df01d2573b934e972e231e8edb102c7 tree 71ed84ab8e8a59517ec1b7b1af082adc2beb1758 parent 9b04c997b1120feefa1e6ee8e2902270bc055cd2 author Akinobu Mita Fri, 24 Mar 2006 03:15:11 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] x86_64: {set,clear,test}_bit() related cleanup and pci_mmcfg_init() fix While working on these patch set, I found several possible cleanup on x86-64 and ia64. akpm: I stole this from Andi's queue. Not only does it clean up bitops. It also unrelatedly changes the prototype of pci_mmcfg_init() and removes its arch_initcall(). It seems that the wrong two patches got joined together, but this is the one which has been tested. This patch fixes the current x86_64 build error (the pci_mmcfg_init() declaration in arch/i386/pci/pci.h disagrees with the definition in arch/x86_64/pci/mmconfig.c) This also means that x86_64's pci_mmcfg_init() gets called in the same (new) manner as x86's: from arch/i386/pci/init.c:pci_access_init(), rather than via initcall. The bitops cleanups came along for free. All this worked OK in -mm testing (since 2.6.16-rc4-mm1) because x86_64 was tested with both patches applied. Signed-off-by: Akinobu Mita Signed-off-by: Andi Kleen Cc: Con Kolivas Cc: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b04c997b1120feefa1e6ee8e2902270bc055cd2 tree 09376b68d11ccce2a1ef53bac25a41a763ad36d0 parent 6961ec8267d08e21011457b05d2263ec06bdcfe1 author Theodore Ts'o Fri, 24 Mar 2006 03:15:10 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] vfs: MS_VERBOSE should be MS_SILENT The meaning of MS_VERBOSE is backwards; if the bit is set, it really means, "don't be verbose". This is confusing and counter-intuitive. In addition, there is also no way to set the MS_VERBOSE flag in the mount(8) program in util-linux, but interesting, it does define options which would do the right thing if MS_SILENT were defined, which unfortunately we do not: #ifdef MS_SILENT { "quiet", 0, 0, MS_SILENT }, /* be quiet */ { "loud", 0, 1, MS_SILENT }, /* print out messages. */ #endif So the obvious fix is to deprecate the use of MS_VERBOSE and replace it with MS_SILENT. Signed-off-by: "Theodore Ts'o" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6961ec8267d08e21011457b05d2263ec06bdcfe1 tree 13accf5a4e93922abb66036f97a51a2ea76f1f6e parent a72011567812cbd93788cc5facda160a3cba5905 author Arnd Bergmann Fri, 24 Mar 2006 03:15:08 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] add sys_unshare to syscalls.h All architecture independent system calls should be declared in syscalls.h, add the one that is missing. Signed-off-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a72011567812cbd93788cc5facda160a3cba5905 tree 9cdd83b4b769e9af72c76d0670fa9ae55164844b parent 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd author Andrew Morton Fri, 24 Mar 2006 03:15:07 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] more-for_each_cpu-conversions fix I screwed up this conversion - we should be iterating across online CPUs, not possible ones. Spotted by Joe Perches Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f1f610b62bce36d6d50857859091b8989c70267 tree cc79a77d3bee9aa00976d25ae69fb1c5e80ba452 parent 2af10a818de1658f818601c7098056d65a772bc5 author Brian King Thu, 23 Mar 2006 17:30:15 -0600 committer Jeff Garzik Fri, 24 Mar 2006 10:18:43 -0500 [PATCH] libata: Remove dependence on host_set->dev for SAS Remove some of the dependence on the host_set struct in preparation for supporting SAS HBAs. Adds a struct device pointer to the ata_port struct. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit 2af10a818de1658f818601c7098056d65a772bc5 tree b8e0b8c7964a47f21616c009551ab8e35ecf78af parent eb3f0f9c6c3416016565c8b91644d7386889e565 author Brian King Thu, 23 Mar 2006 17:30:08 -0600 committer Jeff Garzik Fri, 24 Mar 2006 10:18:43 -0500 [PATCH] libata: ata_scsi_ioctl cleanup In preparation for SAS, kill some unnecessary code in ata_scsi_ioctl to find the ATA port and device given the scsi_device. Neither local is used in the function. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit eb3f0f9c6c3416016565c8b91644d7386889e565 tree 2b9d7baee57bcae271f5708fc5c09cc71a8698a4 parent 2e9edbf815e42f93dd29a9981f27bd421acc47df author Brian King Thu, 23 Mar 2006 17:30:02 -0600 committer Jeff Garzik Fri, 24 Mar 2006 10:18:43 -0500 [PATCH] libata: ata_scsi_queuecmd cleanup Encapsulate part of ata_scsi_queuecmd so that it can be reused by future SAS patches. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit 2e9edbf815e42f93dd29a9981f27bd421acc47df tree 57f4026cc532879c0678c535e15c5172b62d2106 parent ebdfca6eb1b755d3bfe9a81339ecdafd92038c1a author Jeff Garzik Fri, 24 Mar 2006 09:56:57 -0500 committer Jeff Garzik Fri, 24 Mar 2006 09:56:57 -0500 [libata] export ata_dev_pair; trim trailing whitespace Mostly, trim trailing whitespace. Also: * export ata_dev_pair * move ata_dev_classify export closer to ata_dev_pair export commit ebdfca6eb1b755d3bfe9a81339ecdafd92038c1a tree 1780c1d10756c1f6c3cd34ac2f23faa729d9877d parent 082776e4be791736c32baf818e50f501a7f83819 author Alan Cox Thu, 23 Mar 2006 15:38:34 +0000 committer Jeff Garzik Fri, 24 Mar 2006 09:52:32 -0500 [PATCH] libata: add ata_dev_pair helper Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 082776e4be791736c32baf818e50f501a7f83819 tree 508fe750353ccd8f6a77cf2c882c15ab20a1e63e parent 83206a2903fd2ddb1761d906b2b3b3de17ef87f1 author Nigel Cunningham Thu, 23 Mar 2006 23:22:16 +1000 committer Jeff Garzik Fri, 24 Mar 2006 09:51:36 -0500 [PATCH] Make libata not powerdown drivers on PM_EVENT_FREEZE. At the moment libata doesn't pass pm_message_t down ata_device_suspend. This causes drives to be powered down when we just want a freeze, causing unnecessary wear and tear. This patch gets pm_message_t passed down so that it can be used to determine whether to power down the drive. Signed-off-by: Nigel Cunningham drivers/scsi/libata-core.c | 5 +++-- drivers/scsi/libata-scsi.c | 4 ++-- drivers/scsi/scsi_sysfs.c | 2 +- include/linux/libata.h | 4 ++-- include/scsi/scsi_host.h | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit 83206a2903fd2ddb1761d906b2b3b3de17ef87f1 tree 405de7b43809146ae27a52cad00a897369644f61 parent fcef978f9d4bd6ec43f89031442ee205987a912a author Tejun Heo Fri, 24 Mar 2006 15:25:31 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:39:57 -0500 [PATCH] libata: make ata_set_mode() responsible for failure handling Make ata_set_mode() responsible for determining whether to take port or device offline on failure. ata_dev_set_xfermode() and ata_dev_set_mode() indicate error to the caller instead of disabling port directly on failure. Also, for consistency, ata_dev_present() check is done in ata_set_mode() instead of ata_dev_set_mode(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit fcef978f9d4bd6ec43f89031442ee205987a912a tree effbfe0b4fb59b8b36ce353c4aea697b2f14ebe3 parent 0b8efb0a16a1915c507db5a9b9fb5ede082a68a2 author Tejun Heo Fri, 24 Mar 2006 15:25:31 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:39:57 -0500 [PATCH] libata: use ata_dev_disable() in ata_bus_probe() We may or may not disable a device after ata_dev_configure() fails. Kill 'not supported, ignoring' message in ata_dev_configure() and use ata_dev_disable() in ata_bus_probe(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0b8efb0a16a1915c507db5a9b9fb5ede082a68a2 tree 93cc3621d7c69ec55448e18d985369d327712e57 parent 1f7dd3e9d62b25c7b79f913f37c2242a61295de4 author Tejun Heo Fri, 24 Mar 2006 15:25:31 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:39:57 -0500 [PATCH] libata: implement ata_dev_disable() This patch implements ata_dev_disable() which prints a warning message and takes @dev offline. Currently, this is done by explicitly incrementing dev->class with case-by-case warning messages. Giving user clear indication when libata gives up will be more important as libata will be doing more retries. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1f7dd3e9d62b25c7b79f913f37c2242a61295de4 tree 7fc6cfaeca33cdae056a3ed69f841327391c9e8e parent 5a529139554f12cb265715117a2153c936286294 author Tejun Heo Fri, 24 Mar 2006 15:25:30 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:39:57 -0500 [PATCH] libata: check if port is disabled after internal command libata core is being changed to disallow port/device disable on lower layers. However, some LLDDs (sata_mv) directly disable port on command failure. This patch makes ata_exec_internal() check whether a port got disabled after an internal command. If it is, AC_ERR_SYSTEM is added to err_mask and the port gets re-enabled. As internal command failure results in device disable for drivers which don't implement newer reset/EH callbacks, this change results in no behavior change for single device per port controllers. For slave-possible LLDDs which disable port on command failure, (1) such drivers don't exist currently, (2) issuing command to the other device of once-disabled port shouldn't result in catastrophe even if such driver exists. So, this should be enough as a temporary measure. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5a529139554f12cb265715117a2153c936286294 tree a31f5aba2d34111e89d339c7d1a803d7a864bb46 parent acf356b12d13c8b43c486e53e8ee12f1f435ecc8 author Tejun Heo Fri, 24 Mar 2006 14:07:50 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:28:33 -0500 [PATCH] libata: make per-dev transfer mode limits per-dev Now that each ata_device has xfer masks, per-dev limits can be made per-dev instead of per-port. Make per-dev limits per-dev. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit acf356b12d13c8b43c486e53e8ee12f1f435ecc8 tree 355f7327b0ed34d02e6ec8c1eb91a8a8f758975b parent c0489e4efcad44aeb16c55760daf3b487183e9f0 author Tejun Heo Fri, 24 Mar 2006 14:07:50 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:28:33 -0500 [PATCH] libata: add per-dev pio/mwdma/udma_mask Add per-dev pio/mwdma/udma_mask. All transfer mode limits used to be applied to ap->*_mask which unnecessarily restricted other devices sharing the port. This change will also benefit later EH speed down and hotplug. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c0489e4efcad44aeb16c55760daf3b487183e9f0 tree b5d58afdea53e2502b4191ebe6b0ea68a44dd33a parent 2cc432eed0491df66e14b578139bba2c75fb3f9a author Tejun Heo Fri, 24 Mar 2006 14:07:49 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:28:33 -0500 [PATCH] libata: implement ata_unpack_xfermask() Implement ata_unpack_xfermask(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c76b6b41d0ae29e1127d9f81cb687cabda57c14c tree ce17fc20d0edfe8dc249b63f6316172c33092ee7 parent 48fa14f7618fe89cac9b807b05b66df4b595fc7e author Hyok S. Choi Fri, 24 Mar 2006 09:53:18 +0000 committer Russell King Fri, 24 Mar 2006 09:53:18 +0000 [ARM] nommu: rename compressed/head.S symbols to a new style This patch renames symbols to a new style to prepare mpu support code merging. e.g. __armv4_cache_on --> __armv4_mmu_cache_on Signed-off-by: Hyok S. Choi Signed-off-by: Russell King commit a54123e27779049d27d21e6c8adfee73aa2c0734 tree 265849e706e4ebe3b75127ebe6e3cbfe2a78850a parent 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd author Bob Breuer Thu, 23 Mar 2006 22:36:19 -0800 committer David S. Miller Thu, 23 Mar 2006 22:36:19 -0800 [SPARC]: Try to start getting SMP back into shape. Todo items: - IRQ_INPROGRESS flag - use sparc64 irq buckets, or generic irq_desc? - sun4d - re-indent large chunks of sun4m_smp.c - some places assume sequential cpu numbering (i.e. 0,1 instead of 0,2) Last I checked (with 2.6.14), random programs segfault with dual HyperSPARC. And with SuperSPARC II's, it seems stable but will eventually die from a write lock error (wrong lock owner or something). I haven't tried the HyperSPARC + highmem combination recently, so that may still be a problem. Signed-off-by: David S. Miller commit 0fdf109676d1eda4ff8199a9a3ee3f11c555c1b3 tree bf5944c7cc03e46d4dfa0fcedeaf34917da88b67 parent 9d41965b783474dba9fcf3eb02e5eb60540e6ff6 author Ed L. Cashin Tue, 07 Feb 2006 11:37:36 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:57 -0800 [PATCH] aoe [3/3]: update version to 22 Increase version number to 22. Signed-off-by: "Ed L. Cashin" commit 9d41965b783474dba9fcf3eb02e5eb60540e6ff6 tree 1780a39793a83087aaa3b2ea9db1ddd653d875d1 parent 5dc401ee74c5d6a24867acd8302c55da9ae4f0ce author Ed L. Cashin Tue, 07 Feb 2006 11:37:24 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:57 -0800 [PATCH] aoe [2/3]: don't request ATA device ID on ATA error On an ATA error response, take the device down instead of sending another ATA device identify command. Signed-off-by: "Ed L. Cashin" commit 5dc401ee74c5d6a24867acd8302c55da9ae4f0ce tree 85fbb0a15834b236133c3d068b38fe6058fa57d0 parent 1c6f3fcac03a16c901ee5acd58100bff963add6d author Ed L. Cashin Tue, 07 Feb 2006 11:26:39 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:56 -0800 [PATCH] aoe [1/3]: support multiple AoE listeners Always clone incoming skbs, allowing other AoE listeners to exist in the kernel. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit 1c6f3fcac03a16c901ee5acd58100bff963add6d tree 660a4aad0cf58cde710edff305ac852c8c08583f parent a712c0efbffb09f7b837577e29d0efb043fea0ea author Ed L. Cashin Wed, 25 Jan 2006 13:54:44 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:56 -0800 [PATCH] aoe: do not stop retransmit timer when device goes down This patch is a bugfix that follows and depends on the eight aoe driver patches sent January 19th. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit a712c0efbffb09f7b837577e29d0efb043fea0ea tree 0a936d054dd715187788e283299d6580e591093c parent 02edb05e6310d3acbb26ffb038f0eb819274e6d0 author Ed L. Cashin Thu, 19 Jan 2006 13:46:31 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:56 -0800 [PATCH] aoe [8/8]: update driver version number Update aoe driver version number. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit 02edb05e6310d3acbb26ffb038f0eb819274e6d0 tree b304e4f160af5e5cac9b037faacf1864c3009715 parent 5f7702fd737d14de3ed06a94a1655be9d43f7e35 author Ed L. Cashin Thu, 19 Jan 2006 13:46:29 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:56 -0800 [PATCH] aoe [7/8]: update driver compatibility string The aoe driver is not compatible with 2.6 kernels older than 2.6.2. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit 5f7702fd737d14de3ed06a94a1655be9d43f7e35 tree eb2dda2c8233226451f7daffc662f80b74f64b09 parent 2dd5e42269b6f71db8ca519e401ef1e6615b3705 author Ed L. Cashin Thu, 19 Jan 2006 13:46:27 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:56 -0800 [PATCH] aoe [6/8]: update device information on last close Instead of making the user wait or do it manually, refresh device information on its last close by issuing a config query to the device. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit 2dd5e42269b6f71db8ca519e401ef1e6615b3705 tree 5f330b93b062cb111c9da8d02714290ebf4208fd parent c42b24cae5c9fe1ae1f9bb9dea020e1a788fab4d author Ed L. Cashin Thu, 19 Jan 2006 13:46:25 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:56 -0800 [PATCH] aoe [5/8]: allow network interface migration on packet retransmit Retransmit to the current network interface for an AoE device. Signed-off-by: "Ed L. Cashin" commit c42b24cae5c9fe1ae1f9bb9dea020e1a788fab4d tree 87181016532683c244a8a5832faf87e8d44870a6 parent eaf0a3cbe5d0713eca3278b3b18f08dba4fb914b author Ed L. Cashin Thu, 19 Jan 2006 13:46:22 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:56 -0800 [PATCH] aoe [4/8]: use less confusing driver name Users were confused by the driver being called "aoe-2.6-$version". This form looks less like a Linux kernel version number. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit eaf0a3cbe5d0713eca3278b3b18f08dba4fb914b tree 0e93aab480e5b8166a84ab85fd2d0cfbba30988d parent 3ae1c24e395b2b65326439622223d88d92bfa03a author Ed L. Cashin Thu, 19 Jan 2006 13:46:20 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:55 -0800 [PATCH] aoe [3/8]: increase allowed outstanding packets Increase the number of AoE packets per device that can be outstanding at one time, increasing performance. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit 3ae1c24e395b2b65326439622223d88d92bfa03a tree df1e7e8e63a37ed91407ea5da6535b64f50e64a2 parent 50bba752ca0a740a6ba9eb96d61ef7bbdfe405cf author Ed L. Cashin Thu, 19 Jan 2006 13:46:19 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:55 -0800 [PATCH] aoe [2/8]: support dynamic resizing of AoE devices Allow the driver to recognize AoE devices that have changed size. Devices not in use are updated automatically, and devices that are in use are updated at user request. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit 50bba752ca0a740a6ba9eb96d61ef7bbdfe405cf tree bf0ed717aba959dd27eb4e2e92c67d0503d3f0c7 parent a1a051b1870f9e4607526c7e403abab06526c6d9 author Ed L. Cashin Thu, 19 Jan 2006 12:37:24 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 22:01:55 -0800 [PATCH] aoe [1/8]: zero packet data after skb allocation Zero the data in new socket buffers to prevent leaking information. Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman commit 1ebbe2b20091d306453a5cf480a87e6cd28ae76f tree f5cd7a0fa69b8b1938cb5a0faed2e7b0628072a5 parent ac58c9059da8886b5e8cde012a80266b18ca146e parent 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd author Trond Myklebust Thu, 23 Mar 2006 23:44:19 -0500 committer Trond Myklebust Thu, 23 Mar 2006 23:44:19 -0500 Merge branch 'linus' commit 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd tree b1263e0a926d9cbdc7aa58260099392ad49a72fe parent f73b5e7949945486a649e40821cd351e2f60bf02 author Evgeniy Polyakov Mon, 20 Feb 2006 11:15:37 +0300 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:13 -0800 [PATCH] w1: use kthread api. This patch removes old-style kernel thread initialization and changes w1 to use kthread api. It is based on Christoph Hellwig work. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit f73b5e7949945486a649e40821cd351e2f60bf02 tree 283ac7ae169d3341a300330404301bfc85059b80 parent ecd5136c85cb4531a51f65241e7b3cd58420f3ed author Andrew Morton Sat, 14 Jan 2006 00:05:59 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:13 -0800 [PATCH] W1: u64 is not long long You don't know what type a u64 is, hence you cannot print it without a cast. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit ecd5136c85cb4531a51f65241e7b3cd58420f3ed tree 64bb14fa21e4e035a54766ff462eb0a463c32b78 parent ec068072f0e8499cfe7b71749b4a63c503e7d328 author Patrick McHardy Sun, 08 Jan 2006 00:44:15 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:13 -0800 [PATCH] W1: Remove incorrect MODULE_ALIAS The w1 netlink socket is created by a hardware specific driver calling w1_add_master_device, so there is no point in including a module alias for netlink autoloading in the core. Signed-off-by: Patrick McHardy Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit ec068072f0e8499cfe7b71749b4a63c503e7d328 tree 882b9fbc17efb02d41faed40a1cc0fd16642ad6b parent a9fb1c7b950bed4afe208c9d67e20f086bb6abbb author Adrian Bunk Fri, 06 Jan 2006 18:41:01 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:12 -0800 [PATCH] fix W1_MASTER_DS9490_BRIDGE dependencies W1_DS9490 was renamed to W1_MASTER_DS9490, but the entry in the dependencies of W1_MASTER_DS9490_BRIDGE was forgotten. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit a9fb1c7b950bed4afe208c9d67e20f086bb6abbb tree 496c2b8b292411a6163dc451b8dab82665a8ab99 parent baf12ae29ab4cc6381e21b2e1a3af75a6a8f7566 author Adrian Bunk Tue, 13 Dec 2005 14:04:33 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:12 -0800 [PATCH] w1: misc cleanups This patch contains the following cleanups: - make needlessly global code static - declarations for global code belong into header files - w1.c: #if 0 the unused struct w1_slave_device Signed-off-by: Adrian Bunk Acked-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit baf12ae29ab4cc6381e21b2e1a3af75a6a8f7566 tree 43658918e7221e94e40a62de48f04b2b23d75b3a parent bd529cfb40c427d5b5aae0d315afb9f0a1da5e76 author Evgeniy Polyakov Tue, 06 Dec 2005 13:38:28 +0300 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:12 -0800 [PATCH] W1: Add the DS2482 I2C-to-w1 bridge driver. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit bd529cfb40c427d5b5aae0d315afb9f0a1da5e76 tree 54de1d9860defa3c4938fd96246caffe089b9f3a parent ccd6994000fb6d08ee1be8a7fa20c8d602a2267d author Evgeniy Polyakov Tue, 06 Dec 2005 13:38:28 +0300 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:11 -0800 [PATCH] W1: Move w1 bus master code into 'w1/masters' and move w1 slave code into 'w1/slaves' Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit ccd6994000fb6d08ee1be8a7fa20c8d602a2267d tree 88badd14da5f2c0593a88a351db6a664c3b6fbb8 parent a1a051b1870f9e4607526c7e403abab06526c6d9 author Evgeniy Polyakov Tue, 06 Dec 2005 13:38:27 +0300 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:11 -0800 [PATCH] W1: Change the type 'unsigned long' member of 'struct w1_bus_master' to 'void *'. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit a1a051b1870f9e4607526c7e403abab06526c6d9 tree 08942e39ca8477c4b0f594deac9e966bb376db83 parent aca361c1a0dc0165ac3148137983cb4b1458b5c1 parent b425c8c5922562c562dc55a636c3c8d758ed6d17 author Linus Torvalds Thu, 23 Mar 2006 16:26:56 -0800 committer Linus Torvalds Thu, 23 Mar 2006 16:26:56 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6: NTFS: 2.1.27 - Various bug fixes and cleanups. NTFS: Semaphore to mutex conversion. NTFS: Handle the recently introduced -ENAMETOOLONG return value from NTFS: Add a missing call to flush_dcache_mft_record_page() in NTFS: Fix a bug in fs/ntfs/inode.c::ntfs_read_locked_index_inode() where we NTFS: Improve comments on file attribute flags in fs/ntfs/layout.h. NTFS: Limit name length in fs/ntfs/unistr.c::ntfs_nlstoucs() to maximum NTFS: Remove all the make_bad_inode() calls. This should only be called NTFS: Add support for sparse files which have a compression unit of 0. NTFS: Fix comparison of $MFT and $MFTMirr to not bail out when there are NTFS: Use buffer_migrate_page() for the ->migratepage function of all ntfs NTFS: Fix a buggette in an "should be impossible" case handling where we NTFS: Fix an (innocent) off-by-one error in the runlist code. NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for commit aca361c1a0dc0165ac3148137983cb4b1458b5c1 tree 3527ff422fe90e97657d5996499fa4a9d30e2d5a parent cec6062037783a762aa5606b06b8bc5c14d9657f parent 9b7c84899ea6bfc4f8932a83b28db313e7397bd1 author Linus Torvalds Thu, 23 Mar 2006 16:25:49 -0800 committer Linus Torvalds Thu, 23 Mar 2006 16:25:49 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (45 commits) [PATCH] Restore channel setting after scan. [PATCH] hostap: Fix memory leak on PCI probe error path [PATCH] hostap: Remove dead code (duplicated idx != 0) [PATCH] hostap: Fix unlikely read overrun in CIS parsing [PATCH] hostap: Fix double free in prism2_config() error path [PATCH] hostap: Fix ap_add_sta() return value verification [PATCH] hostap: Fix hw reset after CMDCODE_ACCESS_WRITE timeout [PATCH] wireless/airo: cache wireless scans [PATCH] wireless/airo: define default MTU [PATCH] wireless/airo: clean up printk usage to print device name [PATCH] WE-20 for kernel 2.6.16 [PATCH] softmac: remove function_enter() [PATCH] skge: version 1.5 [PATCH] skge: compute available ring buffers [PATCH] skge: dont free skb until multi-part transmit complete [PATCH] skge: multicast statistics fix [PATCH] skge: rx_reuse called twice [PATCH] skge: dont use dev_alloc_skb for rx buffs [PATCH] skge: align receive buffers [PATCH] sky2: dont need to use dev_kfree_skb_any ... commit cec6062037783a762aa5606b06b8bc5c14d9657f tree c862659eb55e44314f6d524f5479204994b91901 parent 88f07ffb63add018bfafd480ec6a294088277f06 parent 2056a782f8e7e65fd4bfd027506b4ce1c5e9ccd4 author Linus Torvalds Thu, 23 Mar 2006 16:24:24 -0800 committer Linus Torvalds Thu, 23 Mar 2006 16:24:24 -0800 Merge branch 'blktrace' of git://brick.kernel.dk/data/git/linux-2.6-block * 'blktrace' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 [PATCH] relay: consolidate sendfile() and read() code [PATCH] relay: add sendfile() support [PATCH] relay: migrate from relayfs to a generic relay API commit 88f07ffb63add018bfafd480ec6a294088277f06 tree 64b657d06b3ae7de3f87544a85d83d0ed6a7e3a9 parent b6585dedac232ca79fe978d97a95fdaa6da24f66 parent 9aa45e34d2948f360f8c0e63d10f49015ca51edd author Linus Torvalds Thu, 23 Mar 2006 16:23:20 -0800 committer Linus Torvalds Thu, 23 Mar 2006 16:23:20 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: V4L/DVB (3568k): zoran: Use i2c_master_send when possible V4L/DVB (3568j): adv7175: Drop unused encoder dump command V4L/DVB (3568i): adv7175: Drop unused register cache V4L/DVB (3568h): cpia: correct email address V4L/DVB (3568g): sem2mutex: zoran V4L/DVB (3568f): saa7110: Fix array overrun V4L/DVB (3568e): bt856: Spare memory V4L/DVB (3568d): saa7111.c fix V4L/DVB (3568c): zoran: Init cleanups V4L/DVB (3568b): saa7111: Prevent array overrun V4L/DVB (3568a): saa7114: Fix i2c block write commit b6585dedac232ca79fe978d97a95fdaa6da24f66 tree 4d2d78300bb9bcfb40cb35450f78dd3af82c78d3 parent a3ea9b584ed2acdeae817f0dc91a5880e0828a05 parent ded2b66615613093eeb83b81499bc270de8fc499 author Linus Torvalds Thu, 23 Mar 2006 15:51:32 -0800 committer Linus Torvalds Thu, 23 Mar 2006 15:51:32 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6: (36 commits) [PATCH] hwmon: add required idr locking [PATCH] I2C: hwmon: Rename register parameters [PATCH] I2C: Drop unneeded i2c-dev.h includes [PATCH] I2C: i2c-ixp4xx: Add hwmon class [PATCH] I2C: i2c-piix4: Add Broadcom HT-1000 support [PATCH] I2C: i2c-amd756-s4882: Improve static mutex initialization [PATCH] I2C: i2c-ali1535: Drop redundant mutex [PATCH] i2c: Cleanup isp1301_omap [PATCH] i2c: Fix i2c-ite name initialization [PATCH] i2c: Drop the i2c-frodo bus driver [PATCH] i2c: Optimize core_lists mutex usage [PATCH] w83781d: Don't reset the chip by default [PATCH] w83781d: Document the alarm and beep bits [PATCH] w83627ehf: Refactor the sysfs interface [PATCH] hwmon: Support the Pentium M VID code [PATCH] hwmon: Add support for the Winbond W83687THF [PATCH] hwmon: f71805f semaphore to mutex conversions [PATCH] hwmon: Semaphore to mutex conversions [PATCH] i2c: Semaphore to mutex conversions, part 3 [PATCH] i2c: Semaphore to mutex conversions, part 2 ... commit a3ea9b584ed2acdeae817f0dc91a5880e0828a05 tree 5b4ef9b10c05aa84419a6ba6187d0dcd14654c97 parent 554f593d6c411e717a71ffdcb0cfb46bb2394502 parent b2e6e3ba7deb525f180df64f32f3fcb214538bea author Linus Torvalds Thu, 23 Mar 2006 15:49:57 -0800 committer Linus Torvalds Thu, 23 Mar 2006 15:49:57 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (49 commits) [PATCH] acpiphp: fix acpi_path_name [PATCH] ibmphp: remove TRUE and FALSE [PATCH] PCI Hotplug: add common acpi functions to core [PATCH] PCI: kzalloc() conversion in drivers/pci [PATCH] acpiphp: Scan slots under the nested P2P bridge [PATCH] PCI Hotplug: SN: Fix cleanup on hotplug removal of PPB [PATCH] shpchp: cleanup bus speed handling [PATCH] PCI: fix pci_request_region[s] arg [PATCH] PCI: Provide a boot parameter to disable MSI [PATCH] PCI: the scheduled removal of PCI_LEGACY_PROC [PATCH] PCI: cpqphp_ctrl.c: board_replaced(): remove dead code [PATCH] acpiphp: fix bridge handle [PATCH] acpiphp - slot management fix - V4 [PATCH] acpi: remove dock event handling from ibm_acpi [PATCH] acpiphp: add dock event handling [PATCH] acpi: export acpi_bus_trim [PATCH] acpiphp: add new bus to acpi [PATCH] PCI: Move pci_dev_put outside a spinlock [PATCH] PCI: PCI/Cardbus cards hidden, needs pci=assign-busses to fix [PATCH] PCI: fix problems with MSI-X on ia64 ... commit 554f593d6c411e717a71ffdcb0cfb46bb2394502 tree 338e1629408a66cfc84d199c18deb22c6e682c22 parent debf798b1ed82053689d900670eb27fb2f1b4bd3 parent 95381c893dd71a534ab56f09b12a4e2118aa0f32 author Linus Torvalds Thu, 23 Mar 2006 15:29:27 -0800 committer Linus Torvalds Thu, 23 Mar 2006 15:29:27 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [TG3]: Update driver version and reldate. [TG3]: Add 5755 nvram support [TG3]: Add 5755 support [IPV6]: ip6_xmit: remove unnecessary NULL ptr check [NET_SCHED]: cls_u32: remove unnecessary NULL-ptr check [IPV4]: Add fib rule netlink notifications [BNX2]: Update version and reldate [BNX2]: Separate tx producer and consumer fields [BNX2]: Move .h files to bnx2.c [BNX2]: Combine small mem allocations [BNX2]: Fix link change handling [PKTGEN]: Add MPLS extension. commit debf798b1ed82053689d900670eb27fb2f1b4bd3 tree 00684a077494864a990e3be82ad2796367f825f9 parent b0e6e962992b76580f4900b166a337bad7c1e81b parent 4d74f423c722b8cadfabe087369200013b217b67 author Linus Torvalds Thu, 23 Mar 2006 15:28:51 -0800 committer Linus Torvalds Thu, 23 Mar 2006 15:28:51 -0800 Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 * git://oss.sgi.com:8090/oss/git/xfs-2.6: (71 commits) [XFS] Sync up one/two other minor changes missed in previous merges. [XFS] Reenable the noikeep (delete inode cluster space) option by default. [XFS] Check that a page has dirty buffers before finding it acceptable for [XFS] Fixup naming inconsistencies found by Pekka Enberg and one from Jan [XFS] Explain the race closed by the addition of vn_iowait() to the start [XFS] Fixing the error caused by the conflict between DIO Write's [XFS] Fixing KDB's xrwtrc command, also added the current process id into [XFS] Fix compiler warning from xfs_file_compat_invis_ioctl prototype. [XFS] remove bogus INT_GET for u8 variables in xfs_dir_leaf.c [XFS] endianess annotations for xfs_da_node_hdr_t [XFS] endianess annotations for xfs_da_node_entry_t [XFS] store xfs_attr_inactive_list_t in native endian [XFS] store xfs_attr_sf_sort in native endian [XFS] endianess annotations for xfs_attr_shortform_t [XFS] endianess annotations for xfs_attr_leaf_name_remote_t [XFS] endianess annotations for xfs_attr_leaf_name_local_t [XFS] endianess annotations for xfs_attr_leaf_entry_t [XFS] endianess annotations for xfs_attr_leaf_hdr_t [XFS] remove bogus INT_GET on u8 variables in xfs_dir2_block.c [XFS] endianess annotations for xfs_da_blkinfo_t ... commit b2e6e3ba7deb525f180df64f32f3fcb214538bea tree 116ae7111104708fce872b5d68dbd3fae7779174 parent dc6712d1261ee4585771724320d28580888818eb author MUNEDA Takahiro Fri, 17 Mar 2006 09:18:39 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:17 -0800 [PATCH] acpiphp: fix acpi_path_name I encountered the problem that the insmod of the acpiphp fails because of the mis-freeing of the memory. I tested this patch on my tiger4 box. Signed-off-by: MUNEDA Takahiro Signed-off-by: Greg Kroah-Hartman commit dc6712d1261ee4585771724320d28580888818eb tree 14bb88b17952a540b4764653340ae30c14959b12 parent 783c49fc506d9afe4784390b556fa25ede5d6d1f author Kristen Accardi Tue, 14 Mar 2006 16:24:47 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:17 -0800 [PATCH] ibmphp: remove TRUE and FALSE This patch removes the defines TRUE and FALSE and just uses 0 or 1. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 783c49fc506d9afe4784390b556fa25ede5d6d1f tree 8090c2251193211129816254f16f10cbb33ed20c parent f5afe8064f3087bead8fea7e32547c2a3ada5fd0 author Kristen Accardi Fri, 03 Mar 2006 10:16:05 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:17 -0800 [PATCH] PCI Hotplug: add common acpi functions to core shpchprm_acpi.c and pciehprm_acpi.c are nearly identical. In addition, there are functions in both these files that are also in acpiphp_glue.c. This patch will remove duplicate functions from shpchp, pciehp, and acpiphp and move this functionality to pci_hotplug, as it is not hardware specific. Get rid of shpchprm* and pciehprm* files since they are no longer needed. shpchprm_nonacpi.c and pciehprm_nonacpi.c are identical, as well as shpchprm_legacy.c and can be replaced with a macro. This patch also changes acpiphp to use the common hpp code. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit f5afe8064f3087bead8fea7e32547c2a3ada5fd0 tree de6a9d60aad6ee262c04290d73e414cd92b4ad5d parent 7c8f25da12a3dda46fb730699582895d5fc51287 author Eric Sesterhenn Tue, 28 Feb 2006 15:34:49 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:17 -0800 [PATCH] PCI: kzalloc() conversion in drivers/pci this patch converts drivers/pci to kzalloc usage. Compile tested with allyes config. Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit 7c8f25da12a3dda46fb730699582895d5fc51287 tree ad56ba9fbbd688963cbefe541b77b8d3de21959f parent 8e77af6a9a9b1eefdb538894b20ed41f65b65ab7 author Kenji Kaneshige Mon, 27 Feb 2006 22:15:49 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] acpiphp: Scan slots under the nested P2P bridge Current ACPIPHP driver scans only slots under the top level PCI-to-PCI bridge. So hotplug PCI slots under the nested PCI-to-PCI bridge would not be detected. For example, if the system has the ACPI namespace like below, hotplug slots woule not be detected. Device (PCI0) { /* Root bridge */ Name (_HID, "PNP0A03") Device (P2PA) { /* PCI-to-PCI bridge */ Name (_ADR, ...) Device (P2PB) { /* PCI-to-PCI bridge */ Name (_ADR, ...) Device (S0F0) { /* hotplug slot */ Name (_ADR, ...) Name (_SUN, ...) Method (_EJ0, ...) { ... } } ... Device (S0F7) { /* hotplug slot */ Name (_ADR, ...) Name (_SUN, ...) Method (_EJ0, ...) { ... } } Device (S1F0) { /* hotplug slot */ Name (_ADR, ...) Name (_SUN, ...) Method (_EJ0, ...) { ... } } ... } } } This patch fixes this issue. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 8e77af6a9a9b1eefdb538894b20ed41f65b65ab7 tree f715dc92e2f78bf450ce19b66b6171f89cecc840 parent 0afabe906539b4e8b9e895f19ea31aabdf12f30b author John Keller Wed, 08 Mar 2006 13:21:34 -0600 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI Hotplug: SN: Fix cleanup on hotplug removal of PPB When doing a hotplug removal of a PPB, sn_bus_store_sysdata() needs to be called for the PPB and all of its children. Acked-by: Prarit Bhargava Signed-off-by: John Keller Signed-off-by: Greg Kroah-Hartman commit 0afabe906539b4e8b9e895f19ea31aabdf12f30b tree aecea8cc15db5255018217f7247f5a521ed2a208 parent 3c990e9219ea0b0aee588473ce6c8a66cdee3ff5 author Kenji Kaneshige Wed, 01 Mar 2006 14:55:11 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] shpchp: cleanup bus speed handling The code related to handling bus speed in SHPCHP driver is unnecessarily complex. This patch cleans up and simplify that. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 3c990e9219ea0b0aee588473ce6c8a66cdee3ff5 tree 75279b66b201150b453dbe429a9dac22c4530b7e parent 309e57df7b766172ba137a8cbd909f88dd76e8e9 author Jeff Garzik Sat, 04 Mar 2006 21:52:42 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI: fix pci_request_region[s] arg Add missing 'const' to pci_request_region[s] 'res_name' arg, since we pass it directly to __request_region(), whose 'name' arg is also const. Signed-off-by: Greg Kroah-Hartman commit 309e57df7b766172ba137a8cbd909f88dd76e8e9 tree 74cc85977654925c76c687e597c7586b9e75629b parent 5eeca8e688b6affba4cd85262152fdd1b274ad33 author Matthew Wilcox Sun, 05 Mar 2006 22:33:34 -0700 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI: Provide a boot parameter to disable MSI Several drivers are starting to grow options to disable MSI. However, it's often a host chipset issue, not something which individual drivers should handle. So we add the pci=nomsi kernel parameter to allow the user to disable MSI modes for systems we haven't added to the quirk list yet. Signed-off-by: Matthew Wilcox Signed-off-by: Randy Dunlap Acked-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit 5eeca8e688b6affba4cd85262152fdd1b274ad33 tree b7b44b1b931ea80809dac937db230116bab2e721 parent 1305e9184a3de84f78dca102b293d21007bb6c49 author Adrian Bunk Sun, 05 Mar 2006 16:49:48 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI: the scheduled removal of PCI_LEGACY_PROC This patch contains the scheduled removal of PCI_LEGACY_PROC. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 1305e9184a3de84f78dca102b293d21007bb6c49 tree 4cefbc44ce9ac3e8563a64fd76590a4f24cf389d parent 0cccd0c20677e8a9da40018632f1b6c487ba2bd5 author Adrian Bunk Sun, 26 Feb 2006 22:16:51 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI: cpqphp_ctrl.c: board_replaced(): remove dead code The Coverity checker correctly noted, that in function board_replaced in drivers/pci/hotplug/cpqphp_ctrl.c, the variable src always has the value 8, and therefore much code after the ... if (rc || src) { ... if (rc) return rc; else return 1; } ... can never be called. This patch removes the unreachable code in this function fixing kernel Bugzilla #6073. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 0cccd0c20677e8a9da40018632f1b6c487ba2bd5 tree 76a6c9b8c96034d877c7074eb64c7156ade27b0f parent e27da3814170385a4d2797397d706e554635812d author MUNEDA Takahiro Fri, 24 Feb 2006 17:46:04 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpiphp: fix bridge handle When hotplug slot is under the host bridge, DEVICE_ACPI_HANDLE(&bus->self->dev) fails since '&bus->self' was not set. This patch fixes it. This patch is based on kristen's latest patches. I tested this patch on my Tiger4. Signed-off-by: MUNEDA Takahiro Signed-off-by: Greg Kroah-Hartman commit e27da3814170385a4d2797397d706e554635812d tree 67d9b838c79ebb6d1bba4a2c3bc85f3a7c3e9798 parent 63e5f248c4b748690b5180aa1b4b10eac51bb0e1 author MUNEDA Takahiro Thu, 23 Feb 2006 17:56:08 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpiphp - slot management fix - V4 o This patch removes IDs (for slots management). o This patch removes the slot register/unregister processes from the init/exit phases. Instead, adds these processes in the bridge add/cleanup phases. o Currently, this change doesn't have any meanings. But these changes are needed to support p2p bridge(with hotplug slot) Signed-off-by: MUNEDA Takahiro Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 63e5f248c4b748690b5180aa1b4b10eac51bb0e1 tree 7043d0ec5174d65e5d7b61d1d7b1704b49db17f6 parent 20416ea54087c25502d6fb973b8e119973e16341 author Kristen Accardi Thu, 23 Feb 2006 17:56:06 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpi: remove dock event handling from ibm_acpi Remove dock station support from ibm_acpi by default. This support has been put into acpiphp instead. Allow ibm_acpi to continue to provide docking station support via config option for laptops/docking stations that are not supported by acpiphp. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 20416ea54087c25502d6fb973b8e119973e16341 tree 47ca50997cbb408852021315ff4da315292467c2 parent ceaba663055e38226a070a9668eac5881d65a2cc author Kristen Accardi Thu, 23 Feb 2006 17:56:03 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpiphp: add dock event handling These patches add generic dock event handling to acpiphp. If there are pci devices that need to be inserted/removed after the dock event, the event notification will be handed down to the normal pci hotplug event handler in acpiphp so that new bridges/devices can be enumerated. Because some dock stations do not have pci bridges or pci devices that need to be inserted after a dock, acpiphp will remain loaded to handle dock events even if no hotpluggable pci slots are discovered. You probably need to have the pci=assign-busses kernel parameter enabled to use these patches, and you may not allow ibm_acpi to handle docking notifications and use this patch. This patch incorporates feedback provided by many. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit ceaba663055e38226a070a9668eac5881d65a2cc tree 805fdb8aeb5d3d5bacada0543875f67a0ac2e464 parent 15a1ae74879925d0d3f71ebc3f56d0a2c5db393a author Kristen Accardi Thu, 23 Feb 2006 17:56:01 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpi: export acpi_bus_trim Export the acpi_bus_trim function so that the pci hotplug driver can use it. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 15a1ae74879925d0d3f71ebc3f56d0a2c5db393a tree 6629b5eec7c8fae0c4fcf0901c475c32e598ec58 parent b89b7ea05a8f71426bd36ed12e6cd73179d0f720 author Kristen Accardi Thu, 23 Feb 2006 17:55:58 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpiphp: add new bus to acpi If we add a new bridge with subordinate busses, we should call make sure that acpi is notified so that the PRT (if present) can be read and drivers who have registered on this bus will be notified when it is started. Also make sure to use the max reserved bus number for the starting the bus scan. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit b89b7ea05a8f71426bd36ed12e6cd73179d0f720 tree db1212d7f74c7d1e98614fb593bcfb8801f5e8b0 parent 8c4b2cf9af9b4ecc29d4f0ec4ecc8e94dc4432d7 author Alan Stern Thu, 23 Feb 2006 17:12:51 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: Move pci_dev_put outside a spinlock This patch (as659) fixes a might_sleep problem in the PCI core, by moving a call to pci_dev_put() outside the scope of a spinlock. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8c4b2cf9af9b4ecc29d4f0ec4ecc8e94dc4432d7 tree 4f8e56e9012847aa4dfe4ec2c59f4d8b2714f2b2 parent a0454b40ee8fac03194bb71f01730266506e75e1 author Bernhard Kaindl Sat, 18 Feb 2006 01:36:55 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: PCI/Cardbus cards hidden, needs pci=assign-busses to fix "In some cases, especially on modern laptops with a lot of PCI and cardbus bridges, we're unable to assign correct secondary/subordinate bus numbers to all cardbus bridges due to BIOS limitations unless we are using "pci=assign-busses" boot option." -- Ivan Kokshaysky (from a patch comment) Without it, Cardbus cards inserted are never seen by PCI because the parent PCI-PCI Bridge of the Cardbus bridge will not pass and translate Type 1 PCI configuration cycles correctly and the system will fail to find and initialise the PCI devices in the system. Reference: PCI-PCI Bridges: PCI Configuration Cycles and PCI Bus Numbering: http://www.science.unitn.it/~fiorella/guidelinux/tlk/node72.html The reason for this is that: ``All PCI busses located behind a PCI-PCI bridge must reside between the secondary bus number and the subordinate bus number (inclusive).'' "pci=assign-busses" makes pcibios_assign_all_busses return 1 and this turns on PCI renumbering during PCI probing. Alan suggested to use DMI automatically set assign-busses on problem systems. The only question for me was where to put it. I put it directly before scanning PCI bus into pcibios_scan_root() because it's called from legacy, acpi and numa and so it can be one place for all systems and configurations which may need it. AMD64 Laptops are also affected and fixed by assign-busses, and the code is also incuded from arch/x86_64/pci/ that place will also work for x86_64 kernels, I only ifdef'-ed the x86-only Laptop in this example. Affected and known or assumed to be fixed with it are (found by googling): * ASUS Z71V and L3s * Samsung X20 * Compaq R3140us and all Compaq R3000 series laptops with TI1620 Controller, also Compaq R4000 series (from a kernel.org bugreport) * HP zv5000z (AMD64 3700+, known that fixup_parent_subordinate_busnr fixes it) * HP zv5200z * IBM ThinkPad 240 * An IBM ThinkPad (1.8 GHz Pentium M) debugged by Pavel Machek gives the correspondig message which detects the possible problem. * MSI S260 / Medion SIM 2100 MD 95600 The patch also expands the "try pci=assign-busses" warning so testers will help us to update the DMI table. Cc: Ivan Kokshaysky Cc: Alan Cox Cc: Dominik Brodowski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit a0454b40ee8fac03194bb71f01730266506e75e1 tree a746423eeeeb968bd271de17f4f8e80acac56999 parent b408cbc704352eccee301e1103b23203ba1c3a0e author Grant Grundler Thu, 16 Feb 2006 23:58:29 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: fix problems with MSI-X on ia64 Use "unsigned long" when dealing with PCI resources. The BAR Indicator Register (BIR) can be a 64-bit value or the resource could be a 64-bit host physical address. Enables ib_mthca and cciss drivers to use MSI-X on ia64 HW. Problem showed up now because of new system firmware on one platform. Symptom will either be memory corruption or MCA. Second part of this patch deals with "useless" code. We walk through the steps to find the phys_addr and then don't use the result. I suspect the intent was to zero out the respective MSI-X entry but I'm not sure at the moment. Delete the code inside the #if 0/#endif if it's really not needed. Signed-off-by: Grant Grundler Signed-off-by: Greg Kroah-Hartman commit b408cbc704352eccee301e1103b23203ba1c3a0e tree 5d0262537d6b3a3406aec61298520c045af9be8b parent 75cde0e25787c1af341a128b350c36df24e5397d author Linus Torvalds Wed, 22 Feb 2006 15:50:30 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: resource address mismatch On Tue, 21 Feb 2006, Ivan Kokshaysky wrote: > There are two bogus entries in the BIOS memory map table which are > conflicting with a prefetchable memory range of the AGP bridge: > > BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) > > 0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode]) > Flags: bus master, fast devsel, latency 0 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 > I/O behind bridge: 0000c000-0000cfff > Memory behind bridge: e7e00000-e7efffff > Prefetchable memory behind bridge: fec00000-ffcfffff > ^^^^^^^^^^^^^^^^^ Yes. However, it's pretty clear that the e820 entries are there for a reason. Probably they are a hack by the BIOS maintainers to keep Windows from stomping/moving that region, exactly because they want to keep the bridge where it is (or, it's actually for the BIOS itself - the BIOS tables are a horrid mess, and BIOS engineers are pretty hacky people: they'll add random entries to make their own broken algorithms do the "right thing"). > Starting from 2.6.13, kernel tries to resolve that sort of conflicts, > so that prefetch window of the bridge and the framebuffer memory behind > it get moved to 0x10000000. I think we could (and probably should) solve this another way: consider the ACPI "reserved regions" from the e820 map exactly the same way that we do other ACPI hints - they should restrict _new_ allocations, but not impact stuff we figure out on our own. Basically, right now we assign _unassigned_ resources at "fs_initcall" time. If we were to add in the e820 "reserved region" stuff before that (but after we've done PCI discovery), we'd probably do the right thing. Right now we do the e820 reserved regions very early indeed: we call "register_memory()" from setup_arch(). We could move at least part of it (the part that registers the resources) down a bit. Here's a test-patch. I'm not saying we should absolutely do this, but it might be interesting to try... Cc: "Antonino A. Daplas" Cc: Ivan Kokshaysky Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 75cde0e25787c1af341a128b350c36df24e5397d tree df10cc84b3a172bf441697f56a519ac56a78642d parent 6e325a62a0a228cd0222783802b53cce04551776 author Shaohua Li Wed, 08 Feb 2006 17:11:40 +0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: remove msi save/restore code in specific driver Remove pcie port driver's msi save/restore code. Signed-off-by: Shaohua Li Signed-off-by: Greg Kroah-Hartman commit 6e325a62a0a228cd0222783802b53cce04551776 tree 5609f9e841024ca57ba8ee7a919955c7589444c7 parent e5548e960f38557825e50806b52cb24c9e730aa2 author Michael S. Tsirkin Tue, 14 Feb 2006 18:52:22 +0200 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: make MSI quirk inheritable from the pci bus It turns out AMD 8131 quirk only affects MSI for devices behind the 8131 bridge. Handle this by adding a flags field in pci_bus, inherited from parent to child. Signed-off-by: Michael S. Tsirkin Signed-off-by: Greg Kroah-Hartman commit e5548e960f38557825e50806b52cb24c9e730aa2 tree f67ae1e04677f931e965a282fbcdf44349201e48 parent 3c0a654e390d00fef9d8faed758f5e1e8078adb5 author Bauke Jan Douma Tue, 28 Feb 2006 21:44:36 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] PCI: quirk for asus a8v and a8v delux motherboards On ASUS A8V and A8V Deluxe boards, the onboard AC97 audio controller and MC97 modem controller are deactivated when a second PCI soundcard is present. This patch enables them. Signed-off-by: Bauke Jan Douma Signed-off-by: Greg Kroah-Hartman commit 3c0a654e390d00fef9d8faed758f5e1e8078adb5 tree d031b746ac92c3a272e31b3c32ea3f1cf368ffa4 parent 50defa1ccaffc197a133d92acb48d696d5ea3539 author tomek@koprowski.org Sun, 19 Feb 2006 18:03:24 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] PCI: SMBus unhide on HP Compaq nx6110 I attach a trivial patch for 2.6.15.4 that unhides SMBus controller on an HP Compaq nx6110 notebook. Signed-off-by: Tomasz Koprowski Signed-off-by: Greg Kroah-Hartman commit 50defa1ccaffc197a133d92acb48d696d5ea3539 tree e1d36dfe9ad28db0c639502ba55c6bb70c1e0af3 parent e6b82b13c4066ca091a4919620d6403c8a269bc3 author Brian Gerst Sun, 19 Feb 2006 16:05:52 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] PCI: Add pci_device_shutdown to pci_bus_type The extra compatability code is not necessary. Any code still using the old shutdown method will trigger the warning in driver_register() instead. Signed-off-by: Brian Gerst Signed-off-by: Greg Kroah-Hartman commit e6b82b13c4066ca091a4919620d6403c8a269bc3 tree c32a3dd79081f9633c81d9c58780c7220118621b parent a246fa4e9f0f1b5096a1cad0659d22fb10fb3732 author Kenji Kaneshige Tue, 21 Feb 2006 15:45:50 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] shpchp: adapt to pci driver model This patch adapts SHPCHP driver to the PCI device driver model. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit a246fa4e9f0f1b5096a1cad0659d22fb10fb3732 tree 21490f4d1d2794a9ccd64529431fbbd8f4e234e7 parent f7391f5325ea744f0632f7ef39a90085162743ac author Kenji Kaneshige Tue, 21 Feb 2006 15:45:48 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] shpchp: Fix slot state handling Current SHPCHP driver doesn't care about the confliction between hotplug operation via sysfs and hotplug operation via attention button. So if those ware conflicted, slot could be an unexpected state. This patch changes SHPCHP driver to handle slot state properly. With this patch, slot events are handled according to the current slot state as shown at the Table below. Table. Slot States and Event Handling ========================================================================= Slot State Event and Action ========================================================================= STATIC - Go to POWERON state if user initiates (Slot enabled, insertion request via sysfs Slot disabled) - Go to POWEROFF state if user initiates removal request via sysfs - Go to BLINKINGON state if user presses attention button when the slot is disabled - Go to BLINKINGOFF state if user presses attention button when the slot is enabled commit f7391f5325ea744f0632f7ef39a90085162743ac tree a7368b2ca639211743ba7fbc0dab7a9efaea02b7 parent 68c0b671491088d79611fa965bbf94b3bc0024a4 author Kenji Kaneshige Tue, 21 Feb 2006 15:45:45 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] shpchp: event handling rework The event handler of SHPCHP driver is unnecessarily very complex. In addition, current event handler can only a fixed number of events at the same time, and some of events would be lost if several number of events happened at the same time. This patch simplify the event handler by using 'work queue', and it also fix the above-mentioned issue. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 68c0b671491088d79611fa965bbf94b3bc0024a4 tree d5e8ba499b378e53edc73b1470a988aefa0a0e0e parent 09e1218eccf58f6174fa68360a7c8dcfe457fe9b author Kenji Kaneshige Tue, 21 Feb 2006 15:45:42 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] shpchp: Remove unused wait_for_ctrl_irq The wait_for_ctrl_irq() function in SHPCHP driver is no longer needed. This patch removes that. This patch has no functional change. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 09e1218eccf58f6174fa68360a7c8dcfe457fe9b tree 6651cb6ad8d8e47747e8f4f5e33ad77c5bfe631f parent bbe8f9a3e76c551973ee739de10b26581d78b45f author Kenji Kaneshige Tue, 21 Feb 2006 15:45:38 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] shpchp: Remove unused pci_bus member from controller structure This patch removes unused 'pci_bus' member from controller structure. This patch have no functional change. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit bbe8f9a3e76c551973ee739de10b26581d78b45f tree 757788e67781a3eaee3453af79abf6bb50b3a681 parent 92c05fc1a32e5ccef5e0e8201f32dcdab041524c author Ralf Baechle Tue, 14 Feb 2006 16:23:57 +0000 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] PCI: Avoid leaving MASTER_ABORT disabled permanently when returning from pci_scan_bridge. > On Mon, Feb 13, 2006 at 05:13:21PM -0800, David S. Miller wrote: > > > > In drivers/pci/probe.c:pci_scan_bridge(), if this is not the first > > pass (pass != 0) we don't restore the PCI_BRIDGE_CONTROL_REGISTER and > > thus leave PCI_BRIDGE_CTL_MASTER_ABORT off: > > > > int __devinit pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass) > > { > > ... > > /* Disable MasterAbortMode during probing to avoid reporting > > of bus errors (in some architectures) */ > > pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &bctl); > > pci_write_config_word(dev, PCI_BRIDGE_CONTROL, > > bctl & ~PCI_BRIDGE_CTL_MASTER_ABORT); > > ... > > if ((buses & 0xffff00) && !pcibios_assign_all_busses() && !is_cardbus) { > > unsigned int cmax, busnr; > > /* > > * Bus already configured by firmware, process it in the first > > * pass and just note the configuration. > > */ > > if (pass) > > return max; > > ... > > } > > > > pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bctl); > > ... > > > > This doesn't seem intentional. Agreed, looks like an accident. The patch [1] originally came from Kip Walker (Broadcom back then) between 2.6.0-test3 and 2.6.0-test4. As I recall it was supposed to fix an issue with with PCI aborts being signalled by the PCI bridge of the Broadcom BCM1250 family of SOCs when probing behind pci_scan_bridge. It is undeseriable to disable PCI_BRIDGE_CTL_MASTER_ABORT in pci_{read,write)_config_* and the behaviour wasn't considered a bug in need of a workaround, so this was put in probe.c. I don't have an affected system at hand, so can't really test but I propose something like the below patch. [1] http://www.linux-mips.org/git?p=linux.git;a=commit;h=599457e0cb702a31a3247ea6a5d9c6c99c4cf195 [PCI] Avoid leaving MASTER_ABORT disabled permanently when returning from pci_scan_bridge. Signed-off-by: Ralf Baechle Signed-off-by: Greg Kroah-Hartman commit 92c05fc1a32e5ccef5e0e8201f32dcdab041524c tree 71c0202dffee676d3b2e0b75ea4472aaa2ffe8df parent e4e73041ecc4a3559c42ed9489f58531c2a8646b author Andi Kleen Thu, 23 Mar 2006 14:35:12 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] PCI: Give PCI config access initialization a defined ordering I moved it to a separate function which is safer. This avoids problems with the linker reordering them and the less useful PCI config space access methods taking priority over the better ones. Fixes some problems with broken MMCONFIG Cc: Dave Hansen Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman commit e4e73041ecc4a3559c42ed9489f58531c2a8646b tree f74051398ce7fa52a6e429d755d7d56f0308f99b parent bbe779db9f97e1c99b3c7ce1ebb26bbaecbdb2a9 author Kenji Kaneshige Thu, 26 Jan 2006 10:05:57 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] shpchp - Fix incorrect return value of interrupt handler Current SHPCHP driver has a bug in its interrupt handler which cause "IRQ #: nobody cared" oops. This problem can be reproduced easily by the following operation. # cd /sys/bus/pci/slots/ # while true; do echo 1 > attention ; done & The reason is that when command complete interrupt is raised, current SHPCHP driver's interrupt handler returns IRQ_NONE regardless of if the interrupt is handled or not. This patch fixes this issue. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit bbe779db9f97e1c99b3c7ce1ebb26bbaecbdb2a9 tree c24d816da4873b62a4a0f29f6c39e213e5890841 parent 8abebe13f9df5b93be521eeefbf349236ddcd4eb author Kenji Kaneshige Thu, 26 Jan 2006 10:04:56 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] shpchp - move slot name into struct slot This patch moves slot name area into struct slot. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 8abebe13f9df5b93be521eeefbf349236ddcd4eb tree ebfef0af3f05f60525e49ae2d234087e47b35b1c parent 57c95c0d1c9ec83877dfea2f62bebf31059bc93c author Kenji Kaneshige Thu, 26 Jan 2006 10:03:40 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] shpchp - removed unncessary 'magic' member from slot This patch removes unnecessary 'magic' member from struct slot of SHPCHP driver. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 57c95c0d1c9ec83877dfea2f62bebf31059bc93c tree 864e89551bb003665192973b5d3c6831cc478f95 parent 287588b3537d0ce56a83f54d0e6ffcd60e54b569 author Kenji Kaneshige Thu, 26 Jan 2006 10:02:41 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - replace kmalloc() with kzalloc() and cleanup arg of sizeof() This patch replaces kmalloc() and memset() pair with kzalloc() and cleans up the arg of sizeof() in SHPCHP driver. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 287588b3537d0ce56a83f54d0e6ffcd60e54b569 tree 1c0747a10543f327de97ff90728bb445055423e4 parent ef3be54777901e570185089f21fbe4498453f67e author Kenji Kaneshige Thu, 26 Jan 2006 10:01:35 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] pcihp_skeleton.c cleanup This patch cleans up pcihp_skelton.c as follows. o Move slot name area into struct slot. o Replace kmalloc with kzalloc and clean up the arg of sizeof() o Fix the wrong use of get_*_status() functions. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit ef3be54777901e570185089f21fbe4498453f67e tree 6b03aacd9c9c99ec2160014e0d64415893f6f9f7 parent d29aaddab3ef3bdaecf3c9c6d9423f0bf0452ccf author Kenji Kaneshige Thu, 26 Jan 2006 10:00:33 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - bugfix: add missing serialization Current shpchp driver might cause system panic because of lack of serialization. It can be reproduced very easily by the following operation. # cd /sys/bus/pci/slots/ # while true; do echo 0 > power ; echo 1 > power ; done & # while true; do echo 0 > power ; echo 1 > power ; done & This patch fixes this issue by changing shpchp to get appropreate semaphore for hot-plug operation. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit d29aaddab3ef3bdaecf3c9c6d9423f0bf0452ccf tree d13a74cfe055784dc3574187d147f1215035d2e6 parent a4534560815ffc525bfbe465a290ce048aab4c01 author Kenji Kaneshige Thu, 26 Jan 2006 09:59:24 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - cleanup check command status This patch cleanups codes that check the command status. For this, it introduces a new semaphore "cmd_sem" for each controller. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit a4534560815ffc525bfbe465a290ce048aab4c01 tree 28a444dc6b9667bdf16f83ab7a339ff7c5e820a2 parent 5b1a960d180e9660a87b0c661a754efabc1b1d3a author Kenji Kaneshige Thu, 26 Jan 2006 09:58:30 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - cleanup controller list This patch changes SHPCHP driver to use list_head structure for managing controller list. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 5b1a960d180e9660a87b0c661a754efabc1b1d3a tree f49931b000ff784c3267f134ff3734f640fcd5d7 parent dfcd5f68ec916414532e88583d1557b6ac0197f5 author Kenji Kaneshige Thu, 26 Jan 2006 09:57:40 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - cleanup slot list This patch changes SHPCHP driver to use list_head structure for managing slot list. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit dfcd5f68ec916414532e88583d1557b6ac0197f5 tree 989e7bf165c50bfbe4dfbcbb579e532a111c7731 parent 926030f6af856d5681af7940239da2b0269cd755 author Kenji Kaneshige Thu, 26 Jan 2006 09:56:53 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - cleanup shpchp_core.c This patch cleanups some codes in shpchp_core.c. This patch has no functional changes. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 926030f6af856d5681af7940239da2b0269cd755 tree 3394c11c599dbdb853a10b0b82a28d29e2bf9e7d parent 6aa4cdd07139ba4d5b89139b0070d795cc4dea88 author Kenji Kaneshige Thu, 26 Jan 2006 09:55:35 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] shpchp - cleanup init_slots() This patch cleanups init_slots() function of SHPCHP driver based on pcihp_skelton.c. This patch has no functional change. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 6aa4cdd07139ba4d5b89139b0070d795cc4dea88 tree 3bfe5e8ef916f0e27c0ea8ef0d073fcd01cfff29 parent c408a3794d6222ab43ab26648385f850a82f0803 author Ingo Molnar Fri, 13 Jan 2006 16:02:15 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI hotplug: convert semaphores to mutex semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build tested with allyesconfig. Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman commit c408a3794d6222ab43ab26648385f850a82f0803 tree 08133e5100c56da1f7e9e8ccd02f0ec9760312ea parent e3ac86d8b3f5cee1afaa3e9e6984d0321149b948 author Kristen Accardi Tue, 17 Jan 2006 16:57:04 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI: quirk for IBM Dock II cardbus controllers The IBM Dock II cardbus bridges require some extra configuration before Yenta is loaded in order to setup the Interrupts to be routed properly. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit e3ac86d8b3f5cee1afaa3e9e6984d0321149b948 tree 6bb42129178c2bcaf2afb56484c7d3940b6be924 parent b82db5cedf78bfeb4a1c8a28ae284dc671d26eb3 author Kristen Accardi Tue, 17 Jan 2006 16:57:01 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI: really fix parent's subordinate busnr After you find the maximum value of the subordinate buses below the child bus, you must fix the parent's subordinate bus number again, otherwise it may be too small. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit b82db5cedf78bfeb4a1c8a28ae284dc671d26eb3 tree c1a7869c3a0972ee4173df70ba5a5d12a37845d1 parent b64c05e7de6071694dd6840eac9724a006ee19f8 author Kristen Accardi Tue, 17 Jan 2006 16:56:56 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI: return max reserved busnr Change the semantics of this call to return the max reserved bus number instead of just the max assigned bus number. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit b64c05e7de6071694dd6840eac9724a006ee19f8 tree b611e32ceeaa0de2782334fe88a204dfe97e6017 parent b0e6e962992b76580f4900b166a337bad7c1e81b author Grant Grundler Sat, 14 Jan 2006 00:34:53 -0700 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI: clean up msi.c a bit Clean up: move assignments outside of if() statements. AFAICT, no functional change. Easier to read/understand. Depends on "[PATCH 1/3] msi vector targeting abstractions" by Mark Maule . I expect one hunk to fail if applied against 2.6.15. This is essentially Joe Perches' patch. I've cleaned up the one instance added by Mark's patch. Signed-off-by: Grant Grundler Signed-off-by: Greg Kroah-Hartman commit a5b00bb4fe60796c791238cf5653b82110031c93 tree 05938f68e51ad465e7ff76f05945210523061c1b parent 39e18de810049e836390830174a248ad241b156a author Horms Thu, 23 Mar 2006 14:27:12 -0800 committer Tony Luck Thu, 23 Mar 2006 14:27:12 -0800 IA64: Use early_parm to handle mvec_name and nomca I'm not sure of the worthiness of this idea, so please consider it an RFC. Its key merits are: * Reuse existing infrastructure * Greatly tightens up the parsing of nomca * Greatly simplifies the parsing of machvec Addition cleanup (moving setup_mvec() to machvec.c) by Ken Chen. Signed-Off-By: Horms Signed-Off-By: Tony Luck commit ded2b66615613093eeb83b81499bc270de8fc499 tree 118f87f38a4b7a2c8d65f38beb85fa63da78fb4f parent f6c27fc17c5e575c5471fb344bdbd5f5f6072136 author Mark M. Hoffman Sun, 05 Mar 2006 23:13:47 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] hwmon: add required idr locking Add required locking around idr_ routines, retry the idr_pre_get/idr_get_new pair properly, and sprinkle in some likely/unlikely for good measure. (Lack of idr locking didn't hurt when all callers were I2C clients, as the i2c-core serialized for us anyway. Now that we have non I2C hwmon drivers, this is truly necessary.) Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f6c27fc17c5e575c5471fb344bdbd5f5f6072136 tree 0b6b2e884ef47278471e450f5a346ada5c451f00 parent 279a022d4a12598b58aee47a73faf2d8cc72c91f author Darren Jenkins Mon, 27 Feb 2006 23:14:58 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] I2C: hwmon: Rename register parameters "register" is a reserved keyword so using it as a parameter name can confuse some compilers, most notably ICC. The patch below just renames all occurences to reg which fits the actual function declarations. Signed-off-by: Darren Jenkins Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 279a022d4a12598b58aee47a73faf2d8cc72c91f tree 45ae7c9206b8d8043d3cbdba65efb212e072125c parent 7cd30b26eb779b787e00e05f3e9797a97de33968 author Jean Delvare Mon, 27 Feb 2006 23:13:53 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] I2C: Drop unneeded i2c-dev.h includes Several media/video and sound drivers include i2c-dev.h while they don't need it at all. Clean it up. This header file is really only needed by i2c-dev.c and compat_ioctl.c, other drivers should never need it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7cd30b26eb779b787e00e05f3e9797a97de33968 tree b96183de47887cc45e6a6a414fe760f7aa935184 parent 5f7ea3c58c9aa571617a9d77dd2fbd4bd81cc50a author Alessandro Zummo Mon, 27 Feb 2006 23:12:58 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] I2C: i2c-ixp4xx: Add hwmon class This patch adds I2C_CLASS_HWMON to the ixp4xx bus driver. Signed-off-by: Alessandro Zummo Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5f7ea3c58c9aa571617a9d77dd2fbd4bd81cc50a tree c6aa7f23b17b67360958bfe825b30a61b63f2e19 parent d7d2fe384703f3f57dac94e8e6303a9f0d9a6239 author Martin Devera Mon, 27 Feb 2006 23:11:45 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] I2C: i2c-piix4: Add Broadcom HT-1000 support Add Broadcom HT-1000 south bridge's PCI ID to i2c-piix driver. Note that at least on Supermicro H8SSL it uses non-standard SMBHSTCFG = 3 and standard values like 0 or 9 causes hangup. Signed-off-by: Martin Devera Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d7d2fe384703f3f57dac94e8e6303a9f0d9a6239 tree 20164709d167953c1f2e05d7ae2c922fc262e1e3 parent 0cbcb4d39a83d4df7e45c13b5ebd9fe73e025237 author Jean Delvare Mon, 27 Feb 2006 23:09:22 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] I2C: i2c-amd756-s4882: Improve static mutex initialization Static mutexes can be initialized at declaration time. Signed-off-by: Jean Delvare commit 0cbcb4d39a83d4df7e45c13b5ebd9fe73e025237 tree 3387e04193267442517e3683a2d4153d2ab5bff4 parent c006705e0f6a195d122be8d5344a4257c269f559 author Jean Delvare Mon, 27 Feb 2006 23:08:18 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] I2C: i2c-ali1535: Drop redundant mutex Drop a redundant mutex in driver i2c-ali1535. The struct i2c_adapter includes a mutex for the same purpose, operated by i2c-core. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c006705e0f6a195d122be8d5344a4257c269f559 tree 63e9891f4493a00fbc46e4a497057aa6baec0b48 parent f8d6d9f52b4977f5427e2cb782521611a823c108 author Jean Delvare Sun, 05 Feb 2006 23:31:25 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] i2c: Cleanup isp1301_omap Drop unused rogue i2c driver ID and nonsensical i2c class. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f8d6d9f52b4977f5427e2cb782521611a823c108 tree bd525c43d5cc5157c0edf11e2a3547966e7842f8 parent 2f27f46c49c096d86e7e63acd43cad3bc42f2383 author Jean Delvare Sun, 05 Feb 2006 23:30:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] i2c: Fix i2c-ite name initialization Properly set the name member of the i2c_adapter structure of the ite i2c adapter driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2f27f46c49c096d86e7e63acd43cad3bc42f2383 tree fa30d7fee071f5c0df6b24b31b82181fdab64356 parent 7eebcb7c0f4d45168265bdca79cc3e609d68d436 author Jean Delvare Sun, 05 Feb 2006 23:29:18 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] i2c: Drop the i2c-frodo bus driver Drop the i2c-frodo bus driver. It isn't referenced by the build system, and depends on code which was never included in 2.6 kernels. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7eebcb7c0f4d45168265bdca79cc3e609d68d436 tree c8a46a299470731d0aab60e850cce4fc51a04657 parent fabddcd49d8b4fca40ce346f701853888d98b5d2 author Jean Delvare Sun, 05 Feb 2006 23:28:21 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:53 -0800 [PATCH] i2c: Optimize core_lists mutex usage Stop holding the core_lists mutex when we don't actually need it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fabddcd49d8b4fca40ce346f701853888d98b5d2 tree ee3722562be9d1106f3c311dd2e8a84abdcd5bc9 parent 41fc49337d7779eefb6b5e85a8a3cd9e11e9de08 author Jean Delvare Sun, 05 Feb 2006 23:26:51 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:53 -0800 [PATCH] w83781d: Don't reset the chip by default Stop resetting the chip on load by default, so as to preserve the BIOS initializations. Same was done in the w83627hf driver some times ago for the same reasons. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 41fc49337d7779eefb6b5e85a8a3cd9e11e9de08 tree b5b4302f70408891234b75ce9fe7202baa7eb1e9 parent 412fec8216bb71ecbe255af702b0daf7ad55a7c4 author Jean Delvare Sun, 05 Feb 2006 23:25:25 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:53 -0800 [PATCH] w83781d: Document the alarm and beep bits Document the individual alarm and beep bits of the w83781d driver. Ideally we would offer a chip-independant interface for them, but until it's done, it's only fair that we document the current interface. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 412fec8216bb71ecbe255af702b0daf7ad55a7c4 tree d6995537f0a34932564250a664bb1cd60887a6a8 parent 4c537fb287e68b84df685f4730348e83a163367b author Yuan Mu Sun, 05 Feb 2006 23:24:16 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:53 -0800 [PATCH] w83627ehf: Refactor the sysfs interface Use dynamic sysfs callbacks and array of attributes to reduce the w83627ehf driver size. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 4c537fb287e68b84df685f4730348e83a163367b tree 641d9cc7019eadf02904945c6ae53a66a4ffb1bd parent c2db6ce14a743ac5f8973124272cf425c4f86b90 author Jean Delvare Sun, 05 Feb 2006 23:21:05 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:52 -0800 [PATCH] hwmon: Support the Pentium M VID code Add support for the Intel Pentium M series to the hwmon-vid driver. Signed-off-by: Jean Delvare Cc: Rudolf Marek Signed-off-by: Greg Kroah-Hartman commit c2db6ce14a743ac5f8973124272cf425c4f86b90 tree ae55d515d46acf40c52b0b62c2ee31ae6c3a0897 parent f08191849e42e67ab6ad556d9c2e8cbed1ddf303 author Jean Delvare Wed, 18 Jan 2006 23:22:12 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:52 -0800 [PATCH] hwmon: Add support for the Winbond W83687THF Add support for the Winbond W83687THF chip to the w83627hf hardware monitoring driver. This new chip is almost similar to the already supported W83627THF chip, except for VID and a few other minor changes. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f08191849e42e67ab6ad556d9c2e8cbed1ddf303 tree e27c84e6ebadc3417ec2b7b826f9f0e0bfd6fad0 parent 9a61bf6300533d3b64d7ff29adfec00e596de67d author Jean Delvare Wed, 18 Jan 2006 23:20:53 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:52 -0800 [PATCH] hwmon: f71805f semaphore to mutex conversions Convert the new f71805f hardware monitoring driver to use mutexes instead of semaphores. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9a61bf6300533d3b64d7ff29adfec00e596de67d tree cadce1ae78b51a1dc4c4414699cb590e8c8625e1 parent 3fb9a65529615944138d527b70174840c95c637a author Ingo Molnar Wed, 18 Jan 2006 23:19:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:52 -0800 [PATCH] hwmon: Semaphore to mutex conversions convert drivers/hwmon/*.c semaphore use to mutexes. the conversion was generated via scripts, and the result was validated automatically via a script as well. all affected hwmon drivers were build-tested. Signed-off-by: Ingo Molnar Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3fb9a65529615944138d527b70174840c95c637a tree 86833e442c87dfbcda7ee5644120ee8a9a9d0f8c parent 5c085d369c2c4f18942ec8951466e186366d5c78 author Jean Delvare Wed, 18 Jan 2006 23:17:01 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] i2c: Semaphore to mutex conversions, part 3 Cleanup after the semaphores to mutexes conversions in the i2c subsystem. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5c085d369c2c4f18942ec8951466e186366d5c78 tree 22ca525700049a402281a0503b07db0645075f58 parent 7656032b904b936eca65a41afa1f2b3603195657 author Ingo Molnar Wed, 18 Jan 2006 23:16:04 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] i2c: Semaphore to mutex conversions, part 2 semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build tested. Signed-off-by: Ingo Molnar Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7656032b904b936eca65a41afa1f2b3603195657 tree 13144edd4480448c901d9ae8cfb92f882c29c009 parent 93766d2de6a3f7eead3fda57fd4638b90d6691fa author Jean Delvare Wed, 18 Jan 2006 23:14:55 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] i2c: Speed up block transfers Speed up i2c_smbus_write_block_data and i2c_smbus_read_i2c_block_data a bit by using memcpy instead of an explicit loop. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 93766d2de6a3f7eead3fda57fd4638b90d6691fa tree e491425b19f46afd75179c3a7ba8e0383a87cc39 parent 1f8dae31fe8d7b1dbeaa2110e063d876be91ed60 author Jean Delvare Wed, 18 Jan 2006 23:13:09 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] hwmon: w83792d drop useless macros Drop 3 useless macros in the w83792d hardware monitoring driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1f8dae31fe8d7b1dbeaa2110e063d876be91ed60 tree 50f758ba7ecd7f72ca30444f632f51949d3bb71c parent 70adca5a9f506942ec88fb2d9d6e71ef271888b7 author Yuan Mu Wed, 18 Jan 2006 23:11:55 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] hwmon: w83792d use arrays of attributes Use arrays of attributes in the w83792d driver. Signed-off-by: Jim Cromie Signed-off-by: Yuan Mu Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 70adca5a9f506942ec88fb2d9d6e71ef271888b7 tree 3cd10be98bf800850881b93a8767b6af6fefa867 parent cdf263f1c59cad9b1567e759890b9be044972856 author Jim Cromie Wed, 18 Jan 2006 23:10:49 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] hwmon: Refactor SENSOR_DEVICE_ATTR_2 This patch refactors SENSOR_DEVICE_ATTR_2 macro, following pattern set by SENSOR_ATTR. First it creates a new macro SENSOR_ATTR_2() which expands to an initialization expression, then it uses that in SENSOR_DEVICE_ATTR_2, which declares and initializes a struct sensor_device_attribute_2. Signed-off-by: Jim Cromie Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cdf263f1c59cad9b1567e759890b9be044972856 tree d5fa705326c9253e4949577adeffcb8b7853e0e7 parent a417bbd33b2ed7a3b2bc78cbadb820079d453328 author Jean Delvare Sun, 22 Jan 2006 12:28:57 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] I2C: fix sx200_acb build on other arches scx200_acb is only useful on a few Geode-based systems, and won't compile on non-x86 systems due to the lack of asm/msr.h, as reported by Andrew Morton. Thus, we should make that driver depend on X86. Signed-off-by: Jean Delvare commit a417bbd33b2ed7a3b2bc78cbadb820079d453328 tree aec8c8b55642171fb34a9ee3005000a01179f459 parent f933ff504f5b3f0f94b98d69d48fc8d3c1e92267 author Ben Gardner Wed, 18 Jan 2006 22:53:09 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] i2c: scx200_acb minimal documentation update scx200_acb: Minimal documentation update Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f933ff504f5b3f0f94b98d69d48fc8d3c1e92267 tree 8dab006c4b542ab5f856850e1884e2ac8e1c84a5 parent 16ffc5c99554bc1630bc3939e0950a75b2b1c811 author Ben Gardner Wed, 18 Jan 2006 22:52:06 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] i2c: scx200_acb fix and speed up the poll loop scx200_acb: Fix and speed up the poll loop Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 16ffc5c99554bc1630bc3939e0950a75b2b1c811 tree 553e2cbee905e84954e86618ba8782596f5f1fe7 parent 8a05940d742174a87427a3fe746712d49d4b8c4b author Ben Gardner Wed, 18 Jan 2006 22:48:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] i2c: scx200_acb add support for the CS5535/CS5536 scx200_acb: Add support for the CS5535/CS5536 Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare commit 8a05940d742174a87427a3fe746712d49d4b8c4b tree 0dd0fc84a3b2818c75e0b692ba16fd17b57d60c4 parent 9b7b6d3b2b46c5c336a441ed12b504ee192e63b3 author Ben Gardner Wed, 18 Jan 2006 22:46:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] i2c: scx200_acb remove use of lock_kernel scx200_acb: remove use of lock_kernel() Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9b7b6d3b2b46c5c336a441ed12b504ee192e63b3 tree 199e4ffbcd7398e416eff70a4b35386310f123d9 parent ef4d9275e2949976cb43c8bd0c11cb77b9b017e9 author Ben Gardner Wed, 18 Jan 2006 22:44:04 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] i2c: scx200_acb refactor/simplify code scx200_acb: refactor/simplify code (no functional changes) Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ef4d9275e2949976cb43c8bd0c11cb77b9b017e9 tree 02f448cc836cc8b95847856f1ded05b3de50128c parent 99c3adb4d5a2d0727d656f32d5de885581d3feec author Ben Gardner Wed, 18 Jan 2006 22:43:10 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] i2c: scx200_acb debug log cleanup scx200_acb: debug log cleanup Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 99c3adb4d5a2d0727d656f32d5de885581d3feec tree d8dc046242a5f5f055851be383a480460a501dcd parent b3585e4f5b3e4ddb4d82ae50d0b844f619c6d821 author Ben Gardner Wed, 18 Jan 2006 22:41:50 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] i2c: scx200_acb whitespace and comment cleanup scx200_acb: Whitespace and comment cleanup Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b3585e4f5b3e4ddb4d82ae50d0b844f619c6d821 tree 5375363cc6087d74196efc0ded6dae9a8a4c2ad5 parent 2488a39d233a758d41ab7de70a220bc956f3c96c author Arjan van de Ven Wed, 11 Jan 2006 10:50:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] I2C: Convert i2c to mutexes The patch below converts a few i2c semaphores to mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 2488a39d233a758d41ab7de70a220bc956f3c96c tree ad13b0f0e4934215a4378f63175dfc98e44e3061 parent dedc6a7803d9c9795b504ffd8530a4ba7b3fd9ed author Jean Delvare Mon, 09 Jan 2006 23:29:11 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] hwmon: Use attribute arrays in f71805f Convert the f71805f driver to use arrays of attributes. This shrinks the compiled module from 12.0 kB to 9.6 kB. We certainly should do the same for as many hardware monitoring drivers as possible. This, together with a nice chip design by Fintek, makes this driver very small, both in terms of number of lines of code and memory consumption. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit dedc6a7803d9c9795b504ffd8530a4ba7b3fd9ed tree a9e1cb0d15b8bafbc27120945cfd1f02b03e6739 parent 42d3b83fecb7b576d477244347982baa02fa4f44 author Jim Cromie Mon, 09 Jan 2006 23:24:41 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:48 -0800 [PATCH] hwmon: Use attribute arrays in pc87360 Convert individual sensors to sensor-attr arrays by each sensor type, and initialize them in loops instead of long blocks of individual calls. Signed-off-by: Jim Cromie Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 42d3b83fecb7b576d477244347982baa02fa4f44 tree 42c799763f3b908a554f050c1b8990e5f41bb7ac parent b0e6e962992b76580f4900b166a337bad7c1e81b author Jim Cromie Mon, 09 Jan 2006 23:22:24 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:48 -0800 [PATCH] hwmon: Allow sensor attributes arrays This patch refactors SENSOR_DEVICE_ATTR macro. First it creates a new macro SENSOR_ATTR() which expands to an initialization expression, then it uses that in SENSOR_DEVICE_ATTR, which declares and initializes a struct sensor_device_attribute. IOW, SENSOR_ATTR() imitates __ATTR() in include/linux/device.h. Signed-off-by: Jim Cromie Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9b7c84899ea6bfc4f8932a83b28db313e7397bd1 tree 76af15f52485f95cf7c841e9994f6a9f99eab4b4 parent eff4b1fe0aa8002cbf414576e8cc102967bd9d5d parent 4edac92fcf5956b0ef52fb281207863902e430bc author Jeff Garzik Thu, 23 Mar 2006 17:15:41 -0500 committer Jeff Garzik Thu, 23 Mar 2006 17:15:41 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit eff4b1fe0aa8002cbf414576e8cc102967bd9d5d tree a0fff929dbcbedc6f42d59d197536baaa670fa7a parent 29b4e886cbba5e0b0e4379fea7fc313e7808b5c2 author Stephen Hemminger Thu, 23 Mar 2006 11:07:29 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: version 1.5 Update version to allow tracking of complaints. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 29b4e886cbba5e0b0e4379fea7fc313e7808b5c2 tree 8871821748ca3b4d4a4d96e33d6ada6735107a32 parent 866b4f3e94a7568a1cb0018c061e19e120de6922 author Stephen Hemminger Thu, 23 Mar 2006 11:07:28 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: compute available ring buffers Don't need to keep track of available buffers, it is simpler to just compute the value (ala e1000). Don't need tes on link up because should always have available buffers then. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 866b4f3e94a7568a1cb0018c061e19e120de6922 tree ce9f82edb063145a46d5bc84d7e38d153272bc46 parent 4c180fc424550217344db6fe8960732dbd7feb0c author Stephen Hemminger Thu, 23 Mar 2006 11:07:27 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: dont free skb until multi-part transmit complete Don't free transmit buffers until the whole set of transmit descriptors has been marked as done. Otherwise, we risk freeing a skb before the whole transmit is done. This changes the transmit completion handling from incremental to a two pass algorithm. First pass scans and records the start of the last done descriptor, second cleans up until that point. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 4c180fc424550217344db6fe8960732dbd7feb0c tree a403d3ae7156876daf866749edb10177450ed2b7 parent 5a01144717ee9dacd45e1b0861a2c593796bcead author Stephen Hemminger Thu, 23 Mar 2006 11:07:26 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: multicast statistics fix Fix count of multicast packets. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5a01144717ee9dacd45e1b0861a2c593796bcead tree ca401ae28092ee83c943c3b5e4a538803c81edd4 parent b5d56ddc3f839e94e97a3eb8afb4d0d64a9f2ef8 author Stephen Hemminger Thu, 23 Mar 2006 11:07:25 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: rx_reuse called twice In the error case we call skge_rx_reuse twice. This is harmless but unnecessary. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b5d56ddc3f839e94e97a3eb8afb4d0d64a9f2ef8 tree 0b3f2130c6c1afbfc71ed55c19f12d31fb7ac22a parent 901ccefb2dd7fe6a9e750a68f990f2a7d76b78d2 author Stephen Hemminger Thu, 23 Mar 2006 11:07:24 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: dont use dev_alloc_skb for rx buffs The skge driver was using dev_alloc_skb which reserves space for the Ethernet header. This unnecessary and it should just use alloc_skb, also by using GFP_KERNEL during startup it won't run into problems when a user asks for a huge ring size or mtu and potentially drains the reserved atomic pool. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 901ccefb2dd7fe6a9e750a68f990f2a7d76b78d2 tree 993c53d43398941533ffc5b84457b33a4f23fee6 parent 15240072ac3ffb67050acd0b71b477c3bb977670 author Stephen Hemminger Thu, 23 Mar 2006 11:07:23 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: align receive buffers The skge driver aligns the header on the initial receive buffers, but but doesn't on followon receive buffer allocations. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 15240072ac3ffb67050acd0b71b477c3bb977670 tree 0a8034b3016643698987eada31aeb2ad084ad8b5 parent 050ff18016979b98e3cadb930d6e29bfd5530469 author Stephen Hemminger Thu, 23 Mar 2006 08:51:38 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:53 -0500 [PATCH] sky2: dont need to use dev_kfree_skb_any Transmit buffers are always freed with interrupts enabled (softirq), so we can just call dev_kfree_skb. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 050ff18016979b98e3cadb930d6e29bfd5530469 tree cecfa70fcdf40ddd225f1318aff12afe12bbe2f2 parent d26045404c8925eadf252aeb6b5b8055fc01e9de author Stephen Hemminger Thu, 23 Mar 2006 08:51:37 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:53 -0500 [PATCH] sky2: Fix RX stats Unicast packets are shown as multicast, real multicast packets are missing. Signed-off-by: Patrick McHardy Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d26045404c8925eadf252aeb6b5b8055fc01e9de tree edb472fd42166519e070befc03f79498923e6ceb parent 88e3c1da8b3258a81c5c81d4e7e22557b7d71ba7 author Stephen Hemminger Thu, 23 Mar 2006 08:51:36 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:53 -0500 [PATCH] sky2: typo in last stats patch Typo in last stats patch. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 88e3c1da8b3258a81c5c81d4e7e22557b7d71ba7 tree ab518773c0ff4606f1a57d00b5931332a7e1d96e parent fa4fa40a990f8f4eff65476bef32007c154bbac0 parent b0e6e962992b76580f4900b166a337bad7c1e81b author Jeff Garzik Thu, 23 Mar 2006 17:13:43 -0500 committer Jeff Garzik Thu, 23 Mar 2006 17:13:43 -0500 Merge branch 'master' commit 4edac92fcf5956b0ef52fb281207863902e430bc tree db4539351c227c70504294715885a20bd3e60a05 parent 9320199957cebc39ccef372fa1fccf5ba3d3fd7d author David Woodhouse Thu, 23 Mar 2006 14:03:00 +0000 committer John W. Linville Thu, 23 Mar 2006 16:18:47 -0500 [PATCH] Restore channel setting after scan. After a scan, we weren't switching back to the original channel if we were associated with an AP. So NetworkManager's periodic scans would disrupt connectivity until the ESSID was manually set again. Fix that. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit 9320199957cebc39ccef372fa1fccf5ba3d3fd7d tree c4d89643eae57f819aa014eca6f4032d66e9ef5a parent 4f7ecdf0b1b8125fe190247beb0df652829e13cb author Jouni Malinen Sun, 19 Mar 2006 19:21:49 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:58 -0500 [PATCH] hostap: Fix memory leak on PCI probe error path The Coverity checker (CID: 659, 660) spotted this resource leak on PCI probe error path. Free private data structure if pci_enable_device() fails. Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 4f7ecdf0b1b8125fe190247beb0df652829e13cb tree c003b400680386fce0db3ab4e9bb8034953eb960 parent 3a1c42ad98fddab63e62b400ae98e6f609485efc author Jouni Malinen Sun, 19 Mar 2006 19:21:48 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:58 -0500 [PATCH] hostap: Remove dead code (duplicated idx != 0) The Coverity checker (CID: 58) spotted this duplicated idx != 0 validation for unicast keys in prism2_ioctl_siwencodeext(). Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 3a1c42ad98fddab63e62b400ae98e6f609485efc tree 419225b1ff68508e04f08dfb98ca8b21d1e83fef parent 8abceaf1cf44b9d95bcc366fa277b33e292141c4 author Jouni Malinen Sun, 19 Mar 2006 19:21:47 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:58 -0500 [PATCH] hostap: Fix unlikely read overrun in CIS parsing The Coverity checker (CID: 452, 453, 454, 455, 456) spotted this unlikely read overrun of CIS buffer. Abort if CISTPL_CONFIG or CISTPL_MANFID would not fit in buffer. Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 8abceaf1cf44b9d95bcc366fa277b33e292141c4 tree 42d669e650bf3891c76f9aefa5f749c60e81a242 parent 54b85f489bdfafc9306dfcc21e0d2687c34c3b34 author Eugene Teo Sun, 19 Mar 2006 19:21:46 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:57 -0500 [PATCH] hostap: Fix double free in prism2_config() error path The Coverity checker (CID: 930) spotted this double free on error path (allocation failure). Do not free these here since generic error path will take care of this. Signed-off-by: Eugene Teo Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 54b85f489bdfafc9306dfcc21e0d2687c34c3b34 tree c141cbcf5fbad9f7e68fdf12567871c049736b34 parent 971d1e69229f3dfc6dd233b8f4b82df2c35eedd8 author Adrian Bunk Sun, 19 Mar 2006 19:21:45 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:57 -0500 [PATCH] hostap: Fix ap_add_sta() return value verification The Coverity checker (CID: 273) spotted this inconsequent NULL checking (unconditionally dereferencing directly after checking for NULL isn't a good idea). Return immediately to avoid this. Signed-off-by: Adrian Bunk Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 971d1e69229f3dfc6dd233b8f4b82df2c35eedd8 tree a255814d0183a9d6541e3206c10ad966836d3856 parent 9e75af30d529d54fc650586776c100d0665c0c93 author Adrian Bunk Sun, 19 Mar 2006 19:21:44 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:57 -0500 [PATCH] hostap: Fix hw reset after CMDCODE_ACCESS_WRITE timeout The Coverity checker (CID: 59) noted that the call to prism2_hw_reset() was dead code. Move prism2_hw_reset() call to a place where it is actually executed. Signed-off-by: Adrian Bunk Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 9e75af30d529d54fc650586776c100d0665c0c93 tree 978006aea21e2ccfd133f9131b3b98e0b19d5325 parent 15db2763202b9479f3d30ea61a283be4fc48559d author Dan Williams Thu, 16 Mar 2006 13:46:29 -0500 committer John W. Linville Thu, 23 Mar 2006 16:13:58 -0500 [PATCH] wireless/airo: cache wireless scans Observed problems when multiple processes request scans and subsequently scan results. This causes a scan result request to hit card registers before the scan is complete, returning an incomplete scan list and possibly making the card very angry. Instead, cache the results of a wireless scan and serve result requests from the cache, rather than hitting the hardware for them. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 15db2763202b9479f3d30ea61a283be4fc48559d tree d3e04313519a1a7c706de20d6ca279d5eea1310d parent 934d8bf142541ea013bc4002e200fa0e6815bf38 author Dan Williams Thu, 16 Mar 2006 13:46:27 -0500 committer John W. Linville Thu, 23 Mar 2006 16:13:58 -0500 [PATCH] wireless/airo: define default MTU The number 2312 was used all over the place to refer to the card's default MTU. Make it a #define and use that everywhere rather than the number. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 934d8bf142541ea013bc4002e200fa0e6815bf38 tree 6194ed332db571f9be105af404ab5254a3e5ba4d parent 711e2c33ac9221a419a9e28d05dd78a6a9c5fd4d author Dan Williams Thu, 16 Mar 2006 13:46:23 -0500 committer John W. Linville Thu, 23 Mar 2006 16:13:58 -0500 [PATCH] wireless/airo: clean up printk usage to print device name Show the specific device that driver messages are about. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 2056a782f8e7e65fd4bfd027506b4ce1c5e9ccd4 tree d4fe59a7ca0c110690937085548936a4535c39db parent 6dac40a7ce2483a47b54af07afebeb84131c7228 author Jens Axboe Thu, 23 Mar 2006 20:00:26 +0100 committer Jens Axboe Thu, 23 Mar 2006 20:00:26 +0100 [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 Signed-off-by: Jens Axboe commit 6dac40a7ce2483a47b54af07afebeb84131c7228 tree 45bf3872a8a332235f5e92248f68f014446b3e25 parent 221415d76231d9012871e6e6abcbad906c46626a author Tom Zanussi Thu, 23 Mar 2006 19:58:45 +0100 committer Jens Axboe Thu, 23 Mar 2006 19:58:45 +0100 [PATCH] relay: consolidate sendfile() and read() code Signed-off-by: Jens Axboe commit 221415d76231d9012871e6e6abcbad906c46626a tree fd045e6cac9f0e27608f56f4a5639790bc5fe331 parent b86ff981a8252d83d6a7719ae09f3a05307e3592 author Jens Axboe Thu, 23 Mar 2006 19:57:55 +0100 committer Jens Axboe Thu, 23 Mar 2006 19:57:55 +0100 [PATCH] relay: add sendfile() support Signed-off-by: Jens Axboe commit b86ff981a8252d83d6a7719ae09f3a05307e3592 tree ba8839f46cb140664e6a1ff6c7361b7424a95a7f parent b0e6e962992b76580f4900b166a337bad7c1e81b author Jens Axboe Thu, 23 Mar 2006 19:56:55 +0100 committer Jens Axboe Thu, 23 Mar 2006 19:56:55 +0100 [PATCH] relay: migrate from relayfs to a generic relay API Original patch from Paul Mundt, sysfs parts removed by me since they were broken. Signed-off-by: Jens Axboe commit b425c8c5922562c562dc55a636c3c8d758ed6d17 tree 3dba4faa78f1bbe4be503275173e3a63b5d60f22 parent a05ba4561fa3ad8b64a27577d0d38c190f60f762 parent 92fe7b9ea8ef101bff3c75ade89b93b5f62a7955 author Anton Altaparmakov Thu, 23 Mar 2006 17:08:12 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 17:08:12 +0000 Merge branch 'master' of git://imp.csi.cam.ac.uk/home/src/ntfs-2.6-devel/ commit 92fe7b9ea8ef101bff3c75ade89b93b5f62a7955 tree 3dba4faa78f1bbe4be503275173e3a63b5d60f22 parent e750d1c7cc314b9ba1934b0b474b7d39f906f865 parent b0e6e962992b76580f4900b166a337bad7c1e81b author Anton Altaparmakov Thu, 23 Mar 2006 17:06:08 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 17:06:08 +0000 Merge branch 'master' of /usr/src/ntfs-2.6/ commit a05ba4561fa3ad8b64a27577d0d38c190f60f762 tree 5eb7561113e006b7bad0bef50dec6821962b1b36 parent 74293759002aa7db0179158c20676a034614577b parent b0e6e962992b76580f4900b166a337bad7c1e81b author Anton Altaparmakov Thu, 23 Mar 2006 17:05:47 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 17:05:47 +0000 Merge branch 'master' of /home/aia21/ntfs-2.6/ commit e750d1c7cc314b9ba1934b0b474b7d39f906f865 tree 2000783b74940454825f33f9fe6446c1321d3ce4 parent 4e5e529ad684f1b3fba957f5dd4eb7c2b534ee92 author Anton Altaparmakov Thu, 23 Mar 2006 17:04:12 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 17:04:12 +0000 NTFS: 2.1.27 - Various bug fixes and cleanups. Signed-off-by: Anton Altaparmakov commit 9c42954dfd50d02963cd453fb84bfef3967af2f0 tree 2b267af6c65b7fbc7cced81997108acafeb7bcd4 parent 7d420896256a4bffe44202f282fbdd4c74d779a8 author Russell King Thu, 23 Mar 2006 16:59:37 +0000 committer Russell King Thu, 23 Mar 2006 16:59:37 +0000 [ARM] Move enable_irq and disable_irq to assembler.h 5d25ac038a317d454a4321cba955f756400835a5 broke VFP builds due to enable_irq not being defined as an assembly macro. Move it to assembler.h so everyone can use it. Signed-off-by: Russell King commit 4e5e529ad684f1b3fba957f5dd4eb7c2b534ee92 tree fdd2fd4ef26dc758b28dfb13d56075129a2cbdec parent 834ba600cefe6847acaebe5e8e984476dfeebf55 author Ingo Molnar Thu, 23 Mar 2006 16:57:48 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:57:48 +0000 NTFS: Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Anton Altaparmakov commit 834ba600cefe6847acaebe5e8e984476dfeebf55 tree 55b67a2883e7ad67288ba7a2ad94ff195e7b6ed5 parent 20fdcf1d543b1285ef8b1c1993a9221f2eda52dc author Anton Altaparmakov Thu, 23 Mar 2006 16:25:23 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:25:23 +0000 NTFS: Handle the recently introduced -ENAMETOOLONG return value from fs/ntfs/unistr.c::ntfs_nlstoucs() in fs/ntfs/namei.c::ntfs_lookup(). Signed-off-by: Anton Altaparmakov commit 20fdcf1d543b1285ef8b1c1993a9221f2eda52dc tree 476002aa4a3af68a5986ac38c51ab0f083d6c520 parent a778f217328a7391e0919b6463ec7f143851d12d author Anton Altaparmakov Thu, 23 Mar 2006 16:21:02 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:21:02 +0000 NTFS: Add a missing call to flush_dcache_mft_record_page() in fs/ntfs/inode.c::ntfs_write_inode(). Signed-off-by: Anton Altaparmakov commit a778f217328a7391e0919b6463ec7f143851d12d tree 2f6837d70e52d9c3a46678c1efb975cd61a5dcf0 parent 2c2c8c1c211c75d0cc9d7642a569ceac1aecd96d author Anton Altaparmakov Thu, 23 Mar 2006 16:18:23 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:18:23 +0000 NTFS: Fix a bug in fs/ntfs/inode.c::ntfs_read_locked_index_inode() where we forgot to update a temporary variable so loading index inodes which have an index allocation attribute failed. Signed-off-by: Anton Altaparmakov commit 2c2c8c1c211c75d0cc9d7642a569ceac1aecd96d tree 59cc527665d49ec7882a03302f25bcb4bd69525d parent d4faf636d6f8d8940174e38317161eb08a7a57ec author Anton Altaparmakov Thu, 23 Mar 2006 16:09:40 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:09:40 +0000 NTFS: Improve comments on file attribute flags in fs/ntfs/layout.h. Signed-off-by: Anton Altaparmakov commit d4faf636d6f8d8940174e38317161eb08a7a57ec tree 9d9b54e5c41fa5c4c1f4cd8f8d5e3363ec71ffde parent f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a author Anton Altaparmakov Thu, 23 Mar 2006 16:05:11 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:05:11 +0000 NTFS: Limit name length in fs/ntfs/unistr.c::ntfs_nlstoucs() to maximum allowed by NTFS, i.e. 255 Unicode characters, not including the terminating NULL (which is not stored on disk). Signed-off-by: Anton Altaparmakov commit f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a tree 44014b7cb3aff48f008033c23425ff2b37fed34b parent a0646a1f04f1ec4c7514e5b00496b54e054a2c99 author Anton Altaparmakov Thu, 23 Mar 2006 15:59:32 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:59:32 +0000 NTFS: Remove all the make_bad_inode() calls. This should only be called from read inode and new inode code paths. Signed-off-by: Anton Altaparmakov commit a0646a1f04f1ec4c7514e5b00496b54e054a2c99 tree 2cdf9023dd85b968a1cd3e4150019e1bbac19f1a parent 949763b2b8822c6dc6da0d0e1d4af092152546c2 author Anton Altaparmakov Thu, 23 Mar 2006 15:53:03 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:53:03 +0000 NTFS: Add support for sparse files which have a compression unit of 0. Signed-off-by: Anton Altaparmakov commit b0e6e962992b76580f4900b166a337bad7c1e81b tree 0caae9380c729a437e89acd5d5817a285156e26e parent b73b459f72f746a031d1ef4cc7659b20a1f1acb9 author Benjamin LaHaise Thu, 23 Mar 2006 03:01:08 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:18 -0800 [PATCH] reduce size of bio mempools The biovec default mempool limit of 256 entries results in over 3MB of RAM being permanently pinned, even on systems with only 128MB of RAM. Since mempool tries to allocate from the system pool first, it makes sense to reduce the size of the mempool fallbacks to a more reasonable limit of 1-5 entries -- enough for the system to be able to make progress even under load. Signed-off-by: Benjamin LaHaise Acked-by: Jens Axboe Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b73b459f72f746a031d1ef4cc7659b20a1f1acb9 tree 6e8d58fb0bd01e0a2c24c4debdffd9eb6719a384 parent 394e3902c55e667945f6f1c2bdbc59842cce70f7 author Eric Dumazet Thu, 23 Mar 2006 03:01:07 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] __GENERIC_PER_CPU changes Now CONFIG_DEBUG_INITDATA is in, initial percpu data [__per_cpu_start,__per_cpu_end] can be declared as a redzone, and invalid accesses after boot can be detected, at least for i386. We can let non possible cpus percpu data point to this 'redzone' instead of NULL . NULL was not a good choice because part of [0..32768] memory may be readable and invalid accesses may happen unnoticed. If CONFIG_DEBUG_INITDATA is not defined, each non possible cpu points to the initial percpu data (__per_cpu_offset[cpu] == 0), thus invalid accesses wont be detected/crash. This patch also moves __per_cpu_offset[] to read_mostly area to avoid false sharing. Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 394e3902c55e667945f6f1c2bdbc59842cce70f7 tree f4bca0bdc0c291fda6f6949265aacec0669b9084 parent 63872f87a151413100678f110d1556026002809e author Andrew Morton Thu, 23 Mar 2006 03:01:05 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] more for_each_cpu() conversions When we stop allocating percpu memory for not-possible CPUs we must not touch the percpu data for not-possible CPUs at all. The correct way of doing this is to test cpu_possible() or to use for_each_cpu(). This patch is a kernel-wide sweep of all instances of NR_CPUS. I found very few instances of this bug, if any. But the patch converts lots of open-coded test to use the preferred helper macros. Cc: Mikael Starvik Cc: David Howells Acked-by: Kyle McMartin Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: Paul Mundt Cc: "David S. Miller" Cc: William Lee Irwin III Cc: Andi Kleen Cc: Christian Zankel Cc: Philippe Elie Cc: Nathan Scott Cc: Jens Axboe Cc: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63872f87a151413100678f110d1556026002809e tree 4abb8b8c7f60a9d2c6645c4eb9e95a9c6ba56023 parent 5a6b7951bfcca7f45f44269ea87417c74558daf8 author Eric Dumazet Thu, 23 Mar 2006 03:01:04 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] Only allocate percpu data for possible CPUs percpu_data blindly allocates bootmem memory to store NR_CPUS instances of cpudata, instead of allocating memory only for possible cpus. This patch saves ram, allocating num_possible_cpus() (instead of NR_CPUS) instances. Signed-off-by: Eric Dumazet Acked-by: "David S. Miller" Cc: James Bottomley Cc: Jens Axboe Acked-by: Ingo Molnar Cc: Jens Axboe Cc: Anton Blanchard Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a6b7951bfcca7f45f44269ea87417c74558daf8 tree f9cc8b3f89c89802e81b37d77c6f698e373bfe51 parent 0b2fcfdb8b4e7e379192f24ea2203163ddf5df1d author Benjamin LaHaise Thu, 23 Mar 2006 03:01:03 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] get_empty_filp tweaks, inline epoll_init_file() Eliminate a handful of cache references by keeping current in a register instead of reloading (helps x86) and avoiding the overhead of a function call. Inlining eventpoll_init_file() saves 24 bytes. Also reorder file initialization to make writes occur more sequentially. Signed-off-by: Benjamin LaHaise Cc: Davide Libenzi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b2fcfdb8b4e7e379192f24ea2203163ddf5df1d tree 1f3995e41ab12ff76e737389e0b59a40c0c73668 parent 713729e8b993cb880225e2ced50a3f5ac05c2b3f author Nick Piggin Thu, 23 Mar 2006 03:01:02 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] atomic: add_unless cmpxchg optimise Without branch hints, the very unlikely chance of the loop repeating due to cmpxchg failure is unrolled with gcc-4 that I have tested. Improve this for architectures with a native cas/cmpxchg. llsc archs should try to implement this natively. Signed-off-by: Nick Piggin Cc: Andi Kleen Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: "David S. Miller" Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 713729e8b993cb880225e2ced50a3f5ac05c2b3f tree 8e225ac4bb6ed15514d5495f37709e4d13d1efbf parent 2178426d26661ed6e18a8d6ea0bc05c98d73600d author Alexey Dobriyan Thu, 23 Mar 2006 03:01:01 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] fs/*/file.c: drop insane header dependencies Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2178426d26661ed6e18a8d6ea0bc05c98d73600d tree 4c9635610e9ca52a06b169ac55c77abe1d4449d2 parent 7a673c6b8fff4b2888ef1d47462e4be79936ac5a author Adrian Bunk Thu, 23 Mar 2006 03:01:00 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] kernel/rcupdate.c: make two structs static This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a673c6b8fff4b2888ef1d47462e4be79936ac5a tree 891aac4312db8260e2ef217902813b2bcaa95acf parent ee25e96fcd78837c9f192aa655ce12a88bfd63d4 author Domen Puncer Thu, 23 Mar 2006 03:00:59 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] devpts: use lib/parser.c for parsing mount options Item from "2.6 should fix" list. Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee25e96fcd78837c9f192aa655ce12a88bfd63d4 tree e244e0903bd9583b5c0e6df5e46867427641e131 parent eb8782ef72758b8700963ef8b949f5c812e6d630 author Oleg Nesterov Thu, 23 Mar 2006 03:00:58 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] BUILD_LOCK_OPS: cleanup preempt_disable() usage This patch changes the code from: preempt_disable(); for (;;) { ... preempt_disable(); } to: for (;;) { preempt_disable(); ... } which seems more clean to me and saves a couple of bytes for each function. Signed-off-by: Oleg Nesterov Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb8782ef72758b8700963ef8b949f5c812e6d630 tree f1c43c0427df513c55111ec173f85043166dc3ef parent dd287796d608fcdc3fe5e8fdb5bf762a8f1bc32a author Rene Herman Thu, 23 Mar 2006 03:00:57 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] PnPBIOS: Missing SMALL_TAG_ENDDEP tag Without the attached, the kernel complains about my BIOS' PNP tables. It was ACKed before, but never merged: http://marc.theaimsgroup.com/?l=linux-kernel&m=110237794007900&w=2 Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd287796d608fcdc3fe5e8fdb5bf762a8f1bc32a tree 84be163fdc5fe36eb8d3f1aa5e60bfd1d794c641 parent 41c28ff1635e71af072c4711ff5fadd5855d48e7 author Andrew Morton Thu, 23 Mar 2006 03:00:57 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] pause_on_oops command line option Attempt to fix the problem wherein people's oops reports scroll off the screen due to repeated oopsing or to oopses on other CPUs. If this happens the user can reboot with the `pause_on_oops=' option. It will allow the first oopsing CPU to print an oops record just a single time. Second oopsing attempts, or oopses on other CPUs will cause those CPUs to enter a tight loop until the specified number of seconds have elapsed. The patch implements the infrastructure generically in the expectation that architectures other than x86 will find it useful. Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41c28ff1635e71af072c4711ff5fadd5855d48e7 tree 821a819a43b55d610d862e31b7312b6260311239 parent 772a0dc5d2103baff2f15c2668930bcd37add777 author Adrian Bunk Thu, 23 Mar 2006 03:00:56 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] kill _INLINE_ This patch removes all occurances of _INLINE_ in the kernel. With the exception of tty_flip.h, I've simply removed the inline's since gcc should know best which functions to be inlined. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 772a0dc5d2103baff2f15c2668930bcd37add777 tree d1f9a8e1b676e7e018edc926895b677a65a89d6a parent 91368d73e4b60d577ad171e5bd315b564265fcdb author Andrew Morton Thu, 23 Mar 2006 03:00:55 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] notifier: profile.h forward decl fix Declarations use struct notifier_block on both legs of the ifdef, so move the notifier_block forward declaration outside the ifdef. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91368d73e4b60d577ad171e5bd315b564265fcdb tree 067d3738aa4bf8d49623632bb47952aca6f8f965 parent 3257545e40a769cbef98cf13eabe50f00712991e author Ingo Molnar Thu, 23 Mar 2006 03:00:54 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] make bug messages more consistent Consolidate all kernel bug printouts to begin with the "BUG: " string. Makes it easier to find them in large bootup logs. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3257545e40a769cbef98cf13eabe50f00712991e tree e496d904a85b561ba88b86ff74fa525c612518e2 parent a513b035eadf80bb9ce0be4c5dd9f242cfb9eecc author Alexey Dobriyan Thu, 23 Mar 2006 03:00:53 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] ufs: switch to inode_inc_count, inode_dec_count Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a513b035eadf80bb9ce0be4c5dd9f242cfb9eecc tree 4b7b51b5336dd08534bf04ac84664699a4805124 parent 4e907c3d45d10dc5162d283d109be425c23aeb69 author Alexey Dobriyan Thu, 23 Mar 2006 03:00:53 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] ext2: switch to inode_inc_count, inode_dec_count Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e907c3d45d10dc5162d283d109be425c23aeb69 tree 4b9ae84dec9f4bc9f3b77f9e853e37280b064d71 parent 78ec7b6917a938910d5ed6049c0e4ee6e6852e4e author Alexey Dobriyan Thu, 23 Mar 2006 03:00:52 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] sysv: switch to inode_inc_count, inode_dec_count Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78ec7b6917a938910d5ed6049c0e4ee6e6852e4e tree 7d950e7a3cdd13bd8bc4b378ec5f7d22f69d5439 parent 66d2173053f64121f8dc69a1cf85972e37e1ee75 author Alexey Dobriyan Thu, 23 Mar 2006 03:00:51 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] minix: switch to inode_inc_link_count, inode_dec_link_count Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66d2173053f64121f8dc69a1cf85972e37e1ee75 tree 43b67d02627e22c05e607eb9c04d03ce89751121 parent a7ccf007189aa4401695e3105b00d9429f836b46 author Alexey Dobriyan Thu, 23 Mar 2006 03:00:51 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] Extract inode_inc_link_count(), inode_dec_link_count() Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7ccf007189aa4401695e3105b00d9429f836b46 tree 1dbd5e7e496394d468030bb231a9d090fd5e1711 parent a26fd335b481e0bd14f4e7d1f5e7bb1138b1731f author Alexey Dobriyan Thu, 23 Mar 2006 03:00:50 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] fs/ufs/file.c: drop insane header dependencies Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a26fd335b481e0bd14f4e7d1f5e7bb1138b1731f tree 5578fdb48025e7e2b54fb02c8c877858ad3e859a parent 40953ed87dd68742de0dd1bdecdcdfebfe1d69ae author Oleg Nesterov Thu, 23 Mar 2006 03:00:49 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] sigprocmask: kill unneeded temp var Cleanup, remove unneeded double copying of current->blocked. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40953ed87dd68742de0dd1bdecdcdfebfe1d69ae tree c5faa3efe1e3f8381d5d8674f068556abb9400d8 parent 6b9438e1323a2be10dcc039f6321e7ca18b9459e author Jes Sorensen Thu, 23 Mar 2006 03:00:49 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] snsc kmalloc2kzalloc Change driver to use kzalloc rather than kmalloc+memset Signed-off-by: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9438e1323a2be10dcc039f6321e7ca18b9459e tree 9d84b6f39a2a586c14b2932eda5817cae8ce5b57 parent f82945dff51ff7b33f69cb45a8342b936e966f7f author Arjan van de Ven Thu, 23 Mar 2006 03:00:48 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] fat_lock is used as a mutex, convert it to using the new mutex primitive The fat code uses the fat_lock always in a mutex way (taking and releasing the lock in the same function), the patch below converts it into the new mutex primitive. Please consider this patch for the code. Signed-off-by: Arjan van de Ven Acked-by: OGAWA Hirofumi Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f82945dff51ff7b33f69cb45a8342b936e966f7f tree d550c4b48fd13574147d09b49b1706fcf3644dc3 parent 6389a385114ae358693f213266de6468ea116c77 author Ingo Molnar Thu, 23 Mar 2006 03:00:47 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] oss: semaphore to mutex conversion Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Extracted for OSS/Free changes from Ingo's original patches. Signed-off-by: Ingo Molnar Signed-off-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6389a385114ae358693f213266de6468ea116c77 tree 7fafbc62a71887202d09b0748148fa79211a0a65 parent cf8b8975c3c35d1269bf6f1c6f2ae4efb6909607 author Ashutosh Naik Thu, 23 Mar 2006 03:00:46 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] kernel/module.c Semaphore to Mutex Conversion for module_mutex This patch converts the module_mutex semaphore to a mutex. Signed-off-by: Ashutosh Naik Cc: Arjan van de Ven Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf8b8975c3c35d1269bf6f1c6f2ae4efb6909607 tree 25063f24381e7762db20ff4062bd43240602c327 parent 81861d78c9edf9a9b03a9ba1f5b242d658f16832 author Arjan van de Ven Thu, 23 Mar 2006 03:00:45 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] sem2mutex: drivers/ide Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81861d78c9edf9a9b03a9ba1f5b242d658f16832 tree 9bd32a48b9869fb809c894e560bb9ee807cf7ad1 parent 1e7933defd0fce79b2d8ecdbc7ca37fed0c188ed author Ingo Molnar Thu, 23 Mar 2006 03:00:44 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] sem2mutex: serial ->port_write_mutex Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e7933defd0fce79b2d8ecdbc7ca37fed0c188ed tree a5dffed9e912f80c452a809cd4405d2799e27067 parent 8e3f90459b7052c31a9669417b837fb14aa6d313 author Ingo Molnar Thu, 23 Mar 2006 03:00:44 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] sem2mutex: UDF Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e3f90459b7052c31a9669417b837fb14aa6d313 tree f6903acee9791a46da376fffb03bdabf511120d0 parent 97461518610fb1679f67333bb699bb81136e49fe author Ingo Molnar Thu, 23 Mar 2006 03:00:43 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] sem2mutex: NCPFS Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97461518610fb1679f67333bb699bb81136e49fe tree 483fcaf10744a96ad9fced97910fa75610c3fcdb parent 7bf6d78dd93ccc52cd2cac5066c4b84834e4f1f2 author Arjan van de Ven Thu, 23 Mar 2006 03:00:42 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] convert ext3's truncate_sem to a mutex ext3's truncate_sem is always released in the same function it's taken and it otherwise is a mutex as well.. Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7bf6d78dd93ccc52cd2cac5066c4b84834e4f1f2 tree d48db5d52dd3b9c7942d3af8ff1393bc4ed10d81 parent 1d5599e397dcc7c2300d200e66dad326d7dbac38 author Ingo Molnar Thu, 23 Mar 2006 03:00:42 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: HPFS Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d5599e397dcc7c2300d200e66dad326d7dbac38 tree beaa29f23c35375bbff4b5b256e96dd3b13c5728 parent 1eb0d67007e75697a7b87e6b611be935a991395c author Ingo Molnar Thu, 23 Mar 2006 03:00:41 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: autofs4 wq_sem Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Acked-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1eb0d67007e75697a7b87e6b611be935a991395c tree 35ce5e6313f89d2ef054870734d52b17388fe001 parent 910f5d202ce39cc78de1bbb679285a3167de9fb2 author Ingo Molnar Thu, 23 Mar 2006 03:00:40 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: JFFS Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 910f5d202ce39cc78de1bbb679285a3167de9fb2 tree 2c5b55c2b141aaf016c459beb397fc702c41b967 parent 82d4dc5adb0055393248ad4ab8de392fac708a12 author Ingo Molnar Thu, 23 Mar 2006 03:00:39 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: sound/oss/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82d4dc5adb0055393248ad4ab8de392fac708a12 tree 9827f519dc04c76138fac0ee90d1cc34ac9af24b parent f85221dd74f2708b78a2aa54de59944e44206d0e author Ingo Molnar Thu, 23 Mar 2006 03:00:38 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: drivers/block/nbd.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Paul Clements Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f85221dd74f2708b78a2aa54de59944e44206d0e tree f9e9710f78bf56515b04101bb40087b50e4bfeb6 parent 0ac1759abc69fb62438c30a7e422f628a1120d67 author Ingo Molnar Thu, 23 Mar 2006 03:00:38 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: drivers/block/loop.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ac1759abc69fb62438c30a7e422f628a1120d67 tree 953fd417cc63bae48245ab03c04123a45e21125e parent 7cf34c761db8827818a27e23c50756f8b821a9b0 author Ingo Molnar Thu, 23 Mar 2006 03:00:37 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: fs/seq_file.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cf34c761db8827818a27e23c50756f8b821a9b0 tree c8cb1a4973aae6203e50164a479a77d244378c8d parent 7a7d1cf95408863a657035701606b13644c9f55e author Ingo Molnar Thu, 23 Mar 2006 03:00:36 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: fs/libfs.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a7d1cf95408863a657035701606b13644c9f55e tree 7eaee4f3221aabcac2f57fb0295dd1e4763a1e8c parent 2c68ee754c40099c59828e59618a54726f76126a author Ingo Molnar Thu, 23 Mar 2006 03:00:35 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: kprobes Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Acked-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c68ee754c40099c59828e59618a54726f76126a tree b656a0caa9b31749b5b6f9a3f7a1f3ffc482552c parent f24075bd0c1cd1cc2cf86d394f960aa0401de573 author Arjan van de Ven Thu, 23 Mar 2006 03:00:35 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: jbd, j_checkpoint_mutex Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f24075bd0c1cd1cc2cf86d394f960aa0401de573 tree 609ad9884e43a8bb1ba5834996955a06bef66fa2 parent a11f3a0574a5734db3e5de38922430d005d35118 author Ingo Molnar Thu, 23 Mar 2006 03:00:34 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: iprune Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a11f3a0574a5734db3e5de38922430d005d35118 tree 2f332f623463c5909dc37d20cbf44421854f775a parent 144efe3e3e5ad57af549bf800fa4560d7c74e9fe author Arjan van de Ven Thu, 23 Mar 2006 03:00:33 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: vfs_rename_mutex Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 144efe3e3e5ad57af549bf800fa4560d7c74e9fe tree 332dd6364fe5122f489ab4352817f11737e7a258 parent 70522e121a521aa09bd0f4e62e1aa68708b798e1 author Arjan van de Ven Thu, 23 Mar 2006 03:00:32 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: eventpoll Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Davide Libenzi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70522e121a521aa09bd0f4e62e1aa68708b798e1 tree 1233412da73361b48ed01290a33ab7c90e36359a parent d4f9af9dac4ecb75818f909168f87b441cc95653 author Ingo Molnar Thu, 23 Mar 2006 03:00:31 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: tty Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Alan Cox Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4f9af9dac4ecb75818f909168f87b441cc95653 tree c5b0ccf7705b6ef0739fd5af64cf48c092760013 parent d3be915fc5e7d19a2283ad9b0fe0782a74675d0a author Ingo Molnar Thu, 23 Mar 2006 03:00:30 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: inotify Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: John McCutchan Signed-off-by: Andrew Morton Acked-by: Robert Love Signed-off-by: Linus Torvalds commit d3be915fc5e7d19a2283ad9b0fe0782a74675d0a tree e03647affdee4e72dbff4a5da55bcf32bfa65901 parent c039e3134ae62863bbc8e8429b29e3c43cf21b2a author Ingo Molnar Thu, 23 Mar 2006 03:00:29 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: quota Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c039e3134ae62863bbc8e8429b29e3c43cf21b2a tree b9bbf4fda0844e3173bf10a5bffbaaec94fb4246 parent 6f87f0deebaff2716a3ce9232f948d702690562a author Arjan van de Ven Thu, 23 Mar 2006 03:00:28 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: blockdev #2 Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f87f0deebaff2716a3ce9232f948d702690562a tree 85f532fe39be7c224635dd9ed0198668c30bafa3 parent b1c82b5c55851bf309f4019994610789f7042757 author Ingo Molnar Thu, 23 Mar 2006 03:00:27 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: drivers/char/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Russell King Cc: Wim Van Sebroeck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b1c82b5c55851bf309f4019994610789f7042757 tree e095ddbc53298b6ddc0324df4321a537014af0f3 parent 1657f824e880a9bd239a3436b820d1a2986f763d author Jes Sorensen Thu, 23 Mar 2006 03:00:26 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: drivers/block/floppy.c Convert from semaphore to mutex. Untested as I have no access to a floppy drive at the moment. Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1657f824e880a9bd239a3436b820d1a2986f763d tree d5108e52c67623dc9efbdfd0ebcc327538b0bd71 parent 97d1f15b7ef52c1e9c28dc48b454024bb53a5fd2 author Jes Sorensen Thu, 23 Mar 2006 03:00:25 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: drivers/block/pktcdvd.c Convert to use mutex from a semaphore Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar Cc: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97d1f15b7ef52c1e9c28dc48b454024bb53a5fd2 tree 7bdb928096eec577e75897351f639d3f94441c87 parent e723ccd805857a46d3b63fbd20edea8579c6c541 author Arjan van de Ven Thu, 23 Mar 2006 03:00:24 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] sem2mutex: kernel/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e723ccd805857a46d3b63fbd20edea8579c6c541 tree 00ea3941543aad06172f5f16c78cfed2f4afb2e3 parent 8ed965d612d9e9bc08805c75123f063cf6966311 author Jes Sorensen Thu, 23 Mar 2006 03:00:22 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] sem2mutex: drivers/scsi/ide-scsi.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Jens Axboe Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ed965d612d9e9bc08805c75123f063cf6966311 tree 7a863b9cb0d408295193f888b06d40d3364a404a parent 9cdf18279d1f4a2d075ebe924d74e6e4547f6e1b author Arjan van de Ven Thu, 23 Mar 2006 03:00:21 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] sem2mutex: drivers: raw, connector, dcdbas, ppp_generic Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9cdf18279d1f4a2d075ebe924d74e6e4547f6e1b tree 38a5e7b45ea57535c472601a97785d1360b1e6ee parent 4f7a07b88726781e37c4c5f63db3a6ee3f8500d3 author Arjan van de Ven Thu, 23 Mar 2006 03:00:21 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] sem2mutex: kcapi.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f7a07b88726781e37c4c5f63db3a6ee3f8500d3 tree 024e0e5cf9232f35bed0cf8cb9aa40fe434b2064 parent 9331b3157c835353dd28efcd80d23563ad226aee author Ingo Molnar Thu, 23 Mar 2006 03:00:19 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] convert fs/9p/ to mutexes, fix locking bugs Convert fs/9p/mux.c from semaphore to mutex. NOTE: fixed locking bugs in the process - the code was using semaphores the other way around. Signed-off-by: Ingo Molnar Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9331b3157c835353dd28efcd80d23563ad226aee tree dc198c77bdf8ba9aabf51841aad59934e922ba06 parent 3d3f26a7baaa921a0e790b4c72d20f0de91a5d65 author Ingo Molnar Thu, 23 Mar 2006 03:00:19 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] convert kernel/rcupdate.c:rcu_barrier_sema to mutex Convert kernel/rcupdate's rcu_barrier_sema to mutex. Signed-off-by: Ingo Molnar Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d3f26a7baaa921a0e790b4c72d20f0de91a5d65 tree f2ad04e2954f6c8430c27d98a3b3f658b13379ee parent 6362e4d4eda61efb04ac1cdae32e48ac6d90b701 author Ingo Molnar Thu, 23 Mar 2006 03:00:18 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] kernel/cpuset.c, mutex conversion convert cpuset.c's callback_sem and manage_sem to mutexes. Build and boot tested by Ingo. Build, boot, unit and stress tested by pj. Signed-off-by: Ingo Molnar Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6362e4d4eda61efb04ac1cdae32e48ac6d90b701 tree be13a8b673d117ec3d186f2911f4ebae3da857dd parent 804f1594cc3deb161e531a43d90c501f0db2635a author Jan Kara Thu, 23 Mar 2006 03:00:17 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] Fix oops in invalidate_dquots() When quota is being turned off we assumed that all the references to dquots were already dropped. That need not be true as inodes being deleted are not on superblock's inodes list and hence we need not reach it when removing quota references from inodes. So invalidate_dquots() has to wait for all the users of dquots (as quota is already marked as turned off, no new references can be acquired and so this is bound to happen rather early). When we do this, we can also remove the iprune_sem locking as it was protecting us against exactly the same problem when freeing inodes icache memory. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 804f1594cc3deb161e531a43d90c501f0db2635a tree 81f7a7cea8dbf671c733df379c6582e36459e8da parent 6a2900b67652421b51fe25e4b86ecfec742b1f30 author Kyle McMartin Thu, 23 Mar 2006 03:00:16 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] Move read_mostly definition to asm/cache.h Seems like needless clutter having a bunch of #if defined(CONFIG_$ARCH) in include/linux/cache.h. Move the per architecture section definition to asm/cache.h, and keep the if-not-defined dummy case in linux/cache.h to catch architectures which don't implement the section. Verified that symbols still go in .data.read_mostly on parisc, and the compile doesn't break. Signed-off-by: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a2900b67652421b51fe25e4b86ecfec742b1f30 tree 57fd1f624d9e3fdc4b3e0dd637357cc451204250 parent d2c5d4fc07a41a6048b01d3b2930aeff1235fda5 author Christoph Hellwig Thu, 23 Mar 2006 03:00:15 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] kill cdrom ->dev_ioctl method Since early 2.4.x all cdrom drivers implement the block_device methods themselves, so they can handle additional ioctls directly instead of going through the cdrom layer. Signed-off-by: Christoph Hellwig Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2c5d4fc07a41a6048b01d3b2930aeff1235fda5 tree 83bfa8bfd38e4d4063123d32a20f5e1e5b026a10 parent 2dd0ebcd2ab7b18a50c0810ddb45a84316e4ee2e author Christoph Hellwig Thu, 23 Mar 2006 03:00:14 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] cleanup cdrom_ioctl Add a small helper for each ioctl to cut down cdrom_ioctl to a readable size. Signed-off-by: Christoph Hellwig Cc: Acked-by: Jens Axboe Signed-off-by: Benoit Boissinot Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2dd0ebcd2ab7b18a50c0810ddb45a84316e4ee2e tree 17518ebe86c2b701aa4a74fcac025c1793a87a87 parent 0c9e63fd38a2fb2181668a0cdd622a3c23cfd567 author Ravikiran G Thirumalai Thu, 23 Mar 2006 03:00:13 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] Avoid taking global tasklist_lock for single threadedprocess at getrusage() Avoid taking the global tasklist_lock when possible, if a process is single threaded during getrusage(). Any avoidance of tasklist_lock is good for NUMA boxes (and possibly for large SMPs). Thanks to Oleg Nesterov for review and suggestions. Signed-off-by: Nippun Goel Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c9e63fd38a2fb2181668a0cdd622a3c23cfd567 tree 8fdb91603347b1da2e83a095ebcaab44b2c3c237 parent d8733c2956968a01394a4d2a9e97a8b431a78776 author Eric Dumazet Thu, 23 Mar 2006 03:00:12 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] Shrinks sizeof(files_struct) and better layout 1) Reduce the size of (struct fdtable) to exactly 64 bytes on 32bits platforms, lowering kmalloc() allocated space by 50%. 2) Reduce the size of (files_struct), using a special 32 bits (or 64bits) embedded_fd_set, instead of a 1024 bits fd_set for the close_on_exec_init and open_fds_init fields. This save some ram (248 bytes per task) as most tasks dont open more than 32 files. D-Cache footprint for such tasks is also reduced to the minimum. 3) Reduce size of allocated fdset. Currently two full pages are allocated, that is 32768 bits on x86 for example, and way too much. The minimum is now L1_CACHE_BYTES. UP and SMP should benefit from this patch, because most tasks will touch only one cache line when open()/close() stdin/stdout/stderr (0/1/2), (next_fd, close_on_exec_init, open_fds_init, fd_array[0 .. 2] being in the same cache line) Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8733c2956968a01394a4d2a9e97a8b431a78776 tree 9743c9020eb5193efa4a0f102b3a7eb1d999c4fd parent b8e31edc10d160a8bf2159541d9d12f2079a0887 author Andrew Morton Thu, 23 Mar 2006 03:00:11 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] ext3_readdir: use generic readahead Linus points out that ext3_readdir's readahead only cuts in when ext3_readdir() is operating at the very start of the directory. So for large directories we end up performing no readahead at all and we suck. So take it all out and use the core VM's page_cache_readahead(). This means that ext3 directory reads will use all of readahead's dynamic sizing goop. Note that we're using the directory's filp->f_ra to hold the readahead state, but readahead is actually being performed against the underlying blockdev's address_space. Fortunately the readahead code is all set up to handle this. Tested with printk. It works. I was struggling to find a real workload which actually cared. (The patch also exports page_cache_readahead() to GPL modules) Cc: "Stephen C. Tweedie" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8e31edc10d160a8bf2159541d9d12f2079a0887 tree 82509ee100b594837024b2c28f586f995e1919da parent 9b238205ba5d79a8a242d7a5ddb82b89e4dc4e48 author Jean Delvare Thu, 23 Mar 2006 03:00:09 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] m68k: rtc driver cleanup Use the standard BCD macros instead of redefining them. Signed-off-by: Jean Delvare Cc: Geert Uytterhoeven Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b238205ba5d79a8a242d7a5ddb82b89e4dc4e48 tree 494b06bddd9d6b28a4e83ad7b49523a92ee5b207 parent 94c188d32996beac00426740974310e32f162c14 author Luca Tettamanti Thu, 23 Mar 2006 03:00:09 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: add s2ram ioctl to userland interface Add the SNAPSHOT_S2RAM ioctl to the snapshot device. This ioctl allows a userland application to make the system (previously frozen with the SNAPSHOT_FREE ioctl) enter the S3 state without freezing processes and disabling nonboot CPUs for the second time. This will allow us to implement the suspend-to-disk-and-RAM (STDR) functionality in the userland suspend tools. Signed-off-by: Luca Tettamanti Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94c188d32996beac00426740974310e32f162c14 tree 3397f055957e233554cdd17c645ecc8f7ea7c074 parent ff4da2e262d2509fe1bacff70dd00934be569c66 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:08 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: let userland tools switch console on suspend Remove the console-switching code from the suspend part of the swsusp userland interface and let the userland tools switch the console. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff4da2e262d2509fe1bacff70dd00934be569c66 tree 1e171f1858be98f4a7c6ea3f92358b692dab44dc parent e4e4d665560c75afb6060cb43bb6738777648ca1 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:07 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: add check for suspension of X-controlled devices It is unsafe to suspend devices if the hardware is controlled by X. Add an extra check to prevent this from happening. Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4e4d665560c75afb6060cb43bb6738777648ca1 tree 6ba2593af7c9ad44c3348d7a66daa902b0fd3ecf parent fc558a7496bfab3d29a68953b07a95883fdcfbb1 author Shaohua Li Thu, 23 Mar 2006 03:00:06 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: drain high mem pages Highmem could be in pcp list as well. Signed-off-by: Shaohua Li Acked-by: Pavel Machek Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc558a7496bfab3d29a68953b07a95883fdcfbb1 tree f40935c321e088b40608ebbcc8fc502d269578da parent ce6ed29f3136bc4b3644ecf4091d6390d444f628 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:05 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: finally solve mysqld problem This patch from Pavel moves userland freeze signals handling into more logical place. It now hits even with mysqld running. Signed-off-by: Rafael J. Wysocki Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce6ed29f3136bc4b3644ecf4091d6390d444f628 tree c85e83dd19f6954198721a5a3087aa97075c5f74 parent 02aaeb9b952f30b1ad6284d5d45be02030f679db author Pavel Machek Thu, 23 Mar 2006 03:00:05 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] suspend: make progress printing prettier Combination of printk/pr_debug led to <7> in the middle of the line, and we printed way too many dots. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02aaeb9b952f30b1ad6284d5d45be02030f679db tree 6577fcc544d34fbc9951be5dc1089ac227440573 parent 6e1819d615f24ce0726a7d0bd3dd0152d7b21654 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:04 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: freeze user space processes first Allow swsusp to freeze processes successfully under heavy load by freezing userspace processes before kernel threads. [Thanks to Nigel Cunningham for suggesting the way to go.] Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e1819d615f24ce0726a7d0bd3dd0152d7b21654 tree abc68747446e8241a1a7103882b9f6b6e24fa274 parent 543cc27d09643640cbc34189c03a40beb8227aef author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:03 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] swsusp: userland interface This patch introduces a user space interface for swsusp. The interface is based on a special character device, called the snapshot device, that allows user space processes to perform suspend and resume-related operations with the help of some ioctls and the read()/write() functions.  Additionally it allows these processes to allocate free swap pages from a selected swap partition, called the resume partition, so that they know which sectors of the resume partition are available to them. The interface uses the same low-level system memory snapshot-handling functions that are used by the built-it swap-writing/reading code of swsusp. The interface documentation is included in the patch. The patch assumes that the major and minor numbers of the snapshot device will be 10 (ie. misc device) and 231, the registration of which has already been requested. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 543cc27d09643640cbc34189c03a40beb8227aef tree 034b4141ed5ac76b220d55c738a0eda668c1a490 parent 74c7e2efbe37378026f00ad9e7253796d7b2fc99 author Pavel Machek Thu, 23 Mar 2006 03:00:02 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] swsusp: documentation updates Update suspend-to-RAM documentation with new machines, and makes message when processes can't be stopped little clearer. (In one case, waiting longer actually did help). From: "Rafael J. Wysocki" Warn in the documentation that data may be lost if there are some filesystems mounted from USB devices before suspend. [Thanks to Alan Stern for providing the answer to the question in the Q:-A: part.] Signed-off-by: Pavel Machek Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74c7e2efbe37378026f00ad9e7253796d7b2fc99 tree ddea6072e727fb37b55a3b45122e023a3951decf parent 61159a314bca6408320c3173c1282c64f5cdaa76 author Randy Dunlap Thu, 23 Mar 2006 03:00:01 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] kernel/power: move externs to header files Move externs from C source files to header files. Signed-off-by: Randy Dunlap Cc: "Rafael J. Wysocki" Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61159a314bca6408320c3173c1282c64f5cdaa76 tree 8e1b7627443da0fd52b2fac66366dde9f7871f1e parent f577eb30afdc68233f25d4d82b04102129262365 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:00 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] swsusp: separate swap-writing/reading code Move the swap-writing/reading code of swsusp to a separate file. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f577eb30afdc68233f25d4d82b04102129262365 tree 25d3c2fa8dfbf42fd0d4776a36166736fcc1446a parent 2b322ce210aec74ae0d02938d3a01e29fe079469 author Rafael J. Wysocki Thu, 23 Mar 2006 02:59:59 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] swsusp: low level interface Introduce the low level interface that can be used for handling the snapshot of the system memory by the in-kernel swap-writing/reading code of swsusp and the userland interface code (to be introduced shortly). Also change the way in which swsusp records the allocated swap pages and, consequently, simplifies the in-kernel swap-writing/reading code (this is necessary for the userland interface too). To this end, it introduces two helper functions in mm/swapfile.c, so that the swsusp code does not refer directly to the swap internals. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b322ce210aec74ae0d02938d3a01e29fe079469 tree a9cb9aa9530cadacae62caf009db506db16eb3c1 parent bdaff4a331db46f3bd953f413316c4603c4004b4 author Andrew Morton Thu, 23 Mar 2006 02:59:58 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] revert "swsusp: fix breakage with swap on lvm" This was a temporary thing for 2.6.16. Cc: "Rafael J. Wysocki" Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdaff4a331db46f3bd953f413316c4603c4004b4 tree a0c379bb38725c912ae674866e5db1b5d7e44d50 parent aeefc956d5d8f8402216a5447bd72ade9eb37eff author Ashok Raj Thu, 23 Mar 2006 02:59:57 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] x86 topology: don;t create a control file for BSP that cannot be removed Don't create "online" control file for BSP (i386/x86_64) since its not removable. We originally added this to support ppc64 if the kernel has support but BIOS indicated no offline support, we just didnt create online files for them. We used the same method in ia64 as well, if we have a cpu taking platform interrupts but cannot be removed if those interrupts cannot be re-targeted to another cpu. Signed-off-by: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aeefc956d5d8f8402216a5447bd72ade9eb37eff tree 982c643fe5288bc3228e3237eaab9e4406b811c1 parent 905c399594f85322a4e513a4b0365b70d6de9fd0 author Markus Gutschke Thu, 23 Mar 2006 02:59:56 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] x86: Make _syscallX() macros compile in PIC mode Gcc reserves %ebx when compiling position-independent-code on i386. This means, the _syscallX() macros in include/asm-i386/unistd.h will not compile. This patch is changes the existing macros to take special care to preserve %ebx. The bug can be tracked at http://bugzilla.kernel.org/show_bug.cgi?id=6204 Signed-off-by: Markus Gutschke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 905c399594f85322a4e513a4b0365b70d6de9fd0 tree 66e44a32d1e5c263a643e130c71e10132c195bc0 parent 42c059e04d507802006911e316d86aa8ef75eb73 author Adrian Bunk Thu, 23 Mar 2006 02:59:55 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] x86: some fixups for the X86_NUMAQ dependencies You must always ensure to fulfill the dependencies of what you are select'ing. Signed-off-by: Adrian Bunk Cc: Martin Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42c059e04d507802006911e316d86aa8ef75eb73 tree 42eb9e4d5f0a578dca12a26beeae4b27d968cb4a parent 7c5c1e427b5e83807fd05419d1cf6991b9d87247 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:55 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] i386 spinlocks: disable interrupts only if we enabled them _raw_spin_lock_flags() is entered with interrupts disabled. If it cannot obtain a spinlock, it checks the flags that were passed and re-enables interrupts before spinning if that's how the flags are set. When the spinlock might be available, it disables interrupts (even if they are already disabled) before trying to get the lock. Change that so interrupts are only disabled if they have been enabled. This costs nine bytes of duplicated spinloop code. Fastpath before patch: jle not-taken conditional jump cli disable interrupts jmp unconditional jump Fastpath after patch, if interrupts were not enabled: jg taken conditional branch Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c5c1e427b5e83807fd05419d1cf6991b9d87247 tree 780820efe1aa9ef26e756c157b14de9d3f84649f parent f2d0d263b51d13efe55f0aae9254b69ba2855f1c author Shaohua Li Thu, 23 Mar 2006 02:59:53 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] x86: deterine xapic using apic version Checking APIC version instead of CPU family to determine XAPIC. Family 6 CPU could have xapic as well. Signed-off-by: Shaohua Li Cc: Dave Jones Cc: "Seth, Rohit" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d0d263b51d13efe55f0aae9254b69ba2855f1c tree a392ca227a460b22fe90cc5bca73e18e0b70cbdb parent 75874d5cc8efef22457072e14103dc55f164e64e author Shaohua Li Thu, 23 Mar 2006 02:59:52 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] x86: cpuid.4 doesn't need cpu level 5 Detecting cache line using cpuid.4, cpuid level 4 is enough. Signed-off-by: Shaohua Li Cc: Dave Jones Cc: "Seth, Rohit" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75874d5cc8efef22457072e14103dc55f164e64e tree 86458247e120310fdd6679e4575102958b6c022c parent 4ef0652a74d9c460299b00566d033bd45d60da98 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:52 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] i386: fix dump_stack() i386 has a small bug in the stack dump code where it prints an extra log level code. Remove that and fix the alignment of normal stack dump printout. Also remove some unnecessary printk() calls. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ef0652a74d9c460299b00566d033bd45d60da98 tree 3770089061358447923d8373b163868dd78dc81c parent 52f4a91afd9316fb4f0f3a77c5ff56b9c98632ea author Jan Beulich Thu, 23 Mar 2006 02:59:51 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] i386: cleanup after cpu_gdt_descr conversion to per-cpu data With cpu_gdt_descr having been converted to per-CPU data, the old object (in head.S) no longer needs to reserve space for each CPU's instance. With cpu_gdt_table not being used for CPU 0 anymore, it doesn't seem to need page alignment (or if in fact there is a need for it to retain that alignment, the whole object should go into .data.page_align). Signed-off-by: Jan Beulich Acked-by: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52f4a91afd9316fb4f0f3a77c5ff56b9c98632ea tree b3cd99d7c9474e50dfd819a3feba3ee3d93d9b44 parent 382dbd07c9cb4f255c28f680996ad819a8ce9bfe author Jesper Juhl Thu, 23 Mar 2006 02:59:50 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] Fix the imlicit declaration of mtrr_centaur_report_mcr in arch/i386/kernel/cpu/centaur.c arch/i386/kernel/cpu/centaur.c: In function `centaur_mcr_insert': arch/i386/kernel/cpu/centaur.c:33: warning: implicit declaration of function `mtrr_centaur_report_mcr' Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 382dbd07c9cb4f255c28f680996ad819a8ce9bfe tree f3f84864b8164704a21b72e071c4868c9f1dc828 parent be0a39120cb6b88bd085a3a280f5c769a3ed85ad author Jesper Juhl Thu, 23 Mar 2006 02:59:49 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] fix implicit declaration of GET_APIC_ID in arch/i386/kernel/apic.c arch/i386/kernel/apic.c:840: warning: implicit declaration of function `GET_APIC_ID' Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be0a39120cb6b88bd085a3a280f5c769a3ed85ad tree 39a882518d67f22894cdec615db32aad2b070f73 parent 635cf99a80f4ebee59d70eb64bb85ce829e4591f author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:48 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] i386: more vsyscall documentation Document a limitation of vsyscall-sysenter, since patches to fix it have been rejected. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 635cf99a80f4ebee59d70eb64bb85ce829e4591f tree 6c204f34a959d62852812a85faefec5e5bd81b1f parent db753bdfc24c31228996799d508ce3bf7cbe3b99 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:48 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] i386: fix singlestep through an int80 syscall Using PTRACE_SINGLESTEP on a child that does an int80 syscall misses the SIGTRAP that should be delivered upon syscall exit. Fix that by setting TIF_SINGLESTEP when entering the kernel via int80 with TF set. /* Test whether singlestep through an int80 syscall works. */ #define _GNU_SOURCE #include #include #include #include #include #include #include static int child, status; static struct user_regs_struct regs; static void do_child() { ptrace(PTRACE_TRACEME, 0, 0, 0); kill(getpid(), SIGUSR1); asm ("int $0x80" : : "a" (20)); /* getpid */ } static void do_parent() { unsigned long eip, expected = 0; again: waitpid(child, &status, 0); if (WIFEXITED(status) || WIFSIGNALED(status)) return; if (WIFSTOPPED(status)) { ptrace(PTRACE_GETREGS, child, 0, ®s); eip = regs.eip; if (expected) fprintf(stderr, "child stop @ %08x, expected %08x %s\n", eip, expected, eip == expected ? "" : " <== ERROR"); if (*(unsigned short *)eip == 0x80cd) { fprintf(stderr, "int 0x80 at %08x\n", (unsigned int)eip); expected = eip + 2; } else expected = 0; ptrace(PTRACE_SINGLESTEP, child, NULL, NULL); } goto again; } int main(int argc, char * const argv[]) { child = fork(); if (child) do_parent(); else do_child(); return 0; } Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db753bdfc24c31228996799d508ce3bf7cbe3b99 tree 620f4154d7c297857fa9d9512ccaeb113342c078 parent 101f12af16fb12f8da8100899a13ee1b1b576a0a author Jan Beulich Thu, 23 Mar 2006 02:59:46 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] i386: fix uses of user_mode() vs. user_mode_vm() >commit 76381fee7e8feb4c22be636aa5d4765dbe4fbf9e >Author: Vincent Hanquez >Date: Thu Jun 23 00:08:46 2005 -0700 > > [PATCH] xen: x86_64: use more usermode macro > > Make use of the user_mode macro where it's possible. This is useful for Xen > because it will need only to redefine only the macro to a hypervisor call. I am of the opinion that the above changeset is incomplete, i.e. it missed converting some previous uses of user_mode to user_mode_vm. While most of them could be considered just cosmetical, at least the one in die_nmi doesn't appear to be. Signed-off-by: Jan Beulich Cc: Vincent Hanquez Cc: Zachary Amsden Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 101f12af16fb12f8da8100899a13ee1b1b576a0a tree 0bea73d2702ba438e8e82bc8000b498aa50aee6e parent 44fd22992cb76dc51c52cf4b8aff1bc7899bb23c author Jan Beulich Thu, 23 Mar 2006 02:59:45 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] i386: actively synchronize vmalloc area when registering certain callbacks Registering a callback handler through register_die_notifier() is obviously primarily intended for use by modules. However, the way these currently get called it is basically impossible for them to actually be used by modules, as there is, on non-PAE configurationes, a good chance (the larger the module, the better) for the system to crash as a result. This is because the callback gets invoked (a) in the page fault path before the top level page table propagation gets carried out (hence a fault to propagate the top level page table entry/entries mapping to module's code/data would nest infinitly) and (b) in the NMI path, where nested faults must absolutely not happen, since otherwise the IRET from the nested fault re-enables NMIs, potentially resulting in nested NMI occurences. Besides the modular aspect, similar problems would even arise for in- kernel consumers of the API if they touched ioremap()ed or vmalloc()ed memory inside their handlers. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44fd22992cb76dc51c52cf4b8aff1bc7899bb23c tree ef10367137a340a554ebb3989598ef8af44d420b parent ffa930ef55ae82c09e30b2a0c4ce5d7fdea041e2 author Stas Sergeev Thu, 23 Mar 2006 02:59:44 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] Register the boot-cpu in the cpu maps earlier Register the boot-cpu in the cpu maps earlier to allow the early printk to work, and to fix an obscure deadlock at boot. Signed-off-by: Stas Sergeev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ffa930ef55ae82c09e30b2a0c4ce5d7fdea041e2 tree 400b18f0eca74fb0728010c25f20166e8410b608 parent 98e7d9b0529b6a348f2978a926806930a9902067 author Andrew Morton Thu, 23 Mar 2006 02:59:43 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] x86: early_printk(): remove MAX_YPOS and MAX_XPOS macros Expand out these fairly pointless macros. Cc: Chuck Ebbert <76306.1226@compuserve.com> Cc: Stas Sergeev Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98e7d9b0529b6a348f2978a926806930a9902067 tree 9e00dfe4775f88f2c9dc21aa25a081edb374a436 parent 99b7de33477882b86d54ce8ecbf90147f9d106d7 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:42 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] x86: start early_printk at sensible screen row Use boot info to start early_printk() at the current row on VGA console, as left by the boot loader. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Cc: Stas Sergeev Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99b7de33477882b86d54ce8ecbf90147f9d106d7 tree 1409719376eff18346aa6f15ad9d2f698d61302e parent 8bed51cd17464433a0c77afc8a5150e51d3da37d author Stas Sergeev Thu, 23 Mar 2006 02:59:41 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] x86: early printk handling fixes The history is that -mm kernels do not work for me for a few months already. The things started from crashing somewhere after starting init, and for the last month - no boot at all, just "Uncompressing... OK, booting kernel", and silence. Early console didn't work too. With the latest releases this degraded into an infinite stream of the "Unknown interrupt or fault" messages. So today my patience ran out and I started to think how can I collect at least some info for the bug-report. Attached is the patch that allows to gather some valueable debug info on the problem by making an early console more useable. I can't properly test the patch, as the kernel still doesn't boot, so I'll explain it in details in a hope someone else can justify the intrusive changes. arch_hooks.h: added prototypes for setup_early_printk() and early_printk(). setup.c: killed wrong setup_early_printk() prototype. Moved setup_early_printk() a bit earlier, as it was not "early enough" to cover the bug I was fighting with. early_printk.c: made it to start printing from the bottom of the screen, otherwise the messages interfere with the ones of the boot-loader, so you can't read them. Signed-off-by: Stas Sergeev Cc: Andi Kleen Cc: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bed51cd17464433a0c77afc8a5150e51d3da37d tree 7ffd751ba256f1f88e5888f624cb6e08c2a95bd7 parent 3c36c6aa4aa1b3483c6a0370028608367426f58e author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:40 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] i386: let signal handlers set the resume flag Allow signal handlers to set the RF bit in EFLAGS. This lets a simple debugger using SIGTRAP skip one instruction after returning from a signal. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c36c6aa4aa1b3483c6a0370028608367426f58e tree 2eaa033543eb67536f7da6ac1912f7a41e87ff7e parent cc04ee9cc527e314e6906849ee931c33764f861e author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:39 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: Don't let ptrace set the nested task bit There's no good reason for allowing ptrace to set the NT bit in EFLAGS, so mask it off. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc04ee9cc527e314e6906849ee931c33764f861e tree 525858d30d3160a19a820c8286868330e6edc445 parent 7c63ee5cf7d210b51c2a8243e29988edec2646ed author Jean Delvare Thu, 23 Mar 2006 02:59:38 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386 traps: merge printk calls Merge a few printk calls in i386 traps. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c63ee5cf7d210b51c2a8243e29988edec2646ed tree 7f859d08d8973129859b307beb11a2aaa7268dea parent e5428ede94179ddccaa56308e0f194fa299edbb4 author Chris Wright Thu, 23 Mar 2006 02:59:37 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: remove duplicate declaration of mp_bus_id_to_pci_bus mp_bus_id_to_pci_bus is declared identically twice. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5428ede94179ddccaa56308e0f194fa299edbb4 tree baba6926b3176442d9bf8cdcc86a5ed30bac22ba parent 54a20f8c5d778ed3603130de4b92f64405228611 author Natalie.Protasevich@unisys.com Thu, 23 Mar 2006 02:59:36 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] Compilation fix for ES7000 when no ACPI is specified in config (i386) ES7000 platform code clean up for compilation errors and a warning. Ifdef'd the ACPI related parts in the ES7000 platform code. They were causing compile errors in certain configuration (without ACPI defined). I think this approach would be best (as opposed to Kconfig changes) since it only touches the subarch... Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54a20f8c5d778ed3603130de4b92f64405228611 tree ced7969ecc3348c0aadd700e93c74449fd76b5ca parent 30e931d4092713cecd6b8c2fd70f268efaa6e428 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:36 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: fall back to sensible CPU model name When vendor-specific i386 initialization code is unavailable the kernel falls back to a default CPU model name. Make that model name reflect the CPU family instead of an internal vendor index. Tested on Pentium II (family 6 model 5). /proc/cpuinfo before: model name : ff/05 after: model name : 06/05 Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Acked-by: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30e931d4092713cecd6b8c2fd70f268efaa6e428 tree e7425d6e23720399d4f1a3078e63e03d62ca1d63 parent 4f88651125e2ca8b106b6f65b65ea45776517bf3 author Eric W. Biederman Thu, 23 Mar 2006 02:59:35 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: Add a temporary to make put_user more type safe In some code I am developing I had occasion to change the type of a variable. This made the value put_user was putting to user space wrong. But the code continued to build cleanly without errors. Introducing a temporary fixes this problem and at least with gcc-3.3.5 does not cause gcc any problems with optimizing out the temporary. gcc-4.x using SSA internally ought to be even better at optimizing out temporaries, so I don't expect a temporary to become a problem. Especially because in all correct cases the types on both sides of the assignment to the temporary are the same. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f88651125e2ca8b106b6f65b65ea45776517bf3 tree a9865c268c57bd1752a66899615d8694d5ddaea8 parent 3bc9b76bede9b3c72088258c7e72eb823f3351d4 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:34 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: allow disabling X86_FEATURE_SEP at boot Allow the x86 "sep" feature to be disabled at bootup. This forces use of the int80 vsyscall. Mainly for testing or benchmarking the int80 vsyscall code. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3bc9b76bede9b3c72088258c7e72eb823f3351d4 tree 9f1eed2e6ebc9e7a990178e62b55fb6ee3267d8f parent 9a0b5817ad97bb718ab85322759d19a238712b47 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:33 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: __devinit should be __cpuinit Several places in arch/i386/kernel/cpu and kernel/cpu were using __devinit when they should have been __cpuinit. Fixing that saves ~4K when CONFIG_HOTPLUG && !CONFIG_HOTPLUG_CPU. Noticed by Andrew Morton. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a0b5817ad97bb718ab85322759d19a238712b47 tree 39bd21eb69c4001b99096d96a76a2e5d37904108 parent 4d7d8c82c181711d28c8336108330a9121f5ef07 author Gerd Hoffmann Thu, 23 Mar 2006 02:59:32 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] x86: SMP alternatives Implement SMP alternatives, i.e. switching at runtime between different code versions for UP and SMP. The code can patch both SMP->UP and UP->SMP. The UP->SMP case is useful for CPU hotplug. With CONFIG_CPU_HOTPLUG enabled the code switches to UP at boot time and when the number of CPUs goes down to 1, and switches to SMP when the number of CPUs goes up to 2. Without CONFIG_CPU_HOTPLUG or on non-SMP-capable systems the code is patched once at boot time (if needed) and the tables are released afterwards. The changes in detail: * The current alternatives bits are moved to a separate file, the SMP alternatives code is added there. * The patch adds some new elf sections to the kernel: .smp_altinstructions like .altinstructions, also contains a list of alt_instr structs. .smp_altinstr_replacement like .altinstr_replacement, but also has some space to save original instruction before replaving it. .smp_locks list of pointers to lock prefixes which can be nop'ed out on UP. The first two are used to replace more complex instruction sequences such as spinlocks and semaphores. It would be possible to deal with the lock prefixes with that as well, but by handling them as special case the table sizes become much smaller. * The sections are page-aligned and padded up to page size, so they can be free if they are not needed. * Splitted the code to release init pages to a separate function and use it to release the elf sections if they are unused. Signed-off-by: Gerd Hoffmann Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d7d8c82c181711d28c8336108330a9121f5ef07 tree 2e1537702c1e8447dfbe5b5917333f58f4416c1a parent b824eb605ccba995fd32c6590aed365f93d48002 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:30 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] i386: multi-column stack backtraces Print stack backtraces in multiple columns, saving screen space. Number of columns is configurable and defaults to one so behavior is backwards-compatible. Also removes the brackets around addresses when printing more that one entry per line so they print as:
instead of: [
] This helps multiple entries fit better on one line. Original idea by Dave Jones, taken from x86_64. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b824eb605ccba995fd32c6590aed365f93d48002 tree f5720240b044b46ac83e127e2c5586cd8ef2ed75 parent 69ef4141e03fab1c6956d3c760584c72b548a26f author Ingo Molnar Thu, 23 Mar 2006 02:59:29 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] Make CONFIG_REGPARM enabled by default Make CONFIG_REGPARM enabled by default. It's a noticable win both for size and for performance, and gcc[34] handles it correctly. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69ef4141e03fab1c6956d3c760584c72b548a26f tree 09d34f7e57d0938b788ad59fedbd3b28d5e6cf87 parent 6bb08da4773f584a7b4a838b6b770d7d18033af7 author Adrian Bunk Thu, 23 Mar 2006 02:59:28 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] i386: let REGPARM no longer depend on EXPERIMENTAL REGPARM has already gotten much testing, what about removing the dependency on EXPERIMENTAL? Additionally, this patch does: - remove the useless "default n" - remove note regarding binary only modules (nowadays, there are even some binary only modules compiled with REGPARM=y available) Signed-off-by: Adrian Bunk Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bb08da4773f584a7b4a838b6b770d7d18033af7 tree 5d19e8bb1c1f17e2e270f55bc238b326d5a6a3f6 parent 61808c2bbba127ecd9786401c55ea4c394aa0240 author Davi Arnaut Thu, 23 Mar 2006 02:59:25 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] Bug fixes and cleanup for the BSD Secure Levels LSM This patch address several issues in the current BSD Secure Levels code: o plaintext_to_sha1: Missing check for a NULL return from __get_free_page o passwd_write_file: A page is leaked if the password is wrong. o fix securityfs registration order o seclvl_init is a mess and can't properly tolerate failures, failure path is upside down (deldif and delf should be switched) Cleanups: o plaintext_to_sha1: Use buffers passed in o passwd_write_file: Use kmalloc() instead of get_zeroed_page() o passwd_write_file: hashedPassword comparison is just memcmp o s/ENOSYS/EINVAL/ o misc (akpm: after some discussion it appears that the BSD secure levels feature should be scheduled for removal. But for now, let's fix these problems up). Signed-off-by: Davi Arnaut Cc: Michael Halcrow Cc: Chris Wright Cc: Stephen Smalley Cc: James Morris Cc: Serge Hallyn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61808c2bbba127ecd9786401c55ea4c394aa0240 tree 83aa48dd211bb71a825f7999dd01d859d063ff4f parent 9e71f9c848e669f003b1319da52f03cb8e7d7403 author Patrick McHardy Thu, 23 Mar 2006 02:59:24 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] cciss: fix use-after-free in cciss_init_one free_hba() sets hba[i] to NULL, the dereference afterwards results in this crash. Setting busy_initializing to 0 actually looks unnecessary, but I'm not entirely sure, which is why I left it in. cciss: controller appears to be disabled Unable to handle kernel NULL pointer dereference at virtual address 00000370 printing eip: c1114d53 *pde = 00000000 Oops: 0002 [#1] Modules linked in: CPU: 0 EIP: 0060:[] Not tainted VLI EFLAGS: 00010286 (2.6.16 #1) EIP is at cciss_init_one+0x4e9/0x4fe eax: 00000000 ebx: c132cd60 ecx: c13154e4 edx: c27d3c00 esi: 00000000 edi: c2748800 ebp: c2536ee4 esp: c2536eb8 ds: 007b es: 007b ss: 0068 Process swapper (pid: 1, threadinfo=c2536000 task=c2535a30) Stack: <0>00000000 00000000 00000000 c13fdba0 c2536ee8 c13159c0 c2536f38 f7c74740 c132cd60 c132cd60 ffffffed c2536ef0 c10c1d51 c2748800 c2536f04 c10c1d85 c132cd60 c2748800 c132cd8c c2536f14 c10c1db8 c2748848 00000000 c2536f28 Call Trace: [] show_stack_log_lvl+0xa8/0xb0 [] show_registers+0x102/0x16a [] die+0xc1/0x13c [] do_page_fault+0x38a/0x525 [] error_code+0x4f/0x54 [] pci_call_probe+0xd/0x10 [] __pci_device_probe+0x31/0x43 [] pci_device_probe+0x21/0x34 [] driver_probe_device+0x44/0x99 [] __driver_attach+0x39/0x5d [] bus_for_each_dev+0x35/0x5a [] driver_attach+0x14/0x16 [] bus_add_driver+0x5c/0x8f [] driver_register+0x73/0x78 [] __pci_register_driver+0x5f/0x71 [] cciss_init+0x1a/0x1c [] do_initcalls+0x4c/0x96 [] do_basic_setup+0x1c/0x1e [] init+0x35/0x118 [] kernel_thread_helper+0x5/0xb Code: 04 b5 e0 de 40 c1 8d 50 04 8b 40 34 e8 3f b7 f9 ff 8b 04 b5 e0 de 40 c1 e8 aa f3 ff ff 89 f0 e8 e8 fa ff ff 8b 04 b5 e0 de 40 c1 80 70 03 00 00 00 00 00 00 83 c8 ff 8d 65 f4 5b 5e 5f 5d c3 <0>Kernel panic - not syncing: Attempted to kill init! Signed-off-by: Patrick McHardy Cc: Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e71f9c848e669f003b1319da52f03cb8e7d7403 tree 3c873cce6b2d5da5237be20fe98124e8f4968d4d parent e9028b0ff2bad1954568604dc17725692c8524d6 author NeilBrown Thu, 23 Mar 2006 02:59:22 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] DM: Fix bug: BIO_RW_BARRIER requests to md/raid1 hang. Both R1BIO_Barrier and R1BIO_Returned are 4 !!!! This means that barrier requests don't get returned (i.e. b_endio called) because it looks like they already have been. Signed-off-by: Neil Brown Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9028b0ff2bad1954568604dc17725692c8524d6 tree dbff742d39520574e5985930333f1d421282e080 parent 5be0e9511990dc307670dc66a42073db96b20f26 author Anton Blanchard Thu, 23 Mar 2006 02:59:20 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:02 -0800 [PATCH] fix scheduler deadlock We have noticed lockups during boot when stress testing kexec on ppc64. Two cpus would deadlock in scheduler code trying to grab already taken spinlocks. The double_rq_lock code uses the address of the runqueue to order the taking of multiple locks. This address is a per cpu variable: if (rq1 < rq2) { spin_lock(&rq1->lock); spin_lock(&rq2->lock); } else { spin_lock(&rq2->lock); spin_lock(&rq1->lock); } On the other hand, the code in wake_sleeping_dependent uses the cpu id order to grab locks: for_each_cpu_mask(i, sibling_map) spin_lock(&cpu_rq(i)->lock); This means we rely on the address of per cpu data increasing as cpu ids increase. While this will be true for the generic percpu implementation it may not be true for arch specific implementations. One way to solve this is to always take runqueues in cpu id order. To do this we add a cpu variable to the runqueue and check it in the double runqueue locking functions. Signed-off-by: Anton Blanchard Acked-by: Ingo Molnar Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5be0e9511990dc307670dc66a42073db96b20f26 tree 2d0ce6f2c750ba4aac1560a502583d7274f519d7 parent fcab1e51796d8bcd1a7969ff52bd904d38748e00 author Neil Horman Thu, 23 Mar 2006 02:59:19 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:02 -0800 [PATCH] proc: fix duplicate line in /proc/devices Fix a duplicate block device line printed after the "Block device" header in /proc/devices. Signed-off-by: Neil Horman Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 949763b2b8822c6dc6da0d0e1d4af092152546c2 tree 241f024e5eb4e8aeb3aa89e0e3972211e3e1c07b parent 78264bd9c239237fe356c32d08abf8e52a2d8737 author Anton Altaparmakov Thu, 23 Mar 2006 15:34:13 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:34:13 +0000 NTFS: Fix comparison of $MFT and $MFTMirr to not bail out when there are unused, invalid mft records which are the same in both $MFT and $MFTMirr. Signed-off-by: Anton Altaparmakov commit fcab1e51796d8bcd1a7969ff52bd904d38748e00 tree ed2429321d8d12e9ec93fa2c0aec31fdc3d7b267 parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Nick Piggin Thu, 23 Mar 2006 07:48:16 +0100 committer Linus Torvalds Thu, 23 Mar 2006 07:15:21 -0800 [PATCH] sparc64: fix set_page_count merge clash Merge clash will have broken sparc64. Synch up its online_page implementation with powerpc, which was identical until the set_page_count removal. Signed-off-by: Nick Piggin Signed-off-by: Linus Torvalds commit 78264bd9c239237fe356c32d08abf8e52a2d8737 tree c06736b2677be53b7ec1aafe4e0ad9f42763e35a parent 3ccc7384db3d762e834dfdae13c1d6434b2fdeab author Anton Altaparmakov Thu, 23 Mar 2006 15:06:18 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:06:18 +0000 NTFS: Use buffer_migrate_page() for the ->migratepage function of all ntfs address space operations. Signed-off-by: Anton Altaparmakov commit 3ccc7384db3d762e834dfdae13c1d6434b2fdeab tree 2bddfd2b0c5e1f2098c95d0c6bd611e33971591d parent 67b1dfe77a2eb2a88b37cd77b8979cbdb7695bd6 author Anton Altaparmakov Thu, 23 Mar 2006 15:03:11 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:03:11 +0000 NTFS: Fix a buggette in an "should be impossible" case handling where we continued the attribute lookup loop instead of aborting it. Signed-off-by: Anton Altaparmakov commit 67b1dfe77a2eb2a88b37cd77b8979cbdb7695bd6 tree 95383ef7826a451dea08d58518219ce30b96880d parent b4d8d1a93c6ea042b29bb66fbb1cf6bc556c18f7 author Anton Altaparmakov Thu, 23 Mar 2006 14:57:43 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 14:57:43 +0000 NTFS: Fix an (innocent) off-by-one error in the runlist code. Signed-off-by: Anton Altaparmakov commit b4d8d1a93c6ea042b29bb66fbb1cf6bc556c18f7 tree 030ef62361042d1a034087ad9a726db3b57bba72 parent bb8047d3540affd6b8c2adac3fe792e07143be0f parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Anton Altaparmakov Thu, 23 Mar 2006 14:50:51 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 14:50:51 +0000 Merge branch 'master' of /usr/src/ntfs-2.6/ commit 74293759002aa7db0179158c20676a034614577b tree 030ef62361042d1a034087ad9a726db3b57bba72 parent bb8047d3540affd6b8c2adac3fe792e07143be0f parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Anton Altaparmakov Thu, 23 Mar 2006 14:39:08 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 14:39:08 +0000 Merge branch 'master' of /home/aia21/ntfs-2.6/ commit 9aa45e34d2948f360f8c0e63d10f49015ca51edd tree 52b5715c005a81989e0d3660bcffa0a6a9ed0e34 parent 5a313c59bcc5062fc56088d5ff9289828c4b6626 author Jean Delvare Wed, 22 Mar 2006 03:48:35 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:30 -0300 V4L/DVB (3568k): zoran: Use i2c_master_send when possible Change all the Zoran (ZR36050/ZR36060) drivers to use i2c_master_send instead of i2c_transfer when possible. This simplifies the code by a few lines in each driver. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 5a313c59bcc5062fc56088d5ff9289828c4b6626 tree 689cfceb1a7dbc8a80ef9e93f5efde1156a80ffe parent 2467a670ee24631b05e91971286730e71f6a6af0 author Jean Delvare Wed, 22 Mar 2006 03:48:34 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:28 -0300 V4L/DVB (3568j): adv7175: Drop unused encoder dump command Drop support for the ENCODER_DUMP command in the adv7175 driver. ENCODER_DUMP was never actually defined as far as I can see, so the code was ifdef'd out, and I suspect it was never used, not even once, as it includes an obvious array overrun. The register values of this specific chip can be dumped in a generic way using the i2c-dev driver and the "i2cdump" user-space tool if it is ever really needed. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 2467a670ee24631b05e91971286730e71f6a6af0 tree e2041d5d988e18dd780525fa7dde6b62145b1a88 parent 2f8de1a10697efe7bee08e51b587208706b44e97 author Jean Delvare Wed, 22 Mar 2006 03:48:34 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:25 -0300 V4L/DVB (3568i): adv7175: Drop unused register cache Drop the adv7175 register cache, as it is only written to and never read back from. This saves 128 bytes of memory and slightly speeds up the register writes. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 2f8de1a10697efe7bee08e51b587208706b44e97 tree bc25a39f59593fe7dd935e5fd4cee22e61b76e1b parent 384c36893f94e0e2145832cf2f20684ae372aee5 author Randy Dunlap Tue, 21 Mar 2006 14:53:22 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:22 -0300 V4L/DVB (3568h): cpia: correct email address Correct email address typo (erdfeld -> erdfelt). Signed-off-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab commit 384c36893f94e0e2145832cf2f20684ae372aee5 tree 14a70539e5c4601a9d1e82beaf5990560f2852b1 parent 6201573cc9bfe1e0bdec229bed8e95b0dc88a587 author Ingo Molnar Wed, 22 Mar 2006 03:54:16 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:19 -0300 V4L/DVB (3568g): sem2mutex: zoran Semaphore to mutexes conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 6201573cc9bfe1e0bdec229bed8e95b0dc88a587 tree 35a5377e4bc8ba7a94d53631911638b5a739034a parent f49a5eaea6d7b3ed3d01ca9388eac9e7e5bf6025 author Jean Delvare Wed, 22 Mar 2006 03:48:30 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:16 -0300 V4L/DVB (3568f): saa7110: Fix array overrun Fix a (probably harmless) array overrun in the DECODER_DUMP command of the saa7110 driver. No big deal as this command is not used anywhere anyway. Also reformat the dump so that it displays nicely. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit f49a5eaea6d7b3ed3d01ca9388eac9e7e5bf6025 tree b6aa64eaea8d47dd4419d76d170702242058eb66 parent 58a0b84c92e62c2cc42036259a4b51e0bcaf8fa5 author Jean Delvare Wed, 22 Mar 2006 03:48:36 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:13 -0300 V4L/DVB (3568e): bt856: Spare memory The bt856 driver has a register cache much larger than needed. We really only write to 3 registers, so a 32-byte cache is a bit too much. We can be just as efficient with a 6-byte cache. We could even do with a 3-byte cache, but at the cost of additional arithmetics arguably not worth the spared 3 bytes. Also, 4 of the 6 other members of the bt856 data structure were not used anywhere, so we can as well drop them for an additional 16 bytes of memory spared. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 58a0b84c92e62c2cc42036259a4b51e0bcaf8fa5 tree 0c58f0e641fc1c64702dd330d971bb9a71643dac parent daf72f408c66aee4ac939f614293a78841aa7717 author Martin Samuelsson Wed, 22 Mar 2006 03:48:38 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:10 -0300 V4L/DVB (3568d): saa7111.c fix When grabbing composite video with Iomega Buz, the stock driver will prevent grabbing from the same input twice in a row, forcing the user to switch inputs before anything useful can be grabbed again. It is caused by some optimization code in the input selection parts, and triggered by the saa7111_command() executing cmd 0. The attached patch will remedy this by disabling cmd 0 altogether; a fix that has no found negative effects on the rest of the code. In fact, saa7110.c does the exact same thing. Acked-by: Ronald S. Bultje Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit daf72f408c66aee4ac939f614293a78841aa7717 tree 1a86c84e20fcc021a247510ca3ea089119a185c3 parent 6eb5d9ca9f1496108cb86f2d9bfc2db5d9c796fe author Jean Delvare Wed, 22 Mar 2006 03:48:37 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:08 -0300 V4L/DVB (3568c): zoran: Init cleanups Cleanups to the zr36057 initialization: * Drop intermediate local variables. * Single error path. Also drop a needless cast on kfree. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 6eb5d9ca9f1496108cb86f2d9bfc2db5d9c796fe tree 1fe693708ca8aed3f4f81dfb4a5c4254b4968e28 parent 6254312352dfd1c996245cb3bc74be901dc165cc author Jean Delvare Wed, 22 Mar 2006 03:48:32 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:05 -0300 V4L/DVB (3568b): saa7111: Prevent array overrun Explicitely state the number of registers the SAA7111 has, and use that defined value where relevant. This should prevent any future array overrun like the one I just fixed in the saa7110 driver. This patch also saves 8 bytes of memory as a side effect, as the register cache was larger than needed. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 6254312352dfd1c996245cb3bc74be901dc165cc tree 4040c6d047f4be61b0a55b0b34323d3ef34e3884 parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Jean Delvare Wed, 22 Mar 2006 03:48:33 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:03 -0300 V4L/DVB (3568a): saa7114: Fix i2c block write Fix the i2c block write mode of the saa7114 driver. A previous code change accidentally commented out a local variable increment, which should have been kept, causing the register writes over the I2C bus to never be batched, replacing any attempted block write by slower, individual write transactions. Also drop the commented out code, as it only adds to confusion. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 7d420896256a4bffe44202f282fbdd4c74d779a8 tree 7724a659cbcfb78f6820f9cb919035106ca3234f parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Lennert Buytenhek Thu, 23 Mar 2006 12:59:08 +0000 committer Russell King Thu, 23 Mar 2006 12:59:08 +0000 [ARM] 3391/1: use PLAT8250_DEV_PLATFORM{,1} for platform device id instead of 0/1 Patch from Lennert Buytenhek This patch changes iop3xx and omap2 and to use PLAT8250_DEV_PLATFORM{,1} as platform device id instead of just hardcoding 0/1 directly. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 711e2c33ac9221a419a9e28d05dd78a6a9c5fd4d tree 2d04ff5de8a0d933d3d123a52a6e4285f84e9025 parent 9a107aa24a1dbc05d58a4fdd2c4d2861f8bd5ae6 author Jean Tourrilhes Wed, 22 Feb 2006 15:10:56 -0800 committer John W. Linville Thu, 23 Mar 2006 07:12:57 -0500 [PATCH] WE-20 for kernel 2.6.16 This is version 20 of the Wireless Extensions. This is the completion of the RtNetlink work I started early 2004, it enables the full Wireless Extension API over RtNetlink. Few comments on the patch : o totally driver transparent, no change in drivers needed. o iwevent were already RtNetlink based since they were created (around 2.5.7). This adds all the regular SET and GET requests over RtNetlink, using the exact same mechanism and data format as iwevents. o This is a Kconfig option, as currently most people have no need for it. Surprisingly, patch is actually small and well encapsulated. o Tested on SMP, attention as been paid to make it 64 bits clean. o Code do probably too many checks and could be further optimised, but better safe than sorry. o RtNetlink based version of the Wireless Tools available on my web page for people inclined to try out this stuff. I would also like to thank Alexey Kuznetsov for his helpful suggestions to make this patch better. Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit 9a107aa24a1dbc05d58a4fdd2c4d2861f8bd5ae6 tree a2e0a060edb0d80228508b8d084ea96bc2360f94 parent fe0b06b123762ab620b5bee3dab1576ddddd0a7f author John W. Linville Wed, 22 Mar 2006 17:29:32 -0500 committer John W. Linville Thu, 23 Mar 2006 07:12:36 -0500 [PATCH] softmac: remove function_enter() Remove the function_enter() debugging macros. Signed-off-by: John W. Linville commit 95381c893dd71a534ab56f09b12a4e2118aa0f32 tree 91b0a89441fe0dcda04922723cd7aaa7d1985714 parent d3c7b886978bef42f5ea487dec376c482d3cd7e3 author David S. Miller Thu, 23 Mar 2006 01:29:06 -0800 committer David S. Miller Thu, 23 Mar 2006 01:29:06 -0800 [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller commit d3c7b886978bef42f5ea487dec376c482d3cd7e3 tree 0776fcc78eb223beccc5af0a88b991a7d0284677 parent af36e6b6d7f4ad7a5ccfd14dfa71ec941255f93d author Michael Chan Thu, 23 Mar 2006 01:28:25 -0800 committer David S. Miller Thu, 23 Mar 2006 01:28:25 -0800 [TG3]: Add 5755 nvram support Add 5755 nvram support. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit af36e6b6d7f4ad7a5ccfd14dfa71ec941255f93d tree 879c0f2f8be1e6bcd9d64fa4ee952ee959d35357 parent b30bd282cbf5c46247a279a2e8d2aae027d9f1bf author Michael Chan Thu, 23 Mar 2006 01:28:06 -0800 committer David S. Miller Thu, 23 Mar 2006 01:28:06 -0800 [TG3]: Add 5755 support Add support for new chip 5755 which is very similar to 5787. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit b30bd282cbf5c46247a279a2e8d2aae027d9f1bf tree 3426e213f156329a24707f7142ffcc54f6f69fbe parent 1ae39a430b692552e5aceb63fa35ce95fcbadc6a author Patrick McHardy Thu, 23 Mar 2006 01:17:25 -0800 committer David S. Miller Thu, 23 Mar 2006 01:17:25 -0800 [IPV6]: ip6_xmit: remove unnecessary NULL ptr check The sk argument to ip6_xmit is never NULL nowadays since the skb->priority assigment expects a valid socket. Coverity #354 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1ae39a430b692552e5aceb63fa35ce95fcbadc6a tree 598cfbcff6a1e84f6668d75bc8c92a28f73a381a parent a5cdc030030ef5a16e48aebeb65067bdc3120899 author Patrick McHardy Thu, 23 Mar 2006 01:16:48 -0800 committer David S. Miller Thu, 23 Mar 2006 01:16:48 -0800 [NET_SCHED]: cls_u32: remove unnecessary NULL-ptr check In both cases n can't be NULL without crashing anyway. Coverity #78 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a5cdc030030ef5a16e48aebeb65067bdc3120899 tree 36524250e8564ae4e7f891662dace65fdacff521 parent 5e2e71141ca93a3e2543966ced6a6077d4fb8fd8 author Patrick McHardy Thu, 23 Mar 2006 01:16:06 -0800 committer David S. Miller Thu, 23 Mar 2006 01:16:06 -0800 [IPV4]: Add fib rule netlink notifications To really make sense of route notifications in the presence of multiple tables, userspace also needs to be notified about routing rule updates. Notifications are sent to the so far unused RTNLGRP_NOP1 (now RTNLGRP_RULE) group. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5e2e71141ca93a3e2543966ced6a6077d4fb8fd8 tree c968c14cbab5e8c1e4a4a7537c8b759f995607aa parent 29b12174ac14f110225d6d9ebb66c30df5023baf author Michael Chan Thu, 23 Mar 2006 01:14:09 -0800 committer David S. Miller Thu, 23 Mar 2006 01:14:09 -0800 [BNX2]: Update version and reldate Update version to 1.4.39. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 29b12174ac14f110225d6d9ebb66c30df5023baf tree 2c90b0bb6d3e6e4e7528cd381688b4413c77507b parent f2a4f05216e95f3b8c06b858abc0fe9a77500816 author Michael Chan Thu, 23 Mar 2006 01:13:43 -0800 committer David S. Miller Thu, 23 Mar 2006 01:13:43 -0800 [BNX2]: Separate tx producer and consumer fields Put the tx producer and consumer fields in separate cache lines in the device structure, similar to the VJ net channel queue structure. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit f2a4f05216e95f3b8c06b858abc0fe9a77500816 tree 1939a86f6370f089246c174bd6dab86c8031ebbc parent 0f31f99446270e66c6f18c7d87aadd7db1dad214 author Michael Chan Thu, 23 Mar 2006 01:13:12 -0800 committer David S. Miller Thu, 23 Mar 2006 01:13:12 -0800 [BNX2]: Move .h files to bnx2.c Move all #include <> from bnx2.h to bnx2.c. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0f31f99446270e66c6f18c7d87aadd7db1dad214 tree 7cac41b473b1e85d97df34a4fe4f6e329a534b6f parent bf5295bba804a6aead9bc1c0d5970173a9d4e08e author Michael Chan Thu, 23 Mar 2006 01:12:38 -0800 committer David S. Miller Thu, 23 Mar 2006 01:12:38 -0800 [BNX2]: Combine small mem allocations Combine two small (56 byte and 320 byte) pci consistent memory allocations into one allocation. Jeff Garzik suggested to store the combined size in the bp structure for later use when freeing the memory. Use kzalloc() instead of kmalloc() + memset(). Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit bf5295bba804a6aead9bc1c0d5970173a9d4e08e tree 561708042eb3348d0693f4d2a4035bf4b58fd8e9 parent ca6549af77f0f28ac5d23b662fb8f72713eb16d3 author Michael Chan Thu, 23 Mar 2006 01:11:56 -0800 committer David S. Miller Thu, 23 Mar 2006 01:11:56 -0800 [BNX2]: Fix link change handling Fix some link-related problems by doing a coalesce_now after link change interrupt to flush out the transient link status. To facilitate this, the host coalesce cmd register value is cached in the device structure. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit ca6549af77f0f28ac5d23b662fb8f72713eb16d3 tree 597e48060de9052ef034a0b49bcc5a1dbfd7e644 parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Steven Whitehouse Thu, 23 Mar 2006 01:10:26 -0800 committer David S. Miller Thu, 23 Mar 2006 01:10:26 -0800 [PKTGEN]: Add MPLS extension. Signed-off-by: Steven Whitehouse Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 tree 6b98b15c2fe7899cdeb2453589cdee00f7853492 parent b7ad6d75028d021362221d9b2db19fcff995c3f8 parent b88a0b1d5560cf1959c1565617e460a45c688a08 author Linus Torvalds Wed, 22 Mar 2006 22:20:46 -0800 committer Linus Torvalds Wed, 22 Mar 2006 22:20:46 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (78 commits) [PATCH] powerpc: Add FSL SEC node to documentation [PATCH] macintosh: tidy-up driver_register() return values [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values [PATCH] powerpc: via-pmu warning fix [PATCH] macintosh: cleanup the use of i2c headers [PATCH] powerpc: dont allow old RTC to be selected [PATCH] powerpc: make powerbook_sleep_grackle static [PATCH] powerpc: Fix warning in add_memory [PATCH] powerpc: update mailing list addresses [PATCH] powerpc: Remove calculation of io hole [PATCH] powerpc: iseries: Add bootargs to /chosen [PATCH] powerpc: iseries: Add /system-id, /model and /compatible [PATCH] powerpc: Add strne2a() to convert a string from EBCDIC to ASCII [PATCH] powerpc: iseries: Make more stuff static in platforms/iseries/mf.c [PATCH] powerpc: iseries: Remove pointless iSeries_(restart|power_off|halt) [PATCH] powerpc: iseries: mf related cleanups [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature [PATCH] powerpc: trivial: Cleanup whitespace in cputable.h [PATCH] powerpc: Remove unused iommu_off logic from pSeries_init_early() [PATCH] powerpc: Unconfuse htab_bolt_mapping() callers ... commit 2cc432eed0491df66e14b578139bba2c75fb3f9a tree 5629388698a637ac8b211dff2d0168b5f9d6aa81 parent 50106c5a0366c9e02bf872e85c672732aa517fb4 author Jeff Garzik Thu, 23 Mar 2006 00:32:03 -0500 committer Jeff Garzik Thu, 23 Mar 2006 00:32:03 -0500 [libata] Move some bmdma-specific code to libata-bmdma.c No code changes, just moving code between files. commit 50106c5a0366c9e02bf872e85c672732aa517fb4 tree 089a1730359cb5191f1173e6d775d7b4baa9b977 parent 02cbd926e9acdc03574d26803050cd2664f59ada author Jeff Garzik Thu, 23 Mar 2006 00:14:36 -0500 committer Jeff Garzik Thu, 23 Mar 2006 00:14:36 -0500 [libata sata_uli] kill scr_addr abuse sata_uli was storing PCI config addresses in a variable intended for port addresses, a variable soon to become void __iomem *. Update the driver to store the SCR address, found in PCI config space, in the driver-private data area. commit 02cbd926e9acdc03574d26803050cd2664f59ada tree 09535e44392d50d2fd7853e99ded7b7b5aedfea7 parent 10ad05df14fb5b6ac1fcdaa312a9c13e77627a97 author Jeff Garzik Wed, 22 Mar 2006 23:59:46 -0500 committer Jeff Garzik Wed, 22 Mar 2006 23:59:46 -0500 [libata sata_nv] eliminate duplicate codepaths with iomap eliminate a bunch of if (mmio) writel() else outl() code with the pci_iomap() and io{read,write}{8,16,32}() interface. commit 10ad05df14fb5b6ac1fcdaa312a9c13e77627a97 tree f2a5fd8d251d42eda6cc2ce7a4012138df1a447c parent 142877b07fe1ef1816513b20f65a51c6ffcadb8b author Jeff Garzik Wed, 22 Mar 2006 23:50:50 -0500 committer Jeff Garzik Wed, 22 Mar 2006 23:50:50 -0500 [libata sata_nv] cleanups: convert #defines to enums; remove in-file history commit 142877b07fe1ef1816513b20f65a51c6ffcadb8b tree bdd2f40f6a5897323d8a80deddf41759145094e9 parent b7ad6d75028d021362221d9b2db19fcff995c3f8 author Jeff Garzik Wed, 22 Mar 2006 23:30:34 -0500 committer Jeff Garzik Wed, 22 Mar 2006 23:30:34 -0500 [libata sata_sil24] cleanups: use pci_iomap(), kzalloc() * libata will soon move to iomap, so we should use pci_iomap() and pci_iounmap(). * Use kzalloc() where appropriate. commit fa4fa40a990f8f4eff65476bef32007c154bbac0 tree c6e15822d1da2811ed004d3f8a4c72864adb5250 parent b7ad6d75028d021362221d9b2db19fcff995c3f8 parent fe0b06b123762ab620b5bee3dab1576ddddd0a7f author Jeff Garzik Wed, 22 Mar 2006 22:55:57 -0500 committer Jeff Garzik Wed, 22 Mar 2006 22:55:57 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit b88a0b1d5560cf1959c1565617e460a45c688a08 tree 1c0c9badda28c559039b4c4411fb224b899a5b0d parent d56a3e380085bf45cc2adba80c4e6490ba644231 author Kim Phillips Wed, 22 Mar 2006 14:39:03 -0600 committer Paul Mackerras Thu, 23 Mar 2006 14:41:09 +1100 [PATCH] powerpc: Add FSL SEC node to documentation Documentation: Added FSL SOC SEC node definition Updated the documentation to include the definition of the SEC device node format for Freescale SOC devices. Signed-off-by: Kim Phillips Signed-off-by: Paul Mackerras commit d56a3e380085bf45cc2adba80c4e6490ba644231 tree f5eba0a77b9b1f4bf7f28952b653467cf1f523af parent 6ea671a12f66b9d4d0f35fce957a71a6849295f2 author Bjorn Helgaas Tue, 21 Mar 2006 23:20:28 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:41:04 +1100 [PATCH] macintosh: tidy-up driver_register() return values Remove the assumption that driver_register() returns the number of devices bound to the driver. In fact, it returns zero for success or a negative error value. All callers of macio_register_driver() either ignore the return value or return it as the return value of a module_init() function. Signed-off-by: Bjorn Helgaas Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 6ea671a12f66b9d4d0f35fce957a71a6849295f2 tree 771e6b38ad68eae3d113db716fc9f3a2d217c780 parent 57ae595f6bf8bde42de199ff9fe68b873080fde2 author Bjorn Helgaas Tue, 21 Mar 2006 23:20:27 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:54 +1100 [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values Remove the assumption that driver_register() returns the number of devices bound to the driver. In fact, it returns zero for success or a negative error value. Nobody uses the return value of of_register_driver() anyway. Signed-off-by: Bjorn Helgaas Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 57ae595f6bf8bde42de199ff9fe68b873080fde2 tree e7c28cfe559b637baeb18356ca826f5bf8cc4e4d parent 3e52174ec8fd9d8671b69b8e7decb465aaf519c0 author Andrew Morton Tue, 21 Mar 2006 23:20:27 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:43 +1100 [PATCH] powerpc: via-pmu warning fix drivers/macintosh/via-pmu.c:164: warning: `sleep_in_progress' defined but not used Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 3e52174ec8fd9d8671b69b8e7decb465aaf519c0 tree 8b29ead7e1b15b2fa4dd9f003388bb6d10979049 parent 8ac4fc53fef6b4ff942a66be1b503b24d32bcf83 author Jean Delvare Tue, 21 Mar 2006 23:20:26 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:24 +1100 [PATCH] macintosh: cleanup the use of i2c headers Cleanup the use of i2c headers in macintosh drivers. Signed-off-by: Jean Delvare Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8ac4fc53fef6b4ff942a66be1b503b24d32bcf83 tree d02f0edf7607c7f12c2ad4501c7ea2b4ee5d57e8 parent 3bea63136fd9b1398de77f76b7b9e3b28249ecca author Anton Blanchard Tue, 21 Mar 2006 23:00:06 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:16 +1100 [PATCH] powerpc: dont allow old RTC to be selected Now powerpc uses the generic RTC stuff we should not enable the old RTC. Doing so will result in hangs at boot. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 3bea63136fd9b1398de77f76b7b9e3b28249ecca tree 443122ec33bdc8ff0a8b923667ab2a9ac17cdaaa parent 2d0eee14b23f20c501a6c2536edf68f93c56edcd author Olaf Hering Tue, 21 Mar 2006 23:00:05 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:04 +1100 [PATCH] powerpc: make powerbook_sleep_grackle static powerbook_sleep_grackle is only called inside via-pmu, from pmu_ioctl() Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 2d0eee14b23f20c501a6c2536edf68f93c56edcd tree 5585524cee681ac9252582d2aa8f65680f71bc57 parent 1d04981669df1f0586d4578ec4061c5585ec721b author Andrew Morton Tue, 21 Mar 2006 23:00:05 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:39:51 +1100 [PATCH] powerpc: Fix warning in add_memory arch/powerpc/mm/mem.c: In function `add_memory': arch/powerpc/mm/mem.c:128: warning: assignment makes integer from pointer without a cast Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit fe0b06b123762ab620b5bee3dab1576ddddd0a7f tree dc9fc80b8d8f313cfd8f6098cd01673b931db3af parent 1196862b7926d5312c7f8e8eaecba658b6553ba0 author Larry Finger Tue, 07 Feb 2006 15:20:52 -0600 committer John W. Linville Wed, 22 Mar 2006 22:17:02 -0500 [PATCH] Fix softmac scan Softmac scanning fails because the stop flag is not cleared before scanning is started. The attached one-line patch fixes this. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 1196862b7926d5312c7f8e8eaecba658b6553ba0 tree a3a949532c507c934a23e528d58555b486a211c8 parent b6c7658ef8888e82608265d8098d09807997f771 author Johannes Berg Tue, 31 Jan 2006 20:28:58 +0100 committer John W. Linville Wed, 22 Mar 2006 22:17:01 -0500 [PATCH] softmac: remove dead code This patch removes ieee80211softmac_reassoc which is neither implemented nor used nor necessary. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit b6c7658ef8888e82608265d8098d09807997f771 tree 85fa8c98d1184b3f2d8b2483cc9adb8323283e9e parent b10c991fa4cf0f1353228e04671aa793b4b3cf1d author Johannes Berg Tue, 31 Jan 2006 19:49:42 +0100 committer John W. Linville Wed, 22 Mar 2006 22:17:01 -0500 [PATCH] softmac: add reassociation code This patch adds handling of reassociation to softmac when the AP requests it. Patch from Larry Finger. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit b10c991fa4cf0f1353228e04671aa793b4b3cf1d tree 9e2a09fbca25358fefddcf5eeb36e90388dd789d parent f484d582d3e66ad78dcce2465c9ec479bacc1075 author Johannes Berg Tue, 31 Jan 2006 19:48:06 +0100 committer John W. Linville Wed, 22 Mar 2006 22:17:00 -0500 [PATCH] softmac: update deauth handler to quiet warning Recently the deauth packet handler was updated to use a deauth packet struct (identical to the auth packet struct) and this now gives a warning. This patch updates the code to properly use a deauth struct and deauth variable. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit f484d582d3e66ad78dcce2465c9ec479bacc1075 tree 0a3e633beb6176d6b2bc71278f75240ea5c6cac7 parent 7985905106a64d6ca32bd87fd6b52c588f03f5c6 author Johannes Berg Tue, 31 Jan 2006 19:35:14 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:59 -0500 [PATCH] trivial fixes to softmac This patch removes a blank line that shouldn't be there and fixes a spelling error in softmac. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit 7985905106a64d6ca32bd87fd6b52c588f03f5c6 tree 7e85e907ab26b6e78b6427d277fe977dd05139c8 parent 1a995b45a52871af42aa1111da4c74c4b85e09c5 author Johannes Berg Tue, 31 Jan 2006 19:31:41 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:59 -0500 [PATCH] update copyright in softmac This patch updates the copyright statements in softmac that I erroneously added for 2005 only (when we already had 2006). Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit 1a995b45a52871af42aa1111da4c74c4b85e09c5 tree 59d43235b1e5bc76bbf2f108d4e7a9f016db0ea3 parent 4c718cfd7df4ac34ca8a4add555c374de61c42e8 author Denis Vlasenko Tue, 24 Jan 2006 16:57:11 +0200 committer John W. Linville Wed, 22 Mar 2006 22:16:58 -0500 [PATCH] ieee80211_rx_any: filter out packets, call ieee80211_rx or ieee80211_rx_mgt Version 2 of the patch. Added checks for version 0 and proper from/to DS bits. Even in promisc mode we won't receive packets from another BSSes. bcm43xx_rx() contains code to filter out packets from foreign BSSes and decide whether to call ieee80211_rx or ieee80211_rx_mgt. This is not bcm specific. Patch adapts that code and adds it to 80211 as ieee80211_rx_any() function. Signed-off-by: Denis Vlasenko Signed-off-by: John W. Linville commit 4c718cfd7df4ac34ca8a4add555c374de61c42e8 tree 693fdc1af819411c2e92821172d8f7f19a549a2f parent 9ebdd466813c2dde19417a00e22bd46546e27165 author Johannes Berg Thu, 12 Jan 2006 21:19:48 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:58 -0500 [PATCH] softmac: move EXPORT_SYMBOL_GPL right after functions Signed-off-by: John W. Linville commit 9ebdd466813c2dde19417a00e22bd46546e27165 tree 4f5e636d619739cf0883e1309f951bd4a8764378 parent 4855d25b1ef9d74aeb29c2e46f0d6a289922eab6 author Johannes Berg Thu, 12 Jan 2006 21:18:25 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:57 -0500 [PATCH] softmac: add MODULE_DESCRIPTION and MODULE_AUTHORs Signed-off-by: John W. Linville commit 4855d25b1ef9d74aeb29c2e46f0d6a289922eab6 tree 6b4ea7a169f3ce0e10a11ec2a8c46c75f9e04818 parent b2b9b6518eac7b4e9abf649ef4273c02f1a5276b author Johannes Berg Thu, 12 Jan 2006 21:12:59 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:56 -0500 [PATCH] softmac: add copyright and license headers add copyright and license headers to all softmac files Signed-off-by: John W. Linville commit b2b9b6518eac7b4e9abf649ef4273c02f1a5276b tree a19f6b1e674bc159d5523ce12c3ddabe72b745e6 parent bba52d5e9ecd0a1705fbac93b6d50ef6ec475315 author Johannes Berg Wed, 11 Jan 2006 19:32:02 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:56 -0500 [PATCH] softmac: some comment stuff Signed-off-by: John W. Linville commit bba52d5e9ecd0a1705fbac93b6d50ef6ec475315 tree f268372e96878405b9319a2b83ee621bb28ec7fd parent 1dc09776d79e0162553f6434c0b1ccb0cceea0b3 author Johannes Berg Wed, 11 Jan 2006 11:01:22 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:55 -0500 [PATCH] softmac: properly check return value of ieee80211softmac_alloc_mgt Properly check return value of ieee80211softmac_alloc_mgt in ieee80211softmac_disassoc_deauth (patch by Denis Vlasenko) Signed-off-by: John W. Linville commit 1dc09776d79e0162553f6434c0b1ccb0cceea0b3 tree 9328e50b85e01f754dc2c4d0e0f78461a76269ad parent 48b2e4ce690dfbf4097e89e6ce0861ab85fd89c9 author Johannes Berg Wed, 11 Jan 2006 10:46:16 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:55 -0500 [PATCH] softmac: scan at least once before selecting a network by essid Signed-off-by: John W. Linville commit 48b2e4ce690dfbf4097e89e6ce0861ab85fd89c9 tree 3949c3468eb260c1830685ca40714877d9ca6a2b parent 78e4f36e053b4d2c4623fdc1f6ac63f33d5b7c81 author Johannes Berg Tue, 10 Jan 2006 19:12:19 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:54 -0500 [PATCH] softmac: check if disassociation is for us before processing it Signed-off-by: John W. Linville commit 78e4f36e053b4d2c4623fdc1f6ac63f33d5b7c81 tree 2408dc01abd1cdf646bcf94bb13501d1ecf10dcf parent 51da28a847027fdf80e55a2a0d7bd0f7a8617d3d author Johannes Berg Tue, 10 Jan 2006 18:56:32 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:54 -0500 [PATCH] softmac: select "best" network based on rssi Signed-off-by: John W. Linville commit 51da28a847027fdf80e55a2a0d7bd0f7a8617d3d tree 4516da186cd4d1e3491a89fbef1bb50ff7dd6a22 parent d1469cf2c79f1682364d5c37d752cd3a3018cbaa author Johannes Berg Tue, 10 Jan 2006 16:50:22 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:53 -0500 [PATCH] softmac: add fixme for disassoc Signed-off-by: John W. Linville commit d1469cf2c79f1682364d5c37d752cd3a3018cbaa tree 683daaf696271d4b355dd7880b29306e3f452049 parent 2dd50801b3ac95988bd5789e4ec576f3480ecc59 author Johannes Berg Tue, 10 Jan 2006 15:47:06 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:53 -0500 [PATCH] softmac: try to reassociate when being disassociated from the AP Signed-off-by: John W. Linville commit 2dd50801b3ac95988bd5789e4ec576f3480ecc59 tree 462bcac55a35cc701f7e56000df433bdaba270ee parent 5c4df6da580b9317dc0856e235232b95cbc8251c author Johannes Berg Fri, 06 Jan 2006 18:11:23 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:52 -0500 [PATCH] softmac: correctly use netif_carrier_{on,off} TODO: add callbacks for ifup/ifdown (see mailing list) Signed-off-by: John W. Linville commit 5c4df6da580b9317dc0856e235232b95cbc8251c tree df82db654b024cd7204f182cbc40101681e012c0 parent 45867e6a55aee984d69ce8f93a87e26d32d470dc author Johannes Berg Fri, 06 Jan 2006 01:43:45 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:52 -0500 [PATCH] softmac: convert to use global workqueue Convert softmac to use global workqueue instead of private one... Signed-off-by: John W. Linville commit 45867e6a55aee984d69ce8f93a87e26d32d470dc tree 08f8f5aa61adb6a0222eaec4e927db5120e1b3fd parent 714e1a511627b7d95ff1666c66272613a96d2873 author Johannes Berg Thu, 05 Jan 2006 18:45:00 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:51 -0500 [PATCH] softmac: fix Makefiles Signed-off-by: John W. Linville commit 714e1a511627b7d95ff1666c66272613a96d2873 tree 2facb019a7b364f820402bf43346f674a1dcf2a0 parent 32821837fa0b3a37b1f3e020769eb2a186cfff6e author Johannes Berg Wed, 04 Jan 2006 21:06:28 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:51 -0500 [PATCH] softmac: fix some sparse warnings Signed-off-by: John W. Linville commit 32821837fa0b3a37b1f3e020769eb2a186cfff6e tree f4c18766766cbdd4715ce78a081dfab2cb571613 parent 370121e5190a86a2d8a717ecd6f33028c7dc6fd4 author Johannes Berg Wed, 04 Jan 2006 16:51:31 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:50 -0500 [PATCH] make softmac depend on IEEE80211 and EXPERIMENTAL Signed-off-by: John W. Linville commit 370121e5190a86a2d8a717ecd6f33028c7dc6fd4 tree 2bd809d8dea7a831f9c47d06572e98194bfc0ccc parent 1c2e02750b992703a8a18634e08b04353face243 author Johannes Berg Wed, 04 Jan 2006 16:32:16 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:50 -0500 [PATCH] wireless: Add softmac layer to the kernel Signed-off-by: John W. Linville commit b7ad6d75028d021362221d9b2db19fcff995c3f8 tree 30d2a515571d7a43d5df7cb91d118a1d46b6142a parent 0caab23e11c015559af81a4c0f4759ca05a5446a parent 6a6bbd29a0284c1b9d33c324ba85f3ebb5509589 author Linus Torvalds Wed, 22 Mar 2006 17:51:31 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:51:31 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: [PATCH] Use of uninitialized variable in drivers/net/depca.c [PATCH] Use after free in net/tulip/de2104x.c [PATCH] sis900 adm7001 PHY support [PATCH] sky2: more ethtool stats [PATCH] s390: qeth :allow setting of attribute "route6" to "no_router". [PATCH] s390: qeth driver cleanups [PATCH] s390: qeth driver statistics fixes [PATCH] AMD Au1xx0: fix Ethernet TX stats [PATCH] fix spidernet build issue commit 0caab23e11c015559af81a4c0f4759ca05a5446a tree 590fb83c4427c129fa2ceb3d592d3800fa51e172 parent 80576fd86b350a90c5be329de1e382d31121a8d0 author Linus Torvalds Wed, 22 Mar 2006 17:39:38 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:39:38 -0800 scsi: link in the debug driver last If the debug driver is built-in, link it in last, so that any real drivers will probe first, rather than having the debug driver pick the first scsi slots.. Signed-off-by: Douglas Gilbert Signed-off-by: Randy Dunlap Acked-by: James Bottomley Signed-off-by: Linus Torvalds commit 80576fd86b350a90c5be329de1e382d31121a8d0 tree 077b2ae2c7db8d3e370c0c491253caa4926f24c1 parent 9d8f057acbd38d8177cf2ffd5e151d52c2477372 parent 1a55d57b107c3e06935763905dc0fb235214569d author Linus Torvalds Wed, 22 Mar 2006 17:36:04 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:36:04 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [TCP]: Do not use inet->id of global tcp_socket when sending RST. [NETFILTER]: Fix undefined references to get_h225_addr [NETFILTER]: futher {ip,ip6,arp}_tables unification [NETFILTER]: Fix xt_policy address matching [NETFILTER]: nf_conntrack: support for layer 3 protocol load on demand [NETFILTER]: x_tables: set the protocol family in x_tables targets/matches [NETFILTER]: conntrack: cleanup the conntrack ID initialization [NETFILTER]: nfnetlink_queue: fix nfnetlink message size [NETFILTER]: ctnetlink: Fix expectaction mask dumping [NETFILTER]: Fix Kconfig typos [NETFILTER]: Fix ip6tables breakage from {get,set}sockopt compat layer commit 9d8f057acbd38d8177cf2ffd5e151d52c2477372 tree 1c3387b045a8a487ff99bf3abed1cdf41670f6e6 parent 591eb85ecd7e6eb8596c6129ae074e16636b99f4 parent 91bca4b3e2f1aaaf67e62a36914f33ca1e7d5a06 author Linus Torvalds Wed, 22 Mar 2006 17:33:12 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:33:12 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial * master.kernel.org:/home/rmk/linux-2.6-serial: [SERIAL] Merge avlab serial board entries in parport_serial [SERIAL] kernel console should send CRLF not LFCR commit 591eb85ecd7e6eb8596c6129ae074e16636b99f4 tree 535fb7e9bc29113ff62fd70b0dcd8ad197ab51e2 parent 4658f79bec0b51222e769e328c2923f39f3bda77 parent 3a2916aa289504d694072a98876d23ca31d6401e author Linus Torvalds Wed, 22 Mar 2006 17:32:09 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:32:09 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: (45 commits) [ARM] 3389/1: typo and grammar fix [ARM] 3386/1: AT91RM9200 Clock update [ARM] 3384/1: AT91RM9200: Timer [ARM] 3382/1: ixp2000: unify defconfigs [ARM] 3381/1: ixp2000: fix slowport write timing control register fields [ARM] 3380/1: ixp2000: simplify ixdp2x00_master_npu() check [ARM] 3379/1: ixp2000: use generic 8250 debug macros [ARM] 3378/1: ixp2000: fix gpio interrupt handling [ARM] Quieten spurious IRQ detection [ARM] Use kcalloc to allocate counter_config array rather than kmalloc [ARM] Oprofile: dynamically allocate counter_config [ARM] Oprofile: Convert semaphore to mutex [ARM] 3376/2: S3C2410 - update defconfig [ARM] 3375/1: S3C2440 - fix osiris machine build [ARM] 3374/1: ep93xx: gpio interrupt support [ARM] 3361/1: S3C24XX - add USB bus clock source [ARM] 3360/1: S3C2440 - add set rate methods and camera clock [ARM] 3359/1: S3C24XX - add support for clk_set_rate [ARM] Convert kmalloc+memset to kzalloc [ARM] 3373/1: move uengine loader to arch/arm/common ... commit 6a6bbd29a0284c1b9d33c324ba85f3ebb5509589 tree d331ca12cc67571ac9e1b2a5c26e284bd874a276 parent 5185c7c20a4b88892f868ad8d92d1b640b1edba9 author Eric Sesterhenn Wed, 22 Mar 2006 22:49:48 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:30:45 -0500 [PATCH] Use of uninitialized variable in drivers/net/depca.c hi, this fixes coverity bug #888, where the variable dev is used uninitialized. I assume the programmer meant to use mdev, which is initialized. Compile tested only. Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 5185c7c20a4b88892f868ad8d92d1b640b1edba9 tree 53674f28e6dd666a59f5495f73149736ec260505 parent 494aced2cda34c186083f7d53c419426eea3d584 author Eric Sesterhenn Wed, 22 Mar 2006 22:30:34 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:30:45 -0500 [PATCH] Use after free in net/tulip/de2104x.c hi, this fixes coverity bug #912, where skb is freed first, and dereferenced a few lines later with skb->len. Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 494aced2cda34c186083f7d53c419426eea3d584 tree 5eafa0da01a37c0d943b13c8f1e3eb5c433f62a1 parent eadfa7ddca98b0430b8b666e0344ab1d559389c8 author Artur Skawina Tue, 21 Mar 2006 22:04:36 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:30:45 -0500 [PATCH] sis900 adm7001 PHY support this patch is required to get a SIS964 based motherboard ethernet working (FSC D1875) (picking the #1 transceiver, instead of the last one, in case no known ones were found might be a better default, and would have worked in this case too) Signed-off-by: Artur Skawina Signed-off-by: Jeff Garzik commit eadfa7ddca98b0430b8b666e0344ab1d559389c8 tree c3949c277f2a0e99a6b6cceff6deab16b75a7dba parent def720e6166f49027c45286088d1e22743666ca3 author Stephen Hemminger Wed, 22 Mar 2006 10:38:45 -0800 committer Jeff Garzik Wed, 22 Mar 2006 20:30:45 -0500 [PATCH] sky2: more ethtool stats Expose all the available hardware statistics via ethtool. And cleanup some of the statistics definitions. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit def720e6166f49027c45286088d1e22743666ca3 tree 564752907159a211b60890c4d8b2abaf9322acf1 parent 1380fee2b553fbde1a094476685f43ec5625aec2 author Frank Pavlic Wed, 22 Mar 2006 16:03:44 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:29:30 -0500 [PATCH] s390: qeth :allow setting of attribute "route6" to "no_router". [patch 4/6] s390: qeth :allow setting of attribute "route6" to "no_router". From: Ursula Braun when setting route6 attribute back to no_router qeth does not issue an IP ASSIST command to reset router value to no_router. Once primary_router is set device stays in this mode. Issue an IP ASSIST command when no_router is set in route6. Device will be reset and thus will not longer run as a primary router. Signed-off-by: Frank Pavlic diffstat: qeth_main.c | 5 ----- 1 files changed, 5 deletions(-) Signed-off-by: Jeff Garzik commit 1380fee2b553fbde1a094476685f43ec5625aec2 tree be0fb1266ce2706b624a157ed64de97a9c25ff67 parent 95f6b5a1e38e26dc313e283e1e6058d3ffff517d author Frank Pavlic Wed, 22 Mar 2006 16:03:41 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:29:30 -0500 [PATCH] s390: qeth driver cleanups [patch 3/6] s390: qeth driver cleanups From: Ursula Braun - code analyzing tool BEAM has found some unreachable and unnecessary statements and also conditions which are always true. - removed some useless MII code since OSA card will never allow to set such values. Signed-off-by: Frank Pavlic diffstat: qeth_main.c | 49 ++++--------------------------------------------- qeth_proc.c | 18 +++++++++--------- qeth_sys.c | 2 +- 3 files changed, 14 insertions(+), 55 deletions(-) Signed-off-by: Jeff Garzik commit 95f6b5a1e38e26dc313e283e1e6058d3ffff517d tree b9e54021bf4785e5406e430128c072a7829bd831 parent c2d3d4b938d1a8df4fd4db73427009dfb9e8b225 author Frank Pavlic Wed, 22 Mar 2006 16:03:39 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:29:30 -0500 [PATCH] s390: qeth driver statistics fixes [patch 2/6] s390: qeth driver statistics fixes From: Ursula Braun - display "unsigned int" values in /proc/qeth_perf with %u instead of %i - omit qdio header length when increasing card->stats.tx_bytes Signed-off-by: Frank Pavlic diffstat: qeth_main.c | 3 ++- qeth_proc.c | 38 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 20 deletions(-) Signed-off-by: Jeff Garzik commit c2d3d4b938d1a8df4fd4db73427009dfb9e8b225 tree f157ea9132098a4223895d8a0774a51255e93b83 parent d97381702d3a2f917cfe935fbca1e850a37b984b author Sergei Shtylylov Tue, 21 Mar 2006 22:53:52 -0800 committer Jeff Garzik Wed, 22 Mar 2006 20:29:29 -0500 [PATCH] AMD Au1xx0: fix Ethernet TX stats With Au1xx0 Ethernet driver, TX bytes/packets always remain zero. The problem seems to be that when packet has been transmitted, the length word in DMA buffer is zero. The patch updates the TX stats when a buffer is fed to DMA. The initial 2.4 patch was posted to linux-mips@linux-mips.org by Thomas Lange 21 Jan 2005. Signed-off-by: Thomas Lange Signed-off-by: Sergei Shtylyov Cc: Jordan Crouse Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit d97381702d3a2f917cfe935fbca1e850a37b984b tree b39ada44ec2743bb318d1fc68624392887e2cfc0 parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Jens Osterkamp Tue, 21 Mar 2006 22:53:47 -0800 committer Jeff Garzik Wed, 22 Mar 2006 20:28:04 -0500 [PATCH] fix spidernet build issue Signed-off-by: Jens Osterkamp Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 4658f79bec0b51222e769e328c2923f39f3bda77 tree 3b09b794cde1164adc606861ddd3df6ddeb94ce2 parent f0c8bbfa154f4481623a4478b0ae94a6ceeaa026 author Tejun Heo Wed, 22 Mar 2006 21:07:03 +0900 committer Jeff Garzik Wed, 22 Mar 2006 19:56:53 -0500 [PATCH] ahci: add softreset Now that libata is smart enought to handle both soft and hard resets, add softreset method. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f0c8bbfa154f4481623a4478b0ae94a6ceeaa026 tree b39c25092a6a13c2c7c60234b50503f23571ef11 parent 67951aded31a1a736c1f0f6e8317677ea6c21ee1 author Tejun Heo Wed, 22 Mar 2006 20:48:18 +0900 committer Jeff Garzik Wed, 22 Mar 2006 19:56:53 -0500 [PATCH] libata: do not ignore PIO-only devices As libata now can do PIO, don't ignore PIO-only devices. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 67951aded31a1a736c1f0f6e8317677ea6c21ee1 tree a2472bd37d14326ea79f1ca4310620f4fd0c2560 parent f4b15fefb38fb4942d85247854660bc8e02641a7 author Alan Cox Wed, 22 Mar 2006 15:55:54 +0000 committer Jeff Garzik Wed, 22 Mar 2006 19:55:41 -0500 [PATCH] libata: Symbol exports Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit f4b15fefb38fb4942d85247854660bc8e02641a7 tree 800703e620361be4835068056451c2ae913c3114 parent 09c7ad79dc62c499bb03d1ee92f838db2fc776c5 author Alan Cox Wed, 22 Mar 2006 15:54:04 +0000 committer Jeff Garzik Wed, 22 Mar 2006 19:55:41 -0500 [PATCH] Update libata DMA blacklist to cover versions, and resync with IDE layer Not much to say here except that some drives have fixed and bad firmware Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 09c7ad79dc62c499bb03d1ee92f838db2fc776c5 tree 70a17d139824c671f898c2cda7babeb1c7860636 parent 7c74ffd072fbe44b6039223982f2dc76840ac4f5 author Alan Cox Wed, 22 Mar 2006 15:52:40 +0000 committer Jeff Garzik Wed, 22 Mar 2006 19:55:40 -0500 [PATCH] libata: Fix a drive detection problem The current code follows the spec but uses an overlong delay. This would be great if the hardware did. Several vendors however forget the D7 pulldown. Fortunately 0xFF isnt a sane reset state so we can use it to skip detection as is done in drivers/ide. (ie this is a tested solution over a long time) Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 7c74ffd072fbe44b6039223982f2dc76840ac4f5 tree d769cfcabc52873b45041170c0320b5b04ac58b3 parent f01c18456993bab43067b678f56c87ca954aa43b author Alan Cox Wed, 22 Mar 2006 15:47:34 +0000 committer Jeff Garzik Wed, 22 Mar 2006 19:55:40 -0500 [PATCH] libata: note missing posting in mmio cmd write Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 39e18de810049e836390830174a248ad241b156a tree 43fa9f4d3e3b842e9556f4ce3d93386edef93902 parent 03906ea0345d3ae6e906495f86846afa4b8b69b6 author Chen, Kenneth W Sun, 12 Mar 2006 09:20:27 -0800 committer Tony Luck Wed, 22 Mar 2006 16:55:05 -0800 [IA64] move patchlist and machvec into init section ia64_mv is initialized based on platform detected or specified. However, there is one instantiation of each platform type. We don't expect to switch platform vector during run time. Move those platform specific type into init section since a copy is made into global ia64_mv at initialization. Also move instruction patch list into init section as well. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 03906ea0345d3ae6e906495f86846afa4b8b69b6 tree d2e2adce5d2ec1e995e5ff3bc9df7d2822322c05 parent 914a4ea44169c8420d2767862755f34f76772819 author Chen, Kenneth W Sun, 12 Mar 2006 09:10:59 -0800 committer Tony Luck Wed, 22 Mar 2006 16:54:51 -0800 [IA64] add init declaration - nolwsys Add __initdata to nolwsys. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 914a4ea44169c8420d2767862755f34f76772819 tree 14777c470a640fd0713ea04d8b0da36803003b12 parent dae2806615c91cd7afa7c4dee65518435e45854a author Chen, Kenneth W Sun, 12 Mar 2006 09:08:26 -0800 committer Tony Luck Wed, 22 Mar 2006 16:54:38 -0800 [IA64] add init declaration - gate page functions Add init declaration to bunch of patch functions and gate page setup function. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit dae2806615c91cd7afa7c4dee65518435e45854a tree 6eaf93c19891fba34181d9317ad06c6e91595e9b parent 244fd54540806a5e3391d117794105a35815cbb2 author Chen, Kenneth W Wed, 22 Mar 2006 16:54:15 -0800 committer Tony Luck Wed, 22 Mar 2006 16:54:15 -0800 [IA64] add init declaration to memory initialization functions Add init declaration to variables/functions used for memory initialization. I don't think they would clash with memory hotplug. If they do, please yell. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit f01c18456993bab43067b678f56c87ca954aa43b tree 3e0cd0cdf1a57618202b46a7126125902e3ab832 parent 949ec2c8e6b7b89179b85baf6309c009e1a1b951 parent 1c2e02750b992703a8a18634e08b04353face243 author Jeff Garzik Wed, 22 Mar 2006 19:13:54 -0500 committer Jeff Garzik Wed, 22 Mar 2006 19:13:54 -0500 Merge branch 'master' commit 244fd54540806a5e3391d117794105a35815cbb2 tree e427295b636fdd40325c184898f1cb23eed0c102 parent 0881fc8df2e2bf1a7900a0ab3860109beb46fbab author Chen, Kenneth W Sun, 12 Mar 2006 09:00:13 -0800 committer Tony Luck Wed, 22 Mar 2006 16:04:37 -0800 [IA64] add init declaration to cpu initialization functions Add init declaration to cpu initialization functions. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 0881fc8df2e2bf1a7900a0ab3860109beb46fbab tree 0a7491ba7b94289a39b533a0ecd0d903b77595ac parent d903cea3811994d4c4122a0e3ca6d3a197e812e2 author Chen, Kenneth W Sun, 12 Mar 2006 08:52:20 -0800 committer Tony Luck Wed, 22 Mar 2006 16:00:21 -0800 [IA64] add __init declaration to mca functions Mark init related variable and functions with appropriate __init* declaration to mca functions. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit d903cea3811994d4c4122a0e3ca6d3a197e812e2 tree fb3b8ed236d158246ae163afd33109c58673c4ae parent 9a4e5549b7cb5d0ef187184641d8defe8be875f5 author Kenji Kaneshige Wed, 15 Mar 2006 14:45:11 +0900 committer Tony Luck Wed, 22 Mar 2006 15:58:46 -0800 [IA64] Ignore disabled Local SAPIC Affinity Structure in SRAT According to the ACPI spec, the OSPM must ignore the contents of the Processor Local APIC/SAPIC Affinity Structure in System Resource Affinity Table (SRAT), if its enable flag is cleared. However, ia64 linux refers all of the Processor Local APIC/SAPIC Affinity Structures in SRAT regardless of the enable flag. This is obviously against the ACPI spec. This patch fixes this bug. Signed-off-by: Kenji Kaneshige Signed-off-by: Tony Luck commit 9a4e5549b7cb5d0ef187184641d8defe8be875f5 tree b9ccd2893c9af479aaacdfe637eb0ffaae15f99b parent 2332c9ae7911618575241e0c843cd686968db8e3 author Bjorn Helgaas Tue, 21 Mar 2006 10:44:07 -0700 committer Tony Luck Wed, 22 Mar 2006 14:36:55 -0800 [IA64] sn_check_intr: use ia64_get_irr() Use the recently-added ia64_get_irr() rather than duplicating the code. Signed-off-by: Bjorn Helgaas Acked-by: Jes Sorensen Signed-off-by: Tony Luck commit 2332c9ae7911618575241e0c843cd686968db8e3 tree 24363aeb963d00cb3aab67f9586eae78ac54dfd8 parent 1c2e02750b992703a8a18634e08b04353face243 author Chen, Kenneth W Wed, 22 Mar 2006 10:49:00 -0800 committer Tony Luck Wed, 22 Mar 2006 14:35:08 -0800 [IA64] fix ia64 is_hugepage_only_range fix is_hugepage_only_range() definition to be "overlaps" instead of "within architectural restricted hugetlb address range". Simplify the ia64 specific code that used to use is_hugepage_only_range() to just check which region the address is in. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 1a55d57b107c3e06935763905dc0fb235214569d tree 5d894dbda60fa2e998dda4912e6e0a50f769709d parent 6a534ee35cfd02f60e99d301b9ac446ea11a9cfd author Alexey Kuznetsov Wed, 22 Mar 2006 14:27:59 -0800 committer David S. Miller Wed, 22 Mar 2006 14:27:59 -0800 [TCP]: Do not use inet->id of global tcp_socket when sending RST. The problem is in ip_push_pending_frames(), which uses: if (!df) { __ip_select_ident(iph, &rt->u.dst, 0); } else { iph->id = htons(inet->id++); } instead of ip_select_ident(). Right now I think the code is a nonsense. Most likely, I copied it from old ip_build_xmit(), where it was really special, we had to decide whether to generate unique ID when generating the first (well, the last) fragment. In ip_push_pending_frames() it does not make sense, it should use plain ip_select_ident() instead. Signed-off-by: Alexey Kuznetsov Signed-off-by: David S. Miller commit 6a534ee35cfd02f60e99d301b9ac446ea11a9cfd tree c6bbb8b91bdadd5fb4a9e93df47a36213674b3a1 parent 1e30a014e311e627b91489ff5ec1b54496d308af author Patrick McHardy Wed, 22 Mar 2006 13:57:25 -0800 committer David S. Miller Wed, 22 Mar 2006 13:57:25 -0800 [NETFILTER]: Fix undefined references to get_h225_addr get_h225_addr is exported, but declared static, which fails when linking statically. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1e30a014e311e627b91489ff5ec1b54496d308af tree 9f61f077f0403ff3aad393d929b07b6af7bdf7f8 parent 81fbfd6925c064b764cb0536aed9232c7b48f6df author Dmitry Mishin Wed, 22 Mar 2006 13:56:56 -0800 committer David S. Miller Wed, 22 Mar 2006 13:56:56 -0800 [NETFILTER]: futher {ip,ip6,arp}_tables unification This patch moves {ip,ip6,arp}t_entry_{match,target} definitions to x_tables.h. This move simplifies code and future compatibility fixes. Signed-off-by: Dmitry Mishin Acked-off-by: Kirill Korotaev Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 81fbfd6925c064b764cb0536aed9232c7b48f6df tree 213acf4e98cde24c1899ea9b384970f3e999a9c9 parent b9f78f9fca626875af8adc0f7366a38b8e625a0e author Patrick McHardy Wed, 22 Mar 2006 13:56:33 -0800 committer David S. Miller Wed, 22 Mar 2006 13:56:33 -0800 [NETFILTER]: Fix xt_policy address matching Fix missing inversion in address matching, it was broken during the conversion to x_tables. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b9f78f9fca626875af8adc0f7366a38b8e625a0e tree 1087c6f6a6cc39e4e55c2a02f93d93da67a68ed3 parent a45049c51ce6a3fecf2a909b591b28164c927112 author Pablo Neira Ayuso Wed, 22 Mar 2006 13:56:08 -0800 committer David S. Miller Wed, 22 Mar 2006 13:56:08 -0800 [NETFILTER]: nf_conntrack: support for layer 3 protocol load on demand x_tables matches and targets that require nf_conntrack_ipv[4|6] to work don't have enough information to load on demand these modules. This patch introduces the following changes to solve this issue: o nf_ct_l3proto_try_module_get: try to load the layer 3 connection tracker module and increases the refcount. o nf_ct_l3proto_module put: drop the refcount of the module. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a45049c51ce6a3fecf2a909b591b28164c927112 tree 582c35205f9c1c12825447a009518eb2116beacd parent 4e3882f77376e036a52b022909d7e910714bd27b author Pablo Neira Ayuso Wed, 22 Mar 2006 13:55:40 -0800 committer David S. Miller Wed, 22 Mar 2006 13:55:40 -0800 [NETFILTER]: x_tables: set the protocol family in x_tables targets/matches Set the family field in xt_[matches|targets] registered. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4e3882f77376e036a52b022909d7e910714bd27b tree ede6f69b055586450d50e9ec1ba99d35937f2233 parent f0d835835ba30686dc085e98c8eeac0b9c26e3b2 author Pablo Neira Ayuso Wed, 22 Mar 2006 13:55:11 -0800 committer David S. Miller Wed, 22 Mar 2006 13:55:11 -0800 [NETFILTER]: conntrack: cleanup the conntrack ID initialization Currently the first conntrack ID assigned is 2, use 1 instead. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f0d835835ba30686dc085e98c8eeac0b9c26e3b2 tree 85149be8e4154bda3fc9c979693fb5bf997d82f3 parent 1cde64365b0c4f576f8f45b834e6a6de081b5914 author Pablo Neira Ayuso Wed, 22 Mar 2006 13:54:40 -0800 committer David S. Miller Wed, 22 Mar 2006 13:54:40 -0800 [NETFILTER]: nfnetlink_queue: fix nfnetlink message size Fix oversized message, use NLMSG_SPACE just one since it reserves space for the netlink header and NFA_SPACE for every attribute. Thanks to Harald Welte for the feedback Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1cde64365b0c4f576f8f45b834e6a6de081b5914 tree 86f35fc9f292365c87b7ff90e0933e9d38db2863 parent 50b521aa54f415a626bfd63d1a9b72120e9fbe88 author Pablo Neira Ayuso Wed, 22 Mar 2006 13:54:15 -0800 committer David S. Miller Wed, 22 Mar 2006 13:54:15 -0800 [NETFILTER]: ctnetlink: Fix expectaction mask dumping The expectation mask has some particularities that requires a different handling. The protocol number fields can be set to non-valid protocols, ie. l3num is set to 0xFFFF. Since that protocol does not exist, the mask tuple will not be dumped. Moreover, this results in a kernel panic when nf_conntrack accesses the array of protocol handlers, that is PF_MAX (0x1F) long. This patch introduces the function ctnetlink_exp_dump_mask, that correctly dumps the expectation mask. Such function uses the l3num value from the expectation tuple that is a valid layer 3 protocol number. The value of the l3num mask isn't dumped since it is meaningless from the userspace side. Thanks to Yasuyuki Kozakai and Patrick McHardy for the feedback. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 50b521aa54f415a626bfd63d1a9b72120e9fbe88 tree ce22c67b14bcdf4004caffbaa76b66d9bb0224df parent 443da0d52766ef8ed50b59673ac7ea6aa6e9218c author Thomas Vögtle Wed, 22 Mar 2006 13:53:48 -0800 committer David S. Miller Wed, 22 Mar 2006 13:53:48 -0800 [NETFILTER]: Fix Kconfig typos Signed-off-by: Thomas Vögtle Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 443da0d52766ef8ed50b59673ac7ea6aa6e9218c tree 27cb008a21de0e70b848cc88a8050ce00cb6923d parent 1c2e02750b992703a8a18634e08b04353face243 author Patrick McHardy Wed, 22 Mar 2006 13:53:20 -0800 committer David S. Miller Wed, 22 Mar 2006 13:53:20 -0800 [NETFILTER]: Fix ip6tables breakage from {get,set}sockopt compat layer do_ipv6_getsockopt returns -EINVAL for unknown options, not -ENOPROTOOPT as do_ipv6_setsockopt. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3a2916aa289504d694072a98876d23ca31d6401e tree cd22ef3df480d85920b3233286b4f125d5a73b8d parent 69b648a200b27a7c8ea92993bf5b4d40e83b5403 author Erik Hovland Wed, 22 Mar 2006 21:02:11 +0000 committer Russell King Wed, 22 Mar 2006 21:02:11 +0000 [ARM] 3389/1: typo and grammar fix Patch from Erik Hovland I found a typo and what seems to be a run-on sentence in arch/arm/common/dmabounce.c This patch corrects both. Signed-off-by: Erik Hovland Signed-off-by: Russell King commit 69b648a200b27a7c8ea92993bf5b4d40e83b5403 tree 0ddc77b61b5f822424fe6dfa66a16785986d87b9 parent 39806805de0314d5847bfd6d046ad7d4407ccd46 author Andrew Victor Wed, 22 Mar 2006 20:14:14 +0000 committer Russell King Wed, 22 Mar 2006 20:14:14 +0000 [ARM] 3386/1: AT91RM9200 Clock update Patch from Andrew Victor This patch includes a few changes to the clock support on the AT91RM9200. 1. Added definitions for Ethernet, MMC, TWI, USARTs, and SPI peripheral clocks. 2. Replaced some hard-coded hex values with the text definitions in at91rm9200_sys.h. 3. If the USB96M bit is set for PLLB, then the rate of PLLB is not affected but only the USB Host/Device clocks which are derived from it. Issue reported by Sergei Sharonov. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 39806805de0314d5847bfd6d046ad7d4407ccd46 tree 6a05969531953e3831650cde71a9143571472456 parent 112d02e8d556ea0512afcfc3b0110c87ec9eb5f9 author Andrew Victor Wed, 22 Mar 2006 20:14:13 +0000 committer Russell King Wed, 22 Mar 2006 20:14:13 +0000 [ARM] 3384/1: AT91RM9200: Timer Patch from Andrew Victor If the timer interrupt is ever significantly delayed (or after the system was suspended), the system could spin incrementing the time for too long. The fix is to replace the "do {} while" with a "while {}". Orignal patch by Savin Zlobec and Peter Menzebach. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 112d02e8d556ea0512afcfc3b0110c87ec9eb5f9 tree c83465c47ba162fdb8126b323c690c662a29a6c8 parent a04f2d9d3a08002a7712f18fcec43e2c4151d953 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:12 +0000 committer Russell King Wed, 22 Mar 2006 20:14:12 +0000 [ARM] 3382/1: ixp2000: unify defconfigs Patch from Lennert Buytenhek Unify the five existing ixp2000 defconfigs into one defconfig. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit a04f2d9d3a08002a7712f18fcec43e2c4151d953 tree d65e921b8f64b4ea7b61bc61db931892a680243d parent 709eb502ebcfcca8a3a36bab3bca3bd78caa53b1 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:11 +0000 committer Russell King Wed, 22 Mar 2006 20:14:11 +0000 [ARM] 3381/1: ixp2000: fix slowport write timing control register fields Patch from Lennert Buytenhek The original version of the chip docs had the PW and SU fields in the slowport write timing control register accidentally reversed. This is mentioned in the errata (documentation change #4) and fixed in newer docs. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 709eb502ebcfcca8a3a36bab3bca3bd78caa53b1 tree b907252f28ea024f5b41da265a7c6d1417197780 parent e99053e07514e514611167ad648c65c87982c4d9 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:11 +0000 committer Russell King Wed, 22 Mar 2006 20:14:11 +0000 [ARM] 3380/1: ixp2000: simplify ixdp2x00_master_npu() check Patch from Lennert Buytenhek On the IXDP2x00s, the NPU that is PCI master is always the egress (i.e. 'master') NPU. At least on the IXDP2800, both NPUs have flash, so the ixp2000_has_flash() check in ixdp2x00_master_npu() is useless. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit e99053e07514e514611167ad648c65c87982c4d9 tree 42a53730832060d917b921f3c7810e54d245d78b parent bd115ea007e671e96b8b53c2e0e885103d39fd40 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:09 +0000 committer Russell King Wed, 22 Mar 2006 20:14:09 +0000 [ARM] 3379/1: ixp2000: use generic 8250 debug macros Patch from Lennert Buytenhek The xscale UART in the ixp2000 is basically just an 8250 UART (with some extra bits and pieces), so we can use the generic 8250 debug macros on the ixp2000. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit bd115ea007e671e96b8b53c2e0e885103d39fd40 tree e33f6a612f0a4dcb447d2bd3ce4678f928d94838 parent bec1b8193651ea4394cc4d6e18152cb83e735f93 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:09 +0000 committer Russell King Wed, 22 Mar 2006 20:14:09 +0000 [ARM] 3378/1: ixp2000: fix gpio interrupt handling Patch from Lennert Buytenhek ixp2000 used to initially mark GPIO interrupts as invalid, and not mark them valid until set_irq_type() was called, but this doesn't work if you want to use request_irq() with the SA_TRIGGER_* flags. So, just mark the GPIO interrupts valid from the beginning. We configure GPIOs as inputs when set_irq_type() is called anyway, so this shouldn't be a problem. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 1c2e02750b992703a8a18634e08b04353face243 tree 5dc2d10bad329eeb73b9e219e237662a8383f971 parent 8b4b6707ee32f929846d947d18b1b9bf42e988aa parent a3c44854a59f7e983c867060aa906bbf5befb1ef author Linus Torvalds Wed, 22 Mar 2006 10:59:20 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:59:20 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa * git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa: (124 commits) [ALSA] version 1.0.11rc4 [PATCH] Intruduce DMA_28BIT_MASK [ALSA] hda-codec - Add support for ASUS P4GPL-X [ALSA] hda-codec - Add support for HP nx9420 laptop [ALSA] Fix memory leaks in error path of control.c [ALSA] AMD Au1x00: AC'97 controller is memory mapped [ALSA] AMD Au1x00: fix DMA init/cleanup [ALSA] hda-codec - Fix generic auto-configurator [ALSA] hda-codec - Fix BIOS auto-configuration [ALSA] Fixes typos in Audiophile-USB.txt [ALSA] ice1712 - typo fixes for dxr_enable module option [ALSA] AMD Au1x00: make driver build after cleanup [ALSA] ice1712 - Fix wrong value types for enum items [ALSA] fix resource leak in usbmixer [ALSA] Fix gus_pcm dereference before NULL [ALSA] Fix seq_clientmgr dereferences before NULL check [ALSA] hda-codec - Fix for Samsung R65 and ASUS A6J [ALSA] hda-codec - Add support for VAIO FE550G and SZ110 [ALSA] usb-audio: add Maya44 mixer control names [ALSA] usb-audio: add Casio PL-40R support ... commit 8b4b6707ee32f929846d947d18b1b9bf42e988aa tree aa27dd01e2d74cb68efc4ab57eb4d1f4e563ae33 parent d04ef3a795b3b7b376a02713ed5e211e9ae1f917 parent 116f232b3794a8b6ebde21aef5004b18cc1cfa86 author Linus Torvalds Wed, 22 Mar 2006 10:58:05 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:58:05 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: fixed path to moved file in include/linux/device.h Fix spelling in E1000_DISABLE_PACKET_SPLIT Kconfig description Documentation/dvb/get_dvb_firmware: fix firmware URL Documentation: Update to BUG-HUNTING Remove superfluous NOTIFY_COOKIE_LEN define add "tags" to .gitignore Fix "frist", "fisrt", typos fix rwlock usage example It's UTF-8 commit d04ef3a795b3b7b376a02713ed5e211e9ae1f917 tree 837da034751a2fc1be0fc5a105c218d41a498eb6 parent 36177ba655c238e33400cc2837a28720b62784bd parent dcc1e8dd88d4bc55e32a26dad7633d20ffe606d2 author Linus Torvalds Wed, 22 Mar 2006 10:56:57 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:56:57 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: Add a secondary TSB for hugepage mappings. [SPARC]: Respect vm_page_prot in io_remap_page_range(). commit 36177ba655c238e33400cc2837a28720b62784bd tree c285738397f0272f1e0e973c5e6a53b2e8da74b1 parent 2152f8536668a957ea3214735b4761e7b22ef7d8 parent 056755f4d73d49b4adcbb8ecdaf75138cf166bd3 author Linus Torvalds Wed, 22 Mar 2006 10:56:23 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:56:23 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [TG3]: Bump driver version and reldate. [TG3]: Skip phy power down on some devices [TG3]: Fix SRAM access during tg3_init_one() [X25]: dte facilities 32 64 ioctl conversion [X25]: allow ITU-T DTE facilities for x25 [X25]: fix kernel error message 64 bit kernel [X25]: ioctl conversion 32 bit user to 64 bit kernel [NET]: socket timestamp 32 bit handler for 64 bit kernel [NET]: allow 32 bit socket ioctl in 64 bit kernel [BLUETOOTH]: Return negative error constant commit 2152f8536668a957ea3214735b4761e7b22ef7d8 tree 56723fc51445b1bc930c6400d4c00fd6fc831f88 parent 7cae7e26f245151b9ccad868bf2edf8c8048d307 parent 30afc84cf7325e88fb9746340eba3c161080ff49 author Linus Torvalds Wed, 22 Mar 2006 10:47:24 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:47:24 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (138 commits) [SCSI] libata: implement minimal transport template for ->eh_timed_out [SCSI] eliminate rphy allocation in favour of expander/end device allocation [SCSI] convert mptsas over to end_device/expander allocations [SCSI] allow displaying and setting of cache type via sysfs [SCSI] add scsi_mode_select to scsi_lib.c [SCSI] 3ware 9000 add big endian support [SCSI] qla2xxx: update MAINTAINERS [SCSI] scsi: move target_destroy call [SCSI] fusion - bump version [SCSI] fusion - expander hotplug suport in mptsas module [SCSI] fusion - exposing raid components in mptsas [SCSI] fusion - memory leak, and initializing fields [SCSI] fusion - exclosure misspelled [SCSI] fusion - cleanup mptsas event handling functions [SCSI] fusion - removing target_id/bus_id from the VirtDevice structure [SCSI] fusion - static fix's [SCSI] fusion - move some debug firmware event debug msgs to verbose level [SCSI] fusion - loginfo header update [SCSI] add scsi_reprobe_device [SCSI] megaraid_sas: fix extended timeout handling ... commit 7cae7e26f245151b9ccad868bf2edf8c8048d307 tree db785f2a471c5b97db2551402e067b9559a8989d parent cf01efd098597f7ee88a61e645afacba987c4531 author James Morris Wed, 22 Mar 2006 00:09:22 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] SELinux: add slab cache for inode security struct Add a slab cache for the SELinux inode security struct, one of which is allocated for every inode instantiated by the system. The memory savings are considerable. On 64-bit, instead of the size-128 cache, we have a slab object of 96 bytes, saving 32 bytes per object. After booting, I see about 4000 of these and then about 17,000 after a kernel compile. With this patch, we save around 530KB of kernel memory in the latter case. On 32-bit, the savings are about half of this. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf01efd098597f7ee88a61e645afacba987c4531 tree 8602df509dc2a2b067063f40084c83a4f698fb15 parent edb20fb5be2ff6943920aca4ccab0f4fdacddb9c author James Morris Wed, 22 Mar 2006 00:09:21 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] SELinux: cleanup stray variable in selinux_inode_init_security() Remove an unneded pointer variable in selinux_inode_init_security(). Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit edb20fb5be2ff6943920aca4ccab0f4fdacddb9c tree 6961017d5b02a6320b85826c33ccc81017c2e58f parent d6aafa65354cd2dbb089ab9e7dc618f22230fe32 author James Morris Wed, 22 Mar 2006 00:09:20 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] SELinux: fix hard link count for selinuxfs root directory A further fix is needed for selinuxfs link count management, to ensure that the count is correct for the parent directory when a subdirectory is created. This is only required for the root directory currently, but the code has been updated for the general case. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6aafa65354cd2dbb089ab9e7dc618f22230fe32 tree b274daf127ac8500229754d9841c8af1547bd66f parent 253a8b1db1af146d3a7eef0f3626781df12c7141 author James Morris Wed, 22 Mar 2006 00:09:19 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: sel_make_avc_files Fix copy & paste error in sel_make_avc_files(), removing a supurious call to d_genocide() in the error path. All of this will be cleaned up by kill_litter_super(). Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 253a8b1db1af146d3a7eef0f3626781df12c7141 tree 9aea4b9864a3dc12df89c73e5cf156bd3e7932ad parent 161ce45a8a34ba81673f60c603e6fc6d37d99c8f author James Morris Wed, 22 Mar 2006 00:09:18 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: sel_make_bools Remove the call to sel_make_bools() from sel_fill_super(), as policy needs to be loaded before the boolean files can be created. Policy will never be loaded during sel_fill_super() as selinuxfs is kernel mounted during init and the only means to load policy is via selinuxfs. Also, the call to d_genocide() on the error path of sel_make_bools() is incorrect and replaced with sel_remove_bools(). Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 161ce45a8a34ba81673f60c603e6fc6d37d99c8f tree 7e3851140870164beb585f32a70e2dc81668f391 parent cde174a885821b5eee7e00c8a9a426c9c8186a29 author James Morris Wed, 22 Mar 2006 00:09:17 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: sel_fill_super exit path Unify the error path of sel_fill_super() so that all errors pass through the same point and generate an error message. Also, removes a spurious dput() in the error path which breaks the refcounting for the filesystem (litter_kill_super() will correctly clean things up itself on error). Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cde174a885821b5eee7e00c8a9a426c9c8186a29 tree 95c36020357f26d6a7ebfc3cc9d6d6ac8d250844 parent 40e906f8224966ef65756cc75f9999ea2de0523d author James Morris Wed, 22 Mar 2006 00:09:17 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: use sel_make_dir() Use existing sel_make_dir() helper to create booleans directory rather than duplicating the logic. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40e906f8224966ef65756cc75f9999ea2de0523d tree 6e72a24a93d1f36ae5d89e81d2020cd3d8a0bd9b parent 68bdcf28a8d245208a02dc9caa60fe13cc1b0ea8 author James Morris Wed, 22 Mar 2006 00:09:16 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: fix hard link count Fix the hard link count for selinuxfs directories, which are currently one short. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68bdcf28a8d245208a02dc9caa60fe13cc1b0ea8 tree 4d50f43597d677c7b1b88b10696cb2358abaf83e parent bb0030797f55c9996ea1cebd16b65750ceb7e4fd author Stephen Smalley Wed, 22 Mar 2006 00:09:15 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinux: simplify sel_read_bool Simplify sel_read_bool to use the simple_read_from_buffer helper, like the other selinuxfs functions. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb0030797f55c9996ea1cebd16b65750ceb7e4fd tree 58256f9840bf05f141d986b6329a08e38065616a parent 8aad38752e81d1d4de67e3d8e2524618ce7c9276 author Ingo Molnar Wed, 22 Mar 2006 00:09:14 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] sem2mutex: security/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Stephen Smalley Cc: James Morris Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8aad38752e81d1d4de67e3d8e2524618ce7c9276 tree 5813d3f31133313a5bcd77cb3298f7cb26b814ed parent b20a35035f983f4ac7e29c4a68f30e43510007e0 author Stephen Smalley Wed, 22 Mar 2006 00:09:13 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] selinux: Disable automatic labeling of new inodes when no policy is loaded This patch disables the automatic labeling of new inodes on disk when no policy is loaded. Discussion is here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180296 In short, we're changing the behavior so that when no policy is loaded, SELinux does not label files at all. Currently it does add an 'unlabeled' label in this case, which we've found causes problems later. SELinux always maintains a safe internal label if there is none, so with this patch, we just stick with that and wait until a policy is loaded before adding a persistent label on disk. The effect is simply that if you boot with SELinux enabled but no policy loaded and create a file in that state, SELinux won't try to set a security extended attribute on the new inode on the disk. This is the only sane behavior for SELinux in that state, as it cannot determine the right label to assign in the absence of a policy. That state usually doesn't occur, but the rawhide installer seemed to be misbehaving temporarily so it happened to show up on a test install. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b20a35035f983f4ac7e29c4a68f30e43510007e0 tree fdf090ddddbcc275349f62f71adc98649e2c683b parent 442295c94bf650221af3ef20fc68fa3e93876818 author Christoph Lameter Wed, 22 Mar 2006 00:09:12 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] page migration reorg Centralize the page migration functions in anticipation of additional tinkering. Creates a new file mm/migrate.c 1. Extract buffer_migrate_page() from fs/buffer.c 2. Extract central migration code from vmscan.c 3. Extract some components from mempolicy.c 4. Export pageout() and remove_from_swap() from vmscan.c 5. Make it possible to configure NUMA systems without page migration and non-NUMA systems with page migration. I had to so some #ifdeffing in mempolicy.c that may need a cleanup. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 442295c94bf650221af3ef20fc68fa3e93876818 tree 32d5cae69596ec7729172901487cc08a357448f1 parent fdb7cc59084ba7eef935e4e40aaaf538ee34c625 author Paul Jackson Wed, 22 Mar 2006 00:09:11 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] mm: slab cache interleave rotor fix The alien cache rotor in mm/slab.c assumes that the first online node is node 0. Eventually for some archs, especially with hotplug, this will no longer be true. Fix the interleave rotor to handle the general case of node numbering. Signed-off-by: Paul Jackson Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fdb7cc59084ba7eef935e4e40aaaf538ee34c625 tree d31bd847f2d9ea3f5b2a632c718b53797172af88 parent 9b65ef59d42a56fa1358958ede77aaa5bac385a8 author Paul Jackson Wed, 22 Mar 2006 00:09:10 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] mm: hugetlb alloc_fresh_huge_page bogus node loop fix Fix bogus node loop in hugetlb.c alloc_fresh_huge_page(), which was assuming that nodes are numbered contiguously from 0 to num_online_nodes(). Once the hotplug folks get this far, that will be false. Signed-off-by: Paul Jackson Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b65ef59d42a56fa1358958ede77aaa5bac385a8 tree c6f83951e399cf52784f6d200c9588e4c41d6461 parent 879336c3930ae9273ea1c45214cb8adae0ce494a author Akinobu Mita Wed, 22 Mar 2006 00:09:09 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] fix swap cluster offset When we've allocated SWAPFILE_CLUSTER pages, ->cluster_next should be the first index of swap cluster. But current code probably sets it wrong offset. Signed-off-by: Akinobu Mita Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 879336c3930ae9273ea1c45214cb8adae0ce494a tree 24fbb8aff19f6747b6cc40cb05cbe9f4c21f85e3 parent b18e7e654d7af741d2bf34a90dc34128d0217fea author Christoph Lameter Wed, 22 Mar 2006 00:09:08 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] drain_node_pages: interrupt latency reduction / optimization 1. Only disable interrupts if there is actually something to free 2. Only dirty the pcp cacheline if we actually freed something. 3. Disable interrupts for each single pcp and not for cleaning all the pcps in all zones of a node. drain_node_pages is called every 2 seconds from cache_reap. This fix should avoid most disabling of interrupts. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b18e7e654d7af741d2bf34a90dc34128d0217fea tree 04cbc067da970b8b24c8b5d48a1e7d9520f92b06 parent 1b55253a7f95adc82eb20937b57b3e3e32ba65df author Christoph Lameter Wed, 22 Mar 2006 00:09:07 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] slab: fix drain_array() so that it works correctly with the shared_array The list_lock also protects the shared array and we call drain_array() with the shared array. Therefore we cannot go as far as I wanted to but have to take the lock in a way so that it also protects the array_cache in drain_pages. (Note: maybe we should make the array_cache locking more consistent? I.e. always take the array cache lock for shared arrays and disable interrupts for the per cpu arrays?) Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b55253a7f95adc82eb20937b57b3e3e32ba65df tree 5ab3f9e6efa5e2ed2a39843b95dcf95ddb89592a parent aab2207cf8d9c343b6b5f0e4d27e1732f8618d14 author Christoph Lameter Wed, 22 Mar 2006 00:09:07 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:05 -0800 [PATCH] slab: remove drain_array_locked Remove drain_array_locked and use that opportunity to limit the time the l3 lock is taken further. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aab2207cf8d9c343b6b5f0e4d27e1732f8618d14 tree deb851a556ac7d2339a5bc83985a33fe126321ee parent 35386e3b0f876bf194982f48f027af0c216499ce author Christoph Lameter Wed, 22 Mar 2006 00:09:06 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:05 -0800 [PATCH] slab: make drain_array more universal by adding more parameters And a parameter to drain_array to control the freeing of all objects and then use drain_array() to replace instances of drain_array_locked with drain_array. Doing so will avoid taking locks in those locations if the arrays are empty. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35386e3b0f876bf194982f48f027af0c216499ce tree 9fb79545f6797422f5cf666b0e65a4bb1882ee1d parent 248a0301e703cbf781aa02a91bcfc6da75870dd7 author Christoph Lameter Wed, 22 Mar 2006 00:09:05 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:05 -0800 [PATCH] slab: cache_reap(): further reduction in interrupt holdoff cache_reap takes the l3->list_lock (disabling interrupts) unconditionally and then does a few checks and maybe does some cleanup. This patch makes cache_reap() only take the lock if there is work to do and then the lock is taken and released for each cleaning action. The checking of when to do the next reaping is done without any locking and becomes racy. Should not matter since reaping can also be skipped if the slab mutex cannot be acquired. The same is true for the touched processing. If we get this wrong once in awhile then we will mistakenly clean or not clean the shared cache. This will impact performance slightly. Note that the additional drain_array() function introduced here will fall out in a subsequent patch since array cleaning will now be very similar from all callers. Signed-off-by: Christoph Lameter Cc: Pekka Enberg Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 248a0301e703cbf781aa02a91bcfc6da75870dd7 tree 74168da24983ec948fb25f92c2b3a1b9d76a5f13 parent d5d4b0aa4e1430d73050babba999365593bdb9d2 author Rafael J. Wysocki Wed, 22 Mar 2006 00:09:04 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:05 -0800 [PATCH] mm: make shrink_all_memory try harder Make shrink_all_memory() repeat the attempts to free more memory if there seems to be no pages to free. Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5d4b0aa4e1430d73050babba999365593bdb9d2 tree 67199d156f61217f9493d31aa4a9bfbb9c97412e parent bba1e9b2111b14625f670bd07e57fd7ed57ce804 author Chen, Kenneth W Wed, 22 Mar 2006 00:09:03 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] optimize follow_hugetlb_page follow_hugetlb_page() walks a range of user virtual address and then fills in list of struct page * into an array that is passed from the argument list. It also gets a reference count via get_page(). For compound page, get_page() actually traverse back to head page via page_private() macro and then adds a reference count to the head page. Since we are doing a virt to pte look up, kernel already has a struct page pointer into the head page. So instead of traverse into the small unit page struct and then follow a link back to the head page, optimize that with incrementing the reference count directly on the head page. The benefit is that we don't take a cache miss on accessing page struct for the corresponding user address and more importantly, not to pollute the cache with a "not very useful" round trip of pointer chasing. This adds a moderate performance gain on an I/O intensive database transaction workload. Signed-off-by: Ken Chen Cc: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bba1e9b2111b14625f670bd07e57fd7ed57ce804 tree fc46b8702597fafde7d1a550dcbc948f173303ad parent 42b88befd6e0dae1a5fe04c03925037fa890e1f3 author Chen, Kenneth W Wed, 22 Mar 2006 00:09:02 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] convert hugetlbfs_counter to atomic Implementation of hugetlbfs_counter() is functionally equivalent to atomic_inc_return(). Use the simpler atomic form. Signed-off-by: Ken Chen Cc: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42b88befd6e0dae1a5fe04c03925037fa890e1f3 tree c234584f797e65e1bcd0d4675d56d1eb004d6681 parent 3915bcf38fe0b6d130b4bbde97804f29a0becf32 author David Gibson Wed, 22 Mar 2006 00:09:01 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] hugepage: is_aligned_hugepage_range() cleanup Quite a long time back, prepare_hugepage_range() replaced is_aligned_hugepage_range() as the callback from mm/mmap.c to arch code to verify if an address range is suitable for a hugepage mapping. is_aligned_hugepage_range() stuck around, but only to implement prepare_hugepage_range() on archs which didn't implement their own. Most archs (everything except ia64 and powerpc) used the same implementation of is_aligned_hugepage_range(). On powerpc, which implements its own prepare_hugepage_range(), the custom version was never used. In addition, "is_aligned_hugepage_range()" was a bad name, because it suggests it returns true iff the given range is a good hugepage range, whereas in fact it returns 0-or-error (so the sense is reversed). This patch cleans up by abolishing is_aligned_hugepage_range(). Instead prepare_hugepage_range() is defined directly. Most archs use the default version, which simply checks the given region is aligned to the size of a hugepage. ia64 and powerpc define custom versions. The ia64 one simply checks that the range is in the correct address space region in addition to being suitably aligned. The powerpc version (just as previously) checks for suitable addresses, and if necessary performs low-level MMU frobbing to set up new areas for use by hugepages. No libhugetlbfs testsuite regressions on ppc64 (POWER5 LPAR). Signed-off-by: David Gibson Signed-off-by: Zhang Yanmin Cc: "David S. Miller" Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3915bcf38fe0b6d130b4bbde97804f29a0becf32 tree c094ae338592d6e11999c16a2690915e47888a2b parent 4866920b93fd7d5b520278c3c76e6f4d5a352d81 author David Gibson Wed, 22 Mar 2006 00:08:59 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] hugepage: Move hugetlb_free_pgd_range() prototype to hugetlb.h The optional hugepage callback, hugetlb_free_pgd_range() is presently implemented non-trivially only on ia64 (but I plan to add one for powerpc shortly). It has its own prototype for the function in asm-ia64/pgtable.h. However, since the function is called from generic code, it make sense for its prototype to be in the generic hugetlb.h header file, as the protypes other arch callbacks already are (prepare_hugepage_range(), set_huge_pte_at(), etc.). This patch makes it so. Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4866920b93fd7d5b520278c3c76e6f4d5a352d81 tree c4b8642c83e11af6d8e57ab35dc479f2c1a651d0 parent 9da61aef0fd5b17dd4bf4baf33db12c470def774 author David Gibson Wed, 22 Mar 2006 00:08:58 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] hugepage: Fix hugepage logic in free_pgtables() harder Turns out the hugepage logic in free_pgtables() was doubly broken. The loop coalescing multiple normal page VMAs into one call to free_pgd_range() had an off by one error, which could mean it would coalesce one hugepage VMA into the same bundle (checking 'vma' not 'next' in the loop). I transferred this bug into the new is_vm_hugetlb_page() based version. Here's the fix. This one didn't bite on powerpc previously for the same reason the is_hugepage_only_range() problem didn't: powerpc's hugetlb_free_pgd_range() is identical to free_pgd_range(). It didn't bite on ia64 because the hugepage region is distant enough from any other region that the separated PMD_SIZE distance test would always prevent coalescing the two together. No libhugetlbfs testsuite regressions (ppc64, POWER5). Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9da61aef0fd5b17dd4bf4baf33db12c470def774 tree cb4bb0b63c36a0b303ceadc0cec0fae00c49ecf3 parent 27a85ef1b81300cfff06b4c8037e9914dfb09acc author David Gibson Wed, 22 Mar 2006 00:08:57 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: Fix hugepage logic in free_pgtables() free_pgtables() has special logic to call hugetlb_free_pgd_range() instead of the normal free_pgd_range() on hugepage VMAs. However, the test it uses to do so is incorrect: it calls is_hugepage_only_range on a hugepage sized range at the start of the vma. is_hugepage_only_range() will return true if the given range has any intersection with a hugepage address region, and in this case the given region need not be hugepage aligned. So, for example, this test can return true if called on, say, a 4k VMA immediately preceding a (nicely aligned) hugepage VMA. At present we get away with this because the powerpc version of hugetlb_free_pgd_range() is just a call to free_pgd_range(). On ia64 (the only other arch with a non-trivial is_hugepage_only_range()) we get away with it for a different reason; the hugepage area is not contiguous with the rest of the user address space, and VMAs are not permitted in between, so the test can't return a false positive there. Nonetheless this should be fixed. We do that in the patch below by replacing the is_hugepage_only_range() test with an explicit test of the VMA using is_vm_hugetlb_page(). This in turn changes behaviour for platforms where is_hugepage_only_range() returns false always (everything except powerpc and ia64). We address this by ensuring that hugetlb_free_pgd_range() is defined to be identical to free_pgd_range() (instead of a no-op) on everything except ia64. Even so, it will prevent some otherwise possible coalescing of calls down to free_pgd_range(). Since this only happens for hugepage VMAs, removing this small optimization seems unlikely to cause any trouble. This patch causes no regressions on the libhugetlbfs testsuite - ppc64 POWER5 (8-way), ppc64 G5 (2-way) and i386 Pentium M (UP). Signed-off-by: David Gibson Cc: William Lee Irwin III Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27a85ef1b81300cfff06b4c8037e9914dfb09acc tree 1a8d9bc4c5611542273e57fc2606c12905906a57 parent b45b5bd65f668a665db40d093e4e1fe563533608 author David Gibson Wed, 22 Mar 2006 00:08:56 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: Make {alloc,free}_huge_page() local Originally, mm/hugetlb.c just handled the hugepage physical allocation path and its {alloc,free}_huge_page() functions were used from the arch specific hugepage code. These days those functions are only used with mm/hugetlb.c itself. Therefore, this patch makes them static and removes their prototypes from hugetlb.h. This requires a small rearrangement of code in mm/hugetlb.c to avoid a forward declaration. This patch causes no regressions on the libhugetlbfs testsuite (ppc64, POWER5). Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b45b5bd65f668a665db40d093e4e1fe563533608 tree aa3806bd87fd7aa719b561e4d468c779f6adb31b parent 3935baa9bcda3ccaee4f7849f5157d316e34412e author David Gibson Wed, 22 Mar 2006 00:08:55 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: Strict page reservation for hugepage inodes These days, hugepages are demand-allocated at first fault time. There's a somewhat dubious (and racy) heuristic when making a new mmap() to check if there are enough available hugepages to fully satisfy that mapping. A particularly obvious case where the heuristic breaks down is where a process maps its hugepages not as a single chunk, but as a bunch of individually mmap()ed (or shmat()ed) blocks without touching and instantiating the pages in between allocations. In this case the size of each block is compared against the total number of available hugepages. It's thus easy for the process to become overcommitted, because each block mapping will succeed, although the total number of hugepages required by all blocks exceeds the number available. In particular, this defeats such a program which will detect a mapping failure and adjust its hugepage usage downward accordingly. The patch below addresses this problem, by strictly reserving a number of physical hugepages for hugepage inodes which have been mapped, but not instatiated. MAP_SHARED mappings are thus "safe" - they will fail on mmap(), not later with an OOM SIGKILL. MAP_PRIVATE mappings can still trigger an OOM. (Actually SHARED mappings can technically still OOM, but only if the sysadmin explicitly reduces the hugepage pool between mapping and instantiation) This patch appears to address the problem at hand - it allows DB2 to start correctly, for instance, which previously suffered the failure described above. This patch causes no regressions on the libhugetblfs testsuite, and makes a test (designed to catch this problem) pass which previously failed (ppc64, POWER5). Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3935baa9bcda3ccaee4f7849f5157d316e34412e tree 45f6d064693a91171c57159acac43822cae6e129 parent 79ac6ba40eb8d70f0d204e98ae9b63280ad1018c author David Gibson Wed, 22 Mar 2006 00:08:53 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: serialize hugepage allocation and instantiation Currently, no lock or mutex is held between allocating a hugepage and inserting it into the pagetables / page cache. When we do go to insert the page into pagetables or page cache, we recheck and may free the newly allocated hugepage. However, since the number of hugepages in the system is strictly limited, and it's usualy to want to use all of them, this can still lead to spurious allocation failures. For example, suppose two processes are both mapping (MAP_SHARED) the same hugepage file, large enough to consume the entire available hugepage pool. If they race instantiating the last page in the mapping, they will both attempt to allocate the last available hugepage. One will fail, of course, returning OOM from the fault and thus causing the process to be killed, despite the fact that the entire mapping can, in fact, be instantiated. The patch fixes this race by the simple method of adding a (sleeping) mutex to serialize the hugepage fault path between allocation and insertion into pagetables and/or page cache. It would be possible to avoid the serialization by catching the allocation failures, waiting on some condition, then rechecking to see if someone else has instantiated the page for us. Given the likely frequency of hugepage instantiations, it seems very doubtful it's worth the extra complexity. This patch causes no regression on the libhugetlbfs testsuite, and one test, which can trigger this race now passes where it previously failed. Actually, the test still sometimes fails, though less often and only as a shmat() failure, rather processes getting OOM killed by the VM. The dodgy heuristic tests in fs/hugetlbfs/inode.c for whether there's enough hugepage space aren't protected by the new mutex, and would be ugly to do so, so there's still a race there. Another patch to replace those tests with something saner for this reason as well as others coming... Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79ac6ba40eb8d70f0d204e98ae9b63280ad1018c tree 522d835dbdc6b6efe6b834f3f1f9a21a8ba161e5 parent 8f860591ffb29738cf5539b6fbf27f50dcdeb380 author David Gibson Wed, 22 Mar 2006 00:08:51 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: Small fixes to hugepage clear/copy path Move the loops used in mm/hugetlb.c to clear and copy hugepages to their own functions for clarity. As we do so, we add some checks of need_resched - we are, after all copying megabytes of memory here. We also add might_sleep() accordingly. We generally dropped locks around the clear and copy, already but not everyone has PREEMPT enabled, so we should still be checking explicitly. For this to work, we need to remove the clear_huge_page() from alloc_huge_page(), which is called with the page_table_lock held in the COW path. We move the clear_huge_page() to just after the alloc_huge_page() in the hugepage no-page path. In the COW path, the new page is about to be copied over, so clearing it was just a waste of time anyway. So as a side effect we also fix the fact that we held the page_table_lock for far too long in this path by calling alloc_huge_page() under it. It causes no regressions on the libhugetlbfs testsuite (ppc64, POWER5). Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f860591ffb29738cf5539b6fbf27f50dcdeb380 tree 4265e45c4a79d86a16cd5175a836e8c531be8117 parent aed75ff3caafce404d9be7f0c088716375be5279 author Zhang, Yanmin Wed, 22 Mar 2006 00:08:50 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] Enable mprotect on huge pages 2.6.16-rc3 uses hugetlb on-demand paging, but it doesn_t support hugetlb mprotect. From: David Gibson Remove a test from the mprotect() path which checks that the mprotect()ed range on a hugepage VMA is hugepage aligned (yes, really, the sense of is_aligned_hugepage_range() is the opposite of what you'd guess :-/). In fact, we don't need this test. If the given addresses match the beginning/end of a hugepage VMA they must already be suitably aligned. If they don't, then mprotect_fixup() will attempt to split the VMA. The very first test in split_vma() will check for a badly aligned address on a hugepage VMA and return -EINVAL if necessary. From: "Chen, Kenneth W" On i386 and x86-64, pte flag _PAGE_PSE collides with _PAGE_PROTNONE. The identify of hugetlb pte is lost when changing page protection via mprotect. A page fault occurs later will trigger a bug check in huge_pte_alloc(). The fix is to always make new pte a hugetlb pte and also to clean up legacy code where _PAGE_PRESENT is forced on in the pre-faulting day. Signed-off-by: Zhang Yanmin Cc: David Gibson Cc: "David S. Miller" Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: William Lee Irwin III Signed-off-by: Ken Chen Signed-off-by: Nishanth Aravamudan Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aed75ff3caafce404d9be7f0c088716375be5279 tree 15e7165969ff533b73e29a4ee0d4b7c889ef1d29 parent a564da3964db3256069190c2ae95069143ac37fb author Steven Pratt Wed, 22 Mar 2006 00:08:48 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] readahead: fix initial window size calculation The current current get_init_ra_size is not optimal across different IO sizes and max_readahead values. Here is a quick summary of sizes computed under current design and under the attached patch. All of these assume 1st IO at offset 0, or 1st detected sequential IO. 32k max, 4k request old new ----------------- 8k 8k 16k 16k 32k 32k 128k max, 4k request old new ----------------- 32k 16k 64k 32k 128k 64k 128k 128k 128k max, 32k request old new ----------------- 32k 64k <----- 64k 128k 128k 128k 512k max, 4k request old new ----------------- 4k 32k <---- 16k 64k 64k 128k 128k 256k 512k 512k Cc: Oleg Nesterov Cc: Steven Pratt Cc: Ram Pai Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a564da3964db3256069190c2ae95069143ac37fb tree b7b9d66c1d6dde82db23222b16b0296013b1c3db parent d15c023b44e5d323f1f4130b85d29f08e43433b1 author Oleg Nesterov Wed, 22 Mar 2006 00:08:47 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] readahead: ->prev_page can overrun the ahead window If get_next_ra_size() does not grow fast enough, ->prev_page can overrun the ahead window. This means the caller will read the pages from ->ahead_start + ->ahead_size to ->prev_page synchronously. Signed-off-by: Oleg Nesterov Cc: Steven Pratt Cc: Ram Pai Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d15c023b44e5d323f1f4130b85d29f08e43433b1 tree f7153643b876b25f66e6e33ab2bbc670ba05a7f7 parent 6e5ef1a96e6e3b123da56292bc35017c8c401491 author Hugh Dickins Wed, 22 Mar 2006 00:08:46 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] shmem: inline to avoid warning shmem.c was named and shamed in Jesper's "Building 100 kernels" warnings: shmem_parse_mpol is only used when CONFIG_TMPFS parses mount options; and only called from that one site, so mark it inline like its non-NUMA stub. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e5ef1a96e6e3b123da56292bc35017c8c401491 tree db9532c53013bccd7ac9d186784bbc6fd343bca4 parent a7290ee08e434399660ace34427c17696e47c562 author Christoph Lameter Wed, 22 Mar 2006 00:08:45 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] vmscan: emove obsolete checks from shrink_list() and fix unlikely in refill_inactive_zone() As suggested by Marcelo: 1. The optimization introduced recently for not calling page_referenced() during zone reclaim makes two additional checks in shrink_list unnecessary. 2. The if (unlikely(sc->may_swap)) in refill_inactive_zone is optimized for the zone_reclaim case. However, most peoples system only does swap. Undo that. Signed-off-by: Christoph Lameter Cc: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7290ee08e434399660ace34427c17696e47c562 tree ee7d16b2c946c90450cf22e8bcd91111ca66270f parent 617d2214ee06c209e5c375c280d50abace8058e1 author Michael Buesch Wed, 22 Mar 2006 00:08:44 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] Uninline sys_mmap common code (reduce binary size) Remove the inlining of the new vs old mmap system call common code. This reduces the size of the resulting vmlinux for defconfig as follows: mb@pc1:~/develop/git/linux-2.6$ size vmlinux.mmap* text data bss dec hex filename 3303749 521524 186564 4011837 3d373d vmlinux.mmapinline 3303557 521524 186564 4011645 3d367d vmlinux.mmapnoinline The new sys_mmap2() has also one function call overhead removed, now. (probably it was already optimized to a jmp before, but anyway...) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 617d2214ee06c209e5c375c280d50abace8058e1 tree dd2fbf4a2cfa9854ebf27e6f100608c8a0507850 parent b7ab795b7bec9997d4fde39f249d52823d36d98d author Nick Piggin Wed, 22 Mar 2006 00:08:43 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] mm: optimise page_count Optimise page_count compound page test and make it consistent with similar functions. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7ab795b7bec9997d4fde39f249d52823d36d98d tree 8b8825a0718ec38b5b0840fe06efa9a92a0e30c7 parent 6626c5d53bc45c59798628677ba5606f02e371f3 author Nick Piggin Wed, 22 Mar 2006 00:08:42 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] mm: more CONFIG_DEBUG_VM Put a few more checks under CONFIG_DEBUG_VM Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6626c5d53bc45c59798628677ba5606f02e371f3 tree 7be40e7709b1887648a649fd6b5c036638c4608b parent 17cf44064ae744f081309108fa67f0e942b10167 author Andrew Morton Wed, 22 Mar 2006 00:08:42 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] mm: prep_zero_page() in irq is a bug prep_zero_page() uses KM_USER0 and hence may not be used from IRQ context, at least for highmem pages. Cc: Nick Piggin Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17cf44064ae744f081309108fa67f0e942b10167 tree 9073ac7498b559f5d0d36843e305a39eecc6436b parent 7835e98b2e3c66dba79cb0ff8ebb90a2fe030c29 author Nick Piggin Wed, 22 Mar 2006 00:08:41 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] mm: cleanup prep_ stuff Move the prep_ stuff into prep_new_page. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7835e98b2e3c66dba79cb0ff8ebb90a2fe030c29 tree 405a96eade34845dabe2f125b6c5eb095846869d parent 70dc991d66cac40fdb07346dba2b5d862d732c34 author Nick Piggin Wed, 22 Mar 2006 00:08:40 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] remove set_page_count() outside mm/ set_page_count usage outside mm/ is limited to setting the refcount to 1. Remove set_page_count from outside mm/, and replace those users with init_page_count() and set_page_refcounted(). This allows more debug checking, and tighter control on how code is allowed to play around with page->_count. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70dc991d66cac40fdb07346dba2b5d862d732c34 tree 53ba8de1ae2d49f7479391e82794e35f14c0f7f7 parent 84097518d1ecd2330f9488e4c2d09953a3340e74 author Nick Piggin Wed, 22 Mar 2006 00:08:35 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] remove set_page_count(page, 0) users (outside mm) A couple of places set_page_count(page, 1) that don't need to. Signed-off-by: Nick Piggin Cc: Paul Mackerras Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84097518d1ecd2330f9488e4c2d09953a3340e74 tree 50981fe0584c456a1a86e6d7f611eec223b5f536 parent 0f8053a509ceba4a077a50ea7b77039b5559b428 author Nick Piggin Wed, 22 Mar 2006 00:08:34 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] mm: nommu use compound pages Now that compound page handling is properly fixed in the VM, move nommu over to using compound pages rather than rolling their own refcounting. nommu vm page refcounting is broken anyway, but there is no need to have divergent code in the core VM now, nor when it gets fixed. Signed-off-by: Nick Piggin Cc: David Howells (Needs testing, please). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f8053a509ceba4a077a50ea7b77039b5559b428 tree 5a66021540395e20256f38a3a45174617428a832 parent 4fa4f53bf92139595cae6f1a3d972fc0a3451d29 author Nick Piggin Wed, 22 Mar 2006 00:08:33 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] mm: make __put_page internal Remove __put_page from outside the core mm/. It is dangerous because it does not handle compound pages nicely, and misses 1->0 transitions. If a user later appears that really needs the extra speed we can reevaluate. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fa4f53bf92139595cae6f1a3d972fc0a3451d29 tree a564a675bed7f34b1a05fce4055ea97e509ecf62 parent 20aaffd6a6492a5f7975dd7be967cdf0e4d978c4 author Nick Piggin Wed, 22 Mar 2006 00:08:33 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] x86_64: pageattr remove __put_page Remove page_count and __put_page from x86-64 pageattr Signed-off-by: Nick Piggin Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20aaffd6a6492a5f7975dd7be967cdf0e4d978c4 tree b6202e19d2c42dfcc7bbb6c266034e695adac137 parent 84d1c054b1c408c6c92676069fa678d55d5f0033 author Nick Piggin Wed, 22 Mar 2006 00:08:32 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] x86_64: pageattr use single list Use page->lru.next to implement the singly linked list of pages rather than the struct deferred_page which needs to be allocated and freed for each page. Signed-off-by: Nick Piggin Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84d1c054b1c408c6c92676069fa678d55d5f0033 tree bffcaae1cf80706fcb276a3a15654b03b50bb6ae parent f9aed0e2537174b95908f48b6052ae37196c9390 author Nick Piggin Wed, 22 Mar 2006 00:08:31 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] i386: pageattr remove __put_page Stop using __put_page and page_count in i386 pageattr.c Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9aed0e2537174b95908f48b6052ae37196c9390 tree 0b5cd42f36f08086f0258a753203b840123c9301 parent a6f563db09c54c80d80e9013182dc512a5e53d0f author Nick Piggin Wed, 22 Mar 2006 00:08:30 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] sg: use compound pages sg increments the refcount of constituent pages in its higher order memory allocations when they are about to be mapped by userspace. This is done so the subsequent get_page/put_page when doing the mapping and unmapping does not free the page. Move over to the preferred way, that is, using compound pages instead. This fixes a whole class of possible obscure bugs where a get_user_pages on a constituent page may outlast the user mappings or even the driver. Signed-off-by: Nick Piggin Cc: Hugh Dickins Cc: Douglas Gilbert Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6f563db09c54c80d80e9013182dc512a5e53d0f tree 7fa43d6a7d83a30042356f06a9cc6b09472a70e7 parent fb8d14e172a29ba5ac69a73b61196be86fdfc3e1 author Hugh Dickins Wed, 22 Mar 2006 00:08:29 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] remove VM_DONTCOPY bogosities Now that it's madvisable, remove two pieces of VM_DONTCOPY bogosity: 1. There was and is no logical reason why VM_DONTCOPY should be in the list of flags which forbid vma merging (and those drivers which set it are also setting VM_IO, which itself forbids the merge). 2. It's hard to understand the purpose of the VM_HUGETLB, VM_DONTCOPY block in vm_stat_account: but never mind, it's under CONFIG_HUGETLB, which (unlike CONFIG_HUGETLB_PAGE or CONFIG_HUGETLBFS) has never been defined. Signed-off-by: Hugh Dickins Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb8d14e172a29ba5ac69a73b61196be86fdfc3e1 tree 5b31eac00f8fc5860170d7f8b2e7e961dbda0ddf parent c9b02d970c385a253edb36c87643b0df706b50b4 author Wu Fengguang Wed, 22 Mar 2006 00:08:28 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] mm: shrink_inactive_lis() nr_scan accounting fix In shrink_inactive_list(), nr_scan is not accounted when nr_taken is 0. But 0 pages taken does not mean 0 pages scanned. Move the goto statement below the accounting code to fix it. Signed-off-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9b02d970c385a253edb36c87643b0df706b50b4 tree 0e1990c1ced842a923221b36ee1546bf9aac8509 parent 7fb2d46d396b2491818f8e43b01049b3234e6c07 author Wu Fengguang Wed, 22 Mar 2006 00:08:23 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] mm: isolate_lru_pages() scan count fix In isolate_lru_pages(), *scanned reports one more scan because the scan counter is increased one more time on exit of the while-loop. Change the while-loop to for-loop to fix it. Signed-off-by: Nick Piggin Signed-off-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fb2d46d396b2491818f8e43b01049b3234e6c07 tree d5826a4d1c3b1853be20c6049311eb52f1a98360 parent 1742f19fa920cdd6905f0db5898524dde22ab2a4 author Christoph Lameter Wed, 22 Mar 2006 00:08:22 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] zone_reclaim: additional comments and cleanup Add some comments to explain how zone reclaim works. And it fixes the following issues: - PF_SWAPWRITE needs to be set for RECLAIM_SWAP to be able to write out pages to swap. Currently RECLAIM_SWAP may not do that. - remove setting nr_reclaimed pages after slab reclaim since the slab shrinking code does not use that and the nr_reclaimed pages is just right for the intended follow up action. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1742f19fa920cdd6905f0db5898524dde22ab2a4 tree 90a490795f29f96e89503ead5affb4c8f99e5e75 parent 05ff51376f01fd8837946a4f8144a84f6cc71c19 author Andrew Morton Wed, 22 Mar 2006 00:08:21 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] vmscan: rename functions We have: try_to_free_pages ->shrink_caches(struct zone **zones, ..) ->shrink_zone(struct zone *, ...) ->shrink_cache(struct zone *, ...) ->shrink_list(struct list_head *, ...) ->refill_inactive_list((struct zone *, ...) which is fairly irrational. Rename things so that we have try_to_free_pages ->shrink_zones(struct zone **zones, ..) ->shrink_zone(struct zone *, ...) ->shrink_inactive_list(struct zone *, ...) ->shrink_page_list(struct list_head *, ...) ->shrink_active_list(struct zone *, ...) Cc: Nick Piggin Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05ff51376f01fd8837946a4f8144a84f6cc71c19 tree ca91bcabe6b4bfa71801a39e2921a44ec0bb1003 parent 69e05944af39fc6c97b09380c8721e38433bd828 author Andrew Morton Wed, 22 Mar 2006 00:08:20 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] vmscan return nr_reclaimed Change all the vmscan functions to retunr the number-of-reclaimed pages and remove scan_conrtol.nr_reclaimed. Saves ten-odd bytes of text and makes things clearer and more consistent. The patch also changes the behaviour of zone_reclaim() when it falls back to slab shrinking. Christoph says "Setting this to one means that we will rescan and shrink the slab for each allocation if we are out of zone memory and RECLAIM_SLAB is set. Plus if we do an order 0 allocation we do not go off node as intended. "We better set this to zero. This means the allocation will go offnode despite us having potentially freed lots of memory on the zone. Future allocations can then again be done from this zone." Cc: Nick Piggin Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69e05944af39fc6c97b09380c8721e38433bd828 tree 165e594ed5cd34c3a2b2ec236f75ac5b192ade7a parent 179e96395b1f01e95ebe1ff5ef306b810dbbd147 author Andrew Morton Wed, 22 Mar 2006 00:08:19 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] vmscan: use unsigned longs Turn basically everything in vmscan.c into `unsigned long'. This is to avoid the possibility that some piece of code in there might decide to operate upon more than 4G (or even 2G) of pages in one hit. This might be silly, but we'll need it one day. Cc: Christoph Lameter Cc: Nick Piggin Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 179e96395b1f01e95ebe1ff5ef306b810dbbd147 tree c21157905aa04dc37b531a1deaacd022932fa48e parent 8695949a1d7c99e039595db00af8e0fe4722307d author Andrew Morton Wed, 22 Mar 2006 00:08:18 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] vmscan: scan_control cleanup Initialise as much of scan_control as possible at the declaration site. This tidies things up a bit and assures us that all unmentioned fields are zeroed out. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8695949a1d7c99e039595db00af8e0fe4722307d tree ac845804aeabdeb19963b5907df921cb9ba8839e parent a07fa3944bf924881450884224cbb2f1269cb9fa author Christoph Lameter Wed, 22 Mar 2006 00:08:18 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] Thin out scan_control: remove nr_to_scan and priority Make nr_to_scan and priority a parameter instead of putting it into scan control. This allows various small optimizations and IMHO makes the code easier to read. Signed-off-by: Christoph Lameter Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a07fa3944bf924881450884224cbb2f1269cb9fa tree 1a418f44586da209b7a05d0e08e6c2b2bc5fe420 parent 78eef01b0fae087c5fadbd85dd4fe2918c3a015f author Andrew Morton Wed, 22 Mar 2006 00:08:17 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] slab: use on_each_cpu() Slab duplicates on_each_cpu(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78eef01b0fae087c5fadbd85dd4fe2918c3a015f tree 78057039596aa733ff904a36260cca3a51af6981 parent ac2b898ca6fb06196a26869c23b66afe7944e52e author Andrew Morton Wed, 22 Mar 2006 00:08:16 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] on_each_cpu(): disable local interrupts When on_each_cpu() runs the callback on other CPUs, it runs with local interrupts disabled. So we should run the function with local interrupts disabled on this CPU, too. And do the same for UP, so the callback is run in the same environment on both UP and SMP. (strictly it should do preempt_disable() too, but I think local_irq_disable is sufficiently equivalent). Also uninlines on_each_cpu(). softirq.c was the most appropriate file I could find, but it doesn't seem to justify creating a new file. Oh, and fix up that comment over (under?) x86's smp_call_function(). It drives me nuts. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac2b898ca6fb06196a26869c23b66afe7944e52e tree e82e7bebd89b02813ce23f76fec4aeb5626da655 parent 911851e6ee6ac4e26f07be342a89632f78494fef author Christoph Lameter Wed, 22 Mar 2006 00:08:15 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] slab: Remove SLAB_NO_REAP option SLAB_NO_REAP is documented as an option that will cause this slab not to be reaped under memory pressure. However, that is not what happens. The only thing that SLAB_NO_REAP controls at the moment is the reclaim of the unused slab elements that were allocated in batch in cache_reap(). Cache_reap() is run every few seconds independently of memory pressure. Could we remove the whole thing? Its only used by three slabs anyways and I cannot find a reason for having this option. There is an additional problem with SLAB_NO_REAP. If set then the recovery of objects from alien caches is switched off. Objects not freed on the same node where they were initially allocated will only be reused if a certain amount of objects accumulates from one alien node (not very likely) or if the cache is explicitly shrunk. (Strangely __cache_shrink does not check for SLAB_NO_REAP) Getting rid of SLAB_NO_REAP fixes the problems with alien cache freeing. Signed-off-by: Christoph Lameter Cc: Pekka Enberg Cc: Manfred Spraul Cc: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 911851e6ee6ac4e26f07be342a89632f78494fef tree 898e7150d996eae1800183a5380791270f59263d parent fcc234f888ba2365c44ba0507eb8a18eebf1f594 author Randy Dunlap Wed, 22 Mar 2006 00:08:14 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] slab: fix kernel-doc warnings Fix kernel-doc warnings in mm/slab.c. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcc234f888ba2365c44ba0507eb8a18eebf1f594 tree afc0d6f5a6191a94d8285f0b21ecec5a9b911df9 parent b5d8ca7c50826c0b456b4a646875dc573adfde2b author Pekka Enberg Wed, 22 Mar 2006 00:08:13 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] mm: kill kmem_cache_t usage We have struct kmem_cache now so use it instead of the old typedef. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5d8ca7c50826c0b456b4a646875dc573adfde2b tree dc04800243ac331c862c1cdbeebd82bf369602d1 parent a737b3e2fcf96f576fa3e2e382236d9ee94f383f author Ravikiran G Thirumalai Wed, 22 Mar 2006 00:08:12 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] slab: remove cachep->spinlock Remove cachep->spinlock. Locking has moved to the kmem_list3 and most of the structures protected earlier by cachep->spinlock is now protected by the l3->list_lock. slab cache tunables like batchcount are accessed always with the cache_chain_mutex held. Patch tested on SMP and NUMA kernels with dbench processes running, constant onlining/offlining, and constant cache tuning, all at the same time. Signed-off-by: Ravikiran Thirumalai Cc: Christoph Lameter Cc: Pekka Enberg Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a737b3e2fcf96f576fa3e2e382236d9ee94f383f tree 8bc2a5e4f0f12ae01c6cb718ada98bc092daecbf parent f30cf7d13eee420f5249b4d7709b46570098ab92 author Andrew Morton Wed, 22 Mar 2006 00:08:11 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] slab cleanup slab.c has become a bit revolting again. Try to repair it. - Coding style fixes - Don't do assignments-in-if-statements. - Don't typecast assignments to/from void* Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f30cf7d13eee420f5249b4d7709b46570098ab92 tree 825ad85c9c517efb0be41bf114ceb73a15f5c914 parent 8fea4e96a8f29ccc34c244f54574680ce9b43631 author Pekka Enberg Wed, 22 Mar 2006 00:08:11 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] slab: extract setup_cpu_cache Extract setup_cpu_cache() function from kmem_cache_create() to make the latter a little less complex. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fea4e96a8f29ccc34c244f54574680ce9b43631 tree 651042fa1d73fd1efa1c4f1b6c9f25ebbe03ea6f parent b50ec7d8070ae7a39fe78e65a8812bbc3ca2f7ac author Pekka Enberg Wed, 22 Mar 2006 00:08:10 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] slab: object to index mapping cleanup Clean up the object to index mapping that has been spread around mm/slab.c. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b50ec7d8070ae7a39fe78e65a8812bbc3ca2f7ac tree 56a30fe319a1c4356547d13896d6762df76980d7 parent a482289d46587ffcda4c85aab109fb74910d7a48 author Adrian Bunk Wed, 22 Mar 2006 00:08:09 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] kcalloc(): INT_MAX -> ULONG_MAX Since size_t has the same size as a long on all architectures, it's enough for overflow checks to check against ULONG_MAX. This change could allow a compiler better optimization (especially in the n=1 case). The practical effect seems to be positive, but quite small: text data bss dec hex filename 21762380 5859870 1848928 29471178 1c1b1ca vmlinux-old 21762211 5859870 1848928 29471009 1c1b121 vmlinux-patched Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a482289d46587ffcda4c85aab109fb74910d7a48 tree 351dc5d9c09a4fe3d122c2157a298852ac8a821c parent 545b1ea9bfa5a8ca9af33d63144bd4f2faaea8dd author Nick Piggin Wed, 22 Mar 2006 00:08:08 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] hugepage allocator cleanup Insert "fresh" huge pages into the hugepage allocator by the same means as they are freed back into it. This reduces code size and allows enqueue_huge_page to be inlined into the hugepage free fastpath. Eliminate occurances of hugepages on the free list with non-zero refcount. This can allow stricter refcount checks in future. Also required for lockless pagecache. Signed-off-by: Nick Piggin "This patch also eliminates a leak "cleaned up" by re-clobbering the refcount on every allocation from the hugepage freelists. With respect to the lockless pagecache, the crucial aspect is to eliminate unconditional set_page_count() to 0 on pages with potentially nonzero refcounts, though closer inspection suggests the assignments removed are entirely spurious." Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 545b1ea9bfa5a8ca9af33d63144bd4f2faaea8dd tree deef747e0f08089a0cd14e09551efaddfad813f9 parent 9d41415221214ca4820b9464dfa548e2f20e7dd5 author Nick Piggin Wed, 22 Mar 2006 00:08:07 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] mm: cleanup bootmem The bootmem code added to page_alloc.c duplicated some page freeing code that it really doesn't need to because it is not so performance critical. While we're here, make prefetching work properly by actually prefetching the page we're about to use before prefetching ahead to the next one (ie. get the most important transaction started first). Also prefetch just a single page ahead rather than leaving a gap of 16. Jack Steiner reported no problems with SGI's ia64 simulator. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d41415221214ca4820b9464dfa548e2f20e7dd5 tree 58db93aca7cf16ddf22a9d86f32c6f04c19d721c parent 8dfcc9ba27e2ed257e5de9539f7f03e57c2c0e33 author Nick Piggin Wed, 22 Mar 2006 00:08:06 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] mm: page_state comment more Clarify that preemption needs to be guarded against with the __xxx_page_state functions. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dfcc9ba27e2ed257e5de9539f7f03e57c2c0e33 tree aecaeb6a0b33c23f79dfcd2418e4a3881a29f2e2 parent 8e7a9aae91101916b86de07fafe3272ea8dc1f10 author Nick Piggin Wed, 22 Mar 2006 00:08:05 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: split highorder pages Have an explicit mm call to split higher order pages into individual pages. Should help to avoid bugs and be more explicit about the code's intention. Signed-off-by: Nick Piggin Cc: Russell King Cc: David Howells Cc: Ralf Baechle Cc: Benjamin Herrenschmidt Cc: Paul Mundt Cc: "David S. Miller" Cc: Chris Zankel Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e7a9aae91101916b86de07fafe3272ea8dc1f10 tree 799beb54db0ec0b6c58c5d6cdc902fa570f8be90 parent 8dc04efbfb3c08a08fb7a3b97348d5d561b26ae2 author Nick Piggin Wed, 22 Mar 2006 00:08:04 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] xtensa: pgtable fixes - Don't return uninitialised stack values in case of allocation failure - Don't bother clearing PageCompound because __GFP_COMP wasn't specified Increment over the pte page rather than one pte entry in pte_alloc_one_kernel - Actually increment the page pointer in pte_alloc_one - Compile fixes, typos. Signed-off-by: Nick Piggin Acked-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dc04efbfb3c08a08fb7a3b97348d5d561b26ae2 tree a48ce376d077745fdab23a33e5be1d48c979c3ae parent 7c8ee9a86340db686cd4314e9944dc9b6111bda9 author Nick Piggin Wed, 22 Mar 2006 00:08:03 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: de-skew page refcounting atomic_add_unless (atomic_inc_not_zero) no longer requires an offset refcount to function correctly. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c8ee9a86340db686cd4314e9944dc9b6111bda9 tree 80638e1658556b4fd7c0b92d571aaac854245bd3 parent f205b2fe62d321403525065a4cb31b6bff1bbe53 author Nick Piggin Wed, 22 Mar 2006 00:08:03 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: simplify vmscan vs release refcounting The VM has an interesting race where a page refcount can drop to zero, but it is still on the LRU lists for a short time. This was solved by testing a 0->1 refcount transition when picking up pages from the LRU, and dropping the refcount in that case. Instead, use atomic_add_unless to ensure we never pick up a 0 refcount page from the LRU, thus a 0 refcount page will never have its refcount elevated until it is allocated again. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f205b2fe62d321403525065a4cb31b6bff1bbe53 tree 26a2273e7da089e99690097348bf4d35600393f4 parent 5e9dace8d386def04219134d7160e8a778824764 author Nick Piggin Wed, 22 Mar 2006 00:08:02 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: slab less atomics Atomic operation removal from slab Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e9dace8d386def04219134d7160e8a778824764 tree d74ca57577cc4872eb6bcf609e3c7f7d1a39fdf6 parent 674539115cc88473f623581e1d53c0e2ecef2179 author Nick Piggin Wed, 22 Mar 2006 00:08:01 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: page_alloc less atomics More atomic operation removal from page allocator Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 674539115cc88473f623581e1d53c0e2ecef2179 tree 7a32501091d7370ff4387df68804f918a089c631 parent 4c84cacfa424264f7ad5287298d3ea4a3e935278 author Nick Piggin Wed, 22 Mar 2006 00:08:00 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: less atomic ops In the page release paths, we can be sure that nobody will mess with our page->flags because the refcount has dropped to 0. So no need for atomic operations here. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c84cacfa424264f7ad5287298d3ea4a3e935278 tree 8cefe97dfd0cdfbdebe5636ccc68b14ab3ae1207 parent 8d438f96d2b8eade6cbcd8adfc22dae6f5cbd6c0 author Nick Piggin Wed, 22 Mar 2006 00:08:00 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: PageActive no testset PG_active is protected by zone->lru_lock, it does not need TestSet/TestClear operations. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d438f96d2b8eade6cbcd8adfc22dae6f5cbd6c0 tree 5248caf52ed9ba1dbb172d9e3bd3216c97ab3b84 parent 46453a6e194a8c55fe6cf3dc8e1c4f24e2abc013 author Nick Piggin Wed, 22 Mar 2006 00:07:59 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] mm: PageLRU no testset PG_lru is protected by zone->lru_lock. It does not need TestSet/TestClear operations. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46453a6e194a8c55fe6cf3dc8e1c4f24e2abc013 tree e407665e6c8cdf33814007750c49fdbea0a21e0e parent 2492ecc1a16b8ccf679d2999dca4f1b48aef07ee author Nick Piggin Wed, 22 Mar 2006 00:07:58 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] mm: never ClearPageLRU released pages If vmscan finds a zero refcount page on the lru list, never ClearPageLRU it. This means the release code need not hold ->lru_lock to stabilise PageLRU, so that lock may be skipped entirely when releasing !PageLRU pages (because we know PageLRU won't have been temporarily cleared by vmscan, which was previously guaranteed by holding the lock to synchronise against vmscan). Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2492ecc1a16b8ccf679d2999dca4f1b48aef07ee tree 9e8f40d3715cb6f10b436f9035c3000c33233146 parent a7f3ea728b36aff520dff1611b3ce10cff46d8fe author Christoph Hellwig Wed, 22 Mar 2006 00:07:57 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] mm: remove set_pgdir leftovers set_pgdir isn't needed anymore for a very long time. Remove the leftover implementation on sh64 and the stub on s390. Signed-off-by: Christoph Hellwig Cc: Heiko Carstens Cc: Martin Schwidefsky Cc: Paul Mundt Cc: Richard Curnow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7f3ea728b36aff520dff1611b3ce10cff46d8fe tree a3bd942d1e2a25529ecae24bdfb16f28a89fddf2 parent d0497614e0bd54f113041966532035edba463f8e author Dmitry Torokhov Wed, 22 Mar 2006 00:07:56 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] dcdbas: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, define dcdbas_driver and implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Also switch to using attribute_group when creating sysfs attributes and make sure to check and handle errors; explicitely remove attributes when detaching driver. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0497614e0bd54f113041966532035edba463f8e tree 9d43d377fcafb8675aaf3854eda5f0f6b6dad669 parent eee8ab75c609fa0c452246f69237ff577b931243 author Dmitry Torokhov Wed, 22 Mar 2006 00:07:55 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] tb0219: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eee8ab75c609fa0c452246f69237ff577b931243 tree b0dd3e1b8ec8e084411b87ae96f9b10bc29c84b3 parent d39b6cfe664079ca79ae1cfebac4725a877fd61d author Dmitry Torokhov Wed, 22 Mar 2006 00:07:54 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] mv64x600_wdt: convert to the new platform device interface mv64x600_wdt: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d39b6cfe664079ca79ae1cfebac4725a877fd61d tree 85a4a2784819406ac86d4f30d9764cb363c2c83b parent f4a641d66c6e135dcfc861521e8008faed2411e1 author Dmitry Torokhov Wed, 22 Mar 2006 00:07:53 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] vr41xx: convert to the new platform device interface The patch does the following for v441xx seris drivers: - stop using platform_device_register_simple() as it is going away - mark ->probe() and ->remove() methods as __devinit and __devexit respectively - initialize "owner" field in driver structure so there is a link from /sys/modules to the driver - mark *_init() and *_exit() functions as __init and __exit Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4a641d66c6e135dcfc861521e8008faed2411e1 tree 0d8e93949c646479ac39760bd6c0e7afcb96e4a6 parent 83485f826bea154a0ab41e9b8689105531dd7cb2 author Andrew Morton Wed, 22 Mar 2006 00:07:46 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] multiple exports of strpbrk Sam's tree includes a new check, which found that we're exporting strpbrk() multiple times. It seems that the convention is that this is exported from the arch files, so reove the lib/string.c export. Cc: Sam Ravnborg Cc: Yoshinori Sato Cc: David Howells Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83485f826bea154a0ab41e9b8689105531dd7cb2 tree 0413f90dda66cabbbcbe076cea5a03cb1982c5bf parent 4024ce5e0f396447cc1e07fd65c2a1d056b066bb author Atsushi Nemoto Wed, 22 Mar 2006 00:07:45 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] serial: serial_txx9 driver update Update the serial_txx9 driver. * More strict check in verify_port. Cleanup. * Do not insert a char caused previous overrun. * Fix some spin_locks. * Do not call uart_add_one_port for absent ports. Also, this patch removes a BROKEN tag from Kconfig. This driver has been marked as BROKEN by removal of uart_register_port, but it has been solved already on Sep 2005. Signed-off-by: Atsushi Nemoto Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4024ce5e0f396447cc1e07fd65c2a1d056b066bb tree 89d7c0f97e279ae64884aa47a02cae8f13f3f51e parent d2044a94e80b61f68ee7456f82d9b443e9ff6ac7 author Joe Korty Wed, 22 Mar 2006 00:07:43 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] rtc.h broke strace(1) builds Git patch 52dfa9a64cfb3dd01fa1ee1150d589481e54e28e [PATCH] move rtc_interrupt() prototype to rtc.h broke strace(1) builds. The below moves the kernel-only additions lower, under the already provided #ifdef __KERNEL__ statement. Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2044a94e80b61f68ee7456f82d9b443e9ff6ac7 tree 4488efc87514d440f5ca4b9fdca32dd173a04f63 parent 06f9d4f94a075285d25253edbf57f2cda07d4ff3 author Alasdair G Kergon Wed, 22 Mar 2006 00:07:42 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] dm: bio split bvec fix The code that handles bios that span table target boundaries by breaking them up into smaller bios will not split an individual struct bio_vec into more than two pieces. Sometimes more than that are required. This patch adds a loop to break the second piece up into as many pieces as are necessary. Cc: "Abhishek Gupta" Cc: Dan Smith Signed-off-by: Alasdair G Kergon Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06f9d4f94a075285d25253edbf57f2cda07d4ff3 tree 56a3d3c05606811b15ab7b301c25815e9ac5e1e8 parent b40607fc02f8248828d52d88f91b7d68df1933b0 author Eric W. Biederman Wed, 22 Mar 2006 00:07:40 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] unshare: Error if passed unsupported flags A bare bones trivial patch to ensure we always get -EINVAL on the unsupported cases for sys_unshare. If this goes in before 2.6.16 it allows us to forward compatible with future applications using sys_unshare. Signed-off-by: Eric W. Biederman Cc: JANAK DESAI Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b40607fc02f8248828d52d88f91b7d68df1933b0 tree 4e29b252e6bf8d520de092edfeb9bc60413d92cb parent 68ed0040a8c9d06b73cda322a1f740749bd6e41a author Andrew Morton Wed, 22 Mar 2006 00:07:39 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] __get_page_state() cpumask cleanup and fix __get_page_state() has an open-coded for_each_cpu_mask() loop in it. Tidy that up, then notice that the code was buggy: while (cpu < NR_CPUS) { unsigned long *in, *out, off; if (!cpu_isset(cpu, *cpumask)) continue; an obvious infinite loop. I guess we just never call it with a holey cpu mask. Even after my cpumask size-reduction work, this patch increases code size :( Cc: Paul Jackson Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68ed0040a8c9d06b73cda322a1f740749bd6e41a tree 73fe9f14b93466716b4a79007a33839ee42aad33 parent 5e7a99ac452d7a4ce43b8bacb3495475e1f9fd71 author Ravikiran G Thirumalai Wed, 22 Mar 2006 00:07:38 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] x86: mark cyc2ns_scale readmostly This variable is rarely written to. Mark the variable accordingly. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e7a99ac452d7a4ce43b8bacb3495475e1f9fd71 tree ded83e560e5f21540e5e23c3b9cb4ed9e8376f94 parent 8a2cda007068e838ac6494cde74c37534f04f8dc author Latchesar Ionkov Wed, 22 Mar 2006 00:07:37 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] v9fs: assign dentry ops to negative dentries If a file is not found in v9fs_vfs_lookup, the function creates negative dentry, but doesn't assign any dentry ops. This leaves the negative entry in the cache (there is no d_delete to mark it for removal). If the file is created outside of the mounted v9fs filesystem, the file shows up in the directory with weird permissions. This patch assigns the default v9fs dentry ops to the negative dentry. Signed-off-by: Latchesar Ionkov Signed-off-by: Eric Van Hensbergen Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a2cda007068e838ac6494cde74c37534f04f8dc tree dade19c25f04a0be81dad6c0cfd1342635aa930a parent 4078006568c142a909e7889cbdc28804cec25461 author Antonino A. Daplas Wed, 22 Mar 2006 00:07:36 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] i810fb_cursor(): use GFP_ATOMIC The console cursor can be called in atomic context. Change memory allocation to use the GFP_ATOMIC flag in i810fb_cursor(). Signed-off-by: Antonino Daplas Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4078006568c142a909e7889cbdc28804cec25461 tree 27ebbad413223e626ceb7782fc4ac1242616a1c7 parent 152475cb0a65ed73301cfbd7d7afab65536643f7 author Andrew Morton Wed, 22 Mar 2006 00:07:35 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] efi_call_phys_epilog() warning fix arch/i386/kernel/efi.c: In function `efi_call_phys_epilog': arch/i386/kernel/efi.c:118: warning: assignment makes integer from pointer without a cast Cc: Matt Domsch Cc: "Tolentino, Matthew E" Cc: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 152475cb0a65ed73301cfbd7d7afab65536643f7 tree 197571b8d8786a4a0c7b88f107d3cd96c4b4b36d parent 9430d58e34ec3861e1ca72f8e49105b227aad327 author Herbert Poetzl Wed, 22 Mar 2006 00:07:34 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:54 -0800 [PATCH] don't call check_acpi_pci() on x86 with ACPI disabled check_acpi_pci() is called from arch/i386/kernel/setup.c even if CONFIG_ACPI is not defined, but the code in include/asm/acpi.h doesn't provide it in this case. Signed-off-by: Herbert Pötzl Cc: "Brown, Len" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9430d58e34ec3861e1ca72f8e49105b227aad327 tree ac8f8295131fbf3c0ddc689fa9887a8c95b0814d parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Mike Galbraith Wed, 22 Mar 2006 00:07:33 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:54 -0800 [PATCH] sched: remove sleep_avg multiplier Remove the sleep_avg multiplier. This multiplier was necessary back when we had 10 seconds of dynamic range in sleep_avg, but now that we only have one second, it causes that one second to be compressed down to 100ms in some cases. This is particularly noticeable when compiling a kernel in a slow NFS mount, and I believe it to be a very likely candidate for other recently reported network related interactivity problems. In testing, I can detect no negative impact of this removal. Signed-off-by: Mike Galbraith Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3c44854a59f7e983c867060aa906bbf5befb1ef tree 2a53c67a31c106d79edbceda4b9ba662d298851c parent 5501972e0b5857bc8354770d900ceb9b40c7f6b7 author Jaroslav Kysela Wed, 22 Mar 2006 14:37:15 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 14:37:15 +0100 [ALSA] version 1.0.11rc4 commit 949ec2c8e6b7b89179b85baf6309c009e1a1b951 tree 2d9c3dde17ba8608aa07e96e6fffcc23f1cab39c parent 55cca65e1995ad604ee87e22c76c17d5cbceb9d0 parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Jeff Garzik Wed, 22 Mar 2006 06:09:31 -0500 committer Jeff Garzik Wed, 22 Mar 2006 06:09:31 -0500 Merge branch 'master' commit bec1b8193651ea4394cc4d6e18152cb83e735f93 tree 7df3c9603a745b9f390a9132837c6909c4b96db3 parent 58e9ff56382bdce340d50b6ff22c422dc617106c author Russell King Wed, 22 Mar 2006 10:22:58 +0000 committer Russell King Wed, 22 Mar 2006 10:22:58 +0000 [ARM] Quieten spurious IRQ detection Only issue a "nobody cared" warning after 99900 spurious interrupts. This avoids the occasional spurious interrupt causing warnings, as per x86. Signed-off-by: Russell King commit 5501972e0b5857bc8354770d900ceb9b40c7f6b7 tree ff239422827c4cd54d2998f8851304255de31b38 parent 9d2f928ddf64ca0361562e30faf584cd33055c60 parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Jaroslav Kysela Wed, 22 Mar 2006 11:02:08 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 11:02:08 +0100 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 9d2f928ddf64ca0361562e30faf584cd33055c60 tree c9f57551988fc492e20553aa39b24af7547ab239 parent 84f3430c7255668a0298d166605d27e3c96b5de4 author Tobias Klauser Wed, 22 Mar 2006 10:53:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:53:19 +0100 [PATCH] Intruduce DMA_28BIT_MASK This patch introduces the DMA_28BIT_MASK constant in dma-mapping.h ALSA drivers using this mask are changed to use the new constant. Signed-off-by: Tobias Klauser Acked-by: Takashi Iwai Acked-by: Jaroslav Kysela commit 84f3430c7255668a0298d166605d27e3c96b5de4 tree c4f099464d986326779cda14ca461c3035070ea6 parent b2c2844c5a486020e5d564870d114a7f4cd5ea4f author Takashi Iwai Tue, 21 Mar 2006 19:12:53 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:44:02 +0100 [ALSA] hda-codec - Add support for ASUS P4GPL-X Modules: HDA Codec driver Added the support ASUS P4GPL-X with ALC880 codec. Signed-off-by: Takashi Iwai commit b2c2844c5a486020e5d564870d114a7f4cd5ea4f tree b37a690bcd3c10b8dd2dc98c6fc30fa5b6e01ea4 parent c6077b3000184c7f69c4798b9025e5fbd69c8c62 author Takashi Iwai Tue, 21 Mar 2006 19:11:50 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:44:00 +0100 [ALSA] hda-codec - Add support for HP nx9420 laptop Modules: HDA Codec driver Added the support for HP nx9420 (AngelFire) laptop with AD1981HD codec. Signed-off-by: Takashi Iwai commit c6077b3000184c7f69c4798b9025e5fbd69c8c62 tree 7ba83932972197bc4f2fd2c29cf5448fc34c2d26 parent c5c079e31cba3e6f93ef098911e216b79d0a84e8 author Takashi Iwai Tue, 21 Mar 2006 16:07:13 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:43:56 +0100 [ALSA] Fix memory leaks in error path of control.c Modules: Control Midlevel Fix memory leaks in error path of control.c (only with CONFIG_SND_DEBUG=y). Signed-off-by: Takashi Iwai commit c5c079e31cba3e6f93ef098911e216b79d0a84e8 tree 8879c5322c2e6c2b6b545eb966f40c63a63510f2 parent bb160b850d7e285f8b15906d9c0d1916acfdb953 author Sergei Shtylyov Tue, 21 Mar 2006 12:01:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:43:28 +0100 [ALSA] AMD Au1x00: AC'97 controller is memory mapped Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver erroneously calls request_region() for AC'97 controller registers -- the controller is actually memory mapped at addresses 0x10000000 thru 0x100FFFFF. Signed-off-by: Sergei Shtylyov Signed-off-by: Takashi Iwai commit bb160b850d7e285f8b15906d9c0d1916acfdb953 tree 2bc00eb5f279a546df358f2159e805f461aa392f parent 97ec558a88fb03fa23aee0832a88964e76e4a4db author Sergei Shtylyov Tue, 21 Mar 2006 11:58:48 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:43:02 +0100 [ALSA] AMD Au1x00: fix DMA init/cleanup Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver causes kernel oops in au1000_init() by trying to set DMA channel to -1 in yet unallocated audio streams. Here's the patch that staightens up DMA init/cleanup code. Signed-off-by: Sergei Shtylyov Signed-off-by: Takashi Iwai commit 97ec558a88fb03fa23aee0832a88964e76e4a4db tree 406aecd3632ae51d946a13509482cf75bf66b822 parent 82bc955f6379135e6ce35ff90c7ac411fd412c4c author Takashi Iwai Tue, 21 Mar 2006 11:29:07 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:40:49 +0100 [ALSA] hda-codec - Fix generic auto-configurator Modules: HDA generic driver Fixed the generic auto-configurator to check speaker pins in addition. Signed-off-by: Takashi Iwai commit 82bc955f6379135e6ce35ff90c7ac411fd412c4c tree 314610afb5a469ac6a5a9f4d5e947436bb2c0538 parent 19739fef0203d2f3eecc9c4b1ef25b57d85f2b30 author Takashi Iwai Tue, 21 Mar 2006 11:24:42 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:40:14 +0100 [ALSA] hda-codec - Fix BIOS auto-configuration Modules: HDA Codec driver,HDA generic driver - Fix autoconfig speaker/hp detection Now it allows multiple speaker pins (e.g. Dell laptops have such config) - Use speaker or hp pins if no line-outs are available This fixes the silence output on recent Dell laptops with STAC9200 (ALSA bug#1843) - Fix analog/realtek/sigmatel autoconfig parser Signed-off-by: Takashi Iwai commit 19739fef0203d2f3eecc9c4b1ef25b57d85f2b30 tree 0c20e5f8ee03c0f4804175e5bc1299ad48c562f4 parent 01a00e5e421b3c40240781d67bb9fd5fd9b1f0f1 author Thibault LE MEUR Tue, 21 Mar 2006 11:06:40 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:40:10 +0100 [ALSA] Fixes typos in Audiophile-USB.txt Modules: Documentation Fixes typos in Audiophile-USB.txt. Signed-off-by: Thibault LE MEUR Signed-off-by: Takashi Iwai commit 01a00e5e421b3c40240781d67bb9fd5fd9b1f0f1 tree 1e3c5ce9cb61851f7961ac3ea7cf62350e0081b5 parent d8327c784b51b57dac2c26cfad87dce0d68dfd98 author Alan Horstmann Tue, 21 Mar 2006 09:57:36 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:40:07 +0100 [ALSA] ice1712 - typo fixes for dxr_enable module option Modules: ICE1712 driver Signed-off-by: Jaroslav Kysela commit d8327c784b51b57dac2c26cfad87dce0d68dfd98 tree 6a007aef75127c6f28768dbe987ba57608cb0943 parent 6682025e1220a1ab0b6b855b7805928c3163e043 author Sergei Shtylylov Mon, 20 Mar 2006 18:38:21 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:36 +0100 [ALSA] AMD Au1x00: make driver build after cleanup Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver doesn't build after the recent code cleanup: sound/mips/au1x00.c: In function 'au1000_setup_dma_link': sound/mips/au1x00.c:173: error: 'pointer' undeclared (first use in this function) sound/mips/au1x00.c:173: error: (Each undeclared identifier is reported only once sound/mips/au1x00.c:173: error: for each function it appears in.) sound/mips/au1x00.c: In function 'snd_au1000_hw_params': sound/mips/au1x00.c:339: warning: implicit declaration of function 'snd_mask_min' Signed-off-by: Takashi Iwai commit 6682025e1220a1ab0b6b855b7805928c3163e043 tree c028eb65984a5be22c273c4be9a1a4469bce3504 parent 878b4789196e3cd470f843854b6b09d963214659 author Takashi Iwai Mon, 20 Mar 2006 18:31:57 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:31 +0100 [ALSA] ice1712 - Fix wrong value types for enum items Modules: ICE1712 driver Fix the access to wrong type values for enum items in aureon.c (ALSA bug#1527). Signed-off-by: Takashi Iwai commit 878b4789196e3cd470f843854b6b09d963214659 tree 188c0aa202335575675ca4788c411e07b87c747e parent d61975fc6b40dadd2cd61fc9535499c7d7b806de author Jesper Juhl Mon, 20 Mar 2006 11:27:13 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:28 +0100 [ALSA] fix resource leak in usbmixer Modules: USB generic driver We may leak 'namelist' in sound/usb/usbmixer.c::parse_audio_selector_unit() Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai commit d61975fc6b40dadd2cd61fc9535499c7d7b806de tree a3203048ad4b84ba10b1337902d9d08010b902c7 parent e64d2e36236175a56fd1d8b2acd784e21bdc7de6 author Eugene Teo Fri, 17 Mar 2006 16:32:52 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:25 +0100 [ALSA] Fix gus_pcm dereference before NULL Modules: GUS Library The NULL check of substream is simply superfluous. It is guaranteed to receive non-NULL substream. Thanks Takashi. Coverity bug #861 Signed-off-by: Eugene Teo Signed-off-by: Takashi Iwai commit e64d2e36236175a56fd1d8b2acd784e21bdc7de6 tree e58d5a4e3f570aa46e66dc7d80ca524fc33d1b57 parent 825aa97241b46d2819c1db984c86a1a9df41b8e1 author Eugene Teo Fri, 17 Mar 2006 16:32:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:23 +0100 [ALSA] Fix seq_clientmgr dereferences before NULL check Modules: ALSA sequencer cptr->pool must be non-NULL there, so just the if (cptr->pool) is superfluous. Thanks Takashi. Signed-off-by: Eugene Teo Signed-off-by: Takashi Iwai commit 825aa97241b46d2819c1db984c86a1a9df41b8e1 tree a1d72e6fe2ca72f87846df605477454815b52fd9 parent db064e503419c32df463326a3891a973bb30582e author Takashi Iwai Fri, 17 Mar 2006 10:50:49 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:19 +0100 [ALSA] hda-codec - Fix for Samsung R65 and ASUS A6J Modules: Documentation,HDA Codec driver Added a new model 'laptop-eapd' to AD1986A codec for Samsung R65 and ASUS A6J laptops. Signed-off-by: Takashi Iwai commit db064e503419c32df463326a3891a973bb30582e tree 3ac89680d1db21cdf9498883f8dd8f39378fdecc parent c7a93b852bf9ffcf466b304fa3cfac8823f9b932 author Takashi Iwai Thu, 16 Mar 2006 16:04:58 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:16 +0100 [ALSA] hda-codec - Add support for VAIO FE550G and SZ110 Modules: Documentation,HDA Codec driver Add support for VAIO FE550G and SZ110 laptops with Sigmatel codec (7661). The new model 'vaio' is added. Signed-off-by: Takashi Iwai commit c7a93b852bf9ffcf466b304fa3cfac8823f9b932 tree ffec808d20a812bdb5008ac03484397f3f8226ef parent 9808dc962f6780ce7eac47c82400fede7f4a08b3 author Clemens Ladisch Thu, 16 Mar 2006 08:25:56 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:11 +0100 [ALSA] usb-audio: add Maya44 mixer control names Modules: USB generic driver Add mixer control names for the AudioTrak Maya44 USB. Signed-off-by: Clemens Ladisch commit 9808dc962f6780ce7eac47c82400fede7f4a08b3 tree b7e982a570634f550c22c218df7a86395c1e8827 parent a12606cff106335650f0e9382e87b0fb08733eff author Clemens Ladisch Thu, 16 Mar 2006 08:15:25 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:07 +0100 [ALSA] usb-audio: add Casio PL-40R support Modules: USB generic driver Add a quirk entry for the Casio PL-40R. Signed-off-by: Clemens Ladisch commit a12606cff106335650f0e9382e87b0fb08733eff tree 655c158943d1243c7c226aa53cbafbd8bb039073 parent 0a589d80191471754e6f6cab3015a879bca2f7d2 author Takashi Iwai Wed, 15 Mar 2006 18:24:43 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:04 +0100 [ALSA] hda-codec - Add model entry for FIC P4M-915GD1 Modules: HDA Codec driver Add model entry for FIC P4M-915GD1 with ALC880 codec. Signed-off-by: Takashi Iwai commit 0a589d80191471754e6f6cab3015a879bca2f7d2 tree 63db0413b3f1f6a18e67904ad3143f99f39ca2f3 parent a23446c085faed6c1c90fba5cdd21d6990871750 author Takashi Iwai Wed, 15 Mar 2006 14:08:20 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:53 +0100 [ALSA] ac97 - Clean up obsolete workarounds Modules: AC97 Codec Clean up obsolete workarounds provided only for nm256. Signed-off-by: Takashi Iwai commit a23446c085faed6c1c90fba5cdd21d6990871750 tree 4d02131ba11c33fd5fa35c59ef61143b2a6c5d82 parent 7c5706bb33687ce82f30d9ac06dd1bdf71b2262e author Florian Schlichting Wed, 15 Mar 2006 14:05:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:50 +0100 [ALSA] Fix NM256 hard lock up Modules: NM256 driver Treat the nm256 mixer as a write-only device so as to avoid hangs on initialisation. Signed-off-by: Florian Schlichting Signed-off-by: Takashi Iwai commit 7c5706bb33687ce82f30d9ac06dd1bdf71b2262e tree e27123653733102519235d209e5c4de6be206b4f parent 4ccb4a4387b3ed8c5a03862ef1e6f7be484ade25 author Takashi Iwai Wed, 15 Mar 2006 13:52:54 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:46 +0100 [ALSA] ac97 - Allow drivers to set static volume resolution table Modules: AC97 Codec Add the pointer to a static volume resolution table to ac97 template, so that the drivers can define the volume resolution, too. Signed-off-by: Takashi Iwai commit 4ccb4a4387b3ed8c5a03862ef1e6f7be484ade25 tree cb660b58f183cc2fd88695aa37e2015382d6eb4e parent e311334ee6bdd173d53be52f4fdffa5f39652e26 author Clemens Ladisch Wed, 15 Mar 2006 12:24:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:41 +0100 [ALSA] usb-audio: add MDP-5/EZ-J24 support Modules: USB generic driver Add support for the Yamaha MDP-5 and EZ-J24. Signed-off-by: Clemens Ladisch commit e311334ee6bdd173d53be52f4fdffa5f39652e26 tree b3c7a0f588ccb160b1d9446f0421be662f775033 parent ecefb192525c369dde67bf0addd4f96692a801c3 author Thibault LE MEUR Tue, 14 Mar 2006 11:44:53 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:38 +0100 [ALSA] Fixes audiophile usb analog capture with the new device_setup parameter Modules: Documentation,USB generic driver The patch adds the 'device_setup' module parameter and a specific quirk to correctly initialize the audiophile usb device: this fixes the distorted sound bug on the Analog capture port. Backward compatibility is achieved by simply omitting the new parameter. Signed-off-by: Thibault LE MEUR Signed-off-by: Takashi Iwai commit ecefb192525c369dde67bf0addd4f96692a801c3 tree 19e60bc0165a2adf95c24cf54d734445d08f2432 parent 202728d783a0fc180e7141d18186eeae167218a1 author Adrian Bunk Tue, 14 Mar 2006 11:16:26 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:34 +0100 [ALSA] sound/pci/ice1712/delta.c: make 2 functions static Modules: ICE1712 driver This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 202728d783a0fc180e7141d18186eeae167218a1 tree d24ca9a920cd92247b2f52f6512a73c317e545fb parent 3e964432f56f05a8ef639902796e476456b230ad author Adrian Bunk Tue, 14 Mar 2006 09:44:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:23 +0100 [ALSA] fix some memory leaks Modules: Generic drivers,ES18xx driver,CS46xx driver This patch fixes two memory leaks spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 3e964432f56f05a8ef639902796e476456b230ad tree 0381d74c7b1ecd90b856225b2b487d60cb9cfa85 parent ede3531e8ce2deb81e477e18d72ef10efeb20ebe author Clemens Ladisch Tue, 14 Mar 2006 08:06:12 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:20 +0100 [ALSA] usb-audio: add error message about missing split iso support Modules: USB generic driver Add an error message for -ENOSYS for situations when split iso support is needed but not enabled. Signed-off-by: Clemens Ladisch commit ede3531e8ce2deb81e477e18d72ef10efeb20ebe tree 21641ffcb4df768d88c934b755c10b4b860638f0 parent 5bab2482083077d1e14644db2546c54534156849 author Takashi Iwai Mon, 13 Mar 2006 14:21:16 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:17 +0100 [ALSA] hda-codec - Fix Aopen i915GMm-HFS mobo Modules: HDA Codec driver Add a model entry for Aopen i915GMm-HFS mobo with ALC880 codec. Signed-off-by: Takashi Iwai commit 5bab2482083077d1e14644db2546c54534156849 tree 5100dda7dfbe10844dae124c3171a61ada930f54 parent 3a63e44420932852efd6a7d6d46cdad4d427f880 author Adrian Bunk Mon, 13 Mar 2006 14:15:04 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:14 +0100 [ALSA] sound/pci/rme9652/hdspm.c: fix off-by-one errors Modules: RME9652 driver This patch fixes off-by-one errors found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 3a63e44420932852efd6a7d6d46cdad4d427f880 tree ccabe72933a23a2d8553d399128d7a35d4a21570 parent 646494007b48e8897888cd407c2b7d1d69cb2e58 author Adrian Bunk Mon, 13 Mar 2006 14:14:10 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:37:31 +0100 [ALSA] sound/core/: fix 3 off-by-one errors Modules: ALSA Core This patch fixes three off-by-one errors found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 646494007b48e8897888cd407c2b7d1d69cb2e58 tree 02d72d5f844ecb0ce3c25b1b8401ca3b172fa866 parent 9230d2148a0c53188c216b446cf17ea213ebca8a author Giuliano Pochini Mon, 13 Mar 2006 14:11:11 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:37:23 +0100 [ALSA] make control.c suspend aware Modules: Control Midlevel This patch prevents user-space apps from accessing the hardware via control interface while the soundcard is suspended. Signed-off-by: Giuliano Pochini Signed-off-by: Takashi Iwai commit 9230d2148a0c53188c216b446cf17ea213ebca8a tree 167c6b63a384bb40e1778756c572683f8cfbcd55 parent 0110f50b6eb7a833f0e1e4e9a58d04a03d58939c author Takashi Iwai Mon, 13 Mar 2006 13:49:49 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:37:20 +0100 [ALSA] hda-codec - Fix support of laptops with AD1986A codec Modules: Documentation,HDA Codec driver Fix the support of laptops with AD1986A HD-audio codec. Added new models '3stack' and 'laptop'. Currently, fixed for FSC V2060 and Samsung M50. Also fixed the description of missing models in ALSA-Configuration.txt. Signed-off-by: Takashi Iwai commit 0110f50b6eb7a833f0e1e4e9a58d04a03d58939c tree 293468e84d490ca629be30c23e35994f17a4d314 parent 318d27f8b424ec9e025aafe4bffa00aab5993f2f author Clemens Ladisch Mon, 13 Mar 2006 10:36:44 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:37:10 +0100 [ALSA] bt87x: add more DVB card IDs Modules: BT87x driver Add more PCI subsystem IDs of DVB cards to the blacklist of cards the driver is to ignore. Signed-off-by: Clemens Ladisch commit 318d27f8b424ec9e025aafe4bffa00aab5993f2f tree 8d21960b210cf73535763ba3c91e72b703110692 parent 32e19e882c722b41f37e90956bf12eacdaba6f2b author Clemens Ladisch Thu, 09 Mar 2006 08:17:08 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:53 +0100 [ALSA] usb-audio: change Casio quirk product name Modules: USB generic driver Use a generic name for USB device 0x07cf:0x6802 because this ID is used by several devices without a product ID. Signed-off-by: Clemens Ladisch commit 32e19e882c722b41f37e90956bf12eacdaba6f2b tree 037597e64ca2cf4545264fbc29247af97c859da2 parent 0243ef71acc0b5bd734b511ae6d9b4b481c1dc5e author Clemens Ladisch Thu, 09 Mar 2006 07:58:39 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:37 +0100 [ALSA] usb-audio: show USB error descriptions Modules: USB generic driver When usb_submit_urb() fails, show an error description instead of just the error code. Signed-off-by: Clemens Ladisch commit 0243ef71acc0b5bd734b511ae6d9b4b481c1dc5e tree d31243f7a02f84c9abb8dbb1f19bd3c36d7da004 parent c1fc8047310c9d3147f9521af651a5823a72d218 author Clemens Ladisch Thu, 09 Mar 2006 07:55:55 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:29 +0100 [ALSA] usb-audio: add Casio AP-80R support Modules: USB generic driver Add a quirk for the Casio AP-80R. Signed-off-by: Clemens Ladisch commit c1fc8047310c9d3147f9521af651a5823a72d218 tree 5346714f22351e75ee8647970f334e0d38695ed8 parent 5e315e9248329c53a8932b71532c28240125e3c4 author Takashi Iwai Mon, 06 Mar 2006 14:17:31 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:18 +0100 [ALSA] Add default entry for CTL Travel Master U553W Modules: HDA Codec driver Added the default entry of ALC880 configuration table for CTL Travel Master U553W. Signed-off-by: Takashi Iwai commit 5e315e9248329c53a8932b71532c28240125e3c4 tree b04a95d8f4aab4be44a3b19d4ace4f9337e4de11 parent 3de4414e798795ef5d719622dbf12bbe27a9e72e author Dave Jones Mon, 06 Mar 2006 14:03:37 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:15 +0100 [ALSA] Fix use after free in opl3_seq and opl3_oss Modules: OPL3 Don't read from free'd memory. Also make use of the return value, and don't register the device if something went wrong creating the port. Coverity #954, #955 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit 3de4414e798795ef5d719622dbf12bbe27a9e72e tree b7724eee842c7d33a8e322cab839da0ea3abc336 parent bcc54f9a563f146e723ead16c76f842bcaeb694e author Dave Jones Mon, 06 Mar 2006 13:31:18 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:08 +0100 [ALSA] ad1848 double free Modules: AD1848 driver Same again, snd_ctl_add() already kfree's on error. Coverity #956 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit bcc54f9a563f146e723ead16c76f842bcaeb694e tree 73a31717b1fb3d2b24f1d54c2b2684f90f51b99d parent c27e8c591854ef349fdf5bec777355dae04bb48f author Dave Jones Mon, 06 Mar 2006 13:28:34 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:35:57 +0100 [ALSA] sound/isa/sb/sb_mixer.c double kfree Modules: SB drivers snd_ctl_add() already does the free on error. Coverity bug #957 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit c27e8c591854ef349fdf5bec777355dae04bb48f tree 6f5903766b7aebb3221b0b7838502ea0140c332d parent a2df813beab42740fa8043b3fdc9e1d15784b9ec author Dave Jones Mon, 06 Mar 2006 13:27:39 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:35:23 +0100 [ALSA] emu10k1_synth use after free Modules: EMU10K1/EMU10K2 driver Thou shalt not dereference freed memory. Coverity bug #958 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit a2df813beab42740fa8043b3fdc9e1d15784b9ec tree 70b83d5edd48ad5a4649e7bb5a3bf3e8ab4fd07b parent 4fcf0117d599965a5916985c9923776628e16779 author Dave Jones Mon, 06 Mar 2006 13:26:10 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:35:19 +0100 [ALSA] fix usbmixer double kfree Modules: USB generic driver snd_ctl_add() kfree's the kcontrol already if we fail there, so this driver is currently doing a double kfree. Coverity bug #959 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit 4fcf0117d599965a5916985c9923776628e16779 tree 7f6fb745a336a762bbccad421ab1a3b605f395c3 parent ac57b84984859f3e1d567c031556d3de872c1a91 author Takashi Iwai Mon, 06 Mar 2006 13:25:14 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:35:00 +0100 [ALSA] emu10k1 - Add the entry for Audigy4 SB0400 Modules: EMU10K1/EMU10K2 driver Added the missing card entry for Audigy4 SB0400 model. Signed-off-by: Takashi Iwai commit ac57b84984859f3e1d567c031556d3de872c1a91 tree 28f253e63b2d136db78f9ff115ab5e8d6f1fbbdc parent 1037593c8be9551d5a7835703bcaf6073ffb7ec2 author Alexey Dobriyan Mon, 06 Mar 2006 13:21:30 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:34:50 +0100 [ALSA] vx - Fix memory leak on error path Modules: Digigram VX core Noticed by Eric Sesterhenn on kernel-janitors@ Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 1037593c8be9551d5a7835703bcaf6073ffb7ec2 tree c2eef278415b13c2854b8bcff9868efb7a321e4f parent ae6b813a4dbba2713df497c032798b845289653f author David Vrabel Fri, 03 Mar 2006 18:01:57 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:34:45 +0100 [ALSA] CS5535: shorter delays when accessing AC'97 codec registers Modules: CS5535 driver The 10 ms sleeps while waiting for AC'97 codec register reads/writes to complete are excessive given the maxmium time is one AC'97 frame (~21 us). With AC'97 codecs with integrated touchscreens (like the UCB1400) this improves the interactive performance of the touchscreen. Signed-off-by: David Vrabel Signed-off-by: Takashi Iwai commit ae6b813a4dbba2713df497c032798b845289653f tree 2806de741935a48d56b197c7ce1568ea755f0fbd parent b3b0abe11d606fa2344793edd3d69b98b430b0d4 author Takashi Iwai Fri, 03 Mar 2006 16:47:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:34:28 +0100 [ALSA] hda-codec - Add lg model for LG laptop Modules: Documentation,HDA Codec driver Added a new model 'lg' for LG laptop (m1 express dual) with ALC880 codec. Also clean up the initialization/unsol_event hooks in patch_realtek.c. Signed-off-by: Takashi Iwai commit b3b0abe11d606fa2344793edd3d69b98b430b0d4 tree d2be6f908ad42ce511b61beb5e5afa356ca1dcd2 parent 0b7bed4ec2a16434336e018505b66bd51bb35560 author Clemens Ladisch Fri, 03 Mar 2006 14:08:43 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:34:24 +0100 [ALSA] return ENODEV for disconnected devices Modules: ALSA Core Add dummy functions that return -ENODEV for the struct file_operations of a disconnected device. Without such functions, userspace would get ENOTTY. Signed-off-by: Clemens Ladisch commit 0b7bed4ec2a16434336e018505b66bd51bb35560 tree 9541864c0573b6a7c89f8a3132290ca76f9889ad parent a7ee8201a507fe1f89f0e5fc32516daed6621ffd author Takashi Iwai Thu, 02 Mar 2006 15:35:55 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:52 +0100 [ALSA] Fix typos in document Modules: Documentation Fixed typos in document. Signed-off-by: Takashi Iwai commit a7ee8201a507fe1f89f0e5fc32516daed6621ffd tree 0d100af8094c68f69001275b6a01926733a71532 parent 18a815d7426986890b88078ea63b77732baca0b5 author Takashi Iwai Wed, 01 Mar 2006 20:05:39 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:48 +0100 [ALSA] Fix missing AD1986a capsrc Modules: HDA Codec driver Fix missing AD1986a capsrc setting in the last patch. Signed-off-by: Takashi Iwai commit 18a815d7426986890b88078ea63b77732baca0b5 tree 1a84c05352aca5cd177c67db5afab97add0d6907 parent 42611c02ac31e44abd53893209460ce60205cb8e author Takashi Iwai Wed, 01 Mar 2006 19:54:39 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:44 +0100 [ALSA] hda-codec - Fix AD198x recording and add HP model Modules: HDA Codec driver - Fixed recording of AD1981HD/AD1983/AD1986A - Added model 'hp' to AD1981HD for HP nx6320 Signed-off-by: Takashi Iwai commit 42611c02ac31e44abd53893209460ce60205cb8e tree 557cf58e2513025f119eb130e79b6189f8d5e125 parent ed345f8f8630d6a3f52d899e181968e2bf8e4be8 author Takashi Iwai Wed, 01 Mar 2006 19:52:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:40 +0100 [ALSA] via82xx - Add dxs entry for ASRock mobo Modules: VIA82xx driver Add dxs_support entry for ASRock mobo. Signed-off-by: Takashi Iwai commit ed345f8f8630d6a3f52d899e181968e2bf8e4be8 tree 350b6767fc19cee7aeb35c1fa395f21d729cbe2f parent 834be88d136ee82828e3ce1b34fa7a1dcf947b81 author Takashi Iwai Wed, 01 Mar 2006 14:16:53 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:34 +0100 [ALSA] Update description of hda-intel models Modules: Documentation Updated the description of hda-intel models for realtek codecs. Signed-off-by: Takashi Iwai commit 834be88d136ee82828e3ce1b34fa7a1dcf947b81 tree 03cc02d74cbc548c50616494de00f6e598a54f2c parent 381e3cda682abcef2acd7828e9639f4ceb95880f author Takashi Iwai Wed, 01 Mar 2006 14:16:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:31 +0100 [ALSA] hda-codec - Fix ALC262 for Fujitsu laptop Modules: HDA Codec driver,HDA generic driver Add 'fujitsu' model for ALC262 patch to support a FSC laptop. The internal speaker is turned on/off with jack sensing. Also fixed alc262 'basic' model. Signed-off-by: Takashi Iwai commit 381e3cda682abcef2acd7828e9639f4ceb95880f tree 52dd58d25d62a5df2d4a09c74fe9eecd634a4a01 parent 92621f130e60da865de2f5aa6d3dec2ee844b803 author Doug McLain Tue, 28 Feb 2006 11:53:06 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:28 +0100 [ALSA] ice1712 - Fix wordclock status on Delta1010LT Modules: ICE1712 driver I posted this patch to bug 1806 a while back, and have been awaiting a reply or commit. It currently reports the Locked/No Signal text backwards in envy24control, since i was using an older version of envy24control when I wrote the original code. The Locked/No Signal test was recently reversed in envy24control cvs, so the test in my code needs to be reversed as well. Here is the patch, once again. Signed-off-by: Takashi Iwai commit 92621f130e60da865de2f5aa6d3dec2ee844b803 tree fe71236c72e42e83de065983035bfd3d66e6cd7f parent f7ace40d14c46dca9a12ab753677adc17b1b906c author Jonathan Woithe Tue, 28 Feb 2006 11:47:47 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:59 +0100 [ALSA] HDA/ALC260: 7/7 - add SPDIF enable to test model Modules: HDA Codec driver This patch adds mixer controls to the 'test' ALC260 model which allow the user to selectively enable or disable the SPDIF output pins. This should assist people identify digital outputs on machines which bring them to the outside world. Note that while the patch *should* work, I cannot personally verify it since my laptop doesn't bring the SPDIF lines out. As for the GPIO switches added in patch 4, these controls are currently only compiled in if debug mode is selected. Signed-off-by: Takashi Iwai commit f7ace40d14c46dca9a12ab753677adc17b1b906c tree 371c88a7739e78996f396ce9fc5203b0cee5798a parent 0bfc90e95946ac420e2de049707232ce18ddeba9 author Jonathan Woithe Tue, 28 Feb 2006 11:46:14 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:56 +0100 [ALSA] HDA/ALC260: 6/7 - Fujitsu/test model tweaks Modules: HDA Codec driver This patch is janitorial - it cleans up a number of cosmetic issues with the 'fujitsu' and 'test' models. Issues addressed: * spaces instead of tabs used for some indents, * clarified/corrected selected comments. Unlike a patch from earlier this week, this keeps both ADCs connected to the mic1 pin widget by default. I believe this is the better default, since some laptops don't bring the line1 widget to the outside world. Most (if not all) do bring mic1 out though, so it seems to me that this default should remain in place. Signed-off-by: Takashi Iwai commit 0bfc90e95946ac420e2de049707232ce18ddeba9 tree c4e7f3c41db0cb4b9288e7d44de2a2056c762a7e parent 5c8f858d71054960f08c46703a3f0fb36a752079 author Jonathan Woithe Tue, 28 Feb 2006 11:45:11 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:53 +0100 [ALSA] HDA/ALC260: 5/7 - add 'acer' model Modules: HDA Codec driver This patch adds a new 'acer' model. It is based on work by Rimas and many other dedicated Acer owners over the past few weeks (see bug number 1618) - kudos to them. This adds support for a variety of Acer laptops, although we are still in the process of collecting pci/subsystem IDs to add. There are still some potentially outstanding issues: there are reports that the CD control might not yet be functional for example. However, the time is probably right to get a 'first cut' into the kernel which can be refined as more test reports come in. From the reports by various Acer owners, this code allows them to record from internal mics and external jacks. Playback also seems to work to all external jacks and the internal speaker. The 'beep' control doesn't appear functional at the moment. This patch depends on the changes made in patch 3/7. Signed-off-by: Takashi Iwai commit 5c8f858d71054960f08c46703a3f0fb36a752079 tree 926bb7a5d62b691a52f108f8027160e3524dcc0e parent d57fdac0691d500d5c697e452f769335b22a75e3 author Jonathan Woithe Tue, 28 Feb 2006 11:43:27 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:49 +0100 [ALSA] HDA/ALC260: 4/7 - add GPIO switches to test model Modules: HDA Codec driver This patch adds 'test' model mixer switches for the GPIO controls found on the ALC260. It has been found that some laptops (eg: Acer) can use these to enable particular controls, so it would be useful to have access to these via the 'test' model. It will make testing new models easy, especially if certain outputs cannot be made to work any other way. This patch *should* work, but because the GPIO pins don't do anything in my laptop I cannot personally verify that all this works as expected. Signed-off-by: Takashi Iwai commit d57fdac0691d500d5c697e452f769335b22a75e3 tree 1be0bd7b599278b88eee0f838bc89e6417ae3dc7 parent cdcd9268a1b03c6695ea07983ce029b2b4a099d8 author Jonathan Woithe Tue, 28 Feb 2006 11:38:35 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:24 +0100 [ALSA] HDA/ALC260: 3/7 - generalise some structures Modules: HDA Codec driver This patch generalises a structure added for the 'fujitsu' model but which is potentially useful for other models as well. It turns the 'alc260_fujitsu_adc_nids' array into 'alc260_dual_adc_nids'; for other models which decide to utilise the dual ADC functionality there's really no reason why they need to define their own list of ADC nids. The 'fujitsu' model preset is adjusted accordingly. Signed-off-by: Takashi Iwai commit cdcd9268a1b03c6695ea07983ce029b2b4a099d8 tree afe683a99ef1db2e092fcd595327f9f27790e195 parent 17e7aec680a252ec0cea6d886d3983319af43ac4 author Jonathan Woithe Tue, 28 Feb 2006 11:36:42 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:10 +0100 [ALSA] HDA/ALC260: 2/7 - switch pin buffer enables Modules: HDA Codec driver This patch adds functionality which switches the input/output buffer enables of retasking pins when the user changes their mode with the mode control. This probably reduces noise *slightly* for recording compared to the case where both input and output buffers were enabled simultaneously. Signed-off-by: Takashi Iwai commit 17e7aec680a252ec0cea6d886d3983319af43ac4 tree 001e34af913d15c65997132597497e5090fd0af5 parent 2a578f3b4c5dbac4828de52e72bb79f3e9f4d1a2 author Jonathan Woithe Tue, 28 Feb 2006 11:35:18 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:56 +0100 [ALSA] HDA/ALC260: 1/7 - Fix test model input mux label Modules: HDA Codec driver This patch fixes input mux labels used for the ALC260 'test' model. This is needed to avoid confusion which comes about because the two ADCs in the ALC260 have slightly different mappings for their input selectors. Since this is just the test model it's sufficient to simply report both options where they exist. If a model comes along for which this becomes an issue, the ALC260 input mux code will have to be extended to allow different mux layouts for different ADCs. Signed-off-by: Takashi Iwai commit 2a578f3b4c5dbac4828de52e72bb79f3e9f4d1a2 tree e1fffa1a7c55bfcb23353b41063e9d5b3b57cf0f parent 0bbbc4ca7e2459f2750bd4bd8dda2ccbf7a71f02 author Jesper Juhl Mon, 27 Feb 2006 18:35:46 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:45 +0100 [ALSA] Don't NULL check vfree argument in pdaudiocf_pcm.c Modules: PDAudioCF driver Don't check pointers passed to vfree for null in pdaudiocf_pcm.c Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai commit 0bbbc4ca7e2459f2750bd4bd8dda2ccbf7a71f02 tree 110852fee061c6143b98105ff6aff2a8fc01eb08 parent a5a6bbd9b2481dd556236ea866424590f5f987a4 author Takashi Iwai Mon, 27 Feb 2006 17:23:46 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:40 +0100 [ALSA] opti9x - Fix compile without CONFIG_PNP Modules: Opti9xx drivers Fix compile errors without CONFIG_PNP. Signed-off-by: Takashi Iwai commit a5a6bbd9b2481dd556236ea866424590f5f987a4 tree 1a7952d9654d7f9d26b4681dc295cee10ac71813 parent 62f09c3d321c82981ae3f2dd7e32bc4c73379a7e author Takashi Iwai Mon, 27 Feb 2006 17:20:41 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:37 +0100 [ALSA] cs4236 - Fix a typo Modules: CS4236+ driver Fixed a typo in snd_cs4236_put_master_digital(), resulting in silence right channel. Signed-off-by: Takashi Iwai commit 62f09c3d321c82981ae3f2dd7e32bc4c73379a7e tree 0faf32e373caaf63f53cc2ae9f03b80379620753 parent 62c5549ee246fa30606f918f97c6b3cde2831292 author Clemens Ladisch Mon, 27 Feb 2006 09:53:03 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:19 +0100 [ALSA] usb-audio: optimize snd_usbmidi_count_bits() Modules: USB generic driver Reduce the code size of the snd_usbmidi_count_bits() function by using simpler operations. Signed-off-by: Clemens Ladisch commit 62c5549ee246fa30606f918f97c6b3cde2831292 tree c991edcae8796f149cf4d80986334ff0d78d7bc0 parent e661d0ddc58740eca41313fbb01f1612ff9c7878 author Takashi Iwai Wed, 22 Feb 2006 17:14:34 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:30:58 +0100 [ALSA] Fix sleep in atomic in virmidi driver Modules: ALSA sequencer Debug: sleeping function called from invalid context at /usr/src/linux/include/linux/rwsem.h:43 in_atomic():1, irqs_disabled():0 [] snd_seq_deliver_event+0xb4/0x1a8 [snd_seq] [] snd_seq_kernel_client_dispatch+0x6c/0x7c [snd_seq] [] snd_virmidi_output_trigger+0xca/0xe5 [snd_seq_virmidi] Signed-off-by: Takashi Iwai commit e661d0ddc58740eca41313fbb01f1612ff9c7878 tree 379123cc50943ec923bd19952880b694ff3daac0 parent 8278ca8feb2748cf02d756ac6c5b9ab2e047c84a author Takashi Iwai Tue, 21 Feb 2006 14:14:50 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:30:48 +0100 [ALSA] pcm - Move PAUSE ioctl to common ioctl handler Modules: PCM Midlevel Moved PAUSE ioctl to the common ioctl handler. A capture stream may issue PAUSE, too. Signed-off-by: Takashi Iwai commit 8278ca8feb2748cf02d756ac6c5b9ab2e047c84a tree a58ddfa8d7ac897c02e4ba3bda9b77e278348fbf parent 1a56f8d662ec7fc86f2c408d289fa07cdb781746 author Takashi Iwai Mon, 20 Feb 2006 11:57:34 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:30:43 +0100 [ALSA] Fix check of enable module option Fix the check of enable module option in probe of platform_device drivers. It shouldn't break the loop but just ignore if enable[i] is false. Signed-off-by: Takashi Iwai commit 1a56f8d662ec7fc86f2c408d289fa07cdb781746 tree 98093268b0feacbb9d69492113a688dfedacaf4f parent 111d3af5f5fbf0e28570f1c01e83444d73c68a25 author Takashi Iwai Thu, 16 Feb 2006 19:51:10 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:30:14 +0100 [ALSA] hda-intel - Auto-correction of the DMA position mode Modules: HDA Intel driver Switch the method to measure the current DMA position automatically from position-buffer mode to LPIB-read mode with a sanity check. Some hardwares seems to have problem with the position buffer. Signed-off-by: Takashi Iwai commit 111d3af5f5fbf0e28570f1c01e83444d73c68a25 tree 4679b8c2336c475016cd19c81263df0347741684 parent 353b9e667042d6faa15a41df022bf38c949a7b2f author Takashi Iwai Thu, 16 Feb 2006 18:17:58 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:53 +0100 [ALSA] hda-intel - Automatic correction to single_cmd mode Modules: HDA Codec driver,HDA Intel driver Switch to single_cmd mode automatically as a fallback when CORB/RIRB communication doesn't work well. It may make the driver working on some devices with broken BIOS/ACPI support. Signed-off-by: Takashi Iwai commit 353b9e667042d6faa15a41df022bf38c949a7b2f tree 0cc21e898d83639764710e18ab3974cf51ec4c76 parent 253b999f5a620be81db4cfa31f76873b639ec9a2 author Takashi Iwai Thu, 16 Feb 2006 18:16:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:50 +0100 [ALSA] hda-codec - Add missing model entries for Intel 945 boards Modules: HDA Codec driver Added the missing entries for Intel 945 boards. Signed-off-by: Takashi Iwai commit 253b999f5a620be81db4cfa31f76873b639ec9a2 tree 9e329b3739d520989e5ca121bc100bdb7a7cce44 parent f7004f3975591f3d4cdf457f879e9ede57394500 author Jaroslav Kysela Wed, 15 Feb 2006 13:31:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:29 +0100 [ALSA] intel8x0 - wait for ICH_RESETREGS Modules: Intel8x0 driver It seems that hardware requires some time to reset bus master registers. We need to wait until ICH_RESETREGS bit is not released. The suggestion and symptom was described by Mike Gorchak . Signed-off-by: Jaroslav Kysela commit f7004f3975591f3d4cdf457f879e9ede57394500 tree c667bebd8b7c371aeda892946f41298d54b95682 parent 9c4be3d334808d1dedea7db0ae84759bfac8e18e author Jaroslav Kysela Fri, 10 Feb 2006 08:42:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:25 +0100 [ALSA] ice1712 - Delta 1010LT S/PDIF fixes Modules: ICE1712 driver See ALSA bug#1806 for details. Signed-off-by: Jaroslav Kysela commit 9c4be3d334808d1dedea7db0ae84759bfac8e18e tree 3071bf879319c0525c33a7586b18763956f15645 parent dbc967760b075aef3b181deda6639d73bbd0ad07 author Jesper Juhl Thu, 09 Feb 2006 20:04:16 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:21 +0100 [ALSA] no need to check pointers passed to vfree() for NULL Modules: Digigram VX core,USB generic driver There's no need to check pointers passed to vfree() for NULL. Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai commit dbc967760b075aef3b181deda6639d73bbd0ad07 tree bf6ae2fe737e20ad1a38d2656adc0a747f88504c parent d08a23e2509e8e80637b4dfa5607ea00b9151b0a author Takashi Iwai Thu, 09 Feb 2006 16:29:44 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:07 +0100 [ALSA] ac97 - Remove duplicated entry in lm4550_restbl Modules: AC97 Codec Removed the duplicated entry in lm4550_restbl. Signed-off-by: Takashi Iwai commit d08a23e2509e8e80637b4dfa5607ea00b9151b0a tree c5bdea37ac173c092dd6db73ef519c4aad699d84 parent bd84b0cc99d267d6512f01a55af7dbb673f784af author Ken Arromdee Thu, 09 Feb 2006 13:50:26 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:58 +0100 [ALSA] ad1816a - Fix PCM trigger direction Modules: AD1816A driver Fixed the bug of capture with Shark Predator ISA resulting in: arecord: pcm_read:1196: read error: Input/output error Signed-off-by: Takashi Iwai commit bd84b0cc99d267d6512f01a55af7dbb673f784af tree a301b2331599f38fea09751cf0d86d7d6622c806 parent 7cf51e48315d87b4c1cf600d611894f45f661142 author Takashi Iwai Thu, 09 Feb 2006 12:04:36 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:53 +0100 [ALSA] via82xx - Add dxs entry for FSC Amilo L7300 Modules: VIA82xx driver Added dxs_support entry for FSC Amilo L7300. Signed-off-by: Takashi Iwai commit 7cf51e48315d87b4c1cf600d611894f45f661142 tree 1c3d85f27af4d79ad146f7cbcc21aaae1057a766 parent 8b33a5aa08c4e462360d812386dcecc0467efd7b author Jonathan Woithe Thu, 09 Feb 2006 12:01:26 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:50 +0100 [ALSA] hda: ALC260 test model implementation Modules: HDA Codec driver The following patch adds a 'test' ALC260 model specification to the patch_realtek.c driver if CONFIG_SND_DEBUG is set. This is similar to the 'test' ALC880 model in that it sets up mixer controls for almost everything to make it easier for people to test their laptop/soundcard when working out what pin widgets are connected to which real-world devices. This patch assumes my previous patch (adding the second PCM to the ALC260) has previously been applied since it uses infrastructure added by that patch. In developing this patch it was found that not all retasking pins accept all the modes - in particular, some ignore the VREFxx variants. The pin mode control has therefore been tweaked to prevent this becoming a problem in mixer applications. Signed-off-by: Takashi Iwai commit 8b33a5aa08c4e462360d812386dcecc0467efd7b tree 5f26737c19b39b64bce53e5f5de44549db0ea686 parent 4c5186ed6b25278df595edf2d355ee87b00c4426 author Takashi Iwai Thu, 09 Feb 2006 11:57:01 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:46 +0100 [ALSA] hda: minor correction to fujitsu ALC260 initverbs Modules: HDA Codec driver Jonathan Woithe The following patch changes the initverbs associated with the output sum widgets 0x08, 0x09 and 0x0a used with the fujitsu model in patch_realtek.c. It is against alsa 1.0.11rc3. Currently these widgets have their output muted, but a close reading of the datasheet suggests that they don't actually have an output mute. They have an *input* mute for each of their two inputs and a single output gain. This patch therefore activates the input mutes and zeros the output gain. It has not yet been tested but the above interpretation of the ALC260 datasheet seems correct. Signed-off-by: Takashi Iwai commit 4c5186ed6b25278df595edf2d355ee87b00c4426 tree 1114da4875d4925213e9c99d59dadf7673693900 parent ba22429d3ea3b9945735b88d4dde74711171ffab author Jonathan Woithe Thu, 09 Feb 2006 11:53:48 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:42 +0100 [ALSA] hda: add PCM for 2nd ADC on ALC260 Modules: HDA Codec driver The following patch against alsa 1.0.11rc3 creates a PCM device (pcm1c) for the second ADC present on the ALC260 codec used by the hda driver. It also defines a new mixer control allowing the mode of retasking pins to be set; this means a user can (for example) designate the headphone jack to be a second input. With this patch in place it is possible to do 4 channel recording on laptops equipped with an ALC260 codec assuming both a stereo line-in jack is provided in addition to a headphone jack. Mixer controls are provided to allow the headphone jack to be switched as an input. In addition, an (input only) mode control is configured for the line-in jack to allow a bias voltage to be requested (VREF80 or VREF50) so headsets based on condensor microphones have a chance of working. This patch has been tested on a Fujitsu S7020 laptop and as such these features are currently only configured for the 'fujitsu' model. Signed-off-by: Takashi Iwai commit ba22429d3ea3b9945735b88d4dde74711171ffab tree 7b25c97061ca0c218e374620f341d5e988d48690 parent 50dabc2d1139ba01362418874152aeeb591a4544 author Charl Coetzee Thu, 09 Feb 2006 11:48:21 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:39 +0100 [ALSA] ac97 - Added a codec patch for LM4550 Modules: AC97 Codec Added a codec patch for LM4550. It sets up a static volume resolution table. Signed-off-by: Takashi Iwai commit 50dabc2d1139ba01362418874152aeeb591a4544 tree 8ade72febf95b39a69579db2ee7e7e066506990c parent b2b8229dde970b95e407d90a140e8a8753e1f0f6 author Takashi Iwai Thu, 09 Feb 2006 11:45:20 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:34 +0100 [ALSA] ac97 - Add support of static resolution tables Modules: AC97 Codec Added the support of static resolution table support for codecs that the driver cannot probe the volume resolution properly. The table pointer should be set in each codec patch. Signed-off-by: Takashi Iwai commit b2b8229dde970b95e407d90a140e8a8753e1f0f6 tree fa3d5aadbf493affefe0eb2bb610a7789e020611 parent abf58f095525c0e46b4ee64a4f9c2084b4c08f4c author Clemens Ladisch Wed, 08 Feb 2006 12:38:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:31 +0100 [ALSA] usb-audio: add Miditech Play'n Roll support Modules: USB generic driver Add a quirk entry for the Miditech Play'n Roll. Signed-off-by: Clemens Ladisch commit abf58f095525c0e46b4ee64a4f9c2084b4c08f4c tree bd7aa76d5dc8f33385121e7dfe3846ebd13c3dea parent 531af46279fe113f9e41bd5167c8868c936813b5 author Jaroslav Kysela Wed, 08 Feb 2006 09:10:36 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:29 +0100 [ALSA] bt848 - added Leadtek Winfast tv 2000xp delux to whitelist Modules: BT87x driver - added 0x107d:0x6606 to whitelist - print also the pci device ID for developers when model is not known Signed-off-by: Jaroslav Kysela commit 531af46279fe113f9e41bd5167c8868c936813b5 tree d2eb57fb88a15f2fcbfe8bb88066de92d4f93aea parent cc7a59bd8dcee9b01e0c9ab21380071f0ae6ef0d author Alan Horstmann Wed, 08 Feb 2006 07:40:33 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:25 +0100 [ALSA] ice1712 - disable unused ADCs & DACs on DMX6fire Modules: ICE1712 driver Change the value written to hardware configuration register of envy24 chip in the case of Terratec DMX6fire to restrict the active ADCs & DACs to 6. Also add the dxr_enable module option to eventually leave the old behaviour when user requests. Signed-off-by: Alan Horstmann Signed-off-by: Jaroslav Kysela commit cc7a59bd8dcee9b01e0c9ab21380071f0ae6ef0d tree 0b0a9b2c18b2a71d7cc9788b78c27e0a849fbd59 parent e957ebf164e880ddb0c057418195db47d013c4ac author Clemens Ladisch Tue, 07 Feb 2006 17:11:06 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:22 +0100 [ALSA] usb-audio: rename QUIRK_MIDI_MIDITECH to QUIRK_MIDI_CME Modules: USB generic driver Rename QUIRK_MIDI_MIDITECH to QUIRK_MIDI_CME because Miditech keyboards are built by CME and use the same protocol, and don't force a Miditech product name for the USB ID used by both Miditech and CME UF-x keyboards. Signed-off-by: Clemens Ladisch commit e957ebf164e880ddb0c057418195db47d013c4ac tree 63f4315f81246869a8eb0da48be4c33315cdb7aa parent 2ba8c15c738b64b4d3acaace1e19750362ff2b69 author Jaroslav Kysela Thu, 02 Feb 2006 07:56:54 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:15 +0100 [ALSA] ice1712 & cs8427 - fix problem for S/PDIF input setup Modules: I2C cs8427,ICE1712 driver See ALSA bug#1785 for more details. Signed-off-by: Jaroslav Kysela commit 2ba8c15c738b64b4d3acaace1e19750362ff2b69 tree 14407aac8fe77a92424b6df73f0c3e39d83c7fc7 parent ea50888d83cfb797ff7efadedc033b33bc2064bc author Takashi Iwai Tue, 31 Jan 2006 14:44:28 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:12 +0100 [ALSA] Removed unneeded page-reserve Modules: Memalloc module Removed unneeded page-reservation. Signed-off-by: Takashi Iwai commit ea50888d83cfb797ff7efadedc033b33bc2064bc tree 4801bba08731591c9f2d7d41506a37552de9e75e parent c82590d2b2877ec846c5313ea897420209b91ea7 author Takashi Iwai Mon, 23 Jan 2006 15:49:18 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:06 +0100 [ALSA] Use dma_alloc_coherent() hack on i386 only Modules: Memalloc module Use dma_alloc_coherent() hack on i386 only (as a valid arch). Signed-off-by: Takashi Iwai commit c82590d2b2877ec846c5313ea897420209b91ea7 tree 1fff44f8e7912cd2f49051749a57299184f69ff4 parent d6ec894b6d6bf12885a34a4667bccb7f67e2916c author Takashi Iwai Fri, 20 Jan 2006 17:13:45 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:02 +0100 [ALSA] Fix mulaw -> linear conversion in OSS PCM emulation Modules: ALSA<-OSS emulation Fixed the missing mulaw -> linear conversion in OSS PCM emulation code. Signed-off-by: Takashi Iwai commit d6ec894b6d6bf12885a34a4667bccb7f67e2916c tree be06767c003a9fc8b3b336832baa663bc5c2de85 parent 119c4ff52e5250a476054e6faca9a85422a0402b author Takashi Iwai Fri, 20 Jan 2006 14:05:06 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:27:20 +0100 [ALSA] Add the notes on PM to ens1370/ens1371 sections Modules: Documentation Add the notes on PM to ens1370/ens1371 sections. Signed-off-by: Takashi Iwai commit 119c4ff52e5250a476054e6faca9a85422a0402b tree c2b9caba90642c0d403770fe366edb84cd61d83d parent 05422575d4bc5d1a6aff22dfa9a0b5bc701ccf6f author Clemens Ladisch Thu, 19 Jan 2006 08:25:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:27:14 +0100 [ALSA] usb-audio: add UM-1EX/UM-2EX information Modules: USB generic driver Add comments with information about UM-1EX/UM-2EX devices. Signed-off-by: Clemens Ladisch commit 05422575d4bc5d1a6aff22dfa9a0b5bc701ccf6f tree 539acb98fe1d679f295944e3c0c950ff741a40ab parent 3f72a30ccfd5054c01fc3bb0d37241df5380a54c author Clemens Ladisch Wed, 18 Jan 2006 15:44:53 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:27:10 +0100 [ALSA] usb-audio: fix number of G-70 ports Modules: USB generic driver The G-70 has one MIDI port in each direction, no two. Signed-off-by: Clemens Ladisch commit 3f72a30ccfd5054c01fc3bb0d37241df5380a54c tree 95209718f6b64162cb52b57d64c071b069d3710b parent cdca881d79dc4133b35db5c855b688ee9cba12a9 author Jaroslav Kysela Wed, 18 Jan 2006 11:50:40 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:27:05 +0100 [ALSA] snd_pcm_format_name() is no longer exported Modules: PCM Midlevel,USB generic driver Because snd_pcm_format_name() function is used only for informational purposes, it is no longer exported from the PCM midlevel to reduce space and dependency. usbaudio module shows only numeric value for format. Signed-off-by: Jaroslav Kysela commit cdca881d79dc4133b35db5c855b688ee9cba12a9 tree aa6e9a5e101eacc0745056563dda7d0c0f6a1289 parent 5a25c5cfd4f61f514decca3c4106210fb168ce19 author Clemens Ladisch Wed, 18 Jan 2006 08:53:32 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:26:24 +0100 [ALSA] usb-audio: add Roland G-70 support Modules: USB generic driver Add a quirk entry for the Roland G-70. Signed-off-by: Clemens Ladisch commit 5a25c5cfd4f61f514decca3c4106210fb168ce19 tree b79f15c8dd90d682233c231b43ce0ed932a5b126 parent 12aa757905d09b1dc2c1c3d0de3fa8f4c9726f2b author Jaroslav Kysela Wed, 18 Jan 2006 08:02:24 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:26:21 +0100 [ALSA] ymfpci - make rear channel swap optional Modules: YMFPCI driver Added rear_swap module option / kernel parameter to configure the rear channel swapping. Default value is enable to make the AC3 passthrough working, but analog only users might revert the previous behaviour. Signed-off-by: Jaroslav Kysela commit 12aa757905d09b1dc2c1c3d0de3fa8f4c9726f2b tree c776b2b66618915502cb8c552fe6fc720a18306d parent 62932df8fb20ba2fb53a95fa52445eba22e821fe author Ingo Molnar Mon, 16 Jan 2006 16:36:05 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:25:43 +0100 [ALSA] semaphore -> mutex (Archs, misc buses) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 62932df8fb20ba2fb53a95fa52445eba22e821fe tree 335178d7438395a68a453a9c23624b3e9fc5ec40 parent 8b7547f95cbe8a5940df62ed730646fdfcba5fda author Ingo Molnar Mon, 16 Jan 2006 16:34:20 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:25:29 +0100 [ALSA] semaphore -> mutex (PCI part) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 8b7547f95cbe8a5940df62ed730646fdfcba5fda tree 704102a2b9eaef96cf8b96c46e9e48855de64ea3 parent ef9f0a42db987e7e2df72289fb4522d24027786b author Ingo Molnar Mon, 16 Jan 2006 16:33:08 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:25:03 +0100 [ALSA] semaphore -> mutex (ISA part) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit ef9f0a42db987e7e2df72289fb4522d24027786b tree 34f3ad0c1abdbeb6df5a1d5137db6b4f34695f5a parent 1a60d4c5a0c4028559585a74e48593b16e1ca9b2 author Ingo Molnar Mon, 16 Jan 2006 16:31:42 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:57 +0100 [ALSA] semaphore -> mutex (driver part) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 1a60d4c5a0c4028559585a74e48593b16e1ca9b2 tree f03f8dfcd554f8ebbb295522dc46dfe4d110a484 parent f0283f45a04d5cf31512e5e390a38504d97e7a97 author Ingo Molnar Mon, 16 Jan 2006 16:29:08 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:50 +0100 [ALSA] semaphore -> mutex (core part) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit f0283f45a04d5cf31512e5e390a38504d97e7a97 tree 0d49a192d47ac913a774bc7ff2899388efbeab88 parent 95b712965f0a50365cc0128dacc27acf562f2ff1 author Takashi Iwai Mon, 16 Jan 2006 12:59:01 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:35 +0100 [ALSA] au88x0 - Fix structs for equalizer Modules: au88x0 driver Fixed the structures for equalizer. Signed-off-by: Takashi Iwai commit 95b712965f0a50365cc0128dacc27acf562f2ff1 tree 19e4f44751862c4f89c2e7465735e726a3965ac1 parent 14086771c04acecc81e3985ca3118b330324194d author Mark Salazar Mon, 16 Jan 2006 11:35:40 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:17 +0100 [ALSA] #4/4 for Zoom Video - add Zoom Video support Modules: ES18xx driver Forth of 4 es18xx.c patches culminating in Zoom Video support. This patch adds Zoom Video support for those chipsets that support it. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879. I could not test the Zoom Video function for an ES1878 or ES1869. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. One quirk (noted in my comments below) is that apparently the datasheet is wrong for one of the ES1879 Zoom Video 'enable' bits, because 1) if you set this bit it messes up PCM playback (speaker_test play a lower frequency) 2) even if you don't set this bit Zoom Video still works. I added a control to toggle the bit on just in case there might be a version of the ES1879 that requires it, but I expect noone will need it. Signed-off-by: Mark Salazar Signed-off-by: Takashi Iwai commit 14086771c04acecc81e3985ca3118b330324194d tree 72e008a3d667bd2d49fb0e13e08fa6d0df9622b5 parent f4df221f8fe129ac2fa2a2a4306b7355cf7d05d6 author Mark Salazar Mon, 16 Jan 2006 11:33:52 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:08 +0100 [ALSA] #3/4 for Zoom Video - change Hardware Volume interrupt handling Modules: ES18xx driver Third of 4 es18xx.c patches culminating in Zoom Video support. This patch changes the Hardware Volume support to reflect the fact that not all of the supported chipsets have seperate registers dedicated to the Hardware Volume inputs. Although all the chipsets can generate an HWV interrupt whenever a Hardware Volume input is received only those with seperate HWV registers can split the HWV registers from the Master volume registers. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar Signed-off-by: Takashi Iwai commit f4df221f8fe129ac2fa2a2a4306b7355cf7d05d6 tree 53b630ac77752f3ed30ead32cec9d62e32d30712 parent c1f6d41593d3ef1f778fd6892cc4b916050c7cb9 author Mark Salazar Mon, 16 Jan 2006 11:31:14 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:04 +0100 [ALSA] #2/4 for Zoom Video - resolve number of record sources Modules: ES18xx driver Second of 4 es18xx.c patches culminating in Zoom Video support. This patch changes the 'record source' mux routines to reflect the fact that not all of the supported chipsets have 8 possible inputs. Some have 4 and some have 5. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar Signed-off-by: Takashi Iwai commit c1f6d41593d3ef1f778fd6892cc4b916050c7cb9 tree 573794c432dea568a81ad500b80390001838e0ae parent 415b09e4559b0c95666af3cebe918386212aef98 author Mark Salazar Mon, 16 Jan 2006 11:29:09 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:52 +0100 [ALSA] #1/4 for Zoom Video - resolve common vs chipset specific mixer controls Modules: ES18xx driver First of 4 es18xx.c patches culminating in Zoom Video support. While adding support for Zoom Video to the es18xx driver I found some of the mixer controls were wrong. Since you guys went to the trouble of supplying the datasheets for the supported chipsets I did a review of all of them and tried to get es18xx.c to accurately reflect the proper mixer controls for each chipset. If the datasheets are wrong then so are my patches. This first patch moves some controls from the common-to-all-chipsets array 'snd_es18xx_base_controls' to a chipset-specific array and adds code to manage that new array. Also while testing on my ES1878 test machine I discovered it needed a couple of udelays in the identify function so those are in this patch as well. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar Signed-off-by: Takashi Iwai commit 415b09e4559b0c95666af3cebe918386212aef98 tree 970d7ea8bdfe38227cadfac5e77a841714db0e98 parent f7cbb7fcd3bae5264a079e06411b35366da9bd4d author Clemens Ladisch Mon, 16 Jan 2006 08:03:52 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:47 +0100 [ALSA] usb-audio: add Edirol PC-50 support Modules: USB generic driver Add a quirk entry for the Edirol PC-50. Signed-off-by: Clemens Ladisch commit f7cbb7fcd3bae5264a079e06411b35366da9bd4d tree cc6c46c6e68f2c13da665ad30c9e1dd370dcb7cf parent 97c67b65cbdfd19887450ae1b80ddbb54de9559d author Takashi Iwai Fri, 13 Jan 2006 18:48:06 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:39 +0100 [ALSA] Fix snd_xxx_t typedefs Modules: PXA Mainstone driver,CX88 driver,SAA7134 driver Replace snd_xxx_t typedefs with explicit structs. Signed-off-by: Takashi Iwai commit 97c67b65cbdfd19887450ae1b80ddbb54de9559d tree ad92dc802a5146c8b86e2333118f0fc394dddcfb parent 7a6c8ff1ef83df4ce44b586999e54966d8e5bda8 author Takashi Iwai Fri, 13 Jan 2006 17:16:29 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:32 +0100 [ALSA] au88x0 - 64bit arch fixes Modules: au88x0 driver Fix the driver codes to run on 64bit architectures. The patch taken from ALSA BTS bug#1047. Signed-off-by: Takashi Iwai commit 7a6c8ff1ef83df4ce44b586999e54966d8e5bda8 tree c31957c89522975a2159a6b948c78f2c644b5240 parent 45fe722ba814dc50410729a473022c550dd96910 author Takashi Iwai Fri, 13 Jan 2006 13:56:33 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:27 +0100 [ALSA] Update description of ice1724 driver Modules: Documentation Updated the description of ice1724 driver. Signed-off-by: Takashi Iwai commit 45fe722ba814dc50410729a473022c550dd96910 tree 21891fefa5af72467a136c1947af395da1cc53f7 parent 0534ab4279bd25e2d0a888af07466446dac05d74 author Takashi Iwai Fri, 13 Jan 2006 13:50:16 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:23 +0100 [ALSA] ice1724 - Add support of Prodigy-7.1LT Modules: ICE1712 driver Added the support of Prodigy-7.1LT board. The patch taken from ALSA BTS bug#1090. Signed-off-by: Takashi Iwai commit 0534ab4279bd25e2d0a888af07466446dac05d74 tree c5e6f6398101e9b278db7d7749f93035d6e1fae6 parent 9d83911ac082c6d63c1c08f235349113d8c1d0a3 author Takashi Iwai Fri, 13 Jan 2006 12:09:12 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:20 +0100 [ALSA] Clean up pcm-oss plugins Modules: ALSA<-OSS emulation Clean up pcm-oss plugin codes. Removed dead codes, and simplified route/rate plugins. Signed-off-by: Takashi Iwai commit 9d83911ac082c6d63c1c08f235349113d8c1d0a3 tree 87e7be2b0af498a7f5977296acb340e65cca5699 parent 21a3479a0b606d36fe24093f70a1c27328cec286 author Takashi Iwai Fri, 13 Jan 2006 11:32:52 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:16 +0100 [ALSA] Fix a typo Modules: ALSA<-OSS emulation Fixed a typo. Signed-off-by: Takashi Iwai commit 21a3479a0b606d36fe24093f70a1c27328cec286 tree 484ce13d02df9f580bb6691ea3845160dc716c4a parent 153abaa4ff0500070a282dd0868367d69388d527 author Jaroslav Kysela Fri, 13 Jan 2006 09:12:11 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:12 +0100 [ALSA] PCM midlevel & PCM OSS - make procfs & OSS plugin code optional Modules: ALSA Core,PCM Midlevel,ALSA<-OSS emulation,USB generic driver 1) The verbose procfs code for the PCM midlevel and usb audio can be removed now (more patches will follow). CONFIG_SND_VERBOSE_PROCFS 2) The PCM OSS plugin system can be also compiled optionaly. CONFIG_SND_PCM_OSS_PLUGINS Signed-off-by: Jaroslav Kysela commit 153abaa4ff0500070a282dd0868367d69388d527 tree e4b06f6631bc92ea3b2e976b6721932e8f965936 parent 27346166a9b3b9eee586bce212502cddf9685a07 author Clemens Ladisch Fri, 13 Jan 2006 07:48:59 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:00 +0100 [ALSA] ymfpci: fix swapped channels in SPDIF output Modules: YMFPCI driver The routing of the effect 2/3 channels to the digital output is the opposite of the rear analog output (left/right swapped). We make the order correct for the digital output (which will make the analog rear have the channels swapped) to make AC3 output work. Signed-off-by: Clemens Ladisch commit 27346166a9b3b9eee586bce212502cddf9685a07 tree 97a1feb7937b0ca82538e049e7e332f4797b2eb9 parent 84a43bd523a63f1b53fd734c3798d71b7b53f123 author Takashi Iwai Thu, 12 Jan 2006 18:28:44 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:51 +0100 [ALSA] hda-intel - Add single_cmd option for debugging Modules: Documentation,HDA Intel driver Added single_cmd module option for debugging in the case CORB/RIRB doesn't work well (e.g. due to wrong irq routings). Signed-off-by: Takashi Iwai commit 84a43bd523a63f1b53fd734c3798d71b7b53f123 tree 63a47c220f57b802fe58b9d70e49835c9f15af40 parent 15f500a6994e552b7772d8b8459ee3114c47897d author Takashi Iwai Thu, 12 Jan 2006 11:47:32 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:46 +0100 [ALSA] intel8x0 - Fix/cleanup detection of codecs on SIS7012 Modules: Intel8x0 driver Fix the detection of tertriary codec on SIS7012, including clean-ups of relevant codes. Signed-off-by: Takashi Iwai commit 15f500a6994e552b7772d8b8459ee3114c47897d tree e631b66e2bf95d9834c02a283d6fb0ccb2d61ffd parent 9568f461e50c023e45ec702027bb1a5f60e443dc author Takashi Iwai Thu, 12 Jan 2006 11:43:49 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:42 +0100 [ALSA] ens1370 - Fix resume Modules: ENS1370/1+ driver Fix resume of ens1370 driver. Signed-off-by: Takashi Iwai commit 9568f461e50c023e45ec702027bb1a5f60e443dc tree 5c38356197de86514be184244eabc6f86a0154e5 parent 7c79b7682ee6318a8e47173b158846ed0edd8f1a author Clemens Ladisch Thu, 12 Jan 2006 08:19:21 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:27 +0100 [ALSA] usb-audio: factor out packet size calculation code Modules: USB generic driver Move the common packet size calculation code from prepare_startup_playback_urb() and prepare_playback_urb() to a new function. Signed-off-by: Clemens Ladisch commit 7c79b7682ee6318a8e47173b158846ed0edd8f1a tree 9f4868886874cf158547dfb36e1baa1b98307733 parent e03173fce2f2c233b755f2d668d6d4247a717453 author Clemens Ladisch Tue, 10 Jan 2006 18:56:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:22 +0100 [ALSA] usb-audio: cosmetic changes Modules: USB generic driver Move some entries around to keep them sorted by ID. Signed-off-by: Clemens Ladisch commit e03173fce2f2c233b755f2d668d6d4247a717453 tree c1ba0936ae513f308fda33db69fc3d626d2a9c99 parent 34226c4239861654c69888e6e98973b2cc908c0b author Brent Cook Tue, 10 Jan 2006 14:27:20 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:14 +0100 [ALSA] Add support for EDIROL UM-3ex Modules: USB generic driver This is my naive attempt at adding ALSA device support. The attached patch provides support for the EDIROL UM-3ex. This is a 3-port USB midi interface with a built-in USB hub and the ability to chain 2 other UM-3x's in a master-slave configuration. I only have one, so I do not know how this works in practice. Though this is a 3-port device, I had to throw in that 4th 'Control' interface to the definition in order to make the 3rd port work. If I set in/out_cables to 0x000b, a 3rd interface appears on the driver, but it does nothing. Changing it to 0x000f allows the 3rd interface to work, but of course interface 4 does not work because it does not exist. Signed-off-by: Takashi Iwai commit 34226c4239861654c69888e6e98973b2cc908c0b tree 0f9f1ee06683e17e3016b46a8dcd4d1ca7a50623 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Takashi Iwai Wed, 04 Jan 2006 12:14:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:21:58 +0100 [ALSA] pcxhr - Suppress debug messages Modules: Digigram PCXHR driver Suppress debug messages. Signed-off-by: Takashi Iwai commit dcc1e8dd88d4bc55e32a26dad7633d20ffe606d2 tree a47592213d94f918867d3dd81bb91dac3e727dea parent 14778d9072e53d2171f66ffd9657daff41acfaed author David S. Miller Wed, 22 Mar 2006 00:49:59 -0800 committer David S. Miller Wed, 22 Mar 2006 01:15:14 -0800 [SPARC64]: Add a secondary TSB for hugepage mappings. Signed-off-by: David S. Miller commit 14778d9072e53d2171f66ffd9657daff41acfaed tree 3b60565ec1e957800fc3bf4743497202a24f8279 parent e952f31bce6e9f64db01f607abc46529ba57ac9e author David S. Miller Tue, 21 Mar 2006 02:29:39 -0800 committer David S. Miller Wed, 22 Mar 2006 01:15:13 -0800 [SPARC]: Respect vm_page_prot in io_remap_page_range(). Make sure the callers do a pgprot_noncached() on vma->vm_page_prot. Pointed out by Hugh Dickens. Signed-off-by: David S. Miller commit 056755f4d73d49b4adcbb8ecdaf75138cf166bd3 tree d019a2812320c0fcdb25069eaef45224ff654ec2 parent 15c3b696101992c4d69962325f0e91647164427f author David S. Miller Wed, 22 Mar 2006 01:07:53 -0800 committer David S. Miller Wed, 22 Mar 2006 01:07:53 -0800 [TG3]: Bump driver version and reldate. Signed-off-by: David S. Miller commit 15c3b696101992c4d69962325f0e91647164427f tree da26359a3cd8899f284cb320b9918b418e0784df parent caf636c760b33c72ebf018ff03c1b0d79ea6656a author Michael Chan Wed, 22 Mar 2006 01:06:52 -0800 committer David S. Miller Wed, 22 Mar 2006 01:06:52 -0800 [TG3]: Skip phy power down on some devices Some PHYs should not be powered down in tg3_set_power_state() because of bugs or other hardware limitations. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit caf636c760b33c72ebf018ff03c1b0d79ea6656a tree d8ac1d485a820abcb7a17b73d309bb752e3c6223 parent 9a6b9f2e763a1d1492e164f13c13b995a9b98d78 author Michael Chan Wed, 22 Mar 2006 01:05:31 -0800 committer David S. Miller Wed, 22 Mar 2006 01:05:31 -0800 [TG3]: Fix SRAM access during tg3_init_one() 5700 and 5701 will not return correct SRAM data when the chip is in D3hot power state. tg3_get_eeprom_hw_cfg() must first put the device in D0 before reading SRAM. Thanks to Thomas Chenault at Dell for noticing this problem. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 9a6b9f2e763a1d1492e164f13c13b995a9b98d78 tree c78dd4dbd6198422c9fb0959fa561e8c0804dfab parent a64b7b936dcd926ace745c07c14f45ecfaddb034 author Shaun Pereira Wed, 22 Mar 2006 00:02:00 -0800 committer David S. Miller Wed, 22 Mar 2006 00:02:00 -0800 [X25]: dte facilities 32 64 ioctl conversion Allows dte facility patch to use 32 64 bit ioctl conversion mechanism Signed-off-by: Shaun Pereira Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit a64b7b936dcd926ace745c07c14f45ecfaddb034 tree 734b65e3c7c1862b05ef65e0ffbd584d7b86d537 parent bac37ec8300389d355d41a828b47577c1ec2e4f4 author Shaun Pereira Wed, 22 Mar 2006 00:01:31 -0800 committer David S. Miller Wed, 22 Mar 2006 00:01:31 -0800 [X25]: allow ITU-T DTE facilities for x25 Allows use of the optional user facility to insert ITU-T (http://www.itu.int/ITU-T/) specified DTE facilities in call set-up x25 packets. This feature is optional; no facilities will be added if the ioctl is not used, and call setup packet remains the same as before. If the ioctls provided by the patch are used, then a facility marker will be added to the x25 packet header so that the called dte address extension facility can be differentiated from other types of facilities (as described in the ITU-T X.25 recommendation) that are also allowed in the x25 packet header. Facility markers are made up of two octets, and may be present in the x25 packet headers of call-request, incoming call, call accepted, clear request, and clear indication packets. The first of the two octets represents the facility code field and is set to zero by this patch. The second octet of the marker represents the facility parameter field and is set to 0x0F because the marker will be inserted before ITU-T type DTE facilities. Since according to ITU-T X.25 Recommendation X.25(10/96)- 7.1 "All networks will support the facility markers with a facility parameter field set to all ones or to 00001111", therefore this patch should work with all x.25 networks. While there are many ITU-T DTE facilities, this patch implements only the called and calling address extension, with placeholders in the x25_dte_facilities structure for the rest of the facilities. Testing: This patch was tested using a cisco xot router connected on its serial ports to an X.25 network, and on its lan ports to a host running an xotd daemon. It is also possible to test this patch using an xotd daemon and an x25tap patch, where the xotd daemons work back-to-back without actually using an x.25 network. See www.fyonne.net for details on how to do this. Signed-off-by: Shaun Pereira Acked-by: Andrew Hendry Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit bac37ec8300389d355d41a828b47577c1ec2e4f4 tree 57d692d61de5b52e61883f1f9a2aa2a3ffa6c79d parent 1b06e6ba25a37fe1c289049d0e0300d71ae39eff author Shaun Pereira Wed, 22 Mar 2006 00:00:40 -0800 committer David S. Miller Wed, 22 Mar 2006 00:00:40 -0800 [X25]: fix kernel error message 64 bit kernel Fixes the following error from kernel T2 kernel: schedule_timeout: wrong timeout value ffffffffffffffff from ffffffff88164796 Signed-off-by: Shaun Pereira Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 1b06e6ba25a37fe1c289049d0e0300d71ae39eff tree e119b3bf47125cb1b5a32fab531815890202d334 parent f0ac2614412e2b597e2d5bfbd3960b4f73718b41 author Shaun Pereira Wed, 22 Mar 2006 00:00:12 -0800 committer David S. Miller Wed, 22 Mar 2006 00:00:12 -0800 [X25]: ioctl conversion 32 bit user to 64 bit kernel To allow 32 bit x25 module structures to be passed to a 64 bit kernel via ioctl using the new compat_sock_ioctl registration mechanism instead of the obsolete 'register_ioctl32_conversion into hash table' mechanism Signed-off-by: Shaun Pereira Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit f0ac2614412e2b597e2d5bfbd3960b4f73718b41 tree b1d6c3fabc0f143eec1dcb1ce7c5f6d2bcb64ee1 parent 89bbfc95d65839d6ae23ddab8a3cc5af4ae88383 author Shaun Pereira Tue, 21 Mar 2006 23:59:39 -0800 committer David S. Miller Tue, 21 Mar 2006 23:59:39 -0800 [NET]: socket timestamp 32 bit handler for 64 bit kernel Get socket timestamp handler function that does not use the ioctl32_hash_table. Signed-off-by: Shaun Pereira Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 89bbfc95d65839d6ae23ddab8a3cc5af4ae88383 tree f2d5e55533f07109680d7ed7e56cc85222703c69 parent 67b52e554ba973947704fcb4fc284d7bab9ab931 author Shaun Pereira Tue, 21 Mar 2006 23:58:08 -0800 committer David S. Miller Tue, 21 Mar 2006 23:58:08 -0800 [NET]: allow 32 bit socket ioctl in 64 bit kernel Since the register_ioctl32_conversion() patch in the kernel is now obsolete, provide another method to allow 32 bit user space ioctls to reach the kernel. Signed-off-by: Shaun Pereira Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 67b52e554ba973947704fcb4fc284d7bab9ab931 tree 9f933717a5cacef5f7fe4a57e7761ea59e09bc6f parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Tobias Klauser Tue, 21 Mar 2006 23:53:16 -0800 committer David S. Miller Tue, 21 Mar 2006 23:53:16 -0800 [BLUETOOTH]: Return negative error constant Return negative error constant. Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 4d74f423c722b8cadfabe087369200013b217b67 tree d62facddfdb0dfd89f3e61f4fc699cf2feb4b082 parent bb19fba1937cb6ab2bb98ac893365f6ebf88ef1b parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Nathan Scott Wed, 22 Mar 2006 15:31:14 +1100 committer Nathan Scott Wed, 22 Mar 2006 15:31:14 +1100 Merge HEAD from ../linux-2.6 commit 1d04981669df1f0586d4578ec4061c5585ec721b tree 41940e4f058d60eaa9cf28e3ceb12c7a4c733fc1 parent f8642ebee8e46d054d83828a4048fba4ebcd8f68 author Stephen Rothwell Wed, 22 Mar 2006 11:26:58 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:06:31 +1100 [PATCH] powerpc: update mailing list addresses Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit f8642ebee8e46d054d83828a4048fba4ebcd8f68 tree 98dba337c34de68e2b319d03f8c41c7c47807ae8 parent 6c600ad8da189aebe65b765fd0349ef6c9dd8c1f author Michael Ellerman Tue, 21 Mar 2006 20:46:11 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:30 +1100 [PATCH] powerpc: Remove calculation of io hole In mm_init_ppc64() we calculate the location of the "IO hole", but then no one ever looks at the value. So don't bother. That's actually all mm_init_ppc64() does, so get rid of it too. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 6c600ad8da189aebe65b765fd0349ef6c9dd8c1f tree b478facc7e679fcef36e23dd777670c7881284cc parent 289f1c74a9b527a816f63092e79a5412cc0352a2 author Michael Ellerman Tue, 21 Mar 2006 20:46:10 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:27 +1100 [PATCH] powerpc: iseries: Add bootargs to /chosen Add the command line args to the device tree as /chosen/bootargs. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 289f1c74a9b527a816f63092e79a5412cc0352a2 tree 13ea8968f704cd8a69ee720c1565ac432512e4a7 parent 584fc6d111c34a9a2512f6c7652dff29232bf70d author Michael Ellerman Tue, 21 Mar 2006 20:46:09 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:26 +1100 [PATCH] powerpc: iseries: Add /system-id, /model and /compatible Add /system-id, /model and /compatible to the iSeries device tree. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 584fc6d111c34a9a2512f6c7652dff29232bf70d tree 80d67b3c6902eff8309106be6291dd84a14d8ab7 parent 00611c5cfc8dea0914c65134f62948a484780a30 author Michael Ellerman Tue, 21 Mar 2006 20:46:08 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:25 +1100 [PATCH] powerpc: Add strne2a() to convert a string from EBCDIC to ASCII Add strne2a() which converts a string from EBCDIC to ASCII. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 00611c5cfc8dea0914c65134f62948a484780a30 tree ae22a9077002d4f19ef7264546e11de04a96b678 parent a9ea2101aaa7fe73cb352cea4145853efdabaa0d author Michael Ellerman Tue, 21 Mar 2006 20:46:05 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:23 +1100 [PATCH] powerpc: iseries: Make more stuff static in platforms/iseries/mf.c Make mf_get_rtc(), mf_get_boot_rtc() and mf_set_rtc() static, cause they can be. We need to move mf_set_rtc() to avoid a forward declaration. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a9ea2101aaa7fe73cb352cea4145853efdabaa0d tree 4dbeaec2e3ac65869d3e13e48ec91cf8eb853d05 parent 260de22faac4d336ca122ebd0f1e59279d0b1dfd author Michael Ellerman Tue, 21 Mar 2006 20:46:04 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:22 +1100 [PATCH] powerpc: iseries: Remove pointless iSeries_(restart|power_off|halt) These routines just call through to the mf routines, so point ppc_md straight at the mf routines. We need to pass the cmd through to mf_reboot to make it work, but that seems reasonable. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 260de22faac4d336ca122ebd0f1e59279d0b1dfd tree be1c202f2bba96546ae2430d9433f7bd7d2a4783 parent 57cfb814f698d30894bc28e22125550193ebe549 author Michael Ellerman Tue, 21 Mar 2006 20:46:02 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:20 +1100 [PATCH] powerpc: iseries: mf related cleanups Some cleanups in the iSeries code. - Make mf_display_progress() check mf_initialized rather than the caller. - Set mf_initialized in mf_init() rather than in setup.c - Then move mf_initialized into mf.c, the only place it's used. - Move the mf related logic from iSeries_progress() to mf_display_progress() - Use a #define to size the pending_event_prealloc array - Use that define in the initialsation loop rather than sizeof jiggery pokery - Remove stupid comment(s) - Mark stuff static and/or __init Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 57cfb814f698d30894bc28e22125550193ebe549 tree 755fd11b1a528f8de7913119b457f866734cb81a parent 3d15910bfbeb02286ce4b5009c53754e88066ccb author Michael Ellerman Tue, 21 Mar 2006 20:45:59 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:17 +1100 [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature It has been decreed that platform numbers are evil, so as a step in that direction, replace platform_is_lpar() with a FW_FEATURE_LPAR bit. Currently FW_FEATURE_LPAR really means i/pSeries LPAR, in the future we might have to clean that up if we need to be more specific about what LPAR actually means. But that's another patch ... Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 3d15910bfbeb02286ce4b5009c53754e88066ccb tree 7b6bc090fb4805edd9414966db89e9554e98bfe0 parent 415202447d31d0f458cca256ad7e0ed777d993d9 author Michael Ellerman Tue, 21 Mar 2006 20:45:58 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:15 +1100 [PATCH] powerpc: trivial: Cleanup whitespace in cputable.h Remove redundant whitespace in include/asm-powerpc/cputable.h Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 415202447d31d0f458cca256ad7e0ed777d993d9 tree 3f12c25557a7f631852e2bda9831dc7fc9b5b5fc parent caf80e579b5fc0048681a47c5a55487116e56a88 author Michael Ellerman Tue, 21 Mar 2006 20:45:58 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:12 +1100 [PATCH] powerpc: Remove unused iommu_off logic from pSeries_init_early() When iommu_init_early_pSeries() was added, ages ago, we forgot to remove the code that checks /chosen/linux,iommu-off in pSeries_init_early(). We do it now in iommu_init_early_pSeries(). Signed-off-by: Michael Ellerman Acked-by: Olof Johansson Signed-off-by: Paul Mackerras commit caf80e579b5fc0048681a47c5a55487116e56a88 tree a5da9d218c0f98a7881cfc601f67cd619579d441 parent 2b2612272c77288b2bd53d5831df737cd669cd93 author Michael Ellerman Tue, 21 Mar 2006 20:45:51 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:09 +1100 [PATCH] powerpc: Unconfuse htab_bolt_mapping() callers htab_bolt_mapping() takes a vstart and pstart parameter, but all but one of its callers actually pass it vstart and vstart. Luckily before it passes paddr (calculated from paddr) to the hpte_insert routines it calls virt_to_abs() (aka. __pa()) on the address, so there isn't actually a bug. map_io_page() however does pass pstart properly, so currently it's broken AFAICT because we're calling __pa(paddr) which will get us something very large. Presumably no one's calling map_io_page() in the right context. Anyway, change htab_bolt_mapping() callers to properly pass pstart, and then use it properly in htab_bolt_mapping(), ie. don't call __pa() on it again. Booted on p5 LPAR, iSeries and Power3. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 2b2612272c77288b2bd53d5831df737cd669cd93 tree 551588d4f4709c39e5e0176b81ed5138722e3458 parent 482ec7c403d239bb4f1732faf9a14988094ce08b author Nathan Lynch Mon, 20 Mar 2006 18:37:15 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:04:03 +1100 [PATCH] powerpc numa: Consolidate assignment of cpus to nodes We can plug the boot cpu into its node independently of whether numa topology is detected. And numa_setup_cpu does the right thing for all cases now, so remove special-casing for non-numa from the cpu hotplug callback. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit 482ec7c403d239bb4f1732faf9a14988094ce08b tree 9abc78e92b304e5ee09428db0cb8922cc86aa213 parent bc16a75926941094db6b42d76014abb5e8d3a910 author Nathan Lynch Mon, 20 Mar 2006 18:36:45 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:04:01 +1100 [PATCH] powerpc numa: Support sparse online node map The powerpc numa code unconditionally onlines all nodes from 0 to the highest node id found, regardless of whether cpus or memory are present in the nodes. This wastes 8K per node and complicates some cpu and memory hotplug situations, such as adding a resource that doesn't map to one of the nodes discovered at boot. Set nodes online as resources are scanned. Fall back to node 0 only when we're sure this isn't a NUMA machine. Instead of defaulting to node 0 for cases of hot-adding a resource which doesn't belong to any initialized node, assign it to the first online node. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit bc16a75926941094db6b42d76014abb5e8d3a910 tree b6eced8416d521711a80f23e79cc58d7dc361cb4 parent cf950b7af0e51935e559c54262214423e2b6c88a author Nathan Lynch Mon, 20 Mar 2006 18:36:15 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:57 +1100 [PATCH] powerpc numa: Consolidate handling of Power4 special case Code to handle Power4's invalid node id (0xffff) is duplicated for cpu and memory. Better to handle this case in one place -- of_node_to_nid. Overall behavior should be unchanged. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit cf950b7af0e51935e559c54262214423e2b6c88a tree 125dfacbbc12c4f5cc5d5ad83c13d463208fa045 parent 2e5ce39d6703836b583c43131c365201a76285a5 author Nathan Lynch Mon, 20 Mar 2006 18:35:45 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:52 +1100 [PATCH] powerpc numa: Get rid of "numa domain" terminology Since we effectively treat the domain ids given to us by firmare as logical node ids, make this explicit (basically s/numa_domain/nid/). No functional changes, only variable and function names are modified. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit 2e5ce39d6703836b583c43131c365201a76285a5 tree f45152d260b8ad49dc4dcb2ada905eaa24ffdc26 parent bf4b85b0e4bab42b3e8d8b0acc6851bb85e2050b author Nathan Lynch Mon, 20 Mar 2006 18:35:15 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:48 +1100 [PATCH] powerpc numa: Minor cpu hotplug-related cleanups map_cpu_to_node does not need to be inline, it is never called in a hot path. map_cpu_to_node, numa_setup_cpu, and find_cpu_node can be marked __cpuinit, as they are never used after boot if CONFIG_HOTPLUG_CPU=n. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit bf4b85b0e4bab42b3e8d8b0acc6851bb85e2050b tree aca0083d6b128beea7e4cf048eaff7bab64d6318 parent c08888cf3c80fe07bfd176113c390ca31d3ba5c2 author Nathan Lynch Mon, 20 Mar 2006 18:34:45 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:45 +1100 [PATCH] powerpc numa: Minor debugging code changes Add debug statement for map_cpu_to_node; it's useful for cpu hotplug. Clarify debug statement about not finding the numa reference points property. Don't print a meaningless associativity depth (-1) on non-numa systems. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit c08888cf3c80fe07bfd176113c390ca31d3ba5c2 tree 37d6ef3a46dca009c997e337874a194551bd4fcd parent 1d7aac5b3bce34c8b5fcec8ca577a4d3af880fd3 author Nathan Lynch Mon, 20 Mar 2006 18:34:15 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:40 +1100 [PATCH] powerpc numa: fix boot_cpuid always assigned to node 0 At boot, the numa code is assigning boot_cpuid to node 0 unconditionally. Basically, numa_setup_cpu is being stupid about it, but this is the minimal fix -- just call numa_setup_cpu(boot_cpuid) later, after all nodes have been set online. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit 55cca65e1995ad604ee87e22c76c17d5cbceb9d0 tree 0a691ff7c1b9320e942e78f6f46bf65df5570d9f parent c962990a38167aacac91738501815deffa3afbd6 author Jeff Garzik Tue, 21 Mar 2006 22:14:17 -0500 committer Jeff Garzik Tue, 21 Mar 2006 22:14:17 -0500 [libata sata_vsc, sata_svw] Convert #define'd constants to enums Also, bump sata_vsc version. commit bb19fba1937cb6ab2bb98ac893365f6ebf88ef1b tree ef24ffdf7903206c4bc0432ce91d2627bffdf714 parent e15f195cfb2fb1f2af0fdfc21277643deb26c0df author Nathan Scott Wed, 22 Mar 2006 14:12:12 +1100 committer Nathan Scott Wed, 22 Mar 2006 14:12:12 +1100 [XFS] Sync up one/two other minor changes missed in previous merges. Signed-off-by: Nathan Scott commit c962990a38167aacac91738501815deffa3afbd6 tree 13f77d5d7619a4b71f2f5e0914b4b6976c54bab7 parent 4d4681f6b994baf93dff0e4f59ab4fe38b49ef13 author Dan Williams Tue, 21 Mar 2006 22:07:13 -0500 committer Jeff Garzik Tue, 21 Mar 2006 22:07:13 -0500 [libata] sata_vsc: fix inconsistent NULL checking Also, cleanup interrupt mask content and note in Kconfig that this driver supports the Intel 31244. Signed-off-by: Jeff Garzik commit 1d7aac5b3bce34c8b5fcec8ca577a4d3af880fd3 tree edf6371a92255a348662dd17dda659012d5a4169 parent 1a02e59a2970f9ed28ab51d3b08624b79e54d848 parent 61c5504a0ed66c8b460f9a006eedaea2ee587e33 author Paul Mackerras Wed, 22 Mar 2006 13:46:53 +1100 committer Paul Mackerras Wed, 22 Mar 2006 13:46:53 +1100 Merge branch '85xx' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc commit 4d4681f6b994baf93dff0e4f59ab4fe38b49ef13 tree b45ce12c0b6a4561ccba3f6327d98aa5af864c2a parent 17bb34a3c548c4fd2a7c859123a631f97c2af09f author Jeff Garzik Tue, 21 Mar 2006 21:31:22 -0500 committer Jeff Garzik Tue, 21 Mar 2006 21:31:22 -0500 [libata] fix oops on non-DMA bmdma hardware Alan noted: "bmdma may be zero but the bmdma_irq_clear function gets called even in this case during pure PIO operation. Check we have a bmdma before we use it." I fixed this by adding a check for zero. While was I there, I fixed the non-standard indentation of the small function's code. Signed-off-by: Jeff Garzik commit 17bb34a3c548c4fd2a7c859123a631f97c2af09f tree 566cd167531082ebaa16a6127dce30a60b4b865a parent 23cfce8924f1e7ff1d14b8f1afd7550182026d16 author Jeff Garzik Tue, 21 Mar 2006 21:29:21 -0500 committer Jeff Garzik Tue, 21 Mar 2006 21:29:21 -0500 [libata] add prototypes for helpers Add prototypes for stuff recently added by Alan. commit 23cfce8924f1e7ff1d14b8f1afd7550182026d16 tree ffee06bf9172f26a82c38e8ff4148f4547811b5d parent 88f93a31dcd950fa6b27a5721428de7e01369c06 author Alan Cox Tue, 21 Mar 2006 16:06:53 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: make irqtrap mode compile Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 88f93a31dcd950fa6b27a5721428de7e01369c06 tree 2b8ad536d611a9bb46c788a0277cf34f2e77712d parent d33d44facc8673388979297c9836b4bf590f7388 author Alan Cox Tue, 21 Mar 2006 16:04:12 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: report which drive is causing mode problems Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit d33d44facc8673388979297c9836b4bf590f7388 tree 69cdb3ef82191ba66ec79bcc2ad1702f84951f83 parent 41bbc8bf1ab0e3e7cda1a0334176a9aa3986cd30 author Alan Cox Tue, 21 Mar 2006 15:59:57 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: two new PCI helpers The first performs the simplex clearing relevant to some chipsets that report simplex by default but can in fact do more if poked. The second is used to strip DMA modes from a PCI control with no BAR4 allocation. Signed-off-by: Jeff Garzik commit 41bbc8bf1ab0e3e7cda1a0334176a9aa3986cd30 tree f608116068ebad13decc3d4e720fa13af3b53f15 parent db7f44d96e0b605906abc38aaf34841a93885884 author Alan Cox Tue, 21 Mar 2006 15:57:00 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: Note weakness in our PCI handling that one day wants fixing Signed-off-by: Jeff Garzik commit db7f44d96e0b605906abc38aaf34841a93885884 tree 86a2a4f07e73e48df39b167aa7a6ccf504099835 parent 2d2020242d14dc8caf83d7682d91368cff64290c author Alan Cox Tue, 21 Mar 2006 15:54:24 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: make code actually compile with debugging on Signed-off-by: Jeff Garzik commit 2d2020242d14dc8caf83d7682d91368cff64290c tree 75dbc3bdd0e6119139e7a498aeb47000e099fa78 parent b6782728d703fa3f0e5478a8b89e49ea10b1fdd0 author Alan Cox Tue, 21 Mar 2006 15:53:46 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: pick a less confusion "um dunno" error Signed-off-by: Jeff Garzik commit b6782728d703fa3f0e5478a8b89e49ea10b1fdd0 tree bb3c44ac421d77c42a58ed426236897016b60991 parent 806a6e7a9904d4a1dfd3fd79d373bf31d71d34cb author Alan Cox Tue, 21 Mar 2006 15:52:49 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:31 -0500 [PATCH] libata: Add the useful macros/constants needed for merging PATA stuff HPA presence/enabled HPA commands Also add ata_id_is_cfa() as that is needed to detect and handle CF cards which currently we reject. Signed-off-by: Jeff Garzik commit 806a6e7a9904d4a1dfd3fd79d373bf31d71d34cb tree a88aa5b3e7aa20fb144686b5b36ce88282f923ad parent a6cce2a79deefb33354561a064f0609a3b342829 author Mark Lord Tue, 21 Mar 2006 21:11:53 -0500 committer Jeff Garzik Tue, 21 Mar 2006 21:11:53 -0500 [libata] sata_mv: off-by-1 fix This patch addresses a number of weird behaviours observed for the sata_mv driver, by fixing an "off by one" bug in processing of the EDMA response queue. Basically, sata_mv was looking in the wrong place for command results, and this produced a lot of unpredictable behaviour. Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik commit a6cce2a79deefb33354561a064f0609a3b342829 tree 2cce168d89253814491909d870fc06fd78481440 parent e46834cd2ddb1e2941806cb8fec60fb6bdd2ec29 author Brian King Fri, 17 Mar 2006 17:04:15 -0600 committer Jeff Garzik Tue, 21 Mar 2006 21:03:43 -0500 [PATCH] libata: ata_scsi_slave_config cleanup Encapsulate some of ata_scsi_slave_config so that parts can be reused in future SAS patches. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit e46834cd2ddb1e2941806cb8fec60fb6bdd2ec29 tree 770dfbbb56f8c9b7e748e9982875cc4522454ffb parent f59b0cf8a3a39b75e580066c6a9aeabd97ec2743 author Brian King Fri, 17 Mar 2006 17:04:03 -0600 committer Jeff Garzik Tue, 21 Mar 2006 21:03:43 -0500 [PATCH] libata: Add some dummy noop functions Add some dummy noop functions for use by libata clients that do not need to do anything. Future SAS patches will utilize these functions. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit e15f195cfb2fb1f2af0fdfc21277643deb26c0df tree e5236f540fe7325cc6fe99274d5b8f8f0ef996fc parent 2ddee844eef48bf9240ebdfd6c5ffc4333c7d639 author Nathan Scott Wed, 22 Mar 2006 12:47:52 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:47:52 +1100 [XFS] Reenable the noikeep (delete inode cluster space) option by default. SGI-PV: 951200 SGI-Modid: xfs-linux-melb:xfs-kern:25535a Signed-off-by: Nathan Scott commit 2ddee844eef48bf9240ebdfd6c5ffc4333c7d639 tree 16cc4c8b13d31b94f247b54d726cb3d191ce5f6d parent 3758dee9f64fa9692063e7167128f9cec3f5fd33 author David Chinner Wed, 22 Mar 2006 12:47:40 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:47:40 +1100 [XFS] Check that a page has dirty buffers before finding it acceptable for rewrite clustering. This prevents writing excessive amounts of clean data when doing random rewrites of a cached file. SGI-PV: 951193 SGI-Modid: xfs-linux-melb:xfs-kern:25531a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 3758dee9f64fa9692063e7167128f9cec3f5fd33 tree 056a66783d227b070f60439f6270b9c167c5c473 parent 38e2299a641d93d029eb559e096648ab75a22be2 author Nathan Scott Wed, 22 Mar 2006 12:47:28 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:47:28 +1100 [XFS] Fixup naming inconsistencies found by Pekka Enberg and one from Jan Engelhardt. SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:25529a Signed-off-by: Nathan Scott commit 38e2299a641d93d029eb559e096648ab75a22be2 tree 3aa1afbd899c668ff6f50daa302533a219f8c8c3 parent 9fa8046f50bcb88ab9183ee1f22de5adc42bf92a author David Chinner Wed, 22 Mar 2006 12:47:15 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:47:15 +1100 [XFS] Explain the race closed by the addition of vn_iowait() to the start of xfs_itruncate_start(). SGI-PV: 947420 SGI-Modid: xfs-linux-melb:xfs-kern:25527a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 9fa8046f50bcb88ab9183ee1f22de5adc42bf92a tree db564e5da4244025afc24e966166e59009f941b3 parent f1fdc848aab7fb95b32e058b7f06cc07912b3734 author Yingping Lu Wed, 22 Mar 2006 12:44:35 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:44:35 +1100 [XFS] Fixing the error caused by the conflict between DIO Write's conversion and concurrent truncate operations. Use vn_iowait to wait for the completion of any pending DIOs. Since the truncate requires exclusive IOLOCK, so this blocks any further DIO operations since DIO write also needs exclusive IOBLOCK. This serves as a barrier and prevent any potential starvation. SGI-PV: 947420 SGI-Modid: xfs-linux-melb:xfs-kern:208088a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit f1fdc848aab7fb95b32e058b7f06cc07912b3734 tree 65cdb6b329230324d87ac62f0d6d7a71a7bbba97 parent 6cc8fef4cbeb0b65d225d7b599c75eb5b40a6534 author Yingping Lu Wed, 22 Mar 2006 12:44:15 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:44:15 +1100 [XFS] Fixing KDB's xrwtrc command, also added the current process id into the trace. SGI-PV: 948300 SGI-Modid: xfs-linux-melb:xfs-kern:208069a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit f59b0cf8a3a39b75e580066c6a9aeabd97ec2743 tree 785118d3a81dbeea6308d6282eb32ae514089485 parent 41ade50c4eff9477e6aef6b15e84673c6758ec0d author Albert Lee Thu, 16 Mar 2006 17:59:22 +0800 committer Jeff Garzik Tue, 21 Mar 2006 20:39:46 -0500 [PATCH] libata-dev: Remove ATA_PROT_PIO_MULT Remove the ATA_PROT_PIO_MULT protocol. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 41ade50c4eff9477e6aef6b15e84673c6758ec0d tree 5ebacab6c7f783d3363678a666192ee0633f0a91 parent b142eb6594003d3f82fd552a9b2ad73d774465d2 author Albert Lee Tue, 14 Mar 2006 11:19:04 +0800 committer Jeff Garzik Tue, 21 Mar 2006 20:39:46 -0500 [PATCH] libata-dev: add flush task to ata_exec_internal() Add ata_port_flush_task() to ata_exec_internal(). Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit b142eb6594003d3f82fd552a9b2ad73d774465d2 tree 895129c0dae624ea577fd4f71bc0ddec5453d6e4 parent e0f4ab8a1741193891f096aa63df9ac8672af54c author Jeff Garzik Tue, 21 Mar 2006 20:37:47 -0500 committer Jeff Garzik Tue, 21 Mar 2006 20:37:47 -0500 [libata] SCSI VPD page 0x83 fixes Original patch (and description) by Douglas Gilbert, with minor fixes and API updates from me. Changelog: - make existing libata VPD device identification page (0x83) supply the ATA serial number in the libata "vendor specific" designator (from Chris Paulson-Ellis) - add a "t10 vendor id based" designator as defined in SAT rev 08 (section 10.3.4.2.3) that supplies ATA model and serial numbers - make the libata VPD page 0x83 more extensible (for adding more designators in the future). - rename EVPD to VPD in various places. Enable Vital Product Data (EVPD) is a bit in the INQUIRY cdb. Signed-off-by: Jeff Garzik commit 116f232b3794a8b6ebde21aef5004b18cc1cfa86 tree 8d9d46605b1109cfbfd1c147dd8afce61a4c2fe7 parent 9e6b48732d53bd986178bca3bce18d2329e4b0ca author Rytchkov Alexey Wed, 22 Mar 2006 00:58:53 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:58:53 +0100 fixed path to moved file in include/linux/device.h Signed-off-by: Adrian Bunk commit e952f31bce6e9f64db01f607abc46529ba57ac9e tree b746bcd315d4f86c9ed7617939f29339fc692852 parent e0f4ab8a1741193891f096aa63df9ac8672af54c parent 133a58c1fd97022690d53dd58df56579193cbc1d author Linus Torvalds Tue, 21 Mar 2006 15:58:17 -0800 committer Linus Torvalds Tue, 21 Mar 2006 15:58:17 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: [IA64-SGI] SN2-XP reduce kmalloc wrapper inlining [IA64] MCA: remove obsolete ifdef [IA64] MCA: update MCA comm field for user space tasks [IA64] MCA: print messages in MCA handler [IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly [IA64] use icc defined constant [IA64] add __builtin_trap definition for icc build [IA64] clean up asm/intel_intrin.h [IA64] map ia64_hint definition to intel compiler intrinsic [IA64] hooks to wait for mmio writes to drain when migrating processes [IA64-SGI] driver bugfixes and hardware workarounds for CE1.0 asic [IA64-SGI] Handle SC env. powerdown events [IA64] Delete MCA/INIT sigdelayed code [IA64-SGI] sem2mutex ioc4.c [IA64] implement ia64 specific mutex primitives [IA64] Fix UP build with BSP removal support. [IA64] support for cpu0 removal commit 9e6b48732d53bd986178bca3bce18d2329e4b0ca tree ee2d56e04b57fd91ad5dfc80cade48bfa6990041 parent d7f2baaadc0e2da3b4dff76494f9cf46d48ad301 author James Ring Wed, 22 Mar 2006 00:51:11 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:51:11 +0100 Fix spelling in E1000_DISABLE_PACKET_SPLIT Kconfig description Signed-off-by: Adrian Bunk commit d7f2baaadc0e2da3b4dff76494f9cf46d48ad301 tree 6e579b0e401aa66b4a428405b635227e7dd5de72 parent 43019a56aa99dbf67f32fb7bd04851b1ba63fa58 author Adrian Bunk Wed, 22 Mar 2006 00:43:59 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:43:59 +0100 Documentation/dvb/get_dvb_firmware: fix firmware URL This patch fixes a wrong URL in Documentation/dvb/get_dvb_firmware. This patch fixes kernel Bugzilla #4301. Signed-off-by: Adrian Bunk commit 43019a56aa99dbf67f32fb7bd04851b1ba63fa58 tree dc905480f8989dce0d4b0ed675143984c16b8914 parent a609164f7c4eb82b97444871cb47f2f261696dd9 author Ian McDonald Wed, 22 Mar 2006 00:37:42 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:37:42 +0100 Documentation: Update to BUG-HUNTING Signed-off-by: Ian McDonald Signed-off-by: Adrian Bunk commit a609164f7c4eb82b97444871cb47f2f261696dd9 tree 7071898aab6e72d30ecea33653af20d4d03e2597 parent d92bf25fb088b1f12ad7fb3f9a4f9a3e1bf28959 author Michal Wronski Wed, 22 Mar 2006 00:34:37 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:34:37 +0100 Remove superfluous NOTIFY_COOKIE_LEN define NOTIFY_COOKIE_LEN is defined in mqueue.h as well as mqueue.c This patch removes redundant definition from mqueue.c Signed-off-by: Michal Wronski Signed-Off-By: Manfred Spraul Signed-off-by: Adrian Bunk commit 58e9ff56382bdce340d50b6ff22c422dc617106c tree 5cbe14561fe6be5d5a867ef860daf36f938dbdc0 parent ae92dc9f7bc9018f1d043f102747a1f1e4dd96fb author Russell King Mon, 20 Mar 2006 16:52:32 +0000 committer Russell King Tue, 21 Mar 2006 23:30:02 +0000 [ARM] Use kcalloc to allocate counter_config array rather than kmalloc We need this to be zero initialised. Since this is an array, use kcalloc rather than kzalloc or kmalloc. Signed-off-by: Russell King commit ae92dc9f7bc9018f1d043f102747a1f1e4dd96fb tree badf1461067e30a7ee39100ca23b7ce1772773b3 parent 93ad79496c8831552d5f8ca7c182f149cc3cf19a author Russell King Thu, 16 Mar 2006 11:32:51 +0000 committer Russell King Tue, 21 Mar 2006 23:30:02 +0000 [ARM] Oprofile: dynamically allocate counter_config Signed-off-by: Russell King commit 93ad79496c8831552d5f8ca7c182f149cc3cf19a tree c8a052a2419081a7d930b1844dec0e0bd1747211 parent c3d5395fd7ac5b338c701deaaddec090d3c25af9 author Russell King Thu, 16 Mar 2006 11:38:16 +0000 committer Russell King Tue, 21 Mar 2006 23:30:00 +0000 [ARM] Oprofile: Convert semaphore to mutex op_arm_sem is being used as a mutex, so convert it to use real mutexes. Signed-off-by: Russell King commit d92bf25fb088b1f12ad7fb3f9a4f9a3e1bf28959 tree 5cb90e7d9250efd185cfc36cb14ae4f57965f4f3 parent 80682fa9f70932950c913fd10411c004c4c2e8b0 author Uwe Zeisberger Wed, 22 Mar 2006 00:25:52 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:25:52 +0100 add "tags" to .gitignore Signed-off-by: Uwe Zeisberger Signed-off-by: Adrian Bunk commit 80682fa9f70932950c913fd10411c004c4c2e8b0 tree 696d4e63124bd6b73c8ec25ee81185545f0cf828 parent 7ad4a5d56874b37ad24d89aae2f8d192ba7b1521 author Uwe Zeisberger Wed, 22 Mar 2006 00:21:33 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:21:33 +0100 Fix "frist", "fisrt", typos Signed-off-by: Uwe Zeisberger Signed-off-by: Adrian Bunk commit 7ad4a5d56874b37ad24d89aae2f8d192ba7b1521 tree 05d5a91190b22d074e28006a798e1dee1a761f22 parent 4de151d8cd2553e7e89044ab5d72fcad4eb04afb author Lucas Correia Villa Real Wed, 22 Mar 2006 00:19:39 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:19:39 +0100 fix rwlock usage example This is a trivial patch which fixes a typo on rwlock usage under Documentation/spinlocks.txt. Signed-Off-By: Lucas Correia Villa Real Signed-off-by: Adrian Bunk commit 4de151d8cd2553e7e89044ab5d72fcad4eb04afb tree 372195d30aef0b934fa1e9d5c01280f01dcbded0 parent e0f4ab8a1741193891f096aa63df9ac8672af54c author Alexey Dobriyan Wed, 22 Mar 2006 00:13:35 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:13:35 +0100 It's UTF-8 Fix some comments to "UTF-8". Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk commit e0f4ab8a1741193891f096aa63df9ac8672af54c tree 2032d7c45b36b2c4d81b437221e06d6803fffdbc parent ca94f26d2b2ee8ad76be617b35f846444fedc07b author Linus Torvalds Tue, 21 Mar 2006 14:51:37 -0800 committer Linus Torvalds Tue, 21 Mar 2006 14:51:37 -0800 Revert "V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion" This reverts commit 08f1d0b99f4e2203935d86640a7fec5c233b777c The "bt8xx/ conversion" for drivers/video/ hasn't actually percolated all the way to this tree, so the Makefile change escaped too soon. Build breakage noticed by Jeff Garzik Signed-off-by: Linus Torvalds commit c3d5395fd7ac5b338c701deaaddec090d3c25af9 tree f8d344cb9672a5a3c7816ea7cc6b00f2db665350 parent da956fd6b84f61bc98a18a63cdbd8190ec7b8cd0 author Ben Dooks Mon, 20 Mar 2006 21:28:04 +0000 committer Russell King Tue, 21 Mar 2006 22:06:23 +0000 [ARM] 3376/2: S3C2410 - update defconfig Patch from Ben Dooks Add Simtec Osiris to the default build, and enable the USB-OHCI section by default. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit da956fd6b84f61bc98a18a63cdbd8190ec7b8cd0 tree 9d4728d936017ad37a69aa811f1aa453ac9e7f54 parent bd20ff5793b4ece4fa3e9e0fcf8e6bbd93526215 author Ben Dooks Mon, 20 Mar 2006 21:02:39 +0000 committer Russell King Tue, 21 Mar 2006 22:06:22 +0000 [ARM] 3375/1: S3C2440 - fix osiris machine build Patch from Ben Dooks Fix the build of arch/arm/mach-s3c2410/mach-osiris.c and fix the warnings from sparse. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit bd20ff5793b4ece4fa3e9e0fcf8e6bbd93526215 tree 3241a5ab8b8ff5e00107f80417d5dc75e57e8acb parent 36c64af4e013ddf44c44298f50ff138ef1e2e7b7 author Lennert Buytenhek Mon, 20 Mar 2006 21:02:37 +0000 committer Russell King Tue, 21 Mar 2006 22:06:21 +0000 [ARM] 3374/1: ep93xx: gpio interrupt support Patch from Lennert Buytenhek Add GPIO interrupt support for the first 16 GPIO lines (port A and B.) Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 36c64af4e013ddf44c44298f50ff138ef1e2e7b7 tree 9ece82d6a2ed67fb3efa1e422435864f09c22d96 parent e44c03960f232e0f9bd2f6bcffccf83770757a8e author Ben Dooks Mon, 20 Mar 2006 21:00:48 +0000 committer Russell King Tue, 21 Mar 2006 22:06:20 +0000 [ARM] 3361/1: S3C24XX - add USB bus clock source Patch from Ben Dooks Add USB bus clock definition for 48MHz fed to OHCI and gadget cores Signed-off-by: Ben Dooks Signed-off-by: Russell King commit e44c03960f232e0f9bd2f6bcffccf83770757a8e tree f14012b8224dd45dc7f0c4c9abeea05287b6feec parent 6e8908edd5a140f4f0cc4338fa0420b0bb0f8efa author Ben Dooks Mon, 20 Mar 2006 21:00:12 +0000 committer Russell King Tue, 21 Mar 2006 22:06:19 +0000 [ARM] 3360/1: S3C2440 - add set rate methods and camera clock Patch from Ben Dooks Add set_rate methods for the extra clocks on the S3C2440 and add the camera UPLL clock source Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 6e8908edd5a140f4f0cc4338fa0420b0bb0f8efa tree f428e1725b3ee7fd295077b90d3fd491c2c61b30 parent d2a02b93cf78205dd23226efb66481569900976e author Ben Dooks Mon, 20 Mar 2006 21:00:08 +0000 committer Russell King Tue, 21 Mar 2006 22:06:18 +0000 [ARM] 3359/1: S3C24XX - add support for clk_set_rate Patch from Ben Dooks Add support for clk_set_rate and clk_round_rate to the s3c2410 clock implementation Signed-off-by: Ben Dooks Signed-off-by: Russell King commit d2a02b93cf78205dd23226efb66481569900976e tree 94760abdafe5cb72a41d3edd405a26d0c8e2e0d3 parent 18ec5c731271939acb414614e964c15c8ef52156 author Russell King Mon, 20 Mar 2006 19:46:41 +0000 committer Russell King Tue, 21 Mar 2006 22:06:17 +0000 [ARM] Convert kmalloc+memset to kzalloc Convert all uses of kmalloc followed by memset to use kzalloc instead. Signed-off-by: Russell King commit 18ec5c731271939acb414614e964c15c8ef52156 tree e00ad5d5519623aea279da11bac381dd220ce40b parent dd18c34eac6686d04aed9e51e7b98842c0cef3d5 author Lennert Buytenhek Mon, 20 Mar 2006 17:10:17 +0000 committer Russell King Tue, 21 Mar 2006 22:06:16 +0000 [ARM] 3373/1: move uengine loader to arch/arm/common Patch from Lennert Buytenhek Move the uengine loader from arch/arm/mach-ixp2000 to arch/arm/common so that ixp23xx can use it too. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit dd18c34eac6686d04aed9e51e7b98842c0cef3d5 tree c2df68f3dd17bb1a7ffee4dff86df103501687dd parent a8e19667a42d752f3eca6eaa17aa5d6f93066dfe author Lennert Buytenhek Mon, 20 Mar 2006 17:10:15 +0000 committer Russell King Tue, 21 Mar 2006 22:06:13 +0000 [ARM] 3372/1: ep93xx: add defconfig Patch from Lennert Buytenhek Add ep93xx defconfig. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit a8e19667a42d752f3eca6eaa17aa5d6f93066dfe tree 7bf3b7eb8ac3fb6c18b3a8c33a88d6d2158f45e4 parent e7736d47a11a771ba87314be563b2cb6b8d11d14 author Lennert Buytenhek Mon, 20 Mar 2006 17:10:14 +0000 committer Russell King Tue, 21 Mar 2006 22:06:12 +0000 [ARM] 3371/1: ep93xx: gpio support Patch from Lennert Buytenhek Add support for setting the direction of and getting/setting the value of the 64 GPIO lines. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit e7736d47a11a771ba87314be563b2cb6b8d11d14 tree 21f27b7311a5298b9295b1e4b229eec190bfd23c parent 73deb7dc05b4cf968e506e7b18345bc65bcbc0f3 author Lennert Buytenhek Mon, 20 Mar 2006 17:10:13 +0000 committer Russell King Tue, 21 Mar 2006 22:06:11 +0000 [ARM] 3369/1: ep93xx: add core cirrus ep93xx support Patch from Lennert Buytenhek This patch adds support for the Cirrus ep93xx series of CPUs. The ep93xx is an ARM920T based CPU with two VICs, PL010 based UARTs, IrDA, MaverickCrunch floating point coprocessor, between 24 and 64 GPIOs, ethernet, OHCI USB and, depending on the model, pcmcia, raster engine, graphics accelerator, IDE controller and a bunch of other stuff. This patch adds the core ep93xx support code, and support for the Glomation GESBC-9312-sx and the Technologic Systems TS-72xx SBCs. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 73deb7dc05b4cf968e506e7b18345bc65bcbc0f3 tree 82c657f89548aaa0d6e62e889e0dafef427fd8d8 parent 03bd14c4b7fa535c78f17751172dbe8937729f05 author Alessandro Zummo Mon, 20 Mar 2006 17:10:12 +0000 committer Russell King Tue, 21 Mar 2006 22:06:09 +0000 [ARM] 3368/1: ixp4xx: set gpio direction in ixp4xx_config_irq Patch from Alessandro Zummo ixp4xx_config_irq did not configure the gpio line as an input. As an added bonus, the irq2gpio array has been converted from int to char. Signed-off-by: Alessandro Zummo Signed-off-by: Russell King commit 03bd14c4b7fa535c78f17751172dbe8937729f05 tree 158821512b54134a0f3a4927142858e1e424a88f parent 6d4518d76f9612d580f9423cc0c3364a06b69588 author Alessandro Zummo Mon, 20 Mar 2006 17:10:10 +0000 committer Russell King Tue, 21 Mar 2006 22:06:08 +0000 [ARM] 3349/1: ixp4xx exp bus defines Patch from Alessandro Zummo This patch adds a few defines that are useful to configure the CS regions on ixp4xx. Signed-off-by: Alessandro Zummo Signed-off-by: OEyvind Repvik Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6d4518d76f9612d580f9423cc0c3364a06b69588 tree 27e2287ecc9b858089a667def26b7d9555212337 parent 0328ad23cfd8a0501f44a1b83e49d5b0e47e2b3c author Peter Teichmann Mon, 20 Mar 2006 17:10:09 +0000 committer Russell King Tue, 21 Mar 2006 22:06:07 +0000 [ARM] 3346/1: Fix udelay() for HZ values different from 100 Patch from Peter Teichmann Currently, if the kernels HZ value is greater than 100, delays with the udelay function are too short. This can cause trouble for instance with the zd1201 usb wlan driver. This patch suggests a solution that keeps the overhead small and maintains (hopefully) sufficient resolution. Signed-off-by: Peter Teichmann Signed-off-by: Russell King commit 0328ad23cfd8a0501f44a1b83e49d5b0e47e2b3c tree 6cf4b72c6a243a1848c26bd548370ed794bfe065 parent 3fc3e1c0640887f883c28330e9d35145d23b2696 author Deepak Saxena Mon, 20 Mar 2006 17:10:08 +0000 committer Russell King Tue, 21 Mar 2006 22:06:06 +0000 [ARM] 3334/1: Add support for IXDP28x5 platforms Patch from Deepak Saxena This patch adds support for Intel's IXDP28x5 platform. This is just and IXDP2801 with a new CPU rev but the bootloader has been updated to reflect a new machine ID so we just build support for it by default when we build IXDP2801. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 3fc3e1c0640887f883c28330e9d35145d23b2696 tree 94a98fb93f5f742d0d984a84934bf9cb90315119 parent a08ceff2a98e09cb14afefdd9276714b85c945f7 author Ben Dooks Mon, 20 Mar 2006 17:10:07 +0000 committer Russell King Tue, 21 Mar 2006 22:06:05 +0000 [ARM] 3333/1: S3C2XX - add dclk and clkout clock support Patch from Ben Dooks Add enable and set_parent calls for the dclk and clkout clocks. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit a08ceff2a98e09cb14afefdd9276714b85c945f7 tree 7c4fb57c60e9e94d7581774d3a8f2935cc170b12 parent d3468daab82d5195fe85322235896797d5581720 author Ben Dooks Mon, 20 Mar 2006 17:10:07 +0000 committer Russell King Tue, 21 Mar 2006 22:06:03 +0000 [ARM] 3332/1: S3C24XX - documentation update Patch from Ben Dooks Add devices that we have drivers for, and update list of machines that are supported Signed-off-by: Ben Dooks Signed-off-by: Russell King commit d3468daab82d5195fe85322235896797d5581720 tree f4980daea0e4654a3e72cbfa61c82294036588f5 parent 8e40a2f91c6e73726a75381e4438478eb5964cb7 author Ben Dooks Mon, 20 Mar 2006 17:10:04 +0000 committer Russell King Tue, 21 Mar 2006 22:06:03 +0000 [ARM] 3331/1: S3C24XX - add clk_set_parent() to clock code Patch from Ben Dooks Add clk_set_parent() call to clock code Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 8e40a2f91c6e73726a75381e4438478eb5964cb7 tree b0b66666c84151a2c382e189e2fbcc619d1edfb0 parent 766636cc3630ae3b9827e7b4b1f566572963f1ef author Ben Dooks Mon, 20 Mar 2006 17:10:04 +0000 committer Russell King Tue, 21 Mar 2006 22:06:02 +0000 [ARM] 3330/1: S3C24XX - move UPLL to main clock Patch from Ben Dooks Move the UPLL clock registration to the central clock file, and add an enable method Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 766636cc3630ae3b9827e7b4b1f566572963f1ef tree 6405563d6daeff302e1501329a2917d83accfc36 parent 110d322b29c08d8cf1dba599fd45ad2b9752a4bb author Ben Dooks Mon, 20 Mar 2006 17:10:03 +0000 committer Russell King Tue, 21 Mar 2006 22:06:01 +0000 [ARM] 3329/1: S3C24XX - fix time for osiris machine Patch from Ben Dooks Add selection for timer code for the Simtec Osiris Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 110d322b29c08d8cf1dba599fd45ad2b9752a4bb tree 5175c4f762db0146aa2c01d3916f0f5ab113bf2c parent a61ea9326d9ba94bcdc21f36bb74aa203657c58f author Ben Dooks Mon, 20 Mar 2006 17:10:02 +0000 committer Russell King Tue, 21 Mar 2006 22:06:00 +0000 [ARM] 3327/1: S3C2410 - add osiris machine support Patch from Ben Dooks Support for Simtec IM2440D20 CPU modules (Osiris) Signed-off-by: Ben Dooks Signed-off-by: Russell King commit a61ea9326d9ba94bcdc21f36bb74aa203657c58f tree 775d8582e5a89f224059de24a0ade885530a4e06 parent 71dccd0f158a8077c92d51f213b55991b7a0e47e author Nicolas Pitre Mon, 20 Mar 2006 17:10:01 +0000 committer Russell King Tue, 21 Mar 2006 22:05:58 +0000 [ARM] 3261/2: remove phys_ram from struct machine_desc (part 3) Patch from Nicolas Pitre This field is redundent since it must be equal to PHYS_OFFSET anyway. There is no reference to it anymore so remove it at last. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 71dccd0f158a8077c92d51f213b55991b7a0e47e tree e5a3f3284db0669b63ea8ad6a263f226aca48dd1 parent 268099e3ccca5a988632ce18abd21d809d632ddc author Russell King Thu, 16 Mar 2006 20:50:34 +0000 committer Russell King Tue, 21 Mar 2006 22:05:58 +0000 [ARM] Collect Primecell PL01x-based debug implementations together Several ARM machine implementations used a PL01x primecell compatible serial port for debugging purposes, and indepdently implemented the low level debug macros every time. Provide a common implementation and convert these implementations to use this version. Signed-off-by: Russell King commit 268099e3ccca5a988632ce18abd21d809d632ddc tree eb060cc006e441742b1035d1a69e4d2d79e83e22 parent 22398f57b6372f3150f9ebb4b6d0aa4bf98c5dfb author Russell King Thu, 16 Mar 2006 20:40:25 +0000 committer Russell King Tue, 21 Mar 2006 22:05:57 +0000 [ARM] Collect 8250-based debug implementations together Several ARM machine implementations used an 8250 compatible port for debugging purposes, and indepdently implemented the low level debug macros every time. Provide a common implementation and convert these implementations to use this version. Signed-off-by: Russell King commit 22398f57b6372f3150f9ebb4b6d0aa4bf98c5dfb tree d37ec89a6e87885e2785adea6c0cc5854fa0516e parent 97d654f8eb4b8fbb6e1afef076429a4235a3a3ad author Russell King Wed, 15 Mar 2006 15:55:01 +0000 committer Russell King Tue, 21 Mar 2006 22:05:55 +0000 [ARM] Fix SA1100 debug-macros.S This needs asm/hardware.h - include it. Signed-off-by: Russell King commit 97d654f8eb4b8fbb6e1afef076429a4235a3a3ad tree 2d289d4e07f15254254a873a15ccb443acebe7d9 parent 824b5b5e59472c89bc508afa5c453547c91ed53b author Russell King Wed, 15 Mar 2006 15:54:37 +0000 committer Russell King Tue, 21 Mar 2006 22:05:53 +0000 [ARM] Convert SA1111 to use clock architecture Signed-off-by: Russell King commit 824b5b5e59472c89bc508afa5c453547c91ed53b tree a3bdb4feb4bad9ba4fea55c6801d70bfe50e3926 parent 548153663bbf33ca7c244a6bbddd82c26a17c331 author Russell King Wed, 15 Mar 2006 15:44:29 +0000 committer Russell King Tue, 21 Mar 2006 22:05:52 +0000 [ARM] Adapt vic.c to allow for multiple VICs in a system. Some SoCs have multiple VIC devices. Adapt the generic vic code to allow multiple implementations to be handled. Signed-off-by: Russell King commit 548153663bbf33ca7c244a6bbddd82c26a17c331 tree a524672721340c2c937deb7db25955230f478d96 parent 5d25ac038a317d454a4321cba955f756400835a5 author Russell King Wed, 15 Mar 2006 15:43:04 +0000 committer Russell King Tue, 21 Mar 2006 22:05:51 +0000 [ARM] Rename chipdata to 'base' and make it an iomem pointer In all current use cases, "chipdata" is used to store an iomem address. Mark it with __iomem, and rename it to 'base'. Leave the accessor macros alone. Signed-off-by: Russell King commit 5d25ac038a317d454a4321cba955f756400835a5 tree ec536b7e1aba8c0775f72e924743524e4688d5d7 parent f78f10436806660f39440a729acbaf03e3a01023 author Russell King Wed, 15 Mar 2006 12:33:43 +0000 committer Russell King Tue, 21 Mar 2006 22:05:50 +0000 [ARM] Move IRQ enable after coprocessor number decode Allow the individual coprocessor handlers to decide when to enable interrupts, rather than unconditionally enabling them. Signed-off-by: Russell King commit f78f10436806660f39440a729acbaf03e3a01023 tree 3cef9023d54d12bc029893b35945f7bec69a22d3 parent bfe65704812f82751470106ea50aeb7e7d37cc3f author Russell King Sat, 04 Mar 2006 11:04:12 +0000 committer Russell King Tue, 21 Mar 2006 22:05:50 +0000 [ARM] Remove unnecessary asm/hardware.h includes asm/hardware.h is not required for the majority of processor support files, ioremap support, mm initialisation, acorn IO support, nor the debug code (which picks up its machine specific includes via debug-macros.S) Signed-off-by: Russell King commit bfe65704812f82751470106ea50aeb7e7d37cc3f tree 7c84c0f14d5e4a1ee749a69a5e73ab7c37be8227 parent 411ef7f4cf1684ca7977c7917fd841ea091c5b26 author Russell King Sat, 04 Mar 2006 11:01:53 +0000 committer Russell King Tue, 21 Mar 2006 22:05:47 +0000 [ARM] Fix HZ definition for OMAP without 32K timer Unfortunately, OMAP platforms without the 32K timer left HZ set to an empty value. Fix this by making the dependency on OMAP_32K_TIMER rather than OMAP_32K_TIMER_HZ. Signed-off-by: Russell King commit 411ef7f4cf1684ca7977c7917fd841ea091c5b26 tree 2f8fe585de8c7e5f3e220d09a512d52711918351 parent f80658137fc8b789a71953adeca194a5a4747427 author Russell King Sat, 04 Mar 2006 10:37:07 +0000 committer Russell King Tue, 21 Mar 2006 22:05:46 +0000 [ARM] Remove asm/arch/irq.h asm/arch/irq.h used to be included from asm/irq.h, but was removed from the ARM kernel a long time ago. Consequently, the contents of asm/arch/irq.h (which mostly contain a definition for fixup_irq()) have not been used. Hence, remove asm/arch/irq.h. Some machine support files incorrectly included this file, making little or no use of the contents. Move the contents to a local include file, and remove those include statements as well. Signed-off-by: Russell King commit f80658137fc8b789a71953adeca194a5a4747427 tree 55a634d2720412f2d70546576f7bc5e035e8b1b3 parent ec1248e70edc5cf7b485efcc7b41e44e10f422e5 author Russell King Thu, 02 Mar 2006 22:41:59 +0000 committer Russell King Tue, 21 Mar 2006 22:05:45 +0000 [ARM] Move HZ definition into Kconfig Move the HZ definition into Kconfig, and set appropriate defaults for platforms. Remove mostly empty asm/arch/param.h include file. Signed-off-by: Russell King commit 48fa14f7618fe89cac9b807b05b66df4b595fc7e tree 66bd0889f1182c8716dd2613a1e23bed57374682 parent 74945c8616a50074277e18641baaae7464006766 author Russell King Thu, 16 Mar 2006 14:52:33 +0000 committer Russell King Tue, 21 Mar 2006 22:03:26 +0000 [ARM] select TLS_REG_EMUL and NEEDS_SYSCALL_FOR_CMPXCHG Rather than having a growing dependency line, use select to set these configuration symbols. Signed-off-by: Russell King commit 74945c8616a50074277e18641baaae7464006766 tree b74a005fd0c38b2582783378321bf324545f3346 parent 0f44ba1d1e67201c0c58af26eb441fa7014c89ec author Russell King Thu, 16 Mar 2006 14:44:36 +0000 committer Russell King Tue, 21 Mar 2006 22:03:25 +0000 [ARM] nommu: Move hardware page table definitions to pgtable-hwdef.h Move the hardware PMD and PTE page table definitions from pgtable.h into pgtable-hwdef.h, and include pgtable-hwdef.h as necessary. Signed-off-by: Russell King commit 0f44ba1d1e67201c0c58af26eb441fa7014c89ec tree a6162e21b5ec6d96240b16e18d0e5f89c756c9a1 parent fb1c7762b9b1f3c53daf0e700e977d77a29bcf04 author Russell King Fri, 24 Feb 2006 21:04:56 +0000 committer Russell King Tue, 21 Mar 2006 22:03:22 +0000 [ARM] Move read of processor ID out of lookup_processor_type() Read the processor ID at boot, and save it in "processor_id" as we did before. Later, when we re-parse the CPU type in the setup.c code, re-use the value stored in "processor_id". This allows a cleaner work-around for noMMU devices without CP#15. Signed-off-by: Russell King commit fb1c7762b9b1f3c53daf0e700e977d77a29bcf04 tree af6c8f9032c6f44492476e1606d202d354d8b8d1 parent 0157903e840f970c90880426505cbb8be5ddde68 author Russell King Fri, 24 Feb 2006 21:44:56 +0000 committer Russell King Tue, 21 Mar 2006 22:03:21 +0000 [ARM] Fix typo in tlbflush.h s/CONFIG_MMY/CONFIG_MMU/ Signed-off-by: Russell King commit 0157903e840f970c90880426505cbb8be5ddde68 tree e8297966d0a2d06347374e65d1c46c51cbea3837 parent f24284adcdeae963aacf0c9b17979c875069cd80 author Hyok S. Choi Fri, 24 Feb 2006 21:41:25 +0000 committer Russell King Tue, 21 Mar 2006 22:03:20 +0000 [ARM] noMMU: removes TLB codes in nommu mode This patch removes TLB related codes in nommu mode. Signed-off-by: Hyok S. Choi Signed-off-by: Russell King commit f24284adcdeae963aacf0c9b17979c875069cd80 tree db9a2046ab764aac1028b73e6cec3645ae3b18e6 parent ec1248e70edc5cf7b485efcc7b41e44e10f422e5 author Hyok S. Choi Fri, 24 Feb 2006 21:37:50 +0000 committer Russell King Tue, 21 Mar 2006 22:03:19 +0000 [ARM] noMMU: block sys_fork in nommu mode The sys_fork is not supported in nommu mode. The other syscalls that is not supported in nommu mode are to be defined as cond_signal in kernel/sys_ni.c. Signed-off-by: Hyok S. Choi Signed-off-by: Russell King commit ca94f26d2b2ee8ad76be617b35f846444fedc07b tree e26e265fb2a551caebc1f0d7807a1239e669fe0f parent 0b5bf225c06e62eb6066fc5b7ccf4f296356c503 parent 55be062d2d6397e6f24f3b91608917e9e84206d7 author Jeff Garzik Tue, 21 Mar 2006 16:40:51 -0500 committer Jeff Garzik Tue, 21 Mar 2006 16:40:51 -0500 Merge branch 'e1000-fixes' of git://198.78.49.142/~jbrandeb/linux-2.6 commit 0b5bf225c06e62eb6066fc5b7ccf4f296356c503 tree 931d1f5033618a203d0db18cef8eae290a442e3a parent 4a5e8e296cfdeef18312c08199f25c00ec148f41 author Jeff Garzik Tue, 21 Mar 2006 16:22:47 -0500 committer Jeff Garzik Tue, 21 Mar 2006 16:22:47 -0500 [netdrvr] pcnet32: other source formatting cleanups - undo some Lindent damage by indenting member names - remove history at top of .c file, this is stored in the kernel repo changelog (in greater detail, even). commit 4a5e8e296cfdeef18312c08199f25c00ec148f41 tree 0a1fe45e304b04f0a6ea67613548117e4645995c parent 3d781a02313e9f22923ee919d99e1cf72fd1f468 author Jeff Garzik Tue, 21 Mar 2006 16:15:44 -0500 committer Jeff Garzik Tue, 21 Mar 2006 16:15:44 -0500 [netdrvr] pcnet32: Lindent commit 3d781a02313e9f22923ee919d99e1cf72fd1f468 tree fab9e90894de2fcd483603f66ca592cf1f136c4d parent 09779c6df2dbe95483269d194b327d41fe2cc57e author Andrew Morton Thu, 16 Mar 2006 23:58:44 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] skfp warning fixes drivers/net/skfp/fplustm.c: In function `enable_formac': drivers/net/skfp/fplustm.c:552: warning: large integer implicitly truncated to unsigned type drivers/net/skfp/fplustm.c:555: warning: large integer implicitly truncated to unsigned type These arguments were changed to `const', so the compiler can now see that it's doing and outw(..., 0xffffnnnn). Cast the arg to ushort. Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 09779c6df2dbe95483269d194b327d41fe2cc57e tree 9ee7873eb248481bd06f73fdda79c019292c0e26 parent ac62ef043504d5c754357325cd514553ddabb046 author Nicolas Pitre Mon, 20 Mar 2006 11:54:27 -0500 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] smc91x: allow for dynamic bus access configs All accessor's different methods are now selected with C code and unused ones statically optimized away at compile time instead of being selected with #if's and #ifdef's. This has many advantages such as allowing the compiler to validate the syntax of the whole code, making it cleaner and easier to understand, and ultimately allowing people to define configuration symbols in terms of variables if they really want to dynamically support multiple bus configurations at the same time (with the unavoidable performance cost). Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik commit ac62ef043504d5c754357325cd514553ddabb046 tree b1c45d98f238852370d09b5cc2f37625005b9442 parent 8368f31c8f51ef8ba61ce9fff7b94259777b6419 author Don Fry Mon, 20 Mar 2006 15:26:03 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] pcnet32: support boards with multiple phys Boards with multiple PHYs were not being handled properly by the pcnet32 driver. This patch by Thomas Bogendoerfer with changes by me will allow Allied Telesyn 2700FTX and 2701FTX boards to use either the copper or the fiber interfaces. It has been tested on ia32 and ppc64 hardware. Philippe Seewer also tested and improved the patch. ethtool for pcnet32 already supports multiple phys. See also bugzilla bug 4219. Please apply to 2.6.16 Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 8368f31c8f51ef8ba61ce9fff7b94259777b6419 tree b5a762e54e4895dc9b4df071d61b144ce804d62b parent d257924e85a81561a956f1791fa5a226e3a32ce1 author Stephen Hemminger Mon, 20 Mar 2006 15:48:23 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] sky2 version 1.1 Set version to 1.1 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d257924e85a81561a956f1791fa5a226e3a32ce1 tree 4632372160838e2a878f9f1edf0d34b0da06d49c parent 8f24664da64f8db094cd9d379b16fc1d8776d1df author Stephen Hemminger Mon, 20 Mar 2006 15:48:22 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] sky2: handle all error irqs The hardware has additional error trap interrupt bits. I have never seen them trigger, but if they do, it looks like this might be useful. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8f24664da64f8db094cd9d379b16fc1d8776d1df tree c954d1ac501e3f4f4c5473cdc96bf46894b129d9 parent d89e1343959200a578465d50bb36c89733cf66a7 author Stephen Hemminger Mon, 20 Mar 2006 15:48:21 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: transmit recovery This patch decodes state and revovers from any races in the transmit timeout and NAPI logic. It should never trigger, but if it does then do the right thing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d89e1343959200a578465d50bb36c89733cf66a7 tree 9e920b8be3e6ab137b0c7e295f9d62ce80c30a88 parent fb2690a9bfa330aff3de29cbdde526591ac90dce author Stephen Hemminger Mon, 20 Mar 2006 15:48:20 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: whitespace fixes Small whitespace fixes. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit fb2690a9bfa330aff3de29cbdde526591ac90dce tree e9a070be2062a0221828a29d7499d8e65ce57bba parent 77b3d6a2d56be5af87ffae5bb78a39c847d49f99 author Stephen Hemminger Mon, 20 Mar 2006 15:48:19 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: add MSI support Add MSI support to sky2 driver. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 77b3d6a2d56be5af87ffae5bb78a39c847d49f99 tree 6fb2894ed3a6a77a57ff0ace39906ef5918f0e81 parent e07b1aa8b3ebedd3c7e0e1b4b524f1b2d62707cf author Stephen Hemminger Mon, 20 Mar 2006 15:48:18 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: coalescing parameters Change default coalescing parameters slightly, and allow wider range of values. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e07b1aa8b3ebedd3c7e0e1b4b524f1b2d62707cf tree 15e96ea55b6463d2b75eb94293230d8ee6345165 parent c4b1580e8ad1aab13e0d8b97c7af3eebab8791ae author Stephen Hemminger Mon, 20 Mar 2006 15:48:17 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: rework of NAPI and IRQ management Redo the interupt handling of sky2 driver based on the IRQ mangement documentation. All interrupts are handled by the device0 NAPI poll routine. Don't need to adjust interrupt mask in IRQ context, done only when changing device under RTNL. Therefore don't need hwlock anymore. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c4b1580e8ad1aab13e0d8b97c7af3eebab8791ae tree 4e5c5043c3369f0aa4efd2de8cb598705fd1339f parent 290d4de5b71f60bb5853a7ef9f0e8c817cd26892 author Stephen Hemminger Mon, 20 Mar 2006 15:48:16 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: drop broken wake on lan support Remove wake on lan support for now. It doesn't work right, and I don't have a machine with working suspend/resume to test or fix it. It will be re-enabled later. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 290d4de5b71f60bb5853a7ef9f0e8c817cd26892 tree 257fb4590ff919886597bdc300ddd1dc8013227c parent 6f059c3e9042bc4eaa4f7a8dd651bbed9be144f2 author Stephen Hemminger Mon, 20 Mar 2006 15:48:15 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] sky2: remove support for untested Yukon EC/rev 0 The Yukon EC/rev0 (A1) chipset requires a bunch of workarounds. I copied these from sk98lin. But since they never got tested and add more cruft to the code; any attempt at using driver as is on this version will probably fail. It looks like this was a early engineering sample chip revision, if it ever shows up on a real system. Produce an error message. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6f059c3e9042bc4eaa4f7a8dd651bbed9be144f2 tree 7f7793ab7f2e793286a844525f0ab4d057347b7c parent 9362860fd1d9062ff9b3dca42aa3e1e68c2ddb67 author Dale Farnsworth Tue, 21 Mar 2006 11:44:35 -0700 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] mv643xx_eth: Cache align skb->data if CONFIG_NOT_COHERENT_CACHE When I/O is non-cache-coherent, we need to ensure that the I/O buffers we use don't share cache lines with other data. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 9362860fd1d9062ff9b3dca42aa3e1e68c2ddb67 tree 7b13ff1acb639b1acc47a22e524b4ead64629137 parent b9d64acc82c104df9e4d6b74cbb1af05a77b5d44 author Stephen Hemminger Tue, 21 Mar 2006 10:57:07 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: version 1.4 Update version number Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b9d64acc82c104df9e4d6b74cbb1af05a77b5d44 tree 796d6a43ea5f5e9c5d0ad591b9185c5bda261cf8 parent 203babb650d0c99a8be08f479d4a05d420988d89 author Stephen Hemminger Tue, 21 Mar 2006 10:57:06 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: handle pci errors better When a PCI error occurs, try and report more info. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 203babb650d0c99a8be08f479d4a05d420988d89 tree a573eab0062e1f24eef9c3b063a31a310fa6f192 parent c68ce71a340ffb5c589db5d9f9af1ce4ef81baa9 author Stephen Hemminger Tue, 21 Mar 2006 10:57:05 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: formmating and whitespace cleanup Reformat some code to make it easier to read. And whitespace fixes. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c68ce71a340ffb5c589db5d9f9af1ce4ef81baa9 tree 4fc443b263453df988de5133a9ab07561f40fbc4 parent ff7907aede7962629c2eb50e08b870316c80518f author Stephen Hemminger Tue, 21 Mar 2006 10:57:04 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: use mmiowb Add mmio barriers at the appropriate places, don't have a platform that needs them, but this is where the documentation of the patch says to add them. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ff7907aede7962629c2eb50e08b870316c80518f tree fd79519a2bb2738c0c28774a20004e257fbb2880 parent 93aea718c69d44ee492f233929686b15b5b3702d author Stephen Hemminger Tue, 21 Mar 2006 10:57:03 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: use kcalloc Use kcalloc when allocating ring data structure. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 93aea718c69d44ee492f233929686b15b5b3702d tree 8ab42f448d5b8839b81470c6909b05847cf78180 parent c3da14474063e71686039d961d14785a9c2971ae author Stephen Hemminger Tue, 21 Mar 2006 10:57:02 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:50 -0500 [PATCH] skge: dma configuration cleanup Cleanup of the part of the code that sets up DMA configuration. Should cause no real change in operation, just clearer. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c3da14474063e71686039d961d14785a9c2971ae tree e98f5e56f94abb911cc61df12e026e626c651c7c parent cfc3ed796eda2c41fb20986d831ed56c0474279d author Stephen Hemminger Tue, 21 Mar 2006 10:57:01 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:50 -0500 [PATCH] skge: check the allocation of ring buffer The SysKonnect Genesis and Yukon chip sets have restrictions on the possible control block area. The memory needs to not cross 4 Gig boundary, and it needs to be 8 byte aligned. This patch checks and fails to bring the device up if region is unacceptable. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit cfc3ed796eda2c41fb20986d831ed56c0474279d tree 5fbd513356c76c3fafa7ffda0c3dd6eda0d5b690 parent 00a6cae288138ce0444ab6f48a81da12afe557aa author Stephen Hemminger Tue, 21 Mar 2006 10:57:00 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:50 -0500 [PATCH] skge: use auto masking of irqs Improve performance of skge driver by not touching irq mask register as much. Since the interrupt source auto-masks, the driver can just leave it disabled until the end of the soft irq. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 00a6cae288138ce0444ab6f48a81da12afe557aa tree 28abdccb35a9b251a480c134e097341cdf789f52 parent ec1248e70edc5cf7b485efcc7b41e44e10f422e5 author Stephen Hemminger Tue, 21 Mar 2006 10:56:59 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:50 -0500 [PATCH] skge: use NAPI for tx cleanup. Cleanup transmit buffers using NAPI. This allows the transmit routine to leave interrupts enabled, and that improves performance. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 30afc84cf7325e88fb9746340eba3c161080ff49 tree 829ea31d6ab095bd7a35651cd6018205a2b21d11 parent d04cdb64212eb5ae6a98026a97dda626e40e8e9a author Tejun Heo Sat, 18 Mar 2006 18:40:14 +0900 committer James Bottomley Tue, 21 Mar 2006 13:07:05 -0600 [SCSI] libata: implement minimal transport template for ->eh_timed_out SCSI midlayer has moved hostt->eh_timed_out to transport template. As libata doesn't need full-blown transport support yet, implement minimal transport for libata. No transport class or whatsoever, just empty transport template with ->eh_timed_out hook. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit d04cdb64212eb5ae6a98026a97dda626e40e8e9a tree b6a7dbb21ccfceb915844e9a330b3d3dfcaf3c5b parent 2f8600dff2b140096a7df781884e918a16aa90e0 parent ec1248e70edc5cf7b485efcc7b41e44e10f422e5 author James Bottomley Tue, 21 Mar 2006 13:05:45 -0600 committer James Bottomley Tue, 21 Mar 2006 13:05:45 -0600 Merge ../linux-2.6 commit ec1248e70edc5cf7b485efcc7b41e44e10f422e5 tree 80ca10a1ad9dc572e131a56a93fcf0c63c14d168 parent 3d1f337b3e7378923c89f37afb573a918ef40be5 parent 55e9dce37ddf3ab358ba1d1e9eef4ee4bd8174a6 author Linus Torvalds Tue, 21 Mar 2006 09:33:19 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:33:19 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6: [CRYPTO] aes: Fixed array boundary violation [CRYPTO] tcrypt: Fix key alignment [CRYPTO] all: Add missing cra_alignmask [CRYPTO] all: Use kzalloc where possible [CRYPTO] api: Align tfm context as wide as possible [CRYPTO] twofish: Use rol32/ror32 where appropriate commit 3d1f337b3e7378923c89f37afb573a918ef40be5 tree 386798378567a10d1c7b24f599cb50f70298694c parent 2bf2154c6bb5599e3ec3f73c34861a0b12aa839e parent 5e35941d990123f155b02d5663e51a24f816b6f3 author Linus Torvalds Tue, 21 Mar 2006 09:31:48 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:31:48 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (235 commits) [NETFILTER]: Add H.323 conntrack/NAT helper [TG3]: Don't mark tg3_test_registers() as returning const. [IPV6]: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2 [IPV6]: Nearly complete kzalloc cleanup for net/ipv6 [IPV6]: Cleanup of net/ipv6/reassambly.c [BRIDGE]: Remove duplicate const from is_link_local() argument type. [DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking [TG3]: make drivers/net/tg3.c:tg3_request_irq() static [BRIDGE]: use LLC to send STP [LLC]: llc_mac_hdr_init const arguments [BRIDGE]: allow show/store of group multicast address [BRIDGE]: use llc for receiving STP packets [BRIDGE]: stp timer to jiffies cleanup [BRIDGE]: forwarding remove unneeded preempt and bh diasables [BRIDGE]: netfilter inline cleanup [BRIDGE]: netfilter VLAN macro cleanup [BRIDGE]: netfilter dont use __constant_htons [BRIDGE]: netfilter whitespace [BRIDGE]: optimize frame pass up [BRIDGE]: use kzalloc ... commit 2bf2154c6bb5599e3ec3f73c34861a0b12aa839e tree 62691bd915e2e3c2e6648306d3fb893f7a1dc57e parent 08a4ecee986dd98e86090ff5faac4782b6765aed parent 71a8924bee63d891f6256d560e32416a458440b3 author Linus Torvalds Tue, 21 Mar 2006 09:25:47 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:25:47 -0800 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: (81 commits) [PATCH] USB: omninet: fix up debugging comments [PATCH] USB serial: add navman driver [PATCH] USB: Fix irda-usb use after use [PATCH] USB: rtl8150 small fix [PATCH] USB: ftdi_sio: add Icom ID1 USB product and vendor ids [PATCH] USB: cp2101: add new device IDs [PATCH] USB: fix check_ctrlrecip to allow control transfers in state ADDRESS [PATCH] USB: vicam.c: fix a NULL pointer dereference [PATCH] USB: ZC0301 driver bugfix [PATCH] USB: add support for Creativelabs Silvercrest USB keyboard [PATCH] USB: storage: new unusual_devs.h entry: Mitsumi 7in1 Card Reader [PATCH] USB: storage: unusual_devs.h entry 0420:0001 [PATCH] USB: storage: another unusual_devs.h entry [PATCH] USB: storage: sandisk unusual_devices entry [PATCH] USB: fix initdata issue in isp116x-hcd [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) [PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces [PATCH] USB: ub 03 drop stall clearing [PATCH] USB: ub 02 remove diag [PATCH] USB: ub 01 remove first_open ... commit 08a4ecee986dd98e86090ff5faac4782b6765aed tree 74df5de49f38c432a6a18303b0c6d834fd09028f parent ba93c6297b9cfad5a70b5e5ed13c9dbead6601d3 parent b3229087c5e08589cea4f5040dab56f7dc11332a author Linus Torvalds Tue, 21 Mar 2006 09:25:15 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:25:15 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (23 commits) [PATCH] sysfs: fix a kobject leak in sysfs_add_link on the error path [PATCH] sysfs: don't export dir symbols [PATCH] get_cpu_sysdev() signedness fix [PATCH] kobject_add_dir [PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data [PATCH] sysfs: fix problem with duplicate sysfs directories and files [PATCH] Kobject: kobject.h: fix a typo [PATCH] Kobject: provide better warning messages when people do stupid things [PATCH] Driver core: add macros notice(), dev_notice() [PATCH] firmware: fix BUG: in fw_realloc_buffer [PATCH] sysfs: kzalloc conversion [PATCH] fix module sysfs files reference counting [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to RCU subsystem [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() [PATCH] Clean up module.c symbol searching logic [PATCH] kobj_map semaphore to mutex conversion [PATCH] kref: avoid an atomic operation in kref_put() [PATCH] handle errors returned by platform_get_irq*() [PATCH] driver core: platform_get_irq*(): return -ENXIO on error ... commit ba93c6297b9cfad5a70b5e5ed13c9dbead6601d3 tree 3785afef7c0f7b72ec87f88fc19b88bfb48386fe parent e031d33efde817ce6b4f907f0fa1ff021301748f parent 2b422383c3d8dcd203dd9aea70155be6258dbf6c author Linus Torvalds Tue, 21 Mar 2006 09:23:46 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:23:46 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: README: bzip2 is not new Documentation/Changes: remove outdated translation references remove dead Radeon URL SCSI_AACRAID: add a help text update the i386 defconfig MAINTAINERS: remove the LANMEDIA entry Move ip2.c and ip2main.c to drivers/char/ip2/ where the other files commit e031d33efde817ce6b4f907f0fa1ff021301748f tree 2e9ba300db601f61fdc32813f55114d363d3d4e2 parent 52aef8183fbedb0232b20127b089e85e7aa095e3 parent 48e08101c0fa0e1767cdef13fdaea79cad3106a2 author Linus Torvalds Tue, 21 Mar 2006 09:22:41 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:22:41 -0800 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Update defconfigs. [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line. [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. [MIPS] TX49XX has prefetch. [MIPS] Kill tlb-andes.c. [MIPS] War on whitespace: cleanup initial spaces followed by tabs. [MIPS] Makefile crapectomy. [MIPS] Reformat __xchg(). [MIPS] Mention Broadcom part number for BigSur board [MIPS] Remove CONFIG_BUILD_ELF64. [MIPS] Further sparsification for 32-bit compat code. [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend [MIPS] Signal cleanup [MIPS] Reformat all of signal32.c with tabs instead of space for consistency [MIPS] Delete unused sys32_waitpid. [MIPS] Make I/O helpers more customizable [MIPS] Symmetric Uniprocessor support for Qemu. [MIPS] sc-rm7k.c cleanup [MIPS] MIPS64 R2 optimizations for 64-bit endianess swapping. [MIPS] Add early console for Cobalt. commit 52aef8183fbedb0232b20127b089e85e7aa095e3 tree 4c06b3351284f222a9cd825e6f1ea8543e7656c2 parent 28c006c1f09ea92d4f2585a087a188955ce3f64c parent fd02e8038eb943755e8727a0ea193c037a51714f author Linus Torvalds Tue, 21 Mar 2006 09:22:08 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:22:08 -0800 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: (47 commits) IB/mthca: Query SRQ srq_limit fixes IPoIB: Get rid of useless test of queue length IB/mthca: Correct reported SRQ size in MemFree case. IB/mad: Fix oopsable race on device removal IB/srp: Coverity fix to srp_parse_options() IB/mthca: Coverity fix to mthca_init_eq_table() IB: Coverity fixes to sysfs.c IPoIB: Move ipoib_ib_dev_flush() to ipoib workqueue IPoIB: Fix build now that neighbour destructor is in neigh_params IB/uverbs: Use correct alt_pkey_index in modify QP IB/umad: Add support for large RMPP transfers IB/srp: Add SCSI host attributes to show target port IB/cm: Check cm_id state before handling a REP IB/mthca: Update firmware versions IB/mthca: Optimize large messages on Sinai HCAs IB/uverbs: Fix query QP return of sq_sig_all IB: Fix modify QP checking of "current QP state" attribute IPoIB: Fix multicast race between canceling and completing IPoIB: Clean up if posting receives fails IB/mthca: Use an enum for HCA page size ... commit 28c006c1f09ea92d4f2585a087a188955ce3f64c tree 2615749653cd3ba4852d2f5ed22f21eec0cd5712 parent cbe037b46f564188045937e6006c5c1d6093618a parent 7abe53155b77c31028a7158883bc9aac705790da author Linus Torvalds Tue, 21 Mar 2006 09:20:47 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:20:47 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] Fix cosmetic typo in asm/irq.h [ARM] 3367/1: CLCD mode no longer supported on the RealView boards [ARM] 3366/1: Allow the 16bpp mode configuration in the CLCD control register commit cbe037b46f564188045937e6006c5c1d6093618a tree a06d32fbe5c19fbd674ab3df05476743803c9615 parent f0481730c827421cf1548bfd73c073c0f47f2907 parent cd85f6e2f58282186ad720fc18482be228f0b972 author Linus Torvalds Tue, 21 Mar 2006 09:20:12 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:20:12 -0800 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: (112 commits) [libata] sata_mv: fix irq port status usage [PATCH] libata: move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() [PATCH] libata: use local *id instead of dev->id in ata_dev_configure() [PATCH] libata: check Word 88 validity in ata_id_xfer_mask() [PATCH] libata: fix class handling in ata_bus_probe() [PATCH] ahci: enable prefetching for PACKET commands libata: turn on ATAPI by default [PATCH] sata_sil24: lengthen softreset timeout [PATCH] sata_sil24: exit early from softreset if SStatus reports no device [PATCH] libata: fix missing classes[] initialization in ata_bus_probe() [PATCH] libata: kill unused xfer_mode functions [PATCH] libata: reimplement ata_set_mode() using xfer_mask helpers [PATCH] libata: use xfer_mask helpers in ata_dev_set_mode() [PATCH] libata: use ata_id_xfermask() in ata_dev_configure() [PATCH] libata: add xfer_mask handling functions [PATCH] libata: improve xfer mask constants and update ata_mode_string() [PATCH] libata: rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK [PATCH] libata: kill unused pio_task and packet_task [PATCH] libata: convert pio_task and packet_task to port_task [PATCH] libata: implement port_task ... commit ac58c9059da8886b5e8cde012a80266b18ca146e tree 40bf486843a2cace6c3a959d73423e50e6aa0c00 parent df6db302cb236ac3a683d535a3e2073d9f4b2833 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Trond Myklebust Tue, 21 Mar 2006 12:08:21 -0500 committer Trond Myklebust Tue, 21 Mar 2006 12:08:21 -0500 Merge branch 'linus' commit f0481730c827421cf1548bfd73c073c0f47f2907 tree 0d25ab7377afd270995f8c31d2953ffa32c8aa40 parent c4a1745aa09fc110afdefea0e5d025043e348bae parent ecb73774e5f5b5f635a70073086c3f57b4ca4ae6 author Linus Torvalds Tue, 21 Mar 2006 09:01:08 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:01:08 -0800 Merge kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git with fixups This merges the DVB tree, but fixes up the history that had gotten screwed up by a broken commit. The history is fixed up by re-doing the commit properly (taking the resolve from the final result of the original), and then cherry-picking the commits that followed the broken merge. * dvb: (190 commits) V4L/DVB (3545): Fixed no_overlay option and quirks on saa7134 driver V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion V4L/DVB (3538): Bt8xx documentation update V4L/DVB (3537a): Whitespace cleanup V4L/DVB (3533): Add WSS (wide screen signalling) module parameters V4L/DVB (3532): Moved duplicated code of ALPS BSRU6 tuner to a standalone file. V4L/DVB (3530): Kconfig: remove VIDEO_AUDIO_DECODER V4L/DVB (3529): Kconfig: add menu items for cs53l32a and wm8775 A/D converters V4L/DVB (3528): Kconfig: fix ATSC frontend menu item names by manufacturer V4L/DVB (3527): VIDEO_CPIA2 must depend on USB V4L/DVB (3525): Kconfig: remove VIDEO_DECODER V4L/DVB (3524): Kconfig: add menu items for saa7115 and saa7127 V4L/DVB (3494): Kconfig: select VIDEO_MSP3400 to build msp3400.ko V4L/DVB (3522): Fixed a trouble with other PAL standards V4L/DVB (3521): Avoid warnings at video-buf.c V4L/DVB (3514): SAA7113 doesn't have auto std chroma detection mode V4L/DVB (3513): Remove saa711x driver V4L/DVB (3509): Make a needlessly global function static. V4L/DVB (3506): Cinergy T2 dmx cleanup on disconnect V4L/DVB (3504): Medion 7134: Autodetect second bridge chip ... Signed-off-by: Linus Torvalds commit ecb73774e5f5b5f635a70073086c3f57b4ca4ae6 tree d8313c4007896c78dfe05884a7740cb048ffd62a parent 08f1d0b99f4e2203935d86640a7fec5c233b777c author Mauro Carvalho Chehab Fri, 17 Mar 2006 20:54:32 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:54:02 -0800 V4L/DVB (3545): Fixed no_overlay option and quirks on saa7134 driver Some chipsets have several problems when pci to pci transfers are activated on overlay mode. the option no_overlay allows disabling such feature of the driver, in favor of keeping the system stable. The default is to use pcipci_fail flag defined on drivers/pci/quirks.c. It also allows the user to override it by forcing disable overlay or forcing enable. Forcing enable may generate PCI transfer corruption, including disk mass corruption, so should be used with care. Added a text description to this option and make messages looks the same at both bttv and saa7134 drivers. Signed-off-by: Mauro Carvalho Chehab commit 08f1d0b99f4e2203935d86640a7fec5c233b777c tree 924b69bf3ef08d9b13582aeee50720392a135ddb parent 8abe58aee6c682b5d300ce8e792821475646d79d author Manu Abraham Fri, 17 Mar 2006 18:21:17 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:54:00 -0800 V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 8abe58aee6c682b5d300ce8e792821475646d79d tree b002b77108c8f2e1bb021f9db7ae4b40d8f50a77 parent a8733ca5141c256322ab5ea9fd3074942a209bba author Uwe Bugla Thu, 16 Mar 2006 20:37:05 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:59 -0800 V4L/DVB (3538): Bt8xx documentation update Signed-off-by: Uwe Bugla Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit a8733ca5141c256322ab5ea9fd3074942a209bba tree b1c197500cdeabe8e863d6aecb6c8e3740c25909 parent 4caba4261f2649215710ac0298bd7814080000ad author Mauro Carvalho Chehab Fri, 17 Mar 2006 10:37:02 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:57 -0800 V4L/DVB (3537a): Whitespace cleanup Signed-off-by: Mauro Carvalho Chehab commit 4caba4261f2649215710ac0298bd7814080000ad tree 13f37c47560cb8692ac0ee5f6187647f576da932 parent 265366e8fb8c31706711aea5f79d763816a968db author Oliver Endriss Fri, 17 Mar 2006 05:29:15 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:55 -0800 V4L/DVB (3533): Add WSS (wide screen signalling) module parameters Add wss_cfg_4_3 and wss_cfg_16_9 configuration options. Firmware 2623 or later required. Both parameters are bit masks: - bit 15: disable WSS - bit 14: send short WSS burst, then turn off WSS - bit 13..0: WSS bits as specified by the standard These parameters are useful if you own a broken tv set which does not handle wss correctly. Default settings: - wss_cfg_4_3: 0x4008 - wss_cfg_16_9: 0x0007 These should work with most devices. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 265366e8fb8c31706711aea5f79d763816a968db tree 13841d27e621067180884f00d4019580674c28d5 parent ad5125913be0a723a2e17824ec688d4890bf978b author Perceval Anichini Thu, 16 Mar 2006 11:22:47 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:54 -0800 V4L/DVB (3532): Moved duplicated code of ALPS BSRU6 tuner to a standalone file. Moved duplicated code of ALPS BSRU6 tuner to a standalone file. Modified av7110 and budget drivers to include the new file. Signed-off-by: Perceval Anichini Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit ad5125913be0a723a2e17824ec688d4890bf978b tree 64db03969bf5e91e3b9d1078709950b4e5f5b9aa parent e273db7a99eabb4b2ba66dbaa90a63894cb2f2e3 author Michael Krufky Thu, 16 Mar 2006 14:53:23 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:53 -0800 V4L/DVB (3530): Kconfig: remove VIDEO_AUDIO_DECODER - removed VIDEO_AUDIO_DECODER Kconfig menu item. VIDEO_MSP3400, VIDEO_CS53L32A and VIDEO_WM8775 now each have their own menu items. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e273db7a99eabb4b2ba66dbaa90a63894cb2f2e3 tree ea935a2a807a6dd8a3dd323023726e44f5b55b32 parent f5c08a2ee906381d85a6f0a3ca309fd56cf3b90f author Michael Krufky Thu, 16 Mar 2006 14:48:38 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:52 -0800 V4L/DVB (3529): Kconfig: add menu items for cs53l32a and wm8775 A/D converters - created Kconfig item, VIDEO_CS53L32A, for the cs53l32a module which supports the Cirrus Logic CS53L32A Low Voltage Stereo A/D Converter. - created Kconfig item, VIDEO_WM8775, for the wm8775 module which supports the Wolfson Microelectronics WM8775 high performance stereo A/D Converter. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f5c08a2ee906381d85a6f0a3ca309fd56cf3b90f tree 6793d765aa7f42dab52e760f4153e891386a1c8d parent e690e14c9476aa46ec49ce8e24a591f786aa4766 author Michael Krufky Thu, 16 Mar 2006 13:18:25 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:50 -0800 V4L/DVB (3528): Kconfig: fix ATSC frontend menu item names by manufacturer - Corrected typo for NxtWave NXT200X - Added "Oren" manufacturer name to menu items for OR51132 and OR51211 - Removed "(pcHDTV HDx000 card)" from Oren frontends menu item names, This isn't necessary, as these frontends are selected by the card drivers, build configuration (DVB_BT8XX and VIDEO_CX88_DVB). Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e690e14c9476aa46ec49ce8e24a591f786aa4766 tree 6da6208288a96263f7142377b0018bad842d1f09 parent baacb5bf47eb4066d5f715529d5e68b004ad574c author Adrian Bunk Thu, 16 Mar 2006 12:53:53 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:49 -0800 V4L/DVB (3527): VIDEO_CPIA2 must depend on USB CONFIG_VIDEO_CPIA2=y, CONFIG_USB=n results in the following compile <-- snip --> ... LD .tmp_vmlinux1 drivers/built-in.o: In function `set_alternate':cpia2_usb.c:(.text+0x443aa2): undefined reference to `usb_set_interface' drivers/built-in.o: In function `cpia2_usb_stream_resume': undefined reference to `usb_alloc_urb' drivers/built-in.o: In function `cpia2_usb_stream_resume': undefined reference to `usb_submit_urb' drivers/built-in.o: In function `cpia2_usb_stream_pause': undefined reference to `usb_kill_urb' drivers/built-in.o: In function `cpia2_usb_stream_pause': undefined reference to `usb_free_urb' drivers/built-in.o: In function `cpia2_usb_disconnect':cpia2_usb.c:(.text+0x443e14): undefined reference to `usb_driver_release_interface' drivers/built-in.o: In function `cpia2_usb_transfer_cmd': undefined reference to `usb_control_msg' drivers/built-in.o: In function `cpia2_usb_transfer_cmd': undefined reference to `usb_control_msg' drivers/built-in.o: In function `cpia2_usb_complete':cpia2_usb.c:(.text+0x444836): undefined reference to `usb_submit_urb' drivers/built-in.o: In function `cpia2_usb_cleanup': undefined reference to `usb_deregister' drivers/built-in.o: In function `cpia2_usb_init': undefined reference to `usb_register_driver' Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit baacb5bf47eb4066d5f715529d5e68b004ad574c tree 0a475bb857a622d97c3d9c7bbff5abf820699ff0 parent ac9ec9358e63878b105f48f5f094105dff7d9833 author Michael Krufky Thu, 16 Mar 2006 02:59:09 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:48 -0800 V4L/DVB (3525): Kconfig: remove VIDEO_DECODER - removed VIDEO_DECODER Kconfig menu item. VIDEO_CX25840, VIDEO_SAA711X and VIDEO_SAA7127 now each have their own menu items. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ac9ec9358e63878b105f48f5f094105dff7d9833 tree 72abee794d515a1ad4b4a7d511828c195d03c058 parent cfdd4ad0661e57db353ff36c2e8c57fc956cf6fb author Michael Krufky Thu, 16 Mar 2006 02:53:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:47 -0800 V4L/DVB (3524): Kconfig: add menu items for saa7115 and saa7127 - created Kconfig menu item, VIDEO_SAA711X, for the saa7115 module, which supports SAA7113, SAA7114 and SAA7115 video decoders. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit cfdd4ad0661e57db353ff36c2e8c57fc956cf6fb tree 6a81b022ac68a1949223d69be0496ae02d9154d2 parent 02c17224da6182d11cde34d57b27b93aaa7206cf author Michael Krufky Mon, 13 Mar 2006 23:44:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:45 -0800 V4L/DVB (3494): Kconfig: select VIDEO_MSP3400 to build msp3400.ko The msp3400 driver is currently only being built if the bttv driver is selected. There are new drivers that will be needing msp3400, so simply including msp3400 in the Makefile is no longer appropriate. This patch creates VIDEO_MSP3400, and alters VIDEO_BT848, VIDEO_PVRUSB2 and VIDEO_AUDIO_DECODER each to select VIDEO_MSP3400. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 02c17224da6182d11cde34d57b27b93aaa7206cf tree 37c07631c17f5c4ce2ed0dd0cb1f570e58de25cc parent 9b89f2d301db6ad1fc716b70d9e26a38c958e7a5 author Mauro Carvalho Chehab Thu, 16 Mar 2006 18:44:07 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:44 -0800 V4L/DVB (3522): Fixed a trouble with other PAL standards V4L2_STD_PAL define is not correct. It specifies only 50Hz PAL standards. This patch fixes saa7113 color config for other PAL video standards. Signed-off-by: Mauro Carvalho Chehab commit 9b89f2d301db6ad1fc716b70d9e26a38c958e7a5 tree 2dbd3ce5f7349b46974e8759895aa5827c14d04d parent f89982a978974cc2fb74f512d7ec7438e0e851ea author Mauro Carvalho Chehab Wed, 15 Mar 2006 17:52:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:43 -0800 V4L/DVB (3521): Avoid warnings at video-buf.c Signed-off-by: Mauro Carvalho Chehab commit f89982a978974cc2fb74f512d7ec7438e0e851ea tree da9f6499f89f73fd0308f6ec98839ed41d5bba20 parent f5762e441d5022ecc5b66b5fe54e41e2ac5d02be author Mauro Carvalho Chehab Tue, 14 Mar 2006 16:33:33 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:41 -0800 V4L/DVB (3514): SAA7113 doesn't have auto std chroma detection mode This patch makes chroma standard selection based at possible values, according with datasheet. Signed-off-by: Mauro Carvalho Chehab commit f5762e441d5022ecc5b66b5fe54e41e2ac5d02be tree 6afff3bc33f4d8a2dca15a681902316d230eb811 parent c04e89b1f2c624fbb1e57874062491c2b987c7e2 author Mauro Carvalho Chehab Mon, 13 Mar 2006 13:31:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:40 -0800 V4L/DVB (3513): Remove saa711x driver Now, em28xx uses saa7115 instead of saa711x. saa7115 driver is capable of handling saa 7113, 7114 and 7115. Signed-off-by: Mauro Carvalho Chehab commit c04e89b1f2c624fbb1e57874062491c2b987c7e2 tree 35851248f05529e604c0dcd90ee6458c5a08ddc6 parent 77cc5319900054662861cb147f300b1d1d22fcc5 author Adrian Bunk Wed, 15 Mar 2006 16:17:11 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:37 -0800 V4L/DVB (3509): Make a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 77cc5319900054662861cb147f300b1d1d22fcc5 tree e466424e389bc28c2f869728491fed40508e9452 parent ba3a5a81f79d16666e1b46ee9e4fe7f2bc8bd70f author Markus Rechberger Wed, 15 Mar 2006 09:31:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:34 -0800 V4L/DVB (3506): Cinergy T2 dmx cleanup on disconnect Detaching the device didn't clean up several device files in /dev/dvb, after applying that patch all dvb devices disappeared as expected. Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit ba3a5a81f79d16666e1b46ee9e4fe7f2bc8bd70f tree 71e22f12307169af9a5ad96a51766b38736f3953 parent 67ac9a40f90db57b09f7d98f72d8d0344acefbac author Michael Krufky Tue, 14 Mar 2006 19:02:12 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:33 -0800 V4L/DVB (3504): Medion 7134: Autodetect second bridge chip The device, Medion 7134, has two saa7134 chips on it, but only one of them is functional in the current saa7134 driver. This patch adds autodetection for the second, unsupported saa7134 chip, as SAA7134_BOARD_MD7134_BRIDGE_2, and displays a message to the user (in dmesg) indicating that the second chip isn't yet functional. This is useful for users, since two instances of the saa7134 driver will spawn. This patch will prevent confusion by warning the user that only one of the chips on the board are functional. There are other versions of the SAA7134_BOARD_MD7134 with only a single saa7134 bridge/decoder -- those devices will not be affected by this patch. Only devices containing the second chip will display the warning. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 67ac9a40f90db57b09f7d98f72d8d0344acefbac tree 836d847d1708ec8aa2fe4e3a01e315203210a840 parent 12a219da0a74d1d797475addbccaedf2343be571 author Michael Krufky Tue, 14 Mar 2006 16:18:49 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:32 -0800 V4L/DVB (3503): Whitespace: fix incorrect indentation of curly bracket Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 12a219da0a74d1d797475addbccaedf2343be571 tree c6610dd1976b8d36b94e8b2e70a4c1dfe73a3577 parent 34731df288a5ffe4b0c396caf8cd24c6a710a222 author Michael Krufky Tue, 14 Mar 2006 16:07:42 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:30 -0800 V4L/DVB (3502): Saa7134: make unsupported secondary decoder message generic There are already some supported devices that contain two saa713x chips on-board, where only one of these chips is currently functional in the driver. We are already printing a warning message for the second saa7134 decoder in SAA7134_BOARD_AVERMEDIA_A169_B. This patch alters that case to make it generic, so that other cards in the same situation can use it. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 34731df288a5ffe4b0c396caf8cd24c6a710a222 tree 06738b1c00d2bee0df3b42d125b2ca4e03fc18b0 parent 4304954eb668ce66fc58f1cab9abb9a9e2584549 author Andreas Oberritter Tue, 14 Mar 2006 17:31:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:29 -0800 V4L/DVB (3501): Dmxdev: use dvb_ringbuffer Use dvb_ringbuffer instead of an own buffer implementation in dmxdev.[ch]. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 4304954eb668ce66fc58f1cab9abb9a9e2584549 tree d0cfb5b30f033ce3736c1977d71d984d7074cbf3 parent 19478843e4f8af7de9b297876519ee8b98c2f5ad author Andreas Oberritter Tue, 14 Mar 2006 17:30:09 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:27 -0800 V4L/DVB (3500): Ringbuffer: don't reset pointers to zero Oliver Endriss spotted, that resetting read and write pointers on flush() requires additional locking and breaks the av7110 driver. Therefore this patch partially reverts the previous patch titled "make dvb_ringbuffer compatible to dmxdev_buffer". Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 19478843e4f8af7de9b297876519ee8b98c2f5ad tree 3ba0739399f7acbdc5a96d46bff9f6b17c1c520c parent 5e5890e16ea917ad489a7778f51631bdb14523a2 author Mauro Carvalho Chehab Tue, 14 Mar 2006 17:24:57 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:26 -0800 V4L/DVB (3499): Fix a bug when more than MAXBOARDS were plugged on em28xx Coverity reported a bug at checking max number of supported boards by em28xx init code. Signed-off-by: Mauro Carvalho Chehab commit 5e5890e16ea917ad489a7778f51631bdb14523a2 tree 42501c5da6b45b6357201c8fa8c6b6d0c0d9163e parent 49444fe1239cc26882d1b1fdcc658b3bdf8df942 author Michael Krufky Tue, 14 Mar 2006 01:25:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:25 -0800 V4L/DVB (3497): Remove redundant makefile inclusion of tuner.o VIDEO_MXB selects VIDEO_TUNER, so we don't have to include tuner.o in the Makefile. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 49444fe1239cc26882d1b1fdcc658b3bdf8df942 tree f1e567475419a2f4a6cc17cbd8a721f8eb312ddc parent f6fe8c6a429bb44d95091e67f8e39662cd4e6fc3 author Michael Krufky Tue, 14 Mar 2006 00:52:20 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:24 -0800 V4L/DVB (3496): Cpia2: move Kconfig build logic into cpia2/Kconfig Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f6fe8c6a429bb44d95091e67f8e39662cd4e6fc3 tree c76a52168fde687ced2a2224c9beca5eb274616c parent 31dcbf994b9eda784c620c8caa3a9dc67a9d0045 author Michael Krufky Tue, 14 Mar 2006 00:35:07 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:22 -0800 V4L/DVB (3495): Kconfig: select VIDEO_CX25840 to build cx25840 a/v decoder module The cx25840 module requires external firmware in order to function, so it must select FW_LOADER, but saa7115 and saa7129 do not require it. This patch creates VIDEO_CX25840, and alters VIDEO_DECODER to select it. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 31dcbf994b9eda784c620c8caa3a9dc67a9d0045 tree 889d77d98d5584c7f90293344e56da62fd77a891 parent ae24601b47c3f4a56545ef4cd4e7c821ac1db598 author Duncan Sands Tue, 14 Mar 2006 12:12:39 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:21 -0800 V4L/DVB (3488): Snd_cx88_create: don't dereference NULL core If the call to cx88_core_get returns a NULL value, it is dereferenced by cx88_reset, and perhaps by cx88_core_put. Spotted by the Coverity checker. Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit ae24601b47c3f4a56545ef4cd4e7c821ac1db598 tree 562258e9fdec32a9b7410a8467dc5315bdbfe8c3 parent 9d9d6baeca6f9174b8e7fd219a62a8fa09d61cc7 author Eric Sesterhenn Mon, 13 Mar 2006 13:17:11 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:19 -0800 V4L/DVB (3485): BUG_ON() Conversion in drivers/video/media Signed-off-by: Eric Sesterhenn Signed-off-by: Mauro Carvalho Chehab commit 9d9d6baeca6f9174b8e7fd219a62a8fa09d61cc7 tree d98ceaf625ca9b16536b641476c9fc93177bd79b parent fc34f165317403444d254a27bc356dc5de0bbc3d author Andreas Oberritter Mon, 13 Mar 2006 13:14:34 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:17 -0800 V4L/DVB (3484): Make dvb_ringbuffer compatible to dmxdev_buffer Added variable 'error' to struct dvb_ringbuffer, which is set to zero on init() and flush(). Also reset read an write pointers to zero on flush() to get less fragmented data. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit fc34f165317403444d254a27bc356dc5de0bbc3d tree 1bfd73382f95e229100ab9824acc425fe376bf10 parent 9f9c907fdc331fc6062d758f46f65cb0d2dd11be author Michael Krufky Mon, 13 Mar 2006 03:41:44 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:16 -0800 V4L/DVB (3479): Cleanup mangled whitespace Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 9f9c907fdc331fc6062d758f46f65cb0d2dd11be tree 4e699fdfeb360a02fa9d1ba880d65b4a47ffe77e parent a5daecbaebda687d62c2ba1f46adaa96e4394282 author Marcin Rudowski Sun, 12 Mar 2006 00:03:47 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:15 -0800 V4L/DVB (3449): Cx88 default picture controls values This patch fixes default values for some picture controls: - brightness set to 50% by default (now is 0%) - hue set to 50% by default (now is 0%) - sets saturation to datasheet value - volume set to 0dB (now is -32dB) and some left small fixes: - twice offset adding - balance didn't follow datasheet (bits[0:5] = attenuation; bit[6] = channel to provide attenuation) Signed-off-by: Marcin Rudowski Signed-off-by: Ian Pickworth Signed-off-by: Mauro Carvalho Chehab commit a5daecbaebda687d62c2ba1f46adaa96e4394282 tree 84b8d689cc4bf12ec923e85d8c631049ada67c6d parent 49239c35f28e53f280b47efdbccfdf2cbd728993 author Matheus Izvekov Sat, 11 Mar 2006 23:54:58 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:14 -0800 V4L/DVB (3448): Cx88-input.c: add IR remote control support to CX88_BOARD_PROLINK_PLAYTVPVR This patch adds support for the IR remote control found in the card CX88_BOARD_PROLINK_PLAYTVPVR. Signed-off-by: Matheus Izvekov Signed-off-by: Mauro Carvalho Chehab commit 49239c35f28e53f280b47efdbccfdf2cbd728993 tree 5a06826c3ea236bcd9d66bf76367d863dad4f1f5 parent 68593af311aadb541b3b70acea175dea8e9cf7ca author Matheus Izvekov Sat, 11 Mar 2006 23:54:24 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:12 -0800 V4L/DVB (3447): Cx88-cards.c: fix values of gpio0 for card CX88_BOARD_PROLINK_PLAYTVPVR This patch changes the gpio0 values for the card CX88_BOARD_PROLINK_PLAYTVPVR to the ones observed using RegSpy from the dscaler project. Signed-off-by: Matheus Izvekov Signed-off-by: Mauro Carvalho Chehab commit 68593af311aadb541b3b70acea175dea8e9cf7ca tree ec38cccc0099c961e539005dc42adc28447c3231 parent f3629be8388a679590eb919919ee63e2715ec25e author Rickard Osser Sat, 11 Mar 2006 17:14:12 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:11 -0800 V4L/DVB (3446): Saa7134: add support for AVerMedia A169 Dual Analog tuner card - Added support for AVerMedia A169 Dual Analog tuner card (dual saa7134 decoders - only 1 working right now) - Added autodetection for both parts of the card. It shows up like 2 cards, B1 and B - Enabled tuner B1, SVIDEO on B1 and composite1 through SVIDEO, FIXME: B is more or less dead at this point and I suspect the FM-radio is on the B part of the board Signed-off-by: Rickard Osser Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f3629be8388a679590eb919919ee63e2715ec25e tree d97efc61c0845959da4918041fec21c88b9df76a parent fd2f26771b14a321f4003366fdf99a2484fa6b2a author Michael Krufky Sat, 11 Mar 2006 17:02:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:10 -0800 V4L/DVB (3445): LG TALN series: add PAL / SECAM support - added tuner_lg_taln_pal_secam_ranges - renamed tuner 66 from TUNER_LG_NTSC_TALN_MINI to TUNER_LG_TALN - updated FlyTV mini Asus Digimatrix with new tuner Thanks-to: Rickard Osser Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit fd2f26771b14a321f4003366fdf99a2484fa6b2a tree 22b566b4999bd8f37355d81378b93f668d6efbba parent b1b168e62390b720e46271937355edba0a6e30bf author Michael Krufky Sat, 11 Mar 2006 16:21:36 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:09 -0800 V4L/DVB (3444): Saa7134: small whitespace cleanup - matched indents on quotes within a printk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b1b168e62390b720e46271937355edba0a6e30bf tree 5582db482b1fc6127eb3e597ea39a9f8ee683d9e parent 9050d942b7dc55cd8e6d9b2c1ce260656021f0fb author Michael Krufky Sat, 11 Mar 2006 16:12:35 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:07 -0800 V4L/DVB (3443): Thomson FE6600: add missing "count" array element - added missing "count" element in Thomson FE6600 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 9050d942b7dc55cd8e6d9b2c1ce260656021f0fb tree 6906a570d9519b7368c626704413a317dda3c7e5 parent f705e6e4940c4e803240b77c6c63fb2d47a97b59 author Mauro Carvalho Chehab Fri, 10 Mar 2006 16:46:50 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:06 -0800 V4L/DVB (3439): Added no_overlay option and quirks to saa7134 Some chipsets have several problems when pci to pci transfers are activated on overlay mode. the option no_overlay allows disabling such feature of the driver, in favor of keeping the system stable. The default is to use pcipci_fail flag defined on drivers/pci/quirks.c. It also allows the user to override it by forcing disable overlay or forcing enable. Forcing enable may generate PCI transfer corruption, including disk mass corruption, so should be used with care. Added a text description to this option and make messages looks the same at both bttv and saa7134 drivers. Signed-off-by: Mauro Carvalho Chehab commit f705e6e4940c4e803240b77c6c63fb2d47a97b59 tree 0460c86284575f3662ea2c74bb56f713951cc043 parent bbad7dc5488a04fadebd7fa8aa051d81c2ae0080 author Andreas Oberritter Fri, 10 Mar 2006 15:22:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:05 -0800 V4L/DVB (3438): Optical cleanup for dmxdev.c Used Lindent, manually changed some line breaks. Removed invalid email addresses, useless casts and useless initialization of return values. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit bbad7dc5488a04fadebd7fa8aa051d81c2ae0080 tree ec1ddb9229f93e7a3b911b68d1e5aae800249ea7 parent 6abe6bff6fc62832bc8cce3886b9670ba2542601 author Andreas Oberritter Fri, 10 Mar 2006 15:21:58 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:04 -0800 V4L/DVB (3437): Fix typo in enum name and use enum in struct dmxdev_filter Rename 'enum dmxdevype' to 'enum dmxdev_type' and use this enum instead of int for the member 'type' of struct dmxdev_filter. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 6abe6bff6fc62832bc8cce3886b9670ba2542601 tree af38646bed34ff33aa6a95395a1d9a634b320542 parent 09794a6f95cf970d76e8b1c0ddd2b20a89f3dd88 author Andreas Oberritter Fri, 10 Mar 2006 15:21:43 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:02 -0800 V4L/DVB (3436): Remove 'dvbdev' from struct dmxdev_filter The member dvbdev gets initialized once but is never used after that. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 09794a6f95cf970d76e8b1c0ddd2b20a89f3dd88 tree 01078a40df1d15b3b14c81b3f085a75b8ad64b35 parent 4aca4831aafad64a8622cd855c5f952228d75d72 author Andreas Oberritter Fri, 10 Mar 2006 15:21:28 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:01 -0800 V4L/DVB (3435): Remove 'pid' from struct dmxdev_filter The PID value is already stored in struct dmx_sct_filter_params which is a member of struct dmxdev_filter. Acked-by: Johannes Stezenbach Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 4aca4831aafad64a8622cd855c5f952228d75d72 tree 9efeaaba608910282c881abe93a9afacd205a1ea parent 7947a220e5fe1373f1830b41fb7376bef636f113 author Marcin Rudowski Thu, 09 Mar 2006 16:09:51 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:00 -0800 V4L/DVB (3425): Correct gpio values for Aver 303 Studio in v4l-dvb tree Old values generally works in A2 mono, but new ones allows: - detect and use Nicam stereo - mute in tv - use radio FM Signed-off-by: Marcin Rudowski Signed-off-by: Mauro Carvalho Chehab commit 7947a220e5fe1373f1830b41fb7376bef636f113 tree 86637a1019721539cef1c94050c806e50fb2e504 parent cef4e7af71ec16aba13ae291e41262a8913a56d8 author Mauro Carvalho Chehab Thu, 09 Mar 2006 16:09:20 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:58 -0800 V4L/DVB (3424): Updated CARDLIST.tuner with newer tenna string Also Removed whitespaces introduced by previous tena patch Signed-off-by: Mauro Carvalho Chehab commit cef4e7af71ec16aba13ae291e41262a8913a56d8 tree c2565606eed842f898869b2a63b258d25a241007 parent 99ca99915068806552d1f90ce50bed4c7387d65a author Ian Pickworth Thu, 09 Mar 2006 12:03:40 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:57 -0800 V4L/DVB (3423): Fix cx88 error messages on balance change There is an error in the cx88 code that causes this message in the syslog when balance is changed at full volume: Mar 4 18:35:08 ian2 kernel: cx88[0]: irq pci [0x1] vid* Mar 4 18:35:39 ian2 last message repeated 348 times Mar 4 18:36:01 ian2 last message repeated 564 times ... and so on The attached patch cures this problem. Signed-off-by: Ian Pickworth Signed-off-by: Marcin Rudowski Signed-off-by: Mauro Carvalho Chehab commit 99ca99915068806552d1f90ce50bed4c7387d65a tree 24fbe348f28d65c215f7ed9c37ff49c909d0578a parent efcf55cb5c21d7142aeb1a5a4c14e40960600bd6 author Duncan Sands Thu, 09 Mar 2006 11:20:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:56 -0800 V4L/DVB (3420): Nskips maybe used uninitialized in bttv_risc_overlay The Coverity checker (previously Stanford checker) noticed that the value of nskips could be read even if it was never written. Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit efcf55cb5c21d7142aeb1a5a4c14e40960600bd6 tree 0f0b87521ce22495623fad9e1534b8164e0eec57 parent b05005772f34497eb2b7415a651fe785cbe70e16 author Mauro Carvalho Chehab Thu, 09 Mar 2006 11:17:43 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:55 -0800 V4L/DVB (3419): This patch fixes Tuner TNF5335 family Radio now works. Tuner now supports both PAL/D and STD/MN models Signed-off-by: Mauro Carvalho Chehab commit b05005772f34497eb2b7415a651fe785cbe70e16 tree b176aeb7fa9baf69e77ddd83e844727490bfcf28 parent 044f324f6ea5d55391db62fca6a295b2651cb946 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Linus Torvalds Tue, 21 Mar 2006 08:52:18 -0800 committer Linus Torvalds Tue, 21 Mar 2006 08:52:18 -0800 Merge branch 'origin' Conflicts: Documentation/video4linux/CARDLIST.cx88 drivers/media/video/cx88/Kconfig drivers/media/video/em28xx/em28xx-video.c drivers/media/video/saa7134/saa7134-dvb.c Resolved as in the original merge by Mauro Carvalho Chehab commit 133a58c1fd97022690d53dd58df56579193cbc1d tree 34e304eaf545cd7991580a7a30609f49c919eb52 parent dc5cdd8ec146a60152f2264c8fe920ca5ecc71ea parent 7aa6ba41362a7f888ad11fdcfe51ca8d92226cd3 author Tony Luck Tue, 21 Mar 2006 08:22:56 -0800 committer Tony Luck Tue, 21 Mar 2006 08:22:56 -0800 Pull sn2-reduce-kmalloc-wrap into release branch commit dc5cdd8ec146a60152f2264c8fe920ca5ecc71ea tree 6d30bcf19d47227ecf314ab4394b2add0ec77adc parent ae02e964b669f19fb08d953032463ab7dc6f79eb parent 2730c9295a9a797a22b800d3befd6a64fdc56b02 author Tony Luck Tue, 21 Mar 2006 08:22:39 -0800 committer Tony Luck Tue, 21 Mar 2006 08:22:39 -0800 Pull mca-cleanup into release branch commit ae02e964b669f19fb08d953032463ab7dc6f79eb tree e02ff418110b06c5b7cac8302f9930573f2f35b0 parent 409761bb6a06bd61e2d8e27a1af534371d9537ed parent dcc1dd2366a7c355fd8b6543c52685b864a2044f author Tony Luck Tue, 21 Mar 2006 08:22:17 -0800 committer Tony Luck Tue, 21 Mar 2006 08:22:17 -0800 Pull icc-cleanup into release branch commit 409761bb6a06bd61e2d8e27a1af534371d9537ed tree 2c07068558092a01d70f737de9b9a34212a44d4b parent a4e817ba24d2a52f0332c2ddcdbf77ddd6a92bbe parent e08e6c521355cd33e647b2f739885bc3050eead6 author Tony Luck Tue, 21 Mar 2006 08:21:26 -0800 committer Tony Luck Tue, 21 Mar 2006 08:21:26 -0800 Pull sn2-mmio-writes into release branch Hand-fixed conflicts: include/asm-ia64/machvec_sn2.h Signed-off-by: Tony Luck commit a4e817ba24d2a52f0332c2ddcdbf77ddd6a92bbe tree f2a43b1e741c4ade35e98b1088b3f111dfbf1342 parent 1f84253e3ce75fc1b2946a544e16c5c0c13c7017 parent 13938ca7a1ad9a4788cf73309f187d99c97ddfde author Tony Luck Tue, 21 Mar 2006 08:18:26 -0800 committer Tony Luck Tue, 21 Mar 2006 08:18:26 -0800 Pull altix-ce1.0-asic into release branch commit 1f84253e3ce75fc1b2946a544e16c5c0c13c7017 tree 0e029f4cd2781ade35a603a540ee147091763694 parent 581249966ffeb0463bad1b0e087e1bb29ed53707 parent 28ff6b9b2fc01d2c2746c72ce8af1729344fae27 author Tony Luck Tue, 21 Mar 2006 08:18:04 -0800 committer Tony Luck Tue, 21 Mar 2006 08:18:04 -0800 Pull sn-handle-sc-powerdown into release branch commit 581249966ffeb0463bad1b0e087e1bb29ed53707 tree d0cc7c15ff2cd9c65799a114b0f8e2257765f1e6 parent 6a8a8e14bed179f2d415c7f4fee51233c35c10c3 parent b0a06623dc4caf6dfb6a84419507643471676d20 author Tony Luck Tue, 21 Mar 2006 08:17:38 -0800 committer Tony Luck Tue, 21 Mar 2006 08:17:38 -0800 Pull delete-sigdelayed into release branch commit 6a8a8e14bed179f2d415c7f4fee51233c35c10c3 tree 2b83cc2f044237c8b7c3e14b5a70c4905f0050a3 parent 33cbd30eaf24ea43af4fe161b6fb34a859b3f2e0 parent 6e586f32931d6c98431d54cd0430d4366195b0ba author Tony Luck Tue, 21 Mar 2006 08:17:15 -0800 committer Tony Luck Tue, 21 Mar 2006 08:17:15 -0800 Pull sem2mutex-ioc4 into release branch commit 33cbd30eaf24ea43af4fe161b6fb34a859b3f2e0 tree ca0086f9764236e06c244054f5c32d268d226ae6 parent 536ea4e4198eeaa5a73fb734ea675e621609bb7e parent a454c2f3d1fd1cab7073b53c6c14d6d4b61f4e09 author Tony Luck Tue, 21 Mar 2006 08:16:55 -0800 committer Tony Luck Tue, 21 Mar 2006 08:16:55 -0800 Pull ia64-mutex-primitives into release branch commit 536ea4e4198eeaa5a73fb734ea675e621609bb7e tree 321384a2233413d7df5f00b3356116c8b05ef08d parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 parent b88e926584bf100bc23f5e76b7b674d4257edcb0 author Tony Luck Tue, 21 Mar 2006 08:16:21 -0800 committer Tony Luck Tue, 21 Mar 2006 08:16:21 -0800 Pull bsp-removal into release branch commit 48e08101c0fa0e1767cdef13fdaea79cad3106a2 tree a73350ce66c8a03febc0a033b68a46181b7e659c parent 17256052ff8c50f2330d2f297745fdbd6f37b720 author Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] Update defconfigs. Signed-off-by: Ralf Baechle commit 17256052ff8c50f2330d2f297745fdbd6f37b720 tree 023d98b156e70f7aee35afce952ce54c217c1da6 parent 947df17cb1be4c7239280a77263c249fde1379ef author Martin Michlmayr Mon, 20 Mar 2006 02:51:20 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line. Put in a blank line between CPU entries in /proc/cpuinfo, just like most other architectures (i386, ia64, x86_64) do. Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle --- commit 947df17cb1be4c7239280a77263c249fde1379ef tree 1e32d0e81848e59a9796c3034208aa72432583d0 parent de862b488e81172d4c610945efd9f3fc7f4b84a7 author H. Peter Anvin Fri, 24 Feb 2006 21:20:29 -0800 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. This patch adjusts the offset argument passed into sys_mmap2 to be always shifted 12, even when the native page size isn't 4K. This is what all existing userspace libraries expect. Signed-off-by: H. Peter Anvin Signed-off-by: Ralf Baechle --- commit de862b488e81172d4c610945efd9f3fc7f4b84a7 tree 677cde48279d65350e9dc2bb92204c2efd59b11a parent c6281edb1d5e307f056fff0e174f60fa6133adc5 author Atsushi Nemoto Fri, 17 Mar 2006 12:59:22 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] TX49XX has prefetch. The TX49XX has the prefetch instruction. It supports only Pref_Load (hint 0). Actually changes in this patch except for Kconfig are not have any effects, I added these changes to prevent misuse of unsupported hints. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit c6281edb1d5e307f056fff0e174f60fa6133adc5 tree 6cc6a0e1beb403fe60740b42137aa81e3759efc1 parent a3dddd560ee936495466d85ecc97490d171e8d31 author Thiemo Seufer Tue, 14 Mar 2006 14:35:27 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Kill tlb-andes.c. Basically identical to c-r4k.c, so maintaining one is really enough. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit a3dddd560ee936495466d85ecc97490d171e8d31 tree e9b5d778b5249ce348d2285a9b886b83c510d813 parent 59b3e8e9aac69d2d02853acac7e2affdfbabca50 author Ralf Baechle Sat, 11 Mar 2006 08:18:41 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] War on whitespace: cleanup initial spaces followed by tabs. Signed-off-by: Ralf Baechle commit 59b3e8e9aac69d2d02853acac7e2affdfbabca50 tree d66a8b17f62dfea581923bf1685477809b4d74a7 parent 0cea043b56443aef8a77539cdd79451f5d55009d author Ralf Baechle Wed, 08 Mar 2006 11:35:00 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Makefile crapectomy. Dump all the ridiculously complicated stuff that was needed support compilers older and newer than 3.0. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 0cea043b56443aef8a77539cdd79451f5d55009d tree 17368d7b32d8025471604101ea4037632c9e578b parent a206f6a7aa78cfaad1d4519e87d9a54fa2b5cfa6 author Ralf Baechle Fri, 03 Mar 2006 09:42:05 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Reformat __xchg(). Signed-off-by: Ralf Baechle commit a206f6a7aa78cfaad1d4519e87d9a54fa2b5cfa6 tree 12d180613e02ff66c34c30334135016d875402c5 parent 8145095cd8fd466980ea6401f26a52e462275222 author Martin Michlmayr Wed, 01 Mar 2006 01:55:05 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Mention Broadcom part number for BigSur board Mention the Broadcom part number for the BigSur board (BCM91480B) in Kconfig, just like it's done for other Broadcom boards. Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle commit 8145095cd8fd466980ea6401f26a52e462275222 tree c6f8642c2137f5fb053f018185cfd15ff7a34c00 parent 219ac73a7ad17a3ae3d5c07b4fc8c280645a073a author Ralf Baechle Wed, 22 Feb 2006 23:06:55 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Remove CONFIG_BUILD_ELF64. This option is no longer usable with supported compilers. It will be replaced by usage of -msym32 in a separate patch. Signed-off-by: Ralf Baechle commit 219ac73a7ad17a3ae3d5c07b4fc8c280645a073a tree debe814488e9e36ac0870f2c97af23d229a2570e parent b1bcb362d921f5e46a3bec0c7a73c32abfe74db2 author Atsushi Nemoto Tue, 21 Feb 2006 16:05:11 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Further sparsification for 32-bit compat code. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit b1bcb362d921f5e46a3bec0c7a73c32abfe74db2 tree 29b0b689886a3cb6ece801eac5b15da08dc2f489 parent 9c6031cc93626a194a9ef32d62b078ef1b396c45 author Atsushi Nemoto Tue, 21 Feb 2006 01:27:59 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 9c6031cc93626a194a9ef32d62b078ef1b396c45 tree ccc33703eb7e47193f06cbe995754efde92e658b parent 6254944faf5ff96b8b468457e3e2b2dcacc29fb7 author Atsushi Nemoto Sun, 19 Feb 2006 23:46:44 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Signal cleanup Move function prototypes to asm/signal.h to detect trivial errors and add some __user tags to get rid of sparse warnings. Generated code should not be changed. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 6254944faf5ff96b8b468457e3e2b2dcacc29fb7 tree 5bae0042d6f83bf348c422d05fc29296a6a21b37 parent af2667f7efa64706c78b8bee1398726fc86b42ad author Martin Michlmayr Sat, 18 Feb 2006 20:06:32 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Reformat all of signal32.c with tabs instead of space for consistency Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle commit af2667f7efa64706c78b8bee1398726fc86b42ad tree 126b18451aa5ded3fcaf4219c7645fd4ab726112 parent a8433137ea9143bb3a2bc18a3407b5a130fdb868 author Ralf Baechle Sun, 19 Feb 2006 03:20:07 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Delete unused sys32_waitpid. Signed-off-by: Ralf Baechle commit a8433137ea9143bb3a2bc18a3407b5a130fdb868 tree ff40223bf542173015c070a988a4f3b0554f89ea parent c1449c8fa40859eb269025a7db85b34115205f5b author Atsushi Nemoto Fri, 17 Feb 2006 01:36:24 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Make I/O helpers more customizable 1. Move ioswab*() and __mem_ioswab*() to mangle-port.h. This gets rid of CONFIG_SGI_IP22 from include/asm-mips/io.h. 2. Pass a virtual address to *ioswab*(). Then we can provide mach-specific *ioswab*() and can do every evil thing based on its argument. It could be useful on machines which have regions with different endian conversion scheme. 3. Call __swizzle_addr*() _after_ adding mips_io_port_base. This unifies the meaning of the argument of __swizzle_addr*() (always virtual address). Then mach-specific __swizzle_addr*() can do every evil thing based on the argument. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit c1449c8fa40859eb269025a7db85b34115205f5b tree f92bf4d9544aec45b978ed8e3f638018054b3a5c parent 37caa934af02bc01d0e1366a49e1c89360fa0f29 author Ralf Baechle Wed, 15 Feb 2006 15:17:19 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Symmetric Uniprocessor support for Qemu. SMP bits needed to builds and run an SMP kernel. While only a single processor is supported ATM it's still useful for some SMP debugging using Qemu. Signed-off-by: Ralf Baechle commit 37caa934af02bc01d0e1366a49e1c89360fa0f29 tree 96f0a41a3edbd0404358a92e5af5c1739ce311ac parent bbad8123f3a40a7b262e8e52d0bc10da67d719bb author Atsushi Nemoto Wed, 15 Feb 2006 18:25:48 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] sc-rm7k.c cleanup Use blast_scache_range, blast_inv_scache_range for rm7k scache routine. Output code should be logically same. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit bbad8123f3a40a7b262e8e52d0bc10da67d719bb tree 5ff67d7159b91f5144efaf6dfc63bafde1150de7 parent e87dddeb92618d9dbb8b9f946a193739a4447609 author Ralf Baechle Wed, 15 Feb 2006 13:06:34 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:44 +0000 [MIPS] MIPS64 R2 optimizations for 64-bit endianess swapping. Signed-off-by: Ralf Baechle commit e87dddeb92618d9dbb8b9f946a193739a4447609 tree 4a07a4edf9c2ddb2f3f9a36118120144af476d44 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Peter Horton Sun, 12 Feb 2006 17:10:25 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:44 +0000 [MIPS] Add early console for Cobalt. Signed-off-by: Peter Horton Signed-off-by: Ralf Baechle commit 55e9dce37ddf3ab358ba1d1e9eef4ee4bd8174a6 tree e850e9052d4db68905cb6c444e269ed7c719301e parent 06b42aa94b65806b4f8c5fc893ef97a2f491fb32 author David McCullough Wed, 15 Mar 2006 21:08:51 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:10 +1100 [CRYPTO] aes: Fixed array boundary violation The AES setkey routine writes 64 bytes to the E_KEY area even though there are only 60 bytes there. It is in fact safe since E_KEY is immediately follwed by D_KEY which is initialised afterwards. However, doing this may trigger undefined behaviour and makes Coverity unhappy. So by combining E_KEY and D_KEY into one array we sidestep this issue altogether. This problem was reported by Adrian Bunk. Signed-off-by: Herbert Xu commit 06b42aa94b65806b4f8c5fc893ef97a2f491fb32 tree f0d97bffb17bf4539c86bfcf1a38af3a441608bb parent 20ea340489ddee7b3a438ee58f32f2608cc145de author Atsushi Nemoto Mon, 13 Mar 2006 21:39:23 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:09 +1100 [CRYPTO] tcrypt: Fix key alignment Force 32-bit alignment on keys in tcrypt test vectors. Also rearrange the structure to prevent unnecessary padding. Signed-off-by: Atsushi Nemoto Signed-off-by: Herbert Xu commit 20ea340489ddee7b3a438ee58f32f2608cc145de tree 9ecb385a31b3a742e2e2faa0a40a57aaf276736c parent bbeb563f7bb5e703e4d60c18bed81c987781343f author Atsushi Nemoto Mon, 13 Mar 2006 21:30:29 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:09 +1100 [CRYPTO] all: Add missing cra_alignmask The "des3_ede" and "serpent" lack cra_alignmask. Signed-off-by: Atsushi Nemoto Signed-off-by: Herbert Xu commit bbeb563f7bb5e703e4d60c18bed81c987781343f tree 681d7b0b923e71e7ad38c7b41a6de2b72cce3f21 parent f10b7897ee29649fa7f0ccdc8d859ccd6ce7dbfd author Eric Sesterhenn Mon, 06 Mar 2006 21:42:07 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] all: Use kzalloc where possible this patch converts crypto/ to kzalloc usage. Compile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: Herbert Xu commit f10b7897ee29649fa7f0ccdc8d859ccd6ce7dbfd tree 345a25e1e1b2bcd647074844003d61b7d27e4e39 parent a5f8c473052bc693cdbe2f9ae4b424b993886ff5 author Herbert Xu Wed, 25 Jan 2006 22:34:01 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] api: Align tfm context as wide as possible Since tfm contexts can contain arbitrary types we should provide at least natural alignment (__attribute__ ((__aligned__))) for them. In particular, this is needed on the Xscale which is a 32-bit architecture with a u64 type that requires 64-bit alignment. This problem was reported by Ronen Shitrit. The crypto_tfm structure's size was 44 bytes on 32-bit architectures and 80 bytes on 64-bit architectures. So adding this requirement only means that we have to add an extra 4 bytes on 32-bit architectures. On i386 the natural alignment is 16 bytes which also benefits the VIA Padlock as it no longer has to manually align its context structure to 128 bits. Signed-off-by: Herbert Xu commit a5f8c473052bc693cdbe2f9ae4b424b993886ff5 tree 0ec45cbad059c744a27d85902ba2db6b0e960f41 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Denis Vlasenko Mon, 16 Jan 2006 17:42:28 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] twofish: Use rol32/ror32 where appropriate Convert open coded rotations to rol32/ror32. Signed-off-by: Herbert Xu commit 5e35941d990123f155b02d5663e51a24f816b6f3 tree 90499f3247e64210213d7b4da936f739d7a9711c parent 30ca3e376e82cc44488b1d377adfb10b5818548e author Jing Min Zhao Mon, 20 Mar 2006 23:41:17 -0800 committer David S. Miller Mon, 20 Mar 2006 23:41:17 -0800 [NETFILTER]: Add H.323 conntrack/NAT helper Signed-off-by: Jing Min Zhao Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 30ca3e376e82cc44488b1d377adfb10b5818548e tree c1f14cf8e3514c10640ec288535d1fcd45ae48f8 parent 322f74a432f976328e834a8663f2e75eb5933ecc author David S. Miller Mon, 20 Mar 2006 23:02:36 -0800 committer David S. Miller Mon, 20 Mar 2006 23:02:36 -0800 [TG3]: Don't mark tg3_test_registers() as returning const. Signed-off-by: David S. Miller commit 322f74a432f976328e834a8663f2e75eb5933ecc tree 78c0415bc4902862eef3b33254fc516ad24b6872 parent 0c600eda4b1c9f8f6d1bd643d494db5a29842fbe author Ingo Oeser Mon, 20 Mar 2006 23:01:47 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:47 -0800 [IPV6]: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2 Here are some possible (and trivial) cleanups. - use kzalloc() where possible - invert allocation failure test like if (object) { /* Rest of function here */ } to if (object == NULL) return NULL; /* Rest of function here */ Signed-off-by: Ingo Oeser Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 0c600eda4b1c9f8f6d1bd643d494db5a29842fbe tree 3340fda7a4f9f481e7f91ed1f376c7b4bd5e9a6e parent 78c784c47a2be593480cb6c69829a59f0504d575 author Ingo Oeser Mon, 20 Mar 2006 23:01:32 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:32 -0800 [IPV6]: Nearly complete kzalloc cleanup for net/ipv6 Stupidly use kzalloc() instead of kmalloc()/memset() everywhere where this is possible in net/ipv6/*.c . Signed-off-by: Ingo Oeser Signed-off-by: David S. Miller commit 78c784c47a2be593480cb6c69829a59f0504d575 tree dc300e4a1b4205e770c3629d359aa83deea72929 parent b3e83d6d187664be56a1591ccfa99124b88f0582 author Ingo Oeser Mon, 20 Mar 2006 23:01:17 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:17 -0800 [IPV6]: Cleanup of net/ipv6/reassambly.c Two minor cleanups: 1. Using kzalloc() in fraq_alloc_queue() saves the memset() in ipv6_frag_create(). 2. Invert sense of if-statements to streamline code. Inverts the comment, too. Signed-off-by: Ingo Oeser Signed-off-by: David S. Miller commit b3e83d6d187664be56a1591ccfa99124b88f0582 tree 58973aa72cb93585fcd4d8eb04da27f5133e211e parent 3400112794724d9bdc3de6e1ce1475b726e6ca7d author Andrew Morton Mon, 20 Mar 2006 23:00:56 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:56 -0800 [BRIDGE]: Remove duplicate const from is_link_local() argument type. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 3400112794724d9bdc3de6e1ce1475b726e6ca7d tree dcf7dd0027f0cae9a974c250436f75c769801978 parent 81789ef5c9a435fbf94224987efe6fbb97ffab09 author Adrian Bunk Mon, 20 Mar 2006 23:00:29 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:29 -0800 [DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking The Coverity checker noted this inconsequent NULL checking in dnrt_drop(). Since all callers ensure that NULL isn't passed, we can simply remove the check. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 81789ef5c9a435fbf94224987efe6fbb97ffab09 tree bdabc8f8c5ffaa68febd0a84c48052c59723b4c5 parent 12ac84c4a9c505e3e30529563b04cc8f6d5ebbf3 author Adrian Bunk Mon, 20 Mar 2006 23:00:14 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:14 -0800 [TG3]: make drivers/net/tg3.c:tg3_request_irq() static This patch makes the needlessly global function tg3_request_irq() static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 12ac84c4a9c505e3e30529563b04cc8f6d5ebbf3 tree 101653418df0f9ec62bc6854a31c34983d034eea parent f4ad2b162d653e4a6e57d598119e3820c65fef71 author Stephen Hemminger Mon, 20 Mar 2006 22:59:49 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:49 -0800 [BRIDGE]: use LLC to send STP The bridge code can use existing LLC output code when building spanning tree protocol packets. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f4ad2b162d653e4a6e57d598119e3820c65fef71 tree 142e7160b4dda4c4080d688d82bb1462a10f7e03 parent fda93d92d7824159d8532995072dde2bee4bc4b3 author Stephen Hemminger Mon, 20 Mar 2006 22:59:36 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:36 -0800 [LLC]: llc_mac_hdr_init const arguments Cleanup of LLC. llc_mac_hdr_init can take constant arguments, and it is defined twice once in llc_output.h that is otherwise unused. Signed-off-by: Stephen Hemminger Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fda93d92d7824159d8532995072dde2bee4bc4b3 tree ba28fcd6637d848bbee4a6e22f642a69cbe1c71f parent cf0f02d04a830c8202e6a8f8bb37acc6c1629a91 author Stephen Hemminger Mon, 20 Mar 2006 22:59:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:21 -0800 [BRIDGE]: allow show/store of group multicast address Bridge's communicate with each other using Spanning Tree Protocol over a standard multicast address. There are times when testing or layering bridges over existing topologies or tunnels, when it is useful to use alternative multicast addresses for STP packets. The 802.1d standard has some unused addresses, that can be used for this. This patch is restrictive in that it only allows one of the possible addresses in the standard. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit cf0f02d04a830c8202e6a8f8bb37acc6c1629a91 tree 8f3c7af9aee5ea2e1b889c27660e8587307025df parent 18fdb2b25be37e49b1669b5c394671f8c5b6550f author Stephen Hemminger Mon, 20 Mar 2006 22:59:06 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:06 -0800 [BRIDGE]: use llc for receiving STP packets Use LLC for the receive path of Spanning Tree Protocol packets. This allows link local multicast packets to be received by other protocols (if they care), and uses the existing LLC code to get STP packets back into bridge code. The bridge multicast address is also checked, so bridges using other link local multicast addresses are ignored. This allows for use of different multicast addresses to define separate STP domains. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 18fdb2b25be37e49b1669b5c394671f8c5b6550f tree 494e70fe7215849709352b826c54ea0c8154ac20 parent f8ae737deea1be001d7d8ac11c382a7b73a1c98f author Stephen Hemminger Mon, 20 Mar 2006 22:58:49 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:49 -0800 [BRIDGE]: stp timer to jiffies cleanup Cleanup the get/set of bridge timer value in the packets. It is clearer not to bury the conversion in macro. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f8ae737deea1be001d7d8ac11c382a7b73a1c98f tree fdf933b58a17e525e38683e1f8d5a52c4708964b parent fdeabdefb227be9aa932f59a23ddb47e003e643e author Stephen Hemminger Mon, 20 Mar 2006 22:58:36 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:36 -0800 [BRIDGE]: forwarding remove unneeded preempt and bh diasables Optimize the forwarding and transmit paths. Both places are called with bottom half/no preempt so there is no need to use spin_lock_bh or rcu_read_lock. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit fdeabdefb227be9aa932f59a23ddb47e003e643e tree 79e3cddb546374bf2b0137bf1463e70746c4d436 parent 8b42ec39264a1e7a508f5d80169a5fb137bcc833 author Stephen Hemminger Mon, 20 Mar 2006 22:58:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:21 -0800 [BRIDGE]: netfilter inline cleanup Move nf_bridge_alloc from header file to the one place it is used and optimize it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8b42ec39264a1e7a508f5d80169a5fb137bcc833 tree 34962088422c343b4d2494c1dfadf657fc198b42 parent f8a26028611fb93ac935ac32a72793f7fcb56a88 author Stephen Hemminger Mon, 20 Mar 2006 22:58:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:05 -0800 [BRIDGE]: netfilter VLAN macro cleanup Fix the VLAN macros in bridge netfilter code. Macros should not depend on magic variables. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f8a26028611fb93ac935ac32a72793f7fcb56a88 tree 90c7d08c6f1ef47a1eeb108e0d566315061f9ffa parent 789bc3e5b66d3664f651f6c10a188c8e3e025037 author Stephen Hemminger Mon, 20 Mar 2006 22:57:46 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:46 -0800 [BRIDGE]: netfilter dont use __constant_htons Only use__constant_htons() for initializers and switch cases. For other uses, it is just as efficient and clearer to use htons Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 789bc3e5b66d3664f651f6c10a188c8e3e025037 tree baaf4ff0ee9876323ba68d2fedf6c6dd0fc06536 parent d5513a7d32de721a9e396c2b32cf277d5cef5fb6 author Stephen Hemminger Mon, 20 Mar 2006 22:57:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:32 -0800 [BRIDGE]: netfilter whitespace Run br_netfilter through Lindent to fix whitespace. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d5513a7d32de721a9e396c2b32cf277d5cef5fb6 tree aecdea676fae6ef1390ac4f6e63a6196db2ebf79 parent cee4854122d4347b2f6f10fe7f007a48fada29a0 author Stephen Hemminger Mon, 20 Mar 2006 22:57:18 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:18 -0800 [BRIDGE]: optimize frame pass up The netfilter hook that is used to receive frames doesn't need to be a stub. It is only called in two ways, both of which ignore the return value. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit cee4854122d4347b2f6f10fe7f007a48fada29a0 tree ffff0f0438b9b4729c0fc0c9880e19a221beff28 parent 3b781fa10bcdb148924d1847f68899583e0d66ef author Stephen Hemminger Mon, 20 Mar 2006 22:57:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:03 -0800 [BRIDGE]: use kzalloc Use kzalloc versus kmalloc+memset. Also don't need to do memset() of bridge address since it is in netdev private data that is already zero'd in alloc_netdev. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3b781fa10bcdb148924d1847f68899583e0d66ef tree 2d2bece150642dad1484748e6da7d22582bed188 parent a95fcacdc33fa12836c306deb085ef3e68bca15a author Stephen Hemminger Mon, 20 Mar 2006 22:56:50 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:50 -0800 [BRIDGE]: use kcalloc Use kcalloc rather than kmalloc + memset. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a95fcacdc33fa12836c306deb085ef3e68bca15a tree 5fa7e0c410772d9a112062f24ded2bc72c76a895 parent e3efe08e9a2c24232711dc573bf2decd2d93e335 author Stephen Hemminger Mon, 20 Mar 2006 22:56:38 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:38 -0800 [BRIDGE]: use setup_timer Use the now standard setup_timer function. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit e3efe08e9a2c24232711dc573bf2decd2d93e335 tree 8b1171e3cca8efed1560269037ef860adb5c82ff parent 9ebddc1aa386f257125a569b41f90418b63b4d5f author Stephen Hemminger Mon, 20 Mar 2006 22:56:25 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:25 -0800 [BRIDGE]: remove unneeded bh disables The STP timers run off softirq (kernel timers), so there is no need to disable bottom half in the spin locks. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 9ebddc1aa386f257125a569b41f90418b63b4d5f tree 4f0ed919d84754e1690ef7badec50f0079677f8d parent 74ca4e5acd7d09a5133bb75043c2c474347f2c7e author Andrew Morton Mon, 20 Mar 2006 22:55:24 -0800 committer David S. Miller Mon, 20 Mar 2006 22:55:24 -0800 [BRIDGE] br_netfilter: Warning fixes. net/bridge/br_netfilter.c: In function `br_nf_pre_routing': net/bridge/br_netfilter.c:427: warning: unused variable `vhdr' net/bridge/br_netfilter.c:445: warning: unused variable `vhdr' Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 74ca4e5acd7d09a5133bb75043c2c474347f2c7e tree edbdb7d723e21a99c5a4b5b38b533bc581fa86fa parent c8b2a6c50cacc98c924233a9e474c74c0370b6b8 author Andrew Morton Mon, 20 Mar 2006 22:55:02 -0800 committer David S. Miller Mon, 20 Mar 2006 22:55:02 -0800 [BRIDGE] ebtables: Build fix. net/bridge/netfilter/ebtables.c:1481: warning: initialization makes pointer from integer without a cast Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit c8b2a6c50cacc98c924233a9e474c74c0370b6b8 tree 1fc8b3fe45ba61a68cd39c8ce64986d50067815b parent dbeff12b4d2fd5943f6f03f7ed9a3ca486577bb0 author David S. Miller Mon, 20 Mar 2006 22:53:42 -0800 committer David S. Miller Mon, 20 Mar 2006 22:53:42 -0800 [SPARC]: Fixup SO_PEERSEC value on 32-bit sparc. Sparc64 and Sparc32 have to have identical socket call numbering in order to handle compat layer stuff properly. Signed-off-by: David S. Miller commit dbeff12b4d2fd5943f6f03f7ed9a3ca486577bb0 tree bf06c5a2bb2ac353f9ff4f1959a6165bfb24e8f0 parent 8ca0d17bd716c0aa3f496714e0e304fc6b982ae3 author David S. Miller Mon, 20 Mar 2006 22:52:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:52:32 -0800 [INET]: Fix typo in Arnaldo's connection sock compat fixups. "struct inet_csk" --> "struct inet_connection_sock" :-) Signed-off-by: David S. Miller commit 8ca0d17bd716c0aa3f496714e0e304fc6b982ae3 tree a1e3881117aa4b687bacace28c794e7cc3522827 parent a4bf3902427a128455b8de299ff0918072b2e974 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:51:53 -0800 committer David S. Miller Mon, 20 Mar 2006 22:51:53 -0800 [DCCP] feat: Pass dccp_minisock ptr where only the minisock is used This is in preparation for having a dccp_minisock embedded into dccp_request_sock so that feature negotiation can be done prior to creating the full blown dccp_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a4bf3902427a128455b8de299ff0918072b2e974 tree 5269cd4d84702a0a728b390e08242be01252d20d parent e6f507196c2b50243beb09b1bfa4639f999d4d1e author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:50:58 -0800 committer David S. Miller Mon, 20 Mar 2006 22:50:58 -0800 [DCCP] minisock: Rename struct dccp_options to struct dccp_minisock This will later be included in struct dccp_request_sock so that we can have per connection feature negotiation state while in the 3way handshake, when we clone the DCCP_ROLE_LISTEN socket (in dccp_create_openreq_child) we'll just copy this state from dreq_minisock to dccps_minisock. Also the feature negotiation and option parsing code will mostly touch dccps_minisock, which will simplify some stuff. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e6f507196c2b50243beb09b1bfa4639f999d4d1e tree 216886fba2700aa01970046e4c7412dce6638fa1 parent 543d9cfeec4d58ad3fd974db5531b06b6b95deb4 author Catherine Zhang Mon, 20 Mar 2006 22:49:00 -0800 committer David S. Miller Mon, 20 Mar 2006 22:49:00 -0800 [SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup Signed-off-by: Catherine Zhang Signed-off-by: Arnaldo Carvalho de Melo commit 543d9cfeec4d58ad3fd974db5531b06b6b95deb4 tree b5f79a92ec01b4a97f26d48cae11566498641822 parent f94691acf9df35d5cd828373e35391bdc4a3fde6 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:48:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:48:35 -0800 [NET]: Identation & other cleanups related to compat_[gs]etsockopt cset No code changes, just tidying up, in some cases moving EXPORT_SYMBOLs to just after the function exported, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f94691acf9df35d5cd828373e35391bdc4a3fde6 tree 12dc4af7981198751367d304e43fb4f0058a83d8 parent c841aa030437bdf1b6fb22d93eb760e35380a4ed author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:47:55 -0800 committer David S. Miller Mon, 20 Mar 2006 22:47:55 -0800 [SK_BUFF]: export skb_pull_rcsum *** Warning: "skb_pull_rcsum" [net/bridge/bridge.ko] undefined! *** Warning: "skb_pull_rcsum" [net/8021q/8021q.ko] undefined! *** Warning: "skb_pull_rcsum" [drivers/net/pppoe.ko] undefined! *** Warning: "skb_pull_rcsum" [drivers/net/ppp_generic.ko] undefined! Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c841aa030437bdf1b6fb22d93eb760e35380a4ed tree f23ec860be9deb035eacc15359549d2808a7ee15 parent e35fc385655ac584902edd98dd07ac488e986aa1 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:47:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:47:37 -0800 [SECURITY] getpeersec: Fix build breakage A recent changeset removes dummy_socket_getpeersec, replacing it with two new functions, but still references the removed function in the security_fixup_ops table, fix it by doing the replacement operation in the fixup table too. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e35fc385655ac584902edd98dd07ac488e986aa1 tree aa50ab6de762a5edc7f699bb77fdb94009995c8d parent dec73ff0293d59076d1fd8f4a264898ecfc457ec author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:46:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:46:40 -0800 [INFINIBAND] ipoib: Remove leftover use of neigh_ops->destructor Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit dec73ff0293d59076d1fd8f4a264898ecfc457ec tree 251a87b4b98d073fcd3753e01eea5ea44aaf9570 parent d1d47beef8ecaeedc368f00780d02cfa5e540005 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:46:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:46:16 -0800 [ICSK] compat: Introduce inet_csk_compat_[gs]etsockopt Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d1d47beef8ecaeedc368f00780d02cfa5e540005 tree 389d4636e2db419f3291f0cfcdfc8b25e2ef3853 parent 3fdadf7d27e3fbcf72930941884387d1f4936f04 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:45:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:45:37 -0800 [SNAP]: Remove leftover unused hdr variable Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3fdadf7d27e3fbcf72930941884387d1f4936f04 tree 167072cf1e60b6b307610563614b435ff0caa52d parent c750360938b403e6cc193d293cfbcb099dd6c60e author Dmitry Mishin Mon, 20 Mar 2006 22:45:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:45:21 -0800 [NET]: {get|set}sockopt compatibility layer This patch extends {get|set}sockopt compatibility layer in order to move protocol specific parts to their place and avoid huge universal net/compat.c file in the future. Signed-off-by: Dmitry Mishin Signed-off-by: David S. Miller commit c750360938b403e6cc193d293cfbcb099dd6c60e tree ac7b248bb0c9927dc8edd38e8dbc2f35fc12077e parent afb5bb57440f7c419b1214628d32c92293f1cfd4 author Dave Jones Mon, 20 Mar 2006 22:44:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:44:52 -0800 [IPV6]: remove useless test in ip6_append_data We've already dereferenced 'np' a dozen times at this point, so it's safe to say it's not null. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit afb5bb57440f7c419b1214628d32c92293f1cfd4 tree bd93564fc26c41ddaa07e742d46eb25107a4748b parent cbb042f9e1292434e3cacb90e67d8d381aeac5a9 author Adrian Bunk Mon, 20 Mar 2006 22:44:24 -0800 committer David S. Miller Mon, 20 Mar 2006 22:44:24 -0800 [PKT_SCHED]: Let NET_CLS_ACT no longer depend on EXPERIMENTAL This option should IMHO no longer depend on EXPERIMENTAL. Signed-off-by: Adrian Bunk ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit cbb042f9e1292434e3cacb90e67d8d381aeac5a9 tree cc42f42232e56b68111cfebdc175197d8607bdd7 parent ecba320f2e95c9a0c35011d1ecb1db4419980536 author Herbert Xu Mon, 20 Mar 2006 22:43:56 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:56 -0800 [NET]: Replace skb_pull/skb_postpull_rcsum with skb_pull_rcsum We're now starting to have quite a number of places that do skb_pull followed immediately by an skb_postpull_rcsum. We can merge these two operations into one function with skb_pull_rcsum. This makes sense since most pull operations on receive skb's need to update the checksum. I've decided to make this out-of-line since it is fairly big and the fast path where hardware checksums are enabled need to call csum_partial anyway. Since this is a brand new function we get to add an extra check on the len argument. As it is most callers of skb_pull ignore its return value which essentially means that there is no check on the len argument. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit ecba320f2e95c9a0c35011d1ecb1db4419980536 tree a994a09e48452db4f1b251d5e5b210424c7dbe92 parent c60992db464bc3c459a6e2d3694fe1ae1a5ec784 author Steven Whitehouse Mon, 20 Mar 2006 22:43:28 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:28 -0800 [DECnet]: Use RCU locking in dn_rules.c As per Robert Olsson's patch for ipv4, this is the DECnet version to keep the code "in step". It changes the list of rules to use RCU rather than an rwlock. Inspired-by: Robert Olsson Signed-off-by: Steven Whitehouse Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit c60992db464bc3c459a6e2d3694fe1ae1a5ec784 tree 126a4dcfd69ead2c0061326ba62f5cd51bcd2a18 parent c4ea94ab3710eb2434abe2eab1a479c2dc01f8ac author Patrick Caulfield Mon, 20 Mar 2006 22:43:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:05 -0800 [DECnet]: Patch to fix recvmsg() flag check This patch means that 64bit kernel/32bit userland platforms will now work correctly with DECnet. Signed-off-by: Patrick Caulfield Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller commit c4ea94ab3710eb2434abe2eab1a479c2dc01f8ac tree 72e07ca7d2d5fe2de31b3f5a4e64fa411efdf18d parent 2c7946a7bf45ae86736ab3b43d0085e43947945c author Steven Whitehouse Mon, 20 Mar 2006 22:42:39 -0800 committer David S. Miller Mon, 20 Mar 2006 22:42:39 -0800 [DECnet]: Endian annotation and fixes for DECnet. The typedef for dn_address has been removed in favour of using __le16 or __u16 directly as appropriate. All the DECnet header files are updated accordingly. The byte ordering of dn_eth2dn() and dn_dn2eth() are both changed since just about all their callers wanted network order rather than host order, so the conversion is now done in the functions themselves. Several missed endianess conversions have been picked up during the conversion process. The nh_gw field in struct dn_fib_info has been changed from a 32 bit field to 16 bits as it ought to be. One or two cases of using htons rather than dn_htons in the routing code have been found and fixed. There are still a few warnings to fix, but this patch deals with the important cases. Signed-off-by: Steven Whitehouse Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit 2c7946a7bf45ae86736ab3b43d0085e43947945c tree b956f301033ebaefe8d2701b257edfd947f537f3 parent be33690d8fcf40377f16193c463681170eb6b295 author Catherine Zhang Mon, 20 Mar 2006 22:41:23 -0800 committer David S. Miller Mon, 20 Mar 2006 22:41:23 -0800 [SECURITY]: TCP/UDP getpeersec This patch implements an application of the LSM-IPSec networking controls whereby an application can determine the label of the security association its TCP or UDP sockets are currently connected to via getsockopt and the auxiliary data mechanism of recvmsg. Patch purpose: This patch enables a security-aware application to retrieve the security context of an IPSec security association a particular TCP or UDP socket is using. The application can then use this security context to determine the security context for processing on behalf of the peer at the other end of this connection. In the case of UDP, the security context is for each individual packet. An example application is the inetd daemon, which could be modified to start daemons running at security contexts dependent on the remote client. Patch design approach: - Design for TCP The patch enables the SELinux LSM to set the peer security context for a socket based on the security context of the IPSec security association. The application may retrieve this context using getsockopt. When called, the kernel determines if the socket is a connected (TCP_ESTABLISHED) TCP socket and, if so, uses the dst_entry cache on the socket to retrieve the security associations. If a security association has a security context, the context string is returned, as for UNIX domain sockets. - Design for UDP Unlike TCP, UDP is connectionless. This requires a somewhat different API to retrieve the peer security context. With TCP, the peer security context stays the same throughout the connection, thus it can be retrieved at any time between when the connection is established and when it is torn down. With UDP, each read/write can have different peer and thus the security context might change every time. As a result the security context retrieval must be done TOGETHER with the packet retrieval. The solution is to build upon the existing Unix domain socket API for retrieving user credentials. Linux offers the API for obtaining user credentials via ancillary messages (i.e., out of band/control messages that are bundled together with a normal message). Patch implementation details: - Implementation for TCP The security context can be retrieved by applications using getsockopt with the existing SO_PEERSEC flag. As an example (ignoring error checking): getsockopt(sockfd, SOL_SOCKET, SO_PEERSEC, optbuf, &optlen); printf("Socket peer context is: %s\n", optbuf); The SELinux function, selinux_socket_getpeersec, is extended to check for labeled security associations for connected (TCP_ESTABLISHED == sk->sk_state) TCP sockets only. If so, the socket has a dst_cache of struct dst_entry values that may refer to security associations. If these have security associations with security contexts, the security context is returned. getsockopt returns a buffer that contains a security context string or the buffer is unmodified. - Implementation for UDP To retrieve the security context, the application first indicates to the kernel such desire by setting the IP_PASSSEC option via getsockopt. Then the application retrieves the security context using the auxiliary data mechanism. An example server application for UDP should look like this: toggle = 1; toggle_len = sizeof(toggle); setsockopt(sockfd, SOL_IP, IP_PASSSEC, &toggle, &toggle_len); recvmsg(sockfd, &msg_hdr, 0); if (msg_hdr.msg_controllen > sizeof(struct cmsghdr)) { cmsg_hdr = CMSG_FIRSTHDR(&msg_hdr); if (cmsg_hdr->cmsg_len <= CMSG_LEN(sizeof(scontext)) && cmsg_hdr->cmsg_level == SOL_IP && cmsg_hdr->cmsg_type == SCM_SECURITY) { memcpy(&scontext, CMSG_DATA(cmsg_hdr), sizeof(scontext)); } } ip_setsockopt is enhanced with a new socket option IP_PASSSEC to allow a server socket to receive security context of the peer. A new ancillary message type SCM_SECURITY. When the packet is received we get the security context from the sec_path pointer which is contained in the sk_buff, and copy it to the ancillary message space. An additional LSM hook, selinux_socket_getpeersec_udp, is defined to retrieve the security context from the SELinux space. The existing function, selinux_socket_getpeersec does not suit our purpose, because the security context is copied directly to user space, rather than to kernel space. Testing: We have tested the patch by setting up TCP and UDP connections between applications on two machines using the IPSec policies that result in labeled security associations being built. For TCP, we can then extract the peer security context using getsockopt on either end. For UDP, the receiving end can retrieve the security context using the auxiliary data mechanism of recvmsg. Signed-off-by: Catherine Zhang Acked-by: James Morris Acked-by: Herbert Xu Signed-off-by: David S. Miller commit be33690d8fcf40377f16193c463681170eb6b295 tree 08c7be2ba1d046fca40bbb1d3ddac789b393ecc9 parent 15d99e02babae8bc20b836917ace07d93e318149 author Patrick McHardy Mon, 20 Mar 2006 22:40:54 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:54 -0800 [XFRM]: Fix aevent related crash When xfrm_user isn't loaded xfrm_nl is NULL, which makes IPsec crash because xfrm_aevent_is_on passes the NULL pointer to netlink_has_listeners as socket. A second problem is that the xfrm_nl pointer is not cleared when the socket is releases at module unload time. Protect references of xfrm_nl from outside of xfrm_user by RCU, check that the socket is present in xfrm_aevent_is_on and set it to NULL when unloading xfrm_user. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 15d99e02babae8bc20b836917ace07d93e318149 tree 6a8941a3ef45f831161730aeee4a2fcc18cca78a parent c1b1bce8527c2c3cac7e2520ca54b7c04281033e author Rick Jones Mon, 20 Mar 2006 22:40:29 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:29 -0800 [TCP]: sysctl to allow TCP window > 32767 sans wscale Back in the dark ages, we had to be conservative and only allow 15-bit window fields if the window scale option was not negotiated. Some ancient stacks used a signed 16-bit quantity for the window field of the TCP header and would get confused. Those days are long gone, so we can use the full 16-bits by default now. There is a sysctl added so that we can still interact with such old stacks Signed-off-by: Rick Jones Signed-off-by: David S. Miller commit c1b1bce8527c2c3cac7e2520ca54b7c04281033e tree 0c14ac012573f7ff0032404e1b3e5e5088c390bd parent abd596a4b68b6526c2676233e10602dd9660e9d7 author Neil Horman Mon, 20 Mar 2006 22:40:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:03 -0800 [IPV4] ARP: Documentation for new arp_accept sysctl variable. As John pointed out, I had not added documentation to describe the arp_accpet sysctl that I posted in my last patch. This patch adds that documentation. Signed-off-by: Neil Horman Signed-off-by: David S. Miller commit abd596a4b68b6526c2676233e10602dd9660e9d7 tree 4122bd7fc36c18ffb762ea8ae6d5c794c1924222 parent 59f1741e541bf4f6139599389610a70de49c3ad2 author Neil Horman Mon, 20 Mar 2006 22:39:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:39:47 -0800 [IPV4] ARP: Alloc acceptance of unsolicited ARP via netdevice sysctl. Signed-off-by: Neil Horman Signed-off-by: David S. Miller commit 59f1741e541bf4f6139599389610a70de49c3ad2 tree 55892d15e9122a83dc0c4fa6496dfcf52bd4346d parent 87546b1c25daa2c72ba6741c777f76c1eac6e2d9 author Jeff Mahoney Mon, 20 Mar 2006 22:39:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:39:21 -0800 [TG3]: netif_carrier_off runs too early; could still be queued when init fails Move the netif_carrier_off() call from tg3_init_one()-> tg3_init_link_config() to tg3_open() as is the convention for most other network drivers. I was getting a panic after a tg3 device failed to initialize due to DMA failure. The oops pointed to the link watch queue with spinlock debugging enabled. Without spinlock debugging, the Oops didn't occur. I suspect that the link event was getting queued but not executed until after the DMA test had failed and the device was freed. The link event was then operating on freed memory, which could contain anything. With this patch applied, the Oops no longer occurs. [ Based upon feedback from Michael Chan, we move netif_carrier_off() to the end of tg3_init_one() instead of moving it to tg3_open() -DaveM ] Signed-off-by: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 87546b1c25daa2c72ba6741c777f76c1eac6e2d9 tree 88ee35a9bf83336b9fc5f6d8b5304016c1521ca5 parent de70c5ba43b3442b99e94dc35bba2bbced168a84 author Per Liden Mon, 20 Mar 2006 22:38:33 -0800 committer David S. Miller Mon, 20 Mar 2006 22:38:33 -0800 [TIPC]: Avoid compiler warning Signed-off-by: Per Liden Signed-off-by: David S. Miller commit de70c5ba43b3442b99e94dc35bba2bbced168a84 tree 1e059abe38fada6499e16084a2dbaaa489b2a783 parent 988f088a8e9e555dc99ced83690967fad3d905f6 author Per Liden Mon, 20 Mar 2006 22:38:14 -0800 committer David S. Miller Mon, 20 Mar 2006 22:38:14 -0800 [TIPC]: Reduce stack usage The node_map struct can be quite large (516 bytes) and allocating two of them on the stack is not a good idea since we might only have a 4K stack to start with. Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 988f088a8e9e555dc99ced83690967fad3d905f6 tree 7a5831410dd7e50a0b57e123bb2b03e8866ac601 parent 7c501a5960a1bdf3b9eaef262916dc67107ff2b5 author Adrian Bunk Mon, 20 Mar 2006 22:37:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:52 -0800 [TIPC]: Cleanups This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global functions: - name_table.c: tipc_nametbl_print() - name_table.c: tipc_nametbl_dump() - net.c: tipc_net_next_node() Signed-off-by: Adrian Bunk Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 7c501a5960a1bdf3b9eaef262916dc67107ff2b5 tree 49f78cef3b972c05ba2bbd311d89129044156b37 parent 05790c6456f144024e655710347b3df499260374 author Per Liden Mon, 20 Mar 2006 22:37:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:27 -0800 [TIPC]: Remove unused functions Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 05790c6456f144024e655710347b3df499260374 tree 389e85554c0ce7cf732998f2ac9dfeb441e85320 parent 1fc54d8f49c1270c584803437fb7c0ac543588c1 author Sam Ravnborg Mon, 20 Mar 2006 22:37:04 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:04 -0800 [TIPC]: Remove inlines from *.c With reference to latest discussions on linux-kernel with respect to inline here is a patch for tipc to remove all inlines as used in the .c files. See also chapter 14 in Documentation/CodingStyle. Before: text data bss dec hex filename 102990 5292 1752 110034 1add2 tipc.o Now: text data bss dec hex filename 101190 5292 1752 108234 1a6ca tipc.o This is a nice text size reduction which will improve icache usage. In some cases bigger (> 4 lines) functions where declared inline and used in many places, they are most probarly no longer inlined by gcc resulting in the size reduction. There are several one liners that no longer are declared inline, but gcc should inline these just fine without the inline hint. With this patch applied one warning is added about an unused static function - that was hidded by utilising inline before. The function in question were kept so this patch is solely a inline removal patch. Signed-off-by: Sam Ravnborg Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 1fc54d8f49c1270c584803437fb7c0ac543588c1 tree 13bccf49154e57986a7e218e38d243912aaea6d1 parent edb2c34fb2683ff21c8a6bcc3e41c07a53601761 author Sam Ravnborg Mon, 20 Mar 2006 22:36:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:47 -0800 [TIPC]: Fix simple sparse warnings Tried to run the new tipc stack through sparse. Following patch fixes all cases where 0 was used as replacement of NULL. Use NULL to document this is a pointer and to silence sparse. This brough sparse warning count down with 127 to 24 warnings. Signed-off-by: Sam Ravnborg Signed-off-by: Per Liden Signed-off-by: David S. Miller commit edb2c34fb2683ff21c8a6bcc3e41c07a53601761 tree aae0b87f2377f4134ee38017f8c9041d1247e730 parent fb9504964d32f69e4381dc8895eeb8e81a32af72 author David S. Miller Mon, 20 Mar 2006 22:36:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:21 -0800 [NETFILTER]: Fix warnings in ip_nat_snmp_basic.c net/ipv4/netfilter/ip_nat_snmp_basic.c: In function 'asn1_header_decode': net/ipv4/netfilter/ip_nat_snmp_basic.c:248: warning: 'len' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c:248: warning: 'def' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c: In function 'snmp_translate': net/ipv4/netfilter/ip_nat_snmp_basic.c:672: warning: 'l' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c:668: warning: 'type' may be used uninitialized in this function Signed-off-by: David S. Miller commit fb9504964d32f69e4381dc8895eeb8e81a32af72 tree 156bf7039f0502f823cf81cccd9ac8f8a1d83d95 parent 57b47a53ec4a67691ba32cff5768e8d78fa6c67f author David S. Miller Mon, 20 Mar 2006 22:36:01 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:01 -0800 [DCCP]: Fix uninitialized var warnings in dccp_parse_options(). Signed-off-by: David S. Miller commit 57b47a53ec4a67691ba32cff5768e8d78fa6c67f tree d735ae4734f7b386eefa508a0629715f45808d1d parent 6613f82dd293b23f582a649b287fadbf8d23e6cf author Ingo Molnar Mon, 20 Mar 2006 22:35:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:35:41 -0800 [NET]: sem2mutex part 2 Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 6613f82dd293b23f582a649b287fadbf8d23e6cf tree 23e90b674fc94c3f458c0f5b691b3e0ff7cebd58 parent 471a24c0589cd192dcd2c6770ab6252cd42b1cff author Alexey Dobriyan Mon, 20 Mar 2006 22:35:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:35:16 -0800 [ATM] suni: cast arg properly in SONET_SETFRAMING Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 471a24c0589cd192dcd2c6770ab6252cd42b1cff tree 20f595c10ce6b693cf0f04a8c896809665272f80 parent e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f author Sam Ravnborg Mon, 20 Mar 2006 22:34:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:52 -0800 [WAN]: fix section mismatch warning in sbni In latest -mm sbni gives following warning: WARNING: drivers/net/wan/sbni.o - Section mismatch: reference to \ .init.data: from .text between 'init_module' (at offset 0x14ef) and \ 'cleanup_module' The warning is caused by init_module() calling a function declared __init. Declare init_module() __init too to fix warning. Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f tree ffb5d63fffa0b235ed202fb55674b1da2e7cffa4 parent 758df69ee01f7be99c2df5562ef278bab05623dd author Ingo Molnar Mon, 20 Mar 2006 22:34:25 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:25 -0800 [SUNGEM]: sem2mutex Semaphore to mutexes conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 758df69ee01f7be99c2df5562ef278bab05623dd tree d300747abddce727de1ad1ba6c048669109de751 parent 73a6c6306876c83ed992f1b15069a0ee9b3fa73b author Ingo Molnar Mon, 20 Mar 2006 22:34:09 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:09 -0800 [CASSINI]: sem2mutex Semaphore to mutexes conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 73a6c6306876c83ed992f1b15069a0ee9b3fa73b tree bd6e3628b6a5456a11200af8708210849a6c5390 parent 4a3e2f711a00a1feb72ae12fdc749da10179d185 author Andrew Morton Mon, 20 Mar 2006 22:33:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:33:41 -0800 [IRDA]: remove MODULE_PARM() MODULE_PARM() is deprecated and is about to go away altogether. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 4a3e2f711a00a1feb72ae12fdc749da10179d185 tree 76ced9d3270dea4b864da71fa1d4415d2e3c8b11 parent d4ccd08cdfa8d34f4d25b62041343c52fc79385f author Arjan van de Ven Mon, 20 Mar 2006 22:33:17 -0800 committer David S. Miller Mon, 20 Mar 2006 22:33:17 -0800 [NET] sem2mutex: net/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d4ccd08cdfa8d34f4d25b62041343c52fc79385f tree aa966641f2ce74cc0206d6be654ce5680391e164 parent 153330618691694af64f39fb56c9de051862380e author Arjan van de Ven Mon, 20 Mar 2006 22:32:53 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:53 -0800 [IRDA] sem2mutex: drivers/net/irda Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 153330618691694af64f39fb56c9de051862380e tree 45ccb622bf0d13f6a0a663ba8af39f9dc2c9122e parent 2d0817d11eaec57435feb61493331a763f732a2b author Stephen Hemminger Mon, 20 Mar 2006 22:32:28 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:28 -0800 [NET]: dev_put/dev_hold cleanup Get rid of the old __dev_put macro that is just a hold over from pre 2.6 kernel. And turn dev_hold into an inline instead of a macro. Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 2d0817d11eaec57435feb61493331a763f732a2b tree 7c42229b1cc64e67efe8ed21b82cdc513e638f82 parent 110bae4efb5ed5565257a0fb9f6d26e6125a1c4b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:32:06 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:06 -0800 [DCCP] options: Make dccp_insert_options & friends yell on error And not the silly LIMIT_NETDEBUG and silently return without inserting the option requested. Also drop some old debugging messages associated to option insertion. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 110bae4efb5ed5565257a0fb9f6d26e6125a1c4b tree 99a2b24856928a9445185446f118b5d5605c216f parent c5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:46 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:46 -0800 [DCCP]: Remove leftover dccp_send_response prototype Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 tree 7fd3a91c0afe7f57be7fdb217cb070acb9bfbbcb parent 118b2c9532c853ebdf15c21128d30a343b89ea45 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:26 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:26 -0800 [DCCP]: ditch dccp_v[46]_ctl_send_ack Merging it with its only user: dccp_v[46]_reqsk_send_ack. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 118b2c9532c853ebdf15c21128d30a343b89ea45 tree 1974a1850b4bfebb08424a241228ac66076c276f parent e5a6de915ba9ba828751ade5d3e874072a89a00a author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:09 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:09 -0800 [DCCP]: Use sk->sk_prot->max_header consistently for non-data packets Using this also provides opportunities for introducing inet_csk_alloc_skb that would call alloc_skb, account it to the sock and skb_reserve(max_header), but I'll leave this for later, for now using sk_prot->max_header consistently is enough. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e5a6de915ba9ba828751ade5d3e874072a89a00a tree cac9cbfd549fa7736fe5af0e5c0f7b0f83854f16 parent aa837b5bbd92ca3791345e809d0027594faa738b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:30:51 -0800 committer David S. Miller Mon, 20 Mar 2006 22:30:51 -0800 [DCCP] options: Fix handling of ackvecs in DATA packets I.e. they should be just ignored, but we have to use 'break', not 'continue', as we have to possibly reset the mandatory flag. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit aa837b5bbd92ca3791345e809d0027594faa738b tree 4c0c106011e882d3e466a2c573ae8dd543b76fc8 parent e9e678006ee865b0f7e53069b0e519141a710a6e author David S. Miller Mon, 20 Mar 2006 22:30:23 -0800 committer David S. Miller Mon, 20 Mar 2006 22:30:23 -0800 [ATM]: Fix build after neigh->parms->neigh_destructor change. Signed-off-by: David S. Miller commit e9e678006ee865b0f7e53069b0e519141a710a6e tree 046576088184442a654c026a032b57df139eb9d6 parent c4e6575c78b83928c470d81b271909084a2efd37 author Michael Chan Mon, 20 Mar 2006 22:29:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:52 -0800 [TG3]: update version and reldate Update version to 3.52. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit c4e6575c78b83928c470d81b271909084a2efd37 tree 387a32bbd915bfb6d72d297bd86597c9e543e201 parent 1820180b0e59cc48019414018b180518059f50d3 author Michael Chan Mon, 20 Mar 2006 22:29:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:32 -0800 [TG3]: Add firmware version info Add fw_version information to ethtool -i. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1820180b0e59cc48019414018b180518059f50d3 tree 6f79d249a19a5094e6da5e7cc8fc7afd27e4e961 parent 79f4d13a15774c2d442b619bad95a4c612eed4f3 author Michael Chan Mon, 20 Mar 2006 22:29:15 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:15 -0800 [TG3]: nvram cleanup Some nvram related cleanup: 1. Add a tg3_nvram_read_swab() since swabing the data is frequently done. 2. Add a function to convert nvram address to physical address instead of doing it in 2 separate places. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 79f4d13a15774c2d442b619bad95a4c612eed4f3 tree 22996b2b33bc68d24ec8091954d8d6f57a552eb4 parent fcfa0a32c767219c1bdad621ef4a3aff1904cbbd author Michael Chan Mon, 20 Mar 2006 22:28:57 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:57 -0800 [TG3]: Fixup memory test for 5787 Ethtool memory test on 5787 requires a new memory table. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit fcfa0a32c767219c1bdad621ef4a3aff1904cbbd tree 0b40b3432cc90af0e2b22da056baab173d163d65 parent 9c27dbdf64cba05d0cacc343118a7fd01d4b82f7 author Michael Chan Mon, 20 Mar 2006 22:28:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:41 -0800 [TG3]: Add new one-shot MSI handler Support one-shot MSI on 5787. This one-shot MSI idea is credited to David Miller. In this mode, MSI disables itself automatically after it is generated, saving the driver a register access to disable it for NAPI. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 9c27dbdf64cba05d0cacc343118a7fd01d4b82f7 tree f579329eab7d30f6016d52ab50bfcb2a540dd750 parent 5a6f3074c2ea5a7b4ff5b18f0e1fd9b1257e1a29 author Michael Chan Mon, 20 Mar 2006 22:28:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:27 -0800 [TG3]: Add ipv6 checksum support Support ipv6 tx csum on 5787 by setting NETIF_F_HW_CSUM. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit eae0f536f640bb95f2ad437a57c40c7d5683d1ac tree 40e5ca04ecf2390fe75f3efad17f8e51d4aced66 parent 6c2133e11b422b7379b5a660c639f7d53d18ca3b author Sam Ravnborg Tue, 21 Mar 2006 07:28:24 +0100 committer Sam Ravnborg Tue, 21 Mar 2006 07:28:24 +0100 kbuild: remove obsoleted scripts/reference_* files The checks performed by scripts/reference_* has been moved to modpost. Remove the files and their reference in top-level Makefile. Signed-off-by: Sam Ravnborg commit 5a6f3074c2ea5a7b4ff5b18f0e1fd9b1257e1a29 tree 4bc683f620e3176ae70932f5f865fe47423eb083 parent 1b27777a9b9b2b6d1c06000b7a31262d198b4238 author Michael Chan Mon, 20 Mar 2006 22:28:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:05 -0800 [TG3]: Add new hard_start_xmit Support 5787 hardware TSO using a new flag TG3_FLG2_HW_TSO_2. Since the TSO interface is slightly different and these chips have finally fixed the 4GB DMA problem and do not have the 40-bit DMA problem, a new hard_start_xmit is used for these chips. All previous chips will use the old hard_start_xmit that is now renamed tg3_start_xmit_dma_bug(). Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1b27777a9b9b2b6d1c06000b7a31262d198b4238 tree 4690a8fe70231e4b09171957a5d3e8a7b4ccb00c parent d9ab5ad12b0d865bdb1b750d81192d34465541e9 author Michael Chan Mon, 20 Mar 2006 22:27:48 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:48 -0800 [TG3]: Add 5787 nvram support Support additional nvrams and new nvram format for 5787 and 5754. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d9ab5ad12b0d865bdb1b750d81192d34465541e9 tree 0bc4b3e9139836b39e5cab3affe9090bae4b11c7 parent 6cb153cab92a6dc8771d496b10a50cd066fa7f71 author Michael Chan Mon, 20 Mar 2006 22:27:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:35 -0800 [TG3]: Add 5787 and 5754 basic support Add basic support for 2 new chips 5787 and 5754. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 6cb153cab92a6dc8771d496b10a50cd066fa7f71 tree 001935e638dbdae754ebe40900c4540bff5bc5b8 parent 8aca8a27d96cd75a30c380130496c98b658c9b98 author Benjamin LaHaise Mon, 20 Mar 2006 22:27:12 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:12 -0800 [NET]: use fget_light() in net/socket.c Here's an updated copy of the patch to use fget_light in net/socket.c. Rerunning the tests show a drop of ~80Mbit/s on average, which looks bad until you see the drop in cpu usage from ~89% to ~82%. That will get fixed in another patch... Before: max 8113.70, min 8026.32, avg 8072.34 87380 16384 16384 10.01 8045.55 87.11 87.11 1.774 1.774 87380 16384 16384 10.01 8065.14 90.86 90.86 1.846 1.846 87380 16384 16384 10.00 8077.76 89.85 89.85 1.822 1.822 87380 16384 16384 10.00 8026.32 89.80 89.80 1.833 1.833 87380 16384 16384 10.01 8108.59 89.81 89.81 1.815 1.815 87380 16384 16384 10.01 8034.53 89.01 89.01 1.815 1.815 87380 16384 16384 10.00 8113.70 90.45 90.45 1.827 1.827 87380 16384 16384 10.00 8111.37 89.90 89.90 1.816 1.816 87380 16384 16384 10.01 8077.75 87.96 87.96 1.784 1.784 87380 16384 16384 10.00 8062.70 90.25 90.25 1.834 1.834 After: max 8035.81, min 7963.69, avg 7998.14 87380 16384 16384 10.01 8000.93 82.11 82.11 1.682 1.682 87380 16384 16384 10.01 8016.17 83.67 83.67 1.710 1.710 87380 16384 16384 10.01 7963.69 83.47 83.47 1.717 1.717 87380 16384 16384 10.01 8014.35 81.71 81.71 1.671 1.671 87380 16384 16384 10.00 7967.68 83.41 83.41 1.715 1.715 87380 16384 16384 10.00 7995.22 81.00 81.00 1.660 1.660 87380 16384 16384 10.00 8002.61 83.90 83.90 1.718 1.718 87380 16384 16384 10.00 8035.81 81.71 81.71 1.666 1.666 87380 16384 16384 10.01 8005.36 82.56 82.56 1.690 1.690 87380 16384 16384 10.00 7979.61 82.50 82.50 1.694 1.694 Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit 8aca8a27d96cd75a30c380130496c98b658c9b98 tree cd32edff13c275a0f493ba70d909daee1819c6a2 parent 99cae7fca1311573f2777b8ceaa8a5abd6e9b04e author Stephen Hemminger Mon, 20 Mar 2006 22:26:39 -0800 committer David S. Miller Mon, 20 Mar 2006 22:26:39 -0800 [NET]: minor net_rx_action optimization The functions list_del followed by list_add_tail is equivalent to the existing inline list_move_tail. list_move_tail avoids unnecessary _LIST_POISON. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 99cae7fca1311573f2777b8ceaa8a5abd6e9b04e tree 61b5ad07d0f8fed37e3c3ab08eedf514226562d8 parent c5ecd62c25400a3c6856e009f84257d5bd03f03b author Alpt Mon, 20 Mar 2006 22:26:17 -0800 committer David S. Miller Mon, 20 Mar 2006 22:26:17 -0800 [NET] rtnetlink: Add RTPROT entry for Netsukuku. The Netsukuku daemon is using the same number to mark its routes, you can see it here: http://hinezumilabs.org/cgi-bin/viewcvs.cgi/netsukuku/src/krnl_route.h?rev=HEAD&content-type=text/vnd.viewcvs-markup Signed-off-by: David S. Miller commit c5ecd62c25400a3c6856e009f84257d5bd03f03b tree a0aeb88552772396bba986cce176028348ec041f parent 53dcb0e38c1786aa82ada4641b4607be315b610a author Michael S. Tsirkin Mon, 20 Mar 2006 22:25:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:25:41 -0800 [NET]: Move destructor from neigh->ops to neigh_params struct neigh_ops currently has a destructor field, which no in-kernel drivers outside of infiniband use. The infiniband/ulp/ipoib in-tree driver stashes some info in the neighbour structure (the results of the second-stage lookup from ARP results to real link-level path), and it uses neigh->ops->destructor to get a callback so it can clean up this extra info when a neighbour is freed. We've run into problems with this: since the destructor is in an ops field that is shared between neighbours that may belong to different net devices, there's no way to set/clear it safely. The following patch moves this field to neigh_parms where it can be safely set, together with its twin neigh_setup. Two additional patches in the patch series update ipoib to use this new interface. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: David S. Miller commit 53dcb0e38c1786aa82ada4641b4607be315b610a tree 90a88d7baec2f545c602da368a6553aa250eea37 parent 6146e6a43b3584c0c67b0ac94e3f14fdc618bd30 author Luiz Capitulino Mon, 20 Mar 2006 22:25:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:25:05 -0800 [PKTGEN]: Updates version. Due to the thread's lock changes, we're at a new version now. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6146e6a43b3584c0c67b0ac94e3f14fdc618bd30 tree 0e8844508a6554fadc0dfddde70c594455288731 parent 222fa076652cc1faf56eb7d554c2797ace3c5beb author Luiz Capitulino Mon, 20 Mar 2006 22:24:45 -0800 committer David S. Miller Mon, 20 Mar 2006 22:24:45 -0800 [PKTGEN]: Removes thread_{un,}lock() macros. As suggested by Arnaldo, this patch replaces the thread_lock()/thread_unlock() by directly calls to mutex_lock()/mutex_unlock(). This change makes the code a bit more readable, and the direct calls are used everywhere in the kernel. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 222fa076652cc1faf56eb7d554c2797ace3c5beb tree e2321a6c17693e82a3aefcb95f948d45e2b21e4f parent 6756ae4b4e97aba48c042b4aa6b77a18f507d2cb author Luiz Capitulino Mon, 20 Mar 2006 22:24:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:24:27 -0800 [PKTGEN]: Convert thread lock to mutexes. pktgen's thread semaphores are strict mutexes, convert them to the mutex implementation. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6756ae4b4e97aba48c042b4aa6b77a18f507d2cb tree 05bf37711d782fb0089d474716026c44a454f89b parent 253aa11578c1b89757282430891bb66ae5300092 author Stephen Hemminger Mon, 20 Mar 2006 22:23:58 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:58 -0800 [NET]: Convert RTNL to mutex. This patch turns the RTNL from a semaphore to a new 2.6.16 mutex and gets rid of some of the leftover legacy. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 253aa11578c1b89757282430891bb66ae5300092 tree 00ff3d18c1a7ead1bca4602385e85b65f012823c parent 50bf3e224a2963c6dd5098f77bd7233222ebfbd2 author David S. Miller Mon, 20 Mar 2006 22:23:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:35 -0800 [IPSEC] xfrm_user: Kill PAGE_SIZE check in verify_sec_ctx_len() First, it warns when PAGE_SIZE >= 64K because the ctx_len field is 16-bits. Secondly, if there are any real length limitations it can be verified by the security layer security_xfrm_state_alloc() call. Signed-off-by: David S. Miller commit 50bf3e224a2963c6dd5098f77bd7233222ebfbd2 tree 6429bcfa043d34db73ef1bdb48243726e33f8132 parent 0bc6d90b82775113bbbe371f5d9fcffefa5fa94d author Baruch Even Mon, 20 Mar 2006 22:23:10 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:10 -0800 [TCP] H-TCP: Better time accounting Instead of estimating the time since the last congestion event, count it directly. Signed-off-by: Baruch Even Signed-off-by: David S. Miller commit 0bc6d90b82775113bbbe371f5d9fcffefa5fa94d tree 5597a249a1ad015c226f2c94192de5efec9092d3 parent c33ad6e476e4cdc245215f3eb5b3df353df1b370 author Baruch Even Mon, 20 Mar 2006 22:22:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:22:47 -0800 [TCP] H-TCP: Account for delayed-ACKs Account for delayed-ACKs in H-TCP. Delayed-ACKs cause H-TCP to be less aggressive than its design calls for. It is especially true when the receiver is a Linux machine where the average delayed ack is over 3 packets with values of 7 not unheard of. Signed-off-By: Baruch Even Signed-off-by: David S. Miller commit 6c2133e11b422b7379b5a660c639f7d53d18ca3b tree a4b76b5d1772d1ac6067bbe92a8a07e39647a60e parent dc9a49a4af9cdbe3d79183eefb12372b4dbc09c2 author Sam Ravnborg Tue, 21 Mar 2006 07:22:35 +0100 committer Sam Ravnborg Tue, 21 Mar 2006 07:22:35 +0100 kbuild: fix make help & make *pkg FORCE was not defined => error. Use kbuild infrastructure to call down to the relevant Makefile. This enables us to use the FORCE definition from kbuild. Signed-off-by: Sam Ravnborg commit c33ad6e476e4cdc245215f3eb5b3df353df1b370 tree b19831b1630b5963a897ae655027c6d7acdd2895 parent b191ba0d599928372be5a89f75486eb58efab48a author Baruch Even Mon, 20 Mar 2006 22:22:20 -0800 committer David S. Miller Mon, 20 Mar 2006 22:22:20 -0800 [TCP] H-TCP: Use msecs_to_jiffies Use functions to calculate jiffies from milliseconds and not the old, crude method of dividing HZ by a value. Ensures more accurate values even in the face of strange HZ values. Signed-off-By: Baruch Even Signed-off-by: David S. Miller commit b191ba0d599928372be5a89f75486eb58efab48a tree a0ecc636d121126aba838d49700ad9cfbbf94733 parent 0ac81ae34ec8898e7eb1388fe21e3cee7b626a88 author Evgeniy Polyakov Mon, 20 Mar 2006 22:21:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:21:40 -0800 [CONNECTOR]: Use netlink_has_listeners() to avoind unnecessary allocations. Return -ESRCH from cn_netlink_send() when there are not listeners, just as it could be done by netlink_broadcast(). Propagate netlink_broadcast() error back to the caller. Signed-off-by: Evgeniy Polyakov Signed-off-by: David S. Miller commit 0ac81ae34ec8898e7eb1388fe21e3cee7b626a88 tree a12010186c97a515d7484c827df030cd11ac4911 parent 65a3980e6b14d591e3b8f5cdc7219be99e3003a4 author David Basden Mon, 20 Mar 2006 22:21:10 -0800 committer David S. Miller Mon, 20 Mar 2006 22:21:10 -0800 [IRDA]: TOIM3232 dongle support Here goes a patch for supporting TOIM3232 based serial IrDA dongles. The code is based on the tekram dongle code. It's been tested with a TOIM3232 based IRWave 320S dongle. It may work for TOIM4232 dongles, although it's not been tested. Signed-off-by: David Basden Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 65a3980e6b14d591e3b8f5cdc7219be99e3003a4 tree d837464919d82b5fbf8ab4981852a0f619338ee5 parent c26a80168f2d44f525a5adb0c95cddffb4a5aaa4 author Luiz Capitulino Mon, 20 Mar 2006 22:18:31 -0800 committer David S. Miller Mon, 20 Mar 2006 22:18:31 -0800 [PKTGEN]: Updates version. With all the previous changes, we're at a new version now. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit c26a80168f2d44f525a5adb0c95cddffb4a5aaa4 tree 78795c5986ab1a05bcf259f028d59ec719458036 parent 8024bb245408060bec8393469e945b541a9b0865 author Luiz Capitulino Mon, 20 Mar 2006 22:18:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:18:16 -0800 [PKTGEN]: Ports if_list to the in-kernel implementation. This patch ports the per-thread interface list list to the in-kernel linked list implementation. In the general, the resulting code is a bit simpler. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 8024bb245408060bec8393469e945b541a9b0865 tree be58db8760c3ca03fc3b71155cf0cd88849ee4be parent 12e1872328e7055d06e539f1b687dc3d0610855c author Luiz Capitulino Mon, 20 Mar 2006 22:17:55 -0800 committer David S. Miller Mon, 20 Mar 2006 22:17:55 -0800 [PKTGEN]: Fix Initialization fail leak. Even if pktgen's thread initialization fails for all CPUs, the module will be successfully loaded. This patch changes that behaivor, by returning an error on module load time, and also freeing all the resources allocated. It also prints a warning if a thread initialization has failed. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 12e1872328e7055d06e539f1b687dc3d0610855c tree 8a3315b9c67da38a0cf0284100a2e3c06abca330 parent cdcdbe0b179adca0bcf98f660fcc63e208ae4284 author Luiz Capitulino Mon, 20 Mar 2006 22:17:00 -0800 committer David S. Miller Mon, 20 Mar 2006 22:17:00 -0800 [PKTGEN]: Fix kernel_thread() fail leak. Free all the alocated resources if kernel_thread() call fails. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit cdcdbe0b179adca0bcf98f660fcc63e208ae4284 tree 06e20bb4e3dc8f5cacec067c8021aab2976c5971 parent 222f18065868b04df92df476b19c99c28740e00f author Luiz Capitulino Mon, 20 Mar 2006 22:16:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:16:40 -0800 [PKTGEN]: Ports thread list to Kernel list implementation. The final result is a simpler and smaller code. Note that I'm adding a new member in the struct pktgen_thread called 'removed'. The reason is that I didn't find a better wait condition to be used in the place of the replaced one. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 222f18065868b04df92df476b19c99c28740e00f tree 71d1bc3bcb42928aebfcf1d02d9dcbea961fa732 parent 6df9424a9ca35f9fab773d1a0a8919781a367125 author Luiz Capitulino Mon, 20 Mar 2006 22:16:13 -0800 committer David S. Miller Mon, 20 Mar 2006 22:16:13 -0800 [PKTGEN]: Lindent run. Lindet run, with some fixes made by hand. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6df9424a9ca35f9fab773d1a0a8919781a367125 tree 3c577a45046f9daeb574a76df704f88f76175faf parent c0c736db7ef4a7bdc1a28f3de751cc7e9f720313 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:06:02 -0800 committer David S. Miller Mon, 20 Mar 2006 22:06:02 -0800 [DCCP] options: Fix some aspects of mandatory option processing According to dccp draft (draft-ietf-dccp-spec-13.txt) section 5.8.2 (Mandatory Option) the following patch correct the handling of the following cases: 1) "... and any Mandatory options received on DCCP-Data packets MUST be ignored." 2) "The connection is in error and should be reset with Reset Code 5, ... if option O is absent (Mandatory was the last byte of the option list), or if option O equals Mandatory." Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Hagen Paul Pfeifer Signed-off-by: David S. Miller commit c0c736db7ef4a7bdc1a28f3de751cc7e9f720313 tree 0935933828ed9021920cb5a922506911398c16ab parent 45329e71eeb6cb483c6e7fe9e6f2849dd2932cb5 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:05:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:05:37 -0800 [DCCP] ccid2: coding style cleanups No changes in the logic where made. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 45329e71eeb6cb483c6e7fe9e6f2849dd2932cb5 tree 95d3aea5bfee63103ff6132c630cc220820d5bbb parent c4d9390941aee136fd35bb38eb1d6de4e3b1487d author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:01:29 -0800 committer David S. Miller Mon, 20 Mar 2006 22:01:29 -0800 [DCCP] ipv6: cleanups No changes in the logic were made, just removing trailing whitespaces, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c4d9390941aee136fd35bb38eb1d6de4e3b1487d tree fcaf0032ba5971145b5f527b8635cd7aa3a39d8c parent 72478873571d869906f7a250b09e12fa5b65e321 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:01:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:01:03 -0800 [ICSK]: Introduce inet_csk_ctl_sock_create Consolidating open coded sequences in tcp and dccp, v4 and v6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 72478873571d869906f7a250b09e12fa5b65e321 tree 562e6179922a5eef9c1f3eb7b1bf3813a6e53545 parent c25a18ba347f091d1ce620ba33e6772b60a528e1 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:00:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:00:37 -0800 [DCCP] ipv6: Add missing ipv6 control socket I guess I forgot to add it, nah, now it just works: 18:04:33.274066 IP6 ::1.1476 > ::1.5001: request (service=0) 18:04:33.334482 IP6 ::1.5001 > ::1.1476: reset (code=bad_service_code) Ditched IP_DCCP_UNLOAD_HACK, as now we would have to do it for both IPv6 and IPv4, so I'll come up with another way for freeing the control sockets in upcoming changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c25a18ba347f091d1ce620ba33e6772b60a528e1 tree 788c596356e150a26e0a67243ffc68213abdd493 parent 5e0817f84c33285c2ac7d3848e8896d025b5deff author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:58:56 -0800 committer David S. Miller Mon, 20 Mar 2006 21:58:56 -0800 [DCCP]: Uninline some functions Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 5e0817f84c33285c2ac7d3848e8896d025b5deff tree c394b80761d68d57128775da1e6832df4ff2170b parent d76e60a5b510bab0af130fca9f4ed06499be4d2f author Adrian Bunk Mon, 20 Mar 2006 21:58:29 -0800 committer David S. Miller Mon, 20 Mar 2006 21:58:29 -0800 [DCCP] ipv4: make struct dccp_v4_prot static There's no reason for struct dccp_v4_prot being global. Signed-off-by: Adrian Bunk Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d76e60a5b510bab0af130fca9f4ed06499be4d2f tree 043260141f4a56f3034fa91099ec1715204905f2 parent 06ef921d60bbf6f765d1b9492fb4fc88ac7814bd author David S. Miller Mon, 20 Mar 2006 21:35:50 -0800 committer David S. Miller Mon, 20 Mar 2006 21:35:50 -0800 [IPV6]: Fix some code/comment formatting in ip6_dst_output(). Signed-off-by: David S. Miller commit 06ef921d60bbf6f765d1b9492fb4fc88ac7814bd tree c59cb40d0f28621e782b1938ea0bfa5d6720c75a parent 5ddf0eb2bfd613e941dd8748870c71da2e5ad409 author Robert Olsson Mon, 20 Mar 2006 21:35:01 -0800 committer David S. Miller Mon, 20 Mar 2006 21:35:01 -0800 [IPV4]: fib_trie stats fix fib_triestats has been buggy and caused oopses some platforms as openwrt. The patch below should cure those problems. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 5ddf0eb2bfd613e941dd8748870c71da2e5ad409 tree 54591328f3ffcaef3b91be801be3e621b99e8463 parent 4f81c32b028aecd818634b1ef36aae3b2b3e66ce author Robert Olsson Mon, 20 Mar 2006 21:34:12 -0800 committer David S. Miller Mon, 20 Mar 2006 21:34:12 -0800 [IPV4]: fib_trie initialzation fix In some kernel configs /proc functions seems to be accessed before the trie is initialized. The patch below checks for this. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 4f81c32b028aecd818634b1ef36aae3b2b3e66ce tree e0c9f0945c1d72cd981aa49ad58792d25499bb6f parent e75f7c900944aa90831f6d343ca40090a68b56dd author Michael Chan Mon, 20 Mar 2006 21:33:42 -0800 committer David S. Miller Mon, 20 Mar 2006 21:33:42 -0800 [TG3]: Fix tg3_get_ringparam() Fix-up tg3_get_ringparam() to return the correct parameters. Set the jumbo rx ring parameter only if it is supported by the chip and currently in use. Add missing value for tx_max_pending, noticed by Rick Jones. Update version to 3.51. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit e75f7c900944aa90831f6d343ca40090a68b56dd tree d5192f5c230a2e84a6a0b23eed7e802ebf6ab555 parent 0e7b13685f9a06949ea3070c97c0f0085a08cd37 author Michael Chan Mon, 20 Mar 2006 21:33:26 -0800 committer David S. Miller Mon, 20 Mar 2006 21:33:26 -0800 [TG3]: Add some missing netif_running() checks Add missing netif_running() checks in tg3's dev->set_multicast_list() and dev->set_mac_address(). If not netif_running(), these 2 calls can simply return 0 after storing the new settings if required. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0e7b13685f9a06949ea3070c97c0f0085a08cd37 tree 3ba0a11d61dc2dd64d7a93bb5cd70d58a46fec39 parent 1d541ddd74802cfa0eb8a3864668851f6cd79bdf author John Heffner Mon, 20 Mar 2006 21:32:58 -0800 committer David S. Miller Mon, 20 Mar 2006 21:32:58 -0800 [TCP] mtu probing: move tcp-specific data out of inet_connection_sock This moves some TCP-specific MTU probing state out of inet_connection_sock back to tcp_sock. Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 1d541ddd74802cfa0eb8a3864668851f6cd79bdf tree 3db70aede59a2743124b077ed1dd2ebe3629b506 parent e9df7d7f584666533b1bdfcf5c60a43d64689198 author Benjamin LaHaise Mon, 20 Mar 2006 21:31:51 -0800 committer David S. Miller Mon, 20 Mar 2006 21:31:51 -0800 [AF_UNIX]: scm: better initialization Instead of doing a memset then initialization of the fields of the scm structure, just initialize all the members explicitly. Prevent reloading of current on x86 and x86-64 by storing the value in a local variable for subsequent dereferences. This is worth a ~7KB/s increase in af_unix bandwidth. Note that we avoid the issues surrounding potentially uninitialized members of the ucred structure by constructing a struct ucred instead of assigning the members individually, which forces the compiler to zero any padding. [ I modified the patch not to use the aggregate assignment since gcc-3.4.x and earlier cannot optimize that properly at all even though gcc-4.0.x and later can -DaveM ] Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit e9df7d7f584666533b1bdfcf5c60a43d64689198 tree 78faaa085edfb24784e40779864d41fd9ddeb168 parent 231d06ae826664b83369166449144304859a62fa author Benjamin LaHaise Mon, 20 Mar 2006 21:29:05 -0800 committer David S. Miller Mon, 20 Mar 2006 21:29:05 -0800 [AF_UNIX]: use shift instead of integer division The patch below replaces a divide by 2 with a shift -- sk_sndbuf is an integer, so gcc emits an idiv, which takes 10x longer than a shift by 1. This improves af_unix bandwidth by ~6-10K/s. Also, tidy up the comment to fit in 80 columns while we're at it. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit 231d06ae826664b83369166449144304859a62fa tree 1c761b91405573f4e787454b454ead8354c3ba23 parent 2e1f47c74c26a591fc490eb339f1b3167361158b author Jörn Engel Mon, 20 Mar 2006 21:28:35 -0800 committer David S. Miller Mon, 20 Mar 2006 21:28:35 -0800 [NET]: Uninline kfree_skb and allow NULL argument o Uninline kfree_skb, which saves some 15k of object code on my notebook. o Allow kfree_skb to be called with a NULL argument. Subsequent patches can remove conditional from drivers and further reduce source and object size. Signed-off-by: Jörn Engel Signed-off-by: David S. Miller commit 2e1f47c74c26a591fc490eb339f1b3167361158b tree 3136b2bdfa2bc95f3672318d73f533ecf37f24c1 parent 2342c990bbd2c075d627720006f0e602134346a7 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:28:11 -0800 committer David S. Miller Mon, 20 Mar 2006 21:28:11 -0800 [LLC]: Fix sap refcounting Thanks to Leslie Harlley Watter for reporting the problem an testing this patch. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 2342c990bbd2c075d627720006f0e602134346a7 tree ca72ae361e880aa1cd0cba5c3e01bc1a3cff17f7 parent 9c005e018cd951699e371a06889c553f9f4d1478 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:27:43 -0800 committer David S. Miller Mon, 20 Mar 2006 21:27:43 -0800 [LLC]: Replace __inline__ with inline Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9c005e018cd951699e371a06889c553f9f4d1478 tree f10fabdfddba0824ecf20913be4ef0c558fc019b parent 95ed63f791656fc19e36ae68bc328e367958c76b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:27:23 -0800 committer David S. Miller Mon, 20 Mar 2006 21:27:23 -0800 [LLC]: Fix struct proto .name Cut'n'paste error from ddp_proto. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 95ed63f791656fc19e36ae68bc328e367958c76b tree dbee5227c99677c35874e0b522f6b84df262cf63 parent 4bf07ef3fd5db2df7d1899fcf9c67d2263ead2e2 author Arthur Kepner Mon, 20 Mar 2006 21:26:56 -0800 committer David S. Miller Mon, 20 Mar 2006 21:26:56 -0800 [NET] pktgen: Fix races between control/worker threads. There's a race in pktgen which can lead to a double free of a pktgen_dev's skb. If a worker thread is in the midst of doing fill_packet(), and the controlling thread gets a "stop" message, the already freed skb can be freed once again in pktgen_stop_device(). This patch gives all responsibility for cleaning up a pktgen_dev's skb to the associated worker thread. Signed-off-by: Arthur Kepner Acked-by: Robert Olsson Signed-off-by: David S. Miller commit 4bf07ef3fd5db2df7d1899fcf9c67d2263ead2e2 tree 353775ab0c4777c864e7e0297abed0a9eb76235a parent b61fafc4ef3faf54236d57e3b230ca19167663bf author Jamal Hadi Salim Mon, 20 Mar 2006 21:25:50 -0800 committer David S. Miller Mon, 20 Mar 2006 21:25:50 -0800 [XFRM]: Rearrange struct xfrm_aevent_id for better compatibility. struct xfrm_aevent_id needs to be 32-bit + 64-bit align friendly. Based upon suggestions from Yoshifuji. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit b61fafc4ef3faf54236d57e3b230ca19167663bf tree d928d79a28556ee06fda685458d3f398b6e57d40 parent 46f09ffa7db595f49fb42338e013417756816d37 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:25:11 -0800 committer David S. Miller Mon, 20 Mar 2006 21:25:11 -0800 [DCCP]: Move the IPv4 specific bits from proto.c to ipv4.c With this patch in place we can break down the complexity by better compartmentalizing the code that is common to ipv6 and ipv4. Now we have these modules: Module Size Used by dccp_diag 1344 0 inet_diag 9448 1 dccp_diag dccp_ccid3 15856 0 dccp_tfrc_lib 12320 1 dccp_ccid3 dccp_ccid2 5764 0 dccp_ipv4 16996 2 dccp 48208 4 dccp_diag,dccp_ccid3,dccp_ccid2,dccp_ipv4 dccp_ipv6 still requires dccp_ipv4 due to dccp_ipv6_mapped, that is the next target to work on the "hey, ipv4 is legacy, I only want ipv6 dude!" direction. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 46f09ffa7db595f49fb42338e013417756816d37 tree 95d286df35f404bd61680c10d1c6e69521e727de parent 075ae86611011e1acdda9df6a7e30f8508b31fd6 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:24:42 -0800 committer David S. Miller Mon, 20 Mar 2006 21:24:42 -0800 [DCCP]: Rename init_dccp_v4_mibs to dccp_mib_init And introduce dccp_mib_exit grouping previously open coded sequence. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 075ae86611011e1acdda9df6a7e30f8508b31fd6 tree 964bd1489ca16e3bbdc41a455b2a2db8e7801f2a parent 0a1ec676ddbee712e1c1da679be4bdc529caf215 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:24:19 -0800 committer David S. Miller Mon, 20 Mar 2006 21:24:19 -0800 [DCCP]: Move dccp_hashinfo from ipv4.c to the core As it is used by both ipv4 and ipv6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0a1ec676ddbee712e1c1da679be4bdc529caf215 tree 709db39592784baebb9f43f5d1bbd33c70fdcbeb parent c985ed705ffc682ce40d46a5f7bf98db86b27899 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:59 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:59 -0800 [DCCP]: Dont use dccp_v4_checksum in dccp_make_response dccp_make_response is shared by ipv4/6 and the ipv6 code was recalculating the checksum, not good, so move the dccp_v4_checksum call to dccp_v4_send_response. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c985ed705ffc682ce40d46a5f7bf98db86b27899 tree 20272a6d8f7b896e9b31397d4c4ff563bfdf16b2 parent 3e0fadc51f2fde01e0e22f481370a9b5f073bfc3 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:39 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:39 -0800 [DCCP]: Move dccp_[un]hash from ipv4.c to the core As this is used by both ipv4 and ipv6 and is not ipv4 specific. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3e0fadc51f2fde01e0e22f481370a9b5f073bfc3 tree 0254dd8d495d2e4a2a1a9adb17b7dc10541796d8 parent 017487d7d1e905a5bb529f6a2bc8cf8ea14e2307 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:15 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:15 -0800 [DCCP]: Move dccp_v4_{init,destroy}_sock to the core Removing one more ipv6 uses ipv4 stuff case in dccp land. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit df6db302cb236ac3a683d535a3e2073d9f4b2833 tree 9696bfbeb1cddfdb1d48d85e79986b809ad2041b parent 0e19c1ea2fa57f0612c80595f534b4ddcf69ad8f author J. Bruce Fields Mon, 20 Mar 2006 23:25:10 -0500 committer Trond Myklebust Mon, 20 Mar 2006 23:25:10 -0500 SUNRPC,RPCSEC_GSS: spkm3--fix config dependencies Add default selection of CRYPTO_CAST5 when selecting RPCSEC_GSS_SPKM3. Signed-off-by: Kevin Coffman Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 0e19c1ea2fa57f0612c80595f534b4ddcf69ad8f tree fcbef67e5d2625fa200480b354023fd6570bb31a parent 5f12191bc000ea31970339a5f54c11087506711c author J. Bruce Fields Mon, 20 Mar 2006 23:24:40 -0500 committer Trond Myklebust Mon, 20 Mar 2006 23:24:40 -0500 SUNRPC,RPCSEC_GSS: spkm3: import contexts using NID_cast5_cbc Import the NID_cast5_cbc from the userland context. Not used. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 5f12191bc000ea31970339a5f54c11087506711c tree 073d24a7ccd22ddf9a3f16b488ef1d2f989842b9 parent f3ee439f43381e45b191cf721b4a51d41f33301f author J. Bruce Fields Mon, 20 Mar 2006 23:24:25 -0500 committer Trond Myklebust Mon, 20 Mar 2006 23:24:25 -0500 LOCKD: Make nlmsvc_traverse_shares return void The nlmsvc_traverse_shares return value is always zero, hence useless. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f3ee439f43381e45b191cf721b4a51d41f33301f tree 1ac11992c5ec5669c0d6ed68a9881dd51a01220f parent eaa82edf20d738a7ae31f4b0a5f72f64c14a58df author J. Bruce Fields Mon, 20 Mar 2006 23:24:13 -0500 committer Trond Myklebust Mon, 20 Mar 2006 23:24:13 -0500 LOCKD: nlmsvc_traverse_blocks return is unused Note that we never return non-zero. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit eaa82edf20d738a7ae31f4b0a5f72f64c14a58df tree 57c3244912dc5d15ca7a738ba7358bbd2616b1d9 parent 096455a22acac06fb6d0d75f276170ab72d55ba6 author J. Bruce Fields Mon, 20 Mar 2006 23:24:04 -0500 committer Trond Myklebust Mon, 20 Mar 2006 23:24:04 -0500 SUNRPC,RPCSEC_GSS: fix krb5 sequence numbers. Use a spinlock to ensure unique sequence numbers when creating krb5 gss tokens. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 096455a22acac06fb6d0d75f276170ab72d55ba6 tree ba2f522da3e248720b919bc94193f791a239821c parent 9e57b302cf0f27063184196def620f39ca7a5fc6 author J. Bruce Fields Mon, 20 Mar 2006 23:23:42 -0500 committer Trond Myklebust Mon, 20 Mar 2006 23:23:42 -0500 NFSv4: Dont list system.nfs4_acl for filesystems that don't support it. Thanks to Frank Filz for pointing out that we list system.nfs4_acl extended attribute even on filesystems where we don't actually support nfs4_acl. This is inconsistent with the e.g. ext3 POSIX ACL behaviour, and seems to annoy cp. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 9e57b302cf0f27063184196def620f39ca7a5fc6 tree 3b154f314dfad8c4350af10b87ab7f4759df3f6d parent 7a1218a277c45cba1fb8d7089407a1769c645c43 author J. Bruce Fields Mon, 20 Mar 2006 23:23:11 -0500 committer Trond Myklebust Mon, 20 Mar 2006 23:23:11 -0500 SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum Remove unnecessary kmalloc of temporary space to hold the md5 result; it's small enough to just put on the stack. This code may be called to process rpc's necessary to perform writes, so there's a potential deadlock whenever we kmalloc() here. After this a couple kmalloc()'s still remain, to be removed soon. This also fixes a rare double-free on error noticed by coverity. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 017487d7d1e905a5bb529f6a2bc8cf8ea14e2307 tree 6a68904ea48ccae0c4c17f7dc248831fd46bd3e6 parent e55d912f5b75723159348a7fc7692f869a86636a author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:25:24 -0800 committer David S. Miller Mon, 20 Mar 2006 19:25:24 -0800 [DCCP]: Generalize dccp_v4_send_reset Renaming it to dccp_send_reset and moving it from the ipv4 specific code to the core dccp code. This fixes some bugs in IPV6 where timers would send v4 resets, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e55d912f5b75723159348a7fc7692f869a86636a tree c00be180cac20e4247ffda446ad266d885a1a811 parent 04e2661e9c00386412b64612549cf24c8baef67c author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:25:02 -0800 committer David S. Miller Mon, 20 Mar 2006 19:25:02 -0800 [DCCP] feat: Introduce sysctls for the default features [root@qemu ~]# for a in /proc/sys/net/dccp/default/* ; do echo $a ; cat $a ; done /proc/sys/net/dccp/default/ack_ratio 2 /proc/sys/net/dccp/default/rx_ccid 3 /proc/sys/net/dccp/default/send_ackvec 1 /proc/sys/net/dccp/default/send_ndp 1 /proc/sys/net/dccp/default/seq_window 100 /proc/sys/net/dccp/default/tx_ccid 3 [root@qemu ~]# So if wanting to test ccid3 as the tx CCID one can just do: [root@qemu ~]# echo 3 > /proc/sys/net/dccp/default/tx_ccid [root@qemu ~]# echo 2 > /proc/sys/net/dccp/default/rx_ccid [root@qemu ~]# cat /proc/sys/net/dccp/default/[tr]x_ccid 2 3 [root@qemu ~]# Of course we also need the setsockopt for each app to tell its preferences, but for testing or defining something other than CCID2 as the default for apps that don't explicitely set their preference the sysctl interface is handy. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 04e2661e9c00386412b64612549cf24c8baef67c tree d2c53123806041dfe4c0dc2b18a890a1f5333105 parent 057fc6755a2381b4e81636659ef519e069f38623 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:24:41 -0800 committer David S. Miller Mon, 20 Mar 2006 19:24:41 -0800 [DCCP]: Call dccp_feat_init more early in dccp_v4_init_sock So that dccp_feat_clean doesn't get confused with uninitialized list_heads. Noticed when testing with no ccid kernel modules. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 057fc6755a2381b4e81636659ef519e069f38623 tree e15ad08e84e0892e1bb273067fd7e6f20a62fdad parent 93ce20928f6e197707add8f670ae0cd029107e8f author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:24:22 -0800 committer David S. Miller Mon, 20 Mar 2006 19:24:22 -0800 [DCCP]: Kconfig tidy up Make CCID2 and CCID3 default to what was selected for DCCP and use the standard short description for the CCIDs (TCP-Like & TCP-Friendly). Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 93ce20928f6e197707add8f670ae0cd029107e8f tree d7a3219c9a81d103c72267b568e7ea90dd673f42 parent 60fe62e789076ae7c13f7ffb35fec4b24802530d author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:23:58 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:58 -0800 [DCCP]: Make CCID2 be the default As per the draft. This fixes the build when netfilter dccp components are built and dccp isn't. Thanks to Reuben Farrelly for reporting this. The following changesets will introduce /proc/sys/net/dccp/defaults/ to give more flexibility to DCCP developers and testers while apps doesn't use setsockopt to specify the desired CCID, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 60fe62e789076ae7c13f7ffb35fec4b24802530d tree cc8d507a4276c3d5a2bcb72746660d485bc2e045 parent a193a4abdd1f742a57f3f70b6a83c3e536876e97 author Andrea Bittau Mon, 20 Mar 2006 19:23:32 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:32 -0800 [DCCP]: sparse endianness annotations This also fixes the layout of dccp_hdr short sequence numbers, problem was not fatal now as we only support long (48 bits) sequence numbers. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Al Viro Signed-off-by: David S. Miller commit a193a4abdd1f742a57f3f70b6a83c3e536876e97 tree 1b77f9f388ae153815248e8ef30b0297943c7016 parent 6ffd30fbbb1b4a01a9f56049521693375a864d3e author Patrick McHardy Mon, 20 Mar 2006 19:23:05 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:05 -0800 [NETFILTER]: Fix skb->nf_bridge lifetime issues The bridge netfilter code simulates the NF_IP_PRE_ROUTING hook and skips the real hook by registering with high priority and returning NF_STOP if skb->nf_bridge is present and the BRNF_NF_BRIDGE_PREROUTING flag is not set. The flag is only set during the simulated hook. Because skb->nf_bridge is only freed when the packet is destroyed, the packet will not only skip the first invocation of NF_IP_PRE_ROUTING, but in the case of tunnel devices on top of the bridge also all further ones. Forwarded packets from a bridge encapsulated by a tunnel device and sent as locally outgoing packet will also still have the incorrect bridge information from the input path attached. We already have nf_reset calls on all RX/TX paths of tunnel devices, so simply reset the nf_bridge field there too. As an added bonus, the bridge information for locally delivered packets is now also freed when the packet is queued to a socket. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6ffd30fbbb1b4a01a9f56049521693375a864d3e tree 0d127a675df6e574d9120f93f33c9495365f7e5b parent 91f0ebf7b6d5cb2b6e818d48587566144821babe author Andrea Bittau Mon, 20 Mar 2006 19:22:37 -0800 committer David S. Miller Mon, 20 Mar 2006 19:22:37 -0800 [DCCP] feat: Actually change the CCID upon negotiation Change the CCID upon successful feature negotiation. Commiter note: patch mostly rewritten to use the new ccid API. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 91f0ebf7b6d5cb2b6e818d48587566144821babe tree 505c66f36bd72014d7eacb7a04ea011bae2e9a3a parent f38c39d6ce8226519455a6dfe91c2ad84f363f6f author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:21:44 -0800 committer David S. Miller Mon, 20 Mar 2006 19:21:44 -0800 [DCCP] CCID: Improve CCID infrastructure 1. No need for ->ccid_init nor ->ccid_exit, this is what module_{init,exit} does and anynways neither ccid2 nor ccid3 were using it. 2. Rename struct ccid to struct ccid_operations and introduce struct ccid with a pointer to ccid_operations and rigth after it the rx or tx private state. 3. Remove the pointer to the state of the half connections from struct dccp_sock, now its derived thru ccid_priv() from the ccid pointer. Now we also can implement the setsockopt for changing the CCID easily as no ccid init routines can affect struct dccp_sock in any way that prevents other CCIDs from working if a CCID switch operation is asked by apps. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f38c39d6ce8226519455a6dfe91c2ad84f363f6f tree 2d217dcad1cde479e5200f488bada90e116b75ba parent a70fcb0ba337956d91476e2e7c3e71d9df940a82 author Patrick McHardy Mon, 20 Mar 2006 19:20:44 -0800 committer David S. Miller Mon, 20 Mar 2006 19:20:44 -0800 [PKT_SCHED]: Convert sch_red to a classful qdisc Convert sch_red to a classful qdisc. All qdiscs that maintain accurate backlog counters are eligible as child qdiscs. When a queue limit larger than zero is given, a bfifo qdisc is used for backwards compatibility. Current versions of tc enforce a limit larger than zero, other users can avoid creating the default qdisc by using zero. Signed-off-by: Patrick McHardy Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit a70fcb0ba337956d91476e2e7c3e71d9df940a82 tree 500eb6a2296f4aae0581936e8832504f153f984e parent ee857a7d672859cf4eb735d32bce22c8b7ad0bd2 author David S. Miller Mon, 20 Mar 2006 19:18:52 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:52 -0800 [XFRM]: Add some missing exports. To fix the case of modular xfrm_user. Signed-off-by: David S. Miller commit ee857a7d672859cf4eb735d32bce22c8b7ad0bd2 tree 4a6274454ed4af42fb2806151d14280f778f2281 parent 0ac8475248164553ffe21948c7b1a4b9d2a935dc author David S. Miller Mon, 20 Mar 2006 19:18:37 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:37 -0800 [XFRM]: Move xfrm_nl to xfrm_state.c from xfrm_user.c xfrm_user could be modular, and since generic code uses this symbol now... Signed-off-by: David S. Miller commit 0ac8475248164553ffe21948c7b1a4b9d2a935dc tree 45495847e8ea192c45c9babbd4b9e8c51d82692f parent 8c29bfe1cfbe6050c797a6364a0cc0ff57c377fc author David S. Miller Mon, 20 Mar 2006 19:18:23 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:23 -0800 [XFRM]: Make sure xfrm_replay_timer_handler() is declared early enough. Signed-off-by: David S. Miller commit 8c29bfe1cfbe6050c797a6364a0cc0ff57c377fc tree f5e48a81ea6b12d4a4d20960750ce5c87c241d1f parent 6c5c8ca7ff20523e427b955aa84cef407934710f author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:39 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:39 -0800 [IPSEC]: Sync series - update selinux Add new netlink messages to selinux framework Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 6c5c8ca7ff20523e427b955aa84cef407934710f tree 382a4b07027efd8a41638ed9c051cc9ec2506f0b parent 53bc6b4d29c07664f3abe029b7e6878a1067899a author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:25 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:25 -0800 [IPSEC]: Sync series - policy expires This is similar to the SA expire insertion patch - only it inserts expires for SP. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 53bc6b4d29c07664f3abe029b7e6878a1067899a tree d97fc26acc763dde9d1dc15573a51253180b617f parent 980ebd25794f0f87ac32844e2c73e9e81f0a72ba author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:03 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:03 -0800 [IPSEC]: Sync series - SA expires This patch allows a user to insert SA expires. This is useful to do on an HA backup for the case of byte counts but may not be very useful for the case of time based expiry. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 980ebd25794f0f87ac32844e2c73e9e81f0a72ba tree da52df6e31bd4b2527c223ca2585e0d792bf3ea2 parent d51d081d65048a7a6f9956a7809c3bb504f3b95d author Jamal Hadi Salim Mon, 20 Mar 2006 19:16:40 -0800 committer David S. Miller Mon, 20 Mar 2006 19:16:40 -0800 [IPSEC]: Sync series - acquire insert This introduces a feature similar to the one described in RFC 2367: " ... the application needing an SA sends a PF_KEY SADB_ACQUIRE message down to the Key Engine, which then either returns an error or sends a similar SADB_ACQUIRE message up to one or more key management applications capable of creating such SAs. ... ... The third is where an application-layer consumer of security associations (e.g. an OSPFv2 or RIPv2 daemon) needs a security association. Send an SADB_ACQUIRE message from a user process to the kernel. The kernel returns an SADB_ACQUIRE message to registered sockets. The user-level consumer waits for an SADB_UPDATE or SADB_ADD message for its particular type, and then can use that association by using SADB_GET messages. " An app such as OSPF could then use ipsec KM to get keys Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit d51d081d65048a7a6f9956a7809c3bb504f3b95d tree 55c62e9f6ff96d131a3ba59090d76209b68051ae parent 9500e8a81fe6302fcc5e4110adc4d166c9873d3a author Jamal Hadi Salim Mon, 20 Mar 2006 19:16:12 -0800 committer David S. Miller Mon, 20 Mar 2006 19:16:12 -0800 [IPSEC]: Sync series - user Add xfrm as the user of the core changes Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 9500e8a81fe6302fcc5e4110adc4d166c9873d3a tree 9b26d81e2d69869d2a01c4b33f568ab6cf1e0378 parent f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 author Jamal Hadi Salim Mon, 20 Mar 2006 19:15:29 -0800 committer David S. Miller Mon, 20 Mar 2006 19:15:29 -0800 [IPSEC]: Sync series - fast path Fast path sequence updates that will generate ipsec async events Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 tree 7850e8ebebf1f8543c96acdd7c197003b3b4d54c parent f5539eb8caa52a9198079df767cc1bb5494e69e3 author Jamal Hadi Salim Mon, 20 Mar 2006 19:15:11 -0800 committer David S. Miller Mon, 20 Mar 2006 19:15:11 -0800 [IPSEC]: Sync series - core changes This patch provides the core functionality needed for sync events for ipsec. Derived work of Krisztian KOVACS Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit f5539eb8caa52a9198079df767cc1bb5494e69e3 tree fa24490b12273384dfced2f664090b7fbf469e1e parent 053cfed75d9e01bda274c5b0126f5937181dcb62 author Patrick McHardy Mon, 20 Mar 2006 19:01:38 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:38 -0800 [PKT_SCHED]: Keep backlog counter in sch_sfq Keep backlog counter in SFQ qdisc to make it usable as child qdisc with RED. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 053cfed75d9e01bda274c5b0126f5937181dcb62 tree eddf99fddfdb6979c422c427a60a164135e0fc20 parent cdc7f8e362bcadbc312c97fb69d8d59676eec422 author Patrick McHardy Mon, 20 Mar 2006 19:01:21 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:21 -0800 [PKT_SCHED]: Restore TBF change semantic When TBF was converted to a classful qdisc, the semantic of the limit parameter was broken. On initilization an inner bfifo qdisc is created for backwards compatibility, when changing parameters however the new limit is ignored and the current child qdisc remains in place. Always replace the child qdisc by the default bfifo when limit is above zero, otherwise don't touch the inner qdisc. Current tc version enforce a limit above zero, other users can avoid creating the inner qdisc by using zero. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cdc7f8e362bcadbc312c97fb69d8d59676eec422 tree bbdf644a287b3e98b9ede73ba55e9de79682e28d parent 6d037a26f08711a222ed0d3d12b09e93eed7d3e8 author Patrick McHardy Mon, 20 Mar 2006 19:01:06 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:06 -0800 [PKT_SCHED]: Dump child qdisc handle in sch_{atm,dsmark} A qdisc should set tcm_info to the child qdisc handle in its class dump function. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6d037a26f08711a222ed0d3d12b09e93eed7d3e8 tree a200247459a6a378a1fb24847d383bddb09f5b67 parent a85d771e32f9724b61a68748cc667d1e11fe3478 author Patrick McHardy Mon, 20 Mar 2006 19:00:49 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:49 -0800 [PKT_SCHED]: Qdisc drop operation is optional The drop operation is optional and qdiscs must check if childs support it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a85d771e32f9724b61a68748cc667d1e11fe3478 tree bcf205e97e0952c5ab8461f0a6f97d2dca8f84cb parent 034888262eb8de1a91bc471d4e6d8173f6b3dbda author Christophe Lucas Mon, 20 Mar 2006 19:00:27 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:27 -0800 [IRDA]: pci_register_driver conversion This patch converts 2 IrDA drivers pci_module_init() calls to pci_register_driver(). Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 034888262eb8de1a91bc471d4e6d8173f6b3dbda tree 860de113ef7a983cdb6bb8ff3afc489971f32d3b parent 0ed79c9b7dea5cd9a55589a495cf96f00cd037d9 author David chosrova Mon, 20 Mar 2006 19:00:04 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:04 -0800 [IRDA]: sti/cli removal from EP7211 IrDA driver This patch replaces the deprecated sti/cli routines with the corresponding spin_lock ones. Signed-off-by: David chosrova Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 0ed79c9b7dea5cd9a55589a495cf96f00cd037d9 tree 8f4b0224cf320f5a16d354ce2a732e045de6d21a parent 3b99b93baba4cbf4fd3d206e65e81a070b21b560 author Jean Tourrilhes Mon, 20 Mar 2006 18:59:40 -0800 committer David S. Miller Mon, 20 Mar 2006 18:59:40 -0800 [IRDA]: nsc-ircc: support for yet another Thinkpad IrDA chipset This patch simply adds support for a variation of the nsc-ircc PC8739x chipset, found in some IBM Thinkpad laptops. Signed-off-by: Jean Tourrilhes Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 3b99b93baba4cbf4fd3d206e65e81a070b21b560 tree 7aa59a126614296b561b4d27bd92730a65fa188c parent ec4f32d550b94b4b66c9c7689bc09c6b32c8e82e author Dmitry Torokhov Mon, 20 Mar 2006 18:59:05 -0800 committer David S. Miller Mon, 20 Mar 2006 18:59:05 -0800 [IRDA]: nsc-ircc: PM update This patch brings the nsc-ircc code to a more up to date power management scheme, following the current device model. Signed-off-by: Dmitry Torokhov Signed-off-by: Rudolf Marek Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit ec4f32d550b94b4b66c9c7689bc09c6b32c8e82e tree b9eca8a87257ebf0585bc4817ec78c5cf98de47e parent 4277a083ecd2c8771058641132bcecea04ca6608 author Jean Tourrilhes Mon, 20 Mar 2006 18:54:03 -0800 committer David S. Miller Mon, 20 Mar 2006 18:54:03 -0800 [IRDA]: nsc-ircc: ISAPnP support This enables PnP support for the nsc-ircc chipset. Since we can't fetch the chipset cfg_base from the PnP layer, we just use the PnP information as one more hint when probing the chip. Signed-off-by: Jean Tourrilhes Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 4277a083ecd2c8771058641132bcecea04ca6608 tree c35d659c63fa4d64e2569e5eebd76e1b3fba9a15 parent a24276924875802853b5bdc12c56d29f1c1bbc79 author Patrick McHardy Mon, 20 Mar 2006 18:52:01 -0800 committer David S. Miller Mon, 20 Mar 2006 18:52:01 -0800 [NETLINK]: Add netlink_has_listeners for avoiding unneccessary event message generation Keep a bitmask of multicast groups with subscribed listeners to let netlink users check for listeners before generating multicast messages. Queries don't perform any locking, which may result in false positives, it is guaranteed however that any new subscriptions are visible before bind() or setsockopt() return. Signed-off-by: Patrick McHardy ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit a24276924875802853b5bdc12c56d29f1c1bbc79 tree 5725689bf434004143ae875bbfee3d3d29ddcdb0 parent c4b885139203d37f76662c37ae645fe8e0f4e4e5 author Patrick McHardy Mon, 20 Mar 2006 18:03:59 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:59 -0800 [NETFILTER]: ctnetlink: avoid unneccessary event message generation Avoid unneccessary event message generation by checking for netlink listeners before building a message. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c4b885139203d37f76662c37ae645fe8e0f4e4e5 tree 5cedf4d632b273df81bf1712b95dbc8b96cdc0e4 parent f2ffd9eeda82b476c034d733be08ecf6a87d2edf author Patrick McHardy Mon, 20 Mar 2006 18:03:40 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:40 -0800 [NETFILTER]: x_tables: replace IPv4/IPv6 policy match by address family independant version Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f2ffd9eeda82b476c034d733be08ecf6a87d2edf tree 05cbab3a8eb03184b7c924bb30ae7be0380336ad parent c49867347404c46f137a261643ed4fce4376f324 author Patrick McHardy Mon, 20 Mar 2006 18:03:16 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:16 -0800 [NETFILTER]: Move ip6_masked_addrcmp to include/net/ipv6.h Replace netfilter's ip6_masked_addrcmp by a more efficient version in include/net/ipv6.h to make it usable without module dependencies. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c49867347404c46f137a261643ed4fce4376f324 tree 0b561e2eae19b0073435a4a73df671eae878c30a parent 1c524830d0b39472f0278989bf1119750a5e234d author Patrick McHardy Mon, 20 Mar 2006 18:02:56 -0800 committer David S. Miller Mon, 20 Mar 2006 18:02:56 -0800 [NETFILTER]: x_tables: add xt_{match,target} arguments to match/target functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1c524830d0b39472f0278989bf1119750a5e234d tree 9c60dd1717ddf458f66c4a71cb41c3ef7186cdd3 parent 5d04bff096180f032de8b9b12153a8a1b4009b8d author Patrick McHardy Mon, 20 Mar 2006 18:02:15 -0800 committer David S. Miller Mon, 20 Mar 2006 18:02:15 -0800 [NETFILTER]: x_tables: pass registered match/target data to match/target functions This allows to make decisions based on the revision (and address family with a follow-up patch) at runtime. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5d04bff096180f032de8b9b12153a8a1b4009b8d tree 58aa8a8177b6d07cbce8b0c0bedeb23ecbde74d8 parent 7f9397138e297904bf1c717651183e785a01ff13 author Patrick McHardy Mon, 20 Mar 2006 18:01:58 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:58 -0800 [NETFILTER]: Convert x_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7f9397138e297904bf1c717651183e785a01ff13 tree 67b39ba381e8ffd2340d002a118252be0fc2e923 parent aa83c1ab4384c0905527c84e5135a56daa885834 author Patrick McHardy Mon, 20 Mar 2006 18:01:43 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:43 -0800 [NETFILTER]: Convert ip6_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit aa83c1ab4384c0905527c84e5135a56daa885834 tree 3bfacb7cf888e0d312a1a3ed2e9afff72db5b4f4 parent 1d5cd90976fa0d1cc21554b9d43f5c517323ebfc author Patrick McHardy Mon, 20 Mar 2006 18:01:28 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:28 -0800 [NETFILTER]: Convert arp_tables targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1d5cd90976fa0d1cc21554b9d43f5c517323ebfc tree 3eb43557a1d23c71ea41b91e4ee001ac43b8ba21 parent 3cdc7c953eb1e1e1d1b82adbd140bf3451c165b1 author Patrick McHardy Mon, 20 Mar 2006 18:01:14 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:14 -0800 [NETFILTER]: Convert ip_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3cdc7c953eb1e1e1d1b82adbd140bf3451c165b1 tree 82d44723c94904d52fc5234eaaa505688bdf0dc3 parent 37f9f7334b86ffc3b8a1921842ae33cb9aa22ee3 author Patrick McHardy Mon, 20 Mar 2006 18:00:36 -0800 committer David S. Miller Mon, 20 Mar 2006 18:00:36 -0800 [NETFILTER]: Change {ip,ip6,arp}_tables to use centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 37f9f7334b86ffc3b8a1921842ae33cb9aa22ee3 tree d207ae0a0f2eb37072dd4690de95b6cf170e4e04 parent 6ea46c9c12da79ec6eead0cf4b3114143dd30bc1 author Patrick McHardy Mon, 20 Mar 2006 17:59:06 -0800 committer David S. Miller Mon, 20 Mar 2006 17:59:06 -0800 [NETFILTER]: xt_tables: add centralized error checking Introduce new functions for common match/target checks (private data size, valid hooks, valid tables and valid protocols) to get more consistent error reporting and to avoid each module duplicating them. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6ea46c9c12da79ec6eead0cf4b3114143dd30bc1 tree ab5e54f8d365d5ae4645b72116cdf9a78a53249f parent f2ad52c9da2229d7f038d02139d21478b33b76b4 author Yasuyuki Kozakai Mon, 20 Mar 2006 17:58:44 -0800 committer David S. Miller Mon, 20 Mar 2006 17:58:44 -0800 [NETFILTER]: nf_conntrack: use ipv6_addr_equal in nf_ct_reasm Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f2ad52c9da2229d7f038d02139d21478b33b76b4 tree 8faeeb5dbd332e9bae28d12d6e54945d587db0fa parent 77ff72d528d5b9d30a47f42f364ba34d931f9da3 author Holger Eitzenberger Mon, 20 Mar 2006 17:58:21 -0800 committer David S. Miller Mon, 20 Mar 2006 17:58:21 -0800 [NETFILTER]: Fix CID offset bug in PPTP NAT helper debug message The recent (kernel 2.6.15.1) fix for PPTP NAT helper introduced a bug - which only appears if DEBUGP is enabled though. The calculation of the CID offset into a PPTP request struct is not correct, so that at least not the correct CID is displayed if DEBUGP is enabled. This patch corrects CID offset calculation and introduces a #define for that. Signed-off-by: Holger Eitzenberger Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 77ff72d528d5b9d30a47f42f364ba34d931f9da3 tree a222cdf545a9156da307d075f4645a235c030596 parent ba66c6e8b292997467128506f39fa6607e959050 author Andrea Bittau Mon, 20 Mar 2006 17:57:52 -0800 committer David S. Miller Mon, 20 Mar 2006 17:57:52 -0800 [DCCP] CCID2: Drop sock reference count on timer expiration and reset. There was a hybrid use of standard timers and sk_timers. This caused the reference count of the sock to be incorrect when resetting the RTO timer. The sock reference count should now be correct, enabling its destruction, and allowing the DCCP module to be unloaded. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo commit ba66c6e8b292997467128506f39fa6607e959050 tree d9c467ac7017b21b793442376080107b155c2afd parent dc808fe28db59fadf4ec32d53f62477fa28f3be8 author Ian McDonald Mon, 20 Mar 2006 17:56:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:56:56 -0800 [DCCP]: Set the default CCID according to kernel config selection Now CCID2 is the default, as stated in the RFC drafts, but we allow a config where just CCID3 is built, where CCID3 becomes the default. Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo commit dc808fe28db59fadf4ec32d53f62477fa28f3be8 tree 2d7033e5808a63d7fb1bddc452d1ec0b2f3d381a parent 0d36f37bb1e1cbadca6dc90a840bb2bc9ab51c44 author Harald Welte Mon, 20 Mar 2006 17:56:32 -0800 committer David S. Miller Mon, 20 Mar 2006 17:56:32 -0800 [NETFILTER] nf_conntrack: clean up to reduce size of 'struct nf_conn' This patch moves all helper related data fields of 'struct nf_conn' into a separate structure 'struct nf_conn_help'. This new structure is only present in conntrack entries for which we actually have a helper loaded. Also, this patch cleans up the nf_conntrack 'features' mechanism to resemble what the original idea was: Just glue the feature-specific data structures at the end of 'struct nf_conn', and explicitly re-calculate the pointer to it when needed rather than keeping pointers around. Saves 20 bytes per conntrack on my x86_64 box. A non-helped conntrack is 276 bytes. We still need to save another 20 bytes in order to fit into to target of 256bytes. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 0d36f37bb1e1cbadca6dc90a840bb2bc9ab51c44 tree 27856915643532cfa4346a4f4d95a92f11d5e009 parent 5d424d5a674f782d0659a3b66d951f412901faee author Michael Chan Mon, 20 Mar 2006 17:55:25 -0800 committer David S. Miller Mon, 20 Mar 2006 17:55:25 -0800 [BNX2]: include Include so that it compiles properly on all archs. Update version to 1.4.38. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 5d424d5a674f782d0659a3b66d951f412901faee tree 579871172044e02e626a90388d19ec55cf2d1fc4 parent 1d60290f27e7dc4bce2c43922d0bfa9abd246fc9 author John Heffner Mon, 20 Mar 2006 17:53:41 -0800 committer David S. Miller Mon, 20 Mar 2006 17:53:41 -0800 [TCP]: MTU probing Implementation of packetization layer path mtu discovery for TCP, based on the internet-draft currently found at . Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 1d60290f27e7dc4bce2c43922d0bfa9abd246fc9 tree fefe7222a552b8d54d2844fc4800c3a338ef356c parent 3fdfcc2c95ffc7ee04b480a4c1fd4809b5ff2f7c author Michael Chan Mon, 20 Mar 2006 17:50:08 -0800 committer David S. Miller Mon, 20 Mar 2006 17:50:08 -0800 [BNX2]: Update version Update version to 1.4.37. Add missing flush_scheduled_work() in bnx2_suspend as noted by Jeff Garzik. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 3fdfcc2c95ffc7ee04b480a4c1fd4809b5ff2f7c tree babe466f8679151b47f1da1b83377696ac134c05 parent 13daffa2f2ba65674e7816a0e95e7b93246cb686 author Michael Chan Mon, 20 Mar 2006 17:49:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:49 -0800 [BNX2]: Support larger rx ring sizes (part 2) Support bigger rx ring sizes (up to 1020) in the rx fast path. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 13daffa2f2ba65674e7816a0e95e7b93246cb686 tree 3170a19dfba530398d4f12e54a21400254fa98b1 parent 236b6394bb49ea58465c6f935a286d2342576f8d author Michael Chan Mon, 20 Mar 2006 17:49:20 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:20 -0800 [BNX2]: Support larger rx ring sizes (part 1) Increase maximum receive ring size from 255 to 1020 by supporting up to 4 linked pages of receive descriptors. To accomodate the higher memory usage, each physical descriptor page is allocated separately and the software ring that keeps track of the SKBs and the DMA addresses is allocated using vmalloc. Some of the receive-related fields in the bp structure are re- organized a bit for better locality of reference. The max. was reduced to 1020 from 4080 after discussion with David Miller. This patch contains ring init code changes only. This next patch contains rx data path code changes. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 236b6394bb49ea58465c6f935a286d2342576f8d tree e00c64b5dcb909e3e700021f6c2368af55f0641c parent 244ac4f446ac6a19caf5eb692c4844f29e6478bf author Michael Chan Mon, 20 Mar 2006 17:49:02 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:02 -0800 [BNX2]: Fix bug when rx ring is full Fix the rx code path that does not handle the full rx ring correctly. When the rx ring is set to the max. size (i.e. 255), the consumer and producer indices will be the same when completing an rx packet. Fix the rx code to handle this condition properly. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 244ac4f446ac6a19caf5eb692c4844f29e6478bf tree e181bcec9f657987b1a8c6a55af69ae5f5a81f0f parent 6b39777c5924b9db2406c5769a044da383782d0e author Michael Chan Mon, 20 Mar 2006 17:48:46 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:46 -0800 [BNX2]: Add ethtool -d support Add ETHTOOL_GREGS support. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 6b39777c5924b9db2406c5769a044da383782d0e tree 762d14bfd8ee734ae18c022b7a651ef1d73ee062 parent 2e2e4f5c996d577383c5cb584b153b39f4961155 author Michael Chan Mon, 20 Mar 2006 17:48:32 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:32 -0800 [BNX2]: Reduce register test size Eliminate some of the registers in ethtool register test to reduce driver size. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 2e2e4f5c996d577383c5cb584b153b39f4961155 tree 110fb5c1ffc2866dffc682a587174ffd25d0e193 parent bc1c756741b065cfebf850e4164c0e2aae9d527f author Michael Chan Mon, 20 Mar 2006 17:48:18 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:18 -0800 [TG3]: Update version and reldate Update version to 3.50. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit bc1c756741b065cfebf850e4164c0e2aae9d527f tree e462b85564a66b0c4f41e0d9f1ccde7c98ba00a9 parent 4e3a7aaa28db952392814f889dfbd25672266d29 author Michael Chan Mon, 20 Mar 2006 17:48:03 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:03 -0800 [TG3]: Support shutdown WoL. Support WoL during shutdown by calling tg3_set_power_state(tp, PCI_D3hot) during tg3_close(). Change the power state parameter to pci_power_t type and use constants defined in pci.h. Certain ethtool operations cannot be performed after tg3_close() because the device will go to low power state. Add return -EAGAIN in such cases where appropriate. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 4e3a7aaa28db952392814f889dfbd25672266d29 tree a82c9151a64951e8812b269dbb00b00b2f759ea3 parent d4d2c558fd3e1f5e386b153f194aa8f0be496c77 author Michael Chan Mon, 20 Mar 2006 17:47:44 -0800 committer David S. Miller Mon, 20 Mar 2006 17:47:44 -0800 [TG3]: Enable TSO by default Enable TSO by default on newer chips that support TSO in hardware. Leave TSO off by default on older chips that do firmware TSO because performance is slightly lower. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d4d2c558fd3e1f5e386b153f194aa8f0be496c77 tree 2cdabdb87525b94a5e80a993563538a64bec6d11 parent d15150f755bb468afe003d1afee0f45a2fc5eeeb author Michael Chan Mon, 20 Mar 2006 17:47:20 -0800 committer David S. Miller Mon, 20 Mar 2006 17:47:20 -0800 [TG3]: Add support for 5714S and 5715S Add support for 5714S and 5715S. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d15150f755bb468afe003d1afee0f45a2fc5eeeb tree 68ad3da556162faaf63a7958c7906d30f2cea142 parent 2b191befe2c47c2f6e96b836a1f6054c9cbc4a0b author Adrian Bunk Mon, 20 Mar 2006 17:46:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:46:56 -0800 [IPV4] fib_rules.c: make struct fib_rules static again struct fib_rules became global for no good reason. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 2b191befe2c47c2f6e96b836a1f6054c9cbc4a0b tree e777b858f0b41aadec308989c1ae01174b1c083f parent afe00251dd9b53d51de91ff0099961f42bbf3754 author Jesper Juhl Mon, 20 Mar 2006 17:46:29 -0800 committer David S. Miller Mon, 20 Mar 2006 17:46:29 -0800 [IPCOMP6]: don't check vfree() argument for NULL. vfree does it's own NULL checking, so checking a pointer before handing it to vfree is pointless. Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit afe00251dd9b53d51de91ff0099961f42bbf3754 tree a56aa987140662cf3e6e65be402b8591298c5ced parent 2a91aa3967398fb94eccc8da67c82bce9f67afdf author Andrea Bittau Mon, 20 Mar 2006 17:43:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:43:56 -0800 [DCCP]: Initial feature negotiation implementation Still needs more work, but boots and doesn't crashes, even does some negotiation! 18:38:52.174934 127.0.0.1.43458 > 127.0.0.1.5001: request 18:38:52.218526 127.0.0.1.5001 > 127.0.0.1.43458: response 18:38:52.185398 127.0.0.1.43458 > 127.0.0.1.5001: :-) Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 2a91aa3967398fb94eccc8da67c82bce9f67afdf tree 62bf003487121bc629919c85810df11e52016b8f parent aa5d7df3b20e0e493e90e1151510ab3ae8366bb5 author Andrea Bittau Mon, 20 Mar 2006 17:41:47 -0800 committer David S. Miller Mon, 20 Mar 2006 17:41:47 -0800 [DCCP] CCID2: Initial CCID2 (TCP-Like) implementation Original work by Andrea Bittau, Arnaldo Melo cleaned up and fixed several issues on the merge process. For now CCID2 was turned the default for all SOCK_DCCP connections, but this will be remedied soon with the merge of the feature negotiation code. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit aa5d7df3b20e0e493e90e1151510ab3ae8366bb5 tree 1decadd46dd3d3dd88c9e812c46293398a79d1ab parent 9833d6da00c95e8a471411fb079da6b25787b05e author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:35:13 -0800 committer David S. Miller Mon, 20 Mar 2006 17:35:13 -0800 [DCCP] CCID3: Set the no_feedback_timer fields near init_timer Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9833d6da00c95e8a471411fb079da6b25787b05e tree 0d76b97beb3587723ad318fe0713193ebccb9374 parent d5e9b2c737ecaedae66e3dffdd0d92d2a189ec5c author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:34:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:34:53 -0800 [DCCP]: Don't alloc ack vector for the control sock Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d5e9b2c737ecaedae66e3dffdd0d92d2a189ec5c tree 6858af7c1f4fd2388b7b83085a66c2dd39b12d5f parent 411447019ab583c659600b0519db5658a2444f11 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:20:46 -0800 committer David S. Miller Mon, 20 Mar 2006 17:20:46 -0800 [DCCP] ackvec: Delete all the ack vector records in dccp_ackvec_free Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 411447019ab583c659600b0519db5658a2444f11 tree 3bf3e7c655c91097cead92c65334a4ebbb51906e parent 02bcf28c82c8e4b72c4b89bddbbb6fea1a646d07 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:20:23 -0800 committer David S. Miller Mon, 20 Mar 2006 17:20:23 -0800 [DCCP] CCID: Allow ccid_{init,exit} to be NULL Testing if the ccid being instantiated has these methods in ccid_init(). Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 02bcf28c82c8e4b72c4b89bddbbb6fea1a646d07 tree d70435d97b3454dcafb6decd6defd603fdf10f82 parent e229c2fb3370a0c4ebac06cad67ce1cb35abcfe6 author Andrea Bittau Mon, 20 Mar 2006 17:19:55 -0800 committer David S. Miller Mon, 20 Mar 2006 17:19:55 -0800 [DCCP] ackvec: Introduce ack vector records Based on a patch by Andrea Bittau. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e229c2fb3370a0c4ebac06cad67ce1cb35abcfe6 tree fc7ceeeeea4397e06c6ee5cfb597ba0d441beeea parent 7b204afd45820fc21b5983205ad535c6b8088765 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:19:17 -0800 committer David S. Miller Mon, 20 Mar 2006 17:19:17 -0800 [LIST]: Introduce list_for_each_entry_from For iterating over list of given type continuing from existing point. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7b204afd45820fc21b5983205ad535c6b8088765 tree 4c81e006c51e7cf54a6969f6df71a3c45c2aa242 parent d8dcffee860d6b63996923b10f07c91d3d6c2fab author Robert Olsson Mon, 20 Mar 2006 17:18:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:18:53 -0800 [IPV4]: Use RCU locking in fib_rules. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit d8dcffee860d6b63996923b10f07c91d3d6c2fab tree a4b73c0d435b329f8522c380b22d9d4204a03f97 parent 9b07ef5ddaced1e822b1a1fb1da088eb15c45cb4 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:18:05 -0800 committer David S. Miller Mon, 20 Mar 2006 17:18:05 -0800 [LIST]: Introduce list_for_each_entry_safe_from For iterate over list of given type from existing point safe against removal of list entry. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9b07ef5ddaced1e822b1a1fb1da088eb15c45cb4 tree 57a33bb4ed32384a95e2c23d7039e8ed99c5b595 parent fa23e2ecd30a584cdcb9b3de0149dbb5c073c20b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:16:17 -0800 committer David S. Miller Mon, 20 Mar 2006 17:16:17 -0800 [DCCP] ackvec: Introduce dccp_ackvec_slab Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fa23e2ecd30a584cdcb9b3de0149dbb5c073c20b tree 85fb7814b8e5dc7812b353161d06066bc593b79a parent 7400d781105d18bf5bba89f8b986a413f14144a8 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:16:01 -0800 committer David S. Miller Mon, 20 Mar 2006 17:16:01 -0800 [DCCP]: Fix error handling in dccp_init Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7400d781105d18bf5bba89f8b986a413f14144a8 tree 39bba6735fa99c5b2aa755b81c0cebc0ac901931 parent 0af5f6c1eba4a18e6b2ed518b589927d778c6c16 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:15:42 -0800 committer David S. Miller Mon, 20 Mar 2006 17:15:42 -0800 [DCCP] ackvec: Ditch dccpav_buf_len Simplifying the code a bit as we're always using DCCP_MAX_ACKVEC_LEN. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0af5f6c1eba4a18e6b2ed518b589927d778c6c16 tree ea905a47e7ce2dc2d5076076edc0bf641cf3691c parent 5ee956125a780baf15f2c1d09f2cbf8adcf598fe author Harald Welte Mon, 20 Mar 2006 17:15:11 -0800 committer David S. Miller Mon, 20 Mar 2006 17:15:11 -0800 [NETFILTER] nfnetlink_log: add sequence numbers for log events By using a sequence number for every logged netfilter event, we can determine from userspace whether logging information was lots somewhere downstream. The user has a choice of either having per-instance local sequence counters, or using a global sequence counter, or both. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 5ee956125a780baf15f2c1d09f2cbf8adcf598fe tree 195cfcef58dbd87c1cad337be08e69a8977d9224 parent 39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4 author Harald Welte Mon, 20 Mar 2006 17:14:12 -0800 committer David S. Miller Mon, 20 Mar 2006 17:14:12 -0800 [NETFILTER] NAT sequence adjustment: Save eight bytes per conntrack This patch reduces the size of 'struct ip_conntrack' on systems with NAT by eight bytes. The sequence number delta values can be int16_t, since we only support one sequence number modification per window anyway, and one such modification is not going to exceed 32kB ;) Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4 tree e604ee025c6711caca1bf6ec2a406197bf5be843 parent 77d2ca350018c507815f5d38a40ffb597eb9ae25 author David S. Miller Mon, 20 Mar 2006 17:13:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:13:49 -0800 [NET]: Do not lose accepted socket when -ENFILE/-EMFILE. Try to allocate the struct file and an unused file descriptor before we try to pull a newly accepted socket out of the protocol layer. Based upon a patch by Prassana Meda. Signed-off-by: David S. Miller commit 77d2ca350018c507815f5d38a40ffb597eb9ae25 tree b4c9ec7f0cc4accc2f9361d36d9a318fb1d9da50 parent ddd7bf9fe4e59afc0a041378f82b6e1aa88f714b author Patrick McHardy Mon, 20 Mar 2006 17:12:12 -0800 committer David S. Miller Mon, 20 Mar 2006 17:12:12 -0800 [NET]: Reduce size of struct sk_buff on 64 bit architectures Move skb->nf_mark next to skb->tc_index to remove a 4 byte hole between skb->nfmark and skb->nfct and another one between skb->users and skb->head when CONFIG_NETFILTER, CONFIG_NET_SCHED and CONFIG_NET_CLS_ACT are enabled. For all other combinations the size stays the same. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ddd7bf9fe4e59afc0a041378f82b6e1aa88f714b tree 98764adba1bae7d128d2e7db7d9fc1e2fe5826d8 parent b00055aacdb172c05067612278ba27265fcd05ce author Stefan Rompf Mon, 20 Mar 2006 17:11:41 -0800 committer David S. Miller Mon, 20 Mar 2006 17:11:41 -0800 [VLAN]: translate IF_OPER_DORMANT to netif_dormant_on() this patch adds support to the VLAN driver to translate IF_OPER_DORMANT of the underlying device to netif_dormant_on(). Beside clean state forwarding, this allows running independant userspace supplicants on both the real device and the stacked VLAN. It depends on my RFC2863 patch. Signed-off-by: Stefan Rompf Signed-off-by: David S. Miller commit b00055aacdb172c05067612278ba27265fcd05ce tree 4dbbee11b02d54cc0978113dfb07c53fdce17aa8 parent e843b9e1bec4a953d848a319da6a18ca5c667f55 author Stefan Rompf Mon, 20 Mar 2006 17:09:11 -0800 committer David S. Miller Mon, 20 Mar 2006 17:09:11 -0800 [NET] core: add RFC2863 operstate this patch adds a dormant flag to network devices, RFC2863 operstate derived from these flags and possibility for userspace interaction. It allows drivers to signal that a device is unusable for user traffic without disabling queueing (and therefore the possibility for protocol establishment traffic to flow) and a userspace supplicant (WPA, 802.1X) to mark a device unusable without changes to the driver. It is the result of our long discussion. However I must admit that it represents what Jamal and I agreed on with compromises towards Krzysztof, but Thomas and Krzysztof still disagree with some parts. Anyway I think it should be applied. Signed-off-by: Stefan Rompf Signed-off-by: David S. Miller commit e843b9e1bec4a953d848a319da6a18ca5c667f55 tree d16508cfd5cafa68eef4b635d2238db37c810201 parent 09c884d4c3b45cda904c2291d4723074ff523611 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:07:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:07:49 -0800 [IPV6]: ROUTE: Ensure to accept redirects from nexthop for the target. It is possible to get redirects from nexthop of "more-specific" routes. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 09c884d4c3b45cda904c2291d4723074ff523611 tree 90b893f1b83165d7088ecdead94085969e0a58ef parent e317da96227cef28a137e2d1ad790b23e518dd2b author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:07:03 -0800 committer David S. Miller Mon, 20 Mar 2006 17:07:03 -0800 [IPV6]: ROUTE: Add accept_ra_rt_info_max_plen sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e317da96227cef28a137e2d1ad790b23e518dd2b tree dfe27f9855eb80cacb381ed3012acdb4a4d9fd11 parent 70ceb4f53929f73746be72f73707cd9f8753e2fc author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:06:42 -0800 committer David S. Miller Mon, 20 Mar 2006 17:06:42 -0800 [IPV6]: ROUTE: Flag RTF_DEFAULT for Route Infomation for ::/0. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 70ceb4f53929f73746be72f73707cd9f8753e2fc tree e562929b0c800b0243e203587065e05323baba59 parent 52e1635631b342803aecaf81a362c1464e3da2e5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:06:24 -0800 committer David S. Miller Mon, 20 Mar 2006 17:06:24 -0800 [IPV6]: ROUTE: Add experimental support for Route Information Option in RA (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 52e1635631b342803aecaf81a362c1464e3da2e5 tree 971c40743f7fcb594697dd18d22e2d8b168d1785 parent 930d6ff2e2a5f1538448d3b0b2652a8f0c0f6cba author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:47 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:47 -0800 [IPV6]: ROUTE: Add router_probe_interval sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 930d6ff2e2a5f1538448d3b0b2652a8f0c0f6cba tree 0ea6ca2d6d04c13bf05100a70a4a21d7cd6eeb82 parent 270972554c91acd29412d8b6a10e606041012106 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:30 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:30 -0800 [IPV6]: ROUTE: Add accept_ra_rtr_pref sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 270972554c91acd29412d8b6a10e606041012106 tree 1d8f563c5c79ccd805d3ab8c5acfe1ceb73b08db parent ebacaaa0fdf4402cdf4c8e569f54af36b6f0aa2d author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:13 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:13 -0800 [IPV6]: ROUTE: Add Router Reachability Probing (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit ebacaaa0fdf4402cdf4c8e569f54af36b6f0aa2d tree 5d1cc0c6d94b5226507434bb86e6e2a69fdd4204 parent 8238dd0698b480e432acd955c45f9f907b8d27de author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:04:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:04:53 -0800 [IPV6]: ROUTE: Add support for Router Preference (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 8238dd0698b480e432acd955c45f9f907b8d27de tree eafb3c6dd86a383e4369cf24dbec295b86050031 parent bb133964e036c4aaf773244468d589c024e7b399 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:04:35 -0800 committer David S. Miller Mon, 20 Mar 2006 17:04:35 -0800 [IPV6]: ROUTE: Handle finding the next best route in reachability in BACKTRACK(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit bb133964e036c4aaf773244468d589c024e7b399 tree 89ea37ebe290855fab314358f8ad32223e569fba parent 1ddef044ed9dd6c7c23562d1140522e28de888a5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:43 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:43 -0800 [IPV6]: ROUTE: Try finding the next best route. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 1ddef044ed9dd6c7c23562d1140522e28de888a5 tree 22b288e5be9e258e75f131760a689064ee63ecd0 parent 118f8c1654b8f2e79fa0eb8b2d84283ab62a5498 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:24 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:24 -0800 [IPV6]: ROUTE: Clean up rt6_select() code path in ip6_route_{intput,output}(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 118f8c1654b8f2e79fa0eb8b2d84283ab62a5498 tree 50520da4c8ea580408b04d4e6ecd95c766c90d78 parent 045927ff84c340da5442543e87be988fcde5a283 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:06 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:06 -0800 [IPV6]: ROUTE: Try selecting better route for non-default routes as well. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 045927ff84c340da5442543e87be988fcde5a283 tree fc8d51e6fc9a17915c6eeca727aa64952f67002c parent 554cfb7ee5d4f2d0edb280e66e4a2db1906a8300 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:48 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:48 -0800 [IPV6]: ROUTE: More strict check for default routers in rt6_get_dflt_router(). Check RTF_ADDRCONF|RTF_DEFAULT in rt6_get_dflt_router(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 554cfb7ee5d4f2d0edb280e66e4a2db1906a8300 tree 586bca2143a23157ac2619b1c211144662ddf8f3 parent 519fbd8715ce6413ec8e122bf02f09b0e49d3ca5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:26 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:26 -0800 [IPV6]: ROUTE: Eliminate lock for default route pointer. And prepare for more advanced router selection. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 519fbd8715ce6413ec8e122bf02f09b0e49d3ca5 tree fc5d83e8beb12dc74b9f83897ec227b4837dca96 parent e40cf3533c712b941d4c8ebb3eca892d55c32c34 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:05 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:05 -0800 [IPV6]: ROUTE: Clean-up cow'ing in ip6_route_{intput,output}(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e40cf3533c712b941d4c8ebb3eca892d55c32c34 tree c70e06da96263fdcb908ef9d654a69d33cb52ff1 parent fb9de91ea8035b99757d9f8a04aa058c982c361b author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:59:27 -0800 committer David S. Miller Mon, 20 Mar 2006 16:59:27 -0800 [IPV6]: ROUTE: Convert rt6_cow() to rt6_alloc_cow(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit fb9de91ea8035b99757d9f8a04aa058c982c361b tree b488041038178a407d2f413838677c226da35607 parent d5315b500b68ea921fe05fe2cbc06bcae90ff615 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:59:08 -0800 committer David S. Miller Mon, 20 Mar 2006 16:59:08 -0800 [IPV6]: ROUTE: Clean up reference counting / unlocking for returning object. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit d5315b500b68ea921fe05fe2cbc06bcae90ff615 tree c3d063529dd6b41c81e4499e8bbd095e0c0833e9 parent 299d9939089126f764090a202f2d6c69934bcf66 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:58:48 -0800 committer David S. Miller Mon, 20 Mar 2006 16:58:48 -0800 [IPV6]: ROUTE: Unify two code paths for pmtu disc. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 299d9939089126f764090a202f2d6c69934bcf66 tree 935527062a094537c66a82808e86a806abed4608 parent 76f9edd17d90e11ef04d20fe457dd172fe8157a6 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:58:32 -0800 committer David S. Miller Mon, 20 Mar 2006 16:58:32 -0800 [IPV6]: ROUTE: Add rt6_alloc_clone() for cloning route allocation. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 76f9edd17d90e11ef04d20fe457dd172fe8157a6 tree 96226496033036fd26eb27393b0ca4d17274fb61 parent a1e783634a64d002c58391cf8150fcb80856a4fe author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:56:50 -0800 committer David S. Miller Mon, 20 Mar 2006 16:56:50 -0800 [IPV6]: ROUTE: Copy u.dst.error for RTF_REJECT routes when cloning. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit a1e783634a64d002c58391cf8150fcb80856a4fe tree 0dab259fd401c90b320dbc1832385315b1742f25 parent 95a9a5ba0219a4d4237fb39703bfa58626c6fe72 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:56:32 -0800 committer David S. Miller Mon, 20 Mar 2006 16:56:32 -0800 [IPV6]: ROUTE: Set appropriate information before inserting a route. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 95a9a5ba0219a4d4237fb39703bfa58626c6fe72 tree 005fb501c7561e3028ae7a3865dd2afc16c59fc2 parent c4fd30eb18666972230689eb30e8f90844bce635 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:51 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:51 -0800 [IPV6]: ROUTE: Split up rt6_cow() for future changes. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit c4fd30eb18666972230689eb30e8f90844bce635 tree f1b8daddeb21d7d1390fa1ae820bf2b5ffa8d276 parent 65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:26 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:26 -0800 [IPV6]: ADDRCONF: Add accept_ra_pinfo sysctl. This controls whether we accept Prefix Information in RAs. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 tree fb61c9f73577a7fec29b11039d1434b972796d8b parent 073a8e0e154c1c440e0b33aaa887473d5cc843f4 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:08 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:08 -0800 [IPV6]: ROUTE: Add accept_ra_defrtr sysctl. This controls whether we accept default router information in RAs. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 073a8e0e154c1c440e0b33aaa887473d5cc843f4 tree eb7983e9977b153c3ee67864aca9cc5fedba8194 parent 955189efb44742890f33c91df478877af25246da author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:54:49 -0800 committer David S. Miller Mon, 20 Mar 2006 16:54:49 -0800 [IPV6]: ADDRCONF: Split up ipv6_generate_eui64() by device type. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 955189efb44742890f33c91df478877af25246da tree 7e98451f91422ad33bc8f4df62cb8166317b9796 parent 955aaa2fe39e21e49521449c09548ce1ba501010 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:54:09 -0800 committer David S. Miller Mon, 20 Mar 2006 16:54:09 -0800 [IPV6]: ADDRCONF: Use our standard algorithm for randomized ifid. RFC 3041 describes an algorithm to generate random interface identifier. In RFC 3041bis, it is allowed to use different algorithm than one described in RFC 3041. So, let's use our standard pseudo random algorithm to simplify our implementation. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 955aaa2fe39e21e49521449c09548ce1ba501010 tree e067beca9678350ad0f209d7406f3dcfa43394fd parent 74a3a0ed9096ba9feffc7e44f2a2c37d968bc6d1 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:52:52 -0800 committer David S. Miller Mon, 20 Mar 2006 16:52:52 -0800 [NET]: NEIGHBOUR: Ensure to record time to neigh->updated when neighbour's state changed. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 74a3a0ed9096ba9feffc7e44f2a2c37d968bc6d1 tree 932bfb5e207cb91a1a87f45c26010dd9f7d804fb parent c4a1745aa09fc110afdefea0e5d025043e348bae author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:51:48 -0800 committer David S. Miller Mon, 20 Mar 2006 16:51:48 -0800 [IPV6]: TUNNEL6: Don't try to add multicast route twice. Since addrconf_add_dev() has already called addrconf_add_mroute() to added route for multicast prefix, there's no point to call it again in addrconf_ip6_tnl_config(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit cd85f6e2f58282186ad720fc18482be228f0b972 tree 3722bbb4fc19a7ce41178a8c08d36b803610b03e parent 29b2548bf53ffb810394a2110161ef49f8e4780f author Jeff Garzik Mon, 20 Mar 2006 19:49:54 -0500 committer Jeff Garzik Mon, 20 Mar 2006 19:49:54 -0500 [libata] sata_mv: fix irq port status usage Interrupt handler did not properly initialize a variable on a per-port basis, leading to incorrect behavior on ports other than port 0. Bug caught and fixed by Mark Lord. Signed-off-by: Jeff Garzik commit 7a1218a277c45cba1fb8d7089407a1769c645c43 tree c59634979c53606696993ef06297045015791d6e parent 43ac3f2961b8616da26114ec6dc76ac2a61f76ad author Trond Myklebust Mon, 20 Mar 2006 18:11:10 -0500 committer Trond Myklebust Mon, 20 Mar 2006 18:11:10 -0500 SUNRPC: Ensure rpc_call_async() always calls tk_ops->rpc_release() Currently this will not happen if we exit before rpc_new_task() was called. Also fix up rpc_run_task() to do the same (for consistency). Signed-off-by: Trond Myklebust commit 71a8924bee63d891f6256d560e32416a458440b3 tree 2c70a36dc689f01bb28dc3e850113ab0a49c3c95 parent e9a66c64bb7033cb0180d419b2008acf7a141adc author Greg Kroah-Hartman Mon, 20 Mar 2006 17:28:39 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB: omninet: fix up debugging comments Signed-off-by: Greg Kroah-Hartman commit e9a66c64bb7033cb0180d419b2008acf7a141adc tree f5adde064f836c753ec4ae471540dbf539c22802 parent da81817fbd744ce70983f1d3c61841265003c7f4 author Greg Kroah-Hartman Fri, 17 Mar 2006 17:40:08 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB serial: add navman driver Thanks to Warren Lewis for the information needed to write the driver and for testing it out. Signed-off-by: Greg Kroah-Hartman commit da81817fbd744ce70983f1d3c61841265003c7f4 tree 6df199268afd7293c86bc06699db11644b5bddfd parent 09abfa8048de8e68eaa09eb07ac18f2d549dfe58 author Eugene Teo Wed, 15 Mar 2006 14:57:19 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB: Fix irda-usb use after use Don't read from free'd memory after calling netif_rx(). docopy is used as a boolean (0 and 1) so unsigned int is sufficient. Coverity bug #928 Signed-off-by: Eugene Teo Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 09abfa8048de8e68eaa09eb07ac18f2d549dfe58 tree e77d50458954873e91c3a4ea1bf2be2a27e36257 parent bf58fbd5e86a43466e638407ff8a4eb7766a3b68 author Petko Manolov Wed, 15 Mar 2006 16:29:38 +0200 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: rtl8150 small fix This one is about announcing the device registration after the last check has been made. From: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit bf58fbd5e86a43466e638407ff8a4eb7766a3b68 tree 5f7910e45218b8b32ee11d84a90ab72376ba157d parent 59224f5352542b968c41200954e56c26c4f0a075 author A. Maitland Bottoms Tue, 14 Mar 2006 18:44:23 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: ftdi_sio: add Icom ID1 USB product and vendor ids The Icom ID-1 1.2 GHz band digital transceiver is a new radio that has a USB interface. With this patch, the ftdi_sio driver will report "Detected FT8U232AM" and provide a serial device interface. Signed-off-by: "A. Maitland Bottoms" Signed-off-by: Greg Kroah-Hartman commit 59224f5352542b968c41200954e56c26c4f0a075 tree 27c66d0a03c4232d8d89c6a3784f84c7bab7c99f parent 24f8b116c45e46779dec553f934c3d74f79c06fb author Craig Shelley Sat, 11 Mar 2006 11:29:02 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: cp2101: add new device IDs This patch adds a new device ID to the cp2101 driver Signed-off-by: Craig Shelley Signed-off-by: Greg Kroah-Hartman commit 24f8b116c45e46779dec553f934c3d74f79c06fb tree cc6c86511c5b98b702fa86e857a2359dacdebab2 parent f88f8295d8a9229fc8b647baf4f15959384d7bb7 author Horst Schirmeier Sat, 11 Mar 2006 00:16:55 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: fix check_ctrlrecip to allow control transfers in state ADDRESS check_ctrlrecip() disallows any control transfers if the device is deconfigured (in configuration 0, ie. state ADDRESS). This for example makes it impossible to read the device descriptors without configuring the device, although most standard device requests are allowed in this state by the spec. This patch allows control transfers for the ADDRESS state, too. Signed-off-by: Horst Schirmeier Cc: Alan Stern Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit f88f8295d8a9229fc8b647baf4f15959384d7bb7 tree 6d8ad61b935f9dd9d7ef0ce40898bd7df96476d0 parent 6e0755a4b2a41a8cd5839db69532d07262294b41 author Adrian Bunk Fri, 10 Mar 2006 23:25:06 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: vicam.c: fix a NULL pointer dereference This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 6e0755a4b2a41a8cd5839db69532d07262294b41 tree e180c082ba1b05f525a90ee6f1ea51543f710a5d parent 2e56222ed52cec40427fa89f23b228232e3e327e author Luca Risolia Fri, 03 Mar 2006 09:58:39 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: ZC0301 driver bugfix ZC0301 driver bugfix. Use correct PID/VID USB entries. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 2e56222ed52cec40427fa89f23b228232e3e327e tree 353d9cb1b95b801c881e35c877b55f35e65f3505 parent 9d5847bc1a3977fbfb4057aad41458df89792309 author Wolfgang Rohdewald Wed, 08 Mar 2006 16:59:44 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: add support for Creativelabs Silvercrest USB keyboard Signed-off-by: Wolfgang Rohdewald Signed-off-by: Greg Kroah-Hartman commit 9d5847bc1a3977fbfb4057aad41458df89792309 tree 2590c13cc86d228b14e54c6354c525869e6358be parent 23b7885d50c5f5fe6dca93d4b0913f6e7b878dad author Rodolfo Quesada Mon, 06 Mar 2006 10:45:42 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: new unusual_devs.h entry: Mitsumi 7in1 Card Reader This patch (as661) adds an unusual_devs entry for the Mitsumi 7in1 Card Reader. From: Rodolfo Quesada Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 23b7885d50c5f5fe6dca93d4b0913f6e7b878dad tree f3c470635bfd1169fa479546e6677d440e733fb8 parent c713c973fb4bfdb22cce488cca4f9f8006ed58ce author Pete Zaitcev Sun, 05 Mar 2006 21:45:44 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: unusual_devs.h entry 0420:0001 Ref https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176584 Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit c713c973fb4bfdb22cce488cca4f9f8006ed58ce tree 591efd2505869744112d532f115daccca853581b parent 1e7a5a84e407dfa20813a7f55413be8193ee5380 author Pete Zaitcev Sun, 05 Mar 2006 21:43:40 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: another unusual_devs.h entry Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 1e7a5a84e407dfa20813a7f55413be8193ee5380 tree f0847f4157b922e185e7b4953a2557c62270bf09 parent b712548c5d88f2e4672f8482c3904e8c5728dbf1 author Phil Dibowitz Sun, 05 Mar 2006 21:36:51 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: sandisk unusual_devices entry The following adds an unusual_devs entry for the SanDisk ImageMate CompactFlash USB drive, for the US_FL_FIX_CAPACITY flag. Additionally, it removes trailing whitespace from the previous entry. It's based on the patch sent by Roman Hodek . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit b712548c5d88f2e4672f8482c3904e8c5728dbf1 tree fcbfc07f2c753dbd931ee22ec0e0155a7819d5a2 parent f48219db93eaee644e9fd9f22fb6421f38059cc5 author Greg Kroah-Hartman Fri, 17 Mar 2006 17:40:08 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: fix initdata issue in isp116x-hcd As found by Sam's scripts. Cc: Sam Ravnborg Cc: David Brownell Signed-off-by: Greg Kroah-Hartman commit f48219db93eaee644e9fd9f22fb6421f38059cc5 tree df29efdc95c79a57ff31b7d768c739da0e8ba6bc parent 6aa35675bbc370e5f11baae7e01a9ab255d8030c author Horst Schirmeier Thu, 09 Mar 2006 14:10:49 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) When trying to deconfigure a device via usb_set_configuration(dev, 0), 2.6.16-rc kernels after 55c527187c9d78f840b284d596a0b298bc1493af oops with "Unable to handle NULL pointer dereference at...". This is due to an unchecked dereference of cp in the power budget part. Signed-off-by: Horst Schirmeier Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6aa35675bbc370e5f11baae7e01a9ab255d8030c tree f42b4adac70483f90bcb3c4de9c4d5db964cf43a parent 11a223ae3b86b94391774512e5671600367a305c author Alan Stern Wed, 08 Mar 2006 15:14:09 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces In a couple of places, usbcore assumes that a USB device configuration will have a nonzero number of interfaces. Having no interfaces may or may not be allowed by the USB spec; in any event we shouldn't die if we encounter such a thing. This patch (as662) removes the assumptions. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 11a223ae3b86b94391774512e5671600367a305c tree e9aca74eb4127e6f3fc0646f7fd64cc224263756 parent 952ba222962bf3fb1336f139f1049030153cae55 author Pete Zaitcev Thu, 02 Mar 2006 16:53:00 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 03 drop stall clearing Matt mentioned that a very old ZIP-100 actually does need this, but I am yet to see anyone who actually has one still working and uses ub with it. He/she must be a retrocomputing geek, who can easily bias it to usb-storage with libusual, if needed. Meanwhile, common folks have trouble with poorly designed USB keys and some el-cheapo European music players. I think we better drop this for now. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 952ba222962bf3fb1336f139f1049030153cae55 tree e795fb8717b42fe7761829fb94fc02e2d562eb63 parent 4d69581929b8f8836f806bcc320b19ed886e9517 author Pete Zaitcev Thu, 02 Mar 2006 16:42:59 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 02 remove diag Remove the "diag" file from the sysfs. The usbmon is good enough these days so I do not need this feature anymore. Also, sysfs is a pain. Al Viro caught a race in this, which I thought too bothersome to fix. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 4d69581929b8f8836f806bcc320b19ed886e9517 tree bc25e86dd34b8c164a62ad47d9d04b470e27b59a parent ae55717584431761b70215d3d574c13fe97093f2 author Pete Zaitcev Thu, 02 Mar 2006 16:36:09 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 01 remove first_open The first_open was long overdue for removal, but I wanted to keep this separate for other changes in case of regressions. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit ae55717584431761b70215d3d574c13fe97093f2 tree adbda118e9f5c8e0179b07e3cfa714f08405f8bb parent 491b04ce1c9adfa0cd73f095086f3c37da81b667 author Alan Stern Tue, 28 Feb 2006 10:16:12 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: UHCI: Increase port-reset completion delay for HP controllers This patch (as657) increases the port-reset completion delay in uhci-hcd for HP's embedded controllers. Unlike other UHCI controllers, the HP chips can take as long as 250 us to carry out the processing associated with finishing a port reset. This fixes Novell bug #148761. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 491b04ce1c9adfa0cd73f095086f3c37da81b667 tree fb5aaee71d28c3f950055129f2c92a1755f61bda parent 96050b11f690878c19c1cd39970ab7325d91e18b author Dick Streefland Wed, 01 Mar 2006 00:53:33 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: support for USB-to-serial cable from Speed Dragon Multimedia The USB data cable for my Samsung GSM phone contains the USB-to-serial converter chip MS3303H from Speed Dragon Multimedia, Inc. that appears to be compatible with the PL2303 chip. The following patch adds support for this chip to the pl2303 driver. Signed-off-by: Dick Streefland Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 96050b11f690878c19c1cd39970ab7325d91e18b tree b89853fd019eb3c0ded4dfbe612a816cc90346d5 parent a5c44e29e5637b5e6fe59d225eb4f438688b3849 author Julian Bradfield Wed, 01 Mar 2006 10:19:44 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: PL2303 and TIOCMIWAIT A while ago, I posted about TIOCMIWAIT not working with the PL2303 USB-serial adapter. After a brief exchange with Greg, I tracked this to a missing wake-up in the USB interrupt procedures. I got our systems staff to install the enclosed very simple patch to our 2.6.12 kernels, and it all works fine as expected. I guess this should also apply to the latest version and go into the mainstream. Apologies for the long delay in posting the result. The routine being patched is pl2303_update_line_status Signed-off-by: Julian Bradfield Signed-off-by: Greg Kroah-Hartman commit a5c44e29e5637b5e6fe59d225eb4f438688b3849 tree 1a39af521d6be62c57f1bc39083a95aaf6eac67d parent a847423905c6a8ccd6671d05f5877d893d10cd9f author Lonnie Mendez Wed, 01 Mar 2006 10:45:24 -0600 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable This patch adds support for the Nokia ca42 version 2 cable to the cypress_m8 driver. The device was tested by others with this patch and found to be compatible with the cypress_m8 driver. A special note should be taken that this cable seems to vary in the type of chipset used. This patch supports the cable with product id 0x4101. Signed-off-by: Lonnie Mendez Signed-off-by: Greg Kroah-Hartman commit a847423905c6a8ccd6671d05f5877d893d10cd9f tree ca7a67a3f37889bf7c612d246fa5173dfbef320a parent ccad7789d5e557644d1c866b018394872af0ec5b author Luca Risolia Sat, 25 Feb 2006 06:57:49 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ZC0301 driver updates ZC0301 driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Need usb_get|put_dev() when disconnecting, if the device is open * Cleanups and updates in the documentation + Use per-device sensor structures + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit ccad7789d5e557644d1c866b018394872af0ec5b tree c3894cc5b75fe11b4db85229927591387aa332a8 parent 2ffab02fea5880da284dc5511479b25a796a8dee author Luca Risolia Sat, 25 Feb 2006 06:54:18 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: ET61X[12]51 driver updates USB: ET61X[12]51 driver updates Changes: + new, - removed, * cleanup, @ bugfix @ Fix stream_interrupt() @ Fix vidioc_enum_input() and split vidioc_gs_input() @ Need usb_get|put_dev() when disconnecting, if the device is open * Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames * replace wake_up_interruptible(&wait_stream) with wake_up(&wait_stream) * Cleanups and updates in the documentation * Use mutexes instead of semaphores + Use per-device sensor structures + Add support for PAS202BCA image sensors + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 2ffab02fea5880da284dc5511479b25a796a8dee tree b94481244ae823598d06cd72472b9c76e9639bd1 parent 7039f4224d4e40b06308d5c1a97427af1a142459 author Luca Risolia Sat, 25 Feb 2006 06:50:47 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: SN9C10x driver updates SN9C10x driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Fix stream_interrupt() @ Fix vidioc_enum_input() and split vidioc_gs_input() @ Need usb_get|put_dev() when disconnecting, if the device is open * Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames * replace wake_up_interruptible(&wait_stream) with wake_up(&wait_stream) * Cleanups and updates in the documentation + Use per-device sensor structures + Add support for PAS202BCA image sensors + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 7039f4224d4e40b06308d5c1a97427af1a142459 tree 4529171195b1008e8615bb4b39a129ddda463b16 parent 80b6ca48321974a6566a1c9048ba34f60420bca6 author Eric Sesterhenn Mon, 27 Feb 2006 13:34:10 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: kzalloc() conversion in drivers/usb/gadget this patch converts drivers/usb to kzalloc usage. Compile tested with allyes config. I think there was a bug in drivers/usb/gadget/inode.c because it used sizeof(*data) for the kmalloc() and sizeof(data) for the memset(), since sizeof(data) just returns the size for a pointer. Signed-off-by: Eric Sesterhenn Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 80b6ca48321974a6566a1c9048ba34f60420bca6 tree a350e3cf6b794081c13c89d5b1913b2c1207570d parent d54a5cb6484705f7808b337917cc7598f2f971c3 author Eric Sesterhenn Mon, 27 Feb 2006 21:29:43 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: kzalloc() conversion for rest of drivers/usb Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit d54a5cb6484705f7808b337917cc7598f2f971c3 tree 519c06b06f5173d6968c47db0548082a7056129b parent 9e47a52bf36fa4a24f56f878f4ca57eb885c78dd author Luca Risolia Wed, 08 Feb 2006 00:50:59 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: CREDITS: Add credits about the ZC0301 and ET61X[12]51 USB drivers This patch adds credits about the ZC0301 and ET61X[12]51 USB drivers which have been included in the mainline kernel recently. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 9e47a52bf36fa4a24f56f878f4ca57eb885c78dd tree 366b55f9a85f80d3bd2877d498d0fae2034419b1 parent addf36fec058691f7ba4f95b5487d140f4a86f5a author Luca Risolia Wed, 08 Feb 2006 00:05:27 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: ZC0301 driver updates "Cosmetic" driver updates for the ZC0301 driver: - Fix stream_interrupt() (and work around a possible kernel bug); - Fix vidioc_enum_input() and split vidioc_gs_input() in two parts; - Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames; - replace erroneous wake_up_interruptible(&wait_stream) with wake_up(&wait_stream); - Cosmetic cleanups in the documentation. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit addf36fec058691f7ba4f95b5487d140f4a86f5a tree ae9093018c1bc2fc963ea564ecb0c02a9ea4f58c parent 1afc64a3d68174fe524f11d92e045a30eacc927e author Matthew Martin Wed, 15 Feb 2006 15:41:25 -0600 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: Fix warning in drivers/usb/media/ov511.c Gcc 4.0.2 had the warning: drivers/usb/media/ov511.c: In function 'show_exposure': drivers/usb/media/ov511.c:5642: warning: 'exp' may be used uninitialized in this function Here is the patch to fix that warning. Signed-off-by: Matthew Martin Signed-off-by: Greg Kroah-Hartman commit 1afc64a3d68174fe524f11d92e045a30eacc927e tree 04b9889b1a606b27ed9d91923f09031ef566ab73 parent 329af28b141ab4ae847aff1362864c4cc332641f author Aras Vaichas Sat, 18 Feb 2006 12:31:23 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: ethernet gadget driver section fixups This patch allows you to set the iSerialNumber field in the usb_device_descriptor structure for your USB ethernet gadget. It also changes the parameters shown through sysfs so they're no longer declared as __initdata, preventing potential oopses. That's most useful for the Ethernet addresses, which may in some cases be random "locally administered" addresses. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 329af28b141ab4ae847aff1362864c4cc332641f tree c4871a6065ed635998204efef0a63fda8c3dbfcc parent 43c5d5aaafef56618a6efbcab7f91615da1a8659 author David Brownell Sat, 18 Feb 2006 12:31:05 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: gadget driver section fixups This adds __init section annotations to gadget driver bind() routines to remove calls from .text into .init sections (for endpoint autoconfig). Likewise it adds __exit section annotations to their unbind() routines. The specification of the gadget driver register/unregister functions is updated to explicitly allow use of those sections. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 43c5d5aaafef56618a6efbcab7f91615da1a8659 tree f3b0203e803b4b03a976cd3c8cb4d02f974e0f87 parent 6a8e87b23ff4a979bde5451a242466a4b3f9fe7d author Alan Stern Wed, 01 Feb 2006 10:47:11 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] usbcore: fix compile error with CONFIG_USB_SUSPEND=n This patch (as647) fixes a small error introduced by a recent change to the USB core suspend/resume code. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6a8e87b23ff4a979bde5451a242466a4b3f9fe7d tree 3b3da90cdf42c363fbd6270c58dd21811b8e3004 parent 1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f author Alan Stern Thu, 19 Jan 2006 10:46:27 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB core and HCDs: don't put_device while atomic This patch (as640) removes several put_device and the corresponding get_device calls from the USB core and HCDs. Some of the puts were done in atomic contexts, and none of them are needed since the core now guarantees that every endpoint will be disabled and every URB completed before a USB device is released. Signed-off-by: Alan Stern Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f tree da25ea484bed1ce0f9ff3e2d2f485ca5980a8864 parent dbf4fcad62467ce1bd6966292b6850fc7a210e0b author Alan Stern Tue, 31 Jan 2006 10:02:55 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] uhci-hcd: fix mistaken usage of list_prepare_entry A recent update to the uhci-hcd driver invoked the list_prepare_entry macro incorrectly. This patch (as646) corrects it. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit dbf4fcad62467ce1bd6966292b6850fc7a210e0b tree 4b8da787d4f54fbd442a18a93658e3e5dd7ce176 parent 8d402e1ae03656c1ad215514f8885ef4793f0948 author Alan Stern Tue, 20 Dec 2005 09:58:08 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: Don't log short transfers Even when the URB_SHORT_NOT_OK flag is set, a short transfer shouldn't generate a debugging log message. Especially not one with the confusing claim that the transfer "failed with status 0". This patch (as627) fixes that behavior in uhci-hcd. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8d402e1ae03656c1ad215514f8885ef4793f0948 tree ceac7800d7e07be1a7320a0b729156b12fbf26d6 parent 0ed8fee1c1d38a62e981025ba40b5eba30c4ce2a author Alan Stern Sat, 17 Dec 2005 18:03:37 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: improve debugging code This patch (as626) makes some improvements to the debugging code in uhci-hcd. The main change is that now the code won't get compiled if CONFIG_USB_DEBUG isn't set. But there are other changes too, like adding a missing .owner field and printing a debugging dump if the controller dies. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0ed8fee1c1d38a62e981025ba40b5eba30c4ce2a tree 5f006afb273d5657251c49ae7144f669db9ed05d parent af0bb5998abe8ed28ee354dd4c71689cacdc91e9 author Alan Stern Sat, 17 Dec 2005 18:02:38 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: remove main list of URBs As part of reorienting uhci-hcd away from URBs and toward endpoint queues, this patch (as625) eliminates the driver's main list of URBs. The list wsa used mainly in checking for URB completions; now the driver goes through the list of active endpoints and checks the members of the queues. As a side effect, I had to remove the code that looks for FSBR timeouts. For now, FSBR will remain on so long as any URBs on a full-speed control or bulk queue request it, even if the queue isn't advancing. A later patch can add more intelligent handling. This isn't a huge drawback; it's pretty rare for an URB to get stuck for more than a fraction of a second. (And it will help the people trying to use those insane HP USB devices.) Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit af0bb5998abe8ed28ee354dd4c71689cacdc91e9 tree 20172dd9551d0e2497ef4b6dff1a84f010f981ab parent dccf4a48d47120a42382ba526f1a0848c13ba2a4 author Alan Stern Sat, 17 Dec 2005 18:00:12 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: use dummy TDs This patch (as624) fixes a hardware race in uhci-hcd by adding a dummy TD to the end of each endpoint's queue. Without the dummy the host controller will effectively turn off the queue when it reaches the end, which happens asynchronously. This leads to a potential problem when new transfer descriptors are added to the end of the queue; they may never get used. With a dummy TD present the controller never turns off the queue; instead it just stops at the dummy and leaves the queue on but inactive. When new TDs are added to the end of the queue, the first new one gets written over the dummy. Thus there's never any question about whether the queue is running or needs to be restarted. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit dccf4a48d47120a42382ba526f1a0848c13ba2a4 tree 788a0a9f491d1a42df1dee1781156ccfc363b6ef parent 499003e815344304c7b0c93aad923ddf644d24e0 author Alan Stern Sat, 17 Dec 2005 17:58:46 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: use one QH per endpoint, not per URB This patch (as623) changes the uhci-hcd driver to make it use one QH per device endpoint, instead of a QH per URB as it does now. Numerous areas of the code are affected by this. For example, the distinction between "queued" URBs and non-"queued" URBs no longer exists; all URBs belong to a queue and some just happen to be at the queue's head. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 499003e815344304c7b0c93aad923ddf644d24e0 tree 7a73626d56fd83174b342093f421d99e7e90e5b4 parent 0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd author Kumar Gala Tue, 24 Jan 2006 08:11:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] USB: Fix masking bug initialization of Freescale EHCI controller In setting up the of PHY we masked off too many bits, instead just initialize PORTSC for the type of PHY we are using. Signed-off-by: Kumar Gala Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd tree 2365741645c76f7925f9e637ee68da2e1b2d3087 parent efafe6fb72b2bbab40080a08f7946f1eadb9bad9 author Franck Bui-Huu Tue, 07 Feb 2006 09:06:17 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] USB: Zero driver: Removed duplicated code Signed-off-by: Franck Bui-Huu Signed-off-by: Greg Kroah-Hartman commit efafe6fb72b2bbab40080a08f7946f1eadb9bad9 tree 502053738219df278ecc7b0175d7fee4d8ec611c parent aef4e266964bc15861b5835c1f5b9d2ebc155c2a author Malte Doersam Sat, 28 Jan 2006 17:48:33 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: Pegasus: Linksys USBVPN1 support + cleanup This patch adds a second linksys vendor-id (077b) and the product id of the pegasus based adapter USBVPN1 http://www1.linksys.com/Products/product.asp?prid=3D543&scid=3D30 Furthermore it replaces all LINKSYS_GPIO_RESET with DEFAULT_GPIO_RESET as both are declared like this: #define DEFAULT_GPIO_RESET 0x24 #define LINKSYS_GPIO_RESET 0x24 This is misleading and confusing. The check is now done via the VENDOR_ID in pegasus.c: if (usb_dev_id[pegasus->dev_index].vendor == VENDOR_LINKSYS Signed-off-by: Malte Doersam Signed-off-by: Greg Kroah-Hartman commit aef4e266964bc15861b5835c1f5b9d2ebc155c2a tree 49d606bc0843231942231b801dc3010ca32ab4f7 parent fb669cc01ed778c4926f395e44a9b61644597d38 author Alan Stern Tue, 31 Jan 2006 12:58:38 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] usbhid: add error handling This patch (as628c) adds error handling to the USB HID core. When an error is reported for an interrupt URB, the driver will do delayed retries, at increasing intervals, for up to one second. If that doesn't work, it will try to reset the device. Testing by users has shown that both the retries and the resets end up getting used. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit fb669cc01ed778c4926f395e44a9b61644597d38 tree a81c4f655a0470f84dfa4fbfcff3e64d83da3463 parent 6a9062f393fa48125df23c5491543828a21e1ae0 author David Brownell Tue, 24 Jan 2006 08:40:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: remove usbcore-specific wakeup flags This makes usbcore use the driver model wakeup flags for host controllers and for their root hubs. Since previous patches have removed all users of the HCD flags they replace, this converts the last users of those flags. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 6a9062f393fa48125df23c5491543828a21e1ae0 tree ca79e036f5a00253af790b45da6a6102b58ff97c parent b1e8f0a6a8805c971857cd10a65cf8caa4c1a672 author David Brownell Mon, 23 Jan 2006 15:28:07 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: ohci uses driver model wakeup flags This makes OHCI use the driver model wakeup control bits for its root hub (e.g. disable on amd756, because of chip erratum) and for the controller itself. It no longer uses the hcd glue bits with those roles, and depends on the previous patch making the root hub available earlier. Note that on most platforms (boot code properly setting the RWC bit) this gives a partial workaround for the way PCI isn't currently flagging devices that support PME# signals. (Because of odd PCI init sequencing on PPC.) That's because many OHCI controllers support "legacy PCI PM" ... without involving any PCI PM capability. USB wakeup from STR, if it works on your system, may still involve tweaking things by hand in /proc/acpi/wakeup. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit b1e8f0a6a8805c971857cd10a65cf8caa4c1a672 tree 395b7a91cbd0d5eb10a4c7429d7db6255b097b48 parent 1c05ad4447e4ecbd61647c102fb6f2f5a6634ff3 author David Brownell Mon, 23 Jan 2006 15:25:40 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: usbcore sets up root hubs earlier Make the HCD initialization sequence more sane ... notably, setting up root hubs before HCDs are asked to do their one-time init. Among other things, that lets the HCDs do custom root hub init along with all the other one-time initialization done in the (now misnamed) reset() method. This also copies the controller wakeup flags into the root hub; it's done a bit later than would be ideal, but that'll be necessary until the PCI code initializes them correctly. (The PCI patch breaks on PPC due to how it sequences PCI initialization.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1c05ad4447e4ecbd61647c102fb6f2f5a6634ff3 tree 57e519afbd37b545a1e0cd9019d49ab38980f7b4 parent 7802ac5c29d135345db1b06f9167075cd9f2d675 author David Brownell Wed, 25 Jan 2006 08:45:59 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] recognize three more usb peripheral controllers This adds declarations for three USB peripheral controllers: - Two high speed USB cores that can be licensed from Mentor Graphics to be integrated into silicon: * "musbhsfc" is for peripherals only, as found in for example the IBM/AMCC 44EP processors. * "musbhdrc" is OTG-capable (dual role), and is found in various products including OMAP 2430 and the new DaVinci SOCs. The "musbh" standing for "Mentor USB Highspeed", the rest standing for "Function Controller" or "Dual Role Controller" (OTG-capable). - The full speed controller on the FreeScale MPC8272. Adding these definitions just allows gadget driver code to handle any controller-specific logic; controller drivers are quite separate. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 7802ac5c29d135345db1b06f9167075cd9f2d675 tree eac03ea017b9bd42581f699fa4b71fad692a6bea parent bae4bd848dc0b7e6defc7a5d62834a35d1eed06d author David Brownell Sun, 22 Jan 2006 10:33:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: minor gadget/rndis tweak Resove a minor FIXME: don't change MTU while RNDIS link is active, the other end won't expect such things... Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit bae4bd848dc0b7e6defc7a5d62834a35d1eed06d tree 17f942f787c55e96afd13edc30875138a40c125c parent 39a269c09f854d3d98cbb755b3568175f04efa10 author David Brownell Sun, 22 Jan 2006 10:32:37 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: add support for AT91 gadget This adds support for the USB peripheral controller on AT91 (rm9200, eventually also sam9261 or uClinux) platforms. More SOC support for Linux-USB ... an uncomplicated pure PIO driver. It'd be worth using this as a model, if you're starting a driver for some other peripheral controller. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 39a269c09f854d3d98cbb755b3568175f04efa10 tree dcba12509961393e9f2920b23a337af8d6c4aec3 parent d0852299381326c5d8eb67771aa98108050e6901 author Andrew Victor Sun, 22 Jan 2006 10:32:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: add support for OCHI on AT91rm9200 This adds support for OHCI on AT91rm9200 based boards. Possibly of interest here is the way this uses to gate clocks on/off during system pm state transitions. That's typical for non-PCI systems. Some can go further; Mini-A host side connectors enable ID-pin sensing. From: Andrew Victor Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit d0852299381326c5d8eb67771aa98108050e6901 tree e4965e920fceeada861e5722228eb4472627c991 parent d5fb7f1b5b832946eaf450b2a695ec3e7fd2d351 author David Brownell Fri, 20 Jan 2006 14:35:55 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI unlink tweaks This patch modifies the behavior of the EHCI driver in an unlink path that seems to be causing various issues on some systems. Those problems have included issues with disconnection, driver unbinding, and similar cases where urb unlinking would just not work right. This patch should help avoid those problems by not turning off the async (control/bulk) schedule until it's not expecting an "async advance" IRQ, which comes from the processing passing the schedule head. Whether the driver attempts to do such things is dependent on system timings, so many folk would never have seen these problems. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit d5fb7f1b5b832946eaf450b2a695ec3e7fd2d351 tree 1a6b09e2b5928f2eb10ec00ecc926034e6387df5 parent 76fa9a240de4294a097235c9ddd470c21eb3449e author Jordan Crouse Fri, 20 Jan 2006 14:09:54 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: OHCI for AU1200 ALCHEMY: Add OHCI support for AU1200 Updated by moving the OHCI support out of the EHCI patch. Signed-off-by: Jordan Crouse Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 76fa9a240de4294a097235c9ddd470c21eb3449e tree f29b42b106e5394942c59102b8387f5dd322b6b7 parent 8cd42e97bf451bbbb2f54dc571366ae5a72faaea author Jordan Crouse Fri, 20 Jan 2006 14:06:09 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI for AU1200 ALCHEMY: Add EHCI support for AU1200 Updated by removing the OHCI support Signed-off-by: Jordan Crouse Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 8cd42e97bf451bbbb2f54dc571366ae5a72faaea tree 9bd591f62813e477da3484bfe159228a7507eeb7 parent 80cb9aee01245b38325dd84f1359b14a3f01f10d author Kumar Gala Fri, 20 Jan 2006 13:57:52 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI and Freescale 83xx quirk On the MPC834x processors the multiport host (MPH) EHCI controller has an erratum in which the port number in the queue head expects to be 0..N-1 instead of 1..N. If we are on one of these chips we subtract one from the port number before putting it into the queue head. Signed-off-by: Kumar Gala Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 80cb9aee01245b38325dd84f1359b14a3f01f10d tree aa261392fa976e86dba2bea43b8afc9a64228b89 parent 469d02293d494d30dba81895cd3d34b0a3a6d51a author Randy Vinson Fri, 20 Jan 2006 13:53:38 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI for Freescale 83xx Adding a Host Mode USB driver for the Freescale 83xx. This driver supports both the Dual-Role (DR) controller and the Multi-Port-Host (MPH) controller present in the Freescale MPC8349. It has been tested with the MPC8349CDS reference system. This driver depends on platform support code for setting up the pins on the device package in a manner appropriate for the board in use. Note that this patch requires selecting the EHCI controller option under the USB Host menu. Signed-off-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit 469d02293d494d30dba81895cd3d34b0a3a6d51a tree a05096eed2144bcaa8918ce961d959761763c33e parent f8aeb3bb8657b207895aa10f75e63f2c48d08985 author Clemens Ladisch Fri, 20 Jan 2006 13:49:10 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI full speed ISO bugfixes This patch replaces the split ISO raw_mask calculation code in the iso_stream_init() function that computed incorrect numbers of high speed transactions for both input and output transfers. In the output case, it added a superfluous start-split transaction for all maxmimum packet sizes that are a multiple of 188. In the input case, it forgot to add complete-split transactions for all microframes covered by the full speed transaction, and the additional complete-split transaction needed for the case when full speed data starts arriving near the end of a microframe. These changes don't affect the lack of full speed bandwidth, but at least it removes the MMF errors that the HC raised with some input streams. Signed-off-by: Clemens Ladisch Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f8aeb3bb8657b207895aa10f75e63f2c48d08985 tree a752ed44de17a3f0315cffeddfb944cb33c778aa parent 4186ecf8ad16dd05759a09594de6a87e48759ba6 author David Brownell Fri, 20 Jan 2006 13:55:14 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI and NF2 quirk This teaches the EHCI driver about a quirk seen in older NForce2 chips, adding a workaround to ignore selective suspend requests. Bus-wide (so-called "global") suspend still works, as does USB wakeup of a root hub that's globally suspended. There's still a hole in this support though. Strictly speaking, this should _fail_ selective suspend requests, rather than ignoring them, since doing it this way means that devices which should be able to issue remote wakeup are not going to be able to do that. For now, we'll just live with that problem ... since usbcore expects to do selective suspend on the way towards a full bus suspend, and usbcore needs to be able to do full bus suspend. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 4186ecf8ad16dd05759a09594de6a87e48759ba6 tree 3ee5292d9f4a36e3eb359b586289ec972bcbaf39 parent 35cce732d9d4d9af6b4ad4d26d8f8c0eddb573a2 author Arjan van de Ven Wed, 11 Jan 2006 15:55:29 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: convert a bunch of USB semaphores to mutexes the patch below converts a bunch of semaphores-used-as-mutex in the USB code to mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 35cce732d9d4d9af6b4ad4d26d8f8c0eddb573a2 tree 1fbb63a0c8b5e661d70a8aa97c036f9e58edf197 parent e266a12492f7ca9142882710bff92e902b7c95c8 author Pekka Enberg Thu, 12 Jan 2006 20:35:25 +0200 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: remove LINUX_VERSION_CODE macro usage This patch removes unnecessary LINUX_VERSION_CODE macro usage from drivers/usb/. Signed-off-by: Pekka Enberg Signed-off-by: Greg Kroah-Hartman commit e266a12492f7ca9142882710bff92e902b7c95c8 tree 7554164a34ba64b5420858edbcd7bf49c4057c2f parent 9628416a542488230b53df48d90d4a967dea41c8 author Adrian Bunk Tue, 08 Nov 2005 21:05:43 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: drivers/usb/core/message.c: make usb_get_string() static After the removal of usb-midi.c, there's no longer any external user of usb_get_string(). Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 9628416a542488230b53df48d90d4a967dea41c8 tree b356d4c1ea8065263eda375284b87ba64d735d5f parent 29da7937a11a47bad64558c3be4d998c4ea5e823 author Adrian Bunk Sun, 05 Feb 2006 00:03:28 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: remove OBSOLETE_OSS_USB_DRIVER drivers This patch removes the obsolete USB_MIDI and USB_AUDIO drivers. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 29da7937a11a47bad64558c3be4d998c4ea5e823 tree 9e73a3de1ad7e50d70ba0f65c0c06905e9602fe2 parent 9ee884cc89dc339276c719ab4ff53913ac03d083 author Pete Zaitcev Mon, 13 Feb 2006 20:35:57 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] ub: use kzalloc Switch from kmalloc+memset to kzalloc. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 9ee884cc89dc339276c719ab4ff53913ac03d083 tree 9d916c7ba07302edcff383c98e8eef97950d12ae parent 06d694748b5173d972d7e4169173adad62ee67c0 author Oliver Neukum Fri, 06 Jan 2006 23:27:17 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: kzalloc in sisusbvga this does two things: - use kzalloc where appropriate - correct error return codes in ioctl Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 06d694748b5173d972d7e4169173adad62ee67c0 tree bbc923c4bb49afc95daca72fb72306a0fe32ab34 parent d874a2bade6eec21abb30d4822d7b3e43cfbae95 author Oliver Neukum Fri, 06 Jan 2006 22:44:52 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: kzalloc in usbled another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit d874a2bade6eec21abb30d4822d7b3e43cfbae95 tree cc5f677e871ed7b9cd67f48c9896a0b55c72f420 parent 17590840dc3c14cb059817466884ac9bd97c4a35 author Oliver Neukum Fri, 06 Jan 2006 22:43:32 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in PhidgetServo another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 17590840dc3c14cb059817466884ac9bd97c4a35 tree 9ff51010413c6118de85bac332fd1ff54458ba36 parent 1144cf7af2ff8e6816e360d03f867439f7efde40 author Oliver Neukum Fri, 06 Jan 2006 22:41:51 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in PhidgetInterfaceKit another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 1144cf7af2ff8e6816e360d03f867439f7efde40 tree d6e9463fbe66165723b1233b2de093ffef51e27e parent 092e462a537ba60e5f78ff208c8a95e6fd071fa5 author Oliver Neukum Fri, 06 Jan 2006 22:40:02 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in ldusb another one for kzalloc Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 092e462a537ba60e5f78ff208c8a95e6fd071fa5 tree 87546f74115d694060781aa829509bbee963bdf9 parent 5f7481337cc803926b5c43aac44441f683ff91ed author Oliver Neukum Fri, 06 Jan 2006 22:36:27 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in idmouse another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 5f7481337cc803926b5c43aac44441f683ff91ed tree 094413d5b2cd102d7dc629934335d966b705ea90 parent 51b208ddf6e492c58609e07fa50bce98bb02cb27 author Oliver Neukum Fri, 06 Jan 2006 22:24:56 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in cytherm another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 51b208ddf6e492c58609e07fa50bce98bb02cb27 tree 3c656451163254ab88323e520cacf650459c8189 parent b10b4177881c50f22a79832558054f2e42be5cfa author Oliver Neukum Fri, 06 Jan 2006 21:35:08 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in usbvideo another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit b10b4177881c50f22a79832558054f2e42be5cfa tree 354dded7e3a04d95dfa2112de6b4968437425458 parent d8e298dc9feed17f397be4bb2cd8c1dd47248c74 author Oliver Neukum Fri, 06 Jan 2006 21:28:40 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in w9968cf another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit d8e298dc9feed17f397be4bb2cd8c1dd47248c74 tree 1c478af244d9bf487df177fad37f4b54144a4965 parent bbdb7dafb5b5a3c0197cbabd5055d8e9c093e3ea author Oliver Neukum Fri, 06 Jan 2006 21:01:47 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in dabusb kzalloc in dabusb. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit bbdb7dafb5b5a3c0197cbabd5055d8e9c093e3ea tree 9ac23c97ef6a983e4e7a98e19f9307b8d3aad1f4 parent 887c2560b6ceb5fe7ac24704e85af507c6d960e5 author Oliver Neukum Fri, 06 Jan 2006 20:54:29 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: kzalloc for hid this uses kzalloc in hid. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 887c2560b6ceb5fe7ac24704e85af507c6d960e5 tree dd363a707a717bb87c1b89a64ab46b3394524a3f parent 9ff87d7326d9e4666721070040474f60a68ab467 author Oliver Neukum Sun, 08 Jan 2006 12:33:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: kzalloc for storage another one for kzalloc. This covers the storage subdirectory. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 9ff87d7326d9e4666721070040474f60a68ab467 tree eb698f3dcf856822290cf5fda7e45e9ace68352d parent 9fcd5c322ca2ee636e06e0c099cf8f1a692f832e author Oliver Neukum Fri, 06 Jan 2006 20:45:11 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: mdc800.c to kzalloc one more conversion to kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 9fcd5c322ca2ee636e06e0c099cf8f1a692f832e tree 8fcc2c099ed815e2efbcb53d1662855298af97cf parent 8781ba0aa9d9dd2870b75dba8d9a47e0f5a3f96a author Andrew Morton Wed, 18 Jan 2006 23:55:07 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: optimise devio.c usbdev_read fix drivers/usb/core/devio.c: In function `usbdev_read': drivers/usb/core/devio.c:140: error: invalid type argument of `->' drivers/usb/core/devio.c:141: error: invalid type argument of `->' drivers/usb/core/devio.c:142: error: invalid type argument of `->' drivers/usb/core/devio.c:143: error: invalid type argument of `->' Cc: Oliver Neukum Cc: Pete Zaitcev Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8781ba0aa9d9dd2870b75dba8d9a47e0f5a3f96a tree 164255fb2a2cf1bc87c3b214577bba401736da18 parent 60f780528f3ae603eb169a221628b93b6c6929f9 author Oliver Neukum Fri, 06 Jan 2006 21:24:25 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: optimise devio.c::usbdev_read this is a small optimisation. It is ridiculous to do a kmalloc for 18 bytes. This puts it onto the stack. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 60f780528f3ae603eb169a221628b93b6c6929f9 tree 535b75e9eafb445c7acd85ee350cdc0efbbcdecb parent c4a1745aa09fc110afdefea0e5d025043e348bae author Luca Risolia Mon, 06 Feb 2006 16:29:35 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: Add ZC0301 Video4Linux2 driver This patch adds a Video4Linux2 driver for ZC0301 Image Processor and Control Chip. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit b3229087c5e08589cea4f5040dab56f7dc11332a tree 5a9568e4d041370b453f6074015ff1081a045c26 parent 832c57e9afa7a263bb2f8ee6d04d527ef6709aae author Greg Kroah-Hartman Thu, 16 Mar 2006 15:44:26 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: fix a kobject leak in sysfs_add_link on the error path As pointed out by Oliver Neukum. Cc: Maneesh Soni Cc: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 832c57e9afa7a263bb2f8ee6d04d527ef6709aae tree dbc11a1979d582bd15a12353a2e6f421d3445522 parent a29d642a4aa99c5234314ab2523281139226c231 author Greg Kroah-Hartman Thu, 16 Mar 2006 11:23:21 -0700 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: don't export dir symbols These functions should only be used by the kobject core, and if any driver tries to use them, bad things happen. Unexport them to try to prevent this from happening. Signed-off-by: Greg Kroah-Hartman commit a29d642a4aa99c5234314ab2523281139226c231 tree 818996643addcea3963dd143a94ce3c293f225fd parent 7423172a50968de1905a61413c52bb070a62f5ce author Andrew Morton Tue, 07 Mar 2006 23:53:25 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] get_cpu_sysdev() signedness fix Doing (int < NR_CPUS) doesn't dtrt if it's negative.. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7423172a50968de1905a61413c52bb070a62f5ce tree 296c5584a6a78336664436123bf21bd052c04f0c parent dd308bc355a1aa4f202fe9a3133b6c676cb9606c author Jun'ichi Nomura Mon, 13 Mar 2006 17:14:25 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] kobject_add_dir Adding kobject_add_dir() function which creates a subdirectory for a given kobject. Signed-off-by: Jun'ichi Nomura Signed-off-by: Greg Kroah-Hartman commit dd308bc355a1aa4f202fe9a3133b6c676cb9606c tree accab2f0576da81d5e0ccfdbcc07f25a2a232008 parent c516865cfbac0d862d4888df91793ad1e74ffd58 author Michael Ellerman Tue, 07 Mar 2006 21:41:59 +1100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data I wanted to export a binary blob via debugfs, and although it was pretty easy it seems like it'd be easier if there was a helper for it. It's a pity we need the wrapper struct but I can't see a cleaner way to do it. Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman commit c516865cfbac0d862d4888df91793ad1e74ffd58 tree 432024125976af3e6c87ae5b9e64b6f1cc291f70 parent 22f98c0cd7e003b896ee52ded945081307118745 author Maneesh Soni Thu, 09 Mar 2006 19:40:14 +0530 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: fix problem with duplicate sysfs directories and files The following patch checks for existing sysfs_dirent before preparing new one while creating sysfs directories and files. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit 22f98c0cd7e003b896ee52ded945081307118745 tree 4fe7416dc8e98b38b71adf7bac04252de6614374 parent dcd0da002122a70fe1c625c0ca9f58c95aa33ebe author Adrian Bunk Sat, 04 Mar 2006 13:15:31 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Kobject: kobject.h: fix a typo It shouldn't cause real harm, but it hurts my eyes. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit dcd0da002122a70fe1c625c0ca9f58c95aa33ebe tree 5560cdc189fa3ae7eeeabb71ef5c5a2b26d4909e parent 4f2928d0a439553f0288d9483faf417430629635 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Kobject: provide better warning messages when people do stupid things Now that kobject_add() is used more than kobject_register() the kernel wasn't always letting people know that they were doing something wrong. This change fixes this. Signed-off-by: Greg Kroah-Hartman commit 4f2928d0a439553f0288d9483faf417430629635 tree 96efd4b28d84fd409add525a7c2f834b22dd0d23 parent 30560ba6eda308c13a361d08eb5d4eaab94ab37e author Tilman Schmidt Fri, 24 Feb 2006 11:05:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Driver core: add macros notice(), dev_notice() Both usb.h and device.h have collections of convenience macros for printk() with the KERN_ERR, KERN_WARNING, and KERN_NOTICE severity levels. This patch adds macros for the KERN_NOTICE level which was so far uncatered for. These macros already exist privately in drivers/isdn/gigaset/gigaset.h (currently in the process of being submitted for the kernel tree) but they really belong with their brothers and sisters in include/linux/{device,usb}.h. Signed-off-by: Tilman Schmidt Signed-off-by: Greg Kroah-Hartman commit 30560ba6eda308c13a361d08eb5d4eaab94ab37e tree 2639a567018f690c725da11470d7d28392cbfee8 parent 58d49283b87751f7af75e021a629dcddb027e8eb author Jeff Moyer Mon, 13 Feb 2006 14:52:38 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] firmware: fix BUG: in fw_realloc_buffer The fw_realloc_buffer routine does not handle an increase in buffer size of more than 4k. It's not clear to me why it expects that it will only get an extra 4k of data. The attached patch modifies fw_realloc_buffer to vmalloc as much memory as is requested, instead of what we previously had + 4k. I've tested this on my laptop, which would crash occaisionally on boot without the patch. With the patch, it hasn't crashed, but I can't be certain that this code path is exercised. Signed-off-by: Jeff Moyer Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 58d49283b87751f7af75e021a629dcddb027e8eb tree b553643f22a4a216e06c5ab1711a88d3df1e1e6a parent 03e88ae1b13dfdc8bbaa59b8198e1ca53aad12ac author Eric Sesterhenn Wed, 22 Feb 2006 11:18:15 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] sysfs: kzalloc conversion this converts fs/sysfs to kzalloc() usage. compile tested with make allyesconfig Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit 03e88ae1b13dfdc8bbaa59b8198e1ca53aad12ac tree 322127d9875129d2e9b1c3cb744b4940bd7d8a47 parent b87ba0a33a634c9a8e3609702122a04034a0688d author Greg Kroah-Hartman Thu, 16 Feb 2006 13:50:23 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] fix module sysfs files reference counting The module files, refcnt, version, and srcversion did not properly increment the owner's module reference count, allowing the modules to be removed while the files were open, causing oopses. This patch fixes this, and also fixes the problem that the version and srcversion files were not showing up, unless CONFIG_MODULE_UNLOAD was enabled, which is not correct. Cc: Nathan Lynch Signed-off-by: Greg Kroah-Hartman commit b87ba0a33a634c9a8e3609702122a04034a0688d tree 9a3d756f6c61f18c3614948fd6a1524e81f82dbd parent 01ca70dca5c64cb774a8ac2f50bddff21d60169f author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem The USB core symbols will be converted to GPL-only in a few years. Mark this as such and update the documentation explaining why, and provide a pointer for developers to receive help if they need it. Signed-off-by: Greg Kroah-Hartman commit 01ca70dca5c64cb774a8ac2f50bddff21d60169f tree 7bb09a9f7b0ce1263af943c2beeb10e64a3b9ebe parent 9f28bb7e1d0188a993403ab39b774785892805e1 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to RCU subsystem As the RCU symbols are going to be changed to GPL in the near future, lets warn users that this is going to happen. Cc: Paul McKenney Acked-by: Dipankar Sarma Signed-off-by: Greg Kroah-Hartman commit 9f28bb7e1d0188a993403ab39b774785892805e1 tree 939660c2531335dc899cc66fa7f3f05aa343d1e0 parent 3fd6805f4dfb02bcfb5634972eabad0e790f119a author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() This patch adds the ability to mark symbols that will be changed in the future, so that kernel modules that don't include MODULE_LICENSE("GPL") and use the symbols, will be flagged and printed out to the system log. Signed-off-by: Greg Kroah-Hartman commit 3fd6805f4dfb02bcfb5634972eabad0e790f119a tree 0ba5fdb9663a392f541cb5d9e4a56717b7946394 parent 58383af629efb07e5a0694e445eda0c65b16e1de author Sam Ravnborg Wed, 08 Feb 2006 21:16:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] Clean up module.c symbol searching logic Signed-off-by: Sam Ravnborg Signed-off-by: Greg Kroah-Hartman commit 58383af629efb07e5a0694e445eda0c65b16e1de tree 228369b2e56411c91ee1356957c0aa2dc0d033e5 parent 8b5536bbee53620f8d5f367987e5727ba36d886d author Jes Sorensen Mon, 06 Feb 2006 14:12:43 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] kobj_map semaphore to mutex conversion Convert the kobj_map code to use a mutex instead of a semaphore. It converts the single two users as well, genhd.c and char_dev.c. Signed-off-by: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8b5536bbee53620f8d5f367987e5727ba36d886d tree c4733f4ce2a6d1aab32eda3c096c97f0365a43f8 parent 489447380a2921ec0e9154f773c44ab3167ede4b author Eric Dumazet Mon, 30 Jan 2006 06:19:35 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] kref: avoid an atomic operation in kref_put() Avoid an atomic operation in kref_put() when the last reference is dropped. On most platforms, atomic_read() is a plan read of the counter and involves no atomic at all. Signed-off-by: Eric Dumazet Signed-off-by: Greg Kroah-Hartman commit 489447380a2921ec0e9154f773c44ab3167ede4b tree 10edc2bca15765dae7699b8d26cf3d828869bc3c parent 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0 author David Vrabel Thu, 19 Jan 2006 17:56:29 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] handle errors returned by platform_get_irq*() platform_get_irq*() now returns on -ENXIO when the resource cannot be found. Ensure all users of platform_get_irq*() handle this error appropriately. Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman commit 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0 tree f8ecf355e7433d8442f1c76f232f01e72a89b769 parent 972de6c8bfd8b36618563be454df1e95a36dc379 author David Vrabel Thu, 19 Jan 2006 17:52:27 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] driver core: platform_get_irq*(): return -ENXIO on error platform_get_irq*() cannot return 0 on error as 0 is a valid IRQ on some platforms, return -ENXIO instead. Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman commit 972de6c8bfd8b36618563be454df1e95a36dc379 tree 98be8fb9475a97ab1a212cd2a9a3a1ebf0b16d2d parent 51107301b629640f9ab76fe23bf385e187b9ac29 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] Mark empty release functions as broken Come on people, this is just wrong... Signed-off-by: Greg Kroah-Hartman commit 51107301b629640f9ab76fe23bf385e187b9ac29 tree 27d8bafd7ab9cfd460b3d850da69a0293876f20a parent 641e6f30a095f3752ed84fd9d279382f5d3ef4c1 author Jun'ichi Nomura Wed, 15 Mar 2006 08:28:55 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] kobject: fix build error if CONFIG_SYSFS=n Moving uevent_seqnum and uevent_helper to kobject_uevent.c because they are used even if CONFIG_SYSFS=n while kernel/ksysfs.c is built only if CONFIG_SYSFS=y, Signed-off-by: Jun'ichi Nomura Signed-off-by: Greg Kroah-Hartman commit 641e6f30a095f3752ed84fd9d279382f5d3ef4c1 tree 59b57c14f9249488ded6814de4512f7f9949289f parent c4a1745aa09fc110afdefea0e5d025043e348bae author Greg Kroah-Hartman Thu, 16 Mar 2006 15:44:26 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] sysfs: sysfs_remove_dir() needs to invalidate the dentry When calling sysfs_remove_dir() don't allow any further sysfs functions to work for this kobject anymore. This fixes a nasty USB cdc-acm oops on disconnect. Many thanks to Bob Copeland and Paul Fulghum for taking the time to track this down. Cc: Bob Copeland Cc: Paul Fulghum Cc: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit 91bca4b3e2f1aaaf67e62a36914f33ca1e7d5a06 tree 0a8c96881a7323ad1e430409b28728a72ea40972 parent d358788f3f30113e49882187d794832905e42592 author Russell King Mon, 20 Mar 2006 20:08:22 +0000 committer Russell King Mon, 20 Mar 2006 20:08:22 +0000 [SERIAL] Merge avlab serial board entries in parport_serial As can be seen from this patch, the avlab_*_[68]50 table entries are identical to the plain avlab_* entries in every respect. Hence, there is no need to list them separately in the pciserial_board nor parport_pc_pci card tables - they can re-use the plain avlab_* entries. Signed-off-by: Russell King commit d358788f3f30113e49882187d794832905e42592 tree 8c796ee4bf719dad4d3947c03cef2f3fd6cb5940 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Russell King Mon, 20 Mar 2006 20:00:09 +0000 committer Russell King Mon, 20 Mar 2006 20:00:09 +0000 [SERIAL] kernel console should send CRLF not LFCR Glen Turner reported that writing LFCR rather than the more traditional CRLF causes issues with some terminals. Since this aflicts many serial drivers, extract the common code to a library function (uart_console_write) and arrange for each driver to supply a "putchar" function. Signed-off-by: Russell King commit c4a1745aa09fc110afdefea0e5d025043e348bae tree 6d28dc3a0c1bf18437b3d49f28e5c81b850cdb2f parent 88dcb91177cfa5b26143a29074389a2aa259c7cf parent ac0eb3eb7e54b700386068be025a43d2a3958ee5 author Linus Torvalds Mon, 20 Mar 2006 11:57:50 -0800 committer Linus Torvalds Mon, 20 Mar 2006 11:57:50 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: (230 commits) [SPARC64]: Update defconfig. [SPARC64]: Fix 2 bugs in huge page support. [SPARC64]: CONFIG_BLK_DEV_RAM fix [SPARC64]: Optimized TSB table initialization. [SPARC64]: Allow CONFIG_MEMORY_HOTPLUG to build. [SPARC64]: Use SLAB caches for TSB tables. [SPARC64]: Don't kill the page allocator when growing a TSB. [SPARC64]: Randomize mm->mmap_base when PF_RANDOMIZE is set. [SPARC64]: Increase top of 32-bit process stack. [SPARC64]: Top-down address space allocation for 32-bit tasks. [SPARC64] bbc_i2c: Fix cpu check and add missing module license. [SPARC64]: Fix and re-enable dynamic TSB sizing. [SUNSU]: Fix missing spinlock initialization. [TG3]: Do not try to access NIC_SRAM_DATA_SIG on Sun parts. [SPARC64]: First cut at VIS simulator for Niagara. [SPARC64]: Fix system type in /proc/cpuinfo and remove bogus OBP check. [SPARC64]: Add SMT scheduling support for Niagara. [SPARC64]: Fix 32-bit truncation which broke sparsemem. [SPARC64]: Move over to sparsemem. [SPARC64]: Fix new context version SMP handling. ... commit 2b422383c3d8dcd203dd9aea70155be6258dbf6c tree 782191641d55a95424dce1d5b6c8a19290423344 parent 44fc355db7c224c95752155c54cbe28380f14c19 author Håkon Løvdal Mon, 20 Mar 2006 20:32:04 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:32:04 +0100 README: bzip2 is not new From: Håkon Løvdal Signed-off-by: Håkon Løvdal Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk commit 44fc355db7c224c95752155c54cbe28380f14c19 tree ed04791455b065731637d707eacb299f085b336a parent 7b9af3455b9edb3ca8efb251bd9d2d51ecb0066c author Jochen Hein Mon, 20 Mar 2006 20:28:13 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:28:13 +0100 Documentation/Changes: remove outdated translation references The patch removes references to kernel 2.4 and to translations that are outdated for 2.6 (german translation is at 2.4.20) or hosts that are not available. Signed-off-by: Adrian Bunk commit 7b9af3455b9edb3ca8efb251bd9d2d51ecb0066c tree 4741e396b6bec686baf615b80a846cf55dcc88d6 parent 8075f21fc6dac8fb16372a7d4e28d9f21077cdda author Adrian Bunk Mon, 20 Mar 2006 20:23:13 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:23:13 +0100 remove dead Radeon URL This patch removes a dead Radeon URL from two Kconfig files. This isue was noted by Reto Gantenbein in Kernel Bugzilla #4446. Signed-off-by: Adrian Bunk commit 8075f21fc6dac8fb16372a7d4e28d9f21077cdda tree fa3a9d8d0a4b556bcb4bfe8d208685096b2de97c parent f30c52d0c9081019bf76a4dbd905bc7c0d89411c author Adrian Bunk Mon, 20 Mar 2006 20:21:24 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:21:24 +0100 SCSI_AACRAID: add a help text Most of the text by Mark Salyzyn . Signed-off-by: Adrian Bunk Acked-by: Mark Salyzyn commit f30c52d0c9081019bf76a4dbd905bc7c0d89411c tree 1b32c7525a4be663ad2ef7b1ef320f4a549669ac parent 98cb9e1d0044b438603f8f933803b56573b49f28 author Adrian Bunk Mon, 20 Mar 2006 20:14:06 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:14:06 +0100 update the i386 defconfig The i386 defconfig wasn't updated for ages. Instead of running "make oldconfig" on the old defconfig and trying to give reasonable answers at all new options, this patch replaces it with the one I'm using in 2.6.16-rc1. This way, it's a .config that is confirmed to work on at least one computer in the world. ;-) Signed-off-by: Adrian Bunk commit 98cb9e1d0044b438603f8f933803b56573b49f28 tree c1e843f586f8f2f056c56a51d379eec4ddedcf5f parent 0f76ee451484d02c7405d92e7bceb39b415abb01 author Adrian Bunk Mon, 20 Mar 2006 20:13:16 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:13:16 +0100 MAINTAINERS: remove the LANMEDIA entry Remove the maintainers entry pointing to a no longer existing domain. Signed-off-by: Adrian Bunk commit 71e1c784b24a026a490b3de01541fc5ee14ebc09 tree 7ee3aebf84b5bd1759b2b1925e09de37cb21d97f parent bf45da97a45f634422559ec61429dddf4d2fffb9 author Amy Griffis Mon, 06 Mar 2006 22:40:05 -0500 committer Al Viro Mon, 20 Mar 2006 14:08:55 -0500 [PATCH] fix audit_init failure path Make audit_init() failure path handle situations where the audit_panic() action is not AUDIT_FAIL_PANIC (default is AUDIT_FAIL_PRINTK). Other uses of audit_sock are not reached unless audit's netlink message handler is properly registered. Bug noticed by Peter Staubach. Signed-off-by: Amy Griffis Signed-off-by: Al Viro commit bf45da97a45f634422559ec61429dddf4d2fffb9 tree 6900ee56333ec64b1398cdfea2af9d04a01e182d parent 5a0bbce58bb25bd756f7ec437319d6ed2201a18b author lorenzo@gnu.org Thu, 09 Mar 2006 00:33:47 +0100 committer Al Viro Mon, 20 Mar 2006 14:08:55 -0500 [PATCH] EXPORT_SYMBOL patch for audit_log, audit_log_start, audit_log_end and audit_format Hi, This is a trivial patch that enables the possibility of using some auditing functions within loadable kernel modules (ie. inside a Linux Security Module). _ Make the audit_log_start, audit_log_end, audit_format and audit_log interfaces available to Loadable Kernel Modules, thus making possible the usage of the audit framework inside LSMs, etc. Signed-off-by: > Signed-off-by: Al Viro commit 5a0bbce58bb25bd756f7ec437319d6ed2201a18b tree d8b263248c3eaece9a1c906e02c0795794f480de parent 4023e020807ea249ae83f0d1d851b4c7cf0afd8a author Ingo Molnar Tue, 07 Mar 2006 23:51:38 -0800 committer Al Viro Mon, 20 Mar 2006 14:08:55 -0500 [PATCH] sem2mutex: audit_netlink_sem Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Al Viro commit 4023e020807ea249ae83f0d1d851b4c7cf0afd8a tree 3bc91756c9429bd89c2ebb47108ed772dd29c4cf parent d9d9ec6e2c45b22282cd36cf92fcb23d504350a8 author Ingo Molnar Tue, 07 Mar 2006 23:51:39 -0800 committer Al Viro Mon, 20 Mar 2006 14:08:55 -0500 [PATCH] simplify audit_free() locking Simplify audit_free()'s locking: no need to lock a task that we are tearing down. [the extra locking also caused false positives in the lock validator] Signed-off-by: Ingo Molnar Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Al Viro commit d9d9ec6e2c45b22282cd36cf92fcb23d504350a8 tree 88e861cee6de93d931325b9bdb2cd867afc6decd parent 5bdb98868062c1b14025883049551af343233187 author Dustin Kirkland Thu, 16 Feb 2006 13:40:01 -0600 committer Al Viro Mon, 20 Mar 2006 14:08:55 -0500 [PATCH] Fix audit operators Darrel Goeddel initiated a discussion on IRC regarding the possibility of audit_comparator() returning -EINVAL signaling an invalid operator. It is possible when creating the rule to assure that the operator is one of the 6 sane values. Here's a snip from include/linux/audit.h Note that 0 (nonsense) and 7 (all operators) are not valid values for an operator. ... /* These are the supported operators. * 4 2 1 * = > < * ------- * 0 0 0 0 nonsense * 0 0 1 1 < * 0 1 0 2 > * 0 1 1 3 != * 1 0 0 4 = * 1 0 1 5 <= * 1 1 0 6 >= * 1 1 1 7 all operators */ ... Furthermore, prior to adding these extended operators, flagging the AUDIT_NEGATE bit implied !=, and otherwise == was assumed. The following code forces the operator to be != if the AUDIT_NEGATE bit was flipped on. And if no operator was specified, == is assumed. The only invalid condition is if the AUDIT_NEGATE bit is off and all of the AUDIT_EQUAL, AUDIT_LESS_THAN, and AUDIT_GREATER_THAN bits are on--clearly a nonsensical operator. Now that this is handled at rule insertion time, the default -EINVAL return of audit_comparator() is eliminated such that the function can only return 1 or 0. If this is acceptable, let's get this applied to the current tree. :-Dustin -- Signed-off-by: Al Viro (cherry picked from 9bf0a8e137040f87d1b563336d4194e38fb2ba1a commit) commit 5bdb98868062c1b14025883049551af343233187 tree 1f15c49cf4c9535bb3897d5fedbe78b3a7651410 parent a6c043a887a9db32a545539426ddfc8cc2c28f8f author Steve Grubb Sat, 03 Dec 2005 08:39:35 -0500 committer Al Viro Mon, 20 Mar 2006 14:08:55 -0500 [PATCH] promiscuous mode Hi, When a network interface goes into promiscuous mode, its an important security issue. The attached patch is intended to capture that action and send an event to the audit system. The patch carves out a new block of numbers for kernel detected anomalies. These are events that may indicate suspicious activity. Other examples of potential kernel anomalies would be: exceeding disk quota, rlimit violations, changes to syscall entry table. Signed-off-by: Steve Grubb Signed-off-by: Al Viro commit a6c043a887a9db32a545539426ddfc8cc2c28f8f tree 61269890edbf13a5bb2ae41eb4aba9353a2382b8 parent 5d3301088f7e412992d9e61cc3604cbdff3090ff author Steve Grubb Sun, 01 Jan 2006 14:07:00 -0500 committer Al Viro Mon, 20 Mar 2006 14:08:55 -0500 [PATCH] Add tty to syscall audit records Hi, >From the RBAC specs: FAU_SAR.1.1 The TSF shall provide the set of authorized RBAC administrators with the capability to read the following audit information from the audit records: (e) The User Session Identifier or Terminal Type A patch adding the tty for all syscalls is included in this email. Please apply. Signed-off-by: Steve Grubb Signed-off-by: Al Viro commit 5d3301088f7e412992d9e61cc3604cbdff3090ff tree 6dbcea6a4707474393b640f8aaa588b2aa90309e parent 93315ed6dd12dacfc941f9eb8ca0293aadf99793 author Steve Grubb Mon, 09 Jan 2006 09:48:17 -0500 committer Al Viro Mon, 20 Mar 2006 14:08:55 -0500 [PATCH] add/remove rule update Hi, The following patch adds a little more information to the add/remove rule message emitted by the kernel. Signed-off-by: Steve Grubb Signed-off-by: Al Viro commit 93315ed6dd12dacfc941f9eb8ca0293aadf99793 tree 4fc070c92a1de21d3befe4ce48c733c65d044bb3 parent af601e4623d0303bfafa54ec728b7ae8493a8e1b author Amy Griffis Tue, 07 Feb 2006 12:05:27 -0500 committer Al Viro Mon, 20 Mar 2006 14:08:54 -0500 [PATCH] audit string fields interface + consumer Updated patch to dynamically allocate audit rule fields in kernel's internal representation. Added unlikely() calls for testing memory allocation result. Amy Griffis wrote: [Wed Jan 11 2006, 02:02:31PM EST] > Modify audit's kernel-userspace interface to allow the specification > of string fields in audit rules. > > Signed-off-by: Amy Griffis Signed-off-by: Al Viro (cherry picked from 5ffc4a863f92351b720fe3e9c5cd647accff9e03 commit) commit af601e4623d0303bfafa54ec728b7ae8493a8e1b tree 5f79d5ae42eeccfc1ffaf8e82a1999e4d3af793e parent d884596f44ef5a0bcd8a66405dc04902aeaa6fc7 author Steve Grubb Wed, 04 Jan 2006 14:08:39 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:54 -0500 [PATCH] SE Linux audit events Attached is a patch that hardwires important SE Linux events to the audit system. Please Apply. Signed-off-by: Steve Grubb Acked-by: Stephen Smalley Signed-off-by: David Woodhouse commit d884596f44ef5a0bcd8a66405dc04902aeaa6fc7 tree 25371c8c71a4319d839e73dc86131a8355d36681 parent fe7752bab26a9ac0651b695ad4f55659761f68f7 author David Woodhouse Fri, 16 Dec 2005 10:48:28 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:54 -0500 [PATCH] Minor cosmetic cleanups to the code moved into auditfilter.c Signed-off-by: David Woodhouse commit fe7752bab26a9ac0651b695ad4f55659761f68f7 tree b2e516a52232c978fc824b226418d8a28460b8a8 parent ee436dc46a762f430e37952d375a23d87735f73f author David Woodhouse Thu, 15 Dec 2005 18:33:52 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:54 -0500 [PATCH] Fix audit record filtering with !CONFIG_AUDITSYSCALL This fixes the per-user and per-message-type filtering when syscall auditing isn't enabled. [AV: folded followup fix from the same author] Signed-off-by: David Woodhouse Signed-off-by: Al Viro commit ee436dc46a762f430e37952d375a23d87735f73f tree 3fde296efe8da60dff929e2891bff22bf46fe771 parent 7306a0b9b3e2056a616c84841288ca2431a05627 author David Woodhouse Fri, 18 Nov 2005 14:43:54 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:54 -0500 [PATCH] Fix IA64 success/failure indication in syscall auditing. Original 2.6.9 patch and explanation from somewhere within HP via bugzilla... ia64 stores a success/failure code in r10, and the return value (normal return, or *positive* errno) in r8. The patch also sets the exit code to negative errno if it's a failure result for consistency with other architectures. Signed-off-by: David Woodhouse commit 7306a0b9b3e2056a616c84841288ca2431a05627 tree d3f61ef43c7079790d6b8ef9bf307689a7d9ea16 parent 8c8570fb8feef2bc166bee75a85748b25cda22d9 author Dustin Kirkland Wed, 16 Nov 2005 15:53:13 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:54 -0500 [PATCH] Miscellaneous bug and warning fixes This patch fixes a couple of bugs revealed in new features recently added to -mm1: * fixes warnings due to inconsistent use of const struct inode *inode * fixes bug that prevent a kernel from booting with audit on, and SELinux off due to a missing function in security/dummy.c * fixes a bug that throws spurious audit_panic() messages due to a missing return just before an error_path label * some reasonable house cleaning in audit_ipc_context(), audit_inode_context(), and audit_log_task_context() Signed-off-by: Dustin Kirkland Signed-off-by: David Woodhouse commit 8c8570fb8feef2bc166bee75a85748b25cda22d9 tree ed783d405ea9d5f3d3ccc57fb56c7b7cb2cdfb82 parent c8edc80c8b8c397c53f4f659a05b9ea6208029bf author Dustin Kirkland Thu, 03 Nov 2005 17:15:16 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:54 -0500 [PATCH] Capture selinux subject/object context information. This patch extends existing audit records with subject/object context information. Audit records associated with filesystem inodes, ipc, and tasks now contain SELinux label information in the field "subj" if the item is performing the action, or in "obj" if the item is the receiver of an action. These labels are collected via hooks in SELinux and appended to the appropriate record in the audit code. This additional information is required for Common Criteria Labeled Security Protection Profile (LSPP). [AV: fixed kmalloc flags use] [folded leak fixes] [folded cleanup from akpm (kfree(NULL)] [folded audit_inode_context() leak fix] [folded akpm's fix for audit_ipc_perm() definition in case of !CONFIG_AUDIT] Signed-off-by: Dustin Kirkland Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Al Viro commit c8edc80c8b8c397c53f4f659a05b9ea6208029bf tree 0b09c0ff9ea28038b711d7368100302a1cc69b6d parent 73241ccca0f7786933f1d31b3d86f2456549953a author Dustin Kirkland Thu, 03 Nov 2005 16:12:36 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:54 -0500 [PATCH] Exclude messages by message type - Add a new, 5th filter called "exclude". - And add a new field AUDIT_MSGTYPE. - Define a new function audit_filter_exclude() that takes a message type as input and examines all rules in the filter. It returns '1' if the message is to be excluded, and '0' otherwise. - Call the audit_filter_exclude() function near the top of audit_log_start() just after asserting audit_initialized. If the message type is not to be audited, return NULL very early, before doing a lot of work. [combined with followup fix for bug in original patch, Nov 4, same author] [combined with later renaming AUDIT_FILTER_EXCLUDE->AUDIT_FILTER_TYPE and audit_filter_exclude() -> audit_filter_type()] Signed-off-by: Dustin Kirkland Signed-off-by: David Woodhouse Signed-off-by: Al Viro commit 73241ccca0f7786933f1d31b3d86f2456549953a tree daa7efabfb7aa2f511a467606786820949e8763e parent f38aa94224c5517a40ba56d453779f70d3229803 author Amy Griffis Thu, 03 Nov 2005 16:00:25 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:53 -0500 [PATCH] Collect more inode information during syscall processing. This patch augments the collection of inode info during syscall processing. It represents part of the functionality that was provided by the auditfs patch included in RHEL4. Specifically, it: - Collects information for target inodes created or removed during syscalls. Previous code only collects information for the target inode's parent. - Adds the audit_inode() hook to syscalls that operate on a file descriptor (e.g. fchown), enabling audit to do inode filtering for these calls. - Modifies filtering code to check audit context for either an inode # or a parent inode # matching a given rule. - Modifies logging to provide inode # for both parent and child. - Protect debug info from NULL audit_names.name. [AV: folded a later typo fix from the same author] Signed-off-by: Amy Griffis Signed-off-by: David Woodhouse Signed-off-by: Al Viro commit f38aa94224c5517a40ba56d453779f70d3229803 tree 30d0f7390cb2f1cf33a55080cb6c0676727af1fa parent 90d526c074ae5db484388da56c399acf892b6c17 author Amy Griffis Thu, 03 Nov 2005 15:57:06 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:53 -0500 [PATCH] Pass dentry, not just name, in fsnotify creation hooks. The audit hooks (to be added shortly) will want to see dentry->d_inode too, not just the name. Signed-off-by: Amy Griffis Signed-off-by: David Woodhouse commit 90d526c074ae5db484388da56c399acf892b6c17 tree edeb7c47d9144f3995846c5fc25db8e49ef12f5d parent b63862f46547487388e582e8ac9083830d34f058 author Steve Grubb Thu, 03 Nov 2005 15:48:08 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:53 -0500 [PATCH] Define new range of userspace messages. The attached patch updates various items for the new user space messages. Please apply. Signed-off-by: Steve Grubb Signed-off-by: David Woodhouse commit b63862f46547487388e582e8ac9083830d34f058 tree 5aa0173c02535fdd9dfe302e9c8a8a225091ed56 parent b0dd25a8263dde3c30b0d7d72a8bd92d7ba0e3f5 author Dustin Kirkland Thu, 03 Nov 2005 15:41:46 +0000 committer Al Viro Mon, 20 Mar 2006 14:08:53 -0500 [PATCH] Filter rule comparators Currently, audit only supports the "=" and "!=" operators in the -F filter rules. This patch reworks the support for "=" and "!=", and adds support for ">", ">=", "<", and "<=". This turned out to be a pretty clean, and simply process. I ended up using the high order bits of the "field", as suggested by Steve and Amy. This allowed for no changes whatsoever to the netlink communications. See the documentation within the patch in the include/linux/audit.h area, where there is a table that explains the reasoning of the bitmask assignments clearly. The patch adds a new function, audit_comparator(left, op, right). This function will perform the specified comparison (op, which defaults to "==" for backward compatibility) between two values (left and right). If the negate bit is on, it will negate whatever that result was. This value is returned. Signed-off-by: Dustin Kirkland Signed-off-by: David Woodhouse commit b0dd25a8263dde3c30b0d7d72a8bd92d7ba0e3f5 tree 8eadfe525920c8256d755b084035a513e3dcab47 parent 7e7f8a036b8e2b2a300df016da5e7128c8a9192e author Randy Dunlap Tue, 13 Sep 2005 12:47:11 -0700 committer Al Viro Mon, 20 Mar 2006 14:08:53 -0500 [PATCH] AUDIT: kerneldoc for kernel/audit*.c - add kerneldoc for non-static functions; - don't init static data to 0; - limit lines to < 80 columns; - fix long-format style; - delete whitespace at end of some lines; (chrisw: resend and update to current audit-2.6 tree) Signed-off-by: Randy Dunlap Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit 7e7f8a036b8e2b2a300df016da5e7128c8a9192e tree b3681a073f4ef97a91f53d4b23d0c5aeccbe4993 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Jason Baron Tue, 31 Jan 2006 16:56:28 -0500 committer Al Viro Mon, 20 Mar 2006 14:08:53 -0500 [PATCH] make vm86 call audit_syscall_exit hi, The motivation behind the patch below was to address messages in /var/log/messages such as: Jan 31 10:54:15 mets kernel: audit(:0): major=252 name_count=0: freeing multiple contexts (1) Jan 31 10:54:15 mets kernel: audit(:0): major=113 name_count=0: freeing multiple contexts (2) I can reproduce by running 'get-edid' from: http://john.fremlin.de/programs/linux/read-edid/. These messages come about in the log b/c the vm86 calls do not exit via the normal system call exit paths and thus do not call 'audit_syscall_exit'. The next system call will then free the context for itself and for the vm86 context, thus generating the above messages. This patch addresses the issue by simply adding a call to 'audit_syscall_exit' from the vm86 code. Besides fixing the above error messages the patch also now allows vm86 system calls to become auditable. This is useful since strace does not appear to properly record the return values from sys_vm86. I think this patch is also a step in the right direction in terms of cleaning up some core auditing code. If we can correct any other paths that do not properly call the audit exit and entries points, then we can also eliminate the notion of context chaining. I've tested this patch by verifying that the log messages no longer appear, and that the audit records for sys_vm86 appear to be correct. Also, 'read_edid' produces itentical output. thanks, -Jason Signed-off-by: Jason Baron Signed-off-by: Al Viro commit 43ac3f2961b8616da26114ec6dc76ac2a61f76ad tree 461fc961f6c7d9a724425654523cf61cb6c2e485 parent c42de9dd67250fe984e0e31c9b542d721af6454b author Trond Myklebust Mon, 20 Mar 2006 13:44:51 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:51 -0500 SUNRPC: Fix memory barriers for req->rq_received We need to ensure that all writes to the XDR buffers are done before req->rq_received is visible to other processors. Signed-off-by: Trond Myklebust commit c42de9dd67250fe984e0e31c9b542d721af6454b tree a4079b25a044f7124837f572e5342dc7614ca75d parent 7d46a49f512e8d10b23353781a8ba85edd4fa640 author Trond Myklebust Mon, 20 Mar 2006 13:44:51 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:51 -0500 NFS: Fix a race in nfs_sync_inode() Kudos to Neil Brown for spotting the problem: "in nfs_sync_inode, there is effectively the sequence: nfs_wait_on_requests nfs_flush_inode nfs_commit_inode This seems a bit racy to me as if the only requests are on the ->commit list, and nfs_commit_inode is called separately after nfs_wait_on_requests completes, and before nfs_commit_inode start (say: by nfs_write_inode) then none of these function will return >0, yet there will be some pending request that aren't waited for." The solution is to search for requests to wait upon, search for dirty requests, and search for uncommitted requests while holding the nfsi->req_lock The patch also cleans up nfs_sync_inode(), getting rid of the redundant FLUSH_WAIT flag. It turns out that we were always setting it. Signed-off-by: Trond Myklebust commit 7d46a49f512e8d10b23353781a8ba85edd4fa640 tree 8da455d9f2f80f6c8ee82ec85449d2eb0ea12aba parent deb7d638262019cbac5d15ab74ffd1c29242c7cb author Trond Myklebust Mon, 20 Mar 2006 13:44:50 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:50 -0500 NFS: Clean up nfs_flush_list() Signed-off-by: Trond Myklebust commit deb7d638262019cbac5d15ab74ffd1c29242c7cb tree 88095acd2d455b594f4cec08702aa9691faff2a0 parent 1dd761e9070aa2e543df3db41bd75ed4b8f2fab9 author Trond Myklebust Mon, 20 Mar 2006 13:44:50 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:50 -0500 NFS: Fix a race with PG_private and nfs_release_page() We don't need to set PG_private for readahead pages, since they never get unlocked while I/O is in progress. However there is a small race in nfs_readpage_release() whereby the page may be unlocked, and have PG_private set. Fix is to have PG_private set only for the case of writes... Also fix a bug in nfs_clear_page_writeback(): Don't attempt to clear the radix_tree tag if we've already deleted the radix tree entry. Signed-off-by: Trond Myklebust commit 1dd761e9070aa2e543df3db41bd75ed4b8f2fab9 tree 7709d032855e0e821f3ff4ce9efc3bdb82bf4d2d parent 5428154827c2bf7cfdc9dab60db1e0eaa57c027a author Trond Myklebust Mon, 20 Mar 2006 13:44:49 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:49 -0500 NFSv4: Ensure the callback daemon flushes signals If the callback daemon is signalled, but is unable to exit because it still has users, then we need to flush signals. If not, then svc_recv() can never sleep, and so we hang. If we flush signals, then we also have to be prepared to resend them when we want the thread to exit. Signed-off-by: Trond Myklebust commit 5428154827c2bf7cfdc9dab60db1e0eaa57c027a tree ec2e6c9119ad76cad353a50da2be3ac71adbf54d parent a9a801787a761616589a6526d7a29c13f4deb3d8 author Trond Myklebust Mon, 20 Mar 2006 13:44:49 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:49 -0500 SUNRPC: Fix a 'Busy inodes' error in rpc_pipefs Signed-off-by: Trond Myklebust commit a9a801787a761616589a6526d7a29c13f4deb3d8 tree 73754598e8c65cf18f0a96ca3c32433dcb34cbe7 parent 03f28e3a2059fc466761d872122f30acb7be61ae author Trond Myklebust Mon, 20 Mar 2006 13:44:48 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:48 -0500 NFS, NLM: Allow blocking locks to respect signals Signed-off-by: Trond Myklebust commit 03f28e3a2059fc466761d872122f30acb7be61ae tree d478e553b79520c34bb3d06e75b59609de2993f4 parent 01d0ae8beaee75d954900109619b700fe68707d9 author Trond Myklebust Mon, 20 Mar 2006 13:44:48 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:48 -0500 NFS: Make nfs_fhget() return appropriate error values Currently it returns NULL, which usually gets interpreted as ENOMEM. In fact it can mean a host of issues. Signed-off-by: Trond Myklebust commit 01d0ae8beaee75d954900109619b700fe68707d9 tree 06180b83f10e0008db9f6bfa6a5fa420bf568ebe parent d9f6eb75d4900782a095b98470decfe98971f920 author Trond Myklebust Mon, 20 Mar 2006 13:44:48 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:48 -0500 NFSv4: Fix an oops in nfs4_fill_super The mount statistics patches introduced a call to nfs_free_iostats that is not only redundant, but actually causes an oops. Also fix a memory leak due to the lack of a call to nfs_free_iostats on unmount. Signed-off-by: Trond Myklebust commit d9f6eb75d4900782a095b98470decfe98971f920 tree 6378e43b6fba38a2ee8359379aedf3b07daeea21 parent 51581f3bf922512880f52a7777923fd6dcfc792b author Trond Myklebust Mon, 20 Mar 2006 13:44:47 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:47 -0500 lockd: blocks should hold a reference to the nlm_file Signed-off-by: Trond Myklebust commit 51581f3bf922512880f52a7777923fd6dcfc792b tree 91e9c6c6a89705e76ec07574d296967c3bde24a9 parent 3e4f6290ca4df7464ee066123f2bca4298c2dab4 author Trond Myklebust Mon, 20 Mar 2006 13:44:47 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:47 -0500 NFSv4: SETCLIENTID_CONFIRM should handle NFS4ERR_DELAY/NFS4ERR_RESOURCE Signed-off-by: Trond Myklebust commit 3e4f6290ca4df7464ee066123f2bca4298c2dab4 tree a8a2b32348be0df1a886ca0960112d23e1458572 parent f25bc34967d76610d17bc70769d7c220976eeeb1 author Trond Myklebust Mon, 20 Mar 2006 13:44:46 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:46 -0500 NFSv4: Send the delegation stateid for SETATTR calls In the case where we hold a delegation stateid, use that in for inside SETATTR calls. Signed-off-by: Trond Myklebust commit f25bc34967d76610d17bc70769d7c220976eeeb1 tree f967791903a28f75968a7ce641f9a61502c037ba parent 6041b79192bdf0e7ab18ea6859effa5d8311391b author Trond Myklebust Mon, 20 Mar 2006 13:44:46 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:46 -0500 NFSv4: Ensure nfs_callback_down() calls svc_destroy() Signed-off-by: Trond Myklebust commit 6041b79192bdf0e7ab18ea6859effa5d8311391b tree f1491d4dd0dbdc829273c71e707c0adf771f5d0b parent d47166244860eb5dfdb12ee4703968beef8a0db2 author Trond Myklebust Mon, 20 Mar 2006 13:44:45 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:45 -0500 lockd: Fix a typo in nlmsvc_grant_release() Signed-off-by: Trond Myklebust commit d47166244860eb5dfdb12ee4703968beef8a0db2 tree 423a78e1aefc84b13800e4e257bee30ac4bbcb75 parent 92737230dd3f1478033819d4bc20339f8da852da author Trond Myklebust Mon, 20 Mar 2006 13:44:45 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:45 -0500 lockd: Add helper for *_RES callbacks Signed-off-by: Trond Myklebust commit 92737230dd3f1478033819d4bc20339f8da852da tree 27bc7804a077a29b7614c698bb02632dc4ce228e parent e4cd038a45a46ffbe06a1a72f3f15246e5b041ca author Trond Myklebust Mon, 20 Mar 2006 13:44:45 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:45 -0500 NLM: Add nlmclnt_release_call Add a helper function to simplify the freeing of NLM client requests. Signed-off-by: Trond Myklebust commit e4cd038a45a46ffbe06a1a72f3f15246e5b041ca tree 61b926d8644ce6c3888f6891ba44d6db6d116adb parent 3a649b884637c4fdff50a6beebc3dc0e6082e048 author Trond Myklebust Mon, 20 Mar 2006 13:44:44 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:44 -0500 NLM: Fix nlmclnt_test to not copy private part of locks The struct file_lock does not carry a properly initialised lock, so don't copy it as if it were. Signed-off-by: Trond Myklebust commit 3a649b884637c4fdff50a6beebc3dc0e6082e048 tree 042455741f079fdbd4d33cd7da61c1c9e68db477 parent d72b7a6b26b9009b7a05117fe2e04b3a73ae4a5c author Trond Myklebust Mon, 20 Mar 2006 13:44:44 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:44 -0500 NLM: Simplify client locks Signed-off-by: Trond Myklebust commit d72b7a6b26b9009b7a05117fe2e04b3a73ae4a5c tree dcdbc9386b19e4976cf156baf35985016c1d28f4 parent 6b45d858ed6821dd687efd3b68929de2e4954fec author Trond Myklebust Mon, 20 Mar 2006 13:44:43 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:43 -0500 NFS: O_DIRECT needs to use a completion Now that we have aio writes, it is possible for dreq->outstanding to be zero, but for the I/O not to have completed. Convert struct nfs_direct_req to use a completion to signal when the I/O is done. Signed-off-by: Trond Myklebust commit 6b45d858ed6821dd687efd3b68929de2e4954fec tree fcc25885f02133177e2bc093f8cd09879cbd05cf parent 606bbba06b11ebcbdf3a4fcd8cce4507c5bd7a4b author Trond Myklebust Mon, 20 Mar 2006 13:44:43 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:43 -0500 NFS: Clean up nfs_get_user_pages Signed-off-by: Trond Myklebust commit 606bbba06b11ebcbdf3a4fcd8cce4507c5bd7a4b tree b2cb6a1210aa45da2856c0846ad3e835b41629d4 parent 5eb53f41d11c04aa4ddb9f168b6bbb27b9790348 author Chuck Lever Mon, 20 Mar 2006 13:44:42 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:42 -0500 NFS: fix compiler warnings on 64-bit platforms Introduced by NFS aio+dio patches. Test plan: Compile kernel with CONFIG_NFS enabled on 64-bit hardware. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 5eb53f41d11c04aa4ddb9f168b6bbb27b9790348 tree cc8935431e852fc2f500214406713bc83d40042c parent 35576cba57f1c042b87d6586b3229d13067264c6 author Chuck Lever Mon, 20 Mar 2006 13:44:42 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:42 -0500 SUNRPC: fix compile warnings on 64-bit platforms Introduced by NFS metrics patch. Test plan: Compile kernel with CONFIG_NFS enabled on a 64-bit platform. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 35576cba57f1c042b87d6586b3229d13067264c6 tree 705718c559911986647db9f95ad3cff85cffcff8 parent 4c060b531006e0711db32a132d6ac7661594b280 author Trond Myklebust Mon, 20 Mar 2006 13:44:41 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:41 -0500 NLM: nlmclnt_cancel_callback should accept NLM_LCK_DENIED errors NLM_LCK_DENIED is a valid error return for an NLM_CANCEL call by the client. Signed-off-by: Trond Myklebust commit 4c060b531006e0711db32a132d6ac7661594b280 tree 899f281dfec3da7e29ede2e76019b3861116714f parent 26bcbf965f857c710adafd16cf424f043006b5dd author Trond Myklebust Mon, 20 Mar 2006 13:44:41 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:41 -0500 lockd: Fix Oopses due to list manipulation errors. The patch "stop abusing file_lock_list introduces a couple of bugs since the locks may be copied and need to be removed from the lists when they are destroyed. Signed-off-by: Trond Myklebust commit 26bcbf965f857c710adafd16cf424f043006b5dd tree fa3c1e4ba07ab3d1e4e61b27c7579c57fd2d5c65 parent 04266473ecf5cdca242201d9f1ed890afe070fb6 author Christoph Hellwig Mon, 20 Mar 2006 13:44:40 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:40 -0500 lockd: stop abusing file_lock_list Currently lockd directly access the file_lock_list from fs/locks.c. It does so to mark locks granted or reclaimable. This is very suboptimal, because a) lockd needs to poke into locks.c internals, and b) it needs to iterate over all locks in the system for marking locks granted or reclaimable. This patch adds lists for granted and reclaimable locks to the nlm_host structure instead, and adds locks to those. nlmclnt_lock: now adds the lock to h_granted instead of setting the NFS_LCK_GRANTED, still O(1) nlmclnt_mark_reclaim: goes away completely, replaced by a list_splice_init. Complexity reduced from O(locks in the system) to O(1) reclaimer: iterates over h_reclaim now, complexity reduced from O(locks in the system) to O(locks per nlm_host) Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust commit 04266473ecf5cdca242201d9f1ed890afe070fb6 tree c5c13c61db25a999cda87e5c6b4aacba12b44049 parent 686517f1ad1630c11964d668b556aab79b8c942e author Trond Myklebust Mon, 20 Mar 2006 13:44:40 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:40 -0500 lockd: Make lockd use rpc_new_client() instead of rpc_create_client When doing NLM_GRANTED requests, lockd may end up blocking if we use rpc_create_client() due to the synchronous call to rpc_ping(). Instead, use rpc_new_client(). Signed-off-by: Trond Myklebust commit 686517f1ad1630c11964d668b556aab79b8c942e tree fc62470bef473ce51f6caddb3b187da756b8bffc parent 5e1abf8cb713a0b94f5a400c7b9b797990cd9dec author Trond Myklebust Mon, 20 Mar 2006 13:44:39 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:39 -0500 lockd: Make nlmsvc_create_block() use nlmsvc_lookup_host() Currently it uses nlmclnt_lookup_host(), which puts the resulting host structure on a different list. Signed-off-by: Trond Myklebust commit 5e1abf8cb713a0b94f5a400c7b9b797990cd9dec tree 717a5eb95c4615855edc5f66268154cbe4118326 parent 6849c0cab69f5d1a0fc7b05fa5bfb3dec53f86df author Trond Myklebust Mon, 20 Mar 2006 13:44:39 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:39 -0500 lockd: Clean up of the server-side GRANTED code Signed-off-by: Trond Myklebust commit 6849c0cab69f5d1a0fc7b05fa5bfb3dec53f86df tree 8bf595be663cc641b000846737c3ba1b6419eb6a parent 09c7938c5640a6f22bef074ca6b803dccfdb93e3 author Trond Myklebust Mon, 20 Mar 2006 13:44:39 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:39 -0500 lockd: Add refcounting to struct nlm_block Otherwise, the block may disappear from underneath us when in nlmsvc_retry_blocked. Signed-off-by: Trond Myklebust commit 09c7938c5640a6f22bef074ca6b803dccfdb93e3 tree 71a6a0f66349ae46a0f816de8c8ddf952070af87 parent 0996905f9301c2ff4c021982c42a15b35e74bf1c author Trond Myklebust Mon, 20 Mar 2006 13:44:38 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:38 -0500 lockd: Fix server-side lock blocking code Signed-off-by: Trond Myklebust commit 0996905f9301c2ff4c021982c42a15b35e74bf1c tree 29bffccbd76c2fc0659f6d94a95f95b2d940f7a5 parent 3feb2d49394b7874348a6e43c076b780c1d222c5 author Trond Myklebust Mon, 20 Mar 2006 13:44:38 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:38 -0500 lockd: posix_test_lock() should not call locks_copy_lock() The caller of posix_test_lock() should never need to look at the lock private data, so do not copy that information. This also means that there is no need to call the fl_release_private methods. Signed-off-by: Trond Myklebust commit 3feb2d49394b7874348a6e43c076b780c1d222c5 tree 6d27d4170fd9435574bd804033793f9d0d69a355 parent 5db3a7b2cabe8f0957683f798c4f8fa8605f9ebb author Trond Myklebust Mon, 20 Mar 2006 13:44:37 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:37 -0500 NFS: Uninline nfs_writedata_(alloc|free) and nfs_readdata_(alloc|free) Signed-off-by: Trond Myklebust commit 5db3a7b2cabe8f0957683f798c4f8fa8605f9ebb tree 969aa2e7561796b3b8796a2f6645693f7ebe8d20 parent a8881f5a5c723f82da84b786d3ca83a0df9e0c33 author Trond Myklebust Mon, 20 Mar 2006 13:44:37 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:37 -0500 NFS: Debugging code for nfs_direct_(read|write)_schedule() Make sure that we're doing our list accounting correctly. Signed-off-by: Trond Myklebust commit a8881f5a5c723f82da84b786d3ca83a0df9e0c33 tree 50e01d4a0d3b803a5103e427e94a316d7ec92c81 parent fad61490419b3e494f300e9b2579810ef3bcda31 author Trond Myklebust Mon, 20 Mar 2006 13:44:36 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:36 -0500 NFS: O_DIRECT async IO may lose context The struct nfs_direct_req currently keeps a pointer to the file descriptor without referencing it. This may cause problems if the parent process is killed. The nfs_open_context should normally have all the information that we're currently using the filp for, and unlike fput(), is safe to release from an rpciod process context. Signed-off-by: Trond Myklebust commit fad61490419b3e494f300e9b2579810ef3bcda31 tree 1bca68921a83d4dc0219aa8d46c3c8e8313965c2 parent e17b1fc4b35399935f00a635206e183d9292fe4f author Trond Myklebust Mon, 20 Mar 2006 13:44:36 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:36 -0500 nfs: Use UNSTABLE + COMMIT for NFS O_DIRECT writes Currently NFS O_DIRECT writes use FILE_SYNC so that a COMMIT is not necessary. This simplifies the internal logic, but this could be a difficult workload for some servers. Instead, let's send UNSTABLE writes, and after they all complete, send a COMMIT for the dirty range. After the COMMIT returns successfully, then do the wake_up or fire off aio_complete(). Test plan: Async direct I/O tests against Solaris (or any server that requires committed unstable writes). Reboot server during test. Based on an earlier patch by Chuck Lever Signed-off-by: Trond Myklebust commit e17b1fc4b35399935f00a635206e183d9292fe4f tree 950fd4a83d7b6ff89286fd89a9871b0da66a4435 parent a37ec012d7fd352648c8455d3396ea24001efcd3 author Trond Myklebust Mon, 20 Mar 2006 13:44:35 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:35 -0500 NFS: Make nfs_commit_alloc() extern We need to use nfs_commit_alloc() in fs/nfs/direct.c. Signed-off-by: Trond Myklebust commit a37ec012d7fd352648c8455d3396ea24001efcd3 tree 778182e20ada2cf1ce3a5507ab1eec96c16633b2 parent 15ce4a0c1ce0d5e288398cb9e5493fd4e55e2025 author Chuck Lever Mon, 20 Mar 2006 13:44:35 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:35 -0500 NFS: fix data_update accounting in NFS direct I/O path ^C against "iozone -I" is hitting the assertion in nfs_clear_inode(). Test plan: "iozone -i0 -I -a -c" against a slow server, then control C. This should not cause an oops. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 15ce4a0c1ce0d5e288398cb9e5493fd4e55e2025 tree b40b3096bbbed8b0aa2a29e9374240dd7eaa47a0 parent 88467055f7654302c12df74e5fe4d12516656a39 author Chuck Lever Mon, 20 Mar 2006 13:44:34 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:34 -0500 NFS: Replace atomic_t variables in nfs_direct_req with a single spin lock Three atomic_t variables cause a lot of bus locking. Because they are all used in the same places in the code, just use a single spin lock. Now that the atomic_t variables are gone, we can remove the request size limitation since the code no longer depends on the limited width of atomic_t on some platforms. Test plan: Compile with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Millions of fsx operations, iozone, OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 88467055f7654302c12df74e5fe4d12516656a39 tree cf1ccdc6a933bcd93665fcea4947e0f7f59d5241 parent 9eafa8cc521b489f205bf7b0634c99e34e046606 author Chuck Lever Mon, 20 Mar 2006 13:44:34 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:34 -0500 NFS: clean up comments and tab damage in direct.c Clean up tab damage and comments. Replace "file_offset" with more commonly used "pos". Test plan: Compile with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9eafa8cc521b489f205bf7b0634c99e34e046606 tree 5afa96efb2dcd0a211402603977b2ce0428a9741 parent c89f2ee5f9223b864725f7344f24a037dfa76568 author Chuck Lever Mon, 20 Mar 2006 13:44:33 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:33 -0500 NFS: support EIOCBQUEUED return in direct write path For async iocb's, the NFS direct write path now returns EIOCBQUEUED, and calls aio_complete when all the requested writes are finished. The synchronous part of the NFS direct write path behaves exactly as it was before. Shared mapped NFS files will have some coherency difficulties when accessed concurrently with aio+dio. Will need to explore how this is handled in the local file system case. Test plan: aio-stress with "-O". OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c89f2ee5f9223b864725f7344f24a037dfa76568 tree b83235bfd96c4a81697609f61b2ce4e3de54e49b parent 47989d7454398827500d0e73766270986a3b488f author Chuck Lever Mon, 20 Mar 2006 13:44:33 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:33 -0500 NFS: make iocb available everywhere in direct write path Pass the iocb argument all the way down to the direct write request scheduler, and make it available in nfs_direct_write_result. Test plan: Compile the kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Millions of fsx-odirect ops. OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 47989d7454398827500d0e73766270986a3b488f tree ca7c3ce3ec47d6f16fa1b42be7c468266ed3fce9 parent 462d5b3296b56289efec426499a83faad4c08d9e author Chuck Lever Mon, 20 Mar 2006 13:44:32 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:32 -0500 NFS: remove support for multi-segment iovs in the direct write path Eliminate the persistent use of automatic storage in all parts of the NFS client's direct write path to pave the way for introducing support for aio against files opened with the O_DIRECT flag. Test plan: Compile the kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Millions of fsx-odirect ops. OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 462d5b3296b56289efec426499a83faad4c08d9e tree eb4f9a0418e1190958603360cf9bcea0cbb67727 parent 63ab46abc70b01cb0711301f5ddb08c1c0bb9b1c author Chuck Lever Mon, 20 Mar 2006 13:44:32 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:32 -0500 NFS: make direct write path generate write requests concurrently Duplicate infrastructure from direct read path that will allow write path to generate multiple write requests concurrently. This will enable us to add support for aio in this path. Temporarily we will lose the ability to do UNSTABLE writes followed by a COMMIT in the direct write path. However, all applications I am aware of that use NFS O_DIRECT currently write in relatively small chunks, so this should not be inconvenient in any way. Test plan: Millions of fsx-odirect ops. OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 63ab46abc70b01cb0711301f5ddb08c1c0bb9b1c tree 4d1d03a95f1468d240c3c7e0cd207fc14aa54023 parent 93619e5989173614bef0013b0bb8a3fe3dbd5a95 author Chuck Lever Mon, 20 Mar 2006 13:44:31 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:31 -0500 NFS: create common routine for handling direct I/O completion Factor out the common piece of completing an NFS direct I/O request. Test plan: Compile kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 93619e5989173614bef0013b0bb8a3fe3dbd5a95 tree 2172226a57bae4db4943d271e5250fd0606a74d1 parent bc0fb201b34b12e2d16e8cbd5bb078c1db936304 author Chuck Lever Mon, 20 Mar 2006 13:44:31 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:31 -0500 NFS: create common routine for allocating nfs_direct_req Factor out a small common piece of the path that allocate nfs_direct_req structures. Test plan: Compile kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit bc0fb201b34b12e2d16e8cbd5bb078c1db936304 tree 58a9aa8bee2de7e42f81c522115cd10078a6a5ef parent 487b83723ed4d4eaafd5109f36560da4f15c6578 author Chuck Lever Mon, 20 Mar 2006 13:44:31 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:31 -0500 NFS: create common routine for waiting for direct I/O to complete We're about to add asynchrony to the NFS direct write path. Begin by abstracting out the common pieces in the read path. The first piece is nfs_direct_read_wait, which works the same whether the process is waiting for a read or a write. Test plan: Compile kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 487b83723ed4d4eaafd5109f36560da4f15c6578 tree 8c869604c0b934f5b207c89e90aea9977c5d8ade parent 99514f8fdda2beef1ca922b7f9d89c1a2c57fec0 author Chuck Lever Mon, 20 Mar 2006 13:44:30 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:30 -0500 NFS: support EIOCBQUEUED return in direct read path For async iocb's, the NFS direct read path should return EIOCBQUEUED and call aio_complete when all the requested reads are finished. The synchronous part of the NFS direct read path behaves exactly as it was before. Test plan: aio-stress with "-O". OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 99514f8fdda2beef1ca922b7f9d89c1a2c57fec0 tree 74a96ad19ed705775d9cd87b79c28aafe0286dee parent 0cdd80d07fb0f558dfdb30f6e0b9905f5e5475f1 author Chuck Lever Mon, 20 Mar 2006 13:44:30 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:30 -0500 NFS: make iocb available everywhere in direct read path Pass the iocb argument all the way down to the direct read request scheduler, and make it available in nfs_direct_read_result. Test plan: Compile the kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Millions of fsx-odirect ops. OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 0cdd80d07fb0f558dfdb30f6e0b9905f5e5475f1 tree c25fe5e4bdb4196039bf5b098c1c9f58e98af2e2 parent 5dd602f20688e08c85ac91e0451c4e6321ed25d7 author Chuck Lever Mon, 20 Mar 2006 13:44:29 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:29 -0500 NFS: remove support for multi-segment iovs in the direct read path Eliminate the persistent use of automatic storage in all parts of the NFS client's direct read path to pave the way for introducing support for aio against files opened with the O_DIRECT flag. Test plan: Compile the kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Millions of fsx-odirect ops. OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 5dd602f20688e08c85ac91e0451c4e6321ed25d7 tree e89a89d68ec0fcdc6fd18570c0df9daa15e23902 parent d4cc948ba97980c55a308eab167a695109796456 author Chuck Lever Mon, 20 Mar 2006 13:44:29 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:29 -0500 NFS: use size_t type for holding rsize bytes in NFS O_DIRECT read path size_t is used for holding byte counts, so use it for variables storing rsize. Note that the write path will be updated as we add support for async O_DIRECT writes. Test plan: Need to verify that existing comparisons against new size_t variables behave correctly. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit d4cc948ba97980c55a308eab167a695109796456 tree fbf3b293b8ac129019723fe53dca0329c7552c13 parent b8a32e2b8b7fefff994c89d398b6ac920a195b43 author Chuck Lever Mon, 20 Mar 2006 13:44:28 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:28 -0500 NFS: update comments and function definitions in fs/nfs/direct.c Update to latest coding style standards. Remove block comments on statically defined functions, and place function definitions all on one line. Test plan: Compile kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b8a32e2b8b7fefff994c89d398b6ac920a195b43 tree 20f0c2610eddb104a8cbf1d7981b34fc962a92ea parent ec06c096edec0755534c7126f4caded69de131c2 author Chuck Lever Mon, 20 Mar 2006 13:44:28 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:28 -0500 NFS: clean up NFS client's a_ops->direct_IO method The NFS client's a_ops->direct_IO method, nfs_direct_IO, is required to be present to allow NFS files to be opened with O_DIRECT, but is never called because the NFS client shunts reads and writes to files opened with O_DIRECT directly to its own routines. Gut the nfs_direct_IO function. This eliminates the only part of the NFS client's direct I/O path that requires support for multi-segment iovs, allowing further simplification in subsequent patches. Test plan: Compile the kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Millions of fsx-odirect ops. OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ec06c096edec0755534c7126f4caded69de131c2 tree 1f5b219c09dea1d9886cefe3ea3f7cef560a5e9a parent 788e7a89a03e364855583c0ab4649b94925efbb9 author Trond Myklebust Mon, 20 Mar 2006 13:44:27 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:27 -0500 NFS: Cleanup of NFS read code Same callback hierarchy inversion as for the NFS write calls. This patch is not strictly speaking needed by the O_DIRECT code, but avoids confusing differences between the asynchronous read and write code. Signed-off-by: Trond Myklebust commit 788e7a89a03e364855583c0ab4649b94925efbb9 tree 4434c93af133a92f550ba0ecc8d3254cb222e72d parent 7117bf3dfb10b534a017260d9fc643bc1d0afd2a author Trond Myklebust Mon, 20 Mar 2006 13:44:27 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:27 -0500 NFS: Cleanup of NFS write code in preparation for asynchronous o_direct This patch inverts the callback hierarchy for NFS write calls. Instead of having the NFSv2/v3/v4-specific code set up the RPC callback ops, we allow the original caller to do so. This allows for more flexibility w.r.t. how to set up and tear down the nfs_write_data structure while still allowing the NFSv3/v4 code to perform error handling. The greater flexibility is needed by the asynchronous O_DIRECT code, which wants to be able to hold on to the original nfs_write_data structures after the WRITE RPC call has completed in order to be able to replay them if the COMMIT call determines that the server has rebooted. Signed-off-by: Trond Myklebust commit 7117bf3dfb10b534a017260d9fc643bc1d0afd2a tree a7060dc3d8a5f54c5beb41885620aaf99aac42f9 parent 8dc7c3115b611c00006eac3ee5b108296432aab7 author J. Bruce Fields Mon, 20 Mar 2006 13:44:26 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:26 -0500 lockd: Remove FL_LOCKD flag Currently lockd identifies its own locks using the FL_LOCKD flag. This doesn't scale well to multiple lock managers--if we did this in nfsv4 too, for example, we'd be left with only one free flag bit. Instead, we just check whether the file manager ops (fl_lmops) set on this lock are our own. The only use for this is in nlm_traverse_locks, which uses it to find locks that need cleaning up when freeing a host or a file. In the long run it might be nice to do reference counting instead of traversing all the locks like this.... Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 8dc7c3115b611c00006eac3ee5b108296432aab7 tree be44c59907cbdcb6fdf46d0ad9cc140af757acfc parent 2e0af86f618c697b44e2d67dff151256c58201c4 author Andy Adamson Mon, 20 Mar 2006 13:44:26 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:26 -0500 locks,lockd: fix race in nlmsvc_testlock posix_test_lock() returns a pointer to a struct file_lock which is unprotected and can be removed while in use by the caller. Move the conflicting lock from the return to a parameter, and copy the conflicting lock. In most cases the caller ends up putting the copy of the conflicting lock on the stack. On i386, sizeof(struct file_lock) appears to be about 100 bytes. We're assuming that's reasonable. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 2e0af86f618c697b44e2d67dff151256c58201c4 tree 967c708244ca190cc00d1c943704002467546151 parent a85f193e2fb7d53e48ae6a9d9ea990bfb4cea555 author Andy Adamson Mon, 20 Mar 2006 13:44:26 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:26 -0500 locks: remove unused posix_block_lock posix_lock_file() is used to add a blocked lock to Lockd's block, so posix_block_lock() is no longer needed. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit a85f193e2fb7d53e48ae6a9d9ea990bfb4cea555 tree f992c9b6b0ba6f1726a48af99a0251270d32e821 parent 5de0e5024a4e21251fd80dbfdb83316ce97086bc author Andy Adamson Mon, 20 Mar 2006 13:44:25 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:25 -0500 lockd: make nlmsvc_lock use only posix_lock_file Reorganize nlmsvc_lock() to make full use of posix_lock_file(), which does eveything nlmsvc_lock() needs - no need to call posix_test_lock(), posix_locks_deadlock(), or posix_block_lock() separately. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 5de0e5024a4e21251fd80dbfdb83316ce97086bc tree fa34eeee2aa007fb49b34c45e55aafc8b67c6e37 parent 15dadef9460ad8d3b1d5ede1c1697dc79af44a72 author Andy Adamson Mon, 20 Mar 2006 13:44:25 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:25 -0500 lockd: simplify nlmsvc_grant_blocked Reorganize nlmsvc_grant_blocked() to make full use of posix_lock_file(). Note that there's no need for separate calls to posix_test_lock(), posix_locks_deadlock(), or posix_block_lock(). Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 15dadef9460ad8d3b1d5ede1c1697dc79af44a72 tree e95ff41246a7fb25ad523e1868166d2f2d9ef2e9 parent 1e7cb3dc12dbbac690d78c84f9c7cb11132ed121 author Andy Adamson Mon, 20 Mar 2006 13:44:24 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:24 -0500 lockd: clean up nlmsvc_lock Slightly more consistent dprintk error reporting, consolidate some up()'s. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 1e7cb3dc12dbbac690d78c84f9c7cb11132ed121 tree a6bc36250a6fe5a754b464099a50baf98ce36e78 parent e95b85ec9d8c8ad4667f746aa4c9d22c281efc44 author Chuck Lever Mon, 20 Mar 2006 13:44:24 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:24 -0500 NFS: directory trace messages Reuse NFSDBG_DIRCACHE and NFSDBG_LOOKUPCACHE to provide additional diagnostic messages that trace the operation of the NFS client's directory behavior. A few new messages are now generated when NFSDBG_VFS is active, as well, to trace normal VFS activity. This compromise provides better trace debugging for those who use pre-built kernels, without adding a lot of extra noise to the standard debug settings. Test-plan: Enable NFS trace debugging with flags 1, 2, or 4. You should be able to see different types of trace messages with each flag setting. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit e95b85ec9d8c8ad4667f746aa4c9d22c281efc44 tree 64996f0b60aee3f95396922ff6939ec8dc35b4d3 parent dead28da8e3fb32601d38fb32b7021122e0a3d21 author Chuck Lever Mon, 20 Mar 2006 13:44:23 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:23 -0500 SUNRPC: minor cleanup RPC_DEBUG_DATA no longer needed in net/sunrpc/xprt.c. Test plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit dead28da8e3fb32601d38fb32b7021122e0a3d21 tree a1a23e27e08345c86ed0d9812f848470b615eb34 parent cc0175c1dc1de8f6af0eb0631dcc5b999a6fcc42 author Chuck Lever Mon, 20 Mar 2006 13:44:23 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:23 -0500 SUNRPC: eliminate rpc_call() Clean-up: replace rpc_call() helper with direct call to rpc_call_sync. This makes NFSv2 and NFSv3 synchronous calls more computationally efficient, and reduces stack consumption in functions that used to invoke rpc_call more than once. Test plan: Compile kernel with CONFIG_NFS enabled. Connectathon on NFS version 2, version 3, and version 4 mount points. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit cc0175c1dc1de8f6af0eb0631dcc5b999a6fcc42 tree b219a9c16f0ef3ff0982450c32aa0f09d503782a parent 4ece3a2d18fd7fe1d4972284a8c98c569020093f author Chuck Lever Mon, 20 Mar 2006 13:44:22 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:22 -0500 SUNRPC: display human-readable procedure name in rpc_iostats output Add fields to the rpc_procinfo struct that allow the display of a human-readable name for each procedure in the rpc_iostats output. Also fix it so that the NFSv4 stats are broken up correctly by sub-procedure number. NFSv4 uses only two real RPC procedures: NULL, and COMPOUND. Test plan: Mount with NFSv2, NFSv3, and NFSv4, and do "cat /proc/self/mountstats". Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 4ece3a2d18fd7fe1d4972284a8c98c569020093f tree bc71e99d3e4fcc7fc34fea911981f2692377f5b5 parent 11c556b3d8d481829ab5f9933a25d29b00913b5a author Chuck Lever Mon, 20 Mar 2006 13:44:22 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:22 -0500 NFS: add RPC I/O statistics to /proc/self/mountstats NFS client now shows various RPC I/O metrics in /proc/self/mountstats. Test plan: Mount/umount while doing "cat /proc/self/mountstats", multiple iterations of connectathon locking suite. Test with NFS version 2, 3, and 4. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 11c556b3d8d481829ab5f9933a25d29b00913b5a tree d1127fa5d22aeb035ca9977abbc73a29d5436fbe parent ef759a2e54ed434b2f72b52a14edecd6d4eadf74 author Chuck Lever Mon, 20 Mar 2006 13:44:22 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:22 -0500 SUNRPC: provide a mechanism for collecting stats in the RPC client Add a simple mechanism for collecting stats in the RPC client. Stats are tabulated during xprt_release. Note that per_cpu shenanigans are not required here because the RPC client already serializes on the transport write lock. Test plan: Compile kernel with CONFIG_NFS enabled. Basic performance regression testing with high-speed networking and high performance server. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ef759a2e54ed434b2f72b52a14edecd6d4eadf74 tree aa495ef4691387839146683dfae0f0084fbe6137 parent 262ca07de4d7f1bff20361c1353bb14b3607afb2 author Chuck Lever Mon, 20 Mar 2006 13:44:17 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:17 -0500 SUNRPC: introduce per-task RPC iostats Account for various things that occur while an RPC task is executed. Separate timers for RPC round trip and RPC execution time show how long RPC requests wait in queue before being sent. Eventually these will be accumulated at xprt_release time in one place where they can be viewed from userland. Test plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 262ca07de4d7f1bff20361c1353bb14b3607afb2 tree e448a66b4549bbd660f76e81da0067d762a4732e parent e19b63dafdf7d615b0d36b90990a07e7792b9d3a author Chuck Lever Mon, 20 Mar 2006 13:44:16 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:16 -0500 SUNRPC: add a handful of per-xprt counters Monitor generic transport events. Add a transport switch callout to format transport counters for export to user-land. Test plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit e19b63dafdf7d615b0d36b90990a07e7792b9d3a tree 45474992fd5d6a1f4c4c49068ec6383429618515 parent 67ec9f46b889bfb1ab0a4e307d53929d5f0692bf author Chuck Lever Mon, 20 Mar 2006 13:44:15 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:15 -0500 SUNRPC: track length of RPC wait queues RPC wait queue length will eventually be exported to userland via the RPC iostats interface. Test plan: Compile kernel with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 67ec9f46b889bfb1ab0a4e307d53929d5f0692bf tree fe9cb38a7ead5bf4894b22bdc10af5d513695781 parent 006ea73e5fa82915d0ac7a3f15ee7c688433236d author Chuck Lever Mon, 20 Mar 2006 13:44:15 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:15 -0500 NFS: report how long an NFS file system has been mounted Add a field in nfs_server to record a timestamp when a mount succeeds. Report the number of seconds the file system has been mounted via nfs_show_stats(). Test plan: Mount an NFS file system, watch the mountstats reports and compare with clock time. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 006ea73e5fa82915d0ac7a3f15ee7c688433236d tree 0f522982fe3d01a74f1ad9f5f713cbd10a6b09bd parent 91d5b47023b608227d605d1e916b29dd0215bff7 author Chuck Lever Mon, 20 Mar 2006 13:44:14 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:14 -0500 NFS: add hooks to account for NFSERR_JUKEBOX errors Make an inode or an nfs_server struct available in the logic that handles JUKEBOX/DELAY type errors so the NFS client can account for them. This patch is split out from the main nfs iostat patch to highlight minor architectural changes required to support this statistic. Test plan: None. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 91d5b47023b608227d605d1e916b29dd0215bff7 tree 31dbb285639ea68db3abc0c4129988f02d50f11a parent d9ef5a8c26aab09762afce43df64736720b4860e author Chuck Lever Mon, 20 Mar 2006 13:44:14 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:14 -0500 NFS: add I/O performance counters Invoke the byte and event counter macros where we want to count bytes and events. Clean-up: fix a possible NULL dereference in nfs_lock, and simplify nfs_file_open. Test-plan: fsx and iozone on UP and SMP systems, with and without pre-emption. Watch for memory overwrite bugs, and performance loss (significantly more CPU required per op). Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit d9ef5a8c26aab09762afce43df64736720b4860e tree 01ec0e16b19d7e418f26f1218113bb0f90b1a2e1 parent c8bded96aa8735823e53c95a26177987ebb19a90 author Chuck Lever Mon, 20 Mar 2006 13:44:13 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:13 -0500 NFS: introduce mechanism for tracking NFS client metrics Add a per-superblock performance counter facility to the NFS client. This facility mimics the counters available for block devices and for networking. Expose these new counters via the new /proc/self/mountstats interface. Thanks to Andrew Morton and Trond Myklebust for their review and comments. Test plan: fsx and iozone on UP and SMP systems, with and without pre-emption. Watch for memory overwrite bugs, and performance loss (significantly more CPU required per op). Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c8bded96aa8735823e53c95a26177987ebb19a90 tree 95c6c3f5ab5c331d12f986323175615862aff8cb parent 7a480e250c7ca9187275d8574ae9e48a6b602cb9 author Chuck Lever Mon, 20 Mar 2006 13:44:13 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:13 -0500 NFS: clean up some mount options Get rid of "lock" and "posix", and spell out "vers=". Test plan: None. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 7a480e250c7ca9187275d8574ae9e48a6b602cb9 tree 0c3744235b3469c10b791fc5cd80b82f9734d37b parent b4629fe2f094b719847f31be1ee5ab38300038b2 author Chuck Lever Mon, 20 Mar 2006 13:44:12 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:12 -0500 NFS: show retransmit settings when displaying mount options Sometimes it's important to know the exact RPC retransmit settings the kernel is using for an NFS mount point. Add this facility to the NFS client's show_options method. Test plan: Set various retransmit settings via the mount command, and check that the settings are reflected in /proc/mounts. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b4629fe2f094b719847f31be1ee5ab38300038b2 tree 158b3aabf291ef9462e3e02493fb4c45265f9e8e parent 1356b8c28d67cafd74f7e7dcfb39bf53681790a5 author Chuck Lever Mon, 20 Mar 2006 13:44:12 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:12 -0500 VFS: New /proc file /proc/self/mountstats Create a new file under /proc/self, called mountstats, where mounted file systems can export information (configuration options, performance counters, and so on). Use a mechanism similar to /proc/mounts and s_ops->show_options. This mechanism does not violate namespace security, and is safe to use while other processes are unmounting file systems. Thanks to Mike Waychison for his review and comments. Test-plan: Test concurrent mount/unmount operations while cat'ing /proc/self/mountstats. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 1356b8c28d67cafd74f7e7dcfb39bf53681790a5 tree d9139a8a6c672317363a4a15a3f7ef59bc494b7b parent 24bd68f46b1ad08d69bf32779f860df867780a7a author Levent Serinol Mon, 20 Mar 2006 13:44:11 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:11 -0500 SUNRPC: more verbose output for rpc auth weak error This patch adds server ip address to be printed out when "server requires stronger authentication" error occured. Signed-off-by: Levent Serinol Signed-off-by: Trond Myklebust commit 24bd68f46b1ad08d69bf32779f860df867780a7a tree 276d338a4de69ffc8d93ec22b0154a389081455e parent c9d5128a10a4974f72674ff3463da4db439e8b04 author Goldwyn Rodrigues Mon, 20 Mar 2006 13:44:11 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:11 -0500 NFS: Code comments update in NFS read_cache_mtime is no longer used in nfs_inode. This patch removes references of read_cache_mtime in the code comments. Signed-off-by: Goldwyn Rodrigues Signed-off-by: Trond Myklebust commit c9d5128a10a4974f72674ff3463da4db439e8b04 tree 304b277f5388e8285f56535db654051d0f4a2fc0 parent bd6475454c774bd9dbe6078d94bbf72b1d3b65f4 author Ingo Molnar Mon, 20 Mar 2006 13:44:11 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:11 -0500 NFS: sem2mutex idmap.c semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar Signed-off-by: Trond Myklebust commit bd6475454c774bd9dbe6078d94bbf72b1d3b65f4 tree 641c38589e2aa02a22db229be7d77c9c342a81cb parent a162a6b804b48c605d1fd35e1861a5d32d00ad3f author Eric Sesterhenn Mon, 20 Mar 2006 13:44:10 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:10 -0500 NFS: kzalloc conversion in fs/nfs this converts fs/nfs to kzalloc() usage. compile tested with make allyesconfig Signed-off-by: Eric Sesterhenn Signed-off-by: Trond Myklebust commit a162a6b804b48c605d1fd35e1861a5d32d00ad3f tree 50b6aa7f5da5e4c34da2f9d34b93c667c5d6c054 parent 967b9281361481aecf323563886ef972ee88c681 author Trond Myklebust Mon, 20 Mar 2006 13:44:10 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:10 -0500 NFSv4: Kill braindead gcc warnings nfs4_open_revalidate: 'res' may be used uninitialized nfs4_callback_compound: ‘hdr_res.nops’ may be used uninitialized 'op_nr’ may be used uninitialized encode_getattr_res: ‘savep’ may be used uninitialized Signed-off-by: Trond Myklebust commit 967b9281361481aecf323563886ef972ee88c681 tree de7ced8972fdff5011d43a6fe24c2c7ac7cc0cb6 parent 12de3b35ea549c5819f287508d7afab0bf3ac44d author Trond Myklebust Mon, 20 Mar 2006 13:44:09 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:09 -0500 NFSv4: Do not call rpciod_down() before call to destroy_nfsv4_state() The reason is that the idmapper cleanup may call flush_workqueue() on rpciod_workqueue. Signed-off-by: Trond Myklebust commit 12de3b35ea549c5819f287508d7afab0bf3ac44d tree c1b7f96236c4b19bcd911705017bf31bcbc2b605 parent 24c5d9d7ea5a64fb5f157d17aa2c67a3300f8a08 author Trond Myklebust Mon, 20 Mar 2006 13:44:09 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:09 -0500 SUNRPC: Ensure that rpc_mkpipe returns a refcounted dentry If not, we cannot guarantee that idmap->idmap_dentry, gss_auth->dentry and clnt->cl_dentry are valid dentries. Signed-off-by: Trond Myklebust commit 24c5d9d7ea5a64fb5f157d17aa2c67a3300f8a08 tree 8bb08d685a2f4a64a235561498f9113182b411dc parent f344f6df4b2baa3e5c553c461735dfaf92f44be7 author Trond Myklebust Mon, 20 Mar 2006 13:44:08 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:08 -0500 SUNRPC: Run rpci->queue_timeout on the rpciod workqueue instead of generic Signed-off-by: Trond Myklebust commit f344f6df4b2baa3e5c553c461735dfaf92f44be7 tree bf8acb09763c5f5f87d8c23047b8ecbb826dd385 parent fb374d24f225f38f13dbffb65dd7ec72daf08dba author Olaf Kirch Mon, 20 Mar 2006 13:44:08 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:08 -0500 SUNRPC: Auto-load RPC authentication kernel modules This patch adds a request_module call to rpcauth_create which will try to auto-load the kernel module for the requested authentication flavor. For kernels with modular sunrpc, this reduces the admin overhead for the user. Signed-off-by: Olaf Kirch Signed-off-by: Trond Myklebust commit fb374d24f225f38f13dbffb65dd7ec72daf08dba tree bc87f6acbcb7a36ccb69930a6d10deed4fd1514a parent c8d149f3dbd582a101aa7da7bdd6c3316efd11b4 author Trond Myklebust Mon, 20 Mar 2006 13:44:08 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:08 -0500 NFS: reduce the number of false cache invalidations. Signed-off-by: Trond Myklebust commit c8d149f3dbd582a101aa7da7bdd6c3316efd11b4 tree 51f1d97f02ffb7e02d6f7534ab9c9fce5fa6dc20 parent ca62b9c3f7b8679ada4de94d2ab7098c6860c3d7 author Jesper Juhl Mon, 20 Mar 2006 13:44:07 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:07 -0500 NFS: "const static" vs "static const" in nfs4 My previous "const static" vs "static const" cleanup missed a single case, patch below takes care of it. Signed-off-by: Jesper Juhl Signed-off-by: Trond Myklebust commit ca62b9c3f7b8679ada4de94d2ab7098c6860c3d7 tree c4eb7adef74b2ccdf5b928f698d80f6cdcb6f708 parent 755c1e20cd2ad56e5c567fa05769eb98a3eef72b author Trond Myklebust Mon, 20 Mar 2006 13:44:07 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:07 -0500 NFSv4: Don't invalidate cached attributes if change attribute is unchanged Signed-off-by: Trond Myklebust commit 755c1e20cd2ad56e5c567fa05769eb98a3eef72b tree afc643f89b342011af6a14ee24b999f9106f6c2b parent 7bab377fcb495ee2e5a1cd69d235f8d84c76e3af author Trond Myklebust Mon, 20 Mar 2006 13:44:06 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:06 -0500 NFS: writes should not clobber utimes() calls Ensure that we flush out writes in the case when someone calls utimes() in order to set the file times. Signed-off-by: Trond Myklebust commit 7bab377fcb495ee2e5a1cd69d235f8d84c76e3af tree 67f03fbc543632ccf71075af250635201b43801b parent 36943fa4b2701b9ef2d60084c85ecbe634aec252 author Trond Myklebust Mon, 20 Mar 2006 13:44:06 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:06 -0500 lockd: Don't expose the process pid to the NLM server Instead we use the nlm_lockowner->pid. Signed-off-by: Trond Myklebust commit 36943fa4b2701b9ef2d60084c85ecbe634aec252 tree a234dbfff1f7d46a8202e0666ac7666d39b420ae parent 47831f35b83e43c804215712dd0c834c92e8a441 author Trond Myklebust Mon, 20 Mar 2006 13:44:05 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:05 -0500 NLM: nlm_alloc_call should not immediately fail on signal Currently, nlm_alloc_call tests for a signal before it even tries to allocate memory. Fix it so that it tries at least once. Signed-off-by: Trond Myklebust commit 47831f35b83e43c804215712dd0c834c92e8a441 tree 3345007cf56b73495386a59deb6e3d7caf01f875 parent 1dd594b21b2d98e56f2b1fe92bb222276b28de41 author Trond Myklebust Mon, 20 Mar 2006 13:44:05 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:05 -0500 VFS: Fix __posix_lock_file() copy of private lock area The struct file_lock->fl_u area must be copied using the fl_copy_lock() operation. Signed-off-by: Trond Myklebust commit 1dd594b21b2d98e56f2b1fe92bb222276b28de41 tree c11a062713429112f162dc986a1b4002b0da1c83 parent cd52ed35535ef443f08bf5cd3331d350272885b8 author Neil Brown Mon, 20 Mar 2006 13:44:04 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:04 -0500 NFS: Fix buglet in fs/nfs/write.c I've been reading through fs/nfs/write.c trying to track down a bug that seems to be related to pages loosing a refcount and getting freed too early (you interested in detail??) and I spotted a little bug which the following patch should fix. Signed-off-by: Neil Brown Signed-off-by: Trond Myklebust commit cd52ed35535ef443f08bf5cd3331d350272885b8 tree 135c3a80b21ce478816229dc82586b12754eb49f parent b92dccf65bab3b6b7deb79ff3321dc256eb0f53b author Trond Myklebust Mon, 20 Mar 2006 13:44:04 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:04 -0500 NFS: Avoid races between writebacks and truncation Currently, there is no serialisation between NFS asynchronous writebacks and truncation at the page level due to the fact that nfs_sync_inode() cannot lock the pages that it is about to write out. This means that it is possible to be flushing out data (and calling something like set_page_writeback()) while the page cache is busy evicting the page. Oops... Use the hooks provided in try_to_release_page() to ensure that dirty pages are always written back to storage before we evict them. Signed-off-by: Trond Myklebust commit b92dccf65bab3b6b7deb79ff3321dc256eb0f53b tree 78a1436441bdfc1c2cc7928d9fdff50c0579013f parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Trond Myklebust Mon, 20 Mar 2006 13:44:03 -0500 committer Trond Myklebust Mon, 20 Mar 2006 13:44:03 -0500 NFS: Fix a busy inodes issue... The nfs_open_context may live longer than the file descriptor that spawned it, so it needs to carry a reference to the vfsmount. If not, then generic_shutdown_super() may end up being called before reads and writes have been flushed out. Make a couple of functions static while we're at it... Signed-off-by: Trond Myklebust commit 88dcb91177cfa5b26143a29074389a2aa259c7cf tree 4906b9712a797b5805aa00fc0f766b27b7432005 parent c7cace6437b2f8bbab5ef05b465738283a9a100a parent c5111f504d2a9b0d258d7c4752b4093523315989 author Linus Torvalds Mon, 20 Mar 2006 10:32:33 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:32:33 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6: JFS: add uid, gid, and umask mount options JFS: Take logsync lock before testing mp->lsn JFS: kzalloc conversion JFS: Add missing file from fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 JFS: Use the kthread_ API JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute JFS: ext2 inode attributes for jfs JFS: semaphore to mutex conversion. JFS: make buddy table static JFS: Add back directory i_size calculations for legacy partitions commit c7cace6437b2f8bbab5ef05b465738283a9a100a tree 304a7dca0354eaa8ac21aa05cd287e317fa21b8c parent a90779bfc83b7489270a8ce2c3fc9df20dac2b24 parent 2e9ff56efbc005ab2b92b68df65940c7459446c6 author Linus Torvalds Mon, 20 Mar 2006 10:30:31 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:30:31 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (150 commits) [PATCH] ipw2100: Update version ipw2100 stamp to 1.2.2 [PATCH] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h [PATCH] ipw2100: semaphore to mutexes conversion [PATCH] ipw2100: Fix radiotap code gcc warning [PATCH] ipw2100: add radiotap headers to packtes captured in monitor mode [PATCH] ipw2x00: expend Copyright to 2006 [PATCH] drivers/net/wireless/ipw2200.c: fix an array overun [PATCH] ieee80211: Don't update network statistics from off-channel packets. [PATCH] ipw2200: Update ipw2200 version stamp to 1.1.1 [PATCH] ipw2200: switch to the new ipw2200-fw-3.0 image format [PATCH] ipw2200: wireless extension sensitivity threshold support [PATCH] ipw2200: Enables the "slow diversity" algorithm [PATCH] ipw2200: Set a meaningful silence threshold value [PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG [PATCH] ipw2200: Change debug level for firmware error logging [PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode [PATCH] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment [PATCH] ipw2200: Fix rf_kill is activated after mode change with 'disable=1' [PATCH] ipw2200: remove the WPA card associates to non-WPA AP checking [PATCH] ipw2200: Add signal level to iwlist scan output ... commit a90779bfc83b7489270a8ce2c3fc9df20dac2b24 tree 53a41d0e419024619c621facb2baf6e782e16f35 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 parent e572ec7e4e432de7ecf7bd2e62117646fa64e518 author Linus Torvalds Mon, 20 Mar 2006 10:28:51 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:28:51 -0800 Merge branch 'block-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/block * 'block-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/block: [PATCH] fix rmmod problems with elevator attributes, clean them up [PATCH] elevator_t lifetime rules and sysfs fixes [PATCH] noise removal: cfq-iosched.c [PATCH] don't bother with refcounting for cfq_data [PATCH] fix sysfs interaction and lifetime rules handling for queues [PATCH] regularize blk_cleanup_queue() use [PATCH] fix cfq_get_queue()/ioprio_set(2) races [PATCH] deal with rmmod/put_io_context() races [PATCH] stop elv_unregister() from rogering other iosched's data, fix locking [PATCH] stop cfq from pinning queue down [PATCH] make cfq_exit_queue() prune the cfq_io_context for that queue [PATCH] fix the exclusion for ioprio_set() [PATCH] keep sync and async cfq_queue separate [PATCH] switch to use of ->key to get cfq_data by cfq_io_context [PATCH] stop leaking cfq_data in cfq_set_request() [PATCH] fix cfq hash lookups [PATCH] fix locking in queue_requests_store() [PATCH] fix double-free in blk_init_queue_node() [PATCH] don't do exit_io_context() until we know we won't be doing any IO commit fd02e8038eb943755e8727a0ea193c037a51714f tree 597dc0e67899c445ac85fc5b7ae8a151ca4491ee parent bfef73fa78ca1e56175dcbd33aa11de4764f85a5 author Eli Cohen Mon, 13 Mar 2006 14:33:01 +0200 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IB/mthca: Query SRQ srq_limit fixes Fix endianness handling of srq_limit: it is big-endian in the context structure, so we need to swab it before returning it. Also add support for srq_limit query for Tavor (non-MemFree) HCAs. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit bfef73fa78ca1e56175dcbd33aa11de4764f85a5 tree 4d0021bcdd8e27891f2e1e1caa2b0c97f7c91d1d parent e10e271bfd295bf805dc294460868e1deb938211 author Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IPoIB: Get rid of useless test of queue length In neigh_add_path(), the queue of delayed packets can never be full, because the queue is always freshly created and cannot be found by any other code path. In fact, the test of the queue length is worse than useless: if somehow the test ever triggered and path_rec_start() also failed, then dev_kfree_skb_any() will be called twice on the same skb. Fix this by deleting the useless test. Pointed out by Michael S. Tsirkin . Signed-off-by: Roland Dreier commit e10e271bfd295bf805dc294460868e1deb938211 tree d2821657636e831e602f86baeabc3523a8e41285 parent dc05980dd736bfbe5b2524b463e5f098e67a64e9 author Dotan Barak Mon, 20 Mar 2006 10:08:26 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IB/mthca: Correct reported SRQ size in MemFree case. MemFree devices need to reserve one shared receive queue (SRQ) work request for internal use, so the capacity returned from the create_srq and query_srq methods should be srq->max - 1. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit dc05980dd736bfbe5b2524b463e5f098e67a64e9 tree 87f212e24ee4362a5e670418b32bd0c959d3f1c6 parent bf17c1c7cc9250d7c3c01b0ae898aefa1853535a author Michael S. Tsirkin Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/mad: Fix oopsable race on device removal Fix an oopsable race debugged by Eli Cohen : After removing the port from port_list, ib_mad_port_close flushes port_priv->wq before destroying the special QPs. This means that a completion event could arrive, and queue a new work in this work queue after flush. This patch also removes an unnecessary flush_workqueue(): destroy_workqueue() already includes a flush. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit bf17c1c7cc9250d7c3c01b0ae898aefa1853535a tree 95c534eed9c2b188c28681a87690a759c876c30c parent 6b63e3015a69dd8aa5534e23af9f132a021da02e author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/srp: Coverity fix to srp_parse_options() Fix leak found by Coverity: in the SRP_OPT_DGID case, srp_parse_options() didn't free the result of match_strdup(). Signed-off-by: Roland Dreier commit 6b63e3015a69dd8aa5534e23af9f132a021da02e tree 58c8ffeaf4a46e4ac5af98ebbaae7543c43561a9 parent 048975ac580a771fc5bb96c6b454cba897ab1a73 author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/mthca: Coverity fix to mthca_init_eq_table() Fix bug found by coverity: the loop body never executed, because it was doing for (i = 0; i < MTHCA_EQ_CMD; ++i), but MTHCA_EQ_CMD is 0. The correct loop bound is MTHCA_NUM_EQ, to loop over all EQs. Signed-off-by: Roland Dreier commit 048975ac580a771fc5bb96c6b454cba897ab1a73 tree 32405003b3cb78a3e2ccf765868f60a273c1313b parent 0b3ea0829cbcdaee6e018a83a2949ef458213f3b author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB: Coverity fixes to sysfs.c Fix two bugs found by coverity: - Memory leak in error path of alloc_group_attrs() - Fencepost error in state_show(): the test should be < ARRAY_SIZE(), not <= ARRAY_SIZE(). Signed-off-by: Roland Dreier commit 0b3ea0829cbcdaee6e018a83a2949ef458213f3b tree 3e86dc70e4b71b1de1e9ab2df319b014dd242f7c parent 8b9ab02b690e988f19c9d740ef642d7d833d23d5 author Jack Morgenstein Mon, 20 Mar 2006 10:08:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IPoIB: Move ipoib_ib_dev_flush() to ipoib workqueue Move ipoib_ib_dev_flush() to ipoib's workqueue. This keeps it ordered with respect to other work scheduled by the ipoib driver. This fixes problems with races, for example: - ipoib_ib_dev_flush() has started running because of an IB event - user does ifconfig ib0 down - ipoib_mcast_stop_thread() gets called twice and waits for the same completion twice Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8b9ab02b690e988f19c9d740ef642d7d833d23d5 tree e72a12094911f4c0c4fe5ed7769be047763bc103 parent 702b2aaccfbf0fa29c6ffb423a39a7a5573f793a author Roland Dreier Tue, 07 Mar 2006 11:21:08 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IPoIB: Fix build now that neighbour destructor is in neigh_params Fix the IPoIB build (which is broken in net-2.6.17 because of my screw-up, which left out this chunk in ipoib_multicast.c). The neighbour destructor is now in neigh_params, so we don't need to clear it in the ops structure. Signed-off-by: Roland Dreier commit 702b2aaccfbf0fa29c6ffb423a39a7a5573f793a tree 3e4863f5d4dc73d813b13e99d97cfd33c8789d03 parent f36e1793e25513380cae5958a9164d4cc4458ad0 author Ami Perlmutter Mon, 20 Mar 2006 10:08:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IB/uverbs: Use correct alt_pkey_index in modify QP The old code incorrectly used the primary P_Key index as the alternate index too. Signed-off-by: Ami Perlmutter Signed-off-by: Roland Dreier commit f36e1793e25513380cae5958a9164d4cc4458ad0 tree aa31d34ee07971645af6f21068709166420caee2 parent 6ecb0c849625e830ab96495d473bb704812c30e1 author Jack Morgenstein Fri, 03 Mar 2006 21:54:13 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/umad: Add support for large RMPP transfers Add support for sending and receiving large RMPP transfers. The old code supports transfers only as large as a single contiguous kernel memory allocation. This patch uses linked list of memory buffers when sending and receiving data to avoid needing contiguous pages for larger transfers. Receive side: copy the arriving MADs in chunks instead of coalescing to one large buffer in kernel space. Send side: split a multipacket MAD buffer to a list of segments, (multipacket_list) and send these using a gather list of size 2. Also, save pointer to last sent segment, and retrieve requested segments by walking list starting at last sent segment. Finally, save pointer to last-acked segment. When retrying, retrieve segments for resending relative to this pointer. When updating last ack, start at this pointer. Signed-off-by: Jack Morgenstein Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6ecb0c849625e830ab96495d473bb704812c30e1 tree 7f482334cd05121ed96f8c17353f8a6ae73a85f9 parent 87fd1a11ae91ab42fac978467667c61fee9f01da author Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/srp: Add SCSI host attributes to show target port Add SCSI host attributes in sysfs that show the ID extension, IOC GUID, service ID, P_Key and destination GID for each target port that the SRP initiator connects to. Signed-off-by: Roland Dreier commit 87fd1a11ae91ab42fac978467667c61fee9f01da tree 856c3ca67426211ac229b87bea31d8b1a3154840 parent 6226bb570184eb6c645e047d2aecbce8c0442e3e author Sean Hefty Thu, 02 Mar 2006 16:50:37 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/cm: Check cm_id state before handling a REP Move checking the state of a cm_id before modifying it when handling a REP. This fixes a bug seen under MPI scale-up testing, where a NULL timewait_info pointer is dereferenced if a request times out before a REP is received. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6226bb570184eb6c645e047d2aecbce8c0442e3e tree 39e7e101fbaf1816d1280e1d9be9f08bb7ff60ba parent 651eaac92894f8b6761c51b6637ea9cacea7fba2 author Roland Dreier Thu, 02 Mar 2006 13:56:37 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:22 -0800 IB/mthca: Update firmware versions Update known firmware versions in driver's table to the latest releases. Signed-off-by: Roland Dreier commit 651eaac92894f8b6761c51b6637ea9cacea7fba2 tree 8be06461ef870b7d130ebce39f55fe93af6ac542 parent 27d56300647f6e76847bc2407d7abc782fe87495 author Eli Cohen Thu, 02 Mar 2006 12:40:46 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:22 -0800 IB/mthca: Optimize large messages on Sinai HCAs Sinai (one-port PCI Express) HCAs get improved throughput for messages bigger than 80 KB in DDR mode if memory keys are formatted in a specific way. The enhancement only works if the memory key table is smaller than 2^24 entries. For larger tables, the enhancement is off and a warning is printed (to avoid silent performance loss). Signed-off-by: Eli Cohen Signed-off-by: Michael Tsirkin Signed-off-by: Roland Dreier commit 27d56300647f6e76847bc2407d7abc782fe87495 tree 58e63c3f4271e65807e8508944306a7c227aa987 parent 4546d31d84beafe74c56651173ac4fe197c7de8b author Dotan Barak Thu, 02 Mar 2006 11:25:27 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:21 -0800 IB/uverbs: Fix query QP return of sq_sig_all The old code didn't convert from the kernel's enum correctly. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 4546d31d84beafe74c56651173ac4fe197c7de8b tree 5196b616386b05c4a64ce8e70e78ca5e2b27fbb2 parent 9acf6a8570dcfc9f55724b8b71099fc8768e8c26 author Dotan Barak Thu, 02 Mar 2006 11:22:28 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:20 -0800 IB: Fix modify QP checking of "current QP state" attribute According to the IB spec version 1.2, section 11.2.4.2, the current table has a couple of mistakes where it allows the current QP state (IB_QP_CUR_STATE) attribute. For the transitions: RTS -> RTS: IB_QP_CUR_STATE should be allowed for all transports SQD -> SQD: IB_QP_CUR_STATE should never be allowed Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 9acf6a8570dcfc9f55724b8b71099fc8768e8c26 tree 5b265bf0474f321722d2690b5b5dc57cde80690e parent 54d07e2a1ead2f093ce054cda2e0f5ec163c650c author Michael S. Tsirkin Thu, 02 Mar 2006 11:07:47 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:20 -0800 IPoIB: Fix multicast race between canceling and completing ipoib_mcast_stop_thread currently tests mcast->query and if it is NULL, does not perform wait_for_completion on the mcast and frees the mcast object directly. However, since both operations are done without locking, it is possible that ipoib_mcast_join_complete is in progress on this mcast object and has set mcast->query to NULL already. Solve this by: - taking priv->lock before we change mcast->query in ipoib_mcast_join_complete, and keeping it until we no longer need the mcast object - taking priv->lock around mcast->query test in ipoib_mcast_stop_thread Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 54d07e2a1ead2f093ce054cda2e0f5ec163c650c tree 0d5d495d25506839bd8bec0c8da092ca8b007202 parent 8d3ef29d6be1e750512e0a9dbea6225290b81d0a author Eli Cohen Thu, 02 Mar 2006 11:05:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:19 -0800 IPoIB: Clean up if posting receives fails If posting receives in ipoib_ib_dev_open() fails, call ipoib_ib_dev_stop() to move the device's QP back to the RESET state so that we can try again later. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8d3ef29d6be1e750512e0a9dbea6225290b81d0a tree 9384d9275d5122574665db18b5196f9c9a96d7ac parent 67e7377661db4e341ed5e9a0358d11a55e532aa8 author Ishai Rabinovitz Wed, 01 Mar 2006 22:33:11 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:19 -0800 IB/mthca: Use an enum for HCA page size Use a named enum for the HCA's internal page size, rather than having magic values of 4096 and shifts by 12 all over the code. Also, fix one minor bug in EQ handling: only one HCA page is mapped to the HCA during initialization, but a full kernel page is unmapped during cleanup. This might cause problems when PAGE_SIZE != 4096. Signed-off-by: Ishai Rabinovitz Signed-off-by: Roland Dreier commit 67e7377661db4e341ed5e9a0358d11a55e532aa8 tree ccc47340a8a0be951b65aec8f90f099eecdb181d parent 7667abd1528782003d8b83c54756523ec547af6e author Dotan Barak Wed, 01 Mar 2006 14:28:12 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IB/mthca: Check alternate P_Key index when setting alternate path Check that the alternate P_Key index is in range when setting the alternate path for a QP. Also make a cosmetic touch up to the debug message printed when the main P_Key index is out of range. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 7667abd1528782003d8b83c54756523ec547af6e tree c0f1bb5ff87388cc8be6ca6e23a7bc013b52d589 parent 7343b231f22cec11f069bcdbb0c9a417df2750d3 author Dotan Barak Mon, 27 Feb 2006 21:02:00 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IB/mthca: Add support for send work request fence flag Add support for IB_SEND_FENCE flag in post_send methods. Signed-off-by: Dotan Barak Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 7343b231f22cec11f069bcdbb0c9a417df2750d3 tree 3b72ba5f585fcab8271dc4be046b3bd447852847 parent 1d89b1ae6c203bc68a3f424be144abcdf62773c9 author Eli Cohen Mon, 27 Feb 2006 20:47:43 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IPoIB: Close race in setting mcast->ah ipoib_mcast_send() tests mcast->ah twice. If this value is changed between these two points, we leak an skb. However, ipoib_mcast_join_finish() sets mcast->ah with no locking, so it could race against ipoib_mcast_send(). As a solution, take priv->lock around assignment to mcast->ah thus making sure ipoib_mcast_send() (which also takes priv->lock) is not in flight. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 1d89b1ae6c203bc68a3f424be144abcdf62773c9 tree 9d1979c98843ba7d18f6272f13ea06c2591ee8d5 parent 14abdffcc0a0ca9c5bb3274648d073e09a6fd2ba author Jack Morgenstein Sun, 26 Feb 2006 16:05:59 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:17 -0800 IB/mthca: Implement query_ah method Implement query_ah (except for AVs which are in HCA memory). This is needed to implement RMPP duplicate session detection on sending side (extraction of DGID/DLID and GRH flag from address handle). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 14abdffcc0a0ca9c5bb3274648d073e09a6fd2ba tree fe934450412ed70f627e9d98bb881b03c7b31222 parent ea88fd16d6e85f4bc71b6053180b64f04be1ff14 author Eli Cohen Sun, 26 Feb 2006 14:36:06 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:17 -0800 IB/mthca: Write FW commands through doorbell page This patch is checks whether the HCA supports posting FW commands through a doorbell page (user access region 0, or "UAR0"). If this is supported, the driver maps UAR0 and uses it for FW commands. This can be controlled by the value of a writable module parameter fw_cmd_doorbell. When the parameter is 0, the commands are posted through HCR using the old method; otherwise if HCA is capable commands go through UAR0. This use of UAR0 to post commands eliminates the need for polling the "go" bit prior to posting a new command. Since reading from a PCI device is much more expensive then issuing a posted write, it is expected that issuing FW commands this way will provide better CPU utilization. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit ea88fd16d6e85f4bc71b6053180b64f04be1ff14 tree ea0f02aca9bb83f636e60002a9f98f9dab6d57e0 parent abb6e9ba17eb133ab385d0f9017fa8afa809d52a author Dotan Barak Thu, 23 Feb 2006 12:36:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/uverbs: Return actual capacity from create SRQ operation Pass actual capacity of created SRQ back to userspace, so that userspace can report accurate capacities. This requires an ABI bump, to change struct ib_uverbs_create_srq_resp. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit abb6e9ba17eb133ab385d0f9017fa8afa809d52a tree 6cab0a44a1cb439c3c204149d44e6295320e5de7 parent 44af79f9524c29d6850591cc972f2667a27234d4 author Dotan Barak Thu, 23 Feb 2006 12:13:51 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/mthca: Return actual capacity from create_srq Have mthca's create_srq method return the actual capacity of the SRQ that gets created. Also update comments in to clarify that this is what is expected from ib_create_srq(). Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 44af79f9524c29d6850591cc972f2667a27234d4 tree 8d88bdbd7c3fd015c692792bf1fcd3600ba0c275 parent 4d9781c5ce1a517a07dbf03c37323c011037fe79 author Michael S. Tsirkin Mon, 20 Feb 2006 21:50:39 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IPoIB: clarify to_ipoib_neigh() Cosmetic change: make alignment explicit in to_ipoib_neigh. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 4d9781c5ce1a517a07dbf03c37323c011037fe79 tree 68ad197f6ced067ab8c29294d156ee6e2e04da4e parent 00df1b2c8b1f07e02a74e2d10b176f29395ce7d2 author Roland Dreier Thu, 16 Feb 2006 09:26:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/uverbs: Fix alignment of struct ib_uverbs_create_qp_resp The size of struct ib_uverbs_create_qp_resp is not even multiple of 8 bytes. This causes problems for low-level drivers that add private data after the structure: 32-bit userspace will look in the wrong place for a response from a 64-bit kernel. Fix this by adding a reserved field. Also, bump the ABI version because this changes the size of a structure. Pointed out by Hoang-Nam Nguyen . Signed-off-by: Roland Dreier commit 00df1b2c8b1f07e02a74e2d10b176f29395ce7d2 tree b31cb90c60b5abc91e0cff2e39538d1c6524834f parent 8ebe5077e37a0cb0da527e397460188e6bfdd3ee author Roland Dreier Mon, 13 Feb 2006 17:21:09 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:15 -0800 IB/mthca: Bump driver version and release date Signed-off-by: Roland Dreier commit 8ebe5077e37a0cb0da527e397460188e6bfdd3ee tree 401491fb7a94516dfbeeee027d8eeb294117cb5b parent 8bdb0e8632e0f5061bd18b6934346cb609490135 author Eli Cohen Mon, 13 Feb 2006 16:40:21 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:15 -0800 IB/mthca: Support for query QP and SRQ Implement the query_qp and query_srq methods in mthca. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit 8bdb0e8632e0f5061bd18b6934346cb609490135 tree baa94a9ad7c97f4c025452ffbba2b7f6d8cc0af2 parent 7ccc9a24e01258a31ee2b964215e4ddddd2a02c4 author Dotan Barak Mon, 13 Feb 2006 16:31:57 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:14 -0800 IB/uverbs: Support for query SRQ from userspace Add support to uverbs to handle querying userspace SRQs (shared receive queues), including adding an ABI for marshalling requests and responses. The kernel midlayer already has the underlying ib_query_srq() function. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 7ccc9a24e01258a31ee2b964215e4ddddd2a02c4 tree 486ab72c62f42952309ea764bc6bd30f56e87522 parent a74cd4af0bfa9578594acbb711a958104c93b772 author Dotan Barak Mon, 13 Feb 2006 16:31:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:14 -0800 IB/uverbs: Support for query QP from userspace Add support to uverbs to handle querying userspace QPs (queue pairs), including adding an ABI for marshalling requests and responses. The kernel midlayer already has the underlying ib_query_qp() function. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit a74cd4af0bfa9578594acbb711a958104c93b772 tree 070e951014aa396b472d3b17df81e6665bd5a4c5 parent d844183d9c7b103da1d7a1c753a1c171e9ce26b3 author Roland Dreier Mon, 13 Feb 2006 16:30:49 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:13 -0800 IB: Whitespace cleanups Remove trailing whitespace and fix indentation that with spaces instead of tabs. Signed-off-by: Roland Dreier commit d844183d9c7b103da1d7a1c753a1c171e9ce26b3 tree 5bd7ca0feaae115b2f487e20fcd0fa75f76a16d9 parent 8a51866f08103ba04894ce0f65eef567ddc3ed40 author Roland Dreier Mon, 13 Feb 2006 16:30:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:13 -0800 IB/mthca: Convert to use ib_modify_qp_is_ok() Use ib_modify_qp_is_ok() in mthca, and delete the big table of attributes for queue pair state transitions. Signed-off-by: Roland Dreier commit 8a51866f08103ba04894ce0f65eef567ddc3ed40 tree 39af79ce5995900c14610acc768850a749961ee9 parent 3fa1fa3e809dc009a080ca9f052cee2e17836c63 author Roland Dreier Mon, 13 Feb 2006 12:48:12 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:12 -0800 IB: Add ib_modify_qp_is_ok() library function The in-kernel mthca driver contains a table of which attributes are valid for each queue pair state transition. It turns out that both other IB drivers -- ipath and ehca -- which are being prepared for merging have copied this table, errors and all. To forestall this code duplication, move this table and the code to check parameters against it into a midlayer library function, ib_modify_qp_is_ok(). Signed-off-by: Roland Dreier commit 3fa1fa3e809dc009a080ca9f052cee2e17836c63 tree 471bc486f70e8cd4d3950b0ff256f12db057b951 parent 5e9f71a16c56af7e2ff8b7ea251e0fd90b5de560 author Roland Dreier Fri, 03 Feb 2006 14:53:28 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:12 -0800 IB/mthca: Generate SQ drained events when requested Add low-level driver support to ib_mthca so that consumers can request a "send queue drained" event be generated when a transiton to the SQD state completes. Signed-off-by: Roland Dreier commit 5e9f71a16c56af7e2ff8b7ea251e0fd90b5de560 tree d3b6aba0640173d0ce760140650dad51a76f9501 parent 5f0b67e0d5c2807337b8fee4aa71b05f4f641534 author Ralph Campbell Fri, 03 Feb 2006 14:32:01 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:11 -0800 IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() The call to ib_get_agent_port() shouldn't be possible to fail when smi_check_local_dr_smp() is called from ib_mad_recv_done_handler(). When it is called from handle_outgoing_dr_smp(), the device and port_num come from mad_agent_priv so I assume the call to ib_get_agent_port() shouldn't fail either. In either case, smi_check_local_smp() only uses the mad_agent pointer to check that mad_agent->device->process_mad is not NULL. The device pointer would have to be the same as the one passed to smi_check_local_dr_smp() since that pointer is used later instead of the one checked in smi_check_local_smp(). Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 5f0b67e0d5c2807337b8fee4aa71b05f4f641534 tree 7fa82fdc250aa862366296adb3087e2f30f4d4a1 parent d36f34aadf184d8cc4c240de2b6319ccea8334bb author Ralph Campbell Fri, 03 Feb 2006 14:30:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:11 -0800 IB/mad: Remove redundant check from smi_check_local_dr_smp() smi_check_local_dr_smp() is called only from two places in core/mad.c It returns 0 or 1. In smi_check_local_dr_smp(), it checks for a directed route SMP but this function is only called when the SMP is a directed route so this is a NOP. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit d36f34aadf184d8cc4c240de2b6319ccea8334bb tree 20b7a77e03f3c75c9043a50ddd720a31048efa99 parent 6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8 author Or Gerlitz Thu, 02 Feb 2006 10:43:45 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:10 -0800 IB: Enable FMR pool user to set page size This patch allows the consumer to set the page size of "pages" mapped by the pool FMRs, which is a feature already existing in the base verbs API. On the cosmetic side it changes ib_fmr_attr.page_size field to be named page_shift. Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier commit 6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8 tree f4918637c0d7c4b5c7fe4a4deb84e44ed3663dc6 parent c5bcbbb9fe00128d500c2f473d5ddc8d8c2c53a7 author Roland Dreier Thu, 02 Feb 2006 10:04:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:10 -0800 IB/mthca: Add modify_device method to set node description Add a modify_device method to mthca, which implements setting the node description. This makes the writable "node_desc" sysfs attribute work for Mellanox HCAs. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit c5bcbbb9fe00128d500c2f473d5ddc8d8c2c53a7 tree c4a6feac1bc1dfd9e2fbe88c8e6ad1db4a47a817 parent 2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625 author Roland Dreier Thu, 02 Feb 2006 09:47:14 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:09 -0800 IB: Allow userspace to set node description Expose a writable "node_desc" sysfs attribute for InfiniBand devices. This allows userspace to update the node description with information such as the node's hostname, so that IB network management software can tie its view to the real world. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625 tree 6cb2693d8e10a903d78e236e90645fc6df28c9b3 parent 4885bf64bc2eb242ebebe67077cfe3688283b586 author Roland Dreier Wed, 01 Feb 2006 13:38:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:09 -0800 IB/mthca: Whitespace cleanups Remove trailing whitespace and fix indentation that with spaces instead of tabs. Signed-off-by: Roland Dreier commit 4885bf64bc2eb242ebebe67077cfe3688283b586 tree ed40e3eb7c05e923919f1e8ef2a9186b32c916a4 parent 33b9b3ee9709b19c4f02ab91571d53540d05c3d1 author Roland Dreier Mon, 30 Jan 2006 14:31:33 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:08 -0800 IB/mthca: Add device-specific support for resizing CQs Add low-level driver support for resizing CQs (both kernel and userspace) to mthca. Signed-off-by: Roland Dreier commit 33b9b3ee9709b19c4f02ab91571d53540d05c3d1 tree 2d1019e9b8bf63e4235d7c73fd78ab294b993de2 parent 399d7921299fc4f146bd62bfa6312382a5429bcc author Roland Dreier Mon, 30 Jan 2006 14:29:21 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB: Add userspace support for resizing CQs Add support to uverbs to handle resizing userspace CQs (completion queues), including adding an ABI for marshalling requests and responses. The kernel midlayer already has ib_resize_cq(). Signed-off-by: Roland Dreier commit 399d7921299fc4f146bd62bfa6312382a5429bcc tree f7ddfa33ef532e887b3028fd5259b2ce5e26188e parent d9b98b0f11ee7dd39429001ba289f095b9d66917 author Roland Dreier Tue, 31 Jan 2006 21:14:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB/mthca: Get rid of might_sleep() annotations The might_sleep() annotations in mthca are silly -- they all occur shortly before calls that will end up in core functions like kmalloc() that will print the same warning in an unsafe context anyway. In fact, beyond cluttering the source, we're actually bloating text with CONFIG_DEBUG_SPINLOCK_SLEEP and/or CONFIG_PREEMPT_VOLUNTARY set. With both options set, getting rid of the might_sleep()s saves a lot: add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-171 (-171) function old new delta mthca_pd_alloc 132 109 -23 mthca_init_cq 969 946 -23 mthca_mr_alloc 592 568 -24 mthca_pd_free 67 42 -25 mthca_free_mr 219 194 -25 mthca_free_cq 570 545 -25 mthca_fmr_alloc 742 716 -26 Signed-off-by: Roland Dreier commit d9b98b0f11ee7dd39429001ba289f095b9d66917 tree c473a7b348640cb80c4584ef5ea8dd055efed577 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Roland Dreier Tue, 31 Jan 2006 20:45:51 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB/mthca: Make functions that never fail return void The function mthca_free_err_wqe() can never fail, so get rid of its return value. That means handle_error_cqe() doesn't have to check what mthca_free_err_wqe() returns, which means it can't fail either and doesn't have to return anything either. All this results in simpler source code and a slight object code improvement: add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-10 (-10) function old new delta mthca_free_err_wqe 83 81 -2 mthca_poll_cq 1758 1750 -8 Signed-off-by: Roland Dreier commit 1a02e59a2970f9ed28ab51d3b08624b79e54d848 tree 470cce472be3b08c160e0c569648e7228651b12a parent ebcff3c773b42bce6182ec16485abca4e53fba97 parent 2c276603c3e5ebf38155a9d1fbbda656d52d138e author Kumar Gala Mon, 20 Mar 2006 11:58:02 -0600 committer Kumar Gala Mon, 20 Mar 2006 11:58:02 -0600 Merge branch 'master' commit 0f76ee451484d02c7405d92e7bceb39b415abb01 tree 9722f84281f786ba48971dde057f5171a49969e4 parent 01d206a7c1167639f6ca6dac22140fbdca017558 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Adrian Bunk Mon, 20 Mar 2006 18:30:36 +0100 committer Adrian Bunk Mon, 20 Mar 2006 18:30:36 +0100 Merge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 61c5504a0ed66c8b460f9a006eedaea2ee587e33 tree 2cf21d235f17e80d47fdb4ee1248865be8196d4d parent 9585da3729e7e27bf22818625c10ac6c64ebb609 parent 2c276603c3e5ebf38155a9d1fbbda656d52d138e author Kumar Gala Mon, 20 Mar 2006 10:53:56 -0600 committer Kumar Gala Mon, 20 Mar 2006 10:53:56 -0600 Merge branch 'master' commit 7abe53155b77c31028a7158883bc9aac705790da tree 3e63f4bf62029eaa9694362ac20179ec7449c4f9 parent 9e7714d08061a77d3d2ec9a6ef6fd571a534fc7f author Russell King Mon, 20 Mar 2006 10:12:31 +0000 committer Russell King Mon, 20 Mar 2006 10:12:31 +0000 [ARM] Fix cosmetic typo in asm/irq.h The IRQ resource flags are IORESOURCE_IRQ not IRQRESOURCE_IRQ. Signed-off-by: Russell King commit 29b2548bf53ffb810394a2110161ef49f8e4780f tree af0233def65a854dc95e5faca9645b30e88d45aa parent c39f5ebe0a542caab30c88e60623709c7bc6fe30 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Jeff Garzik Mon, 20 Mar 2006 04:48:50 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:48:50 -0500 Merge branch 'master' commit 2e9ff56efbc005ab2b92b68df65940c7459446c6 tree 8844a54f2b205bb5dceb6391d05df9a9f8bc62d2 parent d378aca6ec708bfb24df5c47801b1f2399efc481 parent cc8279f68c34c3f32b3a85f3103b0ad755c57846 author Jeff Garzik Mon, 20 Mar 2006 04:38:50 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:38:50 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit d378aca6ec708bfb24df5c47801b1f2399efc481 tree 7535f96bf34314df071698d2e06054b8d5223ebb parent abc71c46dc0a12ab7fddc18cfe4f4aa26808c79b parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Jeff Garzik Mon, 20 Mar 2006 04:38:03 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:38:03 -0500 Merge branch 'master' commit ac0eb3eb7e54b700386068be025a43d2a3958ee5 tree ed8b7820baf1c53ac13d0419eade64a08e8d7cf3 parent f6b83f070e9b7ad9075f7cc5646260e56c7d0219 author David S. Miller Mon, 20 Mar 2006 01:23:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:23:43 -0800 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit f6b83f070e9b7ad9075f7cc5646260e56c7d0219 tree 48586ca4f4c75ee3862f63be332351e78f2d5476 parent 467418f3508b426adbc7df795ebf3baaed4fbefc author David S. Miller Mon, 20 Mar 2006 01:17:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:17:17 -0800 [SPARC64]: Fix 2 bugs in huge page support. 1) huge_pte_offset() did not check the page table hierarchy elements as being empty correctly, resulting in an OOPS 2) Need platform specific hugetlb_get_unmapped_area() to handle the top-down vs. bottom-up address space allocation strategies. Signed-off-by: David S. Miller commit 467418f3508b426adbc7df795ebf3baaed4fbefc tree 921d3658878d856e497e42cd31d2b2342cce0441 parent bb8646d8340fa7c1b66a037428e39f85f8738f0a author Andrew Morton Sun, 19 Mar 2006 12:46:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:41 -0800 [SPARC64]: CONFIG_BLK_DEV_RAM fix init/do_mounts_rd.c depends upon CONFIG_BLK_DEV_RAM, not CONFIG_BLK_DEV_INITRD. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit bb8646d8340fa7c1b66a037428e39f85f8738f0a tree 931d4505a0ba65124b662f0f8b5935e0b154bd66 parent 88d7079458f87d6f2d2261b2f87b7b9416019f5e author David S. Miller Sat, 18 Mar 2006 23:55:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:41 -0800 [SPARC64]: Optimized TSB table initialization. We only need to write an invalid tag every 16 bytes, so taking advantage of this can save many instructions compared to the simple memset() call we make now. A prefetching implementation is implemented for sun4u and a block-init store version if implemented for Niagara. The next trick is to be able to perform an init and a copy_tsb() in parallel when growing a TSB table. Signed-off-by: David S. Miller commit 88d7079458f87d6f2d2261b2f87b7b9416019f5e tree 7e27074dcb05a795c15ed9455134c9e676b63aff parent 9b4006dcf6a8c43bd482b9c1ec576f0ed270ef23 author David S. Miller Sat, 18 Mar 2006 19:16:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:40 -0800 [SPARC64]: Allow CONFIG_MEMORY_HOTPLUG to build. online_page() is straightforward, and then add a dummy remove_memory() that returns -EINVAL just like i386. There is no point in implementing remove_memory() since __remove_pages() has no implementation either. Signed-off-by: David S. Miller commit 9b4006dcf6a8c43bd482b9c1ec576f0ed270ef23 tree e04ac039a49f37ee5e8eca3fd654df0649a1806c parent b52439c22c63dbbefd5395f2151c0ef4f667e949 author David S. Miller Sat, 18 Mar 2006 18:12:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:39 -0800 [SPARC64]: Use SLAB caches for TSB tables. Signed-off-by: David S. Miller commit b52439c22c63dbbefd5395f2151c0ef4f667e949 tree ff6671cab70dfaed00cf19367a6a71b1cda0cdf4 parent 05f9ca83596c7801549a2b4eba469d51baf5480f author David S. Miller Fri, 17 Mar 2006 23:40:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:38 -0800 [SPARC64]: Don't kill the page allocator when growing a TSB. Try only lightly on > 1 order allocations. If a grow fails, we are under memory pressure, so do not try to grow the TSB for this address space any more. If a > 0 order TSB allocation fails on a new fork, retry using a 0 order allocation. Signed-off-by: David S. Miller commit 05f9ca83596c7801549a2b4eba469d51baf5480f tree 22270db01a13dda0af9b158662712f9e6b6a934c parent d61e16df940e02e25679bdc1aee8c25786f6de90 author David S. Miller Fri, 17 Mar 2006 17:42:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:37 -0800 [SPARC64]: Randomize mm->mmap_base when PF_RANDOMIZE is set. Signed-off-by: David S. Miller commit d61e16df940e02e25679bdc1aee8c25786f6de90 tree de76f4007d526835b8564203341ebf66ca29b12d parent a91690ddd05ab0b7fbdd37733875525ac75c20f2 author David S. Miller Fri, 17 Mar 2006 17:33:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:36 -0800 [SPARC64]: Increase top of 32-bit process stack. Put it one page below the top of the 32-bit address space. This gives us ~16MB more address space to work with. Signed-off-by: David S. Miller commit a91690ddd05ab0b7fbdd37733875525ac75c20f2 tree f6937c0ce29c79078d6df8346a374a7b9947f360 parent b5e7ae5dd034c2c0ed75c31fca04a805097817bc author David S. Miller Fri, 17 Mar 2006 14:41:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:35 -0800 [SPARC64]: Top-down address space allocation for 32-bit tasks. Currently allocations are very constrained for 32-bit processes. It grows down-up from 0x70000000 to 0xf0000000 which gives about 2GB of stack + dynamic mmap() space. So support the top-down method, and we need to override the generic helper function in order to deal with D-cache coloring. With these changes I was able to squeeze out a mmap() just over 3.6GB in size in a 32-bit process. Signed-off-by: David S. Miller commit b5e7ae5dd034c2c0ed75c31fca04a805097817bc tree 5dc785f198f08502d99fa95dd0714b319f51e1c5 parent 7a1ac5264108fc3ed22d17a3cdd76212ed1666d1 author David S. Miller Fri, 17 Mar 2006 13:23:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:34 -0800 [SPARC64] bbc_i2c: Fix cpu check and add missing module license. Should allow cheetah_plus cpu types and don't taint the kernel. Signed-off-by: David S. Miller commit 7a1ac5264108fc3ed22d17a3cdd76212ed1666d1 tree 75378a1b470afa54900f1f15a5b41966d301520d parent a858f1ca726edc5eb7ed39722f7966d005f1c9ca author David S. Miller Thu, 16 Mar 2006 02:02:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:33 -0800 [SPARC64]: Fix and re-enable dynamic TSB sizing. This is good for up to %50 performance improvement of some test cases. The problem has been the race conditions, and hopefully I've plugged them all up here. 1) There was a serious race in switch_mm() wrt. lazy TLB switching to and from kernel threads. We could erroneously skip a tsb_context_switch() and thus use a stale TSB across a TSB grow event. There is a big comment now in that function describing exactly how it can happen. 2) All code paths that do something with the TSB need to be guarded with the mm->context.lock spinlock. This makes page table flushing paths properly synchronize with both TSB growing and TLB context changes. 3) TSB growing events are moved to the end of successful fault processing. Previously it was in update_mmu_cache() but that is deadlock prone. At the end of do_sparc64_fault() we hold no spinlocks that could deadlock the TSB grow sequence. We also have dropped the address space semaphore. While we're here, add prefetching to the copy_tsb() routine and put it in assembler into the tsb.S file. This piece of code is quite time critical. There are some small negative side effects to this code which can be improved upon. In particular we grab the mm->context.lock even for the tsb insert done by update_mmu_cache() now and that's a bit excessive. We can get rid of that locking, and the same lock taking in flush_tsb_user(), by disabling PSTATE_IE around the whole operation including the capturing of the tsb pointer and tsb_nentries value. That would work because anyone growing the TSB won't free up the old TSB until all cpus respond to the TSB change cross call. I'm not quite so confident in that optimization to put it in right now, but eventually we might be able to and the description is here for reference. This code seems very solid now. It passes several parallel GCC bootstrap builds, and our favorite "nut cruncher" stress test which is a full "make -j8192" build of a "make allmodconfig" kernel. That puts about 256 processes on each cpu's run queue, makes lots of process cpu migrations occur, causes lots of page table and TLB flushing activity, incurs many context version number changes, and it swaps the machine real far out to disk even though there is 16GB of ram on this test system. :-) Signed-off-by: David S. Miller commit a858f1ca726edc5eb7ed39722f7966d005f1c9ca tree 760fcedebb40e0ea7afaa788c09ef100b58fd6c0 parent 72b845e04e99298e5179b31e8de16afed52a2627 author David S. Miller Thu, 16 Mar 2006 00:55:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:32 -0800 [SUNSU]: Fix missing spinlock initialization. Caught by CONFIG_DEBUG_SPINLOCK. Signed-off-by: David S. Miller commit 72b845e04e99298e5179b31e8de16afed52a2627 tree c0e832b4fcb404b7624fec700ba5f12981de9d7d parent 0c51ed93ca0ecbf44ec096f4bd04c12a3e761e6b author David S. Miller Tue, 14 Mar 2006 14:11:48 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:27 -0800 [TG3]: Do not try to access NIC_SRAM_DATA_SIG on Sun parts. Sun does't put an SEEPROM behind the tigon3 chip, among other things, so accesses to these areas just give bus timeouts. Signed-off-by: David S. Miller commit 0c51ed93ca0ecbf44ec096f4bd04c12a3e761e6b tree 1d51bfaf8d51063e71b3be5727040c563941389f parent 90a6646bf6a1ca821f32d5510e935855612904df author David S. Miller Mon, 13 Mar 2006 01:27:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:26 -0800 [SPARC64]: First cut at VIS simulator for Niagara. Niagara does not implement some of the VIS instructions in hardware, so we have to emulate them. Signed-off-by: David S. Miller commit 90a6646bf6a1ca821f32d5510e935855612904df tree 035420e4ab615cb837b1246fc26c55e0b8d233b4 parent 8935dced547afbf37d0fcfcac9a3556494e53104 author David S. Miller Wed, 08 Mar 2006 17:18:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:25 -0800 [SPARC64]: Fix system type in /proc/cpuinfo and remove bogus OBP check. Report 'sun4v' when appropriate in /proc/cpuinfo Remove all the verifications of the OBP version string. Just make sure it's there, and report it raw in the bootup logs and via /proc/cpuinfo. Signed-off-by: David S. Miller commit 8935dced547afbf37d0fcfcac9a3556494e53104 tree 0ae802875c73e99b86e4f90be6e953ec0c528dea parent 17b0e199a10184d8c5bbbd79a4cee993bb1fb257 author David S. Miller Wed, 08 Mar 2006 16:09:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:24 -0800 [SPARC64]: Add SMT scheduling support for Niagara. The mapping is a simple "(cpuid >> 2) == core" for now. Later we'll add more sophisticated code that will walk the sun4v machine description and figure this out from there. We should also add core mappings for jaguar and panther processors. Signed-off-by: David S. Miller commit 17b0e199a10184d8c5bbbd79a4cee993bb1fb257 tree c5cf39d072cf908e5b03216e1e1698bf85e86877 parent d1112018b4bc82adf5c8a9c15a08954328f023ae author David S. Miller Wed, 08 Mar 2006 15:57:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:23 -0800 [SPARC64]: Fix 32-bit truncation which broke sparsemem. The page->flags manipulations done by the D-cache dirty state tracking was broken because the constants were not marked with "UL" to make them 64-bit, which means we were clobbering the upper 32-bits of page->flags all the time. This doesn't jive well with sparsemem which stores the section and indexing information in the top 32-bits of page->flags. This is yet another sparc64 bug which has been with us forever. While we're here, tidy up some things in bootmem_init() and paginig_init(): 1) Pass min_low_pfn to init_bootmem_node(), it's identical to (phys_base >> PAGE_SHIFT) but we should use consistent with the variable names we print in CONFIG_BOOTMEM_DEBUG 2) max_mapnr, although no longer used, was being set inaccurately, we shouldn't subtract pfn_base any more. 3) All the games with phys_base in the zones_*[] arrays we pass to free_area_init_node() are no longer necessary. Thanks to Josh Grebe and Fabbione for the bug reports and testing. Fix also verified locally on an SB2500 which had a memory layout that triggered the same problem. Signed-off-by: David S. Miller commit d1112018b4bc82adf5c8a9c15a08954328f023ae tree 4d94ef6c153f028cfaaff711cf7d4f07aa90e9b4 parent ee29074d3bd23848905f52c515974e0cd0219faa author David S. Miller Wed, 08 Mar 2006 02:16:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:22 -0800 [SPARC64]: Move over to sparsemem. This has been pending for a long time, and the fact that we waste a ton of ram on some configurations kind of pushed things over the edge. Signed-off-by: David S. Miller commit ee29074d3bd23848905f52c515974e0cd0219faa tree d5306446b2e26d9e45f65467b4f3b3f3b0c8494c parent a77754b4d0731321db266c6c60ffcd7c62757da5 author David S. Miller Mon, 06 Mar 2006 22:50:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:21 -0800 [SPARC64]: Fix new context version SMP handling. Don't piggy back the SMP receive signal code to do the context version change handling. Instead allocate another fixed PIL number for this asynchronous cross-call. We can't use smp_call_function() because this thing is invoked with interrupts disabled and a few spinlocks held. Also, fix smp_call_function_mask() to count "cpus" correctly. There is no guarentee that the local cpu is in the mask yet that is exactly what this code was assuming. Signed-off-by: David S. Miller commit a77754b4d0731321db266c6c60ffcd7c62757da5 tree 37cc4c6793e2b616791d42ee840e5a007a13eccb parent 9132983ae140a8ca81e95e081d5a4c0dd7a7f670 author David S. Miller Mon, 06 Mar 2006 19:59:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:20 -0800 [SPARC64]: Bulletproof MMU context locking. 1) Always spin_lock_init() in init_context(). The caller essentially clears it out, or copies the mm info from the parent. In both cases we need to explicitly initialize the spinlock. 2) Always do explicit IRQ disabling while taking mm->context.lock and ctx_alloc_lock. Signed-off-by: David S. Miller commit 9132983ae140a8ca81e95e081d5a4c0dd7a7f670 tree f3aec20b1bb5a2cc111bbbf6775a0f8d84d28994 parent f7c00338cfeef125032aa12aa8ebeacf9e117e81 author Eric Sesterhenn Mon, 06 Mar 2006 13:48:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:19 -0800 [SPARC64]: kzalloc() conversion this patch converts arch/sparc64 to kzalloc usage. Crosscompile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: David S. Miller commit f7c00338cfeef125032aa12aa8ebeacf9e117e81 tree 3fc55d603a0c59aa8a4db63e4acc63b26170b7cb parent 74ae998772041b62e9ad420d602e4f7dbb182cd6 author David S. Miller Sun, 05 Mar 2006 22:18:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:19 -0800 [SPARC64]: Fix loop termination in mark_kpte_bitmap() If we were aligned, but didn't have at least 256MB left to process, we would loop forever. Thanks to fabbione for the report and testing the fix. Signed-off-by: David S. Miller commit 74ae998772041b62e9ad420d602e4f7dbb182cd6 tree 8cbeb2ff56856d357647da6ab62562bac2fe87ad parent 3cab0c3e8636d5005041aa52224f796c3a4ef872 author David S. Miller Sun, 05 Mar 2006 18:26:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:18 -0800 [SPARC64]: Simplify TSB insert checks. Don't try to avoid putting non-base page sized entries into the user TSB. It actually costs us more to check this than it helps. Eventually we'll have a multiple TSB scheme for user processes. Once a process starts using larger pages, we'll allocate and use such a TSB. Signed-off-by: David S. Miller commit 3cab0c3e8636d5005041aa52224f796c3a4ef872 tree 582c92940f46cb0ecf8fafd4fde1cfd346172366 parent bcc28ee0bf390df0d81cc9dafe980faef6b2771a author David S. Miller Thu, 02 Mar 2006 21:50:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:17 -0800 [SPARC64]: More SUN4V cpu mondo bug fixing. This cpu mondo sending interface isn't all that easy to use correctly... We were clearing out the wrong bits from the "mask" after getting something other than EOK from the hypervisor. It turns out the hypervisor can just be resent the same cpu_list[] array, with the 0xffff "done" entries still in there, and it will do the right thing. So don't update or try to rebuild the cpu_list[] array to condense it. This requires the "forward_progress" check to be done slightly differently, but this new scheme is less bug prone than what we were doing before. Signed-off-by: David S. Miller commit bcc28ee0bf390df0d81cc9dafe980faef6b2771a tree 7dfed621399ef9f1bc65a949bf639994b6494485 parent c4f8ef77f941e7d89a52fad1fbe04d59397e2bd1 author David S. Miller Thu, 02 Mar 2006 20:42:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:16 -0800 [SPARC64]: Fix sun4v mna winfixup handling. We were clobbering a base register before we were done using it. Fix a comment typo while we're here. Signed-off-by: David S. Miller commit c4f8ef77f941e7d89a52fad1fbe04d59397e2bd1 tree 7c76d66a096913f47918f755763e48ef2b00907d parent 8bcd17411643beb9a601e032d0cf1016909a81d3 author David S. Miller Thu, 02 Mar 2006 20:28:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:15 -0800 [SPARC64]: Fix mini RTC driver reading. Need to subtract 1900 from year and 1 from month before giving it back to userspace. Signed-off-by: David S. Miller commit 8bcd17411643beb9a601e032d0cf1016909a81d3 tree fc71e788df4fada768247fa7c12e983d2f6f1a32 parent 45f791eb0f03e760183d30d3f1f18dc2b8e902fe author David S. Miller Thu, 02 Mar 2006 18:12:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:14 -0800 [SPARC64]: Do not allow mapping pages within 4GB of 64-bit VA hole. The UltraSPARC T1 manual recommends this because the chip could instruction prefetch into the VA hole, and this would also make decoding certain kinds of memory access traps more difficult (because the chip sign extends certain pieces of trap state). Signed-off-by: David S. Miller commit 45f791eb0f03e760183d30d3f1f18dc2b8e902fe tree 05ef47c68b45202106b70c1f28d4935a2c6115fb parent 92daa77e9a829350fd3900ff58d9c69820ad0e3d author David S. Miller Wed, 01 Mar 2006 22:42:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:13 -0800 [SPARC64]: Fix _PAGE_EXEC handling. First of all, use the known _PAGE_EXEC_{4U,4V} value instead of loading _PAGE_EXEC from memory. We either know which one to use by context, or we can code patch the test. Next, we need to check executability of a PTE in the generic TSB miss handler. Signed-off-by: David S. Miller commit 92daa77e9a829350fd3900ff58d9c69820ad0e3d tree a81a81cab49254dd041a0fbe78f09c84ec174a2c parent e22990451a6a6263250cdd267708548dfa08a8f2 author David S. Miller Wed, 01 Mar 2006 22:27:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:12 -0800 [SPARC64]: Fix typo in SUN4V D-TLB miss handler. Should put FAULT_CODE_DTLB into %g3 not FAULT_CODE_ITLB. Signed-off-by: David S. Miller commit e22990451a6a6263250cdd267708548dfa08a8f2 tree 5d280a9aa0d2b49824d917be85afaa37bb93aede parent 8ba706a95bb92c3b14b812f6d507890336d19136 author David S. Miller Wed, 01 Mar 2006 22:25:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:11 -0800 [SPARC64]: Kill bogus function externs in asm/pgtable.h These are all implemented inline earlier in the file. Signed-off-by: David S. Miller commit 8ba706a95bb92c3b14b812f6d507890336d19136 tree 2456134d50898a7bd8efda4adcfa636ab0ea43cf parent b830ab665ad96c6b20d51a89b35cbc09ab5a2c29 author David S. Miller Wed, 01 Mar 2006 17:32:46 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:10 -0800 [SPARC64]: Add mini-RTC driver for Starfire and SUN4V. Signed-off-by: David S. Miller commit b830ab665ad96c6b20d51a89b35cbc09ab5a2c29 tree 57c2c75b3e069f9f244259ae02f6f2fe3de68612 parent aac0aadf09b98ba36eab0bb02a560ebcb82ac39f author David S. Miller Tue, 28 Feb 2006 15:10:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:09 -0800 [SPARC64]: Fix bugs in SUN4V cpu mondo dispatch. There were several bugs in the SUN4V cpu mondo dispatch code. In fact, if we ever got a EWOULDBLOCK or other error from the hypervisor call, we'd potentially send a cpu mondo multiple times to the same cpu and even worse we could loop until the timeout resending the same mondo over and over to such cpus. So let's bulletproof this thing as follows: 1) Implement cpu_mondo_send() and cpu_state() hypervisor calls in arch/sparc64/kernel/entry.S, add prototypes to asm/hypervisor.h 2) Don't build and update the cpulist using inline functions, this was causing the cpu mask to not get updated in the caller. 3) Disable interrupts during the entire mondo send, otherwise our cpu list and/or mondo block could get overwritten if we take an interrupt and do a cpu mondo send on the current cpu. 4) Check for all possible error return types from the cpu_mondo_send() hypervisor call. In particular: HV_EOK) Our work is done, all cpus have received the mondo. HV_CPUERROR) One or more of the cpus in the cpu list we passed to the hypervisor are in error state. Use cpu_state() calls over the entries in the cpu list to see which ones. Record them in "error_mask" and report this after we are done sending the mondo to cpus which are not in error state. HV_EWOULDBLOCK) We need to keep trying. Any other error we consider fatal, we report the event and exit immediately. 5) We only timeout if forward progress is not made. Forward progress is defined as having at least one cpu get the mondo successfully in a given cpu_mondo_send() call. Otherwise we bump a counter and delay a little. If the counter hits a limit, we signal an error and report the event. Also, smp_call_function_mask() error handling reports the number of cpus incorrectly. Signed-off-by: David S. Miller commit aac0aadf09b98ba36eab0bb02a560ebcb82ac39f tree 0628f23fd3d7bd343966e038d6328f9bf0e8751d parent 6889331a1260e42b0275f42c13d6342d6cc1a03d author David S. Miller Mon, 27 Feb 2006 17:56:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:08 -0800 [SPARC64]: Fix bugs in SMP TLB context version expiration handling. 1) We must flush the TLB, duh. 2) Even if the sw context was seen to be valid, the local cpu's hw context can be out of date, so reload it unconditionally. Signed-off-by: David S. Miller commit 6889331a1260e42b0275f42c13d6342d6cc1a03d tree 5e8b06abbbe62316e9c8288af8d7e967be6e9163 parent 97c4b6f95afadea5846b78ce589d25de2a245c56 author David S. Miller Sun, 26 Feb 2006 23:09:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:07 -0800 [SPARC64]: Fix indexing into kpte_linear_bitmap. Need to shift back up by 3 bits to get 8-byte entry index. Signed-off-by: David S. Miller commit 97c4b6f95afadea5846b78ce589d25de2a245c56 tree 11110547d3c92657ae8199f039e35c3a74d32107 parent 7a591cfe4efef8a232e4938d44ae6693b319f6d7 author David S. Miller Sun, 26 Feb 2006 20:37:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:06 -0800 [SPARC64]: Use 13-bit context size always. We no longer have the problems that require using the smaller sizes. Signed-off-by: David S. Miller commit 7a591cfe4efef8a232e4938d44ae6693b319f6d7 tree e6fbdfb34572f768788b773e3ce186e3924ab685 parent 2a3a5f5ddbefde498e87f10924d4bf741c5bf37f author David S. Miller Sun, 26 Feb 2006 19:44:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:06 -0800 [SPARC64]: Avoid dcache-dirty page state management on sun4v. It is totally wasted work, since we have no D-cache aliasing issues on sun4v. Signed-off-by: David S. Miller commit 2a3a5f5ddbefde498e87f10924d4bf741c5bf37f tree 851003d4ff0b1619766d4fab883868f2b413ed62 parent 6cc80cfab8b2ce1919ad5862a43f6b7bcf163c80 author David S. Miller Sun, 26 Feb 2006 19:31:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:05 -0800 [SPARC64]: Bulletproof hypervisor TLB flushing. Check TLB flush hypervisor calls for errors and report them. Pass HV_MMU_ALL always for now, we can add back the optimization to avoid the I-TLB flush later. Always explicitly page align the virtual address arguments. Signed-off-by: David S. Miller commit 6cc80cfab8b2ce1919ad5862a43f6b7bcf163c80 tree aa76ee44c60684a607a4e4325007b8d1d2403fb4 parent 36344762396ca868d6076c41a84bda25f1ed9d3c author David S. Miller Sun, 26 Feb 2006 14:51:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:04 -0800 [SPARC64]: Report mondo error correctly in hypervisor_xcall_deliver(). It's in "arg0" not "func". Signed-off-by: David S. Miller commit 36344762396ca868d6076c41a84bda25f1ed9d3c tree 7471ce9b78736e538417267f1bc27687a1b09542 parent c4e9249b1924118693f298ee8d38f7fe43587af3 author David S. Miller Sat, 25 Feb 2006 17:16:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:03 -0800 [SPARC64]: Niagara optimized XOR functions for RAID. Signed-off-by: David S. Miller commit c4e9249b1924118693f298ee8d38f7fe43587af3 tree 5d01a861941493a400de02baf6d5dc6234ac25c8 parent 77b838fa1ef0ab02f75afc09834c60d87b86772f author Andrew Morton Fri, 24 Feb 2006 13:21:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:02 -0800 [SPARC64]: Fix binfmt_aout32.c build. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 77b838fa1ef0ab02f75afc09834c60d87b86772f tree 810bce2bf584b6259bd516daa0391cf1b3487ab4 parent a0663a79ad4faebe1db4a56e2e767b120b12333a author David S. Miller Thu, 23 Feb 2006 21:40:15 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:01 -0800 [SPARC64]: destroy_context() needs to disable interrupts. get_new_mmu_context() can be invoked from interrupt context now for the new SMP version wrap handling. So disable interrupt while taking ctx_alloc_lock in destroy_context() so we don't deadlock. Signed-off-by: David S. Miller commit a0663a79ad4faebe1db4a56e2e767b120b12333a tree 612a53e387a6aea6116f8a1637050fa13c6d9f80 parent 074d82cf688fe2dfa7ba4a2317c56f62d13fb522 author David S. Miller Thu, 23 Feb 2006 14:19:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:00 -0800 [SPARC64]: Fix TLB context allocation with SMT style shared TLBs. The context allocation scheme we use depends upon there being a 1<-->1 mapping from cpu to physical TLB for correctness. Chips like Niagara break this assumption. So what we do is notify all cpus with a cross call when the context version number changes, and if necessary this makes them allocate a valid context for the address space they are running at the time. Stress tested with make -j1024, make -j2048, and make -j4096 kernel builds on a 32-strand, 8 core, T2000 with 16GB of ram. Signed-off-by: David S. Miller commit 074d82cf688fe2dfa7ba4a2317c56f62d13fb522 tree 6e29e9a1994a7e82f4250cca83731a9b37a1b862 parent b2bef4424cb4522f53e34d98d3deb0916478338b author David S. Miller Thu, 23 Feb 2006 02:28:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:59 -0800 [SPARC64]: Put syscall tables after trap table. Otherwise with too much stuff enabled in the kernel config we can end up with an unaligned trap table. Signed-off-by: David S. Miller commit b2bef4424cb4522f53e34d98d3deb0916478338b tree 6c019c3b9e2e99706971694ae85952ef4034bfce parent 0f05da6d577b80eb00f15994c86e4812ae60f1b9 author David S. Miller Thu, 23 Feb 2006 01:55:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:58 -0800 [SPARC64]: Export _PAGE_E and _PAGE_CACHE to modules. SBUS flash driver needs it. Noticed by Fabbione. Signed-off-by: David S. Miller commit 0f05da6d577b80eb00f15994c86e4812ae60f1b9 tree 39d981c896ab6b90aa30f124fb25cbdf4f242c83 parent fc504928677049f0ad3f1fd4e0bb3908172df8f3 author David S. Miller Wed, 22 Feb 2006 16:20:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:57 -0800 [SPARC64]: Fix %tstate ASI handling in start_thread{,32}() Niagara helps us find a ancient bug in the sparc64 port :-) The ASI_* values are plain constant defines, thus signed 32-bit on sparc64. To put shift this into the regs->tstate value we were doing or'ing "(ASI_PNF << 24)" into there. ASI_PNF is 0x82 and shifted left by 24 makes that topmost bit the sign bit in a 32-bit value. This would get sign extended to 64-bits and thus corrupt the top-half of the reg->tstate value. This never caused problems in pre-Niagara cpus because the only thing up there were the condition code values. But Niagara has the global register level field, and this all 1's value is illegal there so Niagara gives an illegal instruction trap due to this bug. I'm pretty sure this bug is about as old as the sparc64 port itself. This also points out that we weren't setting ASI_PNF for 32-bit tasks. We should, so fix that while we're here. Signed-off-by: David S. Miller commit fc504928677049f0ad3f1fd4e0bb3908172df8f3 tree f55fc6a9061b0eac3f0465df412286caf83b3fbd parent d7744a09504d5ae84edc8289a02254e1f2102410 author David S. Miller Wed, 22 Feb 2006 16:15:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:57 -0800 [SPARC64]: Drop %gl to 0 before re-enabling PSTATE_IE in rtrap If we take a window fault, on SUN4V set %gl to zero before we turn PSTATE_IE back on in %pstate. Otherwise if we take an interrupt we'll end up with corrupt register state. Signed-off-by: David S. Miller commit d7744a09504d5ae84edc8289a02254e1f2102410 tree be0f245ee0725f2f066bf87d17d254ce1e7279bf parent 9cc3a1ac9a819cadff05ca37bb7f208013a22035 author David S. Miller Tue, 21 Feb 2006 22:31:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:56 -0800 [SPARC64]: Create a seperate kernel TSB for 4MB/256MB mappings. It can map all of the linear kernel mappings with zero TSB hash conflicts for systems with 16GB or less ram. In such cases, on SUN4V, once we load up this TSB the first time with all the mappings, we never take a linear kernel mapping TLB miss ever again, the hypervisor handles them all. Signed-off-by: David S. Miller commit 9cc3a1ac9a819cadff05ca37bb7f208013a22035 tree 601fa49272b540b3a3e6cc3728db27c525b73721 parent 30c91d576e9ea41c963e7f28643219bda73b0ddc author David S. Miller Tue, 21 Feb 2006 20:51:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:55 -0800 [SPARC64]: Make use of Niagara 256MB PTEs for kernel mappings. We use a bitmap, one bit for every 256MB of memory. If the bit is set we can use a 256MB PTE for linear mappings, else we have to use a 4MB PTE. SUN4V support is there, and we can very easily add support for Panther cpu 256MB PTEs in the future. Signed-off-by: David S. Miller commit 30c91d576e9ea41c963e7f28643219bda73b0ddc tree 1aa37a82f44084b5fd854bf010ac224d2d660079 parent 689126a48a4cf7efc77d0d090b2db4e8927d7819 author David S. Miller Tue, 21 Feb 2006 16:55:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:54 -0800 [SPARC64]: Use sun4v_cpu_idle() in cpu_idle() on SUN4V. We have to turn off the "polling nrflag" bit when we sleep the cpu like this, so that we'll get a cross-cpu interrupt to wake the processor up from the yield. We also have to disable PSTATE_IE in %pstate around the yield call and recheck need_resched() in order to avoid any races. Signed-off-by: David S. Miller commit 689126a48a4cf7efc77d0d090b2db4e8927d7819 tree 458fdccc36d064aea5189e2c9244ae8824e46c39 parent 6f5374c91f0dd1d92408ed44c066c32bcce5ce69 author David S. Miller Tue, 21 Feb 2006 16:53:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:53 -0800 [SPARC64] math-emu: Delete debugging printk left by previous commit. Signed-off-by: David S. Miller commit 6f5374c91f0dd1d92408ed44c066c32bcce5ce69 tree e5d2ade79d39f043af66030c42d2410d1cd6f483 parent 1bd0cd74d102a527b2a72907698d73fad4b82cbd author David S. Miller Tue, 21 Feb 2006 15:42:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:52 -0800 [SPARC64]: Add sun4v_cpu_yield(). Signed-off-by: David S. Miller commit 1bd0cd74d102a527b2a72907698d73fad4b82cbd tree 2df2dede361dd259b6cd4b91c3ab8d5c783401ac parent 8ca2557c48000daa8183b07d83f582a597705ebe author David S. Miller Tue, 21 Feb 2006 15:41:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:51 -0800 [SPARC64]: Kill cpudata->idle_volume. Set, but never used. We used to use this for dynamic IRQ retargetting, but that code died a long time ago. Signed-off-by: David S. Miller commit 8ca2557c48000daa8183b07d83f582a597705ebe tree 2ce53d5b4d6f21509dc4bc5fdeead1f559e626a0 parent d371c0c17466b7e7bb4d395f96aa885a23df1073 author David S. Miller Tue, 21 Feb 2006 14:29:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:50 -0800 [SPARC64]: Niagara optimized memset/bzero/clear_user. Signed-off-by: David S. Miller commit d371c0c17466b7e7bb4d395f96aa885a23df1073 tree c4705a6b3fa5e58d7003c82395746434c089d6ee parent c79f76777d678ba454aa727800e1386a1fd1f2e8 author David S. Miller Tue, 21 Feb 2006 13:59:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:49 -0800 [SPARC64]: Pass multiple CPUs at once to hypervisor cross-call API. Signed-off-by: David S. Miller commit c79f76777d678ba454aa727800e1386a1fd1f2e8 tree c93a6f342ae56216e34fb5c5f5782e79dff6c4fc parent 4e74ae800bafe79d4aaa529bc5d52425757c0115 author David S. Miller Mon, 20 Feb 2006 22:56:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:48 -0800 [SPARC64]: Args to SUNW,set-trap-table are 64-bit. They were getting truncated to 32-bit and this is very bad when your MMU fault status area is in physical memory above 4GB on SUN4V. Signed-off-by: David S. Miller commit 4e74ae800bafe79d4aaa529bc5d52425757c0115 tree b6d0a52da8a316eadaa5651ffa73ea3e3435d59e parent f5deb807b8cd5c8fe48cbb4f7f5dd70cfbdb1178 author David S. Miller Mon, 20 Feb 2006 16:02:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:48 -0800 [SPARC64]: Handle unimplemented FPU square-root on Niagara. The math-emu code only expects unfinished fpop traps when emulating FPU sqrt instructions on pre-Niagara chips. On Niagara we can get unimplemented fpop, so handle that. Signed-off-by: David S. Miller commit f5deb807b8cd5c8fe48cbb4f7f5dd70cfbdb1178 tree 6b6c341791e32ea00d637b9f243f55b91da962bc parent 55555633bd4e72534b53c50525817259435e18df author David S. Miller Mon, 20 Feb 2006 14:39:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:47 -0800 [SPARC] serial: Make sure sysfs nodes get named correctly. Because we play this trick where we use ttyS? in increasing minor numbers for different sunfoo.c drivers, we have to inform the TTY layer of this. Do so by setting the tty->name_base appropriately. Probably there should be a generic way to do this in the serial core, but for now... Signed-off-by: David S. Miller commit 55555633bd4e72534b53c50525817259435e18df tree 87cb14183cfacb88712311708c5787e0a64817ac parent d82965c16781a7c5b8508c3784ba10bbeef34ff4 author David S. Miller Mon, 20 Feb 2006 01:50:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:46 -0800 [SPARC64]: Typo in sun4v_data_access_exception log message. Should be "Dax" not "Iax". Signed-off-by: David S. Miller commit d82965c16781a7c5b8508c3784ba10bbeef34ff4 tree fb2510731dc418c3271edfc50fec75c80a035ae6 parent abf3b7bd89c11492b145e338913c0b511084cff7 author David S. Miller Mon, 20 Feb 2006 01:42:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:45 -0800 [SPARC64]: Handle zero-length map requests in pci_sun4v.c By simply changing the do-while loop into a plain while loop. Signed-off-by: David S. Miller commit abf3b7bd89c11492b145e338913c0b511084cff7 tree fa8d333d0b66e4e7d427817d0b927ab5a901e095 parent 39334a4b2c52a06960c480b1a4a05f5d5375c8bf author David S. Miller Mon, 20 Feb 2006 01:09:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:44 -0800 [SPARC64]: Kill stray PGLIST_NENTS check in pci_sun4v.c I forgot to remove the one in pci_4v_map_sg() during the iommu batching commit. Signed-off-by: David S. Miller commit 39334a4b2c52a06960c480b1a4a05f5d5375c8bf tree 6f5c0d6fe367bdac07ab4b07a832126ee78f122d parent 37133c006cd3ff4f4dccb3df88efc446863b515e author David S. Miller Mon, 20 Feb 2006 00:54:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:43 -0800 [SPARC64]: Fix typo in dump_tl1_traplog() Actually make use of the 'limit' we compute. Signed-off-by: David S. Miller commit 37133c006cd3ff4f4dccb3df88efc446863b515e tree c5f0086b2694eedbb3943aa01d05eadff4ebe877 parent 6a32fd4d0d42258004631dc0ac90665382a2e5dc author David S. Miller Mon, 20 Feb 2006 00:36:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:42 -0800 [SPARC64]: Disable smp_report_regs() for now. It's extremely noisy and causes much grief on slow consoles with large numbers of cpus. We'll have to provide this some saner way in order to re-enable this. Signed-off-by: David S. Miller commit 6a32fd4d0d42258004631dc0ac90665382a2e5dc tree f2a73240a7cfadfb3097121279b6e5a7651812e5 parent 04d74758eb7dce6dfb7d2101315827c267ffefc4 author David S. Miller Sun, 19 Feb 2006 22:21:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:41 -0800 [SPARC64]: Remove PGLIST_NENTS PCI IOMMU mapping limitation on SUN4V. Use a batching queue system for IOMMU mapping setup, with a page sized batch. Signed-off-by: David S. Miller commit 04d74758eb7dce6dfb7d2101315827c267ffefc4 tree 18a90d84f5503eefc9af52ecd3bb1a09ae3fe6d0 parent 24c523ecc667dfeb28ef969cfabc531709bfffb8 author David S. Miller Sat, 18 Feb 2006 17:06:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:40 -0800 [SPARC64]: Use KERN_EMERG in dump_tl1_traplog() and sun4v TLB errors. We're about to seriously die in these cases so it is important that the messages make it to the console. Signed-off-by: David S. Miller commit 24c523ecc667dfeb28ef969cfabc531709bfffb8 tree 67760d3bb5c5c9f950e61b263fff836e677957ee parent 6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c author David S. Miller Sat, 18 Feb 2006 16:39:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:39 -0800 [SPARC64]: Fix unaligned access winfxup handling on SUN4V. Another case where we have to force ourselves into global register level one. Also make sure the arguments passed to sun4v_do_mna() are correct. This area actually needs some more work, for example spill fixup is not necessarily going to do the right thing for this case. Signed-off-by: David S. Miller commit 6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c tree 4d8d095f554cc9186ef9b945bd33e6c3d53161d1 parent 843dfb4d99c41116601694f314092b3b6c4511f4 author David S. Miller Sat, 18 Feb 2006 16:36:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:39 -0800 [SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V. Just like kvmap_dtlb_longpath we have to force the global register level to one in order to mimick the PSTATE_MG --> PSTATE_AG trasition done on SUN4U. Signed-off-by: David S. Miller commit 843dfb4d99c41116601694f314092b3b6c4511f4 tree 44a5b1d757bb796466d0746d13d9fa4c49ad459a parent 11fc04e46a892563d0a9bb98560339f1672e3213 author David S. Miller Sat, 18 Feb 2006 16:32:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:38 -0800 [SPARC64] sunhv: Fix locking in sunhv_start_tx() Caller takes the lock already. Also, fixup the poll loop in sunhv_break_ctl(). Just like in console write, we udelay(2) and use a loop limit of 1000000 iterations. Signed-off-by: David S. Miller commit 11fc04e46a892563d0a9bb98560339f1672e3213 tree 972fcfd42325195b4556e6a676a6fe09ae1703ee parent 0f15952ac8641bde1045162ffd4a7b474cc318b0 author David S. Miller Sat, 18 Feb 2006 16:30:59 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:37 -0800 [SPARC64]: Put sunhv.o earliest in the list of sparc serial drivers. So that it will show up as /dev/ttyS0. Otherwise things like installers will try to run on whatever serial port gets probed first. Signed-off-by: David S. Miller commit 0f15952ac8641bde1045162ffd4a7b474cc318b0 tree f1837150e0e1589dda97f1780e99962bf6c905af parent f6c1fe529217788f095f6953c2b66bec1196ad3d author David S. Miller Sat, 18 Feb 2006 12:43:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:36 -0800 [SPARC64]: Export a PAGE_SHARED symbol. For drivers/media/*, noticed by Fabbione. Signed-off-by: David S. Miller commit f6c1fe529217788f095f6953c2b66bec1196ad3d tree 609476e09d7778c55775e88879ba77dd4a23f1f2 parent 8b234274418d6d79527c4ac3a72da446ca4cb35f author Fabio M. Di Nitto Sat, 18 Feb 2006 00:32:31 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:35 -0800 [SPARC64] Fix build if CONFIG_HUGETLB_PAGE is not set Signed-off-by: Fabio M. Di Nitto Signed-off-by: David S. Miller commit 8b234274418d6d79527c4ac3a72da446ca4cb35f tree ab4ab14fa7f1cab7889ecc2339f0261253a5d0e1 parent 7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb author David S. Miller Fri, 17 Feb 2006 18:01:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:34 -0800 [SPARC64]: More TLB/TSB handling fixes. The SUN4V convention with non-shared TSBs is that the context bit of the TAG is clear. So we have to choose an "invalid" bit and initialize new TSBs appropriately. Otherwise a zero TAG looks "valid". Make sure, for the window fixup cases, that we use the right global registers and that we don't potentially trample on the live global registers in etrap/rtrap handling (%g2 and %g6) and that we put the missing virtual address properly in %g5. Signed-off-by: David S. Miller commit 7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb tree bca7b671ad0cf49d6ef7a01c96ae3865805fec13 parent 6c8927c9634e8a1bc95d5291c55205707f9fa40a author David S. Miller Fri, 17 Feb 2006 15:07:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:33 -0800 [SPARC64]: Don't do anything in flush_ptrace_access() on SUN4V. Signed-off-by: David S. Miller commit 6c8927c9634e8a1bc95d5291c55205707f9fa40a tree e59db7dca9ab26808703ee3c20ad59c3425024fa parent 12e126ad229abc718d05600027fcd5794c1e31e5 author David S. Miller Fri, 17 Feb 2006 14:58:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:32 -0800 [SPARC64]: Fix some SUN4V TLB handling bugs. 1) Add error return checking for TLB load hypervisor calls. 2) Don't fallthru to dtlb tsb miss handler from itlb tsb miss handler, oops. 3) On window fixups, propagate fault information to fixup handler correctly. Signed-off-by: David S. Miller commit 12e126ad229abc718d05600027fcd5794c1e31e5 tree 1c28b8685a30c290956184485a997fc398f6d4f1 parent 52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc author David S. Miller Fri, 17 Feb 2006 14:40:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:31 -0800 [SPARC64]: Check for errors in hypervisor_tlb_lock(). Signed-off-by: David S. Miller commit 52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc tree 350f49c4cecd87cc22aae8c88c1ff383822614d6 parent 3763be32d591cacf808c36390a8af3f2784cde5f author David S. Miller Sun, 26 Feb 2006 23:32:33 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:30 -0800 [SPARC64]: Init boot cpu's trap_block[] before paging_init() It must be ready when we take over the trap table. Signed-off-by: David S. Miller commit 3763be32d591cacf808c36390a8af3f2784cde5f tree 124ae01bf91905a6d3af931caf28acf82900699b parent 3f19a84e39619053f117bd5bb9183c5bfea7db45 author David S. Miller Fri, 17 Feb 2006 12:33:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:29 -0800 [SPARC64]: Define ARCH_HAS_READ_CURRENT_TIMER. This gives more consistent bogomips and delay() semantics, especially on sun4v. It gives weird looking values though... Signed-off-by: David S. Miller commit 3f19a84e39619053f117bd5bb9183c5bfea7db45 tree f40e0b3f5e0d5600304ea7496e30a33f6e8b51de parent c857e3fdbc306e95fdcaad1d8f3ea6bc8e7eea99 author David S. Miller Fri, 17 Feb 2006 12:03:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:29 -0800 [SPARC64]: Set associativity of kernel TSB descriptor correctly. It should be 1, not 0. Signed-off-by: David S. Miller commit c857e3fdbc306e95fdcaad1d8f3ea6bc8e7eea99 tree 6fb1cfc9b8742b56db032fcdb4294e693bb75ffa parent 46f860471483dce9ba5ce682a69c61cbceb54e52 author David S. Miller Fri, 17 Feb 2006 10:35:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:28 -0800 [SPARC64]: __bzero_noasi --> __clear_user Signed-off-by: David S. Miller commit 46f860471483dce9ba5ce682a69c61cbceb54e52 tree 4107992d58fa51a0c2d76d31d63cf26bb1f427ab parent 97532f598273d03cab8bb5206669b6fdd654eb63 author David S. Miller Fri, 17 Feb 2006 10:28:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:27 -0800 [SPARC64]: Put SUN4V ITSB miss into correct trap table entry. It's 0x9 not 0xb. Signed-off-by: David S. Miller commit 97532f598273d03cab8bb5206669b6fdd654eb63 tree a2d06b6f9861bad04d1378fef104a1c2d81777df parent 3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87 author David S. Miller Fri, 17 Feb 2006 10:14:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:26 -0800 [SPARC64]: Add HWCAP_SPARC_BLKINIT elf capability flag for Niagara. Signed-off-by: David S. Miller commit 3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87 tree 174537e596cc7b20ecb2d75770476285af725051 parent ebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 author David S. Miller Fri, 17 Feb 2006 09:54:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:25 -0800 [SPARC64]: Use phys tsb address in tsb_insert() in SUN4V. Signed-off-by: David S. Miller commit ebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 tree 155df85100a1316ac103dcaed140d20ddc72c855 parent 101d5c18a928ef82b6c7bf99a9eaa536b5ccf593 author David S. Miller Fri, 17 Feb 2006 08:38:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:24 -0800 [SPARC64]: Fix uniprocessor IRQ targetting on SUN4V. We need to use the real hardware processor ID when targetting interrupts, not the "define to 0" thing the uniprocessor build gives us. Also, fill in the Node-ID and Agent-ID fields properly on sun4u/Safari. Signed-off-by: David S. Miller commit 101d5c18a928ef82b6c7bf99a9eaa536b5ccf593 tree 340b5fa064fcf8a62a0742f8fb46fa4bb61abf8d parent 72aff53f1fe74153eccef303ab2f79de888d248c author David S. Miller Fri, 17 Feb 2006 08:20:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:23 -0800 [SPARC64]: Fix PCI IRQ probing regression. If the top-level cnode had multi entries in it's "reg" property, we'd fail. The buffer wasn't large enough in such cases. Signed-off-by: David S. Miller commit 72aff53f1fe74153eccef303ab2f79de888d248c tree a229645be99274d36bed04bed355d74ec3c0baa2 parent 19a0d585e80e84b54bb9bf120bf0c826045dd3dd author David S. Miller Fri, 17 Feb 2006 01:29:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:22 -0800 [SPARC64]: Get SUN4V SMP working. The sibling cpu bringup is extremely fragile. We can only perform the most basic calls until we take over the trap table from the firmware/hypervisor on the new cpu. This means no accesses to %g4, %g5, %g6 since those can't be TLB translated without our trap handlers. In order to achieve this: 1) Change sun4v_init_mondo_queues() so that it can operate in several modes. It can allocate the queues, or install them in the current processor, or both. The boot cpu does both in it's call early on. Later, the boot cpu allocates the sibling cpu queue, starts the sibling cpu, then the sibling cpu loads them in. 2) init_cur_cpu_trap() is changed to take the current_thread_info() as an argument instead of reading %g6 directly on the current cpu. 3) Create a trampoline stack for the sibling cpus. We do our basic kernel calls using this stack, which is locked into the kernel image, then go to our proper thread stack after taking over the trap table. 4) While we are in this delicate startup state, we put 0xdeadbeef into %g4/%g5/%g6 in order to catch accidental accesses. 5) On the final prom_set_trap_table*() call, we put &init_thread_union into %g6. This is a hack to make prom_world(0) work. All that wants to do is restore the %asi register using get_thread_current_ds(). Longer term we should just do the OBP calls to set the trap table by hand just like we do for everything else. This would avoid that silly prom_world(0) issue, then we can remove the init_thread_union hack. Signed-off-by: David S. Miller commit 19a0d585e80e84b54bb9bf120bf0c826045dd3dd tree d744dc0c7530765fcdaf46e15bd83805b78e6017 parent 6154f94f0e1b3984ad2d0bcda586bc8946398b8a author David S. Miller Fri, 17 Feb 2006 01:17:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:21 -0800 [SPARC64]: Disable smp_report_regs() for now. For 32 cpus and a slow console, it just wedges the machine especially with DETECT_SOFTLOCKUP enabled. Signed-off-by: David S. Miller commit 6154f94f0e1b3984ad2d0bcda586bc8946398b8a tree 8abc4d83ed8ddef986de2c0593f55d3e879c7c78 parent 14f6689cbb3ec2c194bd770fbe0d6e2d90eb6760 author David S. Miller Thu, 16 Feb 2006 23:01:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:20 -0800 [SPARC64]: Rewrite pci_intmap_match(). The whole algorithm was wrong. What we need to do is: 1) Walk each PCI bus above this device on the path to the PCI controller nexus, and for each: a) If interrupt-map exists, apply it, record IRQ controller node b) Else, swivel interrupt number using PCI_SLOT(), use PCI bus parent OBP node as controller node c) Walk up to "controller node" until we hit the first PCI bus in this domain, or "controller node" is the PCI controller OBP node 2) If we walked to PCI controller OBP node, we're done. 3) Else, apply PCI controller interrupt-map to interrupt. There is some stuff that needs to be checked out for ebus and isa, but the PCI part is good to go. Signed-off-by: David S. Miller commit 14f6689cbb3ec2c194bd770fbe0d6e2d90eb6760 tree 75934961ca955a076651f35e08fc81ebc867bcff parent af02bec66294c76fba181c665c68a31fd4392020 author David S. Miller Thu, 16 Feb 2006 20:44:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:20 -0800 [SPARC64]: Don't set interrupt state to IDLE in enable_irq(). We'll lose events that way. Signed-off-by: David S. Miller commit af02bec66294c76fba181c665c68a31fd4392020 tree f741bdd782c719cba6dd8efe01f107a46d115a27 parent 4ff7ac417d4b628c23df3ae8301d17e29e6e8f16 author David S. Miller Thu, 16 Feb 2006 16:23:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:19 -0800 [SPARC64]: Fix return from trap on SUN4V. We need to set the global register set _AND_ disable PSTATE_IE in %pstate. The original patch sequence was leaving PSTATE_IE enabled when returning to kernel mode, oops. This fixes the random register corruption being seen on SUN4V. Signed-off-by: David S. Miller commit 4ff7ac417d4b628c23df3ae8301d17e29e6e8f16 tree 8a0ad85722f0e927ac6c1388032481636424fb10 parent 22780e23c629303474797d17e7f09ad7721ef55b author David S. Miller Thu, 16 Feb 2006 16:22:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:18 -0800 [SPARC64]: Add GET_GL_GLOBAL() macro for SUN4V. So we can read the %gl register for debugging. Signed-off-by: David S. Miller commit 22780e23c629303474797d17e7f09ad7721ef55b tree e005c6475aaeb61a6db0d43424c212d89f77dc40 parent 94f8762db9a80ed34252e9fe5fa38be87bb7826b author David S. Miller Thu, 16 Feb 2006 14:37:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:17 -0800 [SPARC64]: Set dummy bucket->{imap,iclr} unique on SUN4V. So that free_irq() disable's the IRQ correctly. Signed-off-by: David S. Miller commit 94f8762db9a80ed34252e9fe5fa38be87bb7826b tree 22279c62d2d4d583c64f1d2c6122f4eb98b429a6 parent bc45e32e0fbf661d0c5c5b9c981bc0fe5da4901f author David S. Miller Thu, 16 Feb 2006 14:26:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:16 -0800 [SPARC64]: Add sun4v_cpu_qconf() hypervisor call. Call it from register_one_mondo(). Signed-off-by: David S. Miller commit bc45e32e0fbf661d0c5c5b9c981bc0fe5da4901f tree cf4a313304153b39bd155c062b934d607500f2ae parent 8e42550c683b2ad4869fc4fa438204841fd9b7cc author David S. Miller Sun, 05 Mar 2006 16:46:58 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:15 -0800 [SPARC]: Kill off these __put_user_ret things. They are bogus and haven't been referenced in years. Signed-off-by: David S. Miller commit 8e42550c683b2ad4869fc4fa438204841fd9b7cc tree f636a779506cee076b7434327184b4ef9914c1c1 parent 9b6b46470cc1c52f6917b0cd8b7cf4b5cbc5acf6 author David S. Miller Thu, 16 Feb 2006 02:18:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:14 -0800 [SPARC64]: do_fptrap needs to load the thread reg into %g6. Signed-off-by: David S. Miller commit 9b6b46470cc1c52f6917b0cd8b7cf4b5cbc5acf6 tree d004412f27e0fceb2548513e954e80e15913ab84 parent 3d6395cb770b0db9135a853b1742418c99ed2148 author David S. Miller Thu, 16 Feb 2006 01:45:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:13 -0800 [SPARC64]: Fix bogus call to sun4v_mna in winfixup code. The C function is named sun4v_do_mna not sun4v_mna. Signed-off-by: David S. Miller commit 3d6395cb770b0db9135a853b1742418c99ed2148 tree 609b1d8f6d3ff13a312c8eb0ce4f070b644b6e05 parent 135066a21129760e44a51a7ef31d8c861f8ddace author David S. Miller Thu, 16 Feb 2006 01:41:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:12 -0800 [SPARC64]: Fix tl1 trap state capture/dump on SUN4V. No trap levels above 2 in privileged mode on SUN4V. Signed-off-by: David S. Miller commit 135066a21129760e44a51a7ef31d8c861f8ddace tree 7dacf1643c9110a4e0ac8e89fed5465a0f77f94d parent e7a0453ef82c1433a35ab82d874296fff68f3639 author David S. Miller Thu, 16 Feb 2006 00:42:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:11 -0800 [SPARC64] sunhv: Support SYSRQ properly. By calling uart_handle_break(). We'll still do the "sun_do_break()" handling if the user gives two breaks in a row. We should probably do this in the other Sparc serial drivers too. Signed-off-by: David S. Miller commit e7a0453ef82c1433a35ab82d874296fff68f3639 tree 0dd18e3742bb838f7351a20186ea3a820d038231 parent db33f9bc09aaf68db7866374f9219c676787b4a2 author David S. Miller Wed, 15 Feb 2006 22:25:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:10 -0800 [SPARC64] PCI: Size TSB correctly on SUN4V. Forgot to multiply by 8 * 1024, oops. Correct the size constant when the virtual-dma arena is 2GB in size, it should bet 256 not 128. Finally, log some info about the TSB at probe time. Signed-off-by: David S. Miller commit db33f9bc09aaf68db7866374f9219c676787b4a2 tree 4b3bb99778f65966dd1d40122a3fcb2f1f07741c parent c7f81d42d3d07115a7b92e36ade0f3167f75bc55 author David S. Miller Wed, 15 Feb 2006 21:56:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:10 -0800 [SPARC64]: Fix OOPS on sunhv interrupts. Until the uart is openned, port->info is NULL. Also, init the port->irq properly and give a non-zero port->membase so that the uart device reporting is done. Signed-off-by: David S. Miller commit c7f81d42d3d07115a7b92e36ade0f3167f75bc55 tree ffb9f1337b926d64b52bb6148b18b9c62eacb53c parent a7b31bac691668a60da8b9892124b7da408e0a0e author David S. Miller Wed, 15 Feb 2006 21:21:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:09 -0800 [SPARC64]: Don't use ASI_QUAD_LDD_PHYS on SUN4V. Need to use ASI_QUAD_LDD_PHYS_4V instead. Signed-off-by: David S. Miller commit a7b31bac691668a60da8b9892124b7da408e0a0e tree 2bdf523086234a5cb9e943e45df879f1f264a516 parent de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 author David S. Miller Wed, 15 Feb 2006 21:16:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:08 -0800 [SPARC64]: Do not write garbage into %pstate in tsb_context_switch(). For SUN4V, we were clobbering %o5 to do the hypervisor call. This clobbers the saved %pstate value and we end up writing garbage into that register as a result. Oops. Signed-off-by: David S. Miller commit de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 tree 76559bb18ca6fe6ac4704b394b67a0e0eed842d5 parent 1daef08a12157923d90ec7a47ead8a97e0d243cc author David S. Miller Wed, 15 Feb 2006 21:01:31 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:07 -0800 [SPARC64]: Fix flush_tsb_user() on SUN4V. Needs to use physical addressing just like cheetah_plus. Signed-off-by: David S. Miller commit 1daef08a12157923d90ec7a47ead8a97e0d243cc tree bb7c395350abbb35b9dfce480127a31ddeb13b2c parent 9d29a3fafd06534ad73427fee3c968c094d05b9b author David S. Miller Wed, 15 Feb 2006 20:35:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:06 -0800 [SPARC64]: Fix comment typo in __flush_tlb_kernel_range. Signed-off-by: David S. Miller commit 9d29a3fafd06534ad73427fee3c968c094d05b9b tree 4afd7455d6249d9143acea6c4704f69aa98d311a parent 7890f794e0e6f7dce2a5f4a03ba64b0b3fe306bd author David S. Miller Wed, 15 Feb 2006 19:48:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:05 -0800 [SPARC64]: Decode virtual-devices interrupts correctly. Need to translate through the interrupt-map{,-mask] properties. Signed-off-by: David S. Miller commit 7890f794e0e6f7dce2a5f4a03ba64b0b3fe306bd tree a9cc7c67498616a47108c667a9c001f9fe468318 parent 63c2a0e598c2fa769a08a6e9ad124bf270b4436e author David S. Miller Wed, 15 Feb 2006 02:26:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:04 -0800 [SPARC64]: Add prom_{start,stop}cpu_cpuid(). Use prom_startcpu_cpuid() on SUN4V instead of prom_startcpu(). We should really test for "SUNW,start-cpu-by-cpuid" presence and use it if present even on SUN4U. Signed-off-by: David S. Miller commit 63c2a0e598c2fa769a08a6e9ad124bf270b4436e tree 3e3a0c8a68221b4a76489ad595d0b886e2683dd9 parent ab66a50e31deb48b0444c248e67e5aa3217efda5 author David S. Miller Wed, 15 Feb 2006 01:19:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:03 -0800 [SPARC64]: Fix pci_intmap_match(). When crawling up the PCI bus chain, stop at the first node that has an interrupt-map property before we hit the root. Also, if we use a bus interrupt-{map,mask} do not forget to update the 'intmask' pointer as we do for the 'intmap' pointer. Signed-off-by: David S. Miller commit ab66a50e31deb48b0444c248e67e5aa3217efda5 tree dd36ad6f69abe7a15eb2f990840512c803e980f7 parent 7c3514e4501565d76f9e4dec43e1fc17389f4811 author David S. Miller Wed, 15 Feb 2006 01:18:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:02 -0800 [SPARC64]: Two IRQ handling fixes. On SUN4V, force IRQ state to idle in enable_irq(). However, I'm still not sure this is %100 correct. Call add_interrupt_randomness() on SUN4V too. Signed-off-by: David S. Miller commit 7c3514e4501565d76f9e4dec43e1fc17389f4811 tree e3f4766232189faaa98a59d53a44e424025e9561 parent f03b8a546868fcf43feb455b69b152eb867606b2 author David S. Miller Wed, 15 Feb 2006 00:41:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:02 -0800 [SPARC64]: Fixup TSTATE layout diagram in asm/pstate.h Signed-off-by: David S. Miller commit f03b8a546868fcf43feb455b69b152eb867606b2 tree 147f1f63d824827de1d374dcd6741a38c7132b68 parent 329c68b21896eea371edbfdf305c459fb74cf9a8 author David S. Miller Wed, 15 Feb 2006 00:35:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:01 -0800 [SPARC64]: Use different cache sizing defaults on SUN4V. Signed-off-by: David S. Miller commit 329c68b21896eea371edbfdf305c459fb74cf9a8 tree 2438ceb36799afdb1fdb849c56f4bd27e1bfe438 parent abd92b2d21899d42a60c3c1ac995768c76774608 author David S. Miller Tue, 14 Feb 2006 22:20:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:00 -0800 [SPARC64]: Make lack of interrupt-map-* a fatal error on SUN4V. Signed-off-by: David S. Miller commit abd92b2d21899d42a60c3c1ac995768c76774608 tree e5d9e97b6fbf50a5be6791eb141f627c50a4a33f parent 355db99860a1d77d77cd2fc66e2f5ab58f3e0995 author David S. Miller Tue, 14 Feb 2006 22:20:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:59 -0800 [SPARC64]: Fix sun4v_intr_setenabled() return value check in enable_irq(). Signed-off-by: David S. Miller commit 355db99860a1d77d77cd2fc66e2f5ab58f3e0995 tree 325c43f5f1820d9f17f46f330f061a5b65259421 parent 987b6de7102cf2f583733efd726ae920a1335519 author David S. Miller Tue, 14 Feb 2006 16:44:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:58 -0800 [SPARC64]: Explicitly init *nregs to 0 in find_device_prom_node(). Signed-off-by: David S. Miller commit 987b6de7102cf2f583733efd726ae920a1335519 tree 66a0fcfa5be6831c47f008437d3c97d0bead91bb parent 9f8a5b843fc47ea150525f912574677483e1a5ac author David S. Miller Tue, 14 Feb 2006 16:42:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:57 -0800 [SPARC64]: Restrict PCI bus scanning on SUN4V. On the PBM's first bus number, only allow device 0, function 0, to be poked at with PCI config space accesses. For some reason, this single device responds to all device numbers. Also, reduce the verbiage of the debugging log printk's for PCI cfg space accesses in the SUN4V PCI controller driver, so that it doesn't overwhelm the slow SUN4V hypervisor console. Signed-off-by: David S. Miller commit 9f8a5b843fc47ea150525f912574677483e1a5ac tree e065d4ad571dccbb2f16ef08a8ea8e5942abdbb7 parent fbf1c68eaf8a945c8617e355d8d6bd2fa09109d2 author David S. Miller Tue, 14 Feb 2006 16:39:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:56 -0800 [SPARC64]: Fix C-function name called by sun4v_mna trap code. The trap code was calling itself :-) Signed-off-by: David S. Miller commit fbf1c68eaf8a945c8617e355d8d6bd2fa09109d2 tree 2bbcc939809d8752631fda9a0842e22868dcbb78 parent e7093703d912254b5667dfe851a6d0f7e664f9df author David S. Miller Tue, 14 Feb 2006 16:37:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:55 -0800 [SPARC64]: Don't printk() any messaages in sun4v_build_irq(). It just clutters up the log. Signed-off-by: David S. Miller commit e7093703d912254b5667dfe851a6d0f7e664f9df tree 9560b13ae240f6e3b0b1a3fd08ff8ab829b27d13 parent 4a07e646c55be118442e464b7a2a9682c7131d9a author David S. Miller Tue, 14 Feb 2006 14:12:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:54 -0800 [SPARC64]: INO is never fully specified already on SUN4V. Signed-off-by: David S. Miller commit 4a07e646c55be118442e464b7a2a9682c7131d9a tree caeb033a17e7ab62865811bc48a20f42e22837f1 parent 50f4f23c3bd95afc82e931254a71e7b1b3699fd2 author David S. Miller Tue, 14 Feb 2006 13:49:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:54 -0800 [SPARC64]: Kill sun4v_register_fault_status() on SMP. That now gets done as a side effect of taking over the trap table from OBP. Signed-off-by: David S. Miller commit 50f4f23c3bd95afc82e931254a71e7b1b3699fd2 tree 5ed7cc71e1140a3a839c8d65ca95b755012d4bde parent 3af6e01e9acfb786c5dd2862f57f206b0b3cb889 author David S. Miller Tue, 14 Feb 2006 01:32:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:53 -0800 [SPARC64]: Fix gcc-3.3.x warnings. It doesn't like const variables being passed into "i" constraing asm operations. It's a bug, but there is nothing we can really do but work around it. Based upon a report from Andrew Morton. Signed-off-by: David S. Miller commit 3af6e01e9acfb786c5dd2862f57f206b0b3cb889 tree f3f2faf1746b797e33c6fc3e468da5d114197cdd parent c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e author David S. Miller Tue, 14 Feb 2006 00:55:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:52 -0800 [SPARC64]: arch/sparc64/kernel/trampoline.S needs asm/cpudata.h Signed-off-by: David S. Miller commit c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e tree 3d32f942cd0a62f6ca89fe7781f59708845d7a38 parent 4bf447d6f7c2357dec8bdc24ce0fcffd71cc29c0 author David S. Miller Mon, 13 Feb 2006 22:56:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:51 -0800 [SPARC64]: Make error codes available from sun4v_intr_get*(). And check for errors at call sites. Signed-off-by: David S. Miller commit 4bf447d6f7c2357dec8bdc24ce0fcffd71cc29c0 tree c74478f8d6c66d90629446444d1cfb55376934eb parent a615fea48be4eada94986d63e3e8ee5563121649 author David S. Miller Mon, 13 Feb 2006 22:37:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:50 -0800 [SPARC64]: Pass correct ino to sun4v_intr_*(). Signed-off-by: David S. Miller commit a615fea48be4eada94986d63e3e8ee5563121649 tree 3809861753726fe11232f64097356d2d910262e4 parent 7c8f486ae7fe90d7bb99a70a42d71c9a40688ec2 author David S. Miller Mon, 13 Feb 2006 22:37:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:49 -0800 [SPARC64]: Use TRAP_LOAD_IRQ_WORK() in sun4v device mondo handler. Signed-off-by: David S. Miller commit 7c8f486ae7fe90d7bb99a70a42d71c9a40688ec2 tree 530873917fefde54ab7a5a86f9027ebe70bdd966 parent 87bdc367ca1a7e16c29a6bff6b1e8fe179e27f90 author David S. Miller Mon, 13 Feb 2006 21:50:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:48 -0800 [SPARC64]: Fix IOMMU mapping on sun4v. We should dynamically allocate the per-cpu pglist not use an in-kernel-image datum, since __pa() does not work on such addresses. Also, consistently use "u32" for devhandle. Signed-off-by: David S. Miller commit 87bdc367ca1a7e16c29a6bff6b1e8fe179e27f90 tree 5080920b8b26fd2197d7a68320117d378c56fdc5 parent d5a2aa241aa0babf382d42d6033b30a5112e4c1e author David S. Miller Mon, 13 Feb 2006 21:36:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:47 -0800 [SPARC64]: Trim down sun4v IRQ translation kernel log message. Signed-off-by: David S. Miller commit d5a2aa241aa0babf382d42d6033b30a5112e4c1e tree 64b0ffb5b321827be583de8167f5f80f0befdb33 parent 5259d5bfaf5b2953b130e9a500277a905bd37823 author David S. Miller Mon, 13 Feb 2006 21:28:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:46 -0800 [SPARC64] sunhv: Bug fixes. Add udelay to polling console write loop, and increment the loop limit. Name the device "ttyHV" and pass that to add_preferred_console() when we're using hypervisor console. Kill sunhv_console_setup(), it's empty. Handle the case where we don't want to use hypervisor console. (ie. we have a head attached to a sun4v machine) Signed-off-by: David S. Miller commit 5259d5bfaf5b2953b130e9a500277a905bd37823 tree 3768df7a92c63a2eeec0d29aadca60ce57f36de7 parent f4266ab45a3f08bd76c2d414a2d7a1a9dc2501c0 author David S. Miller Mon, 13 Feb 2006 21:15:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:46 -0800 [SPARC64]: Fix comment typo in asm/hypervisor.h Signed-off-by: David S. Miller commit f4266ab45a3f08bd76c2d414a2d7a1a9dc2501c0 tree 637320d25c33e6ff5b71b9077143b8e54a1227d9 parent e77227eb4e17591a6a511b9c0ff6e8ad7350c575 author David S. Miller Mon, 13 Feb 2006 20:43:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:45 -0800 [SPARC64] sunhv: Use virtual-devices layer to get interrupt. Signed-off-by: David S. Miller commit e77227eb4e17591a6a511b9c0ff6e8ad7350c575 tree be8b7f13fd2ff0543879286b04045f6c3587dda3 parent d5eb4004303b4dd04ec83b926b5fc2d9ceda4b2e author David S. Miller Mon, 13 Feb 2006 20:42:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:44 -0800 [SPARC64]: Probe virtual-devices root node on sun4v. This is where we learn how to get the interrupts for things like the hypervisor console device. Signed-off-by: David S. Miller commit d5eb4004303b4dd04ec83b926b5fc2d9ceda4b2e tree 8d77d760af01722b7ce330a0f5a4d525554e0964 parent 1ddb7c98d44b898cfe0443c1e242cebfb0479d46 author David S. Miller Mon, 13 Feb 2006 20:41:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:43 -0800 [SPARC64]: Kill spurious semicolon in sun4v_pci_init(). Signed-off-by: David S. Miller commit 1ddb7c98d44b898cfe0443c1e242cebfb0479d46 tree 995bd63451677335e59d981c57e7369238afecb4 parent 10951ee61056a9f91c00c16746f2042672d7af7c author David S. Miller Mon, 13 Feb 2006 20:09:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:42 -0800 [SPARC64]: Prevent registering wrong serial console. If the console is not for a particular Sun serial controller, set the drv->cons to NULL. Signed-off-by: David S. Miller commit 10951ee61056a9f91c00c16746f2042672d7af7c tree ad95c289332c5a3ad82b262a736620ef8f16b406 parent e3999574b48125c9bb0c95e3e9f1c696bf96c3e3 author David S. Miller Mon, 13 Feb 2006 18:22:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:41 -0800 [SPARC64]: Program IRQ registers correctly on sun4v. Need to use hypervisor calls instead of direct register accesses. Signed-off-by: David S. Miller commit e3999574b48125c9bb0c95e3e9f1c696bf96c3e3 tree a6651da06fa36c3dde33a7be5f0b7192b8442cd7 parent 10804828fd06a43ce964e9d9852332e7ff1507b1 author David S. Miller Mon, 13 Feb 2006 18:16:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:40 -0800 [SPARC64]: Generic sun4v_build_irq(). Signed-off-by: David S. Miller commit 10804828fd06a43ce964e9d9852332e7ff1507b1 tree a932ff7ed2722f640dfbcfe1a84e94338cbcad0a parent bf941d6cd62aa2022f0887e25e3d02c389b0bf9b author David S. Miller Mon, 13 Feb 2006 18:09:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:39 -0800 [SPARC64]: More SUN4V PCI work. Get bus range from child of PCI controller root nexus. This is actually a hack, but the PCI-E bridge sitting at the top of the PCI tree responds to PCI config cycles for every device number, so best to just ignore it for now. Preliminary PCI irq routing, needs lots of work. Signed-off-by: David S. Miller commit bf941d6cd62aa2022f0887e25e3d02c389b0bf9b tree 56c8e87668d29ab96e0d84ba6aa5a62e64d9b827 parent 6c0f402f6cc62314ef83b975f3430350dcb6055f author David S. Miller Mon, 13 Feb 2006 18:07:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:38 -0800 [SPARC64]: Log faulting vaddr when bogus kernel PC detected. Signed-off-by: David S. Miller commit 6c0f402f6cc62314ef83b975f3430350dcb6055f tree 394a2e981ee8fff3e6eda7aec2d20be8542ecae1 parent 85dfa19ba92f88fa1c1482f655c7247119dfdcd5 author David S. Miller Mon, 13 Feb 2006 00:23:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:37 -0800 [SPARC64]: Implement rest of generic interrupt hypervisor calls. Signed-off-by: David S. Miller commit 85dfa19ba92f88fa1c1482f655c7247119dfdcd5 tree 28038115f626e5c84bb50ad9ff5eed5dc943fcde parent 059833eb817fec3a5a7f62fba9592749c4cebc73 author David S. Miller Mon, 13 Feb 2006 00:02:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:36 -0800 [SPARC64]: Move devino_to_sysino out of pci_sun4v_asm.S It is not PCI specific, it is for all system interrupts. Signed-off-by: David S. Miller commit 059833eb817fec3a5a7f62fba9592749c4cebc73 tree 5de088b9200956458ca83afe33335d6ea87c63d6 parent 0b522497a176f222ae4cf7e6733a5357352224b2 author David S. Miller Sun, 12 Feb 2006 23:49:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:36 -0800 [SPARC64]: Range check bus number in SUN4V PCI controller driver. It has to be somewhere in the range from pbm->pci_first_busno to pbm->pci_last_busno, inclusive. Signed-off-by: David S. Miller commit 0b522497a176f222ae4cf7e6733a5357352224b2 tree a65db8c8c97e8f8e760f802dc3a59c38765a7517 parent c26092675020ff495a16dd635bf1733215325540 author David S. Miller Sun, 12 Feb 2006 22:29:36 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:35 -0800 [SPARC64]: Missing 'return' statement in sun4v_pci_init(). Signed-off-by: David S. Miller commit c26092675020ff495a16dd635bf1733215325540 tree aabc5144263f0fff7350a84c35aa2a522a7e1b2f parent 3833789bb2e15eb85fad296d8fb40f1437925645 author David S. Miller Sun, 12 Feb 2006 22:18:52 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:34 -0800 [SPARC64]: Implement basic pci_sun4v_scan_bus(). Signed-off-by: David S. Miller commit 3833789bb2e15eb85fad296d8fb40f1437925645 tree 31304e25c2d7c9c5f06b0bc74a5f4e9578de904c parent cf627156c450cd5a0741b31f55181db3400d4887 author David S. Miller Sun, 12 Feb 2006 22:06:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:33 -0800 [SPARC64]: PCI-SUN4V fixes. Clear top 8-bits of physical addresses in "ranges" property. This gives the actual physical address. Detect PBM-A vs. PBM-B by checking bit 0x40 of the devhandle. Signed-off-by: David S. Miller commit cf627156c450cd5a0741b31f55181db3400d4887 tree e8f44d2509f5544ee5b5d583da3e10ac99ca3629 parent ff02e0d26f139ad95ec3a7e94f88faccaa180dff author David S. Miller Sun, 12 Feb 2006 21:10:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:32 -0800 [SPARC64]: Use inline patching for critical PTE operations. This handles the SUN4U vs SUN4V PTE layout differences with near zero performance cost. Signed-off-by: David S. Miller commit ff02e0d26f139ad95ec3a7e94f88faccaa180dff tree 7a872c9792561c77c672ba640b80134c592d93c7 parent 221b2fb818c307e1cb47e036a1671ca554d9cd0a author David S. Miller Sun, 12 Feb 2006 17:07:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:31 -0800 [SPARC64]: Move PTE field definitions back into asm/pgtable.h Signed-off-by: David S. Miller commit 221b2fb818c307e1cb47e036a1671ca554d9cd0a tree 8272df9706662098fce37984e9ea0e06ee5922ab parent 6241e5cc6afe2c5b75b51e1c890df18f05838cf6 author David S. Miller Sat, 11 Feb 2006 23:38:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:30 -0800 [SPARC64]: Don't expect cfg space in PCI PBM ranges on SUN4V. PCI cfg space is accessed transparently through the Hypervisor and not through direct cpu PIO operations. Signed-off-by: David S. Miller commit 6241e5cc6afe2c5b75b51e1c890df18f05838cf6 tree 557eb4d7f530b9229a87c0a8d9f6013b9987f6f5 parent 1a7a242c898dd131f2df005c492e9b44fb8900e0 author David S. Miller Sat, 11 Feb 2006 23:28:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:29 -0800 [SPARC64]: Fix branch signedness bug in all code patching. The bug that hit SUN4V TLB patching exists elsewhere. Make sure we cure all such cases. Signed-off-by: David S. Miller commit 1a7a242c898dd131f2df005c492e9b44fb8900e0 tree 5f00961b9c6539951adda7bfaafda030cea39c38 parent 02fead75055246d01af56a45a9d1b311d506da3e author David S. Miller Sat, 11 Feb 2006 23:24:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:28 -0800 [SPARC64]: Recognize "virtual-console" as input and output console device. Signed-off-by: David S. Miller commit 02fead75055246d01af56a45a9d1b311d506da3e tree 66d66532514e2a58a42d15fd6ba5c3d3c200b7c0 parent 7aa6264543f19ceea9b5f386242917296d63be05 author David S. Miller Sat, 11 Feb 2006 23:22:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:27 -0800 [SPARC64]: Do not try to synchronize %stick registers on SUN4V. Writes by privileged code are not allowed. Signed-off-by: David S. Miller commit 7aa6264543f19ceea9b5f386242917296d63be05 tree ca0639f3777fa5a7b553097535fcf505647f6701 parent b5a37e96b8dc067b979e44c4e109c9bc49c2f4d8 author David S. Miller Sat, 11 Feb 2006 23:14:59 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:27 -0800 [SPARC64]: Do not try to write to %tick or %stick on SUN4V. Writes by privileged code are disallowed. The hypervisor manages the non-privileged bit. Signed-off-by: David S. Miller commit b5a37e96b8dc067b979e44c4e109c9bc49c2f4d8 tree 2dcb1bf2927598c2fe9064f82174d7ecd445341a parent c4bce90ea2069e5a87beac806de3090ab32128d5 author David S. Miller Sat, 11 Feb 2006 23:07:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:26 -0800 [SPARC64]: Fix mondo queue allocations. We have to use bootmem during init_IRQ and page alloc for sibling cpu calls. Also, fix incorrect hypervisor call return value checks in the hypervisor SMP cpu mondo send code. Signed-off-by: David S. Miller commit c4bce90ea2069e5a87beac806de3090ab32128d5 tree 3983a206c8060ef65ba17945d1c9f69e68d88b3d parent 490384e752a43aa281ed533e9de2da36df25c337 author David S. Miller Sat, 11 Feb 2006 21:57:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:25 -0800 [SPARC64]: Deal with PTE layout differences in SUN4V. Yes, you heard it right, they changed the PTE layout for SUN4V. Ho hum... This is the simple and inefficient way to support this. It'll get optimized, don't worry. Signed-off-by: David S. Miller commit 490384e752a43aa281ed533e9de2da36df25c337 tree ec087a27a481b9a63aeda6703971acf4adeab19b parent 459b6e621e0e15315c25bac47fa7113e5818d45d author David S. Miller Sat, 11 Feb 2006 14:41:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:23 -0800 [SPARC64]: Register kernel TSB with hypervisor. We do this right after we take over the trap table from OBP. Signed-off-by: David S. Miller commit 459b6e621e0e15315c25bac47fa7113e5818d45d tree 4bbff0ec1dafb7fba8b247c84ad708f54cc687fe parent fd05068d7b22b64211f9202aa67ad44b51d44242 author David S. Miller Sat, 11 Feb 2006 12:21:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:23 -0800 [SPARC64]: Fix some SUN4V TLB miss bugs. Code patching did not sign extend negative branch offsets correctly. Kernel TLB miss path needs patching and %g4 register preservation in order to handle SUN4V correctly. Signed-off-by: David S. Miller commit fd05068d7b22b64211f9202aa67ad44b51d44242 tree f9b5ce3df021fc8775b6f6ed83f03af18ce0a004 parent 6cebb52094baddd4c167bb5100a7cf6f7bee6910 author David S. Miller Sat, 11 Feb 2006 11:05:52 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:22 -0800 [SPARC64]: Fix typo in sun4v_patch(). Second instruction offset is '4' not '3'. Signed-off-by: David S. Miller commit 6cebb52094baddd4c167bb5100a7cf6f7bee6910 tree 5fef397fbb773f7d8aa40aecc303d18ddf88803e parent 0d4bc95b9c205a7374afbe93b38d9c2757a45862 author David S. Miller Sat, 11 Feb 2006 10:56:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:21 -0800 [SPARC64]: Fix sun4v early bootup. prom_sun4v_name should be "sun4v" not "SUNW,sun4v" Also, this is too early to make use of the .sun4v_Xinsn_patch code patching, so just check things manually. This gets us at least to prom_init() on Niagara. Signed-off-by: David S. Miller commit 0d4bc95b9c205a7374afbe93b38d9c2757a45862 tree e43b03a266da9786355941246b77f30058e7058d parent e92b92571c85dfa1cdc56e88566134c51ae1d12b author David S. Miller Sat, 11 Feb 2006 10:30:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:20 -0800 [SPARC64]: Fix some Niagara memcpy() bugs. We need to restore the %asi register properly. For the kernel this means get_fs(), for user this means ASI_PNF. Also, NGcopy_to_user.S was including U3memcpy.S instead of NGmemcpy.S, oops :-) Signed-off-by: David S. Miller commit e92b92571c85dfa1cdc56e88566134c51ae1d12b tree fdd2bda36e563ea4df9c3f24dc5a3f330d50875c parent 02fd473bd4844befc74f7ca67cd60891e0a2d890 author David S. Miller Sat, 11 Feb 2006 10:19:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:19 -0800 [SPARC64]: Handle hypervisor case correctly in copy_tsb(). Signed-off-by: David S. Miller commit 02fd473bd4844befc74f7ca67cd60891e0a2d890 tree 4c338418dcfdd73c88d3ca8e969944be42cde60e parent 4bdff41464c2954c6f62f849df0e73eb9fa21c65 author David S. Miller Sat, 11 Feb 2006 02:25:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:18 -0800 [SPARC64]: Add SUN4V Hypervisor Console driver. Since it can do things like BREAK and HUP, we implement this as a serial uart driver. This still needs interrupt probing code, as I haven't figured out how interrupts will work or be probed for on SUN4V yet. Signed-off-by: David S. Miller commit 4bdff41464c2954c6f62f849df0e73eb9fa21c65 tree 781d3d844f87cf66b780874c367852af20ca9acc parent 36a68e77c554f1ef1c206fd618e6daf82d3e38a3 author David S. Miller Sat, 11 Feb 2006 01:01:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:17 -0800 [SPARC64]: Fetch bootup time of day from Hypervisor. Signed-off-by: David S. Miller commit 36a68e77c554f1ef1c206fd618e6daf82d3e38a3 tree 59a4591b76ef18e54b5b1b2687268e0dd6bb69ef parent 12eaa328f9fb2d3fcb5afb682c762690d05a3cd8 author David S. Miller Sat, 11 Feb 2006 00:29:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:16 -0800 [SPARC64]: Simplify sun4v TLB handling using macros. There was also a bug in sun4v_itlb_miss, it loaded the MMU Fault Status base into %g3 instead of %g2. This pointed out a fast path for TSB miss processing, since we have %g2 with the MMU Fault Status base, we can use that to quickly load up the PGD phys address. Signed-off-by: David S. Miller commit 12eaa328f9fb2d3fcb5afb682c762690d05a3cd8 tree cce4e68b971757010a3e0bbf035fc65a381a3cd4 parent 18397944642cbca7fcd4a109b43ed5b4652e95b9 author David S. Miller Fri, 10 Feb 2006 15:39:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:15 -0800 [SPARC64]: Use ASI_SCRATCHPAD address 0x0 properly. This is where the virtual address of the fault status area belongs. To set it up we don't make a hypervisor call, instead we call OBP's SUNW,set-trap-table with the real address of the fault status area as the second argument. And right before that call we write the virtual address into ASI_SCRATCHPAD vaddr 0x0. Signed-off-by: David S. Miller commit 18397944642cbca7fcd4a109b43ed5b4652e95b9 tree 6848d3e67b789b30064f488bd3273ed5ebee4f99 parent 164c220fa3947abbada65329d168f421b461a2a7 author David S. Miller Fri, 10 Feb 2006 00:08:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:15 -0800 [SPARC64]: First cut at SUN4V PCI IOMMU handling. Signed-off-by: David S. Miller commit 164c220fa3947abbada65329d168f421b461a2a7 tree 1a10418ccf896f1f9209c2206bedf87915b63bfd parent dedacf623283cb24933ec9f7d5bf539f19173cd4 author David S. Miller Thu, 09 Feb 2006 22:57:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:14 -0800 [SPARC64]: Fix hypervisor call arg passing. Function goes in %o5, args go in %o0 --> %o5. Signed-off-by: David S. Miller commit dedacf623283cb24933ec9f7d5bf539f19173cd4 tree e628dffa192236c89e3d646eb62c49ef1c98aab4 parent 7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd author David S. Miller Thu, 09 Feb 2006 22:26:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:13 -0800 [SPARC64]: Add HV_PCI_TSBID() macro. For constructing hypervisor PCI TSB IDs. Signed-off-by: David S. Miller commit 7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd tree bc308c82a5670163470b44b6f339d1b379a97347 parent bade5622167181844cd4e60087971c1f949e149f author David S. Miller Thu, 09 Feb 2006 22:20:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:12 -0800 [SPARC64]: Implement SUN4V PCI config space access. Signed-off-by: David S. Miller commit bade5622167181844cd4e60087971c1f949e149f tree 0bd0144e472786f8ba5b37a2bb90204ff6bf204b parent 8f6a93a196ba6c569c3e8daa6e81cca7e3ba81b1 author David S. Miller Thu, 09 Feb 2006 22:05:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:11 -0800 [SPARC64]: More SUN4V PCI controller work. Add assembler file for PCI hypervisor calls. Setup basic skeleton of SUN4V PCI controller driver. Add 32-bit devhandle to PBM struct, as this is needed for hypervisor calls. Signed-off-by: David S. Miller commit 8f6a93a196ba6c569c3e8daa6e81cca7e3ba81b1 tree 80d4747608148c56fd8c67baf016ad4fc58610ea parent 4cce4b7cc56abc3d7b269d09224b8297aad15138 author David S. Miller Thu, 09 Feb 2006 21:32:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:10 -0800 [SPARC64]: Beginnings of SUN4V PCI controller support. Abstract out IOMMU operations so that we can have a different set of calls on sun4v, which needs to do things through hypervisor calls. Signed-off-by: David S. Miller commit 4cce4b7cc56abc3d7b269d09224b8297aad15138 tree 69e0f38ef8e9be4328d0098dee1a86a665f8dad7 parent 5fe91cf6254c8f23d90efb5fc11fff57dd5ab8dd author David S. Miller Thu, 09 Feb 2006 20:46:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:09 -0800 [SPARC64]: Fetch cpu mid properly on sun4v. If there is a "cpuid" property, use that. Else suck it out of the top bits of the "reg" property. Signed-off-by: David S. Miller commit 5fe91cf6254c8f23d90efb5fc11fff57dd5ab8dd tree 3a5d3ec9a752a7996f8e9060710fee322f2d5214 parent ed6b0b45437dcf7ef1c48b3be413bebcc84771d8 author David S. Miller Thu, 09 Feb 2006 20:45:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:08 -0800 [SPARC]: Clean up idprom header files. Delete unused macros, and use fixed sized types in sparc32 header. Signed-off-by: David S. Miller commit ed6b0b45437dcf7ef1c48b3be413bebcc84771d8 tree e52dbcebe1435f9d2957b55c100824cb7b8b1f98 parent 618e9ed98aed924a1fc664eb6522db4a5e927043 author David S. Miller Thu, 09 Feb 2006 20:20:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:07 -0800 [SPARC64]: SUN4V memory exception trap handlers. Signed-off-by: David S. Miller commit 618e9ed98aed924a1fc664eb6522db4a5e927043 tree 08ace6185b8f9709cb22a23d329def1dae622666 parent aa9143b9719c07fb6f1f6207790c9c5086ae07e7 author David S. Miller Thu, 09 Feb 2006 17:21:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:06 -0800 [SPARC64]: Hypervisor TSB context switching. Signed-off-by: David S. Miller commit aa9143b9719c07fb6f1f6207790c9c5086ae07e7 tree 74d56ecc53ed0542f200d6c6257c8f051095111c parent 12816ab38adddc9d7e9b3315d1739655dedc7c9f author David S. Miller Thu, 09 Feb 2006 16:12:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:05 -0800 [SPARC64]: Implement sun4v TSB miss handlers. When we register a TSB with the hypervisor, so that it or hardware can handle TLB misses and do the TSB walk for us, the hypervisor traps down to these trap when it incurs a TSB miss. Processing is simple, we load the missing virtual address and context, and do a full page table walk. Signed-off-by: David S. Miller commit 12816ab38adddc9d7e9b3315d1739655dedc7c9f tree cec4253a99fa61e5a96f82039499442049a3e8ed parent 3a8c069d0eea936c2fe3637ab62967af31555ee9 author David S. Miller Thu, 09 Feb 2006 03:00:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:05 -0800 [SPARC64]: kernel/cpu.c needs asm/spitfire.h For 'tlb_type'. Signed-off-by: David S. Miller commit 3a8c069d0eea936c2fe3637ab62967af31555ee9 tree cd8c749c11a8830520c95178d7520f1dd9718b5a parent d82ace7dc4073b090a55b9740700e32b9a9ae302 author David S. Miller Thu, 09 Feb 2006 02:54:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:04 -0800 [SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor. Signed-off-by: David S. Miller commit d82ace7dc4073b090a55b9740700e32b9a9ae302 tree d5aa8e10664b05bbfe31eacf95e2066c03cab102 parent 1d2f1f90a1e004b0c1b8a73ed4394a93f09104b3 author David S. Miller Thu, 09 Feb 2006 02:52:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:03 -0800 [SPARC64]: Detect sun4v early in boot process. We look for "SUNW,sun4v" in the 'compatible' property of the root OBP device tree node. Protect every %ver register access, to make sure it is not touched on sun4v, as %ver is hyperprivileged there. Lock kernel TLB entries using hypervisor calls instead of calls into OBP. Signed-off-by: David S. Miller commit 1d2f1f90a1e004b0c1b8a73ed4394a93f09104b3 tree 2fcc0840b52218631020311d7b6d785e9a15db6a parent 5b0c0572fcd6204675c5f7ddfa572b5017f817dd author David S. Miller Wed, 08 Feb 2006 16:41:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:02 -0800 [SPARC64]: Sun4v cross-call sending support. Technically the hypervisor call supports sending in a list of all cpus to get the cross-call, but I only pass in one cpu at a time for now. The multi-cpu support is there, just ifdef'd out so it's easy to enable or delete it later. Signed-off-by: David S. Miller commit 5b0c0572fcd6204675c5f7ddfa572b5017f817dd tree 1075a61338e887bd6d4ecd4517646ef95dc09fbc parent ac29c11d4cd4fa1fac968e99998a956405732f2f author David S. Miller Wed, 08 Feb 2006 02:53:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:01 -0800 [SPARC64]: Sun4v interrupt handling. Sun4v has 4 interrupt queues: cpu, device, resumable errors, and non-resumable errors. A set of head/tail offset pointers help maintain a work queue in physical memory. The entries are 64-bytes in size. Each queue is allocated then registered with the hypervisor as we bring cpus up. The two error queues each get a kernel side buffer that we use to quickly empty the main interrupt queue before we call up to C code to log the event and possibly take evasive action. Signed-off-by: David S. Miller commit ac29c11d4cd4fa1fac968e99998a956405732f2f tree cc733e3bd63af7b35a50d11455b7d5b2fc9ff1e9 parent e088ad7ca3d09c96e63f1ce411a2ccba2688bf25 author David S. Miller Wed, 08 Feb 2006 00:08:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:00 -0800 [SPARC64]: Allocate and register the 4 sun4v mondo queues at bootup. Needs to occur before we enable PSTATE_IE in %pstate. Signed-off-by: David S. Miller commit e088ad7ca3d09c96e63f1ce411a2ccba2688bf25 tree 43156b5b25c0b91d56fbcb959e1744966880057d parent 7202c55c5c57d2ad4611a751544c9368d7fba93a author David S. Miller Tue, 07 Feb 2006 23:51:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:59 -0800 [SPARC64]: Verify all trap_per_cpu assembler offsets in trap_init() Signed-off-by: David S. Miller commit 7202c55c5c57d2ad4611a751544c9368d7fba93a tree 282219004791550b35f7de50d449d96f396be8f6 parent 3bfd6f3e77f58479ec53aa91d0b078abbb4c0868 author David S. Miller Tue, 07 Feb 2006 22:53:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:58 -0800 [SPARC64]: Add sun4v mondo queue bases to struct trap_per_cpu. Also, correct TRAP_PER_CPU_FAULT_INFO define, it should be 0x40 not 0x20. Signed-off-by: David S. Miller commit 3bfd6f3e77f58479ec53aa91d0b078abbb4c0868 tree 1ec49afc137feed4e70b1be7728920165e90b838 parent 8b11bd12aff76e02cdc2cbc9e439bba88d281223 author David S. Miller Tue, 07 Feb 2006 22:49:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:57 -0800 [SPARC64]: Fix some comment typos in asm/hypervisor.h Signed-off-by: David S. Miller commit 8b11bd12aff76e02cdc2cbc9e439bba88d281223 tree 903ab8830616bfbe5a821e4359f642842c8060a4 parent 481295f982b21b1dbe71cbf41d3a93028fee30d1 author David S. Miller Tue, 07 Feb 2006 22:13:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:56 -0800 [SPARC64]: Patch up mmu context register writes for sun4v. sun4v uses ASI_MMU instead of ASI_DMMU Signed-off-by: David S. Miller commit 481295f982b21b1dbe71cbf41d3a93028fee30d1 tree 5b1af84a7f83021698bcf138c8875d7290e65282 parent 89a5264f065672a882f555228000614a6b2182b7 author David S. Miller Tue, 07 Feb 2006 21:51:08 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:55 -0800 [SPARC64]: Register per-cpu fault status area with sun4v hypervisor. Signed-off-by: David S. Miller commit 89a5264f065672a882f555228000614a6b2182b7 tree 4fa226fed4b8119096e50ff8c915d2c0f8d6cd6d parent 8591e3027235d6d11b958e43379f2ee7b7114841 author David S. Miller Tue, 07 Feb 2006 21:15:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:55 -0800 [SPARC64]: asm/cpudata.h needs asm/asi.h For the expansion of __GET_CPUID() on SMP. Signed-off-by: David S. Miller commit 8591e3027235d6d11b958e43379f2ee7b7114841 tree ce3f036ac64e20f7d75bae04e5362c97bc9228e6 parent df7d6aec96ab98cb182dd5138a85bdc363a9bf0d author David S. Miller Tue, 07 Feb 2006 16:09:12 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:54 -0800 [SPARC64]: Niagara copy/clear page. Happily we have no D-cache aliasing issues on these chips, so the implementation is very straightforward. Add a stub in bootup which will be where the patching calls will be made for niagara/sun4v/hypervisor. Signed-off-by: David S. Miller commit df7d6aec96ab98cb182dd5138a85bdc363a9bf0d tree d71808a328639a32b16c53b24ce8a6b641f43ad2 parent d257d5da39a78b32721ca84b2ba7f461f2f7ed7f author David S. Miller Tue, 07 Feb 2006 00:00:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:53 -0800 [SPARC64]: Rename gl_{1,2}insn_patch --> sun4v_{1,2}insn_patch Signed-off-by: David S. Miller commit d257d5da39a78b32721ca84b2ba7f461f2f7ed7f tree ac28d377688ebe13a4d38e05f4ff65ba73d8652a parent 840aaef8db32572b6d11e0d5cb5e6efcbc812000 author David S. Miller Mon, 06 Feb 2006 23:44:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:52 -0800 [SPARC64]: Initial sun4v TLB miss handling infrastructure. Things are a little tricky because, unlike sun4u, we have to: 1) do a hypervisor trap to do the TLB load. 2) do the TSB lookup calculations by hand Signed-off-by: David S. Miller commit 840aaef8db32572b6d11e0d5cb5e6efcbc812000 tree af8b8364f314d9d71c5ae81ffb48b46c53c6ae6c parent 45fec05f805a113372c9a7ff4c653ac749f6921c author David S. Miller Mon, 06 Feb 2006 15:52:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:51 -0800 [SPARC64]: Add missing memory barriers to instruction patching functions. V9 requires a write memory barrier before the instruction flush. Signed-off-by: David S. Miller commit 45fec05f805a113372c9a7ff4c653ac749f6921c tree 36fc99d10656775acb8e9442719447d64ac30a03 parent 314981ac7177a933319e3c071a5cf0a579205e6e author David S. Miller Sun, 05 Feb 2006 22:27:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:50 -0800 [SPARC64]: Sanitize %pstate writes for sun4v. If we're just switching between different alternate global sets, nop it out on sun4v. Also, get rid of all of the alternate global save/restore in the OBP CIF trampoline code. Signed-off-by: David S. Miller commit 314981ac7177a933319e3c071a5cf0a579205e6e tree 11895da391ba91195d6d7a67debaa32a28c1215e parent 936f482af1743141d637483ec10eb881537c26dc author David S. Miller Sun, 05 Feb 2006 21:59:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:49 -0800 [SPARC64]: Kill all %pstate changes in context switch code. They are totally unnecessary because: 1) Interrupts are already disabled when switch_to() runs. 2) We don't use hard-coded alternate globals any longer. This found a case in rtrap, which still assumed alternate global %g6 was current_thread_info(), and that is fixed by this changeset as well. Signed-off-by: David S. Miller commit 936f482af1743141d637483ec10eb881537c26dc tree 913da89a4d9f4038c510c9ecf2f5957b0f6d167f parent 6e02493a7f33ac89e698b980a657d77ab2749eaf author David S. Miller Sun, 05 Feb 2006 21:29:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:48 -0800 [SPARC64]: Add initial code to twiddle %gl on trap entry/exit. Instead of setting/clearing PSTATE_AG we have to change the %gl register value on sun4v. Signed-off-by: David S. Miller commit 6e02493a7f33ac89e698b980a657d77ab2749eaf tree fcb6a17c2222a1aa601faf95a50a92b7a7a9224a parent d619d7f11670f5b1cfca30e6645e44c8a6014820 author David S. Miller Sun, 05 Feb 2006 20:47:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:47 -0800 [SPARC64]: Fill dead cycles on trap entry with real work. As we save trap state onto the stack, the store buffer fills up mid-way through and we stall for several cycles as the store buffer trickles out to the L2 cache. Meanwhile we can do some privileged register reads and other calculations, essentially for free. Signed-off-by: David S. Miller commit d619d7f11670f5b1cfca30e6645e44c8a6014820 tree cad4f39ece5f59f2a16327a13e25863d2f466f14 parent d96b81533ba3d5775e45aee6986b2aa33c10801c author David S. Miller Sat, 04 Feb 2006 23:59:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:46 -0800 [SPARC64]: Add define for "GL" field of sun4v %tstate register. Signed-off-by: David S. Miller commit d96b81533ba3d5775e45aee6986b2aa33c10801c tree 334af39452d650cc14b389c58a30cc54e9e130dd parent e1c21c4f476f2270c98aad1fe55e5f33e25f77f5 author David S. Miller Sat, 04 Feb 2006 15:40:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:45 -0800 [SPARC64]: Add sun4v case to __GET_CPUID() patch tables. Signed-off-by: David S. Miller commit e1c21c4f476f2270c98aad1fe55e5f33e25f77f5 tree 830ae146cd0cf807d949b09641ec8e82c6ed8149 parent 277b6dd9600613b01f66cadef2f0065514fecf69 author David S. Miller Sat, 04 Feb 2006 03:12:14 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:44 -0800 [SPARC64]: Sun4v interrupt queue register definitions. Signed-off-by: David S. Miller commit 277b6dd9600613b01f66cadef2f0065514fecf69 tree f9e9f42f05b3204fe17778a999fecd9fa63b1e7e parent d398ee230f94a8ba386d8abb63f4fea129e4eaba author David S. Miller Sat, 04 Feb 2006 03:12:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:44 -0800 [SPARC64]: Sun4v scratchpad register layout. Signed-off-by: David S. Miller commit d398ee230f94a8ba386d8abb63f4fea129e4eaba tree bcad4a48333ddbdd04f890d7136c0e3efb829cec parent 398d10830843bda7798f71052b54a5341a8ddd53 author David S. Miller Sat, 04 Feb 2006 03:11:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:43 -0800 [SPARC64]: Sun4v specific ASI defines. Signed-off-by: David S. Miller commit 398d10830843bda7798f71052b54a5341a8ddd53 tree 3c2f7da709f2f5e21fe3e5678276eae2d665735f parent 30ddbdb03339fc62480ddbff800a44066bb14455 author David S. Miller Sun, 05 Mar 2006 16:41:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:42 -0800 [SPARC64]: Niagara optimized memcpy() and copy_{to,from}_user(). Signed-off-by: David S. Miller commit 30ddbdb03339fc62480ddbff800a44066bb14455 tree 6d064ae396014418601acd8fc678463750f2bffa parent a43fe0e789f5445f5224511034f410adf11f153b author David S. Miller Sat, 04 Feb 2006 03:11:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:41 -0800 [SPARC64]: Add Niagara init-store twin-load ASI defines. Signed-off-by: David S. Miller commit a43fe0e789f5445f5224511034f410adf11f153b tree cface7b6e616be616899da8c0762f904263c5985 parent 1633a53c79498455b16d051451f4e3f83ab4e7dd author David S. Miller Sat, 04 Feb 2006 03:10:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:40 -0800 [SPARC64]: Add some hypervisor tlb_type checks. And more consistently check cheetah{,_plus} instead of assuming anything not spitfire is cheetah{,_plus}. Signed-off-by: David S. Miller commit 1633a53c79498455b16d051451f4e3f83ab4e7dd tree 3f28700c60a0464879833a6d76875f387388e20c parent 52bf082f0a6e49e08ed99d4d9518c662dc735c7a author David S. Miller Sat, 04 Feb 2006 03:09:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:39 -0800 [SPARC64]: Add 'hypervisor' to ultra_tlb_type enumeration. Signed-off-by: David S. Miller commit 52bf082f0a6e49e08ed99d4d9518c662dc735c7a tree 7d6a27ea0ed9d66810952999cfa19afb4de66616 parent 766f861fbbd968a1850295ed6dec4504b4500dcc author David S. Miller Sat, 04 Feb 2006 03:08:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:38 -0800 [SPARC64]: SUN4V hypervisor TLB flush support code. Signed-off-by: David S. Miller commit 766f861fbbd968a1850295ed6dec4504b4500dcc tree 76729285f448b58c812469b1bddf64f92e9f8d6e parent 314ef6859750b6539eac48d78059bb7986f29cb1 author David S. Miller Sat, 04 Feb 2006 03:01:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:37 -0800 [SPARC64]: SUN4V hypervisor interface defines. Signed-off-by: David S. Miller commit 314ef6859750b6539eac48d78059bb7986f29cb1 tree 26c7da386349c1cf377225356e1012ae62da6f07 parent ffe483d55229fadbaf4cc7316d47024a24ecd1a2 author David S. Miller Sat, 04 Feb 2006 00:10:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:36 -0800 [SPARC64]: Refine register window trap handling. When saving and restoing trap state, do the window spill/fill handling inline so that we never trap deeper than 2 trap levels. This is important for chips like Niagara. The window fixup code is massively simplified, and many more improvements are now possible. Signed-off-by: David S. Miller commit ffe483d55229fadbaf4cc7316d47024a24ecd1a2 tree 70bdb6c94d5b3512a7b2a3ff06979ac2e4e869bf parent 92704a1c63c3b481870d02636d0b5a70c7e21cd1 author David S. Miller Thu, 02 Feb 2006 21:55:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:35 -0800 [SPARC64]: Add explicit register args to trap state loading macros. This, as well as making the code cleaner, allows a simplification in the TSB miss handling path. Signed-off-by: David S. Miller commit 92704a1c63c3b481870d02636d0b5a70c7e21cd1 tree 098f96da6ab50a1d878425e2b91a9cf22f78ac80 parent f4e841da30b4bcbb8f1cc20a01157a788ff58b21 author David S. Miller Sun, 26 Feb 2006 23:27:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:35 -0800 [SPARC64]: Refine code sequences to get the cpu id. On uniprocessor, it's always zero for optimize that. On SMP, the jmpl to the stub kills the return address stack in the cpu branch prediction logic, so expand the code sequence inline and use a code patching section to fix things up. This also always better and explicit register selection, which will be taken advantage of in a future changeset. The hard_smp_processor_id() function is big, so do not inline it. Fix up tests for Jalapeno to also test for Serrano chips too. These tests want "jbus Ultra-IIIi" cases to match, so that is what we should test for. Signed-off-by: David S. Miller commit f4e841da30b4bcbb8f1cc20a01157a788ff58b21 tree 8f145f6902b694402ce6291a493caf3a2348717e parent 7bec08e38a7d0f088994f6eec9b6374652ea71fb author David S. Miller Thu, 02 Feb 2006 16:16:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:34 -0800 [SPARC64]: Turn off TSB growing for now. There are several tricky races involved with growing the TSB. So just use base-size TSBs for user contexts and we can revisit enabling this later. One part of the SMP problems is that tsb_context_switch() can see partially updated TSB configuration state if tsb_grow() is running in parallel. That's easily solved with a seqlock taken as a writer by tsb_grow() and taken as a reader to capture all the TSB config state in tsb_context_switch(). Then there is flush_tsb_user() running in parallel with a tsb_grow(). In theory we could take the seqlock as a reader there too, and just resample the TSB pointer and reflush but that looks really ugly. Lastly, I believe there is a case with threads that results in a TSB entry lock bit being set spuriously which will cause the next access to that TSB entry to wedge the cpu (since the TSB entry lock bit will never clear). It's either copy_tsb() or some bug elsewhere in the TSB assembly. Signed-off-by: David S. Miller commit 7bec08e38a7d0f088994f6eec9b6374652ea71fb tree df0c24e8417d08aff3d3de7d9dc7b13c4e05931b parent 517af33237ecfc3c8a93b335365fa61e741ceca4 author David S. Miller Thu, 02 Feb 2006 01:20:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:33 -0800 [SPARC64]: Correctable ECC errors cannot occur at trap level > 0. The are distrupting, which by the sparc v9 definition means they can only occur when interrupts are enabled in the %pstate register. This never occurs in any of the trap handling code running at trap levels > 0. So just mark it as an unexpected trap. This allows us to kill off the cee_stuff member of struct thread_info. Signed-off-by: David S. Miller commit 517af33237ecfc3c8a93b335365fa61e741ceca4 tree 58eff40eb4c517c4fd49fd347d38273ee1e1ee4b parent b0fd4e49aea8a460afab7bc67cd618e2d19291d4 author David S. Miller Wed, 01 Feb 2006 15:55:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:32 -0800 [SPARC64]: Access TSB with physical addresses when possible. This way we don't need to lock the TSB into the TLB. The trick is that every TSB load/store is registered into a special instruction patch section. The default uses virtual addresses, and the patch instructions use physical address load/stores. We can't do this on all chips because only cheetah+ and later have the physical variant of the atomic quad load. Signed-off-by: David S. Miller commit b0fd4e49aea8a460afab7bc67cd618e2d19291d4 tree a596c793cbc918bdcea462bcfe2f2f41fe8afeb2 parent 30a6ecad9670d97c9d0fbfa7d80970aeb339bdec author David S. Miller Tue, 31 Jan 2006 23:13:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:31 -0800 [SPARC64]: Kill out-of-date commentary in asm-sparc64/tsb.h Signed-off-by: David S. Miller commit 30a6ecad9670d97c9d0fbfa7d80970aeb339bdec tree 37f3b37871f23a8fb4fcb14527c68a49a7e1c270 parent 86b818687d4894063ecd1190e54717a0cce8c009 author David S. Miller Tue, 31 Jan 2006 18:35:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:30 -0800 [SPARC64]: Don't clobber alt-global %g4 on window fixups. If we are returning back to kernel mode, %g4 could be live (for example, in the case where we window spill in the etrap code). So do not change it's value if going back to kernel. Signed-off-by: David S. Miller commit 86b818687d4894063ecd1190e54717a0cce8c009 tree d2951295358502c88f7fe0c02517d729cff4eb9a parent 9954863975910a1b9372b7d5006a6cba43bdd288 author David S. Miller Tue, 31 Jan 2006 18:34:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:29 -0800 [SPARC64]: Fix race in LOAD_PER_CPU_BASE() Since we use %g5 itself as a temporary, it can get clobbered if we take an interrupt mid-stream and thus cause end up with the final %g5 value too early as a result of rtrap processing. Set %g5 at the very end, atomically, to avoid this problem. Signed-off-by: David S. Miller commit 9954863975910a1b9372b7d5006a6cba43bdd288 tree 0a6d088d67e0a75ed6a15590c9811e1d6fa75576 parent 9bc657b28eba22e36efcdf3afa08100f92971eb4 author David S. Miller Tue, 31 Jan 2006 18:34:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:28 -0800 [SPARC64]: Kill swapper_pgd_zero, totally unused. Signed-off-by: David S. Miller commit 9bc657b28eba22e36efcdf3afa08100f92971eb4 tree d04a21e01a1795a6ea5be550ad96b6a4a3945375 parent 764afe2edb834930050313459cef9f1ae2656750 author David S. Miller Tue, 31 Jan 2006 18:34:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:27 -0800 [SPARC64]: Fix too early reference to %g6 %g6 is not necessarily set to current_thread_info() at sparc64_realfault_common. So store the fault code and address after we invoke etrap and %g6 is properly set up. Signed-off-by: David S. Miller commit 764afe2edb834930050313459cef9f1ae2656750 tree ae2b590286be88335430a3eb3e6e7208fbaf80e4 parent 2f7ee7c63f08b7f883b710a29d91c1891b81b8e1 author David S. Miller Tue, 31 Jan 2006 18:34:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:26 -0800 [SPARC64]: Kill hard-coded %pstate setting in sparc_exit. Just flip the bit off of whatever it's currently set to. PSTATE_IE is guarenteed to be enabled when we get here. Signed-off-by: David S. Miller commit 2f7ee7c63f08b7f883b710a29d91c1891b81b8e1 tree c0539482cecfd3cbc0b983a23058315811dc8b55 parent a8b900d801697609d1b56cc9c110148c64678068 author David S. Miller Tue, 31 Jan 2006 18:33:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:26 -0800 [SPARC64]: Increase swapper_tsb size to 32K. Signed-off-by: David S. Miller commit a8b900d801697609d1b56cc9c110148c64678068 tree 47602480aba29d17f8a79cc76dfe8af4d62f2599 parent 3487d1d4414fbfab5d98ec559e6f84f55520cb15 author David S. Miller Tue, 31 Jan 2006 18:33:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:25 -0800 [SPARC64]: Kill sole argument passed to setup_tba(). No longer used, and move extern declaration to a header file. Signed-off-by: David S. Miller commit 3487d1d4414fbfab5d98ec559e6f84f55520cb15 tree b85ac7e9d8c07bd3c8a9d314d650b04cdf1ccc96 parent 6b6d017235acad3ee1681140795593723bb9b9df author David S. Miller Tue, 31 Jan 2006 18:33:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:24 -0800 [SPARC64]: Kill PROM locked TLB entry preservation code. It is totally unnecessary complexity. After we take over the trap table, we handle all PROM tlb misses fully. Signed-off-by: David S. Miller commit 6b6d017235acad3ee1681140795593723bb9b9df tree 5c7f279d483c3d270b6ef3f158239e4d38785a14 parent 4da808c352c290d3f762933d44d4ab90c2fd65f3 author David S. Miller Tue, 31 Jan 2006 18:33:12 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:23 -0800 [SPARC64]: Use sparc64_highest_unlocked_tlb_ent in __tsb_context_switch() Instead of ugly hard-coded value. Signed-off-by: David S. Miller commit 4da808c352c290d3f762933d44d4ab90c2fd65f3 tree da99326440777580a19c345a5b0d52fbf800042b parent 4753eb2ac7022b999e5e484f1a5dc001dba22bd3 author David S. Miller Tue, 31 Jan 2006 18:33:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:22 -0800 [SPARC64]: Fix bogus flush instruction usage. Some of the trap code was still assuming that alternate global %g6 was hard coded with current_thread_info(). Let's just consistently flush at KERNBASE when we need a pipeline synchronization. That's locked into the TLB and will always work. Signed-off-by: David S. Miller commit 4753eb2ac7022b999e5e484f1a5dc001dba22bd3 tree 138321ebd3b3c3aeb99517ec5158a65f556da774 parent 96c6e0d8e2a0eb1338751598be47fa1ffed91704 author David S. Miller Tue, 31 Jan 2006 18:32:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:21 -0800 [SPARC64]: Fix incorrect TSB lock bit handling. The TSB_LOCK_BIT define is actually a special value shifted down by 32-bits for the assembler code macros. In C code, this isn't what we want. Signed-off-by: David S. Miller commit 96c6e0d8e2a0eb1338751598be47fa1ffed91704 tree 7174ae7f5c052b8312549860c3a978babc1394ce parent b70c0fa1613c4f69b4a340a0e2bee387560ebbb1 author David S. Miller Tue, 31 Jan 2006 18:32:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:20 -0800 [SPARC64]: Kill {save,restore}_alternate_globals() No longer needed now that we no longer have hard-coded alternate global register usage. Signed-off-by: David S. Miller commit b70c0fa1613c4f69b4a340a0e2bee387560ebbb1 tree f7bf22ab75cb9118f5772353fef6efd923faa212 parent bd40791e1d289d807b8580abe1f117e9c62894e4 author David S. Miller Tue, 31 Jan 2006 18:32:04 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:19 -0800 [SPARC64]: Preload TSB entries from update_mmu_cache(). Signed-off-by: David S. Miller commit bd40791e1d289d807b8580abe1f117e9c62894e4 tree 2b47e24c8dc0e668dfd7ba0e3879165180c49c65 parent 98c5584cfc47932c4f3ccf5eee2e0bae1447b85e author David S. Miller Tue, 31 Jan 2006 18:31:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:18 -0800 [SPARC64]: Dynamically grow TSB in response to RSS growth. As the RSS grows, grow the TSB in order to reduce the likelyhood of hash collisions and thus poor hit rates in the TSB. This definitely needs some serious tuning. Signed-off-by: David S. Miller commit 98c5584cfc47932c4f3ccf5eee2e0bae1447b85e tree c067ac8bfc081bbe0b3073374cb15708458e04ab parent 09f94287f7260e03bbeab497e743691fafcc22c3 author David S. Miller Tue, 31 Jan 2006 18:31:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:17 -0800 [SPARC64]: Add infrastructure for dynamic TSB sizing. This also cleans up tsb_context_switch(). The assembler routine is now __tsb_context_switch() and the former is an inline function that picks out the bits from the mm_struct and passes it into the assembler code as arguments. setup_tsb_parms() computes the locked TLB entry to map the TSB. Later when we support using the physical address quad load instructions of Cheetah+ and later, we'll simply use the physical address for the TSB register value and set the map virtual and PTE both to zero. Signed-off-by: David S. Miller commit 09f94287f7260e03bbeab497e743691fafcc22c3 tree ebdb365a7cfe25a1587a930d852f2eaa0e1e773a parent 56fb4df6da76c35dca22036174e2d1edef83ff1f author David S. Miller Tue, 31 Jan 2006 18:31:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:16 -0800 [SPARC64]: TSB refinements. Move {init_new,destroy}_context() out of line. Do not put huge pages into the TSB, only base page size translations. There are some clever things we could do here, but for now let's be correct instead of fancy. Signed-off-by: David S. Miller commit 56fb4df6da76c35dca22036174e2d1edef83ff1f tree b39f152ec9ed682edceca965a85680fd4bf736a7 parent 3c936465249f863f322154ff1aaa628b84ee5750 author David S. Miller Sun, 26 Feb 2006 23:24:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:16 -0800 [SPARC64]: Elminate all usage of hard-coded trap globals. UltraSPARC has special sets of global registers which are switched to for certain trap types. There is one set for MMU related traps, one set of Interrupt Vector processing, and another set (called the Alternate globals) for all other trap types. For what seems like forever we've hard coded the values in some of these trap registers. Some examples include: 1) Interrupt Vector global %g6 holds current processors interrupt work struct where received interrupts are managed for IRQ handler dispatch. 2) MMU global %g7 holds the base of the page tables of the currently active address space. 3) Alternate global %g6 held the current_thread_info() value. Such hardcoding has resulted in some serious issues in many areas. There are some code sequences where having another register available would help clean up the implementation. Taking traps such as cross-calls from the OBP firmware requires some trick code sequences wherein we have to save away and restore all of the special sets of global registers when we enter/exit OBP. We were also using the IMMU TSB register on SMP to hold the per-cpu area base address, which doesn't work any longer now that we actually use the TSB facility of the cpu. The implementation is pretty straight forward. One tricky bit is getting the current processor ID as that is different on different cpu variants. We use a stub with a fancy calling convention which we patch at boot time. The calling convention is that the stub is branched to and the (PC - 4) to return to is in register %g1. The cpu number is left in %g6. This stub can be invoked by using the __GET_CPUID macro. We use an array of per-cpu trap state to store the current thread and physical address of the current address space's page tables. The TRAP_LOAD_THREAD_REG loads %g6 with the current thread from this table, it uses __GET_CPUID and also clobbers %g1. TRAP_LOAD_IRQ_WORK is used by the interrupt vector processing to load the current processor's IRQ software state into %g6. It also uses __GET_CPUID and clobbers %g1. Finally, TRAP_LOAD_PGD_PHYS loads the physical address base of the current address space's page tables into %g7, it clobbers %g1 and uses __GET_CPUID. Many refinements are possible, as well as some tuning, with this stuff in place. Signed-off-by: David S. Miller commit 3c936465249f863f322154ff1aaa628b84ee5750 tree 2bd7a229236f197d20a655133370e5d0c1bf886c parent 05e28f9de65a38bb0c769080e91b6976e7e1e70c author David S. Miller Tue, 31 Jan 2006 18:30:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:14 -0800 [SPARC64]: Kill pgtable quicklists and use SLAB. Taking a nod from the powerpc port. With the per-cpu caching of both the page allocator and SLAB, the pgtable quicklist scheme becomes relatively silly and primitive. Signed-off-by: David S. Miller commit 05e28f9de65a38bb0c769080e91b6976e7e1e70c tree e1d3fcc1381ea6612ce4c082ca8596e84b637216 parent 74bf4312fff083ab25c3f357cc653ada7995e5f6 author David S. Miller Tue, 31 Jan 2006 18:30:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:13 -0800 [SPARC64]: No need to D-cache color page tables any longer. Unlike the virtual page tables, the new TSB scheme does not require this ugly hack. Signed-off-by: David S. Miller commit 74bf4312fff083ab25c3f357cc653ada7995e5f6 tree c23dea461e32485f4cd7ca4b8c33c632655eb906 parent 30d4d1ffed7098afe2641536d67eef150499da02 author David S. Miller Tue, 31 Jan 2006 18:29:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:13 -0800 [SPARC64]: Move away from virtual page tables, part 1. We now use the TSB hardware assist features of the UltraSPARC MMUs. SMP is currently knowingly broken, we need to find another place to store the per-cpu base pointers. We hid them away in the TSB base register, and that obviously will not work any more :-) Another known broken case is non-8KB base page size. Also noticed that flush_tlb_all() is not referenced anywhere, only the internal __flush_tlb_all() (local cpu only) is used by the sparc64 port, so we can get rid of flush_tlb_all(). The kernel gets it's own 8KB TSB (swapper_tsb) and each address space gets it's own private 8K TSB. Later we can add code to dynamically increase the size of per-process TSB as the RSS grows. An 8KB TSB is good enough for up to about a 4MB RSS, after which the TSB starts to incur many capacity and conflict misses. We even accumulate OBP translations into the kernel TSB. Another area for refinement is large page size support. We could use a secondary address space TSB to handle those. Signed-off-by: David S. Miller commit 30d4d1ffed7098afe2641536d67eef150499da02 tree e651ab7e4199ba03e2db7d1918baf8569b86a36f parent 94bbc1763b6b6d20d5cfa70c41cda23af27f8b55 author Eric Sesterhenn Fri, 10 Mar 2006 02:55:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:10:35 -0800 [SPARC]: BUG_ON() Conversion in arch/sparc/kernel/ioport.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: David S. Miller commit 94bbc1763b6b6d20d5cfa70c41cda23af27f8b55 tree 153f28fcc087fba199536b95e3faf8eacb878829 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Bernhard R Link Fri, 10 Mar 2006 01:23:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:10:34 -0800 [SPARC64]: fix sparc_floppy_irq's auxio_register reseting The patch "[SPARC64]: Get rid of fast IRQ feature" moved the the code from arch/sparc64/kernel/entry.S: lduba [%g7] ASI_PHYS_BYPASS_EC_E, %g5 or %g5, AUXIO_AUX1_FTCNT, %g5 stba %g5, [%g7] ASI_PHYS_BYPASS_EC_E andn %g5, AUXIO_AUX1_FTCNT, %g5 stba %g5, [%g7] ASI_PHYS_BYPASS_EC_E to arch/sparc64/kernel/irq.c: val = readb(auxio_register); val |= AUXIO_AUX1_FTCNT; writeb(val, auxio_register); val &= AUXIO_AUX1_FTCNT; writeb(val, auxio_register); This looks like it it missing a bitwise not, which is reintroduced by this patch. Due to lack of a floppy device, I could not test it, but it looks evident. Signed-off-by: Bernhard R Link Signed-off-by: David S. Miller commit 6e5fca53c72c95da92c092411c7ec81e926af632 tree 223d13afbff4d74c208809dec25eb827bf79a721 parent e7f947b908921a661efcbc08ce42d7de67691b07 author Dave Airlie Mon, 20 Mar 2006 18:34:29 +1100 committer Dave Airlie Mon, 20 Mar 2006 18:34:29 +1100 drm: read breadcrumb in IRQ handler From: Keith Whitwell Signed-off-by: Dave Airlie commit 6cc8fef4cbeb0b65d225d7b599c75eb5b40a6534 tree bab97123947bda63b728d701ed823a205d1ca331 parent b2fc6ad01beb550f75457b7d811ff84dc81b210b author Nathan Scott Mon, 20 Mar 2006 13:25:48 +1100 committer Nathan Scott Mon, 20 Mar 2006 13:25:48 +1100 [XFS] Fix compiler warning from xfs_file_compat_invis_ioctl prototype. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25509a Signed-off-by: Andrew Morton Signed-off-by: Nathan Scott commit 2f8600dff2b140096a7df781884e918a16aa90e0 tree 313d53e23c618950b078b6fd39d9e078fdf79011 parent f013db3284376070fc4c196e58d204180b8ed62a author James Bottomley Sat, 18 Mar 2006 15:00:50 -0600 committer James Bottomley Sun, 19 Mar 2006 10:21:16 -0600 [SCSI] eliminate rphy allocation in favour of expander/end device allocation This allows the removal of the contained flag and also does a bit of class renaming (sas_rphy->sas_device). Signed-off-by: James Bottomley commit f013db3284376070fc4c196e58d204180b8ed62a tree 727603f9b75c375ff123add7e1262e7948756aa8 parent 6bdaa1f17dd32ec62345c7b57842f53e6278a2fa author James Bottomley Sat, 18 Mar 2006 14:54:36 -0600 committer James Bottomley Sun, 19 Mar 2006 10:20:45 -0600 [SCSI] convert mptsas over to end_device/expander allocations The conversion of mptsas should allow the elimination of the contained flag in the sas transport class. Acked-by: "Moore, Eric" Signed-off-by: James Bottomley commit 6bdaa1f17dd32ec62345c7b57842f53e6278a2fa tree fd84576b5b62a48676ed3a9ef136a3f653431cc7 parent 5baba830e93732e802dc7e0a362eb730e1917f58 author James Bottomley Sat, 18 Mar 2006 14:14:21 -0600 committer James Bottomley Sun, 19 Mar 2006 10:19:51 -0600 [SCSI] allow displaying and setting of cache type via sysfs I think I promised to do this two years ago This patch adds a scsi_disk class with the cache type and FUA parameters, so user land application can easily obtain them without having to parse dmesg. It also allows setting the cache type (use with care...) This patch is a bit dangerous because I've replaced the disk kref with a class device reference ... Signed-off-by: James Bottomley commit 5baba830e93732e802dc7e0a362eb730e1917f58 tree 84c634fd35bff836b5b09f2ac3c7c826fdb5c9bb parent 75913d9bb8328c4eca54cad39a5fb665b48383eb author James Bottomley Sat, 18 Mar 2006 14:10:35 -0600 committer James Bottomley Sun, 19 Mar 2006 10:19:14 -0600 [SCSI] add scsi_mode_select to scsi_lib.c This complements the scsi_mode_sense() function Signed-off-by: James Bottomley commit 75913d9bb8328c4eca54cad39a5fb665b48383eb tree 62f991852c7424eaac8532064eec815dd9509fa6 parent 95e6a856772413993f54916ca9bf21ccfa6a537e author adam radford Wed, 15 Mar 2006 12:43:19 -0800 committer James Bottomley Sun, 19 Mar 2006 10:18:42 -0600 [SCSI] 3ware 9000 add big endian support The attached patch updates the 3ware 9000 driver: - Fix 9550SX pchip reset timeout. - Add big endian support. Signed-off-by: Adam Radford Signed-off-by: James Bottomley commit e7f947b908921a661efcbc08ce42d7de67691b07 tree 38a345321b102584d40c4262e2a07e050e8abd28 parent 2fab58d1a18c752887c2b9f6ee7b6997ced4a77a author Dave Airlie Sun, 19 Mar 2006 20:28:19 +1100 committer Dave Airlie Sun, 19 Mar 2006 20:28:19 +1100 drm: fixup i915 breadcrumb read/write Some minor issues in the i915 breadcrumb code. Signed-off-by: Dave Airlie commit 2fab58d1a18c752887c2b9f6ee7b6997ced4a77a tree fbf60e73692a2c069dae6dad8ba1379142c38eb0 parent f15e92d702bba47f451bd5f63e170252c6e1bba2 author Dave Airlie Sun, 19 Mar 2006 20:15:41 +1100 committer Dave Airlie Sun, 19 Mar 2006 20:15:41 +1100 drm: remove pointless checks in radeon_state If these were valid checks, we'd have already oopsed several lines above where we were already dereferencing them. DA: these used to be valid but other changes made them unnecessary. Coverity: 776,777,778 Signed-off-by: Dave Jones Signed-off-by: Dave Airlie commit f15e92d702bba47f451bd5f63e170252c6e1bba2 tree 069141762ad005348d1559369ba2e65eaf5c4fa5 parent dfab11542fbecd8539c092fe36155909b4812f73 author Dave Airlie Sun, 19 Mar 2006 20:12:23 +1100 committer Dave Airlie Sun, 19 Mar 2006 20:12:23 +1100 drm: fixup improper cast. Signed-off-by: Dave Airlie commit dfab11542fbecd8539c092fe36155909b4812f73 tree c96ad45aad247e9e0c8091a1d3550ead9eebb97b parent ee4621f011750a6eff9f56631e12ab7fd9503aaa author Dave Airlie Sun, 19 Mar 2006 20:01:37 +1100 committer Dave Airlie Sun, 19 Mar 2006 20:01:37 +1100 drm: rationalise some pci ids This is the start of some work from Roland Scheidegger to align the X DDX pci ids and the drm ones, however we don't want to put r300 ids in the kernel just yet, they destabilise a few machines. From: Roland Scheidegger (via DRM CVS) Signed-off-by: Dave Airlie commit ee4621f011750a6eff9f56631e12ab7fd9503aaa tree a3d1291b3902ba2041464a0ef364d3acfb08dcac parent d5ea702f1e8e3edeea6b673a58281bf99f3dbec5 author Dave Airlie Sun, 19 Mar 2006 19:45:26 +1100 committer Dave Airlie Sun, 19 Mar 2006 19:45:26 +1100 drm: Add general-purpose packet for manipulating scratch registers (r300) From: Aapo Tahkola (via DRM CVS) Signed-off-by: Dave Airlie commit d5ea702f1e8e3edeea6b673a58281bf99f3dbec5 tree dae329419620db61ccfaa9a50394e07c31f21d1f parent 45f17100bfd18c99d6479e94598f4e533bbe30d8 author Dave Airlie Sun, 19 Mar 2006 19:37:55 +1100 committer Dave Airlie Sun, 19 Mar 2006 19:37:55 +1100 drm: rework radeon memory map (radeon 1.23) This code reworks the radeon memory map so it works better for newer r300 chips and for a lot of older PCI chips. It really requires a new X driver in order to take advantage of this code. From: Ben Herrenschmidt Signed-off-by: Dave Airlie commit 45f17100bfd18c99d6479e94598f4e533bbe30d8 tree 04f9a1fc6b96cd31380f4d0372813b50eb58e9ae parent ddf19b973be5a96d77c8467f657fe5bd7d126e0f author Dave Airlie Sun, 19 Mar 2006 19:12:10 +1100 committer Dave Airlie Sun, 19 Mar 2006 19:12:10 +1100 drm: update r300 register names Update some of the DRM register names from DRM CVS Signed-off-by: Dave Airlie commit ddf19b973be5a96d77c8467f657fe5bd7d126e0f tree e7b003b3dad82014b364acde5681956011e67b58 parent 60a6dc55b93b3321afa52f650a149fb7e87fa85a author Dave Airlie Sun, 19 Mar 2006 18:56:12 +1100 committer Dave Airlie Sun, 19 Mar 2006 18:56:12 +1100 drm: fixup PCI DMA support This patch makes the PCI support use the correct Linux interfaces finally. Tested in DRM CVS on PCI MGA card. Signed-off-by: Dave Airlie commit e572ec7e4e432de7ecf7bd2e62117646fa64e518 tree 56b4b738fb566128d2db6d62aed28cfd41b5398a parent 3d1ab40f4c20767afbd361b258a531d73e3e6fc2 author Al Viro Sat, 18 Mar 2006 22:27:18 -0500 committer Al Viro Sat, 18 Mar 2006 22:27:18 -0500 [PATCH] fix rmmod problems with elevator attributes, clean them up commit 3d1ab40f4c20767afbd361b258a531d73e3e6fc2 tree 2da79cc8b47a98b0496b6e762fa790a8d547977b parent 1cc9be68ebcc1de9904bf225441613878da9c0d8 author Al Viro Sat, 18 Mar 2006 18:35:43 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:43 -0500 [PATCH] elevator_t lifetime rules and sysfs fixes commit 1cc9be68ebcc1de9904bf225441613878da9c0d8 tree 59a885d6e939725a6e37e0888ef41e3852ae3223 parent a90d742e4cbbc217c402265eb8b8bb0e0f9f8da2 author Al Viro Sat, 18 Mar 2006 12:29:52 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:08 -0500 [PATCH] noise removal: cfq-iosched.c Signed-off-by: Al Viro commit a90d742e4cbbc217c402265eb8b8bb0e0f9f8da2 tree a2423ca7cf3249a4c8b2c55021e0ae8f089b35e7 parent 483f4afc421435b7cfe5e88f74eea0b73a476d75 author Al Viro Sat, 18 Mar 2006 12:05:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:05 -0500 [PATCH] don't bother with refcounting for cfq_data Signed-off-by: Al Viro commit 483f4afc421435b7cfe5e88f74eea0b73a476d75 tree 9a3bbcf8ae83c5edb9ab1f9e98333d6f5673211b parent 1312f40e11c57edb5c3250f1b782cef8e3efea82 author Al Viro Sat, 18 Mar 2006 18:34:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:37 -0500 [PATCH] fix sysfs interaction and lifetime rules handling for queues commit 1312f40e11c57edb5c3250f1b782cef8e3efea82 tree 0aae9e7fe6211d83212991e84789fcd7e9908ced parent 6f325a13442d4e4a6c93d06d8e6deff79b6540b1 author Al Viro Sun, 12 Mar 2006 11:02:03 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:20 -0500 [PATCH] regularize blk_cleanup_queue() use Signed-off-by: Al Viro commit 6f325a13442d4e4a6c93d06d8e6deff79b6540b1 tree e180ac54bd6d0885a7d615dec866a6793340f0a6 parent 334e94de9bea353156abd6f2242d3cc4a24562b0 author Al Viro Sat, 18 Mar 2006 14:58:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:17 -0500 [PATCH] fix cfq_get_queue()/ioprio_set(2) races Signed-off-by: Al Viro commit 334e94de9bea353156abd6f2242d3cc4a24562b0 tree ff4a253e9e3bf487be03bf58727a7ea40a34ba87 parent e17a9489b4a686bb5e9615e1d375c67619cb99c5 author Al Viro Sat, 18 Mar 2006 15:05:53 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:15 -0500 [PATCH] deal with rmmod/put_io_context() races Signed-off-by: Al Viro commit e17a9489b4a686bb5e9615e1d375c67619cb99c5 tree e6574d24ad8f16fefe7663c91cf19109e48f8c6c parent 25975f863b0fd42c58109e253e7a4c65d9fdaf48 author Al Viro Sat, 18 Mar 2006 13:21:20 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:12 -0500 [PATCH] stop elv_unregister() from rogering other iosched's data, fix locking Signed-off-by: Al Viro commit 25975f863b0fd42c58109e253e7a4c65d9fdaf48 tree 98738124360c12c34b8820c3cc639dc275d1f4d0 parent d9ff41879364cfca7c15abc20ae398e35de3f883 author Al Viro Sun, 12 Mar 2006 13:45:25 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:09 -0500 [PATCH] stop cfq from pinning queue down Signed-off-by: Al Viro commit d9ff41879364cfca7c15abc20ae398e35de3f883 tree 58b69841c145a000d06658feff5d846eea624399 parent a6a0763a60eef374d4f02f82a6ecb6a74f380fcb author Al Viro Sat, 18 Mar 2006 13:51:22 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:07 -0500 [PATCH] make cfq_exit_queue() prune the cfq_io_context for that queue Signed-off-by: Al Viro commit a6a0763a60eef374d4f02f82a6ecb6a74f380fcb tree ab6811f034eb2839ee07bc8e251b96a1aba313f7 parent 12a057321529df2fb650ac5f34dfd7abcca667df author Al Viro Sat, 18 Mar 2006 13:26:44 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:04 -0500 [PATCH] fix the exclusion for ioprio_set() Signed-off-by: Al Viro commit 12a057321529df2fb650ac5f34dfd7abcca667df tree b74a85a275cf97cebcd30aa544605081c80d7fb1 parent 478a82b0edeea1cc82a5f79880b3a15923a678de author Al Viro Sat, 18 Mar 2006 13:38:01 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:02 -0500 [PATCH] keep sync and async cfq_queue separate Signed-off-by: Al Viro commit 478a82b0edeea1cc82a5f79880b3a15923a678de tree 091c2ace634975c62c8236f209b24e4fded81ff4 parent 7670876d2d194b2aecb54f397704838eee7d72ee author Al Viro Sat, 18 Mar 2006 13:25:24 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:59 -0500 [PATCH] switch to use of ->key to get cfq_data by cfq_io_context Signed-off-by: Al Viro commit 7670876d2d194b2aecb54f397704838eee7d72ee tree 4c1b29bba1b038a407870ab62b3dd70057c949e0 parent b0a6916bcc48f46996d54b8451591a2f2b7b2f64 author Al Viro Sat, 18 Mar 2006 13:22:53 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:56 -0500 [PATCH] stop leaking cfq_data in cfq_set_request() We don't need to pin ->key down; ->cfqq->cfqd will do that for us. Incidentally, that stops the leak we had - that reference was never dropped. Signed-off-by: Al Viro commit b0a6916bcc48f46996d54b8451591a2f2b7b2f64 tree 8b22d7d04a802092928a642628d2ede339a5287a parent c981ff9f893b9ab229a809f8ad287ae43fc17a64 author Al Viro Tue, 14 Mar 2006 15:32:50 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:54 -0500 [PATCH] fix cfq hash lookups If somebody does a hash lookup for cfq_queue while ioprio of an async queue is elevated, they shouldn't end up stuck with lowered ioprio when we go back. Fix is to use ->org_ioprio{,class} in hash lookups. Signed-off-by: Al Viro commit c981ff9f893b9ab229a809f8ad287ae43fc17a64 tree c0423d86a33f0f714fa192b4f964269889b12c3f parent 8669aafdb5a46a57366dd1540fc475544071a9c9 author Al Viro Sat, 18 Mar 2006 13:51:29 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:51 -0500 [PATCH] fix locking in queue_requests_store() Signed-off-by: Al Viro commit 8669aafdb5a46a57366dd1540fc475544071a9c9 tree c30fc562aeb1b2c158844b4d30d5423414b719bc parent afc847b7ddcf636e524cf5b0de644bd3a9419a8c author Al Viro Sat, 18 Mar 2006 13:50:00 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:49 -0500 [PATCH] fix double-free in blk_init_queue_node() Signed-off-by: Al Viro commit afc847b7ddcf636e524cf5b0de644bd3a9419a8c tree 5022a566bc55a12a792c8bd9b2d94ccfd4b10235 parent 60a6dc55b93b3321afa52f650a149fb7e87fa85a author Al Viro Tue, 28 Feb 2006 12:51:55 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:46 -0500 [PATCH] don't do exit_io_context() until we know we won't be doing any IO testcase: mount /dev/sdb10 /mnt touch /mnt/tmp/b umount /mnt mount /dev/sdb10 /mnt rm /mnt/tmp/b commit cc8279f68c34c3f32b3a85f3103b0ad755c57846 tree 13c896b8a0bba7244818b62b767ebb807c30541e parent 3234eeec18315356166cd89bd93fc4630192eece author Zhu Yi Tue, 21 Feb 2006 18:46:15 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: Update version ipw2100 stamp to 1.2.2 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3234eeec18315356166cd89bd93fc4630192eece tree 462a95c09b9a745e4dcab6589bd2bea36355c050 parent 752e377bfdad61482e39cafedb3a6bb1b5bb0289 author Zhu Yi Tue, 28 Feb 2006 08:38:07 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 752e377bfdad61482e39cafedb3a6bb1b5bb0289 tree 2d3cda9de2ffd0776aea72d7f8d41f6c6a673632 parent cae1629515cf6d166fa20657e68b75619d563280 author Ingo Molnar Tue, 28 Feb 2006 07:20:54 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: semaphore to mutexes conversion semaphore to mutexes conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build-tested. Signed-off-by: Ingo Molnar Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit cae1629515cf6d166fa20657e68b75619d563280 tree a40dbc0c8e7d6fed80be63bcc4182ef42b3ca84d parent 15745a7dd1ac6bf1ef7959040f864c78a95aa35b author Zhu Yi Tue, 21 Feb 2006 18:41:14 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: Fix radiotap code gcc warning Fix gcc warning: ipw2100.c:2460: ISO C90 forbids mixed declarations and code Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 15745a7dd1ac6bf1ef7959040f864c78a95aa35b tree b9e95a75c83f2d1b5eba9af2a36cc9912e0188ee parent 171e7b2f1f50f112d3ce8a829a3e79c5739b3132 author Stefan Rompf Tue, 21 Feb 2006 18:36:17 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: add radiotap headers to packtes captured in monitor mode Signed-off-by: Stefan Rompf Signed-off-by: Andrea Merello Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 171e7b2f1f50f112d3ce8a829a3e79c5739b3132 tree 31a5b5cb8a0306b1e5469d967365d6d019a9a7f1 parent 71e585fca25c9ccde82196fd1aef78e34312e899 author Zhu Yi Wed, 15 Feb 2006 07:17:56 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:47 -0500 [PATCH] ipw2x00: expend Copyright to 2006 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71e585fca25c9ccde82196fd1aef78e34312e899 tree 4cb6cf43dcc6f7cae5c0191f0e409b0eb2a72261 parent f44349f2217d05e4575f24edc3c0e0022f5d448f author Adrian Bunk Sat, 11 Mar 2006 04:42:58 +0100 committer John W. Linville Fri, 17 Mar 2006 15:41:20 -0500 [PATCH] drivers/net/wireless/ipw2200.c: fix an array overun This patch fixes a big array overun found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit f44349f2217d05e4575f24edc3c0e0022f5d448f tree 615c789b22164bf4afef198795b75c701936efd6 parent 7c567894480daef05bc13abdc4b9414541e245cb author James Ketrenos Wed, 08 Mar 2006 13:14:45 -0600 committer John W. Linville Fri, 17 Mar 2006 15:38:55 -0500 [PATCH] ieee80211: Don't update network statistics from off-channel packets. This patch fixes a problem in the ieee80211 probe response and beacon reception code that would use the packet statistics for a network even if they were received on a channel other than that which the network exists on. This causes a problem in overlapping channels where, for example, a strong AP on channel 2 could have its beacons received on channels 1 and 3, but at much lower signal levels. If scanning was done sequentially, this means the beacon received on channel 3 would update the AP's signal level as being much lower than it really is, which subsequently could cause that AP to be passed over and an alternate AP selected. Signed-off-by: James Ketrenos Signed-off-by: John W. Linville commit 7c567894480daef05bc13abdc4b9414541e245cb tree 4e9c6f80427eb269914c6aab24cac246e16ca06b parent 9006ea75cfaded82acbc34d03e9d4e86447f40a9 author Zhu Yi Fri, 24 Feb 2006 04:20:48 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Update ipw2200 version stamp to 1.1.1 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9006ea75cfaded82acbc34d03e9d4e86447f40a9 tree a65ca3227d09488495444b9f4d43179c595191c4 parent 651be26f2daf31e61faf4b55ada709cf39ec76a2 author James Ketrenos Wed, 08 Mar 2006 03:22:28 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: switch to the new ipw2200-fw-3.0 image format This patch modifies the driver to support the ipw2200-fw-3.0 image format. The 3.0 fw image does not add any new capabilities, but as a result of image format changes, it should fix two problems experienced by users: 1) Race conditions with the request_firmware interface and udev/hotplug are improved as only a single request_firmware call is now required to load the firmware and microcode (vs. 3 separate calls previously) 2) The monitor mode firmware (sniffer) is now packaged with the correct boot image so it can now function without frequent restarts. Note: Once you apply this patch, you will also need to upgrade your firmware image to the 3.0 version available from: http://ipw2200.sf.net/firmware.php Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 651be26f2daf31e61faf4b55ada709cf39ec76a2 tree cac9bac812d1ecc1f85bce54a2591cab34752627 parent 71de1f3dd14e3e39cef929506a9526779f5a447d author Olivier Hochreutiner Wed, 08 Mar 2006 03:13:55 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: wireless extension sensitivity threshold support The patch allows the user to set the handover threshold, i.e. the number of consecutively missed beacons that will trigger a roaming attempt. The disassociation threshold is set to 3 times the handover threshold. Signed-off-by: Olivier Hochreutiner Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71de1f3dd14e3e39cef929506a9526779f5a447d tree d87676e1eee0670e23a506dc34ec16b615181732 parent 12977154e7cb4d72b1295f009a040c56a7e05d90 author Cahill, Ben M Wed, 08 Mar 2006 03:02:27 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Enables the "slow diversity" algorithm This forces one antenna or the other, if the background noise is significantly quieter in one than the other. It favors the quieter antenna, and won't kick in unless the difference is significant. Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 12977154e7cb4d72b1295f009a040c56a7e05d90 tree 45e0f0d861158c76f37ac8731a100d4dfadadb4e parent 3e1555bae145ab2d079a1823cbdd5c486503d147 author Cahill, Ben M Wed, 08 Mar 2006 02:58:02 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Set a meaningful silence threshold value Set a meaningful silence threshold value (replacing our previous "0" default), which gets rid of the gratuitous "Link deterioration" notifications that we've been receiving from firmware. This notification feature tells the driver information to help it determine when to pre-emptively restart the firmware/ucode in anticipation of firmware errors! But since setting this new threshold, I haven't seen any such notifications. At least it keeps the logs a little less busy. Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3e1555bae145ab2d079a1823cbdd5c486503d147 tree 2c89fadf472483b76175b7bfc779ce56baed25ca parent 1d1b09eb144e414ade1f44e21852fc60f2cf965b author Zhu Yi Mon, 06 Mar 2006 05:48:37 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 1d1b09eb144e414ade1f44e21852fc60f2cf965b tree bce6f18ed69a27bbcc9d77e96a619ebe66a761c8 parent e815de422c1dc2fe787c6f3edba81f3cf0176e32 author Zhu Yi Thu, 02 Mar 2006 06:40:59 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Change debug level for firmware error logging Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit e815de422c1dc2fe787c6f3edba81f3cf0176e32 tree bf2bd807d9741934872f2f87c24ddefa4095c6bb parent e8c69e27d14a5fb15df9967f8c8ec5978af33ba8 author Zhu Yi Thu, 02 Mar 2006 05:55:51 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode Currently iwlist ethX freq[uency]/channel lists all the channels the card supported for the current region, which includes some channels can only be used in infrastructure mode. This patch filters these channels out if the card is currently in ad-hoc mode. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit e8c69e27d14a5fb15df9967f8c8ec5978af33ba8 tree d428648e976c8844ff68a1328204af14ebb9d20a parent d6d5b5c13e5003c9d33dcdcfdf1febc6efd7d319 author Zhu Yi Fri, 17 Feb 2006 08:25:12 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d6d5b5c13e5003c9d33dcdcfdf1febc6efd7d319 tree d7de88aace32d5be27afcae756c94187fd9f53b2 parent 8da374fc44a5e0fb71a485497cae38eb562d078c author Zhu Yi Thu, 16 Feb 2006 16:21:09 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Fix rf_kill is activated after mode change with 'disable=1' When loading the ipw2200 module with disabled=1, rf_kill is activated after every mode change. This is caused by ipw_sw_reset() is called when a mode is changed. The patch fixed the problem by distinguishing the purposes with the 'option' paramenter. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8da374fc44a5e0fb71a485497cae38eb562d078c tree 48bec1c7d8f0a2c7bc0ac7e1b5cef5fa3c9a2f6d parent b191608a451e75ed7f979cac268f5f423176feb3 author Zhu Yi Fri, 17 Feb 2006 07:46:16 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: remove the WPA card associates to non-WPA AP checking wpa_supplicant needs to set wpa_enabled unconditionally, with this check it hasn't been possible to connect to non-WPA networks using wpa_supplicant. So remove below check. if (priv->ieee->wpa_enabled && network->wpa_ie_len == 0 && network->rsn_ie_len == 0) Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b191608a451e75ed7f979cac268f5f423176feb3 tree 3f0037006a39d8c8507392bca15b326471fc76a2 parent 9d0be03aeeadcd59bd8f57219817e876a5e88e88 author Bill Moss Wed, 15 Feb 2006 08:50:18 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: Add signal level to iwlist scan output This patch does two things. It uses the parameter IW_QUAL_DBM which is new in WE-19 to cause signal level and noise to be reported in dBm by the wireless tools. It also defines the signal level as an unsigned integer so that the signal level will be reported by iwlist iface scan. Signed-off-by: Bill Moss Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9d0be03aeeadcd59bd8f57219817e876a5e88e88 tree 2b8f12a59c1e2d643c90ecd645ac508a43324eaa parent 85149bace30eae1dc1f86d2c327329673123dd22 author Zhu Yi Wed, 15 Feb 2006 06:18:19 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: use generic ieee80211_get_hdrlen() to get packet length replace ipw2200 specific frame_hdr_len() with generic ieee80211 routine ieee80211_get_hdrlen() Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 85149bace30eae1dc1f86d2c327329673123dd22 tree 53bf83b9b3bde433cc79f82479ba1dab5df5cc85 parent f697014af90c1db3c7b299327bf5a9548945b8bf author Zhu Yi Tue, 14 Feb 2006 16:02:22 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: fix a potential NULL pointer dereference Only on CONFIG_IPW2200_DEBUG is not defined Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit f697014af90c1db3c7b299327bf5a9548945b8bf tree 983fd3e7a6c3c365a78f9d79cfdfd5761b60c7ea parent 48a847709f821b5eecd45ae7660add1869f9cd37 author James Ketrenos Tue, 14 Feb 2006 09:10:51 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: stop netdev queue if h/w doesn't have space for new packets The patch roll back the change we made to support for the ability to start/stop independent Tx queues within a single net device in order to support 802.11e QoS. We need to be able to indicate to the upper layers that packets of a given priority can not be sent any more without halting transmission of all packets, and without rescheduling high priority packets down to the next priority level. So we return NETDEV_TX_BUSY in this case and rely on the stack would take care of rescheduling... which it apparently does immediately and consumes the CPU. This caused the ksoftirqd kernel thread consuming almost all the CPU... To put the code back to the way it was before we made these changes we put the call netif_queue_stop back in ipw_tx_skb. This effectively disables multiple priority based transmit queues for 802.11e, but given that its broken anyway... Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 48a847709f821b5eecd45ae7660add1869f9cd37 tree d119ae07dbaf63a77362307cbb3fbebf6218636e parent 53d0bcf82a5f59c96f1ffb202c02d2541200bf58 author Henrik Brix Andersen Tue, 14 Feb 2006 09:09:52 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: print geography code upon module load Given the amount of support requests for the meaning of the geography code I've written a patch for printing this information on module load no matter the debug level. I've also added a section to the README.ipw2200 file listing the geography codes and their meaning. Signed-off-by: Henrik Brix Andersen Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 53d0bcf82a5f59c96f1ffb202c02d2541200bf58 tree dd0920c3215300614b67c38ced9d3c919ac333ce parent 1867b117d944ce333e79b9a61c9a048656bee14b author Adrian Bunk Sat, 04 Mar 2006 13:14:31 +0100 committer John W. Linville Fri, 17 Mar 2006 14:16:44 -0500 [PATCH] drivers/net/wireless/ipw2200.c: make ipw_qos_current_mode() static This patch makes the needlessly global function ipw_qos_current_mode() static. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 1867b117d944ce333e79b9a61c9a048656bee14b tree 068a78c91f1cf9f7b491afa08a1877e278cc3beb parent dd288e7d75b9041f79fecae77d61cfa345da7266 author Larry Finger Tue, 28 Feb 2006 09:48:28 -0600 committer John W. Linville Fri, 17 Mar 2006 14:01:34 -0500 [PATCH] Remove duplicated code from ipw2200.c As stated in a comment, the ipw2200 driver uses several routines that were borrowed from ieee80211_geo.c. As ipw2200 requires ieee80211, these routines are duplicated. The attached patch, which is sent as an attachment to preserve whitespace, converts ipw2200.c to use the ieee80211 versions, thereby reducing bloat in both the source and binary. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit b2fc6ad01beb550f75457b7d811ff84dc81b210b tree 774fa729730145510f45bc6af3c5c487b50c3202 parent fac80cce0ecc6b10ae165af5b6b9b03151083044 author Nathan Scott Fri, 17 Mar 2006 17:30:01 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:30:01 +1100 [XFS] remove bogus INT_GET for u8 variables in xfs_dir_leaf.c SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25506a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit fac80cce0ecc6b10ae165af5b6b9b03151083044 tree d5347c45ef0ede4e6f79c1bf6fc17df9592be0d4 parent 403432dcb5daa03c1f1c961adb7d2a5daebea94b author Nathan Scott Fri, 17 Mar 2006 17:29:56 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:56 +1100 [XFS] endianess annotations for xfs_da_node_hdr_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25505a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 403432dcb5daa03c1f1c961adb7d2a5daebea94b tree 0298d12d14f777d06e3588dade78efbde2e5bb88 parent d7929ff670c802dc68d6149d3d0cc5667e18daec author Nathan Scott Fri, 17 Mar 2006 17:29:46 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:46 +1100 [XFS] endianess annotations for xfs_da_node_entry_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25504a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d7929ff670c802dc68d6149d3d0cc5667e18daec tree 1232bb9dbf70e2cf814e7c6663700c2e9089503f parent 984a081a7c89ea7e1b6f47cbc0e5c8ef67ad6e09 author Nathan Scott Fri, 17 Mar 2006 17:29:36 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:36 +1100 [XFS] store xfs_attr_inactive_list_t in native endian SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25503a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 984a081a7c89ea7e1b6f47cbc0e5c8ef67ad6e09 tree 3f2a268952942567ccb43e1386644aa22a2cf5b2 parent 3b244aa81ecb06859e0c16abf4c26404c1d86591 author Nathan Scott Fri, 17 Mar 2006 17:29:31 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:31 +1100 [XFS] store xfs_attr_sf_sort in native endian SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25502a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 3b244aa81ecb06859e0c16abf4c26404c1d86591 tree 35a78ae82d8a183c72da8f579479bc2caa6d3bc0 parent c0f054e7a44b4bbed8e16dd459f33df63dad98ef author Nathan Scott Fri, 17 Mar 2006 17:29:25 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:25 +1100 [XFS] endianess annotations for xfs_attr_shortform_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25501a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit c0f054e7a44b4bbed8e16dd459f33df63dad98ef tree 6f4a5a60848376d5e3d5f4569036f4d9a8f46fdf parent 053b5758cbc096a3f718858f4da9341afbc56b7d author Nathan Scott Fri, 17 Mar 2006 17:29:18 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:18 +1100 [XFS] endianess annotations for xfs_attr_leaf_name_remote_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25500a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 053b5758cbc096a3f718858f4da9341afbc56b7d tree ce1d02f5d419e00f4b65c5fc73934e1f0b9c26a8 parent 6b19f2d87da9908acf1e0f48b4e79cf8bc833811 author Nathan Scott Fri, 17 Mar 2006 17:29:09 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:09 +1100 [XFS] endianess annotations for xfs_attr_leaf_name_local_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25499a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 6b19f2d87da9908acf1e0f48b4e79cf8bc833811 tree 532199e785a22b41a046ff6e5b2a9d99d3eb566a parent 918ae424e18666249cf32f16ba2803061bf1ebb7 author Nathan Scott Fri, 17 Mar 2006 17:29:02 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:02 +1100 [XFS] endianess annotations for xfs_attr_leaf_entry_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25498a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 918ae424e18666249cf32f16ba2803061bf1ebb7 tree 6a2d6c00a53480b6848245e653635f8152669633 parent 8f44e047a044df613bbc29837b9556e0c2e42e6b author Nathan Scott Fri, 17 Mar 2006 17:28:54 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:54 +1100 [XFS] endianess annotations for xfs_attr_leaf_hdr_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25497a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 8f44e047a044df613bbc29837b9556e0c2e42e6b tree b995226d8674962f013407cfcd163f8f1e0d8365 parent 89da054424a775b4b257556eda8a300be1134d7c author Nathan Scott Fri, 17 Mar 2006 17:28:47 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:47 +1100 [XFS] remove bogus INT_GET on u8 variables in xfs_dir2_block.c SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25496a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 89da054424a775b4b257556eda8a300be1134d7c tree b7a6d19ee5baaebf2794271dabaf0f59d44f9fa6 parent 3d693c6ed7892d066e8fb3311c6b74f7699326f9 author Nathan Scott Fri, 17 Mar 2006 17:28:40 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:40 +1100 [XFS] endianess annotations for xfs_da_blkinfo_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25495a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 3d693c6ed7892d066e8fb3311c6b74f7699326f9 tree 98cbbe6e0bbdbd775e990bad6a5822904f32aa19 parent 3c1f9c158050259cf3965cf900916ec49a288972 author Nathan Scott Fri, 17 Mar 2006 17:28:27 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:27 +1100 [XFS] endianess annotations for XFS_DIR2_DATA_ENTRY_TAG_P SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25494a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 3c1f9c158050259cf3965cf900916ec49a288972 tree 0d013a43a58156b0ae97ca50a4405a5fc5d9a61d parent a818e5de7e21ddaa7352bb8c9fc785c7b4f3019f author Nathan Scott Fri, 17 Mar 2006 17:28:18 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:18 +1100 [XFS] endianess annotations for xfs_dir2_leaf_entry_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25493a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit a818e5de7e21ddaa7352bb8c9fc785c7b4f3019f tree 9e2e3f03be8c9b065e019999a66b6d85d7a74f5e parent e922fffa4188ef6207cd3afef7f4d33bf4a9ca64 author Nathan Scott Fri, 17 Mar 2006 17:28:07 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:07 +1100 [XFS] endianess annotations for xfs_dir2_leaf_hdr_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25492a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit e922fffa4188ef6207cd3afef7f4d33bf4a9ca64 tree 8943e3d4e7113bb8fba85ce7de937138ebe1b6da parent 1fba9f7fe2164553557e26583e6feb5299cf9f76 author Nathan Scott Fri, 17 Mar 2006 17:27:56 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:56 +1100 [XFS] endianess annotations for xfs_dir2_block_tail_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25491a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 1fba9f7fe2164553557e26583e6feb5299cf9f76 tree 3504af3f9bb748f53683be1fc8f317e7b14ba5dc parent ad354eb34eb354eedc483d1e89e17710165bd2db author Nathan Scott Fri, 17 Mar 2006 17:27:47 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:47 +1100 [XFS] endianess annotations for XFS_DIR2_DATA_UNUSED_TAG_P SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25490a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit ad354eb34eb354eedc483d1e89e17710165bd2db tree aa7977517a3f516c81cf162bd62d7f84749a3138 parent afbcb3f91903bcd34d470efe64b3738257178667 author Nathan Scott Fri, 17 Mar 2006 17:27:37 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:37 +1100 [XFS] endianess annotations for xfs_dir2_data_unused_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25489a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit afbcb3f91903bcd34d470efe64b3738257178667 tree e2dbfefdd7c711e8335079096c0f4f713a28630e parent 68b3a1024a7cda4afaacb3d25e6ac234ddfc0834 author Nathan Scott Fri, 17 Mar 2006 17:27:28 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:28 +1100 [XFS] endianess annotations for xfs_dir2_leaf_tail_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25487a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 68b3a1024a7cda4afaacb3d25e6ac234ddfc0834 tree 5f3e54a1d961b32e516e4e539266f6c8b36d8729 parent 0ba962ef7128d9276b8f95196382d5b9e2ad841d author Nathan Scott Fri, 17 Mar 2006 17:27:19 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:19 +1100 [XFS] endianess annotations for XFS_DIR2_LEAF_BESTS_P SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25486a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 0ba962ef7128d9276b8f95196382d5b9e2ad841d tree cce64b0b25696619c3060eba63c4d31ad00c12d3 parent 70e73f59755867383edf563d5a5cbea614c0fd49 author Nathan Scott Fri, 17 Mar 2006 17:27:07 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:07 +1100 [XFS] endianess annotations for xfs_dir2_free_hdr_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25485a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 70e73f59755867383edf563d5a5cbea614c0fd49 tree 6850f22b47754078b1695aad1ade7bf9705dc52a parent 9cea236492ebabb9545564eb039aa0f477a05c96 author Nathan Scott Fri, 17 Mar 2006 17:26:52 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:52 +1100 [XFS] endianess annotations for xfs_dir2_data_hdr structure. SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25484a Signed-off-by: Nathan Scott commit 9cea236492ebabb9545564eb039aa0f477a05c96 tree 9d2b0a5f82bb356ae1d74c6c0d71ead95186df10 parent ce9d37c257ceba5b4d089c544e4673546f647565 author Nathan Scott Fri, 17 Mar 2006 17:26:41 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:41 +1100 [XFS] Flush and invalidate dirty pages at the start of a direct read also, else we can hit a delalloc-extents-via-direct-io BUG. SGI-PV: 949916 SGI-Modid: xfs-linux-melb:xfs-kern:25483a Signed-off-by: Nathan Scott commit ce9d37c257ceba5b4d089c544e4673546f647565 tree 20202556fc940c1b216cd8461258c6c25db1c0f8 parent 238f4c5468656e3e8b1d39d75c1e4fd73592c1ea author Nathan Scott Fri, 17 Mar 2006 17:26:34 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:34 +1100 [XFS] Merge Yingpings fix for a vn_count assert failure during QA - another ENOSPC condition. SGI-PV: 950784 SGI-Modid: xfs-linux-melb:xfs-kern:25482a Signed-off-by: Nathan Scott commit 238f4c5468656e3e8b1d39d75c1e4fd73592c1ea tree bf1693981be95da7c05ff1cf3133582ef9d7008c parent a13828b167532a2145c9e3f563a99f810500c7b4 author Nathan Scott Fri, 17 Mar 2006 17:26:25 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:25 +1100 [XFS] Make couple names consitent, be more defensive on releasepage (and prep for nobh, someday, maybe). SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25481a Signed-off-by: Nathan Scott commit a13828b167532a2145c9e3f563a99f810500c7b4 tree 77f86814197582a070a811ff06442ff5603a601a parent b12dd34298cf0cff9f337f667045335140873039 author Nathan Scott Fri, 17 Mar 2006 17:26:14 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:14 +1100 [XFS] Cleanup references to i_sem. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25480a Signed-off-by: Nathan Scott commit b12dd34298cf0cff9f337f667045335140873039 tree 0f2ef353bc17f247e538a28137a0a3f8ad3b5e0e parent 2ddd5928d01ca8eb49f55166411b64a5844a8959 author Nathan Scott Fri, 17 Mar 2006 17:26:04 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:04 +1100 [XFS] Fix an infinite loop issue in bulkstat when a corrupt inode is detected. Thanks to Roger Willcocks. SGI-PV: 951054 SGI-Modid: xfs-linux-melb:xfs-kern:25477a Signed-off-by: Nathan Scott commit 2ddd5928d01ca8eb49f55166411b64a5844a8959 tree c98abcc5f70ca263ba98c33f6020bcc399c866ca parent ec86dc02fdc062d0d298814b1e78b482ab38caf7 author Nathan Scott Fri, 17 Mar 2006 17:25:46 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:25:46 +1100 [XFS] Correct the dquot reservation component for the link transation. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25476a Signed-off-by: Nathan Scott commit ec86dc02fdc062d0d298814b1e78b482ab38caf7 tree 2746adfa5471f7026cdd5a9ba4c4853de6795256 parent 8867bc9bf0aed7181aa72c7c938c6ce830b75166 author Nathan Scott Fri, 17 Mar 2006 17:25:36 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:25:36 +1100 [XFS] Complete transition away from linvfs naming convention, finally. SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:25474a Signed-off-by: Nathan Scott commit 8867bc9bf0aed7181aa72c7c938c6ce830b75166 tree ae2dcc3a986e4e48fd81605f109be44c29362edd parent 524fbf5dd1b25acffe6f8a4ed5f3cce1023cfdb8 author Mandy Kirkconnell Fri, 17 Mar 2006 17:25:04 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:25:04 +1100 [XFS] There are a few problems with the new xfs_bmap_search_multi_extents() wrapper function that I introduced in mod xfs-linux:xfs-kern:207393a. The function was added as a wrapper around xfs_bmap_do_search_extents() to avoid breaking the top-of-tree CXFS interface. The idea of the function was basically to extract the target extent buffer (if muli- level extent allocation mode), then call xfs_bmap_do_search_extents() with either a pointer to the first extent in the target buffer or a pointer to the first extent in the file, depending on which extent mode was being used. However, in addition to locating the target extent record for block bno, xfs_bmap_do_search_extents() also sets four parameters needed by the caller: *lastx, *eofp, *gotp, *prevp. Passing only the target extent buffer to xfs_bmap_do_search_extents() causes *eofp to be set incorrectly if the extent is at the end of the target list but there are actually more extents in the next er_extbuf. Likewise, if the extent is the first one in the buffer but NOT the first in the file, *prevp is incorrectly set to NULL. Adding the needed functionality to xfs_bmap_search_multi_extents() to re-set any incorrectly set fields is redundant and makes the call to xfs_bmap_do_search_extents() not make much sense when multi-level extent allocation mode is being used. This mod basically extracts the two functional components from xfs_bmap_do_search_extents(), with the intent of obsoleting/removing xfs_bmap_do_search_extents() after the CXFS mult-level in-core extent changes are checked in. The two components are: 1) The binary search to locate the target extent record, and 2) Setting the four parameters needed by the caller (*lastx, *eofp, *gotp, *prevp). Component 1: I created a new function in xfs_inode.c called xfs_iext_bno_to_ext(), which executes the binary search to find the target extent record. xfs_bmap_search_multi_extents() has been modified to call xfs_iext_bno_to_ext() rather than xfs_bmap_do_search_extents(). Component 2: The parameter setting functionality has been added to xfs_bmap_search_multi_extents(), eliminating the need for xfs_bmap_do_search_extents(). These changes make the removal of xfs_bmap_do_search_extents() trival once the CXFS changes are in place. They also allow us to maintain the current XFS interface, using the new search function introduced in mod xfs-linux:xfs-kern:207393a. SGI-PV: 928864 SGI-Modid: xfs-linux-melb:xfs-kern:207866a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit 2c276603c3e5ebf38155a9d1fbbda656d52d138e tree 8f382336491425b0efef4a00b77c81f89ce8cd46 parent 9b15879aefe6a4c2236297df68c46498af26143d author Michael Ellerman Thu, 16 Mar 2006 14:47:20 +1100 committer Paul Mackerras Fri, 17 Mar 2006 13:28:24 +1100 [PATCH] powerpc: Fix bug in bug fix for bug in lmb_alloc() My patch (d7a5b2ffa1352f0310630934a56aecbdfb617b72) to always panic if lmb_alloc() fails is broken because it checks alloc < 0, but should be checking alloc == 0. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 9b15879aefe6a4c2236297df68c46498af26143d tree 63eab60561e6f6d79ba53e02d9f7e64971367fb4 parent 898b1920a67048c1f38bb99777f4cff06380a59a author Christoph Hellwig Wed, 15 Mar 2006 11:30:44 +0100 committer Paul Mackerras Fri, 17 Mar 2006 13:28:08 +1100 [PATCH] spidernet: select FW_LOADER The spidernet drivers uses request_firmware() and thus needs to select FW_LOADER. Signed-off-by: Christoph Hellwig Signed-off-by: Paul Mackerras commit 898b1920a67048c1f38bb99777f4cff06380a59a tree e7624f64f7bdc829a2f5c14f886d7e326f1a4ced parent bbbe1212bd6f815290f782ba5b489467b54131dc author Grant Likely Thu, 09 Mar 2006 23:36:40 -0700 committer Paul Mackerras Fri, 17 Mar 2006 13:28:03 +1100 [PATCH] Fix compile error for ML300/403 Needed due to changes in ppc_sys.c. Signed-off-by: Grant Likely Signed-off-by: Paul Mackerras commit bbbe1212bd6f815290f782ba5b489467b54131dc tree 3964aa125e7039ff005779d0ba88205d1f9e5f3c parent 7e5b59384eebe35bff8429243f089931ce1cdf38 author Adrian Cox Wed, 08 Mar 2006 22:10:20 +0000 committer Paul Mackerras Fri, 17 Mar 2006 13:23:21 +1100 [PATCH] ppc: Fix platform_notify functions marked __init While adding USB support to an MV64360 based board this week, I discovered that all MV64x60 boards in the kernel have platform_notify functions marked with __init. This causes an oops if a device is added after boot. The patch below removes the __init markers. I do not have all these boards to test on, but the change seems very unlikely to break anything else. Signed-off-by: Adrian Cox Signed-off-by: Paul Mackerras commit 7e5b59384eebe35bff8429243f089931ce1cdf38 tree b4d4ecdb96c26eed704bc4ea254348b268a1717a parent e33852228f74b8ccbed8595083bb725b70902ed7 author Olaf Hering Wed, 08 Mar 2006 20:40:28 +0100 committer Paul Mackerras Fri, 17 Mar 2006 13:22:33 +1100 [PATCH] powerpc: add a raw dump command to xmon Dump a stream of rawbytes with a new 'dr' command. Produces less output and it is simpler to feed the output to scripts. Also, dr has no dumpsize limits. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit e33852228f74b8ccbed8595083bb725b70902ed7 tree a73484a589b2d2f20d82f591d823b98a021cd4b1 parent d116fe5aeafd8226712d2de9c69428725ca74474 author Christoph Hellwig Wed, 08 Mar 2006 16:47:00 +0100 committer Paul Mackerras Fri, 17 Mar 2006 13:21:09 +1100 [PATCH] powerpc: add for_each_node_by_foo helpers Typical use for of_find_node_by_name and of_find_node_by_type is to iterate over all nodes of a given type/name. Add a helper macro to do that (in spirit of the list_for_each* macros). Signed-off-by: Christoph Hellwig Signed-off-by: Paul Mackerras commit d116fe5aeafd8226712d2de9c69428725ca74474 tree 5c65b1b18d495ac9d16e875a7a4f99863ffe0edb parent 0f6be7b77ceaea01a35b37fab26f4ea3b01efe14 author Eric Sesterhenn Mon, 06 Mar 2006 21:13:32 +0100 committer Paul Mackerras Fri, 17 Mar 2006 13:20:57 +1100 [PATCH] kzalloc() conversion in arch/ppc This converts arch/ppc to kzalloc usage. Crosscompile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: Paul Mackerras commit 0f6be7b77ceaea01a35b37fab26f4ea3b01efe14 tree a8e8cf9dd90f6778fa29879fee40d04a55cd9b4f parent 23dd64011285010ac291f7dddf6e287bdb43a0ad author David Gibson Mon, 06 Mar 2006 12:51:29 +1100 committer Paul Mackerras Fri, 17 Mar 2006 13:20:40 +1100 [PATCH] powerpc: Better pmd_bad() and pud_bad() checks At present, the powerpc pmd_bad() and pud_bad() macros return false unless the given pmd or pud is zero. This patch makes these tests more thorough, checking if the given pmd or pud looks like a plausible pte page or pmd page pointer respectively. This can result in helpful error messages when messing with the pagetable code. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 23dd64011285010ac291f7dddf6e287bdb43a0ad tree 0e4f4569d38d82f4dceb4150d5ad940e0fd5f24f parent 516450179454de9e689e0a53ed8f34b896e8651c parent 485ff09990416c75ae9593ddc71619939ab9dd51 author Paul Mackerras Fri, 17 Mar 2006 12:01:19 +1100 committer Paul Mackerras Fri, 17 Mar 2006 12:01:19 +1100 Merge ../linux-2.6 commit abc71c46dc0a12ab7fddc18cfe4f4aa26808c79b tree b0c846052b994d57d58713a0cc8da30a22baaf1c parent 30dcbf29cc6d92d70fa262e79e84011fe6913bed parent 232a347a444e687b5f8cf0f6485704db1c6024d3 author Jeff Garzik Thu, 16 Mar 2006 19:27:08 -0500 committer Jeff Garzik Thu, 16 Mar 2006 19:27:08 -0500 Merge branch 'upstream-fixes' commit c39f5ebe0a542caab30c88e60623709c7bc6fe30 tree 12e0d5500a6d400a077f3f437cc71a93353dea4a parent 1148c3a78aa9f1e84229cd17f94fd38a15ca65bd author Tejun Heo Mon, 13 Mar 2006 19:51:19 +0900 committer Jeff Garzik Thu, 16 Mar 2006 19:22:57 -0500 [PATCH] libata: move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() Move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() and print only if @print_info is non-zero. This kills duplicate IDENTIFY info printing during probing. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1148c3a78aa9f1e84229cd17f94fd38a15ca65bd tree c9457d928ad25530dc80261966e1045c3de8d89d parent 6e48f1b763ab1115a58c86684153635050155387 author Tejun Heo Mon, 13 Mar 2006 19:48:04 +0900 committer Jeff Garzik Thu, 16 Mar 2006 19:22:57 -0500 [PATCH] libata: use local *id instead of dev->id in ata_dev_configure() dev->id is used many times in ata_dev_configure(). Use local variable id instead for shorter notation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6e48f1b763ab1115a58c86684153635050155387 tree b75b8ecc07f5af47d6f03f25c7782e4c6d58523e parent fb21f0d0ec7e31cc814165e1a9d2662d9c9dd980 parent 485ff09990416c75ae9593ddc71619939ab9dd51 author Jeff Garzik Thu, 16 Mar 2006 19:22:42 -0500 committer Jeff Garzik Thu, 16 Mar 2006 19:22:42 -0500 Merge branch 'master' commit 9e7714d08061a77d3d2ec9a6ef6fd571a534fc7f tree e279d51b007c5f3d6b4cf157c1fada7ea7fe39da parent 243f196d572822214bb86522f28b30e096d67414 author Catalin Marinas Thu, 16 Mar 2006 14:10:20 +0000 committer Russell King Thu, 16 Mar 2006 14:10:20 +0000 [ARM] 3367/1: CLCD mode no longer supported on the RealView boards Patch from Catalin Marinas Chosing of the CLCD RGB mode is no longer possible via the SYS_CLCD register on the RealView boards. Instead, this configuration is done in the CLCD primecell control register directly. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 243f196d572822214bb86522f28b30e096d67414 tree 37043d91a1091b085de2f33ddd40418d3152372d parent 5466eb5d0ad5e9d4238da71a2a9bd216985a4849 author Catalin Marinas Thu, 16 Mar 2006 14:10:19 +0000 committer Russell King Thu, 16 Mar 2006 14:10:19 +0000 [ARM] 3366/1: Allow the 16bpp mode configuration in the CLCD control register Patch from Catalin Marinas Starting with PL111, the 5551 or 565 modes can be configured in the primecell's control register directly. This patch detects the required mode and sets the correct value. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit dd288e7d75b9041f79fecae77d61cfa345da7266 tree 85ff1d1ea0fe1d6eae0b6819422d5c6c05f862cd parent 30dcbf29cc6d92d70fa262e79e84011fe6913bed parent 72df16f109b73be37977a26d342e9103e8851cb6 author John W. Linville Wed, 15 Mar 2006 17:02:08 -0500 committer John W. Linville Wed, 15 Mar 2006 17:02:08 -0500 Merge branch 'upstream-fixes' commit 55be062d2d6397e6f24f3b91608917e9e84206d7 tree dd996b25f1a9d21dd4c775ab3a8adb0fe85034d5 parent 823f8dd17778ba0993c56173505eea921b7859b4 author Jesse Brandeburg Wed, 15 Mar 2006 12:18:13 -0800 committer Jesse Brandeburg Wed, 15 Mar 2006 12:18:13 -0800 e1000: update the readme with the latest text The text of the e1000.txt file is a little stale, lets freshen it up. (update) removed some non-kernel specific text Signed-off-by: Jesse Brandeburg commit 823f8dd17778ba0993c56173505eea921b7859b4 tree 942caa10f642c64dab1c5f7cedffe7cbe4faaf0e parent add18784390e68a43f2c81110654e86c29be5947 author Jesse Brandeburg Tue, 14 Mar 2006 15:51:07 -0800 committer Jesse Brandeburg Tue, 14 Mar 2006 15:51:07 -0800 e100: update e100.txt Signed-off-by: Jesse Brandeburg commit c5111f504d2a9b0d258d7c4752b4093523315989 tree 6a52864aff79691689aea21cb0cb928327d5de5b parent 69eb66d7da7dba2696281981347698e1693c2340 parent a488edc914aa1d766a4e2c982b5ae03d5657ec1b author Dave Kleikamp Tue, 14 Mar 2006 17:05:45 -0600 committer Dave Kleikamp Tue, 14 Mar 2006 17:05:45 -0600 Merge with /home/shaggy/git/linus-clean/ commit 95e6a856772413993f54916ca9bf21ccfa6a537e tree ab2b6293fe3978603ff4af70be2e6516d3418fd5 parent a50a5e3792a6c65f95dab547dba45608bd193404 author Andrew Vasquez Tue, 14 Mar 2006 14:41:04 -0800 committer James Bottomley Tue, 14 Mar 2006 17:05:32 -0600 [SCSI] qla2xxx: update MAINTAINERS Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit add18784390e68a43f2c81110654e86c29be5947 tree 5ae00933c47d6e20a8e526c07c3e36d97bec4ec5 parent a488edc914aa1d766a4e2c982b5ae03d5657ec1b author Jesse Brandeburg Tue, 14 Mar 2006 14:52:13 -0800 committer Jesse Brandeburg Tue, 14 Mar 2006 14:52:13 -0800 e100/e1000/ixgb: update MAINTAINERS to current developers Remove Ganesh, add Jeff and Jesse Signed-off-by: Jesse Brandeburg commit a50a5e3792a6c65f95dab547dba45608bd193404 tree d402d0d9e53bb8c37a4a96f5b1d168a27cfaaaee parent 9dec70e053613c31e8feab9e14607eaaed99d77c author Mike Anderson Tue, 14 Mar 2006 11:18:46 -0800 committer James Bottomley Tue, 14 Mar 2006 14:36:00 -0600 [SCSI] scsi: move target_destroy call This patch moves the calling of target_destroy next to the list_del. This closed a race being seen while doing a device add on the aic7xxx. Signed-off-by: Mike Anderson Signed-off-by: James Bottomley commit 9dec70e053613c31e8feab9e14607eaaed99d77c tree fa3506f25f8ad164ff486eafebc189c2967de754 parent e6b2d76a49f0ee48527691867d8af2b8f9c10452 author Moore, Eric Tue, 14 Mar 2006 09:14:26 -0700 committer James Bottomley Tue, 14 Mar 2006 14:35:34 -0600 [SCSI] fusion - bump version version bump Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit e6b2d76a49f0ee48527691867d8af2b8f9c10452 tree 8f35dda5dcf65ccc740761c96924111baf0a8644 parent f44e5461d919a344d44f7ca4f06cf8d169da8454 author Moore, Eric Tue, 14 Mar 2006 09:14:24 -0700 committer James Bottomley Tue, 14 Mar 2006 14:35:17 -0600 [SCSI] fusion - expander hotplug suport in mptsas module This adds support for hot adding and removing expanders, and its associated attached devices. When there is a change in topology, the fusion firmware sends the MPI_EVENT_SAS_DISCOVERY event to the driver. The driver will read firmware config pages to determine what changes took place, and refresh drivers view of the world stored in ioc->sas_topology. Here is the details of the action the driver does: (1) Expander Added : The mptsas_discovery_work workqueue is called. Config pages read, and ioc->sas_topology is refreshed. The sas_phy_add() is called for each phy of the expander. The expanders attached devices are added via sas_rphy_add(). Added end devices are handled within the MPT_ADD_DEVICE logic in mptsas_hotplug_work workqueue. (2) Expander Delete : The sas_rphy_delete() will be called for the top most compenent of the parent that the expander is attached to. The sas_rphy_delete call will delete all the children phys, rphys, and end devices. This is handled from mptsas_discovery_work workqueue. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f44e5461d919a344d44f7ca4f06cf8d169da8454 tree 9d2d140b44954b41e3b439f098f40643216d529f parent db9c9174e42bdc8d52bc18df7c55823cf4546eda author Moore, Eric Tue, 14 Mar 2006 09:14:21 -0700 committer James Bottomley Tue, 14 Mar 2006 14:35:01 -0600 [SCSI] fusion - exposing raid components in mptsas Suppport for exposing hidden raid components for sg interface. The sdev->no_uld_attach flag will set set accordingly. The sas module supports adding/removing raid volumes using online storage management application interface. This patch rely's on patch's provided to me by Christoph Hellwig, that exports device_reprobe. I will post those patch's on behalf of Christoph. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit db9c9174e42bdc8d52bc18df7c55823cf4546eda tree 8201685d53ccbd694cf706762d098716ec5f4b8b parent 52435430fc8724f09ad0e917eddf677583cdd45c author Moore, Eric Tue, 14 Mar 2006 09:14:18 -0700 committer James Bottomley Tue, 14 Mar 2006 14:34:45 -0600 [SCSI] fusion - memory leak, and initializing fields Changelog: (1) fix memory leak: p->phy_info (2) initialize device_info and port_info data fields (3) initialize the hba firmware handle (4) initialize phy_id for attached phy_info data fields (5) initialize attached phy_info data fields Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 52435430fc8724f09ad0e917eddf677583cdd45c tree 865e57f1088e3f7a4bc0f7e01c93f51ee704d9a5 parent 4b766471e388352f35a6171563dfc0d272f12b59 author Moore, Eric Tue, 14 Mar 2006 09:14:15 -0700 committer James Bottomley Tue, 14 Mar 2006 14:34:25 -0600 [SCSI] fusion - exclosure misspelled exclosure should be enclosure Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 4b766471e388352f35a6171563dfc0d272f12b59 tree 8b143cdbd379a7eaeadedbf237da92c90f031667 parent 914c2d8e597798d62c2e0a3cba737bf6f611eecf author Moore, Eric Tue, 14 Mar 2006 09:14:12 -0700 committer James Bottomley Tue, 14 Mar 2006 14:34:08 -0600 [SCSI] fusion - cleanup mptsas event handling functions Cleanup of mptsas firmware event handlers. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 914c2d8e597798d62c2e0a3cba737bf6f611eecf tree 7973421cd5cc7ecd644c6c304580a93e42cec244 parent c972c70fa03097be4235fc441658290a3b7af06f author Moore, Eric Tue, 14 Mar 2006 09:19:36 -0700 committer James Bottomley Tue, 14 Mar 2006 14:33:38 -0600 [SCSI] fusion - removing target_id/bus_id from the VirtDevice structure It makes no sense in keeping the target_id and bus_id in the VirtDevice structure, when it can be obtained from the VirtTarget structure. In addition, this patch fix's couple compilation bugs in mptfc.c when MPT_DEBUG_FC is enabled. This provided by Micheal Reed. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit c972c70fa03097be4235fc441658290a3b7af06f tree 16cc86cd334fc11422f133504cd3c38fdebe1223 parent 3a892bef3f7e94c4d6c2c20b9a1b546f43679fd3 author Moore, Eric Tue, 14 Mar 2006 09:14:06 -0700 committer James Bottomley Tue, 14 Mar 2006 14:33:18 -0600 [SCSI] fusion - static fix's Patch previously provided from Adrian Bunk , moving some functions to static. This is already in the -mm tree. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 3a892bef3f7e94c4d6c2c20b9a1b546f43679fd3 tree 5777985afb6a2bbfef93ef60b8952f41612b7396 parent 5bf52c4fda97325976ffaf338d2e81b73b3db446 author Moore, Eric Tue, 14 Mar 2006 09:14:03 -0700 committer James Bottomley Tue, 14 Mar 2006 14:27:43 -0600 [SCSI] fusion - move some debug firmware event debug msgs to verbose level Created a debug level MPT_DEBUG_VERBOSE_EVENTS. Moving some of the more vebose debug messages for firwmare events into new debug level. Also added some more firmware events descriptions. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 5bf52c4fda97325976ffaf338d2e81b73b3db446 tree 8f04d0c5e504571d1aaacfbd2d337d9dd9c1aae4 parent e28482c5b24006e9e4a867f9995baf358cbc1059 author Moore, Eric Tue, 14 Mar 2006 09:14:01 -0700 committer James Bottomley Tue, 14 Mar 2006 14:27:21 -0600 [SCSI] fusion - loginfo header update This header is provided to better understand loginfo codes returned by the mpt fusion firmware. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit e28482c5b24006e9e4a867f9995baf358cbc1059 tree 87a21e0d1df72f8809625a2161f39ea07c51340b parent e5b3a65fd7244e662691cf617145983ecde28cc9 author James Bottomley Tue, 14 Mar 2006 14:24:55 -0600 committer James Bottomley Tue, 14 Mar 2006 14:24:55 -0600 [SCSI] add scsi_reprobe_device Original from Christoph Hellwig and Eric Moore. This version exports the scsi_reprobe_device() function as an inline. Signed-off-by: James Bottomley commit e5b3a65fd7244e662691cf617145983ecde28cc9 tree dc46a5a1767897cc87ead1efcd6bcb9f9bf2524a parent f33b5d783b4f56be5ace6a1c98fb5f76b2d2d07d author Christoph Hellwig Fri, 10 Mar 2006 17:08:57 +0100 committer James Bottomley Tue, 14 Mar 2006 14:18:51 -0600 [SCSI] megaraid_sas: fix extended timeout handling Replace the eh_timed_out method usage with setting sdev->timeout in slave_configure. Also only use the extended timeout for raid volumes, physical devices shouldn't need it. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit f33b5d783b4f56be5ace6a1c98fb5f76b2d2d07d tree b027b5f3429d416b3da5b9195024007dab062a5e parent e935d5da8e5d12fabe5b632736c50eae0427e8c8 parent 67963132638e67ad3c5aa16765e6f3f2f3cdd85c author James Bottomley Tue, 14 Mar 2006 14:18:01 -0600 committer James Bottomley Tue, 14 Mar 2006 14:18:01 -0600 Merge ../linux-2.6 commit e935d5da8e5d12fabe5b632736c50eae0427e8c8 tree 8045ffcaa659365ed1d844e7704b92810660c8b1 parent 79cb1819e231f811211133a09a5382cb89d7ec67 author Moore, Eric Tue, 14 Mar 2006 09:18:18 -0700 committer James Bottomley Tue, 14 Mar 2006 12:50:44 -0600 [SCSI] drivers/base/bus.c - export reprobe Adding support for exposing hidden raid components for sg interface. The sdev->no_uld_attach flag will set set accordingly. The sas module supports adding/removing raid volumes using online storage management application interface. This patch was provided to me by Christoph Hellwig. Signed-off-by: Eric Moore Signed-off-by: Greg Kroah-Hartman Signed-off-by: James Bottomley commit 79cb1819e231f811211133a09a5382cb89d7ec67 tree 2bc36e3165fe15614283f628e825e9320ca7ab8e parent c829c394165f981d49f05a9be228404d7a9398d4 author James Bottomley Mon, 13 Mar 2006 13:50:04 -0600 committer James Bottomley Tue, 14 Mar 2006 12:36:19 -0600 [SCSI] add preliminary expander support to the sas transport class This patch makes expanders appear as labelled objects with properties in the SAS tree. I've also modified the phy code to make expander phys appear labelled by host number, expander number and phy index. So, for my current config, you see something like this in sysfs: /sys/class/scsi_host/host1/device/phy-1:4/expander-1:0/phy-1-0:12/rphy-1:0-12/target1:0:1 And the expander properties are: jejb@sparkweed> cd /sys/class/sas_expander/expander-1\:0/ jejb@sparkweed> for f in *; do echo -n $f ": "; cat $f; done component_id : 29024 component_revision_id : 4 component_vendor_id : VITESSE device : cat: device: Is a directory level : 0 product_id : VSC7160 Eval Brd product_rev : 4 uevent : cat: uevent: Permission denied vendor_id : VITESSE Signed-off-by: James Bottomley commit 524fbf5dd1b25acffe6f8a4ed5f3cce1023cfdb8 tree 5ab5ccf5f4c4f5b15306e8d6b1417d3ff192c700 parent f30a1211119741d2c1063ad613bec8434fb9d099 author Nathan Scott Tue, 14 Mar 2006 14:07:53 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:07:53 +1100 [XFS] Revert kiocb and vattr stack changes, theory is the AIO rework will help here and vattr may be small enough. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25423a Signed-off-by: Nathan Scott commit f30a1211119741d2c1063ad613bec8434fb9d099 tree 712d1b9de569682233951b0704d977526d81e367 parent f020b67f3c0c071ed5b2281bfa717125c8a39ad6 author Nathan Scott Tue, 14 Mar 2006 14:07:36 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:07:36 +1100 [XFS] Dynamically allocate the xfs_dinode_core_t structure to reduce our stack footprint in xfs_ialloc_ag_alloc. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25420a Signed-off-by: Nathan Scott commit f020b67f3c0c071ed5b2281bfa717125c8a39ad6 tree 84cb03ab100ff95a7f02b671947bbbca3cfddad8 parent a50cd2692617cfb796140a62c0082bce0a7306c7 author Mandy Kirkconnell Tue, 14 Mar 2006 14:07:24 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:07:24 +1100 [XFS] Fix assert to check that in-core extents are inline only. SGI-PV: 950678 SGI-Modid: xfs-linux-melb:xfs-kern:207634a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit a50cd2692617cfb796140a62c0082bce0a7306c7 tree 15a879237107bde586effdb46c2be41e4cd1af44 parent 416c6d5bcfe8ac2c65a955be62bc42d8b8d5b014 author Nathan Scott Tue, 14 Mar 2006 14:06:18 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:06:18 +1100 [XFS] Switch over from linvfs names for sb/quotactl operations for consistent naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25382a Signed-off-by: Nathan Scott commit 416c6d5bcfe8ac2c65a955be62bc42d8b8d5b014 tree bf8ef73d247c4e44db36d9c742a088e0c4330630 parent 3562fd45658fbb696f4546479332d5249c3ad90f author Nathan Scott Tue, 14 Mar 2006 14:00:51 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:00:51 +1100 [XFS] Switch over from linvfs names for inode operations for consistent naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25381a Signed-off-by: Nathan Scott commit 3562fd45658fbb696f4546479332d5249c3ad90f tree 75402260ea6782fd2bd0111e2e7a5de187d0dd66 parent e4c573bb6a8477a26b3d5471fd116d258760a13a author Nathan Scott Tue, 14 Mar 2006 14:00:35 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:00:35 +1100 [XFS] Switch over from linvfs names for file operations for consistent naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25379a Signed-off-by: Nathan Scott commit e4c573bb6a8477a26b3d5471fd116d258760a13a tree 6a3466f40c2102ff8f161fc70861040791474ed8 parent b8b0f546569871b365a5e3b3cc3f667af658dd49 author Nathan Scott Tue, 14 Mar 2006 13:54:26 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:54:26 +1100 [XFS] Switch over from linvfs names for address space ops for consistent naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25378a Signed-off-by: Nathan Scott commit b8b0f546569871b365a5e3b3cc3f667af658dd49 tree b14d4c72e13d2c6192e0ac93d1fbafa392ea8e2d parent a365bdd5e8fae9c592b9e4851d931016f9fdd868 author Nathan Scott Tue, 14 Mar 2006 13:47:32 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:47:32 +1100 [XFS] Remove a couple of no-longer-used macros/types from XFS. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25377a Signed-off-by: Nathan Scott commit a365bdd5e8fae9c592b9e4851d931016f9fdd868 tree a7f1692ad72f93526177c9d989c31427eef315e9 parent 39269e29d4aad04252e0debec4c9b01bac16a257 author Nathan Scott Tue, 14 Mar 2006 13:34:16 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:34:16 +1100 [XFS] Reduce stack usage within xfs_bmapi by rearranging some code, splitting realtime/btree allocators apart. Based on Glens original patches. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25372a Signed-off-by: Nathan Scott commit 39269e29d4aad04252e0debec4c9b01bac16a257 tree 8229f1eef23c113d6b2020f150846021deb30fd5 parent 220b5284139be6ecbc39b353fd76f0923eccc3d6 author Nathan Scott Tue, 14 Mar 2006 13:33:50 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:33:50 +1100 [XFS] Reduce xfs_bmapi stack use by removing some local state variables, and directly testing flags instead. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25370a Signed-off-by: Nathan Scott commit 220b5284139be6ecbc39b353fd76f0923eccc3d6 tree 86ab8c671631a109690d6589a19d9774d8bed18f parent 9b94c2eddf407ad8faa5672ffa691e2076167564 author Nathan Scott Tue, 14 Mar 2006 13:33:36 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:33:36 +1100 [XFS] Dynamically allocate vattr in places it makes sense to do so, to reduce stack use. Also re-use vattr in some places so that multiple copies are not held on-stack. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25369a Signed-off-by: Nathan Scott commit 9b94c2eddf407ad8faa5672ffa691e2076167564 tree aa44b11d2a09b49a892e622c374d81be36966177 parent 8f79405527b50fe27cffcb7081890b5c68439b4f author Nathan Scott Tue, 14 Mar 2006 13:32:54 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:32:54 +1100 [XFS] Take a dentry structure off the stack into the data segment. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25361a Signed-off-by: Nathan Scott commit 8f79405527b50fe27cffcb7081890b5c68439b4f tree 9cd1abe2bf0997bec2d9485cade641d1e8eb7c82 parent f6d75cbed997dffb41e3d473bd4c0f899abc3776 author Nathan Scott Tue, 14 Mar 2006 13:32:41 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:32:41 +1100 [XFS] Reduce complexity in xfs_trans_init by pushing complex macros out into functions and hence reduce the stack footprint there. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25360a Signed-off-by: Nathan Scott commit f6d75cbed997dffb41e3d473bd4c0f899abc3776 tree 790e0ec4a6347876b7255eb5277b757a3cddc85d parent 1f6553f9f9b6e41375c605769a75bd1646685a1b author Nathan Scott Tue, 14 Mar 2006 13:32:24 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:32:24 +1100 [XFS] Dynamically allocate xfs_dir2_put_args_t structure to reduce stack pressure in xfs_dir2_leaf_getdents routine. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25359a Signed-off-by: Nathan Scott commit 1f6553f9f9b6e41375c605769a75bd1646685a1b tree 8fc48aaad9b58ebece96747d058b952e72866aa1 parent 0293ce3a9fd1b34c933a96577a8ba737b681cf75 author Nathan Scott Tue, 14 Mar 2006 13:30:48 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:30:48 +1100 [XFS] Dynamically allocate local kiocb structures in readv/writev routines to reduce stack footprint. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25358a Signed-off-by: Nathan Scott commit 0293ce3a9fd1b34c933a96577a8ba737b681cf75 tree 19c01a41566aa3c631a4d903ca5f3242b15af169 parent 4eea22f01bb4fdba1aab4430c33adbe88d9d4985 author Mandy Kirkconnell Tue, 14 Mar 2006 13:30:23 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:30:23 +1100 [XFS] 929045 567344 This mod introduces multi-level in-core file extent functionality, building upon the new layout introduced in mod xfs-linux:xfs-kern:207390a. The new multi-level extent allocations are only required for heavily fragmented files, so the old-style linear extent list is used on files until the extents reach a pre-determined size of 4k. 4k buffers are used because this is the system page size on Linux i386 and systems with larger page sizes don't seem to gain much, if anything, by using their native page size as the extent buffer size. Also, using 4k extent buffers everywhere provides a consistent interface for CXFS across different platforms. The 4k extent buffers are managed by an indirection array (xfs_ext_irec_t) which is basically just a pointer array with a bit of extra information to keep track of the number of extents in each buffer as well as the extent offset of each buffer. Major changes include: - Add multi-level in-core file extent functionality to the xfs_iext_ subroutines introduced in mod: xfs-linux:xfs-kern:207390a - Introduce 13 new subroutines which add functionality for multi-level in-core file extents: xfs_iext_add_indirect_multi() xfs_iext_remove_indirect() xfs_iext_realloc_indirect() xfs_iext_indirect_to_direct() xfs_iext_bno_to_irec() xfs_iext_idx_to_irec() xfs_iext_irec_init() xfs_iext_irec_new() xfs_iext_irec_remove() xfs_iext_irec_compact() xfs_iext_irec_compact_pages() xfs_iext_irec_compact_full() xfs_iext_irec_update_extoffs() SGI-PV: 928864 SGI-Modid: xfs-linux-melb:xfs-kern:207393a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit 4eea22f01bb4fdba1aab4430c33adbe88d9d4985 tree 90e2088cd821e1013088682843e11d600f8c711a parent 9f989c9455aac417c34af9c505e6b169055251da author Mandy Kirkconnell Tue, 14 Mar 2006 13:29:52 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:29:52 +1100 [XFS] 929045 567344 This mod re-organizes some of the in-core file extent code to prepare for an upcoming mod which will introduce multi-level in-core extent allocations. Although the in-core extent management is using a new code path in this mod, the functionality remains the same. Major changes include: - Introduce 10 new subroutines which re-orgainze the existing code but do NOT change functionality: xfs_iext_get_ext() xfs_iext_insert() xfs_iext_add() xfs_iext_remove() xfs_iext_remove_inline() xfs_iext_remove_direct() xfs_iext_realloc_direct() xfs_iext_direct_to_inline() xfs_iext_inline_to_direct() xfs_iext_destroy() - Remove 2 subroutines (functionality moved to new subroutines above): xfs_iext_realloc() -replaced by xfs_iext_add() and xfs_iext_remove() xfs_bmap_insert_exlist() - replaced by xfs_iext_insert() xfs_bmap_delete_exlist() - replaced by xfs_iext_remove() - Replace all hard-coded (indexed) extent assignments with a call to xfs_iext_get_ext() - Replace all extent record pointer arithmetic (ep++, ep--, base + lastx,..) with calls to xfs_iext_get_ext() - Update comments to remove the idea of a single "extent list" and introduce "extent record" terminology instead SGI-PV: 928864 SGI-Modid: xfs-linux-melb:xfs-kern:207390a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit 9f989c9455aac417c34af9c505e6b169055251da tree 59f136ea281ba498bdd674e1b4428d0f53294898 parent 01e1b69cfcdcfdd5b405165eaba29428f8b18a7c author Nathan Scott Tue, 14 Mar 2006 13:29:32 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:29:32 +1100 [XFS] Additional mount time superblock validation checks. SGI-PV: 950491 SGI-Modid: xfs-linux-melb:xfs-kern:25354a Signed-off-by: Nathan Scott commit 01e1b69cfcdcfdd5b405165eaba29428f8b18a7c tree 3ca7e8d0047ff03ca532f39b0fc4cd50381e8ecc parent 87cbc49cd4b773a972bce56c5dd09c4717f3285b author David Chinner Tue, 14 Mar 2006 13:29:16 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:29:16 +1100 [XFS] using a spinlock per cpu for superblock counter exclusion results in a preÄ“mpt counter overflow at 256p and above. Change the exclusion mechanism to use atomic bit operations and busy wait loops to emulate the spin lock exclusion mechanism but without the preempt count issues. SGI-PV: 950027 SGI-Modid: xfs-linux-melb:xfs-kern:25338a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 87cbc49cd4b773a972bce56c5dd09c4717f3285b tree 2070b4b4fdc72a74d8a7a76b29f4a63e96a49d04 parent f51623b21fe3068d12f0c5d39e02fd2549635a99 author Nathan Scott Tue, 14 Mar 2006 13:26:43 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:26:43 +1100 [XFS] Add xfs_map_buffer helper, use it in a couple of places. SGI-PV: 950211 SGI-Modid: xfs-linux-melb:xfs-kern:25312a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit f51623b21fe3068d12f0c5d39e02fd2549635a99 tree 3b97d6690d0b01442543f9607cc4b7d3ec230128 parent 02d7c92334c84897d7d2840fc25e5896535766f9 author Nathan Scott Tue, 14 Mar 2006 13:26:27 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:26:27 +1100 [XFS] Move some code around to avoid prototypes and prep for future writepages code. SGI-PV: 950211 SGI-Modid: xfs-linux-melb:xfs-kern:25311a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 02d7c92334c84897d7d2840fc25e5896535766f9 tree b7853c5f3d4bffdf820c9d0ebe6f8ac2e370a6f4 parent fcce0f1f9ae8d49fd27d418428034a505816d395 author Nathan Scott Tue, 14 Mar 2006 13:26:09 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:26:09 +1100 [XFS] Use XFS_VFSTOM in more places instead of open coding it. SGI-PV: 947206 SGI-Modid: xfs-linux-melb:xfs-kern:25310a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit fcce0f1f9ae8d49fd27d418428034a505816d395 tree 4a41335c1ec4a9092e7ea4010f259b6c7dd84185 parent a780143ea53d26362b7cfb6666c8d04fb989bb7a author Tim Shimmin Tue, 14 Mar 2006 13:25:02 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:25:02 +1100 [XFS] forgot a couple of calls to XLOG_VEC_SET_TYPE when porting from irix to linux. SGI-PV: 931456 SGI-Modid: xfs-linux-melb:xfs-kern:25238a Signed-off-by: Tim Shimmin Signed-off-by: Nathan Scott commit a780143ea53d26362b7cfb6666c8d04fb989bb7a tree 7c42fcbc93036dfbff3cc172bec5d152ab1deedc parent e8234a6871aa0de1ed0aeeecb5230ecf3ab414e2 author Nathan Scott Tue, 14 Mar 2006 13:24:46 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:24:46 +1100 [XFS] UUID endianess fix. uu_timelow is a 32bit field and needs to be swapped with be32_to_cpu. SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25232a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit e8234a6871aa0de1ed0aeeecb5230ecf3ab414e2 tree b88093459262dcae16a237faf45200052629d19b parent 2d0f864be3266eb0a8b4b48f36e2f777eace00b3 author David Chinner Tue, 14 Mar 2006 13:23:52 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:23:52 +1100 [XFS] Add support for hotplug CPUs to the per-CPU superblock counters by registering a notifier callback that listens to CPU up/down events to modify the counters appropriately. SGI-PV: 949726 SGI-Modid: xfs-linux-melb:xfs-kern:25214a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 2d0f864be3266eb0a8b4b48f36e2f777eace00b3 tree dc2fd0196f7791ac2b8aa5cab8d16ceec4ccc576 parent d2c32edf64a7e9bc8dfb5cb3a8f7bf7be94c93ae author Nathan Scott Tue, 14 Mar 2006 13:20:33 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:20:33 +1100 [XFS] Make headers compile for more compiler variants; minor cleanup. SGI-PV: 949432 SGI-Modid: xfs-linux-melb:xfs-kern:25184a Signed-off-by: Nathan Scott commit d2c32edf64a7e9bc8dfb5cb3a8f7bf7be94c93ae tree cdb70e7258708c1bdc66b9156a206e1c7906d2b6 parent e0cc2325d151c3f4f3276b2deda734faf742146f author Nathan Scott Tue, 14 Mar 2006 13:20:13 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:20:13 +1100 [XFS] When compiling with gcc 4.0 and CONFIG_SMP unset, there are many warnings along the lines: xfs_linux.h:103:5: warning: "CONFIG_SMP" is not defined. SGI-PV: 946630 SGI-Modid: xfs-linux-melb:xfs-kern:25171a Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Nathan Scott commit e0cc2325d151c3f4f3276b2deda734faf742146f tree ad9e688d60e55c53579e58ea136d7daf664ee7b8 parent 20722a91921bd9e9d4ba5c8f801d143e72e58418 author Nathan Scott Tue, 14 Mar 2006 13:19:55 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:19:55 +1100 [XFS] Flag the XFS inode cache as in need of spreading also. SGI-PV: 949073 SGI-Modid: xfs-linux-melb:xfs-kern:25170a Signed-off-by: Nathan Scott commit 20722a91921bd9e9d4ba5c8f801d143e72e58418 tree bf6dc377ff28bd3a89c41c7724db6715a7f110d4 parent 8758280fcc6129be89503efe93bb59eaf2f85d28 author Nathan Scott Tue, 14 Mar 2006 13:19:08 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:19:08 +1100 [XFS] Fix a mutex_destroy diagnostic about a locked-mutex-on-destroy from quota code. SGI-PV: 949149 SGI-Modid: xfs-linux-melb:xfs-kern:25123a Signed-off-by: Nathan Scott commit 8758280fcc6129be89503efe93bb59eaf2f85d28 tree 395246120b571385c1f3efad773b83a932d008da parent 8d280b98cfe3c0b69c37d355218975c1c0279bb0 author Nathan Scott Tue, 14 Mar 2006 13:18:19 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:18:19 +1100 [XFS] Cleanup the use of zones/slabs, more consistent and allows flags to be passed. SGI-PV: 949073 SGI-Modid: xfs-linux-melb:xfs-kern:25122a Signed-off-by: Nathan Scott commit 8d280b98cfe3c0b69c37d355218975c1c0279bb0 tree 2dc1deaec23a7da29b72152a4225c2600dacf1d4 parent 9f4cbecd7e5ee6390fecd6032dc04ca8c9805dc9 author David Chinner Tue, 14 Mar 2006 13:13:09 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:13:09 +1100 [XFS] On machines with more than 8 cpus, when running parallel I/O threads, the incore superblock lock becomes the limiting factor for buffered write throughput. Make the contended fields in the incore superblock use per-cpu counters so that there is no global lock to limit scalability. SGI-PV: 946630 SGI-Modid: xfs-linux-melb:xfs-kern:25106a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 9f4cbecd7e5ee6390fecd6032dc04ca8c9805dc9 tree ab8d621cf5852f1d6b4dad602510792b2fd6463c parent 0c9512d74635198d90f349acec19381e446ba2b4 author Nathan Scott Tue, 14 Mar 2006 13:05:30 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:05:30 +1100 [XFS] XFS propagates MS_NOATIME through two levels internally but doesn't actually use it. Kill this dead code. Signed-off-by: Christoph Hellwig SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25086a Signed-off-by: Nathan Scott commit 0c9512d74635198d90f349acec19381e446ba2b4 tree 97a60f4e3a9a5d67ae7f4bf192cc7066e48a5979 parent 3759fa9c55923f719ae944a3f8fbb029b36f759d author David Chinner Tue, 14 Mar 2006 13:02:13 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:02:13 +1100 [XFS] find_exported_dentry(). XFS does not need to use this symbol as it is provided by a vector through the superblock export operations when the filesystem is exported by NFS. The fix is to call that vector instead of using the exported symbol directly. SGI-PV: 948858 SGI-Modid: xfs-linux-melb:xfs-kern:25062a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit c829c394165f981d49f05a9be228404d7a9398d4 tree 649ca326052a4a35d31f150f274347ca9d38c678 parent ce313db240862d809c736c5b1dfc759817fc7ca9 author James Smart Mon, 13 Mar 2006 08:28:57 -0500 committer James Bottomley Mon, 13 Mar 2006 08:58:58 -0600 [SCSI] FC transport : Avoid device offline cases by stalling aborts until device unblocked This moves the eh_timed_out functionality from the scsi_host_template to the transport_template. Given that this is now a transport function, the EH_RESET_TIMER case no longer caps the timer reschedulings. The transport guarantees that this is not an infinite condition. Signed-off-by: James Bottomley commit dc9a49a4af9cdbe3d79183eefb12372b4dbc09c2 tree 23cb86c62a0872ef4c0fae01b0216feb9cbdcd28 parent 8cab77a2f851363e35089b9720373b964f64550e author Jan Beulich Thu, 09 Mar 2006 14:47:46 +0100 committer Sam Ravnborg Sun, 12 Mar 2006 23:38:20 +0100 kconfig: fix time ordering of writes to .kconfig.d and include/linux/autoconf.h Since .kconfig.d is used as a make dependency of include/linux/autoconf.h, it should be written earlier than the header file, to avoid a subsequent rebuild to consider the header outdated. Signed-Off-By: Jan Beulich Signed-off-by: Sam Ravnborg commit 8cab77a2f851363e35089b9720373b964f64550e tree fdb88e137cc2a1b6a62fd92eeae6d35f3c882b3e parent 7d1859835cd6c0afd1773d249300da82b1b868a5 author Adrian Bunk Tue, 07 Mar 2006 23:58:36 -0800 committer Sam Ravnborg Sun, 12 Mar 2006 23:35:17 +0100 Kconfig: remove the CONFIG_CC_ALIGN_* options I don't see any use case for the CONFIG_CC_ALIGN_* options: - they are only available if EMBEDDED - people using EMBEDDED will most likely also enable CC_OPTIMIZE_FOR_SIZE - the default for -Os is to disable alignment In case someone is doing performance comparisons and discovers that the default settings gcc chooses aren't good, the only sane thing is to discuss whether it makes sense to change this, not through offering options to change this locally. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg commit 7d1859835cd6c0afd1773d249300da82b1b868a5 tree 88028900d69f1c619ce70cdabbea0defa6f87000 parent ce560686947fd50b30eaf42045554797f53949dd author Chuck Ebbert <76306.1226@compuserve.com> Tue, 07 Mar 2006 23:58:33 -0800 committer Sam Ravnborg Sun, 12 Mar 2006 23:35:16 +0100 kbuild: add -fverbose-asm to i386 Makefile Add -fverbose-asm to i386 Makefile rule for building .s files. This makes the assembler output much more readable for humans. Suggested by Der Herr Hofrat Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg commit ce560686947fd50b30eaf42045554797f53949dd tree ae04b6c366eec6c6ff9726a8034ffd61c269ce1b parent 78c041530ac2e65c9290137bfe3004340e0840d2 author Sam Ravnborg Sun, 12 Mar 2006 23:26:29 +0100 committer Sam Ravnborg Sun, 12 Mar 2006 23:26:29 +0100 kbuild: clean-up genksyms o remove all inlines o declare everything static which is only used by genksyms.c o delete unused functions o delete unused variables o delete unused stuff in genksyms.h o properly ident genksyms.h Signed-off-by: Sam Ravnborg commit 78c041530ac2e65c9290137bfe3004340e0840d2 tree add53c6f872720b362a814d571666d52cc4306cc parent c79c7b0923ff353d12194e83628bcca5a8606564 author Sam Ravnborg Sun, 12 Mar 2006 22:59:36 +0100 committer Sam Ravnborg Sun, 12 Mar 2006 22:59:36 +0100 kbuild: Lindent genksyms.c No fix-ups applied yet. Just the raw Lindent output. Signed-off-by: Sam Ravnborg commit c79c7b0923ff353d12194e83628bcca5a8606564 tree edea52fad10d6961004d26a9c17e73bd44560a71 parent 172c3ae3e686f548a0eba950405e5cc321460005 author Sam Ravnborg Sun, 12 Mar 2006 22:54:34 +0100 committer Sam Ravnborg Sun, 12 Mar 2006 22:54:34 +0100 kbuild: fix genksyms build error genksyms needs to know when a symbol must have a "_" prefex as is true for a few architectures. Pass $(ARCH) as commandline argument and hardcode what architectures that needs this info. Previous attemt to take it from elfconfig.h was br0ken since elfconfig.h is a generated file. Signed-off-by: Sam Ravnborg commit fb21f0d0ec7e31cc814165e1a9d2662d9c9dd980 tree 6acfd767e12c93b9b710d6b90b47f630fcbecbc2 parent 2044470cccec1bfe6bb819027975df302ff43bf8 author Tejun Heo Sun, 12 Mar 2006 12:34:35 +0900 committer Jeff Garzik Sun, 12 Mar 2006 12:51:11 -0500 [PATCH] libata: check Word 88 validity in ata_id_xfer_mask() Check bit 2 of Word 53 for Word 88 validity before using Word 88 to determine UDMA mask. Note that the original xfer mask implementation using ata_get_mode_mask() didn't consider bit 2 of Word 53. This patch introduces different (correct) behavior. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2044470cccec1bfe6bb819027975df302ff43bf8 tree 64254b2ca55f8727f08e46361532361027cf4faf parent 4b10e559277de490bf5c257a1e3264a2bf51404b author Tejun Heo Mon, 13 Mar 2006 01:57:01 +0900 committer Jeff Garzik Sun, 12 Mar 2006 12:49:45 -0500 [PATCH] libata: fix class handling in ata_bus_probe() ata_bus_probe() didn't set classes[] properly for port disabled case of ->phy_reset() compatibility path. This patch moves classes[] initialization and normalization out of ->probe_reset block such that it applies to both ->probe_reset and ->phy_reset paths. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ce313db240862d809c736c5b1dfc759817fc7ca9 tree a5ae36e0a7b16e079a2b41c272b3abea9e0cb7f5 parent 597705aa7fbf3e600283f4a870fb700385eacb13 author James Bottomley Sun, 12 Mar 2006 10:02:15 -0600 committer James Bottomley Sun, 12 Mar 2006 10:02:15 -0600 [SCSI] mptscsih: remove unused page 1 setting function It was actually rendered unused by the move to the spi transport class, but never taken out. Signed-off-by: James Bottomley commit 597705aa7fbf3e600283f4a870fb700385eacb13 tree d2595f26f951a936949f5d866c5156d250090c84 parent a1d4f73a00958162f91311396d37080f5e9b9ef1 author James Bottomley Sun, 12 Mar 2006 09:54:19 -0600 committer James Bottomley Sun, 12 Mar 2006 09:54:19 -0600 [SCSI] fix minor problem in spi transport message functions The check for a one byte message should be msg[0] == 0x55 not msg == 0x55 Signed-off-by: James Bottomley commit a1d4f73a00958162f91311396d37080f5e9b9ef1 tree c1b2570133719635883fa73b83a020181ecfafef parent a6becb084d4beb0b0c83651541f5b53f6da01e36 author Adrian Bunk Fri, 10 Mar 2006 23:25:00 +0100 committer James Bottomley Sun, 12 Mar 2006 09:46:23 -0600 [SCSI] sim710: fix a NULL pointer dereference This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit a6becb084d4beb0b0c83651541f5b53f6da01e36 tree df88f32a2874731289c094c556ea19257eea65d7 parent c3c026ba5a16867af47578ab2030ef51f9080084 author Adrian Bunk Fri, 10 Mar 2006 23:24:47 +0100 committer James Bottomley Sun, 12 Mar 2006 09:46:11 -0600 [SCSI] ibmmca: fix a NULL pointer dereference The variable was dereferenced only if it was NULL (sic)... Spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit c3c026ba5a16867af47578ab2030ef51f9080084 tree aa730bd967495555436ad754353fa021c0f89db2 parent 8800727ae8a20146981a9531ac833cb889666247 author Adrian Bunk Fri, 10 Mar 2006 23:24:21 +0100 committer James Bottomley Sun, 12 Mar 2006 09:45:56 -0600 [SCSI] dmx3191d: fix a NULL pointer dereference This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 8800727ae8a20146981a9531ac833cb889666247 tree 231cc3977b9baac8a6aa375c5fdbd30890b535d5 parent 72df0ebf95561694c06adca62e590e37ec549579 author Adrian Bunk Fri, 10 Mar 2006 23:24:08 +0100 committer James Bottomley Sun, 12 Mar 2006 09:45:43 -0600 [SCSI] NCR_D700: fix a NULL dereference The Coverity checker spotted this NULL dereference. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 72df0ebf95561694c06adca62e590e37ec549579 tree a50e19ae6162b1ce79742ad9920ccc6a857573a2 parent 1757b67809078439662d62a266db45eae3a3d214 author Matthew Wilcox Fri, 10 Mar 2006 07:18:22 -0700 committer James Bottomley Sun, 12 Mar 2006 09:44:46 -0600 [SCSI] Missing names from SPI3, SPI4 and SPI5 Add several missing messages from SPI3, SPI4 and SPI5: - Terminate Process - Continue Task - Target Transfer Disable - Clear ACA - LUN Reset - ACA - QAS Request Rename some older commands to their SPI5 names: - Command Complete -> Task Complete - Abort -> Abort Task Set - Bus device Reset -> Target Reset - Clear Queue -> Clear Task Set Change spi_print_msg() to always consume one byte, even if we don't recognise it. That allows drivers to call it in a loop to print all messages. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1757b67809078439662d62a266db45eae3a3d214 tree d263a6dccfcf3be0bacc93efc85b321f4edf31dd parent d584486a1cc9714d5de8dc0a04c2b1f023fbb82a author Andrew Vasquez Thu, 09 Mar 2006 14:32:04 -0800 committer James Bottomley Sun, 12 Mar 2006 09:44:17 -0600 [SCSI] qla2xxx: Firmware updates. Resync with latest 23xx firmware -- 3.03.20. Resync with latest 24xx firmware -- 4.00.18. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit d584486a1cc9714d5de8dc0a04c2b1f023fbb82a tree 6284786bb7467c0e0c4436cc4f0a7f0908f5c9d4 parent 9a52a57cb9d247fc1cea018fd3f4421f8fd6642a author Andrew Vasquez Thu, 09 Mar 2006 14:31:47 -0800 committer James Bottomley Sun, 12 Mar 2006 09:42:33 -0600 [SCSI] qla2xxx: Remove legacy ISP6312 firmware loader. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 9a52a57cb9d247fc1cea018fd3f4421f8fd6642a tree 1ceafa260a18a02485973cd0bed9b971f558910d parent 4a59f71d7f0d6dd433fd509584352cdd7c62e877 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:44 -0800 committer James Bottomley Sun, 12 Mar 2006 09:40:37 -0600 [SCSI] qla2xxx: Correct FCAL login retry logic for ISP24xx. ISP24XX FW does not support Mbx 0x74 ie Login Local Port. Added the equivalent code for ISP24XX ie to relogin in non fabric case for ISP24XX use login iocb. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 4a59f71d7f0d6dd433fd509584352cdd7c62e877 tree eef8ffac130b9dec1bf08759813084a8b6b3aafc parent 6f6417905cf272337a9762e1f92a1fffa651fcd3 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:39 -0800 committer James Bottomley Sun, 12 Mar 2006 09:40:13 -0600 [SCSI] qla2xxx: Further restrict ZIO mode support. Only support ZIO mode 6 on specific ISP types. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 6f6417905cf272337a9762e1f92a1fffa651fcd3 tree 39164863fb9325279c708e9dd08b1d2e76db393c parent fdbc6833c53a1c2ec2b122cd53e69e6136dcc774 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:34 -0800 committer James Bottomley Sun, 12 Mar 2006 09:39:55 -0600 [SCSI] qla2xxx: Add VPD sysfs attribute. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fdbc6833c53a1c2ec2b122cd53e69e6136dcc774 tree 0c79c042504ac5c1ce44b74c16da2300ca24de7e parent 1328962eb4b00dd1cfd1ffb863b1612b08751768 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:29 -0800 committer James Bottomley Sun, 12 Mar 2006 09:39:36 -0600 [SCSI] qla2xxx: Correct swing/emphasis settings on ISP24xx. Reserved-bit 15 must set when updating the swing/emphasis values. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 1328962eb4b00dd1cfd1ffb863b1612b08751768 tree 7dab09b695ed59b43625d88b5e5852620e06fb92 parent 48c02fde949f15920c0018d33d285fd39730d24b author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:24 -0800 committer James Bottomley Sun, 12 Mar 2006 09:38:42 -0600 [SCSI] qla2xxx: NVRAM id-list updates. Resync with latest NVRAM subsystem ID list. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 48c02fde949f15920c0018d33d285fd39730d24b tree aded9282ed2e45b0d0c9e73c95cfd60cfbadfba7 parent 044cc6c8ec311c4ddeebfcc31c53dea282de70b7 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:18 -0800 committer James Bottomley Sun, 12 Mar 2006 09:38:22 -0600 [SCSI] qla2xxx: Consolidate ISP63xx handling. As new 23xx firmware will accomidate ISP63xx types. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 044cc6c8ec311c4ddeebfcc31c53dea282de70b7 tree 891078bdbf9c8673d2408215c80551dc4a015f6d parent ea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:13 -0800 committer James Bottomley Sun, 12 Mar 2006 09:38:03 -0600 [SCSI] qla2xxx: Add ISP54xx support. Chip is similar in form to our ISP24xx offering. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 tree 0ab005b73710821d916773c5d40eb3cfe69d84b1 parent 93f56089898a1b27fc0c89b5c1c748291353f679 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:08 -0800 committer James Bottomley Sun, 12 Mar 2006 09:37:24 -0600 [SCSI] qla2xxx: Convert IS_QLA*() defines to bit-operations. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 93f56089898a1b27fc0c89b5c1c748291353f679 tree 4c1280939653d737d3e79d65fd58c3301ec6d8bf parent a0b6b6e5308d6ef70febfc3cfd5488717809b3e4 author Dave Jones Thu, 09 Mar 2006 10:21:27 -0500 committer James Bottomley Sun, 12 Mar 2006 09:25:40 -0600 [SCSI] fix two leaks in scsi_alloc_sdev failure paths If the scsi_alloc_queue or the slave_alloc calls in scsi_alloc_device fail, we forget to release the locally allocated sdev on the failure path. Coverity #609 Signed-off-by: Dave Jones Signed-off-by: James Bottomley commit a0b6b6e5308d6ef70febfc3cfd5488717809b3e4 tree f843ddecd81270e6d89c2a8e88909bcfbf139127 parent 5c1b85e209af41c7e99a2bfd21dc8fe840b342d8 author Ralf Baechle Thu, 09 Mar 2006 14:35:13 +0000 committer James Bottomley Sun, 12 Mar 2006 09:24:55 -0600 [SCSI] Make sgiwd93_detect and sgiwd93_detect static. Nothing outside sgiwd93.c references them. Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit 5c1b85e209af41c7e99a2bfd21dc8fe840b342d8 tree 520afd25c5581cbf90bc5c8cbfbd361d498aeffe parent 5c04a7b8981f2855869bf04c881553135445d701 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:37 -0800 committer James Bottomley Sun, 12 Mar 2006 09:18:47 -0600 [SCSI] drivers/scsi/FlashPoint.c: don't use parenthesis with "return" Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 5c04a7b8981f2855869bf04c881553135445d701 tree 536192a7b3e15523e0a0aecbd629be27404f2b10 parent 13e6851aa1e8f7db0e9f0cc8567394a9fe451357 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:35 -0800 committer James Bottomley Sun, 12 Mar 2006 09:18:15 -0600 [SCSI] drivers/scsi/FlashPoint.c: Lindent It's much, much more readable now. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 13e6851aa1e8f7db0e9f0cc8567394a9fe451357 tree 82fee3a2c8c232b0239739f66faf8cd224881c74 parent 68d0c1ae66413ef553b1132269129003cea668ed author Alexey Dobriyan Wed, 08 Mar 2006 00:14:34 -0800 committer James Bottomley Sun, 12 Mar 2006 09:17:01 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct SCCBcard * struct SCCBcard => struct sccb_card * PSCCBcard => struct sccb_card * * SCCBCARD => struct sccb_card Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 68d0c1ae66413ef553b1132269129003cea668ed tree 425e0d52997425a494d36471ab29b3bd11c83986 parent f31dc0cde69761dca05687addfd233accd393d1c author Alexey Dobriyan Wed, 08 Mar 2006 00:14:33 -0800 committer James Bottomley Sun, 12 Mar 2006 09:16:47 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct NVRAMInfo * struct NVRAMInfo => struct nvram_info * PNVRamInfo => struct nvram_info * * NVRAMINFO => struct nvram_info Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit f31dc0cde69761dca05687addfd233accd393d1c tree ac3164043d9d1f822706677ee6b26b884be9aae9 parent 7f101662dd55aa16852ff6228ac496f56a259f5e author Alexey Dobriyan Wed, 08 Mar 2006 00:14:31 -0800 committer James Bottomley Sun, 12 Mar 2006 09:16:25 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct SCCBMgr_tar_info * struct SCCBMgr_tar_info => struct sccb_mgr_tar_info * PSCCBMgr_tar_info => struct sccb_mgr_tar_info * * SCCBMGR_TAR_INFO => struct sccb_mgr_tar_info Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 7f101662dd55aa16852ff6228ac496f56a259f5e tree 74f5d279047890f21fd1c7cdcaf04fe3cf1cccf6 parent 69eb2ea47793366f59bfbc6e3c655b9c5047badd author Alexey Dobriyan Wed, 08 Mar 2006 00:14:30 -0800 committer James Bottomley Sun, 12 Mar 2006 09:16:09 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct SCCBMgr_info * struct SCCBMgr_info => struct sccb_mgr_info * PSCCBMGR_INFO => struct sccb_mgr_info * * SCCBMGR_INFO => struct sccb_mgr_info Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 69eb2ea47793366f59bfbc6e3c655b9c5047badd tree 8d79cbfbe91e0f5e36e75513bd57e13fda341208 parent ad0e1d9f0155073cffb74755fb21c0fb82b1b094 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:29 -0800 committer James Bottomley Sun, 12 Mar 2006 09:15:44 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct _SCCB * struct _SCCB => struct sccb * PSCCB => struct sccb * * SCCB => struct sccb Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit ad0e1d9f0155073cffb74755fb21c0fb82b1b094 tree f28b92bcd417b5d1715e5e1fa5e485cf22b20225 parent fd1e29ed62cc307281d1a62f73ebac059ac6b6a1 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:28 -0800 committer James Bottomley Sun, 12 Mar 2006 09:15:21 -0600 [SCSI] drivers/scsi/FlashPoint.c: use standard fixed size types Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit fd1e29ed62cc307281d1a62f73ebac059ac6b6a1 tree ce4d046e58d6e4fa0486228fb6481f77a29bb651 parent d63a4cccf387a8e6210cfd818c1ea717beefc531 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:27 -0800 committer James Bottomley Sun, 12 Mar 2006 09:15:00 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove ushort_ptr Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit d63a4cccf387a8e6210cfd818c1ea717beefc531 tree 4798682beed80ba9e120757b4d5373e5818b60d8 parent ce793215b428ae7650b39d87702efa3d5b26ba28 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:26 -0800 committer James Bottomley Sun, 12 Mar 2006 09:14:40 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove ULONG Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit ce793215b428ae7650b39d87702efa3d5b26ba28 tree c46376823aac7d09145e482903a2cc516e2db313 parent c823feeb33161c09e83ee4e68c822d6b9ececbc4 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:26 -0800 committer James Bottomley Sun, 12 Mar 2006 09:14:15 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove UINT Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit c823feeb33161c09e83ee4e68c822d6b9ececbc4 tree 3d1524c0825b2d34a3d8930c26ab694ca5f891c8 parent db038cf86fc63d336fc9d8e57712dee1d726e2e9 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:25 -0800 committer James Bottomley Sun, 12 Mar 2006 09:13:20 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove USHORT Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit db038cf86fc63d336fc9d8e57712dee1d726e2e9 tree 08a313c0efbb13969e403ccf2777370378cd86ae parent d8b6b8bd8a99ee91843381d51e8e619463721aed author Alexey Dobriyan Wed, 08 Mar 2006 00:14:24 -0800 committer James Bottomley Sun, 12 Mar 2006 09:13:00 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove UCHAR Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit d8b6b8bd8a99ee91843381d51e8e619463721aed tree a768444119807bc18ea399aa87c441f5e01aab07 parent 85ae97d816da3f8af9dcfbc4197a2950b55c3b0d author Alexey Dobriyan Wed, 08 Mar 2006 00:14:23 -0800 committer James Bottomley Sun, 12 Mar 2006 09:12:32 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove trivial wrappers Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 85ae97d816da3f8af9dcfbc4197a2950b55c3b0d tree 033848609c70a5cb5311f7f3d269f582c74ec5b5 parent f018fa552c52642a6b9db2bda90477762e42163f author Alexey Dobriyan Wed, 08 Mar 2006 00:14:22 -0800 committer James Bottomley Sun, 12 Mar 2006 09:12:11 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove unused things * Remove unused #define's * Remove unused typedefs. * Remove prototypes for non-existing functions. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit f018fa552c52642a6b9db2bda90477762e42163f tree 5baf17322997aae5e9373e8f9e6d1c993d2ad0ff parent 76744f429a178ad2df06b722e5e7bbbf1b5245ee author Rene Herman Wed, 08 Mar 2006 00:14:20 -0800 committer James Bottomley Sun, 12 Mar 2006 09:11:16 -0600 [SCSI] MODULE_ALIAS_{BLOCK,CHAR}DEV_MAJOR for drivers/scsi Add device-major aliases in drivers/scsi, allowing kmod autoload: MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR) MODULE_ALIAS_CHARDEV_MAJOR(OSST_MAJOR) MODULE_ALIAS_CHARDEV_MAJOR(SCSI_TAPE_MAJOR) MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_CDROM_MAJOR) MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISKN_MAJOR) Signed-off-by: Andrew Morton Acked-by: Kai Makisara Signed-off-by: James Bottomley commit 76744f429a178ad2df06b722e5e7bbbf1b5245ee tree 92406bc62b0316803746c57e2e461721bc454578 parent 986a25f96accc8272059ae8b3eb63055f58cadb0 author Hannes Reinecke Wed, 08 Mar 2006 13:00:07 +0100 committer James Bottomley Sun, 12 Mar 2006 09:06:57 -0600 [SCSI] aic79xx: Avoid renegotiation on inquiry Because of some quirk in the SCSI spec the aic79xx driver chose to force a renegotiation when sending an inquiry. This should better be handled by the upper layers if required at all. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 986a25f96accc8272059ae8b3eb63055f58cadb0 tree 2db6f56e1a1a22556bde60d5bc00caaa4c34ec6a parent 9e691dfba56f7d7a38b09edc5252264bc1bab659 author Hannes Reinecke Wed, 08 Mar 2006 12:59:35 +0100 committer James Bottomley Sun, 12 Mar 2006 09:06:28 -0600 [SCSI] aic79xx: use BIOS settings This patch fixes the aic79xx driver to properly respond to BIOS settings. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 9e691dfba56f7d7a38b09edc5252264bc1bab659 tree 59ce3b6c69590e9ef4d28efd709c0e407e17d6ea parent 6902f41610d631f74cfca7c61eac7b0950dd8990 author Hannes Reinecke Wed, 08 Mar 2006 12:59:03 +0100 committer James Bottomley Sun, 12 Mar 2006 09:06:00 -0600 [SCSI] aic79xx: Invalid Sequencer interrupt occured On certain systems the driver seems to hit upon some "scsi0: Invalid Sequencer interrupt occurred." problem and dumps card state. According to Adaptec engineers this message is harmless. So as not to confuse user we can as well disable the internal card state dump and just print out the message itself. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 6902f41610d631f74cfca7c61eac7b0950dd8990 tree ee084da4fdd3fff54982e79034ee2a284c57cc3c parent 1ede5f9fe59ea245ad0ba859cfb08ac5814f6269 author Hannes Reinecke Wed, 08 Mar 2006 12:58:16 +0100 committer James Bottomley Sun, 12 Mar 2006 09:05:18 -0600 [SCSI] aic79xx: Update error recovery This patch updates the error recovery. Routines for TARGET RESET and ABORT COMMAND are split up as the logic is quite dissimilar. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 1ede5f9fe59ea245ad0ba859cfb08ac5814f6269 tree c930002c9334dff3676927a1029a2647010e4f11 parent 0aa800db8f1927aefe6f0ba6ce9d70f044374aef author Hannes Reinecke Wed, 08 Mar 2006 12:57:28 +0100 committer James Bottomley Sun, 12 Mar 2006 09:02:36 -0600 [SCSI] aic79xx: Remove dead code Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 0aa800db8f1927aefe6f0ba6ce9d70f044374aef tree 1257e4f22ca3e44f9c84944694efef53384080c0 parent 7b22da38b64a32df20fdb7272deb7546045fccec author Hannes Reinecke Wed, 08 Mar 2006 12:56:56 +0100 committer James Bottomley Sun, 12 Mar 2006 09:01:53 -0600 [SCSI] aic79xx: use tcq functions This patch converts aic79xx to use the midlayer-supplied tcq functions. We also set the queuedepth to '1' if tcq is disabled; the aic79xx driver gets confused otherwise. Will set it back to '2' once I figure out how to queue requests in the driver. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 7b22da38b64a32df20fdb7272deb7546045fccec tree df26d10b480b9da5e68397ad4d8c12a2e5c59fec parent a382dd7c13377c8ff98f6ec59f64355653fb507e author Hannes Reinecke Wed, 08 Mar 2006 12:56:14 +0100 committer James Bottomley Sun, 12 Mar 2006 09:01:13 -0600 [SCSI] aic79xx: remove qfrozen This patch removes the need for platform_data->qfrozen. We're now using complete() instead of semaphores thus simplifying ahd_freeze_simq() quite a lot. This also fixes some deadlocks in the recovery code (again). Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit a382dd7c13377c8ff98f6ec59f64355653fb507e tree 6c87f1cc695242f25a4d7d1d52ec7d63d299535b parent fc6c12bcc19bdff6b4bcb02f5bd6d9fa59a7e1af author James Smart Tue, 07 Mar 2006 15:04:25 -0500 committer James Bottomley Sun, 12 Mar 2006 08:57:29 -0600 [SCSI] lpfc 8.1.4 : Change version number to 8.1.4 Change version number to 8.1.4 Signed-off-by: James Smart Signed-off-by: James Bottomley commit fc6c12bcc19bdff6b4bcb02f5bd6d9fa59a7e1af tree 52a69666dcd29c20975ec2ae218f87f2ab3024f1 parent 9290831f00879d4a66d3bffb609949d5ea5576fb author James Smart Tue, 07 Mar 2006 15:04:19 -0500 committer James Bottomley Sun, 12 Mar 2006 08:57:13 -0600 [SCSI] lpfc 8.1.4 : Two misc fixes Two misc fixes: - Fix deadlock caused by return with host_lock held in lpfc_findnode_did - Initialize all fields of the allocated mail box structure to zero. Was causing some sysfs mailbox commands to fail immediately after load. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 9290831f00879d4a66d3bffb609949d5ea5576fb tree f66748c875962518f9d4784fd684e189feb50d84 parent 1a169689c2152ea599c94d622204f7bf5b7dc09f author James Smart Tue, 07 Mar 2006 15:04:13 -0500 committer James Bottomley Sun, 12 Mar 2006 08:56:58 -0600 [SCSI] lpfc 8.1.4 : Introduce lpfc_reset_barrier() function for resets on dual channel adapters Introduce lpfc_reset_barrier() function for resets on dual channel adapters Workaround for a hardware errata on dual channel asics. There is a potential for the chip to lock up on a reset if a shared dma engine is in use. The (ugly) work around requires a reset process which uses a mailbox command to synchronize the independent channels prior to the reset to avoid the issue. Unfortunately, the timing windows required to ensure this workaround succeeds are very specific, meaning we can't release the cpu during the barrier. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1a169689c2152ea599c94d622204f7bf5b7dc09f tree e9a354d5970de009b8c1ec647e31835a0bf09423 parent fdcebe282fd8654381852260efec267eff8002fb author James Smart Tue, 07 Mar 2006 15:04:06 -0500 committer James Bottomley Sun, 12 Mar 2006 08:56:38 -0600 [SCSI] lpfc 8.1.4 : Fixed a timer panic due to timer firing after freeing ndlp Fixed a timer panic due to timer firing after freeing ndlp Signed-off-by: James Smart Signed-off-by: James Bottomley commit fdcebe282fd8654381852260efec267eff8002fb tree 6cde5a6376cfc4880be192a41a5b84407fad0d38 parent 488d1469b318e6bf2b907743d626008340bc4f6e author James Smart Tue, 07 Mar 2006 15:04:01 -0500 committer James Bottomley Sun, 12 Mar 2006 08:56:13 -0600 [SCSI] lpfc 8.1.4 : Fixed RSCN handling when a PLOGI is in retry Fixed RSCN handling when a PLOGI is in retry. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 488d1469b318e6bf2b907743d626008340bc4f6e tree 66853f237b78ebbe2b28b991c640aefe83297615 parent 071a651e28bfc1a66a885dc285792e335427a097 author James Smart Tue, 07 Mar 2006 15:02:37 -0500 committer James Bottomley Sun, 12 Mar 2006 08:54:29 -0600 [SCSI] lpfc 8.1.4 : Fix Discovery processing for NPorts that change their NPortId on the fly Fix Discovery processing for NPorts that change their NPortId on the fly due to a cable swap. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 071a651e28bfc1a66a885dc285792e335427a097 tree b0329efb4c0e2643e19058157b34648c820e61d9 parent cf7f5b45fe0180a0f0e3491183c0ec95e4b96d44 author Vasily Averin Sun, 05 Mar 2006 23:18:14 +0100 committer James Bottomley Sun, 12 Mar 2006 08:53:16 -0600 [SCSI] i2o: fix memory leak in i2o_exec_lct_modified i2o_exec_lct_modified() does not release memory allocated for work_struct. Signed-off-by: Vasily Averin Although your patch is the same, i've rewritten it a little bit for naming consistency in the I2O driver. Acked-by: Markus Lidel Signed-off-by: James Bottomley commit cf7f5b45fe0180a0f0e3491183c0ec95e4b96d44 tree 203eb7a0082b3db5f61b940b6ed8dd50ef97ae2d parent db82f8410ed7546792358964aa5f8dafff1c70a2 author Ralf Baechle Fri, 03 Mar 2006 16:34:08 +0000 committer James Bottomley Sun, 12 Mar 2006 08:48:26 -0600 [SCSI] wd33c93: Fix missing prototypes by including . Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit 30dcbf29cc6d92d70fa262e79e84011fe6913bed tree 2b356350d2dea45b498e2c0c6e9718b364594752 parent ded78e5e2cab0ec470cca7d34d7af742371bd476 author Adrian Bunk Sat, 11 Mar 2006 17:51:39 -0800 committer Jeff Garzik Sat, 11 Mar 2006 21:49:49 -0500 [PATCH] drivers/net/e1000/: proper prototypes This patch moves prototypes of global variables and functions to a header file. Signed-off-by: Adrian Bunk Acked-by: John Ronciak Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 4b10e559277de490bf5c257a1e3264a2bf51404b tree a9f165b6e57d83b9f702838741b0958c334ba215 parent 418dc1f5a805822fcf1118804ddc689a4156db4a author Tejun Heo Sun, 12 Mar 2006 11:25:27 +0900 committer Jeff Garzik Sat, 11 Mar 2006 21:48:53 -0500 [PATCH] ahci: enable prefetching for PACKET commands Turn on AHCI_CMD_PREFETCH for PACKET commands. This hints the controller that it can prefetch the CDB and the PRD entries. This patch is originally from Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 418dc1f5a805822fcf1118804ddc689a4156db4a tree 33ef606c864e2cc4c706cebaf60a4153c9259d04 parent 2f7ccc51db9f10ed2eaa4cd1777181972a23754e author Jeff Garzik Sat, 11 Mar 2006 20:50:08 -0500 committer Jeff Garzik Sat, 11 Mar 2006 20:50:08 -0500 libata: turn on ATAPI by default commit ded78e5e2cab0ec470cca7d34d7af742371bd476 tree d44724d779143d7ea52a1ed56beda2eaa0d0dffa parent a4d4d5181d043ea835c15da6c85a5bbecbaded6e author Adrian Bunk Fri, 10 Mar 2006 00:06:53 +0100 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] chelsio/espi.c:tricn_init(): remove dead code The Coverity checker spotted these two unused variables. Please check whether this patch is correct or whether they should be used. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit a4d4d5181d043ea835c15da6c85a5bbecbaded6e tree dcc0093113b8ae06eaa85e5e1b23fde22a34cb60 parent 60a89ff6d2681029b3d46b5d23dccf2903a254b4 author Ralf Baechle Wed, 08 Mar 2006 11:49:31 +0000 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] Sparse: Cleanup sgiseeq sparse warnings. o Make sgiseeq_dump_rings static. o Delete unused sgiseeq_my_reset. o Move DEBUG define to beginning where it's easier to spot and will be seen by as well. o Use NULL for pointer initialization. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 60a89ff6d2681029b3d46b5d23dccf2903a254b4 tree e7146ca3f86ac15107af37c5bd17e6cb987933ee parent 827700866ad0996e8c0f5ce75d1c01ae9b034cd6 author Pekka Enberg Wed, 08 Mar 2006 00:06:28 -0800 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] 3c509: use proper suspend/resume API Convert 3c509 driver to use proper suspend/resume API instead of the deprecated pm_register/pm_unregister. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 827700866ad0996e8c0f5ce75d1c01ae9b034cd6 tree 56566ea225cd7e4fb40938d58c7b6fe2e85c88d9 parent 000b238bca0bb6f4bb053fd69f7f02cebdace5cf author Adrian Bunk Wed, 08 Mar 2006 00:06:30 -0800 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] CONFIG_FORCEDETH updates This patch contains the following possible updates: - let FORCEDETH no longer depend on EXPERIMENTAL - remove the "Reverse Engineered" from the option text: for the user it's important which hardware the driver supports, not how it was developed Signed-off-by: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 000b238bca0bb6f4bb053fd69f7f02cebdace5cf tree 7698904204eccf3df4f25f61cdfb8657b362e09f parent b962697b79a147aeaca6864f2d6c424bd462b446 parent 535744878e34d01a53f946f26dfbca37186f2cf8 author Jeff Garzik Sat, 11 Mar 2006 19:58:42 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:58:42 -0500 Merge branch 'master' commit 2f7ccc51db9f10ed2eaa4cd1777181972a23754e tree 0557126cc5f9192728edc7b0299a8abc69ce448a parent 8645984c357a0262a29b8a28353a576645e2c707 parent ed071adc97a69785686a37fb88e100f41b482b94 author Jeff Garzik Sat, 11 Mar 2006 19:55:37 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:55:37 -0500 Merge branch 'upstream-fixes' commit 8645984c357a0262a29b8a28353a576645e2c707 tree a97b41a4c84a295dc075106226d053fd04a40c07 parent 10d996ad1990ec2338c463042db6d5ef4f347187 author Tejun Heo Sat, 11 Mar 2006 11:44:08 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:29:42 -0500 [PATCH] sata_sil24: lengthen softreset timeout sil24 softreset timeout was > 100ms (100 loops with msleep(1)), which turned out to be too short for some devices (ASI ARAID99 2000). This patch converts sil24 softreset waiting loop to use proper timeout condition and lengthen the timeout to ATA_TMOUT_BOOT secs and check interval to 100ms. Chisato Yamauchi discovered the problem and supplied initial patch. Signed-off-by: Tejun Heo Cc: Chisato Yamauchi Signed-off-by: Jeff Garzik commit 10d996ad1990ec2338c463042db6d5ef4f347187 tree a06a602f278f820475f16523e12927b5abb980c4 parent 75deb6fa985bd3162b9472f1fc394e23294da816 author Tejun Heo Sat, 11 Mar 2006 11:42:34 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:29:42 -0500 [PATCH] sata_sil24: exit early from softreset if SStatus reports no device sata_sil24 softreset routine used to check sata_dev_present() after SRST is complete in the hope that SRST may do some good even when SStatus reports no device. This is okay as long as SRST timeout is short (> 100ms in the current code) but it seems that not all SATA devices are happy with short SRST timeout. This patch makes softreset exit early without performing actual SRST if SStatus reports no device in preparation for lengthening SRST timeout. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 75deb6fa985bd3162b9472f1fc394e23294da816 tree f959602fae8faba6b6cdc617069f3c02414e453b parent 2061a47a9b9530a9523e51167c996307db951c31 parent 6971ed1fbbc80cae54e082aae153d5b063885d0a author Jeff Garzik Sat, 11 Mar 2006 19:10:06 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:10:06 -0500 Merge branch 'upstream-fixes' commit 2061a47a9b9530a9523e51167c996307db951c31 tree caf1ecb16e7030017fd14ea1f2f32b29b74090f3 parent 75f554bc139461a5a926fad6a6fa90433a00a117 author Tejun Heo Sun, 12 Mar 2006 00:57:39 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:04:49 -0500 [PATCH] libata: fix missing classes[] initialization in ata_bus_probe() ata_bus_probe() didn't initialize classes[] properly with ATA_DEV_UNKNOWN. As ->probe_reset() is allowed to leave @classes alone when no device is present, this results in garbage class values. ATM, the only affected driver is ata_piix. Signed-off-by: Tejun Heo Cc: Jiri Slaby Signed-off-by: Jeff Garzik commit 75f554bc139461a5a926fad6a6fa90433a00a117 tree 6b2366e670df743e0cd17e5e01c4807d92b6c163 parent a6d5a51cf1bf5d83ddd2e06fd372a79b395fb393 author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: kill unused xfer_mode functions Preceding xfer_mask changes make the following functions unused. ata_pio_modes(), base_from_shift(), ata_pr_blacklisted(), fgb() Kill them. Also, as xfer_mode_str[] is now only used by ata_mode_string(), move it into the function. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a6d5a51cf1bf5d83ddd2e06fd372a79b395fb393 tree 4dd9a341ed20444d9b66b9032b8d332069f54220 parent 23e71c3d3e88b9f554ecd47d6f9aec76e89e2e6d author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: reimplement ata_set_mode() using xfer_mask helpers Use xfer_mask helpers to determine transfer mode. This rewrite also makes transfer mode determination done before any actual configuration. This patch doesn't result in any functional changes. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 23e71c3d3e88b9f554ecd47d6f9aec76e89e2e6d tree 0dd04ce65cc57a8d82d9b42eec47338977bf7b2d parent ff8854b2719b9d26f5d3e84db4f66eb7e35e4ed9 author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: use xfer_mask helpers in ata_dev_set_mode() Rewrite hardcoded xfer_mode string determination in ata_dev_set_mode() using xfer_mask helpers. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ff8854b2719b9d26f5d3e84db4f66eb7e35e4ed9 tree 4db001403fc93b4c9620caa53efb7f9dec1105a6 parent cb95d562e40140572efbca809f372e608aff7326 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: use ata_id_xfermask() in ata_dev_configure() Replace quick & dirty max transfer mode determination in ata_dev_configure() with ata_id_xfermask(). While at it, rename xfer_modes variable to xfer_mask and make it unsigned int for consistency. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit cb95d562e40140572efbca809f372e608aff7326 tree 3ffa5b34bdce55dd387fdb1be0412555a642ac6f parent 1da7b0d01b20bf21f3263d8d2f17fa49a214d773 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: add xfer_mask handling functions Add ata_pack_xfermask(), ata_xfer_mask2mode(), ata_xfer_mode2mask(), ata_xfer_mode2shift() and ata_id_xfermask(). These functions will be used by following patches to simplify xfer_mask handling. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1da7b0d01b20bf21f3263d8d2f17fa49a214d773 tree ed68984a55447d5620adbe885d9479bf96213bd6 parent 2e755f68ee23b03484fde18d978f910cc5479cb8 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:38 -0500 [PATCH] libata: improve xfer mask constants and update ata_mode_string() Add ATA_BITS_*, ATA_MASK_* macros and reorder xfer_mask fields such that higher transfer mode is placed at higher order bit. As thie reordering breaks ata_mode_string(), this patch also rewrites ata_mode_string(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2e755f68ee23b03484fde18d978f910cc5479cb8 tree 5b5947906b3ae286c1250f2bf7726263ce9579d7 parent 507ceda00302c071029277652d9faa5a0a55419a author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:21 -0500 [PATCH] libata: rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK Rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 507ceda00302c071029277652d9faa5a0a55419a tree 603cbc777845d37e2045be96f5f9f1c27d7fe33a parent 8061f5f0a04cfd2bc7aa273596ad3fcd426f8eea author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: kill unused pio_task and packet_task Kill unused pio_task and packet_task. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8061f5f0a04cfd2bc7aa273596ad3fcd426f8eea tree e0d9355eeb2caf99841c7692b8ad2770be0b5ea6 parent 86e45b6bd6900c4a0b3666fb18b46e215f775c4f author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: convert pio_task and packet_task to port_task Make pio_task and atapi_packet_task use port_task. atapi_packet_task() is moved upward such that it's right after ata_pio_task(). This position is more natural and makes adding prototype for ata_qc_issue_prot() unnecessary. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 86e45b6bd6900c4a0b3666fb18b46e215f775c4f tree 5b86ebd0b0b17d05bdfdd07b7683f7348577b52a parent d7fc3ca1cd0ecce82263299c6b1631fc83b0ec79 author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: implement port_task Implement port_task. LLDD's can schedule a function to be executed with context after specified delay. libata core takes care of synchronization against EH. This is generalized form of pio_task and packet_task which are tied to PIO hsm implementation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d7fc3ca1cd0ecce82263299c6b1631fc83b0ec79 tree a6471779a25cf2794542f9441213f5aa5f337f2f parent fbfda6e71bbdd3b4d41a56c3f20f31762c455a5e parent ed62178589929d248a0aaf4018ca3867e2f96d9d author Jeff Garzik Sat, 11 Mar 2006 17:47:20 -0500 committer Jeff Garzik Sat, 11 Mar 2006 17:47:20 -0500 Merge branch 'master' commit 84f0b1ef8c013b33dea9bbc2521094dd29110cf0 tree d2a1fc8c1b69c23ca3ab358c7c07f23dd999c506 parent 388d6c5180faf83ea06dc2614e8e89910ddef4f0 author Dave Jones Sat, 11 Mar 2006 16:13:56 -0500 committer Dave Jones Sat, 11 Mar 2006 16:13:56 -0500 [CPUFREQ] kzalloc conversion for gx-suspmod Signed-off-by: Dave Jones commit 388d6c5180faf83ea06dc2614e8e89910ddef4f0 tree c737c7bfa15223cf21a282c7385e2c2ca9d7ac8c parent 5e8fb97163c7bf2b370290b4924babc361b05dde author Dave Jones Sat, 11 Mar 2006 16:04:53 -0500 committer Dave Jones Sat, 11 Mar 2006 16:04:53 -0500 [CPUFREQ] Whitespace cleanup Signed-off-by: Dave Jones commit 5e8fb97163c7bf2b370290b4924babc361b05dde tree 0423452595961d71144a271f0b949f264d2cedbd parent bb1a813d3c49e57814958d2d52b5bb299204032e author Dave Jones Sat, 11 Mar 2006 16:03:16 -0500 committer Dave Jones Sat, 11 Mar 2006 16:03:16 -0500 [CPUFREQ] Mark longhaul driver as broken. This seems to work for a short period of time, but when used in conjunction with a userspace governor that changes the frequency regularly, it's only a matter of time before everything just locks up. Signed-off-by: Dave Jones commit b962697b79a147aeaca6864f2d6c424bd462b446 tree e89136f041a068c793e2d8d23721255a61901f10 parent 749dfc70554f2c9e6624ac843d66571265ed9338 parent cb764326dff0ee51aca0d450e1a292de65661055 author Jeff Garzik Sat, 11 Mar 2006 13:35:49 -0500 committer Jeff Garzik Sat, 11 Mar 2006 13:35:49 -0500 Merge branch 'e1000-upstream' of git://198.78.49.142/linux-2.6 commit bb1a813d3c49e57814958d2d52b5bb299204032e tree 3fc2f6dcf6b8dcf1395a57660c072eadac514445 parent 6d373ea012b2974e627b9ee830e75cf3bf3c4c24 author Sam Ravnborg Sat, 11 Mar 2006 19:22:53 +0100 committer Dave Jones Sat, 11 Mar 2006 13:35:43 -0500 [PATCH] cpufreq: fix section mismatch warnings cpufreq are the only remaining bit to be solved for me to have a modpost clean build for sparc64 - so I took one more look at it. changelog entry: Fix section mismatch warnings in cpufreq: WARNING: drivers/cpufreq/cpufreq_stats.o - Section mismatch: reference to .init.text: from .data between 'cpufreq_stat_cpu_notifier' (at offset 0xa8) and 'notifier_policy_block' WARNING: drivers/cpufreq/cpufreq_stats.o - Section mismatch: reference to .init.text: from .exit.text after 'cleanup_module' (at offset 0x30) The culprint is the function: cpufreq_stat_cpu_callback It is marked __cpuinit which get's redefined to __init in case HOTPLUG_CPU is not enabled as per. init.h: #ifdef CONFIG_HOTPLUG_CPU #define __cpuinit #else #define __cpuinit __init #endif $> grep HOTPLUG .config CONFIG_HOTPLUG=y But cpufreq_stat_cpu_callback() is used in: __exit cpufreq_stats_exit() static struct notifier_block cpufreq_stat_cpu_notifier cpufreq_stat_cpu_notifier is again used in: __init cpufreq_stats_init() __exit cpufreq_stats_exit() So in both cases used from both __init and __exit context. Only solution seems to drop __cpuinit tag. Signed-off-by: Sam Ravnborg Signed-off-by: Dave Jones commit 749dfc70554f2c9e6624ac843d66571265ed9338 tree bf591255b3f158222f90852d53c4279e6e7e9ced parent 74f5ec29ae93aa42c49f4285c20c457afe937881 parent 0992a5d029181421877a716eaf99145828ff7eae author Jeff Garzik Sat, 11 Mar 2006 13:35:31 -0500 committer Jeff Garzik Sat, 11 Mar 2006 13:35:31 -0500 Merge branch 'upstream-fixes' commit 6d373ea012b2974e627b9ee830e75cf3bf3c4c24 tree 6d7d2dfd2309675446f727a6b4b2a6ff475835fb parent 8ff69732d484ea9ccbf242cc49b4fe9538e64c71 author Pallipadi, Venkatesh Thu, 09 Mar 2006 20:07:44 -0800 committer Dave Jones Fri, 10 Mar 2006 00:45:35 -0500 [CPUFREQ] Fix the p4-clockmod N60 errata workaround. Fix the code to disable freqs less than 2GHz in N60 errata. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones commit db82f8410ed7546792358964aa5f8dafff1c70a2 tree 851febc9ff37e0bc946b89f68eb85545a6e4d7ff parent e12f0a3dec17de3d847f533ba81ad6956c9da5fd author James Bottomley Thu, 09 Mar 2006 22:06:36 -0500 committer James Bottomley Thu, 09 Mar 2006 22:06:36 -0500 [SCSI] add missing transport_container_unregister in sas class Signed-off-by: James Bottomley commit 172c3ae3e686f548a0eba950405e5cc321460005 tree 3ab6533bb11b20e05a34e6fa19e19f01b7d9f8ca parent 0131705d589e2341dbc5e8946a60f83d8c1773dc author Sam Ravnborg Fri, 10 Mar 2006 00:23:32 +0100 committer Sam Ravnborg Fri, 10 Mar 2006 00:23:32 +0100 kbuild: in makefile.txt note that Makefile is preferred name for kbuild files As noted by Roland Dreier makefiles.txt told one to use the name 'Kbuild' as preferred name for kbuild files. This is not yet true so let makefiles.txt reflect reality. Signed-off-by: Sam Ravnborg commit 69eb66d7da7dba2696281981347698e1693c2340 tree ba699dc7a1a80efe159f4a4401b174a7e80779fc parent be0bf7da19135a7a0f8c275f20c819940be218d9 author Dave Kleikamp Thu, 09 Mar 2006 13:59:30 -0600 committer Dave Kleikamp Thu, 09 Mar 2006 13:59:30 -0600 JFS: add uid, gid, and umask mount options OS/2 doesn't initialize the uid, gid, or unix-style permission bits. The uid, gid, & umask mount options perform pretty much like those for the fat file system, overriding what is stored on disk. This is useful for users sharing the file system with OS/2. I implemented a little feature so that if you mask the execute bit, it will be re-enabled on directories when the appropriate read bit is unmasked. I didn't want to implement an fmask & dmask option. Signed-off-by: Dave Kleikamp commit 516450179454de9e689e0a53ed8f34b896e8651c tree 78eae2f77de6cd39b18c7393fc5854456fc3fb1f parent 6749c5507388f3fc3719f57a54b540ee83f6661a parent 0d514f040ac6629311974889d5b96bcf21c6461a author Paul Mackerras Thu, 09 Mar 2006 14:32:05 +1100 committer Paul Mackerras Thu, 09 Mar 2006 14:32:05 +1100 Merge ../linux-2.6 commit cb764326dff0ee51aca0d450e1a292de65661055 tree 4cabea34727903fa8560abfeae325936a9039c7e parent 74f5ec29ae93aa42c49f4285c20c457afe937881 author Jeff Kirsher Wed, 08 Mar 2006 17:24:12 -0800 committer root Wed, 08 Mar 2006 17:24:12 -0800 e1000: Fix mii-tool access to setting speed and duplex Paul Rolland reported that e1000 was having a hard time using mii-tool to set speed and duplex. This patch fixes the issue on both newer hardware as well as fixing the code issue that originally caused the problem. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher commit 0131705d589e2341dbc5e8946a60f83d8c1773dc tree c6683e48cfed5e71a082980d7d816b4034595ee9 parent f7b05e64bdb2fcc4b2dc94a4bd9426adc70c9599 author Sam Ravnborg Wed, 08 Mar 2006 18:39:05 +0100 committer Sam Ravnborg Wed, 08 Mar 2006 18:39:05 +0100 kbuild: replace PHONY with FORCE .PHONY: does not take patterns so use FORCE to achive same effect. Thanks to "Paul D. Smith" for noticing this. Signed-off-by: Sam Ravnborg commit f7b05e64bdb2fcc4b2dc94a4bd9426adc70c9599 tree 04becffd433c54a0f5a94c32ee7f23d40aff251b parent 4f1933620f57145212cdbb1ac6ce099eeeb21c5a author Luke Yang Thu, 02 Mar 2006 18:35:31 +0800 committer Sam Ravnborg Wed, 08 Mar 2006 18:33:16 +0100 kbuild: Fix bug in crc symbol generating of kernel and modules The scripts/genksyms/genksyms.c uses hardcoded "__crc_" prefix for crc symbols in kernel and modules. The prefix should be replaced by "MODULE_SYMBOL_PREFIX##__crc_" otherwise there will be warnings when MODULE_SYMBOL_PREFIX is not NULL. I am sorry my last patch for this issue is actually wrong. I revert it in this patch. Signed-off-by: Luke Yang Signed-off-by: Sam Ravnborg commit be0bf7da19135a7a0f8c275f20c819940be218d9 tree c8ba72b711730ce11f52fc20cd7c0e9c4bee7bc0 parent 5b3030e39049212c975665cdb3eeabcfaf7c94ca author Dave Kleikamp Wed, 08 Mar 2006 10:59:15 -0600 committer Dave Kleikamp Wed, 08 Mar 2006 10:59:15 -0600 JFS: Take logsync lock before testing mp->lsn This fixes a race where lsn could be cleared before taking the lock Signed-off-by: Dave Kleikamp commit 044f324f6ea5d55391db62fca6a295b2651cb946 tree f78f08610cbaf93962703f68d332a8a312cb2a48 parent 793f225b0d77dd6a53614f5e312a28b754144d86 author Adrian Bunk Wed, 08 Mar 2006 10:50:07 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:28 -0300 V4L/DVB (3415): Msp3400-kthreads.c: make 3 functions static This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit 793f225b0d77dd6a53614f5e312a28b754144d86 tree 3a3e8abced9b0abb652616b322e662f28ff3b4f8 parent be787ace0139bc7ef0229606819bad64bb5d84f4 author Adrian Bunk Wed, 08 Mar 2006 10:50:06 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:28 -0300 V4L/DVB (3414): Saa7134: document that there's also a 220RF from KWorld I have the same card with the same PCI id, but from KWorld. The patch documents that this is the same card. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit be787ace0139bc7ef0229606819bad64bb5d84f4 tree dcb22cb64038969b5e4b6d394b019e4c5862bd13 parent 91ae3299d7d3493a25e5f26cbaceeb18e7760ef3 author Alexey Dobriyan Tue, 07 Mar 2006 22:20:23 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:24 -0300 V4L/DVB (3413): Typos grab bag of the month Typos grab bag of the month. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 91ae3299d7d3493a25e5f26cbaceeb18e7760ef3 tree 13bda3f740a6dba89fb74351295279aabbed1dce parent 69b27e3dfebff8f59e979d57263e1cd83c4d8370 author Michael Krufky Wed, 01 Mar 2006 00:04:42 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:29 -0300 V4L/DVB (3411): FE6600 is a Thomson tuner - The tuner used in DViCO FusionHDTV DVB-T hybrid is made by Thomson - renamed tuner and dvb_pll structs accordingly Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 69b27e3dfebff8f59e979d57263e1cd83c4d8370 tree 81f03605607c713158adb52472ace8235f44a23e parent 0785c87af1d1b6106b14c85f1267be8543f11d00 author Chris Pascoe Tue, 28 Feb 2006 20:23:11 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:18 -0300 V4L/DVB (3410): Move DViCO hybrid initialisation data from stack. The init_data array is never changed and need not be on the stack. Turn it into a static variable. Signed-off-by: Michael Krufky Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 0785c87af1d1b6106b14c85f1267be8543f11d00 tree 1f39399f301877dc420a104bd5d65da9e22f7f9f parent 780dfef37e2c941985b708f67aa0074edc922bea author Michael Krufky Tue, 28 Feb 2006 14:02:15 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:02 -0300 V4L/DVB (3409): Kconfig: fix in-kernel build for cx88-dvb: zl10353 frontend - VIDEO_CX88_DVB_ALL_FRONTENDS should select DVB_ZL10353 - created VIDEO_CX88_DVB_ZL10353, for selective zl10353 support in cx88-dvb. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 780dfef37e2c941985b708f67aa0074edc922bea tree c7db2fd63acfce369d2af871183da2cf0614db9a parent db5d91eb36e1cc9d46016d1d44874376cfabf274 author Chris Pascoe Tue, 28 Feb 2006 08:34:59 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:50 -0300 V4L/DVB (3408): DViCO FusionHDTV DVB-T Hybrid and ZL10353-based FusionHDTV DVB-T Plus support Add support for the FE6600 tuner used on the DVB-T Hybrid board. Add support for the Zarlink ZL10353 DVB-T demodulator, which supersedes the MT352, used on the DViCO FusionHDTV DVB-T Hybrid and later model Plus boards. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit db5d91eb36e1cc9d46016d1d44874376cfabf274 tree 20e0222107bd13db18d50f3f4a4e1282410fc10b parent 8cc2e377a0f20f58606d8a68a423ed2ea348869d author Oliver Endriss Tue, 28 Feb 2006 10:32:25 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:33 -0300 V4L/DVB (3406): Use refactored LNBP21 and BSBE1 code Use refactored LNBP21/BSBE1 code for Technotrend/Hauppauge DVB-S rev 2.3. As a side effect, FE_ENABLE_HIGH_LNB_VOLTAGE ioctl is supported now. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 8cc2e377a0f20f58606d8a68a423ed2ea348869d tree af5f33622968abc24ea0dd47e26c80d4bcf44599 parent 2f27bdce972ceb97a2fd109a77546c37aa499fc9 author Perceval Anichini Tue, 28 Feb 2006 09:52:44 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:19 -0300 V4L/DVB (3405): TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c. Signed-off-by: Perceval Anichini Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 2f27bdce972ceb97a2fd109a77546c37aa499fc9 tree 8ac9a59189ab362e6b6b6710efab5da92cfe7f12 parent 9f3319b49cc793b9da06ca57cc8740e3a8e88d1d author Oliver Endriss Tue, 28 Feb 2006 09:31:16 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:06 -0300 V4L/DVB (3404): Refactored LNBP21 and BSBE1 support Moved duplicated code to separate files. LNBP21 stuff rewritten from scratch, BSBE1 copied from av7110.c. Modified budget driver to use the new routines. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 9f3319b49cc793b9da06ca57cc8740e3a8e88d1d tree 82b3c760cf103e7c9eacc4109a7a8a51d7a0cef2 parent 2d6b5f6257a11d66d2f1e335180e8aca16704294 author Marco Schluessler Fri, 24 Feb 2006 18:53:00 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:50 -0300 V4L/DVB (3403): Workaround to fix initialization for Nexus CA Workaround for Nexus CA: Debi test fails unless first debi write is repeated. Signed-off-by: Marco Schluessler Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 2d6b5f6257a11d66d2f1e335180e8aca16704294 tree 4fbb3622de2756a9f5bb98f034574ed4c69755b6 parent 293cdaba3f6663f630bcb85077206e55b581ed67 author Hartmut Hackmann Mon, 27 Feb 2006 21:14:36 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:28 -0300 V4L/DVB (3401): Coding style fixes in saa7134-dvb.c deleted 2 semicolons at end of functions Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 293cdaba3f6663f630bcb85077206e55b581ed67 tree fc940adb11ebf26f0424f5d02cbb437e9483c664 parent 8cbe84f33a8d420d8c8228599bc042cb31c569fa author Hartmut Hackmann Mon, 27 Feb 2006 21:08:07 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:05 -0300 V4L/DVB (3400): Fixes for Lifeview Trio non fatal bugs - Init message was sent to wrong slave address - Deleted outdated comment Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit e12f0a3dec17de3d847f533ba81ad6956c9da5fd tree db7c3936468c363d5ba710c6b6e2612a2a734964 parent 5e6575c051f3313feb9fe1aad61263b3560df5cc author James Bottomley Tue, 07 Mar 2006 14:53:40 -0600 committer James Bottomley Tue, 07 Mar 2006 14:53:40 -0600 [SCSI] sr: partial revert of 24669f75a3231fa37444977c92d1f4838bec1233 The patch [SCSI] SCSI core kmalloc2kzalloc Has an incorrect piece in sr_ioctl.c; it changes buffer from kmalloc to kzalloc, but then removes the clearing of the stack variable struct packet_command. This, in turn leaves rubbish in the sense pointer which the sr_do_ioctl() command then happily writes to ... oops. Thanks to Mike Christie for spotting this. Signed-off-by: James Bottomley commit 5e6575c051f3313feb9fe1aad61263b3560df5cc tree e8bfe9b9670ff782f1d27707689edf69761785f3 parent 286fc8f8ea7ef58b54f150fc900ce019af483e89 author Willem Riede Sat, 11 Feb 2006 14:46:56 -0500 committer James Bottomley Tue, 07 Mar 2006 09:16:01 -0600 [SCSI] osst: changes required to move forward to block request On 02/07/2006 04:12:55 AM, Christoph Hellwig wrote: > On Mon, Feb 06, 2006 at 08:02:21PM -0500, Willem Riede wrote: > > > But I will certainly help retire scsi_request. And anything else that is > > needed to keep up with proper kernel style. Let me know what those are, if > > you would? I'll start looking at how st has changed, and will be back with > > any questions I may have. > > right now the above is the most urgent bit. What would be nice but not > required is a conversion to the sense handling helpers, similar to what > st got (aka using the *normalize_sense functions and then dealing with the > parsed sense buffer instead of the raw sense data) Ok, so here is my first take at satisfying this request. Be warned, that beyond compiling, and checking that the new module doesn't immediately blow up, there hasn't yet been a lot of testing. But this should allow you to comment on the changes, and move forward with dropping scsi_request from the kernel code. Signed-off-by: Willem Riede Signed-off-by: James Bottomley commit bb8047d3540affd6b8c2adac3fe792e07143be0f tree 8396d13b1400225470eef6e48406bb74a81bd925 parent 1cf3109ffb26a6ea572fd02436bd10458b4b2187 author Anton Altaparmakov Tue, 07 Mar 2006 11:53:46 +0000 committer Anton Altaparmakov Tue, 07 Mar 2006 11:53:46 +0000 NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for reporting them. Signed-off-by: Anton Altaparmakov commit 74f5ec29ae93aa42c49f4285c20c457afe937881 tree 2f9fe3e3f7bcd91769b0030cead82e1986e0dd32 parent ad8c48ad3bbef078616ed4d2652d362dfd962f09 parent 2d66806d740eeb410aa785bd7fba3bd24bb082c1 author Jeff Garzik Mon, 06 Mar 2006 14:38:16 -0500 committer Jeff Garzik Mon, 06 Mar 2006 14:38:16 -0500 Merge branch 'upstream-fixes' commit 286fc8f8ea7ef58b54f150fc900ce019af483e89 tree 6439b4ad904b396c5d29516f650d83193499332e parent b2e977ca364764dabb091c360f329868b7e3f29b author James Bottomley Mon, 06 Mar 2006 10:20:56 -0600 committer James Bottomley Mon, 06 Mar 2006 10:20:56 -0600 [SCSI] lpfc: minor syntax fixes Stop gcc complaining about undefined variables Signed-off-by: James Bottomley commit b2e977ca364764dabb091c360f329868b7e3f29b tree 8b95d1ee9539556a766c1bcf786668f14844b520 parent b808608bd7afdf1b0a2eb096ff2b5b93781fdbb6 author Jamie Wellnitz Tue, 28 Feb 2006 22:33:15 -0500 committer James Bottomley Mon, 06 Mar 2006 09:48:02 -0600 [PATCH] lpfc 8.1.3: Change version number to 8.1.3 Change version number to 8.1.3 Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit b808608bd7afdf1b0a2eb096ff2b5b93781fdbb6 tree c09a1b80000231144129ef988c259117e55630aa parent 66a9ed66000d186933892ca5121e68a071d624ac author Jamie Wellnitz Tue, 28 Feb 2006 22:33:12 -0500 committer James Bottomley Mon, 06 Mar 2006 09:47:46 -0600 [PATCH] lpfc 8.1.3: Fix polling mode panic Fix polling mode panic Cause: Race between interrupt driven and polling path in harvesting iocbs from the response ring. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 66a9ed66000d186933892ca5121e68a071d624ac tree c5aa2b1e2e819876a980e59f3cbd8d0a7761aeae parent 5fe9f5119378e75986ad90c783a7e085bf67703a author Jamie Wellnitz Tue, 28 Feb 2006 22:33:10 -0500 committer James Bottomley Mon, 06 Mar 2006 09:47:31 -0600 [PATCH] lpfc 8.1.3: Protect NPL lists with host lock Protect NPL lists with host lock Symptoms: lpfc_findnode_rpi and lpfc_findnode_did can be called outside of the discovery thread context. We have to iterate through the NPL lists under the host lock and all add/del operations on those lists have to be done under host lock. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 5fe9f5119378e75986ad90c783a7e085bf67703a tree b06f5d7bb921f78dd284a960792523355249c3d1 parent cf5bf97e1d28651fd689be9c974b2318ac262f2d author Jamie Wellnitz Tue, 28 Feb 2006 22:33:09 -0500 committer James Bottomley Mon, 06 Mar 2006 09:47:14 -0600 [PATCH] lpfc 8.1.3: Fix deadlock in lpfc_fdmi_tmo_handler Fix deadlock in lpfc_fdmi_tmo_handler lpfc_fdmi_tmo_handler was calling lpfc_fdmi_cmd with the host_lock held. lpfc_fdmi_cmd assumes the host_lock is released as it calls functions that acquire the host_lock. lpfc_fdmi_tmo_handler acquired the host_lock to protect access to work_hba_events. This was already checked in the worker thread so we can remove that code completely and remove access to the host_lock. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit cf5bf97e1d28651fd689be9c974b2318ac262f2d tree df7a3b25a5fccc189bf1cb00de8f2f04eaef0e71 parent 56178645c2686a7ef630e1b23b81d40dcfb553e6 author Jamie Wellnitz Tue, 28 Feb 2006 22:33:08 -0500 committer James Bottomley Mon, 06 Mar 2006 09:46:57 -0600 [PATCH] lpfc 8.1.3: Fix performance when using multiple SLI rings Fix performance when using multiple SLI rings Currently the driver allocates all of its SLI command and response ring entries to one primary ring. Other rings get little, or no, resources. Allow more resources to be given to ring 1 Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 56178645c2686a7ef630e1b23b81d40dcfb553e6 tree 4a6fe50e78f2c9ae57d291fde4626457cc1a219e parent 719396b48ce6310ab43d7432b6d7f2a330a831b3 author Jamie Wellnitz Tue, 28 Feb 2006 22:33:06 -0500 committer James Bottomley Mon, 06 Mar 2006 09:46:34 -0600 [PATCH] lpfc 8.1.3: Remove unused MBhostaddr from lpfc_sli structure Remove unused MBhostaddr from lpfc_sli structure Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 719396b48ce6310ab43d7432b6d7f2a330a831b3 tree 0cbd685cea4896cc3b703268fbcabe0dd8fc1014 parent 74b72a59b8d42d31aa6ffac8f10ca7a784be392c author Jamie Wellnitz Tue, 28 Feb 2006 22:33:05 -0500 committer James Bottomley Mon, 06 Mar 2006 09:46:10 -0600 [PATCH] lpfc 8.1.3: PCI hrd_type should be obtained with pci_read_config_byte() macro PCI hrd_type should be obtained with pci_read_config_byte() macro Driver keys off of this field to report the proper adapter type. The pci subsystem explicitly clears the multiport bit in the copy of the field given the driver. Thus, to properly name the card, obtain it from config space. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 74b72a59b8d42d31aa6ffac8f10ca7a784be392c tree 524eabfe74685220fb9a0778149ec5e696277422 parent 42ab03609cca4ef5079e248296f015650c626899 author Jamie Wellnitz Tue, 28 Feb 2006 22:33:04 -0500 committer James Bottomley Mon, 06 Mar 2006 09:45:43 -0600 [PATCH] lpfc 8.1.3: Derive supported speeds from LMT field in the READ_CONFIG Derive supported speeds from LMT field in the READ_CONFIG Driver was keying off internal cores. Use what the firmware reports instead. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 42ab03609cca4ef5079e248296f015650c626899 tree e81cfa54e34537ef4a3ee7363e123c5428800a1c parent dd9fbb52134693f1394a928c05d5f3cd3fdaf6e0 author James Bottomley Sat, 04 Mar 2006 09:10:18 -0600 committer James Bottomley Mon, 06 Mar 2006 09:43:17 -0600 [PATCH] convert aic94xx over to using the sas transport end device Begin introducing the concept of sas remote devices that have an rphy embedded. The first one (this) is a simple end device. All that an end device really does is have port mode page parameters contained. The next and more complex piece will be expander remote devices. Signed-off-by: James Bottomley commit 4f1933620f57145212cdbb1ac6ce099eeeb21c5a tree c083cce1f0acedd92be2ac6eb5e6c49ebd84ac46 parent 7b75b13cda8bd21e8636ea985f76e1ce5bd1a470 author Paul Smith Sun, 05 Mar 2006 17:14:10 -0500 committer Sam Ravnborg Mon, 06 Mar 2006 00:09:51 +0100 kbuild: change kbuild to not rely on incorrect GNU make behavior The kbuild system takes advantage of an incorrect behavior in GNU make. Once this behavior is fixed, all files in the kernel rebuild every time, even if nothing has changed. This patch ensures kbuild works with both the incorrect and correct behaviors of GNU make. For more details on the incorrect behavior, see: http://lists.gnu.org/archive/html/bug-make/2006-03/msg00003.html Changes in this patch: - Keep all targets that are to be marked .PHONY in a variable, PHONY. - Add .PHONY: $(PHONY) to mark them properly. - Remove any $(PHONY) files from the $? list when determining whether targets are up-to-date or not. Signed-off-by: Paul Smith Signed-off-by: Sam Ravnborg commit fbfda6e71bbdd3b4d41a56c3f20f31762c455a5e tree 167c8f3dff56cc74ef96e2ecfe58658b17923ca4 parent 48a8a14ff1f13aa4dba3f6b4381b886727609db4 author Tejun Heo Sun, 05 Mar 2006 23:03:42 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:11:32 -0500 [PATCH] sata_sil24: fix mwdma_mask setting mwdma_mask was not copied from port_info to probe_ent. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48a8a14ff1f13aa4dba3f6b4381b886727609db4 tree 429ca20edef799c283e1226b790693d0ad71e478 parent 623a3128aa2b86caa8e06e762e9e444177e4fa47 author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: revalidate after transfer mode configuration Revalidate device after transfer mode configuration. This also makes dev->id up-to-date. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 623a3128aa2b86caa8e06e762e9e444177e4fa47 tree 3e861e10c2963a22d2f097e5545fdcd865667602 parent 4c2d721ab6413ee4ff33617ed1413458261f36ea author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: implement ata_dev_revalidate() ata_dev_revalidate() re-reads IDENTIFY PAGE of the given device and makes sure it's the same device as the configured one. Once it's verified that it's the same device, @dev is configured according to newly read IDENTIFY PAGE. Note that revalidation currently doesn't invoke transfer mode reconfiguration. Criteria for 'same device' * same class (of course) * same model string * same serial string * if ATA, same n_sectors (to catch geometry parameter changes) Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4c2d721ab6413ee4ff33617ed1413458261f36ea tree b641f68a902c64a08dc308f259c05abed1d81655 parent 208a9933bc7d71e7ad194a9ffbfbcd7878c48dfe author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: add @print_info argument to ata_dev_configure() Add @print_info argument to ata_dev_configure(). Details of configured device is printed only when @pinfo_info is non-zero. This patch also reorganizes device info printing for LBA case to simplify code (necessary as @print_info adds extra nesting around it). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 208a9933bc7d71e7ad194a9ffbfbcd7878c48dfe tree e3aee404b45add338986a18031eecce2d97f5a27 parent e653a1e6131d0a819288a2e2de654627233604e0 author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: re-initialize parameters before configuring In ata_dev_configure(), reinitialize parameters before configuring. This change is for revalidation and hotplug. As ata_dev_configure() can be entered multiple times, parameters need to be reinitialized. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 7b75b13cda8bd21e8636ea985f76e1ce5bd1a470 tree aa547e0525bdc0cd60560771a9b7c09bf133ba85 parent f6ecebd6592ea70e9450ec70efb24220dd961ebc author Sam Ravnborg Sun, 05 Mar 2006 13:48:58 +0100 committer Sam Ravnborg Sun, 05 Mar 2006 13:48:58 +0100 kbuild: when warning symbols exported twice now tell user this is the problem Warning now looks like this: WARNING: vmlinux: 'strcpy' exported twice. Previous export was in vmlinux Which gives much better hint how to fix it. Signed-off-by: Sam Ravnborg commit f6ecebd6592ea70e9450ec70efb24220dd961ebc tree c76d3b93958afdeb4ac2f672205cce2e40e7140a parent 43c74d179596ba1f8eceb8c6a5c7e11afe233662 author Sam Ravnborg Sun, 05 Mar 2006 12:10:58 +0100 committer Sam Ravnborg Sun, 05 Mar 2006 12:10:58 +0100 kbuild: fix make dir/file.xx when asm symlink is missing Added a dependency so we do full preparation before trying to build single file targets. This fixes a case where Andrew Morton did: make kernel/sched.o rm include/asm make kernel/sched.o -> splat Signed-off-by: Sam Ravnborg commit 43c74d179596ba1f8eceb8c6a5c7e11afe233662 tree 09f7fcee82d8a464706b77e171956cc23661baf4 parent e835a39c1c1f023ef443f735b0e98b08660ae0e4 author Sam Ravnborg Sun, 05 Mar 2006 12:02:46 +0100 committer Sam Ravnborg Sun, 05 Mar 2006 12:02:46 +0100 kbuild: in the section mismatch check try harder to find symbols When searching for symbols the only check performed was if offset equals st_value. Adding an additional check to see if st_name points t a valid name made us sort out a few more false positives and let us report more correct names in warnings. Signed-off-by: Sam Ravnborg commit e835a39c1c1f023ef443f735b0e98b08660ae0e4 tree d2790823b7f2f15917badc55828848790474a86f parent 9209aed0726c77ad13b8d83e73a3cf9f59a8c2b2 author Sam Ravnborg Sun, 05 Mar 2006 11:34:15 +0100 committer Sam Ravnborg Sun, 05 Mar 2006 11:34:15 +0100 kbuild: fix section mismatch check for unwind on IA64 Parameters to strstr() was reversed. Signed-off-by: Sam Ravnborg commit 8ff69732d484ea9ccbf242cc49b4fe9538e64c71 tree 5b65e26af1cbf2f5c54ca9b3b35755ddeb2f40ee parent 2a1c1c877ecb446dbdf1715248e151db8719a87b author Dave Jones Sun, 05 Mar 2006 03:37:23 -0500 committer Dave Jones Sun, 05 Mar 2006 03:37:23 -0500 [CPUFREQ] Fix handling for CPU hotplug This patch adds proper logic to cpufreq driver in order to handle CPU Hotplug. When CPUs go on/offline, the affected CPUs data, cpufreq_policy->cpus, is not updated properly. This causes sysfs directories and symlinks to be in an incorrect state after few CPU on/offlines. Signed-off-by: Jacob Shin Signed-off-by: Dave Jones commit 2a1c1c877ecb446dbdf1715248e151db8719a87b tree d265e90cdbcbfc9b76a1c183a03688eddb5d0e6f parent 32ee8c3e470d86588b51dc42ed01e85c5fa0f180 author Dave Jones Sun, 05 Mar 2006 03:35:00 -0500 committer Dave Jones Sun, 05 Mar 2006 03:35:00 -0500 [CPUFREQ] powernow-k8: Let cpufreq driver handle affected CPUs powernow-k8: Let cpufreq driver handle affected CPUs Let the cpufreq driver manage AMD Dual-Core CPUs being tied together. Since cpufreq driver's affected CPUs data, cpufreq_policy->cpus, already knows about which cores are tied together, powernow driver does not have keep its internal data for every core. (even a pointer.. it will never be called on) Telling cpufreq driver about cpu_core_map at init time is sufficient. Signed-off-by: Jacob Shin Signed-off-by: Dave Jones commit e653a1e6131d0a819288a2e2de654627233604e0 tree 1bfdb56d50a92f89d61efb4ca5b09886f8581a13 parent 48d4ef2a1df9867c67b515d66732ba028a73735d author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: cosmetic flag/constant changes Collect common host flags into SIL_DFL_HOST_FLAGS and add comments to constants. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48d4ef2a1df9867c67b515d66732ba028a73735d tree 63c2fa1f07d3e27cd443f40efdd32028d04996ef parent 9a5314432a07251c2a8d71bfc793adcf00f4122e author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: replace register address constants with sil_port[] entry Kill SIL_FIFO_* and SIL_IDE2_BMDMA and replace them with proper sil_port[] entry. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9a5314432a07251c2a8d71bfc793adcf00f4122e tree b5becc8c3cf7bfb60200bdeb344a6cfc509e9fcf parent 81c2af3561db54a4d3b439c84c58d8c2a469ec9b author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: use kzalloc Use kzalloc instead of kmalloc/memset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 81c2af3561db54a4d3b439c84c58d8c2a469ec9b tree 23c5512dc5cc3d85fa2ce91a397587848caa36da parent 219e621443a1d0bba2a6d15cbc9a1181892c6d79 author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: replace sil_3112_m15w board id with sil_3112 All 3112's have m15w. Replace sil_3112_m15w with sil_3112 and flag sil_3112 with SIL_FLAG_MOD15WRITE. Signed-off-by: Tejun Heo Cc: Carlos Pardo Signed-off-by: Jeff Garzik commit 219e621443a1d0bba2a6d15cbc9a1181892c6d79 tree 2fdfdc3f463f356b651d9bee9599640b2ce52be3 parent e1fd263c772e89706dee28aa794399ac4bd6b9c1 author Tejun Heo Sun, 05 Mar 2006 14:28:51 +0900 committer Jeff Garzik Sun, 05 Mar 2006 00:36:28 -0500 [PATCH] ata_piix: rename PIIX_FLAG_IGN_PRESENT to PIIX_FLAG_IGNORE_PCS Rename PIIX_FLAG_IGN_PRESENT to PIIX_FLAG_IGNORE_PCS as Jeff requested. Signed-off-by: Tejun Heo Cc: Jeff Garzik Signed-off-by: Jeff Garzik commit 9209aed0726c77ad13b8d83e73a3cf9f59a8c2b2 tree 89f9a3c64883051f95930d821c62fc9b1a8a201c parent 62070fa42c4ac23d1d71146a4c14702302b80245 author Sam Ravnborg Sun, 05 Mar 2006 00:16:26 +0100 committer Sam Ravnborg Sun, 05 Mar 2006 00:16:26 +0100 kbuild: kill false positives from section mismatch warnings for powerpc Building an allmodconfig kernel for ppc64 revealed a number of false positives - originally reported by Andrew Morton. This patch removes most if not all false positives for ppc64: Section .opd The .opd section contains function descriptors at least for ppc64. So ignore it for .init.text (was ignored for .exit.text). See description of function descriptors here: http://www.linuxbase.org/spec/ELF/ppc64/PPC-elf64abi-1.7.html Section .toc1 ppc64 places some static variables in .toc1 - ignore the. Section __bug_tabe BUG() and friends uses __bug_table. Ignore warnings from that section. Module parameters are placed in .data.rel for ppc64, for adjust pattern to match on section named .data* Tested with gcc: 3.4.0 and binutils 2.15.90.0.3 Signed-off-by: Sam Ravnborg commit e1fd263c772e89706dee28aa794399ac4bd6b9c1 tree 78e37149171da5c9947576680b2f659a8bbf9ec8 parent 28ca5c57dc9f235f7cba609f2b541328de47beb2 author Daniel Drake Sat, 04 Mar 2006 15:36:21 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:20:06 -0500 [PATCH] sata_promise: Support FastTrak TX4300/TX4310 This patch adds support for the Promise FastTrak TX4300/TX4310 4-port PCI SATA controllers based on the PDC40719 chip. Signed-off-by: Daniel Drake Signed-off-by: Jeff Garzik commit ad8c48ad3bbef078616ed4d2652d362dfd962f09 tree e400f39c22cf68621be51042a860cf402c3a9bd5 parent e72fd96e8ee3ff4dd80757172a4fe49bd92fea9c author Catalin(ux aka Dino) BOIE Sat, 04 Mar 2006 12:18:59 -0500 committer Jeff Garzik Sat, 04 Mar 2006 12:18:59 -0500 Fix io ordering problems in e100 Checking e100.c code against Documentation/io_ordering.txt I found the following problem: spin_lock_irq... write spin-unlock e100_write_flush The attached patch fix the code like this: spin_lock_irq... write e100_write_flush spin-unlock Signed-off-by: Catalin BOIE Signed-off-by: Jeff Garzik commit e72fd96e8ee3ff4dd80757172a4fe49bd92fea9c tree 2b544e905888845f7115c3302156119ac627d340 parent b27a16b7c4738ea16f6f0730caf382a3f57317bb author Mark Brown Thu, 02 Feb 2006 00:00:02 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:14:56 -0500 [PATCH] natsemi: NAPI and a bugfix As documented in National application note 1287 the RX state machine on the natsemi chip can lock up under some conditions (mostly related to heavy load). When this happens a series of bogus packets are reported by the chip including some oversized frames prior to the final lockup. This patch implements the fix from the application note: when an oversized packet is reported it resets the RX state machine, dropping any currently pending packets. Signed-off-by: Mark Brown Signed-off-by: Jeff Garzik commit b27a16b7c4738ea16f6f0730caf382a3f57317bb tree e4e881b1b0e17d3c592073d0e8aa59c0dd2d6e61 parent fb15b9dd8b3f44290a7b3b06fdfd4be2ad73f0ac author Mark Brown Thu, 02 Feb 2006 00:00:01 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:14:56 -0500 [PATCH] natsemi: NAPI and a bugfix This patch converts the natsemi driver to use NAPI. It was originally based on one written by Harald Welte, though it has since been modified quite a bit, most extensively in order to remove the ability to disable NAPI since none of the other drivers seem to provide that functionality any more. Signed-off-by: Mark Brown Signed-off-by: Jeff Garzik commit fb15b9dd8b3f44290a7b3b06fdfd4be2ad73f0ac tree cab2d85fb0ebfa33ee20e5738e11f58c0b1e16cd parent c3cf560e35509634d72cf809074834d5ea23ab66 parent a7a80d5ad3735554338199b9d976dfda5c10d3c7 author Jeff Garzik Sat, 04 Mar 2006 12:07:07 -0500 committer Jeff Garzik Sat, 04 Mar 2006 12:07:07 -0500 Merge branch 'upstream-fixes' commit c3cf560e35509634d72cf809074834d5ea23ab66 tree 47724fb236094bbd27479edb23f95ff3a85043c9 parent 46153552b43675dd4057cd526331b5bd10f39c7d author Adrian Bunk Sat, 04 Mar 2006 17:07:57 +0100 committer Jeff Garzik Sat, 04 Mar 2006 12:03:31 -0500 [PATCH] remove obsolete sis900 documentation This documentation is mostly obsolete, and should therefore either be updated or removed (this patch does the latter). Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit 46153552b43675dd4057cd526331b5bd10f39c7d tree 62b6055ee61e320dc10ea81903abbe2e7553bf4e parent f90fdc3cce3d8c8ed09615dc68cb789655078803 parent f71e130966ba429dbd24be08ddbcdf263df9a5ad author Jeff Garzik Fri, 03 Mar 2006 22:22:45 -0500 committer Jeff Garzik Fri, 03 Mar 2006 22:22:45 -0500 Merge branch 'net-const' commit f71e130966ba429dbd24be08ddbcdf263df9a5ad tree 523f10c926012f520c47894811b94944a7793fd5 parent c499ec24c31edf270e777a868ffd0daddcfe7ebd author Arjan van de Ven Fri, 03 Mar 2006 21:33:57 -0500 committer Jeff Garzik Fri, 03 Mar 2006 21:33:57 -0500 Massive net driver const-ification. commit f90fdc3cce3d8c8ed09615dc68cb789655078803 tree 116371105890850b3c302eb6728b02675914efb7 parent c96a34ec3bad5ba37ee4da4a188ad534b2fa4321 author Ralf Baechle Wed, 08 Feb 2006 23:23:26 +0000 committer Jeff Garzik Fri, 03 Mar 2006 21:23:02 -0500 [PATCH] sb1250-mac: Add support for the BCM1480 This adds support for the 4th port and other new features of the BCM1480 SOC. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit c96a34ec3bad5ba37ee4da4a188ad534b2fa4321 tree d2c46023c7a8dfbb72db255d378a6ebdfac2477b parent 8f903c708fcc2b579ebf16542bf6109bad593a1d author Komuro Fri, 03 Mar 2006 21:21:13 -0500 committer Jeff Garzik Fri, 03 Mar 2006 21:21:13 -0500 pcnet_cs: add new id (Logitec LPM-LN100TE) commit 8f903c708fcc2b579ebf16542bf6109bad593a1d tree 8fb890c05d962c2dd63f8dbc960efbd0b09802d2 parent ebe19a4ed78d4a11a7e01cdeda25f91b7f2fcb5a author Jay Vosburgh Tue, 21 Feb 2006 16:36:44 -0800 committer Jeff Garzik Fri, 03 Mar 2006 20:58:00 -0500 [PATCH] bonding: suppress duplicate packets Originally submitted by Kenzo Iwami; his original description is: The current bonding driver receives duplicate packets when broadcast/ multicast packets are sent by other devices or packets are flooded by the switch. In this patch, new flags are added in priv_flags of net_device structure to let the bonding driver discard duplicate packets in dev.c:skb_bond(). Modified by Jay Vosburgh to change a define name, update some comments, rearrange the new skb_bond() for clarity, clear all bonding priv_flags on slave release, and update the driver version. Signed-off-by: Kenzo Iwami Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik commit 28ca5c57dc9f235f7cba609f2b541328de47beb2 tree 5aa4a5942e21cd16e58e6e6aadb2cf0ffa41c366 parent 4b2f3ededc035525038a7a9247074243dac6b351 author Tejun Heo Wed, 01 Mar 2006 16:09:36 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: reorganize ata_bus_probe() Now that reset and configure are converted such that they don't modify or disable libata core data structures, reorganize ata_bus_probe() to reflect this change. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4b2f3ededc035525038a7a9247074243dac6b351 tree bec580eaa78fc8383773b8378e9736551ff955a1 parent ffeae418c12a304f6a9b6468043954d4e67a2b1e author Tejun Heo Wed, 01 Mar 2006 16:09:36 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: fold ata_dev_config() into ata_dev_configure() ata_dev_config() needs to be done everytime a device is configured. Fold it into ata_dev_configure(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ffeae418c12a304f6a9b6468043954d4e67a2b1e tree 789b1a221d2f454c496e9220246cfb094ea386dc parent d9572b1d5e60b63e27e17f1f7771c5a26dd5d81e author Tejun Heo Wed, 01 Mar 2006 16:09:35 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: separate out ata_dev_configure() Separate out ata_dev_configure() from ata_dev_identify() such that ata_dev_configure() only configures @dev according to passed in @id. The function now does not disable device on failure, it just returns appropirate error code. As this change leaves ata_dev_identify() with only reading ID, calling configure and disabling devices according to the results, this patch also kills ata_dev_identify() and inlines the logic into ata_bus_probe(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d9572b1d5e60b63e27e17f1f7771c5a26dd5d81e tree d102151d0e1b4014c920def6a3257f031ffd56d6 parent d133ecab8ff1233c2eb3ecb94f7956aa10002300 author Tejun Heo Wed, 01 Mar 2006 16:09:35 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: convert dev->id to pointer Convert dev->id from array to pointer. This is to accomodate revalidation. During revalidation, both old and new IDENTIFY pages should be accessible and single ->id array doesn't cut it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d133ecab8ff1233c2eb3ecb94f7956aa10002300 tree f4b508d49bd57d0e8a4e8e5d7975f7513f275413 parent d33f58b883a3f624b9362227bf73fc52a6cbd4b4 author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: reimplement piix_sata_probe() Reimplement piix_sata_probe() such that it turns on PCS enable bits on all avaliable ports and check present bits after a while to determine device presence. This should help broken BIOSes. After device presence detection is complete, PCS enable bits of unoccupied bits are turned off unless the controller supports AHCI (ICH6/7 docs mandate all enables bits are always set on AHCI capable controllers). Note that PCS present bits are ignored on 6300ESB as described in the datasheet. This should fix device detection problems reported with the controller. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d33f58b883a3f624b9362227bf73fc52a6cbd4b4 tree 13a5571a6a1f3b6bf3c97c3418eec6e962231598 parent d435804803befedbda9fdc1be088e7930b60982b author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: implement proper port map Replace combined mode handling via PIIX_COMB/COMB_PATA_P0 with proper port map. PIIX now prints port configuration during initialization. ATA_FLAG_SLAVE_POSS is now turned on for SATA ports only when the slave device is actually avaliable. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d435804803befedbda9fdc1be088e7930b60982b tree 54d976e27cc6e3513ba60c1317987cd700724c15 parent 1d076e5b8d91babc018ffaefafd4f85a53c9a1b1 author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: add a couple of flags Add PIIX_FLAG_IGN_PRESENT and SCR flags. Thi patch doesn't cause any functional change. To be used by later init/scr updates. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1d076e5b8d91babc018ffaefafd4f85a53c9a1b1 tree 8f610a291cfd45cf041fd51d91de73e051a7d44e parent 597afd21401c85bdf9441830abf431c2be6fd45f author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: finer-grained port_info Make port_info finer-grained. This patch doesn't cause any functional change. Later init reimplementation will make use of it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 597afd21401c85bdf9441830abf431c2be6fd45f tree bf03f9f0abc7a075fe15bf6404d7c6b90632ecaa parent 348edc59a8f9b9a66700781d972c24a46a79ae86 author Tejun Heo Wed, 01 Mar 2006 01:25:38 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] libata: seperate out ata_class_present() Seperate out ata_class_present() from ata_dev_present(). This is useful because new reset mechanism deals with classes[] directly. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ebe19a4ed78d4a11a7e01cdeda25f91b7f2fcb5a tree cbc3ab8819704fbeb97a2a89445f57972d430fd2 parent f78fb4743dc06719084239c29dc178ad38ad2e2f author Dale Farnsworth Fri, 03 Mar 2006 10:06:20 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Remove BIT0-BIT31 #defines Now that the BIT0-BIT31 defines are no longer used by mv643xx_eth.c, remove them from mv643xx_eth.h. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit f78fb4743dc06719084239c29dc178ad38ad2e2f tree 62ebf8cc6a8de144c21a0b5cd2a3318a0e2445c2 parent 468d09f8946d40228c56de26fe4874b2f98067ed author Dale Farnsworth Fri, 03 Mar 2006 10:05:26 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Remove non-working feature: task level rx queue refill The task level rx queue refill feature hasn't ever worked (at least in 2.6) and is of dubious value. Remove it. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 468d09f8946d40228c56de26fe4874b2f98067ed tree 4f5641ffdf6782f71fbd1645908e3ba4e50aff33 parent 7303fde88a149c4cee54dae7e46d1895fa7214b4 author Dale Farnsworth Fri, 03 Mar 2006 10:04:39 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Clean up interrupt handling Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 7303fde88a149c4cee54dae7e46d1895fa7214b4 tree 394af13d130346d095c0830a48e3e421decf6b86 parent ff561eef9fb37c7180085e08418acfc009a9ada7 author Dale Farnsworth Fri, 03 Mar 2006 10:03:36 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Move #defines of constants to mv643xx_eth.h Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit ff561eef9fb37c7180085e08418acfc009a9ada7 tree 97010ae360fdb25238698ad811c22f6d901e1fde parent c8aaea25e0b069e9572caa74f984e109899c1765 author Dale Farnsworth Fri, 03 Mar 2006 10:02:51 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Refactor/clean up tx queue handling Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit c8aaea25e0b069e9572caa74f984e109899c1765 tree c0569ce4abd5c0b23ffbf44a4ee78dda8b6244cb parent cd6478c8aed9b2001dfff067fa66b7492a0a2ffa author Dale Farnsworth Fri, 03 Mar 2006 10:02:05 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Refactor tx command queuing code Simplify and remove redundant code for filling transmit descriptors. No changes in features; it's just a code reorganization/cleanup. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cd6478c8aed9b2001dfff067fa66b7492a0a2ffa tree 497dcf9c0f014655b51ec25ebcf596f9a4df0682 parent 12a87c644ab1862232d0916656ff2ee42f3fb873 author Dale Farnsworth Fri, 03 Mar 2006 10:01:08 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Select CONFIG_MII on CONFIG_MV643XX_ETH >From : Dale Farnsworth Recent patches for the mv643xx_eth driver now use the MII interface library. Select MII so it gets built when that driver is selected. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 12a87c644ab1862232d0916656ff2ee42f3fb873 tree e46179ede6e839bf6c80d4daba5c04aa536eddc8 parent e38fd1a055cf4038c423bd841859b01aeb07d1b0 author Dale Farnsworth Fri, 03 Mar 2006 10:00:22 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Rename "channels" to "queues" Use better terminology for HW queues. No functional changes. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit e38fd1a055cf4038c423bd841859b01aeb07d1b0 tree 5349f6114cfb86f7b9bc6b57ec1f1b2ca39e01e3 parent d5f9558a7778d3f7dc3c9e0d5cbe7318710532f8 author Dale Farnsworth Fri, 03 Mar 2006 09:59:28 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Fix misplaced parenthesis in mv643xx_eth_port_disable_rx This bug could result in a system hang. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit d5f9558a7778d3f7dc3c9e0d5cbe7318710532f8 tree f134b6b492b0d4bb6442f7402e9697def25f272a parent 0f15a8fae8b8558f5a9b0fec770846c487c779f6 author Dale Farnsworth Fri, 03 Mar 2006 09:58:29 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Remove duplicate includes of linux/in.h and linux/ip.h Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 62070fa42c4ac23d1d71146a4c14702302b80245 tree b24cce735904e19299c6206301ec1a507b2785f1 parent e11f04962cee8f7fb0dc14983a7a461ade8f71c3 author Sam Ravnborg Fri, 03 Mar 2006 16:46:04 +0100 committer Sam Ravnborg Fri, 03 Mar 2006 16:46:04 +0100 kbuild: kill trailing whitespace in modpost & friends Signed-off-by: Sam Ravnborg commit 8cbe84f33a8d420d8c8228599bc042cb31c569fa tree 041885dcbcb6db099fcd442e8d0f2c3c7f9c0883 parent d15549acfedd70b2bd97a5876ecd59527fa97671 author Adrian Bunk Tue, 28 Feb 2006 04:40:51 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:15:29 -0300 V4L/DVB (3399a): cpia2/cpia2_v4l.c cleanups - make 2 needlessly global functions static - remove cpia2_setup(): the driver already allows setting parameters through module_param(), and there's no reason for having two different ways for setting the same parameters Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit d15549acfedd70b2bd97a5876ecd59527fa97671 tree 90993c3de43f038ca45f4a4318cd04deeac81740 parent 9a7871ba111862b1515719994df66eeda9debbd1 author Ricardo Cerqueira Fri, 03 Mar 2006 12:13:42 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:13:42 -0300 V4L/DVB (3197a): IR keymaps are exported by the ir-common module now Moved keymaps to the ir-common module, and export them from there, instead of #including them in each module Included missing files from V4L/DVB(3197). Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 9a7871ba111862b1515719994df66eeda9debbd1 tree 70272b8681010e6ccf5df443a8211316d8208a5e parent ba52429cb4e9ccd2e6417205a3f7d1f78356e236 author Michael Krufky Mon, 27 Feb 2006 15:22:49 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:13:27 -0300 V4L/DVB (3399): ELSA EX-VISION 500TV: fix incorrect PCI subsystem ID - ELSA EX-VISION 500TV was incorrectly programmed to have the same subsystem ID as ELSA EX-VISION 300TV, (1048:226b) - This changeset replaces the incorrect subsystem ID (1048:226b) with the correct one (1048:226a) for the ELSA EX-VISION 500TV. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ba52429cb4e9ccd2e6417205a3f7d1f78356e236 tree 1573cf61c25e47daa66985766171606f6dece77a parent 420f32fe4e3eed466a6563e15a89f4688134cc98 author Michael Krufky Mon, 27 Feb 2006 14:38:17 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:12:39 -0300 V4L/DVB (3398): ELSA EX-VISION 700TV: fix incorrect PCI subsystem ID - Corrected autodetection for saa7130 card: subsystem: 1048:226c, board: ELSA EX-VISION 700TV Signed-off-by: TAMUKI Shoichi Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 420f32fe4e3eed466a6563e15a89f4688134cc98 tree 5d37d8b7de1582d82c3dc6f39e59e6135750f633 parent df8cf70683ba3109756e20c50e0fefe24736564f author Nico Sabbi Fri, 03 Mar 2006 12:11:28 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:11:28 -0300 V4L/DVB (3396): Add DVB-T support for the LifeView DVB Trio PCI card This patch adds DVB-T support, no DVB-S yet Signed-off-by: Nico Sabbi Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit df8cf70683ba3109756e20c50e0fefe24736564f tree ac156d40651bf23f1ff79a347b77ec357afc86a5 parent 4a287cfeea7056dc71d2bc352ae490a2a5bcceb0 author Hartmut Hackmann Fri, 03 Mar 2006 12:09:26 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:09:26 -0300 V4L/DVB (3395): Fixed Pinnacle 300i DVB-T support - fixed tda9886 port 2 setting - turned remote control receiver off via saa7134 GPIO to avoid i2c hangs - modified tda9886 client calls to direct i2c access to allow proper return to analog mode - allow mode change to V4L2_TUNER_DIGITAL_TV in tuner VIDIOC_S_FREQUENCY client call Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit dd9fbb52134693f1394a928c05d5f3cd3fdaf6e0 tree f3f0ec521029685c6d5436b6770201111f80d8f9 parent 39a112403fd4c6cd2215b5a59ff079e42eb824a4 author James Bottomley Thu, 02 Mar 2006 16:01:31 -0600 committer James Bottomley Fri, 03 Mar 2006 08:58:10 -0600 [SCSI] make some sas class properties optional aic94xx doesn't have a use for the bay or enclosure identifiers. Also, I think it's not going to need a get_linkerrors(), so wire up all of these exported properties as conditional on the underlying function support. Signed-off-by: James Bottomley commit 39a112403fd4c6cd2215b5a59ff079e42eb824a4 tree 28aa3ca27e6c32aea24457547a79ecfca0602762 parent 7e6dff62dad539cbd608bb3b8b833193d13f00ac author Christoph Hellwig Tue, 14 Feb 2006 18:46:22 +0100 committer James Bottomley Thu, 02 Mar 2006 22:56:40 -0600 [SCSI] qla2xxx: use kthread_ API Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. Also switch from semaphore-based thread wakeup to wake_up_process. Signed-off-by: Christoph Hellwig Acked-By: Andrew Vasquez Signed-off-by: James Bottomley commit 7e6dff62dad539cbd608bb3b8b833193d13f00ac tree 71790af18bc75c9c0d2ebf7f3aefded9860a3cfe parent c92f222e1f14588171e63b550ca8c85fa9130061 author James Bottomley Thu, 02 Mar 2006 14:12:56 -0600 committer James Bottomley Thu, 02 Mar 2006 22:36:58 -0600 [SCSI] add 6.0 Gbit phy definitions to the sas transport class I don't think these exist in silicon yet, but the aic94xx driver has a register setting for them. Signed-off-by: James Bottomley commit 0f15a8fae8b8558f5a9b0fec770846c487c779f6 tree cacee876371cfbcb33e8e5a5410359f4d21b67ef parent 30320be88fb9cae888eacf1f1eaae95a03720128 author Jeff Kirsher Thu, 02 Mar 2006 18:46:29 -0800 committer root Thu, 02 Mar 2006 18:46:29 -0800 e1000: Added driver comments and whitespace changes. Modified long lines of code to ensure they would not wrap beyond 80 characters. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 30320be88fb9cae888eacf1f1eaae95a03720128 tree 359ba46e6c3d17d1a6fc11b97eea2ad1bc71cca7 parent dc7c6add3493cdc71475a006b7afc3732e55abd8 author Jeff Kirsher Thu, 02 Mar 2006 18:21:57 -0800 committer root Thu, 02 Mar 2006 18:21:57 -0800 e1000: Added a performance enhancement - prefetch - this implementation of prefetch was tested on new and old hardware Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit dc7c6add3493cdc71475a006b7afc3732e55abd8 tree 28e1c24d37dddd300a0c912414e7e2484dc6b2b9 parent 8704163987882f8b989e8143ad1f87c6b7229a13 author Jeff Kirsher Thu, 02 Mar 2006 18:21:40 -0800 committer root Thu, 02 Mar 2006 18:21:40 -0800 e1000: Add copybreak when using packet split Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8704163987882f8b989e8143ad1f87c6b7229a13 tree 24e16b012722402cedba6f9fbc10dcda4a5eef20 parent 6418ecc68e1d9416451b6f78ebb2c0b077e0abf2 author Jeff Kirsher Thu, 02 Mar 2006 18:21:24 -0800 committer root Thu, 02 Mar 2006 18:21:24 -0800 e1000: Fixed the following issues with ESB2 (requires ESB2 support): - Add restriction for ESB2 to MTU size <=9216 - Removed FIFO errors which were not being used - Fixed issues with loopback - Power management change for saving state and config space - WA to disable recieves and reset device on link loss. Reset needed to be done outside the interrupt context - modified existing tx_timeout_task Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 6418ecc68e1d9416451b6f78ebb2c0b077e0abf2 tree 4fa4a491d559b388e7461192455bd0ebbca5d2b5 parent 2a1af5d7dfd809b16fb69f3f0fc073d9b6b7c6ac author Jeff Kirsher Thu, 02 Mar 2006 18:21:10 -0800 committer root Thu, 02 Mar 2006 18:21:10 -0800 e1000: Add support for new hardware (ESB2) Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 2a1af5d7dfd809b16fb69f3f0fc073d9b6b7c6ac tree aae8f3f32de4d0ca3f9bdc1dfea0d67d416a705f parent 85b22eb632dc75887ba99edad49307a02c2ae7ec author Jeff Kirsher Thu, 02 Mar 2006 18:20:43 -0800 committer root Thu, 02 Mar 2006 18:20:43 -0800 e1000: Add performance enahancement by balancing TX and RX Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 85b22eb632dc75887ba99edad49307a02c2ae7ec tree 07fca1fa18db61f6b3024ff2db290a6111356900 parent 9f68788856b134f93d9d10b19aa902924c61fc02 author Jeff Kirsher Thu, 02 Mar 2006 18:20:29 -0800 committer root Thu, 02 Mar 2006 18:20:29 -0800 e1000: Add enabled Jumbo frame support for 82573L Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 9f68788856b134f93d9d10b19aa902924c61fc02 tree 84607dc7136b5e003f31ccab24ff9cdffb1510a5 parent 329bfd0b6d5ffec00b787f1d0e68eef63d8b1d56 author Jeff Kirsher Thu, 02 Mar 2006 18:20:17 -0800 committer root Thu, 02 Mar 2006 18:20:17 -0800 e1000: Add 82573 controller support to TSO fix Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 329bfd0b6d5ffec00b787f1d0e68eef63d8b1d56 tree 1aff4ad4e26ca01c6203869a5477850e7c1c23a2 parent 7e6c9861bbc2fcd2438da910c006781784968a7c author Jeff Kirsher Thu, 02 Mar 2006 18:20:02 -0800 committer root Thu, 02 Mar 2006 18:20:02 -0800 e1000: Fix filling skb descriptors while using packet split - Simplified by calling skb_fill_page_desc(), which is more efficient. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 7e6c9861bbc2fcd2438da910c006781784968a7c tree 42737b91df1aec190e0c930cc1e9d426316e8b29 parent 8491682986e04fe7b258e5ba1d22f9a0ea2d803e author Jeff Kirsher Thu, 02 Mar 2006 18:19:30 -0800 committer root Thu, 02 Mar 2006 18:19:30 -0800 e1000: Fix network problems when forced at 100Mb/s and to fix TSO when forced at 100Mb/s Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8491682986e04fe7b258e5ba1d22f9a0ea2d803e tree dac61abf2c1e8e859e5434783f557576226449f3 parent 8df06e504e999ff729f1b2a2e573d96bf3690dbc author Jeff Kirsher Thu, 02 Mar 2006 18:18:48 -0800 committer root Thu, 02 Mar 2006 18:18:48 -0800 e1000: Fix Quadport Wake on LAN Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8df06e504e999ff729f1b2a2e573d96bf3690dbc tree 4087b617fe36c969577739d27fa99955362d093c parent 497fce5e72a21f45929a786bf416ac03cbe09e2f author Jeff Kirsher Thu, 02 Mar 2006 18:18:32 -0800 committer root Thu, 02 Mar 2006 18:18:32 -0800 e1000: Fix RSS if enabled in mid-connection Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 497fce5e72a21f45929a786bf416ac03cbe09e2f tree 42bd95fd55ab01df751151f967c89e99bc19c7a4 parent 20a44028f06030a71a1250ad8efb0a7fb556c3ea author Jeff Kirsher Thu, 02 Mar 2006 18:18:20 -0800 committer root Thu, 02 Mar 2006 18:18:20 -0800 e1000: Fix 82543 issue when reading eeprom Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 20a44028f06030a71a1250ad8efb0a7fb556c3ea tree 3e8bb3e77b4e0453a24aad97f3f6c3700ea6fd48 parent c5f226fe97e8025440aa330aa2c8e1c66bfdc96b author Jeff Kirsher Thu, 02 Mar 2006 18:18:08 -0800 committer root Thu, 02 Mar 2006 18:18:08 -0800 e1000: Fix dhcp issue when the skb structure fields are not filled properly Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit c5f226fe97e8025440aa330aa2c8e1c66bfdc96b tree da2a45df3a52529dec850bea57e1ec7f8bbf9b38 parent 5b66ba0db8d04d99926445bc7d9f920bb5d744ed author Jeff Kirsher Thu, 02 Mar 2006 18:17:55 -0800 committer root Thu, 02 Mar 2006 18:17:55 -0800 e1000: Fix AMT losing connectivity when switching VLAN in passive mode Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 5b66ba0db8d04d99926445bc7d9f920bb5d744ed tree acd86e028fd3856f354c703c909d1457fa60b6db parent 0989aa431636ffb347314f0e2f367fdd16d7a57f author Jeff Kirsher Thu, 02 Mar 2006 18:17:30 -0800 committer root Thu, 02 Mar 2006 18:17:30 -0800 e1000: Fix unecessary delay for 82573 controllers Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 0989aa431636ffb347314f0e2f367fdd16d7a57f tree b5890adc27313a97abe920fdfabf3f8e32b4bc7f parent 9f644d518f35903ecaff062d6e9e4f7080d80cfb author Jeff Kirsher Thu, 02 Mar 2006 18:17:16 -0800 committer root Thu, 02 Mar 2006 18:17:16 -0800 e1000: Fix lock up while setting ring parameters Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 9f644d518f35903ecaff062d6e9e4f7080d80cfb tree 10d7df285871ff51266f45350a2b0a3de21a5931 parent c1605eb37aa658b810a5a7080412d656ddce2f76 author Jeff Kirsher Thu, 02 Mar 2006 18:16:59 -0800 committer root Thu, 02 Mar 2006 18:16:59 -0800 e1000: Fix dead counters Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit c1605eb37aa658b810a5a7080412d656ddce2f76 tree c91f8a06afd19cf67cba40f687d4f662f79d8055 parent 2ade43618b0aee83a50b344171d33d85c73d01b1 author Jeff Kirsher Thu, 02 Mar 2006 18:16:38 -0800 committer root Thu, 02 Mar 2006 18:16:38 -0800 e1000: Remove Multiqueue code until we have support for MSI-X in our hardware Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 2ade43618b0aee83a50b344171d33d85c73d01b1 tree 0a49fe46159a6ef66098a4f37935412f4f226f4c parent 75e47b36004d136edff68295420424cba3a5ccd0 parent 79dc190147f8a87718fe72928d5ceb58e09acdb9 author Jeff Garzik Thu, 02 Mar 2006 14:26:30 -0500 committer Jeff Garzik Thu, 02 Mar 2006 14:26:30 -0500 Merge branch 'lro' commit 348edc59a8f9b9a66700781d972c24a46a79ae86 tree 9d61083f1148af097eb57b0e93aea945ed225812 parent a9d01d2b49f528ffcf3093a77c66f254d297d5c8 author Tejun Heo Wed, 01 Mar 2006 19:07:27 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:56:05 -0500 [PATCH] sata_sil: remove unneeded ATA_FLAG_SRST from 3512 port info Now unneeded ATA_FLAG_SRST sneaked into sil_3512 port info while merging upstream-fixes. Kill it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a9d01d2b49f528ffcf3093a77c66f254d297d5c8 tree a76fc7358faaba4c8fefc8f7feba689980dedd2f parent 4b9d7e04a8daaf3e5afe775ec9cbbfda5e32dd5b author Tejun Heo Tue, 28 Feb 2006 17:38:10 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:48:42 -0500 [PATCH] libata: kill illegal kfree(id) Kill kfree(id) in failure path of ata_dev_read_id(). id is not dynamically allocated yet. Signed-off-by: Tejun Heo Cc: Randy Dunlap Signed-off-by: Jeff Garzik commit 4b9d7e04a8daaf3e5afe775ec9cbbfda5e32dd5b tree 78feb6e39f04f325278f5a9f5392132f8326d72a parent d2dbaad8555b9a078830ac1aab7ef7a37461c640 author Tejun Heo Thu, 23 Feb 2006 10:46:47 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:48:41 -0500 [PATCH] sata_sil24: add a new PCI ID for SiI 3124 Add a new PCI ID for SiI 3124. Reported by Silicon Image. Signed-off-by: Tejun Heo Cc: Carlos Pardo Signed-off-by: Jeff Garzik commit d2dbaad8555b9a078830ac1aab7ef7a37461c640 tree 6d455666df51db6a24834e6551e246e0c0d0d078 parent cccc65a3b60edaf721cdee5a14f68ba009341822 parent 71efa38c0eef581c69c221ceb8645f61d1e93270 author Jeff Garzik Wed, 01 Mar 2006 14:45:47 -0500 committer Jeff Garzik Wed, 01 Mar 2006 14:45:47 -0500 Merge branch 'master' commit 9d1ef8a64e21e57109be45a7345b09cf913e4b0e tree 160cd9b330e142b417341b9a2f01a438b26116a2 parent 6a92a4e0d201aea6d7c83f100d77310676b2e049 author Dave Jones Wed, 01 Mar 2006 14:23:14 -0500 committer Dave Jones Wed, 01 Mar 2006 14:23:14 -0500 [AGPGART] ATI RS350 support. From: Julien Tous Signed-off-by: Dave Jones commit c92f222e1f14588171e63b550ca8c85fa9130061 tree 83db58755951518865324ac880fc321e516755b9 parent 3ef0b47ee498ea183bffd9b3b4a1eef757fef4ba author James Bottomley Wed, 01 Mar 2006 09:02:49 -0600 committer James Bottomley Wed, 01 Mar 2006 09:44:04 -0600 [SCSI] mptspi: Add transport class Domain Validation This is the first half of a patch to add the generic domain validation to mptspi. It also creates a secondary "virtual" channel for raid component devices since these are now exported with no_uld_attach. What Eric and I would have really liked is to export all physical components on channel 0 and all raid components on channel 1. Unfortunately, this would result in device renumbering on platforms with mixed RAID/Physical devices which was considered unacceptable for userland stability reasons. Still to be done is to plug back the extra parameter setting and DV pieces on reset and hotplug. Signed-off-by: James Bottomley commit 75e47b36004d136edff68295420424cba3a5ccd0 tree 363c2bc1f8b5185b37f05106fec4ba2a07134182 parent 68727fed5469100bec0764207d7efb7a9ecdee29 parent 07981aa43f6aec32b875f360755ed3d14f9d5139 author Jeff Garzik Wed, 01 Mar 2006 01:59:15 -0500 committer Jeff Garzik Wed, 01 Mar 2006 01:59:15 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 68727fed5469100bec0764207d7efb7a9ecdee29 tree 7afb58ab7665b90122d3b4505be5c6c9f8bade4b parent dbfedbb98145375106cee7ec7269611d553819dc parent b5b9d6647c1cd5eee90b58941c55f874c2a7e707 author Jeff Garzik Wed, 01 Mar 2006 01:58:38 -0500 committer Jeff Garzik Wed, 01 Mar 2006 01:58:38 -0500 Merge branch 'upstream-fixes' commit 3ef0b47ee498ea183bffd9b3b4a1eef757fef4ba tree bebce8fb3f67d8359c39a5fc9fb8a936caa4d375 parent 50eba24f2e0576910a3e23dced769b7be7f3683e author Jamie Wellnitz Tue, 28 Feb 2006 19:25:39 -0500 committer James Bottomley Tue, 28 Feb 2006 19:06:03 -0600 [SCSI] lpfc 8.1.2: Change version number to 8.1.2 Change version number to 8.1.2 Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 50eba24f2e0576910a3e23dced769b7be7f3683e tree e338c335b3b019ebbeb77dc85aad1ea5f29cf1c6 parent 0c6ac8efa83a465b950fe4dca096cd7ff1937f67 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:38 -0500 committer James Bottomley Tue, 28 Feb 2006 19:05:42 -0600 [SCSI] lpfc 8.1.2: Modify RSCN handling to unregister rpis on lost FCP_TARGETs immediately Modify RSCN handling to unregister rpis on lost FCP_TARGETs immediately Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 0c6ac8efa83a465b950fe4dca096cd7ff1937f67 tree febbaea575e431c64e56ee741b3024c68e3241fe parent 8189fd19ac5ee517f276982c5947ef7f565841ad author Jamie Wellnitz Tue, 28 Feb 2006 19:25:36 -0500 committer James Bottomley Tue, 28 Feb 2006 19:05:14 -0600 [SCSI] lpfc 8.1.2: Fix panic caused by HBA resets and target side cable pulls Fix panic caused by HBA resets and target side cable pulls Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 8189fd19ac5ee517f276982c5947ef7f565841ad tree e2a02fca035aefac77043f2f93fc8659b3d65020 parent 25594c6b84ff96e156d8cf8168d68f50e07e8318 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:35 -0500 committer James Bottomley Tue, 28 Feb 2006 19:04:52 -0600 [SCSI] lpfc 8.1.2: Fixed module parameter descriptions. Fixed module parameter descriptions. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 25594c6b84ff96e156d8cf8168d68f50e07e8318 tree c692ec480f9399a940d45bdb148baf0e05bcaac5 parent 367c27134a94dce351080ae66ab87a1b296d1e64 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:34 -0500 committer James Bottomley Tue, 28 Feb 2006 19:04:28 -0600 [SCSI] lpfc 8.1.2: Code cleanup of lpfc_mbx_cmpl_config_link Code cleanup of lpfc_mbx_cmpl_config_link Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 367c27134a94dce351080ae66ab87a1b296d1e64 tree 270e6ab2fab043403c311692c518938471076981 parent 2fe165b65089925292122e9772321738627f325c author Jamie Wellnitz Tue, 28 Feb 2006 19:25:32 -0500 committer James Bottomley Tue, 28 Feb 2006 19:03:12 -0600 [SCSI] lpfc 8.1.2: Allow turning on internal loop-back mode Allow turning on internal loop-back mode Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 2fe165b65089925292122e9772321738627f325c tree 275ed8dc03c43545576cbbb4d0a2707d2b981ed3 parent 082c02667d98d3060f63382e7a695d58d4c8c5e4 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:31 -0500 committer James Bottomley Tue, 28 Feb 2006 19:02:47 -0600 [SCSI] lpfc 8.1.2: Code style changes for Discovery code Code style changes for Discovery code Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 082c02667d98d3060f63382e7a695d58d4c8c5e4 tree 5924dcbe426120200948cbabe56df5e5238be138 parent 5024ab179c13d763f95c8391f45f22309609f479 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:30 -0500 committer James Bottomley Tue, 28 Feb 2006 19:02:11 -0600 [SCSI] lpfc 8.1.2: Make lpfc_els_rsp_rps_acc and lpfc_els_rsp_rpl_acc static Make lpfc_els_rsp_rps_acc and lpfc_els_rsp_rpl_acc static Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 5024ab179c13d763f95c8391f45f22309609f479 tree 7c22b094371c8831f8724d7a2e8580a3ed394c1f parent 41415862a23f422b80eccc92cf885935139e2415 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:28 -0500 committer James Bottomley Tue, 28 Feb 2006 19:01:51 -0600 [SCSI] lpfc 8.1.2: Added support for FAN Added support for FAN Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 41415862a23f422b80eccc92cf885935139e2415 tree e3a9537653e472f15405778c4dcc678a56304848 parent d9d959c41f013439508e0fa1d31f5644d8d626ef author Jamie Wellnitz Tue, 28 Feb 2006 19:25:27 -0500 committer James Bottomley Tue, 28 Feb 2006 19:00:36 -0600 [SCSI] lpfc 8.1.2: Add ERROR and WARM_START modes for diagnostic purposes. Add ERROR and WARM_START modes for diagnostic purposes. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit d9d959c41f013439508e0fa1d31f5644d8d626ef tree 0f4e8131152858ad64de4f24e272e210c3b4204a parent 7f0b5b1913ba20ae035adbaeca176e78a53fa7a8 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:26 -0500 committer James Bottomley Tue, 28 Feb 2006 19:00:11 -0600 [SCSI] lpfc 8.1.2: Remove hba_list from struct lpfc_hba Remove hba_list from struct lpfc_hba Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 7f0b5b1913ba20ae035adbaeca176e78a53fa7a8 tree 9919be31d3cf0cef742536aec9cf885883848184 parent c9f8735beadfba403045c4423c91bbcf594b6ef2 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:24 -0500 committer James Bottomley Tue, 28 Feb 2006 18:58:02 -0600 [SCSI] lpfc 8.1.2: Correct use of the hostdata field in scsi_host Correct use of the hostdata field in scsi_host Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit c9f8735beadfba403045c4423c91bbcf594b6ef2 tree 472f7053abdfe1b18fecddf3caacdd2976e7baeb parent b28485acb930f67c014024bc3b9c01129124e566 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:23 -0500 committer James Bottomley Tue, 28 Feb 2006 18:57:23 -0600 [SCSI] lpfc 8.1.2: Misc FC Discovery changes : Misc FC Discovery changes : - Added FC_BYPASSED_MODE statistic - Corrected some log message data - Fix up Discovery infrastructure to support FAN: Allow Fabric entities to flow thru DSM Fix up linkup/linkdown unregister login processing for Fabric entities Clean up Discovery code Utilize nodev_tmo for Fabric entities - Use of 3 * ratov for CT handling timeouts - Fix up DSM to make more appropriate decisions and clean up code. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit b28485acb930f67c014024bc3b9c01129124e566 tree 1fcbc64296d1b592457f56474ce82f3870513627 parent 406d6041ace581b63a7898f3c1ef036c58c74989 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:21 -0500 committer James Bottomley Tue, 28 Feb 2006 18:56:23 -0600 [SCSI] lpfc 8.1.2: Add module parameter to limit number of outstanding commands per lpfc HBA Add module parameter to limit number of outstanding commands per lpfc HBA Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 406d6041ace581b63a7898f3c1ef036c58c74989 tree 29388d4dbafbe59382bdd8ce40981c9b48ac7738 parent 901a920f0759c6ea94255f3c2cd6ec324f7e4752 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:20 -0500 committer James Bottomley Tue, 28 Feb 2006 18:55:50 -0600 [SCSI] lpfc 8.1.2: Fixed a double insertion of mail box object to the SLI mailbox list. Fixed a double insertion of mail box object to the SLI mailbox list. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 901a920f0759c6ea94255f3c2cd6ec324f7e4752 tree 073f8d1071b0c2193fcbcda0b33a3279dd3e2cb4 parent 7062c5281c68dfdb685ec9ba25cfc7b6a15bc0fe author Jamie Wellnitz Tue, 28 Feb 2006 19:25:19 -0500 committer James Bottomley Tue, 28 Feb 2006 18:55:24 -0600 [SCSI] lpfc 8.1.2: Fixed system panic in lpfc_sli_brdreset during dynamic add of LP11K Fixed system panic in lpfc_sli_brdreset during dynamic add of LP11K Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 7062c5281c68dfdb685ec9ba25cfc7b6a15bc0fe tree 00699178b6bf29ce87b8f98e4cf7205e9cd6d648 parent 6ad425356bba9664393b579d81df8135ca1510e6 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:17 -0500 committer James Bottomley Tue, 28 Feb 2006 18:54:09 -0600 [SCSI] lpfc 8.1.2: Explicitly initialize the skip_post argument to lpfc_sli_send_reset Explicitly initialize the skip_post argument to lpfc_sli_send_reset on a ERATT interrupt. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 6ad425356bba9664393b579d81df8135ca1510e6 tree d8eeed5accb502d9e099e2dc9d440169a4b50e78 parent 7bb3b137abf2b7073e683c14cfe062d811d35247 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:16 -0500 committer James Bottomley Tue, 28 Feb 2006 18:53:33 -0600 [SCSI] lpfc 8.1.2: Fixed a race condition in the PLOGI retry logic. Fixed a race condition in the PLOGI retry logic. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 7bb3b137abf2b7073e683c14cfe062d811d35247 tree 3293962805fc790ef90fd5aa28171cb419dd82c4 parent 0228aadd0fb1d8ca90efbe74291f3b5b753c2da2 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:15 -0500 committer James Bottomley Tue, 28 Feb 2006 18:52:50 -0600 [SCSI] lpfc 8.1.2: Handling of ELS commands RRQ, RPS, RPL and LIRR correctly Handling of ELS commands RRQ, RPS, RPL and LIRR correctly Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 0228aadd0fb1d8ca90efbe74291f3b5b753c2da2 tree 739ef15f5560cbccda5aa2236c9678af785f5b10 parent 0c71fd9e433c032c08e85a955471bc03138afa80 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:13 -0500 committer James Bottomley Tue, 28 Feb 2006 18:51:38 -0600 [SCSI] lpfc 8.1.2: Remove unused SLI_IOCB_HIGH_PRIORITY Remove unused SLI_IOCB_HIGH_PRIORITY Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 0c71fd9e433c032c08e85a955471bc03138afa80 tree dba4b0012622016cf2e86a7c0db5042df2354ee7 parent 3bbae37ab42d9d7d6c707e275ea944104a1f38ca author Jamie Wellnitz Tue, 28 Feb 2006 19:25:12 -0500 committer James Bottomley Tue, 28 Feb 2006 18:51:19 -0600 [SCSI] lpfc 8.1.2: Remove unreferenced cfg_fcp_bind_method from struct lpfc_hba Remove unreferenced cfg_fcp_bind_method from struct lpfc_hba Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 3bbae37ab42d9d7d6c707e275ea944104a1f38ca tree 306a7a3b7dbdc02eb27099f3d5669007c7f6d752 parent 32f95792500794a0a7cce266b7dafb2bee323bf8 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:11 -0500 committer James Bottomley Tue, 28 Feb 2006 18:50:44 -0600 [SCSI] lpfc 8.1.2: Remove unused prototypes from lpfc_crtn.h Remove unused prototypes from lpfc_crtn.h Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 9585da3729e7e27bf22818625c10ac6c64ebb609 tree 8c8d46f7f2cc933fdf75a6a75cf593a63f7b8717 parent 8080d5497146d5d27d9e8e78229d1adc7fe280cf parent 6749c5507388f3fc3719f57a54b540ee83f6661a author Kumar Gala Tue, 28 Feb 2006 11:25:22 -0600 committer Kumar Gala Tue, 28 Feb 2006 11:25:22 -0600 Merge branch 'master' of git+ssh://galak@master.kernel.org/pub/scm/linux/kernel/git/galak/powerpc commit 6a92a4e0d201aea6d7c83f100d77310676b2e049 tree 89a17578d18b1cc3d653c75f00da6455e4bdcaa7 parent a8b76b491510b7591c584838d0d7922f9ffe5c2c author Dave Jones Tue, 28 Feb 2006 00:54:25 -0500 committer Dave Jones Tue, 28 Feb 2006 00:54:25 -0500 [AGPGART] Lots of CodingStyle/whitespace cleanups. Eliminate trailing whitespace. s/if(/if (/ s/for(/for (/ Signed-off-by: Dave Jones commit 32ee8c3e470d86588b51dc42ed01e85c5fa0f180 tree d544cc24c37c02f44f9cf89cb5647d74a61d7ce6 parent 8ad5496d2359a19127ad9f2eda69485025c9917f author Dave Jones Tue, 28 Feb 2006 00:43:23 -0500 committer Dave Jones Tue, 28 Feb 2006 00:43:23 -0500 [CPUFREQ] Lots of whitespace & CodingStyle cleanup. Signed-off-by: Dave Jones commit 32f95792500794a0a7cce266b7dafb2bee323bf8 tree f7565bd227ffbb71b72f306de84bb1dca3bd0917 parent ffedb4522571ac170f941678d138a31bc0884ab4 author Brian King Wed, 22 Feb 2006 14:28:24 -0600 committer James Bottomley Mon, 27 Feb 2006 23:38:59 -0600 [SCSI] scsi: Handle device_add failure in scsi_alloc_target Fixes scsi to handle device_add failure in scsi_alloc_target. Without this patch, if this call were to fail, we can oops when we free the target. Signed-off-by: Brian King Signed-off-by: James Bottomley commit ffedb4522571ac170f941678d138a31bc0884ab4 tree 996572da6cecf4295c730b13c959d5d19836a8c5 parent 1fa44ecad2b86475e038aed81b0bf333fa484f8b author James Bottomley Thu, 23 Feb 2006 14:27:18 -0600 committer James Bottomley Mon, 27 Feb 2006 23:37:45 -0600 [SCSI] fix scsi process problems and clean up the target reap issues In order to use the new execute_in_process_context() API, you have to provide it with the work storage, which I do in SCSI in scsi_device and scsi_target, but which also means that we can no longer queue up the target reaps, so instead I moved the target to a state model which allows target_alloc to detect if we've received a dying target and wait for it to be gone. Hopefully, this should also solve the target namespace race. Signed-off-by: James Bottomley commit 8ad5496d2359a19127ad9f2eda69485025c9917f tree 4c80c8f9dac70cd92d611ef113687fb9f2c6796e parent 2c906ae67b5b2fc3585230b16406400a363b42e4 author Dave Jones Tue, 28 Feb 2006 00:37:44 -0500 committer Dave Jones Tue, 28 Feb 2006 00:37:44 -0500 [CPUFREQ] Remove duplicate cpuinfo struct We already have one of these declared, so use it, instead of declaring a second one for no good reason. Signed-off-by: Dave Jones commit 2c906ae67b5b2fc3585230b16406400a363b42e4 tree fc1aba2158f37a741de0f1b3918b326225194ba3 parent d4f0f122ec407bd1b4d1c773d0c87edc6a92cd26 author Dave Jones Tue, 28 Feb 2006 00:36:32 -0500 committer Dave Jones Tue, 28 Feb 2006 00:36:32 -0500 [CPUFREQ] Silence powernow-k8 warning on k7's. Signed-off-by: Dave Jones commit 6749c5507388f3fc3719f57a54b540ee83f6661a tree c069f990f86b020a14b50759d0c75475eedde186 parent 2cf82c0256b198ae28c465f2c4d7c12c836ea5ea parent 56ec6462af9cba56a04439154e5768672d6f390f author Paul Mackerras Tue, 28 Feb 2006 16:35:24 +1100 committer Paul Mackerras Tue, 28 Feb 2006 16:35:24 +1100 Merge ../powerpc-merge commit 1fa44ecad2b86475e038aed81b0bf333fa484f8b tree 62e9e9aac0aaf64e6f8e69809d8ab513e22346a1 parent ba3af0aff042caa1f41b5f7164cab37c717b8811 author James Bottomley Thu, 23 Feb 2006 12:43:43 -0600 committer James Bottomley Mon, 27 Feb 2006 23:34:40 -0600 [SCSI] add execute_in_process_context() API We have several points in the SCSI stack (primarily for our device functions) where we need to guarantee process context, but (given the place where the last reference was released) we cannot guarantee this. This API gets around the issue by executing the function directly if the caller has process context, but scheduling a workqueue to execute in process context if the caller doesn't have it. Signed-off-by: James Bottomley commit ba3af0aff042caa1f41b5f7164cab37c717b8811 tree 62f0b592202522a5a92fc870a5c44ee854b1f90f parent 6d73c8514da241c6b1b8d710a6294786604d7142 author Mike Christie Wed, 22 Feb 2006 02:11:59 -0600 committer James Bottomley Mon, 27 Feb 2006 23:32:39 -0600 [SCSI] don't call ips_eh_reset in ips_queue to avoid deadlock When the locking was changed in the eh code ips_eh_reset was changed so that it was a wraper around __ips_eh_reset and all ips_eh_reset does is grab the host lock and then calls __ips_eh_reset. In the queuecommand, ips_queue is called with the host_lock held so if it calls ips_eh_reset we will have a problem. This patch just has ips_queue call __ips_eh_reset. Patch is only compile tested. I do not have the HW. Signed-off-by: Mike Christie Acked-by: Hammer, Jack Signed-off-by: James Bottomley commit 6d73c8514da241c6b1b8d710a6294786604d7142 tree 896fdd4d3f2d7094dc75a774f8ae2128d0fcb1c5 parent fc25307d06f524d6c04b371b236dc9e62186058c author Al Viro Thu, 23 Feb 2006 02:03:16 +0100 committer James Bottomley Mon, 27 Feb 2006 23:31:07 -0600 [SCSI] scsi_lib: fix recognition of cache type of Initio SBP-2 bridges Regardless what mode page was asked for, Initio INIC-14x0 and INIC-2430 always return page 6 without mode page headers. Try to recognise this as a special case in scsi_mode_sense and setting the mode sense headers accordingly. Signed-off-by: Al Viro Signed-off-by: James Bottomley commit fc25307d06f524d6c04b371b236dc9e62186058c tree f90d3f873c6ffc6644512fc21d058f2159cff1b0 parent 1bfc5d9d5eb8e1a2efacc306bc55c248ed259a8e author Matthew Wilcox Sat, 18 Feb 2006 20:52:31 -0700 committer James Bottomley Mon, 27 Feb 2006 23:26:56 -0600 [SCSI] Improve message printing code Fix a bug where we would consume one byte too many in the message printing code. Add support for 256-byte long messages. Add support for the Modify Bidirectional Data Pointer message. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1bfc5d9d5eb8e1a2efacc306bc55c248ed259a8e tree 503f6cd4f481e16db7c3b00326e07b0dca8942e8 parent 8cac814501677e9f6a824cf4d423122ac8d67fcb author Alan Stern Thu, 09 Feb 2006 15:26:18 -0500 committer James Bottomley Mon, 27 Feb 2006 23:24:09 -0600 [SCSI] Recognize missing LUNs for non-standard devices Some non-standard SCSI targets or protocols, such as USB UFI, report "no LUN present" by setting the Peripheral Device Type to 0x1f and the Peripheral Qualifier to 0 (not 3 as the standard requires) in the INQUIRY response. This patch (as650b) adds a new target flag and code to accomodate such targets. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 8cac814501677e9f6a824cf4d423122ac8d67fcb tree 60dfd19ceaf02739cbab9d9b42cb6b8e9c11e543 parent fe27381d16c6683c55e618360d0d11bd43647e43 author Christoph Hellwig Mon, 06 Feb 2006 15:40:45 +0100 committer James Bottomley Mon, 27 Feb 2006 23:08:37 -0600 [SCSI] aic7xxx: semaphore to completion conversion On Tue, Jan 31, 2006 at 06:20:18PM +0100, Christoph Hellwig wrote: > switch eh_sem to a completion. due to wait_for_completion_timeout this > also nicely simplifies the code. Unfortunately it's untested, so if > someone with the hardware could give it a try that would be nice. Once > it works the same thing can be applied to aic79xx. New version that switches to the common onstack completion and just a pointer in the platform_data struct idiom. This gets rid of all the flags fiddling. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit fe27381d16c6683c55e618360d0d11bd43647e43 tree 142cd1c8661480081b293fe50de9354b0b181ffd parent 38e14f895b212943995379dea824cc52b0c25991 author Christoph Hellwig Tue, 14 Feb 2006 18:45:06 +0100 committer James Bottomley Mon, 27 Feb 2006 22:55:14 -0600 [SCSI] aacraid: use kthread_ API Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. Signed-off-by: Christoph Hellwig Acked-by: Salyzyn, Mark Signed-off-by: James Bottomley commit 38e14f895b212943995379dea824cc52b0c25991 tree 54d6f6b76eba15f92f9cd991bfd3329b2884ea59 parent a012564136a665f8d63443c057ba368572b483df author James Bottomley Fri, 17 Feb 2006 14:58:47 -0800 committer James Bottomley Mon, 27 Feb 2006 22:55:13 -0600 [SCSI] Add EXPORT_SYMBOL for spi msg functions Signed-off-by: James Bottomley commit a012564136a665f8d63443c057ba368572b483df tree bc70eb34b786be000b3465d16e8729f1644ea5a5 parent e3094447e013a59ccedcf60f6055f18225bd8465 author Christoph Hellwig Thu, 16 Feb 2006 13:31:47 +0100 committer James Bottomley Mon, 27 Feb 2006 22:55:13 -0600 [SCSI] sas: add support for enclosure and bad ID rphy attributes Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit e3094447e013a59ccedcf60f6055f18225bd8465 tree dce18a16c3879fb3df85e1be9ba5e7e3e91f3eb3 parent ae198df37775e4471fae0b023061667275b2f71b author Christoph Hellwig Thu, 16 Feb 2006 13:25:36 +0100 committer James Bottomley Mon, 27 Feb 2006 22:55:12 -0600 [SCSI] mptsas: add support for enclosure and bay identifier attributes Adds support to retrieve the enclosure and bay identifiers. This patch is from Eric with minor modifications from me, rewritten from a buggy patch of mine, based on the earlier CSMI implementation from Eric.. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit ae198df37775e4471fae0b023061667275b2f71b tree 3a361e4868bc055e79ea9fa38ecaa317cb959e9c parent 0320503dce208c03f296a09d9a18a992ab88cbd5 author Ralf Baechle Thu, 09 Feb 2006 11:16:27 -0500 committer James Bottomley Mon, 27 Feb 2006 22:55:11 -0600 [SCSI] jazz_esp: Fix sparse warnings. Using plain integer as NULL pointer. Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit 0320503dce208c03f296a09d9a18a992ab88cbd5 tree 8ccaaa00ad70d370b2d06381cdabcdc45777c1f2 parent e24d873d250f9999ad3703f220e3759c1fb70998 author Ralf Baechle Thu, 09 Feb 2006 11:15:49 -0500 committer James Bottomley Mon, 27 Feb 2006 22:55:11 -0600 [SCSI] jazz_esp: Delete useless prototype Signed-off-by: James Bottomley commit e24d873d250f9999ad3703f220e3759c1fb70998 tree c35506de006417b827bbaf62fc0e532df6ad39b3 parent 6ea3c0b2dac0d6a857d6bc010e544f4c901fff78 author Matthew Wilcox Tue, 07 Feb 2006 08:05:26 -0700 committer James Bottomley Mon, 27 Feb 2006 22:55:10 -0600 [SCSI] Make spi_print_msg more consistent Almost all the output from spi_print_msg() has a trailing space. This patch fixes up the three cases that don't. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 6ea3c0b2dac0d6a857d6bc010e544f4c901fff78 tree 0650d6e8b5be747eb192e558dd90e875ca7a13fb parent b0dc1db15225d5801bf3105966c9ce12c5142013 author Matthew Wilcox Tue, 07 Feb 2006 07:54:46 -0700 committer James Bottomley Mon, 27 Feb 2006 22:55:09 -0600 [SCSI] Add spi_populate_*_msg functions Introduce new helpers: - spi_populate_width_msg() - spi_populate_sync_msg() - spi_populate_ppr_msg() and use them in drivers which already enable the SPI transport. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b0dc1db15225d5801bf3105966c9ce12c5142013 tree d2cb690585b8e45da3efbb80099b559954dd490e parent ea697e456a278fb74a925a6c6befe04054520994 author Matthew Wilcox Fri, 17 Feb 2006 13:18:41 -0700 committer James Bottomley Mon, 27 Feb 2006 22:55:08 -0600 [SCSI] ncr53c8xx update Delete unused NAME53C definition Remove use of the M_* constants; use the common SCSI constants instead Translate some remaining German Add a missing changelog entry Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit ea697e456a278fb74a925a6c6befe04054520994 tree 2f38fa647b17848b7c788addbd2187b1f972a3fa parent a97a83a06b44d4d1cb01191423caf9813a150b95 author Matthew Wilcox Tue, 07 Feb 2006 08:01:02 -0700 committer James Bottomley Mon, 27 Feb 2006 22:55:07 -0600 [SCSI] unused show_spi_transport_period_helper parameter show_spi_transport_period_helper() doesn't need the class_device parameter Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit a97a83a06b44d4d1cb01191423caf9813a150b95 tree f74949bd8b8374036d19947b43f3e6d239eb5710 parent 1acc0b0ba409dcf4909890fb33e0829f7fd400be author Matthew Wilcox Sun, 05 Feb 2006 08:01:33 -0700 committer Mon, 27 Feb 2006 22:55:07 -0600 [SCSI] fix uninitialized variable error in __scsi_add_device, sdev may be uninitialised if scsi_host_scan_allowed() returns false. Fix by initialising at the top of the routine. Also rely on the fact that scsi_probe_and_add_lun() only actually fills in the sdev pointer if the SCSI_SCAN_LUN_PRESENT case (so no need to check the return value). Signed-off-by: James Bottomley commit 1acc0b0ba409dcf4909890fb33e0829f7fd400be tree f4590439d51664e68745a8f427fae91b75b520ee parent 03fbcbcd57e9d1bc5a4fe6a81c1845e7365ddabc author Andrew Morton Wed, 04 Jan 2006 18:30:03 -0800 committer Mon, 27 Feb 2006 22:55:06 -0600 [SCSI] cciss: kfree(NULL) is legal Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 03fbcbcd57e9d1bc5a4fe6a81c1845e7365ddabc tree 8423136d0945691df0fb5537ff4b1e97a51deac1 parent f8a88b19b9d4f59bd625b4852c1b1138a5cf89f3 author Adrian Bunk Wed, 25 Jan 2006 02:00:52 +0100 committer Mon, 27 Feb 2006 22:55:06 -0600 [SCSI] drivers/message/fusion/mptfc.c: make 2 functions static This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit f8a88b19b9d4f59bd625b4852c1b1138a5cf89f3 tree b57dab8bea1b8575da4e2922f798815b2ac979b5 parent 4f8d98abaf957691f9543b9b1b610d49aa0f662b author Linas Vepstas Fri, 03 Feb 2006 16:52:42 -0600 committer Mon, 27 Feb 2006 22:55:05 -0600 [SCSI] PCI Error Recovery: IPR SCSI device driver Various PCI bus errors can be signaled by newer PCI controllers. This patch adds the PCI error recovery callbacks to the IPR SCSI device driver. The patch has been tested, and appears to work well. Signed-off-by: Linas Vepstas Signed-off-by: Brian King Signed-off-by: James Bottomley commit 4f8d98abaf957691f9543b9b1b610d49aa0f662b tree 7bd33445509f221d2bcdf543942e757efb6121bb parent 5e3c34c1e988a0dfe177c38cf324e8e321c55ef5 author Moore, Eric Thu, 02 Feb 2006 17:20:05 -0700 committer Mon, 27 Feb 2006 22:55:04 -0600 [SCSI] fusion - mptlan - remove wierd humor print Removes wierd humor, and bad language printk in mptlan. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 5e3c34c1e988a0dfe177c38cf324e8e321c55ef5 tree 812e95ccda5860a16fe3f53343499d2c607cbf23 parent c67a848c3587296fe9794c95d1be7109c4c85461 author Greg KH Wed, 18 Jan 2006 16:17:46 -0800 committer Mon, 27 Feb 2006 22:55:04 -0600 [SCSI] Remove devfs support from the SCSI subsystem As devfs has been disabled from the kernel tree for a number of months now (5 to be exact), here's a patch against 2.6.16-rc1-git1 that removes support for it from the SCSI subsystem. The patch also removes the scsi_disk devfs_name field as it's no longer needed. Signed-off-by: Greg Kroah-Hartman Signed-off-by: James Bottomley commit c67a848c3587296fe9794c95d1be7109c4c85461 tree bff00094bff5d8ef71273559da2d2c7c698addf7 parent 24669f75a3231fa37444977c92d1f4838bec1233 author Matthew Wilcox Tue, 17 Jan 2006 11:54:24 -0700 committer Mon, 27 Feb 2006 22:55:02 -0600 [SCSI] Neaten comments in scsi_cmnd.h Wrap these two comments at 80 columns Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 24669f75a3231fa37444977c92d1f4838bec1233 tree 3b64076b7d031aa31b95caeb512fb7e68b5fd28f parent b9a33cebac70d6f67a769ce8d4078fee2b254ada author Jes Sorensen Mon, 16 Jan 2006 10:31:18 -0500 committer Mon, 27 Feb 2006 22:55:02 -0600 [SCSI] SCSI core kmalloc2kzalloc Change the core SCSI code to use kzalloc rather than kmalloc+memset where possible. Signed-off-by: Jes Sorensen Signed-off-by: James Bottomley commit 07981aa43f6aec32b875f360755ed3d14f9d5139 tree 21baf289bc23882f058e7ed90f80c76d01408119 parent a23f460dd0c7c9c58b03494c7819e126b2c72383 author Pete Zaitcev Sun, 26 Feb 2006 16:29:51 -0800 committer John W. Linville Mon, 27 Feb 2006 20:14:58 -0500 [PATCH] ieee80211_geo.c: remove frivolous BUG_ON's I have come to consider BUG_ON generally harmful. The idea of an assert is to prevent a program to execute past a point where its state is known erroneous, thus preventing it from dealing more damage to the data (or hiding the traces of malfunction). The problem is, in kernel this harm has to be balanced against the harm of forced reboot. The last straw was our softmac tree, where "iwlist eth1 scan" causes a lockup. It is absolutely frivolus and provides no advantages a normal assert has to provide. In fact, doing this impedes debugging. Signed-off-by: Pete Zaitcev Signed-off-by: John W. Linville commit a23f460dd0c7c9c58b03494c7819e126b2c72383 tree a3570122d5475eefc46c6550c97042d96eceb2a6 parent acfaf10be5c19f7dceb9d7372039dc45af66b100 author Dan Williams Mon, 27 Feb 2006 16:28:36 -0500 committer John W. Linville Mon, 27 Feb 2006 20:14:58 -0500 [PATCH] wireless/airo: Remove 'Setting transmit key' info messages These messages end up polluting logs when things like NetworkManager or wpa_supplicant are controlling the driver. They aren't really that useful, and no other drivers output messages like this when the user fiddles with encryption keys. Users can use iwconfig and other wireless-tools methods to determine and change the current transmit key if they wish to do so manually. Therefore, remove the messages. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit acfaf10be5c19f7dceb9d7372039dc45af66b100 tree 75dce83cc4495a13056fde1c2166323e07373858 parent c45ae87ec9d03c9adfc466a6b560cb38b154813a parent 4832843d773462643cc471ca715382f5e509afb3 author John W. Linville Mon, 27 Feb 2006 20:13:10 -0500 committer John W. Linville Mon, 27 Feb 2006 20:13:10 -0500 Merge branch 'upstream-fixes' commit c45ae87ec9d03c9adfc466a6b560cb38b154813a tree 1fb252ca1a9e8db03f4c557017d1d6a7039f4733 parent 9f5a405b6843933c1cae5826046a5dd6357f142a parent 09e4f9029da1b53e835555c353a89c36b71233b0 author John W. Linville Mon, 27 Feb 2006 20:12:42 -0500 committer John W. Linville Mon, 27 Feb 2006 20:12:42 -0500 Merge branch 'from-jgarzik-upstream' commit 9f5a405b6843933c1cae5826046a5dd6357f142a tree bcdbb0175d37b780551b71c40abcde964a8905eb parent b7cffb028abbffff3ba0b87268ecb775ed354049 parent 051d3cbd96909b2fe6b5038e7bbe77f41356db05 author John W. Linville Mon, 27 Feb 2006 20:12:23 -0500 committer John W. Linville Mon, 27 Feb 2006 20:12:23 -0500 Merge branch 'from-linus' commit 09e4f9029da1b53e835555c353a89c36b71233b0 tree 81d2a6de51b1bb3c704e5385dbc90ca79efa69bc parent 750b50ab5687125d8a1dc946d931b00acf016e2c parent dbfedbb98145375106cee7ec7269611d553819dc author John W. Linville Mon, 27 Feb 2006 19:35:48 -0500 committer John W. Linville Mon, 27 Feb 2006 19:35:48 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 7aa6ba41362a7f888ad11fdcfe51ca8d92226cd3 tree 3d7b177ee966f21d1ac6e630061bdb0b256e76d8 parent e95a9ec1bb66e07b138861c743192f06e7b3e4de author Jes Sorensen Fri, 17 Feb 2006 05:18:43 -0500 committer Tony Luck Mon, 27 Feb 2006 15:26:58 -0800 [IA64-SGI] SN2-XP reduce kmalloc wrapper inlining Take advantage of kzalloc() as well as reduce the size of code generated for the error returns in xpc_setup_infrastructure(). Signed-off-by: Jes Sorensen Acked-by: Dean Nelson Signed-off-by: Tony Luck commit cccc65a3b60edaf721cdee5a14f68ba009341822 tree a458d28f70cbe0e848596aad6005442a2621d388 parent ba70d0614728892b86b2be2f7eae0c696b436461 parent e95a9ec1bb66e07b138861c743192f06e7b3e4de author Jeff Garzik Mon, 27 Feb 2006 11:49:05 -0500 committer Jeff Garzik Mon, 27 Feb 2006 11:49:05 -0500 Merge branch 'master' commit dbfedbb98145375106cee7ec7269611d553819dc tree 81d2a6de51b1bb3c704e5385dbc90ca79efa69bc parent 7b0386921db20add25afd8678ed34a9253e512fc parent e95a9ec1bb66e07b138861c743192f06e7b3e4de author Jeff Garzik Mon, 27 Feb 2006 11:33:51 -0500 committer Jeff Garzik Mon, 27 Feb 2006 11:33:51 -0500 Merge branch 'master' commit 2cf82c0256b198ae28c465f2c4d7c12c836ea5ea tree 722bd1d117959450633105633c92cc22be8e8d61 parent f055affb89f587a03f3411c3fd49ef31295c3d48 author Paul Mackerras Mon, 27 Feb 2006 15:41:47 +1100 committer Paul Mackerras Mon, 27 Feb 2006 15:41:47 +1100 powerpc: Export variables used in conversions to/from cputime_t The inline cputime_to_foo and foo_to_cputime conversion functions in include/asm-powerpc/cputime.h refer to 5 variables, which need to be exported if those functions are to be usable from modules. Signed-off-by: Paul Mackerras commit e11f04962cee8f7fb0dc14983a7a461ade8f71c3 tree ee659cda87aa2b10212a95cfc73f607d2266d4ab parent 3a25f0b19f2eefd158955ab809c8947ed8feadf1 author Jesper Juhl Sat, 25 Feb 2006 21:52:50 +0100 committer Sam Ravnborg Mon, 27 Feb 2006 05:07:27 +0100 kbuild: small update of allnoconfig description 'allnoconfig' is described by 'make help' as a "minimal config", that's not strictly correct. To be pedantic, a minimal config would be one where EMBEDDED was set to Y and most things therein disabled etc. Simply answering 'no' to all options does not give a minimal config. A better description of allnoconfig is that it answers all options with 'no'. This patch updates the description. Signed-off-by: Jesper Juhl Signed-off-by: Sam Ravnborg commit 3a25f0b19f2eefd158955ab809c8947ed8feadf1 tree e8ae56ae191e2e99460587a22993da829c0e3aa2 parent 4c8fbca5836aaafd165aa8732d92ab5d4f3a6841 author Aaron Brooks Sun, 26 Feb 2006 22:25:46 -0500 committer Sam Ravnborg Mon, 27 Feb 2006 05:05:40 +0100 kbuild: make namespace.pl CROSS_COMPILE happy Using the fixed path to /usr/bin/{nm,objdump} does not allow CROSS_COMPILE environments to use namespace.pl. This patch causes namespace.pl to use $NM and $OBJDUMP if defined or fall back to the nm and objdump found in the path. Signed-off-by: Aaron Brooks Signed-off-by: Sam Ravnborg commit 4a287cfeea7056dc71d2bc352ae490a2a5bcceb0 tree 627c7b3c8d893f02d79f3a57b400ecaa2dcbde8d parent 6457af5f7eac49ff8e072fdc98c986d4ac874b04 author Duncan Sands Mon, 27 Feb 2006 00:09:48 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:48 -0300 V4L/DVB (3394): Bttv: correct bttv_risc_packed buffer size This patch fixes the strange crashes I was seeing after using bttv card, caused by a buffer overflow in bttv_risc_packed. The instruction buffer size calculation contains two errors: (a) a non-zero padding value can push the start of the next bpl section to just before a page border, leading to more scanline splits and thus additional instructions. (b) the first DMA region can be smaller than one page, so there can be a scanline split even if bpl*lines is smaller than PAGE_SIZE. For example, consider the case where offset is 0, bpl is 2, padding is 4094, lines is smaller than 2048, the first DMA region has size 1 and all others have size PAGE_SIZE, assumed to equal 4096. Then all bpl regions cross page borders and the number of instructions written is 2*lines+2, rather than lines+2 (the current estimate). With this patch the number of instructions for this example is estimated to be 2*lines+3. Also, the BUG_ON that was supposed to catch buffer overflows contained a thinko causing it fire only if the buffer was overrun by a factor of 16 or more, so it fixes the the BUG_ON's (using sizeof rather than "4"). Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit 6457af5f7eac49ff8e072fdc98c986d4ac874b04 tree c262704a5f183ee1866879597394b904d59845b8 parent dadaff2db46aae917ccdbceb2cd2ecac75767435 author Ian Pickworth Mon, 27 Feb 2006 00:09:45 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:45 -0300 V4L/DVB (3393): Cx88: reduce excessive logging - fix temporary debug code by changing printk to dprintk at level 1. - move CORE_IOCTL messages from level 1 to level 2. - this should help with selective debugging, while not filling people's logs up during normal use. Signed-off-by: Ian Pickworth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit dadaff2db46aae917ccdbceb2cd2ecac75767435 tree 8db97f6b92417de624cba7bb447d2d38439f968d parent df5a4f4fd378367db1f48e92f46ce312814cf745 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:41 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:41 -0300 V4L/DVB (3392a): XC3028 code removed from -git versions - Current xc3028 support is still experimental, requiring more work to be sent to mainstream. It will be kept only at mercurial tree on http://linuxtv.org/hg until fixed. Signed-off-by: Mauro Carvalho Chehab commit df5a4f4fd378367db1f48e92f46ce312814cf745 tree cd83bf68b03594fbc31b40296a0b8e367060eb7f parent 918c4563d9c0fafce0072ce0962a703ceba8f05d author Manu Abraham Mon, 27 Feb 2006 00:09:37 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:37 -0300 V4L/DVB (3392): Do a RESYNC for all cards After a FIFO corruptions occurrs (generally due to buffer overflow), FIFO contents needs to be discarted. Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 918c4563d9c0fafce0072ce0962a703ceba8f05d tree bfde785cadabb027602cb2eecac123ae20f6b6e6 parent 6baad3f041eec7c31ad88b52eb44205987148eba author Uwe Bugla Mon, 27 Feb 2006 00:09:34 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:34 -0300 V4L/DVB (3391): Documentation update Signed-off-by: Uwe Bugla Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 6baad3f041eec7c31ad88b52eb44205987148eba tree 403a76e860aefe8d1d8f6d9b71a9ef131f0e248c parent e7ac46469c247a931f760354deaed9cf10b75fde author Manu Abraham Mon, 27 Feb 2006 00:09:32 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:32 -0300 V4L/DVB (3390): Fix module parameters Now, root may change parameters while module is running. Thanks to Edgar Toerning Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit e7ac46469c247a931f760354deaed9cf10b75fde tree 3dd4158a80601bd5aad0160f96f6c33e213f0e9e parent 1e7eb89ba936fc1db54e247a336f3f55bdbc644d author Manu Abraham Mon, 27 Feb 2006 00:09:29 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:29 -0300 V4L/DVB (3389): Fix broken IF-OUT Relay handling Fixed broken IF-OUT on pinnacle sat board. Thanks to Edgar Toernig Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 1e7eb89ba936fc1db54e247a336f3f55bdbc644d tree 1866b11f6590fe22ce7bd532578cb0a7cdc88d59 parent 3b81fec4328799e94789e8404e6e8b7218c096f6 author Manu Abraham Mon, 27 Feb 2006 00:09:25 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:25 -0300 V4L/DVB (3388): Ignore DiSEqC messages > 6 and < 3 Ignore invalid messages on cx24110 frontend. Thanks to Edgar Toernig Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 3b81fec4328799e94789e8404e6e8b7218c096f6 tree bf46e6ebbbdae9bacf0947ea8e2311c4e1b12d88 parent 1be11e367f25d3874276d56d1c4ffed5b3cc3bb9 author Peter Beutner Mon, 27 Feb 2006 00:09:23 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:23 -0300 V4L/DVB (3386): Dvb-core: remove dead code The field "dvr" in struct dmxdev is competely unused. Remove it and code which allocates, initializes and frees it. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 1be11e367f25d3874276d56d1c4ffed5b3cc3bb9 tree 147c7388a819c07dcfd5d65d1ada9155a708f178 parent 981a16f185bdf105f0d411d87f5c276d3da60e64 author Johannes Stezenbach Mon, 27 Feb 2006 00:09:20 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:20 -0300 V4L/DVB (3385): Dvb: fix __init/__exit section references in av7110 driver use __devinit/__devexit/__devexit_p() where appropriate Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 981a16f185bdf105f0d411d87f5c276d3da60e64 tree d0f0ed11addec143cb7dde02af78e30d424597a1 parent b9ee9ad7cb91301aae0fc12e11f79ba119c133d9 author Mattias Nordstrom Mon, 27 Feb 2006 00:09:17 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:17 -0300 V4L/DVB (3382): Fix stv0297 for qam128 on tt c1500 (saa7146) I have a TT C1500 card (saa7146, STV0297) which had problems tuning channels at QAM128 (like the ones in the Finnish HTV / Welho network). A fix which seems to work perfectly so far is to change the delay for QAM128 to the same values as for QAM256 in stv0297_set_frontend(), Signed-off-by: Mattias Nordstrom Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b9ee9ad7cb91301aae0fc12e11f79ba119c133d9 tree c36ffb3427570b6872f16715ce3b122a4aaddd43 parent 44fd06fa9002c42b367c152594cc95b7632c081d author Michael Krufky Mon, 27 Feb 2006 00:09:14 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:14 -0300 V4L/DVB (3380): TUV1236d: declare buffer as static const Make buffer a static const Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 44fd06fa9002c42b367c152594cc95b7632c081d tree 296578d5a5bb6ff131ac2c8b1fa6b88be0548153 parent 36f4f334a169e5d42721d74b5d92fda89f792b06 author Hartmut Hackmann Mon, 27 Feb 2006 00:09:11 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:11 -0300 V4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe The probing code for tda8290 changes the state of the tda9887 GP ports. The patch assumes that if probing for tda8290 failed, this must be a tda9887 and restores its power on defaults. This should solve the module load order issue with some pinnacle cards. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 36f4f334a169e5d42721d74b5d92fda89f792b06 tree 79d34a7476ff8c6a8c54fad2dfe3c2a9616c3485 parent ab33d5071de7a33616842882c11b5eb52a6c26a1 author Thilo Berger Mon, 27 Feb 2006 00:09:08 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:08 -0300 V4L/DVB (3377): Support for Satelco EasyWatch DVB-S light Support for Satelco EasyWatch DVB-S light. Signed-off-by: Thilo Berger Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit ab33d5071de7a33616842882c11b5eb52a6c26a1 tree 5484a1a0d671e7191a47a1b51d5e1ae67fc8916f parent f05cce863fa399dd79c5aa3896d608b8b86d8030 author Alan Cox Mon, 27 Feb 2006 00:09:05 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:05 -0300 V4L/DVB (3376): Add cpia2 camera support There has been a CPIA2 driver out of kernel for a long time and it has been pretty clean for some time too. This is an import of the sourceforge driver which has been stripped of - 2.4 back compatibility - 2.4 old style MJPEG ioctls A couple of functions have been made static and the docs have been repackaged into Documentation/video4linux. The rvmalloc/free functions now match the cpia driver again. Other than that this is the code as is. Tested on x86-64 with a QX5 microscope. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit f05cce863fa399dd79c5aa3896d608b8b86d8030 tree 0bca256b945576dc99ae7e6d6ce6a02968f42a09 parent 2e0d447005d2ac05b15aa21b3846815f90bafbdb author Andreas Oberritter Mon, 27 Feb 2006 00:09:00 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:00 -0300 V4L/DVB (3375): Add AUDIO_GET_PTS and VIDEO_GET_PTS ioctls Add two new ioctls to read the 33 bit presentation time stamp from audio and video devices as defined in ITU T-REC-H.222.0 and ISO/IEC 13818-1. Acked-by: Johannes Stezenbach Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 2e0d447005d2ac05b15aa21b3846815f90bafbdb tree 7b6f83db521a76fc0f7d344dd2543d00d3114322 parent 0bbb9c175211c2e114216978c9630d894c7760b3 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:58 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:58 -0300 V4L/DVB (3374): Adds debuging v4l2_memory enum Some cleanup on printing enum names. v4l2_memory now translated also to name. Signed-off-by: Mauro Carvalho Chehab commit 0bbb9c175211c2e114216978c9630d894c7760b3 tree ea70bb829debac1d37d84704f64dc66822a30f9d parent 3ed33c31a7253f2b29a3813b66bf87985d3396ac author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:55 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:55 -0300 V4L/DVB (3373): Debug messages for ioctl improved Adds field and type name to debug message. Also prints now format for type=capture. Signed-off-by: Mauro Carvalho Chehab commit 3ed33c31a7253f2b29a3813b66bf87985d3396ac tree a08dabfa2ad6330fb8334e60c5ecbb12c8cb72fd parent 41f38b43e0bfbb2ba1ef3c778f376dad8820b214 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:52 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:52 -0300 V4L/DVB (3372): Fix a small bug when constructing fps and line numbers Previously, only NTSC and PAL/M were associated to 30fps and 525 lines, so, PAL/60 were not handled properly. Signed-off-by: Mauro Carvalho Chehab commit 41f38b43e0bfbb2ba1ef3c778f376dad8820b214 tree 94a8083a12fdda21f1479f6d2fe9688a60a9e205 parent a8029170b907e7bfac5f6ea3fcd5d076e90beaf3 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:49 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:49 -0300 V4L/DVB (3371): Add debug to ioctl arguments. Added a new function that allows printing ioctl arguments. This makes easier to include debug code under v4l ioctl handling. Also fixed some declarations on internal ioctl. Signed-off-by: Mauro Carvalho Chehab commit a8029170b907e7bfac5f6ea3fcd5d076e90beaf3 tree ecfa8b075e4a605fd71a4c897391bab4e57f0f45 parent f29edc22109840be0dd8e2d7d532cabac97d9c19 author Rudo Thomas Mon, 27 Feb 2006 00:08:46 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:46 -0300 V4L/DVB (3369): LifeView FlyDVB-T Duo: add support for remote control The remote controller on the LifeView FlyDVB-T Duo card work flawlessly with the same settings as the LifeView FlyDVB-T LR301 card. Signed-off-by: Rudo Thomas Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f29edc22109840be0dd8e2d7d532cabac97d9c19 tree 607822122b014f297c2a8387f2840e3ce29e932a parent 20b5ee5d491238b8de7ba0c06945d8e3935d42e6 author Michael Krufky Mon, 27 Feb 2006 00:08:43 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:43 -0300 V4L/DVB (3368): KWorld HardwareMpegTV XPert: update comments Standard video using the cx88 broadcast decoder is working, but blackbird isn't working yet, audio is only working correctly for television mode. S-Video and Composite are working for video-only, so I have them disabled for now. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 20b5ee5d491238b8de7ba0c06945d8e3935d42e6 tree ac87266bfa3710626fb04ecb77787cee26f8ed24 parent ccb1ef199162754e80c27e5b7d20817eb73a0eab author Curt Meyers Mon, 27 Feb 2006 00:08:39 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:39 -0300 V4L/DVB (3366): Kworld ATSC110: initialize the tuner for analog mode on module load - Enable the tuv1236 tuner on the Kworld-ATSC110 card so that the tuner can be identified when tuners.ko loads. - With this change it is no longer necessary to remove and reload the tuner module in order to get the tuv1236 identified. - This code was copied from the ATI HDTV Wonder init routine (in cx88-cards.c) which also uses the TUV1236D. Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ccb1ef199162754e80c27e5b7d20817eb73a0eab tree 893bb08a38001cf5dff29854de200c681a5b0345 parent 6ba509d7c73f6cea795a71ceed6cdb7e302fc4b7 author Michael Krufky Mon, 27 Feb 2006 00:08:36 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:36 -0300 V4L/DVB (3365): Kworld ATSC110: cleanups - There is no radio with this tuner card... Thanks-to: Dwaine Garden - fixed capitalization in card name. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6ba509d7c73f6cea795a71ceed6cdb7e302fc4b7 tree 84332411c7e7c8dd68a17e8771136707cc9da56e parent fbc81c072d832a0529bdb710404e7c9dc14f3043 author Curt Meyers Mon, 27 Feb 2006 00:08:32 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:32 -0300 V4L/DVB (3363): Kworld ATSC110: enable composite and svideo inputs - corrected composite input. - verified s-video input. Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit fbc81c072d832a0529bdb710404e7c9dc14f3043 tree b2dc08b549bff330073a34be654476bc9bf9cbe6 parent 3e1410adc7cc9e8511327179b5b86864be17b7f9 author Curt Meyers Mon, 27 Feb 2006 00:08:27 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:27 -0300 V4L/DVB (3362): KWorld ATSC110: implement set_pll_input - When tuning VSB, use ANT input - When tuning QAM, use CABLE input Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3e1410adc7cc9e8511327179b5b86864be17b7f9 tree 6dcbe9209a306471cd34a52487e91a11a3ad2a6b parent ecc0b94742014f21fd1ba331bb6815322800b6c8 author Andrew Burri Mon, 27 Feb 2006 00:08:23 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:23 -0300 V4L/DVB (3361): Add support for Kworld ATSC110 Signed-off-by: Andrew Burri Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ecc0b94742014f21fd1ba331bb6815322800b6c8 tree 6437d7cc5b8148975119d9858f73fd2af0b632dd parent fddd632a8f3850b3981e21a477fcb83d227353ca author Hans Verkuil Mon, 27 Feb 2006 00:08:20 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:20 -0300 V4L/DVB (3354): Fix maximum for the saturation and contrast controls. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit fddd632a8f3850b3981e21a477fcb83d227353ca tree b9524fe63477186bdcb7d43dd47e0c5bdfaa38d8 parent 4ab2b99b9f41a0a409030f1edb79a14ec2287e4b author Michael Krufky Mon, 27 Feb 2006 00:08:17 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:17 -0300 V4L/DVB (3352): Cxusb: fix lgdt3303 naming The following are specific to lgdt3303, and are being renamed to reflect this. - cxusb_lgdt330x_config renamed to cxusb_lgdt3303_config. - cxusb_lgdt330x_frontend_attach renamed to cxusb_lgdt3303_frontend_attach. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4ab2b99b9f41a0a409030f1edb79a14ec2287e4b tree c59b265753378f7450ee26d38b3cde1d6c8ed624 parent 8a9a5fbd33258b8e3e3b629a9f33254b6f1d883b author BoyZonder Mon, 27 Feb 2006 00:08:15 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:15 -0300 V4L/DVB (3349): Remote control codes for BTTV_BOARD_CONTVFMI The remote control interface for this board is the same as the one for BTTV_BOARD_CONCEPTRONIC_CTVFMI2 Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 8a9a5fbd33258b8e3e3b629a9f33254b6f1d883b tree b23f05b5d994f7a9bf99aaa559784bc462569f7b parent cb46e3c28ef8055e82dfbc64ba64dda123833036 author Ricardo Cerqueira Mon, 27 Feb 2006 00:08:11 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:11 -0300 V4L/DVB (3348): Fixed saa7134 ALSA initialization with multiple cards When multiple cards were installed, only the first card would have audio initialized, because only the first position in the array parameter defaulted to "1" To make things worse, the "enable" parameter wasn't enabled, so there was no workaround. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit cb46e3c28ef8055e82dfbc64ba64dda123833036 tree 552b9b2c74be2faaf3c19601ca8eb8146aa35eb7 parent d0456d1d67044ff2987190d0d8148a88f1a775af author Karsten Suehring Mon, 27 Feb 2006 00:08:08 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:08 -0300 V4L/DVB (3347): Pinnacle PCTV 40i: add filtered Composite2 input This patch adds another composite input to the Pinnacle PCTV 100i definition which filters the chrominace signal from the luma input. This improves video quality for Composite signals on the S-Video connector of the card. In addition the name string of the card is changed to include PCTV 40i and 50i since these cards are identical. Signed-off-by: Karsten Suehring Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d0456d1d67044ff2987190d0d8148a88f1a775af tree 50f6838782d2c4abea8ed8af0298f0214829fe4b parent 24da4e4b8dbd443c205c4ec3b2a563421e6ca319 author Tamuki Shoichi Mon, 27 Feb 2006 00:08:04 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:04 -0300 V4L/DVB (3346): Add saa713x card: ELSA EX-VISION 700TV (saa7130) Add support for ELSA EX-VISION 700TV, which is the ELSA Japan's flagship model of the software encoding TV capture card. All inputs (Television, Composite1 and S-Video) have been tested. Signed-off-by: Tamuki Shoichi Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 24da4e4b8dbd443c205c4ec3b2a563421e6ca319 tree d9beae36d067965aaf978e5edfed6a0fb5362d2c parent e2798212e3ce0057336bc0807beb3213de1dc5be author Michael Krufky Mon, 27 Feb 2006 00:08:01 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:01 -0300 V4L/DVB (3344): KWorld HardwareMpegTV XPert must set gpio2 - KWorld HardwareMpegTV XPert must set gpio2 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e2798212e3ce0057336bc0807beb3213de1dc5be tree 562cadc17cb49d1c055c5dc0cbd0c62437f59607 parent 47a9e50eb7719dc1bf01ac8b60f4d8758146d00e author Michael Krufky Mon, 27 Feb 2006 00:07:58 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:58 -0300 V4L/DVB (3343): KWorld HardwareMpegTV XPert: Add radio support - add radio support for KWorld HardwareMpegTV XPert - fix GPIO settings for tv and radio Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 47a9e50eb7719dc1bf01ac8b60f4d8758146d00e tree c632e7a53a450cfaca6382912b7b99e7b07434c7 parent 36b36562c4159cca890f29a603e829030fea5788 author Adrian Bunk Mon, 27 Feb 2006 00:07:55 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:55 -0300 V4L/DVB (3341): Upstream sync - make 2 structs static Signed-off-by: Adrian Bunk Acked-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 36b36562c4159cca890f29a603e829030fea5788 tree fc07077ff9153ed8608adb5dfee58f6d060787d8 parent 4592b3a08454bb018e482de230fd5f15757bba92 author Manu Abraham Mon, 27 Feb 2006 00:07:52 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:52 -0300 V4L/DVB (3340): Make a struct static Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 4592b3a08454bb018e482de230fd5f15757bba92 tree b3491fda24c7f3a03c6f2075ba1122102b1441eb parent dccd7c703a1ca006fc01d9fe2f14d15d1d17cdc5 author Adrian Bunk Mon, 27 Feb 2006 00:07:49 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:49 -0300 V4L/DVB (3337): Drivers/media/dvb/frontends/mt312.c: cleanups This patch contains the following possible cleanups: - update the Kconfig help to mention the VP310 - merge vp310_attach and mt312_attach into a new vp310_mt312_attach to remove some code duplication Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit dccd7c703a1ca006fc01d9fe2f14d15d1d17cdc5 tree 7d657ad74d0dda4a3f0473ef576a6fdea1911266 parent 176790f0681ad151c55068589092a813c689654c author Michael Krufky Mon, 27 Feb 2006 00:07:46 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:46 -0300 V4L/DVB (3336): Bt8xx documentation authors fix - use one Author per line, which allows us to add more authors later without creating a mess. - Add Michael Krufky due to -git commit 2cbeddc976645262dbe036d6ec0825f96af70da3 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 176790f0681ad151c55068589092a813c689654c tree c590e800f086de974cf9126616e0116acf922b3a parent 749eef857948a3de789b7d0e3b96d92199d723cf author Michael Krufky Mon, 27 Feb 2006 00:07:43 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:43 -0300 V4L/DVB (3335): Fix in-kernel build - remove tuner.ko build dependency on xc3028.o , which will be added again later. - fix the following build error when using the "make kernel-links" build method to symlink the latest code from the v4l-dvb repository into the kernel source: drivers/media/video/xc3028.c:31:20: em28xx.h: No such file or directory drivers/media/video/xc3028.c: In function `xc3028_init': drivers/media/video/xc3028.c:120: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:121: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:139: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:140: error: dereferencing pointer to incomplete type make[3]: *** [drivers/media/video/xc3028.o] Error 1 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 749eef857948a3de789b7d0e3b96d92199d723cf tree dbec0c397abfc0260054b476ba1e19825b657888 parent cfcd718d492d401a7d8a7ee3a85e48164b56e2e2 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:40 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:40 -0300 V4L/DVB (3334): Added ET61X251 fourcc type Signed-off-by: Mauro Carvalho Chehab commit cfcd718d492d401a7d8a7ee3a85e48164b56e2e2 tree e6724d27b0befb5891ad9161ea72845c8addc9fa parent 9475fb1c717ee5ce3df767b8e3b9439d341f043d author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:37 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:37 -0300 V4L/DVB (3332): XC3028 code marked with an special define option - Current xc3028 support is still experimental, requiring more work to be sent to mainstream. So, it was marked inside some defines, in order to be removed by gentree.pl stript. Script also updated to remove it. Signed-off-by: Mauro Carvalho Chehab commit 9475fb1c717ee5ce3df767b8e3b9439d341f043d tree bea4a1f4e3febaf330b603b3427e442e06ca893e parent cce91e36d74be635abb99aa1dc74951e11be8aea author Markus Rechberger Mon, 27 Feb 2006 00:07:34 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:34 -0300 V4L/DVB (3293): Fixed amux hauppauge hvr900/terratec hybrid xs Fixed amux hauppauge hvr900/terratec hybrid xs Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit cce91e36d74be635abb99aa1dc74951e11be8aea tree 07176d4606c4277d654e1e405a03c668c05a0196 parent 0004fd59d57a5875db8897966c414a88b5dad481 author Markus Rechberger Mon, 27 Feb 2006 00:07:31 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:31 -0300 V4L/DVB (3292): Fixed xc3028 firmware extractor, added terratec fw support Fixed xc3028 firmware extractor for terratec's emBDA.sys firmware Fixed delay in firmwareupload, now terratec's firmware also works Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 0004fd59d57a5875db8897966c414a88b5dad481 tree e0f28025301fb87125c38ed51a51f6f29456d1fa parent 1d519605f13dd2c51024060465a16ddd1abfb649 author Markus Rechberger Mon, 27 Feb 2006 00:07:27 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:27 -0300 V4L/DVB (3291): Added support for xc3028 analogue tuner (Hauppauge HVR900, Terratec Hybrid XS) Added support for xc3028 to v4l which adds support for: * Terratec Hybrid XS (analogue) * Hauppauge HVR 900 (analogue) Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 1d519605f13dd2c51024060465a16ddd1abfb649 tree 2d6f30bb756a4becda0caacf763a5a36f785c0b7 parent 0ac139d60fb6107950e250bbf8bd6c2c73dfafbd author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:24 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:24 -0300 V4L/DVB (3300b): .gitignore should also ignore StGit generated dirs StGit genreates patches-* when you run stg export command. It makes no sense to show such directories as changes on git status. Signed-off-by: Mauro Carvalho Chehab commit 0ac139d60fb6107950e250bbf8bd6c2c73dfafbd tree f79556d2e5a7664762974f84d0c700ba267ab951 parent 282b7cb3e03d9ada4067083e61919d74197a1e5a author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:21 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:21 -0300 V4L/DVB (3300a): Removing personal email from DVB maintainers Signed-off-by: Mauro Carvalho Chehab commit 4c8fbca5836aaafd165aa8732d92ab5d4f3a6841 tree f4a9d7f73a92d540ebf4a53e36ed19d160e2a4de parent cc006288fb538005a14ca4297250abbf0beeb0b9 author Sam Ravnborg Sun, 26 Feb 2006 22:18:11 +0100 committer Sam Ravnborg Sun, 26 Feb 2006 22:18:11 +0100 kbuild: whitelist false section mismatch warnings In several cases the section mismatch check triggered false warnings. Following patch introduce a whitelist to 'false positives' are not warned of. Two types of patterns are recognised: 1) Typical case when a module parameter is _initdata 2) When a function pointer is assigned to a driver structure In both patterns we rely on the actual name of the variable assigned Signed-off-by: Sam Ravnborg commit cc006288fb538005a14ca4297250abbf0beeb0b9 tree 58c1b873ddfd5c9053cb80249e522e89e18126c2 parent 382168f4791822de7d44d9c634fbfdf8bc08c91b author Sam Ravnborg Sun, 26 Feb 2006 20:15:58 +0100 committer Sam Ravnborg Sun, 26 Feb 2006 20:15:58 +0100 kbuild: ignore all generated files for make allmodconfig (x86_64) With following patch we now ignore all generated files for make allmodconfig for x86_64. Signed-off-by: Sam Ravnborg commit 382168f4791822de7d44d9c634fbfdf8bc08c91b tree c4a318a261b351f5baf2e5bf43e809b80d864081 parent c3f9da90b6e63c968070aa72057fe15356b3f7b5 author Sam Ravnborg Sun, 26 Feb 2006 20:11:17 +0100 committer Sam Ravnborg Sun, 26 Feb 2006 20:11:17 +0100 kbuild: Add copyright to modpost.c It seems popular to protect your work with copyright, so I decided to do so for modpost which I patch a great deal atm. Signed-off-by: Sam Ravnborg commit f055affb89f587a03f3411c3fd49ef31295c3d48 tree 1c40a29191eba8267390fe397f8108ffa8d9ddb5 parent 4f629d7db32decbadaab2abfa4d021fee94990ef author Nick Piggin Mon, 20 Feb 2006 10:41:40 +0100 committer Paul Mackerras Fri, 24 Feb 2006 14:06:02 +1100 [PATCH] powerpc: native atomic_add_unless Do atomic_add_unless natively instead of using cmpxchg. Improved register allocation idea from Joel Schopp. Signed-off-by: Nick Piggin Signed-off-by: Paul Mackerras commit 4f629d7db32decbadaab2abfa4d021fee94990ef tree fc6f8b9a2b62b02a60be5a7a23efbff7f8847a04 parent 20f4eb3e502d68b12224577ebcd2cd50cc6e14e4 author Nick Piggin Mon, 20 Feb 2006 10:40:28 +0100 committer Paul Mackerras Fri, 24 Feb 2006 14:06:00 +1100 [PATCH] powerpc: newline for ISYNC_ON_SMP Add a newline at the end of the ISYNC_ON_SMP string. Needed for a subsequent patch. Signed-off-by: Nick Piggin Signed-off-by: Paul Mackerras commit 20f4eb3e502d68b12224577ebcd2cd50cc6e14e4 tree 5b5f1d857c13d6e3bcc757273fcd8cfffa1a1537 parent c6622f63db86fcbd41bf6fe05ddf2e00c1e51ced author David Gibson Mon, 20 Feb 2006 14:05:56 +1100 committer Paul Mackerras Fri, 24 Feb 2006 14:05:58 +1100 [PATCH] powerpc: Fixup for STRICT_MM_TYPECHECKS Currently ARCH=powerpc will not compile when STRICT_MM_TYPECHECKS is turned on and CONFIG_64K_PAGES is turned off. This corrects the problem. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit c6622f63db86fcbd41bf6fe05ddf2e00c1e51ced tree 102f3ea0a891212603a3722fece337d6a74d450c parent a00428f5b149e36b8225b2a0812742a6dfb07b8c author Paul Mackerras Fri, 24 Feb 2006 10:06:59 +1100 committer Paul Mackerras Fri, 24 Feb 2006 14:05:56 +1100 powerpc: Implement accurate task and CPU time accounting This implements accurate task and cpu time accounting for 64-bit powerpc kernels. Instead of accounting a whole jiffy of time to a task on a timer interrupt because that task happened to be running at the time, we now account time in units of timebase ticks according to the actual time spent by the task in user mode and kernel mode. We also count the time spent processing hardware and software interrupts accurately. This is conditional on CONFIG_VIRT_CPU_ACCOUNTING. If that is not set, we do tick-based approximate accounting as before. To get this accurate information, we read either the PURR (processor utilization of resources register) on POWER5 machines, or the timebase on other machines on * each entry to the kernel from usermode * each exit to usermode * transitions between process context, hard irq context and soft irq context in kernel mode * context switches. On POWER5 systems with shared-processor logical partitioning we also read both the PURR and the timebase at each timer interrupt and context switch in order to determine how much time has been taken by the hypervisor to run other partitions ("steal" time). Unfortunately, since we need values of the PURR on both threads at the same time to accurately calculate the steal time, and since we can only calculate steal time on a per-core basis, the apportioning of the steal time between idle time (time which we ceded to the hypervisor in the idle loop) and actual stolen time is somewhat approximate at the moment. This is all based quite heavily on what s390 does, and it uses the generic interfaces that were added by the s390 developers, i.e. account_system_time(), account_user_time(), etc. This patch doesn't add any new interfaces between the kernel and userspace, and doesn't change the units in which time is reported to userspace by things such as /proc/stat, /proc//stat, getrusage(), times(), etc. Internally the various task and cpu times are stored in timebase units, but they are converted to USER_HZ units (1/100th of a second) when reported to userspace. Some precision is therefore lost but there should not be any accumulating error, since the internal accumulation is at full precision. Signed-off-by: Paul Mackerras commit a00428f5b149e36b8225b2a0812742a6dfb07b8c tree a78869cd67cf78a0eb091fb0ea5d397734bd6738 parent 774fee58c465ea1c7e9775e347ec307bcf2deeb3 parent fb5c594c2acc441f0d2d8f457484a0e0e9285db3 author Paul Mackerras Fri, 24 Feb 2006 14:05:47 +1100 committer Paul Mackerras Fri, 24 Feb 2006 14:05:47 +1100 Merge ../powerpc-merge commit 7b0386921db20add25afd8678ed34a9253e512fc tree 8c6b888b76211e38e6c1c3006553dc4b2b24c75e parent c5580a7ecb859c6821dd761c95fa150ec7695ae1 parent 22fe472cb430ce45c4fb9b6d13060dd724d6dbc8 author Jeff Garzik Thu, 23 Feb 2006 21:16:27 -0500 committer Jeff Garzik Thu, 23 Feb 2006 21:16:27 -0500 Merge branch 'upstream-fixes' commit 5b3030e39049212c975665cdb3eeabcfaf7c94ca tree 93742231c2e01087ae36d7c05d8bd7bdb7ca8878 parent d9e902668e815f9f33ba5056089684b0704eeac6 author Eric Sesterhenn Thu, 23 Feb 2006 09:47:13 -0600 committer Dave Kleikamp Thu, 23 Feb 2006 09:47:13 -0600 JFS: kzalloc conversion this converts fs/jfs to kzalloc() usage. compile tested with make allyesconfig Signed-off-by: Eric Sesterhenn Signed-off-by: Dave Kleikamp commit c3f9da90b6e63c968070aa72057fe15356b3f7b5 tree 20ca7565dd33db629e21b5dae3d03f1b8f598003 parent 6e10133fa4b2366e8ef18bc2ce34afe727b1c4ba author Jan Beulich Wed, 22 Feb 2006 13:29:04 +0100 committer Sam Ravnborg Wed, 22 Feb 2006 21:29:27 +0100 kbuild: version.h should depend on .kernelrelease Rebuilding a previously built tree while using make's -j options from time to time results in the version.h check running at the same time as the updating of .kernelrelease, resulting in UTS_RELEASE remaining an empty string (and as a side effect causing the entire kernel to be rebuilt). Signed-Off-By: Jan Beulich Signed-off-by: Sam Ravnborg commit 6e10133fa4b2366e8ef18bc2ce34afe727b1c4ba tree 10204f957a5a42c2e9496eb3cdd074eb7132481c parent fededcd2af6219de69b252b7d3ea4b4ec2f33c7a author Sam Ravnborg Wed, 22 Feb 2006 21:24:50 +0100 committer Sam Ravnborg Wed, 22 Feb 2006 21:24:50 +0100 kbuild: do not warn when unwind sections references .init/.exit sections Andrew Morton reported a number of false positives for ia64 - like these: WARNING: drivers/acpi/button.o - Section mismatch: reference to .init.text: from .IA_64.unwind.init.text after '' (at offset 0x0) WARNING: drivers/acpi/button.o - Section mismatch: reference to .exit.text: from .IA_64.unwind.exit.text after '' (at offset 0x0) WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.text: from .IA_64.unwind after '' (at offset 0x1e8) They are all false positives - or at least the .c code looks OK. It is not known why sometimes a section name is appended and sometimes not. Fix is to accept references from all sections that includes "unwind." in the name. Signed-off-by: Sam Ravnborg commit d9e902668e815f9f33ba5056089684b0704eeac6 tree a2efed26b40b36f38e155955d661f776759a42dc parent 91dbb4deb30e817efc8d6bed89b1190a489ca776 author Herbert Poetzl Wed, 22 Feb 2006 14:14:58 -0600 committer Dave Kleikamp Wed, 22 Feb 2006 14:14:58 -0600 JFS: Add missing file from fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 My mistake here. I failed to checkin fs/jfs/ioctl.c Signed-off-by: Dave Kleikamp commit fededcd2af6219de69b252b7d3ea4b4ec2f33c7a tree a9efa5e71fec3c0a385e8429686d0be9d7d0a153 parent 0f558c333445a0181f33f9e6f996ce7cf008206a author akpm@osdl.org Wed, 22 Feb 2006 03:19:54 -0800 committer Sam Ravnborg Wed, 22 Feb 2006 20:23:51 +0100 kbuild: fix modpost compile with older gcc The kernel now requires that CC be 3.1.0 or higher. But we shouldn't place that requirement upon HOSTCC unless we really need to. Fixes my ia64 problem. Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg commit 8080d5497146d5d27d9e8e78229d1adc7fe280cf tree 8ce379ab20f59951507b328fe86beddd5855ce80 parent 774fee58c465ea1c7e9775e347ec307bcf2deeb3 author Andy Fleming Fri, 10 Feb 2006 17:01:06 -0600 committer Kumar Gala Tue, 21 Feb 2006 23:48:59 -0600 powerpc: Add PCI support for 8540 ADS to powerpc tree Add PCI support for setting PCI from flat device tree on 85xx specifically for MPC8540 ADS. Signed-off-by: Andy Fleming Signed-off-by: Kumar Gala commit ebcff3c773b42bce6182ec16485abca4e53fba97 tree d9b0babba7dd0d79ef8681ffa5180bdc949aa359 parent 8b0d5514a96daab7825f481d8cd5e88a0376d659 author Horst Kronstorfer Tue, 21 Feb 2006 23:34:07 -0600 committer Kumar Gala Tue, 21 Feb 2006 23:34:07 -0600 ppc32: Fix BCSR_SIZE for MPC834x SYS According to the 'MPC8349E MDS Processor Board User Manual Rev. 1.6' the size of the BCSR mapping is 32kb. Signed-off-by: Horst Kronstorfer Signed-off-by: Kumar Gala commit ba70d0614728892b86b2be2f7eae0c696b436461 tree fb62902d9563b5376c4805918a8a1c092b481ead parent 49016aca2e54c64f08c31d5512dfd8d35f934c58 author Tejun Heo Tue, 21 Feb 2006 02:12:11 +0900 committer Jeff Garzik Mon, 20 Feb 2006 18:56:59 -0500 [PATCH] libata: kill ata_dev_reread_id() Kill now-unused ata_dev_reread_id(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 49016aca2e54c64f08c31d5512dfd8d35f934c58 tree f0b5c2843f74a9adb62761d0ec9d05284bc47a1c parent f131883e73a8662dc92c3ea371ae9ded0c8f2c37 author Tejun Heo Tue, 21 Feb 2006 02:12:11 +0900 committer Jeff Garzik Mon, 20 Feb 2006 18:56:58 -0500 [PATCH] libata: separate out ata_dev_read_id() Separate out ata_dev_read_id() from ata_dev_identify(). This is the first half of splitting ata_dev_identify(). ata_dev_read_id() will also be used for revalidation. This patch does not make any behavior change. ata_dev_read_id() doesn't modify any of libata-internal data structures. It simply reads IDENTIFY page and returns error code on failure. INIT_DEV_PARAMS and EDD wrong class code are also handled by this function. Re-reading IDENTIFY after INIT_DEV_PARAMS is performed by jumping to retry: instead of calling ata_dev_reread_id(). This is done because 1. there's retry label anyway 2. ata_dev_reread_id() cannot be used anywhere else so there's no reason to keep it. This function is probably the place to set transfer mode to PIO0 before IDENTIFY. However, reset -> identify -> init_dev_params order should be kept for pre-ATA4 devices so we cannot set transfer mode before IDENTIFY for them. How do we know if a device is post-ATA4 before IDENTIFY? Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f131883e73a8662dc92c3ea371ae9ded0c8f2c37 tree acd45903e321cf04df825da8d05ee06dabc1d8aa parent ccbe6d5ee0eb3182675ef1c84322810fd884586d parent 2e242fa994428bd1a40b6a7e97430413246d0a16 author Jeff Garzik Mon, 20 Feb 2006 16:55:56 -0500 committer Jeff Garzik Mon, 20 Feb 2006 16:55:56 -0500 Merge branch 'upstream-fixes' commit ccbe6d5ee0eb3182675ef1c84322810fd884586d tree 0375faedb033b70b401933b956c1b8bf8fc2b3ae parent 573db6b8f93b5e359abd9a05e620fd9a589b0209 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] ata_piix: convert sata to new reset mechanism Convert ata_piix sata ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 573db6b8f93b5e359abd9a05e620fd9a589b0209 tree d54f6e6907f30c8efcd3dc089b87af172746751e parent 56497bd5f1340cb97d94cab953b050be6f729790 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] ata_piix: convert pata to new reset mechanism Convert ata_piix pata ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 56497bd5f1340cb97d94cab953b050be6f729790 tree 330d966efed6bf6fd2c3d746b02a25f5ad4232a7 parent 6aff8f1f07a7fff48121d1ad4a550f3af24ccc81 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] libata: fix comment regarding setting cable type The comment above ata_std_postreset() specified that setting cable type is the responsibility of postreset(), which isn't possible / optimal depending on controller / driver. This patch kills the comment. Setting cable type is responsibility of ->probe_reset. libata doesn't care whether it's done in probeinit, reset or postreset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c5580a7ecb859c6821dd761c95fa150ec7695ae1 tree 18ca034a53c22e12912e55f5858d1b4a235cedd7 parent b04a92e1601eb6df3a3b6599e7fb7ee021eef2cb parent d33a73c81241e3d9ab8da2d0558429bdd5b4ef9a author Jeff Garzik Mon, 20 Feb 2006 05:59:59 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:59 -0500 Merge branch 'forcedeth' commit d33a73c81241e3d9ab8da2d0558429bdd5b4ef9a tree 7e8054ebf23f4924f6bf5b5f678bfb2e5e6965dd parent 0832b25a75d128e4f9724156380ba071c4f3f20d author Ayaz Abdulla Sat, 04 Feb 2006 13:13:31 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add support for MSI/MSIX This forcedeth patch adds support for MSI/MSIX interrupts. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit 0832b25a75d128e4f9724156380ba071c4f3f20d tree f24926c80383da38da6071dc97263c4089bc3f78 parent ee407b02f3f1992bc746876c26f8175c8783562b author Ayaz Abdulla Sat, 04 Feb 2006 13:13:26 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add support for 64bit rings This forcedeth patch adds high dma support for tx/rx rings. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit ee407b02f3f1992bc746876c26f8175c8783562b tree a005421bd26f8ca0178d4e9a3a7a79486a45f9de parent bd71c2b17468a2531fb4c81ec1d73520845e97e1 author Ayaz Abdulla Sat, 04 Feb 2006 13:13:17 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add vlan support This forcedeth patch adds support for vlan stripping/inserting in hardware. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit 6aff8f1f07a7fff48121d1ad4a550f3af24ccc81 tree 3b02003f45b43c81b395c4a07e8c708599304bdd parent 6a62a04d4705df4f9f9bee39e889b9e920eeca47 author Tejun Heo Wed, 15 Feb 2006 18:24:09 +0900 committer Jeff Garzik Mon, 20 Feb 2006 05:07:52 -0500 [PATCH] libata: update ata_dev_init_params() Update ata_dev_init_params() such that it doesn't disable port directly but return with appropriate error mask on failure. This is preparation for splitting ata_dev_identify(). Note that this patch changes behavior of dev_init_params failure such that only failing devices are taken offline not the whole port. This change is intended. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6a62a04d4705df4f9f9bee39e889b9e920eeca47 tree ea1b13e887740b69f7cd24e602802599c3fb8e76 parent 5b2ffed906a3ebd4e52a5bbef06b99a517c53e4b author Tejun Heo Mon, 13 Feb 2006 10:02:46 +0900 committer Jeff Garzik Mon, 20 Feb 2006 04:54:22 -0500 [PATCH] libata: rename ata_dev_id_[c_]string() This patch renames ata_dev_id_[c_]string() to ata_id_[c_]string(). All other functions which read data from ATA ID data start with ata_id and those two function names were getting too long. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5b2ffed906a3ebd4e52a5bbef06b99a517c53e4b tree 2f900f89d93db6b0822d8bdf4f49851c581c12a6 parent f1b318793dcd2d9ff6b5ac06e7762098fa079cee parent bd71c2b17468a2531fb4c81ec1d73520845e97e1 author Jeff Garzik Mon, 20 Feb 2006 02:16:23 -0500 committer Jeff Garzik Mon, 20 Feb 2006 02:16:23 -0500 Merge branch 'master' commit 0f558c333445a0181f33f9e6f996ce7cf008206a tree a25974ec38d776166103ffe254e54697957b286d parent 93684d3b8062d1cebdeaed398ec6d1f354cb41a9 author Mattia Dongili Sun, 19 Feb 2006 13:50:37 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 14:27:57 +0100 kbuild: fix a cscope bug (make cscope segfaults) Workaround a cscope bug where a trailing ':' in VPATH makes it segfault and let it build the cross-reference succesfully. VPATH=/home/mattia/devel/kernel/git/linux-2.6: cscope -b [1] 17555 segmentation fault VPATH=/home/mattia/devel/kernel/git/linux-2.6: cscope -b Signed-off-by: Mattia Dongili Signed-off-by: Sam Ravnborg commit 93684d3b8062d1cebdeaed398ec6d1f354cb41a9 tree 65a87d5e53f8458d7574325e05f6a3cd9997e392 parent 8ea80ca4f583e377c902811d42626ccfce16913f author Sam Ravnborg Sun, 19 Feb 2006 11:53:35 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 11:53:35 +0100 kbuild: include symbol names in section mismatch warnings Try to look up the symbol that is referenced. Include the symbol name in the warning message. Signed-off-by: Sam Ravnborg commit 8ea80ca4f583e377c902811d42626ccfce16913f tree 2208839aa866cebc990271fbaa86eabc432a8658 parent 41370d3b5ec6401c5cf0df82297ed989c03a64bd author Sam Ravnborg Sun, 19 Feb 2006 09:56:18 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:56:18 +0100 kbuild: fix segfault in modpost Do not try to look up section name until we know it is not a special section. Otherwise we will address outside legal space and segfault. Signed-off-by: Sam Ravnborg commit 41370d3b5ec6401c5cf0df82297ed989c03a64bd tree 325c87fdc674e9f53b90e38d36970d9a61265d44 parent 9d6e7a709cdb8f43d9a9ac5532b54a3e70415b9b author Sam Ravnborg Sun, 19 Feb 2006 00:49:37 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:22 +0100 kbuild: do not segfault in modpost if MODVERDIR is not defined A combination of calling modpost with option -a and MODVERDIR undefined caused segmentation fault. So provide a default value and accept the error messages it generates instead. Signed-off-by: Sam Ravnborg commit 9d6e7a709cdb8f43d9a9ac5532b54a3e70415b9b tree 9c8b232f177dfa34930723d0dade26c35863b43f parent 18a43ba26dcbe2a7a51011c9daae37adc7fc5c93 author Sam Ravnborg Sat, 18 Feb 2006 10:03:40 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:22 +0100 kbuild: fix comment in Kbuild.include Noted by Olaf Hering Signed-off-by: Sam Ravnborg commit 18a43ba26dcbe2a7a51011c9daae37adc7fc5c93 tree d520b77af5b0515e744b57484689de93cd54658b parent e63046630c8a73825896cef140fbf49af233fd2a author Brian Gerst Wed, 15 Feb 2006 01:01:58 -0500 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:22 +0100 kbuild: remove checkconfig.pl checkconfig.pl is no longer needed now that autoconf.h is automatically included. Remove it and all references to it. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit e63046630c8a73825896cef140fbf49af233fd2a tree e54db671115daeb0958c28a4a1486f727ee49a90 parent 96678281bfaa5f04752a98f9b93454041169fd3b author Adrian Bunk Tue, 14 Feb 2006 15:58:15 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:21 +0100 kbuild: remove a tab from an empty line Emacs warns if an otherwise empty line starts with a tab. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg commit 96678281bfaa5f04752a98f9b93454041169fd3b tree 62c43e98e0620714153daa5442b23ba069db37d4 parent 6176aa9ae4b83e1957d3031774f8a8e59ff97420 author Jan Beulich Mon, 30 Jan 2006 10:05:09 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:21 +0100 kbuild: fix mkmakefile With the current way of generating the Makefile in the output directory for builds outside of the source tree, specifying real targets (rather than phony ones) doesn't work in an already (partially) built tree, as the stub Makefile doesn't have any dependency information available. Thus, all targets where files may actually exist must be listed explicitly and, due to what I'd call a make misbehavior, directory targets must then also be special cased. Signed-Off-By: Jan Beulich Signed-off-by: Sam Ravnborg commit 6176aa9ae4b83e1957d3031774f8a8e59ff97420 tree 7b44789ab8d87f721c5d9fcd10a9a5cb0e5d65d1 parent 20a468b51325b3636785a8ca0047ae514b39cbd5 author Jan Beulich Mon, 30 Jan 2006 10:04:27 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:21 +0100 kbuild: consolidate command line escaping While the recent change to also escape # symbols when storing C-file compilation command lines was helpful, it should be in effect for all command lines, as much as the dollar escaping should be in effect for C-source compilation commands. Additionally, for better readability and maintenance, consolidating all the escaping (single quotes, dollars, and now sharps) was also desirable. Signed-Off-By: Jan Beulich Signed-off-by: Sam Ravnborg commit 20a468b51325b3636785a8ca0047ae514b39cbd5 tree 22e8d00b947cd110c9d600d24c4119ff30ff22c1 parent b39927cf4cc5a9123d2b157ffd396884cb8156eb author Sam Ravnborg Sun, 22 Jan 2006 13:34:15 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:20 +0100 kbuild: make cc-version available in kbuild files Move $(CC) support functions to Kbuild.include so they are available in the kbuild files. In addition the following was done: o as-option documented in Documentation/kbuild/makefiles.txt o Moved documentation to new section to match new scope of functions o added cc-ifversion used to conditionally select a text string dependent on actual $(CC) version o documented cc-ifversion o change so Kbuild.include is read before the kbuild file Signed-off-by: Sam Ravnborg commit b39927cf4cc5a9123d2b157ffd396884cb8156eb tree 8e372f4b8fa678de7239a125ff4653f136a9dc66 parent a67dc21a38055ec2d8d85b2f64d98091748569b3 author Sam Ravnborg Fri, 17 Feb 2006 22:42:02 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:20 +0100 kbuild: check for section mismatch during modpost stage Section mismatch is identified as references to .init* sections from non .init sections. And likewise references to .exit.* sections outside .exit sections. .init.* sections are discarded after a module is initialized and references to .init.* sections are oops candidates. .exit.* sections are discarded when a module is built-in and thus references to .exit are also oops candidates. The checks were possible to do using 'make buildcheck' which called the two perl scripts: reference_discarded.pl and reference_init.pl. This patch just moves the same functionality inside modpost and the scripts are then obsoleted. They will though be kept for a while so users can do double checks - but note that some .o files are skipped by the perl scripts so result is not 1:1. All credit for the concept goes to Keith Owens who implemented the original perl scrips - this patch just moves it to modpost. Compared to the perl script the implmentation in modpost will be run for each kernel build - thus catching the error much sooner, but the downside is that the individual .o file are not always identified. Signed-off-by: Sam Ravnborg commit a67dc21a38055ec2d8d85b2f64d98091748569b3 tree 7d9e969b5c7b0b065480f782412a7129c20f1879 parent fb3cbd2e575f9ac0700bfa1e7cb9f4119fbd0abd author Sam Ravnborg Sat, 28 Jan 2006 23:51:57 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:20 +0100 kbuild: run depmod when installing external modules Following patch enables depmod support when installing external modules. Signed-off-by: Sam Ravnborg commit fb3cbd2e575f9ac0700bfa1e7cb9f4119fbd0abd tree f807a53038fb6eac8bd06f066614c7a8fa21255a parent 8999257c292cb757828ae3def9f5e9d894a24741 author Sam Ravnborg Sat, 28 Jan 2006 23:08:40 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:19 +0100 kbuild: avoid stale modules in $(MODVERDIR) for external modules To avoid stale modules located in $(MODVERDIR) aka .tmp_versions/ always delete the directory when building an external module. Signed-off-by: Sam Ravnborg commit 8999257c292cb757828ae3def9f5e9d894a24741 tree e4c363dd3cf73784423f652aa3e4bfe5d09c6734 parent 379b5441aeb895fe55b877a8a9c187e8728f774c author Martin Michlmayr Sat, 28 Jan 2006 18:38:15 +0000 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:19 +0100 kbuild: Accept various mips sub-types in SUBARCH uname -m on MIPS can give a number of results, such as mips64. We need to add another substitution to the sed call for SUBARCH in the main Makefile. Signed-off-by: Martin Michlmayr Signed-off-by: Sam Ravnborg commit 379b5441aeb895fe55b877a8a9c187e8728f774c tree 67916a0f7d8a9a7d1ce186c81ac4f4481e6cc23e parent 8e70c45887a6bbe40393342ea5b426b0dd836dff author Zach Brown Fri, 27 Jan 2006 14:02:47 -0800 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:19 +0100 x86: align per-cpu section to configured cache bytes This matches the fix for a bug seen on x86-64. Test booted on old hardware that had 32 byte cachelines to begin with. Signed-off-by: Zach Brown Signed-off-by: Sam Ravnborg commit 8e70c45887a6bbe40393342ea5b426b0dd836dff tree 4fb8c40ca679a4f02321497642a2cf303dd80c43 parent 040fcc819a2e7783a570f4bdcdd1f2a7f5f06837 author Sam Ravnborg Sat, 28 Jan 2006 22:22:33 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:18 +0100 kbuild: warn about duplicate exported symbols In modpost introduce a check for symbols exported twice. This check caught only one victim (inet_bind_bucket_create) for which a patch is already sent to netdev. Signed-off-by: Sam Ravnborg commit 040fcc819a2e7783a570f4bdcdd1f2a7f5f06837 tree 58a6cb2e7394c589c8ef49b308512c83af0c7087 parent 5c3ead8c72788d36d34c9f1689fb529d1339b405 author Sam Ravnborg Sat, 28 Jan 2006 22:15:55 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:18 +0100 kbuild: improved modversioning support for external modules With following patch a second option is enabled to obtain symbol information from a second external module when a external module is build. The recommended approach is to use a common kbuild file but that may be impractical in certain cases. With this patch one can copy over a Module.symvers from one external module to make symbols (and symbol versions) available for another external module. Updated documentation in Documentation/kbuild/modules.txt Signed-off-by: Sam Ravnborg commit 5c3ead8c72788d36d34c9f1689fb529d1339b405 tree fe6cfc38c3a210ad403970c59c001e5b746b8053 parent cb80514d9c517cc1d101ef304529a0e9b76b4468 author Sam Ravnborg Sat, 28 Jan 2006 17:19:35 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:17 +0100 kbuild: apply CodingStyle to modpost.c Just some light CodingStyle updates - no functional changes. Signed-off-by: Sam Ravnborg commit cb80514d9c517cc1d101ef304529a0e9b76b4468 tree 25c9203d808ce322f13cdf62c98c29bcc49a69be parent 06300b21f4c79fd1578f4b7ca4b314fbab61a383 author Sam Ravnborg Sat, 28 Jan 2006 16:57:26 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:17 +0100 kbuild: use warn()/fatal() consistent in modpost modpost.c provides warn() and fatal() - so use them all over the place. Signed-off-by: Sam Ravnborg commit 06300b21f4c79fd1578f4b7ca4b314fbab61a383 tree 9b9506e34286f0333ed747c47ec03fd5559f5b71 parent bd71c2b17468a2531fb4c81ec1d73520845e97e1 author Sam Ravnborg Wed, 25 Jan 2006 07:13:18 +0100 committer Sam Ravnborg Sun, 19 Feb 2006 09:51:17 +0100 kbuild: support building individual files for external modules Support building individual files when dealing with separate modules. So say you have a module named "foo" which consist of two .o files bar.o and fun.o. You can then do: make -C $KERNELSRC M=`pwd` bar.o make -C $KERNELSRC M=`pwd` bar.lst make -C $KERNELSRC M=`pwd` bar.i make -C $KERNELSRC M=`pwd` / <= will build all .o files and link foo.o make -C $KERNELSRC M=`pwd` foo.ko <= will build the module and do the modpost step to create foo.ko The above will also work if the external module is placed in a subdirectory using a hirachy of kbuild files. Thanks to Andreas Gruenbacher for initial feature request / bug report. Signed-off-by: Sam Ravnborg commit b04a92e1601eb6df3a3b6599e7fb7ee021eef2cb tree f190980d5bffae81a67c0cea0d913ed2444ceb0c parent 70c07e02625ec46d0ffbfce1acef42d660803528 parent f5e2a7b22e7d7dfda8794906d0fddeaaa09bb944 author Jeff Garzik Fri, 17 Feb 2006 16:20:30 -0500 committer Jeff Garzik Fri, 17 Feb 2006 16:20:30 -0500 Merge branch 'upstream-fixes' commit b7cffb028abbffff3ba0b87268ecb775ed354049 tree e5a4dd1cca31bf38c2a57214ab3d2a9ae1c5e367 parent 22d8846e5ce329436628da71a4239ccc2745869f author Johannes Berg Wed, 04 Jan 2006 20:58:10 +0100 committer John W. Linville Fri, 17 Feb 2006 10:41:34 -0500 [PATCH] ieee80211: fix sparse warning about missing "static" This patch adds a missing "static" on a variable (sparse complaint) Signed-off-by: John W. Linville commit 22d8846e5ce329436628da71a4239ccc2745869f tree 623c307aaf08150a39a480241711fb0ec2e99416 parent 1ba61e05e254a587b7a6be9484a8bcd973551be1 author Dan Williams Sun, 05 Feb 2006 18:00:30 -0500 committer John W. Linville Fri, 17 Feb 2006 08:17:00 -0500 [PATCH] wireless/airo: fix setting TX key index plus key in ENCODEEXT The previous patch that added ENCODEEXT and AUTH support to the airo driver contained a slight error which would cause setting the TX key index ignore a valid key-set request at the same time. This patch allows any combination of setting the TX key index and setting an encryption key. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 1ba61e05e254a587b7a6be9484a8bcd973551be1 tree 41a56d4c60478b598e30984c81188e50afab0c0f parent 47c51431fcc5fce3108e8e549cc9d243acd462ed author Zhu Yi Wed, 15 Feb 2006 13:00:55 +0800 committer John W. Linville Fri, 17 Feb 2006 08:17:00 -0500 [PATCH] ipw2200: Fix software crypto shared WEP authentication problem We didn't set the WEP key to hardware when we are using software based crypto. Hardware needs the key to do WEP authentication even for software based encryption. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 47c51431fcc5fce3108e8e549cc9d243acd462ed tree fd42b296eb25a9d78e42eac0a97bbe4212852c21 parent 23afaec4441baf0579fa115b626242d4d23704dd author Jon Mason Sun, 12 Feb 2006 11:53:04 -0600 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] trivial: fix spelling errors in Kconfigs This patch corrects a few spelling and grammar errors found in drivers/net Signed-off-by: Jon Mason Signed-off-by: John W. Linville commit 23afaec4441baf0579fa115b626242d4d23704dd tree 5a9ddf4e13fc686108f7b21aef02c1b9eec924ce parent 471680828330e6b2aac295cf7ac9d8e5820df2eb author Stefan Rompf Tue, 07 Feb 2006 03:42:23 +0800 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ipw2200: Fix WPA network selection problem Do not avoid APs with wpa_ie or rsn_ie if !ieee->wpa_enabled There are broken APs out there that fill these elements even though encryption is disnabled. Also, this breaks legit WEP to WPA migration scenarious. We add a checking to prohibite WPA configured STA trying to associate with non-WPA supported APs. Signed-off-by: Stefan Rompf Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 471680828330e6b2aac295cf7ac9d8e5820df2eb tree b205c8371e8be20413ac85c71294a1e1b87e0819 parent 2c0f63166a5998102ddc7697706af83cbff49317 author Zhu Yi Mon, 13 Feb 2006 13:37:03 +0800 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ieee80211: Use IWEVGENIE to set WPA IE It replaces returning WPA/RSN IEs as custom events with returning them as IWEVGENIE events. I have tested that it returns proper information with both Xsupplicant, and the latest development version of the Linux wireless tools. Signed-off-by: Chris Hessing Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 2c0f63166a5998102ddc7697706af83cbff49317 tree 9c7eaf909d84972d2976c7019847a24f391d21e3 parent 4861dd79c1724f37e36d66cc4b3454803aec3f93 author Andreas Happe Thu, 05 Jan 2006 19:40:07 +0100 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ipw2200: add monitor and qos entries to Kconfig I have made a stupid copy&paste error: QoS option is named IPW_QOS not IPW2200_MONITOR. Spotted by Daniel Paschka, thanks. Add the following config entries for the ipw2200 driver to drivers/net/wireless/Kconfig * IPW2200_MONITOR enables Monitor mode * IPW_QOS enables QoS feature - this is under development right now, so it depends upon EXPERIMENTAL Signed-off-by: Andreas Happe Signed-off-by: John W. Linville commit 4861dd79c1724f37e36d66cc4b3454803aec3f93 tree 46efc932a35ff49c8b3b723b650ec0b1832706d8 parent 4ddc1651cee0143eeddbe043ccd66bb87072e279 author Dan Williams Sun, 05 Feb 2006 17:57:36 -0500 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] wireless/atmel: convert constants to ieee80211 layer equivalents This patch converts the Atmel driver-only IEEE 802.11 constants to their equivalents from the kernel's ieee80211 layer headers. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 4ddc1651cee0143eeddbe043ccd66bb87072e279 tree 64ff6788ea331044234c00d6fb16a8ef7eba9d57 parent 5b69e69d4e6386bcb6592c75af897e5e79641602 author Jan Niehusmann Sun, 05 Feb 2006 16:13:22 +0100 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] let IPW2{1,2}00 select IEEE80211 This patch makes the IPW2100 and IPW2200 options available in the configuration menu even if IEEE80211 has not been selected before. This behaviour is more intuitive for people which are not familiar with the driver internals. The suggestion for this change was made by Alejandro Bonilla Beeche. Signed-off-by: Jan Niehusmann Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 5b69e69d4e6386bcb6592c75af897e5e79641602 tree bf9a153ad062629454ba877df224112a6bb5581b parent 750b50ab5687125d8a1dc946d931b00acf016e2c parent 7345137930907ba747781636c60112f7c2789aa8 author John W. Linville Fri, 17 Feb 2006 08:15:58 -0500 committer John W. Linville Fri, 17 Feb 2006 08:15:58 -0500 Merge branch 'upstream-fixes' commit 750b50ab5687125d8a1dc946d931b00acf016e2c tree eacec989ec38e67da84fcc6842b364670d7a1e34 parent ab479995b191b4256183956c13caabb86331af8e parent 70c07e02625ec46d0ffbfce1acef42d660803528 author John W. Linville Fri, 17 Feb 2006 08:15:41 -0500 committer John W. Linville Fri, 17 Feb 2006 08:15:41 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 8b0d5514a96daab7825f481d8cd5e88a0376d659 tree 3a9396823d6ed8f77b47cf4181c499097de41ca8 parent 774fee58c465ea1c7e9775e347ec307bcf2deeb3 author Kumar Gala Thu, 16 Feb 2006 14:32:08 -0600 committer Kumar Gala Thu, 16 Feb 2006 14:32:08 -0600 powerpc: Fix mpc83xx restart bug We need to write the correct value to the RCR to get a HW reset. Signed-off-by: Kumar Gala commit 91dbb4deb30e817efc8d6bed89b1190a489ca776 tree d3742a35be49da1ab785ac398459d7a71a64a765 parent 4837c672fd4d43c519d6b53308ee68d45b91b872 author Christoph Hellwig Wed, 15 Feb 2006 12:49:04 -0600 committer Dave Kleikamp Wed, 15 Feb 2006 12:49:04 -0600 JFS: Use the kthread_ API Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. Signed-off-by: Christoph Hellwig Signed-off-by: Dave Kleikamp commit f1b318793dcd2d9ff6b5ac06e7762098fa079cee tree 41ace7a3e453b82776b9f2a1d3b670b6afe5aa59 parent 49430f97dd952eda60848bf6bf161b4917ba103d parent e9bb4c9929a63b23dcc637fae312b36b038bdc61 author Jeff Garzik Mon, 13 Feb 2006 00:12:09 -0500 committer Jeff Garzik Mon, 13 Feb 2006 00:12:09 -0500 Merge branch 'master' commit 49430f97dd952eda60848bf6bf161b4917ba103d tree 2106e80496d6fa3b0ba8819daa6d978f8c4e13f3 parent b00eec1d58ee71131375bfeb86e64bceec3f5618 author Tejun Heo Sun, 12 Feb 2006 23:32:59 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:36:30 -0500 [PATCH] libata: kill sht->max_sectors The previous dev->max_sectors patch made sht->max_sectors meaningless. Kill all initializations of sht->max_sectors. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b00eec1d58ee71131375bfeb86e64bceec3f5618 tree 03536ad3ecc61d42da0611f40a51fedcd44192b5 parent 6e7846e9c548443c86cfbad9e4defb4bdcfc538b author Tejun Heo Sun, 12 Feb 2006 23:32:59 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:36:30 -0500 [PATCH] libata: add per-device max_sectors If a low level driver wants to control max_sectors, it had to adjust ap->host->max_sectors and set ATA_DFLAG_LOCK_SECTORS to tell ata_scsi_slave_config not to override the limit. This is not only cumbersome but also incorrect for hosts which support more than one devices per port. This patch adds per-device ->max_sectors. If the field is unset (zero), libata core layer will adjust ->max_sectors according to default rules. If the field is set, libata honors the setting. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6e7846e9c548443c86cfbad9e4defb4bdcfc538b tree f92fe0c3ca0000ad7d68bb3caae10d2066a7f78e parent 8eabd02c246b808e0e27c3ee9ea17d0349efb06d author Tejun Heo Sun, 12 Feb 2006 23:32:58 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: move cdb_len for host to device cdb_len is per-device property. Sharing cdb_len on ap results in inaccurate configuration on revalidation and hotplugging. This patch makes cdb_len per-device. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8eabd02c246b808e0e27c3ee9ea17d0349efb06d tree f628dc88f1ccf37dbab98d32b19af2336baaa210 parent 61eb066affc02e16c548aef8b876c49c84113f40 author Tejun Heo Sun, 12 Feb 2006 23:32:58 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: make ata_dev_knobble() per-device ata_dev_knobble() unconditionally used the first device of the port to determine whether a device is bridged or not. This causes bridge limit to be incorrectly applied or unapplied for hosts with slave devices (e.g. ata_piix). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 61eb066affc02e16c548aef8b876c49c84113f40 tree a7e3b690dbedd5f9007a64d95ae85d6019b48978 parent 0bd3300ac9158b6ceef38fab6fb473765a40e77e author Tejun Heo Sun, 12 Feb 2006 23:22:37 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: don't do EDD handling if ->probe_reset is used EDD is never used with ->probe_reset. Don't handle EDD special case in ata_dev_identify if ->probe_reset is in use. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0bd3300ac9158b6ceef38fab6fb473765a40e77e tree 4973f3f26c12f0acacf6b7e643e7a4144046a0c7 parent 3d2ca91095f8ab6dc0cb925374eec62fa5336764 author Tejun Heo Sun, 12 Feb 2006 22:47:05 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: make ata_dump_id() take @id instead of @dev Make ata_dump_id() take @id instead of @dev. This is preparation for splitting ata_dev_identify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3d2ca91095f8ab6dc0cb925374eec62fa5336764 tree 4320fb9649dfbd389ea07d299288732b767534d7 parent 2940740bcaa5948967d261dfceec04f40b2d2fa1 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: separate out ata_id_major_version() Separate out ATA major version calculation from ata_dev_identify() into ata_id_major_version(). It's preparation for splitting ata_dev_identify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2940740bcaa5948967d261dfceec04f40b2d2fa1 tree d70740391c607cd40222200085b0b028233f6880 parent 2e02671daa2cd69d93c828c40579bbe953f17210 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: separate out ata_id_n_sectors() Separate out n_sectors calculation into ata_id_n_sectors() from ata_dev_identify(). This will be used by revalidation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2e02671daa2cd69d93c828c40579bbe953f17210 tree bcafe5d5b36be475de57081600fae13408cd0c4e parent 0e949ff304a7ca07db38c17fbbf3ead1085d7bbf author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: use ata_dev_id_c_string() Use ata_dev_id_c_string() Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0e949ff304a7ca07db38c17fbbf3ead1085d7bbf tree ecc4834d27e221863dc5dbef3c13763dbdf4dd56 parent 48f80e12abbc1e9034e54614c30e7c304209ce99 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: implement ata_dev_id_c_string() ata_dev_id_c_string() reads ATA string from the specified offset of the given IDENTIFY PAGE and puts it in the specified buffer in trimmed and NULL-terminated form. The caller must supply a buffer which is one byte larger than the maximum size of the target ID string. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48f80e12abbc1e9034e54614c30e7c304209ce99 tree db55f6dac4a20433d7ca1672c8fa15f01844da2a parent 06ab78222bd119a0a3d8a1f89997ce902a219703 author Tejun Heo Sun, 12 Feb 2006 19:05:07 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:06:42 -0500 [PATCH] ata_piix: kill spurious assignment in piix_sata_probe() In piix_sata_probe(), mask gets assigned unnecessarily at the beginning of the function. Kill the assignment. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 06ab78222bd119a0a3d8a1f89997ce902a219703 tree 21c466084f2a1d9bc3bc326e484619ad002dc08b parent bef4a456b8dc8b3638f4d49a25a89e1467da9483 author Tejun Heo Sun, 12 Feb 2006 15:01:49 +0900 committer Jeff Garzik Sun, 12 Feb 2006 13:57:22 -0500 [PATCH] libata: allow ->probe_reset to return ATA_DEV_UNKNOWN This patch makes ata_bus_probe() normalize classes[] returned by ->probe_reset such that ->probe_reset can return ATA_DEV_UNKNOWN. This eases implementation of ->probe_reset's which don't directly use ata_drive_probe_reset(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit bef4a456b8dc8b3638f4d49a25a89e1467da9483 tree c8c9a6ca26f2e6cf75db0623fb1f395330fbe6ca parent beec7dbc6ff003bbc94de62b3323519c878fb2ac author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: kill assert() macro libata assert() now has no user left. Kill it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit beec7dbc6ff003bbc94de62b3323519c878fb2ac tree f1cf8dee4f271356f2025a386eaa746aabafd1fe parent a46314744d8fadb91451bf2e5d2fd949c4a752d8 author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: convert assert(xxx)'s in low-level drivers to WARN_ON(!xxx)'s This patch converts all assert(xxx)'s in low-level drivers to WARN_ON(!xxx)'s. After this patch, there is no in-kernel user of the libata assert() macro. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a46314744d8fadb91451bf2e5d2fd949c4a752d8 tree 46757778593f4d24d4b69a5cefd522d22d60abcf parent 4bd00f6a201897af4cd50250a761e6bc4b2221ec author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: convert assert(X)'s in libata core layer to WARN_ON(!X)'s In an effort to kill libata-specific assert() and use generic WARN_ON(), this patch converts all assert(X)'s in libata core layer to WARN_ON(!X)'s. Most conversions are straight-forward logical negation exception for the followings. * In libata-core.c:ata_fill_sg(), assert(qc->n_elem > 0) is converted to WARN_ON(qc->n_elem == 0) because qc->n_elem is unsigned and unsigned <= 0 is weird. * In libata-scsi.c:ata_gen_ata_desc/fixed_sense(), assert(NULL != qc->ap->ops->tf_read) is converted to WARN_ON(qc->ap->ops->tf_read == NULL), as there are no other users of 'constant cond var' style in libata. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4bd00f6a201897af4cd50250a761e6bc4b2221ec tree 2549d2245d01d58431bebecd6dc9dfaada3abe9c parent a42fc659ba4e4026b2397344180458bebb79e1d2 author Tejun Heo Sat, 11 Feb 2006 16:26:02 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] ahci: convert to new reset mechanism Convert ahci ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a42fc659ba4e4026b2397344180458bebb79e1d2 tree 43a83d8c8d7d471cdbc11b23ad2117876d10f77b parent 76014427e60f7ecfdc689dfbcb48e9760e1da4fb author Tejun Heo Sat, 11 Feb 2006 16:26:02 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] ahci: make ahci_fill_cmd_slot() take *pp instead of *ap Make ahci_fill_cmd_slot() take struct ahci_port_priv *pp instead of struct ata_port *ap as suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 76014427e60f7ecfdc689dfbcb48e9760e1da4fb tree cf885f718315ed7819fd8f6f4a375540847baf2f parent cbefa3258eade263dbc9ae2c1f1ea2ca96e6b457 author Tejun Heo Sat, 11 Feb 2006 15:13:49 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] libata: inline ata_qc_complete() This patch inlines ata_qc_complete() and uninlines __ata_qc_complete() as suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit cbefa3258eade263dbc9ae2c1f1ea2ca96e6b457 tree 51f012ef93cc828be4eb693c0ced0503217d1025 parent 489ff4c7d167be954f715128790bd80d3c888322 parent 25bf368b3d98668c5d5f38e2201d8bca16e52680 author Jeff Garzik Sat, 11 Feb 2006 17:51:46 -0500 committer Jeff Garzik Sat, 11 Feb 2006 17:51:46 -0500 Merge branch 'master' commit 489ff4c7d167be954f715128790bd80d3c888322 tree 72c06ba67487dd1796fcf45e4d803a9880657bc6 parent 07b734702a96efbc260bf50c2ce57e34167f431b author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:12 -0500 [PATCH] sata_sil24: add hardreset Now that libata is smart enough to handle both soft and hard resets, add hardreset method. Note that sil24 hardreset doesn't supply signature; still, the new reset mechanism can make good use of it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 07b734702a96efbc260bf50c2ce57e34167f431b tree 5cc4c5449be19c7c749ad2cc5ff07459f9ca2bc6 parent 531db7aa0db09f188b71108c35f334af35968291 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:12 -0500 [PATCH] sata_sil24: convert to new reset mechanism Convert sata_sil24 ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 531db7aa0db09f188b71108c35f334af35968291 tree c598ae7debf223da93d39b995ba0ec733d9b4193 parent ac7c6d596e2177857ffc35b8d453ee313a874d8d author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] sata_sil: convert to new reset mechanism Convert sata_sil to use new reset mechanism. sata_sil is fairly generic and can directly use std routine. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ac7c6d596e2177857ffc35b8d453ee313a874d8d tree 81e7d6ad33b5f25a82250351e2e199bcf9023628 parent 3a39746a5290445ea4238f21ac260e42106c1454 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] libata: kill SError clearing in sata_std_hardreset(). Don't clear SError in sata_std_hardreset(). This makes hardreset act identically to ->phy_reset register-wise. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3a39746a5290445ea4238f21ac260e42106c1454 tree 7b667c30b70b2c140782974e34c2826ea85e9a07 parent c5014de8a74f442a4441f21f690d8aae5dc8b432 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] libata: make new reset act identical to ->phy_reset register-wise This patch makes std component operations act identical to ->phy_reset register-wise except for SError clearing on sata_std_hardreset. Note that if a driver only implements/uses hardreset, it should not use ata_std_probeinit() to avoid extra sata_phy_resume() and ata_busy_sleep() compared to ->phy_reset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c5014de8a74f442a4441f21f690d8aae5dc8b432 tree e4506970292dfb345fbc151481ce6918f9d36925 parent cc9278ed5e992122a654a3f762561ee5e013810f parent 5bc159e6cb7ca8d173195919ee935885c129011e author Jeff Garzik Fri, 10 Feb 2006 10:30:02 -0500 committer Jeff Garzik Fri, 10 Feb 2006 10:30:02 -0500 Merge branch 'master' commit 4837c672fd4d43c519d6b53308ee68d45b91b872 tree 6aea45f6de8a7320be022ccf5e4c98ddfcf3ea33 parent fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 author Dave Kleikamp Fri, 10 Feb 2006 08:11:53 -0600 committer Dave Kleikamp Fri, 10 Feb 2006 08:11:53 -0600 JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute Signed-off-by: Dave Kleikamp commit cc9278ed5e992122a654a3f762561ee5e013810f tree 9a089a52a4afefd09fcc49cd9490acee2aa1289a parent f63790201521ccadb63673ff121dac46ab300cf0 author Tejun Heo Fri, 10 Feb 2006 17:25:47 +0900 committer Jeff Garzik Fri, 10 Feb 2006 07:04:31 -0500 [PATCH] ahci: separate out ahci_fill_cmd_slot() Separate out ahci_fill_cmd_slot() from ahci_qc_prep(). ahci_fill_cmd_slot() can later be used to issue non-standard commands. (e.g. softreset) Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f63790201521ccadb63673ff121dac46ab300cf0 tree 86781b4efc31f9005c17de63df2606c35ae3b0c0 parent 35daeb8f9b41fd13180e8a6f8bec9fc5268938f9 author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:47 -0500 [PATCH] libata: kill NULL qc handling from ->eng_timeout callbacks ->eng_timeout cannot be invoked with NULL qc anymore. Add an assertion in ata_scsi_error() and kill NULL qc handling from all ->eng_timeout callbacks. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 35daeb8f9b41fd13180e8a6f8bec9fc5268938f9 tree c6a9131a637224f019168ae42ed24e5e11735a1d parent f29841e08fa20a7f2c8bc1b70306975299c66ee7 author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:46 -0500 [PATCH] libata: use ata_scsi_timed_out() Make all libata low level drivers use ata_scsi_timed_out(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f29841e08fa20a7f2c8bc1b70306975299c66ee7 tree c2f6c87cf79fbd36ec49ea3c2247a382da5d75cc parent 341963b909a01d2f38d86f5db8dd1f8c80bd6dbf author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:46 -0500 [PATCH] libata: implement ata_scsi_timed_out() Implement ata_scsi_timed_out(), to be used as scsi_host_template->eh_timed_out callback for all libata drivers. Without this function, the following race exists. If a qc completes after SCSI timer expires but before libata EH kicks in, the qc gets completed but the scsicmd still gets passed to libata EH resulting in ->eng_timeout invocation with NULL qc, which none is handling properly. This patch makes sure that scmd and qc share the same lifetime. Original idea from Jeff Garzik . Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 341963b909a01d2f38d86f5db8dd1f8c80bd6dbf tree b19def143135b45b64d62e4e048aaae5b711696f parent 1fdffbce0332b3e00993d741e76935e7f4f0d40f author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:45 -0500 [PATCH] libata: add ATA_QCFLAG_EH_SCHEDULED Add ATA_QCFLAG_EH_SCHEDULED. If this flag is set, the qc is owned by EH and normal completion path is not allowed to finish it. This patch doesn't actually use this flag. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 774fee58c465ea1c7e9775e347ec307bcf2deeb3 tree 6c608c388772d9e75251bfde7b1d6541331895de parent 2ef9481e666b4654159ac9f847e6963809e3c470 author Geoff Levand Thu, 02 Feb 2006 15:41:48 -0800 committer Paul Mackerras Fri, 10 Feb 2006 16:59:53 +1100 [PATCH] powerpc: Add missing vmlinux.bin target With this patch 'make vmlinux.bin' works. This is needed by some embedded platforms. Kumar already added the routines to actually build the image in arch/powerpc/boot/Makefile. Signed-off-by: Geoff Levand Signed-off-by: Paul Mackerras commit 2ef9481e666b4654159ac9f847e6963809e3c470 tree 62abb35633702dcc585df1e2ee093aaf0dc6bb07 parent 75288c78c69020a574d93770c3a941b785f3d93d author Jon Mason Mon, 23 Jan 2006 10:58:20 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:53:51 +1100 [PATCH] powerpc: trivial: modify comments to refer to new location of files This patch removes all self references and fixes references to files in the now defunct arch/ppc64 tree. I think this accomplises everything wanted, though there might be a few references I missed. Signed-off-by: Jon Mason Signed-off-by: Paul Mackerras commit 75288c78c69020a574d93770c3a941b785f3d93d tree 091bcfa5a507e5f1dd387980047854be448f415c parent 1965746bce49ddf001af52c7985e16343c768021 author Vitaly Bordug Fri, 20 Jan 2006 22:22:34 +0300 committer Paul Mackerras Fri, 10 Feb 2006 16:52:46 +1100 [PATCH] ppc32: Make platform devices being able to assign functions Implemented by modification of the .name field of the platform device, when PDs with the same names are to be used within different drivers, as -> : Corresponding drivers should change the .name in struct device_driver to reflect upper of course. Added ppc_sys_device_disable/enable function set, making it easier to disable all the inexistent/not utilized platform device way pdevs. By the check of the "disabled" bit in the config field of ppc_sys_specs, disabled platform devices will be either added/removed from the bus, or simply not registered on it, depending on the time when disable/enable call asserted. The default behaviour when nothing is disabled/enabled will be "all devices are enabled", which is the same as before. Also helper platform_notify_map function added, making assignment of board-specific platform_info more consistent and generic. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 1965746bce49ddf001af52c7985e16343c768021 tree d311fce31613545f3430582322d66411566f1863 parent 0941d57aa7034ef7010bd523752c2e3bee569ef1 author Michael Ellerman Fri, 10 Feb 2006 15:47:36 +1100 committer Paul Mackerras Fri, 10 Feb 2006 16:52:03 +1100 [PATCH] powerpc: Move pSeries firmware feature setup into platforms/pseries Currently we have some stuff in firmware.h and kernel/firmware.c that is #ifdef CONFIG_PPC_PSERIES. Move it all into platforms/pseries. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 0941d57aa7034ef7010bd523752c2e3bee569ef1 tree e4c710502b700bc79de4b3cd556f475413d698ae parent a7cb03375d794d3494561bbad90aeab13ff7e4d0 author Michael Ellerman Fri, 10 Feb 2006 15:47:32 +1100 committer Paul Mackerras Fri, 10 Feb 2006 16:52:02 +1100 [PATCH] powerpc: Clean up pSeries firmware feature initialisation Clean up fw_feature_init in platforms/pseries/setup.c. Clean up white space and replace the while loop with a for loop - which seems clearer to me. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a7cb03375d794d3494561bbad90aeab13ff7e4d0 tree 4d813b2a02a0b22912ce19402dfcb507871aa48e parent fbc94e7c3d78d53c7fa671e02e5bb6fbb3254f85 author Becky Bruce Wed, 08 Feb 2006 16:41:26 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:52:00 +1100 [PATCH] powerpc/ppc: Add missing isyncs in head_fsl_booke.S The e500 core reference manual indicates that isync is required after mtmsr(DE bit) and mtspr DBCR0. Add isyncs to make the code conform to the spec. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit fbc94e7c3d78d53c7fa671e02e5bb6fbb3254f85 tree a0d9d70b948ca8de3ed16d1fef9dfb1a6033e27e parent e19217d42e3d12d74d9eca40827721a3ef1b251c author Becky Bruce Tue, 07 Feb 2006 21:29:42 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:51:57 +1100 [PATCH] powerpc: lindent 85xx platform code Ran arch/powerpc/platforms/85xx through Lindent Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit e19217d42e3d12d74d9eca40827721a3ef1b251c tree 14738f2de0967683b088470ec49fa3ab4e49cad2 parent 46ed55f647371008c33e06e61459192f96cc24ca author Becky Bruce Tue, 07 Feb 2006 21:27:34 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:51:56 +1100 [PATCH] powerpc: rename mpc85xx.c to misc.c Rename mpc85xx.c to misc.c to match the pattern established by the 8349 port - consistency is a good thing. Also run Lindent on the file to clean it up. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 46ed55f647371008c33e06e61459192f96cc24ca tree 28831769ad6989c446ba712d51909316077db4da parent 66f2d025e234d44e35ae5bcec328078c35b8a8fb author Becky Bruce Tue, 07 Feb 2006 21:22:52 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:51:53 +1100 [PATCH] powerpc: mpc85xx_ads.c include file cleanup Cut-and-paste from the old platform code in arch/ppc resulted in arch/powerpc/platforms/85xx/mpc85xx_ads.c having way too many header files included. Clean this up. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 66f2d025e234d44e35ae5bcec328078c35b8a8fb tree d3b62d75f044e2b522f56d632ba16b1036cdf8bf parent d6d93856cb90eeb07062ad938bd26f554bf1b9b9 author Becky Bruce Tue, 31 Jan 2006 17:52:59 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:51:50 +1100 [PATCH] powerpc: Fix Kernel FP unavail exception for BookE Updated FP unavailable exception to refer to the correct function in traps.c. head_booke.h was using the old name, KernelFP, instead of kernel_fp_unavailable_exception. Signed-off-by: Becky Bruce Acked-by: Kumar Gala Signed-off-by: Paul Mackerras commit d6d93856cb90eeb07062ad938bd26f554bf1b9b9 tree eeec5011a42f38d3dfe7b61788b7ac1cc890edeb parent 8f75015f33c3005e0bbf83ffc0d5e0b4262cc03d parent ad71f123a9e9b809f6c829db1222ce0423a1153c author Paul Mackerras Fri, 10 Feb 2006 16:51:29 +1100 committer Paul Mackerras Fri, 10 Feb 2006 16:51:29 +1100 Merge ../powerpc-merge commit 70c07e02625ec46d0ffbfce1acef42d660803528 tree f500f1a4f93e72747fb08b0eefabb167dcdc5db9 parent 5d1769ac3d0ea5ff3a286b097c21faaf6a9e6859 parent 2746b8623abce815aaae7afc946b1b39f8436f5a author Jeff Garzik Thu, 09 Feb 2006 14:17:05 -0500 committer Jeff Garzik Thu, 09 Feb 2006 14:17:05 -0500 Merge branch 'viro' commit 2746b8623abce815aaae7afc946b1b39f8436f5a tree 9e14ce2a3710da5c079c1a96efa5e7c8674cd382 parent 0bdd340c092b0936f78a54bdbd3927463ed4fca3 parent 450d86dff3fc4780fd5c2d1654402ab7ffec9c38 author Jeff Garzik Thu, 09 Feb 2006 14:15:02 -0500 committer Jeff Garzik Thu, 09 Feb 2006 14:15:02 -0500 Merge branch 'net.b0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/bird commit fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 tree b39000f89c6699612d64d98fd5739ca7feba8d8f parent 1de87444f8f91009b726108c9a56600645ee8751 author Herbert Poetzl Thu, 09 Feb 2006 09:09:16 -0600 committer Dave Kleikamp Thu, 09 Feb 2006 09:09:16 -0600 JFS: ext2 inode attributes for jfs ext2 inode attributes with relevance for jfs: 'a' EXT2_APPEND_FL -> append only 'i' EXT2_IMMUTABLE_FL -> immutable file 's' EXT2_SECRM_FL -> zero file 'u' EXT2_UNRM_FL -> allow for unrm 'A' EXT2_NOATIME_FL -> no access time 'D' EXT2_DIRSYNC_FL -> dirsync 'S' EXT2_SYNC_FL -> sync overview of jfs flags (partially for OS/2) value (OS/2) Linux ext2 attrs ------------------------------------------------ 0x00010000 IFJOURNAL - 0x00020000 ISPARSE used 0x00040000 INLINEEA used 0x00080000 - - JFS_NOATIME_FL 0x00100000 - - JFS_DIRSYNC_FL 0x00200000 - - JFS_SYNC_FL 0x00400000 - - JFS_SECRM_FL 0x00800000 ISWAPFILE - JFS_UNRM_FL 0x01000000 - - JFS_APPEND_FL 0x02000000 IREADONLY - JFS_IMMUTABLE_FL 0x04000000 IHIDDEN - - 0x08000000 ISYSTEM - - 0x10000000 - - 0x20000000 IDIRECTORY used 0x40000000 IARCHIVE - 0x80000000 INEWNAME - the implementation is straight forward, except for the fact that the attributes have to be mapped to match with the ext2 ones to avoid a separate tool for manipulating them (this could be avoided when using a separate flag field in the on-disk representation, but the overhead is minimal) a special jfs_ioctl is added to allow for the new JFS_IOC_GETFLAGS and JFS_IOC_SETFLAGS calls. a helper function jfs_set_inode_flags() to transfer the flags from the on-disk version to the inode minor changes to allow flag inheritance on inode creation, as well as a cleanup of the on-disk flags (including the new ones) beforementioned helper to map between ext2 and jfs versions of the new flags ... the JFS_SECRM_FL and JFS_UNRM_FL are not done yet and I'm not 100% sure they are worth the effort, the rest seems to work out of the box ... Signed-off-by: Herbert Poetzl Signed-off-by: Dave Kleikamp commit 1fdffbce0332b3e00993d741e76935e7f4f0d40f tree d6d5063c7f2f1dfcdaa9868260b3b812e4feca7e parent 389984cb75a5d26aa6ee9724c343bbd130cb3eec author Jeff Garzik Thu, 09 Feb 2006 05:15:27 -0500 committer Jeff Garzik Thu, 09 Feb 2006 05:15:27 -0500 [libata] Move PCI IDE BMDMA-related code to new file libata-bmdma.c. commit 389984cb75a5d26aa6ee9724c343bbd130cb3eec tree 7eac7923ffdcae4539897ff4275c97259be60d0d parent 8a19ac89edbe9b702c10fd2039b8cb2db4644a5f parent 9caafa6c8686e319cf4d5f3757b3972c6c522b7c author Jeff Garzik Thu, 09 Feb 2006 04:30:18 -0500 committer Jeff Garzik Thu, 09 Feb 2006 04:30:18 -0500 Merge branch 'upstream-fixes' commit 8a19ac89edbe9b702c10fd2039b8cb2db4644a5f tree 9241f1ec6d1a8e713ca60e6e5d098a11beb0dfdf parent 7944ea9522ce0ea32d57894b3dc2540b0bdca66e author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:59:52 -0500 [PATCH] libata: implement ata_std_probeinit() This patch implements the off-the-shelf probeinit component operation. Currently, all it does is waking up the PHY if it's a SATA port. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 7944ea9522ce0ea32d57894b3dc2540b0bdca66e tree ad45c0cccefa40c2b91fbeee6bfa156fa04aeeb4 parent 5140788f77d71b4f05fde217adbfb0c92f28f20c author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:59:52 -0500 [PATCH] libata: add probeinit component operation to ata_drive_probe_reset() This patch adds probeinit component operation to ata_drive_probe_reset(). If present, this new operation is called before performing any reset. The operations's roll is to prepare @ap for following probe-reset operations. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5140788f77d71b4f05fde217adbfb0c92f28f20c tree 2f1dde965303d621269bf276f26185a2b4ae9ac9 parent 7a7921e8661a6b9fb99400983ee67df7e125853b author Jeff Garzik Thu, 09 Feb 2006 01:56:05 -0500 committer Jeff Garzik Thu, 09 Feb 2006 01:56:05 -0500 [libata scsi] build fix for ATA_FLAG_IN_EH change commit 7a7921e8661a6b9fb99400983ee67df7e125853b tree 9ef603fe34160b539c6478cfc7a107d38f80e4c9 parent b911fc3ae0121ff0b72a52e58823c3f8ac3094d0 author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:52:54 -0500 [PATCH] libata: separate out sata_phy_resume() from sata_std_hardreset() This patch separates out sata_phy_resume() from sata_std_hardreset(). The function will later be used by probeinit callback. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b911fc3ae0121ff0b72a52e58823c3f8ac3094d0 tree a0cbe5788d973d631fb4e3d1453a54799d54bc9f parent c18d06f89fd09ee0059c4899e615c471d59af66a author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:52:53 -0500 [PATCH] libata: fix ata_std_probe_reset() SATA detection ap->cbl is initialized during postreset and thus unknown on entry to ata_std_probe_reset(). This patch makes ata_std_probe_reset() use ATA_FLAG_SATA flag instead of ap->cbl to detect SATA port. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c18d06f89fd09ee0059c4899e615c471d59af66a tree 445617ceee37299d0856e54a945957102728cb0b parent dde44589bf9fac0168c6ce6d097c99c33b18074f author Tejun Heo Thu, 02 Feb 2006 00:56:10 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:18:38 -0500 [PATCH] libata: EH / pio tasks synchronization This patch makes sure that pio tasks are flushed before proceeding with EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit dde44589bf9fac0168c6ce6d097c99c33b18074f tree ee68375254528cd19fbaa66969634c7a2fd87a6f parent 725b2805fd5d729b0db59fe8fc992e97523782c7 author Tejun Heo Thu, 02 Feb 2006 00:56:10 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:18:37 -0500 [PATCH] libata: implement ATA_FLAG_IN_EH port flag ATA_FLAG_IN_EH flag is set on entry to EH and cleared on completion. This patch just sets and clears the flag. Following patches will build normal qc execution / EH synchronization aroung this flag. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 725b2805fd5d729b0db59fe8fc992e97523782c7 tree 04ca7c7ed6e918029898a6c5301488e60d0564d4 parent 9ac341ae799413708e674bc65c8a72c90dae8d34 parent cac0e8e8bb2e7a086643bdd00c41d900a79bb4fa author Jeff Garzik Thu, 09 Feb 2006 00:59:34 -0500 committer Jeff Garzik Thu, 09 Feb 2006 00:59:34 -0500 Merge branch 'upstream-fixes' commit 2730c9295a9a797a22b800d3befd6a64fdc56b02 tree e35ddbd87e8573494191e1a41d39ff0109ccfed2 parent e9ac054daaecf8a11f2113b60f2b6ce381c4f131 author Keith Owens Wed, 08 Feb 2006 13:41:10 +1100 committer Tony Luck Wed, 08 Feb 2006 12:02:07 -0800 [IA64] MCA: remove obsolete ifdef No platform in the community tree uses PLATFORM_MCA_HANDLERS, remove the references. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit e9ac054daaecf8a11f2113b60f2b6ce381c4f131 tree a17168d6b8e33aecf9cf1852693af85b95f782e3 parent 9336b0836bf789136b51caf9ddd49dcbf1726cf4 author Keith Owens Wed, 08 Feb 2006 13:41:04 +1100 committer Tony Luck Wed, 08 Feb 2006 12:01:41 -0800 [IA64] MCA: update MCA comm field for user space tasks Update the comm field on the MCA handler for user tasks as well as for verified kernel tasks. This helps to identify the task that was running when the MCA occurred. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 9336b0836bf789136b51caf9ddd49dcbf1726cf4 tree faed4f7f8882b38cf64f08b146bb3215ac864090 parent f564c5fe29d3fa9adc6d839714521b0554c62598 author Keith Owens Wed, 08 Feb 2006 13:40:59 +1100 committer Tony Luck Wed, 08 Feb 2006 11:59:23 -0800 [IA64] MCA: print messages in MCA handler Print a message identifying the monarch MCA handler. Print a summary of the status of the slave MCA cpus. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 8f75015f33c3005e0bbf83ffc0d5e0b4262cc03d tree a3c34ad86ccdc904bb43af6cd1cb163231c29276 parent 076d022c566fddde41fd4a858dd24bacad8304d7 parent e060e084e7d9e1c62d02cb6b8d3fe07db5317eaa author Paul Mackerras Wed, 08 Feb 2006 09:43:08 +1100 committer Paul Mackerras Wed, 08 Feb 2006 09:43:08 +1100 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc commit 5d1769ac3d0ea5ff3a286b097c21faaf6a9e6859 tree 63429c2222a55509dc81269233bbe7a321bb86ed parent 23a56e2cbec2860ef02d6720508fbcb07accc8b4 parent ce4b50f2fc62267eeaf331c41bc11b92d9bc7865 author Jeff Garzik Tue, 07 Feb 2006 15:16:27 -0500 committer Jeff Garzik Tue, 07 Feb 2006 15:16:27 -0500 Merge branch 'master' commit dcc1dd2366a7c355fd8b6543c52685b864a2044f tree c1fa5734246518c4cd0da82ec151eb905fd1b375 parent 412e6a378260608bf28f29d4fa8a9241e0240a2d author Jack Steiner Tue, 07 Feb 2006 09:24:14 -0800 committer Tony Luck Tue, 07 Feb 2006 09:24:14 -0800 [IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly Rewrite the SN pio_phys_xxx macros in assembly language. This avoids issues with the Intel icc compiler. Function call overhead is not an issue - the functions reference PIOs and take 100's nsec to complete. In addition, the functions should likely be in assembly language anyway - they reference memory using physical addressing mode. One function executes with psr.ic disabled. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 412e6a378260608bf28f29d4fa8a9241e0240a2d tree c1f7d21ef519c47a6e985d55971850174a4431bc parent 9df79decc395b2f9484ff93a1383ba705ff34b10 author Chen, Kenneth W Thu, 26 Jan 2006 17:19:46 -0800 committer Tony Luck Tue, 07 Feb 2006 08:49:27 -0800 [IA64] use icc defined constant Use icc defined constant instead of magic number. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 9df79decc395b2f9484ff93a1383ba705ff34b10 tree ea8e32bbb84250f49965a549792741b436c57188 parent c583f66dc41cfa4055b6ac8f50cc1ebf362298f7 author Chen, Kenneth W Thu, 26 Jan 2006 17:12:02 -0800 committer Tony Luck Tue, 07 Feb 2006 08:49:10 -0800 [IA64] add __builtin_trap definition for icc build Map __builtin_trap function to break 0 instruction. Signed-off-by: HJ Lu Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit c583f66dc41cfa4055b6ac8f50cc1ebf362298f7 tree 77cf0c82d39796ae513e9bce675e0db9984e17cb parent 4bf64e72bd499d2bf3509c2dc60d09c39f72c782 author Chen, Kenneth W Thu, 26 Jan 2006 17:08:47 -0800 committer Tony Luck Tue, 07 Feb 2006 08:48:49 -0800 [IA64] clean up asm/intel_intrin.h Include intrinsic header file from icc compiler. Remove duplicate definition from kernel source. Signed-off-by: HJ Lu Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 4bf64e72bd499d2bf3509c2dc60d09c39f72c782 tree 72c4687431def513e7d60d50f3b5ac10a981f896 parent c03296a868ae7c91aa2d8b372184763b18f16d7a author Chen, Kenneth W Thu, 26 Jan 2006 16:58:52 -0800 committer Tony Luck Tue, 07 Feb 2006 08:48:14 -0800 [IA64] map ia64_hint definition to intel compiler intrinsic Map ia64_hint() to internal intel compiler intrinsic. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit e060e084e7d9e1c62d02cb6b8d3fe07db5317eaa tree f51d6afd552911fa29f1f8feb47d57429e93ff66 parent 30f5933657d17fbbc743ce9522543ba50ce2e834 author Kumar Gala Thu, 02 Feb 2006 13:51:10 -0600 committer Paul Mackerras Tue, 07 Feb 2006 22:38:44 +1100 [PATCH] powerpc: Lindent platforms/83xx Ran arch/powerpc/platforms/83xx through Lindent Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 30f5933657d17fbbc743ce9522543ba50ce2e834 tree 90a3cf48d9545c111402e504269e3c46d23bec78 parent 4b10cfd40e3fa1c1663b9c9fa22260d41e669c6f author Kumar Gala Thu, 02 Feb 2006 13:50:44 -0600 committer Paul Mackerras Tue, 07 Feb 2006 22:38:42 +1100 [PATCH] powerpc: Cleanup MPC83xx platform support Moved some code around so its usable by more systems than just the MPC834x SYS. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 4b10cfd40e3fa1c1663b9c9fa22260d41e669c6f tree 46720a0b4527ba0b940430344cae649bfc55a07c parent 158daa4cc827bda9f7206279a1dc55de2cb9c902 author Kumar Gala Thu, 02 Feb 2006 12:31:00 -0600 committer Paul Mackerras Tue, 07 Feb 2006 22:38:41 +1100 [PATCH] powerpc: Add platform support for MPC834x USB controllers Setup the platform devices needed by the Freescale EHCI USB host controllers based on a flat device tree Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 158daa4cc827bda9f7206279a1dc55de2cb9c902 tree 2fdefa12f5bfa00c56255b0887aff442685b38a0 parent 155da5ff5798c46d941a836e0775f83ed888e73e author Olaf Hering Mon, 30 Jan 2006 14:28:03 +0100 committer Paul Mackerras Tue, 07 Feb 2006 22:38:39 +1100 [PATCH] powerpc: remove check for ELF offset in powerpc bootimage Do not check for offset, it is always set. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 155da5ff5798c46d941a836e0775f83ed888e73e tree b73c69f929a0062c6d027c3a6d1412e5f202b60b parent 56b5c9737cdd8814a10f3022fc0cef8af9ea9ba5 author Domen Puncer Thu, 26 Jan 2006 13:50:01 +0300 committer Paul Mackerras Tue, 07 Feb 2006 22:38:38 +1100 [PATCH] powerpc: Remove arch/ppc/syslib/ppc4xx_pm.c Remove nowhere referenced file ("grep ppc4xx_pm -r ." didn't find anything). Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Paul Mackerras commit 56b5c9737cdd8814a10f3022fc0cef8af9ea9ba5 tree daa1d75183c7cf2eb76d0bc6cb79421f4f0dd2e0 parent 3b9331dac16555e8788ae21723f2146c3f994ebb author Michael Ellerman Wed, 25 Jan 2006 21:31:36 +1300 committer Paul Mackerras Tue, 07 Feb 2006 22:38:37 +1100 [PATCH] powerpc: Put parameter names in lmb.h prototypes Prototypes aren't so useful without parameter names, add them to lmb.h based on the names in lmb.c Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 3b9331dac16555e8788ae21723f2146c3f994ebb tree f9f73d6b59c7d621ec8312348065dfd6ededef3c parent d7a5b2ffa1352f0310630934a56aecbdfb617b72 author Michael Ellerman Wed, 25 Jan 2006 21:31:30 +1300 committer Paul Mackerras Tue, 07 Feb 2006 22:38:36 +1100 [PATCH] powerpc: Move LMB_ALLOC_ANYWHERE out of lmb.h LMB_ALLOC_ANYWHERE doesn't need to be part of the API, it's only used in lmb.c - so move it out of the header file. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit d7a5b2ffa1352f0310630934a56aecbdfb617b72 tree 5ec2ed1d4e63d4bd2847531115fd263109a16830 parent 2fb07d776b3c4473275eb225b6bf2a83755c9bfe author Michael Ellerman Wed, 25 Jan 2006 21:31:28 +1300 committer Paul Mackerras Tue, 07 Feb 2006 22:38:34 +1100 [PATCH] powerpc: Always panic if lmb_alloc() fails Currently most callers of lmb_alloc() don't check if it worked or not, if it ever does weird bad things will probably happen. The few callers who do check just panic or BUG_ON. So make lmb_alloc() panic internally, to catch bugs at the source. The few callers who did check the result no longer need to. The only caller that did anything interesting with the return result was careful_allocation(). For it we create __lmb_alloc_base() which _doesn't_ panic automatically, a little messy, but passable. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 2fb07d776b3c4473275eb225b6bf2a83755c9bfe tree 0ba9f8cc0d61b61bd9b679fdfcdd66301a7d908a parent d2515c806ea2b602e99b9aa19448577c7f0318fb author Kumar Gala Mon, 23 Jan 2006 16:58:04 -0600 committer Paul Mackerras Tue, 07 Feb 2006 22:38:32 +1100 [PATCH] powerpc: cleaned up fsl_soc.c Cleaned up fsl_soc.c based on comments from Olof Johansson. Ran through Lindent, and split gfar_mdio init into its own function. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit d2515c806ea2b602e99b9aa19448577c7f0318fb tree 06fb01be2ce98caf44d1c8831a83406b1291b51c parent 42dc75c4b97922d3d7707ac0b097fbeeca20b108 author Olaf Hering Sun, 22 Jan 2006 22:19:02 +0100 committer Paul Mackerras Tue, 07 Feb 2006 22:36:37 +1100 [PATCH] powerpc: cleanup pmac_newworld variable usage remove extern declarations of pmac_newworld move pmac_newworld to bss if there is any "interrupt-controller" device, then it is newworld. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 42dc75c4b97922d3d7707ac0b097fbeeca20b108 tree 9b643a303ef555057def71b588a556da4c7942ff parent b92891751600a1677c2b7f611f8b1e58d53388dc author Vitaly Bordug Fri, 20 Jan 2006 22:22:36 +0300 committer Paul Mackerras Tue, 07 Feb 2006 22:36:33 +1100 [PATCH] ppc32: MPC885ADS, MPC866ADS and MPC8272ADS-specific platform stuff for fs_enet Added proper ppc_sys identification and fs_platform_info's for MPC 885ADS, 866ADS and 8272ADS, utilizing function assignment to remove/do not use platform devices which conflict with PD-incompatible drivers. Signed-off-by: Vitaly Bordug Signed-off-by: Paul Mackerras commit b92891751600a1677c2b7f611f8b1e58d53388dc tree 26c753166c297ecc3d13424d25432712edfb8525 parent 909aeca664dd1fe55111dc4ec25c1bebe91674a2 author Grant C. Likely Thu, 19 Jan 2006 01:13:45 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:36:02 +1100 [PATCH] powerpc: Add ML403 defconfig Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 909aeca664dd1fe55111dc4ec25c1bebe91674a2 tree b1b0737582e2348d2b5c728db6b280df90bc5df1 parent b58b5aa51c78079fa4f652cd42e7b496a1d5411a author Grant C. Likely Thu, 19 Jan 2006 01:13:37 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:36:01 +1100 [PATCH] powerpc: Add support for Xilinx ML403 reference design Includes fix for Xilinx silicon errata 213 Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit b58b5aa51c78079fa4f652cd42e7b496a1d5411a tree b4882ff5037db7d37d279b38fbe10cc02b6c1463 parent 72646c7f69acad3595cc69f82a6e664a23b05542 author Grant C. Likely Thu, 19 Jan 2006 01:13:28 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:36:01 +1100 [PATCH] powerpc: Add xparameters file for Xilinx ML403 reference design Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 72646c7f69acad3595cc69f82a6e664a23b05542 tree c035c42f8a113466955bea97662dcf9469108af4 parent 5eb446cb72f67fdb87b2a1dd16262b75edbe30bc author Grant C. Likely Thu, 19 Jan 2006 01:13:20 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:36:00 +1100 [PATCH] powerpc: Add Virtex-4 FX to cpu table Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 5eb446cb72f67fdb87b2a1dd16262b75edbe30bc tree 825f5608c3eaa09af4fc2d0ed3f583976d0485b9 parent e27db622b850e6426b69ef42e5678ba068c7f8e0 author Grant C. Likely Thu, 19 Jan 2006 01:13:12 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:59 +1100 [PATCH] powerpc: Add ML300 defconfig Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit e27db622b850e6426b69ef42e5678ba068c7f8e0 tree 57b7aeb1d6611d9d7f38e69ac6f0cbed3a3a3c7c parent 1a42e53d175074f340a3f85042ed64cfc51be216 author Grant C. Likely Thu, 19 Jan 2006 01:13:03 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:59 +1100 [PATCH] powerpc: Migrate ML300 reference design to the platform bus Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 1a42e53d175074f340a3f85042ed64cfc51be216 tree 6426aebaa777d30be7ea7e6f3f6334fb94029230 parent 562e7370a4d59d7ee8988fb0e13707d1f01a046a author Grant C. Likely Thu, 19 Jan 2006 01:12:48 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:58 +1100 [PATCH] powerpc: Migrate Xilinx Vertex support from the OCP bus to the platfom bus. This patch only deals with the serial port definitions as there is no support for any other xilinx IP cores in the kernel tree at the moment. Board specific configuration moved out of virtex.[ch] and into the xparameters.h wrapper. This also prepares for the transition to the flattened device tree model. When the bootloader provides a device tree generated from an xparameters.h files, the kernel will no longer need xparameters/*. The platform bus will get populated with data from the device tree, and the device drivers will be automatically connected to the devices. Only the bootloader (or ppcboot) will need xparameters directly. Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 562e7370a4d59d7ee8988fb0e13707d1f01a046a tree e42797b26e76c0079b4e2af66e5c643f0e43cf22 parent b4367e7451f19a3ae8b453e8b7ac0a1fdd9bca04 author Grant C. Likely Thu, 19 Jan 2006 01:12:40 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:57 +1100 [PATCH] powerpc: Make Virtex-II Pro support generic for all Virtex devices The PPC405 hard core is used in both the Virtex-II Pro and Virtex 4 FX FPGAs. This patch cleans up the Virtex naming convention to reflect more than just the Virtex-II Pro. Rename files virtex-ii_pro.[ch] to virtex.[ch] Rename config value VIRTEX_II_PRO to XILINX_VIRTEX Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit b4367e7451f19a3ae8b453e8b7ac0a1fdd9bca04 tree fb66222169af4015f89f7ab80fea0a1469eeeb50 parent 7d4d61544a12333600bdb9b018a149868418692e author Grant C. Likely Thu, 19 Jan 2006 01:12:32 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:35 +1100 [PATCH] powerpc: Move xparameters.h into xilinx virtex device specific path xparameters should not be needed by anything but virtex platform code. Move it from include/asm-ppc/ to platforms/4xx/xparameters/ This is preparing for work to remove xparameters from the dependancy tree for most c files. xparam changes should not cause a recompile of the world. Instead, drivers should get device info from the platform bus (populated by the boot code) Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 282b7cb3e03d9ada4067083e61919d74197a1e5a tree 91a4c243df0df5df5174717f9a2858eecfaf45ef parent f1e5ee45b4a0216ac4f0a9c41e488032391e8575 author Markus Rechberger Tue, 07 Feb 2006 06:14:16 +0100 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:41:10 -0200 V4L/DVB (3326): Adding support for Terratec Prodigy XS Adding support for Terratec Prodigy XS Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit f1e5ee45b4a0216ac4f0a9c41e488032391e8575 tree e8589715a461c3df0348d392a3e247e8ae12b40b parent df821f758c37dce41fbef0d20932909332619f04 author Markus Rechberger Tue, 07 Feb 2006 04:01:19 +0100 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:41:00 -0200 V4L/DVB (3325): Disabled debug on by default in tvp5150 disabled debug on by default in tvp5150 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit df821f758c37dce41fbef0d20932909332619f04 tree cfbc639f25141fa48f6c0081020c7b7df84f9c70 parent 2d77645a0e8228d3473008ec736e89b7105eafff author Hans Verkuil Mon, 06 Feb 2006 23:52:24 +0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:40:51 -0200 V4L/DVB (3324): Fix Samsung tuner frequency ranges Forgot to take the NTSC frequency offset into account. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 2d77645a0e8228d3473008ec736e89b7105eafff tree 1efaa64179e0169434a63c453c737800c5865168 parent 922f77de3e26af512ae12d2a0ddb1e1efdf8d81c author Adrian Bunk Tue, 07 Feb 2006 06:49:15 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:15 -0200 V4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends The at76c651 and tda80xx frontends are currently completely unused, IOW their only effect is making the kernel larger for people accitentially enabling them. The current in-kernel drivers differ from the drivers at cvs.tuxbox.org, and re-adding them when parts of the dbox2 project get merged should be trivial. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit 922f77de3e26af512ae12d2a0ddb1e1efdf8d81c tree a17265cf00e678326524acacca9f273a53b6201e parent 3593cab5d62c4c7abced1076710f9bc2d8847433 author Dave Jones Tue, 07 Feb 2006 06:49:15 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:15 -0200 V4L/DVB (3318c): fix saa7146 kobject register failure Whoops. kobject_register failed for hexium HV-PCI6/Orion (-13) [] kobject_register+0x31/0x47 [] bus_add_driver+0x4a/0xfd [] __pci_register_driver+0x82/0xa4 [] hexium_init_module+0xa/0x47 [hexium_orion] [] sys_init_module+0x167b/0x1822 [] do_sync_read+0xb8/0xf3 [] autoremove_wake_function+0x0/0x2d [] audit_syscall_entry+0x118/0x13f [] do_syscall_trace+0x104/0x14a [] syscall_call+0x7/0xb slashes in kobject names aren't allowed. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 3593cab5d62c4c7abced1076710f9bc2d8847433 tree dd5dc21961f6b4aef6900b0c2eb63ce7c70aecd5 parent 538f9630afbbe429ecbcdcf92536200293a8e4b3 author Ingo Molnar Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3318b): sem2mutex: drivers/media/, #2 Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 538f9630afbbe429ecbcdcf92536200293a8e4b3 tree d7a7d4e2e93d4cd9b79609ff1e2422ce16506f7b parent 44256de13ecc72291b616fda5f2c7ca8b110feec author Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3318a): Makes Some symbols static. Some symbols at cx88-alsa were global. Making those static. Signed-off-by: Mauro Carvalho Chehab commit 44256de13ecc72291b616fda5f2c7ca8b110feec tree c87412fa747aa33978a4d4c29cdc60974d786bef parent 3dfb729f4513184d06a0c618179489ac7bb277e0 author Michael Krufky Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3316): Add initial support for KWorld HardwareMpegTV XPert - Add initial support for KWorld HardwareMpegTV XPert. - uses silicon tuner: tda8290 + tda8275 - standard video using cx88 broadcast decoder is working. - blackbird mpeg encoder support (cx23416) not yet working. - FM radio untested. - audio is only working correctly in television mode, all other modes disabled. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3dfb729f4513184d06a0c618179489ac7bb277e0 tree e31f89ca06c5ec10fa4a62fa07089d018f53254b parent e5d4a56d5d824e4dfe7d065d0fedb02e63952710 author Peter Hartshorn Tue, 07 Feb 2006 06:49:13 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:13 -0200 V4L/DVB (3315): Added support for the Tevion DVB-T 220RF card This is an analog / digital hybrid card. Signed-off-by: Peter Hartshorn Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit e5d4a56d5d824e4dfe7d065d0fedb02e63952710 tree d74a55f6a7ca0327308aa60c638fec8b61d7016f parent 21d06544a745a09cc1e9ce5376a61b074bfce379 author Markus Rechberger Tue, 07 Feb 2006 06:49:13 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:13 -0200 V4L/DVB (3314): Fixed em28xx based system lockup Fixed em28xx based system lockup, device needs to be initialized before starting the isoc transfer otherwise the system will completly lock up. Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 21d06544a745a09cc1e9ce5376a61b074bfce379 tree 3b10a671baf997e74ce9b92709feefdebfd58bb0 parent 123aab28608ac81938865b31db188c985aeb4424 author Patrick Boettcher Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file - When a firmware was downloaded dvb_usb_device_init returns NULL for the dvb_usb_device, then nothing should be done with that pointer and device, because it will re-enumerate. - A new firmware should be used with digitv devices. - It should make "slave"-devices work and others, too. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 123aab28608ac81938865b31db188c985aeb4424 tree 63769587f34e3b7f8eeb839cb6eb1a0074b9adb8 parent fb51fd2d345021d0cc34848319f4efa75c9e1daa author Patrick Boettcher Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3312): FIX: Multiple usage of VP7045-based devices Reassigning function pointers in a static led to infinite loops when using multiple VP7045-based device at the same time on one system. Using kmalloc'd copies for reassignments is better. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit fb51fd2d345021d0cc34848319f4efa75c9e1daa tree fd28a5a7cd5cbbf2e0be61b31a79da42c0ecad42 parent d9ed881c66525ac0d95fbf76a46187a5de43be2d author Michael Krufky Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV DVB-T boxes. Use the parallel transport function of the MT352 demodulator in TH7579 and LGZ201 -based FusionHDTV Bluebird usb boxes. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d9ed881c66525ac0d95fbf76a46187a5de43be2d tree 602f7d3198db0b8e71b59c1e319d7cb50d8732d2 parent 8bd6301c2a33271b629ac1ef2088e110624d5665 author Chris Pascoe Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB Use the parallel transport function of the MT352 in USB demodulator of the Dual Digital board. Signed-off-by: Chris Pascoe Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8bd6301c2a33271b629ac1ef2088e110624d5665 tree 5bfeafe221ba3dcaed34a451f0b64fcda3aded97 parent e8e41da46dca6b33e990b48ee379503d25b4da65 author Oliver Endriss Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3307): Support for Galaxis DVB-S rev1.3 support for Galaxis DVB-S rev1.3 (subsystem 13c2:0004) Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit e8e41da46dca6b33e990b48ee379503d25b4da65 tree 792a51056771f14c8fa7b88a094c06b5369c61a8 parent df42eaf2b2f2c43969d879dbcafa698c666fe8a9 author Markus Rechberger Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep fixed i2c return value, conversion mdelay to msleep Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit df42eaf2b2f2c43969d879dbcafa698c666fe8a9 tree 7cbfeaf66d839d29f682cfc7356bd8cca0116965 parent 0eb3de20a1cec67547951cebc4fcddc701e7428b author Hartmut Hackmann Tue, 07 Feb 2006 06:49:10 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:10 -0200 V4L/DVB (3305): Added support for the ADS Instant TV DUO Cardbus PTV331 Analog and DVB-T are working, Remote not yet. This card is based on the new LifeView design, there should be many variants. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 0eb3de20a1cec67547951cebc4fcddc701e7428b tree 056fbb4adedc7b2462efa4146b8bd8ad35c3cb16 parent 0157a9cc727dec90a7d60ad254eb899a775685a9 author Hartmut Hackmann Tue, 07 Feb 2006 06:49:10 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:10 -0200 V4L/DVB (3304): TDA10046 Driver update - Set outputs to tristate in sleep mode - Reduce dangerously high firmware download speed with 16MHz xtal - added tda827x configuration with GPIOs low - added comments to stupid looking IIC reads that work around bugs in the tda10046. - some minor updates Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 0157a9cc727dec90a7d60ad254eb899a775685a9 tree 3945ae8c3b689cf21d22961a3a4afc0d81701755 parent 3d8466ece44c70555a101da73845955c443f4d18 author Hartmut Hackmann Tue, 07 Feb 2006 06:49:09 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:09 -0200 V4L/DVB (3303): TDA8290 update This patch - works around a bug in the I2C bridge that makes the initialization of the TDA10046 fail on recent LifeView cards - puts the AGC output to tristate in sleep mode. This is necessary for recent hybrid cards that switch the AGC via tristateing. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 3d8466ece44c70555a101da73845955c443f4d18 tree 9d7fe8df835b31c2365ec216c1ac47afad954d67 parent d97a11e091a0bf40f1cfb0bbf443ddd7b455b133 author Giampiero Giancipoli Tue, 07 Feb 2006 06:49:09 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:09 -0200 V4L/DVB (3302): Added support for the LifeView FlyDVB-T LR301 card Additionally to the card support, this changeset adds the option tda10046lifeview to get_dvb_firmware to download tda10046 firmware from LifeView's site. Signed-off-by: Giampiero Giancipoli Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit d97a11e091a0bf40f1cfb0bbf443ddd7b455b133 tree 489727bd0a5cc8350ff5753b26b893dd1776791f parent 8a8832a8eb5a824261a63c22befb4a8c193d4d02 author Hans Verkuil Tue, 07 Feb 2006 06:48:40 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:48:40 -0200 V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio. South Korea uses NTSC-M but with A2 audio instead of BTSC. Several audio chips need this information in order to set the correct audio processing registers. Acked-by: Mauro Carvalho Chehab Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 8a8832a8eb5a824261a63c22befb4a8c193d4d02 tree d2d40ad7e3dd422b08892a0099a6dab0dc41f280 parent 28ecc4490100488663f1a978846632800ab198d5 author Michael Krufky Tue, 07 Feb 2006 06:45:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:33 -0200 V4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352 - rename DVB_USB_CXUSB one-liner description to: Conexant USB2.0 hybrid reference design support. - with the addition of bluebird support to dvb-usb-cxusb, it now depends on lgdt330x and mt352 modules. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 28ecc4490100488663f1a978846632800ab198d5 tree 5af095d861b0a3a61abc8cd9e0ecd0a25ccea852 parent 6a5b28f9b7688638eed23b891d6bf5d9aaca94d3 author Marco Manenti Tue, 07 Feb 2006 06:45:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:33 -0200 V4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based) add IR support to KWorld DVB-T (cx22702-based) Signed-off-by: Marco Manenti Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6a5b28f9b7688638eed23b891d6bf5d9aaca94d3 tree d2f9b4c39e8a63c5be7c84de213787925d586261 parent 19d7509c0531b0e08f52ab93070569e0aba54cdf author Manu Abraham Tue, 07 Feb 2006 06:45:30 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:30 -0200 V4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect With DVB drivers enabled snd_87x (ALSA) don't detect. Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 19d7509c0531b0e08f52ab93070569e0aba54cdf tree 07e24d063ddd290ca4caaf19ac68584c591e5e63 parent 33ccaa3feb2a6e09942b6f0af6fbb0451a2e1537 author Markus Rechberger Tue, 07 Feb 2006 06:38:24 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:38:24 -0200 V4L/DVB (3281): Added signal detection support to tvp5150 - added signal detection support to tvp5150 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 33ccaa3feb2a6e09942b6f0af6fbb0451a2e1537 tree 12f293749bedbf1d875ebd341b504907ff2e1825 parent 15207b2e73afb3aa6cd96a1b8c0b5016bcf90128 author Markus Rechberger Tue, 07 Feb 2006 06:25:41 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:41 -0200 V4L/DVB (3280): Changed description of KWorld PVR TV 2800RF Changed description of KWorld PVR TV 2800RF Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 15207b2e73afb3aa6cd96a1b8c0b5016bcf90128 tree c358d3ba848457cbe7049475828e0b4cb2f086d5 parent 8f1a58d0fccacb5d61aed8a63c3920c8acc155e7 author Michael Krufky Tue, 07 Feb 2006 06:25:40 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:40 -0200 V4L/DVB (3278): Show debug for tuners trying to use unsupported video standards With tuner_debug enabled, if a tuner tries to use a video standard that doesn't have a matching tuner_params defined, the IFPCoff value and tuner number will be displayed, and the default tuner_params entry will be used. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8f1a58d0fccacb5d61aed8a63c3920c8acc155e7 tree d229a08c9f0f90db266ec09c62d8282b9fb0158e parent 4d17d0834a2e6a5cba096ea09592a4a096183300 author Michael Krufky Tue, 07 Feb 2006 06:25:39 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:39 -0200 V4L/DVB (3277): Use default tuner_params if desired_type not available If a given tuner definition contains more than one tuner_params array members, it will try to select the appropriate tuner_params based on the video standard in use. If there is no tuner_params defined for the current video standard, it will select the default, tuner_params[0] Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4d17d0834a2e6a5cba096ea09592a4a096183300 tree fa39740c5694402941deb48b4f2688a8da68ccd2 parent f7d66e82c6df37043ddd41ec9ec893844d3a18be author Markus Rechberger Tue, 07 Feb 2006 06:25:39 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:39 -0200 V4L/DVB (3276): Added terratec hybrid xs and kworld 2800rf support - Added terratec hybrid xs product/vendorid - Added gpio audio initialization for kworld pvr 2800rf Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit f7d66e82c6df37043ddd41ec9ec893844d3a18be tree e255e554b49b2b1a004f63af360e81a31188b2be parent 99d33d5012c31c6c2b7ad5658654d7c5f0d606d1 author Hartmut Hackmann Tue, 07 Feb 2006 06:25:37 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:37 -0200 V4L/DVB (3275): Allow SAA7134 to fall back to AM sound when there is NICAM-L This patch allows to select AM sound even if NICAM is detected. Proposed by Alain Frappin Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 99d33d5012c31c6c2b7ad5658654d7c5f0d606d1 tree d156a988421c4953b63c9ede689cc517dfe5a560 parent bd0d0f59ca56c7ef063d714e9b602fcaa5c11072 author Michael Krufky Tue, 07 Feb 2006 06:25:36 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:36 -0200 V4L/DVB (3271): Update tuner comments Right now, all tuners are using the first tuner_params[] array element for analog mode. We are now ready to begin merging similar tuner definitions together, such that each tuner definition will have a tuner_params struct for each available video standard. The tuner_params[] array element will be chosen based on the video standard in use. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bd0d0f59ca56c7ef063d714e9b602fcaa5c11072 tree 28a8ad6e6cbbbfd586f0726d7f4bef62e632023f parent 476d63d061a082bcb833009e15a3632459a3caad author Michael Krufky Tue, 07 Feb 2006 06:25:35 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:35 -0200 V4L/DVB (3270): Tuner_dbg will show tuner param and range selected - tuner_dbg will show tuner param and range selected Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 476d63d061a082bcb833009e15a3632459a3caad tree 429773b4599fbca8d07554c4c2b27c5464f80033 parent 5f5941872c0035cb4624efe8c5a1dfbb89d199e7 author Michael Krufky Tue, 07 Feb 2006 06:25:34 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:34 -0200 V4L/DVB (3269): Allow multiple tuner params in each tuner definition - allow multiple tuner params in each tuner definition. - the correct tuner_params element will be chosen based on current video standard. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5f5941872c0035cb4624efe8c5a1dfbb89d199e7 tree 0283d55a9bf202bead411201e3563df54ff54638 parent a78d0bfabda67dd40a5a97ba4c24265e1820e7ea author Michael Krufky Tue, 07 Feb 2006 06:25:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:33 -0200 V4L/DVB (3268): Move video std detection to top of set_tv_freq function - move video std detection to top of set_tv_freq function - we must detect video std first, so that we can choose the correct tuner_params Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a78d0bfabda67dd40a5a97ba4c24265e1820e7ea tree 9b35e9afdbbbd15cdc5cbe742da2743f6e97f317 parent 17801f5fa2e31b60f26aadd7ba41395dd1b1093e author Jose Alberto Reguero Tue, 07 Feb 2006 06:25:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:14 -0200 V4L/DVB (3267): Add support for the Avermedia 777 DVB-T card Signed-off-by: Jose Alberto Reguero Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 79dc190147f8a87718fe72928d5ceb58e09acdb9 tree b15aa21ac0eab7e2bad971c6bdf07c36a85b6d57 parent fe9313956d67367cc91c5a6989bafc4315801402 author Andrew Morton Fri, 03 Feb 2006 01:45:13 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:51:40 -0500 [PATCH] s2io c99 warning fix drivers/net/s2io.c: In function `verify_l3_l4_lro_capable': drivers/net/s2io.c:6638: warning: ISO C90 forbids mixed declarations and code Cc: Ravinandan Arakali Cc: Ananda Raju Cc: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit fe9313956d67367cc91c5a6989bafc4315801402 tree c9bc140dcb92d8fa8a3afc6ce81e86d42882c289 parent 7d3d0439f574a4857c97b3ad2e63b082b7382d7e author Andrew Morton Fri, 03 Feb 2006 01:45:12 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:51:40 -0500 [PATCH] git-netdev-all: s2io fixes Fix this: drivers/built-in.o(.text+0x89469): In function `s2io_get_ethtool_stats': drivers/net/s2io.c:5209: undefined reference to `__udivdi3' Cc: Ravinandan Arakali Cc: Ananda Raju Cc: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 23a56e2cbec2860ef02d6720508fbcb07accc8b4 tree a05a6b49944202b492ae492434a25f849e2616ba parent 6bd0e10e53cc4824cd8cdaab8c370e53ab2e23c2 parent 3cfc15103aa56c2c7ee6dd312c24a8d1697bade1 author Jeff Garzik Tue, 07 Feb 2006 02:06:12 -0500 committer Jeff Garzik Tue, 07 Feb 2006 02:06:12 -0500 Merge branch 'upstream-fixes' commit 6bd0e10e53cc4824cd8cdaab8c370e53ab2e23c2 tree 239e89177a17a99d94bfdc799d62eb6d48b4f201 parent 3c9b3a8575b4f2551e3b5b74ffa1c3559c6338eb parent 0d615ec2bb1cb8c38087bb24f6d2876dec3a9751 author Jeff Garzik Tue, 07 Feb 2006 01:47:33 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:47:33 -0500 Merge branch 'sundance' commit 3c9b3a8575b4f2551e3b5b74ffa1c3559c6338eb tree 7f8d84353852401ec74e005f6f0b1eb958b9a70d parent c0d3c0c0ce94d3db893577ae98e64414d92e49d8 parent c03296a868ae7c91aa2d8b372184763b18f16d7a author Jeff Garzik Tue, 07 Feb 2006 01:47:12 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:47:12 -0500 Merge branch 'master' commit c0d3c0c0ce94d3db893577ae98e64414d92e49d8 tree 0eb82bef20d8f02a0c4b207c4a543a5a49a83b17 parent a03b1950521466e007288a25c9fc7ac7f05a97e5 author Bunk Tue, 07 Feb 2006 01:43:31 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:43:31 -0500 [netdrvr] schedule eepro100 for removal commit 17801f5fa2e31b60f26aadd7ba41395dd1b1093e tree d1df5f2f1efb863786e4cf76ffc756b42d114fa8 parent bbab6fd81f26b210f0815d79064a3387c3a1ade3 author Marcin Rudowski Mon, 06 Feb 2006 09:15:14 -0200 committer Mauro Carvalho Chehab Mon, 06 Feb 2006 09:15:14 -0200 V4L/DVB (3266): Fix NICAM buzz on analog sound Apparently, having the number of lines fixed at 4 reduces (or even kills) the buzz found in NICAM stereo with analog sound. Signed-off-by: Marcin Rudowski Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit bbab6fd81f26b210f0815d79064a3387c3a1ade3 tree 627875f2ea294e49643862f9576cea96952d934c parent b31c544aedc802688e32240f1398a4321433bfae author Michael Krufky Mon, 06 Feb 2006 09:15:11 -0200 committer Mauro Carvalho Chehab Mon, 06 Feb 2006 09:15:11 -0200 V4L/DVB (3265): Add count to tunertype struct The tuner_params element is an array of undefined length, with each array member being a set of parameters for each video standard type. The number of members in the tuner_params array will be stored in tuners[]->count Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 01d206a7c1167639f6ca6dac22140fbdca017558 tree bc3ccf1a8140a7f787c4728cfa4c30e65ad56eb2 parent 9c4b562abc9005e4b413de02c85d3d29da707cba parent d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f author Adrian Bunk Fri, 03 Feb 2006 23:49:49 +0100 committer Adrian Bunk Fri, 03 Feb 2006 23:49:49 +0100 Merge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 9ac341ae799413708e674bc65c8a72c90dae8d34 tree e4b4f21c424e1843ce2155f060e8930154b0476b parent 18ee3610040a4c008ce08a40a5dd025241cc7e97 parent ddef9bb367b19383df627e388cb4c01c86ddba6c author Jeff Garzik Thu, 02 Feb 2006 16:17:31 -0500 committer Jeff Garzik Thu, 02 Feb 2006 16:17:31 -0500 Merge branch 'upstream-fixes' commit 18ee3610040a4c008ce08a40a5dd025241cc7e97 tree 32a996a5123726b63c31a1522f230933fb967a32 parent e4e7b89280d1d666e2c09e5ad36cf071796c4c7e parent b4103333d7904310d34de18d85e51e3d74f00a3b author Jeff Garzik Thu, 02 Feb 2006 01:12:54 -0500 committer Jeff Garzik Thu, 02 Feb 2006 01:12:54 -0500 Merge branch 'master' commit e4e7b89280d1d666e2c09e5ad36cf071796c4c7e tree 32f9fed9d68452fe6cf1ccca6559c0703b04f544 parent d6fb89bf6b8b45ec8c911570ba0852940690d846 author Jeff Garzik Tue, 31 Jan 2006 12:18:41 -0500 committer Jeff Garzik Tue, 31 Jan 2006 12:18:41 -0500 [libata sata_mv] add 6042 support, fix 60xx/50xx EDMA configuration commit a03b1950521466e007288a25c9fc7ac7f05a97e5 tree d1e9486b6e21bde1d80113ce9abe933e51364826 parent 0b310f36d7d96e27f6941ec0f9b95e15142f1e78 parent c6f0d75a2defe8c7d8bf9f78de891cedc46b4b3e author Jeff Garzik Tue, 31 Jan 2006 11:52:21 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:52:21 -0500 Merge branch 'upstream-fixes' commit 0b310f36d7d96e27f6941ec0f9b95e15142f1e78 tree c2a3d403c82fd892ded3849cc721cf8e6f8c7824 parent 359b8800d3a46557844969c485e1a14baf119b06 parent 2f633db5e9c57e07a971b65e9a72f090f59fd5f6 author Jeff Garzik Tue, 31 Jan 2006 11:50:55 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:50:55 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 359b8800d3a46557844969c485e1a14baf119b06 tree 9e2015a5c1feddc17ba638b05b5fb3988bc79e27 parent 4f975b32433df87b8ead3de9944e0a9f90d261fd parent 0febb720fe77153f54b68fe7a3d7114f4c6711d8 author Jeff Garzik Tue, 31 Jan 2006 11:50:25 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:50:25 -0500 Merge branch 'upstream-fixes' commit 2f633db5e9c57e07a971b65e9a72f090f59fd5f6 tree 7349aedafbc9c52630e20beb5d7b8c31052cc037 parent f1b50863aa6a96c61a57e3b3a5e76e67b38c5c3e author Larry Finger Mon, 30 Jan 2006 23:25:10 -0600 committer John W. Linville Tue, 31 Jan 2006 10:35:46 -0500 [PATCH] Add two management functions to ieee80211_rx.c On my system, I get unhandled management functions corresponding to IEEE80211_STYPE_REASSOC_REQ and IEEE80211_STYPE_ASSOC_REQ. The attached patch adds the logic to pass these requests off to a user stack. The patches to implement these requests in softmac have already been sent to Johannes Berg. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit f1b50863aa6a96c61a57e3b3a5e76e67b38c5c3e tree 9582287de5d5c9cf42a120e4103e2c6b849a2992 parent 4be757dd4c00ddabff2d6faf639466bb5d76bc79 author Dan Williams Mon, 30 Jan 2006 13:58:56 -0500 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] wireless/ipw2200: support WE-18 WPA enc_capa This patch allows ipw2100 driver to advertise the WPA-related encryption options that it does really support. It's necessary to work correctly with NetworkManager and other programs that actually check driver & card capabilities. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 4be757dd4c00ddabff2d6faf639466bb5d76bc79 tree 2b8d8bc23889da7c78db7592db2f791ef13bcf43 parent dd5eeb461ea572f82d34e1f2c4b88037df5afedb author Dan Williams Mon, 30 Jan 2006 11:58:00 -0500 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] wireless/airo: add IWENCODEEXT and IWAUTH support This patch adds IWENCODEEXT and IWAUTH support to the airo driver for WEP and unencrypted operation. No WPA though. It allows the driver to operate more willingly with wpa_supplicant and NetworkManager. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit dd5eeb461ea572f82d34e1f2c4b88037df5afedb tree 5c6bcb9a6cb50d42c4bf17b41785622dfcc04314 parent bde37d037715bef4a67d58d00fecbe4c71836cab author Larry Finger Mon, 30 Jan 2006 13:12:50 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ieee80211: common wx auth code This patch creates two functions ieee80211_wx_set_auth and ieee80211_wx_get_auth that can be used by drivers for the wireless extension handlers instead of writing their own, if the implementation should be software only. These patches enable using bcm43xx devices with WPA and this seems (as far as I can tell) to be the only difference between the stock ieee80211 and softmac's ieee80211 left. Signed-Off-By: Johannes Berg Signed-off-by: John W. Linville commit bde37d037715bef4a67d58d00fecbe4c71836cab tree 6bac64a4ad48c7a3315cd69f3805ceea0dfaed8d parent 4644151b7208bec9522cad928a7105e0fc04a2b2 author Zhu Yi Tue, 24 Jan 2006 16:38:08 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ipw2200: Disable hwcrypto by default After looking at the mailing list (and experiencing permanent driver lockups while using hwcrypto=1) I think that disabling this option by default would be better than otherwise. Signed-off-by: Andreas Happe Signed-off-by: John W. Linville commit 4644151b7208bec9522cad928a7105e0fc04a2b2 tree 9771f6008d3a20b673a3203ae2aa0a7f2a3734bc parent 2638bc394195f27801d1c184c4358ce25599146b author Zhu Yi Tue, 24 Jan 2006 16:37:59 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ipw2200: Semaphore to mutexes conversion The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Ronald Bultje Cc: "David S. Miller" Cc: Jeff Garzik Cc: Yi Zhu Cc: James Ketrenos Signed-off-by: Andrew Morton Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 2638bc394195f27801d1c184c4358ce25599146b tree 5524a41930056c9cd5a65f795f8901f8f25c579b parent 7c97eb3f1dd09548fe7167e684da4fc94580aceb author Zhu Yi Tue, 24 Jan 2006 16:37:52 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: remove white space and better format the code Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 7c97eb3f1dd09548fe7167e684da4fc94580aceb tree 0b6b65afaf25846b6fa7d1a45ea9887f6f952587 parent 4e22699fa264b88084210ceaa63747b8352bd517 author Zhu Yi Tue, 24 Jan 2006 16:37:47 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: increase ipw2200 driver version increase ipw2200 driver version to git-1.0.10 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 4e22699fa264b88084210ceaa63747b8352bd517 tree f70b393f51d8c627cd45aeba09345f75b61f7ee6 parent 0a7bcf261ea584c87a9cee4523023fa74168de4a author Zhu Yi Tue, 24 Jan 2006 16:37:36 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: Fix qos_cmd param switch bug The patch fixes a couple of errors regarding QoS, which results in compile warnings and malfunction of the driver. Signed-off-by: Henrik Brix Andersen Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 0a7bcf261ea584c87a9cee4523023fa74168de4a tree f5ccb4cf6b3e376bbb16a1a0cb12b700b58ba928 parent 397ae121ee0116d3b4125d621f0ef528d1d52580 author Zhu Yi Tue, 24 Jan 2006 16:37:28 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: stack reduction Checking the stack usage of my kernel, showed that ipw2200 had a few bad offenders. This is on i386 32-bit: 0x00002876 ipw_send_associate: 544 0x000028ee ipw_send_associate: 544 0x000027dc ipw_send_scan_request_ext: 520 0x00002864 ipw_set_sensitivity: 520 0x00005eac ipw_set_rsn_capa: 520 The reason is the host_cmd structure is large (500 bytes). All other functions currently using ipw_send_cmd() suffer from the same problem. This patch introduces ipw_send_cmd_simple() for commands with no data transfer, and ipw_send_cmd_pdu() for commands with a data payload and makes the payload a pointer to the buffer passed in from the caller. As an added bonus, the diffstat looks like this: ipw2200.c | 260 +++++++++++++++++++++----------------------------------------- ipw2200.h | 2 2 files changed, 92 insertions(+), 170 deletions(-) and it shrinks the module a lot as well: Before: text data bss dec hex filename 75177 2472 44 77693 12f7d drivers/net/wireless/ipw2200.ko After: text data bss dec hex filename 61363 2488 44 63895 f997 drivers/net/wireless/ipw2200.ko So about a ~18% reduction in module size. Signed-off-by: Jens Axboe Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 397ae121ee0116d3b4125d621f0ef528d1d52580 tree b4de052ca78d6c8b4c05494a4a297aac9e88190e parent 4bfdb91dcff0dd4b70922de263ccffffb8fb1d16 author Zhu Yi Tue, 24 Jan 2006 16:37:22 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: Scale firmware loading watchdog with the firmware size I can't really help with why restarts happen, but the following patch greatly increases the likelihood that a firmware reload will succeed afterward on my thinkpad. It addresses two issues. First, sysfs module loading and hotplug are asynchronous, and as such file operations on the "loading" and "data" files are racy when you load 2 firmwares in quick succession. Second, the timeout for DMAing the firmware needs to scale with the size of the firmware being loaded. That is, the watchdog needs to be on throughput, not on time alone. I no longer get the firmware load errors, though this is at best a hacky workaround for a racy interface. (Obviously, this does nothing to address the fatal errors in firmware which cause reloads; it just causes the initial loading and the reloads to work more often.) Signed-off-by: Peter Jones Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 4bfdb91dcff0dd4b70922de263ccffffb8fb1d16 tree 6755f4f008dbe8880b128cab6ebd9ae8b13ddc22 parent ede6111cae6a83fbb0b6b621b4333d1a3983c089 author Zhu Yi Tue, 24 Jan 2006 16:37:16 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: add module parameter to enable/disable roaming Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit ede6111cae6a83fbb0b6b621b4333d1a3983c089 tree e1471e6b1b95d1a3fe468f02dc60fe9afacd459b parent c7b6a6744c3eb878e08ef992d57cd01eed457810 author Zhu Yi Tue, 24 Jan 2006 16:37:10 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Make LED blinking frequency independent of HZ Signed-off-by: Clemens Buchacher . Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit c7b6a6744c3eb878e08ef992d57cd01eed457810 tree cf3b78c439b0c84f114702be7275280664a5ca9a parent 810dabd466fe70869b66ab64dd326b6153cef645 author Zhu Yi Tue, 24 Jan 2006 16:37:05 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: use jiffies_to_msec() wherever possible This substitutes Linux jiffies_to_msec() wherever there is a computation for determining milliseconds from jiffies, following lead from ieee80211 code. And it does a little cleanup. "it's" == "it is" ... "its" == possessive "it". Indulge me. ;-) Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 810dabd466fe70869b66ab64dd326b6153cef645 tree ca919a3a3b819b6bb46cc9d072b58f8b698b1070 parent 3e234b4e5768b4f783fc45f20be8c6515b875f17 author Zhu Yi Tue, 24 Jan 2006 16:36:59 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Bluetooth coexistence support I've added a new module param "bt_coexist" which defaults to OFF. This does not seem to fix the firmware restarts, but it does do "the right thing" and disables something that we were enabling by default: signaling the Bluetooth h/w which channel we're on (whether or not the BT h/w was out there). Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3e234b4e5768b4f783fc45f20be8c6515b875f17 tree f4c52593b5a7bb92dcdb966066c8d73b99209b4e parent f516dbcd7df76d468be98c343bc22e86ab7207fc author Zhu Yi Tue, 24 Jan 2006 16:36:52 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Add LEAP authentication algorithm support Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit f516dbcd7df76d468be98c343bc22e86ab7207fc tree e13557dad21e95ff192d5df6036d36f3425b64e1 parent c8fe6679086a983c4c95a441f3246c7aaecab80a author Zhu Yi Tue, 24 Jan 2006 16:36:44 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2200: Mask out the WEP_KEY command dump from debug log for security reason Signed-off-by: Nick Kralevich Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit c8fe6679086a983c4c95a441f3246c7aaecab80a tree e218762630b2d321e4d970417835b70949fe8c65 parent 71aa122d8a510b79338e28e2d56326574642d000 author Zhu Yi Tue, 24 Jan 2006 16:36:36 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2200: Fix indirect SRAM/register 8/16-bit write routines The indirect SRAM/register 8/16-bit write routines are broken for non-dword-aligned destination addresses. Fortunately, these routines are, so far, not used for non-dword-aligned destinations, but here's a patch that fixes them, anyway. The attached patch also adds comments for all direct/indirect I/O routine variations. Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71aa122d8a510b79338e28e2d56326574642d000 tree 5f15ae085d4e1ef654ac8c409b0a13f6a0320e60 parent 8ed55a482e2f044bfb044295ee86ecd5744c9911 author Zhu Yi Tue, 24 Jan 2006 16:08:55 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] increase ipw2100 driver version to git-1.1.4 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8ed55a482e2f044bfb044295ee86ecd5744c9911 tree bcb5e3d219dc51d4aa2de069ec29bd983a44d22e parent be6b3b15b511aededd89d1ebbc7b25d0edd1ccd3 author Zhu Yi Tue, 24 Jan 2006 13:49:20 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2100: remove white space and better format the code Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit be6b3b15b511aededd89d1ebbc7b25d0edd1ccd3 tree fcc97e33b4f4735bad76eb77a2e4e92ac171677f parent 3173ca0b76879be1fb7af826ae4ce7ee733159ce author Zhu Yi Tue, 24 Jan 2006 13:49:08 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2100: Add generic geo information This patch fixes a BUG_ON for the latest ieee80211 change. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3173ca0b76879be1fb7af826ae4ce7ee733159ce tree fedfdd8e491e6a4496ee9dc78d55b3851aca1ae8 parent cbbdd03fadeddd02efec05ccfd4e6870ed913762 author Zhu Yi Tue, 24 Jan 2006 13:49:01 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ipw2100: Make iwconfig txpower setting consistent with user input Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit cbbdd03fadeddd02efec05ccfd4e6870ed913762 tree 7624f3cf850dda8fbb1f9f5a7e0d2108cdac1384 parent 9eafe76b8a5e1420cd6105bc11830914d90bddb4 author Zhu Yi Tue, 24 Jan 2006 13:48:53 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ipw2100: Add LEAP authentication algorithm support Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9eafe76b8a5e1420cd6105bc11830914d90bddb4 tree ccee0929ee13ebd46d92811688b08d3f355b21e4 parent a73e22b286bd162d10526521b34f2d6f37aac635 author Denis Vlasenko Sun, 22 Jan 2006 13:57:10 +0200 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ieee80211: trivial fix for misplaced ()'s Patch fixes misplaced (). Diffed against wireless-2.6.git Signed-off-by: Denis Vlasenko Signed-off-by: John W. Linville commit a73e22b286bd162d10526521b34f2d6f37aac635 tree 728562af8aa42a145cf9b591382b044a31e94fb4 parent 3c398b8612b210a159ec7ba5e5c3c341fb0d5eab author Adrian Bunk Sat, 21 Jan 2006 01:39:42 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] drivers/net/wireless/ipw2200: possible cleanups This patch contains the following possible cleanups: - make needlessly global functions static - "extern inline" -> "static inline" - #if 0 the unused global function ipw_led_activity_on() Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 3c398b8612b210a159ec7ba5e5c3c341fb0d5eab tree b026cc1cd7c7323a2cf16db76dfef5cdc65fbeea parent a39d3e796cd2df8576c0418faa2c3833153bb3a9 author Adrian Bunk Sat, 21 Jan 2006 01:36:36 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] drivers/net/wireless/ipw2100.c: make ipw2100_wpa_assoc_frame() static This patch makes the needlessly global ipw2100_wpa_assoc_frame() static. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit a39d3e796cd2df8576c0418faa2c3833153bb3a9 tree 6427f50efb949d7cd9a96a39183d643ccf111768 parent d86b5e0e6bf5980d3136ab4a855522143f2dcb5d author Adrian Bunk Sat, 21 Jan 2006 01:35:15 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:30 -0500 [PATCH] AIRO{,_CS} <-> CRYPTO fixes CRYPTO is a helper variable, and to make it easier for users, it should therefore select'ed and not be listed in the dependencies. drivers/net/wireless/airo.c requires CONFIG_CRYPTO for compilations. Therefore, AIRO_CS also has to CRYPTO. Additionally, this patch removes the #ifdef's for the non-compiling CRYPTO=n case from drivers/net/wireless/airo.c. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit d86b5e0e6bf5980d3136ab4a855522143f2dcb5d tree 8b63a48c3c063a5cdebeef29f05e698c7143bdf7 parent 747af1e154545566d04f647f86fc3ae512439fab author Adrian Bunk Sat, 21 Jan 2006 00:46:55 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:30 -0500 [PATCH] net/: fix the WIRELESS_EXT abuse This patch contains the following changes: - add a CONFIG_WIRELESS_EXT select'ed by NET_RADIO for conditional code - remove the now no longer required #ifdef CONFIG_NET_RADIO from some #include's Based on a patch by Jean Tourrilhes . Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 747af1e154545566d04f647f86fc3ae512439fab tree 78ac4b4440022d473b28f235df4e880d3b5adcbe parent d1b46b0fba8c1049135ee5d60910b04463dccc95 parent ae7ec20582de0867abda66ad06d468ce12b231f2 author John W. Linville Mon, 30 Jan 2006 17:43:25 -0500 committer John W. Linville Mon, 30 Jan 2006 17:43:25 -0500 Merge branch 'upstream-fixes' commit d6fb89bf6b8b45ec8c911570ba0852940690d846 tree 38e7d7c8f2b5b6f0ae1dd6e977154bcb48389a62 parent b1d917739acd44e14eb13813e4c94dc4b6831ca3 parent 9220a2d0daa1e6782f02d47303340d7b5ca62ac0 author Jeff Garzik Sun, 29 Jan 2006 12:41:09 -0500 committer Jeff Garzik Sun, 29 Jan 2006 12:41:09 -0500 Merge branch 'upstream-fixes' commit b1d917739acd44e14eb13813e4c94dc4b6831ca3 tree d666684748522c31356d04f8243f6bcd7203dc8b parent c893a3ae49279a4ab6aa6cf594a2ec6d286e1187 parent bd12097c7415c13aff53aed473eec92acd15712a author Jeff Garzik Sun, 29 Jan 2006 02:47:18 -0500 committer Jeff Garzik Sun, 29 Jan 2006 02:47:18 -0500 Merge branch 'upstream-fixes' commit 450d86dff3fc4780fd5c2d1654402ab7ffec9c38 tree 0f7314e205dac26aafa4ab0aaed8866aa84831a3 parent 0018dfa48e171315ce7f0ea689e34b67af926e19 author Al Viro Thu, 22 Dec 2005 14:52:52 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:35 -0500 [PATCH] dead code removed in hp100 for mode 2 (memory-mapped) we always set ->mem_ptr_virt; dead code removed. Signed-off-by: Al Viro commit 0018dfa48e171315ce7f0ea689e34b67af926e19 tree 02d3671f79172ea5ff00c173f41620202a7cde36 parent 3c13958620f08c8082a2694e51dec32592438388 author Al Viro Thu, 01 Dec 2005 06:53:59 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:31 -0500 [PATCH] wrong ifdefs in 82596.c ifdefs around variable declaration would better match those around its uses... Signed-off-by: Al Viro commit 3c13958620f08c8082a2694e51dec32592438388 tree 8b14e1b6a4e7f7a884f4f558206d35dccd10c1ba parent 82729971e0f8ccf1f15567cc4f2c5389e0659eb2 author Al Viro Thu, 01 Dec 2005 06:44:55 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:28 -0500 [PATCH] bogus include of linux/irq.h in 7990.c Signed-off-by: Al Viro commit 82729971e0f8ccf1f15567cc4f2c5389e0659eb2 tree 1618283083d7b6b5c035e183b555aaa8a90f8480 parent ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7 author Al Viro Tue, 06 Dec 2005 05:53:04 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:25 -0500 [PATCH] missing include of asm/irq.h in drivers/net Signed-off-by: Al Viro commit ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7 tree 6755ae998e3b1710ed1d30643aff4582c1960a4b parent 976345cc0fb34d677233b5b22d4819dc7ac92ef1 author Al Viro Sun, 04 Dec 2005 02:28:40 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:22 -0500 [PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/ Signed-off-by: Al Viro commit 976345cc0fb34d677233b5b22d4819dc7ac92ef1 tree 65d54cce8bb4ebe6c79f49eccf9c790b3ef9a9c7 parent b43de2d8db7655d1c520bf6eac7071d8f6d0b864 author Al Viro Tue, 06 Dec 2005 06:02:45 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:19 -0500 [PATCH] appletalk/cops.h: missing const in struct ltfirmware Signed-off-by: Al Viro commit b43de2d8db7655d1c520bf6eac7071d8f6d0b864 tree 72de2f56444a6a167fa61dff14946d1aa90b3bc8 parent d0f6ecad39266f87913539c52dc624f75cc4b914 author Al Viro Thu, 01 Dec 2005 10:15:21 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:15 -0500 [PATCH] ibm_emac sparse annotations Signed-off-by: Al Viro commit d0f6ecad39266f87913539c52dc624f75cc4b914 tree c2c674495d0d13241779ed6fbeeff16b4523e2e0 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Al Viro Fri, 02 Dec 2005 03:54:44 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:11 -0500 [PATCH] arcnet probing cleanups and fixes make arcnet probing do request_mem_region() for all iomem it's going to access, clean the code up. Signed-off-by: Al Viro commit 4f975b32433df87b8ead3de9944e0a9f90d261fd tree 85fc678ccca9eac622b9513919812d2602ea4da1 parent 0cc349d130b34de3046fb3d0e31eaf6ff5540cad parent d1b46b0fba8c1049135ee5d60910b04463dccc95 author Jeff Garzik Sat, 28 Jan 2006 16:07:32 -0500 committer Jeff Garzik Sat, 28 Jan 2006 16:07:32 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 0cc349d130b34de3046fb3d0e31eaf6ff5540cad tree b61bf80ec24a13a685f43341fe38855a625b1e2e parent 01999873a455fe9104e91820c72849e608239928 parent b0b020d4783fbc4cc477e2ca678ac47c50d5bc3e author Jeff Garzik Sat, 28 Jan 2006 16:06:45 -0500 committer Jeff Garzik Sat, 28 Jan 2006 16:06:45 -0500 Merge branch 'upstream-fixes' commit c893a3ae49279a4ab6aa6cf594a2ec6d286e1187 tree a081e82f1273e7dd2c9eb5c26f4078cc5b6a79af parent 6340f019695a08e3b2e317e307014801fc86b178 author Randy Dunlap Sat, 28 Jan 2006 13:15:32 -0500 committer Jeff Garzik Sat, 28 Jan 2006 13:15:32 -0500 Various libata documentation updates. This is a merger of libata docs + cleanups from Martin Waitz and me. From: Randy Dunlap From: Martin Waitz Fix libata kernel-doc comments to match code. Add some function parameters to kernel-doc. Fix some typos/spellos. Put comments in <= 80 columns. Make one DPRINTK string unique. Fix sparse cast warnings. Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit 6340f019695a08e3b2e317e307014801fc86b178 tree 29ffcfd426be348c2a1f1eb0b9f3dc0034445ba6 parent b376bc1f6b4258112d714fb4ee8e5d57b53625f2 author Luke Kosewski Sat, 28 Jan 2006 12:39:29 -0500 committer Jeff Garzik Sat, 28 Jan 2006 12:39:29 -0500 [libata sata_promise] add correct read/write of hotplug registers for SATAII devices This patch adds support for correctly masking out and knowing about hotplug events on Promise SATAII150 Tx4/Tx2 Plus controllers. Also, a kmalloc->kzalloc cleanup. Signed-off-by: Luke Kosewski Signed-off-by: Jeff Garzik commit b376bc1f6b4258112d714fb4ee8e5d57b53625f2 tree a904b4754c697bc915998f627ad94114f12509a1 parent c2bd58047b9b5c91a3b0a851de66a877f2eb7ae3 author Jeff Garzik Sat, 28 Jan 2006 12:26:23 -0500 committer Jeff Garzik Sat, 28 Jan 2006 12:26:23 -0500 [libata ata_piix] Fix ICH6/7 map value interpretation The previous change failed to properly mask out unrelated bits, which resulted in a failure to detect devices. commit c2bd58047b9b5c91a3b0a851de66a877f2eb7ae3 tree aaaa1cc9da06699c6d68e88dba5e304ae5788a3c parent a62c0fc526c344d8163f7a9e45e68cc63826ffd3 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Fri, 27 Jan 2006 20:58:34 -0500 [PATCH] libata: implement standard reset component operations and ->probe_reset Implement SRST, COMRESET and standard postreset component operations for ata_drive_probe_reset(), and use these three functions to implement ata_std_probe_reset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a62c0fc526c344d8163f7a9e45e68cc63826ffd3 tree d803a14848eb785f63b5f9e2d0b3f19afa0bda9d parent c19ba8af4f104cca28d548cac55c128b28dd31fb author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Fri, 27 Jan 2006 20:58:34 -0500 [PATCH] libata: implement ata_drive_probe_reset() Most low level drivers share supported reset/classify actions and sequence. This patch implements ata_drive_probe_reset() which helps constructing ->probe_reset from three component operations - softreset, hardreset and postreset. This minimizes duplicate code and yet allows flexibility if needed. The three component operations can also be shared by EH later. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d1b46b0fba8c1049135ee5d60910b04463dccc95 tree 1ec055eee19d523f5fdd7bbe696dc1f0c0dbd105 parent 15f385982e3a4782fe8ed71a9a6beb64a2160c30 author Zhu Yi Thu, 19 Jan 2006 16:22:15 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add 802.11h information element parsing Added default handlers for various 802.11h DFS and TPC information elements. Moved all information elements into single location (called from two places). Added debug message with information on unparsed IEs if debug_level set. Added code to reset network IBSS DFS information when appropriate. Added code to invoke driver callback for 802.11h ACTION STYPE. Changed a few printk's to IEEE80211_DEBUG_MGMT. Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 15f385982e3a4782fe8ed71a9a6beb64a2160c30 tree d33236c0ed68d8a255c88e3e3279f876c67575c6 parent b79e20b60997e427b701055a2c69fb0c1d507aa9 author Zhu Yi Thu, 19 Jan 2006 16:21:35 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add helpers for IBSS DFS handling To support IEEE 802.11h in IBSS, an ibss_dfs field is added to struct ieee80211_network. In IBSS, if one STA sends a beacon with DFS info (for radar detection), all the other STAs should receive and store this DFS. All STAs should send the DFS as one of the information element in the beacon they are scheduled to send (if possible) in the future. Since the ibss_dfs has variable length, it must be allocated dynamically. ieee80211_network_reset() is added to clear the ibss_dfs field. ieee80211_network_free() is also updated to free the ibss_dfs field if it is not NULL. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b79e20b60997e427b701055a2c69fb0c1d507aa9 tree 318bf28699ed6042c667f01c8017c3d9d73c9f7d parent 9184d9348a7a0e60d70d5f4c23de79fdbc72b9a3 author Zhu Yi Thu, 19 Jan 2006 16:21:27 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add 802.11h data type and structures Add 802.11h data types and structure definitions to ieee80211.h. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9184d9348a7a0e60d70d5f4c23de79fdbc72b9a3 tree e7211258e23f29de34c39866cfa0933e5d10d2f7 parent 41a25c616b3140c388ff6009a1cb0b6b06a10f29 author Zhu Yi Thu, 19 Jan 2006 16:22:32 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add TKIP crypt->build_iv This patch adds ieee80211 TKIP build_iv() method to support hardwares that can do TKIP encryption but relies on ieee80211 layer to build the IV. It also changes the build_iv() interface to return the key if possible after the IV is built (this is required by TKIP). Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 41a25c616b3140c388ff6009a1cb0b6b06a10f29 tree c5c7758ba0f98cf58e89731d830a4176381b49f1 parent 8aa914b747b650fc1735f3a3171753ac15ed93ab author Zhu Yi Thu, 19 Jan 2006 16:22:23 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: TIM information element parsing Added partial support of TIM information element parsing Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8aa914b747b650fc1735f3a3171753ac15ed93ab tree 71bdea3b0d816345c3c1fe8bccaa7122788abc49 parent 7bd64366044565d6861783613db191c8aaec691e author Zhu Yi Thu, 19 Jan 2006 16:22:07 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: kmalloc+memset -> kzalloc cleanups kmalloc+memset -> kzalloc cleanups in ieee80211_crypt_tkip Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 7bd64366044565d6861783613db191c8aaec691e tree 2a75f5bda5df503c532e7c12f53b9be9bd47401e parent d128f6c176bff9c4929476e13132804321a6d5c5 author Zhu Yi Thu, 19 Jan 2006 16:21:54 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Add spectrum management information Add spectrum management information and use stat.signal to provide signal level information. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d128f6c176bff9c4929476e13132804321a6d5c5 tree 6c48f08712a5a81501fea7c317faa9f517d70520 parent 24056bec086aaa99923b21c0e1a0e993bb1c7e2a author Zhu Yi Thu, 19 Jan 2006 16:21:45 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: add flags for all geo channels Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 24056bec086aaa99923b21c0e1a0e993bb1c7e2a tree f346787ae101c10185849c44bbbcd42d8d461a9a parent d65292375154085feb7217ed8fccc8edf163c6b2 author Zhu Yi Thu, 19 Jan 2006 16:21:09 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Add LEAP authentication type Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d65292375154085feb7217ed8fccc8edf163c6b2 tree 952ec92d86fd48285580d6bd7e9c4d0ad9d43209 parent 44d7a8cfbdc1112fd80546591fd6f5c831ea0363 author Zhu Yi Thu, 19 Jan 2006 16:20:49 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Log if netif_rx() drops the packet Log to wireless network stats if netif_rx() drops the packet. (also trailing whitespace and Lindent cleanups as part of patch-apply process) Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 44d7a8cfbdc1112fd80546591fd6f5c831ea0363 tree 87e0b6360f041847e519cd25aaa2dbc4b48cbde0 parent 4a99ac3a9ee7e1b90ebc3ddbb44db75eef5c41e6 author Denis Vlasenko Wed, 18 Jan 2006 12:02:33 +0200 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] WEP fields are incorrectly shown to be INSIDE snap in the doc >If encryption is enabled, each fragment payload size is reduced by enough space >to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP) >So if you have 1500 bytes of payload with ieee->fts set to 500 without >encryption it will take 3 frames. With WEP it will take 4 frames as the >payload of each frame is reduced to 492 bytes. Text is correct, but in picture (IV,payload,ICV) sits inside SNAP. Patch corrects this. Signed-Off-By: Denis Vlasenko Acked-By: Johannes Berg Signed-off-by: John W. Linville commit b31c544aedc802688e32240f1398a4321433bfae tree 66500cd9f82d01f8a8c35cd64e918162328371e3 parent 739dbef022e1600cfd3ba989246b3eecf04f2bb5 author Mauro Carvalho Chehab Fri, 27 Jan 2006 16:32:02 -0200 committer Mauro Carvalho Chehab Fri, 27 Jan 2006 16:32:02 -0200 V4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email - V4L/DVB Maintainers list changed. This patch alters the email to the new address. Signed-off-by: Mauro Carvalho Chehab Acked-By: Johannes Stezenbach commit 01999873a455fe9104e91820c72849e608239928 tree 24695d2629535ed0ccfdaa26d028705bca0eaecf parent d0412d967032b9e147bcbacc9ff0c0342636cf2d author Dale Farnsworth Fri, 27 Jan 2006 01:18:01 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Clean up platform_data configuration We shouldn't expose the hardware register contents in platform_data. The only things we allow the user to configure are autoneg, speed, and duplex. Add specific platform_data fields for these values and remove the registers configs. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit d0412d967032b9e147bcbacc9ff0c0342636cf2d tree 1191be1a588161a4d4538536975379d0c8f61011 parent c28a4f8947f1b08996502967e348dc88363749a7 author James Chapman Fri, 27 Jan 2006 01:15:30 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: use MII library for ethtool functions Use the common ethtool support functions of the MII library. Add generic MII ioctl handler. Add PHY parameter speed/duplex/negotiation initialization and modification. Signed-off-by: James Chapman Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit c28a4f8947f1b08996502967e348dc88363749a7 tree a0afa38353ebb02f2cef528d1b84e2e8e89443c2 parent 9f8dd319459bb5ab9efcc1c345bed7895cc41768 author James Chapman Fri, 27 Jan 2006 01:13:15 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: use MII library for PHY management Modify link up/down handling to use the functions from the MII library. Note that I track link state using the MII PHY registers rather than the mv643xx chip's link state registers because I think it's cleaner to use the MII library code rather than writing local driver support code. It is also useful to make the actual MII registers available to the user with maskable kernel printk messages so the MII registers are being read anyway Signed-off-by: James Chapman Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 9f8dd319459bb5ab9efcc1c345bed7895cc41768 tree 017ea7b2ca60f29110b8e43afbd6560737824489 parent f98e36f1f7903a319f7f87f96490e88f691ea106 author Dale Farnsworth Fri, 27 Jan 2006 01:10:47 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Make port queue enable/disable code consistent Add and use the following functions: mv643xx_eth_port_enable_tx() mv643xx_eth_port_enable_rx() mv643xx_eth_port_disable_tx() mv643xx_eth_port_disable_rx() so that ports are enabled/disabled consistently. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit f98e36f1f7903a319f7f87f96490e88f691ea106 tree cdad08d70b682bc36225a0a74cb5f49101bef6a3 parent cf4086c7725dc251551243c28325d446d9b1bf06 author Dale Farnsworth Fri, 27 Jan 2006 01:09:18 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Rename mp->tx_ring_skbs to mp->tx_desc_count tx_ring_skbs is actually a count of tx descriptors currently in use. Since there may be multiple descriptors per skb, it is not the same as the number of skbs in the ring. Also change rx_ring_skbs to rx_desc_count to be consistent. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cf4086c7725dc251551243c28325d446d9b1bf06 tree 6773df749dd578e77855c5c82ee5de66d4c63dea parent ed9b5d457668392182659747a734b38e86820adb author Dale Farnsworth Fri, 27 Jan 2006 01:07:48 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Merge unicast and multicast address filtering code Remove duplicated code by having unicast and multicast code use a common filter table function: eth_port_set_filter_table_entry(). Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit ed9b5d457668392182659747a734b38e86820adb tree 0d3c6e28ef5b0d2392278ce8d6c0850b09e9e13f parent cfc88b07292076f960b6782a7fea770abdac4ce6 author Dale Farnsworth Fri, 27 Jan 2006 01:06:38 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Remove needless mp->port_mac_addr mp->port_mac_addr is just a redundant copy of dev->dev_addr, so remove it. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cfc88b07292076f960b6782a7fea770abdac4ce6 tree 97b034ecc70b3d37e774137789b8d18d7fb965d7 parent cca4aa83c79bcd571b06c83c50ea63cb75f1c2bb parent 6651a5c3839517685c601e44979f19de8b6249c3 author Jeff Garzik Fri, 27 Jan 2006 11:09:39 -0500 committer Jeff Garzik Fri, 27 Jan 2006 11:09:39 -0500 Merge branch 'upstream-fixes' commit 7d3d0439f574a4857c97b3ad2e63b082b7382d7e tree 320e1024829ee4939f9d66d5bcddcdb43258cbcb parent efd51b5c6798d103e3aa683464aebb2019b62119 author Ravinandan Arakali Wed, 25 Jan 2006 14:53:07 -0500 committer Jeff Garzik Fri, 27 Jan 2006 10:34:38 -0500 [PATCH] S2io: Large Receive Offload (LRO) feature(v2) for Neterion (s2io) 10GbE Xframe PCI-X and PCI-E NICs Hi, Below is a patch for the Large Receive Offload feature. Please review and let us know your comments. LRO algorithm was described in an OLS 2005 presentation, located at ftp.s2io.com user: linuxdocs password: HALdocs The same ftp site has Programming Manual for Xframe-I ASIC. LRO feature is supported on Neterion Xframe-I, Xframe-II and Xframe-Express 10GbE NICs. Brief description: The Large Receive Offload(LRO) feature is a stateless offload that is complementary to TSO feature but on the receive path. The idea is to combine and collapse(upto 64K maximum) in the driver, in-sequence TCP packets belonging to the same session. It is mainly designed to improve 1500 mtu receive performance, since Jumbo frame performance is already close to 10GbE line rate. Some performance numbers are attached below. Implementation details: 1. Handle packet chains from multiple sessions(current default MAX_LRO_SESSSIONS=32). 2. Examine each packet for eligiblity to aggregate. A packet is considered eligible if it meets all the below criteria. a. It is a TCP/IP packet and L2 type is not LLC or SNAP. b. The packet has no checksum errors(L3 and L4). c. There are no IP options. The only TCP option supported is timestamps. d. Search and locate the LRO object corresponding to this socket and ensure packet is in TCP sequence. e. It's not a special packet(SYN, FIN, RST, URG, PSH etc. flags are not set). f. TCP payload is non-zero(It's not a pure ACK). g. It's not an IP-fragmented packet. 3. If a packet is found eligible, the LRO object is updated with information such as next sequence number expected, current length of aggregated packet and so on. If not eligible or max packets reached, update IP and TCP headers of first packet in the chain and pass it up to stack. 4. The frag_list in skb structure is used to chain packets into one large packet. Kernel changes required: None Performance results: Main focus of the initial testing was on 1500 mtu receiver, since this is a bottleneck not covered by the existing stateless offloads. There are couple disclaimers about the performance results below: 1. Your mileage will vary!!!! We initially concentrated on couple pci-x 2.0 platforms that are powerful enough to push 10 GbE NIC and do not have bottlenecks other than cpu%; testing on other platforms is still in progress. On some lower end systems we are seeing lower gains. 2. Current LRO implementation is still (for the most part) software based, and therefore performance potential of the feature is far from being realized. Full hw implementation of LRO is expected in the next version of Xframe ASIC. Performance delta(with MTU=1500) going from LRO disabled to enabled: IBM 2-way Xeon (x366) : 3.5 to 7.1 Gbps 2-way Opteron : 4.5 to 6.1 Gbps Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit cca4aa83c79bcd571b06c83c50ea63cb75f1c2bb tree ee355d11b62f5f22fcdcfae5f4d5b31629227dfb parent 7e0b58f32fb5e9c958078a6d722a7d0b230346a7 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:49 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/winbond-840.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 7e0b58f32fb5e9c958078a6d722a7d0b230346a7 tree 7bc1545f382d267f1768526e50beb8ab934ac06c parent a707cd6e2d0a8c21dd8aeef8e4a0c0ccf8774fa9 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:43 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/de2104x.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away One of the if()s contains a call to de_is_running(), which seems to be safe to replace, but someone with more knownledge of the code might want to verify this... Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit a707cd6e2d0a8c21dd8aeef8e4a0c0ccf8774fa9 tree f28ad3ea7984cb8c69228a6665fbb57368017218 parent 97309d1a0bbdcb0813ea08574b4473d8e5416012 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:51 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/xircom_cb.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit c19ba8af4f104cca28d548cac55c128b28dd31fb tree 2624b544c0f8294a712b3255695b1e178943255a parent b4dc7623c1bb258b66418261dab40f0e4cfc6d42 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:20:14 -0500 [PATCH] libata: new ->probe_reset operation Add new ->probe_reset operation to ata_port_operations obsoleting ->phy_reset. The main difference from ->phy_reset is that the new operation is not allowed to manipulate libata internals directly. It's not allowed to configure or disable the port or devices. It can only succeed or fail and classify attached devices into passed @classes. This change gives more control to higher level and eases sharing reset methods with EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b4dc7623c1bb258b66418261dab40f0e4cfc6d42 tree ab6d2d5ce603fdc936d47788d80011abb11d6b57 parent 6f8b99589524f3e759e44721376abcdf88ed8915 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:20:14 -0500 [PATCH] libata: modify ata_dev_try_classify Make ata_dev_try_classify take @r_err to store tf error register value on completion and return device class instead of directly manipulating dev->class. This is preparation for new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6f8b99589524f3e759e44721376abcdf88ed8915 tree ea187cf272f560faaba4ffb6d34848f6f517203e parent 22b49985f526796471c074c0e56bcebfd633a6ff author Tejun Heo Tue, 24 Jan 2006 17:05:21 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:18:47 -0500 [PATCH] libata: export ata_busy_sleep Export ata_busy_sleep(), to be used by low level driver reset functions. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 22b49985f526796471c074c0e56bcebfd633a6ff tree 4e4033c1d9e01b4f5338349dd40ad3a4868f69c6 parent e0bfd149973d22a4330dd6665b54d1dcca07174a author Tejun Heo Mon, 23 Jan 2006 21:38:44 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:08:52 -0500 [PATCH] ahci: add constants for SRST Add constants needed to perform SRST. This is preparation for adding softreset method. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit e0bfd149973d22a4330dd6665b54d1dcca07174a tree b3c2fc9e3bc9a1ed4a3d677710c426e5a300105e parent 9506437921504df18c6601f7d09bb23d72d2f6ba author Tejun Heo Mon, 23 Jan 2006 16:31:53 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:07:08 -0500 [PATCH] ahci: stop engine during hard reset AHCI spec mandates engine to be stopped during hard resets. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9506437921504df18c6601f7d09bb23d72d2f6ba tree 9cac6bc442d39cdbd9251009ee1b7cabb161728b parent a72ec4ce6d3ae92e76baf5b2c65cc26e5e775e83 author Tejun Heo Mon, 23 Jan 2006 13:09:37 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:01:29 -0500 [PATCH] libata: create pio/atapi task queueing wrappers Wrap pio/atapi task queueing in correspondingly named functions. This change doesn't change anything. It's preparation for follow-up pio-task/eh sync patch. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a72ec4ce6d3ae92e76baf5b2c65cc26e5e775e83 tree f5a177cc30c9b39d8ae7dcad29d03d27534b9f78 parent 041c5fc33cb7ed4fe5322585a611fb6e29a05d3a author Tejun Heo Mon, 23 Jan 2006 13:09:37 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:28 -0500 [PATCH] libata: implement and apply ata_eh_qc_complete/retry() Implement ata_eh_qc_complete/retry() using scsi_eh_finish_cmd() and scsi_eh_flush_done_q(). This removes all eh scsicmd finish hacks from low level drivers. This change was first suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 041c5fc33cb7ed4fe5322585a611fb6e29a05d3a tree 7c03ea4fa7c4329a693ce8041110b27251a9923a parent 9a3d9eb0177eb10500d49cd283b35576082a522d author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:28 -0500 [PATCH] SCSI: export scsi_eh_finish_cmd() and scsi_eh_flush_done_q() Export two SCSI EH command handling functions. To be used by libata EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9a3d9eb0177eb10500d49cd283b35576082a522d tree 3a8279ea3f263338cd02918131a36ee716cad1a8 parent 11a56d2439259892319df81cf1582687d7e7fde5 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] libata: return AC_ERR_* from issue functions Return AC_ERR_* mask from issue fuctions instead of 0/-1. This enables things like failing a qc with AC_ERR_HSM when the device doesn't set DRDY when the qc is about to be issued. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 11a56d2439259892319df81cf1582687d7e7fde5 tree 976f5ecb7ff61c19620ca482c0550b0b009bfa6a parent 284b6481cc7112ca6a9e60b7a9b650fba3bf0492 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] libata: add detailed AC_ERR_* flags Add detailed AC_ERR_* flags and use them. Long-term goal is to describe all errors with err_mask and tf combination (tf for failed sector information, etc...). After proper error diagnosis is implemented, sense data should also be generated from err_mask instead of directly from hardware tf registers as it is currently. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 284b6481cc7112ca6a9e60b7a9b650fba3bf0492 tree e8b8b1a69ebb881bd7e2176ef330e417a3ca80d9 parent 8e436af9326f5cc2e07d76505154ffddfb04b485 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] ahci: fix err_mask setting in ahci_host_intr In ahci_host_intr err_mask is determined from IRQ status but never used. This patch sets qc->err_mask to the determined err_mask. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8e436af9326f5cc2e07d76505154ffddfb04b485 tree 26d5a6716ff3c164613811a78e5a06c353d28fe3 parent 77853bf2b48e34449e826a9ef4df5ea0dbe947f4 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:50 -0500 [PATCH] libata: fix ata_qc_issue() error handling When ata_qc_issue() fails, the qc might have been dma mapped or not. So, performing only ata_qc_free() results in dma map leak. This patch makes ata_qc_issue() mark dma map flags correctly on failure and calls ata_qc_complete() after ata_qc_issue() fails. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 77853bf2b48e34449e826a9ef4df5ea0dbe947f4 tree b46a186c141c61f05352b7a1199b2940fd9a2065 parent 4ba946e9d8e10fada7bbce527f6ea05842592e06 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:49 -0500 [PATCH] libata: make the owner of a qc responsible for freeing it qc used to be freed automatically on command completion. However, as a qc can carry information about its completion status, it can be useful to its owner/issuer after command completion. This patch makes freeing qc responsibility of its owner. This simplifies ata_exec_internal() and makes command turn-around for atapi request sensing less hackish. This change was originally suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4ba946e9d8e10fada7bbce527f6ea05842592e06 tree 343f9381a51941bb03073075d577c70325067f6d parent 71e834f563799e09c6bd7d6638993b464fac26f5 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:49 -0500 [PATCH] libata: fold __ata_qc_complete() into ata_qc_free() All ata_qc_free() does is calling __ata_qc_complete() which isn't used anywhere else. Fold __ata_qc_complete() into ata_qc_free(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 71e834f563799e09c6bd7d6638993b464fac26f5 tree 3a35643ddc54e7217ec000eb415cc79a65cdcac1 parent ff0fc1467f8189c8e2340b91161c97138a75e484 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Jeff Garzik Thu, 26 Jan 2006 22:33:43 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:33:43 -0500 Merge branch 'master' commit 97309d1a0bbdcb0813ea08574b4473d8e5416012 tree 0dcbcf5aa5146147e0ac1d0c4b73b868a67d333b parent b4ea75b649417606fd6b38710a2962ec9770e772 parent efd51b5c6798d103e3aa683464aebb2019b62119 author Jeff Garzik Thu, 26 Jan 2006 22:19:57 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:19:57 -0500 Merge branch 'upstream-fixes' commit 0d615ec2bb1cb8c38087bb24f6d2876dec3a9751 tree 6fd87eb05df5fd4f8a898680487f0955fd2bd39f parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Arnaldo Carvalho de Melo Thu, 26 Jan 2006 22:01:38 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:01:38 -0500 sundance: Really read addr 0 Make phy 0 actually be read, as it is not being right now as we have: int mii_status = mdio_read(dev, phy, MII_BMSR); int phyx = phy & 0x1f; When we should have instead: int phyx = phy & 0x1f; int mii_status = mdio_read(dev, phyx, MII_BMSR); so that when phy, in the end of the (phy = 1; phy <= 32...) loop gets to 32 phyx gets to 0, i.e. we were reading at 32, when the intended read was for 0. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Jeff Garzik commit ff0fc1467f8189c8e2340b91161c97138a75e484 tree a1cbb418100267424f5edd6cfef3f463de0b49e6 parent 7db74a4780cf9cc6b2ea97582cdc8031d5f22ccd author Tejun Heo Sun, 18 Dec 2005 17:17:07 +0900 committer Jeff Garzik Thu, 26 Jan 2006 21:56:07 -0500 [PATCH] ata_piix: fix MAP VALUE interpretation for for ICH6/7 Unlike their older siblings, ICH6 and 7 use different scheme for MAP VALUE. This patch makes ata_piix interpret MV properly on ICH6/7. Pre-ICH6/7 The value of these bits indicate the address range the SATA port responds to, and whether or not the SATA and IDE functions are combined. 000 = Non-combined. P0 is primary master. P1 is secondary master. 001 = Non-combined. P0 is secondary master. P1 is primary master. 100 = Combined. P0 is primary master. P1 is primary slave. P-ATA is 2:0 Map Value secondary. 101 = Combined. P0 is primary slave. P1 is primary master. P-ATA is secondary. 110 = Combined. P-ATA is primary. P0 is secondary master. P1 is secondary slave. 111 = Combined. P-ATA is primary. P0 is secondary slave. P1 is secondary master. ICH6/7 Map Value - R/W. Map Value (MV): The value in the bits below indicate the address range the SATA ports responds to, and whether or not the PATA and SATA functions are combined. When in combined mode, the AHCI memory space is not available and AHCI may not be used. 00 = Non-combined. P0 is primary master, P2 is the primary slave. P1 is secondary master, P3 is the 1:0 secondary slave (desktop only). P0 is primary master, P2 is the primary slave (mobile only). 01 = Combined. IDE is primary. P1 is secondary master, P3 is the secondary slave. (desktop only) 10 = Combined. P0 is primary master. P2 is primary slave. IDE is secondary 11 = Reserved Signed-off-by: Tejun Heo -- Jeff, without this patch, ata_piix misdetects my ICH7's combined mode, ending up not applying bridge limits to PX-710SA and configuring IDE drive on 40-c cable to UDMA/66. Thanks. Signed-off-by: Jeff Garzik commit e08e6c521355cd33e647b2f739885bc3050eead6 tree 251dd80647bd3a0140f5f31c35c125094c035f9c parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Brent Casavant Thu, 26 Jan 2006 15:55:52 -0800 committer Tony Luck Thu, 26 Jan 2006 15:55:52 -0800 [IA64] hooks to wait for mmio writes to drain when migrating processes On SN2, MMIO writes which are issued from separate processors are not guaranteed to arrive in any particular order at the IO hardware. When performing such writes from the kernel this is not a problem, as a kernel thread will not migrate to another CPU during execution, and mmiowb() calls can guarantee write ordering when control of the IO resource is allowed to move between threads. However, when MMIO writes can be performed from user space (e.g. DRM) there are no such guarantees and mechanisms, as the process may context-switch at any time, and may migrate to a different CPU as part of the switch. For such programs/hardware to operate correctly, it is required that the MMIO writes from the old CPU be accepted by the IO hardware before subsequent writes from the new CPU can be issued. The following patch implements this behavior on SN2 by waiting for a Shub register to indicate that these writes have been accepted. This is placed in the context switch-in path, and only performs the wait when the newly scheduled task changes CPUs. Signed-off-by: Prarit Bhargava Signed-off-by: Brent Casavant commit 13938ca7a1ad9a4788cf73309f187d99c97ddfde tree bdca0d858333bb610d2b9253597ab53f8273b587 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Mark Maule Thu, 26 Jan 2006 14:46:39 -0600 committer Tony Luck Thu, 26 Jan 2006 13:56:09 -0800 [IA64-SGI] driver bugfixes and hardware workarounds for CE1.0 asic Various bugfixes and hardware bug workarounds necessary for the rev 1.0 version of the altix TIO CE asic. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit 28ff6b9b2fc01d2c2746c72ce8af1729344fae27 tree 6209aa2a6416cc7c363ad8c8efef2e15ca7b9b59 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Aaron Young Mon, 23 Jan 2006 09:00:51 -0800 committer Tony Luck Thu, 26 Jan 2006 13:32:26 -0800 [IA64-SGI] Handle SC env. powerdown events Handle system controller power down pending events on SN systems. This allows the system to gracefully shutdown before the system controller removes power due to an adverse environmental condition. Signed-off-by: Aaron Young Signed-off-by: Tony Luck commit b0a06623dc4caf6dfb6a84419507643471676d20 tree 4808417fe23fcb3e352c0ce347abb6218fc2263e parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Keith Owens Sun, 22 Jan 2006 10:55:25 +1100 committer Tony Luck Thu, 26 Jan 2006 13:23:27 -0800 [IA64] Delete MCA/INIT sigdelayed code The only user of the MCA/INIT sigdelayed code (SGI's I/O probing) has moved from the kernel into SAL. Delete the MCA/INIT sigdelayed code. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 6e586f32931d6c98431d54cd0430d4366195b0ba tree b93b207b81ae015166ac55e0534a6810c5a1ae3e parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Jes Sorensen Tue, 17 Jan 2006 12:24:39 -0500 committer Tony Luck Thu, 26 Jan 2006 13:13:00 -0800 [IA64-SGI] sem2mutex ioc4.c Convert to use a single mutex instead of two rwsems as this isn't performance critical. Signed-off-by: Jes Sorensen Signed-off-by: Brent Casavant Signed-off-by: Tony Luck commit a454c2f3d1fd1cab7073b53c6c14d6d4b61f4e09 tree a1240c5b420adb94dd5c952a089f0326ee0060fe parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Chen, Kenneth W Wed, 11 Jan 2006 17:11:09 -0800 committer Tony Luck Thu, 26 Jan 2006 13:10:19 -0800 [IA64] implement ia64 specific mutex primitives Implement ia64 optimized mutex primitives. It properly uses acquire/release memory ordering semantics in lock/unlock path. 2nd version making them all static inline functions. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 739dbef022e1600cfd3ba989246b3eecf04f2bb5 tree cef3a192ce2e5d169172620d06a6e0af2a1def74 parent c37844f4a8c9524dbe9187397e75caa7a79ae83a author Michael Krufky Thu, 26 Jan 2006 04:37:19 -0200 committer Mauro Carvalho Chehab Thu, 26 Jan 2006 04:37:19 -0200 V4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c - allow tristate build for cx88-vp3054-i2c Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit c37844f4a8c9524dbe9187397e75caa7a79ae83a tree a376b2ecaf74f6b21e64d823694490414bca0a27 parent cc925bbed017b12d46436e8ab788e0de8656d08c author Jiri Slaby Tue, 24 Jan 2006 13:15:06 -0800 committer Mauro Carvalho Chehab Thu, 26 Jan 2006 04:37:06 -0200 V4L/DVB (3439a): media video stradis memory fix memset clears once set structure, there is actually no need for memset, because configure function do it for us. Next, vfree(NULL) is legal, so avoid useless labels. Thanks Dave Jones for reporting this. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 1de87444f8f91009b726108c9a56600645ee8751 tree 66f731a701a005be55337792bf873c182470141a parent 0a0fc0ddbe732779366ab6b1b879f62195e65967 author Ingo Molnar Tue, 24 Jan 2006 15:22:50 -0600 committer Dave Kleikamp Tue, 24 Jan 2006 15:22:50 -0600 JFS: semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar Signed-off-by: Dave Kleikamp commit 0a0fc0ddbe732779366ab6b1b879f62195e65967 tree 7b42490a676cf39ae0691b6859ecf7fd410f229b parent 4d5dbd0945d9e0833dd7964a3d6ee33157f7cc7a parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Dave Kleikamp Tue, 24 Jan 2006 14:34:47 -0600 committer Dave Kleikamp Tue, 24 Jan 2006 14:34:47 -0600 Merge with /home/shaggy/git/linus-clean/ commit cc925bbed017b12d46436e8ab788e0de8656d08c tree c96e474944319e199ec8e245cb9a2f0d1cc314dc parent 3fc46d35b30cfae018c4903228a270c9543f4d7a author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3439): removed duplicated tuner_ranges - removed duplicated tuner_ranges Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3fc46d35b30cfae018c4903228a270c9543f4d7a tree 72f02a4cb4e8f8087f1f384d82a4daa9de13086f parent ab66b22f0c4e5786d59fa23569ac37a4a21ab4fb author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3436): move config byte from tuner_params to tuner_range struct. - Move config byte from tuner_params to tuner_range struct. - dvb tuners must be able to set different config byte for each range. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ab66b22f0c4e5786d59fa23569ac37a4a21ab4fb tree 293838829f957b2cf9194bdd4590bd1c7b668a74 parent 257c645d3dc90ee8b7c0640da8d9ea1b2cbe95c4 author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3435): rename cb variable names in tuner structures for global consistency - rename cb variable names in tuner structures for global consistency Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 257c645d3dc90ee8b7c0640da8d9ea1b2cbe95c4 tree 09dc143433be7abc8c66f250704e46aeadc2eb4e parent 9df8e9456d74c7ac749a1ebfb54a3cc36e46a602 author Markus Rechberger Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3434): changed comment in tuner-core.c - changed comment in tuner-core.c Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 9df8e9456d74c7ac749a1ebfb54a3cc36e46a602 tree 751427b861f10e1ee6e127815e98dd4f0562c4b4 parent a94e95b443811c127734ef10f3b7d2220532c1d2 author Randy Dunlap Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3433): Fix printk type warning - Fix printk type warning: drivers/media/dvb/b2c2/flexcop-pci.c:164: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t' Signed-off-by: Randy Dunlap Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a94e95b443811c127734ef10f3b7d2220532c1d2 tree 4db69dec34628c32dd40788373f3503670ccd542 parent cbcf749382a7bbf70b1bbf6eeb3234d1682c9f17 author Markus Rechberger Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3432): Hauppauge HVR 900 Composite support - Hauppauge HVR 900 Composite support Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit cbcf749382a7bbf70b1bbf6eeb3234d1682c9f17 tree c780467892e5eda3bfb70421ac2f90a820b348d7 parent 757d250518c4905c5d13c8974446e08a2e3cf244 author Michael Krufky Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3431): fixed spelling error, exectuted --> executed. - fixed spelling error, exectuted --> executed. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 757d250518c4905c5d13c8974446e08a2e3cf244 tree 3603696598ffde1f14aad76f12572f847b6ac324 parent ac272ed7f1ae15084c64bdc4d3b4578ec2a0830b author Hans Verkuil Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3430): Add new internal VIDIOC_INT commands - Add new internal VIDIOC_INT commands for setting the tuner mode, for putting a chip into standby mode and to set/get the routing of inputs/outputs of audio or video of a chip. These new commands will replace older commands that are no longer up to the task. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit ac272ed7f1ae15084c64bdc4d3b4578ec2a0830b tree a97c2231872cfd59767684c20d78694dbefeaf42 parent 703cb2cbf4250215e67f4a04081e4ea9d9f34bc9 author Markus Rechberger Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3429): Missing break statement on tuner-core - default_tuner_init was called twice due to a missing break statement. Signed-off-by: Markus Rechberger Acked-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 703cb2cbf4250215e67f4a04081e4ea9d9f34bc9 tree cd9a9404a0cda282013c34ea087611771fc2e6ff parent 8a4b275f9c192921797f45c2d4b5e4bc3875500a author Adrian Bunk Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3428): drivers/media/dvb/ possible cleanups - Make needlessly global code static - #if 0 the following unused global functions: - b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq() - b2c2/flexcop-dma.c: flexcop_dma_config_packet_count() Signed-off-by: Adrian Bunk Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8a4b275f9c192921797f45c2d4b5e4bc3875500a tree da12ba774968078df22718a58221e87b71387fca parent 9aeb4b051b65c0248ea6589096950413c4da9d63 author Hans Verkuil Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3427): audmode and rxsubchans fixes (VIDIOC_G/S_TUNER) - Audmode and rxsubchans fixes in msp3400, tuner, tvaudio and cx25840. - msp3400 cleanups Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 9aeb4b051b65c0248ea6589096950413c4da9d63 tree 81e14364b0cf1797a5bff9a66cfe2475abf336cd parent 2d50f847c62acbafa25dc690d0fe65b8b908a326 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3423): CodingStyle fixes. - CodingStyle fixes. Signed-off-by: Mauro Carvalho Chehab commit 2d50f847c62acbafa25dc690d0fe65b8b908a326 tree b07c01a3571c08b6e27c645bc1c5ff3475718a03 parent e5589befc472ca50882f37c4fb32333fc93a65b7 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3422): Implemented VIDIOC_G_FMT/S_FMT for sliced VBI - Implemented VIDIOC_G_FMT/S_FMT for sliced VBI - VIDIOC_S_FMT now calls a function Signed-off-by: Mauro Carvalho Chehab commit e5589befc472ca50882f37c4fb32333fc93a65b7 tree 312488c15ed5ffa50806f89ad63b99952308459e parent 12db56071b473a59c550d0aa70db6972a49d73af author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3421): Several fixes to prepare for VBI - Fixed VBI compilation. - Included capacity to specify vbi and video number. - Added a better control for using more than one em28xx device. - VIDIOC_G_FMT now calls a function. Signed-off-by: Mauro Carvalho Chehab commit 12db56071b473a59c550d0aa70db6972a49d73af tree fabe596b7da982788959caaa04d6e8d4598d8da7 parent 4d0dddb10723cee2b3048bd2389673703bc228e4 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3420): Added iocls to configure VBI on tvp5150 - Added iocls to configure VBI on tvp5150 Signed-off-by: Mauro Carvalho Chehab commit 4d0dddb10723cee2b3048bd2389673703bc228e4 tree aea4b467e131d9c1080021840b9884629037d534 parent c835ac24e2e3d5de7fff0620949b61228048e27b author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3419): added some VBI macros and moved minor definitions to header file - Moved some hardcoded minor numbers to videodev2.h - Included more comments for sliced VBI standards - Included some VBI macros to group similar standards Signed-off-by: Mauro Carvalho Chehab commit c835ac24e2e3d5de7fff0620949b61228048e27b tree bbb76d12b09e3ea33afa4ac9e59f97091b6834fb parent bff75d248f27c10d4bf1aaf8d5c81b00623861b9 author Mike Isely Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887 - The tda9887 has an I2C id reserved for it, but it hasn't been using it. Probably an oversight. Fixed with this patch. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab commit bff75d248f27c10d4bf1aaf8d5c81b00623861b9 tree 65ca985e869dace3bee853b9c051a49a43e7bb79 parent 42d2b6ef40fcf9094d4d55a1a4c8d1c80318271c author Michael Krufky Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3417): make VP-3054 Secondary I2C Bus Support a Kconfig option. - make VP-3054 Secondary I2C Bus Support a Kconfig option. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 42d2b6ef40fcf9094d4d55a1a4c8d1c80318271c tree 008b68789d9dbf7fefcc7705ff441830f9fc96f2 parent 28f3d4b37db26a30b8990e039b6881b43de815f9 author Ian Pickworth Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3416): Recognise Hauppauge card #34519 - Recognise Hauppauge card #34519 Signed-off-by: Ian Pickworth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 28f3d4b37db26a30b8990e039b6881b43de815f9 tree 5ad1e541348fac8d0e3a77171d9a1cb15f77ec34 parent d76a617903fa6dc466907531056cc33100560ea4 author Michael Krufky Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3414): rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv - rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d76a617903fa6dc466907531056cc33100560ea4 tree 4f5ff42902e9938d0332ac45ce52cb70a24e5eed parent 2af3557748c18239b0aa2c77dd9c8392f6c1c7e1 author Michael Krufky Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3413): Kill nxt2002 in favor of the nxt200x module - Kill nxt2002 module in favor of nxt200x. - Repair broken nxt2002 support in the nxt200x module. - Make the flexcop driver use nxt200x instead of the nxt2002 module for the Air2PC 2nd generation PCI card. - Remove the nxt2002 module from cvs and kernel build. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2af3557748c18239b0aa2c77dd9c8392f6c1c7e1 tree 884fec413f532a8a2fcb56073d0550273c388c80 parent 2701dacb5ae5e7ecab4131605bdbcedd92bbaf82 author Michael Krufky Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3411): group dvb-bt8xx Subsystem ID's together, in order. - group dvb-bt8xx Subsystem ID's together, in order. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2701dacb5ae5e7ecab4131605bdbcedd92bbaf82 tree 7b4afaa7734005b77bdc9b2be93dff341ee65e2b parent 10b7a903072eb066b17cc9049d6ea55dd044f4c3 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3410): Implemented sliced VBI set on VIDIOC_S_FMT - Implemented sliced VBI set on VIDIOC_S_FMT Signed-off-by: Mauro Carvalho Chehab commit 10b7a903072eb066b17cc9049d6ea55dd044f4c3 tree 9fe5f92e9ef6e9de5df5eeb3baa01961d89e7822 parent 6ac48b458769059ee6147dd8bf2767e820407292 author Peter Missel Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3409): Mark Typhoon cards as Lifeview OEM's - Mark Typhoon cards as OEM of Lifeview. Signed-off-by: Peter Missel Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 6ac48b458769059ee6147dd8bf2767e820407292 tree 1c83bdbbd5b3b8751b922d732d1d8d40c4c47a09 parent 3ad96835cedec7704b1b5a211b39262bb794adaf author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 V4L/DVB (3408): Included new sliced VBI types to videodev2.h and tvp5150 - Added other sliced VBI types to videodev2.h - tvp5150 now uses standard V4L2 API codes from videodev2.h - Implemented VIDIOC_G_SLICED_VBI_CAP for tvp5150. This is dynamically filled based on defined VDP C-RAM values filled by the driver. Signed-off-by: Mauro Carvalho Chehab commit 3ad96835cedec7704b1b5a211b39262bb794adaf tree d62864f757dc9a29d50a072614b04178678596f0 parent 439090d7d82a333a21987dcbccb90961f27fd2e9 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 V4L/DVB (3407): added some code for VBI processing and cleanup debug dump - Renamed some registers and improved register debug message - Some cleanups at register dump - Added code to set VBI processor (VDP) - VBI code still incomplete Signed-off-by: Mauro Carvalho Chehab commit 439090d7d82a333a21987dcbccb90961f27fd2e9 tree 30b1ff5543833508668731bcb186dc94a791753c parent e36eaa71c99eb1edb52eb21ab4e8c9e09b943f21 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:10:54 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:10:54 -0200 V4L/DVB (3406): Added credits for em28xx-video.c - Added credits for sn9c102 kernel module and his author as some parts of em28xx-video were based. Acked-by: Luca Risolia Acked-by: Markus Rechberger Acked-by: Ludovico Cavedon Acked-by: Sascha Sommer Signed-off-by: Mauro Carvalho Chehab commit e36eaa71c99eb1edb52eb21ab4e8c9e09b943f21 tree b1ad85f4c22967848de8c546abd26cd1fb4420f6 parent 337208d007d94749cc965742eede1611a94c06ce author Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:34 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:34 -0200 V4L/DVB (3405): Fixes tvp5150a/am1 detection. - Tvp5150 type were determined by a secondary register instead of using ROM code. - tvp5150am1 have ROM=4.0, while tvp5150a have ROM=3.33 (decimal). All other ROM versions are reported as unknown tvp5150. - Except for reporting, current code doesn't enable any special feature for tvp5150am1 or tvp5150a. Code should work for both models (but were tested only for tvp5150am1). Signed-off-by: Mauro Carvalho Chehab commit 337208d007d94749cc965742eede1611a94c06ce tree b8451df5c11e511da276a1fc3c9972a341fad6c0 parent 94f9e56e2b32e9d0efa1321afc3fa164563b2c55 author Adrian Bunk Mon, 23 Jan 2006 09:48:02 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:02 -0200 VIDEO_CX88_ALSA must select SND_PCM - VIDEO_CX88_ALSA must select SND_PCM Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 94f9e56e2b32e9d0efa1321afc3fa164563b2c55 tree f8cf7f75026605673b116142acc5002da9ca3f3c parent 53a7240416adabb84e32334a9f118b7f05392ba2 author Hans Verkuil Mon, 23 Jan 2006 09:47:40 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:47:40 -0200 V4L/DVB (3403): Add probe check for the tda9840. - Add probe check for the tda9840 to prevent misdetection of a Micronas dpl3518a as a tda9840. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 53a7240416adabb84e32334a9f118b7f05392ba2 tree 3589d708545b4ba84fcdc39b696f4bd7269dcd5f parent b639f9d286f2216795492eac2a39b8ed6b4d555c author Hans Verkuil Mon, 23 Jan 2006 09:46:02 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:46:02 -0200 V4L/DVB (3402): Fix handling of VIDIOC_G_TUNER audmode in msp3400 - Fix handling of VIDIOC_G_TUNER audmode in msp3400: audmode is only changed by the user with S_TUNER, never by the driver. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit b639f9d286f2216795492eac2a39b8ed6b4d555c tree 8a618d3041ea3902fcf7f66ea43196575d4648eb parent 4c0f631e14b849782259519c749414b1f1ddbfa8 author Nickolay V. Shmyrev Mon, 23 Jan 2006 09:44:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:44:10 -0200 V4L/DVB (3400): Remove duplicated keymaps and add keymap for KWorld LTV883IR. - Remove duplicated keymaps and add keymap for KWorld LTV883IR. Thanks to Jon Ferguson . Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 4c0f631e14b849782259519c749414b1f1ddbfa8 tree 7976453534a7785899a71bc6cd574e5c7ebc3a95 parent bf47e4e43e4dcf88fef61b1b4139ce2da20e1f73 author Ricardo Cerqueira Mon, 23 Jan 2006 09:42:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:42:06 -0200 V4L/DVB (3393): Move all IR keymaps to ir-common module - All the keymaps have the same structure, and can be shared between different chips, so it makes no sense having them scattered between the input files. This aggregates them all at ir-common module. - Added new Hauppauge remote (Hauppauge grey), contributed by J.O. Aho (with some small changes) Changed KEY_KPx (keypad numerals) references to KEY_x, to avoid problems when NumLock is off (suggested by Peter Missel ) - Some cleanups at IR code Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit bf47e4e43e4dcf88fef61b1b4139ce2da20e1f73 tree 2b6b1bd833e21a18d1e0386d5a9066d6e620076a parent f74a6b395a6dea5028a1604e721dfb2b5c18fc86 author J.O. Aho Mon, 23 Jan 2006 09:34:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:34:06 -0200 V4L/DVB (3395): Hauppauge Grey Remote support - For the Hauppauge PVR cards there are at least two different remotes, one completly black and one that is Grey and black, they keys differ in values eg Black remotes 'mute' has the same value as Grey remotes 'menu'. - This enables the user to select which keymapping to use by using the hauppauge parm. Unlike to the black remote keys, all keys are mapped for the grey remote and the ATi usb remote mappings has been followed. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit f74a6b395a6dea5028a1604e721dfb2b5c18fc86 tree b21de10f98fb076de42b1926ef993b9b1bd9e27a parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Michael Krufky Tue, 17 Jan 2006 03:50:23 -0200 committer Mauro Carvalho Chehab Sun, 22 Jan 2006 22:30:01 -0200 V4L/DVB (3392): Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. - Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 076d022c566fddde41fd4a858dd24bacad8304d7 tree 2fbc6b45c4d67642e3f8852f1ac8a70dfe7cd3d2 parent 0ec57e53c945fe962b190953f61e1ffd127e68d3 author Vitaly Bordug Tue, 17 Jan 2006 22:22:27 +0300 committer Paul Mackerras Fri, 20 Jan 2006 16:13:55 +1100 [PATCH] PPC32 8xx: support for the physmapped flash on m8xx Implemented more correct way to support physmapped flash on m8xx than map in mtd. The areas intended to contain bootloader are protected readonly. Note that CFI and JEDEC stuff should be configured properly in order this to work, e.g. for 885/86x CFI should support 4-chip flash interleave. Also fixed compilation warning. Signed-off-by: Vitaly Bordug Signed-off-by: Paul Mackerras commit 0ec57e53c945fe962b190953f61e1ffd127e68d3 tree 2c8cf3e91aa3222be2f7e55bbbd4f55c4deef98f parent f4fc4a5b74cff2a487222f05704a2bd01953d250 author Marcelo Tosatti Tue, 17 Jan 2006 00:24:42 -0200 committer Paul Mackerras Fri, 20 Jan 2006 16:13:50 +1100 [PATCH] powerpc: generalize PPC44x_PIN_SIZE The following patch generalizes PPC44x_PIN_SIZE by changing it to PPC_PIN_SIZE, which can be defined by any sub-arch to automatically adjust VMALLOC_START. Define PPC_PIN_SIZE on 8xx, avoiding potential conflicts with the pinned space. Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit f4fc4a5b74cff2a487222f05704a2bd01953d250 tree fc46b28c23e498662263c929376dbf605d5faca6 parent 0ce928e1b2ad4309fae6c4324b9e9e433fbf62a2 author Kumar Gala Mon, 16 Jan 2006 10:53:22 -0600 committer Paul Mackerras Fri, 20 Jan 2006 16:13:36 +1100 [PATCH] powerpc: Add CONFIG_DEFAULT_UIMAGE to build a uImage by default for a board Embedded boards that u-boot require a kernel image in the uImage format. This allows a given board to specify it wants a uImage built by default. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 0ce928e1b2ad4309fae6c4324b9e9e433fbf62a2 tree 774811b3bba02ac53292c56cc0be0d144e616044 parent 63dafe5728e7354bc3f15bd49f13f1f9a433e8fb author Vitaly Bordug Sun, 15 Jan 2006 17:30:29 +0300 committer Paul Mackerras Fri, 20 Jan 2006 16:13:29 +1100 [PATCH] ppc32 8xx: Added setbitsXX/clrbitsXX macro for read-modify-write operations This adds setbitsXX/clrbitsXX macro for read-modify-write operations and converts the 8xx core and drivers to use them. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 63dafe5728e7354bc3f15bd49f13f1f9a433e8fb tree 51ca2135b5c5952d79a636e91f9db9efde9bfe43 parent 837e9594fc3cb9a06bddd7ecf66151334a2e13d2 author Becky Bruce Sat, 14 Jan 2006 16:57:39 -0600 committer Paul Mackerras Fri, 20 Jan 2006 16:11:06 +1100 [PATCH] powerpc: Updated Initial MPC8540 ADS port with OF Flat Dev Updated patch for support for mpc8540_ads in arch/powerpc with a flat OF device tree. This patch does not yet support PCI or I2C. Signed-off-by: Becky Bruce Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b88e926584bf100bc23f5e76b7b674d4257edcb0 tree b91879ffd7b4158f4458878c3be3e66dacb57c4c parent ff741906ad3cf4b8ca1a958acb013a97a6381ca2 author Ashok Raj Thu, 19 Jan 2006 16:18:47 -0800 committer Tony Luck Thu, 19 Jan 2006 16:18:47 -0800 [IA64] Fix UP build with BSP removal support. Causes undefined force_cpei_retarget defined in arch/ia64/kernel/smpboot.c Push the unneeded code inside #ifdef CONFIG_HOTPLUG_CPU. Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit 9c4b562abc9005e4b413de02c85d3d29da707cba tree 20985e711d285aaf1b87aa3b4837a7ed2bc3b73a parent 0f36b018b2e314d45af86449f1a97facb1fbe300 author Adrian Bunk Thu, 19 Jan 2006 18:07:10 +0100 committer Adrian Bunk Thu, 19 Jan 2006 18:07:10 +0100 Move ip2.c and ip2main.c to drivers/char/ip2/ where the other files used by this driver reside. Renamed ip2.c to ip2base.c to allow ip2.o to be built from multiple objects. Signed-off-by: Adrian Bunk Acked-by: Michael H. Warfield commit b4ea75b649417606fd6b38710a2962ec9770e772 tree 217727bea3813e154dee942a3c835933de26acee parent 2baeaaa4dab6b43e35c7150d5350bfaff1284153 parent 7c4d33675f81fa38f85eeabbbf3e7b8687c15cc3 author Jeff Garzik Wed, 18 Jan 2006 16:20:16 -0500 committer Jeff Garzik Wed, 18 Jan 2006 16:20:16 -0500 Merge branch 'upstream-fixes' commit 7db74a4780cf9cc6b2ea97582cdc8031d5f22ccd tree 1db7d01b7648b6de99c83b42ccdfbdd16501628c parent 422b75956cd11f9d9214e6e2a99d6e52d98812d4 parent 7eb9b2f56c9812d03ac63031869bcc42151067b1 author Jeff Garzik Wed, 18 Jan 2006 01:01:22 -0500 committer Jeff Garzik Wed, 18 Jan 2006 01:01:22 -0500 Merge branch 'master' commit 2baeaaa4dab6b43e35c7150d5350bfaff1284153 tree da95b3796b4c5199c330ff69f8c879b50a97551f parent ef6f63a4aafcf6c79ac371f3c78a96b76c0f0596 parent 77783a78ded96a56e3a1a0c03bbe87c56896fe6e author Jeff Garzik Tue, 17 Jan 2006 19:57:15 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:57:15 -0500 Merge branch 'upstream' commit 422b75956cd11f9d9214e6e2a99d6e52d98812d4 tree f7aabb4188b651596431ce344b1529dfa0c0b0b4 parent 7c76d1e83961a4e355c3ebd53191bc6072c238bd author Tejun Heo Mon, 19 Dec 2005 22:37:17 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] ahci: separate out ahci_dev_classify Separate out ahci_dev_classify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 7c76d1e83961a4e355c3ebd53191bc6072c238bd tree 1ca34cd050c335bf3490ed234cdecc59dee5504f parent 3be680b7329e65b9165d6d8dc81baa1e9e89dfc7 author Tejun Heo Mon, 19 Dec 2005 22:36:34 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] ahci: separate out ahci_stop/start_engine Separate out ahci_stop/start_engine(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3be680b7329e65b9165d6d8dc81baa1e9e89dfc7 tree 75e7392670acb6bc8edfa58dbbbf5e1bbc541abe parent 35cfc45c582c0df666a817bc5e6cbe7aef5693a0 author Tejun Heo Mon, 19 Dec 2005 22:35:02 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] libata: separate out ata_sata_print_link_status Separate out sata_print_link_status() from __sata_phy_reset(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 35cfc45c582c0df666a817bc5e6cbe7aef5693a0 tree 4d953c68b07dfde0e4853ea1d3594ef09fc1e826 parent 8a6d498e864aa3d1ae21fce650452dd13a305769 parent 0825788ff27c7145e9d558cb2a26f3837d1f9be5 author Jeff Garzik Tue, 17 Jan 2006 19:46:58 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:46:58 -0500 Merge branch 'lba48-opt' commit 8a6d498e864aa3d1ae21fce650452dd13a305769 tree 7bfd002af9a2901621a1f803d7a834859b3b67fc parent a1bd9e68573239320d18823c73eb06d8e56cc9e2 parent bfd6057959ecd3ff779a373a4d07cda2c2d0eec1 author Jeff Garzik Tue, 17 Jan 2006 19:46:27 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:46:27 -0500 Merge branch 'debug' commit bfd6057959ecd3ff779a373a4d07cda2c2d0eec1 tree f3d6e2a5f408251b59ea17457bde5cf161164fe0 parent 2664b25051f7ab96b22b199aa2f5ef6a949a4296 author Randy Dunlap Tue, 17 Jan 2006 19:34:42 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:34:42 -0500 From: Borislav Petkov libata new debugging macro definitions Signed-off-by: Borislav Petkov Signed-off-by: Randy Dunlap commit ef6f63a4aafcf6c79ac371f3c78a96b76c0f0596 tree 710a1abcd4a3f65ada8a4526747e91b756e7c0b5 parent 03a49eebcaa3486f4ac2c50db83aab996ce5ad9b parent 22d4d77183f0af8b3b643544a5ae64ec6105d88b author Jeff Garzik Tue, 17 Jan 2006 19:29:28 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:29:28 -0500 Merge branch 'upstream' commit 03a49eebcaa3486f4ac2c50db83aab996ce5ad9b tree a92d8a6b3806ec3416ca2b28c45174fca9c4833e parent d4fbeabbc9e68c80738fe59135d201c3ed5fe40f parent 26df54bffd90977fbc6fe8284f2beaed19fea44f author Jeff Garzik Tue, 17 Jan 2006 19:19:20 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:19:20 -0500 Merge branch 'janitor' commit d4fbeabbc9e68c80738fe59135d201c3ed5fe40f tree dc7a965013ec01a54b3e4b265ade1637e8df4a53 parent 0547993820378ef8140b0470b604737bf1fa6c85 author Stefan Rompf Tue, 17 Jan 2006 22:52:51 +0100 committer Jeff Garzik Tue, 17 Jan 2006 19:19:12 -0500 [PATCH] starfire: Implement suspend/resume This patch implements suspend and resume methods for the starfire driver. It allows me to put my desktop PC with a starfire dual board into S4. Signed-Off-By: Stefan Rompf Signed-off-by: Jeff Garzik commit 0825788ff27c7145e9d558cb2a26f3837d1f9be5 tree f6bdb892cec8ca0df69c08a3477c89f1542999e5 parent 02f693c7118f6be9e677070eb630c1f3a654cdd3 parent 1bc4ccfff8675adc3d96f91245eb7e2dc0043ca9 author Jeff Garzik Tue, 17 Jan 2006 10:26:28 -0500 committer Jeff Garzik Tue, 17 Jan 2006 10:26:28 -0500 Merge branch 'upstream' commit 26df54bffd90977fbc6fe8284f2beaed19fea44f tree 008deacb21a6ef3769213e142255d31dce2a5ddd parent f03aa2d89ad600a1ed21a223f196776f217cfe00 author Adrian Bunk Sat, 14 Jan 2006 03:09:40 +0100 committer Jeff Garzik Tue, 17 Jan 2006 08:39:11 -0500 [PATCH] drivers/net/s2io.c: make code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit f03aa2d89ad600a1ed21a223f196776f217cfe00 tree c99eec8e63fbc952d5b7180b32fe1cbf5accb9ed parent ff5688ae1cedfb175b5ed0f319d03ad2e5ee005d author Adrian Bunk Sat, 14 Jan 2006 03:10:22 +0100 committer Jeff Garzik Tue, 17 Jan 2006 08:38:12 -0500 [PATCH] drivers/net/arcnet/: possible cleanups This patch contains the following possible cleanups: - make needlessly global code static - arcnet.c: remove the unneeded EXPORT_SYMBOL(arc_proto_null) - arcnet.c: remove the unneeded EXPORT_SYMBOL(arcnet_dump_packet) To make Jeff happy, arcnet.c still prints arcnet: v3.93 BETA 2000/04/29 - by Avery Pennarun et al. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit ff5688ae1cedfb175b5ed0f319d03ad2e5ee005d tree eca0d41b3eefc833238591e0100a8136f21269a7 parent e03d72b99e4027504ada134bf1804d6ea792b206 author Marcelo Feitoza Parisi Mon, 09 Jan 2006 18:37:15 -0800 committer Jeff Garzik Tue, 17 Jan 2006 07:59:23 -0500 [PATCH] drivers/net/*: use time_after() and friends They deal with wrapping correctly and are nicer to read. Also make jiffies-holding variables unsigned long. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit e03d72b99e4027504ada134bf1804d6ea792b206 tree a4c75707712af88ad0ac824e5a40b63488fa7530 parent 2664b25051f7ab96b22b199aa2f5ef6a949a4296 author Adrian Bunk Mon, 09 Jan 2006 18:34:08 -0800 committer Jeff Garzik Tue, 17 Jan 2006 07:45:52 -0500 [PATCH] drivers/net/sk98lin/: possible cleanups This patch contains the following possible cleanups: - make needlessly global functions static - remove unused code Signed-off-by: Adrian Bunk Cc: Stephen Hemminger Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit ff741906ad3cf4b8ca1a958acb013a97a6381ca2 tree 66a4c2dbacd4c10015824a6789f9206693003092 parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Ashok Raj Fri, 11 Nov 2005 14:32:40 -0800 committer Tony Luck Thu, 05 Jan 2006 10:24:20 -0800 [IA64] support for cpu0 removal here is the BSP removal support for IA64. Its pretty much the same thing that was released a while back, but has your feedback incorporated. - Removed CONFIG_BSP_REMOVE_WORKAROUND and associated cmdline param - Fixed compile issue with sn2/zx1 due to a undefined fix_b0_for_bsp - some formatting nits (whitespace etc) This has been tested on tiger and long back by alex on hp systems as well. Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit 02f693c7118f6be9e677070eb630c1f3a654cdd3 tree b5493c816a1f76a01319a84955c5ba07d47517c3 parent e7fb585940a3dc87a42ebc30a62296e5cf6f9cd5 parent a18ceba7b40e24a9da87249bd74f16ea5abd6894 author Jeff Garzik Tue, 03 Jan 2006 10:59:55 -0500 committer Jeff Garzik Tue, 03 Jan 2006 10:59:55 -0500 Merge branch 'upstream' commit e7fb585940a3dc87a42ebc30a62296e5cf6f9cd5 tree 6b0290f0cb5f019b792df8580a73f0f852a4e856 parent 80c7af4074cbb4cb6be5d35c443ea6d5e8838a84 parent c6329f4df2263ab5a40601a5236639e61b682f51 author Jeff Garzik Tue, 13 Dec 2005 22:22:41 -0500 committer Jeff Garzik Tue, 13 Dec 2005 22:22:41 -0500 Merge branch 'upstream' commit 80c7af4074cbb4cb6be5d35c443ea6d5e8838a84 tree e900ad4c0beb4f44f0912b847c3319f11ef57d73 parent 451ec6ab310602515b361418debe93d00f67e273 parent d00d598ffbba974d9045ba8b95296655fe2162c5 author Jeff Garzik Tue, 13 Dec 2005 01:46:20 -0500 committer Jeff Garzik Tue, 13 Dec 2005 01:46:20 -0500 Merge branch 'upstream' commit 451ec6ab310602515b361418debe93d00f67e273 tree 933cbbe7232ae6cb19986012e3162e65a184b77a parent fe54ceda4dd71b6155f4a58cd2aad3a780cb347d parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:14:13 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:14:13 -0500 Merge branch 'master' commit fe54ceda4dd71b6155f4a58cd2aad3a780cb347d tree 6b9b51dc50ab46b6f22d7c30fc013b3f07e70175 parent 5e3c2b95dd560baa41b08c8f5f00bbd6fbeebdcb parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:59:27 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:59:27 -0500 Merge branch 'master' commit 4d5dbd0945d9e0833dd7964a3d6ee33157f7cc7a tree 139d47bcbfbbca350536be935961fece7477a7b6 parent ca869912366f60cb5e0bdd09f65e80ee6816e73c author Arjan van de Ven Tue, 29 Nov 2005 08:28:58 -0600 committer Dave Kleikamp Tue, 29 Nov 2005 08:28:58 -0600 JFS: make buddy table static Idea is to reduce false cacheline sharing and stuff Signed-off-by: Dave Kleikamp commit 5e3c2b95dd560baa41b08c8f5f00bbd6fbeebdcb tree 639d83b9bc4d08104e014b8903a773a04b7f1cac parent 4fe1eaf6f39ed3270aff6068d84a2e6a452da734 parent b71d4da092801634d04190693a38ca03bdbe2505 author Jeff Garzik Tue, 29 Nov 2005 03:57:16 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:57:16 -0500 Merge branch 'upstream' commit 4fe1eaf6f39ed3270aff6068d84a2e6a452da734 tree fded327ed0b11554041c307e3f80272ab082a299 parent 8238e747b62db977f80bfd4e5694d4fc2c1112d5 parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:57:04 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:57:04 -0500 Merge branch 'master' commit 8238e747b62db977f80bfd4e5694d4fc2c1112d5 tree 7ac1b125cf75752e7b49e99322f2c7d62076691d parent 85a07029aaba8f5b27241bcff56cc009c9f4993b parent 1b15688b31d8c88881102426279e8cc03953860b author Jeff Garzik Sun, 20 Nov 2005 00:41:08 -0500 committer Jeff Garzik Sun, 20 Nov 2005 00:41:08 -0500 Merge branch 'upstream' commit 85a07029aaba8f5b27241bcff56cc009c9f4993b tree c579554c2ea9c942ccbea60e223bc62d8262f652 parent 0da36b3467040908d3df6bc1f5b4d592a8b23b63 parent 79bfb0a98fdc73ed6a18469cef245cbf50a1d8bb author Jeff Garzik Fri, 18 Nov 2005 11:42:40 -0500 committer Jeff Garzik Fri, 18 Nov 2005 11:42:40 -0500 Merge branch 'upstream' commit 0da36b3467040908d3df6bc1f5b4d592a8b23b63 tree 4843991fa3a67d9e3cbdfd39eb50574ce8b82c6e parent 8006fdd6dc387abaa4b683bda4868c879fd76070 parent cd52d1ee9a92587b242d946a2300a3245d3b885a author Jeff Garzik Fri, 11 Nov 2005 23:38:52 -0500 committer Jeff Garzik Fri, 11 Nov 2005 23:38:52 -0500 Merge branch 'master' commit ca869912366f60cb5e0bdd09f65e80ee6816e73c tree a72913a29495ca078987c09fc0008f47e11b900b parent dd8a306ac0c918268bd2ae89da2dea627f6e352d parent 388f7ef720a982f49925e7b4e96f216f208f8c03 author Dave Kleikamp Fri, 11 Nov 2005 14:09:06 -0600 committer Dave Kleikamp Fri, 11 Nov 2005 14:09:06 -0600 Merge with /home/shaggy/git/linus-clean/ commit dd8a306ac0c918268bd2ae89da2dea627f6e352d tree e3f2c244505931d93b09f7d314014cf3832b0176 parent 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 author Dave Kleikamp Thu, 10 Nov 2005 07:50:03 -0600 committer Dave Kleikamp Thu, 10 Nov 2005 07:50:03 -0600 JFS: Add back directory i_size calculations for legacy partitions Linux-formatted jfs partitions have a different idea about what i_size represents than partitions formatted on OS/2. The i_size calculation is now based on the size of the directory index. For legacy partitions, which have no directory index, the i_size is never being updated. This patch adds back the original i_size calculations for legacy partitions. Signed-off-by: Dave Kleikamp commit 8006fdd6dc387abaa4b683bda4868c879fd76070 tree 314b08f4923dd9ab24930e6b2ac75889c244b154 parent 18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b parent 7c3983357fdaef3ae71a0d7081a4b6dcfd869d39 author Jeff Garzik Wed, 09 Nov 2005 01:37:34 -0500 committer Jeff Garzik Wed, 09 Nov 2005 01:37:34 -0500 Merge branch 'upstream' commit 18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b tree c4a4a9a0455c00edf16689cf0252c82c52d518db parent c4811b151b6584a668de8ae59eb71c4890b9ad94 parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:44:48 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:44:48 -0500 Merge branch 'master' commit c4811b151b6584a668de8ae59eb71c4890b9ad94 tree 152e0efddcfd882123757bbe36ae18249a9a9379 parent 024b1432716c0d8332327a506cb0f64c9a2f6083 parent 005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a author Jeff Garzik Sun, 30 Oct 2005 23:33:54 -0500 committer Jeff Garzik Sun, 30 Oct 2005 23:33:54 -0500 Merge branch 'upstream' commit 024b1432716c0d8332327a506cb0f64c9a2f6083 tree f2b119c040cfc24243dca79c370a3e6695958c36 parent d2927cbe40b29ceda96c7a2412f7daee70026aad parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Jeff Garzik Sun, 30 Oct 2005 20:24:20 -0500 committer Jeff Garzik Sun, 30 Oct 2005 20:24:20 -0500 Merge branch 'master' commit d2927cbe40b29ceda96c7a2412f7daee70026aad tree 06d3692cb40ed7c787b8860ae926d4bda43d59ef parent 9359ede748ff1461bf0632fb4182f61da4a2f9e2 parent a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 author Jeff Garzik Sun, 30 Oct 2005 04:46:16 -0500 committer Jeff Garzik Sun, 30 Oct 2005 04:46:16 -0500 Merge branch 'upstream' commit 9359ede748ff1461bf0632fb4182f61da4a2f9e2 tree 4ec0c92b4998a535fc1180866a6dff9ad3bbb489 parent 35ebbae2836a361330b784706b7140c90a346a53 parent 81cfb8864c73230eb1c37753aba517db15cf4d8f author Jeff Garzik Sun, 30 Oct 2005 01:59:10 -0500 committer Jeff Garzik Sun, 30 Oct 2005 01:59:10 -0500 Merge branch 'upstream' commit 35ebbae2836a361330b784706b7140c90a346a53 tree ada3c046a8b6bfdf21bcb0932b4b65c95c2af073 parent c6a33e2464edd87f8c12cc2d11369a5b44c65b77 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Jeff Garzik Fri, 28 Oct 2005 12:30:29 -0400 committer Jeff Garzik Fri, 28 Oct 2005 12:30:29 -0400 Merge branch 'master' commit c6a33e2464edd87f8c12cc2d11369a5b44c65b77 tree f15eb374fa98fb1f76bf3a7cffd9cb8ef7173091 parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 author Albert Lee Wed, 12 Oct 2005 15:12:26 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:18:16 -0400 [PATCH] libata CHS: LBA28/LBA48 optimization (revise #6) - add lba_28_ok() and lba_48_ok() to ata.h. - check ending block number instead of staring block number. - use lba_28_ok() for CHS range check - LBA28/LBA48 optimization Suggested by Mark Lord and Alan Cox. Signed-off-by: Albert Lee ===== Signed-off-by: Jeff Garzik