commit 4d5c34ec7b007cfb0771a36996b009f194acbb2f tree 7658508b67f6aa03d5b38b68a197502068699ea8 parent 454ac778459bc70f0a9818a6a8fd974ced11de66 author Ivan Kokshaysky Tue, 25 Apr 2006 13:45:19 +0400 committer Linus Torvalds Tue, 25 Apr 2006 07:51:06 -0700 [PATCH] Alpha: strncpy() fix As it turned out after recent SCSI changes, strncpy() was broken - it mixed up the return values from __stxncpy() in registers $24 and $27. Thanks to Mathieu Chouquet-Stringer for tracking down the problem and providing an excellent test case. Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit 454ac778459bc70f0a9818a6a8fd974ced11de66 tree a1a7d7b6aaca16f48efa14e1d276fd2aeab4d884 parent 18118cdbfd1f855e09ee511d764d6c9df3d4f952 parent 301dc3e6f6ea83703fa52919c00e60661da5a8fe author Linus Torvalds Mon, 24 Apr 2006 20:08:08 -0700 committer Linus Torvalds Mon, 24 Apr 2006 20:08:08 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6-stable * master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6-stable: [CIFS] Fix compile error when CONFIG_CIFS_EXPERIMENTAL is undefined commit 18118cdbfd1f855e09ee511d764d6c9df3d4f952 tree 8707ed855ddbe0b0bf98e661119df0ec08a3a8ea parent 91536b7ae67710ca888e03ea82c60f0ac073a015 author Patrick McHardy Mon, 24 Apr 2006 17:18:59 -0700 committer David S. Miller Mon, 24 Apr 2006 17:27:34 -0700 [NETFILTER]: ipt action: use xt_check_target for basic verification The targets don't do the basic verification themselves anymore so the ipt action needs to take care of it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 91536b7ae67710ca888e03ea82c60f0ac073a015 tree 84d7cae64287878e9dbfff5ec04e306e50982328 parent e4a79ef811505a8bf8d8edfda8602e23cb2fbdb0 author Dmitry Mishin Mon, 24 Apr 2006 17:18:25 -0700 committer David S. Miller Mon, 24 Apr 2006 17:27:33 -0700 [NETFILTER]: x_tables: move table->lock initialization xt_table->lock should be initialized before xt_replace_table() call, which uses it. This patch removes strict requirement that table should define lock before registering. Signed-off-by: Dmitry Mishin Signed-off-by: Kirill Korotaev Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e4a79ef811505a8bf8d8edfda8602e23cb2fbdb0 tree 26e6fcd06059efc2d4d33040ed8d564aef789c0a parent 2c16b774c7a9b1684b0ff10121915903e9f0cf6c author Patrick McHardy Mon, 24 Apr 2006 17:17:49 -0700 committer David S. Miller Mon, 24 Apr 2006 17:27:32 -0700 [NETFILTER]: ip6_tables: remove broken comefrom debugging The introduction of x_tables broke comefrom debugging, remove it from ip6_tables as well (ip_tables already got removed). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 2c16b774c7a9b1684b0ff10121915903e9f0cf6c tree 6244de026976bbe3239a6d2b839758d130a584e1 parent 55fe5866366ae42f259f27ae5962eb267d9ce172 author Yasuyuki Kozakai Mon, 24 Apr 2006 17:16:59 -0700 committer David S. Miller Mon, 24 Apr 2006 17:27:31 -0700 [NETFILTER]: nf_conntrack: kill unused callback init_conntrack Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 55fe5866366ae42f259f27ae5962eb267d9ce172 tree ff7b8f5b97a6d21b1f30ffd43f2e6955ff376c69 parent 44adf28f4a27df626d50e54c8d0669df2dd1aa89 author Patrick McHardy Mon, 24 Apr 2006 17:16:28 -0700 committer David S. Miller Mon, 24 Apr 2006 17:27:30 -0700 [NETFILTER]: Fix compat_xt_counters alignment for non-x86 Some (?) non-x86 architectures require 8byte alignment for u_int64_t even when compiled for 32bit, using u_int32_t in compat_xt_counters breaks on these architectures, use u_int64_t for everything but x86. Reported by Andreas Schwab . Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 44adf28f4a27df626d50e54c8d0669df2dd1aa89 tree 20abb0d95b08e58f8c5a7d653517737c4a6aa38b parent e1bbdebdba615ddd957de81103aa2f7fa0581952 author Thomas Voegtle Mon, 24 Apr 2006 17:15:54 -0700 committer David S. Miller Mon, 24 Apr 2006 17:27:29 -0700 [NETFILTER]: ULOG target is not obsolete The backend part is obsoleted, but the target itself is still needed. Signed-off-by: Thomas Voegtle Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e1bbdebdba615ddd957de81103aa2f7fa0581952 tree 58db2991440cfeca18678bdeed5dd45d38b186bb parent d8fe3f19203b1f5070358aaa292d33295258b448 author Yasuyuki Kozakai Mon, 24 Apr 2006 17:15:17 -0700 committer David S. Miller Mon, 24 Apr 2006 17:27:28 -0700 [NETFILTER]: nf_conntrack: Fix module refcount dropping too far If nf_ct_l3proto_find_get() fails to get the refcount of nf_ct_l3proto_generic, nf_ct_l3proto_put() will drop the refcount too far. This gets rid of '.me = THIS_MODULE' of nf_ct_l3proto_generic so that nf_ct_l3proto_find_get() doesn't try to get refcount of it. It's OK because its symbol is usable until nf_conntrack.ko is unloaded. This also kills unnecessary NULL pointer check as well. __nf_ct_proto_find() allways returns non-NULL pointer. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d8fe3f19203b1f5070358aaa292d33295258b448 tree 17710efc27ea3392d63ea22e3519f34762583d20 parent 6b426e785cb81e53dc2fc4dcf997661472b470ef author OGAWA Hirofumi Mon, 24 Apr 2006 13:48:51 -0700 committer David S. Miller Mon, 24 Apr 2006 13:48:51 -0700 [SPARC]: __NR_sys removal __NR_sys_sync_file_range part was lost somewhere... [glibc is already checking __NR_sync_file_range] Signed-off-by: OGAWA Hirofumi Signed-off-by: David S. Miller commit 301dc3e6f6ea83703fa52919c00e60661da5a8fe tree 83c2d250eee5b2583ac317e61a5f424517785cf6 parent 6b426e785cb81e53dc2fc4dcf997661472b470ef author Steve French Mon, 24 Apr 2006 16:24:54 +0000 committer Steve French Mon, 24 Apr 2006 16:24:54 +0000 [CIFS] Fix compile error when CONFIG_CIFS_EXPERIMENTAL is undefined Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 6b426e785cb81e53dc2fc4dcf997661472b470ef tree 3dbde895f120e78f66b32ddd9c9cbe3d83a59637 parent cb6aef2879b769644b35cffe9844c81c63809c8e parent 223232de068593b40d267e340f24c017d31c018a author Linus Torvalds Sun, 23 Apr 2006 09:44:10 -0700 committer Linus Torvalds Sun, 23 Apr 2006 09:44:10 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: [PARISC] MAINTAINERS [PARISC] Make ioremap default to _nocache [PARISC] Add new entries to the syscall table [PARISC] Further work for multiple page sizes [PARISC] Fix up hil_kbd.c mismerge [PARISC] defconfig updates [PARISC] Document that we tolerate "Relaxed Ordering" [PARISC] Misc. janitorial work [PARISC] EISA regions must be mapped NO_CACHE [PARISC] OSS ad1889: Match register names with ALSA driver commit cb6aef2879b769644b35cffe9844c81c63809c8e tree ccaab997f764e155226da1b600dabbe0b65f4ad7 parent 950709a8961e2dde05bc55dca29b2d2e54a6d3ec parent 48b950ff241fca03a6969a5eb6a42a02722678d4 author Linus Torvalds Sun, 23 Apr 2006 09:43:21 -0700 committer Linus Torvalds Sun, 23 Apr 2006 09:43:21 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6: [PATCH] pcmcia/pcmcia_resource.c: fix crash when using Cardbus cards [PATCH] vrc4171: update config [PATCH] pcmcia: fix oops in static mapping case [PATCH] pcmcia: remove unneeded forward declarations [PATCH] pcmcia: do not set dev_node to NULL too early [PATCH] pcmcia: fix comment for pcmcia_load_firmware [PATCH] pcmcia: unload second device first [PATCH] pcmcia: add new ID to pcnet_cs commit 950709a8961e2dde05bc55dca29b2d2e54a6d3ec tree f7f43152e3d49c36ba74d2fcb340c2f25ea6ae55 parent 41bc3982b99973d93b5c49598ebd1c34a21127af parent 5d23fafb1bf8ef071738026c2e5071a92186d5f8 author Linus Torvalds Sun, 23 Apr 2006 09:41:20 -0700 committer Linus Torvalds Sun, 23 Apr 2006 09:41:20 -0700 Merge branch 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 * 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: drm: possible cleanups drm: fixup r300 scratch on BE machines commit 41bc3982b99973d93b5c49598ebd1c34a21127af tree 8cb529778bd896e96cc0700b49f593ef3a4d0b9d parent a580e5b9a5ba7d6db5647c36ee118b8890ba3033 parent b66ac3ea21f81dea02cdb4e9de66ee6afdc540e4 author Linus Torvalds Sun, 23 Apr 2006 09:38:09 -0700 committer Linus Torvalds Sun, 23 Apr 2006 09:38:09 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6-stable * master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6-stable: [CIFS] Fix typo in previous [CIFS] Readdir fixes to allow search to start at arbitrary position [CIFS] Use the kthread_ API instead of opencoding lots of hairy code for kernel [CIFS] Don't allow a backslash in a path component [CIFS] [CIFS] Do not take rename sem on most path based calls (during commit a580e5b9a5ba7d6db5647c36ee118b8890ba3033 tree bfb7bbf852315085d7868165691057b170af1ab1 parent 93e1b7d42e1edb4ddde6257e9a02513fef26f715 parent d0e15bed84db7a9b0ea85d2ad9707b5e6d2e38da author Linus Torvalds Sun, 23 Apr 2006 09:36:31 -0700 committer Linus Torvalds Sun, 23 Apr 2006 09:36:31 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge: powerpc: Fix define_machine so machine_is() works from modules powerpc/ppc: export strncasecmp [PATCH] powerpc: fix oops in alsa powermac driver [PATCH] powerpc: update {g5,iseries,pseries}_defconfigs [PATCH] ppc: Fix powersave code on arch/ppc [PATCH] powerpc/cell: remove BUILD_BUG_ON and add sys_tee to spu_syscall_table [PATCH] powermac: Fix i2c on keywest based chips [PATCH] powerpc: Lower threshold for DART enablement to 1GB [PATCH] powerpc: IOMMU support for honoring dma_mask commit 5d23fafb1bf8ef071738026c2e5071a92186d5f8 tree d21de09d347818c17cc35c487dc99688ebd0cdff parent caa98c41c0db9bfda5bc9a0e680f304283089268 author Dave Airlie Sun, 23 Apr 2006 18:26:40 +1000 committer Dave Airlie Sun, 23 Apr 2006 18:26:40 +1000 drm: possible cleanups This patch contains the following possible cleanups: - make the following needlessly global function static: - drm_bufs.c: drm_addbufs_fb() - remove the following unused EXPORT_SYMBOL's: - drm_agpsupport.c: drm_agp_bind_memory - drm_bufs.c: drm_rmmap_locked - drm_bufs.c: drm_rmmap - drm_stub.c: drm_get_dev Signed-off-by: Adrian Bunk Signed-off-by: Dave Airlie commit caa98c41c0db9bfda5bc9a0e680f304283089268 tree 483a9b38237851293c7170c9af666df332c90da7 parent 8bbde0e6d52265158ee9625f383500c1a7d09ba9 author Dave Airlie Sun, 23 Apr 2006 18:14:00 +1000 committer Dave Airlie Sun, 23 Apr 2006 18:14:00 +1000 drm: fixup r300 scratch on BE machines This fixes the r300 scratch stuff to work on PPC, from Ben Herrenschmidt on IRC. Signed-off-by: Dave Airlie commit b66ac3ea21f81dea02cdb4e9de66ee6afdc540e4 tree 32185324f236df4640ee3d35097cb13a2726b586 parent 60808233f374aebba26488d06a5f25443f6763c3 author Steve French Sun, 23 Apr 2006 01:54:50 +0000 committer Steve French Sun, 23 Apr 2006 01:54:50 +0000 [CIFS] Fix typo in previous Signed-off-by: Steve French commit d0e15bed84db7a9b0ea85d2ad9707b5e6d2e38da tree b27ecd617ae9113d083514b10ec27a649fd22c78 parent 7c8ce71b092425f1e938285cab2a679c09444d9b author Paul Mackerras Sun, 23 Apr 2006 10:42:04 +1000 committer Paul Mackerras Sun, 23 Apr 2006 10:42:04 +1000 powerpc: Fix define_machine so machine_is() works from modules machine_is() was always returning 0 when used in a module, because we weren't exporting the machine definitions. This was why sound wasn't working on powermacs when CONFIG_SND_POWERMAC=m. Original fix from Ben Herrenschmidt, further fixed by me. Signed-off-by: Paul Mackerras commit 93e1b7d42e1edb4ddde6257e9a02513fef26f715 tree 5ad622666db7c8039aa5a6d934e1b4c5712ea9f7 parent 5713556843aee24f484f445db6540f9fef976439 author Kylene Jo Hall Sat, 22 Apr 2006 02:39:52 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:55 -0700 [PATCH] tpm: add HID module parameter I recently found that not all BIOS manufacturers are using the specified generic PNP id in their TPM ACPI table entry. I have added the vendor specific IDs that I know about and added a module parameter that a user can specify another HID to the probe list if their device isn't being found by the default list. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5713556843aee24f484f445db6540f9fef976439 tree f5366b4f21684524b5b453acdd1d2cc7d9cf6b15 parent cb5354253af2bc30ed449b8be4b3bddf3b3a2746 author Kylene Jo Hall Sat, 22 Apr 2006 02:39:44 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:55 -0700 [PATCH] tpm: add interrupt module parameter This patch adds a boolean module parameter that allows the user to turn interrupt support on and off. The default behavior is to attempt to use interrupts. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb5354253af2bc30ed449b8be4b3bddf3b3a2746 tree 7539b366004bf570b91e45b728f15947735eb551 parent 397c718299d848ff305ecd955838a9bd32f1f881 author Kylene Jo Hall Sat, 22 Apr 2006 02:39:31 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:55 -0700 [PATCH] tpm: spacing cleanups 2 Fixes minor spacing issues. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 397c718299d848ff305ecd955838a9bd32f1f881 tree 28e176fb5f3c6dd61a9ee4fdfc1a099b8a51199f parent 8b006db604527c566dc1dd0aebae37714143aaef author Randy Dunlap Sat, 22 Apr 2006 02:39:18 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm_infineon section fixup Use __devexit_p() for the exit/remove function to protect against discarding it. WARNING: drivers/char/tpm/tpm_infineon.o - Section mismatch: reference to .exit.text:tpm_inf_pnp_remove from .data between 'tpm_inf_pnp' (at offset 0x20) and 'tpm_inf' Signed-off-by: Randy Dunlap Cc: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b006db604527c566dc1dd0aebae37714143aaef tree e4b0128bc9bab18cdbc42efbdc9fbcdc814d6711 parent b09d53009db21228adde29b468eb4583e66cbe7c author Kylene Jo Hall Sat, 22 Apr 2006 02:39:07 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm: update bios log code for 1.2 The acpi table which contains the BIOS log events was updated for 1.2. There are now client and server modes as defined in the specifications with slightly different formats. Additionally, the start field was even too small for the 1.1 version but had been working anyway. This patch updates the code to deal with any of the three types of headers probperly (1.1, 1.2 client and 1.2 server). Signed-off-by: Kylie Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b09d53009db21228adde29b468eb4583e66cbe7c tree d845bd9408ab13d8cbff4d49acb218674fce6b6c parent e496f540540f0a0bffcc3f83785f9954dacf1b83 author Kylene Jo Hall Sat, 22 Apr 2006 02:38:55 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm: check mem start and len The memory start and length values obtained from the ACPI entry need to be checked and filled in with the default values from the specification if they don't exist. This patch fills in the default values and uses them appropriately. Signed-off-by: Kylie Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e496f540540f0a0bffcc3f83785f9954dacf1b83 tree 92cc03c00665c9f1f69d5ba29e53aab04196ffff parent 10685a95301d02fde2b10f6047e405c69d2af82a author Marcel Selhorst Sat, 22 Apr 2006 02:38:42 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm: tpm_infineon updated to latest interface changes Apply the latest changes in the TPM interface to the Infineon TPM-driver. Signed-off-by: Marcel Selhorst Acked-by: Kylie Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10685a95301d02fde2b10f6047e405c69d2af82a tree 4649f5d6ed75a3743907e594922fb084c8de9be5 parent 36b20020e537036c4f9eb5b69140c88ead5da7dc author Kylene Jo Hall Sat, 22 Apr 2006 02:38:32 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm: use clear_bit Use set_bit() and clear_bit() for dev_mask manipulation. Signed-off-by: Kylie Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36b20020e537036c4f9eb5b69140c88ead5da7dc tree 71a83d0da45630fe3c3a69c446823716164fbcc1 parent 27084efee0c3dc0eb15b5ed750aa9f1adb3983c3 author Kylene Jo Hall Sat, 22 Apr 2006 02:38:19 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm: msecs_to_jiffies cleanups The timeout and duration values used in the tpm driver are not exposed to userspace. This patch converts the storage units to jiffies with msecs_to_jiffies. They were always being used in jiffies so this simplifies things removing the need for calculation all over the place. The change necessitated a type change in the tpm_chip struct to hold jiffies. Signed-off-by: Kylie Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27084efee0c3dc0eb15b5ed750aa9f1adb3983c3 tree aa9570006e4e44e3f9a1c2c1960ed025a790711c parent 08e96e486dd1345ae0ad70247387d0d4fd346889 author Leendert van Doorn Sat, 22 Apr 2006 02:38:03 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm: driver for next generation TPM chips The driver for the next generation of TPM chips version 1.2 including support for interrupts. The Trusted Computing Group has written the TPM Interface Specification (TIS) which defines a common interface for all manufacturer's 1.2 TPM's thus the name tpm_tis. Signed-off-by: Leendert van Doorn Signed-off-by: Kylene Hall Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08e96e486dd1345ae0ad70247387d0d4fd346889 tree 25dbff8ebc7ec35d476917ccc1f8c54808e79bea parent 9e18ee19179a7742999d0e2d4bfcba75b5562439 author Kylene Jo Hall Sat, 22 Apr 2006 02:37:50 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm: new 1.2 sysfs files Many of the sysfs files were calling the TPM_GetCapability command with array. Since for 1.2 more sysfs files of this type are coming I am generalizing the array so there can be one array and the unique parts can be filled in just before the command is called. This updated version of the patch breaks the multi-value sysfs file into separate files pointed out by Greg. It also addresses the code redundancy and ugliness in the tpm_show_* functions pointed out on another patch by Dave Hansen. Signed-off-by: Kylene Hall Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e18ee19179a7742999d0e2d4bfcba75b5562439 tree da87b5f7547ae840fd797d2e3ddc71e5c7cb3307 parent e0dd03caf20d040a0a86b6bd74028ec9bda545f5 author Kylene Jo Hall Sat, 22 Apr 2006 02:37:38 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:54 -0700 [PATCH] tpm: command duration update With the TPM 1.2 Specification, each command is classified as short, medium or long and the chip tells you the maximum amount of time for a response to each class of command. This patch provides and array of the classifications and a function to determine how long the response should be waited for. Also, it uses that information in the command processing to determine how long to poll for. The function is exported so the 1.2 driver can use the functionality to determine how long to wait for a DataAvailable interrupt if interrupts are being used. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0dd03caf20d040a0a86b6bd74028ec9bda545f5 tree fe65a043531f3b896f5dba08bbb8ae385332f7d1 parent 90dda520c1962d55a0e1d2571deed0d75fd6d6f1 author Kylene Jo Hall Sat, 22 Apr 2006 02:37:26 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:53 -0700 [PATCH] tpm: return chip from tpm_register_hardware Changes in the 1.2 TPM Specification make it necessary to update some fields of the chip structure in the initialization function after it is registered with tpm.c thus tpm_register_hardware was modified to return a pointer to the structure. This patch makes that change and the associated changes in tpm_atmel and tpm_nsc. The changes to tpm_infineon will be coming in a patch from Marcel Selhorst. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90dda520c1962d55a0e1d2571deed0d75fd6d6f1 tree 38d0da2fbeabb595f248f6029e470a1f2acd763a parent beed53a1aaeaae4eb93297c23f1598a726716adf author Kylene Jo Hall Sat, 22 Apr 2006 02:37:15 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:53 -0700 [PATCH] tpm: chip struct update To assist with chip management and better support the possibility of having multiple TPMs in the system of the same kind, the struct tpm_vendor_specific member of the tpm_chip was changed from a pointer to an instance. This patch changes that declaration and fixes up all accesses to the structure member except in tpm_infineon which is coming in a patch from Marcel Selhorst. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit beed53a1aaeaae4eb93297c23f1598a726716adf tree ca2debde55f2320cae3c83d1be90fc07961d5050 parent 3c2f606a098b07f053904ec8b8f4d0e101c28b35 author Kylene Jo Hall Sat, 22 Apr 2006 02:37:05 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:53 -0700 [PATCH] tpm: reorganize sysfs files Many of the sysfs files were calling the TPM_GetCapability command with array. Since for 1.2 more sysfs files of this type are coming I am generalizing the array so there can be one array and the unique parts can be filled in just before the command is called. Signed-off-by: Kylene Hall Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c2f606a098b07f053904ec8b8f4d0e101c28b35 tree a113074d8051ed3452e8eae5b7d5ddb569258960 parent 7c69a47f1badf40dfa2febac71df98d32b1b56d7 author Kylene Jo Hall Sat, 22 Apr 2006 02:36:56 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:53 -0700 [PATCH] tpm: spacing cleanups The following patch set contains numerous changes to the base tpm driver (tpm.c) to support the next generation of TPM chips. The changes include new sysfs files because of more relevant data being available, a function to access the timeout and duration values for the chip, and changes to make use of those duration values. Duration in the TPM specification is defined as the maximum amount of time the chip could take to return the results. Commands are in one of three categories short, medium and long. Also included are cleanups of how the commands for the sysfs files are composed to reduce a bunch of redundant arrays. This patch: Fix minor spacing issues. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c69a47f1badf40dfa2febac71df98d32b1b56d7 tree 7f37cf8d9120234c00e8dfaea54b5df064c9e1d0 parent 59e89f3a091d5cf93f4b176aedcfded61ece5252 author Kylene Jo Hall Sat, 22 Apr 2006 02:36:46 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:53 -0700 [PATCH] tpm: fix missing string A string corresponding to the tcpa_pc_event_id POST_CONTENTS was missing causing an overflow bug when access was attempted in the get_event_name function. This bug was found by Coverity. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59e89f3a091d5cf93f4b176aedcfded61ece5252 tree 927003d6297eb724ff220fb416aa357c25854221 parent b9251b823b5e921c894eb135cb6c64abf483f50e author Kylene Jo Hall Sat, 22 Apr 2006 02:36:35 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:53 -0700 [PATCH] tpm: fix memory leak The eventname was kmalloc'd and not freed in the *_show functions. This bug was found by Coverity. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b9251b823b5e921c894eb135cb6c64abf483f50e tree 4e2c1c24a80693a6b6d2ee0f5369ab21fef5fc16 parent 8c4335a87c9785d2102ab23f09393038e1663314 author Jan Kara Sat, 22 Apr 2006 02:36:24 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:53 -0700 [PATCH] Fix reiserfs deadlock reiserfs_cache_default_acl() should return whether we successfully found the acl or not. We have to return correct value even if reiserfs_get_acl() returns error code and not just 0. Otherwise callers such as reiserfs_mkdir() can unnecessarily lock the xattrs and later functions such as reiserfs_new_inode() fail to notice that we have already taken the lock and try to take it again with obvious consequences. Signed-off-by: Jan Kara Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c4335a87c9785d2102ab23f09393038e1663314 tree ba1a2301512c4c22336f5cdaf18154a295b898d6 parent 5b20192727ef2c047343a043ee4fbda67e2beef4 author akpm@osdl.org Sat, 22 Apr 2006 02:36:15 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:53 -0700 [PATCH] Altix snsc: duplicate kobject fix from: Greg Howard Fix Altix system controller (snsc) device names to include the slot number of the blade whose associated system controller is the target of the device interface. Including the slot number avoids a problem we're currently having where slots within the same enclosure are attempting to create multiple kobjects with identical names. Signed-off-by: Greg Howard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b20192727ef2c047343a043ee4fbda67e2beef4 tree 7b0e7e5c1945685ad911add33e0baeb301b9729d parent ddbe3eec596fc2c6a513717168217bd19c901880 author Mike Waychison Sat, 22 Apr 2006 02:36:06 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:52 -0700 [PATCH] x86_64: Fix a race in the free_iommu path We do this by removing a micro-optimization that tries to avoid grabbing the iommu_bitmap_lock spinlock and using a bus-locked operation. This still races with other simultaneous alloc_iommu or free_iommu(size > 1) which both use bus-unlocked operations. The end result of this race is eventually ending up with an iommu_gart_bitmap that has bits errornously set all over, making large contiguous iommu space allocations fail with 'PCI-DMA: Out of IOMMU space'. Signed-off-by: Mike Waychison Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddbe3eec596fc2c6a513717168217bd19c901880 tree 0c9d2222d43480d19753596d7a5cf6e6e858b7fa parent 304dbdb7a4fbb7f40a6ad5c5836fdd456c233c63 author Andi Kleen Sat, 22 Apr 2006 02:35:57 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:52 -0700 [PATCH] x86_64: Pass -32 to the assembler when compiling the 32bit vsyscall pages This quietens warnings and actually fixes a bug. The unwind tables would come out wrong without -32, causing pthread cancellation during them to crash in the gcc runtime. The problem seems to only happen with newer binutils (it doesn't happen with 2.16.91.0.2 but happens wit 2.16.91.0.5) Thanks to David Altobelli and Brian Baker for test case and initial analysis. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 304dbdb7a4fbb7f40a6ad5c5836fdd456c233c63 tree 2bdd71bb0ab19422362e9d3999f975ae27206965 parent 3b5fd59fdd2e656dd4d10f2cedb41a7519b131b2 author Lee Schermerhorn Sat, 22 Apr 2006 02:35:48 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:52 -0700 [PATCH] add migratepage address space op to shmem Basic problem: pages of a shared memory segment can only be migrated once. In 2.6.16 through 2.6.17-rc1, shared memory mappings do not have a migratepage address space op. Therefore, migrate_pages() falls back to default processing. In this path, it will try to pageout() dirty pages. Once a shared memory page has been migrated it becomes dirty, so migrate_pages() will try to page it out. However, because the page count is 3 [cache + current + pte], pageout() will return PAGE_KEEP because is_page_cache_freeable() returns false. This will abort all subsequent migrations. This patch adds a migratepage address space op to shared memory segments to avoid taking the default path. We use the "migrate_page()" function because it knows how to migrate dirty pages. This allows shared memory segment pages to migrate, subject to other conditions such as # pte's referencing the page [page_mapcount(page)], when requested. I think this is safe. If we're migrating a shared memory page, then we found the page via a page table, so it must be in memory. Can be verified with memtoy and the shmem-mbind-test script, both available at: http://free.linux.hp.com/~lts/Tools/ Signed-off-by: Lee Schermerhorn Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b5fd59fdd2e656dd4d10f2cedb41a7519b131b2 tree 78b79ba00561ad1ae59d2882031271906e3541df parent 73a88814542d3f5b8973f3db9d7f380bd29957c4 author Andy Whitcroft Sat, 22 Apr 2006 02:35:41 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:52 -0700 [PATCH] x86_64: sparsemem does not need node_mem_map Seems we are trying to init the node_mem_map when we don't need to, for example when SPARSEMEM is enabled. This causes the error below during compilation. Use CONFIG_FLAT_NODE_MEM_MAP to gate allocation and init. arch/x86_64/mm/numa.c: In function `setup_node_zones': arch/x86_64/mm/numa.c:191: error: structure has no member named `node_mem_map' Signed-off-by: Andy Whitcroft Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73a88814542d3f5b8973f3db9d7f380bd29957c4 tree 92bf889724f3fbadbe2a2a4ce5ac1f92bf3a8e30 parent f4ffaa452e71495a06376f12f772342bc57051fc author Tilman Schmidt Sat, 22 Apr 2006 02:35:30 -0700 committer Linus Torvalds Sat, 22 Apr 2006 09:19:52 -0700 [PATCH] isdn4linux: Siemens Gigaset base driver: fix disconnect handling Fix a possible Oops in the Siemens Gigaset base driver when the device is unplugged while an ISDN connection is still active, and makes sure that the isdn4linux link level (LL) is properly informed if a connection is broken by the USB cable being unplugged. - Avoid unsafe checks of URB status fields outside the URB completion handlers, keep track of in-use URBs myself instead. - If an isochronous transfer URB completes with status==0, also check the status of the frame descriptors. - Verify length of interrupt messages received from the device. - Align the length limit on transmitted AT commands with the device documentation. - In case of AT response receive overrun, keep newly arrived instead of old unread data. - Remove redundant check of device ID in the USB probe function. - Correct and improve some comments and formatting. Signed-off-by: Tilman Schmidt Acked-by: Hansjoerg Lipp Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60808233f374aebba26488d06a5f25443f6763c3 tree e2f85a165398f0c6c7432a7fa715d18efc3d8d5b parent 45af7a0f2ebad1304cab956e15f0b37318226fcd author Steve French Sat, 22 Apr 2006 15:53:05 +0000 committer Steve French Sat, 22 Apr 2006 15:53:05 +0000 [CIFS] Readdir fixes to allow search to start at arbitrary position in directory Also includes first part of fix to compensate for servers which forget to return . and .. as well as updates to changelog and cifs readme. Signed-off-by: Steve French commit 7c8ce71b092425f1e938285cab2a679c09444d9b tree dc4365d2fcbe1e373ee8b1f7a5ccca54cffb6fc9 parent 4d6c58899c1cdac018f92cfa0383bb835a0c80ef parent 12df7556705aae97f24a397377e17898700d7192 author Paul Mackerras Sat, 22 Apr 2006 19:19:06 +1000 committer Paul Mackerras Sat, 22 Apr 2006 19:19:06 +1000 Merge branch 'misc' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into merge commit 45af7a0f2ebad1304cab956e15f0b37318226fcd tree 039c41ef3b835eb92a088b55d22f1cb3f3bff4c9 parent 296034f7de8bdf111984ce1630ac598a9c94a253 author Steve French Fri, 21 Apr 2006 22:52:25 +0000 committer Steve French Fri, 21 Apr 2006 22:52:25 +0000 [CIFS] Use the kthread_ API instead of opencoding lots of hairy code for kernel thread creation and teardown. It does not move the cifsd thread handling to kthread due to problems found in testing with wakeup of threads blocked in the socket peek api, but the other cifs kernel threads now use kthread. Also cleanup cifs_init to properly unwind when thread creation fails. Signed-off-by: Christoph Hellwig Signed-off-by: Steve French commit 48b950ff241fca03a6969a5eb6a42a02722678d4 tree d6a5fb6080355af987b7d60e5308b68d85d85ae7 parent daaeb72bdf22873e6fa6497550c9e1d9a8825fea author Daniel Ritz Fri, 14 Apr 2006 17:42:13 +0200 committer Dominik Brodowski Sat, 22 Apr 2006 00:49:19 +0200 [PATCH] pcmcia/pcmcia_resource.c: fix crash when using Cardbus cards Using the old ioctl interface together with cardbus card gives a NULL pointer dereference since cardbus devices don't have a struct pcmcia_device. also s->io[0].res can be NULL as well. Fix is to move the pcmcia code after the cardbus code and to check for a null pointer. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit daaeb72bdf22873e6fa6497550c9e1d9a8825fea tree 64988389da769eabe9fe4467ce136abb1d96c8d5 parent 2aff541c691b28cecb95ce710c367d16c0a84d8c author Yoichi Yuasa Thu, 06 Apr 2006 15:08:29 +0900 committer Dominik Brodowski Sat, 22 Apr 2006 00:49:18 +0200 [PATCH] vrc4171: update config This patch updates "depends on" for PCMCIA_VRC4171. CONFIG_VRC4171 has been removed, so replace it with CPU_VR41XX && ISA. Signed-off-by: Yoichi Yuasa Signed-off-by: Dominik Brodowski commit 2aff541c691b28cecb95ce710c367d16c0a84d8c tree 349642ad416a2948e7b0ed6048ffcdb0917b4a99 parent 80a55e923c76e022de298929e0c09bcca5c247d9 author Dominik Brodowski Thu, 13 Apr 2006 19:06:49 +0200 committer Dominik Brodowski Sat, 22 Apr 2006 00:49:17 +0200 [PATCH] pcmcia: fix oops in static mapping case As static maps do not have IO resources, this setting oopses. However, as we do not ever read this value, we can safely remove it. Signed-off-by: Dominik Brodowski commit 80a55e923c76e022de298929e0c09bcca5c247d9 tree 9e68a318181b8b13233077f2ee47fc3dedacb8e6 parent a0aab14322a74ab5665704c6155bf48fbc38f445 author Andrew Morton Mon, 10 Apr 2006 23:24:57 -0700 committer Dominik Brodowski Sat, 22 Apr 2006 00:49:16 +0200 [PATCH] pcmcia: remove unneeded forward declarations Also remove a couple of unneeded typecasts. Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit a0aab14322a74ab5665704c6155bf48fbc38f445 tree b0d46b3a01575da591444b404775a06af986d89d parent 90ff87008df12da7f2486178d0dee13745c1de6b author Dominik Brodowski Tue, 04 Apr 2006 11:09:26 +0200 committer Dominik Brodowski Sat, 22 Apr 2006 00:49:15 +0200 [PATCH] pcmcia: do not set dev_node to NULL too early If we set dev_node to NULL too early, some drivers which used this to determine whether unregister_netdev() needs to be called fail when removing a PCMCIA card. Signed-off-by: Dominik Brodowski commit 90ff87008df12da7f2486178d0dee13745c1de6b tree 0c4f5e693bd1295a97dcdbd8a07a72ffd126591c parent 6171b88b436ceb91d602ca570e63a0dcdd56648e author Komuro Sun, 12 Mar 2006 11:32:07 +0900 committer Dominik Brodowski Sat, 22 Apr 2006 00:49:14 +0200 [PATCH] pcmcia: fix comment for pcmcia_load_firmware The comment of "pcmcia_load_firmware" is wrong: the firmware(*.cis) files reside in /lib/firmware/ _not_ /lib/firmware/cis/ . Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Dominik Brodowski commit 6171b88b436ceb91d602ca570e63a0dcdd56648e tree 75383472f24702944f853e483002174c5bb528f8 parent 6542729809baa3674b16a76a68346f449266c6dd author Komuro Sun, 02 Apr 2006 17:39:27 +0900 committer Dominik Brodowski Sat, 22 Apr 2006 00:49:13 +0200 [PATCH] pcmcia: unload second device first Use list_add instead of list_add_tail for pcmcia_device_add so that second device of multi-function-card will be unloaded first. Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Dominik Brodowski commit 6542729809baa3674b16a76a68346f449266c6dd tree 0711d65ffc146b4cac8f73c4f7b30fefa36fa2ca parent f4ffaa452e71495a06376f12f772342bc57051fc author Dominik Brodowski Tue, 04 Apr 2006 10:17:52 +0200 committer Dominik Brodowski Sat, 22 Apr 2006 00:49:12 +0200 [PATCH] pcmcia: add new ID to pcnet_cs This adds a new ID to pcnet_cs, as noted by Kuro Moji. Signed-off-by: Dominik Brodowski commit 223232de068593b40d267e340f24c017d31c018a tree 3a95900c0c24f78e804f5338a5007038fda2e422 parent 1b52d7c2210b9a64c5cba6aded478c8217a8853c author Kyle McMartin Fri, 21 Apr 2006 16:54:23 -0400 committer Kyle McMartin Fri, 21 Apr 2006 22:20:36 +0000 [PARISC] MAINTAINERS Add myself to maintainers and add the parisc trees. Acked-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 1b52d7c2210b9a64c5cba6aded478c8217a8853c tree 4fe47a5723720a7df5cd15997cf725e5363e276b parent 6ca773cf8b9dc19989c9b44635292b1ba80f9112 author Kyle McMartin Thu, 20 Apr 2006 21:16:32 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:35 +0000 [PARISC] Make ioremap default to _nocache Since it is way more work to change most drivers to comply with parisc, take the easy way out and make ioremap _NO_CACHE by default. This is in line with what powerpc does. Signed-off-by: Kyle McMartin commit 6ca773cf8b9dc19989c9b44635292b1ba80f9112 tree 46d72c9943e17b60af4cd5ebcd330618d9e640d4 parent 2fd83038160531245099c3c5b3511fa4b80765eb author Kyle McMartin Thu, 20 Apr 2006 04:44:07 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:35 +0000 [PARISC] Add new entries to the syscall table Most are easy, but sync_file_range needed special handling when entering through the 32-bit syscall table. Signed-off-by: Kyle McMartin commit 2fd83038160531245099c3c5b3511fa4b80765eb tree 6145a9e78723c76ceac722eb60267c0116983c12 parent d668da80d613def981c573354e1853e38bd0698d author Helge Deller Thu, 20 Apr 2006 20:40:23 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:34 +0000 [PARISC] Further work for multiple page sizes More work towards supporing multiple page sizes on 64-bit. Convert some assumptions that 64bit uses 3 level page tables into testing PT_NLEVELS. Also some BUG() to BUG_ON() conversions and some cleanups to assembler. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit d668da80d613def981c573354e1853e38bd0698d tree 756b7e8ede024123c1d487d165c5d7c68ef04d4a parent 8ea6947b4b9d918784fa6a1f93ca2882d94b71b6 author Matthew Wilcox Mon, 03 Apr 2006 13:44:17 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:34 +0000 [PARISC] Fix up hil_kbd.c mismerge Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 8ea6947b4b9d918784fa6a1f93ca2882d94b71b6 tree 2ea4d9711c96bb9a5b140f66d8da64b327233e23 parent b312c33e362696d873931d8f84a89b3e894077c8 author Helge Deller Sun, 02 Apr 2006 13:28:00 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:33 +0000 [PARISC] defconfig updates Make the defconfig more generally useful. Turn on IPv6, modules, cardbus, etc. Boots 32bit on 715 with HIL, B160L with sound, PrecisionBook, and C3000. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit b312c33e362696d873931d8f84a89b3e894077c8 tree 94f0607b3ee54dfd87c7849f6666d9f68452491a parent 67a5a59d3301949f51f2d617d689f005c6d21470 author Grant Grundler Thu, 30 Mar 2006 07:13:21 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:33 +0000 [PARISC] Document that we tolerate "Relaxed Ordering" This means "DMA Read returns" can bypass "MMIO Writes". Violating the PCI specs in this case improves outbound DMA "flows" and is currently not required by any drivers. This is NOT a new behavior. Previous chipsets did this already and I believe ZX1 PDC was already setting this for hpux. I just want to further document the behavior. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 67a5a59d3301949f51f2d617d689f005c6d21470 tree 7a8823c610b1793ccc307949b11af17f8e290fb2 parent b2d6b9fb35bf670df8049f0b3d4d306bf2d454da author Helge Deller Mon, 27 Mar 2006 19:52:14 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:32 +0000 [PARISC] Misc. janitorial work Fix a spelling mistake, add a KERN_INFO flag, and fix some whitespace uglies. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit b2d6b9fb35bf670df8049f0b3d4d306bf2d454da tree ad0ab344a8e47d8ded5c626433d6d03ca6b44c21 parent e74eb808ba64610d4983ddd8b5b9a159d178aa8e author Helge Deller Mon, 27 Mar 2006 19:52:14 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:32 +0000 [PARISC] EISA regions must be mapped NO_CACHE Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit e74eb808ba64610d4983ddd8b5b9a159d178aa8e tree 44415a7da851cbb4069a81d79a21b6abacdb28a6 parent f4ffaa452e71495a06376f12f772342bc57051fc author Stuart Brady Tue, 01 Mar 2005 23:00:56 +0000 committer Kyle McMartin Fri, 21 Apr 2006 22:20:31 +0000 [PARISC] OSS ad1889: Match register names with ALSA driver Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit 296034f7de8bdf111984ce1630ac598a9c94a253 tree b8918c659c780f8fcdf3d8d82385da14a9fc7176 parent 0bd4fa977f81c914eb8bada00284d0933825900e author Steve French Fri, 21 Apr 2006 18:18:37 +0000 committer Steve French Fri, 21 Apr 2006 18:18:37 +0000 [CIFS] Don't allow a backslash in a path component Unless Posix paths have been negotiated, the backslash, "\", is not a valid character in a path component. Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 0bd4fa977f81c914eb8bada00284d0933825900e tree 398b2fea4b7902f53be9d0fc9d9c9c07d427dce1 parent f4ffaa452e71495a06376f12f772342bc57051fc author Steve French Fri, 21 Apr 2006 18:17:42 +0000 committer Steve French Fri, 21 Apr 2006 18:17:42 +0000 [CIFS] [CIFS] Do not take rename sem on most path based calls (during building of full path) to avoid hang rename/readdir hang Reported by Alan Tyson Signed-off-by: Steve French commit 4d6c58899c1cdac018f92cfa0383bb835a0c80ef tree 838f2e6ac56784c59e807ffcc2911786c39769f5 parent 5ad1bfeaf7a526ea5c5503c8a48e3a5a3efe18f7 author Benjamin Herrenschmidt Fri, 21 Apr 2006 15:04:22 +1000 committer Paul Mackerras Fri, 21 Apr 2006 22:34:26 +1000 [PATCH] powerpc: fix oops in alsa powermac driver This fixes an oops in 2.6.16.X when loading the snd_powermac module. The name of the requested module changed during the 2.6.16 development cycle from i2c-keylargo to i2c-powermac. Signed-off-by: Guido Guenther Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman Signed-off-by: Paul Mackerras commit 5ad1bfeaf7a526ea5c5503c8a48e3a5a3efe18f7 tree c65179a6846c450892ccbc5a44ecccb5549af587 parent ea1e847cc202e805769c3c46ba5e5c53714068a1 author Will Schmidt Wed, 19 Apr 2006 16:26:22 -0500 committer Paul Mackerras Fri, 21 Apr 2006 22:34:03 +1000 [PATCH] powerpc: update {g5,iseries,pseries}_defconfigs Default choices for all. Signed-off-by: Will Schmidt Signed-off-by: Paul Mackerras commit ea1e847cc202e805769c3c46ba5e5c53714068a1 tree 4f35175c166f42a5b839af5dfe7e39155666b1fc parent 23b2527d5eae89841eb66b46e80ec91980493dda author Becky Bruce Tue, 18 Apr 2006 14:29:34 -0500 committer Paul Mackerras Fri, 21 Apr 2006 22:33:22 +1000 [PATCH] ppc: Fix powersave code on arch/ppc Fix asm_offsets.c and entry.S to work with the new power save code. Changes in arch/powerpc needed to exist in arch/ppc as well since the idle code is shared by both ppc and powerpc.. Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit 23b2527d5eae89841eb66b46e80ec91980493dda tree e905775590d0ad81058b4bb0f2bf98778441ccd6 parent 60162e498e220d1f03bbee5bac0a9ddd6de60ae7 author Arnd Bergmann Tue, 18 Apr 2006 15:24:16 +0200 committer Paul Mackerras Fri, 21 Apr 2006 22:32:50 +1000 [PATCH] powerpc/cell: remove BUILD_BUG_ON and add sys_tee to spu_syscall_table Every time a new syscall gets added, a BUILD_BUG_ON in arch/powerpc/platforms/cell/spu_callbacks.c gets triggered. Since the addition of a new syscall is rather harmless, the error should just be removed. While we're here, add sys_tee to the list and add a comment to systbl.S to remind people that there is another list on powerpc. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 60162e498e220d1f03bbee5bac0a9ddd6de60ae7 tree 8cbcbea6060eb2b9f7d39784385efdfc6e947b52 parent 28897731318dc8f63f683eed9091e446916ad706 author Benjamin Herrenschmidt Tue, 18 Apr 2006 14:11:53 +1000 committer Paul Mackerras Fri, 21 Apr 2006 22:29:46 +1000 [PATCH] powermac: Fix i2c on keywest based chips The new i2c implementation for PowerMac has a regression that causes the hardware to go out of state when probing non-existent devices. While fixing that, I also found & fixed a couple of other corner cases. This fixes booting with a pbbuttons version that scans the i2c bus for an LMU controller among others. Tested on a dual G5 with thermal control (which has heavy i2c activity) with no problem so far. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 28897731318dc8f63f683eed9091e446916ad706 tree 702e9668705fcf96c0e1d6423a83f22d57e1c3fb parent 7daa411b810d7eadfaabe3765ec5f827893dbb30 author Olof Johansson Wed, 12 Apr 2006 21:52:33 -0500 committer Paul Mackerras Fri, 21 Apr 2006 22:29:37 +1000 [PATCH] powerpc: Lower threshold for DART enablement to 1GB Turn on the DART already at 1GB. This is needed because of crippled devices in some systems, i.e. Airport Extreme cards, only supporting 30-bit DMA addresses. Otherwise, users with between 1 and 2GB of memory will need to manually enable it with iommu=force, and that's no good. Some simple performance tests show that there's a slight impact of enabling DART, but it's in the 1-3% range (kernel build with disk I/O as well as over NFS). iommu=off can still be used for those who don't want to deal with the overhead (and don't need it for any devices). Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 7daa411b810d7eadfaabe3765ec5f827893dbb30 tree c7cef2c78faa74928fb32942d9e9aaf262fe98ab parent f4ffaa452e71495a06376f12f772342bc57051fc author Olof Johansson Wed, 12 Apr 2006 21:05:59 -0500 committer Paul Mackerras Fri, 21 Apr 2006 22:28:55 +1000 [PATCH] powerpc: IOMMU support for honoring dma_mask Some devices don't support full 32-bit DMA address space, which we currently assume. Add the required mask-passing to the IOMMU allocators. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit f4ffaa452e71495a06376f12f772342bc57051fc tree c502a9ebd25cd4541241dd384803163703a71946 parent d3d3cf05eda861d807de539cac25bcefee0f9659 parent f18b95c3e2ab0f75b23a5aabab0bc8f99bd6bbf3 author Linus Torvalds Thu, 20 Apr 2006 15:26:25 -0700 committer Linus Torvalds Thu, 20 Apr 2006 15:26:25 -0700 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: (21 commits) [PATCH] wext: Fix RtNetlink ENCODE security permissions [PATCH] bcm43xx: iw_priv_args names should be <16 characters [PATCH] bcm43xx: sysfs code cleanup [PATCH] bcm43xx: fix pctl slowclock limit calculation [PATCH] bcm43xx: fix dyn tssi2dbm memleak [PATCH] bcm43xx: fix config menu alignment [PATCH] bcm43xx wireless: fix printk format warnings [PATCH] softmac: report when scanning has finished [PATCH] softmac: fix event sending [PATCH] softmac: handle iw_mode properly [PATCH] softmac: dont send out packets while scanning [PATCH] softmac: return -EAGAIN from getscan while scanning [PATCH] bcm43xx: set trans_start on TX to prevent bogus timeouts [PATCH] orinoco: fix truncating commsquality RID with the latest Symbol firmware [PATCH] softmac: fix spinlock recursion on reassoc [PATCH] Revert NET_RADIO Kconfig title change [PATCH] wext: Fix IWENCODEEXT security permissions [PATCH] wireless/atmel: send WEXT scan completion events [PATCH] wireless/airo: clean up WEXT association and scan events [PATCH] softmac uses Wiress Ext. ... commit d3d3cf05eda861d807de539cac25bcefee0f9659 tree 8ea562077369b97700ebe6af02906690a788bf51 parent a6db522c9399f69ff705c8afae069b5a74a8ea6b parent 18bc89aa25fbfcf467f4ce67f76c7b9893404cac author Linus Torvalds Thu, 20 Apr 2006 15:25:37 -0700 committer Linus Torvalds Thu, 20 Apr 2006 15:25:37 -0700 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: [EBTABLES]: Clean up vmalloc usage in net/bridge/netfilter/ebtables.c [NET]: Add skb->truesize assertion checking. [TCP]: Account skb overhead in tcp_fragment [SUNGEM]: Marvell PHY suspend. [LLC]: Use pskb_trim_rcsum() in llc_fixup_skb(). [NET]: sockfd_lookup_light() returns random error for -EBADFD commit a6db522c9399f69ff705c8afae069b5a74a8ea6b tree b6dee216e76fbebb6fdcb5814630e7b6f8284c34 parent 402a26f0c040077ed6f941eefac5a6971f0d5f40 parent 036999d50180a9eaaa79dfb1d7a940824e475f24 author Linus Torvalds Thu, 20 Apr 2006 15:22:41 -0700 committer Linus Torvalds Thu, 20 Apr 2006 15:22:41 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] for_each_possible_cpu [ARM] add_memory() build fix [ARM] 3483/1: ixp23xx: update defconfig to 2.6.17-rc2 [ARM] 3482/1: ixp2000: update defconfig to 2.6.17-rc2 [ARM] 3481/1: ep93xx: update defconfig to 2.6.17-rc2 [ARM] 3480/1: ixp4xx: fix irq2gpio array type commit f18b95c3e2ab0f75b23a5aabab0bc8f99bd6bbf3 tree 9ff4b7efdb2ca1e83c2a413f06268b268098b3ca parent 17c281ab3e33be63693687d3db7ac9cf2bbdfd66 parent 848ef8555296f25d9226d3bc43ce4028835ed633 author Jeff Garzik Thu, 20 Apr 2006 17:36:10 -0400 committer Jeff Garzik Thu, 20 Apr 2006 17:36:10 -0400 Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 commit 17c281ab3e33be63693687d3db7ac9cf2bbdfd66 tree 00edfbeb44c76461c1bf40dbf79462fc4047ee4f parent 402a26f0c040077ed6f941eefac5a6971f0d5f40 author Sergei Shtylyov Sun, 16 Apr 2006 19:42:35 +0400 committer Jeff Garzik Thu, 20 Apr 2006 17:28:57 -0400 [PATCH] NEx000: fix RTL8019AS base address for RBTX4938 Correct the base address of the Realtek RTL8019AS chip on the Toshiba RBTX4938 board -- this should make the driver work at least when CONFIG_PCI is enabled. Signed-off-by: Yuri Shpilevsky Signed-off-by: Sergei Shtylyov Signed-off-by: Jeff Garzik commit 036999d50180a9eaaa79dfb1d7a940824e475f24 tree e382446383ccbd91a798e22a6291361395aa5404 parent 1c97b73e89af9a20e99450c554cffdd9327e827a author KAMEZAWA Hiroyuki Thu, 20 Apr 2006 21:48:02 +0100 committer Russell King Thu, 20 Apr 2006 21:48:02 +0100 [ARM] for_each_possible_cpu for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 1c97b73e89af9a20e99450c554cffdd9327e827a tree 79578b028a0dd2303e150c55b841f2e32ad1388c parent 4b91ff4f425edb875c8e071d19a2417d23c578a4 author Andrew Morton Thu, 20 Apr 2006 21:41:18 +0100 committer Russell King Thu, 20 Apr 2006 21:41:18 +0100 [ARM] add_memory() build fix This is back again. Offending patch is x86_64-mm-hotadd-reserve.patch arch/arm/kernel/setup.c:435: error: conflicting types for 'add_memory' include/linux/memory_hotplug.h:102: error: previous declaration of 'add_memory' was here arch/arm/kernel/setup.c:435: error: conflicting types for 'add_memory' include/linux/memory_hotplug.h:102: error: previous declaration of 'add_memory' was here Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 4b91ff4f425edb875c8e071d19a2417d23c578a4 tree cf405f53326bf3ddd4f5a80a1e6df3b13c331c3f parent d2f9caa1be9cf3c18f0bfe70ca2f55d295942a9b author Lennert Buytenhek Thu, 20 Apr 2006 21:24:41 +0100 committer Russell King Thu, 20 Apr 2006 21:24:41 +0100 [ARM] 3483/1: ixp23xx: update defconfig to 2.6.17-rc2 Patch from Lennert Buytenhek Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit d2f9caa1be9cf3c18f0bfe70ca2f55d295942a9b tree 94f4d94ac6522b39e41243176381e04723c8d2e9 parent 67c6024cb4c04b4e9122a97e52cf903252020f9f author Lennert Buytenhek Thu, 20 Apr 2006 21:24:40 +0100 committer Russell King Thu, 20 Apr 2006 21:24:40 +0100 [ARM] 3482/1: ixp2000: update defconfig to 2.6.17-rc2 Patch from Lennert Buytenhek Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 67c6024cb4c04b4e9122a97e52cf903252020f9f tree 7fdbc43ad2fc6c05492ae3c57ea988b9d3a9cd80 parent 6cc1b6588686190325a960b5a598f4f952dbe23b author Lennert Buytenhek Thu, 20 Apr 2006 21:24:39 +0100 committer Russell King Thu, 20 Apr 2006 21:24:39 +0100 [ARM] 3481/1: ep93xx: update defconfig to 2.6.17-rc2 Patch from Lennert Buytenhek Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 6cc1b6588686190325a960b5a598f4f952dbe23b tree 4926988a054fb1e00a2b98a63b8d8f4f5de7c04b parent 5a7b46b369419493bab4de67b1526e9f76b22a7f author Lennert Buytenhek Thu, 20 Apr 2006 21:24:38 +0100 committer Russell King Thu, 20 Apr 2006 21:24:38 +0100 [ARM] 3480/1: ixp4xx: fix irq2gpio array type Patch from Lennert Buytenhek The irq2gpio array was recently converted from an array of ints to an array of chars (by patch 3368/1.) However, this array contains elements that are -1, and on ARM, the char type is unsigned by default, so this patch broke the GPIO check in ixp4xx_set_irq_type. Change the 'char' to be a 'signed char' to fix this. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 402a26f0c040077ed6f941eefac5a6971f0d5f40 tree f74e5d732404e9716b3c753007bac0f5d1e92869 parent bf7cf6ee1bd00679bbe93b6ae73f80032759b8df parent 4f73247f0e53be1bd4aa519476e6261a8e4a64ab author Linus Torvalds Thu, 20 Apr 2006 08:17:04 -0700 committer Linus Torvalds Thu, 20 Apr 2006 08:17:04 -0700 Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block * 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] block/elevator.c: remove unused exports [PATCH] splice: fix smaller sized splice reads [PATCH] Don't inherit ->splice_pipe across forks [patch] cleanup: use blk_queue_stopped [PATCH] Document online io scheduler switching commit bf7cf6ee1bd00679bbe93b6ae73f80032759b8df tree 765c7e4ee581badf9e7230025b91ca43172695fd parent 0b699e36b2d43c1b4288992683e5913d347b5b78 parent 2784f40e2774b61d68d232bcf92a9484e99f22b8 author Linus Torvalds Thu, 20 Apr 2006 07:58:58 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:58:58 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC]: __NR_sys_splice --> __NR_splice commit 0b699e36b2d43c1b4288992683e5913d347b5b78 tree 1ed44a6e82f71e596a0a7de75aefbbbdd904534e parent 18bd057b1408cd110ed23281533430cfc2d52091 author Eric Dumazet Thu, 20 Apr 2006 02:36:48 +0200 committer Linus Torvalds Thu, 20 Apr 2006 07:58:11 -0700 [PATCH] x86_64: bring back __read_mostly support to linux-2.6.17-rc2 It seems latest kernel has a wrong/missing __read_mostly implementation for x86_64 __read_mostly macro should be declared outside of #if CONFIG_X86_VSMP block Signed-off-by: Eric Dumazet Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 18bd057b1408cd110ed23281533430cfc2d52091 tree 09d8c44ebdb45763173fe54f6962921f4268cf9f parent 5dc5cf7dd2723430b6df3d91c5b22af49e063622 author Andi Kleen Thu, 20 Apr 2006 02:36:45 +0200 committer Linus Torvalds Thu, 20 Apr 2006 07:58:11 -0700 [PATCH] i386/x86-64: Fix x87 information leak between processes AMD K7/K8 CPUs only save/restore the FOP/FIP/FDP x87 registers in FXSAVE when an exception is pending. This means the value leak through context switches and allow processes to observe some x87 instruction state of other processes. This was actually documented by AMD, but nobody recognized it as being different from Intel before. The fix first adds an optimization: instead of unconditionally calling FNCLEX after each FXSAVE test if ES is pending and skip it when not needed. Then do a x87 load from a kernel variable to clear FOP/FIP/FDP. This means other processes always will only see a constant value defined by the kernel in their FP state. I took some pain to make sure to chose a variable that's already in L1 during context switch to make the overhead of this low. Also alternative() is used to patch away the new code on CPUs who don't need it. Patch for both i386/x86-64. The problem was discovered originally by Jan Beulich. Richard Brunner provided the basic code for the workarounds, with contribution from Jan. This is CVE-2006-1056 Cc: richard.brunner@amd.com Cc: jbeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5dc5cf7dd2723430b6df3d91c5b22af49e063622 tree f0c3575c153a82173e030fbd5a3538b10ece4903 parent 72b38d436e4cd18185de11f4b48a6e62eb104644 author Ingo Molnar Thu, 20 Apr 2006 02:43:23 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] md: locking fix - fix mddev_lock() usage bugs in md_attr_show() and md_attr_store(). [they did not anticipate the possibility of getting a signal] - remove mddev_lock_uninterruptible() [unused] Signed-off-by: Ingo Molnar Acked-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72b38d436e4cd18185de11f4b48a6e62eb104644 tree cbb24dbe93ca265c4161eaa0b24854edcd88a8c5 parent 46539264df5b1fcdc2cad585b032a86661fe079d author Adrian Bunk Thu, 20 Apr 2006 02:43:23 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] memory_hotplug.h cleanup We don't have to #if guard prototypes. This also fixes a bug observed by Randy Dunlap due to a misspelled option in the #if. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46539264df5b1fcdc2cad585b032a86661fe079d tree 6820721cb8d523927a4e56a6498ff8deac095702 parent aafda4e0d0424180023e16f43785f9344ea35719 author Adrian Bunk Thu, 20 Apr 2006 02:43:22 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] make the OSS SOUND_VIA82CXXX option available again There was a report of a regression in the ALSA driver for the same hardware. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aafda4e0d0424180023e16f43785f9344ea35719 tree 371c193ffbb77e9f4dcbf635e7cfd45dae916af9 parent bf104e641c5a6567cc00d4ae9d8510cef9f63b18 author Adrian Bunk Thu, 20 Apr 2006 02:43:21 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] update OBSOLETE_OSS_DRIVER schedule and dependencies Update the schedule for the removal of drivers depending on OBSOLETE_OSS_DRIVER as follows: - adjust OBSOLETE_OSS_DRIVER dependencie - from the release of 2.6.16 till the release of 2.6.17: approx. two months for users to report problems with the ALSA drivers for the same hardware - after the release of 2.6.17 (and before 2.6.18): remove the subset of drivers marked at OBSOLETE_OSS_DRIVER without known regressions in the ALSA drivers for the same hardware Additionally, correct some OBSOLETE_OSS_DRIVER dependencies. A rationale of the changes is in http://lkml.org/lkml/2006/1/28/135 Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf104e641c5a6567cc00d4ae9d8510cef9f63b18 tree 3ba25ecdd877c304a5567661d08ff12031d2d8e1 parent 962f831f67301265dcd2cd96408d07d95d556aed author Arnaud MAZIN Thu, 20 Apr 2006 02:43:20 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] sonypi: correct detection of new ICH7-based laptops Add a test to detect the ICH7 based Core Duo SONY laptops (such as the SZ1) as type3 models. Signed-off-by: Arnaud MAZIN < arnaud.mazin@gmail.com> Acked-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 962f831f67301265dcd2cd96408d07d95d556aed tree 3034e297898c922479b7ad0c4d964d9fb173a50e parent c79cfbaccac0ef81ab3e796da1582a83dcef0ff9 author Jon Masters Thu, 20 Apr 2006 02:43:20 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] sound: fix hang in mpu401_uart.c This fixes a hang in mpu401_uart.c that can occur when the mpu401 interface is non-existent or otherwise doesn't respond to commands but we issue IO anyway. snd_mpu401_uart_cmd now returns an error code that is passed up the stack so that an open() will fail immediately in such cases. Eventually discovered after wine/cxoffice would constantly cause hard lockups on my desktop immediately after loading (emulating Windows too well). Turned out that I'd recently moved my sound cards around and using /dev/sequencer now talks to a sound card with a broken MPU. This second version changes -EFAULT to -EIO and frees open resources on error too. Test booted and seems to work ok. Signed-off-by: Jon Masters Cc: Jaroslav Kysela Acked-by: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c79cfbaccac0ef81ab3e796da1582a83dcef0ff9 tree b5b5eaf90c1bc1043073fd1ba76feb99f1232131 parent 7daa0c4f51897d5d956a62a2bac438e3b58d85dc author Jean Delvare Thu, 20 Apr 2006 02:43:18 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] i2c-i801: Fix resume when PEC is used Fix for bug #6395: Fail to resume on Tecra M2 with ADM1032 and Intel 82801DBM The BIOS of the Tecra M2 doesn't like it when it has to reboot or resume after the i2c-i801 driver has left the SMBus in PEC mode. The most simple fix is to clear the PEC bit after after every transaction. That's what this driver was doing up to 2.6.15 (inclusive). Thanks to Daniele Gaffuri for the very good report. Signed-off-by: Jean Delvare Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7daa0c4f51897d5d956a62a2bac438e3b58d85dc tree e11615c35d204c48552e68c5431351277b8ee024 parent 68876baf5e713ef711b6e19a279385e14c9921e3 author Johannes Goecke Thu, 20 Apr 2006 02:43:17 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:04 -0700 [PATCH] MSI-K8T-Neo2-Fir OnboardSound and additional Soundcard On the MSI-K8T-NEO2 FIR ( Athlon-64, Socket 939 with VIA-K8T800- Chipset and onboard Sound,... ) the BIOS lets you choose "DISABLED" or "AUTO" for the On-Board Sound Device. If you add another PCI-Sound-Card the BIOS disables the on-board device. So far I have a Quirk, that does set the correspondent BIT in the PCI-registers to enable the soundcard. But how to ensure that the code is executed ONLY on excactly this kind of boards (not any other with similar Chipset)? Cc: Jaroslav Kysela Acked-by: Takashi Iwai Cc: Lee Revell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68876baf5e713ef711b6e19a279385e14c9921e3 tree 917b443aa4d144598579fadbcc4157c1fc5a0c6d parent 0324680064fd89d6ad52e89a4ccf16dec3ea3caa author Chris Zankel Thu, 20 Apr 2006 02:43:15 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] xtensa: Fix TIOCGICOUNT macro Remove the dependence on the async_icount structure in the TIOCGICOUNT macro for Xtensa. (Thanks Russell and Adrian for pointing this out) Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0324680064fd89d6ad52e89a4ccf16dec3ea3caa tree 7e487031a015ed54e3c422901b17bab671935f68 parent c16c556e0e460a4e8c3f97ea0d50a1217f7fa449 author Thayumanavar Sachithanantham Thu, 20 Apr 2006 02:43:15 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] cs5535_gpio.c: call cdev_del() during module_exit to unmap kobject references and other cleanups During module unloading, cdev_del() must be called to unmap cdev related kobject references and other cleanups(such as inode->i_cdev being set to NULL) which prevents the OOPS upon subsequent loading, usage and unloading of modules(as seen in the mail thread http://marc.theaimsgroup.com/?l=linux-kernel&m=114533640609018&w=2). Also, remove unneeded test of gpio_base. Signed-off-by: Thayumanavar Sachithanantham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c16c556e0e460a4e8c3f97ea0d50a1217f7fa449 tree c927fbce2d9dd66440ea744682ac364b6de7fd89 parent 6d472be37896b1c41b50f3da124f8b7718ba7797 author Darren Jenkins Thu, 20 Apr 2006 02:43:13 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] fix section mismatch in pm2fb.o WARNING: drivers/video/pm2fb.o - Section mismatch: reference to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd5d) WARNING: drivers/video/pm2fb.o - Section mismatch: reference to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd82) They are caused because pm2fb_set_par() uses lowhsync and lowvsync which are marked __devinitdata. Signed-off-by: Darren Jenkins Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d472be37896b1c41b50f3da124f8b7718ba7797 tree c01adec9db3c85b48e337189b4fdc1f7e6f23733 parent 4409ebe9afabe7db77eaaae9eb3eb05b8315ce4a author Christoph Lameter Thu, 20 Apr 2006 02:43:12 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] Remove cond_resched in gather_stats() gather_stats() is called with a spinlock held from check_pte_range. We cannot reschedule with a lock held. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4409ebe9afabe7db77eaaae9eb3eb05b8315ce4a tree 2e121835a2b38ed3a5fa4077dd79b3a971514db8 parent 7522a8423bed9931cbac5502b9c0657bde2700ea author Corey Minyard Thu, 20 Apr 2006 02:43:12 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] IPMI maintainer Add myself as the IPMI maintainer. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7522a8423bed9931cbac5502b9c0657bde2700ea tree 8729269696269cba4ca477d711490a6c89c20cda parent 5a7b46b369419493bab4de67b1526e9f76b22a7f author Ananth N Mavinakayanahalli Thu, 20 Apr 2006 02:43:11 -0700 committer Linus Torvalds Thu, 20 Apr 2006 07:54:03 -0700 [PATCH] kprobes: NULL out non-relevant fields in struct kretprobe In cases where a struct kretprobe's *_handler fields are non-NULL, it is possible to cause a system crash, due to the possibility of calls ending up in zombie functions. Documentation clearly states that unused *_handlers should be set to NULL, but kprobe users sometimes fail to do so. Fix it by setting the non-relevant fields of the struct kretprobe to NULL. Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Jim Keniston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f73247f0e53be1bd4aa519476e6261a8e4a64ab tree 31122fbaffb3761e1c47124de2bbb9b652562c44 parent 82aa5d6183667aa2a5f3c61e390934b0273d2ad7 author Adrian Bunk Thu, 20 Apr 2006 15:45:22 +0200 committer Jens Axboe Thu, 20 Apr 2006 15:45:22 +0200 [PATCH] block/elevator.c: remove unused exports This patch removes the following unused EXPORT_SYMBOL's: - elv_requeue_request - elv_completed_request They are only used by the block core, hence they need not be exported. Signed-off-by: Adrian Bunk Signed-off-by: Jens Axboe commit 82aa5d6183667aa2a5f3c61e390934b0273d2ad7 tree 81fa617b8a970173cc7114acf1acc0e676caa1c5 parent a0aa7f68afeeb92f6274b395177c20e617c8ed2d author Jens Axboe Thu, 20 Apr 2006 13:05:48 +0200 committer Jens Axboe Thu, 20 Apr 2006 13:05:48 +0200 [PATCH] splice: fix smaller sized splice reads Signed-off-by: Jens Axboe commit a0aa7f68afeeb92f6274b395177c20e617c8ed2d tree 6750a82e5799dd2fe9cd8eb8320a98107f0f5d05 parent 7daac4902053045450fa29db42aba19a4581f850 author Jens Axboe Thu, 20 Apr 2006 13:05:33 +0200 committer Jens Axboe Thu, 20 Apr 2006 13:05:33 +0200 [PATCH] Don't inherit ->splice_pipe across forks It's really task private, so clear that field on fork after copying task structure. Signed-off-by: Jens Axboe commit 7daac4902053045450fa29db42aba19a4581f850 tree d3e71ef1e7a399f9677da76cf24cc3b1dc232572 parent 73af994c7d58dd513922dc9d5cd76b124ec02b1b author Coywolf Qi Hunt Wed, 19 Apr 2006 10:14:49 +0200 committer Jens Axboe Thu, 20 Apr 2006 13:04:36 +0200 [patch] cleanup: use blk_queue_stopped This cleanup the source to use blk_queue_stopped. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Jens Axboe commit 73af994c7d58dd513922dc9d5cd76b124ec02b1b tree 793dfd57372a73a5c4b1e7c8b9f33a04fc08b61e parent 5a7b46b369419493bab4de67b1526e9f76b22a7f author Valdis Kletnieks Wed, 19 Apr 2006 09:23:09 +0200 committer Jens Axboe Thu, 20 Apr 2006 13:04:36 +0200 [PATCH] Document online io scheduler switching We added the ability to change a block device's IO elevator scheduler both at kernel boot and on-the-fly, but we only documented the elevator= boot parameter. Add a quick how-to on doing it on the fly. Signed-off-by: Valdis Kletnieks Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe commit 18bc89aa25fbfcf467f4ce67f76c7b9893404cac tree aa11b287484cddd932df71ca18da90d54239da93 parent dc6de33674608f978ec29f5c2f7e3af458c06f78 author Jayachandran C Thu, 20 Apr 2006 00:14:49 -0700 committer David S. Miller Thu, 20 Apr 2006 00:14:49 -0700 [EBTABLES]: Clean up vmalloc usage in net/bridge/netfilter/ebtables.c Make all the vmalloc calls in net/bridge/netfilter/ebtables.c follow the standard convention. Remove unnecessary casts, and use '*object' instead of 'type'. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit dc6de33674608f978ec29f5c2f7e3af458c06f78 tree 1b314717cdb27cf75478c13f85249f85f6997f48 parent b60b49ea6a3e1f8dcaf4148dad0daab61ab766d2 author David S. Miller Thu, 20 Apr 2006 00:10:50 -0700 committer David S. Miller Thu, 20 Apr 2006 00:10:50 -0700 [NET]: Add skb->truesize assertion checking. Add some sanity checking. truesize should be at least sizeof(struct sk_buff) plus the current packet length. If not, then truesize is seriously mangled and deserves a kernel log message. Currently we'll do the check for release of stream socket buffers. But we can add checks to more spots over time. Incorporating ideas from Herbert Xu. Signed-off-by: David S. Miller commit b60b49ea6a3e1f8dcaf4148dad0daab61ab766d2 tree 83a18b5188d632692da34f9ed8265fcecb4d9f35 parent d47f3640fe2ac4da8a8e713a549e6eaf23ac2084 author Herbert Xu Wed, 19 Apr 2006 21:35:00 -0700 committer David S. Miller Wed, 19 Apr 2006 21:35:00 -0700 [TCP]: Account skb overhead in tcp_fragment Make sure that we get the full sizeof(struct sk_buff) plus the data size accounted for in skb->truesize. This will create invariants that will allow adding assertion checks on skb->truesize. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 5a7b46b369419493bab4de67b1526e9f76b22a7f tree c6c25e52dfd063db53db93d756da77ab67550ec6 parent 52824b6b5fa0533e2b2adc9df396d0e9ff6fb02a author OGAWA Hirofumi Thu, 20 Apr 2006 06:41:39 +0900 committer Linus Torvalds Wed, 19 Apr 2006 16:27:18 -0700 [PATCH] Add more prevent_tail_call() Those also break userland regs like following. 00000000 : 0: 0f b7 44 24 0c movzwl 0xc(%esp),%eax 5: 83 ca ff or $0xffffffff,%edx 8: 0f b7 4c 24 08 movzwl 0x8(%esp),%ecx d: 66 83 f8 ff cmp $0xffffffff,%ax 11: 0f 44 c2 cmove %edx,%eax 14: 66 83 f9 ff cmp $0xffffffff,%cx 18: 0f 45 d1 cmovne %ecx,%edx 1b: 89 44 24 0c mov %eax,0xc(%esp) 1f: 89 54 24 08 mov %edx,0x8(%esp) 23: e9 fc ff ff ff jmp 24 where the tailcall at the end overwrites the incoming stack-frame. Signed-off-by: OGAWA Hirofumi [ I would _really_ like to have a way to tell gcc about calling conventions. The "prevent_tail_call()" macro is pretty ugly ] Signed-off-by: Linus Torvalds commit d47f3640fe2ac4da8a8e713a549e6eaf23ac2084 tree b51d1a6c2a000f7bb61b0d5bbe2ef8b0b3ac467e parent 5185db09f46ed64d520d09db6e93852e44106628 author Johannes Berg Wed, 19 Apr 2006 15:42:28 -0700 committer David S. Miller Wed, 19 Apr 2006 15:42:28 -0700 [SUNGEM]: Marvell PHY suspend. In a short discussion with Benjamin Herrenschmidt he mentioned that Marvell PHYs are powered down the same way as the other ones we currently handle. Thus actually do that, hopefully saving some power during suspend. Signed-off-by: Johannes Berg Acked-by: Benjamin Herrenschmidt Signed-off-by: David S. Miller commit 5185db09f46ed64d520d09db6e93852e44106628 tree 13d888ea59a80aafa593015f88feb4245288055c parent 3672558c6180ca28a7aa46765702467a37e58fc5 author David S. Miller Wed, 19 Apr 2006 15:37:13 -0700 committer David S. Miller Wed, 19 Apr 2006 15:37:13 -0700 [LLC]: Use pskb_trim_rcsum() in llc_fixup_skb(). Kernel Bugzilla #6409 If we use plain skb_trim(), that's wrong, because if the SKB is cloned, and it can be because we unshared it in the caller, we have to allow reallocation. The pskb_trim*() family of routines is therefore the most appropriate here. Signed-off-by: David S. Miller commit 3672558c6180ca28a7aa46765702467a37e58fc5 tree 1529de37f6139fff32de963423178c42ec6c1629 parent 52824b6b5fa0533e2b2adc9df396d0e9ff6fb02a author Hua Zhong Wed, 19 Apr 2006 15:25:02 -0700 committer David S. Miller Wed, 19 Apr 2006 15:25:02 -0700 [NET]: sockfd_lookup_light() returns random error for -EBADFD This applies to 2.6.17-rc2. There is a missing initialization of err in sockfd_lookup_light() that could return random error for an invalid file handle. Signed-off-by: Hua Zhong Signed-off-by: David S. Miller commit 2784f40e2774b61d68d232bcf92a9484e99f22b8 tree de58cdd0ba836356584dd15179ffc1f1bb2bc874 parent 52824b6b5fa0533e2b2adc9df396d0e9ff6fb02a author David S. Miller Wed, 19 Apr 2006 15:00:01 -0700 committer David S. Miller Wed, 19 Apr 2006 15:00:01 -0700 [SPARC]: __NR_sys_splice --> __NR_splice Signed-off-by: David S. Miller commit 848ef8555296f25d9226d3bc43ce4028835ed633 tree 3db10d298e8c4cfe005b719552ac378685ab5c1a parent a392149ee14d1631d8632060c1fc3082729f83c8 author Jean Tourrilhes Fri, 14 Apr 2006 10:47:26 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:41 -0400 [PATCH] wext: Fix RtNetlink ENCODE security permissions I've just realised that the RtNetlink code does not check the permission for SIOCGIWENCODE and SIOCGIWENCODEEXT, which means that any user can read the encryption keys. The fix is trivial and should go in 2.6.17 alonside the two other patch I sent you last week. Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit a392149ee14d1631d8632060c1fc3082729f83c8 tree 48d4e3a63e33b74f91c279d01cebaf36b7658a8c parent b35d649cb2110b4e782a8a7e9b625432c863cade author Erik Mouw Thu, 13 Apr 2006 15:02:27 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:41 -0400 [PATCH] bcm43xx: iw_priv_args names should be <16 characters The room for the names in bcm43xx_priv_wx_args[] are IFNAMSIZ long and IFNAMSIZ is defined as 16, so the names in bcm43xx_priv_wx_args should be 15 characters (16 including the trailing \0). This patch fixes that for the "set_shortpreambl", "get_shortpreambl", "set_swencryption", and "get_swencryption" private calls. Patch is against 2.6.17-rc1. Signed-off-by: Erik Mouw Signed-off-by: John W. Linville commit b35d649cb2110b4e782a8a7e9b625432c863cade tree 44a22b588be3af2182a435277cecef078bcb6210 parent 8829d55e6b4957770de3f716bafab65ca3680110 author Michael Buesch Thu, 13 Apr 2006 02:32:58 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:41 -0400 [PATCH] bcm43xx: sysfs code cleanup This cleans up the bcm43xx sysfs code and makes it compliant with the unwritten sysfs rules (at least I hope so). Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 8829d55e6b4957770de3f716bafab65ca3680110 tree 4b8609f4c3c6acef23825ee65ce01d1087171dae parent 2230daa0fd50bf82303fd8da96b088310851d803 author Michael Buesch Thu, 13 Apr 2006 02:30:26 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] bcm43xx: fix pctl slowclock limit calculation This fixes coverity bug: http://marc.theaimsgroup.com/?l=linux-netdev&m=114417628413880&w=2 Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 2230daa0fd50bf82303fd8da96b088310851d803 tree 48496c9d1316251c99c31731c5ba0e88c8fcb1ba parent 93fef7dda4002ac8b21a4a2090ca475dc40cc384 author Adrian Bunk Thu, 13 Apr 2006 02:27:49 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] bcm43xx: fix dyn tssi2dbm memleak This patch fixes a memory leak spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit 93fef7dda4002ac8b21a4a2090ca475dc40cc384 tree 69a05ef81c816d90ed20843ee7ed5850447f96c2 parent 4c6f749f74323518825476e3e5ca3b4f03c07873 author Randy Dunlap Tue, 11 Apr 2006 14:32:53 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] bcm43xx: fix config menu alignment Use "depends on" to make all bcm43xx driver options be listed at the same level. Signed-off-by: Randy Dunlap Signed-off-by: John W. Linville commit 4c6f749f74323518825476e3e5ca3b4f03c07873 tree 191700b8f37de1b7c11576abed9a6391e735a9f1 parent 6788a07f8faeb373967cd97b79fb3abec8fccb90 author Randy Dunlap Tue, 11 Apr 2006 14:31:56 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] bcm43xx wireless: fix printk format warnings Fix printk format warnings: drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:456: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘size_t’ drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:460: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘size_t’ drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:476: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘size_t’ drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c:480: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘size_t’ drivers/net/wireless/bcm43xx/bcm43xx_dma.c:200: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘dma_addr_t’ drivers/net/wireless/bcm43xx/bcm43xx_dma.c:311: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘dma_addr_t’ drivers/net/wireless/bcm43xx/bcm43xx_dma.c:733: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘dma_addr_t’ Signed-off-by: Randy Dunlap Signed-off-by: John W. Linville commit 6788a07f8faeb373967cd97b79fb3abec8fccb90 tree 9abda33b4abcaf882265deab59a1b9d73ae252f2 parent feeeaa87e8e6702f57ed3be7904ffd87cc044b82 author Johannes Berg Thu, 13 Apr 2006 11:41:28 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:40 -0400 [PATCH] softmac: report when scanning has finished Make softmac report a scan event when scanning has finished, that way userspace can wait for the event to happen instead of polling for the results. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit feeeaa87e8e6702f57ed3be7904ffd87cc044b82 tree 658f8410a8a1777aecbf3bef8e3e8f7a7f677e69 parent 68970ce6ac5ed01b1d10047fd4daba5b40786694 author Johannes Berg Thu, 13 Apr 2006 02:42:42 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] softmac: fix event sending Softmac is sending custom events to userspace already, but it should _really_ be sending the right WEXT events instead. This patch fixes that. Signed-off-by: Dan Williams Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit 68970ce6ac5ed01b1d10047fd4daba5b40786694 tree 0b84bebdf516fb696c1112ff7368fe81adee56c8 parent fc242746ea8d87b3032c7a1c9b8eb71c149488a8 author johannes@sipsolutions.net Tue, 11 Apr 2006 10:58:08 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] softmac: handle iw_mode properly Below patch allows using iw_mode auto with softmac. bcm43xx forces managed so this bug wasn't noticed earlier, but this was one of the problems why zd1211 didn't work earlier. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit fc242746ea8d87b3032c7a1c9b8eb71c149488a8 tree 1650fc1a84e3b454d1bd6cdf6ceffe17d08ea370 parent ba2f8c18756b4a99c8cd3ab6526b2ed7a8f18ead author johannes@sipsolutions.net Tue, 11 Apr 2006 10:58:07 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] softmac: dont send out packets while scanning Seems we forgot to stop the queue while scanning. Better do that so we don't transmit packets all the time during background scanning. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit ba2f8c18756b4a99c8cd3ab6526b2ed7a8f18ead tree 2ff973272099f0fed9214b9d47f968caee0015c1 parent b79367a5ea28afe2ac659593970c15c9513f1d49 author johannes@sipsolutions.net Tue, 11 Apr 2006 10:58:06 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] softmac: return -EAGAIN from getscan while scanning Below patch was developed after discussion with Daniel Drake who mentioned to me that wireless tools expect an EAGAIN return from getscan so that they can wait for the scan to finish before printing out the results. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville commit b79367a5ea28afe2ac659593970c15c9513f1d49 tree 5f145498430446ec874d8d660e119f61588ba9f3 parent a208c4e1ea7a769042be071ae30ba2ad4c844954 author Michael Buesch Mon, 10 Apr 2006 02:39:54 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:39 -0400 [PATCH] bcm43xx: set trans_start on TX to prevent bogus timeouts Signed-off-by: Michael Buesch Signed-off-by: John W. Linville commit a208c4e1ea7a769042be071ae30ba2ad4c844954 tree 976f07cb42b8a1196a5f0aea8f72b4bec1066900 parent 9b0b4d8ae82cadd059d01ab93babcaa5e2054b93 author Pavel Roskin Fri, 07 Apr 2006 04:10:26 -0400 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] orinoco: fix truncating commsquality RID with the latest Symbol firmware Symbol firmware F3.91-71 has an additional word in the commsquality RID. Extend the receiving buffer by one word to accomodate it. Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville commit 9b0b4d8ae82cadd059d01ab93babcaa5e2054b93 tree 065d53b0c271a49660e356e39c94fbda218e1149 parent c1783454a31e05b94774951b0b5d1eb9075ebfb4 author Michael Buesch Fri, 07 Apr 2006 01:42:55 +0200 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] softmac: fix spinlock recursion on reassoc This fixes a spinlock recursion on receiving a reassoc request. On reassoc, the softmac calls back into the driver. This results in a driver lock recursion. This schedules the assoc workqueue, instead of calling it directly. Probably, we should defer the _whole_ management frame processing to a tasklet or workqueue, because it does several callbacks into the driver. That is dangerous. This fix should go into linus's tree, before 2.6.17 is released, because it is remote exploitable (DoS by crash). Signed-off-by: John W. Linville commit c1783454a31e05b94774951b0b5d1eb9075ebfb4 tree 80cddabf81bae411b69f702607e416899c4f279c parent a417016d1a07e6df0621dbb2926da82642eca823 author Jean Tourrilhes Tue, 04 Apr 2006 15:59:46 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] Revert NET_RADIO Kconfig title change 2.6.17-rc1 changed the title for the entry CONFIG_NET_RADIO. I personally disagree with this change and want it reverted. Patch for 2.6.17-rc1. Rationale : WIRELESS_EXT is an invisible option. Therefore, the only way for a user to enable it is via NET_RADIO. Some users need to do that for out-of-tree drivers. Therefore it should be mentionned in the title of the option. Rationale2 : the option just below is called "Wireless Extension API over RtNetlink". Some users may confuse this option for the main "Wireless Extension" option. Therefore reverting this change help disambiguate the relation between those two options. Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit a417016d1a07e6df0621dbb2926da82642eca823 tree 96384d34c27abae25f37b5b15b03e327b4a1a796 parent 3a1af6ffe4941497071125d3a8bb3e1feee45df1 author Jean Tourrilhes Tue, 04 Apr 2006 15:53:43 -0700 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] wext: Fix IWENCODEEXT security permissions Check the permissions when user-space try to read the encryption parameters via SIOCGIWENCODEEXT. This is trivial and probably should go in 2.6.17... Bug was found by Brian Eaton , thanks ! Signed-off-by: Jean Tourrilhes Signed-off-by: John W. Linville commit 3a1af6ffe4941497071125d3a8bb3e1feee45df1 tree 7112414cf849c2fe80700ad766428369ff0cb95a parent 6fcdf565ffb8c661749372115d28efdbe525aeba author Dan Williams Fri, 31 Mar 2006 15:13:31 -0500 committer John W. Linville Wed, 19 Apr 2006 17:25:38 -0400 [PATCH] wireless/atmel: send WEXT scan completion events Send scan completion events to user space when a scan completes. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit 6fcdf565ffb8c661749372115d28efdbe525aeba tree 2fa6f7e10717dd4dd3b4a65e08599455bf9857dc parent e4b5fae8b3fb4134deaa6f66c60255c831e2d7e8 author Dan Williams Fri, 31 Mar 2006 15:08:46 -0500 committer John W. Linville Wed, 19 Apr 2006 17:25:37 -0400 [PATCH] wireless/airo: clean up WEXT association and scan events Airo firmware versions >= 5.30.17 send re-association events to the driver that are currently unrecognized, causing spurious disassociation events to be sent to user space. Loss of sync due to scan requests also results in disassociation events sent to user space. This patch traps those two events; suppressing sync-loss on scan, and sending the correct association event on re-association notifications. Signed-off-by: Dan Williams Signed-off-by: John W. Linville commit e4b5fae8b3fb4134deaa6f66c60255c831e2d7e8 tree b994c6a9942ecde440256e116eb2a7da07c052f5 parent 0efd9323f32c137b5cf48bc6582cd08556e7cdfc author Randy Dunlap Mon, 27 Mar 2006 14:53:41 -0800 committer John W. Linville Wed, 19 Apr 2006 17:25:37 -0400 [PATCH] softmac uses Wiress Ext. softmac uses wireless extensions, so let it SELECT that config option; WARNING: "wireless_send_event" [net/ieee80211/softmac/ieee80211softmac.ko] undefined! Signed-off-by: Randy Dunlap Signed-off-by: John W. Linville commit 52824b6b5fa0533e2b2adc9df396d0e9ff6fb02a tree 86b588fcd75715ed578f92c0abb3149d6cf617b5 parent 949b211235cf301790ef4fb903af65d71be29b2a parent 415dcd95b25b59631656f559570d1a973bf691a9 author Linus Torvalds Wed, 19 Apr 2006 11:52:30 -0700 committer Linus Torvalds Wed, 19 Apr 2006 11:52:30 -0700 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: IB/mthca: make a function static IB/ipath: Fix whitespace IB/ipath: Make more names static IB/mad: Fix RMPP version check during agent registration IB/srp: Remove request from list when SCSI abort succeeds commit 415dcd95b25b59631656f559570d1a973bf691a9 tree 1019e737207ecf1bd69dbcbef1e6e655dda83d2d parent 5494c22ba293a37534591d793f73e445a66196b5 author Adrian Bunk Wed, 19 Apr 2006 00:15:35 +0200 committer Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 IB/mthca: make a function static This patch makes the needlessly global mthca_update_rate() static. Signed-off-by: Adrian Bunk Signed-off-by: Roland Dreier commit 5494c22ba293a37534591d793f73e445a66196b5 tree 6e3d5d25eed0ac80a32e85a834012ea6dde6d3d3 parent ac2ae4c9770de9450a8e881082a54bbb6f09534e author Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 committer Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 IB/ipath: Fix whitespace Signed-off-by: Roland Dreier commit ac2ae4c9770de9450a8e881082a54bbb6f09534e tree af8c250aa16dd78b1dc6accf29dbc4fdf2af0900 parent 64cb9c6aff273b1cd449e773c937378d68233f8b author Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 committer Roland Dreier Wed, 19 Apr 2006 11:40:12 -0700 IB/ipath: Make more names static Make symbols that are only used in a single source file static. Signed-off-by: Roland Dreier commit 64cb9c6aff273b1cd449e773c937378d68233f8b tree a39978e7cbc58de3edda228c95ca328ced510435 parent f80887d0b9e1af481dc4a30fc145dfed24ddfd59 author Hal Rosenstock Wed, 12 Apr 2006 21:29:10 -0400 committer Roland Dreier Wed, 19 Apr 2006 11:40:11 -0700 IB/mad: Fix RMPP version check during agent registration Only check that RMPP version is not specified when MAD class does not support RMPP. Just because a class is allowed to use RMPP doesn't mean that rmpp_version needs to be set for the MAD agent to register. Checking this was a recent change which was too pedantic. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit f80887d0b9e1af481dc4a30fc145dfed24ddfd59 tree a928a8469193981b7df4df4db8c16baa44da4fd8 parent 0efd9323f32c137b5cf48bc6582cd08556e7cdfc author Roland Dreier Wed, 19 Apr 2006 11:40:10 -0700 committer Roland Dreier Wed, 19 Apr 2006 11:40:10 -0700 IB/srp: Remove request from list when SCSI abort succeeds If a SCSI abort succeeds, then the aborted request should to be removed from the list of pending requests. This fixes list corruption after an abort occurs. Signed-off-by: Roland Dreier commit 949b211235cf301790ef4fb903af65d71be29b2a tree 083f7e30e4d48d3c812cef1c8b585522df086c3c parent 0efd9323f32c137b5cf48bc6582cd08556e7cdfc parent a5f9145bc9c340bda743ad51e09bdea60fa3ddfa author Linus Torvalds Wed, 19 Apr 2006 10:46:59 -0700 committer Linus Torvalds Wed, 19 Apr 2006 10:46:59 -0700 Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 * git://git.linux-nfs.org/pub/linux/nfs-2.6: SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c NFS: remove needless check in nfs_opendir() NFS: nfs_show_stats; for_each_possible_cpu(), not NR_CPUS NFS: make 2 functions static NFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unset NFS: fix PROC_FS=n compile error VFS: Fix another open intent Oops RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc commit a5f9145bc9c340bda743ad51e09bdea60fa3ddfa tree 615c72a264de7a25ac51ce0cbd4d7b4c24c9a90b parent 7451c4f0ee53e36fd74168af8df75b28fd04a2aa author Eric Sesterhenn Wed, 19 Apr 2006 13:06:49 -0400 committer Trond Myklebust Wed, 19 Apr 2006 13:06:49 -0400 SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c Hi, the coverity checker spotted that cred is always NULL when we jump to out_err ( there is just one case, when we fail to allocate the memory for cred ) This is Coverity ID #79 Signed-off-by: Eric Sesterhenn Signed-off-by: Trond Myklebust commit 7451c4f0ee53e36fd74168af8df75b28fd04a2aa tree d981de4189c559d8e0a9f291c9919dde396c9a04 parent b9d9506d944865876e67281a4e4269d823ce5381 author Carsten Otte Wed, 19 Apr 2006 13:06:37 -0400 committer Trond Myklebust Wed, 19 Apr 2006 13:06:37 -0400 NFS: remove needless check in nfs_opendir() Local variable res was initialized to 0 - no check needed here. Signed-off-by: Carsten Otte Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit b9d9506d944865876e67281a4e4269d823ce5381 tree 344e12dab9854855fad1388e2aaecbf33eb566c1 parent ec535ce154f2eaad3d97f2f20a76a6d8bdac33e5 author John Hawkes Wed, 19 Apr 2006 13:06:20 -0400 committer Trond Myklebust Wed, 19 Apr 2006 13:06:20 -0400 NFS: nfs_show_stats; for_each_possible_cpu(), not NR_CPUS Convert a for-loop that explicitly references "NR_CPUS" into the potentially more efficient for_each_possible_cpu() construct. Signed-off-by: John Hawkes Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit ec535ce154f2eaad3d97f2f20a76a6d8bdac33e5 tree e7a6b3c77051057e963c276b4f9f66d8a0d2c51a parent e99170ff3b799a9fd43d538932a9231fac1de9d4 author Adrian Bunk Tue, 18 Apr 2006 13:21:50 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:47 -0400 NFS: make 2 functions static Signed-off-by: Adrian Bunk Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit e99170ff3b799a9fd43d538932a9231fac1de9d4 tree b5926023a010c4f8b3993ff6d06cfd51a9462613 parent 7866babad542bb5e1dc95deb5800b577abef58dd author Trond Myklebust Tue, 18 Apr 2006 13:21:42 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:47 -0400 NFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unset Signed-off-by: Trond Myklebust commit 7866babad542bb5e1dc95deb5800b577abef58dd tree 01d8cca76bfcc7b60262adbbbe871b16c32064d5 parent 95cf959b245832ad49bb333bf88f9805244b225d author Adrian Bunk Tue, 18 Apr 2006 13:14:13 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:46 -0400 NFS: fix PROC_FS=n compile error fs/built-in.o: In function `nfs_show_stats':inode.c:(.text+0x15481a): undefined reference to `rpc_print_iostats' net/built-in.o: In function `rpc_destroy_client': undefined reference to `rpc_free_iostats' net/built-in.o: In function `rpc_clone_client': undefined reference to `rpc_alloc_iostats' net/built-in.o: In function `rpc_new_client': undefined reference to `rpc_alloc_iostats' net/built-in.o: In function `xprt_release': undefined reference to `rpc_count_iostats' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Adrian Bunk Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit 95cf959b245832ad49bb333bf88f9805244b225d tree 956205e6be9f70d39124faa464111c2a821f75e4 parent d4a30e7e66c004da26dfe5229af7c10fe9853a7a author Trond Myklebust Tue, 18 Apr 2006 13:14:06 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:46 -0400 VFS: Fix another open intent Oops If the call to nfs_intent_set_file() fails to open a file in nfs4_proc_create(), we should return an error. Signed-off-by: Trond Myklebust commit d4a30e7e66c004da26dfe5229af7c10fe9853a7a tree 87f23ec83c3069a5562e73f883d1367d2f37ba51 parent 8bbde0e6d52265158ee9625f383500c1a7d09ba9 author J. Bruce Fields Tue, 18 Apr 2006 13:14:02 -0400 committer Trond Myklebust Wed, 19 Apr 2006 12:43:46 -0400 RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc I was sloppy when generating a previous patch; I modified the callers of krb5_make_checksum() to allocate memory for the buffer where the result is returned, then forgot to modify krb5_make_checksum to stop allocating that memory itself. The result is a per-packet memory leak. This fixes the problem by removing the now-superfluous kmalloc(). Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 0efd9323f32c137b5cf48bc6582cd08556e7cdfc tree 4e0fe5e78677c2ae56f6bd084b327e707b07c58b parent 6a2a88668e90cd2459d0493e3e3ff17c3557febc parent 9e0267c26e237f84f608a68e579bf4eb89dad819 author Linus Torvalds Wed, 19 Apr 2006 09:25:52 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:25:52 -0700 Merge branch 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block * 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block: [PATCH] splice: fixup writeout path after ->map changes [PATCH] splice: offset fixes [PATCH] tee: link_pipe() must be careful when dropping one of the pipe locks [PATCH] splice: cleanup the SPLICE_F_NONBLOCK handling [PATCH] splice: close i_size truncate races on read commit 6a2a88668e90cd2459d0493e3e3ff17c3557febc tree f2a2b2426312541731082b8c6915e80727337a27 parent a61bdaad6c696e850d8fa412f1f201cbca51ad30 author Antonino A. Daplas Tue, 18 Apr 2006 22:22:12 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:54 -0700 [PATCH] fbdev: Fix return error of fb_write Fix return code of fb_write(): If at least 1 byte was transferred to the device, return number of bytes, otherwise: - return -EFBIG - if file offset is past the maximum allowable offset or size is greater than framebuffer length - return -ENOSPC - if size is greater than framebuffer length - offset Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a61bdaad6c696e850d8fa412f1f201cbca51ad30 tree 724ff12471d4aa912a1164525a1631e3401c2038 parent 246846fc18ba43c4f31d6e5b208fe6b045d9f7b1 author Randy Dunlap Tue, 18 Apr 2006 22:22:11 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:54 -0700 [PATCH] savagefb: fix section mismatch warnings Fix modpost section mismatch warnings in savagefb driver: WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .exit.text after 'savagefb_remove' (at offset 0x66) WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .exit.text after 'savagefb_remove' (at offset 0x6e) WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.text: from .text.savagefb_resume after 'savagefb_resume' (at offset 0x70) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 246846fc18ba43c4f31d6e5b208fe6b045d9f7b1 tree 295831723ccfc6854659051d24b6c9fb17f96ee3 parent 3e42f0b19e94b3e84043088b5367dd0f3c487921 author Randy Dunlap Tue, 18 Apr 2006 22:22:10 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:54 -0700 [PATCH] radeonfb section mismatches Marking radeon_pci_register() as __devinit clears up all section mismatch warnings that are caused by radeon_pci_register() calling various __devinit function. Is there some reason not to do this? WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text: from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x628) WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text: from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x6b5) WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text: from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x6bd) WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text:radeon_probe_screens from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x7d6) WARNING: drivers/video/aty/radeonfb.o - Section mismatch: reference to .init.text:radeon_check_modes from .text.radeonfb_pci_register after 'radeonfb_pci_register' (at offset 0x7e5) Signed-off-by: Randy Dunlap Cc: "Antonino A. Daplas" Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e42f0b19e94b3e84043088b5367dd0f3c487921 tree 8aabc1742faf129df17fb7e84e6abc998733884b parent 0d8a95efd878920e7f791d5bcfb9b70f107aadda author Jean Delvare Tue, 18 Apr 2006 22:22:09 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:54 -0700 [PATCH] fb: Fix section mismatch in savagefb Fix the following section mismatch: WARNING: drivers/video/savage/savagefb.o - Section mismatch: reference to .init.data: from .text.savagefb_probe after 'savagefb_probe' (at offset 0x5e2) Signed-off-by: Jean Delvare Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d8a95efd878920e7f791d5bcfb9b70f107aadda tree d5980df26e0892c5bbe9398ab388863086748793 parent d3a7b202995421631f486313aacf9ab2ad48b2c8 author KAI.HSU Tue, 18 Apr 2006 22:22:08 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] alim15x3: ULI M-1573 south Bridge support From http://bugzilla.kernel.org/show_bug.cgi?id=6358 The alim15x3.c havn't been update for 3 years. Recently when we use this "ULI M1573" south bridge chip found that can't mount CDROM(VCD) smoothly, must waiting for a long time. After I check the "ULI M1573" south bridge datasheet, I found the reason. The reason is the "ULI M1573" version in the Linux is "0xC7" not "0xC4" anymore So I was modified the source than it was successed. Cc: Bartlomiej Zolnierkiewicz Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3a7b202995421631f486313aacf9ab2ad48b2c8 tree 859f68dcc71d986ba2a9c92dacafab9eed9fae58 parent 6e89280184e4990f5ea80d2504af89b6099523c4 author Adrian Bunk Tue, 18 Apr 2006 22:22:07 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] remove the obsolete IDEPCI_FLAG_FORCE_PDC Noted by Sergei Shtylylov Signed-off-by: Adrian Bunk Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e89280184e4990f5ea80d2504af89b6099523c4 tree 4424622d6a4d8de1ff6492ee23f03cf42d685098 parent 07fab8da808d0702778da50e5b435e6ba471c903 author Anatoli Antonovitch Tue, 18 Apr 2006 22:22:05 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] ide: ATI SB600 IDE support Add support for the IDE device on ATI SB600 Signed-off-by: Felix Kuehling Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07fab8da808d0702778da50e5b435e6ba471c903 tree 59ee487f2bb46e7200ec0888baae34a611530497 parent 3ca269d8b4d020af018e9e7e82b22f965a0e1bd9 author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:22:03 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for sparc64 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Acked-by: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ca269d8b4d020af018e9e7e82b22f965a0e1bd9 tree 8de614ac12a4ec0c2fb6c9392d8efaff6e2d73c9 parent 46dbe2f4ef9954e3ed2155995b76e32f31fef6bb author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:22:02 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for ia64 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46dbe2f4ef9954e3ed2155995b76e32f31fef6bb tree 2d2addfaeda42fe7ef54cf5be5230b7237b74d8b parent 3b60211c1618063cb296439ebaef2041a725ba20 author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:22:01 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for ppc64 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b60211c1618063cb296439ebaef2041a725ba20 tree 5de7fd33aeac8397df4e28aea50eb2bb34829de9 parent 34c37e18696ff6a773f0403348342a9fe49df4af author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:22:00 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:53 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for x86_64 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34c37e18696ff6a773f0403348342a9fe49df4af tree e9acba5ee08e10085f39d161de4ca5b171bcbf59 parent c640be26f7f8b7a826529baa72fad76bd4f6f5a2 author Prasanna S Panchamukhi Tue, 18 Apr 2006 22:21:59 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] Switch Kprobes inline functions to __kprobes for i386 Andrew Morton pointed out that compiler might not inline the functions marked for inline in kprobes. There-by allowing the insertion of probes on these kprobes routines, which might cause recursion. This patch removes all such inline and adds them to kprobes section there by disallowing probes on all such routines. Some of the routines can even still be inlined, since these routines gets executed after the kprobes had done necessay setup for reentrancy. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c640be26f7f8b7a826529baa72fad76bd4f6f5a2 tree 69b071712c67da99d1bb3c54c29d4ba175191245 parent 96766a3caae789cdfd7fc6a50bad4e0759d869b0 author Jan Engelhardt Tue, 18 Apr 2006 22:21:58 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] pnp: fix two messages in manager.c The wording of two messages in drivers/pnp/manager.c is incorrect. Fix that. Signed-off-by: Jan Engelhardt Acked-by: Pavel Machek Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96766a3caae789cdfd7fc6a50bad4e0759d869b0 tree d9543e13e8e4a15dba4ad874534cac2b20b7d98c parent 3fb0cb5d0f8b915a75677e8e8e4a4a4e481f03f7 author Randy.Dunlap Tue, 18 Apr 2006 22:21:57 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] parport_pc: fix section mismatch warnings (v2) From: Randy Dunlap Fix all modpost section mismatch warnings in parport_pc: WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x230) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x283) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x3e6) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x400) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x463) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x488) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data:superios from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x54c) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_probe_port after 'parport_pc_probe_port' (at offset 0x56a) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0x67) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0x9f) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0xa7) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data:cards from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0x132) WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.data: from .text.parport_pc_pci_probe after 'parport_pc_pci_probe' (at offset 0x142) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fb0cb5d0f8b915a75677e8e8e4a4a4e481f03f7 tree 8b1306cc288c0d700ff23a88b26c8d7656fc8d6c parent aa1e816fc92215f94bdfd90107baae8fdc2440d1 author Heikki Orsila Tue, 18 Apr 2006 22:21:55 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] Open IPMI BT overflow I was looking into random driver code and found a suspicious looking memcpy() in drivers/char/ipmi/ipmi_bt_sm.c on 2.6.17-rc1: if ((size < 2) || (size > IPMI_MAX_MSG_LENGTH)) return -1; ... memcpy(bt->write_data + 3, data + 1, size - 1); where sizeof bt->write_data is IPMI_MAX_MSG_LENGTH. It looks like the memcpy would overflow by 2 bytes if size == IPMI_MAX_MSG_LENGTH. A patch attached to limit size to (IPMI_MAX_LENGTH - 2). Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa1e816fc92215f94bdfd90107baae8fdc2440d1 tree 1d520ff39b65a7d3a5f68008eb44ea15c63e0d96 parent 9dfb563b07b1aafcd7d40528ebfa7f9ce28f0556 author Jesper Juhl Tue, 18 Apr 2006 22:21:54 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] Fix potential NULL pointer deref in gen_init_cpio Fix potential NULL pointer deref in gen_init_cpio.c spotted by coverity checker. This fixes coverity bug #86 Without this patch we risk dereferencing a NULL `type' in the "if ('\n' == *type) {" line. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9dfb563b07b1aafcd7d40528ebfa7f9ce28f0556 tree 1eebd3f2a8be3a9d42ffed3d976fee254a349b23 parent 7420884c038f326bdac3a8ded856033523e7684e author Randy Dunlap Tue, 18 Apr 2006 22:21:53 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] config: update usage/help info Replace outdated help message with a reference to README. Update README for make *config variants and environment variable info. Signed-off-by: Randy Dunlap Acked-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7420884c038f326bdac3a8ded856033523e7684e tree 32d17098216a91191482942d0d5ac279bb55163e parent 5e1222717932ff7d447af6da03c10a81fb60af7d author Randy Dunlap Tue, 18 Apr 2006 22:21:52 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] IPMI: fix devinit placement gcc complains about __devinit in the wrong location: drivers/char/ipmi/ipmi_si_intf.c:2205: warning: '__section__' attribute does not apply to types Signed-off-by: Randy Dunlap Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e1222717932ff7d447af6da03c10a81fb60af7d tree b4b3488b24b668be2ecb9d1eb15383e58493ab31 parent 73374454558b9caea46a5521fdae312d3d0ed3e1 author Randy Dunlap Tue, 18 Apr 2006 22:21:51 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] Doc: vm/hugetlbpage update-2 Add new line of /proc/meminfo output. Explain the HugePage_ lines in /proc/meminfo (from Bill Irwin). Change KB to kB since the latter is what is used in the kernel. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73374454558b9caea46a5521fdae312d3d0ed3e1 tree 67c9aa700fe8bada378e28d136452a898f3082a5 parent b514d8c77a6ad9c665c74e6ea7827e5c341095db author Samuel Thibault Tue, 18 Apr 2006 22:21:50 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:52 -0700 [PATCH] apm: fix Armada laptops again Fix the "apm: set display: Interface not engaged" error on Armada laptops again. Jordan said: I think this is fine. It seems to me that this may be the fault of one or both of the APM solutions handling this situation in a non-standard way, but since APM is used very little on the Geode, and I have direct access to our BIOS folks, if this problem comes up with a customer again, we'll solve it from the firmware. Signed-off-by: Samuel Thibault Cc: "Jordan Crouse" Cc: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b514d8c77a6ad9c665c74e6ea7827e5c341095db tree 5550fde8877f87d605e3abaabdb706dcddb274d2 parent cca57c5b5ab164e3c96576fc7739c0a30c2eab72 author Jesper Juhl Tue, 18 Apr 2006 22:21:49 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h Signed-off-by: Jesper Juhl Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cca57c5b5ab164e3c96576fc7739c0a30c2eab72 tree 24a41ba1348d12f25c9e0da3b9b7cbaf4f1ce891 parent ca99c1da080345e227cfb083c330a184d42e27f3 author Tim Chen Tue, 18 Apr 2006 22:21:47 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] Kconfig.debug: Set DEBUG_MUTEX to off by default DEBUG_MUTEX flag is on by default in current kernel configuration. During performance testing, we saw mutex debug functions like mutex_debug_check_no_locks_freed (called by kfree()) is expensive as it goes through a global list of memory areas with mutex lock and do the checking. For benchmarks such as Volanomark and Hackbench, we have seen more than 40% drop in performance on some platforms. We suggest to set DEBUG_MUTEX off by default. Or at least do that later when we feel that the mutex changes in the current code have stabilized. Signed-off-by: Tim Chen Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca99c1da080345e227cfb083c330a184d42e27f3 tree e417b4c456ae31dc1dde8027b6be44a1a9f19395 parent fb30d64568fd8f6a21afef987f11852a109723da author Dipankar Sarma Tue, 18 Apr 2006 22:21:46 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] Fix file lookup without ref There are places in the kernel where we look up files in fd tables and access the file structure without holding refereces to the file. So, we need special care to avoid the race between looking up files in the fd table and tearing down of the file in another CPU. Otherwise, one might see a NULL f_dentry or such torn down version of the file. This patch fixes those special places where such a race may happen. Signed-off-by: Dipankar Sarma Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb30d64568fd8f6a21afef987f11852a109723da tree f5cb57a46f237bb3500743d3421d2ec95849e38a parent 966a082f80a073af1564c5ed6313ef2f0587dde3 author Jeff Dike Tue, 18 Apr 2006 22:21:44 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] uml: add missing __volatile__ We were missing __volatile__ on some bits of asm in the segfault handlers. On x86_64, this was messing up the move from %rdx to uc because that was moved to after the GET_FAULTINFO_FROM_SC, which changed %rdx. Also changed the other bit of asm and the one in the i386 handler to prevent any similar occurrences. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 966a082f80a073af1564c5ed6313ef2f0587dde3 tree da199abad4c035c60f04100b2759815655f46f31 parent f983c45ebedcaf686223afaecd8e681e8dcd15a9 author Rob Landley Tue, 18 Apr 2006 22:21:43 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] uml: physical memory map file fixes UML really wants shared memory semantics form its physical memory map file, and the place for that is /dev/shm. So move the default, and fix the error messages to recognize that this value can be overridden. Signed-off-by: Rob Landley Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f983c45ebedcaf686223afaecd8e681e8dcd15a9 tree 869a042935419734c18c98c4cb4f19bc7af45850 parent ad28e029789ef46aebdfb9ece01d431ce1c637c8 author Al Viro Tue, 18 Apr 2006 22:21:42 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] uml: __user annotations bits of uml __user annotations lost in merge Signed-off-by: Al Viro Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad28e029789ef46aebdfb9ece01d431ce1c637c8 tree e2e5dffefbb2484324ac4d0e74b77d312058b4a5 parent 4127272c38619c56f0c1aa01d01c7bd757db70a1 author Jeff Dike Tue, 18 Apr 2006 22:21:41 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] uml: change sigjmp_buf to jmp_buf Clean up the jmpbuf code. Since softints, we no longer use sig_setjmp, so the UML_SIGSETJMP wrapper now has a misleading name. Also, I forgot to change the buffers from sigjmp_buf to jmp_buf. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4127272c38619c56f0c1aa01d01c7bd757db70a1 tree d12ca9b4ba542a93957dc50c009928299ea66991 parent dd1c1e3e9ed04d33a698925238e527b7051f64b9 author Hirokazu Takata Tue, 18 Apr 2006 22:21:38 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] m32r: update switch_to macro for tuning - Remove unnecessary push/pop's of the switch_to() macro for performance tuning. - Cosmetic updates: change __inline__ to inline, etc. Signed-off-by: Hirokazu Takata Cc: NIIBE Yutaka Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd1c1e3e9ed04d33a698925238e527b7051f64b9 tree df4a6c602f7df37a2b6308be95ffb9e98f3dc7f4 parent 0d34c86c3b75e5fd7cde15c965349b0104e06e53 author Hirokazu Takata Tue, 18 Apr 2006 22:21:34 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:51 -0700 [PATCH] m32r: Remove a warning in m32r_sio.c /project/m32r-linux/kernel/linux-2.6.17-rc1-mm2/linux-2.6.17-rc1-mm2/drivers/serial/m32r_sio.c: In function 'm32r_sio_console_write': /project/m32r-linux/kernel/linux-2.6.17-rc1-mm2/linux-2.6.17-rc1-mm2/drivers/serial/m32r_sio.c:1060: warning: unused variable 'i' Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d34c86c3b75e5fd7cde15c965349b0104e06e53 tree 13092afb5f94f45429ff04c24ce390ddf7f6a7b4 parent fa372810e51979c5044e036a34015845e9c6aedd author Hirokazu Takata Tue, 18 Apr 2006 22:21:30 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] m32r: mappi3 reboot support Here is a patch to support a reboot function for M3A-2170(Mappi-III) evaluation board. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa372810e51979c5044e036a34015845e9c6aedd tree 788adb758256488a7760c02384ad387071cf2d50 parent 8e8ff02c0b61d9b7c15c7996a2eddbedf51a105b author Hirokazu Takata Tue, 18 Apr 2006 22:21:25 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] m32r: update include/asm-m32r/semaphore.h This patch updates include/asm-m32r/semaphore.h for good readability and maintainability. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e8ff02c0b61d9b7c15c7996a2eddbedf51a105b tree dde7fcedee5d8720f5cc95da5ed4629fd3369bc8 parent efe87d2b822e42975b4da958c9d321cf89bfeb5a author Hirokazu Takata Tue, 18 Apr 2006 22:21:20 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] m32r: Fix pt_regs for !COFNIG_ISA_DSP_LEVEL2 target This modification is required to fix debugging function for m32r targets with !CONFIG_ISA_DSP_LEVEL2, by unifying 'struct pt_regs' and 'struct sigcontext' size for all M32R ISA. Some m32r processor core with !CONFIG_ISA_DSP_LEVEL2 configuration has only single accumulator a0 (ex. VDEC2 core, M32102 core, etc.), the others with CONFIG_ISA_DSP_LEVEL2 has two accumulators, a0 and a1. This means there are two variations of thread context. So far, we reduced and changed stackframe size at a syscall for their context size. However, this causes a problem that a GDB for processors with CONFIG_ISA_DSP_LEVEL2 cannot be used for processors with !CONFIG_ISA_DSP_LEVEL2. From the viewpoint of GDB support, we should reduce such variation of stackframe size for simplicity. In this patch, dummy members are added to 'struct pt_regs' and 'struct sigcontext' to adjust their size for !CONFIG_ISA_DSP_LEVEL2. This modification is also a one step for a GDB update in future. Currently, on the m32r, GDB can access process's context by using ptrace functions in a simple way of register by register access. By unifying stackframe size, we have a possibility to make use of ptrace functions of not only a single register access but also block register access, PTRACE_{GETREGS,PUTREGS}. However, for this purpose, we might have to modify stackframe structure some more; for example, PSW (processor status word) register should be pre-processed before pushing to stack at a syscall, and so on. In this case, we must update carefully both kernel and GDB at a time... Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Cc: Kei Sakamoto Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit efe87d2b822e42975b4da958c9d321cf89bfeb5a tree 1bdabc6a189d4f2cd97dc98983e3b87a5aa58cfe parent 1bb858f27eadc54e24dfa351fcae724cff426de2 author Randy Dunlap Tue, 18 Apr 2006 22:21:14 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] x86 cpuid and msr notifier callback section mismatches Fix section mismatch warnings in x86 cpuid and msr notifier callback functions. We can't have these as init (discarded) code. WARNING: arch/x86_64/kernel/cpuid.o - Section mismatch: reference to .init.text: from .data between 'cpuid_class_cpu_notifier' (at offset 0x0) and 'cpuid_fops' WARNING: arch/x86_64/kernel/msr.o - Section mismatch: reference to .init.text: from .data between 'msr_class_cpu_notifier' (at offset 0x0) and 'msr_fops' Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bb858f27eadc54e24dfa351fcae724cff426de2 tree 2c0812570c3a063cf1a0d6f334218e3dc1cce115 parent ab5703b34237da7034800ec2466ceebf88a7e685 author lepton Tue, 18 Apr 2006 22:21:10 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] asm-i386/atomic.h: local_irq_save should be used instead of local_irq_disable atomic_add_return() if CONFIG_M386 can accidentally enable local interrupts. Signed-off-by: Lepton Wu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab5703b34237da7034800ec2466ceebf88a7e685 tree 1c319edf228bb9467a0b8b2bc2a069d0545f5c52 parent dda27d1a55e185b0c5fd184b86ac26c66846f095 author Ron Yorston Tue, 18 Apr 2006 22:21:04 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] selinux: Fix MLS compatibility off-by-one bug Fix an off-by-one error in the MLS compatibility code that was causing contexts with a MLS suffix to be rejected, preventing sharing partitions between FC4 and FC5. Bug reported in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188068 Signed-off-by: Stephen Smalley Acked-by: James Morris Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dda27d1a55e185b0c5fd184b86ac26c66846f095 tree 112f9dea961915c32284a30edb28f2958afff1c6 parent 6aa3001b239b387d98a7f945e4a51edeb59e4f2d author Arthur Othieno Tue, 18 Apr 2006 22:20:57 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] hugetlbfs: add Kconfig help text In kernel bugzilla #6248 (http://bugzilla.kernel.org/show_bug.cgi?id=6248), Adrian Bunk notes that CONFIG_HUGETLBFS is missing Kconfig help text. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6aa3001b239b387d98a7f945e4a51edeb59e4f2d tree df3901329baddd8c37a661ad595fa52821dee8ef parent 013159227b840dfd441bd2e4c8b4d77ffb3cc42e author Andrew Morton Tue, 18 Apr 2006 22:20:52 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] page_alloc.c: buddy handling cleanup Fix up some whitespace damage. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 013159227b840dfd441bd2e4c8b4d77ffb3cc42e tree 15bd8349b4a105efc75c77dcd0c1a579ecd87ab4 parent 97c2c9b84d0c1edf4926b13661d5af3f0edccbce author Dave Peterson Tue, 18 Apr 2006 22:20:44 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:50 -0700 [PATCH] mm: fix mm_struct reference counting bugs in mm/oom_kill.c Fix oom_kill_task() so it doesn't call mmput() (which may sleep) while holding tasklist_lock. Signed-off-by: David S. Peterson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97c2c9b84d0c1edf4926b13661d5af3f0edccbce tree bc986808cd7b5a8219a0c40ca9fdfc40524883e4 parent 75129e297e861e6c61038aa4cdbf604b022de4ff author Andrew Morton Tue, 18 Apr 2006 22:20:38 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] oom-kill: mm locking fix Dave Peterson points out that badness() is playing with mm_structs without taking a reference on them. mmput() can sleep, so taking a reference here (inside tasklist_lock) is hard. Fix it up via task_lock() instead. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75129e297e861e6c61038aa4cdbf604b022de4ff tree 48392ab6ae43547ae2d81a312eb22708af0dc515 parent 4a3b98a422a20dedf3a2a40c44892d6e7e665157 author John Hawkes Tue, 18 Apr 2006 22:20:33 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] mm/slob.c: for_each_possible_cpu(), not NR_CPUS Convert for-loops that explicitly reference "NR_CPUS" into the potentially more efficient for_each_possible_cpu() construct. Signed-off-by: John Hawkes Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a3b98a422a20dedf3a2a40c44892d6e7e665157 tree 24387ffda32d2d7a8582116cd39654bf1fac19fe parent 8db08de4f6ae24e90aedf5125b5ddd52ffff15f4 author Rafael J. Wysocki Tue, 18 Apr 2006 22:20:29 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] swsusp: prevent possible image corruption on resume The function free_pagedir() used by swsusp for freeing its internal data structures clears the PG_nosave and PG_nosave_free flags for each page being freed. However, during resume PG_nosave_free set means that the page in question is "unsafe" (ie. it will be overwritten in the process of restoring the saved system state from the image), so it should not be used for the image data. Therefore free_pagedir() should not clear PG_nosave_free if it's called during resume (otherwise "unsafe" pages freed by it may be used for storing the image data and the data may get corrupted later on). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8db08de4f6ae24e90aedf5125b5ddd52ffff15f4 tree a35f45d38b25f1ad9ddbc006712488d26ecaf987 parent b73781c866f671ff5a84d7c840510b43e8731d13 author David Barksdale Tue, 18 Apr 2006 22:20:27 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] m41t00: fix bitmasks when writing to chip Fix the bitmasks used when writing to the M41T00 registers. The original code used a mask of 0x7f when writing to each register, this is incorrect and probably the result of a copy-paste error. As a result years from 1980 to 1999 will be read back as 2000 to 2019. Signed-off-by: David Barksdale Acked-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b73781c866f671ff5a84d7c840510b43e8731d13 tree b8e5d32802fd048e5229615576dc4fda82c722d4 parent 676ff453e58c5ff7ddbfebf5a11142e3e4add161 author Jeff Dike Tue, 18 Apr 2006 22:20:24 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] uml: MADV_REMOVE fixes MADV_REMOVE fixes - change the test mapping to be MAP_SHARED instead of MAP_PRIVATE, as MADV_REMOVE on MAP_PRIVATE maps won't work. Also, use the kernel's definition of MADV_REMOVE instead of hardcoding it if there isn't a libc definition. Signed-off-by: Jeff Dike Cc: Hugh Dickins Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 676ff453e58c5ff7ddbfebf5a11142e3e4add161 tree 73dd2d5fa0baa38be1357947b0a90b013b14115f parent 5e85d4abe3f43bb5362f384bab0e20ef082ce0b5 author KAMEZAWA Hiroyuki Tue, 18 Apr 2006 22:20:21 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] for_each_possible_cpu: x86_64 for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e85d4abe3f43bb5362f384bab0e20ef082ce0b5 tree cd3a29086e5274fd08bc8d22d15568deab144755 parent 181ae4005d0a4010802be534d929b38c42b9ac06 author Eric W. Biederman Tue, 18 Apr 2006 22:20:16 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] task: Make task list manipulations RCU safe While we can currently walk through thread groups, process groups, and sessions with just the rcu_read_lock, this opens the door to walking the entire task list. We already have all of the other RCU guarantees so there is no cost in doing this, this should be enough so that proc can stop taking the tasklist lock during readdir. prev_task was killed because it has no users, and using it will miss new tasks when doing an rcu traversal. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 181ae4005d0a4010802be534d929b38c42b9ac06 tree e16e0a70cff702b11edb497eee4a4d77f27d104a parent 8bbde0e6d52265158ee9625f383500c1a7d09ba9 author Paolo 'Blaisorblade' Giarrusso Tue, 18 Apr 2006 22:20:13 -0700 committer Linus Torvalds Wed, 19 Apr 2006 09:13:49 -0700 [PATCH] uml: make 64-bit COW files compatible with 32-bit ones This is the minimal fix to make 64-bit UML binaries create 32-bit compatible COW files and read them. I've indeed tested that current code doesn't do this - the code gets SIGFPE for a division by a value read at the wrong place, where 0 is found. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e0267c26e237f84f608a68e579bf4eb89dad819 tree 9ea854e8e97113afbf33dfb787171950cfb53df6 parent a4514ebd8e12c63c09ab02be518db545bd1d24af author Jens Axboe Wed, 19 Apr 2006 15:57:31 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:57:31 +0200 [PATCH] splice: fixup writeout path after ->map changes Since ->map() no longer locks the page, we need to adjust the handling of those pages (and stealing) a little. This now passes full regressions again. Signed-off-by: Jens Axboe commit a4514ebd8e12c63c09ab02be518db545bd1d24af tree ec7bcaed8d4594bd9d763659686e9318158da3aa parent 2a27250e6cf47ca1ea3bea0a55e4b7889c097627 author Jens Axboe Wed, 19 Apr 2006 15:57:05 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:57:05 +0200 [PATCH] splice: offset fixes - We need to adjust *ppos for writes as well. - Copy back modified offset value if one was passed in, similar to what sendfile does. Signed-off-by: Jens Axboe commit 2a27250e6cf47ca1ea3bea0a55e4b7889c097627 tree 3dbd4747df21e72420ab6fb91fc174173903c803 parent c4f895cbe1e95aab633207fb19c650b7c984c01a author Jens Axboe Wed, 19 Apr 2006 15:56:40 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:56:40 +0200 [PATCH] tee: link_pipe() must be careful when dropping one of the pipe locks We need to ensure that we only drop a lock that is ordered last, to avoid ABBA deadlocks with competing processes. Signed-off-by: Jens Axboe commit c4f895cbe1e95aab633207fb19c650b7c984c01a tree 3f8fa236d737da19bd9d7c38ab01079caf7d5f56 parent 91ad66ef4469cb631ec0ccd131b07f16770773f7 author Jens Axboe Wed, 19 Apr 2006 15:56:12 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:56:12 +0200 [PATCH] splice: cleanup the SPLICE_F_NONBLOCK handling - generic_file_splice_read() more readable and correct - Don't bail on page allocation with NONBLOCK set, just don't allow direct blocking on IO (eg lock_page). Signed-off-by: Jens Axboe commit 91ad66ef4469cb631ec0ccd131b07f16770773f7 tree 89db609ce4d9673ad1f586abe87c76d6f38ab0d0 parent 8bbde0e6d52265158ee9625f383500c1a7d09ba9 author Jens Axboe Wed, 19 Apr 2006 15:55:10 +0200 committer Jens Axboe Wed, 19 Apr 2006 15:55:10 +0200 [PATCH] splice: close i_size truncate races on read We need to check i_size after doing a blocking readpage. Signed-off-by: Jens Axboe commit 12df7556705aae97f24a397377e17898700d7192 tree 5adc6b1c2aa940263ee2e88fc6645918533da539 parent 34ddf733c415a8e336c996a4303d9f336e0c81b5 parent 6246b6128bbe34d0752f119cf7c5111c85fe481d author Kumar Gala Tue, 04 Apr 2006 16:10:34 -0500 committer Kumar Gala Tue, 04 Apr 2006 16:10:34 -0500 Merge branch 'master' commit 34ddf733c415a8e336c996a4303d9f336e0c81b5 tree 1c2ca5a39c44bfe9ef7d24ee50ce9ed3e32c3ebc parent 856d08ec46c5ecf3df13827c492fb6998fdc8322 author Kumar Gala Sun, 02 Apr 2006 16:01:58 -0500 committer Kumar Gala Sun, 02 Apr 2006 16:01:58 -0500 powerpc/ppc: export strncasecmp We have a strncasecmp so we might as well export it Signed-off-by: Kumar Gala