commit b2fd16b4ff2508ac16ae994f4bcd941f97754c00 tree 45014cb8e62adc5b0e8e788fe1cfd78dfcd12d50 parent d4b7780ea1d2e08410fcc9963a57254147ae577a author Horms Thu, 23 Mar 2006 16:36:28 +0900 committer Jeff Garzik Fri, 24 Mar 2006 12:10:55 -0500 [PATCH] net: ne2k.c won't compile if pci_clone_list is const net: ne2k.c won't compile if pci_clone_list is const f71e130966ba429dbd24be08ddbcdf263df9a5ad which (amongst other things) made pci_clone_list in ne2k-pci.c const causes the following compile error. This patch reverses that portion of that changeset drivers/net/ne2k-pci.c:123: error: pci_clone_list causes a section type conflict ~/ gcc --version gcc (GCC) 4.0.3 (Debian 4.0.3-1) ~/ dpkg gcc-4.0 | grep Version Version: 4.0.3-1 Signed-Off-By: Horms commit d4b7780ea1d2e08410fcc9963a57254147ae577a tree 3625bc3f6f0220b348793e9dc1e1a131899b49c9 parent e93252faca2eb1a14b44369705be7c79eba2f037 author Andrew Victor Fri, 24 Mar 2006 11:50:17 +0200 committer Jeff Garzik Fri, 24 Mar 2006 12:10:55 -0500 [PATCH] AT91RM9200 Ethernet driver This patch adds support for the Ethernet controller integrated in the Atmel AT91RM9200 SoC processor. Changes since the previous submission (01/02/2006) are: - Make use of the clk.h clock infrastructure. - The multicast hash function is not crc32. [Patch by Pedro Perez] Signed-off-by: Andrew Victor Signed-off-by: Jeff Garzik commit e93252faca2eb1a14b44369705be7c79eba2f037 tree 35ae4fde7c0b082388272f2154bfabc4bdf4500a parent f125b56113be4956867cc9bd098bb99b1b9bb93f parent 2f1f610b62bce36d6d50857859091b8989c70267 author Linus Torvalds Fri, 24 Mar 2006 08:19:51 -0800 committer Linus Torvalds Fri, 24 Mar 2006 08:19:51 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: [PATCH] libata: Remove dependence on host_set->dev for SAS [PATCH] libata: ata_scsi_ioctl cleanup [PATCH] libata: ata_scsi_queuecmd cleanup [libata] export ata_dev_pair; trim trailing whitespace [PATCH] libata: add ata_dev_pair helper [PATCH] Make libata not powerdown drivers on PM_EVENT_FREEZE. [PATCH] libata: make ata_set_mode() responsible for failure handling [PATCH] libata: use ata_dev_disable() in ata_bus_probe() [PATCH] libata: implement ata_dev_disable() [PATCH] libata: check if port is disabled after internal command [PATCH] libata: make per-dev transfer mode limits per-dev [PATCH] libata: add per-dev pio/mwdma/udma_mask [PATCH] libata: implement ata_unpack_xfermask() [libata] Move some bmdma-specific code to libata-bmdma.c [libata sata_uli] kill scr_addr abuse [libata sata_nv] eliminate duplicate codepaths with iomap [libata sata_nv] cleanups: convert #defines to enums; remove in-file history [libata sata_sil24] cleanups: use pci_iomap(), kzalloc() commit f125b56113be4956867cc9bd098bb99b1b9bb93f tree ffb7715fa4b729dab0546df887065718f36fba85 parent 0cb409d98e351e6817e0bc37fe6815fc14b2c036 author Andrew Morton Fri, 24 Mar 2006 03:18:44 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:31 -0800 [PATCH] fix build error if CONFIG_SYSFS=n uevent_seqnum and uevent_helper are only defined if CONFIG_HOTPLUG=y, CONFIG_NET=n. (I stole this back from Greg's tree - it makes allnoconfig work). Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cb409d98e351e6817e0bc37fe6815fc14b2c036 tree 2d3636949d65d5e4911bc9106ddfdf75872c2380 parent 24277dda3a54aa5e6265487e1a3091e27f3c0c45 author Davi Arnaut Fri, 24 Mar 2006 03:18:43 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:31 -0800 [PATCH] strndup_user: convert keyctl Copies user-space string with strndup_user() and moves the type string duplication code to a function (thus fixing a wrong check on the length of the type.) Signed-off-by: Davi Arnaut Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24277dda3a54aa5e6265487e1a3091e27f3c0c45 tree 8fdfcb8c522fff6ce6f82d0b06346b89a825d639 parent 96840aa00a031069a136ec4c55d0bdd09ac6d3a7 author Davi Arnaut Fri, 24 Mar 2006 03:18:43 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:31 -0800 [PATCH] strndup_user: convert module Change hand-coded userspace string copying to strndup_user. Signed-off-by: Davi Arnaut Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96840aa00a031069a136ec4c55d0bdd09ac6d3a7 tree f93592ca47f2412aa0cce3ce4c116d1678a42239 parent 6687a97d4041f996f725902d2990e5de6ef5cbe5 author Davi Arnaut Fri, 24 Mar 2006 03:18:42 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:31 -0800 [PATCH] strndup_user() This patch series creates a strndup_user() function to easy copying C strings from userspace. Also we avoid common pitfalls like userspace modifying the final \0 after the strlen_user(). Signed-off-by: Davi Arnaut Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6687a97d4041f996f725902d2990e5de6ef5cbe5 tree 6ab982091cde7179d94cf592f9c669fd22d93a23 parent 6a4d11c2abc57ed7ca42041e5f68ae4f7f640a81 author Ingo Molnar Fri, 24 Mar 2006 03:18:41 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] timer-irq-driven soft-watchdog, cleanups Make the softlockup detector purely timer-interrupt driven, removing softirq-context (timer) dependencies. This means that if the softlockup watchdog triggers, it has truly observed a longer than 10 seconds scheduling delay of a SCHED_FIFO prio 99 task. (the patch also turns off the softlockup detector during the initial bootup phase and does small style fixes) Signed-off-by: Ingo Molnar Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a4d11c2abc57ed7ca42041e5f68ae4f7f640a81 tree 93a839de19cf3f49bbbb3668f31c8a002c2f7f7f parent b5a7c4f5835ae2805d00ca39709002cb03364143 author Sergey Vlasov Fri, 24 Mar 2006 03:18:38 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] Fix module refcount leak in __set_personality() If the change of personality does not lead to change of exec domain, __set_personality() returned without releasing the module reference acquired by lookup_exec_domain(). Signed-off-by: Sergey Vlasov Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5a7c4f5835ae2805d00ca39709002cb03364143 tree 667be9c3dc48afae4cb9ace7366019974f05a9f8 parent d3561f78fd379a7110e46c87964ba7aa4120235c author Glauber de Oliveira Costa Fri, 24 Mar 2006 03:18:37 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] ext3: Properly report backup block present in a group In filesystems with the meta block group flag on, ext3_bg_num_gdb() fails to report the correct number of blocks used to store the group descriptor backups in a given group. It happens because meta_bg follows a different logic from the original ext3 backup placement in groups multiples of 3, 5 and 7. Signed-off-by: Glauber de Oliveira Costa Cc: Andreas Dilger Cc: "Stephen C. Tweedie" Cc: Alex Tomas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3561f78fd379a7110e46c87964ba7aa4120235c tree 3f055910e42abf0d2d312bf3feda79dd6798f76e parent e0661111e5441995f7a69dc4336c9f131cb9bc58 author Andrew Morton Fri, 24 Mar 2006 03:18:36 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] RLIMIT_CPU: document wrong return value Document the fact that setrlimit(RLIMIT_CPU) doesn't return error codes when it should. I don't think we can fix this without a 2.7.x.. Cc: Martin Schwidefsky Cc: Ulrich Weigand Cc: Cliff Wickman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0661111e5441995f7a69dc4336c9f131cb9bc58 tree 47a0a0ae66a9f792e6c9edbf683cdc0b62a2d4b7 parent ec9e16bacdba1da1ee15dd162384e22df5c87e09 author Andrew Morton Fri, 24 Mar 2006 03:18:35 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] RLIMIT_CPU: fix handling of a zero limit At present the kernel doesn't honour an attempt to set RLIMIT_CPU to zero seconds. But the spec says it should, and that's what 2.4.x does. Fixing this for real would involve some complexity (such as adding a new it-has-been-set flag to the task_struct, and testing that everwhere, instead of overloading the value of it_prof_expires). Given that a 2.4 kernel won't actually send the signal until one second has expired anyway, let's just handle this case by treating the caller's zero-seconds as one second. Cc: Martin Schwidefsky Cc: Ulrich Weigand Cc: Cliff Wickman Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec9e16bacdba1da1ee15dd162384e22df5c87e09 tree c69536db0e5a8814051745faa77fc34eea9ac75c parent de62a97ef576a1f6b5013139ded9893226375bbb author Andrew Morton Fri, 24 Mar 2006 03:18:34 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:30 -0800 [PATCH] sys_setrlimit() cleanup - Whitespace cleanups - Make that expression comprehensible. There's a potential logic change here: we do the "is it_prof_expires equal to zero" test after converting it to seconds, rather than doing the comparison between raw cputime_t's. But given that it's in units of seconds anyway, that shouldn't change anything. Cc: Martin Schwidefsky Cc: Ulrich Weigand Cc: Cliff Wickman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de62a97ef576a1f6b5013139ded9893226375bbb tree 39589587c7c48b4d2e3f1dc6a1c8ddb863ce814c parent 554b7c801e379e8c0072533b4da89a3a003cbfac author Christoph Hellwig Fri, 24 Mar 2006 03:18:33 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] deprecate the tasklist_lock export Drivers have no business looking at the task list and thus using this lock. The only possibly modular users left are: arch/ia64/kernel/mca.c drivers/edac/edac_mc.c fs/binfmt_elf.c which I'll send out fixes for soon. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 554b7c801e379e8c0072533b4da89a3a003cbfac tree 86f2da1549e37648948fe3d091ecc76c18714597 parent 57c2d60e1e3db506cdcecbf60f939593125db7f8 author Alan Cox Fri, 24 Mar 2006 03:18:32 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] Yet more rio cleaning (2 of 2) - Remove more unused headers - Remove various typedefs - Correct type of PaddrP (physical addresses should be ulong) - Kill use of bcopy - More printk cleanups - Kill true/false - Clean up direct access to pci BARs Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57c2d60e1e3db506cdcecbf60f939593125db7f8 tree f91c0b9b1682772fd5150919fd8a57479700f2dc parent db3185242a9a369d5ef13cd2baf196507925009e author Alan Cox Fri, 24 Mar 2006 03:18:31 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] Yet more rio cleaning (1 of 2) - Remove more unused headers - Remove various typedefs - Correct type of PaddrP (physical addresses should be ulong) - Kill use of bcopy - More printk cleanups - Kill true/false - Clean up direct access to pci BARs Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db3185242a9a369d5ef13cd2baf196507925009e tree 7fd6fcd3df83ba2af2f54f5861091f019d68cde3 parent 3d336aa257ba382c3ad7883ee000cbacb761e411 author Alan Cox Fri, 24 Mar 2006 03:18:30 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #5 Final polish. There is no more save_flags/cli type locking left. We also no longer use the pcicopy function and file so they can go. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d336aa257ba382c3ad7883ee000cbacb761e411 tree 655026fde099cb11ac6c3bac67092a6ebc9551d8 parent 00d83a54aa824b11ebc8c66c4a879cfeb5029a22 author Alan Cox Fri, 24 Mar 2006 03:18:29 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #4 Third large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 00d83a54aa824b11ebc8c66c4a879cfeb5029a22 tree c4d13bb89b7ee082439ae75a5c1ee2d9da52c3c4 parent e2b3afd676ad3e15ca2efca3b3605c7d817ec6e3 author Alan Cox Fri, 24 Mar 2006 03:18:28 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #3 Second large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2b3afd676ad3e15ca2efca3b3605c7d817ec6e3 tree f6b7c9739e20a865b6f1f379ccbab67a63ddec53 parent 27c6e526f34760a9c48a90112242b7165064fa85 author Alan Cox Fri, 24 Mar 2006 03:18:27 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #2 First large chunk of code cleanup. The split between this and #3 and #4 is fairly arbitary and due to the message length limit on the list. These patches continue the process of ripping out macros and typedefs while cleaning up lots of 32bit assumptions. Several inlines for compatibility also get removed and that causes a lot of noise. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27c6e526f34760a9c48a90112242b7165064fa85 tree 40505dbe2ab69e7f8077c7473984deecff0203f3 parent b6c6b6021ec735bd105e130ac1ee1606575f74c3 author Alan Cox Fri, 24 Mar 2006 03:18:26 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:29 -0800 [PATCH] rio driver rework continued #1 More header cleanups, strip out typedefs and remove cruft. There are a lot of magic macros that can go and also a great deal of abuse of volatile that is not needed any more as this patch set cleans up the misuse of pointer access to ISA and PCI space. It now builds cleanly on 64bit, although there is more work left to do Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6c6b6021ec735bd105e130ac1ee1606575f74c3 tree 098596ea049ca6ec10cb999ef2db943936c35a56 parent 3b8e3f1e44326115f2a28a63ede62b1f5c53e46e author Alan Cox Fri, 24 Mar 2006 03:18:26 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] rioboot: post-Lindent After the indent we can now clean up unused code, and fix all myriad cases that don't use readb/writeb properly. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b8e3f1e44326115f2a28a63ede62b1f5c53e46e tree d8f285f56cd2c178612f014ba8e07b5bbd66e22f parent 74769abfcb430b839914f3fe91e23a4f628d9553 author Alan Cox Fri, 24 Mar 2006 03:18:24 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] rioboot: lindent This is the result of indent -kr -i8 -bri0 -l255 Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74769abfcb430b839914f3fe91e23a4f628d9553 tree af7443e43f236d4d9e6c87ef777989989f1079ec parent 10e705f83c3e796893a70fb872895ba604901166 author Alan Cox Fri, 24 Mar 2006 03:18:24 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] rio: more header cleanup Strip some of the typedef mess out Remove a small subset of unused defines and the like. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10e705f83c3e796893a70fb872895ba604901166 tree 61323e87e4c23de924b83a7acaced7ede6e257fc parent ac515898f35eaf7b77529cb0560115345d73bc15 author Takashi Iwai Fri, 24 Mar 2006 03:18:23 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] Fix "value computed not used" warnings Fixes for annoying gcc-4.1 compile warnings "value computed not used". Simply cast to void. (akpm: Linus will go ballistic...) Signed-off-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac515898f35eaf7b77529cb0560115345d73bc15 tree 392eb4e84c0d9e6bb4248bf7a2b3a5631d7646bd parent 208a08f7cc2a8932ed76162d9844f9ae7d7fc015 author Christoph Hellwig Fri, 24 Mar 2006 03:18:22 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] deprecate the kernel_thread export Announce that the kernel_thread export will be removed in half a year, after all it's users have been converted to the kthread_ API, which I plan to do over the next month. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 208a08f7cc2a8932ed76162d9844f9ae7d7fc015 tree 6f0eb837cf8c1ce131c93ecf52476046519c5969 parent f751d50f6dea1446797c9a31f5c183002e5780a8 author Kumar Gala Fri, 24 Mar 2006 03:18:21 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] ide: Allow IDE interface to specify its not capable of 32-bit operations In some embedded systems the IDE hardware interface may only support 16-bit or smaller accesses. Allow the interface to specify if this is the case and don't allow the drive or user to override the setting. Signed-off-by: Kumar Gala Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f751d50f6dea1446797c9a31f5c183002e5780a8 tree 9d8bc20f7f0fcb26e53865dbe10e5526e4dd3483 parent 82d821ddca8f5c990067cc37543010aa9346a172 author Adrian Bunk Fri, 24 Mar 2006 03:18:21 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:28 -0800 [PATCH] show MCP menu only on ARCH_SA1100 On architectures like i386, the "Multimedia Capabilities Port drivers" menu is visible, but it can't be visited since it contains nothing usable for !ARCH_SA1100. This patch therefore shows this menu only on ARCH_SA1100. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82d821ddca8f5c990067cc37543010aa9346a172 tree 32e544f964f202d1ee7a135370ea0f6661098bcd parent 2ea1c5392cc8ce249fb661db4f4cdfbbae373a89 author Kyle McMartin Fri, 24 Mar 2006 03:18:20 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] Conditionalize compat_sys_newfstatat If we don't want sys_newfstatat because __ARCH_WANT_STAT64 is defined, then we certainly don't want compat_sys_newfstatat either. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ea1c5392cc8ce249fb661db4f4cdfbbae373a89 tree 07e612d8e1e6c015f7da2702f2af4129e63db15c parent 7e9dd124b90af80824754f68c0b246cfd0fb624b author John Z. Bohach Fri, 24 Mar 2006 03:18:19 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] console_setup() depends (wrongly?) on CONFIG_PRINTK It appears that console_setup() code only gets compiled into the kernel if CONFIG_PRINTK is enabled. One detrimental side-effect of this is that serial8250_console_setup() never gets invoked when CONFIG_PRINTK is not set, resulting in baud rate not being read/parsed from command line (i.e. console=ttyS0,115200n8 is ignored, at least the baud rate part...) Attached patch moves console_setup() code from inside #ifdef CONFIG_PRINTK to outside (in printk.c), removing dependence on said config. option. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e9dd124b90af80824754f68c0b246cfd0fb624b tree 412027f65e6c5df873295397fe1c70e900285a50 parent d129bceb1d44ed3c23b99164849193703372bab4 author Nico Schottelius Fri, 24 Mar 2006 03:18:18 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] Updated Documentation/nfsroot.txt I today booted the first time my embedded device using Linux 2.6.15.2, which was booted by pxelinux, which then bootet itself from the nfsroot. This went pretty fine, but when I was reading through Documentation/nfsroot.txt I saw that there are some more modern versions available of loading the kernel and passing parameters. Signed-off-by: Nico Schottelius Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d129bceb1d44ed3c23b99164849193703372bab4 tree bcc7fbf2d0cde5fb437d835358ae42f788b14ac1 parent 97f2478db161714d0e3e864f38f5789c66f98b81 author Pierre Ossman Fri, 24 Mar 2006 03:18:17 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] mmc: Secure Digital Host Controller Interface driver Driver for the Secure Digital Host Controller Interface specification. Signed-off-by: Pierre Ossman Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97f2478db161714d0e3e864f38f5789c66f98b81 tree 685e6215bfb63cae2c288dd0af96378f81a33cfa parent 8f2e9f157a94f444dad974b088b853ac40785b02 author Pierre Ossman Fri, 24 Mar 2006 03:18:16 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] Secure Digital Host Controller id and regs Class code and register definitions for the Secure Digital Host Controller standard. Signed-off-by: Pierre Ossman Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f2e9f157a94f444dad974b088b853ac40785b02 tree a8a3b2413ffb2a4a6f84762f052f0f6b4699ef9a parent 18e79b40ed9c5223b88771f805c69f5993fc131b author Andrew Morton Fri, 24 Mar 2006 03:18:15 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] msync(): use do_fsync() No need to duplicate all that code. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18e79b40ed9c5223b88771f805c69f5993fc131b tree cc628524d4bfe3166bbe9d8d7217a1cb009ea209 parent 676758bdb7bfca8413a85203921746f446e237be author Andrew Morton Fri, 24 Mar 2006 03:18:14 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:27 -0800 [PATCH] fsync: extract internal code Pull the guts out of do_fsync() - we can use it elsewhere. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 676758bdb7bfca8413a85203921746f446e237be tree 23c731f429652e16f2cdba98cd503eaa059f929b parent 707c21c848deeb0200ba3f07e4ba90e6dc419c2f author Andrew Morton Fri, 24 Mar 2006 03:18:14 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] msync: fix return value msync() does a strange thing. Essentially: vma = find_vma(); for ( ; ; ) { if (!vma) return -ENOMEM; ... vma = vma->vm_next; } so an msync() request which starts within or before a valid VMA and which ends within or beyond the final VMA will incorrectly return -ENOMEM. Fix. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 707c21c848deeb0200ba3f07e4ba90e6dc419c2f tree d8e8f32916ac1f04e45e42595ddd0ef771ddb1ad parent 9c50823eebf7c256b92b4e0f02b5fb30e97788c2 author Andrew Morton Fri, 24 Mar 2006 03:18:13 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] msync(MS_SYNC): don't hold mmap_sem while syncing It seems bad to hold mmap_sem while performing synchronous disk I/O. Alter the msync(MS_SYNC) code so that the lock is released while we sync the file. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c50823eebf7c256b92b4e0f02b5fb30e97788c2 tree 241b754698c3501355d1061c828ab6d894dba617 parent 4741c9fd36b3bcadd37238321c469049da94a4b9 author Andrew Morton Fri, 24 Mar 2006 03:18:12 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] msync(): perform dirty page levelling It seems sensible to perform dirty page throttling in msync: as the application dirties pages we can kick off pdflush early, or even force the msync() caller to perform writeout, or even throttle the msync() caller. The main effect of this is to start disk writeback earlier if we've just discovered that a large amount of pagecache has been dirtied. (Otherwise it wouldn't happen for up to five seconds, next time pdflush wakes up). It also will cause the page-dirtying process to get panalised for dirtying those pages rather than whacking someone else with the problem. We should do this for munmap() and possibly even exit(), too. We drop the mmap_sem while performing the dirty page balancing. It doesn't seem right to hold mmap_sem for that long. Note that this patch only affects MS_ASYNC. MS_SYNC will be syncing all the dirty pages anyway. We note that msync(MS_SYNC) does a full-file-sync inside mmap_sem, and always has. We can fix that up... The patch also tightens up the mmap_sem coverage in sys_msync(): no point in taking it while we perform the incoming arg checking. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4741c9fd36b3bcadd37238321c469049da94a4b9 tree 4b3031b04cdbf2d3c5a4fcc1965ed857f1cf0ce4 parent fa5a734e406b53761fcc5ee22366006f71112c2d author Andrew Morton Fri, 24 Mar 2006 03:18:11 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] set_page_dirty() return value fixes We need set_page_dirty() to return true if it actually transitioned the page from a clean to dirty state. This wasn't right in a couple of places. Do a kernel-wide audit, fix things up. This leaves open the possibility of returning a negative errno from set_page_dirty() sometime in the future. But we don't do that at present. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa5a734e406b53761fcc5ee22366006f71112c2d tree 003a238b9207e38f747bfb119a30fb52f1cd5ae9 parent 8a14342683b1e3adcf5f78660a42fcbd95b44a35 author Andrew Morton Fri, 24 Mar 2006 03:18:10 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] balance_dirty_pages_ratelimited: take nr_pages arg Modify balance_dirty_pages_ratelimited() so that it can take a number-of-pages-which-I-just-dirtied argument. For msync(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a14342683b1e3adcf5f78660a42fcbd95b44a35 tree 332265cb9fe8b1e107864cdb380bf5f6b4bfb840 parent 2ecb9e633c5057d1203a59ef3e5c3aaea37c402e author Eric Dumazet Fri, 24 Mar 2006 03:18:10 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] HOTPLUG_CPU: avoid hitting too many cachelines in recalc_bh_state() Instead of using for_each_cpu(i), we can use for_each_online_cpu(i). When a CPU goes offline (ie removed from online map), it might have a non null bh_accounting.nr, so this patch adds a transfer of this counter to an online CPU counter. We already have a hotcpu_notifier, (function buffer_cpu_notify()), where we can do this bh_accounting. Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ecb9e633c5057d1203a59ef3e5c3aaea37c402e tree 9df374a3ef0bf531b27bcb19668f5ed1bbeb3732 parent 453ae9337aa3a7da12db723223998c7f75a026c0 author Arthur Othieno Fri, 24 Mar 2006 03:18:08 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] sound: remove PC98-specific OPL3_HW_OPL3_PC98 OPL3_HW_OPL3_PC98 #define isn't used anywhere; previously in sound/drivers/opl3/opl3_lib.c and sound/isa/cs423x/pc98.c, the latter of which went away with the rest of PC98 subarch. Signed-off-by: Arthur Othieno Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 453ae9337aa3a7da12db723223998c7f75a026c0 tree d4718e57787330e2ffbded21ee6349c79e8d963b parent df1e2fb540368d0f9640045235f81923fa63acb7 author Arthur Othieno Fri, 24 Mar 2006 03:18:07 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:26 -0800 [PATCH] block: floppy98 removal, really. floppy98 went out together with the rest of PC98 subarch. Remove stale Makefile entry that remained. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df1e2fb540368d0f9640045235f81923fa63acb7 tree aae81d11a102030772ab5a1a6bfa55820fbaf0da parent 38885bd4c2a4b59ddb22271d3e6c621859c76f02 author Hugh Dickins Fri, 24 Mar 2006 03:18:06 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] shmdt: check address alignment SUSv3 says the shmdt() function shall fail with EINVAL if the value of shmaddr is not the data segment start address of a shared memory segment: our sys_shmdt needs to reject a shmaddr which is not page-aligned. Does it have the potential to break existing apps? Hugh says "sys_shmdt() just does the wrong (unexpected) thing with a misaligned address: it'll fail on what you might expect it to succeed on, and only succeed on what it should definitely fail on. "That is, I think it behaves as if shmaddr gets rounded up, when the only understandable behaviour would be if it rounded it down. "Which does mean you'd have to be devious to see anything but EINVAL from a misaligned shmaddr there, so it's not terribly important." Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38885bd4c2a4b59ddb22271d3e6c621859c76f02 tree 60a4528db40c182f7091c8d84433542dabbc8faa parent a94ddf3ab866df9c187c9d8b3870b7ec38c6f7ad author Coywolf Qi Hunt Fri, 24 Mar 2006 03:18:05 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] sb_set_blocksize cleanup sb_set_blocksize() cleanup: make sb_set_blocksize() use blksize_bits(). Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a94ddf3ab866df9c187c9d8b3870b7ec38c6f7ad tree e52f82a6b200c03f9a2c83b31bc0ff3d249a7308 parent ebcf28e1c7a295f3321249dd235ad2e45938fdd9 author Randy Dunlap Fri, 24 Mar 2006 03:18:05 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] early_printk: cleanup trailiing whitespace Remove all trailing tabs and spaces. No other changes. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebcf28e1c7a295f3321249dd235ad2e45938fdd9 tree fdd2e131e627af55d3741a7fafad0edaa61410c1 parent 469eb4d03878b676418f853011ebfb54ccf83a5e author Andrew Morton Fri, 24 Mar 2006 03:18:04 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] fadvise(): write commands Add two new linux-specific fadvise extensions(): LINUX_FADV_ASYNC_WRITE: start async writeout of any dirty pages between file offsets `offset' and `offset+len'. Any pages which are currently under writeout are skipped, whether or not they are dirty. LINUX_FADV_WRITE_WAIT: wait upon writeout of any dirty pages between file offsets `offset' and `offset+len'. By combining these two operations the application may do several things: LINUX_FADV_ASYNC_WRITE: push some or all of the dirty pages at the disk. LINUX_FADV_WRITE_WAIT, LINUX_FADV_ASYNC_WRITE: push all of the currently dirty pages at the disk. LINUX_FADV_WRITE_WAIT, LINUX_FADV_ASYNC_WRITE, LINUX_FADV_WRITE_WAIT: push all of the currently dirty pages at the disk, wait until they have been written. It should be noted that none of these operations write out the file's metadata. So unless the application is strictly performing overwrites of already-instantiated disk blocks, there are no guarantees here that the data will be available after a crash. To complete this suite of operations I guess we should have a "sync file metadata only" operation. This gives applications access to all the building blocks needed for all sorts of sync operations. But sync-metadata doesn't fit well with the fadvise() interface. Probably it should be a new syscall: sys_fmetadatasync(). The patch also diddles with the meaning of `endbyte' in sys_fadvise64_64(). It is made to represent that last affected byte in the file (ie: it is inclusive). Generally, all these byterange and pagerange functions are inclusive so we can easily represent EOF with -1. As Ulrich notes, these two functions are somewhat abusive of the fadvise() concept, which appears to be "set the future policy for this fd". But these commands are a perfect fit with the fadvise() impementation, and several of the existing fadvise() commands are synchronous and don't affect future policy either. I think we can live with the slight incongruity. Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 469eb4d03878b676418f853011ebfb54ccf83a5e tree 38b10385c6241778ca88c6015ded3ba68d39a23c parent 604bf5a216e7f2d97cdf62614ca1281921531040 author Andrew Morton Fri, 24 Mar 2006 03:17:45 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] filemap_fdatawrite_range() api: clarify -end parameter I had trouble understanding working out whether filemap_fdatawrite_range()'s `end' parameter describes the last-byte-to-be-written or the last-plus-one. Clarify that in comments. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 604bf5a216e7f2d97cdf62614ca1281921531040 tree 3510302f5ff0ae04940eb79b67cffe6dee561908 parent ab7efcc97ebc92e03c0474dfd38f9c7b84b84115 author Jan Beulich Fri, 24 Mar 2006 03:16:19 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] CONFIG_UNWIND_INFO As a foundation for reliable stack unwinding, this adds a config option (available to all architectures except IA64 and those where the module loader might have problems with the resulting relocations) to enable the generation of frame unwind information. Signed-off-by: Jan Beulich Cc: Miles Bader Cc: "Luck, Tony" Cc: Ralf Baechle Cc: Kyle McMartin Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: "David S. Miller" Cc: Paul Mundt , Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab7efcc97ebc92e03c0474dfd38f9c7b84b84115 tree b0eb6b9abce5c47af9c61b606f37ec1c4d247e65 parent 09fe316a7b10219be592118626850e1dfdfcc1aa author Jan Beulich Fri, 24 Mar 2006 03:16:17 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] abstract type/size specification for assembly Provide abstraction for generating type and size information of assembly routines and data, while permitting architectures to override these defaults. Signed-off-by: Jan Beulich Cc: "Russell King" Cc: Ralf Baechle Cc: "Andi Kleen" Cc: "Luck, Tony" Cc: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09fe316a7b10219be592118626850e1dfdfcc1aa tree 09542092195cc918f3566102e2b4090936e160b2 parent e933b6d6511dc80c63ab36fd584715371ae293c7 author Alex Tomas Fri, 24 Mar 2006 03:16:16 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:25 -0800 [PATCH] fast ext3_statfs Under I/O load it may take up to a dozen seconds to read all group descriptors. This is what ext3_statfs() does. At the same time, we already maintain global numbers of free inodes/blocks. Why don't we use them instead of group reading and summing? Cc: Ravikiran G Thirumalai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e933b6d6511dc80c63ab36fd584715371ae293c7 tree 96bc02983930590f4edc938a37ab14006e3d352b parent 5b3cf3e0f019fcfe1e0c26aedb4d54b5e5be3a7b author Olaf Hering Fri, 24 Mar 2006 03:16:15 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] remove ipmi pm_power_off redefinition Use the global define of pm_power_off Signed-off-by: Olaf Hering Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b3cf3e0f019fcfe1e0c26aedb4d54b5e5be3a7b tree 516fa7597b59dfdd934d7f35bc303a8fe578c420 parent 53b3531bbbf70ac7551b32d1acc229d94de52658 author Pekka Enberg Fri, 24 Mar 2006 03:16:14 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] isofs: remove unused debugging macros Remove unused debugging macros from isofs. The referred debug functions do not exist in the kernel. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53b3531bbbf70ac7551b32d1acc229d94de52658 tree 644440c93f599bbf64bb0b703c97b03b4dc5d737 parent 29afd49b72a9b2c26fa8c678bcf3976d0540446b author Alexey Dobriyan Fri, 24 Mar 2006 03:16:13 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] s/;;/;/g Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29afd49b72a9b2c26fa8c678bcf3976d0540446b tree 4cc12f5bb3c5c3ee668226990e79115081609265 parent b2455396be35383c4eebc6745cc718b1dd9e23df author Paul Jackson Fri, 24 Mar 2006 03:16:12 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] cpuset: remove useless local variable initialization Remove a useless variable initialization in cpuset __cpuset_zone_allowed(). The local variable 'allowed' is unconditionally set before use, later on in the code, so does not need to be initialized. Not that it seems to matter to the code generated any, as the compiler optimizes out the superfluous assignment anyway. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2455396be35383c4eebc6745cc718b1dd9e23df tree 9ed4d43f1ca944c23372fad6554508f1747f5e2d parent 151a44202d097ae8b1bbaa6d8d2f97df30e3cd1e author Paul Jackson Fri, 24 Mar 2006 03:16:12 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] cpuset: memory_spread_slab drop useless PF_SPREAD_PAGE check The hook in the slab cache allocation path to handle cpuset memory spreading for tasks in cpusets with 'memory_spread_slab' enabled has a modest performance bug. The hook calls into the memory spreading handler alternate_node_alloc() if either of 'memory_spread_slab' or 'memory_spread_page' is enabled, even though the handler does nothing (albeit harmlessly) for the page case Fix - drop PF_SPREAD_PAGE from the set of flag bits that are used to trigger a call to alternate_node_alloc(). The page case is handled by separate hooks -- see the calls conditioned on cpuset_do_page_mem_spread() in mm/filemap.c Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 151a44202d097ae8b1bbaa6d8d2f97df30e3cd1e tree 3752bba902e73001443bb75f40495cc3a1d24f54 parent 8488bc359d674baf710992e4b641513ea5ebd212 author Paul Jackson Fri, 24 Mar 2006 03:16:11 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:24 -0800 [PATCH] cpuset: don't need to mark cpuset_mems_generation atomic Drop the atomic_t marking on the cpuset static global cpuset_mems_generation. Since all access to it is guarded by the global manage_mutex, there is no need for further serialization of this value. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8488bc359d674baf710992e4b641513ea5ebd212 tree 28f6558f6b006c5a28a64a1beabec5498d9b77d4 parent b0196009d8c3ecf6ea6ec080c63d2ccc146e7ad9 author Paul Jackson Fri, 24 Mar 2006 03:16:10 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset: remove unnecessary NULL check Remove a no longer needed test for NULL cpuset pointer, with a little comment explaining why the test isn't needed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0196009d8c3ecf6ea6ec080c63d2ccc146e7ad9 tree 3fcb06af54faf92fa5d9d82d5659762d2b742e1c parent c61afb181c649754ea221f104e268cbacfc993e3 author Paul Jackson Fri, 24 Mar 2006 03:16:09 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread slab cache hooks Change the kmem_cache_create calls for certain slab caches to support cpuset memory spreading. See the previous patches, cpuset_mem_spread, for an explanation of cpuset memory spreading, and cpuset_mem_spread_slab_cache for the slab cache support for memory spreading. The slab caches marked for now are: dentry_cache, inode_cache, some xfs slab caches, and buffer_head. This list may change over time. In particular, other file system types that are used extensively on large NUMA systems may want to allow for spreading their directory and inode slab cache entries. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c61afb181c649754ea221f104e268cbacfc993e3 tree 870917b3f9175cf1663a2620d989856913cfb5f8 parent 101a50019ae5e370d73984ee05d56dd3b08f330a author Paul Jackson Fri, 24 Mar 2006 03:16:08 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread slab cache optimizations The hooks in the slab cache allocator code path for support of NUMA mempolicies and cpuset memory spreading are in an important code path. Many systems will use neither feature. This patch optimizes those hooks down to a single check of some bits in the current tasks task_struct flags. For non NUMA systems, this hook and related code is already ifdef'd out. The optimization is done by using another task flag, set if the task is using a non-default NUMA mempolicy. Taking this flag bit along with the PF_SPREAD_PAGE and PF_SPREAD_SLAB flag bits added earlier in this 'cpuset memory spreading' patch set, one can check for the combination of any of these special case memory placement mechanisms with a single test of the current tasks task_struct flags. This patch also tightens up the code, to save a few bytes of kernel text space, and moves some of it out of line. Due to the nested inlines called from multiple places, we were ending up with three copies of this code, which once we get off the main code path (for local node allocation) seems a bit wasteful of instruction memory. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 101a50019ae5e370d73984ee05d56dd3b08f330a tree f5628837d4bb68a4109dfb8d6601f95b630848c3 parent fffb60f93ce5880aade88e01d7133b52a4879710 author Paul Jackson Fri, 24 Mar 2006 03:16:07 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread slab cache implementation Provide the slab cache infrastructure to support cpuset memory spreading. See the previous patches, cpuset_mem_spread, for an explanation of cpuset memory spreading. This patch provides a slab cache SLAB_MEM_SPREAD flag. If set in the kmem_cache_create() call defining a slab cache, then any task marked with the process state flag PF_MEMSPREAD will spread memory page allocations for that cache over all the allowed nodes, instead of preferring the local (faulting) node. On systems not configured with CONFIG_NUMA, this results in no change to the page allocation code path for slab caches. On systems with cpusets configured in the kernel, but the "memory_spread" cpuset option not enabled for the current tasks cpuset, this adds a call to a cpuset routine and failed bit test of the processor state flag PF_SPREAD_SLAB. For tasks so marked, a second inline test is done for the slab cache flag SLAB_MEM_SPREAD, and if that is set and if the allocation is not in_interrupt(), this adds a call to to a cpuset routine that computes which of the tasks mems_allowed nodes should be preferred for this allocation. ==> This patch adds another hook into the performance critical code path to allocating objects from the slab cache, in the ____cache_alloc() chunk, below. The next patch optimizes this hook, reducing the impact of the combined mempolicy plus memory spreading hooks on this critical code path to a single check against the tasks task_struct flags word. This patch provides the generic slab flags and logic needed to apply memory spreading to a particular slab. A subsequent patch will mark a few specific slab caches for this placement policy. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fffb60f93ce5880aade88e01d7133b52a4879710 tree 7882f0550af8580c0646306f6d391fe610f7ef8c parent 4b6a9316fab51af611dc8671f296734089f6a22a author Paul Jackson Fri, 24 Mar 2006 03:16:06 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread: slab cache format Rewrap the overly long source code lines resulting from the previous patch's addition of the slab cache flag SLAB_MEM_SPREAD. This patch contains only formatting changes, and no function change. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b6a9316fab51af611dc8671f296734089f6a22a tree 078f8f0f01a206af529bef137d5b71515c39053d parent 44110fe385af23ca5eee8a6ad4ff55d50339097a author Paul Jackson Fri, 24 Mar 2006 03:16:05 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:23 -0800 [PATCH] cpuset memory spread: slab cache filesystems Mark file system inode and similar slab caches subject to SLAB_MEM_SPREAD memory spreading. If a slab cache is marked SLAB_MEM_SPREAD, then anytime that a task that's in a cpuset with the 'memory_spread_slab' option enabled goes to allocate from such a slab cache, the allocations are spread evenly over all the memory nodes (task->mems_allowed) allowed to that task, instead of favoring allocation on the node local to the current cpu. The following inode and similar caches are marked SLAB_MEM_SPREAD: file cache ==== ===== fs/adfs/super.c adfs_inode_cache fs/affs/super.c affs_inode_cache fs/befs/linuxvfs.c befs_inode_cache fs/bfs/inode.c bfs_inode_cache fs/block_dev.c bdev_cache fs/cifs/cifsfs.c cifs_inode_cache fs/coda/inode.c coda_inode_cache fs/dquot.c dquot fs/efs/super.c efs_inode_cache fs/ext2/super.c ext2_inode_cache fs/ext2/xattr.c (fs/mbcache.c) ext2_xattr fs/ext3/super.c ext3_inode_cache fs/ext3/xattr.c (fs/mbcache.c) ext3_xattr fs/fat/cache.c fat_cache fs/fat/inode.c fat_inode_cache fs/freevxfs/vxfs_super.c vxfs_inode fs/hpfs/super.c hpfs_inode_cache fs/isofs/inode.c isofs_inode_cache fs/jffs/inode-v23.c jffs_fm fs/jffs2/super.c jffs2_i fs/jfs/super.c jfs_ip fs/minix/inode.c minix_inode_cache fs/ncpfs/inode.c ncp_inode_cache fs/nfs/direct.c nfs_direct_cache fs/nfs/inode.c nfs_inode_cache fs/ntfs/super.c ntfs_big_inode_cache_name fs/ntfs/super.c ntfs_inode_cache fs/ocfs2/dlm/dlmfs.c dlmfs_inode_cache fs/ocfs2/super.c ocfs2_inode_cache fs/proc/inode.c proc_inode_cache fs/qnx4/inode.c qnx4_inode_cache fs/reiserfs/super.c reiser_inode_cache fs/romfs/inode.c romfs_inode_cache fs/smbfs/inode.c smb_inode_cache fs/sysv/inode.c sysv_inode_cache fs/udf/super.c udf_inode_cache fs/ufs/super.c ufs_inode_cache net/socket.c sock_inode_cache net/sunrpc/rpc_pipe.c rpc_inode_cache The choice of which slab caches to so mark was quite simple. I marked those already marked SLAB_RECLAIM_ACCOUNT, except for fs/xfs, dentry_cache, inode_cache, and buffer_head, which were marked in a previous patch. Even though SLAB_RECLAIM_ACCOUNT is for a different purpose, it marks the same potentially large file system i/o related slab caches as we need for memory spreading. Given that the rule now becomes "wherever you would have used a SLAB_RECLAIM_ACCOUNT slab cache flag before (usually the inode cache), use the SLAB_MEM_SPREAD flag too", this should be easy enough to maintain. Future file system writers will just copy one of the existing file system slab cache setups and tend to get it right without thinking. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44110fe385af23ca5eee8a6ad4ff55d50339097a tree 50ed2bfe054b8e35968d8e4a5fbe95c8b3db843b parent 825a46af5ac171f9f41f794a0a00165588ba1589 author Paul Jackson Fri, 24 Mar 2006 03:16:04 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpuset memory spread page cache implementation and hooks Change the page cache allocation calls to support cpuset memory spreading. See the previous patch, cpuset_mem_spread, for an explanation of cpuset memory spreading. On systems without cpusets configured in the kernel, this is no change. On systems with cpusets configured in the kernel, but the "memory_spread" cpuset option not enabled for the current tasks cpuset, this adds a call to a cpuset routine and failed bit test of the processor state flag PF_SPREAD_PAGE. On tasks in cpusets with "memory_spread" enabled, this adds a call to a cpuset routine that computes which of the tasks mems_allowed nodes should be preferred for this allocation. If memory spreading applies to a particular allocation, then any other NUMA mempolicy does not apply. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 825a46af5ac171f9f41f794a0a00165588ba1589 tree b690fe9d809d7b047f0393097fc79892e1217d98 parent 8a39cc60bfa5a72f32d975729a354daca124f6de author Paul Jackson Fri, 24 Mar 2006 03:16:03 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpuset memory spread basic implementation This patch provides the implementation and cpuset interface for an alternative memory allocation policy that can be applied to certain kinds of memory allocations, such as the page cache (file system buffers) and some slab caches (such as inode caches). The policy is called "memory spreading." If enabled, it spreads out these kinds of memory allocations over all the nodes allowed to a task, instead of preferring to place them on the node where the task is executing. All other kinds of allocations, including anonymous pages for a tasks stack and data regions, are not affected by this policy choice, and continue to be allocated preferring the node local to execution, as modified by the NUMA mempolicy. There are two boolean flag files per cpuset that control where the kernel allocates pages for the file system buffers and related in kernel data structures. They are called 'memory_spread_page' and 'memory_spread_slab'. If the per-cpuset boolean flag file 'memory_spread_page' is set, then the kernel will spread the file system buffers (page cache) evenly over all the nodes that the faulting task is allowed to use, instead of preferring to put those pages on the node where the task is running. If the per-cpuset boolean flag file 'memory_spread_slab' is set, then the kernel will spread some file system related slab caches, such as for inodes and dentries evenly over all the nodes that the faulting task is allowed to use, instead of preferring to put those pages on the node where the task is running. The implementation is simple. Setting the cpuset flags 'memory_spread_page' or 'memory_spread_cache' turns on the per-process flags PF_SPREAD_PAGE or PF_SPREAD_SLAB, respectively, for each task that is in the cpuset or subsequently joins that cpuset. In subsequent patches, the page allocation calls for the affected page cache and slab caches are modified to perform an inline check for these flags, and if set, a call to a new routine cpuset_mem_spread_node() returns the node to prefer for the allocation. The cpuset_mem_spread_node() routine is also simple. It uses the value of a per-task rotor cpuset_mem_spread_rotor to select the next node in the current tasks mems_allowed to prefer for the allocation. This policy can provide substantial improvements for jobs that need to place thread local data on the corresponding node, but that need to access large file system data sets that need to be spread across the several nodes in the jobs cpuset in order to fit. Without this patch, especially for jobs that might have one thread reading in the data set, the memory allocation across the nodes in the jobs cpuset can become very uneven. A couple of Copyright year ranges are updated as well. And a couple of email addresses that can be found in the MAINTAINERS file are removed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a39cc60bfa5a72f32d975729a354daca124f6de tree c8a364e6fc5186293bca85152c442a4a23df4822 parent 7b5b9ef0e17d52c188fe73ea78e884fe67079e6c author Paul Jackson Fri, 24 Mar 2006 03:16:01 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpuset use combined atomic_inc_return calls Replace pairs of calls to , with a single call atomic_inc_return, saving a few bytes of source and kernel text. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b5b9ef0e17d52c188fe73ea78e884fe67079e6c tree 6f131575486edc261e20bbcdb2f73ec28d159e91 parent 0b1303fcf23678ee1785841fb0c770a35cd0833c author Paul Jackson Fri, 24 Mar 2006 03:16:00 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpuset cleanup not not operators Since the test_bit() bit operator is boolean (return 0 or 1), the double not "!!" operations needed to convert a scalar (zero or not zero) to a boolean are not needed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b1303fcf23678ee1785841fb0c770a35cd0833c tree 78b90c2766f8468b39363bd4525ebaa9b192aa8f parent 95c3832272fc77ea3e31f6382f82ba17be985cc7 author Christoph Lameter Fri, 24 Mar 2006 03:15:59 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] cpusets: only wakeup kswapd for zones in the current cpuset If we get under some memory pressure in a cpuset (we only scan zones that are in the cpuset for memory) then kswapd is woken up for all zones. This patch only wakes up kswapd in zones that are part of the current cpuset. Signed-off-by: Christoph Lameter Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95c3832272fc77ea3e31f6382f82ba17be985cc7 tree 7a8ac960b4abec39004927443d2d1464112b805d parent cdb0452789d365695b5b173542af9c7e3d24f185 author Paul E. McKenney Fri, 24 Mar 2006 03:15:58 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:22 -0800 [PATCH] rcutorture: tag success/failure line with module parameters A long-running rcutorture test can overflow dmesg, so that the line containing the module parameters is lost. Although it is usually possible to retrieve this information from the log files, it is much better to just tag it onto the final success/failure line so that it may be easily found. This patch does just that. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdb0452789d365695b5b173542af9c7e3d24f185 tree f8594a754736aecfb52d835a2e12f46a923e6ed6 parent 008accbbae6b2f18c2039d563f28d46ff4388d36 author Adrian Bunk Fri, 24 Mar 2006 03:15:57 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] kill include/linux/platform.h, default_idle() cleanup include/linux/platform.h contained nothing that was actually used except the default_idle() prototype, and is therefore removed by this patch. This patch does the following with the platform specific default_idle() functions on different architectures: - remove the unused function: - parisc - sparc64 - make the needlessly global function static: - arm - h8300 - m68k - m68knommu - s390 - v850 - x86_64 - add a prototype in asm/system.h: - cris - i386 - ia64 Signed-off-by: Adrian Bunk Acked-by: Patrick Mochel Acked-by: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 008accbbae6b2f18c2039d563f28d46ff4388d36 tree af4ce5fd57dfa3b8a5a5f0b0654d3f45a4c51f08 parent ff45e99dcd31e1810a9892ce28190bff262e4e12 author Alexey Dobriyan Fri, 24 Mar 2006 03:15:56 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] extract-ikconfig: don't use --long-options Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff45e99dcd31e1810a9892ce28190bff262e4e12 tree 81d1e76fa63acd316e82b448a4c3878238fb822c parent 66f9f59a5bfcb9efc8acad5ff0ece02fdaca6817 author Alexey Dobriyan Fri, 24 Mar 2006 03:15:56 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] extract-ikconfig: be sure binoffset exists before extracting Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66f9f59a5bfcb9efc8acad5ff0ece02fdaca6817 tree 15e872b25c747dc96b639fd5ec65cc9b604528ac parent a4a6198b80cf82eb8160603c98da218d1bd5e104 author Alexey Dobriyan Fri, 24 Mar 2006 03:15:55 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] extract-ikconfig: use mktemp(1) Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4a6198b80cf82eb8160603c98da218d1bd5e104 tree 8c59e9088840b6b95e46c00ddda4fd7a134154c2 parent c98d8cfbc600af88e9e6cffc84dd342280445760 author Jan Beulich Fri, 24 Mar 2006 03:15:54 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] tvec_bases too large for per-cpu data With internal Xen-enabled kernels we see the kernel's static per-cpu data area exceed the limit of 32k on x86-64, and even native x86-64 kernels get fairly close to that limit. I generally question whether it is reasonable to have data structures several kb in size allocated as per-cpu data when the space there is rather limited. The biggest arch-independent consumer is tvec_bases (over 4k on 32-bit archs, over 8k on 64-bit ones), which now gets converted to use dynamically allocated memory instead. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c98d8cfbc600af88e9e6cffc84dd342280445760 tree bcf88e2905ba6b640e120a7c6529e3dcddb8c130 parent 2c2212901f8b3fc84f36cb98150cfc2f6b4752f8 author Adrian Bunk Fri, 24 Mar 2006 03:15:53 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] fs/coda/: proper prototypes Introduce a file fs/coda/coda_int.h with proper prototypes for some code. Signed-off-by: Adrian Bunk Acked-by: Jan Harkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c2212901f8b3fc84f36cb98150cfc2f6b4752f8 tree 6acfa5cc4f27ef40ea9f8238db74c7930da169f6 parent 29c6e48601065908e7933c0d8440f383fffe155b author Adrian Bunk Fri, 24 Mar 2006 03:15:53 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] fs/ext2/: proper ext2_get_parent() prototype Add a proper prototype for ext2_get_parent(). Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29c6e48601065908e7933c0d8440f383fffe155b tree f72cd38d9b533ba897b95dd1047edf3e378d6a46 parent caa9ee771de3195ae85ac6f8cb550f53e9ecdd82 author Adrian Bunk Fri, 24 Mar 2006 03:15:52 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:21 -0800 [PATCH] fs/9p/: possible cleanups - mux.c: v9fs_poll_mux() was inline but not static resuling in needless object size bloat - mux.c: remove all "inline"s: gcc should know best what to inline - #if 0 the following unused global functions: - 9p.c: v9fs_v9fs_t_flush() - conv.c: v9fs_create_tauth() - mux.c: v9fs_mux_rpcnb() Signed-off-by: Adrian Bunk Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit caa9ee771de3195ae85ac6f8cb550f53e9ecdd82 tree 8aa692f337e071718e698baefc631b58b446beff parent cba9f33d13a8ca3125b2a30abe2425ce562d8a83 author Oleg Nesterov Fri, 24 Mar 2006 03:15:50 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] rcu_process_callbacks: don't cli() while testing ->nxtlist __rcu_process_callbacks() disables interrupts to protect itself from call_rcu() which adds new entries to ->nxtlist. However we can check "->nxtlist != NULL" with interrupts enabled, we can't get "false positives" because call_rcu() can only change this condition from 0 to 1. Tested with rcutorture.ko. Signed-off-by: Oleg Nesterov Acked-by: Dipankar Sarma Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cba9f33d13a8ca3125b2a30abe2425ce562d8a83 tree e93e3da369be7e9f55d15d02908606a43cecfbb9 parent ed5b43f15a8e86e3ae939b98bc161ee973ecedf2 author Bart Samwel Fri, 24 Mar 2006 03:15:50 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] Range checking in do_proc_dointvec_(userhz_)jiffies_conv When (integer) sysctl values are in either seconds or centiseconds, but represented internally as jiffies, the allowable value range is decreased. This patch adds range checks to the conversion routines. For values in seconds: maximum LONG_MAX / HZ. For values in centiseconds: maximum (LONG_MAX / HZ) * USER_HZ. (BTW, does anyone else feel that an interface in seconds should not be accepting negative values?) Signed-off-by: Bart Samwel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed5b43f15a8e86e3ae939b98bc161ee973ecedf2 tree dcd5bc0b5817d6452b0897a08293317f470f4db9 parent f6ef943813ac3085ece7252ea101d663581219f6 author Bart Samwel Fri, 24 Mar 2006 03:15:49 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] Represent laptop_mode as jiffies internally Make that the internal value for /proc/sys/vm/laptop_mode is stored as jiffies instead of seconds. Let the sysctl interface do the conversions, instead of doing on-the-fly conversions every time the value is used. Add a description of the fact that laptop_mode doubles as a flag and a timeout to the comment above the laptop_mode variable. Signed-off-by: Bart Samwel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6ef943813ac3085ece7252ea101d663581219f6 tree e32d3e57ba6ae235ec1f510b16d77fe9bfa8f96e parent 36f574135e36b86bb6ae794bf1d0fce3efa5601f author Bart Samwel Fri, 24 Mar 2006 03:15:48 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] Represent dirty_*_centisecs as jiffies internally Make that the internal values for: /proc/sys/vm/dirty_writeback_centisecs /proc/sys/vm/dirty_expire_centisecs are stored as jiffies instead of centiseconds. Let the sysctl interface do the conversions with full precision using clock_t_to_jiffies, instead of doing overflow-sensitive on-the-fly conversions every time the values are used. Cons: apparent precision loss if HZ is not a multiple of 100, because of conversion back and forth. This is a common problem for all sysctl values that use proc_dointvec_userhz_jiffies. (There is only one other in-tree use, in net/core/neighbour.c.) Signed-off-by: Bart Samwel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36f574135e36b86bb6ae794bf1d0fce3efa5601f tree 9dd55b2244d2ac9f7e05098e7236aa8cf6cd6d60 parent 3cf64b933c90ba701cfdc7188431104c646d7c9e author Andrew Morton Fri, 24 Mar 2006 03:15:47 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] free_uid() locking improvement Reduce lock hold times in free_uid(). Cc: Ingo Molnar Cc: "Paul E. McKenney" Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cf64b933c90ba701cfdc7188431104c646d7c9e tree a51cd036519cfddc1235b7023320c0dc53939432 parent 74373c6acc52450ced28780d5fece60f1d7d20aa author Paul Jackson Fri, 24 Mar 2006 03:15:46 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] bitmap: region restructuring Restructure the bitmap_*_region() operations, to avoid code duplication. Also reduces binary text size by about 100 bytes (ia64 arch). The original Bottomley bitmap_*_region patch added about 1000 bytes of compiled kernel text (ia64). The Mundt multiword extension added another 600 bytes, and this restructuring patch gets back about 100 bytes. But the real motivation was the reduced amount of duplicated code. Tested by Paul Mundt using <= BITS_PER_LONG as well as power of 2 aligned multiword spanning allocations. Signed-off-by: Paul Mundt Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74373c6acc52450ced28780d5fece60f1d7d20aa tree 6717fce7fdebbda48ad62b79b4ff721fae1c8dc3 parent 87e24802586333fa861861f6493c76039872755b author Paul Mundt Fri, 24 Mar 2006 03:15:45 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] bitmap: region multiword spanning support Add support to the lib/bitmap.c bitmap_*_region() routines For bitmap regions larger than one word (nbits > BITS_PER_LONG). This removes a BUG_ON() in lib bitmap. I have an updated store queue API for SH that is currently using this with relative success, and at first glance, it seems like this could be useful for x86 (arch/i386/kernel/pci-dma.c) as well. Particularly for anything using dma_declare_coherent_memory() on large areas and that attempts to allocate large buffers from that space. Paul Jackson also did some cleanup to this patch. Signed-off-by: Paul Mundt Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87e24802586333fa861861f6493c76039872755b tree 631a252da4716798027cd96b4529351e601c50c6 parent f993b3bf80b23d329951fe0fc5ba3647d5d912e9 author Paul Jackson Fri, 24 Mar 2006 03:15:44 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:20 -0800 [PATCH] bitmap: region cleanup Paul Mundt says: This patch set implements a number of patches to clean up and restructure the bitmap region code, in addition to extending the interface to support multiword spanning allocations. The current implementation (before this patch set) is limited by only being able to allocate pages <= BITS_PER_LONG, as noted by the strategically positioned BUG_ON() at lib/bitmap.c:752: /* We don't do regions of pages > BITS_PER_LONG. The * algorithm would be a simple look for multiple zeros in the * array, but there's no driver today that needs this. If you * trip this BUG(), you get to code it... */ BUG_ON(pages > BITS_PER_LONG); As I seem to have been the first person to trigger this, the result ends up being the following patch set with the help of Paul Jackson. The final patch in the series eliminates quite a bit of code duplication, so the bitmap code size ends up being smaller than the current implementation as an added bonus. After these are applied, it should already be possible to do multiword allocations with dma_alloc_coherent() out of ranges established by dma_declare_coherent_memory() on x86 without having to change any of the code, and the SH store queue API will follow up on this as the other user that needs support for this. This patch: Some code cleanup on the lib/bitmap.c bitmap_*_region() routines: * spacing * variable names * comments Has no change to code function. Signed-off-by: Paul Mundt Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f993b3bf80b23d329951fe0fc5ba3647d5d912e9 tree fe10d2cc0d96487c08ba5f4d385111350c934e2c parent 57f3ebccaa560d1eeb40b5c719773bed5cb0df46 author Adrian Bunk Fri, 24 Mar 2006 03:15:42 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: remove documentation This patch removes the documentation of the ISA legacy functions. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57f3ebccaa560d1eeb40b5c719773bed5cb0df46 tree 5c475fe84dbd352f9758f63c20a3c76c1b89c8ca parent c44fec118b62baad3fc70e2ef3447729a1d9b194 author Al Viro Fri, 24 Mar 2006 03:15:41 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: remove the helpers unused isa_...() helpers removed. Adrian Bunk: The asm-sh part was rediffed due to unrelated changes. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c44fec118b62baad3fc70e2ef3447729a1d9b194 tree d0d78ad0fb27ada520ee00f0140a35d8b0301968 parent b336cea307839f97684d314071ef683821c571ed author Al Viro Fri, 24 Mar 2006 03:15:41 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/net/lance.c switch to ioremap() Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b336cea307839f97684d314071ef683821c571ed tree 855b05000ff04ec4ab95663aaba19b61ed8cb628 parent 22bc685f4b93f4a0ce28e5829eaf754cb4f7c040 author Al Viro Fri, 24 Mar 2006 03:15:40 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/net/hp-plus.c switch to ioremap() Adrian Bunk: The order of the hunks in the patch was slightly rearranged due to an unrelated change in the driver. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22bc685f4b93f4a0ce28e5829eaf754cb4f7c040 tree 53a463596fee23c1e4b097ac7a1cd16b12da49a9 parent c818cb6406815716ab210ae15655ed94a973b15f author Al Viro Fri, 24 Mar 2006 03:15:38 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/scsi/in2000.c switched to ioremap(), cleaned the probing up a bit. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c818cb6406815716ab210ae15655ed94a973b15f tree cb11b7fd1a8081b728dc5f412dd0d63326e0b594 parent ef5a4c8b04867fa8ed9eaf311c4ed0c57c589b6d author Al Viro Fri, 24 Mar 2006 03:15:37 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/scsi/g_NCR5380.c switched CONFIG_SCSI_G_NCR5380_MEM code in g_NCR5380 to ioremap(); massaged g_NCR5380.h accordingly. Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef5a4c8b04867fa8ed9eaf311c4ed0c57c589b6d tree 7a9b22f510e76228321aca4583767879f885b71f parent e8c96f8c29d89af0c13dc2819a9a00575846ca18 author Al Viro Fri, 24 Mar 2006 03:15:36 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] remove ISA legacy functions: drivers/char/toshiba.c switch from isa_read...() to ioremap() and read...() Signed-off-by: Al Viro Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8c96f8c29d89af0c13dc2819a9a00575846ca18 tree b90ed0da4803df56a91be5979580e335af2d697c parent b5029622ac86bb441dc5e641226fb1152fca02d7 author Tobias Klauser Fri, 24 Mar 2006 03:15:34 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:19 -0800 [PATCH] fs: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a duplicate of ARRAY_SIZE. Some trailing whitespaces are also deleted. Signed-off-by: Tobias Klauser Cc: David Howells Cc: Dave Kleikamp Acked-by: Trond Myklebust Cc: Neil Brown Cc: Chris Mason Cc: Jeff Mahoney Cc: Christoph Hellwig Cc: Nathan Scott Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5029622ac86bb441dc5e641226fb1152fca02d7 tree f84822901347b4ceaabb7ae58ed06de8e98e9a02 parent 88abaab4f9b08381e30e737980a1c49d6b524dfc author Bastian Blank Fri, 24 Mar 2006 03:15:32 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] dasd: "cleanup dasd_ioctl" fix Cast the argument correctly. Cc: Christoph Hellwig Cc: Martin Schwidefsky Cc: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88abaab4f9b08381e30e737980a1c49d6b524dfc tree d33aa82674c00c37cd293c9e888cff785880ce5a parent fb630517f0d0736ea73af07d6b357be9ad67e6f1 author Eric Sesterhenn Fri, 24 Mar 2006 03:15:31 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: kzalloc() conversion in drivers/s390 Convert all kmalloc + memset sequences in drivers/s390 to kzalloc usage. Signed-off-by: Eric Sesterhenn Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb630517f0d0736ea73af07d6b357be9ad67e6f1 tree e10cc0bfb089a303788206743b0a9bea616ebfdf parent 96641ee1e4a5154943774639478eb997f4ffb97e author Eric Sesterhenn Fri, 24 Mar 2006 03:15:31 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: kzalloc() conversion in arch/s390 Convert all kmalloc + memset sequences in arch/s390 to kzalloc usage. Signed-off-by: Eric Sesterhenn Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96641ee1e4a5154943774639478eb997f4ffb97e tree 2c63ffe5c068900c47f743c2d2e41107d153ddba parent b6cba4ee31e7376fa363c4b89ca502ac5e17eac1 author Eric Rossman Fri, 24 Mar 2006 03:15:30 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: CEX2A crt message length Undetected edge case for CRT messages to CEX2A caused length to be too short, thus truncating the message. The solution was to check a different variable which actually determines which key type is being used. Increment version number in z90main.c to correct level of 1.3.3, fix copyright year and add comment about bitlength limit of CEX2A. Signed-off-by: Eric Rossman Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6cba4ee31e7376fa363c4b89ca502ac5e17eac1 tree af8756fdb9587d84df424b020b08af8253c6eb9c parent 5f38433885245dce82aa53c20a6b2efbe81ae350 author Stefan Bader Fri, 24 Mar 2006 03:15:29 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: 3590 tape driver Michael Holzheu , Martin Schwidefsky Signed-off-by: Stefan Bader Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f38433885245dce82aa53c20a6b2efbe81ae350 tree 1731a5e3b9092f3ff060ac6aa652be8ec6dde890 parent 4cd190a736a97e302c038bd91357d636369d4c6b author Michael Holzheu Fri, 24 Mar 2006 03:15:28 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: fix endless retry loop in tape driver If a tape device is assigned to another host, the interrupt for the assign operation comes back with deferred condition code 1. Under some conditions this can lead to an endless loop of retries. Check if the current request is still in IO in deferred condition code handling and prevent retries when the request has already been cancelled. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4cd190a736a97e302c038bd91357d636369d4c6b tree c424b0788f70eb3148bc7bedd43008daa3c41560 parent 842d3fba94ed94cc5de7b712e0f4218ce6e4fd73 author Michael Holzheu Fri, 24 Mar 2006 03:15:27 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:18 -0800 [PATCH] s390: tape operation abortion leads to panic When a request is aborted because of a signal, we currently stop the request via csh, but we do not wait for the interrupt of csh in any case. We free the request structure and therefore when the interrupt for the csh operation is presented, the request object is no longer valid and an invalid callback pointer is used. To fix this wait until the interrupt for csh arrives and until wait_event_interruptible() does not return -ERESTARTSYS. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 842d3fba94ed94cc5de7b712e0f4218ce6e4fd73 tree 2650ba0ce392479ede2c210cf58c3690c6b004c0 parent 20c644680af1ef9a6b36c0873f59498c98b07ab1 author Stefan Bader Fri, 24 Mar 2006 03:15:26 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: tape retry flooding by deferred CC in interrupt If a deferred CC happens there will be lots of messages, because the retry is done immediatly in the interrupt handler which can be too fast. To avoid this requeue the request and schedule the queue to be processed. Signed-off-by: Stefan Bader Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20c644680af1ef9a6b36c0873f59498c98b07ab1 tree af2e50faeb690b7aacf7be3480f08f0a6ec0b56f parent 554a826e0a29f1a88e5a5332f0718c059885ec17 author Stefan Weinhuber Fri, 24 Mar 2006 03:15:25 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: dasd extended error reporting The DASD extended error reporting is a facility that allows to get detailed information about certain problems in the DASD I/O. This information can be used to implement fail-over applications that can recover these problems. Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 554a826e0a29f1a88e5a5332f0718c059885ec17 tree 3251034cf7373c9d61f7107c1a52c0c9bf8f8afc parent d0b2eaa374afd10960a507a3f2ce2f24b85826e4 author Horst Hummel Fri, 24 Mar 2006 03:15:24 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: random values in result of BIODASDINFO2 Use kzalloc to get a zeroed buffer for the structure returned to user space by the BIODASDINFO2 ioctl. Not all fields are set up, e.g. the read_devno is missing. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0b2eaa374afd10960a507a3f2ce2f24b85826e4 tree 1d249de1857094650cff878b41b59cb8c597dc30 parent ef1597d527f119f14f093a7a3712221b9cb072c0 author Peter Oberparleiter Fri, 24 Mar 2006 03:15:24 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: remove experimental flag from dasd diag The dasd diag discipline has been tested on 64 bit and is no longer experimental. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef1597d527f119f14f093a7a3712221b9cb072c0 tree c5470721447fb380caf04d3a8c4f459875fac6cb parent 82814dbafdeef53e13e07134eb3b7be3c975fd21 author Horst Hummel Fri, 24 Mar 2006 03:15:23 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: Remove old history/whitespave from partition code Remove obsolete history and trailing whitespace. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82814dbafdeef53e13e07134eb3b7be3c975fd21 tree c54dded7519743b678b73fabffea6108fb456eb6 parent 8b2eb664ce9dcba8b54ececf5e057470c47e57f7 author Christoph Hellwig Fri, 24 Mar 2006 03:15:22 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: remove dynamic dasd ioctls Now that there are no more users of the awkward dynamic ioctl hack we can remove the code to support it. Signed-off-by: Christoph Hellwig Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b2eb664ce9dcba8b54ececf5e057470c47e57f7 tree dab47df832f199b0a1e9e20226b152feb522640a parent 1107ccfbdef280fedc677af3bdbc405611ba554a author Christoph Hellwig Fri, 24 Mar 2006 03:15:21 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: merge cmb into dasdc dasd_cmd just implements three ioctls which are wrappers around functionality in the core kernel or other modules. When merging those into dasd_mod they just add 22 lines of code which is far less than the amount of code removed in the last two patches, and which doesn't spill into another 4k pages when build modular, while removing a 128lines module. Signed-off-by: Christoph Hellwig Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1107ccfbdef280fedc677af3bdbc405611ba554a tree a3588525dbe853d13e5f25fa496deecaa022ab3a parent 13c6204facb01d425320411c17febff666875518 author Christoph Hellwig Fri, 24 Mar 2006 03:15:20 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:17 -0800 [PATCH] s390: use normal switch statement for ioctls in dasd_ioctlc Add an ->ioctl method to the dasd_discipline structure. This allows to apply the same kind of cleanups the last patch applied to dasd_ioctl.c to dasd_eckd.c (the only dasd discipline with special ioctls) aswell. Again lots of code removed. During auditing the ioctls I found two fishy return value propagations from copy_{from,to}_user, maintainers please check those, I've marked them with XXX comments. Signed-off-by: Christoph Hellwig Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13c6204facb01d425320411c17febff666875518 tree df58981381da42532e0910694361eadb1c133ea9 parent 61d3ad0edf67e3baa66f124bc9ce964523d41809 author Christoph Hellwig Fri, 24 Mar 2006 03:15:19 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: use normal switch statement for ioctls in dasd_ioctlc Handle ioctls implemented in dasd_ioctl through the normal switch statement that most drivers use instead of the awkward dasd_ioctl_no_register routine. This avoids searching a linear list on every call to dasd_ioctl(), and allows to give the various ioctl implementation functions sane prototypes, aswell as moving the check for bdev->bd_disk->private_data from the individual functions to dasd_ioctl. (I think it can't actually every be NULL, but let's keep that for later) Signed-off-by: Christoph Hellwig Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61d3ad0edf67e3baa66f124bc9ce964523d41809 tree bb2c21add442c9ed3bad9379c19ce29fb04b5507 parent 699ff13f10b75ea929eea6f6fe47ba9cc8f92ca2 author Martin Schwidefsky Fri, 24 Mar 2006 03:15:18 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: connector support Include connector config in the s390 arch Kconfig to get support for connectors. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 699ff13f10b75ea929eea6f6fe47ba9cc8f92ca2 tree be9ae1f4d5483b9f6887ab67a2bf27b3d34834d7 parent 4896cef8e33e668734234543afb58eb171476ff3 author Michael Ryan Fri, 24 Mar 2006 03:15:17 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: cpu up retries Retry starting of new cpu if sigp restart returns condition code 2 (busy). Signed-off-by: Michael Ryan Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4896cef8e33e668734234543afb58eb171476ff3 tree 15301c3ea0897e13e7d8fb0fca3ac7052ec4d9af parent 5e8b1c4083a7f0f1e671ea16e23b78d1c8d3e0aa author Martin Schwidefsky Fri, 24 Mar 2006 03:15:16 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: BUG() warnings Use __builtin_trap instead of an inline assembly in the BUG() macro. That way the compiler knows that BUG() won't return. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e8b1c4083a7f0f1e671ea16e23b78d1c8d3e0aa tree d91e6791155c7c33f34cebb0b6d279e16059de5c parent 596852967ce3208b90132895dd1992a31b058bc8 author Martin Schwidefsky Fri, 24 Mar 2006 03:15:16 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: /proc/sys/vm/cmm_* permission bits Set permissoin of /proc/sys/vm/cmm_* files to 0644. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 596852967ce3208b90132895dd1992a31b058bc8 tree 9011e19cdabf3388ca7676522c294cf616b086bb parent 495a5b45ac33b8fe2c49780fdbcc8014cb6d6ddc author Heiko Carstens Fri, 24 Mar 2006 03:15:15 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: early parameter parsing Use common code parser for early parameters instead of our own. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 495a5b45ac33b8fe2c49780fdbcc8014cb6d6ddc tree b456ebc9e8f53edd726c903401b5e40bbb9562d5 parent dc06010c62da773321258df1d8a1708a3158e29d author Cornelia Huck Fri, 24 Mar 2006 03:15:14 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:16 -0800 [PATCH] s390: channel path measurements Gather extended measurements for channel paths from the channel subsystem and expose them to userspace via a sysfs attribute. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc06010c62da773321258df1d8a1708a3158e29d tree 5f1981646537980d92e7c0ccc24867dfe116307e parent 3ba1998e90239ed0d7af918998bc866fa77303eb author Cornelia Huck Fri, 24 Mar 2006 03:15:13 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] s390: cio documentation update Update documentation of the common I/O layer: - Add MSS-specific example. - Add more information on ccwgroup devices. - Add channel path type attribute. - Fix typo. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ba1998e90239ed0d7af918998bc866fa77303eb tree 6417c281e7121149b86246a26ac136c9973e2b7d parent 3d1712c91df01d2573b934e972e231e8edb102c7 author Cornelia Huck Fri, 24 Mar 2006 03:15:12 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] s390: wrong interrupt delivered for hsch() or csch() When cio waits for the interrupt for a basic sense, interrupts for hsch() or csch() issued in the meantime are wrongly counted as interrupts for the basic sense and the accumulated irb is passed to the device driver. In ccw_device_w4sense(), check for clear or halt function in the irb and pass the irb for the csch() or hsch() to the device driver. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d1712c91df01d2573b934e972e231e8edb102c7 tree 71ed84ab8e8a59517ec1b7b1af082adc2beb1758 parent 9b04c997b1120feefa1e6ee8e2902270bc055cd2 author Akinobu Mita Fri, 24 Mar 2006 03:15:11 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] x86_64: {set,clear,test}_bit() related cleanup and pci_mmcfg_init() fix While working on these patch set, I found several possible cleanup on x86-64 and ia64. akpm: I stole this from Andi's queue. Not only does it clean up bitops. It also unrelatedly changes the prototype of pci_mmcfg_init() and removes its arch_initcall(). It seems that the wrong two patches got joined together, but this is the one which has been tested. This patch fixes the current x86_64 build error (the pci_mmcfg_init() declaration in arch/i386/pci/pci.h disagrees with the definition in arch/x86_64/pci/mmconfig.c) This also means that x86_64's pci_mmcfg_init() gets called in the same (new) manner as x86's: from arch/i386/pci/init.c:pci_access_init(), rather than via initcall. The bitops cleanups came along for free. All this worked OK in -mm testing (since 2.6.16-rc4-mm1) because x86_64 was tested with both patches applied. Signed-off-by: Akinobu Mita Signed-off-by: Andi Kleen Cc: Con Kolivas Cc: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b04c997b1120feefa1e6ee8e2902270bc055cd2 tree 09376b68d11ccce2a1ef53bac25a41a763ad36d0 parent 6961ec8267d08e21011457b05d2263ec06bdcfe1 author Theodore Ts'o Fri, 24 Mar 2006 03:15:10 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] vfs: MS_VERBOSE should be MS_SILENT The meaning of MS_VERBOSE is backwards; if the bit is set, it really means, "don't be verbose". This is confusing and counter-intuitive. In addition, there is also no way to set the MS_VERBOSE flag in the mount(8) program in util-linux, but interesting, it does define options which would do the right thing if MS_SILENT were defined, which unfortunately we do not: #ifdef MS_SILENT { "quiet", 0, 0, MS_SILENT }, /* be quiet */ { "loud", 0, 1, MS_SILENT }, /* print out messages. */ #endif So the obvious fix is to deprecate the use of MS_VERBOSE and replace it with MS_SILENT. Signed-off-by: "Theodore Ts'o" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6961ec8267d08e21011457b05d2263ec06bdcfe1 tree 13accf5a4e93922abb66036f97a51a2ea76f1f6e parent a72011567812cbd93788cc5facda160a3cba5905 author Arnd Bergmann Fri, 24 Mar 2006 03:15:08 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] add sys_unshare to syscalls.h All architecture independent system calls should be declared in syscalls.h, add the one that is missing. Signed-off-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a72011567812cbd93788cc5facda160a3cba5905 tree 9cdd83b4b769e9af72c76d0670fa9ae55164844b parent 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd author Andrew Morton Fri, 24 Mar 2006 03:15:07 -0800 committer Linus Torvalds Fri, 24 Mar 2006 07:33:15 -0800 [PATCH] more-for_each_cpu-conversions fix I screwed up this conversion - we should be iterating across online CPUs, not possible ones. Spotted by Joe Perches Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f1f610b62bce36d6d50857859091b8989c70267 tree cc79a77d3bee9aa00976d25ae69fb1c5e80ba452 parent 2af10a818de1658f818601c7098056d65a772bc5 author Brian King Thu, 23 Mar 2006 17:30:15 -0600 committer Jeff Garzik Fri, 24 Mar 2006 10:18:43 -0500 [PATCH] libata: Remove dependence on host_set->dev for SAS Remove some of the dependence on the host_set struct in preparation for supporting SAS HBAs. Adds a struct device pointer to the ata_port struct. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit 2af10a818de1658f818601c7098056d65a772bc5 tree b8e0b8c7964a47f21616c009551ab8e35ecf78af parent eb3f0f9c6c3416016565c8b91644d7386889e565 author Brian King Thu, 23 Mar 2006 17:30:08 -0600 committer Jeff Garzik Fri, 24 Mar 2006 10:18:43 -0500 [PATCH] libata: ata_scsi_ioctl cleanup In preparation for SAS, kill some unnecessary code in ata_scsi_ioctl to find the ATA port and device given the scsi_device. Neither local is used in the function. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit eb3f0f9c6c3416016565c8b91644d7386889e565 tree 2b9d7baee57bcae271f5708fc5c09cc71a8698a4 parent 2e9edbf815e42f93dd29a9981f27bd421acc47df author Brian King Thu, 23 Mar 2006 17:30:02 -0600 committer Jeff Garzik Fri, 24 Mar 2006 10:18:43 -0500 [PATCH] libata: ata_scsi_queuecmd cleanup Encapsulate part of ata_scsi_queuecmd so that it can be reused by future SAS patches. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit 2e9edbf815e42f93dd29a9981f27bd421acc47df tree 57f4026cc532879c0678c535e15c5172b62d2106 parent ebdfca6eb1b755d3bfe9a81339ecdafd92038c1a author Jeff Garzik Fri, 24 Mar 2006 09:56:57 -0500 committer Jeff Garzik Fri, 24 Mar 2006 09:56:57 -0500 [libata] export ata_dev_pair; trim trailing whitespace Mostly, trim trailing whitespace. Also: * export ata_dev_pair * move ata_dev_classify export closer to ata_dev_pair export commit ebdfca6eb1b755d3bfe9a81339ecdafd92038c1a tree 1780c1d10756c1f6c3cd34ac2f23faa729d9877d parent 082776e4be791736c32baf818e50f501a7f83819 author Alan Cox Thu, 23 Mar 2006 15:38:34 +0000 committer Jeff Garzik Fri, 24 Mar 2006 09:52:32 -0500 [PATCH] libata: add ata_dev_pair helper Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 082776e4be791736c32baf818e50f501a7f83819 tree 508fe750353ccd8f6a77cf2c882c15ab20a1e63e parent 83206a2903fd2ddb1761d906b2b3b3de17ef87f1 author Nigel Cunningham Thu, 23 Mar 2006 23:22:16 +1000 committer Jeff Garzik Fri, 24 Mar 2006 09:51:36 -0500 [PATCH] Make libata not powerdown drivers on PM_EVENT_FREEZE. At the moment libata doesn't pass pm_message_t down ata_device_suspend. This causes drives to be powered down when we just want a freeze, causing unnecessary wear and tear. This patch gets pm_message_t passed down so that it can be used to determine whether to power down the drive. Signed-off-by: Nigel Cunningham drivers/scsi/libata-core.c | 5 +++-- drivers/scsi/libata-scsi.c | 4 ++-- drivers/scsi/scsi_sysfs.c | 2 +- include/linux/libata.h | 4 ++-- include/scsi/scsi_host.h | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit 83206a2903fd2ddb1761d906b2b3b3de17ef87f1 tree 405de7b43809146ae27a52cad00a897369644f61 parent fcef978f9d4bd6ec43f89031442ee205987a912a author Tejun Heo Fri, 24 Mar 2006 15:25:31 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:39:57 -0500 [PATCH] libata: make ata_set_mode() responsible for failure handling Make ata_set_mode() responsible for determining whether to take port or device offline on failure. ata_dev_set_xfermode() and ata_dev_set_mode() indicate error to the caller instead of disabling port directly on failure. Also, for consistency, ata_dev_present() check is done in ata_set_mode() instead of ata_dev_set_mode(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit fcef978f9d4bd6ec43f89031442ee205987a912a tree effbfe0b4fb59b8b36ce353c4aea697b2f14ebe3 parent 0b8efb0a16a1915c507db5a9b9fb5ede082a68a2 author Tejun Heo Fri, 24 Mar 2006 15:25:31 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:39:57 -0500 [PATCH] libata: use ata_dev_disable() in ata_bus_probe() We may or may not disable a device after ata_dev_configure() fails. Kill 'not supported, ignoring' message in ata_dev_configure() and use ata_dev_disable() in ata_bus_probe(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0b8efb0a16a1915c507db5a9b9fb5ede082a68a2 tree 93cc3621d7c69ec55448e18d985369d327712e57 parent 1f7dd3e9d62b25c7b79f913f37c2242a61295de4 author Tejun Heo Fri, 24 Mar 2006 15:25:31 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:39:57 -0500 [PATCH] libata: implement ata_dev_disable() This patch implements ata_dev_disable() which prints a warning message and takes @dev offline. Currently, this is done by explicitly incrementing dev->class with case-by-case warning messages. Giving user clear indication when libata gives up will be more important as libata will be doing more retries. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1f7dd3e9d62b25c7b79f913f37c2242a61295de4 tree 7fc6cfaeca33cdae056a3ed69f841327391c9e8e parent 5a529139554f12cb265715117a2153c936286294 author Tejun Heo Fri, 24 Mar 2006 15:25:30 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:39:57 -0500 [PATCH] libata: check if port is disabled after internal command libata core is being changed to disallow port/device disable on lower layers. However, some LLDDs (sata_mv) directly disable port on command failure. This patch makes ata_exec_internal() check whether a port got disabled after an internal command. If it is, AC_ERR_SYSTEM is added to err_mask and the port gets re-enabled. As internal command failure results in device disable for drivers which don't implement newer reset/EH callbacks, this change results in no behavior change for single device per port controllers. For slave-possible LLDDs which disable port on command failure, (1) such drivers don't exist currently, (2) issuing command to the other device of once-disabled port shouldn't result in catastrophe even if such driver exists. So, this should be enough as a temporary measure. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5a529139554f12cb265715117a2153c936286294 tree a31f5aba2d34111e89d339c7d1a803d7a864bb46 parent acf356b12d13c8b43c486e53e8ee12f1f435ecc8 author Tejun Heo Fri, 24 Mar 2006 14:07:50 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:28:33 -0500 [PATCH] libata: make per-dev transfer mode limits per-dev Now that each ata_device has xfer masks, per-dev limits can be made per-dev instead of per-port. Make per-dev limits per-dev. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit acf356b12d13c8b43c486e53e8ee12f1f435ecc8 tree 355f7327b0ed34d02e6ec8c1eb91a8a8f758975b parent c0489e4efcad44aeb16c55760daf3b487183e9f0 author Tejun Heo Fri, 24 Mar 2006 14:07:50 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:28:33 -0500 [PATCH] libata: add per-dev pio/mwdma/udma_mask Add per-dev pio/mwdma/udma_mask. All transfer mode limits used to be applied to ap->*_mask which unnecessarily restricted other devices sharing the port. This change will also benefit later EH speed down and hotplug. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c0489e4efcad44aeb16c55760daf3b487183e9f0 tree b5d58afdea53e2502b4191ebe6b0ea68a44dd33a parent 2cc432eed0491df66e14b578139bba2c75fb3f9a author Tejun Heo Fri, 24 Mar 2006 14:07:49 +0900 committer Jeff Garzik Fri, 24 Mar 2006 09:28:33 -0500 [PATCH] libata: implement ata_unpack_xfermask() Implement ata_unpack_xfermask(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 674a396c6d2ba0341ebdd7c1c9950f32f018e2dd tree b1263e0a926d9cbdc7aa58260099392ad49a72fe parent f73b5e7949945486a649e40821cd351e2f60bf02 author Evgeniy Polyakov Mon, 20 Feb 2006 11:15:37 +0300 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:13 -0800 [PATCH] w1: use kthread api. This patch removes old-style kernel thread initialization and changes w1 to use kthread api. It is based on Christoph Hellwig work. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit f73b5e7949945486a649e40821cd351e2f60bf02 tree 283ac7ae169d3341a300330404301bfc85059b80 parent ecd5136c85cb4531a51f65241e7b3cd58420f3ed author Andrew Morton Sat, 14 Jan 2006 00:05:59 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:13 -0800 [PATCH] W1: u64 is not long long You don't know what type a u64 is, hence you cannot print it without a cast. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit ecd5136c85cb4531a51f65241e7b3cd58420f3ed tree 64bb14fa21e4e035a54766ff462eb0a463c32b78 parent ec068072f0e8499cfe7b71749b4a63c503e7d328 author Patrick McHardy Sun, 08 Jan 2006 00:44:15 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:13 -0800 [PATCH] W1: Remove incorrect MODULE_ALIAS The w1 netlink socket is created by a hardware specific driver calling w1_add_master_device, so there is no point in including a module alias for netlink autoloading in the core. Signed-off-by: Patrick McHardy Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit ec068072f0e8499cfe7b71749b4a63c503e7d328 tree 882b9fbc17efb02d41faed40a1cc0fd16642ad6b parent a9fb1c7b950bed4afe208c9d67e20f086bb6abbb author Adrian Bunk Fri, 06 Jan 2006 18:41:01 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:12 -0800 [PATCH] fix W1_MASTER_DS9490_BRIDGE dependencies W1_DS9490 was renamed to W1_MASTER_DS9490, but the entry in the dependencies of W1_MASTER_DS9490_BRIDGE was forgotten. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit a9fb1c7b950bed4afe208c9d67e20f086bb6abbb tree 496c2b8b292411a6163dc451b8dab82665a8ab99 parent baf12ae29ab4cc6381e21b2e1a3af75a6a8f7566 author Adrian Bunk Tue, 13 Dec 2005 14:04:33 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:12 -0800 [PATCH] w1: misc cleanups This patch contains the following cleanups: - make needlessly global code static - declarations for global code belong into header files - w1.c: #if 0 the unused struct w1_slave_device Signed-off-by: Adrian Bunk Acked-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit baf12ae29ab4cc6381e21b2e1a3af75a6a8f7566 tree 43658918e7221e94e40a62de48f04b2b23d75b3a parent bd529cfb40c427d5b5aae0d315afb9f0a1da5e76 author Evgeniy Polyakov Tue, 06 Dec 2005 13:38:28 +0300 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:12 -0800 [PATCH] W1: Add the DS2482 I2C-to-w1 bridge driver. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit bd529cfb40c427d5b5aae0d315afb9f0a1da5e76 tree 54de1d9860defa3c4938fd96246caffe089b9f3a parent ccd6994000fb6d08ee1be8a7fa20c8d602a2267d author Evgeniy Polyakov Tue, 06 Dec 2005 13:38:28 +0300 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:11 -0800 [PATCH] W1: Move w1 bus master code into 'w1/masters' and move w1 slave code into 'w1/slaves' Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit ccd6994000fb6d08ee1be8a7fa20c8d602a2267d tree 88badd14da5f2c0593a88a351db6a664c3b6fbb8 parent a1a051b1870f9e4607526c7e403abab06526c6d9 author Evgeniy Polyakov Tue, 06 Dec 2005 13:38:27 +0300 committer Greg Kroah-Hartman Thu, 23 Mar 2006 17:28:11 -0800 [PATCH] W1: Change the type 'unsigned long' member of 'struct w1_bus_master' to 'void *'. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit a1a051b1870f9e4607526c7e403abab06526c6d9 tree 08942e39ca8477c4b0f594deac9e966bb376db83 parent aca361c1a0dc0165ac3148137983cb4b1458b5c1 parent b425c8c5922562c562dc55a636c3c8d758ed6d17 author Linus Torvalds Thu, 23 Mar 2006 16:26:56 -0800 committer Linus Torvalds Thu, 23 Mar 2006 16:26:56 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6: NTFS: 2.1.27 - Various bug fixes and cleanups. NTFS: Semaphore to mutex conversion. NTFS: Handle the recently introduced -ENAMETOOLONG return value from NTFS: Add a missing call to flush_dcache_mft_record_page() in NTFS: Fix a bug in fs/ntfs/inode.c::ntfs_read_locked_index_inode() where we NTFS: Improve comments on file attribute flags in fs/ntfs/layout.h. NTFS: Limit name length in fs/ntfs/unistr.c::ntfs_nlstoucs() to maximum NTFS: Remove all the make_bad_inode() calls. This should only be called NTFS: Add support for sparse files which have a compression unit of 0. NTFS: Fix comparison of $MFT and $MFTMirr to not bail out when there are NTFS: Use buffer_migrate_page() for the ->migratepage function of all ntfs NTFS: Fix a buggette in an "should be impossible" case handling where we NTFS: Fix an (innocent) off-by-one error in the runlist code. NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for commit aca361c1a0dc0165ac3148137983cb4b1458b5c1 tree 3527ff422fe90e97657d5996499fa4a9d30e2d5a parent cec6062037783a762aa5606b06b8bc5c14d9657f parent 9b7c84899ea6bfc4f8932a83b28db313e7397bd1 author Linus Torvalds Thu, 23 Mar 2006 16:25:49 -0800 committer Linus Torvalds Thu, 23 Mar 2006 16:25:49 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (45 commits) [PATCH] Restore channel setting after scan. [PATCH] hostap: Fix memory leak on PCI probe error path [PATCH] hostap: Remove dead code (duplicated idx != 0) [PATCH] hostap: Fix unlikely read overrun in CIS parsing [PATCH] hostap: Fix double free in prism2_config() error path [PATCH] hostap: Fix ap_add_sta() return value verification [PATCH] hostap: Fix hw reset after CMDCODE_ACCESS_WRITE timeout [PATCH] wireless/airo: cache wireless scans [PATCH] wireless/airo: define default MTU [PATCH] wireless/airo: clean up printk usage to print device name [PATCH] WE-20 for kernel 2.6.16 [PATCH] softmac: remove function_enter() [PATCH] skge: version 1.5 [PATCH] skge: compute available ring buffers [PATCH] skge: dont free skb until multi-part transmit complete [PATCH] skge: multicast statistics fix [PATCH] skge: rx_reuse called twice [PATCH] skge: dont use dev_alloc_skb for rx buffs [PATCH] skge: align receive buffers [PATCH] sky2: dont need to use dev_kfree_skb_any ... commit cec6062037783a762aa5606b06b8bc5c14d9657f tree c862659eb55e44314f6d524f5479204994b91901 parent 88f07ffb63add018bfafd480ec6a294088277f06 parent 2056a782f8e7e65fd4bfd027506b4ce1c5e9ccd4 author Linus Torvalds Thu, 23 Mar 2006 16:24:24 -0800 committer Linus Torvalds Thu, 23 Mar 2006 16:24:24 -0800 Merge branch 'blktrace' of git://brick.kernel.dk/data/git/linux-2.6-block * 'blktrace' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 [PATCH] relay: consolidate sendfile() and read() code [PATCH] relay: add sendfile() support [PATCH] relay: migrate from relayfs to a generic relay API commit 88f07ffb63add018bfafd480ec6a294088277f06 tree 64b657d06b3ae7de3f87544a85d83d0ed6a7e3a9 parent b6585dedac232ca79fe978d97a95fdaa6da24f66 parent 9aa45e34d2948f360f8c0e63d10f49015ca51edd author Linus Torvalds Thu, 23 Mar 2006 16:23:20 -0800 committer Linus Torvalds Thu, 23 Mar 2006 16:23:20 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: V4L/DVB (3568k): zoran: Use i2c_master_send when possible V4L/DVB (3568j): adv7175: Drop unused encoder dump command V4L/DVB (3568i): adv7175: Drop unused register cache V4L/DVB (3568h): cpia: correct email address V4L/DVB (3568g): sem2mutex: zoran V4L/DVB (3568f): saa7110: Fix array overrun V4L/DVB (3568e): bt856: Spare memory V4L/DVB (3568d): saa7111.c fix V4L/DVB (3568c): zoran: Init cleanups V4L/DVB (3568b): saa7111: Prevent array overrun V4L/DVB (3568a): saa7114: Fix i2c block write commit b6585dedac232ca79fe978d97a95fdaa6da24f66 tree 4d2d78300bb9bcfb40cb35450f78dd3af82c78d3 parent a3ea9b584ed2acdeae817f0dc91a5880e0828a05 parent ded2b66615613093eeb83b81499bc270de8fc499 author Linus Torvalds Thu, 23 Mar 2006 15:51:32 -0800 committer Linus Torvalds Thu, 23 Mar 2006 15:51:32 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6: (36 commits) [PATCH] hwmon: add required idr locking [PATCH] I2C: hwmon: Rename register parameters [PATCH] I2C: Drop unneeded i2c-dev.h includes [PATCH] I2C: i2c-ixp4xx: Add hwmon class [PATCH] I2C: i2c-piix4: Add Broadcom HT-1000 support [PATCH] I2C: i2c-amd756-s4882: Improve static mutex initialization [PATCH] I2C: i2c-ali1535: Drop redundant mutex [PATCH] i2c: Cleanup isp1301_omap [PATCH] i2c: Fix i2c-ite name initialization [PATCH] i2c: Drop the i2c-frodo bus driver [PATCH] i2c: Optimize core_lists mutex usage [PATCH] w83781d: Don't reset the chip by default [PATCH] w83781d: Document the alarm and beep bits [PATCH] w83627ehf: Refactor the sysfs interface [PATCH] hwmon: Support the Pentium M VID code [PATCH] hwmon: Add support for the Winbond W83687THF [PATCH] hwmon: f71805f semaphore to mutex conversions [PATCH] hwmon: Semaphore to mutex conversions [PATCH] i2c: Semaphore to mutex conversions, part 3 [PATCH] i2c: Semaphore to mutex conversions, part 2 ... commit a3ea9b584ed2acdeae817f0dc91a5880e0828a05 tree 5b4ef9b10c05aa84419a6ba6187d0dcd14654c97 parent 554f593d6c411e717a71ffdcb0cfb46bb2394502 parent b2e6e3ba7deb525f180df64f32f3fcb214538bea author Linus Torvalds Thu, 23 Mar 2006 15:49:57 -0800 committer Linus Torvalds Thu, 23 Mar 2006 15:49:57 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (49 commits) [PATCH] acpiphp: fix acpi_path_name [PATCH] ibmphp: remove TRUE and FALSE [PATCH] PCI Hotplug: add common acpi functions to core [PATCH] PCI: kzalloc() conversion in drivers/pci [PATCH] acpiphp: Scan slots under the nested P2P bridge [PATCH] PCI Hotplug: SN: Fix cleanup on hotplug removal of PPB [PATCH] shpchp: cleanup bus speed handling [PATCH] PCI: fix pci_request_region[s] arg [PATCH] PCI: Provide a boot parameter to disable MSI [PATCH] PCI: the scheduled removal of PCI_LEGACY_PROC [PATCH] PCI: cpqphp_ctrl.c: board_replaced(): remove dead code [PATCH] acpiphp: fix bridge handle [PATCH] acpiphp - slot management fix - V4 [PATCH] acpi: remove dock event handling from ibm_acpi [PATCH] acpiphp: add dock event handling [PATCH] acpi: export acpi_bus_trim [PATCH] acpiphp: add new bus to acpi [PATCH] PCI: Move pci_dev_put outside a spinlock [PATCH] PCI: PCI/Cardbus cards hidden, needs pci=assign-busses to fix [PATCH] PCI: fix problems with MSI-X on ia64 ... commit 554f593d6c411e717a71ffdcb0cfb46bb2394502 tree 338e1629408a66cfc84d199c18deb22c6e682c22 parent debf798b1ed82053689d900670eb27fb2f1b4bd3 parent 95381c893dd71a534ab56f09b12a4e2118aa0f32 author Linus Torvalds Thu, 23 Mar 2006 15:29:27 -0800 committer Linus Torvalds Thu, 23 Mar 2006 15:29:27 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [TG3]: Update driver version and reldate. [TG3]: Add 5755 nvram support [TG3]: Add 5755 support [IPV6]: ip6_xmit: remove unnecessary NULL ptr check [NET_SCHED]: cls_u32: remove unnecessary NULL-ptr check [IPV4]: Add fib rule netlink notifications [BNX2]: Update version and reldate [BNX2]: Separate tx producer and consumer fields [BNX2]: Move .h files to bnx2.c [BNX2]: Combine small mem allocations [BNX2]: Fix link change handling [PKTGEN]: Add MPLS extension. commit debf798b1ed82053689d900670eb27fb2f1b4bd3 tree 00684a077494864a990e3be82ad2796367f825f9 parent b0e6e962992b76580f4900b166a337bad7c1e81b parent 4d74f423c722b8cadfabe087369200013b217b67 author Linus Torvalds Thu, 23 Mar 2006 15:28:51 -0800 committer Linus Torvalds Thu, 23 Mar 2006 15:28:51 -0800 Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 * git://oss.sgi.com:8090/oss/git/xfs-2.6: (71 commits) [XFS] Sync up one/two other minor changes missed in previous merges. [XFS] Reenable the noikeep (delete inode cluster space) option by default. [XFS] Check that a page has dirty buffers before finding it acceptable for [XFS] Fixup naming inconsistencies found by Pekka Enberg and one from Jan [XFS] Explain the race closed by the addition of vn_iowait() to the start [XFS] Fixing the error caused by the conflict between DIO Write's [XFS] Fixing KDB's xrwtrc command, also added the current process id into [XFS] Fix compiler warning from xfs_file_compat_invis_ioctl prototype. [XFS] remove bogus INT_GET for u8 variables in xfs_dir_leaf.c [XFS] endianess annotations for xfs_da_node_hdr_t [XFS] endianess annotations for xfs_da_node_entry_t [XFS] store xfs_attr_inactive_list_t in native endian [XFS] store xfs_attr_sf_sort in native endian [XFS] endianess annotations for xfs_attr_shortform_t [XFS] endianess annotations for xfs_attr_leaf_name_remote_t [XFS] endianess annotations for xfs_attr_leaf_name_local_t [XFS] endianess annotations for xfs_attr_leaf_entry_t [XFS] endianess annotations for xfs_attr_leaf_hdr_t [XFS] remove bogus INT_GET on u8 variables in xfs_dir2_block.c [XFS] endianess annotations for xfs_da_blkinfo_t ... commit b2e6e3ba7deb525f180df64f32f3fcb214538bea tree 116ae7111104708fce872b5d68dbd3fae7779174 parent dc6712d1261ee4585771724320d28580888818eb author MUNEDA Takahiro Fri, 17 Mar 2006 09:18:39 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:17 -0800 [PATCH] acpiphp: fix acpi_path_name I encountered the problem that the insmod of the acpiphp fails because of the mis-freeing of the memory. I tested this patch on my tiger4 box. Signed-off-by: MUNEDA Takahiro Signed-off-by: Greg Kroah-Hartman commit dc6712d1261ee4585771724320d28580888818eb tree 14bb88b17952a540b4764653340ae30c14959b12 parent 783c49fc506d9afe4784390b556fa25ede5d6d1f author Kristen Accardi Tue, 14 Mar 2006 16:24:47 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:17 -0800 [PATCH] ibmphp: remove TRUE and FALSE This patch removes the defines TRUE and FALSE and just uses 0 or 1. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 783c49fc506d9afe4784390b556fa25ede5d6d1f tree 8090c2251193211129816254f16f10cbb33ed20c parent f5afe8064f3087bead8fea7e32547c2a3ada5fd0 author Kristen Accardi Fri, 03 Mar 2006 10:16:05 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:17 -0800 [PATCH] PCI Hotplug: add common acpi functions to core shpchprm_acpi.c and pciehprm_acpi.c are nearly identical. In addition, there are functions in both these files that are also in acpiphp_glue.c. This patch will remove duplicate functions from shpchp, pciehp, and acpiphp and move this functionality to pci_hotplug, as it is not hardware specific. Get rid of shpchprm* and pciehprm* files since they are no longer needed. shpchprm_nonacpi.c and pciehprm_nonacpi.c are identical, as well as shpchprm_legacy.c and can be replaced with a macro. This patch also changes acpiphp to use the common hpp code. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit f5afe8064f3087bead8fea7e32547c2a3ada5fd0 tree de6a9d60aad6ee262c04290d73e414cd92b4ad5d parent 7c8f25da12a3dda46fb730699582895d5fc51287 author Eric Sesterhenn Tue, 28 Feb 2006 15:34:49 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:17 -0800 [PATCH] PCI: kzalloc() conversion in drivers/pci this patch converts drivers/pci to kzalloc usage. Compile tested with allyes config. Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit 7c8f25da12a3dda46fb730699582895d5fc51287 tree ad56ba9fbbd688963cbefe541b77b8d3de21959f parent 8e77af6a9a9b1eefdb538894b20ed41f65b65ab7 author Kenji Kaneshige Mon, 27 Feb 2006 22:15:49 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] acpiphp: Scan slots under the nested P2P bridge Current ACPIPHP driver scans only slots under the top level PCI-to-PCI bridge. So hotplug PCI slots under the nested PCI-to-PCI bridge would not be detected. For example, if the system has the ACPI namespace like below, hotplug slots woule not be detected. Device (PCI0) { /* Root bridge */ Name (_HID, "PNP0A03") Device (P2PA) { /* PCI-to-PCI bridge */ Name (_ADR, ...) Device (P2PB) { /* PCI-to-PCI bridge */ Name (_ADR, ...) Device (S0F0) { /* hotplug slot */ Name (_ADR, ...) Name (_SUN, ...) Method (_EJ0, ...) { ... } } ... Device (S0F7) { /* hotplug slot */ Name (_ADR, ...) Name (_SUN, ...) Method (_EJ0, ...) { ... } } Device (S1F0) { /* hotplug slot */ Name (_ADR, ...) Name (_SUN, ...) Method (_EJ0, ...) { ... } } ... } } } This patch fixes this issue. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 8e77af6a9a9b1eefdb538894b20ed41f65b65ab7 tree f715dc92e2f78bf450ce19b66b6171f89cecc840 parent 0afabe906539b4e8b9e895f19ea31aabdf12f30b author John Keller Wed, 08 Mar 2006 13:21:34 -0600 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI Hotplug: SN: Fix cleanup on hotplug removal of PPB When doing a hotplug removal of a PPB, sn_bus_store_sysdata() needs to be called for the PPB and all of its children. Acked-by: Prarit Bhargava Signed-off-by: John Keller Signed-off-by: Greg Kroah-Hartman commit 0afabe906539b4e8b9e895f19ea31aabdf12f30b tree aecea8cc15db5255018217f7247f5a521ed2a208 parent 3c990e9219ea0b0aee588473ce6c8a66cdee3ff5 author Kenji Kaneshige Wed, 01 Mar 2006 14:55:11 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] shpchp: cleanup bus speed handling The code related to handling bus speed in SHPCHP driver is unnecessarily complex. This patch cleans up and simplify that. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 3c990e9219ea0b0aee588473ce6c8a66cdee3ff5 tree 75279b66b201150b453dbe429a9dac22c4530b7e parent 309e57df7b766172ba137a8cbd909f88dd76e8e9 author Jeff Garzik Sat, 04 Mar 2006 21:52:42 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI: fix pci_request_region[s] arg Add missing 'const' to pci_request_region[s] 'res_name' arg, since we pass it directly to __request_region(), whose 'name' arg is also const. Signed-off-by: Greg Kroah-Hartman commit 309e57df7b766172ba137a8cbd909f88dd76e8e9 tree 74cc85977654925c76c687e597c7586b9e75629b parent 5eeca8e688b6affba4cd85262152fdd1b274ad33 author Matthew Wilcox Sun, 05 Mar 2006 22:33:34 -0700 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI: Provide a boot parameter to disable MSI Several drivers are starting to grow options to disable MSI. However, it's often a host chipset issue, not something which individual drivers should handle. So we add the pci=nomsi kernel parameter to allow the user to disable MSI modes for systems we haven't added to the quirk list yet. Signed-off-by: Matthew Wilcox Signed-off-by: Randy Dunlap Acked-by: Jeff Garzik Signed-off-by: Greg Kroah-Hartman commit 5eeca8e688b6affba4cd85262152fdd1b274ad33 tree b7b44b1b931ea80809dac937db230116bab2e721 parent 1305e9184a3de84f78dca102b293d21007bb6c49 author Adrian Bunk Sun, 05 Mar 2006 16:49:48 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI: the scheduled removal of PCI_LEGACY_PROC This patch contains the scheduled removal of PCI_LEGACY_PROC. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 1305e9184a3de84f78dca102b293d21007bb6c49 tree 4cefbc44ce9ac3e8563a64fd76590a4f24cf389d parent 0cccd0c20677e8a9da40018632f1b6c487ba2bd5 author Adrian Bunk Sun, 26 Feb 2006 22:16:51 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:16 -0800 [PATCH] PCI: cpqphp_ctrl.c: board_replaced(): remove dead code The Coverity checker correctly noted, that in function board_replaced in drivers/pci/hotplug/cpqphp_ctrl.c, the variable src always has the value 8, and therefore much code after the ... if (rc || src) { ... if (rc) return rc; else return 1; } ... can never be called. This patch removes the unreachable code in this function fixing kernel Bugzilla #6073. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 0cccd0c20677e8a9da40018632f1b6c487ba2bd5 tree 76a6c9b8c96034d877c7074eb64c7156ade27b0f parent e27da3814170385a4d2797397d706e554635812d author MUNEDA Takahiro Fri, 24 Feb 2006 17:46:04 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpiphp: fix bridge handle When hotplug slot is under the host bridge, DEVICE_ACPI_HANDLE(&bus->self->dev) fails since '&bus->self' was not set. This patch fixes it. This patch is based on kristen's latest patches. I tested this patch on my Tiger4. Signed-off-by: MUNEDA Takahiro Signed-off-by: Greg Kroah-Hartman commit e27da3814170385a4d2797397d706e554635812d tree 67d9b838c79ebb6d1bba4a2c3bc85f3a7c3e9798 parent 63e5f248c4b748690b5180aa1b4b10eac51bb0e1 author MUNEDA Takahiro Thu, 23 Feb 2006 17:56:08 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpiphp - slot management fix - V4 o This patch removes IDs (for slots management). o This patch removes the slot register/unregister processes from the init/exit phases. Instead, adds these processes in the bridge add/cleanup phases. o Currently, this change doesn't have any meanings. But these changes are needed to support p2p bridge(with hotplug slot) Signed-off-by: MUNEDA Takahiro Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 63e5f248c4b748690b5180aa1b4b10eac51bb0e1 tree 7043d0ec5174d65e5d7b61d1d7b1704b49db17f6 parent 20416ea54087c25502d6fb973b8e119973e16341 author Kristen Accardi Thu, 23 Feb 2006 17:56:06 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpi: remove dock event handling from ibm_acpi Remove dock station support from ibm_acpi by default. This support has been put into acpiphp instead. Allow ibm_acpi to continue to provide docking station support via config option for laptops/docking stations that are not supported by acpiphp. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 20416ea54087c25502d6fb973b8e119973e16341 tree 47ca50997cbb408852021315ff4da315292467c2 parent ceaba663055e38226a070a9668eac5881d65a2cc author Kristen Accardi Thu, 23 Feb 2006 17:56:03 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpiphp: add dock event handling These patches add generic dock event handling to acpiphp. If there are pci devices that need to be inserted/removed after the dock event, the event notification will be handed down to the normal pci hotplug event handler in acpiphp so that new bridges/devices can be enumerated. Because some dock stations do not have pci bridges or pci devices that need to be inserted after a dock, acpiphp will remain loaded to handle dock events even if no hotpluggable pci slots are discovered. You probably need to have the pci=assign-busses kernel parameter enabled to use these patches, and you may not allow ibm_acpi to handle docking notifications and use this patch. This patch incorporates feedback provided by many. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit ceaba663055e38226a070a9668eac5881d65a2cc tree 805fdb8aeb5d3d5bacada0543875f67a0ac2e464 parent 15a1ae74879925d0d3f71ebc3f56d0a2c5db393a author Kristen Accardi Thu, 23 Feb 2006 17:56:01 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpi: export acpi_bus_trim Export the acpi_bus_trim function so that the pci hotplug driver can use it. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 15a1ae74879925d0d3f71ebc3f56d0a2c5db393a tree 6629b5eec7c8fae0c4fcf0901c475c32e598ec58 parent b89b7ea05a8f71426bd36ed12e6cd73179d0f720 author Kristen Accardi Thu, 23 Feb 2006 17:55:58 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:15 -0800 [PATCH] acpiphp: add new bus to acpi If we add a new bridge with subordinate busses, we should call make sure that acpi is notified so that the PRT (if present) can be read and drivers who have registered on this bus will be notified when it is started. Also make sure to use the max reserved bus number for the starting the bus scan. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit b89b7ea05a8f71426bd36ed12e6cd73179d0f720 tree db1212d7f74c7d1e98614fb593bcfb8801f5e8b0 parent 8c4b2cf9af9b4ecc29d4f0ec4ecc8e94dc4432d7 author Alan Stern Thu, 23 Feb 2006 17:12:51 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: Move pci_dev_put outside a spinlock This patch (as659) fixes a might_sleep problem in the PCI core, by moving a call to pci_dev_put() outside the scope of a spinlock. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8c4b2cf9af9b4ecc29d4f0ec4ecc8e94dc4432d7 tree 4f8e56e9012847aa4dfe4ec2c59f4d8b2714f2b2 parent a0454b40ee8fac03194bb71f01730266506e75e1 author Bernhard Kaindl Sat, 18 Feb 2006 01:36:55 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: PCI/Cardbus cards hidden, needs pci=assign-busses to fix "In some cases, especially on modern laptops with a lot of PCI and cardbus bridges, we're unable to assign correct secondary/subordinate bus numbers to all cardbus bridges due to BIOS limitations unless we are using "pci=assign-busses" boot option." -- Ivan Kokshaysky (from a patch comment) Without it, Cardbus cards inserted are never seen by PCI because the parent PCI-PCI Bridge of the Cardbus bridge will not pass and translate Type 1 PCI configuration cycles correctly and the system will fail to find and initialise the PCI devices in the system. Reference: PCI-PCI Bridges: PCI Configuration Cycles and PCI Bus Numbering: http://www.science.unitn.it/~fiorella/guidelinux/tlk/node72.html The reason for this is that: ``All PCI busses located behind a PCI-PCI bridge must reside between the secondary bus number and the subordinate bus number (inclusive).'' "pci=assign-busses" makes pcibios_assign_all_busses return 1 and this turns on PCI renumbering during PCI probing. Alan suggested to use DMI automatically set assign-busses on problem systems. The only question for me was where to put it. I put it directly before scanning PCI bus into pcibios_scan_root() because it's called from legacy, acpi and numa and so it can be one place for all systems and configurations which may need it. AMD64 Laptops are also affected and fixed by assign-busses, and the code is also incuded from arch/x86_64/pci/ that place will also work for x86_64 kernels, I only ifdef'-ed the x86-only Laptop in this example. Affected and known or assumed to be fixed with it are (found by googling): * ASUS Z71V and L3s * Samsung X20 * Compaq R3140us and all Compaq R3000 series laptops with TI1620 Controller, also Compaq R4000 series (from a kernel.org bugreport) * HP zv5000z (AMD64 3700+, known that fixup_parent_subordinate_busnr fixes it) * HP zv5200z * IBM ThinkPad 240 * An IBM ThinkPad (1.8 GHz Pentium M) debugged by Pavel Machek gives the correspondig message which detects the possible problem. * MSI S260 / Medion SIM 2100 MD 95600 The patch also expands the "try pci=assign-busses" warning so testers will help us to update the DMI table. Cc: Ivan Kokshaysky Cc: Alan Cox Cc: Dominik Brodowski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit a0454b40ee8fac03194bb71f01730266506e75e1 tree a746423eeeeb968bd271de17f4f8e80acac56999 parent b408cbc704352eccee301e1103b23203ba1c3a0e author Grant Grundler Thu, 16 Feb 2006 23:58:29 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: fix problems with MSI-X on ia64 Use "unsigned long" when dealing with PCI resources. The BAR Indicator Register (BIR) can be a 64-bit value or the resource could be a 64-bit host physical address. Enables ib_mthca and cciss drivers to use MSI-X on ia64 HW. Problem showed up now because of new system firmware on one platform. Symptom will either be memory corruption or MCA. Second part of this patch deals with "useless" code. We walk through the steps to find the phys_addr and then don't use the result. I suspect the intent was to zero out the respective MSI-X entry but I'm not sure at the moment. Delete the code inside the #if 0/#endif if it's really not needed. Signed-off-by: Grant Grundler Signed-off-by: Greg Kroah-Hartman commit b408cbc704352eccee301e1103b23203ba1c3a0e tree 5d0262537d6b3a3406aec61298520c045af9be8b parent 75cde0e25787c1af341a128b350c36df24e5397d author Linus Torvalds Wed, 22 Feb 2006 15:50:30 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: resource address mismatch On Tue, 21 Feb 2006, Ivan Kokshaysky wrote: > There are two bogus entries in the BIOS memory map table which are > conflicting with a prefetchable memory range of the AGP bridge: > > BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) > > 0000:00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode]) > Flags: bus master, fast devsel, latency 0 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 > I/O behind bridge: 0000c000-0000cfff > Memory behind bridge: e7e00000-e7efffff > Prefetchable memory behind bridge: fec00000-ffcfffff > ^^^^^^^^^^^^^^^^^ Yes. However, it's pretty clear that the e820 entries are there for a reason. Probably they are a hack by the BIOS maintainers to keep Windows from stomping/moving that region, exactly because they want to keep the bridge where it is (or, it's actually for the BIOS itself - the BIOS tables are a horrid mess, and BIOS engineers are pretty hacky people: they'll add random entries to make their own broken algorithms do the "right thing"). > Starting from 2.6.13, kernel tries to resolve that sort of conflicts, > so that prefetch window of the bridge and the framebuffer memory behind > it get moved to 0x10000000. I think we could (and probably should) solve this another way: consider the ACPI "reserved regions" from the e820 map exactly the same way that we do other ACPI hints - they should restrict _new_ allocations, but not impact stuff we figure out on our own. Basically, right now we assign _unassigned_ resources at "fs_initcall" time. If we were to add in the e820 "reserved region" stuff before that (but after we've done PCI discovery), we'd probably do the right thing. Right now we do the e820 reserved regions very early indeed: we call "register_memory()" from setup_arch(). We could move at least part of it (the part that registers the resources) down a bit. Here's a test-patch. I'm not saying we should absolutely do this, but it might be interesting to try... Cc: "Antonino A. Daplas" Cc: Ivan Kokshaysky Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 75cde0e25787c1af341a128b350c36df24e5397d tree df10cc84b3a172bf441697f56a519ac56a78642d parent 6e325a62a0a228cd0222783802b53cce04551776 author Shaohua Li Wed, 08 Feb 2006 17:11:40 +0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: remove msi save/restore code in specific driver Remove pcie port driver's msi save/restore code. Signed-off-by: Shaohua Li Signed-off-by: Greg Kroah-Hartman commit 6e325a62a0a228cd0222783802b53cce04551776 tree 5609f9e841024ca57ba8ee7a919955c7589444c7 parent e5548e960f38557825e50806b52cb24c9e730aa2 author Michael S. Tsirkin Tue, 14 Feb 2006 18:52:22 +0200 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:14 -0800 [PATCH] PCI: make MSI quirk inheritable from the pci bus It turns out AMD 8131 quirk only affects MSI for devices behind the 8131 bridge. Handle this by adding a flags field in pci_bus, inherited from parent to child. Signed-off-by: Michael S. Tsirkin Signed-off-by: Greg Kroah-Hartman commit e5548e960f38557825e50806b52cb24c9e730aa2 tree f67ae1e04677f931e965a282fbcdf44349201e48 parent 3c0a654e390d00fef9d8faed758f5e1e8078adb5 author Bauke Jan Douma Tue, 28 Feb 2006 21:44:36 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] PCI: quirk for asus a8v and a8v delux motherboards On ASUS A8V and A8V Deluxe boards, the onboard AC97 audio controller and MC97 modem controller are deactivated when a second PCI soundcard is present. This patch enables them. Signed-off-by: Bauke Jan Douma Signed-off-by: Greg Kroah-Hartman commit 3c0a654e390d00fef9d8faed758f5e1e8078adb5 tree d031b746ac92c3a272e31b3c32ea3f1cf368ffa4 parent 50defa1ccaffc197a133d92acb48d696d5ea3539 author tomek@koprowski.org Sun, 19 Feb 2006 18:03:24 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] PCI: SMBus unhide on HP Compaq nx6110 I attach a trivial patch for 2.6.15.4 that unhides SMBus controller on an HP Compaq nx6110 notebook. Signed-off-by: Tomasz Koprowski Signed-off-by: Greg Kroah-Hartman commit 50defa1ccaffc197a133d92acb48d696d5ea3539 tree e1d36dfe9ad28db0c639502ba55c6bb70c1e0af3 parent e6b82b13c4066ca091a4919620d6403c8a269bc3 author Brian Gerst Sun, 19 Feb 2006 16:05:52 -0500 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] PCI: Add pci_device_shutdown to pci_bus_type The extra compatability code is not necessary. Any code still using the old shutdown method will trigger the warning in driver_register() instead. Signed-off-by: Brian Gerst Signed-off-by: Greg Kroah-Hartman commit e6b82b13c4066ca091a4919620d6403c8a269bc3 tree c32a3dd79081f9633c81d9c58780c7220118621b parent a246fa4e9f0f1b5096a1cad0659d22fb10fb3732 author Kenji Kaneshige Tue, 21 Feb 2006 15:45:50 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] shpchp: adapt to pci driver model This patch adapts SHPCHP driver to the PCI device driver model. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit a246fa4e9f0f1b5096a1cad0659d22fb10fb3732 tree 21490f4d1d2794a9ccd64529431fbbd8f4e234e7 parent f7391f5325ea744f0632f7ef39a90085162743ac author Kenji Kaneshige Tue, 21 Feb 2006 15:45:48 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] shpchp: Fix slot state handling Current SHPCHP driver doesn't care about the confliction between hotplug operation via sysfs and hotplug operation via attention button. So if those ware conflicted, slot could be an unexpected state. This patch changes SHPCHP driver to handle slot state properly. With this patch, slot events are handled according to the current slot state as shown at the Table below. Table. Slot States and Event Handling ========================================================================= Slot State Event and Action ========================================================================= STATIC - Go to POWERON state if user initiates (Slot enabled, insertion request via sysfs Slot disabled) - Go to POWEROFF state if user initiates removal request via sysfs - Go to BLINKINGON state if user presses attention button when the slot is disabled - Go to BLINKINGOFF state if user presses attention button when the slot is enabled commit f7391f5325ea744f0632f7ef39a90085162743ac tree a7368b2ca639211743ba7fbc0dab7a9efaea02b7 parent 68c0b671491088d79611fa965bbf94b3bc0024a4 author Kenji Kaneshige Tue, 21 Feb 2006 15:45:45 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] shpchp: event handling rework The event handler of SHPCHP driver is unnecessarily very complex. In addition, current event handler can only a fixed number of events at the same time, and some of events would be lost if several number of events happened at the same time. This patch simplify the event handler by using 'work queue', and it also fix the above-mentioned issue. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 68c0b671491088d79611fa965bbf94b3bc0024a4 tree d5e8ba499b378e53edc73b1470a988aefa0a0e0e parent 09e1218eccf58f6174fa68360a7c8dcfe457fe9b author Kenji Kaneshige Tue, 21 Feb 2006 15:45:42 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:13 -0800 [PATCH] shpchp: Remove unused wait_for_ctrl_irq The wait_for_ctrl_irq() function in SHPCHP driver is no longer needed. This patch removes that. This patch has no functional change. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 09e1218eccf58f6174fa68360a7c8dcfe457fe9b tree 6651cb6ad8d8e47747e8f4f5e33ad77c5bfe631f parent bbe8f9a3e76c551973ee739de10b26581d78b45f author Kenji Kaneshige Tue, 21 Feb 2006 15:45:38 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] shpchp: Remove unused pci_bus member from controller structure This patch removes unused 'pci_bus' member from controller structure. This patch have no functional change. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit bbe8f9a3e76c551973ee739de10b26581d78b45f tree 757788e67781a3eaee3453af79abf6bb50b3a681 parent 92c05fc1a32e5ccef5e0e8201f32dcdab041524c author Ralf Baechle Tue, 14 Feb 2006 16:23:57 +0000 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] PCI: Avoid leaving MASTER_ABORT disabled permanently when returning from pci_scan_bridge. > On Mon, Feb 13, 2006 at 05:13:21PM -0800, David S. Miller wrote: > > > > In drivers/pci/probe.c:pci_scan_bridge(), if this is not the first > > pass (pass != 0) we don't restore the PCI_BRIDGE_CONTROL_REGISTER and > > thus leave PCI_BRIDGE_CTL_MASTER_ABORT off: > > > > int __devinit pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass) > > { > > ... > > /* Disable MasterAbortMode during probing to avoid reporting > > of bus errors (in some architectures) */ > > pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &bctl); > > pci_write_config_word(dev, PCI_BRIDGE_CONTROL, > > bctl & ~PCI_BRIDGE_CTL_MASTER_ABORT); > > ... > > if ((buses & 0xffff00) && !pcibios_assign_all_busses() && !is_cardbus) { > > unsigned int cmax, busnr; > > /* > > * Bus already configured by firmware, process it in the first > > * pass and just note the configuration. > > */ > > if (pass) > > return max; > > ... > > } > > > > pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bctl); > > ... > > > > This doesn't seem intentional. Agreed, looks like an accident. The patch [1] originally came from Kip Walker (Broadcom back then) between 2.6.0-test3 and 2.6.0-test4. As I recall it was supposed to fix an issue with with PCI aborts being signalled by the PCI bridge of the Broadcom BCM1250 family of SOCs when probing behind pci_scan_bridge. It is undeseriable to disable PCI_BRIDGE_CTL_MASTER_ABORT in pci_{read,write)_config_* and the behaviour wasn't considered a bug in need of a workaround, so this was put in probe.c. I don't have an affected system at hand, so can't really test but I propose something like the below patch. [1] http://www.linux-mips.org/git?p=linux.git;a=commit;h=599457e0cb702a31a3247ea6a5d9c6c99c4cf195 [PCI] Avoid leaving MASTER_ABORT disabled permanently when returning from pci_scan_bridge. Signed-off-by: Ralf Baechle Signed-off-by: Greg Kroah-Hartman commit 92c05fc1a32e5ccef5e0e8201f32dcdab041524c tree 71c0202dffee676d3b2e0b75ea4472aaa2ffe8df parent e4e73041ecc4a3559c42ed9489f58531c2a8646b author Andi Kleen Thu, 23 Mar 2006 14:35:12 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] PCI: Give PCI config access initialization a defined ordering I moved it to a separate function which is safer. This avoids problems with the linker reordering them and the less useful PCI config space access methods taking priority over the better ones. Fixes some problems with broken MMCONFIG Cc: Dave Hansen Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman commit e4e73041ecc4a3559c42ed9489f58531c2a8646b tree f74051398ce7fa52a6e429d755d7d56f0308f99b parent bbe779db9f97e1c99b3c7ce1ebb26bbaecbdb2a9 author Kenji Kaneshige Thu, 26 Jan 2006 10:05:57 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] shpchp - Fix incorrect return value of interrupt handler Current SHPCHP driver has a bug in its interrupt handler which cause "IRQ #: nobody cared" oops. This problem can be reproduced easily by the following operation. # cd /sys/bus/pci/slots/ # while true; do echo 1 > attention ; done & The reason is that when command complete interrupt is raised, current SHPCHP driver's interrupt handler returns IRQ_NONE regardless of if the interrupt is handled or not. This patch fixes this issue. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit bbe779db9f97e1c99b3c7ce1ebb26bbaecbdb2a9 tree c24d816da4873b62a4a0f29f6c39e213e5890841 parent 8abebe13f9df5b93be521eeefbf349236ddcd4eb author Kenji Kaneshige Thu, 26 Jan 2006 10:04:56 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] shpchp - move slot name into struct slot This patch moves slot name area into struct slot. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 8abebe13f9df5b93be521eeefbf349236ddcd4eb tree ebfef0af3f05f60525e49ae2d234087e47b35b1c parent 57c95c0d1c9ec83877dfea2f62bebf31059bc93c author Kenji Kaneshige Thu, 26 Jan 2006 10:03:40 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:12 -0800 [PATCH] shpchp - removed unncessary 'magic' member from slot This patch removes unnecessary 'magic' member from struct slot of SHPCHP driver. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 57c95c0d1c9ec83877dfea2f62bebf31059bc93c tree 864e89551bb003665192973b5d3c6831cc478f95 parent 287588b3537d0ce56a83f54d0e6ffcd60e54b569 author Kenji Kaneshige Thu, 26 Jan 2006 10:02:41 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - replace kmalloc() with kzalloc() and cleanup arg of sizeof() This patch replaces kmalloc() and memset() pair with kzalloc() and cleans up the arg of sizeof() in SHPCHP driver. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 287588b3537d0ce56a83f54d0e6ffcd60e54b569 tree 1c0747a10543f327de97ff90728bb445055423e4 parent ef3be54777901e570185089f21fbe4498453f67e author Kenji Kaneshige Thu, 26 Jan 2006 10:01:35 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] pcihp_skeleton.c cleanup This patch cleans up pcihp_skelton.c as follows. o Move slot name area into struct slot. o Replace kmalloc with kzalloc and clean up the arg of sizeof() o Fix the wrong use of get_*_status() functions. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit ef3be54777901e570185089f21fbe4498453f67e tree 6b03aacd9c9c99ec2160014e0d64415893f6f9f7 parent d29aaddab3ef3bdaecf3c9c6d9423f0bf0452ccf author Kenji Kaneshige Thu, 26 Jan 2006 10:00:33 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - bugfix: add missing serialization Current shpchp driver might cause system panic because of lack of serialization. It can be reproduced very easily by the following operation. # cd /sys/bus/pci/slots/ # while true; do echo 0 > power ; echo 1 > power ; done & # while true; do echo 0 > power ; echo 1 > power ; done & This patch fixes this issue by changing shpchp to get appropreate semaphore for hot-plug operation. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit d29aaddab3ef3bdaecf3c9c6d9423f0bf0452ccf tree d13a74cfe055784dc3574187d147f1215035d2e6 parent a4534560815ffc525bfbe465a290ce048aab4c01 author Kenji Kaneshige Thu, 26 Jan 2006 09:59:24 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - cleanup check command status This patch cleanups codes that check the command status. For this, it introduces a new semaphore "cmd_sem" for each controller. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit a4534560815ffc525bfbe465a290ce048aab4c01 tree 28a444dc6b9667bdf16f83ab7a339ff7c5e820a2 parent 5b1a960d180e9660a87b0c661a754efabc1b1d3a author Kenji Kaneshige Thu, 26 Jan 2006 09:58:30 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - cleanup controller list This patch changes SHPCHP driver to use list_head structure for managing controller list. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 5b1a960d180e9660a87b0c661a754efabc1b1d3a tree f49931b000ff784c3267f134ff3734f640fcd5d7 parent dfcd5f68ec916414532e88583d1557b6ac0197f5 author Kenji Kaneshige Thu, 26 Jan 2006 09:57:40 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - cleanup slot list This patch changes SHPCHP driver to use list_head structure for managing slot list. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit dfcd5f68ec916414532e88583d1557b6ac0197f5 tree 989e7bf165c50bfbe4dfbcbb579e532a111c7731 parent 926030f6af856d5681af7940239da2b0269cd755 author Kenji Kaneshige Thu, 26 Jan 2006 09:56:53 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:11 -0800 [PATCH] shpchp - cleanup shpchp_core.c This patch cleanups some codes in shpchp_core.c. This patch has no functional changes. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 926030f6af856d5681af7940239da2b0269cd755 tree 3394c11c599dbdb853a10b0b82a28d29e2bf9e7d parent 6aa4cdd07139ba4d5b89139b0070d795cc4dea88 author Kenji Kaneshige Thu, 26 Jan 2006 09:55:35 +0900 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] shpchp - cleanup init_slots() This patch cleanups init_slots() function of SHPCHP driver based on pcihp_skelton.c. This patch has no functional change. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 6aa4cdd07139ba4d5b89139b0070d795cc4dea88 tree 3bfe5e8ef916f0e27c0ea8ef0d073fcd01cfff29 parent c408a3794d6222ab43ab26648385f850a82f0803 author Ingo Molnar Fri, 13 Jan 2006 16:02:15 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI hotplug: convert semaphores to mutex semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build tested with allyesconfig. Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman commit c408a3794d6222ab43ab26648385f850a82f0803 tree 08133e5100c56da1f7e9e8ccd02f0ec9760312ea parent e3ac86d8b3f5cee1afaa3e9e6984d0321149b948 author Kristen Accardi Tue, 17 Jan 2006 16:57:04 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI: quirk for IBM Dock II cardbus controllers The IBM Dock II cardbus bridges require some extra configuration before Yenta is loaded in order to setup the Interrupts to be routed properly. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit e3ac86d8b3f5cee1afaa3e9e6984d0321149b948 tree 6bb42129178c2bcaf2afb56484c7d3940b6be924 parent b82db5cedf78bfeb4a1c8a28ae284dc671d26eb3 author Kristen Accardi Tue, 17 Jan 2006 16:57:01 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI: really fix parent's subordinate busnr After you find the maximum value of the subordinate buses below the child bus, you must fix the parent's subordinate bus number again, otherwise it may be too small. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit b82db5cedf78bfeb4a1c8a28ae284dc671d26eb3 tree c1a7869c3a0972ee4173df70ba5a5d12a37845d1 parent b64c05e7de6071694dd6840eac9724a006ee19f8 author Kristen Accardi Tue, 17 Jan 2006 16:56:56 -0800 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI: return max reserved busnr Change the semantics of this call to return the max reserved bus number instead of just the max assigned bus number. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit b64c05e7de6071694dd6840eac9724a006ee19f8 tree b611e32ceeaa0de2782334fe88a204dfe97e6017 parent b0e6e962992b76580f4900b166a337bad7c1e81b author Grant Grundler Sat, 14 Jan 2006 00:34:53 -0700 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:35:10 -0800 [PATCH] PCI: clean up msi.c a bit Clean up: move assignments outside of if() statements. AFAICT, no functional change. Easier to read/understand. Depends on "[PATCH 1/3] msi vector targeting abstractions" by Mark Maule . I expect one hunk to fail if applied against 2.6.15. This is essentially Joe Perches' patch. I've cleaned up the one instance added by Mark's patch. Signed-off-by: Grant Grundler Signed-off-by: Greg Kroah-Hartman commit ded2b66615613093eeb83b81499bc270de8fc499 tree 118f87f38a4b7a2c8d65f38beb85fa63da78fb4f parent f6c27fc17c5e575c5471fb344bdbd5f5f6072136 author Mark M. Hoffman Sun, 05 Mar 2006 23:13:47 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] hwmon: add required idr locking Add required locking around idr_ routines, retry the idr_pre_get/idr_get_new pair properly, and sprinkle in some likely/unlikely for good measure. (Lack of idr locking didn't hurt when all callers were I2C clients, as the i2c-core serialized for us anyway. Now that we have non I2C hwmon drivers, this is truly necessary.) Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f6c27fc17c5e575c5471fb344bdbd5f5f6072136 tree 0b6b2e884ef47278471e450f5a346ada5c451f00 parent 279a022d4a12598b58aee47a73faf2d8cc72c91f author Darren Jenkins Mon, 27 Feb 2006 23:14:58 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] I2C: hwmon: Rename register parameters "register" is a reserved keyword so using it as a parameter name can confuse some compilers, most notably ICC. The patch below just renames all occurences to reg which fits the actual function declarations. Signed-off-by: Darren Jenkins Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 279a022d4a12598b58aee47a73faf2d8cc72c91f tree 45ae7c9206b8d8043d3cbdba65efb212e072125c parent 7cd30b26eb779b787e00e05f3e9797a97de33968 author Jean Delvare Mon, 27 Feb 2006 23:13:53 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] I2C: Drop unneeded i2c-dev.h includes Several media/video and sound drivers include i2c-dev.h while they don't need it at all. Clean it up. This header file is really only needed by i2c-dev.c and compat_ioctl.c, other drivers should never need it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7cd30b26eb779b787e00e05f3e9797a97de33968 tree b96183de47887cc45e6a6a414fe760f7aa935184 parent 5f7ea3c58c9aa571617a9d77dd2fbd4bd81cc50a author Alessandro Zummo Mon, 27 Feb 2006 23:12:58 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] I2C: i2c-ixp4xx: Add hwmon class This patch adds I2C_CLASS_HWMON to the ixp4xx bus driver. Signed-off-by: Alessandro Zummo Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5f7ea3c58c9aa571617a9d77dd2fbd4bd81cc50a tree c6aa7f23b17b67360958bfe825b30a61b63f2e19 parent d7d2fe384703f3f57dac94e8e6303a9f0d9a6239 author Martin Devera Mon, 27 Feb 2006 23:11:45 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:55 -0800 [PATCH] I2C: i2c-piix4: Add Broadcom HT-1000 support Add Broadcom HT-1000 south bridge's PCI ID to i2c-piix driver. Note that at least on Supermicro H8SSL it uses non-standard SMBHSTCFG = 3 and standard values like 0 or 9 causes hangup. Signed-off-by: Martin Devera Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d7d2fe384703f3f57dac94e8e6303a9f0d9a6239 tree 20164709d167953c1f2e05d7ae2c922fc262e1e3 parent 0cbcb4d39a83d4df7e45c13b5ebd9fe73e025237 author Jean Delvare Mon, 27 Feb 2006 23:09:22 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] I2C: i2c-amd756-s4882: Improve static mutex initialization Static mutexes can be initialized at declaration time. Signed-off-by: Jean Delvare commit 0cbcb4d39a83d4df7e45c13b5ebd9fe73e025237 tree 3387e04193267442517e3683a2d4153d2ab5bff4 parent c006705e0f6a195d122be8d5344a4257c269f559 author Jean Delvare Mon, 27 Feb 2006 23:08:18 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] I2C: i2c-ali1535: Drop redundant mutex Drop a redundant mutex in driver i2c-ali1535. The struct i2c_adapter includes a mutex for the same purpose, operated by i2c-core. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c006705e0f6a195d122be8d5344a4257c269f559 tree 63e9891f4493a00fbc46e4a497057aa6baec0b48 parent f8d6d9f52b4977f5427e2cb782521611a823c108 author Jean Delvare Sun, 05 Feb 2006 23:31:25 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] i2c: Cleanup isp1301_omap Drop unused rogue i2c driver ID and nonsensical i2c class. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f8d6d9f52b4977f5427e2cb782521611a823c108 tree bd525c43d5cc5157c0edf11e2a3547966e7842f8 parent 2f27f46c49c096d86e7e63acd43cad3bc42f2383 author Jean Delvare Sun, 05 Feb 2006 23:30:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] i2c: Fix i2c-ite name initialization Properly set the name member of the i2c_adapter structure of the ite i2c adapter driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2f27f46c49c096d86e7e63acd43cad3bc42f2383 tree fa30d7fee071f5c0df6b24b31b82181fdab64356 parent 7eebcb7c0f4d45168265bdca79cc3e609d68d436 author Jean Delvare Sun, 05 Feb 2006 23:29:18 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:54 -0800 [PATCH] i2c: Drop the i2c-frodo bus driver Drop the i2c-frodo bus driver. It isn't referenced by the build system, and depends on code which was never included in 2.6 kernels. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7eebcb7c0f4d45168265bdca79cc3e609d68d436 tree c8a46a299470731d0aab60e850cce4fc51a04657 parent fabddcd49d8b4fca40ce346f701853888d98b5d2 author Jean Delvare Sun, 05 Feb 2006 23:28:21 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:53 -0800 [PATCH] i2c: Optimize core_lists mutex usage Stop holding the core_lists mutex when we don't actually need it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fabddcd49d8b4fca40ce346f701853888d98b5d2 tree ee3722562be9d1106f3c311dd2e8a84abdcd5bc9 parent 41fc49337d7779eefb6b5e85a8a3cd9e11e9de08 author Jean Delvare Sun, 05 Feb 2006 23:26:51 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:53 -0800 [PATCH] w83781d: Don't reset the chip by default Stop resetting the chip on load by default, so as to preserve the BIOS initializations. Same was done in the w83627hf driver some times ago for the same reasons. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 41fc49337d7779eefb6b5e85a8a3cd9e11e9de08 tree b5b4302f70408891234b75ce9fe7202baa7eb1e9 parent 412fec8216bb71ecbe255af702b0daf7ad55a7c4 author Jean Delvare Sun, 05 Feb 2006 23:25:25 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:53 -0800 [PATCH] w83781d: Document the alarm and beep bits Document the individual alarm and beep bits of the w83781d driver. Ideally we would offer a chip-independant interface for them, but until it's done, it's only fair that we document the current interface. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 412fec8216bb71ecbe255af702b0daf7ad55a7c4 tree d6995537f0a34932564250a664bb1cd60887a6a8 parent 4c537fb287e68b84df685f4730348e83a163367b author Yuan Mu Sun, 05 Feb 2006 23:24:16 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:53 -0800 [PATCH] w83627ehf: Refactor the sysfs interface Use dynamic sysfs callbacks and array of attributes to reduce the w83627ehf driver size. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 4c537fb287e68b84df685f4730348e83a163367b tree 641d9cc7019eadf02904945c6ae53a66a4ffb1bd parent c2db6ce14a743ac5f8973124272cf425c4f86b90 author Jean Delvare Sun, 05 Feb 2006 23:21:05 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:52 -0800 [PATCH] hwmon: Support the Pentium M VID code Add support for the Intel Pentium M series to the hwmon-vid driver. Signed-off-by: Jean Delvare Cc: Rudolf Marek Signed-off-by: Greg Kroah-Hartman commit c2db6ce14a743ac5f8973124272cf425c4f86b90 tree ae55d515d46acf40c52b0b62c2ee31ae6c3a0897 parent f08191849e42e67ab6ad556d9c2e8cbed1ddf303 author Jean Delvare Wed, 18 Jan 2006 23:22:12 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:52 -0800 [PATCH] hwmon: Add support for the Winbond W83687THF Add support for the Winbond W83687THF chip to the w83627hf hardware monitoring driver. This new chip is almost similar to the already supported W83627THF chip, except for VID and a few other minor changes. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f08191849e42e67ab6ad556d9c2e8cbed1ddf303 tree e27c84e6ebadc3417ec2b7b826f9f0e0bfd6fad0 parent 9a61bf6300533d3b64d7ff29adfec00e596de67d author Jean Delvare Wed, 18 Jan 2006 23:20:53 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:52 -0800 [PATCH] hwmon: f71805f semaphore to mutex conversions Convert the new f71805f hardware monitoring driver to use mutexes instead of semaphores. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9a61bf6300533d3b64d7ff29adfec00e596de67d tree cadce1ae78b51a1dc4c4414699cb590e8c8625e1 parent 3fb9a65529615944138d527b70174840c95c637a author Ingo Molnar Wed, 18 Jan 2006 23:19:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:52 -0800 [PATCH] hwmon: Semaphore to mutex conversions convert drivers/hwmon/*.c semaphore use to mutexes. the conversion was generated via scripts, and the result was validated automatically via a script as well. all affected hwmon drivers were build-tested. Signed-off-by: Ingo Molnar Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3fb9a65529615944138d527b70174840c95c637a tree 86833e442c87dfbcda7ee5644120ee8a9a9d0f8c parent 5c085d369c2c4f18942ec8951466e186366d5c78 author Jean Delvare Wed, 18 Jan 2006 23:17:01 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] i2c: Semaphore to mutex conversions, part 3 Cleanup after the semaphores to mutexes conversions in the i2c subsystem. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5c085d369c2c4f18942ec8951466e186366d5c78 tree 22ca525700049a402281a0503b07db0645075f58 parent 7656032b904b936eca65a41afa1f2b3603195657 author Ingo Molnar Wed, 18 Jan 2006 23:16:04 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] i2c: Semaphore to mutex conversions, part 2 semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build tested. Signed-off-by: Ingo Molnar Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7656032b904b936eca65a41afa1f2b3603195657 tree 13144edd4480448c901d9ae8cfb92f882c29c009 parent 93766d2de6a3f7eead3fda57fd4638b90d6691fa author Jean Delvare Wed, 18 Jan 2006 23:14:55 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] i2c: Speed up block transfers Speed up i2c_smbus_write_block_data and i2c_smbus_read_i2c_block_data a bit by using memcpy instead of an explicit loop. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 93766d2de6a3f7eead3fda57fd4638b90d6691fa tree e491425b19f46afd75179c3a7ba8e0383a87cc39 parent 1f8dae31fe8d7b1dbeaa2110e063d876be91ed60 author Jean Delvare Wed, 18 Jan 2006 23:13:09 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] hwmon: w83792d drop useless macros Drop 3 useless macros in the w83792d hardware monitoring driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1f8dae31fe8d7b1dbeaa2110e063d876be91ed60 tree 50f758ba7ecd7f72ca30444f632f51949d3bb71c parent 70adca5a9f506942ec88fb2d9d6e71ef271888b7 author Yuan Mu Wed, 18 Jan 2006 23:11:55 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:51 -0800 [PATCH] hwmon: w83792d use arrays of attributes Use arrays of attributes in the w83792d driver. Signed-off-by: Jim Cromie Signed-off-by: Yuan Mu Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 70adca5a9f506942ec88fb2d9d6e71ef271888b7 tree 3cd10be98bf800850881b93a8767b6af6fefa867 parent cdf263f1c59cad9b1567e759890b9be044972856 author Jim Cromie Wed, 18 Jan 2006 23:10:49 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] hwmon: Refactor SENSOR_DEVICE_ATTR_2 This patch refactors SENSOR_DEVICE_ATTR_2 macro, following pattern set by SENSOR_ATTR. First it creates a new macro SENSOR_ATTR_2() which expands to an initialization expression, then it uses that in SENSOR_DEVICE_ATTR_2, which declares and initializes a struct sensor_device_attribute_2. Signed-off-by: Jim Cromie Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cdf263f1c59cad9b1567e759890b9be044972856 tree d5fa705326c9253e4949577adeffcb8b7853e0e7 parent a417bbd33b2ed7a3b2bc78cbadb820079d453328 author Jean Delvare Sun, 22 Jan 2006 12:28:57 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] I2C: fix sx200_acb build on other arches scx200_acb is only useful on a few Geode-based systems, and won't compile on non-x86 systems due to the lack of asm/msr.h, as reported by Andrew Morton. Thus, we should make that driver depend on X86. Signed-off-by: Jean Delvare commit a417bbd33b2ed7a3b2bc78cbadb820079d453328 tree aec8c8b55642171fb34a9ee3005000a01179f459 parent f933ff504f5b3f0f94b98d69d48fc8d3c1e92267 author Ben Gardner Wed, 18 Jan 2006 22:53:09 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] i2c: scx200_acb minimal documentation update scx200_acb: Minimal documentation update Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f933ff504f5b3f0f94b98d69d48fc8d3c1e92267 tree 8dab006c4b542ab5f856850e1884e2ac8e1c84a5 parent 16ffc5c99554bc1630bc3939e0950a75b2b1c811 author Ben Gardner Wed, 18 Jan 2006 22:52:06 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] i2c: scx200_acb fix and speed up the poll loop scx200_acb: Fix and speed up the poll loop Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 16ffc5c99554bc1630bc3939e0950a75b2b1c811 tree 553e2cbee905e84954e86618ba8782596f5f1fe7 parent 8a05940d742174a87427a3fe746712d49d4b8c4b author Ben Gardner Wed, 18 Jan 2006 22:48:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:50 -0800 [PATCH] i2c: scx200_acb add support for the CS5535/CS5536 scx200_acb: Add support for the CS5535/CS5536 Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare commit 8a05940d742174a87427a3fe746712d49d4b8c4b tree 0dd0fc84a3b2818c75e0b692ba16fd17b57d60c4 parent 9b7b6d3b2b46c5c336a441ed12b504ee192e63b3 author Ben Gardner Wed, 18 Jan 2006 22:46:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] i2c: scx200_acb remove use of lock_kernel scx200_acb: remove use of lock_kernel() Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9b7b6d3b2b46c5c336a441ed12b504ee192e63b3 tree 199e4ffbcd7398e416eff70a4b35386310f123d9 parent ef4d9275e2949976cb43c8bd0c11cb77b9b017e9 author Ben Gardner Wed, 18 Jan 2006 22:44:04 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] i2c: scx200_acb refactor/simplify code scx200_acb: refactor/simplify code (no functional changes) Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ef4d9275e2949976cb43c8bd0c11cb77b9b017e9 tree 02f448cc836cc8b95847856f1ded05b3de50128c parent 99c3adb4d5a2d0727d656f32d5de885581d3feec author Ben Gardner Wed, 18 Jan 2006 22:43:10 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] i2c: scx200_acb debug log cleanup scx200_acb: debug log cleanup Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 99c3adb4d5a2d0727d656f32d5de885581d3feec tree d8dc046242a5f5f055851be383a480460a501dcd parent b3585e4f5b3e4ddb4d82ae50d0b844f619c6d821 author Ben Gardner Wed, 18 Jan 2006 22:41:50 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] i2c: scx200_acb whitespace and comment cleanup scx200_acb: Whitespace and comment cleanup Signed-off-by: Ben Gardner Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b3585e4f5b3e4ddb4d82ae50d0b844f619c6d821 tree 5375363cc6087d74196efc0ded6dae9a8a4c2ad5 parent 2488a39d233a758d41ab7de70a220bc956f3c96c author Arjan van de Ven Wed, 11 Jan 2006 10:50:26 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] I2C: Convert i2c to mutexes The patch below converts a few i2c semaphores to mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 2488a39d233a758d41ab7de70a220bc956f3c96c tree ad13b0f0e4934215a4378f63175dfc98e44e3061 parent dedc6a7803d9c9795b504ffd8530a4ba7b3fd9ed author Jean Delvare Mon, 09 Jan 2006 23:29:11 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:49 -0800 [PATCH] hwmon: Use attribute arrays in f71805f Convert the f71805f driver to use arrays of attributes. This shrinks the compiled module from 12.0 kB to 9.6 kB. We certainly should do the same for as many hardware monitoring drivers as possible. This, together with a nice chip design by Fintek, makes this driver very small, both in terms of number of lines of code and memory consumption. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit dedc6a7803d9c9795b504ffd8530a4ba7b3fd9ed tree a9e1cb0d15b8bafbc27120945cfd1f02b03e6739 parent 42d3b83fecb7b576d477244347982baa02fa4f44 author Jim Cromie Mon, 09 Jan 2006 23:24:41 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:48 -0800 [PATCH] hwmon: Use attribute arrays in pc87360 Convert individual sensors to sensor-attr arrays by each sensor type, and initialize them in loops instead of long blocks of individual calls. Signed-off-by: Jim Cromie Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 42d3b83fecb7b576d477244347982baa02fa4f44 tree 42c799763f3b908a554f050c1b8990e5f41bb7ac parent b0e6e962992b76580f4900b166a337bad7c1e81b author Jim Cromie Mon, 09 Jan 2006 23:22:24 +0100 committer Greg Kroah-Hartman Thu, 23 Mar 2006 14:21:48 -0800 [PATCH] hwmon: Allow sensor attributes arrays This patch refactors SENSOR_DEVICE_ATTR macro. First it creates a new macro SENSOR_ATTR() which expands to an initialization expression, then it uses that in SENSOR_DEVICE_ATTR, which declares and initializes a struct sensor_device_attribute. IOW, SENSOR_ATTR() imitates __ATTR() in include/linux/device.h. Signed-off-by: Jim Cromie Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9b7c84899ea6bfc4f8932a83b28db313e7397bd1 tree 76af15f52485f95cf7c841e9994f6a9f99eab4b4 parent eff4b1fe0aa8002cbf414576e8cc102967bd9d5d parent 4edac92fcf5956b0ef52fb281207863902e430bc author Jeff Garzik Thu, 23 Mar 2006 17:15:41 -0500 committer Jeff Garzik Thu, 23 Mar 2006 17:15:41 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit eff4b1fe0aa8002cbf414576e8cc102967bd9d5d tree a0fff929dbcbedc6f42d59d197536baaa670fa7a parent 29b4e886cbba5e0b0e4379fea7fc313e7808b5c2 author Stephen Hemminger Thu, 23 Mar 2006 11:07:29 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: version 1.5 Update version to allow tracking of complaints. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 29b4e886cbba5e0b0e4379fea7fc313e7808b5c2 tree 8871821748ca3b4d4a4d96e33d6ada6735107a32 parent 866b4f3e94a7568a1cb0018c061e19e120de6922 author Stephen Hemminger Thu, 23 Mar 2006 11:07:28 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: compute available ring buffers Don't need to keep track of available buffers, it is simpler to just compute the value (ala e1000). Don't need tes on link up because should always have available buffers then. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 866b4f3e94a7568a1cb0018c061e19e120de6922 tree ce9f82edb063145a46d5bc84d7e38d153272bc46 parent 4c180fc424550217344db6fe8960732dbd7feb0c author Stephen Hemminger Thu, 23 Mar 2006 11:07:27 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: dont free skb until multi-part transmit complete Don't free transmit buffers until the whole set of transmit descriptors has been marked as done. Otherwise, we risk freeing a skb before the whole transmit is done. This changes the transmit completion handling from incremental to a two pass algorithm. First pass scans and records the start of the last done descriptor, second cleans up until that point. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 4c180fc424550217344db6fe8960732dbd7feb0c tree a403d3ae7156876daf866749edb10177450ed2b7 parent 5a01144717ee9dacd45e1b0861a2c593796bcead author Stephen Hemminger Thu, 23 Mar 2006 11:07:26 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: multicast statistics fix Fix count of multicast packets. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5a01144717ee9dacd45e1b0861a2c593796bcead tree ca401ae28092ee83c943c3b5e4a538803c81edd4 parent b5d56ddc3f839e94e97a3eb8afb4d0d64a9f2ef8 author Stephen Hemminger Thu, 23 Mar 2006 11:07:25 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: rx_reuse called twice In the error case we call skge_rx_reuse twice. This is harmless but unnecessary. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b5d56ddc3f839e94e97a3eb8afb4d0d64a9f2ef8 tree 0b3f2130c6c1afbfc71ed55c19f12d31fb7ac22a parent 901ccefb2dd7fe6a9e750a68f990f2a7d76b78d2 author Stephen Hemminger Thu, 23 Mar 2006 11:07:24 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: dont use dev_alloc_skb for rx buffs The skge driver was using dev_alloc_skb which reserves space for the Ethernet header. This unnecessary and it should just use alloc_skb, also by using GFP_KERNEL during startup it won't run into problems when a user asks for a huge ring size or mtu and potentially drains the reserved atomic pool. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 901ccefb2dd7fe6a9e750a68f990f2a7d76b78d2 tree 993c53d43398941533ffc5b84457b33a4f23fee6 parent 15240072ac3ffb67050acd0b71b477c3bb977670 author Stephen Hemminger Thu, 23 Mar 2006 11:07:23 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:54 -0500 [PATCH] skge: align receive buffers The skge driver aligns the header on the initial receive buffers, but but doesn't on followon receive buffer allocations. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 15240072ac3ffb67050acd0b71b477c3bb977670 tree 0a8034b3016643698987eada31aeb2ad084ad8b5 parent 050ff18016979b98e3cadb930d6e29bfd5530469 author Stephen Hemminger Thu, 23 Mar 2006 08:51:38 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:53 -0500 [PATCH] sky2: dont need to use dev_kfree_skb_any Transmit buffers are always freed with interrupts enabled (softirq), so we can just call dev_kfree_skb. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 050ff18016979b98e3cadb930d6e29bfd5530469 tree cecfa70fcdf40ddd225f1318aff12afe12bbe2f2 parent d26045404c8925eadf252aeb6b5b8055fc01e9de author Stephen Hemminger Thu, 23 Mar 2006 08:51:37 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:53 -0500 [PATCH] sky2: Fix RX stats Unicast packets are shown as multicast, real multicast packets are missing. Signed-off-by: Patrick McHardy Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d26045404c8925eadf252aeb6b5b8055fc01e9de tree edb472fd42166519e070befc03f79498923e6ceb parent 88e3c1da8b3258a81c5c81d4e7e22557b7d71ba7 author Stephen Hemminger Thu, 23 Mar 2006 08:51:36 -0800 committer Jeff Garzik Thu, 23 Mar 2006 17:13:53 -0500 [PATCH] sky2: typo in last stats patch Typo in last stats patch. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 88e3c1da8b3258a81c5c81d4e7e22557b7d71ba7 tree ab518773c0ff4606f1a57d00b5931332a7e1d96e parent fa4fa40a990f8f4eff65476bef32007c154bbac0 parent b0e6e962992b76580f4900b166a337bad7c1e81b author Jeff Garzik Thu, 23 Mar 2006 17:13:43 -0500 committer Jeff Garzik Thu, 23 Mar 2006 17:13:43 -0500 Merge branch 'master' commit 4edac92fcf5956b0ef52fb281207863902e430bc tree db4539351c227c70504294715885a20bd3e60a05 parent 9320199957cebc39ccef372fa1fccf5ba3d3fd7d author David Woodhouse Thu, 23 Mar 2006 14:03:00 +0000 committer John W. Linville Thu, 23 Mar 2006 16:18:47 -0500 [PATCH] Restore channel setting after scan. After a scan, we weren't switching back to the original channel if we were associated with an AP. So NetworkManager's periodic scans would disrupt connectivity until the ESSID was manually set again. Fix that. Signed-off-by: David Woodhouse Signed-off-by: John W. Linville commit 9320199957cebc39ccef372fa1fccf5ba3d3fd7d tree c4d89643eae57f819aa014eca6f4032d66e9ef5a parent 4f7ecdf0b1b8125fe190247beb0df652829e13cb author Jouni Malinen Sun, 19 Mar 2006 19:21:49 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:58 -0500 [PATCH] hostap: Fix memory leak on PCI probe error path The Coverity checker (CID: 659, 660) spotted this resource leak on PCI probe error path. Free private data structure if pci_enable_device() fails. Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 4f7ecdf0b1b8125fe190247beb0df652829e13cb tree c003b400680386fce0db3ab4e9bb8034953eb960 parent 3a1c42ad98fddab63e62b400ae98e6f609485efc author Jouni Malinen Sun, 19 Mar 2006 19:21:48 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:58 -0500 [PATCH] hostap: Remove dead code (duplicated idx != 0) The Coverity checker (CID: 58) spotted this duplicated idx != 0 validation for unicast keys in prism2_ioctl_siwencodeext(). Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 3a1c42ad98fddab63e62b400ae98e6f609485efc tree 419225b1ff68508e04f08dfb98ca8b21d1e83fef parent 8abceaf1cf44b9d95bcc366fa277b33e292141c4 author Jouni Malinen Sun, 19 Mar 2006 19:21:47 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:58 -0500 [PATCH] hostap: Fix unlikely read overrun in CIS parsing The Coverity checker (CID: 452, 453, 454, 455, 456) spotted this unlikely read overrun of CIS buffer. Abort if CISTPL_CONFIG or CISTPL_MANFID would not fit in buffer. Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 8abceaf1cf44b9d95bcc366fa277b33e292141c4 tree 42d669e650bf3891c76f9aefa5f749c60e81a242 parent 54b85f489bdfafc9306dfcc21e0d2687c34c3b34 author Eugene Teo Sun, 19 Mar 2006 19:21:46 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:57 -0500 [PATCH] hostap: Fix double free in prism2_config() error path The Coverity checker (CID: 930) spotted this double free on error path (allocation failure). Do not free these here since generic error path will take care of this. Signed-off-by: Eugene Teo Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 54b85f489bdfafc9306dfcc21e0d2687c34c3b34 tree c141cbcf5fbad9f7e68fdf12567871c049736b34 parent 971d1e69229f3dfc6dd233b8f4b82df2c35eedd8 author Adrian Bunk Sun, 19 Mar 2006 19:21:45 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:57 -0500 [PATCH] hostap: Fix ap_add_sta() return value verification The Coverity checker (CID: 273) spotted this inconsequent NULL checking (unconditionally dereferencing directly after checking for NULL isn't a good idea). Return immediately to avoid this. Signed-off-by: Adrian Bunk Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 971d1e69229f3dfc6dd233b8f4b82df2c35eedd8 tree a255814d0183a9d6541e3206c10ad966836d3856 parent 9e75af30d529d54fc650586776c100d0665c0c93 author Adrian Bunk Sun, 19 Mar 2006 19:21:44 -0800 committer John W. Linville Thu, 23 Mar 2006 16:16:57 -0500 [PATCH] hostap: Fix hw reset after CMDCODE_ACCESS_WRITE timeout The Coverity checker (CID: 59) noted that the call to prism2_hw_reset() was dead code. Move prism2_hw_reset() call to a place where it is actually executed. Signed-off-by: Adrian Bunk Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville commit 9e75af30d529d54fc650586776c100d0665c0c93 tree 978006aea21e2ccfd133f9131b3b98e0b19d5325 parent 15db2763202b9479f3d30ea61a283be4fc48559d author Dan Williams Thu, 16 Mar 2006 13:46:29 -0500 committer John W. Linville Thu, 23 Mar 2006 16:13:58 -0500 [PATCH] wireless/airo: cache wireless scans Observed problems when multiple processes request scans and subsequently scan results. This causes a scan result request to hit card registers before the scan is complete, returning an incomplete scan list and possibly making the card very angry. Instead, cache the results of a wireless scan and serve result requests from the cache, rather than hitting the hardware for them. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 15db2763202b9479f3d30ea61a283be4fc48559d tree d3e04313519a1a7c706de20d6ca279d5eea1310d parent 934d8bf142541ea013bc4002e200fa0e6815bf38 author Dan Williams Thu, 16 Mar 2006 13:46:27 -0500 committer John W. Linville Thu, 23 Mar 2006 16:13:58 -0500 [PATCH] wireless/airo: define default MTU The number 2312 was used all over the place to refer to the card's default MTU. Make it a #define and use that everywhere rather than the number. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 934d8bf142541ea013bc4002e200fa0e6815bf38 tree 6194ed332db571f9be105af404ab5254a3e5ba4d parent 711e2c33ac9221a419a9e28d05dd78a6a9c5fd4d author Dan Williams Thu, 16 Mar 2006 13:46:23 -0500 committer John W. Linville Thu, 23 Mar 2006 16:13:58 -0500 [PATCH] wireless/airo: clean up printk usage to print device name Show the specific device that driver messages are about. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 2056a782f8e7e65fd4bfd027506b4ce1c5e9ccd4 tree d4fe59a7ca0c110690937085548936a4535c39db parent 6dac40a7ce2483a47b54af07afebeb84131c7228 author Jens Axboe Thu, 23 Mar 2006 20:00:26 +0100 committer Jens Axboe Thu, 23 Mar 2006 20:00:26 +0100 [PATCH] Block queue IO tracing support (blktrace) as of 2006-03-23 Signed-off-by: Jens Axboe commit 6dac40a7ce2483a47b54af07afebeb84131c7228 tree 45bf3872a8a332235f5e92248f68f014446b3e25 parent 221415d76231d9012871e6e6abcbad906c46626a author Tom Zanussi Thu, 23 Mar 2006 19:58:45 +0100 committer Jens Axboe Thu, 23 Mar 2006 19:58:45 +0100 [PATCH] relay: consolidate sendfile() and read() code Signed-off-by: Jens Axboe commit 221415d76231d9012871e6e6abcbad906c46626a tree fd045e6cac9f0e27608f56f4a5639790bc5fe331 parent b86ff981a8252d83d6a7719ae09f3a05307e3592 author Jens Axboe Thu, 23 Mar 2006 19:57:55 +0100 committer Jens Axboe Thu, 23 Mar 2006 19:57:55 +0100 [PATCH] relay: add sendfile() support Signed-off-by: Jens Axboe commit b86ff981a8252d83d6a7719ae09f3a05307e3592 tree ba8839f46cb140664e6a1ff6c7361b7424a95a7f parent b0e6e962992b76580f4900b166a337bad7c1e81b author Jens Axboe Thu, 23 Mar 2006 19:56:55 +0100 committer Jens Axboe Thu, 23 Mar 2006 19:56:55 +0100 [PATCH] relay: migrate from relayfs to a generic relay API Original patch from Paul Mundt, sysfs parts removed by me since they were broken. Signed-off-by: Jens Axboe commit b425c8c5922562c562dc55a636c3c8d758ed6d17 tree 3dba4faa78f1bbe4be503275173e3a63b5d60f22 parent a05ba4561fa3ad8b64a27577d0d38c190f60f762 parent 92fe7b9ea8ef101bff3c75ade89b93b5f62a7955 author Anton Altaparmakov Thu, 23 Mar 2006 17:08:12 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 17:08:12 +0000 Merge branch 'master' of git://imp.csi.cam.ac.uk/home/src/ntfs-2.6-devel/ commit 92fe7b9ea8ef101bff3c75ade89b93b5f62a7955 tree 3dba4faa78f1bbe4be503275173e3a63b5d60f22 parent e750d1c7cc314b9ba1934b0b474b7d39f906f865 parent b0e6e962992b76580f4900b166a337bad7c1e81b author Anton Altaparmakov Thu, 23 Mar 2006 17:06:08 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 17:06:08 +0000 Merge branch 'master' of /usr/src/ntfs-2.6/ commit a05ba4561fa3ad8b64a27577d0d38c190f60f762 tree 5eb7561113e006b7bad0bef50dec6821962b1b36 parent 74293759002aa7db0179158c20676a034614577b parent b0e6e962992b76580f4900b166a337bad7c1e81b author Anton Altaparmakov Thu, 23 Mar 2006 17:05:47 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 17:05:47 +0000 Merge branch 'master' of /home/aia21/ntfs-2.6/ commit e750d1c7cc314b9ba1934b0b474b7d39f906f865 tree 2000783b74940454825f33f9fe6446c1321d3ce4 parent 4e5e529ad684f1b3fba957f5dd4eb7c2b534ee92 author Anton Altaparmakov Thu, 23 Mar 2006 17:04:12 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 17:04:12 +0000 NTFS: 2.1.27 - Various bug fixes and cleanups. Signed-off-by: Anton Altaparmakov commit 4e5e529ad684f1b3fba957f5dd4eb7c2b534ee92 tree fdd2fd4ef26dc758b28dfb13d56075129a2cbdec parent 834ba600cefe6847acaebe5e8e984476dfeebf55 author Ingo Molnar Thu, 23 Mar 2006 16:57:48 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:57:48 +0000 NTFS: Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Anton Altaparmakov commit 834ba600cefe6847acaebe5e8e984476dfeebf55 tree 55b67a2883e7ad67288ba7a2ad94ff195e7b6ed5 parent 20fdcf1d543b1285ef8b1c1993a9221f2eda52dc author Anton Altaparmakov Thu, 23 Mar 2006 16:25:23 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:25:23 +0000 NTFS: Handle the recently introduced -ENAMETOOLONG return value from fs/ntfs/unistr.c::ntfs_nlstoucs() in fs/ntfs/namei.c::ntfs_lookup(). Signed-off-by: Anton Altaparmakov commit 20fdcf1d543b1285ef8b1c1993a9221f2eda52dc tree 476002aa4a3af68a5986ac38c51ab0f083d6c520 parent a778f217328a7391e0919b6463ec7f143851d12d author Anton Altaparmakov Thu, 23 Mar 2006 16:21:02 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:21:02 +0000 NTFS: Add a missing call to flush_dcache_mft_record_page() in fs/ntfs/inode.c::ntfs_write_inode(). Signed-off-by: Anton Altaparmakov commit a778f217328a7391e0919b6463ec7f143851d12d tree 2f6837d70e52d9c3a46678c1efb975cd61a5dcf0 parent 2c2c8c1c211c75d0cc9d7642a569ceac1aecd96d author Anton Altaparmakov Thu, 23 Mar 2006 16:18:23 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:18:23 +0000 NTFS: Fix a bug in fs/ntfs/inode.c::ntfs_read_locked_index_inode() where we forgot to update a temporary variable so loading index inodes which have an index allocation attribute failed. Signed-off-by: Anton Altaparmakov commit 2c2c8c1c211c75d0cc9d7642a569ceac1aecd96d tree 59cc527665d49ec7882a03302f25bcb4bd69525d parent d4faf636d6f8d8940174e38317161eb08a7a57ec author Anton Altaparmakov Thu, 23 Mar 2006 16:09:40 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:09:40 +0000 NTFS: Improve comments on file attribute flags in fs/ntfs/layout.h. Signed-off-by: Anton Altaparmakov commit d4faf636d6f8d8940174e38317161eb08a7a57ec tree 9d9b54e5c41fa5c4c1f4cd8f8d5e3363ec71ffde parent f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a author Anton Altaparmakov Thu, 23 Mar 2006 16:05:11 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 16:05:11 +0000 NTFS: Limit name length in fs/ntfs/unistr.c::ntfs_nlstoucs() to maximum allowed by NTFS, i.e. 255 Unicode characters, not including the terminating NULL (which is not stored on disk). Signed-off-by: Anton Altaparmakov commit f95c4018fd4b0bdef9b1bcb4eac7056e2a07282a tree 44014b7cb3aff48f008033c23425ff2b37fed34b parent a0646a1f04f1ec4c7514e5b00496b54e054a2c99 author Anton Altaparmakov Thu, 23 Mar 2006 15:59:32 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:59:32 +0000 NTFS: Remove all the make_bad_inode() calls. This should only be called from read inode and new inode code paths. Signed-off-by: Anton Altaparmakov commit a0646a1f04f1ec4c7514e5b00496b54e054a2c99 tree 2cdf9023dd85b968a1cd3e4150019e1bbac19f1a parent 949763b2b8822c6dc6da0d0e1d4af092152546c2 author Anton Altaparmakov Thu, 23 Mar 2006 15:53:03 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:53:03 +0000 NTFS: Add support for sparse files which have a compression unit of 0. Signed-off-by: Anton Altaparmakov commit b0e6e962992b76580f4900b166a337bad7c1e81b tree 0caae9380c729a437e89acd5d5817a285156e26e parent b73b459f72f746a031d1ef4cc7659b20a1f1acb9 author Benjamin LaHaise Thu, 23 Mar 2006 03:01:08 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:18 -0800 [PATCH] reduce size of bio mempools The biovec default mempool limit of 256 entries results in over 3MB of RAM being permanently pinned, even on systems with only 128MB of RAM. Since mempool tries to allocate from the system pool first, it makes sense to reduce the size of the mempool fallbacks to a more reasonable limit of 1-5 entries -- enough for the system to be able to make progress even under load. Signed-off-by: Benjamin LaHaise Acked-by: Jens Axboe Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b73b459f72f746a031d1ef4cc7659b20a1f1acb9 tree 6e8d58fb0bd01e0a2c24c4debdffd9eb6719a384 parent 394e3902c55e667945f6f1c2bdbc59842cce70f7 author Eric Dumazet Thu, 23 Mar 2006 03:01:07 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] __GENERIC_PER_CPU changes Now CONFIG_DEBUG_INITDATA is in, initial percpu data [__per_cpu_start,__per_cpu_end] can be declared as a redzone, and invalid accesses after boot can be detected, at least for i386. We can let non possible cpus percpu data point to this 'redzone' instead of NULL . NULL was not a good choice because part of [0..32768] memory may be readable and invalid accesses may happen unnoticed. If CONFIG_DEBUG_INITDATA is not defined, each non possible cpu points to the initial percpu data (__per_cpu_offset[cpu] == 0), thus invalid accesses wont be detected/crash. This patch also moves __per_cpu_offset[] to read_mostly area to avoid false sharing. Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 394e3902c55e667945f6f1c2bdbc59842cce70f7 tree f4bca0bdc0c291fda6f6949265aacec0669b9084 parent 63872f87a151413100678f110d1556026002809e author Andrew Morton Thu, 23 Mar 2006 03:01:05 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] more for_each_cpu() conversions When we stop allocating percpu memory for not-possible CPUs we must not touch the percpu data for not-possible CPUs at all. The correct way of doing this is to test cpu_possible() or to use for_each_cpu(). This patch is a kernel-wide sweep of all instances of NR_CPUS. I found very few instances of this bug, if any. But the patch converts lots of open-coded test to use the preferred helper macros. Cc: Mikael Starvik Cc: David Howells Acked-by: Kyle McMartin Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: Paul Mundt Cc: "David S. Miller" Cc: William Lee Irwin III Cc: Andi Kleen Cc: Christian Zankel Cc: Philippe Elie Cc: Nathan Scott Cc: Jens Axboe Cc: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63872f87a151413100678f110d1556026002809e tree 4abb8b8c7f60a9d2c6645c4eb9e95a9c6ba56023 parent 5a6b7951bfcca7f45f44269ea87417c74558daf8 author Eric Dumazet Thu, 23 Mar 2006 03:01:04 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] Only allocate percpu data for possible CPUs percpu_data blindly allocates bootmem memory to store NR_CPUS instances of cpudata, instead of allocating memory only for possible cpus. This patch saves ram, allocating num_possible_cpus() (instead of NR_CPUS) instances. Signed-off-by: Eric Dumazet Acked-by: "David S. Miller" Cc: James Bottomley Cc: Jens Axboe Acked-by: Ingo Molnar Cc: Jens Axboe Cc: Anton Blanchard Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a6b7951bfcca7f45f44269ea87417c74558daf8 tree f9cc8b3f89c89802e81b37d77c6f698e373bfe51 parent 0b2fcfdb8b4e7e379192f24ea2203163ddf5df1d author Benjamin LaHaise Thu, 23 Mar 2006 03:01:03 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] get_empty_filp tweaks, inline epoll_init_file() Eliminate a handful of cache references by keeping current in a register instead of reloading (helps x86) and avoiding the overhead of a function call. Inlining eventpoll_init_file() saves 24 bytes. Also reorder file initialization to make writes occur more sequentially. Signed-off-by: Benjamin LaHaise Cc: Davide Libenzi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b2fcfdb8b4e7e379192f24ea2203163ddf5df1d tree 1f3995e41ab12ff76e737389e0b59a40c0c73668 parent 713729e8b993cb880225e2ced50a3f5ac05c2b3f author Nick Piggin Thu, 23 Mar 2006 03:01:02 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] atomic: add_unless cmpxchg optimise Without branch hints, the very unlikely chance of the loop repeating due to cmpxchg failure is unrolled with gcc-4 that I have tested. Improve this for architectures with a native cas/cmpxchg. llsc archs should try to implement this natively. Signed-off-by: Nick Piggin Cc: Andi Kleen Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: "David S. Miller" Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 713729e8b993cb880225e2ced50a3f5ac05c2b3f tree 8e225ac4bb6ed15514d5495f37709e4d13d1efbf parent 2178426d26661ed6e18a8d6ea0bc05c98d73600d author Alexey Dobriyan Thu, 23 Mar 2006 03:01:01 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] fs/*/file.c: drop insane header dependencies Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2178426d26661ed6e18a8d6ea0bc05c98d73600d tree 4c9635610e9ca52a06b169ac55c77abe1d4449d2 parent 7a673c6b8fff4b2888ef1d47462e4be79936ac5a author Adrian Bunk Thu, 23 Mar 2006 03:01:00 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] kernel/rcupdate.c: make two structs static This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a673c6b8fff4b2888ef1d47462e4be79936ac5a tree 891aac4312db8260e2ef217902813b2bcaa95acf parent ee25e96fcd78837c9f192aa655ce12a88bfd63d4 author Domen Puncer Thu, 23 Mar 2006 03:00:59 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:17 -0800 [PATCH] devpts: use lib/parser.c for parsing mount options Item from "2.6 should fix" list. Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee25e96fcd78837c9f192aa655ce12a88bfd63d4 tree e244e0903bd9583b5c0e6df5e46867427641e131 parent eb8782ef72758b8700963ef8b949f5c812e6d630 author Oleg Nesterov Thu, 23 Mar 2006 03:00:58 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] BUILD_LOCK_OPS: cleanup preempt_disable() usage This patch changes the code from: preempt_disable(); for (;;) { ... preempt_disable(); } to: for (;;) { preempt_disable(); ... } which seems more clean to me and saves a couple of bytes for each function. Signed-off-by: Oleg Nesterov Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb8782ef72758b8700963ef8b949f5c812e6d630 tree f1c43c0427df513c55111ec173f85043166dc3ef parent dd287796d608fcdc3fe5e8fdb5bf762a8f1bc32a author Rene Herman Thu, 23 Mar 2006 03:00:57 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] PnPBIOS: Missing SMALL_TAG_ENDDEP tag Without the attached, the kernel complains about my BIOS' PNP tables. It was ACKed before, but never merged: http://marc.theaimsgroup.com/?l=linux-kernel&m=110237794007900&w=2 Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd287796d608fcdc3fe5e8fdb5bf762a8f1bc32a tree 84be163fdc5fe36eb8d3f1aa5e60bfd1d794c641 parent 41c28ff1635e71af072c4711ff5fadd5855d48e7 author Andrew Morton Thu, 23 Mar 2006 03:00:57 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] pause_on_oops command line option Attempt to fix the problem wherein people's oops reports scroll off the screen due to repeated oopsing or to oopses on other CPUs. If this happens the user can reboot with the `pause_on_oops=' option. It will allow the first oopsing CPU to print an oops record just a single time. Second oopsing attempts, or oopses on other CPUs will cause those CPUs to enter a tight loop until the specified number of seconds have elapsed. The patch implements the infrastructure generically in the expectation that architectures other than x86 will find it useful. Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41c28ff1635e71af072c4711ff5fadd5855d48e7 tree 821a819a43b55d610d862e31b7312b6260311239 parent 772a0dc5d2103baff2f15c2668930bcd37add777 author Adrian Bunk Thu, 23 Mar 2006 03:00:56 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] kill _INLINE_ This patch removes all occurances of _INLINE_ in the kernel. With the exception of tty_flip.h, I've simply removed the inline's since gcc should know best which functions to be inlined. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 772a0dc5d2103baff2f15c2668930bcd37add777 tree d1f9a8e1b676e7e018edc926895b677a65a89d6a parent 91368d73e4b60d577ad171e5bd315b564265fcdb author Andrew Morton Thu, 23 Mar 2006 03:00:55 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] notifier: profile.h forward decl fix Declarations use struct notifier_block on both legs of the ifdef, so move the notifier_block forward declaration outside the ifdef. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91368d73e4b60d577ad171e5bd315b564265fcdb tree 067d3738aa4bf8d49623632bb47952aca6f8f965 parent 3257545e40a769cbef98cf13eabe50f00712991e author Ingo Molnar Thu, 23 Mar 2006 03:00:54 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] make bug messages more consistent Consolidate all kernel bug printouts to begin with the "BUG: " string. Makes it easier to find them in large bootup logs. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3257545e40a769cbef98cf13eabe50f00712991e tree e496d904a85b561ba88b86ff74fa525c612518e2 parent a513b035eadf80bb9ce0be4c5dd9f242cfb9eecc author Alexey Dobriyan Thu, 23 Mar 2006 03:00:53 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] ufs: switch to inode_inc_count, inode_dec_count Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a513b035eadf80bb9ce0be4c5dd9f242cfb9eecc tree 4b7b51b5336dd08534bf04ac84664699a4805124 parent 4e907c3d45d10dc5162d283d109be425c23aeb69 author Alexey Dobriyan Thu, 23 Mar 2006 03:00:53 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:16 -0800 [PATCH] ext2: switch to inode_inc_count, inode_dec_count Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e907c3d45d10dc5162d283d109be425c23aeb69 tree 4b9ae84dec9f4bc9f3b77f9e853e37280b064d71 parent 78ec7b6917a938910d5ed6049c0e4ee6e6852e4e author Alexey Dobriyan Thu, 23 Mar 2006 03:00:52 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] sysv: switch to inode_inc_count, inode_dec_count Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78ec7b6917a938910d5ed6049c0e4ee6e6852e4e tree 7d950e7a3cdd13bd8bc4b378ec5f7d22f69d5439 parent 66d2173053f64121f8dc69a1cf85972e37e1ee75 author Alexey Dobriyan Thu, 23 Mar 2006 03:00:51 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] minix: switch to inode_inc_link_count, inode_dec_link_count Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66d2173053f64121f8dc69a1cf85972e37e1ee75 tree 43b67d02627e22c05e607eb9c04d03ce89751121 parent a7ccf007189aa4401695e3105b00d9429f836b46 author Alexey Dobriyan Thu, 23 Mar 2006 03:00:51 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] Extract inode_inc_link_count(), inode_dec_link_count() Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7ccf007189aa4401695e3105b00d9429f836b46 tree 1dbd5e7e496394d468030bb231a9d090fd5e1711 parent a26fd335b481e0bd14f4e7d1f5e7bb1138b1731f author Alexey Dobriyan Thu, 23 Mar 2006 03:00:50 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] fs/ufs/file.c: drop insane header dependencies Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a26fd335b481e0bd14f4e7d1f5e7bb1138b1731f tree 5578fdb48025e7e2b54fb02c8c877858ad3e859a parent 40953ed87dd68742de0dd1bdecdcdfebfe1d69ae author Oleg Nesterov Thu, 23 Mar 2006 03:00:49 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] sigprocmask: kill unneeded temp var Cleanup, remove unneeded double copying of current->blocked. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40953ed87dd68742de0dd1bdecdcdfebfe1d69ae tree c5faa3efe1e3f8381d5d8674f068556abb9400d8 parent 6b9438e1323a2be10dcc039f6321e7ca18b9459e author Jes Sorensen Thu, 23 Mar 2006 03:00:49 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] snsc kmalloc2kzalloc Change driver to use kzalloc rather than kmalloc+memset Signed-off-by: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9438e1323a2be10dcc039f6321e7ca18b9459e tree 9d84b6f39a2a586c14b2932eda5817cae8ce5b57 parent f82945dff51ff7b33f69cb45a8342b936e966f7f author Arjan van de Ven Thu, 23 Mar 2006 03:00:48 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] fat_lock is used as a mutex, convert it to using the new mutex primitive The fat code uses the fat_lock always in a mutex way (taking and releasing the lock in the same function), the patch below converts it into the new mutex primitive. Please consider this patch for the code. Signed-off-by: Arjan van de Ven Acked-by: OGAWA Hirofumi Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f82945dff51ff7b33f69cb45a8342b936e966f7f tree d550c4b48fd13574147d09b49b1706fcf3644dc3 parent 6389a385114ae358693f213266de6468ea116c77 author Ingo Molnar Thu, 23 Mar 2006 03:00:47 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:15 -0800 [PATCH] oss: semaphore to mutex conversion Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Extracted for OSS/Free changes from Ingo's original patches. Signed-off-by: Ingo Molnar Signed-off-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6389a385114ae358693f213266de6468ea116c77 tree 7fafbc62a71887202d09b0748148fa79211a0a65 parent cf8b8975c3c35d1269bf6f1c6f2ae4efb6909607 author Ashutosh Naik Thu, 23 Mar 2006 03:00:46 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] kernel/module.c Semaphore to Mutex Conversion for module_mutex This patch converts the module_mutex semaphore to a mutex. Signed-off-by: Ashutosh Naik Cc: Arjan van de Ven Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf8b8975c3c35d1269bf6f1c6f2ae4efb6909607 tree 25063f24381e7762db20ff4062bd43240602c327 parent 81861d78c9edf9a9b03a9ba1f5b242d658f16832 author Arjan van de Ven Thu, 23 Mar 2006 03:00:45 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] sem2mutex: drivers/ide Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81861d78c9edf9a9b03a9ba1f5b242d658f16832 tree 9bd32a48b9869fb809c894e560bb9ee807cf7ad1 parent 1e7933defd0fce79b2d8ecdbc7ca37fed0c188ed author Ingo Molnar Thu, 23 Mar 2006 03:00:44 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] sem2mutex: serial ->port_write_mutex Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e7933defd0fce79b2d8ecdbc7ca37fed0c188ed tree a5dffed9e912f80c452a809cd4405d2799e27067 parent 8e3f90459b7052c31a9669417b837fb14aa6d313 author Ingo Molnar Thu, 23 Mar 2006 03:00:44 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] sem2mutex: UDF Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e3f90459b7052c31a9669417b837fb14aa6d313 tree f6903acee9791a46da376fffb03bdabf511120d0 parent 97461518610fb1679f67333bb699bb81136e49fe author Ingo Molnar Thu, 23 Mar 2006 03:00:43 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] sem2mutex: NCPFS Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97461518610fb1679f67333bb699bb81136e49fe tree 483fcaf10744a96ad9fced97910fa75610c3fcdb parent 7bf6d78dd93ccc52cd2cac5066c4b84834e4f1f2 author Arjan van de Ven Thu, 23 Mar 2006 03:00:42 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:14 -0800 [PATCH] convert ext3's truncate_sem to a mutex ext3's truncate_sem is always released in the same function it's taken and it otherwise is a mutex as well.. Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7bf6d78dd93ccc52cd2cac5066c4b84834e4f1f2 tree d48db5d52dd3b9c7942d3af8ff1393bc4ed10d81 parent 1d5599e397dcc7c2300d200e66dad326d7dbac38 author Ingo Molnar Thu, 23 Mar 2006 03:00:42 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: HPFS Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d5599e397dcc7c2300d200e66dad326d7dbac38 tree beaa29f23c35375bbff4b5b256e96dd3b13c5728 parent 1eb0d67007e75697a7b87e6b611be935a991395c author Ingo Molnar Thu, 23 Mar 2006 03:00:41 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: autofs4 wq_sem Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Acked-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1eb0d67007e75697a7b87e6b611be935a991395c tree 35ce5e6313f89d2ef054870734d52b17388fe001 parent 910f5d202ce39cc78de1bbb679285a3167de9fb2 author Ingo Molnar Thu, 23 Mar 2006 03:00:40 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: JFFS Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 910f5d202ce39cc78de1bbb679285a3167de9fb2 tree 2c5b55c2b141aaf016c459beb397fc702c41b967 parent 82d4dc5adb0055393248ad4ab8de392fac708a12 author Ingo Molnar Thu, 23 Mar 2006 03:00:39 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: sound/oss/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82d4dc5adb0055393248ad4ab8de392fac708a12 tree 9827f519dc04c76138fac0ee90d1cc34ac9af24b parent f85221dd74f2708b78a2aa54de59944e44206d0e author Ingo Molnar Thu, 23 Mar 2006 03:00:38 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:13 -0800 [PATCH] sem2mutex: drivers/block/nbd.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Paul Clements Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f85221dd74f2708b78a2aa54de59944e44206d0e tree f9e9710f78bf56515b04101bb40087b50e4bfeb6 parent 0ac1759abc69fb62438c30a7e422f628a1120d67 author Ingo Molnar Thu, 23 Mar 2006 03:00:38 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: drivers/block/loop.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ac1759abc69fb62438c30a7e422f628a1120d67 tree 953fd417cc63bae48245ab03c04123a45e21125e parent 7cf34c761db8827818a27e23c50756f8b821a9b0 author Ingo Molnar Thu, 23 Mar 2006 03:00:37 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: fs/seq_file.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cf34c761db8827818a27e23c50756f8b821a9b0 tree c8cb1a4973aae6203e50164a479a77d244378c8d parent 7a7d1cf95408863a657035701606b13644c9f55e author Ingo Molnar Thu, 23 Mar 2006 03:00:36 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: fs/libfs.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a7d1cf95408863a657035701606b13644c9f55e tree 7eaee4f3221aabcac2f57fb0295dd1e4763a1e8c parent 2c68ee754c40099c59828e59618a54726f76126a author Ingo Molnar Thu, 23 Mar 2006 03:00:35 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: kprobes Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Acked-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c68ee754c40099c59828e59618a54726f76126a tree b656a0caa9b31749b5b6f9a3f7a1f3ffc482552c parent f24075bd0c1cd1cc2cf86d394f960aa0401de573 author Arjan van de Ven Thu, 23 Mar 2006 03:00:35 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: jbd, j_checkpoint_mutex Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f24075bd0c1cd1cc2cf86d394f960aa0401de573 tree 609ad9884e43a8bb1ba5834996955a06bef66fa2 parent a11f3a0574a5734db3e5de38922430d005d35118 author Ingo Molnar Thu, 23 Mar 2006 03:00:34 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: iprune Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a11f3a0574a5734db3e5de38922430d005d35118 tree 2f332f623463c5909dc37d20cbf44421854f775a parent 144efe3e3e5ad57af549bf800fa4560d7c74e9fe author Arjan van de Ven Thu, 23 Mar 2006 03:00:33 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: vfs_rename_mutex Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 144efe3e3e5ad57af549bf800fa4560d7c74e9fe tree 332dd6364fe5122f489ab4352817f11737e7a258 parent 70522e121a521aa09bd0f4e62e1aa68708b798e1 author Arjan van de Ven Thu, 23 Mar 2006 03:00:32 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:12 -0800 [PATCH] sem2mutex: eventpoll Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Davide Libenzi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70522e121a521aa09bd0f4e62e1aa68708b798e1 tree 1233412da73361b48ed01290a33ab7c90e36359a parent d4f9af9dac4ecb75818f909168f87b441cc95653 author Ingo Molnar Thu, 23 Mar 2006 03:00:31 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: tty Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Alan Cox Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4f9af9dac4ecb75818f909168f87b441cc95653 tree c5b0ccf7705b6ef0739fd5af64cf48c092760013 parent d3be915fc5e7d19a2283ad9b0fe0782a74675d0a author Ingo Molnar Thu, 23 Mar 2006 03:00:30 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: inotify Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: John McCutchan Signed-off-by: Andrew Morton Acked-by: Robert Love Signed-off-by: Linus Torvalds commit d3be915fc5e7d19a2283ad9b0fe0782a74675d0a tree e03647affdee4e72dbff4a5da55bcf32bfa65901 parent c039e3134ae62863bbc8e8429b29e3c43cf21b2a author Ingo Molnar Thu, 23 Mar 2006 03:00:29 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: quota Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c039e3134ae62863bbc8e8429b29e3c43cf21b2a tree b9bbf4fda0844e3173bf10a5bffbaaec94fb4246 parent 6f87f0deebaff2716a3ce9232f948d702690562a author Arjan van de Ven Thu, 23 Mar 2006 03:00:28 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: blockdev #2 Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f87f0deebaff2716a3ce9232f948d702690562a tree 85f532fe39be7c224635dd9ed0198668c30bafa3 parent b1c82b5c55851bf309f4019994610789f7042757 author Ingo Molnar Thu, 23 Mar 2006 03:00:27 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: drivers/char/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Russell King Cc: Wim Van Sebroeck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b1c82b5c55851bf309f4019994610789f7042757 tree e095ddbc53298b6ddc0324df4321a537014af0f3 parent 1657f824e880a9bd239a3436b820d1a2986f763d author Jes Sorensen Thu, 23 Mar 2006 03:00:26 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: drivers/block/floppy.c Convert from semaphore to mutex. Untested as I have no access to a floppy drive at the moment. Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1657f824e880a9bd239a3436b820d1a2986f763d tree d5108e52c67623dc9efbdfd0ebcc327538b0bd71 parent 97d1f15b7ef52c1e9c28dc48b454024bb53a5fd2 author Jes Sorensen Thu, 23 Mar 2006 03:00:25 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:11 -0800 [PATCH] sem2mutex: drivers/block/pktcdvd.c Convert to use mutex from a semaphore Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar Cc: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97d1f15b7ef52c1e9c28dc48b454024bb53a5fd2 tree 7bdb928096eec577e75897351f639d3f94441c87 parent e723ccd805857a46d3b63fbd20edea8579c6c541 author Arjan van de Ven Thu, 23 Mar 2006 03:00:24 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] sem2mutex: kernel/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e723ccd805857a46d3b63fbd20edea8579c6c541 tree 00ea3941543aad06172f5f16c78cfed2f4afb2e3 parent 8ed965d612d9e9bc08805c75123f063cf6966311 author Jes Sorensen Thu, 23 Mar 2006 03:00:22 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] sem2mutex: drivers/scsi/ide-scsi.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Jens Axboe Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ed965d612d9e9bc08805c75123f063cf6966311 tree 7a863b9cb0d408295193f888b06d40d3364a404a parent 9cdf18279d1f4a2d075ebe924d74e6e4547f6e1b author Arjan van de Ven Thu, 23 Mar 2006 03:00:21 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] sem2mutex: drivers: raw, connector, dcdbas, ppp_generic Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9cdf18279d1f4a2d075ebe924d74e6e4547f6e1b tree 38a5e7b45ea57535c472601a97785d1360b1e6ee parent 4f7a07b88726781e37c4c5f63db3a6ee3f8500d3 author Arjan van de Ven Thu, 23 Mar 2006 03:00:21 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] sem2mutex: kcapi.c Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f7a07b88726781e37c4c5f63db3a6ee3f8500d3 tree 024e0e5cf9232f35bed0cf8cb9aa40fe434b2064 parent 9331b3157c835353dd28efcd80d23563ad226aee author Ingo Molnar Thu, 23 Mar 2006 03:00:19 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] convert fs/9p/ to mutexes, fix locking bugs Convert fs/9p/mux.c from semaphore to mutex. NOTE: fixed locking bugs in the process - the code was using semaphores the other way around. Signed-off-by: Ingo Molnar Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9331b3157c835353dd28efcd80d23563ad226aee tree dc198c77bdf8ba9aabf51841aad59934e922ba06 parent 3d3f26a7baaa921a0e790b4c72d20f0de91a5d65 author Ingo Molnar Thu, 23 Mar 2006 03:00:19 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] convert kernel/rcupdate.c:rcu_barrier_sema to mutex Convert kernel/rcupdate's rcu_barrier_sema to mutex. Signed-off-by: Ingo Molnar Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d3f26a7baaa921a0e790b4c72d20f0de91a5d65 tree f2ad04e2954f6c8430c27d98a3b3f658b13379ee parent 6362e4d4eda61efb04ac1cdae32e48ac6d90b701 author Ingo Molnar Thu, 23 Mar 2006 03:00:18 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] kernel/cpuset.c, mutex conversion convert cpuset.c's callback_sem and manage_sem to mutexes. Build and boot tested by Ingo. Build, boot, unit and stress tested by pj. Signed-off-by: Ingo Molnar Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6362e4d4eda61efb04ac1cdae32e48ac6d90b701 tree be13a8b673d117ec3d186f2911f4ebae3da857dd parent 804f1594cc3deb161e531a43d90c501f0db2635a author Jan Kara Thu, 23 Mar 2006 03:00:17 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] Fix oops in invalidate_dquots() When quota is being turned off we assumed that all the references to dquots were already dropped. That need not be true as inodes being deleted are not on superblock's inodes list and hence we need not reach it when removing quota references from inodes. So invalidate_dquots() has to wait for all the users of dquots (as quota is already marked as turned off, no new references can be acquired and so this is bound to happen rather early). When we do this, we can also remove the iprune_sem locking as it was protecting us against exactly the same problem when freeing inodes icache memory. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 804f1594cc3deb161e531a43d90c501f0db2635a tree 81f7a7cea8dbf671c733df379c6582e36459e8da parent 6a2900b67652421b51fe25e4b86ecfec742b1f30 author Kyle McMartin Thu, 23 Mar 2006 03:00:16 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:10 -0800 [PATCH] Move read_mostly definition to asm/cache.h Seems like needless clutter having a bunch of #if defined(CONFIG_$ARCH) in include/linux/cache.h. Move the per architecture section definition to asm/cache.h, and keep the if-not-defined dummy case in linux/cache.h to catch architectures which don't implement the section. Verified that symbols still go in .data.read_mostly on parisc, and the compile doesn't break. Signed-off-by: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a2900b67652421b51fe25e4b86ecfec742b1f30 tree 57fd1f624d9e3fdc4b3e0dd637357cc451204250 parent d2c5d4fc07a41a6048b01d3b2930aeff1235fda5 author Christoph Hellwig Thu, 23 Mar 2006 03:00:15 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] kill cdrom ->dev_ioctl method Since early 2.4.x all cdrom drivers implement the block_device methods themselves, so they can handle additional ioctls directly instead of going through the cdrom layer. Signed-off-by: Christoph Hellwig Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2c5d4fc07a41a6048b01d3b2930aeff1235fda5 tree 83bfa8bfd38e4d4063123d32a20f5e1e5b026a10 parent 2dd0ebcd2ab7b18a50c0810ddb45a84316e4ee2e author Christoph Hellwig Thu, 23 Mar 2006 03:00:14 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] cleanup cdrom_ioctl Add a small helper for each ioctl to cut down cdrom_ioctl to a readable size. Signed-off-by: Christoph Hellwig Cc: Acked-by: Jens Axboe Signed-off-by: Benoit Boissinot Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2dd0ebcd2ab7b18a50c0810ddb45a84316e4ee2e tree 17518ebe86c2b701aa4a74fcac025c1793a87a87 parent 0c9e63fd38a2fb2181668a0cdd622a3c23cfd567 author Ravikiran G Thirumalai Thu, 23 Mar 2006 03:00:13 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] Avoid taking global tasklist_lock for single threadedprocess at getrusage() Avoid taking the global tasklist_lock when possible, if a process is single threaded during getrusage(). Any avoidance of tasklist_lock is good for NUMA boxes (and possibly for large SMPs). Thanks to Oleg Nesterov for review and suggestions. Signed-off-by: Nippun Goel Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c9e63fd38a2fb2181668a0cdd622a3c23cfd567 tree 8fdb91603347b1da2e83a095ebcaab44b2c3c237 parent d8733c2956968a01394a4d2a9e97a8b431a78776 author Eric Dumazet Thu, 23 Mar 2006 03:00:12 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] Shrinks sizeof(files_struct) and better layout 1) Reduce the size of (struct fdtable) to exactly 64 bytes on 32bits platforms, lowering kmalloc() allocated space by 50%. 2) Reduce the size of (files_struct), using a special 32 bits (or 64bits) embedded_fd_set, instead of a 1024 bits fd_set for the close_on_exec_init and open_fds_init fields. This save some ram (248 bytes per task) as most tasks dont open more than 32 files. D-Cache footprint for such tasks is also reduced to the minimum. 3) Reduce size of allocated fdset. Currently two full pages are allocated, that is 32768 bits on x86 for example, and way too much. The minimum is now L1_CACHE_BYTES. UP and SMP should benefit from this patch, because most tasks will touch only one cache line when open()/close() stdin/stdout/stderr (0/1/2), (next_fd, close_on_exec_init, open_fds_init, fd_array[0 .. 2] being in the same cache line) Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8733c2956968a01394a4d2a9e97a8b431a78776 tree 9743c9020eb5193efa4a0f102b3a7eb1d999c4fd parent b8e31edc10d160a8bf2159541d9d12f2079a0887 author Andrew Morton Thu, 23 Mar 2006 03:00:11 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:09 -0800 [PATCH] ext3_readdir: use generic readahead Linus points out that ext3_readdir's readahead only cuts in when ext3_readdir() is operating at the very start of the directory. So for large directories we end up performing no readahead at all and we suck. So take it all out and use the core VM's page_cache_readahead(). This means that ext3 directory reads will use all of readahead's dynamic sizing goop. Note that we're using the directory's filp->f_ra to hold the readahead state, but readahead is actually being performed against the underlying blockdev's address_space. Fortunately the readahead code is all set up to handle this. Tested with printk. It works. I was struggling to find a real workload which actually cared. (The patch also exports page_cache_readahead() to GPL modules) Cc: "Stephen C. Tweedie" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8e31edc10d160a8bf2159541d9d12f2079a0887 tree 82509ee100b594837024b2c28f586f995e1919da parent 9b238205ba5d79a8a242d7a5ddb82b89e4dc4e48 author Jean Delvare Thu, 23 Mar 2006 03:00:09 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] m68k: rtc driver cleanup Use the standard BCD macros instead of redefining them. Signed-off-by: Jean Delvare Cc: Geert Uytterhoeven Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b238205ba5d79a8a242d7a5ddb82b89e4dc4e48 tree 494b06bddd9d6b28a4e83ad7b49523a92ee5b207 parent 94c188d32996beac00426740974310e32f162c14 author Luca Tettamanti Thu, 23 Mar 2006 03:00:09 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: add s2ram ioctl to userland interface Add the SNAPSHOT_S2RAM ioctl to the snapshot device. This ioctl allows a userland application to make the system (previously frozen with the SNAPSHOT_FREE ioctl) enter the S3 state without freezing processes and disabling nonboot CPUs for the second time. This will allow us to implement the suspend-to-disk-and-RAM (STDR) functionality in the userland suspend tools. Signed-off-by: Luca Tettamanti Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94c188d32996beac00426740974310e32f162c14 tree 3397f055957e233554cdd17c645ecc8f7ea7c074 parent ff4da2e262d2509fe1bacff70dd00934be569c66 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:08 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: let userland tools switch console on suspend Remove the console-switching code from the suspend part of the swsusp userland interface and let the userland tools switch the console. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff4da2e262d2509fe1bacff70dd00934be569c66 tree 1e171f1858be98f4a7c6ea3f92358b692dab44dc parent e4e4d665560c75afb6060cb43bb6738777648ca1 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:07 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: add check for suspension of X-controlled devices It is unsafe to suspend devices if the hardware is controlled by X. Add an extra check to prevent this from happening. Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4e4d665560c75afb6060cb43bb6738777648ca1 tree 6ba2593af7c9ad44c3348d7a66daa902b0fd3ecf parent fc558a7496bfab3d29a68953b07a95883fdcfbb1 author Shaohua Li Thu, 23 Mar 2006 03:00:06 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: drain high mem pages Highmem could be in pcp list as well. Signed-off-by: Shaohua Li Acked-by: Pavel Machek Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc558a7496bfab3d29a68953b07a95883fdcfbb1 tree f40935c321e088b40608ebbcc8fc502d269578da parent ce6ed29f3136bc4b3644ecf4091d6390d444f628 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:05 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: finally solve mysqld problem This patch from Pavel moves userland freeze signals handling into more logical place. It now hits even with mysqld running. Signed-off-by: Rafael J. Wysocki Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce6ed29f3136bc4b3644ecf4091d6390d444f628 tree c85e83dd19f6954198721a5a3087aa97075c5f74 parent 02aaeb9b952f30b1ad6284d5d45be02030f679db author Pavel Machek Thu, 23 Mar 2006 03:00:05 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] suspend: make progress printing prettier Combination of printk/pr_debug led to <7> in the middle of the line, and we printed way too many dots. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02aaeb9b952f30b1ad6284d5d45be02030f679db tree 6577fcc544d34fbc9951be5dc1089ac227440573 parent 6e1819d615f24ce0726a7d0bd3dd0152d7b21654 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:04 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:08 -0800 [PATCH] swsusp: freeze user space processes first Allow swsusp to freeze processes successfully under heavy load by freezing userspace processes before kernel threads. [Thanks to Nigel Cunningham for suggesting the way to go.] Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e1819d615f24ce0726a7d0bd3dd0152d7b21654 tree abc68747446e8241a1a7103882b9f6b6e24fa274 parent 543cc27d09643640cbc34189c03a40beb8227aef author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:03 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] swsusp: userland interface This patch introduces a user space interface for swsusp. The interface is based on a special character device, called the snapshot device, that allows user space processes to perform suspend and resume-related operations with the help of some ioctls and the read()/write() functions.  Additionally it allows these processes to allocate free swap pages from a selected swap partition, called the resume partition, so that they know which sectors of the resume partition are available to them. The interface uses the same low-level system memory snapshot-handling functions that are used by the built-it swap-writing/reading code of swsusp. The interface documentation is included in the patch. The patch assumes that the major and minor numbers of the snapshot device will be 10 (ie. misc device) and 231, the registration of which has already been requested. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 543cc27d09643640cbc34189c03a40beb8227aef tree 034b4141ed5ac76b220d55c738a0eda668c1a490 parent 74c7e2efbe37378026f00ad9e7253796d7b2fc99 author Pavel Machek Thu, 23 Mar 2006 03:00:02 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] swsusp: documentation updates Update suspend-to-RAM documentation with new machines, and makes message when processes can't be stopped little clearer. (In one case, waiting longer actually did help). From: "Rafael J. Wysocki" Warn in the documentation that data may be lost if there are some filesystems mounted from USB devices before suspend. [Thanks to Alan Stern for providing the answer to the question in the Q:-A: part.] Signed-off-by: Pavel Machek Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74c7e2efbe37378026f00ad9e7253796d7b2fc99 tree ddea6072e727fb37b55a3b45122e023a3951decf parent 61159a314bca6408320c3173c1282c64f5cdaa76 author Randy Dunlap Thu, 23 Mar 2006 03:00:01 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] kernel/power: move externs to header files Move externs from C source files to header files. Signed-off-by: Randy Dunlap Cc: "Rafael J. Wysocki" Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61159a314bca6408320c3173c1282c64f5cdaa76 tree 8e1b7627443da0fd52b2fac66366dde9f7871f1e parent f577eb30afdc68233f25d4d82b04102129262365 author Rafael J. Wysocki Thu, 23 Mar 2006 03:00:00 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] swsusp: separate swap-writing/reading code Move the swap-writing/reading code of swsusp to a separate file. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f577eb30afdc68233f25d4d82b04102129262365 tree 25d3c2fa8dfbf42fd0d4776a36166736fcc1446a parent 2b322ce210aec74ae0d02938d3a01e29fe079469 author Rafael J. Wysocki Thu, 23 Mar 2006 02:59:59 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] swsusp: low level interface Introduce the low level interface that can be used for handling the snapshot of the system memory by the in-kernel swap-writing/reading code of swsusp and the userland interface code (to be introduced shortly). Also change the way in which swsusp records the allocated swap pages and, consequently, simplifies the in-kernel swap-writing/reading code (this is necessary for the userland interface too). To this end, it introduces two helper functions in mm/swapfile.c, so that the swsusp code does not refer directly to the swap internals. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b322ce210aec74ae0d02938d3a01e29fe079469 tree a9cb9aa9530cadacae62caf009db506db16eb3c1 parent bdaff4a331db46f3bd953f413316c4603c4004b4 author Andrew Morton Thu, 23 Mar 2006 02:59:58 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] revert "swsusp: fix breakage with swap on lvm" This was a temporary thing for 2.6.16. Cc: "Rafael J. Wysocki" Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdaff4a331db46f3bd953f413316c4603c4004b4 tree a0c379bb38725c912ae674866e5db1b5d7e44d50 parent aeefc956d5d8f8402216a5447bd72ade9eb37eff author Ashok Raj Thu, 23 Mar 2006 02:59:57 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] x86 topology: don;t create a control file for BSP that cannot be removed Don't create "online" control file for BSP (i386/x86_64) since its not removable. We originally added this to support ppc64 if the kernel has support but BIOS indicated no offline support, we just didnt create online files for them. We used the same method in ia64 as well, if we have a cpu taking platform interrupts but cannot be removed if those interrupts cannot be re-targeted to another cpu. Signed-off-by: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aeefc956d5d8f8402216a5447bd72ade9eb37eff tree 982c643fe5288bc3228e3237eaab9e4406b811c1 parent 905c399594f85322a4e513a4b0365b70d6de9fd0 author Markus Gutschke Thu, 23 Mar 2006 02:59:56 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:07 -0800 [PATCH] x86: Make _syscallX() macros compile in PIC mode Gcc reserves %ebx when compiling position-independent-code on i386. This means, the _syscallX() macros in include/asm-i386/unistd.h will not compile. This patch is changes the existing macros to take special care to preserve %ebx. The bug can be tracked at http://bugzilla.kernel.org/show_bug.cgi?id=6204 Signed-off-by: Markus Gutschke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 905c399594f85322a4e513a4b0365b70d6de9fd0 tree 66e44a32d1e5c263a643e130c71e10132c195bc0 parent 42c059e04d507802006911e316d86aa8ef75eb73 author Adrian Bunk Thu, 23 Mar 2006 02:59:55 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] x86: some fixups for the X86_NUMAQ dependencies You must always ensure to fulfill the dependencies of what you are select'ing. Signed-off-by: Adrian Bunk Cc: Martin Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42c059e04d507802006911e316d86aa8ef75eb73 tree 42eb9e4d5f0a578dca12a26beeae4b27d968cb4a parent 7c5c1e427b5e83807fd05419d1cf6991b9d87247 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:55 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] i386 spinlocks: disable interrupts only if we enabled them _raw_spin_lock_flags() is entered with interrupts disabled. If it cannot obtain a spinlock, it checks the flags that were passed and re-enables interrupts before spinning if that's how the flags are set. When the spinlock might be available, it disables interrupts (even if they are already disabled) before trying to get the lock. Change that so interrupts are only disabled if they have been enabled. This costs nine bytes of duplicated spinloop code. Fastpath before patch: jle not-taken conditional jump cli disable interrupts jmp unconditional jump Fastpath after patch, if interrupts were not enabled: jg taken conditional branch Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c5c1e427b5e83807fd05419d1cf6991b9d87247 tree 780820efe1aa9ef26e756c157b14de9d3f84649f parent f2d0d263b51d13efe55f0aae9254b69ba2855f1c author Shaohua Li Thu, 23 Mar 2006 02:59:53 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] x86: deterine xapic using apic version Checking APIC version instead of CPU family to determine XAPIC. Family 6 CPU could have xapic as well. Signed-off-by: Shaohua Li Cc: Dave Jones Cc: "Seth, Rohit" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d0d263b51d13efe55f0aae9254b69ba2855f1c tree a392ca227a460b22fe90cc5bca73e18e0b70cbdb parent 75874d5cc8efef22457072e14103dc55f164e64e author Shaohua Li Thu, 23 Mar 2006 02:59:52 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] x86: cpuid.4 doesn't need cpu level 5 Detecting cache line using cpuid.4, cpuid level 4 is enough. Signed-off-by: Shaohua Li Cc: Dave Jones Cc: "Seth, Rohit" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75874d5cc8efef22457072e14103dc55f164e64e tree 86458247e120310fdd6679e4575102958b6c022c parent 4ef0652a74d9c460299b00566d033bd45d60da98 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:52 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] i386: fix dump_stack() i386 has a small bug in the stack dump code where it prints an extra log level code. Remove that and fix the alignment of normal stack dump printout. Also remove some unnecessary printk() calls. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ef0652a74d9c460299b00566d033bd45d60da98 tree 3770089061358447923d8373b163868dd78dc81c parent 52f4a91afd9316fb4f0f3a77c5ff56b9c98632ea author Jan Beulich Thu, 23 Mar 2006 02:59:51 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] i386: cleanup after cpu_gdt_descr conversion to per-cpu data With cpu_gdt_descr having been converted to per-CPU data, the old object (in head.S) no longer needs to reserve space for each CPU's instance. With cpu_gdt_table not being used for CPU 0 anymore, it doesn't seem to need page alignment (or if in fact there is a need for it to retain that alignment, the whole object should go into .data.page_align). Signed-off-by: Jan Beulich Acked-by: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52f4a91afd9316fb4f0f3a77c5ff56b9c98632ea tree b3cd99d7c9474e50dfd819a3feba3ee3d93d9b44 parent 382dbd07c9cb4f255c28f680996ad819a8ce9bfe author Jesper Juhl Thu, 23 Mar 2006 02:59:50 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] Fix the imlicit declaration of mtrr_centaur_report_mcr in arch/i386/kernel/cpu/centaur.c arch/i386/kernel/cpu/centaur.c: In function `centaur_mcr_insert': arch/i386/kernel/cpu/centaur.c:33: warning: implicit declaration of function `mtrr_centaur_report_mcr' Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 382dbd07c9cb4f255c28f680996ad819a8ce9bfe tree f3f84864b8164704a21b72e071c4868c9f1dc828 parent be0a39120cb6b88bd085a3a280f5c769a3ed85ad author Jesper Juhl Thu, 23 Mar 2006 02:59:49 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] fix implicit declaration of GET_APIC_ID in arch/i386/kernel/apic.c arch/i386/kernel/apic.c:840: warning: implicit declaration of function `GET_APIC_ID' Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be0a39120cb6b88bd085a3a280f5c769a3ed85ad tree 39a882518d67f22894cdec615db32aad2b070f73 parent 635cf99a80f4ebee59d70eb64bb85ce829e4591f author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:48 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:06 -0800 [PATCH] i386: more vsyscall documentation Document a limitation of vsyscall-sysenter, since patches to fix it have been rejected. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 635cf99a80f4ebee59d70eb64bb85ce829e4591f tree 6c204f34a959d62852812a85faefec5e5bd81b1f parent db753bdfc24c31228996799d508ce3bf7cbe3b99 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:48 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] i386: fix singlestep through an int80 syscall Using PTRACE_SINGLESTEP on a child that does an int80 syscall misses the SIGTRAP that should be delivered upon syscall exit. Fix that by setting TIF_SINGLESTEP when entering the kernel via int80 with TF set. /* Test whether singlestep through an int80 syscall works. */ #define _GNU_SOURCE #include #include #include #include #include #include #include static int child, status; static struct user_regs_struct regs; static void do_child() { ptrace(PTRACE_TRACEME, 0, 0, 0); kill(getpid(), SIGUSR1); asm ("int $0x80" : : "a" (20)); /* getpid */ } static void do_parent() { unsigned long eip, expected = 0; again: waitpid(child, &status, 0); if (WIFEXITED(status) || WIFSIGNALED(status)) return; if (WIFSTOPPED(status)) { ptrace(PTRACE_GETREGS, child, 0, ®s); eip = regs.eip; if (expected) fprintf(stderr, "child stop @ %08x, expected %08x %s\n", eip, expected, eip == expected ? "" : " <== ERROR"); if (*(unsigned short *)eip == 0x80cd) { fprintf(stderr, "int 0x80 at %08x\n", (unsigned int)eip); expected = eip + 2; } else expected = 0; ptrace(PTRACE_SINGLESTEP, child, NULL, NULL); } goto again; } int main(int argc, char * const argv[]) { child = fork(); if (child) do_parent(); else do_child(); return 0; } Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db753bdfc24c31228996799d508ce3bf7cbe3b99 tree 620f4154d7c297857fa9d9512ccaeb113342c078 parent 101f12af16fb12f8da8100899a13ee1b1b576a0a author Jan Beulich Thu, 23 Mar 2006 02:59:46 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] i386: fix uses of user_mode() vs. user_mode_vm() >commit 76381fee7e8feb4c22be636aa5d4765dbe4fbf9e >Author: Vincent Hanquez >Date: Thu Jun 23 00:08:46 2005 -0700 > > [PATCH] xen: x86_64: use more usermode macro > > Make use of the user_mode macro where it's possible. This is useful for Xen > because it will need only to redefine only the macro to a hypervisor call. I am of the opinion that the above changeset is incomplete, i.e. it missed converting some previous uses of user_mode to user_mode_vm. While most of them could be considered just cosmetical, at least the one in die_nmi doesn't appear to be. Signed-off-by: Jan Beulich Cc: Vincent Hanquez Cc: Zachary Amsden Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 101f12af16fb12f8da8100899a13ee1b1b576a0a tree 0bea73d2702ba438e8e82bc8000b498aa50aee6e parent 44fd22992cb76dc51c52cf4b8aff1bc7899bb23c author Jan Beulich Thu, 23 Mar 2006 02:59:45 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] i386: actively synchronize vmalloc area when registering certain callbacks Registering a callback handler through register_die_notifier() is obviously primarily intended for use by modules. However, the way these currently get called it is basically impossible for them to actually be used by modules, as there is, on non-PAE configurationes, a good chance (the larger the module, the better) for the system to crash as a result. This is because the callback gets invoked (a) in the page fault path before the top level page table propagation gets carried out (hence a fault to propagate the top level page table entry/entries mapping to module's code/data would nest infinitly) and (b) in the NMI path, where nested faults must absolutely not happen, since otherwise the IRET from the nested fault re-enables NMIs, potentially resulting in nested NMI occurences. Besides the modular aspect, similar problems would even arise for in- kernel consumers of the API if they touched ioremap()ed or vmalloc()ed memory inside their handlers. Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44fd22992cb76dc51c52cf4b8aff1bc7899bb23c tree ef10367137a340a554ebb3989598ef8af44d420b parent ffa930ef55ae82c09e30b2a0c4ce5d7fdea041e2 author Stas Sergeev Thu, 23 Mar 2006 02:59:44 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] Register the boot-cpu in the cpu maps earlier Register the boot-cpu in the cpu maps earlier to allow the early printk to work, and to fix an obscure deadlock at boot. Signed-off-by: Stas Sergeev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ffa930ef55ae82c09e30b2a0c4ce5d7fdea041e2 tree 400b18f0eca74fb0728010c25f20166e8410b608 parent 98e7d9b0529b6a348f2978a926806930a9902067 author Andrew Morton Thu, 23 Mar 2006 02:59:43 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] x86: early_printk(): remove MAX_YPOS and MAX_XPOS macros Expand out these fairly pointless macros. Cc: Chuck Ebbert <76306.1226@compuserve.com> Cc: Stas Sergeev Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98e7d9b0529b6a348f2978a926806930a9902067 tree 9e00dfe4775f88f2c9dc21aa25a081edb374a436 parent 99b7de33477882b86d54ce8ecbf90147f9d106d7 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:42 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] x86: start early_printk at sensible screen row Use boot info to start early_printk() at the current row on VGA console, as left by the boot loader. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Cc: Stas Sergeev Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99b7de33477882b86d54ce8ecbf90147f9d106d7 tree 1409719376eff18346aa6f15ad9d2f698d61302e parent 8bed51cd17464433a0c77afc8a5150e51d3da37d author Stas Sergeev Thu, 23 Mar 2006 02:59:41 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] x86: early printk handling fixes The history is that -mm kernels do not work for me for a few months already. The things started from crashing somewhere after starting init, and for the last month - no boot at all, just "Uncompressing... OK, booting kernel", and silence. Early console didn't work too. With the latest releases this degraded into an infinite stream of the "Unknown interrupt or fault" messages. So today my patience ran out and I started to think how can I collect at least some info for the bug-report. Attached is the patch that allows to gather some valueable debug info on the problem by making an early console more useable. I can't properly test the patch, as the kernel still doesn't boot, so I'll explain it in details in a hope someone else can justify the intrusive changes. arch_hooks.h: added prototypes for setup_early_printk() and early_printk(). setup.c: killed wrong setup_early_printk() prototype. Moved setup_early_printk() a bit earlier, as it was not "early enough" to cover the bug I was fighting with. early_printk.c: made it to start printing from the bottom of the screen, otherwise the messages interfere with the ones of the boot-loader, so you can't read them. Signed-off-by: Stas Sergeev Cc: Andi Kleen Cc: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bed51cd17464433a0c77afc8a5150e51d3da37d tree 7ffd751ba256f1f88e5888f624cb6e08c2a95bd7 parent 3c36c6aa4aa1b3483c6a0370028608367426f58e author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:40 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:05 -0800 [PATCH] i386: let signal handlers set the resume flag Allow signal handlers to set the RF bit in EFLAGS. This lets a simple debugger using SIGTRAP skip one instruction after returning from a signal. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c36c6aa4aa1b3483c6a0370028608367426f58e tree 2eaa033543eb67536f7da6ac1912f7a41e87ff7e parent cc04ee9cc527e314e6906849ee931c33764f861e author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:39 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: Don't let ptrace set the nested task bit There's no good reason for allowing ptrace to set the NT bit in EFLAGS, so mask it off. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc04ee9cc527e314e6906849ee931c33764f861e tree 525858d30d3160a19a820c8286868330e6edc445 parent 7c63ee5cf7d210b51c2a8243e29988edec2646ed author Jean Delvare Thu, 23 Mar 2006 02:59:38 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386 traps: merge printk calls Merge a few printk calls in i386 traps. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c63ee5cf7d210b51c2a8243e29988edec2646ed tree 7f859d08d8973129859b307beb11a2aaa7268dea parent e5428ede94179ddccaa56308e0f194fa299edbb4 author Chris Wright Thu, 23 Mar 2006 02:59:37 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: remove duplicate declaration of mp_bus_id_to_pci_bus mp_bus_id_to_pci_bus is declared identically twice. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5428ede94179ddccaa56308e0f194fa299edbb4 tree baba6926b3176442d9bf8cdcc86a5ed30bac22ba parent 54a20f8c5d778ed3603130de4b92f64405228611 author Natalie.Protasevich@unisys.com Thu, 23 Mar 2006 02:59:36 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] Compilation fix for ES7000 when no ACPI is specified in config (i386) ES7000 platform code clean up for compilation errors and a warning. Ifdef'd the ACPI related parts in the ES7000 platform code. They were causing compile errors in certain configuration (without ACPI defined). I think this approach would be best (as opposed to Kconfig changes) since it only touches the subarch... Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54a20f8c5d778ed3603130de4b92f64405228611 tree ced7969ecc3348c0aadd700e93c74449fd76b5ca parent 30e931d4092713cecd6b8c2fd70f268efaa6e428 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:36 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: fall back to sensible CPU model name When vendor-specific i386 initialization code is unavailable the kernel falls back to a default CPU model name. Make that model name reflect the CPU family instead of an internal vendor index. Tested on Pentium II (family 6 model 5). /proc/cpuinfo before: model name : ff/05 after: model name : 06/05 Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Acked-by: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30e931d4092713cecd6b8c2fd70f268efaa6e428 tree e7425d6e23720399d4f1a3078e63e03d62ca1d63 parent 4f88651125e2ca8b106b6f65b65ea45776517bf3 author Eric W. Biederman Thu, 23 Mar 2006 02:59:35 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: Add a temporary to make put_user more type safe In some code I am developing I had occasion to change the type of a variable. This made the value put_user was putting to user space wrong. But the code continued to build cleanly without errors. Introducing a temporary fixes this problem and at least with gcc-3.3.5 does not cause gcc any problems with optimizing out the temporary. gcc-4.x using SSA internally ought to be even better at optimizing out temporaries, so I don't expect a temporary to become a problem. Especially because in all correct cases the types on both sides of the assignment to the temporary are the same. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f88651125e2ca8b106b6f65b65ea45776517bf3 tree a9865c268c57bd1752a66899615d8694d5ddaea8 parent 3bc9b76bede9b3c72088258c7e72eb823f3351d4 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:34 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: allow disabling X86_FEATURE_SEP at boot Allow the x86 "sep" feature to be disabled at bootup. This forces use of the int80 vsyscall. Mainly for testing or benchmarking the int80 vsyscall code. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3bc9b76bede9b3c72088258c7e72eb823f3351d4 tree 9f1eed2e6ebc9e7a990178e62b55fb6ee3267d8f parent 9a0b5817ad97bb718ab85322759d19a238712b47 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:33 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] i386: __devinit should be __cpuinit Several places in arch/i386/kernel/cpu and kernel/cpu were using __devinit when they should have been __cpuinit. Fixing that saves ~4K when CONFIG_HOTPLUG && !CONFIG_HOTPLUG_CPU. Noticed by Andrew Morton. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a0b5817ad97bb718ab85322759d19a238712b47 tree 39bd21eb69c4001b99096d96a76a2e5d37904108 parent 4d7d8c82c181711d28c8336108330a9121f5ef07 author Gerd Hoffmann Thu, 23 Mar 2006 02:59:32 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:04 -0800 [PATCH] x86: SMP alternatives Implement SMP alternatives, i.e. switching at runtime between different code versions for UP and SMP. The code can patch both SMP->UP and UP->SMP. The UP->SMP case is useful for CPU hotplug. With CONFIG_CPU_HOTPLUG enabled the code switches to UP at boot time and when the number of CPUs goes down to 1, and switches to SMP when the number of CPUs goes up to 2. Without CONFIG_CPU_HOTPLUG or on non-SMP-capable systems the code is patched once at boot time (if needed) and the tables are released afterwards. The changes in detail: * The current alternatives bits are moved to a separate file, the SMP alternatives code is added there. * The patch adds some new elf sections to the kernel: .smp_altinstructions like .altinstructions, also contains a list of alt_instr structs. .smp_altinstr_replacement like .altinstr_replacement, but also has some space to save original instruction before replaving it. .smp_locks list of pointers to lock prefixes which can be nop'ed out on UP. The first two are used to replace more complex instruction sequences such as spinlocks and semaphores. It would be possible to deal with the lock prefixes with that as well, but by handling them as special case the table sizes become much smaller. * The sections are page-aligned and padded up to page size, so they can be free if they are not needed. * Splitted the code to release init pages to a separate function and use it to release the elf sections if they are unused. Signed-off-by: Gerd Hoffmann Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d7d8c82c181711d28c8336108330a9121f5ef07 tree 2e1537702c1e8447dfbe5b5917333f58f4416c1a parent b824eb605ccba995fd32c6590aed365f93d48002 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 23 Mar 2006 02:59:30 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] i386: multi-column stack backtraces Print stack backtraces in multiple columns, saving screen space. Number of columns is configurable and defaults to one so behavior is backwards-compatible. Also removes the brackets around addresses when printing more that one entry per line so they print as:
instead of: [
] This helps multiple entries fit better on one line. Original idea by Dave Jones, taken from x86_64. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b824eb605ccba995fd32c6590aed365f93d48002 tree f5720240b044b46ac83e127e2c5586cd8ef2ed75 parent 69ef4141e03fab1c6956d3c760584c72b548a26f author Ingo Molnar Thu, 23 Mar 2006 02:59:29 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] Make CONFIG_REGPARM enabled by default Make CONFIG_REGPARM enabled by default. It's a noticable win both for size and for performance, and gcc[34] handles it correctly. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69ef4141e03fab1c6956d3c760584c72b548a26f tree 09d34f7e57d0938b788ad59fedbd3b28d5e6cf87 parent 6bb08da4773f584a7b4a838b6b770d7d18033af7 author Adrian Bunk Thu, 23 Mar 2006 02:59:28 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] i386: let REGPARM no longer depend on EXPERIMENTAL REGPARM has already gotten much testing, what about removing the dependency on EXPERIMENTAL? Additionally, this patch does: - remove the useless "default n" - remove note regarding binary only modules (nowadays, there are even some binary only modules compiled with REGPARM=y available) Signed-off-by: Adrian Bunk Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bb08da4773f584a7b4a838b6b770d7d18033af7 tree 5d19e8bb1c1f17e2e270f55bc238b326d5a6a3f6 parent 61808c2bbba127ecd9786401c55ea4c394aa0240 author Davi Arnaut Thu, 23 Mar 2006 02:59:25 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] Bug fixes and cleanup for the BSD Secure Levels LSM This patch address several issues in the current BSD Secure Levels code: o plaintext_to_sha1: Missing check for a NULL return from __get_free_page o passwd_write_file: A page is leaked if the password is wrong. o fix securityfs registration order o seclvl_init is a mess and can't properly tolerate failures, failure path is upside down (deldif and delf should be switched) Cleanups: o plaintext_to_sha1: Use buffers passed in o passwd_write_file: Use kmalloc() instead of get_zeroed_page() o passwd_write_file: hashedPassword comparison is just memcmp o s/ENOSYS/EINVAL/ o misc (akpm: after some discussion it appears that the BSD secure levels feature should be scheduled for removal. But for now, let's fix these problems up). Signed-off-by: Davi Arnaut Cc: Michael Halcrow Cc: Chris Wright Cc: Stephen Smalley Cc: James Morris Cc: Serge Hallyn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61808c2bbba127ecd9786401c55ea4c394aa0240 tree 83aa48dd211bb71a825f7999dd01d859d063ff4f parent 9e71f9c848e669f003b1319da52f03cb8e7d7403 author Patrick McHardy Thu, 23 Mar 2006 02:59:24 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] cciss: fix use-after-free in cciss_init_one free_hba() sets hba[i] to NULL, the dereference afterwards results in this crash. Setting busy_initializing to 0 actually looks unnecessary, but I'm not entirely sure, which is why I left it in. cciss: controller appears to be disabled Unable to handle kernel NULL pointer dereference at virtual address 00000370 printing eip: c1114d53 *pde = 00000000 Oops: 0002 [#1] Modules linked in: CPU: 0 EIP: 0060:[] Not tainted VLI EFLAGS: 00010286 (2.6.16 #1) EIP is at cciss_init_one+0x4e9/0x4fe eax: 00000000 ebx: c132cd60 ecx: c13154e4 edx: c27d3c00 esi: 00000000 edi: c2748800 ebp: c2536ee4 esp: c2536eb8 ds: 007b es: 007b ss: 0068 Process swapper (pid: 1, threadinfo=c2536000 task=c2535a30) Stack: <0>00000000 00000000 00000000 c13fdba0 c2536ee8 c13159c0 c2536f38 f7c74740 c132cd60 c132cd60 ffffffed c2536ef0 c10c1d51 c2748800 c2536f04 c10c1d85 c132cd60 c2748800 c132cd8c c2536f14 c10c1db8 c2748848 00000000 c2536f28 Call Trace: [] show_stack_log_lvl+0xa8/0xb0 [] show_registers+0x102/0x16a [] die+0xc1/0x13c [] do_page_fault+0x38a/0x525 [] error_code+0x4f/0x54 [] pci_call_probe+0xd/0x10 [] __pci_device_probe+0x31/0x43 [] pci_device_probe+0x21/0x34 [] driver_probe_device+0x44/0x99 [] __driver_attach+0x39/0x5d [] bus_for_each_dev+0x35/0x5a [] driver_attach+0x14/0x16 [] bus_add_driver+0x5c/0x8f [] driver_register+0x73/0x78 [] __pci_register_driver+0x5f/0x71 [] cciss_init+0x1a/0x1c [] do_initcalls+0x4c/0x96 [] do_basic_setup+0x1c/0x1e [] init+0x35/0x118 [] kernel_thread_helper+0x5/0xb Code: 04 b5 e0 de 40 c1 8d 50 04 8b 40 34 e8 3f b7 f9 ff 8b 04 b5 e0 de 40 c1 e8 aa f3 ff ff 89 f0 e8 e8 fa ff ff 8b 04 b5 e0 de 40 c1 80 70 03 00 00 00 00 00 00 83 c8 ff 8d 65 f4 5b 5e 5f 5d c3 <0>Kernel panic - not syncing: Attempted to kill init! Signed-off-by: Patrick McHardy Cc: Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e71f9c848e669f003b1319da52f03cb8e7d7403 tree 3c873cce6b2d5da5237be20fe98124e8f4968d4d parent e9028b0ff2bad1954568604dc17725692c8524d6 author NeilBrown Thu, 23 Mar 2006 02:59:22 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:03 -0800 [PATCH] DM: Fix bug: BIO_RW_BARRIER requests to md/raid1 hang. Both R1BIO_Barrier and R1BIO_Returned are 4 !!!! This means that barrier requests don't get returned (i.e. b_endio called) because it looks like they already have been. Signed-off-by: Neil Brown Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9028b0ff2bad1954568604dc17725692c8524d6 tree dbff742d39520574e5985930333f1d421282e080 parent 5be0e9511990dc307670dc66a42073db96b20f26 author Anton Blanchard Thu, 23 Mar 2006 02:59:20 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:02 -0800 [PATCH] fix scheduler deadlock We have noticed lockups during boot when stress testing kexec on ppc64. Two cpus would deadlock in scheduler code trying to grab already taken spinlocks. The double_rq_lock code uses the address of the runqueue to order the taking of multiple locks. This address is a per cpu variable: if (rq1 < rq2) { spin_lock(&rq1->lock); spin_lock(&rq2->lock); } else { spin_lock(&rq2->lock); spin_lock(&rq1->lock); } On the other hand, the code in wake_sleeping_dependent uses the cpu id order to grab locks: for_each_cpu_mask(i, sibling_map) spin_lock(&cpu_rq(i)->lock); This means we rely on the address of per cpu data increasing as cpu ids increase. While this will be true for the generic percpu implementation it may not be true for arch specific implementations. One way to solve this is to always take runqueues in cpu id order. To do this we add a cpu variable to the runqueue and check it in the double runqueue locking functions. Signed-off-by: Anton Blanchard Acked-by: Ingo Molnar Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5be0e9511990dc307670dc66a42073db96b20f26 tree 2d0ce6f2c750ba4aac1560a502583d7274f519d7 parent fcab1e51796d8bcd1a7969ff52bd904d38748e00 author Neil Horman Thu, 23 Mar 2006 02:59:19 -0800 committer Linus Torvalds Thu, 23 Mar 2006 07:38:02 -0800 [PATCH] proc: fix duplicate line in /proc/devices Fix a duplicate block device line printed after the "Block device" header in /proc/devices. Signed-off-by: Neil Horman Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 949763b2b8822c6dc6da0d0e1d4af092152546c2 tree 241f024e5eb4e8aeb3aa89e0e3972211e3e1c07b parent 78264bd9c239237fe356c32d08abf8e52a2d8737 author Anton Altaparmakov Thu, 23 Mar 2006 15:34:13 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:34:13 +0000 NTFS: Fix comparison of $MFT and $MFTMirr to not bail out when there are unused, invalid mft records which are the same in both $MFT and $MFTMirr. Signed-off-by: Anton Altaparmakov commit fcab1e51796d8bcd1a7969ff52bd904d38748e00 tree ed2429321d8d12e9ec93fa2c0aec31fdc3d7b267 parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Nick Piggin Thu, 23 Mar 2006 07:48:16 +0100 committer Linus Torvalds Thu, 23 Mar 2006 07:15:21 -0800 [PATCH] sparc64: fix set_page_count merge clash Merge clash will have broken sparc64. Synch up its online_page implementation with powerpc, which was identical until the set_page_count removal. Signed-off-by: Nick Piggin Signed-off-by: Linus Torvalds commit 78264bd9c239237fe356c32d08abf8e52a2d8737 tree c06736b2677be53b7ec1aafe4e0ad9f42763e35a parent 3ccc7384db3d762e834dfdae13c1d6434b2fdeab author Anton Altaparmakov Thu, 23 Mar 2006 15:06:18 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:06:18 +0000 NTFS: Use buffer_migrate_page() for the ->migratepage function of all ntfs address space operations. Signed-off-by: Anton Altaparmakov commit 3ccc7384db3d762e834dfdae13c1d6434b2fdeab tree 2bddfd2b0c5e1f2098c95d0c6bd611e33971591d parent 67b1dfe77a2eb2a88b37cd77b8979cbdb7695bd6 author Anton Altaparmakov Thu, 23 Mar 2006 15:03:11 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 15:03:11 +0000 NTFS: Fix a buggette in an "should be impossible" case handling where we continued the attribute lookup loop instead of aborting it. Signed-off-by: Anton Altaparmakov commit 67b1dfe77a2eb2a88b37cd77b8979cbdb7695bd6 tree 95383ef7826a451dea08d58518219ce30b96880d parent b4d8d1a93c6ea042b29bb66fbb1cf6bc556c18f7 author Anton Altaparmakov Thu, 23 Mar 2006 14:57:43 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 14:57:43 +0000 NTFS: Fix an (innocent) off-by-one error in the runlist code. Signed-off-by: Anton Altaparmakov commit b4d8d1a93c6ea042b29bb66fbb1cf6bc556c18f7 tree 030ef62361042d1a034087ad9a726db3b57bba72 parent bb8047d3540affd6b8c2adac3fe792e07143be0f parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Anton Altaparmakov Thu, 23 Mar 2006 14:50:51 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 14:50:51 +0000 Merge branch 'master' of /usr/src/ntfs-2.6/ commit 74293759002aa7db0179158c20676a034614577b tree 030ef62361042d1a034087ad9a726db3b57bba72 parent bb8047d3540affd6b8c2adac3fe792e07143be0f parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Anton Altaparmakov Thu, 23 Mar 2006 14:39:08 +0000 committer Anton Altaparmakov Thu, 23 Mar 2006 14:39:08 +0000 Merge branch 'master' of /home/aia21/ntfs-2.6/ commit 9aa45e34d2948f360f8c0e63d10f49015ca51edd tree 52b5715c005a81989e0d3660bcffa0a6a9ed0e34 parent 5a313c59bcc5062fc56088d5ff9289828c4b6626 author Jean Delvare Wed, 22 Mar 2006 03:48:35 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:30 -0300 V4L/DVB (3568k): zoran: Use i2c_master_send when possible Change all the Zoran (ZR36050/ZR36060) drivers to use i2c_master_send instead of i2c_transfer when possible. This simplifies the code by a few lines in each driver. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 5a313c59bcc5062fc56088d5ff9289828c4b6626 tree 689cfceb1a7dbc8a80ef9e93f5efde1156a80ffe parent 2467a670ee24631b05e91971286730e71f6a6af0 author Jean Delvare Wed, 22 Mar 2006 03:48:34 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:28 -0300 V4L/DVB (3568j): adv7175: Drop unused encoder dump command Drop support for the ENCODER_DUMP command in the adv7175 driver. ENCODER_DUMP was never actually defined as far as I can see, so the code was ifdef'd out, and I suspect it was never used, not even once, as it includes an obvious array overrun. The register values of this specific chip can be dumped in a generic way using the i2c-dev driver and the "i2cdump" user-space tool if it is ever really needed. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 2467a670ee24631b05e91971286730e71f6a6af0 tree e2041d5d988e18dd780525fa7dde6b62145b1a88 parent 2f8de1a10697efe7bee08e51b587208706b44e97 author Jean Delvare Wed, 22 Mar 2006 03:48:34 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:25 -0300 V4L/DVB (3568i): adv7175: Drop unused register cache Drop the adv7175 register cache, as it is only written to and never read back from. This saves 128 bytes of memory and slightly speeds up the register writes. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 2f8de1a10697efe7bee08e51b587208706b44e97 tree bc25a39f59593fe7dd935e5fd4cee22e61b76e1b parent 384c36893f94e0e2145832cf2f20684ae372aee5 author Randy Dunlap Tue, 21 Mar 2006 14:53:22 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:22 -0300 V4L/DVB (3568h): cpia: correct email address Correct email address typo (erdfeld -> erdfelt). Signed-off-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab commit 384c36893f94e0e2145832cf2f20684ae372aee5 tree 14a70539e5c4601a9d1e82beaf5990560f2852b1 parent 6201573cc9bfe1e0bdec229bed8e95b0dc88a587 author Ingo Molnar Wed, 22 Mar 2006 03:54:16 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:19 -0300 V4L/DVB (3568g): sem2mutex: zoran Semaphore to mutexes conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 6201573cc9bfe1e0bdec229bed8e95b0dc88a587 tree 35a5377e4bc8ba7a94d53631911638b5a739034a parent f49a5eaea6d7b3ed3d01ca9388eac9e7e5bf6025 author Jean Delvare Wed, 22 Mar 2006 03:48:30 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:16 -0300 V4L/DVB (3568f): saa7110: Fix array overrun Fix a (probably harmless) array overrun in the DECODER_DUMP command of the saa7110 driver. No big deal as this command is not used anywhere anyway. Also reformat the dump so that it displays nicely. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit f49a5eaea6d7b3ed3d01ca9388eac9e7e5bf6025 tree b6aa64eaea8d47dd4419d76d170702242058eb66 parent 58a0b84c92e62c2cc42036259a4b51e0bcaf8fa5 author Jean Delvare Wed, 22 Mar 2006 03:48:36 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:13 -0300 V4L/DVB (3568e): bt856: Spare memory The bt856 driver has a register cache much larger than needed. We really only write to 3 registers, so a 32-byte cache is a bit too much. We can be just as efficient with a 6-byte cache. We could even do with a 3-byte cache, but at the cost of additional arithmetics arguably not worth the spared 3 bytes. Also, 4 of the 6 other members of the bt856 data structure were not used anywhere, so we can as well drop them for an additional 16 bytes of memory spared. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 58a0b84c92e62c2cc42036259a4b51e0bcaf8fa5 tree 0c58f0e641fc1c64702dd330d971bb9a71643dac parent daf72f408c66aee4ac939f614293a78841aa7717 author Martin Samuelsson Wed, 22 Mar 2006 03:48:38 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:10 -0300 V4L/DVB (3568d): saa7111.c fix When grabbing composite video with Iomega Buz, the stock driver will prevent grabbing from the same input twice in a row, forcing the user to switch inputs before anything useful can be grabbed again. It is caused by some optimization code in the input selection parts, and triggered by the saa7111_command() executing cmd 0. The attached patch will remedy this by disabling cmd 0 altogether; a fix that has no found negative effects on the rest of the code. In fact, saa7110.c does the exact same thing. Acked-by: Ronald S. Bultje Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit daf72f408c66aee4ac939f614293a78841aa7717 tree 1a86c84e20fcc021a247510ca3ea089119a185c3 parent 6eb5d9ca9f1496108cb86f2d9bfc2db5d9c796fe author Jean Delvare Wed, 22 Mar 2006 03:48:37 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:08 -0300 V4L/DVB (3568c): zoran: Init cleanups Cleanups to the zr36057 initialization: * Drop intermediate local variables. * Single error path. Also drop a needless cast on kfree. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 6eb5d9ca9f1496108cb86f2d9bfc2db5d9c796fe tree 1fe693708ca8aed3f4f81dfb4a5c4254b4968e28 parent 6254312352dfd1c996245cb3bc74be901dc165cc author Jean Delvare Wed, 22 Mar 2006 03:48:32 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:05 -0300 V4L/DVB (3568b): saa7111: Prevent array overrun Explicitely state the number of registers the SAA7111 has, and use that defined value where relevant. This should prevent any future array overrun like the one I just fixed in the saa7110 driver. This patch also saves 8 bytes of memory as a side effect, as the register cache was larger than needed. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 6254312352dfd1c996245cb3bc74be901dc165cc tree 4040c6d047f4be61b0a55b0b34323d3ef34e3884 parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Jean Delvare Wed, 22 Mar 2006 03:48:33 -0300 committer Mauro Carvalho Chehab Thu, 23 Mar 2006 11:24:03 -0300 V4L/DVB (3568a): saa7114: Fix i2c block write Fix the i2c block write mode of the saa7114 driver. A previous code change accidentally commented out a local variable increment, which should have been kept, causing the register writes over the I2C bus to never be batched, replacing any attempted block write by slower, individual write transactions. Also drop the commented out code, as it only adds to confusion. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 711e2c33ac9221a419a9e28d05dd78a6a9c5fd4d tree 2d04ff5de8a0d933d3d123a52a6e4285f84e9025 parent 9a107aa24a1dbc05d58a4fdd2c4d2861f8bd5ae6 author Jean Tourrilhes Wed, 22 Feb 2006 15:10:56 -0800 committer John W. Linville Thu, 23 Mar 2006 07:12:57 -0500 [PATCH] WE-20 for kernel 2.6.16 This is version 20 of the Wireless Extensions. This is the completion of the RtNetlink work I started early 2004, it enables the full Wireless Extension API over RtNetlink. Few comments on the patch : o totally driver transparent, no change in drivers needed. o iwevent were already RtNetlink based since they were created (around 2.5.7). This adds all the regular SET and GET requests over RtNetlink, using the exact same mechanism and data format as iwevents. o This is a Kconfig option, as currently most people have no need for it. Surprisingly, patch is actually small and well encapsulated. o Tested on SMP, attention as been paid to make it 64 bits clean. o Code do probably too many checks and could be further optimised, but better safe than sorry. o RtNetlink based version of the Wireless Tools available on my web page for people inclined to try out this stuff. I would also like to thank Alexey Kuznetsov for his helpful suggestions to make this patch better. Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit 9a107aa24a1dbc05d58a4fdd2c4d2861f8bd5ae6 tree a2e0a060edb0d80228508b8d084ea96bc2360f94 parent fe0b06b123762ab620b5bee3dab1576ddddd0a7f author John W. Linville Wed, 22 Mar 2006 17:29:32 -0500 committer John W. Linville Thu, 23 Mar 2006 07:12:36 -0500 [PATCH] softmac: remove function_enter() Remove the function_enter() debugging macros. Signed-off-by: John W. Linville commit 95381c893dd71a534ab56f09b12a4e2118aa0f32 tree 91b0a89441fe0dcda04922723cd7aaa7d1985714 parent d3c7b886978bef42f5ea487dec376c482d3cd7e3 author David S. Miller Thu, 23 Mar 2006 01:29:06 -0800 committer David S. Miller Thu, 23 Mar 2006 01:29:06 -0800 [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller commit d3c7b886978bef42f5ea487dec376c482d3cd7e3 tree 0776fcc78eb223beccc5af0a88b991a7d0284677 parent af36e6b6d7f4ad7a5ccfd14dfa71ec941255f93d author Michael Chan Thu, 23 Mar 2006 01:28:25 -0800 committer David S. Miller Thu, 23 Mar 2006 01:28:25 -0800 [TG3]: Add 5755 nvram support Add 5755 nvram support. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit af36e6b6d7f4ad7a5ccfd14dfa71ec941255f93d tree 879c0f2f8be1e6bcd9d64fa4ee952ee959d35357 parent b30bd282cbf5c46247a279a2e8d2aae027d9f1bf author Michael Chan Thu, 23 Mar 2006 01:28:06 -0800 committer David S. Miller Thu, 23 Mar 2006 01:28:06 -0800 [TG3]: Add 5755 support Add support for new chip 5755 which is very similar to 5787. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit b30bd282cbf5c46247a279a2e8d2aae027d9f1bf tree 3426e213f156329a24707f7142ffcc54f6f69fbe parent 1ae39a430b692552e5aceb63fa35ce95fcbadc6a author Patrick McHardy Thu, 23 Mar 2006 01:17:25 -0800 committer David S. Miller Thu, 23 Mar 2006 01:17:25 -0800 [IPV6]: ip6_xmit: remove unnecessary NULL ptr check The sk argument to ip6_xmit is never NULL nowadays since the skb->priority assigment expects a valid socket. Coverity #354 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1ae39a430b692552e5aceb63fa35ce95fcbadc6a tree 598cfbcff6a1e84f6668d75bc8c92a28f73a381a parent a5cdc030030ef5a16e48aebeb65067bdc3120899 author Patrick McHardy Thu, 23 Mar 2006 01:16:48 -0800 committer David S. Miller Thu, 23 Mar 2006 01:16:48 -0800 [NET_SCHED]: cls_u32: remove unnecessary NULL-ptr check In both cases n can't be NULL without crashing anyway. Coverity #78 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a5cdc030030ef5a16e48aebeb65067bdc3120899 tree 36524250e8564ae4e7f891662dace65fdacff521 parent 5e2e71141ca93a3e2543966ced6a6077d4fb8fd8 author Patrick McHardy Thu, 23 Mar 2006 01:16:06 -0800 committer David S. Miller Thu, 23 Mar 2006 01:16:06 -0800 [IPV4]: Add fib rule netlink notifications To really make sense of route notifications in the presence of multiple tables, userspace also needs to be notified about routing rule updates. Notifications are sent to the so far unused RTNLGRP_NOP1 (now RTNLGRP_RULE) group. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5e2e71141ca93a3e2543966ced6a6077d4fb8fd8 tree c968c14cbab5e8c1e4a4a7537c8b759f995607aa parent 29b12174ac14f110225d6d9ebb66c30df5023baf author Michael Chan Thu, 23 Mar 2006 01:14:09 -0800 committer David S. Miller Thu, 23 Mar 2006 01:14:09 -0800 [BNX2]: Update version and reldate Update version to 1.4.39. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 29b12174ac14f110225d6d9ebb66c30df5023baf tree 2c90b0bb6d3e6e4e7528cd381688b4413c77507b parent f2a4f05216e95f3b8c06b858abc0fe9a77500816 author Michael Chan Thu, 23 Mar 2006 01:13:43 -0800 committer David S. Miller Thu, 23 Mar 2006 01:13:43 -0800 [BNX2]: Separate tx producer and consumer fields Put the tx producer and consumer fields in separate cache lines in the device structure, similar to the VJ net channel queue structure. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit f2a4f05216e95f3b8c06b858abc0fe9a77500816 tree 1939a86f6370f089246c174bd6dab86c8031ebbc parent 0f31f99446270e66c6f18c7d87aadd7db1dad214 author Michael Chan Thu, 23 Mar 2006 01:13:12 -0800 committer David S. Miller Thu, 23 Mar 2006 01:13:12 -0800 [BNX2]: Move .h files to bnx2.c Move all #include <> from bnx2.h to bnx2.c. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0f31f99446270e66c6f18c7d87aadd7db1dad214 tree 7cac41b473b1e85d97df34a4fe4f6e329a534b6f parent bf5295bba804a6aead9bc1c0d5970173a9d4e08e author Michael Chan Thu, 23 Mar 2006 01:12:38 -0800 committer David S. Miller Thu, 23 Mar 2006 01:12:38 -0800 [BNX2]: Combine small mem allocations Combine two small (56 byte and 320 byte) pci consistent memory allocations into one allocation. Jeff Garzik suggested to store the combined size in the bp structure for later use when freeing the memory. Use kzalloc() instead of kmalloc() + memset(). Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit bf5295bba804a6aead9bc1c0d5970173a9d4e08e tree 561708042eb3348d0693f4d2a4035bf4b58fd8e9 parent ca6549af77f0f28ac5d23b662fb8f72713eb16d3 author Michael Chan Thu, 23 Mar 2006 01:11:56 -0800 committer David S. Miller Thu, 23 Mar 2006 01:11:56 -0800 [BNX2]: Fix link change handling Fix some link-related problems by doing a coalesce_now after link change interrupt to flush out the transient link status. To facilitate this, the host coalesce cmd register value is cached in the device structure. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit ca6549af77f0f28ac5d23b662fb8f72713eb16d3 tree 597e48060de9052ef034a0b49bcc5a1dbfd7e644 parent 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 author Steven Whitehouse Thu, 23 Mar 2006 01:10:26 -0800 committer David S. Miller Thu, 23 Mar 2006 01:10:26 -0800 [PKTGEN]: Add MPLS extension. Signed-off-by: Steven Whitehouse Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 2e6e33bab6e1996a5dec9108fb467b52b841e7a8 tree 6b98b15c2fe7899cdeb2453589cdee00f7853492 parent b7ad6d75028d021362221d9b2db19fcff995c3f8 parent b88a0b1d5560cf1959c1565617e460a45c688a08 author Linus Torvalds Wed, 22 Mar 2006 22:20:46 -0800 committer Linus Torvalds Wed, 22 Mar 2006 22:20:46 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (78 commits) [PATCH] powerpc: Add FSL SEC node to documentation [PATCH] macintosh: tidy-up driver_register() return values [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values [PATCH] powerpc: via-pmu warning fix [PATCH] macintosh: cleanup the use of i2c headers [PATCH] powerpc: dont allow old RTC to be selected [PATCH] powerpc: make powerbook_sleep_grackle static [PATCH] powerpc: Fix warning in add_memory [PATCH] powerpc: update mailing list addresses [PATCH] powerpc: Remove calculation of io hole [PATCH] powerpc: iseries: Add bootargs to /chosen [PATCH] powerpc: iseries: Add /system-id, /model and /compatible [PATCH] powerpc: Add strne2a() to convert a string from EBCDIC to ASCII [PATCH] powerpc: iseries: Make more stuff static in platforms/iseries/mf.c [PATCH] powerpc: iseries: Remove pointless iSeries_(restart|power_off|halt) [PATCH] powerpc: iseries: mf related cleanups [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature [PATCH] powerpc: trivial: Cleanup whitespace in cputable.h [PATCH] powerpc: Remove unused iommu_off logic from pSeries_init_early() [PATCH] powerpc: Unconfuse htab_bolt_mapping() callers ... commit 2cc432eed0491df66e14b578139bba2c75fb3f9a tree 5629388698a637ac8b211dff2d0168b5f9d6aa81 parent 50106c5a0366c9e02bf872e85c672732aa517fb4 author Jeff Garzik Thu, 23 Mar 2006 00:32:03 -0500 committer Jeff Garzik Thu, 23 Mar 2006 00:32:03 -0500 [libata] Move some bmdma-specific code to libata-bmdma.c No code changes, just moving code between files. commit 50106c5a0366c9e02bf872e85c672732aa517fb4 tree 089a1730359cb5191f1173e6d775d7b4baa9b977 parent 02cbd926e9acdc03574d26803050cd2664f59ada author Jeff Garzik Thu, 23 Mar 2006 00:14:36 -0500 committer Jeff Garzik Thu, 23 Mar 2006 00:14:36 -0500 [libata sata_uli] kill scr_addr abuse sata_uli was storing PCI config addresses in a variable intended for port addresses, a variable soon to become void __iomem *. Update the driver to store the SCR address, found in PCI config space, in the driver-private data area. commit 02cbd926e9acdc03574d26803050cd2664f59ada tree 09535e44392d50d2fd7853e99ded7b7b5aedfea7 parent 10ad05df14fb5b6ac1fcdaa312a9c13e77627a97 author Jeff Garzik Wed, 22 Mar 2006 23:59:46 -0500 committer Jeff Garzik Wed, 22 Mar 2006 23:59:46 -0500 [libata sata_nv] eliminate duplicate codepaths with iomap eliminate a bunch of if (mmio) writel() else outl() code with the pci_iomap() and io{read,write}{8,16,32}() interface. commit 10ad05df14fb5b6ac1fcdaa312a9c13e77627a97 tree f2a5fd8d251d42eda6cc2ce7a4012138df1a447c parent 142877b07fe1ef1816513b20f65a51c6ffcadb8b author Jeff Garzik Wed, 22 Mar 2006 23:50:50 -0500 committer Jeff Garzik Wed, 22 Mar 2006 23:50:50 -0500 [libata sata_nv] cleanups: convert #defines to enums; remove in-file history commit 142877b07fe1ef1816513b20f65a51c6ffcadb8b tree bdd2f40f6a5897323d8a80deddf41759145094e9 parent b7ad6d75028d021362221d9b2db19fcff995c3f8 author Jeff Garzik Wed, 22 Mar 2006 23:30:34 -0500 committer Jeff Garzik Wed, 22 Mar 2006 23:30:34 -0500 [libata sata_sil24] cleanups: use pci_iomap(), kzalloc() * libata will soon move to iomap, so we should use pci_iomap() and pci_iounmap(). * Use kzalloc() where appropriate. commit fa4fa40a990f8f4eff65476bef32007c154bbac0 tree c6e15822d1da2811ed004d3f8a4c72864adb5250 parent b7ad6d75028d021362221d9b2db19fcff995c3f8 parent fe0b06b123762ab620b5bee3dab1576ddddd0a7f author Jeff Garzik Wed, 22 Mar 2006 22:55:57 -0500 committer Jeff Garzik Wed, 22 Mar 2006 22:55:57 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit b88a0b1d5560cf1959c1565617e460a45c688a08 tree 1c0c9badda28c559039b4c4411fb224b899a5b0d parent d56a3e380085bf45cc2adba80c4e6490ba644231 author Kim Phillips Wed, 22 Mar 2006 14:39:03 -0600 committer Paul Mackerras Thu, 23 Mar 2006 14:41:09 +1100 [PATCH] powerpc: Add FSL SEC node to documentation Documentation: Added FSL SOC SEC node definition Updated the documentation to include the definition of the SEC device node format for Freescale SOC devices. Signed-off-by: Kim Phillips Signed-off-by: Paul Mackerras commit d56a3e380085bf45cc2adba80c4e6490ba644231 tree f5eba0a77b9b1f4bf7f28952b653467cf1f523af parent 6ea671a12f66b9d4d0f35fce957a71a6849295f2 author Bjorn Helgaas Tue, 21 Mar 2006 23:20:28 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:41:04 +1100 [PATCH] macintosh: tidy-up driver_register() return values Remove the assumption that driver_register() returns the number of devices bound to the driver. In fact, it returns zero for success or a negative error value. All callers of macio_register_driver() either ignore the return value or return it as the return value of a module_init() function. Signed-off-by: Bjorn Helgaas Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 6ea671a12f66b9d4d0f35fce957a71a6849295f2 tree 771e6b38ad68eae3d113db716fc9f3a2d217c780 parent 57ae595f6bf8bde42de199ff9fe68b873080fde2 author Bjorn Helgaas Tue, 21 Mar 2006 23:20:27 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:54 +1100 [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values Remove the assumption that driver_register() returns the number of devices bound to the driver. In fact, it returns zero for success or a negative error value. Nobody uses the return value of of_register_driver() anyway. Signed-off-by: Bjorn Helgaas Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 57ae595f6bf8bde42de199ff9fe68b873080fde2 tree e7c28cfe559b637baeb18356ca826f5bf8cc4e4d parent 3e52174ec8fd9d8671b69b8e7decb465aaf519c0 author Andrew Morton Tue, 21 Mar 2006 23:20:27 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:43 +1100 [PATCH] powerpc: via-pmu warning fix drivers/macintosh/via-pmu.c:164: warning: `sleep_in_progress' defined but not used Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 3e52174ec8fd9d8671b69b8e7decb465aaf519c0 tree 8b29ead7e1b15b2fa4dd9f003388bb6d10979049 parent 8ac4fc53fef6b4ff942a66be1b503b24d32bcf83 author Jean Delvare Tue, 21 Mar 2006 23:20:26 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:24 +1100 [PATCH] macintosh: cleanup the use of i2c headers Cleanup the use of i2c headers in macintosh drivers. Signed-off-by: Jean Delvare Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8ac4fc53fef6b4ff942a66be1b503b24d32bcf83 tree d02f0edf7607c7f12c2ad4501c7ea2b4ee5d57e8 parent 3bea63136fd9b1398de77f76b7b9e3b28249ecca author Anton Blanchard Tue, 21 Mar 2006 23:00:06 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:16 +1100 [PATCH] powerpc: dont allow old RTC to be selected Now powerpc uses the generic RTC stuff we should not enable the old RTC. Doing so will result in hangs at boot. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 3bea63136fd9b1398de77f76b7b9e3b28249ecca tree 443122ec33bdc8ff0a8b923667ab2a9ac17cdaaa parent 2d0eee14b23f20c501a6c2536edf68f93c56edcd author Olaf Hering Tue, 21 Mar 2006 23:00:05 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:40:04 +1100 [PATCH] powerpc: make powerbook_sleep_grackle static powerbook_sleep_grackle is only called inside via-pmu, from pmu_ioctl() Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 2d0eee14b23f20c501a6c2536edf68f93c56edcd tree 5585524cee681ac9252582d2aa8f65680f71bc57 parent 1d04981669df1f0586d4578ec4061c5585ec721b author Andrew Morton Tue, 21 Mar 2006 23:00:05 -0800 committer Paul Mackerras Thu, 23 Mar 2006 14:39:51 +1100 [PATCH] powerpc: Fix warning in add_memory arch/powerpc/mm/mem.c: In function `add_memory': arch/powerpc/mm/mem.c:128: warning: assignment makes integer from pointer without a cast Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit fe0b06b123762ab620b5bee3dab1576ddddd0a7f tree dc9fc80b8d8f313cfd8f6098cd01673b931db3af parent 1196862b7926d5312c7f8e8eaecba658b6553ba0 author Larry Finger Tue, 07 Feb 2006 15:20:52 -0600 committer John W. Linville Wed, 22 Mar 2006 22:17:02 -0500 [PATCH] Fix softmac scan Softmac scanning fails because the stop flag is not cleared before scanning is started. The attached one-line patch fixes this. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit 1196862b7926d5312c7f8e8eaecba658b6553ba0 tree a3a949532c507c934a23e528d58555b486a211c8 parent b6c7658ef8888e82608265d8098d09807997f771 author Johannes Berg Tue, 31 Jan 2006 20:28:58 +0100 committer John W. Linville Wed, 22 Mar 2006 22:17:01 -0500 [PATCH] softmac: remove dead code This patch removes ieee80211softmac_reassoc which is neither implemented nor used nor necessary. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit b6c7658ef8888e82608265d8098d09807997f771 tree 85fa8c98d1184b3f2d8b2483cc9adb8323283e9e parent b10c991fa4cf0f1353228e04671aa793b4b3cf1d author Johannes Berg Tue, 31 Jan 2006 19:49:42 +0100 committer John W. Linville Wed, 22 Mar 2006 22:17:01 -0500 [PATCH] softmac: add reassociation code This patch adds handling of reassociation to softmac when the AP requests it. Patch from Larry Finger. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit b10c991fa4cf0f1353228e04671aa793b4b3cf1d tree 9e2a09fbca25358fefddcf5eeb36e90388dd789d parent f484d582d3e66ad78dcce2465c9ec479bacc1075 author Johannes Berg Tue, 31 Jan 2006 19:48:06 +0100 committer John W. Linville Wed, 22 Mar 2006 22:17:00 -0500 [PATCH] softmac: update deauth handler to quiet warning Recently the deauth packet handler was updated to use a deauth packet struct (identical to the auth packet struct) and this now gives a warning. This patch updates the code to properly use a deauth struct and deauth variable. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit f484d582d3e66ad78dcce2465c9ec479bacc1075 tree 0a3e633beb6176d6b2bc71278f75240ea5c6cac7 parent 7985905106a64d6ca32bd87fd6b52c588f03f5c6 author Johannes Berg Tue, 31 Jan 2006 19:35:14 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:59 -0500 [PATCH] trivial fixes to softmac This patch removes a blank line that shouldn't be there and fixes a spelling error in softmac. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit 7985905106a64d6ca32bd87fd6b52c588f03f5c6 tree 7e85e907ab26b6e78b6427d277fe977dd05139c8 parent 1a995b45a52871af42aa1111da4c74c4b85e09c5 author Johannes Berg Tue, 31 Jan 2006 19:31:41 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:59 -0500 [PATCH] update copyright in softmac This patch updates the copyright statements in softmac that I erroneously added for 2005 only (when we already had 2006). Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit 1a995b45a52871af42aa1111da4c74c4b85e09c5 tree 59d43235b1e5bc76bbf2f108d4e7a9f016db0ea3 parent 4c718cfd7df4ac34ca8a4add555c374de61c42e8 author Denis Vlasenko Tue, 24 Jan 2006 16:57:11 +0200 committer John W. Linville Wed, 22 Mar 2006 22:16:58 -0500 [PATCH] ieee80211_rx_any: filter out packets, call ieee80211_rx or ieee80211_rx_mgt Version 2 of the patch. Added checks for version 0 and proper from/to DS bits. Even in promisc mode we won't receive packets from another BSSes. bcm43xx_rx() contains code to filter out packets from foreign BSSes and decide whether to call ieee80211_rx or ieee80211_rx_mgt. This is not bcm specific. Patch adapts that code and adds it to 80211 as ieee80211_rx_any() function. Signed-off-by: Denis Vlasenko Signed-off-by: John W. Linville commit 4c718cfd7df4ac34ca8a4add555c374de61c42e8 tree 693fdc1af819411c2e92821172d8f7f19a549a2f parent 9ebdd466813c2dde19417a00e22bd46546e27165 author Johannes Berg Thu, 12 Jan 2006 21:19:48 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:58 -0500 [PATCH] softmac: move EXPORT_SYMBOL_GPL right after functions Signed-off-by: John W. Linville commit 9ebdd466813c2dde19417a00e22bd46546e27165 tree 4f5e636d619739cf0883e1309f951bd4a8764378 parent 4855d25b1ef9d74aeb29c2e46f0d6a289922eab6 author Johannes Berg Thu, 12 Jan 2006 21:18:25 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:57 -0500 [PATCH] softmac: add MODULE_DESCRIPTION and MODULE_AUTHORs Signed-off-by: John W. Linville commit 4855d25b1ef9d74aeb29c2e46f0d6a289922eab6 tree 6b4ea7a169f3ce0e10a11ec2a8c46c75f9e04818 parent b2b9b6518eac7b4e9abf649ef4273c02f1a5276b author Johannes Berg Thu, 12 Jan 2006 21:12:59 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:56 -0500 [PATCH] softmac: add copyright and license headers add copyright and license headers to all softmac files Signed-off-by: John W. Linville commit b2b9b6518eac7b4e9abf649ef4273c02f1a5276b tree a19f6b1e674bc159d5523ce12c3ddabe72b745e6 parent bba52d5e9ecd0a1705fbac93b6d50ef6ec475315 author Johannes Berg Wed, 11 Jan 2006 19:32:02 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:56 -0500 [PATCH] softmac: some comment stuff Signed-off-by: John W. Linville commit bba52d5e9ecd0a1705fbac93b6d50ef6ec475315 tree f268372e96878405b9319a2b83ee621bb28ec7fd parent 1dc09776d79e0162553f6434c0b1ccb0cceea0b3 author Johannes Berg Wed, 11 Jan 2006 11:01:22 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:55 -0500 [PATCH] softmac: properly check return value of ieee80211softmac_alloc_mgt Properly check return value of ieee80211softmac_alloc_mgt in ieee80211softmac_disassoc_deauth (patch by Denis Vlasenko) Signed-off-by: John W. Linville commit 1dc09776d79e0162553f6434c0b1ccb0cceea0b3 tree 9328e50b85e01f754dc2c4d0e0f78461a76269ad parent 48b2e4ce690dfbf4097e89e6ce0861ab85fd89c9 author Johannes Berg Wed, 11 Jan 2006 10:46:16 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:55 -0500 [PATCH] softmac: scan at least once before selecting a network by essid Signed-off-by: John W. Linville commit 48b2e4ce690dfbf4097e89e6ce0861ab85fd89c9 tree 3949c3468eb260c1830685ca40714877d9ca6a2b parent 78e4f36e053b4d2c4623fdc1f6ac63f33d5b7c81 author Johannes Berg Tue, 10 Jan 2006 19:12:19 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:54 -0500 [PATCH] softmac: check if disassociation is for us before processing it Signed-off-by: John W. Linville commit 78e4f36e053b4d2c4623fdc1f6ac63f33d5b7c81 tree 2408dc01abd1cdf646bcf94bb13501d1ecf10dcf parent 51da28a847027fdf80e55a2a0d7bd0f7a8617d3d author Johannes Berg Tue, 10 Jan 2006 18:56:32 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:54 -0500 [PATCH] softmac: select "best" network based on rssi Signed-off-by: John W. Linville commit 51da28a847027fdf80e55a2a0d7bd0f7a8617d3d tree 4516da186cd4d1e3491a89fbef1bb50ff7dd6a22 parent d1469cf2c79f1682364d5c37d752cd3a3018cbaa author Johannes Berg Tue, 10 Jan 2006 16:50:22 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:53 -0500 [PATCH] softmac: add fixme for disassoc Signed-off-by: John W. Linville commit d1469cf2c79f1682364d5c37d752cd3a3018cbaa tree 683daaf696271d4b355dd7880b29306e3f452049 parent 2dd50801b3ac95988bd5789e4ec576f3480ecc59 author Johannes Berg Tue, 10 Jan 2006 15:47:06 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:53 -0500 [PATCH] softmac: try to reassociate when being disassociated from the AP Signed-off-by: John W. Linville commit 2dd50801b3ac95988bd5789e4ec576f3480ecc59 tree 462bcac55a35cc701f7e56000df433bdaba270ee parent 5c4df6da580b9317dc0856e235232b95cbc8251c author Johannes Berg Fri, 06 Jan 2006 18:11:23 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:52 -0500 [PATCH] softmac: correctly use netif_carrier_{on,off} TODO: add callbacks for ifup/ifdown (see mailing list) Signed-off-by: John W. Linville commit 5c4df6da580b9317dc0856e235232b95cbc8251c tree df82db654b024cd7204f182cbc40101681e012c0 parent 45867e6a55aee984d69ce8f93a87e26d32d470dc author Johannes Berg Fri, 06 Jan 2006 01:43:45 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:52 -0500 [PATCH] softmac: convert to use global workqueue Convert softmac to use global workqueue instead of private one... Signed-off-by: John W. Linville commit 45867e6a55aee984d69ce8f93a87e26d32d470dc tree 08f8f5aa61adb6a0222eaec4e927db5120e1b3fd parent 714e1a511627b7d95ff1666c66272613a96d2873 author Johannes Berg Thu, 05 Jan 2006 18:45:00 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:51 -0500 [PATCH] softmac: fix Makefiles Signed-off-by: John W. Linville commit 714e1a511627b7d95ff1666c66272613a96d2873 tree 2facb019a7b364f820402bf43346f674a1dcf2a0 parent 32821837fa0b3a37b1f3e020769eb2a186cfff6e author Johannes Berg Wed, 04 Jan 2006 21:06:28 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:51 -0500 [PATCH] softmac: fix some sparse warnings Signed-off-by: John W. Linville commit 32821837fa0b3a37b1f3e020769eb2a186cfff6e tree f4c18766766cbdd4715ce78a081dfab2cb571613 parent 370121e5190a86a2d8a717ecd6f33028c7dc6fd4 author Johannes Berg Wed, 04 Jan 2006 16:51:31 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:50 -0500 [PATCH] make softmac depend on IEEE80211 and EXPERIMENTAL Signed-off-by: John W. Linville commit 370121e5190a86a2d8a717ecd6f33028c7dc6fd4 tree 2bd809d8dea7a831f9c47d06572e98194bfc0ccc parent 1c2e02750b992703a8a18634e08b04353face243 author Johannes Berg Wed, 04 Jan 2006 16:32:16 +0100 committer John W. Linville Wed, 22 Mar 2006 22:16:50 -0500 [PATCH] wireless: Add softmac layer to the kernel Signed-off-by: John W. Linville commit b7ad6d75028d021362221d9b2db19fcff995c3f8 tree 30d2a515571d7a43d5df7cb91d118a1d46b6142a parent 0caab23e11c015559af81a4c0f4759ca05a5446a parent 6a6bbd29a0284c1b9d33c324ba85f3ebb5509589 author Linus Torvalds Wed, 22 Mar 2006 17:51:31 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:51:31 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: [PATCH] Use of uninitialized variable in drivers/net/depca.c [PATCH] Use after free in net/tulip/de2104x.c [PATCH] sis900 adm7001 PHY support [PATCH] sky2: more ethtool stats [PATCH] s390: qeth :allow setting of attribute "route6" to "no_router". [PATCH] s390: qeth driver cleanups [PATCH] s390: qeth driver statistics fixes [PATCH] AMD Au1xx0: fix Ethernet TX stats [PATCH] fix spidernet build issue commit 0caab23e11c015559af81a4c0f4759ca05a5446a tree 590fb83c4427c129fa2ceb3d592d3800fa51e172 parent 80576fd86b350a90c5be329de1e382d31121a8d0 author Linus Torvalds Wed, 22 Mar 2006 17:39:38 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:39:38 -0800 scsi: link in the debug driver last If the debug driver is built-in, link it in last, so that any real drivers will probe first, rather than having the debug driver pick the first scsi slots.. Signed-off-by: Douglas Gilbert Signed-off-by: Randy Dunlap Acked-by: James Bottomley Signed-off-by: Linus Torvalds commit 80576fd86b350a90c5be329de1e382d31121a8d0 tree 077b2ae2c7db8d3e370c0c491253caa4926f24c1 parent 9d8f057acbd38d8177cf2ffd5e151d52c2477372 parent 1a55d57b107c3e06935763905dc0fb235214569d author Linus Torvalds Wed, 22 Mar 2006 17:36:04 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:36:04 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [TCP]: Do not use inet->id of global tcp_socket when sending RST. [NETFILTER]: Fix undefined references to get_h225_addr [NETFILTER]: futher {ip,ip6,arp}_tables unification [NETFILTER]: Fix xt_policy address matching [NETFILTER]: nf_conntrack: support for layer 3 protocol load on demand [NETFILTER]: x_tables: set the protocol family in x_tables targets/matches [NETFILTER]: conntrack: cleanup the conntrack ID initialization [NETFILTER]: nfnetlink_queue: fix nfnetlink message size [NETFILTER]: ctnetlink: Fix expectaction mask dumping [NETFILTER]: Fix Kconfig typos [NETFILTER]: Fix ip6tables breakage from {get,set}sockopt compat layer commit 9d8f057acbd38d8177cf2ffd5e151d52c2477372 tree 1c3387b045a8a487ff99bf3abed1cdf41670f6e6 parent 591eb85ecd7e6eb8596c6129ae074e16636b99f4 parent 91bca4b3e2f1aaaf67e62a36914f33ca1e7d5a06 author Linus Torvalds Wed, 22 Mar 2006 17:33:12 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:33:12 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial * master.kernel.org:/home/rmk/linux-2.6-serial: [SERIAL] Merge avlab serial board entries in parport_serial [SERIAL] kernel console should send CRLF not LFCR commit 591eb85ecd7e6eb8596c6129ae074e16636b99f4 tree 535fb7e9bc29113ff62fd70b0dcd8ad197ab51e2 parent 4658f79bec0b51222e769e328c2923f39f3bda77 parent 3a2916aa289504d694072a98876d23ca31d6401e author Linus Torvalds Wed, 22 Mar 2006 17:32:09 -0800 committer Linus Torvalds Wed, 22 Mar 2006 17:32:09 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: (45 commits) [ARM] 3389/1: typo and grammar fix [ARM] 3386/1: AT91RM9200 Clock update [ARM] 3384/1: AT91RM9200: Timer [ARM] 3382/1: ixp2000: unify defconfigs [ARM] 3381/1: ixp2000: fix slowport write timing control register fields [ARM] 3380/1: ixp2000: simplify ixdp2x00_master_npu() check [ARM] 3379/1: ixp2000: use generic 8250 debug macros [ARM] 3378/1: ixp2000: fix gpio interrupt handling [ARM] Quieten spurious IRQ detection [ARM] Use kcalloc to allocate counter_config array rather than kmalloc [ARM] Oprofile: dynamically allocate counter_config [ARM] Oprofile: Convert semaphore to mutex [ARM] 3376/2: S3C2410 - update defconfig [ARM] 3375/1: S3C2440 - fix osiris machine build [ARM] 3374/1: ep93xx: gpio interrupt support [ARM] 3361/1: S3C24XX - add USB bus clock source [ARM] 3360/1: S3C2440 - add set rate methods and camera clock [ARM] 3359/1: S3C24XX - add support for clk_set_rate [ARM] Convert kmalloc+memset to kzalloc [ARM] 3373/1: move uengine loader to arch/arm/common ... commit 6a6bbd29a0284c1b9d33c324ba85f3ebb5509589 tree d331ca12cc67571ac9e1b2a5c26e284bd874a276 parent 5185c7c20a4b88892f868ad8d92d1b640b1edba9 author Eric Sesterhenn Wed, 22 Mar 2006 22:49:48 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:30:45 -0500 [PATCH] Use of uninitialized variable in drivers/net/depca.c hi, this fixes coverity bug #888, where the variable dev is used uninitialized. I assume the programmer meant to use mdev, which is initialized. Compile tested only. Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 5185c7c20a4b88892f868ad8d92d1b640b1edba9 tree 53674f28e6dd666a59f5495f73149736ec260505 parent 494aced2cda34c186083f7d53c419426eea3d584 author Eric Sesterhenn Wed, 22 Mar 2006 22:30:34 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:30:45 -0500 [PATCH] Use after free in net/tulip/de2104x.c hi, this fixes coverity bug #912, where skb is freed first, and dereferenced a few lines later with skb->len. Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 494aced2cda34c186083f7d53c419426eea3d584 tree 5eafa0da01a37c0d943b13c8f1e3eb5c433f62a1 parent eadfa7ddca98b0430b8b666e0344ab1d559389c8 author Artur Skawina Tue, 21 Mar 2006 22:04:36 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:30:45 -0500 [PATCH] sis900 adm7001 PHY support this patch is required to get a SIS964 based motherboard ethernet working (FSC D1875) (picking the #1 transceiver, instead of the last one, in case no known ones were found might be a better default, and would have worked in this case too) Signed-off-by: Artur Skawina Signed-off-by: Jeff Garzik commit eadfa7ddca98b0430b8b666e0344ab1d559389c8 tree c3949c277f2a0e99a6b6cceff6deab16b75a7dba parent def720e6166f49027c45286088d1e22743666ca3 author Stephen Hemminger Wed, 22 Mar 2006 10:38:45 -0800 committer Jeff Garzik Wed, 22 Mar 2006 20:30:45 -0500 [PATCH] sky2: more ethtool stats Expose all the available hardware statistics via ethtool. And cleanup some of the statistics definitions. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit def720e6166f49027c45286088d1e22743666ca3 tree 564752907159a211b60890c4d8b2abaf9322acf1 parent 1380fee2b553fbde1a094476685f43ec5625aec2 author Frank Pavlic Wed, 22 Mar 2006 16:03:44 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:29:30 -0500 [PATCH] s390: qeth :allow setting of attribute "route6" to "no_router". [patch 4/6] s390: qeth :allow setting of attribute "route6" to "no_router". From: Ursula Braun when setting route6 attribute back to no_router qeth does not issue an IP ASSIST command to reset router value to no_router. Once primary_router is set device stays in this mode. Issue an IP ASSIST command when no_router is set in route6. Device will be reset and thus will not longer run as a primary router. Signed-off-by: Frank Pavlic diffstat: qeth_main.c | 5 ----- 1 files changed, 5 deletions(-) Signed-off-by: Jeff Garzik commit 1380fee2b553fbde1a094476685f43ec5625aec2 tree be0fb1266ce2706b624a157ed64de97a9c25ff67 parent 95f6b5a1e38e26dc313e283e1e6058d3ffff517d author Frank Pavlic Wed, 22 Mar 2006 16:03:41 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:29:30 -0500 [PATCH] s390: qeth driver cleanups [patch 3/6] s390: qeth driver cleanups From: Ursula Braun - code analyzing tool BEAM has found some unreachable and unnecessary statements and also conditions which are always true. - removed some useless MII code since OSA card will never allow to set such values. Signed-off-by: Frank Pavlic diffstat: qeth_main.c | 49 ++++--------------------------------------------- qeth_proc.c | 18 +++++++++--------- qeth_sys.c | 2 +- 3 files changed, 14 insertions(+), 55 deletions(-) Signed-off-by: Jeff Garzik commit 95f6b5a1e38e26dc313e283e1e6058d3ffff517d tree b9e54021bf4785e5406e430128c072a7829bd831 parent c2d3d4b938d1a8df4fd4db73427009dfb9e8b225 author Frank Pavlic Wed, 22 Mar 2006 16:03:39 +0100 committer Jeff Garzik Wed, 22 Mar 2006 20:29:30 -0500 [PATCH] s390: qeth driver statistics fixes [patch 2/6] s390: qeth driver statistics fixes From: Ursula Braun - display "unsigned int" values in /proc/qeth_perf with %u instead of %i - omit qdio header length when increasing card->stats.tx_bytes Signed-off-by: Frank Pavlic diffstat: qeth_main.c | 3 ++- qeth_proc.c | 38 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 20 deletions(-) Signed-off-by: Jeff Garzik commit c2d3d4b938d1a8df4fd4db73427009dfb9e8b225 tree f157ea9132098a4223895d8a0774a51255e93b83 parent d97381702d3a2f917cfe935fbca1e850a37b984b author Sergei Shtylylov Tue, 21 Mar 2006 22:53:52 -0800 committer Jeff Garzik Wed, 22 Mar 2006 20:29:29 -0500 [PATCH] AMD Au1xx0: fix Ethernet TX stats With Au1xx0 Ethernet driver, TX bytes/packets always remain zero. The problem seems to be that when packet has been transmitted, the length word in DMA buffer is zero. The patch updates the TX stats when a buffer is fed to DMA. The initial 2.4 patch was posted to linux-mips@linux-mips.org by Thomas Lange 21 Jan 2005. Signed-off-by: Thomas Lange Signed-off-by: Sergei Shtylyov Cc: Jordan Crouse Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit d97381702d3a2f917cfe935fbca1e850a37b984b tree b39ada44ec2743bb318d1fc68624392887e2cfc0 parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Jens Osterkamp Tue, 21 Mar 2006 22:53:47 -0800 committer Jeff Garzik Wed, 22 Mar 2006 20:28:04 -0500 [PATCH] fix spidernet build issue Signed-off-by: Jens Osterkamp Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 4658f79bec0b51222e769e328c2923f39f3bda77 tree 3b09b794cde1164adc606861ddd3df6ddeb94ce2 parent f0c8bbfa154f4481623a4478b0ae94a6ceeaa026 author Tejun Heo Wed, 22 Mar 2006 21:07:03 +0900 committer Jeff Garzik Wed, 22 Mar 2006 19:56:53 -0500 [PATCH] ahci: add softreset Now that libata is smart enought to handle both soft and hard resets, add softreset method. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f0c8bbfa154f4481623a4478b0ae94a6ceeaa026 tree b39c25092a6a13c2c7c60234b50503f23571ef11 parent 67951aded31a1a736c1f0f6e8317677ea6c21ee1 author Tejun Heo Wed, 22 Mar 2006 20:48:18 +0900 committer Jeff Garzik Wed, 22 Mar 2006 19:56:53 -0500 [PATCH] libata: do not ignore PIO-only devices As libata now can do PIO, don't ignore PIO-only devices. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 67951aded31a1a736c1f0f6e8317677ea6c21ee1 tree a2472bd37d14326ea79f1ca4310620f4fd0c2560 parent f4b15fefb38fb4942d85247854660bc8e02641a7 author Alan Cox Wed, 22 Mar 2006 15:55:54 +0000 committer Jeff Garzik Wed, 22 Mar 2006 19:55:41 -0500 [PATCH] libata: Symbol exports Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit f4b15fefb38fb4942d85247854660bc8e02641a7 tree 800703e620361be4835068056451c2ae913c3114 parent 09c7ad79dc62c499bb03d1ee92f838db2fc776c5 author Alan Cox Wed, 22 Mar 2006 15:54:04 +0000 committer Jeff Garzik Wed, 22 Mar 2006 19:55:41 -0500 [PATCH] Update libata DMA blacklist to cover versions, and resync with IDE layer Not much to say here except that some drives have fixed and bad firmware Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 09c7ad79dc62c499bb03d1ee92f838db2fc776c5 tree 70a17d139824c671f898c2cda7babeb1c7860636 parent 7c74ffd072fbe44b6039223982f2dc76840ac4f5 author Alan Cox Wed, 22 Mar 2006 15:52:40 +0000 committer Jeff Garzik Wed, 22 Mar 2006 19:55:40 -0500 [PATCH] libata: Fix a drive detection problem The current code follows the spec but uses an overlong delay. This would be great if the hardware did. Several vendors however forget the D7 pulldown. Fortunately 0xFF isnt a sane reset state so we can use it to skip detection as is done in drivers/ide. (ie this is a tested solution over a long time) Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 7c74ffd072fbe44b6039223982f2dc76840ac4f5 tree d769cfcabc52873b45041170c0320b5b04ac58b3 parent f01c18456993bab43067b678f56c87ca954aa43b author Alan Cox Wed, 22 Mar 2006 15:47:34 +0000 committer Jeff Garzik Wed, 22 Mar 2006 19:55:40 -0500 [PATCH] libata: note missing posting in mmio cmd write Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit f01c18456993bab43067b678f56c87ca954aa43b tree 3e0cd0cdf1a57618202b46a7126125902e3ab832 parent 949ec2c8e6b7b89179b85baf6309c009e1a1b951 parent 1c2e02750b992703a8a18634e08b04353face243 author Jeff Garzik Wed, 22 Mar 2006 19:13:54 -0500 committer Jeff Garzik Wed, 22 Mar 2006 19:13:54 -0500 Merge branch 'master' commit 1a55d57b107c3e06935763905dc0fb235214569d tree 5d894dbda60fa2e998dda4912e6e0a50f769709d parent 6a534ee35cfd02f60e99d301b9ac446ea11a9cfd author Alexey Kuznetsov Wed, 22 Mar 2006 14:27:59 -0800 committer David S. Miller Wed, 22 Mar 2006 14:27:59 -0800 [TCP]: Do not use inet->id of global tcp_socket when sending RST. The problem is in ip_push_pending_frames(), which uses: if (!df) { __ip_select_ident(iph, &rt->u.dst, 0); } else { iph->id = htons(inet->id++); } instead of ip_select_ident(). Right now I think the code is a nonsense. Most likely, I copied it from old ip_build_xmit(), where it was really special, we had to decide whether to generate unique ID when generating the first (well, the last) fragment. In ip_push_pending_frames() it does not make sense, it should use plain ip_select_ident() instead. Signed-off-by: Alexey Kuznetsov Signed-off-by: David S. Miller commit 6a534ee35cfd02f60e99d301b9ac446ea11a9cfd tree c6bbb8b91bdadd5fb4a9e93df47a36213674b3a1 parent 1e30a014e311e627b91489ff5ec1b54496d308af author Patrick McHardy Wed, 22 Mar 2006 13:57:25 -0800 committer David S. Miller Wed, 22 Mar 2006 13:57:25 -0800 [NETFILTER]: Fix undefined references to get_h225_addr get_h225_addr is exported, but declared static, which fails when linking statically. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1e30a014e311e627b91489ff5ec1b54496d308af tree 9f61f077f0403ff3aad393d929b07b6af7bdf7f8 parent 81fbfd6925c064b764cb0536aed9232c7b48f6df author Dmitry Mishin Wed, 22 Mar 2006 13:56:56 -0800 committer David S. Miller Wed, 22 Mar 2006 13:56:56 -0800 [NETFILTER]: futher {ip,ip6,arp}_tables unification This patch moves {ip,ip6,arp}t_entry_{match,target} definitions to x_tables.h. This move simplifies code and future compatibility fixes. Signed-off-by: Dmitry Mishin Acked-off-by: Kirill Korotaev Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 81fbfd6925c064b764cb0536aed9232c7b48f6df tree 213acf4e98cde24c1899ea9b384970f3e999a9c9 parent b9f78f9fca626875af8adc0f7366a38b8e625a0e author Patrick McHardy Wed, 22 Mar 2006 13:56:33 -0800 committer David S. Miller Wed, 22 Mar 2006 13:56:33 -0800 [NETFILTER]: Fix xt_policy address matching Fix missing inversion in address matching, it was broken during the conversion to x_tables. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b9f78f9fca626875af8adc0f7366a38b8e625a0e tree 1087c6f6a6cc39e4e55c2a02f93d93da67a68ed3 parent a45049c51ce6a3fecf2a909b591b28164c927112 author Pablo Neira Ayuso Wed, 22 Mar 2006 13:56:08 -0800 committer David S. Miller Wed, 22 Mar 2006 13:56:08 -0800 [NETFILTER]: nf_conntrack: support for layer 3 protocol load on demand x_tables matches and targets that require nf_conntrack_ipv[4|6] to work don't have enough information to load on demand these modules. This patch introduces the following changes to solve this issue: o nf_ct_l3proto_try_module_get: try to load the layer 3 connection tracker module and increases the refcount. o nf_ct_l3proto_module put: drop the refcount of the module. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a45049c51ce6a3fecf2a909b591b28164c927112 tree 582c35205f9c1c12825447a009518eb2116beacd parent 4e3882f77376e036a52b022909d7e910714bd27b author Pablo Neira Ayuso Wed, 22 Mar 2006 13:55:40 -0800 committer David S. Miller Wed, 22 Mar 2006 13:55:40 -0800 [NETFILTER]: x_tables: set the protocol family in x_tables targets/matches Set the family field in xt_[matches|targets] registered. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4e3882f77376e036a52b022909d7e910714bd27b tree ede6f69b055586450d50e9ec1ba99d35937f2233 parent f0d835835ba30686dc085e98c8eeac0b9c26e3b2 author Pablo Neira Ayuso Wed, 22 Mar 2006 13:55:11 -0800 committer David S. Miller Wed, 22 Mar 2006 13:55:11 -0800 [NETFILTER]: conntrack: cleanup the conntrack ID initialization Currently the first conntrack ID assigned is 2, use 1 instead. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f0d835835ba30686dc085e98c8eeac0b9c26e3b2 tree 85149be8e4154bda3fc9c979693fb5bf997d82f3 parent 1cde64365b0c4f576f8f45b834e6a6de081b5914 author Pablo Neira Ayuso Wed, 22 Mar 2006 13:54:40 -0800 committer David S. Miller Wed, 22 Mar 2006 13:54:40 -0800 [NETFILTER]: nfnetlink_queue: fix nfnetlink message size Fix oversized message, use NLMSG_SPACE just one since it reserves space for the netlink header and NFA_SPACE for every attribute. Thanks to Harald Welte for the feedback Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1cde64365b0c4f576f8f45b834e6a6de081b5914 tree 86f35fc9f292365c87b7ff90e0933e9d38db2863 parent 50b521aa54f415a626bfd63d1a9b72120e9fbe88 author Pablo Neira Ayuso Wed, 22 Mar 2006 13:54:15 -0800 committer David S. Miller Wed, 22 Mar 2006 13:54:15 -0800 [NETFILTER]: ctnetlink: Fix expectaction mask dumping The expectation mask has some particularities that requires a different handling. The protocol number fields can be set to non-valid protocols, ie. l3num is set to 0xFFFF. Since that protocol does not exist, the mask tuple will not be dumped. Moreover, this results in a kernel panic when nf_conntrack accesses the array of protocol handlers, that is PF_MAX (0x1F) long. This patch introduces the function ctnetlink_exp_dump_mask, that correctly dumps the expectation mask. Such function uses the l3num value from the expectation tuple that is a valid layer 3 protocol number. The value of the l3num mask isn't dumped since it is meaningless from the userspace side. Thanks to Yasuyuki Kozakai and Patrick McHardy for the feedback. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 50b521aa54f415a626bfd63d1a9b72120e9fbe88 tree ce22c67b14bcdf4004caffbaa76b66d9bb0224df parent 443da0d52766ef8ed50b59673ac7ea6aa6e9218c author Thomas Vögtle Wed, 22 Mar 2006 13:53:48 -0800 committer David S. Miller Wed, 22 Mar 2006 13:53:48 -0800 [NETFILTER]: Fix Kconfig typos Signed-off-by: Thomas Vögtle Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 443da0d52766ef8ed50b59673ac7ea6aa6e9218c tree 27cb008a21de0e70b848cc88a8050ce00cb6923d parent 1c2e02750b992703a8a18634e08b04353face243 author Patrick McHardy Wed, 22 Mar 2006 13:53:20 -0800 committer David S. Miller Wed, 22 Mar 2006 13:53:20 -0800 [NETFILTER]: Fix ip6tables breakage from {get,set}sockopt compat layer do_ipv6_getsockopt returns -EINVAL for unknown options, not -ENOPROTOOPT as do_ipv6_setsockopt. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3a2916aa289504d694072a98876d23ca31d6401e tree cd22ef3df480d85920b3233286b4f125d5a73b8d parent 69b648a200b27a7c8ea92993bf5b4d40e83b5403 author Erik Hovland Wed, 22 Mar 2006 21:02:11 +0000 committer Russell King Wed, 22 Mar 2006 21:02:11 +0000 [ARM] 3389/1: typo and grammar fix Patch from Erik Hovland I found a typo and what seems to be a run-on sentence in arch/arm/common/dmabounce.c This patch corrects both. Signed-off-by: Erik Hovland Signed-off-by: Russell King commit 69b648a200b27a7c8ea92993bf5b4d40e83b5403 tree 0ddc77b61b5f822424fe6dfa66a16785986d87b9 parent 39806805de0314d5847bfd6d046ad7d4407ccd46 author Andrew Victor Wed, 22 Mar 2006 20:14:14 +0000 committer Russell King Wed, 22 Mar 2006 20:14:14 +0000 [ARM] 3386/1: AT91RM9200 Clock update Patch from Andrew Victor This patch includes a few changes to the clock support on the AT91RM9200. 1. Added definitions for Ethernet, MMC, TWI, USARTs, and SPI peripheral clocks. 2. Replaced some hard-coded hex values with the text definitions in at91rm9200_sys.h. 3. If the USB96M bit is set for PLLB, then the rate of PLLB is not affected but only the USB Host/Device clocks which are derived from it. Issue reported by Sergei Sharonov. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 39806805de0314d5847bfd6d046ad7d4407ccd46 tree 6a05969531953e3831650cde71a9143571472456 parent 112d02e8d556ea0512afcfc3b0110c87ec9eb5f9 author Andrew Victor Wed, 22 Mar 2006 20:14:13 +0000 committer Russell King Wed, 22 Mar 2006 20:14:13 +0000 [ARM] 3384/1: AT91RM9200: Timer Patch from Andrew Victor If the timer interrupt is ever significantly delayed (or after the system was suspended), the system could spin incrementing the time for too long. The fix is to replace the "do {} while" with a "while {}". Orignal patch by Savin Zlobec and Peter Menzebach. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 112d02e8d556ea0512afcfc3b0110c87ec9eb5f9 tree c83465c47ba162fdb8126b323c690c662a29a6c8 parent a04f2d9d3a08002a7712f18fcec43e2c4151d953 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:12 +0000 committer Russell King Wed, 22 Mar 2006 20:14:12 +0000 [ARM] 3382/1: ixp2000: unify defconfigs Patch from Lennert Buytenhek Unify the five existing ixp2000 defconfigs into one defconfig. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit a04f2d9d3a08002a7712f18fcec43e2c4151d953 tree d65e921b8f64b4ea7b61bc61db931892a680243d parent 709eb502ebcfcca8a3a36bab3bca3bd78caa53b1 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:11 +0000 committer Russell King Wed, 22 Mar 2006 20:14:11 +0000 [ARM] 3381/1: ixp2000: fix slowport write timing control register fields Patch from Lennert Buytenhek The original version of the chip docs had the PW and SU fields in the slowport write timing control register accidentally reversed. This is mentioned in the errata (documentation change #4) and fixed in newer docs. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 709eb502ebcfcca8a3a36bab3bca3bd78caa53b1 tree b907252f28ea024f5b41da265a7c6d1417197780 parent e99053e07514e514611167ad648c65c87982c4d9 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:11 +0000 committer Russell King Wed, 22 Mar 2006 20:14:11 +0000 [ARM] 3380/1: ixp2000: simplify ixdp2x00_master_npu() check Patch from Lennert Buytenhek On the IXDP2x00s, the NPU that is PCI master is always the egress (i.e. 'master') NPU. At least on the IXDP2800, both NPUs have flash, so the ixp2000_has_flash() check in ixdp2x00_master_npu() is useless. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit e99053e07514e514611167ad648c65c87982c4d9 tree 42a53730832060d917b921f3c7810e54d245d78b parent bd115ea007e671e96b8b53c2e0e885103d39fd40 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:09 +0000 committer Russell King Wed, 22 Mar 2006 20:14:09 +0000 [ARM] 3379/1: ixp2000: use generic 8250 debug macros Patch from Lennert Buytenhek The xscale UART in the ixp2000 is basically just an 8250 UART (with some extra bits and pieces), so we can use the generic 8250 debug macros on the ixp2000. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit bd115ea007e671e96b8b53c2e0e885103d39fd40 tree e33f6a612f0a4dcb447d2bd3ce4678f928d94838 parent bec1b8193651ea4394cc4d6e18152cb83e735f93 author Lennert Buytenhek Wed, 22 Mar 2006 20:14:09 +0000 committer Russell King Wed, 22 Mar 2006 20:14:09 +0000 [ARM] 3378/1: ixp2000: fix gpio interrupt handling Patch from Lennert Buytenhek ixp2000 used to initially mark GPIO interrupts as invalid, and not mark them valid until set_irq_type() was called, but this doesn't work if you want to use request_irq() with the SA_TRIGGER_* flags. So, just mark the GPIO interrupts valid from the beginning. We configure GPIOs as inputs when set_irq_type() is called anyway, so this shouldn't be a problem. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 1c2e02750b992703a8a18634e08b04353face243 tree 5dc2d10bad329eeb73b9e219e237662a8383f971 parent 8b4b6707ee32f929846d947d18b1b9bf42e988aa parent a3c44854a59f7e983c867060aa906bbf5befb1ef author Linus Torvalds Wed, 22 Mar 2006 10:59:20 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:59:20 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa * git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa: (124 commits) [ALSA] version 1.0.11rc4 [PATCH] Intruduce DMA_28BIT_MASK [ALSA] hda-codec - Add support for ASUS P4GPL-X [ALSA] hda-codec - Add support for HP nx9420 laptop [ALSA] Fix memory leaks in error path of control.c [ALSA] AMD Au1x00: AC'97 controller is memory mapped [ALSA] AMD Au1x00: fix DMA init/cleanup [ALSA] hda-codec - Fix generic auto-configurator [ALSA] hda-codec - Fix BIOS auto-configuration [ALSA] Fixes typos in Audiophile-USB.txt [ALSA] ice1712 - typo fixes for dxr_enable module option [ALSA] AMD Au1x00: make driver build after cleanup [ALSA] ice1712 - Fix wrong value types for enum items [ALSA] fix resource leak in usbmixer [ALSA] Fix gus_pcm dereference before NULL [ALSA] Fix seq_clientmgr dereferences before NULL check [ALSA] hda-codec - Fix for Samsung R65 and ASUS A6J [ALSA] hda-codec - Add support for VAIO FE550G and SZ110 [ALSA] usb-audio: add Maya44 mixer control names [ALSA] usb-audio: add Casio PL-40R support ... commit 8b4b6707ee32f929846d947d18b1b9bf42e988aa tree aa27dd01e2d74cb68efc4ab57eb4d1f4e563ae33 parent d04ef3a795b3b7b376a02713ed5e211e9ae1f917 parent 116f232b3794a8b6ebde21aef5004b18cc1cfa86 author Linus Torvalds Wed, 22 Mar 2006 10:58:05 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:58:05 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: fixed path to moved file in include/linux/device.h Fix spelling in E1000_DISABLE_PACKET_SPLIT Kconfig description Documentation/dvb/get_dvb_firmware: fix firmware URL Documentation: Update to BUG-HUNTING Remove superfluous NOTIFY_COOKIE_LEN define add "tags" to .gitignore Fix "frist", "fisrt", typos fix rwlock usage example It's UTF-8 commit d04ef3a795b3b7b376a02713ed5e211e9ae1f917 tree 837da034751a2fc1be0fc5a105c218d41a498eb6 parent 36177ba655c238e33400cc2837a28720b62784bd parent dcc1e8dd88d4bc55e32a26dad7633d20ffe606d2 author Linus Torvalds Wed, 22 Mar 2006 10:56:57 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:56:57 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: Add a secondary TSB for hugepage mappings. [SPARC]: Respect vm_page_prot in io_remap_page_range(). commit 36177ba655c238e33400cc2837a28720b62784bd tree c285738397f0272f1e0e973c5e6a53b2e8da74b1 parent 2152f8536668a957ea3214735b4761e7b22ef7d8 parent 056755f4d73d49b4adcbb8ecdaf75138cf166bd3 author Linus Torvalds Wed, 22 Mar 2006 10:56:23 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:56:23 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [TG3]: Bump driver version and reldate. [TG3]: Skip phy power down on some devices [TG3]: Fix SRAM access during tg3_init_one() [X25]: dte facilities 32 64 ioctl conversion [X25]: allow ITU-T DTE facilities for x25 [X25]: fix kernel error message 64 bit kernel [X25]: ioctl conversion 32 bit user to 64 bit kernel [NET]: socket timestamp 32 bit handler for 64 bit kernel [NET]: allow 32 bit socket ioctl in 64 bit kernel [BLUETOOTH]: Return negative error constant commit 2152f8536668a957ea3214735b4761e7b22ef7d8 tree 56723fc51445b1bc930c6400d4c00fd6fc831f88 parent 7cae7e26f245151b9ccad868bf2edf8c8048d307 parent 30afc84cf7325e88fb9746340eba3c161080ff49 author Linus Torvalds Wed, 22 Mar 2006 10:47:24 -0800 committer Linus Torvalds Wed, 22 Mar 2006 10:47:24 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (138 commits) [SCSI] libata: implement minimal transport template for ->eh_timed_out [SCSI] eliminate rphy allocation in favour of expander/end device allocation [SCSI] convert mptsas over to end_device/expander allocations [SCSI] allow displaying and setting of cache type via sysfs [SCSI] add scsi_mode_select to scsi_lib.c [SCSI] 3ware 9000 add big endian support [SCSI] qla2xxx: update MAINTAINERS [SCSI] scsi: move target_destroy call [SCSI] fusion - bump version [SCSI] fusion - expander hotplug suport in mptsas module [SCSI] fusion - exposing raid components in mptsas [SCSI] fusion - memory leak, and initializing fields [SCSI] fusion - exclosure misspelled [SCSI] fusion - cleanup mptsas event handling functions [SCSI] fusion - removing target_id/bus_id from the VirtDevice structure [SCSI] fusion - static fix's [SCSI] fusion - move some debug firmware event debug msgs to verbose level [SCSI] fusion - loginfo header update [SCSI] add scsi_reprobe_device [SCSI] megaraid_sas: fix extended timeout handling ... commit 7cae7e26f245151b9ccad868bf2edf8c8048d307 tree db785f2a471c5b97db2551402e067b9559a8989d parent cf01efd098597f7ee88a61e645afacba987c4531 author James Morris Wed, 22 Mar 2006 00:09:22 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] SELinux: add slab cache for inode security struct Add a slab cache for the SELinux inode security struct, one of which is allocated for every inode instantiated by the system. The memory savings are considerable. On 64-bit, instead of the size-128 cache, we have a slab object of 96 bytes, saving 32 bytes per object. After booting, I see about 4000 of these and then about 17,000 after a kernel compile. With this patch, we save around 530KB of kernel memory in the latter case. On 32-bit, the savings are about half of this. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf01efd098597f7ee88a61e645afacba987c4531 tree 8602df509dc2a2b067063f40084c83a4f698fb15 parent edb20fb5be2ff6943920aca4ccab0f4fdacddb9c author James Morris Wed, 22 Mar 2006 00:09:21 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] SELinux: cleanup stray variable in selinux_inode_init_security() Remove an unneded pointer variable in selinux_inode_init_security(). Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit edb20fb5be2ff6943920aca4ccab0f4fdacddb9c tree 6961017d5b02a6320b85826c33ccc81017c2e58f parent d6aafa65354cd2dbb089ab9e7dc618f22230fe32 author James Morris Wed, 22 Mar 2006 00:09:20 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] SELinux: fix hard link count for selinuxfs root directory A further fix is needed for selinuxfs link count management, to ensure that the count is correct for the parent directory when a subdirectory is created. This is only required for the root directory currently, but the code has been updated for the general case. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6aafa65354cd2dbb089ab9e7dc618f22230fe32 tree b274daf127ac8500229754d9841c8af1547bd66f parent 253a8b1db1af146d3a7eef0f3626781df12c7141 author James Morris Wed, 22 Mar 2006 00:09:19 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: sel_make_avc_files Fix copy & paste error in sel_make_avc_files(), removing a supurious call to d_genocide() in the error path. All of this will be cleaned up by kill_litter_super(). Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 253a8b1db1af146d3a7eef0f3626781df12c7141 tree 9aea4b9864a3dc12df89c73e5cf156bd3e7932ad parent 161ce45a8a34ba81673f60c603e6fc6d37d99c8f author James Morris Wed, 22 Mar 2006 00:09:18 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: sel_make_bools Remove the call to sel_make_bools() from sel_fill_super(), as policy needs to be loaded before the boolean files can be created. Policy will never be loaded during sel_fill_super() as selinuxfs is kernel mounted during init and the only means to load policy is via selinuxfs. Also, the call to d_genocide() on the error path of sel_make_bools() is incorrect and replaced with sel_remove_bools(). Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 161ce45a8a34ba81673f60c603e6fc6d37d99c8f tree 7e3851140870164beb585f32a70e2dc81668f391 parent cde174a885821b5eee7e00c8a9a426c9c8186a29 author James Morris Wed, 22 Mar 2006 00:09:17 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: sel_fill_super exit path Unify the error path of sel_fill_super() so that all errors pass through the same point and generate an error message. Also, removes a spurious dput() in the error path which breaks the refcounting for the filesystem (litter_kill_super() will correctly clean things up itself on error). Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cde174a885821b5eee7e00c8a9a426c9c8186a29 tree 95c36020357f26d6a7ebfc3cc9d6d6ac8d250844 parent 40e906f8224966ef65756cc75f9999ea2de0523d author James Morris Wed, 22 Mar 2006 00:09:17 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: use sel_make_dir() Use existing sel_make_dir() helper to create booleans directory rather than duplicating the logic. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40e906f8224966ef65756cc75f9999ea2de0523d tree 6e72a24a93d1f36ae5d89e81d2020cd3d8a0bd9b parent 68bdcf28a8d245208a02dc9caa60fe13cc1b0ea8 author James Morris Wed, 22 Mar 2006 00:09:16 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinuxfs cleanups: fix hard link count Fix the hard link count for selinuxfs directories, which are currently one short. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68bdcf28a8d245208a02dc9caa60fe13cc1b0ea8 tree 4d50f43597d677c7b1b88b10696cb2358abaf83e parent bb0030797f55c9996ea1cebd16b65750ceb7e4fd author Stephen Smalley Wed, 22 Mar 2006 00:09:15 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:07 -0800 [PATCH] selinux: simplify sel_read_bool Simplify sel_read_bool to use the simple_read_from_buffer helper, like the other selinuxfs functions. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb0030797f55c9996ea1cebd16b65750ceb7e4fd tree 58256f9840bf05f141d986b6329a08e38065616a parent 8aad38752e81d1d4de67e3d8e2524618ce7c9276 author Ingo Molnar Wed, 22 Mar 2006 00:09:14 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] sem2mutex: security/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Stephen Smalley Cc: James Morris Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8aad38752e81d1d4de67e3d8e2524618ce7c9276 tree 5813d3f31133313a5bcd77cb3298f7cb26b814ed parent b20a35035f983f4ac7e29c4a68f30e43510007e0 author Stephen Smalley Wed, 22 Mar 2006 00:09:13 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] selinux: Disable automatic labeling of new inodes when no policy is loaded This patch disables the automatic labeling of new inodes on disk when no policy is loaded. Discussion is here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180296 In short, we're changing the behavior so that when no policy is loaded, SELinux does not label files at all. Currently it does add an 'unlabeled' label in this case, which we've found causes problems later. SELinux always maintains a safe internal label if there is none, so with this patch, we just stick with that and wait until a policy is loaded before adding a persistent label on disk. The effect is simply that if you boot with SELinux enabled but no policy loaded and create a file in that state, SELinux won't try to set a security extended attribute on the new inode on the disk. This is the only sane behavior for SELinux in that state, as it cannot determine the right label to assign in the absence of a policy. That state usually doesn't occur, but the rawhide installer seemed to be misbehaving temporarily so it happened to show up on a test install. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b20a35035f983f4ac7e29c4a68f30e43510007e0 tree fdf090ddddbcc275349f62f71adc98649e2c683b parent 442295c94bf650221af3ef20fc68fa3e93876818 author Christoph Lameter Wed, 22 Mar 2006 00:09:12 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] page migration reorg Centralize the page migration functions in anticipation of additional tinkering. Creates a new file mm/migrate.c 1. Extract buffer_migrate_page() from fs/buffer.c 2. Extract central migration code from vmscan.c 3. Extract some components from mempolicy.c 4. Export pageout() and remove_from_swap() from vmscan.c 5. Make it possible to configure NUMA systems without page migration and non-NUMA systems with page migration. I had to so some #ifdeffing in mempolicy.c that may need a cleanup. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 442295c94bf650221af3ef20fc68fa3e93876818 tree 32d5cae69596ec7729172901487cc08a357448f1 parent fdb7cc59084ba7eef935e4e40aaaf538ee34c625 author Paul Jackson Wed, 22 Mar 2006 00:09:11 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] mm: slab cache interleave rotor fix The alien cache rotor in mm/slab.c assumes that the first online node is node 0. Eventually for some archs, especially with hotplug, this will no longer be true. Fix the interleave rotor to handle the general case of node numbering. Signed-off-by: Paul Jackson Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fdb7cc59084ba7eef935e4e40aaaf538ee34c625 tree d31bd847f2d9ea3f5b2a632c718b53797172af88 parent 9b65ef59d42a56fa1358958ede77aaa5bac385a8 author Paul Jackson Wed, 22 Mar 2006 00:09:10 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] mm: hugetlb alloc_fresh_huge_page bogus node loop fix Fix bogus node loop in hugetlb.c alloc_fresh_huge_page(), which was assuming that nodes are numbered contiguously from 0 to num_online_nodes(). Once the hotplug folks get this far, that will be false. Signed-off-by: Paul Jackson Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b65ef59d42a56fa1358958ede77aaa5bac385a8 tree c6f83951e399cf52784f6d200c9588e4c41d6461 parent 879336c3930ae9273ea1c45214cb8adae0ce494a author Akinobu Mita Wed, 22 Mar 2006 00:09:09 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] fix swap cluster offset When we've allocated SWAPFILE_CLUSTER pages, ->cluster_next should be the first index of swap cluster. But current code probably sets it wrong offset. Signed-off-by: Akinobu Mita Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 879336c3930ae9273ea1c45214cb8adae0ce494a tree 24fbb8aff19f6747b6cc40cb05cbe9f4c21f85e3 parent b18e7e654d7af741d2bf34a90dc34128d0217fea author Christoph Lameter Wed, 22 Mar 2006 00:09:08 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] drain_node_pages: interrupt latency reduction / optimization 1. Only disable interrupts if there is actually something to free 2. Only dirty the pcp cacheline if we actually freed something. 3. Disable interrupts for each single pcp and not for cleaning all the pcps in all zones of a node. drain_node_pages is called every 2 seconds from cache_reap. This fix should avoid most disabling of interrupts. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b18e7e654d7af741d2bf34a90dc34128d0217fea tree 04cbc067da970b8b24c8b5d48a1e7d9520f92b06 parent 1b55253a7f95adc82eb20937b57b3e3e32ba65df author Christoph Lameter Wed, 22 Mar 2006 00:09:07 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:06 -0800 [PATCH] slab: fix drain_array() so that it works correctly with the shared_array The list_lock also protects the shared array and we call drain_array() with the shared array. Therefore we cannot go as far as I wanted to but have to take the lock in a way so that it also protects the array_cache in drain_pages. (Note: maybe we should make the array_cache locking more consistent? I.e. always take the array cache lock for shared arrays and disable interrupts for the per cpu arrays?) Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b55253a7f95adc82eb20937b57b3e3e32ba65df tree 5ab3f9e6efa5e2ed2a39843b95dcf95ddb89592a parent aab2207cf8d9c343b6b5f0e4d27e1732f8618d14 author Christoph Lameter Wed, 22 Mar 2006 00:09:07 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:05 -0800 [PATCH] slab: remove drain_array_locked Remove drain_array_locked and use that opportunity to limit the time the l3 lock is taken further. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aab2207cf8d9c343b6b5f0e4d27e1732f8618d14 tree deb851a556ac7d2339a5bc83985a33fe126321ee parent 35386e3b0f876bf194982f48f027af0c216499ce author Christoph Lameter Wed, 22 Mar 2006 00:09:06 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:05 -0800 [PATCH] slab: make drain_array more universal by adding more parameters And a parameter to drain_array to control the freeing of all objects and then use drain_array() to replace instances of drain_array_locked with drain_array. Doing so will avoid taking locks in those locations if the arrays are empty. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35386e3b0f876bf194982f48f027af0c216499ce tree 9fb79545f6797422f5cf666b0e65a4bb1882ee1d parent 248a0301e703cbf781aa02a91bcfc6da75870dd7 author Christoph Lameter Wed, 22 Mar 2006 00:09:05 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:05 -0800 [PATCH] slab: cache_reap(): further reduction in interrupt holdoff cache_reap takes the l3->list_lock (disabling interrupts) unconditionally and then does a few checks and maybe does some cleanup. This patch makes cache_reap() only take the lock if there is work to do and then the lock is taken and released for each cleaning action. The checking of when to do the next reaping is done without any locking and becomes racy. Should not matter since reaping can also be skipped if the slab mutex cannot be acquired. The same is true for the touched processing. If we get this wrong once in awhile then we will mistakenly clean or not clean the shared cache. This will impact performance slightly. Note that the additional drain_array() function introduced here will fall out in a subsequent patch since array cleaning will now be very similar from all callers. Signed-off-by: Christoph Lameter Cc: Pekka Enberg Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 248a0301e703cbf781aa02a91bcfc6da75870dd7 tree 74168da24983ec948fb25f92c2b3a1b9d76a5f13 parent d5d4b0aa4e1430d73050babba999365593bdb9d2 author Rafael J. Wysocki Wed, 22 Mar 2006 00:09:04 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:05 -0800 [PATCH] mm: make shrink_all_memory try harder Make shrink_all_memory() repeat the attempts to free more memory if there seems to be no pages to free. Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5d4b0aa4e1430d73050babba999365593bdb9d2 tree 67199d156f61217f9493d31aa4a9bfbb9c97412e parent bba1e9b2111b14625f670bd07e57fd7ed57ce804 author Chen, Kenneth W Wed, 22 Mar 2006 00:09:03 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] optimize follow_hugetlb_page follow_hugetlb_page() walks a range of user virtual address and then fills in list of struct page * into an array that is passed from the argument list. It also gets a reference count via get_page(). For compound page, get_page() actually traverse back to head page via page_private() macro and then adds a reference count to the head page. Since we are doing a virt to pte look up, kernel already has a struct page pointer into the head page. So instead of traverse into the small unit page struct and then follow a link back to the head page, optimize that with incrementing the reference count directly on the head page. The benefit is that we don't take a cache miss on accessing page struct for the corresponding user address and more importantly, not to pollute the cache with a "not very useful" round trip of pointer chasing. This adds a moderate performance gain on an I/O intensive database transaction workload. Signed-off-by: Ken Chen Cc: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bba1e9b2111b14625f670bd07e57fd7ed57ce804 tree fc46b8702597fafde7d1a550dcbc948f173303ad parent 42b88befd6e0dae1a5fe04c03925037fa890e1f3 author Chen, Kenneth W Wed, 22 Mar 2006 00:09:02 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] convert hugetlbfs_counter to atomic Implementation of hugetlbfs_counter() is functionally equivalent to atomic_inc_return(). Use the simpler atomic form. Signed-off-by: Ken Chen Cc: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42b88befd6e0dae1a5fe04c03925037fa890e1f3 tree c234584f797e65e1bcd0d4675d56d1eb004d6681 parent 3915bcf38fe0b6d130b4bbde97804f29a0becf32 author David Gibson Wed, 22 Mar 2006 00:09:01 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] hugepage: is_aligned_hugepage_range() cleanup Quite a long time back, prepare_hugepage_range() replaced is_aligned_hugepage_range() as the callback from mm/mmap.c to arch code to verify if an address range is suitable for a hugepage mapping. is_aligned_hugepage_range() stuck around, but only to implement prepare_hugepage_range() on archs which didn't implement their own. Most archs (everything except ia64 and powerpc) used the same implementation of is_aligned_hugepage_range(). On powerpc, which implements its own prepare_hugepage_range(), the custom version was never used. In addition, "is_aligned_hugepage_range()" was a bad name, because it suggests it returns true iff the given range is a good hugepage range, whereas in fact it returns 0-or-error (so the sense is reversed). This patch cleans up by abolishing is_aligned_hugepage_range(). Instead prepare_hugepage_range() is defined directly. Most archs use the default version, which simply checks the given region is aligned to the size of a hugepage. ia64 and powerpc define custom versions. The ia64 one simply checks that the range is in the correct address space region in addition to being suitably aligned. The powerpc version (just as previously) checks for suitable addresses, and if necessary performs low-level MMU frobbing to set up new areas for use by hugepages. No libhugetlbfs testsuite regressions on ppc64 (POWER5 LPAR). Signed-off-by: David Gibson Signed-off-by: Zhang Yanmin Cc: "David S. Miller" Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3915bcf38fe0b6d130b4bbde97804f29a0becf32 tree c094ae338592d6e11999c16a2690915e47888a2b parent 4866920b93fd7d5b520278c3c76e6f4d5a352d81 author David Gibson Wed, 22 Mar 2006 00:08:59 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] hugepage: Move hugetlb_free_pgd_range() prototype to hugetlb.h The optional hugepage callback, hugetlb_free_pgd_range() is presently implemented non-trivially only on ia64 (but I plan to add one for powerpc shortly). It has its own prototype for the function in asm-ia64/pgtable.h. However, since the function is called from generic code, it make sense for its prototype to be in the generic hugetlb.h header file, as the protypes other arch callbacks already are (prepare_hugepage_range(), set_huge_pte_at(), etc.). This patch makes it so. Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4866920b93fd7d5b520278c3c76e6f4d5a352d81 tree c4b8642c83e11af6d8e57ab35dc479f2c1a651d0 parent 9da61aef0fd5b17dd4bf4baf33db12c470def774 author David Gibson Wed, 22 Mar 2006 00:08:58 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:04 -0800 [PATCH] hugepage: Fix hugepage logic in free_pgtables() harder Turns out the hugepage logic in free_pgtables() was doubly broken. The loop coalescing multiple normal page VMAs into one call to free_pgd_range() had an off by one error, which could mean it would coalesce one hugepage VMA into the same bundle (checking 'vma' not 'next' in the loop). I transferred this bug into the new is_vm_hugetlb_page() based version. Here's the fix. This one didn't bite on powerpc previously for the same reason the is_hugepage_only_range() problem didn't: powerpc's hugetlb_free_pgd_range() is identical to free_pgd_range(). It didn't bite on ia64 because the hugepage region is distant enough from any other region that the separated PMD_SIZE distance test would always prevent coalescing the two together. No libhugetlbfs testsuite regressions (ppc64, POWER5). Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9da61aef0fd5b17dd4bf4baf33db12c470def774 tree cb4bb0b63c36a0b303ceadc0cec0fae00c49ecf3 parent 27a85ef1b81300cfff06b4c8037e9914dfb09acc author David Gibson Wed, 22 Mar 2006 00:08:57 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: Fix hugepage logic in free_pgtables() free_pgtables() has special logic to call hugetlb_free_pgd_range() instead of the normal free_pgd_range() on hugepage VMAs. However, the test it uses to do so is incorrect: it calls is_hugepage_only_range on a hugepage sized range at the start of the vma. is_hugepage_only_range() will return true if the given range has any intersection with a hugepage address region, and in this case the given region need not be hugepage aligned. So, for example, this test can return true if called on, say, a 4k VMA immediately preceding a (nicely aligned) hugepage VMA. At present we get away with this because the powerpc version of hugetlb_free_pgd_range() is just a call to free_pgd_range(). On ia64 (the only other arch with a non-trivial is_hugepage_only_range()) we get away with it for a different reason; the hugepage area is not contiguous with the rest of the user address space, and VMAs are not permitted in between, so the test can't return a false positive there. Nonetheless this should be fixed. We do that in the patch below by replacing the is_hugepage_only_range() test with an explicit test of the VMA using is_vm_hugetlb_page(). This in turn changes behaviour for platforms where is_hugepage_only_range() returns false always (everything except powerpc and ia64). We address this by ensuring that hugetlb_free_pgd_range() is defined to be identical to free_pgd_range() (instead of a no-op) on everything except ia64. Even so, it will prevent some otherwise possible coalescing of calls down to free_pgd_range(). Since this only happens for hugepage VMAs, removing this small optimization seems unlikely to cause any trouble. This patch causes no regressions on the libhugetlbfs testsuite - ppc64 POWER5 (8-way), ppc64 G5 (2-way) and i386 Pentium M (UP). Signed-off-by: David Gibson Cc: William Lee Irwin III Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27a85ef1b81300cfff06b4c8037e9914dfb09acc tree 1a8d9bc4c5611542273e57fc2606c12905906a57 parent b45b5bd65f668a665db40d093e4e1fe563533608 author David Gibson Wed, 22 Mar 2006 00:08:56 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: Make {alloc,free}_huge_page() local Originally, mm/hugetlb.c just handled the hugepage physical allocation path and its {alloc,free}_huge_page() functions were used from the arch specific hugepage code. These days those functions are only used with mm/hugetlb.c itself. Therefore, this patch makes them static and removes their prototypes from hugetlb.h. This requires a small rearrangement of code in mm/hugetlb.c to avoid a forward declaration. This patch causes no regressions on the libhugetlbfs testsuite (ppc64, POWER5). Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b45b5bd65f668a665db40d093e4e1fe563533608 tree aa3806bd87fd7aa719b561e4d468c779f6adb31b parent 3935baa9bcda3ccaee4f7849f5157d316e34412e author David Gibson Wed, 22 Mar 2006 00:08:55 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: Strict page reservation for hugepage inodes These days, hugepages are demand-allocated at first fault time. There's a somewhat dubious (and racy) heuristic when making a new mmap() to check if there are enough available hugepages to fully satisfy that mapping. A particularly obvious case where the heuristic breaks down is where a process maps its hugepages not as a single chunk, but as a bunch of individually mmap()ed (or shmat()ed) blocks without touching and instantiating the pages in between allocations. In this case the size of each block is compared against the total number of available hugepages. It's thus easy for the process to become overcommitted, because each block mapping will succeed, although the total number of hugepages required by all blocks exceeds the number available. In particular, this defeats such a program which will detect a mapping failure and adjust its hugepage usage downward accordingly. The patch below addresses this problem, by strictly reserving a number of physical hugepages for hugepage inodes which have been mapped, but not instatiated. MAP_SHARED mappings are thus "safe" - they will fail on mmap(), not later with an OOM SIGKILL. MAP_PRIVATE mappings can still trigger an OOM. (Actually SHARED mappings can technically still OOM, but only if the sysadmin explicitly reduces the hugepage pool between mapping and instantiation) This patch appears to address the problem at hand - it allows DB2 to start correctly, for instance, which previously suffered the failure described above. This patch causes no regressions on the libhugetblfs testsuite, and makes a test (designed to catch this problem) pass which previously failed (ppc64, POWER5). Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3935baa9bcda3ccaee4f7849f5157d316e34412e tree 45f6d064693a91171c57159acac43822cae6e129 parent 79ac6ba40eb8d70f0d204e98ae9b63280ad1018c author David Gibson Wed, 22 Mar 2006 00:08:53 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: serialize hugepage allocation and instantiation Currently, no lock or mutex is held between allocating a hugepage and inserting it into the pagetables / page cache. When we do go to insert the page into pagetables or page cache, we recheck and may free the newly allocated hugepage. However, since the number of hugepages in the system is strictly limited, and it's usualy to want to use all of them, this can still lead to spurious allocation failures. For example, suppose two processes are both mapping (MAP_SHARED) the same hugepage file, large enough to consume the entire available hugepage pool. If they race instantiating the last page in the mapping, they will both attempt to allocate the last available hugepage. One will fail, of course, returning OOM from the fault and thus causing the process to be killed, despite the fact that the entire mapping can, in fact, be instantiated. The patch fixes this race by the simple method of adding a (sleeping) mutex to serialize the hugepage fault path between allocation and insertion into pagetables and/or page cache. It would be possible to avoid the serialization by catching the allocation failures, waiting on some condition, then rechecking to see if someone else has instantiated the page for us. Given the likely frequency of hugepage instantiations, it seems very doubtful it's worth the extra complexity. This patch causes no regression on the libhugetlbfs testsuite, and one test, which can trigger this race now passes where it previously failed. Actually, the test still sometimes fails, though less often and only as a shmat() failure, rather processes getting OOM killed by the VM. The dodgy heuristic tests in fs/hugetlbfs/inode.c for whether there's enough hugepage space aren't protected by the new mutex, and would be ugly to do so, so there's still a race there. Another patch to replace those tests with something saner for this reason as well as others coming... Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79ac6ba40eb8d70f0d204e98ae9b63280ad1018c tree 522d835dbdc6b6efe6b834f3f1f9a21a8ba161e5 parent 8f860591ffb29738cf5539b6fbf27f50dcdeb380 author David Gibson Wed, 22 Mar 2006 00:08:51 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] hugepage: Small fixes to hugepage clear/copy path Move the loops used in mm/hugetlb.c to clear and copy hugepages to their own functions for clarity. As we do so, we add some checks of need_resched - we are, after all copying megabytes of memory here. We also add might_sleep() accordingly. We generally dropped locks around the clear and copy, already but not everyone has PREEMPT enabled, so we should still be checking explicitly. For this to work, we need to remove the clear_huge_page() from alloc_huge_page(), which is called with the page_table_lock held in the COW path. We move the clear_huge_page() to just after the alloc_huge_page() in the hugepage no-page path. In the COW path, the new page is about to be copied over, so clearing it was just a waste of time anyway. So as a side effect we also fix the fact that we held the page_table_lock for far too long in this path by calling alloc_huge_page() under it. It causes no regressions on the libhugetlbfs testsuite (ppc64, POWER5). Signed-off-by: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f860591ffb29738cf5539b6fbf27f50dcdeb380 tree 4265e45c4a79d86a16cd5175a836e8c531be8117 parent aed75ff3caafce404d9be7f0c088716375be5279 author Zhang, Yanmin Wed, 22 Mar 2006 00:08:50 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] Enable mprotect on huge pages 2.6.16-rc3 uses hugetlb on-demand paging, but it doesn_t support hugetlb mprotect. From: David Gibson Remove a test from the mprotect() path which checks that the mprotect()ed range on a hugepage VMA is hugepage aligned (yes, really, the sense of is_aligned_hugepage_range() is the opposite of what you'd guess :-/). In fact, we don't need this test. If the given addresses match the beginning/end of a hugepage VMA they must already be suitably aligned. If they don't, then mprotect_fixup() will attempt to split the VMA. The very first test in split_vma() will check for a badly aligned address on a hugepage VMA and return -EINVAL if necessary. From: "Chen, Kenneth W" On i386 and x86-64, pte flag _PAGE_PSE collides with _PAGE_PROTNONE. The identify of hugetlb pte is lost when changing page protection via mprotect. A page fault occurs later will trigger a bug check in huge_pte_alloc(). The fix is to always make new pte a hugetlb pte and also to clean up legacy code where _PAGE_PRESENT is forced on in the pre-faulting day. Signed-off-by: Zhang Yanmin Cc: David Gibson Cc: "David S. Miller" Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: William Lee Irwin III Signed-off-by: Ken Chen Signed-off-by: Nishanth Aravamudan Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aed75ff3caafce404d9be7f0c088716375be5279 tree 15e7165969ff533b73e29a4ee0d4b7c889ef1d29 parent a564da3964db3256069190c2ae95069143ac37fb author Steven Pratt Wed, 22 Mar 2006 00:08:48 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] readahead: fix initial window size calculation The current current get_init_ra_size is not optimal across different IO sizes and max_readahead values. Here is a quick summary of sizes computed under current design and under the attached patch. All of these assume 1st IO at offset 0, or 1st detected sequential IO. 32k max, 4k request old new ----------------- 8k 8k 16k 16k 32k 32k 128k max, 4k request old new ----------------- 32k 16k 64k 32k 128k 64k 128k 128k 128k max, 32k request old new ----------------- 32k 64k <----- 64k 128k 128k 128k 512k max, 4k request old new ----------------- 4k 32k <---- 16k 64k 64k 128k 128k 256k 512k 512k Cc: Oleg Nesterov Cc: Steven Pratt Cc: Ram Pai Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a564da3964db3256069190c2ae95069143ac37fb tree b7b9d66c1d6dde82db23222b16b0296013b1c3db parent d15c023b44e5d323f1f4130b85d29f08e43433b1 author Oleg Nesterov Wed, 22 Mar 2006 00:08:47 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:03 -0800 [PATCH] readahead: ->prev_page can overrun the ahead window If get_next_ra_size() does not grow fast enough, ->prev_page can overrun the ahead window. This means the caller will read the pages from ->ahead_start + ->ahead_size to ->prev_page synchronously. Signed-off-by: Oleg Nesterov Cc: Steven Pratt Cc: Ram Pai Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d15c023b44e5d323f1f4130b85d29f08e43433b1 tree f7153643b876b25f66e6e33ab2bbc670ba05a7f7 parent 6e5ef1a96e6e3b123da56292bc35017c8c401491 author Hugh Dickins Wed, 22 Mar 2006 00:08:46 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] shmem: inline to avoid warning shmem.c was named and shamed in Jesper's "Building 100 kernels" warnings: shmem_parse_mpol is only used when CONFIG_TMPFS parses mount options; and only called from that one site, so mark it inline like its non-NUMA stub. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e5ef1a96e6e3b123da56292bc35017c8c401491 tree db9532c53013bccd7ac9d186784bbc6fd343bca4 parent a7290ee08e434399660ace34427c17696e47c562 author Christoph Lameter Wed, 22 Mar 2006 00:08:45 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] vmscan: emove obsolete checks from shrink_list() and fix unlikely in refill_inactive_zone() As suggested by Marcelo: 1. The optimization introduced recently for not calling page_referenced() during zone reclaim makes two additional checks in shrink_list unnecessary. 2. The if (unlikely(sc->may_swap)) in refill_inactive_zone is optimized for the zone_reclaim case. However, most peoples system only does swap. Undo that. Signed-off-by: Christoph Lameter Cc: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7290ee08e434399660ace34427c17696e47c562 tree ee7d16b2c946c90450cf22e8bcd91111ca66270f parent 617d2214ee06c209e5c375c280d50abace8058e1 author Michael Buesch Wed, 22 Mar 2006 00:08:44 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] Uninline sys_mmap common code (reduce binary size) Remove the inlining of the new vs old mmap system call common code. This reduces the size of the resulting vmlinux for defconfig as follows: mb@pc1:~/develop/git/linux-2.6$ size vmlinux.mmap* text data bss dec hex filename 3303749 521524 186564 4011837 3d373d vmlinux.mmapinline 3303557 521524 186564 4011645 3d367d vmlinux.mmapnoinline The new sys_mmap2() has also one function call overhead removed, now. (probably it was already optimized to a jmp before, but anyway...) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 617d2214ee06c209e5c375c280d50abace8058e1 tree dd2fbf4a2cfa9854ebf27e6f100608c8a0507850 parent b7ab795b7bec9997d4fde39f249d52823d36d98d author Nick Piggin Wed, 22 Mar 2006 00:08:43 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] mm: optimise page_count Optimise page_count compound page test and make it consistent with similar functions. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7ab795b7bec9997d4fde39f249d52823d36d98d tree 8b8825a0718ec38b5b0840fe06efa9a92a0e30c7 parent 6626c5d53bc45c59798628677ba5606f02e371f3 author Nick Piggin Wed, 22 Mar 2006 00:08:42 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] mm: more CONFIG_DEBUG_VM Put a few more checks under CONFIG_DEBUG_VM Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6626c5d53bc45c59798628677ba5606f02e371f3 tree 7be40e7709b1887648a649fd6b5c036638c4608b parent 17cf44064ae744f081309108fa67f0e942b10167 author Andrew Morton Wed, 22 Mar 2006 00:08:42 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] mm: prep_zero_page() in irq is a bug prep_zero_page() uses KM_USER0 and hence may not be used from IRQ context, at least for highmem pages. Cc: Nick Piggin Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17cf44064ae744f081309108fa67f0e942b10167 tree 9073ac7498b559f5d0d36843e305a39eecc6436b parent 7835e98b2e3c66dba79cb0ff8ebb90a2fe030c29 author Nick Piggin Wed, 22 Mar 2006 00:08:41 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] mm: cleanup prep_ stuff Move the prep_ stuff into prep_new_page. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7835e98b2e3c66dba79cb0ff8ebb90a2fe030c29 tree 405a96eade34845dabe2f125b6c5eb095846869d parent 70dc991d66cac40fdb07346dba2b5d862d732c34 author Nick Piggin Wed, 22 Mar 2006 00:08:40 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:02 -0800 [PATCH] remove set_page_count() outside mm/ set_page_count usage outside mm/ is limited to setting the refcount to 1. Remove set_page_count from outside mm/, and replace those users with init_page_count() and set_page_refcounted(). This allows more debug checking, and tighter control on how code is allowed to play around with page->_count. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70dc991d66cac40fdb07346dba2b5d862d732c34 tree 53ba8de1ae2d49f7479391e82794e35f14c0f7f7 parent 84097518d1ecd2330f9488e4c2d09953a3340e74 author Nick Piggin Wed, 22 Mar 2006 00:08:35 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] remove set_page_count(page, 0) users (outside mm) A couple of places set_page_count(page, 1) that don't need to. Signed-off-by: Nick Piggin Cc: Paul Mackerras Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84097518d1ecd2330f9488e4c2d09953a3340e74 tree 50981fe0584c456a1a86e6d7f611eec223b5f536 parent 0f8053a509ceba4a077a50ea7b77039b5559b428 author Nick Piggin Wed, 22 Mar 2006 00:08:34 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] mm: nommu use compound pages Now that compound page handling is properly fixed in the VM, move nommu over to using compound pages rather than rolling their own refcounting. nommu vm page refcounting is broken anyway, but there is no need to have divergent code in the core VM now, nor when it gets fixed. Signed-off-by: Nick Piggin Cc: David Howells (Needs testing, please). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f8053a509ceba4a077a50ea7b77039b5559b428 tree 5a66021540395e20256f38a3a45174617428a832 parent 4fa4f53bf92139595cae6f1a3d972fc0a3451d29 author Nick Piggin Wed, 22 Mar 2006 00:08:33 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] mm: make __put_page internal Remove __put_page from outside the core mm/. It is dangerous because it does not handle compound pages nicely, and misses 1->0 transitions. If a user later appears that really needs the extra speed we can reevaluate. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fa4f53bf92139595cae6f1a3d972fc0a3451d29 tree a564a675bed7f34b1a05fce4055ea97e509ecf62 parent 20aaffd6a6492a5f7975dd7be967cdf0e4d978c4 author Nick Piggin Wed, 22 Mar 2006 00:08:33 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] x86_64: pageattr remove __put_page Remove page_count and __put_page from x86-64 pageattr Signed-off-by: Nick Piggin Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20aaffd6a6492a5f7975dd7be967cdf0e4d978c4 tree b6202e19d2c42dfcc7bbb6c266034e695adac137 parent 84d1c054b1c408c6c92676069fa678d55d5f0033 author Nick Piggin Wed, 22 Mar 2006 00:08:32 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] x86_64: pageattr use single list Use page->lru.next to implement the singly linked list of pages rather than the struct deferred_page which needs to be allocated and freed for each page. Signed-off-by: Nick Piggin Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84d1c054b1c408c6c92676069fa678d55d5f0033 tree bffcaae1cf80706fcb276a3a15654b03b50bb6ae parent f9aed0e2537174b95908f48b6052ae37196c9390 author Nick Piggin Wed, 22 Mar 2006 00:08:31 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] i386: pageattr remove __put_page Stop using __put_page and page_count in i386 pageattr.c Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9aed0e2537174b95908f48b6052ae37196c9390 tree 0b5cd42f36f08086f0258a753203b840123c9301 parent a6f563db09c54c80d80e9013182dc512a5e53d0f author Nick Piggin Wed, 22 Mar 2006 00:08:30 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] sg: use compound pages sg increments the refcount of constituent pages in its higher order memory allocations when they are about to be mapped by userspace. This is done so the subsequent get_page/put_page when doing the mapping and unmapping does not free the page. Move over to the preferred way, that is, using compound pages instead. This fixes a whole class of possible obscure bugs where a get_user_pages on a constituent page may outlast the user mappings or even the driver. Signed-off-by: Nick Piggin Cc: Hugh Dickins Cc: Douglas Gilbert Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6f563db09c54c80d80e9013182dc512a5e53d0f tree 7fa43d6a7d83a30042356f06a9cc6b09472a70e7 parent fb8d14e172a29ba5ac69a73b61196be86fdfc3e1 author Hugh Dickins Wed, 22 Mar 2006 00:08:29 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:01 -0800 [PATCH] remove VM_DONTCOPY bogosities Now that it's madvisable, remove two pieces of VM_DONTCOPY bogosity: 1. There was and is no logical reason why VM_DONTCOPY should be in the list of flags which forbid vma merging (and those drivers which set it are also setting VM_IO, which itself forbids the merge). 2. It's hard to understand the purpose of the VM_HUGETLB, VM_DONTCOPY block in vm_stat_account: but never mind, it's under CONFIG_HUGETLB, which (unlike CONFIG_HUGETLB_PAGE or CONFIG_HUGETLBFS) has never been defined. Signed-off-by: Hugh Dickins Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb8d14e172a29ba5ac69a73b61196be86fdfc3e1 tree 5b31eac00f8fc5860170d7f8b2e7e961dbda0ddf parent c9b02d970c385a253edb36c87643b0df706b50b4 author Wu Fengguang Wed, 22 Mar 2006 00:08:28 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] mm: shrink_inactive_lis() nr_scan accounting fix In shrink_inactive_list(), nr_scan is not accounted when nr_taken is 0. But 0 pages taken does not mean 0 pages scanned. Move the goto statement below the accounting code to fix it. Signed-off-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9b02d970c385a253edb36c87643b0df706b50b4 tree 0e1990c1ced842a923221b36ee1546bf9aac8509 parent 7fb2d46d396b2491818f8e43b01049b3234e6c07 author Wu Fengguang Wed, 22 Mar 2006 00:08:23 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] mm: isolate_lru_pages() scan count fix In isolate_lru_pages(), *scanned reports one more scan because the scan counter is increased one more time on exit of the while-loop. Change the while-loop to for-loop to fix it. Signed-off-by: Nick Piggin Signed-off-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fb2d46d396b2491818f8e43b01049b3234e6c07 tree d5826a4d1c3b1853be20c6049311eb52f1a98360 parent 1742f19fa920cdd6905f0db5898524dde22ab2a4 author Christoph Lameter Wed, 22 Mar 2006 00:08:22 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] zone_reclaim: additional comments and cleanup Add some comments to explain how zone reclaim works. And it fixes the following issues: - PF_SWAPWRITE needs to be set for RECLAIM_SWAP to be able to write out pages to swap. Currently RECLAIM_SWAP may not do that. - remove setting nr_reclaimed pages after slab reclaim since the slab shrinking code does not use that and the nr_reclaimed pages is just right for the intended follow up action. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1742f19fa920cdd6905f0db5898524dde22ab2a4 tree 90a490795f29f96e89503ead5affb4c8f99e5e75 parent 05ff51376f01fd8837946a4f8144a84f6cc71c19 author Andrew Morton Wed, 22 Mar 2006 00:08:21 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] vmscan: rename functions We have: try_to_free_pages ->shrink_caches(struct zone **zones, ..) ->shrink_zone(struct zone *, ...) ->shrink_cache(struct zone *, ...) ->shrink_list(struct list_head *, ...) ->refill_inactive_list((struct zone *, ...) which is fairly irrational. Rename things so that we have try_to_free_pages ->shrink_zones(struct zone **zones, ..) ->shrink_zone(struct zone *, ...) ->shrink_inactive_list(struct zone *, ...) ->shrink_page_list(struct list_head *, ...) ->shrink_active_list(struct zone *, ...) Cc: Nick Piggin Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05ff51376f01fd8837946a4f8144a84f6cc71c19 tree ca91bcabe6b4bfa71801a39e2921a44ec0bb1003 parent 69e05944af39fc6c97b09380c8721e38433bd828 author Andrew Morton Wed, 22 Mar 2006 00:08:20 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] vmscan return nr_reclaimed Change all the vmscan functions to retunr the number-of-reclaimed pages and remove scan_conrtol.nr_reclaimed. Saves ten-odd bytes of text and makes things clearer and more consistent. The patch also changes the behaviour of zone_reclaim() when it falls back to slab shrinking. Christoph says "Setting this to one means that we will rescan and shrink the slab for each allocation if we are out of zone memory and RECLAIM_SLAB is set. Plus if we do an order 0 allocation we do not go off node as intended. "We better set this to zero. This means the allocation will go offnode despite us having potentially freed lots of memory on the zone. Future allocations can then again be done from this zone." Cc: Nick Piggin Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69e05944af39fc6c97b09380c8721e38433bd828 tree 165e594ed5cd34c3a2b2ec236f75ac5b192ade7a parent 179e96395b1f01e95ebe1ff5ef306b810dbbd147 author Andrew Morton Wed, 22 Mar 2006 00:08:19 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] vmscan: use unsigned longs Turn basically everything in vmscan.c into `unsigned long'. This is to avoid the possibility that some piece of code in there might decide to operate upon more than 4G (or even 2G) of pages in one hit. This might be silly, but we'll need it one day. Cc: Christoph Lameter Cc: Nick Piggin Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 179e96395b1f01e95ebe1ff5ef306b810dbbd147 tree c21157905aa04dc37b531a1deaacd022932fa48e parent 8695949a1d7c99e039595db00af8e0fe4722307d author Andrew Morton Wed, 22 Mar 2006 00:08:18 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:54:00 -0800 [PATCH] vmscan: scan_control cleanup Initialise as much of scan_control as possible at the declaration site. This tidies things up a bit and assures us that all unmentioned fields are zeroed out. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8695949a1d7c99e039595db00af8e0fe4722307d tree ac845804aeabdeb19963b5907df921cb9ba8839e parent a07fa3944bf924881450884224cbb2f1269cb9fa author Christoph Lameter Wed, 22 Mar 2006 00:08:18 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] Thin out scan_control: remove nr_to_scan and priority Make nr_to_scan and priority a parameter instead of putting it into scan control. This allows various small optimizations and IMHO makes the code easier to read. Signed-off-by: Christoph Lameter Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a07fa3944bf924881450884224cbb2f1269cb9fa tree 1a418f44586da209b7a05d0e08e6c2b2bc5fe420 parent 78eef01b0fae087c5fadbd85dd4fe2918c3a015f author Andrew Morton Wed, 22 Mar 2006 00:08:17 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] slab: use on_each_cpu() Slab duplicates on_each_cpu(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78eef01b0fae087c5fadbd85dd4fe2918c3a015f tree 78057039596aa733ff904a36260cca3a51af6981 parent ac2b898ca6fb06196a26869c23b66afe7944e52e author Andrew Morton Wed, 22 Mar 2006 00:08:16 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] on_each_cpu(): disable local interrupts When on_each_cpu() runs the callback on other CPUs, it runs with local interrupts disabled. So we should run the function with local interrupts disabled on this CPU, too. And do the same for UP, so the callback is run in the same environment on both UP and SMP. (strictly it should do preempt_disable() too, but I think local_irq_disable is sufficiently equivalent). Also uninlines on_each_cpu(). softirq.c was the most appropriate file I could find, but it doesn't seem to justify creating a new file. Oh, and fix up that comment over (under?) x86's smp_call_function(). It drives me nuts. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac2b898ca6fb06196a26869c23b66afe7944e52e tree e82e7bebd89b02813ce23f76fec4aeb5626da655 parent 911851e6ee6ac4e26f07be342a89632f78494fef author Christoph Lameter Wed, 22 Mar 2006 00:08:15 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] slab: Remove SLAB_NO_REAP option SLAB_NO_REAP is documented as an option that will cause this slab not to be reaped under memory pressure. However, that is not what happens. The only thing that SLAB_NO_REAP controls at the moment is the reclaim of the unused slab elements that were allocated in batch in cache_reap(). Cache_reap() is run every few seconds independently of memory pressure. Could we remove the whole thing? Its only used by three slabs anyways and I cannot find a reason for having this option. There is an additional problem with SLAB_NO_REAP. If set then the recovery of objects from alien caches is switched off. Objects not freed on the same node where they were initially allocated will only be reused if a certain amount of objects accumulates from one alien node (not very likely) or if the cache is explicitly shrunk. (Strangely __cache_shrink does not check for SLAB_NO_REAP) Getting rid of SLAB_NO_REAP fixes the problems with alien cache freeing. Signed-off-by: Christoph Lameter Cc: Pekka Enberg Cc: Manfred Spraul Cc: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 911851e6ee6ac4e26f07be342a89632f78494fef tree 898e7150d996eae1800183a5380791270f59263d parent fcc234f888ba2365c44ba0507eb8a18eebf1f594 author Randy Dunlap Wed, 22 Mar 2006 00:08:14 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:59 -0800 [PATCH] slab: fix kernel-doc warnings Fix kernel-doc warnings in mm/slab.c. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcc234f888ba2365c44ba0507eb8a18eebf1f594 tree afc0d6f5a6191a94d8285f0b21ecec5a9b911df9 parent b5d8ca7c50826c0b456b4a646875dc573adfde2b author Pekka Enberg Wed, 22 Mar 2006 00:08:13 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] mm: kill kmem_cache_t usage We have struct kmem_cache now so use it instead of the old typedef. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5d8ca7c50826c0b456b4a646875dc573adfde2b tree dc04800243ac331c862c1cdbeebd82bf369602d1 parent a737b3e2fcf96f576fa3e2e382236d9ee94f383f author Ravikiran G Thirumalai Wed, 22 Mar 2006 00:08:12 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] slab: remove cachep->spinlock Remove cachep->spinlock. Locking has moved to the kmem_list3 and most of the structures protected earlier by cachep->spinlock is now protected by the l3->list_lock. slab cache tunables like batchcount are accessed always with the cache_chain_mutex held. Patch tested on SMP and NUMA kernels with dbench processes running, constant onlining/offlining, and constant cache tuning, all at the same time. Signed-off-by: Ravikiran Thirumalai Cc: Christoph Lameter Cc: Pekka Enberg Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a737b3e2fcf96f576fa3e2e382236d9ee94f383f tree 8bc2a5e4f0f12ae01c6cb718ada98bc092daecbf parent f30cf7d13eee420f5249b4d7709b46570098ab92 author Andrew Morton Wed, 22 Mar 2006 00:08:11 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] slab cleanup slab.c has become a bit revolting again. Try to repair it. - Coding style fixes - Don't do assignments-in-if-statements. - Don't typecast assignments to/from void* Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f30cf7d13eee420f5249b4d7709b46570098ab92 tree 825ad85c9c517efb0be41bf114ceb73a15f5c914 parent 8fea4e96a8f29ccc34c244f54574680ce9b43631 author Pekka Enberg Wed, 22 Mar 2006 00:08:11 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] slab: extract setup_cpu_cache Extract setup_cpu_cache() function from kmem_cache_create() to make the latter a little less complex. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fea4e96a8f29ccc34c244f54574680ce9b43631 tree 651042fa1d73fd1efa1c4f1b6c9f25ebbe03ea6f parent b50ec7d8070ae7a39fe78e65a8812bbc3ca2f7ac author Pekka Enberg Wed, 22 Mar 2006 00:08:10 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] slab: object to index mapping cleanup Clean up the object to index mapping that has been spread around mm/slab.c. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b50ec7d8070ae7a39fe78e65a8812bbc3ca2f7ac tree 56a30fe319a1c4356547d13896d6762df76980d7 parent a482289d46587ffcda4c85aab109fb74910d7a48 author Adrian Bunk Wed, 22 Mar 2006 00:08:09 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] kcalloc(): INT_MAX -> ULONG_MAX Since size_t has the same size as a long on all architectures, it's enough for overflow checks to check against ULONG_MAX. This change could allow a compiler better optimization (especially in the n=1 case). The practical effect seems to be positive, but quite small: text data bss dec hex filename 21762380 5859870 1848928 29471178 1c1b1ca vmlinux-old 21762211 5859870 1848928 29471009 1c1b121 vmlinux-patched Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a482289d46587ffcda4c85aab109fb74910d7a48 tree 351dc5d9c09a4fe3d122c2157a298852ac8a821c parent 545b1ea9bfa5a8ca9af33d63144bd4f2faaea8dd author Nick Piggin Wed, 22 Mar 2006 00:08:08 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] hugepage allocator cleanup Insert "fresh" huge pages into the hugepage allocator by the same means as they are freed back into it. This reduces code size and allows enqueue_huge_page to be inlined into the hugepage free fastpath. Eliminate occurances of hugepages on the free list with non-zero refcount. This can allow stricter refcount checks in future. Also required for lockless pagecache. Signed-off-by: Nick Piggin "This patch also eliminates a leak "cleaned up" by re-clobbering the refcount on every allocation from the hugepage freelists. With respect to the lockless pagecache, the crucial aspect is to eliminate unconditional set_page_count() to 0 on pages with potentially nonzero refcounts, though closer inspection suggests the assignments removed are entirely spurious." Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 545b1ea9bfa5a8ca9af33d63144bd4f2faaea8dd tree deef747e0f08089a0cd14e09551efaddfad813f9 parent 9d41415221214ca4820b9464dfa548e2f20e7dd5 author Nick Piggin Wed, 22 Mar 2006 00:08:07 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] mm: cleanup bootmem The bootmem code added to page_alloc.c duplicated some page freeing code that it really doesn't need to because it is not so performance critical. While we're here, make prefetching work properly by actually prefetching the page we're about to use before prefetching ahead to the next one (ie. get the most important transaction started first). Also prefetch just a single page ahead rather than leaving a gap of 16. Jack Steiner reported no problems with SGI's ia64 simulator. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d41415221214ca4820b9464dfa548e2f20e7dd5 tree 58db93aca7cf16ddf22a9d86f32c6f04c19d721c parent 8dfcc9ba27e2ed257e5de9539f7f03e57c2c0e33 author Nick Piggin Wed, 22 Mar 2006 00:08:06 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:58 -0800 [PATCH] mm: page_state comment more Clarify that preemption needs to be guarded against with the __xxx_page_state functions. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dfcc9ba27e2ed257e5de9539f7f03e57c2c0e33 tree aecaeb6a0b33c23f79dfcd2418e4a3881a29f2e2 parent 8e7a9aae91101916b86de07fafe3272ea8dc1f10 author Nick Piggin Wed, 22 Mar 2006 00:08:05 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: split highorder pages Have an explicit mm call to split higher order pages into individual pages. Should help to avoid bugs and be more explicit about the code's intention. Signed-off-by: Nick Piggin Cc: Russell King Cc: David Howells Cc: Ralf Baechle Cc: Benjamin Herrenschmidt Cc: Paul Mundt Cc: "David S. Miller" Cc: Chris Zankel Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e7a9aae91101916b86de07fafe3272ea8dc1f10 tree 799beb54db0ec0b6c58c5d6cdc902fa570f8be90 parent 8dc04efbfb3c08a08fb7a3b97348d5d561b26ae2 author Nick Piggin Wed, 22 Mar 2006 00:08:04 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] xtensa: pgtable fixes - Don't return uninitialised stack values in case of allocation failure - Don't bother clearing PageCompound because __GFP_COMP wasn't specified Increment over the pte page rather than one pte entry in pte_alloc_one_kernel - Actually increment the page pointer in pte_alloc_one - Compile fixes, typos. Signed-off-by: Nick Piggin Acked-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dc04efbfb3c08a08fb7a3b97348d5d561b26ae2 tree a48ce376d077745fdab23a33e5be1d48c979c3ae parent 7c8ee9a86340db686cd4314e9944dc9b6111bda9 author Nick Piggin Wed, 22 Mar 2006 00:08:03 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: de-skew page refcounting atomic_add_unless (atomic_inc_not_zero) no longer requires an offset refcount to function correctly. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c8ee9a86340db686cd4314e9944dc9b6111bda9 tree 80638e1658556b4fd7c0b92d571aaac854245bd3 parent f205b2fe62d321403525065a4cb31b6bff1bbe53 author Nick Piggin Wed, 22 Mar 2006 00:08:03 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: simplify vmscan vs release refcounting The VM has an interesting race where a page refcount can drop to zero, but it is still on the LRU lists for a short time. This was solved by testing a 0->1 refcount transition when picking up pages from the LRU, and dropping the refcount in that case. Instead, use atomic_add_unless to ensure we never pick up a 0 refcount page from the LRU, thus a 0 refcount page will never have its refcount elevated until it is allocated again. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f205b2fe62d321403525065a4cb31b6bff1bbe53 tree 26a2273e7da089e99690097348bf4d35600393f4 parent 5e9dace8d386def04219134d7160e8a778824764 author Nick Piggin Wed, 22 Mar 2006 00:08:02 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: slab less atomics Atomic operation removal from slab Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e9dace8d386def04219134d7160e8a778824764 tree d74ca57577cc4872eb6bcf609e3c7f7d1a39fdf6 parent 674539115cc88473f623581e1d53c0e2ecef2179 author Nick Piggin Wed, 22 Mar 2006 00:08:01 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: page_alloc less atomics More atomic operation removal from page allocator Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 674539115cc88473f623581e1d53c0e2ecef2179 tree 7a32501091d7370ff4387df68804f918a089c631 parent 4c84cacfa424264f7ad5287298d3ea4a3e935278 author Nick Piggin Wed, 22 Mar 2006 00:08:00 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: less atomic ops In the page release paths, we can be sure that nobody will mess with our page->flags because the refcount has dropped to 0. So no need for atomic operations here. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c84cacfa424264f7ad5287298d3ea4a3e935278 tree 8cefe97dfd0cdfbdebe5636ccc68b14ab3ae1207 parent 8d438f96d2b8eade6cbcd8adfc22dae6f5cbd6c0 author Nick Piggin Wed, 22 Mar 2006 00:08:00 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:57 -0800 [PATCH] mm: PageActive no testset PG_active is protected by zone->lru_lock, it does not need TestSet/TestClear operations. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d438f96d2b8eade6cbcd8adfc22dae6f5cbd6c0 tree 5248caf52ed9ba1dbb172d9e3bd3216c97ab3b84 parent 46453a6e194a8c55fe6cf3dc8e1c4f24e2abc013 author Nick Piggin Wed, 22 Mar 2006 00:07:59 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] mm: PageLRU no testset PG_lru is protected by zone->lru_lock. It does not need TestSet/TestClear operations. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46453a6e194a8c55fe6cf3dc8e1c4f24e2abc013 tree e407665e6c8cdf33814007750c49fdbea0a21e0e parent 2492ecc1a16b8ccf679d2999dca4f1b48aef07ee author Nick Piggin Wed, 22 Mar 2006 00:07:58 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] mm: never ClearPageLRU released pages If vmscan finds a zero refcount page on the lru list, never ClearPageLRU it. This means the release code need not hold ->lru_lock to stabilise PageLRU, so that lock may be skipped entirely when releasing !PageLRU pages (because we know PageLRU won't have been temporarily cleared by vmscan, which was previously guaranteed by holding the lock to synchronise against vmscan). Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2492ecc1a16b8ccf679d2999dca4f1b48aef07ee tree 9e8f40d3715cb6f10b436f9035c3000c33233146 parent a7f3ea728b36aff520dff1611b3ce10cff46d8fe author Christoph Hellwig Wed, 22 Mar 2006 00:07:57 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] mm: remove set_pgdir leftovers set_pgdir isn't needed anymore for a very long time. Remove the leftover implementation on sh64 and the stub on s390. Signed-off-by: Christoph Hellwig Cc: Heiko Carstens Cc: Martin Schwidefsky Cc: Paul Mundt Cc: Richard Curnow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7f3ea728b36aff520dff1611b3ce10cff46d8fe tree a3bd942d1e2a25529ecae24bdfb16f28a89fddf2 parent d0497614e0bd54f113041966532035edba463f8e author Dmitry Torokhov Wed, 22 Mar 2006 00:07:56 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] dcdbas: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, define dcdbas_driver and implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Also switch to using attribute_group when creating sysfs attributes and make sure to check and handle errors; explicitely remove attributes when detaching driver. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0497614e0bd54f113041966532035edba463f8e tree 9d43d377fcafb8675aaf3854eda5f0f6b6dad669 parent eee8ab75c609fa0c452246f69237ff577b931243 author Dmitry Torokhov Wed, 22 Mar 2006 00:07:55 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] tb0219: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eee8ab75c609fa0c452246f69237ff577b931243 tree b0dd3e1b8ec8e084411b87ae96f9b10bc29c84b3 parent d39b6cfe664079ca79ae1cfebac4725a877fd61d author Dmitry Torokhov Wed, 22 Mar 2006 00:07:54 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] mv64x600_wdt: convert to the new platform device interface mv64x600_wdt: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d39b6cfe664079ca79ae1cfebac4725a877fd61d tree 85a4a2784819406ac86d4f30d9764cb363c2c83b parent f4a641d66c6e135dcfc861521e8008faed2411e1 author Dmitry Torokhov Wed, 22 Mar 2006 00:07:53 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] vr41xx: convert to the new platform device interface The patch does the following for v441xx seris drivers: - stop using platform_device_register_simple() as it is going away - mark ->probe() and ->remove() methods as __devinit and __devexit respectively - initialize "owner" field in driver structure so there is a link from /sys/modules to the driver - mark *_init() and *_exit() functions as __init and __exit Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4a641d66c6e135dcfc861521e8008faed2411e1 tree 0d8e93949c646479ac39760bd6c0e7afcb96e4a6 parent 83485f826bea154a0ab41e9b8689105531dd7cb2 author Andrew Morton Wed, 22 Mar 2006 00:07:46 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:56 -0800 [PATCH] multiple exports of strpbrk Sam's tree includes a new check, which found that we're exporting strpbrk() multiple times. It seems that the convention is that this is exported from the arch files, so reove the lib/string.c export. Cc: Sam Ravnborg Cc: Yoshinori Sato Cc: David Howells Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83485f826bea154a0ab41e9b8689105531dd7cb2 tree 0413f90dda66cabbbcbe076cea5a03cb1982c5bf parent 4024ce5e0f396447cc1e07fd65c2a1d056b066bb author Atsushi Nemoto Wed, 22 Mar 2006 00:07:45 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] serial: serial_txx9 driver update Update the serial_txx9 driver. * More strict check in verify_port. Cleanup. * Do not insert a char caused previous overrun. * Fix some spin_locks. * Do not call uart_add_one_port for absent ports. Also, this patch removes a BROKEN tag from Kconfig. This driver has been marked as BROKEN by removal of uart_register_port, but it has been solved already on Sep 2005. Signed-off-by: Atsushi Nemoto Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4024ce5e0f396447cc1e07fd65c2a1d056b066bb tree 89d7c0f97e279ae64884aa47a02cae8f13f3f51e parent d2044a94e80b61f68ee7456f82d9b443e9ff6ac7 author Joe Korty Wed, 22 Mar 2006 00:07:43 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] rtc.h broke strace(1) builds Git patch 52dfa9a64cfb3dd01fa1ee1150d589481e54e28e [PATCH] move rtc_interrupt() prototype to rtc.h broke strace(1) builds. The below moves the kernel-only additions lower, under the already provided #ifdef __KERNEL__ statement. Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2044a94e80b61f68ee7456f82d9b443e9ff6ac7 tree 4488efc87514d440f5ca4b9fdca32dd173a04f63 parent 06f9d4f94a075285d25253edbf57f2cda07d4ff3 author Alasdair G Kergon Wed, 22 Mar 2006 00:07:42 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] dm: bio split bvec fix The code that handles bios that span table target boundaries by breaking them up into smaller bios will not split an individual struct bio_vec into more than two pieces. Sometimes more than that are required. This patch adds a loop to break the second piece up into as many pieces as are necessary. Cc: "Abhishek Gupta" Cc: Dan Smith Signed-off-by: Alasdair G Kergon Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06f9d4f94a075285d25253edbf57f2cda07d4ff3 tree 56a3d3c05606811b15ab7b301c25815e9ac5e1e8 parent b40607fc02f8248828d52d88f91b7d68df1933b0 author Eric W. Biederman Wed, 22 Mar 2006 00:07:40 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] unshare: Error if passed unsupported flags A bare bones trivial patch to ensure we always get -EINVAL on the unsupported cases for sys_unshare. If this goes in before 2.6.16 it allows us to forward compatible with future applications using sys_unshare. Signed-off-by: Eric W. Biederman Cc: JANAK DESAI Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b40607fc02f8248828d52d88f91b7d68df1933b0 tree 4e29b252e6bf8d520de092edfeb9bc60413d92cb parent 68ed0040a8c9d06b73cda322a1f740749bd6e41a author Andrew Morton Wed, 22 Mar 2006 00:07:39 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] __get_page_state() cpumask cleanup and fix __get_page_state() has an open-coded for_each_cpu_mask() loop in it. Tidy that up, then notice that the code was buggy: while (cpu < NR_CPUS) { unsigned long *in, *out, off; if (!cpu_isset(cpu, *cpumask)) continue; an obvious infinite loop. I guess we just never call it with a holey cpu mask. Even after my cpumask size-reduction work, this patch increases code size :( Cc: Paul Jackson Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68ed0040a8c9d06b73cda322a1f740749bd6e41a tree 73fe9f14b93466716b4a79007a33839ee42aad33 parent 5e7a99ac452d7a4ce43b8bacb3495475e1f9fd71 author Ravikiran G Thirumalai Wed, 22 Mar 2006 00:07:38 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] x86: mark cyc2ns_scale readmostly This variable is rarely written to. Mark the variable accordingly. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e7a99ac452d7a4ce43b8bacb3495475e1f9fd71 tree ded83e560e5f21540e5e23c3b9cb4ed9e8376f94 parent 8a2cda007068e838ac6494cde74c37534f04f8dc author Latchesar Ionkov Wed, 22 Mar 2006 00:07:37 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] v9fs: assign dentry ops to negative dentries If a file is not found in v9fs_vfs_lookup, the function creates negative dentry, but doesn't assign any dentry ops. This leaves the negative entry in the cache (there is no d_delete to mark it for removal). If the file is created outside of the mounted v9fs filesystem, the file shows up in the directory with weird permissions. This patch assigns the default v9fs dentry ops to the negative dentry. Signed-off-by: Latchesar Ionkov Signed-off-by: Eric Van Hensbergen Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a2cda007068e838ac6494cde74c37534f04f8dc tree dade19c25f04a0be81dad6c0cfd1342635aa930a parent 4078006568c142a909e7889cbdc28804cec25461 author Antonino A. Daplas Wed, 22 Mar 2006 00:07:36 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] i810fb_cursor(): use GFP_ATOMIC The console cursor can be called in atomic context. Change memory allocation to use the GFP_ATOMIC flag in i810fb_cursor(). Signed-off-by: Antonino Daplas Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4078006568c142a909e7889cbdc28804cec25461 tree 27ebbad413223e626ceb7782fc4ac1242616a1c7 parent 152475cb0a65ed73301cfbd7d7afab65536643f7 author Andrew Morton Wed, 22 Mar 2006 00:07:35 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:55 -0800 [PATCH] efi_call_phys_epilog() warning fix arch/i386/kernel/efi.c: In function `efi_call_phys_epilog': arch/i386/kernel/efi.c:118: warning: assignment makes integer from pointer without a cast Cc: Matt Domsch Cc: "Tolentino, Matthew E" Cc: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 152475cb0a65ed73301cfbd7d7afab65536643f7 tree 197571b8d8786a4a0c7b88f107d3cd96c4b4b36d parent 9430d58e34ec3861e1ca72f8e49105b227aad327 author Herbert Poetzl Wed, 22 Mar 2006 00:07:34 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:54 -0800 [PATCH] don't call check_acpi_pci() on x86 with ACPI disabled check_acpi_pci() is called from arch/i386/kernel/setup.c even if CONFIG_ACPI is not defined, but the code in include/asm/acpi.h doesn't provide it in this case. Signed-off-by: Herbert Pötzl Cc: "Brown, Len" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9430d58e34ec3861e1ca72f8e49105b227aad327 tree ac8f8295131fbf3c0ddc689fa9887a8c95b0814d parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Mike Galbraith Wed, 22 Mar 2006 00:07:33 -0800 committer Linus Torvalds Wed, 22 Mar 2006 07:53:54 -0800 [PATCH] sched: remove sleep_avg multiplier Remove the sleep_avg multiplier. This multiplier was necessary back when we had 10 seconds of dynamic range in sleep_avg, but now that we only have one second, it causes that one second to be compressed down to 100ms in some cases. This is particularly noticeable when compiling a kernel in a slow NFS mount, and I believe it to be a very likely candidate for other recently reported network related interactivity problems. In testing, I can detect no negative impact of this removal. Signed-off-by: Mike Galbraith Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3c44854a59f7e983c867060aa906bbf5befb1ef tree 2a53c67a31c106d79edbceda4b9ba662d298851c parent 5501972e0b5857bc8354770d900ceb9b40c7f6b7 author Jaroslav Kysela Wed, 22 Mar 2006 14:37:15 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 14:37:15 +0100 [ALSA] version 1.0.11rc4 commit 949ec2c8e6b7b89179b85baf6309c009e1a1b951 tree 2d9c3dde17ba8608aa07e96e6fffcc23f1cab39c parent 55cca65e1995ad604ee87e22c76c17d5cbceb9d0 parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Jeff Garzik Wed, 22 Mar 2006 06:09:31 -0500 committer Jeff Garzik Wed, 22 Mar 2006 06:09:31 -0500 Merge branch 'master' commit bec1b8193651ea4394cc4d6e18152cb83e735f93 tree 7df3c9603a745b9f390a9132837c6909c4b96db3 parent 58e9ff56382bdce340d50b6ff22c422dc617106c author Russell King Wed, 22 Mar 2006 10:22:58 +0000 committer Russell King Wed, 22 Mar 2006 10:22:58 +0000 [ARM] Quieten spurious IRQ detection Only issue a "nobody cared" warning after 99900 spurious interrupts. This avoids the occasional spurious interrupt causing warnings, as per x86. Signed-off-by: Russell King commit 5501972e0b5857bc8354770d900ceb9b40c7f6b7 tree ff239422827c4cd54d2998f8851304255de31b38 parent 9d2f928ddf64ca0361562e30faf584cd33055c60 parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Jaroslav Kysela Wed, 22 Mar 2006 11:02:08 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 11:02:08 +0100 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 9d2f928ddf64ca0361562e30faf584cd33055c60 tree c9f57551988fc492e20553aa39b24af7547ab239 parent 84f3430c7255668a0298d166605d27e3c96b5de4 author Tobias Klauser Wed, 22 Mar 2006 10:53:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:53:19 +0100 [PATCH] Intruduce DMA_28BIT_MASK This patch introduces the DMA_28BIT_MASK constant in dma-mapping.h ALSA drivers using this mask are changed to use the new constant. Signed-off-by: Tobias Klauser Acked-by: Takashi Iwai Acked-by: Jaroslav Kysela commit 84f3430c7255668a0298d166605d27e3c96b5de4 tree c4f099464d986326779cda14ca461c3035070ea6 parent b2c2844c5a486020e5d564870d114a7f4cd5ea4f author Takashi Iwai Tue, 21 Mar 2006 19:12:53 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:44:02 +0100 [ALSA] hda-codec - Add support for ASUS P4GPL-X Modules: HDA Codec driver Added the support ASUS P4GPL-X with ALC880 codec. Signed-off-by: Takashi Iwai commit b2c2844c5a486020e5d564870d114a7f4cd5ea4f tree b37a690bcd3c10b8dd2dc98c6fc30fa5b6e01ea4 parent c6077b3000184c7f69c4798b9025e5fbd69c8c62 author Takashi Iwai Tue, 21 Mar 2006 19:11:50 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:44:00 +0100 [ALSA] hda-codec - Add support for HP nx9420 laptop Modules: HDA Codec driver Added the support for HP nx9420 (AngelFire) laptop with AD1981HD codec. Signed-off-by: Takashi Iwai commit c6077b3000184c7f69c4798b9025e5fbd69c8c62 tree 7ba83932972197bc4f2fd2c29cf5448fc34c2d26 parent c5c079e31cba3e6f93ef098911e216b79d0a84e8 author Takashi Iwai Tue, 21 Mar 2006 16:07:13 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:43:56 +0100 [ALSA] Fix memory leaks in error path of control.c Modules: Control Midlevel Fix memory leaks in error path of control.c (only with CONFIG_SND_DEBUG=y). Signed-off-by: Takashi Iwai commit c5c079e31cba3e6f93ef098911e216b79d0a84e8 tree 8879c5322c2e6c2b6b545eb966f40c63a63510f2 parent bb160b850d7e285f8b15906d9c0d1916acfdb953 author Sergei Shtylyov Tue, 21 Mar 2006 12:01:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:43:28 +0100 [ALSA] AMD Au1x00: AC'97 controller is memory mapped Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver erroneously calls request_region() for AC'97 controller registers -- the controller is actually memory mapped at addresses 0x10000000 thru 0x100FFFFF. Signed-off-by: Sergei Shtylyov Signed-off-by: Takashi Iwai commit bb160b850d7e285f8b15906d9c0d1916acfdb953 tree 2bc00eb5f279a546df358f2159e805f461aa392f parent 97ec558a88fb03fa23aee0832a88964e76e4a4db author Sergei Shtylyov Tue, 21 Mar 2006 11:58:48 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:43:02 +0100 [ALSA] AMD Au1x00: fix DMA init/cleanup Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver causes kernel oops in au1000_init() by trying to set DMA channel to -1 in yet unallocated audio streams. Here's the patch that staightens up DMA init/cleanup code. Signed-off-by: Sergei Shtylyov Signed-off-by: Takashi Iwai commit 97ec558a88fb03fa23aee0832a88964e76e4a4db tree 406aecd3632ae51d946a13509482cf75bf66b822 parent 82bc955f6379135e6ce35ff90c7ac411fd412c4c author Takashi Iwai Tue, 21 Mar 2006 11:29:07 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:40:49 +0100 [ALSA] hda-codec - Fix generic auto-configurator Modules: HDA generic driver Fixed the generic auto-configurator to check speaker pins in addition. Signed-off-by: Takashi Iwai commit 82bc955f6379135e6ce35ff90c7ac411fd412c4c tree 314610afb5a469ac6a5a9f4d5e947436bb2c0538 parent 19739fef0203d2f3eecc9c4b1ef25b57d85f2b30 author Takashi Iwai Tue, 21 Mar 2006 11:24:42 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:40:14 +0100 [ALSA] hda-codec - Fix BIOS auto-configuration Modules: HDA Codec driver,HDA generic driver - Fix autoconfig speaker/hp detection Now it allows multiple speaker pins (e.g. Dell laptops have such config) - Use speaker or hp pins if no line-outs are available This fixes the silence output on recent Dell laptops with STAC9200 (ALSA bug#1843) - Fix analog/realtek/sigmatel autoconfig parser Signed-off-by: Takashi Iwai commit 19739fef0203d2f3eecc9c4b1ef25b57d85f2b30 tree 0c20e5f8ee03c0f4804175e5bc1299ad48c562f4 parent 01a00e5e421b3c40240781d67bb9fd5fd9b1f0f1 author Thibault LE MEUR Tue, 21 Mar 2006 11:06:40 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:40:10 +0100 [ALSA] Fixes typos in Audiophile-USB.txt Modules: Documentation Fixes typos in Audiophile-USB.txt. Signed-off-by: Thibault LE MEUR Signed-off-by: Takashi Iwai commit 01a00e5e421b3c40240781d67bb9fd5fd9b1f0f1 tree 1e3c5ce9cb61851f7961ac3ea7cf62350e0081b5 parent d8327c784b51b57dac2c26cfad87dce0d68dfd98 author Alan Horstmann Tue, 21 Mar 2006 09:57:36 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:40:07 +0100 [ALSA] ice1712 - typo fixes for dxr_enable module option Modules: ICE1712 driver Signed-off-by: Jaroslav Kysela commit d8327c784b51b57dac2c26cfad87dce0d68dfd98 tree 6a007aef75127c6f28768dbe987ba57608cb0943 parent 6682025e1220a1ab0b6b855b7805928c3163e043 author Sergei Shtylylov Mon, 20 Mar 2006 18:38:21 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:36 +0100 [ALSA] AMD Au1x00: make driver build after cleanup Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver doesn't build after the recent code cleanup: sound/mips/au1x00.c: In function 'au1000_setup_dma_link': sound/mips/au1x00.c:173: error: 'pointer' undeclared (first use in this function) sound/mips/au1x00.c:173: error: (Each undeclared identifier is reported only once sound/mips/au1x00.c:173: error: for each function it appears in.) sound/mips/au1x00.c: In function 'snd_au1000_hw_params': sound/mips/au1x00.c:339: warning: implicit declaration of function 'snd_mask_min' Signed-off-by: Takashi Iwai commit 6682025e1220a1ab0b6b855b7805928c3163e043 tree c028eb65984a5be22c273c4be9a1a4469bce3504 parent 878b4789196e3cd470f843854b6b09d963214659 author Takashi Iwai Mon, 20 Mar 2006 18:31:57 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:31 +0100 [ALSA] ice1712 - Fix wrong value types for enum items Modules: ICE1712 driver Fix the access to wrong type values for enum items in aureon.c (ALSA bug#1527). Signed-off-by: Takashi Iwai commit 878b4789196e3cd470f843854b6b09d963214659 tree 188c0aa202335575675ca4788c411e07b87c747e parent d61975fc6b40dadd2cd61fc9535499c7d7b806de author Jesper Juhl Mon, 20 Mar 2006 11:27:13 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:28 +0100 [ALSA] fix resource leak in usbmixer Modules: USB generic driver We may leak 'namelist' in sound/usb/usbmixer.c::parse_audio_selector_unit() Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai commit d61975fc6b40dadd2cd61fc9535499c7d7b806de tree a3203048ad4b84ba10b1337902d9d08010b902c7 parent e64d2e36236175a56fd1d8b2acd784e21bdc7de6 author Eugene Teo Fri, 17 Mar 2006 16:32:52 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:25 +0100 [ALSA] Fix gus_pcm dereference before NULL Modules: GUS Library The NULL check of substream is simply superfluous. It is guaranteed to receive non-NULL substream. Thanks Takashi. Coverity bug #861 Signed-off-by: Eugene Teo Signed-off-by: Takashi Iwai commit e64d2e36236175a56fd1d8b2acd784e21bdc7de6 tree e58d5a4e3f570aa46e66dc7d80ca524fc33d1b57 parent 825aa97241b46d2819c1db984c86a1a9df41b8e1 author Eugene Teo Fri, 17 Mar 2006 16:32:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:23 +0100 [ALSA] Fix seq_clientmgr dereferences before NULL check Modules: ALSA sequencer cptr->pool must be non-NULL there, so just the if (cptr->pool) is superfluous. Thanks Takashi. Signed-off-by: Eugene Teo Signed-off-by: Takashi Iwai commit 825aa97241b46d2819c1db984c86a1a9df41b8e1 tree a1d72e6fe2ca72f87846df605477454815b52fd9 parent db064e503419c32df463326a3891a973bb30582e author Takashi Iwai Fri, 17 Mar 2006 10:50:49 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:19 +0100 [ALSA] hda-codec - Fix for Samsung R65 and ASUS A6J Modules: Documentation,HDA Codec driver Added a new model 'laptop-eapd' to AD1986A codec for Samsung R65 and ASUS A6J laptops. Signed-off-by: Takashi Iwai commit db064e503419c32df463326a3891a973bb30582e tree 3ac89680d1db21cdf9498883f8dd8f39378fdecc parent c7a93b852bf9ffcf466b304fa3cfac8823f9b932 author Takashi Iwai Thu, 16 Mar 2006 16:04:58 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:16 +0100 [ALSA] hda-codec - Add support for VAIO FE550G and SZ110 Modules: Documentation,HDA Codec driver Add support for VAIO FE550G and SZ110 laptops with Sigmatel codec (7661). The new model 'vaio' is added. Signed-off-by: Takashi Iwai commit c7a93b852bf9ffcf466b304fa3cfac8823f9b932 tree ffec808d20a812bdb5008ac03484397f3f8226ef parent 9808dc962f6780ce7eac47c82400fede7f4a08b3 author Clemens Ladisch Thu, 16 Mar 2006 08:25:56 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:11 +0100 [ALSA] usb-audio: add Maya44 mixer control names Modules: USB generic driver Add mixer control names for the AudioTrak Maya44 USB. Signed-off-by: Clemens Ladisch commit 9808dc962f6780ce7eac47c82400fede7f4a08b3 tree b7e982a570634f550c22c218df7a86395c1e8827 parent a12606cff106335650f0e9382e87b0fb08733eff author Clemens Ladisch Thu, 16 Mar 2006 08:15:25 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:07 +0100 [ALSA] usb-audio: add Casio PL-40R support Modules: USB generic driver Add a quirk entry for the Casio PL-40R. Signed-off-by: Clemens Ladisch commit a12606cff106335650f0e9382e87b0fb08733eff tree 655c158943d1243c7c226aa53cbafbd8bb039073 parent 0a589d80191471754e6f6cab3015a879bca2f7d2 author Takashi Iwai Wed, 15 Mar 2006 18:24:43 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:39:04 +0100 [ALSA] hda-codec - Add model entry for FIC P4M-915GD1 Modules: HDA Codec driver Add model entry for FIC P4M-915GD1 with ALC880 codec. Signed-off-by: Takashi Iwai commit 0a589d80191471754e6f6cab3015a879bca2f7d2 tree 63db0413b3f1f6a18e67904ad3143f99f39ca2f3 parent a23446c085faed6c1c90fba5cdd21d6990871750 author Takashi Iwai Wed, 15 Mar 2006 14:08:20 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:53 +0100 [ALSA] ac97 - Clean up obsolete workarounds Modules: AC97 Codec Clean up obsolete workarounds provided only for nm256. Signed-off-by: Takashi Iwai commit a23446c085faed6c1c90fba5cdd21d6990871750 tree 4d02131ba11c33fd5fa35c59ef61143b2a6c5d82 parent 7c5706bb33687ce82f30d9ac06dd1bdf71b2262e author Florian Schlichting Wed, 15 Mar 2006 14:05:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:50 +0100 [ALSA] Fix NM256 hard lock up Modules: NM256 driver Treat the nm256 mixer as a write-only device so as to avoid hangs on initialisation. Signed-off-by: Florian Schlichting Signed-off-by: Takashi Iwai commit 7c5706bb33687ce82f30d9ac06dd1bdf71b2262e tree e27123653733102519235d209e5c4de6be206b4f parent 4ccb4a4387b3ed8c5a03862ef1e6f7be484ade25 author Takashi Iwai Wed, 15 Mar 2006 13:52:54 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:46 +0100 [ALSA] ac97 - Allow drivers to set static volume resolution table Modules: AC97 Codec Add the pointer to a static volume resolution table to ac97 template, so that the drivers can define the volume resolution, too. Signed-off-by: Takashi Iwai commit 4ccb4a4387b3ed8c5a03862ef1e6f7be484ade25 tree cb660b58f183cc2fd88695aa37e2015382d6eb4e parent e311334ee6bdd173d53be52f4fdffa5f39652e26 author Clemens Ladisch Wed, 15 Mar 2006 12:24:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:41 +0100 [ALSA] usb-audio: add MDP-5/EZ-J24 support Modules: USB generic driver Add support for the Yamaha MDP-5 and EZ-J24. Signed-off-by: Clemens Ladisch commit e311334ee6bdd173d53be52f4fdffa5f39652e26 tree b3c7a0f588ccb160b1d9446f0421be662f775033 parent ecefb192525c369dde67bf0addd4f96692a801c3 author Thibault LE MEUR Tue, 14 Mar 2006 11:44:53 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:38 +0100 [ALSA] Fixes audiophile usb analog capture with the new device_setup parameter Modules: Documentation,USB generic driver The patch adds the 'device_setup' module parameter and a specific quirk to correctly initialize the audiophile usb device: this fixes the distorted sound bug on the Analog capture port. Backward compatibility is achieved by simply omitting the new parameter. Signed-off-by: Thibault LE MEUR Signed-off-by: Takashi Iwai commit ecefb192525c369dde67bf0addd4f96692a801c3 tree 19e60bc0165a2adf95c24cf54d734445d08f2432 parent 202728d783a0fc180e7141d18186eeae167218a1 author Adrian Bunk Tue, 14 Mar 2006 11:16:26 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:34 +0100 [ALSA] sound/pci/ice1712/delta.c: make 2 functions static Modules: ICE1712 driver This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 202728d783a0fc180e7141d18186eeae167218a1 tree d24ca9a920cd92247b2f52f6512a73c317e545fb parent 3e964432f56f05a8ef639902796e476456b230ad author Adrian Bunk Tue, 14 Mar 2006 09:44:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:23 +0100 [ALSA] fix some memory leaks Modules: Generic drivers,ES18xx driver,CS46xx driver This patch fixes two memory leaks spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 3e964432f56f05a8ef639902796e476456b230ad tree 0381d74c7b1ecd90b856225b2b487d60cb9cfa85 parent ede3531e8ce2deb81e477e18d72ef10efeb20ebe author Clemens Ladisch Tue, 14 Mar 2006 08:06:12 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:20 +0100 [ALSA] usb-audio: add error message about missing split iso support Modules: USB generic driver Add an error message for -ENOSYS for situations when split iso support is needed but not enabled. Signed-off-by: Clemens Ladisch commit ede3531e8ce2deb81e477e18d72ef10efeb20ebe tree 21641ffcb4df768d88c934b755c10b4b860638f0 parent 5bab2482083077d1e14644db2546c54534156849 author Takashi Iwai Mon, 13 Mar 2006 14:21:16 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:17 +0100 [ALSA] hda-codec - Fix Aopen i915GMm-HFS mobo Modules: HDA Codec driver Add a model entry for Aopen i915GMm-HFS mobo with ALC880 codec. Signed-off-by: Takashi Iwai commit 5bab2482083077d1e14644db2546c54534156849 tree 5100dda7dfbe10844dae124c3171a61ada930f54 parent 3a63e44420932852efd6a7d6d46cdad4d427f880 author Adrian Bunk Mon, 13 Mar 2006 14:15:04 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:38:14 +0100 [ALSA] sound/pci/rme9652/hdspm.c: fix off-by-one errors Modules: RME9652 driver This patch fixes off-by-one errors found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 3a63e44420932852efd6a7d6d46cdad4d427f880 tree ccabe72933a23a2d8553d399128d7a35d4a21570 parent 646494007b48e8897888cd407c2b7d1d69cb2e58 author Adrian Bunk Mon, 13 Mar 2006 14:14:10 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:37:31 +0100 [ALSA] sound/core/: fix 3 off-by-one errors Modules: ALSA Core This patch fixes three off-by-one errors found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 646494007b48e8897888cd407c2b7d1d69cb2e58 tree 02d72d5f844ecb0ce3c25b1b8401ca3b172fa866 parent 9230d2148a0c53188c216b446cf17ea213ebca8a author Giuliano Pochini Mon, 13 Mar 2006 14:11:11 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:37:23 +0100 [ALSA] make control.c suspend aware Modules: Control Midlevel This patch prevents user-space apps from accessing the hardware via control interface while the soundcard is suspended. Signed-off-by: Giuliano Pochini Signed-off-by: Takashi Iwai commit 9230d2148a0c53188c216b446cf17ea213ebca8a tree 167c6b63a384bb40e1778756c572683f8cfbcd55 parent 0110f50b6eb7a833f0e1e4e9a58d04a03d58939c author Takashi Iwai Mon, 13 Mar 2006 13:49:49 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:37:20 +0100 [ALSA] hda-codec - Fix support of laptops with AD1986A codec Modules: Documentation,HDA Codec driver Fix the support of laptops with AD1986A HD-audio codec. Added new models '3stack' and 'laptop'. Currently, fixed for FSC V2060 and Samsung M50. Also fixed the description of missing models in ALSA-Configuration.txt. Signed-off-by: Takashi Iwai commit 0110f50b6eb7a833f0e1e4e9a58d04a03d58939c tree 293468e84d490ca629be30c23e35994f17a4d314 parent 318d27f8b424ec9e025aafe4bffa00aab5993f2f author Clemens Ladisch Mon, 13 Mar 2006 10:36:44 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:37:10 +0100 [ALSA] bt87x: add more DVB card IDs Modules: BT87x driver Add more PCI subsystem IDs of DVB cards to the blacklist of cards the driver is to ignore. Signed-off-by: Clemens Ladisch commit 318d27f8b424ec9e025aafe4bffa00aab5993f2f tree 8d21960b210cf73535763ba3c91e72b703110692 parent 32e19e882c722b41f37e90956bf12eacdaba6f2b author Clemens Ladisch Thu, 09 Mar 2006 08:17:08 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:53 +0100 [ALSA] usb-audio: change Casio quirk product name Modules: USB generic driver Use a generic name for USB device 0x07cf:0x6802 because this ID is used by several devices without a product ID. Signed-off-by: Clemens Ladisch commit 32e19e882c722b41f37e90956bf12eacdaba6f2b tree 037597e64ca2cf4545264fbc29247af97c859da2 parent 0243ef71acc0b5bd734b511ae6d9b4b481c1dc5e author Clemens Ladisch Thu, 09 Mar 2006 07:58:39 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:37 +0100 [ALSA] usb-audio: show USB error descriptions Modules: USB generic driver When usb_submit_urb() fails, show an error description instead of just the error code. Signed-off-by: Clemens Ladisch commit 0243ef71acc0b5bd734b511ae6d9b4b481c1dc5e tree d31243f7a02f84c9abb8dbb1f19bd3c36d7da004 parent c1fc8047310c9d3147f9521af651a5823a72d218 author Clemens Ladisch Thu, 09 Mar 2006 07:55:55 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:29 +0100 [ALSA] usb-audio: add Casio AP-80R support Modules: USB generic driver Add a quirk for the Casio AP-80R. Signed-off-by: Clemens Ladisch commit c1fc8047310c9d3147f9521af651a5823a72d218 tree 5346714f22351e75ee8647970f334e0d38695ed8 parent 5e315e9248329c53a8932b71532c28240125e3c4 author Takashi Iwai Mon, 06 Mar 2006 14:17:31 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:18 +0100 [ALSA] Add default entry for CTL Travel Master U553W Modules: HDA Codec driver Added the default entry of ALC880 configuration table for CTL Travel Master U553W. Signed-off-by: Takashi Iwai commit 5e315e9248329c53a8932b71532c28240125e3c4 tree b04a95d8f4aab4be44a3b19d4ace4f9337e4de11 parent 3de4414e798795ef5d719622dbf12bbe27a9e72e author Dave Jones Mon, 06 Mar 2006 14:03:37 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:15 +0100 [ALSA] Fix use after free in opl3_seq and opl3_oss Modules: OPL3 Don't read from free'd memory. Also make use of the return value, and don't register the device if something went wrong creating the port. Coverity #954, #955 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit 3de4414e798795ef5d719622dbf12bbe27a9e72e tree b7724eee842c7d33a8e322cab839da0ea3abc336 parent bcc54f9a563f146e723ead16c76f842bcaeb694e author Dave Jones Mon, 06 Mar 2006 13:31:18 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:36:08 +0100 [ALSA] ad1848 double free Modules: AD1848 driver Same again, snd_ctl_add() already kfree's on error. Coverity #956 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit bcc54f9a563f146e723ead16c76f842bcaeb694e tree 73a31717b1fb3d2b24f1d54c2b2684f90f51b99d parent c27e8c591854ef349fdf5bec777355dae04bb48f author Dave Jones Mon, 06 Mar 2006 13:28:34 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:35:57 +0100 [ALSA] sound/isa/sb/sb_mixer.c double kfree Modules: SB drivers snd_ctl_add() already does the free on error. Coverity bug #957 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit c27e8c591854ef349fdf5bec777355dae04bb48f tree 6f5903766b7aebb3221b0b7838502ea0140c332d parent a2df813beab42740fa8043b3fdc9e1d15784b9ec author Dave Jones Mon, 06 Mar 2006 13:27:39 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:35:23 +0100 [ALSA] emu10k1_synth use after free Modules: EMU10K1/EMU10K2 driver Thou shalt not dereference freed memory. Coverity bug #958 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit a2df813beab42740fa8043b3fdc9e1d15784b9ec tree 70b83d5edd48ad5a4649e7bb5a3bf3e8ab4fd07b parent 4fcf0117d599965a5916985c9923776628e16779 author Dave Jones Mon, 06 Mar 2006 13:26:10 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:35:19 +0100 [ALSA] fix usbmixer double kfree Modules: USB generic driver snd_ctl_add() kfree's the kcontrol already if we fail there, so this driver is currently doing a double kfree. Coverity bug #959 Signed-off-by: Dave Jones Signed-off-by: Takashi Iwai commit 4fcf0117d599965a5916985c9923776628e16779 tree 7f6fb745a336a762bbccad421ab1a3b605f395c3 parent ac57b84984859f3e1d567c031556d3de872c1a91 author Takashi Iwai Mon, 06 Mar 2006 13:25:14 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:35:00 +0100 [ALSA] emu10k1 - Add the entry for Audigy4 SB0400 Modules: EMU10K1/EMU10K2 driver Added the missing card entry for Audigy4 SB0400 model. Signed-off-by: Takashi Iwai commit ac57b84984859f3e1d567c031556d3de872c1a91 tree 28f253e63b2d136db78f9ff115ab5e8d6f1fbbdc parent 1037593c8be9551d5a7835703bcaf6073ffb7ec2 author Alexey Dobriyan Mon, 06 Mar 2006 13:21:30 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:34:50 +0100 [ALSA] vx - Fix memory leak on error path Modules: Digigram VX core Noticed by Eric Sesterhenn on kernel-janitors@ Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 1037593c8be9551d5a7835703bcaf6073ffb7ec2 tree c2eef278415b13c2854b8bcff9868efb7a321e4f parent ae6b813a4dbba2713df497c032798b845289653f author David Vrabel Fri, 03 Mar 2006 18:01:57 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:34:45 +0100 [ALSA] CS5535: shorter delays when accessing AC'97 codec registers Modules: CS5535 driver The 10 ms sleeps while waiting for AC'97 codec register reads/writes to complete are excessive given the maxmium time is one AC'97 frame (~21 us). With AC'97 codecs with integrated touchscreens (like the UCB1400) this improves the interactive performance of the touchscreen. Signed-off-by: David Vrabel Signed-off-by: Takashi Iwai commit ae6b813a4dbba2713df497c032798b845289653f tree 2806de741935a48d56b197c7ce1568ea755f0fbd parent b3b0abe11d606fa2344793edd3d69b98b430b0d4 author Takashi Iwai Fri, 03 Mar 2006 16:47:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:34:28 +0100 [ALSA] hda-codec - Add lg model for LG laptop Modules: Documentation,HDA Codec driver Added a new model 'lg' for LG laptop (m1 express dual) with ALC880 codec. Also clean up the initialization/unsol_event hooks in patch_realtek.c. Signed-off-by: Takashi Iwai commit b3b0abe11d606fa2344793edd3d69b98b430b0d4 tree d2be6f908ad42ce511b61beb5e5afa356ca1dcd2 parent 0b7bed4ec2a16434336e018505b66bd51bb35560 author Clemens Ladisch Fri, 03 Mar 2006 14:08:43 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:34:24 +0100 [ALSA] return ENODEV for disconnected devices Modules: ALSA Core Add dummy functions that return -ENODEV for the struct file_operations of a disconnected device. Without such functions, userspace would get ENOTTY. Signed-off-by: Clemens Ladisch commit 0b7bed4ec2a16434336e018505b66bd51bb35560 tree 9541864c0573b6a7c89f8a3132290ca76f9889ad parent a7ee8201a507fe1f89f0e5fc32516daed6621ffd author Takashi Iwai Thu, 02 Mar 2006 15:35:55 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:52 +0100 [ALSA] Fix typos in document Modules: Documentation Fixed typos in document. Signed-off-by: Takashi Iwai commit a7ee8201a507fe1f89f0e5fc32516daed6621ffd tree 0d100af8094c68f69001275b6a01926733a71532 parent 18a815d7426986890b88078ea63b77732baca0b5 author Takashi Iwai Wed, 01 Mar 2006 20:05:39 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:48 +0100 [ALSA] Fix missing AD1986a capsrc Modules: HDA Codec driver Fix missing AD1986a capsrc setting in the last patch. Signed-off-by: Takashi Iwai commit 18a815d7426986890b88078ea63b77732baca0b5 tree 1a84c05352aca5cd177c67db5afab97add0d6907 parent 42611c02ac31e44abd53893209460ce60205cb8e author Takashi Iwai Wed, 01 Mar 2006 19:54:39 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:44 +0100 [ALSA] hda-codec - Fix AD198x recording and add HP model Modules: HDA Codec driver - Fixed recording of AD1981HD/AD1983/AD1986A - Added model 'hp' to AD1981HD for HP nx6320 Signed-off-by: Takashi Iwai commit 42611c02ac31e44abd53893209460ce60205cb8e tree 557cf58e2513025f119eb130e79b6189f8d5e125 parent ed345f8f8630d6a3f52d899e181968e2bf8e4be8 author Takashi Iwai Wed, 01 Mar 2006 19:52:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:40 +0100 [ALSA] via82xx - Add dxs entry for ASRock mobo Modules: VIA82xx driver Add dxs_support entry for ASRock mobo. Signed-off-by: Takashi Iwai commit ed345f8f8630d6a3f52d899e181968e2bf8e4be8 tree 350b6767fc19cee7aeb35c1fa395f21d729cbe2f parent 834be88d136ee82828e3ce1b34fa7a1dcf947b81 author Takashi Iwai Wed, 01 Mar 2006 14:16:53 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:34 +0100 [ALSA] Update description of hda-intel models Modules: Documentation Updated the description of hda-intel models for realtek codecs. Signed-off-by: Takashi Iwai commit 834be88d136ee82828e3ce1b34fa7a1dcf947b81 tree 03cc02d74cbc548c50616494de00f6e598a54f2c parent 381e3cda682abcef2acd7828e9639f4ceb95880f author Takashi Iwai Wed, 01 Mar 2006 14:16:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:31 +0100 [ALSA] hda-codec - Fix ALC262 for Fujitsu laptop Modules: HDA Codec driver,HDA generic driver Add 'fujitsu' model for ALC262 patch to support a FSC laptop. The internal speaker is turned on/off with jack sensing. Also fixed alc262 'basic' model. Signed-off-by: Takashi Iwai commit 381e3cda682abcef2acd7828e9639f4ceb95880f tree 52dd58d25d62a5df2d4a09c74fe9eecd634a4a01 parent 92621f130e60da865de2f5aa6d3dec2ee844b803 author Doug McLain Tue, 28 Feb 2006 11:53:06 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:33:28 +0100 [ALSA] ice1712 - Fix wordclock status on Delta1010LT Modules: ICE1712 driver I posted this patch to bug 1806 a while back, and have been awaiting a reply or commit. It currently reports the Locked/No Signal text backwards in envy24control, since i was using an older version of envy24control when I wrote the original code. The Locked/No Signal test was recently reversed in envy24control cvs, so the test in my code needs to be reversed as well. Here is the patch, once again. Signed-off-by: Takashi Iwai commit 92621f130e60da865de2f5aa6d3dec2ee844b803 tree fe71236c72e42e83de065983035bfd3d66e6cd7f parent f7ace40d14c46dca9a12ab753677adc17b1b906c author Jonathan Woithe Tue, 28 Feb 2006 11:47:47 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:59 +0100 [ALSA] HDA/ALC260: 7/7 - add SPDIF enable to test model Modules: HDA Codec driver This patch adds mixer controls to the 'test' ALC260 model which allow the user to selectively enable or disable the SPDIF output pins. This should assist people identify digital outputs on machines which bring them to the outside world. Note that while the patch *should* work, I cannot personally verify it since my laptop doesn't bring the SPDIF lines out. As for the GPIO switches added in patch 4, these controls are currently only compiled in if debug mode is selected. Signed-off-by: Takashi Iwai commit f7ace40d14c46dca9a12ab753677adc17b1b906c tree 371c88a7739e78996f396ce9fc5203b0cee5798a parent 0bfc90e95946ac420e2de049707232ce18ddeba9 author Jonathan Woithe Tue, 28 Feb 2006 11:46:14 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:56 +0100 [ALSA] HDA/ALC260: 6/7 - Fujitsu/test model tweaks Modules: HDA Codec driver This patch is janitorial - it cleans up a number of cosmetic issues with the 'fujitsu' and 'test' models. Issues addressed: * spaces instead of tabs used for some indents, * clarified/corrected selected comments. Unlike a patch from earlier this week, this keeps both ADCs connected to the mic1 pin widget by default. I believe this is the better default, since some laptops don't bring the line1 widget to the outside world. Most (if not all) do bring mic1 out though, so it seems to me that this default should remain in place. Signed-off-by: Takashi Iwai commit 0bfc90e95946ac420e2de049707232ce18ddeba9 tree c4e7f3c41db0cb4b9288e7d44de2a2056c762a7e parent 5c8f858d71054960f08c46703a3f0fb36a752079 author Jonathan Woithe Tue, 28 Feb 2006 11:45:11 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:53 +0100 [ALSA] HDA/ALC260: 5/7 - add 'acer' model Modules: HDA Codec driver This patch adds a new 'acer' model. It is based on work by Rimas and many other dedicated Acer owners over the past few weeks (see bug number 1618) - kudos to them. This adds support for a variety of Acer laptops, although we are still in the process of collecting pci/subsystem IDs to add. There are still some potentially outstanding issues: there are reports that the CD control might not yet be functional for example. However, the time is probably right to get a 'first cut' into the kernel which can be refined as more test reports come in. From the reports by various Acer owners, this code allows them to record from internal mics and external jacks. Playback also seems to work to all external jacks and the internal speaker. The 'beep' control doesn't appear functional at the moment. This patch depends on the changes made in patch 3/7. Signed-off-by: Takashi Iwai commit 5c8f858d71054960f08c46703a3f0fb36a752079 tree 926bb7a5d62b691a52f108f8027160e3524dcc0e parent d57fdac0691d500d5c697e452f769335b22a75e3 author Jonathan Woithe Tue, 28 Feb 2006 11:43:27 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:49 +0100 [ALSA] HDA/ALC260: 4/7 - add GPIO switches to test model Modules: HDA Codec driver This patch adds 'test' model mixer switches for the GPIO controls found on the ALC260. It has been found that some laptops (eg: Acer) can use these to enable particular controls, so it would be useful to have access to these via the 'test' model. It will make testing new models easy, especially if certain outputs cannot be made to work any other way. This patch *should* work, but because the GPIO pins don't do anything in my laptop I cannot personally verify that all this works as expected. Signed-off-by: Takashi Iwai commit d57fdac0691d500d5c697e452f769335b22a75e3 tree 1be0bd7b599278b88eee0f838bc89e6417ae3dc7 parent cdcd9268a1b03c6695ea07983ce029b2b4a099d8 author Jonathan Woithe Tue, 28 Feb 2006 11:38:35 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:24 +0100 [ALSA] HDA/ALC260: 3/7 - generalise some structures Modules: HDA Codec driver This patch generalises a structure added for the 'fujitsu' model but which is potentially useful for other models as well. It turns the 'alc260_fujitsu_adc_nids' array into 'alc260_dual_adc_nids'; for other models which decide to utilise the dual ADC functionality there's really no reason why they need to define their own list of ADC nids. The 'fujitsu' model preset is adjusted accordingly. Signed-off-by: Takashi Iwai commit cdcd9268a1b03c6695ea07983ce029b2b4a099d8 tree afe683a99ef1db2e092fcd595327f9f27790e195 parent 17e7aec680a252ec0cea6d886d3983319af43ac4 author Jonathan Woithe Tue, 28 Feb 2006 11:36:42 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:32:10 +0100 [ALSA] HDA/ALC260: 2/7 - switch pin buffer enables Modules: HDA Codec driver This patch adds functionality which switches the input/output buffer enables of retasking pins when the user changes their mode with the mode control. This probably reduces noise *slightly* for recording compared to the case where both input and output buffers were enabled simultaneously. Signed-off-by: Takashi Iwai commit 17e7aec680a252ec0cea6d886d3983319af43ac4 tree 001e34af913d15c65997132597497e5090fd0af5 parent 2a578f3b4c5dbac4828de52e72bb79f3e9f4d1a2 author Jonathan Woithe Tue, 28 Feb 2006 11:35:18 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:56 +0100 [ALSA] HDA/ALC260: 1/7 - Fix test model input mux label Modules: HDA Codec driver This patch fixes input mux labels used for the ALC260 'test' model. This is needed to avoid confusion which comes about because the two ADCs in the ALC260 have slightly different mappings for their input selectors. Since this is just the test model it's sufficient to simply report both options where they exist. If a model comes along for which this becomes an issue, the ALC260 input mux code will have to be extended to allow different mux layouts for different ADCs. Signed-off-by: Takashi Iwai commit 2a578f3b4c5dbac4828de52e72bb79f3e9f4d1a2 tree e1fffa1a7c55bfcb23353b41063e9d5b3b57cf0f parent 0bbbc4ca7e2459f2750bd4bd8dda2ccbf7a71f02 author Jesper Juhl Mon, 27 Feb 2006 18:35:46 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:45 +0100 [ALSA] Don't NULL check vfree argument in pdaudiocf_pcm.c Modules: PDAudioCF driver Don't check pointers passed to vfree for null in pdaudiocf_pcm.c Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai commit 0bbbc4ca7e2459f2750bd4bd8dda2ccbf7a71f02 tree 110852fee061c6143b98105ff6aff2a8fc01eb08 parent a5a6bbd9b2481dd556236ea866424590f5f987a4 author Takashi Iwai Mon, 27 Feb 2006 17:23:46 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:40 +0100 [ALSA] opti9x - Fix compile without CONFIG_PNP Modules: Opti9xx drivers Fix compile errors without CONFIG_PNP. Signed-off-by: Takashi Iwai commit a5a6bbd9b2481dd556236ea866424590f5f987a4 tree 1a7952d9654d7f9d26b4681dc295cee10ac71813 parent 62f09c3d321c82981ae3f2dd7e32bc4c73379a7e author Takashi Iwai Mon, 27 Feb 2006 17:20:41 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:37 +0100 [ALSA] cs4236 - Fix a typo Modules: CS4236+ driver Fixed a typo in snd_cs4236_put_master_digital(), resulting in silence right channel. Signed-off-by: Takashi Iwai commit 62f09c3d321c82981ae3f2dd7e32bc4c73379a7e tree 0faf32e373caaf63f53cc2ae9f03b80379620753 parent 62c5549ee246fa30606f918f97c6b3cde2831292 author Clemens Ladisch Mon, 27 Feb 2006 09:53:03 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:31:19 +0100 [ALSA] usb-audio: optimize snd_usbmidi_count_bits() Modules: USB generic driver Reduce the code size of the snd_usbmidi_count_bits() function by using simpler operations. Signed-off-by: Clemens Ladisch commit 62c5549ee246fa30606f918f97c6b3cde2831292 tree c991edcae8796f149cf4d80986334ff0d78d7bc0 parent e661d0ddc58740eca41313fbb01f1612ff9c7878 author Takashi Iwai Wed, 22 Feb 2006 17:14:34 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:30:58 +0100 [ALSA] Fix sleep in atomic in virmidi driver Modules: ALSA sequencer Debug: sleeping function called from invalid context at /usr/src/linux/include/linux/rwsem.h:43 in_atomic():1, irqs_disabled():0 [] snd_seq_deliver_event+0xb4/0x1a8 [snd_seq] [] snd_seq_kernel_client_dispatch+0x6c/0x7c [snd_seq] [] snd_virmidi_output_trigger+0xca/0xe5 [snd_seq_virmidi] Signed-off-by: Takashi Iwai commit e661d0ddc58740eca41313fbb01f1612ff9c7878 tree 379123cc50943ec923bd19952880b694ff3daac0 parent 8278ca8feb2748cf02d756ac6c5b9ab2e047c84a author Takashi Iwai Tue, 21 Feb 2006 14:14:50 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:30:48 +0100 [ALSA] pcm - Move PAUSE ioctl to common ioctl handler Modules: PCM Midlevel Moved PAUSE ioctl to the common ioctl handler. A capture stream may issue PAUSE, too. Signed-off-by: Takashi Iwai commit 8278ca8feb2748cf02d756ac6c5b9ab2e047c84a tree a58ddfa8d7ac897c02e4ba3bda9b77e278348fbf parent 1a56f8d662ec7fc86f2c408d289fa07cdb781746 author Takashi Iwai Mon, 20 Feb 2006 11:57:34 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:30:43 +0100 [ALSA] Fix check of enable module option Fix the check of enable module option in probe of platform_device drivers. It shouldn't break the loop but just ignore if enable[i] is false. Signed-off-by: Takashi Iwai commit 1a56f8d662ec7fc86f2c408d289fa07cdb781746 tree 98093268b0feacbb9d69492113a688dfedacaf4f parent 111d3af5f5fbf0e28570f1c01e83444d73c68a25 author Takashi Iwai Thu, 16 Feb 2006 19:51:10 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:30:14 +0100 [ALSA] hda-intel - Auto-correction of the DMA position mode Modules: HDA Intel driver Switch the method to measure the current DMA position automatically from position-buffer mode to LPIB-read mode with a sanity check. Some hardwares seems to have problem with the position buffer. Signed-off-by: Takashi Iwai commit 111d3af5f5fbf0e28570f1c01e83444d73c68a25 tree 4679b8c2336c475016cd19c81263df0347741684 parent 353b9e667042d6faa15a41df022bf38c949a7b2f author Takashi Iwai Thu, 16 Feb 2006 18:17:58 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:53 +0100 [ALSA] hda-intel - Automatic correction to single_cmd mode Modules: HDA Codec driver,HDA Intel driver Switch to single_cmd mode automatically as a fallback when CORB/RIRB communication doesn't work well. It may make the driver working on some devices with broken BIOS/ACPI support. Signed-off-by: Takashi Iwai commit 353b9e667042d6faa15a41df022bf38c949a7b2f tree 0cc21e898d83639764710e18ab3974cf51ec4c76 parent 253b999f5a620be81db4cfa31f76873b639ec9a2 author Takashi Iwai Thu, 16 Feb 2006 18:16:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:50 +0100 [ALSA] hda-codec - Add missing model entries for Intel 945 boards Modules: HDA Codec driver Added the missing entries for Intel 945 boards. Signed-off-by: Takashi Iwai commit 253b999f5a620be81db4cfa31f76873b639ec9a2 tree 9e329b3739d520989e5ca121bc100bdb7a7cce44 parent f7004f3975591f3d4cdf457f879e9ede57394500 author Jaroslav Kysela Wed, 15 Feb 2006 13:31:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:29 +0100 [ALSA] intel8x0 - wait for ICH_RESETREGS Modules: Intel8x0 driver It seems that hardware requires some time to reset bus master registers. We need to wait until ICH_RESETREGS bit is not released. The suggestion and symptom was described by Mike Gorchak . Signed-off-by: Jaroslav Kysela commit f7004f3975591f3d4cdf457f879e9ede57394500 tree c667bebd8b7c371aeda892946f41298d54b95682 parent 9c4be3d334808d1dedea7db0ae84759bfac8e18e author Jaroslav Kysela Fri, 10 Feb 2006 08:42:17 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:25 +0100 [ALSA] ice1712 - Delta 1010LT S/PDIF fixes Modules: ICE1712 driver See ALSA bug#1806 for details. Signed-off-by: Jaroslav Kysela commit 9c4be3d334808d1dedea7db0ae84759bfac8e18e tree 3071bf879319c0525c33a7586b18763956f15645 parent dbc967760b075aef3b181deda6639d73bbd0ad07 author Jesper Juhl Thu, 09 Feb 2006 20:04:16 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:21 +0100 [ALSA] no need to check pointers passed to vfree() for NULL Modules: Digigram VX core,USB generic driver There's no need to check pointers passed to vfree() for NULL. Signed-off-by: Jesper Juhl Signed-off-by: Takashi Iwai commit dbc967760b075aef3b181deda6639d73bbd0ad07 tree bf6ae2fe737e20ad1a38d2656adc0a747f88504c parent d08a23e2509e8e80637b4dfa5607ea00b9151b0a author Takashi Iwai Thu, 09 Feb 2006 16:29:44 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:29:07 +0100 [ALSA] ac97 - Remove duplicated entry in lm4550_restbl Modules: AC97 Codec Removed the duplicated entry in lm4550_restbl. Signed-off-by: Takashi Iwai commit d08a23e2509e8e80637b4dfa5607ea00b9151b0a tree c5bdea37ac173c092dd6db73ef519c4aad699d84 parent bd84b0cc99d267d6512f01a55af7dbb673f784af author Ken Arromdee Thu, 09 Feb 2006 13:50:26 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:58 +0100 [ALSA] ad1816a - Fix PCM trigger direction Modules: AD1816A driver Fixed the bug of capture with Shark Predator ISA resulting in: arecord: pcm_read:1196: read error: Input/output error Signed-off-by: Takashi Iwai commit bd84b0cc99d267d6512f01a55af7dbb673f784af tree a301b2331599f38fea09751cf0d86d7d6622c806 parent 7cf51e48315d87b4c1cf600d611894f45f661142 author Takashi Iwai Thu, 09 Feb 2006 12:04:36 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:53 +0100 [ALSA] via82xx - Add dxs entry for FSC Amilo L7300 Modules: VIA82xx driver Added dxs_support entry for FSC Amilo L7300. Signed-off-by: Takashi Iwai commit 7cf51e48315d87b4c1cf600d611894f45f661142 tree 1c3d85f27af4d79ad146f7cbcc21aaae1057a766 parent 8b33a5aa08c4e462360d812386dcecc0467efd7b author Jonathan Woithe Thu, 09 Feb 2006 12:01:26 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:50 +0100 [ALSA] hda: ALC260 test model implementation Modules: HDA Codec driver The following patch adds a 'test' ALC260 model specification to the patch_realtek.c driver if CONFIG_SND_DEBUG is set. This is similar to the 'test' ALC880 model in that it sets up mixer controls for almost everything to make it easier for people to test their laptop/soundcard when working out what pin widgets are connected to which real-world devices. This patch assumes my previous patch (adding the second PCM to the ALC260) has previously been applied since it uses infrastructure added by that patch. In developing this patch it was found that not all retasking pins accept all the modes - in particular, some ignore the VREFxx variants. The pin mode control has therefore been tweaked to prevent this becoming a problem in mixer applications. Signed-off-by: Takashi Iwai commit 8b33a5aa08c4e462360d812386dcecc0467efd7b tree 5f26737c19b39b64bce53e5f5de44549db0ea686 parent 4c5186ed6b25278df595edf2d355ee87b00c4426 author Takashi Iwai Thu, 09 Feb 2006 11:57:01 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:46 +0100 [ALSA] hda: minor correction to fujitsu ALC260 initverbs Modules: HDA Codec driver Jonathan Woithe The following patch changes the initverbs associated with the output sum widgets 0x08, 0x09 and 0x0a used with the fujitsu model in patch_realtek.c. It is against alsa 1.0.11rc3. Currently these widgets have their output muted, but a close reading of the datasheet suggests that they don't actually have an output mute. They have an *input* mute for each of their two inputs and a single output gain. This patch therefore activates the input mutes and zeros the output gain. It has not yet been tested but the above interpretation of the ALC260 datasheet seems correct. Signed-off-by: Takashi Iwai commit 4c5186ed6b25278df595edf2d355ee87b00c4426 tree 1114da4875d4925213e9c99d59dadf7673693900 parent ba22429d3ea3b9945735b88d4dde74711171ffab author Jonathan Woithe Thu, 09 Feb 2006 11:53:48 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:42 +0100 [ALSA] hda: add PCM for 2nd ADC on ALC260 Modules: HDA Codec driver The following patch against alsa 1.0.11rc3 creates a PCM device (pcm1c) for the second ADC present on the ALC260 codec used by the hda driver. It also defines a new mixer control allowing the mode of retasking pins to be set; this means a user can (for example) designate the headphone jack to be a second input. With this patch in place it is possible to do 4 channel recording on laptops equipped with an ALC260 codec assuming both a stereo line-in jack is provided in addition to a headphone jack. Mixer controls are provided to allow the headphone jack to be switched as an input. In addition, an (input only) mode control is configured for the line-in jack to allow a bias voltage to be requested (VREF80 or VREF50) so headsets based on condensor microphones have a chance of working. This patch has been tested on a Fujitsu S7020 laptop and as such these features are currently only configured for the 'fujitsu' model. Signed-off-by: Takashi Iwai commit ba22429d3ea3b9945735b88d4dde74711171ffab tree 7b25c97061ca0c218e374620f341d5e988d48690 parent 50dabc2d1139ba01362418874152aeeb591a4544 author Charl Coetzee Thu, 09 Feb 2006 11:48:21 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:39 +0100 [ALSA] ac97 - Added a codec patch for LM4550 Modules: AC97 Codec Added a codec patch for LM4550. It sets up a static volume resolution table. Signed-off-by: Takashi Iwai commit 50dabc2d1139ba01362418874152aeeb591a4544 tree 8ade72febf95b39a69579db2ee7e7e066506990c parent b2b8229dde970b95e407d90a140e8a8753e1f0f6 author Takashi Iwai Thu, 09 Feb 2006 11:45:20 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:34 +0100 [ALSA] ac97 - Add support of static resolution tables Modules: AC97 Codec Added the support of static resolution table support for codecs that the driver cannot probe the volume resolution properly. The table pointer should be set in each codec patch. Signed-off-by: Takashi Iwai commit b2b8229dde970b95e407d90a140e8a8753e1f0f6 tree fa3d5aadbf493affefe0eb2bb610a7789e020611 parent abf58f095525c0e46b4ee64a4f9c2084b4c08f4c author Clemens Ladisch Wed, 08 Feb 2006 12:38:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:31 +0100 [ALSA] usb-audio: add Miditech Play'n Roll support Modules: USB generic driver Add a quirk entry for the Miditech Play'n Roll. Signed-off-by: Clemens Ladisch commit abf58f095525c0e46b4ee64a4f9c2084b4c08f4c tree bd7aa76d5dc8f33385121e7dfe3846ebd13c3dea parent 531af46279fe113f9e41bd5167c8868c936813b5 author Jaroslav Kysela Wed, 08 Feb 2006 09:10:36 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:29 +0100 [ALSA] bt848 - added Leadtek Winfast tv 2000xp delux to whitelist Modules: BT87x driver - added 0x107d:0x6606 to whitelist - print also the pci device ID for developers when model is not known Signed-off-by: Jaroslav Kysela commit 531af46279fe113f9e41bd5167c8868c936813b5 tree d2eb57fb88a15f2fcbfe8bb88066de92d4f93aea parent cc7a59bd8dcee9b01e0c9ab21380071f0ae6ef0d author Alan Horstmann Wed, 08 Feb 2006 07:40:33 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:25 +0100 [ALSA] ice1712 - disable unused ADCs & DACs on DMX6fire Modules: ICE1712 driver Change the value written to hardware configuration register of envy24 chip in the case of Terratec DMX6fire to restrict the active ADCs & DACs to 6. Also add the dxr_enable module option to eventually leave the old behaviour when user requests. Signed-off-by: Alan Horstmann Signed-off-by: Jaroslav Kysela commit cc7a59bd8dcee9b01e0c9ab21380071f0ae6ef0d tree 0b0a9b2c18b2a71d7cc9788b78c27e0a849fbd59 parent e957ebf164e880ddb0c057418195db47d013c4ac author Clemens Ladisch Tue, 07 Feb 2006 17:11:06 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:22 +0100 [ALSA] usb-audio: rename QUIRK_MIDI_MIDITECH to QUIRK_MIDI_CME Modules: USB generic driver Rename QUIRK_MIDI_MIDITECH to QUIRK_MIDI_CME because Miditech keyboards are built by CME and use the same protocol, and don't force a Miditech product name for the USB ID used by both Miditech and CME UF-x keyboards. Signed-off-by: Clemens Ladisch commit e957ebf164e880ddb0c057418195db47d013c4ac tree 63f4315f81246869a8eb0da48be4c33315cdb7aa parent 2ba8c15c738b64b4d3acaace1e19750362ff2b69 author Jaroslav Kysela Thu, 02 Feb 2006 07:56:54 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:15 +0100 [ALSA] ice1712 & cs8427 - fix problem for S/PDIF input setup Modules: I2C cs8427,ICE1712 driver See ALSA bug#1785 for more details. Signed-off-by: Jaroslav Kysela commit 2ba8c15c738b64b4d3acaace1e19750362ff2b69 tree 14407aac8fe77a92424b6df73f0c3e39d83c7fc7 parent ea50888d83cfb797ff7efadedc033b33bc2064bc author Takashi Iwai Tue, 31 Jan 2006 14:44:28 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:12 +0100 [ALSA] Removed unneeded page-reserve Modules: Memalloc module Removed unneeded page-reservation. Signed-off-by: Takashi Iwai commit ea50888d83cfb797ff7efadedc033b33bc2064bc tree 4801bba08731591c9f2d7d41506a37552de9e75e parent c82590d2b2877ec846c5313ea897420209b91ea7 author Takashi Iwai Mon, 23 Jan 2006 15:49:18 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:06 +0100 [ALSA] Use dma_alloc_coherent() hack on i386 only Modules: Memalloc module Use dma_alloc_coherent() hack on i386 only (as a valid arch). Signed-off-by: Takashi Iwai commit c82590d2b2877ec846c5313ea897420209b91ea7 tree 1fff44f8e7912cd2f49051749a57299184f69ff4 parent d6ec894b6d6bf12885a34a4667bccb7f67e2916c author Takashi Iwai Fri, 20 Jan 2006 17:13:45 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:28:02 +0100 [ALSA] Fix mulaw -> linear conversion in OSS PCM emulation Modules: ALSA<-OSS emulation Fixed the missing mulaw -> linear conversion in OSS PCM emulation code. Signed-off-by: Takashi Iwai commit d6ec894b6d6bf12885a34a4667bccb7f67e2916c tree be06767c003a9fc8b3b336832baa663bc5c2de85 parent 119c4ff52e5250a476054e6faca9a85422a0402b author Takashi Iwai Fri, 20 Jan 2006 14:05:06 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:27:20 +0100 [ALSA] Add the notes on PM to ens1370/ens1371 sections Modules: Documentation Add the notes on PM to ens1370/ens1371 sections. Signed-off-by: Takashi Iwai commit 119c4ff52e5250a476054e6faca9a85422a0402b tree c2b9caba90642c0d403770fe366edb84cd61d83d parent 05422575d4bc5d1a6aff22dfa9a0b5bc701ccf6f author Clemens Ladisch Thu, 19 Jan 2006 08:25:19 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:27:14 +0100 [ALSA] usb-audio: add UM-1EX/UM-2EX information Modules: USB generic driver Add comments with information about UM-1EX/UM-2EX devices. Signed-off-by: Clemens Ladisch commit 05422575d4bc5d1a6aff22dfa9a0b5bc701ccf6f tree 539acb98fe1d679f295944e3c0c950ff741a40ab parent 3f72a30ccfd5054c01fc3bb0d37241df5380a54c author Clemens Ladisch Wed, 18 Jan 2006 15:44:53 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:27:10 +0100 [ALSA] usb-audio: fix number of G-70 ports Modules: USB generic driver The G-70 has one MIDI port in each direction, no two. Signed-off-by: Clemens Ladisch commit 3f72a30ccfd5054c01fc3bb0d37241df5380a54c tree 95209718f6b64162cb52b57d64c071b069d3710b parent cdca881d79dc4133b35db5c855b688ee9cba12a9 author Jaroslav Kysela Wed, 18 Jan 2006 11:50:40 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:27:05 +0100 [ALSA] snd_pcm_format_name() is no longer exported Modules: PCM Midlevel,USB generic driver Because snd_pcm_format_name() function is used only for informational purposes, it is no longer exported from the PCM midlevel to reduce space and dependency. usbaudio module shows only numeric value for format. Signed-off-by: Jaroslav Kysela commit cdca881d79dc4133b35db5c855b688ee9cba12a9 tree aa6e9a5e101eacc0745056563dda7d0c0f6a1289 parent 5a25c5cfd4f61f514decca3c4106210fb168ce19 author Clemens Ladisch Wed, 18 Jan 2006 08:53:32 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:26:24 +0100 [ALSA] usb-audio: add Roland G-70 support Modules: USB generic driver Add a quirk entry for the Roland G-70. Signed-off-by: Clemens Ladisch commit 5a25c5cfd4f61f514decca3c4106210fb168ce19 tree b79f15c8dd90d682233c231b43ce0ed932a5b126 parent 12aa757905d09b1dc2c1c3d0de3fa8f4c9726f2b author Jaroslav Kysela Wed, 18 Jan 2006 08:02:24 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:26:21 +0100 [ALSA] ymfpci - make rear channel swap optional Modules: YMFPCI driver Added rear_swap module option / kernel parameter to configure the rear channel swapping. Default value is enable to make the AC3 passthrough working, but analog only users might revert the previous behaviour. Signed-off-by: Jaroslav Kysela commit 12aa757905d09b1dc2c1c3d0de3fa8f4c9726f2b tree c776b2b66618915502cb8c552fe6fc720a18306d parent 62932df8fb20ba2fb53a95fa52445eba22e821fe author Ingo Molnar Mon, 16 Jan 2006 16:36:05 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:25:43 +0100 [ALSA] semaphore -> mutex (Archs, misc buses) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 62932df8fb20ba2fb53a95fa52445eba22e821fe tree 335178d7438395a68a453a9c23624b3e9fc5ec40 parent 8b7547f95cbe8a5940df62ed730646fdfcba5fda author Ingo Molnar Mon, 16 Jan 2006 16:34:20 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:25:29 +0100 [ALSA] semaphore -> mutex (PCI part) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 8b7547f95cbe8a5940df62ed730646fdfcba5fda tree 704102a2b9eaef96cf8b96c46e9e48855de64ea3 parent ef9f0a42db987e7e2df72289fb4522d24027786b author Ingo Molnar Mon, 16 Jan 2006 16:33:08 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:25:03 +0100 [ALSA] semaphore -> mutex (ISA part) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit ef9f0a42db987e7e2df72289fb4522d24027786b tree 34f3ad0c1abdbeb6df5a1d5137db6b4f34695f5a parent 1a60d4c5a0c4028559585a74e48593b16e1ca9b2 author Ingo Molnar Mon, 16 Jan 2006 16:31:42 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:57 +0100 [ALSA] semaphore -> mutex (driver part) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 1a60d4c5a0c4028559585a74e48593b16e1ca9b2 tree f03f8dfcd554f8ebbb295522dc46dfe4d110a484 parent f0283f45a04d5cf31512e5e390a38504d97e7a97 author Ingo Molnar Mon, 16 Jan 2006 16:29:08 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:50 +0100 [ALSA] semaphore -> mutex (core part) Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit f0283f45a04d5cf31512e5e390a38504d97e7a97 tree 0d49a192d47ac913a774bc7ff2899388efbeab88 parent 95b712965f0a50365cc0128dacc27acf562f2ff1 author Takashi Iwai Mon, 16 Jan 2006 12:59:01 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:35 +0100 [ALSA] au88x0 - Fix structs for equalizer Modules: au88x0 driver Fixed the structures for equalizer. Signed-off-by: Takashi Iwai commit 95b712965f0a50365cc0128dacc27acf562f2ff1 tree 19e4f44751862c4f89c2e7465735e726a3965ac1 parent 14086771c04acecc81e3985ca3118b330324194d author Mark Salazar Mon, 16 Jan 2006 11:35:40 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:17 +0100 [ALSA] #4/4 for Zoom Video - add Zoom Video support Modules: ES18xx driver Forth of 4 es18xx.c patches culminating in Zoom Video support. This patch adds Zoom Video support for those chipsets that support it. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879. I could not test the Zoom Video function for an ES1878 or ES1869. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. One quirk (noted in my comments below) is that apparently the datasheet is wrong for one of the ES1879 Zoom Video 'enable' bits, because 1) if you set this bit it messes up PCM playback (speaker_test play a lower frequency) 2) even if you don't set this bit Zoom Video still works. I added a control to toggle the bit on just in case there might be a version of the ES1879 that requires it, but I expect noone will need it. Signed-off-by: Mark Salazar Signed-off-by: Takashi Iwai commit 14086771c04acecc81e3985ca3118b330324194d tree 72e008a3d667bd2d49fb0e13e08fa6d0df9622b5 parent f4df221f8fe129ac2fa2a2a4306b7355cf7d05d6 author Mark Salazar Mon, 16 Jan 2006 11:33:52 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:08 +0100 [ALSA] #3/4 for Zoom Video - change Hardware Volume interrupt handling Modules: ES18xx driver Third of 4 es18xx.c patches culminating in Zoom Video support. This patch changes the Hardware Volume support to reflect the fact that not all of the supported chipsets have seperate registers dedicated to the Hardware Volume inputs. Although all the chipsets can generate an HWV interrupt whenever a Hardware Volume input is received only those with seperate HWV registers can split the HWV registers from the Master volume registers. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar Signed-off-by: Takashi Iwai commit f4df221f8fe129ac2fa2a2a4306b7355cf7d05d6 tree 53b630ac77752f3ed30ead32cec9d62e32d30712 parent c1f6d41593d3ef1f778fd6892cc4b916050c7cb9 author Mark Salazar Mon, 16 Jan 2006 11:31:14 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:24:04 +0100 [ALSA] #2/4 for Zoom Video - resolve number of record sources Modules: ES18xx driver Second of 4 es18xx.c patches culminating in Zoom Video support. This patch changes the 'record source' mux routines to reflect the fact that not all of the supported chipsets have 8 possible inputs. Some have 4 and some have 5. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar Signed-off-by: Takashi Iwai commit c1f6d41593d3ef1f778fd6892cc4b916050c7cb9 tree 573794c432dea568a81ad500b80390001838e0ae parent 415b09e4559b0c95666af3cebe918386212aef98 author Mark Salazar Mon, 16 Jan 2006 11:29:09 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:52 +0100 [ALSA] #1/4 for Zoom Video - resolve common vs chipset specific mixer controls Modules: ES18xx driver First of 4 es18xx.c patches culminating in Zoom Video support. While adding support for Zoom Video to the es18xx driver I found some of the mixer controls were wrong. Since you guys went to the trouble of supplying the datasheets for the supported chipsets I did a review of all of them and tried to get es18xx.c to accurately reflect the proper mixer controls for each chipset. If the datasheets are wrong then so are my patches. This first patch moves some controls from the common-to-all-chipsets array 'snd_es18xx_base_controls' to a chipset-specific array and adds code to manage that new array. Also while testing on my ES1878 test machine I discovered it needed a couple of udelays in the identify function so those are in this patch as well. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar Signed-off-by: Takashi Iwai commit 415b09e4559b0c95666af3cebe918386212aef98 tree 970d7ea8bdfe38227cadfac5e77a841714db0e98 parent f7cbb7fcd3bae5264a079e06411b35366da9bd4d author Clemens Ladisch Mon, 16 Jan 2006 08:03:52 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:47 +0100 [ALSA] usb-audio: add Edirol PC-50 support Modules: USB generic driver Add a quirk entry for the Edirol PC-50. Signed-off-by: Clemens Ladisch commit f7cbb7fcd3bae5264a079e06411b35366da9bd4d tree cc6c46c6e68f2c13da665ad30c9e1dd370dcb7cf parent 97c67b65cbdfd19887450ae1b80ddbb54de9559d author Takashi Iwai Fri, 13 Jan 2006 18:48:06 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:39 +0100 [ALSA] Fix snd_xxx_t typedefs Modules: PXA Mainstone driver,CX88 driver,SAA7134 driver Replace snd_xxx_t typedefs with explicit structs. Signed-off-by: Takashi Iwai commit 97c67b65cbdfd19887450ae1b80ddbb54de9559d tree ad92dc802a5146c8b86e2333118f0fc394dddcfb parent 7a6c8ff1ef83df4ce44b586999e54966d8e5bda8 author Takashi Iwai Fri, 13 Jan 2006 17:16:29 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:32 +0100 [ALSA] au88x0 - 64bit arch fixes Modules: au88x0 driver Fix the driver codes to run on 64bit architectures. The patch taken from ALSA BTS bug#1047. Signed-off-by: Takashi Iwai commit 7a6c8ff1ef83df4ce44b586999e54966d8e5bda8 tree c31957c89522975a2159a6b948c78f2c644b5240 parent 45fe722ba814dc50410729a473022c550dd96910 author Takashi Iwai Fri, 13 Jan 2006 13:56:33 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:27 +0100 [ALSA] Update description of ice1724 driver Modules: Documentation Updated the description of ice1724 driver. Signed-off-by: Takashi Iwai commit 45fe722ba814dc50410729a473022c550dd96910 tree 21891fefa5af72467a136c1947af395da1cc53f7 parent 0534ab4279bd25e2d0a888af07466446dac05d74 author Takashi Iwai Fri, 13 Jan 2006 13:50:16 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:23 +0100 [ALSA] ice1724 - Add support of Prodigy-7.1LT Modules: ICE1712 driver Added the support of Prodigy-7.1LT board. The patch taken from ALSA BTS bug#1090. Signed-off-by: Takashi Iwai commit 0534ab4279bd25e2d0a888af07466446dac05d74 tree c5e6f6398101e9b278db7d7749f93035d6e1fae6 parent 9d83911ac082c6d63c1c08f235349113d8c1d0a3 author Takashi Iwai Fri, 13 Jan 2006 12:09:12 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:20 +0100 [ALSA] Clean up pcm-oss plugins Modules: ALSA<-OSS emulation Clean up pcm-oss plugin codes. Removed dead codes, and simplified route/rate plugins. Signed-off-by: Takashi Iwai commit 9d83911ac082c6d63c1c08f235349113d8c1d0a3 tree 87e7be2b0af498a7f5977296acb340e65cca5699 parent 21a3479a0b606d36fe24093f70a1c27328cec286 author Takashi Iwai Fri, 13 Jan 2006 11:32:52 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:16 +0100 [ALSA] Fix a typo Modules: ALSA<-OSS emulation Fixed a typo. Signed-off-by: Takashi Iwai commit 21a3479a0b606d36fe24093f70a1c27328cec286 tree 484ce13d02df9f580bb6691ea3845160dc716c4a parent 153abaa4ff0500070a282dd0868367d69388d527 author Jaroslav Kysela Fri, 13 Jan 2006 09:12:11 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:12 +0100 [ALSA] PCM midlevel & PCM OSS - make procfs & OSS plugin code optional Modules: ALSA Core,PCM Midlevel,ALSA<-OSS emulation,USB generic driver 1) The verbose procfs code for the PCM midlevel and usb audio can be removed now (more patches will follow). CONFIG_SND_VERBOSE_PROCFS 2) The PCM OSS plugin system can be also compiled optionaly. CONFIG_SND_PCM_OSS_PLUGINS Signed-off-by: Jaroslav Kysela commit 153abaa4ff0500070a282dd0868367d69388d527 tree e4b06f6631bc92ea3b2e976b6721932e8f965936 parent 27346166a9b3b9eee586bce212502cddf9685a07 author Clemens Ladisch Fri, 13 Jan 2006 07:48:59 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:23:00 +0100 [ALSA] ymfpci: fix swapped channels in SPDIF output Modules: YMFPCI driver The routing of the effect 2/3 channels to the digital output is the opposite of the rear analog output (left/right swapped). We make the order correct for the digital output (which will make the analog rear have the channels swapped) to make AC3 output work. Signed-off-by: Clemens Ladisch commit 27346166a9b3b9eee586bce212502cddf9685a07 tree 97a1feb7937b0ca82538e049e7e332f4797b2eb9 parent 84a43bd523a63f1b53fd734c3798d71b7b53f123 author Takashi Iwai Thu, 12 Jan 2006 18:28:44 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:51 +0100 [ALSA] hda-intel - Add single_cmd option for debugging Modules: Documentation,HDA Intel driver Added single_cmd module option for debugging in the case CORB/RIRB doesn't work well (e.g. due to wrong irq routings). Signed-off-by: Takashi Iwai commit 84a43bd523a63f1b53fd734c3798d71b7b53f123 tree 63a47c220f57b802fe58b9d70e49835c9f15af40 parent 15f500a6994e552b7772d8b8459ee3114c47897d author Takashi Iwai Thu, 12 Jan 2006 11:47:32 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:46 +0100 [ALSA] intel8x0 - Fix/cleanup detection of codecs on SIS7012 Modules: Intel8x0 driver Fix the detection of tertriary codec on SIS7012, including clean-ups of relevant codes. Signed-off-by: Takashi Iwai commit 15f500a6994e552b7772d8b8459ee3114c47897d tree e631b66e2bf95d9834c02a283d6fb0ccb2d61ffd parent 9568f461e50c023e45ec702027bb1a5f60e443dc author Takashi Iwai Thu, 12 Jan 2006 11:43:49 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:42 +0100 [ALSA] ens1370 - Fix resume Modules: ENS1370/1+ driver Fix resume of ens1370 driver. Signed-off-by: Takashi Iwai commit 9568f461e50c023e45ec702027bb1a5f60e443dc tree 5c38356197de86514be184244eabc6f86a0154e5 parent 7c79b7682ee6318a8e47173b158846ed0edd8f1a author Clemens Ladisch Thu, 12 Jan 2006 08:19:21 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:27 +0100 [ALSA] usb-audio: factor out packet size calculation code Modules: USB generic driver Move the common packet size calculation code from prepare_startup_playback_urb() and prepare_playback_urb() to a new function. Signed-off-by: Clemens Ladisch commit 7c79b7682ee6318a8e47173b158846ed0edd8f1a tree 9f4868886874cf158547dfb36e1baa1b98307733 parent e03173fce2f2c233b755f2d668d6d4247a717453 author Clemens Ladisch Tue, 10 Jan 2006 18:56:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:22 +0100 [ALSA] usb-audio: cosmetic changes Modules: USB generic driver Move some entries around to keep them sorted by ID. Signed-off-by: Clemens Ladisch commit e03173fce2f2c233b755f2d668d6d4247a717453 tree c1ba0936ae513f308fda33db69fc3d626d2a9c99 parent 34226c4239861654c69888e6e98973b2cc908c0b author Brent Cook Tue, 10 Jan 2006 14:27:20 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:22:14 +0100 [ALSA] Add support for EDIROL UM-3ex Modules: USB generic driver This is my naive attempt at adding ALSA device support. The attached patch provides support for the EDIROL UM-3ex. This is a 3-port USB midi interface with a built-in USB hub and the ability to chain 2 other UM-3x's in a master-slave configuration. I only have one, so I do not know how this works in practice. Though this is a 3-port device, I had to throw in that 4th 'Control' interface to the definition in order to make the 3rd port work. If I set in/out_cables to 0x000b, a 3rd interface appears on the driver, but it does nothing. Changing it to 0x000f allows the 3rd interface to work, but of course interface 4 does not work because it does not exist. Signed-off-by: Takashi Iwai commit 34226c4239861654c69888e6e98973b2cc908c0b tree 0f9f1ee06683e17e3016b46a8dcd4d1ca7a50623 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Takashi Iwai Wed, 04 Jan 2006 12:14:23 +0100 committer Jaroslav Kysela Wed, 22 Mar 2006 10:21:58 +0100 [ALSA] pcxhr - Suppress debug messages Modules: Digigram PCXHR driver Suppress debug messages. Signed-off-by: Takashi Iwai commit dcc1e8dd88d4bc55e32a26dad7633d20ffe606d2 tree a47592213d94f918867d3dd81bb91dac3e727dea parent 14778d9072e53d2171f66ffd9657daff41acfaed author David S. Miller Wed, 22 Mar 2006 00:49:59 -0800 committer David S. Miller Wed, 22 Mar 2006 01:15:14 -0800 [SPARC64]: Add a secondary TSB for hugepage mappings. Signed-off-by: David S. Miller commit 14778d9072e53d2171f66ffd9657daff41acfaed tree 3b60565ec1e957800fc3bf4743497202a24f8279 parent e952f31bce6e9f64db01f607abc46529ba57ac9e author David S. Miller Tue, 21 Mar 2006 02:29:39 -0800 committer David S. Miller Wed, 22 Mar 2006 01:15:13 -0800 [SPARC]: Respect vm_page_prot in io_remap_page_range(). Make sure the callers do a pgprot_noncached() on vma->vm_page_prot. Pointed out by Hugh Dickens. Signed-off-by: David S. Miller commit 056755f4d73d49b4adcbb8ecdaf75138cf166bd3 tree d019a2812320c0fcdb25069eaef45224ff654ec2 parent 15c3b696101992c4d69962325f0e91647164427f author David S. Miller Wed, 22 Mar 2006 01:07:53 -0800 committer David S. Miller Wed, 22 Mar 2006 01:07:53 -0800 [TG3]: Bump driver version and reldate. Signed-off-by: David S. Miller commit 15c3b696101992c4d69962325f0e91647164427f tree da26359a3cd8899f284cb320b9918b418e0784df parent caf636c760b33c72ebf018ff03c1b0d79ea6656a author Michael Chan Wed, 22 Mar 2006 01:06:52 -0800 committer David S. Miller Wed, 22 Mar 2006 01:06:52 -0800 [TG3]: Skip phy power down on some devices Some PHYs should not be powered down in tg3_set_power_state() because of bugs or other hardware limitations. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit caf636c760b33c72ebf018ff03c1b0d79ea6656a tree d8ac1d485a820abcb7a17b73d309bb752e3c6223 parent 9a6b9f2e763a1d1492e164f13c13b995a9b98d78 author Michael Chan Wed, 22 Mar 2006 01:05:31 -0800 committer David S. Miller Wed, 22 Mar 2006 01:05:31 -0800 [TG3]: Fix SRAM access during tg3_init_one() 5700 and 5701 will not return correct SRAM data when the chip is in D3hot power state. tg3_get_eeprom_hw_cfg() must first put the device in D0 before reading SRAM. Thanks to Thomas Chenault at Dell for noticing this problem. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 9a6b9f2e763a1d1492e164f13c13b995a9b98d78 tree c78dd4dbd6198422c9fb0959fa561e8c0804dfab parent a64b7b936dcd926ace745c07c14f45ecfaddb034 author Shaun Pereira Wed, 22 Mar 2006 00:02:00 -0800 committer David S. Miller Wed, 22 Mar 2006 00:02:00 -0800 [X25]: dte facilities 32 64 ioctl conversion Allows dte facility patch to use 32 64 bit ioctl conversion mechanism Signed-off-by: Shaun Pereira Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit a64b7b936dcd926ace745c07c14f45ecfaddb034 tree 734b65e3c7c1862b05ef65e0ffbd584d7b86d537 parent bac37ec8300389d355d41a828b47577c1ec2e4f4 author Shaun Pereira Wed, 22 Mar 2006 00:01:31 -0800 committer David S. Miller Wed, 22 Mar 2006 00:01:31 -0800 [X25]: allow ITU-T DTE facilities for x25 Allows use of the optional user facility to insert ITU-T (http://www.itu.int/ITU-T/) specified DTE facilities in call set-up x25 packets. This feature is optional; no facilities will be added if the ioctl is not used, and call setup packet remains the same as before. If the ioctls provided by the patch are used, then a facility marker will be added to the x25 packet header so that the called dte address extension facility can be differentiated from other types of facilities (as described in the ITU-T X.25 recommendation) that are also allowed in the x25 packet header. Facility markers are made up of two octets, and may be present in the x25 packet headers of call-request, incoming call, call accepted, clear request, and clear indication packets. The first of the two octets represents the facility code field and is set to zero by this patch. The second octet of the marker represents the facility parameter field and is set to 0x0F because the marker will be inserted before ITU-T type DTE facilities. Since according to ITU-T X.25 Recommendation X.25(10/96)- 7.1 "All networks will support the facility markers with a facility parameter field set to all ones or to 00001111", therefore this patch should work with all x.25 networks. While there are many ITU-T DTE facilities, this patch implements only the called and calling address extension, with placeholders in the x25_dte_facilities structure for the rest of the facilities. Testing: This patch was tested using a cisco xot router connected on its serial ports to an X.25 network, and on its lan ports to a host running an xotd daemon. It is also possible to test this patch using an xotd daemon and an x25tap patch, where the xotd daemons work back-to-back without actually using an x.25 network. See www.fyonne.net for details on how to do this. Signed-off-by: Shaun Pereira Acked-by: Andrew Hendry Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit bac37ec8300389d355d41a828b47577c1ec2e4f4 tree 57d692d61de5b52e61883f1f9a2aa2a3ffa6c79d parent 1b06e6ba25a37fe1c289049d0e0300d71ae39eff author Shaun Pereira Wed, 22 Mar 2006 00:00:40 -0800 committer David S. Miller Wed, 22 Mar 2006 00:00:40 -0800 [X25]: fix kernel error message 64 bit kernel Fixes the following error from kernel T2 kernel: schedule_timeout: wrong timeout value ffffffffffffffff from ffffffff88164796 Signed-off-by: Shaun Pereira Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 1b06e6ba25a37fe1c289049d0e0300d71ae39eff tree e119b3bf47125cb1b5a32fab531815890202d334 parent f0ac2614412e2b597e2d5bfbd3960b4f73718b41 author Shaun Pereira Wed, 22 Mar 2006 00:00:12 -0800 committer David S. Miller Wed, 22 Mar 2006 00:00:12 -0800 [X25]: ioctl conversion 32 bit user to 64 bit kernel To allow 32 bit x25 module structures to be passed to a 64 bit kernel via ioctl using the new compat_sock_ioctl registration mechanism instead of the obsolete 'register_ioctl32_conversion into hash table' mechanism Signed-off-by: Shaun Pereira Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit f0ac2614412e2b597e2d5bfbd3960b4f73718b41 tree b1d6c3fabc0f143eec1dcb1ce7c5f6d2bcb64ee1 parent 89bbfc95d65839d6ae23ddab8a3cc5af4ae88383 author Shaun Pereira Tue, 21 Mar 2006 23:59:39 -0800 committer David S. Miller Tue, 21 Mar 2006 23:59:39 -0800 [NET]: socket timestamp 32 bit handler for 64 bit kernel Get socket timestamp handler function that does not use the ioctl32_hash_table. Signed-off-by: Shaun Pereira Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 89bbfc95d65839d6ae23ddab8a3cc5af4ae88383 tree f2d5e55533f07109680d7ed7e56cc85222703c69 parent 67b52e554ba973947704fcb4fc284d7bab9ab931 author Shaun Pereira Tue, 21 Mar 2006 23:58:08 -0800 committer David S. Miller Tue, 21 Mar 2006 23:58:08 -0800 [NET]: allow 32 bit socket ioctl in 64 bit kernel Since the register_ioctl32_conversion() patch in the kernel is now obsolete, provide another method to allow 32 bit user space ioctls to reach the kernel. Signed-off-by: Shaun Pereira Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 67b52e554ba973947704fcb4fc284d7bab9ab931 tree 9f933717a5cacef5f7fe4a57e7761ea59e09bc6f parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Tobias Klauser Tue, 21 Mar 2006 23:53:16 -0800 committer David S. Miller Tue, 21 Mar 2006 23:53:16 -0800 [BLUETOOTH]: Return negative error constant Return negative error constant. Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 4d74f423c722b8cadfabe087369200013b217b67 tree d62facddfdb0dfd89f3e61f4fc699cf2feb4b082 parent bb19fba1937cb6ab2bb98ac893365f6ebf88ef1b parent e952f31bce6e9f64db01f607abc46529ba57ac9e author Nathan Scott Wed, 22 Mar 2006 15:31:14 +1100 committer Nathan Scott Wed, 22 Mar 2006 15:31:14 +1100 Merge HEAD from ../linux-2.6 commit 1d04981669df1f0586d4578ec4061c5585ec721b tree 41940e4f058d60eaa9cf28e3ceb12c7a4c733fc1 parent f8642ebee8e46d054d83828a4048fba4ebcd8f68 author Stephen Rothwell Wed, 22 Mar 2006 11:26:58 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:06:31 +1100 [PATCH] powerpc: update mailing list addresses Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit f8642ebee8e46d054d83828a4048fba4ebcd8f68 tree 98dba337c34de68e2b319d03f8c41c7c47807ae8 parent 6c600ad8da189aebe65b765fd0349ef6c9dd8c1f author Michael Ellerman Tue, 21 Mar 2006 20:46:11 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:30 +1100 [PATCH] powerpc: Remove calculation of io hole In mm_init_ppc64() we calculate the location of the "IO hole", but then no one ever looks at the value. So don't bother. That's actually all mm_init_ppc64() does, so get rid of it too. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 6c600ad8da189aebe65b765fd0349ef6c9dd8c1f tree b478facc7e679fcef36e23dd777670c7881284cc parent 289f1c74a9b527a816f63092e79a5412cc0352a2 author Michael Ellerman Tue, 21 Mar 2006 20:46:10 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:27 +1100 [PATCH] powerpc: iseries: Add bootargs to /chosen Add the command line args to the device tree as /chosen/bootargs. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 289f1c74a9b527a816f63092e79a5412cc0352a2 tree 13ea8968f704cd8a69ee720c1565ac432512e4a7 parent 584fc6d111c34a9a2512f6c7652dff29232bf70d author Michael Ellerman Tue, 21 Mar 2006 20:46:09 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:26 +1100 [PATCH] powerpc: iseries: Add /system-id, /model and /compatible Add /system-id, /model and /compatible to the iSeries device tree. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 584fc6d111c34a9a2512f6c7652dff29232bf70d tree 80d67b3c6902eff8309106be6291dd84a14d8ab7 parent 00611c5cfc8dea0914c65134f62948a484780a30 author Michael Ellerman Tue, 21 Mar 2006 20:46:08 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:25 +1100 [PATCH] powerpc: Add strne2a() to convert a string from EBCDIC to ASCII Add strne2a() which converts a string from EBCDIC to ASCII. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 00611c5cfc8dea0914c65134f62948a484780a30 tree ae22a9077002d4f19ef7264546e11de04a96b678 parent a9ea2101aaa7fe73cb352cea4145853efdabaa0d author Michael Ellerman Tue, 21 Mar 2006 20:46:05 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:23 +1100 [PATCH] powerpc: iseries: Make more stuff static in platforms/iseries/mf.c Make mf_get_rtc(), mf_get_boot_rtc() and mf_set_rtc() static, cause they can be. We need to move mf_set_rtc() to avoid a forward declaration. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a9ea2101aaa7fe73cb352cea4145853efdabaa0d tree 4dbeaec2e3ac65869d3e13e48ec91cf8eb853d05 parent 260de22faac4d336ca122ebd0f1e59279d0b1dfd author Michael Ellerman Tue, 21 Mar 2006 20:46:04 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:22 +1100 [PATCH] powerpc: iseries: Remove pointless iSeries_(restart|power_off|halt) These routines just call through to the mf routines, so point ppc_md straight at the mf routines. We need to pass the cmd through to mf_reboot to make it work, but that seems reasonable. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 260de22faac4d336ca122ebd0f1e59279d0b1dfd tree be1c202f2bba96546ae2430d9433f7bd7d2a4783 parent 57cfb814f698d30894bc28e22125550193ebe549 author Michael Ellerman Tue, 21 Mar 2006 20:46:02 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:20 +1100 [PATCH] powerpc: iseries: mf related cleanups Some cleanups in the iSeries code. - Make mf_display_progress() check mf_initialized rather than the caller. - Set mf_initialized in mf_init() rather than in setup.c - Then move mf_initialized into mf.c, the only place it's used. - Move the mf related logic from iSeries_progress() to mf_display_progress() - Use a #define to size the pending_event_prealloc array - Use that define in the initialsation loop rather than sizeof jiggery pokery - Remove stupid comment(s) - Mark stuff static and/or __init Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 57cfb814f698d30894bc28e22125550193ebe549 tree 755fd11b1a528f8de7913119b457f866734cb81a parent 3d15910bfbeb02286ce4b5009c53754e88066ccb author Michael Ellerman Tue, 21 Mar 2006 20:45:59 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:17 +1100 [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature It has been decreed that platform numbers are evil, so as a step in that direction, replace platform_is_lpar() with a FW_FEATURE_LPAR bit. Currently FW_FEATURE_LPAR really means i/pSeries LPAR, in the future we might have to clean that up if we need to be more specific about what LPAR actually means. But that's another patch ... Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 3d15910bfbeb02286ce4b5009c53754e88066ccb tree 7b6bc090fb4805edd9414966db89e9554e98bfe0 parent 415202447d31d0f458cca256ad7e0ed777d993d9 author Michael Ellerman Tue, 21 Mar 2006 20:45:58 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:15 +1100 [PATCH] powerpc: trivial: Cleanup whitespace in cputable.h Remove redundant whitespace in include/asm-powerpc/cputable.h Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 415202447d31d0f458cca256ad7e0ed777d993d9 tree 3f12c25557a7f631852e2bda9831dc7fc9b5b5fc parent caf80e579b5fc0048681a47c5a55487116e56a88 author Michael Ellerman Tue, 21 Mar 2006 20:45:58 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:12 +1100 [PATCH] powerpc: Remove unused iommu_off logic from pSeries_init_early() When iommu_init_early_pSeries() was added, ages ago, we forgot to remove the code that checks /chosen/linux,iommu-off in pSeries_init_early(). We do it now in iommu_init_early_pSeries(). Signed-off-by: Michael Ellerman Acked-by: Olof Johansson Signed-off-by: Paul Mackerras commit caf80e579b5fc0048681a47c5a55487116e56a88 tree a5da9d218c0f98a7881cfc601f67cd619579d441 parent 2b2612272c77288b2bd53d5831df737cd669cd93 author Michael Ellerman Tue, 21 Mar 2006 20:45:51 +1100 committer Paul Mackerras Wed, 22 Mar 2006 15:04:09 +1100 [PATCH] powerpc: Unconfuse htab_bolt_mapping() callers htab_bolt_mapping() takes a vstart and pstart parameter, but all but one of its callers actually pass it vstart and vstart. Luckily before it passes paddr (calculated from paddr) to the hpte_insert routines it calls virt_to_abs() (aka. __pa()) on the address, so there isn't actually a bug. map_io_page() however does pass pstart properly, so currently it's broken AFAICT because we're calling __pa(paddr) which will get us something very large. Presumably no one's calling map_io_page() in the right context. Anyway, change htab_bolt_mapping() callers to properly pass pstart, and then use it properly in htab_bolt_mapping(), ie. don't call __pa() on it again. Booted on p5 LPAR, iSeries and Power3. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 2b2612272c77288b2bd53d5831df737cd669cd93 tree 551588d4f4709c39e5e0176b81ed5138722e3458 parent 482ec7c403d239bb4f1732faf9a14988094ce08b author Nathan Lynch Mon, 20 Mar 2006 18:37:15 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:04:03 +1100 [PATCH] powerpc numa: Consolidate assignment of cpus to nodes We can plug the boot cpu into its node independently of whether numa topology is detected. And numa_setup_cpu does the right thing for all cases now, so remove special-casing for non-numa from the cpu hotplug callback. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit 482ec7c403d239bb4f1732faf9a14988094ce08b tree 9abc78e92b304e5ee09428db0cb8922cc86aa213 parent bc16a75926941094db6b42d76014abb5e8d3a910 author Nathan Lynch Mon, 20 Mar 2006 18:36:45 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:04:01 +1100 [PATCH] powerpc numa: Support sparse online node map The powerpc numa code unconditionally onlines all nodes from 0 to the highest node id found, regardless of whether cpus or memory are present in the nodes. This wastes 8K per node and complicates some cpu and memory hotplug situations, such as adding a resource that doesn't map to one of the nodes discovered at boot. Set nodes online as resources are scanned. Fall back to node 0 only when we're sure this isn't a NUMA machine. Instead of defaulting to node 0 for cases of hot-adding a resource which doesn't belong to any initialized node, assign it to the first online node. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit bc16a75926941094db6b42d76014abb5e8d3a910 tree b6eced8416d521711a80f23e79cc58d7dc361cb4 parent cf950b7af0e51935e559c54262214423e2b6c88a author Nathan Lynch Mon, 20 Mar 2006 18:36:15 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:57 +1100 [PATCH] powerpc numa: Consolidate handling of Power4 special case Code to handle Power4's invalid node id (0xffff) is duplicated for cpu and memory. Better to handle this case in one place -- of_node_to_nid. Overall behavior should be unchanged. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit cf950b7af0e51935e559c54262214423e2b6c88a tree 125dfacbbc12c4f5cc5d5ad83c13d463208fa045 parent 2e5ce39d6703836b583c43131c365201a76285a5 author Nathan Lynch Mon, 20 Mar 2006 18:35:45 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:52 +1100 [PATCH] powerpc numa: Get rid of "numa domain" terminology Since we effectively treat the domain ids given to us by firmare as logical node ids, make this explicit (basically s/numa_domain/nid/). No functional changes, only variable and function names are modified. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit 2e5ce39d6703836b583c43131c365201a76285a5 tree f45152d260b8ad49dc4dcb2ada905eaa24ffdc26 parent bf4b85b0e4bab42b3e8d8b0acc6851bb85e2050b author Nathan Lynch Mon, 20 Mar 2006 18:35:15 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:48 +1100 [PATCH] powerpc numa: Minor cpu hotplug-related cleanups map_cpu_to_node does not need to be inline, it is never called in a hot path. map_cpu_to_node, numa_setup_cpu, and find_cpu_node can be marked __cpuinit, as they are never used after boot if CONFIG_HOTPLUG_CPU=n. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit bf4b85b0e4bab42b3e8d8b0acc6851bb85e2050b tree aca0083d6b128beea7e4cf048eaff7bab64d6318 parent c08888cf3c80fe07bfd176113c390ca31d3ba5c2 author Nathan Lynch Mon, 20 Mar 2006 18:34:45 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:45 +1100 [PATCH] powerpc numa: Minor debugging code changes Add debug statement for map_cpu_to_node; it's useful for cpu hotplug. Clarify debug statement about not finding the numa reference points property. Don't print a meaningless associativity depth (-1) on non-numa systems. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit c08888cf3c80fe07bfd176113c390ca31d3ba5c2 tree 37d6ef3a46dca009c997e337874a194551bd4fcd parent 1d7aac5b3bce34c8b5fcec8ca577a4d3af880fd3 author Nathan Lynch Mon, 20 Mar 2006 18:34:15 -0600 committer Paul Mackerras Wed, 22 Mar 2006 15:03:40 +1100 [PATCH] powerpc numa: fix boot_cpuid always assigned to node 0 At boot, the numa code is assigning boot_cpuid to node 0 unconditionally. Basically, numa_setup_cpu is being stupid about it, but this is the minimal fix -- just call numa_setup_cpu(boot_cpuid) later, after all nodes have been set online. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit 55cca65e1995ad604ee87e22c76c17d5cbceb9d0 tree 0a691ff7c1b9320e942e78f6f46bf65df5570d9f parent c962990a38167aacac91738501815deffa3afbd6 author Jeff Garzik Tue, 21 Mar 2006 22:14:17 -0500 committer Jeff Garzik Tue, 21 Mar 2006 22:14:17 -0500 [libata sata_vsc, sata_svw] Convert #define'd constants to enums Also, bump sata_vsc version. commit bb19fba1937cb6ab2bb98ac893365f6ebf88ef1b tree ef24ffdf7903206c4bc0432ce91d2627bffdf714 parent e15f195cfb2fb1f2af0fdfc21277643deb26c0df author Nathan Scott Wed, 22 Mar 2006 14:12:12 +1100 committer Nathan Scott Wed, 22 Mar 2006 14:12:12 +1100 [XFS] Sync up one/two other minor changes missed in previous merges. Signed-off-by: Nathan Scott commit c962990a38167aacac91738501815deffa3afbd6 tree 13f77d5d7619a4b71f2f5e0914b4b6976c54bab7 parent 4d4681f6b994baf93dff0e4f59ab4fe38b49ef13 author Dan Williams Tue, 21 Mar 2006 22:07:13 -0500 committer Jeff Garzik Tue, 21 Mar 2006 22:07:13 -0500 [libata] sata_vsc: fix inconsistent NULL checking Also, cleanup interrupt mask content and note in Kconfig that this driver supports the Intel 31244. Signed-off-by: Jeff Garzik commit 1d7aac5b3bce34c8b5fcec8ca577a4d3af880fd3 tree edf6371a92255a348662dd17dda659012d5a4169 parent 1a02e59a2970f9ed28ab51d3b08624b79e54d848 parent 61c5504a0ed66c8b460f9a006eedaea2ee587e33 author Paul Mackerras Wed, 22 Mar 2006 13:46:53 +1100 committer Paul Mackerras Wed, 22 Mar 2006 13:46:53 +1100 Merge branch '85xx' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc commit 4d4681f6b994baf93dff0e4f59ab4fe38b49ef13 tree b45ce12c0b6a4561ccba3f6327d98aa5af864c2a parent 17bb34a3c548c4fd2a7c859123a631f97c2af09f author Jeff Garzik Tue, 21 Mar 2006 21:31:22 -0500 committer Jeff Garzik Tue, 21 Mar 2006 21:31:22 -0500 [libata] fix oops on non-DMA bmdma hardware Alan noted: "bmdma may be zero but the bmdma_irq_clear function gets called even in this case during pure PIO operation. Check we have a bmdma before we use it." I fixed this by adding a check for zero. While was I there, I fixed the non-standard indentation of the small function's code. Signed-off-by: Jeff Garzik commit 17bb34a3c548c4fd2a7c859123a631f97c2af09f tree 566cd167531082ebaa16a6127dce30a60b4b865a parent 23cfce8924f1e7ff1d14b8f1afd7550182026d16 author Jeff Garzik Tue, 21 Mar 2006 21:29:21 -0500 committer Jeff Garzik Tue, 21 Mar 2006 21:29:21 -0500 [libata] add prototypes for helpers Add prototypes for stuff recently added by Alan. commit 23cfce8924f1e7ff1d14b8f1afd7550182026d16 tree ffee06bf9172f26a82c38e8ff4148f4547811b5d parent 88f93a31dcd950fa6b27a5721428de7e01369c06 author Alan Cox Tue, 21 Mar 2006 16:06:53 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: make irqtrap mode compile Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 88f93a31dcd950fa6b27a5721428de7e01369c06 tree 2b8ad536d611a9bb46c788a0277cf34f2e77712d parent d33d44facc8673388979297c9836b4bf590f7388 author Alan Cox Tue, 21 Mar 2006 16:04:12 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: report which drive is causing mode problems Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit d33d44facc8673388979297c9836b4bf590f7388 tree 69cdb3ef82191ba66ec79bcc2ad1702f84951f83 parent 41bbc8bf1ab0e3e7cda1a0334176a9aa3986cd30 author Alan Cox Tue, 21 Mar 2006 15:59:57 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: two new PCI helpers The first performs the simplex clearing relevant to some chipsets that report simplex by default but can in fact do more if poked. The second is used to strip DMA modes from a PCI control with no BAR4 allocation. Signed-off-by: Jeff Garzik commit 41bbc8bf1ab0e3e7cda1a0334176a9aa3986cd30 tree f608116068ebad13decc3d4e720fa13af3b53f15 parent db7f44d96e0b605906abc38aaf34841a93885884 author Alan Cox Tue, 21 Mar 2006 15:57:00 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: Note weakness in our PCI handling that one day wants fixing Signed-off-by: Jeff Garzik commit db7f44d96e0b605906abc38aaf34841a93885884 tree 86a2a4f07e73e48df39b167aa7a6ccf504099835 parent 2d2020242d14dc8caf83d7682d91368cff64290c author Alan Cox Tue, 21 Mar 2006 15:54:24 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: make code actually compile with debugging on Signed-off-by: Jeff Garzik commit 2d2020242d14dc8caf83d7682d91368cff64290c tree 75dbc3bdd0e6119139e7a498aeb47000e099fa78 parent b6782728d703fa3f0e5478a8b89e49ea10b1fdd0 author Alan Cox Tue, 21 Mar 2006 15:53:46 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:32 -0500 [PATCH] libata: pick a less confusion "um dunno" error Signed-off-by: Jeff Garzik commit b6782728d703fa3f0e5478a8b89e49ea10b1fdd0 tree bb3c44ac421d77c42a58ed426236897016b60991 parent 806a6e7a9904d4a1dfd3fd79d373bf31d71d34cb author Alan Cox Tue, 21 Mar 2006 15:52:49 +0000 committer Jeff Garzik Tue, 21 Mar 2006 21:21:31 -0500 [PATCH] libata: Add the useful macros/constants needed for merging PATA stuff HPA presence/enabled HPA commands Also add ata_id_is_cfa() as that is needed to detect and handle CF cards which currently we reject. Signed-off-by: Jeff Garzik commit 806a6e7a9904d4a1dfd3fd79d373bf31d71d34cb tree a88aa5b3e7aa20fb144686b5b36ce88282f923ad parent a6cce2a79deefb33354561a064f0609a3b342829 author Mark Lord Tue, 21 Mar 2006 21:11:53 -0500 committer Jeff Garzik Tue, 21 Mar 2006 21:11:53 -0500 [libata] sata_mv: off-by-1 fix This patch addresses a number of weird behaviours observed for the sata_mv driver, by fixing an "off by one" bug in processing of the EDMA response queue. Basically, sata_mv was looking in the wrong place for command results, and this produced a lot of unpredictable behaviour. Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik commit a6cce2a79deefb33354561a064f0609a3b342829 tree 2cce168d89253814491909d870fc06fd78481440 parent e46834cd2ddb1e2941806cb8fec60fb6bdd2ec29 author Brian King Fri, 17 Mar 2006 17:04:15 -0600 committer Jeff Garzik Tue, 21 Mar 2006 21:03:43 -0500 [PATCH] libata: ata_scsi_slave_config cleanup Encapsulate some of ata_scsi_slave_config so that parts can be reused in future SAS patches. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit e46834cd2ddb1e2941806cb8fec60fb6bdd2ec29 tree 770dfbbb56f8c9b7e748e9982875cc4522454ffb parent f59b0cf8a3a39b75e580066c6a9aeabd97ec2743 author Brian King Fri, 17 Mar 2006 17:04:03 -0600 committer Jeff Garzik Tue, 21 Mar 2006 21:03:43 -0500 [PATCH] libata: Add some dummy noop functions Add some dummy noop functions for use by libata clients that do not need to do anything. Future SAS patches will utilize these functions. Signed-off-by: Brian King Signed-off-by: Jeff Garzik commit e15f195cfb2fb1f2af0fdfc21277643deb26c0df tree e5236f540fe7325cc6fe99274d5b8f8f0ef996fc parent 2ddee844eef48bf9240ebdfd6c5ffc4333c7d639 author Nathan Scott Wed, 22 Mar 2006 12:47:52 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:47:52 +1100 [XFS] Reenable the noikeep (delete inode cluster space) option by default. SGI-PV: 951200 SGI-Modid: xfs-linux-melb:xfs-kern:25535a Signed-off-by: Nathan Scott commit 2ddee844eef48bf9240ebdfd6c5ffc4333c7d639 tree 16cc4c8b13d31b94f247b54d726cb3d191ce5f6d parent 3758dee9f64fa9692063e7167128f9cec3f5fd33 author David Chinner Wed, 22 Mar 2006 12:47:40 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:47:40 +1100 [XFS] Check that a page has dirty buffers before finding it acceptable for rewrite clustering. This prevents writing excessive amounts of clean data when doing random rewrites of a cached file. SGI-PV: 951193 SGI-Modid: xfs-linux-melb:xfs-kern:25531a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 3758dee9f64fa9692063e7167128f9cec3f5fd33 tree 056a66783d227b070f60439f6270b9c167c5c473 parent 38e2299a641d93d029eb559e096648ab75a22be2 author Nathan Scott Wed, 22 Mar 2006 12:47:28 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:47:28 +1100 [XFS] Fixup naming inconsistencies found by Pekka Enberg and one from Jan Engelhardt. SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:25529a Signed-off-by: Nathan Scott commit 38e2299a641d93d029eb559e096648ab75a22be2 tree 3aa1afbd899c668ff6f50daa302533a219f8c8c3 parent 9fa8046f50bcb88ab9183ee1f22de5adc42bf92a author David Chinner Wed, 22 Mar 2006 12:47:15 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:47:15 +1100 [XFS] Explain the race closed by the addition of vn_iowait() to the start of xfs_itruncate_start(). SGI-PV: 947420 SGI-Modid: xfs-linux-melb:xfs-kern:25527a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 9fa8046f50bcb88ab9183ee1f22de5adc42bf92a tree db564e5da4244025afc24e966166e59009f941b3 parent f1fdc848aab7fb95b32e058b7f06cc07912b3734 author Yingping Lu Wed, 22 Mar 2006 12:44:35 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:44:35 +1100 [XFS] Fixing the error caused by the conflict between DIO Write's conversion and concurrent truncate operations. Use vn_iowait to wait for the completion of any pending DIOs. Since the truncate requires exclusive IOLOCK, so this blocks any further DIO operations since DIO write also needs exclusive IOBLOCK. This serves as a barrier and prevent any potential starvation. SGI-PV: 947420 SGI-Modid: xfs-linux-melb:xfs-kern:208088a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit f1fdc848aab7fb95b32e058b7f06cc07912b3734 tree 65cdb6b329230324d87ac62f0d6d7a71a7bbba97 parent 6cc8fef4cbeb0b65d225d7b599c75eb5b40a6534 author Yingping Lu Wed, 22 Mar 2006 12:44:15 +1100 committer Nathan Scott Wed, 22 Mar 2006 12:44:15 +1100 [XFS] Fixing KDB's xrwtrc command, also added the current process id into the trace. SGI-PV: 948300 SGI-Modid: xfs-linux-melb:xfs-kern:208069a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit f59b0cf8a3a39b75e580066c6a9aeabd97ec2743 tree 785118d3a81dbeea6308d6282eb32ae514089485 parent 41ade50c4eff9477e6aef6b15e84673c6758ec0d author Albert Lee Thu, 16 Mar 2006 17:59:22 +0800 committer Jeff Garzik Tue, 21 Mar 2006 20:39:46 -0500 [PATCH] libata-dev: Remove ATA_PROT_PIO_MULT Remove the ATA_PROT_PIO_MULT protocol. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 41ade50c4eff9477e6aef6b15e84673c6758ec0d tree 5ebacab6c7f783d3363678a666192ee0633f0a91 parent b142eb6594003d3f82fd552a9b2ad73d774465d2 author Albert Lee Tue, 14 Mar 2006 11:19:04 +0800 committer Jeff Garzik Tue, 21 Mar 2006 20:39:46 -0500 [PATCH] libata-dev: add flush task to ata_exec_internal() Add ata_port_flush_task() to ata_exec_internal(). Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit b142eb6594003d3f82fd552a9b2ad73d774465d2 tree 895129c0dae624ea577fd4f71bc0ddec5453d6e4 parent e0f4ab8a1741193891f096aa63df9ac8672af54c author Jeff Garzik Tue, 21 Mar 2006 20:37:47 -0500 committer Jeff Garzik Tue, 21 Mar 2006 20:37:47 -0500 [libata] SCSI VPD page 0x83 fixes Original patch (and description) by Douglas Gilbert, with minor fixes and API updates from me. Changelog: - make existing libata VPD device identification page (0x83) supply the ATA serial number in the libata "vendor specific" designator (from Chris Paulson-Ellis) - add a "t10 vendor id based" designator as defined in SAT rev 08 (section 10.3.4.2.3) that supplies ATA model and serial numbers - make the libata VPD page 0x83 more extensible (for adding more designators in the future). - rename EVPD to VPD in various places. Enable Vital Product Data (EVPD) is a bit in the INQUIRY cdb. Signed-off-by: Jeff Garzik commit 116f232b3794a8b6ebde21aef5004b18cc1cfa86 tree 8d9d46605b1109cfbfd1c147dd8afce61a4c2fe7 parent 9e6b48732d53bd986178bca3bce18d2329e4b0ca author Rytchkov Alexey Wed, 22 Mar 2006 00:58:53 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:58:53 +0100 fixed path to moved file in include/linux/device.h Signed-off-by: Adrian Bunk commit e952f31bce6e9f64db01f607abc46529ba57ac9e tree b746bcd315d4f86c9ed7617939f29339fc692852 parent e0f4ab8a1741193891f096aa63df9ac8672af54c parent 133a58c1fd97022690d53dd58df56579193cbc1d author Linus Torvalds Tue, 21 Mar 2006 15:58:17 -0800 committer Linus Torvalds Tue, 21 Mar 2006 15:58:17 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6: [IA64-SGI] SN2-XP reduce kmalloc wrapper inlining [IA64] MCA: remove obsolete ifdef [IA64] MCA: update MCA comm field for user space tasks [IA64] MCA: print messages in MCA handler [IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly [IA64] use icc defined constant [IA64] add __builtin_trap definition for icc build [IA64] clean up asm/intel_intrin.h [IA64] map ia64_hint definition to intel compiler intrinsic [IA64] hooks to wait for mmio writes to drain when migrating processes [IA64-SGI] driver bugfixes and hardware workarounds for CE1.0 asic [IA64-SGI] Handle SC env. powerdown events [IA64] Delete MCA/INIT sigdelayed code [IA64-SGI] sem2mutex ioc4.c [IA64] implement ia64 specific mutex primitives [IA64] Fix UP build with BSP removal support. [IA64] support for cpu0 removal commit 9e6b48732d53bd986178bca3bce18d2329e4b0ca tree ee2d56e04b57fd91ad5dfc80cade48bfa6990041 parent d7f2baaadc0e2da3b4dff76494f9cf46d48ad301 author James Ring Wed, 22 Mar 2006 00:51:11 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:51:11 +0100 Fix spelling in E1000_DISABLE_PACKET_SPLIT Kconfig description Signed-off-by: Adrian Bunk commit d7f2baaadc0e2da3b4dff76494f9cf46d48ad301 tree 6e579b0e401aa66b4a428405b635227e7dd5de72 parent 43019a56aa99dbf67f32fb7bd04851b1ba63fa58 author Adrian Bunk Wed, 22 Mar 2006 00:43:59 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:43:59 +0100 Documentation/dvb/get_dvb_firmware: fix firmware URL This patch fixes a wrong URL in Documentation/dvb/get_dvb_firmware. This patch fixes kernel Bugzilla #4301. Signed-off-by: Adrian Bunk commit 43019a56aa99dbf67f32fb7bd04851b1ba63fa58 tree dc905480f8989dce0d4b0ed675143984c16b8914 parent a609164f7c4eb82b97444871cb47f2f261696dd9 author Ian McDonald Wed, 22 Mar 2006 00:37:42 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:37:42 +0100 Documentation: Update to BUG-HUNTING Signed-off-by: Ian McDonald Signed-off-by: Adrian Bunk commit a609164f7c4eb82b97444871cb47f2f261696dd9 tree 7071898aab6e72d30ecea33653af20d4d03e2597 parent d92bf25fb088b1f12ad7fb3f9a4f9a3e1bf28959 author Michal Wronski Wed, 22 Mar 2006 00:34:37 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:34:37 +0100 Remove superfluous NOTIFY_COOKIE_LEN define NOTIFY_COOKIE_LEN is defined in mqueue.h as well as mqueue.c This patch removes redundant definition from mqueue.c Signed-off-by: Michal Wronski Signed-Off-By: Manfred Spraul Signed-off-by: Adrian Bunk commit 58e9ff56382bdce340d50b6ff22c422dc617106c tree 5cbe14561fe6be5d5a867ef860daf36f938dbdc0 parent ae92dc9f7bc9018f1d043f102747a1f1e4dd96fb author Russell King Mon, 20 Mar 2006 16:52:32 +0000 committer Russell King Tue, 21 Mar 2006 23:30:02 +0000 [ARM] Use kcalloc to allocate counter_config array rather than kmalloc We need this to be zero initialised. Since this is an array, use kcalloc rather than kzalloc or kmalloc. Signed-off-by: Russell King commit ae92dc9f7bc9018f1d043f102747a1f1e4dd96fb tree badf1461067e30a7ee39100ca23b7ce1772773b3 parent 93ad79496c8831552d5f8ca7c182f149cc3cf19a author Russell King Thu, 16 Mar 2006 11:32:51 +0000 committer Russell King Tue, 21 Mar 2006 23:30:02 +0000 [ARM] Oprofile: dynamically allocate counter_config Signed-off-by: Russell King commit 93ad79496c8831552d5f8ca7c182f149cc3cf19a tree c8a052a2419081a7d930b1844dec0e0bd1747211 parent c3d5395fd7ac5b338c701deaaddec090d3c25af9 author Russell King Thu, 16 Mar 2006 11:38:16 +0000 committer Russell King Tue, 21 Mar 2006 23:30:00 +0000 [ARM] Oprofile: Convert semaphore to mutex op_arm_sem is being used as a mutex, so convert it to use real mutexes. Signed-off-by: Russell King commit d92bf25fb088b1f12ad7fb3f9a4f9a3e1bf28959 tree 5cb90e7d9250efd185cfc36cb14ae4f57965f4f3 parent 80682fa9f70932950c913fd10411c004c4c2e8b0 author Uwe Zeisberger Wed, 22 Mar 2006 00:25:52 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:25:52 +0100 add "tags" to .gitignore Signed-off-by: Uwe Zeisberger Signed-off-by: Adrian Bunk commit 80682fa9f70932950c913fd10411c004c4c2e8b0 tree 696d4e63124bd6b73c8ec25ee81185545f0cf828 parent 7ad4a5d56874b37ad24d89aae2f8d192ba7b1521 author Uwe Zeisberger Wed, 22 Mar 2006 00:21:33 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:21:33 +0100 Fix "frist", "fisrt", typos Signed-off-by: Uwe Zeisberger Signed-off-by: Adrian Bunk commit 7ad4a5d56874b37ad24d89aae2f8d192ba7b1521 tree 05d5a91190b22d074e28006a798e1dee1a761f22 parent 4de151d8cd2553e7e89044ab5d72fcad4eb04afb author Lucas Correia Villa Real Wed, 22 Mar 2006 00:19:39 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:19:39 +0100 fix rwlock usage example This is a trivial patch which fixes a typo on rwlock usage under Documentation/spinlocks.txt. Signed-Off-By: Lucas Correia Villa Real Signed-off-by: Adrian Bunk commit 4de151d8cd2553e7e89044ab5d72fcad4eb04afb tree 372195d30aef0b934fa1e9d5c01280f01dcbded0 parent e0f4ab8a1741193891f096aa63df9ac8672af54c author Alexey Dobriyan Wed, 22 Mar 2006 00:13:35 +0100 committer Adrian Bunk Wed, 22 Mar 2006 00:13:35 +0100 It's UTF-8 Fix some comments to "UTF-8". Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk commit e0f4ab8a1741193891f096aa63df9ac8672af54c tree 2032d7c45b36b2c4d81b437221e06d6803fffdbc parent ca94f26d2b2ee8ad76be617b35f846444fedc07b author Linus Torvalds Tue, 21 Mar 2006 14:51:37 -0800 committer Linus Torvalds Tue, 21 Mar 2006 14:51:37 -0800 Revert "V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion" This reverts commit 08f1d0b99f4e2203935d86640a7fec5c233b777c The "bt8xx/ conversion" for drivers/video/ hasn't actually percolated all the way to this tree, so the Makefile change escaped too soon. Build breakage noticed by Jeff Garzik Signed-off-by: Linus Torvalds commit c3d5395fd7ac5b338c701deaaddec090d3c25af9 tree f8d344cb9672a5a3c7816ea7cc6b00f2db665350 parent da956fd6b84f61bc98a18a63cdbd8190ec7b8cd0 author Ben Dooks Mon, 20 Mar 2006 21:28:04 +0000 committer Russell King Tue, 21 Mar 2006 22:06:23 +0000 [ARM] 3376/2: S3C2410 - update defconfig Patch from Ben Dooks Add Simtec Osiris to the default build, and enable the USB-OHCI section by default. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit da956fd6b84f61bc98a18a63cdbd8190ec7b8cd0 tree 9d4728d936017ad37a69aa811f1aa453ac9e7f54 parent bd20ff5793b4ece4fa3e9e0fcf8e6bbd93526215 author Ben Dooks Mon, 20 Mar 2006 21:02:39 +0000 committer Russell King Tue, 21 Mar 2006 22:06:22 +0000 [ARM] 3375/1: S3C2440 - fix osiris machine build Patch from Ben Dooks Fix the build of arch/arm/mach-s3c2410/mach-osiris.c and fix the warnings from sparse. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit bd20ff5793b4ece4fa3e9e0fcf8e6bbd93526215 tree 3241a5ab8b8ff5e00107f80417d5dc75e57e8acb parent 36c64af4e013ddf44c44298f50ff138ef1e2e7b7 author Lennert Buytenhek Mon, 20 Mar 2006 21:02:37 +0000 committer Russell King Tue, 21 Mar 2006 22:06:21 +0000 [ARM] 3374/1: ep93xx: gpio interrupt support Patch from Lennert Buytenhek Add GPIO interrupt support for the first 16 GPIO lines (port A and B.) Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 36c64af4e013ddf44c44298f50ff138ef1e2e7b7 tree 9ece82d6a2ed67fb3efa1e422435864f09c22d96 parent e44c03960f232e0f9bd2f6bcffccf83770757a8e author Ben Dooks Mon, 20 Mar 2006 21:00:48 +0000 committer Russell King Tue, 21 Mar 2006 22:06:20 +0000 [ARM] 3361/1: S3C24XX - add USB bus clock source Patch from Ben Dooks Add USB bus clock definition for 48MHz fed to OHCI and gadget cores Signed-off-by: Ben Dooks Signed-off-by: Russell King commit e44c03960f232e0f9bd2f6bcffccf83770757a8e tree f14012b8224dd45dc7f0c4c9abeea05287b6feec parent 6e8908edd5a140f4f0cc4338fa0420b0bb0f8efa author Ben Dooks Mon, 20 Mar 2006 21:00:12 +0000 committer Russell King Tue, 21 Mar 2006 22:06:19 +0000 [ARM] 3360/1: S3C2440 - add set rate methods and camera clock Patch from Ben Dooks Add set_rate methods for the extra clocks on the S3C2440 and add the camera UPLL clock source Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 6e8908edd5a140f4f0cc4338fa0420b0bb0f8efa tree f428e1725b3ee7fd295077b90d3fd491c2c61b30 parent d2a02b93cf78205dd23226efb66481569900976e author Ben Dooks Mon, 20 Mar 2006 21:00:08 +0000 committer Russell King Tue, 21 Mar 2006 22:06:18 +0000 [ARM] 3359/1: S3C24XX - add support for clk_set_rate Patch from Ben Dooks Add support for clk_set_rate and clk_round_rate to the s3c2410 clock implementation Signed-off-by: Ben Dooks Signed-off-by: Russell King commit d2a02b93cf78205dd23226efb66481569900976e tree 94760abdafe5cb72a41d3edd405a26d0c8e2e0d3 parent 18ec5c731271939acb414614e964c15c8ef52156 author Russell King Mon, 20 Mar 2006 19:46:41 +0000 committer Russell King Tue, 21 Mar 2006 22:06:17 +0000 [ARM] Convert kmalloc+memset to kzalloc Convert all uses of kmalloc followed by memset to use kzalloc instead. Signed-off-by: Russell King commit 18ec5c731271939acb414614e964c15c8ef52156 tree e00ad5d5519623aea279da11bac381dd220ce40b parent dd18c34eac6686d04aed9e51e7b98842c0cef3d5 author Lennert Buytenhek Mon, 20 Mar 2006 17:10:17 +0000 committer Russell King Tue, 21 Mar 2006 22:06:16 +0000 [ARM] 3373/1: move uengine loader to arch/arm/common Patch from Lennert Buytenhek Move the uengine loader from arch/arm/mach-ixp2000 to arch/arm/common so that ixp23xx can use it too. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit dd18c34eac6686d04aed9e51e7b98842c0cef3d5 tree c2df68f3dd17bb1a7ffee4dff86df103501687dd parent a8e19667a42d752f3eca6eaa17aa5d6f93066dfe author Lennert Buytenhek Mon, 20 Mar 2006 17:10:15 +0000 committer Russell King Tue, 21 Mar 2006 22:06:13 +0000 [ARM] 3372/1: ep93xx: add defconfig Patch from Lennert Buytenhek Add ep93xx defconfig. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit a8e19667a42d752f3eca6eaa17aa5d6f93066dfe tree 7bf3b7eb8ac3fb6c18b3a8c33a88d6d2158f45e4 parent e7736d47a11a771ba87314be563b2cb6b8d11d14 author Lennert Buytenhek Mon, 20 Mar 2006 17:10:14 +0000 committer Russell King Tue, 21 Mar 2006 22:06:12 +0000 [ARM] 3371/1: ep93xx: gpio support Patch from Lennert Buytenhek Add support for setting the direction of and getting/setting the value of the 64 GPIO lines. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit e7736d47a11a771ba87314be563b2cb6b8d11d14 tree 21f27b7311a5298b9295b1e4b229eec190bfd23c parent 73deb7dc05b4cf968e506e7b18345bc65bcbc0f3 author Lennert Buytenhek Mon, 20 Mar 2006 17:10:13 +0000 committer Russell King Tue, 21 Mar 2006 22:06:11 +0000 [ARM] 3369/1: ep93xx: add core cirrus ep93xx support Patch from Lennert Buytenhek This patch adds support for the Cirrus ep93xx series of CPUs. The ep93xx is an ARM920T based CPU with two VICs, PL010 based UARTs, IrDA, MaverickCrunch floating point coprocessor, between 24 and 64 GPIOs, ethernet, OHCI USB and, depending on the model, pcmcia, raster engine, graphics accelerator, IDE controller and a bunch of other stuff. This patch adds the core ep93xx support code, and support for the Glomation GESBC-9312-sx and the Technologic Systems TS-72xx SBCs. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 73deb7dc05b4cf968e506e7b18345bc65bcbc0f3 tree 82c657f89548aaa0d6e62e889e0dafef427fd8d8 parent 03bd14c4b7fa535c78f17751172dbe8937729f05 author Alessandro Zummo Mon, 20 Mar 2006 17:10:12 +0000 committer Russell King Tue, 21 Mar 2006 22:06:09 +0000 [ARM] 3368/1: ixp4xx: set gpio direction in ixp4xx_config_irq Patch from Alessandro Zummo ixp4xx_config_irq did not configure the gpio line as an input. As an added bonus, the irq2gpio array has been converted from int to char. Signed-off-by: Alessandro Zummo Signed-off-by: Russell King commit 03bd14c4b7fa535c78f17751172dbe8937729f05 tree 158821512b54134a0f3a4927142858e1e424a88f parent 6d4518d76f9612d580f9423cc0c3364a06b69588 author Alessandro Zummo Mon, 20 Mar 2006 17:10:10 +0000 committer Russell King Tue, 21 Mar 2006 22:06:08 +0000 [ARM] 3349/1: ixp4xx exp bus defines Patch from Alessandro Zummo This patch adds a few defines that are useful to configure the CS regions on ixp4xx. Signed-off-by: Alessandro Zummo Signed-off-by: OEyvind Repvik Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6d4518d76f9612d580f9423cc0c3364a06b69588 tree 27e2287ecc9b858089a667def26b7d9555212337 parent 0328ad23cfd8a0501f44a1b83e49d5b0e47e2b3c author Peter Teichmann Mon, 20 Mar 2006 17:10:09 +0000 committer Russell King Tue, 21 Mar 2006 22:06:07 +0000 [ARM] 3346/1: Fix udelay() for HZ values different from 100 Patch from Peter Teichmann Currently, if the kernels HZ value is greater than 100, delays with the udelay function are too short. This can cause trouble for instance with the zd1201 usb wlan driver. This patch suggests a solution that keeps the overhead small and maintains (hopefully) sufficient resolution. Signed-off-by: Peter Teichmann Signed-off-by: Russell King commit 0328ad23cfd8a0501f44a1b83e49d5b0e47e2b3c tree 6cf4b72c6a243a1848c26bd548370ed794bfe065 parent 3fc3e1c0640887f883c28330e9d35145d23b2696 author Deepak Saxena Mon, 20 Mar 2006 17:10:08 +0000 committer Russell King Tue, 21 Mar 2006 22:06:06 +0000 [ARM] 3334/1: Add support for IXDP28x5 platforms Patch from Deepak Saxena This patch adds support for Intel's IXDP28x5 platform. This is just and IXDP2801 with a new CPU rev but the bootloader has been updated to reflect a new machine ID so we just build support for it by default when we build IXDP2801. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 3fc3e1c0640887f883c28330e9d35145d23b2696 tree 94a98fb93f5f742d0d984a84934bf9cb90315119 parent a08ceff2a98e09cb14afefdd9276714b85c945f7 author Ben Dooks Mon, 20 Mar 2006 17:10:07 +0000 committer Russell King Tue, 21 Mar 2006 22:06:05 +0000 [ARM] 3333/1: S3C2XX - add dclk and clkout clock support Patch from Ben Dooks Add enable and set_parent calls for the dclk and clkout clocks. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit a08ceff2a98e09cb14afefdd9276714b85c945f7 tree 7c4fb57c60e9e94d7581774d3a8f2935cc170b12 parent d3468daab82d5195fe85322235896797d5581720 author Ben Dooks Mon, 20 Mar 2006 17:10:07 +0000 committer Russell King Tue, 21 Mar 2006 22:06:03 +0000 [ARM] 3332/1: S3C24XX - documentation update Patch from Ben Dooks Add devices that we have drivers for, and update list of machines that are supported Signed-off-by: Ben Dooks Signed-off-by: Russell King commit d3468daab82d5195fe85322235896797d5581720 tree f4980daea0e4654a3e72cbfa61c82294036588f5 parent 8e40a2f91c6e73726a75381e4438478eb5964cb7 author Ben Dooks Mon, 20 Mar 2006 17:10:04 +0000 committer Russell King Tue, 21 Mar 2006 22:06:03 +0000 [ARM] 3331/1: S3C24XX - add clk_set_parent() to clock code Patch from Ben Dooks Add clk_set_parent() call to clock code Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 8e40a2f91c6e73726a75381e4438478eb5964cb7 tree b0b66666c84151a2c382e189e2fbcc619d1edfb0 parent 766636cc3630ae3b9827e7b4b1f566572963f1ef author Ben Dooks Mon, 20 Mar 2006 17:10:04 +0000 committer Russell King Tue, 21 Mar 2006 22:06:02 +0000 [ARM] 3330/1: S3C24XX - move UPLL to main clock Patch from Ben Dooks Move the UPLL clock registration to the central clock file, and add an enable method Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 766636cc3630ae3b9827e7b4b1f566572963f1ef tree 6405563d6daeff302e1501329a2917d83accfc36 parent 110d322b29c08d8cf1dba599fd45ad2b9752a4bb author Ben Dooks Mon, 20 Mar 2006 17:10:03 +0000 committer Russell King Tue, 21 Mar 2006 22:06:01 +0000 [ARM] 3329/1: S3C24XX - fix time for osiris machine Patch from Ben Dooks Add selection for timer code for the Simtec Osiris Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 110d322b29c08d8cf1dba599fd45ad2b9752a4bb tree 5175c4f762db0146aa2c01d3916f0f5ab113bf2c parent a61ea9326d9ba94bcdc21f36bb74aa203657c58f author Ben Dooks Mon, 20 Mar 2006 17:10:02 +0000 committer Russell King Tue, 21 Mar 2006 22:06:00 +0000 [ARM] 3327/1: S3C2410 - add osiris machine support Patch from Ben Dooks Support for Simtec IM2440D20 CPU modules (Osiris) Signed-off-by: Ben Dooks Signed-off-by: Russell King commit a61ea9326d9ba94bcdc21f36bb74aa203657c58f tree 775d8582e5a89f224059de24a0ade885530a4e06 parent 71dccd0f158a8077c92d51f213b55991b7a0e47e author Nicolas Pitre Mon, 20 Mar 2006 17:10:01 +0000 committer Russell King Tue, 21 Mar 2006 22:05:58 +0000 [ARM] 3261/2: remove phys_ram from struct machine_desc (part 3) Patch from Nicolas Pitre This field is redundent since it must be equal to PHYS_OFFSET anyway. There is no reference to it anymore so remove it at last. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 71dccd0f158a8077c92d51f213b55991b7a0e47e tree e5a3f3284db0669b63ea8ad6a263f226aca48dd1 parent 268099e3ccca5a988632ce18abd21d809d632ddc author Russell King Thu, 16 Mar 2006 20:50:34 +0000 committer Russell King Tue, 21 Mar 2006 22:05:58 +0000 [ARM] Collect Primecell PL01x-based debug implementations together Several ARM machine implementations used a PL01x primecell compatible serial port for debugging purposes, and indepdently implemented the low level debug macros every time. Provide a common implementation and convert these implementations to use this version. Signed-off-by: Russell King commit 268099e3ccca5a988632ce18abd21d809d632ddc tree eb060cc006e441742b1035d1a69e4d2d79e83e22 parent 22398f57b6372f3150f9ebb4b6d0aa4bf98c5dfb author Russell King Thu, 16 Mar 2006 20:40:25 +0000 committer Russell King Tue, 21 Mar 2006 22:05:57 +0000 [ARM] Collect 8250-based debug implementations together Several ARM machine implementations used an 8250 compatible port for debugging purposes, and indepdently implemented the low level debug macros every time. Provide a common implementation and convert these implementations to use this version. Signed-off-by: Russell King commit 22398f57b6372f3150f9ebb4b6d0aa4bf98c5dfb tree d37ec89a6e87885e2785adea6c0cc5854fa0516e parent 97d654f8eb4b8fbb6e1afef076429a4235a3a3ad author Russell King Wed, 15 Mar 2006 15:55:01 +0000 committer Russell King Tue, 21 Mar 2006 22:05:55 +0000 [ARM] Fix SA1100 debug-macros.S This needs asm/hardware.h - include it. Signed-off-by: Russell King commit 97d654f8eb4b8fbb6e1afef076429a4235a3a3ad tree 2d289d4e07f15254254a873a15ccb443acebe7d9 parent 824b5b5e59472c89bc508afa5c453547c91ed53b author Russell King Wed, 15 Mar 2006 15:54:37 +0000 committer Russell King Tue, 21 Mar 2006 22:05:53 +0000 [ARM] Convert SA1111 to use clock architecture Signed-off-by: Russell King commit 824b5b5e59472c89bc508afa5c453547c91ed53b tree a3bdb4feb4bad9ba4fea55c6801d70bfe50e3926 parent 548153663bbf33ca7c244a6bbddd82c26a17c331 author Russell King Wed, 15 Mar 2006 15:44:29 +0000 committer Russell King Tue, 21 Mar 2006 22:05:52 +0000 [ARM] Adapt vic.c to allow for multiple VICs in a system. Some SoCs have multiple VIC devices. Adapt the generic vic code to allow multiple implementations to be handled. Signed-off-by: Russell King commit 548153663bbf33ca7c244a6bbddd82c26a17c331 tree a524672721340c2c937deb7db25955230f478d96 parent 5d25ac038a317d454a4321cba955f756400835a5 author Russell King Wed, 15 Mar 2006 15:43:04 +0000 committer Russell King Tue, 21 Mar 2006 22:05:51 +0000 [ARM] Rename chipdata to 'base' and make it an iomem pointer In all current use cases, "chipdata" is used to store an iomem address. Mark it with __iomem, and rename it to 'base'. Leave the accessor macros alone. Signed-off-by: Russell King commit 5d25ac038a317d454a4321cba955f756400835a5 tree ec536b7e1aba8c0775f72e924743524e4688d5d7 parent f78f10436806660f39440a729acbaf03e3a01023 author Russell King Wed, 15 Mar 2006 12:33:43 +0000 committer Russell King Tue, 21 Mar 2006 22:05:50 +0000 [ARM] Move IRQ enable after coprocessor number decode Allow the individual coprocessor handlers to decide when to enable interrupts, rather than unconditionally enabling them. Signed-off-by: Russell King commit f78f10436806660f39440a729acbaf03e3a01023 tree 3cef9023d54d12bc029893b35945f7bec69a22d3 parent bfe65704812f82751470106ea50aeb7e7d37cc3f author Russell King Sat, 04 Mar 2006 11:04:12 +0000 committer Russell King Tue, 21 Mar 2006 22:05:50 +0000 [ARM] Remove unnecessary asm/hardware.h includes asm/hardware.h is not required for the majority of processor support files, ioremap support, mm initialisation, acorn IO support, nor the debug code (which picks up its machine specific includes via debug-macros.S) Signed-off-by: Russell King commit bfe65704812f82751470106ea50aeb7e7d37cc3f tree 7c84c0f14d5e4a1ee749a69a5e73ab7c37be8227 parent 411ef7f4cf1684ca7977c7917fd841ea091c5b26 author Russell King Sat, 04 Mar 2006 11:01:53 +0000 committer Russell King Tue, 21 Mar 2006 22:05:47 +0000 [ARM] Fix HZ definition for OMAP without 32K timer Unfortunately, OMAP platforms without the 32K timer left HZ set to an empty value. Fix this by making the dependency on OMAP_32K_TIMER rather than OMAP_32K_TIMER_HZ. Signed-off-by: Russell King commit 411ef7f4cf1684ca7977c7917fd841ea091c5b26 tree 2f8fe585de8c7e5f3e220d09a512d52711918351 parent f80658137fc8b789a71953adeca194a5a4747427 author Russell King Sat, 04 Mar 2006 10:37:07 +0000 committer Russell King Tue, 21 Mar 2006 22:05:46 +0000 [ARM] Remove asm/arch/irq.h asm/arch/irq.h used to be included from asm/irq.h, but was removed from the ARM kernel a long time ago. Consequently, the contents of asm/arch/irq.h (which mostly contain a definition for fixup_irq()) have not been used. Hence, remove asm/arch/irq.h. Some machine support files incorrectly included this file, making little or no use of the contents. Move the contents to a local include file, and remove those include statements as well. Signed-off-by: Russell King commit f80658137fc8b789a71953adeca194a5a4747427 tree 55a634d2720412f2d70546576f7bc5e035e8b1b3 parent ec1248e70edc5cf7b485efcc7b41e44e10f422e5 author Russell King Thu, 02 Mar 2006 22:41:59 +0000 committer Russell King Tue, 21 Mar 2006 22:05:45 +0000 [ARM] Move HZ definition into Kconfig Move the HZ definition into Kconfig, and set appropriate defaults for platforms. Remove mostly empty asm/arch/param.h include file. Signed-off-by: Russell King commit ca94f26d2b2ee8ad76be617b35f846444fedc07b tree e26e265fb2a551caebc1f0d7807a1239e669fe0f parent 0b5bf225c06e62eb6066fc5b7ccf4f296356c503 parent 55be062d2d6397e6f24f3b91608917e9e84206d7 author Jeff Garzik Tue, 21 Mar 2006 16:40:51 -0500 committer Jeff Garzik Tue, 21 Mar 2006 16:40:51 -0500 Merge branch 'e1000-fixes' of git://198.78.49.142/~jbrandeb/linux-2.6 commit 0b5bf225c06e62eb6066fc5b7ccf4f296356c503 tree 931d1f5033618a203d0db18cef8eae290a442e3a parent 4a5e8e296cfdeef18312c08199f25c00ec148f41 author Jeff Garzik Tue, 21 Mar 2006 16:22:47 -0500 committer Jeff Garzik Tue, 21 Mar 2006 16:22:47 -0500 [netdrvr] pcnet32: other source formatting cleanups - undo some Lindent damage by indenting member names - remove history at top of .c file, this is stored in the kernel repo changelog (in greater detail, even). commit 4a5e8e296cfdeef18312c08199f25c00ec148f41 tree 0a1fe45e304b04f0a6ea67613548117e4645995c parent 3d781a02313e9f22923ee919d99e1cf72fd1f468 author Jeff Garzik Tue, 21 Mar 2006 16:15:44 -0500 committer Jeff Garzik Tue, 21 Mar 2006 16:15:44 -0500 [netdrvr] pcnet32: Lindent commit 3d781a02313e9f22923ee919d99e1cf72fd1f468 tree fab9e90894de2fcd483603f66ca592cf1f136c4d parent 09779c6df2dbe95483269d194b327d41fe2cc57e author Andrew Morton Thu, 16 Mar 2006 23:58:44 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] skfp warning fixes drivers/net/skfp/fplustm.c: In function `enable_formac': drivers/net/skfp/fplustm.c:552: warning: large integer implicitly truncated to unsigned type drivers/net/skfp/fplustm.c:555: warning: large integer implicitly truncated to unsigned type These arguments were changed to `const', so the compiler can now see that it's doing and outw(..., 0xffffnnnn). Cast the arg to ushort. Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 09779c6df2dbe95483269d194b327d41fe2cc57e tree 9ee7873eb248481bd06f73fdda79c019292c0e26 parent ac62ef043504d5c754357325cd514553ddabb046 author Nicolas Pitre Mon, 20 Mar 2006 11:54:27 -0500 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] smc91x: allow for dynamic bus access configs All accessor's different methods are now selected with C code and unused ones statically optimized away at compile time instead of being selected with #if's and #ifdef's. This has many advantages such as allowing the compiler to validate the syntax of the whole code, making it cleaner and easier to understand, and ultimately allowing people to define configuration symbols in terms of variables if they really want to dynamically support multiple bus configurations at the same time (with the unavoidable performance cost). Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik commit ac62ef043504d5c754357325cd514553ddabb046 tree b1c45d98f238852370d09b5cc2f37625005b9442 parent 8368f31c8f51ef8ba61ce9fff7b94259777b6419 author Don Fry Mon, 20 Mar 2006 15:26:03 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] pcnet32: support boards with multiple phys Boards with multiple PHYs were not being handled properly by the pcnet32 driver. This patch by Thomas Bogendoerfer with changes by me will allow Allied Telesyn 2700FTX and 2701FTX boards to use either the copper or the fiber interfaces. It has been tested on ia32 and ppc64 hardware. Philippe Seewer also tested and improved the patch. ethtool for pcnet32 already supports multiple phys. See also bugzilla bug 4219. Please apply to 2.6.16 Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 8368f31c8f51ef8ba61ce9fff7b94259777b6419 tree b5a762e54e4895dc9b4df071d61b144ce804d62b parent d257924e85a81561a956f1791fa5a226e3a32ce1 author Stephen Hemminger Mon, 20 Mar 2006 15:48:23 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] sky2 version 1.1 Set version to 1.1 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d257924e85a81561a956f1791fa5a226e3a32ce1 tree 4632372160838e2a878f9f1edf0d34b0da06d49c parent 8f24664da64f8db094cd9d379b16fc1d8776d1df author Stephen Hemminger Mon, 20 Mar 2006 15:48:22 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:53 -0500 [PATCH] sky2: handle all error irqs The hardware has additional error trap interrupt bits. I have never seen them trigger, but if they do, it looks like this might be useful. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8f24664da64f8db094cd9d379b16fc1d8776d1df tree c954d1ac501e3f4f4c5473cdc96bf46894b129d9 parent d89e1343959200a578465d50bb36c89733cf66a7 author Stephen Hemminger Mon, 20 Mar 2006 15:48:21 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: transmit recovery This patch decodes state and revovers from any races in the transmit timeout and NAPI logic. It should never trigger, but if it does then do the right thing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d89e1343959200a578465d50bb36c89733cf66a7 tree 9e920b8be3e6ab137b0c7e295f9d62ce80c30a88 parent fb2690a9bfa330aff3de29cbdde526591ac90dce author Stephen Hemminger Mon, 20 Mar 2006 15:48:20 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: whitespace fixes Small whitespace fixes. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit fb2690a9bfa330aff3de29cbdde526591ac90dce tree e9a070be2062a0221828a29d7499d8e65ce57bba parent 77b3d6a2d56be5af87ffae5bb78a39c847d49f99 author Stephen Hemminger Mon, 20 Mar 2006 15:48:19 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: add MSI support Add MSI support to sky2 driver. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 77b3d6a2d56be5af87ffae5bb78a39c847d49f99 tree 6fb2894ed3a6a77a57ff0ace39906ef5918f0e81 parent e07b1aa8b3ebedd3c7e0e1b4b524f1b2d62707cf author Stephen Hemminger Mon, 20 Mar 2006 15:48:18 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: coalescing parameters Change default coalescing parameters slightly, and allow wider range of values. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e07b1aa8b3ebedd3c7e0e1b4b524f1b2d62707cf tree 15e96ea55b6463d2b75eb94293230d8ee6345165 parent c4b1580e8ad1aab13e0d8b97c7af3eebab8791ae author Stephen Hemminger Mon, 20 Mar 2006 15:48:17 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: rework of NAPI and IRQ management Redo the interupt handling of sky2 driver based on the IRQ mangement documentation. All interrupts are handled by the device0 NAPI poll routine. Don't need to adjust interrupt mask in IRQ context, done only when changing device under RTNL. Therefore don't need hwlock anymore. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c4b1580e8ad1aab13e0d8b97c7af3eebab8791ae tree 4e5c5043c3369f0aa4efd2de8cb598705fd1339f parent 290d4de5b71f60bb5853a7ef9f0e8c817cd26892 author Stephen Hemminger Mon, 20 Mar 2006 15:48:16 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:52 -0500 [PATCH] sky2: drop broken wake on lan support Remove wake on lan support for now. It doesn't work right, and I don't have a machine with working suspend/resume to test or fix it. It will be re-enabled later. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 290d4de5b71f60bb5853a7ef9f0e8c817cd26892 tree 257fb4590ff919886597bdc300ddd1dc8013227c parent 6f059c3e9042bc4eaa4f7a8dd651bbed9be144f2 author Stephen Hemminger Mon, 20 Mar 2006 15:48:15 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] sky2: remove support for untested Yukon EC/rev 0 The Yukon EC/rev0 (A1) chipset requires a bunch of workarounds. I copied these from sk98lin. But since they never got tested and add more cruft to the code; any attempt at using driver as is on this version will probably fail. It looks like this was a early engineering sample chip revision, if it ever shows up on a real system. Produce an error message. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6f059c3e9042bc4eaa4f7a8dd651bbed9be144f2 tree 7f7793ab7f2e793286a844525f0ab4d057347b7c parent 9362860fd1d9062ff9b3dca42aa3e1e68c2ddb67 author Dale Farnsworth Tue, 21 Mar 2006 11:44:35 -0700 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] mv643xx_eth: Cache align skb->data if CONFIG_NOT_COHERENT_CACHE When I/O is non-cache-coherent, we need to ensure that the I/O buffers we use don't share cache lines with other data. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 9362860fd1d9062ff9b3dca42aa3e1e68c2ddb67 tree 7b13ff1acb639b1acc47a22e524b4ead64629137 parent b9d64acc82c104df9e4d6b74cbb1af05a77b5d44 author Stephen Hemminger Tue, 21 Mar 2006 10:57:07 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: version 1.4 Update version number Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b9d64acc82c104df9e4d6b74cbb1af05a77b5d44 tree 796d6a43ea5f5e9c5d0ad591b9185c5bda261cf8 parent 203babb650d0c99a8be08f479d4a05d420988d89 author Stephen Hemminger Tue, 21 Mar 2006 10:57:06 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: handle pci errors better When a PCI error occurs, try and report more info. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 203babb650d0c99a8be08f479d4a05d420988d89 tree a573eab0062e1f24eef9c3b063a31a310fa6f192 parent c68ce71a340ffb5c589db5d9f9af1ce4ef81baa9 author Stephen Hemminger Tue, 21 Mar 2006 10:57:05 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: formmating and whitespace cleanup Reformat some code to make it easier to read. And whitespace fixes. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c68ce71a340ffb5c589db5d9f9af1ce4ef81baa9 tree 4fc443b263453df988de5133a9ab07561f40fbc4 parent ff7907aede7962629c2eb50e08b870316c80518f author Stephen Hemminger Tue, 21 Mar 2006 10:57:04 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: use mmiowb Add mmio barriers at the appropriate places, don't have a platform that needs them, but this is where the documentation of the patch says to add them. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ff7907aede7962629c2eb50e08b870316c80518f tree fd79519a2bb2738c0c28774a20004e257fbb2880 parent 93aea718c69d44ee492f233929686b15b5b3702d author Stephen Hemminger Tue, 21 Mar 2006 10:57:03 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:51 -0500 [PATCH] skge: use kcalloc Use kcalloc when allocating ring data structure. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 93aea718c69d44ee492f233929686b15b5b3702d tree 8ab42f448d5b8839b81470c6909b05847cf78180 parent c3da14474063e71686039d961d14785a9c2971ae author Stephen Hemminger Tue, 21 Mar 2006 10:57:02 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:50 -0500 [PATCH] skge: dma configuration cleanup Cleanup of the part of the code that sets up DMA configuration. Should cause no real change in operation, just clearer. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit c3da14474063e71686039d961d14785a9c2971ae tree e98f5e56f94abb911cc61df12e026e626c651c7c parent cfc3ed796eda2c41fb20986d831ed56c0474279d author Stephen Hemminger Tue, 21 Mar 2006 10:57:01 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:50 -0500 [PATCH] skge: check the allocation of ring buffer The SysKonnect Genesis and Yukon chip sets have restrictions on the possible control block area. The memory needs to not cross 4 Gig boundary, and it needs to be 8 byte aligned. This patch checks and fails to bring the device up if region is unacceptable. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit cfc3ed796eda2c41fb20986d831ed56c0474279d tree 5fbd513356c76c3fafa7ffda0c3dd6eda0d5b690 parent 00a6cae288138ce0444ab6f48a81da12afe557aa author Stephen Hemminger Tue, 21 Mar 2006 10:57:00 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:50 -0500 [PATCH] skge: use auto masking of irqs Improve performance of skge driver by not touching irq mask register as much. Since the interrupt source auto-masks, the driver can just leave it disabled until the end of the soft irq. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 00a6cae288138ce0444ab6f48a81da12afe557aa tree 28abdccb35a9b251a480c134e097341cdf789f52 parent ec1248e70edc5cf7b485efcc7b41e44e10f422e5 author Stephen Hemminger Tue, 21 Mar 2006 10:56:59 -0800 committer Jeff Garzik Tue, 21 Mar 2006 16:00:50 -0500 [PATCH] skge: use NAPI for tx cleanup. Cleanup transmit buffers using NAPI. This allows the transmit routine to leave interrupts enabled, and that improves performance. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 30afc84cf7325e88fb9746340eba3c161080ff49 tree 829ea31d6ab095bd7a35651cd6018205a2b21d11 parent d04cdb64212eb5ae6a98026a97dda626e40e8e9a author Tejun Heo Sat, 18 Mar 2006 18:40:14 +0900 committer James Bottomley Tue, 21 Mar 2006 13:07:05 -0600 [SCSI] libata: implement minimal transport template for ->eh_timed_out SCSI midlayer has moved hostt->eh_timed_out to transport template. As libata doesn't need full-blown transport support yet, implement minimal transport for libata. No transport class or whatsoever, just empty transport template with ->eh_timed_out hook. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit d04cdb64212eb5ae6a98026a97dda626e40e8e9a tree b6a7dbb21ccfceb915844e9a330b3d3dfcaf3c5b parent 2f8600dff2b140096a7df781884e918a16aa90e0 parent ec1248e70edc5cf7b485efcc7b41e44e10f422e5 author James Bottomley Tue, 21 Mar 2006 13:05:45 -0600 committer James Bottomley Tue, 21 Mar 2006 13:05:45 -0600 Merge ../linux-2.6 commit ec1248e70edc5cf7b485efcc7b41e44e10f422e5 tree 80ca10a1ad9dc572e131a56a93fcf0c63c14d168 parent 3d1f337b3e7378923c89f37afb573a918ef40be5 parent 55e9dce37ddf3ab358ba1d1e9eef4ee4bd8174a6 author Linus Torvalds Tue, 21 Mar 2006 09:33:19 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:33:19 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6: [CRYPTO] aes: Fixed array boundary violation [CRYPTO] tcrypt: Fix key alignment [CRYPTO] all: Add missing cra_alignmask [CRYPTO] all: Use kzalloc where possible [CRYPTO] api: Align tfm context as wide as possible [CRYPTO] twofish: Use rol32/ror32 where appropriate commit 3d1f337b3e7378923c89f37afb573a918ef40be5 tree 386798378567a10d1c7b24f599cb50f70298694c parent 2bf2154c6bb5599e3ec3f73c34861a0b12aa839e parent 5e35941d990123f155b02d5663e51a24f816b6f3 author Linus Torvalds Tue, 21 Mar 2006 09:31:48 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:31:48 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (235 commits) [NETFILTER]: Add H.323 conntrack/NAT helper [TG3]: Don't mark tg3_test_registers() as returning const. [IPV6]: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2 [IPV6]: Nearly complete kzalloc cleanup for net/ipv6 [IPV6]: Cleanup of net/ipv6/reassambly.c [BRIDGE]: Remove duplicate const from is_link_local() argument type. [DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking [TG3]: make drivers/net/tg3.c:tg3_request_irq() static [BRIDGE]: use LLC to send STP [LLC]: llc_mac_hdr_init const arguments [BRIDGE]: allow show/store of group multicast address [BRIDGE]: use llc for receiving STP packets [BRIDGE]: stp timer to jiffies cleanup [BRIDGE]: forwarding remove unneeded preempt and bh diasables [BRIDGE]: netfilter inline cleanup [BRIDGE]: netfilter VLAN macro cleanup [BRIDGE]: netfilter dont use __constant_htons [BRIDGE]: netfilter whitespace [BRIDGE]: optimize frame pass up [BRIDGE]: use kzalloc ... commit 2bf2154c6bb5599e3ec3f73c34861a0b12aa839e tree 62691bd915e2e3c2e6648306d3fb893f7a1dc57e parent 08a4ecee986dd98e86090ff5faac4782b6765aed parent 71a8924bee63d891f6256d560e32416a458440b3 author Linus Torvalds Tue, 21 Mar 2006 09:25:47 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:25:47 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (81 commits) [PATCH] USB: omninet: fix up debugging comments [PATCH] USB serial: add navman driver [PATCH] USB: Fix irda-usb use after use [PATCH] USB: rtl8150 small fix [PATCH] USB: ftdi_sio: add Icom ID1 USB product and vendor ids [PATCH] USB: cp2101: add new device IDs [PATCH] USB: fix check_ctrlrecip to allow control transfers in state ADDRESS [PATCH] USB: vicam.c: fix a NULL pointer dereference [PATCH] USB: ZC0301 driver bugfix [PATCH] USB: add support for Creativelabs Silvercrest USB keyboard [PATCH] USB: storage: new unusual_devs.h entry: Mitsumi 7in1 Card Reader [PATCH] USB: storage: unusual_devs.h entry 0420:0001 [PATCH] USB: storage: another unusual_devs.h entry [PATCH] USB: storage: sandisk unusual_devices entry [PATCH] USB: fix initdata issue in isp116x-hcd [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) [PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces [PATCH] USB: ub 03 drop stall clearing [PATCH] USB: ub 02 remove diag [PATCH] USB: ub 01 remove first_open ... commit 08a4ecee986dd98e86090ff5faac4782b6765aed tree 74df5de49f38c432a6a18303b0c6d834fd09028f parent ba93c6297b9cfad5a70b5e5ed13c9dbead6601d3 parent b3229087c5e08589cea4f5040dab56f7dc11332a author Linus Torvalds Tue, 21 Mar 2006 09:25:15 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:25:15 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (23 commits) [PATCH] sysfs: fix a kobject leak in sysfs_add_link on the error path [PATCH] sysfs: don't export dir symbols [PATCH] get_cpu_sysdev() signedness fix [PATCH] kobject_add_dir [PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data [PATCH] sysfs: fix problem with duplicate sysfs directories and files [PATCH] Kobject: kobject.h: fix a typo [PATCH] Kobject: provide better warning messages when people do stupid things [PATCH] Driver core: add macros notice(), dev_notice() [PATCH] firmware: fix BUG: in fw_realloc_buffer [PATCH] sysfs: kzalloc conversion [PATCH] fix module sysfs files reference counting [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to RCU subsystem [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() [PATCH] Clean up module.c symbol searching logic [PATCH] kobj_map semaphore to mutex conversion [PATCH] kref: avoid an atomic operation in kref_put() [PATCH] handle errors returned by platform_get_irq*() [PATCH] driver core: platform_get_irq*(): return -ENXIO on error ... commit ba93c6297b9cfad5a70b5e5ed13c9dbead6601d3 tree 3785afef7c0f7b72ec87f88fc19b88bfb48386fe parent e031d33efde817ce6b4f907f0fa1ff021301748f parent 2b422383c3d8dcd203dd9aea70155be6258dbf6c author Linus Torvalds Tue, 21 Mar 2006 09:23:46 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:23:46 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: README: bzip2 is not new Documentation/Changes: remove outdated translation references remove dead Radeon URL SCSI_AACRAID: add a help text update the i386 defconfig MAINTAINERS: remove the LANMEDIA entry Move ip2.c and ip2main.c to drivers/char/ip2/ where the other files commit e031d33efde817ce6b4f907f0fa1ff021301748f tree 2e9ba300db601f61fdc32813f55114d363d3d4e2 parent 52aef8183fbedb0232b20127b089e85e7aa095e3 parent 48e08101c0fa0e1767cdef13fdaea79cad3106a2 author Linus Torvalds Tue, 21 Mar 2006 09:22:41 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:22:41 -0800 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Update defconfigs. [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line. [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. [MIPS] TX49XX has prefetch. [MIPS] Kill tlb-andes.c. [MIPS] War on whitespace: cleanup initial spaces followed by tabs. [MIPS] Makefile crapectomy. [MIPS] Reformat __xchg(). [MIPS] Mention Broadcom part number for BigSur board [MIPS] Remove CONFIG_BUILD_ELF64. [MIPS] Further sparsification for 32-bit compat code. [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend [MIPS] Signal cleanup [MIPS] Reformat all of signal32.c with tabs instead of space for consistency [MIPS] Delete unused sys32_waitpid. [MIPS] Make I/O helpers more customizable [MIPS] Symmetric Uniprocessor support for Qemu. [MIPS] sc-rm7k.c cleanup [MIPS] MIPS64 R2 optimizations for 64-bit endianess swapping. [MIPS] Add early console for Cobalt. commit 52aef8183fbedb0232b20127b089e85e7aa095e3 tree 4c06b3351284f222a9cd825e6f1ea8543e7656c2 parent 28c006c1f09ea92d4f2585a087a188955ce3f64c parent fd02e8038eb943755e8727a0ea193c037a51714f author Linus Torvalds Tue, 21 Mar 2006 09:22:08 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:22:08 -0800 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: (47 commits) IB/mthca: Query SRQ srq_limit fixes IPoIB: Get rid of useless test of queue length IB/mthca: Correct reported SRQ size in MemFree case. IB/mad: Fix oopsable race on device removal IB/srp: Coverity fix to srp_parse_options() IB/mthca: Coverity fix to mthca_init_eq_table() IB: Coverity fixes to sysfs.c IPoIB: Move ipoib_ib_dev_flush() to ipoib workqueue IPoIB: Fix build now that neighbour destructor is in neigh_params IB/uverbs: Use correct alt_pkey_index in modify QP IB/umad: Add support for large RMPP transfers IB/srp: Add SCSI host attributes to show target port IB/cm: Check cm_id state before handling a REP IB/mthca: Update firmware versions IB/mthca: Optimize large messages on Sinai HCAs IB/uverbs: Fix query QP return of sq_sig_all IB: Fix modify QP checking of "current QP state" attribute IPoIB: Fix multicast race between canceling and completing IPoIB: Clean up if posting receives fails IB/mthca: Use an enum for HCA page size ... commit 28c006c1f09ea92d4f2585a087a188955ce3f64c tree 2615749653cd3ba4852d2f5ed22f21eec0cd5712 parent cbe037b46f564188045937e6006c5c1d6093618a parent 7abe53155b77c31028a7158883bc9aac705790da author Linus Torvalds Tue, 21 Mar 2006 09:20:47 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:20:47 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] Fix cosmetic typo in asm/irq.h [ARM] 3367/1: CLCD mode no longer supported on the RealView boards [ARM] 3366/1: Allow the 16bpp mode configuration in the CLCD control register commit cbe037b46f564188045937e6006c5c1d6093618a tree a06d32fbe5c19fbd674ab3df05476743803c9615 parent f0481730c827421cf1548bfd73c073c0f47f2907 parent cd85f6e2f58282186ad720fc18482be228f0b972 author Linus Torvalds Tue, 21 Mar 2006 09:20:12 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:20:12 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: (112 commits) [libata] sata_mv: fix irq port status usage [PATCH] libata: move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() [PATCH] libata: use local *id instead of dev->id in ata_dev_configure() [PATCH] libata: check Word 88 validity in ata_id_xfer_mask() [PATCH] libata: fix class handling in ata_bus_probe() [PATCH] ahci: enable prefetching for PACKET commands libata: turn on ATAPI by default [PATCH] sata_sil24: lengthen softreset timeout [PATCH] sata_sil24: exit early from softreset if SStatus reports no device [PATCH] libata: fix missing classes[] initialization in ata_bus_probe() [PATCH] libata: kill unused xfer_mode functions [PATCH] libata: reimplement ata_set_mode() using xfer_mask helpers [PATCH] libata: use xfer_mask helpers in ata_dev_set_mode() [PATCH] libata: use ata_id_xfermask() in ata_dev_configure() [PATCH] libata: add xfer_mask handling functions [PATCH] libata: improve xfer mask constants and update ata_mode_string() [PATCH] libata: rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK [PATCH] libata: kill unused pio_task and packet_task [PATCH] libata: convert pio_task and packet_task to port_task [PATCH] libata: implement port_task ... commit f0481730c827421cf1548bfd73c073c0f47f2907 tree 0d25ab7377afd270995f8c31d2953ffa32c8aa40 parent c4a1745aa09fc110afdefea0e5d025043e348bae parent ecb73774e5f5b5f635a70073086c3f57b4ca4ae6 author Linus Torvalds Tue, 21 Mar 2006 09:01:08 -0800 committer Linus Torvalds Tue, 21 Mar 2006 09:01:08 -0800 Merge kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git with fixups This merges the DVB tree, but fixes up the history that had gotten screwed up by a broken commit. The history is fixed up by re-doing the commit properly (taking the resolve from the final result of the original), and then cherry-picking the commits that followed the broken merge. * dvb: (190 commits) V4L/DVB (3545): Fixed no_overlay option and quirks on saa7134 driver V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion V4L/DVB (3538): Bt8xx documentation update V4L/DVB (3537a): Whitespace cleanup V4L/DVB (3533): Add WSS (wide screen signalling) module parameters V4L/DVB (3532): Moved duplicated code of ALPS BSRU6 tuner to a standalone file. V4L/DVB (3530): Kconfig: remove VIDEO_AUDIO_DECODER V4L/DVB (3529): Kconfig: add menu items for cs53l32a and wm8775 A/D converters V4L/DVB (3528): Kconfig: fix ATSC frontend menu item names by manufacturer V4L/DVB (3527): VIDEO_CPIA2 must depend on USB V4L/DVB (3525): Kconfig: remove VIDEO_DECODER V4L/DVB (3524): Kconfig: add menu items for saa7115 and saa7127 V4L/DVB (3494): Kconfig: select VIDEO_MSP3400 to build msp3400.ko V4L/DVB (3522): Fixed a trouble with other PAL standards V4L/DVB (3521): Avoid warnings at video-buf.c V4L/DVB (3514): SAA7113 doesn't have auto std chroma detection mode V4L/DVB (3513): Remove saa711x driver V4L/DVB (3509): Make a needlessly global function static. V4L/DVB (3506): Cinergy T2 dmx cleanup on disconnect V4L/DVB (3504): Medion 7134: Autodetect second bridge chip ... Signed-off-by: Linus Torvalds commit ecb73774e5f5b5f635a70073086c3f57b4ca4ae6 tree d8313c4007896c78dfe05884a7740cb048ffd62a parent 08f1d0b99f4e2203935d86640a7fec5c233b777c author Mauro Carvalho Chehab Fri, 17 Mar 2006 20:54:32 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:54:02 -0800 V4L/DVB (3545): Fixed no_overlay option and quirks on saa7134 driver Some chipsets have several problems when pci to pci transfers are activated on overlay mode. the option no_overlay allows disabling such feature of the driver, in favor of keeping the system stable. The default is to use pcipci_fail flag defined on drivers/pci/quirks.c. It also allows the user to override it by forcing disable overlay or forcing enable. Forcing enable may generate PCI transfer corruption, including disk mass corruption, so should be used with care. Added a text description to this option and make messages looks the same at both bttv and saa7134 drivers. Signed-off-by: Mauro Carvalho Chehab commit 08f1d0b99f4e2203935d86640a7fec5c233b777c tree 924b69bf3ef08d9b13582aeee50720392a135ddb parent 8abe58aee6c682b5d300ce8e792821475646d79d author Manu Abraham Fri, 17 Mar 2006 18:21:17 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:54:00 -0800 V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 8abe58aee6c682b5d300ce8e792821475646d79d tree b002b77108c8f2e1bb021f9db7ae4b40d8f50a77 parent a8733ca5141c256322ab5ea9fd3074942a209bba author Uwe Bugla Thu, 16 Mar 2006 20:37:05 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:59 -0800 V4L/DVB (3538): Bt8xx documentation update Signed-off-by: Uwe Bugla Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit a8733ca5141c256322ab5ea9fd3074942a209bba tree b1c197500cdeabe8e863d6aecb6c8e3740c25909 parent 4caba4261f2649215710ac0298bd7814080000ad author Mauro Carvalho Chehab Fri, 17 Mar 2006 10:37:02 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:57 -0800 V4L/DVB (3537a): Whitespace cleanup Signed-off-by: Mauro Carvalho Chehab commit 4caba4261f2649215710ac0298bd7814080000ad tree 13f37c47560cb8692ac0ee5f6187647f576da932 parent 265366e8fb8c31706711aea5f79d763816a968db author Oliver Endriss Fri, 17 Mar 2006 05:29:15 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:55 -0800 V4L/DVB (3533): Add WSS (wide screen signalling) module parameters Add wss_cfg_4_3 and wss_cfg_16_9 configuration options. Firmware 2623 or later required. Both parameters are bit masks: - bit 15: disable WSS - bit 14: send short WSS burst, then turn off WSS - bit 13..0: WSS bits as specified by the standard These parameters are useful if you own a broken tv set which does not handle wss correctly. Default settings: - wss_cfg_4_3: 0x4008 - wss_cfg_16_9: 0x0007 These should work with most devices. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 265366e8fb8c31706711aea5f79d763816a968db tree 13841d27e621067180884f00d4019580674c28d5 parent ad5125913be0a723a2e17824ec688d4890bf978b author Perceval Anichini Thu, 16 Mar 2006 11:22:47 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:54 -0800 V4L/DVB (3532): Moved duplicated code of ALPS BSRU6 tuner to a standalone file. Moved duplicated code of ALPS BSRU6 tuner to a standalone file. Modified av7110 and budget drivers to include the new file. Signed-off-by: Perceval Anichini Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit ad5125913be0a723a2e17824ec688d4890bf978b tree 64db03969bf5e91e3b9d1078709950b4e5f5b9aa parent e273db7a99eabb4b2ba66dbaa90a63894cb2f2e3 author Michael Krufky Thu, 16 Mar 2006 14:53:23 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:53 -0800 V4L/DVB (3530): Kconfig: remove VIDEO_AUDIO_DECODER - removed VIDEO_AUDIO_DECODER Kconfig menu item. VIDEO_MSP3400, VIDEO_CS53L32A and VIDEO_WM8775 now each have their own menu items. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e273db7a99eabb4b2ba66dbaa90a63894cb2f2e3 tree ea935a2a807a6dd8a3dd323023726e44f5b55b32 parent f5c08a2ee906381d85a6f0a3ca309fd56cf3b90f author Michael Krufky Thu, 16 Mar 2006 14:48:38 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:52 -0800 V4L/DVB (3529): Kconfig: add menu items for cs53l32a and wm8775 A/D converters - created Kconfig item, VIDEO_CS53L32A, for the cs53l32a module which supports the Cirrus Logic CS53L32A Low Voltage Stereo A/D Converter. - created Kconfig item, VIDEO_WM8775, for the wm8775 module which supports the Wolfson Microelectronics WM8775 high performance stereo A/D Converter. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f5c08a2ee906381d85a6f0a3ca309fd56cf3b90f tree 6793d765aa7f42dab52e760f4153e891386a1c8d parent e690e14c9476aa46ec49ce8e24a591f786aa4766 author Michael Krufky Thu, 16 Mar 2006 13:18:25 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:50 -0800 V4L/DVB (3528): Kconfig: fix ATSC frontend menu item names by manufacturer - Corrected typo for NxtWave NXT200X - Added "Oren" manufacturer name to menu items for OR51132 and OR51211 - Removed "(pcHDTV HDx000 card)" from Oren frontends menu item names, This isn't necessary, as these frontends are selected by the card drivers, build configuration (DVB_BT8XX and VIDEO_CX88_DVB). Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e690e14c9476aa46ec49ce8e24a591f786aa4766 tree 6da6208288a96263f7142377b0018bad842d1f09 parent baacb5bf47eb4066d5f715529d5e68b004ad574c author Adrian Bunk Thu, 16 Mar 2006 12:53:53 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:49 -0800 V4L/DVB (3527): VIDEO_CPIA2 must depend on USB CONFIG_VIDEO_CPIA2=y, CONFIG_USB=n results in the following compile <-- snip --> ... LD .tmp_vmlinux1 drivers/built-in.o: In function `set_alternate':cpia2_usb.c:(.text+0x443aa2): undefined reference to `usb_set_interface' drivers/built-in.o: In function `cpia2_usb_stream_resume': undefined reference to `usb_alloc_urb' drivers/built-in.o: In function `cpia2_usb_stream_resume': undefined reference to `usb_submit_urb' drivers/built-in.o: In function `cpia2_usb_stream_pause': undefined reference to `usb_kill_urb' drivers/built-in.o: In function `cpia2_usb_stream_pause': undefined reference to `usb_free_urb' drivers/built-in.o: In function `cpia2_usb_disconnect':cpia2_usb.c:(.text+0x443e14): undefined reference to `usb_driver_release_interface' drivers/built-in.o: In function `cpia2_usb_transfer_cmd': undefined reference to `usb_control_msg' drivers/built-in.o: In function `cpia2_usb_transfer_cmd': undefined reference to `usb_control_msg' drivers/built-in.o: In function `cpia2_usb_complete':cpia2_usb.c:(.text+0x444836): undefined reference to `usb_submit_urb' drivers/built-in.o: In function `cpia2_usb_cleanup': undefined reference to `usb_deregister' drivers/built-in.o: In function `cpia2_usb_init': undefined reference to `usb_register_driver' Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit baacb5bf47eb4066d5f715529d5e68b004ad574c tree 0a475bb857a622d97c3d9c7bbff5abf820699ff0 parent ac9ec9358e63878b105f48f5f094105dff7d9833 author Michael Krufky Thu, 16 Mar 2006 02:59:09 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:48 -0800 V4L/DVB (3525): Kconfig: remove VIDEO_DECODER - removed VIDEO_DECODER Kconfig menu item. VIDEO_CX25840, VIDEO_SAA711X and VIDEO_SAA7127 now each have their own menu items. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ac9ec9358e63878b105f48f5f094105dff7d9833 tree 72abee794d515a1ad4b4a7d511828c195d03c058 parent cfdd4ad0661e57db353ff36c2e8c57fc956cf6fb author Michael Krufky Thu, 16 Mar 2006 02:53:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:47 -0800 V4L/DVB (3524): Kconfig: add menu items for saa7115 and saa7127 - created Kconfig menu item, VIDEO_SAA711X, for the saa7115 module, which supports SAA7113, SAA7114 and SAA7115 video decoders. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit cfdd4ad0661e57db353ff36c2e8c57fc956cf6fb tree 6a81b022ac68a1949223d69be0496ae02d9154d2 parent 02c17224da6182d11cde34d57b27b93aaa7206cf author Michael Krufky Mon, 13 Mar 2006 23:44:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:45 -0800 V4L/DVB (3494): Kconfig: select VIDEO_MSP3400 to build msp3400.ko The msp3400 driver is currently only being built if the bttv driver is selected. There are new drivers that will be needing msp3400, so simply including msp3400 in the Makefile is no longer appropriate. This patch creates VIDEO_MSP3400, and alters VIDEO_BT848, VIDEO_PVRUSB2 and VIDEO_AUDIO_DECODER each to select VIDEO_MSP3400. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 02c17224da6182d11cde34d57b27b93aaa7206cf tree 37c07631c17f5c4ce2ed0dd0cb1f570e58de25cc parent 9b89f2d301db6ad1fc716b70d9e26a38c958e7a5 author Mauro Carvalho Chehab Thu, 16 Mar 2006 18:44:07 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:44 -0800 V4L/DVB (3522): Fixed a trouble with other PAL standards V4L2_STD_PAL define is not correct. It specifies only 50Hz PAL standards. This patch fixes saa7113 color config for other PAL video standards. Signed-off-by: Mauro Carvalho Chehab commit 9b89f2d301db6ad1fc716b70d9e26a38c958e7a5 tree 2dbd3ce5f7349b46974e8759895aa5827c14d04d parent f89982a978974cc2fb74f512d7ec7438e0e851ea author Mauro Carvalho Chehab Wed, 15 Mar 2006 17:52:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:43 -0800 V4L/DVB (3521): Avoid warnings at video-buf.c Signed-off-by: Mauro Carvalho Chehab commit f89982a978974cc2fb74f512d7ec7438e0e851ea tree da9f6499f89f73fd0308f6ec98839ed41d5bba20 parent f5762e441d5022ecc5b66b5fe54e41e2ac5d02be author Mauro Carvalho Chehab Tue, 14 Mar 2006 16:33:33 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:41 -0800 V4L/DVB (3514): SAA7113 doesn't have auto std chroma detection mode This patch makes chroma standard selection based at possible values, according with datasheet. Signed-off-by: Mauro Carvalho Chehab commit f5762e441d5022ecc5b66b5fe54e41e2ac5d02be tree 6afff3bc33f4d8a2dca15a681902316d230eb811 parent c04e89b1f2c624fbb1e57874062491c2b987c7e2 author Mauro Carvalho Chehab Mon, 13 Mar 2006 13:31:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:40 -0800 V4L/DVB (3513): Remove saa711x driver Now, em28xx uses saa7115 instead of saa711x. saa7115 driver is capable of handling saa 7113, 7114 and 7115. Signed-off-by: Mauro Carvalho Chehab commit c04e89b1f2c624fbb1e57874062491c2b987c7e2 tree 35851248f05529e604c0dcd90ee6458c5a08ddc6 parent 77cc5319900054662861cb147f300b1d1d22fcc5 author Adrian Bunk Wed, 15 Mar 2006 16:17:11 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:37 -0800 V4L/DVB (3509): Make a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 77cc5319900054662861cb147f300b1d1d22fcc5 tree e466424e389bc28c2f869728491fed40508e9452 parent ba3a5a81f79d16666e1b46ee9e4fe7f2bc8bd70f author Markus Rechberger Wed, 15 Mar 2006 09:31:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:34 -0800 V4L/DVB (3506): Cinergy T2 dmx cleanup on disconnect Detaching the device didn't clean up several device files in /dev/dvb, after applying that patch all dvb devices disappeared as expected. Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit ba3a5a81f79d16666e1b46ee9e4fe7f2bc8bd70f tree 71e22f12307169af9a5ad96a51766b38736f3953 parent 67ac9a40f90db57b09f7d98f72d8d0344acefbac author Michael Krufky Tue, 14 Mar 2006 19:02:12 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:33 -0800 V4L/DVB (3504): Medion 7134: Autodetect second bridge chip The device, Medion 7134, has two saa7134 chips on it, but only one of them is functional in the current saa7134 driver. This patch adds autodetection for the second, unsupported saa7134 chip, as SAA7134_BOARD_MD7134_BRIDGE_2, and displays a message to the user (in dmesg) indicating that the second chip isn't yet functional. This is useful for users, since two instances of the saa7134 driver will spawn. This patch will prevent confusion by warning the user that only one of the chips on the board are functional. There are other versions of the SAA7134_BOARD_MD7134 with only a single saa7134 bridge/decoder -- those devices will not be affected by this patch. Only devices containing the second chip will display the warning. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 67ac9a40f90db57b09f7d98f72d8d0344acefbac tree 836d847d1708ec8aa2fe4e3a01e315203210a840 parent 12a219da0a74d1d797475addbccaedf2343be571 author Michael Krufky Tue, 14 Mar 2006 16:18:49 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:32 -0800 V4L/DVB (3503): Whitespace: fix incorrect indentation of curly bracket Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 12a219da0a74d1d797475addbccaedf2343be571 tree c6610dd1976b8d36b94e8b2e70a4c1dfe73a3577 parent 34731df288a5ffe4b0c396caf8cd24c6a710a222 author Michael Krufky Tue, 14 Mar 2006 16:07:42 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:30 -0800 V4L/DVB (3502): Saa7134: make unsupported secondary decoder message generic There are already some supported devices that contain two saa713x chips on-board, where only one of these chips is currently functional in the driver. We are already printing a warning message for the second saa7134 decoder in SAA7134_BOARD_AVERMEDIA_A169_B. This patch alters that case to make it generic, so that other cards in the same situation can use it. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 34731df288a5ffe4b0c396caf8cd24c6a710a222 tree 06738b1c00d2bee0df3b42d125b2ca4e03fc18b0 parent 4304954eb668ce66fc58f1cab9abb9a9e2584549 author Andreas Oberritter Tue, 14 Mar 2006 17:31:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:29 -0800 V4L/DVB (3501): Dmxdev: use dvb_ringbuffer Use dvb_ringbuffer instead of an own buffer implementation in dmxdev.[ch]. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 4304954eb668ce66fc58f1cab9abb9a9e2584549 tree d0cfb5b30f033ce3736c1977d71d984d7074cbf3 parent 19478843e4f8af7de9b297876519ee8b98c2f5ad author Andreas Oberritter Tue, 14 Mar 2006 17:30:09 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:27 -0800 V4L/DVB (3500): Ringbuffer: don't reset pointers to zero Oliver Endriss spotted, that resetting read and write pointers on flush() requires additional locking and breaks the av7110 driver. Therefore this patch partially reverts the previous patch titled "make dvb_ringbuffer compatible to dmxdev_buffer". Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 19478843e4f8af7de9b297876519ee8b98c2f5ad tree 3ba0739399f7acbdc5a96d46bff9f6b17c1c520c parent 5e5890e16ea917ad489a7778f51631bdb14523a2 author Mauro Carvalho Chehab Tue, 14 Mar 2006 17:24:57 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:26 -0800 V4L/DVB (3499): Fix a bug when more than MAXBOARDS were plugged on em28xx Coverity reported a bug at checking max number of supported boards by em28xx init code. Signed-off-by: Mauro Carvalho Chehab commit 5e5890e16ea917ad489a7778f51631bdb14523a2 tree 42501c5da6b45b6357201c8fa8c6b6d0c0d9163e parent 49444fe1239cc26882d1b1fdcc658b3bdf8df942 author Michael Krufky Tue, 14 Mar 2006 01:25:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:25 -0800 V4L/DVB (3497): Remove redundant makefile inclusion of tuner.o VIDEO_MXB selects VIDEO_TUNER, so we don't have to include tuner.o in the Makefile. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 49444fe1239cc26882d1b1fdcc658b3bdf8df942 tree f1e567475419a2f4a6cc17cbd8a721f8eb312ddc parent f6fe8c6a429bb44d95091e67f8e39662cd4e6fc3 author Michael Krufky Tue, 14 Mar 2006 00:52:20 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:24 -0800 V4L/DVB (3496): Cpia2: move Kconfig build logic into cpia2/Kconfig Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f6fe8c6a429bb44d95091e67f8e39662cd4e6fc3 tree c76a52168fde687ced2a2224c9beca5eb274616c parent 31dcbf994b9eda784c620c8caa3a9dc67a9d0045 author Michael Krufky Tue, 14 Mar 2006 00:35:07 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:22 -0800 V4L/DVB (3495): Kconfig: select VIDEO_CX25840 to build cx25840 a/v decoder module The cx25840 module requires external firmware in order to function, so it must select FW_LOADER, but saa7115 and saa7129 do not require it. This patch creates VIDEO_CX25840, and alters VIDEO_DECODER to select it. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 31dcbf994b9eda784c620c8caa3a9dc67a9d0045 tree 889d77d98d5584c7f90293344e56da62fd77a891 parent ae24601b47c3f4a56545ef4cd4e7c821ac1db598 author Duncan Sands Tue, 14 Mar 2006 12:12:39 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:21 -0800 V4L/DVB (3488): Snd_cx88_create: don't dereference NULL core If the call to cx88_core_get returns a NULL value, it is dereferenced by cx88_reset, and perhaps by cx88_core_put. Spotted by the Coverity checker. Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit ae24601b47c3f4a56545ef4cd4e7c821ac1db598 tree 562258e9fdec32a9b7410a8467dc5315bdbfe8c3 parent 9d9d6baeca6f9174b8e7fd219a62a8fa09d61cc7 author Eric Sesterhenn Mon, 13 Mar 2006 13:17:11 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:19 -0800 V4L/DVB (3485): BUG_ON() Conversion in drivers/video/media Signed-off-by: Eric Sesterhenn Signed-off-by: Mauro Carvalho Chehab commit 9d9d6baeca6f9174b8e7fd219a62a8fa09d61cc7 tree d98ceaf625ca9b16536b641476c9fc93177bd79b parent fc34f165317403444d254a27bc356dc5de0bbc3d author Andreas Oberritter Mon, 13 Mar 2006 13:14:34 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:17 -0800 V4L/DVB (3484): Make dvb_ringbuffer compatible to dmxdev_buffer Added variable 'error' to struct dvb_ringbuffer, which is set to zero on init() and flush(). Also reset read an write pointers to zero on flush() to get less fragmented data. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit fc34f165317403444d254a27bc356dc5de0bbc3d tree 1bfd73382f95e229100ab9824acc425fe376bf10 parent 9f9c907fdc331fc6062d758f46f65cb0d2dd11be author Michael Krufky Mon, 13 Mar 2006 03:41:44 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:16 -0800 V4L/DVB (3479): Cleanup mangled whitespace Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 9f9c907fdc331fc6062d758f46f65cb0d2dd11be tree 4e699fdfeb360a02fa9d1ba880d65b4a47ffe77e parent a5daecbaebda687d62c2ba1f46adaa96e4394282 author Marcin Rudowski Sun, 12 Mar 2006 00:03:47 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:15 -0800 V4L/DVB (3449): Cx88 default picture controls values This patch fixes default values for some picture controls: - brightness set to 50% by default (now is 0%) - hue set to 50% by default (now is 0%) - sets saturation to datasheet value - volume set to 0dB (now is -32dB) and some left small fixes: - twice offset adding - balance didn't follow datasheet (bits[0:5] = attenuation; bit[6] = channel to provide attenuation) Signed-off-by: Marcin Rudowski Signed-off-by: Ian Pickworth Signed-off-by: Mauro Carvalho Chehab commit a5daecbaebda687d62c2ba1f46adaa96e4394282 tree 84b8d689cc4bf12ec923e85d8c631049ada67c6d parent 49239c35f28e53f280b47efdbccfdf2cbd728993 author Matheus Izvekov Sat, 11 Mar 2006 23:54:58 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:14 -0800 V4L/DVB (3448): Cx88-input.c: add IR remote control support to CX88_BOARD_PROLINK_PLAYTVPVR This patch adds support for the IR remote control found in the card CX88_BOARD_PROLINK_PLAYTVPVR. Signed-off-by: Matheus Izvekov Signed-off-by: Mauro Carvalho Chehab commit 49239c35f28e53f280b47efdbccfdf2cbd728993 tree 5a06826c3ea236bcd9d66bf76367d863dad4f1f5 parent 68593af311aadb541b3b70acea175dea8e9cf7ca author Matheus Izvekov Sat, 11 Mar 2006 23:54:24 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:12 -0800 V4L/DVB (3447): Cx88-cards.c: fix values of gpio0 for card CX88_BOARD_PROLINK_PLAYTVPVR This patch changes the gpio0 values for the card CX88_BOARD_PROLINK_PLAYTVPVR to the ones observed using RegSpy from the dscaler project. Signed-off-by: Matheus Izvekov Signed-off-by: Mauro Carvalho Chehab commit 68593af311aadb541b3b70acea175dea8e9cf7ca tree ec38cccc0099c961e539005dc42adc28447c3231 parent f3629be8388a679590eb919919ee63e2715ec25e author Rickard Osser Sat, 11 Mar 2006 17:14:12 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:11 -0800 V4L/DVB (3446): Saa7134: add support for AVerMedia A169 Dual Analog tuner card - Added support for AVerMedia A169 Dual Analog tuner card (dual saa7134 decoders - only 1 working right now) - Added autodetection for both parts of the card. It shows up like 2 cards, B1 and B - Enabled tuner B1, SVIDEO on B1 and composite1 through SVIDEO, FIXME: B is more or less dead at this point and I suspect the FM-radio is on the B part of the board Signed-off-by: Rickard Osser Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f3629be8388a679590eb919919ee63e2715ec25e tree d97efc61c0845959da4918041fec21c88b9df76a parent fd2f26771b14a321f4003366fdf99a2484fa6b2a author Michael Krufky Sat, 11 Mar 2006 17:02:01 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:10 -0800 V4L/DVB (3445): LG TALN series: add PAL / SECAM support - added tuner_lg_taln_pal_secam_ranges - renamed tuner 66 from TUNER_LG_NTSC_TALN_MINI to TUNER_LG_TALN - updated FlyTV mini Asus Digimatrix with new tuner Thanks-to: Rickard Osser Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit fd2f26771b14a321f4003366fdf99a2484fa6b2a tree 22b566b4999bd8f37355d81378b93f668d6efbba parent b1b168e62390b720e46271937355edba0a6e30bf author Michael Krufky Sat, 11 Mar 2006 16:21:36 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:09 -0800 V4L/DVB (3444): Saa7134: small whitespace cleanup - matched indents on quotes within a printk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b1b168e62390b720e46271937355edba0a6e30bf tree 5582db482b1fc6127eb3e597ea39a9f8ee683d9e parent 9050d942b7dc55cd8e6d9b2c1ce260656021f0fb author Michael Krufky Sat, 11 Mar 2006 16:12:35 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:07 -0800 V4L/DVB (3443): Thomson FE6600: add missing "count" array element - added missing "count" element in Thomson FE6600 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 9050d942b7dc55cd8e6d9b2c1ce260656021f0fb tree 6906a570d9519b7368c626704413a317dda3c7e5 parent f705e6e4940c4e803240b77c6c63fb2d47a97b59 author Mauro Carvalho Chehab Fri, 10 Mar 2006 16:46:50 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:06 -0800 V4L/DVB (3439): Added no_overlay option and quirks to saa7134 Some chipsets have several problems when pci to pci transfers are activated on overlay mode. the option no_overlay allows disabling such feature of the driver, in favor of keeping the system stable. The default is to use pcipci_fail flag defined on drivers/pci/quirks.c. It also allows the user to override it by forcing disable overlay or forcing enable. Forcing enable may generate PCI transfer corruption, including disk mass corruption, so should be used with care. Added a text description to this option and make messages looks the same at both bttv and saa7134 drivers. Signed-off-by: Mauro Carvalho Chehab commit f705e6e4940c4e803240b77c6c63fb2d47a97b59 tree 0460c86284575f3662ea2c74bb56f713951cc043 parent bbad7dc5488a04fadebd7fa8aa051d81c2ae0080 author Andreas Oberritter Fri, 10 Mar 2006 15:22:31 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:05 -0800 V4L/DVB (3438): Optical cleanup for dmxdev.c Used Lindent, manually changed some line breaks. Removed invalid email addresses, useless casts and useless initialization of return values. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit bbad7dc5488a04fadebd7fa8aa051d81c2ae0080 tree ec1ddb9229f93e7a3b911b68d1e5aae800249ea7 parent 6abe6bff6fc62832bc8cce3886b9670ba2542601 author Andreas Oberritter Fri, 10 Mar 2006 15:21:58 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:04 -0800 V4L/DVB (3437): Fix typo in enum name and use enum in struct dmxdev_filter Rename 'enum dmxdevype' to 'enum dmxdev_type' and use this enum instead of int for the member 'type' of struct dmxdev_filter. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 6abe6bff6fc62832bc8cce3886b9670ba2542601 tree af38646bed34ff33aa6a95395a1d9a634b320542 parent 09794a6f95cf970d76e8b1c0ddd2b20a89f3dd88 author Andreas Oberritter Fri, 10 Mar 2006 15:21:43 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:02 -0800 V4L/DVB (3436): Remove 'dvbdev' from struct dmxdev_filter The member dvbdev gets initialized once but is never used after that. Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 09794a6f95cf970d76e8b1c0ddd2b20a89f3dd88 tree 01078a40df1d15b3b14c81b3f085a75b8ad64b35 parent 4aca4831aafad64a8622cd855c5f952228d75d72 author Andreas Oberritter Fri, 10 Mar 2006 15:21:28 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:01 -0800 V4L/DVB (3435): Remove 'pid' from struct dmxdev_filter The PID value is already stored in struct dmx_sct_filter_params which is a member of struct dmxdev_filter. Acked-by: Johannes Stezenbach Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 4aca4831aafad64a8622cd855c5f952228d75d72 tree 9efeaaba608910282c881abe93a9afacd205a1ea parent 7947a220e5fe1373f1830b41fb7376bef636f113 author Marcin Rudowski Thu, 09 Mar 2006 16:09:51 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:53:00 -0800 V4L/DVB (3425): Correct gpio values for Aver 303 Studio in v4l-dvb tree Old values generally works in A2 mono, but new ones allows: - detect and use Nicam stereo - mute in tv - use radio FM Signed-off-by: Marcin Rudowski Signed-off-by: Mauro Carvalho Chehab commit 7947a220e5fe1373f1830b41fb7376bef636f113 tree 86637a1019721539cef1c94050c806e50fb2e504 parent cef4e7af71ec16aba13ae291e41262a8913a56d8 author Mauro Carvalho Chehab Thu, 09 Mar 2006 16:09:20 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:58 -0800 V4L/DVB (3424): Updated CARDLIST.tuner with newer tenna string Also Removed whitespaces introduced by previous tena patch Signed-off-by: Mauro Carvalho Chehab commit cef4e7af71ec16aba13ae291e41262a8913a56d8 tree c2565606eed842f898869b2a63b258d25a241007 parent 99ca99915068806552d1f90ce50bed4c7387d65a author Ian Pickworth Thu, 09 Mar 2006 12:03:40 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:57 -0800 V4L/DVB (3423): Fix cx88 error messages on balance change There is an error in the cx88 code that causes this message in the syslog when balance is changed at full volume: Mar 4 18:35:08 ian2 kernel: cx88[0]: irq pci [0x1] vid* Mar 4 18:35:39 ian2 last message repeated 348 times Mar 4 18:36:01 ian2 last message repeated 564 times ... and so on The attached patch cures this problem. Signed-off-by: Ian Pickworth Signed-off-by: Marcin Rudowski Signed-off-by: Mauro Carvalho Chehab commit 99ca99915068806552d1f90ce50bed4c7387d65a tree 24fbe348f28d65c215f7ed9c37ff49c909d0578a parent efcf55cb5c21d7142aeb1a5a4c14e40960600bd6 author Duncan Sands Thu, 09 Mar 2006 11:20:14 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:56 -0800 V4L/DVB (3420): Nskips maybe used uninitialized in bttv_risc_overlay The Coverity checker (previously Stanford checker) noticed that the value of nskips could be read even if it was never written. Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit efcf55cb5c21d7142aeb1a5a4c14e40960600bd6 tree 0f0b87521ce22495623fad9e1534b8164e0eec57 parent b05005772f34497eb2b7415a651fe785cbe70e16 author Mauro Carvalho Chehab Thu, 09 Mar 2006 11:17:43 -0300 committer Linus Torvalds Tue, 21 Mar 2006 08:52:55 -0800 V4L/DVB (3419): This patch fixes Tuner TNF5335 family Radio now works. Tuner now supports both PAL/D and STD/MN models Signed-off-by: Mauro Carvalho Chehab commit b05005772f34497eb2b7415a651fe785cbe70e16 tree b176aeb7fa9baf69e77ddd83e844727490bfcf28 parent 044f324f6ea5d55391db62fca6a295b2651cb946 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Linus Torvalds Tue, 21 Mar 2006 08:52:18 -0800 committer Linus Torvalds Tue, 21 Mar 2006 08:52:18 -0800 Merge branch 'origin' Conflicts: Documentation/video4linux/CARDLIST.cx88 drivers/media/video/cx88/Kconfig drivers/media/video/em28xx/em28xx-video.c drivers/media/video/saa7134/saa7134-dvb.c Resolved as in the original merge by Mauro Carvalho Chehab commit 133a58c1fd97022690d53dd58df56579193cbc1d tree 34e304eaf545cd7991580a7a30609f49c919eb52 parent dc5cdd8ec146a60152f2264c8fe920ca5ecc71ea parent 7aa6ba41362a7f888ad11fdcfe51ca8d92226cd3 author Tony Luck Tue, 21 Mar 2006 08:22:56 -0800 committer Tony Luck Tue, 21 Mar 2006 08:22:56 -0800 Pull sn2-reduce-kmalloc-wrap into release branch commit dc5cdd8ec146a60152f2264c8fe920ca5ecc71ea tree 6d30bcf19d47227ecf314ab4394b2add0ec77adc parent ae02e964b669f19fb08d953032463ab7dc6f79eb parent 2730c9295a9a797a22b800d3befd6a64fdc56b02 author Tony Luck Tue, 21 Mar 2006 08:22:39 -0800 committer Tony Luck Tue, 21 Mar 2006 08:22:39 -0800 Pull mca-cleanup into release branch commit ae02e964b669f19fb08d953032463ab7dc6f79eb tree e02ff418110b06c5b7cac8302f9930573f2f35b0 parent 409761bb6a06bd61e2d8e27a1af534371d9537ed parent dcc1dd2366a7c355fd8b6543c52685b864a2044f author Tony Luck Tue, 21 Mar 2006 08:22:17 -0800 committer Tony Luck Tue, 21 Mar 2006 08:22:17 -0800 Pull icc-cleanup into release branch commit 409761bb6a06bd61e2d8e27a1af534371d9537ed tree 2c07068558092a01d70f737de9b9a34212a44d4b parent a4e817ba24d2a52f0332c2ddcdbf77ddd6a92bbe parent e08e6c521355cd33e647b2f739885bc3050eead6 author Tony Luck Tue, 21 Mar 2006 08:21:26 -0800 committer Tony Luck Tue, 21 Mar 2006 08:21:26 -0800 Pull sn2-mmio-writes into release branch Hand-fixed conflicts: include/asm-ia64/machvec_sn2.h Signed-off-by: Tony Luck commit a4e817ba24d2a52f0332c2ddcdbf77ddd6a92bbe tree f2a43b1e741c4ade35e98b1088b3f111dfbf1342 parent 1f84253e3ce75fc1b2946a544e16c5c0c13c7017 parent 13938ca7a1ad9a4788cf73309f187d99c97ddfde author Tony Luck Tue, 21 Mar 2006 08:18:26 -0800 committer Tony Luck Tue, 21 Mar 2006 08:18:26 -0800 Pull altix-ce1.0-asic into release branch commit 1f84253e3ce75fc1b2946a544e16c5c0c13c7017 tree 0e029f4cd2781ade35a603a540ee147091763694 parent 581249966ffeb0463bad1b0e087e1bb29ed53707 parent 28ff6b9b2fc01d2c2746c72ce8af1729344fae27 author Tony Luck Tue, 21 Mar 2006 08:18:04 -0800 committer Tony Luck Tue, 21 Mar 2006 08:18:04 -0800 Pull sn-handle-sc-powerdown into release branch commit 581249966ffeb0463bad1b0e087e1bb29ed53707 tree d0cc7c15ff2cd9c65799a114b0f8e2257765f1e6 parent 6a8a8e14bed179f2d415c7f4fee51233c35c10c3 parent b0a06623dc4caf6dfb6a84419507643471676d20 author Tony Luck Tue, 21 Mar 2006 08:17:38 -0800 committer Tony Luck Tue, 21 Mar 2006 08:17:38 -0800 Pull delete-sigdelayed into release branch commit 6a8a8e14bed179f2d415c7f4fee51233c35c10c3 tree 2b83cc2f044237c8b7c3e14b5a70c4905f0050a3 parent 33cbd30eaf24ea43af4fe161b6fb34a859b3f2e0 parent 6e586f32931d6c98431d54cd0430d4366195b0ba author Tony Luck Tue, 21 Mar 2006 08:17:15 -0800 committer Tony Luck Tue, 21 Mar 2006 08:17:15 -0800 Pull sem2mutex-ioc4 into release branch commit 33cbd30eaf24ea43af4fe161b6fb34a859b3f2e0 tree ca0086f9764236e06c244054f5c32d268d226ae6 parent 536ea4e4198eeaa5a73fb734ea675e621609bb7e parent a454c2f3d1fd1cab7073b53c6c14d6d4b61f4e09 author Tony Luck Tue, 21 Mar 2006 08:16:55 -0800 committer Tony Luck Tue, 21 Mar 2006 08:16:55 -0800 Pull ia64-mutex-primitives into release branch commit 536ea4e4198eeaa5a73fb734ea675e621609bb7e tree 321384a2233413d7df5f00b3356116c8b05ef08d parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 parent b88e926584bf100bc23f5e76b7b674d4257edcb0 author Tony Luck Tue, 21 Mar 2006 08:16:21 -0800 committer Tony Luck Tue, 21 Mar 2006 08:16:21 -0800 Pull bsp-removal into release branch commit 48e08101c0fa0e1767cdef13fdaea79cad3106a2 tree a73350ce66c8a03febc0a033b68a46181b7e659c parent 17256052ff8c50f2330d2f297745fdbd6f37b720 author Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] Update defconfigs. Signed-off-by: Ralf Baechle commit 17256052ff8c50f2330d2f297745fdbd6f37b720 tree 023d98b156e70f7aee35afce952ce54c217c1da6 parent 947df17cb1be4c7239280a77263c249fde1379ef author Martin Michlmayr Mon, 20 Mar 2006 02:51:20 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] Separate CPU entries in /proc/cpuinfo with a blank line. Put in a blank line between CPU entries in /proc/cpuinfo, just like most other architectures (i386, ia64, x86_64) do. Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle --- commit 947df17cb1be4c7239280a77263c249fde1379ef tree 1e32d0e81848e59a9796c3034208aa72432583d0 parent de862b488e81172d4c610945efd9f3fc7f4b84a7 author H. Peter Anvin Fri, 24 Feb 2006 21:20:29 -0800 committer Ralf Baechle Tue, 21 Mar 2006 13:27:48 +0000 [MIPS] sys_mmap2 offset argument should always be shifted 12, not PAGE_SHIFT. This patch adjusts the offset argument passed into sys_mmap2 to be always shifted 12, even when the native page size isn't 4K. This is what all existing userspace libraries expect. Signed-off-by: H. Peter Anvin Signed-off-by: Ralf Baechle --- commit de862b488e81172d4c610945efd9f3fc7f4b84a7 tree 677cde48279d65350e9dc2bb92204c2efd59b11a parent c6281edb1d5e307f056fff0e174f60fa6133adc5 author Atsushi Nemoto Fri, 17 Mar 2006 12:59:22 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] TX49XX has prefetch. The TX49XX has the prefetch instruction. It supports only Pref_Load (hint 0). Actually changes in this patch except for Kconfig are not have any effects, I added these changes to prevent misuse of unsupported hints. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit c6281edb1d5e307f056fff0e174f60fa6133adc5 tree 6cc6a0e1beb403fe60740b42137aa81e3759efc1 parent a3dddd560ee936495466d85ecc97490d171e8d31 author Thiemo Seufer Tue, 14 Mar 2006 14:35:27 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Kill tlb-andes.c. Basically identical to c-r4k.c, so maintaining one is really enough. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit a3dddd560ee936495466d85ecc97490d171e8d31 tree e9b5d778b5249ce348d2285a9b886b83c510d813 parent 59b3e8e9aac69d2d02853acac7e2affdfbabca50 author Ralf Baechle Sat, 11 Mar 2006 08:18:41 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] War on whitespace: cleanup initial spaces followed by tabs. Signed-off-by: Ralf Baechle commit 59b3e8e9aac69d2d02853acac7e2affdfbabca50 tree d66a8b17f62dfea581923bf1685477809b4d74a7 parent 0cea043b56443aef8a77539cdd79451f5d55009d author Ralf Baechle Wed, 08 Mar 2006 11:35:00 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Makefile crapectomy. Dump all the ridiculously complicated stuff that was needed support compilers older and newer than 3.0. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 0cea043b56443aef8a77539cdd79451f5d55009d tree 17368d7b32d8025471604101ea4037632c9e578b parent a206f6a7aa78cfaad1d4519e87d9a54fa2b5cfa6 author Ralf Baechle Fri, 03 Mar 2006 09:42:05 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Reformat __xchg(). Signed-off-by: Ralf Baechle commit a206f6a7aa78cfaad1d4519e87d9a54fa2b5cfa6 tree 12d180613e02ff66c34c30334135016d875402c5 parent 8145095cd8fd466980ea6401f26a52e462275222 author Martin Michlmayr Wed, 01 Mar 2006 01:55:05 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:47 +0000 [MIPS] Mention Broadcom part number for BigSur board Mention the Broadcom part number for the BigSur board (BCM91480B) in Kconfig, just like it's done for other Broadcom boards. Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle commit 8145095cd8fd466980ea6401f26a52e462275222 tree c6f8642c2137f5fb053f018185cfd15ff7a34c00 parent 219ac73a7ad17a3ae3d5c07b4fc8c280645a073a author Ralf Baechle Wed, 22 Feb 2006 23:06:55 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Remove CONFIG_BUILD_ELF64. This option is no longer usable with supported compilers. It will be replaced by usage of -msym32 in a separate patch. Signed-off-by: Ralf Baechle commit 219ac73a7ad17a3ae3d5c07b4fc8c280645a073a tree debe814488e9e36ac0870f2c97af23d229a2570e parent b1bcb362d921f5e46a3bec0c7a73c32abfe74db2 author Atsushi Nemoto Tue, 21 Feb 2006 16:05:11 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Further sparsification for 32-bit compat code. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit b1bcb362d921f5e46a3bec0c7a73c32abfe74db2 tree 29b0b689886a3cb6ece801eac5b15da08dc2f489 parent 9c6031cc93626a194a9ef32d62b078ef1b396c45 author Atsushi Nemoto Tue, 21 Feb 2006 01:27:59 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 9c6031cc93626a194a9ef32d62b078ef1b396c45 tree ccc33703eb7e47193f06cbe995754efde92e658b parent 6254944faf5ff96b8b468457e3e2b2dcacc29fb7 author Atsushi Nemoto Sun, 19 Feb 2006 23:46:44 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Signal cleanup Move function prototypes to asm/signal.h to detect trivial errors and add some __user tags to get rid of sparse warnings. Generated code should not be changed. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 6254944faf5ff96b8b468457e3e2b2dcacc29fb7 tree 5bae0042d6f83bf348c422d05fc29296a6a21b37 parent af2667f7efa64706c78b8bee1398726fc86b42ad author Martin Michlmayr Sat, 18 Feb 2006 20:06:32 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:46 +0000 [MIPS] Reformat all of signal32.c with tabs instead of space for consistency Signed-off-by: Martin Michlmayr Signed-off-by: Ralf Baechle commit af2667f7efa64706c78b8bee1398726fc86b42ad tree 126b18451aa5ded3fcaf4219c7645fd4ab726112 parent a8433137ea9143bb3a2bc18a3407b5a130fdb868 author Ralf Baechle Sun, 19 Feb 2006 03:20:07 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Delete unused sys32_waitpid. Signed-off-by: Ralf Baechle commit a8433137ea9143bb3a2bc18a3407b5a130fdb868 tree ff40223bf542173015c070a988a4f3b0554f89ea parent c1449c8fa40859eb269025a7db85b34115205f5b author Atsushi Nemoto Fri, 17 Feb 2006 01:36:24 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Make I/O helpers more customizable 1. Move ioswab*() and __mem_ioswab*() to mangle-port.h. This gets rid of CONFIG_SGI_IP22 from include/asm-mips/io.h. 2. Pass a virtual address to *ioswab*(). Then we can provide mach-specific *ioswab*() and can do every evil thing based on its argument. It could be useful on machines which have regions with different endian conversion scheme. 3. Call __swizzle_addr*() _after_ adding mips_io_port_base. This unifies the meaning of the argument of __swizzle_addr*() (always virtual address). Then mach-specific __swizzle_addr*() can do every evil thing based on the argument. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit c1449c8fa40859eb269025a7db85b34115205f5b tree f92bf4d9544aec45b978ed8e3f638018054b3a5c parent 37caa934af02bc01d0e1366a49e1c89360fa0f29 author Ralf Baechle Wed, 15 Feb 2006 15:17:19 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] Symmetric Uniprocessor support for Qemu. SMP bits needed to builds and run an SMP kernel. While only a single processor is supported ATM it's still useful for some SMP debugging using Qemu. Signed-off-by: Ralf Baechle commit 37caa934af02bc01d0e1366a49e1c89360fa0f29 tree 96f0a41a3edbd0404358a92e5af5c1739ce311ac parent bbad8123f3a40a7b262e8e52d0bc10da67d719bb author Atsushi Nemoto Wed, 15 Feb 2006 18:25:48 +0900 committer Ralf Baechle Tue, 21 Mar 2006 13:27:45 +0000 [MIPS] sc-rm7k.c cleanup Use blast_scache_range, blast_inv_scache_range for rm7k scache routine. Output code should be logically same. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit bbad8123f3a40a7b262e8e52d0bc10da67d719bb tree 5ff67d7159b91f5144efaf6dfc63bafde1150de7 parent e87dddeb92618d9dbb8b9f946a193739a4447609 author Ralf Baechle Wed, 15 Feb 2006 13:06:34 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:44 +0000 [MIPS] MIPS64 R2 optimizations for 64-bit endianess swapping. Signed-off-by: Ralf Baechle commit e87dddeb92618d9dbb8b9f946a193739a4447609 tree 4a07a4edf9c2ddb2f3f9a36118120144af476d44 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Peter Horton Sun, 12 Feb 2006 17:10:25 +0000 committer Ralf Baechle Tue, 21 Mar 2006 13:27:44 +0000 [MIPS] Add early console for Cobalt. Signed-off-by: Peter Horton Signed-off-by: Ralf Baechle commit 55e9dce37ddf3ab358ba1d1e9eef4ee4bd8174a6 tree e850e9052d4db68905cb6c444e269ed7c719301e parent 06b42aa94b65806b4f8c5fc893ef97a2f491fb32 author David McCullough Wed, 15 Mar 2006 21:08:51 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:10 +1100 [CRYPTO] aes: Fixed array boundary violation The AES setkey routine writes 64 bytes to the E_KEY area even though there are only 60 bytes there. It is in fact safe since E_KEY is immediately follwed by D_KEY which is initialised afterwards. However, doing this may trigger undefined behaviour and makes Coverity unhappy. So by combining E_KEY and D_KEY into one array we sidestep this issue altogether. This problem was reported by Adrian Bunk. Signed-off-by: Herbert Xu commit 06b42aa94b65806b4f8c5fc893ef97a2f491fb32 tree f0d97bffb17bf4539c86bfcf1a38af3a441608bb parent 20ea340489ddee7b3a438ee58f32f2608cc145de author Atsushi Nemoto Mon, 13 Mar 2006 21:39:23 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:09 +1100 [CRYPTO] tcrypt: Fix key alignment Force 32-bit alignment on keys in tcrypt test vectors. Also rearrange the structure to prevent unnecessary padding. Signed-off-by: Atsushi Nemoto Signed-off-by: Herbert Xu commit 20ea340489ddee7b3a438ee58f32f2608cc145de tree 9ecb385a31b3a742e2e2faa0a40a57aaf276736c parent bbeb563f7bb5e703e4d60c18bed81c987781343f author Atsushi Nemoto Mon, 13 Mar 2006 21:30:29 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:09 +1100 [CRYPTO] all: Add missing cra_alignmask The "des3_ede" and "serpent" lack cra_alignmask. Signed-off-by: Atsushi Nemoto Signed-off-by: Herbert Xu commit bbeb563f7bb5e703e4d60c18bed81c987781343f tree 681d7b0b923e71e7ad38c7b41a6de2b72cce3f21 parent f10b7897ee29649fa7f0ccdc8d859ccd6ce7dbfd author Eric Sesterhenn Mon, 06 Mar 2006 21:42:07 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] all: Use kzalloc where possible this patch converts crypto/ to kzalloc usage. Compile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: Herbert Xu commit f10b7897ee29649fa7f0ccdc8d859ccd6ce7dbfd tree 345a25e1e1b2bcd647074844003d61b7d27e4e39 parent a5f8c473052bc693cdbe2f9ae4b424b993886ff5 author Herbert Xu Wed, 25 Jan 2006 22:34:01 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] api: Align tfm context as wide as possible Since tfm contexts can contain arbitrary types we should provide at least natural alignment (__attribute__ ((__aligned__))) for them. In particular, this is needed on the Xscale which is a 32-bit architecture with a u64 type that requires 64-bit alignment. This problem was reported by Ronen Shitrit. The crypto_tfm structure's size was 44 bytes on 32-bit architectures and 80 bytes on 64-bit architectures. So adding this requirement only means that we have to add an extra 4 bytes on 32-bit architectures. On i386 the natural alignment is 16 bytes which also benefits the VIA Padlock as it no longer has to manually align its context structure to 128 bits. Signed-off-by: Herbert Xu commit a5f8c473052bc693cdbe2f9ae4b424b993886ff5 tree 0ec45cbad059c744a27d85902ba2db6b0e960f41 parent c4a1745aa09fc110afdefea0e5d025043e348bae author Denis Vlasenko Mon, 16 Jan 2006 17:42:28 +1100 committer Herbert Xu Tue, 21 Mar 2006 20:14:08 +1100 [CRYPTO] twofish: Use rol32/ror32 where appropriate Convert open coded rotations to rol32/ror32. Signed-off-by: Herbert Xu commit 5e35941d990123f155b02d5663e51a24f816b6f3 tree 90499f3247e64210213d7b4da936f739d7a9711c parent 30ca3e376e82cc44488b1d377adfb10b5818548e author Jing Min Zhao Mon, 20 Mar 2006 23:41:17 -0800 committer David S. Miller Mon, 20 Mar 2006 23:41:17 -0800 [NETFILTER]: Add H.323 conntrack/NAT helper Signed-off-by: Jing Min Zhao Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 30ca3e376e82cc44488b1d377adfb10b5818548e tree c1f14cf8e3514c10640ec288535d1fcd45ae48f8 parent 322f74a432f976328e834a8663f2e75eb5933ecc author David S. Miller Mon, 20 Mar 2006 23:02:36 -0800 committer David S. Miller Mon, 20 Mar 2006 23:02:36 -0800 [TG3]: Don't mark tg3_test_registers() as returning const. Signed-off-by: David S. Miller commit 322f74a432f976328e834a8663f2e75eb5933ecc tree 78c0415bc4902862eef3b33254fc516ad24b6872 parent 0c600eda4b1c9f8f6d1bd643d494db5a29842fbe author Ingo Oeser Mon, 20 Mar 2006 23:01:47 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:47 -0800 [IPV6]: Cleanups for net/ipv6/addrconf.c (kzalloc, early exit) v2 Here are some possible (and trivial) cleanups. - use kzalloc() where possible - invert allocation failure test like if (object) { /* Rest of function here */ } to if (object == NULL) return NULL; /* Rest of function here */ Signed-off-by: Ingo Oeser Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 0c600eda4b1c9f8f6d1bd643d494db5a29842fbe tree 3340fda7a4f9f481e7f91ed1f376c7b4bd5e9a6e parent 78c784c47a2be593480cb6c69829a59f0504d575 author Ingo Oeser Mon, 20 Mar 2006 23:01:32 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:32 -0800 [IPV6]: Nearly complete kzalloc cleanup for net/ipv6 Stupidly use kzalloc() instead of kmalloc()/memset() everywhere where this is possible in net/ipv6/*.c . Signed-off-by: Ingo Oeser Signed-off-by: David S. Miller commit 78c784c47a2be593480cb6c69829a59f0504d575 tree dc300e4a1b4205e770c3629d359aa83deea72929 parent b3e83d6d187664be56a1591ccfa99124b88f0582 author Ingo Oeser Mon, 20 Mar 2006 23:01:17 -0800 committer David S. Miller Mon, 20 Mar 2006 23:01:17 -0800 [IPV6]: Cleanup of net/ipv6/reassambly.c Two minor cleanups: 1. Using kzalloc() in fraq_alloc_queue() saves the memset() in ipv6_frag_create(). 2. Invert sense of if-statements to streamline code. Inverts the comment, too. Signed-off-by: Ingo Oeser Signed-off-by: David S. Miller commit b3e83d6d187664be56a1591ccfa99124b88f0582 tree 58973aa72cb93585fcd4d8eb04da27f5133e211e parent 3400112794724d9bdc3de6e1ce1475b726e6ca7d author Andrew Morton Mon, 20 Mar 2006 23:00:56 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:56 -0800 [BRIDGE]: Remove duplicate const from is_link_local() argument type. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 3400112794724d9bdc3de6e1ce1475b726e6ca7d tree dcf7dd0027f0cae9a974c250436f75c769801978 parent 81789ef5c9a435fbf94224987efe6fbb97ffab09 author Adrian Bunk Mon, 20 Mar 2006 23:00:29 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:29 -0800 [DECNET]: net/decnet/dn_route.c: fix inconsequent NULL checking The Coverity checker noted this inconsequent NULL checking in dnrt_drop(). Since all callers ensure that NULL isn't passed, we can simply remove the check. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 81789ef5c9a435fbf94224987efe6fbb97ffab09 tree bdabc8f8c5ffaa68febd0a84c48052c59723b4c5 parent 12ac84c4a9c505e3e30529563b04cc8f6d5ebbf3 author Adrian Bunk Mon, 20 Mar 2006 23:00:14 -0800 committer David S. Miller Mon, 20 Mar 2006 23:00:14 -0800 [TG3]: make drivers/net/tg3.c:tg3_request_irq() static This patch makes the needlessly global function tg3_request_irq() static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 12ac84c4a9c505e3e30529563b04cc8f6d5ebbf3 tree 101653418df0f9ec62bc6854a31c34983d034eea parent f4ad2b162d653e4a6e57d598119e3820c65fef71 author Stephen Hemminger Mon, 20 Mar 2006 22:59:49 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:49 -0800 [BRIDGE]: use LLC to send STP The bridge code can use existing LLC output code when building spanning tree protocol packets. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f4ad2b162d653e4a6e57d598119e3820c65fef71 tree 142e7160b4dda4c4080d688d82bb1462a10f7e03 parent fda93d92d7824159d8532995072dde2bee4bc4b3 author Stephen Hemminger Mon, 20 Mar 2006 22:59:36 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:36 -0800 [LLC]: llc_mac_hdr_init const arguments Cleanup of LLC. llc_mac_hdr_init can take constant arguments, and it is defined twice once in llc_output.h that is otherwise unused. Signed-off-by: Stephen Hemminger Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fda93d92d7824159d8532995072dde2bee4bc4b3 tree ba28fcd6637d848bbee4a6e22f642a69cbe1c71f parent cf0f02d04a830c8202e6a8f8bb37acc6c1629a91 author Stephen Hemminger Mon, 20 Mar 2006 22:59:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:21 -0800 [BRIDGE]: allow show/store of group multicast address Bridge's communicate with each other using Spanning Tree Protocol over a standard multicast address. There are times when testing or layering bridges over existing topologies or tunnels, when it is useful to use alternative multicast addresses for STP packets. The 802.1d standard has some unused addresses, that can be used for this. This patch is restrictive in that it only allows one of the possible addresses in the standard. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit cf0f02d04a830c8202e6a8f8bb37acc6c1629a91 tree 8f3c7af9aee5ea2e1b889c27660e8587307025df parent 18fdb2b25be37e49b1669b5c394671f8c5b6550f author Stephen Hemminger Mon, 20 Mar 2006 22:59:06 -0800 committer David S. Miller Mon, 20 Mar 2006 22:59:06 -0800 [BRIDGE]: use llc for receiving STP packets Use LLC for the receive path of Spanning Tree Protocol packets. This allows link local multicast packets to be received by other protocols (if they care), and uses the existing LLC code to get STP packets back into bridge code. The bridge multicast address is also checked, so bridges using other link local multicast addresses are ignored. This allows for use of different multicast addresses to define separate STP domains. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 18fdb2b25be37e49b1669b5c394671f8c5b6550f tree 494e70fe7215849709352b826c54ea0c8154ac20 parent f8ae737deea1be001d7d8ac11c382a7b73a1c98f author Stephen Hemminger Mon, 20 Mar 2006 22:58:49 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:49 -0800 [BRIDGE]: stp timer to jiffies cleanup Cleanup the get/set of bridge timer value in the packets. It is clearer not to bury the conversion in macro. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f8ae737deea1be001d7d8ac11c382a7b73a1c98f tree fdf933b58a17e525e38683e1f8d5a52c4708964b parent fdeabdefb227be9aa932f59a23ddb47e003e643e author Stephen Hemminger Mon, 20 Mar 2006 22:58:36 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:36 -0800 [BRIDGE]: forwarding remove unneeded preempt and bh diasables Optimize the forwarding and transmit paths. Both places are called with bottom half/no preempt so there is no need to use spin_lock_bh or rcu_read_lock. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit fdeabdefb227be9aa932f59a23ddb47e003e643e tree 79e3cddb546374bf2b0137bf1463e70746c4d436 parent 8b42ec39264a1e7a508f5d80169a5fb137bcc833 author Stephen Hemminger Mon, 20 Mar 2006 22:58:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:21 -0800 [BRIDGE]: netfilter inline cleanup Move nf_bridge_alloc from header file to the one place it is used and optimize it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8b42ec39264a1e7a508f5d80169a5fb137bcc833 tree 34962088422c343b4d2494c1dfadf657fc198b42 parent f8a26028611fb93ac935ac32a72793f7fcb56a88 author Stephen Hemminger Mon, 20 Mar 2006 22:58:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:58:05 -0800 [BRIDGE]: netfilter VLAN macro cleanup Fix the VLAN macros in bridge netfilter code. Macros should not depend on magic variables. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit f8a26028611fb93ac935ac32a72793f7fcb56a88 tree 90c7d08c6f1ef47a1eeb108e0d566315061f9ffa parent 789bc3e5b66d3664f651f6c10a188c8e3e025037 author Stephen Hemminger Mon, 20 Mar 2006 22:57:46 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:46 -0800 [BRIDGE]: netfilter dont use __constant_htons Only use__constant_htons() for initializers and switch cases. For other uses, it is just as efficient and clearer to use htons Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 789bc3e5b66d3664f651f6c10a188c8e3e025037 tree baaf4ff0ee9876323ba68d2fedf6c6dd0fc06536 parent d5513a7d32de721a9e396c2b32cf277d5cef5fb6 author Stephen Hemminger Mon, 20 Mar 2006 22:57:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:32 -0800 [BRIDGE]: netfilter whitespace Run br_netfilter through Lindent to fix whitespace. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d5513a7d32de721a9e396c2b32cf277d5cef5fb6 tree aecdea676fae6ef1390ac4f6e63a6196db2ebf79 parent cee4854122d4347b2f6f10fe7f007a48fada29a0 author Stephen Hemminger Mon, 20 Mar 2006 22:57:18 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:18 -0800 [BRIDGE]: optimize frame pass up The netfilter hook that is used to receive frames doesn't need to be a stub. It is only called in two ways, both of which ignore the return value. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit cee4854122d4347b2f6f10fe7f007a48fada29a0 tree ffff0f0438b9b4729c0fc0c9880e19a221beff28 parent 3b781fa10bcdb148924d1847f68899583e0d66ef author Stephen Hemminger Mon, 20 Mar 2006 22:57:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:57:03 -0800 [BRIDGE]: use kzalloc Use kzalloc versus kmalloc+memset. Also don't need to do memset() of bridge address since it is in netdev private data that is already zero'd in alloc_netdev. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3b781fa10bcdb148924d1847f68899583e0d66ef tree 2d2bece150642dad1484748e6da7d22582bed188 parent a95fcacdc33fa12836c306deb085ef3e68bca15a author Stephen Hemminger Mon, 20 Mar 2006 22:56:50 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:50 -0800 [BRIDGE]: use kcalloc Use kcalloc rather than kmalloc + memset. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a95fcacdc33fa12836c306deb085ef3e68bca15a tree 5fa7e0c410772d9a112062f24ded2bc72c76a895 parent e3efe08e9a2c24232711dc573bf2decd2d93e335 author Stephen Hemminger Mon, 20 Mar 2006 22:56:38 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:38 -0800 [BRIDGE]: use setup_timer Use the now standard setup_timer function. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit e3efe08e9a2c24232711dc573bf2decd2d93e335 tree 8b1171e3cca8efed1560269037ef860adb5c82ff parent 9ebddc1aa386f257125a569b41f90418b63b4d5f author Stephen Hemminger Mon, 20 Mar 2006 22:56:25 -0800 committer David S. Miller Mon, 20 Mar 2006 22:56:25 -0800 [BRIDGE]: remove unneeded bh disables The STP timers run off softirq (kernel timers), so there is no need to disable bottom half in the spin locks. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 9ebddc1aa386f257125a569b41f90418b63b4d5f tree 4f0ed919d84754e1690ef7badec50f0079677f8d parent 74ca4e5acd7d09a5133bb75043c2c474347f2c7e author Andrew Morton Mon, 20 Mar 2006 22:55:24 -0800 committer David S. Miller Mon, 20 Mar 2006 22:55:24 -0800 [BRIDGE] br_netfilter: Warning fixes. net/bridge/br_netfilter.c: In function `br_nf_pre_routing': net/bridge/br_netfilter.c:427: warning: unused variable `vhdr' net/bridge/br_netfilter.c:445: warning: unused variable `vhdr' Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 74ca4e5acd7d09a5133bb75043c2c474347f2c7e tree edbdb7d723e21a99c5a4b5b38b533bc581fa86fa parent c8b2a6c50cacc98c924233a9e474c74c0370b6b8 author Andrew Morton Mon, 20 Mar 2006 22:55:02 -0800 committer David S. Miller Mon, 20 Mar 2006 22:55:02 -0800 [BRIDGE] ebtables: Build fix. net/bridge/netfilter/ebtables.c:1481: warning: initialization makes pointer from integer without a cast Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit c8b2a6c50cacc98c924233a9e474c74c0370b6b8 tree 1fc8b3fe45ba61a68cd39c8ce64986d50067815b parent dbeff12b4d2fd5943f6f03f7ed9a3ca486577bb0 author David S. Miller Mon, 20 Mar 2006 22:53:42 -0800 committer David S. Miller Mon, 20 Mar 2006 22:53:42 -0800 [SPARC]: Fixup SO_PEERSEC value on 32-bit sparc. Sparc64 and Sparc32 have to have identical socket call numbering in order to handle compat layer stuff properly. Signed-off-by: David S. Miller commit dbeff12b4d2fd5943f6f03f7ed9a3ca486577bb0 tree bf06c5a2bb2ac353f9ff4f1959a6165bfb24e8f0 parent 8ca0d17bd716c0aa3f496714e0e304fc6b982ae3 author David S. Miller Mon, 20 Mar 2006 22:52:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:52:32 -0800 [INET]: Fix typo in Arnaldo's connection sock compat fixups. "struct inet_csk" --> "struct inet_connection_sock" :-) Signed-off-by: David S. Miller commit 8ca0d17bd716c0aa3f496714e0e304fc6b982ae3 tree a1e3881117aa4b687bacace28c794e7cc3522827 parent a4bf3902427a128455b8de299ff0918072b2e974 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:51:53 -0800 committer David S. Miller Mon, 20 Mar 2006 22:51:53 -0800 [DCCP] feat: Pass dccp_minisock ptr where only the minisock is used This is in preparation for having a dccp_minisock embedded into dccp_request_sock so that feature negotiation can be done prior to creating the full blown dccp_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a4bf3902427a128455b8de299ff0918072b2e974 tree 5269cd4d84702a0a728b390e08242be01252d20d parent e6f507196c2b50243beb09b1bfa4639f999d4d1e author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:50:58 -0800 committer David S. Miller Mon, 20 Mar 2006 22:50:58 -0800 [DCCP] minisock: Rename struct dccp_options to struct dccp_minisock This will later be included in struct dccp_request_sock so that we can have per connection feature negotiation state while in the 3way handshake, when we clone the DCCP_ROLE_LISTEN socket (in dccp_create_openreq_child) we'll just copy this state from dreq_minisock to dccps_minisock. Also the feature negotiation and option parsing code will mostly touch dccps_minisock, which will simplify some stuff. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e6f507196c2b50243beb09b1bfa4639f999d4d1e tree 216886fba2700aa01970046e4c7412dce6638fa1 parent 543d9cfeec4d58ad3fd974db5531b06b6b95deb4 author Catherine Zhang Mon, 20 Mar 2006 22:49:00 -0800 committer David S. Miller Mon, 20 Mar 2006 22:49:00 -0800 [SELINUX]: selinux_socket_getpeer_{stream,dgram} fixup Signed-off-by: Catherine Zhang Signed-off-by: Arnaldo Carvalho de Melo commit 543d9cfeec4d58ad3fd974db5531b06b6b95deb4 tree b5f79a92ec01b4a97f26d48cae11566498641822 parent f94691acf9df35d5cd828373e35391bdc4a3fde6 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:48:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:48:35 -0800 [NET]: Identation & other cleanups related to compat_[gs]etsockopt cset No code changes, just tidying up, in some cases moving EXPORT_SYMBOLs to just after the function exported, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f94691acf9df35d5cd828373e35391bdc4a3fde6 tree 12dc4af7981198751367d304e43fb4f0058a83d8 parent c841aa030437bdf1b6fb22d93eb760e35380a4ed author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:47:55 -0800 committer David S. Miller Mon, 20 Mar 2006 22:47:55 -0800 [SK_BUFF]: export skb_pull_rcsum *** Warning: "skb_pull_rcsum" [net/bridge/bridge.ko] undefined! *** Warning: "skb_pull_rcsum" [net/8021q/8021q.ko] undefined! *** Warning: "skb_pull_rcsum" [drivers/net/pppoe.ko] undefined! *** Warning: "skb_pull_rcsum" [drivers/net/ppp_generic.ko] undefined! Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c841aa030437bdf1b6fb22d93eb760e35380a4ed tree f23ec860be9deb035eacc15359549d2808a7ee15 parent e35fc385655ac584902edd98dd07ac488e986aa1 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:47:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:47:37 -0800 [SECURITY] getpeersec: Fix build breakage A recent changeset removes dummy_socket_getpeersec, replacing it with two new functions, but still references the removed function in the security_fixup_ops table, fix it by doing the replacement operation in the fixup table too. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e35fc385655ac584902edd98dd07ac488e986aa1 tree aa50ab6de762a5edc7f699bb77fdb94009995c8d parent dec73ff0293d59076d1fd8f4a264898ecfc457ec author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:46:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:46:40 -0800 [INFINIBAND] ipoib: Remove leftover use of neigh_ops->destructor Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit dec73ff0293d59076d1fd8f4a264898ecfc457ec tree 251a87b4b98d073fcd3753e01eea5ea44aaf9570 parent d1d47beef8ecaeedc368f00780d02cfa5e540005 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:46:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:46:16 -0800 [ICSK] compat: Introduce inet_csk_compat_[gs]etsockopt Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d1d47beef8ecaeedc368f00780d02cfa5e540005 tree 389d4636e2db419f3291f0cfcdfc8b25e2ef3853 parent 3fdadf7d27e3fbcf72930941884387d1f4936f04 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:45:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:45:37 -0800 [SNAP]: Remove leftover unused hdr variable Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3fdadf7d27e3fbcf72930941884387d1f4936f04 tree 167072cf1e60b6b307610563614b435ff0caa52d parent c750360938b403e6cc193d293cfbcb099dd6c60e author Dmitry Mishin Mon, 20 Mar 2006 22:45:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:45:21 -0800 [NET]: {get|set}sockopt compatibility layer This patch extends {get|set}sockopt compatibility layer in order to move protocol specific parts to their place and avoid huge universal net/compat.c file in the future. Signed-off-by: Dmitry Mishin Signed-off-by: David S. Miller commit c750360938b403e6cc193d293cfbcb099dd6c60e tree ac7b248bb0c9927dc8edd38e8dbc2f35fc12077e parent afb5bb57440f7c419b1214628d32c92293f1cfd4 author Dave Jones Mon, 20 Mar 2006 22:44:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:44:52 -0800 [IPV6]: remove useless test in ip6_append_data We've already dereferenced 'np' a dozen times at this point, so it's safe to say it's not null. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit afb5bb57440f7c419b1214628d32c92293f1cfd4 tree bd93564fc26c41ddaa07e742d46eb25107a4748b parent cbb042f9e1292434e3cacb90e67d8d381aeac5a9 author Adrian Bunk Mon, 20 Mar 2006 22:44:24 -0800 committer David S. Miller Mon, 20 Mar 2006 22:44:24 -0800 [PKT_SCHED]: Let NET_CLS_ACT no longer depend on EXPERIMENTAL This option should IMHO no longer depend on EXPERIMENTAL. Signed-off-by: Adrian Bunk ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit cbb042f9e1292434e3cacb90e67d8d381aeac5a9 tree cc42f42232e56b68111cfebdc175197d8607bdd7 parent ecba320f2e95c9a0c35011d1ecb1db4419980536 author Herbert Xu Mon, 20 Mar 2006 22:43:56 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:56 -0800 [NET]: Replace skb_pull/skb_postpull_rcsum with skb_pull_rcsum We're now starting to have quite a number of places that do skb_pull followed immediately by an skb_postpull_rcsum. We can merge these two operations into one function with skb_pull_rcsum. This makes sense since most pull operations on receive skb's need to update the checksum. I've decided to make this out-of-line since it is fairly big and the fast path where hardware checksums are enabled need to call csum_partial anyway. Since this is a brand new function we get to add an extra check on the len argument. As it is most callers of skb_pull ignore its return value which essentially means that there is no check on the len argument. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit ecba320f2e95c9a0c35011d1ecb1db4419980536 tree a994a09e48452db4f1b251d5e5b210424c7dbe92 parent c60992db464bc3c459a6e2d3694fe1ae1a5ec784 author Steven Whitehouse Mon, 20 Mar 2006 22:43:28 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:28 -0800 [DECnet]: Use RCU locking in dn_rules.c As per Robert Olsson's patch for ipv4, this is the DECnet version to keep the code "in step". It changes the list of rules to use RCU rather than an rwlock. Inspired-by: Robert Olsson Signed-off-by: Steven Whitehouse Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit c60992db464bc3c459a6e2d3694fe1ae1a5ec784 tree 126a4dcfd69ead2c0061326ba62f5cd51bcd2a18 parent c4ea94ab3710eb2434abe2eab1a479c2dc01f8ac author Patrick Caulfield Mon, 20 Mar 2006 22:43:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:43:05 -0800 [DECnet]: Patch to fix recvmsg() flag check This patch means that 64bit kernel/32bit userland platforms will now work correctly with DECnet. Signed-off-by: Patrick Caulfield Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller commit c4ea94ab3710eb2434abe2eab1a479c2dc01f8ac tree 72e07ca7d2d5fe2de31b3f5a4e64fa411efdf18d parent 2c7946a7bf45ae86736ab3b43d0085e43947945c author Steven Whitehouse Mon, 20 Mar 2006 22:42:39 -0800 committer David S. Miller Mon, 20 Mar 2006 22:42:39 -0800 [DECnet]: Endian annotation and fixes for DECnet. The typedef for dn_address has been removed in favour of using __le16 or __u16 directly as appropriate. All the DECnet header files are updated accordingly. The byte ordering of dn_eth2dn() and dn_dn2eth() are both changed since just about all their callers wanted network order rather than host order, so the conversion is now done in the functions themselves. Several missed endianess conversions have been picked up during the conversion process. The nh_gw field in struct dn_fib_info has been changed from a 32 bit field to 16 bits as it ought to be. One or two cases of using htons rather than dn_htons in the routing code have been found and fixed. There are still a few warnings to fix, but this patch deals with the important cases. Signed-off-by: Steven Whitehouse Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit 2c7946a7bf45ae86736ab3b43d0085e43947945c tree b956f301033ebaefe8d2701b257edfd947f537f3 parent be33690d8fcf40377f16193c463681170eb6b295 author Catherine Zhang Mon, 20 Mar 2006 22:41:23 -0800 committer David S. Miller Mon, 20 Mar 2006 22:41:23 -0800 [SECURITY]: TCP/UDP getpeersec This patch implements an application of the LSM-IPSec networking controls whereby an application can determine the label of the security association its TCP or UDP sockets are currently connected to via getsockopt and the auxiliary data mechanism of recvmsg. Patch purpose: This patch enables a security-aware application to retrieve the security context of an IPSec security association a particular TCP or UDP socket is using. The application can then use this security context to determine the security context for processing on behalf of the peer at the other end of this connection. In the case of UDP, the security context is for each individual packet. An example application is the inetd daemon, which could be modified to start daemons running at security contexts dependent on the remote client. Patch design approach: - Design for TCP The patch enables the SELinux LSM to set the peer security context for a socket based on the security context of the IPSec security association. The application may retrieve this context using getsockopt. When called, the kernel determines if the socket is a connected (TCP_ESTABLISHED) TCP socket and, if so, uses the dst_entry cache on the socket to retrieve the security associations. If a security association has a security context, the context string is returned, as for UNIX domain sockets. - Design for UDP Unlike TCP, UDP is connectionless. This requires a somewhat different API to retrieve the peer security context. With TCP, the peer security context stays the same throughout the connection, thus it can be retrieved at any time between when the connection is established and when it is torn down. With UDP, each read/write can have different peer and thus the security context might change every time. As a result the security context retrieval must be done TOGETHER with the packet retrieval. The solution is to build upon the existing Unix domain socket API for retrieving user credentials. Linux offers the API for obtaining user credentials via ancillary messages (i.e., out of band/control messages that are bundled together with a normal message). Patch implementation details: - Implementation for TCP The security context can be retrieved by applications using getsockopt with the existing SO_PEERSEC flag. As an example (ignoring error checking): getsockopt(sockfd, SOL_SOCKET, SO_PEERSEC, optbuf, &optlen); printf("Socket peer context is: %s\n", optbuf); The SELinux function, selinux_socket_getpeersec, is extended to check for labeled security associations for connected (TCP_ESTABLISHED == sk->sk_state) TCP sockets only. If so, the socket has a dst_cache of struct dst_entry values that may refer to security associations. If these have security associations with security contexts, the security context is returned. getsockopt returns a buffer that contains a security context string or the buffer is unmodified. - Implementation for UDP To retrieve the security context, the application first indicates to the kernel such desire by setting the IP_PASSSEC option via getsockopt. Then the application retrieves the security context using the auxiliary data mechanism. An example server application for UDP should look like this: toggle = 1; toggle_len = sizeof(toggle); setsockopt(sockfd, SOL_IP, IP_PASSSEC, &toggle, &toggle_len); recvmsg(sockfd, &msg_hdr, 0); if (msg_hdr.msg_controllen > sizeof(struct cmsghdr)) { cmsg_hdr = CMSG_FIRSTHDR(&msg_hdr); if (cmsg_hdr->cmsg_len <= CMSG_LEN(sizeof(scontext)) && cmsg_hdr->cmsg_level == SOL_IP && cmsg_hdr->cmsg_type == SCM_SECURITY) { memcpy(&scontext, CMSG_DATA(cmsg_hdr), sizeof(scontext)); } } ip_setsockopt is enhanced with a new socket option IP_PASSSEC to allow a server socket to receive security context of the peer. A new ancillary message type SCM_SECURITY. When the packet is received we get the security context from the sec_path pointer which is contained in the sk_buff, and copy it to the ancillary message space. An additional LSM hook, selinux_socket_getpeersec_udp, is defined to retrieve the security context from the SELinux space. The existing function, selinux_socket_getpeersec does not suit our purpose, because the security context is copied directly to user space, rather than to kernel space. Testing: We have tested the patch by setting up TCP and UDP connections between applications on two machines using the IPSec policies that result in labeled security associations being built. For TCP, we can then extract the peer security context using getsockopt on either end. For UDP, the receiving end can retrieve the security context using the auxiliary data mechanism of recvmsg. Signed-off-by: Catherine Zhang Acked-by: James Morris Acked-by: Herbert Xu Signed-off-by: David S. Miller commit be33690d8fcf40377f16193c463681170eb6b295 tree 08c7be2ba1d046fca40bbb1d3ddac789b393ecc9 parent 15d99e02babae8bc20b836917ace07d93e318149 author Patrick McHardy Mon, 20 Mar 2006 22:40:54 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:54 -0800 [XFRM]: Fix aevent related crash When xfrm_user isn't loaded xfrm_nl is NULL, which makes IPsec crash because xfrm_aevent_is_on passes the NULL pointer to netlink_has_listeners as socket. A second problem is that the xfrm_nl pointer is not cleared when the socket is releases at module unload time. Protect references of xfrm_nl from outside of xfrm_user by RCU, check that the socket is present in xfrm_aevent_is_on and set it to NULL when unloading xfrm_user. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 15d99e02babae8bc20b836917ace07d93e318149 tree 6a8941a3ef45f831161730aeee4a2fcc18cca78a parent c1b1bce8527c2c3cac7e2520ca54b7c04281033e author Rick Jones Mon, 20 Mar 2006 22:40:29 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:29 -0800 [TCP]: sysctl to allow TCP window > 32767 sans wscale Back in the dark ages, we had to be conservative and only allow 15-bit window fields if the window scale option was not negotiated. Some ancient stacks used a signed 16-bit quantity for the window field of the TCP header and would get confused. Those days are long gone, so we can use the full 16-bits by default now. There is a sysctl added so that we can still interact with such old stacks Signed-off-by: Rick Jones Signed-off-by: David S. Miller commit c1b1bce8527c2c3cac7e2520ca54b7c04281033e tree 0c14ac012573f7ff0032404e1b3e5e5088c390bd parent abd596a4b68b6526c2676233e10602dd9660e9d7 author Neil Horman Mon, 20 Mar 2006 22:40:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:40:03 -0800 [IPV4] ARP: Documentation for new arp_accept sysctl variable. As John pointed out, I had not added documentation to describe the arp_accpet sysctl that I posted in my last patch. This patch adds that documentation. Signed-off-by: Neil Horman Signed-off-by: David S. Miller commit abd596a4b68b6526c2676233e10602dd9660e9d7 tree 4122bd7fc36c18ffb762ea8ae6d5c794c1924222 parent 59f1741e541bf4f6139599389610a70de49c3ad2 author Neil Horman Mon, 20 Mar 2006 22:39:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:39:47 -0800 [IPV4] ARP: Alloc acceptance of unsolicited ARP via netdevice sysctl. Signed-off-by: Neil Horman Signed-off-by: David S. Miller commit 59f1741e541bf4f6139599389610a70de49c3ad2 tree 55892d15e9122a83dc0c4fa6496dfcf52bd4346d parent 87546b1c25daa2c72ba6741c777f76c1eac6e2d9 author Jeff Mahoney Mon, 20 Mar 2006 22:39:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:39:21 -0800 [TG3]: netif_carrier_off runs too early; could still be queued when init fails Move the netif_carrier_off() call from tg3_init_one()-> tg3_init_link_config() to tg3_open() as is the convention for most other network drivers. I was getting a panic after a tg3 device failed to initialize due to DMA failure. The oops pointed to the link watch queue with spinlock debugging enabled. Without spinlock debugging, the Oops didn't occur. I suspect that the link event was getting queued but not executed until after the DMA test had failed and the device was freed. The link event was then operating on freed memory, which could contain anything. With this patch applied, the Oops no longer occurs. [ Based upon feedback from Michael Chan, we move netif_carrier_off() to the end of tg3_init_one() instead of moving it to tg3_open() -DaveM ] Signed-off-by: Jeff Mahoney Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 87546b1c25daa2c72ba6741c777f76c1eac6e2d9 tree 88ee35a9bf83336b9fc5f6d8b5304016c1521ca5 parent de70c5ba43b3442b99e94dc35bba2bbced168a84 author Per Liden Mon, 20 Mar 2006 22:38:33 -0800 committer David S. Miller Mon, 20 Mar 2006 22:38:33 -0800 [TIPC]: Avoid compiler warning Signed-off-by: Per Liden Signed-off-by: David S. Miller commit de70c5ba43b3442b99e94dc35bba2bbced168a84 tree 1e059abe38fada6499e16084a2dbaaa489b2a783 parent 988f088a8e9e555dc99ced83690967fad3d905f6 author Per Liden Mon, 20 Mar 2006 22:38:14 -0800 committer David S. Miller Mon, 20 Mar 2006 22:38:14 -0800 [TIPC]: Reduce stack usage The node_map struct can be quite large (516 bytes) and allocating two of them on the stack is not a good idea since we might only have a 4K stack to start with. Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 988f088a8e9e555dc99ced83690967fad3d905f6 tree 7a5831410dd7e50a0b57e123bb2b03e8866ac601 parent 7c501a5960a1bdf3b9eaef262916dc67107ff2b5 author Adrian Bunk Mon, 20 Mar 2006 22:37:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:52 -0800 [TIPC]: Cleanups This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global functions: - name_table.c: tipc_nametbl_print() - name_table.c: tipc_nametbl_dump() - net.c: tipc_net_next_node() Signed-off-by: Adrian Bunk Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 7c501a5960a1bdf3b9eaef262916dc67107ff2b5 tree 49f78cef3b972c05ba2bbd311d89129044156b37 parent 05790c6456f144024e655710347b3df499260374 author Per Liden Mon, 20 Mar 2006 22:37:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:27 -0800 [TIPC]: Remove unused functions Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 05790c6456f144024e655710347b3df499260374 tree 389e85554c0ce7cf732998f2ac9dfeb441e85320 parent 1fc54d8f49c1270c584803437fb7c0ac543588c1 author Sam Ravnborg Mon, 20 Mar 2006 22:37:04 -0800 committer David S. Miller Mon, 20 Mar 2006 22:37:04 -0800 [TIPC]: Remove inlines from *.c With reference to latest discussions on linux-kernel with respect to inline here is a patch for tipc to remove all inlines as used in the .c files. See also chapter 14 in Documentation/CodingStyle. Before: text data bss dec hex filename 102990 5292 1752 110034 1add2 tipc.o Now: text data bss dec hex filename 101190 5292 1752 108234 1a6ca tipc.o This is a nice text size reduction which will improve icache usage. In some cases bigger (> 4 lines) functions where declared inline and used in many places, they are most probarly no longer inlined by gcc resulting in the size reduction. There are several one liners that no longer are declared inline, but gcc should inline these just fine without the inline hint. With this patch applied one warning is added about an unused static function - that was hidded by utilising inline before. The function in question were kept so this patch is solely a inline removal patch. Signed-off-by: Sam Ravnborg Signed-off-by: Per Liden Signed-off-by: David S. Miller commit 1fc54d8f49c1270c584803437fb7c0ac543588c1 tree 13bccf49154e57986a7e218e38d243912aaea6d1 parent edb2c34fb2683ff21c8a6bcc3e41c07a53601761 author Sam Ravnborg Mon, 20 Mar 2006 22:36:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:47 -0800 [TIPC]: Fix simple sparse warnings Tried to run the new tipc stack through sparse. Following patch fixes all cases where 0 was used as replacement of NULL. Use NULL to document this is a pointer and to silence sparse. This brough sparse warning count down with 127 to 24 warnings. Signed-off-by: Sam Ravnborg Signed-off-by: Per Liden Signed-off-by: David S. Miller commit edb2c34fb2683ff21c8a6bcc3e41c07a53601761 tree aae0b87f2377f4134ee38017f8c9041d1247e730 parent fb9504964d32f69e4381dc8895eeb8e81a32af72 author David S. Miller Mon, 20 Mar 2006 22:36:21 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:21 -0800 [NETFILTER]: Fix warnings in ip_nat_snmp_basic.c net/ipv4/netfilter/ip_nat_snmp_basic.c: In function 'asn1_header_decode': net/ipv4/netfilter/ip_nat_snmp_basic.c:248: warning: 'len' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c:248: warning: 'def' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c: In function 'snmp_translate': net/ipv4/netfilter/ip_nat_snmp_basic.c:672: warning: 'l' may be used uninitialized in this function net/ipv4/netfilter/ip_nat_snmp_basic.c:668: warning: 'type' may be used uninitialized in this function Signed-off-by: David S. Miller commit fb9504964d32f69e4381dc8895eeb8e81a32af72 tree 156bf7039f0502f823cf81cccd9ac8f8a1d83d95 parent 57b47a53ec4a67691ba32cff5768e8d78fa6c67f author David S. Miller Mon, 20 Mar 2006 22:36:01 -0800 committer David S. Miller Mon, 20 Mar 2006 22:36:01 -0800 [DCCP]: Fix uninitialized var warnings in dccp_parse_options(). Signed-off-by: David S. Miller commit 57b47a53ec4a67691ba32cff5768e8d78fa6c67f tree d735ae4734f7b386eefa508a0629715f45808d1d parent 6613f82dd293b23f582a649b287fadbf8d23e6cf author Ingo Molnar Mon, 20 Mar 2006 22:35:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:35:41 -0800 [NET]: sem2mutex part 2 Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 6613f82dd293b23f582a649b287fadbf8d23e6cf tree 23e90b674fc94c3f458c0f5b691b3e0ff7cebd58 parent 471a24c0589cd192dcd2c6770ab6252cd42b1cff author Alexey Dobriyan Mon, 20 Mar 2006 22:35:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:35:16 -0800 [ATM] suni: cast arg properly in SONET_SETFRAMING Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 471a24c0589cd192dcd2c6770ab6252cd42b1cff tree 20f595c10ce6b693cf0f04a8c896809665272f80 parent e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f author Sam Ravnborg Mon, 20 Mar 2006 22:34:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:52 -0800 [WAN]: fix section mismatch warning in sbni In latest -mm sbni gives following warning: WARNING: drivers/net/wan/sbni.o - Section mismatch: reference to \ .init.data: from .text between 'init_module' (at offset 0x14ef) and \ 'cleanup_module' The warning is caused by init_module() calling a function declared __init. Declare init_module() __init too to fix warning. Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit e3968fc0f3db58e4c448ec20f66ce6da49d9bc5f tree ffb5d63fffa0b235ed202fb55674b1da2e7cffa4 parent 758df69ee01f7be99c2df5562ef278bab05623dd author Ingo Molnar Mon, 20 Mar 2006 22:34:25 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:25 -0800 [SUNGEM]: sem2mutex Semaphore to mutexes conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 758df69ee01f7be99c2df5562ef278bab05623dd tree d300747abddce727de1ad1ba6c048669109de751 parent 73a6c6306876c83ed992f1b15069a0ee9b3fa73b author Ingo Molnar Mon, 20 Mar 2006 22:34:09 -0800 committer David S. Miller Mon, 20 Mar 2006 22:34:09 -0800 [CASSINI]: sem2mutex Semaphore to mutexes conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 73a6c6306876c83ed992f1b15069a0ee9b3fa73b tree bd6e3628b6a5456a11200af8708210849a6c5390 parent 4a3e2f711a00a1feb72ae12fdc749da10179d185 author Andrew Morton Mon, 20 Mar 2006 22:33:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:33:41 -0800 [IRDA]: remove MODULE_PARM() MODULE_PARM() is deprecated and is about to go away altogether. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 4a3e2f711a00a1feb72ae12fdc749da10179d185 tree 76ced9d3270dea4b864da71fa1d4415d2e3c8b11 parent d4ccd08cdfa8d34f4d25b62041343c52fc79385f author Arjan van de Ven Mon, 20 Mar 2006 22:33:17 -0800 committer David S. Miller Mon, 20 Mar 2006 22:33:17 -0800 [NET] sem2mutex: net/ Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d4ccd08cdfa8d34f4d25b62041343c52fc79385f tree aa966641f2ce74cc0206d6be654ce5680391e164 parent 153330618691694af64f39fb56c9de051862380e author Arjan van de Ven Mon, 20 Mar 2006 22:32:53 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:53 -0800 [IRDA] sem2mutex: drivers/net/irda Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 153330618691694af64f39fb56c9de051862380e tree 45ccb622bf0d13f6a0a663ba8af39f9dc2c9122e parent 2d0817d11eaec57435feb61493331a763f732a2b author Stephen Hemminger Mon, 20 Mar 2006 22:32:28 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:28 -0800 [NET]: dev_put/dev_hold cleanup Get rid of the old __dev_put macro that is just a hold over from pre 2.6 kernel. And turn dev_hold into an inline instead of a macro. Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 2d0817d11eaec57435feb61493331a763f732a2b tree 7c42229b1cc64e67efe8ed21b82cdc513e638f82 parent 110bae4efb5ed5565257a0fb9f6d26e6125a1c4b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:32:06 -0800 committer David S. Miller Mon, 20 Mar 2006 22:32:06 -0800 [DCCP] options: Make dccp_insert_options & friends yell on error And not the silly LIMIT_NETDEBUG and silently return without inserting the option requested. Also drop some old debugging messages associated to option insertion. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 110bae4efb5ed5565257a0fb9f6d26e6125a1c4b tree 99a2b24856928a9445185446f118b5d5605c216f parent c5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:46 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:46 -0800 [DCCP]: Remove leftover dccp_send_response prototype Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 tree 7fd3a91c0afe7f57be7fdb217cb070acb9bfbbcb parent 118b2c9532c853ebdf15c21128d30a343b89ea45 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:26 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:26 -0800 [DCCP]: ditch dccp_v[46]_ctl_send_ack Merging it with its only user: dccp_v[46]_reqsk_send_ack. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 118b2c9532c853ebdf15c21128d30a343b89ea45 tree 1974a1850b4bfebb08424a241228ac66076c276f parent e5a6de915ba9ba828751ade5d3e874072a89a00a author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:31:09 -0800 committer David S. Miller Mon, 20 Mar 2006 22:31:09 -0800 [DCCP]: Use sk->sk_prot->max_header consistently for non-data packets Using this also provides opportunities for introducing inet_csk_alloc_skb that would call alloc_skb, account it to the sock and skb_reserve(max_header), but I'll leave this for later, for now using sk_prot->max_header consistently is enough. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e5a6de915ba9ba828751ade5d3e874072a89a00a tree cac9cbfd549fa7736fe5af0e5c0f7b0f83854f16 parent aa837b5bbd92ca3791345e809d0027594faa738b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:30:51 -0800 committer David S. Miller Mon, 20 Mar 2006 22:30:51 -0800 [DCCP] options: Fix handling of ackvecs in DATA packets I.e. they should be just ignored, but we have to use 'break', not 'continue', as we have to possibly reset the mandatory flag. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit aa837b5bbd92ca3791345e809d0027594faa738b tree 4c0c106011e882d3e466a2c573ae8dd543b76fc8 parent e9e678006ee865b0f7e53069b0e519141a710a6e author David S. Miller Mon, 20 Mar 2006 22:30:23 -0800 committer David S. Miller Mon, 20 Mar 2006 22:30:23 -0800 [ATM]: Fix build after neigh->parms->neigh_destructor change. Signed-off-by: David S. Miller commit e9e678006ee865b0f7e53069b0e519141a710a6e tree 046576088184442a654c026a032b57df139eb9d6 parent c4e6575c78b83928c470d81b271909084a2efd37 author Michael Chan Mon, 20 Mar 2006 22:29:52 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:52 -0800 [TG3]: update version and reldate Update version to 3.52. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit c4e6575c78b83928c470d81b271909084a2efd37 tree 387a32bbd915bfb6d72d297bd86597c9e543e201 parent 1820180b0e59cc48019414018b180518059f50d3 author Michael Chan Mon, 20 Mar 2006 22:29:32 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:32 -0800 [TG3]: Add firmware version info Add fw_version information to ethtool -i. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1820180b0e59cc48019414018b180518059f50d3 tree 6f79d249a19a5094e6da5e7cc8fc7afd27e4e961 parent 79f4d13a15774c2d442b619bad95a4c612eed4f3 author Michael Chan Mon, 20 Mar 2006 22:29:15 -0800 committer David S. Miller Mon, 20 Mar 2006 22:29:15 -0800 [TG3]: nvram cleanup Some nvram related cleanup: 1. Add a tg3_nvram_read_swab() since swabing the data is frequently done. 2. Add a function to convert nvram address to physical address instead of doing it in 2 separate places. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 79f4d13a15774c2d442b619bad95a4c612eed4f3 tree 22996b2b33bc68d24ec8091954d8d6f57a552eb4 parent fcfa0a32c767219c1bdad621ef4a3aff1904cbbd author Michael Chan Mon, 20 Mar 2006 22:28:57 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:57 -0800 [TG3]: Fixup memory test for 5787 Ethtool memory test on 5787 requires a new memory table. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit fcfa0a32c767219c1bdad621ef4a3aff1904cbbd tree 0b40b3432cc90af0e2b22da056baab173d163d65 parent 9c27dbdf64cba05d0cacc343118a7fd01d4b82f7 author Michael Chan Mon, 20 Mar 2006 22:28:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:41 -0800 [TG3]: Add new one-shot MSI handler Support one-shot MSI on 5787. This one-shot MSI idea is credited to David Miller. In this mode, MSI disables itself automatically after it is generated, saving the driver a register access to disable it for NAPI. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 9c27dbdf64cba05d0cacc343118a7fd01d4b82f7 tree f579329eab7d30f6016d52ab50bfcb2a540dd750 parent 5a6f3074c2ea5a7b4ff5b18f0e1fd9b1257e1a29 author Michael Chan Mon, 20 Mar 2006 22:28:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:27 -0800 [TG3]: Add ipv6 checksum support Support ipv6 tx csum on 5787 by setting NETIF_F_HW_CSUM. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 5a6f3074c2ea5a7b4ff5b18f0e1fd9b1257e1a29 tree 4bc683f620e3176ae70932f5f865fe47423eb083 parent 1b27777a9b9b2b6d1c06000b7a31262d198b4238 author Michael Chan Mon, 20 Mar 2006 22:28:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:28:05 -0800 [TG3]: Add new hard_start_xmit Support 5787 hardware TSO using a new flag TG3_FLG2_HW_TSO_2. Since the TSO interface is slightly different and these chips have finally fixed the 4GB DMA problem and do not have the 40-bit DMA problem, a new hard_start_xmit is used for these chips. All previous chips will use the old hard_start_xmit that is now renamed tg3_start_xmit_dma_bug(). Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1b27777a9b9b2b6d1c06000b7a31262d198b4238 tree 4690a8fe70231e4b09171957a5d3e8a7b4ccb00c parent d9ab5ad12b0d865bdb1b750d81192d34465541e9 author Michael Chan Mon, 20 Mar 2006 22:27:48 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:48 -0800 [TG3]: Add 5787 nvram support Support additional nvrams and new nvram format for 5787 and 5754. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d9ab5ad12b0d865bdb1b750d81192d34465541e9 tree 0bc4b3e9139836b39e5cab3affe9090bae4b11c7 parent 6cb153cab92a6dc8771d496b10a50cd066fa7f71 author Michael Chan Mon, 20 Mar 2006 22:27:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:35 -0800 [TG3]: Add 5787 and 5754 basic support Add basic support for 2 new chips 5787 and 5754. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 6cb153cab92a6dc8771d496b10a50cd066fa7f71 tree 001935e638dbdae754ebe40900c4540bff5bc5b8 parent 8aca8a27d96cd75a30c380130496c98b658c9b98 author Benjamin LaHaise Mon, 20 Mar 2006 22:27:12 -0800 committer David S. Miller Mon, 20 Mar 2006 22:27:12 -0800 [NET]: use fget_light() in net/socket.c Here's an updated copy of the patch to use fget_light in net/socket.c. Rerunning the tests show a drop of ~80Mbit/s on average, which looks bad until you see the drop in cpu usage from ~89% to ~82%. That will get fixed in another patch... Before: max 8113.70, min 8026.32, avg 8072.34 87380 16384 16384 10.01 8045.55 87.11 87.11 1.774 1.774 87380 16384 16384 10.01 8065.14 90.86 90.86 1.846 1.846 87380 16384 16384 10.00 8077.76 89.85 89.85 1.822 1.822 87380 16384 16384 10.00 8026.32 89.80 89.80 1.833 1.833 87380 16384 16384 10.01 8108.59 89.81 89.81 1.815 1.815 87380 16384 16384 10.01 8034.53 89.01 89.01 1.815 1.815 87380 16384 16384 10.00 8113.70 90.45 90.45 1.827 1.827 87380 16384 16384 10.00 8111.37 89.90 89.90 1.816 1.816 87380 16384 16384 10.01 8077.75 87.96 87.96 1.784 1.784 87380 16384 16384 10.00 8062.70 90.25 90.25 1.834 1.834 After: max 8035.81, min 7963.69, avg 7998.14 87380 16384 16384 10.01 8000.93 82.11 82.11 1.682 1.682 87380 16384 16384 10.01 8016.17 83.67 83.67 1.710 1.710 87380 16384 16384 10.01 7963.69 83.47 83.47 1.717 1.717 87380 16384 16384 10.01 8014.35 81.71 81.71 1.671 1.671 87380 16384 16384 10.00 7967.68 83.41 83.41 1.715 1.715 87380 16384 16384 10.00 7995.22 81.00 81.00 1.660 1.660 87380 16384 16384 10.00 8002.61 83.90 83.90 1.718 1.718 87380 16384 16384 10.00 8035.81 81.71 81.71 1.666 1.666 87380 16384 16384 10.01 8005.36 82.56 82.56 1.690 1.690 87380 16384 16384 10.00 7979.61 82.50 82.50 1.694 1.694 Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit 8aca8a27d96cd75a30c380130496c98b658c9b98 tree cd32edff13c275a0f493ba70d909daee1819c6a2 parent 99cae7fca1311573f2777b8ceaa8a5abd6e9b04e author Stephen Hemminger Mon, 20 Mar 2006 22:26:39 -0800 committer David S. Miller Mon, 20 Mar 2006 22:26:39 -0800 [NET]: minor net_rx_action optimization The functions list_del followed by list_add_tail is equivalent to the existing inline list_move_tail. list_move_tail avoids unnecessary _LIST_POISON. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 99cae7fca1311573f2777b8ceaa8a5abd6e9b04e tree 61b5ad07d0f8fed37e3c3ab08eedf514226562d8 parent c5ecd62c25400a3c6856e009f84257d5bd03f03b author Alpt Mon, 20 Mar 2006 22:26:17 -0800 committer David S. Miller Mon, 20 Mar 2006 22:26:17 -0800 [NET] rtnetlink: Add RTPROT entry for Netsukuku. The Netsukuku daemon is using the same number to mark its routes, you can see it here: http://hinezumilabs.org/cgi-bin/viewcvs.cgi/netsukuku/src/krnl_route.h?rev=HEAD&content-type=text/vnd.viewcvs-markup Signed-off-by: David S. Miller commit c5ecd62c25400a3c6856e009f84257d5bd03f03b tree a0aeb88552772396bba986cce176028348ec041f parent 53dcb0e38c1786aa82ada4641b4607be315b610a author Michael S. Tsirkin Mon, 20 Mar 2006 22:25:41 -0800 committer David S. Miller Mon, 20 Mar 2006 22:25:41 -0800 [NET]: Move destructor from neigh->ops to neigh_params struct neigh_ops currently has a destructor field, which no in-kernel drivers outside of infiniband use. The infiniband/ulp/ipoib in-tree driver stashes some info in the neighbour structure (the results of the second-stage lookup from ARP results to real link-level path), and it uses neigh->ops->destructor to get a callback so it can clean up this extra info when a neighbour is freed. We've run into problems with this: since the destructor is in an ops field that is shared between neighbours that may belong to different net devices, there's no way to set/clear it safely. The following patch moves this field to neigh_parms where it can be safely set, together with its twin neigh_setup. Two additional patches in the patch series update ipoib to use this new interface. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier Signed-off-by: David S. Miller commit 53dcb0e38c1786aa82ada4641b4607be315b610a tree 90a88d7baec2f545c602da368a6553aa250eea37 parent 6146e6a43b3584c0c67b0ac94e3f14fdc618bd30 author Luiz Capitulino Mon, 20 Mar 2006 22:25:05 -0800 committer David S. Miller Mon, 20 Mar 2006 22:25:05 -0800 [PKTGEN]: Updates version. Due to the thread's lock changes, we're at a new version now. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6146e6a43b3584c0c67b0ac94e3f14fdc618bd30 tree 0e8844508a6554fadc0dfddde70c594455288731 parent 222fa076652cc1faf56eb7d554c2797ace3c5beb author Luiz Capitulino Mon, 20 Mar 2006 22:24:45 -0800 committer David S. Miller Mon, 20 Mar 2006 22:24:45 -0800 [PKTGEN]: Removes thread_{un,}lock() macros. As suggested by Arnaldo, this patch replaces the thread_lock()/thread_unlock() by directly calls to mutex_lock()/mutex_unlock(). This change makes the code a bit more readable, and the direct calls are used everywhere in the kernel. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 222fa076652cc1faf56eb7d554c2797ace3c5beb tree e2321a6c17693e82a3aefcb95f948d45e2b21e4f parent 6756ae4b4e97aba48c042b4aa6b77a18f507d2cb author Luiz Capitulino Mon, 20 Mar 2006 22:24:27 -0800 committer David S. Miller Mon, 20 Mar 2006 22:24:27 -0800 [PKTGEN]: Convert thread lock to mutexes. pktgen's thread semaphores are strict mutexes, convert them to the mutex implementation. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6756ae4b4e97aba48c042b4aa6b77a18f507d2cb tree 05bf37711d782fb0089d474716026c44a454f89b parent 253aa11578c1b89757282430891bb66ae5300092 author Stephen Hemminger Mon, 20 Mar 2006 22:23:58 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:58 -0800 [NET]: Convert RTNL to mutex. This patch turns the RTNL from a semaphore to a new 2.6.16 mutex and gets rid of some of the leftover legacy. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 253aa11578c1b89757282430891bb66ae5300092 tree 00ff3d18c1a7ead1bca4602385e85b65f012823c parent 50bf3e224a2963c6dd5098f77bd7233222ebfbd2 author David S. Miller Mon, 20 Mar 2006 22:23:35 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:35 -0800 [IPSEC] xfrm_user: Kill PAGE_SIZE check in verify_sec_ctx_len() First, it warns when PAGE_SIZE >= 64K because the ctx_len field is 16-bits. Secondly, if there are any real length limitations it can be verified by the security layer security_xfrm_state_alloc() call. Signed-off-by: David S. Miller commit 50bf3e224a2963c6dd5098f77bd7233222ebfbd2 tree 6429bcfa043d34db73ef1bdb48243726e33f8132 parent 0bc6d90b82775113bbbe371f5d9fcffefa5fa94d author Baruch Even Mon, 20 Mar 2006 22:23:10 -0800 committer David S. Miller Mon, 20 Mar 2006 22:23:10 -0800 [TCP] H-TCP: Better time accounting Instead of estimating the time since the last congestion event, count it directly. Signed-off-by: Baruch Even Signed-off-by: David S. Miller commit 0bc6d90b82775113bbbe371f5d9fcffefa5fa94d tree 5597a249a1ad015c226f2c94192de5efec9092d3 parent c33ad6e476e4cdc245215f3eb5b3df353df1b370 author Baruch Even Mon, 20 Mar 2006 22:22:47 -0800 committer David S. Miller Mon, 20 Mar 2006 22:22:47 -0800 [TCP] H-TCP: Account for delayed-ACKs Account for delayed-ACKs in H-TCP. Delayed-ACKs cause H-TCP to be less aggressive than its design calls for. It is especially true when the receiver is a Linux machine where the average delayed ack is over 3 packets with values of 7 not unheard of. Signed-off-By: Baruch Even Signed-off-by: David S. Miller commit c33ad6e476e4cdc245215f3eb5b3df353df1b370 tree b19831b1630b5963a897ae655027c6d7acdd2895 parent b191ba0d599928372be5a89f75486eb58efab48a author Baruch Even Mon, 20 Mar 2006 22:22:20 -0800 committer David S. Miller Mon, 20 Mar 2006 22:22:20 -0800 [TCP] H-TCP: Use msecs_to_jiffies Use functions to calculate jiffies from milliseconds and not the old, crude method of dividing HZ by a value. Ensures more accurate values even in the face of strange HZ values. Signed-off-By: Baruch Even Signed-off-by: David S. Miller commit b191ba0d599928372be5a89f75486eb58efab48a tree a0ecc636d121126aba838d49700ad9cfbbf94733 parent 0ac81ae34ec8898e7eb1388fe21e3cee7b626a88 author Evgeniy Polyakov Mon, 20 Mar 2006 22:21:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:21:40 -0800 [CONNECTOR]: Use netlink_has_listeners() to avoind unnecessary allocations. Return -ESRCH from cn_netlink_send() when there are not listeners, just as it could be done by netlink_broadcast(). Propagate netlink_broadcast() error back to the caller. Signed-off-by: Evgeniy Polyakov Signed-off-by: David S. Miller commit 0ac81ae34ec8898e7eb1388fe21e3cee7b626a88 tree a12010186c97a515d7484c827df030cd11ac4911 parent 65a3980e6b14d591e3b8f5cdc7219be99e3003a4 author David Basden Mon, 20 Mar 2006 22:21:10 -0800 committer David S. Miller Mon, 20 Mar 2006 22:21:10 -0800 [IRDA]: TOIM3232 dongle support Here goes a patch for supporting TOIM3232 based serial IrDA dongles. The code is based on the tekram dongle code. It's been tested with a TOIM3232 based IRWave 320S dongle. It may work for TOIM4232 dongles, although it's not been tested. Signed-off-by: David Basden Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 65a3980e6b14d591e3b8f5cdc7219be99e3003a4 tree d837464919d82b5fbf8ab4981852a0f619338ee5 parent c26a80168f2d44f525a5adb0c95cddffb4a5aaa4 author Luiz Capitulino Mon, 20 Mar 2006 22:18:31 -0800 committer David S. Miller Mon, 20 Mar 2006 22:18:31 -0800 [PKTGEN]: Updates version. With all the previous changes, we're at a new version now. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit c26a80168f2d44f525a5adb0c95cddffb4a5aaa4 tree 78795c5986ab1a05bcf259f028d59ec719458036 parent 8024bb245408060bec8393469e945b541a9b0865 author Luiz Capitulino Mon, 20 Mar 2006 22:18:16 -0800 committer David S. Miller Mon, 20 Mar 2006 22:18:16 -0800 [PKTGEN]: Ports if_list to the in-kernel implementation. This patch ports the per-thread interface list list to the in-kernel linked list implementation. In the general, the resulting code is a bit simpler. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 8024bb245408060bec8393469e945b541a9b0865 tree be58db8760c3ca03fc3b71155cf0cd88849ee4be parent 12e1872328e7055d06e539f1b687dc3d0610855c author Luiz Capitulino Mon, 20 Mar 2006 22:17:55 -0800 committer David S. Miller Mon, 20 Mar 2006 22:17:55 -0800 [PKTGEN]: Fix Initialization fail leak. Even if pktgen's thread initialization fails for all CPUs, the module will be successfully loaded. This patch changes that behaivor, by returning an error on module load time, and also freeing all the resources allocated. It also prints a warning if a thread initialization has failed. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 12e1872328e7055d06e539f1b687dc3d0610855c tree 8a3315b9c67da38a0cf0284100a2e3c06abca330 parent cdcdbe0b179adca0bcf98f660fcc63e208ae4284 author Luiz Capitulino Mon, 20 Mar 2006 22:17:00 -0800 committer David S. Miller Mon, 20 Mar 2006 22:17:00 -0800 [PKTGEN]: Fix kernel_thread() fail leak. Free all the alocated resources if kernel_thread() call fails. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit cdcdbe0b179adca0bcf98f660fcc63e208ae4284 tree 06e20bb4e3dc8f5cacec067c8021aab2976c5971 parent 222f18065868b04df92df476b19c99c28740e00f author Luiz Capitulino Mon, 20 Mar 2006 22:16:40 -0800 committer David S. Miller Mon, 20 Mar 2006 22:16:40 -0800 [PKTGEN]: Ports thread list to Kernel list implementation. The final result is a simpler and smaller code. Note that I'm adding a new member in the struct pktgen_thread called 'removed'. The reason is that I didn't find a better wait condition to be used in the place of the replaced one. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 222f18065868b04df92df476b19c99c28740e00f tree 71d1bc3bcb42928aebfcf1d02d9dcbea961fa732 parent 6df9424a9ca35f9fab773d1a0a8919781a367125 author Luiz Capitulino Mon, 20 Mar 2006 22:16:13 -0800 committer David S. Miller Mon, 20 Mar 2006 22:16:13 -0800 [PKTGEN]: Lindent run. Lindet run, with some fixes made by hand. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 6df9424a9ca35f9fab773d1a0a8919781a367125 tree 3c577a45046f9daeb574a76df704f88f76175faf parent c0c736db7ef4a7bdc1a28f3de751cc7e9f720313 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:06:02 -0800 committer David S. Miller Mon, 20 Mar 2006 22:06:02 -0800 [DCCP] options: Fix some aspects of mandatory option processing According to dccp draft (draft-ietf-dccp-spec-13.txt) section 5.8.2 (Mandatory Option) the following patch correct the handling of the following cases: 1) "... and any Mandatory options received on DCCP-Data packets MUST be ignored." 2) "The connection is in error and should be reset with Reset Code 5, ... if option O is absent (Mandatory was the last byte of the option list), or if option O equals Mandatory." Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Hagen Paul Pfeifer Signed-off-by: David S. Miller commit c0c736db7ef4a7bdc1a28f3de751cc7e9f720313 tree 0935933828ed9021920cb5a922506911398c16ab parent 45329e71eeb6cb483c6e7fe9e6f2849dd2932cb5 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:05:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:05:37 -0800 [DCCP] ccid2: coding style cleanups No changes in the logic where made. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 45329e71eeb6cb483c6e7fe9e6f2849dd2932cb5 tree 95d3aea5bfee63103ff6132c630cc220820d5bbb parent c4d9390941aee136fd35bb38eb1d6de4e3b1487d author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:01:29 -0800 committer David S. Miller Mon, 20 Mar 2006 22:01:29 -0800 [DCCP] ipv6: cleanups No changes in the logic were made, just removing trailing whitespaces, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c4d9390941aee136fd35bb38eb1d6de4e3b1487d tree fcaf0032ba5971145b5f527b8635cd7aa3a39d8c parent 72478873571d869906f7a250b09e12fa5b65e321 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:01:03 -0800 committer David S. Miller Mon, 20 Mar 2006 22:01:03 -0800 [ICSK]: Introduce inet_csk_ctl_sock_create Consolidating open coded sequences in tcp and dccp, v4 and v6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 72478873571d869906f7a250b09e12fa5b65e321 tree 562e6179922a5eef9c1f3eb7b1bf3813a6e53545 parent c25a18ba347f091d1ce620ba33e6772b60a528e1 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 22:00:37 -0800 committer David S. Miller Mon, 20 Mar 2006 22:00:37 -0800 [DCCP] ipv6: Add missing ipv6 control socket I guess I forgot to add it, nah, now it just works: 18:04:33.274066 IP6 ::1.1476 > ::1.5001: request (service=0) 18:04:33.334482 IP6 ::1.5001 > ::1.1476: reset (code=bad_service_code) Ditched IP_DCCP_UNLOAD_HACK, as now we would have to do it for both IPv6 and IPv4, so I'll come up with another way for freeing the control sockets in upcoming changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c25a18ba347f091d1ce620ba33e6772b60a528e1 tree 788c596356e150a26e0a67243ffc68213abdd493 parent 5e0817f84c33285c2ac7d3848e8896d025b5deff author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:58:56 -0800 committer David S. Miller Mon, 20 Mar 2006 21:58:56 -0800 [DCCP]: Uninline some functions Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 5e0817f84c33285c2ac7d3848e8896d025b5deff tree c394b80761d68d57128775da1e6832df4ff2170b parent d76e60a5b510bab0af130fca9f4ed06499be4d2f author Adrian Bunk Mon, 20 Mar 2006 21:58:29 -0800 committer David S. Miller Mon, 20 Mar 2006 21:58:29 -0800 [DCCP] ipv4: make struct dccp_v4_prot static There's no reason for struct dccp_v4_prot being global. Signed-off-by: Adrian Bunk Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d76e60a5b510bab0af130fca9f4ed06499be4d2f tree 043260141f4a56f3034fa91099ec1715204905f2 parent 06ef921d60bbf6f765d1b9492fb4fc88ac7814bd author David S. Miller Mon, 20 Mar 2006 21:35:50 -0800 committer David S. Miller Mon, 20 Mar 2006 21:35:50 -0800 [IPV6]: Fix some code/comment formatting in ip6_dst_output(). Signed-off-by: David S. Miller commit 06ef921d60bbf6f765d1b9492fb4fc88ac7814bd tree c59cb40d0f28621e782b1938ea0bfa5d6720c75a parent 5ddf0eb2bfd613e941dd8748870c71da2e5ad409 author Robert Olsson Mon, 20 Mar 2006 21:35:01 -0800 committer David S. Miller Mon, 20 Mar 2006 21:35:01 -0800 [IPV4]: fib_trie stats fix fib_triestats has been buggy and caused oopses some platforms as openwrt. The patch below should cure those problems. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 5ddf0eb2bfd613e941dd8748870c71da2e5ad409 tree 54591328f3ffcaef3b91be801be3e621b99e8463 parent 4f81c32b028aecd818634b1ef36aae3b2b3e66ce author Robert Olsson Mon, 20 Mar 2006 21:34:12 -0800 committer David S. Miller Mon, 20 Mar 2006 21:34:12 -0800 [IPV4]: fib_trie initialzation fix In some kernel configs /proc functions seems to be accessed before the trie is initialized. The patch below checks for this. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 4f81c32b028aecd818634b1ef36aae3b2b3e66ce tree e0c9f0945c1d72cd981aa49ad58792d25499bb6f parent e75f7c900944aa90831f6d343ca40090a68b56dd author Michael Chan Mon, 20 Mar 2006 21:33:42 -0800 committer David S. Miller Mon, 20 Mar 2006 21:33:42 -0800 [TG3]: Fix tg3_get_ringparam() Fix-up tg3_get_ringparam() to return the correct parameters. Set the jumbo rx ring parameter only if it is supported by the chip and currently in use. Add missing value for tx_max_pending, noticed by Rick Jones. Update version to 3.51. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit e75f7c900944aa90831f6d343ca40090a68b56dd tree d5192f5c230a2e84a6a0b23eed7e802ebf6ab555 parent 0e7b13685f9a06949ea3070c97c0f0085a08cd37 author Michael Chan Mon, 20 Mar 2006 21:33:26 -0800 committer David S. Miller Mon, 20 Mar 2006 21:33:26 -0800 [TG3]: Add some missing netif_running() checks Add missing netif_running() checks in tg3's dev->set_multicast_list() and dev->set_mac_address(). If not netif_running(), these 2 calls can simply return 0 after storing the new settings if required. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0e7b13685f9a06949ea3070c97c0f0085a08cd37 tree 3ba0a11d61dc2dd64d7a93bb5cd70d58a46fec39 parent 1d541ddd74802cfa0eb8a3864668851f6cd79bdf author John Heffner Mon, 20 Mar 2006 21:32:58 -0800 committer David S. Miller Mon, 20 Mar 2006 21:32:58 -0800 [TCP] mtu probing: move tcp-specific data out of inet_connection_sock This moves some TCP-specific MTU probing state out of inet_connection_sock back to tcp_sock. Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 1d541ddd74802cfa0eb8a3864668851f6cd79bdf tree 3db70aede59a2743124b077ed1dd2ebe3629b506 parent e9df7d7f584666533b1bdfcf5c60a43d64689198 author Benjamin LaHaise Mon, 20 Mar 2006 21:31:51 -0800 committer David S. Miller Mon, 20 Mar 2006 21:31:51 -0800 [AF_UNIX]: scm: better initialization Instead of doing a memset then initialization of the fields of the scm structure, just initialize all the members explicitly. Prevent reloading of current on x86 and x86-64 by storing the value in a local variable for subsequent dereferences. This is worth a ~7KB/s increase in af_unix bandwidth. Note that we avoid the issues surrounding potentially uninitialized members of the ucred structure by constructing a struct ucred instead of assigning the members individually, which forces the compiler to zero any padding. [ I modified the patch not to use the aggregate assignment since gcc-3.4.x and earlier cannot optimize that properly at all even though gcc-4.0.x and later can -DaveM ] Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit e9df7d7f584666533b1bdfcf5c60a43d64689198 tree 78faaa085edfb24784e40779864d41fd9ddeb168 parent 231d06ae826664b83369166449144304859a62fa author Benjamin LaHaise Mon, 20 Mar 2006 21:29:05 -0800 committer David S. Miller Mon, 20 Mar 2006 21:29:05 -0800 [AF_UNIX]: use shift instead of integer division The patch below replaces a divide by 2 with a shift -- sk_sndbuf is an integer, so gcc emits an idiv, which takes 10x longer than a shift by 1. This improves af_unix bandwidth by ~6-10K/s. Also, tidy up the comment to fit in 80 columns while we're at it. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit 231d06ae826664b83369166449144304859a62fa tree 1c761b91405573f4e787454b454ead8354c3ba23 parent 2e1f47c74c26a591fc490eb339f1b3167361158b author Jörn Engel Mon, 20 Mar 2006 21:28:35 -0800 committer David S. Miller Mon, 20 Mar 2006 21:28:35 -0800 [NET]: Uninline kfree_skb and allow NULL argument o Uninline kfree_skb, which saves some 15k of object code on my notebook. o Allow kfree_skb to be called with a NULL argument. Subsequent patches can remove conditional from drivers and further reduce source and object size. Signed-off-by: Jörn Engel Signed-off-by: David S. Miller commit 2e1f47c74c26a591fc490eb339f1b3167361158b tree 3136b2bdfa2bc95f3672318d73f533ecf37f24c1 parent 2342c990bbd2c075d627720006f0e602134346a7 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:28:11 -0800 committer David S. Miller Mon, 20 Mar 2006 21:28:11 -0800 [LLC]: Fix sap refcounting Thanks to Leslie Harlley Watter for reporting the problem an testing this patch. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 2342c990bbd2c075d627720006f0e602134346a7 tree ca72ae361e880aa1cd0cba5c3e01bc1a3cff17f7 parent 9c005e018cd951699e371a06889c553f9f4d1478 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:27:43 -0800 committer David S. Miller Mon, 20 Mar 2006 21:27:43 -0800 [LLC]: Replace __inline__ with inline Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9c005e018cd951699e371a06889c553f9f4d1478 tree f10fabdfddba0824ecf20913be4ef0c558fc019b parent 95ed63f791656fc19e36ae68bc328e367958c76b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:27:23 -0800 committer David S. Miller Mon, 20 Mar 2006 21:27:23 -0800 [LLC]: Fix struct proto .name Cut'n'paste error from ddp_proto. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 95ed63f791656fc19e36ae68bc328e367958c76b tree dbee5227c99677c35874e0b522f6b84df262cf63 parent 4bf07ef3fd5db2df7d1899fcf9c67d2263ead2e2 author Arthur Kepner Mon, 20 Mar 2006 21:26:56 -0800 committer David S. Miller Mon, 20 Mar 2006 21:26:56 -0800 [NET] pktgen: Fix races between control/worker threads. There's a race in pktgen which can lead to a double free of a pktgen_dev's skb. If a worker thread is in the midst of doing fill_packet(), and the controlling thread gets a "stop" message, the already freed skb can be freed once again in pktgen_stop_device(). This patch gives all responsibility for cleaning up a pktgen_dev's skb to the associated worker thread. Signed-off-by: Arthur Kepner Acked-by: Robert Olsson Signed-off-by: David S. Miller commit 4bf07ef3fd5db2df7d1899fcf9c67d2263ead2e2 tree 353775ab0c4777c864e7e0297abed0a9eb76235a parent b61fafc4ef3faf54236d57e3b230ca19167663bf author Jamal Hadi Salim Mon, 20 Mar 2006 21:25:50 -0800 committer David S. Miller Mon, 20 Mar 2006 21:25:50 -0800 [XFRM]: Rearrange struct xfrm_aevent_id for better compatibility. struct xfrm_aevent_id needs to be 32-bit + 64-bit align friendly. Based upon suggestions from Yoshifuji. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit b61fafc4ef3faf54236d57e3b230ca19167663bf tree d928d79a28556ee06fda685458d3f398b6e57d40 parent 46f09ffa7db595f49fb42338e013417756816d37 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:25:11 -0800 committer David S. Miller Mon, 20 Mar 2006 21:25:11 -0800 [DCCP]: Move the IPv4 specific bits from proto.c to ipv4.c With this patch in place we can break down the complexity by better compartmentalizing the code that is common to ipv6 and ipv4. Now we have these modules: Module Size Used by dccp_diag 1344 0 inet_diag 9448 1 dccp_diag dccp_ccid3 15856 0 dccp_tfrc_lib 12320 1 dccp_ccid3 dccp_ccid2 5764 0 dccp_ipv4 16996 2 dccp 48208 4 dccp_diag,dccp_ccid3,dccp_ccid2,dccp_ipv4 dccp_ipv6 still requires dccp_ipv4 due to dccp_ipv6_mapped, that is the next target to work on the "hey, ipv4 is legacy, I only want ipv6 dude!" direction. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 46f09ffa7db595f49fb42338e013417756816d37 tree 95d286df35f404bd61680c10d1c6e69521e727de parent 075ae86611011e1acdda9df6a7e30f8508b31fd6 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:24:42 -0800 committer David S. Miller Mon, 20 Mar 2006 21:24:42 -0800 [DCCP]: Rename init_dccp_v4_mibs to dccp_mib_init And introduce dccp_mib_exit grouping previously open coded sequence. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 075ae86611011e1acdda9df6a7e30f8508b31fd6 tree 964bd1489ca16e3bbdc41a455b2a2db8e7801f2a parent 0a1ec676ddbee712e1c1da679be4bdc529caf215 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:24:19 -0800 committer David S. Miller Mon, 20 Mar 2006 21:24:19 -0800 [DCCP]: Move dccp_hashinfo from ipv4.c to the core As it is used by both ipv4 and ipv6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0a1ec676ddbee712e1c1da679be4bdc529caf215 tree 709db39592784baebb9f43f5d1bbd33c70fdcbeb parent c985ed705ffc682ce40d46a5f7bf98db86b27899 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:59 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:59 -0800 [DCCP]: Dont use dccp_v4_checksum in dccp_make_response dccp_make_response is shared by ipv4/6 and the ipv6 code was recalculating the checksum, not good, so move the dccp_v4_checksum call to dccp_v4_send_response. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c985ed705ffc682ce40d46a5f7bf98db86b27899 tree 20272a6d8f7b896e9b31397d4c4ff563bfdf16b2 parent 3e0fadc51f2fde01e0e22f481370a9b5f073bfc3 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:39 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:39 -0800 [DCCP]: Move dccp_[un]hash from ipv4.c to the core As this is used by both ipv4 and ipv6 and is not ipv4 specific. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3e0fadc51f2fde01e0e22f481370a9b5f073bfc3 tree 0254dd8d495d2e4a2a1a9adb17b7dc10541796d8 parent 017487d7d1e905a5bb529f6a2bc8cf8ea14e2307 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 21:23:15 -0800 committer David S. Miller Mon, 20 Mar 2006 21:23:15 -0800 [DCCP]: Move dccp_v4_{init,destroy}_sock to the core Removing one more ipv6 uses ipv4 stuff case in dccp land. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 017487d7d1e905a5bb529f6a2bc8cf8ea14e2307 tree 6a68904ea48ccae0c4c17f7dc248831fd46bd3e6 parent e55d912f5b75723159348a7fc7692f869a86636a author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:25:24 -0800 committer David S. Miller Mon, 20 Mar 2006 19:25:24 -0800 [DCCP]: Generalize dccp_v4_send_reset Renaming it to dccp_send_reset and moving it from the ipv4 specific code to the core dccp code. This fixes some bugs in IPV6 where timers would send v4 resets, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e55d912f5b75723159348a7fc7692f869a86636a tree c00be180cac20e4247ffda446ad266d885a1a811 parent 04e2661e9c00386412b64612549cf24c8baef67c author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:25:02 -0800 committer David S. Miller Mon, 20 Mar 2006 19:25:02 -0800 [DCCP] feat: Introduce sysctls for the default features [root@qemu ~]# for a in /proc/sys/net/dccp/default/* ; do echo $a ; cat $a ; done /proc/sys/net/dccp/default/ack_ratio 2 /proc/sys/net/dccp/default/rx_ccid 3 /proc/sys/net/dccp/default/send_ackvec 1 /proc/sys/net/dccp/default/send_ndp 1 /proc/sys/net/dccp/default/seq_window 100 /proc/sys/net/dccp/default/tx_ccid 3 [root@qemu ~]# So if wanting to test ccid3 as the tx CCID one can just do: [root@qemu ~]# echo 3 > /proc/sys/net/dccp/default/tx_ccid [root@qemu ~]# echo 2 > /proc/sys/net/dccp/default/rx_ccid [root@qemu ~]# cat /proc/sys/net/dccp/default/[tr]x_ccid 2 3 [root@qemu ~]# Of course we also need the setsockopt for each app to tell its preferences, but for testing or defining something other than CCID2 as the default for apps that don't explicitely set their preference the sysctl interface is handy. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 04e2661e9c00386412b64612549cf24c8baef67c tree d2c53123806041dfe4c0dc2b18a890a1f5333105 parent 057fc6755a2381b4e81636659ef519e069f38623 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:24:41 -0800 committer David S. Miller Mon, 20 Mar 2006 19:24:41 -0800 [DCCP]: Call dccp_feat_init more early in dccp_v4_init_sock So that dccp_feat_clean doesn't get confused with uninitialized list_heads. Noticed when testing with no ccid kernel modules. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 057fc6755a2381b4e81636659ef519e069f38623 tree e15ad08e84e0892e1bb273067fd7e6f20a62fdad parent 93ce20928f6e197707add8f670ae0cd029107e8f author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:24:22 -0800 committer David S. Miller Mon, 20 Mar 2006 19:24:22 -0800 [DCCP]: Kconfig tidy up Make CCID2 and CCID3 default to what was selected for DCCP and use the standard short description for the CCIDs (TCP-Like & TCP-Friendly). Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 93ce20928f6e197707add8f670ae0cd029107e8f tree d7a3219c9a81d103c72267b568e7ea90dd673f42 parent 60fe62e789076ae7c13f7ffb35fec4b24802530d author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:23:58 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:58 -0800 [DCCP]: Make CCID2 be the default As per the draft. This fixes the build when netfilter dccp components are built and dccp isn't. Thanks to Reuben Farrelly for reporting this. The following changesets will introduce /proc/sys/net/dccp/defaults/ to give more flexibility to DCCP developers and testers while apps doesn't use setsockopt to specify the desired CCID, etc. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 60fe62e789076ae7c13f7ffb35fec4b24802530d tree cc8d507a4276c3d5a2bcb72746660d485bc2e045 parent a193a4abdd1f742a57f3f70b6a83c3e536876e97 author Andrea Bittau Mon, 20 Mar 2006 19:23:32 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:32 -0800 [DCCP]: sparse endianness annotations This also fixes the layout of dccp_hdr short sequence numbers, problem was not fatal now as we only support long (48 bits) sequence numbers. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Al Viro Signed-off-by: David S. Miller commit a193a4abdd1f742a57f3f70b6a83c3e536876e97 tree 1b77f9f388ae153815248e8ef30b0297943c7016 parent 6ffd30fbbb1b4a01a9f56049521693375a864d3e author Patrick McHardy Mon, 20 Mar 2006 19:23:05 -0800 committer David S. Miller Mon, 20 Mar 2006 19:23:05 -0800 [NETFILTER]: Fix skb->nf_bridge lifetime issues The bridge netfilter code simulates the NF_IP_PRE_ROUTING hook and skips the real hook by registering with high priority and returning NF_STOP if skb->nf_bridge is present and the BRNF_NF_BRIDGE_PREROUTING flag is not set. The flag is only set during the simulated hook. Because skb->nf_bridge is only freed when the packet is destroyed, the packet will not only skip the first invocation of NF_IP_PRE_ROUTING, but in the case of tunnel devices on top of the bridge also all further ones. Forwarded packets from a bridge encapsulated by a tunnel device and sent as locally outgoing packet will also still have the incorrect bridge information from the input path attached. We already have nf_reset calls on all RX/TX paths of tunnel devices, so simply reset the nf_bridge field there too. As an added bonus, the bridge information for locally delivered packets is now also freed when the packet is queued to a socket. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6ffd30fbbb1b4a01a9f56049521693375a864d3e tree 0d127a675df6e574d9120f93f33c9495365f7e5b parent 91f0ebf7b6d5cb2b6e818d48587566144821babe author Andrea Bittau Mon, 20 Mar 2006 19:22:37 -0800 committer David S. Miller Mon, 20 Mar 2006 19:22:37 -0800 [DCCP] feat: Actually change the CCID upon negotiation Change the CCID upon successful feature negotiation. Commiter note: patch mostly rewritten to use the new ccid API. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 91f0ebf7b6d5cb2b6e818d48587566144821babe tree 505c66f36bd72014d7eacb7a04ea011bae2e9a3a parent f38c39d6ce8226519455a6dfe91c2ad84f363f6f author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 19:21:44 -0800 committer David S. Miller Mon, 20 Mar 2006 19:21:44 -0800 [DCCP] CCID: Improve CCID infrastructure 1. No need for ->ccid_init nor ->ccid_exit, this is what module_{init,exit} does and anynways neither ccid2 nor ccid3 were using it. 2. Rename struct ccid to struct ccid_operations and introduce struct ccid with a pointer to ccid_operations and rigth after it the rx or tx private state. 3. Remove the pointer to the state of the half connections from struct dccp_sock, now its derived thru ccid_priv() from the ccid pointer. Now we also can implement the setsockopt for changing the CCID easily as no ccid init routines can affect struct dccp_sock in any way that prevents other CCIDs from working if a CCID switch operation is asked by apps. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f38c39d6ce8226519455a6dfe91c2ad84f363f6f tree 2d217dcad1cde479e5200f488bada90e116b75ba parent a70fcb0ba337956d91476e2e7c3e71d9df940a82 author Patrick McHardy Mon, 20 Mar 2006 19:20:44 -0800 committer David S. Miller Mon, 20 Mar 2006 19:20:44 -0800 [PKT_SCHED]: Convert sch_red to a classful qdisc Convert sch_red to a classful qdisc. All qdiscs that maintain accurate backlog counters are eligible as child qdiscs. When a queue limit larger than zero is given, a bfifo qdisc is used for backwards compatibility. Current versions of tc enforce a limit larger than zero, other users can avoid creating the default qdisc by using zero. Signed-off-by: Patrick McHardy Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit a70fcb0ba337956d91476e2e7c3e71d9df940a82 tree 500eb6a2296f4aae0581936e8832504f153f984e parent ee857a7d672859cf4eb735d32bce22c8b7ad0bd2 author David S. Miller Mon, 20 Mar 2006 19:18:52 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:52 -0800 [XFRM]: Add some missing exports. To fix the case of modular xfrm_user. Signed-off-by: David S. Miller commit ee857a7d672859cf4eb735d32bce22c8b7ad0bd2 tree 4a6274454ed4af42fb2806151d14280f778f2281 parent 0ac8475248164553ffe21948c7b1a4b9d2a935dc author David S. Miller Mon, 20 Mar 2006 19:18:37 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:37 -0800 [XFRM]: Move xfrm_nl to xfrm_state.c from xfrm_user.c xfrm_user could be modular, and since generic code uses this symbol now... Signed-off-by: David S. Miller commit 0ac8475248164553ffe21948c7b1a4b9d2a935dc tree 45495847e8ea192c45c9babbd4b9e8c51d82692f parent 8c29bfe1cfbe6050c797a6364a0cc0ff57c377fc author David S. Miller Mon, 20 Mar 2006 19:18:23 -0800 committer David S. Miller Mon, 20 Mar 2006 19:18:23 -0800 [XFRM]: Make sure xfrm_replay_timer_handler() is declared early enough. Signed-off-by: David S. Miller commit 8c29bfe1cfbe6050c797a6364a0cc0ff57c377fc tree f5e48a81ea6b12d4a4d20960750ce5c87c241d1f parent 6c5c8ca7ff20523e427b955aa84cef407934710f author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:39 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:39 -0800 [IPSEC]: Sync series - update selinux Add new netlink messages to selinux framework Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 6c5c8ca7ff20523e427b955aa84cef407934710f tree 382a4b07027efd8a41638ed9c051cc9ec2506f0b parent 53bc6b4d29c07664f3abe029b7e6878a1067899a author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:25 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:25 -0800 [IPSEC]: Sync series - policy expires This is similar to the SA expire insertion patch - only it inserts expires for SP. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 53bc6b4d29c07664f3abe029b7e6878a1067899a tree d97fc26acc763dde9d1dc15573a51253180b617f parent 980ebd25794f0f87ac32844e2c73e9e81f0a72ba author Jamal Hadi Salim Mon, 20 Mar 2006 19:17:03 -0800 committer David S. Miller Mon, 20 Mar 2006 19:17:03 -0800 [IPSEC]: Sync series - SA expires This patch allows a user to insert SA expires. This is useful to do on an HA backup for the case of byte counts but may not be very useful for the case of time based expiry. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 980ebd25794f0f87ac32844e2c73e9e81f0a72ba tree da52df6e31bd4b2527c223ca2585e0d792bf3ea2 parent d51d081d65048a7a6f9956a7809c3bb504f3b95d author Jamal Hadi Salim Mon, 20 Mar 2006 19:16:40 -0800 committer David S. Miller Mon, 20 Mar 2006 19:16:40 -0800 [IPSEC]: Sync series - acquire insert This introduces a feature similar to the one described in RFC 2367: " ... the application needing an SA sends a PF_KEY SADB_ACQUIRE message down to the Key Engine, which then either returns an error or sends a similar SADB_ACQUIRE message up to one or more key management applications capable of creating such SAs. ... ... The third is where an application-layer consumer of security associations (e.g. an OSPFv2 or RIPv2 daemon) needs a security association. Send an SADB_ACQUIRE message from a user process to the kernel. The kernel returns an SADB_ACQUIRE message to registered sockets. The user-level consumer waits for an SADB_UPDATE or SADB_ADD message for its particular type, and then can use that association by using SADB_GET messages. " An app such as OSPF could then use ipsec KM to get keys Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit d51d081d65048a7a6f9956a7809c3bb504f3b95d tree 55c62e9f6ff96d131a3ba59090d76209b68051ae parent 9500e8a81fe6302fcc5e4110adc4d166c9873d3a author Jamal Hadi Salim Mon, 20 Mar 2006 19:16:12 -0800 committer David S. Miller Mon, 20 Mar 2006 19:16:12 -0800 [IPSEC]: Sync series - user Add xfrm as the user of the core changes Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 9500e8a81fe6302fcc5e4110adc4d166c9873d3a tree 9b26d81e2d69869d2a01c4b33f568ab6cf1e0378 parent f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 author Jamal Hadi Salim Mon, 20 Mar 2006 19:15:29 -0800 committer David S. Miller Mon, 20 Mar 2006 19:15:29 -0800 [IPSEC]: Sync series - fast path Fast path sequence updates that will generate ipsec async events Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 tree 7850e8ebebf1f8543c96acdd7c197003b3b4d54c parent f5539eb8caa52a9198079df767cc1bb5494e69e3 author Jamal Hadi Salim Mon, 20 Mar 2006 19:15:11 -0800 committer David S. Miller Mon, 20 Mar 2006 19:15:11 -0800 [IPSEC]: Sync series - core changes This patch provides the core functionality needed for sync events for ipsec. Derived work of Krisztian KOVACS Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit f5539eb8caa52a9198079df767cc1bb5494e69e3 tree fa24490b12273384dfced2f664090b7fbf469e1e parent 053cfed75d9e01bda274c5b0126f5937181dcb62 author Patrick McHardy Mon, 20 Mar 2006 19:01:38 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:38 -0800 [PKT_SCHED]: Keep backlog counter in sch_sfq Keep backlog counter in SFQ qdisc to make it usable as child qdisc with RED. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 053cfed75d9e01bda274c5b0126f5937181dcb62 tree eddf99fddfdb6979c422c427a60a164135e0fc20 parent cdc7f8e362bcadbc312c97fb69d8d59676eec422 author Patrick McHardy Mon, 20 Mar 2006 19:01:21 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:21 -0800 [PKT_SCHED]: Restore TBF change semantic When TBF was converted to a classful qdisc, the semantic of the limit parameter was broken. On initilization an inner bfifo qdisc is created for backwards compatibility, when changing parameters however the new limit is ignored and the current child qdisc remains in place. Always replace the child qdisc by the default bfifo when limit is above zero, otherwise don't touch the inner qdisc. Current tc version enforce a limit above zero, other users can avoid creating the inner qdisc by using zero. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cdc7f8e362bcadbc312c97fb69d8d59676eec422 tree bbdf644a287b3e98b9ede73ba55e9de79682e28d parent 6d037a26f08711a222ed0d3d12b09e93eed7d3e8 author Patrick McHardy Mon, 20 Mar 2006 19:01:06 -0800 committer David S. Miller Mon, 20 Mar 2006 19:01:06 -0800 [PKT_SCHED]: Dump child qdisc handle in sch_{atm,dsmark} A qdisc should set tcm_info to the child qdisc handle in its class dump function. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6d037a26f08711a222ed0d3d12b09e93eed7d3e8 tree a200247459a6a378a1fb24847d383bddb09f5b67 parent a85d771e32f9724b61a68748cc667d1e11fe3478 author Patrick McHardy Mon, 20 Mar 2006 19:00:49 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:49 -0800 [PKT_SCHED]: Qdisc drop operation is optional The drop operation is optional and qdiscs must check if childs support it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a85d771e32f9724b61a68748cc667d1e11fe3478 tree bcf205e97e0952c5ab8461f0a6f97d2dca8f84cb parent 034888262eb8de1a91bc471d4e6d8173f6b3dbda author Christophe Lucas Mon, 20 Mar 2006 19:00:27 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:27 -0800 [IRDA]: pci_register_driver conversion This patch converts 2 IrDA drivers pci_module_init() calls to pci_register_driver(). Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 034888262eb8de1a91bc471d4e6d8173f6b3dbda tree 860de113ef7a983cdb6bb8ff3afc489971f32d3b parent 0ed79c9b7dea5cd9a55589a495cf96f00cd037d9 author David chosrova Mon, 20 Mar 2006 19:00:04 -0800 committer David S. Miller Mon, 20 Mar 2006 19:00:04 -0800 [IRDA]: sti/cli removal from EP7211 IrDA driver This patch replaces the deprecated sti/cli routines with the corresponding spin_lock ones. Signed-off-by: David chosrova Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 0ed79c9b7dea5cd9a55589a495cf96f00cd037d9 tree 8f4b0224cf320f5a16d354ce2a732e045de6d21a parent 3b99b93baba4cbf4fd3d206e65e81a070b21b560 author Jean Tourrilhes Mon, 20 Mar 2006 18:59:40 -0800 committer David S. Miller Mon, 20 Mar 2006 18:59:40 -0800 [IRDA]: nsc-ircc: support for yet another Thinkpad IrDA chipset This patch simply adds support for a variation of the nsc-ircc PC8739x chipset, found in some IBM Thinkpad laptops. Signed-off-by: Jean Tourrilhes Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 3b99b93baba4cbf4fd3d206e65e81a070b21b560 tree 7aa59a126614296b561b4d27bd92730a65fa188c parent ec4f32d550b94b4b66c9c7689bc09c6b32c8e82e author Dmitry Torokhov Mon, 20 Mar 2006 18:59:05 -0800 committer David S. Miller Mon, 20 Mar 2006 18:59:05 -0800 [IRDA]: nsc-ircc: PM update This patch brings the nsc-ircc code to a more up to date power management scheme, following the current device model. Signed-off-by: Dmitry Torokhov Signed-off-by: Rudolf Marek Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit ec4f32d550b94b4b66c9c7689bc09c6b32c8e82e tree b9eca8a87257ebf0585bc4817ec78c5cf98de47e parent 4277a083ecd2c8771058641132bcecea04ca6608 author Jean Tourrilhes Mon, 20 Mar 2006 18:54:03 -0800 committer David S. Miller Mon, 20 Mar 2006 18:54:03 -0800 [IRDA]: nsc-ircc: ISAPnP support This enables PnP support for the nsc-ircc chipset. Since we can't fetch the chipset cfg_base from the PnP layer, we just use the PnP information as one more hint when probing the chip. Signed-off-by: Jean Tourrilhes Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 4277a083ecd2c8771058641132bcecea04ca6608 tree c35d659c63fa4d64e2569e5eebd76e1b3fba9a15 parent a24276924875802853b5bdc12c56d29f1c1bbc79 author Patrick McHardy Mon, 20 Mar 2006 18:52:01 -0800 committer David S. Miller Mon, 20 Mar 2006 18:52:01 -0800 [NETLINK]: Add netlink_has_listeners for avoiding unneccessary event message generation Keep a bitmask of multicast groups with subscribed listeners to let netlink users check for listeners before generating multicast messages. Queries don't perform any locking, which may result in false positives, it is guaranteed however that any new subscriptions are visible before bind() or setsockopt() return. Signed-off-by: Patrick McHardy ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit a24276924875802853b5bdc12c56d29f1c1bbc79 tree 5725689bf434004143ae875bbfee3d3d29ddcdb0 parent c4b885139203d37f76662c37ae645fe8e0f4e4e5 author Patrick McHardy Mon, 20 Mar 2006 18:03:59 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:59 -0800 [NETFILTER]: ctnetlink: avoid unneccessary event message generation Avoid unneccessary event message generation by checking for netlink listeners before building a message. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c4b885139203d37f76662c37ae645fe8e0f4e4e5 tree 5cedf4d632b273df81bf1712b95dbc8b96cdc0e4 parent f2ffd9eeda82b476c034d733be08ecf6a87d2edf author Patrick McHardy Mon, 20 Mar 2006 18:03:40 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:40 -0800 [NETFILTER]: x_tables: replace IPv4/IPv6 policy match by address family independant version Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f2ffd9eeda82b476c034d733be08ecf6a87d2edf tree 05cbab3a8eb03184b7c924bb30ae7be0380336ad parent c49867347404c46f137a261643ed4fce4376f324 author Patrick McHardy Mon, 20 Mar 2006 18:03:16 -0800 committer David S. Miller Mon, 20 Mar 2006 18:03:16 -0800 [NETFILTER]: Move ip6_masked_addrcmp to include/net/ipv6.h Replace netfilter's ip6_masked_addrcmp by a more efficient version in include/net/ipv6.h to make it usable without module dependencies. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c49867347404c46f137a261643ed4fce4376f324 tree 0b561e2eae19b0073435a4a73df671eae878c30a parent 1c524830d0b39472f0278989bf1119750a5e234d author Patrick McHardy Mon, 20 Mar 2006 18:02:56 -0800 committer David S. Miller Mon, 20 Mar 2006 18:02:56 -0800 [NETFILTER]: x_tables: add xt_{match,target} arguments to match/target functions Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1c524830d0b39472f0278989bf1119750a5e234d tree 9c60dd1717ddf458f66c4a71cb41c3ef7186cdd3 parent 5d04bff096180f032de8b9b12153a8a1b4009b8d author Patrick McHardy Mon, 20 Mar 2006 18:02:15 -0800 committer David S. Miller Mon, 20 Mar 2006 18:02:15 -0800 [NETFILTER]: x_tables: pass registered match/target data to match/target functions This allows to make decisions based on the revision (and address family with a follow-up patch) at runtime. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5d04bff096180f032de8b9b12153a8a1b4009b8d tree 58aa8a8177b6d07cbce8b0c0bedeb23ecbde74d8 parent 7f9397138e297904bf1c717651183e785a01ff13 author Patrick McHardy Mon, 20 Mar 2006 18:01:58 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:58 -0800 [NETFILTER]: Convert x_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7f9397138e297904bf1c717651183e785a01ff13 tree 67b39ba381e8ffd2340d002a118252be0fc2e923 parent aa83c1ab4384c0905527c84e5135a56daa885834 author Patrick McHardy Mon, 20 Mar 2006 18:01:43 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:43 -0800 [NETFILTER]: Convert ip6_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit aa83c1ab4384c0905527c84e5135a56daa885834 tree 3bfacb7cf888e0d312a1a3ed2e9afff72db5b4f4 parent 1d5cd90976fa0d1cc21554b9d43f5c517323ebfc author Patrick McHardy Mon, 20 Mar 2006 18:01:28 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:28 -0800 [NETFILTER]: Convert arp_tables targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1d5cd90976fa0d1cc21554b9d43f5c517323ebfc tree 3eb43557a1d23c71ea41b91e4ee001ac43b8ba21 parent 3cdc7c953eb1e1e1d1b82adbd140bf3451c165b1 author Patrick McHardy Mon, 20 Mar 2006 18:01:14 -0800 committer David S. Miller Mon, 20 Mar 2006 18:01:14 -0800 [NETFILTER]: Convert ip_tables matches/targets to centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3cdc7c953eb1e1e1d1b82adbd140bf3451c165b1 tree 82d44723c94904d52fc5234eaaa505688bdf0dc3 parent 37f9f7334b86ffc3b8a1921842ae33cb9aa22ee3 author Patrick McHardy Mon, 20 Mar 2006 18:00:36 -0800 committer David S. Miller Mon, 20 Mar 2006 18:00:36 -0800 [NETFILTER]: Change {ip,ip6,arp}_tables to use centralized error checking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 37f9f7334b86ffc3b8a1921842ae33cb9aa22ee3 tree d207ae0a0f2eb37072dd4690de95b6cf170e4e04 parent 6ea46c9c12da79ec6eead0cf4b3114143dd30bc1 author Patrick McHardy Mon, 20 Mar 2006 17:59:06 -0800 committer David S. Miller Mon, 20 Mar 2006 17:59:06 -0800 [NETFILTER]: xt_tables: add centralized error checking Introduce new functions for common match/target checks (private data size, valid hooks, valid tables and valid protocols) to get more consistent error reporting and to avoid each module duplicating them. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6ea46c9c12da79ec6eead0cf4b3114143dd30bc1 tree ab5e54f8d365d5ae4645b72116cdf9a78a53249f parent f2ad52c9da2229d7f038d02139d21478b33b76b4 author Yasuyuki Kozakai Mon, 20 Mar 2006 17:58:44 -0800 committer David S. Miller Mon, 20 Mar 2006 17:58:44 -0800 [NETFILTER]: nf_conntrack: use ipv6_addr_equal in nf_ct_reasm Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f2ad52c9da2229d7f038d02139d21478b33b76b4 tree 8faeeb5dbd332e9bae28d12d6e54945d587db0fa parent 77ff72d528d5b9d30a47f42f364ba34d931f9da3 author Holger Eitzenberger Mon, 20 Mar 2006 17:58:21 -0800 committer David S. Miller Mon, 20 Mar 2006 17:58:21 -0800 [NETFILTER]: Fix CID offset bug in PPTP NAT helper debug message The recent (kernel 2.6.15.1) fix for PPTP NAT helper introduced a bug - which only appears if DEBUGP is enabled though. The calculation of the CID offset into a PPTP request struct is not correct, so that at least not the correct CID is displayed if DEBUGP is enabled. This patch corrects CID offset calculation and introduces a #define for that. Signed-off-by: Holger Eitzenberger Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 77ff72d528d5b9d30a47f42f364ba34d931f9da3 tree a222cdf545a9156da307d075f4645a235c030596 parent ba66c6e8b292997467128506f39fa6607e959050 author Andrea Bittau Mon, 20 Mar 2006 17:57:52 -0800 committer David S. Miller Mon, 20 Mar 2006 17:57:52 -0800 [DCCP] CCID2: Drop sock reference count on timer expiration and reset. There was a hybrid use of standard timers and sk_timers. This caused the reference count of the sock to be incorrect when resetting the RTO timer. The sock reference count should now be correct, enabling its destruction, and allowing the DCCP module to be unloaded. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo commit ba66c6e8b292997467128506f39fa6607e959050 tree d9c467ac7017b21b793442376080107b155c2afd parent dc808fe28db59fadf4ec32d53f62477fa28f3be8 author Ian McDonald Mon, 20 Mar 2006 17:56:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:56:56 -0800 [DCCP]: Set the default CCID according to kernel config selection Now CCID2 is the default, as stated in the RFC drafts, but we allow a config where just CCID3 is built, where CCID3 becomes the default. Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo commit dc808fe28db59fadf4ec32d53f62477fa28f3be8 tree 2d7033e5808a63d7fb1bddc452d1ec0b2f3d381a parent 0d36f37bb1e1cbadca6dc90a840bb2bc9ab51c44 author Harald Welte Mon, 20 Mar 2006 17:56:32 -0800 committer David S. Miller Mon, 20 Mar 2006 17:56:32 -0800 [NETFILTER] nf_conntrack: clean up to reduce size of 'struct nf_conn' This patch moves all helper related data fields of 'struct nf_conn' into a separate structure 'struct nf_conn_help'. This new structure is only present in conntrack entries for which we actually have a helper loaded. Also, this patch cleans up the nf_conntrack 'features' mechanism to resemble what the original idea was: Just glue the feature-specific data structures at the end of 'struct nf_conn', and explicitly re-calculate the pointer to it when needed rather than keeping pointers around. Saves 20 bytes per conntrack on my x86_64 box. A non-helped conntrack is 276 bytes. We still need to save another 20 bytes in order to fit into to target of 256bytes. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 0d36f37bb1e1cbadca6dc90a840bb2bc9ab51c44 tree 27856915643532cfa4346a4f4d95a92f11d5e009 parent 5d424d5a674f782d0659a3b66d951f412901faee author Michael Chan Mon, 20 Mar 2006 17:55:25 -0800 committer David S. Miller Mon, 20 Mar 2006 17:55:25 -0800 [BNX2]: include Include so that it compiles properly on all archs. Update version to 1.4.38. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 5d424d5a674f782d0659a3b66d951f412901faee tree 579871172044e02e626a90388d19ec55cf2d1fc4 parent 1d60290f27e7dc4bce2c43922d0bfa9abd246fc9 author John Heffner Mon, 20 Mar 2006 17:53:41 -0800 committer David S. Miller Mon, 20 Mar 2006 17:53:41 -0800 [TCP]: MTU probing Implementation of packetization layer path mtu discovery for TCP, based on the internet-draft currently found at . Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 1d60290f27e7dc4bce2c43922d0bfa9abd246fc9 tree fefe7222a552b8d54d2844fc4800c3a338ef356c parent 3fdfcc2c95ffc7ee04b480a4c1fd4809b5ff2f7c author Michael Chan Mon, 20 Mar 2006 17:50:08 -0800 committer David S. Miller Mon, 20 Mar 2006 17:50:08 -0800 [BNX2]: Update version Update version to 1.4.37. Add missing flush_scheduled_work() in bnx2_suspend as noted by Jeff Garzik. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 3fdfcc2c95ffc7ee04b480a4c1fd4809b5ff2f7c tree babe466f8679151b47f1da1b83377696ac134c05 parent 13daffa2f2ba65674e7816a0e95e7b93246cb686 author Michael Chan Mon, 20 Mar 2006 17:49:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:49 -0800 [BNX2]: Support larger rx ring sizes (part 2) Support bigger rx ring sizes (up to 1020) in the rx fast path. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 13daffa2f2ba65674e7816a0e95e7b93246cb686 tree 3170a19dfba530398d4f12e54a21400254fa98b1 parent 236b6394bb49ea58465c6f935a286d2342576f8d author Michael Chan Mon, 20 Mar 2006 17:49:20 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:20 -0800 [BNX2]: Support larger rx ring sizes (part 1) Increase maximum receive ring size from 255 to 1020 by supporting up to 4 linked pages of receive descriptors. To accomodate the higher memory usage, each physical descriptor page is allocated separately and the software ring that keeps track of the SKBs and the DMA addresses is allocated using vmalloc. Some of the receive-related fields in the bp structure are re- organized a bit for better locality of reference. The max. was reduced to 1020 from 4080 after discussion with David Miller. This patch contains ring init code changes only. This next patch contains rx data path code changes. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 236b6394bb49ea58465c6f935a286d2342576f8d tree e00c64b5dcb909e3e700021f6c2368af55f0641c parent 244ac4f446ac6a19caf5eb692c4844f29e6478bf author Michael Chan Mon, 20 Mar 2006 17:49:02 -0800 committer David S. Miller Mon, 20 Mar 2006 17:49:02 -0800 [BNX2]: Fix bug when rx ring is full Fix the rx code path that does not handle the full rx ring correctly. When the rx ring is set to the max. size (i.e. 255), the consumer and producer indices will be the same when completing an rx packet. Fix the rx code to handle this condition properly. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 244ac4f446ac6a19caf5eb692c4844f29e6478bf tree e181bcec9f657987b1a8c6a55af69ae5f5a81f0f parent 6b39777c5924b9db2406c5769a044da383782d0e author Michael Chan Mon, 20 Mar 2006 17:48:46 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:46 -0800 [BNX2]: Add ethtool -d support Add ETHTOOL_GREGS support. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 6b39777c5924b9db2406c5769a044da383782d0e tree 762d14bfd8ee734ae18c022b7a651ef1d73ee062 parent 2e2e4f5c996d577383c5cb584b153b39f4961155 author Michael Chan Mon, 20 Mar 2006 17:48:32 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:32 -0800 [BNX2]: Reduce register test size Eliminate some of the registers in ethtool register test to reduce driver size. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 2e2e4f5c996d577383c5cb584b153b39f4961155 tree 110fb5c1ffc2866dffc682a587174ffd25d0e193 parent bc1c756741b065cfebf850e4164c0e2aae9d527f author Michael Chan Mon, 20 Mar 2006 17:48:18 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:18 -0800 [TG3]: Update version and reldate Update version to 3.50. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit bc1c756741b065cfebf850e4164c0e2aae9d527f tree e462b85564a66b0c4f41e0d9f1ccde7c98ba00a9 parent 4e3a7aaa28db952392814f889dfbd25672266d29 author Michael Chan Mon, 20 Mar 2006 17:48:03 -0800 committer David S. Miller Mon, 20 Mar 2006 17:48:03 -0800 [TG3]: Support shutdown WoL. Support WoL during shutdown by calling tg3_set_power_state(tp, PCI_D3hot) during tg3_close(). Change the power state parameter to pci_power_t type and use constants defined in pci.h. Certain ethtool operations cannot be performed after tg3_close() because the device will go to low power state. Add return -EAGAIN in such cases where appropriate. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 4e3a7aaa28db952392814f889dfbd25672266d29 tree a82c9151a64951e8812b269dbb00b00b2f759ea3 parent d4d2c558fd3e1f5e386b153f194aa8f0be496c77 author Michael Chan Mon, 20 Mar 2006 17:47:44 -0800 committer David S. Miller Mon, 20 Mar 2006 17:47:44 -0800 [TG3]: Enable TSO by default Enable TSO by default on newer chips that support TSO in hardware. Leave TSO off by default on older chips that do firmware TSO because performance is slightly lower. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d4d2c558fd3e1f5e386b153f194aa8f0be496c77 tree 2cdabdb87525b94a5e80a993563538a64bec6d11 parent d15150f755bb468afe003d1afee0f45a2fc5eeeb author Michael Chan Mon, 20 Mar 2006 17:47:20 -0800 committer David S. Miller Mon, 20 Mar 2006 17:47:20 -0800 [TG3]: Add support for 5714S and 5715S Add support for 5714S and 5715S. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit d15150f755bb468afe003d1afee0f45a2fc5eeeb tree 68ad3da556162faaf63a7958c7906d30f2cea142 parent 2b191befe2c47c2f6e96b836a1f6054c9cbc4a0b author Adrian Bunk Mon, 20 Mar 2006 17:46:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:46:56 -0800 [IPV4] fib_rules.c: make struct fib_rules static again struct fib_rules became global for no good reason. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 2b191befe2c47c2f6e96b836a1f6054c9cbc4a0b tree e777b858f0b41aadec308989c1ae01174b1c083f parent afe00251dd9b53d51de91ff0099961f42bbf3754 author Jesper Juhl Mon, 20 Mar 2006 17:46:29 -0800 committer David S. Miller Mon, 20 Mar 2006 17:46:29 -0800 [IPCOMP6]: don't check vfree() argument for NULL. vfree does it's own NULL checking, so checking a pointer before handing it to vfree is pointless. Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit afe00251dd9b53d51de91ff0099961f42bbf3754 tree a56aa987140662cf3e6e65be402b8591298c5ced parent 2a91aa3967398fb94eccc8da67c82bce9f67afdf author Andrea Bittau Mon, 20 Mar 2006 17:43:56 -0800 committer David S. Miller Mon, 20 Mar 2006 17:43:56 -0800 [DCCP]: Initial feature negotiation implementation Still needs more work, but boots and doesn't crashes, even does some negotiation! 18:38:52.174934 127.0.0.1.43458 > 127.0.0.1.5001: request 18:38:52.218526 127.0.0.1.5001 > 127.0.0.1.43458: response 18:38:52.185398 127.0.0.1.43458 > 127.0.0.1.5001: :-) Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 2a91aa3967398fb94eccc8da67c82bce9f67afdf tree 62bf003487121bc629919c85810df11e52016b8f parent aa5d7df3b20e0e493e90e1151510ab3ae8366bb5 author Andrea Bittau Mon, 20 Mar 2006 17:41:47 -0800 committer David S. Miller Mon, 20 Mar 2006 17:41:47 -0800 [DCCP] CCID2: Initial CCID2 (TCP-Like) implementation Original work by Andrea Bittau, Arnaldo Melo cleaned up and fixed several issues on the merge process. For now CCID2 was turned the default for all SOCK_DCCP connections, but this will be remedied soon with the merge of the feature negotiation code. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit aa5d7df3b20e0e493e90e1151510ab3ae8366bb5 tree 1decadd46dd3d3dd88c9e812c46293398a79d1ab parent 9833d6da00c95e8a471411fb079da6b25787b05e author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:35:13 -0800 committer David S. Miller Mon, 20 Mar 2006 17:35:13 -0800 [DCCP] CCID3: Set the no_feedback_timer fields near init_timer Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9833d6da00c95e8a471411fb079da6b25787b05e tree 0d76b97beb3587723ad318fe0713193ebccb9374 parent d5e9b2c737ecaedae66e3dffdd0d92d2a189ec5c author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:34:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:34:53 -0800 [DCCP]: Don't alloc ack vector for the control sock Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d5e9b2c737ecaedae66e3dffdd0d92d2a189ec5c tree 6858af7c1f4fd2388b7b83085a66c2dd39b12d5f parent 411447019ab583c659600b0519db5658a2444f11 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:20:46 -0800 committer David S. Miller Mon, 20 Mar 2006 17:20:46 -0800 [DCCP] ackvec: Delete all the ack vector records in dccp_ackvec_free Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 411447019ab583c659600b0519db5658a2444f11 tree 3bf3e7c655c91097cead92c65334a4ebbb51906e parent 02bcf28c82c8e4b72c4b89bddbbb6fea1a646d07 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:20:23 -0800 committer David S. Miller Mon, 20 Mar 2006 17:20:23 -0800 [DCCP] CCID: Allow ccid_{init,exit} to be NULL Testing if the ccid being instantiated has these methods in ccid_init(). Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 02bcf28c82c8e4b72c4b89bddbbb6fea1a646d07 tree d70435d97b3454dcafb6decd6defd603fdf10f82 parent e229c2fb3370a0c4ebac06cad67ce1cb35abcfe6 author Andrea Bittau Mon, 20 Mar 2006 17:19:55 -0800 committer David S. Miller Mon, 20 Mar 2006 17:19:55 -0800 [DCCP] ackvec: Introduce ack vector records Based on a patch by Andrea Bittau. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit e229c2fb3370a0c4ebac06cad67ce1cb35abcfe6 tree fc7ceeeeea4397e06c6ee5cfb597ba0d441beeea parent 7b204afd45820fc21b5983205ad535c6b8088765 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:19:17 -0800 committer David S. Miller Mon, 20 Mar 2006 17:19:17 -0800 [LIST]: Introduce list_for_each_entry_from For iterating over list of given type continuing from existing point. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7b204afd45820fc21b5983205ad535c6b8088765 tree 4c81e006c51e7cf54a6969f6df71a3c45c2aa242 parent d8dcffee860d6b63996923b10f07c91d3d6c2fab author Robert Olsson Mon, 20 Mar 2006 17:18:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:18:53 -0800 [IPV4]: Use RCU locking in fib_rules. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit d8dcffee860d6b63996923b10f07c91d3d6c2fab tree a4b73c0d435b329f8522c380b22d9d4204a03f97 parent 9b07ef5ddaced1e822b1a1fb1da088eb15c45cb4 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:18:05 -0800 committer David S. Miller Mon, 20 Mar 2006 17:18:05 -0800 [LIST]: Introduce list_for_each_entry_safe_from For iterate over list of given type from existing point safe against removal of list entry. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9b07ef5ddaced1e822b1a1fb1da088eb15c45cb4 tree 57a33bb4ed32384a95e2c23d7039e8ed99c5b595 parent fa23e2ecd30a584cdcb9b3de0149dbb5c073c20b author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:16:17 -0800 committer David S. Miller Mon, 20 Mar 2006 17:16:17 -0800 [DCCP] ackvec: Introduce dccp_ackvec_slab Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fa23e2ecd30a584cdcb9b3de0149dbb5c073c20b tree 85fb7814b8e5dc7812b353161d06066bc593b79a parent 7400d781105d18bf5bba89f8b986a413f14144a8 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:16:01 -0800 committer David S. Miller Mon, 20 Mar 2006 17:16:01 -0800 [DCCP]: Fix error handling in dccp_init Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7400d781105d18bf5bba89f8b986a413f14144a8 tree 39bba6735fa99c5b2aa755b81c0cebc0ac901931 parent 0af5f6c1eba4a18e6b2ed518b589927d778c6c16 author Arnaldo Carvalho de Melo Mon, 20 Mar 2006 17:15:42 -0800 committer David S. Miller Mon, 20 Mar 2006 17:15:42 -0800 [DCCP] ackvec: Ditch dccpav_buf_len Simplifying the code a bit as we're always using DCCP_MAX_ACKVEC_LEN. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0af5f6c1eba4a18e6b2ed518b589927d778c6c16 tree ea905a47e7ce2dc2d5076076edc0bf641cf3691c parent 5ee956125a780baf15f2c1d09f2cbf8adcf598fe author Harald Welte Mon, 20 Mar 2006 17:15:11 -0800 committer David S. Miller Mon, 20 Mar 2006 17:15:11 -0800 [NETFILTER] nfnetlink_log: add sequence numbers for log events By using a sequence number for every logged netfilter event, we can determine from userspace whether logging information was lots somewhere downstream. The user has a choice of either having per-instance local sequence counters, or using a global sequence counter, or both. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 5ee956125a780baf15f2c1d09f2cbf8adcf598fe tree 195cfcef58dbd87c1cad337be08e69a8977d9224 parent 39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4 author Harald Welte Mon, 20 Mar 2006 17:14:12 -0800 committer David S. Miller Mon, 20 Mar 2006 17:14:12 -0800 [NETFILTER] NAT sequence adjustment: Save eight bytes per conntrack This patch reduces the size of 'struct ip_conntrack' on systems with NAT by eight bytes. The sequence number delta values can be int16_t, since we only support one sequence number modification per window anyway, and one such modification is not going to exceed 32kB ;) Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4 tree e604ee025c6711caca1bf6ec2a406197bf5be843 parent 77d2ca350018c507815f5d38a40ffb597eb9ae25 author David S. Miller Mon, 20 Mar 2006 17:13:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:13:49 -0800 [NET]: Do not lose accepted socket when -ENFILE/-EMFILE. Try to allocate the struct file and an unused file descriptor before we try to pull a newly accepted socket out of the protocol layer. Based upon a patch by Prassana Meda. Signed-off-by: David S. Miller commit 77d2ca350018c507815f5d38a40ffb597eb9ae25 tree b4c9ec7f0cc4accc2f9361d36d9a318fb1d9da50 parent ddd7bf9fe4e59afc0a041378f82b6e1aa88f714b author Patrick McHardy Mon, 20 Mar 2006 17:12:12 -0800 committer David S. Miller Mon, 20 Mar 2006 17:12:12 -0800 [NET]: Reduce size of struct sk_buff on 64 bit architectures Move skb->nf_mark next to skb->tc_index to remove a 4 byte hole between skb->nfmark and skb->nfct and another one between skb->users and skb->head when CONFIG_NETFILTER, CONFIG_NET_SCHED and CONFIG_NET_CLS_ACT are enabled. For all other combinations the size stays the same. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ddd7bf9fe4e59afc0a041378f82b6e1aa88f714b tree 98764adba1bae7d128d2e7db7d9fc1e2fe5826d8 parent b00055aacdb172c05067612278ba27265fcd05ce author Stefan Rompf Mon, 20 Mar 2006 17:11:41 -0800 committer David S. Miller Mon, 20 Mar 2006 17:11:41 -0800 [VLAN]: translate IF_OPER_DORMANT to netif_dormant_on() this patch adds support to the VLAN driver to translate IF_OPER_DORMANT of the underlying device to netif_dormant_on(). Beside clean state forwarding, this allows running independant userspace supplicants on both the real device and the stacked VLAN. It depends on my RFC2863 patch. Signed-off-by: Stefan Rompf Signed-off-by: David S. Miller commit b00055aacdb172c05067612278ba27265fcd05ce tree 4dbbee11b02d54cc0978113dfb07c53fdce17aa8 parent e843b9e1bec4a953d848a319da6a18ca5c667f55 author Stefan Rompf Mon, 20 Mar 2006 17:09:11 -0800 committer David S. Miller Mon, 20 Mar 2006 17:09:11 -0800 [NET] core: add RFC2863 operstate this patch adds a dormant flag to network devices, RFC2863 operstate derived from these flags and possibility for userspace interaction. It allows drivers to signal that a device is unusable for user traffic without disabling queueing (and therefore the possibility for protocol establishment traffic to flow) and a userspace supplicant (WPA, 802.1X) to mark a device unusable without changes to the driver. It is the result of our long discussion. However I must admit that it represents what Jamal and I agreed on with compromises towards Krzysztof, but Thomas and Krzysztof still disagree with some parts. Anyway I think it should be applied. Signed-off-by: Stefan Rompf Signed-off-by: David S. Miller commit e843b9e1bec4a953d848a319da6a18ca5c667f55 tree d16508cfd5cafa68eef4b635d2238db37c810201 parent 09c884d4c3b45cda904c2291d4723074ff523611 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:07:49 -0800 committer David S. Miller Mon, 20 Mar 2006 17:07:49 -0800 [IPV6]: ROUTE: Ensure to accept redirects from nexthop for the target. It is possible to get redirects from nexthop of "more-specific" routes. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 09c884d4c3b45cda904c2291d4723074ff523611 tree 90b893f1b83165d7088ecdead94085969e0a58ef parent e317da96227cef28a137e2d1ad790b23e518dd2b author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:07:03 -0800 committer David S. Miller Mon, 20 Mar 2006 17:07:03 -0800 [IPV6]: ROUTE: Add accept_ra_rt_info_max_plen sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e317da96227cef28a137e2d1ad790b23e518dd2b tree dfe27f9855eb80cacb381ed3012acdb4a4d9fd11 parent 70ceb4f53929f73746be72f73707cd9f8753e2fc author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:06:42 -0800 committer David S. Miller Mon, 20 Mar 2006 17:06:42 -0800 [IPV6]: ROUTE: Flag RTF_DEFAULT for Route Infomation for ::/0. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 70ceb4f53929f73746be72f73707cd9f8753e2fc tree e562929b0c800b0243e203587065e05323baba59 parent 52e1635631b342803aecaf81a362c1464e3da2e5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:06:24 -0800 committer David S. Miller Mon, 20 Mar 2006 17:06:24 -0800 [IPV6]: ROUTE: Add experimental support for Route Information Option in RA (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 52e1635631b342803aecaf81a362c1464e3da2e5 tree 971c40743f7fcb594697dd18d22e2d8b168d1785 parent 930d6ff2e2a5f1538448d3b0b2652a8f0c0f6cba author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:47 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:47 -0800 [IPV6]: ROUTE: Add router_probe_interval sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 930d6ff2e2a5f1538448d3b0b2652a8f0c0f6cba tree 0ea6ca2d6d04c13bf05100a70a4a21d7cd6eeb82 parent 270972554c91acd29412d8b6a10e606041012106 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:30 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:30 -0800 [IPV6]: ROUTE: Add accept_ra_rtr_pref sysctl. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 270972554c91acd29412d8b6a10e606041012106 tree 1d8f563c5c79ccd805d3ab8c5acfe1ceb73b08db parent ebacaaa0fdf4402cdf4c8e569f54af36b6f0aa2d author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:05:13 -0800 committer David S. Miller Mon, 20 Mar 2006 17:05:13 -0800 [IPV6]: ROUTE: Add Router Reachability Probing (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit ebacaaa0fdf4402cdf4c8e569f54af36b6f0aa2d tree 5d1cc0c6d94b5226507434bb86e6e2a69fdd4204 parent 8238dd0698b480e432acd955c45f9f907b8d27de author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:04:53 -0800 committer David S. Miller Mon, 20 Mar 2006 17:04:53 -0800 [IPV6]: ROUTE: Add support for Router Preference (RFC4191). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 8238dd0698b480e432acd955c45f9f907b8d27de tree eafb3c6dd86a383e4369cf24dbec295b86050031 parent bb133964e036c4aaf773244468d589c024e7b399 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:04:35 -0800 committer David S. Miller Mon, 20 Mar 2006 17:04:35 -0800 [IPV6]: ROUTE: Handle finding the next best route in reachability in BACKTRACK(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit bb133964e036c4aaf773244468d589c024e7b399 tree 89ea37ebe290855fab314358f8ad32223e569fba parent 1ddef044ed9dd6c7c23562d1140522e28de888a5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:43 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:43 -0800 [IPV6]: ROUTE: Try finding the next best route. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 1ddef044ed9dd6c7c23562d1140522e28de888a5 tree 22b288e5be9e258e75f131760a689064ee63ecd0 parent 118f8c1654b8f2e79fa0eb8b2d84283ab62a5498 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:24 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:24 -0800 [IPV6]: ROUTE: Clean up rt6_select() code path in ip6_route_{intput,output}(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 118f8c1654b8f2e79fa0eb8b2d84283ab62a5498 tree 50520da4c8ea580408b04d4e6ecd95c766c90d78 parent 045927ff84c340da5442543e87be988fcde5a283 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:01:06 -0800 committer David S. Miller Mon, 20 Mar 2006 17:01:06 -0800 [IPV6]: ROUTE: Try selecting better route for non-default routes as well. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 045927ff84c340da5442543e87be988fcde5a283 tree fc8d51e6fc9a17915c6eeca727aa64952f67002c parent 554cfb7ee5d4f2d0edb280e66e4a2db1906a8300 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:48 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:48 -0800 [IPV6]: ROUTE: More strict check for default routers in rt6_get_dflt_router(). Check RTF_ADDRCONF|RTF_DEFAULT in rt6_get_dflt_router(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 554cfb7ee5d4f2d0edb280e66e4a2db1906a8300 tree 586bca2143a23157ac2619b1c211144662ddf8f3 parent 519fbd8715ce6413ec8e122bf02f09b0e49d3ca5 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:26 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:26 -0800 [IPV6]: ROUTE: Eliminate lock for default route pointer. And prepare for more advanced router selection. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 519fbd8715ce6413ec8e122bf02f09b0e49d3ca5 tree fc5d83e8beb12dc74b9f83897ec227b4837dca96 parent e40cf3533c712b941d4c8ebb3eca892d55c32c34 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 17:00:05 -0800 committer David S. Miller Mon, 20 Mar 2006 17:00:05 -0800 [IPV6]: ROUTE: Clean-up cow'ing in ip6_route_{intput,output}(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e40cf3533c712b941d4c8ebb3eca892d55c32c34 tree c70e06da96263fdcb908ef9d654a69d33cb52ff1 parent fb9de91ea8035b99757d9f8a04aa058c982c361b author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:59:27 -0800 committer David S. Miller Mon, 20 Mar 2006 16:59:27 -0800 [IPV6]: ROUTE: Convert rt6_cow() to rt6_alloc_cow(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit fb9de91ea8035b99757d9f8a04aa058c982c361b tree b488041038178a407d2f413838677c226da35607 parent d5315b500b68ea921fe05fe2cbc06bcae90ff615 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:59:08 -0800 committer David S. Miller Mon, 20 Mar 2006 16:59:08 -0800 [IPV6]: ROUTE: Clean up reference counting / unlocking for returning object. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit d5315b500b68ea921fe05fe2cbc06bcae90ff615 tree c3d063529dd6b41c81e4499e8bbd095e0c0833e9 parent 299d9939089126f764090a202f2d6c69934bcf66 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:58:48 -0800 committer David S. Miller Mon, 20 Mar 2006 16:58:48 -0800 [IPV6]: ROUTE: Unify two code paths for pmtu disc. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 299d9939089126f764090a202f2d6c69934bcf66 tree 935527062a094537c66a82808e86a806abed4608 parent 76f9edd17d90e11ef04d20fe457dd172fe8157a6 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:58:32 -0800 committer David S. Miller Mon, 20 Mar 2006 16:58:32 -0800 [IPV6]: ROUTE: Add rt6_alloc_clone() for cloning route allocation. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 76f9edd17d90e11ef04d20fe457dd172fe8157a6 tree 96226496033036fd26eb27393b0ca4d17274fb61 parent a1e783634a64d002c58391cf8150fcb80856a4fe author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:56:50 -0800 committer David S. Miller Mon, 20 Mar 2006 16:56:50 -0800 [IPV6]: ROUTE: Copy u.dst.error for RTF_REJECT routes when cloning. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit a1e783634a64d002c58391cf8150fcb80856a4fe tree 0dab259fd401c90b320dbc1832385315b1742f25 parent 95a9a5ba0219a4d4237fb39703bfa58626c6fe72 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:56:32 -0800 committer David S. Miller Mon, 20 Mar 2006 16:56:32 -0800 [IPV6]: ROUTE: Set appropriate information before inserting a route. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 95a9a5ba0219a4d4237fb39703bfa58626c6fe72 tree 005fb501c7561e3028ae7a3865dd2afc16c59fc2 parent c4fd30eb18666972230689eb30e8f90844bce635 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:51 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:51 -0800 [IPV6]: ROUTE: Split up rt6_cow() for future changes. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit c4fd30eb18666972230689eb30e8f90844bce635 tree f1b8daddeb21d7d1390fa1ae820bf2b5ffa8d276 parent 65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:26 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:26 -0800 [IPV6]: ADDRCONF: Add accept_ra_pinfo sysctl. This controls whether we accept Prefix Information in RAs. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 tree fb61c9f73577a7fec29b11039d1434b972796d8b parent 073a8e0e154c1c440e0b33aaa887473d5cc843f4 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:55:08 -0800 committer David S. Miller Mon, 20 Mar 2006 16:55:08 -0800 [IPV6]: ROUTE: Add accept_ra_defrtr sysctl. This controls whether we accept default router information in RAs. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 073a8e0e154c1c440e0b33aaa887473d5cc843f4 tree eb7983e9977b153c3ee67864aca9cc5fedba8194 parent 955189efb44742890f33c91df478877af25246da author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:54:49 -0800 committer David S. Miller Mon, 20 Mar 2006 16:54:49 -0800 [IPV6]: ADDRCONF: Split up ipv6_generate_eui64() by device type. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 955189efb44742890f33c91df478877af25246da tree 7e98451f91422ad33bc8f4df62cb8166317b9796 parent 955aaa2fe39e21e49521449c09548ce1ba501010 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:54:09 -0800 committer David S. Miller Mon, 20 Mar 2006 16:54:09 -0800 [IPV6]: ADDRCONF: Use our standard algorithm for randomized ifid. RFC 3041 describes an algorithm to generate random interface identifier. In RFC 3041bis, it is allowed to use different algorithm than one described in RFC 3041. So, let's use our standard pseudo random algorithm to simplify our implementation. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 955aaa2fe39e21e49521449c09548ce1ba501010 tree e067beca9678350ad0f209d7406f3dcfa43394fd parent 74a3a0ed9096ba9feffc7e44f2a2c37d968bc6d1 author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:52:52 -0800 committer David S. Miller Mon, 20 Mar 2006 16:52:52 -0800 [NET]: NEIGHBOUR: Ensure to record time to neigh->updated when neighbour's state changed. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 74a3a0ed9096ba9feffc7e44f2a2c37d968bc6d1 tree 932bfb5e207cb91a1a87f45c26010dd9f7d804fb parent c4a1745aa09fc110afdefea0e5d025043e348bae author YOSHIFUJI Hideaki Mon, 20 Mar 2006 16:51:48 -0800 committer David S. Miller Mon, 20 Mar 2006 16:51:48 -0800 [IPV6]: TUNNEL6: Don't try to add multicast route twice. Since addrconf_add_dev() has already called addrconf_add_mroute() to added route for multicast prefix, there's no point to call it again in addrconf_ip6_tnl_config(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit cd85f6e2f58282186ad720fc18482be228f0b972 tree 3722bbb4fc19a7ce41178a8c08d36b803610b03e parent 29b2548bf53ffb810394a2110161ef49f8e4780f author Jeff Garzik Mon, 20 Mar 2006 19:49:54 -0500 committer Jeff Garzik Mon, 20 Mar 2006 19:49:54 -0500 [libata] sata_mv: fix irq port status usage Interrupt handler did not properly initialize a variable on a per-port basis, leading to incorrect behavior on ports other than port 0. Bug caught and fixed by Mark Lord. Signed-off-by: Jeff Garzik commit 71a8924bee63d891f6256d560e32416a458440b3 tree 2c70a36dc689f01bb28dc3e850113ab0a49c3c95 parent e9a66c64bb7033cb0180d419b2008acf7a141adc author Greg Kroah-Hartman Mon, 20 Mar 2006 17:28:39 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB: omninet: fix up debugging comments Signed-off-by: Greg Kroah-Hartman commit e9a66c64bb7033cb0180d419b2008acf7a141adc tree f5adde064f836c753ec4ae471540dbf539c22802 parent da81817fbd744ce70983f1d3c61841265003c7f4 author Greg Kroah-Hartman Fri, 17 Mar 2006 17:40:08 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB serial: add navman driver Thanks to Warren Lewis for the information needed to write the driver and for testing it out. Signed-off-by: Greg Kroah-Hartman commit da81817fbd744ce70983f1d3c61841265003c7f4 tree 6df199268afd7293c86bc06699db11644b5bddfd parent 09abfa8048de8e68eaa09eb07ac18f2d549dfe58 author Eugene Teo Wed, 15 Mar 2006 14:57:19 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:03 -0800 [PATCH] USB: Fix irda-usb use after use Don't read from free'd memory after calling netif_rx(). docopy is used as a boolean (0 and 1) so unsigned int is sufficient. Coverity bug #928 Signed-off-by: Eugene Teo Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 09abfa8048de8e68eaa09eb07ac18f2d549dfe58 tree e77d50458954873e91c3a4ea1bf2be2a27e36257 parent bf58fbd5e86a43466e638407ff8a4eb7766a3b68 author Petko Manolov Wed, 15 Mar 2006 16:29:38 +0200 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: rtl8150 small fix This one is about announcing the device registration after the last check has been made. From: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit bf58fbd5e86a43466e638407ff8a4eb7766a3b68 tree 5f7910e45218b8b32ee11d84a90ab72376ba157d parent 59224f5352542b968c41200954e56c26c4f0a075 author A. Maitland Bottoms Tue, 14 Mar 2006 18:44:23 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: ftdi_sio: add Icom ID1 USB product and vendor ids The Icom ID-1 1.2 GHz band digital transceiver is a new radio that has a USB interface. With this patch, the ftdi_sio driver will report "Detected FT8U232AM" and provide a serial device interface. Signed-off-by: "A. Maitland Bottoms" Signed-off-by: Greg Kroah-Hartman commit 59224f5352542b968c41200954e56c26c4f0a075 tree 27c66d0a03c4232d8d89c6a3784f84c7bab7c99f parent 24f8b116c45e46779dec553f934c3d74f79c06fb author Craig Shelley Sat, 11 Mar 2006 11:29:02 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: cp2101: add new device IDs This patch adds a new device ID to the cp2101 driver Signed-off-by: Craig Shelley Signed-off-by: Greg Kroah-Hartman commit 24f8b116c45e46779dec553f934c3d74f79c06fb tree cc6c86511c5b98b702fa86e857a2359dacdebab2 parent f88f8295d8a9229fc8b647baf4f15959384d7bb7 author Horst Schirmeier Sat, 11 Mar 2006 00:16:55 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: fix check_ctrlrecip to allow control transfers in state ADDRESS check_ctrlrecip() disallows any control transfers if the device is deconfigured (in configuration 0, ie. state ADDRESS). This for example makes it impossible to read the device descriptors without configuring the device, although most standard device requests are allowed in this state by the spec. This patch allows control transfers for the ADDRESS state, too. Signed-off-by: Horst Schirmeier Cc: Alan Stern Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit f88f8295d8a9229fc8b647baf4f15959384d7bb7 tree 6d8ad61b935f9dd9d7ef0ce40898bd7df96476d0 parent 6e0755a4b2a41a8cd5839db69532d07262294b41 author Adrian Bunk Fri, 10 Mar 2006 23:25:06 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:02 -0800 [PATCH] USB: vicam.c: fix a NULL pointer dereference This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 6e0755a4b2a41a8cd5839db69532d07262294b41 tree e180c082ba1b05f525a90ee6f1ea51543f710a5d parent 2e56222ed52cec40427fa89f23b228232e3e327e author Luca Risolia Fri, 03 Mar 2006 09:58:39 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: ZC0301 driver bugfix ZC0301 driver bugfix. Use correct PID/VID USB entries. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 2e56222ed52cec40427fa89f23b228232e3e327e tree 353d9cb1b95b801c881e35c877b55f35e65f3505 parent 9d5847bc1a3977fbfb4057aad41458df89792309 author Wolfgang Rohdewald Wed, 08 Mar 2006 16:59:44 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: add support for Creativelabs Silvercrest USB keyboard Signed-off-by: Wolfgang Rohdewald Signed-off-by: Greg Kroah-Hartman commit 9d5847bc1a3977fbfb4057aad41458df89792309 tree 2590c13cc86d228b14e54c6354c525869e6358be parent 23b7885d50c5f5fe6dca93d4b0913f6e7b878dad author Rodolfo Quesada Mon, 06 Mar 2006 10:45:42 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: new unusual_devs.h entry: Mitsumi 7in1 Card Reader This patch (as661) adds an unusual_devs entry for the Mitsumi 7in1 Card Reader. From: Rodolfo Quesada Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 23b7885d50c5f5fe6dca93d4b0913f6e7b878dad tree f3c470635bfd1169fa479546e6677d440e733fb8 parent c713c973fb4bfdb22cce488cca4f9f8006ed58ce author Pete Zaitcev Sun, 05 Mar 2006 21:45:44 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: unusual_devs.h entry 0420:0001 Ref https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176584 Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit c713c973fb4bfdb22cce488cca4f9f8006ed58ce tree 591efd2505869744112d532f115daccca853581b parent 1e7a5a84e407dfa20813a7f55413be8193ee5380 author Pete Zaitcev Sun, 05 Mar 2006 21:43:40 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: another unusual_devs.h entry Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 1e7a5a84e407dfa20813a7f55413be8193ee5380 tree f0847f4157b922e185e7b4953a2557c62270bf09 parent b712548c5d88f2e4672f8482c3904e8c5728dbf1 author Phil Dibowitz Sun, 05 Mar 2006 21:36:51 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: storage: sandisk unusual_devices entry The following adds an unusual_devs entry for the SanDisk ImageMate CompactFlash USB drive, for the US_FL_FIX_CAPACITY flag. Additionally, it removes trailing whitespace from the previous entry. It's based on the patch sent by Roman Hodek . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit b712548c5d88f2e4672f8482c3904e8c5728dbf1 tree fcbfc07f2c753dbd931ee22ec0e0155a7819d5a2 parent f48219db93eaee644e9fd9f22fb6421f38059cc5 author Greg Kroah-Hartman Fri, 17 Mar 2006 17:40:08 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: fix initdata issue in isp116x-hcd As found by Sam's scripts. Cc: Sam Ravnborg Cc: David Brownell Signed-off-by: Greg Kroah-Hartman commit f48219db93eaee644e9fd9f22fb6421f38059cc5 tree df29efdc95c79a57ff31b7d768c739da0e8ba6bc parent 6aa35675bbc370e5f11baae7e01a9ab255d8030c author Horst Schirmeier Thu, 09 Mar 2006 14:10:49 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) When trying to deconfigure a device via usb_set_configuration(dev, 0), 2.6.16-rc kernels after 55c527187c9d78f840b284d596a0b298bc1493af oops with "Unable to handle NULL pointer dereference at...". This is due to an unchecked dereference of cp in the power budget part. Signed-off-by: Horst Schirmeier Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6aa35675bbc370e5f11baae7e01a9ab255d8030c tree f42b4adac70483f90bcb3c4de9c4d5db964cf43a parent 11a223ae3b86b94391774512e5671600367a305c author Alan Stern Wed, 08 Mar 2006 15:14:09 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:01 -0800 [PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces In a couple of places, usbcore assumes that a USB device configuration will have a nonzero number of interfaces. Having no interfaces may or may not be allowed by the USB spec; in any event we shouldn't die if we encounter such a thing. This patch (as662) removes the assumptions. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 11a223ae3b86b94391774512e5671600367a305c tree e9aca74eb4127e6f3fc0646f7fd64cc224263756 parent 952ba222962bf3fb1336f139f1049030153cae55 author Pete Zaitcev Thu, 02 Mar 2006 16:53:00 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 03 drop stall clearing Matt mentioned that a very old ZIP-100 actually does need this, but I am yet to see anyone who actually has one still working and uses ub with it. He/she must be a retrocomputing geek, who can easily bias it to usb-storage with libusual, if needed. Meanwhile, common folks have trouble with poorly designed USB keys and some el-cheapo European music players. I think we better drop this for now. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 952ba222962bf3fb1336f139f1049030153cae55 tree e795fb8717b42fe7761829fb94fc02e2d562eb63 parent 4d69581929b8f8836f806bcc320b19ed886e9517 author Pete Zaitcev Thu, 02 Mar 2006 16:42:59 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 02 remove diag Remove the "diag" file from the sysfs. The usbmon is good enough these days so I do not need this feature anymore. Also, sysfs is a pain. Al Viro caught a race in this, which I thought too bothersome to fix. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 4d69581929b8f8836f806bcc320b19ed886e9517 tree bc25e86dd34b8c164a62ad47d9d04b470e27b59a parent ae55717584431761b70215d3d574c13fe97093f2 author Pete Zaitcev Thu, 02 Mar 2006 16:36:09 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ub 01 remove first_open The first_open was long overdue for removal, but I wanted to keep this separate for other changes in case of regressions. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit ae55717584431761b70215d3d574c13fe97093f2 tree adbda118e9f5c8e0179b07e3cfa714f08405f8bb parent 491b04ce1c9adfa0cd73f095086f3c37da81b667 author Alan Stern Tue, 28 Feb 2006 10:16:12 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: UHCI: Increase port-reset completion delay for HP controllers This patch (as657) increases the port-reset completion delay in uhci-hcd for HP's embedded controllers. Unlike other UHCI controllers, the HP chips can take as long as 250 us to carry out the processing associated with finishing a port reset. This fixes Novell bug #148761. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 491b04ce1c9adfa0cd73f095086f3c37da81b667 tree fb5aaee71d28c3f950055129f2c92a1755f61bda parent 96050b11f690878c19c1cd39970ab7325d91e18b author Dick Streefland Wed, 01 Mar 2006 00:53:33 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: support for USB-to-serial cable from Speed Dragon Multimedia The USB data cable for my Samsung GSM phone contains the USB-to-serial converter chip MS3303H from Speed Dragon Multimedia, Inc. that appears to be compatible with the PL2303 chip. The following patch adds support for this chip to the pl2303 driver. Signed-off-by: Dick Streefland Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 96050b11f690878c19c1cd39970ab7325d91e18b tree b89853fd019eb3c0ded4dfbe612a816cc90346d5 parent a5c44e29e5637b5e6fe59d225eb4f438688b3849 author Julian Bradfield Wed, 01 Mar 2006 10:19:44 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: PL2303 and TIOCMIWAIT A while ago, I posted about TIOCMIWAIT not working with the PL2303 USB-serial adapter. After a brief exchange with Greg, I tracked this to a missing wake-up in the USB interrupt procedures. I got our systems staff to install the enclosed very simple patch to our 2.6.12 kernels, and it all works fine as expected. I guess this should also apply to the latest version and go into the mainstream. Apologies for the long delay in posting the result. The routine being patched is pl2303_update_line_status Signed-off-by: Julian Bradfield Signed-off-by: Greg Kroah-Hartman commit a5c44e29e5637b5e6fe59d225eb4f438688b3849 tree 1a39af521d6be62c57f1bc39083a95aaf6eac67d parent a847423905c6a8ccd6671d05f5877d893d10cd9f author Lonnie Mendez Wed, 01 Mar 2006 10:45:24 -0600 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable This patch adds support for the Nokia ca42 version 2 cable to the cypress_m8 driver. The device was tested by others with this patch and found to be compatible with the cypress_m8 driver. A special note should be taken that this cable seems to vary in the type of chipset used. This patch supports the cable with product id 0x4101. Signed-off-by: Lonnie Mendez Signed-off-by: Greg Kroah-Hartman commit a847423905c6a8ccd6671d05f5877d893d10cd9f tree ca7a67a3f37889bf7c612d246fa5173dfbef320a parent ccad7789d5e557644d1c866b018394872af0ec5b author Luca Risolia Sat, 25 Feb 2006 06:57:49 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:50:00 -0800 [PATCH] USB: ZC0301 driver updates ZC0301 driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Need usb_get|put_dev() when disconnecting, if the device is open * Cleanups and updates in the documentation + Use per-device sensor structures + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit ccad7789d5e557644d1c866b018394872af0ec5b tree c3894cc5b75fe11b4db85229927591387aa332a8 parent 2ffab02fea5880da284dc5511479b25a796a8dee author Luca Risolia Sat, 25 Feb 2006 06:54:18 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: ET61X[12]51 driver updates USB: ET61X[12]51 driver updates Changes: + new, - removed, * cleanup, @ bugfix @ Fix stream_interrupt() @ Fix vidioc_enum_input() and split vidioc_gs_input() @ Need usb_get|put_dev() when disconnecting, if the device is open * Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames * replace wake_up_interruptible(&wait_stream) with wake_up(&wait_stream) * Cleanups and updates in the documentation * Use mutexes instead of semaphores + Use per-device sensor structures + Add support for PAS202BCA image sensors + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 2ffab02fea5880da284dc5511479b25a796a8dee tree b94481244ae823598d06cd72472b9c76e9639bd1 parent 7039f4224d4e40b06308d5c1a97427af1a142459 author Luca Risolia Sat, 25 Feb 2006 06:50:47 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: SN9C10x driver updates SN9C10x driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Fix stream_interrupt() @ Fix vidioc_enum_input() and split vidioc_gs_input() @ Need usb_get|put_dev() when disconnecting, if the device is open * Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames * replace wake_up_interruptible(&wait_stream) with wake_up(&wait_stream) * Cleanups and updates in the documentation + Use per-device sensor structures + Add support for PAS202BCA image sensors + Add frame_timeout module parameter Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 7039f4224d4e40b06308d5c1a97427af1a142459 tree 4529171195b1008e8615bb4b39a129ddda463b16 parent 80b6ca48321974a6566a1c9048ba34f60420bca6 author Eric Sesterhenn Mon, 27 Feb 2006 13:34:10 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: kzalloc() conversion in drivers/usb/gadget this patch converts drivers/usb to kzalloc usage. Compile tested with allyes config. I think there was a bug in drivers/usb/gadget/inode.c because it used sizeof(*data) for the kmalloc() and sizeof(data) for the memset(), since sizeof(data) just returns the size for a pointer. Signed-off-by: Eric Sesterhenn Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 80b6ca48321974a6566a1c9048ba34f60420bca6 tree a350e3cf6b794081c13c89d5b1913b2c1207570d parent d54a5cb6484705f7808b337917cc7598f2f971c3 author Eric Sesterhenn Mon, 27 Feb 2006 21:29:43 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: kzalloc() conversion for rest of drivers/usb Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit d54a5cb6484705f7808b337917cc7598f2f971c3 tree 519c06b06f5173d6968c47db0548082a7056129b parent 9e47a52bf36fa4a24f56f878f4ca57eb885c78dd author Luca Risolia Wed, 08 Feb 2006 00:50:59 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: CREDITS: Add credits about the ZC0301 and ET61X[12]51 USB drivers This patch adds credits about the ZC0301 and ET61X[12]51 USB drivers which have been included in the mainline kernel recently. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit 9e47a52bf36fa4a24f56f878f4ca57eb885c78dd tree 366b55f9a85f80d3bd2877d498d0fae2034419b1 parent addf36fec058691f7ba4f95b5487d140f4a86f5a author Luca Risolia Wed, 08 Feb 2006 00:05:27 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:59 -0800 [PATCH] USB: ZC0301 driver updates "Cosmetic" driver updates for the ZC0301 driver: - Fix stream_interrupt() (and work around a possible kernel bug); - Fix vidioc_enum_input() and split vidioc_gs_input() in two parts; - Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames; - replace erroneous wake_up_interruptible(&wait_stream) with wake_up(&wait_stream); - Cosmetic cleanups in the documentation. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit addf36fec058691f7ba4f95b5487d140f4a86f5a tree ae9093018c1bc2fc963ea564ecb0c02a9ea4f58c parent 1afc64a3d68174fe524f11d92e045a30eacc927e author Matthew Martin Wed, 15 Feb 2006 15:41:25 -0600 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: Fix warning in drivers/usb/media/ov511.c Gcc 4.0.2 had the warning: drivers/usb/media/ov511.c: In function 'show_exposure': drivers/usb/media/ov511.c:5642: warning: 'exp' may be used uninitialized in this function Here is the patch to fix that warning. Signed-off-by: Matthew Martin Signed-off-by: Greg Kroah-Hartman commit 1afc64a3d68174fe524f11d92e045a30eacc927e tree 04b9889b1a606b27ed9d91923f09031ef566ab73 parent 329af28b141ab4ae847aff1362864c4cc332641f author Aras Vaichas Sat, 18 Feb 2006 12:31:23 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: ethernet gadget driver section fixups This patch allows you to set the iSerialNumber field in the usb_device_descriptor structure for your USB ethernet gadget. It also changes the parameters shown through sysfs so they're no longer declared as __initdata, preventing potential oopses. That's most useful for the Ethernet addresses, which may in some cases be random "locally administered" addresses. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 329af28b141ab4ae847aff1362864c4cc332641f tree c4871a6065ed635998204efef0a63fda8c3dbfcc parent 43c5d5aaafef56618a6efbcab7f91615da1a8659 author David Brownell Sat, 18 Feb 2006 12:31:05 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB: gadget driver section fixups This adds __init section annotations to gadget driver bind() routines to remove calls from .text into .init sections (for endpoint autoconfig). Likewise it adds __exit section annotations to their unbind() routines. The specification of the gadget driver register/unregister functions is updated to explicitly allow use of those sections. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 43c5d5aaafef56618a6efbcab7f91615da1a8659 tree f3b0203e803b4b03a976cd3c8cb4d02f974e0f87 parent 6a8e87b23ff4a979bde5451a242466a4b3f9fe7d author Alan Stern Wed, 01 Feb 2006 10:47:11 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] usbcore: fix compile error with CONFIG_USB_SUSPEND=n This patch (as647) fixes a small error introduced by a recent change to the USB core suspend/resume code. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6a8e87b23ff4a979bde5451a242466a4b3f9fe7d tree 3b3da90cdf42c363fbd6270c58dd21811b8e3004 parent 1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f author Alan Stern Thu, 19 Jan 2006 10:46:27 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] USB core and HCDs: don't put_device while atomic This patch (as640) removes several put_device and the corresponding get_device calls from the USB core and HCDs. Some of the puts were done in atomic contexts, and none of them are needed since the core now guarantees that every endpoint will be disabled and every URB completed before a USB device is released. Signed-off-by: Alan Stern Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f tree da25ea484bed1ce0f9ff3e2d2f485ca5980a8864 parent dbf4fcad62467ce1bd6966292b6850fc7a210e0b author Alan Stern Tue, 31 Jan 2006 10:02:55 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:58 -0800 [PATCH] uhci-hcd: fix mistaken usage of list_prepare_entry A recent update to the uhci-hcd driver invoked the list_prepare_entry macro incorrectly. This patch (as646) corrects it. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit dbf4fcad62467ce1bd6966292b6850fc7a210e0b tree 4b8da787d4f54fbd442a18a93658e3e5dd7ce176 parent 8d402e1ae03656c1ad215514f8885ef4793f0948 author Alan Stern Tue, 20 Dec 2005 09:58:08 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: Don't log short transfers Even when the URB_SHORT_NOT_OK flag is set, a short transfer shouldn't generate a debugging log message. Especially not one with the confusing claim that the transfer "failed with status 0". This patch (as627) fixes that behavior in uhci-hcd. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8d402e1ae03656c1ad215514f8885ef4793f0948 tree ceac7800d7e07be1a7320a0b729156b12fbf26d6 parent 0ed8fee1c1d38a62e981025ba40b5eba30c4ce2a author Alan Stern Sat, 17 Dec 2005 18:03:37 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: improve debugging code This patch (as626) makes some improvements to the debugging code in uhci-hcd. The main change is that now the code won't get compiled if CONFIG_USB_DEBUG isn't set. But there are other changes too, like adding a missing .owner field and printing a debugging dump if the controller dies. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0ed8fee1c1d38a62e981025ba40b5eba30c4ce2a tree 5f006afb273d5657251c49ae7144f669db9ed05d parent af0bb5998abe8ed28ee354dd4c71689cacdc91e9 author Alan Stern Sat, 17 Dec 2005 18:02:38 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: remove main list of URBs As part of reorienting uhci-hcd away from URBs and toward endpoint queues, this patch (as625) eliminates the driver's main list of URBs. The list wsa used mainly in checking for URB completions; now the driver goes through the list of active endpoints and checks the members of the queues. As a side effect, I had to remove the code that looks for FSBR timeouts. For now, FSBR will remain on so long as any URBs on a full-speed control or bulk queue request it, even if the queue isn't advancing. A later patch can add more intelligent handling. This isn't a huge drawback; it's pretty rare for an URB to get stuck for more than a fraction of a second. (And it will help the people trying to use those insane HP USB devices.) Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit af0bb5998abe8ed28ee354dd4c71689cacdc91e9 tree 20172dd9551d0e2497ef4b6dff1a84f010f981ab parent dccf4a48d47120a42382ba526f1a0848c13ba2a4 author Alan Stern Sat, 17 Dec 2005 18:00:12 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: use dummy TDs This patch (as624) fixes a hardware race in uhci-hcd by adding a dummy TD to the end of each endpoint's queue. Without the dummy the host controller will effectively turn off the queue when it reaches the end, which happens asynchronously. This leads to a potential problem when new transfer descriptors are added to the end of the queue; they may never get used. With a dummy TD present the controller never turns off the queue; instead it just stops at the dummy and leaves the queue on but inactive. When new TDs are added to the end of the queue, the first new one gets written over the dummy. Thus there's never any question about whether the queue is running or needs to be restarted. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit dccf4a48d47120a42382ba526f1a0848c13ba2a4 tree 788a0a9f491d1a42df1dee1781156ccfc363b6ef parent 499003e815344304c7b0c93aad923ddf644d24e0 author Alan Stern Sat, 17 Dec 2005 17:58:46 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] UHCI: use one QH per endpoint, not per URB This patch (as623) changes the uhci-hcd driver to make it use one QH per device endpoint, instead of a QH per URB as it does now. Numerous areas of the code are affected by this. For example, the distinction between "queued" URBs and non-"queued" URBs no longer exists; all URBs belong to a queue and some just happen to be at the queue's head. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 499003e815344304c7b0c93aad923ddf644d24e0 tree 7a73626d56fd83174b342093f421d99e7e90e5b4 parent 0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd author Kumar Gala Tue, 24 Jan 2006 08:11:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] USB: Fix masking bug initialization of Freescale EHCI controller In setting up the of PHY we masked off too many bits, instead just initialize PORTSC for the type of PHY we are using. Signed-off-by: Kumar Gala Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd tree 2365741645c76f7925f9e637ee68da2e1b2d3087 parent efafe6fb72b2bbab40080a08f7946f1eadb9bad9 author Franck Bui-Huu Tue, 07 Feb 2006 09:06:17 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:57 -0800 [PATCH] USB: Zero driver: Removed duplicated code Signed-off-by: Franck Bui-Huu Signed-off-by: Greg Kroah-Hartman commit efafe6fb72b2bbab40080a08f7946f1eadb9bad9 tree 502053738219df278ecc7b0175d7fee4d8ec611c parent aef4e266964bc15861b5835c1f5b9d2ebc155c2a author Malte Doersam Sat, 28 Jan 2006 17:48:33 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: Pegasus: Linksys USBVPN1 support + cleanup This patch adds a second linksys vendor-id (077b) and the product id of the pegasus based adapter USBVPN1 http://www1.linksys.com/Products/product.asp?prid=3D543&scid=3D30 Furthermore it replaces all LINKSYS_GPIO_RESET with DEFAULT_GPIO_RESET as both are declared like this: #define DEFAULT_GPIO_RESET 0x24 #define LINKSYS_GPIO_RESET 0x24 This is misleading and confusing. The check is now done via the VENDOR_ID in pegasus.c: if (usb_dev_id[pegasus->dev_index].vendor == VENDOR_LINKSYS Signed-off-by: Malte Doersam Signed-off-by: Greg Kroah-Hartman commit aef4e266964bc15861b5835c1f5b9d2ebc155c2a tree 49d606bc0843231942231b801dc3010ca32ab4f7 parent fb669cc01ed778c4926f395e44a9b61644597d38 author Alan Stern Tue, 31 Jan 2006 12:58:38 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] usbhid: add error handling This patch (as628c) adds error handling to the USB HID core. When an error is reported for an interrupt URB, the driver will do delayed retries, at increasing intervals, for up to one second. If that doesn't work, it will try to reset the device. Testing by users has shown that both the retries and the resets end up getting used. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit fb669cc01ed778c4926f395e44a9b61644597d38 tree a81c4f655a0470f84dfa4fbfcff3e64d83da3463 parent 6a9062f393fa48125df23c5491543828a21e1ae0 author David Brownell Tue, 24 Jan 2006 08:40:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: remove usbcore-specific wakeup flags This makes usbcore use the driver model wakeup flags for host controllers and for their root hubs. Since previous patches have removed all users of the HCD flags they replace, this converts the last users of those flags. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 6a9062f393fa48125df23c5491543828a21e1ae0 tree ca79e036f5a00253af790b45da6a6102b58ff97c parent b1e8f0a6a8805c971857cd10a65cf8caa4c1a672 author David Brownell Mon, 23 Jan 2006 15:28:07 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: ohci uses driver model wakeup flags This makes OHCI use the driver model wakeup control bits for its root hub (e.g. disable on amd756, because of chip erratum) and for the controller itself. It no longer uses the hcd glue bits with those roles, and depends on the previous patch making the root hub available earlier. Note that on most platforms (boot code properly setting the RWC bit) this gives a partial workaround for the way PCI isn't currently flagging devices that support PME# signals. (Because of odd PCI init sequencing on PPC.) That's because many OHCI controllers support "legacy PCI PM" ... without involving any PCI PM capability. USB wakeup from STR, if it works on your system, may still involve tweaking things by hand in /proc/acpi/wakeup. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit b1e8f0a6a8805c971857cd10a65cf8caa4c1a672 tree 395b7a91cbd0d5eb10a4c7429d7db6255b097b48 parent 1c05ad4447e4ecbd61647c102fb6f2f5a6634ff3 author David Brownell Mon, 23 Jan 2006 15:25:40 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: usbcore sets up root hubs earlier Make the HCD initialization sequence more sane ... notably, setting up root hubs before HCDs are asked to do their one-time init. Among other things, that lets the HCDs do custom root hub init along with all the other one-time initialization done in the (now misnamed) reset() method. This also copies the controller wakeup flags into the root hub; it's done a bit later than would be ideal, but that'll be necessary until the PCI code initializes them correctly. (The PCI patch breaks on PPC due to how it sequences PCI initialization.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1c05ad4447e4ecbd61647c102fb6f2f5a6634ff3 tree 57e519afbd37b545a1e0cd9019d49ab38980f7b4 parent 7802ac5c29d135345db1b06f9167075cd9f2d675 author David Brownell Wed, 25 Jan 2006 08:45:59 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] recognize three more usb peripheral controllers This adds declarations for three USB peripheral controllers: - Two high speed USB cores that can be licensed from Mentor Graphics to be integrated into silicon: * "musbhsfc" is for peripherals only, as found in for example the IBM/AMCC 44EP processors. * "musbhdrc" is OTG-capable (dual role), and is found in various products including OMAP 2430 and the new DaVinci SOCs. The "musbh" standing for "Mentor USB Highspeed", the rest standing for "Function Controller" or "Dual Role Controller" (OTG-capable). - The full speed controller on the FreeScale MPC8272. Adding these definitions just allows gadget driver code to handle any controller-specific logic; controller drivers are quite separate. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 7802ac5c29d135345db1b06f9167075cd9f2d675 tree eac03ea017b9bd42581f699fa4b71fad692a6bea parent bae4bd848dc0b7e6defc7a5d62834a35d1eed06d author David Brownell Sun, 22 Jan 2006 10:33:27 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: minor gadget/rndis tweak Resove a minor FIXME: don't change MTU while RNDIS link is active, the other end won't expect such things... Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit bae4bd848dc0b7e6defc7a5d62834a35d1eed06d tree 17f942f787c55e96afd13edc30875138a40c125c parent 39a269c09f854d3d98cbb755b3568175f04efa10 author David Brownell Sun, 22 Jan 2006 10:32:37 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:56 -0800 [PATCH] USB: add support for AT91 gadget This adds support for the USB peripheral controller on AT91 (rm9200, eventually also sam9261 or uClinux) platforms. More SOC support for Linux-USB ... an uncomplicated pure PIO driver. It'd be worth using this as a model, if you're starting a driver for some other peripheral controller. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 39a269c09f854d3d98cbb755b3568175f04efa10 tree dcba12509961393e9f2920b23a337af8d6c4aec3 parent d0852299381326c5d8eb67771aa98108050e6901 author Andrew Victor Sun, 22 Jan 2006 10:32:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: add support for OCHI on AT91rm9200 This adds support for OHCI on AT91rm9200 based boards. Possibly of interest here is the way this uses to gate clocks on/off during system pm state transitions. That's typical for non-PCI systems. Some can go further; Mini-A host side connectors enable ID-pin sensing. From: Andrew Victor Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit d0852299381326c5d8eb67771aa98108050e6901 tree e4965e920fceeada861e5722228eb4472627c991 parent d5fb7f1b5b832946eaf450b2a695ec3e7fd2d351 author David Brownell Fri, 20 Jan 2006 14:35:55 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI unlink tweaks This patch modifies the behavior of the EHCI driver in an unlink path that seems to be causing various issues on some systems. Those problems have included issues with disconnection, driver unbinding, and similar cases where urb unlinking would just not work right. This patch should help avoid those problems by not turning off the async (control/bulk) schedule until it's not expecting an "async advance" IRQ, which comes from the processing passing the schedule head. Whether the driver attempts to do such things is dependent on system timings, so many folk would never have seen these problems. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit d5fb7f1b5b832946eaf450b2a695ec3e7fd2d351 tree 1a6b09e2b5928f2eb10ec00ecc926034e6387df5 parent 76fa9a240de4294a097235c9ddd470c21eb3449e author Jordan Crouse Fri, 20 Jan 2006 14:09:54 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: OHCI for AU1200 ALCHEMY: Add OHCI support for AU1200 Updated by moving the OHCI support out of the EHCI patch. Signed-off-by: Jordan Crouse Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 76fa9a240de4294a097235c9ddd470c21eb3449e tree f29b42b106e5394942c59102b8387f5dd322b6b7 parent 8cd42e97bf451bbbb2f54dc571366ae5a72faaea author Jordan Crouse Fri, 20 Jan 2006 14:06:09 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI for AU1200 ALCHEMY: Add EHCI support for AU1200 Updated by removing the OHCI support Signed-off-by: Jordan Crouse Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 8cd42e97bf451bbbb2f54dc571366ae5a72faaea tree 9bd591f62813e477da3484bfe159228a7507eeb7 parent 80cb9aee01245b38325dd84f1359b14a3f01f10d author Kumar Gala Fri, 20 Jan 2006 13:57:52 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI and Freescale 83xx quirk On the MPC834x processors the multiport host (MPH) EHCI controller has an erratum in which the port number in the queue head expects to be 0..N-1 instead of 1..N. If we are on one of these chips we subtract one from the port number before putting it into the queue head. Signed-off-by: Kumar Gala Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 80cb9aee01245b38325dd84f1359b14a3f01f10d tree aa261392fa976e86dba2bea43b8afc9a64228b89 parent 469d02293d494d30dba81895cd3d34b0a3a6d51a author Randy Vinson Fri, 20 Jan 2006 13:53:38 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI for Freescale 83xx Adding a Host Mode USB driver for the Freescale 83xx. This driver supports both the Dual-Role (DR) controller and the Multi-Port-Host (MPH) controller present in the Freescale MPC8349. It has been tested with the MPC8349CDS reference system. This driver depends on platform support code for setting up the pins on the device package in a manner appropriate for the board in use. Note that this patch requires selecting the EHCI controller option under the USB Host menu. Signed-off-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit 469d02293d494d30dba81895cd3d34b0a3a6d51a tree a05096eed2144bcaa8918ce961d959761763c33e parent f8aeb3bb8657b207895aa10f75e63f2c48d08985 author Clemens Ladisch Fri, 20 Jan 2006 13:49:10 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI full speed ISO bugfixes This patch replaces the split ISO raw_mask calculation code in the iso_stream_init() function that computed incorrect numbers of high speed transactions for both input and output transfers. In the output case, it added a superfluous start-split transaction for all maxmimum packet sizes that are a multiple of 188. In the input case, it forgot to add complete-split transactions for all microframes covered by the full speed transaction, and the additional complete-split transaction needed for the case when full speed data starts arriving near the end of a microframe. These changes don't affect the lack of full speed bandwidth, but at least it removes the MMF errors that the HC raised with some input streams. Signed-off-by: Clemens Ladisch Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f8aeb3bb8657b207895aa10f75e63f2c48d08985 tree a752ed44de17a3f0315cffeddfb944cb33c778aa parent 4186ecf8ad16dd05759a09594de6a87e48759ba6 author David Brownell Fri, 20 Jan 2006 13:55:14 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: EHCI and NF2 quirk This teaches the EHCI driver about a quirk seen in older NForce2 chips, adding a workaround to ignore selective suspend requests. Bus-wide (so-called "global") suspend still works, as does USB wakeup of a root hub that's globally suspended. There's still a hole in this support though. Strictly speaking, this should _fail_ selective suspend requests, rather than ignoring them, since doing it this way means that devices which should be able to issue remote wakeup are not going to be able to do that. For now, we'll just live with that problem ... since usbcore expects to do selective suspend on the way towards a full bus suspend, and usbcore needs to be able to do full bus suspend. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 4186ecf8ad16dd05759a09594de6a87e48759ba6 tree 3ee5292d9f4a36e3eb359b586289ec972bcbaf39 parent 35cce732d9d4d9af6b4ad4d26d8f8c0eddb573a2 author Arjan van de Ven Wed, 11 Jan 2006 15:55:29 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:55 -0800 [PATCH] USB: convert a bunch of USB semaphores to mutexes the patch below converts a bunch of semaphores-used-as-mutex in the USB code to mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 35cce732d9d4d9af6b4ad4d26d8f8c0eddb573a2 tree 1fbb63a0c8b5e661d70a8aa97c036f9e58edf197 parent e266a12492f7ca9142882710bff92e902b7c95c8 author Pekka Enberg Thu, 12 Jan 2006 20:35:25 +0200 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: remove LINUX_VERSION_CODE macro usage This patch removes unnecessary LINUX_VERSION_CODE macro usage from drivers/usb/. Signed-off-by: Pekka Enberg Signed-off-by: Greg Kroah-Hartman commit e266a12492f7ca9142882710bff92e902b7c95c8 tree 7554164a34ba64b5420858edbcd7bf49c4057c2f parent 9628416a542488230b53df48d90d4a967dea41c8 author Adrian Bunk Tue, 08 Nov 2005 21:05:43 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: drivers/usb/core/message.c: make usb_get_string() static After the removal of usb-midi.c, there's no longer any external user of usb_get_string(). Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 9628416a542488230b53df48d90d4a967dea41c8 tree b356d4c1ea8065263eda375284b87ba64d735d5f parent 29da7937a11a47bad64558c3be4d998c4ea5e823 author Adrian Bunk Sun, 05 Feb 2006 00:03:28 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: remove OBSOLETE_OSS_USB_DRIVER drivers This patch removes the obsolete USB_MIDI and USB_AUDIO drivers. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 29da7937a11a47bad64558c3be4d998c4ea5e823 tree 9e73a3de1ad7e50d70ba0f65c0c06905e9602fe2 parent 9ee884cc89dc339276c719ab4ff53913ac03d083 author Pete Zaitcev Mon, 13 Feb 2006 20:35:57 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] ub: use kzalloc Switch from kmalloc+memset to kzalloc. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 9ee884cc89dc339276c719ab4ff53913ac03d083 tree 9d916c7ba07302edcff383c98e8eef97950d12ae parent 06d694748b5173d972d7e4169173adad62ee67c0 author Oliver Neukum Fri, 06 Jan 2006 23:27:17 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: kzalloc in sisusbvga this does two things: - use kzalloc where appropriate - correct error return codes in ioctl Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 06d694748b5173d972d7e4169173adad62ee67c0 tree bbc923c4bb49afc95daca72fb72306a0fe32ab34 parent d874a2bade6eec21abb30d4822d7b3e43cfbae95 author Oliver Neukum Fri, 06 Jan 2006 22:44:52 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:54 -0800 [PATCH] USB: kzalloc in usbled another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit d874a2bade6eec21abb30d4822d7b3e43cfbae95 tree cc5f677e871ed7b9cd67f48c9896a0b55c72f420 parent 17590840dc3c14cb059817466884ac9bd97c4a35 author Oliver Neukum Fri, 06 Jan 2006 22:43:32 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in PhidgetServo another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 17590840dc3c14cb059817466884ac9bd97c4a35 tree 9ff51010413c6118de85bac332fd1ff54458ba36 parent 1144cf7af2ff8e6816e360d03f867439f7efde40 author Oliver Neukum Fri, 06 Jan 2006 22:41:51 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in PhidgetInterfaceKit another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 1144cf7af2ff8e6816e360d03f867439f7efde40 tree d6e9463fbe66165723b1233b2de093ffef51e27e parent 092e462a537ba60e5f78ff208c8a95e6fd071fa5 author Oliver Neukum Fri, 06 Jan 2006 22:40:02 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in ldusb another one for kzalloc Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 092e462a537ba60e5f78ff208c8a95e6fd071fa5 tree 87546f74115d694060781aa829509bbee963bdf9 parent 5f7481337cc803926b5c43aac44441f683ff91ed author Oliver Neukum Fri, 06 Jan 2006 22:36:27 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in idmouse another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 5f7481337cc803926b5c43aac44441f683ff91ed tree 094413d5b2cd102d7dc629934335d966b705ea90 parent 51b208ddf6e492c58609e07fa50bce98bb02cb27 author Oliver Neukum Fri, 06 Jan 2006 22:24:56 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in cytherm another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 51b208ddf6e492c58609e07fa50bce98bb02cb27 tree 3c656451163254ab88323e520cacf650459c8189 parent b10b4177881c50f22a79832558054f2e42be5cfa author Oliver Neukum Fri, 06 Jan 2006 21:35:08 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in usbvideo another for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit b10b4177881c50f22a79832558054f2e42be5cfa tree 354dded7e3a04d95dfa2112de6b4968437425458 parent d8e298dc9feed17f397be4bb2cd8c1dd47248c74 author Oliver Neukum Fri, 06 Jan 2006 21:28:40 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in w9968cf another one for kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit d8e298dc9feed17f397be4bb2cd8c1dd47248c74 tree 1c478af244d9bf487df177fad37f4b54144a4965 parent bbdb7dafb5b5a3c0197cbabd5055d8e9c093e3ea author Oliver Neukum Fri, 06 Jan 2006 21:01:47 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:53 -0800 [PATCH] USB: kzalloc in dabusb kzalloc in dabusb. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit bbdb7dafb5b5a3c0197cbabd5055d8e9c093e3ea tree 9ac23c97ef6a983e4e7a98e19f9307b8d3aad1f4 parent 887c2560b6ceb5fe7ac24704e85af507c6d960e5 author Oliver Neukum Fri, 06 Jan 2006 20:54:29 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: kzalloc for hid this uses kzalloc in hid. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 887c2560b6ceb5fe7ac24704e85af507c6d960e5 tree dd363a707a717bb87c1b89a64ab46b3394524a3f parent 9ff87d7326d9e4666721070040474f60a68ab467 author Oliver Neukum Sun, 08 Jan 2006 12:33:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: kzalloc for storage another one for kzalloc. This covers the storage subdirectory. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 9ff87d7326d9e4666721070040474f60a68ab467 tree eb698f3dcf856822290cf5fda7e45e9ace68352d parent 9fcd5c322ca2ee636e06e0c099cf8f1a692f832e author Oliver Neukum Fri, 06 Jan 2006 20:45:11 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: mdc800.c to kzalloc one more conversion to kzalloc. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 9fcd5c322ca2ee636e06e0c099cf8f1a692f832e tree 8fcc2c099ed815e2efbcb53d1662855298af97cf parent 8781ba0aa9d9dd2870b75dba8d9a47e0f5a3f96a author Andrew Morton Wed, 18 Jan 2006 23:55:07 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: optimise devio.c usbdev_read fix drivers/usb/core/devio.c: In function `usbdev_read': drivers/usb/core/devio.c:140: error: invalid type argument of `->' drivers/usb/core/devio.c:141: error: invalid type argument of `->' drivers/usb/core/devio.c:142: error: invalid type argument of `->' drivers/usb/core/devio.c:143: error: invalid type argument of `->' Cc: Oliver Neukum Cc: Pete Zaitcev Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8781ba0aa9d9dd2870b75dba8d9a47e0f5a3f96a tree 164255fb2a2cf1bc87c3b214577bba401736da18 parent 60f780528f3ae603eb169a221628b93b6c6929f9 author Oliver Neukum Fri, 06 Jan 2006 21:24:25 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: optimise devio.c::usbdev_read this is a small optimisation. It is ridiculous to do a kmalloc for 18 bytes. This puts it onto the stack. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 60f780528f3ae603eb169a221628b93b6c6929f9 tree 535b75e9eafb445c7acd85ee350cdc0efbbcdecb parent c4a1745aa09fc110afdefea0e5d025043e348bae author Luca Risolia Mon, 06 Feb 2006 16:29:35 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 14:49:52 -0800 [PATCH] USB: Add ZC0301 Video4Linux2 driver This patch adds a Video4Linux2 driver for ZC0301 Image Processor and Control Chip. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman commit b3229087c5e08589cea4f5040dab56f7dc11332a tree 5a9568e4d041370b453f6074015ff1081a045c26 parent 832c57e9afa7a263bb2f8ee6d04d527ef6709aae author Greg Kroah-Hartman Thu, 16 Mar 2006 15:44:26 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: fix a kobject leak in sysfs_add_link on the error path As pointed out by Oliver Neukum. Cc: Maneesh Soni Cc: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit 832c57e9afa7a263bb2f8ee6d04d527ef6709aae tree dbc11a1979d582bd15a12353a2e6f421d3445522 parent a29d642a4aa99c5234314ab2523281139226c231 author Greg Kroah-Hartman Thu, 16 Mar 2006 11:23:21 -0700 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: don't export dir symbols These functions should only be used by the kobject core, and if any driver tries to use them, bad things happen. Unexport them to try to prevent this from happening. Signed-off-by: Greg Kroah-Hartman commit a29d642a4aa99c5234314ab2523281139226c231 tree 818996643addcea3963dd143a94ce3c293f225fd parent 7423172a50968de1905a61413c52bb070a62f5ce author Andrew Morton Tue, 07 Mar 2006 23:53:25 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] get_cpu_sysdev() signedness fix Doing (int < NR_CPUS) doesn't dtrt if it's negative.. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7423172a50968de1905a61413c52bb070a62f5ce tree 296c5584a6a78336664436123bf21bd052c04f0c parent dd308bc355a1aa4f202fe9a3133b6c676cb9606c author Jun'ichi Nomura Mon, 13 Mar 2006 17:14:25 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] kobject_add_dir Adding kobject_add_dir() function which creates a subdirectory for a given kobject. Signed-off-by: Jun'ichi Nomura Signed-off-by: Greg Kroah-Hartman commit dd308bc355a1aa4f202fe9a3133b6c676cb9606c tree accab2f0576da81d5e0ccfdbcc07f25a2a232008 parent c516865cfbac0d862d4888df91793ad1e74ffd58 author Michael Ellerman Tue, 07 Mar 2006 21:41:59 +1100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data I wanted to export a binary blob via debugfs, and although it was pretty easy it seems like it'd be easier if there was a helper for it. It's a pity we need the wrapper struct but I can't see a cleaner way to do it. Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman commit c516865cfbac0d862d4888df91793ad1e74ffd58 tree 432024125976af3e6c87ae5b9e64b6f1cc291f70 parent 22f98c0cd7e003b896ee52ded945081307118745 author Maneesh Soni Thu, 09 Mar 2006 19:40:14 +0530 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] sysfs: fix problem with duplicate sysfs directories and files The following patch checks for existing sysfs_dirent before preparing new one while creating sysfs directories and files. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit 22f98c0cd7e003b896ee52ded945081307118745 tree 4fe7416dc8e98b38b71adf7bac04252de6614374 parent dcd0da002122a70fe1c625c0ca9f58c95aa33ebe author Adrian Bunk Sat, 04 Mar 2006 13:15:31 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Kobject: kobject.h: fix a typo It shouldn't cause real harm, but it hurts my eyes. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit dcd0da002122a70fe1c625c0ca9f58c95aa33ebe tree 5560cdc189fa3ae7eeeabb71ef5c5a2b26d4909e parent 4f2928d0a439553f0288d9483faf417430629635 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Kobject: provide better warning messages when people do stupid things Now that kobject_add() is used more than kobject_register() the kernel wasn't always letting people know that they were doing something wrong. This change fixes this. Signed-off-by: Greg Kroah-Hartman commit 4f2928d0a439553f0288d9483faf417430629635 tree 96efd4b28d84fd409add525a7c2f834b22dd0d23 parent 30560ba6eda308c13a361d08eb5d4eaab94ab37e author Tilman Schmidt Fri, 24 Feb 2006 11:05:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:59 -0800 [PATCH] Driver core: add macros notice(), dev_notice() Both usb.h and device.h have collections of convenience macros for printk() with the KERN_ERR, KERN_WARNING, and KERN_NOTICE severity levels. This patch adds macros for the KERN_NOTICE level which was so far uncatered for. These macros already exist privately in drivers/isdn/gigaset/gigaset.h (currently in the process of being submitted for the kernel tree) but they really belong with their brothers and sisters in include/linux/{device,usb}.h. Signed-off-by: Tilman Schmidt Signed-off-by: Greg Kroah-Hartman commit 30560ba6eda308c13a361d08eb5d4eaab94ab37e tree 2639a567018f690c725da11470d7d28392cbfee8 parent 58d49283b87751f7af75e021a629dcddb027e8eb author Jeff Moyer Mon, 13 Feb 2006 14:52:38 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] firmware: fix BUG: in fw_realloc_buffer The fw_realloc_buffer routine does not handle an increase in buffer size of more than 4k. It's not clear to me why it expects that it will only get an extra 4k of data. The attached patch modifies fw_realloc_buffer to vmalloc as much memory as is requested, instead of what we previously had + 4k. I've tested this on my laptop, which would crash occaisionally on boot without the patch. With the patch, it hasn't crashed, but I can't be certain that this code path is exercised. Signed-off-by: Jeff Moyer Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 58d49283b87751f7af75e021a629dcddb027e8eb tree b553643f22a4a216e06c5ab1711a88d3df1e1e6a parent 03e88ae1b13dfdc8bbaa59b8198e1ca53aad12ac author Eric Sesterhenn Wed, 22 Feb 2006 11:18:15 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] sysfs: kzalloc conversion this converts fs/sysfs to kzalloc() usage. compile tested with make allyesconfig Signed-off-by: Eric Sesterhenn Signed-off-by: Greg Kroah-Hartman commit 03e88ae1b13dfdc8bbaa59b8198e1ca53aad12ac tree 322127d9875129d2e9b1c3cb744b4940bd7d8a47 parent b87ba0a33a634c9a8e3609702122a04034a0688d author Greg Kroah-Hartman Thu, 16 Feb 2006 13:50:23 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] fix module sysfs files reference counting The module files, refcnt, version, and srcversion did not properly increment the owner's module reference count, allowing the modules to be removed while the files were open, causing oopses. This patch fixes this, and also fixes the problem that the version and srcversion files were not showing up, unless CONFIG_MODULE_UNLOAD was enabled, which is not correct. Cc: Nathan Lynch Signed-off-by: Greg Kroah-Hartman commit b87ba0a33a634c9a8e3609702122a04034a0688d tree 9a3d756f6c61f18c3614948fd6a1524e81f82dbd parent 01ca70dca5c64cb774a8ac2f50bddff21d60169f author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem The USB core symbols will be converted to GPL-only in a few years. Mark this as such and update the documentation explaining why, and provide a pointer for developers to receive help if they need it. Signed-off-by: Greg Kroah-Hartman commit 01ca70dca5c64cb774a8ac2f50bddff21d60169f tree 7bb09a9f7b0ce1263af943c2beeb10e64a3b9ebe parent 9f28bb7e1d0188a993403ab39b774785892805e1 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to RCU subsystem As the RCU symbols are going to be changed to GPL in the near future, lets warn users that this is going to happen. Cc: Paul McKenney Acked-by: Dipankar Sarma Signed-off-by: Greg Kroah-Hartman commit 9f28bb7e1d0188a993403ab39b774785892805e1 tree 939660c2531335dc899cc66fa7f3f05aa343d1e0 parent 3fd6805f4dfb02bcfb5634972eabad0e790f119a author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() This patch adds the ability to mark symbols that will be changed in the future, so that kernel modules that don't include MODULE_LICENSE("GPL") and use the symbols, will be flagged and printed out to the system log. Signed-off-by: Greg Kroah-Hartman commit 3fd6805f4dfb02bcfb5634972eabad0e790f119a tree 0ba5fdb9663a392f541cb5d9e4a56717b7946394 parent 58383af629efb07e5a0694e445eda0c65b16e1de author Sam Ravnborg Wed, 08 Feb 2006 21:16:45 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] Clean up module.c symbol searching logic Signed-off-by: Sam Ravnborg Signed-off-by: Greg Kroah-Hartman commit 58383af629efb07e5a0694e445eda0c65b16e1de tree 228369b2e56411c91ee1356957c0aa2dc0d033e5 parent 8b5536bbee53620f8d5f367987e5727ba36d886d author Jes Sorensen Mon, 06 Feb 2006 14:12:43 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:58 -0800 [PATCH] kobj_map semaphore to mutex conversion Convert the kobj_map code to use a mutex instead of a semaphore. It converts the single two users as well, genhd.c and char_dev.c. Signed-off-by: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8b5536bbee53620f8d5f367987e5727ba36d886d tree c4733f4ce2a6d1aab32eda3c096c97f0365a43f8 parent 489447380a2921ec0e9154f773c44ab3167ede4b author Eric Dumazet Mon, 30 Jan 2006 06:19:35 +0100 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] kref: avoid an atomic operation in kref_put() Avoid an atomic operation in kref_put() when the last reference is dropped. On most platforms, atomic_read() is a plan read of the counter and involves no atomic at all. Signed-off-by: Eric Dumazet Signed-off-by: Greg Kroah-Hartman commit 489447380a2921ec0e9154f773c44ab3167ede4b tree 10edc2bca15765dae7699b8d26cf3d828869bc3c parent 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0 author David Vrabel Thu, 19 Jan 2006 17:56:29 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] handle errors returned by platform_get_irq*() platform_get_irq*() now returns on -ENXIO when the resource cannot be found. Ensure all users of platform_get_irq*() handle this error appropriately. Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman commit 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0 tree f8ecf355e7433d8442f1c76f232f01e72a89b769 parent 972de6c8bfd8b36618563be454df1e95a36dc379 author David Vrabel Thu, 19 Jan 2006 17:52:27 +0000 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] driver core: platform_get_irq*(): return -ENXIO on error platform_get_irq*() cannot return 0 on error as 0 is a valid IRQ on some platforms, return -ENXIO instead. Signed-off-by: David Vrabel Signed-off-by: Greg Kroah-Hartman commit 972de6c8bfd8b36618563be454df1e95a36dc379 tree 98be8fb9475a97ab1a212cd2a9a3a1ebf0b16d2d parent 51107301b629640f9ab76fe23bf385e187b9ac29 author Greg Kroah-Hartman Mon, 20 Mar 2006 13:17:13 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] Mark empty release functions as broken Come on people, this is just wrong... Signed-off-by: Greg Kroah-Hartman commit 51107301b629640f9ab76fe23bf385e187b9ac29 tree 27d8bafd7ab9cfd460b3d850da69a0293876f20a parent 641e6f30a095f3752ed84fd9d279382f5d3ef4c1 author Jun'ichi Nomura Wed, 15 Mar 2006 08:28:55 -0500 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] kobject: fix build error if CONFIG_SYSFS=n Moving uevent_seqnum and uevent_helper to kobject_uevent.c because they are used even if CONFIG_SYSFS=n while kernel/ksysfs.c is built only if CONFIG_SYSFS=y, Signed-off-by: Jun'ichi Nomura Signed-off-by: Greg Kroah-Hartman commit 641e6f30a095f3752ed84fd9d279382f5d3ef4c1 tree 59b57c14f9249488ded6814de4512f7f9949289f parent c4a1745aa09fc110afdefea0e5d025043e348bae author Greg Kroah-Hartman Thu, 16 Mar 2006 15:44:26 -0800 committer Greg Kroah-Hartman Mon, 20 Mar 2006 13:42:57 -0800 [PATCH] sysfs: sysfs_remove_dir() needs to invalidate the dentry When calling sysfs_remove_dir() don't allow any further sysfs functions to work for this kobject anymore. This fixes a nasty USB cdc-acm oops on disconnect. Many thanks to Bob Copeland and Paul Fulghum for taking the time to track this down. Cc: Bob Copeland Cc: Paul Fulghum Cc: Maneesh Soni Signed-off-by: Greg Kroah-Hartman commit 91bca4b3e2f1aaaf67e62a36914f33ca1e7d5a06 tree 0a8c96881a7323ad1e430409b28728a72ea40972 parent d358788f3f30113e49882187d794832905e42592 author Russell King Mon, 20 Mar 2006 20:08:22 +0000 committer Russell King Mon, 20 Mar 2006 20:08:22 +0000 [SERIAL] Merge avlab serial board entries in parport_serial As can be seen from this patch, the avlab_*_[68]50 table entries are identical to the plain avlab_* entries in every respect. Hence, there is no need to list them separately in the pciserial_board nor parport_pc_pci card tables - they can re-use the plain avlab_* entries. Signed-off-by: Russell King commit d358788f3f30113e49882187d794832905e42592 tree 8c796ee4bf719dad4d3947c03cef2f3fd6cb5940 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Russell King Mon, 20 Mar 2006 20:00:09 +0000 committer Russell King Mon, 20 Mar 2006 20:00:09 +0000 [SERIAL] kernel console should send CRLF not LFCR Glen Turner reported that writing LFCR rather than the more traditional CRLF causes issues with some terminals. Since this aflicts many serial drivers, extract the common code to a library function (uart_console_write) and arrange for each driver to supply a "putchar" function. Signed-off-by: Russell King commit c4a1745aa09fc110afdefea0e5d025043e348bae tree 6d28dc3a0c1bf18437b3d49f28e5c81b850cdb2f parent 88dcb91177cfa5b26143a29074389a2aa259c7cf parent ac0eb3eb7e54b700386068be025a43d2a3958ee5 author Linus Torvalds Mon, 20 Mar 2006 11:57:50 -0800 committer Linus Torvalds Mon, 20 Mar 2006 11:57:50 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: (230 commits) [SPARC64]: Update defconfig. [SPARC64]: Fix 2 bugs in huge page support. [SPARC64]: CONFIG_BLK_DEV_RAM fix [SPARC64]: Optimized TSB table initialization. [SPARC64]: Allow CONFIG_MEMORY_HOTPLUG to build. [SPARC64]: Use SLAB caches for TSB tables. [SPARC64]: Don't kill the page allocator when growing a TSB. [SPARC64]: Randomize mm->mmap_base when PF_RANDOMIZE is set. [SPARC64]: Increase top of 32-bit process stack. [SPARC64]: Top-down address space allocation for 32-bit tasks. [SPARC64] bbc_i2c: Fix cpu check and add missing module license. [SPARC64]: Fix and re-enable dynamic TSB sizing. [SUNSU]: Fix missing spinlock initialization. [TG3]: Do not try to access NIC_SRAM_DATA_SIG on Sun parts. [SPARC64]: First cut at VIS simulator for Niagara. [SPARC64]: Fix system type in /proc/cpuinfo and remove bogus OBP check. [SPARC64]: Add SMT scheduling support for Niagara. [SPARC64]: Fix 32-bit truncation which broke sparsemem. [SPARC64]: Move over to sparsemem. [SPARC64]: Fix new context version SMP handling. ... commit 2b422383c3d8dcd203dd9aea70155be6258dbf6c tree 782191641d55a95424dce1d5b6c8a19290423344 parent 44fc355db7c224c95752155c54cbe28380f14c19 author Håkon Løvdal Mon, 20 Mar 2006 20:32:04 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:32:04 +0100 README: bzip2 is not new From: Håkon Løvdal Signed-off-by: Håkon Løvdal Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk commit 44fc355db7c224c95752155c54cbe28380f14c19 tree ed04791455b065731637d707eacb299f085b336a parent 7b9af3455b9edb3ca8efb251bd9d2d51ecb0066c author Jochen Hein Mon, 20 Mar 2006 20:28:13 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:28:13 +0100 Documentation/Changes: remove outdated translation references The patch removes references to kernel 2.4 and to translations that are outdated for 2.6 (german translation is at 2.4.20) or hosts that are not available. Signed-off-by: Adrian Bunk commit 7b9af3455b9edb3ca8efb251bd9d2d51ecb0066c tree 4741e396b6bec686baf615b80a846cf55dcc88d6 parent 8075f21fc6dac8fb16372a7d4e28d9f21077cdda author Adrian Bunk Mon, 20 Mar 2006 20:23:13 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:23:13 +0100 remove dead Radeon URL This patch removes a dead Radeon URL from two Kconfig files. This isue was noted by Reto Gantenbein in Kernel Bugzilla #4446. Signed-off-by: Adrian Bunk commit 8075f21fc6dac8fb16372a7d4e28d9f21077cdda tree fa3a9d8d0a4b556bcb4bfe8d208685096b2de97c parent f30c52d0c9081019bf76a4dbd905bc7c0d89411c author Adrian Bunk Mon, 20 Mar 2006 20:21:24 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:21:24 +0100 SCSI_AACRAID: add a help text Most of the text by Mark Salyzyn . Signed-off-by: Adrian Bunk Acked-by: Mark Salyzyn commit f30c52d0c9081019bf76a4dbd905bc7c0d89411c tree 1b32c7525a4be663ad2ef7b1ef320f4a549669ac parent 98cb9e1d0044b438603f8f933803b56573b49f28 author Adrian Bunk Mon, 20 Mar 2006 20:14:06 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:14:06 +0100 update the i386 defconfig The i386 defconfig wasn't updated for ages. Instead of running "make oldconfig" on the old defconfig and trying to give reasonable answers at all new options, this patch replaces it with the one I'm using in 2.6.16-rc1. This way, it's a .config that is confirmed to work on at least one computer in the world. ;-) Signed-off-by: Adrian Bunk commit 98cb9e1d0044b438603f8f933803b56573b49f28 tree c1e843f586f8f2f056c56a51d379eec4ddedcf5f parent 0f76ee451484d02c7405d92e7bceb39b415abb01 author Adrian Bunk Mon, 20 Mar 2006 20:13:16 +0100 committer Adrian Bunk Mon, 20 Mar 2006 20:13:16 +0100 MAINTAINERS: remove the LANMEDIA entry Remove the maintainers entry pointing to a no longer existing domain. Signed-off-by: Adrian Bunk commit 88dcb91177cfa5b26143a29074389a2aa259c7cf tree 4906b9712a797b5805aa00fc0f766b27b7432005 parent c7cace6437b2f8bbab5ef05b465738283a9a100a parent c5111f504d2a9b0d258d7c4752b4093523315989 author Linus Torvalds Mon, 20 Mar 2006 10:32:33 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:32:33 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6: JFS: add uid, gid, and umask mount options JFS: Take logsync lock before testing mp->lsn JFS: kzalloc conversion JFS: Add missing file from fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 JFS: Use the kthread_ API JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute JFS: ext2 inode attributes for jfs JFS: semaphore to mutex conversion. JFS: make buddy table static JFS: Add back directory i_size calculations for legacy partitions commit c7cace6437b2f8bbab5ef05b465738283a9a100a tree 304a7dca0354eaa8ac21aa05cd287e317fa21b8c parent a90779bfc83b7489270a8ce2c3fc9df20dac2b24 parent 2e9ff56efbc005ab2b92b68df65940c7459446c6 author Linus Torvalds Mon, 20 Mar 2006 10:30:31 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:30:31 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (150 commits) [PATCH] ipw2100: Update version ipw2100 stamp to 1.2.2 [PATCH] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h [PATCH] ipw2100: semaphore to mutexes conversion [PATCH] ipw2100: Fix radiotap code gcc warning [PATCH] ipw2100: add radiotap headers to packtes captured in monitor mode [PATCH] ipw2x00: expend Copyright to 2006 [PATCH] drivers/net/wireless/ipw2200.c: fix an array overun [PATCH] ieee80211: Don't update network statistics from off-channel packets. [PATCH] ipw2200: Update ipw2200 version stamp to 1.1.1 [PATCH] ipw2200: switch to the new ipw2200-fw-3.0 image format [PATCH] ipw2200: wireless extension sensitivity threshold support [PATCH] ipw2200: Enables the "slow diversity" algorithm [PATCH] ipw2200: Set a meaningful silence threshold value [PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG [PATCH] ipw2200: Change debug level for firmware error logging [PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode [PATCH] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment [PATCH] ipw2200: Fix rf_kill is activated after mode change with 'disable=1' [PATCH] ipw2200: remove the WPA card associates to non-WPA AP checking [PATCH] ipw2200: Add signal level to iwlist scan output ... commit a90779bfc83b7489270a8ce2c3fc9df20dac2b24 tree 53a41d0e419024619c621facb2baf6e782e16f35 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 parent e572ec7e4e432de7ecf7bd2e62117646fa64e518 author Linus Torvalds Mon, 20 Mar 2006 10:28:51 -0800 committer Linus Torvalds Mon, 20 Mar 2006 10:28:51 -0800 Merge branch 'block-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/block * 'block-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/block: [PATCH] fix rmmod problems with elevator attributes, clean them up [PATCH] elevator_t lifetime rules and sysfs fixes [PATCH] noise removal: cfq-iosched.c [PATCH] don't bother with refcounting for cfq_data [PATCH] fix sysfs interaction and lifetime rules handling for queues [PATCH] regularize blk_cleanup_queue() use [PATCH] fix cfq_get_queue()/ioprio_set(2) races [PATCH] deal with rmmod/put_io_context() races [PATCH] stop elv_unregister() from rogering other iosched's data, fix locking [PATCH] stop cfq from pinning queue down [PATCH] make cfq_exit_queue() prune the cfq_io_context for that queue [PATCH] fix the exclusion for ioprio_set() [PATCH] keep sync and async cfq_queue separate [PATCH] switch to use of ->key to get cfq_data by cfq_io_context [PATCH] stop leaking cfq_data in cfq_set_request() [PATCH] fix cfq hash lookups [PATCH] fix locking in queue_requests_store() [PATCH] fix double-free in blk_init_queue_node() [PATCH] don't do exit_io_context() until we know we won't be doing any IO commit fd02e8038eb943755e8727a0ea193c037a51714f tree 597dc0e67899c445ac85fc5b7ae8a151ca4491ee parent bfef73fa78ca1e56175dcbd33aa11de4764f85a5 author Eli Cohen Mon, 13 Mar 2006 14:33:01 +0200 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IB/mthca: Query SRQ srq_limit fixes Fix endianness handling of srq_limit: it is big-endian in the context structure, so we need to swab it before returning it. Also add support for srq_limit query for Tavor (non-MemFree) HCAs. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit bfef73fa78ca1e56175dcbd33aa11de4764f85a5 tree 4d0021bcdd8e27891f2e1e1caa2b0c97f7c91d1d parent e10e271bfd295bf805dc294460868e1deb938211 author Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IPoIB: Get rid of useless test of queue length In neigh_add_path(), the queue of delayed packets can never be full, because the queue is always freshly created and cannot be found by any other code path. In fact, the test of the queue length is worse than useless: if somehow the test ever triggered and path_rec_start() also failed, then dev_kfree_skb_any() will be called twice on the same skb. Fix this by deleting the useless test. Pointed out by Michael S. Tsirkin . Signed-off-by: Roland Dreier commit e10e271bfd295bf805dc294460868e1deb938211 tree d2821657636e831e602f86baeabc3523a8e41285 parent dc05980dd736bfbe5b2524b463e5f098e67a64e9 author Dotan Barak Mon, 20 Mar 2006 10:08:26 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:26 -0800 IB/mthca: Correct reported SRQ size in MemFree case. MemFree devices need to reserve one shared receive queue (SRQ) work request for internal use, so the capacity returned from the create_srq and query_srq methods should be srq->max - 1. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit dc05980dd736bfbe5b2524b463e5f098e67a64e9 tree 87f212e24ee4362a5e670418b32bd0c959d3f1c6 parent bf17c1c7cc9250d7c3c01b0ae898aefa1853535a author Michael S. Tsirkin Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/mad: Fix oopsable race on device removal Fix an oopsable race debugged by Eli Cohen : After removing the port from port_list, ib_mad_port_close flushes port_priv->wq before destroying the special QPs. This means that a completion event could arrive, and queue a new work in this work queue after flush. This patch also removes an unnecessary flush_workqueue(): destroy_workqueue() already includes a flush. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit bf17c1c7cc9250d7c3c01b0ae898aefa1853535a tree 95c534eed9c2b188c28681a87690a759c876c30c parent 6b63e3015a69dd8aa5534e23af9f132a021da02e author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/srp: Coverity fix to srp_parse_options() Fix leak found by Coverity: in the SRP_OPT_DGID case, srp_parse_options() didn't free the result of match_strdup(). Signed-off-by: Roland Dreier commit 6b63e3015a69dd8aa5534e23af9f132a021da02e tree 58c8ffeaf4a46e4ac5af98ebbaae7543c43561a9 parent 048975ac580a771fc5bb96c6b454cba897ab1a73 author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB/mthca: Coverity fix to mthca_init_eq_table() Fix bug found by coverity: the loop body never executed, because it was doing for (i = 0; i < MTHCA_EQ_CMD; ++i), but MTHCA_EQ_CMD is 0. The correct loop bound is MTHCA_NUM_EQ, to loop over all EQs. Signed-off-by: Roland Dreier commit 048975ac580a771fc5bb96c6b454cba897ab1a73 tree 32405003b3cb78a3e2ccf765868f60a273c1313b parent 0b3ea0829cbcdaee6e018a83a2949ef458213f3b author Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:25 -0800 IB: Coverity fixes to sysfs.c Fix two bugs found by coverity: - Memory leak in error path of alloc_group_attrs() - Fencepost error in state_show(): the test should be < ARRAY_SIZE(), not <= ARRAY_SIZE(). Signed-off-by: Roland Dreier commit 0b3ea0829cbcdaee6e018a83a2949ef458213f3b tree 3e86dc70e4b71b1de1e9ab2df319b014dd242f7c parent 8b9ab02b690e988f19c9d740ef642d7d833d23d5 author Jack Morgenstein Mon, 20 Mar 2006 10:08:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IPoIB: Move ipoib_ib_dev_flush() to ipoib workqueue Move ipoib_ib_dev_flush() to ipoib's workqueue. This keeps it ordered with respect to other work scheduled by the ipoib driver. This fixes problems with races, for example: - ipoib_ib_dev_flush() has started running because of an IB event - user does ifconfig ib0 down - ipoib_mcast_stop_thread() gets called twice and waits for the same completion twice Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8b9ab02b690e988f19c9d740ef642d7d833d23d5 tree e72a12094911f4c0c4fe5ed7769be047763bc103 parent 702b2aaccfbf0fa29c6ffb423a39a7a5573f793a author Roland Dreier Tue, 07 Mar 2006 11:21:08 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IPoIB: Fix build now that neighbour destructor is in neigh_params Fix the IPoIB build (which is broken in net-2.6.17 because of my screw-up, which left out this chunk in ipoib_multicast.c). The neighbour destructor is now in neigh_params, so we don't need to clear it in the ops structure. Signed-off-by: Roland Dreier commit 702b2aaccfbf0fa29c6ffb423a39a7a5573f793a tree 3e4863f5d4dc73d813b13e99d97cfd33c8789d03 parent f36e1793e25513380cae5958a9164d4cc4458ad0 author Ami Perlmutter Mon, 20 Mar 2006 10:08:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:24 -0800 IB/uverbs: Use correct alt_pkey_index in modify QP The old code incorrectly used the primary P_Key index as the alternate index too. Signed-off-by: Ami Perlmutter Signed-off-by: Roland Dreier commit f36e1793e25513380cae5958a9164d4cc4458ad0 tree aa31d34ee07971645af6f21068709166420caee2 parent 6ecb0c849625e830ab96495d473bb704812c30e1 author Jack Morgenstein Fri, 03 Mar 2006 21:54:13 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/umad: Add support for large RMPP transfers Add support for sending and receiving large RMPP transfers. The old code supports transfers only as large as a single contiguous kernel memory allocation. This patch uses linked list of memory buffers when sending and receiving data to avoid needing contiguous pages for larger transfers. Receive side: copy the arriving MADs in chunks instead of coalescing to one large buffer in kernel space. Send side: split a multipacket MAD buffer to a list of segments, (multipacket_list) and send these using a gather list of size 2. Also, save pointer to last sent segment, and retrieve requested segments by walking list starting at last sent segment. Finally, save pointer to last-acked segment. When retrying, retrieve segments for resending relative to this pointer. When updating last ack, start at this pointer. Signed-off-by: Jack Morgenstein Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6ecb0c849625e830ab96495d473bb704812c30e1 tree 7f482334cd05121ed96f8c17353f8a6ae73a85f9 parent 87fd1a11ae91ab42fac978467667c61fee9f01da author Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/srp: Add SCSI host attributes to show target port Add SCSI host attributes in sysfs that show the ID extension, IOC GUID, service ID, P_Key and destination GID for each target port that the SRP initiator connects to. Signed-off-by: Roland Dreier commit 87fd1a11ae91ab42fac978467667c61fee9f01da tree 856c3ca67426211ac229b87bea31d8b1a3154840 parent 6226bb570184eb6c645e047d2aecbce8c0442e3e author Sean Hefty Thu, 02 Mar 2006 16:50:37 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:23 -0800 IB/cm: Check cm_id state before handling a REP Move checking the state of a cm_id before modifying it when handling a REP. This fixes a bug seen under MPI scale-up testing, where a NULL timewait_info pointer is dereferenced if a request times out before a REP is received. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6226bb570184eb6c645e047d2aecbce8c0442e3e tree 39e7e101fbaf1816d1280e1d9be9f08bb7ff60ba parent 651eaac92894f8b6761c51b6637ea9cacea7fba2 author Roland Dreier Thu, 02 Mar 2006 13:56:37 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:22 -0800 IB/mthca: Update firmware versions Update known firmware versions in driver's table to the latest releases. Signed-off-by: Roland Dreier commit 651eaac92894f8b6761c51b6637ea9cacea7fba2 tree 8be06461ef870b7d130ebce39f55fe93af6ac542 parent 27d56300647f6e76847bc2407d7abc782fe87495 author Eli Cohen Thu, 02 Mar 2006 12:40:46 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:22 -0800 IB/mthca: Optimize large messages on Sinai HCAs Sinai (one-port PCI Express) HCAs get improved throughput for messages bigger than 80 KB in DDR mode if memory keys are formatted in a specific way. The enhancement only works if the memory key table is smaller than 2^24 entries. For larger tables, the enhancement is off and a warning is printed (to avoid silent performance loss). Signed-off-by: Eli Cohen Signed-off-by: Michael Tsirkin Signed-off-by: Roland Dreier commit 27d56300647f6e76847bc2407d7abc782fe87495 tree 58e63c3f4271e65807e8508944306a7c227aa987 parent 4546d31d84beafe74c56651173ac4fe197c7de8b author Dotan Barak Thu, 02 Mar 2006 11:25:27 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:21 -0800 IB/uverbs: Fix query QP return of sq_sig_all The old code didn't convert from the kernel's enum correctly. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 4546d31d84beafe74c56651173ac4fe197c7de8b tree 5196b616386b05c4a64ce8e70e78ca5e2b27fbb2 parent 9acf6a8570dcfc9f55724b8b71099fc8768e8c26 author Dotan Barak Thu, 02 Mar 2006 11:22:28 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:20 -0800 IB: Fix modify QP checking of "current QP state" attribute According to the IB spec version 1.2, section 11.2.4.2, the current table has a couple of mistakes where it allows the current QP state (IB_QP_CUR_STATE) attribute. For the transitions: RTS -> RTS: IB_QP_CUR_STATE should be allowed for all transports SQD -> SQD: IB_QP_CUR_STATE should never be allowed Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 9acf6a8570dcfc9f55724b8b71099fc8768e8c26 tree 5b265bf0474f321722d2690b5b5dc57cde80690e parent 54d07e2a1ead2f093ce054cda2e0f5ec163c650c author Michael S. Tsirkin Thu, 02 Mar 2006 11:07:47 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:20 -0800 IPoIB: Fix multicast race between canceling and completing ipoib_mcast_stop_thread currently tests mcast->query and if it is NULL, does not perform wait_for_completion on the mcast and frees the mcast object directly. However, since both operations are done without locking, it is possible that ipoib_mcast_join_complete is in progress on this mcast object and has set mcast->query to NULL already. Solve this by: - taking priv->lock before we change mcast->query in ipoib_mcast_join_complete, and keeping it until we no longer need the mcast object - taking priv->lock around mcast->query test in ipoib_mcast_stop_thread Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 54d07e2a1ead2f093ce054cda2e0f5ec163c650c tree 0d5d495d25506839bd8bec0c8da092ca8b007202 parent 8d3ef29d6be1e750512e0a9dbea6225290b81d0a author Eli Cohen Thu, 02 Mar 2006 11:05:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:19 -0800 IPoIB: Clean up if posting receives fails If posting receives in ipoib_ib_dev_open() fails, call ipoib_ib_dev_stop() to move the device's QP back to the RESET state so that we can try again later. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8d3ef29d6be1e750512e0a9dbea6225290b81d0a tree 9384d9275d5122574665db18b5196f9c9a96d7ac parent 67e7377661db4e341ed5e9a0358d11a55e532aa8 author Ishai Rabinovitz Wed, 01 Mar 2006 22:33:11 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:19 -0800 IB/mthca: Use an enum for HCA page size Use a named enum for the HCA's internal page size, rather than having magic values of 4096 and shifts by 12 all over the code. Also, fix one minor bug in EQ handling: only one HCA page is mapped to the HCA during initialization, but a full kernel page is unmapped during cleanup. This might cause problems when PAGE_SIZE != 4096. Signed-off-by: Ishai Rabinovitz Signed-off-by: Roland Dreier commit 67e7377661db4e341ed5e9a0358d11a55e532aa8 tree ccc47340a8a0be951b65aec8f90f099eecdb181d parent 7667abd1528782003d8b83c54756523ec547af6e author Dotan Barak Wed, 01 Mar 2006 14:28:12 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IB/mthca: Check alternate P_Key index when setting alternate path Check that the alternate P_Key index is in range when setting the alternate path for a QP. Also make a cosmetic touch up to the debug message printed when the main P_Key index is out of range. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 7667abd1528782003d8b83c54756523ec547af6e tree c0f1bb5ff87388cc8be6ca6e23a7bc013b52d589 parent 7343b231f22cec11f069bcdbb0c9a417df2750d3 author Dotan Barak Mon, 27 Feb 2006 21:02:00 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IB/mthca: Add support for send work request fence flag Add support for IB_SEND_FENCE flag in post_send methods. Signed-off-by: Dotan Barak Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 7343b231f22cec11f069bcdbb0c9a417df2750d3 tree 3b72ba5f585fcab8271dc4be046b3bd447852847 parent 1d89b1ae6c203bc68a3f424be144abcdf62773c9 author Eli Cohen Mon, 27 Feb 2006 20:47:43 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:18 -0800 IPoIB: Close race in setting mcast->ah ipoib_mcast_send() tests mcast->ah twice. If this value is changed between these two points, we leak an skb. However, ipoib_mcast_join_finish() sets mcast->ah with no locking, so it could race against ipoib_mcast_send(). As a solution, take priv->lock around assignment to mcast->ah thus making sure ipoib_mcast_send() (which also takes priv->lock) is not in flight. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 1d89b1ae6c203bc68a3f424be144abcdf62773c9 tree 9d1979c98843ba7d18f6272f13ea06c2591ee8d5 parent 14abdffcc0a0ca9c5bb3274648d073e09a6fd2ba author Jack Morgenstein Sun, 26 Feb 2006 16:05:59 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:17 -0800 IB/mthca: Implement query_ah method Implement query_ah (except for AVs which are in HCA memory). This is needed to implement RMPP duplicate session detection on sending side (extraction of DGID/DLID and GRH flag from address handle). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 14abdffcc0a0ca9c5bb3274648d073e09a6fd2ba tree fe934450412ed70f627e9d98bb881b03c7b31222 parent ea88fd16d6e85f4bc71b6053180b64f04be1ff14 author Eli Cohen Sun, 26 Feb 2006 14:36:06 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:17 -0800 IB/mthca: Write FW commands through doorbell page This patch is checks whether the HCA supports posting FW commands through a doorbell page (user access region 0, or "UAR0"). If this is supported, the driver maps UAR0 and uses it for FW commands. This can be controlled by the value of a writable module parameter fw_cmd_doorbell. When the parameter is 0, the commands are posted through HCR using the old method; otherwise if HCA is capable commands go through UAR0. This use of UAR0 to post commands eliminates the need for polling the "go" bit prior to posting a new command. Since reading from a PCI device is much more expensive then issuing a posted write, it is expected that issuing FW commands this way will provide better CPU utilization. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit ea88fd16d6e85f4bc71b6053180b64f04be1ff14 tree ea0f02aca9bb83f636e60002a9f98f9dab6d57e0 parent abb6e9ba17eb133ab385d0f9017fa8afa809d52a author Dotan Barak Thu, 23 Feb 2006 12:36:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/uverbs: Return actual capacity from create SRQ operation Pass actual capacity of created SRQ back to userspace, so that userspace can report accurate capacities. This requires an ABI bump, to change struct ib_uverbs_create_srq_resp. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit abb6e9ba17eb133ab385d0f9017fa8afa809d52a tree 6cab0a44a1cb439c3c204149d44e6295320e5de7 parent 44af79f9524c29d6850591cc972f2667a27234d4 author Dotan Barak Thu, 23 Feb 2006 12:13:51 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/mthca: Return actual capacity from create_srq Have mthca's create_srq method return the actual capacity of the SRQ that gets created. Also update comments in to clarify that this is what is expected from ib_create_srq(). Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 44af79f9524c29d6850591cc972f2667a27234d4 tree 8d88bdbd7c3fd015c692792bf1fcd3600ba0c275 parent 4d9781c5ce1a517a07dbf03c37323c011037fe79 author Michael S. Tsirkin Mon, 20 Feb 2006 21:50:39 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IPoIB: clarify to_ipoib_neigh() Cosmetic change: make alignment explicit in to_ipoib_neigh. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 4d9781c5ce1a517a07dbf03c37323c011037fe79 tree 68ad197f6ced067ab8c29294d156ee6e2e04da4e parent 00df1b2c8b1f07e02a74e2d10b176f29395ce7d2 author Roland Dreier Thu, 16 Feb 2006 09:26:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:16 -0800 IB/uverbs: Fix alignment of struct ib_uverbs_create_qp_resp The size of struct ib_uverbs_create_qp_resp is not even multiple of 8 bytes. This causes problems for low-level drivers that add private data after the structure: 32-bit userspace will look in the wrong place for a response from a 64-bit kernel. Fix this by adding a reserved field. Also, bump the ABI version because this changes the size of a structure. Pointed out by Hoang-Nam Nguyen . Signed-off-by: Roland Dreier commit 00df1b2c8b1f07e02a74e2d10b176f29395ce7d2 tree b31cb90c60b5abc91e0cff2e39538d1c6524834f parent 8ebe5077e37a0cb0da527e397460188e6bfdd3ee author Roland Dreier Mon, 13 Feb 2006 17:21:09 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:15 -0800 IB/mthca: Bump driver version and release date Signed-off-by: Roland Dreier commit 8ebe5077e37a0cb0da527e397460188e6bfdd3ee tree 401491fb7a94516dfbeeee027d8eeb294117cb5b parent 8bdb0e8632e0f5061bd18b6934346cb609490135 author Eli Cohen Mon, 13 Feb 2006 16:40:21 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:15 -0800 IB/mthca: Support for query QP and SRQ Implement the query_qp and query_srq methods in mthca. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit 8bdb0e8632e0f5061bd18b6934346cb609490135 tree baa94a9ad7c97f4c025452ffbba2b7f6d8cc0af2 parent 7ccc9a24e01258a31ee2b964215e4ddddd2a02c4 author Dotan Barak Mon, 13 Feb 2006 16:31:57 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:14 -0800 IB/uverbs: Support for query SRQ from userspace Add support to uverbs to handle querying userspace SRQs (shared receive queues), including adding an ABI for marshalling requests and responses. The kernel midlayer already has the underlying ib_query_srq() function. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 7ccc9a24e01258a31ee2b964215e4ddddd2a02c4 tree 486ab72c62f42952309ea764bc6bd30f56e87522 parent a74cd4af0bfa9578594acbb711a958104c93b772 author Dotan Barak Mon, 13 Feb 2006 16:31:25 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:14 -0800 IB/uverbs: Support for query QP from userspace Add support to uverbs to handle querying userspace QPs (queue pairs), including adding an ABI for marshalling requests and responses. The kernel midlayer already has the underlying ib_query_qp() function. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit a74cd4af0bfa9578594acbb711a958104c93b772 tree 070e951014aa396b472d3b17df81e6665bd5a4c5 parent d844183d9c7b103da1d7a1c753a1c171e9ce26b3 author Roland Dreier Mon, 13 Feb 2006 16:30:49 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:13 -0800 IB: Whitespace cleanups Remove trailing whitespace and fix indentation that with spaces instead of tabs. Signed-off-by: Roland Dreier commit d844183d9c7b103da1d7a1c753a1c171e9ce26b3 tree 5bd7ca0feaae115b2f487e20fcd0fa75f76a16d9 parent 8a51866f08103ba04894ce0f65eef567ddc3ed40 author Roland Dreier Mon, 13 Feb 2006 16:30:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:13 -0800 IB/mthca: Convert to use ib_modify_qp_is_ok() Use ib_modify_qp_is_ok() in mthca, and delete the big table of attributes for queue pair state transitions. Signed-off-by: Roland Dreier commit 8a51866f08103ba04894ce0f65eef567ddc3ed40 tree 39af79ce5995900c14610acc768850a749961ee9 parent 3fa1fa3e809dc009a080ca9f052cee2e17836c63 author Roland Dreier Mon, 13 Feb 2006 12:48:12 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:12 -0800 IB: Add ib_modify_qp_is_ok() library function The in-kernel mthca driver contains a table of which attributes are valid for each queue pair state transition. It turns out that both other IB drivers -- ipath and ehca -- which are being prepared for merging have copied this table, errors and all. To forestall this code duplication, move this table and the code to check parameters against it into a midlayer library function, ib_modify_qp_is_ok(). Signed-off-by: Roland Dreier commit 3fa1fa3e809dc009a080ca9f052cee2e17836c63 tree 471bc486f70e8cd4d3950b0ff256f12db057b951 parent 5e9f71a16c56af7e2ff8b7ea251e0fd90b5de560 author Roland Dreier Fri, 03 Feb 2006 14:53:28 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:12 -0800 IB/mthca: Generate SQ drained events when requested Add low-level driver support to ib_mthca so that consumers can request a "send queue drained" event be generated when a transiton to the SQD state completes. Signed-off-by: Roland Dreier commit 5e9f71a16c56af7e2ff8b7ea251e0fd90b5de560 tree d3b6aba0640173d0ce760140650dad51a76f9501 parent 5f0b67e0d5c2807337b8fee4aa71b05f4f641534 author Ralph Campbell Fri, 03 Feb 2006 14:32:01 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:11 -0800 IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() The call to ib_get_agent_port() shouldn't be possible to fail when smi_check_local_dr_smp() is called from ib_mad_recv_done_handler(). When it is called from handle_outgoing_dr_smp(), the device and port_num come from mad_agent_priv so I assume the call to ib_get_agent_port() shouldn't fail either. In either case, smi_check_local_smp() only uses the mad_agent pointer to check that mad_agent->device->process_mad is not NULL. The device pointer would have to be the same as the one passed to smi_check_local_dr_smp() since that pointer is used later instead of the one checked in smi_check_local_smp(). Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 5f0b67e0d5c2807337b8fee4aa71b05f4f641534 tree 7fa82fdc250aa862366296adb3087e2f30f4d4a1 parent d36f34aadf184d8cc4c240de2b6319ccea8334bb author Ralph Campbell Fri, 03 Feb 2006 14:30:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:11 -0800 IB/mad: Remove redundant check from smi_check_local_dr_smp() smi_check_local_dr_smp() is called only from two places in core/mad.c It returns 0 or 1. In smi_check_local_dr_smp(), it checks for a directed route SMP but this function is only called when the SMP is a directed route so this is a NOP. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit d36f34aadf184d8cc4c240de2b6319ccea8334bb tree 20b7a77e03f3c75c9043a50ddd720a31048efa99 parent 6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8 author Or Gerlitz Thu, 02 Feb 2006 10:43:45 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:10 -0800 IB: Enable FMR pool user to set page size This patch allows the consumer to set the page size of "pages" mapped by the pool FMRs, which is a feature already existing in the base verbs API. On the cosmetic side it changes ib_fmr_attr.page_size field to be named page_shift. Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier commit 6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8 tree f4918637c0d7c4b5c7fe4a4deb84e44ed3663dc6 parent c5bcbbb9fe00128d500c2f473d5ddc8d8c2c53a7 author Roland Dreier Thu, 02 Feb 2006 10:04:19 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:10 -0800 IB/mthca: Add modify_device method to set node description Add a modify_device method to mthca, which implements setting the node description. This makes the writable "node_desc" sysfs attribute work for Mellanox HCAs. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit c5bcbbb9fe00128d500c2f473d5ddc8d8c2c53a7 tree c4a6feac1bc1dfd9e2fbe88c8e6ad1db4a47a817 parent 2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625 author Roland Dreier Thu, 02 Feb 2006 09:47:14 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:09 -0800 IB: Allow userspace to set node description Expose a writable "node_desc" sysfs attribute for InfiniBand devices. This allows userspace to update the node description with information such as the node's hostname, so that IB network management software can tie its view to the real world. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2fa5e2ebbe2d81f741ba7bed9e07dc38cc734625 tree 6cb2693d8e10a903d78e236e90645fc6df28c9b3 parent 4885bf64bc2eb242ebebe67077cfe3688283b586 author Roland Dreier Wed, 01 Feb 2006 13:38:24 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:09 -0800 IB/mthca: Whitespace cleanups Remove trailing whitespace and fix indentation that with spaces instead of tabs. Signed-off-by: Roland Dreier commit 4885bf64bc2eb242ebebe67077cfe3688283b586 tree ed40e3eb7c05e923919f1e8ef2a9186b32c916a4 parent 33b9b3ee9709b19c4f02ab91571d53540d05c3d1 author Roland Dreier Mon, 30 Jan 2006 14:31:33 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:08 -0800 IB/mthca: Add device-specific support for resizing CQs Add low-level driver support for resizing CQs (both kernel and userspace) to mthca. Signed-off-by: Roland Dreier commit 33b9b3ee9709b19c4f02ab91571d53540d05c3d1 tree 2d1019e9b8bf63e4235d7c73fd78ab294b993de2 parent 399d7921299fc4f146bd62bfa6312382a5429bcc author Roland Dreier Mon, 30 Jan 2006 14:29:21 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB: Add userspace support for resizing CQs Add support to uverbs to handle resizing userspace CQs (completion queues), including adding an ABI for marshalling requests and responses. The kernel midlayer already has ib_resize_cq(). Signed-off-by: Roland Dreier commit 399d7921299fc4f146bd62bfa6312382a5429bcc tree f7ddfa33ef532e887b3028fd5259b2ce5e26188e parent d9b98b0f11ee7dd39429001ba289f095b9d66917 author Roland Dreier Tue, 31 Jan 2006 21:14:18 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB/mthca: Get rid of might_sleep() annotations The might_sleep() annotations in mthca are silly -- they all occur shortly before calls that will end up in core functions like kmalloc() that will print the same warning in an unsafe context anyway. In fact, beyond cluttering the source, we're actually bloating text with CONFIG_DEBUG_SPINLOCK_SLEEP and/or CONFIG_PREEMPT_VOLUNTARY set. With both options set, getting rid of the might_sleep()s saves a lot: add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-171 (-171) function old new delta mthca_pd_alloc 132 109 -23 mthca_init_cq 969 946 -23 mthca_mr_alloc 592 568 -24 mthca_pd_free 67 42 -25 mthca_free_mr 219 194 -25 mthca_free_cq 570 545 -25 mthca_fmr_alloc 742 716 -26 Signed-off-by: Roland Dreier commit d9b98b0f11ee7dd39429001ba289f095b9d66917 tree c473a7b348640cb80c4584ef5ea8dd055efed577 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Roland Dreier Tue, 31 Jan 2006 20:45:51 -0800 committer Roland Dreier Mon, 20 Mar 2006 10:08:07 -0800 IB/mthca: Make functions that never fail return void The function mthca_free_err_wqe() can never fail, so get rid of its return value. That means handle_error_cqe() doesn't have to check what mthca_free_err_wqe() returns, which means it can't fail either and doesn't have to return anything either. All this results in simpler source code and a slight object code improvement: add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-10 (-10) function old new delta mthca_free_err_wqe 83 81 -2 mthca_poll_cq 1758 1750 -8 Signed-off-by: Roland Dreier commit 1a02e59a2970f9ed28ab51d3b08624b79e54d848 tree 470cce472be3b08c160e0c569648e7228651b12a parent ebcff3c773b42bce6182ec16485abca4e53fba97 parent 2c276603c3e5ebf38155a9d1fbbda656d52d138e author Kumar Gala Mon, 20 Mar 2006 11:58:02 -0600 committer Kumar Gala Mon, 20 Mar 2006 11:58:02 -0600 Merge branch 'master' commit 0f76ee451484d02c7405d92e7bceb39b415abb01 tree 9722f84281f786ba48971dde057f5171a49969e4 parent 01d206a7c1167639f6ca6dac22140fbdca017558 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Adrian Bunk Mon, 20 Mar 2006 18:30:36 +0100 committer Adrian Bunk Mon, 20 Mar 2006 18:30:36 +0100 Merge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 61c5504a0ed66c8b460f9a006eedaea2ee587e33 tree 2cf21d235f17e80d47fdb4ee1248865be8196d4d parent 9585da3729e7e27bf22818625c10ac6c64ebb609 parent 2c276603c3e5ebf38155a9d1fbbda656d52d138e author Kumar Gala Mon, 20 Mar 2006 10:53:56 -0600 committer Kumar Gala Mon, 20 Mar 2006 10:53:56 -0600 Merge branch 'master' commit 7abe53155b77c31028a7158883bc9aac705790da tree 3e63f4bf62029eaa9694362ac20179ec7449c4f9 parent 9e7714d08061a77d3d2ec9a6ef6fd571a534fc7f author Russell King Mon, 20 Mar 2006 10:12:31 +0000 committer Russell King Mon, 20 Mar 2006 10:12:31 +0000 [ARM] Fix cosmetic typo in asm/irq.h The IRQ resource flags are IORESOURCE_IRQ not IRQRESOURCE_IRQ. Signed-off-by: Russell King commit 29b2548bf53ffb810394a2110161ef49f8e4780f tree af0233def65a854dc95e5faca9645b30e88d45aa parent c39f5ebe0a542caab30c88e60623709c7bc6fe30 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Jeff Garzik Mon, 20 Mar 2006 04:48:50 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:48:50 -0500 Merge branch 'master' commit 2e9ff56efbc005ab2b92b68df65940c7459446c6 tree 8844a54f2b205bb5dceb6391d05df9a9f8bc62d2 parent d378aca6ec708bfb24df5c47801b1f2399efc481 parent cc8279f68c34c3f32b3a85f3103b0ad755c57846 author Jeff Garzik Mon, 20 Mar 2006 04:38:50 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:38:50 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit d378aca6ec708bfb24df5c47801b1f2399efc481 tree 7535f96bf34314df071698d2e06054b8d5223ebb parent abc71c46dc0a12ab7fddc18cfe4f4aa26808c79b parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Jeff Garzik Mon, 20 Mar 2006 04:38:03 -0500 committer Jeff Garzik Mon, 20 Mar 2006 04:38:03 -0500 Merge branch 'master' commit ac0eb3eb7e54b700386068be025a43d2a3958ee5 tree ed8b7820baf1c53ac13d0419eade64a08e8d7cf3 parent f6b83f070e9b7ad9075f7cc5646260e56c7d0219 author David S. Miller Mon, 20 Mar 2006 01:23:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:23:43 -0800 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit f6b83f070e9b7ad9075f7cc5646260e56c7d0219 tree 48586ca4f4c75ee3862f63be332351e78f2d5476 parent 467418f3508b426adbc7df795ebf3baaed4fbefc author David S. Miller Mon, 20 Mar 2006 01:17:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:17:17 -0800 [SPARC64]: Fix 2 bugs in huge page support. 1) huge_pte_offset() did not check the page table hierarchy elements as being empty correctly, resulting in an OOPS 2) Need platform specific hugetlb_get_unmapped_area() to handle the top-down vs. bottom-up address space allocation strategies. Signed-off-by: David S. Miller commit 467418f3508b426adbc7df795ebf3baaed4fbefc tree 921d3658878d856e497e42cd31d2b2342cce0441 parent bb8646d8340fa7c1b66a037428e39f85f8738f0a author Andrew Morton Sun, 19 Mar 2006 12:46:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:41 -0800 [SPARC64]: CONFIG_BLK_DEV_RAM fix init/do_mounts_rd.c depends upon CONFIG_BLK_DEV_RAM, not CONFIG_BLK_DEV_INITRD. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit bb8646d8340fa7c1b66a037428e39f85f8738f0a tree 931d4505a0ba65124b662f0f8b5935e0b154bd66 parent 88d7079458f87d6f2d2261b2f87b7b9416019f5e author David S. Miller Sat, 18 Mar 2006 23:55:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:41 -0800 [SPARC64]: Optimized TSB table initialization. We only need to write an invalid tag every 16 bytes, so taking advantage of this can save many instructions compared to the simple memset() call we make now. A prefetching implementation is implemented for sun4u and a block-init store version if implemented for Niagara. The next trick is to be able to perform an init and a copy_tsb() in parallel when growing a TSB table. Signed-off-by: David S. Miller commit 88d7079458f87d6f2d2261b2f87b7b9416019f5e tree 7e27074dcb05a795c15ed9455134c9e676b63aff parent 9b4006dcf6a8c43bd482b9c1ec576f0ed270ef23 author David S. Miller Sat, 18 Mar 2006 19:16:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:40 -0800 [SPARC64]: Allow CONFIG_MEMORY_HOTPLUG to build. online_page() is straightforward, and then add a dummy remove_memory() that returns -EINVAL just like i386. There is no point in implementing remove_memory() since __remove_pages() has no implementation either. Signed-off-by: David S. Miller commit 9b4006dcf6a8c43bd482b9c1ec576f0ed270ef23 tree e04ac039a49f37ee5e8eca3fd654df0649a1806c parent b52439c22c63dbbefd5395f2151c0ef4f667e949 author David S. Miller Sat, 18 Mar 2006 18:12:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:39 -0800 [SPARC64]: Use SLAB caches for TSB tables. Signed-off-by: David S. Miller commit b52439c22c63dbbefd5395f2151c0ef4f667e949 tree ff6671cab70dfaed00cf19367a6a71b1cda0cdf4 parent 05f9ca83596c7801549a2b4eba469d51baf5480f author David S. Miller Fri, 17 Mar 2006 23:40:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:38 -0800 [SPARC64]: Don't kill the page allocator when growing a TSB. Try only lightly on > 1 order allocations. If a grow fails, we are under memory pressure, so do not try to grow the TSB for this address space any more. If a > 0 order TSB allocation fails on a new fork, retry using a 0 order allocation. Signed-off-by: David S. Miller commit 05f9ca83596c7801549a2b4eba469d51baf5480f tree 22270db01a13dda0af9b158662712f9e6b6a934c parent d61e16df940e02e25679bdc1aee8c25786f6de90 author David S. Miller Fri, 17 Mar 2006 17:42:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:37 -0800 [SPARC64]: Randomize mm->mmap_base when PF_RANDOMIZE is set. Signed-off-by: David S. Miller commit d61e16df940e02e25679bdc1aee8c25786f6de90 tree de76f4007d526835b8564203341ebf66ca29b12d parent a91690ddd05ab0b7fbdd37733875525ac75c20f2 author David S. Miller Fri, 17 Mar 2006 17:33:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:36 -0800 [SPARC64]: Increase top of 32-bit process stack. Put it one page below the top of the 32-bit address space. This gives us ~16MB more address space to work with. Signed-off-by: David S. Miller commit a91690ddd05ab0b7fbdd37733875525ac75c20f2 tree f6937c0ce29c79078d6df8346a374a7b9947f360 parent b5e7ae5dd034c2c0ed75c31fca04a805097817bc author David S. Miller Fri, 17 Mar 2006 14:41:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:35 -0800 [SPARC64]: Top-down address space allocation for 32-bit tasks. Currently allocations are very constrained for 32-bit processes. It grows down-up from 0x70000000 to 0xf0000000 which gives about 2GB of stack + dynamic mmap() space. So support the top-down method, and we need to override the generic helper function in order to deal with D-cache coloring. With these changes I was able to squeeze out a mmap() just over 3.6GB in size in a 32-bit process. Signed-off-by: David S. Miller commit b5e7ae5dd034c2c0ed75c31fca04a805097817bc tree 5dc785f198f08502d99fa95dd0714b319f51e1c5 parent 7a1ac5264108fc3ed22d17a3cdd76212ed1666d1 author David S. Miller Fri, 17 Mar 2006 13:23:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:34 -0800 [SPARC64] bbc_i2c: Fix cpu check and add missing module license. Should allow cheetah_plus cpu types and don't taint the kernel. Signed-off-by: David S. Miller commit 7a1ac5264108fc3ed22d17a3cdd76212ed1666d1 tree 75378a1b470afa54900f1f15a5b41966d301520d parent a858f1ca726edc5eb7ed39722f7966d005f1c9ca author David S. Miller Thu, 16 Mar 2006 02:02:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:33 -0800 [SPARC64]: Fix and re-enable dynamic TSB sizing. This is good for up to %50 performance improvement of some test cases. The problem has been the race conditions, and hopefully I've plugged them all up here. 1) There was a serious race in switch_mm() wrt. lazy TLB switching to and from kernel threads. We could erroneously skip a tsb_context_switch() and thus use a stale TSB across a TSB grow event. There is a big comment now in that function describing exactly how it can happen. 2) All code paths that do something with the TSB need to be guarded with the mm->context.lock spinlock. This makes page table flushing paths properly synchronize with both TSB growing and TLB context changes. 3) TSB growing events are moved to the end of successful fault processing. Previously it was in update_mmu_cache() but that is deadlock prone. At the end of do_sparc64_fault() we hold no spinlocks that could deadlock the TSB grow sequence. We also have dropped the address space semaphore. While we're here, add prefetching to the copy_tsb() routine and put it in assembler into the tsb.S file. This piece of code is quite time critical. There are some small negative side effects to this code which can be improved upon. In particular we grab the mm->context.lock even for the tsb insert done by update_mmu_cache() now and that's a bit excessive. We can get rid of that locking, and the same lock taking in flush_tsb_user(), by disabling PSTATE_IE around the whole operation including the capturing of the tsb pointer and tsb_nentries value. That would work because anyone growing the TSB won't free up the old TSB until all cpus respond to the TSB change cross call. I'm not quite so confident in that optimization to put it in right now, but eventually we might be able to and the description is here for reference. This code seems very solid now. It passes several parallel GCC bootstrap builds, and our favorite "nut cruncher" stress test which is a full "make -j8192" build of a "make allmodconfig" kernel. That puts about 256 processes on each cpu's run queue, makes lots of process cpu migrations occur, causes lots of page table and TLB flushing activity, incurs many context version number changes, and it swaps the machine real far out to disk even though there is 16GB of ram on this test system. :-) Signed-off-by: David S. Miller commit a858f1ca726edc5eb7ed39722f7966d005f1c9ca tree 760fcedebb40e0ea7afaa788c09ef100b58fd6c0 parent 72b845e04e99298e5179b31e8de16afed52a2627 author David S. Miller Thu, 16 Mar 2006 00:55:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:16:32 -0800 [SUNSU]: Fix missing spinlock initialization. Caught by CONFIG_DEBUG_SPINLOCK. Signed-off-by: David S. Miller commit 72b845e04e99298e5179b31e8de16afed52a2627 tree c0e832b4fcb404b7624fec700ba5f12981de9d7d parent 0c51ed93ca0ecbf44ec096f4bd04c12a3e761e6b author David S. Miller Tue, 14 Mar 2006 14:11:48 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:27 -0800 [TG3]: Do not try to access NIC_SRAM_DATA_SIG on Sun parts. Sun does't put an SEEPROM behind the tigon3 chip, among other things, so accesses to these areas just give bus timeouts. Signed-off-by: David S. Miller commit 0c51ed93ca0ecbf44ec096f4bd04c12a3e761e6b tree 1d51bfaf8d51063e71b3be5727040c563941389f parent 90a6646bf6a1ca821f32d5510e935855612904df author David S. Miller Mon, 13 Mar 2006 01:27:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:26 -0800 [SPARC64]: First cut at VIS simulator for Niagara. Niagara does not implement some of the VIS instructions in hardware, so we have to emulate them. Signed-off-by: David S. Miller commit 90a6646bf6a1ca821f32d5510e935855612904df tree 035420e4ab615cb837b1246fc26c55e0b8d233b4 parent 8935dced547afbf37d0fcfcac9a3556494e53104 author David S. Miller Wed, 08 Mar 2006 17:18:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:25 -0800 [SPARC64]: Fix system type in /proc/cpuinfo and remove bogus OBP check. Report 'sun4v' when appropriate in /proc/cpuinfo Remove all the verifications of the OBP version string. Just make sure it's there, and report it raw in the bootup logs and via /proc/cpuinfo. Signed-off-by: David S. Miller commit 8935dced547afbf37d0fcfcac9a3556494e53104 tree 0ae802875c73e99b86e4f90be6e953ec0c528dea parent 17b0e199a10184d8c5bbbd79a4cee993bb1fb257 author David S. Miller Wed, 08 Mar 2006 16:09:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:24 -0800 [SPARC64]: Add SMT scheduling support for Niagara. The mapping is a simple "(cpuid >> 2) == core" for now. Later we'll add more sophisticated code that will walk the sun4v machine description and figure this out from there. We should also add core mappings for jaguar and panther processors. Signed-off-by: David S. Miller commit 17b0e199a10184d8c5bbbd79a4cee993bb1fb257 tree c5cf39d072cf908e5b03216e1e1698bf85e86877 parent d1112018b4bc82adf5c8a9c15a08954328f023ae author David S. Miller Wed, 08 Mar 2006 15:57:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:23 -0800 [SPARC64]: Fix 32-bit truncation which broke sparsemem. The page->flags manipulations done by the D-cache dirty state tracking was broken because the constants were not marked with "UL" to make them 64-bit, which means we were clobbering the upper 32-bits of page->flags all the time. This doesn't jive well with sparsemem which stores the section and indexing information in the top 32-bits of page->flags. This is yet another sparc64 bug which has been with us forever. While we're here, tidy up some things in bootmem_init() and paginig_init(): 1) Pass min_low_pfn to init_bootmem_node(), it's identical to (phys_base >> PAGE_SHIFT) but we should use consistent with the variable names we print in CONFIG_BOOTMEM_DEBUG 2) max_mapnr, although no longer used, was being set inaccurately, we shouldn't subtract pfn_base any more. 3) All the games with phys_base in the zones_*[] arrays we pass to free_area_init_node() are no longer necessary. Thanks to Josh Grebe and Fabbione for the bug reports and testing. Fix also verified locally on an SB2500 which had a memory layout that triggered the same problem. Signed-off-by: David S. Miller commit d1112018b4bc82adf5c8a9c15a08954328f023ae tree 4d94ef6c153f028cfaaff711cf7d4f07aa90e9b4 parent ee29074d3bd23848905f52c515974e0cd0219faa author David S. Miller Wed, 08 Mar 2006 02:16:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:22 -0800 [SPARC64]: Move over to sparsemem. This has been pending for a long time, and the fact that we waste a ton of ram on some configurations kind of pushed things over the edge. Signed-off-by: David S. Miller commit ee29074d3bd23848905f52c515974e0cd0219faa tree d5306446b2e26d9e45f65467b4f3b3f3b0c8494c parent a77754b4d0731321db266c6c60ffcd7c62757da5 author David S. Miller Mon, 06 Mar 2006 22:50:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:21 -0800 [SPARC64]: Fix new context version SMP handling. Don't piggy back the SMP receive signal code to do the context version change handling. Instead allocate another fixed PIL number for this asynchronous cross-call. We can't use smp_call_function() because this thing is invoked with interrupts disabled and a few spinlocks held. Also, fix smp_call_function_mask() to count "cpus" correctly. There is no guarentee that the local cpu is in the mask yet that is exactly what this code was assuming. Signed-off-by: David S. Miller commit a77754b4d0731321db266c6c60ffcd7c62757da5 tree 37cc4c6793e2b616791d42ee840e5a007a13eccb parent 9132983ae140a8ca81e95e081d5a4c0dd7a7f670 author David S. Miller Mon, 06 Mar 2006 19:59:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:20 -0800 [SPARC64]: Bulletproof MMU context locking. 1) Always spin_lock_init() in init_context(). The caller essentially clears it out, or copies the mm info from the parent. In both cases we need to explicitly initialize the spinlock. 2) Always do explicit IRQ disabling while taking mm->context.lock and ctx_alloc_lock. Signed-off-by: David S. Miller commit 9132983ae140a8ca81e95e081d5a4c0dd7a7f670 tree f3aec20b1bb5a2cc111bbbf6775a0f8d84d28994 parent f7c00338cfeef125032aa12aa8ebeacf9e117e81 author Eric Sesterhenn Mon, 06 Mar 2006 13:48:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:19 -0800 [SPARC64]: kzalloc() conversion this patch converts arch/sparc64 to kzalloc usage. Crosscompile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: David S. Miller commit f7c00338cfeef125032aa12aa8ebeacf9e117e81 tree 3fc55d603a0c59aa8a4db63e4acc63b26170b7cb parent 74ae998772041b62e9ad420d602e4f7dbb182cd6 author David S. Miller Sun, 05 Mar 2006 22:18:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:19 -0800 [SPARC64]: Fix loop termination in mark_kpte_bitmap() If we were aligned, but didn't have at least 256MB left to process, we would loop forever. Thanks to fabbione for the report and testing the fix. Signed-off-by: David S. Miller commit 74ae998772041b62e9ad420d602e4f7dbb182cd6 tree 8cbeb2ff56856d357647da6ab62562bac2fe87ad parent 3cab0c3e8636d5005041aa52224f796c3a4ef872 author David S. Miller Sun, 05 Mar 2006 18:26:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:18 -0800 [SPARC64]: Simplify TSB insert checks. Don't try to avoid putting non-base page sized entries into the user TSB. It actually costs us more to check this than it helps. Eventually we'll have a multiple TSB scheme for user processes. Once a process starts using larger pages, we'll allocate and use such a TSB. Signed-off-by: David S. Miller commit 3cab0c3e8636d5005041aa52224f796c3a4ef872 tree 582c92940f46cb0ecf8fafd4fde1cfd346172366 parent bcc28ee0bf390df0d81cc9dafe980faef6b2771a author David S. Miller Thu, 02 Mar 2006 21:50:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:17 -0800 [SPARC64]: More SUN4V cpu mondo bug fixing. This cpu mondo sending interface isn't all that easy to use correctly... We were clearing out the wrong bits from the "mask" after getting something other than EOK from the hypervisor. It turns out the hypervisor can just be resent the same cpu_list[] array, with the 0xffff "done" entries still in there, and it will do the right thing. So don't update or try to rebuild the cpu_list[] array to condense it. This requires the "forward_progress" check to be done slightly differently, but this new scheme is less bug prone than what we were doing before. Signed-off-by: David S. Miller commit bcc28ee0bf390df0d81cc9dafe980faef6b2771a tree 7dfed621399ef9f1bc65a949bf639994b6494485 parent c4f8ef77f941e7d89a52fad1fbe04d59397e2bd1 author David S. Miller Thu, 02 Mar 2006 20:42:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:16 -0800 [SPARC64]: Fix sun4v mna winfixup handling. We were clobbering a base register before we were done using it. Fix a comment typo while we're here. Signed-off-by: David S. Miller commit c4f8ef77f941e7d89a52fad1fbe04d59397e2bd1 tree 7c76d66a096913f47918f755763e48ef2b00907d parent 8bcd17411643beb9a601e032d0cf1016909a81d3 author David S. Miller Thu, 02 Mar 2006 20:28:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:15 -0800 [SPARC64]: Fix mini RTC driver reading. Need to subtract 1900 from year and 1 from month before giving it back to userspace. Signed-off-by: David S. Miller commit 8bcd17411643beb9a601e032d0cf1016909a81d3 tree fc71e788df4fada768247fa7c12e983d2f6f1a32 parent 45f791eb0f03e760183d30d3f1f18dc2b8e902fe author David S. Miller Thu, 02 Mar 2006 18:12:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:14 -0800 [SPARC64]: Do not allow mapping pages within 4GB of 64-bit VA hole. The UltraSPARC T1 manual recommends this because the chip could instruction prefetch into the VA hole, and this would also make decoding certain kinds of memory access traps more difficult (because the chip sign extends certain pieces of trap state). Signed-off-by: David S. Miller commit 45f791eb0f03e760183d30d3f1f18dc2b8e902fe tree 05ef47c68b45202106b70c1f28d4935a2c6115fb parent 92daa77e9a829350fd3900ff58d9c69820ad0e3d author David S. Miller Wed, 01 Mar 2006 22:42:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:13 -0800 [SPARC64]: Fix _PAGE_EXEC handling. First of all, use the known _PAGE_EXEC_{4U,4V} value instead of loading _PAGE_EXEC from memory. We either know which one to use by context, or we can code patch the test. Next, we need to check executability of a PTE in the generic TSB miss handler. Signed-off-by: David S. Miller commit 92daa77e9a829350fd3900ff58d9c69820ad0e3d tree a81a81cab49254dd041a0fbe78f09c84ec174a2c parent e22990451a6a6263250cdd267708548dfa08a8f2 author David S. Miller Wed, 01 Mar 2006 22:27:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:12 -0800 [SPARC64]: Fix typo in SUN4V D-TLB miss handler. Should put FAULT_CODE_DTLB into %g3 not FAULT_CODE_ITLB. Signed-off-by: David S. Miller commit e22990451a6a6263250cdd267708548dfa08a8f2 tree 5d280a9aa0d2b49824d917be85afaa37bb93aede parent 8ba706a95bb92c3b14b812f6d507890336d19136 author David S. Miller Wed, 01 Mar 2006 22:25:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:11 -0800 [SPARC64]: Kill bogus function externs in asm/pgtable.h These are all implemented inline earlier in the file. Signed-off-by: David S. Miller commit 8ba706a95bb92c3b14b812f6d507890336d19136 tree 2456134d50898a7bd8efda4adcfa636ab0ea43cf parent b830ab665ad96c6b20d51a89b35cbc09ab5a2c29 author David S. Miller Wed, 01 Mar 2006 17:32:46 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:10 -0800 [SPARC64]: Add mini-RTC driver for Starfire and SUN4V. Signed-off-by: David S. Miller commit b830ab665ad96c6b20d51a89b35cbc09ab5a2c29 tree 57c2c75b3e069f9f244259ae02f6f2fe3de68612 parent aac0aadf09b98ba36eab0bb02a560ebcb82ac39f author David S. Miller Tue, 28 Feb 2006 15:10:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:09 -0800 [SPARC64]: Fix bugs in SUN4V cpu mondo dispatch. There were several bugs in the SUN4V cpu mondo dispatch code. In fact, if we ever got a EWOULDBLOCK or other error from the hypervisor call, we'd potentially send a cpu mondo multiple times to the same cpu and even worse we could loop until the timeout resending the same mondo over and over to such cpus. So let's bulletproof this thing as follows: 1) Implement cpu_mondo_send() and cpu_state() hypervisor calls in arch/sparc64/kernel/entry.S, add prototypes to asm/hypervisor.h 2) Don't build and update the cpulist using inline functions, this was causing the cpu mask to not get updated in the caller. 3) Disable interrupts during the entire mondo send, otherwise our cpu list and/or mondo block could get overwritten if we take an interrupt and do a cpu mondo send on the current cpu. 4) Check for all possible error return types from the cpu_mondo_send() hypervisor call. In particular: HV_EOK) Our work is done, all cpus have received the mondo. HV_CPUERROR) One or more of the cpus in the cpu list we passed to the hypervisor are in error state. Use cpu_state() calls over the entries in the cpu list to see which ones. Record them in "error_mask" and report this after we are done sending the mondo to cpus which are not in error state. HV_EWOULDBLOCK) We need to keep trying. Any other error we consider fatal, we report the event and exit immediately. 5) We only timeout if forward progress is not made. Forward progress is defined as having at least one cpu get the mondo successfully in a given cpu_mondo_send() call. Otherwise we bump a counter and delay a little. If the counter hits a limit, we signal an error and report the event. Also, smp_call_function_mask() error handling reports the number of cpus incorrectly. Signed-off-by: David S. Miller commit aac0aadf09b98ba36eab0bb02a560ebcb82ac39f tree 0628f23fd3d7bd343966e038d6328f9bf0e8751d parent 6889331a1260e42b0275f42c13d6342d6cc1a03d author David S. Miller Mon, 27 Feb 2006 17:56:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:08 -0800 [SPARC64]: Fix bugs in SMP TLB context version expiration handling. 1) We must flush the TLB, duh. 2) Even if the sw context was seen to be valid, the local cpu's hw context can be out of date, so reload it unconditionally. Signed-off-by: David S. Miller commit 6889331a1260e42b0275f42c13d6342d6cc1a03d tree 5e8b06abbbe62316e9c8288af8d7e967be6e9163 parent 97c4b6f95afadea5846b78ce589d25de2a245c56 author David S. Miller Sun, 26 Feb 2006 23:09:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:07 -0800 [SPARC64]: Fix indexing into kpte_linear_bitmap. Need to shift back up by 3 bits to get 8-byte entry index. Signed-off-by: David S. Miller commit 97c4b6f95afadea5846b78ce589d25de2a245c56 tree 11110547d3c92657ae8199f039e35c3a74d32107 parent 7a591cfe4efef8a232e4938d44ae6693b319f6d7 author David S. Miller Sun, 26 Feb 2006 20:37:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:06 -0800 [SPARC64]: Use 13-bit context size always. We no longer have the problems that require using the smaller sizes. Signed-off-by: David S. Miller commit 7a591cfe4efef8a232e4938d44ae6693b319f6d7 tree e6fbdfb34572f768788b773e3ce186e3924ab685 parent 2a3a5f5ddbefde498e87f10924d4bf741c5bf37f author David S. Miller Sun, 26 Feb 2006 19:44:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:06 -0800 [SPARC64]: Avoid dcache-dirty page state management on sun4v. It is totally wasted work, since we have no D-cache aliasing issues on sun4v. Signed-off-by: David S. Miller commit 2a3a5f5ddbefde498e87f10924d4bf741c5bf37f tree 851003d4ff0b1619766d4fab883868f2b413ed62 parent 6cc80cfab8b2ce1919ad5862a43f6b7bcf163c80 author David S. Miller Sun, 26 Feb 2006 19:31:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:05 -0800 [SPARC64]: Bulletproof hypervisor TLB flushing. Check TLB flush hypervisor calls for errors and report them. Pass HV_MMU_ALL always for now, we can add back the optimization to avoid the I-TLB flush later. Always explicitly page align the virtual address arguments. Signed-off-by: David S. Miller commit 6cc80cfab8b2ce1919ad5862a43f6b7bcf163c80 tree aa76ee44c60684a607a4e4325007b8d1d2403fb4 parent 36344762396ca868d6076c41a84bda25f1ed9d3c author David S. Miller Sun, 26 Feb 2006 14:51:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:04 -0800 [SPARC64]: Report mondo error correctly in hypervisor_xcall_deliver(). It's in "arg0" not "func". Signed-off-by: David S. Miller commit 36344762396ca868d6076c41a84bda25f1ed9d3c tree 7471ce9b78736e538417267f1bc27687a1b09542 parent c4e9249b1924118693f298ee8d38f7fe43587af3 author David S. Miller Sat, 25 Feb 2006 17:16:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:03 -0800 [SPARC64]: Niagara optimized XOR functions for RAID. Signed-off-by: David S. Miller commit c4e9249b1924118693f298ee8d38f7fe43587af3 tree 5d01a861941493a400de02baf6d5dc6234ac25c8 parent 77b838fa1ef0ab02f75afc09834c60d87b86772f author Andrew Morton Fri, 24 Feb 2006 13:21:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:02 -0800 [SPARC64]: Fix binfmt_aout32.c build. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 77b838fa1ef0ab02f75afc09834c60d87b86772f tree 810bce2bf584b6259bd516daa0391cf1b3487ab4 parent a0663a79ad4faebe1db4a56e2e767b120b12333a author David S. Miller Thu, 23 Feb 2006 21:40:15 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:01 -0800 [SPARC64]: destroy_context() needs to disable interrupts. get_new_mmu_context() can be invoked from interrupt context now for the new SMP version wrap handling. So disable interrupt while taking ctx_alloc_lock in destroy_context() so we don't deadlock. Signed-off-by: David S. Miller commit a0663a79ad4faebe1db4a56e2e767b120b12333a tree 612a53e387a6aea6116f8a1637050fa13c6d9f80 parent 074d82cf688fe2dfa7ba4a2317c56f62d13fb522 author David S. Miller Thu, 23 Feb 2006 14:19:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:14:00 -0800 [SPARC64]: Fix TLB context allocation with SMT style shared TLBs. The context allocation scheme we use depends upon there being a 1<-->1 mapping from cpu to physical TLB for correctness. Chips like Niagara break this assumption. So what we do is notify all cpus with a cross call when the context version number changes, and if necessary this makes them allocate a valid context for the address space they are running at the time. Stress tested with make -j1024, make -j2048, and make -j4096 kernel builds on a 32-strand, 8 core, T2000 with 16GB of ram. Signed-off-by: David S. Miller commit 074d82cf688fe2dfa7ba4a2317c56f62d13fb522 tree 6e29e9a1994a7e82f4250cca83731a9b37a1b862 parent b2bef4424cb4522f53e34d98d3deb0916478338b author David S. Miller Thu, 23 Feb 2006 02:28:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:59 -0800 [SPARC64]: Put syscall tables after trap table. Otherwise with too much stuff enabled in the kernel config we can end up with an unaligned trap table. Signed-off-by: David S. Miller commit b2bef4424cb4522f53e34d98d3deb0916478338b tree 6c019c3b9e2e99706971694ae85952ef4034bfce parent 0f05da6d577b80eb00f15994c86e4812ae60f1b9 author David S. Miller Thu, 23 Feb 2006 01:55:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:58 -0800 [SPARC64]: Export _PAGE_E and _PAGE_CACHE to modules. SBUS flash driver needs it. Noticed by Fabbione. Signed-off-by: David S. Miller commit 0f05da6d577b80eb00f15994c86e4812ae60f1b9 tree 39d981c896ab6b90aa30f124fb25cbdf4f242c83 parent fc504928677049f0ad3f1fd4e0bb3908172df8f3 author David S. Miller Wed, 22 Feb 2006 16:20:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:57 -0800 [SPARC64]: Fix %tstate ASI handling in start_thread{,32}() Niagara helps us find a ancient bug in the sparc64 port :-) The ASI_* values are plain constant defines, thus signed 32-bit on sparc64. To put shift this into the regs->tstate value we were doing or'ing "(ASI_PNF << 24)" into there. ASI_PNF is 0x82 and shifted left by 24 makes that topmost bit the sign bit in a 32-bit value. This would get sign extended to 64-bits and thus corrupt the top-half of the reg->tstate value. This never caused problems in pre-Niagara cpus because the only thing up there were the condition code values. But Niagara has the global register level field, and this all 1's value is illegal there so Niagara gives an illegal instruction trap due to this bug. I'm pretty sure this bug is about as old as the sparc64 port itself. This also points out that we weren't setting ASI_PNF for 32-bit tasks. We should, so fix that while we're here. Signed-off-by: David S. Miller commit fc504928677049f0ad3f1fd4e0bb3908172df8f3 tree f55fc6a9061b0eac3f0465df412286caf83b3fbd parent d7744a09504d5ae84edc8289a02254e1f2102410 author David S. Miller Wed, 22 Feb 2006 16:15:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:57 -0800 [SPARC64]: Drop %gl to 0 before re-enabling PSTATE_IE in rtrap If we take a window fault, on SUN4V set %gl to zero before we turn PSTATE_IE back on in %pstate. Otherwise if we take an interrupt we'll end up with corrupt register state. Signed-off-by: David S. Miller commit d7744a09504d5ae84edc8289a02254e1f2102410 tree be0f245ee0725f2f066bf87d17d254ce1e7279bf parent 9cc3a1ac9a819cadff05ca37bb7f208013a22035 author David S. Miller Tue, 21 Feb 2006 22:31:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:56 -0800 [SPARC64]: Create a seperate kernel TSB for 4MB/256MB mappings. It can map all of the linear kernel mappings with zero TSB hash conflicts for systems with 16GB or less ram. In such cases, on SUN4V, once we load up this TSB the first time with all the mappings, we never take a linear kernel mapping TLB miss ever again, the hypervisor handles them all. Signed-off-by: David S. Miller commit 9cc3a1ac9a819cadff05ca37bb7f208013a22035 tree 601fa49272b540b3a3e6cc3728db27c525b73721 parent 30c91d576e9ea41c963e7f28643219bda73b0ddc author David S. Miller Tue, 21 Feb 2006 20:51:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:55 -0800 [SPARC64]: Make use of Niagara 256MB PTEs for kernel mappings. We use a bitmap, one bit for every 256MB of memory. If the bit is set we can use a 256MB PTE for linear mappings, else we have to use a 4MB PTE. SUN4V support is there, and we can very easily add support for Panther cpu 256MB PTEs in the future. Signed-off-by: David S. Miller commit 30c91d576e9ea41c963e7f28643219bda73b0ddc tree 1aa37a82f44084b5fd854bf010ac224d2d660079 parent 689126a48a4cf7efc77d0d090b2db4e8927d7819 author David S. Miller Tue, 21 Feb 2006 16:55:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:54 -0800 [SPARC64]: Use sun4v_cpu_idle() in cpu_idle() on SUN4V. We have to turn off the "polling nrflag" bit when we sleep the cpu like this, so that we'll get a cross-cpu interrupt to wake the processor up from the yield. We also have to disable PSTATE_IE in %pstate around the yield call and recheck need_resched() in order to avoid any races. Signed-off-by: David S. Miller commit 689126a48a4cf7efc77d0d090b2db4e8927d7819 tree 458fdccc36d064aea5189e2c9244ae8824e46c39 parent 6f5374c91f0dd1d92408ed44c066c32bcce5ce69 author David S. Miller Tue, 21 Feb 2006 16:53:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:53 -0800 [SPARC64] math-emu: Delete debugging printk left by previous commit. Signed-off-by: David S. Miller commit 6f5374c91f0dd1d92408ed44c066c32bcce5ce69 tree e5d2ade79d39f043af66030c42d2410d1cd6f483 parent 1bd0cd74d102a527b2a72907698d73fad4b82cbd author David S. Miller Tue, 21 Feb 2006 15:42:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:52 -0800 [SPARC64]: Add sun4v_cpu_yield(). Signed-off-by: David S. Miller commit 1bd0cd74d102a527b2a72907698d73fad4b82cbd tree 2df2dede361dd259b6cd4b91c3ab8d5c783401ac parent 8ca2557c48000daa8183b07d83f582a597705ebe author David S. Miller Tue, 21 Feb 2006 15:41:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:51 -0800 [SPARC64]: Kill cpudata->idle_volume. Set, but never used. We used to use this for dynamic IRQ retargetting, but that code died a long time ago. Signed-off-by: David S. Miller commit 8ca2557c48000daa8183b07d83f582a597705ebe tree 2ce53d5b4d6f21509dc4bc5fdeead1f559e626a0 parent d371c0c17466b7e7bb4d395f96aa885a23df1073 author David S. Miller Tue, 21 Feb 2006 14:29:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:50 -0800 [SPARC64]: Niagara optimized memset/bzero/clear_user. Signed-off-by: David S. Miller commit d371c0c17466b7e7bb4d395f96aa885a23df1073 tree c4705a6b3fa5e58d7003c82395746434c089d6ee parent c79f76777d678ba454aa727800e1386a1fd1f2e8 author David S. Miller Tue, 21 Feb 2006 13:59:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:49 -0800 [SPARC64]: Pass multiple CPUs at once to hypervisor cross-call API. Signed-off-by: David S. Miller commit c79f76777d678ba454aa727800e1386a1fd1f2e8 tree c93a6f342ae56216e34fb5c5f5782e79dff6c4fc parent 4e74ae800bafe79d4aaa529bc5d52425757c0115 author David S. Miller Mon, 20 Feb 2006 22:56:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:48 -0800 [SPARC64]: Args to SUNW,set-trap-table are 64-bit. They were getting truncated to 32-bit and this is very bad when your MMU fault status area is in physical memory above 4GB on SUN4V. Signed-off-by: David S. Miller commit 4e74ae800bafe79d4aaa529bc5d52425757c0115 tree b6d0a52da8a316eadaa5651ffa73ea3e3435d59e parent f5deb807b8cd5c8fe48cbb4f7f5dd70cfbdb1178 author David S. Miller Mon, 20 Feb 2006 16:02:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:48 -0800 [SPARC64]: Handle unimplemented FPU square-root on Niagara. The math-emu code only expects unfinished fpop traps when emulating FPU sqrt instructions on pre-Niagara chips. On Niagara we can get unimplemented fpop, so handle that. Signed-off-by: David S. Miller commit f5deb807b8cd5c8fe48cbb4f7f5dd70cfbdb1178 tree 6b6c341791e32ea00d637b9f243f55b91da962bc parent 55555633bd4e72534b53c50525817259435e18df author David S. Miller Mon, 20 Feb 2006 14:39:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:47 -0800 [SPARC] serial: Make sure sysfs nodes get named correctly. Because we play this trick where we use ttyS? in increasing minor numbers for different sunfoo.c drivers, we have to inform the TTY layer of this. Do so by setting the tty->name_base appropriately. Probably there should be a generic way to do this in the serial core, but for now... Signed-off-by: David S. Miller commit 55555633bd4e72534b53c50525817259435e18df tree 87cb14183cfacb88712311708c5787e0a64817ac parent d82965c16781a7c5b8508c3784ba10bbeef34ff4 author David S. Miller Mon, 20 Feb 2006 01:50:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:46 -0800 [SPARC64]: Typo in sun4v_data_access_exception log message. Should be "Dax" not "Iax". Signed-off-by: David S. Miller commit d82965c16781a7c5b8508c3784ba10bbeef34ff4 tree fb2510731dc418c3271edfc50fec75c80a035ae6 parent abf3b7bd89c11492b145e338913c0b511084cff7 author David S. Miller Mon, 20 Feb 2006 01:42:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:45 -0800 [SPARC64]: Handle zero-length map requests in pci_sun4v.c By simply changing the do-while loop into a plain while loop. Signed-off-by: David S. Miller commit abf3b7bd89c11492b145e338913c0b511084cff7 tree fa8d333d0b66e4e7d427817d0b927ab5a901e095 parent 39334a4b2c52a06960c480b1a4a05f5d5375c8bf author David S. Miller Mon, 20 Feb 2006 01:09:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:44 -0800 [SPARC64]: Kill stray PGLIST_NENTS check in pci_sun4v.c I forgot to remove the one in pci_4v_map_sg() during the iommu batching commit. Signed-off-by: David S. Miller commit 39334a4b2c52a06960c480b1a4a05f5d5375c8bf tree 6f5c0d6fe367bdac07ab4b07a832126ee78f122d parent 37133c006cd3ff4f4dccb3df88efc446863b515e author David S. Miller Mon, 20 Feb 2006 00:54:09 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:43 -0800 [SPARC64]: Fix typo in dump_tl1_traplog() Actually make use of the 'limit' we compute. Signed-off-by: David S. Miller commit 37133c006cd3ff4f4dccb3df88efc446863b515e tree c5f0086b2694eedbb3943aa01d05eadff4ebe877 parent 6a32fd4d0d42258004631dc0ac90665382a2e5dc author David S. Miller Mon, 20 Feb 2006 00:36:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:42 -0800 [SPARC64]: Disable smp_report_regs() for now. It's extremely noisy and causes much grief on slow consoles with large numbers of cpus. We'll have to provide this some saner way in order to re-enable this. Signed-off-by: David S. Miller commit 6a32fd4d0d42258004631dc0ac90665382a2e5dc tree f2a73240a7cfadfb3097121279b6e5a7651812e5 parent 04d74758eb7dce6dfb7d2101315827c267ffefc4 author David S. Miller Sun, 19 Feb 2006 22:21:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:41 -0800 [SPARC64]: Remove PGLIST_NENTS PCI IOMMU mapping limitation on SUN4V. Use a batching queue system for IOMMU mapping setup, with a page sized batch. Signed-off-by: David S. Miller commit 04d74758eb7dce6dfb7d2101315827c267ffefc4 tree 18a90d84f5503eefc9af52ecd3bb1a09ae3fe6d0 parent 24c523ecc667dfeb28ef969cfabc531709bfffb8 author David S. Miller Sat, 18 Feb 2006 17:06:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:40 -0800 [SPARC64]: Use KERN_EMERG in dump_tl1_traplog() and sun4v TLB errors. We're about to seriously die in these cases so it is important that the messages make it to the console. Signed-off-by: David S. Miller commit 24c523ecc667dfeb28ef969cfabc531709bfffb8 tree 67760d3bb5c5c9f950e61b263fff836e677957ee parent 6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c author David S. Miller Sat, 18 Feb 2006 16:39:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:39 -0800 [SPARC64]: Fix unaligned access winfxup handling on SUN4V. Another case where we have to force ourselves into global register level one. Also make sure the arguments passed to sun4v_do_mna() are correct. This area actually needs some more work, for example spill fixup is not necessarily going to do the right thing for this case. Signed-off-by: David S. Miller commit 6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c tree 4d8d095f554cc9186ef9b945bd33e6c3d53161d1 parent 843dfb4d99c41116601694f314092b3b6c4511f4 author David S. Miller Sat, 18 Feb 2006 16:36:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:39 -0800 [SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V. Just like kvmap_dtlb_longpath we have to force the global register level to one in order to mimick the PSTATE_MG --> PSTATE_AG trasition done on SUN4U. Signed-off-by: David S. Miller commit 843dfb4d99c41116601694f314092b3b6c4511f4 tree 44a5b1d757bb796466d0746d13d9fa4c49ad459a parent 11fc04e46a892563d0a9bb98560339f1672e3213 author David S. Miller Sat, 18 Feb 2006 16:32:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:38 -0800 [SPARC64] sunhv: Fix locking in sunhv_start_tx() Caller takes the lock already. Also, fixup the poll loop in sunhv_break_ctl(). Just like in console write, we udelay(2) and use a loop limit of 1000000 iterations. Signed-off-by: David S. Miller commit 11fc04e46a892563d0a9bb98560339f1672e3213 tree 972fcfd42325195b4556e6a676a6fe09ae1703ee parent 0f15952ac8641bde1045162ffd4a7b474cc318b0 author David S. Miller Sat, 18 Feb 2006 16:30:59 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:37 -0800 [SPARC64]: Put sunhv.o earliest in the list of sparc serial drivers. So that it will show up as /dev/ttyS0. Otherwise things like installers will try to run on whatever serial port gets probed first. Signed-off-by: David S. Miller commit 0f15952ac8641bde1045162ffd4a7b474cc318b0 tree f1837150e0e1589dda97f1780e99962bf6c905af parent f6c1fe529217788f095f6953c2b66bec1196ad3d author David S. Miller Sat, 18 Feb 2006 12:43:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:36 -0800 [SPARC64]: Export a PAGE_SHARED symbol. For drivers/media/*, noticed by Fabbione. Signed-off-by: David S. Miller commit f6c1fe529217788f095f6953c2b66bec1196ad3d tree 609476e09d7778c55775e88879ba77dd4a23f1f2 parent 8b234274418d6d79527c4ac3a72da446ca4cb35f author Fabio M. Di Nitto Sat, 18 Feb 2006 00:32:31 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:35 -0800 [SPARC64] Fix build if CONFIG_HUGETLB_PAGE is not set Signed-off-by: Fabio M. Di Nitto Signed-off-by: David S. Miller commit 8b234274418d6d79527c4ac3a72da446ca4cb35f tree ab4ab14fa7f1cab7889ecc2339f0261253a5d0e1 parent 7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb author David S. Miller Fri, 17 Feb 2006 18:01:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:34 -0800 [SPARC64]: More TLB/TSB handling fixes. The SUN4V convention with non-shared TSBs is that the context bit of the TAG is clear. So we have to choose an "invalid" bit and initialize new TSBs appropriately. Otherwise a zero TAG looks "valid". Make sure, for the window fixup cases, that we use the right global registers and that we don't potentially trample on the live global registers in etrap/rtrap handling (%g2 and %g6) and that we put the missing virtual address properly in %g5. Signed-off-by: David S. Miller commit 7adb37fe80d06cbd40de9b225b12a3a9ec40b6bb tree bca7b671ad0cf49d6ef7a01c96ae3865805fec13 parent 6c8927c9634e8a1bc95d5291c55205707f9fa40a author David S. Miller Fri, 17 Feb 2006 15:07:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:33 -0800 [SPARC64]: Don't do anything in flush_ptrace_access() on SUN4V. Signed-off-by: David S. Miller commit 6c8927c9634e8a1bc95d5291c55205707f9fa40a tree e59db7dca9ab26808703ee3c20ad59c3425024fa parent 12e126ad229abc718d05600027fcd5794c1e31e5 author David S. Miller Fri, 17 Feb 2006 14:58:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:32 -0800 [SPARC64]: Fix some SUN4V TLB handling bugs. 1) Add error return checking for TLB load hypervisor calls. 2) Don't fallthru to dtlb tsb miss handler from itlb tsb miss handler, oops. 3) On window fixups, propagate fault information to fixup handler correctly. Signed-off-by: David S. Miller commit 12e126ad229abc718d05600027fcd5794c1e31e5 tree 1c28b8685a30c290956184485a997fc398f6d4f1 parent 52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc author David S. Miller Fri, 17 Feb 2006 14:40:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:31 -0800 [SPARC64]: Check for errors in hypervisor_tlb_lock(). Signed-off-by: David S. Miller commit 52845cdb3b9c4c5fe1c2e295bd14457ff8dd6bcc tree 350f49c4cecd87cc22aae8c88c1ff383822614d6 parent 3763be32d591cacf808c36390a8af3f2784cde5f author David S. Miller Sun, 26 Feb 2006 23:32:33 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:30 -0800 [SPARC64]: Init boot cpu's trap_block[] before paging_init() It must be ready when we take over the trap table. Signed-off-by: David S. Miller commit 3763be32d591cacf808c36390a8af3f2784cde5f tree 124ae01bf91905a6d3af931caf28acf82900699b parent 3f19a84e39619053f117bd5bb9183c5bfea7db45 author David S. Miller Fri, 17 Feb 2006 12:33:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:29 -0800 [SPARC64]: Define ARCH_HAS_READ_CURRENT_TIMER. This gives more consistent bogomips and delay() semantics, especially on sun4v. It gives weird looking values though... Signed-off-by: David S. Miller commit 3f19a84e39619053f117bd5bb9183c5bfea7db45 tree f40e0b3f5e0d5600304ea7496e30a33f6e8b51de parent c857e3fdbc306e95fdcaad1d8f3ea6bc8e7eea99 author David S. Miller Fri, 17 Feb 2006 12:03:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:29 -0800 [SPARC64]: Set associativity of kernel TSB descriptor correctly. It should be 1, not 0. Signed-off-by: David S. Miller commit c857e3fdbc306e95fdcaad1d8f3ea6bc8e7eea99 tree 6fb1cfc9b8742b56db032fcdb4294e693bb75ffa parent 46f860471483dce9ba5ce682a69c61cbceb54e52 author David S. Miller Fri, 17 Feb 2006 10:35:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:28 -0800 [SPARC64]: __bzero_noasi --> __clear_user Signed-off-by: David S. Miller commit 46f860471483dce9ba5ce682a69c61cbceb54e52 tree 4107992d58fa51a0c2d76d31d63cf26bb1f427ab parent 97532f598273d03cab8bb5206669b6fdd654eb63 author David S. Miller Fri, 17 Feb 2006 10:28:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:27 -0800 [SPARC64]: Put SUN4V ITSB miss into correct trap table entry. It's 0x9 not 0xb. Signed-off-by: David S. Miller commit 97532f598273d03cab8bb5206669b6fdd654eb63 tree a2d06b6f9861bad04d1378fef104a1c2d81777df parent 3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87 author David S. Miller Fri, 17 Feb 2006 10:14:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:26 -0800 [SPARC64]: Add HWCAP_SPARC_BLKINIT elf capability flag for Niagara. Signed-off-by: David S. Miller commit 3b3ab2eb9cf07ef1bc7a676c19aab994adb41a87 tree 174537e596cc7b20ecb2d75770476285af725051 parent ebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 author David S. Miller Fri, 17 Feb 2006 09:54:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:25 -0800 [SPARC64]: Use phys tsb address in tsb_insert() in SUN4V. Signed-off-by: David S. Miller commit ebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 tree 155df85100a1316ac103dcaed140d20ddc72c855 parent 101d5c18a928ef82b6c7bf99a9eaa536b5ccf593 author David S. Miller Fri, 17 Feb 2006 08:38:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:24 -0800 [SPARC64]: Fix uniprocessor IRQ targetting on SUN4V. We need to use the real hardware processor ID when targetting interrupts, not the "define to 0" thing the uniprocessor build gives us. Also, fill in the Node-ID and Agent-ID fields properly on sun4u/Safari. Signed-off-by: David S. Miller commit 101d5c18a928ef82b6c7bf99a9eaa536b5ccf593 tree 340b5fa064fcf8a62a0742f8fb46fa4bb61abf8d parent 72aff53f1fe74153eccef303ab2f79de888d248c author David S. Miller Fri, 17 Feb 2006 08:20:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:23 -0800 [SPARC64]: Fix PCI IRQ probing regression. If the top-level cnode had multi entries in it's "reg" property, we'd fail. The buffer wasn't large enough in such cases. Signed-off-by: David S. Miller commit 72aff53f1fe74153eccef303ab2f79de888d248c tree a229645be99274d36bed04bed355d74ec3c0baa2 parent 19a0d585e80e84b54bb9bf120bf0c826045dd3dd author David S. Miller Fri, 17 Feb 2006 01:29:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:22 -0800 [SPARC64]: Get SUN4V SMP working. The sibling cpu bringup is extremely fragile. We can only perform the most basic calls until we take over the trap table from the firmware/hypervisor on the new cpu. This means no accesses to %g4, %g5, %g6 since those can't be TLB translated without our trap handlers. In order to achieve this: 1) Change sun4v_init_mondo_queues() so that it can operate in several modes. It can allocate the queues, or install them in the current processor, or both. The boot cpu does both in it's call early on. Later, the boot cpu allocates the sibling cpu queue, starts the sibling cpu, then the sibling cpu loads them in. 2) init_cur_cpu_trap() is changed to take the current_thread_info() as an argument instead of reading %g6 directly on the current cpu. 3) Create a trampoline stack for the sibling cpus. We do our basic kernel calls using this stack, which is locked into the kernel image, then go to our proper thread stack after taking over the trap table. 4) While we are in this delicate startup state, we put 0xdeadbeef into %g4/%g5/%g6 in order to catch accidental accesses. 5) On the final prom_set_trap_table*() call, we put &init_thread_union into %g6. This is a hack to make prom_world(0) work. All that wants to do is restore the %asi register using get_thread_current_ds(). Longer term we should just do the OBP calls to set the trap table by hand just like we do for everything else. This would avoid that silly prom_world(0) issue, then we can remove the init_thread_union hack. Signed-off-by: David S. Miller commit 19a0d585e80e84b54bb9bf120bf0c826045dd3dd tree d744dc0c7530765fcdaf46e15bd83805b78e6017 parent 6154f94f0e1b3984ad2d0bcda586bc8946398b8a author David S. Miller Fri, 17 Feb 2006 01:17:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:21 -0800 [SPARC64]: Disable smp_report_regs() for now. For 32 cpus and a slow console, it just wedges the machine especially with DETECT_SOFTLOCKUP enabled. Signed-off-by: David S. Miller commit 6154f94f0e1b3984ad2d0bcda586bc8946398b8a tree 8abc4d83ed8ddef986de2c0593f55d3e879c7c78 parent 14f6689cbb3ec2c194bd770fbe0d6e2d90eb6760 author David S. Miller Thu, 16 Feb 2006 23:01:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:20 -0800 [SPARC64]: Rewrite pci_intmap_match(). The whole algorithm was wrong. What we need to do is: 1) Walk each PCI bus above this device on the path to the PCI controller nexus, and for each: a) If interrupt-map exists, apply it, record IRQ controller node b) Else, swivel interrupt number using PCI_SLOT(), use PCI bus parent OBP node as controller node c) Walk up to "controller node" until we hit the first PCI bus in this domain, or "controller node" is the PCI controller OBP node 2) If we walked to PCI controller OBP node, we're done. 3) Else, apply PCI controller interrupt-map to interrupt. There is some stuff that needs to be checked out for ebus and isa, but the PCI part is good to go. Signed-off-by: David S. Miller commit 14f6689cbb3ec2c194bd770fbe0d6e2d90eb6760 tree 75934961ca955a076651f35e08fc81ebc867bcff parent af02bec66294c76fba181c665c68a31fd4392020 author David S. Miller Thu, 16 Feb 2006 20:44:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:20 -0800 [SPARC64]: Don't set interrupt state to IDLE in enable_irq(). We'll lose events that way. Signed-off-by: David S. Miller commit af02bec66294c76fba181c665c68a31fd4392020 tree f741bdd782c719cba6dd8efe01f107a46d115a27 parent 4ff7ac417d4b628c23df3ae8301d17e29e6e8f16 author David S. Miller Thu, 16 Feb 2006 16:23:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:19 -0800 [SPARC64]: Fix return from trap on SUN4V. We need to set the global register set _AND_ disable PSTATE_IE in %pstate. The original patch sequence was leaving PSTATE_IE enabled when returning to kernel mode, oops. This fixes the random register corruption being seen on SUN4V. Signed-off-by: David S. Miller commit 4ff7ac417d4b628c23df3ae8301d17e29e6e8f16 tree 8a0ad85722f0e927ac6c1388032481636424fb10 parent 22780e23c629303474797d17e7f09ad7721ef55b author David S. Miller Thu, 16 Feb 2006 16:22:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:18 -0800 [SPARC64]: Add GET_GL_GLOBAL() macro for SUN4V. So we can read the %gl register for debugging. Signed-off-by: David S. Miller commit 22780e23c629303474797d17e7f09ad7721ef55b tree e005c6475aaeb61a6db0d43424c212d89f77dc40 parent 94f8762db9a80ed34252e9fe5fa38be87bb7826b author David S. Miller Thu, 16 Feb 2006 14:37:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:17 -0800 [SPARC64]: Set dummy bucket->{imap,iclr} unique on SUN4V. So that free_irq() disable's the IRQ correctly. Signed-off-by: David S. Miller commit 94f8762db9a80ed34252e9fe5fa38be87bb7826b tree 22279c62d2d4d583c64f1d2c6122f4eb98b429a6 parent bc45e32e0fbf661d0c5c5b9c981bc0fe5da4901f author David S. Miller Thu, 16 Feb 2006 14:26:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:16 -0800 [SPARC64]: Add sun4v_cpu_qconf() hypervisor call. Call it from register_one_mondo(). Signed-off-by: David S. Miller commit bc45e32e0fbf661d0c5c5b9c981bc0fe5da4901f tree cf4a313304153b39bd155c062b934d607500f2ae parent 8e42550c683b2ad4869fc4fa438204841fd9b7cc author David S. Miller Sun, 05 Mar 2006 16:46:58 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:15 -0800 [SPARC]: Kill off these __put_user_ret things. They are bogus and haven't been referenced in years. Signed-off-by: David S. Miller commit 8e42550c683b2ad4869fc4fa438204841fd9b7cc tree f636a779506cee076b7434327184b4ef9914c1c1 parent 9b6b46470cc1c52f6917b0cd8b7cf4b5cbc5acf6 author David S. Miller Thu, 16 Feb 2006 02:18:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:14 -0800 [SPARC64]: do_fptrap needs to load the thread reg into %g6. Signed-off-by: David S. Miller commit 9b6b46470cc1c52f6917b0cd8b7cf4b5cbc5acf6 tree d004412f27e0fceb2548513e954e80e15913ab84 parent 3d6395cb770b0db9135a853b1742418c99ed2148 author David S. Miller Thu, 16 Feb 2006 01:45:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:13 -0800 [SPARC64]: Fix bogus call to sun4v_mna in winfixup code. The C function is named sun4v_do_mna not sun4v_mna. Signed-off-by: David S. Miller commit 3d6395cb770b0db9135a853b1742418c99ed2148 tree 609b1d8f6d3ff13a312c8eb0ce4f070b644b6e05 parent 135066a21129760e44a51a7ef31d8c861f8ddace author David S. Miller Thu, 16 Feb 2006 01:41:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:12 -0800 [SPARC64]: Fix tl1 trap state capture/dump on SUN4V. No trap levels above 2 in privileged mode on SUN4V. Signed-off-by: David S. Miller commit 135066a21129760e44a51a7ef31d8c861f8ddace tree 7dacf1643c9110a4e0ac8e89fed5465a0f77f94d parent e7a0453ef82c1433a35ab82d874296fff68f3639 author David S. Miller Thu, 16 Feb 2006 00:42:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:11 -0800 [SPARC64] sunhv: Support SYSRQ properly. By calling uart_handle_break(). We'll still do the "sun_do_break()" handling if the user gives two breaks in a row. We should probably do this in the other Sparc serial drivers too. Signed-off-by: David S. Miller commit e7a0453ef82c1433a35ab82d874296fff68f3639 tree 0dd18e3742bb838f7351a20186ea3a820d038231 parent db33f9bc09aaf68db7866374f9219c676787b4a2 author David S. Miller Wed, 15 Feb 2006 22:25:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:10 -0800 [SPARC64] PCI: Size TSB correctly on SUN4V. Forgot to multiply by 8 * 1024, oops. Correct the size constant when the virtual-dma arena is 2GB in size, it should bet 256 not 128. Finally, log some info about the TSB at probe time. Signed-off-by: David S. Miller commit db33f9bc09aaf68db7866374f9219c676787b4a2 tree 4b3bb99778f65966dd1d40122a3fcb2f1f07741c parent c7f81d42d3d07115a7b92e36ade0f3167f75bc55 author David S. Miller Wed, 15 Feb 2006 21:56:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:10 -0800 [SPARC64]: Fix OOPS on sunhv interrupts. Until the uart is openned, port->info is NULL. Also, init the port->irq properly and give a non-zero port->membase so that the uart device reporting is done. Signed-off-by: David S. Miller commit c7f81d42d3d07115a7b92e36ade0f3167f75bc55 tree ffb9f1337b926d64b52bb6148b18b9c62eacb53c parent a7b31bac691668a60da8b9892124b7da408e0a0e author David S. Miller Wed, 15 Feb 2006 21:21:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:09 -0800 [SPARC64]: Don't use ASI_QUAD_LDD_PHYS on SUN4V. Need to use ASI_QUAD_LDD_PHYS_4V instead. Signed-off-by: David S. Miller commit a7b31bac691668a60da8b9892124b7da408e0a0e tree 2bdf523086234a5cb9e943e45df879f1f264a516 parent de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 author David S. Miller Wed, 15 Feb 2006 21:16:42 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:08 -0800 [SPARC64]: Do not write garbage into %pstate in tsb_context_switch(). For SUN4V, we were clobbering %o5 to do the hypervisor call. This clobbers the saved %pstate value and we end up writing garbage into that register as a result. Oops. Signed-off-by: David S. Miller commit de635d833f61ce0f2ad0b3431e6a3323a1c4fed5 tree 76559bb18ca6fe6ac4704b394b67a0e0eed842d5 parent 1daef08a12157923d90ec7a47ead8a97e0d243cc author David S. Miller Wed, 15 Feb 2006 21:01:31 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:07 -0800 [SPARC64]: Fix flush_tsb_user() on SUN4V. Needs to use physical addressing just like cheetah_plus. Signed-off-by: David S. Miller commit 1daef08a12157923d90ec7a47ead8a97e0d243cc tree bb7c395350abbb35b9dfce480127a31ddeb13b2c parent 9d29a3fafd06534ad73427fee3c968c094d05b9b author David S. Miller Wed, 15 Feb 2006 20:35:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:06 -0800 [SPARC64]: Fix comment typo in __flush_tlb_kernel_range. Signed-off-by: David S. Miller commit 9d29a3fafd06534ad73427fee3c968c094d05b9b tree 4afd7455d6249d9143acea6c4704f69aa98d311a parent 7890f794e0e6f7dce2a5f4a03ba64b0b3fe306bd author David S. Miller Wed, 15 Feb 2006 19:48:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:05 -0800 [SPARC64]: Decode virtual-devices interrupts correctly. Need to translate through the interrupt-map{,-mask] properties. Signed-off-by: David S. Miller commit 7890f794e0e6f7dce2a5f4a03ba64b0b3fe306bd tree a9cc7c67498616a47108c667a9c001f9fe468318 parent 63c2a0e598c2fa769a08a6e9ad124bf270b4436e author David S. Miller Wed, 15 Feb 2006 02:26:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:04 -0800 [SPARC64]: Add prom_{start,stop}cpu_cpuid(). Use prom_startcpu_cpuid() on SUN4V instead of prom_startcpu(). We should really test for "SUNW,start-cpu-by-cpuid" presence and use it if present even on SUN4U. Signed-off-by: David S. Miller commit 63c2a0e598c2fa769a08a6e9ad124bf270b4436e tree 3e3a0c8a68221b4a76489ad595d0b886e2683dd9 parent ab66a50e31deb48b0444c248e67e5aa3217efda5 author David S. Miller Wed, 15 Feb 2006 01:19:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:03 -0800 [SPARC64]: Fix pci_intmap_match(). When crawling up the PCI bus chain, stop at the first node that has an interrupt-map property before we hit the root. Also, if we use a bus interrupt-{map,mask} do not forget to update the 'intmask' pointer as we do for the 'intmap' pointer. Signed-off-by: David S. Miller commit ab66a50e31deb48b0444c248e67e5aa3217efda5 tree dd36ad6f69abe7a15eb2f990840512c803e980f7 parent 7c3514e4501565d76f9e4dec43e1fc17389f4811 author David S. Miller Wed, 15 Feb 2006 01:18:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:02 -0800 [SPARC64]: Two IRQ handling fixes. On SUN4V, force IRQ state to idle in enable_irq(). However, I'm still not sure this is %100 correct. Call add_interrupt_randomness() on SUN4V too. Signed-off-by: David S. Miller commit 7c3514e4501565d76f9e4dec43e1fc17389f4811 tree e3f4766232189faaa98a59d53a44e424025e9561 parent f03b8a546868fcf43feb455b69b152eb867606b2 author David S. Miller Wed, 15 Feb 2006 00:41:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:02 -0800 [SPARC64]: Fixup TSTATE layout diagram in asm/pstate.h Signed-off-by: David S. Miller commit f03b8a546868fcf43feb455b69b152eb867606b2 tree 147f1f63d824827de1d374dcd6741a38c7132b68 parent 329c68b21896eea371edbfdf305c459fb74cf9a8 author David S. Miller Wed, 15 Feb 2006 00:35:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:01 -0800 [SPARC64]: Use different cache sizing defaults on SUN4V. Signed-off-by: David S. Miller commit 329c68b21896eea371edbfdf305c459fb74cf9a8 tree 2438ceb36799afdb1fdb849c56f4bd27e1bfe438 parent abd92b2d21899d42a60c3c1ac995768c76774608 author David S. Miller Tue, 14 Feb 2006 22:20:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:13:00 -0800 [SPARC64]: Make lack of interrupt-map-* a fatal error on SUN4V. Signed-off-by: David S. Miller commit abd92b2d21899d42a60c3c1ac995768c76774608 tree e5d9e97b6fbf50a5be6791eb141f627c50a4a33f parent 355db99860a1d77d77cd2fc66e2f5ab58f3e0995 author David S. Miller Tue, 14 Feb 2006 22:20:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:59 -0800 [SPARC64]: Fix sun4v_intr_setenabled() return value check in enable_irq(). Signed-off-by: David S. Miller commit 355db99860a1d77d77cd2fc66e2f5ab58f3e0995 tree 325c43f5f1820d9f17f46f330f061a5b65259421 parent 987b6de7102cf2f583733efd726ae920a1335519 author David S. Miller Tue, 14 Feb 2006 16:44:39 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:58 -0800 [SPARC64]: Explicitly init *nregs to 0 in find_device_prom_node(). Signed-off-by: David S. Miller commit 987b6de7102cf2f583733efd726ae920a1335519 tree 66a0fcfa5be6831c47f008437d3c97d0bead91bb parent 9f8a5b843fc47ea150525f912574677483e1a5ac author David S. Miller Tue, 14 Feb 2006 16:42:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:57 -0800 [SPARC64]: Restrict PCI bus scanning on SUN4V. On the PBM's first bus number, only allow device 0, function 0, to be poked at with PCI config space accesses. For some reason, this single device responds to all device numbers. Also, reduce the verbiage of the debugging log printk's for PCI cfg space accesses in the SUN4V PCI controller driver, so that it doesn't overwhelm the slow SUN4V hypervisor console. Signed-off-by: David S. Miller commit 9f8a5b843fc47ea150525f912574677483e1a5ac tree e065d4ad571dccbb2f16ef08a8ea8e5942abdbb7 parent fbf1c68eaf8a945c8617e355d8d6bd2fa09109d2 author David S. Miller Tue, 14 Feb 2006 16:39:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:56 -0800 [SPARC64]: Fix C-function name called by sun4v_mna trap code. The trap code was calling itself :-) Signed-off-by: David S. Miller commit fbf1c68eaf8a945c8617e355d8d6bd2fa09109d2 tree 2bbcc939809d8752631fda9a0842e22868dcbb78 parent e7093703d912254b5667dfe851a6d0f7e664f9df author David S. Miller Tue, 14 Feb 2006 16:37:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:55 -0800 [SPARC64]: Don't printk() any messaages in sun4v_build_irq(). It just clutters up the log. Signed-off-by: David S. Miller commit e7093703d912254b5667dfe851a6d0f7e664f9df tree 9560b13ae240f6e3b0b1a3fd08ff8ab829b27d13 parent 4a07e646c55be118442e464b7a2a9682c7131d9a author David S. Miller Tue, 14 Feb 2006 14:12:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:54 -0800 [SPARC64]: INO is never fully specified already on SUN4V. Signed-off-by: David S. Miller commit 4a07e646c55be118442e464b7a2a9682c7131d9a tree caeb033a17e7ab62865811bc48a20f42e22837f1 parent 50f4f23c3bd95afc82e931254a71e7b1b3699fd2 author David S. Miller Tue, 14 Feb 2006 13:49:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:54 -0800 [SPARC64]: Kill sun4v_register_fault_status() on SMP. That now gets done as a side effect of taking over the trap table from OBP. Signed-off-by: David S. Miller commit 50f4f23c3bd95afc82e931254a71e7b1b3699fd2 tree 5ed7cc71e1140a3a839c8d65ca95b755012d4bde parent 3af6e01e9acfb786c5dd2862f57f206b0b3cb889 author David S. Miller Tue, 14 Feb 2006 01:32:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:53 -0800 [SPARC64]: Fix gcc-3.3.x warnings. It doesn't like const variables being passed into "i" constraing asm operations. It's a bug, but there is nothing we can really do but work around it. Based upon a report from Andrew Morton. Signed-off-by: David S. Miller commit 3af6e01e9acfb786c5dd2862f57f206b0b3cb889 tree f3f2faf1746b797e33c6fc3e468da5d114197cdd parent c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e author David S. Miller Tue, 14 Feb 2006 00:55:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:52 -0800 [SPARC64]: arch/sparc64/kernel/trampoline.S needs asm/cpudata.h Signed-off-by: David S. Miller commit c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e tree 3d32f942cd0a62f6ca89fe7781f59708845d7a38 parent 4bf447d6f7c2357dec8bdc24ce0fcffd71cc29c0 author David S. Miller Mon, 13 Feb 2006 22:56:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:51 -0800 [SPARC64]: Make error codes available from sun4v_intr_get*(). And check for errors at call sites. Signed-off-by: David S. Miller commit 4bf447d6f7c2357dec8bdc24ce0fcffd71cc29c0 tree c74478f8d6c66d90629446444d1cfb55376934eb parent a615fea48be4eada94986d63e3e8ee5563121649 author David S. Miller Mon, 13 Feb 2006 22:37:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:50 -0800 [SPARC64]: Pass correct ino to sun4v_intr_*(). Signed-off-by: David S. Miller commit a615fea48be4eada94986d63e3e8ee5563121649 tree 3809861753726fe11232f64097356d2d910262e4 parent 7c8f486ae7fe90d7bb99a70a42d71c9a40688ec2 author David S. Miller Mon, 13 Feb 2006 22:37:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:49 -0800 [SPARC64]: Use TRAP_LOAD_IRQ_WORK() in sun4v device mondo handler. Signed-off-by: David S. Miller commit 7c8f486ae7fe90d7bb99a70a42d71c9a40688ec2 tree 530873917fefde54ab7a5a86f9027ebe70bdd966 parent 87bdc367ca1a7e16c29a6bff6b1e8fe179e27f90 author David S. Miller Mon, 13 Feb 2006 21:50:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:48 -0800 [SPARC64]: Fix IOMMU mapping on sun4v. We should dynamically allocate the per-cpu pglist not use an in-kernel-image datum, since __pa() does not work on such addresses. Also, consistently use "u32" for devhandle. Signed-off-by: David S. Miller commit 87bdc367ca1a7e16c29a6bff6b1e8fe179e27f90 tree 5080920b8b26fd2197d7a68320117d378c56fdc5 parent d5a2aa241aa0babf382d42d6033b30a5112e4c1e author David S. Miller Mon, 13 Feb 2006 21:36:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:47 -0800 [SPARC64]: Trim down sun4v IRQ translation kernel log message. Signed-off-by: David S. Miller commit d5a2aa241aa0babf382d42d6033b30a5112e4c1e tree 64b0ffb5b321827be583de8167f5f80f0befdb33 parent 5259d5bfaf5b2953b130e9a500277a905bd37823 author David S. Miller Mon, 13 Feb 2006 21:28:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:46 -0800 [SPARC64] sunhv: Bug fixes. Add udelay to polling console write loop, and increment the loop limit. Name the device "ttyHV" and pass that to add_preferred_console() when we're using hypervisor console. Kill sunhv_console_setup(), it's empty. Handle the case where we don't want to use hypervisor console. (ie. we have a head attached to a sun4v machine) Signed-off-by: David S. Miller commit 5259d5bfaf5b2953b130e9a500277a905bd37823 tree 3768df7a92c63a2eeec0d29aadca60ce57f36de7 parent f4266ab45a3f08bd76c2d414a2d7a1a9dc2501c0 author David S. Miller Mon, 13 Feb 2006 21:15:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:46 -0800 [SPARC64]: Fix comment typo in asm/hypervisor.h Signed-off-by: David S. Miller commit f4266ab45a3f08bd76c2d414a2d7a1a9dc2501c0 tree 637320d25c33e6ff5b71b9077143b8e54a1227d9 parent e77227eb4e17591a6a511b9c0ff6e8ad7350c575 author David S. Miller Mon, 13 Feb 2006 20:43:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:45 -0800 [SPARC64] sunhv: Use virtual-devices layer to get interrupt. Signed-off-by: David S. Miller commit e77227eb4e17591a6a511b9c0ff6e8ad7350c575 tree be8b7f13fd2ff0543879286b04045f6c3587dda3 parent d5eb4004303b4dd04ec83b926b5fc2d9ceda4b2e author David S. Miller Mon, 13 Feb 2006 20:42:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:44 -0800 [SPARC64]: Probe virtual-devices root node on sun4v. This is where we learn how to get the interrupts for things like the hypervisor console device. Signed-off-by: David S. Miller commit d5eb4004303b4dd04ec83b926b5fc2d9ceda4b2e tree 8d77d760af01722b7ce330a0f5a4d525554e0964 parent 1ddb7c98d44b898cfe0443c1e242cebfb0479d46 author David S. Miller Mon, 13 Feb 2006 20:41:11 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:43 -0800 [SPARC64]: Kill spurious semicolon in sun4v_pci_init(). Signed-off-by: David S. Miller commit 1ddb7c98d44b898cfe0443c1e242cebfb0479d46 tree 995bd63451677335e59d981c57e7369238afecb4 parent 10951ee61056a9f91c00c16746f2042672d7af7c author David S. Miller Mon, 13 Feb 2006 20:09:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:42 -0800 [SPARC64]: Prevent registering wrong serial console. If the console is not for a particular Sun serial controller, set the drv->cons to NULL. Signed-off-by: David S. Miller commit 10951ee61056a9f91c00c16746f2042672d7af7c tree ad95c289332c5a3ad82b262a736620ef8f16b406 parent e3999574b48125c9bb0c95e3e9f1c696bf96c3e3 author David S. Miller Mon, 13 Feb 2006 18:22:57 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:41 -0800 [SPARC64]: Program IRQ registers correctly on sun4v. Need to use hypervisor calls instead of direct register accesses. Signed-off-by: David S. Miller commit e3999574b48125c9bb0c95e3e9f1c696bf96c3e3 tree a6651da06fa36c3dde33a7be5f0b7192b8442cd7 parent 10804828fd06a43ce964e9d9852332e7ff1507b1 author David S. Miller Mon, 13 Feb 2006 18:16:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:40 -0800 [SPARC64]: Generic sun4v_build_irq(). Signed-off-by: David S. Miller commit 10804828fd06a43ce964e9d9852332e7ff1507b1 tree a932ff7ed2722f640dfbcfe1a84e94338cbcad0a parent bf941d6cd62aa2022f0887e25e3d02c389b0bf9b author David S. Miller Mon, 13 Feb 2006 18:09:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:39 -0800 [SPARC64]: More SUN4V PCI work. Get bus range from child of PCI controller root nexus. This is actually a hack, but the PCI-E bridge sitting at the top of the PCI tree responds to PCI config cycles for every device number, so best to just ignore it for now. Preliminary PCI irq routing, needs lots of work. Signed-off-by: David S. Miller commit bf941d6cd62aa2022f0887e25e3d02c389b0bf9b tree 56c8e87668d29ab96e0d84ba6aa5a62e64d9b827 parent 6c0f402f6cc62314ef83b975f3430350dcb6055f author David S. Miller Mon, 13 Feb 2006 18:07:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:38 -0800 [SPARC64]: Log faulting vaddr when bogus kernel PC detected. Signed-off-by: David S. Miller commit 6c0f402f6cc62314ef83b975f3430350dcb6055f tree 394a2e981ee8fff3e6eda7aec2d20be8542ecae1 parent 85dfa19ba92f88fa1c1482f655c7247119dfdcd5 author David S. Miller Mon, 13 Feb 2006 00:23:32 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:37 -0800 [SPARC64]: Implement rest of generic interrupt hypervisor calls. Signed-off-by: David S. Miller commit 85dfa19ba92f88fa1c1482f655c7247119dfdcd5 tree 28038115f626e5c84bb50ad9ff5eed5dc943fcde parent 059833eb817fec3a5a7f62fba9592749c4cebc73 author David S. Miller Mon, 13 Feb 2006 00:02:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:36 -0800 [SPARC64]: Move devino_to_sysino out of pci_sun4v_asm.S It is not PCI specific, it is for all system interrupts. Signed-off-by: David S. Miller commit 059833eb817fec3a5a7f62fba9592749c4cebc73 tree 5de088b9200956458ca83afe33335d6ea87c63d6 parent 0b522497a176f222ae4cf7e6733a5357352224b2 author David S. Miller Sun, 12 Feb 2006 23:49:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:36 -0800 [SPARC64]: Range check bus number in SUN4V PCI controller driver. It has to be somewhere in the range from pbm->pci_first_busno to pbm->pci_last_busno, inclusive. Signed-off-by: David S. Miller commit 0b522497a176f222ae4cf7e6733a5357352224b2 tree a65db8c8c97e8f8e760f802dc3a59c38765a7517 parent c26092675020ff495a16dd635bf1733215325540 author David S. Miller Sun, 12 Feb 2006 22:29:36 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:35 -0800 [SPARC64]: Missing 'return' statement in sun4v_pci_init(). Signed-off-by: David S. Miller commit c26092675020ff495a16dd635bf1733215325540 tree aabc5144263f0fff7350a84c35aa2a522a7e1b2f parent 3833789bb2e15eb85fad296d8fb40f1437925645 author David S. Miller Sun, 12 Feb 2006 22:18:52 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:34 -0800 [SPARC64]: Implement basic pci_sun4v_scan_bus(). Signed-off-by: David S. Miller commit 3833789bb2e15eb85fad296d8fb40f1437925645 tree 31304e25c2d7c9c5f06b0bc74a5f4e9578de904c parent cf627156c450cd5a0741b31f55181db3400d4887 author David S. Miller Sun, 12 Feb 2006 22:06:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:33 -0800 [SPARC64]: PCI-SUN4V fixes. Clear top 8-bits of physical addresses in "ranges" property. This gives the actual physical address. Detect PBM-A vs. PBM-B by checking bit 0x40 of the devhandle. Signed-off-by: David S. Miller commit cf627156c450cd5a0741b31f55181db3400d4887 tree e8f44d2509f5544ee5b5d583da3e10ac99ca3629 parent ff02e0d26f139ad95ec3a7e94f88faccaa180dff author David S. Miller Sun, 12 Feb 2006 21:10:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:32 -0800 [SPARC64]: Use inline patching for critical PTE operations. This handles the SUN4U vs SUN4V PTE layout differences with near zero performance cost. Signed-off-by: David S. Miller commit ff02e0d26f139ad95ec3a7e94f88faccaa180dff tree 7a872c9792561c77c672ba640b80134c592d93c7 parent 221b2fb818c307e1cb47e036a1671ca554d9cd0a author David S. Miller Sun, 12 Feb 2006 17:07:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:31 -0800 [SPARC64]: Move PTE field definitions back into asm/pgtable.h Signed-off-by: David S. Miller commit 221b2fb818c307e1cb47e036a1671ca554d9cd0a tree 8272df9706662098fce37984e9ea0e06ee5922ab parent 6241e5cc6afe2c5b75b51e1c890df18f05838cf6 author David S. Miller Sat, 11 Feb 2006 23:38:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:30 -0800 [SPARC64]: Don't expect cfg space in PCI PBM ranges on SUN4V. PCI cfg space is accessed transparently through the Hypervisor and not through direct cpu PIO operations. Signed-off-by: David S. Miller commit 6241e5cc6afe2c5b75b51e1c890df18f05838cf6 tree 557eb4d7f530b9229a87c0a8d9f6013b9987f6f5 parent 1a7a242c898dd131f2df005c492e9b44fb8900e0 author David S. Miller Sat, 11 Feb 2006 23:28:40 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:29 -0800 [SPARC64]: Fix branch signedness bug in all code patching. The bug that hit SUN4V TLB patching exists elsewhere. Make sure we cure all such cases. Signed-off-by: David S. Miller commit 1a7a242c898dd131f2df005c492e9b44fb8900e0 tree 5f00961b9c6539951adda7bfaafda030cea39c38 parent 02fead75055246d01af56a45a9d1b311d506da3e author David S. Miller Sat, 11 Feb 2006 23:24:30 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:28 -0800 [SPARC64]: Recognize "virtual-console" as input and output console device. Signed-off-by: David S. Miller commit 02fead75055246d01af56a45a9d1b311d506da3e tree 66d66532514e2a58a42d15fd6ba5c3d3c200b7c0 parent 7aa6264543f19ceea9b5f386242917296d63be05 author David S. Miller Sat, 11 Feb 2006 23:22:47 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:27 -0800 [SPARC64]: Do not try to synchronize %stick registers on SUN4V. Writes by privileged code are not allowed. Signed-off-by: David S. Miller commit 7aa6264543f19ceea9b5f386242917296d63be05 tree ca0639f3777fa5a7b553097535fcf505647f6701 parent b5a37e96b8dc067b979e44c4e109c9bc49c2f4d8 author David S. Miller Sat, 11 Feb 2006 23:14:59 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:27 -0800 [SPARC64]: Do not try to write to %tick or %stick on SUN4V. Writes by privileged code are disallowed. The hypervisor manages the non-privileged bit. Signed-off-by: David S. Miller commit b5a37e96b8dc067b979e44c4e109c9bc49c2f4d8 tree 2dcb1bf2927598c2fe9064f82174d7ecd445341a parent c4bce90ea2069e5a87beac806de3090ab32128d5 author David S. Miller Sat, 11 Feb 2006 23:07:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:26 -0800 [SPARC64]: Fix mondo queue allocations. We have to use bootmem during init_IRQ and page alloc for sibling cpu calls. Also, fix incorrect hypervisor call return value checks in the hypervisor SMP cpu mondo send code. Signed-off-by: David S. Miller commit c4bce90ea2069e5a87beac806de3090ab32128d5 tree 3983a206c8060ef65ba17945d1c9f69e68d88b3d parent 490384e752a43aa281ed533e9de2da36df25c337 author David S. Miller Sat, 11 Feb 2006 21:57:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:25 -0800 [SPARC64]: Deal with PTE layout differences in SUN4V. Yes, you heard it right, they changed the PTE layout for SUN4V. Ho hum... This is the simple and inefficient way to support this. It'll get optimized, don't worry. Signed-off-by: David S. Miller commit 490384e752a43aa281ed533e9de2da36df25c337 tree ec087a27a481b9a63aeda6703971acf4adeab19b parent 459b6e621e0e15315c25bac47fa7113e5818d45d author David S. Miller Sat, 11 Feb 2006 14:41:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:23 -0800 [SPARC64]: Register kernel TSB with hypervisor. We do this right after we take over the trap table from OBP. Signed-off-by: David S. Miller commit 459b6e621e0e15315c25bac47fa7113e5818d45d tree 4bbff0ec1dafb7fba8b247c84ad708f54cc687fe parent fd05068d7b22b64211f9202aa67ad44b51d44242 author David S. Miller Sat, 11 Feb 2006 12:21:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:23 -0800 [SPARC64]: Fix some SUN4V TLB miss bugs. Code patching did not sign extend negative branch offsets correctly. Kernel TLB miss path needs patching and %g4 register preservation in order to handle SUN4V correctly. Signed-off-by: David S. Miller commit fd05068d7b22b64211f9202aa67ad44b51d44242 tree f9b5ce3df021fc8775b6f6ed83f03af18ce0a004 parent 6cebb52094baddd4c167bb5100a7cf6f7bee6910 author David S. Miller Sat, 11 Feb 2006 11:05:52 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:22 -0800 [SPARC64]: Fix typo in sun4v_patch(). Second instruction offset is '4' not '3'. Signed-off-by: David S. Miller commit 6cebb52094baddd4c167bb5100a7cf6f7bee6910 tree 5fef397fbb773f7d8aa40aecc303d18ddf88803e parent 0d4bc95b9c205a7374afbe93b38d9c2757a45862 author David S. Miller Sat, 11 Feb 2006 10:56:43 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:21 -0800 [SPARC64]: Fix sun4v early bootup. prom_sun4v_name should be "sun4v" not "SUNW,sun4v" Also, this is too early to make use of the .sun4v_Xinsn_patch code patching, so just check things manually. This gets us at least to prom_init() on Niagara. Signed-off-by: David S. Miller commit 0d4bc95b9c205a7374afbe93b38d9c2757a45862 tree e43b03a266da9786355941246b77f30058e7058d parent e92b92571c85dfa1cdc56e88566134c51ae1d12b author David S. Miller Sat, 11 Feb 2006 10:30:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:20 -0800 [SPARC64]: Fix some Niagara memcpy() bugs. We need to restore the %asi register properly. For the kernel this means get_fs(), for user this means ASI_PNF. Also, NGcopy_to_user.S was including U3memcpy.S instead of NGmemcpy.S, oops :-) Signed-off-by: David S. Miller commit e92b92571c85dfa1cdc56e88566134c51ae1d12b tree fdd2bda36e563ea4df9c3f24dc5a3f330d50875c parent 02fd473bd4844befc74f7ca67cd60891e0a2d890 author David S. Miller Sat, 11 Feb 2006 10:19:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:19 -0800 [SPARC64]: Handle hypervisor case correctly in copy_tsb(). Signed-off-by: David S. Miller commit 02fd473bd4844befc74f7ca67cd60891e0a2d890 tree 4c338418dcfdd73c88d3ca8e969944be42cde60e parent 4bdff41464c2954c6f62f849df0e73eb9fa21c65 author David S. Miller Sat, 11 Feb 2006 02:25:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:18 -0800 [SPARC64]: Add SUN4V Hypervisor Console driver. Since it can do things like BREAK and HUP, we implement this as a serial uart driver. This still needs interrupt probing code, as I haven't figured out how interrupts will work or be probed for on SUN4V yet. Signed-off-by: David S. Miller commit 4bdff41464c2954c6f62f849df0e73eb9fa21c65 tree 781d3d844f87cf66b780874c367852af20ca9acc parent 36a68e77c554f1ef1c206fd618e6daf82d3e38a3 author David S. Miller Sat, 11 Feb 2006 01:01:55 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:17 -0800 [SPARC64]: Fetch bootup time of day from Hypervisor. Signed-off-by: David S. Miller commit 36a68e77c554f1ef1c206fd618e6daf82d3e38a3 tree 59a4591b76ef18e54b5b1b2687268e0dd6bb69ef parent 12eaa328f9fb2d3fcb5afb682c762690d05a3cd8 author David S. Miller Sat, 11 Feb 2006 00:29:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:16 -0800 [SPARC64]: Simplify sun4v TLB handling using macros. There was also a bug in sun4v_itlb_miss, it loaded the MMU Fault Status base into %g3 instead of %g2. This pointed out a fast path for TSB miss processing, since we have %g2 with the MMU Fault Status base, we can use that to quickly load up the PGD phys address. Signed-off-by: David S. Miller commit 12eaa328f9fb2d3fcb5afb682c762690d05a3cd8 tree cce4e68b971757010a3e0bbf035fc65a381a3cd4 parent 18397944642cbca7fcd4a109b43ed5b4652e95b9 author David S. Miller Fri, 10 Feb 2006 15:39:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:15 -0800 [SPARC64]: Use ASI_SCRATCHPAD address 0x0 properly. This is where the virtual address of the fault status area belongs. To set it up we don't make a hypervisor call, instead we call OBP's SUNW,set-trap-table with the real address of the fault status area as the second argument. And right before that call we write the virtual address into ASI_SCRATCHPAD vaddr 0x0. Signed-off-by: David S. Miller commit 18397944642cbca7fcd4a109b43ed5b4652e95b9 tree 6848d3e67b789b30064f488bd3273ed5ebee4f99 parent 164c220fa3947abbada65329d168f421b461a2a7 author David S. Miller Fri, 10 Feb 2006 00:08:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:15 -0800 [SPARC64]: First cut at SUN4V PCI IOMMU handling. Signed-off-by: David S. Miller commit 164c220fa3947abbada65329d168f421b461a2a7 tree 1a10418ccf896f1f9209c2206bedf87915b63bfd parent dedacf623283cb24933ec9f7d5bf539f19173cd4 author David S. Miller Thu, 09 Feb 2006 22:57:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:14 -0800 [SPARC64]: Fix hypervisor call arg passing. Function goes in %o5, args go in %o0 --> %o5. Signed-off-by: David S. Miller commit dedacf623283cb24933ec9f7d5bf539f19173cd4 tree e628dffa192236c89e3d646eb62c49ef1c98aab4 parent 7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd author David S. Miller Thu, 09 Feb 2006 22:26:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:13 -0800 [SPARC64]: Add HV_PCI_TSBID() macro. For constructing hypervisor PCI TSB IDs. Signed-off-by: David S. Miller commit 7eae642f75e0f7fbce7c37b2dfe0641ff1e9ebfd tree bc308c82a5670163470b44b6f339d1b379a97347 parent bade5622167181844cd4e60087971c1f949e149f author David S. Miller Thu, 09 Feb 2006 22:20:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:12 -0800 [SPARC64]: Implement SUN4V PCI config space access. Signed-off-by: David S. Miller commit bade5622167181844cd4e60087971c1f949e149f tree 0bd0144e472786f8ba5b37a2bb90204ff6bf204b parent 8f6a93a196ba6c569c3e8daa6e81cca7e3ba81b1 author David S. Miller Thu, 09 Feb 2006 22:05:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:11 -0800 [SPARC64]: More SUN4V PCI controller work. Add assembler file for PCI hypervisor calls. Setup basic skeleton of SUN4V PCI controller driver. Add 32-bit devhandle to PBM struct, as this is needed for hypervisor calls. Signed-off-by: David S. Miller commit 8f6a93a196ba6c569c3e8daa6e81cca7e3ba81b1 tree 80d4747608148c56fd8c67baf016ad4fc58610ea parent 4cce4b7cc56abc3d7b269d09224b8297aad15138 author David S. Miller Thu, 09 Feb 2006 21:32:07 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:10 -0800 [SPARC64]: Beginnings of SUN4V PCI controller support. Abstract out IOMMU operations so that we can have a different set of calls on sun4v, which needs to do things through hypervisor calls. Signed-off-by: David S. Miller commit 4cce4b7cc56abc3d7b269d09224b8297aad15138 tree 69e0f38ef8e9be4328d0098dee1a86a665f8dad7 parent 5fe91cf6254c8f23d90efb5fc11fff57dd5ab8dd author David S. Miller Thu, 09 Feb 2006 20:46:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:09 -0800 [SPARC64]: Fetch cpu mid properly on sun4v. If there is a "cpuid" property, use that. Else suck it out of the top bits of the "reg" property. Signed-off-by: David S. Miller commit 5fe91cf6254c8f23d90efb5fc11fff57dd5ab8dd tree 3a5d3ec9a752a7996f8e9060710fee322f2d5214 parent ed6b0b45437dcf7ef1c48b3be413bebcc84771d8 author David S. Miller Thu, 09 Feb 2006 20:45:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:08 -0800 [SPARC]: Clean up idprom header files. Delete unused macros, and use fixed sized types in sparc32 header. Signed-off-by: David S. Miller commit ed6b0b45437dcf7ef1c48b3be413bebcc84771d8 tree e52dbcebe1435f9d2957b55c100824cb7b8b1f98 parent 618e9ed98aed924a1fc664eb6522db4a5e927043 author David S. Miller Thu, 09 Feb 2006 20:20:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:07 -0800 [SPARC64]: SUN4V memory exception trap handlers. Signed-off-by: David S. Miller commit 618e9ed98aed924a1fc664eb6522db4a5e927043 tree 08ace6185b8f9709cb22a23d329def1dae622666 parent aa9143b9719c07fb6f1f6207790c9c5086ae07e7 author David S. Miller Thu, 09 Feb 2006 17:21:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:06 -0800 [SPARC64]: Hypervisor TSB context switching. Signed-off-by: David S. Miller commit aa9143b9719c07fb6f1f6207790c9c5086ae07e7 tree 74d56ecc53ed0542f200d6c6257c8f051095111c parent 12816ab38adddc9d7e9b3315d1739655dedc7c9f author David S. Miller Thu, 09 Feb 2006 16:12:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:05 -0800 [SPARC64]: Implement sun4v TSB miss handlers. When we register a TSB with the hypervisor, so that it or hardware can handle TLB misses and do the TSB walk for us, the hypervisor traps down to these trap when it incurs a TSB miss. Processing is simple, we load the missing virtual address and context, and do a full page table walk. Signed-off-by: David S. Miller commit 12816ab38adddc9d7e9b3315d1739655dedc7c9f tree cec4253a99fa61e5a96f82039499442049a3e8ed parent 3a8c069d0eea936c2fe3637ab62967af31555ee9 author David S. Miller Thu, 09 Feb 2006 03:00:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:05 -0800 [SPARC64]: kernel/cpu.c needs asm/spitfire.h For 'tlb_type'. Signed-off-by: David S. Miller commit 3a8c069d0eea936c2fe3637ab62967af31555ee9 tree cd8c749c11a8830520c95178d7520f1dd9718b5a parent d82ace7dc4073b090a55b9740700e32b9a9ae302 author David S. Miller Thu, 09 Feb 2006 02:54:54 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:04 -0800 [SPARC64]: Print ARCH as SUN4V when tlb_type is hypervisor. Signed-off-by: David S. Miller commit d82ace7dc4073b090a55b9740700e32b9a9ae302 tree d5aa8e10664b05bbfe31eacf95e2066c03cab102 parent 1d2f1f90a1e004b0c1b8a73ed4394a93f09104b3 author David S. Miller Thu, 09 Feb 2006 02:52:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:03 -0800 [SPARC64]: Detect sun4v early in boot process. We look for "SUNW,sun4v" in the 'compatible' property of the root OBP device tree node. Protect every %ver register access, to make sure it is not touched on sun4v, as %ver is hyperprivileged there. Lock kernel TLB entries using hypervisor calls instead of calls into OBP. Signed-off-by: David S. Miller commit 1d2f1f90a1e004b0c1b8a73ed4394a93f09104b3 tree 2fcc0840b52218631020311d7b6d785e9a15db6a parent 5b0c0572fcd6204675c5f7ddfa572b5017f817dd author David S. Miller Wed, 08 Feb 2006 16:41:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:02 -0800 [SPARC64]: Sun4v cross-call sending support. Technically the hypervisor call supports sending in a list of all cpus to get the cross-call, but I only pass in one cpu at a time for now. The multi-cpu support is there, just ifdef'd out so it's easy to enable or delete it later. Signed-off-by: David S. Miller commit 5b0c0572fcd6204675c5f7ddfa572b5017f817dd tree 1075a61338e887bd6d4ecd4517646ef95dc09fbc parent ac29c11d4cd4fa1fac968e99998a956405732f2f author David S. Miller Wed, 08 Feb 2006 02:53:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:01 -0800 [SPARC64]: Sun4v interrupt handling. Sun4v has 4 interrupt queues: cpu, device, resumable errors, and non-resumable errors. A set of head/tail offset pointers help maintain a work queue in physical memory. The entries are 64-bytes in size. Each queue is allocated then registered with the hypervisor as we bring cpus up. The two error queues each get a kernel side buffer that we use to quickly empty the main interrupt queue before we call up to C code to log the event and possibly take evasive action. Signed-off-by: David S. Miller commit ac29c11d4cd4fa1fac968e99998a956405732f2f tree cc733e3bd63af7b35a50d11455b7d5b2fc9ff1e9 parent e088ad7ca3d09c96e63f1ce411a2ccba2688bf25 author David S. Miller Wed, 08 Feb 2006 00:08:23 -0800 committer David S. Miller Mon, 20 Mar 2006 01:12:00 -0800 [SPARC64]: Allocate and register the 4 sun4v mondo queues at bootup. Needs to occur before we enable PSTATE_IE in %pstate. Signed-off-by: David S. Miller commit e088ad7ca3d09c96e63f1ce411a2ccba2688bf25 tree 43156b5b25c0b91d56fbcb959e1744966880057d parent 7202c55c5c57d2ad4611a751544c9368d7fba93a author David S. Miller Tue, 07 Feb 2006 23:51:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:59 -0800 [SPARC64]: Verify all trap_per_cpu assembler offsets in trap_init() Signed-off-by: David S. Miller commit 7202c55c5c57d2ad4611a751544c9368d7fba93a tree 282219004791550b35f7de50d449d96f396be8f6 parent 3bfd6f3e77f58479ec53aa91d0b078abbb4c0868 author David S. Miller Tue, 07 Feb 2006 22:53:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:58 -0800 [SPARC64]: Add sun4v mondo queue bases to struct trap_per_cpu. Also, correct TRAP_PER_CPU_FAULT_INFO define, it should be 0x40 not 0x20. Signed-off-by: David S. Miller commit 3bfd6f3e77f58479ec53aa91d0b078abbb4c0868 tree 1ec49afc137feed4e70b1be7728920165e90b838 parent 8b11bd12aff76e02cdc2cbc9e439bba88d281223 author David S. Miller Tue, 07 Feb 2006 22:49:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:57 -0800 [SPARC64]: Fix some comment typos in asm/hypervisor.h Signed-off-by: David S. Miller commit 8b11bd12aff76e02cdc2cbc9e439bba88d281223 tree 903ab8830616bfbe5a821e4359f642842c8060a4 parent 481295f982b21b1dbe71cbf41d3a93028fee30d1 author David S. Miller Tue, 07 Feb 2006 22:13:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:56 -0800 [SPARC64]: Patch up mmu context register writes for sun4v. sun4v uses ASI_MMU instead of ASI_DMMU Signed-off-by: David S. Miller commit 481295f982b21b1dbe71cbf41d3a93028fee30d1 tree 5b1af84a7f83021698bcf138c8875d7290e65282 parent 89a5264f065672a882f555228000614a6b2182b7 author David S. Miller Tue, 07 Feb 2006 21:51:08 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:55 -0800 [SPARC64]: Register per-cpu fault status area with sun4v hypervisor. Signed-off-by: David S. Miller commit 89a5264f065672a882f555228000614a6b2182b7 tree 4fa226fed4b8119096e50ff8c915d2c0f8d6cd6d parent 8591e3027235d6d11b958e43379f2ee7b7114841 author David S. Miller Tue, 07 Feb 2006 21:15:41 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:55 -0800 [SPARC64]: asm/cpudata.h needs asm/asi.h For the expansion of __GET_CPUID() on SMP. Signed-off-by: David S. Miller commit 8591e3027235d6d11b958e43379f2ee7b7114841 tree ce3f036ac64e20f7d75bae04e5362c97bc9228e6 parent df7d6aec96ab98cb182dd5138a85bdc363a9bf0d author David S. Miller Tue, 07 Feb 2006 16:09:12 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:54 -0800 [SPARC64]: Niagara copy/clear page. Happily we have no D-cache aliasing issues on these chips, so the implementation is very straightforward. Add a stub in bootup which will be where the patching calls will be made for niagara/sun4v/hypervisor. Signed-off-by: David S. Miller commit df7d6aec96ab98cb182dd5138a85bdc363a9bf0d tree d71808a328639a32b16c53b24ce8a6b641f43ad2 parent d257d5da39a78b32721ca84b2ba7f461f2f7ed7f author David S. Miller Tue, 07 Feb 2006 00:00:16 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:53 -0800 [SPARC64]: Rename gl_{1,2}insn_patch --> sun4v_{1,2}insn_patch Signed-off-by: David S. Miller commit d257d5da39a78b32721ca84b2ba7f461f2f7ed7f tree ac28d377688ebe13a4d38e05f4ff65ba73d8652a parent 840aaef8db32572b6d11e0d5cb5e6efcbc812000 author David S. Miller Mon, 06 Feb 2006 23:44:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:52 -0800 [SPARC64]: Initial sun4v TLB miss handling infrastructure. Things are a little tricky because, unlike sun4u, we have to: 1) do a hypervisor trap to do the TLB load. 2) do the TSB lookup calculations by hand Signed-off-by: David S. Miller commit 840aaef8db32572b6d11e0d5cb5e6efcbc812000 tree af8b8364f314d9d71c5ae81ffb48b46c53c6ae6c parent 45fec05f805a113372c9a7ff4c653ac749f6921c author David S. Miller Mon, 06 Feb 2006 15:52:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:51 -0800 [SPARC64]: Add missing memory barriers to instruction patching functions. V9 requires a write memory barrier before the instruction flush. Signed-off-by: David S. Miller commit 45fec05f805a113372c9a7ff4c653ac749f6921c tree 36fc99d10656775acb8e9442719447d64ac30a03 parent 314981ac7177a933319e3c071a5cf0a579205e6e author David S. Miller Sun, 05 Feb 2006 22:27:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:50 -0800 [SPARC64]: Sanitize %pstate writes for sun4v. If we're just switching between different alternate global sets, nop it out on sun4v. Also, get rid of all of the alternate global save/restore in the OBP CIF trampoline code. Signed-off-by: David S. Miller commit 314981ac7177a933319e3c071a5cf0a579205e6e tree 11895da391ba91195d6d7a67debaa32a28c1215e parent 936f482af1743141d637483ec10eb881537c26dc author David S. Miller Sun, 05 Feb 2006 21:59:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:49 -0800 [SPARC64]: Kill all %pstate changes in context switch code. They are totally unnecessary because: 1) Interrupts are already disabled when switch_to() runs. 2) We don't use hard-coded alternate globals any longer. This found a case in rtrap, which still assumed alternate global %g6 was current_thread_info(), and that is fixed by this changeset as well. Signed-off-by: David S. Miller commit 936f482af1743141d637483ec10eb881537c26dc tree 913da89a4d9f4038c510c9ecf2f5957b0f6d167f parent 6e02493a7f33ac89e698b980a657d77ab2749eaf author David S. Miller Sun, 05 Feb 2006 21:29:28 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:48 -0800 [SPARC64]: Add initial code to twiddle %gl on trap entry/exit. Instead of setting/clearing PSTATE_AG we have to change the %gl register value on sun4v. Signed-off-by: David S. Miller commit 6e02493a7f33ac89e698b980a657d77ab2749eaf tree fcb6a17c2222a1aa601faf95a50a92b7a7a9224a parent d619d7f11670f5b1cfca30e6645e44c8a6014820 author David S. Miller Sun, 05 Feb 2006 20:47:26 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:47 -0800 [SPARC64]: Fill dead cycles on trap entry with real work. As we save trap state onto the stack, the store buffer fills up mid-way through and we stall for several cycles as the store buffer trickles out to the L2 cache. Meanwhile we can do some privileged register reads and other calculations, essentially for free. Signed-off-by: David S. Miller commit d619d7f11670f5b1cfca30e6645e44c8a6014820 tree cad4f39ece5f59f2a16327a13e25863d2f466f14 parent d96b81533ba3d5775e45aee6986b2aa33c10801c author David S. Miller Sat, 04 Feb 2006 23:59:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:46 -0800 [SPARC64]: Add define for "GL" field of sun4v %tstate register. Signed-off-by: David S. Miller commit d96b81533ba3d5775e45aee6986b2aa33c10801c tree 334af39452d650cc14b389c58a30cc54e9e130dd parent e1c21c4f476f2270c98aad1fe55e5f33e25f77f5 author David S. Miller Sat, 04 Feb 2006 15:40:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:45 -0800 [SPARC64]: Add sun4v case to __GET_CPUID() patch tables. Signed-off-by: David S. Miller commit e1c21c4f476f2270c98aad1fe55e5f33e25f77f5 tree 830ae146cd0cf807d949b09641ec8e82c6ed8149 parent 277b6dd9600613b01f66cadef2f0065514fecf69 author David S. Miller Sat, 04 Feb 2006 03:12:14 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:44 -0800 [SPARC64]: Sun4v interrupt queue register definitions. Signed-off-by: David S. Miller commit 277b6dd9600613b01f66cadef2f0065514fecf69 tree f9e9f42f05b3204fe17778a999fecd9fa63b1e7e parent d398ee230f94a8ba386d8abb63f4fea129e4eaba author David S. Miller Sat, 04 Feb 2006 03:12:02 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:44 -0800 [SPARC64]: Sun4v scratchpad register layout. Signed-off-by: David S. Miller commit d398ee230f94a8ba386d8abb63f4fea129e4eaba tree bcad4a48333ddbdd04f890d7136c0e3efb829cec parent 398d10830843bda7798f71052b54a5341a8ddd53 author David S. Miller Sat, 04 Feb 2006 03:11:50 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:43 -0800 [SPARC64]: Sun4v specific ASI defines. Signed-off-by: David S. Miller commit 398d10830843bda7798f71052b54a5341a8ddd53 tree 3c2f7da709f2f5e21fe3e5678276eae2d665735f parent 30ddbdb03339fc62480ddbff800a44066bb14455 author David S. Miller Sun, 05 Mar 2006 16:41:56 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:42 -0800 [SPARC64]: Niagara optimized memcpy() and copy_{to,from}_user(). Signed-off-by: David S. Miller commit 30ddbdb03339fc62480ddbff800a44066bb14455 tree 6d064ae396014418601acd8fc678463750f2bffa parent a43fe0e789f5445f5224511034f410adf11f153b author David S. Miller Sat, 04 Feb 2006 03:11:17 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:41 -0800 [SPARC64]: Add Niagara init-store twin-load ASI defines. Signed-off-by: David S. Miller commit a43fe0e789f5445f5224511034f410adf11f153b tree cface7b6e616be616899da8c0762f904263c5985 parent 1633a53c79498455b16d051451f4e3f83ab4e7dd author David S. Miller Sat, 04 Feb 2006 03:10:53 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:40 -0800 [SPARC64]: Add some hypervisor tlb_type checks. And more consistently check cheetah{,_plus} instead of assuming anything not spitfire is cheetah{,_plus}. Signed-off-by: David S. Miller commit 1633a53c79498455b16d051451f4e3f83ab4e7dd tree 3f28700c60a0464879833a6d76875f387388e20c parent 52bf082f0a6e49e08ed99d4d9518c662dc735c7a author David S. Miller Sat, 04 Feb 2006 03:09:03 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:39 -0800 [SPARC64]: Add 'hypervisor' to ultra_tlb_type enumeration. Signed-off-by: David S. Miller commit 52bf082f0a6e49e08ed99d4d9518c662dc735c7a tree 7d6a27ea0ed9d66810952999cfa19afb4de66616 parent 766f861fbbd968a1850295ed6dec4504b4500dcc author David S. Miller Sat, 04 Feb 2006 03:08:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:38 -0800 [SPARC64]: SUN4V hypervisor TLB flush support code. Signed-off-by: David S. Miller commit 766f861fbbd968a1850295ed6dec4504b4500dcc tree 76729285f448b58c812469b1bddf64f92e9f8d6e parent 314ef6859750b6539eac48d78059bb7986f29cb1 author David S. Miller Sat, 04 Feb 2006 03:01:45 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:37 -0800 [SPARC64]: SUN4V hypervisor interface defines. Signed-off-by: David S. Miller commit 314ef6859750b6539eac48d78059bb7986f29cb1 tree 26c7da386349c1cf377225356e1012ae62da6f07 parent ffe483d55229fadbaf4cc7316d47024a24ecd1a2 author David S. Miller Sat, 04 Feb 2006 00:10:01 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:36 -0800 [SPARC64]: Refine register window trap handling. When saving and restoing trap state, do the window spill/fill handling inline so that we never trap deeper than 2 trap levels. This is important for chips like Niagara. The window fixup code is massively simplified, and many more improvements are now possible. Signed-off-by: David S. Miller commit ffe483d55229fadbaf4cc7316d47024a24ecd1a2 tree 70bdb6c94d5b3512a7b2a3ff06979ac2e4e869bf parent 92704a1c63c3b481870d02636d0b5a70c7e21cd1 author David S. Miller Thu, 02 Feb 2006 21:55:10 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:35 -0800 [SPARC64]: Add explicit register args to trap state loading macros. This, as well as making the code cleaner, allows a simplification in the TSB miss handling path. Signed-off-by: David S. Miller commit 92704a1c63c3b481870d02636d0b5a70c7e21cd1 tree 098f96da6ab50a1d878425e2b91a9cf22f78ac80 parent f4e841da30b4bcbb8f1cc20a01157a788ff58b21 author David S. Miller Sun, 26 Feb 2006 23:27:19 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:35 -0800 [SPARC64]: Refine code sequences to get the cpu id. On uniprocessor, it's always zero for optimize that. On SMP, the jmpl to the stub kills the return address stack in the cpu branch prediction logic, so expand the code sequence inline and use a code patching section to fix things up. This also always better and explicit register selection, which will be taken advantage of in a future changeset. The hard_smp_processor_id() function is big, so do not inline it. Fix up tests for Jalapeno to also test for Serrano chips too. These tests want "jbus Ultra-IIIi" cases to match, so that is what we should test for. Signed-off-by: David S. Miller commit f4e841da30b4bcbb8f1cc20a01157a788ff58b21 tree 8f145f6902b694402ce6291a493caf3a2348717e parent 7bec08e38a7d0f088994f6eec9b6374652ea71fb author David S. Miller Thu, 02 Feb 2006 16:16:24 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:34 -0800 [SPARC64]: Turn off TSB growing for now. There are several tricky races involved with growing the TSB. So just use base-size TSBs for user contexts and we can revisit enabling this later. One part of the SMP problems is that tsb_context_switch() can see partially updated TSB configuration state if tsb_grow() is running in parallel. That's easily solved with a seqlock taken as a writer by tsb_grow() and taken as a reader to capture all the TSB config state in tsb_context_switch(). Then there is flush_tsb_user() running in parallel with a tsb_grow(). In theory we could take the seqlock as a reader there too, and just resample the TSB pointer and reflush but that looks really ugly. Lastly, I believe there is a case with threads that results in a TSB entry lock bit being set spuriously which will cause the next access to that TSB entry to wedge the cpu (since the TSB entry lock bit will never clear). It's either copy_tsb() or some bug elsewhere in the TSB assembly. Signed-off-by: David S. Miller commit 7bec08e38a7d0f088994f6eec9b6374652ea71fb tree df0c24e8417d08aff3d3de7d9dc7b13c4e05931b parent 517af33237ecfc3c8a93b335365fa61e741ceca4 author David S. Miller Thu, 02 Feb 2006 01:20:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:33 -0800 [SPARC64]: Correctable ECC errors cannot occur at trap level > 0. The are distrupting, which by the sparc v9 definition means they can only occur when interrupts are enabled in the %pstate register. This never occurs in any of the trap handling code running at trap levels > 0. So just mark it as an unexpected trap. This allows us to kill off the cee_stuff member of struct thread_info. Signed-off-by: David S. Miller commit 517af33237ecfc3c8a93b335365fa61e741ceca4 tree 58eff40eb4c517c4fd49fd347d38273ee1e1ee4b parent b0fd4e49aea8a460afab7bc67cd618e2d19291d4 author David S. Miller Wed, 01 Feb 2006 15:55:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:32 -0800 [SPARC64]: Access TSB with physical addresses when possible. This way we don't need to lock the TSB into the TLB. The trick is that every TSB load/store is registered into a special instruction patch section. The default uses virtual addresses, and the patch instructions use physical address load/stores. We can't do this on all chips because only cheetah+ and later have the physical variant of the atomic quad load. Signed-off-by: David S. Miller commit b0fd4e49aea8a460afab7bc67cd618e2d19291d4 tree a596c793cbc918bdcea462bcfe2f2f41fe8afeb2 parent 30a6ecad9670d97c9d0fbfa7d80970aeb339bdec author David S. Miller Tue, 31 Jan 2006 23:13:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:31 -0800 [SPARC64]: Kill out-of-date commentary in asm-sparc64/tsb.h Signed-off-by: David S. Miller commit 30a6ecad9670d97c9d0fbfa7d80970aeb339bdec tree 37f3b37871f23a8fb4fcb14527c68a49a7e1c270 parent 86b818687d4894063ecd1190e54717a0cce8c009 author David S. Miller Tue, 31 Jan 2006 18:35:05 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:30 -0800 [SPARC64]: Don't clobber alt-global %g4 on window fixups. If we are returning back to kernel mode, %g4 could be live (for example, in the case where we window spill in the etrap code). So do not change it's value if going back to kernel. Signed-off-by: David S. Miller commit 86b818687d4894063ecd1190e54717a0cce8c009 tree d2951295358502c88f7fe0c02517d729cff4eb9a parent 9954863975910a1b9372b7d5006a6cba43bdd288 author David S. Miller Tue, 31 Jan 2006 18:34:51 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:29 -0800 [SPARC64]: Fix race in LOAD_PER_CPU_BASE() Since we use %g5 itself as a temporary, it can get clobbered if we take an interrupt mid-stream and thus cause end up with the final %g5 value too early as a result of rtrap processing. Set %g5 at the very end, atomically, to avoid this problem. Signed-off-by: David S. Miller commit 9954863975910a1b9372b7d5006a6cba43bdd288 tree 0a6d088d67e0a75ed6a15590c9811e1d6fa75576 parent 9bc657b28eba22e36efcdf3afa08100f92971eb4 author David S. Miller Tue, 31 Jan 2006 18:34:34 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:28 -0800 [SPARC64]: Kill swapper_pgd_zero, totally unused. Signed-off-by: David S. Miller commit 9bc657b28eba22e36efcdf3afa08100f92971eb4 tree d04a21e01a1795a6ea5be550ad96b6a4a3945375 parent 764afe2edb834930050313459cef9f1ae2656750 author David S. Miller Tue, 31 Jan 2006 18:34:21 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:27 -0800 [SPARC64]: Fix too early reference to %g6 %g6 is not necessarily set to current_thread_info() at sparc64_realfault_common. So store the fault code and address after we invoke etrap and %g6 is properly set up. Signed-off-by: David S. Miller commit 764afe2edb834930050313459cef9f1ae2656750 tree ae2b590286be88335430a3eb3e6e7208fbaf80e4 parent 2f7ee7c63f08b7f883b710a29d91c1891b81b8e1 author David S. Miller Tue, 31 Jan 2006 18:34:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:26 -0800 [SPARC64]: Kill hard-coded %pstate setting in sparc_exit. Just flip the bit off of whatever it's currently set to. PSTATE_IE is guarenteed to be enabled when we get here. Signed-off-by: David S. Miller commit 2f7ee7c63f08b7f883b710a29d91c1891b81b8e1 tree c0539482cecfd3cbc0b983a23058315811dc8b55 parent a8b900d801697609d1b56cc9c110148c64678068 author David S. Miller Tue, 31 Jan 2006 18:33:49 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:26 -0800 [SPARC64]: Increase swapper_tsb size to 32K. Signed-off-by: David S. Miller commit a8b900d801697609d1b56cc9c110148c64678068 tree 47602480aba29d17f8a79cc76dfe8af4d62f2599 parent 3487d1d4414fbfab5d98ec559e6f84f55520cb15 author David S. Miller Tue, 31 Jan 2006 18:33:37 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:25 -0800 [SPARC64]: Kill sole argument passed to setup_tba(). No longer used, and move extern declaration to a header file. Signed-off-by: David S. Miller commit 3487d1d4414fbfab5d98ec559e6f84f55520cb15 tree b85ac7e9d8c07bd3c8a9d314d650b04cdf1ccc96 parent 6b6d017235acad3ee1681140795593723bb9b9df author David S. Miller Tue, 31 Jan 2006 18:33:25 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:24 -0800 [SPARC64]: Kill PROM locked TLB entry preservation code. It is totally unnecessary complexity. After we take over the trap table, we handle all PROM tlb misses fully. Signed-off-by: David S. Miller commit 6b6d017235acad3ee1681140795593723bb9b9df tree 5c7f279d483c3d270b6ef3f158239e4d38785a14 parent 4da808c352c290d3f762933d44d4ab90c2fd65f3 author David S. Miller Tue, 31 Jan 2006 18:33:12 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:23 -0800 [SPARC64]: Use sparc64_highest_unlocked_tlb_ent in __tsb_context_switch() Instead of ugly hard-coded value. Signed-off-by: David S. Miller commit 4da808c352c290d3f762933d44d4ab90c2fd65f3 tree da99326440777580a19c345a5b0d52fbf800042b parent 4753eb2ac7022b999e5e484f1a5dc001dba22bd3 author David S. Miller Tue, 31 Jan 2006 18:33:00 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:22 -0800 [SPARC64]: Fix bogus flush instruction usage. Some of the trap code was still assuming that alternate global %g6 was hard coded with current_thread_info(). Let's just consistently flush at KERNBASE when we need a pipeline synchronization. That's locked into the TLB and will always work. Signed-off-by: David S. Miller commit 4753eb2ac7022b999e5e484f1a5dc001dba22bd3 tree 138321ebd3b3c3aeb99517ec5158a65f556da774 parent 96c6e0d8e2a0eb1338751598be47fa1ffed91704 author David S. Miller Tue, 31 Jan 2006 18:32:44 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:21 -0800 [SPARC64]: Fix incorrect TSB lock bit handling. The TSB_LOCK_BIT define is actually a special value shifted down by 32-bits for the assembler code macros. In C code, this isn't what we want. Signed-off-by: David S. Miller commit 96c6e0d8e2a0eb1338751598be47fa1ffed91704 tree 7174ae7f5c052b8312549860c3a978babc1394ce parent b70c0fa1613c4f69b4a340a0e2bee387560ebbb1 author David S. Miller Tue, 31 Jan 2006 18:32:29 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:20 -0800 [SPARC64]: Kill {save,restore}_alternate_globals() No longer needed now that we no longer have hard-coded alternate global register usage. Signed-off-by: David S. Miller commit b70c0fa1613c4f69b4a340a0e2bee387560ebbb1 tree f7bf22ab75cb9118f5772353fef6efd923faa212 parent bd40791e1d289d807b8580abe1f117e9c62894e4 author David S. Miller Tue, 31 Jan 2006 18:32:04 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:19 -0800 [SPARC64]: Preload TSB entries from update_mmu_cache(). Signed-off-by: David S. Miller commit bd40791e1d289d807b8580abe1f117e9c62894e4 tree 2b47e24c8dc0e668dfd7ba0e3879165180c49c65 parent 98c5584cfc47932c4f3ccf5eee2e0bae1447b85e author David S. Miller Tue, 31 Jan 2006 18:31:38 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:18 -0800 [SPARC64]: Dynamically grow TSB in response to RSS growth. As the RSS grows, grow the TSB in order to reduce the likelyhood of hash collisions and thus poor hit rates in the TSB. This definitely needs some serious tuning. Signed-off-by: David S. Miller commit 98c5584cfc47932c4f3ccf5eee2e0bae1447b85e tree c067ac8bfc081bbe0b3073374cb15708458e04ab parent 09f94287f7260e03bbeab497e743691fafcc22c3 author David S. Miller Tue, 31 Jan 2006 18:31:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:17 -0800 [SPARC64]: Add infrastructure for dynamic TSB sizing. This also cleans up tsb_context_switch(). The assembler routine is now __tsb_context_switch() and the former is an inline function that picks out the bits from the mm_struct and passes it into the assembler code as arguments. setup_tsb_parms() computes the locked TLB entry to map the TSB. Later when we support using the physical address quad load instructions of Cheetah+ and later, we'll simply use the physical address for the TSB register value and set the map virtual and PTE both to zero. Signed-off-by: David S. Miller commit 09f94287f7260e03bbeab497e743691fafcc22c3 tree ebdb365a7cfe25a1587a930d852f2eaa0e1e773a parent 56fb4df6da76c35dca22036174e2d1edef83ff1f author David S. Miller Tue, 31 Jan 2006 18:31:06 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:16 -0800 [SPARC64]: TSB refinements. Move {init_new,destroy}_context() out of line. Do not put huge pages into the TSB, only base page size translations. There are some clever things we could do here, but for now let's be correct instead of fancy. Signed-off-by: David S. Miller commit 56fb4df6da76c35dca22036174e2d1edef83ff1f tree b39f152ec9ed682edceca965a85680fd4bf736a7 parent 3c936465249f863f322154ff1aaa628b84ee5750 author David S. Miller Sun, 26 Feb 2006 23:24:22 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:16 -0800 [SPARC64]: Elminate all usage of hard-coded trap globals. UltraSPARC has special sets of global registers which are switched to for certain trap types. There is one set for MMU related traps, one set of Interrupt Vector processing, and another set (called the Alternate globals) for all other trap types. For what seems like forever we've hard coded the values in some of these trap registers. Some examples include: 1) Interrupt Vector global %g6 holds current processors interrupt work struct where received interrupts are managed for IRQ handler dispatch. 2) MMU global %g7 holds the base of the page tables of the currently active address space. 3) Alternate global %g6 held the current_thread_info() value. Such hardcoding has resulted in some serious issues in many areas. There are some code sequences where having another register available would help clean up the implementation. Taking traps such as cross-calls from the OBP firmware requires some trick code sequences wherein we have to save away and restore all of the special sets of global registers when we enter/exit OBP. We were also using the IMMU TSB register on SMP to hold the per-cpu area base address, which doesn't work any longer now that we actually use the TSB facility of the cpu. The implementation is pretty straight forward. One tricky bit is getting the current processor ID as that is different on different cpu variants. We use a stub with a fancy calling convention which we patch at boot time. The calling convention is that the stub is branched to and the (PC - 4) to return to is in register %g1. The cpu number is left in %g6. This stub can be invoked by using the __GET_CPUID macro. We use an array of per-cpu trap state to store the current thread and physical address of the current address space's page tables. The TRAP_LOAD_THREAD_REG loads %g6 with the current thread from this table, it uses __GET_CPUID and also clobbers %g1. TRAP_LOAD_IRQ_WORK is used by the interrupt vector processing to load the current processor's IRQ software state into %g6. It also uses __GET_CPUID and clobbers %g1. Finally, TRAP_LOAD_PGD_PHYS loads the physical address base of the current address space's page tables into %g7, it clobbers %g1 and uses __GET_CPUID. Many refinements are possible, as well as some tuning, with this stuff in place. Signed-off-by: David S. Miller commit 3c936465249f863f322154ff1aaa628b84ee5750 tree 2bd7a229236f197d20a655133370e5d0c1bf886c parent 05e28f9de65a38bb0c769080e91b6976e7e1e70c author David S. Miller Tue, 31 Jan 2006 18:30:27 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:14 -0800 [SPARC64]: Kill pgtable quicklists and use SLAB. Taking a nod from the powerpc port. With the per-cpu caching of both the page allocator and SLAB, the pgtable quicklist scheme becomes relatively silly and primitive. Signed-off-by: David S. Miller commit 05e28f9de65a38bb0c769080e91b6976e7e1e70c tree e1d3fcc1381ea6612ce4c082ca8596e84b637216 parent 74bf4312fff083ab25c3f357cc653ada7995e5f6 author David S. Miller Tue, 31 Jan 2006 18:30:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:13 -0800 [SPARC64]: No need to D-cache color page tables any longer. Unlike the virtual page tables, the new TSB scheme does not require this ugly hack. Signed-off-by: David S. Miller commit 74bf4312fff083ab25c3f357cc653ada7995e5f6 tree c23dea461e32485f4cd7ca4b8c33c632655eb906 parent 30d4d1ffed7098afe2641536d67eef150499da02 author David S. Miller Tue, 31 Jan 2006 18:29:18 -0800 committer David S. Miller Mon, 20 Mar 2006 01:11:13 -0800 [SPARC64]: Move away from virtual page tables, part 1. We now use the TSB hardware assist features of the UltraSPARC MMUs. SMP is currently knowingly broken, we need to find another place to store the per-cpu base pointers. We hid them away in the TSB base register, and that obviously will not work any more :-) Another known broken case is non-8KB base page size. Also noticed that flush_tlb_all() is not referenced anywhere, only the internal __flush_tlb_all() (local cpu only) is used by the sparc64 port, so we can get rid of flush_tlb_all(). The kernel gets it's own 8KB TSB (swapper_tsb) and each address space gets it's own private 8K TSB. Later we can add code to dynamically increase the size of per-process TSB as the RSS grows. An 8KB TSB is good enough for up to about a 4MB RSS, after which the TSB starts to incur many capacity and conflict misses. We even accumulate OBP translations into the kernel TSB. Another area for refinement is large page size support. We could use a secondary address space TSB to handle those. Signed-off-by: David S. Miller commit 30d4d1ffed7098afe2641536d67eef150499da02 tree e651ab7e4199ba03e2db7d1918baf8569b86a36f parent 94bbc1763b6b6d20d5cfa70c41cda23af27f8b55 author Eric Sesterhenn Fri, 10 Mar 2006 02:55:20 -0800 committer David S. Miller Mon, 20 Mar 2006 01:10:35 -0800 [SPARC]: BUG_ON() Conversion in arch/sparc/kernel/ioport.c this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: David S. Miller commit 94bbc1763b6b6d20d5cfa70c41cda23af27f8b55 tree 153f28fcc087fba199536b95e3faf8eacb878829 parent 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 author Bernhard R Link Fri, 10 Mar 2006 01:23:13 -0800 committer David S. Miller Mon, 20 Mar 2006 01:10:34 -0800 [SPARC64]: fix sparc_floppy_irq's auxio_register reseting The patch "[SPARC64]: Get rid of fast IRQ feature" moved the the code from arch/sparc64/kernel/entry.S: lduba [%g7] ASI_PHYS_BYPASS_EC_E, %g5 or %g5, AUXIO_AUX1_FTCNT, %g5 stba %g5, [%g7] ASI_PHYS_BYPASS_EC_E andn %g5, AUXIO_AUX1_FTCNT, %g5 stba %g5, [%g7] ASI_PHYS_BYPASS_EC_E to arch/sparc64/kernel/irq.c: val = readb(auxio_register); val |= AUXIO_AUX1_FTCNT; writeb(val, auxio_register); val &= AUXIO_AUX1_FTCNT; writeb(val, auxio_register); This looks like it it missing a bitwise not, which is reintroduced by this patch. Due to lack of a floppy device, I could not test it, but it looks evident. Signed-off-by: Bernhard R Link Signed-off-by: David S. Miller commit 6cc8fef4cbeb0b65d225d7b599c75eb5b40a6534 tree bab97123947bda63b728d701ed823a205d1ca331 parent b2fc6ad01beb550f75457b7d811ff84dc81b210b author Nathan Scott Mon, 20 Mar 2006 13:25:48 +1100 committer Nathan Scott Mon, 20 Mar 2006 13:25:48 +1100 [XFS] Fix compiler warning from xfs_file_compat_invis_ioctl prototype. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25509a Signed-off-by: Andrew Morton Signed-off-by: Nathan Scott commit 2f8600dff2b140096a7df781884e918a16aa90e0 tree 313d53e23c618950b078b6fd39d9e078fdf79011 parent f013db3284376070fc4c196e58d204180b8ed62a author James Bottomley Sat, 18 Mar 2006 15:00:50 -0600 committer James Bottomley Sun, 19 Mar 2006 10:21:16 -0600 [SCSI] eliminate rphy allocation in favour of expander/end device allocation This allows the removal of the contained flag and also does a bit of class renaming (sas_rphy->sas_device). Signed-off-by: James Bottomley commit f013db3284376070fc4c196e58d204180b8ed62a tree 727603f9b75c375ff123add7e1262e7948756aa8 parent 6bdaa1f17dd32ec62345c7b57842f53e6278a2fa author James Bottomley Sat, 18 Mar 2006 14:54:36 -0600 committer James Bottomley Sun, 19 Mar 2006 10:20:45 -0600 [SCSI] convert mptsas over to end_device/expander allocations The conversion of mptsas should allow the elimination of the contained flag in the sas transport class. Acked-by: "Moore, Eric" Signed-off-by: James Bottomley commit 6bdaa1f17dd32ec62345c7b57842f53e6278a2fa tree fd84576b5b62a48676ed3a9ef136a3f653431cc7 parent 5baba830e93732e802dc7e0a362eb730e1917f58 author James Bottomley Sat, 18 Mar 2006 14:14:21 -0600 committer James Bottomley Sun, 19 Mar 2006 10:19:51 -0600 [SCSI] allow displaying and setting of cache type via sysfs I think I promised to do this two years ago This patch adds a scsi_disk class with the cache type and FUA parameters, so user land application can easily obtain them without having to parse dmesg. It also allows setting the cache type (use with care...) This patch is a bit dangerous because I've replaced the disk kref with a class device reference ... Signed-off-by: James Bottomley commit 5baba830e93732e802dc7e0a362eb730e1917f58 tree 84c634fd35bff836b5b09f2ac3c7c826fdb5c9bb parent 75913d9bb8328c4eca54cad39a5fb665b48383eb author James Bottomley Sat, 18 Mar 2006 14:10:35 -0600 committer James Bottomley Sun, 19 Mar 2006 10:19:14 -0600 [SCSI] add scsi_mode_select to scsi_lib.c This complements the scsi_mode_sense() function Signed-off-by: James Bottomley commit 75913d9bb8328c4eca54cad39a5fb665b48383eb tree 62f991852c7424eaac8532064eec815dd9509fa6 parent 95e6a856772413993f54916ca9bf21ccfa6a537e author adam radford Wed, 15 Mar 2006 12:43:19 -0800 committer James Bottomley Sun, 19 Mar 2006 10:18:42 -0600 [SCSI] 3ware 9000 add big endian support The attached patch updates the 3ware 9000 driver: - Fix 9550SX pchip reset timeout. - Add big endian support. Signed-off-by: Adam Radford Signed-off-by: James Bottomley commit e572ec7e4e432de7ecf7bd2e62117646fa64e518 tree 56b4b738fb566128d2db6d62aed28cfd41b5398a parent 3d1ab40f4c20767afbd361b258a531d73e3e6fc2 author Al Viro Sat, 18 Mar 2006 22:27:18 -0500 committer Al Viro Sat, 18 Mar 2006 22:27:18 -0500 [PATCH] fix rmmod problems with elevator attributes, clean them up commit 3d1ab40f4c20767afbd361b258a531d73e3e6fc2 tree 2da79cc8b47a98b0496b6e762fa790a8d547977b parent 1cc9be68ebcc1de9904bf225441613878da9c0d8 author Al Viro Sat, 18 Mar 2006 18:35:43 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:43 -0500 [PATCH] elevator_t lifetime rules and sysfs fixes commit 1cc9be68ebcc1de9904bf225441613878da9c0d8 tree 59a885d6e939725a6e37e0888ef41e3852ae3223 parent a90d742e4cbbc217c402265eb8b8bb0e0f9f8da2 author Al Viro Sat, 18 Mar 2006 12:29:52 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:08 -0500 [PATCH] noise removal: cfq-iosched.c Signed-off-by: Al Viro commit a90d742e4cbbc217c402265eb8b8bb0e0f9f8da2 tree a2423ca7cf3249a4c8b2c55021e0ae8f089b35e7 parent 483f4afc421435b7cfe5e88f74eea0b73a476d75 author Al Viro Sat, 18 Mar 2006 12:05:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:35:05 -0500 [PATCH] don't bother with refcounting for cfq_data Signed-off-by: Al Viro commit 483f4afc421435b7cfe5e88f74eea0b73a476d75 tree 9a3bbcf8ae83c5edb9ab1f9e98333d6f5673211b parent 1312f40e11c57edb5c3250f1b782cef8e3efea82 author Al Viro Sat, 18 Mar 2006 18:34:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:37 -0500 [PATCH] fix sysfs interaction and lifetime rules handling for queues commit 1312f40e11c57edb5c3250f1b782cef8e3efea82 tree 0aae9e7fe6211d83212991e84789fcd7e9908ced parent 6f325a13442d4e4a6c93d06d8e6deff79b6540b1 author Al Viro Sun, 12 Mar 2006 11:02:03 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:20 -0500 [PATCH] regularize blk_cleanup_queue() use Signed-off-by: Al Viro commit 6f325a13442d4e4a6c93d06d8e6deff79b6540b1 tree e180ac54bd6d0885a7d615dec866a6793340f0a6 parent 334e94de9bea353156abd6f2242d3cc4a24562b0 author Al Viro Sat, 18 Mar 2006 14:58:37 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:17 -0500 [PATCH] fix cfq_get_queue()/ioprio_set(2) races Signed-off-by: Al Viro commit 334e94de9bea353156abd6f2242d3cc4a24562b0 tree ff4a253e9e3bf487be03bf58727a7ea40a34ba87 parent e17a9489b4a686bb5e9615e1d375c67619cb99c5 author Al Viro Sat, 18 Mar 2006 15:05:53 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:15 -0500 [PATCH] deal with rmmod/put_io_context() races Signed-off-by: Al Viro commit e17a9489b4a686bb5e9615e1d375c67619cb99c5 tree e6574d24ad8f16fefe7663c91cf19109e48f8c6c parent 25975f863b0fd42c58109e253e7a4c65d9fdaf48 author Al Viro Sat, 18 Mar 2006 13:21:20 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:12 -0500 [PATCH] stop elv_unregister() from rogering other iosched's data, fix locking Signed-off-by: Al Viro commit 25975f863b0fd42c58109e253e7a4c65d9fdaf48 tree 98738124360c12c34b8820c3cc639dc275d1f4d0 parent d9ff41879364cfca7c15abc20ae398e35de3f883 author Al Viro Sun, 12 Mar 2006 13:45:25 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:09 -0500 [PATCH] stop cfq from pinning queue down Signed-off-by: Al Viro commit d9ff41879364cfca7c15abc20ae398e35de3f883 tree 58b69841c145a000d06658feff5d846eea624399 parent a6a0763a60eef374d4f02f82a6ecb6a74f380fcb author Al Viro Sat, 18 Mar 2006 13:51:22 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:07 -0500 [PATCH] make cfq_exit_queue() prune the cfq_io_context for that queue Signed-off-by: Al Viro commit a6a0763a60eef374d4f02f82a6ecb6a74f380fcb tree ab6811f034eb2839ee07bc8e251b96a1aba313f7 parent 12a057321529df2fb650ac5f34dfd7abcca667df author Al Viro Sat, 18 Mar 2006 13:26:44 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:04 -0500 [PATCH] fix the exclusion for ioprio_set() Signed-off-by: Al Viro commit 12a057321529df2fb650ac5f34dfd7abcca667df tree b74a85a275cf97cebcd30aa544605081c80d7fb1 parent 478a82b0edeea1cc82a5f79880b3a15923a678de author Al Viro Sat, 18 Mar 2006 13:38:01 -0500 committer Al Viro Sat, 18 Mar 2006 18:34:02 -0500 [PATCH] keep sync and async cfq_queue separate Signed-off-by: Al Viro commit 478a82b0edeea1cc82a5f79880b3a15923a678de tree 091c2ace634975c62c8236f209b24e4fded81ff4 parent 7670876d2d194b2aecb54f397704838eee7d72ee author Al Viro Sat, 18 Mar 2006 13:25:24 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:59 -0500 [PATCH] switch to use of ->key to get cfq_data by cfq_io_context Signed-off-by: Al Viro commit 7670876d2d194b2aecb54f397704838eee7d72ee tree 4c1b29bba1b038a407870ab62b3dd70057c949e0 parent b0a6916bcc48f46996d54b8451591a2f2b7b2f64 author Al Viro Sat, 18 Mar 2006 13:22:53 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:56 -0500 [PATCH] stop leaking cfq_data in cfq_set_request() We don't need to pin ->key down; ->cfqq->cfqd will do that for us. Incidentally, that stops the leak we had - that reference was never dropped. Signed-off-by: Al Viro commit b0a6916bcc48f46996d54b8451591a2f2b7b2f64 tree 8b22d7d04a802092928a642628d2ede339a5287a parent c981ff9f893b9ab229a809f8ad287ae43fc17a64 author Al Viro Tue, 14 Mar 2006 15:32:50 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:54 -0500 [PATCH] fix cfq hash lookups If somebody does a hash lookup for cfq_queue while ioprio of an async queue is elevated, they shouldn't end up stuck with lowered ioprio when we go back. Fix is to use ->org_ioprio{,class} in hash lookups. Signed-off-by: Al Viro commit c981ff9f893b9ab229a809f8ad287ae43fc17a64 tree c0423d86a33f0f714fa192b4f964269889b12c3f parent 8669aafdb5a46a57366dd1540fc475544071a9c9 author Al Viro Sat, 18 Mar 2006 13:51:29 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:51 -0500 [PATCH] fix locking in queue_requests_store() Signed-off-by: Al Viro commit 8669aafdb5a46a57366dd1540fc475544071a9c9 tree c30fc562aeb1b2c158844b4d30d5423414b719bc parent afc847b7ddcf636e524cf5b0de644bd3a9419a8c author Al Viro Sat, 18 Mar 2006 13:50:00 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:49 -0500 [PATCH] fix double-free in blk_init_queue_node() Signed-off-by: Al Viro commit afc847b7ddcf636e524cf5b0de644bd3a9419a8c tree 5022a566bc55a12a792c8bd9b2d94ccfd4b10235 parent 60a6dc55b93b3321afa52f650a149fb7e87fa85a author Al Viro Tue, 28 Feb 2006 12:51:55 -0500 committer Al Viro Sat, 18 Mar 2006 18:33:46 -0500 [PATCH] don't do exit_io_context() until we know we won't be doing any IO testcase: mount /dev/sdb10 /mnt touch /mnt/tmp/b umount /mnt mount /dev/sdb10 /mnt rm /mnt/tmp/b commit cc8279f68c34c3f32b3a85f3103b0ad755c57846 tree 13c896b8a0bba7244818b62b767ebb807c30541e parent 3234eeec18315356166cd89bd93fc4630192eece author Zhu Yi Tue, 21 Feb 2006 18:46:15 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: Update version ipw2100 stamp to 1.2.2 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3234eeec18315356166cd89bd93fc4630192eece tree 462a95c09b9a745e4dcab6589bd2bea36355c050 parent 752e377bfdad61482e39cafedb3a6bb1b5bb0289 author Zhu Yi Tue, 28 Feb 2006 08:38:07 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 752e377bfdad61482e39cafedb3a6bb1b5bb0289 tree 2d3cda9de2ffd0776aea72d7f8d41f6c6a673632 parent cae1629515cf6d166fa20657e68b75619d563280 author Ingo Molnar Tue, 28 Feb 2006 07:20:54 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: semaphore to mutexes conversion semaphore to mutexes conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build-tested. Signed-off-by: Ingo Molnar Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit cae1629515cf6d166fa20657e68b75619d563280 tree a40dbc0c8e7d6fed80be63bcc4182ef42b3ca84d parent 15745a7dd1ac6bf1ef7959040f864c78a95aa35b author Zhu Yi Tue, 21 Feb 2006 18:41:14 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: Fix radiotap code gcc warning Fix gcc warning: ipw2100.c:2460: ISO C90 forbids mixed declarations and code Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 15745a7dd1ac6bf1ef7959040f864c78a95aa35b tree b9e95a75c83f2d1b5eba9af2a36cc9912e0188ee parent 171e7b2f1f50f112d3ce8a829a3e79c5739b3132 author Stefan Rompf Tue, 21 Feb 2006 18:36:17 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:48 -0500 [PATCH] ipw2100: add radiotap headers to packtes captured in monitor mode Signed-off-by: Stefan Rompf Signed-off-by: Andrea Merello Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 171e7b2f1f50f112d3ce8a829a3e79c5739b3132 tree 31a5b5cb8a0306b1e5469d967365d6d019a9a7f1 parent 71e585fca25c9ccde82196fd1aef78e34312e899 author Zhu Yi Wed, 15 Feb 2006 07:17:56 +0800 committer John W. Linville Fri, 17 Mar 2006 16:14:47 -0500 [PATCH] ipw2x00: expend Copyright to 2006 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71e585fca25c9ccde82196fd1aef78e34312e899 tree 4cb6cf43dcc6f7cae5c0191f0e409b0eb2a72261 parent f44349f2217d05e4575f24edc3c0e0022f5d448f author Adrian Bunk Sat, 11 Mar 2006 04:42:58 +0100 committer John W. Linville Fri, 17 Mar 2006 15:41:20 -0500 [PATCH] drivers/net/wireless/ipw2200.c: fix an array overun This patch fixes a big array overun found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit f44349f2217d05e4575f24edc3c0e0022f5d448f tree 615c789b22164bf4afef198795b75c701936efd6 parent 7c567894480daef05bc13abdc4b9414541e245cb author James Ketrenos Wed, 08 Mar 2006 13:14:45 -0600 committer John W. Linville Fri, 17 Mar 2006 15:38:55 -0500 [PATCH] ieee80211: Don't update network statistics from off-channel packets. This patch fixes a problem in the ieee80211 probe response and beacon reception code that would use the packet statistics for a network even if they were received on a channel other than that which the network exists on. This causes a problem in overlapping channels where, for example, a strong AP on channel 2 could have its beacons received on channels 1 and 3, but at much lower signal levels. If scanning was done sequentially, this means the beacon received on channel 3 would update the AP's signal level as being much lower than it really is, which subsequently could cause that AP to be passed over and an alternate AP selected. Signed-off-by: James Ketrenos Signed-off-by: John W. Linville commit 7c567894480daef05bc13abdc4b9414541e245cb tree 4e9c6f80427eb269914c6aab24cac246e16ca06b parent 9006ea75cfaded82acbc34d03e9d4e86447f40a9 author Zhu Yi Fri, 24 Feb 2006 04:20:48 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Update ipw2200 version stamp to 1.1.1 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9006ea75cfaded82acbc34d03e9d4e86447f40a9 tree a65ca3227d09488495444b9f4d43179c595191c4 parent 651be26f2daf31e61faf4b55ada709cf39ec76a2 author James Ketrenos Wed, 08 Mar 2006 03:22:28 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: switch to the new ipw2200-fw-3.0 image format This patch modifies the driver to support the ipw2200-fw-3.0 image format. The 3.0 fw image does not add any new capabilities, but as a result of image format changes, it should fix two problems experienced by users: 1) Race conditions with the request_firmware interface and udev/hotplug are improved as only a single request_firmware call is now required to load the firmware and microcode (vs. 3 separate calls previously) 2) The monitor mode firmware (sniffer) is now packaged with the correct boot image so it can now function without frequent restarts. Note: Once you apply this patch, you will also need to upgrade your firmware image to the 3.0 version available from: http://ipw2200.sf.net/firmware.php Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 651be26f2daf31e61faf4b55ada709cf39ec76a2 tree cac9bac812d1ecc1f85bce54a2591cab34752627 parent 71de1f3dd14e3e39cef929506a9526779f5a447d author Olivier Hochreutiner Wed, 08 Mar 2006 03:13:55 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: wireless extension sensitivity threshold support The patch allows the user to set the handover threshold, i.e. the number of consecutively missed beacons that will trigger a roaming attempt. The disassociation threshold is set to 3 times the handover threshold. Signed-off-by: Olivier Hochreutiner Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71de1f3dd14e3e39cef929506a9526779f5a447d tree d87676e1eee0670e23a506dc34ec16b615181732 parent 12977154e7cb4d72b1295f009a040c56a7e05d90 author Cahill, Ben M Wed, 08 Mar 2006 03:02:27 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Enables the "slow diversity" algorithm This forces one antenna or the other, if the background noise is significantly quieter in one than the other. It favors the quieter antenna, and won't kick in unless the difference is significant. Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 12977154e7cb4d72b1295f009a040c56a7e05d90 tree 45e0f0d861158c76f37ac8731a100d4dfadadb4e parent 3e1555bae145ab2d079a1823cbdd5c486503d147 author Cahill, Ben M Wed, 08 Mar 2006 02:58:02 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:04 -0500 [PATCH] ipw2200: Set a meaningful silence threshold value Set a meaningful silence threshold value (replacing our previous "0" default), which gets rid of the gratuitous "Link deterioration" notifications that we've been receiving from firmware. This notification feature tells the driver information to help it determine when to pre-emptively restart the firmware/ucode in anticipation of firmware errors! But since setting this new threshold, I haven't seen any such notifications. At least it keeps the logs a little less busy. Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3e1555bae145ab2d079a1823cbdd5c486503d147 tree 2c89fadf472483b76175b7bfc779ce56baed25ca parent 1d1b09eb144e414ade1f44e21852fc60f2cf965b author Zhu Yi Mon, 06 Mar 2006 05:48:37 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 1d1b09eb144e414ade1f44e21852fc60f2cf965b tree bce6f18ed69a27bbcc9d77e96a619ebe66a761c8 parent e815de422c1dc2fe787c6f3edba81f3cf0176e32 author Zhu Yi Thu, 02 Mar 2006 06:40:59 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Change debug level for firmware error logging Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit e815de422c1dc2fe787c6f3edba81f3cf0176e32 tree bf2bd807d9741934872f2f87c24ddefa4095c6bb parent e8c69e27d14a5fb15df9967f8c8ec5978af33ba8 author Zhu Yi Thu, 02 Mar 2006 05:55:51 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Filter unsupported channels out in ad-hoc mode Currently iwlist ethX freq[uency]/channel lists all the channels the card supported for the current region, which includes some channels can only be used in infrastructure mode. This patch filters these channels out if the card is currently in ad-hoc mode. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit e8c69e27d14a5fb15df9967f8c8ec5978af33ba8 tree d428648e976c8844ff68a1328204af14ebb9d20a parent d6d5b5c13e5003c9d33dcdcfdf1febc6efd7d319 author Zhu Yi Fri, 17 Feb 2006 08:25:12 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d6d5b5c13e5003c9d33dcdcfdf1febc6efd7d319 tree d7de88aace32d5be27afcae756c94187fd9f53b2 parent 8da374fc44a5e0fb71a485497cae38eb562d078c author Zhu Yi Thu, 16 Feb 2006 16:21:09 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: Fix rf_kill is activated after mode change with 'disable=1' When loading the ipw2200 module with disabled=1, rf_kill is activated after every mode change. This is caused by ipw_sw_reset() is called when a mode is changed. The patch fixed the problem by distinguishing the purposes with the 'option' paramenter. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8da374fc44a5e0fb71a485497cae38eb562d078c tree 48bec1c7d8f0a2c7bc0ac7e1b5cef5fa3c9a2f6d parent b191608a451e75ed7f979cac268f5f423176feb3 author Zhu Yi Fri, 17 Feb 2006 07:46:16 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:03 -0500 [PATCH] ipw2200: remove the WPA card associates to non-WPA AP checking wpa_supplicant needs to set wpa_enabled unconditionally, with this check it hasn't been possible to connect to non-WPA networks using wpa_supplicant. So remove below check. if (priv->ieee->wpa_enabled && network->wpa_ie_len == 0 && network->rsn_ie_len == 0) Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b191608a451e75ed7f979cac268f5f423176feb3 tree 3f0037006a39d8c8507392bca15b326471fc76a2 parent 9d0be03aeeadcd59bd8f57219817e876a5e88e88 author Bill Moss Wed, 15 Feb 2006 08:50:18 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: Add signal level to iwlist scan output This patch does two things. It uses the parameter IW_QUAL_DBM which is new in WE-19 to cause signal level and noise to be reported in dBm by the wireless tools. It also defines the signal level as an unsigned integer so that the signal level will be reported by iwlist iface scan. Signed-off-by: Bill Moss Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9d0be03aeeadcd59bd8f57219817e876a5e88e88 tree 2b8f12a59c1e2d643c90ecd645ac508a43324eaa parent 85149bace30eae1dc1f86d2c327329673123dd22 author Zhu Yi Wed, 15 Feb 2006 06:18:19 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: use generic ieee80211_get_hdrlen() to get packet length replace ipw2200 specific frame_hdr_len() with generic ieee80211 routine ieee80211_get_hdrlen() Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 85149bace30eae1dc1f86d2c327329673123dd22 tree 53bf83b9b3bde433cc79f82479ba1dab5df5cc85 parent f697014af90c1db3c7b299327bf5a9548945b8bf author Zhu Yi Tue, 14 Feb 2006 16:02:22 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: fix a potential NULL pointer dereference Only on CONFIG_IPW2200_DEBUG is not defined Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit f697014af90c1db3c7b299327bf5a9548945b8bf tree 983fd3e7a6c3c365a78f9d79cfdfd5761b60c7ea parent 48a847709f821b5eecd45ae7660add1869f9cd37 author James Ketrenos Tue, 14 Feb 2006 09:10:51 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: stop netdev queue if h/w doesn't have space for new packets The patch roll back the change we made to support for the ability to start/stop independent Tx queues within a single net device in order to support 802.11e QoS. We need to be able to indicate to the upper layers that packets of a given priority can not be sent any more without halting transmission of all packets, and without rescheduling high priority packets down to the next priority level. So we return NETDEV_TX_BUSY in this case and rely on the stack would take care of rescheduling... which it apparently does immediately and consumes the CPU. This caused the ksoftirqd kernel thread consuming almost all the CPU... To put the code back to the way it was before we made these changes we put the call netif_queue_stop back in ipw_tx_skb. This effectively disables multiple priority based transmit queues for 802.11e, but given that its broken anyway... Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 48a847709f821b5eecd45ae7660add1869f9cd37 tree d119ae07dbaf63a77362307cbb3fbebf6218636e parent 53d0bcf82a5f59c96f1ffb202c02d2541200bf58 author Henrik Brix Andersen Tue, 14 Feb 2006 09:09:52 +0800 committer John W. Linville Fri, 17 Mar 2006 15:08:02 -0500 [PATCH] ipw2200: print geography code upon module load Given the amount of support requests for the meaning of the geography code I've written a patch for printing this information on module load no matter the debug level. I've also added a section to the README.ipw2200 file listing the geography codes and their meaning. Signed-off-by: Henrik Brix Andersen Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 53d0bcf82a5f59c96f1ffb202c02d2541200bf58 tree dd0920c3215300614b67c38ced9d3c919ac333ce parent 1867b117d944ce333e79b9a61c9a048656bee14b author Adrian Bunk Sat, 04 Mar 2006 13:14:31 +0100 committer John W. Linville Fri, 17 Mar 2006 14:16:44 -0500 [PATCH] drivers/net/wireless/ipw2200.c: make ipw_qos_current_mode() static This patch makes the needlessly global function ipw_qos_current_mode() static. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 1867b117d944ce333e79b9a61c9a048656bee14b tree 068a78c91f1cf9f7b491afa08a1877e278cc3beb parent dd288e7d75b9041f79fecae77d61cfa345da7266 author Larry Finger Tue, 28 Feb 2006 09:48:28 -0600 committer John W. Linville Fri, 17 Mar 2006 14:01:34 -0500 [PATCH] Remove duplicated code from ipw2200.c As stated in a comment, the ipw2200 driver uses several routines that were borrowed from ieee80211_geo.c. As ipw2200 requires ieee80211, these routines are duplicated. The attached patch, which is sent as an attachment to preserve whitespace, converts ipw2200.c to use the ieee80211 versions, thereby reducing bloat in both the source and binary. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit b2fc6ad01beb550f75457b7d811ff84dc81b210b tree 774fa729730145510f45bc6af3c5c487b50c3202 parent fac80cce0ecc6b10ae165af5b6b9b03151083044 author Nathan Scott Fri, 17 Mar 2006 17:30:01 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:30:01 +1100 [XFS] remove bogus INT_GET for u8 variables in xfs_dir_leaf.c SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25506a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit fac80cce0ecc6b10ae165af5b6b9b03151083044 tree d5347c45ef0ede4e6f79c1bf6fc17df9592be0d4 parent 403432dcb5daa03c1f1c961adb7d2a5daebea94b author Nathan Scott Fri, 17 Mar 2006 17:29:56 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:56 +1100 [XFS] endianess annotations for xfs_da_node_hdr_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25505a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 403432dcb5daa03c1f1c961adb7d2a5daebea94b tree 0298d12d14f777d06e3588dade78efbde2e5bb88 parent d7929ff670c802dc68d6149d3d0cc5667e18daec author Nathan Scott Fri, 17 Mar 2006 17:29:46 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:46 +1100 [XFS] endianess annotations for xfs_da_node_entry_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25504a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d7929ff670c802dc68d6149d3d0cc5667e18daec tree 1232bb9dbf70e2cf814e7c6663700c2e9089503f parent 984a081a7c89ea7e1b6f47cbc0e5c8ef67ad6e09 author Nathan Scott Fri, 17 Mar 2006 17:29:36 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:36 +1100 [XFS] store xfs_attr_inactive_list_t in native endian SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25503a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 984a081a7c89ea7e1b6f47cbc0e5c8ef67ad6e09 tree 3f2a268952942567ccb43e1386644aa22a2cf5b2 parent 3b244aa81ecb06859e0c16abf4c26404c1d86591 author Nathan Scott Fri, 17 Mar 2006 17:29:31 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:31 +1100 [XFS] store xfs_attr_sf_sort in native endian SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25502a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 3b244aa81ecb06859e0c16abf4c26404c1d86591 tree 35a78ae82d8a183c72da8f579479bc2caa6d3bc0 parent c0f054e7a44b4bbed8e16dd459f33df63dad98ef author Nathan Scott Fri, 17 Mar 2006 17:29:25 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:25 +1100 [XFS] endianess annotations for xfs_attr_shortform_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25501a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit c0f054e7a44b4bbed8e16dd459f33df63dad98ef tree 6f4a5a60848376d5e3d5f4569036f4d9a8f46fdf parent 053b5758cbc096a3f718858f4da9341afbc56b7d author Nathan Scott Fri, 17 Mar 2006 17:29:18 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:18 +1100 [XFS] endianess annotations for xfs_attr_leaf_name_remote_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25500a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 053b5758cbc096a3f718858f4da9341afbc56b7d tree ce1d02f5d419e00f4b65c5fc73934e1f0b9c26a8 parent 6b19f2d87da9908acf1e0f48b4e79cf8bc833811 author Nathan Scott Fri, 17 Mar 2006 17:29:09 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:09 +1100 [XFS] endianess annotations for xfs_attr_leaf_name_local_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25499a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 6b19f2d87da9908acf1e0f48b4e79cf8bc833811 tree 532199e785a22b41a046ff6e5b2a9d99d3eb566a parent 918ae424e18666249cf32f16ba2803061bf1ebb7 author Nathan Scott Fri, 17 Mar 2006 17:29:02 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:29:02 +1100 [XFS] endianess annotations for xfs_attr_leaf_entry_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25498a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 918ae424e18666249cf32f16ba2803061bf1ebb7 tree 6a2d6c00a53480b6848245e653635f8152669633 parent 8f44e047a044df613bbc29837b9556e0c2e42e6b author Nathan Scott Fri, 17 Mar 2006 17:28:54 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:54 +1100 [XFS] endianess annotations for xfs_attr_leaf_hdr_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25497a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 8f44e047a044df613bbc29837b9556e0c2e42e6b tree b995226d8674962f013407cfcd163f8f1e0d8365 parent 89da054424a775b4b257556eda8a300be1134d7c author Nathan Scott Fri, 17 Mar 2006 17:28:47 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:47 +1100 [XFS] remove bogus INT_GET on u8 variables in xfs_dir2_block.c SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25496a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 89da054424a775b4b257556eda8a300be1134d7c tree b7a6d19ee5baaebf2794271dabaf0f59d44f9fa6 parent 3d693c6ed7892d066e8fb3311c6b74f7699326f9 author Nathan Scott Fri, 17 Mar 2006 17:28:40 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:40 +1100 [XFS] endianess annotations for xfs_da_blkinfo_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25495a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 3d693c6ed7892d066e8fb3311c6b74f7699326f9 tree 98cbbe6e0bbdbd775e990bad6a5822904f32aa19 parent 3c1f9c158050259cf3965cf900916ec49a288972 author Nathan Scott Fri, 17 Mar 2006 17:28:27 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:27 +1100 [XFS] endianess annotations for XFS_DIR2_DATA_ENTRY_TAG_P SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25494a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 3c1f9c158050259cf3965cf900916ec49a288972 tree 0d013a43a58156b0ae97ca50a4405a5fc5d9a61d parent a818e5de7e21ddaa7352bb8c9fc785c7b4f3019f author Nathan Scott Fri, 17 Mar 2006 17:28:18 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:18 +1100 [XFS] endianess annotations for xfs_dir2_leaf_entry_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25493a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit a818e5de7e21ddaa7352bb8c9fc785c7b4f3019f tree 9e2e3f03be8c9b065e019999a66b6d85d7a74f5e parent e922fffa4188ef6207cd3afef7f4d33bf4a9ca64 author Nathan Scott Fri, 17 Mar 2006 17:28:07 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:28:07 +1100 [XFS] endianess annotations for xfs_dir2_leaf_hdr_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25492a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit e922fffa4188ef6207cd3afef7f4d33bf4a9ca64 tree 8943e3d4e7113bb8fba85ce7de937138ebe1b6da parent 1fba9f7fe2164553557e26583e6feb5299cf9f76 author Nathan Scott Fri, 17 Mar 2006 17:27:56 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:56 +1100 [XFS] endianess annotations for xfs_dir2_block_tail_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25491a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 1fba9f7fe2164553557e26583e6feb5299cf9f76 tree 3504af3f9bb748f53683be1fc8f317e7b14ba5dc parent ad354eb34eb354eedc483d1e89e17710165bd2db author Nathan Scott Fri, 17 Mar 2006 17:27:47 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:47 +1100 [XFS] endianess annotations for XFS_DIR2_DATA_UNUSED_TAG_P SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25490a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit ad354eb34eb354eedc483d1e89e17710165bd2db tree aa7977517a3f516c81cf162bd62d7f84749a3138 parent afbcb3f91903bcd34d470efe64b3738257178667 author Nathan Scott Fri, 17 Mar 2006 17:27:37 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:37 +1100 [XFS] endianess annotations for xfs_dir2_data_unused_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25489a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit afbcb3f91903bcd34d470efe64b3738257178667 tree e2dbfefdd7c711e8335079096c0f4f713a28630e parent 68b3a1024a7cda4afaacb3d25e6ac234ddfc0834 author Nathan Scott Fri, 17 Mar 2006 17:27:28 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:28 +1100 [XFS] endianess annotations for xfs_dir2_leaf_tail_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25487a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 68b3a1024a7cda4afaacb3d25e6ac234ddfc0834 tree 5f3e54a1d961b32e516e4e539266f6c8b36d8729 parent 0ba962ef7128d9276b8f95196382d5b9e2ad841d author Nathan Scott Fri, 17 Mar 2006 17:27:19 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:19 +1100 [XFS] endianess annotations for XFS_DIR2_LEAF_BESTS_P SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25486a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 0ba962ef7128d9276b8f95196382d5b9e2ad841d tree cce64b0b25696619c3060eba63c4d31ad00c12d3 parent 70e73f59755867383edf563d5a5cbea614c0fd49 author Nathan Scott Fri, 17 Mar 2006 17:27:07 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:27:07 +1100 [XFS] endianess annotations for xfs_dir2_free_hdr_t SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25485a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 70e73f59755867383edf563d5a5cbea614c0fd49 tree 6850f22b47754078b1695aad1ade7bf9705dc52a parent 9cea236492ebabb9545564eb039aa0f477a05c96 author Nathan Scott Fri, 17 Mar 2006 17:26:52 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:52 +1100 [XFS] endianess annotations for xfs_dir2_data_hdr structure. SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25484a Signed-off-by: Nathan Scott commit 9cea236492ebabb9545564eb039aa0f477a05c96 tree 9d2b0a5f82bb356ae1d74c6c0d71ead95186df10 parent ce9d37c257ceba5b4d089c544e4673546f647565 author Nathan Scott Fri, 17 Mar 2006 17:26:41 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:41 +1100 [XFS] Flush and invalidate dirty pages at the start of a direct read also, else we can hit a delalloc-extents-via-direct-io BUG. SGI-PV: 949916 SGI-Modid: xfs-linux-melb:xfs-kern:25483a Signed-off-by: Nathan Scott commit ce9d37c257ceba5b4d089c544e4673546f647565 tree 20202556fc940c1b216cd8461258c6c25db1c0f8 parent 238f4c5468656e3e8b1d39d75c1e4fd73592c1ea author Nathan Scott Fri, 17 Mar 2006 17:26:34 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:34 +1100 [XFS] Merge Yingpings fix for a vn_count assert failure during QA - another ENOSPC condition. SGI-PV: 950784 SGI-Modid: xfs-linux-melb:xfs-kern:25482a Signed-off-by: Nathan Scott commit 238f4c5468656e3e8b1d39d75c1e4fd73592c1ea tree bf1693981be95da7c05ff1cf3133582ef9d7008c parent a13828b167532a2145c9e3f563a99f810500c7b4 author Nathan Scott Fri, 17 Mar 2006 17:26:25 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:25 +1100 [XFS] Make couple names consitent, be more defensive on releasepage (and prep for nobh, someday, maybe). SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25481a Signed-off-by: Nathan Scott commit a13828b167532a2145c9e3f563a99f810500c7b4 tree 77f86814197582a070a811ff06442ff5603a601a parent b12dd34298cf0cff9f337f667045335140873039 author Nathan Scott Fri, 17 Mar 2006 17:26:14 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:14 +1100 [XFS] Cleanup references to i_sem. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25480a Signed-off-by: Nathan Scott commit b12dd34298cf0cff9f337f667045335140873039 tree 0f2ef353bc17f247e538a28137a0a3f8ad3b5e0e parent 2ddd5928d01ca8eb49f55166411b64a5844a8959 author Nathan Scott Fri, 17 Mar 2006 17:26:04 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:26:04 +1100 [XFS] Fix an infinite loop issue in bulkstat when a corrupt inode is detected. Thanks to Roger Willcocks. SGI-PV: 951054 SGI-Modid: xfs-linux-melb:xfs-kern:25477a Signed-off-by: Nathan Scott commit 2ddd5928d01ca8eb49f55166411b64a5844a8959 tree c98abcc5f70ca263ba98c33f6020bcc399c866ca parent ec86dc02fdc062d0d298814b1e78b482ab38caf7 author Nathan Scott Fri, 17 Mar 2006 17:25:46 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:25:46 +1100 [XFS] Correct the dquot reservation component for the link transation. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25476a Signed-off-by: Nathan Scott commit ec86dc02fdc062d0d298814b1e78b482ab38caf7 tree 2746adfa5471f7026cdd5a9ba4c4853de6795256 parent 8867bc9bf0aed7181aa72c7c938c6ce830b75166 author Nathan Scott Fri, 17 Mar 2006 17:25:36 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:25:36 +1100 [XFS] Complete transition away from linvfs naming convention, finally. SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:25474a Signed-off-by: Nathan Scott commit 8867bc9bf0aed7181aa72c7c938c6ce830b75166 tree ae2dcc3a986e4e48fd81605f109be44c29362edd parent 524fbf5dd1b25acffe6f8a4ed5f3cce1023cfdb8 author Mandy Kirkconnell Fri, 17 Mar 2006 17:25:04 +1100 committer Nathan Scott Fri, 17 Mar 2006 17:25:04 +1100 [XFS] There are a few problems with the new xfs_bmap_search_multi_extents() wrapper function that I introduced in mod xfs-linux:xfs-kern:207393a. The function was added as a wrapper around xfs_bmap_do_search_extents() to avoid breaking the top-of-tree CXFS interface. The idea of the function was basically to extract the target extent buffer (if muli- level extent allocation mode), then call xfs_bmap_do_search_extents() with either a pointer to the first extent in the target buffer or a pointer to the first extent in the file, depending on which extent mode was being used. However, in addition to locating the target extent record for block bno, xfs_bmap_do_search_extents() also sets four parameters needed by the caller: *lastx, *eofp, *gotp, *prevp. Passing only the target extent buffer to xfs_bmap_do_search_extents() causes *eofp to be set incorrectly if the extent is at the end of the target list but there are actually more extents in the next er_extbuf. Likewise, if the extent is the first one in the buffer but NOT the first in the file, *prevp is incorrectly set to NULL. Adding the needed functionality to xfs_bmap_search_multi_extents() to re-set any incorrectly set fields is redundant and makes the call to xfs_bmap_do_search_extents() not make much sense when multi-level extent allocation mode is being used. This mod basically extracts the two functional components from xfs_bmap_do_search_extents(), with the intent of obsoleting/removing xfs_bmap_do_search_extents() after the CXFS mult-level in-core extent changes are checked in. The two components are: 1) The binary search to locate the target extent record, and 2) Setting the four parameters needed by the caller (*lastx, *eofp, *gotp, *prevp). Component 1: I created a new function in xfs_inode.c called xfs_iext_bno_to_ext(), which executes the binary search to find the target extent record. xfs_bmap_search_multi_extents() has been modified to call xfs_iext_bno_to_ext() rather than xfs_bmap_do_search_extents(). Component 2: The parameter setting functionality has been added to xfs_bmap_search_multi_extents(), eliminating the need for xfs_bmap_do_search_extents(). These changes make the removal of xfs_bmap_do_search_extents() trival once the CXFS changes are in place. They also allow us to maintain the current XFS interface, using the new search function introduced in mod xfs-linux:xfs-kern:207393a. SGI-PV: 928864 SGI-Modid: xfs-linux-melb:xfs-kern:207866a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit 2c276603c3e5ebf38155a9d1fbbda656d52d138e tree 8f382336491425b0efef4a00b77c81f89ce8cd46 parent 9b15879aefe6a4c2236297df68c46498af26143d author Michael Ellerman Thu, 16 Mar 2006 14:47:20 +1100 committer Paul Mackerras Fri, 17 Mar 2006 13:28:24 +1100 [PATCH] powerpc: Fix bug in bug fix for bug in lmb_alloc() My patch (d7a5b2ffa1352f0310630934a56aecbdfb617b72) to always panic if lmb_alloc() fails is broken because it checks alloc < 0, but should be checking alloc == 0. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 9b15879aefe6a4c2236297df68c46498af26143d tree 63eab60561e6f6d79ba53e02d9f7e64971367fb4 parent 898b1920a67048c1f38bb99777f4cff06380a59a author Christoph Hellwig Wed, 15 Mar 2006 11:30:44 +0100 committer Paul Mackerras Fri, 17 Mar 2006 13:28:08 +1100 [PATCH] spidernet: select FW_LOADER The spidernet drivers uses request_firmware() and thus needs to select FW_LOADER. Signed-off-by: Christoph Hellwig Signed-off-by: Paul Mackerras commit 898b1920a67048c1f38bb99777f4cff06380a59a tree e7624f64f7bdc829a2f5c14f886d7e326f1a4ced parent bbbe1212bd6f815290f782ba5b489467b54131dc author Grant Likely Thu, 09 Mar 2006 23:36:40 -0700 committer Paul Mackerras Fri, 17 Mar 2006 13:28:03 +1100 [PATCH] Fix compile error for ML300/403 Needed due to changes in ppc_sys.c. Signed-off-by: Grant Likely Signed-off-by: Paul Mackerras commit bbbe1212bd6f815290f782ba5b489467b54131dc tree 3964aa125e7039ff005779d0ba88205d1f9e5f3c parent 7e5b59384eebe35bff8429243f089931ce1cdf38 author Adrian Cox Wed, 08 Mar 2006 22:10:20 +0000 committer Paul Mackerras Fri, 17 Mar 2006 13:23:21 +1100 [PATCH] ppc: Fix platform_notify functions marked __init While adding USB support to an MV64360 based board this week, I discovered that all MV64x60 boards in the kernel have platform_notify functions marked with __init. This causes an oops if a device is added after boot. The patch below removes the __init markers. I do not have all these boards to test on, but the change seems very unlikely to break anything else. Signed-off-by: Adrian Cox Signed-off-by: Paul Mackerras commit 7e5b59384eebe35bff8429243f089931ce1cdf38 tree b4d4ecdb96c26eed704bc4ea254348b268a1717a parent e33852228f74b8ccbed8595083bb725b70902ed7 author Olaf Hering Wed, 08 Mar 2006 20:40:28 +0100 committer Paul Mackerras Fri, 17 Mar 2006 13:22:33 +1100 [PATCH] powerpc: add a raw dump command to xmon Dump a stream of rawbytes with a new 'dr' command. Produces less output and it is simpler to feed the output to scripts. Also, dr has no dumpsize limits. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit e33852228f74b8ccbed8595083bb725b70902ed7 tree a73484a589b2d2f20d82f591d823b98a021cd4b1 parent d116fe5aeafd8226712d2de9c69428725ca74474 author Christoph Hellwig Wed, 08 Mar 2006 16:47:00 +0100 committer Paul Mackerras Fri, 17 Mar 2006 13:21:09 +1100 [PATCH] powerpc: add for_each_node_by_foo helpers Typical use for of_find_node_by_name and of_find_node_by_type is to iterate over all nodes of a given type/name. Add a helper macro to do that (in spirit of the list_for_each* macros). Signed-off-by: Christoph Hellwig Signed-off-by: Paul Mackerras commit d116fe5aeafd8226712d2de9c69428725ca74474 tree 5c65b1b18d495ac9d16e875a7a4f99863ffe0edb parent 0f6be7b77ceaea01a35b37fab26f4ea3b01efe14 author Eric Sesterhenn Mon, 06 Mar 2006 21:13:32 +0100 committer Paul Mackerras Fri, 17 Mar 2006 13:20:57 +1100 [PATCH] kzalloc() conversion in arch/ppc This converts arch/ppc to kzalloc usage. Crosscompile tested with allyesconfig. Signed-off-by: Eric Sesterhenn Signed-off-by: Paul Mackerras commit 0f6be7b77ceaea01a35b37fab26f4ea3b01efe14 tree a8e8cf9dd90f6778fa29879fee40d04a55cd9b4f parent 23dd64011285010ac291f7dddf6e287bdb43a0ad author David Gibson Mon, 06 Mar 2006 12:51:29 +1100 committer Paul Mackerras Fri, 17 Mar 2006 13:20:40 +1100 [PATCH] powerpc: Better pmd_bad() and pud_bad() checks At present, the powerpc pmd_bad() and pud_bad() macros return false unless the given pmd or pud is zero. This patch makes these tests more thorough, checking if the given pmd or pud looks like a plausible pte page or pmd page pointer respectively. This can result in helpful error messages when messing with the pagetable code. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 23dd64011285010ac291f7dddf6e287bdb43a0ad tree 0e4f4569d38d82f4dceb4150d5ad940e0fd5f24f parent 516450179454de9e689e0a53ed8f34b896e8651c parent 485ff09990416c75ae9593ddc71619939ab9dd51 author Paul Mackerras Fri, 17 Mar 2006 12:01:19 +1100 committer Paul Mackerras Fri, 17 Mar 2006 12:01:19 +1100 Merge ../linux-2.6 commit abc71c46dc0a12ab7fddc18cfe4f4aa26808c79b tree b0c846052b994d57d58713a0cc8da30a22baaf1c parent 30dcbf29cc6d92d70fa262e79e84011fe6913bed parent 232a347a444e687b5f8cf0f6485704db1c6024d3 author Jeff Garzik Thu, 16 Mar 2006 19:27:08 -0500 committer Jeff Garzik Thu, 16 Mar 2006 19:27:08 -0500 Merge branch 'upstream-fixes' commit c39f5ebe0a542caab30c88e60623709c7bc6fe30 tree 12e0d5500a6d400a077f3f437cc71a93353dea4a parent 1148c3a78aa9f1e84229cd17f94fd38a15ca65bd author Tejun Heo Mon, 13 Mar 2006 19:51:19 +0900 committer Jeff Garzik Thu, 16 Mar 2006 19:22:57 -0500 [PATCH] libata: move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() Move IDENTIFY info printing from ata_dev_read_id() to ata_dev_configure() and print only if @print_info is non-zero. This kills duplicate IDENTIFY info printing during probing. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1148c3a78aa9f1e84229cd17f94fd38a15ca65bd tree c9457d928ad25530dc80261966e1045c3de8d89d parent 6e48f1b763ab1115a58c86684153635050155387 author Tejun Heo Mon, 13 Mar 2006 19:48:04 +0900 committer Jeff Garzik Thu, 16 Mar 2006 19:22:57 -0500 [PATCH] libata: use local *id instead of dev->id in ata_dev_configure() dev->id is used many times in ata_dev_configure(). Use local variable id instead for shorter notation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6e48f1b763ab1115a58c86684153635050155387 tree b75b8ecc07f5af47d6f03f25c7782e4c6d58523e parent fb21f0d0ec7e31cc814165e1a9d2662d9c9dd980 parent 485ff09990416c75ae9593ddc71619939ab9dd51 author Jeff Garzik Thu, 16 Mar 2006 19:22:42 -0500 committer Jeff Garzik Thu, 16 Mar 2006 19:22:42 -0500 Merge branch 'master' commit 9e7714d08061a77d3d2ec9a6ef6fd571a534fc7f tree e279d51b007c5f3d6b4cf157c1fada7ea7fe39da parent 243f196d572822214bb86522f28b30e096d67414 author Catalin Marinas Thu, 16 Mar 2006 14:10:20 +0000 committer Russell King Thu, 16 Mar 2006 14:10:20 +0000 [ARM] 3367/1: CLCD mode no longer supported on the RealView boards Patch from Catalin Marinas Chosing of the CLCD RGB mode is no longer possible via the SYS_CLCD register on the RealView boards. Instead, this configuration is done in the CLCD primecell control register directly. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 243f196d572822214bb86522f28b30e096d67414 tree 37043d91a1091b085de2f33ddd40418d3152372d parent 5466eb5d0ad5e9d4238da71a2a9bd216985a4849 author Catalin Marinas Thu, 16 Mar 2006 14:10:19 +0000 committer Russell King Thu, 16 Mar 2006 14:10:19 +0000 [ARM] 3366/1: Allow the 16bpp mode configuration in the CLCD control register Patch from Catalin Marinas Starting with PL111, the 5551 or 565 modes can be configured in the primecell's control register directly. This patch detects the required mode and sets the correct value. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit dd288e7d75b9041f79fecae77d61cfa345da7266 tree 85ff1d1ea0fe1d6eae0b6819422d5c6c05f862cd parent 30dcbf29cc6d92d70fa262e79e84011fe6913bed parent 72df16f109b73be37977a26d342e9103e8851cb6 author John W. Linville Wed, 15 Mar 2006 17:02:08 -0500 committer John W. Linville Wed, 15 Mar 2006 17:02:08 -0500 Merge branch 'upstream-fixes' commit 55be062d2d6397e6f24f3b91608917e9e84206d7 tree dd996b25f1a9d21dd4c775ab3a8adb0fe85034d5 parent 823f8dd17778ba0993c56173505eea921b7859b4 author Jesse Brandeburg Wed, 15 Mar 2006 12:18:13 -0800 committer Jesse Brandeburg Wed, 15 Mar 2006 12:18:13 -0800 e1000: update the readme with the latest text The text of the e1000.txt file is a little stale, lets freshen it up. (update) removed some non-kernel specific text Signed-off-by: Jesse Brandeburg commit 823f8dd17778ba0993c56173505eea921b7859b4 tree 942caa10f642c64dab1c5f7cedffe7cbe4faaf0e parent add18784390e68a43f2c81110654e86c29be5947 author Jesse Brandeburg Tue, 14 Mar 2006 15:51:07 -0800 committer Jesse Brandeburg Tue, 14 Mar 2006 15:51:07 -0800 e100: update e100.txt Signed-off-by: Jesse Brandeburg commit c5111f504d2a9b0d258d7c4752b4093523315989 tree 6a52864aff79691689aea21cb0cb928327d5de5b parent 69eb66d7da7dba2696281981347698e1693c2340 parent a488edc914aa1d766a4e2c982b5ae03d5657ec1b author Dave Kleikamp Tue, 14 Mar 2006 17:05:45 -0600 committer Dave Kleikamp Tue, 14 Mar 2006 17:05:45 -0600 Merge with /home/shaggy/git/linus-clean/ commit 95e6a856772413993f54916ca9bf21ccfa6a537e tree ab2b6293fe3978603ff4af70be2e6516d3418fd5 parent a50a5e3792a6c65f95dab547dba45608bd193404 author Andrew Vasquez Tue, 14 Mar 2006 14:41:04 -0800 committer James Bottomley Tue, 14 Mar 2006 17:05:32 -0600 [SCSI] qla2xxx: update MAINTAINERS Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit add18784390e68a43f2c81110654e86c29be5947 tree 5ae00933c47d6e20a8e526c07c3e36d97bec4ec5 parent a488edc914aa1d766a4e2c982b5ae03d5657ec1b author Jesse Brandeburg Tue, 14 Mar 2006 14:52:13 -0800 committer Jesse Brandeburg Tue, 14 Mar 2006 14:52:13 -0800 e100/e1000/ixgb: update MAINTAINERS to current developers Remove Ganesh, add Jeff and Jesse Signed-off-by: Jesse Brandeburg commit a50a5e3792a6c65f95dab547dba45608bd193404 tree d402d0d9e53bb8c37a4a96f5b1d168a27cfaaaee parent 9dec70e053613c31e8feab9e14607eaaed99d77c author Mike Anderson Tue, 14 Mar 2006 11:18:46 -0800 committer James Bottomley Tue, 14 Mar 2006 14:36:00 -0600 [SCSI] scsi: move target_destroy call This patch moves the calling of target_destroy next to the list_del. This closed a race being seen while doing a device add on the aic7xxx. Signed-off-by: Mike Anderson Signed-off-by: James Bottomley commit 9dec70e053613c31e8feab9e14607eaaed99d77c tree fa3506f25f8ad164ff486eafebc189c2967de754 parent e6b2d76a49f0ee48527691867d8af2b8f9c10452 author Moore, Eric Tue, 14 Mar 2006 09:14:26 -0700 committer James Bottomley Tue, 14 Mar 2006 14:35:34 -0600 [SCSI] fusion - bump version version bump Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit e6b2d76a49f0ee48527691867d8af2b8f9c10452 tree 8f35dda5dcf65ccc740761c96924111baf0a8644 parent f44e5461d919a344d44f7ca4f06cf8d169da8454 author Moore, Eric Tue, 14 Mar 2006 09:14:24 -0700 committer James Bottomley Tue, 14 Mar 2006 14:35:17 -0600 [SCSI] fusion - expander hotplug suport in mptsas module This adds support for hot adding and removing expanders, and its associated attached devices. When there is a change in topology, the fusion firmware sends the MPI_EVENT_SAS_DISCOVERY event to the driver. The driver will read firmware config pages to determine what changes took place, and refresh drivers view of the world stored in ioc->sas_topology. Here is the details of the action the driver does: (1) Expander Added : The mptsas_discovery_work workqueue is called. Config pages read, and ioc->sas_topology is refreshed. The sas_phy_add() is called for each phy of the expander. The expanders attached devices are added via sas_rphy_add(). Added end devices are handled within the MPT_ADD_DEVICE logic in mptsas_hotplug_work workqueue. (2) Expander Delete : The sas_rphy_delete() will be called for the top most compenent of the parent that the expander is attached to. The sas_rphy_delete call will delete all the children phys, rphys, and end devices. This is handled from mptsas_discovery_work workqueue. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f44e5461d919a344d44f7ca4f06cf8d169da8454 tree 9d2d140b44954b41e3b439f098f40643216d529f parent db9c9174e42bdc8d52bc18df7c55823cf4546eda author Moore, Eric Tue, 14 Mar 2006 09:14:21 -0700 committer James Bottomley Tue, 14 Mar 2006 14:35:01 -0600 [SCSI] fusion - exposing raid components in mptsas Suppport for exposing hidden raid components for sg interface. The sdev->no_uld_attach flag will set set accordingly. The sas module supports adding/removing raid volumes using online storage management application interface. This patch rely's on patch's provided to me by Christoph Hellwig, that exports device_reprobe. I will post those patch's on behalf of Christoph. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit db9c9174e42bdc8d52bc18df7c55823cf4546eda tree 8201685d53ccbd694cf706762d098716ec5f4b8b parent 52435430fc8724f09ad0e917eddf677583cdd45c author Moore, Eric Tue, 14 Mar 2006 09:14:18 -0700 committer James Bottomley Tue, 14 Mar 2006 14:34:45 -0600 [SCSI] fusion - memory leak, and initializing fields Changelog: (1) fix memory leak: p->phy_info (2) initialize device_info and port_info data fields (3) initialize the hba firmware handle (4) initialize phy_id for attached phy_info data fields (5) initialize attached phy_info data fields Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 52435430fc8724f09ad0e917eddf677583cdd45c tree 865e57f1088e3f7a4bc0f7e01c93f51ee704d9a5 parent 4b766471e388352f35a6171563dfc0d272f12b59 author Moore, Eric Tue, 14 Mar 2006 09:14:15 -0700 committer James Bottomley Tue, 14 Mar 2006 14:34:25 -0600 [SCSI] fusion - exclosure misspelled exclosure should be enclosure Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 4b766471e388352f35a6171563dfc0d272f12b59 tree 8b143cdbd379a7eaeadedbf237da92c90f031667 parent 914c2d8e597798d62c2e0a3cba737bf6f611eecf author Moore, Eric Tue, 14 Mar 2006 09:14:12 -0700 committer James Bottomley Tue, 14 Mar 2006 14:34:08 -0600 [SCSI] fusion - cleanup mptsas event handling functions Cleanup of mptsas firmware event handlers. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 914c2d8e597798d62c2e0a3cba737bf6f611eecf tree 7973421cd5cc7ecd644c6c304580a93e42cec244 parent c972c70fa03097be4235fc441658290a3b7af06f author Moore, Eric Tue, 14 Mar 2006 09:19:36 -0700 committer James Bottomley Tue, 14 Mar 2006 14:33:38 -0600 [SCSI] fusion - removing target_id/bus_id from the VirtDevice structure It makes no sense in keeping the target_id and bus_id in the VirtDevice structure, when it can be obtained from the VirtTarget structure. In addition, this patch fix's couple compilation bugs in mptfc.c when MPT_DEBUG_FC is enabled. This provided by Micheal Reed. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit c972c70fa03097be4235fc441658290a3b7af06f tree 16cc86cd334fc11422f133504cd3c38fdebe1223 parent 3a892bef3f7e94c4d6c2c20b9a1b546f43679fd3 author Moore, Eric Tue, 14 Mar 2006 09:14:06 -0700 committer James Bottomley Tue, 14 Mar 2006 14:33:18 -0600 [SCSI] fusion - static fix's Patch previously provided from Adrian Bunk , moving some functions to static. This is already in the -mm tree. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 3a892bef3f7e94c4d6c2c20b9a1b546f43679fd3 tree 5777985afb6a2bbfef93ef60b8952f41612b7396 parent 5bf52c4fda97325976ffaf338d2e81b73b3db446 author Moore, Eric Tue, 14 Mar 2006 09:14:03 -0700 committer James Bottomley Tue, 14 Mar 2006 14:27:43 -0600 [SCSI] fusion - move some debug firmware event debug msgs to verbose level Created a debug level MPT_DEBUG_VERBOSE_EVENTS. Moving some of the more vebose debug messages for firwmare events into new debug level. Also added some more firmware events descriptions. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 5bf52c4fda97325976ffaf338d2e81b73b3db446 tree 8f04d0c5e504571d1aaacfbd2d337d9dd9c1aae4 parent e28482c5b24006e9e4a867f9995baf358cbc1059 author Moore, Eric Tue, 14 Mar 2006 09:14:01 -0700 committer James Bottomley Tue, 14 Mar 2006 14:27:21 -0600 [SCSI] fusion - loginfo header update This header is provided to better understand loginfo codes returned by the mpt fusion firmware. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit e28482c5b24006e9e4a867f9995baf358cbc1059 tree 87a21e0d1df72f8809625a2161f39ea07c51340b parent e5b3a65fd7244e662691cf617145983ecde28cc9 author James Bottomley Tue, 14 Mar 2006 14:24:55 -0600 committer James Bottomley Tue, 14 Mar 2006 14:24:55 -0600 [SCSI] add scsi_reprobe_device Original from Christoph Hellwig and Eric Moore. This version exports the scsi_reprobe_device() function as an inline. Signed-off-by: James Bottomley commit e5b3a65fd7244e662691cf617145983ecde28cc9 tree dc46a5a1767897cc87ead1efcd6bcb9f9bf2524a parent f33b5d783b4f56be5ace6a1c98fb5f76b2d2d07d author Christoph Hellwig Fri, 10 Mar 2006 17:08:57 +0100 committer James Bottomley Tue, 14 Mar 2006 14:18:51 -0600 [SCSI] megaraid_sas: fix extended timeout handling Replace the eh_timed_out method usage with setting sdev->timeout in slave_configure. Also only use the extended timeout for raid volumes, physical devices shouldn't need it. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit f33b5d783b4f56be5ace6a1c98fb5f76b2d2d07d tree b027b5f3429d416b3da5b9195024007dab062a5e parent e935d5da8e5d12fabe5b632736c50eae0427e8c8 parent 67963132638e67ad3c5aa16765e6f3f2f3cdd85c author James Bottomley Tue, 14 Mar 2006 14:18:01 -0600 committer James Bottomley Tue, 14 Mar 2006 14:18:01 -0600 Merge ../linux-2.6 commit e935d5da8e5d12fabe5b632736c50eae0427e8c8 tree 8045ffcaa659365ed1d844e7704b92810660c8b1 parent 79cb1819e231f811211133a09a5382cb89d7ec67 author Moore, Eric Tue, 14 Mar 2006 09:18:18 -0700 committer James Bottomley Tue, 14 Mar 2006 12:50:44 -0600 [SCSI] drivers/base/bus.c - export reprobe Adding support for exposing hidden raid components for sg interface. The sdev->no_uld_attach flag will set set accordingly. The sas module supports adding/removing raid volumes using online storage management application interface. This patch was provided to me by Christoph Hellwig. Signed-off-by: Eric Moore Signed-off-by: Greg Kroah-Hartman Signed-off-by: James Bottomley commit 79cb1819e231f811211133a09a5382cb89d7ec67 tree 2bc36e3165fe15614283f628e825e9320ca7ab8e parent c829c394165f981d49f05a9be228404d7a9398d4 author James Bottomley Mon, 13 Mar 2006 13:50:04 -0600 committer James Bottomley Tue, 14 Mar 2006 12:36:19 -0600 [SCSI] add preliminary expander support to the sas transport class This patch makes expanders appear as labelled objects with properties in the SAS tree. I've also modified the phy code to make expander phys appear labelled by host number, expander number and phy index. So, for my current config, you see something like this in sysfs: /sys/class/scsi_host/host1/device/phy-1:4/expander-1:0/phy-1-0:12/rphy-1:0-12/target1:0:1 And the expander properties are: jejb@sparkweed> cd /sys/class/sas_expander/expander-1\:0/ jejb@sparkweed> for f in *; do echo -n $f ": "; cat $f; done component_id : 29024 component_revision_id : 4 component_vendor_id : VITESSE device : cat: device: Is a directory level : 0 product_id : VSC7160 Eval Brd product_rev : 4 uevent : cat: uevent: Permission denied vendor_id : VITESSE Signed-off-by: James Bottomley commit 524fbf5dd1b25acffe6f8a4ed5f3cce1023cfdb8 tree 5ab5ccf5f4c4f5b15306e8d6b1417d3ff192c700 parent f30a1211119741d2c1063ad613bec8434fb9d099 author Nathan Scott Tue, 14 Mar 2006 14:07:53 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:07:53 +1100 [XFS] Revert kiocb and vattr stack changes, theory is the AIO rework will help here and vattr may be small enough. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25423a Signed-off-by: Nathan Scott commit f30a1211119741d2c1063ad613bec8434fb9d099 tree 712d1b9de569682233951b0704d977526d81e367 parent f020b67f3c0c071ed5b2281bfa717125c8a39ad6 author Nathan Scott Tue, 14 Mar 2006 14:07:36 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:07:36 +1100 [XFS] Dynamically allocate the xfs_dinode_core_t structure to reduce our stack footprint in xfs_ialloc_ag_alloc. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25420a Signed-off-by: Nathan Scott commit f020b67f3c0c071ed5b2281bfa717125c8a39ad6 tree 84cb03ab100ff95a7f02b671947bbbca3cfddad8 parent a50cd2692617cfb796140a62c0082bce0a7306c7 author Mandy Kirkconnell Tue, 14 Mar 2006 14:07:24 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:07:24 +1100 [XFS] Fix assert to check that in-core extents are inline only. SGI-PV: 950678 SGI-Modid: xfs-linux-melb:xfs-kern:207634a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit a50cd2692617cfb796140a62c0082bce0a7306c7 tree 15a879237107bde586effdb46c2be41e4cd1af44 parent 416c6d5bcfe8ac2c65a955be62bc42d8b8d5b014 author Nathan Scott Tue, 14 Mar 2006 14:06:18 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:06:18 +1100 [XFS] Switch over from linvfs names for sb/quotactl operations for consistent naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25382a Signed-off-by: Nathan Scott commit 416c6d5bcfe8ac2c65a955be62bc42d8b8d5b014 tree bf8ef73d247c4e44db36d9c742a088e0c4330630 parent 3562fd45658fbb696f4546479332d5249c3ad90f author Nathan Scott Tue, 14 Mar 2006 14:00:51 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:00:51 +1100 [XFS] Switch over from linvfs names for inode operations for consistent naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25381a Signed-off-by: Nathan Scott commit 3562fd45658fbb696f4546479332d5249c3ad90f tree 75402260ea6782fd2bd0111e2e7a5de187d0dd66 parent e4c573bb6a8477a26b3d5471fd116d258760a13a author Nathan Scott Tue, 14 Mar 2006 14:00:35 +1100 committer Nathan Scott Tue, 14 Mar 2006 14:00:35 +1100 [XFS] Switch over from linvfs names for file operations for consistent naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25379a Signed-off-by: Nathan Scott commit e4c573bb6a8477a26b3d5471fd116d258760a13a tree 6a3466f40c2102ff8f161fc70861040791474ed8 parent b8b0f546569871b365a5e3b3cc3f667af658dd49 author Nathan Scott Tue, 14 Mar 2006 13:54:26 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:54:26 +1100 [XFS] Switch over from linvfs names for address space ops for consistent naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25378a Signed-off-by: Nathan Scott commit b8b0f546569871b365a5e3b3cc3f667af658dd49 tree b14d4c72e13d2c6192e0ac93d1fbafa392ea8e2d parent a365bdd5e8fae9c592b9e4851d931016f9fdd868 author Nathan Scott Tue, 14 Mar 2006 13:47:32 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:47:32 +1100 [XFS] Remove a couple of no-longer-used macros/types from XFS. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25377a Signed-off-by: Nathan Scott commit a365bdd5e8fae9c592b9e4851d931016f9fdd868 tree a7f1692ad72f93526177c9d989c31427eef315e9 parent 39269e29d4aad04252e0debec4c9b01bac16a257 author Nathan Scott Tue, 14 Mar 2006 13:34:16 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:34:16 +1100 [XFS] Reduce stack usage within xfs_bmapi by rearranging some code, splitting realtime/btree allocators apart. Based on Glens original patches. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25372a Signed-off-by: Nathan Scott commit 39269e29d4aad04252e0debec4c9b01bac16a257 tree 8229f1eef23c113d6b2020f150846021deb30fd5 parent 220b5284139be6ecbc39b353fd76f0923eccc3d6 author Nathan Scott Tue, 14 Mar 2006 13:33:50 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:33:50 +1100 [XFS] Reduce xfs_bmapi stack use by removing some local state variables, and directly testing flags instead. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25370a Signed-off-by: Nathan Scott commit 220b5284139be6ecbc39b353fd76f0923eccc3d6 tree 86ab8c671631a109690d6589a19d9774d8bed18f parent 9b94c2eddf407ad8faa5672ffa691e2076167564 author Nathan Scott Tue, 14 Mar 2006 13:33:36 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:33:36 +1100 [XFS] Dynamically allocate vattr in places it makes sense to do so, to reduce stack use. Also re-use vattr in some places so that multiple copies are not held on-stack. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25369a Signed-off-by: Nathan Scott commit 9b94c2eddf407ad8faa5672ffa691e2076167564 tree aa44b11d2a09b49a892e622c374d81be36966177 parent 8f79405527b50fe27cffcb7081890b5c68439b4f author Nathan Scott Tue, 14 Mar 2006 13:32:54 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:32:54 +1100 [XFS] Take a dentry structure off the stack into the data segment. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25361a Signed-off-by: Nathan Scott commit 8f79405527b50fe27cffcb7081890b5c68439b4f tree 9cd1abe2bf0997bec2d9485cade641d1e8eb7c82 parent f6d75cbed997dffb41e3d473bd4c0f899abc3776 author Nathan Scott Tue, 14 Mar 2006 13:32:41 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:32:41 +1100 [XFS] Reduce complexity in xfs_trans_init by pushing complex macros out into functions and hence reduce the stack footprint there. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25360a Signed-off-by: Nathan Scott commit f6d75cbed997dffb41e3d473bd4c0f899abc3776 tree 790e0ec4a6347876b7255eb5277b757a3cddc85d parent 1f6553f9f9b6e41375c605769a75bd1646685a1b author Nathan Scott Tue, 14 Mar 2006 13:32:24 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:32:24 +1100 [XFS] Dynamically allocate xfs_dir2_put_args_t structure to reduce stack pressure in xfs_dir2_leaf_getdents routine. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25359a Signed-off-by: Nathan Scott commit 1f6553f9f9b6e41375c605769a75bd1646685a1b tree 8fc48aaad9b58ebece96747d058b952e72866aa1 parent 0293ce3a9fd1b34c933a96577a8ba737b681cf75 author Nathan Scott Tue, 14 Mar 2006 13:30:48 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:30:48 +1100 [XFS] Dynamically allocate local kiocb structures in readv/writev routines to reduce stack footprint. SGI-PV: 947312 SGI-Modid: xfs-linux-melb:xfs-kern:25358a Signed-off-by: Nathan Scott commit 0293ce3a9fd1b34c933a96577a8ba737b681cf75 tree 19c01a41566aa3c631a4d903ca5f3242b15af169 parent 4eea22f01bb4fdba1aab4430c33adbe88d9d4985 author Mandy Kirkconnell Tue, 14 Mar 2006 13:30:23 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:30:23 +1100 [XFS] 929045 567344 This mod introduces multi-level in-core file extent functionality, building upon the new layout introduced in mod xfs-linux:xfs-kern:207390a. The new multi-level extent allocations are only required for heavily fragmented files, so the old-style linear extent list is used on files until the extents reach a pre-determined size of 4k. 4k buffers are used because this is the system page size on Linux i386 and systems with larger page sizes don't seem to gain much, if anything, by using their native page size as the extent buffer size. Also, using 4k extent buffers everywhere provides a consistent interface for CXFS across different platforms. The 4k extent buffers are managed by an indirection array (xfs_ext_irec_t) which is basically just a pointer array with a bit of extra information to keep track of the number of extents in each buffer as well as the extent offset of each buffer. Major changes include: - Add multi-level in-core file extent functionality to the xfs_iext_ subroutines introduced in mod: xfs-linux:xfs-kern:207390a - Introduce 13 new subroutines which add functionality for multi-level in-core file extents: xfs_iext_add_indirect_multi() xfs_iext_remove_indirect() xfs_iext_realloc_indirect() xfs_iext_indirect_to_direct() xfs_iext_bno_to_irec() xfs_iext_idx_to_irec() xfs_iext_irec_init() xfs_iext_irec_new() xfs_iext_irec_remove() xfs_iext_irec_compact() xfs_iext_irec_compact_pages() xfs_iext_irec_compact_full() xfs_iext_irec_update_extoffs() SGI-PV: 928864 SGI-Modid: xfs-linux-melb:xfs-kern:207393a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit 4eea22f01bb4fdba1aab4430c33adbe88d9d4985 tree 90e2088cd821e1013088682843e11d600f8c711a parent 9f989c9455aac417c34af9c505e6b169055251da author Mandy Kirkconnell Tue, 14 Mar 2006 13:29:52 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:29:52 +1100 [XFS] 929045 567344 This mod re-organizes some of the in-core file extent code to prepare for an upcoming mod which will introduce multi-level in-core extent allocations. Although the in-core extent management is using a new code path in this mod, the functionality remains the same. Major changes include: - Introduce 10 new subroutines which re-orgainze the existing code but do NOT change functionality: xfs_iext_get_ext() xfs_iext_insert() xfs_iext_add() xfs_iext_remove() xfs_iext_remove_inline() xfs_iext_remove_direct() xfs_iext_realloc_direct() xfs_iext_direct_to_inline() xfs_iext_inline_to_direct() xfs_iext_destroy() - Remove 2 subroutines (functionality moved to new subroutines above): xfs_iext_realloc() -replaced by xfs_iext_add() and xfs_iext_remove() xfs_bmap_insert_exlist() - replaced by xfs_iext_insert() xfs_bmap_delete_exlist() - replaced by xfs_iext_remove() - Replace all hard-coded (indexed) extent assignments with a call to xfs_iext_get_ext() - Replace all extent record pointer arithmetic (ep++, ep--, base + lastx,..) with calls to xfs_iext_get_ext() - Update comments to remove the idea of a single "extent list" and introduce "extent record" terminology instead SGI-PV: 928864 SGI-Modid: xfs-linux-melb:xfs-kern:207390a Signed-off-by: Mandy Kirkconnell Signed-off-by: Nathan Scott commit 9f989c9455aac417c34af9c505e6b169055251da tree 59f136ea281ba498bdd674e1b4428d0f53294898 parent 01e1b69cfcdcfdd5b405165eaba29428f8b18a7c author Nathan Scott Tue, 14 Mar 2006 13:29:32 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:29:32 +1100 [XFS] Additional mount time superblock validation checks. SGI-PV: 950491 SGI-Modid: xfs-linux-melb:xfs-kern:25354a Signed-off-by: Nathan Scott commit 01e1b69cfcdcfdd5b405165eaba29428f8b18a7c tree 3ca7e8d0047ff03ca532f39b0fc4cd50381e8ecc parent 87cbc49cd4b773a972bce56c5dd09c4717f3285b author David Chinner Tue, 14 Mar 2006 13:29:16 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:29:16 +1100 [XFS] using a spinlock per cpu for superblock counter exclusion results in a preÄ“mpt counter overflow at 256p and above. Change the exclusion mechanism to use atomic bit operations and busy wait loops to emulate the spin lock exclusion mechanism but without the preempt count issues. SGI-PV: 950027 SGI-Modid: xfs-linux-melb:xfs-kern:25338a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 87cbc49cd4b773a972bce56c5dd09c4717f3285b tree 2070b4b4fdc72a74d8a7a76b29f4a63e96a49d04 parent f51623b21fe3068d12f0c5d39e02fd2549635a99 author Nathan Scott Tue, 14 Mar 2006 13:26:43 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:26:43 +1100 [XFS] Add xfs_map_buffer helper, use it in a couple of places. SGI-PV: 950211 SGI-Modid: xfs-linux-melb:xfs-kern:25312a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit f51623b21fe3068d12f0c5d39e02fd2549635a99 tree 3b97d6690d0b01442543f9607cc4b7d3ec230128 parent 02d7c92334c84897d7d2840fc25e5896535766f9 author Nathan Scott Tue, 14 Mar 2006 13:26:27 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:26:27 +1100 [XFS] Move some code around to avoid prototypes and prep for future writepages code. SGI-PV: 950211 SGI-Modid: xfs-linux-melb:xfs-kern:25311a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 02d7c92334c84897d7d2840fc25e5896535766f9 tree b7853c5f3d4bffdf820c9d0ebe6f8ac2e370a6f4 parent fcce0f1f9ae8d49fd27d418428034a505816d395 author Nathan Scott Tue, 14 Mar 2006 13:26:09 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:26:09 +1100 [XFS] Use XFS_VFSTOM in more places instead of open coding it. SGI-PV: 947206 SGI-Modid: xfs-linux-melb:xfs-kern:25310a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit fcce0f1f9ae8d49fd27d418428034a505816d395 tree 4a41335c1ec4a9092e7ea4010f259b6c7dd84185 parent a780143ea53d26362b7cfb6666c8d04fb989bb7a author Tim Shimmin Tue, 14 Mar 2006 13:25:02 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:25:02 +1100 [XFS] forgot a couple of calls to XLOG_VEC_SET_TYPE when porting from irix to linux. SGI-PV: 931456 SGI-Modid: xfs-linux-melb:xfs-kern:25238a Signed-off-by: Tim Shimmin Signed-off-by: Nathan Scott commit a780143ea53d26362b7cfb6666c8d04fb989bb7a tree 7c42fcbc93036dfbff3cc172bec5d152ab1deedc parent e8234a6871aa0de1ed0aeeecb5230ecf3ab414e2 author Nathan Scott Tue, 14 Mar 2006 13:24:46 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:24:46 +1100 [XFS] UUID endianess fix. uu_timelow is a 32bit field and needs to be swapped with be32_to_cpu. SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:25232a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit e8234a6871aa0de1ed0aeeecb5230ecf3ab414e2 tree b88093459262dcae16a237faf45200052629d19b parent 2d0f864be3266eb0a8b4b48f36e2f777eace00b3 author David Chinner Tue, 14 Mar 2006 13:23:52 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:23:52 +1100 [XFS] Add support for hotplug CPUs to the per-CPU superblock counters by registering a notifier callback that listens to CPU up/down events to modify the counters appropriately. SGI-PV: 949726 SGI-Modid: xfs-linux-melb:xfs-kern:25214a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 2d0f864be3266eb0a8b4b48f36e2f777eace00b3 tree dc2fd0196f7791ac2b8aa5cab8d16ceec4ccc576 parent d2c32edf64a7e9bc8dfb5cb3a8f7bf7be94c93ae author Nathan Scott Tue, 14 Mar 2006 13:20:33 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:20:33 +1100 [XFS] Make headers compile for more compiler variants; minor cleanup. SGI-PV: 949432 SGI-Modid: xfs-linux-melb:xfs-kern:25184a Signed-off-by: Nathan Scott commit d2c32edf64a7e9bc8dfb5cb3a8f7bf7be94c93ae tree cdb70e7258708c1bdc66b9156a206e1c7906d2b6 parent e0cc2325d151c3f4f3276b2deda734faf742146f author Nathan Scott Tue, 14 Mar 2006 13:20:13 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:20:13 +1100 [XFS] When compiling with gcc 4.0 and CONFIG_SMP unset, there are many warnings along the lines: xfs_linux.h:103:5: warning: "CONFIG_SMP" is not defined. SGI-PV: 946630 SGI-Modid: xfs-linux-melb:xfs-kern:25171a Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Nathan Scott commit e0cc2325d151c3f4f3276b2deda734faf742146f tree ad9e688d60e55c53579e58ea136d7daf664ee7b8 parent 20722a91921bd9e9d4ba5c8f801d143e72e58418 author Nathan Scott Tue, 14 Mar 2006 13:19:55 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:19:55 +1100 [XFS] Flag the XFS inode cache as in need of spreading also. SGI-PV: 949073 SGI-Modid: xfs-linux-melb:xfs-kern:25170a Signed-off-by: Nathan Scott commit 20722a91921bd9e9d4ba5c8f801d143e72e58418 tree bf6dc377ff28bd3a89c41c7724db6715a7f110d4 parent 8758280fcc6129be89503efe93bb59eaf2f85d28 author Nathan Scott Tue, 14 Mar 2006 13:19:08 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:19:08 +1100 [XFS] Fix a mutex_destroy diagnostic about a locked-mutex-on-destroy from quota code. SGI-PV: 949149 SGI-Modid: xfs-linux-melb:xfs-kern:25123a Signed-off-by: Nathan Scott commit 8758280fcc6129be89503efe93bb59eaf2f85d28 tree 395246120b571385c1f3efad773b83a932d008da parent 8d280b98cfe3c0b69c37d355218975c1c0279bb0 author Nathan Scott Tue, 14 Mar 2006 13:18:19 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:18:19 +1100 [XFS] Cleanup the use of zones/slabs, more consistent and allows flags to be passed. SGI-PV: 949073 SGI-Modid: xfs-linux-melb:xfs-kern:25122a Signed-off-by: Nathan Scott commit 8d280b98cfe3c0b69c37d355218975c1c0279bb0 tree 2dc1deaec23a7da29b72152a4225c2600dacf1d4 parent 9f4cbecd7e5ee6390fecd6032dc04ca8c9805dc9 author David Chinner Tue, 14 Mar 2006 13:13:09 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:13:09 +1100 [XFS] On machines with more than 8 cpus, when running parallel I/O threads, the incore superblock lock becomes the limiting factor for buffered write throughput. Make the contended fields in the incore superblock use per-cpu counters so that there is no global lock to limit scalability. SGI-PV: 946630 SGI-Modid: xfs-linux-melb:xfs-kern:25106a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 9f4cbecd7e5ee6390fecd6032dc04ca8c9805dc9 tree ab8d621cf5852f1d6b4dad602510792b2fd6463c parent 0c9512d74635198d90f349acec19381e446ba2b4 author Nathan Scott Tue, 14 Mar 2006 13:05:30 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:05:30 +1100 [XFS] XFS propagates MS_NOATIME through two levels internally but doesn't actually use it. Kill this dead code. Signed-off-by: Christoph Hellwig SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:25086a Signed-off-by: Nathan Scott commit 0c9512d74635198d90f349acec19381e446ba2b4 tree 97a60f4e3a9a5d67ae7f4bf192cc7066e48a5979 parent 3759fa9c55923f719ae944a3f8fbb029b36f759d author David Chinner Tue, 14 Mar 2006 13:02:13 +1100 committer Nathan Scott Tue, 14 Mar 2006 13:02:13 +1100 [XFS] find_exported_dentry(). XFS does not need to use this symbol as it is provided by a vector through the superblock export operations when the filesystem is exported by NFS. The fix is to call that vector instead of using the exported symbol directly. SGI-PV: 948858 SGI-Modid: xfs-linux-melb:xfs-kern:25062a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit c829c394165f981d49f05a9be228404d7a9398d4 tree 649ca326052a4a35d31f150f274347ca9d38c678 parent ce313db240862d809c736c5b1dfc759817fc7ca9 author James Smart Mon, 13 Mar 2006 08:28:57 -0500 committer James Bottomley Mon, 13 Mar 2006 08:58:58 -0600 [SCSI] FC transport : Avoid device offline cases by stalling aborts until device unblocked This moves the eh_timed_out functionality from the scsi_host_template to the transport_template. Given that this is now a transport function, the EH_RESET_TIMER case no longer caps the timer reschedulings. The transport guarantees that this is not an infinite condition. Signed-off-by: James Bottomley commit fb21f0d0ec7e31cc814165e1a9d2662d9c9dd980 tree 6acfd767e12c93b9b710d6b90b47f630fcbecbc2 parent 2044470cccec1bfe6bb819027975df302ff43bf8 author Tejun Heo Sun, 12 Mar 2006 12:34:35 +0900 committer Jeff Garzik Sun, 12 Mar 2006 12:51:11 -0500 [PATCH] libata: check Word 88 validity in ata_id_xfer_mask() Check bit 2 of Word 53 for Word 88 validity before using Word 88 to determine UDMA mask. Note that the original xfer mask implementation using ata_get_mode_mask() didn't consider bit 2 of Word 53. This patch introduces different (correct) behavior. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2044470cccec1bfe6bb819027975df302ff43bf8 tree 64254b2ca55f8727f08e46361532361027cf4faf parent 4b10e559277de490bf5c257a1e3264a2bf51404b author Tejun Heo Mon, 13 Mar 2006 01:57:01 +0900 committer Jeff Garzik Sun, 12 Mar 2006 12:49:45 -0500 [PATCH] libata: fix class handling in ata_bus_probe() ata_bus_probe() didn't set classes[] properly for port disabled case of ->phy_reset() compatibility path. This patch moves classes[] initialization and normalization out of ->probe_reset block such that it applies to both ->probe_reset and ->phy_reset paths. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ce313db240862d809c736c5b1dfc759817fc7ca9 tree a5ae36e0a7b16e079a2b41c272b3abea9e0cb7f5 parent 597705aa7fbf3e600283f4a870fb700385eacb13 author James Bottomley Sun, 12 Mar 2006 10:02:15 -0600 committer James Bottomley Sun, 12 Mar 2006 10:02:15 -0600 [SCSI] mptscsih: remove unused page 1 setting function It was actually rendered unused by the move to the spi transport class, but never taken out. Signed-off-by: James Bottomley commit 597705aa7fbf3e600283f4a870fb700385eacb13 tree d2595f26f951a936949f5d866c5156d250090c84 parent a1d4f73a00958162f91311396d37080f5e9b9ef1 author James Bottomley Sun, 12 Mar 2006 09:54:19 -0600 committer James Bottomley Sun, 12 Mar 2006 09:54:19 -0600 [SCSI] fix minor problem in spi transport message functions The check for a one byte message should be msg[0] == 0x55 not msg == 0x55 Signed-off-by: James Bottomley commit a1d4f73a00958162f91311396d37080f5e9b9ef1 tree c1b2570133719635883fa73b83a020181ecfafef parent a6becb084d4beb0b0c83651541f5b53f6da01e36 author Adrian Bunk Fri, 10 Mar 2006 23:25:00 +0100 committer James Bottomley Sun, 12 Mar 2006 09:46:23 -0600 [SCSI] sim710: fix a NULL pointer dereference This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit a6becb084d4beb0b0c83651541f5b53f6da01e36 tree df88f32a2874731289c094c556ea19257eea65d7 parent c3c026ba5a16867af47578ab2030ef51f9080084 author Adrian Bunk Fri, 10 Mar 2006 23:24:47 +0100 committer James Bottomley Sun, 12 Mar 2006 09:46:11 -0600 [SCSI] ibmmca: fix a NULL pointer dereference The variable was dereferenced only if it was NULL (sic)... Spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit c3c026ba5a16867af47578ab2030ef51f9080084 tree aa730bd967495555436ad754353fa021c0f89db2 parent 8800727ae8a20146981a9531ac833cb889666247 author Adrian Bunk Fri, 10 Mar 2006 23:24:21 +0100 committer James Bottomley Sun, 12 Mar 2006 09:45:56 -0600 [SCSI] dmx3191d: fix a NULL pointer dereference This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 8800727ae8a20146981a9531ac833cb889666247 tree 231cc3977b9baac8a6aa375c5fdbd30890b535d5 parent 72df0ebf95561694c06adca62e590e37ec549579 author Adrian Bunk Fri, 10 Mar 2006 23:24:08 +0100 committer James Bottomley Sun, 12 Mar 2006 09:45:43 -0600 [SCSI] NCR_D700: fix a NULL dereference The Coverity checker spotted this NULL dereference. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 72df0ebf95561694c06adca62e590e37ec549579 tree a50e19ae6162b1ce79742ad9920ccc6a857573a2 parent 1757b67809078439662d62a266db45eae3a3d214 author Matthew Wilcox Fri, 10 Mar 2006 07:18:22 -0700 committer James Bottomley Sun, 12 Mar 2006 09:44:46 -0600 [SCSI] Missing names from SPI3, SPI4 and SPI5 Add several missing messages from SPI3, SPI4 and SPI5: - Terminate Process - Continue Task - Target Transfer Disable - Clear ACA - LUN Reset - ACA - QAS Request Rename some older commands to their SPI5 names: - Command Complete -> Task Complete - Abort -> Abort Task Set - Bus device Reset -> Target Reset - Clear Queue -> Clear Task Set Change spi_print_msg() to always consume one byte, even if we don't recognise it. That allows drivers to call it in a loop to print all messages. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1757b67809078439662d62a266db45eae3a3d214 tree d263a6dccfcf3be0bacc93efc85b321f4edf31dd parent d584486a1cc9714d5de8dc0a04c2b1f023fbb82a author Andrew Vasquez Thu, 09 Mar 2006 14:32:04 -0800 committer James Bottomley Sun, 12 Mar 2006 09:44:17 -0600 [SCSI] qla2xxx: Firmware updates. Resync with latest 23xx firmware -- 3.03.20. Resync with latest 24xx firmware -- 4.00.18. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit d584486a1cc9714d5de8dc0a04c2b1f023fbb82a tree 6284786bb7467c0e0c4436cc4f0a7f0908f5c9d4 parent 9a52a57cb9d247fc1cea018fd3f4421f8fd6642a author Andrew Vasquez Thu, 09 Mar 2006 14:31:47 -0800 committer James Bottomley Sun, 12 Mar 2006 09:42:33 -0600 [SCSI] qla2xxx: Remove legacy ISP6312 firmware loader. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 9a52a57cb9d247fc1cea018fd3f4421f8fd6642a tree 1ceafa260a18a02485973cd0bed9b971f558910d parent 4a59f71d7f0d6dd433fd509584352cdd7c62e877 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:44 -0800 committer James Bottomley Sun, 12 Mar 2006 09:40:37 -0600 [SCSI] qla2xxx: Correct FCAL login retry logic for ISP24xx. ISP24XX FW does not support Mbx 0x74 ie Login Local Port. Added the equivalent code for ISP24XX ie to relogin in non fabric case for ISP24XX use login iocb. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 4a59f71d7f0d6dd433fd509584352cdd7c62e877 tree eef8ffac130b9dec1bf08759813084a8b6b3aafc parent 6f6417905cf272337a9762e1f92a1fffa651fcd3 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:39 -0800 committer James Bottomley Sun, 12 Mar 2006 09:40:13 -0600 [SCSI] qla2xxx: Further restrict ZIO mode support. Only support ZIO mode 6 on specific ISP types. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 6f6417905cf272337a9762e1f92a1fffa651fcd3 tree 39164863fb9325279c708e9dd08b1d2e76db393c parent fdbc6833c53a1c2ec2b122cd53e69e6136dcc774 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:34 -0800 committer James Bottomley Sun, 12 Mar 2006 09:39:55 -0600 [SCSI] qla2xxx: Add VPD sysfs attribute. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fdbc6833c53a1c2ec2b122cd53e69e6136dcc774 tree 0c79c042504ac5c1ce44b74c16da2300ca24de7e parent 1328962eb4b00dd1cfd1ffb863b1612b08751768 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:29 -0800 committer James Bottomley Sun, 12 Mar 2006 09:39:36 -0600 [SCSI] qla2xxx: Correct swing/emphasis settings on ISP24xx. Reserved-bit 15 must set when updating the swing/emphasis values. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 1328962eb4b00dd1cfd1ffb863b1612b08751768 tree 7dab09b695ed59b43625d88b5e5852620e06fb92 parent 48c02fde949f15920c0018d33d285fd39730d24b author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:24 -0800 committer James Bottomley Sun, 12 Mar 2006 09:38:42 -0600 [SCSI] qla2xxx: NVRAM id-list updates. Resync with latest NVRAM subsystem ID list. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 48c02fde949f15920c0018d33d285fd39730d24b tree aded9282ed2e45b0d0c9e73c95cfd60cfbadfba7 parent 044cc6c8ec311c4ddeebfcc31c53dea282de70b7 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:18 -0800 committer James Bottomley Sun, 12 Mar 2006 09:38:22 -0600 [SCSI] qla2xxx: Consolidate ISP63xx handling. As new 23xx firmware will accomidate ISP63xx types. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 044cc6c8ec311c4ddeebfcc31c53dea282de70b7 tree 891078bdbf9c8673d2408215c80551dc4a015f6d parent ea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:13 -0800 committer James Bottomley Sun, 12 Mar 2006 09:38:03 -0600 [SCSI] qla2xxx: Add ISP54xx support. Chip is similar in form to our ISP24xx offering. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 tree 0ab005b73710821d916773c5d40eb3cfe69d84b1 parent 93f56089898a1b27fc0c89b5c1c748291353f679 author andrew.vasquez@qlogic.com Thu, 09 Mar 2006 14:27:08 -0800 committer James Bottomley Sun, 12 Mar 2006 09:37:24 -0600 [SCSI] qla2xxx: Convert IS_QLA*() defines to bit-operations. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 93f56089898a1b27fc0c89b5c1c748291353f679 tree 4c1280939653d737d3e79d65fd58c3301ec6d8bf parent a0b6b6e5308d6ef70febfc3cfd5488717809b3e4 author Dave Jones Thu, 09 Mar 2006 10:21:27 -0500 committer James Bottomley Sun, 12 Mar 2006 09:25:40 -0600 [SCSI] fix two leaks in scsi_alloc_sdev failure paths If the scsi_alloc_queue or the slave_alloc calls in scsi_alloc_device fail, we forget to release the locally allocated sdev on the failure path. Coverity #609 Signed-off-by: Dave Jones Signed-off-by: James Bottomley commit a0b6b6e5308d6ef70febfc3cfd5488717809b3e4 tree f843ddecd81270e6d89c2a8e88909bcfbf139127 parent 5c1b85e209af41c7e99a2bfd21dc8fe840b342d8 author Ralf Baechle Thu, 09 Mar 2006 14:35:13 +0000 committer James Bottomley Sun, 12 Mar 2006 09:24:55 -0600 [SCSI] Make sgiwd93_detect and sgiwd93_detect static. Nothing outside sgiwd93.c references them. Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit 5c1b85e209af41c7e99a2bfd21dc8fe840b342d8 tree 520afd25c5581cbf90bc5c8cbfbd361d498aeffe parent 5c04a7b8981f2855869bf04c881553135445d701 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:37 -0800 committer James Bottomley Sun, 12 Mar 2006 09:18:47 -0600 [SCSI] drivers/scsi/FlashPoint.c: don't use parenthesis with "return" Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 5c04a7b8981f2855869bf04c881553135445d701 tree 536192a7b3e15523e0a0aecbd629be27404f2b10 parent 13e6851aa1e8f7db0e9f0cc8567394a9fe451357 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:35 -0800 committer James Bottomley Sun, 12 Mar 2006 09:18:15 -0600 [SCSI] drivers/scsi/FlashPoint.c: Lindent It's much, much more readable now. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 13e6851aa1e8f7db0e9f0cc8567394a9fe451357 tree 82fee3a2c8c232b0239739f66faf8cd224881c74 parent 68d0c1ae66413ef553b1132269129003cea668ed author Alexey Dobriyan Wed, 08 Mar 2006 00:14:34 -0800 committer James Bottomley Sun, 12 Mar 2006 09:17:01 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct SCCBcard * struct SCCBcard => struct sccb_card * PSCCBcard => struct sccb_card * * SCCBCARD => struct sccb_card Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 68d0c1ae66413ef553b1132269129003cea668ed tree 425e0d52997425a494d36471ab29b3bd11c83986 parent f31dc0cde69761dca05687addfd233accd393d1c author Alexey Dobriyan Wed, 08 Mar 2006 00:14:33 -0800 committer James Bottomley Sun, 12 Mar 2006 09:16:47 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct NVRAMInfo * struct NVRAMInfo => struct nvram_info * PNVRamInfo => struct nvram_info * * NVRAMINFO => struct nvram_info Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit f31dc0cde69761dca05687addfd233accd393d1c tree ac3164043d9d1f822706677ee6b26b884be9aae9 parent 7f101662dd55aa16852ff6228ac496f56a259f5e author Alexey Dobriyan Wed, 08 Mar 2006 00:14:31 -0800 committer James Bottomley Sun, 12 Mar 2006 09:16:25 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct SCCBMgr_tar_info * struct SCCBMgr_tar_info => struct sccb_mgr_tar_info * PSCCBMgr_tar_info => struct sccb_mgr_tar_info * * SCCBMGR_TAR_INFO => struct sccb_mgr_tar_info Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 7f101662dd55aa16852ff6228ac496f56a259f5e tree 74f5d279047890f21fd1c7cdcaf04fe3cf1cccf6 parent 69eb2ea47793366f59bfbc6e3c655b9c5047badd author Alexey Dobriyan Wed, 08 Mar 2006 00:14:30 -0800 committer James Bottomley Sun, 12 Mar 2006 09:16:09 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct SCCBMgr_info * struct SCCBMgr_info => struct sccb_mgr_info * PSCCBMGR_INFO => struct sccb_mgr_info * * SCCBMGR_INFO => struct sccb_mgr_info Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 69eb2ea47793366f59bfbc6e3c655b9c5047badd tree 8d79cbfbe91e0f5e36e75513bd57e13fda341208 parent ad0e1d9f0155073cffb74755fb21c0fb82b1b094 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:29 -0800 committer James Bottomley Sun, 12 Mar 2006 09:15:44 -0600 [SCSI] drivers/scsi/FlashPoint.c: untypedef struct _SCCB * struct _SCCB => struct sccb * PSCCB => struct sccb * * SCCB => struct sccb Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit ad0e1d9f0155073cffb74755fb21c0fb82b1b094 tree f28b92bcd417b5d1715e5e1fa5e485cf22b20225 parent fd1e29ed62cc307281d1a62f73ebac059ac6b6a1 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:28 -0800 committer James Bottomley Sun, 12 Mar 2006 09:15:21 -0600 [SCSI] drivers/scsi/FlashPoint.c: use standard fixed size types Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit fd1e29ed62cc307281d1a62f73ebac059ac6b6a1 tree ce4d046e58d6e4fa0486228fb6481f77a29bb651 parent d63a4cccf387a8e6210cfd818c1ea717beefc531 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:27 -0800 committer James Bottomley Sun, 12 Mar 2006 09:15:00 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove ushort_ptr Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit d63a4cccf387a8e6210cfd818c1ea717beefc531 tree 4798682beed80ba9e120757b4d5373e5818b60d8 parent ce793215b428ae7650b39d87702efa3d5b26ba28 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:26 -0800 committer James Bottomley Sun, 12 Mar 2006 09:14:40 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove ULONG Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit ce793215b428ae7650b39d87702efa3d5b26ba28 tree c46376823aac7d09145e482903a2cc516e2db313 parent c823feeb33161c09e83ee4e68c822d6b9ececbc4 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:26 -0800 committer James Bottomley Sun, 12 Mar 2006 09:14:15 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove UINT Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit c823feeb33161c09e83ee4e68c822d6b9ececbc4 tree 3d1524c0825b2d34a3d8930c26ab694ca5f891c8 parent db038cf86fc63d336fc9d8e57712dee1d726e2e9 author Alexey Dobriyan Wed, 08 Mar 2006 00:14:25 -0800 committer James Bottomley Sun, 12 Mar 2006 09:13:20 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove USHORT Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit db038cf86fc63d336fc9d8e57712dee1d726e2e9 tree 08a313c0efbb13969e403ccf2777370378cd86ae parent d8b6b8bd8a99ee91843381d51e8e619463721aed author Alexey Dobriyan Wed, 08 Mar 2006 00:14:24 -0800 committer James Bottomley Sun, 12 Mar 2006 09:13:00 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove UCHAR Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit d8b6b8bd8a99ee91843381d51e8e619463721aed tree a768444119807bc18ea399aa87c441f5e01aab07 parent 85ae97d816da3f8af9dcfbc4197a2950b55c3b0d author Alexey Dobriyan Wed, 08 Mar 2006 00:14:23 -0800 committer James Bottomley Sun, 12 Mar 2006 09:12:32 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove trivial wrappers Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 85ae97d816da3f8af9dcfbc4197a2950b55c3b0d tree 033848609c70a5cb5311f7f3d269f582c74ec5b5 parent f018fa552c52642a6b9db2bda90477762e42163f author Alexey Dobriyan Wed, 08 Mar 2006 00:14:22 -0800 committer James Bottomley Sun, 12 Mar 2006 09:12:11 -0600 [SCSI] drivers/scsi/FlashPoint.c: remove unused things * Remove unused #define's * Remove unused typedefs. * Remove prototypes for non-existing functions. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit f018fa552c52642a6b9db2bda90477762e42163f tree 5baf17322997aae5e9373e8f9e6d1c993d2ad0ff parent 76744f429a178ad2df06b722e5e7bbbf1b5245ee author Rene Herman Wed, 08 Mar 2006 00:14:20 -0800 committer James Bottomley Sun, 12 Mar 2006 09:11:16 -0600 [SCSI] MODULE_ALIAS_{BLOCK,CHAR}DEV_MAJOR for drivers/scsi Add device-major aliases in drivers/scsi, allowing kmod autoload: MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR) MODULE_ALIAS_CHARDEV_MAJOR(OSST_MAJOR) MODULE_ALIAS_CHARDEV_MAJOR(SCSI_TAPE_MAJOR) MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_CDROM_MAJOR) MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISKN_MAJOR) Signed-off-by: Andrew Morton Acked-by: Kai Makisara Signed-off-by: James Bottomley commit 76744f429a178ad2df06b722e5e7bbbf1b5245ee tree 92406bc62b0316803746c57e2e461721bc454578 parent 986a25f96accc8272059ae8b3eb63055f58cadb0 author Hannes Reinecke Wed, 08 Mar 2006 13:00:07 +0100 committer James Bottomley Sun, 12 Mar 2006 09:06:57 -0600 [SCSI] aic79xx: Avoid renegotiation on inquiry Because of some quirk in the SCSI spec the aic79xx driver chose to force a renegotiation when sending an inquiry. This should better be handled by the upper layers if required at all. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 986a25f96accc8272059ae8b3eb63055f58cadb0 tree 2db6f56e1a1a22556bde60d5bc00caaa4c34ec6a parent 9e691dfba56f7d7a38b09edc5252264bc1bab659 author Hannes Reinecke Wed, 08 Mar 2006 12:59:35 +0100 committer James Bottomley Sun, 12 Mar 2006 09:06:28 -0600 [SCSI] aic79xx: use BIOS settings This patch fixes the aic79xx driver to properly respond to BIOS settings. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 9e691dfba56f7d7a38b09edc5252264bc1bab659 tree 59ce3b6c69590e9ef4d28efd709c0e407e17d6ea parent 6902f41610d631f74cfca7c61eac7b0950dd8990 author Hannes Reinecke Wed, 08 Mar 2006 12:59:03 +0100 committer James Bottomley Sun, 12 Mar 2006 09:06:00 -0600 [SCSI] aic79xx: Invalid Sequencer interrupt occured On certain systems the driver seems to hit upon some "scsi0: Invalid Sequencer interrupt occurred." problem and dumps card state. According to Adaptec engineers this message is harmless. So as not to confuse user we can as well disable the internal card state dump and just print out the message itself. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 6902f41610d631f74cfca7c61eac7b0950dd8990 tree ee084da4fdd3fff54982e79034ee2a284c57cc3c parent 1ede5f9fe59ea245ad0ba859cfb08ac5814f6269 author Hannes Reinecke Wed, 08 Mar 2006 12:58:16 +0100 committer James Bottomley Sun, 12 Mar 2006 09:05:18 -0600 [SCSI] aic79xx: Update error recovery This patch updates the error recovery. Routines for TARGET RESET and ABORT COMMAND are split up as the logic is quite dissimilar. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 1ede5f9fe59ea245ad0ba859cfb08ac5814f6269 tree c930002c9334dff3676927a1029a2647010e4f11 parent 0aa800db8f1927aefe6f0ba6ce9d70f044374aef author Hannes Reinecke Wed, 08 Mar 2006 12:57:28 +0100 committer James Bottomley Sun, 12 Mar 2006 09:02:36 -0600 [SCSI] aic79xx: Remove dead code Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 0aa800db8f1927aefe6f0ba6ce9d70f044374aef tree 1257e4f22ca3e44f9c84944694efef53384080c0 parent 7b22da38b64a32df20fdb7272deb7546045fccec author Hannes Reinecke Wed, 08 Mar 2006 12:56:56 +0100 committer James Bottomley Sun, 12 Mar 2006 09:01:53 -0600 [SCSI] aic79xx: use tcq functions This patch converts aic79xx to use the midlayer-supplied tcq functions. We also set the queuedepth to '1' if tcq is disabled; the aic79xx driver gets confused otherwise. Will set it back to '2' once I figure out how to queue requests in the driver. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 7b22da38b64a32df20fdb7272deb7546045fccec tree df26d10b480b9da5e68397ad4d8c12a2e5c59fec parent a382dd7c13377c8ff98f6ec59f64355653fb507e author Hannes Reinecke Wed, 08 Mar 2006 12:56:14 +0100 committer James Bottomley Sun, 12 Mar 2006 09:01:13 -0600 [SCSI] aic79xx: remove qfrozen This patch removes the need for platform_data->qfrozen. We're now using complete() instead of semaphores thus simplifying ahd_freeze_simq() quite a lot. This also fixes some deadlocks in the recovery code (again). Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit a382dd7c13377c8ff98f6ec59f64355653fb507e tree 6c87f1cc695242f25a4d7d1d52ec7d63d299535b parent fc6c12bcc19bdff6b4bcb02f5bd6d9fa59a7e1af author James Smart Tue, 07 Mar 2006 15:04:25 -0500 committer James Bottomley Sun, 12 Mar 2006 08:57:29 -0600 [SCSI] lpfc 8.1.4 : Change version number to 8.1.4 Change version number to 8.1.4 Signed-off-by: James Smart Signed-off-by: James Bottomley commit fc6c12bcc19bdff6b4bcb02f5bd6d9fa59a7e1af tree 52a69666dcd29c20975ec2ae218f87f2ab3024f1 parent 9290831f00879d4a66d3bffb609949d5ea5576fb author James Smart Tue, 07 Mar 2006 15:04:19 -0500 committer James Bottomley Sun, 12 Mar 2006 08:57:13 -0600 [SCSI] lpfc 8.1.4 : Two misc fixes Two misc fixes: - Fix deadlock caused by return with host_lock held in lpfc_findnode_did - Initialize all fields of the allocated mail box structure to zero. Was causing some sysfs mailbox commands to fail immediately after load. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 9290831f00879d4a66d3bffb609949d5ea5576fb tree f66748c875962518f9d4784fd684e189feb50d84 parent 1a169689c2152ea599c94d622204f7bf5b7dc09f author James Smart Tue, 07 Mar 2006 15:04:13 -0500 committer James Bottomley Sun, 12 Mar 2006 08:56:58 -0600 [SCSI] lpfc 8.1.4 : Introduce lpfc_reset_barrier() function for resets on dual channel adapters Introduce lpfc_reset_barrier() function for resets on dual channel adapters Workaround for a hardware errata on dual channel asics. There is a potential for the chip to lock up on a reset if a shared dma engine is in use. The (ugly) work around requires a reset process which uses a mailbox command to synchronize the independent channels prior to the reset to avoid the issue. Unfortunately, the timing windows required to ensure this workaround succeeds are very specific, meaning we can't release the cpu during the barrier. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1a169689c2152ea599c94d622204f7bf5b7dc09f tree e9a354d5970de009b8c1ec647e31835a0bf09423 parent fdcebe282fd8654381852260efec267eff8002fb author James Smart Tue, 07 Mar 2006 15:04:06 -0500 committer James Bottomley Sun, 12 Mar 2006 08:56:38 -0600 [SCSI] lpfc 8.1.4 : Fixed a timer panic due to timer firing after freeing ndlp Fixed a timer panic due to timer firing after freeing ndlp Signed-off-by: James Smart Signed-off-by: James Bottomley commit fdcebe282fd8654381852260efec267eff8002fb tree 6cde5a6376cfc4880be192a41a5b84407fad0d38 parent 488d1469b318e6bf2b907743d626008340bc4f6e author James Smart Tue, 07 Mar 2006 15:04:01 -0500 committer James Bottomley Sun, 12 Mar 2006 08:56:13 -0600 [SCSI] lpfc 8.1.4 : Fixed RSCN handling when a PLOGI is in retry Fixed RSCN handling when a PLOGI is in retry. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 488d1469b318e6bf2b907743d626008340bc4f6e tree 66853f237b78ebbe2b28b991c640aefe83297615 parent 071a651e28bfc1a66a885dc285792e335427a097 author James Smart Tue, 07 Mar 2006 15:02:37 -0500 committer James Bottomley Sun, 12 Mar 2006 08:54:29 -0600 [SCSI] lpfc 8.1.4 : Fix Discovery processing for NPorts that change their NPortId on the fly Fix Discovery processing for NPorts that change their NPortId on the fly due to a cable swap. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 071a651e28bfc1a66a885dc285792e335427a097 tree b0329efb4c0e2643e19058157b34648c820e61d9 parent cf7f5b45fe0180a0f0e3491183c0ec95e4b96d44 author Vasily Averin Sun, 05 Mar 2006 23:18:14 +0100 committer James Bottomley Sun, 12 Mar 2006 08:53:16 -0600 [SCSI] i2o: fix memory leak in i2o_exec_lct_modified i2o_exec_lct_modified() does not release memory allocated for work_struct. Signed-off-by: Vasily Averin Although your patch is the same, i've rewritten it a little bit for naming consistency in the I2O driver. Acked-by: Markus Lidel Signed-off-by: James Bottomley commit cf7f5b45fe0180a0f0e3491183c0ec95e4b96d44 tree 203eb7a0082b3db5f61b940b6ed8dd50ef97ae2d parent db82f8410ed7546792358964aa5f8dafff1c70a2 author Ralf Baechle Fri, 03 Mar 2006 16:34:08 +0000 committer James Bottomley Sun, 12 Mar 2006 08:48:26 -0600 [SCSI] wd33c93: Fix missing prototypes by including . Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit 30dcbf29cc6d92d70fa262e79e84011fe6913bed tree 2b356350d2dea45b498e2c0c6e9718b364594752 parent ded78e5e2cab0ec470cca7d34d7af742371bd476 author Adrian Bunk Sat, 11 Mar 2006 17:51:39 -0800 committer Jeff Garzik Sat, 11 Mar 2006 21:49:49 -0500 [PATCH] drivers/net/e1000/: proper prototypes This patch moves prototypes of global variables and functions to a header file. Signed-off-by: Adrian Bunk Acked-by: John Ronciak Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 4b10e559277de490bf5c257a1e3264a2bf51404b tree a9f165b6e57d83b9f702838741b0958c334ba215 parent 418dc1f5a805822fcf1118804ddc689a4156db4a author Tejun Heo Sun, 12 Mar 2006 11:25:27 +0900 committer Jeff Garzik Sat, 11 Mar 2006 21:48:53 -0500 [PATCH] ahci: enable prefetching for PACKET commands Turn on AHCI_CMD_PREFETCH for PACKET commands. This hints the controller that it can prefetch the CDB and the PRD entries. This patch is originally from Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 418dc1f5a805822fcf1118804ddc689a4156db4a tree 33ef606c864e2cc4c706cebaf60a4153c9259d04 parent 2f7ccc51db9f10ed2eaa4cd1777181972a23754e author Jeff Garzik Sat, 11 Mar 2006 20:50:08 -0500 committer Jeff Garzik Sat, 11 Mar 2006 20:50:08 -0500 libata: turn on ATAPI by default commit ded78e5e2cab0ec470cca7d34d7af742371bd476 tree d44724d779143d7ea52a1ed56beda2eaa0d0dffa parent a4d4d5181d043ea835c15da6c85a5bbecbaded6e author Adrian Bunk Fri, 10 Mar 2006 00:06:53 +0100 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] chelsio/espi.c:tricn_init(): remove dead code The Coverity checker spotted these two unused variables. Please check whether this patch is correct or whether they should be used. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit a4d4d5181d043ea835c15da6c85a5bbecbaded6e tree dcc0093113b8ae06eaa85e5e1b23fde22a34cb60 parent 60a89ff6d2681029b3d46b5d23dccf2903a254b4 author Ralf Baechle Wed, 08 Mar 2006 11:49:31 +0000 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] Sparse: Cleanup sgiseeq sparse warnings. o Make sgiseeq_dump_rings static. o Delete unused sgiseeq_my_reset. o Move DEBUG define to beginning where it's easier to spot and will be seen by as well. o Use NULL for pointer initialization. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 60a89ff6d2681029b3d46b5d23dccf2903a254b4 tree e7146ca3f86ac15107af37c5bd17e6cb987933ee parent 827700866ad0996e8c0f5ce75d1c01ae9b034cd6 author Pekka Enberg Wed, 08 Mar 2006 00:06:28 -0800 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] 3c509: use proper suspend/resume API Convert 3c509 driver to use proper suspend/resume API instead of the deprecated pm_register/pm_unregister. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 827700866ad0996e8c0f5ce75d1c01ae9b034cd6 tree 56566ea225cd7e4fb40938d58c7b6fe2e85c88d9 parent 000b238bca0bb6f4bb053fd69f7f02cebdace5cf author Adrian Bunk Wed, 08 Mar 2006 00:06:30 -0800 committer Jeff Garzik Sat, 11 Mar 2006 20:32:17 -0500 [PATCH] CONFIG_FORCEDETH updates This patch contains the following possible updates: - let FORCEDETH no longer depend on EXPERIMENTAL - remove the "Reverse Engineered" from the option text: for the user it's important which hardware the driver supports, not how it was developed Signed-off-by: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 000b238bca0bb6f4bb053fd69f7f02cebdace5cf tree 7698904204eccf3df4f25f61cdfb8657b362e09f parent b962697b79a147aeaca6864f2d6c424bd462b446 parent 535744878e34d01a53f946f26dfbca37186f2cf8 author Jeff Garzik Sat, 11 Mar 2006 19:58:42 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:58:42 -0500 Merge branch 'master' commit 2f7ccc51db9f10ed2eaa4cd1777181972a23754e tree 0557126cc5f9192728edc7b0299a8abc69ce448a parent 8645984c357a0262a29b8a28353a576645e2c707 parent ed071adc97a69785686a37fb88e100f41b482b94 author Jeff Garzik Sat, 11 Mar 2006 19:55:37 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:55:37 -0500 Merge branch 'upstream-fixes' commit 8645984c357a0262a29b8a28353a576645e2c707 tree a97b41a4c84a295dc075106226d053fd04a40c07 parent 10d996ad1990ec2338c463042db6d5ef4f347187 author Tejun Heo Sat, 11 Mar 2006 11:44:08 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:29:42 -0500 [PATCH] sata_sil24: lengthen softreset timeout sil24 softreset timeout was > 100ms (100 loops with msleep(1)), which turned out to be too short for some devices (ASI ARAID99 2000). This patch converts sil24 softreset waiting loop to use proper timeout condition and lengthen the timeout to ATA_TMOUT_BOOT secs and check interval to 100ms. Chisato Yamauchi discovered the problem and supplied initial patch. Signed-off-by: Tejun Heo Cc: Chisato Yamauchi Signed-off-by: Jeff Garzik commit 10d996ad1990ec2338c463042db6d5ef4f347187 tree a06a602f278f820475f16523e12927b5abb980c4 parent 75deb6fa985bd3162b9472f1fc394e23294da816 author Tejun Heo Sat, 11 Mar 2006 11:42:34 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:29:42 -0500 [PATCH] sata_sil24: exit early from softreset if SStatus reports no device sata_sil24 softreset routine used to check sata_dev_present() after SRST is complete in the hope that SRST may do some good even when SStatus reports no device. This is okay as long as SRST timeout is short (> 100ms in the current code) but it seems that not all SATA devices are happy with short SRST timeout. This patch makes softreset exit early without performing actual SRST if SStatus reports no device in preparation for lengthening SRST timeout. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 75deb6fa985bd3162b9472f1fc394e23294da816 tree f959602fae8faba6b6cdc617069f3c02414e453b parent 2061a47a9b9530a9523e51167c996307db951c31 parent 6971ed1fbbc80cae54e082aae153d5b063885d0a author Jeff Garzik Sat, 11 Mar 2006 19:10:06 -0500 committer Jeff Garzik Sat, 11 Mar 2006 19:10:06 -0500 Merge branch 'upstream-fixes' commit 2061a47a9b9530a9523e51167c996307db951c31 tree caf1ecb16e7030017fd14ea1f2f32b29b74090f3 parent 75f554bc139461a5a926fad6a6fa90433a00a117 author Tejun Heo Sun, 12 Mar 2006 00:57:39 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:04:49 -0500 [PATCH] libata: fix missing classes[] initialization in ata_bus_probe() ata_bus_probe() didn't initialize classes[] properly with ATA_DEV_UNKNOWN. As ->probe_reset() is allowed to leave @classes alone when no device is present, this results in garbage class values. ATM, the only affected driver is ata_piix. Signed-off-by: Tejun Heo Cc: Jiri Slaby Signed-off-by: Jeff Garzik commit 75f554bc139461a5a926fad6a6fa90433a00a117 tree 6b2366e670df743e0cd17e5e01c4807d92b6c163 parent a6d5a51cf1bf5d83ddd2e06fd372a79b395fb393 author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: kill unused xfer_mode functions Preceding xfer_mask changes make the following functions unused. ata_pio_modes(), base_from_shift(), ata_pr_blacklisted(), fgb() Kill them. Also, as xfer_mode_str[] is now only used by ata_mode_string(), move it into the function. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a6d5a51cf1bf5d83ddd2e06fd372a79b395fb393 tree 4dd9a341ed20444d9b66b9032b8d332069f54220 parent 23e71c3d3e88b9f554ecd47d6f9aec76e89e2e6d author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: reimplement ata_set_mode() using xfer_mask helpers Use xfer_mask helpers to determine transfer mode. This rewrite also makes transfer mode determination done before any actual configuration. This patch doesn't result in any functional changes. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 23e71c3d3e88b9f554ecd47d6f9aec76e89e2e6d tree 0dd04ce65cc57a8d82d9b42eec47338977bf7b2d parent ff8854b2719b9d26f5d3e84db4f66eb7e35e4ed9 author Tejun Heo Mon, 06 Mar 2006 04:31:57 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: use xfer_mask helpers in ata_dev_set_mode() Rewrite hardcoded xfer_mode string determination in ata_dev_set_mode() using xfer_mask helpers. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ff8854b2719b9d26f5d3e84db4f66eb7e35e4ed9 tree 4db001403fc93b4c9620caa53efb7f9dec1105a6 parent cb95d562e40140572efbca809f372e608aff7326 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: use ata_id_xfermask() in ata_dev_configure() Replace quick & dirty max transfer mode determination in ata_dev_configure() with ata_id_xfermask(). While at it, rename xfer_modes variable to xfer_mask and make it unsigned int for consistency. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit cb95d562e40140572efbca809f372e608aff7326 tree 3ffa5b34bdce55dd387fdb1be0412555a642ac6f parent 1da7b0d01b20bf21f3263d8d2f17fa49a214d773 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:39 -0500 [PATCH] libata: add xfer_mask handling functions Add ata_pack_xfermask(), ata_xfer_mask2mode(), ata_xfer_mode2mask(), ata_xfer_mode2shift() and ata_id_xfermask(). These functions will be used by following patches to simplify xfer_mask handling. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1da7b0d01b20bf21f3263d8d2f17fa49a214d773 tree ed68984a55447d5620adbe885d9479bf96213bd6 parent 2e755f68ee23b03484fde18d978f910cc5479cb8 author Tejun Heo Mon, 06 Mar 2006 04:31:56 +0900 committer Jeff Garzik Sat, 11 Mar 2006 19:03:38 -0500 [PATCH] libata: improve xfer mask constants and update ata_mode_string() Add ATA_BITS_*, ATA_MASK_* macros and reorder xfer_mask fields such that higher transfer mode is placed at higher order bit. As thie reordering breaks ata_mode_string(), this patch also rewrites ata_mode_string(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2e755f68ee23b03484fde18d978f910cc5479cb8 tree 5b5947906b3ae286c1250f2bf7726263ce9579d7 parent 507ceda00302c071029277652d9faa5a0a55419a author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:21 -0500 [PATCH] libata: rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK Rename ATA_FLAG_FLUSH_PIO_TASK to ATA_FLAG_FLUSH_PORT_TASK. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 507ceda00302c071029277652d9faa5a0a55419a tree 603cbc777845d37e2045be96f5f9f1c27d7fe33a parent 8061f5f0a04cfd2bc7aa273596ad3fcd426f8eea author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: kill unused pio_task and packet_task Kill unused pio_task and packet_task. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8061f5f0a04cfd2bc7aa273596ad3fcd426f8eea tree e0d9355eeb2caf99841c7692b8ad2770be0b5ea6 parent 86e45b6bd6900c4a0b3666fb18b46e215f775c4f author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: convert pio_task and packet_task to port_task Make pio_task and atapi_packet_task use port_task. atapi_packet_task() is moved upward such that it's right after ata_pio_task(). This position is more natural and makes adding prototype for ata_qc_issue_prot() unnecessary. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 86e45b6bd6900c4a0b3666fb18b46e215f775c4f tree 5b86ebd0b0b17d05bdfdd07b7683f7348577b52a parent d7fc3ca1cd0ecce82263299c6b1631fc83b0ec79 author Tejun Heo Sun, 05 Mar 2006 15:29:09 +0900 committer Jeff Garzik Sat, 11 Mar 2006 17:57:20 -0500 [PATCH] libata: implement port_task Implement port_task. LLDD's can schedule a function to be executed with context after specified delay. libata core takes care of synchronization against EH. This is generalized form of pio_task and packet_task which are tied to PIO hsm implementation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d7fc3ca1cd0ecce82263299c6b1631fc83b0ec79 tree a6471779a25cf2794542f9441213f5aa5f337f2f parent fbfda6e71bbdd3b4d41a56c3f20f31762c455a5e parent ed62178589929d248a0aaf4018ca3867e2f96d9d author Jeff Garzik Sat, 11 Mar 2006 17:47:20 -0500 committer Jeff Garzik Sat, 11 Mar 2006 17:47:20 -0500 Merge branch 'master' commit 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 db82f8410ed7546792358964aa5f8dafff1c70a2 tree 851febc9ff37e0bc946b89f68eb85545a6e4d7ff parent e12f0a3dec17de3d847f533ba81ad6956c9da5fd author James Bottomley Thu, 09 Mar 2006 22:06:36 -0500 committer James Bottomley Thu, 09 Mar 2006 22:06:36 -0500 [SCSI] add missing transport_container_unregister in sas class Signed-off-by: James Bottomley commit 69eb66d7da7dba2696281981347698e1693c2340 tree ba699dc7a1a80efe159f4a4401b174a7e80779fc parent be0bf7da19135a7a0f8c275f20c819940be218d9 author Dave Kleikamp Thu, 09 Mar 2006 13:59:30 -0600 committer Dave Kleikamp Thu, 09 Mar 2006 13:59:30 -0600 JFS: add uid, gid, and umask mount options OS/2 doesn't initialize the uid, gid, or unix-style permission bits. The uid, gid, & umask mount options perform pretty much like those for the fat file system, overriding what is stored on disk. This is useful for users sharing the file system with OS/2. I implemented a little feature so that if you mask the execute bit, it will be re-enabled on directories when the appropriate read bit is unmasked. I didn't want to implement an fmask & dmask option. Signed-off-by: Dave Kleikamp commit 516450179454de9e689e0a53ed8f34b896e8651c tree 78eae2f77de6cd39b18c7393fc5854456fc3fb1f parent 6749c5507388f3fc3719f57a54b540ee83f6661a parent 0d514f040ac6629311974889d5b96bcf21c6461a author Paul Mackerras Thu, 09 Mar 2006 14:32:05 +1100 committer Paul Mackerras Thu, 09 Mar 2006 14:32:05 +1100 Merge ../linux-2.6 commit cb764326dff0ee51aca0d450e1a292de65661055 tree 4cabea34727903fa8560abfeae325936a9039c7e parent 74f5ec29ae93aa42c49f4285c20c457afe937881 author Jeff Kirsher Wed, 08 Mar 2006 17:24:12 -0800 committer root Wed, 08 Mar 2006 17:24:12 -0800 e1000: Fix mii-tool access to setting speed and duplex Paul Rolland reported that e1000 was having a hard time using mii-tool to set speed and duplex. This patch fixes the issue on both newer hardware as well as fixing the code issue that originally caused the problem. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher commit be0bf7da19135a7a0f8c275f20c819940be218d9 tree c8ba72b711730ce11f52fc20cd7c0e9c4bee7bc0 parent 5b3030e39049212c975665cdb3eeabcfaf7c94ca author Dave Kleikamp Wed, 08 Mar 2006 10:59:15 -0600 committer Dave Kleikamp Wed, 08 Mar 2006 10:59:15 -0600 JFS: Take logsync lock before testing mp->lsn This fixes a race where lsn could be cleared before taking the lock Signed-off-by: Dave Kleikamp commit 044f324f6ea5d55391db62fca6a295b2651cb946 tree f78f08610cbaf93962703f68d332a8a312cb2a48 parent 793f225b0d77dd6a53614f5e312a28b754144d86 author Adrian Bunk Wed, 08 Mar 2006 10:50:07 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:28 -0300 V4L/DVB (3415): Msp3400-kthreads.c: make 3 functions static This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit 793f225b0d77dd6a53614f5e312a28b754144d86 tree 3a3e8abced9b0abb652616b322e662f28ff3b4f8 parent be787ace0139bc7ef0229606819bad64bb5d84f4 author Adrian Bunk Wed, 08 Mar 2006 10:50:06 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:28 -0300 V4L/DVB (3414): Saa7134: document that there's also a 220RF from KWorld I have the same card with the same PCI id, but from KWorld. The patch documents that this is the same card. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit be787ace0139bc7ef0229606819bad64bb5d84f4 tree dcb22cb64038969b5e4b6d394b019e4c5862bd13 parent 91ae3299d7d3493a25e5f26cbaceeb18e7760ef3 author Alexey Dobriyan Tue, 07 Mar 2006 22:20:23 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 12:04:24 -0300 V4L/DVB (3413): Typos grab bag of the month Typos grab bag of the month. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 91ae3299d7d3493a25e5f26cbaceeb18e7760ef3 tree 13bda3f740a6dba89fb74351295279aabbed1dce parent 69b27e3dfebff8f59e979d57263e1cd83c4d8370 author Michael Krufky Wed, 01 Mar 2006 00:04:42 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:29 -0300 V4L/DVB (3411): FE6600 is a Thomson tuner - The tuner used in DViCO FusionHDTV DVB-T hybrid is made by Thomson - renamed tuner and dvb_pll structs accordingly Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 69b27e3dfebff8f59e979d57263e1cd83c4d8370 tree 81f03605607c713158adb52472ace8235f44a23e parent 0785c87af1d1b6106b14c85f1267be8543f11d00 author Chris Pascoe Tue, 28 Feb 2006 20:23:11 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:18 -0300 V4L/DVB (3410): Move DViCO hybrid initialisation data from stack. The init_data array is never changed and need not be on the stack. Turn it into a static variable. Signed-off-by: Michael Krufky Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 0785c87af1d1b6106b14c85f1267be8543f11d00 tree 1f39399f301877dc420a104bd5d65da9e22f7f9f parent 780dfef37e2c941985b708f67aa0074edc922bea author Michael Krufky Tue, 28 Feb 2006 14:02:15 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:37:02 -0300 V4L/DVB (3409): Kconfig: fix in-kernel build for cx88-dvb: zl10353 frontend - VIDEO_CX88_DVB_ALL_FRONTENDS should select DVB_ZL10353 - created VIDEO_CX88_DVB_ZL10353, for selective zl10353 support in cx88-dvb. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 780dfef37e2c941985b708f67aa0074edc922bea tree c7db2fd63acfce369d2af871183da2cf0614db9a parent db5d91eb36e1cc9d46016d1d44874376cfabf274 author Chris Pascoe Tue, 28 Feb 2006 08:34:59 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:50 -0300 V4L/DVB (3408): DViCO FusionHDTV DVB-T Hybrid and ZL10353-based FusionHDTV DVB-T Plus support Add support for the FE6600 tuner used on the DVB-T Hybrid board. Add support for the Zarlink ZL10353 DVB-T demodulator, which supersedes the MT352, used on the DViCO FusionHDTV DVB-T Hybrid and later model Plus boards. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit db5d91eb36e1cc9d46016d1d44874376cfabf274 tree 20e0222107bd13db18d50f3f4a4e1282410fc10b parent 8cc2e377a0f20f58606d8a68a423ed2ea348869d author Oliver Endriss Tue, 28 Feb 2006 10:32:25 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:33 -0300 V4L/DVB (3406): Use refactored LNBP21 and BSBE1 code Use refactored LNBP21/BSBE1 code for Technotrend/Hauppauge DVB-S rev 2.3. As a side effect, FE_ENABLE_HIGH_LNB_VOLTAGE ioctl is supported now. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 8cc2e377a0f20f58606d8a68a423ed2ea348869d tree af5f33622968abc24ea0dd47e26c80d4bcf44599 parent 2f27bdce972ceb97a2fd109a77546c37aa499fc9 author Perceval Anichini Tue, 28 Feb 2006 09:52:44 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:19 -0300 V4L/DVB (3405): TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c TechnoTrend S-1500 card handling moved from budget.c to budget-ci.c. Signed-off-by: Perceval Anichini Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 2f27bdce972ceb97a2fd109a77546c37aa499fc9 tree 8ac9a59189ab362e6b6b6710efab5da92cfe7f12 parent 9f3319b49cc793b9da06ca57cc8740e3a8e88d1d author Oliver Endriss Tue, 28 Feb 2006 09:31:16 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:36:06 -0300 V4L/DVB (3404): Refactored LNBP21 and BSBE1 support Moved duplicated code to separate files. LNBP21 stuff rewritten from scratch, BSBE1 copied from av7110.c. Modified budget driver to use the new routines. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 9f3319b49cc793b9da06ca57cc8740e3a8e88d1d tree 82b3c760cf103e7c9eacc4109a7a8a51d7a0cef2 parent 2d6b5f6257a11d66d2f1e335180e8aca16704294 author Marco Schluessler Fri, 24 Feb 2006 18:53:00 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:50 -0300 V4L/DVB (3403): Workaround to fix initialization for Nexus CA Workaround for Nexus CA: Debi test fails unless first debi write is repeated. Signed-off-by: Marco Schluessler Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 2d6b5f6257a11d66d2f1e335180e8aca16704294 tree 4fbb3622de2756a9f5bb98f034574ed4c69755b6 parent 293cdaba3f6663f630bcb85077206e55b581ed67 author Hartmut Hackmann Mon, 27 Feb 2006 21:14:36 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:28 -0300 V4L/DVB (3401): Coding style fixes in saa7134-dvb.c deleted 2 semicolons at end of functions Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 293cdaba3f6663f630bcb85077206e55b581ed67 tree fc940adb11ebf26f0424f5d02cbb437e9483c664 parent 8cbe84f33a8d420d8c8228599bc042cb31c569fa author Hartmut Hackmann Mon, 27 Feb 2006 21:08:07 -0300 committer Mauro Carvalho Chehab Wed, 08 Mar 2006 11:35:05 -0300 V4L/DVB (3400): Fixes for Lifeview Trio non fatal bugs - Init message was sent to wrong slave address - Deleted outdated comment Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit e12f0a3dec17de3d847f533ba81ad6956c9da5fd tree db7c3936468c363d5ba710c6b6e2612a2a734964 parent 5e6575c051f3313feb9fe1aad61263b3560df5cc author James Bottomley Tue, 07 Mar 2006 14:53:40 -0600 committer James Bottomley Tue, 07 Mar 2006 14:53:40 -0600 [SCSI] sr: partial revert of 24669f75a3231fa37444977c92d1f4838bec1233 The patch [SCSI] SCSI core kmalloc2kzalloc Has an incorrect piece in sr_ioctl.c; it changes buffer from kmalloc to kzalloc, but then removes the clearing of the stack variable struct packet_command. This, in turn leaves rubbish in the sense pointer which the sr_do_ioctl() command then happily writes to ... oops. Thanks to Mike Christie for spotting this. Signed-off-by: James Bottomley commit 5e6575c051f3313feb9fe1aad61263b3560df5cc tree e8bfe9b9670ff782f1d27707689edf69761785f3 parent 286fc8f8ea7ef58b54f150fc900ce019af483e89 author Willem Riede Sat, 11 Feb 2006 14:46:56 -0500 committer James Bottomley Tue, 07 Mar 2006 09:16:01 -0600 [SCSI] osst: changes required to move forward to block request On 02/07/2006 04:12:55 AM, Christoph Hellwig wrote: > On Mon, Feb 06, 2006 at 08:02:21PM -0500, Willem Riede wrote: > > > But I will certainly help retire scsi_request. And anything else that is > > needed to keep up with proper kernel style. Let me know what those are, if > > you would? I'll start looking at how st has changed, and will be back with > > any questions I may have. > > right now the above is the most urgent bit. What would be nice but not > required is a conversion to the sense handling helpers, similar to what > st got (aka using the *normalize_sense functions and then dealing with the > parsed sense buffer instead of the raw sense data) Ok, so here is my first take at satisfying this request. Be warned, that beyond compiling, and checking that the new module doesn't immediately blow up, there hasn't yet been a lot of testing. But this should allow you to comment on the changes, and move forward with dropping scsi_request from the kernel code. Signed-off-by: Willem Riede Signed-off-by: James Bottomley commit bb8047d3540affd6b8c2adac3fe792e07143be0f tree 8396d13b1400225470eef6e48406bb74a81bd925 parent 1cf3109ffb26a6ea572fd02436bd10458b4b2187 author Anton Altaparmakov Tue, 07 Mar 2006 11:53:46 +0000 committer Anton Altaparmakov Tue, 07 Mar 2006 11:53:46 +0000 NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for reporting them. Signed-off-by: Anton Altaparmakov commit 74f5ec29ae93aa42c49f4285c20c457afe937881 tree 2f9fe3e3f7bcd91769b0030cead82e1986e0dd32 parent ad8c48ad3bbef078616ed4d2652d362dfd962f09 parent 2d66806d740eeb410aa785bd7fba3bd24bb082c1 author Jeff Garzik Mon, 06 Mar 2006 14:38:16 -0500 committer Jeff Garzik Mon, 06 Mar 2006 14:38:16 -0500 Merge branch 'upstream-fixes' commit 286fc8f8ea7ef58b54f150fc900ce019af483e89 tree 6439b4ad904b396c5d29516f650d83193499332e parent b2e977ca364764dabb091c360f329868b7e3f29b author James Bottomley Mon, 06 Mar 2006 10:20:56 -0600 committer James Bottomley Mon, 06 Mar 2006 10:20:56 -0600 [SCSI] lpfc: minor syntax fixes Stop gcc complaining about undefined variables Signed-off-by: James Bottomley commit b2e977ca364764dabb091c360f329868b7e3f29b tree 8b95d1ee9539556a766c1bcf786668f14844b520 parent b808608bd7afdf1b0a2eb096ff2b5b93781fdbb6 author Jamie Wellnitz Tue, 28 Feb 2006 22:33:15 -0500 committer James Bottomley Mon, 06 Mar 2006 09:48:02 -0600 [PATCH] lpfc 8.1.3: Change version number to 8.1.3 Change version number to 8.1.3 Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit b808608bd7afdf1b0a2eb096ff2b5b93781fdbb6 tree c09a1b80000231144129ef988c259117e55630aa parent 66a9ed66000d186933892ca5121e68a071d624ac author Jamie Wellnitz Tue, 28 Feb 2006 22:33:12 -0500 committer James Bottomley Mon, 06 Mar 2006 09:47:46 -0600 [PATCH] lpfc 8.1.3: Fix polling mode panic Fix polling mode panic Cause: Race between interrupt driven and polling path in harvesting iocbs from the response ring. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 66a9ed66000d186933892ca5121e68a071d624ac tree c5aa2b1e2e819876a980e59f3cbd8d0a7761aeae parent 5fe9f5119378e75986ad90c783a7e085bf67703a author Jamie Wellnitz Tue, 28 Feb 2006 22:33:10 -0500 committer James Bottomley Mon, 06 Mar 2006 09:47:31 -0600 [PATCH] lpfc 8.1.3: Protect NPL lists with host lock Protect NPL lists with host lock Symptoms: lpfc_findnode_rpi and lpfc_findnode_did can be called outside of the discovery thread context. We have to iterate through the NPL lists under the host lock and all add/del operations on those lists have to be done under host lock. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 5fe9f5119378e75986ad90c783a7e085bf67703a tree b06f5d7bb921f78dd284a960792523355249c3d1 parent cf5bf97e1d28651fd689be9c974b2318ac262f2d author Jamie Wellnitz Tue, 28 Feb 2006 22:33:09 -0500 committer James Bottomley Mon, 06 Mar 2006 09:47:14 -0600 [PATCH] lpfc 8.1.3: Fix deadlock in lpfc_fdmi_tmo_handler Fix deadlock in lpfc_fdmi_tmo_handler lpfc_fdmi_tmo_handler was calling lpfc_fdmi_cmd with the host_lock held. lpfc_fdmi_cmd assumes the host_lock is released as it calls functions that acquire the host_lock. lpfc_fdmi_tmo_handler acquired the host_lock to protect access to work_hba_events. This was already checked in the worker thread so we can remove that code completely and remove access to the host_lock. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit cf5bf97e1d28651fd689be9c974b2318ac262f2d tree df7a3b25a5fccc189bf1cb00de8f2f04eaef0e71 parent 56178645c2686a7ef630e1b23b81d40dcfb553e6 author Jamie Wellnitz Tue, 28 Feb 2006 22:33:08 -0500 committer James Bottomley Mon, 06 Mar 2006 09:46:57 -0600 [PATCH] lpfc 8.1.3: Fix performance when using multiple SLI rings Fix performance when using multiple SLI rings Currently the driver allocates all of its SLI command and response ring entries to one primary ring. Other rings get little, or no, resources. Allow more resources to be given to ring 1 Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 56178645c2686a7ef630e1b23b81d40dcfb553e6 tree 4a6fe50e78f2c9ae57d291fde4626457cc1a219e parent 719396b48ce6310ab43d7432b6d7f2a330a831b3 author Jamie Wellnitz Tue, 28 Feb 2006 22:33:06 -0500 committer James Bottomley Mon, 06 Mar 2006 09:46:34 -0600 [PATCH] lpfc 8.1.3: Remove unused MBhostaddr from lpfc_sli structure Remove unused MBhostaddr from lpfc_sli structure Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 719396b48ce6310ab43d7432b6d7f2a330a831b3 tree 0cbd685cea4896cc3b703268fbcabe0dd8fc1014 parent 74b72a59b8d42d31aa6ffac8f10ca7a784be392c author Jamie Wellnitz Tue, 28 Feb 2006 22:33:05 -0500 committer James Bottomley Mon, 06 Mar 2006 09:46:10 -0600 [PATCH] lpfc 8.1.3: PCI hrd_type should be obtained with pci_read_config_byte() macro PCI hrd_type should be obtained with pci_read_config_byte() macro Driver keys off of this field to report the proper adapter type. The pci subsystem explicitly clears the multiport bit in the copy of the field given the driver. Thus, to properly name the card, obtain it from config space. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 74b72a59b8d42d31aa6ffac8f10ca7a784be392c tree 524eabfe74685220fb9a0778149ec5e696277422 parent 42ab03609cca4ef5079e248296f015650c626899 author Jamie Wellnitz Tue, 28 Feb 2006 22:33:04 -0500 committer James Bottomley Mon, 06 Mar 2006 09:45:43 -0600 [PATCH] lpfc 8.1.3: Derive supported speeds from LMT field in the READ_CONFIG Derive supported speeds from LMT field in the READ_CONFIG Driver was keying off internal cores. Use what the firmware reports instead. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 42ab03609cca4ef5079e248296f015650c626899 tree e81cfa54e34537ef4a3ee7363e123c5428800a1c parent dd9fbb52134693f1394a928c05d5f3cd3fdaf6e0 author James Bottomley Sat, 04 Mar 2006 09:10:18 -0600 committer James Bottomley Mon, 06 Mar 2006 09:43:17 -0600 [PATCH] convert aic94xx over to using the sas transport end device Begin introducing the concept of sas remote devices that have an rphy embedded. The first one (this) is a simple end device. All that an end device really does is have port mode page parameters contained. The next and more complex piece will be expander remote devices. Signed-off-by: James Bottomley commit fbfda6e71bbdd3b4d41a56c3f20f31762c455a5e tree 167c8f3dff56cc74ef96e2ecfe58658b17923ca4 parent 48a8a14ff1f13aa4dba3f6b4381b886727609db4 author Tejun Heo Sun, 05 Mar 2006 23:03:42 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:11:32 -0500 [PATCH] sata_sil24: fix mwdma_mask setting mwdma_mask was not copied from port_info to probe_ent. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48a8a14ff1f13aa4dba3f6b4381b886727609db4 tree 429ca20edef799c283e1226b790693d0ad71e478 parent 623a3128aa2b86caa8e06e762e9e444177e4fa47 author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: revalidate after transfer mode configuration Revalidate device after transfer mode configuration. This also makes dev->id up-to-date. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 623a3128aa2b86caa8e06e762e9e444177e4fa47 tree 3e861e10c2963a22d2f097e5545fdcd865667602 parent 4c2d721ab6413ee4ff33617ed1413458261f36ea author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: implement ata_dev_revalidate() ata_dev_revalidate() re-reads IDENTIFY PAGE of the given device and makes sure it's the same device as the configured one. Once it's verified that it's the same device, @dev is configured according to newly read IDENTIFY PAGE. Note that revalidation currently doesn't invoke transfer mode reconfiguration. Criteria for 'same device' * same class (of course) * same model string * same serial string * if ATA, same n_sectors (to catch geometry parameter changes) Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4c2d721ab6413ee4ff33617ed1413458261f36ea tree b641f68a902c64a08dc308f259c05abed1d81655 parent 208a9933bc7d71e7ad194a9ffbfbcd7878c48dfe author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: add @print_info argument to ata_dev_configure() Add @print_info argument to ata_dev_configure(). Details of configured device is printed only when @pinfo_info is non-zero. This patch also reorganizes device info printing for LBA case to simplify code (necessary as @print_info adds extra nesting around it). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 208a9933bc7d71e7ad194a9ffbfbcd7878c48dfe tree e3aee404b45add338986a18031eecce2d97f5a27 parent e653a1e6131d0a819288a2e2de654627233604e0 author Tejun Heo Sun, 05 Mar 2006 17:55:58 +0900 committer Jeff Garzik Sun, 05 Mar 2006 11:09:42 -0500 [PATCH] libata: re-initialize parameters before configuring In ata_dev_configure(), reinitialize parameters before configuring. This change is for revalidation and hotplug. As ata_dev_configure() can be entered multiple times, parameters need to be reinitialized. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit e653a1e6131d0a819288a2e2de654627233604e0 tree 1bfdb56d50a92f89d61efb4ca5b09886f8581a13 parent 48d4ef2a1df9867c67b515d66732ba028a73735d author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: cosmetic flag/constant changes Collect common host flags into SIL_DFL_HOST_FLAGS and add comments to constants. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48d4ef2a1df9867c67b515d66732ba028a73735d tree 63c2fa1f07d3e27cd443f40efdd32028d04996ef parent 9a5314432a07251c2a8d71bfc793adcf00f4122e author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: replace register address constants with sil_port[] entry Kill SIL_FIFO_* and SIL_IDE2_BMDMA and replace them with proper sil_port[] entry. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9a5314432a07251c2a8d71bfc793adcf00f4122e tree b5becc8c3cf7bfb60200bdeb344a6cfc509e9fcf parent 81c2af3561db54a4d3b439c84c58d8c2a469ec9b author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: use kzalloc Use kzalloc instead of kmalloc/memset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 81c2af3561db54a4d3b439c84c58d8c2a469ec9b tree 23c5512dc5cc3d85fa2ce91a397587848caa36da parent 219e621443a1d0bba2a6d15cbc9a1181892c6d79 author Tejun Heo Sun, 05 Mar 2006 16:03:52 +0900 committer Jeff Garzik Sun, 05 Mar 2006 02:39:55 -0500 [PATCH] sata_sil: replace sil_3112_m15w board id with sil_3112 All 3112's have m15w. Replace sil_3112_m15w with sil_3112 and flag sil_3112 with SIL_FLAG_MOD15WRITE. Signed-off-by: Tejun Heo Cc: Carlos Pardo Signed-off-by: Jeff Garzik commit 219e621443a1d0bba2a6d15cbc9a1181892c6d79 tree 2fdfdc3f463f356b651d9bee9599640b2ce52be3 parent e1fd263c772e89706dee28aa794399ac4bd6b9c1 author Tejun Heo Sun, 05 Mar 2006 14:28:51 +0900 committer Jeff Garzik Sun, 05 Mar 2006 00:36:28 -0500 [PATCH] ata_piix: rename PIIX_FLAG_IGN_PRESENT to PIIX_FLAG_IGNORE_PCS Rename PIIX_FLAG_IGN_PRESENT to PIIX_FLAG_IGNORE_PCS as Jeff requested. Signed-off-by: Tejun Heo Cc: Jeff Garzik Signed-off-by: Jeff Garzik commit e1fd263c772e89706dee28aa794399ac4bd6b9c1 tree 78e37149171da5c9947576680b2f659a8bbf9ec8 parent 28ca5c57dc9f235f7cba609f2b541328de47beb2 author Daniel Drake Sat, 04 Mar 2006 15:36:21 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:20:06 -0500 [PATCH] sata_promise: Support FastTrak TX4300/TX4310 This patch adds support for the Promise FastTrak TX4300/TX4310 4-port PCI SATA controllers based on the PDC40719 chip. Signed-off-by: Daniel Drake Signed-off-by: Jeff Garzik commit ad8c48ad3bbef078616ed4d2652d362dfd962f09 tree e400f39c22cf68621be51042a860cf402c3a9bd5 parent e72fd96e8ee3ff4dd80757172a4fe49bd92fea9c author Catalin(ux aka Dino) BOIE Sat, 04 Mar 2006 12:18:59 -0500 committer Jeff Garzik Sat, 04 Mar 2006 12:18:59 -0500 Fix io ordering problems in e100 Checking e100.c code against Documentation/io_ordering.txt I found the following problem: spin_lock_irq... write spin-unlock e100_write_flush The attached patch fix the code like this: spin_lock_irq... write e100_write_flush spin-unlock Signed-off-by: Catalin BOIE Signed-off-by: Jeff Garzik commit e72fd96e8ee3ff4dd80757172a4fe49bd92fea9c tree 2b544e905888845f7115c3302156119ac627d340 parent b27a16b7c4738ea16f6f0730caf382a3f57317bb author Mark Brown Thu, 02 Feb 2006 00:00:02 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:14:56 -0500 [PATCH] natsemi: NAPI and a bugfix As documented in National application note 1287 the RX state machine on the natsemi chip can lock up under some conditions (mostly related to heavy load). When this happens a series of bogus packets are reported by the chip including some oversized frames prior to the final lockup. This patch implements the fix from the application note: when an oversized packet is reported it resets the RX state machine, dropping any currently pending packets. Signed-off-by: Mark Brown Signed-off-by: Jeff Garzik commit b27a16b7c4738ea16f6f0730caf382a3f57317bb tree e4e881b1b0e17d3c592073d0e8aa59c0dd2d6e61 parent fb15b9dd8b3f44290a7b3b06fdfd4be2ad73f0ac author Mark Brown Thu, 02 Feb 2006 00:00:01 +0000 committer Jeff Garzik Sat, 04 Mar 2006 12:14:56 -0500 [PATCH] natsemi: NAPI and a bugfix This patch converts the natsemi driver to use NAPI. It was originally based on one written by Harald Welte, though it has since been modified quite a bit, most extensively in order to remove the ability to disable NAPI since none of the other drivers seem to provide that functionality any more. Signed-off-by: Mark Brown Signed-off-by: Jeff Garzik commit fb15b9dd8b3f44290a7b3b06fdfd4be2ad73f0ac tree cab2d85fb0ebfa33ee20e5738e11f58c0b1e16cd parent c3cf560e35509634d72cf809074834d5ea23ab66 parent a7a80d5ad3735554338199b9d976dfda5c10d3c7 author Jeff Garzik Sat, 04 Mar 2006 12:07:07 -0500 committer Jeff Garzik Sat, 04 Mar 2006 12:07:07 -0500 Merge branch 'upstream-fixes' commit c3cf560e35509634d72cf809074834d5ea23ab66 tree 47724fb236094bbd27479edb23f95ff3a85043c9 parent 46153552b43675dd4057cd526331b5bd10f39c7d author Adrian Bunk Sat, 04 Mar 2006 17:07:57 +0100 committer Jeff Garzik Sat, 04 Mar 2006 12:03:31 -0500 [PATCH] remove obsolete sis900 documentation This documentation is mostly obsolete, and should therefore either be updated or removed (this patch does the latter). Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit 46153552b43675dd4057cd526331b5bd10f39c7d tree 62b6055ee61e320dc10ea81903abbe2e7553bf4e parent f90fdc3cce3d8c8ed09615dc68cb789655078803 parent f71e130966ba429dbd24be08ddbcdf263df9a5ad author Jeff Garzik Fri, 03 Mar 2006 22:22:45 -0500 committer Jeff Garzik Fri, 03 Mar 2006 22:22:45 -0500 Merge branch 'net-const' commit f71e130966ba429dbd24be08ddbcdf263df9a5ad tree 523f10c926012f520c47894811b94944a7793fd5 parent c499ec24c31edf270e777a868ffd0daddcfe7ebd author Arjan van de Ven Fri, 03 Mar 2006 21:33:57 -0500 committer Jeff Garzik Fri, 03 Mar 2006 21:33:57 -0500 Massive net driver const-ification. commit f90fdc3cce3d8c8ed09615dc68cb789655078803 tree 116371105890850b3c302eb6728b02675914efb7 parent c96a34ec3bad5ba37ee4da4a188ad534b2fa4321 author Ralf Baechle Wed, 08 Feb 2006 23:23:26 +0000 committer Jeff Garzik Fri, 03 Mar 2006 21:23:02 -0500 [PATCH] sb1250-mac: Add support for the BCM1480 This adds support for the 4th port and other new features of the BCM1480 SOC. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit c96a34ec3bad5ba37ee4da4a188ad534b2fa4321 tree d2c46023c7a8dfbb72db255d378a6ebdfac2477b parent 8f903c708fcc2b579ebf16542bf6109bad593a1d author Komuro Fri, 03 Mar 2006 21:21:13 -0500 committer Jeff Garzik Fri, 03 Mar 2006 21:21:13 -0500 pcnet_cs: add new id (Logitec LPM-LN100TE) commit 8f903c708fcc2b579ebf16542bf6109bad593a1d tree 8fb890c05d962c2dd63f8dbc960efbd0b09802d2 parent ebe19a4ed78d4a11a7e01cdeda25f91b7f2fcb5a author Jay Vosburgh Tue, 21 Feb 2006 16:36:44 -0800 committer Jeff Garzik Fri, 03 Mar 2006 20:58:00 -0500 [PATCH] bonding: suppress duplicate packets Originally submitted by Kenzo Iwami; his original description is: The current bonding driver receives duplicate packets when broadcast/ multicast packets are sent by other devices or packets are flooded by the switch. In this patch, new flags are added in priv_flags of net_device structure to let the bonding driver discard duplicate packets in dev.c:skb_bond(). Modified by Jay Vosburgh to change a define name, update some comments, rearrange the new skb_bond() for clarity, clear all bonding priv_flags on slave release, and update the driver version. Signed-off-by: Kenzo Iwami Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik commit 28ca5c57dc9f235f7cba609f2b541328de47beb2 tree 5aa4a5942e21cd16e58e6e6aadb2cf0ffa41c366 parent 4b2f3ededc035525038a7a9247074243dac6b351 author Tejun Heo Wed, 01 Mar 2006 16:09:36 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: reorganize ata_bus_probe() Now that reset and configure are converted such that they don't modify or disable libata core data structures, reorganize ata_bus_probe() to reflect this change. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4b2f3ededc035525038a7a9247074243dac6b351 tree bec580eaa78fc8383773b8378e9736551ff955a1 parent ffeae418c12a304f6a9b6468043954d4e67a2b1e author Tejun Heo Wed, 01 Mar 2006 16:09:36 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: fold ata_dev_config() into ata_dev_configure() ata_dev_config() needs to be done everytime a device is configured. Fold it into ata_dev_configure(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ffeae418c12a304f6a9b6468043954d4e67a2b1e tree 789b1a221d2f454c496e9220246cfb094ea386dc parent d9572b1d5e60b63e27e17f1f7771c5a26dd5d81e author Tejun Heo Wed, 01 Mar 2006 16:09:35 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: separate out ata_dev_configure() Separate out ata_dev_configure() from ata_dev_identify() such that ata_dev_configure() only configures @dev according to passed in @id. The function now does not disable device on failure, it just returns appropirate error code. As this change leaves ata_dev_identify() with only reading ID, calling configure and disabling devices according to the results, this patch also kills ata_dev_identify() and inlines the logic into ata_bus_probe(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d9572b1d5e60b63e27e17f1f7771c5a26dd5d81e tree d102151d0e1b4014c920def6a3257f031ffd56d6 parent d133ecab8ff1233c2eb3ecb94f7956aa10002300 author Tejun Heo Wed, 01 Mar 2006 16:09:35 +0900 committer Jeff Garzik Fri, 03 Mar 2006 17:31:04 -0500 [PATCH] libata: convert dev->id to pointer Convert dev->id from array to pointer. This is to accomodate revalidation. During revalidation, both old and new IDENTIFY pages should be accessible and single ->id array doesn't cut it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d133ecab8ff1233c2eb3ecb94f7956aa10002300 tree f4b508d49bd57d0e8a4e8e5d7975f7513f275413 parent d33f58b883a3f624b9362227bf73fc52a6cbd4b4 author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: reimplement piix_sata_probe() Reimplement piix_sata_probe() such that it turns on PCS enable bits on all avaliable ports and check present bits after a while to determine device presence. This should help broken BIOSes. After device presence detection is complete, PCS enable bits of unoccupied bits are turned off unless the controller supports AHCI (ICH6/7 docs mandate all enables bits are always set on AHCI capable controllers). Note that PCS present bits are ignored on 6300ESB as described in the datasheet. This should fix device detection problems reported with the controller. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d33f58b883a3f624b9362227bf73fc52a6cbd4b4 tree 13a5571a6a1f3b6bf3c97c3418eec6e962231598 parent d435804803befedbda9fdc1be088e7930b60982b author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: implement proper port map Replace combined mode handling via PIIX_COMB/COMB_PATA_P0 with proper port map. PIIX now prints port configuration during initialization. ATA_FLAG_SLAVE_POSS is now turned on for SATA ports only when the slave device is actually avaliable. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d435804803befedbda9fdc1be088e7930b60982b tree 54d976e27cc6e3513ba60c1317987cd700724c15 parent 1d076e5b8d91babc018ffaefafd4f85a53c9a1b1 author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: add a couple of flags Add PIIX_FLAG_IGN_PRESENT and SCR flags. Thi patch doesn't cause any functional change. To be used by later init/scr updates. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 1d076e5b8d91babc018ffaefafd4f85a53c9a1b1 tree 8f610a291cfd45cf041fd51d91de73e051a7d44e parent 597afd21401c85bdf9441830abf431c2be6fd45f author Tejun Heo Wed, 01 Mar 2006 01:25:39 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] ata_piix: finer-grained port_info Make port_info finer-grained. This patch doesn't cause any functional change. Later init reimplementation will make use of it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 597afd21401c85bdf9441830abf431c2be6fd45f tree bf03f9f0abc7a075fe15bf6404d7c6b90632ecaa parent 348edc59a8f9b9a66700781d972c24a46a79ae86 author Tejun Heo Wed, 01 Mar 2006 01:25:38 +0900 committer Jeff Garzik Fri, 03 Mar 2006 15:39:54 -0500 [PATCH] libata: seperate out ata_class_present() Seperate out ata_class_present() from ata_dev_present(). This is useful because new reset mechanism deals with classes[] directly. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ebe19a4ed78d4a11a7e01cdeda25f91b7f2fcb5a tree cbc3ab8819704fbeb97a2a89445f57972d430fd2 parent f78fb4743dc06719084239c29dc178ad38ad2e2f author Dale Farnsworth Fri, 03 Mar 2006 10:06:20 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Remove BIT0-BIT31 #defines Now that the BIT0-BIT31 defines are no longer used by mv643xx_eth.c, remove them from mv643xx_eth.h. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit f78fb4743dc06719084239c29dc178ad38ad2e2f tree 62ebf8cc6a8de144c21a0b5cd2a3318a0e2445c2 parent 468d09f8946d40228c56de26fe4874b2f98067ed author Dale Farnsworth Fri, 03 Mar 2006 10:05:26 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Remove non-working feature: task level rx queue refill The task level rx queue refill feature hasn't ever worked (at least in 2.6) and is of dubious value. Remove it. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 468d09f8946d40228c56de26fe4874b2f98067ed tree 4f5641ffdf6782f71fbd1645908e3ba4e50aff33 parent 7303fde88a149c4cee54dae7e46d1895fa7214b4 author Dale Farnsworth Fri, 03 Mar 2006 10:04:39 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:37 -0500 [PATCH] mv643xx_eth: Clean up interrupt handling Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 7303fde88a149c4cee54dae7e46d1895fa7214b4 tree 394af13d130346d095c0830a48e3e421decf6b86 parent ff561eef9fb37c7180085e08418acfc009a9ada7 author Dale Farnsworth Fri, 03 Mar 2006 10:03:36 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Move #defines of constants to mv643xx_eth.h Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit ff561eef9fb37c7180085e08418acfc009a9ada7 tree 97010ae360fdb25238698ad811c22f6d901e1fde parent c8aaea25e0b069e9572caa74f984e109899c1765 author Dale Farnsworth Fri, 03 Mar 2006 10:02:51 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Refactor/clean up tx queue handling Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit c8aaea25e0b069e9572caa74f984e109899c1765 tree c0569ce4abd5c0b23ffbf44a4ee78dda8b6244cb parent cd6478c8aed9b2001dfff067fa66b7492a0a2ffa author Dale Farnsworth Fri, 03 Mar 2006 10:02:05 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Refactor tx command queuing code Simplify and remove redundant code for filling transmit descriptors. No changes in features; it's just a code reorganization/cleanup. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cd6478c8aed9b2001dfff067fa66b7492a0a2ffa tree 497dcf9c0f014655b51ec25ebcf596f9a4df0682 parent 12a87c644ab1862232d0916656ff2ee42f3fb873 author Dale Farnsworth Fri, 03 Mar 2006 10:01:08 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Select CONFIG_MII on CONFIG_MV643XX_ETH >From : Dale Farnsworth Recent patches for the mv643xx_eth driver now use the MII interface library. Select MII so it gets built when that driver is selected. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 12a87c644ab1862232d0916656ff2ee42f3fb873 tree e46179ede6e839bf6c80d4daba5c04aa536eddc8 parent e38fd1a055cf4038c423bd841859b01aeb07d1b0 author Dale Farnsworth Fri, 03 Mar 2006 10:00:22 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Rename "channels" to "queues" Use better terminology for HW queues. No functional changes. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit e38fd1a055cf4038c423bd841859b01aeb07d1b0 tree 5349f6114cfb86f7b9bc6b57ec1f1b2ca39e01e3 parent d5f9558a7778d3f7dc3c9e0d5cbe7318710532f8 author Dale Farnsworth Fri, 03 Mar 2006 09:59:28 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Fix misplaced parenthesis in mv643xx_eth_port_disable_rx This bug could result in a system hang. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit d5f9558a7778d3f7dc3c9e0d5cbe7318710532f8 tree f134b6b492b0d4bb6442f7402e9697def25f272a parent 0f15a8fae8b8558f5a9b0fec770846c487c779f6 author Dale Farnsworth Fri, 03 Mar 2006 09:58:29 -0700 committer Jeff Garzik Fri, 03 Mar 2006 12:12:36 -0500 [PATCH] mv643xx_eth: Remove duplicate includes of linux/in.h and linux/ip.h Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 8cbe84f33a8d420d8c8228599bc042cb31c569fa tree 041885dcbcb6db099fcd442e8d0f2c3c7f9c0883 parent d15549acfedd70b2bd97a5876ecd59527fa97671 author Adrian Bunk Tue, 28 Feb 2006 04:40:51 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:15:29 -0300 V4L/DVB (3399a): cpia2/cpia2_v4l.c cleanups - make 2 needlessly global functions static - remove cpia2_setup(): the driver already allows setting parameters through module_param(), and there's no reason for having two different ways for setting the same parameters Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit d15549acfedd70b2bd97a5876ecd59527fa97671 tree 90993c3de43f038ca45f4a4318cd04deeac81740 parent 9a7871ba111862b1515719994df66eeda9debbd1 author Ricardo Cerqueira Fri, 03 Mar 2006 12:13:42 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:13:42 -0300 V4L/DVB (3197a): IR keymaps are exported by the ir-common module now Moved keymaps to the ir-common module, and export them from there, instead of #including them in each module Included missing files from V4L/DVB(3197). Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 9a7871ba111862b1515719994df66eeda9debbd1 tree 70272b8681010e6ccf5df443a8211316d8208a5e parent ba52429cb4e9ccd2e6417205a3f7d1f78356e236 author Michael Krufky Mon, 27 Feb 2006 15:22:49 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:13:27 -0300 V4L/DVB (3399): ELSA EX-VISION 500TV: fix incorrect PCI subsystem ID - ELSA EX-VISION 500TV was incorrectly programmed to have the same subsystem ID as ELSA EX-VISION 300TV, (1048:226b) - This changeset replaces the incorrect subsystem ID (1048:226b) with the correct one (1048:226a) for the ELSA EX-VISION 500TV. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ba52429cb4e9ccd2e6417205a3f7d1f78356e236 tree 1573cf61c25e47daa66985766171606f6dece77a parent 420f32fe4e3eed466a6563e15a89f4688134cc98 author Michael Krufky Mon, 27 Feb 2006 14:38:17 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:12:39 -0300 V4L/DVB (3398): ELSA EX-VISION 700TV: fix incorrect PCI subsystem ID - Corrected autodetection for saa7130 card: subsystem: 1048:226c, board: ELSA EX-VISION 700TV Signed-off-by: TAMUKI Shoichi Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 420f32fe4e3eed466a6563e15a89f4688134cc98 tree 5d37d8b7de1582d82c3dc6f39e59e6135750f633 parent df8cf70683ba3109756e20c50e0fefe24736564f author Nico Sabbi Fri, 03 Mar 2006 12:11:28 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:11:28 -0300 V4L/DVB (3396): Add DVB-T support for the LifeView DVB Trio PCI card This patch adds DVB-T support, no DVB-S yet Signed-off-by: Nico Sabbi Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit df8cf70683ba3109756e20c50e0fefe24736564f tree ac156d40651bf23f1ff79a347b77ec357afc86a5 parent 4a287cfeea7056dc71d2bc352ae490a2a5bcceb0 author Hartmut Hackmann Fri, 03 Mar 2006 12:09:26 -0300 committer Mauro Carvalho Chehab Fri, 03 Mar 2006 12:09:26 -0300 V4L/DVB (3395): Fixed Pinnacle 300i DVB-T support - fixed tda9886 port 2 setting - turned remote control receiver off via saa7134 GPIO to avoid i2c hangs - modified tda9886 client calls to direct i2c access to allow proper return to analog mode - allow mode change to V4L2_TUNER_DIGITAL_TV in tuner VIDIOC_S_FREQUENCY client call Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit dd9fbb52134693f1394a928c05d5f3cd3fdaf6e0 tree f3f0ec521029685c6d5436b6770201111f80d8f9 parent 39a112403fd4c6cd2215b5a59ff079e42eb824a4 author James Bottomley Thu, 02 Mar 2006 16:01:31 -0600 committer James Bottomley Fri, 03 Mar 2006 08:58:10 -0600 [SCSI] make some sas class properties optional aic94xx doesn't have a use for the bay or enclosure identifiers. Also, I think it's not going to need a get_linkerrors(), so wire up all of these exported properties as conditional on the underlying function support. Signed-off-by: James Bottomley commit 39a112403fd4c6cd2215b5a59ff079e42eb824a4 tree 28aa3ca27e6c32aea24457547a79ecfca0602762 parent 7e6dff62dad539cbd608bb3b8b833193d13f00ac author Christoph Hellwig Tue, 14 Feb 2006 18:46:22 +0100 committer James Bottomley Thu, 02 Mar 2006 22:56:40 -0600 [SCSI] qla2xxx: use kthread_ API Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. Also switch from semaphore-based thread wakeup to wake_up_process. Signed-off-by: Christoph Hellwig Acked-By: Andrew Vasquez Signed-off-by: James Bottomley commit 7e6dff62dad539cbd608bb3b8b833193d13f00ac tree 71790af18bc75c9c0d2ebf7f3aefded9860a3cfe parent c92f222e1f14588171e63b550ca8c85fa9130061 author James Bottomley Thu, 02 Mar 2006 14:12:56 -0600 committer James Bottomley Thu, 02 Mar 2006 22:36:58 -0600 [SCSI] add 6.0 Gbit phy definitions to the sas transport class I don't think these exist in silicon yet, but the aic94xx driver has a register setting for them. Signed-off-by: James Bottomley commit 0f15a8fae8b8558f5a9b0fec770846c487c779f6 tree cacee876371cfbcb33e8e5a5410359f4d21b67ef parent 30320be88fb9cae888eacf1f1eaae95a03720128 author Jeff Kirsher Thu, 02 Mar 2006 18:46:29 -0800 committer root Thu, 02 Mar 2006 18:46:29 -0800 e1000: Added driver comments and whitespace changes. Modified long lines of code to ensure they would not wrap beyond 80 characters. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 30320be88fb9cae888eacf1f1eaae95a03720128 tree 359ba46e6c3d17d1a6fc11b97eea2ad1bc71cca7 parent dc7c6add3493cdc71475a006b7afc3732e55abd8 author Jeff Kirsher Thu, 02 Mar 2006 18:21:57 -0800 committer root Thu, 02 Mar 2006 18:21:57 -0800 e1000: Added a performance enhancement - prefetch - this implementation of prefetch was tested on new and old hardware Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit dc7c6add3493cdc71475a006b7afc3732e55abd8 tree 28e1c24d37dddd300a0c912414e7e2484dc6b2b9 parent 8704163987882f8b989e8143ad1f87c6b7229a13 author Jeff Kirsher Thu, 02 Mar 2006 18:21:40 -0800 committer root Thu, 02 Mar 2006 18:21:40 -0800 e1000: Add copybreak when using packet split Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8704163987882f8b989e8143ad1f87c6b7229a13 tree 24e16b012722402cedba6f9fbc10dcda4a5eef20 parent 6418ecc68e1d9416451b6f78ebb2c0b077e0abf2 author Jeff Kirsher Thu, 02 Mar 2006 18:21:24 -0800 committer root Thu, 02 Mar 2006 18:21:24 -0800 e1000: Fixed the following issues with ESB2 (requires ESB2 support): - Add restriction for ESB2 to MTU size <=9216 - Removed FIFO errors which were not being used - Fixed issues with loopback - Power management change for saving state and config space - WA to disable recieves and reset device on link loss. Reset needed to be done outside the interrupt context - modified existing tx_timeout_task Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 6418ecc68e1d9416451b6f78ebb2c0b077e0abf2 tree 4fa4a491d559b388e7461192455bd0ebbca5d2b5 parent 2a1af5d7dfd809b16fb69f3f0fc073d9b6b7c6ac author Jeff Kirsher Thu, 02 Mar 2006 18:21:10 -0800 committer root Thu, 02 Mar 2006 18:21:10 -0800 e1000: Add support for new hardware (ESB2) Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 2a1af5d7dfd809b16fb69f3f0fc073d9b6b7c6ac tree aae8f3f32de4d0ca3f9bdc1dfea0d67d416a705f parent 85b22eb632dc75887ba99edad49307a02c2ae7ec author Jeff Kirsher Thu, 02 Mar 2006 18:20:43 -0800 committer root Thu, 02 Mar 2006 18:20:43 -0800 e1000: Add performance enahancement by balancing TX and RX Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 85b22eb632dc75887ba99edad49307a02c2ae7ec tree 07fca1fa18db61f6b3024ff2db290a6111356900 parent 9f68788856b134f93d9d10b19aa902924c61fc02 author Jeff Kirsher Thu, 02 Mar 2006 18:20:29 -0800 committer root Thu, 02 Mar 2006 18:20:29 -0800 e1000: Add enabled Jumbo frame support for 82573L Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 9f68788856b134f93d9d10b19aa902924c61fc02 tree 84607dc7136b5e003f31ccab24ff9cdffb1510a5 parent 329bfd0b6d5ffec00b787f1d0e68eef63d8b1d56 author Jeff Kirsher Thu, 02 Mar 2006 18:20:17 -0800 committer root Thu, 02 Mar 2006 18:20:17 -0800 e1000: Add 82573 controller support to TSO fix Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 329bfd0b6d5ffec00b787f1d0e68eef63d8b1d56 tree 1aff4ad4e26ca01c6203869a5477850e7c1c23a2 parent 7e6c9861bbc2fcd2438da910c006781784968a7c author Jeff Kirsher Thu, 02 Mar 2006 18:20:02 -0800 committer root Thu, 02 Mar 2006 18:20:02 -0800 e1000: Fix filling skb descriptors while using packet split - Simplified by calling skb_fill_page_desc(), which is more efficient. Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 7e6c9861bbc2fcd2438da910c006781784968a7c tree 42737b91df1aec190e0c930cc1e9d426316e8b29 parent 8491682986e04fe7b258e5ba1d22f9a0ea2d803e author Jeff Kirsher Thu, 02 Mar 2006 18:19:30 -0800 committer root Thu, 02 Mar 2006 18:19:30 -0800 e1000: Fix network problems when forced at 100Mb/s and to fix TSO when forced at 100Mb/s Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8491682986e04fe7b258e5ba1d22f9a0ea2d803e tree dac61abf2c1e8e859e5434783f557576226449f3 parent 8df06e504e999ff729f1b2a2e573d96bf3690dbc author Jeff Kirsher Thu, 02 Mar 2006 18:18:48 -0800 committer root Thu, 02 Mar 2006 18:18:48 -0800 e1000: Fix Quadport Wake on LAN Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 8df06e504e999ff729f1b2a2e573d96bf3690dbc tree 4087b617fe36c969577739d27fa99955362d093c parent 497fce5e72a21f45929a786bf416ac03cbe09e2f author Jeff Kirsher Thu, 02 Mar 2006 18:18:32 -0800 committer root Thu, 02 Mar 2006 18:18:32 -0800 e1000: Fix RSS if enabled in mid-connection Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 497fce5e72a21f45929a786bf416ac03cbe09e2f tree 42bd95fd55ab01df751151f967c89e99bc19c7a4 parent 20a44028f06030a71a1250ad8efb0a7fb556c3ea author Jeff Kirsher Thu, 02 Mar 2006 18:18:20 -0800 committer root Thu, 02 Mar 2006 18:18:20 -0800 e1000: Fix 82543 issue when reading eeprom Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 20a44028f06030a71a1250ad8efb0a7fb556c3ea tree 3e8bb3e77b4e0453a24aad97f3f6c3700ea6fd48 parent c5f226fe97e8025440aa330aa2c8e1c66bfdc96b author Jeff Kirsher Thu, 02 Mar 2006 18:18:08 -0800 committer root Thu, 02 Mar 2006 18:18:08 -0800 e1000: Fix dhcp issue when the skb structure fields are not filled properly Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit c5f226fe97e8025440aa330aa2c8e1c66bfdc96b tree da2a45df3a52529dec850bea57e1ec7f8bbf9b38 parent 5b66ba0db8d04d99926445bc7d9f920bb5d744ed author Jeff Kirsher Thu, 02 Mar 2006 18:17:55 -0800 committer root Thu, 02 Mar 2006 18:17:55 -0800 e1000: Fix AMT losing connectivity when switching VLAN in passive mode Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 5b66ba0db8d04d99926445bc7d9f920bb5d744ed tree acd86e028fd3856f354c703c909d1457fa60b6db parent 0989aa431636ffb347314f0e2f367fdd16d7a57f author Jeff Kirsher Thu, 02 Mar 2006 18:17:30 -0800 committer root Thu, 02 Mar 2006 18:17:30 -0800 e1000: Fix unecessary delay for 82573 controllers Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 0989aa431636ffb347314f0e2f367fdd16d7a57f tree b5890adc27313a97abe920fdfabf3f8e32b4bc7f parent 9f644d518f35903ecaff062d6e9e4f7080d80cfb author Jeff Kirsher Thu, 02 Mar 2006 18:17:16 -0800 committer root Thu, 02 Mar 2006 18:17:16 -0800 e1000: Fix lock up while setting ring parameters Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 9f644d518f35903ecaff062d6e9e4f7080d80cfb tree 10d7df285871ff51266f45350a2b0a3de21a5931 parent c1605eb37aa658b810a5a7080412d656ddce2f76 author Jeff Kirsher Thu, 02 Mar 2006 18:16:59 -0800 committer root Thu, 02 Mar 2006 18:16:59 -0800 e1000: Fix dead counters Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit c1605eb37aa658b810a5a7080412d656ddce2f76 tree c91f8a06afd19cf67cba40f687d4f662f79d8055 parent 2ade43618b0aee83a50b344171d33d85c73d01b1 author Jeff Kirsher Thu, 02 Mar 2006 18:16:38 -0800 committer root Thu, 02 Mar 2006 18:16:38 -0800 e1000: Remove Multiqueue code until we have support for MSI-X in our hardware Signed-off-by: Jeff Kirsher Signed-off-by: Jesse Brandeburg Signed-off-by: John Ronciak commit 2ade43618b0aee83a50b344171d33d85c73d01b1 tree 0a49fe46159a6ef66098a4f37935412f4f226f4c parent 75e47b36004d136edff68295420424cba3a5ccd0 parent 79dc190147f8a87718fe72928d5ceb58e09acdb9 author Jeff Garzik Thu, 02 Mar 2006 14:26:30 -0500 committer Jeff Garzik Thu, 02 Mar 2006 14:26:30 -0500 Merge branch 'lro' commit 348edc59a8f9b9a66700781d972c24a46a79ae86 tree 9d61083f1148af097eb57b0e93aea945ed225812 parent a9d01d2b49f528ffcf3093a77c66f254d297d5c8 author Tejun Heo Wed, 01 Mar 2006 19:07:27 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:56:05 -0500 [PATCH] sata_sil: remove unneeded ATA_FLAG_SRST from 3512 port info Now unneeded ATA_FLAG_SRST sneaked into sil_3512 port info while merging upstream-fixes. Kill it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a9d01d2b49f528ffcf3093a77c66f254d297d5c8 tree a76fc7358faaba4c8fefc8f7feba689980dedd2f parent 4b9d7e04a8daaf3e5afe775ec9cbbfda5e32dd5b author Tejun Heo Tue, 28 Feb 2006 17:38:10 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:48:42 -0500 [PATCH] libata: kill illegal kfree(id) Kill kfree(id) in failure path of ata_dev_read_id(). id is not dynamically allocated yet. Signed-off-by: Tejun Heo Cc: Randy Dunlap Signed-off-by: Jeff Garzik commit 4b9d7e04a8daaf3e5afe775ec9cbbfda5e32dd5b tree 78feb6e39f04f325278f5a9f5392132f8326d72a parent d2dbaad8555b9a078830ac1aab7ef7a37461c640 author Tejun Heo Thu, 23 Feb 2006 10:46:47 +0900 committer Jeff Garzik Wed, 01 Mar 2006 14:48:41 -0500 [PATCH] sata_sil24: add a new PCI ID for SiI 3124 Add a new PCI ID for SiI 3124. Reported by Silicon Image. Signed-off-by: Tejun Heo Cc: Carlos Pardo Signed-off-by: Jeff Garzik commit d2dbaad8555b9a078830ac1aab7ef7a37461c640 tree 6d455666df51db6a24834e6551e246e0c0d0d078 parent cccc65a3b60edaf721cdee5a14f68ba009341822 parent 71efa38c0eef581c69c221ceb8645f61d1e93270 author Jeff Garzik Wed, 01 Mar 2006 14:45:47 -0500 committer Jeff Garzik Wed, 01 Mar 2006 14:45:47 -0500 Merge branch 'master' commit c92f222e1f14588171e63b550ca8c85fa9130061 tree 83db58755951518865324ac880fc321e516755b9 parent 3ef0b47ee498ea183bffd9b3b4a1eef757fef4ba author James Bottomley Wed, 01 Mar 2006 09:02:49 -0600 committer James Bottomley Wed, 01 Mar 2006 09:44:04 -0600 [SCSI] mptspi: Add transport class Domain Validation This is the first half of a patch to add the generic domain validation to mptspi. It also creates a secondary "virtual" channel for raid component devices since these are now exported with no_uld_attach. What Eric and I would have really liked is to export all physical components on channel 0 and all raid components on channel 1. Unfortunately, this would result in device renumbering on platforms with mixed RAID/Physical devices which was considered unacceptable for userland stability reasons. Still to be done is to plug back the extra parameter setting and DV pieces on reset and hotplug. Signed-off-by: James Bottomley commit 75e47b36004d136edff68295420424cba3a5ccd0 tree 363c2bc1f8b5185b37f05106fec4ba2a07134182 parent 68727fed5469100bec0764207d7efb7a9ecdee29 parent 07981aa43f6aec32b875f360755ed3d14f9d5139 author Jeff Garzik Wed, 01 Mar 2006 01:59:15 -0500 committer Jeff Garzik Wed, 01 Mar 2006 01:59:15 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 68727fed5469100bec0764207d7efb7a9ecdee29 tree 7afb58ab7665b90122d3b4505be5c6c9f8bade4b parent dbfedbb98145375106cee7ec7269611d553819dc parent b5b9d6647c1cd5eee90b58941c55f874c2a7e707 author Jeff Garzik Wed, 01 Mar 2006 01:58:38 -0500 committer Jeff Garzik Wed, 01 Mar 2006 01:58:38 -0500 Merge branch 'upstream-fixes' commit 3ef0b47ee498ea183bffd9b3b4a1eef757fef4ba tree bebce8fb3f67d8359c39a5fc9fb8a936caa4d375 parent 50eba24f2e0576910a3e23dced769b7be7f3683e author Jamie Wellnitz Tue, 28 Feb 2006 19:25:39 -0500 committer James Bottomley Tue, 28 Feb 2006 19:06:03 -0600 [SCSI] lpfc 8.1.2: Change version number to 8.1.2 Change version number to 8.1.2 Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 50eba24f2e0576910a3e23dced769b7be7f3683e tree e338c335b3b019ebbeb77dc85aad1ea5f29cf1c6 parent 0c6ac8efa83a465b950fe4dca096cd7ff1937f67 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:38 -0500 committer James Bottomley Tue, 28 Feb 2006 19:05:42 -0600 [SCSI] lpfc 8.1.2: Modify RSCN handling to unregister rpis on lost FCP_TARGETs immediately Modify RSCN handling to unregister rpis on lost FCP_TARGETs immediately Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 0c6ac8efa83a465b950fe4dca096cd7ff1937f67 tree febbaea575e431c64e56ee741b3024c68e3241fe parent 8189fd19ac5ee517f276982c5947ef7f565841ad author Jamie Wellnitz Tue, 28 Feb 2006 19:25:36 -0500 committer James Bottomley Tue, 28 Feb 2006 19:05:14 -0600 [SCSI] lpfc 8.1.2: Fix panic caused by HBA resets and target side cable pulls Fix panic caused by HBA resets and target side cable pulls Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 8189fd19ac5ee517f276982c5947ef7f565841ad tree e2a02fca035aefac77043f2f93fc8659b3d65020 parent 25594c6b84ff96e156d8cf8168d68f50e07e8318 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:35 -0500 committer James Bottomley Tue, 28 Feb 2006 19:04:52 -0600 [SCSI] lpfc 8.1.2: Fixed module parameter descriptions. Fixed module parameter descriptions. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 25594c6b84ff96e156d8cf8168d68f50e07e8318 tree c692ec480f9399a940d45bdb148baf0e05bcaac5 parent 367c27134a94dce351080ae66ab87a1b296d1e64 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:34 -0500 committer James Bottomley Tue, 28 Feb 2006 19:04:28 -0600 [SCSI] lpfc 8.1.2: Code cleanup of lpfc_mbx_cmpl_config_link Code cleanup of lpfc_mbx_cmpl_config_link Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 367c27134a94dce351080ae66ab87a1b296d1e64 tree 270e6ab2fab043403c311692c518938471076981 parent 2fe165b65089925292122e9772321738627f325c author Jamie Wellnitz Tue, 28 Feb 2006 19:25:32 -0500 committer James Bottomley Tue, 28 Feb 2006 19:03:12 -0600 [SCSI] lpfc 8.1.2: Allow turning on internal loop-back mode Allow turning on internal loop-back mode Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 2fe165b65089925292122e9772321738627f325c tree 275ed8dc03c43545576cbbb4d0a2707d2b981ed3 parent 082c02667d98d3060f63382e7a695d58d4c8c5e4 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:31 -0500 committer James Bottomley Tue, 28 Feb 2006 19:02:47 -0600 [SCSI] lpfc 8.1.2: Code style changes for Discovery code Code style changes for Discovery code Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 082c02667d98d3060f63382e7a695d58d4c8c5e4 tree 5924dcbe426120200948cbabe56df5e5238be138 parent 5024ab179c13d763f95c8391f45f22309609f479 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:30 -0500 committer James Bottomley Tue, 28 Feb 2006 19:02:11 -0600 [SCSI] lpfc 8.1.2: Make lpfc_els_rsp_rps_acc and lpfc_els_rsp_rpl_acc static Make lpfc_els_rsp_rps_acc and lpfc_els_rsp_rpl_acc static Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 5024ab179c13d763f95c8391f45f22309609f479 tree 7c22b094371c8831f8724d7a2e8580a3ed394c1f parent 41415862a23f422b80eccc92cf885935139e2415 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:28 -0500 committer James Bottomley Tue, 28 Feb 2006 19:01:51 -0600 [SCSI] lpfc 8.1.2: Added support for FAN Added support for FAN Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 41415862a23f422b80eccc92cf885935139e2415 tree e3a9537653e472f15405778c4dcc678a56304848 parent d9d959c41f013439508e0fa1d31f5644d8d626ef author Jamie Wellnitz Tue, 28 Feb 2006 19:25:27 -0500 committer James Bottomley Tue, 28 Feb 2006 19:00:36 -0600 [SCSI] lpfc 8.1.2: Add ERROR and WARM_START modes for diagnostic purposes. Add ERROR and WARM_START modes for diagnostic purposes. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit d9d959c41f013439508e0fa1d31f5644d8d626ef tree 0f4e8131152858ad64de4f24e272e210c3b4204a parent 7f0b5b1913ba20ae035adbaeca176e78a53fa7a8 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:26 -0500 committer James Bottomley Tue, 28 Feb 2006 19:00:11 -0600 [SCSI] lpfc 8.1.2: Remove hba_list from struct lpfc_hba Remove hba_list from struct lpfc_hba Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 7f0b5b1913ba20ae035adbaeca176e78a53fa7a8 tree 9919be31d3cf0cef742536aec9cf885883848184 parent c9f8735beadfba403045c4423c91bbcf594b6ef2 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:24 -0500 committer James Bottomley Tue, 28 Feb 2006 18:58:02 -0600 [SCSI] lpfc 8.1.2: Correct use of the hostdata field in scsi_host Correct use of the hostdata field in scsi_host Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit c9f8735beadfba403045c4423c91bbcf594b6ef2 tree 472f7053abdfe1b18fecddf3caacdd2976e7baeb parent b28485acb930f67c014024bc3b9c01129124e566 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:23 -0500 committer James Bottomley Tue, 28 Feb 2006 18:57:23 -0600 [SCSI] lpfc 8.1.2: Misc FC Discovery changes : Misc FC Discovery changes : - Added FC_BYPASSED_MODE statistic - Corrected some log message data - Fix up Discovery infrastructure to support FAN: Allow Fabric entities to flow thru DSM Fix up linkup/linkdown unregister login processing for Fabric entities Clean up Discovery code Utilize nodev_tmo for Fabric entities - Use of 3 * ratov for CT handling timeouts - Fix up DSM to make more appropriate decisions and clean up code. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit b28485acb930f67c014024bc3b9c01129124e566 tree 1fcbc64296d1b592457f56474ce82f3870513627 parent 406d6041ace581b63a7898f3c1ef036c58c74989 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:21 -0500 committer James Bottomley Tue, 28 Feb 2006 18:56:23 -0600 [SCSI] lpfc 8.1.2: Add module parameter to limit number of outstanding commands per lpfc HBA Add module parameter to limit number of outstanding commands per lpfc HBA Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 406d6041ace581b63a7898f3c1ef036c58c74989 tree 29388d4dbafbe59382bdd8ce40981c9b48ac7738 parent 901a920f0759c6ea94255f3c2cd6ec324f7e4752 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:20 -0500 committer James Bottomley Tue, 28 Feb 2006 18:55:50 -0600 [SCSI] lpfc 8.1.2: Fixed a double insertion of mail box object to the SLI mailbox list. Fixed a double insertion of mail box object to the SLI mailbox list. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 901a920f0759c6ea94255f3c2cd6ec324f7e4752 tree 073f8d1071b0c2193fcbcda0b33a3279dd3e2cb4 parent 7062c5281c68dfdb685ec9ba25cfc7b6a15bc0fe author Jamie Wellnitz Tue, 28 Feb 2006 19:25:19 -0500 committer James Bottomley Tue, 28 Feb 2006 18:55:24 -0600 [SCSI] lpfc 8.1.2: Fixed system panic in lpfc_sli_brdreset during dynamic add of LP11K Fixed system panic in lpfc_sli_brdreset during dynamic add of LP11K Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 7062c5281c68dfdb685ec9ba25cfc7b6a15bc0fe tree 00699178b6bf29ce87b8f98e4cf7205e9cd6d648 parent 6ad425356bba9664393b579d81df8135ca1510e6 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:17 -0500 committer James Bottomley Tue, 28 Feb 2006 18:54:09 -0600 [SCSI] lpfc 8.1.2: Explicitly initialize the skip_post argument to lpfc_sli_send_reset Explicitly initialize the skip_post argument to lpfc_sli_send_reset on a ERATT interrupt. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 6ad425356bba9664393b579d81df8135ca1510e6 tree d8eeed5accb502d9e099e2dc9d440169a4b50e78 parent 7bb3b137abf2b7073e683c14cfe062d811d35247 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:16 -0500 committer James Bottomley Tue, 28 Feb 2006 18:53:33 -0600 [SCSI] lpfc 8.1.2: Fixed a race condition in the PLOGI retry logic. Fixed a race condition in the PLOGI retry logic. Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 7bb3b137abf2b7073e683c14cfe062d811d35247 tree 3293962805fc790ef90fd5aa28171cb419dd82c4 parent 0228aadd0fb1d8ca90efbe74291f3b5b753c2da2 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:15 -0500 committer James Bottomley Tue, 28 Feb 2006 18:52:50 -0600 [SCSI] lpfc 8.1.2: Handling of ELS commands RRQ, RPS, RPL and LIRR correctly Handling of ELS commands RRQ, RPS, RPL and LIRR correctly Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 0228aadd0fb1d8ca90efbe74291f3b5b753c2da2 tree 739ef15f5560cbccda5aa2236c9678af785f5b10 parent 0c71fd9e433c032c08e85a955471bc03138afa80 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:13 -0500 committer James Bottomley Tue, 28 Feb 2006 18:51:38 -0600 [SCSI] lpfc 8.1.2: Remove unused SLI_IOCB_HIGH_PRIORITY Remove unused SLI_IOCB_HIGH_PRIORITY Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 0c71fd9e433c032c08e85a955471bc03138afa80 tree dba4b0012622016cf2e86a7c0db5042df2354ee7 parent 3bbae37ab42d9d7d6c707e275ea944104a1f38ca author Jamie Wellnitz Tue, 28 Feb 2006 19:25:12 -0500 committer James Bottomley Tue, 28 Feb 2006 18:51:19 -0600 [SCSI] lpfc 8.1.2: Remove unreferenced cfg_fcp_bind_method from struct lpfc_hba Remove unreferenced cfg_fcp_bind_method from struct lpfc_hba Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 3bbae37ab42d9d7d6c707e275ea944104a1f38ca tree 306a7a3b7dbdc02eb27099f3d5669007c7f6d752 parent 32f95792500794a0a7cce266b7dafb2bee323bf8 author Jamie Wellnitz Tue, 28 Feb 2006 19:25:11 -0500 committer James Bottomley Tue, 28 Feb 2006 18:50:44 -0600 [SCSI] lpfc 8.1.2: Remove unused prototypes from lpfc_crtn.h Remove unused prototypes from lpfc_crtn.h Signed-off-by: Jamie Wellnitz Signed-off-by: James Bottomley commit 9585da3729e7e27bf22818625c10ac6c64ebb609 tree 8c8d46f7f2cc933fdf75a6a75cf593a63f7b8717 parent 8080d5497146d5d27d9e8e78229d1adc7fe280cf parent 6749c5507388f3fc3719f57a54b540ee83f6661a author Kumar Gala Tue, 28 Feb 2006 11:25:22 -0600 committer Kumar Gala Tue, 28 Feb 2006 11:25:22 -0600 Merge branch 'master' of git+ssh://galak@master.kernel.org/pub/scm/linux/kernel/git/galak/powerpc commit 32f95792500794a0a7cce266b7dafb2bee323bf8 tree f7565bd227ffbb71b72f306de84bb1dca3bd0917 parent ffedb4522571ac170f941678d138a31bc0884ab4 author Brian King Wed, 22 Feb 2006 14:28:24 -0600 committer James Bottomley Mon, 27 Feb 2006 23:38:59 -0600 [SCSI] scsi: Handle device_add failure in scsi_alloc_target Fixes scsi to handle device_add failure in scsi_alloc_target. Without this patch, if this call were to fail, we can oops when we free the target. Signed-off-by: Brian King Signed-off-by: James Bottomley commit ffedb4522571ac170f941678d138a31bc0884ab4 tree 996572da6cecf4295c730b13c959d5d19836a8c5 parent 1fa44ecad2b86475e038aed81b0bf333fa484f8b author James Bottomley Thu, 23 Feb 2006 14:27:18 -0600 committer James Bottomley Mon, 27 Feb 2006 23:37:45 -0600 [SCSI] fix scsi process problems and clean up the target reap issues In order to use the new execute_in_process_context() API, you have to provide it with the work storage, which I do in SCSI in scsi_device and scsi_target, but which also means that we can no longer queue up the target reaps, so instead I moved the target to a state model which allows target_alloc to detect if we've received a dying target and wait for it to be gone. Hopefully, this should also solve the target namespace race. Signed-off-by: James Bottomley commit 6749c5507388f3fc3719f57a54b540ee83f6661a tree c069f990f86b020a14b50759d0c75475eedde186 parent 2cf82c0256b198ae28c465f2c4d7c12c836ea5ea parent 56ec6462af9cba56a04439154e5768672d6f390f author Paul Mackerras Tue, 28 Feb 2006 16:35:24 +1100 committer Paul Mackerras Tue, 28 Feb 2006 16:35:24 +1100 Merge ../powerpc-merge commit 1fa44ecad2b86475e038aed81b0bf333fa484f8b tree 62e9e9aac0aaf64e6f8e69809d8ab513e22346a1 parent ba3af0aff042caa1f41b5f7164cab37c717b8811 author James Bottomley Thu, 23 Feb 2006 12:43:43 -0600 committer James Bottomley Mon, 27 Feb 2006 23:34:40 -0600 [SCSI] add execute_in_process_context() API We have several points in the SCSI stack (primarily for our device functions) where we need to guarantee process context, but (given the place where the last reference was released) we cannot guarantee this. This API gets around the issue by executing the function directly if the caller has process context, but scheduling a workqueue to execute in process context if the caller doesn't have it. Signed-off-by: James Bottomley commit ba3af0aff042caa1f41b5f7164cab37c717b8811 tree 62f0b592202522a5a92fc870a5c44ee854b1f90f parent 6d73c8514da241c6b1b8d710a6294786604d7142 author Mike Christie Wed, 22 Feb 2006 02:11:59 -0600 committer James Bottomley Mon, 27 Feb 2006 23:32:39 -0600 [SCSI] don't call ips_eh_reset in ips_queue to avoid deadlock When the locking was changed in the eh code ips_eh_reset was changed so that it was a wraper around __ips_eh_reset and all ips_eh_reset does is grab the host lock and then calls __ips_eh_reset. In the queuecommand, ips_queue is called with the host_lock held so if it calls ips_eh_reset we will have a problem. This patch just has ips_queue call __ips_eh_reset. Patch is only compile tested. I do not have the HW. Signed-off-by: Mike Christie Acked-by: Hammer, Jack Signed-off-by: James Bottomley commit 6d73c8514da241c6b1b8d710a6294786604d7142 tree 896fdd4d3f2d7094dc75a774f8ae2128d0fcb1c5 parent fc25307d06f524d6c04b371b236dc9e62186058c author Al Viro Thu, 23 Feb 2006 02:03:16 +0100 committer James Bottomley Mon, 27 Feb 2006 23:31:07 -0600 [SCSI] scsi_lib: fix recognition of cache type of Initio SBP-2 bridges Regardless what mode page was asked for, Initio INIC-14x0 and INIC-2430 always return page 6 without mode page headers. Try to recognise this as a special case in scsi_mode_sense and setting the mode sense headers accordingly. Signed-off-by: Al Viro Signed-off-by: James Bottomley commit fc25307d06f524d6c04b371b236dc9e62186058c tree f90d3f873c6ffc6644512fc21d058f2159cff1b0 parent 1bfc5d9d5eb8e1a2efacc306bc55c248ed259a8e author Matthew Wilcox Sat, 18 Feb 2006 20:52:31 -0700 committer James Bottomley Mon, 27 Feb 2006 23:26:56 -0600 [SCSI] Improve message printing code Fix a bug where we would consume one byte too many in the message printing code. Add support for 256-byte long messages. Add support for the Modify Bidirectional Data Pointer message. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1bfc5d9d5eb8e1a2efacc306bc55c248ed259a8e tree 503f6cd4f481e16db7c3b00326e07b0dca8942e8 parent 8cac814501677e9f6a824cf4d423122ac8d67fcb author Alan Stern Thu, 09 Feb 2006 15:26:18 -0500 committer James Bottomley Mon, 27 Feb 2006 23:24:09 -0600 [SCSI] Recognize missing LUNs for non-standard devices Some non-standard SCSI targets or protocols, such as USB UFI, report "no LUN present" by setting the Peripheral Device Type to 0x1f and the Peripheral Qualifier to 0 (not 3 as the standard requires) in the INQUIRY response. This patch (as650b) adds a new target flag and code to accomodate such targets. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 8cac814501677e9f6a824cf4d423122ac8d67fcb tree 60dfd19ceaf02739cbab9d9b42cb6b8e9c11e543 parent fe27381d16c6683c55e618360d0d11bd43647e43 author Christoph Hellwig Mon, 06 Feb 2006 15:40:45 +0100 committer James Bottomley Mon, 27 Feb 2006 23:08:37 -0600 [SCSI] aic7xxx: semaphore to completion conversion On Tue, Jan 31, 2006 at 06:20:18PM +0100, Christoph Hellwig wrote: > switch eh_sem to a completion. due to wait_for_completion_timeout this > also nicely simplifies the code. Unfortunately it's untested, so if > someone with the hardware could give it a try that would be nice. Once > it works the same thing can be applied to aic79xx. New version that switches to the common onstack completion and just a pointer in the platform_data struct idiom. This gets rid of all the flags fiddling. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit fe27381d16c6683c55e618360d0d11bd43647e43 tree 142cd1c8661480081b293fe50de9354b0b181ffd parent 38e14f895b212943995379dea824cc52b0c25991 author Christoph Hellwig Tue, 14 Feb 2006 18:45:06 +0100 committer James Bottomley Mon, 27 Feb 2006 22:55:14 -0600 [SCSI] aacraid: use kthread_ API Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. Signed-off-by: Christoph Hellwig Acked-by: Salyzyn, Mark Signed-off-by: James Bottomley commit 38e14f895b212943995379dea824cc52b0c25991 tree 54d6f6b76eba15f92f9cd991bfd3329b2884ea59 parent a012564136a665f8d63443c057ba368572b483df author James Bottomley Fri, 17 Feb 2006 14:58:47 -0800 committer James Bottomley Mon, 27 Feb 2006 22:55:13 -0600 [SCSI] Add EXPORT_SYMBOL for spi msg functions Signed-off-by: James Bottomley commit a012564136a665f8d63443c057ba368572b483df tree bc70eb34b786be000b3465d16e8729f1644ea5a5 parent e3094447e013a59ccedcf60f6055f18225bd8465 author Christoph Hellwig Thu, 16 Feb 2006 13:31:47 +0100 committer James Bottomley Mon, 27 Feb 2006 22:55:13 -0600 [SCSI] sas: add support for enclosure and bad ID rphy attributes Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit e3094447e013a59ccedcf60f6055f18225bd8465 tree dce18a16c3879fb3df85e1be9ba5e7e3e91f3eb3 parent ae198df37775e4471fae0b023061667275b2f71b author Christoph Hellwig Thu, 16 Feb 2006 13:25:36 +0100 committer James Bottomley Mon, 27 Feb 2006 22:55:12 -0600 [SCSI] mptsas: add support for enclosure and bay identifier attributes Adds support to retrieve the enclosure and bay identifiers. This patch is from Eric with minor modifications from me, rewritten from a buggy patch of mine, based on the earlier CSMI implementation from Eric.. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit ae198df37775e4471fae0b023061667275b2f71b tree 3a361e4868bc055e79ea9fa38ecaa317cb959e9c parent 0320503dce208c03f296a09d9a18a992ab88cbd5 author Ralf Baechle Thu, 09 Feb 2006 11:16:27 -0500 committer James Bottomley Mon, 27 Feb 2006 22:55:11 -0600 [SCSI] jazz_esp: Fix sparse warnings. Using plain integer as NULL pointer. Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit 0320503dce208c03f296a09d9a18a992ab88cbd5 tree 8ccaaa00ad70d370b2d06381cdabcdc45777c1f2 parent e24d873d250f9999ad3703f220e3759c1fb70998 author Ralf Baechle Thu, 09 Feb 2006 11:15:49 -0500 committer James Bottomley Mon, 27 Feb 2006 22:55:11 -0600 [SCSI] jazz_esp: Delete useless prototype Signed-off-by: James Bottomley commit e24d873d250f9999ad3703f220e3759c1fb70998 tree c35506de006417b827bbaf62fc0e532df6ad39b3 parent 6ea3c0b2dac0d6a857d6bc010e544f4c901fff78 author Matthew Wilcox Tue, 07 Feb 2006 08:05:26 -0700 committer James Bottomley Mon, 27 Feb 2006 22:55:10 -0600 [SCSI] Make spi_print_msg more consistent Almost all the output from spi_print_msg() has a trailing space. This patch fixes up the three cases that don't. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 6ea3c0b2dac0d6a857d6bc010e544f4c901fff78 tree 0650d6e8b5be747eb192e558dd90e875ca7a13fb parent b0dc1db15225d5801bf3105966c9ce12c5142013 author Matthew Wilcox Tue, 07 Feb 2006 07:54:46 -0700 committer James Bottomley Mon, 27 Feb 2006 22:55:09 -0600 [SCSI] Add spi_populate_*_msg functions Introduce new helpers: - spi_populate_width_msg() - spi_populate_sync_msg() - spi_populate_ppr_msg() and use them in drivers which already enable the SPI transport. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b0dc1db15225d5801bf3105966c9ce12c5142013 tree d2cb690585b8e45da3efbb80099b559954dd490e parent ea697e456a278fb74a925a6c6befe04054520994 author Matthew Wilcox Fri, 17 Feb 2006 13:18:41 -0700 committer James Bottomley Mon, 27 Feb 2006 22:55:08 -0600 [SCSI] ncr53c8xx update Delete unused NAME53C definition Remove use of the M_* constants; use the common SCSI constants instead Translate some remaining German Add a missing changelog entry Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit ea697e456a278fb74a925a6c6befe04054520994 tree 2f38fa647b17848b7c788addbd2187b1f972a3fa parent a97a83a06b44d4d1cb01191423caf9813a150b95 author Matthew Wilcox Tue, 07 Feb 2006 08:01:02 -0700 committer James Bottomley Mon, 27 Feb 2006 22:55:07 -0600 [SCSI] unused show_spi_transport_period_helper parameter show_spi_transport_period_helper() doesn't need the class_device parameter Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit a97a83a06b44d4d1cb01191423caf9813a150b95 tree f74949bd8b8374036d19947b43f3e6d239eb5710 parent 1acc0b0ba409dcf4909890fb33e0829f7fd400be author Matthew Wilcox Sun, 05 Feb 2006 08:01:33 -0700 committer Mon, 27 Feb 2006 22:55:07 -0600 [SCSI] fix uninitialized variable error in __scsi_add_device, sdev may be uninitialised if scsi_host_scan_allowed() returns false. Fix by initialising at the top of the routine. Also rely on the fact that scsi_probe_and_add_lun() only actually fills in the sdev pointer if the SCSI_SCAN_LUN_PRESENT case (so no need to check the return value). Signed-off-by: James Bottomley commit 1acc0b0ba409dcf4909890fb33e0829f7fd400be tree f4590439d51664e68745a8f427fae91b75b520ee parent 03fbcbcd57e9d1bc5a4fe6a81c1845e7365ddabc author Andrew Morton Wed, 04 Jan 2006 18:30:03 -0800 committer Mon, 27 Feb 2006 22:55:06 -0600 [SCSI] cciss: kfree(NULL) is legal Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 03fbcbcd57e9d1bc5a4fe6a81c1845e7365ddabc tree 8423136d0945691df0fb5537ff4b1e97a51deac1 parent f8a88b19b9d4f59bd625b4852c1b1138a5cf89f3 author Adrian Bunk Wed, 25 Jan 2006 02:00:52 +0100 committer Mon, 27 Feb 2006 22:55:06 -0600 [SCSI] drivers/message/fusion/mptfc.c: make 2 functions static This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit f8a88b19b9d4f59bd625b4852c1b1138a5cf89f3 tree b57dab8bea1b8575da4e2922f798815b2ac979b5 parent 4f8d98abaf957691f9543b9b1b610d49aa0f662b author Linas Vepstas Fri, 03 Feb 2006 16:52:42 -0600 committer Mon, 27 Feb 2006 22:55:05 -0600 [SCSI] PCI Error Recovery: IPR SCSI device driver Various PCI bus errors can be signaled by newer PCI controllers. This patch adds the PCI error recovery callbacks to the IPR SCSI device driver. The patch has been tested, and appears to work well. Signed-off-by: Linas Vepstas Signed-off-by: Brian King Signed-off-by: James Bottomley commit 4f8d98abaf957691f9543b9b1b610d49aa0f662b tree 7bd33445509f221d2bcdf543942e757efb6121bb parent 5e3c34c1e988a0dfe177c38cf324e8e321c55ef5 author Moore, Eric Thu, 02 Feb 2006 17:20:05 -0700 committer Mon, 27 Feb 2006 22:55:04 -0600 [SCSI] fusion - mptlan - remove wierd humor print Removes wierd humor, and bad language printk in mptlan. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 5e3c34c1e988a0dfe177c38cf324e8e321c55ef5 tree 812e95ccda5860a16fe3f53343499d2c607cbf23 parent c67a848c3587296fe9794c95d1be7109c4c85461 author Greg KH Wed, 18 Jan 2006 16:17:46 -0800 committer Mon, 27 Feb 2006 22:55:04 -0600 [SCSI] Remove devfs support from the SCSI subsystem As devfs has been disabled from the kernel tree for a number of months now (5 to be exact), here's a patch against 2.6.16-rc1-git1 that removes support for it from the SCSI subsystem. The patch also removes the scsi_disk devfs_name field as it's no longer needed. Signed-off-by: Greg Kroah-Hartman Signed-off-by: James Bottomley commit c67a848c3587296fe9794c95d1be7109c4c85461 tree bff00094bff5d8ef71273559da2d2c7c698addf7 parent 24669f75a3231fa37444977c92d1f4838bec1233 author Matthew Wilcox Tue, 17 Jan 2006 11:54:24 -0700 committer Mon, 27 Feb 2006 22:55:02 -0600 [SCSI] Neaten comments in scsi_cmnd.h Wrap these two comments at 80 columns Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 24669f75a3231fa37444977c92d1f4838bec1233 tree 3b64076b7d031aa31b95caeb512fb7e68b5fd28f parent b9a33cebac70d6f67a769ce8d4078fee2b254ada author Jes Sorensen Mon, 16 Jan 2006 10:31:18 -0500 committer Mon, 27 Feb 2006 22:55:02 -0600 [SCSI] SCSI core kmalloc2kzalloc Change the core SCSI code to use kzalloc rather than kmalloc+memset where possible. Signed-off-by: Jes Sorensen Signed-off-by: James Bottomley commit 07981aa43f6aec32b875f360755ed3d14f9d5139 tree 21baf289bc23882f058e7ed90f80c76d01408119 parent a23f460dd0c7c9c58b03494c7819e126b2c72383 author Pete Zaitcev Sun, 26 Feb 2006 16:29:51 -0800 committer John W. Linville Mon, 27 Feb 2006 20:14:58 -0500 [PATCH] ieee80211_geo.c: remove frivolous BUG_ON's I have come to consider BUG_ON generally harmful. The idea of an assert is to prevent a program to execute past a point where its state is known erroneous, thus preventing it from dealing more damage to the data (or hiding the traces of malfunction). The problem is, in kernel this harm has to be balanced against the harm of forced reboot. The last straw was our softmac tree, where "iwlist eth1 scan" causes a lockup. It is absolutely frivolus and provides no advantages a normal assert has to provide. In fact, doing this impedes debugging. Signed-off-by: Pete Zaitcev Signed-off-by: John W. Linville commit a23f460dd0c7c9c58b03494c7819e126b2c72383 tree a3570122d5475eefc46c6550c97042d96eceb2a6 parent acfaf10be5c19f7dceb9d7372039dc45af66b100 author Dan Williams Mon, 27 Feb 2006 16:28:36 -0500 committer John W. Linville Mon, 27 Feb 2006 20:14:58 -0500 [PATCH] wireless/airo: Remove 'Setting transmit key' info messages These messages end up polluting logs when things like NetworkManager or wpa_supplicant are controlling the driver. They aren't really that useful, and no other drivers output messages like this when the user fiddles with encryption keys. Users can use iwconfig and other wireless-tools methods to determine and change the current transmit key if they wish to do so manually. Therefore, remove the messages. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit acfaf10be5c19f7dceb9d7372039dc45af66b100 tree 75dce83cc4495a13056fde1c2166323e07373858 parent c45ae87ec9d03c9adfc466a6b560cb38b154813a parent 4832843d773462643cc471ca715382f5e509afb3 author John W. Linville Mon, 27 Feb 2006 20:13:10 -0500 committer John W. Linville Mon, 27 Feb 2006 20:13:10 -0500 Merge branch 'upstream-fixes' commit c45ae87ec9d03c9adfc466a6b560cb38b154813a tree 1fb252ca1a9e8db03f4c557017d1d6a7039f4733 parent 9f5a405b6843933c1cae5826046a5dd6357f142a parent 09e4f9029da1b53e835555c353a89c36b71233b0 author John W. Linville Mon, 27 Feb 2006 20:12:42 -0500 committer John W. Linville Mon, 27 Feb 2006 20:12:42 -0500 Merge branch 'from-jgarzik-upstream' commit 9f5a405b6843933c1cae5826046a5dd6357f142a tree bcdbb0175d37b780551b71c40abcde964a8905eb parent b7cffb028abbffff3ba0b87268ecb775ed354049 parent 051d3cbd96909b2fe6b5038e7bbe77f41356db05 author John W. Linville Mon, 27 Feb 2006 20:12:23 -0500 committer John W. Linville Mon, 27 Feb 2006 20:12:23 -0500 Merge branch 'from-linus' commit 09e4f9029da1b53e835555c353a89c36b71233b0 tree 81d2a6de51b1bb3c704e5385dbc90ca79efa69bc parent 750b50ab5687125d8a1dc946d931b00acf016e2c parent dbfedbb98145375106cee7ec7269611d553819dc author John W. Linville Mon, 27 Feb 2006 19:35:48 -0500 committer John W. Linville Mon, 27 Feb 2006 19:35:48 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 7aa6ba41362a7f888ad11fdcfe51ca8d92226cd3 tree 3d7b177ee966f21d1ac6e630061bdb0b256e76d8 parent e95a9ec1bb66e07b138861c743192f06e7b3e4de author Jes Sorensen Fri, 17 Feb 2006 05:18:43 -0500 committer Tony Luck Mon, 27 Feb 2006 15:26:58 -0800 [IA64-SGI] SN2-XP reduce kmalloc wrapper inlining Take advantage of kzalloc() as well as reduce the size of code generated for the error returns in xpc_setup_infrastructure(). Signed-off-by: Jes Sorensen Acked-by: Dean Nelson Signed-off-by: Tony Luck commit cccc65a3b60edaf721cdee5a14f68ba009341822 tree a458d28f70cbe0e848596aad6005442a2621d388 parent ba70d0614728892b86b2be2f7eae0c696b436461 parent e95a9ec1bb66e07b138861c743192f06e7b3e4de author Jeff Garzik Mon, 27 Feb 2006 11:49:05 -0500 committer Jeff Garzik Mon, 27 Feb 2006 11:49:05 -0500 Merge branch 'master' commit dbfedbb98145375106cee7ec7269611d553819dc tree 81d2a6de51b1bb3c704e5385dbc90ca79efa69bc parent 7b0386921db20add25afd8678ed34a9253e512fc parent e95a9ec1bb66e07b138861c743192f06e7b3e4de author Jeff Garzik Mon, 27 Feb 2006 11:33:51 -0500 committer Jeff Garzik Mon, 27 Feb 2006 11:33:51 -0500 Merge branch 'master' commit 2cf82c0256b198ae28c465f2c4d7c12c836ea5ea tree 722bd1d117959450633105633c92cc22be8e8d61 parent f055affb89f587a03f3411c3fd49ef31295c3d48 author Paul Mackerras Mon, 27 Feb 2006 15:41:47 +1100 committer Paul Mackerras Mon, 27 Feb 2006 15:41:47 +1100 powerpc: Export variables used in conversions to/from cputime_t The inline cputime_to_foo and foo_to_cputime conversion functions in include/asm-powerpc/cputime.h refer to 5 variables, which need to be exported if those functions are to be usable from modules. Signed-off-by: Paul Mackerras commit 4a287cfeea7056dc71d2bc352ae490a2a5bcceb0 tree 627c7b3c8d893f02d79f3a57b400ecaa2dcbde8d parent 6457af5f7eac49ff8e072fdc98c986d4ac874b04 author Duncan Sands Mon, 27 Feb 2006 00:09:48 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:48 -0300 V4L/DVB (3394): Bttv: correct bttv_risc_packed buffer size This patch fixes the strange crashes I was seeing after using bttv card, caused by a buffer overflow in bttv_risc_packed. The instruction buffer size calculation contains two errors: (a) a non-zero padding value can push the start of the next bpl section to just before a page border, leading to more scanline splits and thus additional instructions. (b) the first DMA region can be smaller than one page, so there can be a scanline split even if bpl*lines is smaller than PAGE_SIZE. For example, consider the case where offset is 0, bpl is 2, padding is 4094, lines is smaller than 2048, the first DMA region has size 1 and all others have size PAGE_SIZE, assumed to equal 4096. Then all bpl regions cross page borders and the number of instructions written is 2*lines+2, rather than lines+2 (the current estimate). With this patch the number of instructions for this example is estimated to be 2*lines+3. Also, the BUG_ON that was supposed to catch buffer overflows contained a thinko causing it fire only if the buffer was overrun by a factor of 16 or more, so it fixes the the BUG_ON's (using sizeof rather than "4"). Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab commit 6457af5f7eac49ff8e072fdc98c986d4ac874b04 tree c262704a5f183ee1866879597394b904d59845b8 parent dadaff2db46aae917ccdbceb2cd2ecac75767435 author Ian Pickworth Mon, 27 Feb 2006 00:09:45 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:45 -0300 V4L/DVB (3393): Cx88: reduce excessive logging - fix temporary debug code by changing printk to dprintk at level 1. - move CORE_IOCTL messages from level 1 to level 2. - this should help with selective debugging, while not filling people's logs up during normal use. Signed-off-by: Ian Pickworth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit dadaff2db46aae917ccdbceb2cd2ecac75767435 tree 8db97f6b92417de624cba7bb447d2d38439f968d parent df5a4f4fd378367db1f48e92f46ce312814cf745 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:41 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:41 -0300 V4L/DVB (3392a): XC3028 code removed from -git versions - Current xc3028 support is still experimental, requiring more work to be sent to mainstream. It will be kept only at mercurial tree on http://linuxtv.org/hg until fixed. Signed-off-by: Mauro Carvalho Chehab commit df5a4f4fd378367db1f48e92f46ce312814cf745 tree cd83bf68b03594fbc31b40296a0b8e367060eb7f parent 918c4563d9c0fafce0072ce0962a703ceba8f05d author Manu Abraham Mon, 27 Feb 2006 00:09:37 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:37 -0300 V4L/DVB (3392): Do a RESYNC for all cards After a FIFO corruptions occurrs (generally due to buffer overflow), FIFO contents needs to be discarted. Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 918c4563d9c0fafce0072ce0962a703ceba8f05d tree bfde785cadabb027602cb2eecac123ae20f6b6e6 parent 6baad3f041eec7c31ad88b52eb44205987148eba author Uwe Bugla Mon, 27 Feb 2006 00:09:34 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:34 -0300 V4L/DVB (3391): Documentation update Signed-off-by: Uwe Bugla Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 6baad3f041eec7c31ad88b52eb44205987148eba tree 403a76e860aefe8d1d8f6d9b71a9ef131f0e248c parent e7ac46469c247a931f760354deaed9cf10b75fde author Manu Abraham Mon, 27 Feb 2006 00:09:32 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:32 -0300 V4L/DVB (3390): Fix module parameters Now, root may change parameters while module is running. Thanks to Edgar Toerning Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit e7ac46469c247a931f760354deaed9cf10b75fde tree 3dd4158a80601bd5aad0160f96f6c33e213f0e9e parent 1e7eb89ba936fc1db54e247a336f3f55bdbc644d author Manu Abraham Mon, 27 Feb 2006 00:09:29 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:29 -0300 V4L/DVB (3389): Fix broken IF-OUT Relay handling Fixed broken IF-OUT on pinnacle sat board. Thanks to Edgar Toernig Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 1e7eb89ba936fc1db54e247a336f3f55bdbc644d tree 1866b11f6590fe22ce7bd532578cb0a7cdc88d59 parent 3b81fec4328799e94789e8404e6e8b7218c096f6 author Manu Abraham Mon, 27 Feb 2006 00:09:25 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:25 -0300 V4L/DVB (3388): Ignore DiSEqC messages > 6 and < 3 Ignore invalid messages on cx24110 frontend. Thanks to Edgar Toernig Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 3b81fec4328799e94789e8404e6e8b7218c096f6 tree bf46e6ebbbdae9bacf0947ea8e2311c4e1b12d88 parent 1be11e367f25d3874276d56d1c4ffed5b3cc3bb9 author Peter Beutner Mon, 27 Feb 2006 00:09:23 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:23 -0300 V4L/DVB (3386): Dvb-core: remove dead code The field "dvr" in struct dmxdev is competely unused. Remove it and code which allocates, initializes and frees it. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 1be11e367f25d3874276d56d1c4ffed5b3cc3bb9 tree 147c7388a819c07dcfd5d65d1ada9155a708f178 parent 981a16f185bdf105f0d411d87f5c276d3da60e64 author Johannes Stezenbach Mon, 27 Feb 2006 00:09:20 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:20 -0300 V4L/DVB (3385): Dvb: fix __init/__exit section references in av7110 driver use __devinit/__devexit/__devexit_p() where appropriate Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 981a16f185bdf105f0d411d87f5c276d3da60e64 tree d0f0ed11addec143cb7dde02af78e30d424597a1 parent b9ee9ad7cb91301aae0fc12e11f79ba119c133d9 author Mattias Nordstrom Mon, 27 Feb 2006 00:09:17 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:17 -0300 V4L/DVB (3382): Fix stv0297 for qam128 on tt c1500 (saa7146) I have a TT C1500 card (saa7146, STV0297) which had problems tuning channels at QAM128 (like the ones in the Finnish HTV / Welho network). A fix which seems to work perfectly so far is to change the delay for QAM128 to the same values as for QAM256 in stv0297_set_frontend(), Signed-off-by: Mattias Nordstrom Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b9ee9ad7cb91301aae0fc12e11f79ba119c133d9 tree c36ffb3427570b6872f16715ce3b122a4aaddd43 parent 44fd06fa9002c42b367c152594cc95b7632c081d author Michael Krufky Mon, 27 Feb 2006 00:09:14 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:14 -0300 V4L/DVB (3380): TUV1236d: declare buffer as static const Make buffer a static const Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 44fd06fa9002c42b367c152594cc95b7632c081d tree 296578d5a5bb6ff131ac2c8b1fa6b88be0548153 parent 36f4f334a169e5d42721d74b5d92fda89f792b06 author Hartmut Hackmann Mon, 27 Feb 2006 00:09:11 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:11 -0300 V4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe The probing code for tda8290 changes the state of the tda9887 GP ports. The patch assumes that if probing for tda8290 failed, this must be a tda9887 and restores its power on defaults. This should solve the module load order issue with some pinnacle cards. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 36f4f334a169e5d42721d74b5d92fda89f792b06 tree 79d34a7476ff8c6a8c54fad2dfe3c2a9616c3485 parent ab33d5071de7a33616842882c11b5eb52a6c26a1 author Thilo Berger Mon, 27 Feb 2006 00:09:08 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:08 -0300 V4L/DVB (3377): Support for Satelco EasyWatch DVB-S light Support for Satelco EasyWatch DVB-S light. Signed-off-by: Thilo Berger Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit ab33d5071de7a33616842882c11b5eb52a6c26a1 tree 5484a1a0d671e7191a47a1b51d5e1ae67fc8916f parent f05cce863fa399dd79c5aa3896d608b8b86d8030 author Alan Cox Mon, 27 Feb 2006 00:09:05 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:05 -0300 V4L/DVB (3376): Add cpia2 camera support There has been a CPIA2 driver out of kernel for a long time and it has been pretty clean for some time too. This is an import of the sourceforge driver which has been stripped of - 2.4 back compatibility - 2.4 old style MJPEG ioctls A couple of functions have been made static and the docs have been repackaged into Documentation/video4linux. The rvmalloc/free functions now match the cpia driver again. Other than that this is the code as is. Tested on x86-64 with a QX5 microscope. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit f05cce863fa399dd79c5aa3896d608b8b86d8030 tree 0bca256b945576dc99ae7e6d6ce6a02968f42a09 parent 2e0d447005d2ac05b15aa21b3846815f90bafbdb author Andreas Oberritter Mon, 27 Feb 2006 00:09:00 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:09:00 -0300 V4L/DVB (3375): Add AUDIO_GET_PTS and VIDEO_GET_PTS ioctls Add two new ioctls to read the 33 bit presentation time stamp from audio and video devices as defined in ITU T-REC-H.222.0 and ISO/IEC 13818-1. Acked-by: Johannes Stezenbach Signed-off-by: Andreas Oberritter Signed-off-by: Mauro Carvalho Chehab commit 2e0d447005d2ac05b15aa21b3846815f90bafbdb tree 7b6f83db521a76fc0f7d344dd2543d00d3114322 parent 0bbb9c175211c2e114216978c9630d894c7760b3 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:58 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:58 -0300 V4L/DVB (3374): Adds debuging v4l2_memory enum Some cleanup on printing enum names. v4l2_memory now translated also to name. Signed-off-by: Mauro Carvalho Chehab commit 0bbb9c175211c2e114216978c9630d894c7760b3 tree ea70bb829debac1d37d84704f64dc66822a30f9d parent 3ed33c31a7253f2b29a3813b66bf87985d3396ac author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:55 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:55 -0300 V4L/DVB (3373): Debug messages for ioctl improved Adds field and type name to debug message. Also prints now format for type=capture. Signed-off-by: Mauro Carvalho Chehab commit 3ed33c31a7253f2b29a3813b66bf87985d3396ac tree a08dabfa2ad6330fb8334e60c5ecbb12c8cb72fd parent 41f38b43e0bfbb2ba1ef3c778f376dad8820b214 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:52 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:52 -0300 V4L/DVB (3372): Fix a small bug when constructing fps and line numbers Previously, only NTSC and PAL/M were associated to 30fps and 525 lines, so, PAL/60 were not handled properly. Signed-off-by: Mauro Carvalho Chehab commit 41f38b43e0bfbb2ba1ef3c778f376dad8820b214 tree 94a8083a12fdda21f1479f6d2fe9688a60a9e205 parent a8029170b907e7bfac5f6ea3fcd5d076e90beaf3 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:49 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:49 -0300 V4L/DVB (3371): Add debug to ioctl arguments. Added a new function that allows printing ioctl arguments. This makes easier to include debug code under v4l ioctl handling. Also fixed some declarations on internal ioctl. Signed-off-by: Mauro Carvalho Chehab commit a8029170b907e7bfac5f6ea3fcd5d076e90beaf3 tree ecfa8b075e4a605fd71a4c897391bab4e57f0f45 parent f29edc22109840be0dd8e2d7d532cabac97d9c19 author Rudo Thomas Mon, 27 Feb 2006 00:08:46 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:46 -0300 V4L/DVB (3369): LifeView FlyDVB-T Duo: add support for remote control The remote controller on the LifeView FlyDVB-T Duo card work flawlessly with the same settings as the LifeView FlyDVB-T LR301 card. Signed-off-by: Rudo Thomas Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f29edc22109840be0dd8e2d7d532cabac97d9c19 tree 607822122b014f297c2a8387f2840e3ce29e932a parent 20b5ee5d491238b8de7ba0c06945d8e3935d42e6 author Michael Krufky Mon, 27 Feb 2006 00:08:43 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:43 -0300 V4L/DVB (3368): KWorld HardwareMpegTV XPert: update comments Standard video using the cx88 broadcast decoder is working, but blackbird isn't working yet, audio is only working correctly for television mode. S-Video and Composite are working for video-only, so I have them disabled for now. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 20b5ee5d491238b8de7ba0c06945d8e3935d42e6 tree ac87266bfa3710626fb04ecb77787cee26f8ed24 parent ccb1ef199162754e80c27e5b7d20817eb73a0eab author Curt Meyers Mon, 27 Feb 2006 00:08:39 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:39 -0300 V4L/DVB (3366): Kworld ATSC110: initialize the tuner for analog mode on module load - Enable the tuv1236 tuner on the Kworld-ATSC110 card so that the tuner can be identified when tuners.ko loads. - With this change it is no longer necessary to remove and reload the tuner module in order to get the tuv1236 identified. - This code was copied from the ATI HDTV Wonder init routine (in cx88-cards.c) which also uses the TUV1236D. Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ccb1ef199162754e80c27e5b7d20817eb73a0eab tree 893bb08a38001cf5dff29854de200c681a5b0345 parent 6ba509d7c73f6cea795a71ceed6cdb7e302fc4b7 author Michael Krufky Mon, 27 Feb 2006 00:08:36 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:36 -0300 V4L/DVB (3365): Kworld ATSC110: cleanups - There is no radio with this tuner card... Thanks-to: Dwaine Garden - fixed capitalization in card name. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6ba509d7c73f6cea795a71ceed6cdb7e302fc4b7 tree 84332411c7e7c8dd68a17e8771136707cc9da56e parent fbc81c072d832a0529bdb710404e7c9dc14f3043 author Curt Meyers Mon, 27 Feb 2006 00:08:32 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:32 -0300 V4L/DVB (3363): Kworld ATSC110: enable composite and svideo inputs - corrected composite input. - verified s-video input. Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit fbc81c072d832a0529bdb710404e7c9dc14f3043 tree b2dc08b549bff330073a34be654476bc9bf9cbe6 parent 3e1410adc7cc9e8511327179b5b86864be17b7f9 author Curt Meyers Mon, 27 Feb 2006 00:08:27 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:27 -0300 V4L/DVB (3362): KWorld ATSC110: implement set_pll_input - When tuning VSB, use ANT input - When tuning QAM, use CABLE input Signed-off-by: Curt Meyers Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3e1410adc7cc9e8511327179b5b86864be17b7f9 tree 6dcbe9209a306471cd34a52487e91a11a3ad2a6b parent ecc0b94742014f21fd1ba331bb6815322800b6c8 author Andrew Burri Mon, 27 Feb 2006 00:08:23 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:23 -0300 V4L/DVB (3361): Add support for Kworld ATSC110 Signed-off-by: Andrew Burri Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ecc0b94742014f21fd1ba331bb6815322800b6c8 tree 6437d7cc5b8148975119d9858f73fd2af0b632dd parent fddd632a8f3850b3981e21a477fcb83d227353ca author Hans Verkuil Mon, 27 Feb 2006 00:08:20 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:20 -0300 V4L/DVB (3354): Fix maximum for the saturation and contrast controls. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit fddd632a8f3850b3981e21a477fcb83d227353ca tree b9524fe63477186bdcb7d43dd47e0c5bdfaa38d8 parent 4ab2b99b9f41a0a409030f1edb79a14ec2287e4b author Michael Krufky Mon, 27 Feb 2006 00:08:17 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:17 -0300 V4L/DVB (3352): Cxusb: fix lgdt3303 naming The following are specific to lgdt3303, and are being renamed to reflect this. - cxusb_lgdt330x_config renamed to cxusb_lgdt3303_config. - cxusb_lgdt330x_frontend_attach renamed to cxusb_lgdt3303_frontend_attach. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4ab2b99b9f41a0a409030f1edb79a14ec2287e4b tree c59b265753378f7450ee26d38b3cde1d6c8ed624 parent 8a9a5fbd33258b8e3e3b629a9f33254b6f1d883b author BoyZonder Mon, 27 Feb 2006 00:08:15 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:15 -0300 V4L/DVB (3349): Remote control codes for BTTV_BOARD_CONTVFMI The remote control interface for this board is the same as the one for BTTV_BOARD_CONCEPTRONIC_CTVFMI2 Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 8a9a5fbd33258b8e3e3b629a9f33254b6f1d883b tree b23f05b5d994f7a9bf99aaa559784bc462569f7b parent cb46e3c28ef8055e82dfbc64ba64dda123833036 author Ricardo Cerqueira Mon, 27 Feb 2006 00:08:11 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:11 -0300 V4L/DVB (3348): Fixed saa7134 ALSA initialization with multiple cards When multiple cards were installed, only the first card would have audio initialized, because only the first position in the array parameter defaulted to "1" To make things worse, the "enable" parameter wasn't enabled, so there was no workaround. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit cb46e3c28ef8055e82dfbc64ba64dda123833036 tree 552b9b2c74be2faaf3c19601ca8eb8146aa35eb7 parent d0456d1d67044ff2987190d0d8148a88f1a775af author Karsten Suehring Mon, 27 Feb 2006 00:08:08 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:08 -0300 V4L/DVB (3347): Pinnacle PCTV 40i: add filtered Composite2 input This patch adds another composite input to the Pinnacle PCTV 100i definition which filters the chrominace signal from the luma input. This improves video quality for Composite signals on the S-Video connector of the card. In addition the name string of the card is changed to include PCTV 40i and 50i since these cards are identical. Signed-off-by: Karsten Suehring Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d0456d1d67044ff2987190d0d8148a88f1a775af tree 50f6838782d2c4abea8ed8af0298f0214829fe4b parent 24da4e4b8dbd443c205c4ec3b2a563421e6ca319 author Tamuki Shoichi Mon, 27 Feb 2006 00:08:04 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:04 -0300 V4L/DVB (3346): Add saa713x card: ELSA EX-VISION 700TV (saa7130) Add support for ELSA EX-VISION 700TV, which is the ELSA Japan's flagship model of the software encoding TV capture card. All inputs (Television, Composite1 and S-Video) have been tested. Signed-off-by: Tamuki Shoichi Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 24da4e4b8dbd443c205c4ec3b2a563421e6ca319 tree d9beae36d067965aaf978e5edfed6a0fb5362d2c parent e2798212e3ce0057336bc0807beb3213de1dc5be author Michael Krufky Mon, 27 Feb 2006 00:08:01 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:08:01 -0300 V4L/DVB (3344): KWorld HardwareMpegTV XPert must set gpio2 - KWorld HardwareMpegTV XPert must set gpio2 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e2798212e3ce0057336bc0807beb3213de1dc5be tree 562cadc17cb49d1c055c5dc0cbd0c62437f59607 parent 47a9e50eb7719dc1bf01ac8b60f4d8758146d00e author Michael Krufky Mon, 27 Feb 2006 00:07:58 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:58 -0300 V4L/DVB (3343): KWorld HardwareMpegTV XPert: Add radio support - add radio support for KWorld HardwareMpegTV XPert - fix GPIO settings for tv and radio Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 47a9e50eb7719dc1bf01ac8b60f4d8758146d00e tree c632e7a53a450cfaca6382912b7b99e7b07434c7 parent 36b36562c4159cca890f29a603e829030fea5788 author Adrian Bunk Mon, 27 Feb 2006 00:07:55 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:55 -0300 V4L/DVB (3341): Upstream sync - make 2 structs static Signed-off-by: Adrian Bunk Acked-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 36b36562c4159cca890f29a603e829030fea5788 tree fc07077ff9153ed8608adb5dfee58f6d060787d8 parent 4592b3a08454bb018e482de230fd5f15757bba92 author Manu Abraham Mon, 27 Feb 2006 00:07:52 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:52 -0300 V4L/DVB (3340): Make a struct static Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 4592b3a08454bb018e482de230fd5f15757bba92 tree b3491fda24c7f3a03c6f2075ba1122102b1441eb parent dccd7c703a1ca006fc01d9fe2f14d15d1d17cdc5 author Adrian Bunk Mon, 27 Feb 2006 00:07:49 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:49 -0300 V4L/DVB (3337): Drivers/media/dvb/frontends/mt312.c: cleanups This patch contains the following possible cleanups: - update the Kconfig help to mention the VP310 - merge vp310_attach and mt312_attach into a new vp310_mt312_attach to remove some code duplication Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit dccd7c703a1ca006fc01d9fe2f14d15d1d17cdc5 tree 7d657ad74d0dda4a3f0473ef576a6fdea1911266 parent 176790f0681ad151c55068589092a813c689654c author Michael Krufky Mon, 27 Feb 2006 00:07:46 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:46 -0300 V4L/DVB (3336): Bt8xx documentation authors fix - use one Author per line, which allows us to add more authors later without creating a mess. - Add Michael Krufky due to -git commit 2cbeddc976645262dbe036d6ec0825f96af70da3 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 176790f0681ad151c55068589092a813c689654c tree c590e800f086de974cf9126616e0116acf922b3a parent 749eef857948a3de789b7d0e3b96d92199d723cf author Michael Krufky Mon, 27 Feb 2006 00:07:43 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:43 -0300 V4L/DVB (3335): Fix in-kernel build - remove tuner.ko build dependency on xc3028.o , which will be added again later. - fix the following build error when using the "make kernel-links" build method to symlink the latest code from the v4l-dvb repository into the kernel source: drivers/media/video/xc3028.c:31:20: em28xx.h: No such file or directory drivers/media/video/xc3028.c: In function `xc3028_init': drivers/media/video/xc3028.c:120: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:121: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:139: error: dereferencing pointer to incomplete type drivers/media/video/xc3028.c:140: error: dereferencing pointer to incomplete type make[3]: *** [drivers/media/video/xc3028.o] Error 1 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 749eef857948a3de789b7d0e3b96d92199d723cf tree dbec0c397abfc0260054b476ba1e19825b657888 parent cfcd718d492d401a7d8a7ee3a85e48164b56e2e2 author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:40 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:40 -0300 V4L/DVB (3334): Added ET61X251 fourcc type Signed-off-by: Mauro Carvalho Chehab commit cfcd718d492d401a7d8a7ee3a85e48164b56e2e2 tree e6724d27b0befb5891ad9161ea72845c8addc9fa parent 9475fb1c717ee5ce3df767b8e3b9439d341f043d author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:37 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:37 -0300 V4L/DVB (3332): XC3028 code marked with an special define option - Current xc3028 support is still experimental, requiring more work to be sent to mainstream. So, it was marked inside some defines, in order to be removed by gentree.pl stript. Script also updated to remove it. Signed-off-by: Mauro Carvalho Chehab commit 9475fb1c717ee5ce3df767b8e3b9439d341f043d tree bea4a1f4e3febaf330b603b3427e442e06ca893e parent cce91e36d74be635abb99aa1dc74951e11be8aea author Markus Rechberger Mon, 27 Feb 2006 00:07:34 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:34 -0300 V4L/DVB (3293): Fixed amux hauppauge hvr900/terratec hybrid xs Fixed amux hauppauge hvr900/terratec hybrid xs Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit cce91e36d74be635abb99aa1dc74951e11be8aea tree 07176d4606c4277d654e1e405a03c668c05a0196 parent 0004fd59d57a5875db8897966c414a88b5dad481 author Markus Rechberger Mon, 27 Feb 2006 00:07:31 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:31 -0300 V4L/DVB (3292): Fixed xc3028 firmware extractor, added terratec fw support Fixed xc3028 firmware extractor for terratec's emBDA.sys firmware Fixed delay in firmwareupload, now terratec's firmware also works Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 0004fd59d57a5875db8897966c414a88b5dad481 tree e0f28025301fb87125c38ed51a51f6f29456d1fa parent 1d519605f13dd2c51024060465a16ddd1abfb649 author Markus Rechberger Mon, 27 Feb 2006 00:07:27 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:27 -0300 V4L/DVB (3291): Added support for xc3028 analogue tuner (Hauppauge HVR900, Terratec Hybrid XS) Added support for xc3028 to v4l which adds support for: * Terratec Hybrid XS (analogue) * Hauppauge HVR 900 (analogue) Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 1d519605f13dd2c51024060465a16ddd1abfb649 tree 2d6f30bb756a4becda0caacf763a5a36f785c0b7 parent 0ac139d60fb6107950e250bbf8bd6c2c73dfafbd author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:24 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:24 -0300 V4L/DVB (3300b): .gitignore should also ignore StGit generated dirs StGit genreates patches-* when you run stg export command. It makes no sense to show such directories as changes on git status. Signed-off-by: Mauro Carvalho Chehab commit 0ac139d60fb6107950e250bbf8bd6c2c73dfafbd tree f79556d2e5a7664762974f84d0c700ba267ab951 parent 282b7cb3e03d9ada4067083e61919d74197a1e5a author Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:21 -0300 committer Mauro Carvalho Chehab Mon, 27 Feb 2006 00:07:21 -0300 V4L/DVB (3300a): Removing personal email from DVB maintainers Signed-off-by: Mauro Carvalho Chehab commit f055affb89f587a03f3411c3fd49ef31295c3d48 tree 1c40a29191eba8267390fe397f8108ffa8d9ddb5 parent 4f629d7db32decbadaab2abfa4d021fee94990ef author Nick Piggin Mon, 20 Feb 2006 10:41:40 +0100 committer Paul Mackerras Fri, 24 Feb 2006 14:06:02 +1100 [PATCH] powerpc: native atomic_add_unless Do atomic_add_unless natively instead of using cmpxchg. Improved register allocation idea from Joel Schopp. Signed-off-by: Nick Piggin Signed-off-by: Paul Mackerras commit 4f629d7db32decbadaab2abfa4d021fee94990ef tree fc6f8b9a2b62b02a60be5a7a23efbff7f8847a04 parent 20f4eb3e502d68b12224577ebcd2cd50cc6e14e4 author Nick Piggin Mon, 20 Feb 2006 10:40:28 +0100 committer Paul Mackerras Fri, 24 Feb 2006 14:06:00 +1100 [PATCH] powerpc: newline for ISYNC_ON_SMP Add a newline at the end of the ISYNC_ON_SMP string. Needed for a subsequent patch. Signed-off-by: Nick Piggin Signed-off-by: Paul Mackerras commit 20f4eb3e502d68b12224577ebcd2cd50cc6e14e4 tree 5b5f1d857c13d6e3bcc757273fcd8cfffa1a1537 parent c6622f63db86fcbd41bf6fe05ddf2e00c1e51ced author David Gibson Mon, 20 Feb 2006 14:05:56 +1100 committer Paul Mackerras Fri, 24 Feb 2006 14:05:58 +1100 [PATCH] powerpc: Fixup for STRICT_MM_TYPECHECKS Currently ARCH=powerpc will not compile when STRICT_MM_TYPECHECKS is turned on and CONFIG_64K_PAGES is turned off. This corrects the problem. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit c6622f63db86fcbd41bf6fe05ddf2e00c1e51ced tree 102f3ea0a891212603a3722fece337d6a74d450c parent a00428f5b149e36b8225b2a0812742a6dfb07b8c author Paul Mackerras Fri, 24 Feb 2006 10:06:59 +1100 committer Paul Mackerras Fri, 24 Feb 2006 14:05:56 +1100 powerpc: Implement accurate task and CPU time accounting This implements accurate task and cpu time accounting for 64-bit powerpc kernels. Instead of accounting a whole jiffy of time to a task on a timer interrupt because that task happened to be running at the time, we now account time in units of timebase ticks according to the actual time spent by the task in user mode and kernel mode. We also count the time spent processing hardware and software interrupts accurately. This is conditional on CONFIG_VIRT_CPU_ACCOUNTING. If that is not set, we do tick-based approximate accounting as before. To get this accurate information, we read either the PURR (processor utilization of resources register) on POWER5 machines, or the timebase on other machines on * each entry to the kernel from usermode * each exit to usermode * transitions between process context, hard irq context and soft irq context in kernel mode * context switches. On POWER5 systems with shared-processor logical partitioning we also read both the PURR and the timebase at each timer interrupt and context switch in order to determine how much time has been taken by the hypervisor to run other partitions ("steal" time). Unfortunately, since we need values of the PURR on both threads at the same time to accurately calculate the steal time, and since we can only calculate steal time on a per-core basis, the apportioning of the steal time between idle time (time which we ceded to the hypervisor in the idle loop) and actual stolen time is somewhat approximate at the moment. This is all based quite heavily on what s390 does, and it uses the generic interfaces that were added by the s390 developers, i.e. account_system_time(), account_user_time(), etc. This patch doesn't add any new interfaces between the kernel and userspace, and doesn't change the units in which time is reported to userspace by things such as /proc/stat, /proc//stat, getrusage(), times(), etc. Internally the various task and cpu times are stored in timebase units, but they are converted to USER_HZ units (1/100th of a second) when reported to userspace. Some precision is therefore lost but there should not be any accumulating error, since the internal accumulation is at full precision. Signed-off-by: Paul Mackerras commit a00428f5b149e36b8225b2a0812742a6dfb07b8c tree a78869cd67cf78a0eb091fb0ea5d397734bd6738 parent 774fee58c465ea1c7e9775e347ec307bcf2deeb3 parent fb5c594c2acc441f0d2d8f457484a0e0e9285db3 author Paul Mackerras Fri, 24 Feb 2006 14:05:47 +1100 committer Paul Mackerras Fri, 24 Feb 2006 14:05:47 +1100 Merge ../powerpc-merge commit 7b0386921db20add25afd8678ed34a9253e512fc tree 8c6b888b76211e38e6c1c3006553dc4b2b24c75e parent c5580a7ecb859c6821dd761c95fa150ec7695ae1 parent 22fe472cb430ce45c4fb9b6d13060dd724d6dbc8 author Jeff Garzik Thu, 23 Feb 2006 21:16:27 -0500 committer Jeff Garzik Thu, 23 Feb 2006 21:16:27 -0500 Merge branch 'upstream-fixes' commit 5b3030e39049212c975665cdb3eeabcfaf7c94ca tree 93742231c2e01087ae36d7c05d8bd7bdb7ca8878 parent d9e902668e815f9f33ba5056089684b0704eeac6 author Eric Sesterhenn Thu, 23 Feb 2006 09:47:13 -0600 committer Dave Kleikamp Thu, 23 Feb 2006 09:47:13 -0600 JFS: kzalloc conversion this converts fs/jfs to kzalloc() usage. compile tested with make allyesconfig Signed-off-by: Eric Sesterhenn Signed-off-by: Dave Kleikamp commit 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 8080d5497146d5d27d9e8e78229d1adc7fe280cf tree 8ce379ab20f59951507b328fe86beddd5855ce80 parent 774fee58c465ea1c7e9775e347ec307bcf2deeb3 author Andy Fleming Fri, 10 Feb 2006 17:01:06 -0600 committer Kumar Gala Tue, 21 Feb 2006 23:48:59 -0600 powerpc: Add PCI support for 8540 ADS to powerpc tree Add PCI support for setting PCI from flat device tree on 85xx specifically for MPC8540 ADS. Signed-off-by: Andy Fleming Signed-off-by: Kumar Gala commit ebcff3c773b42bce6182ec16485abca4e53fba97 tree d9b0babba7dd0d79ef8681ffa5180bdc949aa359 parent 8b0d5514a96daab7825f481d8cd5e88a0376d659 author Horst Kronstorfer Tue, 21 Feb 2006 23:34:07 -0600 committer Kumar Gala Tue, 21 Feb 2006 23:34:07 -0600 ppc32: Fix BCSR_SIZE for MPC834x SYS According to the 'MPC8349E MDS Processor Board User Manual Rev. 1.6' the size of the BCSR mapping is 32kb. Signed-off-by: Horst Kronstorfer Signed-off-by: Kumar Gala commit ba70d0614728892b86b2be2f7eae0c696b436461 tree fb62902d9563b5376c4805918a8a1c092b481ead parent 49016aca2e54c64f08c31d5512dfd8d35f934c58 author Tejun Heo Tue, 21 Feb 2006 02:12:11 +0900 committer Jeff Garzik Mon, 20 Feb 2006 18:56:59 -0500 [PATCH] libata: kill ata_dev_reread_id() Kill now-unused ata_dev_reread_id(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 49016aca2e54c64f08c31d5512dfd8d35f934c58 tree f0b5c2843f74a9adb62761d0ec9d05284bc47a1c parent f131883e73a8662dc92c3ea371ae9ded0c8f2c37 author Tejun Heo Tue, 21 Feb 2006 02:12:11 +0900 committer Jeff Garzik Mon, 20 Feb 2006 18:56:58 -0500 [PATCH] libata: separate out ata_dev_read_id() Separate out ata_dev_read_id() from ata_dev_identify(). This is the first half of splitting ata_dev_identify(). ata_dev_read_id() will also be used for revalidation. This patch does not make any behavior change. ata_dev_read_id() doesn't modify any of libata-internal data structures. It simply reads IDENTIFY page and returns error code on failure. INIT_DEV_PARAMS and EDD wrong class code are also handled by this function. Re-reading IDENTIFY after INIT_DEV_PARAMS is performed by jumping to retry: instead of calling ata_dev_reread_id(). This is done because 1. there's retry label anyway 2. ata_dev_reread_id() cannot be used anywhere else so there's no reason to keep it. This function is probably the place to set transfer mode to PIO0 before IDENTIFY. However, reset -> identify -> init_dev_params order should be kept for pre-ATA4 devices so we cannot set transfer mode before IDENTIFY for them. How do we know if a device is post-ATA4 before IDENTIFY? Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f131883e73a8662dc92c3ea371ae9ded0c8f2c37 tree acd45903e321cf04df825da8d05ee06dabc1d8aa parent ccbe6d5ee0eb3182675ef1c84322810fd884586d parent 2e242fa994428bd1a40b6a7e97430413246d0a16 author Jeff Garzik Mon, 20 Feb 2006 16:55:56 -0500 committer Jeff Garzik Mon, 20 Feb 2006 16:55:56 -0500 Merge branch 'upstream-fixes' commit ccbe6d5ee0eb3182675ef1c84322810fd884586d tree 0375faedb033b70b401933b956c1b8bf8fc2b3ae parent 573db6b8f93b5e359abd9a05e620fd9a589b0209 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] ata_piix: convert sata to new reset mechanism Convert ata_piix sata ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 573db6b8f93b5e359abd9a05e620fd9a589b0209 tree d54f6e6907f30c8efcd3dc089b87af172746751e parent 56497bd5f1340cb97d94cab953b050be6f729790 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] ata_piix: convert pata to new reset mechanism Convert ata_piix pata ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 56497bd5f1340cb97d94cab953b050be6f729790 tree 330d966efed6bf6fd2c3d746b02a25f5ad4232a7 parent 6aff8f1f07a7fff48121d1ad4a550f3af24ccc81 author Tejun Heo Wed, 15 Feb 2006 15:01:42 +0900 committer Jeff Garzik Mon, 20 Feb 2006 06:19:53 -0500 [PATCH] libata: fix comment regarding setting cable type The comment above ata_std_postreset() specified that setting cable type is the responsibility of postreset(), which isn't possible / optimal depending on controller / driver. This patch kills the comment. Setting cable type is responsibility of ->probe_reset. libata doesn't care whether it's done in probeinit, reset or postreset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c5580a7ecb859c6821dd761c95fa150ec7695ae1 tree 18ca034a53c22e12912e55f5858d1b4a235cedd7 parent b04a92e1601eb6df3a3b6599e7fb7ee021eef2cb parent d33a73c81241e3d9ab8da2d0558429bdd5b4ef9a author Jeff Garzik Mon, 20 Feb 2006 05:59:59 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:59 -0500 Merge branch 'forcedeth' commit d33a73c81241e3d9ab8da2d0558429bdd5b4ef9a tree 7e8054ebf23f4924f6bf5b5f678bfb2e5e6965dd parent 0832b25a75d128e4f9724156380ba071c4f3f20d author Ayaz Abdulla Sat, 04 Feb 2006 13:13:31 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add support for MSI/MSIX This forcedeth patch adds support for MSI/MSIX interrupts. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit 0832b25a75d128e4f9724156380ba071c4f3f20d tree f24926c80383da38da6071dc97263c4089bc3f78 parent ee407b02f3f1992bc746876c26f8175c8783562b author Ayaz Abdulla Sat, 04 Feb 2006 13:13:26 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add support for 64bit rings This forcedeth patch adds high dma support for tx/rx rings. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit ee407b02f3f1992bc746876c26f8175c8783562b tree a005421bd26f8ca0178d4e9a3a7a79486a45f9de parent bd71c2b17468a2531fb4c81ec1d73520845e97e1 author Ayaz Abdulla Sat, 04 Feb 2006 13:13:17 -0500 committer Jeff Garzik Mon, 20 Feb 2006 05:59:18 -0500 [PATCH] forcedeth: Add vlan support This forcedeth patch adds support for vlan stripping/inserting in hardware. Signed-off-By: Ayaz Abdulla Signed-off-by: Jeff Garzik commit 6aff8f1f07a7fff48121d1ad4a550f3af24ccc81 tree 3b02003f45b43c81b395c4a07e8c708599304bdd parent 6a62a04d4705df4f9f9bee39e889b9e920eeca47 author Tejun Heo Wed, 15 Feb 2006 18:24:09 +0900 committer Jeff Garzik Mon, 20 Feb 2006 05:07:52 -0500 [PATCH] libata: update ata_dev_init_params() Update ata_dev_init_params() such that it doesn't disable port directly but return with appropriate error mask on failure. This is preparation for splitting ata_dev_identify(). Note that this patch changes behavior of dev_init_params failure such that only failing devices are taken offline not the whole port. This change is intended. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6a62a04d4705df4f9f9bee39e889b9e920eeca47 tree ea1b13e887740b69f7cd24e602802599c3fb8e76 parent 5b2ffed906a3ebd4e52a5bbef06b99a517c53e4b author Tejun Heo Mon, 13 Feb 2006 10:02:46 +0900 committer Jeff Garzik Mon, 20 Feb 2006 04:54:22 -0500 [PATCH] libata: rename ata_dev_id_[c_]string() This patch renames ata_dev_id_[c_]string() to ata_id_[c_]string(). All other functions which read data from ATA ID data start with ata_id and those two function names were getting too long. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5b2ffed906a3ebd4e52a5bbef06b99a517c53e4b tree 2f900f89d93db6b0822d8bdf4f49851c581c12a6 parent f1b318793dcd2d9ff6b5ac06e7762098fa079cee parent bd71c2b17468a2531fb4c81ec1d73520845e97e1 author Jeff Garzik Mon, 20 Feb 2006 02:16:23 -0500 committer Jeff Garzik Mon, 20 Feb 2006 02:16:23 -0500 Merge branch 'master' commit b04a92e1601eb6df3a3b6599e7fb7ee021eef2cb tree f190980d5bffae81a67c0cea0d913ed2444ceb0c parent 70c07e02625ec46d0ffbfce1acef42d660803528 parent f5e2a7b22e7d7dfda8794906d0fddeaaa09bb944 author Jeff Garzik Fri, 17 Feb 2006 16:20:30 -0500 committer Jeff Garzik Fri, 17 Feb 2006 16:20:30 -0500 Merge branch 'upstream-fixes' commit b7cffb028abbffff3ba0b87268ecb775ed354049 tree e5a4dd1cca31bf38c2a57214ab3d2a9ae1c5e367 parent 22d8846e5ce329436628da71a4239ccc2745869f author Johannes Berg Wed, 04 Jan 2006 20:58:10 +0100 committer John W. Linville Fri, 17 Feb 2006 10:41:34 -0500 [PATCH] ieee80211: fix sparse warning about missing "static" This patch adds a missing "static" on a variable (sparse complaint) Signed-off-by: John W. Linville commit 22d8846e5ce329436628da71a4239ccc2745869f tree 623c307aaf08150a39a480241711fb0ec2e99416 parent 1ba61e05e254a587b7a6be9484a8bcd973551be1 author Dan Williams Sun, 05 Feb 2006 18:00:30 -0500 committer John W. Linville Fri, 17 Feb 2006 08:17:00 -0500 [PATCH] wireless/airo: fix setting TX key index plus key in ENCODEEXT The previous patch that added ENCODEEXT and AUTH support to the airo driver contained a slight error which would cause setting the TX key index ignore a valid key-set request at the same time. This patch allows any combination of setting the TX key index and setting an encryption key. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 1ba61e05e254a587b7a6be9484a8bcd973551be1 tree 41a56d4c60478b598e30984c81188e50afab0c0f parent 47c51431fcc5fce3108e8e549cc9d243acd462ed author Zhu Yi Wed, 15 Feb 2006 13:00:55 +0800 committer John W. Linville Fri, 17 Feb 2006 08:17:00 -0500 [PATCH] ipw2200: Fix software crypto shared WEP authentication problem We didn't set the WEP key to hardware when we are using software based crypto. Hardware needs the key to do WEP authentication even for software based encryption. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 47c51431fcc5fce3108e8e549cc9d243acd462ed tree fd42b296eb25a9d78e42eac0a97bbe4212852c21 parent 23afaec4441baf0579fa115b626242d4d23704dd author Jon Mason Sun, 12 Feb 2006 11:53:04 -0600 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] trivial: fix spelling errors in Kconfigs This patch corrects a few spelling and grammar errors found in drivers/net Signed-off-by: Jon Mason Signed-off-by: John W. Linville commit 23afaec4441baf0579fa115b626242d4d23704dd tree 5a9ddf4e13fc686108f7b21aef02c1b9eec924ce parent 471680828330e6b2aac295cf7ac9d8e5820df2eb author Stefan Rompf Tue, 07 Feb 2006 03:42:23 +0800 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ipw2200: Fix WPA network selection problem Do not avoid APs with wpa_ie or rsn_ie if !ieee->wpa_enabled There are broken APs out there that fill these elements even though encryption is disnabled. Also, this breaks legit WEP to WPA migration scenarious. We add a checking to prohibite WPA configured STA trying to associate with non-WPA supported APs. Signed-off-by: Stefan Rompf Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 471680828330e6b2aac295cf7ac9d8e5820df2eb tree b205c8371e8be20413ac85c71294a1e1b87e0819 parent 2c0f63166a5998102ddc7697706af83cbff49317 author Zhu Yi Mon, 13 Feb 2006 13:37:03 +0800 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ieee80211: Use IWEVGENIE to set WPA IE It replaces returning WPA/RSN IEs as custom events with returning them as IWEVGENIE events. I have tested that it returns proper information with both Xsupplicant, and the latest development version of the Linux wireless tools. Signed-off-by: Chris Hessing Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 2c0f63166a5998102ddc7697706af83cbff49317 tree 9c7eaf909d84972d2976c7019847a24f391d21e3 parent 4861dd79c1724f37e36d66cc4b3454803aec3f93 author Andreas Happe Thu, 05 Jan 2006 19:40:07 +0100 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] ipw2200: add monitor and qos entries to Kconfig I have made a stupid copy&paste error: QoS option is named IPW_QOS not IPW2200_MONITOR. Spotted by Daniel Paschka, thanks. Add the following config entries for the ipw2200 driver to drivers/net/wireless/Kconfig * IPW2200_MONITOR enables Monitor mode * IPW_QOS enables QoS feature - this is under development right now, so it depends upon EXPERIMENTAL Signed-off-by: Andreas Happe Signed-off-by: John W. Linville commit 4861dd79c1724f37e36d66cc4b3454803aec3f93 tree 46efc932a35ff49c8b3b723b650ec0b1832706d8 parent 4ddc1651cee0143eeddbe043ccd66bb87072e279 author Dan Williams Sun, 05 Feb 2006 17:57:36 -0500 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] wireless/atmel: convert constants to ieee80211 layer equivalents This patch converts the Atmel driver-only IEEE 802.11 constants to their equivalents from the kernel's ieee80211 layer headers. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 4ddc1651cee0143eeddbe043ccd66bb87072e279 tree 64ff6788ea331044234c00d6fb16a8ef7eba9d57 parent 5b69e69d4e6386bcb6592c75af897e5e79641602 author Jan Niehusmann Sun, 05 Feb 2006 16:13:22 +0100 committer John W. Linville Fri, 17 Feb 2006 08:16:59 -0500 [PATCH] let IPW2{1,2}00 select IEEE80211 This patch makes the IPW2100 and IPW2200 options available in the configuration menu even if IEEE80211 has not been selected before. This behaviour is more intuitive for people which are not familiar with the driver internals. The suggestion for this change was made by Alejandro Bonilla Beeche. Signed-off-by: Jan Niehusmann Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 5b69e69d4e6386bcb6592c75af897e5e79641602 tree bf9a153ad062629454ba877df224112a6bb5581b parent 750b50ab5687125d8a1dc946d931b00acf016e2c parent 7345137930907ba747781636c60112f7c2789aa8 author John W. Linville Fri, 17 Feb 2006 08:15:58 -0500 committer John W. Linville Fri, 17 Feb 2006 08:15:58 -0500 Merge branch 'upstream-fixes' commit 750b50ab5687125d8a1dc946d931b00acf016e2c tree eacec989ec38e67da84fcc6842b364670d7a1e34 parent ab479995b191b4256183956c13caabb86331af8e parent 70c07e02625ec46d0ffbfce1acef42d660803528 author John W. Linville Fri, 17 Feb 2006 08:15:41 -0500 committer John W. Linville Fri, 17 Feb 2006 08:15:41 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 8b0d5514a96daab7825f481d8cd5e88a0376d659 tree 3a9396823d6ed8f77b47cf4181c499097de41ca8 parent 774fee58c465ea1c7e9775e347ec307bcf2deeb3 author Kumar Gala Thu, 16 Feb 2006 14:32:08 -0600 committer Kumar Gala Thu, 16 Feb 2006 14:32:08 -0600 powerpc: Fix mpc83xx restart bug We need to write the correct value to the RCR to get a HW reset. Signed-off-by: Kumar Gala commit 91dbb4deb30e817efc8d6bed89b1190a489ca776 tree d3742a35be49da1ab785ac398459d7a71a64a765 parent 4837c672fd4d43c519d6b53308ee68d45b91b872 author Christoph Hellwig Wed, 15 Feb 2006 12:49:04 -0600 committer Dave Kleikamp Wed, 15 Feb 2006 12:49:04 -0600 JFS: Use the kthread_ API Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. Signed-off-by: Christoph Hellwig Signed-off-by: Dave Kleikamp commit f1b318793dcd2d9ff6b5ac06e7762098fa079cee tree 41ace7a3e453b82776b9f2a1d3b670b6afe5aa59 parent 49430f97dd952eda60848bf6bf161b4917ba103d parent e9bb4c9929a63b23dcc637fae312b36b038bdc61 author Jeff Garzik Mon, 13 Feb 2006 00:12:09 -0500 committer Jeff Garzik Mon, 13 Feb 2006 00:12:09 -0500 Merge branch 'master' commit 49430f97dd952eda60848bf6bf161b4917ba103d tree 2106e80496d6fa3b0ba8819daa6d978f8c4e13f3 parent b00eec1d58ee71131375bfeb86e64bceec3f5618 author Tejun Heo Sun, 12 Feb 2006 23:32:59 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:36:30 -0500 [PATCH] libata: kill sht->max_sectors The previous dev->max_sectors patch made sht->max_sectors meaningless. Kill all initializations of sht->max_sectors. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b00eec1d58ee71131375bfeb86e64bceec3f5618 tree 03536ad3ecc61d42da0611f40a51fedcd44192b5 parent 6e7846e9c548443c86cfbad9e4defb4bdcfc538b author Tejun Heo Sun, 12 Feb 2006 23:32:59 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:36:30 -0500 [PATCH] libata: add per-device max_sectors If a low level driver wants to control max_sectors, it had to adjust ap->host->max_sectors and set ATA_DFLAG_LOCK_SECTORS to tell ata_scsi_slave_config not to override the limit. This is not only cumbersome but also incorrect for hosts which support more than one devices per port. This patch adds per-device ->max_sectors. If the field is unset (zero), libata core layer will adjust ->max_sectors according to default rules. If the field is set, libata honors the setting. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6e7846e9c548443c86cfbad9e4defb4bdcfc538b tree f92fe0c3ca0000ad7d68bb3caae10d2066a7f78e parent 8eabd02c246b808e0e27c3ee9ea17d0349efb06d author Tejun Heo Sun, 12 Feb 2006 23:32:58 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: move cdb_len for host to device cdb_len is per-device property. Sharing cdb_len on ap results in inaccurate configuration on revalidation and hotplugging. This patch makes cdb_len per-device. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8eabd02c246b808e0e27c3ee9ea17d0349efb06d tree f628dc88f1ccf37dbab98d32b19af2336baaa210 parent 61eb066affc02e16c548aef8b876c49c84113f40 author Tejun Heo Sun, 12 Feb 2006 23:32:58 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: make ata_dev_knobble() per-device ata_dev_knobble() unconditionally used the first device of the port to determine whether a device is bridged or not. This causes bridge limit to be incorrectly applied or unapplied for hosts with slave devices (e.g. ata_piix). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 61eb066affc02e16c548aef8b876c49c84113f40 tree a7e3b690dbedd5f9007a64d95ae85d6019b48978 parent 0bd3300ac9158b6ceef38fab6fb473765a40e77e author Tejun Heo Sun, 12 Feb 2006 23:22:37 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:29:10 -0500 [PATCH] libata: don't do EDD handling if ->probe_reset is used EDD is never used with ->probe_reset. Don't handle EDD special case in ata_dev_identify if ->probe_reset is in use. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0bd3300ac9158b6ceef38fab6fb473765a40e77e tree 4973f3f26c12f0acacf6b7e643e7a4144046a0c7 parent 3d2ca91095f8ab6dc0cb925374eec62fa5336764 author Tejun Heo Sun, 12 Feb 2006 22:47:05 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: make ata_dump_id() take @id instead of @dev Make ata_dump_id() take @id instead of @dev. This is preparation for splitting ata_dev_identify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3d2ca91095f8ab6dc0cb925374eec62fa5336764 tree 4320fb9649dfbd389ea07d299288732b767534d7 parent 2940740bcaa5948967d261dfceec04f40b2d2fa1 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: separate out ata_id_major_version() Separate out ATA major version calculation from ata_dev_identify() into ata_id_major_version(). It's preparation for splitting ata_dev_identify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2940740bcaa5948967d261dfceec04f40b2d2fa1 tree d70740391c607cd40222200085b0b028233f6880 parent 2e02671daa2cd69d93c828c40579bbe953f17210 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: separate out ata_id_n_sectors() Separate out n_sectors calculation into ata_id_n_sectors() from ata_dev_identify(). This will be used by revalidation. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 2e02671daa2cd69d93c828c40579bbe953f17210 tree bcafe5d5b36be475de57081600fae13408cd0c4e parent 0e949ff304a7ca07db38c17fbbf3ead1085d7bbf author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: use ata_dev_id_c_string() Use ata_dev_id_c_string() Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0e949ff304a7ca07db38c17fbbf3ead1085d7bbf tree ecc4834d27e221863dc5dbef3c13763dbdf4dd56 parent 48f80e12abbc1e9034e54614c30e7c304209ce99 author Tejun Heo Sun, 12 Feb 2006 22:47:04 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:24:41 -0500 [PATCH] libata: implement ata_dev_id_c_string() ata_dev_id_c_string() reads ATA string from the specified offset of the given IDENTIFY PAGE and puts it in the specified buffer in trimmed and NULL-terminated form. The caller must supply a buffer which is one byte larger than the maximum size of the target ID string. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 48f80e12abbc1e9034e54614c30e7c304209ce99 tree db55f6dac4a20433d7ca1672c8fa15f01844da2a parent 06ab78222bd119a0a3d8a1f89997ce902a219703 author Tejun Heo Sun, 12 Feb 2006 19:05:07 +0900 committer Jeff Garzik Sun, 12 Feb 2006 14:06:42 -0500 [PATCH] ata_piix: kill spurious assignment in piix_sata_probe() In piix_sata_probe(), mask gets assigned unnecessarily at the beginning of the function. Kill the assignment. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 06ab78222bd119a0a3d8a1f89997ce902a219703 tree 21c466084f2a1d9bc3bc326e484619ad002dc08b parent bef4a456b8dc8b3638f4d49a25a89e1467da9483 author Tejun Heo Sun, 12 Feb 2006 15:01:49 +0900 committer Jeff Garzik Sun, 12 Feb 2006 13:57:22 -0500 [PATCH] libata: allow ->probe_reset to return ATA_DEV_UNKNOWN This patch makes ata_bus_probe() normalize classes[] returned by ->probe_reset such that ->probe_reset can return ATA_DEV_UNKNOWN. This eases implementation of ->probe_reset's which don't directly use ata_drive_probe_reset(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit bef4a456b8dc8b3638f4d49a25a89e1467da9483 tree c8c9a6ca26f2e6cf75db0623fb1f395330fbe6ca parent beec7dbc6ff003bbc94de62b3323519c878fb2ac author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: kill assert() macro libata assert() now has no user left. Kill it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit beec7dbc6ff003bbc94de62b3323519c878fb2ac tree f1cf8dee4f271356f2025a386eaa746aabafd1fe parent a46314744d8fadb91451bf2e5d2fd949c4a752d8 author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: convert assert(xxx)'s in low-level drivers to WARN_ON(!xxx)'s This patch converts all assert(xxx)'s in low-level drivers to WARN_ON(!xxx)'s. After this patch, there is no in-kernel user of the libata assert() macro. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a46314744d8fadb91451bf2e5d2fd949c4a752d8 tree 46757778593f4d24d4b69a5cefd522d22d60abcf parent 4bd00f6a201897af4cd50250a761e6bc4b2221ec author Tejun Heo Sat, 11 Feb 2006 19:11:13 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:57 -0500 [PATCH] libata: convert assert(X)'s in libata core layer to WARN_ON(!X)'s In an effort to kill libata-specific assert() and use generic WARN_ON(), this patch converts all assert(X)'s in libata core layer to WARN_ON(!X)'s. Most conversions are straight-forward logical negation exception for the followings. * In libata-core.c:ata_fill_sg(), assert(qc->n_elem > 0) is converted to WARN_ON(qc->n_elem == 0) because qc->n_elem is unsigned and unsigned <= 0 is weird. * In libata-scsi.c:ata_gen_ata_desc/fixed_sense(), assert(NULL != qc->ap->ops->tf_read) is converted to WARN_ON(qc->ap->ops->tf_read == NULL), as there are no other users of 'constant cond var' style in libata. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4bd00f6a201897af4cd50250a761e6bc4b2221ec tree 2549d2245d01d58431bebecd6dc9dfaada3abe9c parent a42fc659ba4e4026b2397344180458bebb79e1d2 author Tejun Heo Sat, 11 Feb 2006 16:26:02 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] ahci: convert to new reset mechanism Convert ahci ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a42fc659ba4e4026b2397344180458bebb79e1d2 tree 43a83d8c8d7d471cdbc11b23ad2117876d10f77b parent 76014427e60f7ecfdc689dfbcb48e9760e1da4fb author Tejun Heo Sat, 11 Feb 2006 16:26:02 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] ahci: make ahci_fill_cmd_slot() take *pp instead of *ap Make ahci_fill_cmd_slot() take struct ahci_port_priv *pp instead of struct ata_port *ap as suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 76014427e60f7ecfdc689dfbcb48e9760e1da4fb tree cf885f718315ed7819fd8f6f4a375540847baf2f parent cbefa3258eade263dbc9ae2c1f1ea2ca96e6b457 author Tejun Heo Sat, 11 Feb 2006 15:13:49 +0900 committer Jeff Garzik Sat, 11 Feb 2006 17:51:56 -0500 [PATCH] libata: inline ata_qc_complete() This patch inlines ata_qc_complete() and uninlines __ata_qc_complete() as suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit cbefa3258eade263dbc9ae2c1f1ea2ca96e6b457 tree 51f012ef93cc828be4eb693c0ced0503217d1025 parent 489ff4c7d167be954f715128790bd80d3c888322 parent 25bf368b3d98668c5d5f38e2201d8bca16e52680 author Jeff Garzik Sat, 11 Feb 2006 17:51:46 -0500 committer Jeff Garzik Sat, 11 Feb 2006 17:51:46 -0500 Merge branch 'master' commit 489ff4c7d167be954f715128790bd80d3c888322 tree 72c06ba67487dd1796fcf45e4d803a9880657bc6 parent 07b734702a96efbc260bf50c2ce57e34167f431b author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:12 -0500 [PATCH] sata_sil24: add hardreset Now that libata is smart enough to handle both soft and hard resets, add hardreset method. Note that sil24 hardreset doesn't supply signature; still, the new reset mechanism can make good use of it. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 07b734702a96efbc260bf50c2ce57e34167f431b tree 5cc4c5449be19c7c749ad2cc5ff07459f9ca2bc6 parent 531db7aa0db09f188b71108c35f334af35968291 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:12 -0500 [PATCH] sata_sil24: convert to new reset mechanism Convert sata_sil24 ->phy_reset to new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 531db7aa0db09f188b71108c35f334af35968291 tree c598ae7debf223da93d39b995ba0ec733d9b4193 parent ac7c6d596e2177857ffc35b8d453ee313a874d8d author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] sata_sil: convert to new reset mechanism Convert sata_sil to use new reset mechanism. sata_sil is fairly generic and can directly use std routine. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit ac7c6d596e2177857ffc35b8d453ee313a874d8d tree 81e7d6ad33b5f25a82250351e2e199bcf9023628 parent 3a39746a5290445ea4238f21ac260e42106c1454 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] libata: kill SError clearing in sata_std_hardreset(). Don't clear SError in sata_std_hardreset(). This makes hardreset act identically to ->phy_reset register-wise. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3a39746a5290445ea4238f21ac260e42106c1454 tree 7b667c30b70b2c140782974e34c2826ea85e9a07 parent c5014de8a74f442a4441f21f690d8aae5dc8b432 author Tejun Heo Fri, 10 Feb 2006 23:58:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 10:30:11 -0500 [PATCH] libata: make new reset act identical to ->phy_reset register-wise This patch makes std component operations act identical to ->phy_reset register-wise except for SError clearing on sata_std_hardreset. Note that if a driver only implements/uses hardreset, it should not use ata_std_probeinit() to avoid extra sata_phy_resume() and ata_busy_sleep() compared to ->phy_reset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c5014de8a74f442a4441f21f690d8aae5dc8b432 tree e4506970292dfb345fbc151481ce6918f9d36925 parent cc9278ed5e992122a654a3f762561ee5e013810f parent 5bc159e6cb7ca8d173195919ee935885c129011e author Jeff Garzik Fri, 10 Feb 2006 10:30:02 -0500 committer Jeff Garzik Fri, 10 Feb 2006 10:30:02 -0500 Merge branch 'master' commit 4837c672fd4d43c519d6b53308ee68d45b91b872 tree 6aea45f6de8a7320be022ccf5e4c98ddfcf3ea33 parent fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 author Dave Kleikamp Fri, 10 Feb 2006 08:11:53 -0600 committer Dave Kleikamp Fri, 10 Feb 2006 08:11:53 -0600 JFS: Fix regression. fsck complains if symlinks do not have INLINEEA attribute Signed-off-by: Dave Kleikamp commit cc9278ed5e992122a654a3f762561ee5e013810f tree 9a089a52a4afefd09fcc49cd9490acee2aa1289a parent f63790201521ccadb63673ff121dac46ab300cf0 author Tejun Heo Fri, 10 Feb 2006 17:25:47 +0900 committer Jeff Garzik Fri, 10 Feb 2006 07:04:31 -0500 [PATCH] ahci: separate out ahci_fill_cmd_slot() Separate out ahci_fill_cmd_slot() from ahci_qc_prep(). ahci_fill_cmd_slot() can later be used to issue non-standard commands. (e.g. softreset) Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f63790201521ccadb63673ff121dac46ab300cf0 tree 86781b4efc31f9005c17de63df2606c35ae3b0c0 parent 35daeb8f9b41fd13180e8a6f8bec9fc5268938f9 author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:47 -0500 [PATCH] libata: kill NULL qc handling from ->eng_timeout callbacks ->eng_timeout cannot be invoked with NULL qc anymore. Add an assertion in ata_scsi_error() and kill NULL qc handling from all ->eng_timeout callbacks. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 35daeb8f9b41fd13180e8a6f8bec9fc5268938f9 tree c6a9131a637224f019168ae42ed24e5e11735a1d parent f29841e08fa20a7f2c8bc1b70306975299c66ee7 author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:46 -0500 [PATCH] libata: use ata_scsi_timed_out() Make all libata low level drivers use ata_scsi_timed_out(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit f29841e08fa20a7f2c8bc1b70306975299c66ee7 tree c2f6c87cf79fbd36ec49ea3c2247a382da5d75cc parent 341963b909a01d2f38d86f5db8dd1f8c80bd6dbf author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:46 -0500 [PATCH] libata: implement ata_scsi_timed_out() Implement ata_scsi_timed_out(), to be used as scsi_host_template->eh_timed_out callback for all libata drivers. Without this function, the following race exists. If a qc completes after SCSI timer expires but before libata EH kicks in, the qc gets completed but the scsicmd still gets passed to libata EH resulting in ->eng_timeout invocation with NULL qc, which none is handling properly. This patch makes sure that scmd and qc share the same lifetime. Original idea from Jeff Garzik . Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 341963b909a01d2f38d86f5db8dd1f8c80bd6dbf tree b19def143135b45b64d62e4e048aaae5b711696f parent 1fdffbce0332b3e00993d741e76935e7f4f0d40f author Tejun Heo Fri, 10 Feb 2006 15:10:48 +0900 committer Jeff Garzik Fri, 10 Feb 2006 06:50:45 -0500 [PATCH] libata: add ATA_QCFLAG_EH_SCHEDULED Add ATA_QCFLAG_EH_SCHEDULED. If this flag is set, the qc is owned by EH and normal completion path is not allowed to finish it. This patch doesn't actually use this flag. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 774fee58c465ea1c7e9775e347ec307bcf2deeb3 tree 6c608c388772d9e75251bfde7b1d6541331895de parent 2ef9481e666b4654159ac9f847e6963809e3c470 author Geoff Levand Thu, 02 Feb 2006 15:41:48 -0800 committer Paul Mackerras Fri, 10 Feb 2006 16:59:53 +1100 [PATCH] powerpc: Add missing vmlinux.bin target With this patch 'make vmlinux.bin' works. This is needed by some embedded platforms. Kumar already added the routines to actually build the image in arch/powerpc/boot/Makefile. Signed-off-by: Geoff Levand Signed-off-by: Paul Mackerras commit 2ef9481e666b4654159ac9f847e6963809e3c470 tree 62abb35633702dcc585df1e2ee093aaf0dc6bb07 parent 75288c78c69020a574d93770c3a941b785f3d93d author Jon Mason Mon, 23 Jan 2006 10:58:20 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:53:51 +1100 [PATCH] powerpc: trivial: modify comments to refer to new location of files This patch removes all self references and fixes references to files in the now defunct arch/ppc64 tree. I think this accomplises everything wanted, though there might be a few references I missed. Signed-off-by: Jon Mason Signed-off-by: Paul Mackerras commit 75288c78c69020a574d93770c3a941b785f3d93d tree 091bcfa5a507e5f1dd387980047854be448f415c parent 1965746bce49ddf001af52c7985e16343c768021 author Vitaly Bordug Fri, 20 Jan 2006 22:22:34 +0300 committer Paul Mackerras Fri, 10 Feb 2006 16:52:46 +1100 [PATCH] ppc32: Make platform devices being able to assign functions Implemented by modification of the .name field of the platform device, when PDs with the same names are to be used within different drivers, as -> : Corresponding drivers should change the .name in struct device_driver to reflect upper of course. Added ppc_sys_device_disable/enable function set, making it easier to disable all the inexistent/not utilized platform device way pdevs. By the check of the "disabled" bit in the config field of ppc_sys_specs, disabled platform devices will be either added/removed from the bus, or simply not registered on it, depending on the time when disable/enable call asserted. The default behaviour when nothing is disabled/enabled will be "all devices are enabled", which is the same as before. Also helper platform_notify_map function added, making assignment of board-specific platform_info more consistent and generic. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 1965746bce49ddf001af52c7985e16343c768021 tree d311fce31613545f3430582322d66411566f1863 parent 0941d57aa7034ef7010bd523752c2e3bee569ef1 author Michael Ellerman Fri, 10 Feb 2006 15:47:36 +1100 committer Paul Mackerras Fri, 10 Feb 2006 16:52:03 +1100 [PATCH] powerpc: Move pSeries firmware feature setup into platforms/pseries Currently we have some stuff in firmware.h and kernel/firmware.c that is #ifdef CONFIG_PPC_PSERIES. Move it all into platforms/pseries. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 0941d57aa7034ef7010bd523752c2e3bee569ef1 tree e4c710502b700bc79de4b3cd556f475413d698ae parent a7cb03375d794d3494561bbad90aeab13ff7e4d0 author Michael Ellerman Fri, 10 Feb 2006 15:47:32 +1100 committer Paul Mackerras Fri, 10 Feb 2006 16:52:02 +1100 [PATCH] powerpc: Clean up pSeries firmware feature initialisation Clean up fw_feature_init in platforms/pseries/setup.c. Clean up white space and replace the while loop with a for loop - which seems clearer to me. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a7cb03375d794d3494561bbad90aeab13ff7e4d0 tree 4d813b2a02a0b22912ce19402dfcb507871aa48e parent fbc94e7c3d78d53c7fa671e02e5bb6fbb3254f85 author Becky Bruce Wed, 08 Feb 2006 16:41:26 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:52:00 +1100 [PATCH] powerpc/ppc: Add missing isyncs in head_fsl_booke.S The e500 core reference manual indicates that isync is required after mtmsr(DE bit) and mtspr DBCR0. Add isyncs to make the code conform to the spec. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit fbc94e7c3d78d53c7fa671e02e5bb6fbb3254f85 tree a0d9d70b948ca8de3ed16d1fef9dfb1a6033e27e parent e19217d42e3d12d74d9eca40827721a3ef1b251c author Becky Bruce Tue, 07 Feb 2006 21:29:42 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:51:57 +1100 [PATCH] powerpc: lindent 85xx platform code Ran arch/powerpc/platforms/85xx through Lindent Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit e19217d42e3d12d74d9eca40827721a3ef1b251c tree 14738f2de0967683b088470ec49fa3ab4e49cad2 parent 46ed55f647371008c33e06e61459192f96cc24ca author Becky Bruce Tue, 07 Feb 2006 21:27:34 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:51:56 +1100 [PATCH] powerpc: rename mpc85xx.c to misc.c Rename mpc85xx.c to misc.c to match the pattern established by the 8349 port - consistency is a good thing. Also run Lindent on the file to clean it up. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 46ed55f647371008c33e06e61459192f96cc24ca tree 28831769ad6989c446ba712d51909316077db4da parent 66f2d025e234d44e35ae5bcec328078c35b8a8fb author Becky Bruce Tue, 07 Feb 2006 21:22:52 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:51:53 +1100 [PATCH] powerpc: mpc85xx_ads.c include file cleanup Cut-and-paste from the old platform code in arch/ppc resulted in arch/powerpc/platforms/85xx/mpc85xx_ads.c having way too many header files included. Clean this up. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 66f2d025e234d44e35ae5bcec328078c35b8a8fb tree d3b62d75f044e2b522f56d632ba16b1036cdf8bf parent d6d93856cb90eeb07062ad938bd26f554bf1b9b9 author Becky Bruce Tue, 31 Jan 2006 17:52:59 -0600 committer Paul Mackerras Fri, 10 Feb 2006 16:51:50 +1100 [PATCH] powerpc: Fix Kernel FP unavail exception for BookE Updated FP unavailable exception to refer to the correct function in traps.c. head_booke.h was using the old name, KernelFP, instead of kernel_fp_unavailable_exception. Signed-off-by: Becky Bruce Acked-by: Kumar Gala Signed-off-by: Paul Mackerras commit d6d93856cb90eeb07062ad938bd26f554bf1b9b9 tree eeec5011a42f38d3dfe7b61788b7ac1cc890edeb parent 8f75015f33c3005e0bbf83ffc0d5e0b4262cc03d parent ad71f123a9e9b809f6c829db1222ce0423a1153c author Paul Mackerras Fri, 10 Feb 2006 16:51:29 +1100 committer Paul Mackerras Fri, 10 Feb 2006 16:51:29 +1100 Merge ../powerpc-merge commit 70c07e02625ec46d0ffbfce1acef42d660803528 tree f500f1a4f93e72747fb08b0eefabb167dcdc5db9 parent 5d1769ac3d0ea5ff3a286b097c21faaf6a9e6859 parent 2746b8623abce815aaae7afc946b1b39f8436f5a author Jeff Garzik Thu, 09 Feb 2006 14:17:05 -0500 committer Jeff Garzik Thu, 09 Feb 2006 14:17:05 -0500 Merge branch 'viro' commit 2746b8623abce815aaae7afc946b1b39f8436f5a tree 9e14ce2a3710da5c079c1a96efa5e7c8674cd382 parent 0bdd340c092b0936f78a54bdbd3927463ed4fca3 parent 450d86dff3fc4780fd5c2d1654402ab7ffec9c38 author Jeff Garzik Thu, 09 Feb 2006 14:15:02 -0500 committer Jeff Garzik Thu, 09 Feb 2006 14:15:02 -0500 Merge branch 'net.b0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/bird commit fa3241d24cf1182b0ffb6e4d412c3bc2a2ab7bf6 tree b39000f89c6699612d64d98fd5739ca7feba8d8f parent 1de87444f8f91009b726108c9a56600645ee8751 author Herbert Poetzl Thu, 09 Feb 2006 09:09:16 -0600 committer Dave Kleikamp Thu, 09 Feb 2006 09:09:16 -0600 JFS: ext2 inode attributes for jfs ext2 inode attributes with relevance for jfs: 'a' EXT2_APPEND_FL -> append only 'i' EXT2_IMMUTABLE_FL -> immutable file 's' EXT2_SECRM_FL -> zero file 'u' EXT2_UNRM_FL -> allow for unrm 'A' EXT2_NOATIME_FL -> no access time 'D' EXT2_DIRSYNC_FL -> dirsync 'S' EXT2_SYNC_FL -> sync overview of jfs flags (partially for OS/2) value (OS/2) Linux ext2 attrs ------------------------------------------------ 0x00010000 IFJOURNAL - 0x00020000 ISPARSE used 0x00040000 INLINEEA used 0x00080000 - - JFS_NOATIME_FL 0x00100000 - - JFS_DIRSYNC_FL 0x00200000 - - JFS_SYNC_FL 0x00400000 - - JFS_SECRM_FL 0x00800000 ISWAPFILE - JFS_UNRM_FL 0x01000000 - - JFS_APPEND_FL 0x02000000 IREADONLY - JFS_IMMUTABLE_FL 0x04000000 IHIDDEN - - 0x08000000 ISYSTEM - - 0x10000000 - - 0x20000000 IDIRECTORY used 0x40000000 IARCHIVE - 0x80000000 INEWNAME - the implementation is straight forward, except for the fact that the attributes have to be mapped to match with the ext2 ones to avoid a separate tool for manipulating them (this could be avoided when using a separate flag field in the on-disk representation, but the overhead is minimal) a special jfs_ioctl is added to allow for the new JFS_IOC_GETFLAGS and JFS_IOC_SETFLAGS calls. a helper function jfs_set_inode_flags() to transfer the flags from the on-disk version to the inode minor changes to allow flag inheritance on inode creation, as well as a cleanup of the on-disk flags (including the new ones) beforementioned helper to map between ext2 and jfs versions of the new flags ... the JFS_SECRM_FL and JFS_UNRM_FL are not done yet and I'm not 100% sure they are worth the effort, the rest seems to work out of the box ... Signed-off-by: Herbert Poetzl Signed-off-by: Dave Kleikamp commit 1fdffbce0332b3e00993d741e76935e7f4f0d40f tree d6d5063c7f2f1dfcdaa9868260b3b812e4feca7e parent 389984cb75a5d26aa6ee9724c343bbd130cb3eec author Jeff Garzik Thu, 09 Feb 2006 05:15:27 -0500 committer Jeff Garzik Thu, 09 Feb 2006 05:15:27 -0500 [libata] Move PCI IDE BMDMA-related code to new file libata-bmdma.c. commit 389984cb75a5d26aa6ee9724c343bbd130cb3eec tree 7eac7923ffdcae4539897ff4275c97259be60d0d parent 8a19ac89edbe9b702c10fd2039b8cb2db4644a5f parent 9caafa6c8686e319cf4d5f3757b3972c6c522b7c author Jeff Garzik Thu, 09 Feb 2006 04:30:18 -0500 committer Jeff Garzik Thu, 09 Feb 2006 04:30:18 -0500 Merge branch 'upstream-fixes' commit 8a19ac89edbe9b702c10fd2039b8cb2db4644a5f tree 9241f1ec6d1a8e713ca60e6e5d098a11beb0dfdf parent 7944ea9522ce0ea32d57894b3dc2540b0bdca66e author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:59:52 -0500 [PATCH] libata: implement ata_std_probeinit() This patch implements the off-the-shelf probeinit component operation. Currently, all it does is waking up the PHY if it's a SATA port. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 7944ea9522ce0ea32d57894b3dc2540b0bdca66e tree ad45c0cccefa40c2b91fbeee6bfa156fa04aeeb4 parent 5140788f77d71b4f05fde217adbfb0c92f28f20c author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:59:52 -0500 [PATCH] libata: add probeinit component operation to ata_drive_probe_reset() This patch adds probeinit component operation to ata_drive_probe_reset(). If present, this new operation is called before performing any reset. The operations's roll is to prepare @ap for following probe-reset operations. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 5140788f77d71b4f05fde217adbfb0c92f28f20c tree 2f1dde965303d621269bf276f26185a2b4ae9ac9 parent 7a7921e8661a6b9fb99400983ee67df7e125853b author Jeff Garzik Thu, 09 Feb 2006 01:56:05 -0500 committer Jeff Garzik Thu, 09 Feb 2006 01:56:05 -0500 [libata scsi] build fix for ATA_FLAG_IN_EH change commit 7a7921e8661a6b9fb99400983ee67df7e125853b tree 9ef603fe34160b539c6478cfc7a107d38f80e4c9 parent b911fc3ae0121ff0b72a52e58823c3f8ac3094d0 author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:52:54 -0500 [PATCH] libata: separate out sata_phy_resume() from sata_std_hardreset() This patch separates out sata_phy_resume() from sata_std_hardreset(). The function will later be used by probeinit callback. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b911fc3ae0121ff0b72a52e58823c3f8ac3094d0 tree a0cbe5788d973d631fb4e3d1453a54799d54bc9f parent c18d06f89fd09ee0059c4899e615c471d59af66a author Tejun Heo Thu, 02 Feb 2006 18:20:00 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:52:53 -0500 [PATCH] libata: fix ata_std_probe_reset() SATA detection ap->cbl is initialized during postreset and thus unknown on entry to ata_std_probe_reset(). This patch makes ata_std_probe_reset() use ATA_FLAG_SATA flag instead of ap->cbl to detect SATA port. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit c18d06f89fd09ee0059c4899e615c471d59af66a tree 445617ceee37299d0856e54a945957102728cb0b parent dde44589bf9fac0168c6ce6d097c99c33b18074f author Tejun Heo Thu, 02 Feb 2006 00:56:10 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:18:38 -0500 [PATCH] libata: EH / pio tasks synchronization This patch makes sure that pio tasks are flushed before proceeding with EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit dde44589bf9fac0168c6ce6d097c99c33b18074f tree ee68375254528cd19fbaa66969634c7a2fd87a6f parent 725b2805fd5d729b0db59fe8fc992e97523782c7 author Tejun Heo Thu, 02 Feb 2006 00:56:10 +0900 committer Jeff Garzik Thu, 09 Feb 2006 01:18:37 -0500 [PATCH] libata: implement ATA_FLAG_IN_EH port flag ATA_FLAG_IN_EH flag is set on entry to EH and cleared on completion. This patch just sets and clears the flag. Following patches will build normal qc execution / EH synchronization aroung this flag. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 725b2805fd5d729b0db59fe8fc992e97523782c7 tree 04ca7c7ed6e918029898a6c5301488e60d0564d4 parent 9ac341ae799413708e674bc65c8a72c90dae8d34 parent cac0e8e8bb2e7a086643bdd00c41d900a79bb4fa author Jeff Garzik Thu, 09 Feb 2006 00:59:34 -0500 committer Jeff Garzik Thu, 09 Feb 2006 00:59:34 -0500 Merge branch 'upstream-fixes' commit 2730c9295a9a797a22b800d3befd6a64fdc56b02 tree e35ddbd87e8573494191e1a41d39ff0109ccfed2 parent e9ac054daaecf8a11f2113b60f2b6ce381c4f131 author Keith Owens Wed, 08 Feb 2006 13:41:10 +1100 committer Tony Luck Wed, 08 Feb 2006 12:02:07 -0800 [IA64] MCA: remove obsolete ifdef No platform in the community tree uses PLATFORM_MCA_HANDLERS, remove the references. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit e9ac054daaecf8a11f2113b60f2b6ce381c4f131 tree a17168d6b8e33aecf9cf1852693af85b95f782e3 parent 9336b0836bf789136b51caf9ddd49dcbf1726cf4 author Keith Owens Wed, 08 Feb 2006 13:41:04 +1100 committer Tony Luck Wed, 08 Feb 2006 12:01:41 -0800 [IA64] MCA: update MCA comm field for user space tasks Update the comm field on the MCA handler for user tasks as well as for verified kernel tasks. This helps to identify the task that was running when the MCA occurred. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 9336b0836bf789136b51caf9ddd49dcbf1726cf4 tree faed4f7f8882b38cf64f08b146bb3215ac864090 parent f564c5fe29d3fa9adc6d839714521b0554c62598 author Keith Owens Wed, 08 Feb 2006 13:40:59 +1100 committer Tony Luck Wed, 08 Feb 2006 11:59:23 -0800 [IA64] MCA: print messages in MCA handler Print a message identifying the monarch MCA handler. Print a summary of the status of the slave MCA cpus. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 8f75015f33c3005e0bbf83ffc0d5e0b4262cc03d tree a3c34ad86ccdc904bb43af6cd1cb163231c29276 parent 076d022c566fddde41fd4a858dd24bacad8304d7 parent e060e084e7d9e1c62d02cb6b8d3fe07db5317eaa author Paul Mackerras Wed, 08 Feb 2006 09:43:08 +1100 committer Paul Mackerras Wed, 08 Feb 2006 09:43:08 +1100 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc commit 5d1769ac3d0ea5ff3a286b097c21faaf6a9e6859 tree 63429c2222a55509dc81269233bbe7a321bb86ed parent 23a56e2cbec2860ef02d6720508fbcb07accc8b4 parent ce4b50f2fc62267eeaf331c41bc11b92d9bc7865 author Jeff Garzik Tue, 07 Feb 2006 15:16:27 -0500 committer Jeff Garzik Tue, 07 Feb 2006 15:16:27 -0500 Merge branch 'master' commit dcc1dd2366a7c355fd8b6543c52685b864a2044f tree c1fa5734246518c4cd0da82ec151eb905fd1b375 parent 412e6a378260608bf28f29d4fa8a9241e0240a2d author Jack Steiner Tue, 07 Feb 2006 09:24:14 -0800 committer Tony Luck Tue, 07 Feb 2006 09:24:14 -0800 [IA64-SGI] - Eliminate SN pio_phys_xxx macros. Move to assembly Rewrite the SN pio_phys_xxx macros in assembly language. This avoids issues with the Intel icc compiler. Function call overhead is not an issue - the functions reference PIOs and take 100's nsec to complete. In addition, the functions should likely be in assembly language anyway - they reference memory using physical addressing mode. One function executes with psr.ic disabled. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 412e6a378260608bf28f29d4fa8a9241e0240a2d tree c1f7d21ef519c47a6e985d55971850174a4431bc parent 9df79decc395b2f9484ff93a1383ba705ff34b10 author Chen, Kenneth W Thu, 26 Jan 2006 17:19:46 -0800 committer Tony Luck Tue, 07 Feb 2006 08:49:27 -0800 [IA64] use icc defined constant Use icc defined constant instead of magic number. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 9df79decc395b2f9484ff93a1383ba705ff34b10 tree ea8e32bbb84250f49965a549792741b436c57188 parent c583f66dc41cfa4055b6ac8f50cc1ebf362298f7 author Chen, Kenneth W Thu, 26 Jan 2006 17:12:02 -0800 committer Tony Luck Tue, 07 Feb 2006 08:49:10 -0800 [IA64] add __builtin_trap definition for icc build Map __builtin_trap function to break 0 instruction. Signed-off-by: HJ Lu Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit c583f66dc41cfa4055b6ac8f50cc1ebf362298f7 tree 77cf0c82d39796ae513e9bce675e0db9984e17cb parent 4bf64e72bd499d2bf3509c2dc60d09c39f72c782 author Chen, Kenneth W Thu, 26 Jan 2006 17:08:47 -0800 committer Tony Luck Tue, 07 Feb 2006 08:48:49 -0800 [IA64] clean up asm/intel_intrin.h Include intrinsic header file from icc compiler. Remove duplicate definition from kernel source. Signed-off-by: HJ Lu Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 4bf64e72bd499d2bf3509c2dc60d09c39f72c782 tree 72c4687431def513e7d60d50f3b5ac10a981f896 parent c03296a868ae7c91aa2d8b372184763b18f16d7a author Chen, Kenneth W Thu, 26 Jan 2006 16:58:52 -0800 committer Tony Luck Tue, 07 Feb 2006 08:48:14 -0800 [IA64] map ia64_hint definition to intel compiler intrinsic Map ia64_hint() to internal intel compiler intrinsic. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit e060e084e7d9e1c62d02cb6b8d3fe07db5317eaa tree f51d6afd552911fa29f1f8feb47d57429e93ff66 parent 30f5933657d17fbbc743ce9522543ba50ce2e834 author Kumar Gala Thu, 02 Feb 2006 13:51:10 -0600 committer Paul Mackerras Tue, 07 Feb 2006 22:38:44 +1100 [PATCH] powerpc: Lindent platforms/83xx Ran arch/powerpc/platforms/83xx through Lindent Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 30f5933657d17fbbc743ce9522543ba50ce2e834 tree 90a3cf48d9545c111402e504269e3c46d23bec78 parent 4b10cfd40e3fa1c1663b9c9fa22260d41e669c6f author Kumar Gala Thu, 02 Feb 2006 13:50:44 -0600 committer Paul Mackerras Tue, 07 Feb 2006 22:38:42 +1100 [PATCH] powerpc: Cleanup MPC83xx platform support Moved some code around so its usable by more systems than just the MPC834x SYS. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 4b10cfd40e3fa1c1663b9c9fa22260d41e669c6f tree 46720a0b4527ba0b940430344cae649bfc55a07c parent 158daa4cc827bda9f7206279a1dc55de2cb9c902 author Kumar Gala Thu, 02 Feb 2006 12:31:00 -0600 committer Paul Mackerras Tue, 07 Feb 2006 22:38:41 +1100 [PATCH] powerpc: Add platform support for MPC834x USB controllers Setup the platform devices needed by the Freescale EHCI USB host controllers based on a flat device tree Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 158daa4cc827bda9f7206279a1dc55de2cb9c902 tree 2fdefa12f5bfa00c56255b0887aff442685b38a0 parent 155da5ff5798c46d941a836e0775f83ed888e73e author Olaf Hering Mon, 30 Jan 2006 14:28:03 +0100 committer Paul Mackerras Tue, 07 Feb 2006 22:38:39 +1100 [PATCH] powerpc: remove check for ELF offset in powerpc bootimage Do not check for offset, it is always set. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 155da5ff5798c46d941a836e0775f83ed888e73e tree b73c69f929a0062c6d027c3a6d1412e5f202b60b parent 56b5c9737cdd8814a10f3022fc0cef8af9ea9ba5 author Domen Puncer Thu, 26 Jan 2006 13:50:01 +0300 committer Paul Mackerras Tue, 07 Feb 2006 22:38:38 +1100 [PATCH] powerpc: Remove arch/ppc/syslib/ppc4xx_pm.c Remove nowhere referenced file ("grep ppc4xx_pm -r ." didn't find anything). Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Paul Mackerras commit 56b5c9737cdd8814a10f3022fc0cef8af9ea9ba5 tree daa1d75183c7cf2eb76d0bc6cb79421f4f0dd2e0 parent 3b9331dac16555e8788ae21723f2146c3f994ebb author Michael Ellerman Wed, 25 Jan 2006 21:31:36 +1300 committer Paul Mackerras Tue, 07 Feb 2006 22:38:37 +1100 [PATCH] powerpc: Put parameter names in lmb.h prototypes Prototypes aren't so useful without parameter names, add them to lmb.h based on the names in lmb.c Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 3b9331dac16555e8788ae21723f2146c3f994ebb tree f9f73d6b59c7d621ec8312348065dfd6ededef3c parent d7a5b2ffa1352f0310630934a56aecbdfb617b72 author Michael Ellerman Wed, 25 Jan 2006 21:31:30 +1300 committer Paul Mackerras Tue, 07 Feb 2006 22:38:36 +1100 [PATCH] powerpc: Move LMB_ALLOC_ANYWHERE out of lmb.h LMB_ALLOC_ANYWHERE doesn't need to be part of the API, it's only used in lmb.c - so move it out of the header file. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit d7a5b2ffa1352f0310630934a56aecbdfb617b72 tree 5ec2ed1d4e63d4bd2847531115fd263109a16830 parent 2fb07d776b3c4473275eb225b6bf2a83755c9bfe author Michael Ellerman Wed, 25 Jan 2006 21:31:28 +1300 committer Paul Mackerras Tue, 07 Feb 2006 22:38:34 +1100 [PATCH] powerpc: Always panic if lmb_alloc() fails Currently most callers of lmb_alloc() don't check if it worked or not, if it ever does weird bad things will probably happen. The few callers who do check just panic or BUG_ON. So make lmb_alloc() panic internally, to catch bugs at the source. The few callers who did check the result no longer need to. The only caller that did anything interesting with the return result was careful_allocation(). For it we create __lmb_alloc_base() which _doesn't_ panic automatically, a little messy, but passable. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 2fb07d776b3c4473275eb225b6bf2a83755c9bfe tree 0ba9f8cc0d61b61bd9b679fdfcdd66301a7d908a parent d2515c806ea2b602e99b9aa19448577c7f0318fb author Kumar Gala Mon, 23 Jan 2006 16:58:04 -0600 committer Paul Mackerras Tue, 07 Feb 2006 22:38:32 +1100 [PATCH] powerpc: cleaned up fsl_soc.c Cleaned up fsl_soc.c based on comments from Olof Johansson. Ran through Lindent, and split gfar_mdio init into its own function. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit d2515c806ea2b602e99b9aa19448577c7f0318fb tree 06fb01be2ce98caf44d1c8831a83406b1291b51c parent 42dc75c4b97922d3d7707ac0b097fbeeca20b108 author Olaf Hering Sun, 22 Jan 2006 22:19:02 +0100 committer Paul Mackerras Tue, 07 Feb 2006 22:36:37 +1100 [PATCH] powerpc: cleanup pmac_newworld variable usage remove extern declarations of pmac_newworld move pmac_newworld to bss if there is any "interrupt-controller" device, then it is newworld. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 42dc75c4b97922d3d7707ac0b097fbeeca20b108 tree 9b643a303ef555057def71b588a556da4c7942ff parent b92891751600a1677c2b7f611f8b1e58d53388dc author Vitaly Bordug Fri, 20 Jan 2006 22:22:36 +0300 committer Paul Mackerras Tue, 07 Feb 2006 22:36:33 +1100 [PATCH] ppc32: MPC885ADS, MPC866ADS and MPC8272ADS-specific platform stuff for fs_enet Added proper ppc_sys identification and fs_platform_info's for MPC 885ADS, 866ADS and 8272ADS, utilizing function assignment to remove/do not use platform devices which conflict with PD-incompatible drivers. Signed-off-by: Vitaly Bordug Signed-off-by: Paul Mackerras commit b92891751600a1677c2b7f611f8b1e58d53388dc tree 26c753166c297ecc3d13424d25432712edfb8525 parent 909aeca664dd1fe55111dc4ec25c1bebe91674a2 author Grant C. Likely Thu, 19 Jan 2006 01:13:45 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:36:02 +1100 [PATCH] powerpc: Add ML403 defconfig Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 909aeca664dd1fe55111dc4ec25c1bebe91674a2 tree b1b0737582e2348d2b5c728db6b280df90bc5df1 parent b58b5aa51c78079fa4f652cd42e7b496a1d5411a author Grant C. Likely Thu, 19 Jan 2006 01:13:37 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:36:01 +1100 [PATCH] powerpc: Add support for Xilinx ML403 reference design Includes fix for Xilinx silicon errata 213 Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit b58b5aa51c78079fa4f652cd42e7b496a1d5411a tree b4882ff5037db7d37d279b38fbe10cc02b6c1463 parent 72646c7f69acad3595cc69f82a6e664a23b05542 author Grant C. Likely Thu, 19 Jan 2006 01:13:28 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:36:01 +1100 [PATCH] powerpc: Add xparameters file for Xilinx ML403 reference design Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 72646c7f69acad3595cc69f82a6e664a23b05542 tree c035c42f8a113466955bea97662dcf9469108af4 parent 5eb446cb72f67fdb87b2a1dd16262b75edbe30bc author Grant C. Likely Thu, 19 Jan 2006 01:13:20 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:36:00 +1100 [PATCH] powerpc: Add Virtex-4 FX to cpu table Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 5eb446cb72f67fdb87b2a1dd16262b75edbe30bc tree 825f5608c3eaa09af4fc2d0ed3f583976d0485b9 parent e27db622b850e6426b69ef42e5678ba068c7f8e0 author Grant C. Likely Thu, 19 Jan 2006 01:13:12 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:59 +1100 [PATCH] powerpc: Add ML300 defconfig Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit e27db622b850e6426b69ef42e5678ba068c7f8e0 tree 57b7aeb1d6611d9d7f38e69ac6f0cbed3a3a3c7c parent 1a42e53d175074f340a3f85042ed64cfc51be216 author Grant C. Likely Thu, 19 Jan 2006 01:13:03 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:59 +1100 [PATCH] powerpc: Migrate ML300 reference design to the platform bus Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 1a42e53d175074f340a3f85042ed64cfc51be216 tree 6426aebaa777d30be7ea7e6f3f6334fb94029230 parent 562e7370a4d59d7ee8988fb0e13707d1f01a046a author Grant C. Likely Thu, 19 Jan 2006 01:12:48 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:58 +1100 [PATCH] powerpc: Migrate Xilinx Vertex support from the OCP bus to the platfom bus. This patch only deals with the serial port definitions as there is no support for any other xilinx IP cores in the kernel tree at the moment. Board specific configuration moved out of virtex.[ch] and into the xparameters.h wrapper. This also prepares for the transition to the flattened device tree model. When the bootloader provides a device tree generated from an xparameters.h files, the kernel will no longer need xparameters/*. The platform bus will get populated with data from the device tree, and the device drivers will be automatically connected to the devices. Only the bootloader (or ppcboot) will need xparameters directly. Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 562e7370a4d59d7ee8988fb0e13707d1f01a046a tree e42797b26e76c0079b4e2af66e5c643f0e43cf22 parent b4367e7451f19a3ae8b453e8b7ac0a1fdd9bca04 author Grant C. Likely Thu, 19 Jan 2006 01:12:40 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:57 +1100 [PATCH] powerpc: Make Virtex-II Pro support generic for all Virtex devices The PPC405 hard core is used in both the Virtex-II Pro and Virtex 4 FX FPGAs. This patch cleans up the Virtex naming convention to reflect more than just the Virtex-II Pro. Rename files virtex-ii_pro.[ch] to virtex.[ch] Rename config value VIRTEX_II_PRO to XILINX_VIRTEX Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit b4367e7451f19a3ae8b453e8b7ac0a1fdd9bca04 tree fb66222169af4015f89f7ab80fea0a1469eeeb50 parent 7d4d61544a12333600bdb9b018a149868418692e author Grant C. Likely Thu, 19 Jan 2006 01:12:32 -0700 committer Paul Mackerras Tue, 07 Feb 2006 22:35:35 +1100 [PATCH] powerpc: Move xparameters.h into xilinx virtex device specific path xparameters should not be needed by anything but virtex platform code. Move it from include/asm-ppc/ to platforms/4xx/xparameters/ This is preparing for work to remove xparameters from the dependancy tree for most c files. xparam changes should not cause a recompile of the world. Instead, drivers should get device info from the platform bus (populated by the boot code) Signed-off-by: Grant C. Likely Signed-off-by: Paul Mackerras commit 282b7cb3e03d9ada4067083e61919d74197a1e5a tree 91a4c243df0df5df5174717f9a2858eecfaf45ef parent f1e5ee45b4a0216ac4f0a9c41e488032391e8575 author Markus Rechberger Tue, 07 Feb 2006 06:14:16 +0100 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:41:10 -0200 V4L/DVB (3326): Adding support for Terratec Prodigy XS Adding support for Terratec Prodigy XS Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit f1e5ee45b4a0216ac4f0a9c41e488032391e8575 tree e8589715a461c3df0348d392a3e247e8ae12b40b parent df821f758c37dce41fbef0d20932909332619f04 author Markus Rechberger Tue, 07 Feb 2006 04:01:19 +0100 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:41:00 -0200 V4L/DVB (3325): Disabled debug on by default in tvp5150 disabled debug on by default in tvp5150 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit df821f758c37dce41fbef0d20932909332619f04 tree cfbc639f25141fa48f6c0081020c7b7df84f9c70 parent 2d77645a0e8228d3473008ec736e89b7105eafff author Hans Verkuil Mon, 06 Feb 2006 23:52:24 +0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 07:40:51 -0200 V4L/DVB (3324): Fix Samsung tuner frequency ranges Forgot to take the NTSC frequency offset into account. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 2d77645a0e8228d3473008ec736e89b7105eafff tree 1efaa64179e0169434a63c453c737800c5865168 parent 922f77de3e26af512ae12d2a0ddb1e1efdf8d81c author Adrian Bunk Tue, 07 Feb 2006 06:49:15 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:15 -0200 V4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends The at76c651 and tda80xx frontends are currently completely unused, IOW their only effect is making the kernel larger for people accitentially enabling them. The current in-kernel drivers differ from the drivers at cvs.tuxbox.org, and re-adding them when parts of the dbox2 project get merged should be trivial. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit 922f77de3e26af512ae12d2a0ddb1e1efdf8d81c tree a17265cf00e678326524acacca9f273a53b6201e parent 3593cab5d62c4c7abced1076710f9bc2d8847433 author Dave Jones Tue, 07 Feb 2006 06:49:15 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:15 -0200 V4L/DVB (3318c): fix saa7146 kobject register failure Whoops. kobject_register failed for hexium HV-PCI6/Orion (-13) [] kobject_register+0x31/0x47 [] bus_add_driver+0x4a/0xfd [] __pci_register_driver+0x82/0xa4 [] hexium_init_module+0xa/0x47 [hexium_orion] [] sys_init_module+0x167b/0x1822 [] do_sync_read+0xb8/0xf3 [] autoremove_wake_function+0x0/0x2d [] audit_syscall_entry+0x118/0x13f [] do_syscall_trace+0x104/0x14a [] syscall_call+0x7/0xb slashes in kobject names aren't allowed. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 3593cab5d62c4c7abced1076710f9bc2d8847433 tree dd5dc21961f6b4aef6900b0c2eb63ce7c70aecd5 parent 538f9630afbbe429ecbcdcf92536200293a8e4b3 author Ingo Molnar Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3318b): sem2mutex: drivers/media/, #2 Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 538f9630afbbe429ecbcdcf92536200293a8e4b3 tree d7a7d4e2e93d4cd9b79609ff1e2422ce16506f7b parent 44256de13ecc72291b616fda5f2c7ca8b110feec author Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3318a): Makes Some symbols static. Some symbols at cx88-alsa were global. Making those static. Signed-off-by: Mauro Carvalho Chehab commit 44256de13ecc72291b616fda5f2c7ca8b110feec tree c87412fa747aa33978a4d4c29cdc60974d786bef parent 3dfb729f4513184d06a0c618179489ac7bb277e0 author Michael Krufky Tue, 07 Feb 2006 06:49:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:14 -0200 V4L/DVB (3316): Add initial support for KWorld HardwareMpegTV XPert - Add initial support for KWorld HardwareMpegTV XPert. - uses silicon tuner: tda8290 + tda8275 - standard video using cx88 broadcast decoder is working. - blackbird mpeg encoder support (cx23416) not yet working. - FM radio untested. - audio is only working correctly in television mode, all other modes disabled. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3dfb729f4513184d06a0c618179489ac7bb277e0 tree e31f89ca06c5ec10fa4a62fa07089d018f53254b parent e5d4a56d5d824e4dfe7d065d0fedb02e63952710 author Peter Hartshorn Tue, 07 Feb 2006 06:49:13 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:13 -0200 V4L/DVB (3315): Added support for the Tevion DVB-T 220RF card This is an analog / digital hybrid card. Signed-off-by: Peter Hartshorn Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit e5d4a56d5d824e4dfe7d065d0fedb02e63952710 tree d74a55f6a7ca0327308aa60c638fec8b61d7016f parent 21d06544a745a09cc1e9ce5376a61b074bfce379 author Markus Rechberger Tue, 07 Feb 2006 06:49:13 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:13 -0200 V4L/DVB (3314): Fixed em28xx based system lockup Fixed em28xx based system lockup, device needs to be initialized before starting the isoc transfer otherwise the system will completly lock up. Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 21d06544a745a09cc1e9ce5376a61b074bfce379 tree 3b10a671baf997e74ce9b92709feefdebfd58bb0 parent 123aab28608ac81938865b31db188c985aeb4424 author Patrick Boettcher Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file - When a firmware was downloaded dvb_usb_device_init returns NULL for the dvb_usb_device, then nothing should be done with that pointer and device, because it will re-enumerate. - A new firmware should be used with digitv devices. - It should make "slave"-devices work and others, too. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 123aab28608ac81938865b31db188c985aeb4424 tree 63769587f34e3b7f8eeb839cb6eb1a0074b9adb8 parent fb51fd2d345021d0cc34848319f4efa75c9e1daa author Patrick Boettcher Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3312): FIX: Multiple usage of VP7045-based devices Reassigning function pointers in a static led to infinite loops when using multiple VP7045-based device at the same time on one system. Using kmalloc'd copies for reassignments is better. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit fb51fd2d345021d0cc34848319f4efa75c9e1daa tree fd28a5a7cd5cbbf2e0be61b31a79da42c0ecad42 parent d9ed881c66525ac0d95fbf76a46187a5de43be2d author Michael Krufky Tue, 07 Feb 2006 06:49:12 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:12 -0200 V4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV DVB-T boxes. Use the parallel transport function of the MT352 demodulator in TH7579 and LGZ201 -based FusionHDTV Bluebird usb boxes. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d9ed881c66525ac0d95fbf76a46187a5de43be2d tree 602f7d3198db0b8e71b59c1e319d7cb50d8732d2 parent 8bd6301c2a33271b629ac1ef2088e110624d5665 author Chris Pascoe Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB Use the parallel transport function of the MT352 in USB demodulator of the Dual Digital board. Signed-off-by: Chris Pascoe Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8bd6301c2a33271b629ac1ef2088e110624d5665 tree 5bfeafe221ba3dcaed34a451f0b64fcda3aded97 parent e8e41da46dca6b33e990b48ee379503d25b4da65 author Oliver Endriss Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3307): Support for Galaxis DVB-S rev1.3 support for Galaxis DVB-S rev1.3 (subsystem 13c2:0004) Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit e8e41da46dca6b33e990b48ee379503d25b4da65 tree 792a51056771f14c8fa7b88a094c06b5369c61a8 parent df42eaf2b2f2c43969d879dbcafa698c666fe8a9 author Markus Rechberger Tue, 07 Feb 2006 06:49:11 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:11 -0200 V4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep fixed i2c return value, conversion mdelay to msleep Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit df42eaf2b2f2c43969d879dbcafa698c666fe8a9 tree 7cbfeaf66d839d29f682cfc7356bd8cca0116965 parent 0eb3de20a1cec67547951cebc4fcddc701e7428b author Hartmut Hackmann Tue, 07 Feb 2006 06:49:10 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:10 -0200 V4L/DVB (3305): Added support for the ADS Instant TV DUO Cardbus PTV331 Analog and DVB-T are working, Remote not yet. This card is based on the new LifeView design, there should be many variants. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 0eb3de20a1cec67547951cebc4fcddc701e7428b tree 056fbb4adedc7b2462efa4146b8bd8ad35c3cb16 parent 0157a9cc727dec90a7d60ad254eb899a775685a9 author Hartmut Hackmann Tue, 07 Feb 2006 06:49:10 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:10 -0200 V4L/DVB (3304): TDA10046 Driver update - Set outputs to tristate in sleep mode - Reduce dangerously high firmware download speed with 16MHz xtal - added tda827x configuration with GPIOs low - added comments to stupid looking IIC reads that work around bugs in the tda10046. - some minor updates Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 0157a9cc727dec90a7d60ad254eb899a775685a9 tree 3945ae8c3b689cf21d22961a3a4afc0d81701755 parent 3d8466ece44c70555a101da73845955c443f4d18 author Hartmut Hackmann Tue, 07 Feb 2006 06:49:09 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:09 -0200 V4L/DVB (3303): TDA8290 update This patch - works around a bug in the I2C bridge that makes the initialization of the TDA10046 fail on recent LifeView cards - puts the AGC output to tristate in sleep mode. This is necessary for recent hybrid cards that switch the AGC via tristateing. Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 3d8466ece44c70555a101da73845955c443f4d18 tree 9d7fe8df835b31c2365ec216c1ac47afad954d67 parent d97a11e091a0bf40f1cfb0bbf443ddd7b455b133 author Giampiero Giancipoli Tue, 07 Feb 2006 06:49:09 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:49:09 -0200 V4L/DVB (3302): Added support for the LifeView FlyDVB-T LR301 card Additionally to the card support, this changeset adds the option tda10046lifeview to get_dvb_firmware to download tda10046 firmware from LifeView's site. Signed-off-by: Giampiero Giancipoli Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit d97a11e091a0bf40f1cfb0bbf443ddd7b455b133 tree 489727bd0a5cc8350ff5753b26b893dd1776791f parent 8a8832a8eb5a824261a63c22befb4a8c193d4d02 author Hans Verkuil Tue, 07 Feb 2006 06:48:40 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:48:40 -0200 V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio. South Korea uses NTSC-M but with A2 audio instead of BTSC. Several audio chips need this information in order to set the correct audio processing registers. Acked-by: Mauro Carvalho Chehab Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 8a8832a8eb5a824261a63c22befb4a8c193d4d02 tree d2d40ad7e3dd422b08892a0099a6dab0dc41f280 parent 28ecc4490100488663f1a978846632800ab198d5 author Michael Krufky Tue, 07 Feb 2006 06:45:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:33 -0200 V4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352 - rename DVB_USB_CXUSB one-liner description to: Conexant USB2.0 hybrid reference design support. - with the addition of bluebird support to dvb-usb-cxusb, it now depends on lgdt330x and mt352 modules. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 28ecc4490100488663f1a978846632800ab198d5 tree 5af095d861b0a3a61abc8cd9e0ecd0a25ccea852 parent 6a5b28f9b7688638eed23b891d6bf5d9aaca94d3 author Marco Manenti Tue, 07 Feb 2006 06:45:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:33 -0200 V4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based) add IR support to KWorld DVB-T (cx22702-based) Signed-off-by: Marco Manenti Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6a5b28f9b7688638eed23b891d6bf5d9aaca94d3 tree d2f9b4c39e8a63c5be7c84de213787925d586261 parent 19d7509c0531b0e08f52ab93070569e0aba54cdf author Manu Abraham Tue, 07 Feb 2006 06:45:30 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:45:30 -0200 V4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect With DVB drivers enabled snd_87x (ALSA) don't detect. Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 19d7509c0531b0e08f52ab93070569e0aba54cdf tree 07e24d063ddd290ca4caaf19ac68584c591e5e63 parent 33ccaa3feb2a6e09942b6f0af6fbb0451a2e1537 author Markus Rechberger Tue, 07 Feb 2006 06:38:24 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:38:24 -0200 V4L/DVB (3281): Added signal detection support to tvp5150 - added signal detection support to tvp5150 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 33ccaa3feb2a6e09942b6f0af6fbb0451a2e1537 tree 12f293749bedbf1d875ebd341b504907ff2e1825 parent 15207b2e73afb3aa6cd96a1b8c0b5016bcf90128 author Markus Rechberger Tue, 07 Feb 2006 06:25:41 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:41 -0200 V4L/DVB (3280): Changed description of KWorld PVR TV 2800RF Changed description of KWorld PVR TV 2800RF Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 15207b2e73afb3aa6cd96a1b8c0b5016bcf90128 tree c358d3ba848457cbe7049475828e0b4cb2f086d5 parent 8f1a58d0fccacb5d61aed8a63c3920c8acc155e7 author Michael Krufky Tue, 07 Feb 2006 06:25:40 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:40 -0200 V4L/DVB (3278): Show debug for tuners trying to use unsupported video standards With tuner_debug enabled, if a tuner tries to use a video standard that doesn't have a matching tuner_params defined, the IFPCoff value and tuner number will be displayed, and the default tuner_params entry will be used. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8f1a58d0fccacb5d61aed8a63c3920c8acc155e7 tree d229a08c9f0f90db266ec09c62d8282b9fb0158e parent 4d17d0834a2e6a5cba096ea09592a4a096183300 author Michael Krufky Tue, 07 Feb 2006 06:25:39 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:39 -0200 V4L/DVB (3277): Use default tuner_params if desired_type not available If a given tuner definition contains more than one tuner_params array members, it will try to select the appropriate tuner_params based on the video standard in use. If there is no tuner_params defined for the current video standard, it will select the default, tuner_params[0] Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4d17d0834a2e6a5cba096ea09592a4a096183300 tree fa39740c5694402941deb48b4f2688a8da68ccd2 parent f7d66e82c6df37043ddd41ec9ec893844d3a18be author Markus Rechberger Tue, 07 Feb 2006 06:25:39 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:39 -0200 V4L/DVB (3276): Added terratec hybrid xs and kworld 2800rf support - Added terratec hybrid xs product/vendorid - Added gpio audio initialization for kworld pvr 2800rf Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit f7d66e82c6df37043ddd41ec9ec893844d3a18be tree e255e554b49b2b1a004f63af360e81a31188b2be parent 99d33d5012c31c6c2b7ad5658654d7c5f0d606d1 author Hartmut Hackmann Tue, 07 Feb 2006 06:25:37 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:37 -0200 V4L/DVB (3275): Allow SAA7134 to fall back to AM sound when there is NICAM-L This patch allows to select AM sound even if NICAM is detected. Proposed by Alain Frappin Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 99d33d5012c31c6c2b7ad5658654d7c5f0d606d1 tree d156a988421c4953b63c9ede689cc517dfe5a560 parent bd0d0f59ca56c7ef063d714e9b602fcaa5c11072 author Michael Krufky Tue, 07 Feb 2006 06:25:36 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:36 -0200 V4L/DVB (3271): Update tuner comments Right now, all tuners are using the first tuner_params[] array element for analog mode. We are now ready to begin merging similar tuner definitions together, such that each tuner definition will have a tuner_params struct for each available video standard. The tuner_params[] array element will be chosen based on the video standard in use. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bd0d0f59ca56c7ef063d714e9b602fcaa5c11072 tree 28a8ad6e6cbbbfd586f0726d7f4bef62e632023f parent 476d63d061a082bcb833009e15a3632459a3caad author Michael Krufky Tue, 07 Feb 2006 06:25:35 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:35 -0200 V4L/DVB (3270): Tuner_dbg will show tuner param and range selected - tuner_dbg will show tuner param and range selected Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 476d63d061a082bcb833009e15a3632459a3caad tree 429773b4599fbca8d07554c4c2b27c5464f80033 parent 5f5941872c0035cb4624efe8c5a1dfbb89d199e7 author Michael Krufky Tue, 07 Feb 2006 06:25:34 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:34 -0200 V4L/DVB (3269): Allow multiple tuner params in each tuner definition - allow multiple tuner params in each tuner definition. - the correct tuner_params element will be chosen based on current video standard. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5f5941872c0035cb4624efe8c5a1dfbb89d199e7 tree 0283d55a9bf202bead411201e3563df54ff54638 parent a78d0bfabda67dd40a5a97ba4c24265e1820e7ea author Michael Krufky Tue, 07 Feb 2006 06:25:33 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:33 -0200 V4L/DVB (3268): Move video std detection to top of set_tv_freq function - move video std detection to top of set_tv_freq function - we must detect video std first, so that we can choose the correct tuner_params Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a78d0bfabda67dd40a5a97ba4c24265e1820e7ea tree 9b35e9afdbbbd15cdc5cbe742da2743f6e97f317 parent 17801f5fa2e31b60f26aadd7ba41395dd1b1093e author Jose Alberto Reguero Tue, 07 Feb 2006 06:25:14 -0200 committer Mauro Carvalho Chehab Tue, 07 Feb 2006 06:25:14 -0200 V4L/DVB (3267): Add support for the Avermedia 777 DVB-T card Signed-off-by: Jose Alberto Reguero Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit 79dc190147f8a87718fe72928d5ceb58e09acdb9 tree b15aa21ac0eab7e2bad971c6bdf07c36a85b6d57 parent fe9313956d67367cc91c5a6989bafc4315801402 author Andrew Morton Fri, 03 Feb 2006 01:45:13 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:51:40 -0500 [PATCH] s2io c99 warning fix drivers/net/s2io.c: In function `verify_l3_l4_lro_capable': drivers/net/s2io.c:6638: warning: ISO C90 forbids mixed declarations and code Cc: Ravinandan Arakali Cc: Ananda Raju Cc: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit fe9313956d67367cc91c5a6989bafc4315801402 tree c9bc140dcb92d8fa8a3afc6ce81e86d42882c289 parent 7d3d0439f574a4857c97b3ad2e63b082b7382d7e author Andrew Morton Fri, 03 Feb 2006 01:45:12 -0800 committer Jeff Garzik Tue, 07 Feb 2006 02:51:40 -0500 [PATCH] git-netdev-all: s2io fixes Fix this: drivers/built-in.o(.text+0x89469): In function `s2io_get_ethtool_stats': drivers/net/s2io.c:5209: undefined reference to `__udivdi3' Cc: Ravinandan Arakali Cc: Ananda Raju Cc: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 23a56e2cbec2860ef02d6720508fbcb07accc8b4 tree a05a6b49944202b492ae492434a25f849e2616ba parent 6bd0e10e53cc4824cd8cdaab8c370e53ab2e23c2 parent 3cfc15103aa56c2c7ee6dd312c24a8d1697bade1 author Jeff Garzik Tue, 07 Feb 2006 02:06:12 -0500 committer Jeff Garzik Tue, 07 Feb 2006 02:06:12 -0500 Merge branch 'upstream-fixes' commit 6bd0e10e53cc4824cd8cdaab8c370e53ab2e23c2 tree 239e89177a17a99d94bfdc799d62eb6d48b4f201 parent 3c9b3a8575b4f2551e3b5b74ffa1c3559c6338eb parent 0d615ec2bb1cb8c38087bb24f6d2876dec3a9751 author Jeff Garzik Tue, 07 Feb 2006 01:47:33 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:47:33 -0500 Merge branch 'sundance' commit 3c9b3a8575b4f2551e3b5b74ffa1c3559c6338eb tree 7f8d84353852401ec74e005f6f0b1eb958b9a70d parent c0d3c0c0ce94d3db893577ae98e64414d92e49d8 parent c03296a868ae7c91aa2d8b372184763b18f16d7a author Jeff Garzik Tue, 07 Feb 2006 01:47:12 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:47:12 -0500 Merge branch 'master' commit c0d3c0c0ce94d3db893577ae98e64414d92e49d8 tree 0eb82bef20d8f02a0c4b207c4a543a5a49a83b17 parent a03b1950521466e007288a25c9fc7ac7f05a97e5 author Bunk Tue, 07 Feb 2006 01:43:31 -0500 committer Jeff Garzik Tue, 07 Feb 2006 01:43:31 -0500 [netdrvr] schedule eepro100 for removal commit 17801f5fa2e31b60f26aadd7ba41395dd1b1093e tree d1df5f2f1efb863786e4cf76ffc756b42d114fa8 parent bbab6fd81f26b210f0815d79064a3387c3a1ade3 author Marcin Rudowski Mon, 06 Feb 2006 09:15:14 -0200 committer Mauro Carvalho Chehab Mon, 06 Feb 2006 09:15:14 -0200 V4L/DVB (3266): Fix NICAM buzz on analog sound Apparently, having the number of lines fixed at 4 reduces (or even kills) the buzz found in NICAM stereo with analog sound. Signed-off-by: Marcin Rudowski Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit bbab6fd81f26b210f0815d79064a3387c3a1ade3 tree 627875f2ea294e49643862f9576cea96952d934c parent b31c544aedc802688e32240f1398a4321433bfae author Michael Krufky Mon, 06 Feb 2006 09:15:11 -0200 committer Mauro Carvalho Chehab Mon, 06 Feb 2006 09:15:11 -0200 V4L/DVB (3265): Add count to tunertype struct The tuner_params element is an array of undefined length, with each array member being a set of parameters for each video standard type. The number of members in the tuner_params array will be stored in tuners[]->count Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 01d206a7c1167639f6ca6dac22140fbdca017558 tree bc3ccf1a8140a7f787c4728cfa4c30e65ad56eb2 parent 9c4b562abc9005e4b413de02c85d3d29da707cba parent d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f author Adrian Bunk Fri, 03 Feb 2006 23:49:49 +0100 committer Adrian Bunk Fri, 03 Feb 2006 23:49:49 +0100 Merge with git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 9ac341ae799413708e674bc65c8a72c90dae8d34 tree e4b4f21c424e1843ce2155f060e8930154b0476b parent 18ee3610040a4c008ce08a40a5dd025241cc7e97 parent ddef9bb367b19383df627e388cb4c01c86ddba6c author Jeff Garzik Thu, 02 Feb 2006 16:17:31 -0500 committer Jeff Garzik Thu, 02 Feb 2006 16:17:31 -0500 Merge branch 'upstream-fixes' commit 18ee3610040a4c008ce08a40a5dd025241cc7e97 tree 32a996a5123726b63c31a1522f230933fb967a32 parent e4e7b89280d1d666e2c09e5ad36cf071796c4c7e parent b4103333d7904310d34de18d85e51e3d74f00a3b author Jeff Garzik Thu, 02 Feb 2006 01:12:54 -0500 committer Jeff Garzik Thu, 02 Feb 2006 01:12:54 -0500 Merge branch 'master' commit e4e7b89280d1d666e2c09e5ad36cf071796c4c7e tree 32f9fed9d68452fe6cf1ccca6559c0703b04f544 parent d6fb89bf6b8b45ec8c911570ba0852940690d846 author Jeff Garzik Tue, 31 Jan 2006 12:18:41 -0500 committer Jeff Garzik Tue, 31 Jan 2006 12:18:41 -0500 [libata sata_mv] add 6042 support, fix 60xx/50xx EDMA configuration commit a03b1950521466e007288a25c9fc7ac7f05a97e5 tree d1e9486b6e21bde1d80113ce9abe933e51364826 parent 0b310f36d7d96e27f6941ec0f9b95e15142f1e78 parent c6f0d75a2defe8c7d8bf9f78de891cedc46b4b3e author Jeff Garzik Tue, 31 Jan 2006 11:52:21 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:52:21 -0500 Merge branch 'upstream-fixes' commit 0b310f36d7d96e27f6941ec0f9b95e15142f1e78 tree c2a3d403c82fd892ded3849cc721cf8e6f8c7824 parent 359b8800d3a46557844969c485e1a14baf119b06 parent 2f633db5e9c57e07a971b65e9a72f090f59fd5f6 author Jeff Garzik Tue, 31 Jan 2006 11:50:55 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:50:55 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 359b8800d3a46557844969c485e1a14baf119b06 tree 9e2015a5c1feddc17ba638b05b5fb3988bc79e27 parent 4f975b32433df87b8ead3de9944e0a9f90d261fd parent 0febb720fe77153f54b68fe7a3d7114f4c6711d8 author Jeff Garzik Tue, 31 Jan 2006 11:50:25 -0500 committer Jeff Garzik Tue, 31 Jan 2006 11:50:25 -0500 Merge branch 'upstream-fixes' commit 2f633db5e9c57e07a971b65e9a72f090f59fd5f6 tree 7349aedafbc9c52630e20beb5d7b8c31052cc037 parent f1b50863aa6a96c61a57e3b3a5e76e67b38c5c3e author Larry Finger Mon, 30 Jan 2006 23:25:10 -0600 committer John W. Linville Tue, 31 Jan 2006 10:35:46 -0500 [PATCH] Add two management functions to ieee80211_rx.c On my system, I get unhandled management functions corresponding to IEEE80211_STYPE_REASSOC_REQ and IEEE80211_STYPE_ASSOC_REQ. The attached patch adds the logic to pass these requests off to a user stack. The patches to implement these requests in softmac have already been sent to Johannes Berg. Signed-Off-By: Larry Finger Signed-off-by: John W. Linville commit f1b50863aa6a96c61a57e3b3a5e76e67b38c5c3e tree 9582287de5d5c9cf42a120e4103e2c6b849a2992 parent 4be757dd4c00ddabff2d6faf639466bb5d76bc79 author Dan Williams Mon, 30 Jan 2006 13:58:56 -0500 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] wireless/ipw2200: support WE-18 WPA enc_capa This patch allows ipw2100 driver to advertise the WPA-related encryption options that it does really support. It's necessary to work correctly with NetworkManager and other programs that actually check driver & card capabilities. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 4be757dd4c00ddabff2d6faf639466bb5d76bc79 tree 2b8d8bc23889da7c78db7592db2f791ef13bcf43 parent dd5eeb461ea572f82d34e1f2c4b88037df5afedb author Dan Williams Mon, 30 Jan 2006 11:58:00 -0500 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] wireless/airo: add IWENCODEEXT and IWAUTH support This patch adds IWENCODEEXT and IWAUTH support to the airo driver for WEP and unencrypted operation. No WPA though. It allows the driver to operate more willingly with wpa_supplicant and NetworkManager. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit dd5eeb461ea572f82d34e1f2c4b88037df5afedb tree 5c6bcb9a6cb50d42c4bf17b41785622dfcc04314 parent bde37d037715bef4a67d58d00fecbe4c71836cab author Larry Finger Mon, 30 Jan 2006 13:12:50 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ieee80211: common wx auth code This patch creates two functions ieee80211_wx_set_auth and ieee80211_wx_get_auth that can be used by drivers for the wireless extension handlers instead of writing their own, if the implementation should be software only. These patches enable using bcm43xx devices with WPA and this seems (as far as I can tell) to be the only difference between the stock ieee80211 and softmac's ieee80211 left. Signed-Off-By: Johannes Berg Signed-off-by: John W. Linville commit bde37d037715bef4a67d58d00fecbe4c71836cab tree 6bac64a4ad48c7a3315cd69f3805ceea0dfaed8d parent 4644151b7208bec9522cad928a7105e0fc04a2b2 author Zhu Yi Tue, 24 Jan 2006 16:38:08 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ipw2200: Disable hwcrypto by default After looking at the mailing list (and experiencing permanent driver lockups while using hwcrypto=1) I think that disabling this option by default would be better than otherwise. Signed-off-by: Andreas Happe Signed-off-by: John W. Linville commit 4644151b7208bec9522cad928a7105e0fc04a2b2 tree 9771f6008d3a20b673a3203ae2aa0a7f2a3734bc parent 2638bc394195f27801d1c184c4358ce25599146b author Zhu Yi Tue, 24 Jan 2006 16:37:59 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:35 -0500 [PATCH] ipw2200: Semaphore to mutexes conversion The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar Cc: Ronald Bultje Cc: "David S. Miller" Cc: Jeff Garzik Cc: Yi Zhu Cc: James Ketrenos Signed-off-by: Andrew Morton Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 2638bc394195f27801d1c184c4358ce25599146b tree 5524a41930056c9cd5a65f795f8901f8f25c579b parent 7c97eb3f1dd09548fe7167e684da4fc94580aceb author Zhu Yi Tue, 24 Jan 2006 16:37:52 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: remove white space and better format the code Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 7c97eb3f1dd09548fe7167e684da4fc94580aceb tree 0b6b65afaf25846b6fa7d1a45ea9887f6f952587 parent 4e22699fa264b88084210ceaa63747b8352bd517 author Zhu Yi Tue, 24 Jan 2006 16:37:47 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: increase ipw2200 driver version increase ipw2200 driver version to git-1.0.10 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 4e22699fa264b88084210ceaa63747b8352bd517 tree f70b393f51d8c627cd45aeba09345f75b61f7ee6 parent 0a7bcf261ea584c87a9cee4523023fa74168de4a author Zhu Yi Tue, 24 Jan 2006 16:37:36 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: Fix qos_cmd param switch bug The patch fixes a couple of errors regarding QoS, which results in compile warnings and malfunction of the driver. Signed-off-by: Henrik Brix Andersen Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 0a7bcf261ea584c87a9cee4523023fa74168de4a tree f5ccb4cf6b3e376bbb16a1a0cb12b700b58ba928 parent 397ae121ee0116d3b4125d621f0ef528d1d52580 author Zhu Yi Tue, 24 Jan 2006 16:37:28 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: stack reduction Checking the stack usage of my kernel, showed that ipw2200 had a few bad offenders. This is on i386 32-bit: 0x00002876 ipw_send_associate: 544 0x000028ee ipw_send_associate: 544 0x000027dc ipw_send_scan_request_ext: 520 0x00002864 ipw_set_sensitivity: 520 0x00005eac ipw_set_rsn_capa: 520 The reason is the host_cmd structure is large (500 bytes). All other functions currently using ipw_send_cmd() suffer from the same problem. This patch introduces ipw_send_cmd_simple() for commands with no data transfer, and ipw_send_cmd_pdu() for commands with a data payload and makes the payload a pointer to the buffer passed in from the caller. As an added bonus, the diffstat looks like this: ipw2200.c | 260 +++++++++++++++++++++----------------------------------------- ipw2200.h | 2 2 files changed, 92 insertions(+), 170 deletions(-) and it shrinks the module a lot as well: Before: text data bss dec hex filename 75177 2472 44 77693 12f7d drivers/net/wireless/ipw2200.ko After: text data bss dec hex filename 61363 2488 44 63895 f997 drivers/net/wireless/ipw2200.ko So about a ~18% reduction in module size. Signed-off-by: Jens Axboe Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 397ae121ee0116d3b4125d621f0ef528d1d52580 tree b4de052ca78d6c8b4c05494a4a297aac9e88190e parent 4bfdb91dcff0dd4b70922de263ccffffb8fb1d16 author Zhu Yi Tue, 24 Jan 2006 16:37:22 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:34 -0500 [PATCH] ipw2200: Scale firmware loading watchdog with the firmware size I can't really help with why restarts happen, but the following patch greatly increases the likelihood that a firmware reload will succeed afterward on my thinkpad. It addresses two issues. First, sysfs module loading and hotplug are asynchronous, and as such file operations on the "loading" and "data" files are racy when you load 2 firmwares in quick succession. Second, the timeout for DMAing the firmware needs to scale with the size of the firmware being loaded. That is, the watchdog needs to be on throughput, not on time alone. I no longer get the firmware load errors, though this is at best a hacky workaround for a racy interface. (Obviously, this does nothing to address the fatal errors in firmware which cause reloads; it just causes the initial loading and the reloads to work more often.) Signed-off-by: Peter Jones Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 4bfdb91dcff0dd4b70922de263ccffffb8fb1d16 tree 6755f4f008dbe8880b128cab6ebd9ae8b13ddc22 parent ede6111cae6a83fbb0b6b621b4333d1a3983c089 author Zhu Yi Tue, 24 Jan 2006 16:37:16 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: add module parameter to enable/disable roaming Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit ede6111cae6a83fbb0b6b621b4333d1a3983c089 tree e1471e6b1b95d1a3fe468f02dc60fe9afacd459b parent c7b6a6744c3eb878e08ef992d57cd01eed457810 author Zhu Yi Tue, 24 Jan 2006 16:37:10 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Make LED blinking frequency independent of HZ Signed-off-by: Clemens Buchacher . Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit c7b6a6744c3eb878e08ef992d57cd01eed457810 tree cf3b78c439b0c84f114702be7275280664a5ca9a parent 810dabd466fe70869b66ab64dd326b6153cef645 author Zhu Yi Tue, 24 Jan 2006 16:37:05 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: use jiffies_to_msec() wherever possible This substitutes Linux jiffies_to_msec() wherever there is a computation for determining milliseconds from jiffies, following lead from ieee80211 code. And it does a little cleanup. "it's" == "it is" ... "its" == possessive "it". Indulge me. ;-) Signed-off-by: Cahill, Ben M Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 810dabd466fe70869b66ab64dd326b6153cef645 tree ca919a3a3b819b6bb46cc9d072b58f8b698b1070 parent 3e234b4e5768b4f783fc45f20be8c6515b875f17 author Zhu Yi Tue, 24 Jan 2006 16:36:59 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Bluetooth coexistence support I've added a new module param "bt_coexist" which defaults to OFF. This does not seem to fix the firmware restarts, but it does do "the right thing" and disables something that we were enabling by default: signaling the Bluetooth h/w which channel we're on (whether or not the BT h/w was out there). Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3e234b4e5768b4f783fc45f20be8c6515b875f17 tree f4c52593b5a7bb92dcdb966066c8d73b99209b4e parent f516dbcd7df76d468be98c343bc22e86ab7207fc author Zhu Yi Tue, 24 Jan 2006 16:36:52 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:33 -0500 [PATCH] ipw2200: Add LEAP authentication algorithm support Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit f516dbcd7df76d468be98c343bc22e86ab7207fc tree e13557dad21e95ff192d5df6036d36f3425b64e1 parent c8fe6679086a983c4c95a441f3246c7aaecab80a author Zhu Yi Tue, 24 Jan 2006 16:36:44 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2200: Mask out the WEP_KEY command dump from debug log for security reason Signed-off-by: Nick Kralevich Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit c8fe6679086a983c4c95a441f3246c7aaecab80a tree e218762630b2d321e4d970417835b70949fe8c65 parent 71aa122d8a510b79338e28e2d56326574642d000 author Zhu Yi Tue, 24 Jan 2006 16:36:36 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2200: Fix indirect SRAM/register 8/16-bit write routines The indirect SRAM/register 8/16-bit write routines are broken for non-dword-aligned destination addresses. Fortunately, these routines are, so far, not used for non-dword-aligned destinations, but here's a patch that fixes them, anyway. The attached patch also adds comments for all direct/indirect I/O routine variations. Signed-off-by: Ben M Cahill Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 71aa122d8a510b79338e28e2d56326574642d000 tree 5f15ae085d4e1ef654ac8c409b0a13f6a0320e60 parent 8ed55a482e2f044bfb044295ee86ecd5744c9911 author Zhu Yi Tue, 24 Jan 2006 16:08:55 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] increase ipw2100 driver version to git-1.1.4 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8ed55a482e2f044bfb044295ee86ecd5744c9911 tree bcb5e3d219dc51d4aa2de069ec29bd983a44d22e parent be6b3b15b511aededd89d1ebbc7b25d0edd1ccd3 author Zhu Yi Tue, 24 Jan 2006 13:49:20 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2100: remove white space and better format the code Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit be6b3b15b511aededd89d1ebbc7b25d0edd1ccd3 tree fcc97e33b4f4735bad76eb77a2e4e92ac171677f parent 3173ca0b76879be1fb7af826ae4ce7ee733159ce author Zhu Yi Tue, 24 Jan 2006 13:49:08 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:32 -0500 [PATCH] ipw2100: Add generic geo information This patch fixes a BUG_ON for the latest ieee80211 change. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 3173ca0b76879be1fb7af826ae4ce7ee733159ce tree fedfdd8e491e6a4496ee9dc78d55b3851aca1ae8 parent cbbdd03fadeddd02efec05ccfd4e6870ed913762 author Zhu Yi Tue, 24 Jan 2006 13:49:01 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ipw2100: Make iwconfig txpower setting consistent with user input Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit cbbdd03fadeddd02efec05ccfd4e6870ed913762 tree 7624f3cf850dda8fbb1f9f5a7e0d2108cdac1384 parent 9eafe76b8a5e1420cd6105bc11830914d90bddb4 author Zhu Yi Tue, 24 Jan 2006 13:48:53 +0800 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ipw2100: Add LEAP authentication algorithm support Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9eafe76b8a5e1420cd6105bc11830914d90bddb4 tree ccee0929ee13ebd46d92811688b08d3f355b21e4 parent a73e22b286bd162d10526521b34f2d6f37aac635 author Denis Vlasenko Sun, 22 Jan 2006 13:57:10 +0200 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] ieee80211: trivial fix for misplaced ()'s Patch fixes misplaced (). Diffed against wireless-2.6.git Signed-off-by: Denis Vlasenko Signed-off-by: John W. Linville commit a73e22b286bd162d10526521b34f2d6f37aac635 tree 728562af8aa42a145cf9b591382b044a31e94fb4 parent 3c398b8612b210a159ec7ba5e5c3c341fb0d5eab author Adrian Bunk Sat, 21 Jan 2006 01:39:42 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] drivers/net/wireless/ipw2200: possible cleanups This patch contains the following possible cleanups: - make needlessly global functions static - "extern inline" -> "static inline" - #if 0 the unused global function ipw_led_activity_on() Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 3c398b8612b210a159ec7ba5e5c3c341fb0d5eab tree b026cc1cd7c7323a2cf16db76dfef5cdc65fbeea parent a39d3e796cd2df8576c0418faa2c3833153bb3a9 author Adrian Bunk Sat, 21 Jan 2006 01:36:36 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:31 -0500 [PATCH] drivers/net/wireless/ipw2100.c: make ipw2100_wpa_assoc_frame() static This patch makes the needlessly global ipw2100_wpa_assoc_frame() static. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit a39d3e796cd2df8576c0418faa2c3833153bb3a9 tree 6427f50efb949d7cd9a96a39183d643ccf111768 parent d86b5e0e6bf5980d3136ab4a855522143f2dcb5d author Adrian Bunk Sat, 21 Jan 2006 01:35:15 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:30 -0500 [PATCH] AIRO{,_CS} <-> CRYPTO fixes CRYPTO is a helper variable, and to make it easier for users, it should therefore select'ed and not be listed in the dependencies. drivers/net/wireless/airo.c requires CONFIG_CRYPTO for compilations. Therefore, AIRO_CS also has to CRYPTO. Additionally, this patch removes the #ifdef's for the non-compiling CRYPTO=n case from drivers/net/wireless/airo.c. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit d86b5e0e6bf5980d3136ab4a855522143f2dcb5d tree 8b63a48c3c063a5cdebeef29f05e698c7143bdf7 parent 747af1e154545566d04f647f86fc3ae512439fab author Adrian Bunk Sat, 21 Jan 2006 00:46:55 +0100 committer John W. Linville Mon, 30 Jan 2006 20:35:30 -0500 [PATCH] net/: fix the WIRELESS_EXT abuse This patch contains the following changes: - add a CONFIG_WIRELESS_EXT select'ed by NET_RADIO for conditional code - remove the now no longer required #ifdef CONFIG_NET_RADIO from some #include's Based on a patch by Jean Tourrilhes . Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 747af1e154545566d04f647f86fc3ae512439fab tree 78ac4b4440022d473b28f235df4e880d3b5adcbe parent d1b46b0fba8c1049135ee5d60910b04463dccc95 parent ae7ec20582de0867abda66ad06d468ce12b231f2 author John W. Linville Mon, 30 Jan 2006 17:43:25 -0500 committer John W. Linville Mon, 30 Jan 2006 17:43:25 -0500 Merge branch 'upstream-fixes' commit d6fb89bf6b8b45ec8c911570ba0852940690d846 tree 38e7d7c8f2b5b6f0ae1dd6e977154bcb48389a62 parent b1d917739acd44e14eb13813e4c94dc4b6831ca3 parent 9220a2d0daa1e6782f02d47303340d7b5ca62ac0 author Jeff Garzik Sun, 29 Jan 2006 12:41:09 -0500 committer Jeff Garzik Sun, 29 Jan 2006 12:41:09 -0500 Merge branch 'upstream-fixes' commit b1d917739acd44e14eb13813e4c94dc4b6831ca3 tree d666684748522c31356d04f8243f6bcd7203dc8b parent c893a3ae49279a4ab6aa6cf594a2ec6d286e1187 parent bd12097c7415c13aff53aed473eec92acd15712a author Jeff Garzik Sun, 29 Jan 2006 02:47:18 -0500 committer Jeff Garzik Sun, 29 Jan 2006 02:47:18 -0500 Merge branch 'upstream-fixes' commit 450d86dff3fc4780fd5c2d1654402ab7ffec9c38 tree 0f7314e205dac26aafa4ab0aaed8866aa84831a3 parent 0018dfa48e171315ce7f0ea689e34b67af926e19 author Al Viro Thu, 22 Dec 2005 14:52:52 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:35 -0500 [PATCH] dead code removed in hp100 for mode 2 (memory-mapped) we always set ->mem_ptr_virt; dead code removed. Signed-off-by: Al Viro commit 0018dfa48e171315ce7f0ea689e34b67af926e19 tree 02d3671f79172ea5ff00c173f41620202a7cde36 parent 3c13958620f08c8082a2694e51dec32592438388 author Al Viro Thu, 01 Dec 2005 06:53:59 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:31 -0500 [PATCH] wrong ifdefs in 82596.c ifdefs around variable declaration would better match those around its uses... Signed-off-by: Al Viro commit 3c13958620f08c8082a2694e51dec32592438388 tree 8b14e1b6a4e7f7a884f4f558206d35dccd10c1ba parent 82729971e0f8ccf1f15567cc4f2c5389e0659eb2 author Al Viro Thu, 01 Dec 2005 06:44:55 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:28 -0500 [PATCH] bogus include of linux/irq.h in 7990.c Signed-off-by: Al Viro commit 82729971e0f8ccf1f15567cc4f2c5389e0659eb2 tree 1618283083d7b6b5c035e183b555aaa8a90f8480 parent ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7 author Al Viro Tue, 06 Dec 2005 05:53:04 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:25 -0500 [PATCH] missing include of asm/irq.h in drivers/net Signed-off-by: Al Viro commit ded5ca1f3b9ffa464fe5d4744fd09bba753ff4b7 tree 6755ae998e3b1710ed1d30643aff4582c1960a4b parent 976345cc0fb34d677233b5b22d4819dc7ac92ef1 author Al Viro Sun, 04 Dec 2005 02:28:40 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:22 -0500 [PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/ Signed-off-by: Al Viro commit 976345cc0fb34d677233b5b22d4819dc7ac92ef1 tree 65d54cce8bb4ebe6c79f49eccf9c790b3ef9a9c7 parent b43de2d8db7655d1c520bf6eac7071d8f6d0b864 author Al Viro Tue, 06 Dec 2005 06:02:45 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:19 -0500 [PATCH] appletalk/cops.h: missing const in struct ltfirmware Signed-off-by: Al Viro commit b43de2d8db7655d1c520bf6eac7071d8f6d0b864 tree 72de2f56444a6a167fa61dff14946d1aa90b3bc8 parent d0f6ecad39266f87913539c52dc624f75cc4b914 author Al Viro Thu, 01 Dec 2005 10:15:21 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:15 -0500 [PATCH] ibm_emac sparse annotations Signed-off-by: Al Viro commit d0f6ecad39266f87913539c52dc624f75cc4b914 tree c2c674495d0d13241779ed6fbeeff16b4523e2e0 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Al Viro Fri, 02 Dec 2005 03:54:44 -0500 committer Al Viro Sat, 28 Jan 2006 21:42:11 -0500 [PATCH] arcnet probing cleanups and fixes make arcnet probing do request_mem_region() for all iomem it's going to access, clean the code up. Signed-off-by: Al Viro commit 4f975b32433df87b8ead3de9944e0a9f90d261fd tree 85fc678ccca9eac622b9513919812d2602ea4da1 parent 0cc349d130b34de3046fb3d0e31eaf6ff5540cad parent d1b46b0fba8c1049135ee5d60910b04463dccc95 author Jeff Garzik Sat, 28 Jan 2006 16:07:32 -0500 committer Jeff Garzik Sat, 28 Jan 2006 16:07:32 -0500 Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 0cc349d130b34de3046fb3d0e31eaf6ff5540cad tree b61bf80ec24a13a685f43341fe38855a625b1e2e parent 01999873a455fe9104e91820c72849e608239928 parent b0b020d4783fbc4cc477e2ca678ac47c50d5bc3e author Jeff Garzik Sat, 28 Jan 2006 16:06:45 -0500 committer Jeff Garzik Sat, 28 Jan 2006 16:06:45 -0500 Merge branch 'upstream-fixes' commit c893a3ae49279a4ab6aa6cf594a2ec6d286e1187 tree a081e82f1273e7dd2c9eb5c26f4078cc5b6a79af parent 6340f019695a08e3b2e317e307014801fc86b178 author Randy Dunlap Sat, 28 Jan 2006 13:15:32 -0500 committer Jeff Garzik Sat, 28 Jan 2006 13:15:32 -0500 Various libata documentation updates. This is a merger of libata docs + cleanups from Martin Waitz and me. From: Randy Dunlap From: Martin Waitz Fix libata kernel-doc comments to match code. Add some function parameters to kernel-doc. Fix some typos/spellos. Put comments in <= 80 columns. Make one DPRINTK string unique. Fix sparse cast warnings. Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit 6340f019695a08e3b2e317e307014801fc86b178 tree 29ffcfd426be348c2a1f1eb0b9f3dc0034445ba6 parent b376bc1f6b4258112d714fb4ee8e5d57b53625f2 author Luke Kosewski Sat, 28 Jan 2006 12:39:29 -0500 committer Jeff Garzik Sat, 28 Jan 2006 12:39:29 -0500 [libata sata_promise] add correct read/write of hotplug registers for SATAII devices This patch adds support for correctly masking out and knowing about hotplug events on Promise SATAII150 Tx4/Tx2 Plus controllers. Also, a kmalloc->kzalloc cleanup. Signed-off-by: Luke Kosewski Signed-off-by: Jeff Garzik commit b376bc1f6b4258112d714fb4ee8e5d57b53625f2 tree a904b4754c697bc915998f627ad94114f12509a1 parent c2bd58047b9b5c91a3b0a851de66a877f2eb7ae3 author Jeff Garzik Sat, 28 Jan 2006 12:26:23 -0500 committer Jeff Garzik Sat, 28 Jan 2006 12:26:23 -0500 [libata ata_piix] Fix ICH6/7 map value interpretation The previous change failed to properly mask out unrelated bits, which resulted in a failure to detect devices. commit c2bd58047b9b5c91a3b0a851de66a877f2eb7ae3 tree aaaa1cc9da06699c6d68e88dba5e304ae5788a3c parent a62c0fc526c344d8163f7a9e45e68cc63826ffd3 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Fri, 27 Jan 2006 20:58:34 -0500 [PATCH] libata: implement standard reset component operations and ->probe_reset Implement SRST, COMRESET and standard postreset component operations for ata_drive_probe_reset(), and use these three functions to implement ata_std_probe_reset. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a62c0fc526c344d8163f7a9e45e68cc63826ffd3 tree d803a14848eb785f63b5f9e2d0b3f19afa0bda9d parent c19ba8af4f104cca28d548cac55c128b28dd31fb author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Fri, 27 Jan 2006 20:58:34 -0500 [PATCH] libata: implement ata_drive_probe_reset() Most low level drivers share supported reset/classify actions and sequence. This patch implements ata_drive_probe_reset() which helps constructing ->probe_reset from three component operations - softreset, hardreset and postreset. This minimizes duplicate code and yet allows flexibility if needed. The three component operations can also be shared by EH later. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit d1b46b0fba8c1049135ee5d60910b04463dccc95 tree 1ec055eee19d523f5fdd7bbe696dc1f0c0dbd105 parent 15f385982e3a4782fe8ed71a9a6beb64a2160c30 author Zhu Yi Thu, 19 Jan 2006 16:22:15 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add 802.11h information element parsing Added default handlers for various 802.11h DFS and TPC information elements. Moved all information elements into single location (called from two places). Added debug message with information on unparsed IEs if debug_level set. Added code to reset network IBSS DFS information when appropriate. Added code to invoke driver callback for 802.11h ACTION STYPE. Changed a few printk's to IEEE80211_DEBUG_MGMT. Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 15f385982e3a4782fe8ed71a9a6beb64a2160c30 tree d33236c0ed68d8a255c88e3e3279f876c67575c6 parent b79e20b60997e427b701055a2c69fb0c1d507aa9 author Zhu Yi Thu, 19 Jan 2006 16:21:35 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add helpers for IBSS DFS handling To support IEEE 802.11h in IBSS, an ibss_dfs field is added to struct ieee80211_network. In IBSS, if one STA sends a beacon with DFS info (for radar detection), all the other STAs should receive and store this DFS. All STAs should send the DFS as one of the information element in the beacon they are scheduled to send (if possible) in the future. Since the ibss_dfs has variable length, it must be allocated dynamically. ieee80211_network_reset() is added to clear the ibss_dfs field. ieee80211_network_free() is also updated to free the ibss_dfs field if it is not NULL. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit b79e20b60997e427b701055a2c69fb0c1d507aa9 tree 318bf28699ed6042c667f01c8017c3d9d73c9f7d parent 9184d9348a7a0e60d70d5f4c23de79fdbc72b9a3 author Zhu Yi Thu, 19 Jan 2006 16:21:27 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add 802.11h data type and structures Add 802.11h data types and structure definitions to ieee80211.h. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 9184d9348a7a0e60d70d5f4c23de79fdbc72b9a3 tree e7211258e23f29de34c39866cfa0933e5d10d2f7 parent 41a25c616b3140c388ff6009a1cb0b6b06a10f29 author Zhu Yi Thu, 19 Jan 2006 16:22:32 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: Add TKIP crypt->build_iv This patch adds ieee80211 TKIP build_iv() method to support hardwares that can do TKIP encryption but relies on ieee80211 layer to build the IV. It also changes the build_iv() interface to return the key if possible after the IV is built (this is required by TKIP). Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 41a25c616b3140c388ff6009a1cb0b6b06a10f29 tree c5c7758ba0f98cf58e89731d830a4176381b49f1 parent 8aa914b747b650fc1735f3a3171753ac15ed93ab author Zhu Yi Thu, 19 Jan 2006 16:22:23 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:07 -0500 [PATCH] ieee80211: TIM information element parsing Added partial support of TIM information element parsing Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 8aa914b747b650fc1735f3a3171753ac15ed93ab tree 71bdea3b0d816345c3c1fe8bccaa7122788abc49 parent 7bd64366044565d6861783613db191c8aaec691e author Zhu Yi Thu, 19 Jan 2006 16:22:07 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: kmalloc+memset -> kzalloc cleanups kmalloc+memset -> kzalloc cleanups in ieee80211_crypt_tkip Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 7bd64366044565d6861783613db191c8aaec691e tree 2a75f5bda5df503c532e7c12f53b9be9bd47401e parent d128f6c176bff9c4929476e13132804321a6d5c5 author Zhu Yi Thu, 19 Jan 2006 16:21:54 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Add spectrum management information Add spectrum management information and use stat.signal to provide signal level information. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d128f6c176bff9c4929476e13132804321a6d5c5 tree 6c48f08712a5a81501fea7c317faa9f517d70520 parent 24056bec086aaa99923b21c0e1a0e993bb1c7e2a author Zhu Yi Thu, 19 Jan 2006 16:21:45 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: add flags for all geo channels Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 24056bec086aaa99923b21c0e1a0e993bb1c7e2a tree f346787ae101c10185849c44bbbcd42d8d461a9a parent d65292375154085feb7217ed8fccc8edf163c6b2 author Zhu Yi Thu, 19 Jan 2006 16:21:09 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Add LEAP authentication type Signed-off-by: Hong Liu Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit d65292375154085feb7217ed8fccc8edf163c6b2 tree 952ec92d86fd48285580d6bd7e9c4d0ad9d43209 parent 44d7a8cfbdc1112fd80546591fd6f5c831ea0363 author Zhu Yi Thu, 19 Jan 2006 16:20:49 +0800 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] ieee80211: Log if netif_rx() drops the packet Log to wireless network stats if netif_rx() drops the packet. (also trailing whitespace and Lindent cleanups as part of patch-apply process) Signed-off-by: James Ketrenos Signed-off-by: Zhu Yi Signed-off-by: John W. Linville commit 44d7a8cfbdc1112fd80546591fd6f5c831ea0363 tree 87e0b6360f041847e519cd25aaa2dbc4b48cbde0 parent 4a99ac3a9ee7e1b90ebc3ddbb44db75eef5c41e6 author Denis Vlasenko Wed, 18 Jan 2006 12:02:33 +0200 committer John W. Linville Fri, 27 Jan 2006 17:08:06 -0500 [PATCH] WEP fields are incorrectly shown to be INSIDE snap in the doc >If encryption is enabled, each fragment payload size is reduced by enough space >to add the prefix and postfix (IV and ICV totalling 8 bytes in the case of WEP) >So if you have 1500 bytes of payload with ieee->fts set to 500 without >encryption it will take 3 frames. With WEP it will take 4 frames as the >payload of each frame is reduced to 492 bytes. Text is correct, but in picture (IV,payload,ICV) sits inside SNAP. Patch corrects this. Signed-Off-By: Denis Vlasenko Acked-By: Johannes Berg Signed-off-by: John W. Linville commit b31c544aedc802688e32240f1398a4321433bfae tree 66500cd9f82d01f8a8c35cd64e918162328371e3 parent 739dbef022e1600cfd3ba989246b3eecf04f2bb5 author Mauro Carvalho Chehab Fri, 27 Jan 2006 16:32:02 -0200 committer Mauro Carvalho Chehab Fri, 27 Jan 2006 16:32:02 -0200 V4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email - V4L/DVB Maintainers list changed. This patch alters the email to the new address. Signed-off-by: Mauro Carvalho Chehab Acked-By: Johannes Stezenbach commit 01999873a455fe9104e91820c72849e608239928 tree 24695d2629535ed0ccfdaa26d028705bca0eaecf parent d0412d967032b9e147bcbacc9ff0c0342636cf2d author Dale Farnsworth Fri, 27 Jan 2006 01:18:01 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Clean up platform_data configuration We shouldn't expose the hardware register contents in platform_data. The only things we allow the user to configure are autoneg, speed, and duplex. Add specific platform_data fields for these values and remove the registers configs. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit d0412d967032b9e147bcbacc9ff0c0342636cf2d tree 1191be1a588161a4d4538536975379d0c8f61011 parent c28a4f8947f1b08996502967e348dc88363749a7 author James Chapman Fri, 27 Jan 2006 01:15:30 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: use MII library for ethtool functions Use the common ethtool support functions of the MII library. Add generic MII ioctl handler. Add PHY parameter speed/duplex/negotiation initialization and modification. Signed-off-by: James Chapman Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit c28a4f8947f1b08996502967e348dc88363749a7 tree a0afa38353ebb02f2cef528d1b84e2e8e89443c2 parent 9f8dd319459bb5ab9efcc1c345bed7895cc41768 author James Chapman Fri, 27 Jan 2006 01:13:15 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: use MII library for PHY management Modify link up/down handling to use the functions from the MII library. Note that I track link state using the MII PHY registers rather than the mv643xx chip's link state registers because I think it's cleaner to use the MII library code rather than writing local driver support code. It is also useful to make the actual MII registers available to the user with maskable kernel printk messages so the MII registers are being read anyway Signed-off-by: James Chapman Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 9f8dd319459bb5ab9efcc1c345bed7895cc41768 tree 017ea7b2ca60f29110b8e43afbd6560737824489 parent f98e36f1f7903a319f7f87f96490e88f691ea106 author Dale Farnsworth Fri, 27 Jan 2006 01:10:47 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Make port queue enable/disable code consistent Add and use the following functions: mv643xx_eth_port_enable_tx() mv643xx_eth_port_enable_rx() mv643xx_eth_port_disable_tx() mv643xx_eth_port_disable_rx() so that ports are enabled/disabled consistently. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit f98e36f1f7903a319f7f87f96490e88f691ea106 tree cdad08d70b682bc36225a0a74cb5f49101bef6a3 parent cf4086c7725dc251551243c28325d446d9b1bf06 author Dale Farnsworth Fri, 27 Jan 2006 01:09:18 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Rename mp->tx_ring_skbs to mp->tx_desc_count tx_ring_skbs is actually a count of tx descriptors currently in use. Since there may be multiple descriptors per skb, it is not the same as the number of skbs in the ring. Also change rx_ring_skbs to rx_desc_count to be consistent. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cf4086c7725dc251551243c28325d446d9b1bf06 tree 6773df749dd578e77855c5c82ee5de66d4c63dea parent ed9b5d457668392182659747a734b38e86820adb author Dale Farnsworth Fri, 27 Jan 2006 01:07:48 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Merge unicast and multicast address filtering code Remove duplicated code by having unicast and multicast code use a common filter table function: eth_port_set_filter_table_entry(). Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit ed9b5d457668392182659747a734b38e86820adb tree 0d3c6e28ef5b0d2392278ce8d6c0850b09e9e13f parent cfc88b07292076f960b6782a7fea770abdac4ce6 author Dale Farnsworth Fri, 27 Jan 2006 01:06:38 -0700 committer Jeff Garzik Fri, 27 Jan 2006 11:11:16 -0500 [PATCH] mv643xx_eth: Remove needless mp->port_mac_addr mp->port_mac_addr is just a redundant copy of dev->dev_addr, so remove it. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit cfc88b07292076f960b6782a7fea770abdac4ce6 tree 97b034ecc70b3d37e774137789b8d18d7fb965d7 parent cca4aa83c79bcd571b06c83c50ea63cb75f1c2bb parent 6651a5c3839517685c601e44979f19de8b6249c3 author Jeff Garzik Fri, 27 Jan 2006 11:09:39 -0500 committer Jeff Garzik Fri, 27 Jan 2006 11:09:39 -0500 Merge branch 'upstream-fixes' commit 7d3d0439f574a4857c97b3ad2e63b082b7382d7e tree 320e1024829ee4939f9d66d5bcddcdb43258cbcb parent efd51b5c6798d103e3aa683464aebb2019b62119 author Ravinandan Arakali Wed, 25 Jan 2006 14:53:07 -0500 committer Jeff Garzik Fri, 27 Jan 2006 10:34:38 -0500 [PATCH] S2io: Large Receive Offload (LRO) feature(v2) for Neterion (s2io) 10GbE Xframe PCI-X and PCI-E NICs Hi, Below is a patch for the Large Receive Offload feature. Please review and let us know your comments. LRO algorithm was described in an OLS 2005 presentation, located at ftp.s2io.com user: linuxdocs password: HALdocs The same ftp site has Programming Manual for Xframe-I ASIC. LRO feature is supported on Neterion Xframe-I, Xframe-II and Xframe-Express 10GbE NICs. Brief description: The Large Receive Offload(LRO) feature is a stateless offload that is complementary to TSO feature but on the receive path. The idea is to combine and collapse(upto 64K maximum) in the driver, in-sequence TCP packets belonging to the same session. It is mainly designed to improve 1500 mtu receive performance, since Jumbo frame performance is already close to 10GbE line rate. Some performance numbers are attached below. Implementation details: 1. Handle packet chains from multiple sessions(current default MAX_LRO_SESSSIONS=32). 2. Examine each packet for eligiblity to aggregate. A packet is considered eligible if it meets all the below criteria. a. It is a TCP/IP packet and L2 type is not LLC or SNAP. b. The packet has no checksum errors(L3 and L4). c. There are no IP options. The only TCP option supported is timestamps. d. Search and locate the LRO object corresponding to this socket and ensure packet is in TCP sequence. e. It's not a special packet(SYN, FIN, RST, URG, PSH etc. flags are not set). f. TCP payload is non-zero(It's not a pure ACK). g. It's not an IP-fragmented packet. 3. If a packet is found eligible, the LRO object is updated with information such as next sequence number expected, current length of aggregated packet and so on. If not eligible or max packets reached, update IP and TCP headers of first packet in the chain and pass it up to stack. 4. The frag_list in skb structure is used to chain packets into one large packet. Kernel changes required: None Performance results: Main focus of the initial testing was on 1500 mtu receiver, since this is a bottleneck not covered by the existing stateless offloads. There are couple disclaimers about the performance results below: 1. Your mileage will vary!!!! We initially concentrated on couple pci-x 2.0 platforms that are powerful enough to push 10 GbE NIC and do not have bottlenecks other than cpu%; testing on other platforms is still in progress. On some lower end systems we are seeing lower gains. 2. Current LRO implementation is still (for the most part) software based, and therefore performance potential of the feature is far from being realized. Full hw implementation of LRO is expected in the next version of Xframe ASIC. Performance delta(with MTU=1500) going from LRO disabled to enabled: IBM 2-way Xeon (x366) : 3.5 to 7.1 Gbps 2-way Opteron : 4.5 to 6.1 Gbps Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit cca4aa83c79bcd571b06c83c50ea63cb75f1c2bb tree ee355d11b62f5f22fcdcfae5f4d5b31629227dfb parent 7e0b58f32fb5e9c958078a6d722a7d0b230346a7 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:49 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/winbond-840.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 7e0b58f32fb5e9c958078a6d722a7d0b230346a7 tree 7bc1545f382d267f1768526e50beb8ab934ac06c parent a707cd6e2d0a8c21dd8aeef8e4a0c0ccf8774fa9 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:43 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/de2104x.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away One of the if()s contains a call to de_is_running(), which seems to be safe to replace, but someone with more knownledge of the code might want to verify this... Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit a707cd6e2d0a8c21dd8aeef8e4a0c0ccf8774fa9 tree f28ad3ea7984cb8c69228a6665fbb57368017218 parent 97309d1a0bbdcb0813ea08574b4473d8e5416012 author Eric Sesterhenn / snakebyte Thu, 26 Jan 2006 22:02:51 +0100 committer Jeff Garzik Fri, 27 Jan 2006 10:33:16 -0500 [PATCH] BUG_ON() Conversion in net/tulip/xircom_cb.c hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit c19ba8af4f104cca28d548cac55c128b28dd31fb tree 2624b544c0f8294a712b3255695b1e178943255a parent b4dc7623c1bb258b66418261dab40f0e4cfc6d42 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:20:14 -0500 [PATCH] libata: new ->probe_reset operation Add new ->probe_reset operation to ata_port_operations obsoleting ->phy_reset. The main difference from ->phy_reset is that the new operation is not allowed to manipulate libata internals directly. It's not allowed to configure or disable the port or devices. It can only succeed or fail and classify attached devices into passed @classes. This change gives more control to higher level and eases sharing reset methods with EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit b4dc7623c1bb258b66418261dab40f0e4cfc6d42 tree ab6d2d5ce603fdc936d47788d80011abb11d6b57 parent 6f8b99589524f3e759e44721376abcdf88ed8915 author Tejun Heo Tue, 24 Jan 2006 17:05:22 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:20:14 -0500 [PATCH] libata: modify ata_dev_try_classify Make ata_dev_try_classify take @r_err to store tf error register value on completion and return device class instead of directly manipulating dev->class. This is preparation for new reset mechanism. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 6f8b99589524f3e759e44721376abcdf88ed8915 tree ea187cf272f560faaba4ffb6d34848f6f517203e parent 22b49985f526796471c074c0e56bcebfd633a6ff author Tejun Heo Tue, 24 Jan 2006 17:05:21 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:18:47 -0500 [PATCH] libata: export ata_busy_sleep Export ata_busy_sleep(), to be used by low level driver reset functions. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 22b49985f526796471c074c0e56bcebfd633a6ff tree 4e4033c1d9e01b4f5338349dd40ad3a4868f69c6 parent e0bfd149973d22a4330dd6665b54d1dcca07174a author Tejun Heo Mon, 23 Jan 2006 21:38:44 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:08:52 -0500 [PATCH] ahci: add constants for SRST Add constants needed to perform SRST. This is preparation for adding softreset method. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit e0bfd149973d22a4330dd6665b54d1dcca07174a tree b3c2fc9e3bc9a1ed4a3d677710c426e5a300105e parent 9506437921504df18c6601f7d09bb23d72d2f6ba author Tejun Heo Mon, 23 Jan 2006 16:31:53 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:07:08 -0500 [PATCH] ahci: stop engine during hard reset AHCI spec mandates engine to be stopped during hard resets. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9506437921504df18c6601f7d09bb23d72d2f6ba tree 9cac6bc442d39cdbd9251009ee1b7cabb161728b parent a72ec4ce6d3ae92e76baf5b2c65cc26e5e775e83 author Tejun Heo Mon, 23 Jan 2006 13:09:37 +0900 committer Jeff Garzik Thu, 26 Jan 2006 23:01:29 -0500 [PATCH] libata: create pio/atapi task queueing wrappers Wrap pio/atapi task queueing in correspondingly named functions. This change doesn't change anything. It's preparation for follow-up pio-task/eh sync patch. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a72ec4ce6d3ae92e76baf5b2c65cc26e5e775e83 tree f5a177cc30c9b39d8ae7dcad29d03d27534b9f78 parent 041c5fc33cb7ed4fe5322585a611fb6e29a05d3a author Tejun Heo Mon, 23 Jan 2006 13:09:37 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:28 -0500 [PATCH] libata: implement and apply ata_eh_qc_complete/retry() Implement ata_eh_qc_complete/retry() using scsi_eh_finish_cmd() and scsi_eh_flush_done_q(). This removes all eh scsicmd finish hacks from low level drivers. This change was first suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 041c5fc33cb7ed4fe5322585a611fb6e29a05d3a tree 7c03ea4fa7c4329a693ce8041110b27251a9923a parent 9a3d9eb0177eb10500d49cd283b35576082a522d author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:28 -0500 [PATCH] SCSI: export scsi_eh_finish_cmd() and scsi_eh_flush_done_q() Export two SCSI EH command handling functions. To be used by libata EH. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 9a3d9eb0177eb10500d49cd283b35576082a522d tree 3a8279ea3f263338cd02918131a36ee716cad1a8 parent 11a56d2439259892319df81cf1582687d7e7fde5 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] libata: return AC_ERR_* from issue functions Return AC_ERR_* mask from issue fuctions instead of 0/-1. This enables things like failing a qc with AC_ERR_HSM when the device doesn't set DRDY when the qc is about to be issued. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 11a56d2439259892319df81cf1582687d7e7fde5 tree 976f5ecb7ff61c19620ca482c0550b0b009bfa6a parent 284b6481cc7112ca6a9e60b7a9b650fba3bf0492 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] libata: add detailed AC_ERR_* flags Add detailed AC_ERR_* flags and use them. Long-term goal is to describe all errors with err_mask and tf combination (tf for failed sector information, etc...). After proper error diagnosis is implemented, sense data should also be generated from err_mask instead of directly from hardware tf registers as it is currently. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 284b6481cc7112ca6a9e60b7a9b650fba3bf0492 tree e8b8b1a69ebb881bd7e2176ef330e417a3ca80d9 parent 8e436af9326f5cc2e07d76505154ffddfb04b485 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:36:27 -0500 [PATCH] ahci: fix err_mask setting in ahci_host_intr In ahci_host_intr err_mask is determined from IRQ status but never used. This patch sets qc->err_mask to the determined err_mask. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 8e436af9326f5cc2e07d76505154ffddfb04b485 tree 26d5a6716ff3c164613811a78e5a06c353d28fe3 parent 77853bf2b48e34449e826a9ef4df5ea0dbe947f4 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:50 -0500 [PATCH] libata: fix ata_qc_issue() error handling When ata_qc_issue() fails, the qc might have been dma mapped or not. So, performing only ata_qc_free() results in dma map leak. This patch makes ata_qc_issue() mark dma map flags correctly on failure and calls ata_qc_complete() after ata_qc_issue() fails. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 77853bf2b48e34449e826a9ef4df5ea0dbe947f4 tree b46a186c141c61f05352b7a1199b2940fd9a2065 parent 4ba946e9d8e10fada7bbce527f6ea05842592e06 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:49 -0500 [PATCH] libata: make the owner of a qc responsible for freeing it qc used to be freed automatically on command completion. However, as a qc can carry information about its completion status, it can be useful to its owner/issuer after command completion. This patch makes freeing qc responsibility of its owner. This simplifies ata_exec_internal() and makes command turn-around for atapi request sensing less hackish. This change was originally suggested by Jeff Garzik. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 4ba946e9d8e10fada7bbce527f6ea05842592e06 tree 343f9381a51941bb03073075d577c70325067f6d parent 71e834f563799e09c6bd7d6638993b464fac26f5 author Tejun Heo Mon, 23 Jan 2006 13:09:36 +0900 committer Jeff Garzik Thu, 26 Jan 2006 22:33:49 -0500 [PATCH] libata: fold __ata_qc_complete() into ata_qc_free() All ata_qc_free() does is calling __ata_qc_complete() which isn't used anywhere else. Fold __ata_qc_complete() into ata_qc_free(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 71e834f563799e09c6bd7d6638993b464fac26f5 tree 3a35643ddc54e7217ec000eb415cc79a65cdcac1 parent ff0fc1467f8189c8e2340b91161c97138a75e484 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Jeff Garzik Thu, 26 Jan 2006 22:33:43 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:33:43 -0500 Merge branch 'master' commit 97309d1a0bbdcb0813ea08574b4473d8e5416012 tree 0dcbcf5aa5146147e0ac1d0c4b73b868a67d333b parent b4ea75b649417606fd6b38710a2962ec9770e772 parent efd51b5c6798d103e3aa683464aebb2019b62119 author Jeff Garzik Thu, 26 Jan 2006 22:19:57 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:19:57 -0500 Merge branch 'upstream-fixes' commit 0d615ec2bb1cb8c38087bb24f6d2876dec3a9751 tree 6fd87eb05df5fd4f8a898680487f0955fd2bd39f parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Arnaldo Carvalho de Melo Thu, 26 Jan 2006 22:01:38 -0500 committer Jeff Garzik Thu, 26 Jan 2006 22:01:38 -0500 sundance: Really read addr 0 Make phy 0 actually be read, as it is not being right now as we have: int mii_status = mdio_read(dev, phy, MII_BMSR); int phyx = phy & 0x1f; When we should have instead: int phyx = phy & 0x1f; int mii_status = mdio_read(dev, phyx, MII_BMSR); so that when phy, in the end of the (phy = 1; phy <= 32...) loop gets to 32 phyx gets to 0, i.e. we were reading at 32, when the intended read was for 0. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Jeff Garzik commit ff0fc1467f8189c8e2340b91161c97138a75e484 tree a1cbb418100267424f5edd6cfef3f463de0b49e6 parent 7db74a4780cf9cc6b2ea97582cdc8031d5f22ccd author Tejun Heo Sun, 18 Dec 2005 17:17:07 +0900 committer Jeff Garzik Thu, 26 Jan 2006 21:56:07 -0500 [PATCH] ata_piix: fix MAP VALUE interpretation for for ICH6/7 Unlike their older siblings, ICH6 and 7 use different scheme for MAP VALUE. This patch makes ata_piix interpret MV properly on ICH6/7. Pre-ICH6/7 The value of these bits indicate the address range the SATA port responds to, and whether or not the SATA and IDE functions are combined. 000 = Non-combined. P0 is primary master. P1 is secondary master. 001 = Non-combined. P0 is secondary master. P1 is primary master. 100 = Combined. P0 is primary master. P1 is primary slave. P-ATA is 2:0 Map Value secondary. 101 = Combined. P0 is primary slave. P1 is primary master. P-ATA is secondary. 110 = Combined. P-ATA is primary. P0 is secondary master. P1 is secondary slave. 111 = Combined. P-ATA is primary. P0 is secondary slave. P1 is secondary master. ICH6/7 Map Value - R/W. Map Value (MV): The value in the bits below indicate the address range the SATA ports responds to, and whether or not the PATA and SATA functions are combined. When in combined mode, the AHCI memory space is not available and AHCI may not be used. 00 = Non-combined. P0 is primary master, P2 is the primary slave. P1 is secondary master, P3 is the 1:0 secondary slave (desktop only). P0 is primary master, P2 is the primary slave (mobile only). 01 = Combined. IDE is primary. P1 is secondary master, P3 is the secondary slave. (desktop only) 10 = Combined. P0 is primary master. P2 is primary slave. IDE is secondary 11 = Reserved Signed-off-by: Tejun Heo -- Jeff, without this patch, ata_piix misdetects my ICH7's combined mode, ending up not applying bridge limits to PX-710SA and configuring IDE drive on 40-c cable to UDMA/66. Thanks. Signed-off-by: Jeff Garzik commit e08e6c521355cd33e647b2f739885bc3050eead6 tree 251dd80647bd3a0140f5f31c35c125094c035f9c parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Brent Casavant Thu, 26 Jan 2006 15:55:52 -0800 committer Tony Luck Thu, 26 Jan 2006 15:55:52 -0800 [IA64] hooks to wait for mmio writes to drain when migrating processes On SN2, MMIO writes which are issued from separate processors are not guaranteed to arrive in any particular order at the IO hardware. When performing such writes from the kernel this is not a problem, as a kernel thread will not migrate to another CPU during execution, and mmiowb() calls can guarantee write ordering when control of the IO resource is allowed to move between threads. However, when MMIO writes can be performed from user space (e.g. DRM) there are no such guarantees and mechanisms, as the process may context-switch at any time, and may migrate to a different CPU as part of the switch. For such programs/hardware to operate correctly, it is required that the MMIO writes from the old CPU be accepted by the IO hardware before subsequent writes from the new CPU can be issued. The following patch implements this behavior on SN2 by waiting for a Shub register to indicate that these writes have been accepted. This is placed in the context switch-in path, and only performs the wait when the newly scheduled task changes CPUs. Signed-off-by: Prarit Bhargava Signed-off-by: Brent Casavant commit 13938ca7a1ad9a4788cf73309f187d99c97ddfde tree bdca0d858333bb610d2b9253597ab53f8273b587 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Mark Maule Thu, 26 Jan 2006 14:46:39 -0600 committer Tony Luck Thu, 26 Jan 2006 13:56:09 -0800 [IA64-SGI] driver bugfixes and hardware workarounds for CE1.0 asic Various bugfixes and hardware bug workarounds necessary for the rev 1.0 version of the altix TIO CE asic. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit 28ff6b9b2fc01d2c2746c72ce8af1729344fae27 tree 6209aa2a6416cc7c363ad8c8efef2e15ca7b9b59 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Aaron Young Mon, 23 Jan 2006 09:00:51 -0800 committer Tony Luck Thu, 26 Jan 2006 13:32:26 -0800 [IA64-SGI] Handle SC env. powerdown events Handle system controller power down pending events on SN systems. This allows the system to gracefully shutdown before the system controller removes power due to an adverse environmental condition. Signed-off-by: Aaron Young Signed-off-by: Tony Luck commit b0a06623dc4caf6dfb6a84419507643471676d20 tree 4808417fe23fcb3e352c0ce347abb6218fc2263e parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Keith Owens Sun, 22 Jan 2006 10:55:25 +1100 committer Tony Luck Thu, 26 Jan 2006 13:23:27 -0800 [IA64] Delete MCA/INIT sigdelayed code The only user of the MCA/INIT sigdelayed code (SGI's I/O probing) has moved from the kernel into SAL. Delete the MCA/INIT sigdelayed code. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 6e586f32931d6c98431d54cd0430d4366195b0ba tree b93b207b81ae015166ac55e0534a6810c5a1ae3e parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Jes Sorensen Tue, 17 Jan 2006 12:24:39 -0500 committer Tony Luck Thu, 26 Jan 2006 13:13:00 -0800 [IA64-SGI] sem2mutex ioc4.c Convert to use a single mutex instead of two rwsems as this isn't performance critical. Signed-off-by: Jes Sorensen Signed-off-by: Brent Casavant Signed-off-by: Tony Luck commit a454c2f3d1fd1cab7073b53c6c14d6d4b61f4e09 tree a1240c5b420adb94dd5c952a089f0326ee0060fe parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Chen, Kenneth W Wed, 11 Jan 2006 17:11:09 -0800 committer Tony Luck Thu, 26 Jan 2006 13:10:19 -0800 [IA64] implement ia64 specific mutex primitives Implement ia64 optimized mutex primitives. It properly uses acquire/release memory ordering semantics in lock/unlock path. 2nd version making them all static inline functions. Signed-off-by: Ken Chen Signed-off-by: Tony Luck commit 739dbef022e1600cfd3ba989246b3eecf04f2bb5 tree cef3a192ce2e5d169172620d06a6e0af2a1def74 parent c37844f4a8c9524dbe9187397e75caa7a79ae83a author Michael Krufky Thu, 26 Jan 2006 04:37:19 -0200 committer Mauro Carvalho Chehab Thu, 26 Jan 2006 04:37:19 -0200 V4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c - allow tristate build for cx88-vp3054-i2c Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit c37844f4a8c9524dbe9187397e75caa7a79ae83a tree a376b2ecaf74f6b21e64d823694490414bca0a27 parent cc925bbed017b12d46436e8ab788e0de8656d08c author Jiri Slaby Tue, 24 Jan 2006 13:15:06 -0800 committer Mauro Carvalho Chehab Thu, 26 Jan 2006 04:37:06 -0200 V4L/DVB (3439a): media video stradis memory fix memset clears once set structure, there is actually no need for memset, because configure function do it for us. Next, vfree(NULL) is legal, so avoid useless labels. Thanks Dave Jones for reporting this. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 1de87444f8f91009b726108c9a56600645ee8751 tree 66f731a701a005be55337792bf873c182470141a parent 0a0fc0ddbe732779366ab6b1b879f62195e65967 author Ingo Molnar Tue, 24 Jan 2006 15:22:50 -0600 committer Dave Kleikamp Tue, 24 Jan 2006 15:22:50 -0600 JFS: semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar Signed-off-by: Dave Kleikamp commit 0a0fc0ddbe732779366ab6b1b879f62195e65967 tree 7b42490a676cf39ae0691b6859ecf7fd410f229b parent 4d5dbd0945d9e0833dd7964a3d6ee33157f7cc7a parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Dave Kleikamp Tue, 24 Jan 2006 14:34:47 -0600 committer Dave Kleikamp Tue, 24 Jan 2006 14:34:47 -0600 Merge with /home/shaggy/git/linus-clean/ commit cc925bbed017b12d46436e8ab788e0de8656d08c tree c96e474944319e199ec8e245cb9a2f0d1cc314dc parent 3fc46d35b30cfae018c4903228a270c9543f4d7a author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3439): removed duplicated tuner_ranges - removed duplicated tuner_ranges Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 3fc46d35b30cfae018c4903228a270c9543f4d7a tree 72f02a4cb4e8f8087f1f384d82a4daa9de13086f parent ab66b22f0c4e5786d59fa23569ac37a4a21ab4fb author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3436): move config byte from tuner_params to tuner_range struct. - Move config byte from tuner_params to tuner_range struct. - dvb tuners must be able to set different config byte for each range. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ab66b22f0c4e5786d59fa23569ac37a4a21ab4fb tree 293838829f957b2cf9194bdd4590bd1c7b668a74 parent 257c645d3dc90ee8b7c0640da8d9ea1b2cbe95c4 author Michael Krufky Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3435): rename cb variable names in tuner structures for global consistency - rename cb variable names in tuner structures for global consistency Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 257c645d3dc90ee8b7c0640da8d9ea1b2cbe95c4 tree 09dc143433be7abc8c66f250704e46aeadc2eb4e parent 9df8e9456d74c7ac749a1ebfb54a3cc36e46a602 author Markus Rechberger Mon, 23 Jan 2006 17:11:11 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:11 -0200 V4L/DVB (3434): changed comment in tuner-core.c - changed comment in tuner-core.c Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit 9df8e9456d74c7ac749a1ebfb54a3cc36e46a602 tree 751427b861f10e1ee6e127815e98dd4f0562c4b4 parent a94e95b443811c127734ef10f3b7d2220532c1d2 author Randy Dunlap Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3433): Fix printk type warning - Fix printk type warning: drivers/media/dvb/b2c2/flexcop-pci.c:164: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t' Signed-off-by: Randy Dunlap Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a94e95b443811c127734ef10f3b7d2220532c1d2 tree 4db69dec34628c32dd40788373f3503670ccd542 parent cbcf749382a7bbf70b1bbf6eeb3234d1682c9f17 author Markus Rechberger Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3432): Hauppauge HVR 900 Composite support - Hauppauge HVR 900 Composite support Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab commit cbcf749382a7bbf70b1bbf6eeb3234d1682c9f17 tree c780467892e5eda3bfb70421ac2f90a820b348d7 parent 757d250518c4905c5d13c8974446e08a2e3cf244 author Michael Krufky Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3431): fixed spelling error, exectuted --> executed. - fixed spelling error, exectuted --> executed. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 757d250518c4905c5d13c8974446e08a2e3cf244 tree 3603696598ffde1f14aad76f12572f847b6ac324 parent ac272ed7f1ae15084c64bdc4d3b4578ec2a0830b author Hans Verkuil Mon, 23 Jan 2006 17:11:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:10 -0200 V4L/DVB (3430): Add new internal VIDIOC_INT commands - Add new internal VIDIOC_INT commands for setting the tuner mode, for putting a chip into standby mode and to set/get the routing of inputs/outputs of audio or video of a chip. These new commands will replace older commands that are no longer up to the task. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit ac272ed7f1ae15084c64bdc4d3b4578ec2a0830b tree a97c2231872cfd59767684c20d78694dbefeaf42 parent 703cb2cbf4250215e67f4a04081e4ea9d9f34bc9 author Markus Rechberger Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3429): Missing break statement on tuner-core - default_tuner_init was called twice due to a missing break statement. Signed-off-by: Markus Rechberger Acked-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 703cb2cbf4250215e67f4a04081e4ea9d9f34bc9 tree cd9a9404a0cda282013c34ea087611771fc2e6ff parent 8a4b275f9c192921797f45c2d4b5e4bc3875500a author Adrian Bunk Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3428): drivers/media/dvb/ possible cleanups - Make needlessly global code static - #if 0 the following unused global functions: - b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq() - b2c2/flexcop-dma.c: flexcop_dma_config_packet_count() Signed-off-by: Adrian Bunk Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 8a4b275f9c192921797f45c2d4b5e4bc3875500a tree da12ba774968078df22718a58221e87b71387fca parent 9aeb4b051b65c0248ea6589096950413c4da9d63 author Hans Verkuil Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3427): audmode and rxsubchans fixes (VIDIOC_G/S_TUNER) - Audmode and rxsubchans fixes in msp3400, tuner, tvaudio and cx25840. - msp3400 cleanups Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 9aeb4b051b65c0248ea6589096950413c4da9d63 tree 81e14364b0cf1797a5bff9a66cfe2475abf336cd parent 2d50f847c62acbafa25dc690d0fe65b8b908a326 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:09 -0200 V4L/DVB (3423): CodingStyle fixes. - CodingStyle fixes. Signed-off-by: Mauro Carvalho Chehab commit 2d50f847c62acbafa25dc690d0fe65b8b908a326 tree b07c01a3571c08b6e27c645bc1c5ff3475718a03 parent e5589befc472ca50882f37c4fb32333fc93a65b7 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3422): Implemented VIDIOC_G_FMT/S_FMT for sliced VBI - Implemented VIDIOC_G_FMT/S_FMT for sliced VBI - VIDIOC_S_FMT now calls a function Signed-off-by: Mauro Carvalho Chehab commit e5589befc472ca50882f37c4fb32333fc93a65b7 tree 312488c15ed5ffa50806f89ad63b99952308459e parent 12db56071b473a59c550d0aa70db6972a49d73af author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3421): Several fixes to prepare for VBI - Fixed VBI compilation. - Included capacity to specify vbi and video number. - Added a better control for using more than one em28xx device. - VIDIOC_G_FMT now calls a function. Signed-off-by: Mauro Carvalho Chehab commit 12db56071b473a59c550d0aa70db6972a49d73af tree fabe596b7da982788959caaa04d6e8d4598d8da7 parent 4d0dddb10723cee2b3048bd2389673703bc228e4 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:08 -0200 V4L/DVB (3420): Added iocls to configure VBI on tvp5150 - Added iocls to configure VBI on tvp5150 Signed-off-by: Mauro Carvalho Chehab commit 4d0dddb10723cee2b3048bd2389673703bc228e4 tree aea4b467e131d9c1080021840b9884629037d534 parent c835ac24e2e3d5de7fff0620949b61228048e27b author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3419): added some VBI macros and moved minor definitions to header file - Moved some hardcoded minor numbers to videodev2.h - Included more comments for sliced VBI standards - Included some VBI macros to group similar standards Signed-off-by: Mauro Carvalho Chehab commit c835ac24e2e3d5de7fff0620949b61228048e27b tree bbb76d12b09e3ea33afa4ac9e59f97091b6834fb parent bff75d248f27c10d4bf1aaf8d5c81b00623861b9 author Mike Isely Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887 - The tda9887 has an I2C id reserved for it, but it hasn't been using it. Probably an oversight. Fixed with this patch. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab commit bff75d248f27c10d4bf1aaf8d5c81b00623861b9 tree 65ca985e869dace3bee853b9c051a49a43e7bb79 parent 42d2b6ef40fcf9094d4d55a1a4c8d1c80318271c author Michael Krufky Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3417): make VP-3054 Secondary I2C Bus Support a Kconfig option. - make VP-3054 Secondary I2C Bus Support a Kconfig option. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 42d2b6ef40fcf9094d4d55a1a4c8d1c80318271c tree 008b68789d9dbf7fefcc7705ff441830f9fc96f2 parent 28f3d4b37db26a30b8990e039b6881b43de815f9 author Ian Pickworth Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3416): Recognise Hauppauge card #34519 - Recognise Hauppauge card #34519 Signed-off-by: Ian Pickworth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 28f3d4b37db26a30b8990e039b6881b43de815f9 tree 5ad1e541348fac8d0e3a77171d9a1cb15f77ec34 parent d76a617903fa6dc466907531056cc33100560ea4 author Michael Krufky Mon, 23 Jan 2006 17:11:07 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:07 -0200 V4L/DVB (3414): rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv - rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit d76a617903fa6dc466907531056cc33100560ea4 tree 4f5ff42902e9938d0332ac45ce52cb70a24e5eed parent 2af3557748c18239b0aa2c77dd9c8392f6c1c7e1 author Michael Krufky Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3413): Kill nxt2002 in favor of the nxt200x module - Kill nxt2002 module in favor of nxt200x. - Repair broken nxt2002 support in the nxt200x module. - Make the flexcop driver use nxt200x instead of the nxt2002 module for the Air2PC 2nd generation PCI card. - Remove the nxt2002 module from cvs and kernel build. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2af3557748c18239b0aa2c77dd9c8392f6c1c7e1 tree 884fec413f532a8a2fcb56073d0550273c388c80 parent 2701dacb5ae5e7ecab4131605bdbcedd92bbaf82 author Michael Krufky Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3411): group dvb-bt8xx Subsystem ID's together, in order. - group dvb-bt8xx Subsystem ID's together, in order. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2701dacb5ae5e7ecab4131605bdbcedd92bbaf82 tree 7b4afaa7734005b77bdc9b2be93dff341ee65e2b parent 10b7a903072eb066b17cc9049d6ea55dd044f4c3 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3410): Implemented sliced VBI set on VIDIOC_S_FMT - Implemented sliced VBI set on VIDIOC_S_FMT Signed-off-by: Mauro Carvalho Chehab commit 10b7a903072eb066b17cc9049d6ea55dd044f4c3 tree 9fe5f92e9ef6e9de5df5eeb3baa01961d89e7822 parent 6ac48b458769059ee6147dd8bf2767e820407292 author Peter Missel Mon, 23 Jan 2006 17:11:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:06 -0200 V4L/DVB (3409): Mark Typhoon cards as Lifeview OEM's - Mark Typhoon cards as OEM of Lifeview. Signed-off-by: Peter Missel Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 6ac48b458769059ee6147dd8bf2767e820407292 tree 1c83bdbbd5b3b8751b922d732d1d8d40c4c47a09 parent 3ad96835cedec7704b1b5a211b39262bb794adaf author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 V4L/DVB (3408): Included new sliced VBI types to videodev2.h and tvp5150 - Added other sliced VBI types to videodev2.h - tvp5150 now uses standard V4L2 API codes from videodev2.h - Implemented VIDIOC_G_SLICED_VBI_CAP for tvp5150. This is dynamically filled based on defined VDP C-RAM values filled by the driver. Signed-off-by: Mauro Carvalho Chehab commit 3ad96835cedec7704b1b5a211b39262bb794adaf tree d62864f757dc9a29d50a072614b04178678596f0 parent 439090d7d82a333a21987dcbccb90961f27fd2e9 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:11:05 -0200 V4L/DVB (3407): added some code for VBI processing and cleanup debug dump - Renamed some registers and improved register debug message - Some cleanups at register dump - Added code to set VBI processor (VDP) - VBI code still incomplete Signed-off-by: Mauro Carvalho Chehab commit 439090d7d82a333a21987dcbccb90961f27fd2e9 tree 30b1ff5543833508668731bcb186dc94a791753c parent e36eaa71c99eb1edb52eb21ab4e8c9e09b943f21 author Mauro Carvalho Chehab Mon, 23 Jan 2006 17:10:54 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 17:10:54 -0200 V4L/DVB (3406): Added credits for em28xx-video.c - Added credits for sn9c102 kernel module and his author as some parts of em28xx-video were based. Acked-by: Luca Risolia Acked-by: Markus Rechberger Acked-by: Ludovico Cavedon Acked-by: Sascha Sommer Signed-off-by: Mauro Carvalho Chehab commit e36eaa71c99eb1edb52eb21ab4e8c9e09b943f21 tree b1ad85f4c22967848de8c546abd26cd1fb4420f6 parent 337208d007d94749cc965742eede1611a94c06ce author Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:34 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:34 -0200 V4L/DVB (3405): Fixes tvp5150a/am1 detection. - Tvp5150 type were determined by a secondary register instead of using ROM code. - tvp5150am1 have ROM=4.0, while tvp5150a have ROM=3.33 (decimal). All other ROM versions are reported as unknown tvp5150. - Except for reporting, current code doesn't enable any special feature for tvp5150am1 or tvp5150a. Code should work for both models (but were tested only for tvp5150am1). Signed-off-by: Mauro Carvalho Chehab commit 337208d007d94749cc965742eede1611a94c06ce tree b8451df5c11e511da276a1fc3c9972a341fad6c0 parent 94f9e56e2b32e9d0efa1321afc3fa164563b2c55 author Adrian Bunk Mon, 23 Jan 2006 09:48:02 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:48:02 -0200 VIDEO_CX88_ALSA must select SND_PCM - VIDEO_CX88_ALSA must select SND_PCM Signed-off-by: Adrian Bunk Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 94f9e56e2b32e9d0efa1321afc3fa164563b2c55 tree f8cf7f75026605673b116142acc5002da9ca3f3c parent 53a7240416adabb84e32334a9f118b7f05392ba2 author Hans Verkuil Mon, 23 Jan 2006 09:47:40 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:47:40 -0200 V4L/DVB (3403): Add probe check for the tda9840. - Add probe check for the tda9840 to prevent misdetection of a Micronas dpl3518a as a tda9840. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 53a7240416adabb84e32334a9f118b7f05392ba2 tree 3589d708545b4ba84fcdc39b696f4bd7269dcd5f parent b639f9d286f2216795492eac2a39b8ed6b4d555c author Hans Verkuil Mon, 23 Jan 2006 09:46:02 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:46:02 -0200 V4L/DVB (3402): Fix handling of VIDIOC_G_TUNER audmode in msp3400 - Fix handling of VIDIOC_G_TUNER audmode in msp3400: audmode is only changed by the user with S_TUNER, never by the driver. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit b639f9d286f2216795492eac2a39b8ed6b4d555c tree 8a618d3041ea3902fcf7f66ea43196575d4648eb parent 4c0f631e14b849782259519c749414b1f1ddbfa8 author Nickolay V. Shmyrev Mon, 23 Jan 2006 09:44:10 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:44:10 -0200 V4L/DVB (3400): Remove duplicated keymaps and add keymap for KWorld LTV883IR. - Remove duplicated keymaps and add keymap for KWorld LTV883IR. Thanks to Jon Ferguson . Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 4c0f631e14b849782259519c749414b1f1ddbfa8 tree 7976453534a7785899a71bc6cd574e5c7ebc3a95 parent bf47e4e43e4dcf88fef61b1b4139ce2da20e1f73 author Ricardo Cerqueira Mon, 23 Jan 2006 09:42:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:42:06 -0200 V4L/DVB (3393): Move all IR keymaps to ir-common module - All the keymaps have the same structure, and can be shared between different chips, so it makes no sense having them scattered between the input files. This aggregates them all at ir-common module. - Added new Hauppauge remote (Hauppauge grey), contributed by J.O. Aho (with some small changes) Changed KEY_KPx (keypad numerals) references to KEY_x, to avoid problems when NumLock is off (suggested by Peter Missel ) - Some cleanups at IR code Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit bf47e4e43e4dcf88fef61b1b4139ce2da20e1f73 tree 2b6b1bd833e21a18d1e0386d5a9066d6e620076a parent f74a6b395a6dea5028a1604e721dfb2b5c18fc86 author J.O. Aho Mon, 23 Jan 2006 09:34:06 -0200 committer Mauro Carvalho Chehab Mon, 23 Jan 2006 09:34:06 -0200 V4L/DVB (3395): Hauppauge Grey Remote support - For the Hauppauge PVR cards there are at least two different remotes, one completly black and one that is Grey and black, they keys differ in values eg Black remotes 'mute' has the same value as Grey remotes 'menu'. - This enables the user to select which keymapping to use by using the hauppauge parm. Unlike to the black remote keys, all keys are mapped for the grey remote and the ATi usb remote mappings has been followed. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit f74a6b395a6dea5028a1604e721dfb2b5c18fc86 tree b21de10f98fb076de42b1926ef993b9b1bd9e27a parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Michael Krufky Tue, 17 Jan 2006 03:50:23 -0200 committer Mauro Carvalho Chehab Sun, 22 Jan 2006 22:30:01 -0200 V4L/DVB (3392): Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. - Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 076d022c566fddde41fd4a858dd24bacad8304d7 tree 2fbc6b45c4d67642e3f8852f1ac8a70dfe7cd3d2 parent 0ec57e53c945fe962b190953f61e1ffd127e68d3 author Vitaly Bordug Tue, 17 Jan 2006 22:22:27 +0300 committer Paul Mackerras Fri, 20 Jan 2006 16:13:55 +1100 [PATCH] PPC32 8xx: support for the physmapped flash on m8xx Implemented more correct way to support physmapped flash on m8xx than map in mtd. The areas intended to contain bootloader are protected readonly. Note that CFI and JEDEC stuff should be configured properly in order this to work, e.g. for 885/86x CFI should support 4-chip flash interleave. Also fixed compilation warning. Signed-off-by: Vitaly Bordug Signed-off-by: Paul Mackerras commit 0ec57e53c945fe962b190953f61e1ffd127e68d3 tree 2c8cf3e91aa3222be2f7e55bbbd4f55c4deef98f parent f4fc4a5b74cff2a487222f05704a2bd01953d250 author Marcelo Tosatti Tue, 17 Jan 2006 00:24:42 -0200 committer Paul Mackerras Fri, 20 Jan 2006 16:13:50 +1100 [PATCH] powerpc: generalize PPC44x_PIN_SIZE The following patch generalizes PPC44x_PIN_SIZE by changing it to PPC_PIN_SIZE, which can be defined by any sub-arch to automatically adjust VMALLOC_START. Define PPC_PIN_SIZE on 8xx, avoiding potential conflicts with the pinned space. Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit f4fc4a5b74cff2a487222f05704a2bd01953d250 tree fc46b28c23e498662263c929376dbf605d5faca6 parent 0ce928e1b2ad4309fae6c4324b9e9e433fbf62a2 author Kumar Gala Mon, 16 Jan 2006 10:53:22 -0600 committer Paul Mackerras Fri, 20 Jan 2006 16:13:36 +1100 [PATCH] powerpc: Add CONFIG_DEFAULT_UIMAGE to build a uImage by default for a board Embedded boards that u-boot require a kernel image in the uImage format. This allows a given board to specify it wants a uImage built by default. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 0ce928e1b2ad4309fae6c4324b9e9e433fbf62a2 tree 774811b3bba02ac53292c56cc0be0d144e616044 parent 63dafe5728e7354bc3f15bd49f13f1f9a433e8fb author Vitaly Bordug Sun, 15 Jan 2006 17:30:29 +0300 committer Paul Mackerras Fri, 20 Jan 2006 16:13:29 +1100 [PATCH] ppc32 8xx: Added setbitsXX/clrbitsXX macro for read-modify-write operations This adds setbitsXX/clrbitsXX macro for read-modify-write operations and converts the 8xx core and drivers to use them. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 63dafe5728e7354bc3f15bd49f13f1f9a433e8fb tree 51ca2135b5c5952d79a636e91f9db9efde9bfe43 parent 837e9594fc3cb9a06bddd7ecf66151334a2e13d2 author Becky Bruce Sat, 14 Jan 2006 16:57:39 -0600 committer Paul Mackerras Fri, 20 Jan 2006 16:11:06 +1100 [PATCH] powerpc: Updated Initial MPC8540 ADS port with OF Flat Dev Updated patch for support for mpc8540_ads in arch/powerpc with a flat OF device tree. This patch does not yet support PCI or I2C. Signed-off-by: Becky Bruce Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b88e926584bf100bc23f5e76b7b674d4257edcb0 tree b91879ffd7b4158f4458878c3be3e66dacb57c4c parent ff741906ad3cf4b8ca1a958acb013a97a6381ca2 author Ashok Raj Thu, 19 Jan 2006 16:18:47 -0800 committer Tony Luck Thu, 19 Jan 2006 16:18:47 -0800 [IA64] Fix UP build with BSP removal support. Causes undefined force_cpei_retarget defined in arch/ia64/kernel/smpboot.c Push the unneeded code inside #ifdef CONFIG_HOTPLUG_CPU. Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit 9c4b562abc9005e4b413de02c85d3d29da707cba tree 20985e711d285aaf1b87aa3b4837a7ed2bc3b73a parent 0f36b018b2e314d45af86449f1a97facb1fbe300 author Adrian Bunk Thu, 19 Jan 2006 18:07:10 +0100 committer Adrian Bunk Thu, 19 Jan 2006 18:07:10 +0100 Move ip2.c and ip2main.c to drivers/char/ip2/ where the other files used by this driver reside. Renamed ip2.c to ip2base.c to allow ip2.o to be built from multiple objects. Signed-off-by: Adrian Bunk Acked-by: Michael H. Warfield commit b4ea75b649417606fd6b38710a2962ec9770e772 tree 217727bea3813e154dee942a3c835933de26acee parent 2baeaaa4dab6b43e35c7150d5350bfaff1284153 parent 7c4d33675f81fa38f85eeabbbf3e7b8687c15cc3 author Jeff Garzik Wed, 18 Jan 2006 16:20:16 -0500 committer Jeff Garzik Wed, 18 Jan 2006 16:20:16 -0500 Merge branch 'upstream-fixes' commit 7db74a4780cf9cc6b2ea97582cdc8031d5f22ccd tree 1db7d01b7648b6de99c83b42ccdfbdd16501628c parent 422b75956cd11f9d9214e6e2a99d6e52d98812d4 parent 7eb9b2f56c9812d03ac63031869bcc42151067b1 author Jeff Garzik Wed, 18 Jan 2006 01:01:22 -0500 committer Jeff Garzik Wed, 18 Jan 2006 01:01:22 -0500 Merge branch 'master' commit 2baeaaa4dab6b43e35c7150d5350bfaff1284153 tree da95b3796b4c5199c330ff69f8c879b50a97551f parent ef6f63a4aafcf6c79ac371f3c78a96b76c0f0596 parent 77783a78ded96a56e3a1a0c03bbe87c56896fe6e author Jeff Garzik Tue, 17 Jan 2006 19:57:15 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:57:15 -0500 Merge branch 'upstream' commit 422b75956cd11f9d9214e6e2a99d6e52d98812d4 tree f7aabb4188b651596431ce344b1529dfa0c0b0b4 parent 7c76d1e83961a4e355c3ebd53191bc6072c238bd author Tejun Heo Mon, 19 Dec 2005 22:37:17 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] ahci: separate out ahci_dev_classify Separate out ahci_dev_classify(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 7c76d1e83961a4e355c3ebd53191bc6072c238bd tree 1ca34cd050c335bf3490ed234cdecc59dee5504f parent 3be680b7329e65b9165d6d8dc81baa1e9e89dfc7 author Tejun Heo Mon, 19 Dec 2005 22:36:34 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] ahci: separate out ahci_stop/start_engine Separate out ahci_stop/start_engine(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 3be680b7329e65b9165d6d8dc81baa1e9e89dfc7 tree 75e7392670acb6bc8edfa58dbbbf5e1bbc541abe parent 35cfc45c582c0df666a817bc5e6cbe7aef5693a0 author Tejun Heo Mon, 19 Dec 2005 22:35:02 +0900 committer Jeff Garzik Tue, 17 Jan 2006 19:49:10 -0500 [PATCH] libata: separate out ata_sata_print_link_status Separate out sata_print_link_status() from __sata_phy_reset(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 35cfc45c582c0df666a817bc5e6cbe7aef5693a0 tree 4d953c68b07dfde0e4853ea1d3594ef09fc1e826 parent 8a6d498e864aa3d1ae21fce650452dd13a305769 parent 0825788ff27c7145e9d558cb2a26f3837d1f9be5 author Jeff Garzik Tue, 17 Jan 2006 19:46:58 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:46:58 -0500 Merge branch 'lba48-opt' commit 8a6d498e864aa3d1ae21fce650452dd13a305769 tree 7bfd002af9a2901621a1f803d7a834859b3b67fc parent a1bd9e68573239320d18823c73eb06d8e56cc9e2 parent bfd6057959ecd3ff779a373a4d07cda2c2d0eec1 author Jeff Garzik Tue, 17 Jan 2006 19:46:27 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:46:27 -0500 Merge branch 'debug' commit bfd6057959ecd3ff779a373a4d07cda2c2d0eec1 tree f3d6e2a5f408251b59ea17457bde5cf161164fe0 parent 2664b25051f7ab96b22b199aa2f5ef6a949a4296 author Randy Dunlap Tue, 17 Jan 2006 19:34:42 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:34:42 -0500 From: Borislav Petkov libata new debugging macro definitions Signed-off-by: Borislav Petkov Signed-off-by: Randy Dunlap commit ef6f63a4aafcf6c79ac371f3c78a96b76c0f0596 tree 710a1abcd4a3f65ada8a4526747e91b756e7c0b5 parent 03a49eebcaa3486f4ac2c50db83aab996ce5ad9b parent 22d4d77183f0af8b3b643544a5ae64ec6105d88b author Jeff Garzik Tue, 17 Jan 2006 19:29:28 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:29:28 -0500 Merge branch 'upstream' commit 03a49eebcaa3486f4ac2c50db83aab996ce5ad9b tree a92d8a6b3806ec3416ca2b28c45174fca9c4833e parent d4fbeabbc9e68c80738fe59135d201c3ed5fe40f parent 26df54bffd90977fbc6fe8284f2beaed19fea44f author Jeff Garzik Tue, 17 Jan 2006 19:19:20 -0500 committer Jeff Garzik Tue, 17 Jan 2006 19:19:20 -0500 Merge branch 'janitor' commit d4fbeabbc9e68c80738fe59135d201c3ed5fe40f tree dc7a965013ec01a54b3e4b265ade1637e8df4a53 parent 0547993820378ef8140b0470b604737bf1fa6c85 author Stefan Rompf Tue, 17 Jan 2006 22:52:51 +0100 committer Jeff Garzik Tue, 17 Jan 2006 19:19:12 -0500 [PATCH] starfire: Implement suspend/resume This patch implements suspend and resume methods for the starfire driver. It allows me to put my desktop PC with a starfire dual board into S4. Signed-Off-By: Stefan Rompf Signed-off-by: Jeff Garzik commit 0825788ff27c7145e9d558cb2a26f3837d1f9be5 tree f6bdb892cec8ca0df69c08a3477c89f1542999e5 parent 02f693c7118f6be9e677070eb630c1f3a654cdd3 parent 1bc4ccfff8675adc3d96f91245eb7e2dc0043ca9 author Jeff Garzik Tue, 17 Jan 2006 10:26:28 -0500 committer Jeff Garzik Tue, 17 Jan 2006 10:26:28 -0500 Merge branch 'upstream' commit 26df54bffd90977fbc6fe8284f2beaed19fea44f tree 008deacb21a6ef3769213e142255d31dce2a5ddd parent f03aa2d89ad600a1ed21a223f196776f217cfe00 author Adrian Bunk Sat, 14 Jan 2006 03:09:40 +0100 committer Jeff Garzik Tue, 17 Jan 2006 08:39:11 -0500 [PATCH] drivers/net/s2io.c: make code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit f03aa2d89ad600a1ed21a223f196776f217cfe00 tree c99eec8e63fbc952d5b7180b32fe1cbf5accb9ed parent ff5688ae1cedfb175b5ed0f319d03ad2e5ee005d author Adrian Bunk Sat, 14 Jan 2006 03:10:22 +0100 committer Jeff Garzik Tue, 17 Jan 2006 08:38:12 -0500 [PATCH] drivers/net/arcnet/: possible cleanups This patch contains the following possible cleanups: - make needlessly global code static - arcnet.c: remove the unneeded EXPORT_SYMBOL(arc_proto_null) - arcnet.c: remove the unneeded EXPORT_SYMBOL(arcnet_dump_packet) To make Jeff happy, arcnet.c still prints arcnet: v3.93 BETA 2000/04/29 - by Avery Pennarun et al. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik commit ff5688ae1cedfb175b5ed0f319d03ad2e5ee005d tree eca0d41b3eefc833238591e0100a8136f21269a7 parent e03d72b99e4027504ada134bf1804d6ea792b206 author Marcelo Feitoza Parisi Mon, 09 Jan 2006 18:37:15 -0800 committer Jeff Garzik Tue, 17 Jan 2006 07:59:23 -0500 [PATCH] drivers/net/*: use time_after() and friends They deal with wrapping correctly and are nicer to read. Also make jiffies-holding variables unsigned long. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit e03d72b99e4027504ada134bf1804d6ea792b206 tree a4c75707712af88ad0ac824e5a40b63488fa7530 parent 2664b25051f7ab96b22b199aa2f5ef6a949a4296 author Adrian Bunk Mon, 09 Jan 2006 18:34:08 -0800 committer Jeff Garzik Tue, 17 Jan 2006 07:45:52 -0500 [PATCH] drivers/net/sk98lin/: possible cleanups This patch contains the following possible cleanups: - make needlessly global functions static - remove unused code Signed-off-by: Adrian Bunk Cc: Stephen Hemminger Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit ff741906ad3cf4b8ca1a958acb013a97a6381ca2 tree 66a4c2dbacd4c10015824a6789f9206693003092 parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Ashok Raj Fri, 11 Nov 2005 14:32:40 -0800 committer Tony Luck Thu, 05 Jan 2006 10:24:20 -0800 [IA64] support for cpu0 removal here is the BSP removal support for IA64. Its pretty much the same thing that was released a while back, but has your feedback incorporated. - Removed CONFIG_BSP_REMOVE_WORKAROUND and associated cmdline param - Fixed compile issue with sn2/zx1 due to a undefined fix_b0_for_bsp - some formatting nits (whitespace etc) This has been tested on tiger and long back by alex on hp systems as well. Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit 02f693c7118f6be9e677070eb630c1f3a654cdd3 tree b5493c816a1f76a01319a84955c5ba07d47517c3 parent e7fb585940a3dc87a42ebc30a62296e5cf6f9cd5 parent a18ceba7b40e24a9da87249bd74f16ea5abd6894 author Jeff Garzik Tue, 03 Jan 2006 10:59:55 -0500 committer Jeff Garzik Tue, 03 Jan 2006 10:59:55 -0500 Merge branch 'upstream' commit e7fb585940a3dc87a42ebc30a62296e5cf6f9cd5 tree 6b0290f0cb5f019b792df8580a73f0f852a4e856 parent 80c7af4074cbb4cb6be5d35c443ea6d5e8838a84 parent c6329f4df2263ab5a40601a5236639e61b682f51 author Jeff Garzik Tue, 13 Dec 2005 22:22:41 -0500 committer Jeff Garzik Tue, 13 Dec 2005 22:22:41 -0500 Merge branch 'upstream' commit 80c7af4074cbb4cb6be5d35c443ea6d5e8838a84 tree e900ad4c0beb4f44f0912b847c3319f11ef57d73 parent 451ec6ab310602515b361418debe93d00f67e273 parent d00d598ffbba974d9045ba8b95296655fe2162c5 author Jeff Garzik Tue, 13 Dec 2005 01:46:20 -0500 committer Jeff Garzik Tue, 13 Dec 2005 01:46:20 -0500 Merge branch 'upstream' commit 451ec6ab310602515b361418debe93d00f67e273 tree 933cbbe7232ae6cb19986012e3162e65a184b77a parent fe54ceda4dd71b6155f4a58cd2aad3a780cb347d parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:14:13 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:14:13 -0500 Merge branch 'master' commit fe54ceda4dd71b6155f4a58cd2aad3a780cb347d tree 6b9b51dc50ab46b6f22d7c30fc013b3f07e70175 parent 5e3c2b95dd560baa41b08c8f5f00bbd6fbeebdcb parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:59:27 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:59:27 -0500 Merge branch 'master' commit 4d5dbd0945d9e0833dd7964a3d6ee33157f7cc7a tree 139d47bcbfbbca350536be935961fece7477a7b6 parent ca869912366f60cb5e0bdd09f65e80ee6816e73c author Arjan van de Ven Tue, 29 Nov 2005 08:28:58 -0600 committer Dave Kleikamp Tue, 29 Nov 2005 08:28:58 -0600 JFS: make buddy table static Idea is to reduce false cacheline sharing and stuff Signed-off-by: Dave Kleikamp commit 5e3c2b95dd560baa41b08c8f5f00bbd6fbeebdcb tree 639d83b9bc4d08104e014b8903a773a04b7f1cac parent 4fe1eaf6f39ed3270aff6068d84a2e6a452da734 parent b71d4da092801634d04190693a38ca03bdbe2505 author Jeff Garzik Tue, 29 Nov 2005 03:57:16 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:57:16 -0500 Merge branch 'upstream' commit 4fe1eaf6f39ed3270aff6068d84a2e6a452da734 tree fded327ed0b11554041c307e3f80272ab082a299 parent 8238e747b62db977f80bfd4e5694d4fc2c1112d5 parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:57:04 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:57:04 -0500 Merge branch 'master' commit 8238e747b62db977f80bfd4e5694d4fc2c1112d5 tree 7ac1b125cf75752e7b49e99322f2c7d62076691d parent 85a07029aaba8f5b27241bcff56cc009c9f4993b parent 1b15688b31d8c88881102426279e8cc03953860b author Jeff Garzik Sun, 20 Nov 2005 00:41:08 -0500 committer Jeff Garzik Sun, 20 Nov 2005 00:41:08 -0500 Merge branch 'upstream' commit 85a07029aaba8f5b27241bcff56cc009c9f4993b tree c579554c2ea9c942ccbea60e223bc62d8262f652 parent 0da36b3467040908d3df6bc1f5b4d592a8b23b63 parent 79bfb0a98fdc73ed6a18469cef245cbf50a1d8bb author Jeff Garzik Fri, 18 Nov 2005 11:42:40 -0500 committer Jeff Garzik Fri, 18 Nov 2005 11:42:40 -0500 Merge branch 'upstream' commit 0da36b3467040908d3df6bc1f5b4d592a8b23b63 tree 4843991fa3a67d9e3cbdfd39eb50574ce8b82c6e parent 8006fdd6dc387abaa4b683bda4868c879fd76070 parent cd52d1ee9a92587b242d946a2300a3245d3b885a author Jeff Garzik Fri, 11 Nov 2005 23:38:52 -0500 committer Jeff Garzik Fri, 11 Nov 2005 23:38:52 -0500 Merge branch 'master' commit ca869912366f60cb5e0bdd09f65e80ee6816e73c tree a72913a29495ca078987c09fc0008f47e11b900b parent dd8a306ac0c918268bd2ae89da2dea627f6e352d parent 388f7ef720a982f49925e7b4e96f216f208f8c03 author Dave Kleikamp Fri, 11 Nov 2005 14:09:06 -0600 committer Dave Kleikamp Fri, 11 Nov 2005 14:09:06 -0600 Merge with /home/shaggy/git/linus-clean/ commit dd8a306ac0c918268bd2ae89da2dea627f6e352d tree e3f2c244505931d93b09f7d314014cf3832b0176 parent 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 author Dave Kleikamp Thu, 10 Nov 2005 07:50:03 -0600 committer Dave Kleikamp Thu, 10 Nov 2005 07:50:03 -0600 JFS: Add back directory i_size calculations for legacy partitions Linux-formatted jfs partitions have a different idea about what i_size represents than partitions formatted on OS/2. The i_size calculation is now based on the size of the directory index. For legacy partitions, which have no directory index, the i_size is never being updated. This patch adds back the original i_size calculations for legacy partitions. Signed-off-by: Dave Kleikamp commit 8006fdd6dc387abaa4b683bda4868c879fd76070 tree 314b08f4923dd9ab24930e6b2ac75889c244b154 parent 18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b parent 7c3983357fdaef3ae71a0d7081a4b6dcfd869d39 author Jeff Garzik Wed, 09 Nov 2005 01:37:34 -0500 committer Jeff Garzik Wed, 09 Nov 2005 01:37:34 -0500 Merge branch 'upstream' commit 18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b tree c4a4a9a0455c00edf16689cf0252c82c52d518db parent c4811b151b6584a668de8ae59eb71c4890b9ad94 parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:44:48 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:44:48 -0500 Merge branch 'master' commit c4811b151b6584a668de8ae59eb71c4890b9ad94 tree 152e0efddcfd882123757bbe36ae18249a9a9379 parent 024b1432716c0d8332327a506cb0f64c9a2f6083 parent 005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a author Jeff Garzik Sun, 30 Oct 2005 23:33:54 -0500 committer Jeff Garzik Sun, 30 Oct 2005 23:33:54 -0500 Merge branch 'upstream' commit 024b1432716c0d8332327a506cb0f64c9a2f6083 tree f2b119c040cfc24243dca79c370a3e6695958c36 parent d2927cbe40b29ceda96c7a2412f7daee70026aad parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Jeff Garzik Sun, 30 Oct 2005 20:24:20 -0500 committer Jeff Garzik Sun, 30 Oct 2005 20:24:20 -0500 Merge branch 'master' commit d2927cbe40b29ceda96c7a2412f7daee70026aad tree 06d3692cb40ed7c787b8860ae926d4bda43d59ef parent 9359ede748ff1461bf0632fb4182f61da4a2f9e2 parent a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 author Jeff Garzik Sun, 30 Oct 2005 04:46:16 -0500 committer Jeff Garzik Sun, 30 Oct 2005 04:46:16 -0500 Merge branch 'upstream' commit 9359ede748ff1461bf0632fb4182f61da4a2f9e2 tree 4ec0c92b4998a535fc1180866a6dff9ad3bbb489 parent 35ebbae2836a361330b784706b7140c90a346a53 parent 81cfb8864c73230eb1c37753aba517db15cf4d8f author Jeff Garzik Sun, 30 Oct 2005 01:59:10 -0500 committer Jeff Garzik Sun, 30 Oct 2005 01:59:10 -0500 Merge branch 'upstream' commit 35ebbae2836a361330b784706b7140c90a346a53 tree ada3c046a8b6bfdf21bcb0932b4b65c95c2af073 parent c6a33e2464edd87f8c12cc2d11369a5b44c65b77 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Jeff Garzik Fri, 28 Oct 2005 12:30:29 -0400 committer Jeff Garzik Fri, 28 Oct 2005 12:30:29 -0400 Merge branch 'master' commit c6a33e2464edd87f8c12cc2d11369a5b44c65b77 tree f15eb374fa98fb1f76bf3a7cffd9cb8ef7173091 parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 author Albert Lee Wed, 12 Oct 2005 15:12:26 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:18:16 -0400 [PATCH] libata CHS: LBA28/LBA48 optimization (revise #6) - add lba_28_ok() and lba_48_ok() to ata.h. - check ending block number instead of staring block number. - use lba_28_ok() for CHS range check - LBA28/LBA48 optimization Suggested by Mark Lord and Alan Cox. Signed-off-by: Albert Lee ===== Signed-off-by: Jeff Garzik