commit 53ea68ecea11bcbb3451c2758ce181bd97b569a9 tree 4e754db2a21db5b90a1650f2993d0b76c00cbd53 parent 89a2fa5f2139be35e214bcf86a8291d6a1da75f2 author Stephen Smalley Fri, 03 Feb 2006 08:21:12 -0500 committer Linus Torvalds Fri, 03 Feb 2006 18:31:33 -0800 [PATCH] SELinux: fix size-128 slab leak Remove private inode tests from security_inode_alloc and security_inode_free, as we otherwise end up leaking inode security structures for private inodes. Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Linus Torvalds commit 89a2fa5f2139be35e214bcf86a8291d6a1da75f2 tree 850ea412b013360bcace751db91cac6fb0067535 parent 27266a18dc56611e2f2ec4e8aced0fe221e9b4b8 parent 68ee3eb8295c9c164071fcbd367c419121bd55f8 author Linus Torvalds Fri, 03 Feb 2006 18:17:47 -0800 committer Linus Torvalds Fri, 03 Feb 2006 18:17:47 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 commit 27266a18dc56611e2f2ec4e8aced0fe221e9b4b8 tree 838a597782ea49356da72298626574e22351522d parent f3e39e67b9b6ad6a51d13be902e8341f13b93531 parent 9a8ffccf3d282ee749210232465f61e1c48b7a86 author Linus Torvalds Fri, 03 Feb 2006 15:51:48 -0800 committer Linus Torvalds Fri, 03 Feb 2006 15:51:48 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit f3e39e67b9b6ad6a51d13be902e8341f13b93531 tree dd0d21776b936fdff1bd1e1ba762fc47e94259cf parent 1a56f54c351d8d2e276aefc4f4094037c178d6c7 parent e92251762d02a46177d4105d1744041e3f8bc465 author Linus Torvalds Fri, 03 Feb 2006 15:51:13 -0800 committer Linus Torvalds Fri, 03 Feb 2006 15:51:13 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 1a56f54c351d8d2e276aefc4f4094037c178d6c7 tree 88abb7801141db3d03079bd0ef2a903cbf3a1aba parent d1ffa5669cd834f901141756e63195f48c1bfbf9 parent 2c4c6b27028b38204de8ade505f925d53d234422 author Linus Torvalds Fri, 03 Feb 2006 15:50:35 -0800 committer Linus Torvalds Fri, 03 Feb 2006 15:50:35 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit d1ffa5669cd834f901141756e63195f48c1bfbf9 tree f0bed266c1f3fef528bbced56b48aac63e0a26b1 parent d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f parent 6eff5790d57a5c9c01489c95946881808a4b2a2c author Linus Torvalds Fri, 03 Feb 2006 15:21:40 -0800 committer Linus Torvalds Fri, 03 Feb 2006 15:21:40 -0800 Merge branch 'upstream-linus' of git://oss.oracle.com/home/sourcebo/git/ocfs2 commit 2c4c6b27028b38204de8ade505f925d53d234422 tree 87ed99e0cf5109a822f76cc625f920ca9dc8acd8 parent 83f755f5a66a5393c3ae8925719fde0c740ac04e author Russell King Fri, 03 Feb 2006 23:03:21 +0000 committer Russell King Fri, 03 Feb 2006 23:03:21 +0000 [ARM] Remove ARCH_CAMELOT from at91 defconfigs ARCH_CAMELOT (excalibur) got removed; remove it from the AT91 defconfigs Signed-off-by: Russell King commit 9a8ffccf3d282ee749210232465f61e1c48b7a86 tree d876e49754fc796473a115fe7b679febd5fc646a parent 9c0f4755bd5a117595761c95b93c29e8d9ca07b5 author Russell King Fri, 03 Feb 2006 22:05:42 +0000 committer Russell King Fri, 03 Feb 2006 22:05:42 +0000 [SERIAL] 8250: limit range of runtime ports Prevent SERIAL_8250_RUNTIME_UARTS being larger than SERIAL_8250_NR_UARTS. Signed-off-by: Russell King commit 6eff5790d57a5c9c01489c95946881808a4b2a2c tree 2b96da58c99b27945e8c9bffb0ae48a97c4231be parent 1a1974fd4533afdb73873cdacb942d9a79ff7c9b author Mark Fasheh Wed, 18 Jan 2006 10:31:47 -0800 committer Mark Fasheh Fri, 03 Feb 2006 14:05:14 -0800 [PATCH] ocfs2: don't wait on recovery when locking journal The mount path had incorrectly asked the locking code to wait for recovery completion, which deadlocks things because recovery waits for mount to complete first. Signed-off-by: Mark Fasheh commit 1a1974fd4533afdb73873cdacb942d9a79ff7c9b tree 2ca6e62b007f54a4b4d755bb98ad9692e4547395 parent 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d author Eric Sesterhenn / snakebyte Fri, 27 Jan 2006 10:32:24 +0100 committer Mark Fasheh Fri, 03 Feb 2006 14:03:09 -0800 [PATCH] BUG_ON() Conversion in fs/configfs/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d tree 2d2317ce1417202322e3f715534fab80394bd5d2 parent 62ca3d2603571dc2b1b4c1368e19d44b599062e2 author Joel Becker Wed, 25 Jan 2006 13:31:07 -0800 committer Mark Fasheh Fri, 03 Feb 2006 14:01:05 -0800 configfs: Add permission and ownership to configfs objects. configfs always made item and attribute ownership root.root and permissions based on a umask of 022. Add ->setattr() to allow chown(2)/chmod(2), and persist the changes for the lifetime of the items and attributes. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 62ca3d2603571dc2b1b4c1368e19d44b599062e2 tree 8fe17f9846fcadfc508ebfa92b4196b3a934719e parent 215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a author Joel Becker Fri, 27 Jan 2006 11:04:12 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:59:05 -0800 configfs: Clean up MAINTAINERS entry Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a tree 873d9a2d1b345567c1c6b51f8aab83b034fff922 parent ebdec83ba46c123fe3bfdcaacf62d0dfe8fe4187 author Mark Fasheh Wed, 01 Feb 2006 16:42:10 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:55:26 -0800 [PATCH] ocfs2: fix compile warnings Fix a couple of compile warnings found when compiling on a ppc64 build box. Signed-off-by: Mark Fasheh commit ebdec83ba46c123fe3bfdcaacf62d0dfe8fe4187 tree acd18f3170c1de8295375cadb0a33fa23066524e parent b4c7f538508adcde7a0a5162faec0b2ab19b90bd author Eric Sesterhenn / snakebyte Fri, 27 Jan 2006 10:32:52 +0100 committer Mark Fasheh Fri, 03 Feb 2006 13:54:22 -0800 [PATCH] BUG_ON() Conversion in fs/ocfs2/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Mark Fasheh commit b4c7f538508adcde7a0a5162faec0b2ab19b90bd tree 143ce7f02ffa904cf770960c495d672b81710f21 parent c74ec2f77a7763a4a56c6cb13ecab961e1bbb456 author Adrian Bunk Sat, 14 Jan 2006 20:55:10 +0100 committer Mark Fasheh Fri, 03 Feb 2006 13:47:21 -0800 [PATCH] fs/ocfs2/dlm/dlmrecovery.c must #include fs/ocfs2/dlm/dlmrecovery.c does now use msleep(), and does therefore need to #include for getting the prototype of this function. Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit c74ec2f77a7763a4a56c6cb13ecab961e1bbb456 tree aa1ce70fae2b098a4e452fd065581268ba8a6d5c parent e2faea4ce340f199c1957986c4c3dc2de76f5746 author Arjan van de Ven Fri, 13 Jan 2006 21:54:23 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:47:21 -0800 [PATCH] ocfs2: Semaphore to mutex conversion. Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mark Fasheh commit e2faea4ce340f199c1957986c4c3dc2de76f5746 tree 2336b06cf270b3cff2ff39ba75fc67639dc63df9 parent 0d419a6a95ee158675aa184c6c3e476b22d02145 author Kurt Hackel Thu, 12 Jan 2006 14:24:55 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:47:20 -0800 [PATCH] ocfs2/dlm: fixes * fix a hang which can occur during shutdown migration * do not allow nodes to join during recovery * when restarting lock mastery, do not ignore nodes which come up * more than one node could become recovery master, fix this * sleep to allow some time for heartbeat state to catch up to network * extra debug info for bad recovery state problems * make DLM_RECO_NODE_DATA_DONE a valid state for non-master recovery nodes * prune all locks from dead nodes on $RECOVERY lock resources * do NOT automatically add new nodes to mle nodemaps until they have properly joined the domain * make sure dlm_pick_recovery_master only exits when all nodes have synced * properly handle dlmunlock errors in dlm_pick_recovery_master * do not propagate network errors in dlm_send_begin_reco_message * dead nodes were not being put in the recovery map sometimes, fix this * dlmunlock was failing to clear the unlock actions on DLM_DENIED Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 0d419a6a95ee158675aa184c6c3e476b22d02145 tree e57df9cbddc68e9b6e2f702537328b619529c783 parent 251b6eccbeff4f0f8a3509769b327705e899f5dd author J. Bruce Fields Wed, 11 Jan 2006 16:55:00 -0500 committer Mark Fasheh Fri, 03 Feb 2006 13:47:19 -0800 [OCFS2] Documentation Fix Update ocfs2.txt to add "cluster aware lockf" under missing features. Signed-off-by: J. Bruce Fields Signed-off-by: Mark Fasheh commit 251b6eccbeff4f0f8a3509769b327705e899f5dd tree 7da835c3bebc8150a1a1ae6abb681a1e1a9c5f36 parent aee93ac4b7ad461255939248d0d51566cff77e05 author Mark Fasheh Tue, 10 Jan 2006 15:41:43 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:47:19 -0800 [OCFS2] Make ip_io_sem a mutex ip_io_sem is now ip_io_mutex. Signed-off-by: Mark Fasheh commit aee93ac4b7ad461255939248d0d51566cff77e05 tree c5b1bda905d89548bd052eaf040da6eb287ee44b parent 0c6c98fb187524935a93fdd4f9a7193e7b110782 author Jeff Mahoney Mon, 09 Jan 2006 12:36:40 -0500 committer Mark Fasheh Fri, 03 Feb 2006 13:47:18 -0800 [PATCH] ocfs2/dlm: fix compilation on ia64 Including results in compilation failure on ia64 due to not including Including corrects the problem. Please apply. Signed-off-by: Jeff Mahoney Signed-off-by: Mark Fasheh commit 0c6c98fb187524935a93fdd4f9a7193e7b110782 tree d26e99e927cecafb3f56611fab83f7d0d5c8f39f parent 8c5a950c9693aa24828d16dd7bc38bced3f37d48 author Adrian Bunk Sat, 07 Jan 2006 20:07:02 +0100 committer Mark Fasheh Fri, 03 Feb 2006 13:47:18 -0800 [PATCH] OCFS2: __init / __exit problem Functions called by __init funtions mustn't be __exit. Reported by Jan-Benedict Glaw . Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit 8c5a950c9693aa24828d16dd7bc38bced3f37d48 tree 22ae4a6459d2f8d7a46bb8adac11aec65460dbb4 parent 826eeb53a6f264842200d3311d69107d2eb25f5e author Joel Becker Fri, 06 Jan 2006 13:46:31 -0800 committer Mark Fasheh Fri, 03 Feb 2006 13:47:17 -0800 o Remove confusing Kconfig text for CONFIGFS_FS. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f tree 8c21cc2ceaa11b7a6b023da6c8794f1e24eb0354 parent d540c7428d297ab041e6cac72b9045e7b8f93f2b parent 0dec456d1fe73e0539625f0973ee8ef8fb805943 author Linus Torvalds Fri, 03 Feb 2006 08:33:06 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:33:06 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit d540c7428d297ab041e6cac72b9045e7b8f93f2b tree 6a8dd4040568124b2ff6ff375f2ef00f347f531c parent 9ea244b4b545ecb323d042a0df5c080edefcd1fc author Adrian Bunk Fri, 03 Feb 2006 03:05:00 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:13 -0800 [PATCH] IDE: always enable CONFIG_PDC202XX_FORCE Remove the CONFIG_PDC202XX_FORCE=n case. Signed-off-by: Adrian Bunk Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ea244b4b545ecb323d042a0df5c080edefcd1fc tree 65e219ea529ac8089fa5415d8b350cf0fd3c62e5 parent 0c866b5103ad65de04a2a211f8db56820179cb53 author Loren M. Lang Fri, 03 Feb 2006 03:04:59 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] RocketPoint 1520 [hpt366] fails clock stabilization I just purchased a HighPoint Rocket 1520 SATA controller. There seems to be no libata driver (yet), but there is an ide driver, hpt366. When the driver gets loaded, it causes a kernel NULL pointer dereference in pci_bus_clock_list. It seems to be because the driver is waiting for clock stabilization in init_hpt37x() which never comes. The driver just continues on with the pci drvdata set to NULL, instead of a valid clock entry. The following patch prevents the NULL dereference from happening, but instead exit with an error. Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c866b5103ad65de04a2a211f8db56820179cb53 tree 5858b7b9a41cc9f72d2e3d6cdd0e2ca29271e07b parent f7ad836c4442e1d146b11cf359432aa68c7ed95d author Alan Cox Fri, 03 Feb 2006 03:04:58 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] ide: set latency when resetting it821x out of firmware mode Signed-off-by: Alan Cox Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7ad836c4442e1d146b11cf359432aa68c7ed95d tree e2cb81f7447a2be5ab85da7c6eef1624fe764eca parent a7ff7d41fec06c518caa82a818a70610a29d0e75 author Jean Delvare Fri, 03 Feb 2006 03:04:57 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] ide-disk: Restore missing space in log message Restore a missing space in a log message, which was accidentally removed by a previous change: 3e087b575496b8aa445192f58e7d996b1cdfa121 Signed-off-by: Jean Delvare Cc: Tejun Heo Cc: Jens Axboe Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7ff7d41fec06c518caa82a818a70610a29d0e75 tree 3da27f3fa33d6bd61d690e89c44e6acf0b008394 parent 6842f8c8dac7c06cbf0aac87824f1ff337be31cb author Adrian Bunk Fri, 03 Feb 2006 03:04:56 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] drivers/ide/ide-io.c: make __ide_end_request() static Since there's no longer any external user, we can make __ide_end_request() static. Signed-off-by: Adrian Bunk Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6842f8c8dac7c06cbf0aac87824f1ff337be31cb tree 7e1e185607d4c6134963d6106af7b3f311c9e976 parent 9810933701a09f9c4dd0ad963d5ec2efb7df07b7 author Ingo Molnar Fri, 03 Feb 2006 03:04:55 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] solve false-positive soft lockup messages during IDE init Signed-off-by: Ingo Molnar Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Cc: Rogio Brito Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9810933701a09f9c4dd0ad963d5ec2efb7df07b7 tree a82e186d96e443099fc67d9788943befcba996b3 parent 3b6ce2497f091620dd4c172fc11d867a9b072dc5 author Richard Purdie Fri, 03 Feb 2006 03:04:55 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:12 -0800 [PATCH] stop CompactFlash devices being marked as removable This patch stops CompactFlash devices being marked as removable. They are not removable (as defined by Linux) as the media and device are inseparable. When a card is removed, the whole device is removed from the system and never sits in a media-less state. This stops some nasty udev device creation/destruction loops. Further, once this change is made, there is no need for ide to can be removed from ide_drive_t. Signed-off-by: Richard Purdie Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b6ce2497f091620dd4c172fc11d867a9b072dc5 tree ed2a92b744a129847e5c42ec26c9eeae04074de8 parent d57d39c81271a0808eabcf7bdc409312b5262b69 author Andreas Mohr Fri, 03 Feb 2006 03:04:54 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] ide Kconfig fixes CONFIG_BLK_DEV_IDECS docu mentions everything and the kitchen sink, yet fails to list the most important/widespread (IMHO) device: Compact Flash PCMCIA adapters. This incomplete description recently caused me to deselect the ide_cs module, causing great pain soon thereafter when I realized why I had actually enabled it some years ago. Updates: - make sure to mention Compact Flash adapters - fix some random typos in ide Kconfig Signed-off-by: Andreas Mohr Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d57d39c81271a0808eabcf7bdc409312b5262b69 tree 7c3bd49624969c0d4e67a75acc8676945a900cc3 parent b7bed9ec44cb282425f56033e5fb5448086cd758 author Bjorn Helgaas Fri, 03 Feb 2006 03:04:53 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] ia64: drop arch-specific IDE MAX_HWIFS definition There's no reason MAX_HWIFS needs to be ia64-specific, so set MAX_HWIFS from CONFIG_IDE_MAX_HWIFS. This reduces the default from 10 to 4, but I don't think that's a problem. Signed-off-by: Bjorn Helgaas Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7bed9ec44cb282425f56033e5fb5448086cd758 tree e41cbb456d0e313997b7e16f7a3fed9848530aaf parent 12fc1d7b4b08a80776de3073439a09f54ce31f8f author Jason Gaston Fri, 03 Feb 2006 03:04:52 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] piix: add Intel ICH8M device IDs Signed-off-by: Jason Gaston Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12fc1d7b4b08a80776de3073439a09f54ce31f8f tree d98b6605704016950afab7cf60c60cafc78e5b60 parent db9a369ec172c8251dbc6f7bf6bf13f6c5b6e7f5 author Jayachandran C Fri, 03 Feb 2006 03:04:51 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] IPMI: fix issues reported by Coverity in ipmi_msghandler.c While looking to the report by Coverity in ipmi, I came across the following issue: The IPMI message handler relies on two defines which are the same -one in include/linux/ipmi.h #define IPMI_NUM_CHANNELS 0x10 and one in drivers/char/ipmi/ipmi_msghandler. #define IPMI_MAX_CHANNELS 16 These are used interchangeably in ipmi_msghandler.c, but since the array addr->channels[] is of size IPMI_MAX_CHANNELS, I have made a patch that uses IPMI_MAX_CHANNELS for all the checks for the array index. NOTE: You could probably remove the line that defines IPMI_NUM_CHANNELS from ipmi.h, or move IPMI_MAX_CHANNELS to ipmi.h Signed-off-by: Jayachandran C. Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db9a369ec172c8251dbc6f7bf6bf13f6c5b6e7f5 tree 66d4b2367e7f308efd11b354d47b398796c4986c parent 99603966f5b44693901ea68cef2c1c21ce6a49c3 author Jayachandran C Fri, 03 Feb 2006 03:04:50 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] UDF: Fix issues reported by Coverity in namei.c This patch fixes an issue in fs/udf/namei.c reported by Coverity: Error reported(1776) CID: 1776 Checker: UNUSED_VALUE (help) File: fs/udf/namei.c Function: udf_lookup Description: Pointer returned from "udf_find_entry" is never used Patch description: remove unused variable fi. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99603966f5b44693901ea68cef2c1c21ce6a49c3 tree 3d2e45673794c8d5d6a3627ec1843dc14cb994eb parent 7656f328f68b351a8bb71ad465cedc8d0a039f9e author KAMBAROV, ZAUR Fri, 03 Feb 2006 03:04:49 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] coverity: udf/balloc.c null deref fix It's doing if (obh) else dereference obh So presumably `obh' is never null in there. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7656f328f68b351a8bb71ad465cedc8d0a039f9e tree 178a98c7619a943f06f3c5a286add5140d7b8229 parent ddca2488a2a69421924485bbcec39b512b580d0e author Vincent Hanquez Fri, 03 Feb 2006 03:04:48 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] debugfs: hard link count wrong Fix incorrect nlink of root inode for filesystems that use simple_fill_super(). Signed-off-by: Vincent Hanquez Cc: Greg KH Cc: Heiko Carstens Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddca2488a2a69421924485bbcec39b512b580d0e tree 97a6798ce4481c485a4d258e656be08c90636299 parent def9391c561c60e9d0aab58abca5404acef1de4b author Karsten Keil Fri, 03 Feb 2006 03:04:48 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:11 -0800 [PATCH] i4l: warning fixes drivers/isdn/hisax/hscx_irq.c: In function `hscx_interrupt': drivers/isdn/hisax/hscx_irq.c:201: warning: comparison is always 1 due to width of bit-field It's due to (PACKET_NOACK != bcs->tx_skb->pkt_type) pkt_type is only three bit wide. I think this should fix it for the moment, pkt_type 7 is not used yet and this is only used internal in hisax. Signed-off-by: Karsten keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit def9391c561c60e9d0aab58abca5404acef1de4b tree c5c8f5785290d2e7d255b065ebfe9df6e9713316 parent 6d94074f0804143eac6bce72dc04447c0040e7d8 author Andrew Morton Fri, 03 Feb 2006 03:04:47 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] ip2main.c warning fixes With Eric's "i386: Add a temporary to make put_user more type safe" patch we get a pile of warnings out of ip2m1in.c: drivers/char/ip2main.c: In function `ip2_ipl_ioctl': drivers/char/ip2main.c:2910: warning: assignment makes integer from pointer without a cast drivers/char/ip2main.c:2911: warning: assignment makes integer from pointer without a cast drivers/char/ip2main.c:2912: warning: assignment makes integer from pointer without a cast etc. This ioctl is copying the kernel virtual address of a large number of functions out to userspace. Heaven knows why. Rather than fixing the warnings, I think we'll just nuke that code. The patch also fixes a couple of `defined but not used' warnings. Cc: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d94074f0804143eac6bce72dc04447c0040e7d8 tree 2833a03682e12d81d4bd849435cd9f95e64e9350 parent 353368dffb56b066cbe00264581a56caf0241b29 author Davi Arnaut Fri, 03 Feb 2006 03:04:46 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] Fix keyctl usage of strnlen_user() In the small window between strnlen_user() and copy_from_user() userspace could alter the terminating `\0' character. Signed-off-by: Davi Arnaut Cc: David Howells Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 353368dffb56b066cbe00264581a56caf0241b29 tree 3792cc37a8269804f213ecd0c1e9a3948fb44109 parent 3b641407a1447759ac8159180e90ed2e4387a0b6 author Eric W. Biederman Fri, 03 Feb 2006 03:04:45 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] edac_mc: Remove include of version.h By including version.h edac_mc was rebuilding on every incremental build. Which defeats the point of incremental builds. Signed-off-by: Eric W. Biederman Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b641407a1447759ac8159180e90ed2e4387a0b6 tree 1cf86560c28701cdff32366a5070781319da53a1 parent e60e5c50aa5389db86e96fc52d02bc7db3d23f4a author OGAWA Hirofumi Fri, 03 Feb 2006 03:04:44 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] fat: Fix truncate() write ordering The truncate() should write the file size before writing the new EOF entry. This patch fixes it. This bug was pointed out by Machida Hiroyuki. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e60e5c50aa5389db86e96fc52d02bc7db3d23f4a tree dcf9d09c7fed328628750023fecaf3eef4ad8624 parent 5b00226d4d3aa7969d84e16f857ea100465d9c98 author OGAWA Hirofumi Fri, 03 Feb 2006 03:04:43 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] Trivial optimization of ll_rw_block() The ll_rw_block() needs to get ref-count only if it submits a buffer(). This patch avoids the needless get/put of ref-count. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b00226d4d3aa7969d84e16f857ea100465d9c98 tree bb40304b944606518b723e5f1ce136f13effb2f2 parent 514a01b880d28a3029d9e35de72ad8d2f95b31d0 author OGAWA Hirofumi Fri, 03 Feb 2006 03:04:42 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] fat: Replace an own implementation with ll_rw_block(SWRITE,) This patch replaces an own implementation with LL_RW_BLOCK(SWRITE,) which was newly added. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 514a01b880d28a3029d9e35de72ad8d2f95b31d0 tree df6db749acdf0548bde145d2467ebfc894a736a9 parent 808249ceba49cdb3054c0aa5b75a61862d6cab94 author Andrew Morton Fri, 03 Feb 2006 03:04:41 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:10 -0800 [PATCH] uninline __sigqueue_free() Five callsites. I dunno how all this crap got back in there :( Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 808249ceba49cdb3054c0aa5b75a61862d6cab94 tree 246d11a687db3e8a775e746ed8f0da1aeedae70c parent 546cfdf47f2ea2438b01f8626a60b87f9d8d1e53 author Paul Fulghum Fri, 03 Feb 2006 03:04:41 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] new tty buffering locking fix Change locking in the new tty buffering facility from using tty->read_lock, which is currently ignored by drivers and thus ineffective. New locking uses a new tty buffering specific lock enforced centrally in the tty buffering code. Two drivers (esp and cyclades) are updated to use the tty buffering functions instead of accessing tty buffering internals directly. This is required for the new locking to work. Minor checks for NULL buffers added to tty_prepare_flip_string/tty_prepare_flip_string_flags Signed-off-by: Paul Fulghum Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 546cfdf47f2ea2438b01f8626a60b87f9d8d1e53 tree 35c6ccd5a5469f98a36432daad158f991aa844a5 parent 2c5d81a58106fa333467beab5f11dafab07b3e66 author Alexey Dobriyan Fri, 03 Feb 2006 03:04:40 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] ipmi: mem_{in,out}[bwl] => intf_mem_{in,out}[bwl] On mips: drivers/char/ipmi/ipmi_si_intf.c:1274: error: conflicting types for 'mem_inb' include/asm/io.h:436: error: previous definition of 'mem_inb' was here Don't look at line 436 unless you really know what you're doing. Move those static functions out of more or less generic namespace. Signed-off-by: Alexey "## should be banned" Dobriyan Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c5d81a58106fa333467beab5f11dafab07b3e66 tree 7fabac3f87c1c0d385569cbc127df36e5ff6a05f parent bb3b9cf122eb097ed9fe8ae50e1b0dbba9bbe447 author Fernando Luis Vazquez Cao Fri, 03 Feb 2006 03:04:39 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] Compilation of kexec/kdump broken The compilation of kexec/kdump seems to be broken for x86_64. Remove the dependency of kexec on CONFIG_IA32_EMULATION. Signed-off-by: Fernando Vazquez Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb3b9cf122eb097ed9fe8ae50e1b0dbba9bbe447 tree 4032cc19712ff78f532d2071f15a317e026da15b parent 9d9c0531c91755a90b646b27bb722d59ee3eb46d author Paul E. McKenney Fri, 03 Feb 2006 03:04:38 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] Fix comment to synchronize_sched() Fix to broken comment to synchronize_rcu() noted by Keith Owens. Also add sentence noting that synchronize_sched() and synchronize_rcu() are not necessarily identical. Signed-off-by: Paul E. McKenney Cc: Keith Owens Cc: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d9c0531c91755a90b646b27bb722d59ee3eb46d tree 662992e8d6336171f6c09a13f57c96ddb017b9d3 parent 69dcc99199fe29b0a29471a3488d39d9d33b25fc author Herbert Poetzl Fri, 03 Feb 2006 03:04:37 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] quota: fix error code for ext2_new_inode() The quota check in ext2_new_inode() returns ENOSPC where it should return EDQUOT instead. Signed-off-by: Herbert Pötzl Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69dcc99199fe29b0a29471a3488d39d9d33b25fc tree 4232ad9a782dee6abfe7fa20c95a49249195de8f parent 66ac5a294db70aa377c0d7bbdb0c4e3ef2349b7b author Zhang, Yanmin Fri, 03 Feb 2006 03:04:36 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:09 -0800 [PATCH] Export cpu topology in sysfs The patch implements cpu topology exportation by sysfs. Items (attributes) are similar to /proc/cpuinfo. 1) /sys/devices/system/cpu/cpuX/topology/physical_package_id: represent the physical package id of cpu X; 2) /sys/devices/system/cpu/cpuX/topology/core_id: represent the cpu core id to cpu X; 3) /sys/devices/system/cpu/cpuX/topology/thread_siblings: represent the thread siblings to cpu X in the same core; 4) /sys/devices/system/cpu/cpuX/topology/core_siblings: represent the thread siblings to cpu X in the same physical package; To implement it in an architecture-neutral way, a new source file, driver/base/topology.c, is to export the 5 attributes. If one architecture wants to support this feature, it just needs to implement 4 defines, typically in file include/asm-XXX/topology.h. The 4 defines are: #define topology_physical_package_id(cpu) #define topology_core_id(cpu) #define topology_thread_siblings(cpu) #define topology_core_siblings(cpu) The type of **_id is int. The type of siblings is cpumask_t. To be consistent on all architectures, the 4 attributes should have deafult values if their values are unavailable. Below is the rule. 1) physical_package_id: If cpu has no physical package id, -1 is the default value. 2) core_id: If cpu doesn't support multi-core, its core id is 0. 3) thread_siblings: Just include itself, if the cpu doesn't support HT/multi-thread. 4) core_siblings: Just include itself, if the cpu doesn't support multi-core and HT/Multi-thread. So be careful when declaring the 4 defines in include/asm-XXX/topology.h. If an attribute isn't defined on an architecture, it won't be exported. Thank Nathan, Greg, Andi, Paul and Venki. The patch provides defines for i386/x86_64/ia64. Signed-off-by: Zhang, Yanmin Cc: Ingo Molnar Cc: Nick Piggin Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66ac5a294db70aa377c0d7bbdb0c4e3ef2349b7b tree 15af88490e32c4d2f0c8a7350da701595a746b07 parent f0c00257d63463fa9d692e632fae037d6c0e67b0 author Alexey Dobriyan Fri, 03 Feb 2006 03:04:35 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:08 -0800 [PATCH] ixj: fix writing silence check j->write_buffer_rp is a pointer. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0c00257d63463fa9d692e632fae037d6c0e67b0 tree 94ca16b28d70eb96155974909560cced8a3cf383 parent 6bf8d889ed453f709dedacabdcf5db47470fdae9 author Peter Williams Fri, 03 Feb 2006 03:04:33 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:08 -0800 [PATCH] lib: Fix bug in int_sqrt() for 64 bit longs The implementation of int_sqrt() assumes that longs have 32 bits. On systems that have 64 bit longs this will result in gross errors when the argument to the function is greater than 2^32 - 1 on such systems. I doubt whether any such use is currently made of int_sqrt() but the attached patch fixes the problem anyway. Signed-off-by: Peter Williams Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bf8d889ed453f709dedacabdcf5db47470fdae9 tree f28c0b85f67393eca83757853a9c4a13d0d56ea0 parent 1374ae8b9a3789695962a0f3fd4c6eb7aff881bc author Herbert Poetzl Fri, 03 Feb 2006 03:04:32 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:08 -0800 [PATCH] quota: remove unused sync_dquots_dev() The already removed sync_dquots_dev(dev,type) is still defined in the no-quota case. Signed-off-by: Herbert Pötzl Acked-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1374ae8b9a3789695962a0f3fd4c6eb7aff881bc tree 7bed559af16279923855624ee9a52f6d102b7fb7 parent 0a577ce34f703c885f807e2abc77dff02c7857af author Adrian Bunk Fri, 03 Feb 2006 03:04:31 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:08 -0800 [PATCH] drivers/serial/jsm/: cleanups - jsm_driver.c: remove the now unused jsm_rawreadok module_param - jsm_tty.c: remove a now unused variable Is there any problem with removing the now useless jsm_rawreadok module_param? Signed-off-by: Adrian Bunk Cc: V. Ananda Krishnan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a577ce34f703c885f807e2abc77dff02c7857af tree a2bfd15ca0ffe4ecc65c769008c9bfa8e0b107c9 parent 7d95c8f27d9be65bf160f1edaf653d33dfceb58c author V. Ananda Krishnan Fri, 03 Feb 2006 03:04:30 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] jsm: update for tty buffering revamp Signed-off-by: V. Ananda Krishnan Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d95c8f27d9be65bf160f1edaf653d33dfceb58c tree 2e232ef2fccb1e6c81616bd9f3a56a0676549a8a parent 8b3e09e19932835fb77c63aaf3b1af6117e78871 author dean gaudet Fri, 03 Feb 2006 03:04:30 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] fcntl F_SETFL and read-only IS_APPEND files There is code in setfl() which attempts to preserve the O_APPEND flag on IS_APPEND files... however IS_APPEND files could also be opened O_RDONLY and in that case setfl() should not require O_APPEND... coreutils 5.93 tail -f attempts to set O_NONBLOCK even on regular files... unfortunately if you try this on an append-only log file the result is this: fcntl64(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fcntl64(3, F_SETFL, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = -1 EPERM (Operation not permitted) I offer up the patch below as one way of fixing the problem... i've tested it fixes the problem with tail -f but haven't really tested beyond that. (I also reported the coreutils bug upstream... it shouldn't fail imho... ) Signed-off-by: dean gaudet Cc: Al Viro Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b3e09e19932835fb77c63aaf3b1af6117e78871 tree d98125db1fe2ee0c82426cac98c954cd62842e88 parent 15d8ec7d08fbb7876e292b42bc92da8d82df7ea9 author Markus Lidel Fri, 03 Feb 2006 03:04:29 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] I2O: fix and workaround for Motorola/Freescale controller - This controller violates the I2O spec for the I/O registers. The patch contains a workaround which moves the registers to the proper location. (originally author: Matthew Starzewski) - If a message frame is beyond the mapped address range a error is returned. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15d8ec7d08fbb7876e292b42bc92da8d82df7ea9 tree 7e9f217d0022728ed3205abc403e05620993ff9e parent 35dc8161d0a6fa5e654bcb3d6240acc9ecb0a259 author Markus Lidel Fri, 03 Feb 2006 03:04:28 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] I2O: don't disable PCI device if it is enabled before probing If PCI device is enabled before probing, it will not be disabled at exit. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35dc8161d0a6fa5e654bcb3d6240acc9ecb0a259 tree 0c688ffc3adc127f5cf9f35ff93e6072e1f42438 parent 835417967c10b6dfaffdffddba59196196e5d431 author Jeff Moyer Fri, 03 Feb 2006 03:04:27 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] fix O_DIRECT read of last block in a sparse file Currently, if you open a file O_DIRECT, truncate it to a size that is not a multiple of the disk block size, and then try to read the last block in the file, the read will return 0. The problem is in do_direct_IO, here: /* Handle holes */ if (!buffer_mapped(map_bh)) { char *kaddr; ... if (dio->block_in_file >= i_size_read(dio->inode)>>blkbits) { /* We hit eof */ page_cache_release(page); goto out; } We shift off any remaining bytes in the final block of the I/O, resulting in a 0-sized read. I've attached a patch that fixes this. I'm not happy about how ugly the math is getting, so suggestions are more than welcome. I've tested this with a simple program that performs the steps outlined for reproducing the problem above. Without the patch, we get a 0-sized result from read. With the patch, we get the correct return value from the short read. Signed-off-by: Jeff Moyer Cc: Badari Pulavarty Cc: Suparna Bhattacharya Cc: Mingming Cao Cc: Joel Becker Cc: "Chen, Kenneth W" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 835417967c10b6dfaffdffddba59196196e5d431 tree 086fdbcd063c7f7615067323f73751c9f9d2d15e parent a18546110ed6bec483d55bfffccb2487dfbd77af author Carsten Otte Fri, 03 Feb 2006 03:04:25 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] ext2: print xip mount option in ext2_show_options In case we have CONFIG_FS_XIP, ext2_show_options shows "xip" if EXT2_MOUNT_XIP mount flag is set. Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a18546110ed6bec483d55bfffccb2487dfbd77af tree 7363fe19d01ac7fd7c8de7cbee874999c78ab232 parent 0d38b049fe8df77c8e9dc48d0fd84555739fbb1a author schwab@suse.de Fri, 03 Feb 2006 03:04:24 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:07 -0800 [PATCH] disable per cpu intr in /proc/stat Don't compute and display the per-irq sums on ia64 either, too much overhead for mostly useless figures. Cc: Olaf Hering Acked-by: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d38b049fe8df77c8e9dc48d0fd84555739fbb1a tree 8a4a72ab172202f29ba0c2020cb44d7f893cdf43 parent fe85a998ca64a067e58ca9240ec54a95994d78ee author Randy Dunlap Fri, 03 Feb 2006 03:04:24 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] edac: use C99 initializers (sparse warnings) drivers/edac/e752x_edac.c:1042:7: warning: obsolete struct initializer, use C99 syntax Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe85a998ca64a067e58ca9240ec54a95994d78ee tree 6856b5b7e8aa8724abe9103737c71ef055e158c8 parent 778116920e89b91b19d2b488a0d6fe63cf43379c author Randy Dunlap Fri, 03 Feb 2006 03:04:23 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] cpuset: fix sparse warning kernel/cpuset.c:644:38: warning: non-ANSI function declaration of function 'cpuset_update_task_memory_state' Signed-off-by: Randy Dunlap Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 778116920e89b91b19d2b488a0d6fe63cf43379c tree 43a8144d5f19baec1e9f5a4616702be8299488fc parent 0ef3b49cc24963a11125971b8deaa8b46209d113 author Arnaud Giersch Fri, 03 Feb 2006 03:04:22 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] parport: remove dead address in MAINTAINERS Remove dead address for David Campbell in MAINTAINERS. Signed-off-by: Arnaud Giersch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ef3b49cc24963a11125971b8deaa8b46209d113 tree bb568031614c455c6cd471232da96bec8f8eeea7 parent 88fc3897e3219e63ae6e2d180a6c87d033ef9f3b author Arnaud Giersch Fri, 03 Feb 2006 03:04:21 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] parport: fix documentation Fix documentation to actually match the code. Signed-off-by: Arnaud Giersch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88fc3897e3219e63ae6e2d180a6c87d033ef9f3b tree 4443e273b15c2f07229d65b90df2ae3579afb80d parent 034b91a3b66cf9d2983ac45f73162395c0936c36 author George Anzinger Fri, 03 Feb 2006 03:04:20 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] Normalize timespec for negative values in ns_to_timespec - In case of a negative nsec value the result of the division must be normalized. - Remove inline from an exported function. Signed-off-by: George Anzinger Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 034b91a3b66cf9d2983ac45f73162395c0936c36 tree d8d731e5ef3dbe3cea129c48d5c1bc245414f189 parent 05818a004a84951fd383694f3b35d89eb49fa308 author Latchesar Ionkov Fri, 03 Feb 2006 03:04:20 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] v9fs: fix corner cases when flushing request When v9fs_mux_rpc sends a 9P message, it may be put in the queue of unsent request. If the user process receives a signal, v9fs_mux_rpc sets the request error to ERREQFLUSH and assigns NULL to request's send message. If the message was still in the unsent queue, v9fs_write_work would produce an oops while processing it. The patch makes sure that requests that are being flushed are moved to the pending requests queue safely. If a request is being flushed, don't remove it from the list of pending requests even if it receives a reply before the flush is acknoledged. The request will be removed during from the Rflush handler (v9fs_mux_flush_cb). Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05818a004a84951fd383694f3b35d89eb49fa308 tree a9c18d8cbcd565ac5d1bf833af8d5161dbca18d3 parent 93c615feffbcea4f09ecee154f46062f6041776e author Latchesar Ionkov Fri, 03 Feb 2006 03:04:18 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] v9fs: v9fs_put_str fix v9fs_put_str used to store pointer to the source string, instead of the cbuf copy. This patch corrects it. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93c615feffbcea4f09ecee154f46062f6041776e tree e2f125d960d288cad271b72173f8cfd4476bcc11 parent 8e75f744289f0a1c38b669e39a489af460640881 author Latchesar Ionkov Fri, 03 Feb 2006 03:04:17 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:06 -0800 [PATCH] v9fs: symlink support fixes Two symlink fixes, v9fs_readlink didn't copy the last character of the symlink name, v9fs_vfs_follow_link incorrectly called strlen of newly allocated buffer instead of PATH_MAX. Signed-off-by: Latchesar Ionkov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e75f744289f0a1c38b669e39a489af460640881 tree a9e7e67187d6076698dfc466752e161f7cbb0031 parent bd3bfeb58aeddb660dc600ded2fa9243e0c2d12b author Arnaud Giersch Fri, 03 Feb 2006 03:04:16 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] parport: add parallel port support for SGI O2 Add support for the built-in parallel port on SGI O2 (a.k.a. IP32). Define a new configuration option: PARPORT_IP32. The module is named parport_ip32. Hardware support for SPP, EPP and ECP modes along with DMA support when available are currently implemented. Signed-off-by: Arnaud Giersch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd3bfeb58aeddb660dc600ded2fa9243e0c2d12b tree 0e28c95b1f94f10e0bceb9a424b6a293b8b3ec7a parent abffa7da99b78caaf81a2f519bf9cbd1e8dcbc1d author Felix Oxley Fri, 03 Feb 2006 03:04:15 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] fs/jffs/intrep.c: 255 is unsigned char Signed-off-by: Felix Oxley Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit abffa7da99b78caaf81a2f519bf9cbd1e8dcbc1d tree f28e90613a3f01b9d867adecab778ade0c4fbf85 parent 74adb52797a7cde217a8ceeaf254a5441a42a72c author Domen Puncer Fri, 03 Feb 2006 03:04:14 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] drivers/isdn/sc/ioctl.c: copy_from_user() size fix A few lines above the patch we have: char *srec; srec = kmalloc(SCIOC_SRECSIZE, GFP_KERNEL); sizeof pointer is probably not meant here. Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74adb52797a7cde217a8ceeaf254a5441a42a72c tree 805ec25448f1c4bf88b35ade8c2885687a6dc66a parent dfa08592ca0440d793ecc8dfc6277dd2aa4b8dda author Tobias Klauser Fri, 03 Feb 2006 03:04:13 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] umem: check pci_set_dma_mask return value correctly Signed-off-by: Tobias Klauser Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfa08592ca0440d793ecc8dfc6277dd2aa4b8dda tree 93bcf1323962aba32957093d6f04c0c8cdbb41fe parent 9d923a0603b5909a6758cfaec503955775cb7ab1 author Andreas Gruenbacher Fri, 03 Feb 2006 03:04:13 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] Fix two ext[23] uninitialized warnings There is a code path that passed size to ext2_xattr_set (ext3_xattr_set_handle) before initializing it. The callees don't use the value in that case, but gcc cannot tell. Always initialize size to get rid of the warnings. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d923a0603b5909a6758cfaec503955775cb7ab1 tree 5aa12488890ed9d4be2fb86eb54622d4d4a61f94 parent 90cbc45b1d8a81e661a981ddd69f95d6915f1574 author Andreas Schwab Fri, 03 Feb 2006 03:04:12 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] ufs: fix char vs. __s8 clash in ufs Fix this warning: fs/ufs/super.c: In function ‘ufs_fill_super’: fs/ufs/super.c:858: warning: case label value exceeds maximum value for type which happens because __s8 != char. These macros are used for struct ufs_super_block.fs_clean which is declared as __s8. Signed-off-by: Andreas Schwab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90cbc45b1d8a81e661a981ddd69f95d6915f1574 tree 0355d353a44bb7efcd1a36969dfcb3bc70c5e0b1 parent 23332c2e9da16b717f18fd95bc90211a663aa6ee author Dave Jones Fri, 03 Feb 2006 03:04:11 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:05 -0800 [PATCH] EDAC config cleanup The AMD76x chipsets aren't used in 64-bit, so don't offer the driver to the user. Signed-off-by: Dave Jones Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23332c2e9da16b717f18fd95bc90211a663aa6ee tree 873e445688472fd1726c0e48113f63a585d03b39 parent 8145916996b91d42b8bb4b0fcd508af295222c7c author Tong Li Fri, 03 Feb 2006 03:04:09 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] OProfile: fixed x86_64 incorrect kernel call graphs Fix the problem in kernel 2.6.15.1 (and early versions) that OProfile on x86_64 does not correctly collect the stack traces for kernel functions. The original code in valid_kernel_stack() in arch/i386/oprofile/backtrace.c assumes that the frame pointer (headaddr) should be greater than stack (i.e., regs). This assumption is wrong for x86_64 because NMIs in x86_64 use a seperate stack different from the kernel stack. Therefore, the variable stack now points to some location on the NMI stack, which turns out to be at a higher address than the frame pointer (headaddr) on the kernel stack. The correct comparison here should be between headaddr and regs->rsp for x86_64. Signed-off-by: Tong Li Cc: John Levon Cc: Philippe Elie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8145916996b91d42b8bb4b0fcd508af295222c7c tree 298ec43ab4e40888d142ffd5e84be67c80e07c9f parent 84542838a3829f34630c589c1eb570656c455a1c author Alan Cox Fri, 03 Feb 2006 03:04:08 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] Fix some ucLinux breakage from the tty updates Breakage reported by Adrian Bunk Untested (no hardware) Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84542838a3829f34630c589c1eb570656c455a1c tree 401218ce579c354427522d116f67d0bc1cb706ed parent 47ba87e0b1269698801310bfd1716b0538282405 author Alan Cox Fri, 03 Feb 2006 03:04:07 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] rio cleanups INKERNEL is always defined HOST is never defined therefore RTA is also never defined Strip the relevant garbage out of the headers on this basis. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47ba87e0b1269698801310bfd1716b0538282405 tree be429e822401e9f1a213b008b5e6e2f538754888 parent 09114eb8c53d2d3b2ff9523e011cb68b2e245dce author Marcelo Tosatti Fri, 03 Feb 2006 03:04:06 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] make "struct d_cookie" depend on CONFIG_PROFILING Shrinks "struct dentry" from 128 bytes to 124 on x86, allowing 31 objects per slab instead of 30. Cc: John Levon Cc: Philippe Elie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09114eb8c53d2d3b2ff9523e011cb68b2e245dce tree c66d4590814072f91d74f185c798a3935d933209 parent e295cfcb2907ae4c5df57f5d4ada1ce6f3ae4657 author Evgeniy Dushistov Fri, 03 Feb 2006 03:04:06 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] ufs: fix hang during `rm' This fixes the code like this: bh = sb_find_get_block (sb, tmp + j); if ((bh && DATA_BUFFER_USED(bh)) || tmp != fs32_to_cpu(sb, *p)) { retry = 1; brelse (bh); goto next1; } bforget (bh); sb_find_get_block() ordinarily returns a buffer_head with b_count>=2, and this code assume that in case if "b_count>1" buffer is used, so this caused infinite loop. (akpm: that is-the-buffer-busy code is incomprehensible. Good riddance. Use of block_truncate_page() seems sane). Signed-off-by: Evgeniy Dushistov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e295cfcb2907ae4c5df57f5d4ada1ce6f3ae4657 tree a28ca6bf5ba0c3e1e03e12eb5067727028bb6452 parent 19dfe31c29e0ebb88cf1cd2211da3e2ff2a26d52 author Evgeniy Dushistov Fri, 03 Feb 2006 03:04:04 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:04 -0800 [PATCH] ufs: fix oops with `ufs1' type "rm" command, on file system with "ufs1" type cause system hang up. This is, in fact, not so bad as it seems to be, because of after that in "kernel control path" there are 3-4 places which may cause "oops". So the first patch fix oopses, and the second patch fix "kernel hang up". "oops" appears because of reading of group's summary info partly wrong, and access to not first group's summary info cause "oops". Signed-off-by: Evgeniy Dushistov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19dfe31c29e0ebb88cf1cd2211da3e2ff2a26d52 tree ac41d7f180f0453f58c87313d2ba74f00135016a parent 8c17e1eb05977283bc7ad94d16ace3a0d586921a author Andrew Morton Fri, 03 Feb 2006 03:04:04 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] sx.c printk warning fixes drivers/char/sx.c: In function `sx_set_real_termios': drivers/char/sx.c:934: warning: long unsigned int format, different type arg (arg 2) drivers/char/sx.c:961: warning: long unsigned int format, different type arg (arg 2) drivers/char/sx.c:976: warning: long unsigned int format, different type arg (arg 2) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c17e1eb05977283bc7ad94d16ace3a0d586921a tree 717a9bed6c94bda73b738f2a9610ff4a7b09dea3 parent f4f64e9ded28bcdb2cb57438bd1721579f8b28c0 author Andrew Morton Fri, 03 Feb 2006 03:04:03 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] quota_v2: printk warning fixes fs/quota_v2.c: In function `v2_check_quota_file': fs/quota_v2.c:39: warning: int format, different type arg (arg 2) fs/quota_v2.c:39: warning: int format, different type arg (arg 3) Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4f64e9ded28bcdb2cb57438bd1721579f8b28c0 tree 08d9f88145bc100fc54904d6519f5a71ef2abbe7 parent d35c602870ece3166cff3d25fbc687a7f707acf3 author Andrew Morton Fri, 03 Feb 2006 03:04:02 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] parport_serial: printk warning fix drivers/parport/parport_serial.c: In function `parport_register': drivers/parport/parport_serial.c:334: warning: unsigned int format, different type arg (arg 3) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d35c602870ece3166cff3d25fbc687a7f707acf3 tree 345bb168a75e37848921428c29b01d65a75479d1 parent 3636641bb2c7a806c1099ca092ec8cd180063f9b author Vitaly Fertman Fri, 03 Feb 2006 03:04:01 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] someone broke reiserfs V3 mount options, this fixes it Signed-off-by: Hans Reiser Signed-off-by: Vitaly Fertman Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3636641bb2c7a806c1099ca092ec8cd180063f9b tree cea6933f946da514169009e5e3b02c48de60aab1 parent 145046d31ecf9f4f1ba80c8d21225158f6d1738c author Adrian Bunk Fri, 03 Feb 2006 03:04:00 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] don't allow users to set CONFIG_BROKEN=y Do not allow people to create configurations with CONFIG_BROKEN=y. The sole reason for CONFIG_BROKEN=y would be if you are working on fixing a broken driver, but in this case editing the Kconfig file is trivial. Never ever should a user enable CONFIG_BROKEN. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 145046d31ecf9f4f1ba80c8d21225158f6d1738c tree a95112bb148b8accf8a04c5b5f931ab1fd5de680 parent de6c642ca9566ed358e1cde5fa0e25f7788a5566 author Randy Dunlap Fri, 03 Feb 2006 03:03:59 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:03 -0800 [PATCH] parport: fix printk format warning Fix printk format warning: drivers/parport/probe.c:205: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' Signed-off-by: Randy Dunlap Signed-off-by: Arnaud Giersch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de6c642ca9566ed358e1cde5fa0e25f7788a5566 tree efba9a9cc23f0f7351a7ea01c29bcdd400698744 parent 5423980245c56fd968840b6d36bbddc2719084e4 author Alan Cox Fri, 03 Feb 2006 03:03:58 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] SBC EPX does not check/claim I/O ports it uses (2nd Edition) Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5423980245c56fd968840b6d36bbddc2719084e4 tree 2a2b4616145ca641935eea84f31ae73aa7293ecc parent 8d1d0340da3fc7d1a8d9198e74e97d2db6c3f86f author Andrew Morton Fri, 03 Feb 2006 03:03:58 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] sx.c warning fixes drivers/char/sx.c: In function `sx_set_real_termios': drivers/char/sx.c:934: warning: int format, long unsigned int arg (arg 2) drivers/char/sx.c:961: warning: unsigned int format, tcflag_t arg (arg 2) drivers/char/sx.c:976: warning: unsigned int format, tcflag_t arg (arg 2) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d1d0340da3fc7d1a8d9198e74e97d2db6c3f86f tree f2af2677f96339ae550f5c55deb3bb8f259cb854 parent 490d6ab170c94a7a59870f528d765131b8963e79 author Steffen Klassert Fri, 03 Feb 2006 03:03:57 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] 3c59x: collision statistic fix Count the total number of packets with collisions during transmission in vp->stats.collisions. Signed-off-by: Steffen Klassert Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 490d6ab170c94a7a59870f528d765131b8963e79 tree 909deca0ac2476a839b446de382a4866dccf0196 parent bcc68b8616bcac47dbfc414398e382b3b10faf4c author Zach Brown Fri, 03 Feb 2006 03:03:56 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] list.h: don't evaluate macro args multiple times I noticed that list.h init functions were evaluating macro arguments multiple times and thought it might be nice to protect the unsuspecting caller. Converting the macros to inline functions seems to reduce code size, too. A i386 defconfig build with gcc 3.3.3 from fc4: text data bss dec hex filename 3573148 565664 188828 4327640 4208d8 vmlinux.before 3572177 565664 188828 4326669 42050d vmlinux add/remove: 0/0 grow/shrink: 11/144 up/down: 88/-1016 (-928) There was no difference in checkstack output. Signed-off-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcc68b8616bcac47dbfc414398e382b3b10faf4c tree b636e8378c1823d75f2f6512cb2eb6c4f52d2dd9 parent 54e8ce463a7e21dbe9dad57723ed47653ee5db15 author Alexey Dobriyan Fri, 03 Feb 2006 03:03:54 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] include/asm-*/bitops.h: fix more "~0UL >> size" typos "[PATCH] m68knommu: fix find_next_zero_bit in bitops.h" fixed a typo in m68knommu implementation of find_next_zero_bit(). grep(1) shows that cris, frv, h8300, v850 are also affected. Signed-off-by: Alexey Dobriyan Cc: Mikael Starvik Cc: David Howells Cc: Yoshinori Sato Cc: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54e8ce463a7e21dbe9dad57723ed47653ee5db15 tree fff09c6b173bfbf1657edad2bca53db9e2f2bb53 parent 501fe31df4bb94999fbe9bb42f05527df5525683 author Keith Owens Fri, 03 Feb 2006 03:03:53 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:02 -0800 [PATCH] Tell kallsyms_lookup_name() to ignore type U entries When one module exports a function symbol and another module uses that symbol then kallsyms shows the symbol twice. Once from the consumer with a type of 'U' and once from the provider with a type of 't' or 'T'. On most architectures, both entries have the same address so it does not matter which one is returned by kallsyms_lookup_name(). But on architectures with function descriptors, the 'U' entry points to the descriptor, not to the code body, which is not what we want. IA64 # grep -w qla2x00_remove_one /proc/kallsyms a000000208c25ef8 U qla2x00_remove_one [qla2300] <= descriptor a000000208bf44c0 t qla2x00_remove_one [qla2xxx] <= function body Tell kallsyms_lookup_name() to ignore type U entries in modules. Signed-off-by: Keith Owens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 501fe31df4bb94999fbe9bb42f05527df5525683 tree 01cf726e2ac5ced909582228156e884b35e367b5 parent cd2d2bf657ef1f376def6f8281202f20800fee7d author Cornelia Huck Fri, 03 Feb 2006 03:03:52 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: fix to_channelpath macro Fix broken to_channelpath macro (fortunately worked in all current cases...). Signed-off-by: Cornelia Huck Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd2d2bf657ef1f376def6f8281202f20800fee7d tree dcce983ab8bdd4881aecaf5b5435e951014caaab parent 6ff290a0c0dec40eb6f80efbb0ac88f518bbb2a7 author Heiko Carstens Fri, 03 Feb 2006 03:03:52 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: fix compat syscall wrapper Patch 9ad11ab48b1ad618bf47076e9e579f267f5306c2 changes the type of the first argument of some compat syscalls from int to unsigned int. Add these changes to the s390 compat wrapper as well. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ff290a0c0dec40eb6f80efbb0ac88f518bbb2a7 tree 2104a0923095681204896057429afabd3e700314 parent 6d7bfd14e593455a0801c62db86f82912c52c3a1 author Heiko Carstens Fri, 03 Feb 2006 03:03:51 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: compile fix: missing defines in asm-s390/io.h Compile fix: add missing __raw_read* and __raw_write* defines to include/asm-s390/io.h. These are mandatory since patch c27a0d75b33c030965cc97d3d7f571107a673fb4 was merged. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d7bfd14e593455a0801c62db86f82912c52c3a1 tree 364541b34fcafa5b47d7ee04a930471d969906d0 parent 12c3a54848a6eba2b38cd92ba5925433d223332b author Jan Glauber Fri, 03 Feb 2006 03:03:50 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: timer interface visibility Avoid visibility of kernel internal interface to user space. Signed-off-by: Jan Glauber Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12c3a54848a6eba2b38cd92ba5925433d223332b tree 79f06b7bfc761610d38a2bd27774d691e45ca55f parent d237bf49261ed812a17f7123fea9b80ef673ca0f author Stefan Weinhuber Fri, 03 Feb 2006 03:03:49 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] s390: dasd extended error reporting module The DASD extended error reporting is a facility that allows to get detailed information about certain problems in the DASD I/O. This information can be used to implement fail-over applications that can recover these problems. Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d237bf49261ed812a17f7123fea9b80ef673ca0f tree e0ac0c126e5705cc7f9116211994195bfca2d652 parent 75b84e94aa9fa74bda9a393b55ef6778b90eb1a8 author Thibaut VARENE Fri, 03 Feb 2006 03:03:48 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] ide: restore support for AEC6280M cards in aec62xx.c This patch adds missing initialization sequence, necessary to get the "Macintosh" version of AEC6280 cards to work in Linux. Without this patch, the driver hangs for several minutes trying to initialize the card and the kernel is left in an unstable state. This patch has been tested fine on ppc and i386. Signed-off-by: Thibaut VARENE Acked-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75b84e94aa9fa74bda9a393b55ef6778b90eb1a8 tree 80554e6194e28d5ee4ec99392794f4635bcecba8 parent f434baf4c6ae4a392b7c34843825af0894c89db2 author Martin Michlmayr Fri, 03 Feb 2006 03:03:47 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:01 -0800 [PATCH] Fix compilation errors in maps/dc21285.c CC drivers/mtd/maps/dc21285.o drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_32': drivers/mtd/maps/dc21285.c:113: error: invalid lvalue in increment drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_16': drivers/mtd/maps/dc21285.c:124: error: invalid lvalue in increment drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_8': drivers/mtd/maps/dc21285.c:134: error: invalid lvalue in increment make[3]: *** [drivers/mtd/maps/dc21285.o] Error 1 Signed-off-by: Martin Michlmayr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f434baf4c6ae4a392b7c34843825af0894c89db2 tree 1b2773fde539d62d3a19ba11ac5828d3fb20340d parent c9ab8b68e2abb1eff7ac0f8d118a8765130b967d author Akinobu Mita Fri, 03 Feb 2006 03:03:46 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] fix generic_fls64() Noticed by Rune Torgersen. Fix generic_fls64(). tcp_cubic is using fls64(). Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9ab8b68e2abb1eff7ac0f8d118a8765130b967d tree f316acae1a19f539bd30437b172de6987d1f4ca0 parent c0c1633bdb844ec5b4ac15c97ab8927d80550c42 author Linas Vepstas Fri, 03 Feb 2006 03:03:45 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] Documentation: Updated PCI Error Recovery This patch is a cleanup/restructuring/clarification of the PCI error handling doc. It should look rather professional at this point. Signed-off-by: Linas Vepstas Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0c1633bdb844ec5b4ac15c97ab8927d80550c42 tree 8f70444139c8564c0f1e88e1f33adda036ae6a96 parent 278ff9537030bbb292b33504f5e1f6e0126793eb author Dave Jones Fri, 03 Feb 2006 03:03:44 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] Fix build failure in recent pm_prepare_* changes. kernel/power/power.h:49: error: static declaration of 'pm_prepare_console' follows non-static declaration include/linux/suspend.h:46: error: previous declaration of 'pm_prepare_console' was here kernel/power/power.h:50: error: static declaration of 'pm_restore_console' follows non-static declaration include/linux/suspend.h:47: error: previous declaration of 'pm_restore_console' was here Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 278ff9537030bbb292b33504f5e1f6e0126793eb tree 0087828bdf4d9a4fb57c9bcafd068ff058b39797 parent e65cefe87beda627c0bfba39b387ee4bffedc93c author Ananth N Mavinakayanahalli Fri, 03 Feb 2006 03:03:43 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] Kprobes: Fix deadlock in function-return probes When two function-return probes are inserted on kfree()[1] and the second on say, sys_link()[2], and later [2] is unregistered, we have a deadlock as kfree is called with the kretprobe_lock held and the function-return probe on kfree will also try to grab the same lock. However, we can move the kfree() during unregistration to outside the spinlock as we are sure that no instances from the free list will be used after synchronized_sched() returns during the unregistration process. Thanks to Masami Hiramatsu for spotting this. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e65cefe87beda627c0bfba39b387ee4bffedc93c tree f44c1d29edcfe271261bd1a36ba9ec12db53489e parent 8ed75463b969f72fd724ba0c01107fa443522321 author Adrian Bunk Fri, 03 Feb 2006 03:03:42 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] kernel/kprobes.c: fix a warning #ifndef ARCH_SUPPORTS_KRETPROBES kernel/kprobes.c:353: warning: 'pre_handler_kretprobe' defined but not used Signed-off-by: Adrian Bunk Acked-by: Ananth N Mavinakayanahalli Acked-by: "Keshavamurthy, Anil S" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ed75463b969f72fd724ba0c01107fa443522321 tree 4d14d9a4374ea981e3e3f5e94cc292c392fff222 parent 29fc7e3e70a05e9eea28afb6707a39c1a53e2f66 author NeilBrown Fri, 03 Feb 2006 03:03:41 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] md: Make sure rdev->size gets set for version-1 superblocks Sometimes it doesn't so make the code more like the version-0 code which works. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29fc7e3e70a05e9eea28afb6707a39c1a53e2f66 tree 4e8bc28c717116ade3cd723a921f3260656327aa parent 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c author NeilBrown Fri, 03 Feb 2006 03:03:41 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:32:00 -0800 [PATCH] md: Assorted little md fixes - version-1 superblock + The default_bitmap_offset is in sectors, not bytes. + the 'size' field in the superblock is in sectors, not KB - raid0_run should return a negative number on error, not '1' - raid10_read_balance should not return a valid 'disk' number if ->rdev turned out to be NULL - kmem_cache_destroy doesn't like being passed a NULL. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c tree bc74bef37ecdceed31a15b4aefd1defccecf4a40 parent ab11f89929b785daaa428801bd8b7e65241d7913 author NeilBrown Fri, 03 Feb 2006 03:03:40 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:31:59 -0800 [PATCH] md: Handle overflow of mdu_array_info_t->size better mdu_array_info_t->size is 'int', which isn't big enough for the size (in KB of each component in) some arrays. So rather than a random overflow, set size to -1 when it cannot be set correctly. To update aspect on an array, userspace will sometimes: get_array_info change one field set_array_info in this case, we don't want the '-1' in 'size' to change to size, or look like a size change at all. So test for that in update_array_info. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab11f89929b785daaa428801bd8b7e65241d7913 tree 490adc87a0dafd1085ce872818e19285c09c576a parent 1989e20cc1e7491232795f9dac9b745e4329dfd8 author Linas Vepstas Fri, 03 Feb 2006 03:03:38 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:31:59 -0800 [PATCH] Clean up Documentation/driver-model/overview.txt Edits to the driver-model documentation for grammar, clarity and content. These docs haven't been updated in years, and some of the technical content and discussion has become stale; this patch updates these. In addition, some of the language is awkward. Fix this. (I'm trying to cleanup the other files in this directory also, patches for these will come a bit later). Signed-off-by: Linas Vepstas Acked-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1989e20cc1e7491232795f9dac9b745e4329dfd8 tree 0cc80048b8068bde1088246db3dff3bf42ecf4a7 parent 826eeb53a6f264842200d3311d69107d2eb25f5e author Michal Ostrowski Fri, 03 Feb 2006 03:03:37 -0800 committer Linus Torvalds Fri, 03 Feb 2006 08:31:59 -0800 [PATCH] Fix RocketPort driver Call "ld->receive_buf" using the start of the character and flag buffers, rather than the ends. Signed-off-by: Michal Ostrowski Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dec456d1fe73e0539625f0973ee8ef8fb805943 tree 56d37da8d8e37154030d3f45224ae852195977e6 parent 6e2be3ea4fab4d1c02e369719311e8d7ae6cc7c1 author Stephen Hemminger Thu, 02 Feb 2006 20:40:09 -0800 committer David S. Miller Thu, 02 Feb 2006 20:40:09 -0800 [NET]: Add CONFIG_NETDEBUG to suppress bad packet messages. If you are on a hostile network, or are running protocol tests, you can easily get the logged swamped by messages about bad UDP and ICMP packets. This turns those messages off unless a config option is enabled. Signed-off-by: Stephen Hemminger Acked-by: Dave Jones Signed-off-by: David S. Miller commit 6e2be3ea4fab4d1c02e369719311e8d7ae6cc7c1 tree e8f036af13821f9e5ee5062fa50f3c30a5c4ebee parent 7faa006f94fda56a587242b2a22fa19abf840222 author David S. Miller Thu, 02 Feb 2006 17:29:59 -0800 committer David S. Miller Thu, 02 Feb 2006 17:29:59 -0800 [TG3]: Update driver version and release date. Signed-off-by: David S. Miller commit 7faa006f94fda56a587242b2a22fa19abf840222 tree b1354b391829bc3f1d83fd3121167318f8472147 parent 3f330317ab4973178423aba750d6d0ca5ce0024a author Michael Chan Thu, 02 Feb 2006 17:29:28 -0800 committer David S. Miller Thu, 02 Feb 2006 17:29:28 -0800 [TG3]: Flush tg3_reset_task() Make sure tg3_reset_task() is flushed in the close and suspend paths as noted by Jeff Garzik. In the close path, calling flush_scheduled_work() may cause deadlock if linkwatch_event() is on the workqueue. linkwatch_event() will try to get the rtnl_lock() which is already held by tg3_close(). So instead, we set a flag in tg3_reset_task() and tg3_close() polls the flag until it is cleared. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 3f330317ab4973178423aba750d6d0ca5ce0024a tree 177b1a3f213410bc526fda0cdb1b0568ea282d82 parent f00c401b9b5f0a90e2eb05705f5988fbda0b082b author Pablo Neira Ayuso Thu, 02 Feb 2006 17:15:41 -0800 committer David S. Miller Thu, 02 Feb 2006 17:15:41 -0800 [TEXTSEARCH]: Fix broken good shift array calculation in Boyer-Moore The current logic does not calculate correctly the good shift array: Let x be the pattern that is being searched. Let y be the block of data. The good shift array aligns the segment: x[i+1 ... m-1] = y[i+j+1 ... j+m-1] with its rightmost occurrence in x that fulfils x[i] neq y[i+j]. In previous version, the good shift array for the pattern ANPANMAN is: [1, 8, 3, 8, 8, 8, 8, 8] and should be: [1, 8, 3, 6, 6, 6, 6, 6] Signed-off-by: Pablo Neira Ayuso Signed-off-by: David S. Miller commit f00c401b9b5f0a90e2eb05705f5988fbda0b082b tree 0ab0be0da08318dd87b5c9190247f6381ceb0abb parent 95f7daf1c058dc6afbc2d33b6a65ce1bae132dc8 author Horms Thu, 02 Feb 2006 17:03:18 -0800 committer David S. Miller Thu, 02 Feb 2006 17:03:18 -0800 [IPV4]: Remove suprious use of goto out: in icmp_reply This seems to be an artifact of the follwoing commit in February '02. e7e173af42dbf37b1d946f9ee00219cb3b2bea6a In a nutshell, goto out and return actually do the same thing, and both are called in this function. This patch removes out. Signed-Off-By: Horms Signed-off-by: David S. Miller commit 95f7daf1c058dc6afbc2d33b6a65ce1bae132dc8 tree 47b6d056cba5339643ac39775864aeb904f0f848 parent 6f4b6ec1cffcbb12cc47244381496d59b6a5a790 author Horms Thu, 02 Feb 2006 17:02:25 -0800 committer David S. Miller Thu, 02 Feb 2006 17:02:25 -0800 [IPV4]: Document icmp_errors_use_inbound_ifaddr sysctl Taken largely from the commit of the patch that added this feature: 1c2fb7f93cb20621772bf304f3dba0849942e5db I'm not sure about the ordering of the options in sysctl.txt, so I took a wild guess about where it fits. Signed-Off-By: Horms Signed-off-by: David S. Miller commit 6f4b6ec1cffcbb12cc47244381496d59b6a5a790 tree d43bba50024fcbe32faae70a5574aba45f2709ab parent f8addb3215bf58154f189017d934dfc06b62c75e author Herbert Xu Thu, 02 Feb 2006 17:01:13 -0800 committer David S. Miller Thu, 02 Feb 2006 17:01:13 -0800 [IPV6]: Fix illegal dst locking in softirq context. On Tue, Jan 31, 2006 at 10:24:32PM +0100, Ingo Molnar wrote: > > [] _write_lock+0x8/0x10 > [] inet6_destroy_sock+0x25/0x100 > [] tcp_v6_destroy_sock+0x12/0x20 > [] inet_csk_destroy_sock+0x4a/0x150 > [] tcp_rcv_state_process+0xd4c/0xdd0 > [] tcp_v4_do_rcv+0xa9/0x340 > [] tcp_v4_rcv+0x8eb/0x9d0 OK this is definitely broken. We should never touch the dst lock in softirq context. Since inet6_destroy_sock may be called from that context due to the asynchronous nature of sockets, we can't take the lock there. In fact this sk_dst_reset is totally redundant since all IPv6 sockets use inet_sock_destruct as their socket destructor which always cleans up the dst anyway. So the solution is to simply remove the call. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit f8addb3215bf58154f189017d934dfc06b62c75e tree 408ad5d1eac85858c44b68b957ae235a4ce41eed parent 27852c26baab8b95fc9a2b3e8a18770ecd553f10 author Herbert Xu Thu, 02 Feb 2006 16:59:16 -0800 committer David S. Miller Thu, 02 Feb 2006 16:59:16 -0800 [IPV4] multipath_wrandom: Fix softirq-unsafe spin lock usage The spin locks in multipath_wrandom may be obtained from either process context or softirq context depending on whether the packet is locally or remotely generated. Therefore we need to disable BH processing when taking these locks. This bug was found by Ingo's lock validator. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 27852c26baab8b95fc9a2b3e8a18770ecd553f10 tree f07d3c696598ce6e7181ee30344bce899971e062 parent 4641e7a334adf6856300a98e7296dfc886c446af author Vlad Yasevich Thu, 02 Feb 2006 16:57:31 -0800 committer David S. Miller Thu, 02 Feb 2006 16:57:31 -0800 [SCTP]: Fix 'fast retransmit' to send a TSN only once. SCTP used to "fast retransmit" a TSN every time we hit the number of missing reports for the TSN. However the Implementers Guide specifies that we should only "fast retransmit" a given TSN once. Subsequent retransmits should be timeouts only. Also change the number of missing reports to 3 as per the latest IG(similar to TCP). Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 4641e7a334adf6856300a98e7296dfc886c446af tree 39030c280f6fbfa183c2ce5a0db37118ce5a7810 parent 42c5e15f18d63c1ecf79d52bdaf4ea31cd22416d author Herbert Xu Thu, 02 Feb 2006 16:55:45 -0800 committer David S. Miller Thu, 02 Feb 2006 16:55:45 -0800 [IPV6]: Don't hold extra ref count in ipv6_ifa_notify Currently the logic in ipv6_ifa_notify is to hold an extra reference count for addrconf dst's that get added to the routing table. Thus, when addrconf dst entries are taken out of the routing table, we need to drop that dst. However, addrconf dst entries may be removed from the routing table by means other than __ipv6_ifa_notify. So we're faced with the choice of either fixing up all places where addrconf dst entries are removed, or dropping the extra reference count altogether. I chose the latter because the ifp itself always holds a dst reference count of 1 while it's alive. This is dropped just before we kfree the ifp object. Therefore we know that in __ipv6_ifa_notify we will always hold that count. This bug was found by Eric W. Biederman. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 42c5e15f18d63c1ecf79d52bdaf4ea31cd22416d tree 1f93d1430321312857a93157276aa94c2b5db14d parent 1113a7e92e483074c6235da59460759e33b9b144 author Stephen Hemminger Thu, 02 Feb 2006 16:53:26 -0800 committer David S. Miller Thu, 02 Feb 2006 16:53:26 -0800 [NET] snap: needs hardware checksum fix The SNAP code pops off it's 5 byte header, but doesn't adjust the checksum. This would cause problems when using device that does IP over SNAP and hardware receive checksums. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 9c0f4755bd5a117595761c95b93c29e8d9ca07b5 tree 33737024ea3ad4dd9d1cfe4a043fb947f00059db parent 3ec9c59449744dcc390d593a017d30671546fd9e author Atsushi Nemoto Thu, 02 Feb 2006 20:53:39 +0000 committer Russell King Thu, 02 Feb 2006 20:53:39 +0000 [SERIAL] initialize spinlock for port failed to setup console It seems serial_core intend to initialize port->lock just once for each ports. This is done in uart_set_options() for console, and in uart_add_one_port() for other ports. But there is a case the port->lock is not initialized by serial_core. If the setup function for the console was failed, it will not call uart_set_options() but the port is marked as console (uart_console(port) returns 1). It can happen if console was PCI port which can not detected at the time of register_console. This patch is to initialize port->lock for such console port. With this change, most of spin_lock_init() (some of them are labeled "Temporary fix.") in low-level serial drivers can be omitted. Signed-off-by: Atsushi Nemoto Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 3ec9c59449744dcc390d593a017d30671546fd9e tree c478df4c56fcf92ae614463542b27b6f40f7a6a1 parent b4103333d7904310d34de18d85e51e3d74f00a3b author Andrey Panin Thu, 02 Feb 2006 20:15:09 +0000 committer Russell King Thu, 02 Feb 2006 20:15:09 +0000 [SERIAL] SIIG 8-port serial boards support This patch adds support for SIIG 8-port boards. These boards have 4 ports in separate bars and another 4 ports in the single bar. Because of this strange port arrangement these cards need special setup function. Fortunately no other SIIG cards have more than 4 port, so this setup function could be used for them too. Signed-off-by: Andrey Panin Signed-off-by: Russell King commit e92251762d02a46177d4105d1744041e3f8bc465 tree 4696c14854b2a5f3982a613fed63e01d941727f3 parent a6df590dd8b7644c8e298e3b13442bcd6ceeb739 author Russell King Thu, 02 Feb 2006 12:23:12 +0000 committer Russell King Thu, 02 Feb 2006 12:23:12 +0000 [MMC] Add MMC command type flags Some hosts need to know the command type, so pass it via a set of flags in cmd->flags. Signed-off-by: Russell King commit 83f755f5a66a5393c3ae8925719fde0c740ac04e tree 077f98ab5fe9a9af548a5efbe1b67730c193ad9f parent 0ca5bc3de715f6e031d44ffecdd2d127891eccf5 author Lucas Correia Villa Real Wed, 01 Feb 2006 21:24:24 +0000 committer Russell King Wed, 01 Feb 2006 21:24:24 +0000 [ARM] 3286/2: S3C2400 - adds to the table of supported CPUs Patch from Lucas Correia Villa Real Oops, sorry for the typo on name_s3c2400, a new patch is attached. About GSTATUS1, S3C2400 doesn't have that register, so it's not safe to use that memory address to identify its CPU. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Russell King commit 0ca5bc3de715f6e031d44ffecdd2d127891eccf5 tree ec963c52b7c60d1cd6862798f5bdfce87387082b parent 7610dfa3723e87705964b29db9775620d96bf618 author Lucas Correia Villa Real Wed, 01 Feb 2006 21:24:23 +0000 committer Russell King Wed, 01 Feb 2006 21:24:23 +0000 [ARM] 3284/1: S3C2400 - adds support to GPIO Patch from Lucas Correia Villa Real This patch adds support to GPIO on the S3C2400, which is going to be used by the GP32 machine and the SMDK2400 development board. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 7610dfa3723e87705964b29db9775620d96bf618 tree 14e05b6c04bd4d0971320d425a30cd71d72a4866 parent 18afea04f1dfc5d52fd2579cd17adc3956acd4ad author Russ Dill Wed, 01 Feb 2006 21:07:28 +0000 committer Russell King Wed, 01 Feb 2006 21:07:28 +0000 [ARM] 3295/1: Fix oprofile init return value Patch from Russ Dill The oprofile init code was broken in commit c6b9da. The new logic will always return -ENODEV. This fixes oprofile_arch_init to return 0 on success, and return the return value of spec->init() if applicable. Signed-off-by: Russ Dill Signed-off-by: Russell King commit 18afea04f1dfc5d52fd2579cd17adc3956acd4ad tree 45b56a2a6c16662bfd135637295798a9fba3ac69 parent 8a052e0bc25ff52f17b3dff150846ca9eb969162 author Nicolas Pitre Wed, 01 Feb 2006 19:26:01 +0000 committer Russell King Wed, 01 Feb 2006 19:26:01 +0000 [ARM] 3294/1: don't invalidate individual BTB entries on ARMv6 Patch from Nicolas Pitre Doing so adds a much larger cost to the loop than the cost implied by simply invalidating the whole BTB at once. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 8a052e0bc25ff52f17b3dff150846ca9eb969162 tree 607355bc9ce1ac2d6f5611287cf89fa473d48d02 parent 62500d1f8eadff078cca462dc4df035a29180383 author Nicolas Pitre Wed, 01 Feb 2006 19:26:01 +0000 committer Russell King Wed, 01 Feb 2006 19:26:01 +0000 [ARM] 3293/1: don't invalidate the whole I-cache with xscale_coherent_user_range Patch from Nicolas Pitre The mini I-cache issue is valid only for kernel space since debuggers would not fly if they used user space addresses for their stubs. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 62500d1f8eadff078cca462dc4df035a29180383 tree 774ad280d77841292b0fb7bd1fe6f99251aa38c2 parent afe5df208e6ecd09b7d1acf36eb2cf945842bee5 author Richard Purdie Wed, 01 Feb 2006 19:26:00 +0000 committer Russell King Wed, 01 Feb 2006 19:26:00 +0000 [ARM] 3292/1: Fix memory corruption in asm-arm/checksum.h: ip_fast_csum() Patch from Richard Purdie ip_fast_csum() accesses memory via a pointer (iph) within an asm function. To prevent memory corruption when the function is inlined, it needs "memory" on the clobber list. This fixes ip checksum errors reported by a Zaurus user. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit afe5df208e6ecd09b7d1acf36eb2cf945842bee5 tree 8724b581df17f8c9bbfd38563788845335a77e8f parent f27f218cdfb12c9d2b285ec4a0bce588b5c531d3 author Richard Purdie Wed, 01 Feb 2006 19:25:59 +0000 committer Russell King Wed, 01 Feb 2006 19:25:59 +0000 [ARM] 3291/1: PXA27x: Correct get_clk_frequency_khz turbo flag handling Patch from Richard Purdie The turbo flag is in bit 0 of the CLKCFG register, not bit 1. This patch corrects this so get_clk_frequency_khz returns a correct value. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit f27f218cdfb12c9d2b285ec4a0bce588b5c531d3 tree 38e2663bb2cfe2f4af663b837288d6d6b069bafb parent a6df590dd8b7644c8e298e3b13442bcd6ceeb739 author Catalin Marinas Wed, 01 Feb 2006 19:25:58 +0000 committer Russell King Wed, 01 Feb 2006 19:25:58 +0000 [ARM] 3290/1: Fix the FIFO size detection Patch from Catalin Marinas AACI reports TX FIFO full after the first write to it if the AC97 is not enabled. This patch enables the AC97 probing before the check for the TX FIFO size. The patch also adds a warning if the TX FIFO size is not multiple of 16. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 68ee3eb8295c9c164071fcbd367c419121bd55f8 tree 63fa7c1e4637042f0da3b43b996d714e3f1ff2cc parent a2ba82cd7de281721a875a73a5a5894882760fab author Kyle McMartin Sun, 29 Jan 2006 20:25:49 -0700 committer Kyle McMartin Mon, 30 Jan 2006 00:53:14 -0500 [PARISC] New syscalls (inotify, *at, pselect6/ppoll, migrate_pages) Wire up some new syscalls that have been merged upstream, o inotify o openat et al o pselect6/ppoll o migrate_pages Signed-off-by: Kyle McMartin commit a2ba82cd7de281721a875a73a5a5894882760fab tree dd38f58c17a6a6b0630bbff13d8efeeae9979dad parent f671c45df23005692daa200aba768c642fb14ef2 author Kyle McMartin Fri, 27 Jan 2006 23:59:36 -0700 committer Kyle McMartin Sun, 29 Jan 2006 19:33:40 -0500 [PARISC] Simplify DISCONTIGMEM in Kconfig parisc was previously displaying both the mm/Kconfig memory model menu, and its own prompt. Remove prompt and have CONFIG_64BIT toggle between DISCONTIGMEM and FLATMEM. Also remove the EXPERIMENTAL from discontigmem support... It's been running fine for months (years?) now. Signed-off-by: Kyle McMartin commit f671c45df23005692daa200aba768c642fb14ef2 tree fbc882669f06171cd1a8be2ad7b99f062a6e1e57 parent 16541c8745e28f62b3dcb6cb354b73c9c01ea178 author Kyle McMartin Sun, 15 Jan 2006 14:10:29 -0500 committer Kyle McMartin Sun, 22 Jan 2006 20:57:42 -0500 [PARISC] Arch-specific compat signals Add enough arch-specific compat signals code to enable parisc64 to compile and boot out of the mainline tree. There are likely still many dragons here, but this is a start to squashing the last big difference between the mainline tree and the parisc-linux tree. The remaining bugs can be squashed as they come up. Signed-off-by: Kyle McMartin commit 16541c8745e28f62b3dcb6cb354b73c9c01ea178 tree 6ac1bd2fec52c395a4e2809736b14cc366726725 parent 81a3de3efd61c2483a303cf0b6227525d2f28df7 author Kyle McMartin Sat, 21 Jan 2006 21:55:06 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:57 -0500 [PARISC] Clean up printk in superio.c Clean up some of the messages printed by the superio driver by defining a prefix instead of duplicating it in every message. Also some small coding style cleanups. Signed-off-by: Kyle McMartin commit 81a3de3efd61c2483a303cf0b6227525d2f28df7 tree 038a7c16bab46260fa2e9cce6890ab4e042fc332 parent 1bcdd8548286743e1d6b3d53c96a90c6da975620 author Helge Deller Sun, 15 Jan 2006 12:11:50 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:55 -0500 [PARISC] Use DEBUG_KERNEL to catch used-after-free __init data Use CONFIG_DEBUG_KERNEL to catch kernel code which tries to access __init data after it is freed. When CONFIG_DEBUG_KERNEL is not set this also cleans up a WARN_ON at boot time. Also remove some dead code from mm/init.c Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 1bcdd8548286743e1d6b3d53c96a90c6da975620 tree b244aa416992bbd06c4153ec2c97022629826ef2 parent a2bb214dcd1db862fdb6421e21f1cff0c3535162 author Helge Deller Fri, 13 Jan 2006 13:21:06 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:54 -0500 [PARISC] Add CONFIG_DEBUG_RODATA to protect read-only data Add the parisc version of the "mark rodata section read only" patches. Based on code from and Signed-off-by Arjan van de Ven , Ingo Molnar , Andi Kleen , Andrew Morton , Linus Torvalds . Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit a2bb214dcd1db862fdb6421e21f1cff0c3535162 tree 9b02ac6c10ebe82d47fbffc8b990808fa8919274 parent 85509c00073d4bdd1f4b7796180a15198f2e62da author Matthew Wilcox Tue, 17 Jan 2006 11:43:48 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:52 -0500 [PARISC] Remove {,un}lock_kernel from perf ioctl Remove the lock_kernel/unlock_kernel pair in the ioctl method. It plainly wasn't protecting anything. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 85509c00073d4bdd1f4b7796180a15198f2e62da tree 0249b9515dac45bd2adb645e05706eee0ef807e3 parent 526110f8c8d2326413e2de5496d196ee9d4856ad author Kyle McMartin Tue, 17 Jan 2006 22:33:32 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:50 -0500 [PARISC] Add chassis_power_off routine Define a chassis_power_off routine that machines which have a way to turn off the power supply can hook into. Formerly they were using pm_power_off, which is now being used by generic code. Make lasi.c use chassis_power_off instead of pm_power_off. Note, all machines need to call machine_power_off so that the switch can power off the machine, though halt -p may not necessarily be able to work properly on the machine. Signed-off-by: Kyle McMartin commit 526110f8c8d2326413e2de5496d196ee9d4856ad tree f233775851b14064d3ec942a5d32515f16df4175 parent 9073315bbc3e2149d8ffcc4b86932ca6497c94ce author Kyle McMartin Fri, 13 Jan 2006 22:05:21 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:48 -0500 [PARISC] Remove obsolete _hlt cruft Remove a bunch of obsolete code from process.c, these routines were likely imported from the i386 version of process.c when the port started. The routines are only used in floppy.c, which I seriously doubt will ever work on parisc, due to architectural assumptions. Signed-off-by: Kyle McMartin commit 9073315bbc3e2149d8ffcc4b86932ca6497c94ce tree 830ef74fc9ca5be7019fece4cdd586d9f3926856 parent 2e13b31e5b0ff0b1f1e3359ebf8ca46c356e9391 author Kyle McMartin Fri, 13 Jan 2006 22:05:21 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:46 -0500 [PARISC] Move pm_power_off export to process.c Move the EXPORT_SYMBOL() of pm_power_off from parisc_ksyms.c to the location of its definition in process.c Signed-off-by: Kyle McMartin commit 2e13b31e5b0ff0b1f1e3359ebf8ca46c356e9391 tree f6bbc910ab5df736eb979ee5178f611f33f686b1 parent 96629c0b111dbb31d14338a55b7f650e9c490284 author Kyle McMartin Tue, 17 Jan 2006 08:33:01 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:44 -0500 [PARISC] atomic64 support Implement atomic64_t so atomic_long_t works on parisc. Also clean up some of the coding style in atomic.h, and make sure ATOMIC_INIT is cast properly. Signed-off-by: Kyle McMartin commit 96629c0b111dbb31d14338a55b7f650e9c490284 tree d60fb9813eb0f6a0bfa528eccf1d16d2a696fabb parent 10992092a8a6e445199f30e56789322851479019 author Helge Deller Sun, 15 Jan 2006 11:52:22 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:43 -0500 [PARISC] Clean up compiler warning in pci.c Avoid compiler warning for unused variables on 32bit kernels by conditionalizing the local variables on CONFIG_64BIT. PCI_HOST_ADDR() only uses the hba argument on 64bit compiles. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 10992092a8a6e445199f30e56789322851479019 tree 22bee56057fd82642b641e0c2ae72bb7d0f2508d parent 370361f884c032216ece841ac5328393b136f0bb author Kyle McMartin Fri, 13 Jan 2006 22:05:21 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:41 -0500 [PARISC] Use F_EXTEND() for COMMAND_GLOBAL Instead of wrapping the define of COMMAND_GLOBAL in #ifdef __LP64__ use the F_EXTEND() macro defined in asm/io.h, which is the preferred way of extending mmio space addresses for either 32 or 64 bit machines. Signed-off-by: Kyle McMartin commit 370361f884c032216ece841ac5328393b136f0bb tree acc941df08f10c51bae4a976d1ba93585de3c389 parent c475eea2929a7f0dac21d20e10562a491fcf7c45 author James Bottomley Wed, 11 Jan 2006 15:11:30 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:39 -0500 [PARISC] Fix floating point invalid exception trap handler Fix our trap handler to issue the correct floating point exception for both types of invalid trap. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit c475eea2929a7f0dac21d20e10562a491fcf7c45 tree c26fc757139765e338181f52e3b3d4177f969ea1 parent c742842223269eb8eb4b86ac05ad07e6e156526b author Helge Deller Sun, 15 Jan 2006 12:11:50 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:37 -0500 [PARISC] Drop unused do_check_pgt_cache() Drop the unused do_check_pgt_cache routine from mm/init.c and its prototype in asm/pgalloc.h Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit c742842223269eb8eb4b86ac05ad07e6e156526b tree 8d851f54bde748f33ba5be4b0d23189fa696a652 parent 2c9aadabf454fb07b8f7533096e22bf005dd08df author Thibaut VARENE Wed, 11 Jan 2006 13:59:53 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:35 -0500 [PARISC] pdc_stable version 0.22 pdc_stable v0.22, changes since v0.10: o renamed root subsystem from 'pdc' to 'stable' o split 'info' into several files, one per PDC field o implemented 'autoboot' and 'autosearch' write calls to toggle these flags o grant read permission to all users on "safe" files o more code cleanup (removed duplicate code) o avoid bad stable storage clobbering by write locking critical sections o print consistent data as well o SMP cleanups Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 2c9aadabf454fb07b8f7533096e22bf005dd08df tree fdc041a98022f348808aab1084b3ef2a39c71ee8 parent cb6fc18e9ca615f03d18e60c49855b434ca2e51e author Grant Grundler Thu, 19 Jan 2006 23:38:03 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:34 -0500 [PARISC] Remove unnecessary extern declarations from asm/pci.h Remove two unnecessary extern declarations from asm/pci.h. They collide with what gcc4.0 assumed was static (and should be static). Found by Joel Soete. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit cb6fc18e9ca615f03d18e60c49855b434ca2e51e tree c35af13054f8eeb7a24c928edf55fdc69c912562 parent a1c744439591b1d4350f0926615d501e7cfbb708 author Helge Deller Tue, 17 Jan 2006 12:40:40 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:31 -0500 [PARISC] Use kzalloc and other janitor-style cleanups Helge, o Convert a bunch of kmalloc/memset uses to kzalloc. o pci.c: Add some __read_mostly annotations. o pci.c: Move constant pci_post_reset_delay to asm/pci.h o grfioctl.h: Add A4450A to comment of CRT_ID_VISUALIZE_EG. o Add some consts to perf.c/perf_images.h Matthew, o sticore.c: Add some consts to suppress compile warnings. Signed-off-by: Helge Deller Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit a1c744439591b1d4350f0926615d501e7cfbb708 tree 3c1f1bd9a3e8f876233d05f247a922246a6ed0df parent ce33941f027bc1853ceb43d04d6204f45181703d author Matthew Wilcox Tue, 17 Jan 2006 11:05:35 -0700 committer Kyle McMartin Sun, 22 Jan 2006 20:26:29 -0500 [PARISC] Update b180_defconfig Update b180_defconfig to be more usable on other similar machines. Enabling Lasi 82596, Harmony, Mux console, CCIO, HPPB, etc., means this config is suitable for not only BXXX machines, but also CXXX and JXXX class machines. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit ce33941f027bc1853ceb43d04d6204f45181703d tree 3c55fe5a797f5e128a748d0c7a133b1fca03a384 parent 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 author Matthew Wilcox Tue, 10 Jan 2006 20:47:49 -0500 committer Kyle McMartin Sat, 21 Jan 2006 20:46:31 -0500 [PARISC] Make flush_tlb_all_local take a void * Make flush_tlb_all_local take a void * so it doesn't have to be cast when using on_each_cpu(). This becomes a problem when on_each_cpu is a macro. Also remove the prototype of flush_tlb_all_local from .c files. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin