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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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