commit 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 tree 2465db413b527b65f2000aa7aa33d0f962ca3479 parent b01a55a865eeac0371f1a73d36b134d23d938e1a parent 07203f6471a11f4eda48acbe528c0ce4704ad42c author Linus Torvalds Wed, 09 Nov 2005 19:57:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 19:57:25 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6 commit b01a55a865eeac0371f1a73d36b134d23d938e1a tree 06f8bcd5c006a17ad46ce3306254187dd5d8bf75 parent 940e3318c36394939d805e797d7be39ddaaa7911 parent 482a8524f85a7d8c40c6fb5d072e85bc2fef327f author Linus Torvalds Wed, 09 Nov 2005 19:32:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 19:32:25 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 940e3318c36394939d805e797d7be39ddaaa7911 tree aa0bab66b2bde96f01150504909d3ef5de41a7d1 parent e4d76e1c0b15590f2ad9bba89426c2520cd22ca6 author Trond Myklebust Wed, 09 Nov 2005 21:45:24 -0500 committer Linus Torvalds Wed, 09 Nov 2005 19:31:33 -0800 [PATCH] SUNRPC: don't reencode when looping in call transmit. If the call to xprt_transmit() fails due to socket buffer space exhaustion, we do not need to re-encode the RPC message when we loop back through call_transmit. Re-encoding can actually end up triggering the WARN_ON() in call_decode() if we re-encode something like a read() request and auth->au_rslack has changed. It can also cause us to increment the RPCSEC_GSS sequence number beyond the limits of the allowed window. Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit 482a8524f85a7d8c40c6fb5d072e85bc2fef327f tree cbd4225da63a687dd70441d41aad35ff5c171f48 parent 9ac4a16983ea4edf719c390a1a234d956947688d author Thomas Graf Thu, 10 Nov 2005 02:25:56 +0100 committer Thomas Graf Thu, 10 Nov 2005 02:26:41 +0100 [NETLINK]: Generic netlink family The generic netlink family builds on top of netlink and provides simplifies access for the less demanding netlink users. It solves the problem of protocol numbers running out by introducing a so called controller taking care of id management and name resolving. Generic netlink modules register themself after filling out their id card (struct genl_family), after successful registration the modules are able to register callbacks to command numbers by filling out a struct genl_ops and calling genl_register_op(). The registered callbacks are invoked with attributes parsed making life of simple modules a lot easier. Although generic netlink modules can request static identifiers, it is recommended to use GENL_ID_GENERATE and to let the controller assign a unique identifier to the module. Userspace applications will then ask the controller and lookup the idenfier by the module name. Due to the current multicast implementation of netlink, the number of generic netlink modules is restricted to 1024 to avoid wasting memory for the per socket multiacst subscription bitmask. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 9ac4a16983ea4edf719c390a1a234d956947688d tree 6beb6227e9f676c709dc0eaa2c601bcd3b9b44f5 parent 88fc2c84312d095545c08a9f871ad1888a688cf6 author Thomas Graf Thu, 10 Nov 2005 02:25:55 +0100 committer Thomas Graf Thu, 10 Nov 2005 02:26:40 +0100 [RTNETLINK]: Use generic netlink receive queue processor Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 88fc2c84312d095545c08a9f871ad1888a688cf6 tree 73ff00acabf9cee4b3a8c5b00f4cd44262fdc7df parent 82ace47a7256fd39d370a6442e0649f75961b831 author Thomas Graf Thu, 10 Nov 2005 02:25:54 +0100 committer Thomas Graf Thu, 10 Nov 2005 02:26:40 +0100 [XFRM]: Use generic netlink receive queue processor Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 82ace47a7256fd39d370a6442e0649f75961b831 tree 261fafd7cb6b8b7bf023fa26cba1636ae2ec2f79 parent a8f74b228826eef1cbe04a05647d61e896f5fd63 author Thomas Graf Thu, 10 Nov 2005 02:25:53 +0100 committer Thomas Graf Thu, 10 Nov 2005 02:26:40 +0100 [NETLINK]: Generic netlink receive queue processor Introduces netlink_run_queue() to handle the receive queue of a netlink socket in a generic way. Processes as much as there was in the queue upon entry and invokes a callback function for each netlink message found. The callback function may refuse a message by returning a negative error code but setting the error pointer to 0 in which case netlink_run_queue() will return with a qlen != 0. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit a8f74b228826eef1cbe04a05647d61e896f5fd63 tree 6abffeafca83f1aa342ed905367fab1f5a1ac554 parent bfa83a9e03cf8d501c6272999843470afecb32ed author Thomas Graf Thu, 10 Nov 2005 02:25:52 +0100 committer Thomas Graf Thu, 10 Nov 2005 02:26:40 +0100 [NETLINK]: Make netlink_callback->done() optional Most netlink families make no use of the done() callback, making it optional gets rid of all unnecessary dummy implementations. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit bfa83a9e03cf8d501c6272999843470afecb32ed tree 1584441824b67bee52906a1345d8277e6965fe1b parent 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 author Thomas Graf Thu, 10 Nov 2005 02:25:51 +0100 committer Thomas Graf Thu, 10 Nov 2005 02:26:40 +0100 [NETLINK]: Type-safe netlink messages/attributes interface Introduces a new type-safe interface for netlink message and attributes handling. The interface is fully binary compatible with the old interface towards userspace. Besides type safety, this interface features attribute validation capabilities, simplified message contstruction, and documentation. The resulting netlink code should be smaller, less error prone and easier to understand. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1 tree c964a62bdd766eca436c30f51a9e33e2b798b0a6 parent 6730c3c14421b7c924d06e31bb66e0adad225547 author Yasuyuki Kozakai Wed, 09 Nov 2005 16:38:16 -0800 committer David S. Miller Wed, 09 Nov 2005 16:38:16 -0800 [NETFILTER]: Add nf_conntrack subsystem. The existing connection tracking subsystem in netfilter can only handle ipv4. There were basically two choices present to add connection tracking support for ipv6. We could either duplicate all of the ipv4 connection tracking code into an ipv6 counterpart, or (the choice taken by these patches) we could design a generic layer that could handle both ipv4 and ipv6 and thus requiring only one sub-protocol (TCP, UDP, etc.) connection tracking helper module to be written. In fact nf_conntrack is capable of working with any layer 3 protocol. The existing ipv4 specific conntrack code could also not deal with the pecularities of doing connection tracking on ipv6, which is also cured here. For example, these issues include: 1) ICMPv6 handling, which is used for neighbour discovery in ipv6 thus some messages such as these should not participate in connection tracking since effectively they are like ARP messages 2) fragmentation must be handled differently in ipv6, because the simplistic "defrag, connection track and NAT, refrag" (which the existing ipv4 connection tracking does) approach simply isn't feasible in ipv6 3) ipv6 extension header parsing must occur at the correct spots before and after connection tracking decisions, and there were no provisions for this in the existing connection tracking design 4) ipv6 has no need for stateful NAT The ipv4 specific conntrack layer is kept around, until all of the ipv4 specific conntrack helpers are ported over to nf_conntrack and it is feature complete. Once that occurs, the old conntrack stuff will get placed into the feature-removal-schedule and we will fully kill it off 6 months later. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit e4d76e1c0b15590f2ad9bba89426c2520cd22ca6 tree 077aa0dd49bc49e93e18ec9645443b185d513094 parent a47ab9371e664952b1104a70ec8e9b74db3f7a5f author Andrew Morton Wed, 09 Nov 2005 15:45:30 -0800 committer Linus Torvalds Wed, 09 Nov 2005 16:07:44 -0800 [PATCH] powerpc: sched fixups - Re-add a hunk lost during merge: ppc64 is missing the hunk that disables preempt on the secondary CPUs before they call cpu_idle(). - ppc's cpu_idle() had the need_resched() test wrong. Cc: Nick Piggin CC: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a47ab9371e664952b1104a70ec8e9b74db3f7a5f tree 4efadd76dcd5c1712ce2e337ef2e8a87acdc8518 parent 6730c3c14421b7c924d06e31bb66e0adad225547 author Chen, Kenneth W Wed, 09 Nov 2005 15:45:29 -0800 committer Linus Torvalds Wed, 09 Nov 2005 16:07:44 -0800 [PATCH] optimize activate_task() recalc_task_prio() is called from activate_task() to calculate dynamic priority and interactive credit for the activating task. For real-time scheduling process, all that dynamic calculation is thrown away at the end because rt priority is fixed. Patch to optimize recalc_task_prio() away for rt processes. Signed-off-by: Ken Chen Acked-by: Ingo Molnar Cc: Nick Piggin Cc: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07203f6471a11f4eda48acbe528c0ce4704ad42c tree 9038744d2ec1f6db3b401e9e7d4572e9a65f909b parent d868dd19ad0828b1b3b56f3b06bd4a39971847be author Ondrej Zary Thu, 10 Nov 2005 00:25:15 +0100 committer Bartlomiej Zolnierkiewicz Thu, 10 Nov 2005 00:25:15 +0100 [PATCH] ide-floppy: software eject not working with LS-120 drive The problem (eject not working on ATAPI LS-120 drive) is caused by idefloppy_ioctl() function which *first* tries generic_ide_ioctl() and *only* if it fails with -EINVAL, proceeds with the specific ioctls. The generic eject command fails with something other than -EINVAL and the specific one is never executed. This patch fixes it by first going through the internal ioctls and only trying generic_ide_ioctl() if none of them matches. Signed-off-by: Ondrej Zary commit d868dd19ad0828b1b3b56f3b06bd4a39971847be tree e037cbe83e3a5ebe4e77de5fff01538794d57339 parent 25000c2c8a6cbf9bba2de6560370ee222b4c613d author John W. Linville Thu, 10 Nov 2005 00:19:14 +0100 committer Bartlomiej Zolnierkiewicz Thu, 10 Nov 2005 00:19:14 +0100 [PATCH] siimage: enable interrupts on Adaptec SA-1210 card The siimage driver proports to support the Adaptec SA-1210 SATA controller. However, at least some of those cards boot-up with their interrupts disabled internally. The siimage driver currently ignores that fact, so that driver does not actually work with those cards. This patch enables those interrupts on cards that need it. [ This is implemented based on similar code in the libata-based sata_sil driver. ] Signed-off-by: John W. Linville commit 25000c2c8a6cbf9bba2de6560370ee222b4c613d tree 70a0029139c8fd8198f1ae694d124779202efecd parent f5b2d8b4b5146fa2d70fec7d514fa0bd64636958 author Alan Cox Thu, 10 Nov 2005 00:10:37 +0100 committer Bartlomiej Zolnierkiewicz Thu, 10 Nov 2005 00:10:37 +0100 [PATCH] ide: explain the PCI bus test we do in Matthew Wilcox asked that this got a comment explaining why it is done so here it is. Signed-off-by: Alan Cox commit f5b2d8b4b5146fa2d70fec7d514fa0bd64636958 tree c3c52ad069cf9afddeec9875cbcdec4b0da7b5ef parent 7fab773de16ccaeb249acdc6e956a9759c68225d author Jaya Kumar Wed, 09 Nov 2005 23:58:16 +0100 committer Bartlomiej Zolnierkiewicz Wed, 09 Nov 2005 23:58:16 +0100 [PATCH] ide: CS5535 driver Signed-off-by: Jaya Kumar commit 6730c3c14421b7c924d06e31bb66e0adad225547 tree e46448ce7930756b6ca2fb45104bc95b874c6a39 parent 969780f8079994f161de991870feba68f49fc3d7 author Linus Torvalds Wed, 09 Nov 2005 14:56:00 -0800 committer Linus Torvalds Wed, 09 Nov 2005 14:56:00 -0800 Fix AGP compile on non-x86 architectures AGP shouldn't use "global_flush_tlb()" to flush the AGP mappings, that i spurely an x86'ism. The proper AGP mapping flusher that should be used is "flush_agp_mappings()", which on x86 obviously happens to do a global TLB flush. This makes AGP (or at least the config _I_ happen to use) compile again on ppc64. Signed-off-by: Linus Torvalds commit 7fab773de16ccaeb249acdc6e956a9759c68225d tree 4c9b7abc45a3390aff51cc7dbb5e831639aca9e2 parent 0046b06a367cd853efd3223ce60143f3a7952522 author Jordan Crouse Wed, 09 Nov 2005 23:26:09 +0100 committer Bartlomiej Zolnierkiewicz Wed, 09 Nov 2005 23:26:09 +0100 [PATCH] ide: AMD Geode GX/LX support From: "Jordan Crouse" The core IDE engine on the CS5536 is the same as the other AMD southbridges, so unlike the CS5535, we can simply add the appropriate PCI headers to the existing amd74xx code. commit 0046b06a367cd853efd3223ce60143f3a7952522 tree 5c531a7d07e2f8ebb14e6e9cb2004e566c0bb225 parent e851b620e775c9f0e00b1c7e35072d6b98097cb9 author Willem Riede Wed, 09 Nov 2005 23:18:22 +0100 committer Bartlomiej Zolnierkiewicz Wed, 09 Nov 2005 23:18:22 +0100 [PATCH] ide: ide-scsi fails to call idescsi_check_condition for things like "Medium not present" This patch started life as a response to fedora specific ide subsystem changes that made error handling of my ATAPI tape drive fail; the specifics are in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160868 The insertion of the statement rq->errors = err; near the end of ide_end_drive_cmd() in drivers/ide/ide-io.c means that rq->errors does not contain what it needs to in idescsi_end_request() in drivers/scsi/ide-scsi.c anymore. Recent mainline kernels now also have this change. The patch below makes ide-scsi whole. Signed-off-by: Willem Riede commit 969780f8079994f161de991870feba68f49fc3d7 tree 2e6664c43be38a6cfdd20338d20385368c1b7a80 parent ad8f76be48d817b48222411ae16a7dfe257bdb24 parent 8750197f0e8f5467297d72e11444cf32f29d790f author Linus Torvalds Wed, 09 Nov 2005 14:13:53 -0800 committer Linus Torvalds Wed, 09 Nov 2005 14:13:53 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit e851b620e775c9f0e00b1c7e35072d6b98097cb9 tree e00b56c73a6a4d6bfbde39bf7f7aa5ac43fe7185 parent 83ae20c849f1bff32100fa8584408dca99ce4a62 author Adrian Bunk Wed, 09 Nov 2005 23:07:56 +0100 committer Bartlomiej Zolnierkiewicz Wed, 09 Nov 2005 23:07:56 +0100 [PATCH] ide: possible cleanups This patch contains the following possible cleanups: - pci/cy82c693.c: make a needlessly global function static - remove the following unneeded EXPORT_SYMBOL's: - ide-taskfile.c: do_rw_taskfile - ide-iops.c: default_hwif_iops - ide-iops.c: default_hwif_transport - ide-iops.c: wait_for_ready Signed-off-by: Adrian Bunk commit 83ae20c849f1bff32100fa8584408dca99ce4a62 tree 43e73e78a51c9c7c486e883dda25417d18f7e202 parent 4349d5cdf28d46c22d467079e80ee9695dcec0ad author Bjorn Helgaas Wed, 09 Nov 2005 22:58:07 +0100 committer Bartlomiej Zolnierkiewicz Wed, 09 Nov 2005 22:58:07 +0100 [PATCH] ide: move CONFIG_IDE_MAX_HWIFS into linux/ide.h CONFIG_IDE_MAX_HWIFS is a generic thing, no need to have it duplicated by every arch that uses it. Signed-off-by: Bjorn Helgaas commit ad8f76be48d817b48222411ae16a7dfe257bdb24 tree b2cc4717aad2ec852ac83b0835eea8cf600f4343 parent cad8e944364bd84c8c03e8c99e3fffa1cb2fc1ba parent 988a6490a793b73ff23aa3baf87b337152178e4d author Linus Torvalds Wed, 09 Nov 2005 13:47:34 -0800 committer Linus Torvalds Wed, 09 Nov 2005 13:47:34 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit 4349d5cdf28d46c22d467079e80ee9695dcec0ad tree f16b8cb1689a82ebb48d95f9be2f66b56fb62189 parent a5ee3634630c218e86afc5bae2acb55b9e47625d author Hannes Reinecke Wed, 09 Nov 2005 22:47:18 +0100 committer Bartlomiej Zolnierkiewicz Wed, 09 Nov 2005 22:47:18 +0100 [PATCH] ide: incorrect device link for ide-cs Devices driven by ide-cs will appear under /sys/devices instead of the appropriate PCMCIA device. To fix this I had to extend the hw_regs_t structure with a 'struct device' field, which allows us to set the parent link for the appropriate hwif. Signed-off-by: Hannes Reinecke Signed-off-by: Jens Axboe commit cad8e944364bd84c8c03e8c99e3fffa1cb2fc1ba tree afcdd63ac5090583c0b9e04834bc2936c497a788 parent 8ca2bdc7a98b9584ac5f640761501405154171c7 parent 9f0ede52a0ebfe1fe99ee5bfd99d17e6ac0c503d author Linus Torvalds Wed, 09 Nov 2005 13:40:21 -0800 committer Linus Torvalds Wed, 09 Nov 2005 13:40:21 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 9f0ede52a0ebfe1fe99ee5bfd99d17e6ac0c503d tree abd0d10a9f35ebbd9bd15e36d5c07a1f98112e61 parent 44fd0261d3509b0b4303fd9ba792058d230186ab author Ken-ichirou MATSUZAWA Wed, 09 Nov 2005 13:08:29 -0800 committer David S. Miller Wed, 09 Nov 2005 13:08:29 -0800 [IPV6]: ip6ip6_lock is not unlocked in error path. From: Ken-ichirou MATSUZAWA Signed-off-by: David S. Miller commit 44fd0261d3509b0b4303fd9ba792058d230186ab tree 9a504fdbd1c2caa7d1a74c98a6ca86237b996d03 parent 5fd52fe0989f8c84abd8d4a40ded79d4da911744 author Peter Chubb Wed, 09 Nov 2005 13:05:47 -0800 committer David S. Miller Wed, 09 Nov 2005 13:05:47 -0800 [IPV6]: Fix fallout from CONFIG_IPV6_PRIVACY Trying to build today's 2.6.14+git snapshot gives undefined references to use_tempaddr Looks like an ifdef got left out. Signed-off-by: Peter Chubb Signed-off-by: David S. Miller commit 5fd52fe0989f8c84abd8d4a40ded79d4da911744 tree c7150269b22b15bab2185c5fe755706374817e48 parent 439a9994bb6ae3c7cab1f0b776bca6bc7aa58a11 author Krzysztof Piotr Oledzki Wed, 09 Nov 2005 13:04:32 -0800 committer David S. Miller Wed, 09 Nov 2005 13:04:32 -0800 [NETFILTER] ctnetlink: ICMP_ID is u_int16_t not u_int8_t. Signed-off-by: Krzysztof Piotr Oledzki Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 439a9994bb6ae3c7cab1f0b776bca6bc7aa58a11 tree f4d99b79ea24ec2b9c65165d0c4528058cee1f35 parent a856a19a9f3ee14fc0d555470f3af138aeb0245c author Krzysztof Piotr Oledzki Wed, 09 Nov 2005 13:04:08 -0800 committer David S. Miller Wed, 09 Nov 2005 13:04:08 -0800 [NETFILTER] ctnetlink: Fix oops when no ICMP ID info in message This patch fixes an userspace triggered oops. If there is no ICMP_ID info the reference to attr will be NULL. Signed-off-by: Krzysztof Piotr Oledzki Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit a856a19a9f3ee14fc0d555470f3af138aeb0245c tree 52b79f12f4780e9b4afea6e2e6ed0f33d6948d92 parent fcda46128d5cb50075339b79ce585ab767337e9e author Pablo Neira Ayuso Wed, 09 Nov 2005 13:03:42 -0800 committer David S. Miller Wed, 09 Nov 2005 13:03:42 -0800 [NETFILTER] ctnetlink: Add support to identify expectations by ID's Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit fcda46128d5cb50075339b79ce585ab767337e9e tree 38411c71609c071b697d3b3738a9c7df3e40a8bb parent fe902a91ff427af7dbf20e7c196623b2a4eade13 author Pablo Neira Ayuso Wed, 09 Nov 2005 13:03:26 -0800 committer David S. Miller Wed, 09 Nov 2005 13:03:26 -0800 [NETFILTER] ctnetlink: propagate error instaed of returning -EPERM Propagate the error to userspace instead of returning -EPERM if the get conntrack operation fails. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit fe902a91ff427af7dbf20e7c196623b2a4eade13 tree 6c1a4e96e52dcace7241ac261507edf5e2bdab59 parent d63a92810807e8da298895236f2b99697e884014 author Pablo Neira Ayuso Wed, 09 Nov 2005 13:03:09 -0800 committer David S. Miller Wed, 09 Nov 2005 13:03:09 -0800 [NETFILTER] ctnetlink: return -EINVAL if size is wrong Return -EINVAL if the size isn't OK instead of -EPERM. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit d63a92810807e8da298895236f2b99697e884014 tree d687ea375c969fb220cc6fbb82b28ae51524b07b parent ed77de9fc69076e6e7c85edf7c1b70650f53121a author Yasuyuki Kozakai Wed, 09 Nov 2005 13:02:45 -0800 committer David S. Miller Wed, 09 Nov 2005 13:02:45 -0800 [NETFILTER]: stop tracking ICMP error at early point Currently connection tracking handles ICMP error like normal packets if it failed to get related connection. But it fails that after all. This makes connection tracking stop tracking ICMP error at early point. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit ed77de9fc69076e6e7c85edf7c1b70650f53121a tree eb75bc1a632003f97d50920023e7802f5e2ae169 parent 5978a9b82c55b82a1087bd86e0ae8b00f94d0d0b author Harald Welte Wed, 09 Nov 2005 13:02:16 -0800 committer David S. Miller Wed, 09 Nov 2005 13:02:16 -0800 [NETFILTER] nfnetlink: only load subsystems if CAP_NET_ADMIN is set Without this patch, any user can cause nfnetlink subsystems to be autoloaded. Those subsystems however could add significant processing overhead to packet processing, and would refuse any configuration messages from non-CAP_NET_ADMIN processes anyway. This patch follows a suggestion from Patrick McHardy. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 5978a9b82c55b82a1087bd86e0ae8b00f94d0d0b tree 1f24eed476d8e23116714ae16a947fcac855dfa5 parent 81e5c27d08bb39e646fe822ea80ab8feba62b94d author Philip Craig Wed, 09 Nov 2005 13:01:53 -0800 committer David S. Miller Wed, 09 Nov 2005 13:01:53 -0800 [NETFILTER] PPTP helper: fix PNS-PAC expectation call id The reply tuple of the PNS->PAC expectation was using the wrong call id. So we had the following situation: - PNS behind NAT firewall - PNS call id requires NATing - PNS->PAC gre packet arrives first then the PNS->PAC expectation is matched, and the other expectation is deleted, but the PAC->PNS gre packets do not match the gre conntrack because the call id is wrong. We also cannot use ip_nat_follow_master(). Signed-off-by: Philip Craig Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 81e5c27d08bb39e646fe822ea80ab8feba62b94d tree 3586319f81a56e69f27683535557ca6b65a6dafd parent 7a4fe3664b3cfecd2a40a46f54c71333639e28b7 author Pablo Neira Ayuso Wed, 09 Nov 2005 13:01:19 -0800 committer David S. Miller Wed, 09 Nov 2005 13:01:19 -0800 [NETFILTER] ctnetlink: get_conntrack can use GFP_KERNEL ctnetlink_get_conntrack is always called from user context, so GFP_KERNEL is enough. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 7a4fe3664b3cfecd2a40a46f54c71333639e28b7 tree 9c8a2af6e788c382231400f6d753efd6d3429af5 parent 119a31849442215fa66e4d18a33443a55c45e631 author Pablo Neira Ayuso Wed, 09 Nov 2005 13:00:47 -0800 committer David S. Miller Wed, 09 Nov 2005 13:00:47 -0800 [NETFILTER] ctnetlink: kill unused includes Kill some useless headers included in ctnetlink. They aren't used in any way. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 119a31849442215fa66e4d18a33443a55c45e631 tree 20c477d5363e26f0eaee74226ad29e708a328af8 parent 02a78cdf425156b86abdb6883f837a70fb7106da author Pablo Neira Ayuso Wed, 09 Nov 2005 13:00:29 -0800 committer David S. Miller Wed, 09 Nov 2005 13:00:29 -0800 [NETFILTER] ctnetlink: add module alias to fix autoloading Add missing module alias. This is a must to load ctnetlink on demand. For example, the conntrack tool will fail if the module isn't loaded. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 02a78cdf425156b86abdb6883f837a70fb7106da tree 477c2eb79a4591d25f6a1b1422d9dc80055deaf2 parent 51df784ed739246a3774b300e5f536e17bec36ed author Pablo Neira Ayuso Wed, 09 Nov 2005 13:00:04 -0800 committer David S. Miller Wed, 09 Nov 2005 13:00:04 -0800 [NETFILTER] ctnetlink: add marking support from userspace This patch adds support for conntrack marking from user space. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 51df784ed739246a3774b300e5f536e17bec36ed tree 866c76ffab5fa6c19648829f46dfcaee6f314a7d parent a2506c04322ca266fe2f9bd7d02a67b1972da611 author Pablo Neira Ayuso Wed, 09 Nov 2005 12:59:41 -0800 committer David S. Miller Wed, 09 Nov 2005 12:59:41 -0800 [NETFILTER] ctnetlink: check if protoinfo is present This fixes an oops triggered from userspace. If we don't pass information about the private protocol info, the reference to attr will be NULL. This is likely to happen in update messages. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit a2506c04322ca266fe2f9bd7d02a67b1972da611 tree d7ba0e2ea3e8fc2f6215676c6ca6682b7b847f1b parent eaae4fa45e0f4cd1da0f00ae93551edb1002b2b9 author Harald Welte Wed, 09 Nov 2005 12:59:13 -0800 committer David S. Miller Wed, 09 Nov 2005 12:59:13 -0800 [NETFILTER] nfnetlink: nfattr_parse() can never fail, make it void nfattr_parse (and thus nfattr_parse_nested) always returns success. So we can make them 'void' and remove all the checking at the caller side. Based on original patch by Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit eaae4fa45e0f4cd1da0f00ae93551edb1002b2b9 tree 60834444b32069e871f8480464946b9fb62ccd71 parent 46998f59c03ecbd7c2250810f35af6fe24868845 author Yasuyuki Kozakai Wed, 09 Nov 2005 12:58:46 -0800 committer David S. Miller Wed, 09 Nov 2005 12:58:46 -0800 [NETFILTER]: refcount leak of proto when ctnetlink dumping tuple Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 46998f59c03ecbd7c2250810f35af6fe24868845 tree 200600a970a88499cc3eefa6f6a0de286438f9fa parent a5ee3634630c218e86afc5bae2acb55b9e47625d author Yasuyuki Kozakai Wed, 09 Nov 2005 12:58:05 -0800 committer David S. Miller Wed, 09 Nov 2005 12:58:05 -0800 [NETFILTER]: packet counter of conntrack is 32bits The packet counter variable of conntrack was changed to 32bits from 64bits. This follows that change. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 8ca2bdc7a98b9584ac5f640761501405154171c7 tree 9d9a601fa9c189e5726d09a778e0ac29330a36dd parent feee207e44d3643d19e648af3c88946bd1c5106b author Christoph Hellwig Wed, 09 Nov 2005 12:07:18 -0800 committer David S. Miller Wed, 09 Nov 2005 12:07:18 -0800 [SPARC] sbus rtc: implement ->compat_ioctl Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit feee207e44d3643d19e648af3c88946bd1c5106b tree cbb0da66cc2cd39e44fe8053fea95e71de78591e parent 84c1a13a30f21406f39e546684a78ebe9859e6d7 author David S. Miller Wed, 09 Nov 2005 12:05:37 -0800 committer David S. Miller Wed, 09 Nov 2005 12:05:37 -0800 [SPARC]: Fix locking thinkos in display7seg and cpwatchdog drivers. Noticed by Eric Brower. Signed-off-by: David S. Miller commit 84c1a13a30f21406f39e546684a78ebe9859e6d7 tree 296330a7d501eb349070363df28da70b10a62963 parent 940fdc6e1223f1323b88b7f1e7ae09a93a76b74d author Tobias Klauser Wed, 09 Nov 2005 12:03:42 -0800 committer David S. Miller Wed, 09 Nov 2005 12:03:42 -0800 [SPARC64]: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a duplicate of ARRAY_SIZE which is never used anyways. Signed-off-by: Tobias Klauser Signed-off-by: David S. Miller commit 940fdc6e1223f1323b88b7f1e7ae09a93a76b74d tree 5a4ea9eb953dedae6bc0b7828a63133f16a5902a parent a5ee3634630c218e86afc5bae2acb55b9e47625d author Tobias Klauser Wed, 09 Nov 2005 12:03:05 -0800 committer David S. Miller Wed, 09 Nov 2005 12:03:05 -0800 [SPARC]: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a duplicate of ARRAY_SIZE which is never used anyways. Signed-off-by: Tobias Klauser Signed-off-by: David S. Miller commit a5ee3634630c218e86afc5bae2acb55b9e47625d tree 19729d0e73b345b9ca2de5329f7dbb173cb5f7cc parent 28d838cc4dfea980cb6eda0a7409cbf91889ca74 parent 49ebd7c6bb1f70a6c5465925e6ca2f4a32d6a6cd author Linus Torvalds Wed, 09 Nov 2005 11:45:00 -0800 committer Linus Torvalds Wed, 09 Nov 2005 11:45:00 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart commit 28d838cc4dfea980cb6eda0a7409cbf91889ca74 tree 4bbf42063718ac7744ca67ef9f67adce17bfbb5c parent ac111bfaa6b0b3c0edc63c27bd9617d6b08851ff author Linus Torvalds Wed, 09 Nov 2005 11:33:07 -0800 committer Linus Torvalds Wed, 09 Nov 2005 11:33:07 -0800 Fix ptrace self-attach rule Before we did CLONE_THREAD, the way to check whether we were attaching to ourselves was to just check "current == task", but with CLONE_THREAD we should check that the thread group ID matches instead. Signed-off-by: Linus Torvalds commit ac111bfaa6b0b3c0edc63c27bd9617d6b08851ff tree 69c98b53ce9f269952d3e6f1f39fdba4b3d96544 parent 19da9b8b6ef80e4b1f870c0d270df32571fdaad6 parent 861e37ad5969f764574722f4cfc0734511cbac7f author Linus Torvalds Wed, 09 Nov 2005 08:55:53 -0800 committer Linus Torvalds Wed, 09 Nov 2005 08:55:53 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 19da9b8b6ef80e4b1f870c0d270df32571fdaad6 tree 7da3f7ff720e6543a1b1d30fe5e38b9a3c53d064 parent a7c243b544c0e9f6775c2607decaa59d54fb9e11 parent 7c3983357fdaef3ae71a0d7081a4b6dcfd869d39 author Linus Torvalds Wed, 09 Nov 2005 08:35:50 -0800 committer Linus Torvalds Wed, 09 Nov 2005 08:35:50 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit a7c243b544c0e9f6775c2607decaa59d54fb9e11 tree 86fdb4d2d6cef932af7497f28827e7d52b29e48c parent 7df446e7e043b2ba5fd5de42529f9d797e8b501a parent f406db8cba6bbce42b96490e6d31bdec229ad994 author Linus Torvalds Wed, 09 Nov 2005 08:34:36 -0800 committer Linus Torvalds Wed, 09 Nov 2005 08:34:36 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 7df446e7e043b2ba5fd5de42529f9d797e8b501a tree 9fe970cca27f2352f1834d43bf3a259b737f9895 parent 8d3d81cf023f34fa42955ce0a6e77e7c340a9d9d parent 6fb93a92ec2a012fa525499c330522bbb8c18d80 author Linus Torvalds Wed, 09 Nov 2005 08:33:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 08:33:27 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 8d3d81cf023f34fa42955ce0a6e77e7c340a9d9d tree 72070444e3046dc90cf26d532040c15b2dd6de5c parent 252ac865535e1ea9cc2d28be83f477d8d8b961a2 author Adrian Bunk Tue, 08 Nov 2005 21:39:48 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:41 -0800 [PATCH] fs/hugetlbfs/inode.c: make a function static This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 252ac865535e1ea9cc2d28be83f477d8d8b961a2 tree 3ef8678ef14445b5ddebbda6f65c7510e809679f parent cf62ddce2ee137ff92ad11ae762338b864f1dee5 author Adrian Bunk Tue, 08 Nov 2005 21:39:48 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:41 -0800 [PATCH] drivers/message/fusion/mptbase.c: make code static This patch makes the following previously global and EXPORT_SYMBOL'ed code static: - struct mpt_proc_root_dir - int mpt_stm_index Signed-off-by: Adrian Bunk Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf62ddce2ee137ff92ad11ae762338b864f1dee5 tree c0d0ffa576641a15c04f05cb83192ddfaffe8bd0 parent 0ce6e62bd6591777bd92873e2db93fdbc5228122 author Adrian Bunk Tue, 08 Nov 2005 21:39:47 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:40 -0800 [PATCH] drivers/char/sysrq.c: make two functions static This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ce6e62bd6591777bd92873e2db93fdbc5228122 tree ead8fd8081711dc95dff993342a2da30ff04d8a5 parent bb636547b02411ca5eef87b1d030ea3fc090a717 author Adrian Bunk Tue, 08 Nov 2005 21:39:46 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:40 -0800 [PATCH] fs/namei.c: make path_lookup_create() static This patch makes the needlessly global function path_lookup_create() static. Signed-off-by: Adrian Bunk Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb636547b02411ca5eef87b1d030ea3fc090a717 tree f6abbad4e7283d5d327646859ad0af1f9ee43aa8 parent 7eec314d7512d5281742263cff3853b43df431db author NeilBrown Tue, 08 Nov 2005 21:39:45 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:40 -0800 [PATCH] md: document sysfs usage of md, and make a couple of small refinements Document in Documentation/md.txt the files that now appear in sysfs, and make a couple of small refinements to exactly when 'level' and 'raid_disks' are empty, to make it match the documentation. Signed-off-by: Neil Brown Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7eec314d7512d5281742263cff3853b43df431db tree 3d74f5950b6d9fede5ddc617f0a7ab03eeee0dd3 parent 787453c2397edcc3261efebb661739acd8c38547 author NeilBrown Tue, 08 Nov 2005 21:39:44 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:40 -0800 [PATCH] md: improve 'scan_mode' and rename it to 'sync_action' The current sync_action for an array can be one of idle - nothing happening resync - reduncancy being recalcualted recover - missing device being recoverred to spare check - user initiated check of redundancy repair - like resync but user-initiated and ignores bitmap optimisation. Each of these strings can also be written to the 'sync_action' file to cause that action to happen (if appropriate). While 'sync' is not technically correct, as a recovery is *not* a 'sync', I think it is the most servicable word here. Also 'action' is a strong word than 'mode'. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 787453c2397edcc3261efebb661739acd8c38547 tree 41855815ebfb6332485ac1ca30b43308c66da0e0 parent fd9d49cac46f5758d513ccf831b599dd4412546f author NeilBrown Tue, 08 Nov 2005 21:39:43 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:40 -0800 [PATCH] md: complete conversion of md to use kthreads There are a few loose ends following the conversion of md to use kthreads: - Some fields in mdk_thread_t that aren't needed (kthreads does it's own completion and manages it's own name). - thread->run is now never NULL, so no need to check - Some tests for signal_pending that aren't needed (As we don't use signals to stop threads any more) - Some flush_signals are not needed - Some waits are interruptible and don't need to be. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd9d49cac46f5758d513ccf831b599dd4412546f tree 980dcde5398f3d0f2724637dd499f922551328d3 parent 8e1b39d623359e5ef7983a2bd0fb676be45cba31 author NeilBrown Tue, 08 Nov 2005 21:39:42 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:39 -0800 [PATCH] md: ignore auto-readonly flag for arrays where it isn't meaningful The 'auto-readonly' flag (which suppresses resync and superblock updates until the first write) is not meaningful for personalities that don't support resync or superblock writes (raid0, linear, etc). So clear the setting early to avoid it confusing anything - e.g. appearing in /proc/mdstat Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e1b39d623359e5ef7983a2bd0fb676be45cba31 tree 554e7654fbd3aac78bc1f538474100a73de3fdd7 parent 411036fa1924f5e5b0f7f9d04ae5d8cdc72fb839 author NeilBrown Tue, 08 Nov 2005 21:39:41 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:39 -0800 [PATCH] md: only try to print recovery/resync status for personalities that support recovery The introduction of 'resync=PENDING' (for read-only devices) caused that message to appear for non-syncable arrays like raid0 and linear. Simplest thing is to not try to print any resync info unless the personality clearly supports it. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 411036fa1924f5e5b0f7f9d04ae5d8cdc72fb839 tree d63b4380ce3e6fc55a9ea272512ca430f840fe22 parent 96de1e663cda65ba9275afb1bc007f34e5068ba1 author NeilBrown Tue, 08 Nov 2005 21:39:40 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:39 -0800 [PATCH] md: split off some md attributes in sysfs to a separate group Some, but not all, md array support data redundancy and hence support checking and restoring that redundancy (resync, rebuild). Some attributes apply specifically to functions involving this redundancy, and so should only appear for md arrays for which they are meaningful. i.e. they should not appear for raid0, linear, multpath, faulty. This patch separates these into a distinct group and creates the group only if the personality supports sync_request. Signed-off-by: Neil Brown Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96de1e663cda65ba9275afb1bc007f34e5068ba1 tree b927dda4f0f2d2669658f5974a848d9f701f330b parent 3855ad9f398de88a3290f7dd799633c4b73903ea author NeilBrown Tue, 08 Nov 2005 21:39:39 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:39 -0800 [PATCH] md: fix some locking and module refcounting issues with md's use of sysfs 1/ I really should be using the __ATTR macros for defining attributes, so that the .owner field get set properly, otherwise modules can be removed while sysfs files are open. This also involves some name changes of _show routines. 2/ Always lock the mddev (against reconfiguration) for all sysfs attribute access. This easily avoid certain races and is completely consistant with other interfaces (ioctl and /proc/mdstat both always lock against reconfiguration). 3/ raid5 attributes must check that the 'conf' structure actually exists (the array could have been stopped while an attribute file was open). 4/ A missing 'kfree' from when the raid5_conf_t was converted to have a kobject embedded, and then converted back again. Signed-off-by: Neil Brown Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3855ad9f398de88a3290f7dd799633c4b73903ea tree b4a898b49683712645f4b8a41cabdbca4f89122b parent e5de485f00d6e6c15f487869faaf999c708f69b1 author NeilBrown Tue, 08 Nov 2005 21:39:38 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:39 -0800 [PATCH] md: make sure a user-request sync of raid5 ignores intent bitmap A sync of raid5 usually ignore blocks which the bitmap says are in-sync. But a user-request check or repair should not ignore these. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5de485f00d6e6c15f487869faaf999c708f69b1 tree 16e7648ba0ebf602597a6a0973813d606f749bde parent f637b9f9fc195e4f4635faf495fd8b462c21b411 author NeilBrown Tue, 08 Nov 2005 21:39:38 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:39 -0800 [PATCH] md: make manual repair work for raid1 Raid1 currently optimises resync using the intent bitmap etc. This optimisation is not wanted when we explicitly request a repair through sysfs, so add appropriate checks. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f637b9f9fc195e4f4635faf495fd8b462c21b411 tree bcd71dc2e3c0a2fd97c5973d6a29010c3eab1990 parent f91de92ed6bfb70a3ff607558c910c7bf34d45e9 author NeilBrown Tue, 08 Nov 2005 21:39:37 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:39 -0800 [PATCH] md: make sure /block link in /sys/.../md/ goes to correct devices If a block_device is a partition, then it's kobject is bdev->bd_part->kobj otherwise (if it is a full device), the kobject is bdev->bd_disk->kobj As md wants back-links to the correct object (whether partition or not), we need to respect this difference... (Thus current code shows a link to the whole device, whether we are using a partition or not, which is wrong). Signed-off-by: Neil Brown Acked-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f91de92ed6bfb70a3ff607558c910c7bf34d45e9 tree 7891da2296aba0302b48220bdd291acc0e92e810 parent 19133a4298223422742db7b5f940e8c54c6a1846 author NeilBrown Tue, 08 Nov 2005 21:39:36 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:38 -0800 [PATCH] md: allow md arrays to be started read-only (module parameter). When an md array is started, the superblock will be written, and resync may commense. This is not good if you want to be completely read-only as, for example, when preparing to resume from a suspend-to-disk image. So introduce a module parameter "start_ro" which can be set to '1' at boot, at module load, or via /sys/module/md_mod/parameters/start_ro When this is set, new arrays get an 'auto-ro' mode, which disables all internal io (superblock updates, resync, recovery) and is automatically switched to 'rw' when the first write request arrives. The array can be set to true 'ro' mode using 'mdadm -r' before the first write request, or resync can be started without a write using 'mdadm -w'. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19133a4298223422742db7b5f940e8c54c6a1846 tree ed11c4567ba37843d865308f1f399f4d2ab28fbe parent a9701a30470856408d08657eb1bd7ae29a146190 author NeilBrown Tue, 08 Nov 2005 21:39:35 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:38 -0800 [PATCH] md: Remove attempt to use dynamic names in sysfs for component devices on an MD array. With version-0.90 superblock, component devices on an md device to not have any stable name related to the array -(version-1 assigns a fixed index when a device is added to an array, and this remains despit any hot-swap). The intial code for making these devices appear in sysfs used dynamic names, which would change whenever a hot-spare was swapped for a failed or missing device. This turns out not to be practical in sysfs for a number of reasons. This patch changes then naming of component devices to be based on the result of 'bdevname'. This is stable and should be unique. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9701a30470856408d08657eb1bd7ae29a146190 tree eb6ea8c82fdc1b50bf56abadeee63a935034cf27 parent bd926c63b7a6843d3ce2728396c0891e54fce5c4 author NeilBrown Tue, 08 Nov 2005 21:39:34 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:38 -0800 [PATCH] md: support BIO_RW_BARRIER for md/raid1 We can only accept BARRIER requests if all slaves handle barriers, and that can, of course, change with time.... So we keep track of whether the whole array seems safe for barriers, and also whether each individual rdev handles barriers. We initially assumes barriers are OK. When writing the superblock we try a barrier, and if that fails, we flag things for no-barriers. This will usually clear the flags fairly quickly. If writing the superblock finds that BIO_RW_BARRIER is -ENOTSUPP, we need to resubmit, so introduce function "md_super_wait" which waits for requests to finish, and retries ENOTSUPP requests without the barrier flag. When writing the real raid1, write requests which were BIO_RW_BARRIER but which aresn't supported need to be retried. So raid1d is enhanced to do this, and when any bio write completes (i.e. no retry needed) we remove it from the r1bio, so that devices needing retry are easy to find. We should hardly ever get -ENOTSUPP errors when writing data to the raid. It should only happen if: 1/ the device used to support BARRIER, but now doesn't. Few devices change like this, though raid1 can! or 2/ the array has no persistent superblock, so there was no opportunity to pre-test for barriers when writing the superblock. Signed-off-by: Neil Brown Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd926c63b7a6843d3ce2728396c0891e54fce5c4 tree 38f7083a733e9b31efe69616c5fa3448c74c1320 parent b2d444d7ad975d555bb919601bcdc0e58975a40e author NeilBrown Tue, 08 Nov 2005 21:39:32 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:38 -0800 [PATCH] md: make md on-disk bitmaps not host-endian Current bitmaps use set_bit et.al and so are host-endian, which means not-portable. Oops. Define a new version number (4) for which bitmaps are little-endian. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2d444d7ad975d555bb919601bcdc0e58975a40e tree 963a29258af95f05dd28d9de0180ac9ef533aeed parent ba22dcbf106338a5c46d6979f9b19564faae3d49 author NeilBrown Tue, 08 Nov 2005 21:39:31 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:38 -0800 [PATCH] md: convert 'faulty' and 'in_sync' fields to bits in 'flags' field This has the advantage of removing the confusion caused by 'rdev_t' and 'mddev_t' both having 'in_sync' fields. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba22dcbf106338a5c46d6979f9b19564faae3d49 tree 4caae4532cda0412d2446eca8b036d4e0df447f8 parent 007583c9253fed363a0bd71b039e9b40a0f6855e author NeilBrown Tue, 08 Nov 2005 21:39:31 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:38 -0800 [PATCH] md: improvements to raid5 handling of read errors Two refinements to the 'attempt-overwrite-on-read-error' mechanism. 1/ If the array is read-only, don't attempt an over-write. 2/ If there are more than max_nr_stripes read errors on a device with no success, fail the drive. This will make sure a dead drive will be eventually kicked even when we aren't trying to rewrite (which would normally kick a dead drive more quickly. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 007583c9253fed363a0bd71b039e9b40a0f6855e tree f47d3fd94830ae2c09d7d821e8a57ba46ecb13bc parent 31399d9e56abeec4d819f07eefc97f30b5d5ed75 author NeilBrown Tue, 08 Nov 2005 21:39:30 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:38 -0800 [PATCH] md: change raid5 sysfs attribute to not create a new directory There isn't really a need for raid5 attributes to be an a subdirectory, so this patch moves them from /sys/block/mdX/md/raid5/attribute to /sys/block/mdX/md/attribute This suggests that all md personalities should co-operate about namespace usage, but that shouldn't be a problem. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31399d9e56abeec4d819f07eefc97f30b5d5ed75 tree 841dee4a780a213519ca7bfbb5ba1ed1bf025c2c parent 9c79197761b4c181a143dc6a6044f4e47d44bdcc author NeilBrown Tue, 08 Nov 2005 21:39:29 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:37 -0800 [PATCH] md: minor MD fixes 1/ Use reduce stack usage, because 'gcc' apparently doesn't overlay different variables that are in separate scopes... 2/ Use test_bit instead of ( .. & 1<< ..) which in this case is buggy. Thanks to Andrew Morton Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c79197761b4c181a143dc6a6044f4e47d44bdcc tree 2b0f75aac9cab625f5e5b27ae5e4f30d2838c486 parent d6065f7bf8bec170c9c56524a250093ce73ca5d9 author NeilBrown Tue, 08 Nov 2005 21:39:28 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:37 -0800 [PATCH] md: fix ref-counting problems with kobjects in md Thanks Greg. Cc: Greg KH Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6065f7bf8bec170c9c56524a250093ce73ca5d9 tree 336c7db10aa8cee48386171e3de7569fca01dcfd parent 9d88883e68f404d5581bd391713ceef470ea53a9 author Suzanne Wood Tue, 08 Nov 2005 21:39:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:37 -0800 [PATCH] md: provide proper rcu_dereference / rcu_assign_pointer annotations in md Acked-by: Signed-off-by: Suzanne Wood Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d88883e68f404d5581bd391713ceef470ea53a9 tree 09217a737ca91fb1d105df601741a61e141d4946 parent 24dd469d728dae07f40c5d79ea6dedd38cdf1a30 author NeilBrown Tue, 08 Nov 2005 21:39:26 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:37 -0800 [PATCH] md: teach raid5 the difference between 'check' and 'repair'. With this, raid5 can be asked to check parity without repairing it. It also keeps a count of the number of incorrect parity blocks found (mismatches) and reports them through sysfs. Signed-off-by: Neil Brown Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24dd469d728dae07f40c5d79ea6dedd38cdf1a30 tree 3975aaeaa6c1cd77a2d4b06184ad3bd0175a44a5 parent 3f294f4fb6f2ba887b717674da26c21f3d57f3fc author NeilBrown Tue, 08 Nov 2005 21:39:26 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:37 -0800 [PATCH] md: allow a manual resync with md You can trigger a 'check' with echo check > /sys/block/mdX/md/scan_mode or a check-and-repair errors with echo repair > /sys/block/mdX/md/scan_mode and read the current state from the same file. Note: personalities need to know the different between 'check' and 'repair', but don't yet. Until they do, 'check' will be the same as 'repair' and will just do a normal resync pass. Signed-off-by: Neil Brown Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f294f4fb6f2ba887b717674da26c21f3d57f3fc tree fd73f58a4d5c7261994127b0c46f04e33ee26d66 parent 86e6ffdd243a06663713e637ee683fb27dce8e0c author NeilBrown Tue, 08 Nov 2005 21:39:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:37 -0800 [PATCH] md: add kobject/sysfs support to raid5 /sys/block/mdX/md/raid5/ contains raid5-related attributes. Currently stripe_cache_size is number of entries in stripe cache, and is settable. stripe_cache_active is number of active entries, and in only readable. Signed-off-by: Neil Brown Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86e6ffdd243a06663713e637ee683fb27dce8e0c tree d6bc5f26aff6b1a506ad04d8d605d92cfd19162f parent eae1701fbd264cfc7efbaf7cd4cd999760070e27 author NeilBrown Tue, 08 Nov 2005 21:39:24 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:37 -0800 [PATCH] md: extend md sysfs support to component devices. Each device in an md array how has a corresponding /sys/block/mdX/md/devNN/ directory which can contain attributes. Currently there is only 'state' which summarises the state, nd 'super' which has a copy of the superblock, and 'block' which is a symlink to the block device. Also, /sys/block/mdX/md/rdNN represents slot 'NN' in the array, and is a symlink to the relevant 'devNN'. Obviously spare devices do not have a slot in the array, and so don't have such a symlink. Signed-off-by: Neil Brown Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eae1701fbd264cfc7efbaf7cd4cd999760070e27 tree 6605cca37d4c605217b7accffe7f94f81d37f0dd parent 4e5314b56a7ea11c7a5f2b8418992b2f49648a25 author NeilBrown Tue, 08 Nov 2005 21:39:23 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:36 -0800 [PATCH] md: initial sysfs support for md Start using kobjects in mddevs, and provide a couple of simple attributes (level and disks). Attributes live in /sys/block/mdX/md/attr-name Signed-off-by: Neil Brown Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e5314b56a7ea11c7a5f2b8418992b2f49648a25 tree 58b0c604f4f4e55523d2c93971f79d80e406b9ce parent 703ebe86a999861e833be4015aaf552837e9613a author NeilBrown Tue, 08 Nov 2005 21:39:22 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:36 -0800 [PATCH] md: better handling of readerrors with raid5. This patch changes the behaviour of raid5 when it gets a read error. Instead of just failing the device, it tried to find out what should have been there, and writes it over the bad block. For some media-errors, this has a reasonable chance of fixing the error. If the write succeeds, and a subsequent read succeeds as well, raid5 decided the address is OK and conitnues. Instead of failing a drive on read-error, we attempt to re-write the block, and then re-read. If that all works, we allow the device to remain in the array. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 703ebe86a999861e833be4015aaf552837e9613a tree 5eb9bbeea5db689b589e7ee06868d669fa30a015 parent 78ac151c83219bd3de591330c1efc4dc64dd9294 author Adrian Bunk Tue, 08 Nov 2005 21:39:21 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:36 -0800 [PATCH] drivers/video/vgastate.c: kill dead code This patch kills some dead code. Signed-off-by: Adrian Bunk Acked-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78ac151c83219bd3de591330c1efc4dc64dd9294 tree 1a2448efea61df396a67c28a62a93985654e3895 parent c7f82d9c49e763f40f7ea7126a2c9f067bfde71f author Adrian Bunk Tue, 08 Nov 2005 21:39:21 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:36 -0800 [PATCH] i386: EXPORT_SYMBOL(screen_info) even #ifndef CONFIG_VT The folllowing modules require screen_info but don't depend on CONFIG_VT: - vga16fb.ko - intelfb.ko Signed-off-by: Adrian Bunk Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7f82d9c49e763f40f7ea7126a2c9f067bfde71f tree 794bd9dc020f29555c5ab11c18f4b843174794f5 parent 01a16fae8e0e99a5abdd1c6c9a2b67e7e6167c18 author Arnd Bergmann Tue, 08 Nov 2005 21:39:19 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:36 -0800 [PATCH] fbdev: move ioctl32 code to fbmem.c The frame buffer layer already had some code dealing with compat ioctls, this patch moves over the remaining code from fs/compat_ioctl.c Signed-off-by: Arnd Bergmann Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01a16fae8e0e99a5abdd1c6c9a2b67e7e6167c18 tree c6dd8df18a3116f6ae9b1e14f13edc2a7bf1fd4b parent 81d3e147ec9ffc6ef04b5f05afa4bef22487b32b author Ralf Baechle Tue, 08 Nov 2005 21:39:18 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:36 -0800 [PATCH] fbdev: Remove remains of epson1356fb Delete leftovers of the FB_E1356 and anything that did depend on it. Signed-off-by: Ralf Baechle Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81d3e147ec9ffc6ef04b5f05afa4bef22487b32b tree 68f3e0779b1bc45aa639d977ce0c36db4228fa4c parent 120ddb41f18c2d41702af561f4acfbcbd8d6fb46 author Antonino A. Daplas Tue, 08 Nov 2005 21:39:17 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:36 -0800 [PATCH] fbdev: Possible endian fix in cfbimageblit Fix possible endian bug(?) when bit testing in slow_imageblit(). This function is rarely called (only if (width * bpp) % 32 != 0) thus the bug is not triggered. However, if the console is rotated at 90 or 270 degrees, the height becomes the width, and a variety of fonts have heights that will force a call to slow_imageblit(). Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 120ddb41f18c2d41702af561f4acfbcbd8d6fb46 tree dc6f49392ce964c5e620ddfcfbd39cde220d207d parent efb985f6b265faed75426010e84a79de972c640a author Antonino A. Daplas Tue, 08 Nov 2005 21:39:16 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:35 -0800 [PATCH] vga16fb: Convert vga16fb as a platform device - Convert vga16fb as a platform device - use framebuffer_alloc() to dynamically allocate resources, and framebuffer_release() to free - remove unneeded casts - trivial whitespace changes Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit efb985f6b265faed75426010e84a79de972c640a tree 48d8a7c18a31a255363e3d7a3c3100f310229a12 parent a812c94b94e3db76d1af68208fb3edef69070401 author Antonino A. Daplas Tue, 08 Nov 2005 21:39:15 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:35 -0800 [PATCH] fbcon: Console Rotation - Add framebuffer console documentation Add documentation as Documentation/fb/fbcon.txt describing the framebuffer console and its boot options. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a812c94b94e3db76d1af68208fb3edef69070401 tree 8dd2ecd1e1981e3423d8c3aaf796aeb3f38f91f1 parent ed8c0e99f27451a9b980adf0de318d60e6de811f author Antonino A. Daplas Tue, 08 Nov 2005 21:39:15 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:35 -0800 [PATCH] fbcon: Console Rotation - Add ability to control rotation via sysfs Add ability to set rotation via sysfs. The attributes are located in /sys/class/graphics/fb[n] and accepts 0 - unrotated; 1 - clockwise; 2 - upside down; 3 - counterclockwise. The attributes are: con_rotate (r/w) - set rotation of the active console con_rotate_all (w) - set rotation of all consoles rotate (r/w) - set rotation of the framebuffer, if supported. Currently, none of the drivers support this. This is probably temporary, since con_rotate and con_rotate_all are console-specific and has no business being under the fb device. However, until the console layer acquires it's own sysfs class, these attributes will temporarily reside here. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed8c0e99f27451a9b980adf0de318d60e6de811f tree 5319e0c8669bddc682408bf113361a415a75a17f parent 33ee82978c4ecf7cbd56064391c9385264185de2 author Antonino A. Daplas Tue, 08 Nov 2005 21:39:14 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:34 -0800 [PATCH] fbcon: Console Rotation - Add support for 270-degree rotation Add support for 270-degree (counterclockwise) rotation of the console. To activate, boot with: fbcon=rotate:3 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33ee82978c4ecf7cbd56064391c9385264185de2 tree 3c5ac7257f79d6487ef6365625296f3cb5522d10 parent dbcbfe1ea41e404d960a06fa2faf7da568909f33 author Antonino A. Daplas Tue, 08 Nov 2005 21:39:13 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:34 -0800 [PATCH] fbcon: Console Rotation - Add support for 180-degree console rotation Add support for 180-degree (upside down) rotation of the console. To activate, boot with: fbcon=rotate:2 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbcbfe1ea41e404d960a06fa2faf7da568909f33 tree 757dccdb6e1c518392b7ee973641969b6130bf11 parent 6cc50e1c5b57180fd37a31282000f43859b0fe73 author Antonino A. Daplas Tue, 08 Nov 2005 21:39:12 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:34 -0800 [PATCH] fbcon: Console Rotation - Add support for 90-degree console rotation Add support for 90-degree (clockwise) rotation of the console. To activate, boot with: fbcon=rotate:1 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6cc50e1c5b57180fd37a31282000f43859b0fe73 tree 109d99a52b1533358445233dd16a5dfadcb618ce parent 9c44e5f6c211a9b7313ded897f3135ef7d9ad3e2 author Antonino A. Daplas Tue, 08 Nov 2005 21:39:11 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:34 -0800 [PATCH] fbcon: Console Rotation - Add support to rotate font bitmap Add support to rotate the font bitmap. To save on processing time, the entire fontdata will be rotated on a console switch, then stored in a buffer private to fbcon. To further save on processing, the fontdata will only be rotated if the font has changed or if the angle of rotation has changed. Only a single copy of the rotated fontdata will be kept. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c44e5f6c211a9b7313ded897f3135ef7d9ad3e2 tree b4d94144527964a822367e4018693dc4e8a83383 parent e4fc27618b75234b721c4a13d0e0d9d07e75e641 author Antonino A. Daplas Tue, 08 Nov 2005 21:39:10 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:34 -0800 [PATCH] fbcon: Console Rotation - Add support to rotate the logo Add support for rotating and positioning of the logo. Rotation and position depends on 'int rotate' parameter added to fb_prepare_logo() and fb_show_logo(). Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4fc27618b75234b721c4a13d0e0d9d07e75e641 tree 793c15bd27a7cf150d27e209d537486e8439fe46 parent 1dfcdfae5783fc10d7f8fcc336de838a44e7636c author Antonino A. Daplas Tue, 08 Nov 2005 21:39:09 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:34 -0800 [PATCH] fbcon: Console Rotation - Prepare fbcon for console rotation This patch series implements generic code to rotate the console at 90, 180, and 270 degrees. The implementation is completely done in the framebuffer console level, thus no changes to the framebuffer layer or to the drivers are needed. Console rotation is required by some Sharp-based devices where the natural orientation of the display is not at 0 degrees. Also, users that have displays that can pivot will benefit by having a console in portrait mode if they so desire. The choice to implement the code in the console layer rather than in the framebuffer layer is due to the following reasons: - it's fast - it does not require driver changes - it can coexist with devices that can rotate the display at the hardware level - it complements graphics applications that can do display rotation The changes to core fbcon are minimal-- recognition of the console rotation angle so it can swap directions, origins and axes (xres vs yres, xpanstep vs ypanstep, xoffset vs yoffset, etc) and storage of the rotation angle per display. The bulk of the code that does the actual drawing to the screen are placed in separate files. Each angle of rotation has separate methods (bmove, clear, putcs, cursor, update_start which is derived from update_var, and clear_margins). To mimimize processing time, the fontdata are pre-rotated at each console switch (only if the font or the angle has changed). The option can be compiled out (CONFIG_FRAMEBUFFER_CONSOLE_ROTATION = n) if rotation is not needed. Choosing the rotation angle can be done in several ways: 1. boot option fbcon=rotate:n, where n = 0 - normal n = 1 - 90 degrees (clockwise) n = 2 - 180 degrees (upside down) n = 3 - 270 degrees (counterclockwise) 2. echo n > /sys/class/graphics/fb[num]/con_rotate where n is the same as described above. It sets the angle of rotation of the current console 3 echo n > /sys/class/graphics/fb[num]/con_rotate_all where n is the same as described above. Globally sets the angle of rotation. GOTCHAS: The option, especially at angles of 90 and 270 degrees, will exercise the least used code of drivers. Namely, at these angles, panning is done in the x-axis, so it can reveal bugs in the driver if xpanstep is set incorrectly. A workaround is to set xpanstep = 0. Secondly, at these angles, the framebuffer memory access can be unaligned if (fontheight * bpp) % 32 ~= 0 which can reveal bugs in the drivers imageblit, fillrect and copyarea functions. (I think cfbfillrect may have this buglet). A workaround is to use a standard 8x16 font. Speed: The scrolling speed difference between 0 and 180 degrees is minimal, somewhere areound 1-2%. At 90 or 270 degress, speed drops down to a vicinity of 30-40%. This is understandable because the blit direction is across the framebuffer "direction." Scrolling will be helped at these angles if xpanstep is not equal to zero, use of 8x16 fonts, and setting xres_virtual >= xres * 2. Note: The code is tested on little-endian only, so I don't know if it will work in big-endian. Please let me know, it will take only less than a minute of your time. This patch prepares fbcon for console rotation and contains the following changes: - add rotate field in struct fbcon_ops to keep fbcon's current rotation angle - add con_rotate field in struct display to store per-display rotation angle - create a private copy of the current var to fbcon. This will prevent fbcon from directly manipulating info->var, especially the fields xoffset, yoffset and vmode. - add ability to swap pertinent axes (xres, yres; xpanstep, ypanstep; etc) depending on the rotation angle - change global update_var() (function that sets the screen start address) as an fbcon method update_start. This is required because the axes, start offset, and/or direction can be reversed depending on the rotation angle. - add fbcon method rotate_font() which will rotate each character bitmap to the correct angle of rotation. - add fbcon boot option 'rotate' to select the angle of rotation at bootime. Currently does nothing until all patches are applied. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1dfcdfae5783fc10d7f8fcc336de838a44e7636c tree cb7d4e153bc7f89b63afa1078c0695dc8d9fbc86 parent 6d83b0bb8e5efda28ce4a1abc78277f1d03e50e5 author Michael Hanselmann Tue, 08 Nov 2005 21:39:06 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:34 -0800 [PATCH] fbdev: Framebuffer mode required for PowerBook Titanium This patch adds the framebuffer mode required for an Apple PowerBook G4 Titanium. Signed-off-by: Michael Hanselmann Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d83b0bb8e5efda28ce4a1abc78277f1d03e50e5 tree 9fbf5337bb2428f94dcf428b3387f3198b56ad28 parent 64c7c8f88559624abdbe12b5da6502e8879f8d28 author Antonino A. Daplas Tue, 08 Nov 2005 21:39:05 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:34 -0800 [PATCH] savagefb: X-panning fixes The driver unconditionally sets xpanstep to 2. However, a value of 4 empirically works better at bpp = 8, and 2 for 16 and 32. This buglet was exposed by the rotation code. Second fix is the unconditional call to update_start() without verifying if the offsets are correct. Remove this call, it's not necessary and secondly, it causes a crash with invalid values. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64c7c8f88559624abdbe12b5da6502e8879f8d28 tree 02f85a35ddd0f24dec70e5d6ecd61073578fd8d6 parent 5bfb5d690f36d316a5f3b4f7775fda996faa6b12 author Nick Piggin Tue, 08 Nov 2005 21:39:04 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:33 -0800 [PATCH] sched: resched and cpu_idle rework Make some changes to the NEED_RESCHED and POLLING_NRFLAG to reduce confusion, and make their semantics rigid. Improves efficiency of resched_task and some cpu_idle routines. * In resched_task: - TIF_NEED_RESCHED is only cleared with the task's runqueue lock held, and as we hold it during resched_task, then there is no need for an atomic test and set there. The only other time this should be set is when the task's quantum expires, in the timer interrupt - this is protected against because the rq lock is irq-safe. - If TIF_NEED_RESCHED is set, then we don't need to do anything. It won't get unset until the task get's schedule()d off. - If we are running on the same CPU as the task we resched, then set TIF_NEED_RESCHED and no further action is required. - If we are running on another CPU, and TIF_POLLING_NRFLAG is *not* set after TIF_NEED_RESCHED has been set, then we need to send an IPI. Using these rules, we are able to remove the test and set operation in resched_task, and make clear the previously vague semantics of POLLING_NRFLAG. * In idle routines: - Enter cpu_idle with preempt disabled. When the need_resched() condition becomes true, explicitly call schedule(). This makes things a bit clearer (IMO), but haven't updated all architectures yet. - Many do a test and clear of TIF_NEED_RESCHED for some reason. According to the resched_task rules, this isn't needed (and actually breaks the assumption that TIF_NEED_RESCHED is only cleared with the runqueue lock held). So remove that. Generally one less locked memory op when switching to the idle thread. - Many idle routines clear TIF_POLLING_NRFLAG, and only set it in the inner most polling idle loops. The above resched_task semantics allow it to be set until before the last time need_resched() is checked before going into a halt requiring interrupt wakeup. Many idle routines simply never enter such a halt, and so POLLING_NRFLAG can be always left set, completely eliminating resched IPIs when rescheduling the idle task. POLLING_NRFLAG width can be increased, to reduce the chance of resched IPIs. Signed-off-by: Nick Piggin Cc: Ingo Molnar Cc: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bfb5d690f36d316a5f3b4f7775fda996faa6b12 tree ea53f15293d1ddb49c316eb65df85e939a4f6e5e parent ede3d0fba99520f268067917b50858d788bc41da author Nick Piggin Tue, 08 Nov 2005 21:39:01 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:33 -0800 [PATCH] sched: disable preempt in idle tasks Run idle threads with preempt disabled. Also corrected a bugs in arm26's cpu_idle (make it actually call schedule()). How did it ever work before? Might fix the CPU hotplugging hang which Nigel Cunningham noted. We think the bug hits if the idle thread is preempted after checking need_resched() and before going to sleep, then the CPU offlined. After calling stop_machine_run, the CPU eventually returns from preemption and into the idle thread and goes to sleep. The CPU will continue executing previous idle and have no chance to call play_dead. By disabling preemption until we are ready to explicitly schedule, this bug is fixed and the idle threads generally become more robust. From: alexs PPC build fix From: Yoichi Yuasa MIPS build fix Signed-off-by: Nick Piggin Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ede3d0fba99520f268067917b50858d788bc41da tree 5c33dc43c22f0c2b17db2f118156384baa35cae8 parent 6dd4a85bb3ee0715415892c8b0f2a9bd08d31ca4 author Con Kolivas Tue, 08 Nov 2005 21:39:00 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:32 -0800 [PATCH] sched: consider migration thread with smp nice The intermittent scheduling of the migration thread at ultra high priority makes the smp nice handling see that runqueue as being heavily loaded. The migration thread itself actually handles the balancing so its influence on priority balancing should be ignored. Signed-off-by: Con Kolivas Cc: Ingo Molnar Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6dd4a85bb3ee0715415892c8b0f2a9bd08d31ca4 tree a53890e37a81c4da1d6e6f398aaea66880d4f996 parent 3b0bd9bc6f3b8a47853d1b1de4520de3878e8941 author Con Kolivas Tue, 08 Nov 2005 21:38:59 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:32 -0800 [PATCH] sched: correct smp_nice_bias The priority biasing was off by mutliplying the total load by the total priority bias and this ruins the ratio of loads between runqueues. This patch should correct the ratios of loads between runqueues to be proportional to overall load. -2nd attempt. From: Dave Kleikamp This patch fixes a divide-by-zero error that I hit on a two-way i386 machine. rq->nr_running is tested to be non-zero, but may change by the time it is used in the division. Saving the value to a local variable ensures that the same value that is checked is used in the division. Signed-off-by: Con Kolivas Signed-off-by: Dave Kleikamp Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b0bd9bc6f3b8a47853d1b1de4520de3878e8941 tree 5900a1fbf46d3c83aca09fca0ba664af40151082 parent dad1c65c8000f4485d8602e1875ded77e0d72133 author Con Kolivas Tue, 08 Nov 2005 21:38:58 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:32 -0800 [PATCH] sched: smp nice bias busy queues on idle rebalance To intensify the 'nice' support across physical cpus on SMP we can bias the loads on idle rebalancing. To prevent idle rebalance from trying to pull tasks from queues that appear heavily loaded we only bias the load if there is more than one task running. Add some minor micro-optimisations and have only one return from __source_load and __target_load functions. Fix the fact that target_load was not biased by priority when type == 0. Signed-off-by: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dad1c65c8000f4485d8602e1875ded77e0d72133 tree 2981648916055ac92bb809b88957ff429764dc02 parent 738a2ccbcf8c2c1b039f1e76662dce60b22b694b author Con Kolivas Tue, 08 Nov 2005 21:38:57 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:32 -0800 [PATCH] sched: account rt tasks in prio_bias() Real time tasks' effect on prio_bias should be based on their real time priority level instead of their static_prio which is based on nice. Signed-off-by: Con Kolivas Cc: Ingo Molnar Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 738a2ccbcf8c2c1b039f1e76662dce60b22b694b tree b7359315b135d2266cef2bcfac10347ab34a3ad9 parent b910472dd3b7c1d51af9a594a759f642520c33e1 author Con Kolivas Tue, 08 Nov 2005 21:38:56 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:32 -0800 [PATCH] sched: change prio bias only if queued prio_bias should only be adjusted in set_user_nice if p is actually currently queued. Signed-off-by: Con Kolivas Cc: Ingo Molnar Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b910472dd3b7c1d51af9a594a759f642520c33e1 tree cf2f0496b671bf8728f16b009c84e8811afbcae3 parent b54134be53be720da423692665ec215eb14a678b author Con Kolivas Tue, 08 Nov 2005 21:38:55 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:32 -0800 [PATCH] sched: implement nice support across physical cpus on SMP This patch implements 'nice' support across physical cpus on SMP. It introduces an extra runqueue variable prio_bias which is the sum of the (inverted) static priorities of all the tasks on the runqueue. This is then used to bias busy rebalancing between runqueues to obtain good distribution of tasks of different nice values. By biasing the balancing only during busy rebalancing we can avoid having any significant loss of throughput by not affecting the carefully tuned idle balancing already in place. If all tasks are running at the same nice level this code should also have minimal effect. The code is optimised out in the !CONFIG_SMP case. Signed-off-by: Con Kolivas Cc: Ingo Molnar Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b54134be53be720da423692665ec215eb14a678b tree cf9c5a895a6c657ef23317c6256e7eb284e93b95 parent 79dd0c69f05fccb0396bdcd861ad4686ce888cda author Ricardo Cerqueira Tue, 08 Nov 2005 21:38:54 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:32 -0800 [PATCH] V4L: 926: Saa7134 alsa can only be autoloaded after saa7134 is active - Saa7134-alsa can only be autoloaded after saa7134 is active - Applied pertinent changes proposed by the ALSA team - dsp_nr replaced by ALSA's index[] Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79dd0c69f05fccb0396bdcd861ad4686ce888cda tree e027b7eede37e1212c3237f3a85824a4990e23ee parent 875c296b8ef42a796dc8db57a40b5e2228240c33 author Ricardo Cerqueira Tue, 08 Nov 2005 21:38:53 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: 925: saa7134 alsa is now a standalone module Saa7134-alsa is now a standalone module Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 875c296b8ef42a796dc8db57a40b5e2228240c33 tree 1f358fc93408bfcd78a40446b0f7220dcd837146 parent 9d4d9c05c807ab8a49ac0024987b223bb32c022d author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:53 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: removal schedule for V4L1 API States a date for removing V4L1 API Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d4d9c05c807ab8a49ac0024987b223bb32c022d tree 6f2401a04654a11e2190ce610eab664693784a66 parent 7f7e846ca552c4cf2e04b4666cea18dc26b36b59 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:52 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: 920: fixed autodetection of max size by if alternate setting - Fixed autodetection of max size by if alternate setting - Fixed some debug messages Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f7e846ca552c4cf2e04b4666cea18dc26b36b59 tree 087ac1c7018a3ff23b5c6e9568f005032c6d5fee parent 7bde80769ddf76a2c2e3672f2a932cfc029a1d35 author Torsten Seeboth Tue, 08 Nov 2005 21:38:51 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: 919: improves the audio handling for nicam on cx88-audio Improves the audio handling for NICAM on cx88 audio. Signed-off-by: Torsten Seeboth Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7bde80769ddf76a2c2e3672f2a932cfc029a1d35 tree 7a0884e1b79ad69f7ff01df9de6c124dd7ad47a5 parent c5d4a70ff82aab638b871debc9c8b27216cf1ecd author Hans Verkuil Tue, 08 Nov 2005 21:38:50 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: 917: fixes some bugs in msp3400 - Adds missing msp34xxg_reset to VIDIOC_S_STD (just like VIDIOCSCHAN). - Improves msp3400 debug messages. Now, all kernel message in msp3400.c use the same prefix and include the I2C bus to differentiate between multiple msp3400 I2C chips. - Correctly prints the chip identifier for the msp44xx chips. - msp34xxg cleanups. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5d4a70ff82aab638b871debc9c8b27216cf1ecd tree 0528f65a92011ee0abde27c8195e85994d28f5d4 parent e2998e10a9ed47cb70a5be6207aa34b2f2f22c17 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:50 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: 916: fixes set scart parameter definitions and audout ioctl Fixes set_scart parameter definitions and AUDOUT ioctl Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2998e10a9ed47cb70a5be6207aa34b2f2f22c17 tree bc75362099abaee8d6588406c8d2922d8082a21a parent d6242f209984795644fb08b5410f405406c7104a author Hans Verkuil Tue, 08 Nov 2005 21:38:49 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: 915: fixes compilation problems due removal of media/id.h and i2c-algo-bit Fixes compilation problems due removal of media/id.h and I2C_ALGO_BIT Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6242f209984795644fb08b5410f405406c7104a tree e5c24cb536c59e5ab676aeeed15d3beffeaf315e parent 17ce1ff9cfd90ab3ecffaa5ebfb4abbf8216f2cc author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:48 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: SAA7134 alsa build fix Fixes saa7134-alsa build inside saa7134 driver. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17ce1ff9cfd90ab3ecffaa5ebfb4abbf8216f2cc tree 4b06666fc245d5376183ad5c123cbb0bba74543c parent cb2444dfa203b5b5c76d63c0ce8593e4e0385719 author Ricardo Cerqueira Tue, 08 Nov 2005 21:38:47 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:31 -0800 [PATCH] V4L: 914: use less generic name for saa7134 card 79 Use less-generic name for saa7134 card #79 Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb2444dfa203b5b5c76d63c0ce8593e4e0385719 tree ee62805570a23eb9d44acfafe01b6657f2cc38d1 parent f1bcef8874ab33b1e517b79a9b9df7309a996877 author Ricardo Cerqueira Tue, 08 Nov 2005 21:38:47 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:30 -0800 [PATCH] V4L: 913: saa713x cards with i2c remotes now autoload ir-kbd-i2c SAA713x cards with i2c remotes now autoload ir-kbd-i2c (disable_ir works, as it does for GPIO remotes) Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1bcef8874ab33b1e517b79a9b9df7309a996877 tree d0739e716361a9edeb75a83218aa5d917f925898 parent 247b661f83ad9be317da2e3b0c254ba283f874ef author Tyler Trafford Tue, 08 Nov 2005 21:38:46 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:30 -0800 [PATCH] V4L: 911: added support for ntsc 4.43 video standard Added support for NTSC 4.43 video standard. Signed-off-by: Tyler Trafford Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 247b661f83ad9be317da2e3b0c254ba283f874ef tree 4e7468f223c3e298749eef80db1150cb1fce5997 parent d4b0aba47d48a339572744cb23ba925f04e3cda9 author Michael Krufky Tue, 08 Nov 2005 21:38:45 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:30 -0800 [PATCH] V4L: 909: updated cardlist and strip trailing whitespace Updated CARDLIST and strip trailing whitespace. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4b0aba47d48a339572744cb23ba925f04e3cda9 tree ce20014297024a139752b83c906759b79e2b93a8 parent eac94356c8f9f7d3854ed0290a406b13bfe8df4c author Hartmut Hackmann Tue, 08 Nov 2005 21:38:44 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:30 -0800 [PATCH] V4L: 908: added dvb-t support for asus p7134 dual - Added dvb-t support for Asus P7134 Dual - added pci id for ADS Tech Instant TV cardbus variant Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eac94356c8f9f7d3854ed0290a406b13bfe8df4c tree 5dd31d7ecbb1d0d857972478a322ccb838dd668c parent c3d931929f1d11f9d198567850247ae1754dfc06 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:43 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:30 -0800 [PATCH] V4L: 907: em28xx cleanups and fixes - Em28xx cleanups and fixes. - Some cleanups and audio amux adjust. - em28xx will allways try, by default, the biggest size alt. - Fixes audio mux code. - Fixes some logs. - Adds support for digital output for WinTV USB2 board. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3d931929f1d11f9d198567850247ae1754dfc06 tree 2b212bbda7cfb82d11d9aa57a799439e41d29eb5 parent 90e9df7f186876584b938e01fcf7f40a50c950b9 author Pavel Mihaylov Tue, 08 Nov 2005 21:38:43 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:30 -0800 [PATCH] V4L: 906: remote and more info for pctv cardbus whitespace cleanup Remote and more info for PCTV Cardbus. Whitespace cleanup. Signed-off-by: Pavel Mihaylov Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90e9df7f186876584b938e01fcf7f40a50c950b9 tree 630e9515da682fc1a29006ec89a9f008f1c4ae02 parent 12b0e1df5c10a094a4475439a484307478c4c607 author Hartmut Hackmann Tue, 08 Nov 2005 21:38:42 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:30 -0800 [PATCH] V4L: 904: added dvb support for tda8275a philips tiger reference design Added dvb support for tda8275a (Philips Tiger reference design) Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12b0e1df5c10a094a4475439a484307478c4c607 tree dc9c34ee1573b68a348294d9e28463c9f38a44f4 parent d4c34aa024aef2be3f3deca751c335f72c3e32b6 author Michael Krufky Tue, 08 Nov 2005 21:38:41 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:30 -0800 [PATCH] V4L: 902: saa6588.c should build saa6588.ko rather than rds.ko Saa6588.c should build saa6588.ko, rather than rds.ko Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4c34aa024aef2be3f3deca751c335f72c3e32b6 tree ad59aa0a61c93ebe4b113fcca41a57164ea8c002 parent 6c3d67abdb79ff3e22cd19476c05294274434143 author Kirk Lapray Tue, 08 Nov 2005 21:38:40 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:29 -0800 [PATCH] V4L: 901: added function for nxt200x to change pll input Added function for nxt200x to change pll input Signed-off-by: Kirk Lapray Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c3d67abdb79ff3e22cd19476c05294274434143 tree 04576b0cd46655e49367f5c32b78bb789788b0f2 parent 4ac95af9a0bdc33f18e6a7532ac5319b2d4ab8c2 author Hans J. Koch Tue, 08 Nov 2005 21:38:39 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:29 -0800 [PATCH] V4L: 899: fix rds raw data buffer handling bug which caused Fix RDS raw data buffer handling bug, which caused decoding delays and sometimes wrong data. Signed-off-by: Hans J. Koch Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ac95af9a0bdc33f18e6a7532ac5319b2d4ab8c2 tree 28075f54576996e728a25860a027e4ab895c8a81 parent 22ae2550f65bc322e6bdeff9d3948bbb5e0a9b67 author Hartmut Hackmann Tue, 08 Nov 2005 21:38:38 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:29 -0800 [PATCH] V4L: 896: fixed tda8290 secam l Fixed tda8290 SECAM-L Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22ae2550f65bc322e6bdeff9d3948bbb5e0a9b67 tree 397c1ebd3d2b10e909c97ff1f9f119e20b4cc910 parent b296fc6017e0ec6bc6cd0f40275f268035eb6b8b author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:38 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:29 -0800 [PATCH] v4l: 899: remove media id.h - Removed media id.h file Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b296fc6017e0ec6bc6cd0f40275f268035eb6b8b tree ce2b956c3bdd9e730bcddd4f03372a56131cd365 parent ad07d93ae7884a72a293eb4efb61a872f109ebd5 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:37 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:29 -0800 [PATCH] v4l: 898: em2820 i2c fix - Miscelaneous fixes for em28xx - I2C hardware named changed to wright value. - utsname included to em28xx-video.c - Makefile fixes. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad07d93ae7884a72a293eb4efb61a872f109ebd5 tree d519e95b55af9b93b5460a821984f16a7a057d66 parent 6cffcc23d2837295604033d884d1ad259d0aed57 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:36 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:29 -0800 [PATCH] v4l: 897: saa7146 fix - Fixing headers to compile cleanly. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6cffcc23d2837295604033d884d1ad259d0aed57 tree 11a72fa287c5dcb0a5a5320a38fa16cfc949d598 parent 7418f3462aedf6fb962a44c8fa7259dd94530ff5 author Michael Krufky Tue, 08 Nov 2005 21:38:36 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:29 -0800 [PATCH] v4l: 896: rename BTTV_FOO --> BTTV_BOARD_FOO Adapt to changes in v4l tree: rename BTTV_FOO --> BTTV_BOARD_FOO Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7418f3462aedf6fb962a44c8fa7259dd94530ff5 tree 97e8f42d3a11d8c4d2aaf2e89061e621a25a3550 parent 6e45f5d8d27cb619cf7e94c78a67fb61a4f3dd5e author Lubomir Bulej Tue, 08 Nov 2005 21:38:34 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:29 -0800 [PATCH] v4l: 895: new avermedia 303 card without radio - New Avermedia 303 card (without radio). Signed-off-by: Lubomir Bulej Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e45f5d8d27cb619cf7e94c78a67fb61a4f3dd5e tree 5492bcb10323fb1b62073e71d927db640bb0ec63 parent 291d1d7356a2cf1da4934a06c4a4e3bca440fbc6 author Ricardo Cerqueira Tue, 08 Nov 2005 21:38:34 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:28 -0800 [PATCH] v4l: 894: work around to allow hybrid dvb card to autoload the tda9887 - Work-around to allow hybrid DVB card to autoload the tda9887 Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 291d1d7356a2cf1da4934a06c4a4e3bca440fbc6 tree f55bd3019af4566968657b9b2cd645688ea0fe79 parent d0fcdd7815e26f2e4a4ad239e2b464402a185f66 author Ricardo Cerqueira Tue, 08 Nov 2005 21:38:33 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:28 -0800 [PATCH] v4l: 893: rollback recent i2c change to solve tuner detection breakage - Rollback recent i2c change to solve tuner detection breakage Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0fcdd7815e26f2e4a4ad239e2b464402a185f66 tree a78298d8db7683df2919fed7cd3d3200c0288a65 parent 2ea55ad3897d8abac07435190c851f804433801f author Michael Krufky Tue, 08 Nov 2005 21:38:32 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:28 -0800 [PATCH] v4l: 892: correct nicam audio settings to match dscaler - Correct nicam audio settings to match dscaler Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ea55ad3897d8abac07435190c851f804433801f tree b98b9f9b345dc345dd5cd86d688e7c1a4d7cd39c parent c2e0b62e050374ddbf3221e7b78e1d0f26e148cb author Michael Krufky Tue, 08 Nov 2005 21:38:31 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:28 -0800 [PATCH] v4l: 891: change config em28xx to config video em28xx - Change CONFIG_EM28XX to CONFIG_VIDEO_EM28XX Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2e0b62e050374ddbf3221e7b78e1d0f26e148cb tree f463ee3e2346b5b53f0cfc500377c159d443dd54 parent 15871a2905b84d6dba9013dbcbd9c79ace694ffb author Michael Krufky Tue, 08 Nov 2005 21:38:31 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:28 -0800 [PATCH] v4l: 890: fixed typo - Fixed typo. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15871a2905b84d6dba9013dbcbd9c79ace694ffb tree e60291a8fd62cabe5306d73db3fdd4a33ed6d575 parent 404b32fb3d93c17f994ad4b1d852ce4ca682ff8b author Michael Krufky Tue, 08 Nov 2005 21:38:30 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:28 -0800 [PATCH] v4l: 889: add em28xx to kernel build - Add em28xx to kernel build. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 404b32fb3d93c17f994ad4b1d852ce4ca682ff8b tree c1e76b4a066ba656dc5d6cd6018b00001601fa8e parent c3b3924ea0843d6956e5f87c3a4be09f460fe923 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:29 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 888: saa7113 renamed to saa711x - Saa7113 renamed to saa711x Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3b3924ea0843d6956e5f87c3a4be09f460fe923 tree 12ed4f5a70d4790ee4eec99477a7ec79af4e37c1 parent 3acf28095009509c9ca1e283de821b5be9ddede6 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:29 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 887: i2c id h updated to reflect the newer drivers - I2c-id.h Updated to reflect the newer drivers. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3acf28095009509c9ca1e283de821b5be9ddede6 tree 824f31e6942ac09d977103f4a010e0a349b3afa2 parent e0ec29b7e5aa1f4f1ff73ebd3003336dbe83e174 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 886: renamed common structures to em28xx - Renamed common structures to em28xx Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0ec29b7e5aa1f4f1ff73ebd3003336dbe83e174 tree de32e4c362a18c62b6a34b0ca690d15fd92dd071 parent 710a72589a6727973405fd3580d7c724ba709296 author Jean Delvare Tue, 08 Nov 2005 21:38:26 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 885: second round of i2c ids redefinition cleanup - Second round of i2c IDs redefinition cleanup. Signed-off-by: Jean Delvare Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 710a72589a6727973405fd3580d7c724ba709296 tree 3e837a04275be587234caa863e4400a7d2e36365 parent f7abcd385cc8a5a2f75b07c8325067ea2785ba1e author Michael Krufky Tue, 08 Nov 2005 21:38:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 881: video cx88 need not depend on experimental - VIDEO_CX88 need not depend on EXPERIMENTAL Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7abcd385cc8a5a2f75b07c8325067ea2785ba1e tree f8dc799ec34c773c6b1b7d2e4aa42061c0facf83 parent c12097fd9adb07810fb28f70df5462c0603463cc author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 877: module em2820 renamed to em28xx and moved to v4l dir - Module em2820 renamed to em28xx and moved to V4L dir. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c12097fd9adb07810fb28f70df5462c0603463cc tree 59266c11892e2fbb87bb773a1a75d17af5ee6451 parent f3b512fd42b4ed6ff47a8afb4f42ac3cc325ddad author Michael Schimek Tue, 08 Nov 2005 21:38:24 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 876: moved some user defines to be out of kernel define - Moved some user defines to be out of __KERNEL__ define. Signed-off-by: Michael Schimek Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3b512fd42b4ed6ff47a8afb4f42ac3cc325ddad tree 5c3d79670b5823ad1f9bf8baf2ccec292522903e parent 50c8640725453f2487da9267844a962108c8418e author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:23 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 875: some cleanups at i2c stuff and fixing when tuner addr is set - Some cleanups at I2C stuff and fixing when tuner addr is set. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50c8640725453f2487da9267844a962108c8418e tree b3bc539a2a9e7288aef1dc8832a5c6e1056149bc parent ac113d15a9d1a85f57969244301850379b5f17dd author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:38:22 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:27 -0800 [PATCH] v4l: 874: quick and dirty fix for audc config pinnacle - Quick and dirty fix for AUDC_CONFIG_PINNACLE. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac113d15a9d1a85f57969244301850379b5f17dd tree a5fea89db4e77b4c77c9bfe669d81bf85a3b6d9f parent 24d412289d5508f033d11154f981b478f8831c0d author Michael Krufky Tue, 08 Nov 2005 21:38:21 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 873: updated comments for avertvhd a180 - Updated comments for AVerTVHD A180 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24d412289d5508f033d11154f981b478f8831c0d tree 933c27f9b524361cf1c0210dba6b5f952cc3102a parent 3b64e8e238217ebd3d847ca19ead631124a2ed14 author Ricardo Cerqueira Tue, 08 Nov 2005 21:38:21 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 871: fixed bttv to accept radio devices like tea5767 - Fixed bttv to accept radio devices like tea5767 Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b64e8e238217ebd3d847ca19ead631124a2ed14 tree aff92f3166857d38990b2d9804bdc12f2dee5ef3 parent f4372beb84874ab33f2b06bd6a66ff6d07427081 author Michael Krufky Tue, 08 Nov 2005 21:38:20 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 870: added dvb support for avermedia avertvhd mce a180 - Added DVB support for AVerMedia AVerTVHD MCE A180 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4372beb84874ab33f2b06bd6a66ff6d07427081 tree 6db8d682f60dd2ae2afb6582ddfd2f7ad75bf752 parent fde6d31e19addca8be17dee7f47ad0a7fcaa79ca author Michael Krufky Tue, 08 Nov 2005 21:38:19 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 869: iso c90 forbids mixed declarations and code - ISO C90 forbids mixed declarations and code Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fde6d31e19addca8be17dee7f47ad0a7fcaa79ca tree 16df2e0145321c6a1efe1c0408a2f9dd55bc4b2b parent 85a2eb07e1a83a9569cdaddcef2db8d70e4fbea9 author Kirk Lapray Tue, 08 Nov 2005 21:38:18 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 868: added support for nxt200x based cards ati hdtv wonder - Added support for NXT200X based cards (ATI HDTV Wonder) Signed-off-by: Kirk Lapray Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85a2eb07e1a83a9569cdaddcef2db8d70e4fbea9 tree 5b1db756d1006b0fbe5dce62780378913bf9e715 parent e9d096dc52493228ce1ae0fbed1d2fe0271fbe16 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:18 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 867: correcting fixes to accept radio devices like tea5767 - Correcting fixes to accept radio devices like tea5767. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9d096dc52493228ce1ae0fbed1d2fe0271fbe16 tree 3f5e1d2d81ab4f9df1207a9e7bd596b847a25bbf parent aa8d5e72c3b2dbd18e494564345e84a0b890dd7b author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:38:17 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 866: fix bug with setting mt2050 radio frequency - Fix bug with setting mt2050 radio frequency Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa8d5e72c3b2dbd18e494564345e84a0b890dd7b tree 39f51c3a2afca378a1b4ce6ae4ecbfb7d86a6439 parent feff0485ebcf05b5af8a3c82aa5c361d9f8b6e75 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:16 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 865: fixed bttv to accept radio devices like tea5767 - Fixed bttv to accept radio devices like tea5767. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit feff0485ebcf05b5af8a3c82aa5c361d9f8b6e75 tree 4e62185a0239eea1a12c57332e8027ceb780aa2c parent 45632c4f835e74f937d8632f7ba2dd49aa39c476 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:16 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:26 -0800 [PATCH] v4l: 864: improved isoc error detection - Improved isoc error detection. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45632c4f835e74f937d8632f7ba2dd49aa39c476 tree ae1ca8ba91db30a74188a91746a09a2e0641e414 parent 07eef6ce1558b21ebed9c95ad9c2b4879decf2a8 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:15 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:25 -0800 [PATCH] v4l: 863: added pinnacle dazzle dvc 90 - Added Pinnacle Dazzle DVC 90 Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07eef6ce1558b21ebed9c95ad9c2b4879decf2a8 tree f645446483652c6d9ee41f00ff4c11c3b4ef8d31 parent 91cad0f2bda7cd254efcbbff0e53f86941ca7764 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:38:14 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:25 -0800 [PATCH] v4l: 859: fix compilation with 2.6.8 - Fix compilation with 2.6.8. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91cad0f2bda7cd254efcbbff0e53f86941ca7764 tree d4e301ce6f88b466d915db6a536f0b23cb39a9e5 parent 141a877949ffc22f33dc467dc256259c547ad52e author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:13 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:25 -0800 [PATCH] v4l: 856: some module rename and small fixes - Some module rename and small fixes Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 141a877949ffc22f33dc467dc256259c547ad52e tree 4a8bd55e733740772666eccc9def8b874e7584de parent d5f69daf91edda79e97fbb702e6a15cdf3e496a1 author Michael Krufky Tue, 08 Nov 2005 21:38:13 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:24 -0800 [PATCH] v4l: 855: improve kconfig user friendliness for hybrid dvb v4l boards - Improve Kconfig user-friendliness for hybrid dvb/v4l boards. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5f69daf91edda79e97fbb702e6a15cdf3e496a1 tree 96c30422f95f9a1cd1e4bea9b401308cfa55ccde parent b228ede44c1cded7f3dadbb8bfaeaec97f7885e8 author Michael Krufky Tue, 08 Nov 2005 21:38:12 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:24 -0800 [PATCH] v4l: 854: move cx88 and saa7134 configuration - Move cx88 and saa7134 configuration out of drivers/media/video/Kconfig and instead, use new Kconfig files in each respective directory. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b228ede44c1cded7f3dadbb8bfaeaec97f7885e8 tree e2b2106bfc4d487015985ca7f2207eee586468c9 parent 52c02fcd00cf6fb6f5b2c8beae3b283c63cf1210 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:38:11 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:24 -0800 [PATCH] v4l: 851: fixed broken api link and indentation - Fixed broken API link and indentation. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52c02fcd00cf6fb6f5b2c8beae3b283c63cf1210 tree 575ef8bbbc7cd82ac9a129563fd2445d46ed7c2e parent 07345f5d6a92bc1184ca8b05069ec1cd3514fe11 author Sascha Sommer Tue, 08 Nov 2005 21:38:10 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:24 -0800 [PATCH] v4l: 850: update em2800 scaler code and comments based on info from empiatech - Update em2800 scaler code and comments based on info from empiatech Signed-off-by: Sascha Sommer Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07345f5d6a92bc1184ca8b05069ec1cd3514fe11 tree 57634bbaa35cc0e8f0dc8fe72b8860c65a225343 parent 5d5c9904e56ae39ff71b86dc5046e24601bff00f author Hartmut Hackmann Tue, 08 Nov 2005 21:38:09 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:24 -0800 [PATCH] v4l: 848: fixed tda8290 autodetection - Fixed tda8290 autodetection Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d5c9904e56ae39ff71b86dc5046e24601bff00f tree fdaacdb246cd79f68e64557577fab3b3f6871ae3 parent 791b403f5f8b2bb9ecaefc6dacfd4b96cb282274 author Michael Krufky Tue, 08 Nov 2005 21:38:08 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:24 -0800 [PATCH] v4l: 847: fix bug 5484 asus digimatrix card doesnt work with pal tuner - Fix bug 5484: ASUS digimatrix card doesnt work with PAL tuner Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 791b403f5f8b2bb9ecaefc6dacfd4b96cb282274 tree cd3cea058d38bdd538528e3c72c58845e5d663d3 parent f6d6e6dbdfcfc9d56550744068c2a9918798b773 author Markus Rechberger Tue, 08 Nov 2005 21:38:08 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:24 -0800 [PATCH] v4l: 843: added saa7114 support on i2c address 0x42 - Added saa7114 support on i2c address 0x42 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6d6e6dbdfcfc9d56550744068c2a9918798b773 tree 8cc46a2397f9ea7e640d87ac71dbeb5b83818622 parent a38a7d4ff8539817691a335149cac903be4250f8 author Michael Krufky Tue, 08 Nov 2005 21:38:07 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:24 -0800 [PATCH] v4l: 842: create kconfig files for cx88 and saa7134 directories - Create Kconfig files for cx88 and saa7134 directories. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a38a7d4ff8539817691a335149cac903be4250f8 tree 80a21a6d4b62dbc8311c0256d01e3ebfa94e4e7d parent 30556b23f31973ca311341277c4e4b128c0528bb author Markus Rechberger Tue, 08 Nov 2005 21:38:06 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 841: added saa7114 initcode for msi vox usb 2.0 - Added saa7114 initcode for MSI Vox USB 2.0 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30556b23f31973ca311341277c4e4b128c0528bb tree fcfdd616a70d5cb443a0121cf49b0ddd800f0256 parent 08eca13dc407c389f04ce295144bb3fcd996a10d author Markus Rechberger Tue, 08 Nov 2005 21:38:05 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 840: fixed settings for msi vox usb 2.0 saa7114 is missing atm - Fixed settings for MSI Vox USB 2.0 (saa7114 is missing atm) Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08eca13dc407c389f04ce295144bb3fcd996a10d tree 5641a340debffad85f0f82bef480bc413c26dd3e parent fe2e36c8cdc81bea8edf7d0408a1f49da01e16ee author Markus Rechberger Tue, 08 Nov 2005 21:38:05 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 838: modified settings for msi vox usb 2.0 - Modified settings for MSI VOX USB 2.0 Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe2e36c8cdc81bea8edf7d0408a1f49da01e16ee tree 8743260a5fbdd5fcfeb5b31f24451dbd0b1a9e65 parent 28f0224170c4d8115383f56985575a42ed8b4dc1 author Paul T Zalac Tue, 08 Nov 2005 21:38:04 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 834: add card pctv cardbus tv radio ito25 rev 2b - Add card: PCTV Cardbus TV/Radio (ITO25 Rev:2B) Signed-off-by: Paul T Zalac Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28f0224170c4d8115383f56985575a42ed8b4dc1 tree dabe814416e91fe7b0523d65d44dabb94061b07f parent 67678360c8b8b15b05d730eb8f1b02411891417f author Hermann Pitton Tue, 08 Nov 2005 21:38:03 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 833: analog support for asus p7131 dual tda8275a - Analog support for Asus P7131 Dual - TDA8275A Signed-off-by: Hermann Pitton Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67678360c8b8b15b05d730eb8f1b02411891417f tree 35746b2e2d69344586d4551c2d45c79aeb3e2286 parent f958b68d40b870f5a0d1582f094bc93a53af7cd7 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:02 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 830: rearranged print order to present a correct answer - Rearranged print order to present a correct answer. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f958b68d40b870f5a0d1582f094bc93a53af7cd7 tree abcaf487e5d1f55619b7e70639db1c9aced1756c parent 01cb9633e1b294c604c2dfa01dcac95daf775213 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:38:01 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 829: fixed user mode compiling - Fixed user mode compiling. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01cb9633e1b294c604c2dfa01dcac95daf775213 tree aa4a0310a57b12b0749d1dd6fba327b8f5228709 parent 95736034df751631657140aebe677e67d7522867 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:38:00 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 826: unify whitespaces - Unify whitespaces. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95736034df751631657140aebe677e67d7522867 tree c588da09b52a20411562bbe41b590fe3318bfe60 parent 48c425965ecbd3472133adb857c2fe0608c053a0 author Hartmut Hackmann Tue, 08 Nov 2005 21:38:00 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:23 -0800 [PATCH] v4l: 823: corrected probing code for tda8290 - Corrected probing code for tda8290 Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48c425965ecbd3472133adb857c2fe0608c053a0 tree 98c49ac78b146f9016e6132f3b15934cc9864239 parent f59ab27b7a6fd760268f695078c739f3036b4edf author Elad Lahav Tue, 08 Nov 2005 21:37:59 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 821: set tuner type in vidioc_g_tuner - Set tuner type in VIDIOC_G_TUNER. Signed-off-by: Elad Lahav Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f59ab27b7a6fd760268f695078c739f3036b4edf tree 365be1bbc4267270a3bfb17b1cdf13a9b04a222c parent 13dd38d0814f36fce3a7ec9cb29a5ce6b0fc2522 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:58 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 820: fixed log for tveeprom on em28xx cards - Fixed log for tveeprom on em28xx cards. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13dd38d0814f36fce3a7ec9cb29a5ce6b0fc2522 tree daa5f528843d4d2170aa97c6363545a424966c0e parent e8b23c0238887e1987d82ec0014a7a1fe010e724 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:57 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 819: added autodetection code to tda8290 to avoid conflicts - Added autodetection code to tda8290, to avoid conflicts with tda9887. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8b23c0238887e1987d82ec0014a7a1fe010e724 tree ce8aa283b7960eb3bfdadceedee728539d025d3d parent ac9cd97640a8bcad75dc7305761365c3e339bbc5 author Ricardo Cerqueira Tue, 08 Nov 2005 21:37:56 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 818: cleanup some unnecessary alsa memory (de/)allocations - Cleanup some unnecessary ALSA memory (de/)allocations Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac9cd97640a8bcad75dc7305761365c3e339bbc5 tree a5061e3804d7cc5debbd0277ba10fedbd3a3b2b0 parent f4067fd46aa330d6df0a79b9dd0eb9555809c440 author Ricardo Cerqueira Tue, 08 Nov 2005 21:37:56 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 817: saa713x keymaps and key builders were moved from ir kbd i2c c - SAA713x keymaps and key builders were moved from ir-kbd-i2c.c Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4067fd46aa330d6df0a79b9dd0eb9555809c440 tree 9822073a592a9768f95d7b712e6c648f8f97c24a parent 1a9ca74d22065355d61bb6395590378040e7366d author Hans Verkuil Tue, 08 Nov 2005 21:37:55 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 816: added driver for cirrus logic low voltage stereo a-d converter - Added driver for Cirrus Logic Low Voltage Stereo A/D Converter. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a9ca74d22065355d61bb6395590378040e7366d tree 1be03de84590cf27b20d78121db0b59bc3ef4db0 parent 86bb4a215d152111f20daeb2a530f064afee8542 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:54 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 815: commented obsoleted stuff at videodev headers - Commented obsoleted stuff at videodev headers. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86bb4a215d152111f20daeb2a530f064afee8542 tree 221b2ff35d4dc2db38bb96b62c61dd24a412946e parent 9c75541fc97252e605b7bc8f9b09f816483e22fb author Markus Rechberger Tue, 08 Nov 2005 21:37:53 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 814: cleanup dev assignment - Cleanup dev assignment Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c75541fc97252e605b7bc8f9b09f816483e22fb tree 81cd5eb12405322625ff88fa1e1cb705eeb1fe45 parent c2f6f9d866d3ea25eebe32c6c51e47e5141669cf author Markus Rechberger Tue, 08 Nov 2005 21:37:52 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:22 -0800 [PATCH] v4l: 813: replaced obsolete video get drvdata and video set drvdata - Replaced obsolete video_get_drvdata and video_set_drvdata Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2f6f9d866d3ea25eebe32c6c51e47e5141669cf tree 1c24ee3bc78c06b625f2eaa87a7ff8bc9c05ee5d parent 9a741ec9b87ac13f13a1dfcb05979d7c785d0755 author Ricardo Cerqueira Tue, 08 Nov 2005 21:37:51 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:21 -0800 [PATCH] v4l: 812: supports the pinnacle pctv 110i board video inputs and remote - Supports the Pinnacle PCTV 110i board, video inputs, and remote. Signed-off-by: Ricardo Cerqueira Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a741ec9b87ac13f13a1dfcb05979d7c785d0755 tree cebc3addaa0259d1cc5be9877e5eee7729e126ac parent bf7e26ee5fce3eb1074ba3e1c8f265cb37c8451c author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:37:50 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:21 -0800 [PATCH] v4l: 811: strip trailing whitespaces - Strip trailing whitespaces. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf7e26ee5fce3eb1074ba3e1c8f265cb37c8451c tree 0cf97f1211b845fcbc1881646f4fd205d89b2c2b parent 79436633dbced18aa348f8669ef507109f851303 author Hans Verkuil Tue, 08 Nov 2005 21:37:50 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:21 -0800 [PATCH] v4l: 810: vidioc log status is added to videodev2.h - VIDIOC_LOG_STATUS is added to videodev2.h this can be enabled again in wm8775.c. Also use the v4l2 VIDIOC_S_FREQUENCY instead of VIDIOCSFREQ. Signed-off-by: Hans Verkuil Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79436633dbced18aa348f8669ef507109f851303 tree 46e90aa4e1ebdca2ec5e97bab09e90f06bee1b49 parent de48eebce8b63dbae7272ee80f4fe0eaddb61278 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:49 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:21 -0800 [PATCH] v4l: 809: some changes to allow compiling cx88 and saa7134 - Some changes to allow compiling cx88 and saa7134 without V4L1 support. - This patch will help obsoleting V4L1 API. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de48eebce8b63dbae7272ee80f4fe0eaddb61278 tree aa6a750b39c44732801e31ec0cc235f34b2c2b22 parent 4c0772a9e1fdd5972751993c58d0ac2a427ceb24 author Hartmut Hackmann Tue, 08 Nov 2005 21:37:48 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:21 -0800 [PATCH] v4l: 806: add support for tda8275a - Add support for tda8275a Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c0772a9e1fdd5972751993c58d0ac2a427ceb24 tree 9c160799fed372fe1148c4378054cdd4d02141d0 parent 02f7427333c5784a937314a305132ed31cc6b9d1 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:47 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:21 -0800 [PATCH] v4l: 803: after msp34xxg reset msp wake thread should be called - After msp34xxg_reset, msp_wake_thread should be called to wake again. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02f7427333c5784a937314a305132ed31cc6b9d1 tree 3420ad4eb8ac1875552e959d8b35d7ee04ad4716 parent f2421ca3383ed35bc634aa29416a3229dc603fa4 author Markus Rechberger Tue, 08 Nov 2005 21:37:46 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:21 -0800 [PATCH] v4l: 802: replaced kmalloc kfree with usb buffer alloc usb buffer free to get - Replaced kmalloc/kfree with usb_buffer_alloc/usb_buffer_free to get Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2421ca3383ed35bc634aa29416a3229dc603fa4 tree 60fccd8a1542ebfe36761d01d2b1994c0c378485 parent 4ac97914c6c35f6bf132071c718e034d0846b9f5 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:45 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:21 -0800 [PATCH] v4l: 801: whitespaces cleanups - Whitespaces Cleanups. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ac97914c6c35f6bf132071c718e034d0846b9f5 tree 98c7eb827bb8ba99730ed89d32703a30448fd813 parent a8900fc242406f25f315190a6d650f1d54617c2f author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:43 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:20 -0800 [PATCH] v4l: 800: whitespace cleanups - Whitespace Cleanups. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8900fc242406f25f315190a6d650f1d54617c2f tree 3906edcf8a4b8bc023247dc184bd5ed692ff436b parent 299392bf2040fc53ebfc94363ac0abdd0f0bf619 author Ray Cole Tue, 08 Nov 2005 21:37:43 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:20 -0800 [PATCH] v4l: 799: don t request gpint on avermedia tv capture 98 - Don't request GPINT on Avermedia TV Capture 98. Signed-off-by: Ray Cole . Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 299392bf2040fc53ebfc94363ac0abdd0f0bf619 tree 2ea989ebf59a4478921c49897a3b511477e3d4f7 parent c58c21c7a2ef7d1eb45231d5c1bb24d88a9666b8 author Hans Verkuil Tue, 08 Nov 2005 21:37:42 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:20 -0800 [PATCH] v4l: 798: this patch adds the vidioc log status to videodev2 h and adds - This patch adds the VIDIOC_LOG_STATUS to videodev2.h and adds LOG_STATUS support to tda9887.c and bttv-driver.c. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c58c21c7a2ef7d1eb45231d5c1bb24d88a9666b8 tree cc95753e4ee03568799cab041f76b0222b765c1c parent cf1c5d1d58793bb9320467226ffc850c75c20902 author nshmyrev@yandex.ru Tue, 08 Nov 2005 21:37:41 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:19 -0800 [PATCH] v4l: 797: more intellect on clearing in bits on irq lock - More intellect on clearing in bits on irq lock. Signed-off-by: Nickolay V. Shmyrev <> Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf1c5d1d58793bb9320467226ffc850c75c20902 tree 9906502f4f8ff0517fc70eff392f1216f5112ca3 parent 3ae1adc6ed93d55a27523f395284940fbe056401 author Pieter Palmers Tue, 08 Nov 2005 21:37:40 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:19 -0800 [PATCH] v4l: 796: add sknet monster tv mobile card - Add SKNet Monster TV Mobile card. Signed-off-by: Pieter Palmers Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ae1adc6ed93d55a27523f395284940fbe056401 tree 8e8ccbed3d907c82b27154ff73d701d5f1782f14 parent 71633c05724d85f1afb87629bb96fdf2ef18b41f author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:37:39 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:19 -0800 [PATCH] v4l: 795: new config option for tda9887 to specifically set intercarrier - New config option for tda9887 to specifically set intercarrier Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71633c05724d85f1afb87629bb96fdf2ef18b41f tree 87161ddf167b8f04be4d3de0650a2a9ae2157af0 parent 16f2e6229f6f7b89cb42f4942cb46dc645faae2a author nshmyrev@yandex.ru Tue, 08 Nov 2005 21:37:38 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:19 -0800 [PATCH] v4l: 794: added asound skyeye bttv card - Added Asound Skyeye bttv card. Signed-off-by: Nickolay V. Shmyrev <> Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16f2e6229f6f7b89cb42f4942cb46dc645faae2a tree 798d8cbe6e7362f5967203a3dc1cf6db244d9834 parent 4f9c05aa727a3b27e28972f2f3938b29ad81b833 author Sascha Sommer Tue, 08 Nov 2005 21:37:37 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:19 -0800 [PATCH] v4l: 793: remotes for the cinergy 200 usb and cinergy 250 usb are the same - Remotes for the Cinergy 200 USB and Cinergy 250 USB are the same. Signed-off-by: Sascha Sommer Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f9c05aa727a3b27e28972f2f3938b29ad81b833 tree d495fd8b59d2a85d0f6dd6329eb06277f5ed3678 parent e43f14af143921ac6680aa3ddfff111bef4e034a author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:36 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:19 -0800 [PATCH] v4l: 791: codingstyle fixes - CodingStyle fixes Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Markus Rechberger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e43f14af143921ac6680aa3ddfff111bef4e034a tree 9b83b7070ecb3faeef8ef4515bcac61b071ff380 parent 340622c5a9028d70b1238ecafb463125277a30eb author Markus Rechberger Tue, 08 Nov 2005 21:37:35 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:19 -0800 [PATCH] v4l: 790: added support for terratec cinergy 250 usb - Added support for Terratec Cinergy 250 USB Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 340622c5a9028d70b1238ecafb463125277a30eb tree 7da21022415d720e5b5a6c5bc17a67c5f826cc4f parent 78f82405ace9415e72a87b16c195675f053381f1 author Dwaine Garden Tue, 08 Nov 2005 21:37:34 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 789: added support for saa7113 - Added support for saa7113. Signed-off-by: Dwaine Garden Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78f82405ace9415e72a87b16c195675f053381f1 tree ae75e1752423a59436dbdef62fb37ca5227bdcfd parent 74458e6c1aea9e422e46030e7bc61e9b0984be5b author Hans Verkuil Tue, 08 Nov 2005 21:37:34 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 788: log message - This fixes dual language detection on the msp3400. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74458e6c1aea9e422e46030e7bc61e9b0984be5b tree a3eb63aee04b2ac457ed44e888a15762c2cc3e13 parent d5e5265315770bda46c50ecaa64e2b9790f2064c author Sascha Sommer Tue, 08 Nov 2005 21:37:33 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 786: chip id removed since it isn t required anymore - Chip_id removed since it isn't required anymore. Signed-off-by: Sascha Sommer Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5e5265315770bda46c50ecaa64e2b9790f2064c tree 5c92fa1125dee3f766bd06f18840ce78bf0cd861 parent da45a2a5b96afd7188c058a55eb2917d6524c0cf author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:32 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 784: several improvement on i2c ir handling for em2820 - Several Improvement on I2C IR handling for em2820: - moved Pinnacle IR table (ir_codes_em2820) to em2820-input.c - IR struct renamed and moved to a header file. - New file to handle em2820-specific IR. - Some cleanups. - attach now detects I2C IR and calls em2820-specific IR code - IR compat code moved to compat.h - New header with struct IR_i2c there, to allow it to be used by board-specific input handlers. - Some improvements at em28xx board detection: - Board detection message improved to show interface and class. - Now it doesn't touch audio interfaces. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da45a2a5b96afd7188c058a55eb2917d6524c0cf tree 68a71a260242f0e051bad449d08d93f654b0217b parent 2f4710b1b1c62da3050c4eac08a5f08227e0e0f0 author Markus Rechberger Tue, 08 Nov 2005 21:37:31 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 783: fixed bad em2820 remote layout values - Fixed bad em2820 remote layout values - set KNC One and Purple TV layouts back to default - added pinnacle ir remote i2c address to the i2c scanner Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f4710b1b1c62da3050c4eac08a5f08227e0e0f0 tree f69d2faea85b8f337bb075016801ca08b4c6cd7d parent 55b8b2d173adea54a9e8407f26630c19274fa0b6 author Markus Rechberger Tue, 08 Nov 2005 21:37:30 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 782: ir-kbd-i2c.c updates - fixed probe function - em2820 remote layout - disabled em2820 pinnacle ir support - whitespace cleanups Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55b8b2d173adea54a9e8407f26630c19274fa0b6 tree 6f159198f873dbfe60264772ce22e354c314b2fe parent 994914ea7aecea3d8bc30e6283dacea1f157353c author Paul Vriens Tue, 08 Nov 2005 21:37:29 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 780: fixed typo in module param description - Fixed typo in module param description Signed-off-by: Paul Vriens Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 994914ea7aecea3d8bc30e6283dacea1f157353c tree cb7cbe83182f860ad1a8907b4236a261f8c2a207 parent 76bc3a3933de50559fdd4081f26867f1d25cd5a6 author Michael Krufky Tue, 08 Nov 2005 21:37:28 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 777: updated script to function in new tree layout - Whitespace cleanups Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76bc3a3933de50559fdd4081f26867f1d25cd5a6 tree d544eaa7ffd9193dd1fb14a8b21763e3def8f667 parent 67081a46116e6d9a47f4621ccd63b2fdcd1f45f1 author Michael Krufky Tue, 08 Nov 2005 21:37:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:18 -0800 [PATCH] v4l: 776: added card 75 avermedia avertvhd mce a180 - Added card 75 AVerMedia AVerTVHD MCE A180 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67081a46116e6d9a47f4621ccd63b2fdcd1f45f1 tree 4ec6cae3fe5dc639c63c930e1f1bd91be252aed3 parent 47028d62f9aef032ed4e9645ea0c9eb451312dd9 author Michael Krufky Tue, 08 Nov 2005 21:37:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 775: fix build warnings - Fix build warnings Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47028d62f9aef032ed4e9645ea0c9eb451312dd9 tree b8187f3afe155deb88c1461fddea45f10da1f02d parent 0edeea4f917ab6f0b806c496822267cef2218500 author Michael Krufky Tue, 08 Nov 2005 21:37:26 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 773: be sure to enable video buf dvb in kernel build - Be sure to enable video-buf-dvb in kernel build. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0edeea4f917ab6f0b806c496822267cef2218500 tree 3ae68d0881d31c4459957d656b9c9963cc2bc111 parent 2a2d857c005399fdf4e0913cb43cca9beb9941a7 author Hans Verkuil Tue, 08 Nov 2005 21:37:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 771: the wm8775 is a wolfson microelectronics 24 bit 96khz adc with 4 - Support for Wolfson Microelectronics wm8775 audio processor Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a2d857c005399fdf4e0913cb43cca9beb9941a7 tree c92dc5b4d95c17495e114d09dc98576f0c16df4d parent 596d92d5128d308b5a79f21c3e72c87f5fc7e58b author Michael Krufky Tue, 08 Nov 2005 21:37:24 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 768: don t bother gerd with bttv cards patches - Don't bother Gerd with bttv-cards patches. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 596d92d5128d308b5a79f21c3e72c87f5fc7e58b tree 3957529296b0765e7979f205a9dd0bce7de1eb7a parent 2b5200a7b19a53969db68c97d379339592ca6a4f author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:24 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 767: included support for em2800 - Included support for em2800. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b5200a7b19a53969db68c97d379339592ca6a4f tree 55611b729d1285b046c9128dce53835c3c50a5e9 parent 40c717ff48b2c91091a69de0e28c02a43e9b0c7c author David Shirley Tue, 08 Nov 2005 21:37:22 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 766: add dvb card winfast dtv1000-t - Add DVB card WinFast DTV1000-T Signed-off-by: David Shirley Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40c717ff48b2c91091a69de0e28c02a43e9b0c7c tree 66f5806ae6bb7cf111ecae428b356d5c44cca992 parent c365864faf8c68db9d1a64d4356758da9f206ff1 author Hans Verkuil Tue, 08 Nov 2005 21:37:21 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 763: include newer i2c id at linux include media id h - Include newer I2C ID at ../linux/include/media/id.h: Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c365864faf8c68db9d1a64d4356758da9f206ff1 tree bfd42e024d4085133d39346a68e41d8558d29347 parent a9ae9fb17bdcb22ae0c1abc6ebd97704dd80d9d1 author Markus Rechberger Tue, 08 Nov 2005 21:37:21 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 762: added support for the terratec cinergy 250 usb tv remote - Added support for the terratec cinergy 250 usb tv remote Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9ae9fb17bdcb22ae0c1abc6ebd97704dd80d9d1 tree 6af14213d06c84f3ee806fef638a46e23c3ebc82 parent 18f47d10bc8076bb126a1a369b782e29cc91c824 author Markus Rechberger Tue, 08 Nov 2005 21:37:20 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:17 -0800 [PATCH] v4l: 761: fixed registry value in em2820 - Fixed registry value in em2820-i2c.c which corrects a tuner setting (also removed that call from em2820-video.c) Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18f47d10bc8076bb126a1a369b782e29cc91c824 tree b25d010e3aa82b27f3b58c321e2a7de6f8864f39 parent 6df840f20d1ff63fd13ed1bb3e186395ee800794 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:19 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:16 -0800 [PATCH] v4l: 759: more improvements at msp3400 c from ivtv code - More improvements at msp3400.c from ivtv code. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6df840f20d1ff63fd13ed1bb3e186395ee800794 tree 92d390225b24eaf04e2d4eba49869ad65990f5e1 parent 4eb0c14465a9221f040551a91238b57af301c145 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:18 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:16 -0800 [PATCH] v4l: 758: some improvements at msp3400 c from ivtv code - Some improvements at msp3400.c from ivtv code. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4eb0c14465a9221f040551a91238b57af301c145 tree a962f9922a0d5652b66c07b23a06d0dadee04cb1 parent 98f30ed06a0feade6250438b0bd6cc472f26b12a author Hans Verkuil Tue, 08 Nov 2005 21:37:18 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:16 -0800 [PATCH] v4l: 754: add the adapter address prefix to the tda9887 kernel messages - Add the adapter/address prefix to the tda9887 kernel messages. Signed-off-by: Hans Verkuil Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98f30ed06a0feade6250438b0bd6cc472f26b12a tree 5d7b9eebf347e9376946653c5069876b96b304a8 parent 1f6173ed9b48709383631e2c43eed770f15d05d1 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:17 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:16 -0800 [PATCH] v4l: 739: created make changelog to make easier to generate patches - Created make changelog to make easier to generate patches. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f6173ed9b48709383631e2c43eed770f15d05d1 tree 5a037d74ed3fac794bb7267d1eba9f3fe0613c45 parent 376f269e4731a90db41683cb72717e217d3774f5 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:16 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:16 -0800 [PATCH] v4l: 729: fixed include when compiling at kernel tree - Fixed include when compiling at kernel tree Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 376f269e4731a90db41683cb72717e217d3774f5 tree 4361c5cfa137d59826226d0c82c77b9befa986b9 parent a866623cdc94a3a800167568db24bc55b6860ef0 author Hans Verkuil Tue, 08 Nov 2005 21:37:15 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:16 -0800 [PATCH] v4l: 728: vidiocsfreq and vidiocgfreq expect an unsigned long as argument - VIDIOCSFREQ and VIDIOCGFREQ expect an unsigned long as argument. Signed-off-by: Hans Verkuil Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a866623cdc94a3a800167568db24bc55b6860ef0 tree fcde723cc25e104823c9e13fc01000e60d85e6d7 parent b2c15ea9b23c216bb49303c076bbdcef7e7ba278 author Ricardo Cerqueira Tue, 08 Nov 2005 21:37:14 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:16 -0800 [PATCH] v4l: 727: fixed a bug that caused some saa7133 code to run on saa7134 boards - Fixed a bug that caused some saa7133 code to run on saa7134 boards Signed-off-by: Ricardo Cerqueira Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2c15ea9b23c216bb49303c076bbdcef7e7ba278 tree df02f03b2952947b8eaba6128d176781699b10b3 parent c06f57f55a0e499ec38fbb62812ad3fe08ad246e author Ricardo Cerqueira Tue, 08 Nov 2005 21:37:14 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:16 -0800 [PATCH] v4l: 725: fixed kernel oops when hotswapping pc cards - Fixed kernel oops when hotswapping PC Cards Signed-off-by: Ricardo Cerqueira Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c06f57f55a0e499ec38fbb62812ad3fe08ad246e tree cc61d91dd12a0df16d024bddcabe0e9849c6d289 parent 4d63cb45a2ee5cbf2e6d568fb2c4007a52e21bcf author Michael Krufky Tue, 08 Nov 2005 21:37:13 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:15 -0800 [PATCH] v4l: 723: fix build for 2.6.14 - Fix build for 2.6.14 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d63cb45a2ee5cbf2e6d568fb2c4007a52e21bcf tree 575098ca6fd019946219bc761646e0c0e2cc55e3 parent bd15eba3a0f2b175bd80c21d5fc86c02ed4c56f6 author Alexey Dobriyan Tue, 08 Nov 2005 21:37:12 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:15 -0800 [PATCH] v4l: 721: check kthread correctly - Check ->kthread correctly Signed-off-by: Alexey Dobriyan Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd15eba3a0f2b175bd80c21d5fc86c02ed4c56f6 tree 62890926bf734408e1e4e34f8a1a273974fb984e parent 2f8d4f5139fe7817f43202d8ee2f4b68ac53e58f author Ricardo Cerqueira Tue, 08 Nov 2005 21:37:11 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:15 -0800 [PATCH] v4l: 720: alsa support for saa7134 that should work wonderful - Alsa support for saa7134 that should work. Signed-off-by: Ricardo Cerqueira Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f8d4f5139fe7817f43202d8ee2f4b68ac53e58f tree afaef8b0ba1a9a2cb6f5f12dd4f43945080e4be7 parent fd35a6b454818e01f761622e9ac5824ce2d7baf5 author Robert W. Boone Tue, 08 Nov 2005 21:37:10 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:15 -0800 [PATCH] v4l: 719: implement some differences in video output port - Implement some differences in video output port Signed-off-by: Robert W. Boone Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd35a6b454818e01f761622e9ac5824ce2d7baf5 tree 674d9b0a451801363af43d73c2f085476d62c821 parent 3c1904a997153b17861bd331c9075017ba34b901 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:37:09 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:15 -0800 [PATCH] v4l: 718: fixed build - Fixed build. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c1904a997153b17861bd331c9075017ba34b901 tree 113bfd7980a22c7132261f3bfb2f0b06ba388c55 parent a6c2ba283565dbc9f055dcb2ecba1971460bb535 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:37:08 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:15 -0800 [PATCH] v4l: 717: added scripts and cardlist for em2820 - Added scripts and CARDLIST for em2820. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6c2ba283565dbc9f055dcb2ecba1971460bb535 tree fd262f8af5bffc99753ff861be85574616113467 parent 4b017415fc9ab63f7c0e49aced5e403c18d55659 author akpm@osdl.org Tue, 08 Nov 2005 21:37:07 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:15 -0800 [PATCH] v4l: 716: support for em28xx board family - Added support for em28xx board family Signed-off-by: Ludovico Cavedon Signed-off-by: Markus Rechberger Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b017415fc9ab63f7c0e49aced5e403c18d55659 tree 283c871ca4022159896a53c7afab2eec4ed3680f parent 3375c39844b58ad8a5d9f454fa908d722a94a5a4 author Michael Krufky Tue, 08 Nov 2005 21:37:06 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:14 -0800 [PATCH] v4l: 715: enable s video input on dvico fusionhdtv5 lite - Enable S-Video input on DViCO FusionHDTV5 Lite Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3375c39844b58ad8a5d9f454fa908d722a94a5a4 tree 8f97ed47d2eb8643faa67b75d781504a24c7005a parent 5f7591c04f3797694e331a31d00317ae4acb9af0 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:37:05 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:14 -0800 [PATCH] v4l: 714: fix typo - Fix typo. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f7591c04f3797694e331a31d00317ae4acb9af0 tree d5cd4fad63c5ae6c9b0e973be93fa5df8cb194ca parent e976f93725ce16b4a493d40a6dd3bccbd74b9a8a author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:37:04 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:14 -0800 [PATCH] v4l: 713: add alsa support to saa7134 driver Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e976f93725ce16b4a493d40a6dd3bccbd74b9a8a tree a50459ae4835b8371469a918deb5f93a65594114 parent cf583ac40d06825bc850dc4f47627d7661aaa4f8 author Kirk Lapray Tue, 08 Nov 2005 21:37:04 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:14 -0800 [PATCH] v4l: 712: added analog support for ati hdtv wonder - Added analog support for ATI HDTV Wonder Signed-off-by: Kirk Lapray Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf583ac40d06825bc850dc4f47627d7661aaa4f8 tree dd1686df5df4a99db8ae071475950cc3a883ad3a parent f718e6e7a2c402195f3d2944605ef4b01e8e3347 author Michael Krufky Tue, 08 Nov 2005 21:37:03 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:14 -0800 [PATCH] v4l: 711: changed pll 1 to pll pll 28 - Changed { .pll = 1, } to { .pll = PLL_28, } Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f718e6e7a2c402195f3d2944605ef4b01e8e3347 tree 9699bb72ec8ed1ad2f75c075cd1387003c581096 parent 1eaad5b113811db7fdb6d02e1c8d9ff7c8ba6919 author Kenth Andersson Tue, 08 Nov 2005 21:37:02 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:14 -0800 [PATCH] v4l: 709: added osprey 440 card - Added Osprey 440 card. Signed-off-by: Kenth Andersson Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1eaad5b113811db7fdb6d02e1c8d9ff7c8ba6919 tree 65422756ffa9a78be8623a35049aac1a669fba09 parent dc2286cfce214c0de00571f3219a50488c58dd6b author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:37:01 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:14 -0800 [PATCH] v4l: 708: full mute of saa7134 on mute command - Full mute of saa7134 on mute command. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc2286cfce214c0de00571f3219a50488c58dd6b tree 3ffafaa3fac1397b36304ec04cedbccff546dc05 parent 7b3c6d659fc392cfd80e57840c10ccd4c6ab62c5 author James R. Webb Tue, 08 Nov 2005 21:37:00 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:13 -0800 [PATCH] v4l: 707: remote for kworld terminator - Remote for KWorld Terminator. Signed-off-by: James R. Webb Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b3c6d659fc392cfd80e57840c10ccd4c6ab62c5 tree 3e495a13040304f00b11f4c98e7b26176a5131d2 parent 0bcc37c328ac66ede45a6672f85795eee0b05b87 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:59 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:13 -0800 [PATCH] v4l: 706: reindent cx88 tvaudio c to keep coding style - Reindent cx88-tvaudio.c to keep coding style. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0bcc37c328ac66ede45a6672f85795eee0b05b87 tree 1544e4691b291a7c95252a329593470e2f7b0d3a parent afce892f66c196989fe7d938150201d337c553e5 author Alexander Wold Tue, 08 Nov 2005 21:36:58 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:13 -0800 [PATCH] v4l: 705: added kworld vstream expertdvd - Added Kworld Vstream ExpertDVD. Signed-off-by: Alexander Wold Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit afce892f66c196989fe7d938150201d337c553e5 tree ac5350ed9aca3fecf84da1fd0d0ea378ea751aa5 parent 10c2c8b18a9cd29fc3f5faa5ad8e825dcc8b58e6 author Michael Krufky Tue, 08 Nov 2005 21:36:57 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:13 -0800 [PATCH] v4l: 704: enable support for the ir remote on compro videomate t200 - Enable support for the IR Remote on Compro Videomate T200 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10c2c8b18a9cd29fc3f5faa5ad8e825dcc8b58e6 tree ae37a863159f37bd2f1321f4e5a6d6492bea07b4 parent 90a7ed47a37297bee1f4ce11484190ccac29ae7c author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:56 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:13 -0800 [PATCH] v4l: 703: added new card prolink pixelview playtv mpeg2 pv m4900 - Added new card: Prolink PixelView PlayTV MPEG2 PV-M4900 Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90a7ed47a37297bee1f4ce11484190ccac29ae7c tree e249153546133913bc53b71c5f2717c53d937530 parent 6af90ab5e7a9111a861fde33726ae960d30915f0 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:56 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:13 -0800 [PATCH] v4l: 702: included audio chips enum - Included audio chips enum Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6af90ab5e7a9111a861fde33726ae960d30915f0 tree 3ed149a82cc5b5a1c5f5e85218b2960b2677d7f8 parent 6589d36a07864aa110dd4f1065c02f5bc7cc29a1 author Arnaud Patard Tue, 08 Nov 2005 21:36:55 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:13 -0800 [PATCH] v4l: 700: added ir for lifeview flytv platinum mini2 - Added IR for LifeView FlyTV Platinum Mini2. Signed-off-by: Arnaud Patard Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6589d36a07864aa110dd4f1065c02f5bc7cc29a1 tree 1b3b93e78b25b4d586e4d363b5bedceaf0230233 parent da57a5d9050d83441769e275d54d88fbd768be49 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:54 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:13 -0800 [PATCH] v4l: 695: added more pci id - Added more PCI ID. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da57a5d9050d83441769e275d54d88fbd768be49 tree 6f3032b90fcabb1d1f4be56b4dd2853e340ba7c7 parent 5a25e84b3ca053f240dc8fa3320bc843a0a394f5 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:53 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] v4l: 694: updated an entry to reflect changes on tuner-simple.c - Updated an entry to reflect changes on tuner-simple.c Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a25e84b3ca053f240dc8fa3320bc843a0a394f5 tree 4c07fa2b64975e1697b340c961048f36dcbdfe77 parent 2bfa1ac6ce854a7f895d5c9d6c273ef770fad9ae author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:52 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] vl4: 693: bttv board renaming - Boards renamed to BTTV_BOARD_xxx Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bfa1ac6ce854a7f895d5c9d6c273ef770fad9ae tree 5739417b6b320669ba8d35b3ce04f085e44479d7 parent 70b6934a6c6b5f242a42978f3c5e4f45d476dddb author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:51 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] v4l: 692: bttv coding style and card ids - BTTV Boards now use the same CodingStyle as cx88 and saa7134. - Included missing card numbers Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70b6934a6c6b5f242a42978f3c5e4f45d476dddb tree 4dc11b5d2936953cf13ea335c6c56845dd26b991 parent 058afaf80932445fb33f957d29758479a65932ce author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:50 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] v4l: 691: set if of tda8275 according to tv norm - Set IF of tda8275 according to tv norm. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 058afaf80932445fb33f957d29758479a65932ce tree af57c3039bd162a891e9824c7356e957edf4f88d parent 5ea246862863d712bacf3f2c0cb43de7bf1feeba author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:49 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] v4l: 690: added support for lifeview flytv platinum mini2 - Added support for LifeView FlyTV Platinum Mini2. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ea246862863d712bacf3f2c0cb43de7bf1feeba tree 3fd9ecef0f5548f7731d3a31ea161585122569c5 parent fea095fe4c8f7f615472ee8036fe511b47eec53d author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:48 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] v4l: 689: cx88 cardlist updated now it also includes pci subsystem ids - Cx88 cardlist updated. Now, it also includes PCI subsystem IDs. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fea095fe4c8f7f615472ee8036fe511b47eec53d tree 181336200c5febeaa360a888ecfb5001bc0bbfb3 parent 93e960ff2d94a68403f87bbd2e664509bdfefbae author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:47 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] v4l: 688: add remote for dvb t300 remote - Add remote for DVB-T300 Remote. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93e960ff2d94a68403f87bbd2e664509bdfefbae tree c4eaf32bd169415996d1510cb96297968abf5d55 parent 9b71521b66da26129255ade6ad71f708032bc0e0 author David Woodhouse Tue, 08 Nov 2005 21:36:46 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] v4l: 687: fix source charset make symbols utf 8 - Fix source charset. Make symbols UTF-8. Signed-off-by: David Woodhouse . Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b71521b66da26129255ade6ad71f708032bc0e0 tree 3b7092a636f91e8df933ddb2e7e4fe412e5d68d4 parent 20f441f6900d786606583263d89653c48c7093a8 author Robert W. Boone Tue, 08 Nov 2005 21:36:45 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:12 -0800 [PATCH] v4l: 686: change the number of lines in the input signal when the - Change the number of lines in the input signal when the video standard is changed. - Fix comments style. Signed-off-by: Robert W. Boone Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20f441f6900d786606583263d89653c48c7093a8 tree 4986a94daa7ae92782883c59cabbcce45ec40e53 parent 372dffdb4b2d23e94b657d2321c16c4c86df45d2 author Hans Verkuil Tue, 08 Nov 2005 21:36:44 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:11 -0800 [PATCH] v4l: 685: update the tveeprom tuner list with the tuner - Update the tveeprom tuner list with the tuner Signed-off-by: Hans Verkuil Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 372dffdb4b2d23e94b657d2321c16c4c86df45d2 tree 3ceab29292eb3ec36e991615d24e39b80c77e97a parent 4c86f973ba0f49af1f4c54ff3d1935093c173450 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:44 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:11 -0800 [PATCH] v4l: 683: some v4l2 api calls implemented on msp3400.c - Some V4L2 API calls implemented on msp3400.c. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c86f973ba0f49af1f4c54ff3d1935093c173450 tree a2aa739d81861e081f04aa9cd9514596a20efefd parent 83331624aac006b615f6853aacd28aef3111ef07 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:43 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:11 -0800 [PATCH] v4l: 678: fixed input selection - Fixed input selection. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83331624aac006b615f6853aacd28aef3111ef07 tree 64b11dd169b3ad21bfb686ff45b9c7e419e1f611 parent 84486d53b7fab2cf939acd378959fc4896d3bb68 author Hartmut Hackmann Tue, 08 Nov 2005 21:36:42 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:11 -0800 [PATCH] v4l: 677: increased eeprom dump to 128 bytes - Increased eeprom dump to 128 bytes Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84486d53b7fab2cf939acd378959fc4896d3bb68 tree 5d20712f556029eb0ed280f3c8a1509b4c519be9 parent 35f8d4d623953b5d868d9735a4c10e57dca6dc97 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:41 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:11 -0800 [PATCH] v4l: 675: tvp5150 included on makefile - Tvp5150 included on makefile. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35f8d4d623953b5d868d9735a4c10e57dca6dc97 tree bffd8eedb50ea673ffac2b5aa0b0ddb549a4a4f9 parent cd4665c5dcf9916dc2f71d30c7e7830ee7cbf884 author Michael Krufky Tue, 08 Nov 2005 21:36:41 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:11 -0800 [PATCH] v4l: 674: move some if kernel version into compat.h - Move some #if kernel version into compat.h Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd4665c5dcf9916dc2f71d30c7e7830ee7cbf884 tree 5b13259c6f85d59ad0c33328c28b4b167265b8b0 parent 46a3a575bcc6a82b8538dd7a02fef634853ad31e author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:40 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:11 -0800 [PATCH] v4l: 673: initial code for texas instruments tvp5150a and tvp5150am1 - Initial code for Texas Instruments TVP5150A and TVP5150AM1 Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46a3a575bcc6a82b8538dd7a02fef634853ad31e tree 87cd9c9114ae7e379dacf2ee92c34586a7c19e41 parent caa812e4a5d77703f4839b5d25139aa05615ddb3 author Michael Krufky Tue, 08 Nov 2005 21:36:39 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:11 -0800 [PATCH] v4l: 672: fix build for 2.6.14 - Fix build for 2.6.14 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit caa812e4a5d77703f4839b5d25139aa05615ddb3 tree ed70f5bb101586a0995877d27508aab88939b7d3 parent 699a40690b5facb3aa1256304cd6b97691eb5fdc author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:39 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:10 -0800 [PATCH] v4l: 670: cardlist update - Cardlist update. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 699a40690b5facb3aa1256304cd6b97691eb5fdc tree 3930d55c3bfdc27501b069fd70eb18bb4e4ed9d5 parent 9f95a0bf8594f59c708492d5ab6ea9a72621f0dd author Luis Miguel García Tue, 08 Nov 2005 21:36:38 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:10 -0800 [PATCH] v4l: 669: added prolink pixelview pv bt878p rev 2e compatibility - Added Prolink Pixelview PV-BT878P+ (Rev.2E) compatibility Signed-off-by: Luis Miguel García Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f95a0bf8594f59c708492d5ab6ea9a72621f0dd tree 046fb4018205a7b78d6875de2649d92164dd95c3 parent 17a05ef33a3c9489f659c4e40f8bfafd834e0cb9 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:37 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:10 -0800 [PATCH] v4l: 667: remove some if 0 which doesn t have any sense - Remove some #if 0 which doesn't have any sense Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17a05ef33a3c9489f659c4e40f8bfafd834e0cb9 tree 49f3ebd444d21dd7a77604ed29067d119d0d1b1c parent e222f83406f987c661b6da2d3fb4fc8ae8b5c660 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:36 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:10 -0800 [PATCH] v4l: 665: fix for problem with audio register setup via dsp access - Fix for problem with audio register setup via DSP access Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e222f83406f987c661b6da2d3fb4fc8ae8b5c660 tree 51121fe55588c8641363b93db36c6d892f9f4e4f parent bb881f142465a7a70bc9a364786e39aa4aaba4d2 author Hans J. Koch Tue, 08 Nov 2005 21:36:35 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:10 -0800 [PATCH] v4l: 664: improved coding style for timer settings - Improved coding style for timer settings Signed-off-by: Hans J. Koch Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb881f142465a7a70bc9a364786e39aa4aaba4d2 tree 20774accd9d33e072946ab0cb802dd02dda84c5e parent fd1c388125d713b403569d96d9845470142884a2 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:35 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:10 -0800 [PATCH] v4l: 663: add new rtd cards - Add new RTD cards Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd1c388125d713b403569d96d9845470142884a2 tree 62a339e7abfc16323605a930ba7005de43cbb83d parent 84a5e55c70d881451208ec56609ccd75053c08fa author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:34 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:10 -0800 [PATCH] v4l: 660: small fixes - Small fixes on tuner debug message. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84a5e55c70d881451208ec56609ccd75053c08fa tree dc9d7cec1b70ce6af1564d1b73733169d4d26221 parent 2cf36ac447308046d1c1d50b9f662bddbba56b33 author Michael Krufky Tue, 08 Nov 2005 21:36:33 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:10 -0800 [PATCH] v4l: 657: update documentation - Update tuner documentation Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2cf36ac447308046d1c1d50b9f662bddbba56b33 tree a2fe21c91e8227d2fc6139bcedd51462d32341ef parent 93df3413f1b4c437b93c5b64562632f4f0e2b3ca author Hartmut Hackmann Tue, 08 Nov 2005 21:36:32 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:09 -0800 [PATCH] v4l: 656: added support for the following cards - Added support for the following cards: - Philips EUROPA reference desigh - Compro VideoMate DVB-T300 - Compro VideoMate DVB-T200 (initial) Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93df3413f1b4c437b93c5b64562632f4f0e2b3ca tree c0aa2b995966f46f373ef8c493c36bad5ab626d3 parent 3aa4f48aee93e793071e26d6807efdf6eb111614 author Hartmut Hackmann Tue, 08 Nov 2005 21:36:31 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:09 -0800 [PATCH] v4l: 655: added support for the philips td1316 tuner - Added support for the Philips TD1316 tuner Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3aa4f48aee93e793071e26d6807efdf6eb111614 tree 56dc0bdaac1ebe5083f32743ff4306791a3356b9 parent f9e7a0203def0704beaf4af1ff2c772f9fa712cf author Hartmut Hackmann Tue, 08 Nov 2005 21:36:30 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:09 -0800 [PATCH] v4l: 653: ts dma buffer synchronization was inverted - TS DMA buffer synchronization was inverted Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9e7a0203def0704beaf4af1ff2c772f9fa712cf tree 28805b79f81a7e6ed1ff67329a984641ae53520b parent c5df599b67b5a061d28a2154a49f9704e0d1040b author Peter Hagervall Tue, 08 Nov 2005 21:36:29 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:09 -0800 [PATCH] v4l: 651: fix a number of sparse warnings - Fix a number of sparse warnings. Signed-off-by: Peter Hagervall Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5df599b67b5a061d28a2154a49f9704e0d1040b tree afdd298aa4c9177215cb8d2a5e4bbf256a1dae27 parent b1706b91051e1270e0bd5134219e48732a9d6c42 author Catalin Climov Tue, 08 Nov 2005 21:36:28 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:08 -0800 [PATCH] v4l: 649: fixed gcc 4 0 compile warnings by moving var declarations to the top of the function or block - Fixed gcc 4.0 compile warnings by moving var declarations to the top of the function or block. Signed-off-by: Catalin Climov Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b1706b91051e1270e0bd5134219e48732a9d6c42 tree 87f22068f9a4f40854528408e0c64d523d92ecad parent c35d4b84f19d3f4b6a2fec652519e721f2cca169 author Torsten Seeboth Tue, 08 Nov 2005 21:36:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:08 -0800 [PATCH] v4l: 648: some clean up in cx88 tvaudio c - Some clean up in cx88-tvaudio.c Signed-off-by: Torsten Seeboth Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c35d4b84f19d3f4b6a2fec652519e721f2cca169 tree d2d3055fb835703a9fcebef669721684d5049c00 parent 99d6c34864342c2071e3a9820bb797374a314fb2 author Mauro Carvalho Chehab Tue, 08 Nov 2005 21:36:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:08 -0800 [PATCH] v4l: 647: included cb3 structures on tda8290 that should be changed according with - Included CB3 structures on tda8290 Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99d6c34864342c2071e3a9820bb797374a314fb2 tree c1add813bfc331298c5b18a790a30f4b0c873929 parent b01bc14a2c67b0b562d8201a864d7b4aada07ab4 author Michael Krufky Tue, 08 Nov 2005 21:36:26 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:08 -0800 [PATCH] v4l: 646: enable dvb support for dvico fusionhdtv5 lite - Enable DVB support for DViCO FusionHDTV5 Lite. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b01bc14a2c67b0b562d8201a864d7b4aada07ab4 tree deb2c95124da13ee670aca60dd4e64035764968f parent 6f3c343bfa61532e02b95d409455a8bab6b47a6b author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:08 -0800 [PATCH] v4l: 645: refine input handling for manli beholder - Refine input handling for Manli/Beholder. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f3c343bfa61532e02b95d409455a8bab6b47a6b tree ac6f730bed86644d38300322f372f27a4addba76 parent 84cd961cab8abd764f74d27ee47feff8942fca10 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:24 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:08 -0800 [PATCH] v4l: 644: lower switch from vhf lo to vhf hi for philips 1216me mk3 - Lower switch from VHF_LO to VHF_HI for Philips 1216ME MK3 Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84cd961cab8abd764f74d27ee47feff8942fca10 tree 267b533313b2ee5b3b184a569a60ddd4e3da408d parent dcd555ece9a2228d918a439480d748c163a11d00 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:24 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:08 -0800 [PATCH] v4l: 643: use key media instead of key videomodeswitch since - Use KEY_MEDIA instead of KEY_VIDEOMODESWITCH Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dcd555ece9a2228d918a439480d748c163a11d00 tree f304537e8c4eef1c5df558c0e2d648104c64ee77 parent 6b96144026e27b9250713f86355e83095204d5f2 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:23 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:08 -0800 [PATCH] v4l: 640: fixed typos - Fixed typos Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b96144026e27b9250713f86355e83095204d5f2 tree bddf687c9eb864aef2c86782eddf7d5e70c2c14f parent 7c08fb02f1a1b86292aa144cc876a95fbe2a5606 author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:22 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:07 -0800 [PATCH] v4l: 639: added new card gotview pci 7135 - Added new card GoTView PCI 7135 Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c08fb02f1a1b86292aa144cc876a95fbe2a5606 tree 9218bb43f6b0c530af7580f8a5793c418472a0bf parent cc9d8d49bb13fdcea521f907e120d3a7c7ce94f8 author Michael Krufky Tue, 08 Nov 2005 21:36:21 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:07 -0800 [PATCH] v4l: 636: don t enable gpioirq until after card probe - Don't enable gpioirq until after card probe. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc9d8d49bb13fdcea521f907e120d3a7c7ce94f8 tree 6e032140664ea6822675749963ad2ea743d27ccf parent 87f0783159783a315c68a00e50706cd01aa10511 author Ricardo Cerqueira Tue, 08 Nov 2005 21:36:20 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:07 -0800 [PATCH] v4l: 635: add bttv card 137 conceptronic ctvfmi v2 - Add bttv card 137 - Conceptronic CTVFMi v2 Signed-off-by: Ricardo Cerqueira Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87f0783159783a315c68a00e50706cd01aa10511 tree 83eed4a6f9b1abbca8227c59d2a96878bd559e24 parent ccd7b6500275e34e2fb90bcf316a5a721d5cdb52 author Michael Krufky Tue, 08 Nov 2005 21:36:19 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:07 -0800 [PATCH] v4l: 634: implemented tuner set standby on cx88 init - Implemented TUNER_SET_STANDBY on cx88 init. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ccd7b6500275e34e2fb90bcf316a5a721d5cdb52 tree 5a078d60c4a4d82f5f082acd2a9dc30e90af7269 parent 31629424132c87f7c8bd79d7ed4d014354a06427 author Michael Krufky Tue, 08 Nov 2005 21:36:19 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:07 -0800 [PATCH] v4l: 633: climov s previous patch missing changelog entry - Fixes broken compile of cx88-dvb.c Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31629424132c87f7c8bd79d7ed4d014354a06427 tree d06538533ad02a6e498a0c9e3ed6fde9eaf65bb5 parent 7df64e8c9cee596c2609c99b0ca1ebb6ae2d5b1d author Catalin Climov Tue, 08 Nov 2005 21:36:17 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:07 -0800 [PATCH] v4l: 631: implemented the v4l2 mpeg api for blackbird cards - Implemented the v4l2 mpeg api for blackbird cards. Signed-off-by: Catalin Climov Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7df64e8c9cee596c2609c99b0ca1ebb6ae2d5b1d tree 6b4fef588ca351ac26b678bbaff8fa56873d79a4 parent a8ff417e7310c63b890cbd94c67043ec153f8709 author Michael Krufky Tue, 08 Nov 2005 21:36:16 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:07 -0800 [PATCH] v4l: 630: capitalized hex a f changed to lowercase in pci subsystem id constants - Capitalized hex A-F changed to lowercase in pci subsystem id constants Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8ff417e7310c63b890cbd94c67043ec153f8709 tree 62a237ed0a8d27a9b8f9e7bec5828f310e4871fe parent d45170ed6731a55885386f0e8d04578f77d3045d author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:16 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:06 -0800 [PATCH] v4l: 629: added behold tv 409 fm - Added Behold TV 409 FM Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d45170ed6731a55885386f0e8d04578f77d3045d tree aaccc6a21b2b66d61bcf4de7c317ab7e271be612 parent 2d14f78e4bfa55e5a534cc4c03ddab8841a1b32e author Nickolay V. Shmyrev Tue, 08 Nov 2005 21:36:15 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:06 -0800 [PATCH] v4l: 628: added new avermedia card 550 - Added new Avermedia card 550 Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d14f78e4bfa55e5a534cc4c03ddab8841a1b32e tree 64c02875395c4a8f52c7944b9bc90486da39d61a parent cc952d03c0c36ec9a4c2a683015dbb98e8a889df author Glen Gray Tue, 08 Nov 2005 21:36:12 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:06 -0800 [PATCH] v4l: 627: added support for oem version of flytv platinum mini with a - Added support for OEM version of FlyTV Platinum mini with a subvendor id of 0x4e42. - Added the OEM PCI id's to the docs/CARDLIST.saa7134 for item 39 - Modified the vmux in the SAA7134_BOARD_FLYTVPLATINUM_MINI driver data from 0 (Composite over S-Video) to 3 (Composite). Signed-off-by: Glen Gray Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc952d03c0c36ec9a4c2a683015dbb98e8a889df tree 98665704775768d666e434a969aad089388fb7b4 parent 496157d089c3caeda35017833ea3bb895f29ed15 author Kirk Lapray Tue, 08 Nov 2005 21:36:02 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:06 -0800 [PATCH] dvb: nxt200x: Add function for nxt200x to change pll input - Added function for nxt200x to change pll input - For VSB set to input 0, for QAM set to input 1 - will only be set for cards that have set_pll_input defined Signed-off-by: Kirk Lapray Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 496157d089c3caeda35017833ea3bb895f29ed15 tree e7cdb8c5582d02c55a58a531d77a8032ee5daa74 parent 66944e998a7e1164895e9bd7cae9f841a9f46ef5 author Kirk Lapray Tue, 08 Nov 2005 21:35:55 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:06 -0800 [PATCH] dvb: nxt200x: Fix typo in Makefile for nxt200x - Fix Typo: Change CONFIG_DVB_NXT2002 to CONFIG_DVB_NXT200X for the nxt200x module. Signed-off-by: Kirk Lapray Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66944e998a7e1164895e9bd7cae9f841a9f46ef5 tree 6e6c887569c6f916a4cc7b871129ce6129033ae7 parent d371d6a04c6b50125e8dbf9a2234cc694f6e3cdf author Michael Krufky Tue, 08 Nov 2005 21:35:55 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:06 -0800 [PATCH] dvb: lgdt330x: Correct QAM symbol_rate_min for lgdt3302 and lgdt3303 Correct QAM symbol_rate_min for lgdt3302 and lgdt3303 Thanks to: Mac Michaels and Steve Malenfant Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d371d6a04c6b50125e8dbf9a2234cc694f6e3cdf tree b7480e83bc0978332c676ec220f3bf310915b697 parent de122dfda505e693f75e73628e026e4f6250ede7 author Andrew Morton Tue, 08 Nov 2005 21:35:54 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:06 -0800 [PATCH] dvb-usb-urb printk fix drivers/media/dvb/dvb-usb/dvb-usb-urb.c: In function `dvb_usb_allocate_stream_buffers': drivers/media/dvb/dvb-usb/dvb-usb-urb.c:199: warning: int format, different type arg (arg 4) Don't assume that dma_addr_t is 32-bit. (dvb has quite a few such warnings. Please compile it with a 64-bit compiler, fix them up - some are oopsable). Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de122dfda505e693f75e73628e026e4f6250ede7 tree 7fddaec99d4d92a4d6c07739549362bce4a480d2 parent f6f4b725461d1f3e2587993b22b0c6fe524d9259 author Michael Krufky Tue, 08 Nov 2005 21:35:53 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:06 -0800 [PATCH] dvb: documentation updates for hybrid v4l/dvb cards Updated documentation to include "hybrid" v4l/dvb and ATSC cards. Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6f4b725461d1f3e2587993b22b0c6fe524d9259 tree 1fdede40e29ec4763c7496494478fa7186be0e76 parent f93cf038d5930810e7e280e70de6e0c07ad959da author Patrick Boettcher Tue, 08 Nov 2005 21:35:52 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: Add support for the Artec T1 USB2.0 box Adding support for the Artec T1 USB2.0 box (real USB2.0) Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f93cf038d5930810e7e280e70de6e0c07ad959da tree 31bcc544ae5879ac169979a4aad1732d5e0b379e parent b3967d6c251d8482fe42a1aad3cc292ee04c0a6b author Kirk Lapray Tue, 08 Nov 2005 21:35:51 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: Remove status check from nxt200x_readreg_multibyte Remove status check from nxt200x_readreg_multibyte, it really shouldn't be necessary. Signed-off-by: Kirk Lapray Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3967d6c251d8482fe42a1aad3cc292ee04c0a6b tree b885c08047d209504a4b774bc07b641c51a8721e parent f0fa86a574843264bdcbed4c84b41a2778861fde author Mark Adams Tue, 08 Nov 2005 21:35:50 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: fix bug in demux that caused lost mpeg sections Fix a bug in the software demux which causes large MPEG sections to be lost when they follow very small sections. The problem happens when two sections begin in the same transport packet. The dvb_demux code resets its buffer only before the first of these sections. This means that when the second (or subsequent) section begins, there is up to 182 bytes of buffer space already used. If the following section is close to the maximum size, it currently won't fit in the (4096-byte) buffer and is thrown away. The fix is simply to enlarge the buffer by the size of one transport packet and correct one usage of the SECFEED_SIZE definition where what is really meant is the maximum size of a section. Signed-off-by: Mark Adams Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0fa86a574843264bdcbed4c84b41a2778861fde tree f3974c580155375183ef8283620d89b40462d39f parent 6d35ae3d1137c92a315b7ff10aecd45b1f37d99e author Michael Krufky Tue, 08 Nov 2005 21:35:49 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: determine tuner write method based on nxt chip - Add support for AVerTVHD MCE a180. - Instead of determining how to write to the tuner based on which NIM is being used, make this determination based on whether the chip is a NXT2002 or NXT2004. - If NXT2004, write directly to tuner. If NXT2002, write through NXT chip. Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d35ae3d1137c92a315b7ff10aecd45b1f37d99e tree d996d012f09916739c91ea0705367faa56d0ca8e parent c6dd2d5d61b000509e3a7f6c06778b16a4ef10ba author Michael Krufky Tue, 08 Nov 2005 21:35:48 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: nxt200x: remove null check before kfree() Removed unnecessary null check before kfree() ...inspired by the big patch from Jesper Juhl. Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6dd2d5d61b000509e3a7f6c06778b16a4ef10ba tree 4308921df9c0ecdefdb740941bcea945ad8959c1 parent 04a45929e7f00ed4fc7b1d375397f808c8a5d0eb author Michael Krufky Tue, 08 Nov 2005 21:35:47 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: nxt200x: check callback fix Check that a callback (set_ts_params) is set before calling it. Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04a45929e7f00ed4fc7b1d375397f808c8a5d0eb tree 60d4671280834e4b352c41231449ee5acaf4a990 parent 7f44dcda3f659ce47c1660a705802f12a2403a90 author Kirk Lapray Tue, 08 Nov 2005 21:35:46 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: add nxt200x frontend module * nxt200x.c, nxt200x.h - New frontend module that supports both NXT2002 and NXT2004. So far, only tested on NXT2004. After testing on NXT2002, we should deprecate the nxt2002 module, and implement this one instead on the applicable cards. * get_dvb_firmware: - Added support for the NXT2004 firmware. This firmware works with both the ATI HDTV Wonder and the AVerTVHD MCE a180. This was originally written by Jean-Francois Thibert * dvb-pll.c - Fixed minimum frequency for tuv1236d. It seems that the data sheets are wrong. Signed-off-by: Kirk Lapray Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f44dcda3f659ce47c1660a705802f12a2403a90 tree 9ee8d3e3c3f3f8e237103191ee2c6edcee218dee parent ff29d06a102b35f9523ab4b6c38c9eb9948d1c80 author Oliver Endriss Tue, 08 Nov 2005 21:35:44 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: fixed inittab register 0x12 for BSRU6/BSBE1 fixed inittab register 0x12 for BSRU6/BSBE1 Signed-off-by: Oliver Endriss Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff29d06a102b35f9523ab4b6c38c9eb9948d1c80 tree b279125bd224819729f303ac232bf7fd9b67078a parent 163d8fed1640c9a6c9f54e261ad5c755e373d04e author Oliver Endriss Tue, 08 Nov 2005 21:35:43 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:05 -0800 [PATCH] dvb: stv0299: reduce i2c xfer and set register 0x12 from inittab stv0299_set_frontend(): reduced number of i2c transfers, set register 0x12 from inittab Signed-off-by: Oliver Endriss Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 163d8fed1640c9a6c9f54e261ad5c755e373d04e tree 8435e652cf0292ca00adc26b19fab3f8938e2906 parent 147418c9ca7bdffadafb0122c15b1eae167142f4 author Stuart Auchterlonie Tue, 08 Nov 2005 21:35:40 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:04 -0800 [PATCH] dvb: Nebula nxt6000 requires fe reset Nebula nxt6000 requires fe reset. Signed-off-by: Stuart Auchterlonie Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 147418c9ca7bdffadafb0122c15b1eae167142f4 tree 23589a4e9bd88524f361de527c288ebf492950c2 parent f1016dec71a4ff3cf49110137c87ab988bd316e6 author Kirk Lapray Tue, 08 Nov 2005 21:35:39 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:04 -0800 [PATCH] dvb: add support for plls used by nxt200x - Added support for the following: Philips TUV1236D - ATI HDTV Wonder ALPS TDHU2 - AverTVHD MCE A180 Samsung TBMV30111IN - Air2PC ATSC - 2nd generation These will be used in a new NXT200X driver that incorporates the NXT2002 driver and adds support for a couple NXT2004 based cards. Signed-off-by: Kirk Lapray Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1016dec71a4ff3cf49110137c87ab988bd316e6 tree db3fcaf57efacaf3a5fc515ded09e2de04b2de30 parent d28d57629ffcd30e11a6085e15ee1327fea60b60 author Henrik Sjoberg Tue, 08 Nov 2005 21:35:38 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:04 -0800 [PATCH] dvb: dst: protect dst_write_tuna from simultaneous writes dst_write_tuna needs to be protected against simultaeneous writes, just like dst_command Signed-off-by: Henrik Sjoberg Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d28d57629ffcd30e11a6085e15ee1327fea60b60 tree c3286f3f4a2eeec76cff805b5d06a455bab9e8eb parent 2cbeddc976645262dbe036d6ec0825f96af70da3 author Manu Abraham Tue, 08 Nov 2005 21:35:36 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:03 -0800 [PATCH] dvb: dst: protect the read/write commands with a mutex We need to protect the read/write commands with a mutex. Bug reported by Henrik Sjoberg Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2cbeddc976645262dbe036d6ec0825f96af70da3 tree c9916c7e66a1abcaafc788af4e6c0aee8cc1b5e2 parent 28fdd7599cb9c6c620caf13bcaea41e2532cb5fd author Michael Krufky Tue, 08 Nov 2005 21:35:35 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:03 -0800 [PATCH] dvb: Updated documentation for FusionHDTV Lite cards - Updated documentation for FusionHDTV Lite cards. We must differentiate the bt8xx based "Lite" cards from the cx2388x based "Gold" cards. - Provide location of CARDLIST.bttv Documentation, rather than instructing users to look at bttv.h - Include card decimal id numbers. These are valid for module arguments, and might be easier for some people to remember, rather than hex. Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28fdd7599cb9c6c620caf13bcaea41e2532cb5fd tree 9323b4e051f5d2ac40b599b89d04737513cd25c8 parent c0b11b914de27e0e82b5311cf9b498a1b008b591 author Manu Abraham Tue, 08 Nov 2005 21:35:33 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:03 -0800 [PATCH] dvb: Updated Documentation Updated Documentation Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0b11b914de27e0e82b5311cf9b498a1b008b591 tree 3eb9ff604ca727f5a86d3b592a01c528b99de454 parent f7b67195ea571b8540ac79daf27f5932ec40c098 author Michael Krufky Tue, 08 Nov 2005 21:35:32 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:03 -0800 [PATCH] dvb: Add support for Air2PC/AirStar 2 ATSC 3rd generation (HD5000) Added support for Air2PC/AirStar 2 ATSC 3rd generation (HD5000) Signed-off-by: Taylor Jacob Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7b67195ea571b8540ac79daf27f5932ec40c098 tree 83d34f50eb9035c2c9de5e372a6c86533ab54345 parent 3528cc4e731b098b5743f8f91516e2e6c01dd1ce author Andrew de Quincey Tue, 08 Nov 2005 21:35:29 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:03 -0800 [PATCH] dvb: Remove DEBUG_LOCKLOSS stuff Remove DEBUG_LOCKLOSS stuff - as the problem has been found and resolved Signed-off-by: Andrew de Quincey Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3528cc4e731b098b5743f8f91516e2e6c01dd1ce tree ced5870f7d36e55e21b3813f7008ff5c10cba4ba parent 83b75b049be981e579ba2cb88aa9bf3534bbbdb1 author Andrew de Quincy Tue, 08 Nov 2005 21:35:28 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:03 -0800 [PATCH] dvb: Remove broken stv0299 enhanced tuning code Remove broken stv0299 enhanced tuning code Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83b75b049be981e579ba2cb88aa9bf3534bbbdb1 tree c7d6199e9c6b5373b373439148da7dc4f48a0698 parent b90ed914e513a6ad6184f7a46a0df0888dcfc177 author NooneImportant Tue, 08 Nov 2005 21:35:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:03 -0800 [PATCH] dvb: let other frontends support FE_DISHNETWORK_SEND_LEGACY_CMD Add support to FE_DISHNETWORK_SEND_LEGACY_CMD code to support other frontends besides stv0299. The generic code is a fallback in the case that it doesn't work for some specific frontends (again stv0299 being a good example). Signed-off-by: NooneImportant Signed-off-by: Johannes Stezenbach Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b90ed914e513a6ad6184f7a46a0df0888dcfc177 tree 31c9b27b6140499dc930e47f6dd1d7cbe0893584 parent 5c15c0b4fa850543b8ccfcf93686d24456cc384d author Johannes Stezenbach Tue, 08 Nov 2005 21:35:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:03 -0800 [PATCH] dvb: Fix integer overflow bug Fix integer overflow bug in read_signal_strength() reported by Anthony Leclerc. Signed-off-by: Johannes Stezenbach Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c15c0b4fa850543b8ccfcf93686d24456cc384d tree 85863bed32aedbed05a079efc077e04827f58f89 parent 4fbbc7ee591ab19707d12e2f86a1ae11f7195423 author Manu Abraham Tue, 08 Nov 2005 21:35:24 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: dst: Fix possible buffer overflow Fixes a possible buffer overflow due to reading more than 8 bytes into an 8 byte long array Thanks to Perceval Anichini for pointing out the bug. Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fbbc7ee591ab19707d12e2f86a1ae11f7195423 tree 7c57b11183346325174ba5d278ad95efc9edcfeb parent f5648e8a68daec5fd1c42c1500c662967adb8f6c author Perceval Anichini Tue, 08 Nov 2005 21:35:23 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: dst: remove redundant checksum calculation removes the redundant checksum calculation, which was also exported from the dst.c module Signed-off-by: Perceval Anichini Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5648e8a68daec5fd1c42c1500c662967adb8f6c tree d8f95f28a5bda82edc5592643f29efbea443c263 parent 4c09aa72b60f30650527afb384c1b3b1cb56aeea author Tom Hughes Tue, 08 Nov 2005 21:35:22 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: dst: fix DST DVB-S get_frequency fix DST DVB-S get_frequency - fixes a bug that caused the returned frequency to wrong Signed-off-by: Tom Hughes Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c09aa72b60f30650527afb384c1b3b1cb56aeea tree f69a59a7f681c94acf34d431e70d8214a78f18a9 parent f630558dfbd47301c2ce30f7e4acd2817a7455ac author Manu Abraham Tue, 08 Nov 2005 21:35:20 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: dst: fix broken support for vp-3040 TS204 fixes broken support for vp-3040 TS204 Thanks-to: Lee Hammerton Signed-off-by: Manu Abraham Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f630558dfbd47301c2ce30f7e4acd2817a7455ac tree a78a30ef0397ae3e48c32fb84b7a191c56f3c738 parent 174f80dfcba45677f12ba57479d03750dd9cad7b author Perceval Anichini Tue, 08 Nov 2005 21:35:19 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: dst: fix memory leaks fix memory leaks Signed-off-by: Perceval Anichini Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 174f80dfcba45677f12ba57479d03750dd9cad7b tree 4c5e3defa06e6758d6a1ae9f97b484a405cb9fb1 parent 93a14f15d35cd60742220995d3413d256ebde9ee author Peter Hagervall Tue, 08 Nov 2005 21:35:18 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: fix sparse warnings Sparse warnings - remove address space related warnings Signed-off-by: Peter Hagervall Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93a14f15d35cd60742220995d3413d256ebde9ee tree da6fa97a552b21835d747c3e2a6d05cb69141b17 parent 2b70a2f55e249308c57879df5723d96406e12b27 author Raymond Mantchala Tue, 08 Nov 2005 21:35:17 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: dst: ASN.1 length field Fix ASN.1 length field Fix Signed-off-by: Raymond Mantchala Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b70a2f55e249308c57879df5723d96406e12b27 tree 5858511f6d99133d7e6d205090153f660f579955 parent a18a80b09f78178f6404b538ab09937ee9044e2e author Michael Krufky Tue, 08 Nov 2005 21:35:16 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: microtune mt7202dtf: Fix charge pump setting Fix charge pump setting in microtune_mt7202dtf_pll_set(). Thanks to Jyrki Niskala for reporting. Signed-off-by: Johannes Stezenbach Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a18a80b09f78178f6404b538ab09937ee9044e2e tree 53bd84dec04f404f22892c93c9558daa390ef22f parent 6573dd752d50730d44c550ad0467d15871963655 author Thorsten Maerz Tue, 08 Nov 2005 21:35:15 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:02 -0800 [PATCH] dvb: remove duplicate key definitions The duplicate key definitions cause misinterpretations with other keys, e.g. the "TELETEXT" key clashes with "CHANNEL_UP" and thus can not be used with LIRC. This patch removes these duplicates. Signed-off-by: Thorsten Maerz Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6573dd752d50730d44c550ad0467d15871963655 tree 43ba37d29e503b6edbb4de019a643fd03acacc21 parent 634623d3ba6146e13d06d3f36188c189c8a58a23 author Andreas Oberritter Tue, 08 Nov 2005 21:35:14 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:01 -0800 [PATCH] dvb: pluto2: Removed unavoidable error message and related code Removed unavoidable error message and related code. Signed-off-by: Andreas Oberritter Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 634623d3ba6146e13d06d3f36188c189c8a58a23 tree 26038351a6b1191c84a9265ba75d9d2bb9a41756 parent 3cff00d91292e744a510be7256f1c80e1b0be819 author Hartmut Hackmann Tue, 08 Nov 2005 21:35:13 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:01 -0800 [PATCH] dvb: tda1004x: pll communication fixes - leave I2C bridge open at pll_sleep to support Philips EUROPA based cards. - give an error message if the communication with the pll fails. Signed-off-by: Hartmut Hackmann Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cff00d91292e744a510be7256f1c80e1b0be819 tree bb97c03a216dffa97debd664c2afe5386802bc81 parent 3765022171874d249535a1c8b8190f408fd85f21 author Michael Krufky Tue, 08 Nov 2005 21:35:12 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:01 -0800 [PATCH] dvb: Add ATSC support for DViCO FusionHDTV5 Lite Added ATSC support for DViCO FusionHDTV5 Lite. Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3765022171874d249535a1c8b8190f408fd85f21 tree 6893e9ea13baada35915c0fbee3f8867600ca571 parent 9691bb14d9ab646868a6392e9419070c304a9590 author Andrew de Quincey Tue, 08 Nov 2005 21:35:11 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:01 -0800 [PATCH] dvb: stv0299: revert improper method Remove my badly thought out patch. This does need done, but in a proper way. Signed-off-by: Andrew de Quincey Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9691bb14d9ab646868a6392e9419070c304a9590 tree 1bbe492ebbaab8168db24a0e2328be08d5a14ed7 parent 29b2f784da28cc8289f17a07360997093b7b0156 author Martin Zwickel Tue, 08 Nov 2005 21:35:10 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:01 -0800 [PATCH] dvb: add support for Technotrend Budget Card S1500 This patch adds support for the Technotrend Budget Card S1500 with a BSBE1 frontend and the LNBP21. Signed-off-by: Martin Zwickel Signed-off-by: Andrew de Quincey Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29b2f784da28cc8289f17a07360997093b7b0156 tree f87fc11e5e9ab8c9598f2869b6d37eebe60cb12f parent b05a581d4865d74c0e270d27156a88d2dee9494e author Manu Abraham Tue, 08 Nov 2005 21:35:09 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:01 -0800 [PATCH] dvb: dst: Correcty Identify Tuner and Daughterboards - Identify Tuner, Daughterboards correctly - Added partial support for VP-10320A (DVB-S), VP-20210 (DVB-C), VP-3040 (DVB-T) Signed-off-by: Manu Abraham Signed-off-by: Michael Krufky Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b05a581d4865d74c0e270d27156a88d2dee9494e tree c3fb1f55aa2323198cdbd65e87cd300a2c0edbde parent 7e4c54a2a4f1cec6a652c6014714ee51b7e1311f author Christoph Hellwig Tue, 08 Nov 2005 21:35:08 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:01 -0800 [PATCH] move some COMPATIBLE_IOCTL entries from x86_64 to common code Signed-off-by: Christoph Hellwig Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e4c54a2a4f1cec6a652c6014714ee51b7e1311f tree 1ea84dfd2ec1ee67f9a111012b136621c170f77b parent 7a81e316866be8053b18fe1dffc663f1ff19bfc3 author Christoph Hellwig Tue, 08 Nov 2005 21:35:07 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:00 -0800 [PATCH] remove ioctl32_handler_t Some architectures define and use this type in their compat_ioctl code, but all of them can easily use the identical ioctl_trans_handler_t type that is defined in common code. Signed-off-by: Christoph Hellwig Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a81e316866be8053b18fe1dffc663f1ff19bfc3 tree 5d4920691227194b6f7e17a9f3342d72473cc036 parent 49705b7743fd8f5632a95ec4c6547d169d27ac1f author Christoph Hellwig Tue, 08 Nov 2005 21:35:07 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:00 -0800 [PATCH] re-add TIOCSTART and TIOCSTOP compat_ioctl handlers We don't implement these ioctls, but some architectures define them in the headers. Bash picks them up and issues them frequently. Add compat_ioctl handlers to silence warnings about unhandled copat ioctls. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49705b7743fd8f5632a95ec4c6547d169d27ac1f tree b209b1f94bfcfee522c44d2abef1cdb196219a52 parent 8c744fb83da0771afa04695028e3550b798dad90 author Christoph Hellwig Tue, 08 Nov 2005 21:35:06 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:56:00 -0800 [PATCH] sanitize lookup_hash prototype ->permission and ->lookup have a struct nameidata * argument these days to pass down lookup intents. Unfortunately some callers of lookup_hash don't actually pass this one down. For lookup_one_len() we don't have a struct nameidata to pass down, but as this function is a library function only used by filesystem code this is an acceptable limitation. All other callers should pass down the nameidata, so this patch changes the lookup_hash interface to only take a struct nameidata argument and derives the other two arguments to __lookup_hash from it. All callers already have the nameidata argument available so this is not a problem. At the same time I'd like to deprecate the lookup_hash interface as there are better exported interfaces for filesystem usage. Before it can actually be removed I need to fix up rpc_pipefs. Signed-off-by: Christoph Hellwig Cc: Ram Pai Cc: Jeff Mahoney Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c744fb83da0771afa04695028e3550b798dad90 tree 670896a1c2594965099853a6c992907abb3a886f parent e4543eddfd3bf3e0d625841377fa695a519edfd4 author Christoph Hellwig Tue, 08 Nov 2005 21:35:04 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:59 -0800 [PATCH] add a file_permission helper A few more callers of permission() just want to check for a different access pattern on an already open file. This patch adds a wrapper for permission() that takes a file in preparation of per-mount read-only support and to clean up the callers a little. The helper is not intended for new code, everything without the interface set in stone should use vfs_permission() Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4543eddfd3bf3e0d625841377fa695a519edfd4 tree b62546cb0038529bd8cd583333c556ad799f2081 parent e4a53cbabc81f04e24a5570b4aa6a6384bdbfc67 author Christoph Hellwig Tue, 08 Nov 2005 21:35:04 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:58 -0800 [PATCH] add a vfs_permission helper Most permission() calls have a struct nameidata * available. This helper takes that as an argument and thus makes sure we pass it down for lookup intents and prepares for per-mount read-only support where we need a struct vfsmount for checking whether a file is writeable. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4a53cbabc81f04e24a5570b4aa6a6384bdbfc67 tree cfcfb5b0f93b30d035719ddffe069d3362155707 parent 55e64b3003f03355d8e950af58d456b6314a5a62 author Gabriel A. Devenyi Tue, 08 Nov 2005 21:35:00 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:58 -0800 [PATCH] drivers/block/pktcdvd.c: remove write-only variable in pkt_iosched_process_queue() Found this on Coverty's linux bug database (http://linuxbugsdb.coverity.com). The function pkt_iosched_process_queue makes a call to bdev_get_queue and stores the result but never uses it, so it looks like it can be safely removed. Signed-off-by: Gabriel A. Devenyi Signed-off-by: Adrian Bunk Acked-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55e64b3003f03355d8e950af58d456b6314a5a62 tree 6a51b651a032abc82f880fd275e5272e0c322813 parent 2860b733f114e088b56c20da6145902c16b79a44 author Adrian Bunk Tue, 08 Nov 2005 21:34:59 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:58 -0800 [PATCH] ext2: remove the ancient CHANGES file This patch removes an ancient changelog file. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2860b733f114e088b56c20da6145902c16b79a44 tree 999ad11a6985597b2c4de62d93bdfc1b807ce8e4 parent 0ad74ffa90fb20b4132ae6e67e473f24621c6af2 author Adrian Bunk Tue, 08 Nov 2005 21:34:59 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:58 -0800 [PATCH] remove CONFIG_EXT{2,3}_CHECK The CONFIG_EXT{2,3}_CHECK options where were never available, and all they did was to implement a subset of e2fsck in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ad74ffa90fb20b4132ae6e67e473f24621c6af2 tree 458abb41b477579041674d02131ae295fa7d622c parent 41a34a4fe1d4478b1c8b6b6ea634ab1adb156885 author Jan Kara Tue, 08 Nov 2005 21:34:58 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:58 -0800 [PATCH] Fix return value in reiserfs allocator Make reiserfs correctly return EDQUOT when the allocation failed due to quotas (so far we just returned ENOSPC). Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41a34a4fe1d4478b1c8b6b6ea634ab1adb156885 tree 18e228df2befa6a8f3e3703cbafea12fed92ac64 parent 33096b1e735b0a36c289ced394da7a25e94bc815 author Christoph Hellwig Tue, 08 Nov 2005 21:34:57 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:58 -0800 [PATCH] fat: respect silent mount flag Pass down the silent flag to parse_options(). Without this fat gives warnings when mounting some non-fat rootfs with options. Signed-off-by: Christoph Hellwig Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33096b1e735b0a36c289ced394da7a25e94bc815 tree e1cd73223ce1a98615e092ce388aaed2b6704645 parent 733482e445ca4450cf41381b1c95e2b8c7145114 author Christoph Hellwig Tue, 08 Nov 2005 21:34:56 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:57 -0800 [PATCH] hpfs: remove spurious mtime update Remove mtime update in hpfs_file_write, it's done in generic_file_write already. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 733482e445ca4450cf41381b1c95e2b8c7145114 tree d31a2fdaeb8e439fc348a781c780a035d794266d parent c1a0f5e3c01d28b6782457bee5ae5ace3a9958ec author Olaf Hering Tue, 08 Nov 2005 21:34:55 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:57 -0800 [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason This patch removes almost all inclusions of linux/version.h. The 3 #defines are unused in most of the touched files. A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is unfortunatly in linux/version.h. There are also lots of #ifdef for long obsolete kernels, this was not touched. In a few places, the linux/version.h include was move to where the LINUX_VERSION_CODE was used. quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'` search pattern: /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1a0f5e3c01d28b6782457bee5ae5ace3a9958ec tree a81f2f28e50013dad3b4c31f4dca4600b2909eb0 parent a02f0570ae201c495ee991b959bb974af18f35cc author Roman Zippel Tue, 08 Nov 2005 21:34:54 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:54 -0800 [PATCH] kconfig: stricter error checking for .config Add some more checks during the parsing of .config, so that after parsing sym_change_count reflects the correct state whether the .config is correct and in sync with the Kconfig or if it needs saving. Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a02f0570ae201c495ee991b959bb974af18f35cc tree 363e06307b7355caa2435a006c5385a1149bb7cc parent 3370f9f0d9c7d14bf71aab27fa45c0537f130614 author Roman Zippel Tue, 08 Nov 2005 21:34:53 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:54 -0800 [PATCH] kconfig: improve error handling in the parser Add a few error tokens to the parser to catch common errors and print more descriptive error messages. Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3370f9f0d9c7d14bf71aab27fa45c0537f130614 tree d1fb9b98aabf5fb6dd4e68c1dc69eb345f0c7f60 parent 7a88488bbc231e48a4a88ee2569bc0cc5d706f0a author Roman Zippel Tue, 08 Nov 2005 21:34:52 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:54 -0800 [PATCH] kconfig: simplify symbol type parsing This simplifies the parser a bit by merging the various symbol types into a single token and adds the type to the keyword hash. Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a88488bbc231e48a4a88ee2569bc0cc5d706f0a tree 2fd6b51b5cf76dd37a2a369a29c50b5121c12a92 parent 491d711035dc08071ed58cf470f15efadb67cb1c author Roman Zippel Tue, 08 Nov 2005 21:34:51 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:53 -0800 [PATCH] kconfig: use gperf for kconfig keywords Use gperf to generate a hash for the kconfig keywords. This greatly reduces the size of the generated scanner and makes it easier to extend kconfig. Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 491d711035dc08071ed58cf470f15efadb67cb1c tree 0da933a45aae6810afcbbba38b4f35046477416c parent 4cf3cbe2a9682242cd38897914b1f2a95f1db7e4 author Roman Zippel Tue, 08 Nov 2005 21:34:50 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:53 -0800 [PATCH] kconfig: update kconfig Makefile Remove the long obsolete zconf.tab.h and fix kconfig make rules to generate the correct output files. Setting LKC_GENPARSER will now also update the shipped files. Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4cf3cbe2a9682242cd38897914b1f2a95f1db7e4 tree c1c4133a02171e79cc4952f19cbd9b4600035d78 parent 90389160efc2864501ced6e662f9419eb7a3e6c8 author Roman Zippel Tue, 08 Nov 2005 21:34:49 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:53 -0800 [PATCH] kconfig: allow variable argumnts for range This allows variable arguments in the range option for int and hex config symbols. Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90389160efc2864501ced6e662f9419eb7a3e6c8 tree 3b2957a7540bf9e78ef106fe606945e435fab957 parent 3f23ca2b37d13a89bb6cd0421821fc9c3b8ccd47 author Roman Zippel Tue, 08 Nov 2005 21:34:49 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:53 -0800 [PATCH] kconfig: preset config during all*config Allow to force setting of config variables during all{no,mod,yes,random}config to a specific value. For that conf first checks the KCONFIG_ALLCONFIG environment variable for a file name, otherwise it checks for all{no,mod,yes,random}.config and all.config. The file is a normal config file, which presets the config variables, but they are still subject to normal dependency checks. Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f23ca2b37d13a89bb6cd0421821fc9c3b8ccd47 tree 134efbc253baa6aef5c2a39ffc4c5ab66dba7902 parent 3f04e7ddf47a1c821dfaa886161d94774af583fa author Roman Zippel Tue, 08 Nov 2005 21:34:48 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:53 -0800 [PATCH] kconfig: fix restart for choice symbols The restart check whether new symbols became visible, didn't always work for choice symbols. Even if a choice symbol itself isn't changable, the childs are. This also requires to update the new status of all choice values, once one of them is set. Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f04e7ddf47a1c821dfaa886161d94774af583fa tree dbe112747d7096ae0b8cbe900e2d19529970001e parent cecd1ca0cbd6fc5873e9bb110dacb8411be72928 author David Gibson Tue, 08 Nov 2005 21:34:46 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:53 -0800 [PATCH] kconfig: Fix Kconfig performance bug When doing its recursive dependency check, scripts/kconfig/conf uses the flag SYMBOL_CHECK_DONE to avoid rechecking a symbol it has already checked. However, that flag is only set at the top level, so if a symbol is first encountered as a dependency of another symbol it will be rechecked every time it is encountered until it's encountered at the top level. This patch adjusts the flag setting so that each symbol will only be checked once, regardless of whether it is first encountered at the top level, or while recursing down from another symbol. On complex configurations, this vastly speeds up scripts/kconfig/conf. The config in the powerpc merge tree is particularly bad: this patch reduces the time for 'scripts/kconfig/conf -o arch/powerpc/Kconfig' by a factor of 40 on a G5. That's even including the time to print the config, so the speedup in the actual checking is more likely 2 or 3 orders of magnitude. Signed-off-by: David Gibson Signed-off-by: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cecd1ca0cbd6fc5873e9bb110dacb8411be72928 tree 9d27151bc7cda61eb838b8f5b36180fd46c5d308 parent 88baf3e85af72f606363a85e9a60e9e61cc64a6c author Adrian Bunk Tue, 08 Nov 2005 21:34:45 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:53 -0800 [PATCH] schedule obsolete OSS drivers for removal This patch schedules obsolete OSS drivers (with ALSA drivers that support the same hardware) for removal. Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88baf3e85af72f606363a85e9a60e9e61cc64a6c tree 6a887c40f55680b2494c98cd216f3cdafe1768e8 parent 4448aaf0faafff3f275d15937c28b6346760e028 author Jon Masters Tue, 08 Nov 2005 21:34:43 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:53 -0800 [PATCH] fix floppy.c to store correct ro/rw status in underlying gendisk Evgeny Stambulchik found that doing the following always worked: # mount /dev/fd0 /mnt/floppy/ mount: block device /dev/fd0 is write-protected, mounting read-only # mount -o remount,rw /mnt/floppy # echo $? 0 This is the case because the block device /dev/fd0 is writeable but the floppy disk is marked protected. A fix is to simply have floppy_open mark the underlying gendisk policy according to reality (since the VFS doesn't provide a way for do_remount_sb to inquire as to the current device status). Signed-off-by: Jon Masters Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4448aaf0faafff3f275d15937c28b6346760e028 tree d0477d4d0871c94a6eff7761d06b16a682e9ec53 parent 0fbeb5a45dccd493c35a68a5548e6a9d9882a791 author Adrian Bunk Tue, 08 Nov 2005 21:34:42 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:52 -0800 [PATCH] s390: "extern inline" -> "static inline" "extern inline" -> "static inline" Signed-off-by: Adrian Bunk Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0fbeb5a45dccd493c35a68a5548e6a9d9882a791 tree 4cf24e2d08bd39d06cbe372376b4d996df8378f4 parent ed14b52701e6ef5a5aaf7bdb75932d5ea5dd7387 author Rafael J. Wysocki Tue, 08 Nov 2005 21:34:41 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:52 -0800 [PATCH] swsusp: rework swsusp_suspend This patch makes only the functions in swsusp.c call functions in snapshot.c and not both ways.  It also moves the check for available swap out of swsusp_suspend() which is necessary for separating the swap-handling functions in swsusp from the core code. Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed14b52701e6ef5a5aaf7bdb75932d5ea5dd7387 tree d69e6cb3777daab9e7b98aaad5b3a96491044862 parent 054bd4c18853f3a3851bd97aa90e11022a69dc42 author Rafael J. Wysocki Tue, 08 Nov 2005 21:34:40 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:52 -0800 [PATCH] swsusp: simplify pagedir relocation This patch simplifies the relocation of the page backup list (aka pagedir) during resume. Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 054bd4c18853f3a3851bd97aa90e11022a69dc42 tree 6d4aa1416b4837930ed517aa8c6e741ff45e5d9b parent a31751e04ea738acc8042e5aa1a825901aa7b97f author Rafael J. Wysocki Tue, 08 Nov 2005 21:34:39 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:52 -0800 [PATCH] swsusp: reduce code duplication The changes made by this patch are necessary for the pagedir relocation simplification in the next patch.  Additionally, these changes allow us to drop check_pagedir() and make get_safe_page() be a one-line wrapper around alloc_image_page() (get_safe_page() goes to snapshot.c, because alloc_image_page() is static and it does not make sense to export it). Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a31751e04ea738acc8042e5aa1a825901aa7b97f tree 4063c4a47cb917f0699eea22dc20dfb7fd165a08 parent 78b331213ec738ee4c1218034d6eec17293b3aed author Matt Porter Tue, 08 Nov 2005 21:34:38 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:52 -0800 [PATCH] ppc32: fix perf_irq extern on e500 Fixes e500 build and cleans up traps.c by moving perf_irq extern to pmc.h. Signed-off-by: Matt Porter Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78b331213ec738ee4c1218034d6eec17293b3aed tree 71d58a2ab58659026ad023cf5af5abce196e53a1 parent 143dcec2f7123b630b9e2c01c31b01a383dc15ff author Kumar Gala Tue, 08 Nov 2005 21:34:37 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:52 -0800 [PATCH] ppc32: Update MPC834x platform to work with new phylib MPC834x uses the gianfar network driver which now uses the new phylib. We need to update the platform code to create a gianfar platform MDIO bus and pass the right intializations to the gianfar driver to make things work again. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 143dcec2f7123b630b9e2c01c31b01a383dc15ff tree cd23667a84b74921058809357f7d2c60116e5f87 parent 8827cc706861070f8a3a9e839b96e40231b16ce0 author Olaf Hering Tue, 08 Nov 2005 21:34:36 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:51 -0800 [PATCH] ppc64: add MODALIAS= for vio bus A non-broken udev would autoload also the drivers for devices on the pseries vio bus, like ibmveth, ibmvscsic and hvsc. This is similar to pci, usb and ieee1394: /lib/modules/`uname -r`/modules.alias alias vio:TvscsiSIBM,v-scsi* ibmvscsic alias vio:TnetworkSIBM,l-lan* ibmveth alias vio:Tserial-serverShvterm2* hvcs /events/debug.00004.pci.add.1394:MODALIAS='pci:v00001014d00000188sv00000000sd00000000bc06sc04i0f' /events/debug.00005.pci.add.1509:MODALIAS='pci:v00008086d00001229sv00001014sd000001FFbc02sc00i00' /events/debug.00026.vio.add.1519:MODALIAS='vio:TserialShvterm1' /events/debug.00027.vio.add.1446:MODALIAS='vio:TvscsiSIBM,v-scsi' /events/debug.00028.vio.add.1451:MODALIAS='vio:TnetworkSIBM,l-lan' modprobe -v vio:TnetworkSIBM,l-lan insmod /lib/modules/2.6.14-20051030_vio-ppc64/kernel/drivers/net/ibmveth.ko Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8827cc706861070f8a3a9e839b96e40231b16ce0 tree b8d9a73e7b06f8b785e9fc761ab5d5d04ee0d873 parent c099af7622c8e032edcfdc057cde1015761adeac author Matt Porter Tue, 08 Nov 2005 21:34:35 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:51 -0800 [PATCH] ppc32: Fix STx GP3 build Add missing include file to fix STx GP3 build. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c099af7622c8e032edcfdc057cde1015761adeac tree 2e4e134239a7e7f7d776515415bef871cf0213a5 parent ce9982d048bb498c38ec1fe2ae59a44350882f3f author Matt Porter Tue, 08 Nov 2005 21:34:34 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:51 -0800 [PATCH] ppc32: Fix RapidIO build on 85xx Fixes mismerged Makefile that prevented the ppc85xx rapidio support from being built. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce9982d048bb498c38ec1fe2ae59a44350882f3f tree 29bee4fd0b59777f6878d25ff13b6fcd33d94d8a parent 25a74f3ba8efb394e9a30d6de37566bf03fd3de8 author Stephen Smalley Tue, 08 Nov 2005 21:34:33 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:51 -0800 [PATCH] selinux: extend selinuxfs context interface This patch extends the selinuxfs context interface to allow return the canonical form of the context to userspace. Signed-off-by: Stephen Smalley Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25a74f3ba8efb394e9a30d6de37566bf03fd3de8 tree 8fbe98b01a13946c02a56ab7bab2c4ed077aee3f parent e517a0cd859ae0c4d9451107113fc2b076456f8f author Stephen Smalley Tue, 08 Nov 2005 21:34:33 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:51 -0800 [PATCH] selinux: disable setxattr on mountpoint labeled filesystems This patch disables the setting of SELinux xattrs on files created in filesystems labeled via mountpoint labeling (mounted with the context= option). selinux_inode_setxattr already prevents explicit setxattr from userspace on such filesystems, so this provides consistent behavior for file creation. Signed-off-by: Stephen Smalley Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e517a0cd859ae0c4d9451107113fc2b076456f8f tree cf1c23d7d6715267ff7ee2b3dd5ba1c5ea8c0345 parent d34d7ae266b23932809c43f115fda71fc5e5fcb1 author Stephen Smalley Tue, 08 Nov 2005 21:34:32 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:51 -0800 [PATCH] selinux: MLS compatibility This patch enables files created on a MLS-enabled SELinux system to be accessible on a non-MLS SELinux system, by skipping the MLS component of the security context in the non-MLS case. Signed-off-by: Stephen Smalley Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d34d7ae266b23932809c43f115fda71fc5e5fcb1 tree 857be3fd86eca4456245bc881456e5ac1b46fd4e parent 969e9afd489514252a680914c6d8b9322c713eb4 author Dave Airlie Tue, 08 Nov 2005 21:34:31 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:51 -0800 [PATCH] drm fixup pci gart settings Fix the PCIGART increment and add a cpu_to_le32 for ppc (untested) Paulus was unsure if we need to cpu_to_le32 but the old code was definitely wrong, so make it consistent and let the PPC guys figure it out later. Signed-off-by: Dave Airlie Cc: Paul Mackerras Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 969e9afd489514252a680914c6d8b9322c713eb4 tree c4a5f7961995961e0305344c2f5759a80c3955ff parent 08de1f0461ad40136e7373cf85e2f3c221a9ad9a author Pavel Machek Tue, 08 Nov 2005 21:34:30 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:50 -0800 [PATCH] sleep: Fix oops in enter_state If ACPI sleep is not configured, but someone still wants to run swsusp, he'd get oops in enter_state. This is regression since 2.6.14 and this fixes it. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08de1f0461ad40136e7373cf85e2f3c221a9ad9a tree 405eef369e4fd168ded38bcaca770d55397a5de1 parent 015953d706b1b7ad61c37fe329042828a0f3b0f6 author Dmitry Torokhov Tue, 08 Nov 2005 21:34:29 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:50 -0800 [PATCH] Input: fix 'uniq' reporting in hotplug handler Input: fix 'uniq' reporting in hotplug handler Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 015953d706b1b7ad61c37fe329042828a0f3b0f6 tree 04a777e7579a47dee7cb813304bf5f954b182014 parent b80b5832ffc03cb5e2af9bb12c04836190a74481 author Andrew Morton Tue, 08 Nov 2005 21:34:28 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:50 -0800 [PATCH] mtd: onenand_base needs sched.h drivers/mtd/onenand/onenand_base.c: In function `onenand_wait': drivers/mtd/onenand/onenand_base.c:293: error: `jiffies' undeclared (first use in this function) drivers/mtd/onenand/onenand_base.c:293: error: (Each undeclared identifier is reported only once drivers/mtd/onenand/onenand_base.c:293: error: for each function it appears in.) drivers/mtd/onenand/onenand_base.c:293: error: implicit declaration of function `msecs_to_jiffies' drivers/mtd/onenand/onenand_base.c:294: error: implicit declaration of function `time_before' drivers/mtd/onenand/onenand_base.c:301: error: implicit declaration of function `cond_resched' drivers/mtd/onenand/onenand_base.c: In function `onenand_get_device': drivers/mtd/onenand/onenand_base.c:522: error: implicit declaration of function `set_current_state' drivers/mtd/onenand/onenand_base.c:522: error: `TASK_UNINTERRUPTIBLE' undeclared (first use in this function) drivers/mtd/onenand/onenand_base.c:525: error: implicit declaration of function `schedule' drivers/mtd/onenand/onenand_base.c: In function `onenand_release_device': drivers/mtd/onenand/onenand_base.c:545: error: `TASK_UNINTERRUPTIBLE' undeclared (first use in this function) drivers/mtd/onenand/onenand_base.c:545: error: `TASK_INTERRUPTIBLE' undeclared (first use in this function) Cc: Thomas Gleixner Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b80b5832ffc03cb5e2af9bb12c04836190a74481 tree 571ce28bbd4d50e43238059de76f3863a60267e5 parent 409ef74a1558f4550de677957d1d136f1e5b03b3 author Andrew Morton Tue, 08 Nov 2005 21:34:27 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:50 -0800 [PATCH] mtd: rfd_ftl build fix drivers/mtd/rfd_ftl.c: In function `find_free_block': drivers/mtd/rfd_ftl.c:528: error: `jiffies' undeclared (first use in this function) drivers/mtd/rfd_ftl.c:528: error: (Each undeclared identifier is reported only once drivers/mtd/rfd_ftl.c:528: error: for each function it appears in.) Cc: Thomas Gleixner Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 409ef74a1558f4550de677957d1d136f1e5b03b3 tree 194fd6d4a6e7aa417ec805fcc7126e5c0dc02a06 parent 3aef1bde147a503aacb59b767826720a996aea6d author Andrew Morton Tue, 08 Nov 2005 21:34:26 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:50 -0800 [PATCH] vx_hwdep.c needs vmalloc.h sound/drivers/vx/vx_hwdep.c: In function `free_fw': sound/drivers/vx/vx_hwdep.c:144: error: implicit declaration of function `vfree' sound/drivers/vx/vx_hwdep.c: In function `vx_hwdep_dsp_load': sound/drivers/vx/vx_hwdep.c:163: error: implicit declaration of function `vmalloc' Cc: Jaroslav Kysela Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3aef1bde147a503aacb59b767826720a996aea6d tree c736d4433a21e7564fff7062fea651e3fd1bc820 parent 90d45d17f3e68608ac7ba8fc3d7acce022a19c8e author Anton Blanchard Tue, 08 Nov 2005 21:34:25 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:50 -0800 [PATCH] quieten softlockup at boot On a large SMP box we get a lot of softlockup thread XX started lines. Signed-off-by: Anton Blanchard Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90d45d17f3e68608ac7ba8fc3d7acce022a19c8e tree 615b2f21c3e02e0ec901febd180014fed64a6a01 parent 330d57fb98a916fa8e1363846540dd420e99499a author Ashok Raj Tue, 08 Nov 2005 21:34:24 -0800 committer Linus Torvalds Wed, 09 Nov 2005 07:55:50 -0800 [PATCH] cpu hotplug: fix locking in cpufreq drivers When calling target drivers to set frequency, we take cpucontrol lock. When we modified the code to accomodate CPU hotplug, there was an attempt to take a double lock of cpucontrol leading to a deadlock. Since the current thread context is already holding the cpucontrol lock, we dont need to make another attempt to acquire it. Now we leave a trace in current->flags indicating current thread already is under cpucontrol lock held, so we dont attempt to do this another time. Thanks to Andrew Morton for the beating:-) From: Brice Goglin Build fix (akpm: this patch is still unpleasant. Ashok continues to look for a cleaner solution, doesn't he? ;)) Signed-off-by: Ashok Raj Signed-off-by: Brice Goglin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 861e37ad5969f764574722f4cfc0734511cbac7f tree 694942dfcbaaab7871c842e61db5dbd41c3a172b parent 59d1ff3bfb56d9b8cf3ec864857e6a4dfd9d2dba author Kyungmin Park Wed, 09 Nov 2005 15:15:10 +0000 committer Russell King Wed, 09 Nov 2005 15:15:10 +0000 [ARM] 3057/1: Add memory control method to support OneNAND sync burst read Patch from Kyungmin Park This patch is required for OneNAND MTD to passing the OneNAND sync. burst read Signed-off-by: Kyungmin Park Signed-off-by: Russell King commit 59d1ff3bfb56d9b8cf3ec864857e6a4dfd9d2dba tree e70623b924a8859182dc3326b6d5f7a5b9271504 parent be6eb9b79f99e652a0827a475c4daa02ecef221f author Russell King Wed, 09 Nov 2005 15:04:22 +0000 committer Russell King Wed, 09 Nov 2005 15:04:22 +0000 [ARM] Clean up save_and_disable_irqs macro and allow use of ARMv6 CPSID save_and_disable_irqs does not need to use mov + msr (which was introduced to work around a documentation bug which was propagated into binutils.) Use msr with an immediate constant, and if we're building for ARMv6 or later, use the new CPSID instruction. Signed-off-by: Russell King commit be6eb9b79f99e652a0827a475c4daa02ecef221f tree fab14db6e48cc394fed9a6ae813a0add6f202b20 parent c906107bb72b7bd5ecfc98cc807bdb8f34d17501 parent 97a63ecff4bd06da5d8feb8c0394a4d020f2d34d author Russell King Wed, 09 Nov 2005 14:57:32 +0000 committer Russell King Wed, 09 Nov 2005 14:57:32 +0000 Merge with ARM SMP tree commit c906107bb72b7bd5ecfc98cc807bdb8f34d17501 tree 8cf020469248450d456ed06d044a40dedfdfc11b parent cbe69f95fa7ffc4604622cd4f7efd56ed10999fe author Nicolas Pitre Wed, 09 Nov 2005 14:09:31 +0000 committer Russell King Wed, 09 Nov 2005 14:09:31 +0000 [ARM] 3100/1: simplify a pointer computation Patch from Nicolas Pitre Looks clearer this way. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit cbe69f95fa7ffc4604622cd4f7efd56ed10999fe tree 35649c360fe6e8361ef05c3447dbec8f7619a894 parent ff6ffa82fe122ecda457bb10dbab7b0c08ee3803 author Ben Dooks Wed, 09 Nov 2005 14:05:31 +0000 committer Russell King Wed, 09 Nov 2005 14:05:31 +0000 [ARM] 3138/1: SMDK2440 - fix map_desc initialisation (and ISA memory space) Patch from Ben Dooks Fix the map_desc initialisers for the SMDK2440 machine to use the new .pfn method, and at the same time making the differntiation between ISA IO and Memory space accesses Signed-off-by: Ben Dooks Signed-off-by: Russell King commit ff6ffa82fe122ecda457bb10dbab7b0c08ee3803 tree a049ae98f353741f88052b7ebb7c9f0d415abd64 parent 8dd523118bfbcaca5b67923ff6ee546e04a4db64 author Ben Dooks Wed, 09 Nov 2005 14:05:31 +0000 committer Russell King Wed, 09 Nov 2005 14:05:31 +0000 [ARM] 3137/1: RX3715 - fix map_desc initialiser Patch from Ben Dooks Change the initialiser for the map_desc for the iPAQ RX3715 to use the new pfn initialiser, and also reduce the amount of ISA space mapped (we only need to stop any ISA IO writes OOPsing the system, so do not need >1Mbyte of space) Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 8dd523118bfbcaca5b67923ff6ee546e04a4db64 tree a35fe46ab1f8dda00ea78f611f2930477160e2c9 parent 330d57fb98a916fa8e1363846540dd420e99499a author Ben Dooks Wed, 09 Nov 2005 14:05:30 +0000 committer Russell King Wed, 09 Nov 2005 14:05:30 +0000 [ARM] 3136/1: Anubis - fix map_desc initialisers Patch from Ben Dooks Fix the map_desc initialisers for the Simtec Anubis board to match the new initialiser scheme. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 97a63ecff4bd06da5d8feb8c0394a4d020f2d34d tree 9211d6ea20eb0145bfe844c8b1ff474190bcba41 parent 2a98beb6390aef8fad85103ea25b3b1ace8015b5 author Russell King Wed, 09 Nov 2005 13:50:57 +0000 committer Russell King Wed, 09 Nov 2005 13:50:57 +0000 [ARM SMP] Add CPU hotplug support for Realview MPcore Add platform specific parts for hotplug CPU support for the Realview board. Signed-off-by: Russell King commit 2a98beb6390aef8fad85103ea25b3b1ace8015b5 tree 09f3e0de9a49f0f61d7f44c6c03218bf29f5d1dd parent 37ee16ae93a3e4ae7dd51beb81d249f5f12a55c2 author Russell King Wed, 09 Nov 2005 10:50:29 +0000 committer Russell King Wed, 09 Nov 2005 10:50:29 +0000 [ARM SMP] Add local timer support for Realview MPcore Add platform specific parts for local timer support for the Realview board. Signed-off-by: Russell King commit f406db8cba6bbce42b96490e6d31bdec229ad994 tree 0bced656ed73fe376b9ebbf5ae54907654eea046 parent 385023cb8972971540d17c92baf0132693955f5f author Ralf Baechle Tue, 08 Nov 2005 19:10:24 +0000 committer Jeff Garzik Wed, 09 Nov 2005 01:42:54 -0500 [PATCH] IOC: And don't mark the things as broken Cowboy. And don't mark the things as broken Cowboy. Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 385023cb8972971540d17c92baf0132693955f5f tree 1bbe26c618a6afee3b59c2ad0fa2421a2ff617f3 parent 6d3874844f3279f170dca5339b8a94d6f1868425 author Ashutosh Naik Sun, 06 Nov 2005 23:43:22 -0800 committer Jeff Garzik Wed, 09 Nov 2005 01:42:54 -0500 [PATCH] dgrs: fix warnings when CONFIG_ISA and CONFIG_PCI are not enabled This patch fixes compiler warnings when CONFIG_ISA and CONFIG_PCI are not enabled in the dgrc network driver. Signed-off-by: Ashutosh Naik Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 7c3983357fdaef3ae71a0d7081a4b6dcfd869d39 tree d6f80f097e2a15a7e758286cb901f624591ea74a parent 8e8b77dd4846b73f2e0756cf59123ee709246d11 author Albert Lee Wed, 09 Nov 2005 13:03:30 +0800 committer Jeff Garzik Wed, 09 Nov 2005 01:23:22 -0500 [PATCH] libata: if condition fix for ata_dev_identify() - if condition fix for ata_dev_identify() - ata_pio_poll() minor cleanup. Changes: - Use (dev->class == ATA_DEV_ATA) for ata_dev_identify() since "qc->tf.command" has been overwritten by the device status - Use HSM_ST_TMOUT directly in ata_pio_poll() Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit 8e8b77dd4846b73f2e0756cf59123ee709246d11 tree a2a27715b61df81eb7077d6c1fcee96210f1b185 parent a892acacd3a8546ac161526522f13b5174f2c471 author Randy Dunlap Tue, 01 Nov 2005 21:29:27 -0800 committer Jeff Garzik Wed, 09 Nov 2005 01:10:55 -0500 [PATCH] libata kernel-doc fixes Fix all reported kernel-doc errors in libata. Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit 6d3874844f3279f170dca5339b8a94d6f1868425 tree 3f2b3148c71b9ffb2752af9a4780316441db574b parent d3757472841cddfa2f905d1de76fabf1b98cfc1a author Christoph Hellwig Mon, 07 Nov 2005 06:21:21 +0100 committer Jeff Garzik Wed, 09 Nov 2005 01:10:10 -0500 [PATCH] uml_net: use ethtool_ops Signed-off-by: Christoph Hellwig Signed-off-by: Jeff Garzik commit d3757472841cddfa2f905d1de76fabf1b98cfc1a tree 3e7169491a3f04cac8cf6ae25a6c695d6c31ee17 parent 76f2b4d98c3d6a88a260275acbede99c23a24d60 author Christoph Hellwig Mon, 07 Nov 2005 06:20:36 +0100 committer Jeff Garzik Wed, 09 Nov 2005 01:10:10 -0500 [PATCH] xtensa platform-iss network: remove no-op ioctl handler If the driver ever wants to add ethtool support it should use ethtool_ops. Signed-off-by: Christoph Hellwig Signed-off-by: Jeff Garzik commit 76f2b4d98c3d6a88a260275acbede99c23a24d60 tree 31c728971a1016bd017da681534719179f487987 parent eac1dfcb32fbe8b0d9135caea90b0bba9945360f author Christoph Hellwig Mon, 07 Nov 2005 06:18:57 +0100 committer Jeff Garzik Wed, 09 Nov 2005 01:10:09 -0500 [PATCH] cris v10 eth: use ethtool_ops Signed-off-by: Christoph Hellwig Signed-off-by: Jeff Garzik commit a892acacd3a8546ac161526522f13b5174f2c471 tree ee6d36f27f1388989ebfcabf90253fb7194112ac parent 193515d51ccb363165d6b09e9ba5c21089e34bad parent 330d57fb98a916fa8e1363846540dd420e99499a author Jeff Garzik Wed, 09 Nov 2005 01:07:12 -0500 committer Jeff Garzik Wed, 09 Nov 2005 01:07:12 -0500 Merge branch 'master' commit eac1dfcb32fbe8b0d9135caea90b0bba9945360f tree 8ab18e8bc3c3eb000c89c59dce3e929340e4308d parent ba5eec9c55ec4be99d21a6ea614003b65d7f37d7 author Francois Romieu Tue, 08 Nov 2005 23:38:01 +0100 committer Jeff Garzik Wed, 09 Nov 2005 01:02:41 -0500 [PATCH] b44: increase version number Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit ba5eec9c55ec4be99d21a6ea614003b65d7f37d7 tree 79070a6366a44bf37101f0dfa3ee73bbc1192120 parent b9dcbb40f40d60c7e33a2b7ea858fcd27c35cc00 author Francois Romieu Tue, 08 Nov 2005 23:37:12 +0100 committer Jeff Garzik Wed, 09 Nov 2005 01:02:41 -0500 [PATCH] b44: race on device closing Usual fix: - b44_interrupt() does not schedule NAPI polling when the device is going down; - b44_close() waits for any scheduled NAPI polling before it starts to release the private structures of the device. Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit b9dcbb40f40d60c7e33a2b7ea858fcd27c35cc00 tree e044be0f5fe46fee4990f819fd30a7dc89e3694a parent e3305626e0985faa8796f1f4e5a99c1f40bfa70e author Francois Romieu Tue, 08 Nov 2005 23:36:20 +0100 committer Jeff Garzik Wed, 09 Nov 2005 01:02:41 -0500 [PATCH] b44: replace B44_FLAG_INIT_COMPLETE with netif_running() Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit e3305626e0985faa8796f1f4e5a99c1f40bfa70e tree 9c5d3b5b630f3a4db26b4193bb4e1da051b7ed3a parent c2a8fad43376b2567087358a9cc46844f742342e author Christoph Hellwig Wed, 09 Nov 2005 01:01:04 -0500 committer Jeff Garzik Wed, 09 Nov 2005 01:01:04 -0500 ieee80211: cleanup crypto list handling, other minor cleanups. commit c2a8fad43376b2567087358a9cc46844f742342e tree 1e00e52b1cb7cf63856a3d865381a03369a263a0 parent eedb9f09e92598c165de37a8c210434d270ca3a6 author Jeff Garzik Wed, 09 Nov 2005 00:49:38 -0500 committer Jeff Garzik Wed, 09 Nov 2005 00:49:38 -0500 [wireless ipw2100] kill unused-var warnings for debug-disabled code commit eedb9f09e92598c165de37a8c210434d270ca3a6 tree 11f4ab9bcc75210c2b4a15dc33c3f4d6a612deec parent f24e09754bcb4d367664ea635c0c4ccde6ec4df5 parent 826d2abe9945372c8838398bfd88a1caa5844d41 author Jeff Garzik Wed, 09 Nov 2005 00:47:08 -0500 committer Jeff Garzik Wed, 09 Nov 2005 00:47:08 -0500 Merge rsync://bughost.org/repos/ipw-delta/ commit f24e09754bcb4d367664ea635c0c4ccde6ec4df5 tree f456c46186b627fe8d4daab44697db5e88e0504a parent d7eaee087a8cb850ed33ee39a3e2a0f02ecff44c parent d7e02edbc52bc689279154b117b90fe6635fc14b author Jeff Garzik Wed, 09 Nov 2005 00:00:29 -0500 committer Jeff Garzik Wed, 09 Nov 2005 00:00:29 -0500 Merge rsync://bughost.org/repos/ieee80211-delta/ commit d7eaee087a8cb850ed33ee39a3e2a0f02ecff44c tree b1de7b472a5b11f2c0a869fa37217469f4f4f039 parent 8f3f8193a49e1eb0d2e01309fdef2ad4fb33293c author Stephen Hemminger Tue, 08 Nov 2005 10:33:46 -0800 committer Jeff Garzik Tue, 08 Nov 2005 23:58:08 -0500 [PATCH] skge: increase version number Increase the driver version number and print version when probing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8f3f8193a49e1eb0d2e01309fdef2ad4fb33293c tree 147067f2b6973643483472c3c09eb05ee0973fbf parent 1631aef15193ef8a199982fa3d45db4d07786d7f author Stephen Hemminger Tue, 08 Nov 2005 10:33:45 -0800 committer Jeff Garzik Tue, 08 Nov 2005 23:58:08 -0500 [PATCH] skge: spelling fixes Fix some of my bad spelling. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 1631aef15193ef8a199982fa3d45db4d07786d7f tree 7f000cf60191805de8faa54fbf51f02c30abf0c3 parent 355ec57243574c439a4b731fc83af6165ec2f1ec author Stephen Hemminger Tue, 08 Nov 2005 10:33:44 -0800 committer Jeff Garzik Tue, 08 Nov 2005 23:58:08 -0500 [PATCH] skge: use prefetch on receive Use prefetch() in the interrupt path to try and look ahead at the next place will be looking at in the ring. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 355ec57243574c439a4b731fc83af6165ec2f1ec tree de1325d38869a1c77bc9e18e8b608342053dff09 parent 2cd8e5d36584653c62a6fdf0e7d9fbde5022b5d6 author Stephen Hemminger Tue, 08 Nov 2005 10:33:43 -0800 committer Jeff Garzik Tue, 08 Nov 2005 23:58:08 -0500 [PATCH] skge: goto low power mode on shutdown Go into power down mode on shutdown. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2cd8e5d36584653c62a6fdf0e7d9fbde5022b5d6 tree 6c3298644228adf71d26a34e8f0028d47c38973b parent 7e86306113ca9e418e49ff1c7c0984f8ffe8cf61 author Stephen Hemminger Tue, 08 Nov 2005 10:33:42 -0800 committer Jeff Garzik Tue, 08 Nov 2005 23:58:08 -0500 [PATCH] skge: add mii ioctl support Basic MII ioctl support for skge driver. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 7e86306113ca9e418e49ff1c7c0984f8ffe8cf61 tree b8ea5564e4bf9c3b4ad69b8b02b6513b684f1166 parent adba9e23b4066f1d741a2076fc6ad18b6c0cea44 author Stephen Hemminger Tue, 08 Nov 2005 10:33:41 -0800 committer Jeff Garzik Tue, 08 Nov 2005 23:58:08 -0500 [PATCH] skge: use kzalloc Can use kzalloc in skge driver. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit adba9e23b4066f1d741a2076fc6ad18b6c0cea44 tree ca77fccedcc52d4b5850b2823a4e4ad5e840ddd1 parent 3133c5e896c0b2509e72ae0c2cb9452c80d47f46 author Stephen Hemminger Tue, 08 Nov 2005 10:33:40 -0800 committer Jeff Garzik Tue, 08 Nov 2005 23:58:07 -0500 [PATCH] skge: clear PCI PHY COMA mode on boot When skge is booted up, the PHY may be stuck in power down state by the previous OS. So we may need to turn it on. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 330d57fb98a916fa8e1363846540dd420e99499a tree 841d5e5eeda46fd95ac03c36964919818a9bc3a6 parent 8546df6f357dadf1989ad8da9309c9524fd56cdf author Al Viro Fri, 04 Nov 2005 10:18:40 +0000 committer Linus Torvalds Tue, 08 Nov 2005 17:57:30 -0800 [PATCH] Fix sysctl unregistration oops (CVE-2005-2709) You could open the /proc/sys/net/ipv4/conf// file, then wait for interface to go away, try to grab as much memory as possible in hope to hit the (kfreed) ctl_table. Then fill it with pointers to your function. Then do read from file you've opened and if you are lucky, you'll get it called as ->proc_handler() in kernel mode. So this is at least an Oops and possibly more. It does depend on an interface going away though, so less of a security risk than it would otherwise be. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 8546df6f357dadf1989ad8da9309c9524fd56cdf tree 5b8557f84b0b5fd1d441739d3bb6cd8951a6db44 parent 9f04012c58a32756bbbd0239c4144e835048aa4d parent 15a93807826a5cbffb47d6bfbeeee108d6da1dbc author Linus Torvalds Tue, 08 Nov 2005 16:04:39 -0800 committer Linus Torvalds Tue, 08 Nov 2005 16:04:39 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 9f04012c58a32756bbbd0239c4144e835048aa4d tree e5423a1941338b9dd17a82b370cc6c252e0ae1f1 parent 329f7dba5f7dc3bc9a30ad00cf373d2e83115aa1 parent 72274c9e24d58d09489d37e732545e52395da270 author Linus Torvalds Tue, 08 Nov 2005 15:15:31 -0800 committer Linus Torvalds Tue, 08 Nov 2005 15:15:31 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 15a93807826a5cbffb47d6bfbeeee108d6da1dbc tree 1651f63ecbf84e7f36c14cb386df0229fd2fd9f7 parent f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 author Ralf Baechle Tue, 08 Nov 2005 23:10:51 +0000 committer Russell King Tue, 08 Nov 2005 23:10:51 +0000 [SERIAL] IOC3: Update 8250 driver bits Update the support for the 16550 present on most IOC3 configurations to use the current API. Signed-off-by: Ralf Baechle Signed-off-by: Russell King commit 72274c9e24d58d09489d37e732545e52395da270 tree 9c47a583b38a4996bda2dbe182547f8409bb65e8 parent 5285eb57c9a20d8df2569c770ff6048c3202cc91 parent 37ee16ae93a3e4ae7dd51beb81d249f5f12a55c2 author Russell King Tue, 08 Nov 2005 22:43:44 +0000 committer Russell King Tue, 08 Nov 2005 22:43:44 +0000 Merge with ARM SMP tree commit 5285eb57c9a20d8df2569c770ff6048c3202cc91 tree 51fa28b1941def4d0ec92f7cd4046ffa2c0bc63d parent d07ad967e3c1cb955c4f9ee6a4eba4e6e1edb1e8 author Nicolas Pitre Tue, 08 Nov 2005 22:43:06 +0000 committer Russell King Tue, 08 Nov 2005 22:43:06 +0000 [ARM] 3135/1: harden SA11x0 and PXA2xx timer init code Patch from Nicolas Pitre Make it completely deterministic and leave nothing to chance (even if it had at worst 0.001% probability of failing). Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit d07ad967e3c1cb955c4f9ee6a4eba4e6e1edb1e8 tree 5fee9278f6ca0385f2c809b16b42ea01c4c43eac parent f8c905d368c757e2c96db293a472a31abcf4b147 author Nicolas Pitre Tue, 08 Nov 2005 22:43:05 +0000 committer Russell King Tue, 08 Nov 2005 22:43:05 +0000 [ARM] 3134/1: add missing EXPORT_SYMBOL for the ARM version of sha_transform Patch from Nicolas Pitre Noticed by Woody Suwalski . Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit f8c905d368c757e2c96db293a472a31abcf4b147 tree ff762892db823ec597eba3cd895575c4d09d7762 parent 4c18ad20493c9eac6e7d0c2a05156acfc02d9b6b author Ben Dooks Tue, 08 Nov 2005 22:43:05 +0000 committer Russell King Tue, 08 Nov 2005 22:43:05 +0000 [ARM] 3132/1: S3C2410 - reset on decompression error Patch from Ben Dooks Force a watchdog reset if the system fails to decompress properly. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 49ebd7c6bb1f70a6c5465925e6ca2f4a32d6a6cd tree 02d6b71c44b108a7123fe812cbf8582914c03a73 parent 88d51967f56f55a45849efe50858ea7dfa0d38dc author Andrew Morton Sun, 06 Nov 2005 23:35:35 -0800 committer Dave Jones Tue, 08 Nov 2005 13:43:54 -0800 [PATCH] i460-agp warning fixes drivers/char/agp/i460-agp.c: In function `i460_fetch_size': drivers/char/agp/i460-agp.c:115: warning: size_t format, long unsigned int arg (arg 2) drivers/char/agp/i460-agp.c:115: warning: size_t format, long unsigned int arg (arg 3) drivers/char/agp/i460-agp.c: In function `i460_mask_memory': drivers/char/agp/i460-agp.c:542: warning: integer constant is too large for "long" type Note that the i460_mask_memory() change is a guess. But a good one, I suspect. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton commit 88d51967f56f55a45849efe50858ea7dfa0d38dc tree 048db8e12c2b31ec2b88c3154da4c6a77b80028c parent 329f7dba5f7dc3bc9a30ad00cf373d2e83115aa1 author Alan Hourihane Sun, 06 Nov 2005 23:35:34 -0800 committer Dave Jones Tue, 08 Nov 2005 13:43:54 -0800 [PATCH] AGP performance fixes AGP allocation/deallocation is suffering major performance issues due to the nature of global_flush_tlb() being called on every change_page_attr() call. For small allocations this isn't really seen, but when you start allocating 50000 pages of AGP space, for say, texture memory, then things can take seconds to complete. In some cases the situation is doubled or even quadrupled in the time due to SMP, or a deallocation, then a new reallocation. I've had a case of upto 20 seconds wait time to deallocate and reallocate AGP space. This patch fixes the problem by making it the caller's responsibility to call global_flush_tlb(), and so removes it from every instance of mapping a page into AGP space until the time that all change_page_attr() changes are done. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton commit 329f7dba5f7dc3bc9a30ad00cf373d2e83115aa1 tree 3d8c8b2fd07ad2c1df959421121451207373f78f parent a52e8381c430896d3bd6065a34fda99cb5c74c82 author Oleg Nesterov Mon, 07 Nov 2005 21:12:43 +0300 committer Linus Torvalds Tue, 08 Nov 2005 12:58:38 -0800 [PATCH] fix de_thread() vs send_group_sigqueue() race When non-leader thread does exec, de_thread calls release_task(leader) before calling exit_itimers(). If local timer interrupt happens in between, it can oops in send_group_sigqueue() while taking ->sighand->siglock == NULL. However, we can't change send_group_sigqueue() to check p->signal != NULL, because sys_timer_create() does get_task_struct() only in SIGEV_THREAD_ID case. So it is possible that this task_struct was already freed and we can't trust p->signal. This patch changes de_thread() so that leader released after exit_itimers() call. Signed-off-by: Oleg Nesterov Acked-by: Chris Wright Signed-off-by: Linus Torvalds commit 4c18ad20493c9eac6e7d0c2a05156acfc02d9b6b tree d5c2d29082678b5ad87e83700e1cbac04afc2749 parent a63ae4427c6af66d6eda26e5da8fed53f8fbede3 author Dirk Opfer Tue, 08 Nov 2005 19:15:50 +0000 committer Russell King Tue, 08 Nov 2005 19:15:50 +0000 [ARM] 3124/1: Sharp SL-6000x: SharpSL PCMCIA Updates Patch from Dirk Opfer This patch updates the tosa machine to use the new SharpSL PCMCIA layer introduced with Patch #3093/1 Depends on #3093/1 Signed-off-by: Dirk Opfer Signed-off-by: Richard Purdie Signed-off-by: Russell King commit a63ae4427c6af66d6eda26e5da8fed53f8fbede3 tree cb30bd5993c07bae7f66564713292d8b224d591f parent 1d23b65de54c35844e82bdb08bc85d8142e310ea author Richard Purdie Tue, 08 Nov 2005 19:15:43 +0000 committer Russell King Tue, 08 Nov 2005 19:15:43 +0000 [ARM] 3093/1: SharpSL PCMCIA Updates for Cxx00 models Patch from Richard Purdie The Sharp SL-Cxx00 models have a combined power control for the SD and CF slot 0. This patch adds hooks to the scoop driver to allow machines to provide a custom control function for this and such a function is added for spitz/akita/borzoi. It also moves the gpio init code into the machine files as this is machine dependent and differs between some models. A couple of warnings when compiling for collie are also fixed. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 1d23b65de54c35844e82bdb08bc85d8142e310ea tree 8afb1727ec448fabf6b435003210ae6b0caf1b3a parent df1ec6deeb18097ae670bf6d001b6e95c8332640 author Ben Dooks Tue, 08 Nov 2005 19:15:31 +0000 committer Russell King Tue, 08 Nov 2005 19:15:31 +0000 [ARM] 3126/1: BAST: fix map_desc initialisation Patch from Ben Dooks Fix the map_desc entries to use the new .pfn initialiser for the Simtec BAST machine support. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit df1ec6deeb18097ae670bf6d001b6e95c8332640 tree 7e14c741cb78282f7d53a4617044a2bcab282949 parent a93876c16275376c4f9f1630ce24036d329fa7a0 author Ben Dooks Tue, 08 Nov 2005 19:15:30 +0000 committer Russell King Tue, 08 Nov 2005 19:15:30 +0000 [ARM] 3125/2: VR1000: Fix map_decs initialiser Patch from Ben Dooks Fix the initialisation of the map_desc fields in the Thorcom VR1000 machine support to use the new .pfn initialiser. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit a93876c16275376c4f9f1630ce24036d329fa7a0 tree 1e5e876f9c428d96c6f5c367e50d019914669c4c parent 3b6353fae0d7ba772d7eb2651727332c9e9c74ac author Dirk Opfer Tue, 08 Nov 2005 19:15:30 +0000 committer Russell King Tue, 08 Nov 2005 19:15:30 +0000 [ARM] 3123/1: Sharp SL-6000x: Add IRDA, MMC, UDC and keyboard device Patch from Dirk Opfer This patch adds MMC, IRDA and UDC support to the Sharp SL-6000x device. Also it adds a platform device for the keyboard driver. Signed-off-by: Dirk Opfer Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 37ee16ae93a3e4ae7dd51beb81d249f5f12a55c2 tree a6cf9773ddb5eae9f173c6a9c9d6120faa5688a4 parent 3b6353fae0d7ba772d7eb2651727332c9e9c74ac author Russell King Tue, 08 Nov 2005 19:08:05 +0000 committer Russell King Tue, 08 Nov 2005 19:08:05 +0000 [ARM SMP] Add core ARM support for local timers Add infrastructure for supporting per-cpu local timers to update the profiling information and update system time accounting. Signed-off-by: Russell King commit a52e8381c430896d3bd6065a34fda99cb5c74c82 tree 549c65dab5e5b2a0358ff45a3bcd37f2e37ffec4 parent be9d122730c878baafe11e70d1436faac229f2fc parent da1605465ebdb9dc25296a354394086cd559c243 author Linus Torvalds Tue, 08 Nov 2005 10:23:00 -0800 committer Linus Torvalds Tue, 08 Nov 2005 10:23:00 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 6fb93a92ec2a012fa525499c330522bbb8c18d80 tree b64e157335242a8d257fb9d24fe6f09b8f4c99f6 parent cbb921443424fb8019e52bae83e442d01f7715ef author Mark Maule Mon, 07 Nov 2005 15:48:50 -0600 committer Tony Luck Tue, 08 Nov 2005 10:07:09 -0800 [IA64] altix: misc pci interrupt related fixes Fix a couple of altix interrupt related bugs. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit cbb921443424fb8019e52bae83e442d01f7715ef tree a29fec07eb83061cdc12d8df2a47969800e49e99 parent 56f87b82171245a81a5dbac5e703d3941d80da49 author Russ Anderson Fri, 04 Nov 2005 16:58:28 -0600 committer Tony Luck Tue, 08 Nov 2005 10:04:16 -0800 [IA64] MCA recovery: Bump reference count on bad pages When a page has a memory uncorrectable ECC error, the recovery code wants to prevent the page from being reused. This change bumps the reference count to prevent the page from getting back on the free list. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck commit 56f87b82171245a81a5dbac5e703d3941d80da49 tree 02358b9d2cf644fb761b0691cdc386a133c4a676 parent f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 author Russ Anderson Fri, 04 Nov 2005 13:57:00 -0600 committer Tony Luck Tue, 08 Nov 2005 10:03:05 -0800 [IA64] MCA recovery: pfn_valid() needs a pfn paddr needs to be shifted by PAGE_SHIFT to be valid input for pfn_valid(). Signed-off-by: Russ Anderson Signed-off-by: Tony Luck commit da1605465ebdb9dc25296a354394086cd559c243 tree 9006bcb3c3dc0952f41b0ddf0e7119b40f48b458 parent d5a858bc148fe97996af9cf685cc124b70519adf author Hugh Dickins Tue, 08 Nov 2005 10:00:55 -0800 committer David S. Miller Tue, 08 Nov 2005 10:00:55 -0800 [SPARC64] mm: update get_user_insn comment Update comment on get_user_insn to the more general "pte lock", which may or may not be the page_table_lock. Note vmtruncate handled like kswapd. Signed-off-by: Hugh Dickins Signed-off-by: David S. Miller commit d5a858bc148fe97996af9cf685cc124b70519adf tree e483f56aa7d38d07260247b4dec7496cdf0d7917 parent f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 author David S. Miller Tue, 08 Nov 2005 10:00:13 -0800 committer David S. Miller Tue, 08 Nov 2005 10:00:13 -0800 [SPARC]: Missing compat_ioctl hookup in openprom driver. Signed-off-by: David S. Miller commit be9d122730c878baafe11e70d1436faac229f2fc tree d6644129b56d7cff9fb9781154eebf97746f296b parent 1ebb92521d0bc2d4ef772730d29333c06b807191 author Marcel Holtmann Tue, 08 Nov 2005 09:57:38 -0800 committer David S. Miller Tue, 08 Nov 2005 09:57:38 -0800 [Bluetooth]: Remove the usage of /proc completely This patch removes all relics of the /proc usage from the Bluetooth subsystem core and its upper layers. All the previous information are now available via /sys/class/bluetooth through appropriate functions. Signed-off-by: Marcel Holtmann Signed-off-by: David S. Miller commit 1ebb92521d0bc2d4ef772730d29333c06b807191 tree d480ca68fd4c7f1185e189942feef8d85edbb659 parent 7ef934b3b73f74aea23aa0e98affe86d7ea816a3 author Marcel Holtmann Tue, 08 Nov 2005 09:57:21 -0800 committer David S. Miller Tue, 08 Nov 2005 09:57:21 -0800 [Bluetooth]: Add endian annotations to the core This patch adds the endian annotations to the Bluetooth core. Signed-off-by: Marcel Holtmann Signed-off-by: David S. Miller commit 7ef934b3b73f74aea23aa0e98affe86d7ea816a3 tree 9fb67c510698d25800033b2729f404c708b0c07f parent 89f5f0aeed14ac7245f760b0b96c9269c87bcbbe author Marcel Holtmann Tue, 08 Nov 2005 09:57:05 -0800 committer David S. Miller Tue, 08 Nov 2005 09:57:05 -0800 [Bluetooth]: Add another ignore parameter to the HCI USB driver This patchs adds the module parameter ignore_dga to the HCI USB driver which makes it possible to prevent this driver from being loaded by some buggy Digianswer devices. Signed-off-by: Marcel Holtmann Signed-off-by: David S. Miller commit 89f5f0aeed14ac7245f760b0b96c9269c87bcbbe tree 8dae08b8c2c7b61c6207d9189196b3c28d1cb8d4 parent a51482bde22f99c63fbbb57d5d46cc666384e379 author Herbert Xu Tue, 08 Nov 2005 09:41:56 -0800 committer David S. Miller Tue, 08 Nov 2005 09:41:56 -0800 [IPV4]: Fix ip_queue_xmit identity increment for TSO packets When ip_queue_xmit calls ip_select_ident_more for IP identity selection it gives it the wrong packet count for TSO packets. The ip_select_* functions expect one less than the number of packets, so we need to subtract one for TSO packets. This bug was diagnosed and fixed by Tom Young. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a51482bde22f99c63fbbb57d5d46cc666384e379 tree 5482ed1c0803edb2ffbd51035de921fb0f72d82b parent ac7c98eca88a854755475fcfe1b2bf5f97f90d99 author Jesper Juhl Tue, 08 Nov 2005 09:41:34 -0800 committer David S. Miller Tue, 08 Nov 2005 09:41:34 -0800 [NET]: kfree cleanup From: Jesper Juhl This is the net/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in net/. Signed-off-by: Jesper Juhl Cc: "David S. Miller" Cc: Arnaldo Carvalho de Melo Acked-by: Marcel Holtmann Acked-by: YOSHIFUJI Hideaki Signed-off-by: Andrew Morton commit ac7c98eca88a854755475fcfe1b2bf5f97f90d99 tree 64a6c4754d306cf1246bbe040ac628572b098698 parent b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c author Andrew Morton Tue, 08 Nov 2005 09:41:13 -0800 committer David S. Miller Tue, 08 Nov 2005 09:41:13 -0800 [IRDA] donauboe: locking fix From: Andrew Morton Two missing unlocks, as noted by Ted Unangst Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit b3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c tree 7ca8e019573362620638e14e32bb519770ee6945 parent 6722e78c90054101e6797d5944cdc81af9897a0a author Matt Domsch Tue, 08 Nov 2005 09:40:47 -0800 committer David S. Miller Tue, 08 Nov 2005 09:40:47 -0800 [PPP]: add PPP MPPE encryption module From: Matt Domsch The patch below implements the Microsoft Point-to-Point Encryption method as a PPP compressor/decompressor. This is necessary for Linux clients and servers to interoperate with Microsoft Point-to-Point Tunneling Protocol (PPTP) servers (either Microsoft PPTP servers or the poptop project) which use MPPE to encrypt data when creating a VPN. This patch differs from the kernel_ppp_mppe DKMS pacakge at pptpclient.sourceforge.net by utilizing the kernel crypto routines rather than providing its own SHA1 and arcfour implementations. Minor changes to ppp_generic.c try to prevent a link from disabling compression (in our case, the encryption) after it has started using compression (encryption). Feedback to please. Signed-off-by: Matt Domsch Cc: James Cameron Cc: "David S. Miller" Signed-off-by: Brice Goglin Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 6722e78c90054101e6797d5944cdc81af9897a0a tree 853b2618ecf9ec9e051ad49f1cca64d3854544a9 parent dc8103f25fd7cfac2c2b295f33edc10f255b4c80 author Philippe De Muyter Tue, 08 Nov 2005 09:40:26 -0800 committer David S. Miller Tue, 08 Nov 2005 09:40:26 -0800 [PPP]: handle misaligned accesses From: "Philippe De Muyter" This patch avoids ppp-generated kernel crashes on machines where unaligned accesses are forbidden (ie: m68000), by fixing ppp alignment setting for reused skb's. Signed-off-by: Philippe De Muyter Cc: "David S. Miller" Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit dc8103f25fd7cfac2c2b295f33edc10f255b4c80 tree db09e8efee33d1e7d4527d81a3c1b0ece03cea33 parent 9ee6b535af4c2c97b4e3b88f37f244bf1004ebd4 author Julian Anastasov Tue, 08 Nov 2005 09:40:05 -0800 committer David S. Miller Tue, 08 Nov 2005 09:40:05 -0800 [IPVS]: fix connection leak if expire_nodest_conn=1 There was a fix in 2.6.13 that changed the behaviour of ip_vs_conn_expire_now function not to put reference to connection, its callers should hold write lock or connection refcnt. But we forgot to convert one caller, when the real server for connection is unavailable caller should put the connection reference. It happens only when sysctl var expire_nodest_conn is set to 1 and such connections never expire. Thanks to Roberto Nibali who found the problem and tested a 2.4.32-rc2 patch, which is equal to this 2.6 version. Patch for 2.4 is already sent to Marcelo. Signed-off-by: Julian Anastasov Signed-off-by: Roberto Nibali Signed-off-by: David S. Miller commit 9ee6b535af4c2c97b4e3b88f37f244bf1004ebd4 tree c8a45fcf863e8d72b91fd91ef94fd1f2d70fecb3 parent b541ca2c5a3f3f399d6f2ec9da33c1be5a8d8c19 author Stephen Hemminger Tue, 08 Nov 2005 09:39:42 -0800 committer David S. Miller Tue, 08 Nov 2005 09:39:42 -0800 [NET]: sk_add_backlog convert from macro to inline There is no reason for sk_add_backlog to be a macro. It can just be an inline function and get type checking. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit b541ca2c5a3f3f399d6f2ec9da33c1be5a8d8c19 tree 4e3596af9d6020820b751829b98fa80029b80499 parent 18a0c23617a2cb1c2e55e650046c2084d823fde0 author Thomas Graf Tue, 08 Nov 2005 09:39:17 -0800 committer David S. Miller Tue, 08 Nov 2005 09:39:17 -0800 [PKT_SCHED]: Correctly handle empty ematch trees Fixes an invalid memory reference when the basic classifier is used without any ematches but just actions. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 18a0c23617a2cb1c2e55e650046c2084d823fde0 tree 24e73433d0e8149c1ae8b658188f0cec0472c60c parent 072047e4de3800905e09d0f8ef0e1cc4e91a601e author Carlo Comin Tue, 08 Nov 2005 09:38:56 -0800 committer David S. Miller Tue, 08 Nov 2005 09:38:56 -0800 [CONNECTOR]: Fix documentation test module. Patch from Carlo Comin Signed-off-by: Evgeniy Polyakov Signed-off-by: David S. Miller commit 072047e4de3800905e09d0f8ef0e1cc4e91a601e tree f4b7b8c74213bc0b075d252eab46db0b012323fc parent b1cacb6820e0afc4aeeea67bcb5296a316862cad author YOSHIFUJI Hideaki Tue, 08 Nov 2005 09:38:30 -0800 committer David S. Miller Tue, 08 Nov 2005 09:38:30 -0800 [IPV6]: RFC3484 compliant source address selection Choose more appropriate source address; e.g. - outgoing interface - non-deprecated - scope - matching label Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit b1cacb6820e0afc4aeeea67bcb5296a316862cad tree e7a563d832dfb028b31492ec76054ca30c2c8878 parent 971f359ddcb2e7a0d577479c7561bda407febe1b author YOSHIFUJI Hideaki Tue, 08 Nov 2005 09:38:12 -0800 committer David S. Miller Tue, 08 Nov 2005 09:38:12 -0800 [IPV6]: Make ipv6_addr_type() more generic so that we can use it for source address selection. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 971f359ddcb2e7a0d577479c7561bda407febe1b tree 9bca1b66b368bd1f6aa7d3a2e58f3cbd2658306c parent f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 author YOSHIFUJI Hideaki Tue, 08 Nov 2005 09:37:56 -0800 committer David S. Miller Tue, 08 Nov 2005 09:37:56 -0800 [IPV6]: Put addr_diff() into common header for future use. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 3b6353fae0d7ba772d7eb2651727332c9e9c74ac tree 720827f6aab7d4834ba3a4b729b56b87b1bf5027 parent 2c250134952aac06edbdce5e61f0bd8737dcf3ad author Russell King Tue, 08 Nov 2005 15:35:23 +0000 committer Russell King Tue, 08 Nov 2005 15:35:23 +0000 [ARM] Declare asm entry points in asm/smp.h Signed-off-by: Russell King commit 2c250134952aac06edbdce5e61f0bd8737dcf3ad tree 7c48f4b1c3fa370a484277656d7af3e104e63400 parent 5d43045bcd296f9f269ab266bf26cd667d8d560c author Russell King Tue, 08 Nov 2005 14:44:15 +0000 committer Russell King Tue, 08 Nov 2005 14:44:15 +0000 [ARM] More sparse fixes arch/arm/kernel/irq.c:998:26: warning: Using plain integer as NULL pointer arch/arm/kernel/smp.c:145:25: warning: Using plain integer as NULL pointer arch/arm/kernel/smp.c:362:5: warning: symbol 'smp_call_function_on_cpu' was not declared. Should it be static? drivers/video/amba-clcd.c:521:12: warning: symbol 'amba_clcdfb_init' was not declared. Should it be static? Signed-off-by: Russell King commit 5d43045bcd296f9f269ab266bf26cd667d8d560c tree 09ad7a30e275c3bce3e02b3ca13c2b72c22a8600 parent dbebb4cbe02dc811e21bd3bc40a252490e46b949 author Russell King Tue, 08 Nov 2005 10:44:46 +0000 committer Russell King Tue, 08 Nov 2005 10:44:46 +0000 [ARM SMP] Fix some sparse warnings in SMP code Signed-off-by: Russell King commit dbebb4cbe02dc811e21bd3bc40a252490e46b949 tree 4d76e96bd71dd3837253fbe00f8f6d6769644015 parent f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 author Russell King Tue, 08 Nov 2005 10:40:10 +0000 committer Russell King Tue, 08 Nov 2005 10:40:10 +0000 [ARM SMP] Add missing SMP timer handling for realview Until we have local timer support, we need to broadcast the timer interrupt to the other CPUs. Also, add the missing smp_send_timer() prototype to asm/smp.h Signed-off-by: Russell King commit 8750197f0e8f5467297d72e11444cf32f29d790f tree 9fdac6bbc7934e2fb5ff609f9c202950d245f68b parent 4a1c4447e523003019a2bf9b972ed6fe411e84d2 author Jean Delvare Mon, 31 Oct 2005 18:51:21 +0100 committer Greg Kroah-Hartman Mon, 07 Nov 2005 21:46:38 -0800 [PATCH] i2c-viapro: Some adjustments The big i2c-viapro SMBus driver update which went into 2.6.14-git1 introduced a few minor issues. Nothing critical, but I would like a few adjustments to be merged in to fix the following problems: * VIA should not be spelled Via. * Frodo Looijaard and Philip Edelbrock did not write the i2c-viapro driver. * When debugging is disabled, half of messages would be logged. * Drop an unneeded masking. * Some port reads can be avoided now that the transaction size is passed as a parameter to vt596_transaction(). * SMBus Receive Byte transactions are used for probing too (for EEPROMs), so hide errors on these too. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 4a1c4447e523003019a2bf9b972ed6fe411e84d2 tree 90dc9edf07dc4373e5c474c6d0083afd8a201998 parent ef9627464490fe67235bbd5724d55345b92c0315 author Yuan Mu Mon, 07 Nov 2005 22:19:04 +0100 committer Greg Kroah-Hartman Mon, 07 Nov 2005 21:46:37 -0800 [PATCH] hwmon: Fix two w83627hf bugs * Fix in4 reads for W83627THF and W83637HF chips. * Use the correct register for alarm flags. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ef9627464490fe67235bbd5724d55345b92c0315 tree 62ddcf3b6eaac8c723a09ab174c4afe330c135a3 parent a852daa00ad91350fe603da47becaf3d5af4f2bd author James Chapman Sun, 06 Nov 2005 23:07:38 +0100 committer Greg Kroah-Hartman Mon, 07 Nov 2005 21:46:37 -0800 [PATCH] i2c: ds1337 BCD conversion fix Fix BCD value errors when month=9, moving the increment inside the BIN2BCD macro. Fix similar code for the weekday value, just for consistency. This bug was reported by Michael Burian . Signed-off-by: James Chapman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a852daa00ad91350fe603da47becaf3d5af4f2bd tree cfc31cd212deea34d866ec021aee886f0224c199 parent f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 author Jean Delvare Wed, 02 Nov 2005 21:42:48 +0100 committer Greg Kroah-Hartman Mon, 07 Nov 2005 21:46:37 -0800 [PATCH] i2c: writing-client doc update complement My latest update to the writing-clients i2c documentation file was incomplete, here's the complement. Large parts of this file are still way out-of-date, but at least now the memory allocation and freeing instructions are consistent. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 tree ecfc614d514bd5b43a98cf4c62fdd2f47d86e33c parent d27ba47e7e8c466c18983a1779d611f82d6a354f parent 76c8e25b905f99be5ddbe999597ba7c2c33ec64b author Linus Torvalds Mon, 07 Nov 2005 20:23:46 -0800 committer Linus Torvalds Mon, 07 Nov 2005 20:23:46 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge commit 3133c5e896c0b2509e72ae0c2cb9452c80d47f46 tree ae8af7e85d0a7c402cca7d31eac2935897e1d698 parent 6b995751c2e851d2bc9c277b5884d0adb519e31d parent b69a3aa85cb7bda2eb6c5932a62c1337d0d6612c author Jeff Garzik Mon, 07 Nov 2005 22:54:48 -0500 committer Jeff Garzik Mon, 07 Nov 2005 22:54:48 -0500 Merge git://git.tuxdriver.com/git/netdev-jwl commit 6b995751c2e851d2bc9c277b5884d0adb519e31d tree 7a15b41b5d8ce612915584a0773c670d5c0ab5b8 parent 6c2f4267833f453156f8f439cc32eb4c92f357b4 parent d27ba47e7e8c466c18983a1779d611f82d6a354f author Jeff Garzik Mon, 07 Nov 2005 22:51:47 -0500 committer Jeff Garzik Mon, 07 Nov 2005 22:51:47 -0500 Merge branch 'master' commit b69a3aa85cb7bda2eb6c5932a62c1337d0d6612c tree 64a65fcec724795c213ab96c1419c95a78c41be4 parent f36be62115aabd50b4eda0f06f07ab5fae2e9cfd author Panagiotis Issaris Tue, 08 Nov 2005 00:03:15 +0100 committer John W. Linville Mon, 07 Nov 2005 21:50:01 -0500 [PATCH] wireless net: Conversions of kmalloc/memset to kzalloc More conversions of kmalloc/memset to kzalloc Signed-off-by: Panagiotis Issaris Signed-off-by: John W. Linville commit f36be62115aabd50b4eda0f06f07ab5fae2e9cfd tree 9fd9f6a2b0a53bbf316eb72594282b0a6d345b3c parent 097688ef4710648db335c3c4fa243751f60b330a author Alexey Dobriyan Tue, 08 Nov 2005 00:41:48 +0300 committer John W. Linville Mon, 07 Nov 2005 21:50:01 -0500 [PATCH] atmel: memset correct range Specify the correct range when calling memset in atmel_get_range. Do this by specifying the size of the structure, rather than the size of the pointer. Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit 097688ef4710648db335c3c4fa243751f60b330a tree eb12a04c252ebc9475e6d77bd47de1c4af9a748b parent 0b47939fe616a5e0dd279d98d1eb372e4acc1c09 author Luiz Fernando Capitulino Mon, 07 Nov 2005 18:14:12 -0200 committer John W. Linville Mon, 07 Nov 2005 21:50:01 -0500 [PATCH] Fix sparse warning in e100 driver. The patch below fixes the following sparse warnings: drivers/net/e100.c:1481:13: warning: Using plain integer as NULL pointer drivers/net/e100.c:1767:27: warning: Using plain integer as NULL pointer drivers/net/e100.c:1847:27: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: John W. Linville commit 0b47939fe616a5e0dd279d98d1eb372e4acc1c09 tree 0e7d5bceaba4a2ca0d55accdd59218edc4d023c5 parent de7fe963b123365a27f82330689806226a48d088 author Roger While Mon, 07 Nov 2005 20:58:21 +0100 committer John W. Linville Mon, 07 Nov 2005 21:50:00 -0500 [PATCH] prism54 : Transmit stats updated in wrong place Move update of the transmit statistics to the correct place. This would be just before starting transmission rather than (potentially long) afterward. Signed-off-by: Roger While Signed-off-by: John W. Linville commit de7fe963b123365a27f82330689806226a48d088 tree 19bcac799db2f77420ada3ca4356cbb906da17de parent ac1f60db6a62c8605b551497c8002ba267ea1f4a author Roger While Mon, 07 Nov 2005 20:57:58 +0100 committer John W. Linville Mon, 07 Nov 2005 21:50:00 -0500 [PATCH] prism54 : Unused variable / extraneous udelay In isl_38xx.c : The variable "counter" is defined and incremented but never used except if the driver is hand-compiled setting VERBOSE > SHOW_ERROR_MESSAGES. Move the definition and the increment to within the #if VERBOSE .. block. Remove extraneous udelay's. These are not required when triggering the device. Signed-off-by: Roger While Signed-off-by: John W. Linville commit ac1f60db6a62c8605b551497c8002ba267ea1f4a tree 8c037f61a24d10678a3b7d1eacebac3b23b00d6b parent 48888cc6120ff945675ef79a3ba2955afa0f5124 author Adrian Bunk Sun, 06 Nov 2005 01:46:47 +0100 committer John W. Linville Mon, 07 Nov 2005 21:50:00 -0500 [PATCH] drivers/net/s2io.c: make functions static This patch makes needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 48888cc6120ff945675ef79a3ba2955afa0f5124 tree f204efafbe99dab92fe25896e98862922aa408d5 parent 8e3babcd69ec0fde874838e276eb0b211c6a5647 author Adrian Bunk Sat, 05 Nov 2005 20:01:47 +0100 committer John W. Linville Mon, 07 Nov 2005 21:50:00 -0500 [PATCH] kill include/linux/eeprom.h This patch kills include/linux/eeprom.h . Rationale: - it was only used by one single driver - even this driver didn't do anything useful with it - most of this file are non-inline and non-static functions (sic) This removes include/linux/eeprom.h and cleans drivers/net/ns83820.c up. If you think eeprom.h should be used more extensively, please consider: - the code has to be moved from the header file to a .c file - the currently empty write function has to be implemented - ns83820.c or any other driver should actually use it Noone did any of these during the more than 3 years eeprom.h already exists... Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 8e3babcd69ec0fde874838e276eb0b211c6a5647 tree e9ec29bf1d94ab8b77bb536c77433e21fa2f73ba parent fd7a516efbcdabf5d7b9307ca9fe48b511b7d123 author Jay Vosburgh Fri, 04 Nov 2005 18:45:45 -0800 committer John W. Linville Mon, 07 Nov 2005 21:50:00 -0500 [PATCH] bonding: fix feature consolidation This should resolve http://bugzilla.kernel.org/show_bug.cgi?id=5519 The current feature computation loses bits that it doesn't know about, resulting in an inability to add VLANs and possibly other havoc. Rewrote function to preserve bits it doesn't know about, remove an unneeded state variable, and simplify the code. Signed-off-by: Jay Vosburgh Signed-off-by: John W. Linville commit fd7a516efbcdabf5d7b9307ca9fe48b511b7d123 tree a3186746e8f248d4e5f06543e8f499209f5e5581 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Adrian Bunk Wed, 02 Nov 2005 01:53:16 +0100 committer John W. Linville Mon, 07 Nov 2005 21:50:00 -0500 [PATCH] fix NET_RADIO=n, IEEE80211=y compile This patch fixes the following compile error with CONFIG_NET_RADIO=n and CONFIG_IEEE80211=y: LD .tmp_vmlinux1 net/built-in.o: In function `ieee80211_rx': : undefined reference to `wireless_spy_update' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit d27ba47e7e8c466c18983a1779d611f82d6a354f tree 2870d82516be16e0cae63e1f7e84bd855bb34a23 parent e3d8b77bc7a89d190ee895d0570af10c026e5086 parent dd3e2dcf3408843ed35501c28626f389b30be756 author Linus Torvalds Mon, 07 Nov 2005 18:42:23 -0800 committer Linus Torvalds Mon, 07 Nov 2005 18:42:23 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit e3d8b77bc7a89d190ee895d0570af10c026e5086 tree 56f333679ac333abe2dcddce64e73fb211216044 parent 9cfcceea8f7e8f5554e9c8130e568bcfa98a3a64 parent 0ad3a96f8ad910ecf87a25ec69ed360b284dee2e author Linus Torvalds Mon, 07 Nov 2005 18:41:53 -0800 committer Linus Torvalds Mon, 07 Nov 2005 18:41:53 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 9cfcceea8f7e8f5554e9c8130e568bcfa98a3a64 tree 0847d39ec73f88adb1875916cea789c2d9671f5e parent 9676f0c6389b62bd6b24d77d4b3abdbcfa32d0f2 author Ram Pai Mon, 07 Nov 2005 17:31:49 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:11 -0800 [PATCH] Complete description of shared subtrees. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9676f0c6389b62bd6b24d77d4b3abdbcfa32d0f2 tree fd7d965c6d646cf7e4cfd35e866723927f6cfe8b parent 5afe00221389998a25d611dc7941c06580c29eb6 author Ram Pai Mon, 07 Nov 2005 17:21:20 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:11 -0800 [PATCH] unbindable mounts An unbindable mount does not forward or receive propagation. Also unbindable mount disallows bind mounts. The semantics is as follows. Bind semantics: It is invalid to bind mount an unbindable mount. Move semantics: It is invalid to move an unbindable mount under shared mount. Clone-namespace semantics: If a mount is unbindable in the parent namespace, the corresponding cloned mount in the child namespace becomes unbindable too. Note: there is subtle difference, unbindable mounts cannot be bind mounted but can be cloned during clone-namespace. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5afe00221389998a25d611dc7941c06580c29eb6 tree 521270fb5974b42ac2b27666541f20fd375d8f66 parent a58b0eb8e64b78d9315a5491955e78b1391d42e5 author Ram Pai Mon, 07 Nov 2005 17:21:01 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:11 -0800 [PATCH] handling of slave mounts This makes bind, rbind, move, clone namespace and umount operations aware of the semantics of slave mount (see Documentation/sharedsubtree.txt in the last patch of the series for detailed description). Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a58b0eb8e64b78d9315a5491955e78b1391d42e5 tree 546f77cb0338c817ef1e34d8ebbc6eaf0e5d6be9 parent a05964f3917c7c55368c229d7985f8e7c9977e97 author Ram Pai Mon, 07 Nov 2005 17:20:48 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:11 -0800 [PATCH] introduce slave mounts A slave mount always has a master mount from which it receives mount/umount events. Unlike shared mount the event propagation does not flow from the slave mount to the master. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a05964f3917c7c55368c229d7985f8e7c9977e97 tree 7ec25550267ef050572c00ba2f37d6a4ff9c469e parent 2144440327fa01b2f3f65e355120a78211685702 author Ram Pai Mon, 07 Nov 2005 17:20:17 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:11 -0800 [PATCH] shared mounts handling: umount An unmount of a mount creates a umount event on the parent. If the parent is a shared mount, it gets propagated to all mounts in the peer group. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2144440327fa01b2f3f65e355120a78211685702 tree af068b9aba3ddc1c54a65b635c80392134f6abd9 parent b90fa9ae8f51f098ee480bbaabd6867992e9fc58 author Ram Pai Mon, 07 Nov 2005 17:20:03 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:11 -0800 [PATCH] shared mounts handling: move Implement handling of mount --move in presense of shared mounts (see Documentation/sharedsubtree.txt in the end of patch series for detailed description). Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b90fa9ae8f51f098ee480bbaabd6867992e9fc58 tree 2ad583b3a7399face7a78730b001928413c8269e parent 03e06e68ff76294e53ffa898cb844d2a997b043e author Ram Pai Mon, 07 Nov 2005 17:19:50 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:11 -0800 [PATCH] shared mount handling: bind and rbind Implement handling of MS_BIND in presense of shared mounts (see Documentation/sharedsubtree.txt in the end of patch series for detailed description). Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 03e06e68ff76294e53ffa898cb844d2a997b043e tree df17444b2c9b89e1eed75e09d46ea36c40ebd1df parent 07b20889e3052c7e77d6a6a54e7e83446eb1ba84 author Ram Pai Mon, 07 Nov 2005 17:19:33 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:10 -0800 [PATCH] introduce shared mounts This creates shared mounts. A shared mount when bind-mounted to some mountpoint, propagates mount/umount events to each other. All the shared mounts that propagate events to each other belong to the same peer-group. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 07b20889e3052c7e77d6a6a54e7e83446eb1ba84 tree 616ac5b7eef3092e105d3b41e7bd2052558b064b parent 390c684367de37e1c2f9005cf92f7a746c69fdd3 author Ram Pai Mon, 07 Nov 2005 17:19:07 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:10 -0800 [PATCH] beginning of the shared-subtree proper A private mount does not forward or receive propagation. This patch provides user the ability to convert any mount to private. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 390c684367de37e1c2f9005cf92f7a746c69fdd3 tree 23cf8783db5fdec3717c79f989c6872955679036 parent 36341f64569b0c4572478237ec5ed318f0762510 author Ram Pai Mon, 07 Nov 2005 17:17:51 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:10 -0800 [PATCH] making namespace_sem global This removes the per-namespace semaphore in favor of a global semaphore. This can have an effect on namespace scalability. Signed-off-by: Miklos Szeredi Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 36341f64569b0c4572478237ec5ed318f0762510 tree c3babb815d36445d2478581569f6d4c892f0202a parent 70fbcdf4d252c6b17cc249cb9ac9b220cb0b863d author Ram Pai Mon, 07 Nov 2005 17:17:22 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:10 -0800 [PATCH] mount expiry fixes - clean up the ugliness in may_umount_tree() - fix a bug in do_loopback(). after cloning a tree, do_loopback() unlinks only the topmost mount of the cloned tree, leaving behind the children mounts on their corresponding expiry list. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 70fbcdf4d252c6b17cc249cb9ac9b220cb0b863d tree cefa087774953dd7a2181513427577286f8e9f63 parent 5b83d2c5c0afcf5a3517cf00d9ceb41b8345e01b author Ram Pai Mon, 07 Nov 2005 17:17:04 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:10 -0800 [PATCH] umount_tree() locking change umount is done under the protection of the namespace semaphore. This can lead to intresting deadlocks when the last reference to a mount is released, if filesystem code is in sufficiently nasty state. This collects all the to-be-released-mounts and releases them after releasing the namespace semaphore. That both reduces the time we are holding namespace semaphore and gets the things more robust. Idea proposed by Al Viro. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5b83d2c5c0afcf5a3517cf00d9ceb41b8345e01b tree ae92239c963b2d3cb12e2a561913451a77752d55 parent b58fed8b1959d6b9e4c951a54adc8960e1401b18 author Ram Pai Mon, 07 Nov 2005 17:16:29 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:10 -0800 [PATCH] sanitize the interface of graft_tree(). Old semantics: graft_tree() grabs a reference on the vfsmount before returning success. New one: graft_tree() leaves that to caller. All the callers of graft_tree() immediately dropped that reference anyway. Changing the interface takes care of this unnecessary overhead. Idea proposed by Al Viro. Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b58fed8b1959d6b9e4c951a54adc8960e1401b18 tree 7e7ddca31fcbb263c03b33a6e29e09eff4d1ac26 parent 5addc5dd8836aa061f6efc4a0d9ba6323726297a author Ram Pai Mon, 07 Nov 2005 17:16:09 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:10 -0800 [PATCH] lindent fs/namespace.c Signed-off-by: Ram Pai Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5addc5dd8836aa061f6efc4a0d9ba6323726297a tree a5ce3703bbb421c93482b6043ebd57137276808f parent 1abe77b0fc4b485927f1f798ae81a752677e1d05 author Al Viro Mon, 07 Nov 2005 17:15:49 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:10 -0800 [PATCH] make /proc/mounts pollable Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 1abe77b0fc4b485927f1f798ae81a752677e1d05 tree f7a2de3728fa475975144310e67b643c446e5a6f parent ccd48bc7fac284caf704dcdcafd223a24f70bccf author Al Viro Mon, 07 Nov 2005 17:15:34 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:09 -0800 [PATCH] allow callers of seq_open do allocation themselves Allow caller of seq_open() to kmalloc() seq_file + whatever else they want and set ->private_data to it. seq_open() will then abstain from doing allocation itself. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ccd48bc7fac284caf704dcdcafd223a24f70bccf tree 83b0b6643cb7ea302391e99ec57e07503a292646 parent 7b7b1ace2d9d06d76bce7481a045c22ed75e35dd author Al Viro Mon, 07 Nov 2005 17:15:04 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:09 -0800 [PATCH] cleanups and bug fix in do_loopback() - check_mnt() on the source of binding should've been unconditional from the very beginning. My fault - as far I could've trace it, that's an old thinko made back in 2001. Kudos to Miklos for spotting it... Fixed. - code cleaned up. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7b7b1ace2d9d06d76bce7481a045c22ed75e35dd tree 458f9f16b855ed0347013048c13d3a29031f00ee parent 254ce8dc882f8d69e5d49ed4807c94a61976fb15 author Al Viro Mon, 07 Nov 2005 17:13:39 -0500 committer Linus Torvalds Mon, 07 Nov 2005 18:18:09 -0800 [PATCH] saner handling of auto_acct_off() and DQUOT_OFF() in umount The way we currently deal with quota and process accounting that might keep vfsmount busy at umount time is inherently broken; we try to turn them off just in case (not quite correctly, at that) and a) pray umount doesn't fail (otherwise they'll stay turned off) b) pray nobody doesn anything funny just as we turn quota off Moreover, LSM provides hooks for doing the same sort of broken logics. The proper way to deal with that is to introduce the second kind of reference to vfsmount. Semantics: - when the last normal reference is dropped, all special ones are converted to normal ones and if there had been any, cleanup is done. - normal reference can be cloned into a special one - special reference can be converted to normal one; that's a no-op if we'd already passed the point of no return (i.e. mntput() had converted special references to normal and started cleanup). The way it works: e.g. starting process accounting converts the vfsmount reference pinned by the opened file into special one and turns it back to normal when it gets shut down; acct_auto_close() is done when no normal references are left. That way it does *not* obstruct umount(2) and it silently gets turned off when the last normal reference to vfsmount is gone. Which is exactly what we want... The same should be done by LSM module that holds some internal references to vfsmount and wants to shut them down on umount - it should make them special and security_sb_umount_close() will be called exactly when the last normal reference to vfsmount is gone. quota handling is even simpler - we don't use normal file IO anymore, so there's no need to hold vfsmounts at all. DQUOT_OFF() is done from deactivate_super(), where it really belongs. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 76c8e25b905f99be5ddbe999597ba7c2c33ec64b tree c6d13a7064534116ef1c8c22021d8949d32393cc parent b354cab0763080df3735dcd0c64a545f266cc9e2 author Benjamin Herrenschmidt Tue, 08 Nov 2005 11:21:05 +1100 committer Paul Mackerras Tue, 08 Nov 2005 13:07:50 +1100 [PATCH] ppc64: Fix the lazy icache/dcache code for non-RAM pages For some stupid reason I can't explain (brown paper bag is at hand), I removed the check pfn_valid() in the code that does the icache/dcache coherency on POWER4 and later. That causes us to eventually try to access non existing struct page when hashing in IO pages. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit b354cab0763080df3735dcd0c64a545f266cc9e2 tree 4fa1fd9cf5053a0f4cc5f49ba66126ef23e182e7 parent 515729ece1e515546e9f49713b012cfbc41747ed author Stephen Rothwell Tue, 08 Nov 2005 12:20:34 +1100 committer Paul Mackerras Tue, 08 Nov 2005 12:20:34 +1100 powerpc: merge ide.h This is very simple with it being almost all ppc32 with just a couple of common defines. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 515729ece1e515546e9f49713b012cfbc41747ed tree e5fe23953e33236efc21c66898c8be07acc2760f parent 3fb62b5148bd9df6b8a734988f5cf330251abdb4 author Paul Mackerras Tue, 08 Nov 2005 12:15:36 +1100 committer Paul Mackerras Tue, 08 Nov 2005 12:15:36 +1100 powermac: Use a spinlock in swim3.c (floppy driver) instead of cli Signed-off-by: Paul Mackerras commit 3fb62b5148bd9df6b8a734988f5cf330251abdb4 tree 70a9d5cae57815b97d5b092ccbec0ce0a635a668 parent 22358ea8e1e88d65b073c3d2bb85d8c4e3bd44c1 author Paul Mackerras Tue, 08 Nov 2005 12:14:50 +1100 committer Paul Mackerras Tue, 08 Nov 2005 12:14:50 +1100 macintosh: Always export pmu_[un]register_sleep_notifier if CONFIG_PM set This fixes a build error when building the pmac sound driver as a module for 64-bit powermacs. Signed-off-by: Paul Mackerras commit 22358ea8e1e88d65b073c3d2bb85d8c4e3bd44c1 tree a791eb3592fc47a0f1c89c7d925b12933d011a42 parent 0286486783a75ef991df3ee250917efb55df75b3 author Paul Mackerras Tue, 08 Nov 2005 12:13:38 +1100 committer Paul Mackerras Tue, 08 Nov 2005 12:13:38 +1100 powerpc: Fix typo in pmac_cpufreq_resume Signed-off-by: Paul Mackerras commit 826d2abe9945372c8838398bfd88a1caa5844d41 tree 253d053207da60d8321574291debf159c90f849c parent cf1b479b6922c6736d9f00d90c2b78e977692c93 author James Ketrenos Mon, 07 Nov 2005 18:56:59 -0600 committer James Ketrenos Mon, 07 Nov 2005 18:56:59 -0600 Updated READMEs and MAINTAINERS for the ipw2100 and ipw2200 drivers. Signed-off-by: James Ketrenos commit 0286486783a75ef991df3ee250917efb55df75b3 tree 067d186c3e1f79f44d9ac729cf67c898d329f2ab parent 570142ca37248291c03df9852a5a0ce97f756464 author Mike Kravetz Mon, 07 Nov 2005 13:48:59 -0800 committer Paul Mackerras Tue, 08 Nov 2005 11:20:00 +1100 [PATCH] Memory Add Fixes for ppc64 On Tue, Nov 08, 2005 at 08:12:56AM +1100, Benjamin Herrenschmidt wrote: > Yes, the MAX_ORDER should be different indeed. But can Kconfig do that ? > That is have the default value be different based on a Kconfig option ? > I don't see that ... We may have to do things differently here... This seems to be done in other parts of the Kconfig file. Using those as an example, this should keep the MAX_ORDER block size at 16MB. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 570142ca37248291c03df9852a5a0ce97f756464 tree ca5317ed8f9535f95cf6b3e4c30a1b803b0e6203 parent cb09cff30ad22408eea9b2785555af2d2b0ac1bd author Anton Blanchard Mon, 07 Nov 2005 19:05:31 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:19:57 +1100 [PATCH] ppc64: remove some direct xmon calls Even though we can enable and disable xmon at runtime now, there are a few places in the merge tree that call xmon and xmon_printf directly. In the case below we call die() which will call xmon if it is enabled. Also remove an unnecessary include of xmon.h in smp.c. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit cb09cff30ad22408eea9b2785555af2d2b0ac1bd tree 07b41289038c9665c4626174f92abbbeeef9d445 parent bcb3557694d4e880051795ad97d609d255bcb658 author Anton Blanchard Mon, 07 Nov 2005 18:43:56 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:19:55 +1100 [PATCH] ppc64: fix oprofile sample bit handling Oprofile was hardwiring the MMCRA sample bit to 1 but on newer cpus (eg POWER5) we want to vary it based on the group being sampled. Add a temporary workaround until people update their oprofile userspace. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit bcb3557694d4e880051795ad97d609d255bcb658 tree b79b550546b1330c828cd163ac624c6dc42a992a parent 42596ec5edc8efb9e24397ef656df7ebb2c4f8d5 author Anton Blanchard Mon, 07 Nov 2005 17:43:07 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:19:53 +1100 [PATCH] ppc64: fix Memory: summary line On ppc64 we end up with a negative value for the data size in the memory boot message: Memory: 2035560k/2097152k available (5792k kernel code, 89564k reserved, 18014398509481632k data, 870k bss, 352k init) It turns out the section ordering of the linker script is different on ppc32 and ppc64, so just count data as _edata - _sdata which should work on both. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 42596ec5edc8efb9e24397ef656df7ebb2c4f8d5 tree ef58c24c27589f9d157d26be71129b7f8aecc5f5 parent 7b007de8a90604000329154e87d269db3427d099 author Benjamin Herrenschmidt Mon, 07 Nov 2005 16:57:33 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:19:51 +1100 [PATCH] ppc: Fix PowerBook HD led on ARCH=powerpc The PowerBook HD led code uses obsoletes device-tree accessors which do not work anymore for getting the root of the tree. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 7b007de8a90604000329154e87d269db3427d099 tree 637842a469abd622af00f1032d295dc62400dba6 parent 21fe3301f11a93c4f18e8480ed08522559bf0a50 author Benjamin Herrenschmidt Mon, 07 Nov 2005 16:43:44 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:19:48 +1100 [PATCH] ppc: Fix ARCH=ppc build with xmon xmon() prototype is inconsistent between ARCH=ppc and ARCH=powerpc, thus causing ARCH=ppc build breakage. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 21fe3301f11a93c4f18e8480ed08522559bf0a50 tree 76076ecea25a621f0cffc856025279022ee8d234 parent 75722d3992f57375c0cc029dcceb2334a45ceff1 author Benjamin Herrenschmidt Mon, 07 Nov 2005 16:41:59 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:19:36 +1100 [PATCH] ppc: fix a bunch of warnings Building a PowerMac kernel with ARCH=powerpc causes a bunch of warnings, this fixes some of them Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 75722d3992f57375c0cc029dcceb2334a45ceff1 tree d3f63b3ea80790c2f29ea435781c1331f17d269e parent 7d49697ef92bd2cf84ab53bd4cea82fefb197fb9 author Benjamin Herrenschmidt Mon, 07 Nov 2005 16:08:17 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:17:56 +1100 [PATCH] ppc64: Thermal control for SMU based machines This adds a new thermal control framework for PowerMac, along with the implementation for PowerMac8,1, PowerMac8,2 (iMac G5 rev 1 and 2), and PowerMac9,1 (latest single CPU desktop). In the future, I expect to move the older G5 thermal control to the new framework as well. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 7d49697ef92bd2cf84ab53bd4cea82fefb197fb9 tree 502141dc2692c37c8b8349e92832c36ce29d8ee0 parent c618cf19995ef00c7ab85a9734abe028de9c08d4 author Benjamin Herrenschmidt Mon, 07 Nov 2005 14:36:21 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:17:53 +1100 [PATCH] ppc64: More U3 device-tree fixes Some more U3 revisions have the missing "interrupts" property in U3, this adds them to the fixup code in prom_init.c Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit c618cf19995ef00c7ab85a9734abe028de9c08d4 tree 701a3a4eec43136c7a87214e6b4dfbef72ce7051 parent 183d020258dfd08178a05c6793dae10409db8abb author Benjamin Herrenschmidt Mon, 07 Nov 2005 14:32:28 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:17:50 +1100 [PATCH] ppc64: Update g5_defconfig for ARCH=powerpc This patch updates g5_defconfig for ARCH=powerpc in order to add the SMU support & thermal drivers to it, the pmac sound driver (works on some G5s) and replaces rivafb with nvidiafb which works better for the cards found in G5 based machines. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 183d020258dfd08178a05c6793dae10409db8abb tree 5b20bc62709c94bd63e17d800544140213eaf0f5 parent 4350147a816b9c5b40fa59e4fa23f17490630b79 author Benjamin Herrenschmidt Mon, 07 Nov 2005 14:29:02 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:17:40 +1100 [PATCH] ppc64: SMU partition recovery This patch adds the ability to the SMU driver to recover missing calibration partitions from the SMU chip itself. It also adds some dynamic mecanism to /proc/device-tree so that new properties are visible to userland. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 4350147a816b9c5b40fa59e4fa23f17490630b79 tree c333986047de60aa90809d669895726610c0c3e5 parent a82765b6eee3d1267ded3320ca67b39fe1844599 author Benjamin Herrenschmidt Mon, 07 Nov 2005 14:27:33 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:17:34 +1100 [PATCH] ppc64: SMU based macs cpufreq support CPU freq support using 970FX powertune facility for iMac G5 and SMU based single CPU desktop. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a82765b6eee3d1267ded3320ca67b39fe1844599 tree 2b9273f931724303d1c1c968684bed0146e2da61 parent 24bfb00123e82a2e70bd115277d922438813515b author David Woodhouse Wed, 02 Nov 2005 22:34:20 +0000 committer Paul Mackerras Tue, 08 Nov 2005 11:16:41 +1100 [PATCH] powerpc: Fix ppc32 initrd OK, the Fedora ppc32 and ppc64 kernels should both be arch/powerpc by tomorrow. They're booting on G5, POWER5, and my powerbook. I'll test pmac SMP and Pegasos later -- but pmac smp is known broken in arch/ppc anyway, and I'll live with a potential Pegasos regression for now; it wasn't supported officially in FC4 either. I needed to fix ppc32 initrd -- we were never setting initrd_start. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 24bfb00123e82a2e70bd115277d922438813515b tree 27328b8a5718e16d64e2d101f4b7ddcad5930aed parent c6135234550ed89a6fd0e8cb229633967e41d649 parent 3f00d3e8fb963968a922d821a9a53b503b687e81 author Paul Mackerras Tue, 08 Nov 2005 11:14:20 +1100 committer Paul Mackerras Tue, 08 Nov 2005 11:14:20 +1100 Merge ../linux-2.6 commit cf1b479b6922c6736d9f00d90c2b78e977692c93 tree bd7488fcae82f9614c2ee44d7d982e15a3c04b55 parent 81715376de909637b957f856e30880871fbd78fc author James Ketrenos Thu, 20 Oct 2005 16:35:24 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:52:15 -0600 Update version ipw2200 stamp to 1.0.8 commit 81715376de909637b957f856e30880871fbd78fc tree 66319480546e4912c9a5a922d6e679e2d5825ad7 parent 286568ab1e8f0e09a76cfa58e8ed48ddc44484b5 author James Ketrenos Thu, 25 Aug 2005 01:37:28 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:52:13 -0600 Updated firmware version stamp to 2.4 from 2.3 so it will use the latest firmware. You can obtain the firmware at http://ipw2200.sf.net/firmware.php Signed-off-by: James Ketrenos commit 286568ab1e8f0e09a76cfa58e8ed48ddc44484b5 tree fbb8bdd43cbc12b642ed4109a8b2de99793e4f47 parent 9d5b880bb8e977426d64a4caebe3fd3ae73a2862 author James Ketrenos Tue, 30 Aug 2005 10:34:25 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:52:10 -0600 Fixed parameter reordering in firmware log routine. Signed-off-by: James Ketrenos commit 9d5b880bb8e977426d64a4caebe3fd3ae73a2862 tree eabb0466805d6e13268951f50edf331ffee526a5 parent 035205760e4f28082fedb258a20c804746c84ffe author Hong Liu Wed, 19 Oct 2005 16:25:33 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:52:07 -0600 Fixed problem with not being able to send broadcast packets. Signed-off-by: James Ketrenos commit 035205760e4f28082fedb258a20c804746c84ffe tree 5d13b9c6287f1e6f753f859026920e9c67f53689 parent 991d1cc5963f4926478f3139ec0b0dd26a2c888c author James Ketrenos Wed, 19 Oct 2005 16:12:31 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:52:05 -0600 Added channel support for ipw2200 cards identified as 'ZZR' Signed-off-by: James Ketrenos commit 991d1cc5963f4926478f3139ec0b0dd26a2c888c tree dcfb9b32f23be2c8952797fd81174219abd76c85 parent e758256104c3c2475f7746bc1b348c99cdb207f2 author James Ketrenos Thu, 13 Oct 2005 09:26:48 +0000 committer James Ketrenos Mon, 07 Nov 2005 17:52:02 -0600 Removed warning about TKIP not being configured if countermeasures are configured. Countermeasures default to being turned off when wpa_supplicant runs, regardless of if TKIP is being used. They are only turned on if a TKIP is running. The warning we were printing is therefore not needed. Signed-off-by: James Ketrenos commit e758256104c3c2475f7746bc1b348c99cdb207f2 tree c3076d27876f5d633db3ed5f8e3e4775679b7245 parent 8935f39e86e3707770e091fb58d9060307edf959 author Ben Cahill Thu, 06 Oct 2005 15:34:41 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:52:00 -0600 Fixes missed beacon logic in relation to on-network AP roaming. Signed-off-by: James Ketrenos commit 8935f39e86e3707770e091fb58d9060307edf959 tree d85da62867f9d46fe68baed98186a4f04bb787ae parent 97a78ca968b84a5e9d8854622b4760cec5058f77 author James Ketrenos Wed, 05 Oct 2005 15:59:08 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:57 -0600 Removed legacy WIRELESS_EXT checks from ipw2200.c Signed-off-by: James Ketrenos commit 97a78ca968b84a5e9d8854622b4760cec5058f77 tree 79a8105f17bab5db404d1f9bd49b3fa916fd1eb1 parent 87bb5e3814572b85cf5d4650fb1f88267411845f author Benoit Boissinot Thu, 15 Sep 2005 17:30:28 +0000 committer James Ketrenos Mon, 07 Nov 2005 17:51:54 -0600 Fix 'Driver using old /proc/net/wireless support, please fix driver !' message. Wireless extensions moved the get_wireless_stats handler from being in net_device into wireless_handler. Signed-off-by: Benoit Boissinot Signed-off-by: James Ketrenos commit 87bb5e3814572b85cf5d4650fb1f88267411845f tree b4e20691e20077eaee00eab3266b32f3c1b7da05 parent 9ef539d0d6fca1cd0b1f9b884be8b92cb80159c9 author James Ketrenos Thu, 15 Sep 2005 01:00:31 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:52 -0600 Pulled out a stray KERNEL_VERSION check around the suspend handler. Signed-off-by: James Ketrenos commit 9ef539d0d6fca1cd0b1f9b884be8b92cb80159c9 tree 3b86e4c0453ac4cd87a2d58378fc531f93c23597 parent e63247269de722c3e753991025fb7f15c6aba9aa author James Ketrenos Thu, 15 Sep 2005 00:42:42 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:49 -0600 Updated driver version stamps for ipw2100 (1.1.3) and ipw2200 (1.0.7) Signed-off-by: James Ketrenos commit e63247269de722c3e753991025fb7f15c6aba9aa tree 905710c6c5ad75b90dbb11da009dd064b705c03a parent f4ff497d45c7071166277a39590cc59b50dc893c author Hong Liu Wed, 14 Sep 2005 21:04:15 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:47 -0600 Fixes WEP firmware error condition. The problem is caused by the patch in bug455 -- Channel change flood generates fatal error. The patch set the DISASSOCIATING status bit after sending the command. The process was scheduled out when waiting for the command to be sent to the card. The disassociated notification clears the DISASSOCIATING bit in the tasklet before the process set the bit. Move the bit setting code before sending the command now. Signed-off-by: Hong Liu Signed-off-by: James Ketrenos commit f4ff497d45c7071166277a39590cc59b50dc893c tree 1db4370e38cc2ba866dc6068fadee23f8f587590 parent 29cb843e6457c45c4a257a0d2080da3fd7fb9d1e author Zhu Yi Mon, 12 Sep 2005 10:48:48 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:44 -0600 [Fix bug# 771] Too many (8) bytes recieved when using AES/hwcrypto Signed-off-by: James Ketrenos commit 29cb843e6457c45c4a257a0d2080da3fd7fb9d1e tree 8342a3735fac973f66a469d31630b3bb3cd4a7cf parent 392d0f6d0752e6a3e25c3e3da95d78c53b0fd7a1 author Hong Liu Mon, 12 Sep 2005 10:43:33 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:41 -0600 Fixes problem with WEP not working (association succeeds, but no Tx/Rx) Signed-off-by: James Ketrenos commit 392d0f6d0752e6a3e25c3e3da95d78c53b0fd7a1 tree 7af3f936974a169cc86a20f463f83af0f308276c parent fb7ccc9e6d1a2872ea8a07154f1689d19a7576c5 author James Ketrenos Wed, 07 Sep 2005 18:39:03 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:39 -0600 Removed PF_SYNCTHREAD legacy. The PF_SYNCTHREAD check was introduced to try and remain compatible with SWSUSP2. This check is no longer needed with newer versions. Signed-off-by: James Ketrenos commit fb7ccc9e6d1a2872ea8a07154f1689d19a7576c5 tree 9639c1c101af0d99f3f87f5a49d9ad9add887b7d parent cdd1fa1e10a2231b5e24bde82550ac499aa5dcc4 author James Ketrenos Wed, 07 Sep 2005 18:19:08 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:36 -0600 Fixed problem with get_cmd_string not existing if CONFIG_IPW_DEBUG disabled. Signed-off-by: James Ketrenos commit cdd1fa1e10a2231b5e24bde82550ac499aa5dcc4 tree 8c2a2ff794bf3e53b350f0ee7e8971f7d96aae32 parent 567deaf6d4a3372cd16b8719741ca3a6157c9615 author Hong Liu Wed, 31 Aug 2005 18:14:27 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:51:34 -0600 Card with WEP enabled and using shared-key auth will have firmware error when it tries to auth to a WPA ap. The patch filters out WPA networks if the card is not wpa enabled when selecting network to associate to. Signed-off-by: Hong Liu commit 567deaf6d4a3372cd16b8719741ca3a6157c9615 tree 70b81b5a07473eb1a1de798e9271a1389306b43c parent 90700fd982022f0519e7bd7595adb8084f36d1c6 author Hong Liu Wed, 31 Aug 2005 18:07:22 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:51:29 -0600 Mixed PTK/GTK CCMP/TKIP support. Signed-off-by: Hong Liu commit 90700fd982022f0519e7bd7595adb8084f36d1c6 tree 297461b8ec67e914f0518be5ddb21831bb179b45 parent 24a47dbd89a2738bc149de4685ae5a2a97193ae1 author Peter Jones Fri, 26 Aug 2005 16:51:06 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:25 -0600 Fixed is_network_packet() to include checking for broadcast packets. Signed-off-by: James Ketrenos commit 24a47dbd89a2738bc149de4685ae5a2a97193ae1 tree 8f51a610a39581d48b6b9a6e7a0e4ba8420df8a3 parent a4f6bbb305123c2c42322a10a770be64089a17ca author Mike Kershaw Fri, 26 Aug 2005 00:41:54 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:22 -0600 Adds radiotap support to ipw2200 in monitor mode.. Signed-off-by: Mike Kershaw Signed-off-by: James Ketrenos commit a4f6bbb305123c2c42322a10a770be64089a17ca tree 6f43bf7bb84b7ef2459e2b1023fb1db34ffb8cbc parent 054b08d48464bfa8e5be69829b59bd599c5dcd72 author Peter Jones Fri, 26 Aug 2005 00:33:34 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:19 -0600 Make all the places the firmware fails to load showerrors (in decimal, so you can cross-reference errno.h easily). Signed-off-by: Peter Jones Signed-off-by: James Ketrenos commit 054b08d48464bfa8e5be69829b59bd599c5dcd72 tree c60cb9e8e0407d8b98572e933c5fd250a82e05ee parent 55135791819270a412dfb99f66301f02c72edadf author Hong Liu Thu, 25 Aug 2005 17:45:49 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:51:17 -0600 Don't set hardware WEP if we are actually using TKIP/AES. Signed-off-by: Hong Liu commit 55135791819270a412dfb99f66301f02c72edadf tree b854cf6f17428f9610cf9868e0a51b66b6465b1a parent 7b99659f97ca20e5f1ea56253a9449d278d825d5 author Zhu Yi Thu, 25 Aug 2005 17:43:14 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:51:14 -0600 [Bug 760] Fix setting WEP key in monitor mode causes IV lost. Signed-off-by: Zhu Yi commit 7b99659f97ca20e5f1ea56253a9449d278d825d5 tree 318b810e66466299874004b202fa7ee9a4538878 parent a0e04ab36048eb1c3da2524b5b0b802b6ab064f0 author Hong Liu Thu, 25 Aug 2005 17:36:13 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:51:11 -0600 [Bug 455] Fix frequent channel change generates firmware fatal error. Because of the frequent channel change, it is possible that when we are try to associate with channel 1 (authenticated but not associated). Another channel change comes at this time, then the driver will issue disassociate command to the firmware which will cause the fatal error. It seems that the association/disassociation procedure should not be interrupted. The patch attached adds test on STATUS_ASSOCIATING | STATUS_DISASSOCIATING in ipw_send_cmd(), when ensures that commands will not be sent to firmware when we are in these two status. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi commit a0e04ab36048eb1c3da2524b5b0b802b6ab064f0 tree a12ae524c5da22d51a66440822776b565d22c31c parent 3b9990cb1751d3d267c0e5c94bff0f155c944c66 author James Ketrenos Thu, 25 Aug 2005 00:49:43 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:09 -0600 Added wait_state wakeup on scan completion. Fixed copyright date in ipw2200.h Signed-off-by: James Ketrenos commit 3b9990cb1751d3d267c0e5c94bff0f155c944c66 tree 4889e130e3d3482a8784cdd7d0d38b8bcc93b246 parent 1fe0adb4314009362d28205bbf09f6d758e82002 author James Ketrenos Fri, 19 Aug 2005 13:18:55 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:06 -0600 Updated ipw2200 to use the new ieee80211 callbacks (handle_probe_response, handle_beacon, handle_association_response). Fixed a problem with ipw_send_cmd() returning non-zero on success. Signed-off-by: James Ketrenos commit 1fe0adb4314009362d28205bbf09f6d758e82002 tree 63809744601a0f97ed8499c72377ab49d78a78ab parent f6c5cb7c6f8a85045996bfc3442af963d6578d60 author Liu Hong Fri, 19 Aug 2005 09:33:10 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:03 -0600 Migrated some of the channel verification code back into the driver to keep regulatory consistency in one location. Signed-off-by: James Ketrenos commit f6c5cb7c6f8a85045996bfc3442af963d6578d60 tree 47de65141268590002d7c9a091303681f84a6595 parent 9ddf84f6f20335ce896feb459b19c3258bbf2e96 author James Ketrenos Thu, 25 Aug 2005 00:39:09 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:51:00 -0600 Added cmdlog in non-debug systems. You can now specify via the module parameter 'cmdlog' to allocate a ring buffer for caching host commands sent to the firmware. They can then be dumped at any time via the sysfs entry 'cmd_log' Signed-off-by: James Ketrenos commit 9ddf84f6f20335ce896feb459b19c3258bbf2e96 tree 48e2e961031aa7bb7fe7fef401ba132b1e53bf39 parent b39860c60b135ef16c1c16a3e2a757ff8070c5ad author James Ketrenos Tue, 16 Aug 2005 17:07:11 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:58 -0600 Changed all of the ipw_send_cmd() calls to return any ipw_send_cmd error codes to the caller and changed ipw_send_cmd itself to print the error message to the syslog indicating which command failed to be sent. Signed-off-by: James Ketrenos commit b39860c60b135ef16c1c16a3e2a757ff8070c5ad tree dde06d69fb792a0993e3a756d35a0cc9509388cf parent e666619e232308c8ee2aba6b87f28ad26b38d905 author James Ketrenos Fri, 12 Aug 2005 09:36:32 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:55 -0600 Switched firmware error dumping so that it will capture a log available via sysfs even if debugging disabled. When a firmware error is captured, it will be dumped to the kernel log (if debug enabled) and captured in memory to be retrieved via sysfs. If an error has already been captured, subsequent errors will be dropped. The existing error can be cleared by writing to the error log entry. Signed-off-by: James Ketrenos commit e666619e232308c8ee2aba6b87f28ad26b38d905 tree 37cb616367595bb95c456ed938ff78c8db87846a parent 6de9f7f27defe6f1a2d33d0b78af6b1a0ad18330 author James Ketrenos Fri, 12 Aug 2005 09:17:04 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:52 -0600 Modified ipw_config and STATUS_INIT setting to correct race condition with request_scan being called before initialized if invoked from insmod, resulting in no association occurring during boot until iwlist scan is run. Signed-off-by: James Ketrenos commit 6de9f7f27defe6f1a2d33d0b78af6b1a0ad18330 tree b30d488ffce4501c659cce7b9e43c82ebbdbddd3 parent 22501c8ed70398178e8c8d55e65da97b7e7fb610 author Zhu Yi Thu, 11 Aug 2005 14:39:33 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:50:50 -0600 Fix firmware error when setting tx_power. Signed-off-by: Zhu Yi commit 22501c8ed70398178e8c8d55e65da97b7e7fb610 tree e74d5a23135d98c890b7ebd9c79d773071d960ea parent 0ece35b557c5097c90df9e8fbf47e4da46377df1 author Zhu Yi Thu, 11 Aug 2005 10:49:17 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:50:47 -0600 Fix ipw_wx_get_txpow shows wrong disabled value. Signed-off-by: Zhu Yi commit 0ece35b557c5097c90df9e8fbf47e4da46377df1 tree 36a6b5de7924cbd2fe007fe5bf70074a906786ff parent caeff81b4e6479884f3cd2ced526bebd4f0c5eff author Zhu Yi Fri, 05 Aug 2005 17:26:51 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:50:45 -0600 [Bug 701] Fix a misuse of ieee->mode with ieee->iw_mode. Signed-off-by: Zhu Yi commit caeff81b4e6479884f3cd2ced526bebd4f0c5eff tree f5b3a452d519d904acd16f30ef4a5c973635ecbd parent 1fbfea549f07f1f7afd436f1e45b25437f0172c2 author Hong Liu Fri, 05 Aug 2005 17:25:50 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:50:42 -0600 Fixes the ad-hoc network WEP key list issue. If we configure the wep keys after creating the ibss network, the beacons of this network will not show correctly (it still shows "key off" in iwlist scan report). This is because we don't update the beacon info in firmware. Signed-off-by: Hong Liu Signed-off-by: Zhu Yi commit 1fbfea549f07f1f7afd436f1e45b25437f0172c2 tree 96dced82fc405eab36695e1f7568c4c77fc77324 parent e402c9374112aaf1fc5796013dc3040ebb3954ca author Zhu Yi Fri, 05 Aug 2005 17:22:56 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:50:39 -0600 [Bug 792] Fix WPA-PSK AES both for -Dipw and -Dwext. Signed-off-by: Zhu Yi commit e402c9374112aaf1fc5796013dc3040ebb3954ca tree c4c3aa9d0ae2e9b773b2421ef221bb54f0c677a7 parent 87b016cb64b267a6f791494a4cfd84e84e022ebb author Zhu Yi Fri, 05 Aug 2005 17:20:40 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:50:37 -0600 Disable host fragmentation in open mode since IPW2200/2915 hardware support hardware fragmentation. Signed-off-by: Zhu Yi commit 87b016cb64b267a6f791494a4cfd84e84e022ebb tree ed62edcd2685229da636be3e605a309e89759607 parent 4f36f8088ada6c63719a970616078887f82e226c author Zhu Yi Fri, 05 Aug 2005 17:17:35 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:50:34 -0600 Workaround kernel BUG_ON panic caused by unexpected duplicate packets. Signed-off-by: Zhu Yi commit 4f36f8088ada6c63719a970616078887f82e226c tree d3d36c3f1c7d872db0ea583ed89470613ebe27d5 parent 2b184d5b5401bf87036cd0c2a0242fa5320129d7 author James Ketrenos Wed, 03 Aug 2005 20:36:56 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:32 -0600 Added more useful geography encoding so people's experience with iwconfig matches what their hardware can actually do in regard to supported channel maps, etc. Signed-off-by: James Ketrenos commit 2b184d5b5401bf87036cd0c2a0242fa5320129d7 tree 2075dcadc11cf2cdf63b03492197c55d8225fe84 parent 227d2dc1f109e3348564320cf42fc56770428ed3 author James Ketrenos Wed, 03 Aug 2005 20:33:14 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:29 -0600 Fixed some compiler issues if CONFIG_IPW2200_QOS is enabled. Updated a copyright date. Signed-off-by: James Ketrenos commit 227d2dc1f109e3348564320cf42fc56770428ed3 tree 0f3b2c85592e8ea4cdd998e10e9308d69b2d954d parent d2021cb4e28c512c395a439d65556c260b94e47e author James Ketrenos Thu, 28 Jul 2005 16:25:55 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:27 -0600 Updated to support ieee80211 callback to is_queue_full for 802.11e support. Signed-off-by: James Ketrenos commit d2021cb4e28c512c395a439d65556c260b94e47e tree 63638ef78628bb907044f7fce29423fc0a334e49 parent 8400a1ceb445f2ace4b8d3c35c181b2b416a81ce author James Ketrenos Thu, 14 Jul 2005 10:35:05 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:24 -0600 Changed default # of missed beacons to miss before disassociation to 24 (vs. 9 which is too low in most environments) Signed-off-by: James Ketrenos commit 8400a1ceb445f2ace4b8d3c35c181b2b416a81ce tree 9ee014ce0dfbbf4b66ff39d2788b6352cadcfd3e parent d8bad6df045249cd1cff6a0d167c8f1b9caade7e author Liu Hong Wed, 13 Jul 2005 12:27:17 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:21 -0600 [Bug 637] Set tx power for A band. It uses the ieee80211-geo info to set the tx power of the a/b/g band. Signed-off-by: James Ketrenos commit d8bad6df045249cd1cff6a0d167c8f1b9caade7e tree 356a0688be3efd57fa0d7182f30bba6887986750 parent f57ce7ce9c7498fe9c4090aaf389c89f3bd70f7e author Zhu Yi Wed, 13 Jul 2005 12:25:38 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:19 -0600 [bug 667] Fix the notorious "No space for Tx" bug. We send SYSTEM_CONFIG command after the TGI_KEY command if hardware encryption is enabled. It sometimes causes a firmware stall (firmware doesn't respond to any request) and finally bungs up the Tx send queue. The solution is to send SYSTEM_CONFIG command in the post association stage from a workqueue. Signed-off-by: James Ketrenos commit f57ce7ce9c7498fe9c4090aaf389c89f3bd70f7e tree 32abe5aa737774ee376a52cc47b31a7162a02f69 parent a2d73e60bb018da74ba508943c79c83659f3a883 author Zhu Yi Wed, 13 Jul 2005 12:22:15 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:16 -0600 Fix is_duplicate_packet() bug for fragmentation number setting. Signed-off-by: James Ketrenos commit a2d73e60bb018da74ba508943c79c83659f3a883 tree f657e3b54634c5b05f100ed8df7f47a8f3b2ff39 parent afbf30a2b78cac38e6ddae10a73063943b4783ee author Zhu Yi Wed, 13 Jul 2005 12:24:51 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:14 -0600 Fix hardware encryption (both WEP and AES) doesn't work with fragmentation. Firmware sends received packets with double sized ICV/MIC. Signed-off-by: James Ketrenos commit afbf30a2b78cac38e6ddae10a73063943b4783ee tree 24c583520cdb77e22631741358831e10c865bde0 parent e4cc28998724661c19cd979a78eaf9a424da52ef author James Ketrenos Thu, 25 Aug 2005 00:05:33 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:11 -0600 Catch ipw2200 up to equivelancy with v1.0.5 * Fixed #452 problem with setting retry limit (thanks to Hong Liu) * Fixed #592 race condition during association causing firmware errors * Fixed #602 problem with building in 64-bit environment * Fixed #625 problem with SCAN_REQUEST_EXT sometimes failing * Fixed #645 problem with bit rate not decreasing when moving laptop farther from AP * Fixed #656 problem with 'iwconfig eth1 mode auto' and 'modprobe' locking the system * Fixed #667 problem with "No space for Tx" for hwcrypto=1 * Fixed #685 kernel panic in rmmod caused by led work is still queued * Fixed #695 problem with network doesn't reassociate after suspend/resume * Fixed #701 problem with 'iwprvi sw_reset' not resetting the card from monitor mode * Fixed #710 problem with monitor mode being used after a WEP key has been configured * Fixed network->mode vs. priv->ieee->iw_mode checking (thanks to Ben Cahill) * Fixed "Unknown management packet %d" warning * Fixed setting channels multiple times in monitor mode causes scan stopped * Fixed ipw_wx_sw_reset doesn't switch firmware if mode is changed. * Add duplicate packet checking code (kill ping DUP! and TKIP replay warning) * Fix hardware encryption (both WEP and AES) doesn't work with fragmentation. Signed-off-by: James Ketrenos commit e4cc28998724661c19cd979a78eaf9a424da52ef tree d39518bd2a881f40b649aa5326d08a2679a2567e parent f75459e6f64ca0632f23029e2ca47b424dd33373 author Zhu Yi Wed, 13 Jul 2005 12:30:34 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:08 -0600 Move code from ipw2100_wpa_enable to IPW2100_PARAM_DROP_UNENCRYPTED to support wpa_supplicant with open AP. We need this to make driver_ipw work. driver_ext has already had the similar code with the WE-18 support added. Signed-off-by: James Ketrenos commit f75459e6f64ca0632f23029e2ca47b424dd33373 tree 4476b0f6df484ed3905de6e12b8802bdfc3c16d4 parent 25b645be1e25e16ea7a25678ac195a0e7595c629 author Liu Hong Wed, 13 Jul 2005 12:29:21 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:06 -0600 [Bug 339] Fix ipw2100 iwconfig set/get txpower. Signed-off-by: James Ketrenos commit 25b645be1e25e16ea7a25678ac195a0e7595c629 tree 0f4fc7b35be49ce8a9adece8535065f8cc3a1a20 parent 823283549da144ff49e65c6e4a670b7784203e0b author Tue, 12 Jul 2005 15:45:30 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:03 -0600 Fixed WEP on ipw2100 (priv->sec was being used instead of priv->ieee->sec) commit 823283549da144ff49e65c6e4a670b7784203e0b tree 84ea52f5016b5af30ba029616bfcd3f77e40e2a0 parent b095c3819805f87d73d41641a53e4c070360d783 author James Ketrenos Wed, 24 Aug 2005 22:33:31 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:50:01 -0600 Catch ipw2100 up to equivelancy with v1.1.1 * Added WE-18 support. This allows the use of -Dext with wpa_supplicant > 0.4.x (thanks to Hong Liu) * Fixed #339 problem with iwconfig set/get txpower (thanks to Hong Liu) * Fixed #598 problem when with error messages when module loaded with 'disable=1' (thanks to Hong Liu) * Fixed #640 problem with 'iwlist retry' now showing min/max retry * Fixed compatibility with wpa_supplicant and the new -Dipw interface (that included a fix for 64-bit compatibility) * Added CFG_CRC_CHECK which allows passing through packets with bad CRCs while in monitor mode. Signed-off-by: James Ketrenos commit b095c3819805f87d73d41641a53e4c070360d783 tree 48edc722c8445078aea620c740d19d466dd8fc25 parent c848d0af404f00835f038e370005733d90a186fd author James Ketrenos Wed, 24 Aug 2005 22:04:42 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:49:58 -0600 Catch ipw2200 up to equivelancy with v1.0.4 * Fixed #627 problem with open APs not working with wpa_supplicant * Fixed #632 problem with 'txpower auto' setting power incorrectly (thanks to Kai Groner) * Fixed #634 problem with 'iwconfig eth1 frag 0' hanging the shell * Fixed problem with adapter not fully powering off during suspend to RAM or when module unloaded. * Fixed #645 problem with turning fixed rates off not taking effect until you reload the driver * Fixed problem with firmware restart if wpa_supplicant was used to set a key that wasn't exactly 5 or 13 bytes in length. * Fixed #623 Added iwpriv sw_reset extension to reset sw parameters * Added managment frame export to user space with frame statistics * Fixed #652 Modified the driver to load the EEPROM data even if RF KILL is active during driver load * Global s:CX2_:IPW_:g to make code more consistent * Fixed #572 problem with setting txpower to auto * Fixed #656 problem with kernel oops if mode auto; modprobe -r ipw2200 * Added QoS (CONFIG_IPW_QOS) support. This is being actively developed but is the first step in getting WMM support into the driver and the kernel. * Fixed some race conditions with channel changes, association, and scan abort that could periodically cause a firmware restart. * Added some extensions to export scan and network statistics to user space (exposed through speed_scan and net_stats sysfs entries) * Fixed a few bugs in how monitor mode was supported (scan lists weren't quite right) * Updated the firmware requirement from 2.2 to 2.3 which supports monitor mode. Signed-off-by: James Ketrenos commit c848d0af404f00835f038e370005733d90a186fd tree e9d3e4b02fa9404f7a9633d98e3a35468eb516be parent a613bffd3aac89bb0a8c9b7afa72af9b0ae30f0a author James Ketrenos Wed, 24 Aug 2005 21:56:24 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:49:56 -0600 Catch ipw2200 up to equivelancy with v1.0.3 * Fix #616 problem with OOPS on module load (thanks to Yi Zhu) * Fixed problem with led module parameter being described as 'auto_create' * Added support to merge between adhoc networks (thanks to Mohamed Abbas) * Added semaphore lock at the driver's entry points to protect against re-entry (thanks to Mohamed Abbas) * Added semaphore lock to background scheduled driver actions (thanks to Mohamed Abbas) * Changed how signal quality is reported for scan output (thanks to Peter Jones) * Fixed how high/low clamp values of signal quality are reported so a more consistent ramp is provided (thanks to Bill Moss) * Fix #624 problem with duplicate addresses (again) (thanks to Bernard Blackham) * Fix #385 problem with fragmentation and certain sized packets (thanks to Mohamed Abbas) * Modified iwconfig network name if RF kill is enabled to say 'radio off' * Fix #382 problem with driver not responding to probe requests in Ad-Hoc mode (thanks to Mohamed Abbas) Signed-off-by: James Ketrenos commit a613bffd3aac89bb0a8c9b7afa72af9b0ae30f0a tree 982d4f3de285993749138b0e6e2f2d778b120407 parent ea2b26e0a0264650e13acac8e66d315bb818897c author James Ketrenos Wed, 24 Aug 2005 21:43:11 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:49:53 -0600 Catch ipw2200 up to equivelancy with v1.0.2 Removed unneeded parenthesis around numeric constant defines Added support for iwspy Put in fix for Ad-Hoc mode not passing through all packets (thanks to KKH) Put in fix for fragmentation not working for fragment sizes between 441-464 bytes (thanks to Mohamed Abbas) Fixed #592 problem of CONFIG_IEEE80211_WPA_MODULE not including WPA support into the driver -- fixed as a result of no longer limiting WPAs inclusion Fixed #594 problem with user rates mask causing lack of association if AP mandatory rate is masked out. We now add back in as a supported rate any mandatory rate. Fixed #597 kernel oops due to calling dev_kfree_skb on an skb multiple times. Added code to control LEDs that can be controlled through the wireless NIC (vs. non-wireless HW interfaces) -- this is currently disabled by default due to reports by some users of it hanging their laptop. Added some more debug messages around fragmentation logic Added locking around STATUS_HCMD_ACTIVE to prevent re-entry race conditions Moved ipw_adapter_restart to only execute on the priv->workqueue to keep keyboard errors from occuring during adapter restart Added CFG_BACKGROUND_SCAN to easily allow people to play with background scanning implementations Modified WPA logic to send WPA IE if one is set (vs. being based on wpa_enabled) Modified scan result logic to report WPA and RSN IEs if set (vs. being based on wpa_enabled) Fixed issues with endianess compatability between the host and wireless adapter (thanks to York Liu and Yi Zhu) Fixed problem with Ad-Hoc network creation causing a firmware error if a scan was actively running (thanks to Mohamed Abbas) Signed-off-by: James Ketrenos commit ea2b26e0a0264650e13acac8e66d315bb818897c tree a2045d043ca6e09722d23518170900c1cc4dcc6d parent a1e695adca76f5729224242e4f2f9f6ceb6863d1 author James Ketrenos Wed, 24 Aug 2005 21:25:16 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:49:50 -0600 Catch ipw2200 up to equivelancy with v1.0.1 This commit contains the following fixes: Fixed #559: iwconfig rate support (thanks to Florian Hackenberger) Improved link signal quality calculation (thanks to Bill Moss) Fixed a problem with sensitivity threshold during association Added iwpriv for turning forcing long preamble support: % iwpriv eth1 set_preamble 1|0 Fixed #542 and #377 support for short preamble Fixed locked BSSID reporting channel number (thanks to Pedro Ramalhais) Fixed type-o with scan watchdog timeout message (thanks to Pedro Ramalhais) Changed logic for displaying get_mode output so the code is easier to follow (thanks to Pedro Ramalhais) Added initial support for WPA (thanks to Yi Zhu) -- tested with wpa_supplicant (either tip w/ ipw driver, or with -Dipw2100) with both CCMP and TKIP Fixed problem with CCMP not working due to uninitialized 802.11 header fields (thanks to Pedro Ramalhais) Bug references are to defects stored on http://bughost.org Signed-off-by: James Ketrenos commit a1e695adca76f5729224242e4f2f9f6ceb6863d1 tree 1a335c4a602d34d22173c77788f0d9ad00ef8310 parent ee8e365aa6395e721399127ccf3d28d269136f0e author Zhu Yi Mon, 04 Jul 2005 14:06:00 +0800 committer James Ketrenos Mon, 07 Nov 2005 17:49:47 -0600 IPW_DEBUG has already included DRV_NAME, remove double prefix print. commit ee8e365aa6395e721399127ccf3d28d269136f0e tree f069489a0d07c643bdc9caf12cfd7a9cfcadfbf1 parent d7e02edbc52bc689279154b117b90fe6635fc14b author James Ketrenos Wed, 14 Sep 2005 09:47:29 -0500 committer James Ketrenos Mon, 07 Nov 2005 17:49:45 -0600 Ran scripts/Lindent on drivers/net/wireless/ipw2{1,2}00.{c,h} No other changes. Signed-off-by: James Ketrenos commit d7e02edbc52bc689279154b117b90fe6635fc14b tree 3d5b65e5cb1f8549c9de343b986c5b4390125563 parent e189277a3f1cbb0f1282e0f4b8fa8c91e004c286 author James Ketrenos Mon, 24 Oct 2005 20:44:06 -0500 committer James Ketrenos Mon, 07 Nov 2005 16:19:17 -0600 Update version ieee80211 stamp to 1.1.7 commit e189277a3f1cbb0f1282e0f4b8fa8c91e004c286 tree 13874dfda70803b04a9bba7a1a07ddb124f08990 parent 81f875208e7f46d003bedb82d5cfe54458a3ab60 author Volker Braun Mon, 24 Oct 2005 10:15:36 -0500 committer James Ketrenos Mon, 07 Nov 2005 16:19:02 -0600 Fix problem with WEP unicast key > index 0 The functions ieee80211_wx_{get,set}_encodeext fail if one tries to set unicast (IW_ENCODE_EXT_GROUP_KEY not set) keys at key indices>0. But at least some Cisco APs dish out dynamic WEP unicast keys at index !=0. Signed-off-by: Volker Braun Signed-off-by: James Ketrenos commit 81f875208e7f46d003bedb82d5cfe54458a3ab60 tree a81a9c681a83cae61f082295a2913f69d126ccb9 parent 6c2f4267833f453156f8f439cc32eb4c92f357b4 author James Ketrenos Mon, 24 Oct 2005 10:20:53 -0500 committer James Ketrenos Mon, 07 Nov 2005 16:18:48 -0600 scripts/Lindent on ieee80211 subsystem. Signed-off-by: James Ketrenos commit dd3e2dcf3408843ed35501c28626f389b30be756 tree 76414b5a618f0632d6cac8e7ccd2947b8f6e5a42 parent f48497e38331464c25e564d9e76ee915ca55fea8 author David S. Miller Mon, 07 Nov 2005 14:13:46 -0800 committer David S. Miller Mon, 07 Nov 2005 14:13:46 -0800 [SPARC64]: Kill some unnecessary includes from ioctl32.c Signed-off-by: David S. Miller commit f48497e38331464c25e564d9e76ee915ca55fea8 tree 0ef3b21b1954f4f12ad41cc5adf1081b952b7dca parent b66621fef30e15810d459212bc8bdc274e08f14f author Christoph Hellwig Mon, 07 Nov 2005 14:13:27 -0800 committer David S. Miller Mon, 07 Nov 2005 14:13:27 -0800 [SPARC64]: remove drm compat ioctl handling drivers/drm/ now implements proper ->compat_ioctl methods, so this isn't needed anymore. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit b66621fef30e15810d459212bc8bdc274e08f14f tree 6f0c71c93f56d47414dd43a39e3ed563d560aeda parent 1d5d00bd9c44ab4730d353ee6ba0c8ebbff295c7 author Christoph Hellwig Mon, 07 Nov 2005 14:13:14 -0800 committer David S. Miller Mon, 07 Nov 2005 14:13:14 -0800 [SPARC] cpwatchdog: implement ->compat_ioctl Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 1d5d00bd9c44ab4730d353ee6ba0c8ebbff295c7 tree ce0a4fb5876fcaa2f1a783cf221f8e8fc8b3687d parent b31023fc24e5c39d246e9c6fc75dba1a2902c1d6 author Christoph Hellwig Mon, 07 Nov 2005 14:13:01 -0800 committer David S. Miller Mon, 07 Nov 2005 14:13:01 -0800 [SPARC] display7seg: implement ->unlocked_ioctl and ->compat_ioctl all ioctls are 32bit compat clean, so the driver can use ->compat_ioctl and ->unlocked_ioctl easily. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit b31023fc24e5c39d246e9c6fc75dba1a2902c1d6 tree e89713fbd2769a70271e650aa3e3db5cf59c39a6 parent 1928f8e541245eae933f8c95b64b2bc3683f9661 author Christoph Hellwig Mon, 07 Nov 2005 14:12:47 -0800 committer David S. Miller Mon, 07 Nov 2005 14:12:47 -0800 [SPARC] openprom: implement ->compat_ioctl implement a compat_ioctl handle in the driver instead of having table entries in sparc64 ioctl32.c (I plan to get rid of the arch ioctl32.c file eventually) Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 1928f8e541245eae933f8c95b64b2bc3683f9661 tree 6a3d0b88315a7fce739aabe68af320124af67529 parent 16cf0d816541fde06ed8f37c0f5cf9940cdfc145 author Christoph Hellwig Mon, 07 Nov 2005 14:12:34 -0800 committer David S. Miller Mon, 07 Nov 2005 14:12:34 -0800 [SPARC] envctrl: implement ->unlocked_ioctl and ->compat_ioctl all the ioctls in the driver are 32bit compat clean and don't need BKL, so we can switch it to ->unlocked_ioctl and ->compat_ioctl trivially. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 16cf0d816541fde06ed8f37c0f5cf9940cdfc145 tree 2ba6e485010ee3eb500c012115a9a8b4af7495dd parent 59871bcd1197014aacdf8e398c407cab70ab74e7 author Christoph Hellwig Mon, 07 Nov 2005 14:12:21 -0800 committer David S. Miller Mon, 07 Nov 2005 14:12:21 -0800 [SPARC]: Kill remaining kbio.h references. Would you mind applying the following patch that kills those two + the m68k and Documentation/ references? Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 59871bcd1197014aacdf8e398c407cab70ab74e7 tree 60786608e4c09dfa5b0d10952f1ab45564f927f5 parent 261b033afc2db37ad371263db2e1316f37c8ed51 author Hugh Dickins Mon, 07 Nov 2005 14:12:08 -0800 committer David S. Miller Mon, 07 Nov 2005 14:12:08 -0800 [SPARC64] mm: simpler tlb_flush_mmu Minor simplification to the sparc64 tlb_flush_mmu: tlb_remove_page set need_flush only after handling the tlb_fast_mode case, then tlb_flush_mmu need not consider whether it's tlb_fast_mode. Signed-off-by: Hugh Dickins Signed-off-by: David S. Miller commit 261b033afc2db37ad371263db2e1316f37c8ed51 tree 1cf66821e235754a78aa055cad878a488bcaf4f6 parent 59f85dc95e81281b424b2eb0e7b002cf7f77db03 author Christoph Hellwig Mon, 07 Nov 2005 14:11:49 -0800 committer David S. Miller Mon, 07 Nov 2005 14:11:49 -0800 [SPARC64]: remove duplicated compat ioctl entries all these are handled by fs/compat_ioctls.c already. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 59f85dc95e81281b424b2eb0e7b002cf7f77db03 tree 15acfc806c75202f02706d9f0a8890c325b9db3b parent e1413315b8dfcdebc61416dadc1334619dfb4543 author Christoph Hellwig Mon, 07 Nov 2005 14:11:38 -0800 committer David S. Miller Mon, 07 Nov 2005 14:11:38 -0800 [SPARC]: remove vuid_event.h I don't know if we ever implemented this, but the only user in any 2.6 tree are the compat ioctls. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit e1413315b8dfcdebc61416dadc1334619dfb4543 tree 5450977b1f6721799069caaa19c6a9b75d50f35d parent 9d3c7d1bfd41d5082a541666db404aae7699b79e author Christoph Hellwig Mon, 07 Nov 2005 14:11:25 -0800 committer David S. Miller Mon, 07 Nov 2005 14:11:25 -0800 [SPARC]: remove kbio.h The old keyboard driver is gone in 2.6, so the only user left are the compat ioctls. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 9d3c7d1bfd41d5082a541666db404aae7699b79e tree 315697678c3ff9d87940e475d4d2d97b42088423 parent e0436b3164fd071acd30a50339b7b6ba5f053cf6 author Christoph Hellwig Mon, 07 Nov 2005 14:11:14 -0800 committer David S. Miller Mon, 07 Nov 2005 14:11:14 -0800 [SPARC]: remove audioio.h The old sound drivers are gone in 2.6, so the only user left are the compat ioctls. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit e0436b3164fd071acd30a50339b7b6ba5f053cf6 tree ca2df099eb42c9ce042fd1294be70b8433462afc parent d16436e686949a17b3bcfff2d688c97354b599aa author Christoph Hellwig Mon, 07 Nov 2005 14:11:02 -0800 committer David S. Miller Mon, 07 Nov 2005 14:11:02 -0800 [SPARC64]: remove alloc_user_space() this inline routine in arch/sparc64/kernel/ioctl32.c is completely unused and superceeded by compat_alloc_user_space() Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit d16436e686949a17b3bcfff2d688c97354b599aa tree 2a66310b52421102e787526724ebd022051ba643 parent 483772469d4a15d77402c2ac819c80dff9be8421 author Stephen Rothwell Mon, 07 Nov 2005 14:10:42 -0800 committer David S. Miller Mon, 07 Nov 2005 14:10:42 -0800 [SPARC]: remove duplicate TIOCPKT_ definitions The TIOCPKT_ macros are defined by all other architectures in asm/ioctls.h and so does sparc and sparc64, so reomve the duplicates in asm/termios.h. Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller commit 483772469d4a15d77402c2ac819c80dff9be8421 tree 3eb06f6a5d52da2b5e9ff5b17cdc669cab55fd0f parent fc3214952fac07fef7e102fdd4a18b3d736f33f1 author David S. Miller Mon, 07 Nov 2005 14:10:21 -0800 committer David S. Miller Mon, 07 Nov 2005 14:10:21 -0800 [SUNSU]: Do not mark sunsu_console_setup() __init Sets off buildcheck warnings. Signed-off-by: David S. Miller commit fc3214952fac07fef7e102fdd4a18b3d736f33f1 tree dfdb6ada3bfb930ebd805ef7466e297544dd538e parent 62dbec78be652c28f63ad5eda3d01c244c916040 author David S. Miller Mon, 07 Nov 2005 14:10:10 -0800 committer David S. Miller Mon, 07 Nov 2005 14:10:10 -0800 [SPARC64]: Kill off dummy_tick_ops. It only serves to generate false-positive buildcheck warnings. Just set it initially to tick_operations which uses the v9 %tick register which every sparc64 processor has. Signed-off-by: David S. Miller commit 62dbec78be652c28f63ad5eda3d01c244c916040 tree 2f1e77d3f3a645dd4bfc36ef80bb60a9a2161ad8 parent 4c85ce522fc4bf1b8fcd6255fadc11cfb75773df author David S. Miller Mon, 07 Nov 2005 14:09:58 -0800 committer David S. Miller Mon, 07 Nov 2005 14:09:58 -0800 [SPARC64] mm: Do not flush TLB mm in tlb_finish_mmu() It isn't needed any longer, as noted by Hugh Dickins. We still need the flush routines, due to the one remaining call site in hugetlb_prefault_arch_hook(). That can be eliminated at some later point, however. Signed-off-by: David S. Miller commit 4c85ce522fc4bf1b8fcd6255fadc11cfb75773df tree 31871f37712ef4a7b8034b492ee2b3545710ebb7 parent b128254fdb172eaa3273de24fa6ce405a1f534c9 author David S. Miller Mon, 07 Nov 2005 14:09:44 -0800 committer David S. Miller Mon, 07 Nov 2005 14:09:44 -0800 [SPARC]: Remove bogus register programming in cg6 driver. Don't write garbage into the overlay plane. Noted by Bob Breuer. Signed-off-by: David S. Miller commit b128254fdb172eaa3273de24fa6ce405a1f534c9 tree 3b099bf16fafe78c5fca7b01933bb02353c60aa4 parent dedeb0029b9c83420fc1337d4ee53daa7b2a0ad4 author Georg Chini Mon, 07 Nov 2005 14:09:19 -0800 committer David S. Miller Mon, 07 Nov 2005 14:09:19 -0800 [SPARC]: More abstractions and cleanups of dma handling in cs4231. From: Georg Chini Signed-off-by: David S. Miller commit dedeb0029b9c83420fc1337d4ee53daa7b2a0ad4 tree d87e66e1d6240cd412c20ecbc12f5b810c9807e4 parent b8ae48656db860d4c83a29aa7b0588fc89361935 author Hugh Dickins Mon, 07 Nov 2005 14:09:01 -0800 committer David S. Miller Mon, 07 Nov 2005 14:09:01 -0800 [SPARC64] mm: context switch ptlock sparc64 is unique among architectures in taking the page_table_lock in its context switch (well, cris does too, but erroneously, and it's not yet SMP anyway). This seems to be a private affair between switch_mm and activate_mm, using page_table_lock as a per-mm lock, without any relation to its uses elsewhere. That's fine, but comment it as such; and unlock sooner in switch_mm, more like in activate_mm (preemption is disabled here). There is a block of "if (0)"ed code in smp_flush_tlb_pending which would have liked to rely on the page_table_lock, in switch_mm and elsewhere; but its comment explains how dup_mmap's flush_tlb_mm defeated it. And though that could have been changed at any time over the past few years, now the chance vanishes as we push the page_table_lock downwards, and perhaps split it per page table page. Just delete that block of code. Which leaves the mysterious spin_unlock_wait(&oldmm->page_table_lock) in kernel/fork.c copy_mm. Textual analysis (supported by Nick Piggin) suggests that the comment was written by DaveM, and that it relates to the defeated approach in the sparc64 smp_flush_tlb_pending. Just delete this block too. Signed-off-by: Hugh Dickins Signed-off-by: David S. Miller commit b8ae48656db860d4c83a29aa7b0588fc89361935 tree dbeee0739669c6e77799b5c3a88fa27326647e20 parent 5a820fa7e1a34f12fec4e6766e5c335ae9427028 author Hugh Dickins Mon, 07 Nov 2005 14:08:46 -0800 committer David S. Miller Mon, 07 Nov 2005 14:08:46 -0800 [SPARC64] mm: don't re-evaluate *ptep sparc64 prom_callback and new_setup_frame32 each operates on a user page table without holding lock, and no doubt they've good reason. But I'd feel more confident if they were to do a "pte = *ptep" and then operate on pte, rather than re-evaluating *ptep. Signed-off-by: Hugh Dickins Signed-off-by: David S. Miller commit 5a820fa7e1a34f12fec4e6766e5c335ae9427028 tree f2cf3a0747fd71cc817a6bfe565d73b60370a6b2 parent ee1858d3122dedd2e82a61b6ab56b229aefd9447 author Georg Chini Mon, 07 Nov 2005 14:08:25 -0800 committer David S. Miller Mon, 07 Nov 2005 14:08:25 -0800 [SPARC]: Make SBUS dma code similar to EBUS From: Georg Chini Introduce some sbus_dma routines similar to the ebus_dma stuff to make the code look nearly the same for both cases. Thanks to Christopher for testing. Signed-off-by: David S. Miller commit ee1858d3122dedd2e82a61b6ab56b229aefd9447 tree 2e361b70447cae9c8db9a5b56c7b3d1f60916fbc parent 254ce8dc882f8d69e5d49ed4807c94a61976fb15 author Lars Kotthoff Mon, 07 Nov 2005 14:08:04 -0800 committer David S. Miller Mon, 07 Nov 2005 14:08:04 -0800 [SPARC]: Add sun4m LED driver. This is a forward port of a 2.4.x sun4m LED driver written by Lars Kotthoff. Signed-off-by: Lars Kotthoff Signed-off-by: David S. Miller commit 254ce8dc882f8d69e5d49ed4807c94a61976fb15 tree e45883595406ab36051f30c3dd4f1aa919cea593 parent 89de09a9ba9ce293228b1f1aa3c68b5af33a70ce parent 896937ad5c8a1f7264b43b79c0bac2bd8d993ece author Linus Torvalds Mon, 07 Nov 2005 13:32:52 -0800 committer Linus Torvalds Mon, 07 Nov 2005 13:32:52 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 89de09a9ba9ce293228b1f1aa3c68b5af33a70ce tree a322cc361f13dade2aa84ace8c9278d86e459640 parent dad2ad82c5f058367df79de022bd12d36afcd065 parent f6db449ca312d33045907337b68de1f647cf0730 author Linus Torvalds Mon, 07 Nov 2005 13:32:21 -0800 committer Linus Torvalds Mon, 07 Nov 2005 13:32:21 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit f6db449ca312d33045907337b68de1f647cf0730 tree cd8f22db5e1db97e3020a1218838532a52bff850 parent 5391473f7be88748ec248e0e70f1a4430a03eb52 author Russell King Mon, 07 Nov 2005 21:30:21 +0000 committer Russell King Mon, 07 Nov 2005 21:30:21 +0000 [ARM] Allow SMP if Realview MPcore is selected This patch puts into place the final piece of the puzzle for SMP support on ARM. Signed-off-by: Russell King commit dad2ad82c5f058367df79de022bd12d36afcd065 tree 426a1a6ca8762356b375527768bedc2de0bd25e9 parent 7079060f3e86ea4c1d4e9c1e356592ef9dcaaa1f parent b7fb358c7c36a14927d5523ea674e69f90c51d1d author Linus Torvalds Mon, 07 Nov 2005 13:28:20 -0800 committer Linus Torvalds Mon, 07 Nov 2005 13:28:20 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq commit 7079060f3e86ea4c1d4e9c1e356592ef9dcaaa1f tree d56af89cd433440e3b9c94a830838d34b502e446 parent 3f00d3e8fb963968a922d821a9a53b503b687e81 parent 0a1cc0b6a4abaed5f891d1be3e3d0d7b9b719287 author Linus Torvalds Mon, 07 Nov 2005 13:26:58 -0800 committer Linus Torvalds Mon, 07 Nov 2005 13:26:58 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart commit 896937ad5c8a1f7264b43b79c0bac2bd8d993ece tree 0ef8a66fd172980f01dcf6bd08b293cd931d7e8b parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Uli Luckas Mon, 07 Nov 2005 21:22:07 +0000 committer Russell King Mon, 07 Nov 2005 21:22:07 +0000 [ARM] 3120/1: Fix MMC/SD card driver resume deadlock Patch from Uli Luckas This is a simplification of patch 3116/1 as sugested by Russell King. Signed-off-by: Uli Luckas Signed-off-by: Russell King commit 5391473f7be88748ec248e0e70f1a4430a03eb52 tree 7a44812a4719b2ef7244add23125347251a23ec5 parent bedf142b8bba4331ed93161292a4ce4f8cde7308 author Lennert Buytenhek Mon, 07 Nov 2005 21:12:09 +0000 committer Russell King Mon, 07 Nov 2005 21:12:09 +0000 [ARM] 3121/1: unconditionally use XCB=101 on ixp2000 Patch from Lennert Buytenhek Since we have to use XCB=101 instead of XCB=000 on the ixp2400 to prevent it from regularly falling over, and since we have to deal with manual write buffer flushing because of that, we might as well use XCB=101 on all ixp2000 platforms since it's faster than XCB=000. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit bedf142b8bba4331ed93161292a4ce4f8cde7308 tree cde053618935762e37badb509d191ac006ae197a parent 06c03cac9487555478c7d80065ebf7818bf6fd06 author Lennert Buytenhek Mon, 07 Nov 2005 21:12:08 +0000 committer Russell King Mon, 07 Nov 2005 21:12:08 +0000 [ARM] 3118/1: fix and reenable nwfpe extended precision emulation for big-endian Patch from Lennert Buytenhek nwfpe extended precision emulation used to be broken on big-endian and was therefore disabled. This patch fixes nwfpe so that it copies extended precision floats to/from userspace in the proper word order (similar to patch #2046, see the description of that patch for an explanation) and reenables the Kconfig option. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 06c03cac9487555478c7d80065ebf7818bf6fd06 tree 1a03ff9ae347f40c11d0e3eee790a1b88ff29cc1 parent 862184fe013146a0d9654a5598c5a2691747541c author Lennert Buytenhek Mon, 07 Nov 2005 21:12:07 +0000 committer Russell King Mon, 07 Nov 2005 21:12:07 +0000 [ARM] 3117/1: nwfpe kernel memory info leak Patch from Lennert Buytenhek The routine that nwfpe uses for converting floats/doubles to extended precision fails to zero two bytes of kernel stack. This is not immediately obvious, as the floatx80 structure has 16 bits of implicit padding (by design.) These two bytes are copied to userspace when an stfe is emulated, causing a possible info leak. Make the padding explicit and zero it out in the relevant places. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 862184fe013146a0d9654a5598c5a2691747541c tree 0f3f0d46c79c7eae3d504c0e1be9ff923f1b2e36 parent fea543f47733cc843cd74d95065ed1d4a04b38ed author Russell King Mon, 07 Nov 2005 21:05:42 +0000 committer Russell King Mon, 07 Nov 2005 21:05:42 +0000 [ARM SMP] Add Realview MPcore SMP support Add SMP support for the MPcore tile fitted to the Realview ARM platform. Signed-off-by: Russell King commit fea543f47733cc843cd74d95065ed1d4a04b38ed tree f8a92996e6f35a3cf03d94c7571abe064fd19dd4 parent 9b1283bedd6b8fe2f4dfc47705d6cea1b5e2d853 parent cd03adb0812fe0fb06cdb935e61ec9514254e951 author Russell King Mon, 07 Nov 2005 21:04:24 +0000 committer Russell King Mon, 07 Nov 2005 21:04:24 +0000 Merge with ARM SMP tree commit 9b1283bedd6b8fe2f4dfc47705d6cea1b5e2d853 tree 58f922601d802024338383aba70518b3265e58ce parent 01bbaf0b2b7b38e43139dce8bd64f8c7b2b83940 author Russell King Mon, 07 Nov 2005 21:01:06 +0000 committer Russell King Mon, 07 Nov 2005 21:01:06 +0000 [ARM] Add support for Realview with MPcore tile Add uniprocessor support for Realview platform fitted with the MPcore (SMP) tile. Signed-off-by: Russell King commit 3f00d3e8fb963968a922d821a9a53b503b687e81 tree dfac1c73ae63f8d48340f3bbb77ee53b322c59e9 parent 407cf84f956ee4b52da5508d5357b8ae212ff77c parent a637a114f36b94a1ad8b9867f43bac0414958420 author Linus Torvalds Mon, 07 Nov 2005 11:15:23 -0800 committer Linus Torvalds Mon, 07 Nov 2005 11:15:23 -0800 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus commit 407cf84f956ee4b52da5508d5357b8ae212ff77c tree b3efbcb770e1202b65aee2fe70ea5a407a60e6a5 parent b3ce1debe2685383a9ad6ace9c49869c3968c013 parent 0aeafa77558fc1b44b0f39a4d9e5bd9316420788 author Linus Torvalds Mon, 07 Nov 2005 10:30:33 -0800 committer Linus Torvalds Mon, 07 Nov 2005 10:30:33 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input commit b3ce1debe2685383a9ad6ace9c49869c3968c013 tree dcb606fac467d6ce78a9c608a1e0d2323af44f2b parent 5b2f7ffcb734d3046144dfbd5ac6d76254a9e522 parent c2965f1129ee54afcc4ef293ff0f25fa3a7e7392 author Linus Torvalds Mon, 07 Nov 2005 10:24:08 -0800 committer Linus Torvalds Mon, 07 Nov 2005 10:24:08 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 Some manual fixups for clashing kfree() cleanups etc. commit a637a114f36b94a1ad8b9867f43bac0414958420 tree 3ad9a5c60817c8d0b4e2de30672da706c44ecbfa parent a06d61c648890ad7e86d5ea04bd6999b254db193 author Ladislav Michl Thu, 01 Sep 2005 15:07:34 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:41 +0000 VINO driver version 0.0.5. Second cut of the VINO / Indycam driver for the Silicon Graphics Indy, much more feature complete and bug free. commit a06d61c648890ad7e86d5ea04bd6999b254db193 tree fbbee6503fe3f59bdf8c7df94d5f1c97be36a506 parent 4fa0997be8050ea34f117f813d3aafa7956a5711 author Atsushi Nemoto Sun, 06 Nov 2005 23:58:21 +0900 committer Ralf Baechle Mon, 07 Nov 2005 18:05:40 +0000 Redefine outs[wl] for ide_outs[wl]. Add missing bits to fix D-cache aliasing problem in the PIO IDE driver. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 4fa0997be8050ea34f117f813d3aafa7956a5711 tree 3bd0583d19b7aea383da87b2fc81b1f8796f9420 parent 16cd3951366a013d52006982108437d3343c2fae author Ralf Baechle Mon, 07 Nov 2005 15:36:44 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:40 +0000 Delete duplicate definitions. This reverts 8f91ed6c2fec8cb746e4dc86a79247162b4c5a7a. Signed-off-by: Ralf Baechle commit 16cd3951366a013d52006982108437d3343c2fae tree 95bc91a9d1922e9ded809254f8bb7e525762d2c0 parent 0d959c260e98b6b046d268b5ef5b76caf0026ab2 author Atsushi Nemoto Sat, 05 Nov 2005 23:00:58 +0900 committer Ralf Baechle Mon, 07 Nov 2005 18:05:39 +0000 Fix return type of setup_frame variants Since 2.6.13-rc1 setup_frame and its variants return int. But some bits were missed in the conversion. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 0d959c260e98b6b046d268b5ef5b76caf0026ab2 tree a5e53f7482cecaec5053265e84f7d44640851afd parent a0f08209c685b4f7dccaf013da74e0e80986c477 author Ralf Baechle Sat, 05 Nov 2005 11:26:43 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:39 +0000 IRIX: Use schedule_timeout_interruptible. Signed-off-by: Ralf Baechle commit a0f08209c685b4f7dccaf013da74e0e80986c477 tree 4226fd9fc00daa4db855ba5df0e12e990f55efe6 parent 53c2df2f4ebbc1d8231ca7cc13ac5381230888b1 author Atsushi Nemoto Sat, 05 Nov 2005 02:02:54 +0900 committer Ralf Baechle Mon, 07 Nov 2005 18:05:39 +0000 Define MAX_UDELAY_MS If HZ was 1000, mdelay(2) cause overflow on multiplication in __udelay. We should define MAX_UDELAY_MS properly to prevent this. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 53c2df2f4ebbc1d8231ca7cc13ac5381230888b1 tree a7446ec56dd877d77ef7318b4bcdc3d38555ff0a parent e329331aedeca0f2a7e15bd26a829ee1619c05e0 author Atsushi Nemoto Thu, 03 Nov 2005 01:01:15 +0900 committer Ralf Baechle Mon, 07 Nov 2005 18:05:38 +0000 Use rtc_lock to protect RTC operations Many RTC routines were not protected against each other, so there are potential races, for example, ntp-update against /dev/rtc. This patch fixes them using rtc_lock. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit e329331aedeca0f2a7e15bd26a829ee1619c05e0 tree bce2bb4ecb6b6808e9e4ebb802808e851693fa40 parent 28622795972984359b74aa36f9645c7ca23e460b author Atsushi Nemoto Thu, 03 Nov 2005 01:02:40 +0900 committer Ralf Baechle Mon, 07 Nov 2005 18:05:38 +0000 Remove mips_rtc_lock The mips_rtc_lock is no longer needed because RTC operations should be protected already by other mechanism. (rtc_lock, local_irq_save, etc.) Also, locking whole rtc_get_time/rtc_set_time should be avoided while some RTC routines might take very long time (a few seconds). Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 28622795972984359b74aa36f9645c7ca23e460b tree 1de857e0f01d286bef1bd2c95d0822987c72fcc6 parent 15b96a475706bfac71697a5d2f256750bdf749d3 author Ralf Baechle Mon, 07 Nov 2005 18:05:37 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:37 +0000 Add .gitignore files for Turbochannel commit 15b96a475706bfac71697a5d2f256750bdf749d3 tree b4c6fc78b2427a826aa5c0eb58a3953aae735aba parent 307bd284c205616e02fb85557b97f0e3e969662e author Ralf Baechle Mon, 07 Nov 2005 18:05:37 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:37 +0000 Add .gitignore files for MIPS. commit 307bd284c205616e02fb85557b97f0e3e969662e tree 716a79ba83a86bd841208c4ee4ca70ba590a0ff2 parent b8c2a77ce38defcf539a4ba5c666f8e9f093f887 author Ralf Baechle Mon, 31 Oct 2005 23:34:52 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:36 +0000 VPE loader janitoring o Switch to dynamic major o Remove duplicate SHN_MIPS_SCOMMON definition o Coding style: remove typedefs. o Coding style: reorder to avoid the need for forward declarations o Use kzalloc. Signed-off-by: Ralf Baechle commit b8c2a77ce38defcf539a4ba5c666f8e9f093f887 tree f3f47e61f2a4757eb24a50850733cc83212e3a72 parent 08eaabfce0ba6eef7a0188888cc42f006914273e author Ralf Baechle Mon, 31 Oct 2005 13:08:37 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:36 +0000 PNX8550 uses a MIPS32-like processor core, not R4xx0. Signed-off-by: Ralf Baechle commit 08eaabfce0ba6eef7a0188888cc42f006914273e tree 4b9d1f2a94b4209ec80f2a1f0ff97a99a4f569c6 parent 6a4dea1ddea9d95c165ed15f08fa4e4dbbce9b82 author Ilya A. Volynets-Evenbakh Wed, 26 Oct 2005 15:30:21 -0700 committer Ralf Baechle Mon, 07 Nov 2005 18:05:35 +0000 O2 parport definitions Signed-off-by: Ralf Baechle commit 6a4dea1ddea9d95c165ed15f08fa4e4dbbce9b82 tree 99239dade4d9cac246080edee1779e6cedb09ed1 parent b0c705161f3088d384f755b0d92822a2214cba70 author Adrian Bunk Sun, 30 Oct 2005 02:05:26 +0200 committer Ralf Baechle Mon, 07 Nov 2005 18:05:35 +0000 OSS MIPS drivers: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Ralf Baechle commit b0c705161f3088d384f755b0d92822a2214cba70 tree f16b0bf9e8ee778eec1bfd37c944e436a6ffe175 parent afc4841d8a0118fcce9fd520b21ec1da401603a3 author Ralf Baechle Mon, 31 Oct 2005 00:33:01 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:34 +0000 Add spaces to MODULE_PROC_FAMILY values. Only a cosmetic fix to make the output of modinfo look readable. Signed-off-by: Ralf Baechle commit afc4841d8a0118fcce9fd520b21ec1da401603a3 tree 25e16fdb4c00311e025efcd2ef448a3e97ebba12 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Ralf Baechle Mon, 31 Oct 2005 00:30:39 +0000 committer Ralf Baechle Mon, 07 Nov 2005 18:05:33 +0000 Turn rtlx upside down. o Coding style o Race condition on open o Switch to dynamic major o Header file cleanup Signed-off-by: Ralf Baechle commit 0ad3a96f8ad910ecf87a25ec69ed360b284dee2e tree 12d292fd58fc0f7a3eb56c89dfc23569f3ab6c00 parent f79b348856fbaf77e4a0c5cb08a808e5879967a9 parent 5b2f7ffcb734d3046144dfbd5ac6d76254a9e522 author Tony Luck Mon, 07 Nov 2005 09:05:22 -0800 committer Tony Luck Mon, 07 Nov 2005 09:05:22 -0800 Auto-update from upstream commit 5b2f7ffcb734d3046144dfbd5ac6d76254a9e522 tree 8290f03bcd6af331d7a401282028acfeea37d1de parent 333c47c847c90aaefde8b593054d9344106333b5 parent b7c4a9f83f3c0f6f2a2750a389a9b758c3d9e9d2 author Linus Torvalds Mon, 07 Nov 2005 09:01:32 -0800 committer Linus Torvalds Mon, 07 Nov 2005 09:01:32 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/bunk/trivial commit 333c47c847c90aaefde8b593054d9344106333b5 tree a4aec7b18ffe8d8dd88e027e5e4d84b2d838fe8a parent 8f0cb147b2fb12427bf6abef7fed2b604557a41e parent c6ea2ba7b8acdb6c4a883b2d38607c8078dff4ee author Linus Torvalds Mon, 07 Nov 2005 08:32:39 -0800 committer Linus Torvalds Mon, 07 Nov 2005 08:32:39 -0800 Merge branch 'block-dir' of git://brick.kernel.dk/data/git/linux-2.6-block commit 8f0cb147b2fb12427bf6abef7fed2b604557a41e tree fb5ba437ee74b900fab9686c8c7df18abcd7640b parent 8e33ba49765484bc6de3a2f8143733713fa93bc1 parent b00e8443c3eece823052d06ae1c7cb797ab0ddf5 author Linus Torvalds Mon, 07 Nov 2005 08:09:02 -0800 committer Linus Torvalds Mon, 07 Nov 2005 08:09:02 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa commit 8e33ba49765484bc6de3a2f8143733713fa93bc1 tree 2ea080e478e4ee86a893b75db2d5c81ce14cbf10 parent 8cde0776ec1e86c270f65bf482f96288e6bf0023 parent 2d43f1128a4282fbe8442f40b4cbbac05d8f10aa author Linus Torvalds Mon, 07 Nov 2005 08:05:11 -0800 committer Linus Torvalds Mon, 07 Nov 2005 08:05:11 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6 commit 8cde0776ec1e86c270f65bf482f96288e6bf0023 tree 6350a8d67bea7bcdcbd1705a54f1b8e409a28775 parent 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c parent b78612b796b0d6cdfba553d456eff008278830e3 author Linus Torvalds Mon, 07 Nov 2005 08:04:01 -0800 committer Linus Torvalds Mon, 07 Nov 2005 08:04:01 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 2ed5e6d09e266bd2288d49aaaf240ed8c468c13c tree 4cd700790fbaf7709dd3218970e457927759738d parent 562d2f8ce4e463e1427ddfab5e84440323856f43 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:47 -0800 [PATCH] m68knommu: move some platform irq support out of irq.h Move some of the m68knommu platform specific irq core support to its own header, irqnode.h. Having it in asm-m68knommu/irq.h causes some build pain, since it is included in a number of common code places (and not all the required definitions will be included at these places). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 562d2f8ce4e463e1427ddfab5e84440323856f43 tree df5807fb8521eb4f7a70820cb3293f1c19ef8764 parent 7a77d918ad8fb152312525b70780f6e0052b3ee3 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:47 -0800 [PATCH] m68knommu: FEC ethernet support for the ColdFire 5208 Add support for the new 5208 ColdFire (Matt Waddel / Mike Lavender) Patch originally from Matt Waddel (from code originally written by Mike Lavender). I also re-ordered the init code to avoid interrupt lockups on some platforms (at least the 5275, but others have reported it on the 5235 as well). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7a77d918ad8fb152312525b70780f6e0052b3ee3 tree 878ed7a5d1794ff7f986b42204322e1bcf13ff7c parent 3dead1a36069e0697a22ab9d623ac2c37247dfd0 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:47 -0800 [PATCH] m68knommu: FEC ethernet header support for the ColdFire 5208 Add support for the new 5208 ColdFire in the FEC ethernet header. Patch originally from Matt Waddel (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 3dead1a36069e0697a22ab9d623ac2c37247dfd0 tree be1626e8cf8f98b2609b1f674976c3e772ff4b04 parent 4e51f674588009163d70a650bf7bc2a2e914ef89 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:47 -0800 [PATCH] m68knommu: enable cache support code for ColdFIre 5249 Enable the ColdFire 5249 cache support code - it should have been on. Also one more change of "extern inline" to "static inline". Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 4e51f674588009163d70a650bf7bc2a2e914ef89 tree 5d1a9fee1299f38ad308b427e6d0469c16fe3401 parent 7f04d62b51828fa3d1dee9fd1ea7f37815595bfa author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:47 -0800 [PATCH] m68knommu: add ColdFire 5208 configure support Added support for the new Freescale 5208 ColdFire processor. Also changed name "Motorola" to new company name "Freescale". Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7f04d62b51828fa3d1dee9fd1ea7f37815595bfa tree c3b06bcefd4d7c086de2fa60d412f3b335ce3706 parent 124df2df0c905b8762cd860a0e3fc9201fba8777 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] m68knommu: add 5208 ColdFire UART support to ColdFire serial driver Add support for the Freescale 5208 processor UART's to the common ColdFire serial port code. Patch originally from Matt Waddel (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 124df2df0c905b8762cd860a0e3fc9201fba8777 tree 9b0b97138b85f44aff7dc4d0c36469341074d45b parent 5b3d98bb7f2842551bf3dc76ade09826d70a1cbe author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] m68knommu: align param section and add 5208EVB linker support Align the param section. It can end up starting on an unalingned boundary depending on the size of ksymtab_strings. If it is unaligned things like modules will fail to load with unaligned access traps. Add linker scipt support for the M5208EVB board. Patch originally from Matt Waddel. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 5b3d98bb7f2842551bf3dc76ade09826d70a1cbe tree 2f599761c94178f87d87b0d2f9326e06dc84c8f2 parent f15bf19b49854c984c27209bd4ade31a9c84f4de author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] m68knommu: handle non base address 0 memory of M5208EVB board The Freescale M5208EVB ColdFire eval board is one of the few that doesn't have its DRAM based at address 0. Handle this special case in the common ColdFire startup code. Patch originally from Matt Waddel. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit f15bf19b49854c984c27209bd4ade31a9c84f4de tree f59e5b4fa5659749110800239e1f73cb9b8f35d2 parent 88a605b02449852213a46f8a8ab760cfc5b9b7c8 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] m68knommu: modify the ColdFire PIT timer for new 5208 Modified common ColdFire PIT timer code to support the 5208 as well. It uses a different set of mask and interrupt bits than other ColdFire processors. The defines for these bits have been moved in header files and set appropriately for the different processor varients. Patch originally from Matt Waddel. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 88a605b02449852213a46f8a8ab760cfc5b9b7c8 tree 8d1fdd905120aeed05697c77c92ac7d31e2dd158 parent 9ed8a0d6c80bce78c703c85fa2f15db277fde933 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] m68knommu: platform config code for 5208 ColdFire Platform configuration code for the Freescale 5208 ColdFire processor. Patch originally from Matt Waddel (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 9ed8a0d6c80bce78c703c85fa2f15db277fde933 tree 1e42168ec5a3d5c31ffd91a9a490d70de636400f parent 8766af935f3f018ec4fd420644360643838ec323 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] m68knommu: add ColdFire 5208 and M5208EVB build support Add build support for the new Freescale 5208 ColdFire processor, and its M5208EVB eval board. Patch originally from Matt Waddel. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 8766af935f3f018ec4fd420644360643838ec323 tree 2c6c07bf6acc1fe68782608ec116b76a38385a8f parent 3aec6fe2a24067ffeb2e7641bd9dd18e41654842 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] check for failed kmalloc in inftlmount.c The INFTL mount code contains a kmalloc() followed by a memset() without handling a possible memory allocation failure. Signed-off-by: Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 3aec6fe2a24067ffeb2e7641bd9dd18e41654842 tree 790f4022b0e38df4b1d43bb67a3be9139c441a14 parent 9c899990ba94d5d6df25ef868aa7d5249653868c author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] m68knommu: use the ColdFire PIT timer for new 5208 The Freescale 5208 ColdFire uses the common PIT timer code for its internal timer. Build it when configured for the 5208 processor. Add support for the internal register map of the 5208 ColdFire fmaily. Patch originally from Matt Waddel (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 9c899990ba94d5d6df25ef868aa7d5249653868c tree fcbb0ac9dcaa53f63b64f6b8eebd5c074dc318d8 parent 54b03d133b63223e3c358f882a935d9a244ed852 author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:46 -0800 [PATCH] m68knommu: add 5208 ColdFire platform Makefile Add Freescale 5208 ColdFire platform Makefile. Patch originally from Matt Waddel (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 54b03d133b63223e3c358f882a935d9a244ed852 tree 05f972e52d63cbe081f7cf305ec2424319a459ce parent b0020e3f526cdbb2eb9408bc1b12171b3b91625b author Greg Ungerer Mon, 07 Nov 2005 14:09:50 +1000 committer Linus Torvalds Mon, 07 Nov 2005 08:00:45 -0800 [PATCH] m68knommu: add ColdFire 5208 setup support Add setup support for the new Freescale 5208 ColdFire processor. (Also fixed a little typo in there, "UNKOWN" -> "UNKNOWN"). Patch originally from Matt Waddel (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b0020e3f526cdbb2eb9408bc1b12171b3b91625b tree 19945e9a207728da08998bff90427cb94d2c1b01 parent b449f63c8ce4a517cb91f237cc3d68d083ec2dd3 author Andrew Morton Mon, 07 Nov 2005 01:01:49 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:09 -0800 [PATCH] max1619 fix Something horrid has happened to the indenting and braces in this function, producing a warning: drivers/hwmon/max1619.c: In function `max1619_detect': drivers/hwmon/max1619.c:196: warning: `man_id' might be used uninitialized in this function drivers/hwmon/max1619.c:196: warning: `chip_id' might be used uninitialized in this function Acked-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b449f63c8ce4a517cb91f237cc3d68d083ec2dd3 tree 3d00143e3114f5f044c174df519378bc47dcd4ea parent 5fed0578be842dd7d24e5240a75b02bbc748501f author Adrian Bunk Mon, 07 Nov 2005 01:01:48 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:09 -0800 [PATCH] drivers/pnp/: cleanups This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global function: - core.c: pnp_remove_device - #if 0 the following unneeded EXPORT_SYMBOL's: - card.c: pnp_add_card - card.c: pnp_remove_card - card.c: pnp_add_card_device - card.c: pnp_remove_card_device - card.c: pnp_add_card_id - core.c: pnp_register_protocol - core.c: pnp_unregister_protocol - core.c: pnp_add_device - core.c: pnp_remove_device - pnpacpi/core.c: pnpacpi_protocol - driver.c: pnp_add_id - isapnp/core.c: isapnp_read_byte - manager.c: pnp_auto_config_dev - resource.c: pnp_register_dependent_option - resource.c: pnp_register_independent_option - resource.c: pnp_register_irq_resource - resource.c: pnp_register_dma_resource - resource.c: pnp_register_port_resource - resource.c: pnp_register_mem_resource Note that this patch #if 0's exactly one functions and removes no functions. Most it does is the #if 0 of EXPORT_SYMBOL's, so if any modular code will use any of them, re-adding will be trivial. Modular ISAPnP might be interesting in some cases, but this is more legacy code. If someone would work on it to sort all the issues out (starting with the point that most users of __ISAPNP__ will have to be fixed) re-enabling the required EXPORT_SYMBOL's won't be hard for him. Signed-off-by: Adrian Bunk Cc: Adam Belay Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fed0578be842dd7d24e5240a75b02bbc748501f tree a060cc253d68539ff0a533a58f8c993abb404669 parent 233c1234d36cd6f0a38d524f0655c7eca27113e4 author Adrian Bunk Mon, 07 Nov 2005 01:01:46 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:09 -0800 [PATCH] unexport phys_proc_id and cpu_core_id EXPORT_SYMBOL's for phys_proc_id and cpu_core_id were added this year but never used. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 233c1234d36cd6f0a38d524f0655c7eca27113e4 tree a0f99d601c7a4a249ece6212c21a51faf95da1ad parent 59fee5fa4162d567c2a3c48bb40f74b94952b545 author Adrian Bunk Mon, 07 Nov 2005 01:01:46 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:09 -0800 [PATCH] fs/super.c: unexport user_get_super There's no modular usage in the kernel and modules shouldn't use this symbol. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59fee5fa4162d567c2a3c48bb40f74b94952b545 tree f924c7bf8616d2a4d737dc0bfc7e46ca00adf40f parent dfed04492f2459e47dcb290be6ed5a8bc37096d5 author Adrian Bunk Mon, 07 Nov 2005 01:01:45 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:08 -0800 [PATCH] sound/oss/sequencer_syms: unexport reprogram_timer This patch remoes an unneeded EXPORT_SYMBOL. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfed04492f2459e47dcb290be6ed5a8bc37096d5 tree 10b2b90d2fd270d86f381a06e535736ea7c16792 parent 24622efd11fc5ee569b008b9f89e5e268265811b author Adrian Bunk Mon, 07 Nov 2005 01:01:44 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:08 -0800 [PATCH] __deprecated_for_modules: panic_timeout This looks like something which out-of-tree code could possibly be using. Give panic_timeout the twelve-month treatment. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24622efd11fc5ee569b008b9f89e5e268265811b tree 5a477b1d75d13f26d0708e7279dbabd5e156624e parent b26b9bc58263acda274f82a9dde8b6d96559878a author Adrian Bunk Mon, 07 Nov 2005 01:01:44 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:07 -0800 [PATCH] __deprecated_for_modules: insert_resource This looks like something which out-of-tree code could possibly be using. Give insert_resource the twelve-month treatment. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b26b9bc58263acda274f82a9dde8b6d96559878a tree edbd7974e2287db0b794b1221e6f294405c7e8d9 parent 4664957b8ec78533f542900cecf7c38fbdc0d8da author Adrian Bunk Mon, 07 Nov 2005 01:01:43 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:07 -0800 [PATCH] unexport uts_sem I didn't find any possible modular usage in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4664957b8ec78533f542900cecf7c38fbdc0d8da tree 57b34a69db7d00b35ff358d83bff50a0ebbb82ea parent 4936967374c1ad0eb3b734f24875e2484c3786cc author Adrian Bunk Mon, 07 Nov 2005 01:01:42 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:07 -0800 [PATCH] unexport idle_cpu I didn't find any possible modular usage in the kernel. Signed-off-by: Adrian Bunk Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4936967374c1ad0eb3b734f24875e2484c3786cc tree 99d7edc8c2730d68ca4b4ef7ee26b8401667b521 parent e2de225710b0f7480c29700bf93326b078657db8 author Adrian Bunk Mon, 07 Nov 2005 01:01:41 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:07 -0800 [PATCH] mm/swap_state.c: unexport swapper_space I didn't find any possible modular usage in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2de225710b0f7480c29700bf93326b078657db8 tree d2c0ea62f9a5c0c8f262633af2d2e5a7745e651b parent 1b09d16489f831bfc23d1c7311ee331b0680e90e author Adrian Bunk Mon, 07 Nov 2005 01:01:41 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:07 -0800 [PATCH] mm/swapfile.c: unexport total_swap_pages I didn't find any possible modular usage in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b09d16489f831bfc23d1c7311ee331b0680e90e tree 999528c9e6b6686bb008d6a683aab3527892fa61 parent 47bdfb96de47d25bea423b5adbfe1c2e1ceaa296 author Adrian Bunk Mon, 07 Nov 2005 01:01:40 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:07 -0800 [PATCH] mm/swap.c: unexport vm_acct_memory I didn't find any possible modular usage in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47bdfb96de47d25bea423b5adbfe1c2e1ceaa296 tree 15db7aa7828eecb91142a5dd98cd5e97e1a1114a parent f8b8db77b0cc36670ef4ed6bc31e64537ffa197e author Adrian Bunk Mon, 07 Nov 2005 01:01:39 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:07 -0800 [PATCH] unexport console_unblank I didn't find any possible modular usage of console_unblank in the kernel. This patch was already ACK'ed by Alan Cox. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8b8db77b0cc36670ef4ed6bc31e64537ffa197e tree a55807b704a7120722d3903ec92c3d393b33f87d parent e6a7e0e7cee3d4bc9a9d2f82ef2f9de4687a5656 author Adrian Bunk Mon, 07 Nov 2005 01:01:39 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:07 -0800 [PATCH] unexport nr_swap_pages I didn't find any possible modular usage in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6a7e0e7cee3d4bc9a9d2f82ef2f9de4687a5656 tree a9f5fcf248676f96517bae6216f5a4c9809bcb84 parent 99697dc02d2c1e8234c88d4256879d080483a57a author Adrian Bunk Mon, 07 Nov 2005 01:01:38 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:06 -0800 [PATCH] unexport clear_page_dirty_for_io I didn't find any possible modular usage in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99697dc02d2c1e8234c88d4256879d080483a57a tree 26893c01e209eac31cda3c7137e26b1f127a5ed8 parent 55be570c529643e83195d6688805127533184aa4 author Adrian Bunk Mon, 07 Nov 2005 01:01:37 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:06 -0800 [PATCH] unexport hugetlb_total_pages I didn't find any possible modular usage in the kernel. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55be570c529643e83195d6688805127533184aa4 tree ab5789c467842e1d056f36d75ab8c73ddcce935f parent a7f988ba304c5f6e78f937a06d120a0097b4d351 author Adrian Bunk Mon, 07 Nov 2005 01:01:37 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:06 -0800 [PATCH] mm/{mmap,nommu}.c: several unexports I didn't find any possible modular usage in the kernel. This patch was already ACK'ed by Christoph Hellwig. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7f988ba304c5f6e78f937a06d120a0097b4d351 tree 7a19e078e12ff093fa7daa3ea207a8e442ebf0c7 parent b2325fe1b7e5654fac9e9419423aa2c58a3dbd83 author Jesper Juhl Mon, 07 Nov 2005 01:01:35 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:06 -0800 [PATCH] kfree cleanup: security This is the security/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in security/. Signed-off-by: Jesper Juhl Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2325fe1b7e5654fac9e9419423aa2c58a3dbd83 tree 934555b25ef9b33d3c4242b5dafb49ee8931e993 parent f99d49adf527fa6f7a9c42257fa76bca6b8df1e3 author Jesper Juhl Mon, 07 Nov 2005 01:01:35 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:06 -0800 [PATCH] kfree cleanup: arch This is the arch/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in arch/. Signed-off-by: Jesper Juhl Acked-by: Grant Grundler Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f99d49adf527fa6f7a9c42257fa76bca6b8df1e3 tree 41dddbc336016f9dc9557cdb15300de5e599dac1 parent 6044ec8882c726e325017bd948aa0cd94ad33abc author Jesper Juhl Mon, 07 Nov 2005 01:01:34 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:06 -0800 [PATCH] kfree cleanup: fs This is the fs/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in fs/. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6044ec8882c726e325017bd948aa0cd94ad33abc tree 3bfc5dc93434e8ad556540f6689abcd2699aa45d parent 2ea7533060e361810c21b2f5ee02151c4dfb85d8 author Jesper Juhl Mon, 07 Nov 2005 01:01:32 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:05 -0800 [PATCH] kfree cleanup: misc remaining drivers This is the remaining misc drivers/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in misc files in drivers/. Signed-off-by: Jesper Juhl Acked-by: Aristeu Sergio Rozanski Filho Acked-by: Roland Dreier Acked-by: Pierre Ossman Acked-by: Jean Delvare Acked-by: Greg Kroah-Hartman Acked-by: Len Brown Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ea7533060e361810c21b2f5ee02151c4dfb85d8 tree 9d8a5375c716879142dff583dfa6abddd79fefcc parent 17fd682e544556a2a829e94383239c029bb21c5e author Jesper Juhl Mon, 07 Nov 2005 01:01:31 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:04 -0800 [PATCH] kfree cleanup: drivers/media This is the drivers/media/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in drivers/media/. Signed-off-by: Jesper Juhl Cc: Johannes Stezenbach Cc: Michael Krufky Cc: Mauro Carvalho Chehab Acked-by : Manu Abraham Acked-by: Andreas Oberritter Acked-by: Wilson Michaels Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17fd682e544556a2a829e94383239c029bb21c5e tree 4b78bdd36efdbf9fb2c4c11382ed88898ceec48c parent 3c7208f253571ee5f157b98f0e315b5172afe092 author Jesper Juhl Mon, 07 Nov 2005 01:01:30 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:03 -0800 [PATCH] kfree cleanup: drivers/s390 This is the drivers/s390/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in drivers/s390/. Signed-off-by: Jesper Juhl Acked-by: Cornelia Huck Acked-by: Stefan Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c7208f253571ee5f157b98f0e315b5172afe092 tree e4c29817e4c097d8de9ef025b600d753d06a155e parent 735d5661d5c5f023a78fbe68e771e261040ff1b7 author Jesper Juhl Mon, 07 Nov 2005 01:01:29 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:02 -0800 [PATCH] kfree cleanup: drivers/isdn This is the drivers/isdn/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in drivers/isdn/. Signed-off-by: Jesper Juhl Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 735d5661d5c5f023a78fbe68e771e261040ff1b7 tree b9865f0322d8e74661639f5f33b1897b23004659 parent fa671646f61182cd18234461a6e65f50c6558695 author Jesper Juhl Mon, 07 Nov 2005 01:01:29 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:02 -0800 [PATCH] kfree cleanup: drivers/char This is the drivers/char/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in drivers/char/. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa671646f61182cd18234461a6e65f50c6558695 tree 79d5fe8cbfdf9670456538837e60c695e6875006 parent c9475cb0c358ff0dd473544280d92482df491913 author Jesper Juhl Mon, 07 Nov 2005 01:01:27 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:02 -0800 [PATCH] kfree cleanup: drivers/mtd This is the drivers/mtd part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in drivers/mtd/. Signed-off-by: Jesper Juhl Cc: David Woodhouse Acked-by: Joern Engel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9475cb0c358ff0dd473544280d92482df491913 tree 091617d0bdab9273d44139c86af21b7540e6d9b1 parent 089b1dbbde28f0f641c20beabba28fa89ab4fab9 author Jesper Juhl Mon, 07 Nov 2005 01:01:26 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:01 -0800 [PATCH] kfree cleanup: drivers/scsi This is the drivers/scsi/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in drivers/scsi/. Signed-off-by: Jesper Juhl Cc: James Bottomley Acked-by: Kai Makisara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 089b1dbbde28f0f641c20beabba28fa89ab4fab9 tree d95a59688897569f2aa875ec5a9576caaedfc2cc parent f5e3c2faa20615e900ab26bd957f898400435924 author Deepak Saxena Mon, 07 Nov 2005 01:01:26 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:00 -0800 [PATCH] bluetooth: kmalloc + memset -> kzalloc conversion Signed-off-by: Deepak Saxena Cc: Marcel Holtmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5e3c2faa20615e900ab26bd957f898400435924 tree d3dd4c93539f155e3fd4ef18ae9cfe482ed1b340 parent 9c2153844d72ac92b6da0ee42f7f81fb0aa91f8a author Deepak Saxena Mon, 07 Nov 2005 01:01:25 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:00 -0800 [PATCH] ide: kmalloc + memset -> kzalloc conversion Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c2153844d72ac92b6da0ee42f7f81fb0aa91f8a tree 77da7b9ea21ae365273973a20c1cec349c570f22 parent 49d0c6039dd36791cad36624e68bce5fe011bf12 author Deepak Saxena Mon, 07 Nov 2005 01:01:24 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:54:00 -0800 [PATCH] drivers/firmware: kmalloc + memset -> kzalloc conversion Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49d0c6039dd36791cad36624e68bce5fe011bf12 tree 1d116c902e5950fdb36f97691fdce421850bb91a parent 8ac5436ced2fd4eab3abe7cbc6d5a29881fa9ccb author Deepak Saxena Mon, 07 Nov 2005 01:01:24 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:59 -0800 [PATCH] drivers/fc4: kmalloc + memset -> kzalloc conversion Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ac5436ced2fd4eab3abe7cbc6d5a29881fa9ccb tree bed9b23d965120597cd16461b1502c07a24c0a9c parent e66860cbda4a1880fa379bee17d6ab926e5cc58e author Deepak Saxena Mon, 07 Nov 2005 01:01:23 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:59 -0800 [PATCH] drivers/eisa: kmalloc + memset -> kzalloc conversion Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e66860cbda4a1880fa379bee17d6ab926e5cc58e tree 0a229d687207384027aea9a19a92c143b755964d parent 5c857eeb0c18adaa7432afb519db066a6349687f author Deepak Saxena Mon, 07 Nov 2005 01:01:22 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:59 -0800 [PATCH] drivers/dio: kmalloc + memset -> kzalloc conversion Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c857eeb0c18adaa7432afb519db066a6349687f tree 2f4675ff1f3fc076ee8fa69cd5a78542d0c0a045 parent 3c76bc5bfda308aa42d5f42fde8dc1931e45e8a6 author Deepak Saxena Mon, 07 Nov 2005 01:01:22 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:59 -0800 [PATCH] drivers/cdrom: kmalloc + memset -> kzalloc conversion Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c76bc5bfda308aa42d5f42fde8dc1931e45e8a6 tree 2fd0ff833d85e68d50676cb74d3aef9be4f74ccf parent a9a3047dd8ae43ff24caae5ec733a93df129568e author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:21 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:59 -0800 [PATCH] serial: fix-up schedule_timeout() usage Use schedule_timeout_uninterruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9a3047dd8ae43ff24caae5ec733a93df129568e tree c69433a7a4a5f43ecb440e173284026b0d42d9fe parent 6521018d4bf9522b4de47254ea15e8c1be1ec00f author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:20 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:59 -0800 [PATCH] drivers/scsi: fix-up schedule_timeout() usage Use schedule_timeout_uninterruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6521018d4bf9522b4de47254ea15e8c1be1ec00f tree 352f6b9cc56018c584042c44502288599aed60ca parent 8b93ec77a6423cc57189561567ee41fa7fa1f5b6 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:19 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:57 -0800 [PATCH] message: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: "Moore, Eric Dean" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b93ec77a6423cc57189561567ee41fa7fa1f5b6 tree de91b3ab250edaa7b1315b463a4b45d49c099568 parent 66c006a55137cc51f8761549e2024a7593180d27 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:18 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:57 -0800 [PATCH] drivers/media: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66c006a55137cc51f8761549e2024a7593180d27 tree 54105f14cc79245f78641e6adb908ff59078e420 parent 12621a163b78d775a95dea60357bc90e58e1a3aa author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:17 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:57 -0800 [PATCH] drivers/md: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12621a163b78d775a95dea60357bc90e58e1a3aa tree fc06cefe67db4e54f737393b420b7b0529608d5b parent 24763c48a3c9cdf0a138038b51a7fca65859cd78 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:17 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:57 -0800 [PATCH] drivers/macintosh: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24763c48a3c9cdf0a138038b51a7fca65859cd78 tree 01fcb4658b6bf2df08f0d48ef0f58ea215621e63 parent 4de4ebc6d83de6d9739fa24e49ae4a305d5d1268 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:16 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:57 -0800 [PATCH] isdn: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4de4ebc6d83de6d9739fa24e49ae4a305d5d1268 tree c2dbf316696ca64ca08b6227e5b9b8fec58934c9 parent 01a527ec7c62efea601a39f0cd8e6a8517259014 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:15 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:57 -0800 [PATCH] ieee1394: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01a527ec7c62efea601a39f0cd8e6a8517259014 tree 153c92030c0d77b7c4a38fd978ad9f089b14df92 parent bc874d174b224c016adac85fc9dd6da1161ffc57 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:14 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:56 -0800 [PATCH] drivers/acpi: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use msecs_to_jiffies() instead of direct HZ division to avoid rounding errors. Signed-off-by: Nishanth Aravamudan Cc: "Brown, Len" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc874d174b224c016adac85fc9dd6da1161ffc57 tree 4f0f14a1936cb976dec527c977e529660388dc91 parent 8f09f4a25a927080e1fa1331735c3d1b5664866b author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:14 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:56 -0800 [PATCH] um: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f09f4a25a927080e1fa1331735c3d1b5664866b tree 976ed857b88e3dced0bf277f50fd4c8d371fe885 parent 28faa4298ec069d1de4f54597f963be8ef35e706 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:13 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:56 -0800 [PATCH] ppc: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use human-time conversion functions instead of hard-coded HZ division to avoid rounding errors. Signed-off-by: Nishanth Aravamudan Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28faa4298ec069d1de4f54597f963be8ef35e706 tree c8b1bfd85c7e24247a7b7ce5cb872a470f284d37 parent 9e173c031a7542b1f66b6da853772e5de1804399 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:12 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:56 -0800 [PATCH] m68k: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e173c031a7542b1f66b6da853772e5de1804399 tree 236423f6922011d3a5e9bb9ff8286d2cc1e8bf02 parent d44e0780bcc47c9b8851099c0dfc1dda3c9db5a9 author Nishanth Aravamudan Mon, 07 Nov 2005 01:01:11 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:56 -0800 [PATCH] ia64: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d44e0780bcc47c9b8851099c0dfc1dda3c9db5a9 tree eb672239ab94d3c66485ceeae41e5579e8baf192 parent 7f46a240b0a1797eb641c046d445f026563463d4 author Randy Dunlap Mon, 07 Nov 2005 01:01:10 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:56 -0800 [PATCH] kernel-doc: fix warnings in vmalloc.c Fix new kernel-doc errors in vmalloc.c. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f46a240b0a1797eb641c046d445f026563463d4 tree f45cc4bccb355b147b2bbf8b0c329b71466aeed5 parent cbf8f0f36a2339f87b9dabbbd301ffd86744620c author Rob Landley Mon, 07 Nov 2005 01:01:09 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:56 -0800 [PATCH] ramfs, rootfs, and initramfs docs Docs for ramfs, rootfs, and initramfs. Signed-off-by: Rob Landley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cbf8f0f36a2339f87b9dabbbd301ffd86744620c tree 5b4e307a5c39cf17d08fb650d1c3d0fa78d52df0 parent cc7d1f8f96a4d048b56edb22e8c5b0f2c2bd7549 author Pekka Enberg Mon, 07 Nov 2005 01:01:09 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:56 -0800 [PATCH] VFS: split dentry locking documentation This patch splits dentry locking documentation from Documentation/filesystems/vfs.txt to a separate file. The dentry locking bits are useful but do not fit into the VFS overview document as is. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc7d1f8f96a4d048b56edb22e8c5b0f2c2bd7549 tree 7c371f17dceb502b550107421f2351031d44067b parent b8887e6e8c04bcefb512cdb08fc7e9c310ac847e author Pekka Enberg Mon, 07 Nov 2005 01:01:08 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:55 -0800 [PATCH] VFS: update overview document This patch updates the Documentation/filesystems/vfs.txt document. I rearranged and rewrote parts of the introduction chapter and added better headings for each section. I also added a description for the inode rename() operation which was missing and added links to some useful external VFS documentation. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8887e6e8c04bcefb512cdb08fc7e9c310ac847e tree f8dcfee2314ad0c1998e70449fdd814e675cf90a parent 1e5d533142c1c178a31d4cc81837eb078f9269bc author Randy Dunlap Mon, 07 Nov 2005 01:01:07 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:55 -0800 [PATCH] kernel-docs: fix kernel-doc format problems Convert to proper kernel-doc format. Some have extra blank lines (not allowed immed. after the function name) or need blank lines (after all parameters). Function summary must be only one line. Colon (":") in a function description does weird things (causes kernel-doc to think that it's a new section head sadly). Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e5d533142c1c178a31d4cc81837eb078f9269bc tree 7708cc8667035ad7903f3c2c617a54240f2d6e77 parent 8a0d4900697f2d615a77cd99585e743c1af555a3 author Randy Dunlap Mon, 07 Nov 2005 01:01:06 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:55 -0800 [PATCH] more kernel-doc cleanups, additions Various core kernel-doc cleanups: - add missing function parameters in ipc, irq/manage, kernel/sys, kernel/sysctl, and mm/slab; - move description to just above function for kernel_restart() Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a0d4900697f2d615a77cd99585e743c1af555a3 tree 6b8a6affe8b79df52781199cd84a4d98adf2564d parent 8f2709b542c96a2b1910ca5f2fe27dc9023b1225 author Randy Dunlap Mon, 07 Nov 2005 01:01:06 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:55 -0800 [PATCH] Doc/hpet.txt: change to < 80 columns Put text into < 80 columns. No other changes. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f2709b542c96a2b1910ca5f2fe27dc9023b1225 tree 2c1b38ee2b0f203322f01e2816644d16b63a71f1 parent 6c8bec6d5f24b01c53b792b06a645e78d482020d author Randy Dunlap Mon, 07 Nov 2005 01:01:05 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:55 -0800 [PATCH] kernel-doc: fix some kernel-api warnings Fix various warnings in kernel-doc: Warning(linux-2614-rc4//include/linux/net.h:89): Enum value 'SOCK_DCCP' not described in enum 'sock_type' usercopy.c: should use !E instead of !I for exported symbols: Warning(linux-2614-rc4//arch/i386/lib/usercopy.c): no structured comments found fs.h does not need to use !E since it has no exported symbols: Warning(linux-2614-rc4//include/linux/fs.h:1182): No description found for parameter 'find_exported_dentry' Warning(linux-2614-rc4//include/linux/fs.h): no structured comments found irq/manage.c should use !E for its exported symbols: Warning(linux-2614-rc4//kernel/irq/manage.c): no structured comments found macmodes.c should use !E for its exported symbols: Warning(linux-2614-rc4//drivers/video/macmodes.c): no structured comments found Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c8bec6d5f24b01c53b792b06a645e78d482020d tree d394d7d77087c02f84f84a27d3e9933d9c096bed parent 2500e7abc8f606d87b2590f205dac080640b6b04 author Randy Dunlap Mon, 07 Nov 2005 01:01:04 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:55 -0800 [PATCH] jbd doc: fix some kernel-doc warnings Add structure fields kernel-doc for 2 fields in struct journal_s. Warning(/var/linsrc/linux-2614-rc4//include/linux/jbd.h:808): No description found for parameter 'j_wbuf' Warning(/var/linsrc/linux-2614-rc4//include/linux/jbd.h:808): No description found for parameter 'j_wbufsize' Convert fs/jbd/recovery.c non-static functions to kernel-doc format. fs/jbd/recovery.c doesn't export any symbols, so it should use !I instead of !E to eliminate this warning message: Warning(/var/linsrc/linux-2614-rc4//fs/jbd/recovery.c): no structured comments found Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2500e7abc8f606d87b2590f205dac080640b6b04 tree bb01a1f147360ef22b9a67e9ba8d552e40441a66 parent 62a07e6e9e93eda88a6eeb5009fc46d44ca60281 author Randy Dunlap Mon, 07 Nov 2005 01:01:03 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:55 -0800 [PATCH] Doc/MSI-HOWTO: cleanups Clean up typos, kernel function interfaces, acronyms, add whitespace, improve readability. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62a07e6e9e93eda88a6eeb5009fc46d44ca60281 tree 6e5a0891a46b1d9864d5591a5961c63e1b818bea parent 55032eacdb3acf54f5ba2e4dd9205db2c5c0bce2 author Jesper Juhl Mon, 07 Nov 2005 01:01:03 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:54 -0800 [PATCH] ksymoops related docs update Update ksymoops related documentation to reflect current 2.6 reality. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55032eacdb3acf54f5ba2e4dd9205db2c5c0bce2 tree 783ff455a7269ba9e1bc4fde3b08cfe8c647e109 parent 411f11405c99141233970c98d23d6a5ec88a4f7f author Alexey Dobriyan Mon, 07 Nov 2005 01:01:02 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:54 -0800 [PATCH] Documentation/sparse.txt: mention CF=-Wbitwise Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 411f11405c99141233970c98d23d6a5ec88a4f7f tree afad7a5170c5a68a66fca4277fcbd2b20a0a2cc2 parent f73195ad7e68fb4e546350222d31e19ebc1d3578 author Paolo 'Blaisorblade' Giarrusso Mon, 07 Nov 2005 01:01:01 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:54 -0800 [PATCH] Fix dm-snapshot tutorial in Documentation I've recently added this documentation, Alasdair gave some corrections, and here are some further corrections on top of his work (partly style issue, partly a technical error due to different past experience, partly a note which I've added - i.e. transient snapshots are lighter). Cc: Alasdair G Kergon Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f73195ad7e68fb4e546350222d31e19ebc1d3578 tree bed25e280cc43423c8108ff222164846eefba9da parent 5ea8d9d0384761251db10ecce7618f84b67d50d4 author Ville Syrjälä Mon, 07 Nov 2005 01:01:00 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:54 -0800 [PATCH] matroxfb: Set maxhipri to 0 The current init code sets hiprilvl to 0 and maxhipri to 5. According to the specs those values are illegal on both G200 and G400. It also causes distortions on the TV-out at least when CRTC2 is in YUV mode as is the case with DirectFB. This patch resets both values to 0. Signed-off-by: Ville Syrjälä Signed-off-by: Petr Vandrovec Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ea8d9d0384761251db10ecce7618f84b67d50d4 tree 692280b43b942a0ddda88a780c2dfcee892f921f parent 6c12f30554f29069afd485ecd05a1d54c8aece9f author Ville Syrjälä Mon, 07 Nov 2005 01:00:59 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:54 -0800 [PATCH] matroxfb: Kill a useless message No point in spamming the logs with a message about xres rounding. Signed-off-by: Ville Syrjälä Signed-off-by: Petr Vandrovec Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c12f30554f29069afd485ecd05a1d54c8aece9f tree ebacc1baaf4689494e4124efb9a4a8206679fc3f parent 63921fbfbd87ec745e65d2e9aecdfdc9a4ce73f2 author Ville Syrjälä Mon, 07 Nov 2005 01:00:58 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:54 -0800 [PATCH] matroxfb: Use CACHEFLUSH on all chips Use the CACHEFLUSH register on all chip types. The register is listed in all other specs except 2064W. However I have verified that the register does work on a 2064W despite being marked reserved in the specs. There were no noticeable side effects after writing to the register. Signed-off-by: Ville Syrjälä Signed-off-by: Petr Vandrovec Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63921fbfbd87ec745e65d2e9aecdfdc9a4ce73f2 tree fad0e1cd418efb0411fc452ff67f6e580dbcbad5 parent b1e91fdf56930fd3bd11f0df26e686feabf65ebe author Ville Syrjälä Mon, 07 Nov 2005 01:00:57 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:54 -0800 [PATCH] matroxfb: Add support for Mystique AGP Add new entries for Mystique AGP with the PCI ID 0x051e. I don't actually have such boards but according to google they do exist. Curiosly X.Org doesn't recognize that PCI ID. And what's even more interesting is that Matrox's own Windows drivers don't recognize it either. After going through about a dozen different versions I did find one older driver that does list this particular ID. It is also listed in the pci.ids file. I'm not sure if non-220 AGP chips exist. I left the chip revision check intact for AGP chips nonetheless. Signed-off-by: Ville Syrjälä Signed-off-by: Petr Vandrovec Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b1e91fdf56930fd3bd11f0df26e686feabf65ebe tree 5847bf6895f0152b2766f674ae23af2113bd8297 parent 183dee0f02d878def016476afd7995bec8d5f3a6 author Ville Syrjälä Mon, 07 Nov 2005 01:00:56 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:54 -0800 [PATCH] matroxfb: Remove an unused wait queue entry wait_event_event_interruptible() uses a private wait queue entry so there's no need for the caller to initialize one. Signed-off-by: Ville Syrjälä Signed-off-by: Petr Vandrovec Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 183dee0f02d878def016476afd7995bec8d5f3a6 tree d7b4d1cc7d0c4c20c0a654e5e7e81465922d0d77 parent 5ee1ef96a0d5c49809c61bdbb30cdda88e1d23cf author Jake Moilanen Mon, 07 Nov 2005 01:00:55 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:53 -0800 [PATCH] fbdev: ATI RN50 pci id Here's the PCI ID for the ATI RN50 chip. Signed-off-by: Jake Moilanen Signed-off-by: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ee1ef96a0d5c49809c61bdbb30cdda88e1d23cf tree dbb520ffd6c6ca8e955b1df70e89697e8b5957e7 parent 003cfc0c56977f1c3ce48ddfd2073b7c6d75a5d8 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:55 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:53 -0800 [PATCH] fbdev: Convert a few drivers to use the fb_find_best_display helper Convert i810fb, nvidiafb and savagefb to use the fb_find_best_display helper when searching for the initial video mode. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 003cfc0c56977f1c3ce48ddfd2073b7c6d75a5d8 tree 71095d3b794a6d6294b898a496c8a4e8664066bf parent 14c8102ffc9d08aa86fb08ed4bdb005768650e44 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:54 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:53 -0800 [PATCH] fbdev: Add helper to get an appropriate initial mode Add new helper, fb_find_best_display(), which will search the modelist for the best mode for the attached display. This requires an EDID block that is converted to struct fb_monspecs and a private modelist. The search will be done in this manner: - if 1st detailed timing is preferred, use that - else if dimensions of the display are known, use that to estimate xres and - else if modelist has detailed timings, use the first detailed timing - else, use the very first entry from the modelist Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14c8102ffc9d08aa86fb08ed4bdb005768650e44 tree d84d0dceef0e115914f16d0ea4662cd6cb8d42c2 parent 998e6d51162707685336ff99c029c8911b270d32 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:53 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:52 -0800 [PATCH] fbdev: Rearrange mode database entries Rearrange mode database entries such that preferred timings are entered first, and less preferred timings are entered last. (Detailed, VESA, established/standard). Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 998e6d51162707685336ff99c029c8911b270d32 tree bccdc294d6e621a32d8aa6c6c394ec6069f3a2ab parent e07dea98761270249f33e733ff86420bc52ccab6 author Zach Smith Mon, 07 Nov 2005 01:00:52 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:52 -0800 [PATCH] fbcon: Add rl (Roman Large) font I converted the "rl" console font from the kbd utility to be a built-in font for the framebuffer console, and I was wondering if you would be OK with including it. I've generated a font_rl.c file and related minor modifications. I find it's the most visually appealing of the kbd fonts which is why I use it and selected it for conversion. I believe the font is GPL'd. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e07dea98761270249f33e733ff86420bc52ccab6 tree 30a63c6af4666fb33e411b2877d981aeb04d35b2 parent 5fab851ea15206cc375582ad0db79f7827325098 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:51 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:52 -0800 [PATCH] console: Fix compile error Fix following compile error (From Kernel Bugzilla Bug 5427): include/linux/console_struct.h:53: error: field `vt_mode' has incomplete type Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fab851ea15206cc375582ad0db79f7827325098 tree bc7e3dd1e15d147c1aa482df69f433ff37246641 parent 8a0934f2969df4cdea81cf48fde4c8626b32325d author Antonino A. Daplas Mon, 07 Nov 2005 01:00:50 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:52 -0800 [PATCH] i810fb: Cleanup I2C code - The functions for reading the 1st and 2nd bus are essentially the same, except for the register. Consolidate them all. - According to Nicolas Boichat, there is an undocumented 3rd i2c bus for attaching daughter cards. Add support for this. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a0934f2969df4cdea81cf48fde4c8626b32325d tree cba3aa7d1367d4916a39b2113e1c9805e49b80ca parent 2726bff34441dce3854c62c3748bac2e7879e791 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:49 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:52 -0800 [PATCH] vesafb: Disable mtrr as the default vesafb occassionally gets the size wrong when setting the mtrr. When X or DRI attempts to set the mtrr, it will fail due to range overlap significantly affecting their performance. Disable mtrr and let the user explicitly enable it with the mtrr:n option. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2726bff34441dce3854c62c3748bac2e7879e791 tree e0318cb9929c5e3a910f8ce7b4895810dbc08212 parent 8fb6567e347a04d44b57e2b223cc5845859dfc6a author Ben Dooks Mon, 07 Nov 2005 01:00:48 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:52 -0800 [PATCH] s3c2410fb: initialise device_driver .owner Initialise the .owner field, so that if the driver is built as a module, the system has a link to the owner Signed-off-by: Ben Dooks Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8fb6567e347a04d44b57e2b223cc5845859dfc6a tree db4037a6694d3ffb6871c073ecb009332ff783b5 parent 2fe0175491c4784d95f3237ebdc985da7b26a99d author Michal Januszewski Mon, 07 Nov 2005 01:00:47 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:52 -0800 [PATCH] fbdev: fix the fb_find_nearest_mode() function Currently the fb_find_nearest_mode() function finds a mode with screen resolution closest to that described by the 'var' argument and with some arbitrary refresh rate (eg. in the following sequence of refresh rates: 70 60 53 85 75, 53 is selected). This patch fixes the function so that it looks for the closest mode as far as both resolution and refresh rate are concerned. The function's first argument is changed to fb_videomode so that the refresh rate can be specified by the caller, as fb_var_screeninfo doesn't have any fields that could directly hold this data. Signed-off-by: Michal Januszewski Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2fe0175491c4784d95f3237ebdc985da7b26a99d tree bc72a82797aee165be4b95492628bf1d6127e21a parent 475666d4f80f148a091fa20257fe2381223d3c62 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:46 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:52 -0800 [PATCH] nvidiafb: Fix empty macro Use do {} while(0) for empty reverse_order() macro. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 475666d4f80f148a091fa20257fe2381223d3c62 tree 87c64e09e2d6e26b56eb04d20de4236da4bcb812 parent 9127fa28595093a146fc3e2c937747e014e4bfa2 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:46 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:51 -0800 [PATCH] fbdev: Workaround for buggy EDID blocks Some EDID blocks set the flag "prefer first detailed timing" without providing any detailed timing at all. Clear this flag if the block does not provide detailed timings. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9127fa28595093a146fc3e2c937747e014e4bfa2 tree 04b7c8b5e9f8060a3927dcbabbb4ecb83269d614 parent 1cc650c69f3079ce3c616c998a741bcf6ddf4f4d author Peter 'p2' De Schrijver Mon, 07 Nov 2005 01:00:42 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:51 -0800 [PATCH] pm2fb: Manual configuration of timings for Elsa Winner 2000 Office Attached is a small patch which configures the correct memory clock and timings on the Elsa Winner 2000 Office pm2 based card. This is necessary when the card is used on a platform which does not support PC style BIOS initialization. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cc650c69f3079ce3c616c998a741bcf6ddf4f4d tree 643264be86a99d60031a69a33f4f56b0183769d1 parent 1013d26663199f8c1c31e1fe8e9352da09630d69 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:41 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:51 -0800 [PATCH] savagefb: Convert from VGA IO access to MMIO access Use MMIO registers instead of banging the VGA IO registers. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1013d26663199f8c1c31e1fe8e9352da09630d69 tree 51b7a8eb48e553dc514c016a8522d8ac4209bc33 parent eba50850458cf6e907b6b751cb18711666819406 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:41 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:51 -0800 [PATCH] atyfb: Get initial mode timings from LCD BIOS Reported by: Jean-Philippe Guérard (Bugzilla Bug 1782) "I've tried with video=atyfb:debug and video=atyfb:debug,mode:1280x600, \ nomtrr. In both case, the screen stays black, but seems divided into 4 vertical bands. Some white lines pop up randomly on each vertical band." The problem is a combination of an incorrect xclk plus lack of timing information. The adapter is attached to an LCD device that can do 1280x600 (which is not a standard resolution). The global mode database does not have an entry for it. Fortunately, the Video BIOS contains the complete timing info for this display, however, atyfb is not making use of it. Add support to get the timing information from the BIOS, if available. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eba50850458cf6e907b6b751cb18711666819406 tree 01e72b4d850432778e2620c152d1acec2a8a3851 parent b4d8aea6d66aabc1d79aaeb1ecc90562abb8f575 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:40 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:51 -0800 [PATCH] vesafb: Fix color palette handling Fix out-of-bounds bug. The pseudopalette has room only for 16 entries, thus, write only the first 16 entries to the pseudopalette. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4d8aea6d66aabc1d79aaeb1ecc90562abb8f575 tree 9d1acb46481ba54827463ae2d8f79821d5119953 parent dd0314f7bb407bc4bdb3ea769b9c8a3a5d39ffd7 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:39 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:51 -0800 [PATCH] fbdev: Remove software clipping from drawing functions Remove software clipping from imageblit, fillrect and copyarea. Clipping is not needed because the console layer assures that reads/writes doest not happen beyond the extents of the framebuffer. And software clipping tends to hide bugs, if they do exist. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd0314f7bb407bc4bdb3ea769b9c8a3a5d39ffd7 tree 474e589f2d9022f8ce63993e19069da273033e55 parent 3084a895c2a963cb9b32271061c832977ff7293c author Antonino A. Daplas Mon, 07 Nov 2005 01:00:38 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:51 -0800 [PATCH] fbcon: Initialize new driver when old driver is released If machine has more than 1 driver installed, and they all drive the same hardware, it's possible that the driver's fb_release() method will attempt to restore the hardware state to the initial state. This will leave the new driver in an undefined state. To prevent this problem, initialize the new driver by calling fb_set_par() when the old driver is released by fbcon. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3084a895c2a963cb9b32271061c832977ff7293c tree 03c0650a9d3498f9c2a34b7b2db044ee062de05e parent 4d9c5b6eb42d9e235003dd4531b44462a77131ea author Antonino A. Daplas Mon, 07 Nov 2005 01:00:37 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:51 -0800 [PATCH] fbcon: Use helper function when filling out var structure Instead of manually filling up the fields in struct fb_var_screeninfo, use the display_to_var() helper. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d9c5b6eb42d9e235003dd4531b44462a77131ea tree 5e851412d612bd143d378db1ceb1a87da3b31a56 parent c465e05a03209651078b95686158648fd7ed84c5 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:36 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:50 -0800 [PATCH] fbcon: Consolidate redundant code Lot's of redundant code scattered throughout fbcon.c. Consolidate them all into one function, fbcon_update_softback(). Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c465e05a03209651078b95686158648fd7ed84c5 tree e1119586a567a9a6a5ad9bda43d3438772ecf5a4 parent e764a20196f4e1b497a42fdc6e9d254e7ec290f2 author Antonino A. Daplas Mon, 07 Nov 2005 01:00:35 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:50 -0800 [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon According to Jon Smirl, filling in the field fb_cursor with soft_cursor for drivers that do not support hardware cursors is redundant. The soft_cursor function is usable by all drivers because it is just a wrapper around fb_imageblit. And because soft_cursor is an fbcon-specific hook, the file is moved to the console directory. Thus, drivers that do not support hardware cursors can leave the fb_cursor field blank. For drivers that do, they can fill up this field with their own version. The end result is a smaller code size. And if the framebuffer console is not loaded, module/kernel size is also reduced because the soft_cursor module will also not be loaded. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e764a20196f4e1b497a42fdc6e9d254e7ec290f2 tree daa5d3c6d386a201ba1660d73a0f4875dd3f75cd parent 3a59026ba111d85b1a86af0f1c4e5a8ef1242d82 author Jean Delvare Mon, 07 Nov 2005 01:00:34 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:49 -0800 [PATCH] radeonfb: prevent spurious recompilations Prevent spurious recompilations of the radeonfb driver when I2C/DDC support is not included and i2c header files are modified. Signed-off-by: Jean Delvare Acked-by: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a59026ba111d85b1a86af0f1c4e5a8ef1242d82 tree 33aadf52d17ffaf5a3077550c1813f26f14d571d parent b8c49ef6aeef662e7920435012be8c2ecc41c30d author Scott MacKenzie Mon, 07 Nov 2005 01:00:33 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:49 -0800 [PATCH] intelfb: extend partial support of i915G to include i915GM Add partial support for GMA900 within the i915GM chipset. Signed-off-by: Scott MacKenzie Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8c49ef6aeef662e7920435012be8c2ecc41c30d tree 4a79124a75fbb9132bb911a5a5cb31b0efa15687 parent 7f8c54d20b258acf291dd4490b0e22fa10b2a17f author Benjamin Herrenschmidt Mon, 07 Nov 2005 01:00:32 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:49 -0800 [PATCH] nvidiafb: Add flat panel dither support nvidiafb didn't fully hook-up the code it borrowed from X for doing flat panel dithering (this is useful for 6 bits panels). This adds a driver option to force it, and by default "reads" the current value from the chip to get the firmware setting. It significantly improves the quality of images on the iMac G5 I have here (though the X driver doesn't yet "read" the current value and defaults to 0, so you have to add Option "FBDither" "true" to your X config file to get that, I'll try to fix X.org to "read" the default unless specified asap). Signed-off-by: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f8c54d20b258acf291dd4490b0e22fa10b2a17f tree 19e1dd1f66b506c6ded5936c659ecbcf481ded95 parent 85f1503aff46089acd9f780b5259752839cf0162 author Andrew Morton Mon, 07 Nov 2005 01:00:31 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:49 -0800 [PATCH] nvidiafb-fix-mode-setting-ppc-support-warning-fixes drivers/video/nvidia/nv_setup.c: In function `NVCommonSetup': drivers/video/nvidia/nv_setup.c:408: warning: statement with no effect drivers/video/nvidia/nv_setup.c:496: warning: statement with no effect drivers/video/nvidia/nv_setup.c:504: warning: statement with no effect Cc: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85f1503aff46089acd9f780b5259752839cf0162 tree 2e517636de893ec886e05981171484f655234c63 parent ecc41d5e0267de2c010e0fdf8da3c9e3e394f752 author Benjamin Herrenschmidt Mon, 07 Nov 2005 01:00:30 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:49 -0800 [PATCH] nvidiafb: Fix mode setting & PPC support This patch fixes nvifiafb mode setting code to be closer to what the X driver does, which actually makes it work on the 5200FX I have access to. It also fix the routine that gets the EDID from Open Firmware on PPC, it was broken in various ways and would crash at boot. Compared to the patch I posted to linux-fbdev last week, this one just changes a printk to be closer to the other ones in the driver. Signed-off-by: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecc41d5e0267de2c010e0fdf8da3c9e3e394f752 tree ed13369747fe68610bffccc6311245c23dfc133a parent e65c0850ae811a53554e1abe71627fba1261cfc7 author Randy Dunlap Mon, 07 Nov 2005 01:00:29 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:49 -0800 [PATCH] fb: straighten up fb drivers menu Arrange frame buffer menu: - puts all Epson drivers together - removes split of FB_PXA and FB_PXA_PARAMETERS by FB_W100 - results in PXA, W100, Epson, S3C2410, & Virtual FB drivers being presented at the same menu level as all other FB drivers Signed-off-by: Randy Dunlap Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e65c0850ae811a53554e1abe71627fba1261cfc7 tree 5d9f3193b9c2a6f836a3c6acec004f2fef4feff9 parent 80d188a643b0f550a2aaedf7bf4dd1abd86cfc45 author Randy.Dunlap Mon, 07 Nov 2005 01:00:28 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:49 -0800 [PATCH] framebuffer: add some help text in Kconfig Frame buffer driver help text changes: - Move S3 Trio next to S3 Savage; - add or clarify help text for several FB drivers; - add help text for FB console; - add help text for bootup logos; Acked-by: Antonino Daplas Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80d188a643b0f550a2aaedf7bf4dd1abd86cfc45 tree 1439a87508fab8a39a64d8be8b20f4b6e2350159 parent 0ba7536d5d47e4ecf2259a80b207158dc4e711eb author NeilBrown Mon, 07 Nov 2005 01:00:27 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:49 -0800 [PATCH] knfsd: make sure svc_process call the correct pg_authenticate for multi-service port If an RPC socket is serving multiple programs, then the pg_authenticate of the first program in the list is called, instead of pg_authenticate for the program to be run. This does not cause a problem with any programs in the current kernel, but could confuse future code. Also set pg_authenticate for nfsd_acl_program incase it ever gets used. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ba7536d5d47e4ecf2259a80b207158dc4e711eb tree 0e8528e65f25b9992cfad43e74018a0986f46c38 parent 70c3b76c28b012452d63bb27f6d0517afb05d86f author NeilBrown Mon, 07 Nov 2005 01:00:26 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:48 -0800 [PATCH] knfsd: Fix some minor sign problems in nfsd/xdr There are a couple of tests which could possibly be confused by extremely large numbers appearing in 'xdr' packets. I think the closest to an exploit you could get would be writing random data from a free page into a file - i.e. leak data out of kernel space. I'm fairly sure they cannot be used for remote compromise. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70c3b76c28b012452d63bb27f6d0517afb05d86f tree 836c24891039fde8a59ee5db37def144bce16b90 parent 7390022d697bcc62a7556d6fdc61ec56ce3a381a author NeilBrown Mon, 07 Nov 2005 01:00:25 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:48 -0800 [PATCH] knfsd: Allow run-time selection of NFS versions to export Provide a file in the NFSD filesystem that allows setting and querying of which version of NFS are being exported. Changes are only allowed while no server is running. Signed-off-by: Steve Dickson Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7390022d697bcc62a7556d6fdc61ec56ce3a381a tree fa3957d2b00d786cd639da56b8ae756ec8b774ce parent 15b7a1b86d663ef40108b1ba322973e32d5b62d6 author NeilBrown Mon, 07 Nov 2005 01:00:24 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:47 -0800 [PATCH] knfsd: Restore functionality to read from file in /proc/fs/nfsd/ Most files in the nfsd filesystems are transaction files. You write a request, and read a response. For some (e.g. 'threads') it makes sense to just be able to read and get the current value. This functionality did exist but was broken recently when someone modified nfsctl.c without going through the maintainer. This patch fixes the regression. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15b7a1b86d663ef40108b1ba322973e32d5b62d6 tree b9bf32fc7ac478bdfa89152fd51738445e5c5fe8 parent 8bc3efcfbf6521ec7bf3e5d969b31745fbd986f8 author NeilBrown Mon, 07 Nov 2005 01:00:23 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:47 -0800 [PATCH] knfsd: fix setattr-on-symlink error return This is a somewhat cosmetic fix to keep the SpecFS validation test from complaining. SpecFS want's to try chmod on symlinks, and ext3 and reiser (at least) return ENOTSUPP. Probably both sides are being silly, but it is easiest to simply make it a non-issue and filter out chmod requests on symlinks at the nfsd level. Signed-off-by: Olaf Kirch Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bc3efcfbf6521ec7bf3e5d969b31745fbd986f8 tree 3558a51005787a2c56d56c95019dd889bd06fbbb parent 597a107b1d5587dc230dbbe3faeca242daed494e author Ronald S. Bultje Mon, 07 Nov 2005 01:00:22 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:47 -0800 [PATCH] prevent dmesg warning in zr36067 driver Fix the warning "Debug: sleeping function called from invalid context at include/asm/semaphore.h:102" that the zr36067 driver emits every time an application using JPEG capture starts up (e.g. mjpegtools' lavrec). The warning is harmless, but clogs up the dmesg output. This was logged as bugzilla #5403. (Thanks to Christian Casteyde for helping me in fixing this long-standing annoyance.) Signed-off-by: Ronald S. Bultje Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 597a107b1d5587dc230dbbe3faeca242daed494e tree 0bb0aeb735a917561cf4d91d4c3fa1ed5434bede parent 6978bbc097c2f665c336927a9d56ae39ef75fa56 author Martin Bachem Mon, 07 Nov 2005 01:00:20 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:47 -0800 [PATCH] i4l: update hfc_usb driver - cleanup source - remove nonfunctional code parts Signed-off-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6978bbc097c2f665c336927a9d56ae39ef75fa56 tree 541673cd413025c09b52984c5dc0333133c46a71 parent 2b0c28d7f8846f80a436093e906f5175d1fa8f55 author Matt Porter Mon, 07 Nov 2005 01:00:20 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:47 -0800 [PATCH] rapidio: message interface updates Updates the RIO messaging interface to pass a device instance into the event registeration and callbacks. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b0c28d7f8846f80a436093e906f5175d1fa8f55 tree ce704dd11d562b2f5473b896153e0263e9d3906b parent fa78cc51794912b7e6ee98cd823fcc84cf79d04a author Matt Porter Mon, 07 Nov 2005 01:00:19 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:47 -0800 [PATCH] RapidIO support: ppc32 Adds PPC32 RIO support. Init code for the MPC85xx RIO ports and glue for the STx GP3 board to use it. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa78cc51794912b7e6ee98cd823fcc84cf79d04a tree 89366fdfc1c1cd48923c72464f38d8d1e2321f6b parent eb188d0e857c436b5d365d5ccc629da5a06ed102 author Matt Porter Mon, 07 Nov 2005 01:00:18 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] rapidio: core updates Addresses issues raised with the 2.6.12-rc6-mm1 RIO support. Fix dma_mask init, shrink some code, general cleanup. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb188d0e857c436b5d365d5ccc629da5a06ed102 tree 1a80ceab7d2d18a672f5753d26bbd972543ce959 parent 70a50ebd9a94533964c19f918dbbd66763e3f9e5 author Matt Porter Mon, 07 Nov 2005 01:00:17 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] RapidIO support: core enum Adds RapidIO enumeration/discovery. The core code implements enumeration/discovery, management of devices/resources, and interfaces for RIO drivers. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70a50ebd9a94533964c19f918dbbd66763e3f9e5 tree b0017660afe316d89233c05a6e0ba4b1606df69a parent 394b701ce4fbfde919a9bcbf84cb4820a7c6d47c author Matt Porter Mon, 07 Nov 2005 01:00:16 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] RapidIO support: core includes Add RapidIO core include files. The core code implements enumeration/discovery, management of devices/resources, and interfaces for RIO drivers. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 394b701ce4fbfde919a9bcbf84cb4820a7c6d47c tree a397fff4043a9810e753fb81224349bd36db45b8 parent d217d5450f11d8c907c0458d175b0dc999b4d06d author Matt Porter Mon, 07 Nov 2005 01:00:15 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] RapidIO support: core base Adds a RapidIO subsystem to the kernel. RIO is a switched fabric interconnect used in higher-end embedded applications. The curious can look at the specs over at http://www.rapidio.org The core code implements enumeration/discovery, management of devices/resources, and interfaces for RIO drivers. There's a lot more to do to take advantages of all the hardware features. However, this should provide a good base for folks with RIO hardware to start contributing. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d217d5450f11d8c907c0458d175b0dc999b4d06d tree ebd68eb9e0b632049d22240a3589887ca27077a5 parent 991a51d83a3d9bebfafdd1e692cf310899d60791 author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:14 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] Kprobes: preempt_disable/enable() simplification Reorganize the preempt_disable/enable calls to eliminate the extra preempt depth. Changes based on Paul McKenney's review suggestions for the kprobes RCU changeset. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 991a51d83a3d9bebfafdd1e692cf310899d60791 tree 4cc6eaa2a868838e59c7737da9868f2358f2bb19 parent 3516a46042508a495fac13c2e73530d936ebe015 author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:14 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] Kprobes: Use RCU for (un)register synchronization - arch changes Changes to the arch kprobes infrastructure to take advantage of the locking changes introduced by usage of RCU for synchronization. All handlers are now run without any locks held, so they have to be re-entrant or provide their own synchronization. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3516a46042508a495fac13c2e73530d936ebe015 tree 2d03117832b5c2439987de73420a38fc3e5983e4 parent e7a510f92c1e482a7db05afd3cb84af1f4cfe0bc author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:13 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] Kprobes: Use RCU for (un)register synchronization - base changes Changes to the base kprobes infrastructure to use RCU for synchronization during kprobe registration and unregistration. These changes coupled with the arch kprobe changes (next in series): a. serialize registration and unregistration of kprobes. b. enable lockless execution of handlers. Handlers can now run in parallel. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7a510f92c1e482a7db05afd3cb84af1f4cfe0bc tree fc9eb17fc6788dc9319e134d17bd240dcf6f04a1 parent f215d985e936cf493959b365a10593b6d5f80447 author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:12 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] Kprobes: Track kprobe on a per_cpu basis - x86_64 changes x86_64 changes to track kprobe execution on a per-cpu basis. We now track the kprobe state machine independently on each cpu using a arch specific kprobe control block. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f215d985e936cf493959b365a10593b6d5f80447 tree 90d187826b5364f364ca6ada71da3e24372db981 parent 0dc036c91ac11b2b76bb91b59d8c7af919aa4a8d author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:11 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:46 -0800 [PATCH] Kprobes: Track kprobe on a per_cpu basis - sparc64 changes Sparc64 changes to track kprobe execution on a per-cpu basis. We now track the kprobe state machine independently on each cpu using an arch specific kprobe control block. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dc036c91ac11b2b76bb91b59d8c7af919aa4a8d tree 88318deadc78c7dd416b60f2fac4b8eef1f61a28 parent 8a5c4dc5e5d72b7802f5647082ccf3861a94f013 author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:10 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:45 -0800 [PATCH] Kprobes: Track kprobe on a per_cpu basis - ppc64 changes PPC64 changes to track kprobe execution on a per-cpu basis. We now track the kprobe state machine independently on each cpu using an arch specific kprobe control block. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a5c4dc5e5d72b7802f5647082ccf3861a94f013 tree 6a152d01d9b9653201a113af9c1ce3f94771bf49 parent 9a0e3a86837ac7542e601c18346102c9d9e65fa5 author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:09 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:45 -0800 [PATCH] Kprobes: Track kprobe on a per_cpu basis - ia64 changes IA64 changes to track kprobe execution on a per-cpu basis. We now track the kprobe state machine independently on each cpu using an arch specific kprobe control block. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a0e3a86837ac7542e601c18346102c9d9e65fa5 tree 0e58782bfe2be7c1dd82e254df9d4d0fea6781bd parent e65845235c8120be63001fc1a4ac00c819194bbe author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:08 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:45 -0800 [PATCH] Kprobes: Track kprobe on a per_cpu basis - i386 changes I386 changes to track kprobe execution on a per-cpu basis. We now track the kprobe state machine independently on each cpu, using an arch specific kprobe control block. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e65845235c8120be63001fc1a4ac00c819194bbe tree 209a081cc07375290743ceb45f52dc474f45382a parent 66ff2d0691e00e1e7bfdf398a970310c9a0fe671 author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:07 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:45 -0800 [PATCH] Kprobes: Track kprobe on a per_cpu basis - base changes Changes to the base kprobe infrastructure to track kprobe execution on a per-cpu basis. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66ff2d0691e00e1e7bfdf398a970310c9a0fe671 tree f53bcd846be8fbaee5a5ee65f9bacc5b34392090 parent b385676b355549afc9a7507ce09c7df47f166521 author Ananth N Mavinakayanahalli Mon, 07 Nov 2005 01:00:07 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:45 -0800 [PATCH] Kprobes: rearrange preempt_disable/enable() calls The following set of patches are aimed at improving kprobes scalability. We currently serialize kprobe registration, unregistration and handler execution using a single spinlock - kprobe_lock. With these changes, kprobe handlers can run without any locks held. It also allows for simultaneous kprobe handler executions on different processors as we now track kprobe execution on a per processor basis. It is now necessary that the handlers be re-entrant since handlers can run concurrently on multiple processors. All changes have been tested on i386, ia64, ppc64 and x86_64, while sparc64 has been compile tested only. The patches can be viewed as 3 logical chunks: patch 1: Reorder preempt_(dis/en)able calls patches 2-7: Introduce per_cpu data areas to track kprobe execution patches 8-9: Use RCU to synchronize kprobe (un)registration and handler execution. Thanks to Maneesh Soni, James Keniston and Anil Keshavamurthy for their review and suggestions. Thanks again to Anil, Hien Nguyen and Kevin Stafford for testing the patches. This patch: Reorder preempt_disable/enable() calls in arch kprobes files in preparation to introduce locking changes. No functional changes introduced by this patch. Signed-off-by: Ananth N Mavinakayahanalli Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b385676b355549afc9a7507ce09c7df47f166521 tree f24226209eca4f67e2bacead4767be919a8557bf parent e61fb5b65150ace7192d1f0ce840fe4cd6285e73 author Corey Minyard Mon, 07 Nov 2005 01:00:05 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:45 -0800 [PATCH] ipmi: fix watchdog timeout panic handling If a panic came from the IPMI watchdog pretimeout and that was reported via an NMI, it would also be reported via the standard IPMI flags, which would get picked up when reporting panic events and cause another panic. This adds an atomic to avoid calling panic twice. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e61fb5b65150ace7192d1f0ce840fe4cd6285e73 tree a27e4abb158e28cfba2425cda49509e3a5b61144 parent e9a705a0a0ed99833cfef40d509f63a052638f00 author Corey Minyard Mon, 07 Nov 2005 01:00:05 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:45 -0800 [PATCH] ipmi: use rcu lock for using command receivers Use rcu_read_lock for the cmd_rcvrs list, since that was what what intended, anyway. This means that all the users of the cmd_rcvrs_lock are tasks, so the irq disables are no longer required for that lock and it can become a semaphore. Signed-off-by: Corey Minyard Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9a705a0a0ed99833cfef40d509f63a052638f00 tree 5daf234aca37a1f15c563b1d781973f6a127de15 parent a9a2c44ff0a1350f8bfe3a162ecf71b1c9ce5cc2 author Matt Domsch Mon, 07 Nov 2005 01:00:04 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:45 -0800 [PATCH] ipmi: use kthread API Convert ipmi driver thread to kthread API, only sleep when interface is idle. Signed-off-by: Matt Domsch Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9a2c44ff0a1350f8bfe3a162ecf71b1c9ce5cc2 tree ac5ffc65084b48895239e9044893ae7e0b2d91b1 parent c3e7e7916ec61cf58c88af12f4db17f28cffd83a author Corey Minyard Mon, 07 Nov 2005 01:00:03 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:44 -0800 [PATCH] ipmi: add timer thread We must poll for responses to commands when interrupts aren't in use. The default poll interval is based on using a kernel timer, which varies with HZ. For character-based interfaces like KCS and SMIC though, that can be way too slow (>15 minutes to flash a new firmware with KCS, >20 seconds to retrieve the sensor list). This creates a low-priority kernel thread to poll more often. If the state machine is idle, so is the kernel thread. But if there's an active command, it polls quite rapidly. This decrease a firmware flash time from 15 minutes to 1.5 minutes, and the sensor list time to 4.5 seconds, on a Dell PowerEdge x8x system. The timer-based polling remains, to ensure some amount of responsiveness even under high user process CPU load. Checking for a stopped timer at rmmod now uses atomics and del_timer_sync() to ensure safe stoppage. Signed-off-by: Matt Domsch Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3e7e7916ec61cf58c88af12f4db17f28cffd83a tree 4d5be7158f79a9a2b1572e60af5c3645afa333c2 parent 21dcd300b15f87ce10df8773d029708f27499aa7 author Corey Minyard Mon, 07 Nov 2005 01:00:02 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:44 -0800 [PATCH] ipmi: kcs error0 delay BMCs can get into ERROR0 state while flashing new firmware, particularly while the BMC is erasing the next flash block, which may take a just under 2 seconds on a Dell PowerEdge 2800 (1.75 seconds typical), during which time the single-threaded firmware may not be able to process new commands. In particular, clearing OBF may not take effect immediately. We want it to delay in ERROR0 after clearing OBF a bit waiting for OBF to actually be clear before proceeding. This introduces a new return value from the LLDD's event loop, SI_SM_CALL_WITH_TICK_DELAY. This means the calling thread/timer should schedule_timeout() at least 1 tick, rather than busy-wait. This is a longer delay than SI_SM_CALL_WITH_DELAY, which is typically a 250us busy-wait. Signed-off-by: Matt Domsch Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21dcd300b15f87ce10df8773d029708f27499aa7 tree 451f1a57e528dd6f0b813ee1f6803d4e66f2aed6 parent ea94027b92dd0d02d238d5984cd9089343c1d6cc author Corey Minyard Mon, 07 Nov 2005 01:00:01 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:44 -0800 [PATCH] ipmi: bt restart reset fixes The current BT retry/reset mechanism fails to succeed on a PowerEdge 1650, when the controller is wedged with B2H_ATN asserted at XACTION_START. If this occurs, no further commands will ever succeed unless the state of the controller is first cleared out. Furthermore, the soft reset would only occur if the first command after insmod was the one that timed out, not if a later command timed out. This patch changes the retry/reset mechanism to be as follows: Before retrying a command, clear the state of the BT controller such that the flags represent ready for a new transaction. This increases the chance of success of the restarted transaction. After 2 retries, issue a soft reset and retry one more time before giving up and reporting back a failure. Signed-off-by: Matt Domsch Acked-by: Rocky Craig Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea94027b92dd0d02d238d5984cd9089343c1d6cc tree 89af59134162852ad8863b8b64e7c7ab6c4c0026 parent d5a2b89a4943b423b5b0a07783fee4e08424b0b2 author Corey Minyard Mon, 07 Nov 2005 00:59:59 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:44 -0800 [PATCH] ipmi: si start transaction hook Some commands, on some system BMCs, don't respond at at all. This is seen on Dell PowerEdge x6xx and x7xx systems with IPMI 1.0 BT controllers when a "Get SDR" command is issued, with a length field of 0x3A, which happens to be the length of about SDR entries. If another length is passed, this command succeeds. This patch adds general infrastructure for receiving commands before they're passed down to the low-level drivers, such that they can be completed immediately, or modified, prior to being sent to ->start_transaction(). Signed-off-by: Matt Domsch Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5a2b89a4943b423b5b0a07783fee4e08424b0b2 tree 971f23005105d486d163a7a83feac4c1ffcac9a4 parent 21d6c542153c680f689a9badf5534bf27704350b author Corey Minyard Mon, 07 Nov 2005 00:59:58 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:44 -0800 [PATCH] ipmi: more dell fixes Make SMIC driver ignore EVT_AVAIL and SMS_ATN bits in flags register, as they're used by systems management interrupts, not the host OS. Make the OEM0 Data Available handler work for pre-IPMI 1.5 systems from Dell too. Without these two fixes, PowerEdge 2650 and other similar systems with SMIC may hang a process (modprobe or anything using /dev/ipmi0). Signed-off-by: Matt Domsch Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21d6c542153c680f689a9badf5534bf27704350b tree a17cee6bbb6039a60d5c757ed99c901060f6d091 parent cc4673eecdcc4a918e4d8796295d798b5e98d602 author Corey Minyard Mon, 07 Nov 2005 00:59:57 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:44 -0800 [PATCH] ipmi: poweroff cleanups Make module_param and MODULE_PARAM_DESC agree on poweroff_powercycle name. There was an extraneous ifdef in the IPMI poweroff code that prevented it from working if PROC_FS was disabled. Signed-off-by: Matt Domsch Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc4673eecdcc4a918e4d8796295d798b5e98d602 tree 7956c1c9a310df75f459d650d19ebe5fbf29f583 parent c4edff1c19ef23e15aae64ca03f32c6719822d54 author Corey Minyard Mon, 07 Nov 2005 00:59:57 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:44 -0800 [PATCH] ipmi: watchdog parms in sysfs Modify the IPMI watchdog parameters (the ones that make sense) to be exported from sysfs. This is somewhat complicated because these parameters have side-effects that must be handled. Signed-off-by: Corey Minyard Cc: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c4edff1c19ef23e15aae64ca03f32c6719822d54 tree 06858fc7330b433b629827347c63ad890c715b3e parent 393d2cc354d150b8b4bb888a9da7db4c935e12bd author Corey Minyard Mon, 07 Nov 2005 00:59:56 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:44 -0800 [PATCH] ipmi: various si cleanup A number of small changes for the various system interface drivers, consolidated from a number of patches from Matt Domsch. Clear B2H_ATN and drain the BMC message buffer on command timeout. This prevents further commands from failing after a timeout. Add bt_debug and smic_debug module parameters, expose them in sysfs. This lets you enable and disable debugging messages at runtime. Unsigned jiffies math in ipmi_si_intf.c causes a too-large value to be passed to ->event() after jiffies wrap-around. The BT driver had caught this, but didn't know how to fix it. Now all calls to ->event() use a sane value for time. Increase timeout for commands handed to the BT driver from 2 seconds to 5 seconds. This is necessary particularly when the previous command was a "Clear SEL", as that command completes, yet the BMC isn't really ready to handle another command yet. Silence BT debugging messages which were being printed on the console. Increase SMIC timeout form 1/10s to 2s. This is needed on Dell PowerEdge 2650 and PowerEdge 750 with ERA/O cards to allow commands to complete without timing out. Adds kcs_debug module param, to match behavior of BT and SMIC. This also prevents messages from being sent to the console unless explicitly requested. Signed-off-by: Matt Domsch Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 393d2cc354d150b8b4bb888a9da7db4c935e12bd tree b696a63b19d8bc3ce9a9c2bb0e66aa91fcf954a4 parent f5b3db0017f8415301f3427b30263186e8478c3f author Corey Minyard Mon, 07 Nov 2005 00:59:54 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:43 -0800 [PATCH] ipmi: use refcount in message handler This patch is rather large, but it really can't be done in smaller chunks easily and I believe it is an important change. This has been out and tested for a while in the latest IPMI driver release. There are no functional changes, just changes as necessary to convert the locking over (and a few minor style updates). The IPMI driver uses read/write locks to ensure that things exist while they are in use. This is bad from a number of points of view. This patch removes the rwlocks and uses refcounts and RCU lists to manage what the locks did. Signed-off-by: Corey Minyard Cc: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5b3db0017f8415301f3427b30263186e8478c3f tree 04e6307bd4052f61ce68cd30af78d0c3382322ae parent befc649c2274a1c35f0cd1e888dd83652cbb0422 author Nick Piggin Mon, 07 Nov 2005 00:59:53 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:43 -0800 [PATCH] as: cooperating processes Introduce the notion of cooperating processes (those that submit requests close to one another), and use these statistics to make better choices about whether or not to do anticipatory waiting. Help and analysis from Seetharami Seelam Performance testing from Seelam: I set up my system and executed a couple of tests that I used for OLS. I tested with AS, cooperative process patch merged in -mm tree (which I called Nick, below) and the cooperative patch with modifications to as_update_iohist (which I called Seelam). I used a dual-processor (2.28GHz Pentium 4 Xeon) system, with 1 GB main memory and 1 MB L2 cache, running Linux 2.6.9. Only a single processor is used for the experiments. I used 7.2K RPM Maxtor 10GB drive configured with ext2 file system. Experiment 1 (ex1) consists of reading one Linux source trees using find . -type f -exec cat '{}' ';' > /dev/null. Experiment 2 (ex2) consists of reading two disjoint Linux source trees using find . -type f -exec cat '{}' ';' > /dev/null. Experiment 3 (ex3) consists of streaming read of a 2GB file in the background and 1 instance of the chunk reads in Experiment 1. Timings for reading the Linux source are shown below: AS Nick Seelam ex1: 0m25.813s 0m27.859s 0m27.640s ex2: 1m11.468s 1m13.918s 1m5.869s ex3: 81m44.352s 10m38.572s 6m47.994s The difference between the numbers in Experiment 3 must be due to the code in as_update_iohist. (akpm: that's not part of this patch. So this patch is "Nick"). Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit befc649c2274a1c35f0cd1e888dd83652cbb0422 tree ccbbc9f286c50dd8c9f036408b71acda9f5dd427 parent fd72faac95d7e47610e981d7ed7b3c1529e55c88 author Miklos Szeredi Mon, 07 Nov 2005 00:59:52 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:42 -0800 [PATCH] FUSE: pass file handle in setattr This patch passes the file handle supplied in iattr to userspace, in case the ->setattr() was invoked from sys_ftruncate(). This solves the permission checking (or lack thereof) in ftruncate() for the class of filesystems served by an unprivileged userspace process. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd72faac95d7e47610e981d7ed7b3c1529e55c88 tree 65cde1eb6958f410c4b4c72e322fd59db463150f parent 31d40d74b402a6fa18a006fb3745f64609f35b77 author Miklos Szeredi Mon, 07 Nov 2005 00:59:51 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:42 -0800 [PATCH] FUSE: atomic create+open This patch adds an atomic create+open operation. This does not yet work if the file type changes between lookup and create+open, but solves the permission checking problems for the separte create and open methods. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31d40d74b402a6fa18a006fb3745f64609f35b77 tree ee8c61e814fcae687e3ba3f8ed4828d6d34f8ff2 parent 5b62073d502a88fedc5c369f8a004bda7c9d1999 author Miklos Szeredi Mon, 07 Nov 2005 00:59:50 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:42 -0800 [PATCH] FUSE: add access call Add a new access call, which will only be called if ->permission is invoked from sys_access(). In all other cases permission checking is delayed until the actual filesystem operation. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b62073d502a88fedc5c369f8a004bda7c9d1999 tree cc450425ceb954c05b119a6310535382a8f6fe90 parent cc4e69dee4a080f6eae3f410daec2593f4fa6f00 author Miklos Szeredi Mon, 07 Nov 2005 00:59:49 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:42 -0800 [PATCH] FUSE: bump interface minor version Though the following changes are all backward compatible (from the kernel's as well as the library's POV) change the minor version, so interested applications can detect new features. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc4e69dee4a080f6eae3f410daec2593f4fa6f00 tree b9be8984a0be5f7997d836603963dcf8f2e728ff parent 481bed454247538e9f57d4ea37b153ccba24ba7b author Miklos Szeredi Mon, 07 Nov 2005 00:59:49 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:42 -0800 [PATCH] VFS: pass file pointer to filesystem from ftruncate() This patch extends the iattr structure with a file pointer memeber, and adds an ATTR_FILE validity flag for this member. This is set if do_truncate() is invoked from ftruncate() or from do_coredump(). The change is source and binary compatible. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 481bed454247538e9f57d4ea37b153ccba24ba7b tree bb4198296962c08dbf52e8f377dc27206f621640 parent db73e9aa99bf093427b79877f9475392724fd5e5 author Christoph Hellwig Mon, 07 Nov 2005 00:59:47 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:42 -0800 [PATCH] consolidate sys_ptrace() The sys_ptrace boilerplate code (everything outside the big switch statement for the arch-specific requests) is shared by most architectures. This patch moves it to kernel/ptrace.c and leaves the arch-specific code as arch_ptrace. Some architectures have a too different ptrace so we have to exclude them. They continue to keep their implementations. For sh64 I had to add a sh64_ptrace wrapper because it does some initialization on the first call. For um I removed an ifdefed SUBARCH_PTRACE_SPECIAL block, but SUBARCH_PTRACE_SPECIAL isn't defined anywhere in the tree. Signed-off-by: Christoph Hellwig Acked-by: Paul Mackerras Acked-by: Ralf Baechle Acked-By: David Howells Acked-by: Russell King Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db73e9aa99bf093427b79877f9475392724fd5e5 tree 6ea2631bd3772661c0a04f20fd9b03b047277121 parent a463ddd343dacf5f1badae514ed2c5135ec0c3a9 author Christoph Hellwig Mon, 07 Nov 2005 00:59:46 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:41 -0800 [PATCH] remove superflous ctime/mtime updates in affs Both AFFS and HPFS update the ctime and mtime in the write path, after generic_file_write returned and marked the inode dirty. Signed-off-by: Christoph Hellwig Acked-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a463ddd343dacf5f1badae514ed2c5135ec0c3a9 tree 685d7416610c518020960e0f69584b2a21453ded parent dc487002a26a5733967292356434e61dc5da9c98 author Christoph Hellwig Mon, 07 Nov 2005 00:59:46 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:41 -0800 [PATCH] afs: use generic_ro_fops afs actually had a write method that returned different errors depending on whether some flag was set - better return the standard EINVAL errno. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc487002a26a5733967292356434e61dc5da9c98 tree 284026fb9581da012df1627a701c7c94a708d669 parent 2cf06916217b5dcb2cc52a495e1f130cc8434ef5 author Christoph Hellwig Mon, 07 Nov 2005 00:59:45 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:41 -0800 [PATCH] vxfs: use generic_ro_fops No need to duplicate a generic readonly file ops table in befs. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2cf06916217b5dcb2cc52a495e1f130cc8434ef5 tree 58e2392e82d0354e713fe17eff9d4edb62e98c9d parent 8c65b4a60450590e79a28e9717ceffa9e4debb3f author Christoph Hellwig Mon, 07 Nov 2005 00:59:44 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:41 -0800 [PATCH] befs: use generic_ro_fops No need to duplicate a generic readonly file ops table in befs. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c65b4a60450590e79a28e9717ceffa9e4debb3f tree e0e42b5faee0a1c44746a36d9df7a8fbb2a2c24c parent 6fdcc2162285a8fc96ab12ff85086c37bceaa494 author Tim Schmielau Mon, 07 Nov 2005 00:59:43 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:41 -0800 [PATCH] fix remaining missing includes Fix more include file problems that surfaced since I submitted the previous fix-missing-includes.patch. This should now allow not to include sched.h from module.h, which is done by a followup patch. Signed-off-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fdcc2162285a8fc96ab12ff85086c37bceaa494 tree 957c0a2c2c273f6f13d8b9f95412f71856b5d449 parent 5c7ad5104d8ecf2c3a6428d73748126e91b1a250 author Peter Staubach Mon, 07 Nov 2005 00:59:42 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:39 -0800 [PATCH] memory leak in dentry_open() There is a memory leak possible in dentry_open(). If get_empty_filp() fails, then the references to dentry and mnt need to be released. The attached patch adds the calls to dput() and mntput() to release these two references. Signed-off-by: Peter Staubach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c7ad5104d8ecf2c3a6428d73748126e91b1a250 tree 6b4ffdb7c113ac32c1213f6dc32d4da8f375a915 parent 385fd4c59d8bf7895ad3641c4cea615346f684ed author Muli Ben-Yehuda Mon, 07 Nov 2005 00:59:42 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:39 -0800 [PATCH] perform maintenance on Documentation/vm/hugetlbpage.txt Updates to Documentation/vm/hugetlbpage.txt: - there's no need to select HUGETLB_PAGE manually and it's no longer under the processor menu. Update the text accordingly. - fix typos and trim trailing whitespace. Signed-Off-By: Muli Ben-Yehuda Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 385fd4c59d8bf7895ad3641c4cea615346f684ed tree 3c230888a83dfe239dc32f1adfde9fb2787cd144 parent 53b27584db0446e356c86b3aa43f5107b0170704 author Coywolf Qi Hunt Mon, 07 Nov 2005 00:59:39 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:39 -0800 [PATCH] __find_get_block_slow() cleanup Get rid of the `int unused' parameter of __find_get_block_slow(). Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53b27584db0446e356c86b3aa43f5107b0170704 tree 82b67a2ac88716cca4eb638f5475e875d6feb1ec parent ce44eeb6906cf2b093b76ea69b952621712a4a3c author Davi Arnaut Mon, 07 Nov 2005 00:59:37 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:39 -0800 [PATCH] smbfs: 'names_cache' memory leak Data allocated with "__getname()" should always be free'd with "__putname()" because of the AUDITSYSCALL code. Signed-off-by: Davi Arnaut Cc: Urban Widmark Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce44eeb6906cf2b093b76ea69b952621712a4a3c tree 7fbf66bef211951dfac7c114de2bf3ae5fcb15a5 parent be586bab8bfbf5d429bdfcb6136bdde89583c5c4 author Davi Arnaut Mon, 07 Nov 2005 00:59:36 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:39 -0800 [PATCH] V9FS: 'names_cache' memory leak Data allocated with "__getname()" should always be free'd with "__putname()" because of the AUDITSYSCALL code. Signed-off-by: Davi Arnaut Cc: Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be586bab8bfbf5d429bdfcb6136bdde89583c5c4 tree 3ff050d2e962b7bacec8b86685d6887717f06173 parent e3f17f0f6e98f58edb13cb38810d93e6d4808e68 author Adrian Bunk Mon, 07 Nov 2005 00:59:35 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:39 -0800 [PATCH] quota: small cleanups - "extern inline" -> "static inline" - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e3f17f0f6e98f58edb13cb38810d93e6d4808e68 tree c442f18da80497cc45644e41e29ac0efe96498a7 parent 796f8d9b98fc92a5e9aaea8cf932957850332f51 author Marcelo Tosatti Mon, 07 Nov 2005 00:59:34 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:39 -0800 [PATCH] Only disallow _setting_ of function key string Mikael Pettersson noted that the current 2.6-git (and 2.4) patch to disallow KDSKBSENT for unpriviledged users should be less restrictive allowing reading of current function key string entry, but not writing. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 796f8d9b98fc92a5e9aaea8cf932957850332f51 tree 66e0a2bdf18e03c7dadba7c4c7b896533aa2e762 parent d55b5fdaf40846221d543937b786956e27837fda author David Gibson Mon, 07 Nov 2005 00:59:33 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:38 -0800 [PATCH] FUTEX_WAKE_OP: enhanced error handling The code for FUTEX_WAKE_OP calls an arch callback, futex_atomic_op_inuser(). That callback can return an error code, but currently the caller assumes any error is EFAULT, and will try various things to resolve the fault before eventually giving up with EFAULT (regardless of the original error code). This is not a theoretical case - arch callbacks currently return -ENOSYS if the opcode they are given is bogus. This patch alters the code to detect non-EFAULT errors and return them directly to the user. Of course, whether -ENOSYS is the correct return value for the bogus opcode case, or whether EINVAL would be more appropriate is another question. Signed-off-by: David Gibson Cc: Rusty Russell Cc: Ingo Molnar Cc: Jamie Lokier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d55b5fdaf40846221d543937b786956e27837fda tree ecdf572d7d2b08b4f7b31d804542a920934b6d9a parent 0f6ed7c2641fe4cea83cd09c21928ca30c0983ec author Zach Brown Mon, 07 Nov 2005 00:59:31 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:38 -0800 [PATCH] aio: remove aio_max_nr accounting race AIO was adding a new context's max requests to the global total before testing if that resulting total was over the global limit. This let innocent tasks get their new limit tested along with a racing guilty task that was crossing the limit. This serializes the _nr accounting with a spinlock It also switches to using unsigned long for the global totals. Individual contexts are still limited to an unsigned int's worth of requests by the syscall interface. The problem and fix were verified with a simple program that spun creating and destroying a context while holding on to another long lived context. Before the patch a task creating a tiny context could get a spurious EAGAIN if it raced with a task creating a very large context that overran the limit. Signed-off-by: Zach Brown Cc: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f6ed7c2641fe4cea83cd09c21928ca30c0983ec tree 15662837acd37f24dddeb11eb12980429c8c4ef4 parent 28ef35845f2c8da8e1bed068277d2fab1e8c8979 author David Howells Mon, 07 Nov 2005 00:59:30 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:37 -0800 [PATCH] Keys: Remove incorrect and obsolete '!' operators The attached patch removes a couple of incorrect and obsolete '!' operators left over from the conversion of the key permission functions from true/false returns to zero/error returns. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28ef35845f2c8da8e1bed068277d2fab1e8c8979 tree d686f9f9e090fe2b88af35bd40aa6f2093d20c01 parent a43313668f62a06e14c915b8c8994fc8a1257394 author Ingo Molnar Mon, 07 Nov 2005 00:59:29 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:37 -0800 [PATCH] small kernel_stat.h cleanup cleanup: use for_each_cpu() instead of an open-coded NR_CPUS loop. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a43313668f62a06e14c915b8c8994fc8a1257394 tree ae02e1ae145b3f277ead948c32b8b6d06a4e23d9 parent 7361f4d8ca65d23a18ba009b4484612183332c2f author Hans Reiser Mon, 07 Nov 2005 00:59:29 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:37 -0800 [PATCH] reiser4: add radix_tree_lookup_slot() Reiser4 uses radix trees to solve a trouble reiser4_readdir has serving nfs requests. Unfortunately, radix tree api lacks an operation suitable for modifying existing entry. This patch adds radix_tree_lookup_slot which returns pointer to found item within the tree. That location can be then updated. Both Nick and Christoph Lameter have patches which need this as well. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7361f4d8ca65d23a18ba009b4484612183332c2f tree 7e3dcf22f7d191bcbeb78eb633ae067a76163124 parent bf8f972d3a1daf969cf44f64cc36d53bfd76441f author Andrew Morton Mon, 07 Nov 2005 00:59:28 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:37 -0800 [PATCH] readahead commentary Add a few comments surrounding the generic readahead API. Also convert some ulongs into pgoff_t: the identifier for PAGE_CACHE_SIZE offsets into pagecache. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf8f972d3a1daf969cf44f64cc36d53bfd76441f tree c3f0ac2f789c695d13858171144aa5f4ecdc84c1 parent d8ba3b731086bcae5468f9ea509f39a921b3f9a6 author Badari Pulavarty Mon, 07 Nov 2005 00:59:27 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:37 -0800 [PATCH] SHM_NORESERVE flags for shmget() Add SHM_NORESERVE functionality similar to MAP_NORESERVE for shared memory segments. This is mainly to avoid abuse of OVERCOMMIT_ALWAYS and this flag is ignored for OVERCOMMIT_NEVER. Signed-off-by: Badari Pulavarty Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8ba3b731086bcae5468f9ea509f39a921b3f9a6 tree cf75a8ea1bad960b431dccceae83b4ac09729399 parent 274b69335d8f18fe198af2d939331f01fec70659 author Christoph Hellwig Mon, 07 Nov 2005 00:59:26 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:37 -0800 [PATCH] fuse: remove dead code from fuse_permission The -EROFS check has moved up to permission() in the VFS a while ago. Signed-off-by: Christoph Hellwig Acked-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 274b69335d8f18fe198af2d939331f01fec70659 tree 05dbd9781e7554c2ee320290948b22cd13d238bc parent e2a8f7a129aff5173c238c8896f004e07a2a3abe author Abhay Salunke Mon, 07 Nov 2005 00:59:26 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:36 -0800 [PATCH] dell_rbu: Adding BIOS memory floor support This patch has the changes to support the memory floor fix done in Dell BIOS. The BIOS incase of packet update mechanism would not accept packet placed in memory below a cretain address. This address is by default 128K but can change. The driver now can accept the memory floor if the user chooses to make it will try to allocate contiguous physical memory above the memory floor by allocating a set of packets till a valid memory allocation is made. All the allocates then are freed. This repeats for everty packet. This patch was created by Michael E Brown and has been tested on 2.6.14-rc5 Signed-of-by: Michael E Brown Signed-off-by: Abhay Salunke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2a8f7a129aff5173c238c8896f004e07a2a3abe tree ad6be2d5d3799c356cbb92f7859b01c9b038ccfb parent ccb6e363a68144cdfdaa6d964d63d620c8ac9a9b author Kylene Jo Hall Mon, 07 Nov 2005 00:59:25 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:36 -0800 [PATCH] tpm: Fix lack of driver_unregister in init failcases driver_unregister is not being properly called when the init function returns an error case. Restructured the return logic such that this and the other cleanups all happen in one place. Preformed many of the cleanups that Andrew Morton's patch on Thursday made in tpm_atmel.c. Fixed Matthieu's concern about writing before discovery. (akpm: rmk said: This driver is buggy. You must not provide your own release function - it doesn't solve the problem which the warning (which you get when you don't provide one) is telling you about. You should convert your device driver over to the replacement dynamic platform support, once it is merged. IOW, something like: pdev = platform_device_alloc("mydev", id); if (pdev) { err = platform_device_add_resources(pdev, &resources, ARRAY_SIZE(resources)); if (err == 0) err = platform_device_add_data(pdev, &platform_data, sizeof(platform_data)); if (err == 0) err = platform_device_add(pdev); } else { err = -ENOMEM; } if (err) platform_device_put(pdev); ) Signed-off-by: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ccb6e363a68144cdfdaa6d964d63d620c8ac9a9b tree c7a412727aa338fdfbf9f8ae6c46205852eeb7f0 parent 6f08b72cdd4b99a190c4e1fcddd63b401e5b572d author Adrian Bunk Mon, 07 Nov 2005 00:59:23 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:36 -0800 [PATCH] fs/smbfs/request.c: turn NULL dereference into BUG() In a case documented as We should never be called with any of these states BUG() in a case that would later result in a NULL pointer dereference. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f08b72cdd4b99a190c4e1fcddd63b401e5b572d tree b872d31a8f05f66fa3d00cf1271582dc0d354c7c parent 64698b694db96b8db6f379de7d2040f61c6fc7bf author Kirill Smelkov Mon, 07 Nov 2005 00:59:23 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:36 -0800 [PATCH] serial moxa: fix wrong BUG There is a wrong BUG in mxser_close. The BUG is triggered when tty->driver_data == NULL, But in fact this is not a bug, because tty->driver->close is called even when tty->driver->open fails. LDD3 tells us to do nothing in such cases. Signed-off-by: Kirill Smelkov Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64698b694db96b8db6f379de7d2040f61c6fc7bf tree 06f3ed29fc2971f0861feb9b6474474a6a31d508 parent 57432345b644ef92dcd0a378db6bc40ab0e7f314 author Kirill Smelkov Mon, 07 Nov 2005 00:59:22 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:36 -0800 [PATCH] serial moxa: fix leaks of struct tty_driver Fix leak of struct tty_driver in mxser_init & mxser_module_exit Signed-off-by: Kirill Smelkov Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57432345b644ef92dcd0a378db6bc40ab0e7f314 tree 449bd88a928f228db3b52bba5975ed809ccc32b7 parent b9b0332fcf122809b9e40e2f0051eebb295ededf author Kirill Smelkov Mon, 07 Nov 2005 00:59:20 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:36 -0800 [PATCH] serial moxa: cleanup mxser_init Remove explicit tty_driver ops initialisation, because this is already done by tty_set_operations. Signed-off-by: Kirill Smelkov Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b9b0332fcf122809b9e40e2f0051eebb295ededf tree cce7cd1ec4459233f3dbe147d964c496c4dd43c2 parent 878129a30435920f74346907baeee68a0be147b8 author Bob Picco Mon, 07 Nov 2005 00:59:19 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:36 -0800 [PATCH] HPET, Maintainers This patch identifies the HPET Maintainers. Clemens in taking over as primary maintainer for the HPET driver. Clemens has i386 hardware with HPET and is a better choice than me because of this. I've shared this patch with all cc: recipients and there is agreement on ownership. Hopefully this eliminates future confusion in terms of where HPET maintenance is owned. Signed-off-by: Bob Picco Cc: Cc: Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 878129a30435920f74346907baeee68a0be147b8 tree 56bcd9a73398f6b44db7c74ebace532e11419b71 parent 665a7583f32ab5b3bfe7a4d88da506542f7cdd75 author Lennert Buytenhek Mon, 07 Nov 2005 00:59:18 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:36 -0800 [PATCH] hfs needs nls Reported by Eddy Petrisor fs/built-in.o(.text+0x35fdc): In function `hfs_mdb_put': : undefined reference to `unload_nls' fs/built-in.o(.text+0x35ff1): In function `hfs_mdb_put': : undefined reference to `unload_nls' fs/built-in.o(.text+0x367a5): In function `parse_options': super.c: undefined reference to `load_nls' fs/built-in.o(.text+0x367db):super.c: undefined reference to `load_nls' fs/built-in.o(.text+0x36938):super.c: undefined reference to `load_nls_default' Signed-off-by: Lennert Buytenhek Acked-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 665a7583f32ab5b3bfe7a4d88da506542f7cdd75 tree 2b45def3f7ecaf322b05622a635510fe8aef51af parent 9f46080c41d5f3f7c00b4e169ba4b0b2865258bf author Paul E. McKenney Mon, 07 Nov 2005 00:59:17 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:35 -0800 [PATCH] Remove hlist_for_each_rcu() API, convert existing use to hlist_for_each_entry_rcu Remove the hlist_for_each_rcu() API, which is used only in one place, and is trivially converted to hlist_for_each_entry_rcu(), making the code shorter and more readable. Any out-of-tree uses may be similarly converted. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f46080c41d5f3f7c00b4e169ba4b0b2865258bf tree e2c029ef7f0cd5fb8ea9b78db3f7be5badaf59b1 parent 49364ce2534418462d681ad99e52e79a00b0f40b author Matt Helsley Mon, 07 Nov 2005 00:59:16 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:35 -0800 [PATCH] Process Events Connector This patch adds a connector that reports fork, exec, id change, and exit events for all processes to userspace. It replaces the fork_advisor patch that ELSA is currently using. Applications that may find these events useful include accounting/auditing (e.g. ELSA), system activity monitoring (e.g. top), security, and resource management (e.g. CKRM). Signed-off-by: Matt Helsley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49364ce2534418462d681ad99e52e79a00b0f40b tree 0eacbe38add427ee9fd1e67f465510c8c2ceb638 parent cd6b0762a04978baf48412456a687842de97e381 author Andrew Morton Mon, 07 Nov 2005 00:59:15 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:35 -0800 [PATCH] write_inode_now(): write inode if not BDI_CAP_NO_WRITEBACK If the backing_dev_info doesn't have BDI_CAP_NO_WRITEBACK we're not supposed to write back an inode's pages. But in this situation write_inode_now() refuses to write the inode itself as well. Fix. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd6b0762a04978baf48412456a687842de97e381 tree 86978ae5a1e00c6ab6d0a3f58e37f85de079a2b8 parent 78512ece148992a5c00c63fbf4404f3cde635016 author Prasanna S Panchamukhi Mon, 07 Nov 2005 00:59:14 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:35 -0800 [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu Andrew Morton suggested to move kprobes from kernel hacking menu, since kernel hacking menu is in-appropriate for the Kprobes. This patch moves Kprobes and Oprofile under instrumentation menu. (akpm: it's not a natural fit, but things like djprobes and the s390 guys' statistics library need a home) Signed-of-by: Prasanna S Panchamukhi Cc: Philippe Elie Cc: John Levon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78512ece148992a5c00c63fbf4404f3cde635016 tree 0493561baab61e79aee4cf23a8ce5b01c360e7d9 parent 0ad775dbba12de3b7d25f586efe81ad995ca75a7 author Andrew Morton Mon, 07 Nov 2005 00:59:13 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:35 -0800 [PATCH] serial console: touch NMI watchdog Large console spews from IRQ or local_irq_disable() sections can cause the NMI watchdog to go off. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ad775dbba12de3b7d25f586efe81ad995ca75a7 tree 4fb33dc988fde1c8fc9088b40c62002fa4793aa2 parent a5da866fe0272db6b664d4c790ad98320bf2feb6 author Heiko Carstens Mon, 07 Nov 2005 00:59:12 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:34 -0800 [PATCH] s390: merge common parts of head.S and head64.S Merge common parts of head.S and head64.S into head.S and move architecture specific parts to head31.S and head64.S respectively. Saves us ~500 lines of duplicated assembly code. Acked-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5da866fe0272db6b664d4c790ad98320bf2feb6 tree cdb6baee87de4f2ff8034c6fbdb0aa9da02b0ab6 parent 1047aa7723997620ba03a21429d2c5d923ebf48f author Christian Borntraeger Mon, 07 Nov 2005 00:59:12 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:34 -0800 [PATCH] s390: fix memory leak in vmcp If vmcp is interrupted by a signal the vmcp command buffer is not freed. Found by Pete Zaitcev. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1047aa7723997620ba03a21429d2c5d923ebf48f tree a0c5f4cf585833262e959d5d0c8be91ebb3932e0 parent cdb32dc90bd38503befd1f4d0b762a1ace09bb28 author Martin Schwidefsky Mon, 07 Nov 2005 00:59:11 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:34 -0800 [PATCH] s390: const pointer uaccess Using __typeof__(*ptr) on a pointer to const makes the __x variable in __get_user const as well. The latest gcc will refuse to write to it. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdb32dc90bd38503befd1f4d0b762a1ace09bb28 tree 8db0224bf8cfe8e3b8efa58493f39f34ccb79645 parent 4cd5b9f6df96494b8667deea71b61b66f783cca3 author Ursula Braun-Krahl Mon, 07 Nov 2005 00:59:10 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:34 -0800 [PATCH] s390: duplicate timeout in qdio Remove duplicate timeout in qdio_establish(). Signed-off-by: Ursula Braun-Krahl Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4cd5b9f6df96494b8667deea71b61b66f783cca3 tree b8a1be3ed691c0624777c00317bfecc86fd3d1b5 parent 1e0291bade7678efe4d3ab70ed14bd7bd216bcef author Peter Oberparleiter Mon, 07 Nov 2005 00:59:09 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:34 -0800 [PATCH] s390: cleanup of include/asm-s390/vtoc.h Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e0291bade7678efe4d3ab70ed14bd7bd216bcef tree 5f8a47c016e2f84fcb22c106666c680e7b19173c parent 86b368a5804d05a6508791f10ebabf7b779eb845 author Peter Oberparleiter Mon, 07 Nov 2005 00:59:08 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:34 -0800 [PATCH] s390: dasd diag with block sizes > 512 Access to FBA disks via DIAG fails for block sizes > 512 byte. The device analysis code of the DIAG discipline does not properly initialize the DIAG250 device environment after completion of the analysis. This results in VM only serving 512 bytes per block I/O request whereas Linux expects larger block sizes. Add proper device environment setup to end of analysis code. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86b368a5804d05a6508791f10ebabf7b779eb845 tree cb020d47b3f0081b9a9ec1a6ff0ddc1aa9eb55d4 parent 187dfc67b461058bbb84a923a17871ed54e10f30 author Peter Oberparleiter Mon, 07 Nov 2005 00:59:08 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:34 -0800 [PATCH] s390: dasd diag inline assembly Future versions of gcc may remove initialization code for control blocks used by the diag250 inline assembly due to incompletely specified constraints. This may lead to erratic behavior. Fix the diag250 inline assembly constraints. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 187dfc67b461058bbb84a923a17871ed54e10f30 tree 857b572a17c221a2c08e195f012fb68655514d60 parent d4b68996785326a67e9842219ab69984243ec658 author Christian Borntraeger Mon, 07 Nov 2005 00:59:07 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:34 -0800 [PATCH] s390: test_bit return value The test_bit function returns a non-boolean value, it returns 0,1,2,4,... instead of only 0 or 1. This causes wrongs results in the mincore system call. Check against 0 to get a proper boolean value. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4b68996785326a67e9842219ab69984243ec658 tree ed929419af82f8086e82aa6dd190712a3493d122 parent a0016408f2428225f1532cbf63ca1c7008e1cc93 author Martin Schwidefsky Mon, 07 Nov 2005 00:59:06 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:33 -0800 [PATCH] s390: remove pagex support Remove pagex pseudo page fault code. It does not work together with the system call speedup that makes the complete system call path enabled for interrupts. To make pagex and the syscall speedup code work together we would have to add code to the program check handler to do a critical section cleanup like the asynchronous interrupt code. This would make program checks slower. Not what we want. Newer versions of z/VM have the improved pfault pseudo page fault interface. This replaces the old pagex interface and does not have the problem. So its better to just rip out the pagex code. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0016408f2428225f1532cbf63ca1c7008e1cc93 tree 2454191b8a77b79c7774c3ff143ca4abf6dcd852 parent 9b4554aa21270f5b6fa19a9dd2285f16e11f15f1 author Cornelia Huck Mon, 07 Nov 2005 00:59:05 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:33 -0800 [PATCH] s390: ccwgroup online attribute Make the interface for setting ccw group devices on-/offline consistent with that for ccw devices: Check if the device driver provided a set_{on,off}line function and just set the device on-/offline if not. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b4554aa21270f5b6fa19a9dd2285f16e11f15f1 tree 48624f0a859445f6e28b45c5d4c64ef144e16f10 parent 373c491f6d15f29ab2f87d4a60f90cb0b770aaf6 author Heiko Carstens Mon, 07 Nov 2005 00:59:04 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:33 -0800 [PATCH] s390: memory query wait psw Don't switch back to 24 bit addressing mode when waiting for an external interrupt and set the correct bit in wait PSW (external mask instead of I/O mask). Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 373c491f6d15f29ab2f87d4a60f90cb0b770aaf6 tree c53b4ae56160e7e2cbcdc80be6dba99d50e24498 parent 1b44e98d7d0754bbcf0222baf179f5e2e3dbea7b author Cornelia Huck Mon, 07 Nov 2005 00:59:03 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:32 -0800 [PATCH] s390: documentation update Fix typos and add a section about cpus in the driver-model documentation. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b44e98d7d0754bbcf0222baf179f5e2e3dbea7b tree c4e69506205a175fa9675e5dcec1ad4944c4b87a parent e1c3ad96f662bf1071a71feffadfe0f7604f14e2 author Martin Schwidefsky Mon, 07 Nov 2005 00:59:02 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:32 -0800 [PATCH] s390: stop_hz_timer vs. xtime updates The calculation of the value return by next_timer_interrupt from jiffies to jiffies_64 is racy against xtime updates. We need to protect the calculation with read_seqbegin/read_seqretry. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1c3ad96f662bf1071a71feffadfe0f7604f14e2 tree 8cb48c1880ff35d686a5300a7d4879111fdec8c2 parent aa3a6f456f6ca162d3406a6e2c09a5c928833e4f author Heiko Carstens Mon, 07 Nov 2005 00:59:02 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:32 -0800 [PATCH] s390: signal delivery Always create all signal frames for pending signals before returning to userspace, not just a single one. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa3a6f456f6ca162d3406a6e2c09a5c928833e4f tree 4a00d3d18f2a1f0615752ce85a343c0dffa55e37 parent 23f88fe4bffe01a0d29326789cb5813cd6f8158e author Arthur Othieno Mon, 07 Nov 2005 00:59:01 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:32 -0800 [PATCH] xtensa: struct semaphore.sleepers initialization No one may sleep on us until we've been down()'d. So on allocation, initialize `sleepers' to 0, just like everyone else does. Signed-off-by: Arthur Othieno Acked-by: Christian Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23f88fe4bffe01a0d29326789cb5813cd6f8158e tree 163c8a86cbc059e3f8a65eeb0c1ee366548e595c parent 26d89d1eef38473d0da64b7137952c56d0b6d13f author Adrian Bunk Mon, 07 Nov 2005 00:59:00 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:32 -0800 [PATCH] include/asm-v850/ "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 26d89d1eef38473d0da64b7137952c56d0b6d13f tree e59b79d9dd0fd56510701609a18fd879803b6b53 parent 353f8d1cd5b8540c1591f00a5cbd3aeca699cfcf author Paolo 'Blaisorblade' Giarrusso Mon, 07 Nov 2005 00:58:59 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:32 -0800 [PATCH] uml: build host-binaries with the native host arch again This patch reverts back the changes to HOSTCFLAGS and HOSTLDFLAGS When we were building complete binaries to get constants (such as ptrace register layout on stack) from host userspace headers, we needed to make the arch for building HOST binaries match our one: i.e. on a 64bit system compiling 32bit binaries, we compile 32-bit hostprogs and need, say, 32-bit ncurses. Now we can revert that - that avoids problem with, say, menuconfig and ncurses, on a system which can't compile well 32-bit programs. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 353f8d1cd5b8540c1591f00a5cbd3aeca699cfcf tree 4bd57d623792b6dc912d6aaed4f6e3b601ce5963 parent 77cc0db46e5d04b476e1984134892edb86cda8e6 author Paolo 'Blaisorblade' Giarrusso Mon, 07 Nov 2005 00:58:58 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:32 -0800 [PATCH] uml: fix hardcoded ZONE_* constants in zone setup Remove usage of hardcoded constants in paging_init(). By chance I spotted a bug in zones_setup involving a change to ZONE_* constants, due to the ZONE_DMA32 patch from Andi Kleen (which is in -mm). So, possibly, instead of zones_size[2] you will find zones_size[3] in the code, but that change is wrong and this patch is still correct. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77cc0db46e5d04b476e1984134892edb86cda8e6 tree df36e472a0d51bb50e31889e019d7ce3602855ab parent ae17381608a11781a6a67e0ce51607f36780aac7 author Jeff Dike Mon, 07 Nov 2005 00:58:57 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:32 -0800 [PATCH] uml: make tt mode-dependent options depend on MODE_TT This makes some of the tt-specific options actually depend on CONFIG_MODE_TT. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae17381608a11781a6a67e0ce51607f36780aac7 tree e4bd104cb7f3728f2e91646d4def091f8f933447 parent 858259cf7d1c443c836a2022b78cb281f0a9b95e author Jeff Dike Mon, 07 Nov 2005 00:58:57 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:31 -0800 [PATCH] uml: big memory fixes A number of fixes to improve behavior when large physical memory sizes are specified: - libc files need -D_FILE_OFFSET_BITS=64 because there are unavoidable uses of non-64 interfaces in libc - some %d need to be %u Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 858259cf7d1c443c836a2022b78cb281f0a9b95e tree 7d306450dd0dfa907bbee1d95f96191c67f74232 parent e763b793f7e5c09a859fc420eb0de385d80cf636 author Bodo Stroesser Mon, 07 Nov 2005 00:58:55 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:31 -0800 [PATCH] uml: maintain own LDT entries Patch imlements full LDT handling in SKAS: * UML holds it's own LDT table, used to deliver data on modify_ldt(READ) * UML disables the default_ldt, inherited from the host (SKAS3) or resets LDT entries, set by host's clib and inherited in SKAS0 * A new global variable skas_needs_stub is inserted, that can be used to decide, whether stub-pages must be supported or not. * Uses the syscall-stub to replace missing PTRACE_LDT (therefore, write_ldt_entry needs to be modified) Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e763b793f7e5c09a859fc420eb0de385d80cf636 tree dd6a0fe2abe51339c7a3296c34d19efb3e928ff4 parent ff5c6ff54215fe284e515032878111de5d8a5ce1 author Ben Lahaise Mon, 07 Nov 2005 00:58:52 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:31 -0800 [PATCH] uml: switch_mm fix Not quite, something along the lines of the patch below works correctly (and makes aio performance not suffer from multiple second delays), as skas0 mode correctly switches mm contexts, unlike TT (which should probably get nuked from the kernel now that skas0 seems to be working). Signed-off-by: Benjamin LaHaise Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff5c6ff54215fe284e515032878111de5d8a5ce1 tree ecf5e2eaacc9f45f5227b50d8bfaaf82e15b9647 parent 52c653b3bed323df9006c06cdfb4548ec44b3109 author Jeff Dike Mon, 07 Nov 2005 00:58:51 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:31 -0800 [PATCH] uml: separate libc-dependent helper code The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from helper.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52c653b3bed323df9006c06cdfb4548ec44b3109 tree 0a1286d8569c92f19007c4add1b00f6f6e517761 parent bb578426253ab9950cc20b4e5dd6aefb5500144f author Jeff Dike Mon, 07 Nov 2005 00:58:50 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:31 -0800 [PATCH] uml: separate libc-dependent early initialization The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from main.c file under os-Linux dir and joins mem.c and um_arch.c files. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb578426253ab9950cc20b4e5dd6aefb5500144f tree cd1b874512440f739dc555a40efb5edd51de275b parent 0e76422ca5f34bb43b97c0945646ef072bcc1776 author Gennady Sharapov Mon, 07 Nov 2005 00:58:50 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:31 -0800 [PATCH] uml: separate libc-dependent uaccess code The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from uaccess_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e76422ca5f34bb43b97c0945646ef072bcc1776 tree ebd8509a9e94b01121c3da1b44a4df02ef60f973 parent 4f0272415ad1867cea2a7ef5659769243ae50fbe author Bodo Stroesser Mon, 07 Nov 2005 00:58:47 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:30 -0800 [PATCH] uml: fix UML network driver endianness bugs ifa->ifa_address and ifa->ifa_mask are defined as __u32, but used as if they were char[4]. Network code uses htons() to convert it. So UML's method to access these fields is wrong for bigendians (e.g. s390) I replaced bytewise copying by memcpy(), maybe even that might be removed, if ifa->ifa_address/mask may be used immediately. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f0272415ad1867cea2a7ef5659769243ae50fbe tree 5daba11ac90defc604399aa7ff41fa11b8cd088a parent 953206858070e5921b9d5931c293ec983a6790cb author Paolo 'Blaisorblade' Giarrusso Mon, 07 Nov 2005 00:58:46 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:30 -0800 [PATCH] uml: fix syscall stubs Jeff Dike noted that the assembly code for syscall stubs is misassembled with GCC 3.2.3: the values copied in registers weren't preserved between one asm() and the following one. So I fixed the thing by rewriting the __asm__ constraints more like unistd.h ones. Note: in syscall6 case I had to add one more instruction (i.e. moving arg6 in eax and shuffling things around) - it's needed for the function to be valid in general (we can't load the value from the stack, relative to ebp, because we change it), but could be avoided since we actually use a constant as param 6. The only fix would be to turn stub_syscall6 to a macro and use a "i" constraint for arg6 (i.e., specify it's a constant value). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 953206858070e5921b9d5931c293ec983a6790cb tree 9caf1d094ee6f001856d5c433b3c60f309c9da98 parent d9b5444eeb3a663ca4a625878b1421c9e9b18e8b author Jeff Dike Mon, 07 Nov 2005 00:58:45 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:30 -0800 [PATCH] uml: improve stub debugging Add some more debugging information when a stub does something unexpected, usually segfaulting. Now, it dumps out the stub's registers as well as the signal. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9b5444eeb3a663ca4a625878b1421c9e9b18e8b tree 6cc32711116977944043c54e0c196c75358916be parent 5f9c3cbcd5d41be597aef9c0ff64ebfc8a91cd6f author Adrian Bunk Mon, 07 Nov 2005 00:58:44 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:30 -0800 [PATCH] cris: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Acked-by: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f9c3cbcd5d41be597aef9c0ff64ebfc8a91cd6f tree dff52a6eb5b3cb7e9968240945f06fea02f4251f parent 31ab269a0307d8725737dfbbdeb5dcde7b41bc36 author Arthur Othieno Mon, 07 Nov 2005 00:58:43 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:30 -0800 [PATCH] cris: printk() duplicate declaration printk() already declared in include/linux/kernel.h so squish the duplication. Besides, no printk() usage here. Bye bye. Signed-off-by: Arthur Othieno Cc: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31ab269a0307d8725737dfbbdeb5dcde7b41bc36 tree 15bfdaddcb3831d30e6d34caa54356b63adc61ae parent 47b90ffe5c10ab9b5cfd14087b28b13109673ee5 author Shaohua Li Mon, 07 Nov 2005 00:58:42 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:30 -0800 [PATCH] x86: add MCE resume It's widely seen a MCE non-fatal error reported after resume. It seems MCE resume is lacked under ia32. This patch tries to fix the gap. Signed-off-by: Shaohua Li Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47b90ffe5c10ab9b5cfd14087b28b13109673ee5 tree 423c789290ef8eada4916f540c3e8f0be06316d1 parent dc19d507b17135069d9c5d6093d4458dc60e1861 author Pavel Machek Mon, 07 Nov 2005 00:58:41 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:29 -0800 [PATCH] swsusp: remove unused variable Remove unused variable, and make code less evil that way. Fix whitespace around for-loop-like macro. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc19d507b17135069d9c5d6093d4458dc60e1861 tree a5913fbd1185b3af5463a90aca59fe902aba2f73 parent 36fabc248e5466e3f28897819b0400b5cdbb8dc6 author Pavel Machek Mon, 07 Nov 2005 00:58:40 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:29 -0800 [PATCH] swsusp cleanups This cleans spaces between * and pointer up, and adds "int" in "unsigned int". Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36fabc248e5466e3f28897819b0400b5cdbb8dc6 tree 67dad93f37daede380aa205eec3bf4fe4c098435 parent a4c4af7c8dc1eccdfb8c57e1684f08179b4407e6 author Pavel Machek Mon, 07 Nov 2005 00:58:39 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:29 -0800 [PATCH] suspend-to-ram: update docs This adds few more working systems. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4c4af7c8dc1eccdfb8c57e1684f08179b4407e6 tree 210773f292da3ba85818402f1945ee7b14ba8c71 parent cc658cfe3c66a6124b5a8db90cdcdd440201b1dc author Heiko Carstens Mon, 07 Nov 2005 00:58:38 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:29 -0800 [PATCH] cpu hoptlug: avoid usage of smp_processor_id() in preemptible code Replace smp_processor_id() with any_online_cpu(cpu_online_map) in order to avoid lots of "BUG: using smp_processor_id() in preemptible [00000001] code:..." messages in case taking a cpu online fails. All the traces start at the last notifier_call_chain(...) in kernel/cpu.c. Since we hold the cpu_control semaphore it shouldn't be any problem to access cpu_online_map. The reason why cpu_up failed is simply that the cpu that was supposed to be taken online wasn't even there. That is because on s390 we never know when a new cpu comes and therefore cpu_possible_map consists of only ones and doesn't reflect reality. Signed-off-by: Heiko Carstens Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc658cfe3c66a6124b5a8db90cdcdd440201b1dc tree 535d8c7583ce8fb003207f07585d9acab995a3b3 parent 5cc6135af73ad0c7897d1d00ff361e510ac23ccb author Adrian Bunk Mon, 07 Nov 2005 00:58:37 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:29 -0800 [PATCH] arch/i386/kernel/scx200.c should #include Every file should #include the header files containing the prototypes of its global functions Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5cc6135af73ad0c7897d1d00ff361e510ac23ccb tree 8afa9cd89240226e1633c8082b12dd762a5705ca parent 8d1ed6366b9f3cb54eb5aef5dae79b39b8d5ce43 author Adrian Bunk Mon, 07 Nov 2005 00:58:36 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:29 -0800 [PATCH] arch/i386/kernel/reboot_fixups.c should #include Every file should #include the header files containing the prototypes of its global functions Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d1ed6366b9f3cb54eb5aef5dae79b39b8d5ce43 tree 61473905fcbebf0895c9dca8ba784d678ad369b7 parent 77f72b192fd4624ad639dbf60c48be787c8aea59 author Adrian Bunk Mon, 07 Nov 2005 00:58:35 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:29 -0800 [PATCH] arch/i386/kernel/ldt.c should #include Every file should #include the header files containing the prototypes of its global functions Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77f72b192fd4624ad639dbf60c48be787c8aea59 tree 1d0d2d224dffad9f8c8e1e7cba0843d2d0899640 parent 38e548ee1a79c8da7b3d9e26f2adce9b61413f84 author Zwane Mwaikambo Mon, 07 Nov 2005 00:58:33 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:28 -0800 [PATCH] i386: LVT entries remaining unmasked on reboot Excerpt from bugzilla entry http://bugzilla.kernel.org/show_bug.cgi?id=5518 "i386 version of Reboot-through-BIOS is unsafe: it forgets to mask APIC LVT interrupts before jumping to a BIOS entry point. As a result, BIOS ends up bombarded with interrupts early on boot. The BIOS does not expect it since following a "normal" hardware cpu reset, all APIC LVT registers have the Mask bit (16) set and can't generate interrupts. For example, the version of Phoenix BIOS used by VMware enables interrupts for the first time before masking/clearing APIC LVT. The APIC Timer LVT register is still set up for a timer interrupt delivery with a high vector from the previous Linux incarnation (0xef in our case). The BIOS has not fully initialized its IDT at this point and the real mode gate for 0xef remains all zeros. Vector 0xef dispatches BIOS to address 0:0, BIOS takes a #GP and eventually hangs. machine_shutdown() does attempt to shut down APIC before jumping to BIOS, but it is ineffective" Signed-off-by: Zwane Mwaikambo Cc: "Seth, Rohit" Cc: Zachary Amsden Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38e548ee1a79c8da7b3d9e26f2adce9b61413f84 tree 1811dc06acbba9d9bccebe6ad3fc495e96862e60 parent 0d6d82b6712c808e461090dd483f111f72b3b38b author Tobias Klauser Mon, 07 Nov 2005 00:58:31 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:28 -0800 [PATCH] arch/i386: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d6d82b6712c808e461090dd483f111f72b3b38b tree b1450b08d1eb638865921d0b1020af0b579f7435 parent 65463b73b14ed43368dc5961a6c3dcb0d98cfe1f author Paul Mundt Mon, 07 Nov 2005 00:58:28 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:28 -0800 [PATCH] sh: Use pfn_valid() for lazy dcache write-back on SH7705 SH7705 in extended cache mode has some left-over VALID_PAGE() cruft that it checks when doing lazy dcache write-back. This has been gone for some time (the last bits were in the discontig code, which should now also be gone -- this also fixes up a build error in the non-discontig case). pfn_valid() gives the desired behaviour, so we switch to that. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 65463b73b14ed43368dc5961a6c3dcb0d98cfe1f tree cc1e0537b35d119d081e2835c9e5c8b3dfc15060 parent d229401f130941583eb46a2e8886df61241c14eb author Paul Mundt Mon, 07 Nov 2005 00:58:24 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:28 -0800 [PATCH] sh: Drop hp690 discontig support There was only one board using this (hp690 specifically), and it just so happens that it's only physically discontiguous at the "normal" P1 offset. If we bump up the P1 offset, it's possible to hit a shadowed region of memory where we suddenly become magically contiguous. As people have been using this shadowed region workaround for quite some time (and without any adverse effects), it's time to drop the left over discontig bits that no longer have any practical use (it was always very much hp690-centric to begin with). Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d229401f130941583eb46a2e8886df61241c14eb tree 1f51fe9ee16695b89efea56ea46f7966ceba2738 parent d5cb9783536a41df9f9cba5b0a1d78047ed787f7 author Paul Mundt Mon, 07 Nov 2005 00:58:23 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:28 -0800 [PATCH] sh: pte_mkhuge() compile fix for !CONFIG_HUGETLB_PAGE Presently it is bogus to call pte_mkhuge() outside of the CONFIG_HUGETLB_PAGE context, as the only processors that support _PAGE_SZHUGE do so in the hugetlbpage context only (and this is the only time that _PAGE_SZHUGE is even defined). SH-2 and SH-3 do not support huge pages at all, and so it is not possible to enable this. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5cb9783536a41df9f9cba5b0a1d78047ed787f7 tree ca7d7c6ee3e786a4b81adde701454209acd457c5 parent 055a2512144cd7e60dcaae7a13e460df43b98787 author Paul Mundt Mon, 07 Nov 2005 00:58:22 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:28 -0800 [PATCH] sh: SuperHyway support for SH4-202 This adds support for the relatively quirky (ie, not in line with any known documentation, and amazed it works at all) SuperHyway implementation on SH4-202. This depends on the earlier SuperHyway patch for multiple block support and VCR refactoring. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 055a2512144cd7e60dcaae7a13e460df43b98787 tree bf304d17352f1b3b59edb35a6f67672c6490caa1 parent 72777373b3a09c9132a787d5e1e03eaf64f30a64 author Paul Mundt Mon, 07 Nov 2005 00:58:21 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:28 -0800 [PATCH] superhyway: multiple block support and VCR rework This extends the API somewhat to allow for platform-specific VCR reading and writing. Some platforms (like SH4-202) implement the VCR in a split VCRL and VCRH, but end up being in reverse order or have other quirks that need to be dealt with, so we add a set of superhyway_ops per-bus to accomodate this. We also have to extend the per-device resources somewhat, as some devices now conveniently split control and data blocks. So we allow a platform to register its set of SuperHyway devices via superhyway_add_devices() with the control block always ordered as the first resource (as this is the one that userspace cares about). Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72777373b3a09c9132a787d5e1e03eaf64f30a64 tree d462df099f43b2e9af49393e5dfd4f54bdc071aa parent e87eaad107d3c0fa81bf9de84f0fe2b7eaaf1fb9 author Paul Mundt Mon, 07 Nov 2005 00:58:20 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:27 -0800 [PATCH] sh: Drop deprecated support for custom ramdisk embedding sh had its own support for embedding ramdisk images in to the kernel binary, but people are using initramfs for this now, so we drop the ramdisk embedding. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e87eaad107d3c0fa81bf9de84f0fe2b7eaaf1fb9 tree 0664a672fed959bd354514bee281957555471884 parent de672e4ade25502c28486da005be3eb79534017d author Paul Mundt Mon, 07 Nov 2005 00:58:19 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:27 -0800 [PATCH] sh: Re-add sh to drivers/Makefile drivers/sh/ got dropped from drivers/Makefile, so add it back in.. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de672e4ade25502c28486da005be3eb79534017d tree 894dbb30ec7ef3c96e2b01106adc7b778652f280 parent 634e67ff917c079b102317d53556d758dc207969 author Pantelis Antoniou Mon, 07 Nov 2005 00:58:17 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:27 -0800 [PATCH] ppc32: Add CPM1 config option Kconfig patch needed by fs_enet to work. Works like CONFIG_CPM2. Cc: Kumar Cc: Benjamin Herrenschmidt Cc: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 634e67ff917c079b102317d53556d758dc207969 tree edf6b4de804e04e610b9aec7ed8dac0a8a3c8e42 parent 7869ec6d735e3802f0d442f585ae6bb7633222f6 author Matt Porter Mon, 07 Nov 2005 00:58:16 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:27 -0800 [PATCH] ppc32: Add missing initrd header on ppc440 This missing initrd header slipped though last time. Signed-off-by: Stefan Roese Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7869ec6d735e3802f0d442f585ae6bb7633222f6 tree 94860fe4b69524dffcba80c01ecd9f3dc543784c parent 3e9e7c1d0b7a36fb8affb973a054c5098e27baa8 author Matt Porter Mon, 07 Nov 2005 00:58:16 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:27 -0800 [PATCH] ppc32: Remove internal PCI arbiter check on PPC40x On PPC405GP/GPR it should be possible to enable PCI support, even when the internal PCI arbiter is disabled (e.g. when using an external PCI arbiter). The removed code didn't allow this, and also generated a warning on PPC405EP platforms. Signed-off-by: Stefan Roese Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e9e7c1d0b7a36fb8affb973a054c5098e27baa8 tree b6fb8644555bd820756bf599ac84433a9eb1eda2 parent 90eb2665841d7b444602736e2141a01c948f75b1 author Matt Porter Mon, 07 Nov 2005 00:58:15 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:26 -0800 [PATCH] ppc32: cleanup AMCC PPC40x eval boards to support U-Boot Cleanup PPC40x eval boards (bubinga, walnut and sycamore) to support U-Boot as bootloader. The OpenBIOS bd_info struct is not used in the kernel anymore (only U-Boot now). uImage (U-Boot) tested on walnut, sycamore and bubinga zImage (OpenBIOS) tested on sycamore, bubinga and ebony Signed-off-by: Stefan Roese Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90eb2665841d7b444602736e2141a01c948f75b1 tree 91300cf853d68a68dcefd62d7bdee28b5a441162 parent b0f7b8bc57ee90138a7c429951457027a90c326f author Roland Dreier Mon, 07 Nov 2005 00:58:14 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:26 -0800 [PATCH] ppc32: Add Yucca (440SPe eval board) platform Add support for AMCC PowerPC 440SPe "Yucca" eval board platform. Signed-off-by: Roland Dreier Cc: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0f7b8bc57ee90138a7c429951457027a90c326f tree 07f320bf7d240273faf64d02069488fb29761ae8 parent 41aace4fe81e3da52fa80b8380e5d2d084f77691 author Roland Dreier Mon, 07 Nov 2005 00:58:13 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:26 -0800 [PATCH] ppc32: Add 440SPe support Add support for the AMCC PowerPC 440SPe SoC, including PCI Express in root port mode. Signed-off-by: Roland Dreier Cc: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41aace4fe81e3da52fa80b8380e5d2d084f77691 tree d98b965682efa0e940d9564eafdd8eb69e616ffe parent fcc188e7fdddd8b23f900e485e6b3db05e7375f4 author Roland Dreier Mon, 07 Nov 2005 00:58:12 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:26 -0800 [PATCH] ppc32: Dump error status for both PLB segments on 440SP The PowerPC 440SP SoC has two Processor Local Bus (PLB) segments (a high-throughput segment and a low-latency segment). Fix our PLB register definitions to cope with this, and add code to dump the status of both segments when a machine check occurs. Signed-off-by: Roland Dreier Cc: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcc188e7fdddd8b23f900e485e6b3db05e7375f4 tree 8da8cac96f2ca884039e31cd6ff9d00e21cc2aea parent 2104da90a9aeef31ff6441d171a7d0492088f1d0 author Roland Dreier Mon, 07 Nov 2005 00:58:11 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:26 -0800 [PATCH] ppc32: Allow ERPN for early serial to depend on CPU type The PowerPC 440SPe supports up to 16 GB of RAM, and therefore its IO registers are at 0x4_xxxx_xxxx instead of being at 0x1_xxxx_xxxx like most other PPC 440 chips. To allow for this, this patch moves the definition of the ERPN used for mapping UART0 from being hard-coded in the head_44x.S assembly code to being defined in ibm44x.h. Signed-off-by: Roland Dreier Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2104da90a9aeef31ff6441d171a7d0492088f1d0 tree 97aceb3d7c14bd4db3e46c0abe8999b99971fa16 parent d311b0d3d8fcc279132f7251704b23ec264a194f author Lee Nicks Mon, 07 Nov 2005 00:58:10 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:26 -0800 [PATCH] ppc32: add watchdog & RTC support for Marvell EV64360BP board This patch adds watchdog, RTC support for Marvell EV64360BP board. Signed-off-by: Lee Nicks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d311b0d3d8fcc279132f7251704b23ec264a194f tree 00ee7574ec4133d9b93edc138bb9491430884378 parent 900fd17dd01d2c99dfd1ec0b53a860894a2673ee author Stephen Hemminger Mon, 07 Nov 2005 00:58:09 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:25 -0800 [PATCH] 3c59x: don't enable scatter/gather w/o checksum support It is not valid to enable scatter/gather without hardware checksum support of some kind. (akpm: applies only to the old boomerang cards). Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 900fd17dd01d2c99dfd1ec0b53a860894a2673ee tree fcd447fc10d1a58c11854e29077417c329afebe7 parent 35b306743d17cdd31357e5de9ce6c549e5d6756e author John W. Linville Mon, 07 Nov 2005 00:58:08 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:25 -0800 [PATCH] 3c59x: enable use of memory-mapped PCI I/O Add capability for 3c59x driver to use memory-mapped PCI I/O resources. This may improve performance for those devices so equipped. This will be the default behaviour for IS_CYCLONE and IS_TORNADO devices. Additionally, it can be enabled/disabled individually for up to MAX_UNITS number of devices via the use_mmio module option or for all units via the global_use_mmio option. The use_mmio option overrides the global_use_mmio option for those devices specified. Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35b306743d17cdd31357e5de9ce6c549e5d6756e tree 0aa8330f1928313afe819a311e424aed8615bc9c parent bb531fc071f9017b4809c806f71e6a7f49b67289 author John W. Linville Mon, 07 Nov 2005 00:58:08 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:25 -0800 [PATCH] 3c59x: correct rx_dropped counting Only increment rx_dropped in case of lack of resources (i.e. not for frames with errors). Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb531fc071f9017b4809c806f71e6a7f49b67289 tree 7ea3624e9dc8235eb47cec781c8117367eaeb9f6 parent 46e5e4a897ade416beb0bd8447fb0ff0bc1bb329 author John W. Linville Mon, 07 Nov 2005 00:58:07 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:25 -0800 [PATCH] 3c59x: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to 3c59x. Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46e5e4a897ade416beb0bd8447fb0ff0bc1bb329 tree 2a450817346165ff95e5f8aa040da755b7f7074c parent 9954ab7fd52afedf0977893352bb3ddb07120214 author John W. Linville Mon, 07 Nov 2005 00:58:06 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:25 -0800 [PATCH] 3c59x: fix some grammar in module parameter descriptions Correct several (apparently cut & paste) grammatical typos in module parameter descriptions. They seem to have originated as copies of the description for "global_options". Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9954ab7fd52afedf0977893352bb3ddb07120214 tree 84a256331fc03514d3a29c3828aad725d7d9474c parent 32fb5f06dbb6ca007f7886eb210b7b15545e2e15 author John W. Linville Mon, 07 Nov 2005 00:58:06 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:25 -0800 [PATCH] 3c59x: cleanup init of module parameter arrays Beautify the array initilizations for the module parameters. Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32fb5f06dbb6ca007f7886eb210b7b15545e2e15 tree c9a35e47f42aa54645f98d1e4d8e9d73ce411d19 parent d9e46de34e4212f472684b1561ba323aac54ea25 author John W. Linville Mon, 07 Nov 2005 00:58:05 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:25 -0800 [PATCH] 3c59x: bounds checking for hw_checksums Add bounds checking to usage of hw_checksums module parameter array. Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9e46de34e4212f472684b1561ba323aac54ea25 tree bf8392ea5f243cc5ddbd32c82dec144ba82d036b parent 106427e65d2b6f3a519ab5d14a3586007e7e0f20 author Tommy Christensen Mon, 07 Nov 2005 00:58:04 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:25 -0800 [PATCH] 3c59x: avoid blindly reading link status twice In order to spare some I/O operations, be more intelligent about when to read from the PHY. Pointed out by Bogdan Costescu. Signed-off-by: Tommy S. Christensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 106427e65d2b6f3a519ab5d14a3586007e7e0f20 tree 97c882ac0ffc0e039b26c0b414fcdf382b31d8fd parent 62afe595de7aaac6c140103a34dc8c208afa34e7 author Neil Horman Mon, 07 Nov 2005 00:58:03 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:24 -0800 [PATCH] 3c59x: cleanup of mdio_read routines to use MII_* macros Clean up mdio_read routines in 3c59x.c to use the MII_* macros defined in include/linux/mii.h Signed-off-by: Neil Horman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62afe595de7aaac6c140103a34dc8c208afa34e7 tree a5a9a02a8748d96f3b9a3127058776b732b17b6b parent cd61ef6268ac52d3dfa5626d1e0306a91b3b2608 author John W. Linville Mon, 07 Nov 2005 00:58:02 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:24 -0800 [PATCH] 3c59x: convert to use of pci_iomap API Convert 3c59x driver to use pci_iomap API. This makes it easier to enable the use of memory-mapped PCI I/O resources. Signed-off-by: John W. Linville Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd61ef6268ac52d3dfa5626d1e0306a91b3b2608 tree 5df1bfd49f2e9be33505ba900d2ed153fed9a2af parent 2109a2d1b175dfcffbfdac693bdbe4c4ab62f11f author Manfred Spraul Mon, 07 Nov 2005 00:58:02 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:24 -0800 [PATCH] slab: Use same schedule timeout for all cpus in cache_reap Chen noticed that cache_reap uses REAPTIMEOUT_CPUC+smp_processor_id() as the timeout for rescheduling. The "+smp_processor_id()" part is wrong, the timeout should be identical for all cpus: start_cpu_timer already adds a cpu dependant offset to avoid any clustering. The attached patch removes smp_processor_id(). Signed-Off-By: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2109a2d1b175dfcffbfdac693bdbe4c4ab62f11f tree 07b47953a74adaa7490ef24aab10c45a5a4148a6 parent 4f12bb4f7715f418a9c80f89447948790f476958 author Pekka J Enberg Mon, 07 Nov 2005 00:58:01 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:24 -0800 [PATCH] mm: rename kmem_cache_s to kmem_cache This patch renames struct kmem_cache_s to kmem_cache so we can start using it instead of kmem_cache_t typedef. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4f12bb4f7715f418a9c80f89447948790f476958 tree f08c7e26b19687d26b29082e50101daf2e5a4b75 parent 7fd93cf30c531fd8b014e827e7a85fcfc010b2c6 author Andrew Morton Mon, 07 Nov 2005 00:58:00 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:24 -0800 [PATCH] slab: don't BUG on duplicated cache slab presently goes BUG if someone tries to register an already-registered cache. But this can happen if the user accidentally loads a module which is already statically linked into the kernel. Nuking the kernel is rather a harsh reaction. Change it into a warning, and just fail the kmem_cache_alloc() attempt. If the module is well-behaved, the modprobe will fail and all is well. Notes: - Swaps the ranking of cache_chain_sem and lock_cpu_hotplug(). Doesn't seem important. Acked-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fd93cf30c531fd8b014e827e7a85fcfc010b2c6 tree 38326a3b27a04845f86054c85ebeda0d1170d87a parent 863c84b97cb660dbb949398e196c0b1bbe4ed39f author Andrew Morton Mon, 07 Nov 2005 00:57:59 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:24 -0800 [PATCH] posix-timers `unlikely' rejig !unlikely(expr) hurts my brain. likely(!expr) is more straightforward. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 863c84b97cb660dbb949398e196c0b1bbe4ed39f tree 2942dd6318ec8d9dfb1a3dd9037c00c5700beeac parent c8e3c8b21bd7a317d071ab8cf478880e7a4f92d6 author Benjamin Herrenschmidt Mon, 07 Nov 2005 00:57:58 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:23 -0800 [PATCH] ppc: Fix ppc32 build after 64K pages Oops, some last minute changes caused the 64K pages patch to break ppc32 build, this fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c8e3c8b21bd7a317d071ab8cf478880e7a4f92d6 tree 0b97687ffb4a3a0860b6c5170cadeb7526988c1a parent 2d4b95f06062d590aef8e44d42cec27b1828119f author Benjamin Herrenschmidt Mon, 07 Nov 2005 00:57:58 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:23 -0800 [PATCH] ppc64: Fix zImage boot The zImage wrapper has a bug where it doesn't claim() the memory for the kernel properly, it forgets to take into account the offset between the ELF header and the kernel itself. This results on some machines, like G5s, into a kernel that crashes at boot when clearing the BSS. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d4b95f06062d590aef8e44d42cec27b1828119f tree 7beb1c976d3e08a9ef9cb37fa342e2b4f35e6aab parent 732ee21f2894819781766a0cd88e32bdd630d11e author Hugh Dickins Mon, 07 Nov 2005 00:57:57 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:23 -0800 [PATCH] Suppress split ptlock on arches which may use one page for multiple page tables Suppress split ptlock on arches which may use one page for multiple page tables. Reconsider what better to do (particularly on ppc64) later on. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 732ee21f2894819781766a0cd88e32bdd630d11e tree 7a38f59ef25672588dce30d04da2faa85b733f7f parent e1531b4218a7ccfc1b2234b87105201e5ebe1bbf author Olof Johansson Mon, 07 Nov 2005 00:57:55 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:23 -0800 [PATCH] POWERPC/PPC64: Fix CONFIG_SMP=n build for ppc64 Two CONFIG_SMP=n build fixes due to missing includes. Signed-off-by: Olof Johansson Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1531b4218a7ccfc1b2234b87105201e5ebe1bbf tree 7bec90da745d4992d53a31339588f945d70c319c parent 4ecc65e423ef10bdbec12362609b15fa8e8627c8 author John W. Linville Mon, 07 Nov 2005 00:57:54 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:23 -0800 [PATCH] ia64: re-implement dma_get_cache_alignment to avoid EXPORT_SYMBOL The current ia64 implementation of dma_get_cache_alignment does not work for modules because it relies on a symbol which is not exported. Direct access to a global is a little ugly anyway, so this patch re-implements dma_get_cache_alignment in a manner similar to what is currently used for x86_64. Signed-off-by: John W. Linville Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ecc65e423ef10bdbec12362609b15fa8e8627c8 tree 476a74971a0bddde29ed403a9fbb9b591b5d8152 parent 7d24f0b8a53261709938ffabe3e00f88f6498df9 author Yuri Vasilevski Mon, 07 Nov 2005 00:57:53 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:23 -0800 [PATCH] typo correction for fix-build-on-nls-free-systems A typo fix for fix-build-on-nls-free-systems.patch that caused all systems to be detected as not having NLS. Signed-off-by: Yuri Vasilevski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d24f0b8a53261709938ffabe3e00f88f6498df9 tree 95e192cdda64cbb7bb64451442c93a64d3932757 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author David Gibson Mon, 07 Nov 2005 00:57:52 -0800 committer Linus Torvalds Mon, 07 Nov 2005 07:53:23 -0800 [PATCH] ppc64: Fix bug in SLB miss handler for hugepages This patch, however, should be applied on top of the 64k-page-size patch to fix some problems with hugepage (some pre-existing, another introduced by this patch). The patch fixes a bug in the SLB miss handler for hugepages on ppc64 introduced by the dynamic hugepage patch (commit id c594adad5653491813959277fb87a2fef54c4e05) due to a misunderstanding of the srd instruction's behaviour (mea culpa). The problem arises when a 64-bit process maps some hugepages in the low 4GB of the address space (unusual). In this case, as well as the 256M segment in question being marked for hugepages, other segments at 32G intervals will be incorrectly marked for hugepages. In the process, this patch tweaks the semantics of the hugepage bitmaps to be more sensible. Previously, an address below 4G was marked for hugepages if the appropriate segment bit in the "low areas" bitmask was set *or* if the low bit in the "high areas" bitmap was set (which would mark all addresses below 1TB for hugepage). With this patch, any given address is governed by a single bitmap. Addresses below 4GB are marked for hugepage if and only if their bit is set in the "low areas" bitmap (256M granularity). Addresses between 4GB and 1TB are marked for hugepage iff the low bit in the "high areas" bitmap is set. Higher addresses are marked for hugepage iff their bit in the "high areas" bitmap is set (1TB granularity). To avoid conflicts, this patch must be applied on top of BenH's pending patch for 64k base page size [0]. As such, this patch also addresses a hugepage problem introduced by that patch. That patch allows hugepages of 1MB in size on hardware which supports it, however, that won't work when using 4k pages (4 level pagetable), because in that case hugepage PTEs are stored at the PMD level, and each PMD entry maps 2MB. This patch simply disallows hugepages in that case (we can do something cleverer to re-enable them some other day). Built, booted, and a handful of hugepage related tests passed on POWER5 LPAR (both ARCH=powerpc and ARCH=ppc64). [0] http://gate.crashing.org/~benh/ppc64-64k-pages.diff Signed-off-by: David Gibson Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2965f1129ee54afcc4ef293ff0f25fa3a7e7392 tree 57104baebc71c60896a4cffbb2091c7c2800c970 parent d5c5e78af5cbcaeb7cad5a3c0117de593e5f4824 author Thomas Gleixner Mon, 07 Nov 2005 11:16:01 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 15:25:34 +0100 [MTD] chips: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit d5c5e78af5cbcaeb7cad5a3c0117de593e5f4824 tree ada12a4fa3672b828af11bfc3e29473539d8d5fb parent 61b03bd7c3b55498c6180d43bf71b7bf49114b64 author Thomas Gleixner Mon, 07 Nov 2005 11:15:51 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 15:11:28 +0100 [MTD] OneNAND: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit 61b03bd7c3b55498c6180d43bf71b7bf49114b64 tree 5a7d7df4653d2032bca0d2b13a26828c8925dd60 parent e5580fbe8a950131b9ccccce0f962811dfb9ef43 author Thomas Gleixner Mon, 07 Nov 2005 11:15:49 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 15:10:37 +0100 [MTD] NAND: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit e5580fbe8a950131b9ccccce0f962811dfb9ef43 tree d7558eea2208a7b8fbc83c9a94f588b67aa5a3cc parent 69f34c98c1416eb74c55e38a21dbf3e294966514 author Thomas Gleixner Mon, 07 Nov 2005 11:15:40 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 15:06:59 +0100 [MTD] devices: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit 69f34c98c1416eb74c55e38a21dbf3e294966514 tree 956f39f06463b026f293347b47de812fc3b6545f parent 1f948b43f7b5cf721cf0d03f507843efc1a9bfad author Thomas Gleixner Mon, 07 Nov 2005 11:15:40 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 15:01:58 +0100 [MTD] maps: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit 1f948b43f7b5cf721cf0d03f507843efc1a9bfad tree 58f9f4b1baa374ee80f2641a44f87b361a628e6d parent e4f0648fb400a05adb7c640ce8766a7011d472d3 author Thomas Gleixner Mon, 07 Nov 2005 11:15:37 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 14:45:15 +0100 [MTD] chips: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit e4f0648fb400a05adb7c640ce8766a7011d472d3 tree d7bee71f23f8cd630cfe6e689a10f02e6bdec190 parent 61ecfa8777d0bc8e33dc0e5c2cca9b3247da2d37 author Thomas Gleixner Mon, 07 Nov 2005 11:15:37 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 14:43:11 +0100 [MTD] user-abi: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit b00e8443c3eece823052d06ae1c7cb797ab0ddf5 tree bce0ad1bc6f1e78429a6b92c472fb373289eba6c parent 63786d064ca7dd7ccaf29d2a46ad269ad2df8041 author Jaroslav Kysela Mon, 07 Nov 2005 14:35:14 +0100 committer Jaroslav Kysela Mon, 07 Nov 2005 14:35:14 +0100 [ALSA] version 1.0.10rc3 commit 61ecfa8777d0bc8e33dc0e5c2cca9b3247da2d37 tree 8efec81cd9fc0c00b6ed5ebf749dcfe228e5dda4 parent 03ead8427d65f6986a8bf5fd3f29a879348780ad author Thomas Gleixner Mon, 07 Nov 2005 11:15:31 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 14:32:58 +0100 [MTD] includes: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit 03ead8427d65f6986a8bf5fd3f29a879348780ad tree a70bff642d66eb3dbafd31e017f0f9783ffca6c2 parent 182ec4eee397543101a6db8906ed88727d3f7e53 author Thomas Gleixner Mon, 07 Nov 2005 11:15:37 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 14:25:38 +0100 [LIB] reed_solomon: Clean up trailing white spaces commit 182ec4eee397543101a6db8906ed88727d3f7e53 tree 0f6dd2c52697123702bdf0c3a7143537f947b060 parent 97894cda5773e59bd13e87b72077751099419a9f author Thomas Gleixner Mon, 07 Nov 2005 11:16:07 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 14:18:56 +0100 [JFFS2] Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit 97894cda5773e59bd13e87b72077751099419a9f tree 9a039ab8c122ae9a4f64d285e2da0efd1356789e parent b95f9609c761a14d1e7be1a89f2a66399b5ae343 author Thomas Gleixner Mon, 07 Nov 2005 11:15:26 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 13:37:38 +0100 [MTD] core: Clean up trailing white spaces Signed-off-by: Thomas Gleixner commit b7c4a9f83f3c0f6f2a2750a389a9b758c3d9e9d2 tree 66bf5c66ed505a739bf8633d1931f0d0526bd6d6 parent 65163fd73c65e4c61437c28ac4ef9f3c5ba16a80 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Adrian Bunk Mon, 07 Nov 2005 12:26:59 +0100 committer Adrian Bunk Mon, 07 Nov 2005 12:26:59 +0100 Merge with http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 01bbaf0b2b7b38e43139dce8bd64f8c7b2b83940 tree 9ef458260b4336d177c87ad832055f911c3cf8b5 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Russell King Mon, 07 Nov 2005 10:30:16 +0000 committer Russell King Mon, 07 Nov 2005 10:30:16 +0000 [ARM] realview core.h uses leds_event_t, so include asm/leds.h Signed-off-by: Russell King commit 63786d064ca7dd7ccaf29d2a46ad269ad2df8041 tree 3162fdc8238cb234e843946dad20557cb0fa4d2b parent b140c8bced6eb464a9d5d5e5cbb04fa4d80ba170 author Takashi Iwai Fri, 04 Nov 2005 13:58:11 +0100 committer Jaroslav Kysela Mon, 07 Nov 2005 11:28:55 +0100 [ALSA] ice1724 - Fix ADC mux put callback in aureon.c Modules: ICE1712 driver Fix the return value of ADC mux put callback in aureon.c. Signed-off-by: Takashi Iwai commit b140c8bced6eb464a9d5d5e5cbb04fa4d80ba170 tree d3e776972aa59ae956cf2ceb4503d752f296412b parent c3348760aaffd268f7e91b2185999025fdc5607f author Jaroslav Kysela Mon, 07 Nov 2005 11:22:04 +0100 committer Jaroslav Kysela Mon, 07 Nov 2005 11:22:04 +0100 [ALSA] Cleanup - remove sound/core/wrappers.c Signed-off-by: Jaroslav Kysela commit c3348760aaffd268f7e91b2185999025fdc5607f tree dc4fd97943a8547189bb025c71321fb67c5fc3c6 parent 1d4ae4a119e5ba711f12b05cdf27f794460add4b author Takashi Iwai Mon, 07 Nov 2005 11:14:57 +0100 committer Jaroslav Kysela Mon, 07 Nov 2005 11:14:57 +0100 [PATCH] Fix wrong irq enable via rtc_control() rtc_control() may be called in the interrupt context in ALSA rtc-timer driver. The patch fixes the wrong irq enable in rtc.c, and also fixes the possible race of bit flags. Signed-off-by: Takashi Iwai commit cd03adb0812fe0fb06cdb935e61ec9514254e951 tree 6a79344e646b6c3815a77f0eb4ed721f50c31701 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Russell King Mon, 07 Nov 2005 10:10:28 +0000 committer Russell King Mon, 07 Nov 2005 10:10:28 +0000 [ARM SMP] Add support for shared memory attribute We need to set the shared memory attribute in the page tables on SMP systems to allow the cache coherency to operate. Signed-off-by: Russell King commit 1d4ae4a119e5ba711f12b05cdf27f794460add4b tree 13a196ce55115d8f64acf0db86314f5abc847b40 parent c2f2f0fa3829a8da1e029346c4f7e8da82f95d62 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Jaroslav Kysela Mon, 07 Nov 2005 11:02:51 +0100 committer Jaroslav Kysela Mon, 07 Nov 2005 11:02:51 +0100 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit b95f9609c761a14d1e7be1a89f2a66399b5ae343 tree d0f097e82deb18ebc0c854ac1ae627865b63a130 parent be30c10fd8015a00c97c9b473263fe3c581389de author Konstantin Baidarov Mon, 07 Nov 2005 09:00:05 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 10:47:08 +0100 [MTD] chips cfi_cmdset_0002: Prevent timeout race We've noticed that sometimes "MTD do_write_buffer(): software timeout" message was printed out when writing to a Fujitsu NOR flash. It turned out that this was because of a race in the timeout handling do_write_buffer(). A small timeout of (HZ / 1000) + 1 is used there, and sometimes if the timer interrupt handling takes more than one or even two jiffies (which is 1-2 ms with HZ == 1000) and that interrupt happens just after chip_ready() call, the driver bails out from a ready polling loop despite the chip has actually become ready while all those interrupts were handled. To deal with this issue, extra check for chip ready is neccessary on timeout expiration (and the checks should better be reordered). As do_write_oneword() uses the same approach, it needs to also be changed. Signed-off-by: Konstantin Baidarov Signed-off-by: Sergei Shtylyov Signed-off-by: Thomas Gleixner commit be30c10fd8015a00c97c9b473263fe3c581389de tree 3c27213e30636701f6e454050996e988c3b14471 parent ea17629f3e6f64591a98a9049a0d725d2672509c author Marian Balakowicz Mon, 07 Nov 2005 08:33:38 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 10:46:22 +0100 [MTD] maps: Add support for the "TQM834x" Boards The following patch adds support for the TQ Systems TQM834x Boards. Verified on TQM8349L. This is a resubmit after integrating the suggested changes. Signed-off-by: Marian Balakowicz Signed-off-by: Wolfgang Denk Signed-off-by: Thomas Gleixner commit ea17629f3e6f64591a98a9049a0d725d2672509c tree 0a2dbc541c7f37d58a989ca7fbfb9ec794075677 parent 30966174341b3db58dfb77b82193eff7f5644a97 author Lennert Buytenhek Mon, 07 Nov 2005 08:09:05 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 10:44:15 +0100 [MTD] maps ixp2000: fix compile warnings in ixp2000 map driver Fix two compile warnings that occur because of treating two 'unsigned long's as 'void *'s. Signed-off-by: Lennert Buytenhek Signed-off-by: Thomas Gleixner commit 6c2f4267833f453156f8f439cc32eb4c92f357b4 tree 912f0075a855d652a58a9bb8cd9f3ca9a98fd745 parent 65b984f26f16e97168ee29e53145055412f38a23 author Francois Romieu Mon, 07 Nov 2005 01:52:57 +0100 committer Jeff Garzik Mon, 07 Nov 2005 03:37:05 -0500 [PATCH] b44: late request_irq in b44_open Don't request_irq before the registers are reset/init. Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit 65b984f26f16e97168ee29e53145055412f38a23 tree ece6ca6ed3844220c92e4b1207542864f70bad39 parent 3353930d9d026ca94747d0766f864b2a0a8c714b author Francois Romieu Mon, 07 Nov 2005 01:52:06 +0100 committer Jeff Garzik Mon, 07 Nov 2005 03:37:05 -0500 [PATCH] b44: s/spin_lock_irqsave/spin_lock/ in b44_interrupt There is no need to save/restore the irq state as the irq are always locally disabled when b44_interrupt is issued. Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit 3353930d9d026ca94747d0766f864b2a0a8c714b tree 6f76506a9ebe0be3a0fde5b214a01fd95000548a parent 874a6214bc1477004a0dd6f881b078d0d6b1eae9 author Francois Romieu Mon, 07 Nov 2005 01:51:34 +0100 committer Jeff Garzik Mon, 07 Nov 2005 03:37:05 -0500 [PATCH] b44: expose counters through ethtool Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit 874a6214bc1477004a0dd6f881b078d0d6b1eae9 tree bf01333dce3b5ee11d1d9187efd7317fffb18ac5 parent c719369350bc566d2643067421fbf05f4b90e70b author Francois Romieu Mon, 07 Nov 2005 01:50:46 +0100 committer Jeff Garzik Mon, 07 Nov 2005 03:37:05 -0500 [PATCH] b44: miscellaneous cleanup - remove unneeded forward declarations - s/kmalloc + memset/kzalloc/ - whitespace readjustement can't hurt - wrong comment: b44_init_rings _is_ called with a spinlock held in b44_{open/set_ringparam/set_pauseparam/etc}. Actually, it does not need to be able to sleep - b44_remove_one() can not be issued with a NULL device in its private member: remove the test. Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit c719369350bc566d2643067421fbf05f4b90e70b tree 3526675bd6fc522268915ea6536e10a62c74367b parent b78612b796b0d6cdfba553d456eff008278830e3 author Francois Romieu Mon, 07 Nov 2005 01:50:03 +0100 committer Jeff Garzik Mon, 07 Nov 2005 03:37:05 -0500 [PATCH] b44: b44_start_xmit returns with a lock held when it fails allocating The patch simply factors out the release of the lock. Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik commit 193515d51ccb363165d6b09e9ba5c21089e34bad tree 9eec151ee1c2091640862adf79f99eca024a98f1 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Jeff Garzik Mon, 07 Nov 2005 00:59:37 -0500 committer Jeff Garzik Mon, 07 Nov 2005 00:59:37 -0500 [libata] eliminate use of drivers/scsi/scsi.h compatibility header/defines commit b78612b796b0d6cdfba553d456eff008278830e3 tree 595e0503cc152dcc5383f1f2d12e93770ae7c16b parent 50eb80068001871339d04b749fb9b198428b56d2 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Jeff Garzik Sun, 06 Nov 2005 23:01:34 -0500 committer Jeff Garzik Sun, 06 Nov 2005 23:01:34 -0500 Merge branch 'master' commit c6135234550ed89a6fd0e8cb229633967e41d649 tree 22cef33e314839c4fb30d6fc888c0caa2a0f6602 parent 76032de898f34db55b5048349db56557828a1390 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Paul Mackerras Mon, 07 Nov 2005 14:42:09 +1100 committer Paul Mackerras Mon, 07 Nov 2005 14:42:09 +1100 Merge ../linux-2.6 commit 76032de898f34db55b5048349db56557828a1390 tree dd92b9155c1b49b20c05b64a86742aeb73a537f8 parent 2249ca9d60d3a8a1f6f223f0f0a0283fcb7ce33e author Michael Ellerman Mon, 07 Nov 2005 13:12:03 +1100 committer Paul Mackerras Mon, 07 Nov 2005 13:31:13 +1100 [PATCH] powerpc: Make ppc_md.set_dabr non 64-bit specific Define ppc_md.set_dabr for both 32 + 64 bit. Cleanup the implementation for pSeries also, it was needlessly complex. Now we just do two firmware tests at setup time, and use one of two functions, rather than using one function and testing on every call. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 2249ca9d60d3a8a1f6f223f0f0a0283fcb7ce33e tree 33a5c8d6e2363013db1052f474c1225c472e3fcd parent dcad47fc423ac9f4934579af814fa2dad5c8081b author Paul Mackerras Mon, 07 Nov 2005 13:18:13 +1100 committer Paul Mackerras Mon, 07 Nov 2005 13:18:13 +1100 powerpc: Various UP build fixes Mostly this involves adding #include , since that defines things like boot_cpuid[_phys] and [gs]et_hard_smp_processor_id, which are SMP-related but still needed on UP. This incorporates fixes posted by Olof Johansson and Heikki Lindholm. Signed-off-by: Paul Mackerras commit 30966174341b3db58dfb77b82193eff7f5644a97 tree ddafd21ff6465cc11dd049b4079c6f77b979ead0 parent 3e17404918b119813dfe8d7649df049a451c9e24 author Thomas Gleixner Mon, 07 Nov 2005 02:49:43 +0100 committer Thomas Gleixner Mon, 07 Nov 2005 02:49:43 +0100 [MTD] NAND Kconfig: Simplify dependencies Signed-off-by: Thomas Gleixner commit dcad47fc423ac9f4934579af814fa2dad5c8081b tree 46917c934f2fe51dfc517184d4275ed4ddca7960 parent 723925b7b138cecb29d76169d20149255d354a7a author David Gibson Mon, 07 Nov 2005 09:49:43 +1100 committer Paul Mackerras Mon, 07 Nov 2005 12:37:45 +1100 [PATCH] powerpc: Kill ppcdebug The ancient ppcdebug/PPCDBG mechanism is now only used in two places. First, in the hash setup code, one of the bits allows the size of the hash table to be reduced by a factor of 8 - which would be better accomplished with a command line option for that purpose. The other was a bunch of bus walking related messages in the iSeries code, which would seem to be insufficient reason to keep the mechanism. This patch removes the last traces of this mechanism. Built and booted on iSeries and pSeries POWER5 LPAR (ARCH=powerpc). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 723925b7b138cecb29d76169d20149255d354a7a tree 3eea7faa1c23c050c0a3d0ff173ee63f77307888 parent 55b6332ec89a5fc65d1287708cfd9f06f7a88b90 author Olof Johansson Sun, 06 Nov 2005 14:54:36 -0800 committer Paul Mackerras Mon, 07 Nov 2005 12:37:28 +1100 [PATCH] powerpc: Nicer printing of address at oops Add nicer printing of faulting address on unresolvable kernel faults. Makes life a little easier for those who don't know how to decode our register contents at oops time. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 55b6332ec89a5fc65d1287708cfd9f06f7a88b90 tree 12dc1f0a94e222c0577f439e06e49d80cd969f21 parent c6d95044a2e124b606b78896a3a2d512e90ef65c author Marcelo Tosatti Sat, 05 Nov 2005 14:06:24 -0200 committer Paul Mackerras Mon, 07 Nov 2005 12:37:12 +1100 [PATCH] ppc32: handle access to non-present IO ports on 8xx This adds exception table entries for I/O instructions on and changes MachineCheckException() slightly to cover 8xx specifics (on 8xx the MCE can be generated while executing the IO access instruction itself, which is not the case on PowerMac's, as the comment on traps.c details). Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit c6d95044a2e124b606b78896a3a2d512e90ef65c tree 1b83a1f83df6895c26962e4deeb49d06c60187df parent 9d2ba6faa1c2e10546a4bdf0f9687436d7681b2f author Marcelo Tosatti Sat, 05 Nov 2005 13:01:16 -0200 committer Paul Mackerras Mon, 07 Nov 2005 12:36:42 +1100 [PATCH] ppc32 8xx: fix m8xx_wdt accessor macro update The following patch against m8xx_wdt.c adds (required for out,in_be32/16) and fixes syntatic problems introduced with the IO accessor macro update. Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 9d2ba6faa1c2e10546a4bdf0f9687436d7681b2f tree 47d6fd707ea6b378eb8e0c07343e1f3e94a794bf parent ead837174d265b24334f0721a84cbdda8ccd89a7 author David Woodhouse Sat, 05 Nov 2005 17:54:22 +0000 committer Paul Mackerras Mon, 07 Nov 2005 12:36:25 +1100 [PATCH] powerpc: Fix i8259 cascade IRQ setup_irq() aborts immediately if there's no handler for the IRQ in question. So i8259_init() should set up its handlers before trying to set up the cascade on IRQ 2. With this and the patch I sent a few days ago to fix initrd on ppc32, my Pegasos now runs the arch/powerpc kernel. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 3e17404918b119813dfe8d7649df049a451c9e24 tree 7f2ac614c3e8bf37bc4ce42f9790ed42a1d09189 parent 868801e561d5d6df40a66197e2f803a109c19e7a author Thomas Gleixner Mon, 07 Nov 2005 00:52:27 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 02:28:05 +0100 [MTD] maps/plat-ram: Avoid gcc 4.0 warning The assignement of a "const char *" to a "char *" variable is emitting a warning with gcc 4.0. We cannot change mtd->name to "const char *" as we have dynamic assignements of the name. So casting is the correct solution here Signed-off-by: Thomas Gleixner commit 868801e561d5d6df40a66197e2f803a109c19e7a tree f13cc0daeda783d3710161a8a641573c76bea600 parent 49196f3332e661ccc221734c3103115d8cd4ee49 author Todd Poynor Sat, 05 Nov 2005 03:21:15 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 02:24:31 +0100 [MTD] NAND: nand_write_ecc memory and OOB corruption Nathan Roberts noticed the nand_write_ecc index into oobbuf goes out of bounds when crossing an erase block boundary, causing incorrect OOB data to be written and corrupting memory. Reset the index to zero after re-preparing oobbuf for a new erase block. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 49196f3332e661ccc221734c3103115d8cd4ee49 tree a3bc3c5304dbf6945479821a124dc5ba03475fe3 parent 46d0d0fb61ec6630dc2c844e3c5bf5ef44dedcbe author Vitaly Wool Wed, 02 Nov 2005 16:54:46 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 02:15:21 +0100 [MTD] NAND nand_base: Fix shift for bad block check (16bit devices only) In case of an odd offset, the result was shifted by 1 instead of 8 Signed-off-by: Vitaly Wool Signed-off-by: Thomas Gleixner commit ead837174d265b24334f0721a84cbdda8ccd89a7 tree a780bd6e7d47858d656d45165030b20a5a1dacfd parent f912696ab330bf539231d1f8032320f2a08b850f author John Rose Fri, 04 Nov 2005 15:30:56 -0600 committer Paul Mackerras Mon, 07 Nov 2005 12:09:02 +1100 [PATCH] dlpar enable for OF pci probe This patch contains the arch/ppc64 bits for enabling DLPAR and PCI Hotplug for the new OF-based PCI probe mechanism. This code path is currently broken. Signed-off-by: John Rose Signed-off-by: Paul Mackerras commit 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 tree c20e0f16d34c4d1197dc465fa3bdcf8b181af924 parent 6adfd34e85d6ddcf56a652a3dccb26f76aff8fd9 parent ab919c06144cfb11c05b5b5cd291daa96ac2e423 author Linus Torvalds Sun, 06 Nov 2005 16:59:14 -0800 committer Linus Torvalds Sun, 06 Nov 2005 16:59:14 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild commit 6adfd34e85d6ddcf56a652a3dccb26f76aff8fd9 tree f9ad06331673b982663f343bb08844c787e8a51b parent b54a063df48cb1296f744b5ba456c45ce7efff35 parent 2c119aa8091a15a87920f09aa0f17e05960fe11b author Linus Torvalds Sun, 06 Nov 2005 16:58:38 -0800 committer Linus Torvalds Sun, 06 Nov 2005 16:58:38 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel commit b54a063df48cb1296f744b5ba456c45ce7efff35 tree 72e71bfb6008f460f887a208d046cd82e5545ff5 parent 085f20e481190cd0597d72ec49bffc07bda4c9be parent 1555972231f3202f00e04f7c42d2db858e11b874 author Linus Torvalds Sun, 06 Nov 2005 16:58:11 -0800 committer Linus Torvalds Sun, 06 Nov 2005 16:58:11 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 085f20e481190cd0597d72ec49bffc07bda4c9be tree 1500ff072b477c28ceb2a5f134254db5e800d061 parent 3c726f8dee6f55e96475574e9f645327e461884c parent 21c614a7899046ab108b3d327d76c33443a8ebf2 author Linus Torvalds Sun, 06 Nov 2005 16:57:34 -0800 committer Linus Torvalds Sun, 06 Nov 2005 16:57:34 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 3c726f8dee6f55e96475574e9f645327e461884c tree f67c381e8f57959aa4a94bda4c68e24253cd8171 parent f912696ab330bf539231d1f8032320f2a08b850f author Benjamin Herrenschmidt Mon, 07 Nov 2005 11:06:55 +1100 committer Linus Torvalds Sun, 06 Nov 2005 16:56:47 -0800 [PATCH] ppc64: support 64k pages Adds a new CONFIG_PPC_64K_PAGES which, when enabled, changes the kernel base page size to 64K. The resulting kernel still boots on any hardware. On current machines with 4K pages support only, the kernel will maintain 16 "subpages" for each 64K page transparently. Note that while real 64K capable HW has been tested, the current patch will not enable it yet as such hardware is not released yet, and I'm still verifying with the firmware architects the proper to get the information from the newer hypervisors. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 46d0d0fb61ec6630dc2c844e3c5bf5ef44dedcbe tree 2b2f6bca5e086c1fe6b37b817bd1d76cda31b39d parent f0250fd7c32d441be54e50f39eed6fbbe9bb100e author Thomas Gleixner Mon, 07 Nov 2005 01:14:05 +0100 committer Thomas Gleixner Mon, 07 Nov 2005 01:14:05 +0100 [MTD] OneNAND/Kconfig: Fix dependencies Signed-off-by: Thomas Gleixner commit f0250fd7c32d441be54e50f39eed6fbbe9bb100e tree 45b1d577e428710c9ba5c752d3843119d2775fb9 parent 01ac742db34fec11469724dc350a417790dbbbbe author Thomas Gleixner Mon, 07 Nov 2005 01:11:04 +0100 committer Thomas Gleixner Mon, 07 Nov 2005 01:11:04 +0100 Revert "[PATCH] OneNAND: Add simulator" This reverts 405c829f98d216925de00af2ee52f969f2c2891c commit. commit 01ac742db34fec11469724dc350a417790dbbbbe tree 5d841fb3a4cdb557882eeec9bbb6368fb61d7d1c parent 28f462308e0fcd30dcab4c50862881dfb68a627c author Sean Young Wed, 29 Jun 2005 09:46:19 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 00:40:10 +0100 [MTD] maps/Kconfig: Simplify and update dependencies Signed-off-by: Thomas Gleixner commit 28f462308e0fcd30dcab4c50862881dfb68a627c tree f6b46e88402617dc1c34c924a395f8d92dfc02c0 parent 15fdc52f35b853e3fa550087987b5ee4ffbd199b author Sean Young Wed, 29 Jun 2005 09:46:19 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 00:32:01 +0100 [MTD] maps/ts5500: Fix partition support. Code cleanup Signed-off-by: Sean Young Signed-off-by: Thomas Gleixner commit 15fdc52f35b853e3fa550087987b5ee4ffbd199b tree 000d8934d1e68cbee764d402de00a69a34ff93ea parent 9090ed0b82f817bde471bdbb2e73278ab75f5fd3 author Thomas Gleixner Mon, 07 Nov 2005 00:14:42 +0100 committer Thomas Gleixner Mon, 07 Nov 2005 00:14:42 +0100 [MTD] Tidy up Tims include cleanup While we are at it, reorder the includes and remove the silly /* TASK */ comment Signed-off-by: Thomas Gleixner commit 9090ed0b82f817bde471bdbb2e73278ab75f5fd3 tree 43e59580670ec4e63e9bee6ef026d785ddf23779 parent 87c146dc1a8552d7ad431a41b37ba8168e51e50e author David Vrabel Tue, 01 Nov 2005 16:46:19 +0000 committer Thomas Gleixner Mon, 07 Nov 2005 00:08:05 +0100 [MTD] maps/ixp4xx: kill some warnings - Use map.virt instead of map.map_priv_1 since it has the correct type. - Use readw/writew instead of dereferencing an ioremap'd cookie. - Remove an unused variable. Signed-off-by: David Vrabel Signed-off-by: Thomas Gleixner commit 87c146dc1a8552d7ad431a41b37ba8168e51e50e tree 217eb9cbbc8f415be6d4eea9573c5aaefb81e035 parent 6f6ed056d2d5de7af9f0c14cf5bc73707eeb0a88 author Richard Purdie Thu, 03 Nov 2005 11:36:45 +0000 committer Thomas Gleixner Sun, 06 Nov 2005 23:34:39 +0100 [MTD] NAND sharpsl.c: Add support for akita and borzoi models The Sharp Zaurus akita and borzoi models are large page flash devices. This patch adds support for them to the sharpsl MTD NAND driver but keeps the oob layout and bad block positions compatible with the Sharp Zaurus 2.4 kernel and ROM bootloader. Signed-off-by: Richard Purdie Signed-off-by: Thomas Gleixner commit 6f6ed056d2d5de7af9f0c14cf5bc73707eeb0a88 tree e6063cb490c6b80226a040bf12da573ea72c87d8 parent 008531f4c30dce606094be8f78c766218edd6754 author Nicolas Pitre Tue, 25 Oct 2005 21:28:43 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:19:17 +0100 [MTD] chips/cfi_cmdset_0001: fix for P30 cfi parsing Change to the extended cfi table parsing for Intel NOR flash that uses the info in the extended table to 'walk' the table rather than using hard coding for various primary extended query table version numbers. From: Jared Hulbert Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 008531f4c30dce606094be8f78c766218edd6754 tree 2c4f199d5595b276ef085527e35f384fab58924f parent cfd320fbfcf2ff0137d8e26f46ba4b66dae96083 author Artem B. Bityutskiy Mon, 24 Oct 2005 17:22:36 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:17:39 +0100 [JFFS2] Fix broken compile when debug level = 2 Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit cfd320fbfcf2ff0137d8e26f46ba4b66dae96083 tree b27bf728473a8e5d7159876053be1763ec94304f parent 4fc67fbe52d7c34dfd3e03a1a79f3e078904bba2 author Ben Dooks Thu, 20 Oct 2005 22:22:58 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:15:54 +0100 [MTD] NAND s3c2410.c: Fix timing calculation bugs Spotted by basprog@mail.ru Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 4fc67fbe52d7c34dfd3e03a1a79f3e078904bba2 tree 34c23c384bd19123afdad8495927afd400a2b5db parent fb0258730ad554db531f12fc1c3d5a5234fe52a4 author Todd Poynor Wed, 19 Oct 2005 00:29:38 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:14:16 +0100 [JFFS2] Return 0, not number of bytes written, for success at commit_write Some callers to block-layer commit_write function treat non-zero return as error, notably the loopback mount driver sometimes used in conjunction with JFFS2 on NAND flash for bad block avoidance, etc. Return zero for success as do various other commit_write functions. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit fb0258730ad554db531f12fc1c3d5a5234fe52a4 tree 3a11c374d9a849dfbffe72ce0b529079d95fba68 parent d574504114753f52d8d2a8a0f186d2a5fcd80789 author Nicolas Pitre Mon, 17 Oct 2005 22:03:19 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:12:57 +0100 [MTD] Don't let gcc inline functions marked __xipram If they get inlined into non __xipram functions we're screwed. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit d574504114753f52d8d2a8a0f186d2a5fcd80789 tree 371ccf1b48141d81425e044e04204efa00b694d5 parent df2e162927b7af36d669f0ade81c17036c4001d4 author Ben Dooks Mon, 10 Oct 2005 11:27:05 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:10:43 +0100 [MTD] NAND s3c2410.c: Fix missing dev parameter to dev_err Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit df2e162927b7af36d669f0ade81c17036c4001d4 tree 81995933aa7fe7ad1c10c452beb69547b1fbda46 parent e0030b60ceeaea356e49187baf9702b5ce151be1 author Ben Dooks Mon, 10 Oct 2005 01:51:30 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:09:49 +0100 [MTD] maps/plat-ram.c: Initialize owner in device_driver struct Added .owner initialisation to allow the tracking of the device_driver owners when built as a module Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit e0030b60ceeaea356e49187baf9702b5ce151be1 tree 5d49e7d4b590e18be45c0b9368d4745e204d6cf6 parent 61a7275491ce3c2b0a243b1fbeda024e5faeb2c6 author Ben Dooks Mon, 10 Oct 2005 01:13:41 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:08:38 +0100 [MTD] maps/bast-flash.c: Initialize owner in device_driver struct Added owner to device driver field for tracking when loaded as a module. Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 61a7275491ce3c2b0a243b1fbeda024e5faeb2c6 tree 050fa4a94595c52261ce377f0fa795db618cc3a4 parent 5cea5dadfebdede8045fca118328860058129eb2 author Ben Dooks Mon, 10 Oct 2005 01:09:19 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:07:28 +0100 [MTD] NAND: s3c2410.c Initialize owner in device_driver struct Added owner fields to the device_driver for tracking ownership when built as a module Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 5cea5dadfebdede8045fca118328860058129eb2 tree 341645da538e4606a139d7b3cbce23e0901a9ca2 parent daba5cc4bcd025a9b4fd02a9117c71bfd400d811 author Artem B. Bityutskiy Fri, 30 Sep 2005 15:49:12 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:04:14 +0100 [MTD] mtdpart.c: Allow eraseblock size != power of 2 Don't assume eraseblock size is power of 2. Dataflash can have aligned eraseblock size. From: Peter Menzebach Acked-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit daba5cc4bcd025a9b4fd02a9117c71bfd400d811 tree da74b64b3bbd4ae215ced6d2d54abe7fdf83818e parent 83a368380e172c1b2e9fd6ec2a62e457684adf0c author Artem B. Bityutskiy Fri, 30 Sep 2005 14:59:17 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 23:01:48 +0100 [JFFS2] Fix dataflash support - assume wbuf may be of size which is not power of 2 - don't make strange assumption about not padding wbuf for DataFlash - use wbuf = DataFlash page and eraseblock >= 8 Dataflash pages From: Peter Menzebach Acked-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 83a368380e172c1b2e9fd6ec2a62e457684adf0c tree dd5150d734a383ac042b02f7447f22a46f46a28c parent a41371eb6d9b368e53867cd85156f07371e9f72f author Kyungmin Park Thu, 29 Sep 2005 04:53:16 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:59:48 +0100 [MTD] OneNAND: Enhanced support for DDP (Dual Densitiy Packages) Add density mask for better support of DDP chips. Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit a41371eb6d9b368e53867cd85156f07371e9f72f tree 962ef7c7222e0790294548564254022911c239ad parent d55849aa4d219b734795862692cc6981af848357 author Kyungmin Park Thu, 29 Sep 2005 03:55:31 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:42:28 +0100 [MTD] OneNAND: Power Management (PM) support Add suspend/resume Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit d55849aa4d219b734795862692cc6981af848357 tree aeddad3ad93ff49b298df11f8ba5cb8930f4c05b parent 2f0077e01822424c4f73aa838a063a5b0193d533 author Artem B. Bityutskiy Tue, 27 Sep 2005 14:40:52 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:41:34 +0100 [JFFS2] Use memset(struct) instead of nulling struct members one by one Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 1555972231f3202f00e04f7c42d2db858e11b874 tree 476d4c33f4866af6370e7563831d5f3c80312067 parent 32f8b97ca39421057d8adef05b7219127355d60c author Russell King Sun, 06 Nov 2005 21:41:08 +0000 committer Russell King Sun, 06 Nov 2005 21:41:08 +0000 [ARM] Fix /proc/cpuinfo format for ARM SMP glibc expects to count lines beginning with "processor" to determine the number of processors, not lines beginning with "Processor". So, give glibc the format it expects. Signed-off-by: Russell King commit 2f0077e01822424c4f73aa838a063a5b0193d533 tree 1fad79f6a2ffac3f535a0e6ecd3193de97b2b209 parent 87590e26ff4e7d57dfdaa81780b1b0d9e9970a4c author Artem B. Bityutskiy Tue, 27 Sep 2005 14:17:32 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:40:33 +0100 [JFFS2] Remove stale comment Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 87590e26ff4e7d57dfdaa81780b1b0d9e9970a4c tree ebc1fc55e3bfb46115e198d78ddb914afc5801d5 parent 0255fc1b081cf92b56dfe5e1f3a824d050326614 author Kyungmin Park Tue, 27 Sep 2005 11:26:39 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:39:23 +0100 [MTD] OneNAND: Add missing files Simple bad block table source and header files Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit 0255fc1b081cf92b56dfe5e1f3a824d050326614 tree 06fe039a6359c0c8817298a816995c5bd81e776d parent 2bc9764c4837c6b7da540b7a2592ec02f9a14e47 author Ben Dooks Mon, 26 Sep 2005 22:42:57 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:37:35 +0100 [MTD] NAND: s3c2410 use dev_err() to report errors instead of printk() Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 2bc9764c4837c6b7da540b7a2592ec02f9a14e47 tree 9171bc9f8e36e7407c5f822c08fccdc2e45df050 parent ef6f0d1ffcd86484e01cec4fd2d2c5ca5887a43b author Ferenc Havasi Mon, 26 Sep 2005 12:37:25 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:32:45 +0100 [JFFS2] Rename jffs2_summary_node to jffs2_raw_summary Signed-off-by: Ferenc Havasi Signed-off-by: Thomas Gleixner commit ef6f0d1ffcd86484e01cec4fd2d2c5ca5887a43b tree b69f78393c0c5f719e1fe0bcaccb467b126fc1a4 parent 733802d974e5af42acb7cd61b16c0ce6dd03b7ed author Pete Popov Fri, 23 Sep 2005 02:44:58 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:29:02 +0100 [MTD] NAND: Alchemy board driver cleanup - cleaned up the partitions and include files - added more flexible CS and address detection and setup Regression tested on db1200 and db1550. Signed-off-by: Pete Popov Signed-off-by: Thomas Gleixner commit 733802d974e5af42acb7cd61b16c0ce6dd03b7ed tree 56f77d78d9a2df474bb1686f5d060ee1e84a4d68 parent b523b3bac3a745fefd6f604082f2ffa09b808e5e author Artem B. Bityutskiy Thu, 22 Sep 2005 12:25:00 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 22:20:33 +0100 [JFFS2] Debug code simplification, update TODO Simplify the debugging code further. Update the TODO list Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit b523b3bac3a745fefd6f604082f2ffa09b808e5e tree 9eb77323c6fe5e7d660d21928808aaf86d377c9f parent 34c0e906718fa2f85b54b937f79bffdca48ee864 author Joern Engel Sun, 18 Sep 2005 11:46:45 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:58:57 +0100 [MTD] maps: Add support for MTX-1 Flash device Add support for "4G Systems MTX-1 Flash device", better known as meshcube. From: Bruno Randolf Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 34c0e906718fa2f85b54b937f79bffdca48ee864 tree ff07b9203c8f149c1f69f0e6bc2e6cf15d56fa3d parent 962034f43937d02a1c18e802a6641aed0a266ac5 author Ferenc Havasi Fri, 16 Sep 2005 13:58:20 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:47:18 +0100 [JFFS2] Account summary space in reserved_size. Always keep valid data in reserved_size. It did not cause problems, but the reservation code was unoptimal when centralized summary was active or the size of the erase block was very small. Signed-off-by: Ferenc Havasi Signed-off-by: Thomas Gleixner commit 962034f43937d02a1c18e802a6641aed0a266ac5 tree d1e1f2fe4f45614f7714bc117fc55c4d5d9ee982 parent 9c517e6c801aab0f8de8f9c67bfc16ea13d72971 author Vitaly Wool Thu, 15 Sep 2005 14:58:53 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:43:45 +0100 [MTD] NAND: Add suspend/resume functionality The changes introduced allow to suspend/resume NAND flash. A new state (FL_PM_SUSPENDED) is introduced, as well as routines for mtd->suspend and mtd->resume to put the flash in suspended state from software pov. Signed-off-by: Vitaly Wool Signed-off-by: Thomas Gleixner commit 9c517e6c801aab0f8de8f9c67bfc16ea13d72971 tree a97eac9182c8baa54293a71955eae1bc6242e485 parent 81e39cf0297c7f32fb8869af9ae199130208ae6f author Todd Poynor Wed, 14 Sep 2005 20:14:17 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:40:38 +0100 [MTD] maps: Add mapping driver for PQ2FADS boards. From: Vitaly Bordug Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 81e39cf0297c7f32fb8869af9ae199130208ae6f tree 23d10bae1a1d4067f51a25115b35c3e39ac62f8b parent 8acff5e93488e4da653097bd5e50662ee0985867 author Artem B. Bityutskiy Wed, 14 Sep 2005 17:57:35 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:38:34 +0100 [JFFS2] Debug message format clean up Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 8acff5e93488e4da653097bd5e50662ee0985867 tree 90172da041ac2b11dc3fc0e881146b6c50b290db parent 1b01d9798d58bf28a40fede184482ebf39e63335 author Ferenc Havasi Fri, 09 Sep 2005 16:12:01 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:37:07 +0100 [JFFS2] Call summary collector for all mtd devices with writev support Do the summary collection in the right place. If the device was not writebuffered but had c->mtd->writev function (e.g. blkmtd) the summary collector function was not called. Signed-off-by: Ferenc Havasi Signed-off-by: Thomas Gleixner commit 1b01d9798d58bf28a40fede184482ebf39e63335 tree d158089f6f0cb0e8ee652e371ff8960155b798db parent 68ee4b1c50847743393b01847a640ebf1002789b author Kyungmin Park Fri, 09 Sep 2005 07:43:16 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:35:12 +0100 OneNAND: Remove OMAP platform driver Now we can use the generic platform driver Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit 68ee4b1c50847743393b01847a640ebf1002789b tree 40b71c801678c3e71c9cd7c30127ff3f47fa653a parent e4c212efbdd4e286bc3defcddbab2c1e57ec75c3 author Kyungmin Park Fri, 09 Sep 2005 07:39:50 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:33:11 +0100 [MTD] OneNAND: Add generic platform driver Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit e4c212efbdd4e286bc3defcddbab2c1e57ec75c3 tree 6e33da00f5c2d2e3f533e9eb58bf9f6d691db634 parent c617e842482eb513070cbf233766099cff2a1663 author David Vrabel Thu, 08 Sep 2005 11:32:23 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:32:16 +0100 [MTD] maps/ixp4xx: remove platform specific bits - Intel chip driver has a reboot notifier so no need to reset the chip here. - Don't play with chip selects (platform code should do this if necessary). Signed-off-by: David Vrabel Signed-off-by: Thomas Gleixner commit 65163fd73c65e4c61437c28ac4ef9f3c5ba16a80 tree 555d7ff97b4c602703ae89ef836128bc59a5132d parent 6dfca87806eb94c1033b01e4f7a48363b890ec79 author Michal Wronski Sun, 06 Nov 2005 21:31:54 +0100 committer Adrian Bunk Sun, 06 Nov 2005 21:31:54 +0100 Update Michal Wronski contact info commit c617e842482eb513070cbf233766099cff2a1663 tree b49cfa5bf5e731f40bd6b10bcc8f59e592b8be6a parent e631ddba588783edd521c5a89f7b2902772fb691 author Ferenc Havasi Wed, 07 Sep 2005 12:22:01 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:31:05 +0100 [JFFS2] Return real jffs2_sum_init() error code Signed-off-by: Ferenc Havasi Signed-off-by: Thomas Gleixner commit 6dfca87806eb94c1033b01e4f7a48363b890ec79 tree 2acf2772028677eb97747890832ec35994195a64 parent f912696ab330bf539231d1f8032320f2a08b850f author Adrian Bunk Sun, 06 Nov 2005 21:31:01 +0100 committer Adrian Bunk Sun, 06 Nov 2005 21:31:01 +0100 I am the new monkey. Signed-off-by: Adrian Bunk commit e631ddba588783edd521c5a89f7b2902772fb691 tree e25f322ee498b344f058ce4a40060baa22a5f105 parent 15017876751e4c2d786ba95920618359fe2b4f0a author Ferenc Havasi Wed, 07 Sep 2005 09:35:26 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:29:48 +0100 [JFFS2] Add erase block summary support (mount time improvement) The goal of summary is to speed up the mount time. Erase block summary (EBS) stores summary information at the end of every (closed) erase block. It is no longer necessary to scan all nodes separetly (and read all pages of them) just read this "small" summary, where every information is stored which is needed at mount time. This summary information is stored in a JFFS2_FEATURE_RWCOMPAT_DELETE. During the mount process if there is no summary info the orignal scan process will be executed. EBS works with NAND and NOR flashes, too. There is a user space tool called sumtool to generate this summary information for a JFFS2 image. Signed-off-by: Ferenc Havasi Signed-off-by: Thomas Gleixner commit 15017876751e4c2d786ba95920618359fe2b4f0a tree ee199c8b538c2e38c5854098d8f91f97fb44ba43 parent d36d63d404b75ddf231da0dbd3640e6d1722b4ab author Kyungmin Park Sat, 03 Sep 2005 07:37:19 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:25:42 +0100 [MTD] OneNAND: Remove experimental Kconfig dependency Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit d36d63d404b75ddf231da0dbd3640e6d1722b4ab tree fa04e066666c602de3090ff61feb576c13da5ff1 parent 405c829f98d216925de00af2ee52f969f2c2891c author Kyungmin Park Sat, 03 Sep 2005 07:36:21 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:24:51 +0100 [PATCH] OneNAND: Fix bug in write verify - Remove unused block, page parameters - Add constant instead of runtime value Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit 405c829f98d216925de00af2ee52f969f2c2891c tree afb3d94b8cab76473baf474a2d36df4c4cf1fa8b parent fcc31470c49e224ed8115c70541f599fc7568fee author Kyungmin Park Sat, 03 Sep 2005 07:32:30 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:23:10 +0100 [PATCH] OneNAND: Add simulator Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit fcc31470c49e224ed8115c70541f599fc7568fee tree bcf6f27188d61649b7adc50fce990cd5fc912fcf parent cdc001305da4f057353911018e28f26f8f879061 author Kyungmin Park Sat, 03 Sep 2005 07:20:08 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:22:01 +0100 [PATCH] OneNAND: Update OMAP OneNAND mapping using device driver model - Update OMAP OneNAND mapping file using device driver model - Remove board specific macro and values. Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit cdc001305da4f057353911018e28f26f8f879061 tree 3672f12af5da82b646aee7ed2d923225fe279a3b parent 52b0eea73de05df33c51ca652e288a3ba1bba03b author Kyungmin Park Sat, 03 Sep 2005 07:15:48 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:20:53 +0100 [PATCH] OneNAND: Simple Bad Block handling support Based on NAND memory bad block table code Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit 52b0eea73de05df33c51ca652e288a3ba1bba03b tree 6ddb928b70458a0137481e434cea416e41ca4bb8 parent cd5f6346bc28a41375412b49b290d22ee4e4bbe8 author Kyungmin Park Sat, 03 Sep 2005 07:07:19 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:19:37 +0100 [PATCH] OneNAND: Sync. Burst Read support Add OneNAND Sync. Burst Read support Tested with OMAP platform Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit cd5f6346bc28a41375412b49b290d22ee4e4bbe8 tree e90e028e7319f2787fd8660d10d8455aba95ddc5 parent 4ce1f562189696605a84813cf71847c0cc698414 author Kyungmin Park Mon, 11 Jul 2005 11:41:53 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:17:24 +0100 [MTD] Add initial support for OneNAND flash chips OneNAND is a new flash technology from Samsung with integrated SRAM buffers and logic interface. Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit 4ce1f562189696605a84813cf71847c0cc698414 tree 1ec543b00db38f5ae8db38f0f881db11ebb5d010 parent f0507530cbedf37515e0d803c332cdb81b34e71a author Ferenc Havasi Wed, 31 Aug 2005 14:51:04 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 21:08:27 +0100 [JFFS2] Remove support for virtual blocks Remove support for virtual blocks, which are build by concatenation of multiple physical erase blocks. For more information please read the MTD mailing list thread "[PATCH] remove support for virtual blocks" Signed-off-by: Ferenc Havasi Signed-off-by: Thomas Gleixner commit 32f8b97ca39421057d8adef05b7219127355d60c tree e7da38f1b563b21bf588b0ac2dd3f29346ff0e74 parent 4fe15ba08fdb280536bd7019e8505969c4ac6852 author Russell King Sun, 06 Nov 2005 19:49:21 +0000 committer Russell King Sun, 06 Nov 2005 19:49:21 +0000 [ARM] Don't call dump_cpu_info unless we're booting We don't want to call dump_cpu_info() from cpu_init() after boot since it produces a lot of unnecessary noise - since cpu_init() gets called on resume and hotplug cpu insertion events. Signed-off-by: Russell King commit 4fe15ba08fdb280536bd7019e8505969c4ac6852 tree 0718f9bbd876fa63d9f7f9d12dbce21abce53a95 parent 4299051ebe89ab1eeadeaf4cf06ce63421412232 author Russell King Sun, 06 Nov 2005 19:47:04 +0000 committer Russell King Sun, 06 Nov 2005 19:47:04 +0000 [ARM] Fix second missing declaration of cache_is_vivt() Signed-off-by: Russell King commit f0507530cbedf37515e0d803c332cdb81b34e71a tree b9a91ac68b4b48a6bb910fcbea51cac4f70233d5 parent 280562b2104c9a0ca7efc5e716b6452a7ba820fa author Artem B. Bityutskiy Mon, 22 Aug 2005 10:07:12 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:32:36 +0100 [JFFS2] Solve BUG caused by frag->node representing a hole in fragtree Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 280562b2104c9a0ca7efc5e716b6452a7ba820fa tree 6dcee70d0ec3da6fbb8afd9e05e6b73c1a46e97a parent 8d5df40954281a8e0f788b311f9c08f96e530ffa author Artem B. Bityutskiy Wed, 17 Aug 2005 15:57:43 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:29:56 +0100 [JFFS2] Calculate CRC check starting point correctly When data starts from the beginning of NAND page, 'len' must be zero, not c->wbuf_page. Thanks to Zoltan Sogor for reporting this problem. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 8d5df40954281a8e0f788b311f9c08f96e530ffa tree 835fa433bd86700f9fd09864687276c7136b75ef parent 3a69e0cd22cf34920508a4032d53e41251925f53 author Artem B. Bityutskiy Wed, 17 Aug 2005 15:13:48 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:27:14 +0100 [JFFS2] More message formatting cleanups Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 3a69e0cd22cf34920508a4032d53e41251925f53 tree f6f862aa743e3de98e348c20d84a26772da06195 parent 01d445f89d68187c9ada7b58ca939dbb987c9fbd author Artem B. Bityutskiy Wed, 17 Aug 2005 14:46:26 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:25:59 +0100 [JFFS2] Fix JFFS2 [mc]time handling From: David Woodhouse Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 01d445f89d68187c9ada7b58ca939dbb987c9fbd tree ba892404d00376bbec643883e27c263200b65bc0 parent d4094661545662982278900220729982372b0e9a author Artem B. Bityutskiy Wed, 17 Aug 2005 14:42:09 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:24:15 +0100 [JFFS2] Make the JFFS2 messages a bit nicer Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit d4094661545662982278900220729982372b0e9a tree 845c22d703c1f894fbfe76367e1f9820b1e278f0 parent 2c92d755323514a12c367f52027fb1f53328fcd6 author Thomas Gleixner Thu, 11 Aug 2005 18:13:46 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:22:32 +0100 [MTD] NAND: Use correct mask for OOB size calculation The bit mask used for oob size calculation was using 2 bits instead of one. Fortunately the next bit has been 0 all the time. Thanks to Nathan H. for pointing this out Signed-off-by: Thomas Gleixner commit 2c92d755323514a12c367f52027fb1f53328fcd6 tree c2d036d9f5342588a7c7e7cac6731b102cf2a4cb parent e21f6c02f78351c4aae8510929ed794cd818d847 author Thomas Gleixner Thu, 11 Aug 2005 18:13:46 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:15:30 +0100 [MTD] Remove deprecated power management functions Signed-off-by: Thomas Gleixner commit e21f6c02f78351c4aae8510929ed794cd818d847 tree f100401dd2092decca0f8e43265c22bcfc7def5e parent 59da721a2288b8aec751a2716f7ab60f2ea0c925 author David Woodhouse Mon, 08 Aug 2005 09:56:22 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:14:49 +0100 [MTD] Missing check on kmalloc return in INFTL mount. Signed-off-by: Youssef Hmamouche Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 59da721a2288b8aec751a2716f7ab60f2ea0c925 tree 902a0a61cd3ed7e2dab27f20b4fd541566f598a1 parent e102d54abf6806b95c89142cd0b7e94d709ebcd7 author Nicolas Pitre Sat, 06 Aug 2005 05:51:33 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:13:52 +0100 [JFFS2] Teach JFFS2 about Sibley flash Intels Sibley flash needs JFFS2 write buffer functionality Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit e102d54abf6806b95c89142cd0b7e94d709ebcd7 tree ec4f6fde798cd6f3b8f5771631f07b6a2980b6d1 parent 638d983840bb64e02c29bdd6160bb9963f4090f7 author Nicolas Pitre Sat, 06 Aug 2005 05:46:59 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:12:48 +0100 [MTD] writev support for cfi-cmdset-0001 While this might be useful for all supported flash types, it is mandatory for proper JFFS2 support with Sibley flash. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 638d983840bb64e02c29bdd6160bb9963f4090f7 tree f07e85847009236731f8cb2b9afcba35d40849b1 parent 4843653cab0db036399f77d9355db31ce39cb8b9 author Nicolas Pitre Sat, 06 Aug 2005 05:40:46 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:12:17 +0100 {MTD] add support for Intel's "Sibley" flash This updates the Primary Vendor-Specific Extended Query parsing to version 1.4 in order to get the information about the Configurable Programming Mode regions implemented in the Sibley flash, as well as selecting the appropriate write command code. This flash does not behave like traditional NOR flash when writing data. While mtdblock should just work, further changes are needed for JFFS2 use. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 4843653cab0db036399f77d9355db31ce39cb8b9 tree 0c9665509f2a1c1b66cd00ca170ec7b542446f5c parent e27a9960af0506d84b9ca9dd3874b7d88901f230 author Nicolas Pitre Sat, 06 Aug 2005 05:16:52 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:10:19 +0100 [MTD] cleanups to cfi_cmdset_0001 This includes improved error handling/reporting plus some other message cleanups. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit e27a9960af0506d84b9ca9dd3874b7d88901f230 tree cac8c7876c3917c301e663d82b3877aa7f9935ab parent 45ca1b509ea156e87c99e529821fb3b548e14fe3 author Sean Young Thu, 16 Jun 2005 09:49:33 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 20:08:54 +0100 [MTD] Add Resident Flash Disk (RFD) support This type of flash translation layer (FTL) is used by the Embedded BIOS by General Software. It is known as the Resident Flash Disk (RFD), see: http://www.gensw.com/pages/prod/bios/rfd.htm Signed-off-by: Sean Young Signed-off-by: Thomas Gleixner commit 45ca1b509ea156e87c99e529821fb3b548e14fe3 tree cd04eb424ea8205f2f2d9e92bf5abfc7431250fc parent 3c09133739beff0d5ad457dfcfc85c7c350d3661 author Artem B. Bityutskiy Fri, 05 Aug 2005 12:43:47 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 19:14:35 +0100 [JFFS2] Debug code clean up - step 7 Remove more noisy debugs. Add current->pid to debug messages. Remove bogus includes. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 3c09133739beff0d5ad457dfcfc85c7c350d3661 tree 171320f1919f6be98a90a08c3a88d84120456967 parent 392435081e8cc6e02bdc4fa998050abb11d331b4 author Artem B. Bityutskiy Thu, 04 Aug 2005 12:40:02 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 18:35:36 +0100 [JFFS2] Correct buggy length checks The previous changes introduced wrong length calculations. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 392435081e8cc6e02bdc4fa998050abb11d331b4 tree ccc592e8d993d8df4285832a41f2a06bac53f979 parent 1e0da3cb6cd4a909c64c870344183185bd6815b1 author Artem B. Bityutskiy Wed, 03 Aug 2005 10:26:50 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 18:33:09 +0100 [JFFS2] Debug code clean up - step 6 Remove extra noisy debugs Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 1e0da3cb6cd4a909c64c870344183185bd6815b1 tree f7ffedba74681cd8f7662990dfb4f3919dcaef23 parent e0e3006f79a6d995c9a7de7556f11a9b97536423 author Artem B. Bityutskiy Mon, 01 Aug 2005 13:05:22 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 18:22:17 +0100 [JFFS2] Build fragtree in reverse order Instead of building fragtree starting from node with the smallest version number, start from the highest. This helps to avoid reading and checking obsolete nodes. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit e0e3006f79a6d995c9a7de7556f11a9b97536423 tree 6c3948eec0d8f4af05609dc86d0e0104477457ab parent 1e900979a7e6c2abbfd1b86bffd226d2d6115f66 author Artem B. Bityutskiy Sun, 31 Jul 2005 10:08:41 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 18:19:41 +0100 [JFFS2] Refine fragtree debug macros Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 1e900979a7e6c2abbfd1b86bffd226d2d6115f66 tree 700fd63d312704da8ab58d9de842420bc192f013 parent 737b7661e059680a68afb3df0a088fd976f666b7 author Artem B. Bityutskiy Sun, 31 Jul 2005 09:20:48 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 18:11:59 +0100 [JFFS2] Move another fragtree-related function to nodelist.c Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 737b7661e059680a68afb3df0a088fd976f666b7 tree 4d590f906217780f5e73ddbbf6ff39e7dd7b74c0 parent e0d601373b1123ea43b1fdec08d9e58a079ae35c author Andrew Lunn Sat, 30 Jul 2005 16:29:30 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 18:06:10 +0100 [JFFS2] Fix up new debug code for eCos build The debug code cleanup broke the eCos build. Signed-off-by: Andrew Lunn Signed-off-by: Thomas Gleixner commit e0d601373b1123ea43b1fdec08d9e58a079ae35c tree d3def6c56255fb3b2b98edbfdb522fa84e6741ca parent f97117d15361b3a6aeaf9e347a287ef3f54b58f9 author Artem B. Bityutskiy Thu, 28 Jul 2005 15:46:43 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 18:01:24 +0100 [JFFS2] Debug code clean up - step 5 Replace the D1(printk()) style debugging with the new debug macros Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit f97117d15361b3a6aeaf9e347a287ef3f54b58f9 tree 614ff5f6fa693e1e475430eff9687e40b96b8555 parent f538c96ba2a3fdf7744ecf9fdffac14b1ec4be32 author Artem B. Bityutskiy Wed, 27 Jul 2005 15:46:14 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 17:50:45 +0100 [JFFS2] Move scattered function into related files Move functions to read inodes into readinode.c Move functions to handle fragtree and dentry lists into nodelist.[ch] Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit f538c96ba2a3fdf7744ecf9fdffac14b1ec4be32 tree f6c2bcb42d1f6869097ea6cbbde94a677cb970d3 parent 2227c0ba4bc177a014d95b380b4d888454a127a9 author Artem B. Bityutskiy Wed, 27 Jul 2005 15:16:57 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 17:34:21 +0100 [JFFS2] Debug code clean up - step 4 Small comment cleanups. Remove a unused macro Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 2227c0ba4bc177a014d95b380b4d888454a127a9 tree 5194c9974261a70473b063fc8c611773c09d719d parent f302cd028c90ddbca20cb5388458ae0f0dd03d9b author Ferenc Havasi Tue, 26 Jul 2005 14:24:43 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 17:31:24 +0100 [jffs2] Remove compressor lzo and lzari Remove unused compressor code Signed-off-by: Ferenc Havasi Signed-off-by: Thomas Gleixner commit f302cd028c90ddbca20cb5388458ae0f0dd03d9b tree 9f78e99aba22b3b24047d48c6e6964889df83b11 parent e0c8e42f8f218063ff6838b25038ccef7ddf257e author Artem B. Bityutskiy Sun, 24 Jul 2005 16:29:59 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 17:17:32 +0100 [JFFS2] Namespace clean up Rename functions to a name matching the functionality. Remove stall debug code Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit e0c8e42f8f218063ff6838b25038ccef7ddf257e tree a072b5cfd6b9af41dfef13821383af584d989ca6 parent 6dac02a5e1bba0bb88ece50160fc4a64cccf30d1 author Artem B. Bityutskiy Sun, 24 Jul 2005 16:14:17 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 17:06:49 +0100 [JFFS2] Debug code clean up - step 3 Various simplifiactions. printk format corrections. Convert more code to use the new debug functions. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 4299051ebe89ab1eeadeaf4cf06ce63421412232 tree 181fc4ca6ac786e0e543fe5fa5315ef70d15cb1e parent d3997abf699655d2ec012e944fb34668cc3ec6d7 author Russell King Sun, 06 Nov 2005 15:46:57 +0000 committer Russell King Sun, 06 Nov 2005 15:46:57 +0000 [ARM] Fix missing declaration of cache_is_vivt() Signed-off-by: Russell King commit d3997abf699655d2ec012e944fb34668cc3ec6d7 tree 869c20d9b14da1fc550ff30254cabb28a430c1be parent 756c7b748926b0baec6d2a921c3711679282c8fd author Russell King Sun, 06 Nov 2005 15:45:00 +0000 committer Russell King Sun, 06 Nov 2005 15:45:00 +0000 [ARM] Fix another use of // as a comment // disagrees with ld's script parsing ability. Don't use it. Signed-off-by: Russell King commit 6dac02a5e1bba0bb88ece50160fc4a64cccf30d1 tree 68645a9df3dd236bc1f2a336f6c2c1657d366bb1 parent 61a39b694137cef6059a0714c3b1847aabe53b90 author Artem B. Bityutskiy Mon, 18 Jul 2005 12:21:23 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 16:31:04 +0100 [JFFS2] Fix slab panic When JFFS22 is unable to read the root inode, the bad root inode object is not freed and remains sticked in the jffs2_i slab cache. When we further try to free the slab cache (e.g., on rmmod jffs2), slab allocator subsystem panics. Fix this bug. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 61a39b694137cef6059a0714c3b1847aabe53b90 tree 8bba8f467a8a938d21cecb2ed63489246982b82e parent 2b79adcca147c9f8fd1094ab4cb342d7e1790d70 author Artem B. Bityutskiy Sun, 17 Jul 2005 13:01:46 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 16:29:43 +0100 [JFFS2] Debug code clean up - step 2 If debugging is disabled, define debugging functions as empty macros, instead of using Dx() explicitly. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 2b79adcca147c9f8fd1094ab4cb342d7e1790d70 tree 11238349e1e7861d8d4bb290719fc52269b78e65 parent 730554d94607572ef8300c5c9848540b42394897 author Artem B. Bityutskiy Sun, 17 Jul 2005 12:13:51 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 16:25:55 +0100 [JFFS2] Use f->target instead of f->dents for symlink target JFFS2 uses f->dents to store the pointer to the symlink target string (in case the inode is symlink). This is somewhat ugly to use the same field for different reasons. Introduce distinct field f->target for this purpose. Note, f->fragtree, f->dents, f->target may probably be put in a union. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 730554d94607572ef8300c5c9848540b42394897 tree fcefe9225afae333e09a59bdb2b8ac6e44676ce6 parent dae6227f71fedb40b2478d3062397d3ab54e7556 author Artem B. Bityutskiy Sun, 17 Jul 2005 07:56:26 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 16:21:25 +0100 [JFFS2] Debug code clean up - step 1 Move debug functions into a seperate source file Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 756c7b748926b0baec6d2a921c3711679282c8fd tree 6eba4a4e31eef4e40c5bec85bc420006034e6cbe parent b7ec479553b8755dd95ee988a957cbf2aef351dc author Richard Purdie Sun, 06 Nov 2005 15:03:23 +0000 committer Russell King Sun, 06 Nov 2005 15:03:23 +0000 [ARM] 3113/1: PXA: Allow machines to override (and also reuse) pxa pm functions Patch from Richard Purdie Update the PXA pm.c file to allow machines (such as the Sharp Zaurus) to override the standard pm functions but reuse/wrap them where needed. The init call is made slightly earlier to give machine code an init level to override them in removing any race. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit b7ec479553b8755dd95ee988a957cbf2aef351dc tree b2066a113c7e0bb1546564038c692f6f423315bf parent 7240f1f183f085f6b7af44ec274b5b6123dfdead author Nicolas Pitre Sun, 06 Nov 2005 14:42:37 +0000 committer Russell King Sun, 06 Nov 2005 14:42:37 +0000 [ARM] 3115/1: small optimizations to exception vector entry code Patch from Nicolas Pitre Since we know the value of cpsr on entry, we can replace the bic+orr with a single eor. Also remove a possible result delay (at least on XScale). Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit dae6227f71fedb40b2478d3062397d3ab54e7556 tree df43f7acd08c2b3332672cfe2db6624ad9a2c386 parent 2fc2991175bf77395e6b15fe6b2304d3bf72da40 author Artem B. Bityutskiy Fri, 15 Jul 2005 11:13:57 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 15:40:55 +0100 [JFFS2] Split a large routine on several smaller. Signed-off-by: Artem B. Bityutskiy Signed-off-by: Thomas Gleixner commit 2fc2991175bf77395e6b15fe6b2304d3bf72da40 tree b0ff38c09240e7c00e1577d447ebe89143d752dc parent 8b491d750885ebe8e7d385ce4186c85957d67123 parent 7015faa7df829876a0f931cd18aa6d7c24a1b581 author Thomas Gleixner Sun, 06 Nov 2005 15:36:37 +0100 committer Thomas Gleixner Sun, 06 Nov 2005 15:36:37 +0100 Merge branch 'master' of /home/tglx/work/mtd/git/linux-2.6.git/ commit 7240f1f183f085f6b7af44ec274b5b6123dfdead tree a68b0548c7c9adc78cdd3881029fdef1d8d53252 parent 84613387cb60bc760a4588822cd61fb88e1d7fad author Lennert Buytenhek Sun, 06 Nov 2005 14:34:13 +0000 committer Russell King Sun, 06 Nov 2005 14:34:13 +0000 [ARM] 3114/1: use ixp2000_reg_wrb in ixp2000 uengine loader Patch from Lennert Buytenhek Make the uengine loader use ixp2000_reg_wrb in the right places. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 84613387cb60bc760a4588822cd61fb88e1d7fad tree 66f945e84fe66dafa5fb897223588353aed48860 parent 8459c159f7de832eaf888398d2abf466c388dfa6 author Alessandro Zummo Sun, 06 Nov 2005 14:34:12 +0000 committer Russell King Sun, 06 Nov 2005 14:34:12 +0000 [ARM] 3089/1: ixp4xx AHB/PCI endianness fix Patch from Alessandro Zummo This patch fixes AHB/PCI endianness problems when the processor is in little-endian mode. The patch configures the CSR register closely following the directives in [1], paragraph 4.1, page 19. According to the considerations in [1], page 11, while the AHB bus supports both endian modes, on the IXP4XX it always uses big-endian. The PCI bus is connected to the South AHB. A wrong setting in the CSR register will thus cause a malfunctional PCI bus. A schematic diagram of the bus interconnections on the IXP4XX can be found in [1], page 18. The patch has been verified to work on the NSLU2 in both LE and BE modes. The author is Peter Korsgaard. [1] Intel® IXP4XX Product Line of Network Processors and IXC1100 Control Plane Processor: Understanding Big Endian and Little Endian Modes http://www.intel.com/design/network/applnots/25423701.pdf Signed-off-by: Alessandro Zummo Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 8459c159f7de832eaf888398d2abf466c388dfa6 tree 1edc2d046a7e9a0a0244d64f2aff7870f85c41bd parent 20faa7c380c19c932d57be59bb2522bd9327a6c5 author Dirk Opfer Sun, 06 Nov 2005 14:27:52 +0000 committer Russell King Sun, 06 Nov 2005 14:27:52 +0000 [ARM] 3088/1: PXA: Add machine support for the Sharp SL-6000x series of PDAs Patch from Dirk Opfer This patch adds basic machine support for the Sharp SL-6000x (Tosa) PDAs. Signed-off-by: Dirk Opfer Signed-off-by: Richard Purdie Signed-off-by: Russell King commit ab919c06144cfb11c05b5b5cd291daa96ac2e423 tree 8747dc3122c0c2ebefaf004a2d71e2cb7bd97615 parent 2dd34b488a99135ad2a529e33087ddd6a09e992a author Sam Ravnborg Sun, 06 Nov 2005 11:05:21 +0100 committer Sam Ravnborg Sun, 06 Nov 2005 11:05:21 +0100 kconfig: fix xconfig on fedora 2 & 3 (x86_64) From: Than Ngo qt as installed on fedora core (2 and 3) does not work with vanilla kernel. The linker fails to locate the qt lib: Actual Results: # make xconfig HOSTLD scripts/kconfig/qconf /usr/bin/ld: cannot find -lqt collect2: ld returned 1 exit status Than Ngo has provided following fix for the bug. Cc: Than Ngo Acked-by: Dave Jones Signed-off-by: Sam Ravnborg commit 2dd34b488a99135ad2a529e33087ddd6a09e992a tree 785b06eabfea3fdebf571b1e2b8a1ea695974416 parent f912696ab330bf539231d1f8032320f2a08b850f author Russell King Sun, 30 Oct 2005 22:42:11 +0100 committer Sam Ravnborg Sun, 06 Nov 2005 10:22:04 +0100 [PATCH] kbuild: permanently fix kernel configuration include mess Include autoconf.h into every kernel compilation via the gcc command line using -imacros. This ensures that we have the kernel configuration included from the start, rather than relying on each file having #include as appropriate. History has shown that this is something which is difficult to get right. Since we now include the kernel configuration automatically, make configcheck becomes meaningless, so remove it. Signed-off-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg commit 21c614a7899046ab108b3d327d76c33443a8ebf2 tree 99cf486877f2a4133b5bfb262bc7aa0641cefd14 parent f912696ab330bf539231d1f8032320f2a08b850f author Pantelis Antoniou Sun, 06 Nov 2005 09:07:03 +0000 committer Russell King Sun, 06 Nov 2005 09:07:03 +0000 [SERIAL] Support Au1x00 8250 UARTs using the generic 8250 driver. The offsets of the registers are in a different place, and some parts cannot handle a full set of modem control signals. Signed-off-by: Pantelis Antoniou Signed-off-by: Russell King commit 50eb80068001871339d04b749fb9b198428b56d2 tree f3e5f491e35da275be5af3a2d567af564827b33c parent ecf8b596cf636c14896841625d552e148585ad07 author Jeff Garzik Sat, 05 Nov 2005 23:40:46 -0500 committer Jeff Garzik Sat, 05 Nov 2005 23:40:46 -0500 [netdrvr s2io] warning fixes From Andrew Morton. commit ecf8b596cf636c14896841625d552e148585ad07 tree 3b978312868b35a1dd6ea5ef5d71dc8172e6f50f parent a10b5aacea01d59152b9d003a14476ee99d394d8 author Jeff Garzik Sat, 05 Nov 2005 23:40:16 -0500 committer Jeff Garzik Sat, 05 Nov 2005 23:40:16 -0500 [netdrvr] fac_8xx build fix commit a10b5aacea01d59152b9d003a14476ee99d394d8 tree 17d005c40d926090edfb293b5b2d44b73d2cd0c6 parent 4aefe1554b08b445b1701c1049563ac24b77b097 author Jeff Garzik Sat, 05 Nov 2005 23:39:54 -0500 committer Jeff Garzik Sat, 05 Nov 2005 23:39:54 -0500 Remove linux/version.h include from drivers/net/phy/* and net/ieee80211/*. Unused, and causes the files to be needlessly rebuilt in some cases. commit 0a1cc0b6a4abaed5f891d1be3e3d0d7b9b719287 tree 5364d43af6f0444eb94164d5c1bd015acb8c0ea4 parent 146a209967886e57eb34b4cdb85ca52078a4f8cc author Dave Jones Sat, 05 Nov 2005 20:32:26 -0800 committer Dave Jones Sat, 05 Nov 2005 20:32:26 -0800 [AGPGART] Fix up warning in efficeon driver. efficeon-agp.c:222: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast Signed-off-by: Dave Jones commit 4aefe1554b08b445b1701c1049563ac24b77b097 tree 53cfca0072109265d88b949dbcbb60e48a02c833 parent f912696ab330bf539231d1f8032320f2a08b850f parent d38087609aefdf0918960c9d941d46f884a4f4eb author Jeff Garzik Sat, 05 Nov 2005 22:20:11 -0500 committer Jeff Garzik Sat, 05 Nov 2005 22:20:11 -0500 Merge git://git.tuxdriver.com/git/netdev-jwl commit d38087609aefdf0918960c9d941d46f884a4f4eb tree fed1c0c9cbd81f1f3068e5b9bd979040ec74e68a parent 05d0f1cf69fd589634b38b6f6e4b8cfdaace9ca0 author Adrian Bunk Sat, 05 Nov 2005 17:42:27 +0100 committer John W. Linville Sat, 05 Nov 2005 21:00:03 -0500 [PATCH] airo.c/airo_cs.c: correct prototypes This patch creates a file airo.h containing prototypes of the global functions in airo.c used by airo_cs.c . If you got strange problems with either airo_cs devices or in any other completely unrelated part of the kernel shortly or long after a airo_cs device was detected by the kernel, this might have been caused by the fact that caller and callee disagreed regarding the size of the first argument to init_airo_card()... Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 05d0f1cf69fd589634b38b6f6e4b8cfdaace9ca0 tree 4fc8c28bc87d4f68e452fd99daa76df9e254a524 parent f4e418f7f3286f854883f9f7e3bbf7005340d2de author Michael Chan Fri, 04 Nov 2005 08:53:48 -0800 committer John W. Linville Sat, 05 Nov 2005 21:00:03 -0500 [PATCH] bnx2: update version and minor fixes Some book keeping and a style fix. Signed-off-by: Michael Chan Signed-off-by: John W. Linville commit f4e418f7f3286f854883f9f7e3bbf7005340d2de tree 655a1c3c3ea012e0521b83728034b7a675ae8e5f parent e3648b3d8de3b37fae7acbb57db1e001a19cd3b7 author Michael Chan Fri, 04 Nov 2005 08:53:48 -0800 committer John W. Linville Sat, 05 Nov 2005 21:00:03 -0500 [PATCH] bnx2: refine bnx2_poll Refine bnx2_poll() logic to write back the most up-to-date status tag when all work has been processed. This eliminates some occasional extra interrupts when a older status tag is written even though all work has been processed. The idea is to read the status tag just before exiting bnx2_poll() and then check again for any new work. If no new work is pending, the status tag written back will not generate any extra interrupt. This logic is similar to the changes David Miller did to tg3_poll(). Signed-off-by: Michael Chan Signed-off-by: John W. Linville commit e3648b3d8de3b37fae7acbb57db1e001a19cd3b7 tree 3de20299e878d60d7b5904f572f325f432e8891e parent 371377091dff14090cbe995d0a9291364f8583cb author Michael Chan Fri, 04 Nov 2005 08:51:21 -0800 committer John W. Linville Sat, 05 Nov 2005 21:00:03 -0500 [PATCH] bnx2: update firmware handshake for 5708 Dynamically determine the shared memory location where eeprom parameters are stored instead of using a fixed location. Add speed reporting to management firmware. This allows management firmware to know the current speed without contending for MII registers. Signed-off-by: Michael Chan Signed-off-by: John W. Linville commit 371377091dff14090cbe995d0a9291364f8583cb tree db98dbad7e594438434963a5e28e05dae67c61ee parent 12d30d89e57d467e4c134906a4682719813d40ad author Michael Chan Fri, 04 Nov 2005 08:49:17 -0800 committer John W. Linville Sat, 05 Nov 2005 21:00:02 -0500 [PATCH] bnx2: update nvram code for 5708 Update bnx2 nvram code with support for 5708. Signed-off-by: Michael Chan Signed-off-by: John W. Linville commit 12d30d89e57d467e4c134906a4682719813d40ad tree e62914ff479d1b5273936bcb56cc3b28e2b5cbcb parent 5b0c76ad94faf95ca50fa0de9ab07460bea19568 author Michael Chan Fri, 04 Nov 2005 08:48:02 -0800 committer John W. Linville Sat, 05 Nov 2005 21:00:02 -0500 [PATCH] bnx2: update firmware for 5708 Update bnx2 firmware with support for 5708. Signed-off-by: Michael Chan Signed-off-by: John W. Linville commit 5b0c76ad94faf95ca50fa0de9ab07460bea19568 tree 6a38e55a950a39a3eeae9e1fc51cac1ec4d43dce parent 17ecc1e63b675fb43d60e84f242c848f81c5a079 author Michael Chan Fri, 04 Nov 2005 08:45:49 -0800 committer John W. Linville Sat, 05 Nov 2005 21:00:02 -0500 [PATCH] bnx2: add 5708 support Add 5708 copper and serdes basic support, including 2.5 Gbps support on 5708 serdes. SPEED_2500 is also added to ethtool.h Signed-off-by: Michael Chan Signed-off-by: John W. Linville commit 17ecc1e63b675fb43d60e84f242c848f81c5a079 tree f91e456f9a2a7e130878d64f826750280bbf94a4 parent e6b365f61e0bd6e8e5fd320bda78e92eafab79aa author Daniel Drake Thu, 03 Nov 2005 22:45:02 +0000 committer John W. Linville Sat, 05 Nov 2005 21:00:02 -0500 [PATCH] prism54: Remove redundant assignment The last patch I sent in ("prism54: Free skb after disabling interrupts") included a redundant NULL assignment. Thanks to Herbert Xu for pointing it out. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville commit e6b365f61e0bd6e8e5fd320bda78e92eafab79aa tree b294cd63ae690eed8660029f0bc52c5179a23af8 parent 3ad2cc6798be9388c9a3f1e6180e77690303eb01 author Adrian Bunk Mon, 31 Oct 2005 01:33:45 +0100 committer John W. Linville Sat, 05 Nov 2005 21:00:01 -0500 [PATCH] drivers/net/hamradio/dmascc.c: remove dmascc_setup() It seems dmascc_setup() is a leftover time before dmascc_init() was there. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 3ad2cc6798be9388c9a3f1e6180e77690303eb01 tree 28389b018b626949eb5a6c4b1b0157c94a5f9ed4 parent e9ab1d145365a871858f402f3655cd4939fa38d5 author Adrian Bunk Sun, 30 Oct 2005 16:53:34 +0100 committer John W. Linville Sat, 05 Nov 2005 21:00:01 -0500 [PATCH] drivers/net/e1000/: possible cleanups This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global functions: - e1000_hw.c: e1000_mc_addr_list_update - e1000_hw.c: e1000_read_reg_io - e1000_hw.c: e1000_enable_pciex_master Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit e9ab1d145365a871858f402f3655cd4939fa38d5 tree d9a6ce83a766f3693fef16826803ed7a45121d14 parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Adrian Bunk Sun, 30 Oct 2005 16:53:30 +0100 committer John W. Linville Sat, 05 Nov 2005 21:00:01 -0500 [PATCH] drivers/net/ixgb/: make some code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit f912696ab330bf539231d1f8032320f2a08b850f tree d3e4cf70323348b341b894af57a69896c755cac1 parent 88dcb6c4113afe93a6c4891ec43bef6a17c83155 author Bart Oldeman Sun, 06 Nov 2005 12:54:07 +1300 committer Linus Torvalds Sat, 05 Nov 2005 16:31:36 -0800 [PATCH] reset tss->io_bitmap_owner in sys_ioperm() my patch "x86: initialise tss->io_bitmap_owner to something" (commit ID d5cd4aadd3d220afac8e3e6d922e333592551f7d) introduced a problem with a program (DOSEMU) that called ioperm after already doing some port i/o. The problem is that a process switch return causes tss->io_bitmap_base to be set to IO_BITMAP_OFFSET so that the fault (that *really* sets the io bitmap) never triggers. This fixes that regression. Signed-off-by: Bart Oldeman Signed-off-by: Linus Torvalds commit 2d43f1128a4282fbe8442f40b4cbbac05d8f10aa tree 788e5a970c3efb090b73cef0de32aae25444b734 parent 6df716340da3a6fdd33d73d7ed4c6f7590ca1c42 parent bdc450a0bb1d48144ced1f899cc8366ec8e85024 author Arnaldo Carvalho de Melo Sat, 05 Nov 2005 22:30:29 -0200 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 22:30:29 -0200 Merge branch 'red' of 84.73.165.173:/home/tgr/repos/net-2.6 commit 6df716340da3a6fdd33d73d7ed4c6f7590ca1c42 tree 1b3ba3d1a0a08b9b4eaa624a66414b87a70b6fe9 parent 6151b31c9616d71f714fc7ef8e2306f67f3b94c3 author Stephen Hemminger Thu, 03 Nov 2005 16:33:23 -0800 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 21:23:15 -0200 [TCP/DCCP]: Randomize port selection This patch randomizes the port selected on bind() for connections to help with possible security attacks. It should also be faster in most cases because there is no need for a global lock. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit 6151b31c9616d71f714fc7ef8e2306f67f3b94c3 tree 59ac0ad477d80c53bbf173b5fc863ab239f0705c parent eb229c4cdc3389682cda20adb015ba767950a220 author Herbert Xu Fri, 04 Nov 2005 09:56:56 +1100 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 21:05:20 -0200 [NET]: Fix race condition in sk_stream_wait_connect When sk_stream_wait_connect detects a state transition to ESTABLISHED or CLOSE_WAIT prior to it going to sleep, it will return without calling finish_wait and decrementing sk_write_pending. This may result in crashes and other unintended behaviour. The fix is to always call finish_wait and update sk_write_pending since it is safe to do so even if the wait entry is no longer on the queue. This bug was tracked down with the help of Alex Sidorenko and the fix is also based on his suggestion. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit eb229c4cdc3389682cda20adb015ba767950a220 tree 52f65b2e3d781a09ae341e2e89e8a7dbe0f5f537 parent 300ce174ebc2fcf2b5111a50fa42f79d891927dd author Stephen Hemminger Thu, 03 Nov 2005 13:49:01 -0800 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 20:59:21 -0200 [NETEM]: Add version string Add a version string to help support issues. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit 300ce174ebc2fcf2b5111a50fa42f79d891927dd tree ea7ac40eac2de90be9e5575759bab18029ae2fdf parent 07aaa11540828f4482c09e1a936a1f63cdb9fc9d author Stephen Hemminger Sun, 30 Oct 2005 13:47:34 -0800 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 20:56:41 -0200 [NETEM]: Support time based reordering Change netem to support packets getting reordered because of variations in delay. Introduce a special case version of FIFO that queues packets in order based on the netem delay. Since netem is classful, those users that don't want jitter based reordering can just insert a pfifo instead of the default. This required changes to generic skbuff code to allow finer grain manipulation of sk_buff_head. Insertion into the middle and reverse walk. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit 88dcb6c4113afe93a6c4891ec43bef6a17c83155 tree 3c1624b7cae2b861272a89d5502a80b46db7bbba parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Samuel Thibault Sat, 05 Nov 2005 22:19:50 +0100 committer Linus Torvalds Sat, 05 Nov 2005 13:30:03 -0800 [PATCH] Set the vga cursor even when hidden Some visually impaired people use hardware devices which directly read the vga screen. When newt for instance asks to hide the cursor for better visual aspect, the kernel puts the vga cursor out of the screen, so that the cursor position can't be read by the hardware device. This is a great loss for such people. Here is a patch which uses the same technique as CUR_NONE for hiding the cursor while still moving it. Mario, you should apply it to the speakup kernel for access floppies asap. I'll submit a 2.4 patch too. Signed-off-by: samuel.thibault@ens-lyon.org Signed-off-by: Linus Torvalds commit 2c119aa8091a15a87920f09aa0f17e05960fe11b tree 28871ec8da0830362f045906fb2b97722cb6837f parent abbf268ae8f51e19779cdf3f5fbb8144f1a5fbc3 author Russell King Sat, 05 Nov 2005 21:22:39 +0000 committer Russell King Sat, 05 Nov 2005 21:22:39 +0000 [DRIVER MODEL] Fix sgivwfb Statically allocated devices in module data is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module data will be freed. Subsequent use of the platform device will cause a kernel oops. Use generic platform device allocation/release code in modules. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit abbf268ae8f51e19779cdf3f5fbb8144f1a5fbc3 tree 735185fb11797c7afdc885267f84a19337693897 parent 8d972a962177a261fc894f767fa3014f63d661e9 author Russell King Sat, 05 Nov 2005 21:22:13 +0000 committer Russell King Sat, 05 Nov 2005 21:22:13 +0000 [DRIVER MODEL] Fix gbefb Statically allocated devices in module data is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module data will be freed. Subsequent use of the platform device will cause a kernel oops. Use generic platform device allocation/release code in modules. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit 8d972a962177a261fc894f767fa3014f63d661e9 tree ce79f869f65da3ce87c0ad50f7a84d527511d61f parent 09c6518ca0de24549a923891b2d335e8496d79a9 author Russell King Sat, 05 Nov 2005 21:21:38 +0000 committer Russell King Sat, 05 Nov 2005 21:21:38 +0000 [DRIVER MODEL] Fix arcfb Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit 09c6518ca0de24549a923891b2d335e8496d79a9 tree 0088dfdc7ef26d6a5c9d63d3fdffc1a2319356e9 parent 95cb5d954ee656a0b048ea2298188569e0759336 author Russell King Sat, 05 Nov 2005 21:21:10 +0000 committer Russell King Sat, 05 Nov 2005 21:21:10 +0000 [DRIVER MODEL] Fix macsonic Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit 95cb5d954ee656a0b048ea2298188569e0759336 tree 3283cd23477bad8d3a418e6f501b39145bfd54b8 parent 5d994b7f5d1c77acaa0b9b4c1b9f0f278605c309 author Russell King Sat, 05 Nov 2005 21:20:47 +0000 committer Russell King Sat, 05 Nov 2005 21:20:47 +0000 [DRIVER MODEL] Fix jazzsonic Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit 5d994b7f5d1c77acaa0b9b4c1b9f0f278605c309 tree 6c74ec305642a6e74c522c22223ff57a96793049 parent 37c12e7497b6fe2b6a890814f0ff4edce696d862 author Russell King Sat, 05 Nov 2005 21:20:21 +0000 committer Russell King Sat, 05 Nov 2005 21:20:21 +0000 [DRIVER MODEL] Fix depca Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit 37c12e7497b6fe2b6a890814f0ff4edce696d862 tree ea6ee411ffb3067d0940edc5f1c357e4576c2056 parent 7015faa7df829876a0f931cd18aa6d7c24a1b581 author Russell King Sat, 05 Nov 2005 21:19:33 +0000 committer Russell King Sat, 05 Nov 2005 21:19:33 +0000 [DRIVER MODEL] Improved dynamically allocated platform_device interface Re-jig the simple platform device support to allow private data to be attached to a platform device, as well as allowing the parent device to be set. Example usage: pdev = platform_device_alloc("mydev", id); if (pdev) { err = platform_device_add_resources(pdev, &resources, ARRAY_SIZE(resources)); if (err == 0) err = platform_device_add_data(pdev, &platform_data, sizeof(platform_data)); if (err == 0) err = platform_device_add(pdev); } else { err = -ENOMEM; } if (err) platform_device_put(pdev); Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit bdc450a0bb1d48144ced1f899cc8366ec8e85024 tree 77924b88ae2f9ddc702288e439756800a02988ab parent b38c7eef7e536d12051cc3d5864032f2f907cdfe author Thomas Graf Sat, 05 Nov 2005 21:14:28 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:29 +0100 [PKT_SCHED]: (G)RED: Introduce hard dropping Introduces a new flag TC_RED_HARDDROP which specifies that if ECN marking is enabled packets should still be dropped once the average queue length exceeds the maximum threshold. This _may_ help to avoid global synchronisation during small bursts of peers advertising but not caring about ECN. Use this option very carefully, it does more harm than good if (qth_max - qth_min) does not cover at least two average burst cycles. The difference to the current behaviour, in which we'd run into the hard queue limit, is that due to the low pass filter of RED short bursts are less likely to cause a global synchronisation. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit b38c7eef7e536d12051cc3d5864032f2f907cdfe tree fcf0b38267b9f5cb77f98ffdbc3dc16b31a0908a parent d8f64e19605d6ce40bc560e7bc919e2e02a79c1b author Thomas Graf Sat, 05 Nov 2005 21:14:27 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:29 +0100 [PKT_SCHED]: GRED: Support ECN marking Adds a new u8 flags in a unused padding area of the netlink message. Adds ECN marking support to be used instead of dropping packets immediately. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit d8f64e19605d6ce40bc560e7bc919e2e02a79c1b tree 3e0008122a6b775afba871ed6f5c429e20ec43d7 parent 1e4dfaf9b99a8b652e8421936fd5fe2459da8265 author Thomas Graf Sat, 05 Nov 2005 21:14:26 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:28 +0100 [PKT_SCHED]: GRED: Fix restart of idle period in WRED mode upon dequeue and drop Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 1e4dfaf9b99a8b652e8421936fd5fe2459da8265 tree c2ecbf7558fcd34b054f28a797d6f3e88ab468a2 parent 6214e653cc578947bf83d6766339a18a41c5b923 author Thomas Graf Sat, 05 Nov 2005 21:14:25 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:28 +0100 [PKT_SCHED]: GRED: Cleanup and remove unnecessary code Removes unnecessary includes, initializers, and simplifies the code a bit. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 6214e653cc578947bf83d6766339a18a41c5b923 tree 406c86bb93e7ec472e7174df2e816633cecb9978 parent 7051703b990ec40bdf192ec7c87ffafd7011c640 author Thomas Graf Sat, 05 Nov 2005 21:14:24 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:28 +0100 [PKT_SCHED]: GRED: Remove auto-creation of default VQ Since we are no longer depending on the default VQ to be always allocated we can leave it up to the user to actually create it. This gives the user the ability to leave it out on purpose and enqueue packets directly to the device without applying the RED algorithm. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 7051703b990ec40bdf192ec7c87ffafd7011c640 tree b32b6579fd3598a9808f173e5da9f5266eb472cf parent 4a591834cfc79b2ff74457e976420361f8ae28b4 author Thomas Graf Sat, 05 Nov 2005 21:14:23 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:28 +0100 [PKT_SCHED]: GRED: Dont abuse default VQ for equalizing Introduces a new red parameter set for use in equalize mode, although only the qavg variable and the idle period marker are being used for now this makes it possible to allow a separate parameter set to be used for equalize later on. The use of this separate parameter set fixes a bogus start of an idle period in gred_drop() which did start an idle period on the default VQ even if equalize mode was disabled. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 4a591834cfc79b2ff74457e976420361f8ae28b4 tree b4ba89a184d9af8e004399b66deae36a3e87b599 parent 18e3fb84e698dcab1c5fa7b7c89921b826bb5620 author Thomas Graf Sat, 05 Nov 2005 21:14:22 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:28 +0100 [PKT_SCHED]: GRED: Remove initd flag The case when the default VQ is not set up yet is already handled in a less error prone way. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 18e3fb84e698dcab1c5fa7b7c89921b826bb5620 tree 68b7d3907cc72a83cf7ad6e1f7f27f9c6ffd06be parent 716a1b40b0ed630570edd4e2bf9053c421e9770b author Thomas Graf Sat, 05 Nov 2005 21:14:21 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:28 +0100 [PKT_SCHED]: GRED: Improve error handling and messages Try to enqueue packets if we cannot associate it with a VQ, this basically means that the default VQ has not been set up yet. We must check if the VQ still exists while requeueing, the VQ might have been changed between dequeue and the requeue of the underlying qdisc. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 716a1b40b0ed630570edd4e2bf9053c421e9770b tree cefde92cc46509baa50e6c2b011640fd1971be2b parent edf7a7b1f0bd31d96096e38cbf35b02a3a1352b4 author Thomas Graf Sat, 05 Nov 2005 21:14:20 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:27 +0100 [PKT_SCHED]: GRED: Introduce tc_index_to_dp() Adds a transformation function returning the DP index for a given skb according to its tc_index. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit edf7a7b1f0bd31d96096e38cbf35b02a3a1352b4 tree e5a9cefabbbbf53e28774f4ebdd9fe11766ad175 parent c3b553cdaf50ce915bcd995fa8ec2905f227de64 author Thomas Graf Sat, 05 Nov 2005 21:14:19 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:27 +0100 [PKT_SCHED]: GRED: Use generic queue management interface Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit c3b553cdaf50ce915bcd995fa8ec2905f227de64 tree b85ff8cb0b93499259c59f9d5c57f31ab53b937b parent 301d063c2915e8307e3d128245d8a393ad776539 author Thomas Graf Sat, 05 Nov 2005 21:14:18 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:27 +0100 [PKT_SCHED]: GRED: Report congestion related drops as NET_XMIT_CN Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 301d063c2915e8307e3d128245d8a393ad776539 tree 611d539cc67e86fe8f87736a160cdd9158508b32 parent 22b33429ab93155895854e9518a253680a920493 author Thomas Graf Sat, 05 Nov 2005 21:14:17 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:27 +0100 [PKT_SCHED]: GRED: Do not reset statistics in gred_reset/gred_change Qdiscs are not supposed to reset statistics in reset() and while changing parameters. My argumentation is that if the user wants the counters to be reset he can simply remove and readd the qdiscs, that's what most users do anyway. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 22b33429ab93155895854e9518a253680a920493 tree 9beebaec505ad2c5c4bc645c0880c488bcb53900 parent f62d6b936df500247474c13360eb23e1b602bad0 author Thomas Graf Sat, 05 Nov 2005 21:14:16 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:27 +0100 [PKT_SCHED]: GRED: Use new generic red interface Simplifies code a lot by separating the red algorithm and the queueing logic. We now differentiate between probability marks and forced marks but sum them together again to not break backwards compatibility. This brings GRED back to the level of RED and improves the accuracy of the averge queue length calculations when stab suggests a zero shift. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit f62d6b936df500247474c13360eb23e1b602bad0 tree 2517635e3005c5bcdc50d6a0f719d7a5df1815ea parent a8aaa9958eea2420e13d5a00c3fae934e0a3889e author Thomas Graf Sat, 05 Nov 2005 21:14:15 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:27 +0100 [PKT_SCHED]: GRED: Use central VQ change procedure Introduces a function gred_change_vq() acting as a central point to change VQ parameters. Fixes priority inheritance in rio mode when the default DP equals 0. Adds proper locking during changes. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit a8aaa9958eea2420e13d5a00c3fae934e0a3889e tree 1e85c385c7ce81afdf8bb7203df1ce56cd404892 parent 6639607ed9deaed9ab3a1cc588f0288891ece2ac author Thomas Graf Sat, 05 Nov 2005 21:14:14 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:26 +0100 [PKT_SCHED]: GRED: Report out-of-bound DPs as illegal Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 6639607ed9deaed9ab3a1cc588f0288891ece2ac tree 370e98cbb4143cf397d5b3cf2a3a8ddf66a13cf1 parent e06368221c204d7b5f1ba37d047170f9a0dd359d author Thomas Graf Sat, 05 Nov 2005 21:14:13 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:26 +0100 [PKT_SCHED]: GRED: Use a central table definition change procedure Introduces a function gred_change_table_def() acting as a central point to change the table definition. Adds missing validations for table definition: MAX_DPs > DPs > 0 and def_DP < DPs thus fixing possible invalid memory reference oopses. Only root could do it but having a typo crashing the machine is a bit hard. Adds missing locking while changing the table definition, the operation of changing the number of DPs and removing shadowed VQs may not be interrupted by a dequeue. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit e06368221c204d7b5f1ba37d047170f9a0dd359d tree 4983e0ba5d5d500aba7bc33ded60b034020cc483 parent 05f1cc01b4d24bc5432ae7044f8209d464f2b8ec author Thomas Graf Sat, 05 Nov 2005 21:14:12 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:26 +0100 [PKT_SCHED]: GRED: Dump table definition Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 05f1cc01b4d24bc5432ae7044f8209d464f2b8ec tree 428f69d6e2b94712d6b566d7d3e65b8f1ad1df76 parent d6fd4e9667bf5e00b92e62f02d75bd6c97a7007a author Thomas Graf Sat, 05 Nov 2005 21:14:11 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:26 +0100 [PKT_SCHED]: GRED: Cleanup dumping Avoids the allocation of a buffer by appending the VQs directly to the skb and simplifies the code by using the appropriate message construction macros. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit d6fd4e9667bf5e00b92e62f02d75bd6c97a7007a tree ecb80a2d441ca589ca9672807d1cd2ad0fb03e8b parent dea3f62852f98670b72ad355c67bd55c9af58530 author Thomas Graf Sat, 05 Nov 2005 21:14:10 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:25 +0100 [PKT_SCHED]: GRED: Transform grio to GRED_RIO_MODE Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit dea3f62852f98670b72ad355c67bd55c9af58530 tree 979515dfac29d831393bdc6c6226575122dcca79 parent dba051f36a47989b20b248248ffef7984a2f6013 author Thomas Graf Sat, 05 Nov 2005 21:14:09 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:25 +0100 [PKT_SCHED]: GRED: Cleanup equalize flag and add new WRED mode detection Introduces a flags variable using bitops and transforms eqp to use it. Converts the conditions of the form (wred && rio) to (wred) since wred can only be enabled in rio mode anyway. The patch also improves WRED mode detection. The current behaviour does not allow WRED mode to be turned off again without removing the whole qdisc first. The new algorithm checks each VQ against each other looking for equal priorities every time a VQ is changed or added. The performance is poor, O(n**2), but it's used only during administrative tasks and the number of VQs is strictly limited. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit dba051f36a47989b20b248248ffef7984a2f6013 tree 056d069b9be8cbf1e029f816278945a6dd03a38e parent 6a1b63d467281eb6bd64aafbbf6130a1b42c8c2e author Thomas Graf Sat, 05 Nov 2005 21:14:08 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:25 +0100 [PKT_SCHED]: RED: Cleanup and remove unnecessary code Removes the skb trimming code which is not needed since we never touch the skb upon failure. Removes unnecessary includes, initializers, and simplifies the code a bit. Removes Jamal's obsolete email addresses upon his own request. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 6a1b63d467281eb6bd64aafbbf6130a1b42c8c2e tree 7137eda1a0d3ca6d6e6538cb0d2fb177b97bfb7f parent 9e178ff27cd9187babe86dc80ef766b722c88da6 author Thomas Graf Sat, 05 Nov 2005 21:14:07 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:25 +0100 [PKT_SCHED]: RED: Dont start idle periods while already idling We should not interrupt and restart an idle period while idling already. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 9e178ff27cd9187babe86dc80ef766b722c88da6 tree 035c1fe70783a17a8535638be0306cd8a9844a20 parent 6b31b28a441c9ba33889f88ac1d9451ed9532ada author Thomas Graf Sat, 05 Nov 2005 21:14:06 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:25 +0100 [PKT_SCHED]: RED: Use generic queue management interface Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 6b31b28a441c9ba33889f88ac1d9451ed9532ada tree d1a74aa7d1a78fdfb2674c7ee56a5be714a8fe83 parent 2566a509cacc8b8eaea2e5b54068816c9cfb41c2 author Thomas Graf Sat, 05 Nov 2005 21:14:05 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:25 +0100 [PKT_SCHED]: RED: Use new generic red interface Simplifies code a lot by separating the red algorithm and the queueing logic. We now differentiate between probability marks and forced marks but sum them together again to not break backwards compatibility. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 2566a509cacc8b8eaea2e5b54068816c9cfb41c2 tree 1413b02bd2e8a7c3046f10ed92af49e165ea8369 parent a783474591f2eed0348e08b15934fa9a25e23b3e author Thomas Graf Sat, 05 Nov 2005 21:14:04 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:24 +0100 [NET]: Introduce INET_ECN_set_ce() function Changes IP_ECN_set_ce() and IP6_ECN_set_ce() to return 0 if the CE bits could not bet set because none of the ECT bits are set or 1 if the CE bits are already set or have been successfully set. Introduces INET_ECN_set_ce(skb) to enable CE bits for all supported protocols. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit a783474591f2eed0348e08b15934fa9a25e23b3e tree 3cc009ea63287648dd3d8dc7c304e60b6162c3d7 parent 1758ee0ea26561943813c5f5a7b27272f2cbc4cf author Thomas Graf Sat, 05 Nov 2005 21:14:03 +0100 committer Thomas Graf Sat, 05 Nov 2005 22:02:24 +0100 [PKT_SCHED]: Generic RED layer Extracts the RED algorithm from sch_red.c and puts it into include/net/red.h for use by other RED based modules. The statistics are extended to be more fine grained in order to differ between probability/forced marks/drops. We now reset the average queue length when setting new parameters, leaving it might result in an unreasonable qavg for a while depending on the value of W. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab tree 34f0675602943161c3dc1340d6c8c449283b681c parent 537a95d9351f41cc3c24ddb2a646aedd6debb21b parent f896424cbc61225e8f029fe23e5aae3e32103229 author Linus Torvalds Sat, 05 Nov 2005 12:04:02 -0800 committer Linus Torvalds Sat, 05 Nov 2005 12:04:02 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit f896424cbc61225e8f029fe23e5aae3e32103229 tree abfc35832b8bbd3a66b38db6dfc5d6705103436f parent 4371dc6c60705815dcfe0c2979f68a26d0b27bd4 author Matt Porter Wed, 02 Nov 2005 16:13:06 -0700 committer Jeff Garzik Sat, 05 Nov 2005 14:40:55 -0500 [PATCH] phy address mask support for generic phy layer Adds a phy_mask field to struct mii_bus and uses it. This field indicates each phy address to be ignored when probing the mdio bus. This support is needed for the fs_enet and ibm_emac drivers to be converted to the generic phy layer among other drivers. Many systems lock up on probing certain phy addresses or probing doesn't return 0xffff when nothing is found at the address. A new driver I'm working on also makes use of this mask. Signed-off-by: Matt Porter Signed-off-by: Jeff Garzik commit 4371dc6c60705815dcfe0c2979f68a26d0b27bd4 tree 75a5ca9f987603b20b05fb718324e5edd7165a3e parent 2964bbd7048ac0c1405cc119604e29987dd165df author Don Fry Tue, 01 Nov 2005 13:13:35 -0800 committer Jeff Garzik Sat, 05 Nov 2005 14:40:55 -0500 [PATCH] pcnet32: Prevent hang with 79c976 Some boards using the 79c976 pcnet32 chip will hang the system if the ethtool --register-dump is performed with the device operational. The request to read bcr30 is retried by the PCI device infinitely without returning data, hanging the system. Tested ia32 and ppc64. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 2964bbd7048ac0c1405cc119604e29987dd165df tree 21e64afeca8f211eb6e817d722274f3196fd4eb1 parent a88c844c1748ba494d38b1053829ec046c74ebfd author Don Fry Tue, 01 Nov 2005 12:50:57 -0800 committer Jeff Garzik Sat, 05 Nov 2005 14:40:55 -0500 [PATCH] pcnet32: AT2700/2701 and Bugzilla 2699 & 4551 This patch is a better fix for Allied Telesyn 2700/2701 FX boards than the change made in early January this year. It allows the user to select the speed/duplex via module_param, but if no selection is made, forces the speed to 100 FD. It fixes both Bugzilla bugs 2669 and 4551. Tested ia32 and ppc64 by myself, and by the originator of bug 2669. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit a88c844c1748ba494d38b1053829ec046c74ebfd tree d9897386dc4254134cc6e5ca1e6c63f76544fa43 parent 571de88b87e978b21ac4da481d317678aac9e562 author Don Fry Tue, 01 Nov 2005 12:04:33 -0800 committer Jeff Garzik Sat, 05 Nov 2005 14:40:55 -0500 [PATCH] pcnet32: show name of failing device Display the name eth%d or pci_name() of device which fails to allocate memory. When changing ring size via ethtool, it also releases the lock before returning on error. Added comment that the caller of pcnet32_alloc_ring must call pcnet32_free_ring on error, to avoid leak. Tested ia32 by forcing allocation errors. Signed-off-by: Don Fry Signed-off-by: Jeff Garzik commit 571de88b87e978b21ac4da481d317678aac9e562 tree 25b9b0ad8f50733aee663973cbf2f2f4ca6eeb9f parent da6971d8ece2ec9762509e20dda6808335b5a10b author Ravinandan Arakali Tue, 01 Nov 2005 15:24:25 -0500 committer Jeff Garzik Sat, 05 Nov 2005 14:40:55 -0500 [PATCH] S2io: Updated documentation Hi, This patch provides updated documentation on the Neterion(S2io) driver. Please review the patch. Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit da6971d8ece2ec9762509e20dda6808335b5a10b tree 9ae532e7ab6314400fb601f6b7c5e6042166429f parent 29b09fcc341ede8dc08c900b132903fdd0231400 author Ananda Raju Mon, 31 Oct 2005 16:55:31 -0500 committer Jeff Garzik Sat, 05 Nov 2005 14:40:27 -0500 [PATCH] S2io: Multi buffer mode support Hi, This patch provides dynamic two buffer-mode and 3 buffer-mode options. Previously 2 buffer-mode was compilation option. Now with this patch applied one can load driver in 2 buffer-mode with module-load parameter ie. #insmod s2io.ko rx_ring_mode=2 This patch also provides 3 buffer-mode which provides header separation functionality. In 3 buffer-mode skb->data will have L2/L3/L4 headers and "skb_shinfo(skb)->frag_list->data" will have have L4 payload. one can load driver in 3 buffer-mode with same above module-load parameter ie. #insmod s2io.ko rx_ring_mode=3 Please review the patch. Signed-off-by: Ananda Raju Signed-off-by: Jeff Garzik commit 29b09fcc341ede8dc08c900b132903fdd0231400 tree e3a5ea7d07e60b81055c364d5bcbca8579557496 parent 328198acb7407301ddf6005c0fa1e04bd0c539c8 author Gabriel A. Devenyi Thu, 03 Nov 2005 19:30:47 -0500 committer Jeff Garzik Sat, 05 Nov 2005 14:40:26 -0500 [PATCH] drivers/net/wireless/airo.c unsigned comparason fid is declared as a u32 (unsigned int), and then a few lines later, it is checked for a value < 0, which is clearly useless. In the two locations this function is used, in one it is *explicitly* given a negative number, which would be ignored with the current definition. Thanks to LinuxICC (http://linuxicc.sf.net). Signed-off-by: Gabriel A. Devenyi Signed-off-by: Jeff Garzik commit 328198acb7407301ddf6005c0fa1e04bd0c539c8 tree 9936112bd195bfbaacc9a75f2ea7ff757a2c0546 parent 9e0cb06b17be7e562cbdaba2768649f025826dc6 parent fecb4a0c87c2bcaee1f3cf800126eef752a07ed3 author Jeff Garzik Sat, 05 Nov 2005 14:38:55 -0500 committer Jeff Garzik Sat, 05 Nov 2005 14:38:55 -0500 Merge branch 'master' commit 537a95d9351f41cc3c24ddb2a646aedd6debb21b tree e3bd5b05c2d396db3eb59997d3cc1b9e54df0ba6 parent fecb4a0c87c2bcaee1f3cf800126eef752a07ed3 author Tejun Heo Sat, 05 Nov 2005 14:29:01 -0500 committer Jeff Garzik Sat, 05 Nov 2005 14:29:01 -0500 [libata] restore sg on DMA mapping failure commit 07aaa11540828f4482c09e1a936a1f63cdb9fc9d tree 45a368df3e1031fc4458818942f52bcb2a54c8ff parent 1758ee0ea26561943813c5f5a7b27272f2cbc4cf author Stephen Hemminger Thu, 03 Nov 2005 13:43:07 -0800 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 17:03:46 -0200 [NETEM]: use PSCHED_LESS Convert netem to use PSCHED_LESS and warn if requeue fails. With some of the psched clock sources, the subtraction doesn't work always work right without wrapping. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit 1758ee0ea26561943813c5f5a7b27272f2cbc4cf tree 2190113eca8ec18da862a25fc589f5d8cf678a0b parent 433a4d3b5456dec5bcca5a0f236bf622da1267b3 author Harald Welte Thu, 03 Nov 2005 20:03:24 +0100 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 16:43:29 -0200 [NETFILTER] nf_queue: Fix Ooops when no queue handler registered With the new nf_queue generalization in 2.6.14, we've introduced a bug that causes an oops as soon as a packet is queued but no queue handler registered. This patch fixes it. Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit 433a4d3b5456dec5bcca5a0f236bf622da1267b3 tree 0edf077a81e264e3dfbf819e67d7cc5560b65c18 parent 10dfdc69ea07d5a6c24406755f5e8de95a1b8901 author Harald Welte Thu, 03 Nov 2005 19:25:56 +0100 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 16:39:20 -0200 [NETFILTER]: CONNMARK target needs ip_conntrack There's a missing dependency from the CONNMARK target to ip_conntrack. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit 10dfdc69ea07d5a6c24406755f5e8de95a1b8901 tree 2004603342d995ec88d53f3e6160e04befe498ef parent 0f81eb4db4f1cc560318b6e7762a7a1d7d8c7095 author Harald Welte Thu, 03 Nov 2005 19:20:07 +0100 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 16:35:27 -0200 [NETFILTER] nfnetlink: Use kzalloc These is a cleanup patch, kzalloc can be used in a couple of cases Signed-off-by: Samir Bellabes Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit fecb4a0c87c2bcaee1f3cf800126eef752a07ed3 tree 32fbc17daf7879a9a86eb029096994be45cd136b parent a2c78f7c1d393d89240ed5922d3aa8e439aec82e parent 39b7f1e25a412b0ef31e516cfc2fa4f40235f263 author Linus Torvalds Sat, 05 Nov 2005 10:31:35 -0800 committer Linus Torvalds Sat, 05 Nov 2005 10:31:35 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit a2c78f7c1d393d89240ed5922d3aa8e439aec82e tree 5ad11675351ebd51b33d86bd93e65ec29b71e75f parent 6037d6bbdff65eb5a84fe35e140f4da4f7cc103a parent d191634f7ab3a1c8e9da0c5e986c30b2612f0eb0 author Linus Torvalds Sat, 05 Nov 2005 09:47:46 -0800 committer Linus Torvalds Sat, 05 Nov 2005 09:47:46 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 39b7f1e25a412b0ef31e516cfc2fa4f40235f263 tree ff9d9c44b6199624d87af0d4776f2ecfd18f2635 parent 0ee957cb7a8f6e4fb8c6f943dbc451957bc0c6bc author Alan Stern Fri, 04 Nov 2005 14:44:41 -0500 committer James Bottomley Sat, 05 Nov 2005 09:52:24 -0600 [SCSI] sd: Fix refcounting Currently the driver takes a reference only for requests coming by way of the gendisk, not for requests coming by way of the struct device or struct scsi_device. Such requests can arrive in the rescan, flush, and shutdown pathways. The patch also makes the scsi_disk keep a reference to the underlying scsi_device, and it erases the scsi_device's pointer to the scsi_disk when the scsi_device is removed (since the pointer should no longer be used). This resolves Bugzilla entry #5237. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit d191634f7ab3a1c8e9da0c5e986c30b2612f0eb0 tree 2d25afa843cb1781db65c1920bcd2ec3a977265e parent 25cc5e5bd20e9274dddb9d1e55b83798363528dc author Pierre Ossman Sat, 05 Nov 2005 10:36:35 +0000 committer Russell King Sat, 05 Nov 2005 10:36:35 +0000 [MMC] Use controller id instead of driver name for printks The printks that aren't for debugging should use the name of the controller, not the driver name. Multiple MMC controllers aren't that common today, but this is the right way to do things. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 20faa7c380c19c932d57be59bb2522bd9327a6c5 tree 30a1a02a4b5565d24483237245372af3aa8343bd parent 7015faa7df829876a0f931cd18aa6d7c24a1b581 author Adrian Bunk Sat, 05 Nov 2005 10:20:56 +0000 committer Russell King Sat, 05 Nov 2005 10:20:56 +0000 [ARM] Documentation/arm/README: small update - egcs is not supported by kernel 2.6 - gcc 3.3 seems to be a good choice on ARM Signed-off-by: Adrian Bunk Signed-off-by: Russell King commit 25cc5e5bd20e9274dddb9d1e55b83798363528dc tree fd065b54bbce7e04387670e163d2aba1ddf43ace parent 34cf9e37507c65f7398df4c21a18d4a3e83881d7 author Pierre Ossman Sat, 05 Nov 2005 10:16:50 +0000 committer Russell King Sat, 05 Nov 2005 10:16:50 +0000 [MMC] Fix chip config in wbsd There is a broken if clause in the wbsd driver that can cause the driver to try and configure the chip even though none is found. This results in i/o on invalid ports. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 0f81eb4db4f1cc560318b6e7762a7a1d7d8c7095 tree a65dfc0b6f5b4c8901f20b382dd00403f4d86099 parent d2a7bb7141a1fac7b11523538b2d2407e928baeb author Harald Welte Thu, 03 Nov 2005 19:05:37 +0100 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 03:28:37 -0200 [NETFILTER]: Fix double free after netlink_unicast() in ctnetlink It's not necessary to free skb if netlink_unicast() failed. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit 0ee957cb7a8f6e4fb8c6f943dbc451957bc0c6bc tree 11e80a4aee273745ec5d486a88018f87f7801299 parent 849a8924a6740ecbf9711e015beca69425f0c429 author James Bottomley Fri, 04 Nov 2005 23:22:55 -0600 committer James Bottomley Fri, 04 Nov 2005 23:22:55 -0600 Fix ips.c compile It looks like one of the ips patches was missing a closing brace in a function Signed-off-by: James Bottomley commit 849a8924a6740ecbf9711e015beca69425f0c429 tree 2bae44c5fb170a655696b7253eec7ee13c6fa437 parent 7015faa7df829876a0f931cd18aa6d7c24a1b581 parent ee807c2d43b54183c16580857837dae8ccb2ed22 author James Bottomley Fri, 04 Nov 2005 22:29:52 -0600 committer James Bottomley Fri, 04 Nov 2005 22:29:52 -0600 Merge by Hand Conflicts in dec_esp.c (Thanks Bacchus), scsi_transport_iscsi.c and scsi_transport_fc.h Signed-off-by: James Bottomley commit d2a7bb7141a1fac7b11523538b2d2407e928baeb tree 67fdabbfbdc0b53154a4f6aa1a33c383db02bfb2 parent d811552eda2476215d69d485e437d2dcae1ab0b4 author Harald Welte Thu, 03 Nov 2005 20:17:51 +0100 committer Arnaldo Carvalho de Melo Sat, 05 Nov 2005 01:23:34 -0200 [NETFILTER] NAT: Fix module refcount dropping too far The unknown protocol is used as a fallback when a protocol isn't known. Hence we cannot handle it failing, so don't set ".me". It's OK, since we only grab a reference from within the same module (iptable_nat.ko), so we never take the module refcount from 0 to 1. Also, remove the "protocol is NULL" test: it's never NULL. Signed-off-by: Rusty Rusty Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit 6037d6bbdff65eb5a84fe35e140f4da4f7cc103a tree 67b86d8559935c04a0918afd3274eef778017d57 parent c2cc87ca9561ddfe744d446789cc10f507e87db9 author Jeff Garzik Fri, 04 Nov 2005 22:08:00 -0500 committer Jeff Garzik Fri, 04 Nov 2005 22:08:00 -0500 [libata] ATAPI pad allocation fixes/cleanup Use ata_pad_{alloc,free} in two drivers, to factor out common code. Add ata_pad_{alloc,free} to two other drivers, which needed the padding but had not been updated. commit c2cc87ca9561ddfe744d446789cc10f507e87db9 tree d505fc0110eb1a3d8750ba2f67648c131f0d9aca parent ce1eeb95fc4eb25109c00bea3e83a87eeff6b07d parent 7015faa7df829876a0f931cd18aa6d7c24a1b581 author Jeff Garzik Fri, 04 Nov 2005 21:39:31 -0500 committer Jeff Garzik Fri, 04 Nov 2005 21:39:31 -0500 Merge branch 'master' commit 7015faa7df829876a0f931cd18aa6d7c24a1b581 tree c403b29783de27e290b5d12f12054d03f96ce8b2 parent 127f2fa31ac624c744f3767363c4919209980956 author Calin A. Culianu Fri, 04 Nov 2005 20:38:04 -0500 committer Linus Torvalds Fri, 04 Nov 2005 18:01:34 -0800 [PATCH] nvidiafb: Geforce 7800 series support added This adds support for the Nvidia Geforce 7800 series of cards to the nvidiafb framebuffer driver. All it does is add the PCI device id for the 7800, 7800 GTX, 7800 GO, and 7800 GTX GO cards to the module device table for the nvidiafb.ko driver, so that nvidiafb.ko will actually work on these cards. I also added the relevant PCI device ids to linux/pci_ids.h I tested it on my 7800 GTX here and it works like a charm. I now can get framebuffer support on this card! Woo hoo!! Nothing like 200x75 text mode to make your eyes BLEED. ;) Signed-off-by: Linus Torvalds commit d811552eda2476215d69d485e437d2dcae1ab0b4 tree eb745550f1d2e40dafc71d95c20ec3e46ce9fdda parent 3428c209c6820bbbb7dfb323caef8d402b3deb4c author Harald Welte Thu, 03 Nov 2005 13:05:20 +0100 committer Arnaldo Carvalho de Melo Fri, 04 Nov 2005 23:19:17 -0200 [NETFILTER] PPTP helper: Fix endianness bug in GRE key / CallID NAT This endianness bug slipped through while changing the 'gre.key' field in the conntrack tuple from 32bit to 16bit. None of my tests caught the problem, since the linux pptp client always has '0' as call id / gre key. Only windows clients actually trigger the bug. Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit 3428c209c6820bbbb7dfb323caef8d402b3deb4c tree 5caef19fb765ba05a6b745770ac733e1065470d2 parent 0bbacc402e67abca8794a8401c1621dc0c0202e9 author Harald Welte Thu, 03 Nov 2005 14:27:07 +0100 committer Arnaldo Carvalho de Melo Fri, 04 Nov 2005 23:02:53 -0200 [NETFILTER] PPTP helper: Fix compilation of conntrack helper without NAT This patch fixes compilation of the PPTP conntrack helper when NAT is configured off. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit 127f2fa31ac624c744f3767363c4919209980956 tree 972b7ffbcd2c846bbb34879efb91e324dc0677be parent ba77df570c6710c9c19b31e0e48e4bcdf31cefe8 parent aef9ec39c47f0cece886ddd6b53c440321e0b2a6 author Linus Torvalds Fri, 04 Nov 2005 16:32:36 -0800 committer Linus Torvalds Fri, 04 Nov 2005 16:32:36 -0800 Merge branch 'srp' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit ba77df570c6710c9c19b31e0e48e4bcdf31cefe8 tree 997c210135b5578982df256dd5a0140e04d972d1 parent 602d4a7e2f4b843d1a67375d4d7104073495b758 parent d09e32764176b61c4afee9fd5e7fe04713bfa56f author Linus Torvalds Fri, 04 Nov 2005 16:31:54 -0800 committer Linus Torvalds Fri, 04 Nov 2005 16:31:54 -0800 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 602d4a7e2f4b843d1a67375d4d7104073495b758 tree 0b9f184e54fa693c27bd5986c114bdcf6949f788 parent 0bbacc402e67abca8794a8401c1621dc0c0202e9 parent c51e3a417bb0f295e13a5bad86302b5212eafdf3 author Linus Torvalds Fri, 04 Nov 2005 16:27:50 -0800 committer Linus Torvalds Fri, 04 Nov 2005 16:27:50 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc-merge commit c51e3a417bb0f295e13a5bad86302b5212eafdf3 tree 3d60529b8bf1af4eee98bfede157518520fbb423 parent 5ad570786158e327a1c5d32dd3d66f26d8de6340 author Paul Mackerras Sat, 05 Nov 2005 10:36:59 +1100 committer Paul Mackerras Sat, 05 Nov 2005 10:36:59 +1100 powerpc: Fix vmlinux.lds.S for 32-bit We can't currently use asm-ppc/page.h in vmlinux.lds.S, so until we have a merged page.h, define PAGE_SIZE and KERNELBASE locally. Also gets rid of some dynamic executable cruft that we had for 32-bit. With -Ttext=$(KERNELBASE) this didn't cause any problem, but when we changed to putting . = KERNELBASE in the vmlinux.lds.S this cruft caused the text to get linked at 0xa0 instead of 0xc0000000. Oops. Signed-off-by: Paul Mackerras commit 5ad570786158e327a1c5d32dd3d66f26d8de6340 tree 0b4aafe469c72e5887ed0379d62a0ee390db3160 parent c3df69cd854551cf70e9c63aa509c26621084f60 author Paul Mackerras Sat, 05 Nov 2005 10:33:55 +1100 committer Paul Mackerras Sat, 05 Nov 2005 10:33:55 +1100 powerpc: Merge smp.c and smp.h This also moves setup_cpu_maps to setup-common.c (calling it smp_setup_cpu_maps) and uses it on both 32-bit and 64-bit. Signed-off-by: Paul Mackerras commit 146a209967886e57eb34b4cdb85ca52078a4f8cc tree 7cfc77f795eec9d449c070ea5b192636f8850f1c parent c4dd45823fbdaaa4748cd8c7704334f249914405 author Dave Jones Fri, 04 Nov 2005 15:32:08 -0800 committer Dave Jones Fri, 04 Nov 2005 15:32:08 -0800 [AGPGART] Fix up sgi-agp bug with no devices on bus. Signed-off-by: Eric Kunze Signed-off-by: Dave Jones commit c4dd45823fbdaaa4748cd8c7704334f249914405 tree c1a5ac8e8032b4d4f1eca4cbb8e7f3c638b67c5e parent ea248bcaadd5bafe4217357e1e511ac55639bcf3 author Dave Jones Fri, 04 Nov 2005 15:18:56 -0800 committer Dave Jones Fri, 04 Nov 2005 15:18:56 -0800 [AGPGART] When we encounter reserved mode bits, print them out. Signed-off-by: Dave Jones commit 0bbacc402e67abca8794a8401c1621dc0c0202e9 tree a0969978295b806b35c943eb16af34b1eacfa47a parent c556b754967afd0878d65de2cfe0675577b0f62f author Chuck Lever Tue, 01 Nov 2005 16:53:32 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:39:48 -0500 NFS,SUNRPC,NLM: fix unused variable warnings when CONFIG_SYSCTL is disabled Fix some dprintk's so that NLM, NFS client, and RPC client compile cleanly if CONFIG_SYSCTL is disabled. Test plan: Compile kernel with CONFIG_NFS enabled and CONFIG_SYSCTL disabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c556b754967afd0878d65de2cfe0675577b0f62f tree fac27d23ff5230bef203fa30f26ba9faee56d987 parent 6bfc93ef98f00b38f1913a7fdeae46ae8dbd7c52 author Chuck Lever Tue, 01 Nov 2005 12:24:48 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:39:45 -0500 SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled The sunrpc module should build properly even when CONFIG_SYSCTL is disabled. Reported by Jan-Benedict Glaw. Test plan: Compile kernel with CONFIG_NFS as a module and built-in, and CONFIG_SYSCTL enabled and disabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 6bfc93ef98f00b38f1913a7fdeae46ae8dbd7c52 tree 2eb5f2fa26376b3d6ae5eebd65e93d4eec9555bd parent 888e694c167975709f17526dbbed2d98f84e8f85 author Trond Myklebust Fri, 04 Nov 2005 15:39:36 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:39:36 -0500 NFSv4: Teach NFSv4 to cache locks when we hold a delegation Now that we have a method of dealing with delegation recalls, actually enable the caching of posix and BSD locks. Signed-off-by: Trond Myklebust commit 888e694c167975709f17526dbbed2d98f84e8f85 tree 11dbbdf2591946f490d4cb28194a80fd3cec4094 parent 43b2a33aa868054bd477ab2c1cd20f1ba1af2c3e author Trond Myklebust Fri, 04 Nov 2005 15:38:11 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:38:11 -0500 NFSv4: Recover locks too when returning a delegation Delegations allow us to cache posix and BSD locks, however when the delegation is recalled, we need to "flush the cache" and send the cached LOCK requests to the server. This patch sets up the mechanism for doing so. Signed-off-by: Trond Myklebust commit 43b2a33aa868054bd477ab2c1cd20f1ba1af2c3e tree f22ad362b9f877dfd4bc44139894a045aa48059a parent 34ea818846e6cccdd6e05354ab8c8a6d7e34657a author Trond Myklebust Fri, 04 Nov 2005 15:35:30 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:35:30 -0500 NFSv4: Fix recovery of flock() locks. Signed-off-by: Trond Myklebust commit 34ea818846e6cccdd6e05354ab8c8a6d7e34657a tree d00d3d61c03454856c9047afaab3ba60a2e84f32 parent 2c56617d76fa7b2a709d58abd7ed68889cc88b90 author Trond Myklebust Fri, 04 Nov 2005 15:35:02 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:35:02 -0500 NFSv4: Return any delegations before sillyrenaming the file I missed this one... Any form of rename will result in a delegation recall, so it is more efficient to return the one we hold before trying the rename. Signed-off-by: Trond Myklebust commit 2c56617d76fa7b2a709d58abd7ed68889cc88b90 tree fb4e01de2057659b4ec80a812fa94d7b97359402 parent d530838bfa507d67b40d13b00d9cbd7a46a47e78 author Trond Myklebust Fri, 04 Nov 2005 15:33:50 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:33:50 -0500 NFSv4: Fix the handling of the error NFS4ERR_OLD_STATEID Ensure that we retry the failed operation... Signed-off-by: Trond Myklebust commit d530838bfa507d67b40d13b00d9cbd7a46a47e78 tree f4b2be26c0a7b9ed3233a2be016b7e97427f8705 parent 4cecb76ff86db46d2823550256c828b6597f418e author Trond Myklebust Fri, 04 Nov 2005 15:33:38 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:33:38 -0500 NFSv4: Fix problem with OPEN_DOWNGRADE RFC 3530 states that for OPEN_DOWNGRADE "The share_access and share_deny bits specified must be exactly equal to the union of the share_access and share_deny bits specified for some subset of the OPENs in effect for current openowner on the current file. Setattr is currently violating the NFSv4 rules for OPEN_DOWNGRADE in that it may cause a downgrade from OPEN4_SHARE_ACCESS_BOTH to OPEN4_SHARE_ACCESS_WRITE despite the fact that there exists no open file with O_WRONLY access mode. Fix the problem by replacing nfs4_find_state() with a modified version of nfs_find_open_context(). Signed-off-by: Trond Myklebust commit 4cecb76ff86db46d2823550256c828b6597f418e tree db80c6f4423d2559661234e8d1cd34b2c15f7750 parent 462aae65f6ea41de05ebc2a54a9e6b95563591f3 author Trond Myklebust Fri, 04 Nov 2005 15:32:58 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:32:58 -0500 NFSv4: Fix a race between open() and close() We must not remove the nfs4_state structure from the inode open lists before we are in sequence lock. Signed-off-by: Trond Myklebust commit 462aae65f6ea41de05ebc2a54a9e6b95563591f3 tree 04c661d71405026ec6f8a47bc965038636f79b52 parent 889dfafe836ac9bb711f73d07a4c044cae177c0b author David S. Miller Fri, 04 Nov 2005 11:17:24 -0800 committer David S. Miller Fri, 04 Nov 2005 11:17:24 -0800 [USB]: Make early handoff a final fixup instead of a header one. At header fixup time, it is not yet legal to ioremap() PCI device registers, yet that is what this quirk code needs to do. Signed-off-by: David S. Miller commit 889dfafe836ac9bb711f73d07a4c044cae177c0b tree ca46672a0d807f82e5d1b13e1b9dff0b561d5f36 parent c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81 author Oleg Nesterov Fri, 04 Nov 2005 18:54:30 +0300 committer Linus Torvalds Fri, 04 Nov 2005 10:45:28 -0800 [PATCH] improve scheduler fairness a bit Do not transfer remaining time slice to another cpu on process exit. Signed-off-by: Oleg Nesterov Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 34cf9e37507c65f7398df4c21a18d4a3e83881d7 tree a1d5b71e1c5fed109a3a2dbfe41aaab5a8157555 parent 0f3278d14f0255e4cd9e07ccefc33ff12d8bb59c author Russell King Fri, 04 Nov 2005 18:43:39 +0000 committer Russell King Fri, 04 Nov 2005 18:43:39 +0000 [MMC] Response to write commands is R1 nor R1b Signed-off-by: Russell King commit c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81 tree 398e03a622d469bcf770ac601708c6aeb25f07fc parent 0676fc122e712751e60ae16e0f2241064711f888 parent b2281abf115031a5242647e0b5b170ffd3bca994 author Linus Torvalds Fri, 04 Nov 2005 10:42:53 -0800 committer Linus Torvalds Fri, 04 Nov 2005 10:42:53 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 0676fc122e712751e60ae16e0f2241064711f888 tree 1b376ff6ab76995f888550d267ee55073532234a parent 912cbe3c5be5afb28184bb2e49a48fa4a1b098db parent d56c524afaa87ae224b5821ef101891ce076c321 author Linus Torvalds Fri, 04 Nov 2005 10:40:11 -0800 committer Linus Torvalds Fri, 04 Nov 2005 10:40:11 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 912cbe3c5be5afb28184bb2e49a48fa4a1b098db tree 07b324a87f7d67be6df5d3e82f986fecbb3c6c0b parent 0f3278d14f0255e4cd9e07ccefc33ff12d8bb59c parent 52ab4ac258ff10a362d78a3f8160a7c4d0721b51 author Linus Torvalds Fri, 04 Nov 2005 10:39:28 -0800 committer Linus Torvalds Fri, 04 Nov 2005 10:39:28 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6 commit d56c524afaa87ae224b5821ef101891ce076c321 tree a35ad97919e7559443509a0e0c8ae72f41be7d9e parent 866237eafc60637a2c9875167486f61d86892c6b author Russell King Fri, 04 Nov 2005 17:28:34 +0000 committer Russell King Fri, 04 Nov 2005 17:28:34 +0000 [PATCH] ARM: Reverted 2918/1: [update] Base port of Comdial MP1000 platfrom No longer maintained commit 866237eafc60637a2c9875167486f61d86892c6b tree 4758a1959c401e1c725be09a87a6e8213c98dbd2 parent e399822da0f99f8486c33c47e7ae0d32151461e5 author Russell King Fri, 04 Nov 2005 17:26:57 +0000 committer Russell King Fri, 04 Nov 2005 17:26:57 +0000 [PATCH] ARM: Reverted 2921/1: Support for the RTC / nvram on the Comdial MP1000 No longer maintained commit e399822da0f99f8486c33c47e7ae0d32151461e5 tree d5541531bcebaca9690ce45a970058887c82920b parent 30c2f90b68b9bcdba83d386d56533d3e884be021 author Russell King Fri, 04 Nov 2005 17:26:56 +0000 committer Russell King Fri, 04 Nov 2005 17:26:56 +0000 [PATCH] ARM: Reverted 2919/1: CS8900A ethernet driver modifications for the Comdial MP1000 No longer maintained commit 30c2f90b68b9bcdba83d386d56533d3e884be021 tree 7354a6dbed550e3abc14ac32afb1fc71e0181f35 parent 74ec71e16189717d3f33ec7e5d22021480f4173b author Nicolas Pitre Fri, 04 Nov 2005 17:17:30 +0000 committer Russell King Fri, 04 Nov 2005 17:17:30 +0000 [ARM] 3097/1: change library link ordering Patch from Nicolas Pitre We have an optimized sha1 routine (arch/arm/lib/sha1.S) meant to override the generic one in lib/sha1.c. Unfortunately lib/lib.a is listed _before_ arch/arm/lib/lib.a in the link argument list and therefore the architecture specific lib functions are not picked up before the generic versions. This patch is a quick fix to change that ordering for ARM. Here's what the kbuild maintainer had to say about it (was also CC'd on lkml): On Wed, 2 Nov 2005, Sam Ravnborg wrote: > This looks like an obvious way to achive correct ordering. > We could change it so arch defines always took precedence but > the above is so simple that it is not worth the effort. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 74ec71e16189717d3f33ec7e5d22021480f4173b tree fc617f464cda174f4b040141ddc25176a92c22cc parent 7866f6492856dde7d70e4f878e3893e1f91216ce author Todd Poynor Fri, 04 Nov 2005 17:15:45 +0000 committer Russell King Fri, 04 Nov 2005 17:15:45 +0000 [ARM] 3087/1: PXA2xx flash platform device conversion Patch from Todd Poynor Add platform devices for flash to Lubbock and Mainstone board files. Once in place, the two existing mtd map drivers for the boards will be converted to use a single pxa2xx map driver in the linux-mtd tree. Take 4: flash_platform_data .map_name vs. .name cleaned up, resync with merged irda patch context. Signed-off-by: Todd Poynor Signed-off-by: Russell King commit 7866f6492856dde7d70e4f878e3893e1f91216ce tree 0b63ebe5c257c98ed52bc7f86508829b2d7102f4 parent 73f0f7c79b046dc5d6b56a3f145430d97d50f877 author Dave Jiang Fri, 04 Nov 2005 17:15:44 +0000 committer Russell King Fri, 04 Nov 2005 17:15:44 +0000 [ARM] 3086/1: ixp2xxx error irq handling Patch from Dave Jiang This provides support for IXP2xxx error interrupt handling. Previously there was a patch to remove this (although the original stuff was broken). Well, now the error bits are needed again. These are used extensively by the micro-engine drivers according to Deepak and also we will need it for the new EDAC code that Alan Cox is trying to push into the main kernel. Re-submit of 3072/1, generated against git tree pulled today. AFAICT, this git tree pulled in all the ARM changes that's in arm.diff. Please let me know if there are additional changes. Thx! Signed-off-by: Dave Jiang Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 73f0f7c79b046dc5d6b56a3f145430d97d50f877 tree 4ea8a6270a7b3be8dc14fee074a0bbfeb620dea8 parent 8b5f4f06eecc081892b05cd6077314d68872dfd6 author Nicolas Pitre Fri, 04 Nov 2005 17:15:43 +0000 committer Russell King Fri, 04 Nov 2005 17:15:43 +0000 [ARM] 3094/1: remove PLD stuff from old uaccess code Patch from Nicolas Pitre ARM processors that have pld instructions are not using those copy_user implementation anymore. Let's remove the useless PLD lines which were half wrong anyway. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit c2f2f0fa3829a8da1e029346c4f7e8da82f95d62 tree 84e58b4c7ba2ad354c1797a77eea35fbf13cf2ae parent 985be54ba8b042923f5a76276a1c0490aa8af7a1 author Jaroslav Kysela Wed, 26 Oct 2005 11:50:25 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:26:03 +0100 [ALSA] usb-audio: remove duplicate fixup entry (Hercules DJ Console) Modules: USB generic driver Signed-off-by: Jaroslav Kysela commit 985be54ba8b042923f5a76276a1c0490aa8af7a1 tree 93abfe8da6aa0b1ddfce2c71ff3251e05f1e3465 parent b7027cc29e158ec2d1c5e53c69f3e9e6a0d02a48 author Takashi Iwai Wed, 02 Nov 2005 18:26:49 +0100 committer Jaroslav Kysela Fri, 04 Nov 2005 13:25:53 +0100 [ALSA] hda-codec - Minor rewrites Modules: HDA Codec driver,HDA generic driver - Make bound controls global to all patches - Clean up analog patches (for the upcoming extension to AD1988) Signed-off-by: Takashi Iwai commit b7027cc29e158ec2d1c5e53c69f3e9e6a0d02a48 tree f28c3d38216ce61acfbbe8f29cd6ea6f707d1d52 parent 09f9a891e9c8a3a5f75216c292a5420eb73a9c8b author Takashi Iwai Wed, 02 Nov 2005 18:13:41 +0100 committer Jaroslav Kysela Fri, 04 Nov 2005 13:25:41 +0100 [ALSA] hda-codec - Show power state in proc file Modules: HDA generic driver Show the power state of each widget in proc file. Signed-off-by: Takashi Iwai commit 09f9a891e9c8a3a5f75216c292a5420eb73a9c8b tree 5b76e9bf18e4290cb298bd2c3d8f3e10db638435 parent b55bbf06e850d7561ad7bdded1f4d8c08b1e1f11 author Takashi Iwai Wed, 02 Nov 2005 11:54:36 +0100 committer Jaroslav Kysela Fri, 04 Nov 2005 13:25:10 +0100 [ALSA] ice1724 - Add SPDIF support to Shuttle SN25P Modules: ICE1712 driver Added the SPDIF support to Shuttle SN25P. Signed-off-by: Takashi Iwai commit b55bbf06e850d7561ad7bdded1f4d8c08b1e1f11 tree 6a556b8170c354224a8c5a4400524bc59f0101db parent 091e95ee7febf894603475c44d51f8ec4fab4328 author Clemens Ladisch Wed, 02 Nov 2005 11:32:52 +0100 committer Jaroslav Kysela Fri, 04 Nov 2005 13:25:06 +0100 [ALSA] usb-audio: start submitting URBs in the prepared state Modules: USB generic driver If we submit all our URBs when a playback stream is started, the first hwptr_done update for each URB happens at the same time. This results in an underrun when there isn't enough PCM data available at this point for all URBs. To avoid this, we begin submitting our URBs earlier (when the stream is prepared), with empy packets. When the stream is started, the prepare_playback_urb() call for each URB will be run only when the respective URB has completed previously, so the first hwptr_done updates will be done nicely staggered. Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai commit 091e95ee7febf894603475c44d51f8ec4fab4328 tree 926e87397150b5d635e2ed113809bbb1957844ea parent beef08a54524e4a657bfb66b6b9758f8bc54fd17 author Takashi Iwai Thu, 27 Oct 2005 20:56:35 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:34 +0100 [ALSA] ac97 - Fix confliction of DRA and surround slots Modules: AC97 Codec Fixed the confliction of DRA and surround slots 7/8. Signed-off-by: Takashi Iwai commit beef08a54524e4a657bfb66b6b9758f8bc54fd17 tree 1b2052f03c9cff8990a85d85ae50a5bda67990eb parent 708f997169d5674177450f25ef3ac6b4f2562690 author Takashi Iwai Thu, 27 Oct 2005 20:55:38 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:31 +0100 [ALSA] intel8x0 - Fix irq handler registration Modules: Intel8x0 driver - Request irq handler after proper initialization - Don't override always buggy_irq option for Nvidia Signed-off-by: Takashi Iwai commit 708f997169d5674177450f25ef3ac6b4f2562690 tree 1c1fe8dded6390d9d5336ecea7928509bf33ce8f parent 6d6f9156209892bc0cdc3354394ac947db5e32f1 author Konstantin Baydarov Thu, 27 Oct 2005 17:25:02 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:26 +0100 [ALSA] AMD Au1x00 driver: buggy spinlocks Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver fails compilation with the alternate spinlock implementation because it doesn't do locking/unlocking correctly in some places (passes spinlock by value). Signed-off-by: Konstantin Baydarov Signed-off-by: Sergei Shtylyov Signed-off-by: Takashi Iwai commit 6d6f9156209892bc0cdc3354394ac947db5e32f1 tree 60ba1bdef24be1e1f4af1f66e5b2960dcb9a95ee parent 9529a5bae10118fd08edfd667cac19f94fb7264a author Karoly Lorentey Tue, 25 Oct 2005 11:50:25 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:24 +0100 [ALSA] intel8x0 - Add ac97_quirk for Dell Inspiron 8600 Modules: Intel8x0 driver Add AC97_TUNE_HP_ONLY quirk for Dell Inspiron 8600. Signed-off-by: Karoly Lorentey Signed-off-by: Takashi Iwai commit 9529a5bae10118fd08edfd667cac19f94fb7264a tree a10a5d14b925366adbeb9b9e36aa8ebdd8ec4513 parent d91c64c8279501f439feae9042eccd0bbe484265 author Lee Revell Tue, 25 Oct 2005 11:25:29 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:22 +0100 [ALSA] emu10k1 - Use 31 bit DMA mask for Audigy Modules: EMU10K1/EMU10K2 driver It appears that either the Audigy DMA engine or the Linux kernel cannot handle 32 bit DMA with this device. Problem manifests as noise when using more than 2GB of RAM, possibly only on 64 bit machines. The OSS driver actually uses a 29 bit DMA mask for both devices, this seems like overkill for now. Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit d91c64c8279501f439feae9042eccd0bbe484265 tree 869c718839971e90d89e11eba42c9f6a4d0de0f3 parent fc20773329c993ec7d1b2c65618351f057d9d679 author Andreas Mohr Tue, 25 Oct 2005 11:17:45 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:18 +0100 [ALSA] AZT3328 driver update Modules: AZT3328 driver this is now an even much more reworked patch (#3) for my azt3328.c ALSA driver. IOW I spent another 4 evenings to get the sequencer timer to work properly (my head is still hurting) and do lots of other cleanups. Note that despite the extensive sequencer timer additions, the driver object is still only 2kB bigger than the previous version, due to those many optimizations... Changes in version #3: - fully working ALSA sequencer timer support for the card's 1024000Hz DirectX timer (downscaling adjustable via seqtimer_scaling module param) - an insane amount of code optimizations - many, many cleanups Changes in version #2: - FOUND the 1us DirectX timer area (yay!), made the code respect it properly - renamed some 'weird' mixer control names according to ControlNames.txt - cleanup unneeded debug messages, reformatting - improved I/O register documentation - constified many more structs Changes in version #1: - improves/fixes some fatal playback/recording interaction - improves IRQ handler performance (and actually fixes some weird code) - coalesces some I/O accesses - slightly improves I/O interface documentation - improves/fixes logging - defines out some less important debug code - constifies some data Signed-off-by: Andreas Mohr Signed-off-by: Takashi Iwai commit fc20773329c993ec7d1b2c65618351f057d9d679 tree 0a3159b9d7017e932dbd976338f29d34d4b9e8ad parent aa92c4af15224d8a96343286cdcf7c73b2ad3809 author Tim Tue, 25 Oct 2005 11:10:55 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:13 +0100 [ALSA] Fix emu10k1 synth problems. Modules: EMU10K1/EMU10K2 driver,Common EMU synth This patch fixes problems with voices cutting off or not sounding at all. Signed-off-by: Tim Signed-off-by: Takashi Iwai commit aa92c4af15224d8a96343286cdcf7c73b2ad3809 tree 2ef8cfb38b13d1a38a55a219254b12bf68f89005 parent f1902860161ff212c515e7ea629e880fec856a37 author Takashi Iwai Tue, 25 Oct 2005 10:58:59 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:11 +0100 [ALSA] Fix a typo in the last fix Modules: ALSA Core Fix a typo (bogus check) in the last patch to fix Oops with suspend/resume. Signed-off-by: Takashi Iwai commit f1902860161ff212c515e7ea629e880fec856a37 tree c3dc4d5ca38c05f15f06a6583594f7b54dad4c66 parent c8a7e5c40ddcf98f1026581e411b05ff86491907 author Clemens Ladisch Mon, 24 Oct 2005 17:05:03 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:08 +0100 [ALSA] fix improper CONFIG_SND_MAJOR usage Modules: HWDEP Midlevel,PCM Midlevel,RawMidi Midlevel,ALSA Core Replace usage of CONFIG_SND_MAJOR with snd_major, where appropriate. Signed-off-by: Clemens Ladisch commit c8a7e5c40ddcf98f1026581e411b05ff86491907 tree b9f9430eb4bc949f4318d380e1ca856abf343af1 parent 3939e7142da722324ab07d244a9736b0fa59c362 author Clemens Ladisch Mon, 24 Oct 2005 17:02:46 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:20:03 +0100 [ALSA] usb-audio: remove superfluous include Modules: USB generic driver Remove a superfluous include of the sound/minors.h header. Signed-off-by: Clemens Ladisch commit 3939e7142da722324ab07d244a9736b0fa59c362 tree 015ebd5763d11cfd62e79f0e429a99968d0b8ddb parent fc58422ad95a0f4936ead538e0b946aee5a4f98c author Clemens Ladisch Mon, 24 Oct 2005 17:02:03 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:58 +0100 [ALSA] clean up device types symbols Modules: ALSA Core,ALSA Minor Numbers Remove the unused and undefined symbols SNDRV_DEVICE_TYPE_{MIXER, PCM_PLOOP,PCM_CLOOP}, and introduce a new symbol SNDRV_MINOR_GLOBAL for non-card-specific devices like the sequencer or the timer. Signed-off-by: Clemens Ladisch commit fc58422ad95a0f4936ead538e0b946aee5a4f98c tree 1b2318ac68b5704db165e175e88199969f2339dd parent 8433a509c0eb6bb1f33ce39c82c580b8901619ee author Jesper Juhl Mon, 24 Oct 2005 15:11:28 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:55 +0100 [ALSA] Big kfree NULL check cleanup - sound Modules: AD1889 driver,RME9652 driver This is the sound/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in sound/. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 8433a509c0eb6bb1f33ce39c82c580b8901619ee tree f1554905dee5da4e840dfd674d5b004124496a22 parent d78bec210f07b06f406b877b9179e0cc281ae8e6 author Nishanth Aravamudan Mon, 24 Oct 2005 15:02:37 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:49 +0100 [ALSA] Fix schedule_timeout usage Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use human-time conversion functions instead of hard-coded division to avoid rounding issues. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit d78bec210f07b06f406b877b9179e0cc281ae8e6 tree 1c8e6a40cb6112895ac87667321b757afabe96a5 parent 7b4260f2cc8a0da74a7842106cc87ab54bf17ec5 author Wei Ni Mon, 24 Oct 2005 11:04:51 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:41 +0100 [ALSA] intel8x0 - fix capture for M1563 Modules: Intel8x0 driver 1.In intel8x0_measure_ac97_clock routine, when stop DMA, there is not stop DMA corectly, but start another PCM In2 DMA engine. 2.In do_ali_reset routine, there is only need to enable PCM IN and PCM OUT. Signed-off-by: Jaroslav Kysela commit 7b4260f2cc8a0da74a7842106cc87ab54bf17ec5 tree 829d66ac0f4ab2372b98d5c2bec666ee3d4f47b7 parent 7cf4783b31607ad13b84bed14ea2ca446364985a author James Courtier-Dutton Sat, 22 Oct 2005 11:49:51 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:39 +0100 [ALSA] ca0106: Added copyright messages. Modules: CA0106 driver Signed-off-by: James Courtier-Dutton commit 7cf4783b31607ad13b84bed14ea2ca446364985a tree 0774e3f2d1474b82270e624cdc17f5ef010439b7 parent d3d579f84ebf701dedd22ba696d1738ed6759ef7 author James Courtier-Dutton Sat, 22 Oct 2005 11:45:55 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:37 +0100 [ALSA] ca0106: Cosmetic changes. Modules: CA0106 driver Just tidying up the code. Making more functions static. Signed-off-by: James Courtier-Dutton commit d3d579f84ebf701dedd22ba696d1738ed6759ef7 tree 54cdc92d760b9dd350e8dc7ee11194f309c2e2a2 parent 8a5afd29dc16a9e687f63195cb635ecd611482d0 author Takashi Iwai Fri, 21 Oct 2005 16:20:11 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:32 +0100 [ALSA] Add missing KERN_* prefix Modules: ALSA<-OSS emulation,USB generic driver,USB USX2Y Added missing KERN_* prefix to printk. Signed-off-by: Takashi Iwai commit 8a5afd29dc16a9e687f63195cb635ecd611482d0 tree dff1950bd5302e5b2752e32075166638be1436dd parent b0b9811956db489ca43596c37ef2f38582454e51 author James Courtier-Dutton Thu, 20 Oct 2005 22:57:51 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:26 +0100 [ALSA] snd-ca0106: Add midi support. Modules: PCI drivers,CA0106 driver Author: Tilman Kranz Signed-off-by: James Courtier-Dutton commit b0b9811956db489ca43596c37ef2f38582454e51 tree 2d86a427fb4d1e3ad250971a75d9f29f0eec2333 parent 99b359ba10a582148c6725f428a33ba5356dd993 author Takashi Iwai Thu, 20 Oct 2005 18:29:58 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:24 +0100 [ALSA] hdsp - Code clean up Modules: RME HDSP driver - Add missing KERN_* suffix to printk. - Clean up parentheses. - clean up the firmware check code. Signed-off-by: Takashi Iwai commit 99b359ba10a582148c6725f428a33ba5356dd993 tree 15927b52d1b02830a9197bea7806545ffef0749f parent 8a3fb4d0ce5cc37a765d59b65a3b3714e5806dc9 author Takashi Iwai Thu, 20 Oct 2005 18:26:44 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:23 +0100 [ALSA] Add missing KERN_* suffix to printk Add missing KERN_* suffix to printk. Signed-off-by: Takashi Iwai commit 8a3fb4d0ce5cc37a765d59b65a3b3714e5806dc9 tree e6edf683d5e474db4879b1209b0841cda5f67ef5 parent 698444f31788bd9992f7c31bcc4862d82f985890 author Takashi Iwai Thu, 20 Oct 2005 17:10:49 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:17 +0100 [ALSA] Remove multi-card support for ali5451 and nm256 Modules: Documentation,ALI5451 driver,NM256 driver Removed multi-card supports for ali5451 and nm256 drivers. They are supposed to be a single device. Signed-off-by: Takashi Iwai commit 698444f31788bd9992f7c31bcc4862d82f985890 tree e201f10e133d84a26864f72ad807f5d3223f327f parent d1f38cf9f8fcb486a027bb5adc214558d7830f45 author Takashi Iwai Thu, 20 Oct 2005 16:53:49 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:16 +0100 [ALSA] Fix the type of enable module option Fix the type of enable module option to bool. Signed-off-by: Takashi Iwai commit d1f38cf9f8fcb486a027bb5adc214558d7830f45 tree 364285fb2ed0366c161ba6c9d24b9536cf65a456 parent 47530cf44cb5f3945ed04a5ae65d06bf423cd97b author Takashi Iwai Wed, 19 Oct 2005 16:04:27 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:14 +0100 [ALSA] Add description about a new option of nm256 driver Modules: Documentation Add description about a new option of nm256 driver. Signed-off-by: Takashi Iwai commit 47530cf44cb5f3945ed04a5ae65d06bf423cd97b tree 82c7423027bc01ff89d293f4714778e5ed948a1a parent d44c39acafff98590b9bcdecb44dbbc3f7714b4a author John W. Linville Wed, 19 Oct 2005 16:03:10 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:10 +0100 [ALSA] nm256: reset workaround for Latitude CSx Modules: NM256 driver The current snd-nm256 driver can cause Dell Latitude CSx laptops to lock-up during module (un)load. I have isolated this to the writes to the control port register at offset 0x6cc which were not already protected by the existing reset_workaround. I tried grouping these writes with the existing reset_workaround clause, but that caused the driver to have (un)load problems on the Dell Latitude LS laptops. So, I have implemented a reset_workaround_2 clause (please feel free to suggest a better name!) to cover this situation and added a quirk entry for the CSx laptops. Signed-off-by: John W. Linville Signed-off-by: Takashi Iwai commit d44c39acafff98590b9bcdecb44dbbc3f7714b4a tree ed837bc08cc371796cdd429047fb9300dd4177dd parent 87ef7779be825c187747b6b39a24d5326d610c53 author Clemens Ladisch Wed, 19 Oct 2005 14:39:48 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:09 +0100 [ALSA] ymfpci: change timer resolution to 48 kHz Modules: YMFPCI driver We better pretend that the ymfpci timer runs at 48 kHz because the interrupt frequency cannot be higher, and clients that would try to use 96 kHz would run at half their desired speed. Signed-off-by: Clemens Ladisch commit 87ef7779be825c187747b6b39a24d5326d610c53 tree fd1ca6f88f1cadc68a07054beef067f210010039 parent 051b51653309db976c9665f8d4b1774fa1f8124a author Clemens Ladisch Wed, 19 Oct 2005 14:38:30 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:07 +0100 [ALSA] seq-timer: restrict timer frequencies Modules: ALSA sequencer When no default timer frequency has been set, initialize_timer() just uses the maximum frequency supported by the timer, which is ridiculously high on 96 kHz timers. This patch introduces a default frequency of 1000 Hz for this case, and makes sure that a frequency set by the user isn't too high. Signed-off-by: Clemens Ladisch commit 051b51653309db976c9665f8d4b1774fa1f8124a tree 82b06edc315ae21e39cbcf2cc96cec37df6dfcde parent c829b052de189b3ca4fb76d2f61917b67e12b83d author Charles R. Anderson Tue, 18 Oct 2005 18:04:36 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:06 +0100 [ALSA] Fix maestro3 hang after cold boot Modules: Maestro3 driver This patch fixes the maestro3 driver to call the snd_m3_assp_init function to write the DSP firmware into the ASSP chip before sending the RUN_ASSP command, thereby solving the hang after a cold boot. Signed-off-by: Charles R. Anderson Signed-off-by: Takashi Iwai commit c829b052de189b3ca4fb76d2f61917b67e12b83d tree b41a6c9659ed54b40e8d782c41dbc6889fb71e9d parent 4f550df58f4758ea023704b409830ad9c3b47771 author Takashi Iwai Tue, 18 Oct 2005 18:03:35 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:02 +0100 [ALSA] intel8x0 - Fix handling of module parameters Modules: Intel8x0 driver - Set buggy_irq parameter before registration of irq handler. - Clean up module parameter handling. Signed-off-by: Takashi Iwai commit 4f550df58f4758ea023704b409830ad9c3b47771 tree 83f935c11032a2a4099e0996717482ddcce945ca parent f0597a416dc44e3afe25090e9af9d42bad62547d author Karsten Wiese Tue, 18 Oct 2005 14:31:07 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:19:00 +0100 [ALSA] Reduce interrupt latency in sound/pci/via82xx.c Modules: VIA82xx driver The change only affects the via823x kind of chips. Here the via8233_pcm_pointer_hw() function (named snd_via8233_pcm_pointer() before) needed to loop until a non zero position is red from the chip. Measurements have shown that more than 200 loops are typically needed on an Athlon64. As io-reads cost many cycles, those loops sum up huge. via8233_pcm_pointer_hw() runs either in interrupt or with interrupts disabled. So it introduces significant interrupt latency. The patch introduces a calculated position value hwptr_done, that is updated by the interrupt routine when a period is completed. It is only used, if the 823x chip returns a zero position, which can't be interpreted reliably. Further optimisation is applied on the 8233 chip's interrupt routine: Only the SGD_SHADOW is read, as it contains all infos needed. We ommit ~5 more register reads that way. Signed-off-by: Karsten Wiese Signed-off-by: Takashi Iwai commit f0597a416dc44e3afe25090e9af9d42bad62547d tree 350c00303992440c31524109951e2fbb73b90183 parent 00f226d400d3a5868c4d798bb80491e22dd5b810 author Clemens Ladisch Mon, 17 Oct 2005 17:15:46 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:58 +0100 [ALSA] usb-audio: don't call usb_reset_configuration() when probing Modules: USB generic driver Remove the usb_reset_configuration() call from the probe callback because it isn't needed and it may interfere with other drivers already loaded for the device. Signed-off-by: Clemens Ladisch commit 00f226d400d3a5868c4d798bb80491e22dd5b810 tree 0f59d5b272f5e12630d8c062c856e83d1a45ad22 parent 063859c854fcb42a04eec4e20c71885dc121edce author Honza Maly Fri, 14 Oct 2005 18:18:01 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:53 +0100 [ALSA] Enable DXS controls for VIA VT82xx Modules: VIA82xx driver The patch enable separate DXS controls of sound function of VIA VT82xx controller in case DXS volume is not needed for PCM Playback volume control emulation. Signed-off-by: Honza Maly Signed-off-by: Takashi Iwai commit 063859c854fcb42a04eec4e20c71885dc121edce tree e7d37f6c60986cbd8b7e86dd4d7d450d5b72b26b parent 6b172a853814fe52fb4d5942e660943cb9e6df37 author Takashi Iwai Fri, 14 Oct 2005 17:17:02 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:51 +0100 [ALSA] Remove obsolete chip_t Modules: Documentation,MIPS AU1x00 driver,PPC Beep,SPARC DBRI driver Removed the use of chip_t, which was obsoleted. Signed-off-by: Takashi Iwai commit 6b172a853814fe52fb4d5942e660943cb9e6df37 tree cb12f389ec961fa95b32562e870dd87dafc43ab1 parent 9dfba38012196ecaf48cbb7ecad92e0729b4491f author Clemens Ladisch Wed, 12 Oct 2005 17:20:21 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:47 +0100 [ALSA] timer: formatting changes Modules: Timer Midlevel Split or rewrite lines that are longer than 80 characters, and remove whitespaces at the end of lines. Signed-off-by: Clemens Ladisch commit 9dfba38012196ecaf48cbb7ecad92e0729b4491f tree c0d383258a0f11057e3bc83712588c561aa91614 parent de24214d0c8e78134875752619f99b9e5824c196 author Clemens Ladisch Wed, 12 Oct 2005 17:14:55 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:45 +0100 [ALSA] timer: remove list_entry() type casts Modules: Timer Midlevel The return value of list_entry() already has the type from the second argument, so we don't need to typecase it again. Signed-off-by: Clemens Ladisch commit de24214d0c8e78134875752619f99b9e5824c196 tree 147f8cdcf5dfb3be2d95409f7ac44af101d2e0a5 parent 2fd43d1159d22395aae01836c4b13ee5265a9b6b author Clemens Ladisch Wed, 12 Oct 2005 17:12:31 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:43 +0100 [ALSA] timers: add module refcounting for global timers Modules: RTC timer driver,Timer Midlevel Add a module pointer to the timer structure and use it for refcounting instead of the card's module pointer to prevent the global timer modules (rtctimer and hpetimer) from being removed while in use. Signed-off-by: Clemens Ladisch commit 2fd43d1159d22395aae01836c4b13ee5265a9b6b tree fcbbd9af8033f992a0ff30a4dc689e3e3e42b932 parent 2dfbeca9e9b3857e005afc9b933e2e1be07a9ea0 author Clemens Ladisch Wed, 12 Oct 2005 17:10:35 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:38 +0100 [ALSA] timer: fix timer instance memory allocation checks Modules: Timer Midlevel Add checks to return -ENOMEM in case snd_timer_instance_new() fails. Signed-off-by: Clemens Ladisch commit 2dfbeca9e9b3857e005afc9b933e2e1be07a9ea0 tree 73dd679dd97c70c272577ccf66456261f78a5a04 parent b709e57440b9d5f38b8c73e1310127d51777bba0 author Takashi Iwai Wed, 12 Oct 2005 10:04:42 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:37 +0100 [ALSA] Add support of high-rate SPDIF output Modules: ICE1724 driver Add support of SPDIF output with sample rates higher than 48kHz. Signed-off-by: Takashi Iwai commit b709e57440b9d5f38b8c73e1310127d51777bba0 tree c2a3d56dce01f6aca5792d536da39bd6ce497440 parent 86284e458b48ffb6f9849673880f8342dee5b76a author Takashi Iwai Tue, 11 Oct 2005 17:28:58 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:34 +0100 [ALSA] Add the missing forward declration Modules: ALSA Core Added the missing forward declaration before function prototypes. Signed-off-by: Takashi Iwai commit 86284e458b48ffb6f9849673880f8342dee5b76a tree 02e6af9a1522ab520b69250bd296e3649540989c parent 93b9f426374a07d46f582fdf284e4e26d8fe9756 author Takashi Iwai Tue, 11 Oct 2005 15:05:54 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:29 +0100 [ALSA] hda-codec - Get subsystem ID from AFG/MFG Modules: HDA Codec driver Get subsytem ID from AFG/MFG if not obtained from the root node. Signed-off-by: Takashi Iwai commit 93b9f426374a07d46f582fdf284e4e26d8fe9756 tree 1bdca00719c0eb5e02e4948a8f762c425e8bd3a1 parent c913f69b0d1b9f3f3aa39f49a240cb0fb9d7c6dd author Takashi Iwai Mon, 10 Oct 2005 13:42:24 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:23 +0100 [ALSA] es1938 - Clean up and fix trigger in PM Modules: ES1938 driver - Clean up the last PM fix - Add TRIGGER_SUSPEND/RESUME to disable/enable DMA properly during PM Signed-off-by: Takashi Iwai commit c913f69b0d1b9f3f3aa39f49a240cb0fb9d7c6dd tree fe65bf4fd53513adf09e0d527ddb4e6aef00cb91 parent 94651a5bf5143053d34ea9f957dba4f33c1afb15 author Rudolf Marek Mon, 10 Oct 2005 12:11:23 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:18 +0100 [ALSA] es1938 - Fix resume Modules: ES1938 driver This patch fixes the suspend/resume issue I'm having with ESS-Solo1 soundcard. Without this patch I might get after resume message that kernel is disabling the IRQ5 (soundcard). If there was something playing it wont continue after resume without this patch. Signed-off-by: Rudolf Marek Signed-off-by: Takashi Iwai commit 94651a5bf5143053d34ea9f957dba4f33c1afb15 tree d3c518cbe7cf274f59e71812d582062e8c1a402b parent e38e0cfa48ac38f4fe24453d2523852467c95b21 author Takashi Iwai Mon, 10 Oct 2005 12:08:01 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:13 +0100 [ALSA] via82xx - Add DXS entry for Clevo D470 Modules: VIA82xx driver Added the DXS entry for Clevo D470 laptop. Signed-off-by: Takashi Iwai commit e38e0cfa48ac38f4fe24453d2523852467c95b21 tree 6b949db59b0c73cc3d3bc04f52d479bd605c658e parent b1d5776d865951c213a1caaab5d8bf5de7615dbd author Takashi Iwai Mon, 10 Oct 2005 11:59:52 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:08 +0100 [ALSA] Remove kmalloc wrappers Modules: ALSA Core Remove kmalloc wrappers. Signed-off-by: Takashi Iwai commit b1d5776d865951c213a1caaab5d8bf5de7615dbd tree f999dca30f6e2d03a9176b86c613ae8f4531a6d6 parent 93f2e37840a9a7c3693ca6961fe6ad46b250f3b9 author Takashi Iwai Mon, 10 Oct 2005 11:56:31 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:18:00 +0100 [ALSA] Remove vmalloc wrapper, kfree_nocheck() - Remove vmalloc wrapper - Add release_and_free_resource() to remove kfree_nocheck() from each driver and simplify the code Signed-off-by: Takashi Iwai commit 93f2e37840a9a7c3693ca6961fe6ad46b250f3b9 tree 66cfaa7602ec0541f667a55f8de69a42df75db87 parent 07799e756c76ecd52cb01a812ba48b7d8ac67633 author Takashi Iwai Mon, 10 Oct 2005 11:51:55 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:54 +0100 [ALSA] Make snd_task_name() module local Modules: ALSA Core,ALSA<-OSS emulation Remove a global function snd_task_name(), and move it local to snd-pcm-oss module. Signed-off-by: Takashi Iwai commit 07799e756c76ecd52cb01a812ba48b7d8ac67633 tree 5b6a006d90e631e6b70264aba355314a7cedbbe5 parent 7c22f1aaa23370bf9ba2dd3abbccbed70dced216 author Takashi Iwai Mon, 10 Oct 2005 11:49:49 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:47 +0100 [ALSA] Use getnstimeofday() Modules: Documentation,PCM Midlevel,Timer Midlevel,ALSA Core Use the standard getnstimeofday() function instead of ALSA's own one. Signed-off-by: Takashi Iwai commit 7c22f1aaa23370bf9ba2dd3abbccbed70dced216 tree ebc9c1e5cfdab4815afdfab1ba583e6220287252 parent f01cc521a2abef5dba24fb0873b9626ba6b0a0a5 author Takashi Iwai Mon, 10 Oct 2005 11:46:31 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:42 +0100 [ALSA] Remove snd_runtime_check() macro Remove snd_runtime_check() macro. This macro worsens the readability of codes. They should be either normal if() or removable asserts. Also, the assert displays stack-dump, instead of only the last caller pointer. Signed-off-by: Takashi Iwai commit f01cc521a2abef5dba24fb0873b9626ba6b0a0a5 tree 45d832aa39b9d77e1fbfcbe6d6f66724dded9084 parent 72c8986cafd20d93f331dc74fb175c304a37fbdb author Sasha Khapyorsky Mon, 10 Oct 2005 11:45:31 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:40 +0100 [ALSA] Sasha Khapyorsky: My email address is changed, there is update. Modules: Intel8x0-modem driver,VIA82xx-modem driver,HDA Codec driver Signed-off-by: Sasha Khapyorsky Signed-off-by: Jaroslav Kysela commit 72c8986cafd20d93f331dc74fb175c304a37fbdb tree 02b5f94e9fcf68d4404f546b52a0826e9db719bf parent c168143c450d93887590078087a57e1e6b1189f7 author Dick Streefland Fri, 07 Oct 2005 12:02:23 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:35 +0100 [ALSA] intel8x0 - enable ac97_quirk hp_only for Acer Aspire 3003LCi Modules: Intel8x0 driver On my Acer Aspire 3003LCi laptop, the speaker volume is not controlled by the master control, but by the headphone control. Enabling the 'hp_only' quirk corrects this. The patch below adds this device to the list of known quirks. Signed-off-by: Dick Streefland Signed-off-by: Takashi Iwai commit c168143c450d93887590078087a57e1e6b1189f7 tree edf0171d78f23feb402d34b318558192cf286faa parent 2b3e584b9235b302efa769acb172258513400065 author Takashi Iwai Thu, 06 Oct 2005 13:48:54 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:32 +0100 [ALSA] Allow 8-44khz sample rates on Revolution 7.1 Modules: ICE1724 driver Remove the restcition of sample rates on Revolution 7.1 board. This enables the low 8-44kHz sample rates. Signed-off-by: Takashi Iwai commit 2b3e584b9235b302efa769acb172258513400065 tree c126a0b8f4aace837629067804991bf20e28eee1 parent 79ba34b94170eb517f0dcf634aab7fb1f5708d4b author Takashi Iwai Thu, 06 Oct 2005 13:47:23 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:28 +0100 [ALSA] Add dummy obsoleted module options for backward compatibility Added dummay obsoleted module options for backward compatibility (to reduce possible bugzilla entries :) Signed-off-by: Takashi Iwai commit 79ba34b94170eb517f0dcf634aab7fb1f5708d4b tree 0df4875273725f6e3347f9b03b005066643cebb7 parent b7fe46220487f684abc858865cff817389af5c76 author Takashi Iwai Wed, 05 Oct 2005 19:47:41 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:26 +0100 [ALSA] intel8x0 - Suppress the codec warnings during probing Modules: Intel8x0 driver Suppress the codec warnings during probing of codecs. Signed-off-by: Takashi Iwai commit b7fe46220487f684abc858865cff817389af5c76 tree d1eabbbdd0f686c87996133fd22ce2327da638c1 parent 4b0940f8117b6cdf7e7c27bdecc29931f18c81ed author Clemens Ladisch Tue, 04 Oct 2005 08:46:51 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:16 +0100 [ALSA] highlanderize motherboard AC97/HDA drivers Remove the code for supporting eight cards from the integrated controller drivers because There Can Be Only One controller of each type per mainboard. Signed-off-by: Clemens Ladisch commit 4b0940f8117b6cdf7e7c27bdecc29931f18c81ed tree 4effa4548b4d4041f421b7f693840bfac1fa8f47 parent 2ba71978c04d4dba983b4fc658f82eae164c2bca author Randy Dunlap Fri, 30 Sep 2005 16:55:14 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:17:08 +0100 [ALSA] sound: align device drivers menus Modules: Sound Core,PCI drivers AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a location where that won't happen, enabling all device sub-menus to be presented together. Signed-off-by: Randy Dunlap Signed-off-by: Takashi Iwai commit 2ba71978c04d4dba983b4fc658f82eae164c2bca tree b0b6407e8b7bf5c89cd54ad7fee278f262800dc3 parent 6632d198c6643294319a4ca3f614539dc1ad37a8 author Sasha Khapyorsky Thu, 29 Sep 2005 12:58:24 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:59 +0100 [ALSA] Removing obsolete AC97_SHARED_TYPES This patch cleans last ac97 audio/modem codec interception in initialization procedures (ac97_mixer_new()) and removes obsolete SHARED_TYPE 'locking' which prevents from AMC codecs to function correctly. Signed-off-by: Sasha Khapyorsky Signed-off-by: Takashi Iwai commit 6632d198c6643294319a4ca3f614539dc1ad37a8 tree 84476c6179399721cd61fdd08f95001a8a2b4bc2 parent d602c885a6c30c78197b752c9241ce7e86cdf704 author Sasha Khapyorsky Thu, 29 Sep 2005 11:48:17 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:56 +0100 [ALSA] dev_class=SNDRV_PCM_CLASS_MODEM for modem PCMs dev_class=SNDRV_PCM_CLASS_MODEM for all supported softmodem PCMs Signed-off-by: Sasha Khapyorsky Signed-off-by: Takashi Iwai commit d602c885a6c30c78197b752c9241ce7e86cdf704 tree 4ee464123d2bc4bb4e5775f0ac98ae996eca94f2 parent bf3b644039d6a99076f5a87c714d94dfea3a6814 author Glen Masgai Wed, 28 Sep 2005 08:19:05 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:52 +0100 [ALSA] ymfpci: add S/PDIF-in > S/PDIF-out loop Modules: YMFPCI driver This patch adds a new mixer control called 'IEC958 Loop' which makes it possible to loop digital signals from S/PDIF-in to S/PDIF-out. Signed-off-by: Glen Masgai Signed-off-by: Clemens Ladisch commit bf3b644039d6a99076f5a87c714d94dfea3a6814 tree b6ddcaeeb08ae74a0e06d185f7071d4b82089a0f parent d9ad1bdd6d72606a59cdc07e571fbe695e32f271 author Clemens Ladisch Wed, 28 Sep 2005 08:18:17 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:50 +0100 [ALSA] sequencer: remove superfluous function parameter Modules: ALSA sequencer Remove the last parameter of snd_seq_timer_set_tick_resolution() because it is always one. Signed-off-by: Clemens Ladisch commit d9ad1bdd6d72606a59cdc07e571fbe695e32f271 tree a5a702fc2db1e8079bad25b42d818e2f7636232f parent adf25df1be2e3843f786a2562202c7897bbd149d author Clemens Ladisch Tue, 27 Sep 2005 15:57:24 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:48 +0100 [ALSA] rtctimer: optimize module parameter validation Modules: RTC timer driver The check whether rtctimer_freq is a power of two can be done easier with a simple bit operation. Signed-off-by: Clemens Ladisch commit adf25df1be2e3843f786a2562202c7897bbd149d tree b4347b3faa49634f04242d3639ca025b47cccd85 parent 3527a008cbc51dd23a8bf4927e3ab29423b0d05b author Clemens Ladisch Tue, 27 Sep 2005 15:56:28 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:44 +0100 [ALSA] rtctimer: remove superfluous rtc_inc variable Modules: RTC timer driver The rtc_inc variable is never used outside the interrupt handler, and is always one where it matters, so we can just remove it. Signed-off-by: Clemens Ladisch commit 3527a008cbc51dd23a8bf4927e3ab29423b0d05b tree b5aaab3e8800a3d333e8639f7b4fa59d460fb804 parent 3cfc1eb181b49dfbfeaf20ebfeb5cd2af4c4c4b5 author Clemens Ladisch Mon, 26 Sep 2005 10:03:09 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:39 +0100 [ALSA] usb-audio: remove old compatibility wrappers (2/2) Modules: USB generic driver Move the usb_complete_callback() compatibility wrapper out of the kernel tree. Signed-off-by: Clemens Ladisch commit 3cfc1eb181b49dfbfeaf20ebfeb5cd2af4c4c4b5 tree c29cd9f00e5877bf138449dad9f770b2fc30231c parent d879f0ccf55a9ac5752b24dc210a446746e3c6da author Clemens Ladisch Mon, 26 Sep 2005 10:01:12 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:37 +0100 [ALSA] usb-audio: remove old compatibility wrappers (1/2) Modules: USB generic driver Move the usb_pipe_needs_resubmit() compatibility wrapper out of the kernel tree. Signed-off-by: Clemens Ladisch commit d879f0ccf55a9ac5752b24dc210a446746e3c6da tree d9a144211acf55cec9cc8b4343d46875aeeec372 parent f2b31737e509a70952421e7cca488a2001a3b087 author Clemens Ladisch Wed, 21 Sep 2005 16:33:49 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:28 +0100 [ALSA] usb-audio: add quirk comments Modules: USB generic driver Add more comments about other device modes and unsupported devices to the Roland part of the quirks table. Signed-off-by: Clemens Ladisch commit f2b31737e509a70952421e7cca488a2001a3b087 tree c88cb1ccde453ffc64ec13b295c04e8c37831ce9 parent 21be3d162651f11e422275aad62a4bb06292ef4f author Sasha Khapyorsky Fri, 16 Sep 2005 19:22:44 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:24 +0100 [ALSA] au88x0: codec access procs for multiple AC97 codecs Modules: au88x0 driver This patch extends au88x0 AC97 codec access procedures to handle multiple codecs properly. Signed-off-by: Sasha Khapyorsky Signed-off-by: Takashi Iwai commit 21be3d162651f11e422275aad62a4bb06292ef4f tree e1d55634f5384a1eac5f5687053d9b26d305a514 parent a9430dd8fc232cfddcfaedde1a6a915e241366a8 author Takashi Iwai Fri, 16 Sep 2005 19:18:56 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:18 +0100 [ALSA] Add description for ALC260 codec Modules: Documentation Added description for ALC260 codec models in hda-intel driver section. Signed-off-by: Takashi Iwai commit a9430dd8fc232cfddcfaedde1a6a915e241366a8 tree 503b48075846759dbe689f0eb51b1d8161ba71c0 parent dfedc5f47cfd672a57923506c71b2042b33ae306 author Jonathan Woithe Fri, 16 Sep 2005 19:12:48 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:16:13 +0100 [ALSA] hda-codec - A new model for Fujitsu S7020 Modules: HDA Codec driver Added a new model 'fujitsu' to ALC260 config for Fujitsu S7020. Signed-off-by: Takashi Iwai commit dfedc5f47cfd672a57923506c71b2042b33ae306 tree e4a0194ab45a3b020a18371585cb9125ac3b6148 parent d1bda0455478a9e2a13381044e9bb80a17ec92d2 author Clemens Ladisch Fri, 16 Sep 2005 16:56:01 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:15:59 +0100 [ALSA] usb-audio: ignore Hercules DJ Console mixer errors Modules: USB generic driver Add a quirk entry for the Hercules DJ Console to ignore timeouts on some mixer control transfers. Signed-off-by: Clemens Ladisch commit d1bda0455478a9e2a13381044e9bb80a17ec92d2 tree fcf79d93d1b7293dfd6472b58dddf6ec52b7914c parent 5747e54042c710272cefed74cc457531a01768c9 author Clemens Ladisch Wed, 14 Sep 2005 08:36:03 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:15:49 +0100 [ALSA] usb-audio: simplify MIDI quirk handling Modules: USB generic driver Simplify the handling of MIDI quirks by treating an interface without quirks as a QUIRK_MIDI_STANDARD_INTERFACE. This also fixes the bug where a MIDI_STANDARD quirk would not be recognized. Signed-off-by: Clemens Ladisch commit 5747e54042c710272cefed74cc457531a01768c9 tree 7fed8c603440f365bc645751a0ffb3aed0598502 parent da3fca21996414a263d36804d9afb2e701abbfef author Clemens Ladisch Wed, 14 Sep 2005 08:33:46 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:15:46 +0100 [ALSA] cmipci: use FM/MIDI ports in PCI port space Modules: CMIPCI driver If possible, use ports in the card's PCI port address range instead of the legacy ports. Signed-off-by: Clemens Ladisch commit da3fca21996414a263d36804d9afb2e701abbfef tree 3276863010372babbaa1334a10e5fed16e37703c parent eb9b4142b3af98d808012081c4dd6d36e2964d43 author Vinod G Tue, 13 Sep 2005 18:49:12 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:15:45 +0100 [ALSA] hda-intel - Add NVidia support Modules: HDA Intel driver This patch is to make the Intel HDA code work for NVIDIA azalia controller. Modified by Takashi Iwai Signed-off-by: Vinod G. Signed-off-by: Takashi Iwai commit eb9b4142b3af98d808012081c4dd6d36e2964d43 tree 6b33ebc4bd019f51c776095cc6ee25f81b3a9ddc parent 4525c9f31f4606881ed49d822b44c2c5d6080ef4 author Takashi Iwai Tue, 13 Sep 2005 18:39:21 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:15:42 +0100 [ALSA] Fix a typo Modules: AC97 Codec Fix a typo in the last patch. Signed-off-by: Takashi Iwai commit 4525c9f31f4606881ed49d822b44c2c5d6080ef4 tree 09af0ed72514fd79b42dd969199a733a6ac29eb9 parent edf8e4565c44bffbb4d09e8984df941d0ae9e6e8 author Takashi Iwai Tue, 13 Sep 2005 11:47:07 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:15:39 +0100 [ALSA] Fix surround control of CMI9761 Modules: AC97 Codec - Fixed surround controls of CMI9761 (model 83) in update_jacks callback. - Clean up ad1888 and ad1985 update_jacks callbacks. Signed-off-by: Takashi Iwai commit edf8e4565c44bffbb4d09e8984df941d0ae9e6e8 tree 717847acaec7b4007ae5e8e6e72328fdcda69744 parent 0f3278d14f0255e4cd9e07ccefc33ff12d8bb59c author Mikael Magnusson Tue, 13 Sep 2005 11:32:58 +0200 committer Jaroslav Kysela Fri, 04 Nov 2005 13:15:36 +0100 [ALSA] emu10k1: Front channels via fxbus 8 and 9 Modules: EMU10K1/EMU10K2 driver Adds left and right front channel outputs using fxbus 8 and 9 and 'Front' playback and capture volume controls. Signed-off-by: Mikael Magnusson Signed-off-by: Takashi Iwai commit c6ea2ba7b8acdb6c4a883b2d38607c8078dff4ee tree d175d3c28c0ff28cee62a4073c48f96b029cacab parent 3a65dfe8c088143c7155cfd36a72f4b0ad2fc4b2 author Jens Axboe Fri, 04 Nov 2005 08:44:58 +0100 committer Jens Axboe Fri, 04 Nov 2005 08:44:58 +0100 [BLOCK] iosched: fix setting of default io scheduler With the recent reorg of the io scheduler selection, it unfortunately became possible to select an io scheduler to be the default even if it wasn't builtin. Fix this by requiring the default scheduler to be builtin. Signed-off-by: Jens Axboe commit 3a65dfe8c088143c7155cfd36a72f4b0ad2fc4b2 tree db930c9f71f94d3ee674f65e38c38e95ca97227e parent 0f3278d14f0255e4cd9e07ccefc33ff12d8bb59c author Jens Axboe Fri, 04 Nov 2005 08:43:35 +0100 committer Jens Axboe Fri, 04 Nov 2005 08:43:35 +0100 [BLOCK] Move all core block layer code to new block/ directory drivers/block/ is right now a mix of core and driver parts. Lets move the core parts to a new top level directory. Al will move the fs/ related block parts to block/ next. Signed-off-by: Jens Axboe commit c3df69cd854551cf70e9c63aa509c26621084f60 tree 4d650a6939045e103734d72712877088cf1d3258 parent 292a6c58e9133b57d004d92a846fff326dd31e92 parent 1970282f3b453b7aac3b192a44705dcb5277fd82 author Paul Mackerras Fri, 04 Nov 2005 17:03:39 +1100 committer Paul Mackerras Fri, 04 Nov 2005 17:03:39 +1100 Merge git://oak/home/sfr/kernels/iseries/work commit 1970282f3b453b7aac3b192a44705dcb5277fd82 tree 03993bd7b9e69619313da19c137cdde2df9416c5 parent 9a0f78f63bc05d195aab781486ed57d1418d5f59 author Stephen Rothwell Fri, 04 Nov 2005 16:58:59 +1100 committer Stephen Rothwell Fri, 04 Nov 2005 16:58:59 +1100 powerpc: merge tlbflush.h Signed-off-by: Stephen Rothwell commit 292a6c58e9133b57d004d92a846fff326dd31e92 tree a267d1881a9a0bcb69938becd0c182874cd6c19c parent 8ad200d7b7c8fac77cf705831e90e889360d7030 parent dc3a9efb5ee89493a42c3365d219e339e4720c2b author Paul Mackerras Fri, 04 Nov 2005 16:17:32 +1100 committer Paul Mackerras Fri, 04 Nov 2005 16:17:32 +1100 Merge branch 'for-paulus' of git://kernel/home/michael/src/work/ commit 8ad200d7b7c8fac77cf705831e90e889360d7030 tree c954352ca3cd8c64e913ceb4a5a082ce7e98f8cd parent d3ab57ebdc6457543b346255fa47b0ecd7671136 author Paul Mackerras Fri, 04 Nov 2005 13:28:58 +1100 committer Paul Mackerras Fri, 04 Nov 2005 13:28:58 +1100 powerpc: Merge smp-tbsync.c (the generic timebase sync routine) Signed-off-by: Paul Mackerras commit dc3a9efb5ee89493a42c3365d219e339e4720c2b tree a0d261c2933f3083f351c858b01de7677356d4b7 parent 30415f6a63f3383a18e9adf7c144acabe6893f63 parent d3ab57ebdc6457543b346255fa47b0ecd7671136 author Michael Ellerman Fri, 04 Nov 2005 12:12:52 +1100 committer Michael Ellerman Fri, 04 Nov 2005 12:12:52 +1100 Merge with Paulus commit 30415f6a63f3383a18e9adf7c144acabe6893f63 tree 1243fd078c52fca858145d5b96e6e4a2d310de4e parent b8f510219edc719d4c305918e16edc578bcfc16f author Michael Ellerman Thu, 03 Nov 2005 21:10:48 +1100 committer Michael Ellerman Fri, 04 Nov 2005 12:10:51 +1100 powerpc: Fix random memory corruption in merged elf.h The merged verison of ELF_CORE_COPY_REGS is basically the PPC64 version, with a memset that came from PPC and a few types abstracted out into #defines. But it's not _quite_ right. The first problem is we calculate the number of registers with: nregs = sizeof(struct pt_regs) / sizeof(ELF_GREG_TYPE) For a 32-bit process on a 64-bit kernel that's bogus because the registers are 64 bits, but ELF_GREG_TYPE is u32, so nregs == 88 which is wrong. The other problem is the memset, which assumes a struct pt_regs is smaller than a struct elf_regs. For a 32-bit process on a 64-bit kernel that's false. The fix is to calculate the number of regs using sizeof(unsigned long), which should always be right, and just memset the whole damn thing _before_ copying the registers in. Signed-off-by: Michael Ellerman commit b8f510219edc719d4c305918e16edc578bcfc16f tree 7f0303abf4ce15d1f35516ee36fc8aebc270db6d parent 40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e author Michael Ellerman Fri, 04 Nov 2005 12:09:42 +1100 committer Michael Ellerman Fri, 04 Nov 2005 12:09:42 +1100 powerpc: Implement smp_release_cpus() in C not asm There's no reason for smp_release_cpus() to be asm, and most people can make more sense of C code. Add an extern declaration to smp.h and remove the custom one in machine_kexec.c Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 0f3278d14f0255e4cd9e07ccefc33ff12d8bb59c tree 9bbb209cab841f700162a96e158dfa3ecd361f46 parent 06024f217d607369f0ee0071034ebb03071d5fb2 parent 15c84a470116b2a3b58a7353a6cf711c29a91854 author Linus Torvalds Thu, 03 Nov 2005 16:25:58 -0800 committer Linus Torvalds Thu, 03 Nov 2005 16:25:58 -0800 Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 commit 15c84a470116b2a3b58a7353a6cf711c29a91854 tree 823a083661724315d78b43940f274b3bbb2bbe85 parent 05db218a27c955880dce6d080d5159247aad3629 author Nathan Scott Fri, 04 Nov 2005 10:51:01 +1100 committer Nathan Scott Fri, 04 Nov 2005 10:51:01 +1100 [XFS] Remove no-longer-used qsort source. Signed-off-by: Nathan Scott commit 9a0f78f63bc05d195aab781486ed57d1418d5f59 tree 3d1c3bbd9ec43290ed0b458d4e3bf07833caf93c parent d3ab57ebdc6457543b346255fa47b0ecd7671136 author Stephen Rothwell Fri, 04 Nov 2005 10:20:27 +1100 committer Stephen Rothwell Fri, 04 Nov 2005 10:20:27 +1100 powerpc: merge tlb.h Signed-off-by: Stephen Rothwell commit f79b348856fbaf77e4a0c5cb08a808e5879967a9 tree df708a216d597452d3ae9a589941890c3868c6e2 parent 55725495f2175d0be2a5ed4135c2ea298b470001 author Dean Nelson Tue, 01 Nov 2005 10:21:51 -0600 committer Tony Luck Thu, 03 Nov 2005 15:10:58 -0800 [IA64] restrict CONFIG_SGI_SN_XP to IA64_GENERIC or IA64_SGI_SN2 Restrict CONFIG_SGI_SN_XP to IA64_GENERIC or IA64_SGI_SN2 kernels. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit d09e32764176b61c4afee9fd5e7fe04713bfa56f tree 1818a0043dcbc9789dbc12c6affe5a6924d65366 parent 0c99cb6d5fe77872c5a32cff837c05f70158ce15 author Jack Morgenstein Thu, 03 Nov 2005 14:58:33 -0800 committer Roland Dreier Thu, 03 Nov 2005 14:58:33 -0800 [IB] mthca: check P_Key index in modify QP Make sure that the P_Key index passed into mthca_modify_qp() is within the device's P_Key table. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 05db218a27c955880dce6d080d5159247aad3629 tree 17bf1d374021f9313defdf534eb1ff11a94a237b parent 992c83a1295c9fff22c8cbd8ae199872a49934b9 author Nathan Scott Fri, 04 Nov 2005 09:49:07 +1100 committer Nathan Scott Fri, 04 Nov 2005 09:49:07 +1100 [XFS] Fix an inode32 regression - if no options are presented, must still set default flags. SGI-PV: 945242 SGI-Modid: xfs-linux-melb:xfs-kern:24292a Signed-off-by: Nathan Scott commit b2281abf115031a5242647e0b5b170ffd3bca994 tree f626505d21050dde47730b3e2d46d6cf5eddd8cf parent 06024f217d607369f0ee0071034ebb03071d5fb2 author Ben Dooks Thu, 03 Nov 2005 21:07:37 +0000 committer Russell King Thu, 03 Nov 2005 21:07:37 +0000 [SERIAL] 8250_early.c passing 0 instead of NULL Fix sparse warning about passing `0` to simple_strtoul() Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 8b5f4f06eecc081892b05cd6077314d68872dfd6 tree ddf8d2afa9d122b69f73de4f3000b044ef3e923f parent 5f8b1178e246422ebddc1b16487314c91edf85fe author Deepak Saxena Thu, 03 Nov 2005 21:05:39 +0000 committer Russell King Thu, 03 Nov 2005 21:05:39 +0000 [ARM] Fix IXDP2x01 config files IXDP2401 config file has wrong baudrate and both boards have 3 UARTs. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 5f8b1178e246422ebddc1b16487314c91edf85fe tree 67b0b09acc80bfc1ca81f92cdad45ca156706bea parent 24bcc2f46cf8982dbc02c8e3037dfc5e12f1e35c parent 7e5e6e9a509c4ed2973a345ec7ffb96577f42e26 author Russell King Thu, 03 Nov 2005 21:02:39 +0000 committer Russell King Thu, 03 Nov 2005 21:02:39 +0000 [ARM] Merge SMP tree commit 24bcc2f46cf8982dbc02c8e3037dfc5e12f1e35c tree 1136d17728f1222470f0e03f58163b9ed4c72dca parent 089311e117adb8ffe13984d122e33287ffa8c7ec author Nicolas Pitre Thu, 03 Nov 2005 20:40:50 +0000 committer Russell King Thu, 03 Nov 2005 20:40:50 +0000 [ARM] 3092/1: remove excessive print format padding Patch from Nicolas Pitre Using a llx format to print addresses that might possibly be (only) 36 bits wide make sense. However making it a zero padded 16 char wide field is a bit excessive and useless. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 7e5e6e9a509c4ed2973a345ec7ffb96577f42e26 tree 26a9f2ae9b890a755585c83d27078d3682ff65ac parent 4a5f79e7e65d24d2fa9eb6e6208672571704d337 author Russell King Thu, 03 Nov 2005 20:32:45 +0000 committer Russell King Thu, 03 Nov 2005 20:32:45 +0000 [ARM SMP] Do not clear cpu_vm_mask for VIPT caches Since we do not invalidate TLBs/caches on MM switches, we should not clear the cpu_vm_mask for the CPU. Signed-off-by: Russell King commit 0c99cb6d5fe77872c5a32cff837c05f70158ce15 tree b974a31452cb645f063589262bde09b6c5b05701 parent 87cfe32375e0b69b999b59bf8287f501df3e43f7 author Roland Dreier Thu, 03 Nov 2005 12:01:18 -0800 committer Roland Dreier Thu, 03 Nov 2005 12:01:18 -0800 [IB] umad: fix hot remove of IB devices Fix hotplug of devices for ib_umad module: when a device goes away, kill off all MAD agents for open files associated with that device, and make sure that the device is not touched again after ib_umad returns from its remove_one function. Signed-off-by: Roland Dreier commit 55725495f2175d0be2a5ed4135c2ea298b470001 tree 6005d0c7a95d994bf7ec8e6410dbd5a573e86fdf parent 067794a1170ef61e295aea1719cf4a1ce20200f8 parent 06024f217d607369f0ee0071034ebb03071d5fb2 author Tony Luck Thu, 03 Nov 2005 09:09:08 -0800 committer Tony Luck Thu, 03 Nov 2005 09:09:08 -0800 Auto-update from upstream commit 4a5f79e7e65d24d2fa9eb6e6208672571704d337 tree 44364e64ba8cedf3fbc5c3bb5c79b669dba0c1fd parent 06024f217d607369f0ee0071034ebb03071d5fb2 author Russell King Thu, 03 Nov 2005 15:48:21 +0000 committer Russell King Thu, 03 Nov 2005 15:48:21 +0000 [ARM SMP] Add configuration option for ARMv6K processors The 'K' extension adds several new instructions to the ARMv6 ISA which are primerily useful for SMP. Signed-off-by: Russell King commit 089311e117adb8ffe13984d122e33287ffa8c7ec tree 6babb461ad7f6abed02f0fa0d39206c7b3940bfa parent 0dcc7474b2fc547b2193dd1bafc4670a70d44e91 author Russell King Thu, 03 Nov 2005 11:04:53 +0000 committer Russell King Thu, 03 Nov 2005 11:04:53 +0000 [ARM] Fix another build error with IOP3xx platforms ld doesn't like comments starting with // in its scripts Signed-off-by: Russell King commit 0dcc7474b2fc547b2193dd1bafc4670a70d44e91 tree e56f86efaa811634971aef4629b18f2f8151e2ff parent ca82d85bc2512b759ff6356300b46e6de5b106da author Russell King Thu, 03 Nov 2005 10:17:44 +0000 committer Russell King Thu, 03 Nov 2005 10:17:44 +0000 [ARM] Add Realview default configuration file Signed-off-by: Russell King commit ca82d85bc2512b759ff6356300b46e6de5b106da tree 5675fad370cb4b38784f531d532fd5ffccdc4701 parent 06024f217d607369f0ee0071034ebb03071d5fb2 author Russell King Thu, 03 Nov 2005 10:06:35 +0000 committer Russell King Thu, 03 Nov 2005 10:06:35 +0000 [ARM] Fix more 3016/1 breakage Signed-off-by: Russell King commit 40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e tree 36f18519c5094495840a1a1c424f24db837eed22 parent c87ef1171db207d9d19f87ad12db92974d95c466 author Michael Ellerman Thu, 03 Nov 2005 19:34:38 +1100 committer Michael Ellerman Thu, 03 Nov 2005 19:34:38 +1100 powerpc: Cleanup vpa code register_vpa() doesn't actually do a VPA register call it just uses the flags you pass it, so rename it to vpa_call() to be clearer. We can then define register_vpa() and unregister_vpa() which are both simple wrappers around vpa_call(). (we'll need unregister_vpa() for kexec soon) We can then cleanup vpa_init(), and because vpa_init() is only called from platforms/pseries we remove the definition in asm-ppc64/smp.h. Signed-off-by: Michael Ellerman commit 87cfe32375e0b69b999b59bf8287f501df3e43f7 tree 2cbc1b1e7bb230afcf4903b6527e3238f689de89 parent 8ae5a8a24f7fe797027d481f88c1464b0e47eede author Roland Dreier Wed, 02 Nov 2005 22:59:37 -0800 committer Roland Dreier Wed, 02 Nov 2005 22:59:37 -0800 [IB] mthca: fix format of FW version Mellanox has decided that the components of the firmware version are really meant to be displayed in decimal, e.g. 0x000400070190 is version 4.7.400. Change the format we use from "%x.%x.%x" to "%d.%d.%d" to match this convention. Signed-off-by: Roland Dreier commit c87ef1171db207d9d19f87ad12db92974d95c466 tree 18f229ae7cd22fd7cb2c9ab54a6b5632a08d45c2 parent e19e4ab4154a831788365c07e7a10d9114bba46c author Michael Ellerman Thu, 03 Nov 2005 17:57:53 +1100 committer Michael Ellerman Thu, 03 Nov 2005 17:57:53 +1100 powerpc: Add helper functions for synthesising instructions at runtime There's a few places already, and soon will be more, where we synthesise branch instructions at runtime. Rather than doing it by hand in each case, it would make sense to have one implementation. Signed-off-by: Michael Ellerman commit d3ab57ebdc6457543b346255fa47b0ecd7671136 tree bd2f8fe9193d21a038c645fd9af2e474073d370c parent 7f23292d5a6525a133d7cb8f2f33df39dd069822 parent 5adb83c2fa136e14172b1a65b0f8aa28f2cb9f62 author Paul Mackerras Thu, 03 Nov 2005 17:04:08 +1100 committer Paul Mackerras Thu, 03 Nov 2005 17:04:08 +1100 Merge git://oak/home/sfr/kernels/iseries/work commit 5adb83c2fa136e14172b1a65b0f8aa28f2cb9f62 tree 2334a905613952748040bed28c79c7d1e39c4bec parent 608f8b3cf3a7fbd009e6bf78e680ea04e6a4e46f author Stephen Rothwell Thu, 03 Nov 2005 16:59:17 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:59:17 +1100 powerpc: merge ucontext.h Signed-off-by: Stephen Rothwell commit 7f23292d5a6525a133d7cb8f2f33df39dd069822 tree ee2490650a26674dab6172e3f20093b0fb753d46 parent 457e04ca5cb6efa9392c48409bee802eaa394d8c author David Gibson Thu, 03 Nov 2005 10:13:58 +1100 committer Paul Mackerras Thu, 03 Nov 2005 16:58:17 +1100 [PATCH] powerpc: Keep fixing merged ipcbuf.h Oops, replacing the two u64s in struct ipc64_perm with __u32s changed the alignment of that structure, which could mess up userspace. Revert to using two unsigned long longs (which is what ppc32 had originally). ppc64 orignally had two unsigned longs, but long long is the same size on 64 bit, so this should be ok there too. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 457e04ca5cb6efa9392c48409bee802eaa394d8c tree f6ae788376d122482c1c8eb47a9f222926053dc4 parent 3d9e9dc49d9e6d10ad4a2f4ababc899fc527584c author Vitaly Bordug Wed, 02 Nov 2005 22:55:14 +0300 committer Paul Mackerras Thu, 03 Nov 2005 16:57:50 +1100 [PATCH] ppc32: Fixed warning in m8xx_setup.c This adds missing header and thus fix the warning issued by ming prototype. Signed-off-by: Vitaly Bordug Signed-off-by: Paul Mackerras commit 3d9e9dc49d9e6d10ad4a2f4ababc899fc527584c tree de69ad5cc9d69f0b6f48ee00706b201f56a9d0d0 parent 38dc16186433ba961ace39c97ac6f7071250f981 author Marcelo Tosatti Wed, 02 Nov 2005 12:42:16 -0200 committer Paul Mackerras Thu, 03 Nov 2005 16:57:13 +1100 [PATCH] ppc32 8xx: fix cpm_dpalloc() comment Current comment on top of m8xx_cpm_dpinit is wrong. Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 38dc16186433ba961ace39c97ac6f7071250f981 tree bb77166bfe1236ea734b263fdc64e604cc29a1ea parent 7ed3463b6192e9542983be4ba4d913d74b3ecea6 author Marcelo Tosatti Wed, 02 Nov 2005 12:46:28 -0200 committer Paul Mackerras Thu, 03 Nov 2005 16:57:07 +1100 [PATCH] ppc32 8xx: Fix harmless warning in 8xx_io/commproc.c Signed-off-by: Paul Mackerras commit 7ed3463b6192e9542983be4ba4d913d74b3ecea6 tree e75fa23db377a71103df6cb324eca8cbf77d6bd0 parent 91c33d28cda0d3ee1df0cdf399610dbb4e846a45 author Marcelo Tosatti Wed, 02 Nov 2005 12:44:16 -0200 committer Paul Mackerras Thu, 03 Nov 2005 16:56:53 +1100 [PATCH] ppc32 8xx: export symbols required for modular IDE This fixes these warnings: Building modules, stage 2. MODPOST *** Warning: "__ide_mm_insl" [drivers/ide/ide-core.ko] undefined! *** Warning: "__ide_mm_outsw" [drivers/ide/ide-core.ko] undefined! *** Warning: "__ide_mm_insw" [drivers/ide/ide-core.ko] undefined! *** Warning: "__ide_mm_outsl" [drivers/ide/ide-core.ko] undefined! Signed-off-by: Paul Mackerras commit 91c33d28cda0d3ee1df0cdf399610dbb4e846a45 tree 9be3172ec876a9698e2fa8bd0356bc104213fdaa parent 9122ee33c6688491c65dcb1973e86b943883a8ab author David Woodhouse Wed, 02 Nov 2005 16:54:46 +0000 committer Paul Mackerras Thu, 03 Nov 2005 16:56:13 +1100 [PATCH] powerpc: always init nvram on 64-bit powermac Currently there is no Kconfig symbol to indicate that we want nvram support on 64-bit kernels; it's assumed we always want it, so make the powermac setup code always initialize the pmac nvram code if 64-bit. Signed-off-by: Paul Mackerras commit 9122ee33c6688491c65dcb1973e86b943883a8ab tree 2ff82ea5d405c94aa1b3fa809aa3bb5621db7b86 parent 8902e87f1fc72740a40686a31ca07e6c2cf1f0f2 author Becky Bruce Wed, 02 Nov 2005 10:52:52 -0600 committer Paul Mackerras Thu, 03 Nov 2005 16:54:10 +1100 [PATCH] ppc: Fix build warnings in arch/ppc/kernel/traps.c The latest updates to bug.h generate build warnings in traps.c in arch/ppc. Fix print format specifiers to account for change of line type to long from int. Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit 8902e87f1fc72740a40686a31ca07e6c2cf1f0f2 tree 17d6fa17cbf41c5eda3d79696e77f9a69fa0b51a parent f4fcbbe9a7fdf11305fea657202b954bdc2228ec author John Rose Wed, 02 Nov 2005 10:29:55 -0600 committer Paul Mackerras Thu, 03 Nov 2005 16:53:49 +1100 [PATCH] ppc64: Fix add notifier crashes The extraction of PCI stuff from struct device_node left some false assumptions in notifier code. As a result, dynamic add crashes when non-PCI nodes are added. This patch fixes these assumptions. Signed-off-by: John Rose Signed-off-by: Paul Mackerras commit 992c83a1295c9fff22c8cbd8ae199872a49934b9 tree 5b4f2baf0e2ef69e54b9c3bef23490af4e0f658f parent 7f248a81c5067f5b018ff889c029b960b399ac08 author Nathan Scott Thu, 03 Nov 2005 16:50:07 +1100 committer Nathan Scott Thu, 03 Nov 2005 16:50:07 +1100 [XFS] Remove several no-longer-used files. Signed-off-by: Nathan Scott commit 608f8b3cf3a7fbd009e6bf78e680ea04e6a4e46f tree cf3a195fe50b61ce382859117fbe7197ff3a7bad parent 879168ee51925f7e68165577fba8ef781ccfccb9 author Stephen Rothwell Thu, 03 Nov 2005 16:24:25 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:24:25 +1100 powerpc: merge sigcontext.h Signed-off-by: Stephen Rothwell commit 7f248a81c5067f5b018ff889c029b960b399ac08 tree 20242df58ea1f871ba89ade5ce15e2faddefa0f4 parent 538524aed09fd2c52094afadf0160cef8954d4c8 author Nathan Scott Thu, 03 Nov 2005 16:14:31 +1100 committer Nathan Scott Thu, 03 Nov 2005 16:14:31 +1100 [XFS] Cleanup cosmetic differences between source trees. Signed-off-by: Nathan Scott commit 879168ee51925f7e68165577fba8ef781ccfccb9 tree 7c044c090650715e6c46e252e9378095e9aa5853 parent 62f4f47da64a10630d5f6dabc616477b0e09b612 author Stephen Rothwell Thu, 03 Nov 2005 15:32:07 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:03:28 +1100 powerpc: move include/asm-ppc64/ppc32.h to arch/powerpc/kernel It is only included by signal_32.c Signed-off-by: Stephen Rothwell commit 62f4f47da64a10630d5f6dabc616477b0e09b612 tree cae7fc8698e2e8c18ad7e81a4c01c645757c53a6 parent da80d460bf4606671df3ba53408f45ab848e67ba author Stephen Rothwell Thu, 03 Nov 2005 15:26:23 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:03:20 +1100 powerpc: move ppc64/kernel/signal.c to arch/powerpc Signed-off-by: Stephen Rothwell commit da80d460bf4606671df3ba53408f45ab848e67ba tree 590195c548377ac8e110b1441c7f60c7f731a4b1 parent c5a1ebd24547df5738138ebc154e1abccfa85468 author Stephen Rothwell Thu, 03 Nov 2005 15:14:36 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:03:07 +1100 powerpc: merge ptrace.h Move struct ptregs32 into asm-ppc64/ppc32.h Signed-off-by: Stephen Rothwell commit e19e4ab4154a831788365c07e7a10d9114bba46c tree 63c61be402940f0731d6810b2d1d7372b61a9815 parent 358c86fda080a5e7c66dcaad3707061f32fff7cc author Michael Ellerman Thu, 03 Nov 2005 16:03:06 +1100 committer Michael Ellerman Thu, 03 Nov 2005 16:03:06 +1100 powerpc: Set entry point and text address in linker script Currently we set the kernel entry point and the address of the text section in the Makefile, using CONFIG_KERNEL_START. But we've already got in the linker script, so we can just use KERNELBASE directly. That means if we ever change KERNELBASE there's one less place to change it. And we can set the entry point with ENTRY(). There are zero differences from "readelf -a vmlinux" with or without this patch. Signed-off-by: Michael Ellerman commit c5a1ebd24547df5738138ebc154e1abccfa85468 tree d3ecb2e2e7dfd880318260a3c58c1ed850765caf parent f4fcbbe9a7fdf11305fea657202b954bdc2228ec author Stephen Rothwell Thu, 03 Nov 2005 16:02:23 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:02:23 +1100 powerpc: merge stat.h Signed-off-by: Stephen Rothwell commit 8ae5a8a24f7fe797027d481f88c1464b0e47eede tree 389cecdfb0769cdddd0e901c1d60b9549b0a6322 parent 21a384897d48c116b879924c3dd9e96f6f1e764b author Roland Dreier Wed, 02 Nov 2005 20:51:01 -0800 committer Roland Dreier Wed, 02 Nov 2005 20:51:01 -0800 [IPoIB] don't compile debug code if debugging isn't enabled Don't build ipoib_mcast_iter_ functions if CONFIG_INFINIBAND_IPOIB_DEBUG is not enabled -- their only callers will not be built either. Also move the prototype for ipoib_open() to ipoib.h to fix a sparse warning. Signed-off-by: Roland Dreier commit 358c86fda080a5e7c66dcaad3707061f32fff7cc tree 57a09a252b352ce090e35dd6a9e57f9cb3ed0270 parent e1df870d546f4d033030615aa3d01c0341c1ef1f author Michael Ellerman Thu, 03 Nov 2005 15:39:09 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:39:09 +1100 powerpc: Make early debugging fit on 80 character terminal There's some debugging in prom.c that wraps nastly on 80 character terminals, reformat it to fit. Signed-off-by: Michael Ellerman commit e1df870d546f4d033030615aa3d01c0341c1ef1f tree 67621ddb359f503ba4a01f777313740ab479a849 parent a1218720321d778134914cf90ef54cf0d1d8477c author Michael Ellerman Thu, 03 Nov 2005 15:35:45 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:35:45 +1100 powerpc: Merge asm-ppc/kexec.h and asm-ppc64/kexec.h Merge include/asm-ppc/kexec.h and include/asm-ppc64/kexec.h. The only thing that's really changed is that we now allocate crash_notes properly on PPC32. It's address is exported via sysfs, so it's not correct for it to be a pointer. I've also removed some of the "we don't use this" comments, because they're wrong (or perhaps were referring only to arch code). Signed-off-by: Michael Ellerman commit a1218720321d778134914cf90ef54cf0d1d8477c tree 32399ec564cb1996fba4415979fcbf69b33b3ecc parent cab0af98dfbbf8076d1af01f2927af491a76a33f author Michael Ellerman Thu, 03 Nov 2005 15:33:31 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:33:31 +1100 powerpc: Move plpar_wrappers.h into arch/powerpc/platforms/pseries Move plpar_wrappers.h into arch/powerpc/platforms/pseries, fixup white space, and update callers. Signed-off-by: Michael Ellerman commit cab0af98dfbbf8076d1af01f2927af491a76a33f tree baf3a5cda6e4c117652667ca013db28906497e4c parent 60d4f4c6567f2be77f58838156e7b667238a9580 author Michael Ellerman Thu, 03 Nov 2005 15:30:49 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:30:49 +1100 powerpc: Make set_dabr() a ppc_md function Move pSeries specific code in set_dabr() into a ppc_md function, this will allow us to keep plpar_wrappers.h private to platforms/pseries. Signed-off-by: Michael Ellerman commit 52ab4ac258ff10a362d78a3f8160a7c4d0721b51 tree e61847ab154bfa51b735747df09ca4bcb73336f9 parent 979ad663125af4be120697263038bb06ddbb83b4 author Thomas Graf Tue, 01 Nov 2005 15:13:02 +0100 committer Arnaldo Carvalho de Melo Thu, 03 Nov 2005 02:29:06 -0200 [PKT_SCHED]: Rework QoS and/or fair queueing configuration Make "QoS and/or fair queueing" have its own menu, it's too big to be inlined into "Network options". Remove the obsolete NET_QOS option. Automatically select NET_CLS if needed. Do the same for NET_ESTIMATOR but allow it to be selected manually for statistical purposes. Add comments to separate queueing from classification. Fix dependencies and ordering of classifiers. Improve descriptions/help texts and remove outdated pieces. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 60d4f4c6567f2be77f58838156e7b667238a9580 tree fcdb75d164fa8c8af2a9e6338ae7558f43cf0a89 parent 398382999bcff46ec1c7e7ab7574b10b087481c7 author Michael Ellerman Thu, 03 Nov 2005 15:24:57 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:24:57 +1100 powerpc: Copy default configs into arch/powerpc/configs Copy default configs into arch/powerpc/configs, rename bpa_defconfig to cell_defconfig while we're at it. Signed-off-by: Michael Ellerman commit 0aeafa77558fc1b44b0f39a4d9e5bd9316420788 tree 521696284eab46eda650ea2bc9c767a43209c90a parent 14a48b444420908cf8f87be12f5c94fb9ab16673 author Jan-Benedict Glaw Wed, 02 Nov 2005 22:53:11 -0500 committer Dmitry Torokhov Wed, 02 Nov 2005 22:53:11 -0500 Input: lkkbd - miscellaneous fixes * Hide debugging code into #ifdef, which allows to simplify the large switch statement * Update macros to not reference variables not given as arguments Signed-off-by: Jan-Benedict Glaw Signed-off-by: Dmitry Torokhov commit 14a48b444420908cf8f87be12f5c94fb9ab16673 tree d435edff61f415cb7864bebf1c54a8d465422419 parent d7a767dddcbd690a6c0e2b3b395858dc116db2e6 author Mirco Macrelli Wed, 02 Nov 2005 22:52:45 -0500 committer Dmitry Torokhov Wed, 02 Nov 2005 22:52:45 -0500 Input: logips2pp - add support for MX3100 Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov commit d7a767dddcbd690a6c0e2b3b395858dc116db2e6 tree 6f0e26dc3a20098d97e0f94911d08373184d2b56 parent 47610602c2ebe16ec99063b06bc019f18c8923a9 author Pavel Machek Wed, 02 Nov 2005 22:52:33 -0500 committer Dmitry Torokhov Wed, 02 Nov 2005 22:52:33 -0500 Input: locomokbd - fix wrong bustype Signed-off-by: Pavel Machek Signed-off-by: Dmitry Torokhov commit 47610602c2ebe16ec99063b06bc019f18c8923a9 tree 3704db210ad9cff12ee49afb4eeb3058069df130 parent 5f94548982ad8cb9867297e9e18e50ec7b8accea author Dmitry Torokhov Wed, 02 Nov 2005 22:52:16 -0500 committer Dmitry Torokhov Wed, 02 Nov 2005 22:52:16 -0500 Input: fix input device deregistration Remove main attribute group (name, phys, uniq) when unregistering input devices. Signed-off-by: Dmitry Torokhov commit 5f94548982ad8cb9867297e9e18e50ec7b8accea tree bddaa8a9b37decec5663d2a8d17c93dd732ad8c8 parent 438c9da5143c6a563c5c684b91eb7848a7b2d83d author Dmitry Torokhov Wed, 02 Nov 2005 22:51:46 -0500 committer Dmitry Torokhov Wed, 02 Nov 2005 22:51:46 -0500 Input: do not register statically allocated devices Do not register statically allocated input devices to prevent OOPS when attaching input interfaces since it requires class device to be properly initialized. Signed-off-by: Dmitry Torokhov commit 438c9da5143c6a563c5c684b91eb7848a7b2d83d tree edc3396ae1eb02e3a939d8ef128fb9afb6971402 parent 7afada45da2727fd96402b1244168e0420ca496a author Dmitry Torokhov Wed, 02 Nov 2005 22:49:53 -0500 committer Dmitry Torokhov Wed, 02 Nov 2005 22:49:53 -0500 Input: locomokbd - convert to dynamic input allocation Signed-off-by: Dmitry Torokhov commit 7afada45da2727fd96402b1244168e0420ca496a tree a136010b8e4b9e816d29bfb084237eeb329067ee parent cfa024f4e45562c50b9eccb23649ab103578037b author Ian Wienand Wed, 02 Nov 2005 22:49:10 -0500 committer Dmitry Torokhov Wed, 02 Nov 2005 22:49:10 -0500 Input: convert dmasound_awacs (OSS) to dynamic input allocation Signed-off-by: Ian Wienand Signed-off-by: Dmitry Torokhov commit 06024f217d607369f0ee0071034ebb03071d5fb2 tree d38a20395a0619976543cfb68ea925aebc545575 parent cfa024f4e45562c50b9eccb23649ab103578037b author Alexandre Oliva Mon, 31 Oct 2005 18:29:36 -0200 committer Linus Torvalds Wed, 02 Nov 2005 19:41:32 -0800 [PATCH] x86-64: bitops fix for -Os This fixes the x86-64 find_[first|next]_zero_bit() function for the end-of-range case. It didn't test for a zero size, and the "rep scas" would do entirely the wrong thing. Signed-off-by: Alexandre Oliva Signed-off-by: Linus Torvalds commit f4fcbbe9a7fdf11305fea657202b954bdc2228ec tree d3f6a54b82b6d28f7e78cebd8043df2d9b596b5a parent 398382999bcff46ec1c7e7ab7574b10b087481c7 author Paul Mackerras Thu, 03 Nov 2005 14:41:19 +1100 committer Paul Mackerras Thu, 03 Nov 2005 14:41:19 +1100 powerpc: Merge remaining RTAS code This moves rtas-proc.c and rtas_flash.c into arch/powerpc/kernel, since cell wants them as well as pseries (and chrp can use rtas-proc.c too, at least in principle). rtas_fw.c is gone, with its bits moved into rtas_flash.c and rtas.c. Signed-off-by: Paul Mackerras commit 979ad663125af4be120697263038bb06ddbb83b4 tree 096b4f7abd60bbaf71bef8b2c182cda3970bb888 parent c75d721c761ad0f2d8725c40af9e4f376efefd24 author Yan Zheng Fri, 14 Oct 2005 18:31:15 +0800 committer Arnaldo Carvalho de Melo Thu, 03 Nov 2005 01:03:05 -0200 [IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown Signed-off-by: Yan Zheng Acked-by: YOSHIFUJI Hideaki Signed-off-by: Arnaldo Carvalho de Melo commit 538524aed09fd2c52094afadf0160cef8954d4c8 tree a86cea0500990bc2122aa1cc5f881a25a4269fe3 parent de69e5f44ecbf1d9faca4f473f4210473d26cd41 author Nathan Scott Thu, 03 Nov 2005 13:55:06 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:55:06 +1100 [XFS] fix XFS quota for modular XFS builds Cannot build XFS filesystem support as module with quota support. It works only when the XFS filesystem support is compiled into the kernel. Menuconfig prevents from setting CONFIG_XFS_FS=m and CONFIG_XFS_QUOTA=y. How to reproduce: configure the XFS filesystem with quota support as module. The resulting kernel won't have quota support compiled into xfs.ko. Fix: Changing the fs/xfs/Kconfig file from tristate to bool lets you configure the quota support to be compiled into the XFS module. The Makefile-linux-2.6 checks only for CONFIG_XFS_QUOTA=y. Signed-off-by: Dimitri Puzin Signed-off-by: Adrian Bunk signed-off-by: Andrew Morton Signed-off-by: Nathan Scott commit de69e5f44ecbf1d9faca4f473f4210473d26cd41 tree 45d51d1c45afa3f08c8a46a7d591506d8ff50068 parent a2f8e178ad3e576d107f5d9d47c056dd57221857 author Nathan Scott Thu, 03 Nov 2005 13:53:34 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:53:34 +1100 [XFS] Add a mechanism for XFS to use the generic quota sync method. This is now used to issue a delayed allocation flush before reporting quota, which allows the used space quota report to match reality. Signed-off-by: Nathan Scott commit a2f8e178ad3e576d107f5d9d47c056dd57221857 tree 8599106b12879642b7294299d4255f94afeadf2a parent 436d7d3060fdeca91d0dd67a9ae21d4915f1410f author Nathan Scott Thu, 03 Nov 2005 13:51:23 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:51:23 +1100 [XFS] Add the project quota type into the XFS quota header. Signed-off-by: Nathan Scott commit 436d7d3060fdeca91d0dd67a9ae21d4915f1410f tree 2e026220a436722f91c9258effbccdae2e3532ab parent fc97bbf35d925b3e18a6a31d577552825146952e author Nathan Scott Thu, 03 Nov 2005 13:50:05 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:50:05 +1100 [XFS] Update XFS quota header license to match the SGI boilerplate. Signed-off-by: Nathan Scott commit fc97bbf35d925b3e18a6a31d577552825146952e tree 2c70d450bd853132051a9b837c6bf9a59f78f050 parent bf6f05aa0bb6f1fe9a9ce35287678c3916bddfef author Nathan Scott Thu, 03 Nov 2005 13:46:43 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:46:43 +1100 [XFS] Update XFS documentation. Signed-off-by: Nathan Scott commit cfa024f4e45562c50b9eccb23649ab103578037b tree d49992521230a4e302c6d4bef9191e885220b82e parent 3a7142371efdc95f4c5b5ffc188b18efdc4e64dd parent a054a811597a17ffbe92bc4db04a4dc2f1b1ea55 author Linus Torvalds Wed, 02 Nov 2005 18:38:22 -0800 committer Linus Torvalds Wed, 02 Nov 2005 18:38:22 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 3a7142371efdc95f4c5b5ffc188b18efdc4e64dd tree 29f2fbc9b0932ebeeb85dad6b309c1a22f9b1026 parent ec1890c5df451799dec969a3581ff72e1934b5ee parent c7fb577e2a6cb04732541f2dc402bd46747f7558 author Linus Torvalds Wed, 02 Nov 2005 18:36:15 -0800 committer Linus Torvalds Wed, 02 Nov 2005 18:36:15 -0800 Merge branch 'swiotlb' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit c75d721c761ad0f2d8725c40af9e4f376efefd24 tree ee282f7fd6e465d7b031d64b9ed7c03233ea94cf parent c2da8acaf488b8651edfb04ebf3ab089f3a7830f author Herbert Xu Wed, 02 Nov 2005 18:55:00 +1100 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 22:25:04 -0200 [NET]: Fix zero-size datagram reception The recent rewrite of skb_copy_datagram_iovec broke the reception of zero-size datagrams. This patch fixes it. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit c2da8acaf488b8651edfb04ebf3ab089f3a7830f tree 9869072f9daaf66d68c365076e2bb72af00706c7 parent 2407534f8be8015d585104bcc4374870b6b70fe7 author Stephen Hemminger Tue, 01 Nov 2005 17:05:09 -0800 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 22:08:52 -0200 [ETHERNET]: Add ether stuff to docbook Fix up etherdevice docbook comments and make them (and other networking stuff) get dragged into the kernel-api. Delete the old 8390 stuff, it really isn't interesting anymore. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit 2407534f8be8015d585104bcc4374870b6b70fe7 tree fba7cb22827991ccf447824a6b2d66a543b27e21 parent 450b5b18983cc15f4d27bd3f62901e02281e818b author Stephen Hemminger Tue, 01 Nov 2005 16:52:11 -0800 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 21:54:07 -0200 [ETHERNET]: Optimize is_broadcast_ether_addr Optimize the match for broadcast address by using bit operations instead of comparison. This saves a number of conditional branches, and generates smaller code. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit bf6f05aa0bb6f1fe9a9ce35287678c3916bddfef tree 0707dd164ab0172a922b52e10212334f4675235e parent 19d5bcf370c64b1acb1e928b24baf3b68cec914b author Yingping Lu Thu, 03 Nov 2005 10:31:47 +1100 committer Nathan Scott Thu, 03 Nov 2005 10:31:47 +1100 [XFS] Fixed the inconsistency between attribute b-tree intermidiate node and leaf blocks. The problem cam from xfsqa test 117. SGI-PV: 940655 SGI-Modid: xfs-linux:xfs-kern:201527a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 450b5b18983cc15f4d27bd3f62901e02281e818b tree dea7c8dbd045cde1d4fc46b63ff9c5d66f39f536 parent 8713dbf05754aa777f31bf491cb60a111f7ad828 author Stephen Hemminger Tue, 01 Nov 2005 15:26:45 -0800 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 21:24:01 -0200 [TCP]: BIC max increment too large The max growth of BIC TCP is too large. Original code was based on BIC 1.0 and the default there was 32. Later code (2.6.13) included compensation for delayed acks, and should have reduced the default value to 16; since normally TCP gets one ack for every two packets sent. The current value of 32 makes BIC too aggressive and unfair to other flows. Submitted-by: Injong Rhee Signed-off-by: Stephen Hemminger Acked-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo commit 8713dbf05754aa777f31bf491cb60a111f7ad828 tree 543da2e27a18d1deddfcccf503db882d2f6d2566 parent ec1890c5df451799dec969a3581ff72e1934b5ee author Yan Zheng Fri, 28 Oct 2005 08:02:08 +0800 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 21:03:57 -0200 [MCAST]: ip[6]_mc_add_src should be called when number of sources is zero And filter mode is exclude. Further explanation by David Stevens: Multicast source filters aren't widely used yet, and that's really the only feature that's affected if an application actually exercises this bug, as far as I can tell. An ordinary filter-less multicast join should still work, and only forwarded multicast traffic making use of filters and doing empty-source filters with the MSFILTER ioctl would be at risk of not getting multicast traffic forwarded to them because the reports generated would not be based on the correct counts. Signed-off-by: Yan Zheng Signed-off-by: Arnaldo Carvalho de Melo commit a054a811597a17ffbe92bc4db04a4dc2f1b1ea55 tree b600081d964d6fe7cc1cfe2669a739da0e1743f4 parent 273c2cdb2b6d6743d85ddbde82e71f8adbf5bf10 author Russell King Wed, 02 Nov 2005 22:24:33 +0000 committer Russell King Wed, 02 Nov 2005 22:24:33 +0000 [ARM SMP] Add hotplug CPU infrastructure This patch adds the infrastructure to support hotplug CPU on ARM platforms. Signed-off-by: Russell King commit aef9ec39c47f0cece886ddd6b53c440321e0b2a6 tree d9a0f0fb69ef336bec4317ef5f95adc8c062e445 parent 89fbb69c4f285019ba5e029963dc11cc6beb078a author Roland Dreier Wed, 02 Nov 2005 14:07:13 -0800 committer Roland Dreier Wed, 02 Nov 2005 14:07:13 -0800 IB: Add SCSI RDMA Protocol (SRP) initiator Add an InfiniBand SCSI RDMA Protocol (SRP) initiator. This driver is used to talk talk to InfiniBand SRP targets (storage devices). Signed-off-by: Roland Dreier commit 273c2cdb2b6d6743d85ddbde82e71f8adbf5bf10 tree 5184db909b27caefc0e49dd9e7442d76251fa595 parent 71f512e89704f5aa6fc0b97e4a719184080b8938 author Russell King Wed, 02 Nov 2005 21:54:14 +0000 committer Russell King Wed, 02 Nov 2005 21:54:14 +0000 [ARM SMP] Fix a couple of warnings Use *cpus_addr() to display the mask of pending/to be called CPUs. Signed-off-by: Russell King commit 71f512e89704f5aa6fc0b97e4a719184080b8938 tree 91f855b3c03b9f1c5404e7901e6cb925e091004d parent 7e86df273292b3a88c14b9aed1006cddac2b4c23 author Russell King Wed, 02 Nov 2005 21:51:40 +0000 committer Russell King Wed, 02 Nov 2005 21:51:40 +0000 [ARM SMP] Track CPU idle threads Track the idle thread task_struct for each CPU. Signed-off-by: Russell King commit 21a384897d48c116b879924c3dd9e96f6f1e764b tree 3179960b8e0f3ccb4feff19eb5582298d48324a0 parent de6eb66b56d9df5ce6bd254994f05e065214e8cd author Roland Dreier Wed, 02 Nov 2005 10:07:59 -0800 committer Roland Dreier Wed, 02 Nov 2005 10:07:59 -0800 [IPoIB] remove unneeded initializations to 0 Shrink our source and .text a little by removing a few assignments of NULL and 0 to memory that is already cleared as part of the allocation. Signed-off-by: Roland Dreier commit ec1890c5df451799dec969a3581ff72e1934b5ee tree 38e84a95297dc9c6b727b73925d5c273d110fdbe parent ca23509fbaac0ea662ab0e287bebb72f743f9e1f parent 496456c24f1f4280d50b81aa5bf439ab440b3d7e author Linus Torvalds Wed, 02 Nov 2005 08:06:02 -0800 committer Linus Torvalds Wed, 02 Nov 2005 08:06:02 -0800 Merge git://brick.kernel.dk/data/git/linux-2.6-block commit de6eb66b56d9df5ce6bd254994f05e065214e8cd tree 7463446a05b5e9a5d2fc400da0be8d4a6c2ff6f1 parent 7b28b0d000eeb62d77add636f5d6eb0da04e48aa author Roland Dreier Wed, 02 Nov 2005 07:23:14 -0800 committer Roland Dreier Wed, 02 Nov 2005 07:23:14 -0800 [IB] kzalloc() conversions Replace kmalloc()+memset(,0,) with kzalloc(), for a net savings of 35 source lines and about 500 bytes of text. Signed-off-by: Roland Dreier commit 7e86df273292b3a88c14b9aed1006cddac2b4c23 tree b58f353e501c2c18d5bff5a7f07a94316d143713 parent e831556fb6f81142f9b51d1a05953d8046c27467 author Russell King Wed, 02 Nov 2005 15:09:31 +0000 committer Russell King Wed, 02 Nov 2005 15:09:31 +0000 [ARM] Fix ARM rwlock implementations fb1c8f93d869b34cacb8b8932e2b83d96a19d720 broke the ARM rwlock code since it only partially updated the rwlock implementation. Properly update it. Signed-off-by: Russell King commit e831556fb6f81142f9b51d1a05953d8046c27467 tree 4b7e2fd890656c0b915d7b67000761ff6d26de67 parent 1ffedce7e83540e2d2fe1cacd1922ee337073d28 author Russell King Wed, 02 Nov 2005 14:40:35 +0000 committer Russell King Wed, 02 Nov 2005 14:40:35 +0000 [ARM] AMBA CLCD driver can drive PL110 and PL111 primecells Signed-off-by: Russell King commit 1ffedce7e83540e2d2fe1cacd1922ee337073d28 tree 92368c0eaa9f8016824d2d8c543d12c717595746 parent 6bf7bd6967b1cdde1fe953b0edb951966799fb44 author Russell King Wed, 02 Nov 2005 14:14:37 +0000 committer Russell King Wed, 02 Nov 2005 14:14:37 +0000 [ARM] Fix Realview machine for patch 3016/1 3016/1 changed the map_desc structure to take a PFN instead of a physical address. Fixup Realview machine support for this change. Signed-off-by: Russell King commit 6bf7bd6967b1cdde1fe953b0edb951966799fb44 tree 4b2537d200a51e13ea9e2b439c58411f7769f325 parent bfca94590bfd3dcd958c542d2fb6406518150fee author Russell King Wed, 02 Nov 2005 14:11:35 +0000 committer Russell King Wed, 02 Nov 2005 14:11:35 +0000 [ARM] Fix mm initialisation with write buffered write allocate caches It seems that without the extra tlb flush, we may end up faulting during the early kernel initialisation because the TLB can't see the updated page tables. Signed-off-by: Russell King commit bfca94590bfd3dcd958c542d2fb6406518150fee tree 00e947e6abd3ec64ac025112121440160a783cf3 parent 9dc2d0f55fb693ae6d50c8dd3d934fe3133ca183 author John Bowler Wed, 02 Nov 2005 11:55:12 +0000 committer Russell King Wed, 02 Nov 2005 11:55:12 +0000 [ARM] 3083/1: include/asm-arm/arch-ixp4xx/io.h: eliminate warnings for pointer passed to integral function argument Patch from John Bowler Fix for a compiler warning, this wasn't apparent in 2.6.12, I believe the compiler options have been changed (somewhere) so that passing a (void*) to a (u32) argument is now warned. This accounts for the majority of the warnings in my builds of the 2.6.14 kernel for NSLU2. The patch changes pointer parameters declared as u32 to be declared as either, for read parameters: const volatile void __iomem * and for write parameters: volatile void __iomem * Signed-off-by: John Bowler Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 9dc2d0f55fb693ae6d50c8dd3d934fe3133ca183 tree 8956849b67f57b885346a61bf94f89ede8f2c9b1 parent ca23509fbaac0ea662ab0e287bebb72f743f9e1f author Russell King Wed, 02 Nov 2005 11:51:15 +0000 committer Russell King Wed, 02 Nov 2005 11:51:15 +0000 [ARM] Fix realview machine type for patch 3060/1 Realview was missed in this cleanup... Signed-off-by: Russell King commit 398382999bcff46ec1c7e7ab7574b10b087481c7 tree dbf9737ca24560fac3fafb170ed65169d319afc0 parent 300230dcba386153d077867d60cd24cd97d660f7 author Paul Mackerras Wed, 02 Nov 2005 19:58:12 +1100 committer Paul Mackerras Wed, 02 Nov 2005 19:58:12 +1100 powerpc: Compile fixes for chrp/nvram.c Include asm/rtas.h for prototype for rtas_call etc., and make the `done' variable unsigned int since that's what rtas_call wants. Signed-off-by: Paul Mackerras commit 300230dcba386153d077867d60cd24cd97d660f7 tree 8cf767bb9bf75b5456f9ef32768e9ff4a13af619 parent 2be7a906752abf8dce9350c23b6d1036049a5d3e author Paul Mackerras Wed, 02 Nov 2005 19:57:22 +1100 committer Paul Mackerras Wed, 02 Nov 2005 19:57:22 +1100 powerpc: include in pegasos_eth.c Signed-off-by: Paul Mackerras commit 2be7a906752abf8dce9350c23b6d1036049a5d3e tree ef178fa5801bdce24938819086662bb747d8c0c2 parent aaf8a7a2949481482200686c7bd3852e5be2e093 parent fbf1769d08a8b085834dceb228540153ac2cd534 author Stephen Rothwell Wed, 02 Nov 2005 18:15:43 +1100 committer Stephen Rothwell Wed, 02 Nov 2005 18:15:43 +1100 Merge Paulus' tree commit b7fb358c7c36a14927d5523ea674e69f90c51d1d tree 84a55d070b7acd5f3ffb0c3e7e53fd9d4c481112 parent bc7b26fd7ca5e0c6e769d3886c022f0a98fd88ec author Dave Jones Tue, 01 Nov 2005 23:13:45 -0800 committer Dave Jones Tue, 01 Nov 2005 23:13:45 -0800 [CPUFREQ] Fix up compile of cpufreq_stats Whoops, I lost a hunk of the last patch somehow. Signed-off-by: Dave Jones commit ca23509fbaac0ea662ab0e287bebb72f743f9e1f tree b87f06d928e0ea06ae6244c1aeecf3e745f39bb9 parent 6c2af71f7f6ac10ab45e9461e1dd7aa09079643a author Tejun Heo Tue, 01 Nov 2005 17:23:49 +0900 committer Linus Torvalds Tue, 01 Nov 2005 21:58:06 -0800 [PATCH] blk: fix dangling pointer access in __elv_add_request cfq's add_req_fn callback may invoke q->request_fn directly and depending on low-level driver used and timing, a queued request may be finished & deallocated before add_req_fn callback returns. So, __elv_add_request must not access rq after it's passed to add_req_fn callback. This patch moves rq_mergeable test above add_req_fn(). This may result in q->last_merge pointing to REQ_NOMERGE request if add_req_fn callback sets it but as RQ_NOMERGE is checked again when blk layer actually tries to merge requests, this does not cause any problem. Signed-off-by: Tejun Heo Signed-off-by: Linus Torvalds commit 6c2af71f7f6ac10ab45e9461e1dd7aa09079643a tree a8d5c8968b21a952430baa328c9144b4e56b71d9 parent bbc5b21284318a7c981afa85fc4f51c1256eedec author Santiago Leon Tue, 01 Nov 2005 14:15:09 -0500 committer Linus Torvalds Tue, 01 Nov 2005 21:56:40 -0800 [PATCH] ibmveth fix panic in initial replenish cycle This patch fixes a panic in the current tree caused by a race condition between the initial replenish cycle and the rx processing of the first packets trying to replenish the buffers. Signed-off-by: Santiago Leon Signed-off-by: Linus Torvalds commit bbc5b21284318a7c981afa85fc4f51c1256eedec tree dfb817ef7e643a47a2b17309374a4647159fc8df parent d8762748cae4f85b3201c0304969d993b42d5258 author Al Viro Tue, 01 Nov 2005 15:14:05 +0000 committer Linus Torvalds Tue, 01 Nov 2005 21:50:01 -0800 [PATCH] missing platform_device.h includes Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit d8762748cae4f85b3201c0304969d993b42d5258 tree 559819d9b17e5ee305d705cf9f31ac5de2aab54a parent ce4633704038f9bf39f20c10691747d6fc127bf4 parent a4e62fa031a9681477207b08391c3a5c5c831ce7 author Linus Torvalds Tue, 01 Nov 2005 21:49:07 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:49:07 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 Manual fixups for some clashes due to re-indenting. commit ce4633704038f9bf39f20c10691747d6fc127bf4 tree 6171da06601000cb303d8abcb0d818d12edec0e7 parent ebd50e500185a711e708653460d19f1dbb3ef944 author Andrew Morton Mon, 31 Oct 2005 23:44:30 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:44:46 -0800 [PATCH] tlclk build fix drivers/char/tlclk.c: In function `tlclk_init': drivers/char/tlclk.c:775: warning: implicit declaration of function `platform_device_register_simple' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebd50e500185a711e708653460d19f1dbb3ef944 tree 6515d835c4883f9e26aff4c3a5105767de073e95 parent faba278fb003dbe772f6c04526f1f096f43c995e author Horms Mon, 31 Oct 2005 23:44:29 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:44:46 -0800 [PATCH] audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL This section of code calls .audit_syscal_exit, but is inside CONFIG_AUDIT, so it will fail to build if CONFIG_AUDITSYSCALL is not defined. After discussion with David Woodhouse, change the ifdef to CONFIG_AUDITSYSCALL Signed-off-by: Horms Acked-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faba278fb003dbe772f6c04526f1f096f43c995e tree f47e47f0f27eee1c2911b8b6df1737f813c655ef parent 01824853b1991b6ade506ee1b75f103a6eb8f558 author Chris Wright Mon, 31 Oct 2005 23:44:28 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:44:45 -0800 [PATCH] TPM compile fix CC drivers/char/tpm/tpm_nsc.o drivers/char/tpm/tpm_nsc.c:277: error: `platform_bus_type' undeclared here (not in a function) ... CC drivers/char/tpm/tpm_atmel.o drivers/char/tpm/tpm_atmel.c:175: error: `platform_bus_type' undeclared here (not in a function) Make sure to include proper headers. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01824853b1991b6ade506ee1b75f103a6eb8f558 tree 8533fd4983155854a60598af39a503dff68fab18 parent 06227039b5eb8ed5965f995e45c8cfee154fb883 author Greg Ungerer Wed, 02 Nov 2005 15:12:42 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire reset/reboot support Add reset/reboot code to support the ColdFire 5208 family. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 06227039b5eb8ed5965f995e45c8cfee154fb883 tree 8504e9e354e23694bf3a3037039d5cf0b78a63ad parent 4a1cc1ab40d6c29f07a56ba6b0c83b723f7c2f6c author Greg Ungerer Wed, 02 Nov 2005 15:11:08 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire UART support Add support for the UARTs on the ColdFire 5208 family. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 4a1cc1ab40d6c29f07a56ba6b0c83b723f7c2f6c tree 2e85f248451c0a9f1c1fb397832b89b556fc4e6d parent c9b68714b6d058a50689e7264ba190096b82c9d4 author Greg Ungerer Wed, 02 Nov 2005 15:10:22 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire pit interrupt support The PIT timer in the 5208 ColdFire has slightly different interrupt bit definitions than the PIT timer used on other ColdFire parts. Define the commonly used bit and mask numbers here, and let part specific defines take precedence if they are defined. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit c9b68714b6d058a50689e7264ba190096b82c9d4 tree 397c64bd9d4ac988f3a322e85838d1ed7ba3bb3b parent 95dad9b351ff44e19590b0c6ec40513e4a1b12bf author Greg Ungerer Wed, 02 Nov 2005 15:05:55 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire pit timer support Add support for the PIT timer used in the 5208 ColdFire fmaily. Patch originally from Matt Wadell (from code originally modified by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 95dad9b351ff44e19590b0c6ec40513e4a1b12bf tree 870f73595982d8d4e38192bf88f000a94137376f parent 4f4ef2967e1e8dce43e9cf7186aeb60a8c33aaf4 author Greg Ungerer Wed, 02 Nov 2005 15:04:37 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: use board defines to distinguish boards Use board name defines to distinguish boards, instead of combinations of more generic defines. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 4f4ef2967e1e8dce43e9cf7186aeb60a8c33aaf4 tree b2a55bdaf01217adeb7fe1f1a8b65f3eae8c3eb8 parent 7354b62cf799d91e69e38603a139a79df48b23d9 author Greg Ungerer Wed, 02 Nov 2005 15:03:09 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire cache support Add support for the cpu cache of the 5208 ColdFire fmaily. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7354b62cf799d91e69e38603a139a79df48b23d9 tree 331b4d315d9ca8aa7163dd3712e6be0b88283f7f parent 7ee2cf5f43e8fefa53cf6f32ba8205cce962a348 author Greg Ungerer Wed, 02 Nov 2005 15:02:01 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire support defines Add support for the internal register map of the 5208 ColdFire fmaily. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7ee2cf5f43e8fefa53cf6f32ba8205cce962a348 tree 7bcc70d97a60f6eede8740513814c114c9bf8e28 parent ed65fa16d54a015ef0855692901a6cf362046622 author Greg Ungerer Wed, 02 Nov 2005 14:59:09 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: add 5208 ColdFire support defines for its internal map Define the register space of the new 5208 ColdFire family (which includes to 5207). It is mostly similar to the other ColdFire parts. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit ed65fa16d54a015ef0855692901a6cf362046622 tree 2cff76a0e9f89d45a2735c084f52f89c1a80f87c parent b30db61b9bdc6bbc43a1b3bc5664092103d2bd82 author Greg Ungerer Wed, 02 Nov 2005 14:56:46 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: use board name defines to differentiate board definitions Use board name define to differentiate boards, not combination of more generic defines. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b30db61b9bdc6bbc43a1b3bc5664092103d2bd82 tree a251e6adf782d1a4980caaf3f5e714ef6b6b7823 parent 4569ff88437759a7dadce2514cc64cb53c95a0bc author Greg Ungerer Wed, 02 Nov 2005 14:53:58 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: updated defconfig Updated m68knommu defconfig. Part of changing the "Motorola" names to their new name "Freescale". Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 4569ff88437759a7dadce2514cc64cb53c95a0bc tree 2e9e7b0be106cca635e03cce47160a350c87756d parent 0c347e47e4675732b36860e5e616272bacf3d355 author Greg Ungerer Wed, 02 Nov 2005 14:52:21 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: remove unmaintained asm-m68knommu/ide.h Remove unmaintained asm-m68knommu/ide.h. It is completely out of date - and there is no underlying support for it. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 0c347e47e4675732b36860e5e616272bacf3d355 tree 3f4e617e37169593e76c6653719f184d141b1559 parent c514b8be7aea4b5d8e16fba3a79b14aec3793f65 author Greg Ungerer Wed, 02 Nov 2005 14:50:04 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: remove auto-generated asm-offsets.h Remove auto-generated file from source base. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit c514b8be7aea4b5d8e16fba3a79b14aec3793f65 tree c3a05cc8becce2404f24416fe486ddbb5f05c68f parent f98e85691bbbca1e72f8bfe9dfee2639e8545790 author Greg Ungerer Wed, 02 Nov 2005 14:42:03 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: change use of extern inline to static inline in headers "extern inline" doesn't make much sense here. Signed-off-by: Adrian Bunk Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit f98e85691bbbca1e72f8bfe9dfee2639e8545790 tree 0b7071e72c6b553dd7ccbed4906954c313ca7b61 parent ec33b309101bb2904e9fe20252f7760e254d05ec parent 97300b5fdfe28c6edae926926f9467a27cf5889c author Linus Torvalds Tue, 01 Nov 2005 21:33:06 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:33:06 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6 commit ec33b309101bb2904e9fe20252f7760e254d05ec tree 13cde551f2ef845801d9e59081258572e1ac222a parent 7f36b1e9582c06d0ddef5f2416c9b17017647d1f parent 913ade51eca369553a8ffbdaf1f426fade84f6ae author Linus Torvalds Tue, 01 Nov 2005 21:32:46 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:32:46 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 7f36b1e9582c06d0ddef5f2416c9b17017647d1f tree f83cbcef623476b9b8a14f7a0cc66eb92552a651 parent 0e016b9fa134d79341cca5e336ccbcea066d5f81 parent 73ee723e4c6d179c2e9496cc4caf160a18d95603 author Linus Torvalds Tue, 01 Nov 2005 21:32:14 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:32:14 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 0e016b9fa134d79341cca5e336ccbcea066d5f81 tree 2f0b00b0dd43faaa385779c3c33b2c98b253863a parent fca324e79fa30d4e64ac15554601a86392999ae6 parent de4ae58fc9f46482f96306301011dfc8b404491f author Linus Torvalds Tue, 01 Nov 2005 21:29:57 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:29:57 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog commit fca324e79fa30d4e64ac15554601a86392999ae6 tree c55ecac090b2ad245fd94d993c99ef00a1e10a89 parent 1d373741976985bc665e75aeb2b3bf7a524e36cc parent 7f28570185f98bfa83f775756ced79e9f22b6d93 author Linus Torvalds Tue, 01 Nov 2005 21:28:53 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:28:53 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6 commit 1d373741976985bc665e75aeb2b3bf7a524e36cc tree 6329906126179b0513a86c748cad2989e5812e57 parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Roland Dreier Fri, 28 Oct 2005 21:50:35 -0700 committer Linus Torvalds Tue, 01 Nov 2005 21:27:22 -0800 [PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit I don't really understand why gcc gives the error it does, but without this patch, when building with CONFIG_HOTPLUG=n, I get errors like: CC arch/x86_64/pci/../../i386/pci/fixup.o arch/x86_64/pci/../../i386/pci/fixup.c: In function `pci_fixup_i450nx': arch/x86_64/pci/../../i386/pci/fixup.c:13: error: pci_fixup_i450nx causes a section type conflict The change is obviously correct: an array should be declared __devinitdata rather that __devinit. Signed-off-by: Roland Dreier Acked-by: Martin J. Bligh Signed-off-by: Linus Torvalds commit fbf1769d08a8b085834dceb228540153ac2cd534 tree d2e072fd44d533ae193eb91176eae01a2e8d4e52 parent f11b7bd88f8b41f0986498ffa11ffff1c3e513ca author Paul Mackerras Wed, 02 Nov 2005 16:07:22 +1100 committer Paul Mackerras Wed, 02 Nov 2005 16:07:22 +1100 powerpc: include lmb.h in arch/powerpc/platforms/powermac/setup.c since it uses the lmb stuff in one place. Signed-off-by: Paul Mackerras commit aaf8a7a2949481482200686c7bd3852e5be2e093 tree 76d4dde7c42cd3a3a9dea94f7f18a0817bb9b644 parent 104dd65fef378773ec0510c788bd4b5ad6ea1121 parent ecb3ca2783d6e54d30dbf70a42fe995c27eeb212 author Stephen Rothwell Wed, 02 Nov 2005 16:06:03 +1100 committer Stephen Rothwell Wed, 02 Nov 2005 16:06:03 +1100 Merge iSeries include file move commit f11b7bd88f8b41f0986498ffa11ffff1c3e513ca tree fbf92752f905946df5bedeffa37a0614bbf2aa86 parent 9933f299d0e9e7b12ed4260669653d04d5e752c7 author David Gibson Tue, 01 Nov 2005 15:30:26 +1100 committer Paul Mackerras Wed, 02 Nov 2005 16:05:53 +1100 [PATCH] powerpc: Move naca.h to platforms/iseries These days, the NACA only exists on iSeries. Therefore, this patch moves naca.h from include/asm-ppc64 to arch/powerpc/platforms/iseries. There was one file including naca.h outside of platforms/iseries - arch/ppc64/kernel/udbg_scc.c. However, that's obviously a hangover from older days. The include is not necessary, so this patch simply removes it. Built and booted on iSeries, built for G5 (which uses udbg_scc.o). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit ecb3ca2783d6e54d30dbf70a42fe995c27eeb212 tree a7ba5728afd866a88b8be2cd21602d01b449a1c0 parent 10e8805716698596f5b6445d76bbb7ed1adb7295 author Kelly Daly Wed, 02 Nov 2005 15:53:01 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:53:01 +1100 modify defines according to _ASM_POWERPC_ISERIES_ Signed-off-by: Kelly Daly commit 9933f299d0e9e7b12ed4260669653d04d5e752c7 tree e7d13c4b66384f90e182d31dc003e860a8e06fe6 parent 1fc8b4ef4e1a0d6f2e16581716a4ae6e16ad3a76 author David Gibson Wed, 02 Nov 2005 15:13:20 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:25:51 +1100 [PATCH] powerpc: Move dart.h asm-ppc64/dart.h is included in exactly one place - arch/powerpc/sysdev/u3_iommu.c. This patch, therefore, moves it into arch/powerpc/sysdev. While we're at it, update the #ifndef/#define protecting the include, and the filename in the comments of u3_iommu.c. Built and booted on pSeries and G5, built for ppc32 powermac. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 1fc8b4ef4e1a0d6f2e16581716a4ae6e16ad3a76 tree 0fb740ab061e7c5ccaac586c5a7b48f15001e99e parent de2d3dbd17e6bb60bde4632ce1c7df063b073934 author David Gibson Wed, 02 Nov 2005 14:48:36 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:25:42 +1100 [PATCH] powerpc: Merge (move) numnodes.h and sparsemem.h The ppc64 versions of numnodes.h and sparsemem.h can be safely moved to asm-powerpc with no changes apart from changing the #define to the standard _ASM_POWERPC_ form. There are no ppc32 versions of these files, because they only have any effect if CONFIG_SPARSEMEM is enabled, which it never can be on ppc32. Built and booted on pSeries (POWER5), built for 32-bit powermac. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 10e8805716698596f5b6445d76bbb7ed1adb7295 tree c728459b3fdf37ed1672c4fc623283f9e5129474 parent b420677870e53b9b76ced91da207431f687eaed1 author Kelly Daly Wed, 02 Nov 2005 15:22:37 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:22:37 +1100 fix incorrect dir Signed-off-by: Kelly Daly commit de2d3dbd17e6bb60bde4632ce1c7df063b073934 tree dfccb1a2717a8a042a87dbade509f894810ea1cd parent 104dd65fef378773ec0510c788bd4b5ad6ea1121 parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Paul Mackerras Wed, 02 Nov 2005 15:20:55 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:20:55 +1100 Merge ../linux-2.6 commit 104dd65fef378773ec0510c788bd4b5ad6ea1121 tree e72d3f0c80d73366f8341f321c9fbb9e7f78ba6f parent b5ca71a58bacb5f1d563a0fe51525b6006618e82 author Paul Mackerras Wed, 02 Nov 2005 15:19:47 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:19:47 +1100 powerpc: clean up bug.h further This simplifies the macros which are different between 32-bit and 64-bit. It also fixes a couple of printks on the bug->line element, which is now a long. Signed-off-by: Paul Mackerras commit b5ca71a58bacb5f1d563a0fe51525b6006618e82 tree 42aeabe866b8727b5e900225c42a8815a2011f22 parent a0005034713c1c2bb5ffe9d1cab829e817fddb73 parent 48fe4871569f019c653efb95b26dda976f84c468 author Paul Mackerras Wed, 02 Nov 2005 15:14:44 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:14:44 +1100 Merge git://oak/home/sfr/kernels/iseries/work commit 19d5bcf370c64b1acb1e928b24baf3b68cec914b tree 84aa38ea3ffa871f610ae914b93fe0dddc9442df parent a749ee86152a0caed3b0c2fbc50a00277e306ec6 author Nathan Scott Wed, 02 Nov 2005 15:14:09 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:14:09 +1100 [XFS] Ensure fsync does not incorrectly return EIO for pages beyond EOF. SGI-PV: 944819 SGI-Modid: xfs-linux:xfs-kern:24236a Signed-off-by: Nathan Scott commit b420677870e53b9b76ced91da207431f687eaed1 tree 1469e4a0dfb537d0a192ffd6ffd74e8faf1e8e78 parent bbc8b628b07e191624a74ce99fe36681cd70af37 author Kelly Daly Wed, 02 Nov 2005 15:13:57 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:13:57 +1100 merge filename and modify references to iseries/vio.h Signed-off-by: Kelly Daly commit a749ee86152a0caed3b0c2fbc50a00277e306ec6 tree 60f4d641b3cb9a28579d42ed6cdd88af2a08e258 parent fdc7ed75c08d507aa64c603b8bb7ef478dcc0000 author Eric Sandeen Wed, 02 Nov 2005 15:13:42 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:13:42 +1100 [XFS] Fix calculation of reserved AGs for inodes in 32-bit inode mode Spotted by Roger Willcocks SGI-PV: 944858 SGI-Modid: xfs-linux:xfs-kern:201213a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit fdc7ed75c08d507aa64c603b8bb7ef478dcc0000 tree 7c27deb1d7d1490e3b7981451ac7bed43a7699c2 parent 2b3b6d07f760c61ec0a5e5174d3511abc044b8ea author Nathan Scott Wed, 02 Nov 2005 15:13:13 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:13:13 +1100 [XFS] Fix boundary conditions when issuing direct IOs from large userspace buffers. SGI-PV: 944820 SGI-Modid: xfs-linux:xfs-kern:24223a Signed-off-by: Nathan Scott commit 2b3b6d07f760c61ec0a5e5174d3511abc044b8ea tree 83533c20d12035504337466e4298300434e350d4 parent cfcbbbd089eadcaa86abb2c0f352e1ab23e16f72 author Nathan Scott Wed, 02 Nov 2005 15:12:28 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:12:28 +1100 [XFS] Remove an unhelpful ifdef, the comment above the routine explains the purpose well enough here. SGI-PV: 944821 SGI-Modid: xfs-linux:xfs-kern:24214a Signed-off-by: Nathan Scott commit cfcbbbd089eadcaa86abb2c0f352e1ab23e16f72 tree 956db132cef0939564d2ce3acbbb8cf581f35be9 parent c11e2c369d06576c9e4a900a975cbfab5e7e3c53 author Nathan Scott Wed, 02 Nov 2005 15:12:04 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:12:04 +1100 [XFS] Remove old, broken nolog-mode code - noone plans to ever fix it. SGI-PV: 944821 SGI-Modid: xfs-linux:xfs-kern:24213a Signed-off-by: Nathan Scott commit c11e2c369d06576c9e4a900a975cbfab5e7e3c53 tree 9b25f3214440d38b4b97807628ce9de5fd5062c1 parent 16259e7d952e26e949cc2c8c68b74f34b293935d author Nathan Scott Wed, 02 Nov 2005 15:11:45 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:11:45 +1100 [XFS] Rework fid encode/decode wrt 64 bit inums interacting with NFS. SGI-PV: 937127 SGI-Modid: xfs-linux:xfs-kern:24201a Signed-off-by: Nathan Scott commit 16259e7d952e26e949cc2c8c68b74f34b293935d tree a016791ecb67761236d32b9915efa9a92f6f3767 parent e2ed81fbbb7c76e0a1b3e2f1b5a7414f4d66a559 author Christoph Hellwig Wed, 02 Nov 2005 15:11:25 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:11:25 +1100 [XFS] Endianess annotations for various allocator data structures SGI-PV: 943272 SGI-Modid: xfs-linux:xfs-kern:201006a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit e2ed81fbbb7c76e0a1b3e2f1b5a7414f4d66a559 tree 0a518842b835672653759083efad4bf6260274b3 parent e94af02a9cd7b6590bec81df9d6ab857d6cf322f author Eric Sandeen Wed, 02 Nov 2005 15:10:55 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:10:55 +1100 [XFS] remove unused code from xfs_iomap_write_direct SGI-PV: 943266 SGI-Modid: xfs-linux:xfs-kern:200996a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit e94af02a9cd7b6590bec81df9d6ab857d6cf322f tree 32b9f0f93eb3f357cae54c4bd6c2578c244acb16 parent 91e11088f88e07f5f42c88608329bc0756c183f9 author Eric Sandeen Wed, 02 Nov 2005 15:10:41 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:10:41 +1100 [XFS] fix old xfs_setattr mis-merge from irix; mostly harmless esp if not using xfs rt SGI-PV: 944632 SGI-Modid: xfs-linux:xfs-kern:200983a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit bbc8b628b07e191624a74ce99fe36681cd70af37 tree d459c190aed494824f7c0dbf03a65a06b06da46d parent 6cbbdabb0163471590bf0a57766e3ea5d920d26e author Kelly Daly Wed, 02 Nov 2005 15:10:38 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:10:38 +1100 merge filename and modify references to iSeries/mf.h Signed-off-by: Kelly Daly commit 91e11088f88e07f5f42c88608329bc0756c183f9 tree e6bc0635069edf81174b7e13f816f051ff02bd26 parent 9af0a70c07a0e7575ebbdb42ca9fb29ffaaf77c9 author Yingping Lu Wed, 02 Nov 2005 15:10:24 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:10:24 +1100 [XFS] Fixing size report discrepancy between ls and du caused by xfs_fsr SGI-PV: 943908 SGI-Modid: xfs-linux:xfs-kern:200874a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 9af0a70c07a0e7575ebbdb42ca9fb29ffaaf77c9 tree 12c2d1126a69cc6ba23e03db957bfa866266fcfd parent 7f14d0a013eeae8f8548e9ac10699465de2adacc author Yingping Lu Wed, 02 Nov 2005 15:09:54 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:09:54 +1100 [XFS] Fixed a bug in reporting extent list for attribute fork running xfs_bmap -a. SGI-PV: 944075 SGI-Modid: xfs-linux:xfs-kern:200860a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 7f14d0a013eeae8f8548e9ac10699465de2adacc tree 5cd9b7b778f48c4d942b901ac6881cc4f6b43152 parent e718eeb4fe397f8add9f789e1fc3b47da4e7275f author Christoph Hellwig Wed, 02 Nov 2005 15:09:35 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:09:35 +1100 [XFS] Simplify pagebuf_rele Remove a conditional that can not be true anymore and simplify the final put path a little SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:200790a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit e718eeb4fe397f8add9f789e1fc3b47da4e7275f tree ac7732a22588c5dd42ba30449dd36ca0e07e7180 parent 6b3f6b5b87f03d1649340d6b3a572206653a2a2b author Nathan Scott Wed, 02 Nov 2005 15:09:22 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:09:22 +1100 [XFS] Rework the final mount options flag bit to make room for more. SGI-PV: 943866 SGI-Modid: xfs-linux:xfs-kern:24030a Signed-off-by: Nathan Scott commit 6b3f6b5b87f03d1649340d6b3a572206653a2a2b tree 7b8791eed46bbfa82f777ca25282c434270fdf50 parent 1f730e3b530fb2fa3159df06405c83f9a6fbbd83 author Nathan Scott Wed, 02 Nov 2005 15:08:25 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:08:25 +1100 [XFS] Rework the dquot hash sizing heuristics. SGI-PV: 943123 SGI-Modid: xfs-linux:xfs-kern:24012a Signed-off-by: Nathan Scott commit a0005034713c1c2bb5ffe9d1cab829e817fddb73 tree b359c2e5ce432255ededd4a21f3f2fd5ce5b137a parent bccfd588423bb610fb1fde987da3ad23af1c46d7 author Paul Mackerras Wed, 02 Nov 2005 15:08:17 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:08:17 +1100 powerpc: exclude powerbook sleep code with CONFIG_PPC64 and CONFIG_PM We were getting powerbook sleep code included, and giving compile errors, with CONFIG_PM=y on a 64-bit build. This excludes that code so the kernel will compile. One day BenH will implement on sleep on the G5... Signed-off-by: Paul Mackerras commit 1f730e3b530fb2fa3159df06405c83f9a6fbbd83 tree 7e75fa3b36ceb4e6096fa0cbfc3fdbf0608f3c0e parent 8a319ae49442eaedc7f932e9a520e464103f3ad0 author Eric Sandeen Wed, 02 Nov 2005 15:08:10 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:08:10 +1100 [XFS] Add ATTR_NOSIZETOK definition for xfs_vnodeops.c change SGI-PV: 942439 SGI-Modid: xfs-linux:xfs-kern:200185a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 6cbbdabb0163471590bf0a57766e3ea5d920d26e tree e51d1931b5cceb70f3505570213bb62608728bc8 parent c43a55ff4e55d1bcfdf0cadfe2f00281e156c436 author Kelly Daly Wed, 02 Nov 2005 15:07:51 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:07:51 +1100 merge filename and modify references to iseries/iseries_io.h Signed-off-by: Kelly Daly commit 8a319ae49442eaedc7f932e9a520e464103f3ad0 tree 7ff0fd08904a12ad1428f33a98d603547c20963d parent 374e2ac33724d1dd432b6c75f9b1adf715c2add7 author Nathan Scott Wed, 02 Nov 2005 15:07:51 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:07:51 +1100 [XFS] Disable attr2 by default, until a more appropriate time to enable it. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:24002a Signed-off-by: Nathan Scott commit 374e2ac33724d1dd432b6c75f9b1adf715c2add7 tree 385de6cc3d0d1b0f32936f33573288a14b0ce2ba parent 4750ddb0ba781006f149fdd87bbe997cb8c07e2e author Eric Sandeen Wed, 02 Nov 2005 15:07:34 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:07:34 +1100 [XFS] Prevent data corruption on extending truncate case from cxfs client SGI-PV: 942439 SGI-Modid: xfs-linux:xfs-kern:200152a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 4750ddb0ba781006f149fdd87bbe997cb8c07e2e tree 292afaacc3041588b53eff492dbe4c82c861957a parent 5bde1ba99c8243617277f37897189c799e398baf author Christoph Hellwig Wed, 02 Nov 2005 15:07:23 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:07:23 +1100 [XFS] Fix sparse warnings in ktrace.[ch] SGI-PV: 943556 SGI-Modid: xfs-linux:xfs-kern:200113a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit bccfd588423bb610fb1fde987da3ad23af1c46d7 tree 79ecbb819425d4680991ddd890bb30d526c77882 parent 19fa17e5b1d9622902c1e9a7b0f8be676f266bbe author Paul Mackerras Wed, 02 Nov 2005 15:06:22 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:06:22 +1100 powerpc: Fix compile error with CONFIG_TAU=y A couple of instances of "i" that needed to be changed to "cpu_id" got missed in the merge, because they were in CONFIG_TAU code. Signed-off-by: Paul Mackerras commit 5bde1ba99c8243617277f37897189c799e398baf tree d41b5f972c3b7f07cd0ea3af7c3f2775208e4f40 parent 9dac13e7ffddf40c7bf1bf8bf4f735af6c3d31ec author Christoph Hellwig Wed, 02 Nov 2005 15:06:18 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:06:18 +1100 [XFS] silence gcc4 warnings. the directory ones are wrong because of information gcc could not find out (that a directory always has a .. entry), the others are outright gcc bugs. SGI-PV: 943511 SGI-Modid: xfs-linux:xfs-kern:200055a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 9dac13e7ffddf40c7bf1bf8bf4f735af6c3d31ec tree d8ed7d7198c33df5fda612baf18600cb62988f77 parent 1149d96ae825a1e1e9d66774175372c003f29caf author Nathan Scott Wed, 02 Nov 2005 15:05:34 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:05:34 +1100 [XFS] Remove unused type, xfs_gap_t. SGI-PV: 907752 SGI-Modid: xfs-linux:xfs-kern:23932a Signed-off-by: Nathan Scott commit 19fa17e5b1d9622902c1e9a7b0f8be676f266bbe tree f8c05c770c6e7019c8e0f342db30b391547dfa73 parent f2cad7a8cdbe66d313059824d61ef1f455031566 author Paul Mackerras Wed, 02 Nov 2005 15:04:26 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:04:26 +1100 powerpc: Use rtas_call not call_rtas in CHRP code The nvram driver imported from the ppc code uses call_rtas, but rtas_call is the name we are using in merged code (since ppc64 used that name, and it uses far more RTAS calls than ppc32). Signed-off-by: Paul Mackerras commit c43a55ff4e55d1bcfdf0cadfe2f00281e156c436 tree b6ca4cd30ab00fa3bb2a6de16b6c76066b0d6ddd parent 59ce20bb341282d5ecf17fd8b0ac093dd6350e5e author Kelly Daly Wed, 02 Nov 2005 15:02:47 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:02:47 +1100 merge filename and modify references to iseries/lpar_map.h Signed-off-by: Kelly Daly commit f2cad7a8cdbe66d313059824d61ef1f455031566 tree 2eeadc87ded22e3581ebcc418e83107911f21a06 parent 2ff2ae7a0d7bfd813325663dc6353d034db7473d author Al Viro Wed, 02 Nov 2005 03:10:43 +0000 committer Paul Mackerras Wed, 02 Nov 2005 15:01:30 +1100 [PATCH] ppc bug.h namespace pollution DATA_TYPE is really not a good thing to put into header that gets included all over the tree... Just make the cast always (long) and get rid of DATA_TYPE altogether. Signed-off-by: Al Viro Signed-off-by: Paul Mackerras commit 1149d96ae825a1e1e9d66774175372c003f29caf tree bfc8b5c03a39283228922e711fd2675bd281db50 parent fa7e7d71e05f12921fefdc23386183578d3ed8c7 author Christoph Hellwig Wed, 02 Nov 2005 15:01:12 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:01:12 +1100 [XFS] endianess annotations and cleanup for the quota code SGI-PV: 943272 SGI-Modid: xfs-linux:xfs-kern:199767a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit fa7e7d71e05f12921fefdc23386183578d3ed8c7 tree d6af37553544dc3d26c8d239b4d1a3e78583a552 parent da087bad810b48dd889a504e6af0a582ba18df0d author Nathan Scott Wed, 02 Nov 2005 15:00:48 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:00:48 +1100 [XFS] Show additional mount options in /proc/mounts, fix up some debug code. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23926a Signed-off-by: Nathan Scott commit da087bad810b48dd889a504e6af0a582ba18df0d tree 2b94f17722bc632dde1ca2ab9805e0f51b57054e parent 0116d9356bfa8607a6e2efb5263100a6c72eabb0 author Nathan Scott Wed, 02 Nov 2005 15:00:20 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:00:20 +1100 [XFS] Fix up a 32/64 local flags variable issue when enabling attr2 mode. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23925a Signed-off-by: Nathan Scott commit 0116d9356bfa8607a6e2efb5263100a6c72eabb0 tree 00fe0af7cb79b15e5790aea4dbac9578a9ee6050 parent 4ce3121f67d482324825e7f17c9f7d8568a9fe24 author Eric Sandeen Wed, 02 Nov 2005 15:00:01 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:00:01 +1100 [XFS] Remove dead code in xfs_iomap_write_direct; save some stack SGI-PV: 943266 SGI-Modid: xfs-linux:xfs-kern:199750a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 4ce3121f67d482324825e7f17c9f7d8568a9fe24 tree 0b6ef1d73262b67d902d82a50895fb633f798bde parent 7b71876980d87c8f237b94d8529ee7fcc05ec2d9 author Nathan Scott Wed, 02 Nov 2005 14:59:41 +1100 committer Nathan Scott Wed, 02 Nov 2005 14:59:41 +1100 [XFS] Update license/copyright notices to match the prefered SGI boilerplate. SGI-PV: 913862 SGI-Modid: xfs-linux:xfs-kern:23917a Signed-off-by: Nathan Scott commit 7b71876980d87c8f237b94d8529ee7fcc05ec2d9 tree 7fd3f1425e8946b3b2c1defeba0b4889f19b6290 parent a844f4510dce23c07f3923cb42138f5fdd745017 author Nathan Scott Wed, 02 Nov 2005 14:58:39 +1100 committer Nathan Scott Wed, 02 Nov 2005 14:58:39 +1100 [XFS] Update license/copyright notices to match the prefered SGI boilerplate. SGI-PV: 913862 SGI-Modid: xfs-linux:xfs-kern:23903a Signed-off-by: Nathan Scott commit 59ce20bb341282d5ecf17fd8b0ac093dd6350e5e tree fbd1db5c36167e4fbadca92ec6a143f80ef9d936 parent 8875ccfb7a6bd69d95a4e889ab36adda06c30d9e author Kelly Daly Wed, 02 Nov 2005 14:49:47 +1100 committer Kelly Daly Wed, 02 Nov 2005 14:49:47 +1100 merge filename and modify references to iseries/it_lp_reg_save.h Signed-off-by: Kelly Daly commit 2ff2ae7a0d7bfd813325663dc6353d034db7473d tree 293cfb483a6dde5dd22cb1711f4abf2542da6182 parent 847aeb6bad0876ff9c250725e905a41c6050157c author David Gibson Wed, 02 Nov 2005 13:58:22 +1100 committer Paul Mackerras Wed, 02 Nov 2005 14:48:18 +1100 [PATCH] powerpc: Merge futex.h This patch merges the ppc32 and ppc64 versions of futex.h, essentially by taking the ppc64 version as the powerpc version. The old ppc32 version did not implement the futex_atomic_op_inuser() callback (it always returned -ENOSYS), so FUTEX_WAKE_OP would not work on ppc32. In fact the ppc64 version of this function is almost suitable for ppc32 as well - the only change needed is to extend ppc_asm.h with a macro expanding to to the right pseudo-op to store a pointer (either ".long" or ".llong"). Built and booted on pSeries. Built for 32-bit powermac. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 847aeb6bad0876ff9c250725e905a41c6050157c tree 5b7cca7a4a6c1c43f3a8399d54a5ef6a4be6b130 parent a39dbcf71eba6e00ac6ae5482f499f9b57f1075e author David Gibson Wed, 02 Nov 2005 11:44:26 +1100 committer Paul Mackerras Wed, 02 Nov 2005 14:48:05 +1100 [PATCH] powerpc: Fix merged ipcbuf.h Oops, when merging ipcbuf.h, I forgot that 'u64' can't be used in user-visible headers. This patch corrects the problem, replacing the unused fields with an array of four __u32s. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit a844f4510dce23c07f3923cb42138f5fdd745017 tree ffb37e9e60f02d5e92bd69bb53b568e1c991c17f parent 61c1e689fbde7cb50a76262bba190715d86beab6 author Nathan Scott Wed, 02 Nov 2005 14:38:42 +1100 committer Nathan Scott Wed, 02 Nov 2005 14:38:42 +1100 [XFS] Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot. SGI-PV: 943122 SGI-Modid: xfs-linux:xfs-kern:23901a Signed-off-by: Nathan Scott commit 8875ccfb7a6bd69d95a4e889ab36adda06c30d9e tree cba3c9d519dc06c986b3b94217a35252dd687703 parent f218aab5cf74672a368933965f5bb612dac3c349 author Kelly Daly Wed, 02 Nov 2005 14:13:34 +1100 committer Kelly Daly Wed, 02 Nov 2005 14:13:34 +1100 merge filename and modify references to iseries/it_lp_queue.h Signed-off-by: Kelly Daly commit f218aab5cf74672a368933965f5bb612dac3c349 tree e112cca36395c7dbe137fb321f7c3175174e7ca1 parent 7b487bb801b4bd790aa4bf7c157889f9d05e239c author Kelly Daly Wed, 02 Nov 2005 13:51:41 +1100 committer Kelly Daly Wed, 02 Nov 2005 13:51:41 +1100 merge filename and modify references to iseries/it_lp_naca.h Signed-off-by: Kelly Daly commit 7b487bb801b4bd790aa4bf7c157889f9d05e239c tree 0ebea34878e1af7b0d465e43d1d3ea48e69b6c3a parent 1ec65d76f3e5d4863b4bf93dfd2bff37f8bf4374 author Kelly Daly Wed, 02 Nov 2005 13:48:25 +1100 committer Kelly Daly Wed, 02 Nov 2005 13:48:25 +1100 merge filename and modify references to iseries/it_exp_vpd_panel.h Signed-off-by: Kelly Daly commit 1ec65d76f3e5d4863b4bf93dfd2bff37f8bf4374 tree c3c31614e923a95413f6a89a1a451c3a1db5cf13 parent e45423eac2e191a6cfdacdf61cb931976d73cc0b author Kelly Daly Wed, 02 Nov 2005 13:46:07 +1100 committer Kelly Daly Wed, 02 Nov 2005 13:46:07 +1100 merge filename and modify references to iseries/hv_types.h Signed-off-by: Kelly Daly commit e45423eac2e191a6cfdacdf61cb931976d73cc0b tree 63f750d5be8ee2252c83edb109bd7bdbaaa867ba parent 15b17189489f6d759fa2d61e7b6c87c55eeffb2c author Kelly Daly Wed, 02 Nov 2005 12:08:31 +1100 committer Kelly Daly Wed, 02 Nov 2005 12:08:31 +1100 merge filename and modify references to iseries/hv_lp_event.h Signed-off-by: Kelly Daly commit 15b17189489f6d759fa2d61e7b6c87c55eeffb2c tree 9e91b666f440103ee3849c1a4527567c0672e54e parent 8021b8a77690d13ffb93eeadb6728e924d700bd5 author Kelly Daly Wed, 02 Nov 2005 11:55:28 +1100 committer Kelly Daly Wed, 02 Nov 2005 11:55:28 +1100 merge filename and modify reference to iseries/hv_lp_config.h Signed-off-by: Kelly Daly commit 61c1e689fbde7cb50a76262bba190715d86beab6 tree 9e806570f3e98c852638d2eeb502291df1e674e6 parent fc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441 author Christoph Hellwig Wed, 02 Nov 2005 11:44:57 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:44:57 +1100 [XFS] remove unused struct xfs_ail_ticket SGI-PV: 919278 SGI-Modid: xfs-linux:xfs-kern:199498a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit fc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441 tree e49b7a364bf6a6fc18e650b3a6e10b516c1ba547 parent 4aeb664c2561c0bae18d7a3a141d7d2acf126da1 author Nathan Scott Wed, 02 Nov 2005 11:44:33 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:44:33 +1100 [XFS] Track external log/realtime device names for correct reporting in /proc/mounts. SGI-PV: 942984 SGI-Modid: xfs-linux:xfs-kern:23862a Signed-off-by: Nathan Scott commit 4aeb664c2561c0bae18d7a3a141d7d2acf126da1 tree 832e72237a69b76bf4c965d7383cdbb9fc3f8939 parent 0fdfb3757f27b6d802f85e962d9b0f875df17113 author Nathan Scott Wed, 02 Nov 2005 11:43:58 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:43:58 +1100 [XFS] Improve buffered read throughput by removing unnecessary timer calls that showed in ´kernel profiles. SGI-PV: 925163 SGI-Modid: xfs-linux:xfs-kern:23861a Signed-off-by: Nathan Scott commit 0fdfb3757f27b6d802f85e962d9b0f875df17113 tree fe29866638f79c425d4c99dbae20884440ca0f03 parent 380b5dc0e59340e7ed36dcc95dd1022aca75bbe2 author Nathan Scott Wed, 02 Nov 2005 11:43:42 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:43:42 +1100 [XFS] Remove a null CELL macro and its one caller, not useful to anyone. SGI-PV: 942986 SGI-Modid: xfs-linux:xfs-kern:23860a Signed-off-by: Nathan Scott commit 380b5dc0e59340e7ed36dcc95dd1022aca75bbe2 tree 78e298c775b637e7dc0029bc5ecfc28db9256038 parent 80cce77980c645b1c129d0e90159c1b1bb78f6a6 author Nathan Scott Wed, 02 Nov 2005 11:43:18 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:43:18 +1100 [XFS] Fix up an internal sort function name collision issue. SGI-PV: 942986 SGI-Modid: xfs-linux:xfs-kern:23859a Signed-off-by: Nathan Scott commit 80cce77980c645b1c129d0e90159c1b1bb78f6a6 tree 1c7174a77f4b1fa6dee5b2384e137a62fa29cf1c parent f74dee42765db1c2ed584de7ac66aa619c40c79e author Nathan Scott Wed, 02 Nov 2005 11:43:04 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:43:04 +1100 [XFS] Make some extended attributes routines take const parameters, for the FreeBSD porters. SGI-PV: 942906 SGI-Modid: xfs-linux:xfs-kern:23845a Signed-off-by: Nathan Scott commit 8021b8a77690d13ffb93eeadb6728e924d700bd5 tree 63934777a2b2e6090c23c8359f69ecba0f6d0752 parent 50592f5d2ae7b95b239ea41d76ad81fee046be86 author Kelly Daly Wed, 02 Nov 2005 11:41:12 +1100 committer Kelly Daly Wed, 02 Nov 2005 11:41:12 +1100 merge filename and modify references to iseries/hv_call_xm.h Signed-off-by: Kelly Daly commit 50592f5d2ae7b95b239ea41d76ad81fee046be86 tree be90ec454e8e95ebc3541751c1dee389bd5ca739 parent c0a8d05c8a5db835b20a3465b1be1cfe4752a13c author Kelly Daly Wed, 02 Nov 2005 11:37:22 +1100 committer Kelly Daly Wed, 02 Nov 2005 11:37:22 +1100 merge filename and modify references to iseries/hv_call_sc.h Signed-off-by: Kelly Daly commit c0a8d05c8a5db835b20a3465b1be1cfe4752a13c tree 41a302bb71d162df6dfdd50b1535bbe1677a6244 parent 1da44037883c0405154d53fe76da27e078456664 author Kelly Daly Wed, 02 Nov 2005 11:11:11 +1100 committer Kelly Daly Wed, 02 Nov 2005 11:11:11 +1100 merge filename and modify references to iseries/hv_call_event.h Signed-off-by: Kelly Daly commit f74dee42765db1c2ed584de7ac66aa619c40c79e tree d8ea6ab00eb94df9e4900c3a26b2e0199070faa2 parent af4e34a5274e92c576fc0c3a4b27ae7d4a06096a author Nathan Scott Wed, 02 Nov 2005 10:35:56 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:35:56 +1100 [XFS] Ondisk format extension for extended attributes (attr2). Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward. Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers. It is self enabling, but can be forced on/off via the attr2/noattr2 mount options. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23837a Signed-off-by: Nathan Scott commit af4e34a5274e92c576fc0c3a4b27ae7d4a06096a tree 9915e17f6de8196b681c8bccaa94297306501d99 parent d8cc890d4095f1eaa7f411a85051015b21262b12 author Nathan Scott Wed, 02 Nov 2005 10:35:46 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:35:46 +1100 [XFS] Ondisk format extension for extended attributes (attr2). Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward. Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers. It is self enabling, but can be forced on/off via the attr2/noattr2 mount options. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23836a Signed-off-by: Nathan Scott commit d8cc890d4095f1eaa7f411a85051015b21262b12 tree e13bec06a94a8dc5552dab733e90ef4f4d41fb8b parent aa82daa06198b27963fe3d6ee8035855b29f6524 author Nathan Scott Wed, 02 Nov 2005 10:34:53 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:34:53 +1100 [XFS] Ondisk format extension for extended attributes (attr2). Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward. Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers. It is self enabling, but can be forced on/off via the attr2/noattr2 mount options. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23835a Signed-off-by: Nathan Scott commit aa82daa06198b27963fe3d6ee8035855b29f6524 tree 7c618d365997e8a9a326739f0579b3cc1272e62e parent e8c8b3a79d85c22d3665b97dde843dc4d8d7ae37 author Nathan Scott Wed, 02 Nov 2005 10:33:33 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:33:33 +1100 [XFS] Move some code around to prepare for the upcoming extended attributes format change (attr2). SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23833a Signed-off-by: Nathan Scott commit e8c8b3a79d85c22d3665b97dde843dc4d8d7ae37 tree a82b58ebc5c40474cdc53c91bd135b97034de565 parent ee34807a65aa0c5911dc27682863afca780a003e author David Chinner Wed, 02 Nov 2005 10:33:05 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:33:05 +1100 [XFS] Introduce two new mount options (nolargeio/largeio) to allow filesystems to expose the filesystem stripe width in stat(2) rather than the page cache size. This allows applications requiring high bandwidth to easily determine the optimum I/O size for the underlying filesystem. The default is to report the page cache size (i.e. "nolargeio"). SGI-PV: 942818 SGI-Modid: xfs-linux:xfs-kern:23830a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit ee34807a65aa0c5911dc27682863afca780a003e tree 6111a529078e9e12ce5102f7c736f649fb3ec498 parent c310ab6c071a688e5291028972d1ae8314f67536 author Nathan Scott Wed, 02 Nov 2005 10:32:38 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:32:38 +1100 [XFS] Provide a mechiansm for flushing delalloc before quota reporting. SGI-PV: 942815 SGI-Modid: xfs-linux:xfs-kern:23829a Signed-off-by: Nathan Scott commit c310ab6c071a688e5291028972d1ae8314f67536 tree 7ee30ba83f67139e5353ae45b8e18d9097198009 parent 30dab21abbca37636091a6d02e94dbcd6e07b530 author Nathan Scott Wed, 02 Nov 2005 10:31:41 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:31:41 +1100 [XFS] Fix signedness issues in dquot ID handling, allowing uids/gids above MAXINT SGI-PV: 942528 SGI-Modid: xfs-linux:xfs-kern:23828a Signed-off-by: Nathan Scott commit 30dab21abbca37636091a6d02e94dbcd6e07b530 tree 30239b15ba51a6dac2db5f87136585ec70063376 parent c86e711ceb4ad03c98a7aa29bcab8613e9f57788 author Nathan Scott Wed, 02 Nov 2005 10:31:13 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:31:13 +1100 [XFS] Add a comment about the use of XFS_SIZE_TOKEN_WANT. SGI-PV: 936331 SGI-Modid: xfs-linux:xfs-kern:23827a Signed-off-by: Nathan Scott commit c86e711ceb4ad03c98a7aa29bcab8613e9f57788 tree b4f1328bfe4b3559b841faa1b461f72daf7e609f parent d0cfb37305baef74903872cbb799174d0d353fd9 author Christoph Hellwig Wed, 02 Nov 2005 10:29:39 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:29:39 +1100 [XFS] only mark buffers done when all pages are uptodate in addition replace PBF_NONE with an inverted PBF_DONE, so it's like all the other flags. SGI-PV: 942609 SGI-Modid: xfs-linux:xfs-kern:199136a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d0cfb37305baef74903872cbb799174d0d353fd9 tree 2abe6e4df7eea4c103d2e10744322718dc5ba5ed parent f538d4da8d521746ca5ebf8c1a8105eb49bfb45e author Eric Sandeen Wed, 02 Nov 2005 10:29:04 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:29:04 +1100 [XFS] Stack footprint reduction for xfs_swapext (used from xfs_fsr) SGI-PV: 913332 SGI-Modid: xfs-linux:xfs-kern:198926a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit f538d4da8d521746ca5ebf8c1a8105eb49bfb45e tree 5516e1d2df01e412709284e379085b348122c501 parent 739cafd316235fc55463849e80710f2ca308b9ae author Christoph Hellwig Wed, 02 Nov 2005 10:26:59 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:26:59 +1100 [XFS] write barrier support Issue all log sync operations as ordered writes. In addition flush the disk cache on fsync if the sync cached operation didn't sync the log to disk (this requires some additional bookeping in the transaction and log code). If the device doesn't claim to support barriers, the filesystem has an extern log volume or the trial superblock write with barriers enabled failed we disable barriers and print a warning. We should probably fail the mount completely, but that could lead to nasty boot failures for the root filesystem. Not enabled by default yet, needs more destructive testing first. SGI-PV: 912426 SGI-Modid: xfs-linux:xfs-kern:198723a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 739cafd316235fc55463849e80710f2ca308b9ae tree dfbe31cb01f12309b91b0142566f1d94931d6864 parent da1650a5d6026df1bde414173c40bbe09305e6e6 author Christoph Hellwig Wed, 02 Nov 2005 10:25:51 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:25:51 +1100 [XFS] fix PBF_NONE handling SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:198669a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit da1650a5d6026df1bde414173c40bbe09305e6e6 tree 09862bd032a5bacf24ba22b1938b529ceef917d7 parent 88741a95af0ecf3a745051bdc1d16897d3990cec author Christoph Hellwig Wed, 02 Nov 2005 10:21:35 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:21:35 +1100 [XFS] Add format checking to cmn_err and icmn_err SGI-PV: 942243 SGI-Modid: xfs-linux:xfs-kern:198658a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 88741a95af0ecf3a745051bdc1d16897d3990cec tree e5a77a0b6e71629e299e161c39294760cc07e6a7 parent 04d8b2841630b793919cc1ece9e77ac4de338c9e author Christoph Hellwig Wed, 02 Nov 2005 10:21:14 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:21:14 +1100 [XFS] remove unused pagebuf flags SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:198656a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 04d8b2841630b793919cc1ece9e77ac4de338c9e tree 89bee123d779690947eb468e2d68154000760355 parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Christoph Hellwig Wed, 02 Nov 2005 10:15:05 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:15:05 +1100 [XFS] Make sure the threads and shaker in xfs_buf are de-initialized in reverse startup order SGI-PV: 942063 SGI-Modid: xfs-linux:xfs-kern:198651a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 73ee723e4c6d179c2e9496cc4caf160a18d95603 tree e88c3a52f664d8a01d63411a1e7f69fe0c4ce702 parent fbd9a6d7a927b2059d1d65441384ffb095f68e58 author Deepak Saxena Tue, 01 Nov 2005 22:32:12 +0000 committer Russell King Tue, 01 Nov 2005 22:32:12 +0000 [ARM] 3081/1: Remove GTWX5715 from ixp4xx_defconfig Patch from Deepak Saxena CONFIG_MACH_GTWX5715 hardcodes the machine type in head-xscale.S so we can no longer boot on any other machine types. The proper fix would be to remove the hardcoding, but that machine is an off-the-shelf system and most users won't have access to the bootloader. :( Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit fbd9a6d7a927b2059d1d65441384ffb095f68e58 tree 07e89086834221152aec688feb9756b6d5ce5c35 parent d01e8897fcf597f62d84f626fdced8d94c70deaf author Dan Williams Tue, 01 Nov 2005 22:31:12 +0000 committer Russell King Tue, 01 Nov 2005 22:31:12 +0000 [ARM] 3079/1: Fix typo in i2c-iop3xx.c (invalid pointer passed to release_mem_region) Patch from Dan Williams * If request_irq fails then a call to release_mem_region will be made with an invalid pointer. * Two formatting fixes Signed-off-by: Dan Williams Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7b28b0d000eeb62d77add636f5d6eb0da04e48aa tree 184c63c9358b790f4dd3288ea24b8d0c7973247f parent 3bc12e75b23c0499cc2c0873a5f77494be173761 author Sean Hefty Tue, 01 Nov 2005 13:18:54 -0800 committer Roland Dreier Tue, 01 Nov 2005 13:18:54 -0800 [IB] ucm: 32/64 compatibility fixes Fix structure layouts to ensure same size on 32-bit and 64-bit architectures. This permits 32-bit userspace apps on a 64-bit kernel. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit d01e8897fcf597f62d84f626fdced8d94c70deaf tree 72e25f7df9b10aec46ccca594414f91eef092860 parent fadab0943d1c5b652a66858bb99b204fedaad96b author Lennert Buytenhek Tue, 01 Nov 2005 19:53:50 +0000 committer Russell King Tue, 01 Nov 2005 19:53:50 +0000 [ARM] 3052/1: add ixp2000 microcode loader Patch from Lennert Buytenhek This patch adds a microcode loader for the ixp2000 architecture. The ixp2000 is an xscale-based CPU with a number of additional small CPUs ('microengines') on die that can be programmed to do various things. Depending on the ixp2000 model, there are between 2 and 16 microengines. This code provides an API that allows configuring the microengines, loading code into them, and starting and stopping them and reading out a number of status registers, and is used by the microengine network driver that was recently announced to netdev. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit fadab0943d1c5b652a66858bb99b204fedaad96b tree ae8f83cd0b6c97ee2120688f3e4f4cfd431b0c3e parent 7549423000fc38d39a8b81c601dea0332c113a42 author Nicolas Pitre Tue, 01 Nov 2005 19:52:24 +0000 committer Russell King Tue, 01 Nov 2005 19:52:24 +0000 [ARM] 2948/1: new preemption safe copy_{to|from}_user implementation Patch from Nicolas Pitre This patch provides a preemption safe implementation of copy_to_user and copy_from_user based on the copy template also used for memcpy. It is enabled unconditionally when CONFIG_PREEMPT=y. Otherwise if the configured architecture is not ARMv3 then it is enabled as well as it gives better performances at least on StrongARM and XScale cores. If ARMv3 is not too affected or if it doesn't matter too much then uaccess.S could be removed altogether. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 7549423000fc38d39a8b81c601dea0332c113a42 tree 6b76fe2867b9634a1d1dbaf682c69ccad4e9f71b parent a0c6fdb987860e6c7f9b8e57439ca2703f462578 author Nicolas Pitre Tue, 01 Nov 2005 19:52:23 +0000 committer Russell King Tue, 01 Nov 2005 19:52:23 +0000 [ARM] 2947/1: copy template with new memcpy/memmove Patch from Nicolas Pitre This patch provides a new implementation for optimized memory copy functions on ARM. It is made of two levels: a template that consists of the core copy code and separate files that define macros to be used with the core code depending on the type of copy needed. This allows for best performances while sharing the same core for implementing memcpy(), copy_from_user() and copy_to_user() for instance. Two reasons for this work: 1) the current copy_to_user/copy_from_user implementation assumes no task switch will ever occur in the middle of each copied page making it completely unsafe with CONFIG_PREEMPT=y. 2) current copy implementations are measurably suboptimal and optimizing different implementations separately is a pain and more opportunities for bugs. The reason for (1) is the fact that copy inside user pages are performed with the ldm instruction which has no mean for testing user protections and could possibly race with process preemption bypassing the COW mechanism for example. This is a longstanding issue that we said ought to be fixed for about two years now. The solution is to substitute those ldm insns with a series of ldrt or strt insns to enforce user memory protection. At least on StrongARM and XScale cores the ldm is not faster than the equivalent ldr/str insns with a warm i-cache so there is no measurable performance degradation with that change. The fact that the copy code is a template makes it pretty easy to reuse the same core code as for memcpy and benefit from the same performance optimizations. Now (2) is best demonstrated with actual throughput measurements. First, here is a summary of memcopy tests performed on a StrongARM core: PTR alignment buffer size kernel version this version ------------------------------------------------------------ aligned 32 59.73 107.43 unaligned 32 61.31 74.72 aligned 100 132.47 136.15 unaligned 100 103.84 123.76 aligned 4096 130.67 130.80 unaligned 4096 130.68 130.64 aligned 1048576 68.03 68.18 unaligned 1048576 68.03 68.18 The buffer size is in bytes and the measured speed in MB/s. The copy was performed repeatedly with given buffer and throughput averaged over 3 seconds. Here we can see that the current kernel version has a higher entry cost that shows up with small buffers. As buffer size grows both implementation converge to the same throughput. Now here's the exact same test performed on an XScale core (PXA255): PTR alignment buffer size kernel version this version ------------------------------------------------------------ aligned 32 46.99 77.58 unaligned 32 53.61 59.59 aligned 100 107.19 136.59 unaligned 100 83.61 97.58 aligned 4096 129.13 129.98 unaligned 4096 128.36 128.53 aligned 1048576 53.76 59.41 unaligned 1048576 33.67 56.96 Again we can see the entry setup cost being higher for the current kernel before getting to the main copy loop. Then throughput results converge as long as the buffer remains in the cache. Then the 1MB case shows more differences probably due to better pld placement and/or less instruction interlocks in this proposed implementation. Disclaimer: The PXA system was running with slower clocks than the StrongARM system so trying to infer any conclusion by comparing those separate sets of results side by side would be completely inappropriate. So... What this patch does is to replace both memcpy and memmove with an implementation based on the provided copy code template. The memmove code is kept separate since it is used only if the memory areas involved do overlap in which case the code is a transposition of the template but with the copy occurring in the opposite direction (trying to fit that mode into the template turned it into a mess not worth it for memmove alone). And obviously both memcpy and memmove were tested with all kinds of pointer alignments and buffer sizes to exercise all code paths for correctness. The next patch will provide the now trivial replacement implementation copy_to_user and copy_from_user. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit a0c6fdb987860e6c7f9b8e57439ca2703f462578 tree 4709f4675f3e0fb19016c1245c467408dde36206 parent 85eb226c446a017996859093cbfb5d3ae2c2117a author Nicolas Pitre Tue, 01 Nov 2005 19:52:22 +0000 committer Russell King Tue, 01 Nov 2005 19:52:22 +0000 [ARM] 2946/2: split --arch_clear_user() out of lib/uaccess.S Patch from Nicolas Pitre Required for future enhancement patches. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 85eb226c446a017996859093cbfb5d3ae2c2117a tree 383325e8da1f589ade1236017df896fb06bfab14 parent 4ebc3364de368c92138e740f6c9050c93a2f0c3c author David Brownell Tue, 01 Nov 2005 19:44:30 +0000 committer Russell King Tue, 01 Nov 2005 19:44:30 +0000 [ARM] 3078/1: lubbock platform updates, mostly mmc detection Patch from David Brownell Lubbock updates: * Provide an address for the SMC91x chip that doesn't generate a boot-time warning (matching the EEPROM). * Update MMC support to (a) detect card insert/remove, and (b) report the readonly switch setting for SD cards. Previously, MMC/SD cards had to be present at boot time else they couldn't be detected. Signed-off-by: David Brownell Signed-off-by: Russell King commit 4ebc3364de368c92138e740f6c9050c93a2f0c3c tree 0e770a0776a8a00bf241983858e2684502c6e349 parent 6ff8f59f13974ab54086c5c86898647642bc77dd author Ben Dooks Tue, 01 Nov 2005 19:44:30 +0000 committer Russell King Tue, 01 Nov 2005 19:44:30 +0000 [ARM] 3077/1: S3C2410 - regs-iis.h missing mask for IISMOD_FS Patch from Ben Dooks Add definition for S3C2410_IISMOD_FS_MASK Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 6ff8f59f13974ab54086c5c86898647642bc77dd tree 09923ec2c046bd5c9372b577783861612c55a372 parent e838ffc2e5c9afa81451cf21dcd3f3246e2adcd2 author Ben Dooks Tue, 01 Nov 2005 19:44:29 +0000 committer Russell King Tue, 01 Nov 2005 19:44:29 +0000 [ARM] 3076/1: S3C2410 - updated documentation for platfrom data init Patch from Ben Dooks Update the Documentation/arm/Samsung-S3C24XX to add example platform data initialisation, and add the linux-arm mailing list URL. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit e838ffc2e5c9afa81451cf21dcd3f3246e2adcd2 tree 7b4c3be7ece370d717b31de7356b2820cf2d4706 parent fa87cedd4e89ea29bda622d5cd6dbf19a915fc40 author Ben Dooks Tue, 01 Nov 2005 19:44:28 +0000 committer Russell King Tue, 01 Nov 2005 19:44:28 +0000 [ARM] 3071/1: RX3715 - add lcd/fb platform setup Patch from Ben Dooks Platform data for the LCD/framebuffer driver for the RX3715 LCD panel. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit fa87cedd4e89ea29bda622d5cd6dbf19a915fc40 tree f128a4bd6e376602e10204a3f9b2a5e906aaa907 parent e9b72e43d96a1ea2be0f513c78f16743a835d252 author Lennert Buytenhek Tue, 01 Nov 2005 19:44:27 +0000 committer Russell King Tue, 01 Nov 2005 19:44:27 +0000 [ARM] 3065/1: ixp2000 typo and whitespace fixes Patch from Lennert Buytenhek Misc ixp2000 typo and whitespace fixes. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit e9b72e43d96a1ea2be0f513c78f16743a835d252 tree ed3a2cb9a84f56754ac1e4469c3a58f963b86237 parent 69a857610ad212ce4bcd8e6b13f25408691403de author Lennert Buytenhek Tue, 01 Nov 2005 19:44:26 +0000 committer Russell King Tue, 01 Nov 2005 19:44:26 +0000 [ARM] 3064/1: start using ixp2000_reg_wrb Patch from Lennert Buytenhek Switch the users of ixp2000_reg_write that depend on writes being flushed out of the write buffer by the time that function returns over to ixp2000_reg_wrb. When using XCB=101, writes to the same functional unit are still guaranteed to complete in order, so we only need to protect against: - reordering of writes to different functional units - masking an interrupt and then reenabling the IRQ bit in CPSR Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 69a857610ad212ce4bcd8e6b13f25408691403de tree 52f7eb9eeb3dbf7e82b8b86b30d6056ee5109c7e parent a6f1063b388cfd48a598cc7971eae1f83ebc8ba4 author Lennert Buytenhek Tue, 01 Nov 2005 19:44:25 +0000 committer Russell King Tue, 01 Nov 2005 19:44:25 +0000 [ARM] 3063/1: allow slave ixp2000 cpu reset Patch from Lennert Buytenhek On the ixdp2x00, the slave CPU is currently not allowed to reset itself for fear that it will do something 'funky' on the PCI bus. This fear is ungrounded -- the slave CPU is wired up such that a CPU reset will not cause a PCI bus reset to be done. This patch changes arch_reset() so that the slave CPU also executes the reset sequence, allowing it to reboot itself using /sbin/reboot. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit a6f1063b388cfd48a598cc7971eae1f83ebc8ba4 tree 229a5d899fef3c181b1624e0c73572b894cac9de parent 37bb30e86bc2e48d9affb25f6ce9eb3d8e65b2ac author Lennert Buytenhek Tue, 01 Nov 2005 19:44:24 +0000 committer Russell King Tue, 01 Nov 2005 19:44:24 +0000 [ARM] 3062/1: map in various enp2611 peripherals for the ixp2000 netdev driver Patch from Lennert Buytenhek The enp2611 version of the ixp2000 netdev driver needs to be able to access a number of on-board peripherals. ioremap() is not suitable for this, as that will cause XCB=000 mappings to be done, which will make the cpu susceptible to crashing on ixp2400 erratum #66. Properly aligned iotable mappings with MT_IXP2000_DEVICE will cause section mappings with XCB=101 to be done, which is safe. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit de4ae58fc9f46482f96306301011dfc8b404491f tree b7b86327638d0273c1874c9a08edef2b2414accb parent b3faed6373bfd4468384880a39d4014ead7159f7 author Wim Van Sebroeck Sun, 23 Oct 2005 15:21:44 +0200 committer Wim Van Sebroeck Tue, 01 Nov 2005 19:31:59 +0100 [WATCHDOG] adds device_driver .owner field Initialise the .owner field of the device driver with the module that owns it, for easier tracking of device driver ownership. (probably also better for sysfs...) Signed-off-by: Wim Van Sebroeck commit b3faed6373bfd4468384880a39d4014ead7159f7 tree f2260ddfa608558bed4dcaa192ef3a4f584abe39 parent d05101738a4e23fa6f22460150a6ef4775d6473f author Wim Van Sebroeck Sat, 22 Oct 2005 16:27:19 +0200 committer Wim Van Sebroeck Tue, 01 Nov 2005 19:31:48 +0100 [WATCHDOG] pcwd_pci.c update comments update copyright + update bells and whistles driver for v2.6 Signed-off-by: Wim Van Sebroeck commit d05101738a4e23fa6f22460150a6ef4775d6473f tree 2fdddabcef4584e5c5c0de1054cc1c8980fd3856 parent 30da9404bcc028385867acf689a615495642bc0f author Pozsar Balazs Fri, 21 Oct 2005 10:52:01 +0100 committer Wim Van Sebroeck Tue, 01 Nov 2005 19:31:37 +0100 [WATCHDOG] w83627hf_wdt trivial typo The most trivial typo fix in the world. Signed-off-by: Pozsar Balazs Signed-off-by: Pádraig Brady Signed-off-by: Wim Van Sebroeck commit 30da9404bcc028385867acf689a615495642bc0f tree de6b3455604c6017b2509e12f7a8f523313213ca parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Ben Dooks Mon, 10 Oct 2005 01:28:30 +0100 committer Wim Van Sebroeck Tue, 01 Nov 2005 19:31:19 +0100 [WATCHDOG] s3c2410 wdt - add .owner field Initialise the .owner field of the device driver with the module that owns it, for easier tracking of device driver ownership. Signed-off-by: Ben Dooks Signed-off-by: Wim Van Sebroeck commit 7f28570185f98bfa83f775756ced79e9f22b6d93 tree d193adb5d9597ff002ab1aa3a4d966458098b44a parent ef0eaa13362041f531f951b89362bfbc177e2bc0 author Steve French Tue, 01 Nov 2005 10:22:55 -0800 committer Steve French Tue, 01 Nov 2005 10:22:55 -0800 Export __pagevec_release and pagevec_lookup_tag These are needed to implement cifs_writepages Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit ef0eaa13362041f531f951b89362bfbc177e2bc0 tree e2d43099698aa238f9d108c67451871b0d4073f9 parent 53b2ec5518aa2623e8c0cb36f1c304a797988a46 parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Steve French Tue, 01 Nov 2005 09:02:10 -0800 committer Steve French Tue, 01 Nov 2005 09:02:10 -0800 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 tree 0e20a92f62de2ad4e2aa56006f0e70864f6085a9 parent 541ab4af11d5b41b95cd633e9b1d96cea9947ac2 parent 94b166a7cbc232df279e1f7d5a8acfb6b8d02d59 author Linus Torvalds Tue, 01 Nov 2005 08:30:05 -0800 committer Linus Torvalds Tue, 01 Nov 2005 08:30:05 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 94b166a7cbc232df279e1f7d5a8acfb6b8d02d59 tree 5cf9a982d3ffe9fde7a1ac679eb994499c09f7f2 parent 3aebf25bdcf030f3e4afeb9340486d5b46deb46e parent 1e4c85f97fe26fbd70da12148b3992c0e00361fd author Anton Altaparmakov Tue, 01 Nov 2005 15:51:32 +0000 committer Anton Altaparmakov Tue, 01 Nov 2005 15:51:32 +0000 Merge branch 'master' of /home/src/linux-2.6/ commit 3aebf25bdcf030f3e4afeb9340486d5b46deb46e tree d4a0d4e1f0aff3a808846807f3b4d2fd9fa35667 parent 1f04c0a24b2f3cfe89c802a24396263623e3512d author Anton Altaparmakov Tue, 01 Nov 2005 15:49:31 +0000 committer Anton Altaparmakov Tue, 01 Nov 2005 15:49:31 +0000 NTFS: Fix a stupid bug causing writes to non-initialized pages to segfault. Signed-off-by: Anton Altaparmakov commit a39dbcf71eba6e00ac6ae5482f499f9b57f1075e tree f54300e1f8caa39de5bd0895e4cb6026f522aefa parent 89003ebf9e6a9ccb2327caf72955edd86b274c14 author Paul Mackerras Tue, 01 Nov 2005 22:37:47 +1100 committer Paul Mackerras Tue, 01 Nov 2005 22:37:47 +1100 powerpc: Fix pseries (64-bit) build A recent commit that removed rtas-fw.h and moved its contents to include/asm-powerpc/rtas.h forgot to also remove the inclusion of it in arch/powerpc/platforms/pseries/setup.c. Signed-off-by: Paul Mackerras commit 89003ebf9e6a9ccb2327caf72955edd86b274c14 tree b4e7ff84b1b0aa0adccfac237981e45ea371553a parent a0e60b2033b30a6bb8479629001cf98e58e4079a author Paul Mackerras Tue, 01 Nov 2005 21:54:38 +1100 committer Paul Mackerras Tue, 01 Nov 2005 21:54:38 +1100 powerpc: Fix BUG/WARN macros for 64-bit The bug_entry struct had an int in the middle of pointers and unsigned longs, and the inline asm that generated the bug table entries didn't insert the necessary padding, so the fields following it didn't get initialized properly and an oops resulted. This changes the int field (the line number) to a long so that all the fields are the same size and no padding is required. Signed-off-by: Paul Mackerras commit a0e60b2033b30a6bb8479629001cf98e58e4079a tree 6386eeca340a25c4ae1876f2f9663f94628c8cc3 parent 031ef0a72aa8f7ee63ae9f307c1bcff92b3ccc2c author David Gibson Tue, 01 Nov 2005 17:28:10 +1100 committer Paul Mackerras Tue, 01 Nov 2005 21:49:02 +1100 [PATCH] powerpc: Merge bitops.h Here's a revised version. This re-introduces the set_bits() function from ppc64, which I removed because I thought it was unused (it exists on no other arch). In fact it is used in the powermac interrupt code (but not on pSeries). - We use LARXL/STCXL macros to generate the right (32 or 64 bit) instructions, similar to LDL/STL from ppc_asm.h, used in fpu.S - ppc32 previously used a full "sync" barrier at the end of test_and_*_bit(), whereas ppc64 used an "isync". The merged version uses "isync", since I believe that's sufficient. - The ppc64 versions of then minix_*() bitmap functions have changed semantics. Previously on ppc64, these functions were big-endian (that is bit 0 was the LSB in the first 64-bit, big-endian word). On ppc32 (and x86, for that matter, they were little-endian. As far as I can tell, the big-endian usage was simply wrong - I guess no-one ever tried to use minixfs on ppc64. - On ppc32 find_next_bit() and find_next_zero_bit() are no longer inline (they were already out-of-line on ppc64). - For ppc64, sched_find_first_bit() has moved from mmu_context.h to the merged bitops. What it was doing in mmu_context.h in the first place, I have no idea. - The fls() function is now implemented using the cntlzw instruction on ppc64, instead of generic_fls(), as it already was on ppc32. - For ARCH=ppc, this patch requires adding arch/powerpc/lib to the arch/ppc/Makefile. This in turn requires some changes to arch/powerpc/lib/Makefile which didn't correctly handle ARCH=ppc. Built and running on G5. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 031ef0a72aa8f7ee63ae9f307c1bcff92b3ccc2c tree d534555dd06c3f47578bfd70dc9714c693a13138 parent 811d4176f4366ca13a00c1fbb57587d210d38f19 author David Gibson Tue, 01 Nov 2005 16:53:24 +1100 committer Paul Mackerras Tue, 01 Nov 2005 21:03:26 +1100 [PATCH] powerpc: Merge ipcbuf.h This patch merges ppc32 and ppc64 versions of ipcbuf.h. The merge is essentially trivial, since the structure defined in each version was already identical. Only wrinkle is that the merged version now includes linux/types.h in order to get the fixed width integer types. In fact, the old versions probably should have been including that anyway, since the file uses various __kernel_*_t types. Built and booted on G5, built for 32-bit pmac, but not booted, since the merge tree currently doesn't boot there. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 811d4176f4366ca13a00c1fbb57587d210d38f19 tree 3377bf105f51fbcdc23d9d63d07d096465fcc723 parent edf03c1ee84e5095e8f4a4b8ad6e0784118cb176 author Arnd Bergmann Mon, 31 Oct 2005 20:08:41 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:03:07 +1100 [PATCH] powerpc: move arch/ppc64/kernel/bpa* to arch/powerpc/platforms/cell This patch simply moves files over to arch/powerpc without making any changes to them. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit edf03c1ee84e5095e8f4a4b8ad6e0784118cb176 tree 2b86e57df3cfd2767fffb55ccf4b04e4d28c5c75 parent e9add2eeb182e2bf1863c548f7a8173c45b4b92f author Arnd Bergmann Mon, 31 Oct 2005 20:08:40 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:03:04 +1100 [PATCH] powerpc: move mmio_nvram.c over to arch/powerpc The nvram code formally known as bpa_nvram.c is rather generic really, so it is quite likely to be useful to future boards not based on cell. This patch puts it into arch/powerpc/sysdev. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit e9add2eeb182e2bf1863c548f7a8173c45b4b92f tree 25d7a07a37750f0956f1922dae624c6898ec8e1d parent 19fe04755aca56e7d143f7f95b41008138619c5c author Arnd Bergmann Mon, 31 Oct 2005 20:08:39 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:02:59 +1100 [PATCH] powerpc: move rtas_fw.c out of platforms/pseries Cell uses the same code as pSeries for flashing the firmware through rtas, so the implementation should not be part of platforms/pseries. Put it into arch/powerpc/kernel instead. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 19fe04755aca56e7d143f7f95b41008138619c5c tree c77dae8cbf190143672300526b9afdb1f64cb198 parent f3f66f599db131ea57dc567ffd931d269dbc690e author Arnd Bergmann Mon, 31 Oct 2005 20:08:38 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:02:53 +1100 [PATCH] powerpc: create a new arch/powerpc/platforms/cell/smp.c During the conversion to the merge tree, the Cell specific SMP initialization was removed from the pSeries code. This creates a new Cell specific SMP implementation file. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit f3f66f599db131ea57dc567ffd931d269dbc690e tree c98f9253baa90e07e241bd88863bd69ff70cf4b0 parent 3c4cf5ee5a9224a800a74b5dfcb435550ed30737 author Arnd Bergmann Mon, 31 Oct 2005 20:08:37 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:02:44 +1100 [PATCH] powerpc: Rename BPA to Cell The official name for BPA is now CBEA (Cell Broadband Engine Architecture). This patch renames all occurences of the term BPA to 'Cell' for easier recognition. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 496456c24f1f4280d50b81aa5bf439ab440b3d7e tree 393b4fd485e0e9c5c150ac79a792403f15c89935 parent a362357b6cd62643d4dda3b152639303d78473da author Jens Axboe Tue, 01 Nov 2005 09:54:23 +0100 committer Jens Axboe Tue, 01 Nov 2005 09:54:23 +0100 [BLOCK] aoe: update for combined io statistics Signed-off-by: Jens Axboe commit a362357b6cd62643d4dda3b152639303d78473da tree fe4ce823e638ded151edcb142f28a240860f0d33 parent d72d904a5367ad4ca3f2c9a2ce8c3a68f0b28bf0 author Jens Axboe Tue, 01 Nov 2005 09:26:16 +0100 committer Jens Axboe Tue, 01 Nov 2005 09:26:16 +0100 [BLOCK] Unify the seperate read/write io stat fields into arrays Instead of having ->read_sectors and ->write_sectors, combine the two into ->sectors[2] and similar for the other fields. This saves a branch several places in the io path, since we don't have to care for what the actual io direction is. On my x86-64 box, that's 200 bytes less text in just the core (not counting the various drivers). Signed-off-by: Jens Axboe commit d72d904a5367ad4ca3f2c9a2ce8c3a68f0b28bf0 tree b41aaa3ceb0aa40090adda140d143e72fd16d587 parent d83c671fb7023f69a9582e622d01525054f23b66 author Jens Axboe Tue, 01 Nov 2005 08:35:42 +0100 committer Jens Axboe Tue, 01 Nov 2005 08:35:42 +0100 [BLOCK] Update read/write block io statistics at completion time Right now we do it at queueing time, which works alright for reads (since they are usually sync), but not for async writes since we can queue io a lot faster than we can complete it. This makes the vmstat output look extremely bursty. Signed-off-by: Jens Axboe commit 1da44037883c0405154d53fe76da27e078456664 tree db6f579831b89c55e0e0c095345b4d1e5bdd0500 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Kelly Daly Tue, 01 Nov 2005 16:59:20 +1100 committer Kelly Daly Tue, 01 Nov 2005 16:59:20 +1100 merge filename and modify references to iseries/hv_call.h Signed-off-by: Kelly Daly commit 541ab4af11d5b41b95cd633e9b1d96cea9947ac2 tree 079228fafa21a7d2920525c9d1e4b5a3edbcf390 parent 1e4c85f97fe26fbd70da12148b3992c0e00361fd author Linus Torvalds Mon, 31 Oct 2005 21:12:40 -0800 committer Linus Torvalds Mon, 31 Oct 2005 21:12:40 -0800 Don't touch USB controller IO registers when they are disabled The USB "handoff" code is an early PCI quirk to make sure we own the USB controller (as opposed to the BIOS/SMM). But if the controller isn't even enabled yet, don't try to access it. Acked-by: Paul Mackerras (who had an alternate patch) Signed-off-by: Linus Torvalds commit 48fe4871569f019c653efb95b26dda976f84c468 tree 3958d2a6d88fde19e73e9a59b6b85b1e551f793e parent 3c4cf5ee5a9224a800a74b5dfcb435550ed30737 author Stephen Rothwell Tue, 01 Nov 2005 15:53:19 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 15:53:19 +1100 powerpc: clean up uaccess.h Use the best from each architecture. Signed-off-by: Stephen Rothwell commit 3c4cf5ee5a9224a800a74b5dfcb435550ed30737 tree 14ad9a7d6f9807352187de7947cd8f803ac696a9 parent 870c6ff2ac0cb708697c2c06f3e5eddf9e3b38cb author Stephen Rothwell Tue, 01 Nov 2005 14:26:41 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 14:36:55 +1100 powerpc: use asm-generic/termios.h Signed-off-by: Stephen Rothwell commit 870c6ff2ac0cb708697c2c06f3e5eddf9e3b38cb tree bd11999aa97f23c42c4faf2cd3ce90e725c4b566 parent bec7c458b372251617e0fdc6bf8ce4df06bab430 author Stephen Rothwell Tue, 01 Nov 2005 14:36:30 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 14:36:30 +1100 powerpc: remove duplicate ioctl definitions Signed-off-by: Stephen Rothwell commit bec7c458b372251617e0fdc6bf8ce4df06bab430 tree bdffb7e8a092655f535fe4401ad8e81ae639221b parent 5015b49448cbe5352b9cc232333ab26f3e608a07 author Stephen Rothwell Tue, 01 Nov 2005 11:45:19 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 14:34:30 +1100 powerpc: make mem= work on iSeries again By parsing the command line earlier, we can add the mem= value to the flattened device tree and let the generic code sort out the memory limit for us. Signed-off-by: Stephen Rothwell commit 5015b49448cbe5352b9cc232333ab26f3e608a07 tree 77267c0fbc585ee6988a33ffec49030c6c2b5030 parent 2df5e8bcca53e528a78ee0e3b114d0d21dd6d043 author Stephen Rothwell Mon, 31 Oct 2005 18:39:20 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 14:34:17 +1100 powerpc: fix __strnlen_user in merge tree Change USER/KERNEL_DS so that the merged version of __strnlen_user can be used which allows us to complete the removal of arch/ppc64/lib/. Signed-off-by: Stephen Rothwell commit 2df5e8bcca53e528a78ee0e3b114d0d21dd6d043 tree 2234ea07e58a21ff7385dc24ad649ce8ec0273be parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Stephen Rothwell Sat, 29 Oct 2005 17:51:31 +1000 committer Stephen Rothwell Tue, 01 Nov 2005 14:34:03 +1100 powerpc: merge uaccess.h There is still a bug to be fixed and more merging to be done. Signed-off-by: Stephen Rothwell commit 1e4c85f97fe26fbd70da12148b3992c0e00361fd tree cd938308f7a151bf294a2af26019c73218225c9f parent d83c671fb7023f69a9582e622d01525054f23b66 author Linus Torvalds Mon, 31 Oct 2005 19:16:17 -0800 committer Linus Torvalds Mon, 31 Oct 2005 19:16:17 -0800 Revert "i386: move apic init in init_IRQs" Commit f2b36db692b7ff6972320ad9839ae656a3b0ee3e causes a bootup hang on at least one machine. Revert for now until we understand why. The old code may be ugly, but it works. Signed-off-by: Linus Torvalds commit ee807c2d43b54183c16580857837dae8ccb2ed22 tree 8e99189a4dcb3dd76339051f5fa240ad9819e4c5 parent a3632fa3ecefe50d88fc70af90610f79b99e0715 author Jack Hammer Mon, 29 Aug 2005 10:44:34 -0400 committer James Bottomley Mon, 31 Oct 2005 18:17:16 -0800 [SCSI] ips: Fix initialization bug with kdump If I/O is active on the adapter, and an unexpected interrupt is pending during initialization, the driver blows it's brains out. Since the driver didn't initiate the I/O, the data in it's internal tables will contain NULL pointers. When this condition is detected, a "flush cache and reset" is performed. The flush cache allows any pending "lazy writes" that the adapter is processing to complete ( a "must have" for a RAID adapter ) and the reset puts the adapter back into a known, good state. Signed-off-by: Jack Hammer Signed-off-by: James Bottomley commit 97300b5fdfe28c6edae926926f9467a27cf5889c tree 5a28ee8ff8fbddb44ed3f8b5e3d37c0439af1608 parent edc9e81917157d1e73bf081d4fbcad7c34d32783 author Yan Zheng Mon, 31 Oct 2005 20:09:45 +0800 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 22:52:03 -0200 [MCAST] IPv6: Check packet size when process Multicast Signed-off-by: Yan Zheng Signed-off-by: Arnaldo Carvalho de Melo commit edc9e81917157d1e73bf081d4fbcad7c34d32783 tree 28f15652b5965421bed9ff1a0cd676ac4cb14682 parent 48918a4dbd6c599d6af30bd64cb355fadca708eb author Herbert Xu Sun, 30 Oct 2005 11:20:59 +1100 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 22:30:02 -0200 [DCCP]: Set socket owner iff packet is not data Here is a complimentary insurance policy for those feeling a bit insecure. You don't have to accept this. However, if you do, you can't blame me for it :) > 1) dccp_transmit_skb sets the owner for all packets except data packets. We can actually verify this by looking at pkt_type. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit d83c671fb7023f69a9582e622d01525054f23b66 tree c9b72300f45441bbe8571a7fbaaf2aa5e6b3d28c parent 659603ef692d3f6c7c216e80310990253864bf2e author James Courtier-Dutton Mon, 31 Oct 2005 10:27:41 +0000 committer Linus Torvalds Mon, 31 Oct 2005 16:09:39 -0800 [PATCH] Creative Audigy 2 cardbus: Add IO window wakeup magic This adds the magic IO wakeup code for the CardBus version of the Creative Labs Audigy 2 to the snd-emu10k1 driver. Without the magic IO enable sequence, reading from the IO region of the card will fail spectacularly, and the machine will hang. My next task will be getting the driver to actually play sound without distortion. Signed-off-by: James Courtier-Dutton [ This is a work-in-progress, but since it avoids a total lockup if the emu10k module is loaded on a machine with the cardbus card inserted, we're better off with it than without it, even if sound quality is bad right now ] Signed-off-by: Linus Torvalds commit 067794a1170ef61e295aea1719cf4a1ce20200f8 tree 7eb4e77937a91ffdc87e75cd35bee8cb4da77ef5 parent 631bb0e74e811e0d9ad23e7462a02d4767b4dd9d parent 659603ef692d3f6c7c216e80310990253864bf2e author Tony Luck Mon, 31 Oct 2005 16:03:46 -0800 committer Tony Luck Mon, 31 Oct 2005 16:03:46 -0800 Auto-update from upstream commit 988a6490a793b73ff23aa3baf87b337152178e4d tree c12631ad5e0914d52434ea7443bb053103411cd7 parent f2c84c0e84bfa637a7161eac10157cf3b05b4a73 author Dave Kleikamp Mon, 31 Oct 2005 16:53:04 -0600 committer Dave Kleikamp Mon, 31 Oct 2005 16:53:04 -0600 JFS: set i_ctime & i_mtime on target directory when creating links jfs has never been setting i_ctime or i_mtime when creating either hard or symbolic links. I'm surprised nobody had noticed until now. Thanks to Chris Spiegel for reporting the problem. Signed-off-by: Dave Kleikamp commit 659603ef692d3f6c7c216e80310990253864bf2e tree f1e8fe6176fdf4d34ef7f62fa2f1f9f619e9d26f parent a717f77362d4fe044721c126c89e2a38e731a576 author Andrea Arcangeli Mon, 31 Oct 2005 14:08:54 -0800 committer Linus Torvalds Mon, 31 Oct 2005 14:22:04 -0800 [PATCH] fix __writeback_single_inode WARN_ON When the inode count is zero in inode writeback, the WARN_ON(!(inode->i_state & I_WILL_FREE)); is broken, and needs to test for either I_WILL_FREE|I_FREEING. When the inode is in I_FREEING state, it's already out of the visibility of the vm so it can't be freed so it doesn't require the __iget and the generic_delete_inode path can call the sync internally to the lowlevel fs callback during the last iput. So the inode being in I_FREEING is also a valid condition for calling the sync with i_count == 0. The specific stack trace is this: 0xc00000007b8fb6e0 0xc00000000010118c .__writeback_single_inode +0x5c 0xc00000007b8fb6e0 0xc0000000001014dc (lr) .sync_inode +0x3c 0xc00000007b8fb790 0xc0000000001014dc .sync_inode +0x3c 0xc00000007b8fb820 0xc0000000001a5020 .ext2_sync_inode +0x64 0xc00000007b8fb8f0 0xc0000000001a65b4 .ext2_truncate +0x3f8 0xc00000007b8fba40 0xc0000000001a6940 .ext2_delete_inode +0xdc 0xc00000007b8fbac0 0xc0000000000f7a5c .generic_delete_inode +0x124 0xc00000007b8fbb50 0xc0000000000f5fe0 .iput +0xb8 0xc00000007b8fbbe0 0xc0000000000e9fd4 .sys_unlink +0x2a8 0xc00000007b8fbd10 0xc00000000001048c .ret_from_syscall_1 +0x0 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a717f77362d4fe044721c126c89e2a38e731a576 tree b899e97f5c73a1679613903a1c378352a0997749 parent f2c84c0e84bfa637a7161eac10157cf3b05b4a73 author Andrew Morton Mon, 31 Oct 2005 14:08:53 -0800 committer Linus Torvalds Mon, 31 Oct 2005 14:22:04 -0800 [PATCH] revert ide-scsi highmem cleanup Jeff Garzik points out that this was wrong: we need to disable local interrupts while holding KM_IRQ0 due to IRQ sharing. And holding interrupts off during a big PIO opration is expensive, so we only want to do that if we know the page was highmem. So revert commit 17fd47ab4d33e764216b87006d8118fa050b4c92 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48918a4dbd6c599d6af30bd64cb355fadca708eb tree 31893d50f1e21ba19e1acc59c117e220ff57205b parent 9d17f218936a0fee43ad9493a841136589c942cd author Herbert Xu Sun, 30 Oct 2005 11:20:59 +1100 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 19:26:17 -0200 [DCCP]: Simplify skb_set_owner_w semantics While we're at it let's reorganise the set_owner_w calls a little so that: 1) dccp_transmit_skb sets the owner for all packets except data packets. 2) Add dccp_skb_entail to set owner for packets queued for retransmission. 3) Make dccp_transmit_skb static. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit 631bb0e74e811e0d9ad23e7462a02d4767b4dd9d tree b272e3afacf1f3dfb9b4dfa06cadbcf17956469a parent 581c1b14394aee60aff46ea67d05483261ed6527 author Bob Picco Mon, 31 Oct 2005 13:25:25 -0500 committer Tony Luck Mon, 31 Oct 2005 11:33:53 -0800 [IA64] Recent SPARSEMEM and DISCONTIG changes break some builds My only objection to pfn_to_kaddr, which was introduced for HotPlug memory, is that all arches have an identical implementation. I haven't had a chance to pursue why yet. There is probably some arch issue I'm unaware of. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 9d17f218936a0fee43ad9493a841136589c942cd tree 055eed0fcf1c2c4566ac665334c626fac6ee2721 parent a3d7a9d77533d7516a8cfb8e2b612cd5ead4fa59 author Yan Zheng Fri, 28 Oct 2005 15:12:00 -0700 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 16:54:05 -0200 [IPV6]: Fix behavior of ip6_route_input() for link local address I find that linux will reply echo request destined to an address which belongs to an interface other than the one from which the request received. This behavior doesn't make sense for link local address. YOSHIFUJI Hideaki said: Please note that sender does need to setup neighbor entry by hand to reproduce this bug. (Link-local address on eth1 is not visible on eth0, from the point of view of neighbor discovery in IPv6.) +--------+ +--------+ | sender | | router | +---+----+ +-+----+-+ |eth0 eth0| |eth1 -----+----------------------+- -+-------------- Signed-off-by: Yan Zheng Acked-by: YOSHIFUJI Hideaki Signed-off-by: Andrew Morton (forwarded) Signed-off-by: Arnaldo Carvalho de Melo commit c7fb577e2a6cb04732541f2dc402bd46747f7558 tree df3b1a1922ed13bfbcc45d08650c38beeb1a7bd1 parent 9cec58dc138d6fcad9f447a19c8ff69f6540e667 parent 581c1b14394aee60aff46ea67d05483261ed6527 author Tony Luck Mon, 31 Oct 2005 10:51:57 -0800 committer Tony Luck Mon, 31 Oct 2005 10:51:57 -0800 manual update from upstream: Applied Al's change 06a544971fad0992fe8b92c5647538d573089dd4 to new location of swiotlb.c Signed-off-by: Tony Luck commit a3d7a9d77533d7516a8cfb8e2b612cd5ead4fa59 tree 62ea3dce8a8d7c6b984c0815347de9ca187e8335 parent 6b7d31fcdda5938e5d3f1f8b0922cc25aa200dfc author Andrew Morton Fri, 28 Oct 2005 15:12:02 -0700 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 16:41:45 -0200 [ROSE]: rose_heartbeat_expiry() locking fix Missing unlock, as noted by Ted Unangst . Signed-off-by: Andrew Morton Signed-off-by: Arnaldo Carvalho de Melo commit 6b7d31fcdda5938e5d3f1f8b0922cc25aa200dfc tree c44f46d7eab0ea138247018ba1e04da6df8ae9d4 parent 6ede2463c8d7ea949f8e7ef35243490c415ddc2f author Harald Welte Wed, 26 Oct 2005 09:34:24 +0200 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 16:36:08 -0200 [NETFILTER]: Add "revision" support to arp_tables and ip6_tables Like ip_tables already has it for some time, this adds support for having multiple revisions for each match/target. We steal one byte from the name in order to accomodate a 8 bit version number. Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit 6ede2463c8d7ea949f8e7ef35243490c415ddc2f tree 161ec1e8ec68dfd48b80706a08f253bb48e9c3cf parent 581c1b14394aee60aff46ea67d05483261ed6527 author Stephen Hemminger Tue, 25 Oct 2005 15:04:59 -0700 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 16:34:10 -0200 [BRIDGE]: Use ether_compare Use compare_ether_addr in bridge code. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit f2c84c0e84bfa637a7161eac10157cf3b05b4a73 tree f3335cb8234bf5248a4932cd39ad53044c980b47 parent 581c1b14394aee60aff46ea67d05483261ed6527 author Arthur Othieno Sun, 30 Oct 2005 23:04:05 -0500 committer Linus Torvalds Mon, 31 Oct 2005 09:20:54 -0800 [PATCH] i386: CONFIG_PC removal CONFIG_PC is left-over cruft after the introduction of CONFIG_X86_PC with the subarch split. Remove it, and fixup the remaining users to depend on CONFIG_X86_PC instead. Signed-off-by: Arthur Othieno Signed-off-by: Linus Torvalds commit 37bb30e86bc2e48d9affb25f6ce9eb3d8e65b2ac tree d1419f0393effa0f4fd175cf0c65080e1f4626c6 parent 1be7228da280252167150346dcec4e7c50a79eb4 author Russell King Mon, 31 Oct 2005 17:14:57 +0000 committer Russell King Mon, 31 Oct 2005 17:14:57 +0000 [ARM] Convert EBSA110 network driver to a platform driver Signed-off-by: Russell King commit 1be7228da280252167150346dcec4e7c50a79eb4 tree 4ebfd4cb2c76de207ba799c8f910b5e8b9e0a67d parent 8ad68bbf7a06cdd77c170be792418488dbb65da4 author Russell King Mon, 31 Oct 2005 16:57:06 +0000 committer Russell King Mon, 31 Oct 2005 16:57:06 +0000 [ARM] Fixup platform device.h includes for realview board Signed-off-by: Russell King commit 53b2ec5518aa2623e8c0cb36f1c304a797988a46 tree 465d8631ade6c2fcbd7576ff9813d00116c6a1e8 parent 0753ca7bc2b876dd136e9db11a20f85cbe4e08b1 parent 581c1b14394aee60aff46ea67d05483261ed6527 author Steve French Mon, 31 Oct 2005 08:36:11 -0800 committer Steve French Mon, 31 Oct 2005 08:36:11 -0800 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 581c1b14394aee60aff46ea67d05483261ed6527 tree 6b269000a4b5bbcdc0edcfdf615851c9de0d412a parent 4fc207419d95e0e16fdc78e2f48f7c0b3640ffe5 author Jens Axboe Mon, 31 Oct 2005 09:23:54 +0100 committer Linus Torvalds Mon, 31 Oct 2005 07:46:28 -0800 [PATCH] noop-iosched: avoid corrupted request merging Tejun Heo notes: "I'm currently debugging this. The problem is that we are using the generic dispatch queue directly in the noop sched and merging is NOT allowed on dispatch queues but generic handling of last_merge tries to merge requests. I'm still trying to verify this, so I'll be back with results soon." In the meantime, disable merging for noop by setting REQ_NOMERGE in elevator_noop_add_request(). Eventually, we should add a noop_list and do the dispatching like in the other io schedulers. Merging is still beneficial for noop (and it has always done it). Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 4fc207419d95e0e16fdc78e2f48f7c0b3640ffe5 tree 7b36e5810e549038d6cf4d1efd98aaf0541bbb11 parent dd05e42fa86e37b14f8169bbad8d334e2e8d4881 author Jens Axboe Mon, 31 Oct 2005 13:51:33 +0100 committer Linus Torvalds Mon, 31 Oct 2005 07:41:28 -0800 [PATCH] Fix on-the-fly switch from cfq i/o scheduler Don't clear ->elevator_data on exit, if we are switching queues we are overwriting the data of the new io scheduler. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit dd05e42fa86e37b14f8169bbad8d334e2e8d4881 tree 662097ff3a8451a565c8c808ee9f66c95bcf736b parent c1d962035d49565d8c7a2d97519012ccb861778a parent 1f04c0a24b2f3cfe89c802a24396263623e3512d author Linus Torvalds Mon, 31 Oct 2005 07:36:08 -0800 committer Linus Torvalds Mon, 31 Oct 2005 07:36:08 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit c1d962035d49565d8c7a2d97519012ccb861778a tree c958743946f813ebda2e8fd17c54455fd6f962af parent 4fd5f8267dd37aaebadfabe71d9c808821eea05a parent 005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a author Linus Torvalds Mon, 31 Oct 2005 07:34:07 -0800 committer Linus Torvalds Mon, 31 Oct 2005 07:34:07 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 4fd5f8267dd37aaebadfabe71d9c808821eea05a tree 50774592eaba942cf378fca731d307f901b737b7 parent eb16292ba8a6655a560ab10a7d73a7816f0c0ac0 parent 8576762ff5d109b841fcf4e7d3883e0cf794f3cf author Linus Torvalds Mon, 31 Oct 2005 07:32:56 -0800 committer Linus Torvalds Mon, 31 Oct 2005 07:32:56 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel Manual #include fixups for clashes - there may be some unnecessary commit 3bc12e75b23c0499cc2c0873a5f77494be173761 tree ecb02f68e1055343bb45fc38350a8e33c827efc9 parent e5b251a24a9cd34a7ef98e361eb94e7ab122a554 author Roland Dreier Sun, 30 Oct 2005 13:20:09 -0800 committer Roland Dreier Mon, 31 Oct 2005 07:10:33 -0800 [IPoIB] cleanups: fix comment, remove useless variables Minor cleanups: fix a misleading comment, and get rid of attr_mask variables that are only used to hold constants (just use the constants directly). Signed-off-by: Roland Dreier commit e5b251a24a9cd34a7ef98e361eb94e7ab122a554 tree c29760bafd7107252389712965ad7e4ed0791a82 parent 7162a3e0db34e914a8bc5bf74bbae0b386310cf8 author Roland Dreier Sun, 30 Oct 2005 13:07:03 -0800 committer Roland Dreier Mon, 31 Oct 2005 07:10:32 -0800 [IB] mthca: Avoid SRQ free WQE list corruption Fix wqe_to_link() to use a structure field that we know is definitely always unused for receive work requests, so that it really avoids the free list corruption bug that the comment claims it does. Signed-off-by: Roland Dreier commit 7162a3e0db34e914a8bc5bf74bbae0b386310cf8 tree ffd7eba03f29dd2932dd32ac4adc2921bde7644b parent a20583a7c2e35d80b1dfc1f60c9729498838725e author Roland Dreier Sun, 30 Oct 2005 09:50:04 -0800 committer Roland Dreier Mon, 31 Oct 2005 07:10:32 -0800 [IB] uverbs: Avoid NULL pointer deref on CQ async event Userspace CQs that have no completion event channel attached end up with their cq_context set to NULL. However, asynchronous events like "CQ overrun" can still occur on such CQs, so add a uverbs_file member to struct ib_ucq_object that we can follow to deliver these events. Signed-off-by: Roland Dreier commit 8ad68bbf7a06cdd77c170be792418488dbb65da4 tree 7caed40139d8e0a490cd7a9de0cf4c78f4285c05 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Catalin Marinas Mon, 31 Oct 2005 14:25:02 +0000 committer Russell King Mon, 31 Oct 2005 14:25:02 +0000 [ARM] Add support for ARM RealView board Support for RealView EB. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 913ade51eca369553a8ffbdaf1f426fade84f6ae tree a692ada4da2b0031d7ba941f987c9d8dd7f4e0b1 parent 6a8f8d72bd2fe9964ee10c0f58b14d6370e49769 author Russell King Mon, 31 Oct 2005 13:53:26 +0000 committer Russell King Mon, 31 Oct 2005 13:53:26 +0000 [SERIAL] Fix port numbering The PORT_* macros must be uniquely numbered. This fixes the definitions. Signed-off-by: Russell King commit 6a8f8d72bd2fe9964ee10c0f58b14d6370e49769 tree 547b037f60f4889a8702b4c4187739366b66c777 parent 0cf669d5c5d08eb827df9867429df21cf030eba6 author Russell King Mon, 31 Oct 2005 11:53:19 +0000 committer Russell King Mon, 31 Oct 2005 11:53:19 +0000 [SERIAL] Update serial_core documentation Signed-off-by: Russell King commit 0cf669d5c5d08eb827df9867429df21cf030eba6 tree 6eb72f3c25f7acc0e67d0e954be8ee4525fbd4c7 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Russell King Mon, 31 Oct 2005 11:42:22 +0000 committer Russell King Mon, 31 Oct 2005 11:42:22 +0000 [SERIAL] Arrange better identification of ports Folk seem to get confused when they see two or more ttyS0 ports appearing at boot time. One comes from the legacy table, and one from PNP. Hence, display the bus ID of the device which supplied the port. Signed-off-by: Russell King commit 1f04c0a24b2f3cfe89c802a24396263623e3512d tree d7e2216b6e65b833c0c2b79b478d13ce17dbf296 parent 07b188ab773e183871e57b33ae37bf635c9f12ba parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Anton Altaparmakov Mon, 31 Oct 2005 10:06:46 +0000 committer Anton Altaparmakov Mon, 31 Oct 2005 10:06:46 +0000 Merge branch 'master' of /usr/src/ntfs-2.6/ commit eb16292ba8a6655a560ab10a7d73a7816f0c0ac0 tree 2e52f812f6d0b7ab4b2b06a71b676f36c5afa288 parent 76440d5e13d7dacd5763394ddb2071424e0b6921 author Paul Mackerras Mon, 31 Oct 2005 01:30:32 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:30:32 -0500 Input: adbhid - fix OOPS introduced by dynalloc conversion The problem is that adbhid[]->input is NULL, so the kernel oopses with a null pointer dereference as soon as a key is pressed. Signed-off-by: Paul Mackerras Signed-off-by: Dmitry Torokhov commit 76440d5e13d7dacd5763394ddb2071424e0b6921 tree cc13d902a4e62746482f0a4e203d072cd6aa1f71 parent 1259f2b3657e21f18a7f31f9b1c027e304838b18 author Dmitry Torokhov Mon, 31 Oct 2005 01:30:19 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:30:19 -0500 Input: lkkbd - fix debug message in lkkbd_interrupt() Signed-off-by: Dmitry Torokhov commit 1259f2b3657e21f18a7f31f9b1c027e304838b18 tree bcda4d7abad202ec6a91630d997312ba79e4ce4b parent 995fc4df0bc8d88417742e4b1d17889fc64b6ef3 author Dmitry Torokhov Mon, 31 Oct 2005 01:30:05 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:30:05 -0500 Input: pcspkr - fix setting name and phys for the device Signed-off-by: Dmitry Torokhov commit 995fc4df0bc8d88417742e4b1d17889fc64b6ef3 tree 9a243c0f2cfbcbf192298a4f5415fe1972ab2cf6 parent 7972720aaa044d0bca40e2e1d4c176076a9f0e00 author Dmitry Torokhov Mon, 31 Oct 2005 01:29:51 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:29:51 -0500 Input: fix input_dev registration message Signed-off-by: Dmitry Torokhov commit 7972720aaa044d0bca40e2e1d4c176076a9f0e00 tree fc465e331364e6c158c74a06230d2294346b4e14 parent e0be618d1e8ed0a1a94ee14025ec5e3022d2ec5b author Dmitry Torokhov Mon, 31 Oct 2005 01:29:37 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:29:37 -0500 Input: evdev - allow querying SW state from compat ioctl Signed-off-by: Dmitry Torokhov commit e0be618d1e8ed0a1a94ee14025ec5e3022d2ec5b tree fbd011fe489e46fe7a80f3edc38f79dded153ab2 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Dmitry Torokhov Mon, 31 Oct 2005 01:29:23 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:29:23 -0500 Input: evdev - allow querying EV_SW bits from compat_ioctl Signed-off-by: Dmitry Torokhov commit ce1eeb95fc4eb25109c00bea3e83a87eeff6b07d tree d7a1be22432740af1b9ea4330dd95d5915fdb0c3 parent 95dbf5c4be080e94880ead13773d1a14eec8f4de parent 005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a author Jeff Garzik Sun, 30 Oct 2005 23:32:03 -0500 committer Jeff Garzik Sun, 30 Oct 2005 23:32:03 -0500 Merge branch 'upstream' commit 005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a tree 5b270817df4bc9661365d789d51c04f3774c3ddd parent e533825447dcb60a82b7cc9d73d06423c849b9a2 author Jeff Garzik Sun, 30 Oct 2005 23:31:48 -0500 committer Jeff Garzik Sun, 30 Oct 2005 23:31:48 -0500 [libata] locking rewrite (== fix) A lot of power packed into a little patch. This change eliminates the sharing between our controller-wide spinlock and the SCSI core's Scsi_Host lock. As the locking in libata was already highly compartmentalized, always referencing our own lock, and never scsi_host::host_lock. As a side effect, this change eliminates a deadlock from calling scsi_finish_command() while inside our spinlock. commit e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc tree 31af81b6f7dfe1c9da4280e49d8b9777010ce1e7 parent 734d6524800b6a8362666e893a5f3f29b9ef0be9 author Paul Mackerras Mon, 31 Oct 2005 14:40:03 +1100 committer Paul Mackerras Mon, 31 Oct 2005 14:40:03 +1100 powerpc: import a fix from arch/ppc/mm/pgtable.c ... namely, the change to the 2-argument pte_alloc_kernel. Signed-off-by: Paul Mackerras commit 734d6524800b6a8362666e893a5f3f29b9ef0be9 tree 507fe9acc6fccce31369842d89d86d8dd432dc37 parent 23fd07750a789a66fe88cf173d52a18f1a387da4 author Paul Mackerras Mon, 31 Oct 2005 13:57:01 +1100 committer Paul Mackerras Mon, 31 Oct 2005 13:57:01 +1100 powerpc: apply recent changes to merged code Signed-off-by: Paul Mackerras commit e533825447dcb60a82b7cc9d73d06423c849b9a2 tree c838f16f023e24118a0e5669b2dbcfb70f666504 parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Jeff Garzik Sun, 30 Oct 2005 21:37:17 -0500 committer Jeff Garzik Sun, 30 Oct 2005 21:37:17 -0500 [libata] ata_tf_to_host cleanups Integrate ata_exec() and ata_tf_to_host() into their only caller, ata_bus_edd(). Rename ata_tf_to_host_nolock() to ata_tf_to_host(). This makes locking a bit easier to review, and may help pave the way for future changes. commit 23fd07750a789a66fe88cf173d52a18f1a387da4 tree 06fdd6df35fdb835abdaa9b754d62f6b84b97250 parent bd787d438a59266af3c9f6351644c85ef1dd21fe parent ed28f96ac1960f30f818374d65be71d2fdf811b0 author Paul Mackerras Mon, 31 Oct 2005 13:37:12 +1100 committer Paul Mackerras Mon, 31 Oct 2005 13:37:12 +1100 Merge ../linux-2.6 by hand commit bd787d438a59266af3c9f6351644c85ef1dd21fe tree 8ffe09c567f3ec2834e5913f37cb318397fe43de parent cf00a8d18b9a1c2d55b2728e89125c234e821db5 author Paul Mackerras Mon, 31 Oct 2005 13:08:54 +1100 committer Paul Mackerras Mon, 31 Oct 2005 13:08:54 +1100 ppc: remove duplicate export of cur_cpu_spec Signed-off-by: Paul Mackerras commit cf00a8d18b9a1c2d55b2728e89125c234e821db5 tree 99425b8acd08aae1e07a7ae31ff47fa18e4e8c91 parent 5f6b5b973a125de0dbe236ce659a495787c81ff0 author Paul Mackerras Mon, 31 Oct 2005 13:07:02 +1100 committer Paul Mackerras Mon, 31 Oct 2005 13:07:02 +1100 powerpc: Fix bug arising from having multiple memory_limit variables We had a static memory_limit in prom.c, and then another one defined in setup_64.c and used in numa.c, which resulted in the kernel crashing when mem=xxx was given on the command line. This puts the declaration in system.h and the definition in mem.c. This also moves the definition of tce_alloc_start/end out of setup_64.c. Signed-off-by: Paul Mackerras commit ed28f96ac1960f30f818374d65be71d2fdf811b0 tree 7229e77dbd27eee1378d1317c63c272dbe57cac0 parent 1480d0a31db62b9803f829cc0e5cc71935ffe3cc parent a2436b22deac7834e0f87897b207a2dc1407dc40 author Linus Torvalds Sun, 30 Oct 2005 17:48:37 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:48:37 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 1480d0a31db62b9803f829cc0e5cc71935ffe3cc tree c7c18939b5a0d51f23f7ca8606ecf00fa69741aa parent fc8e3d177fa8073895d37b50282489dbeec89eb1 parent 46595ffbfc8ba79f27cdf8a029ee068b3b34c69f author Linus Torvalds Sun, 30 Oct 2005 17:48:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:48:00 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit fc8e3d177fa8073895d37b50282489dbeec89eb1 tree 3e8acd6338bad172486b718647ed3dc1d412dcc9 parent ad2c1604da74a3bbef96e7259e389ccba0cf613a parent 936d8592654bb97d5706a73c0e2a6339b090f7fb author Linus Torvalds Sun, 30 Oct 2005 17:47:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:47:00 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 9e0cb06b17be7e562cbdaba2768649f025826dc6 tree aaf5ef8c6cd11764d222df9c446ad9af17e0020e parent 23da0c20ef1c1f0432f373e0e2233a6b6ab2678f parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Jeff Garzik Sun, 30 Oct 2005 20:37:44 -0500 committer Jeff Garzik Sun, 30 Oct 2005 20:37:44 -0500 Merge branch 'master' commit ad2c1604da74a3bbef96e7259e389ccba0cf613a tree 7e97ba34492225e7499abf659f5afccf5d1e0cfc parent 9131dd4256f9598141ed374fcd47f6b4de8d2422 author Pekka Enberg Sun, 30 Oct 2005 15:03:50 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] fat: Remove duplicate directory scanning code This patch removes duplicate directory scanning code from fs/fat/dir.c. The two functions that share identical code are fat_readdirx() and fat_search_long(). This patch also renames fat_readdirx to __fat_readdir(). Signed-off-by: Pekka Enberg Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9131dd4256f9598141ed374fcd47f6b4de8d2422 tree 03518a5de4f37619beb219eb2de2c48a572b99db parent 451cbaa1c328082832a8fbcc427cd4416c602c5a author OGAWA Hirofumi Sun, 30 Oct 2005 15:03:50 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] fat: remove the unneeded vfat_find() in vfat_rename() Now, vfat_rename() is using vfat_find() for sanity check. This removes that sanity check, the cost of sanity check is too high. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 451cbaa1c328082832a8fbcc427cd4416c602c5a tree 139c3d33d0cf3f9eba214c504e4173f54c6cf66d parent 4e57b6817880946a3a78d5d8cad1ace363f7e449 author OGAWA Hirofumi Sun, 30 Oct 2005 15:03:49 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] fat: cleanup and optimization of checksum Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e57b6817880946a3a78d5d8cad1ace363f7e449 tree b6b5f3f9e8e52cc55d98239a4992e72e983c8fa4 parent b0423a0d9cc836b2c3d796623cd19236bfedfe63 author Tim Schmielau Sun, 30 Oct 2005 15:03:48 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] fix missing includes I recently picked up my older work to remove unnecessary #includes of sched.h, starting from a patch by Dave Jones to not include sched.h from module.h. This reduces the number of indirect includes of sched.h by ~300. Another ~400 pointless direct includes can be removed after this disentangling (patch to follow later). However, quite a few indirect includes need to be fixed up for this. In order to feed the patches through -mm with as little disturbance as possible, I've split out the fixes I accumulated up to now (complete for i386 and x86_64, more archs to follow later) and post them before the real patch. This way this large part of the patch is kept simple with only adding #includes, and all hunks are independent of each other. So if any hunk rejects or gets in the way of other patches, just drop it. My scripts will pick it up again in the next round. Signed-off-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0423a0d9cc836b2c3d796623cd19236bfedfe63 tree 21c6ebdc052b4e085aacb295b55c168bc60bcae2 parent ae6866c377943de73e2c95398ff0120516f167ce author Paul E. McKenney Sun, 30 Oct 2005 15:03:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] Remove duplicate code in signal.c Combine a bit of redundant code between force_sig_info() and force_sig_specific(). Signed-off-by: paulmck@us.ibm.com Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae6866c377943de73e2c95398ff0120516f167ce tree cd1e6a08f830de244696c5ff60f8309571cf090d parent 621d31219d9a788bda924a0613048053f3f5f211 author Oleg Nesterov Sun, 30 Oct 2005 15:03:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] remove unneeded SI_TIMER checks This patch removes checks for ->si_code == SI_TIMER from send_signal, specific_send_sig_info, __group_send_sig_info. I think posix-timers.c used these functions some time ago, now it sends signals via send_{,group_}sigqueue, so these hooks are unneeded. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 621d31219d9a788bda924a0613048053f3f5f211 tree 9fb9846fdd999ba04c436aa84c7da0d8233ac545 parent b67a1b9e4bf878aa5d4b6b44cb5a251a2f425f0d author Oleg Nesterov Sun, 30 Oct 2005 15:03:45 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] cleanup the usage of SEND_SIG_xxx constants This patch simplifies some checks for magic siginfo values. It should not change the behaviour in any way. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b67a1b9e4bf878aa5d4b6b44cb5a251a2f425f0d tree 8fa921440476083be42f21ce6d0c4091a3757742 parent 3e6716e748609a3a899e8d670e42832921bd45bc author Oleg Nesterov Sun, 30 Oct 2005 15:03:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] remove hardcoded SEND_SIG_xxx constants This patch replaces hardcoded SEND_SIG_xxx constants with their symbolic names. No changes in affected .o files. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e6716e748609a3a899e8d670e42832921bd45bc tree cfaf9ab1a9ee897959651acc681f448e1ea01311 parent b6ab126211e2ab17eecbd063b99742a6b04b228e author Randy Dunlap Sun, 30 Oct 2005 15:03:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] hpet: hpet driver cleanups - Use kzalloc() instead of kmalloc + memset. - Clean/fix some printk's. - Use NULL for pointers instead of 0. - Combine hpet busy searching locations into a function call. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6ab126211e2ab17eecbd063b99742a6b04b228e tree b92172fb297b29d0fb32e08ac0a2aaaee4fdc2d6 parent 757c4724099a31a61754ea5202802eaa1def851c author Randy Dunlap Sun, 30 Oct 2005 15:03:43 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] hpet: use HPET physical addresses for dup. detection - Use HPET physical address to detect duplicates, not logical addresses. Using logical (mapped) addresses fails to detect duplicates because ioremap() returns a new mapped address each time. - iounmap() regions when duplicate/busy areas are found. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 757c4724099a31a61754ea5202802eaa1def851c tree 19e8d379a50d96f80fc179dc4567449de1eed623 parent 318db8f03bc06e6de98e98a568b6b2fa64233b87 author Randy Dunlap Sun, 30 Oct 2005 15:03:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] hpet: allow HPET FIXED_MEM32 resource type Allow the ACPI HPET description table to use a resource type of FIXED_MEM32 for the HPET reource. Use the fixed resoure size of 1 KB for the HPET resource as per the HPET spec. Signed-off-by: Randy Dunlap Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 318db8f03bc06e6de98e98a568b6b2fa64233b87 tree 44d5709f1e619bdffcff6e159e0fed49e917dc43 parent c860ed9fb5d320407f99190ab2e31bfe74db6724 author Clemens Ladisch Sun, 30 Oct 2005 15:03:41 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] hpet: simplify initialization message When booting, display the timer frequency in Hertz instead of as tick length in nanoseconds. Apart from saving a local variable, this makes the message more easily comprehensible. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c860ed9fb5d320407f99190ab2e31bfe74db6724 tree 69c650e001738130ac69152a195ae824b5ef2ee4 parent 3d5640d1c7584689227256beeb63354c9a5baf2d author Clemens Ladisch Sun, 30 Oct 2005 15:03:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: remove superfluous indirections In the hpet_ioctl_common() function, devp->hd_hpets is already cached in the hpetp variable, so we can use just that. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d5640d1c7584689227256beeb63354c9a5baf2d tree f39b91c70f9eba6bb64b55924be06662f3e11476 parent 7522e4ecdfdf86b9816f06d55766a6f88baa0348 author Clemens Ladisch Sun, 30 Oct 2005 15:03:39 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: fix access to multiple HPET devices Fix two instances where a function would access the first HPET device instead of the current one. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7522e4ecdfdf86b9816f06d55766a6f88baa0348 tree 16a0260bd1e8ec2c848a85a50d7582a7dfec7a2f parent af95eade68da4dfa29c5b64d79cffc9709facf00 author Clemens Ladisch Sun, 30 Oct 2005 15:03:39 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: fix uninitialized variable in hpet_register() Clear the ht_opaque field in the hpet_register() function before searching for a free timer to prevent the function from incorrectly assuming that the search succeeded afterwards. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af95eade68da4dfa29c5b64d79cffc9709facf00 tree 17db9f696dbdbb222d9a4a41e8d02f5378fe8d48 parent 8e8505be9c0ba608cbd634faa8fba361f17d2512 author Clemens Ladisch Sun, 30 Oct 2005 15:03:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: fix division by zero in HPET_INFO Fix a division by zero that happened when the HPET_INFO ioctl was called before a timer frequency had been set. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e8505be9c0ba608cbd634faa8fba361f17d2512 tree dcb75f543bb9b75b8c6bf0260f2b5f5283533c7e parent 7811fb8f400a3dbfa027d86bb583a31c66fddfc3 author Clemens Ladisch Sun, 30 Oct 2005 15:03:37 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: fix HPET_INFO calls from kernel space Fix a wrong memory access in hpet_ioctl_common(). It was not possible to use the HPET_INFO ioctl from kernel space because it always called copy_to_user(). Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7811fb8f400a3dbfa027d86bb583a31c66fddfc3 tree 2df816ff6559a0e2f9d7537e1accdfe932e027d4 parent 5f819949ee4e5a06c2e0054cbb42f3f0d170d779 author Clemens Ladisch Sun, 30 Oct 2005 15:03:36 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet-RTC: cache the comparator register Reads from an HPET register require a round trip to the south bridge and are almost as slow as PCI reads. By caching the last value we've written to the comparator register, we can eliminate all HPET reads from the fast path in the emulated RTC interrupt handler. Signed-off-by: Clemens Ladisch Acked-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f819949ee4e5a06c2e0054cbb42f3f0d170d779 tree 85dfb0366a13b3e0ae073b5838ec8d457fd89518 parent f00c96f313b07d2eb2845305b9a3395e14385767 author Clemens Ladisch Sun, 30 Oct 2005 15:03:36 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet-RTC: fix timer config register accesses Make sure that the RTC timer is in non-periodic mode; some stupid BIOS might have initialized it to periodic mode. Furthermore, don't set the SETVAL bit in the config register. This wouldn't have any effect unless the timer was in period mode (which it isn't), and then the actual timer frequency would be half that of the desired one because incrementing the comparator in the interrupt handler would be done after the hardware has already incremented it itself. Signed-off-by: Clemens Ladisch Acked-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f00c96f313b07d2eb2845305b9a3395e14385767 tree 94efe251de277aca3faf81b0334eb1c7eb5ca956 parent 0d29086177aaa1e7d14e6ebb7fc067b3ca6d5c11 author Clemens Ladisch Sun, 30 Oct 2005 15:03:35 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet-RTC: disable interrupt when no longer needed When the emulated RTC interrupt is no longer needed, we better disable it; otherwise, we get a spurious interrupt whenever the timer has rolled over and reaches the same comparator value. Having a superfluous interrupt every five minutes doesn't hurt much, but it's bad style anyway. ;-) Signed-off-by: Clemens Ladisch Acked-by: "Pallipadi, Venkatesh" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d29086177aaa1e7d14e6ebb7fc067b3ca6d5c11 tree 1729f8bb3d6e7d1a1e061219fb01fecf90f183e4 parent 189e2dd1376c1eb2f3a717a15f1ed8c7d0b3811a author Clemens Ladisch Sun, 30 Oct 2005 15:03:34 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: allow shared interrupts This patch adds support for shared HPET interrupts. The driver previously acknowledged interrupts for both edge and level interrupts, but didn't actually allow a shared interrupt in the latter case. We use a new per-timer flag to save whether the timer's interrupt might be shared, and use it to do the processing required for level interrupts only if necessary. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 189e2dd1376c1eb2f3a717a15f1ed8c7d0b3811a tree b574e02e9d6d464c74fd0ef2ff960b511546636b parent 3f992e1bb7eab7b7af2b9ea46d2b80b1fed84845 author Clemens Ladisch Sun, 30 Oct 2005 15:03:33 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: allow non-power-of-two frequencies It was only the RTC hardware that restricted interrupt frequencies to a power of two. There is no reason to take over this restriction into the HPET driver, so remove the offending check. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f992e1bb7eab7b7af2b9ea46d2b80b1fed84845 tree 9e6ab94a66064227adfc8b13cc07ad33fdee2bb5 parent 642d30bbc73512269de1524251ccc378d7782b85 author Clemens Ladisch Sun, 30 Oct 2005 15:03:32 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: remove superfluous register reads This patch removes several reads of a timer's config register that serve no purpose whatsoever. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 642d30bbc73512269de1524251ccc378d7782b85 tree 28dde2739627db059b8c53a654cbaf03a653fb41 parent ba3f213f8a31af953b7e86b1d102c919e9935cd4 author Clemens Ladisch Sun, 30 Oct 2005 15:03:31 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: remove unused variable The variable hpet_ntimer is never read, so remove it. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba3f213f8a31af953b7e86b1d102c919e9935cd4 tree 1056de1ccb2af403005aa05d5c52399aa36dd6ba parent 9090e6db87e3bdb2a2c187ebc0f9175a9f9e5c6f author Clemens Ladisch Sun, 30 Oct 2005 15:03:31 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] HPET: make frequency calculations 32 bit safe On 32-bit architectures, the multiplication in the argument for hpet_time_div() often overflows. In the typical case of a 14.32 MHz timer, this happens when the desired frequency exceeds 61 Hz. To avoid this multiplication, we can precompute and store the hardware timer frequency, instead of the period, in the device structure, which leaves us with a simple division when computing the number of timer ticks. As a side effect, this also removes a theoretical bug where the timer interpolator's frequency would be computed as a 32-bit value even if the HPET frequency is greater than 2^32 Hz (the HPET spec allows up to 10 GHz). Signed-off-by: Clemens Ladisch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9090e6db87e3bdb2a2c187ebc0f9175a9f9e5c6f tree 46e4a5a27f9d6c694aec2ffba54f90947e8b0477 parent 874ec33ff9ccf3651590697a2c2923b911bf31d0 author Clemens Ladisch Sun, 30 Oct 2005 15:03:29 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: disallow zero interrupt frequency Disallow setting an interrupt frequency of zero (which would result in a division by zero), and disallow enabling the interrupt when the frequency hasn't yet been set (which would use an interrupt period of zero). Signed-off-by: Clemens Ladisch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 874ec33ff9ccf3651590697a2c2923b911bf31d0 tree a51bbb74c76f446342c26201b1e2c82c23c7706f parent b888c87b7498557d1dbb9de3d4b8402b1bb89193 author Randy Dunlap Sun, 30 Oct 2005 15:03:29 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] sparse cleanups: NULL pointers, C99 struct init. Convert most of the remaining "Using plain integer as NULL pointer" sparse warnings to use NULL. (Not duplicating patches that are already in -mm, -bird, or -kj.) Convert isdn driver struct initializer to use C99 syntax. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b888c87b7498557d1dbb9de3d4b8402b1bb89193 tree 31d43ab177ef00fbef3d15c9513ba737029b6d48 parent 1b8333b02aa281a2849331ad62ee595c46a1c5ac author Andrew Morton Sun, 30 Oct 2005 15:03:28 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] tpm-tidies - Various whitespace fixes - Use kzalloc() Acked-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b8333b02aa281a2849331ad62ee595c46a1c5ac tree 9535b4538a47c05f55c59230bd215916d837e58a parent 570302a31149083b0ac8b2f08c195e9211c2c0c6 author Marcel Selhorst Sun, 30 Oct 2005 15:03:27 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] Infineon TPM: move infineon driver off pci_dev Move the Infineon TPM driver off pci device and makes it a pure pnp-driver. It includes pnp-port validation and region requesting. Signed-off-by: Marcel Selhorst Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 570302a31149083b0ac8b2f08c195e9211c2c0c6 tree af00d6c17b743dea7de89faf8bfaa13d66519830 parent 682e97aceafd8a41c6c7106c4f3b04cc36e0456c author Kylene Jo Hall Sun, 30 Oct 2005 15:03:26 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: move nsc driver off pci_dev This patch changes the nsc driver from a pci driver to a platform driver. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 682e97aceafd8a41c6c7106c4f3b04cc36e0456c tree 33a88dcee467a89353ee8b336e48e68dfc34b868 parent ce2c87d4f733b6fcd7b7fb1d5311c870339c9725 author Kylene Jo Hall Sun, 30 Oct 2005 15:03:25 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: move atmel driver off pci_dev This patch changes the atmel driver from a pci driver to a platform driver. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce2c87d4f733b6fcd7b7fb1d5311c870339c9725 tree 90d511a66075f648e0931ee1fc2b2ce760aaf40d parent e659a3fe2027b19ecd8abb7ad79253672763454b author Kylene Jo Hall Sun, 30 Oct 2005 15:03:25 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: change from pci_dev to dev power management functions This patch is in support of moving away from the lpc bus pci_dev. The power management prototypes used by platform drivers is different but the functionality remains the same. Signed-off-by: Kylene Hall Signed-off-by: Linus Torvalds commit e659a3fe2027b19ecd8abb7ad79253672763454b tree c9759f75695a19742693c9719e92253e2cd52b7e parent b4ed3e3cbb312869929cf4528d71e52629a6cacb author Kylene Jo Hall Sun, 30 Oct 2005 15:03:24 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: remove pci dependency Since the tpm does not have it's own pci id we have been consuming the lpc bus. This is not correct and causes problems to support non lpc bus chips. This patch removes the dependency on pci_dev from tpm.c The subsequent patches will stop the supported chips from registering as pci drivers. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4ed3e3cbb312869929cf4528d71e52629a6cacb tree d514dfb584eebf74f7d89d3cdd57618e55aaaeca parent 162a88f7b8539a097a088c0321ea1997cacccaea author Kylene Jo Hall Sun, 30 Oct 2005 15:03:23 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: add status function to allow non-lpc bus chips This patch is in preparation of supporting chips that are not necessarily on the lpc bus and thus are not accessed with inb's and outb's. The patch replaces the call to get the chip's status in the tpm.c file with a vendor specific status function. The patch also defines the function for each of the current supported devices. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 162a88f7b8539a097a088c0321ea1997cacccaea tree 8807fee6992586500a7a8f98beceecdb03f3970e parent 4098f9918e068e51fed1727f6ba80efcec372378 author Andi Kleen Sun, 30 Oct 2005 15:03:22 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] Don't set dcdbas driver to default m It's nasty to set random drivers to default m because people who just press enter on make oldconfig get these. Remove the default m Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4098f9918e068e51fed1727f6ba80efcec372378 tree 0495f14e29ad93c165988be49c70ec658fffd086 parent 70a6a0cb92f24fd6bbe2e75299168909f735676a author Paul Jackson Sun, 30 Oct 2005 15:03:21 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] sched: hardcode non-smp set_cpus_allowed Simplify the UP (1 CPU) implementatin of set_cpus_allowed. The one CPU is hardcoded to be cpu 0 - so just test for that bit, and avoid having to pick up the cpu_online_map. Also, unexport cpu_online_map: it was only needed for set_cpus_allowed(). Signed-off-by: Paul Jackson Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70a6a0cb92f24fd6bbe2e75299168909f735676a tree d57dc83325198a74c3b190930f73cf7c5edff42e parent b39f72fef241ce0ce971ed21922b4d64aefaf916 author Yuri Vasilevski Sun, 30 Oct 2005 15:03:20 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] fix build on nls free systems I made a patch that detects if libintl.h (needed for nls) is present on the host system and if it's not, it nls support is disabled by providing dummies for the used nls functions. This way if there is nls support on the host system the *config targets will build according to Arnaldo Carvalho de Melo's i18n modifications, else it just uses the original English messages. I have also made a bug report at kernel's bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=5501 And there is a discussion about this problem in Gentoo's bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=99810 Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b39f72fef241ce0ce971ed21922b4d64aefaf916 tree e1899adaec14cb5a0fc6cdf7f54be3015edc79fb parent 82da2c372712c772134d01317aa2517c923a74f8 author Horms Sun, 30 Oct 2005 15:03:19 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] README doesn't mention bzip2 source tarball Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82da2c372712c772134d01317aa2517c923a74f8 tree 89e30cd1d0191acc1fa1a03658226bdaa126a077 parent 5d57bd39eb3dbf2866b5f5cee8fbd7a29b00c56f author Paul Jackson Sun, 30 Oct 2005 15:03:19 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] lib/string.c cleanup: restore useful memmove const A couple of (char *) casts removed in a previous cleanup patch in lib/string.c:memmove() were actually useful, as they suppressed a couple of warnings: assignment discards qualifiers from pointer target type Fix by declaring the local variable const in the first place, so casts aren't needed to strip the const qualifier. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d57bd39eb3dbf2866b5f5cee8fbd7a29b00c56f tree 6fb9a7ff2f725625214d8624fda4ee42a44819a4 parent a3e713b5fdd0e54c2e3c8909ccde2a98839e3a52 author Matt Mackall Sun, 30 Oct 2005 15:03:18 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] Error checks omitted in init_tmpfs() in mm/tiny-shmem.c From: Hareesh Nagarajan Signed-off-by: Hareesh Nagarajan Acked-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3e713b5fdd0e54c2e3c8909ccde2a98839e3a52 tree c42c037f239de130f2efe30777df9688bf4dd022 parent 727a53bd535fe3bde644ac346db27456ad964083 author Andrew Morton Sun, 30 Oct 2005 15:03:15 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] __bread oops fix If a filesystem passes an idiotic blocksize into bread(), __getblk_slow() will warn and will return NULL. We have a report (from Hubert Tonneau ) of isofs_fill_super() doing this (passing in a silly block size) against an unplugged CDROM drive. But a couple of __getblk_slow() callers forgot to check for the NULL bh, hence oops. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 727a53bd535fe3bde644ac346db27456ad964083 tree 5dddcea38f3dd417311b1bcbf5692ad2aebe8c7e parent d269cdd0e22ef22f7f597ea917b1e8bdc6999fcb author Arthur Othieno Sun, 30 Oct 2005 15:03:14 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] semaphore: Remove __MUTEX_INITIALIZER() __MUTEX_INITIALIZER() has no users, and equates to the more commonly used DECLARE_MUTEX(), thus making it pretty much redundant. Remove it for good. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d269cdd0e22ef22f7f597ea917b1e8bdc6999fcb tree 193eef7d8aaac1d92af7c8101bdc0ee4a88e3a5c parent 708f430dcc50787d1c0b5c31962a5ff0dd8e35eb author Bjorn Helgaas Sun, 30 Oct 2005 15:03:14 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] rocketport: make it work when statically linked into kernel The driver had incorrectly wrapped module_init(rp_init) in #ifdef MODULE, so it worked only when compiled as a module. Tested by Wolfgang Denk with this device: 00:0e.0 Communication controller: Comtrol Corporation RocketPort 8 port w/RJ11 connectors (rev 04) Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR- Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 708f430dcc50787d1c0b5c31962a5ff0dd8e35eb tree 5c37085047a9c83555607e8811423da4dd3ed4ed parent a241ec65aeac3d69a08a7b153cccbdb7ea35063f author Roland McGrath Sun, 30 Oct 2005 15:03:13 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] posix-cpu-timers: fix overrun reporting This change corrects an omission in posix_cpu_timer_schedule, so that it correctly propagates the overrun calculation to where it will get reported to the user. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a241ec65aeac3d69a08a7b153cccbdb7ea35063f tree e96585e8b1e699f31bad1fa61f34d2ec7c3a187c parent b3099b48da23686d8378133b0264ee00385ee5fa author Paul E. McKenney Sun, 30 Oct 2005 15:03:12 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] RCU torture-testing kernel module This patch is a rewrite of the one submitted on October 1st, using modules (http://marc.theaimsgroup.com/?l=linux-kernel&m=112819093522998&w=2). This rewrite adds a tristate CONFIG_RCU_TORTURE_TEST, which enables an intense torture test of the RCU infratructure. This is needed due to the continued changes to the RCU infrastructure to accommodate dynamic ticks, CPU hotplug, realtime, and so on. Most of the code is in a separate file that is compiled only if the CONFIG variable is set. Documentation on how to run the test and interpret the output is also included. This code has been tested on i386 and ppc64, and an earlier version of the code has received extensive testing on a number of architectures as part of the PREEMPT_RT patchset. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3099b48da23686d8378133b0264ee00385ee5fa tree 742a90c526929037fe9ef7b2221b856078241b82 parent c0398ee6c2fe3c1743ecc74a6378b67ba0880a4f author Alexey Dobriyan Sun, 30 Oct 2005 15:03:11 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] fs/attr.c: remove BUG() Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0398ee6c2fe3c1743ecc74a6378b67ba0880a4f tree 7cf685c6bf404b7c1a063ecf47af1273f60d72c7 parent ed8b39d0aaea90df528ebe3756cbef8f735a93e6 author Nikita Danilov Sun, 30 Oct 2005 15:03:10 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] include/linux/kernel.h:BUILD_BUG_ON(): fix a comment Fix comment describing BUILD_BUG_ON: BUG_ON is not an assertion (unfortunately). Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed8b39d0aaea90df528ebe3756cbef8f735a93e6 tree 3f2257b41d1bdfdc18116a901e3468e4d2bdd7cf parent 413a42e2eac0c90264a6a0c9ce1913dfb2376f7a author Laurent Riffard Sun, 30 Oct 2005 15:03:09 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] watchdog: update .owner field of struct pci_driver This updates .owner field of struct pci_driver. This allows SYSFS to create the symlink from the driver to the module which provides it. Signed-off-by: Laurent Riffard Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 413a42e2eac0c90264a6a0c9ce1913dfb2376f7a tree 6f2ad87f9ede277373301be18d8e1cc235a4086d parent 8f04dd0792935cd520662cc256bd53f50fc4410b author Laurent Riffard Sun, 30 Oct 2005 15:03:08 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] SyncLink adapters: updates .owner field of struct pci_driver This updates .owner field of struct pci_driver. This allows SYSFS to create the symlink from the driver to the module which provides it. Signed-off-by: Laurent Riffard Cc: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f04dd0792935cd520662cc256bd53f50fc4410b tree 2ab80177541e9495896d1e1a855042e8c4131450 parent 1a66ddcb770fbd20ce115910c7828cafdba099c1 author Laurent Riffard Sun, 30 Oct 2005 15:03:08 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] epca: update .owner field of struct pci_driver This updates .owner field of struct pci_driver. This allows SYSFS to create the symlink from the driver to the module which provides it. Signed-off-by: Laurent Riffard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a66ddcb770fbd20ce115910c7828cafdba099c1 tree 56a3598cacb359f03f81ebfde68ab25d054e53d2 parent 2973dfdb877c17b36c27ba66d71028ff1eb2f32e author Pozsar Balazs Sun, 30 Oct 2005 15:03:06 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] fix vgacon blanking This patch fixes a long-standing vgacon bug: characters with the bright bit set were left on the screen and not blacked out. All I did was that I lookuped up some examples on the net about setting the vga palette, and added the call missing from the linux kernel, but included in all other ones. It works for me. You can test this by writing something with the bright set to the console, for example: echo -e "\e[1;31mhello there\e[0m" and then wait for the console to blank itself (by default, after 10 mins of inactivity), maybe making it faster using setterm -blank 1 so you only have to wait 1 minute. Signed-off-by: Pozsar Balazs Cc: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2973dfdb877c17b36c27ba66d71028ff1eb2f32e tree 9734599068f3fcf7cd33f948235588f7a275d193 parent 7f04c26d715a2467a49a2384268de8f70f787b51 author Glauber de Oliveira Costa Sun, 30 Oct 2005 15:03:05 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] Test for sb_getblk return value This patch adds tests for the return value of sb_getblk() in the ext2/3 filesystems. In fs/buffer.c it is stated that the getblk() function never fails. However, it does can return NULL in some situations due to I/O errors, which may lead us to NULL pointer dereferences Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f04c26d715a2467a49a2384268de8f70f787b51 tree 8507e9f705f063d996857789261b762b24fad94f parent 52303e8b5f8aa234865d40d76ea16b0ff4b27022 author Andrea Arcangeli Sun, 30 Oct 2005 15:03:05 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] fix nr_unused accounting, and avoid recursing in iput with I_WILL_FREE set list_move(&inode->i_list, &inode_in_use); } else { list_move(&inode->i_list, &inode_unused); + inodes_stat.nr_unused++; } } wake_up_inode(inode); Are you sure the above diff is correct? It was added somewhere between 2.6.5 and 2.6.8. I think it's wrong. The only way I can imagine the i_count to be zero in the above path, is that I_WILL_FREE is set. And if I_WILL_FREE is set, then we must not increase nr_unused. So I believe the above change is buggy and it will definitely overstate the number of unused inodes and it should be backed out. Note that __writeback_single_inode before calling __sync_single_inode, can drop the spinlock and we can have both the dirty and locked bitflags clear here: spin_unlock(&inode_lock); __wait_on_inode(inode); iput(inode); XXXXXXX spin_lock(&inode_lock); } use inode again here a construct like the above makes zero sense from a reference counting standpoint. Either we don't ever use the inode again after the iput, or the inode_lock should be taken _before_ executing the iput (i.e. a __iput would be required). Taking the inode_lock after iput means the iget was useless if we keep using the inode after the iput. So the only chance the 2.6 was safe to call __writeback_single_inode with the i_count == 0, is that I_WILL_FREE is set (I_WILL_FREE will prevent the VM to free the inode in XXXXX). Potentially calling the above iput with I_WILL_FREE was also wrong because it would recurse in iput_final (the second mainline bug). The below (untested) patch fixes the nr_unused accounting, avoids recursing in iput when I_WILL_FREE is set and makes sure (with the BUG_ON) that we don't corrupt memory and that all holders that don't set I_WILL_FREE, keeps a reference on the inode! Signed-off-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52303e8b5f8aa234865d40d76ea16b0ff4b27022 tree f109cfbc5cad79c691eca76ebcb8e4d078381368 parent c4dd0e4c6336bd17fea38bcad636eafa2941cf9f author Pavel Roskin Sun, 30 Oct 2005 15:03:03 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] modules: fix sparse warning for every MODULE_PARM sparse complains about every MODULE_PARM used in a module: warning: symbol '__parm_foo' was not declared. Should it be static? The fix is to split declaration and initialization. While MODULE_PARM is obsolete, it's not something sparse should report. Signed-off-by: Pavel Roskin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c4dd0e4c6336bd17fea38bcad636eafa2941cf9f tree 7f763e6e282c2ffb4fd1265478de80ac82e8e4a1 parent 0b360adbdb54d5b98b78d57ba0916bc4b8871968 author Nicolas Pitre Sun, 30 Oct 2005 15:03:02 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] extable: remove needless declaration They aren't used anywhere in that file. Signed-off-by: Nicolas Pitre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b360adbdb54d5b98b78d57ba0916bc4b8871968 tree b793404c03c0ae77929786d0c501030791253163 parent eb8e317998e55dc1f9e6288564052b577327b766 author Andrew Morton Sun, 30 Oct 2005 15:03:02 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] setkeys needs root Because people can play games reprogramming keys and leaving traps for the next user of the console. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb8e317998e55dc1f9e6288564052b577327b766 tree 46cf4b7f44b97184d32694f5e23c7980e0f762f2 parent ecea8d19c9f0ebd62ddaa07fc919ff4e4b820d99 author Randy Dunlap Sun, 30 Oct 2005 15:03:01 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] firmware: fix all kernel-doc warnings Convert existing function docs to kernel-doc format. Eliminate all kernel-doc warnings. Fix some doc typos and a little whitespace cleanup. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecea8d19c9f0ebd62ddaa07fc919ff4e4b820d99 tree 189de0b898157618fbf08ec6e4adc8e5cce71ec3 parent 371e8c25b65f2fe7942868a8a67129d571e94076 author Thomas Gleixner Sun, 30 Oct 2005 15:03:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] jiffies_64 cleanup Define jiffies_64 in kernel/timer.c rather than having 24 duplicated defines in each architecture. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 371e8c25b65f2fe7942868a8a67129d571e94076 tree 02364e0434b01ef0778488f1468cd5807d39f4cd parent 381be25458524f9bcec5bf1e40c82d1ebb408475 author Brian Gerst Sun, 30 Oct 2005 15:03:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] Remove orphaned TIOCGDEV compat ioctl This ioctl doesn't exist for native i386. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 381be25458524f9bcec5bf1e40c82d1ebb408475 tree dc6ea4d6cf0ef93b8cb5103d53caea6333b129cc parent 1a80ba88273097933f93b1f40537337416798c70 author Ben Dooks Sun, 30 Oct 2005 15:02:56 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] ext3: sparse fixes Fix warnings from sparse due to un-declared functions that should either have a header file or have been declared static fs/ext2/bitmap.c:14:15: warning: symbol 'ext2_count_free' was not declared. Should it be static? fs/ext2/namei.c:92:15: warning: symbol 'ext2_get_parent' was not declared. Should it be static? fs/ext3/bitmap.c:15:15: warning: symbol 'ext3_count_free' was not declared. Should it be static? fs/ext3/namei.c:1013:15: warning: symbol 'ext3_get_parent' was not declared. Should it be static? fs/ext3/xattr.c:214:1: warning: symbol 'ext3_xattr_block_get' was not declared. Should it be static? fs/ext3/xattr.c:358:1: warning: symbol 'ext3_xattr_block_list' was not declared. Should it be static? fs/ext3/xattr.c:630:1: warning: symbol 'ext3_xattr_block_find' was not declared. Should it be static? fs/ext3/xattr.c:863:1: warning: symbol 'ext3_xattr_ibody_find' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a80ba88273097933f93b1f40537337416798c70 tree 1c4ed39f0e19e342edac86349268c0964cdede43 parent 1291cf4163d21f1b4999d697cbf68d38e7151c28 author Mark Gross Sun, 30 Oct 2005 15:02:55 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] Telecom Clock Driver for MPCBL0010 ATCA computer blade Signed-off-by: Mark Gross Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1291cf4163d21f1b4999d697cbf68d38e7151c28 tree 0e1c3e3970216c769f91f6077b0e23d47d6fd333 parent f7232056bff5fe2d3bfeab35252a66ebaeb5bbde author Oleg Nesterov Sun, 30 Oct 2005 15:02:54 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] fix de_thread() vs do_coredump() deadlock de_thread() sends SIGKILL to all sub-threads and waits them to die in 'D' state. It is possible that one of the threads already dequeued coredump signal. When de_thread() unlocks ->sighand->lock that thread can enter do_coredump()->coredump_wait() and cause a deadlock. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7232056bff5fe2d3bfeab35252a66ebaeb5bbde tree a3dd4fd813ca169e9364a1d751c6236c3d2715c4 parent 6ea05db06f32adac65b4c4e95ef998839149de12 author Carlos Sanchez Sun, 30 Oct 2005 15:02:53 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] Added a Receive_Abort to the Marvell serial driver Added a Receive_Abort to the Marvell serial driver Fix occasional input overrun errors on Marvell serial driver - If the Marvell serial driver is repeatedly started and then stopped it will occasionally report an input overrun error when started. - Added a Receive_Abort to the Marvell serial driver to abort previously received receive errors when re-starting the receive Acked-by: Mark A. Greer Signed-off-by: Carlos Sanchez Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ea05db06f32adac65b4c4e95ef998839149de12 tree 61ed5416cdf3802dbd7ce3391f0345db75c7c301 parent 1779381dea3bada407396742c56bee31ffa8544e author Miklos Szeredi Sun, 30 Oct 2005 15:02:52 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] fuse: remove unused define Setting ctime is implicit in all setattr cases, so the FATTR_CTIME definition is unnecessary. It is used by neither the kernel nor by userspace. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1779381dea3bada407396742c56bee31ffa8544e tree bf24990d1ba97eed5a60d9a795ba35620cace757 parent 2a38bccd0c63a4954ea4e1357cbff404aa321afb author Miklos Szeredi Sun, 30 Oct 2005 15:02:51 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] fuse: spelling fixes Correct some typos and inconsistent use of "initialise" vs "initialize" in comments. Reported by Ioannis Barkas. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a38bccd0c63a4954ea4e1357cbff404aa321afb tree 13b0357716d888cce56d0387f394098cc1281a4b parent 7f2a52555998c699a7e89f24636c909d6fc08a60 author Jesper Juhl Sun, 30 Oct 2005 15:02:51 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] Kconfig help text correction for CONFIG_FRAME_POINTER Fix-up the CONFIG_FRAME_POINTER help text language a bit. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f2a52555998c699a7e89f24636c909d6fc08a60 tree 98ef1254ab3e727ba3470d4eeaf064d5dcb48614 parent 396dc44bcac58f464b7b23c345052e37881cccea author Roland McGrath Sun, 30 Oct 2005 15:02:50 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] wait4 PTRACE_ATTACH race fix Back about a year ago when I last fiddled heavily with the do_wait code, I was thinking too hard about the wrong thing and I now think I introduced a bug whose inverse thought I was fixing. Apparently noone was looking too hard over much shoulder, so as to cite my bogus reasoning at the time. In the race condition when PTRACE_ATTACH is about to steal a child and then the child hits a tracing event (what my_ptrace_child checks for), the real parent does need to set its flag noting it has some eligible live children. Otherwise a spurious ECHILD error is possible, since the child in question is not yet on the ptrace_children list. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 396dc44bcac58f464b7b23c345052e37881cccea tree 1156e342fc1ec7ca157903487287b4f3a4047198 parent 5b11687924e40790deb0d5f959247ade82196665 author Pat Gefre Sun, 30 Oct 2005 15:02:49 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] ioc4 serial support - mostly cleanup Various small mods for the Altix ioc4 serial driver - mostly cleanup: - remove UIF_INITIALIZED usage - use the 'lock' from uart_port - better multiple card support Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b11687924e40790deb0d5f959247ade82196665 tree 29aa104cc40bd2c85e7bba0f4b404b04cd6f207a parent 2384f55f8aa520172c995965bd2f8a9740d53095 author Glauber de Oliveira Costa Sun, 30 Oct 2005 15:02:48 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] Locking problems while EXT3FS_DEBUG on I noticed some problems while running ext3 with the debug flag set on. More precisely, I was unable to umount the filesystem. Some investigation took me to the patch that follows. At a first glance , the lock/unlock I've taken out seems really not necessary, as the main code (outside debug) does not lock the super. The only additional danger operations that debug code introduces seems to be related to bitmap, but bitmap operations tends to be all atomic anyway. I also took the opportunity to fix 2 spelling errors. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2384f55f8aa520172c995965bd2f8a9740d53095 tree 3f2f746529a760824d87f790418bacb94cc5a247 parent 7407251a0e2ed099e4b12b742b635503e981507c author Oleg Nesterov Sun, 30 Oct 2005 15:02:47 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] coredump_wait() cleanup This patch deletes pointless code from coredump_wait(). 1. It does useless mm->core_waiters inc/dec under mm->mmap_sem, but any changes to ->core_waiters have no effect until we drop ->mmap_sem. 2. It calls yield() for absolutely unknown reason. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7407251a0e2ed099e4b12b742b635503e981507c tree 826c78104c96a3982ff8348484749c718f4a413a parent 40dc565122ed1e180a0637f88cdfca734d33db78 author Coywolf Qi Hunt Sun, 30 Oct 2005 15:02:47 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] PF_DEAD cleanup The PF_DEAD setting doesn't belong to exit_notify(), move it to a proper place. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40dc565122ed1e180a0637f88cdfca734d33db78 tree 3076103886ae7f60c9a3cfabaebef821c1e39b10 parent 2a91f3e54ff27c6002597f689ba51c5fa657ddbd author Jesper Juhl Sun, 30 Oct 2005 15:02:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] cleanup for kernel/printk.c - Removes some trailing whitespace - Breaks long lines and make other small changes to conform to CodingStyle - Add explicit printk loglevels in two places. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a91f3e54ff27c6002597f689ba51c5fa657ddbd tree fdf7632886716b66f2c335b2a6169a192d329c46 parent 20e1129ab831486c811d50d3905343ad48c4275f author Jesper Juhl Sun, 30 Oct 2005 15:02:45 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] ide-cd mini cleanup of casts Remove some unneeded casts. Avoid an assignment in the case of kmalloc failure. Break a few instances of if (foo) whatever; into two lines. Signed-off-by: Jesper Juhl Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20e1129ab831486c811d50d3905343ad48c4275f tree ab99b7172b903d2b4d3c58d45c11c41e4bba9c87 parent 29db9190634067c5a328ee5fcc2890251b836b4b author David Howells Sun, 30 Oct 2005 15:02:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] Keys: Get rid of warning in kmod.c if keys disabled The attached patch gets rid of a "statement without effect" warning when CONFIG_KEYS is disabled by making use of the return value of key_get(). The compiler will optimise all of this away when keys are disabled. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29db9190634067c5a328ee5fcc2890251b836b4b tree 07ec242789230824f1fa8bcbbe681fd5bf166fa8 parent 2aa349f6e37ce030060c994d3aebbff4ab703565 author David Howells Sun, 30 Oct 2005 15:02:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] Keys: Add LSM hooks for key management [try #3] The attached patch adds LSM hooks for key management facilities. The notable changes are: (1) The key struct now supports a security pointer for the use of security modules. This will permit key labelling and restrictions on which programs may access a key. (2) Security modules get a chance to note (or abort) the allocation of a key. (3) The key permission checking can now be enhanced by the security modules; the permissions check consults LSM if all other checks bear out. (4) The key permissions checking functions now return an error code rather than a boolean value. (5) An extra permission has been added to govern the modification of attributes (UID, GID, permissions). Note that there isn't an LSM hook specifically for each keyctl() operation, but rather the permissions hook allows control of individual operations based on the permission request bits. Key management access control through LSM is enabled by automatically if both CONFIG_KEYS and CONFIG_SECURITY are enabled. This should be applied on top of the patch ensubjected: [PATCH] Keys: Possessor permissions should be additive Signed-Off-By: David Howells Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2aa349f6e37ce030060c994d3aebbff4ab703565 tree 7a0937469f0376931b82d9c3392727dba13c9d45 parent 1426d7a81dea8e9d85f9d69de85ab04ba37018ab author David Howells Sun, 30 Oct 2005 15:02:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] Keys: Export user-defined keyring operations Export user-defined key operations so that those who wish to define their own key type based on the user-defined key operations may do so (as has been requested). The header file created has been placed into include/keys/user-type.h, thus creating a directory where other key types may also be placed. Any objections to doing this? Signed-Off-By: David Howells Signed-Off-By: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1426d7a81dea8e9d85f9d69de85ab04ba37018ab tree f2a7bbe0e60437cf73199b6003da677ee8ff0424 parent c7e9dd4dd0b8dd75c410011b3c8f9980112fd0f8 author Tejun Heo Sun, 30 Oct 2005 15:02:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] vm: remove unused/broken page_pte[_prot] macros This patch removes page_pte_prot and page_pte macros from all architectures. Some architectures define both, some only page_pte (broken) and others none. These macros are not used anywhere. page_pte_prot(page, prot) is identical to mk_pte(page, prot) and page_pte(page) is identical to page_pte_prot(page, __pgprot(0)). * The following architectures define both page_pte_prot and page_pte arm, arm26, ia64, sh64, sparc, sparc64 * The following architectures define only page_pte (broken) frv, i386, m32r, mips, sh, x86-64 * All other architectures define neither Signed-off-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7e9dd4dd0b8dd75c410011b3c8f9980112fd0f8 tree f044e989da0864fb614200f419f8185de5bd5560 parent 39e88ca2c9d0f6d1e9f34ea2a6e86a652bb69a7a author Tejun Heo Sun, 30 Oct 2005 15:02:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] vm: remove redundant assignment from __pagevec_release_nonlru() This patch removes redundant assignment from __pagevec_release_nonlru(). pages_to_free.cold is set to pvec->cold by pagevec_init() call right above the assignment. Signed-off-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39e88ca2c9d0f6d1e9f34ea2a6e86a652bb69a7a tree 6ee9c7f3c26ac47bb45cc835e14dc9552ceed095 parent 30e0fca6c1d7d26f3f2daa4dd2b12c51dadc778a author Tejun Heo Sun, 30 Oct 2005 15:02:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] fs: error case fix in __generic_file_aio_read When __generic_file_aio_read() hits an error during reading, it reports the error iff nothing has successfully been read yet. This is condition - when an error occurs, if nothing has been read/written, report the error code; otherwise, report the amount of bytes successfully transferred upto that point. This corner case can be exposed by performing readv(2) with the following iov. iov[0] = len0 @ ptr0 iov[1] = len1 @ NULL (or any other invalid pointer) iov[2] = len2 @ ptr2 When file size is enough, performing above readv(2) results in len0 bytes from file_pos @ ptr0 len2 bytes from file_pos + len0 @ ptr2 And the return value is len0 + len2. Test program is attached to this mail. This patch makes __generic_file_aio_read()'s error handling identical to other functions. #include #include #include #include #include #include #include #include #include int main(int argc, char **argv) { const char *path; struct stat stbuf; size_t len0, len1; void *buf0, *buf1; struct iovec iov[3]; int fd, i; ssize_t ret; if (argc < 2) { fprintf(stderr, "Usage: testreadv path (better be a " "small text file)\n"); return 1; } path = argv[1]; if (stat(path, &stbuf) < 0) { perror("stat"); return 1; } len0 = stbuf.st_size / 2; len1 = stbuf.st_size - len0; if (!len0 || !len1) { fprintf(stderr, "Dude, file is too small\n"); return 1; } if ((fd = open(path, O_RDONLY)) < 0) { perror("open"); return 1; } if (!(buf0 = malloc(len0)) || !(buf1 = malloc(len1))) { perror("malloc"); return 1; } memset(buf0, 0, len0); memset(buf1, 0, len1); iov[0].iov_base = buf0; iov[0].iov_len = len0; iov[1].iov_base = NULL; iov[1].iov_len = len1; iov[2].iov_base = buf1; iov[2].iov_len = len1; printf("vector "); for (i = 0; i < 3; i++) printf("%p:%zu ", iov[i].iov_base, iov[i].iov_len); printf("\n"); ret = readv(fd, iov, 3); if (ret < 0) perror("readv"); printf("readv returned %zd\nbuf0 = [%s]\nbuf1 = [%s]\n", ret, (char *)buf0, (char *)buf1); return 0; } Signed-off-by: Tejun Heo Cc: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30e0fca6c1d7d26f3f2daa4dd2b12c51dadc778a tree 945004584995e3af816125245bbb2436cc8ebc9e parent 68860ec10bcc07ab4f89f9d940e3b77ae5ca13b3 author Andrea Arcangeli Sun, 30 Oct 2005 15:02:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] ptrace/coredump/exit_group deadlock I could seldom reproduce a deadlock with a task not killable in T state (TASK_STOPPED, not TASK_TRACED) by attaching a NPTL threaded program to gdb, by segfaulting the task and triggering a core dump while some other task is executing exit_group and while one task is in ptrace_attached TASK_STOPPED state (not TASK_TRACED yet). This originated from a gdb bugreport (the fact gdb was segfaulting the task wasn't a kernel bug), but I just incidentally noticed the gdb bug triggered a real kernel bug as well. Most threads hangs in exit_mm because the core_dumping is still going, the core dumping hangs because the stopped task doesn't exit, the stopped task can't wakeup because it has SIGNAL_GROUP_EXIT set, hence the deadlock. To me it seems that the problem is that the force_sig_specific(SIGKILL) in zap_threads is a noop if the task has PF_PTRACED set (like in this case because gdb is attached). The __ptrace_unlink does nothing because the signal->flags is set to SIGNAL_GROUP_EXIT|SIGNAL_STOP_DEQUEUED (verified). The above info also shows that the stopped task hit a race and got the stop signal (presumably by the ptrace_attach, only the attach, state is still TASK_STOPPED and gdb hangs waiting the core before it can set it to TASK_TRACED) after one of the thread invoked the core dump (it's the core dump that sets signal->flags to SIGNAL_GROUP_EXIT). So beside the fact nobody would wakeup the task in __ptrace_unlink (the state is _not_ TASK_TRACED), there's a secondary problem in the signal handling code, where a task should ignore the ptrace-sigstops as long as SIGNAL_GROUP_EXIT is set (or the wakeup in __ptrace_unlink path wouldn't be enough). So I attempted to make this patch that seems to fix the problem. There were various ways to fix it, perhaps you prefer a different one, I just opted to the one that looked safer to me. I also removed the clearing of the stopped bits from the zap_other_threads (zap_other_threads was safe unlike zap_threads). I don't like useless code, this whole NPTL signal/ptrace thing is already unreadable enough and full of corner cases without confusing useless code into it to make it even less readable. And if this code is really needed, then you may want to explain why it's not being done in the other paths that sets SIGNAL_GROUP_EXIT at least. Even after this patch I still wonder who serializes the read of p->ptrace in zap_threads. Patch is called ptrace-core_dump-exit_group-deadlock-1. This was the trace I've got: test T ffff81003e8118c0 0 14305 1 14311 14309 (NOTLB) ffff810058ccdde8 0000000000000082 000001f4000037e1 ffff810000000013 00000000000000f8 ffff81003e811b00 ffff81003e8118c0 ffff810011362100 0000000000000012 ffff810017ca4180 Call Trace:{try_to_wake_up+893} {finish_stop+87} {get_signal_to_deliver+1359} {do_signal+157} {ptrace_check_attach+222} {sys_ptrace+2293} {default_wake_function+0} {sys_ioctl+73} {sysret_signal+28} {ptregscall_common+103} test D ffff810011362100 0 14309 1 14305 14312 (NOTLB) ffff810053c81cf8 0000000000000082 0000000000000286 0000000000000001 0000000000000195 ffff810011362340 ffff810011362100 ffff81002e338040 ffff810001e0ca80 0000000000000001 Call Trace:{try_to_wake_up+893} {wait_for_completion+173} {default_wake_function+0} {exit_mm+149} {do_exit+479} {do_group_exit+252} {get_signal_to_deliver+1451} {do_signal+157} {ptrace_check_attach+222} {specific_send_sig_info+2 {force_sig_info+186} {do_int3+112} {retint_signal+61} test D ffff81002e338040 0 14311 1 14716 14305 (NOTLB) ffff81005ca8dcf8 0000000000000082 0000000000000286 0000000000000001 0000000000000120 ffff81002e338280 ffff81002e338040 ffff8100481cb740 ffff810001e0ca80 0000000000000001 Call Trace:{try_to_wake_up+893} {wait_for_completion+173} {default_wake_function+0} {exit_mm+149} {do_exit+479} {__dequeue_signal+558} {do_group_exit+252} {get_signal_to_deliver+1451} {do_signal+157} {ptrace_check_attach+222} {specific_send_sig_info+208} {force_sig_info+186} {do_int3+112} {retint_signal+61} test D ffff810017ca4180 0 14312 1 14309 13882 (NOTLB) ffff81005d15fcb8 0000000000000082 ffff81005d15fc58 ffffffff80130816 0000000000000897 ffff810017ca43c0 ffff810017ca4180 ffff81003e8118c0 0000000000000082 ffffffff801317ed Call Trace:{activate_task+150} {try_to_wake_up+893} {wait_for_completion+173} {default_wake_function+0} {do_coredump+819} {thread_return+82} {get_signal_to_deliver+1444} {do_signal+157} {ptrace_check_attach+222} {specific_send_sig_info+2 {_spin_unlock_irqrestore+5} {force_sig_info+186} {do_general_protection+159} {retint_signal+61} Signed-off-by: Andrea Arcangeli Cc: Roland McGrath Cc: Ingo Molnar Cc: Linus Torvalds Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68860ec10bcc07ab4f89f9d940e3b77ae5ca13b3 tree a411f9623a113d72f23da38cf2de51f66c177873 parent fb5eeeee44edb248b4837416966f19731f497f79 author Paul Jackson Sun, 30 Oct 2005 15:02:36 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] cpusets: automatic numa mempolicy rebinding This patch automatically updates a tasks NUMA mempolicy when its cpuset memory placement changes. It does so within the context of the task, without any need to support low level external mempolicy manipulation. If a system is not using cpusets, or if running on a system with just the root (all-encompassing) cpuset, then this remap is a no-op. Only when a task is moved between cpusets, or a cpusets memory placement is changed does the following apply. Otherwise, the main routine below, rebind_policy() is not even called. When mixing cpusets, scheduler affinity, and NUMA mempolicies, the essential role of cpusets is to place jobs (several related tasks) on a set of CPUs and Memory Nodes, the essential role of sched_setaffinity is to manage a jobs processor placement within its allowed cpuset, and the essential role of NUMA mempolicy (mbind, set_mempolicy) is to manage a jobs memory placement within its allowed cpuset. However, CPU affinity and NUMA memory placement are managed within the kernel using absolute system wide numbering, not cpuset relative numbering. This is ok until a job is migrated to a different cpuset, or what's the same, a jobs cpuset is moved to different CPUs and Memory Nodes. Then the CPU affinity and NUMA memory placement of the tasks in the job need to be updated, to preserve their cpuset-relative position. This can be done for CPU affinity using sched_setaffinity() from user code, as one task can modify anothers CPU affinity. This cannot be done from an external task for NUMA memory placement, as that can only be modified in the context of the task using it. However, it easy enough to remap a tasks NUMA mempolicy automatically when a task is migrated, using the existing cpuset mechanism to trigger a refresh of a tasks memory placement after its cpuset has changed. All that is needed is the old and new nodemask, and notice to the task that it needs to rebind its mempolicy. The tasks mems_allowed has the old mask, the tasks cpuset has the new mask, and the existing cpuset_update_current_mems_allowed() mechanism provides the notice. The bitmap/cpumask/nodemask remap operators provide the cpuset relative calculations. This patch leaves open a couple of issues: 1) Updating vma and shmfs/tmpfs/hugetlbfs memory policies: These mempolicies may reference nodes outside of those allowed to the current task by its cpuset. Tasks are migrated as part of jobs, which reside on what might be several cpusets in a subtree. When such a job is migrated, all NUMA memory policy references to nodes within that cpuset subtree should be translated, and references to any nodes outside that subtree should be left untouched. A future patch will provide the cpuset mechanism needed to mark such subtrees. With that patch, we will be able to correctly migrate these other memory policies across a job migration. 2) Updating cpuset, affinity and memory policies in user space: This is harder. Any placement state stored in user space using system-wide numbering will be invalidated across a migration. More work will be required to provide user code with a migration-safe means to manage its cpuset relative placement, while preserving the current API's that pass system wide numbers, not cpuset relative numbers across the kernel-user boundary. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb5eeeee44edb248b4837416966f19731f497f79 tree f947a4dcf103f55d526bb5c71f69b657d8f22e61 parent 28a42b9ea7e42e1efb02cc2dcacba0b6af234e1b author Paul Jackson Sun, 30 Oct 2005 15:02:33 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: bitmap and mask remap operators In the forthcoming task migration support, a key calculation will be mapping cpu and node numbers from the old set to the new set while preserving cpuset-relative offset. For example, if a task and its pages on nodes 8-11 are being migrated to nodes 24-27, then pages on node 9 (the 2nd node in the old set) should be moved to node 25 (the 2nd node in the new set.) As with other bitmap operations, the proper way to code this is to provide the underlying calculation in lib/bitmap.c, and then to provide the usual cpumask and nodemask wrappers. This patch provides that. These operations are termed 'remap' operations. Both remapping a single bit and a set of bits is supported. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28a42b9ea7e42e1efb02cc2dcacba0b6af234e1b tree 1415acfeec32553888f870eb5c0debc370e1d3b7 parent 18a19cb3047e454ee5ecbc35d7acf3f8e09e0466 author Paul Jackson Sun, 30 Oct 2005 15:02:32 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: confine pdflush to its cpuset This patch keeps pdflush daemons on the same cpuset as their parent, the kthread daemon. Some large NUMA configurations put as much as they can of kernel threads and other classic Unix load in what's called a bootcpuset, keeping the rest of the system free for dedicated jobs. This effort is thwarted by pdflush, which dynamically destroys and recreates pdflush daemons depending on load. It's easy enough to force the originally created pdflush deamons into the bootcpuset, at system boottime. But the pdflush threads created later were allowed to run freely across the system, due to the necessary line in their startup kthread(): set_cpus_allowed(current, CPU_MASK_ALL); By simply coding pdflush to start its threads with the cpus_allowed restrictions of its cpuset (inherited from kthread, its parent) we can ensure that dynamically created pdflush threads are also kept in the bootcpuset. On systems w/o cpusets, or w/o a bootcpuset implementation, the following will have no affect, leaving pdflush to run on any CPU, as before. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18a19cb3047e454ee5ecbc35d7acf3f8e09e0466 tree ad91d0024d886bdd207ba72e875e736e833de616 parent 053199edf54f685e7dea765b60d4d5e9070dadec author Paul Jackson Sun, 30 Oct 2005 15:02:31 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: simple rename Add support for renaming cpusets. Only allow simple rename of cpuset directories in place. Don't allow moving cpusets elsewhere in hierarchy or renaming the special cpuset files in each cpuset directory. The usefulness of this simple rename became apparent when developing task migration facilities. It allows building a second cpuset hierarchy using new names and containing new CPUs and Memory Nodes, moving tasks from the old to the new cpusets, removing the old cpusets, and then renaming the new cpusets to be just like the old names, so that any knowledge that the tasks had of their cpuset names will still be valid. Leaf node cpusets can be migrated to other CPUs or Memory Nodes by just updating their 'cpus' and 'mems' files, but because no cpuset can contain CPUs or Nodes not in its parent cpuset, one cannot do this in a cpuset hierarchy without first expanding all the non-leaf cpusets to contain the union of both the old and new CPUs and Nodes, which would obfuscate the one-to-one migration of a task from one cpuset to another required to correctly migrate the physical page frames currently allocated to that task. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 053199edf54f685e7dea765b60d4d5e9070dadec tree a2d12a8b7f07b59048da992e7ae9405bc4ee292b parent 5aa15b5f27fc2c404530c6c8eabdb8437deb3163 author Paul Jackson Sun, 30 Oct 2005 15:02:30 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: dual semaphore locking overhaul Overhaul cpuset locking. Replace single semaphore with two semaphores. The suggestion to use two locks was made by Roman Zippel. Both locks are global. Code that wants to modify cpusets must first acquire the exclusive manage_sem, which allows them read-only access to cpusets, and holds off other would-be modifiers. Before making actual changes, the second semaphore, callback_sem must be acquired as well. Code that needs only to query cpusets must acquire callback_sem, which is also a global exclusive lock. The earlier problems with double tripping are avoided, because it is allowed for holders of manage_sem to nest the second callback_sem lock, and only callback_sem is needed by code called from within __alloc_pages(), where the double tripping had been possible. This is not quite the same as a normal read/write semaphore, because obtaining read-only access with intent to change must hold off other such attempts, while allowing read-only access w/o such intention. Changing cpusets involves several related checks and changes, which must be done while allowing read-only queries (to avoid the double trip), but while ensuring nothing changes (holding off other would be modifiers.) This overhaul of cpuset locking also makes careful use of task_lock() to guard access to the task->cpuset pointer, closing a couple of race conditions noticed while reading this code (thanks, Roman). I've never seen these races fail in any use or test. See further the comments in the code. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5aa15b5f27fc2c404530c6c8eabdb8437deb3163 tree 914f0b33f5190bd0183cde2e9f6da552d3d1d7aa parent f35f31d7ed0150f9865619f21b5050c91b46c03f author Paul Jackson Sun, 30 Oct 2005 15:02:28 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: remove depth counted locking hack Remove a rather hackish depth counter on cpuset locking. The depth counter was avoiding a possible double trip on the global cpuset_sem semaphore. It worked, but now an improved version of cpuset locking is available, to come in the next patch, using two global semaphores. This patch reverses "cpuset semaphore depth check deadlock fix" The kernel still works, even after this patch, except for some rare and difficult to reproduce race conditions when agressively creating and destroying cpusets marked with the notify_on_release option, on very large systems. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f35f31d7ed0150f9865619f21b5050c91b46c03f tree fb33df4eb302de0d249682e77d3d07bd6f6611ba parent e9543659715602e3180f00a227bb6db34141ac41 author Paul Jackson Sun, 30 Oct 2005 15:02:27 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpuset cleanup Remove one more useless line from cpuset_common_file_read(). Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9543659715602e3180f00a227bb6db34141ac41 tree afcb9c04209060ae8df22c84ed3c85a859f27179 parent f12ec44070f6b4d1a3911fcf9917cf8f872a4daf author Kirill Korotaev Sun, 30 Oct 2005 15:02:26 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] proc: fix of error path in proc_get_inode() This patch fixes incorrect error path in proc_get_inode(), when module can't be get due to being unloaded. When try_module_get() fails, this function puts de(!) and still returns inode with non-getted de. There are still unresolved known bugs in proc yet to be fixed: - proc_dir_entry tree is managed without any serialization - create_proc_entry() doesn't setup de->owner anyhow, so setting it later manually is inatomic. - looks like almost all modules do not care whether it's de->owner is set... Signed-Off-By: Denis Lunev Signed-Off-By: Kirill Korotaev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f12ec44070f6b4d1a3911fcf9917cf8f872a4daf tree aaaa60dc437720372637a5a95f4fcd7648d7b9c5 parent 15d2bace5ec907530a3d0e0cf4bb1bd29f3ad7b7 author Miklos Szeredi Sun, 30 Oct 2005 15:02:25 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] fuse: clean up dead code related to nfs exporting Remove last remains of NFS exportability support. The code is actually buggy (as reported by Akshat Aranya), since 'alias' will be leaked if it's non-null and alias->d_flags has DCACHE_DISCONNECTED. This is not an active bug, since there will never be any disconnected dentries. But it's better to get rid of the unnecessary complexity anyway. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15d2bace5ec907530a3d0e0cf4bb1bd29f3ad7b7 tree 52434f3ad069dadb6e70461888c2a068c44a9738 parent 2ca7d93bb27876e5fd4ebfcb3b00627107bdad4d author Andrew Morton Sun, 30 Oct 2005 15:02:24 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] add_timer() of a pending timer is illegal In the recent timer rework we lost the check for an add_timer() of an already-pending timer. That check was useful for networking, so put it back. Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ca7d93bb27876e5fd4ebfcb3b00627107bdad4d tree db3dbc868db28f9983ce99911ee7795042fba502 parent 3fa63c7d82ab9a12a5d0a299069f8df9f35aa011 author Nate Diller Sun, 30 Oct 2005 15:02:24 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] block cleanups: Fix iosched module refcount leak If the requested I/O scheduler is already in place, elevator_switch simply leaves the queue alone, and returns. However, it forgets to call elevator_put, so 'echo [current_sched] > /sys/block/[dev]/queue/scheduler' will leak a reference, causing the current_sched module to be permanently pinned in memory. Signed-off-by: Nate Diller Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fa63c7d82ab9a12a5d0a299069f8df9f35aa011 tree 568e2eb557ff89359bd7de6bc307d0534fb1ea16 parent dfb7dac3af623a68262536437af008ed6aba4d88 author Jean Delvare Sun, 30 Oct 2005 15:02:23 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] Typo fix: dot after newline in printk strings Typo fix: dots appearing after a newline in printk strings. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfb7dac3af623a68262536437af008ed6aba4d88 tree fdc8a61c73257dcf8866cf7b9213ce78d2422e7f parent 7024a9b884ed7657fb873e655cd124d85ae792a4 author Christoph Hellwig Sun, 30 Oct 2005 15:02:22 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] unify sys_ptrace prototype Make sure we always return, as all syscalls should. Also move the common prototype to Signed-off-by: Christoph Hellwig Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7024a9b884ed7657fb873e655cd124d85ae792a4 tree fc5875027e18de4217019caf3fc112d5e38b72c5 parent 4eb9af2a8a431a832830f986fead7332dab27229 author Christoph Hellwig Sun, 30 Oct 2005 15:02:21 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] adjust parisc sys_ptrace prototype Make the pid argument a long as on every other arcihtecture. Despite pid_t beeing a 32bit type even on 64bit parisc this is not an ABI change due to the parisc calling conventions. And even if it did it wouldn't matter too much because 64bit userspace on parisc is in an embrionic stage. Acked-by: Matthew Wilcox Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4eb9af2a8a431a832830f986fead7332dab27229 tree 424d265f46c7d2e545235117e1b5dcfb074b5228 parent 33430dc593f866f5d67ff6a6213b6dd6d7ea3ce1 author Oleg Nesterov Sun, 30 Oct 2005 15:02:21 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] posix-timers: use schedule_timeout() in common_nsleep() common_nsleep() reimplements schedule_timeout_interruptible() for unknown reason. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33430dc593f866f5d67ff6a6213b6dd6d7ea3ce1 tree 37958aa06ee458e73806c2ca95de0888ee20cc96 parent 131dda7f8965a6b794dcde1d84f3ba5951a4d641 author Jean Delvare Sun, 30 Oct 2005 15:02:20 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] Typo fix: explictly -> explicitly (akpm: I don't do typo patches, but one of these is in a printk string) Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 131dda7f8965a6b794dcde1d84f3ba5951a4d641 tree 604154c55cf0077b128ddb15d7bb99c0bccad4ce parent 6dd69f1061bfdeca230509b173438e0731bff767 author Nate Diller Sun, 30 Oct 2005 15:02:19 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] block cleanups: Add kconfig default iosched submenu Add a kconfig submenu to select the default I/O scheduler, in case anticipatory is not compiled in or another default is preferred. Also, since no-op is always available, we should use it whenever the selected default is not. Signed-off-by: Nate Diller Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6dd69f1061bfdeca230509b173438e0731bff767 tree 66094a2fdf02fd808b0661cc2a26c6ff64d1c590 parent 19a4fcb531659f2f7d18b5d04cee039176e9540d author Vadim Lobanov Sun, 30 Oct 2005 15:02:18 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] Unify sys_tkill() and sys_tgkill() The majority of the sys_tkill() and sys_tgkill() function code is duplicated between the two of them. This patch pulls the duplication out into a separate function -- do_tkill() -- and lets sys_tkill() and sys_tgkill() be simple wrappers around it. This should make it easier to maintain in light of future changes. Signed-off-by: Vadim Lobanov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19a4fcb531659f2f7d18b5d04cee039176e9540d tree 30e0636d6163a5c0c3a4ad41c2d5f49cd858b457 parent 932aeafbe8521a9a9d790152d66020e0fef2029b author Oleg Nesterov Sun, 30 Oct 2005 15:02:17 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] kill sigqueue->lock This lock is used in sigqueue_free(), but it is always equal to current->sighand->siglock, so we don't need to keep it in the struct sigqueue. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 932aeafbe8521a9a9d790152d66020e0fef2029b tree 09b95edbd9c160962027a9b3dcbf3cb7fc7a2b90 parent 2f51201662b28dbf8c15fb7eb972bc51c6cc3fa5 author Oleg Nesterov Sun, 30 Oct 2005 15:02:17 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] fix de_thread vs it_real_fn() deadlock de_thread() calls del_timer_sync(->real_timer) under ->sighand->siglock. This is deadlockable, it_real_fn sends a signal and needs this lock too. Also, delete unneeded ->real_timer.data assignment. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f51201662b28dbf8c15fb7eb972bc51c6cc3fa5 tree 96826df796058560bc5dd1f7d8d476c5a741d7bc parent 503af334ecf23b9d65d2ff0cc759f3a0bf338290 author Eric Dumazet Sun, 30 Oct 2005 15:02:16 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] reduce sizeof(struct file) Now that RCU applied on 'struct file' seems stable, we can place f_rcuhead in a memory location that is not anymore used at call_rcu(&f->f_rcuhead, file_free_rcu) time, to reduce the size of this critical kernel object. The trick I used is to move f_rcuhead and f_list in an union called f_u The callers are changed so that f_rcuhead becomes f_u.fu_rcuhead and f_list becomes f_u.f_list Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 503af334ecf23b9d65d2ff0cc759f3a0bf338290 tree d2b646d9909993b70e77a335f08acb47db9a6c94 parent e15ae2dd3e436552293e122a5163019e7a0fa450 author Randy Dunlap Sun, 30 Oct 2005 15:02:15 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] clarify menuconfig /(search) help text Add explicit text about - where menuconfig '/' (search) searches for strings, - that substrings are allowed, and - that regular expressions are supported. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e15ae2dd3e436552293e122a5163019e7a0fa450 tree cc6b18dd364329faa07c39c77ac133b61a8befc7 parent 850b9247926693454f71e819883f4dc06184e25f author Jesper Juhl Sun, 30 Oct 2005 15:02:14 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] Whitespace and CodingStyle cleanup for lib/idr.c Cleanup trailing whitespace, blank lines, CodingStyle issues etc, for lib/idr.c Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 850b9247926693454f71e819883f4dc06184e25f tree c8cd596b48666f33864930b0bcde28d6aaf0740d parent cc75fb71c0100d921637a11ded5e333883be5df3 author Jesper Juhl Sun, 30 Oct 2005 15:02:13 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] lib/string.c cleanup: remove pointless explicit casts The first two hunks of the patch really belongs in patch 1, but I missed them on the first pass and instead of redoing all 3 patches I stuck them in this one. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc75fb71c0100d921637a11ded5e333883be5df3 tree cc305a6ab2cbd8d5f5754e1bf900a458d7d2a4cb parent 51a0f0f658b0e757d569e8ac224ccb6bbfe3c181 author Jesper Juhl Sun, 30 Oct 2005 15:02:12 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] lib/string.c cleanup: remove pointless register keyword Removes a few pointless register keywords. register is merely a compiler hint that access to the variable should be optimized, but gcc (3.3.6 in my case) generates the exact same code with and without the keyword, and even if gcc did something different with register present I think it is doubtful we would want to optimize access to these variables - especially since this is generic library code and there are supposed to be optimized versions in asm/ for anything that really matters speed wise. (akpm: iirc, keyword register is a gcc no-op unless using -O0) Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51a0f0f658b0e757d569e8ac224ccb6bbfe3c181 tree becec0c54a788616185ec31435ec1fb115c4f4c4 parent d97b321425e237e3e6c6bbe2c40dc0e09d0e3264 author Jesper Juhl Sun, 30 Oct 2005 15:02:11 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] lib/string.c cleanup: whitespace and CodingStyle cleanups Removes some blank lines, removes some trailing whitespace, adds spaces after commas and a few similar changes. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d97b321425e237e3e6c6bbe2c40dc0e09d0e3264 tree c119ade2f1c74918e34df729d62ec75113d83d8d parent 42e50a5a69f359e64a143eb0e11a57e18f10c262 author Amos Waterland Sun, 30 Oct 2005 15:02:10 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] protect ide_cdrom_capacity by ifdef The only call to ide_cdrom_capacity is in code protected by CONFIG_PROC_FS, so when that is not enabled, the compiler complains: drivers/ide/ide-cd.c:3259: warning: `ide_cdrom_capacity' defined but not used Here is a patch that fixes that. It provides some space savings for embedded systems that are not using procfs, as well: text data bss dec hex filename - 33540 6504 1032 41076 a074 drivers/ide/ide-cd.o + 33468 6480 1032 40980 a014 drivers/ide/ide-cd.o Signed-off-by: Amos Waterland Cc: Jens Axboe Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42e50a5a69f359e64a143eb0e11a57e18f10c262 tree 59912bfeeda4fdd34e4a586ecfa58969bd9cffda parent a92897286485735e3708af357f8bcaf0592bd77a author Miklos Szeredi Sun, 30 Oct 2005 15:02:09 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] open: cleanup in lookup_flags() lookup_flags() is only called from the non-create case, so it needn't check for O_CREAT|O_EXCL. Signed-off-by: Miklos Szeredi Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a92897286485735e3708af357f8bcaf0592bd77a tree 698e4623bdc794462c270ee3e5ef549503593f4a parent dfc4f94d2ff95fc92127d3e512c1df7cab274fb8 author Eric W. Biederman Sun, 30 Oct 2005 15:02:08 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] Don't uselessly export task_struct to userspace in core dumps task_struct is an internal structure to the kernel with a lot of good information, that is probably interesting in core dumps. However there is no way for user space to know what format that information is in making it useless. I grepped the GDB 6.3 source code and NT_TASKSTRUCT while defined is not used anywhere else. So I would be surprised if anyone notices it is missing. In addition exporting kernel pointers to all the interesting kernel data structures sounds like the very definition of an information leak. I haven't a clue what someone with evil intentions could do with that information, but in any attack against the kernel it looks like this is the perfect tool for aiming that attack. So since NT_TASKSTRUCT is useless as currently defined and is potentially dangerous, let's just not export it. (akpm: Daniel Jacobowitz "would be amazed" if anything was using NT_TASKSTRUCT). Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfc4f94d2ff95fc92127d3e512c1df7cab274fb8 tree c9ed4d74147a3674816f59cf9fbeb69e2cb6afe4 parent 89ada67917f516212452443a56b9fd3b65b74dc7 author Andrew Morton Sun, 30 Oct 2005 15:02:03 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] remove timer debug field Remove timer_list.magic and associated debugging code. I originally added this when a spinlock was added to timer_list - this meant that an all-zeroes timer became illegal and init_timer() was required. That spinlock isn't even there any more, although timer.base must now be initialised. I'll keep this debugging code in -mm. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89ada67917f516212452443a56b9fd3b65b74dc7 tree 00986fd653bf1973a70ae894f503b3b2352943b5 parent d61780c0d384939ef31c46b47442854d5def4623 author Christoph Lameter Sun, 30 Oct 2005 15:01:59 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] Use alloc_percpu to allocate workqueues locally This patch makes the workqueus use alloc_percpu instead of an array. The workqueues are placed on nodes local to each processor. The workqueue structure can grow to a significant size on a system with lots of processors if this patch is not applied. 64 bit architectures with all debugging features enabled and configured for 512 processors will not be able to boot without this patch. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d61780c0d384939ef31c46b47442854d5def4623 tree e655b4ea947c8d86cabbc3f58f406c18ae136b5f parent 34ad92c2388710cf24d27c896b8e6605c19a795c author Jeff Garzik Sun, 30 Oct 2005 15:01:51 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] remove some more check_region stuff Removed some more references to check_region(). I checked these changes into the 'checkreg' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git The only valid references remaining are in: drivers/scsi/advansys.c drivers/scsi/BusLogic.c drivers/cdrom/sbpcd.c sound/oss/pss.c Remove last vestiges of ide_check_region() drivers/char/specialix: trim trailing whitespace drivers/char/specialix: eliminate use of check_region() Remove outdated and unused references to check_region() [sound oss] remove check_region() usage from cs4232, wavfront [netdrvr eepro] trim trailing whitespace [netdrvr eepro] remove check_region() usage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34ad92c2388710cf24d27c896b8e6605c19a795c tree 752720b8327e4bac9b21da088f1530cdbb43739d parent 3ccc7f293f2534ce1cbe5f91b943096a04d93395 author Randy Dunlap Sun, 30 Oct 2005 15:01:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] clarify help text for INIT_ENV_ARG_LIMIT Try to make the INIT_ENV_ARG_LIMIT help text more readable and understandable. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ccc7f293f2534ce1cbe5f91b943096a04d93395 tree ec2d31450c17d02dd24544855d4f5a5a5b924ad7 parent a5a0d52c7305cb3629ef0cc9e2e0e106869e1907 author Norbert Kiesel Sun, 30 Oct 2005 15:01:43 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] delete 2 unreachable statements in drivers/block/paride/pf.c The last patch from Jens Axboe for drivers/block/paride/pf.c introduced pf_end_request() which sets pf_req to NULL. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5a0d52c7305cb3629ef0cc9e2e0e106869e1907 tree 11be2b00bc455e8f0dbe280b64932bdb7369bde0 parent 1bb34a412750291e4e5e9f1d0fe7ae1b7e976098 author Andrew Morton Sun, 30 Oct 2005 15:01:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] ntp whitespace cleanup Fix bizarre 4-space coding style in the NTP code. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bb34a412750291e4e5e9f1d0fe7ae1b7e976098 tree 00d481a2ff4302f444fbf7c31e5e661f79dc85a9 parent 9c0cbd54ce0397017a823484f9a8054ab369b8a2 author john stultz Sun, 30 Oct 2005 15:01:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] NTP shift_right cleanup Create a macro shift_right() that avoids the numerous ugly conditionals in the NTP code that look like: if(a < 0) b = -(-a >> shift); else b = a >> shift; Replacing it with: b = shift_right(a, shift); This should have zero effect on the logic, however it should probably have a bit of testing just to be sure. Also replace open-coded min/max with the macros. Signed-off-by : John Stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c0cbd54ce0397017a823484f9a8054ab369b8a2 tree ac199e4dc6602afc3d2039a0dcff070ab294ba24 parent 61e1a9ea4b425eb8c3b4965c35fe953bd881728f author Christoph Hellwig Sun, 30 Oct 2005 15:01:41 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] TIOC* compat ioctl handling TIOCSTART and TIOCSTOP are defined in asm/ioctls.h and asm/termios.h by various architectures but not actually implemented anywhere but in the IRIX compatibility layer, so remove their COMPATIBLE_IOCTL from parisc, ppc64 and sparc64. Move the TIOCSLTC COMPATIBLE_IOCTL to common code, guided by an ifdef to only show up on architectures that support it (same as the code handling it in tty_ioctl.c), aswell as it's brother TIOCGLTC that wasn't handled so far. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61e1a9ea4b425eb8c3b4965c35fe953bd881728f tree 2dcf017eedd4a72698593c878aff3ae31e3a6b09 parent 83521d3eb8dd2dfb04dd78b4733e9766f61bb47e author Alan Stern Sun, 30 Oct 2005 15:01:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] Add kthread_stop_sem() Enhance the kthread API by adding kthread_stop_sem, for use in stopping threads that spend their idle time waiting on a semaphore. Signed-off-by: Alan Stern Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83521d3eb8dd2dfb04dd78b4733e9766f61bb47e tree e372f6bef5205c12024512f3b1df5a76df7f0fba parent a8db2db1e6a8d323d87a67c5391d48fe2b97faf5 author Christoph Hellwig Sun, 30 Oct 2005 15:01:39 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] cfq-iosched: move tasklist walk to elevator.c We're trying to get rid of as much as possible tasklist walks, or at least moving them to core code. This patch falls into the second category. Instead of walking the tasklist in cfq-iosched move that into elv_unregister. The added benefit is that with this change the as ioscheduler might be might unloadable more easily aswell. The new code uses read_lock instead of read_lock_irq because the tasklist_lock only needs irq disabling for writers. Signed-off-by: Christoph Hellwig Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8db2db1e6a8d323d87a67c5391d48fe2b97faf5 tree 0aa5fb9f80e4a476e097337104a3e1f94f39a96e parent 9e4e23bccb127fac109e765dfb7f9372661cb415 author Oleg Nesterov Sun, 30 Oct 2005 15:01:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] introduce setup_timer() helper Every user of init_timer() also needs to initialize ->function and ->data fields. This patch adds a simple setup_timer() helper for that. The schedule_timeout() is patched as an example of usage. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e4e23bccb127fac109e765dfb7f9372661cb415 tree 0031d99431f89d135830b8386d3f0fbff0b57753 parent 833d304b22edff5cc687ab7e5549c2f0dcdd951a author Oleg Nesterov Sun, 30 Oct 2005 15:01:37 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] little de_thread() cleanup Trivial, saves one 'if' branch in de_thread(). Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 833d304b22edff5cc687ab7e5549c2f0dcdd951a tree 5413fd045ec7ff1de8956964911ace74931c4a7c parent aaa4059bc2dca7fa816624a28db1958c3a22df9b author James Lamanna Sun, 30 Oct 2005 15:00:16 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] reiserfs: [kv]free() checking cleanup Signed-off-by: James Lamanna Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aaa4059bc2dca7fa816624a28db1958c3a22df9b tree 8ae1d5458e2f68f96b033f10dae216847c32d4d2 parent e812cb5226af32aec91bcbaa8365bd7f921b6ebb author Jan Kara Sun, 30 Oct 2005 15:00:16 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] ext3: Fix unmapped buffers in transaction's lists Fix the problem (BUG 4964) with unmapped buffers in transaction's t_sync_data list. The problem is we need to call filesystem's own invalidatepage() from block_write_full_page(). block_write_full_page() must call filesystem's invalidatepage(). Otherwise following nasty race can happen: proc 1 proc 2 ------ ------ - write some new data to 'offset' => bh gets to the transactions data list - starts truncate => i_size set to new size - mpage_writepages() - ext3_ordered_writepage() to 'offset' - block_write_full_page() - page->index > end_index+1 - block_invalidatepage() - discard_buffer() - clear_buffer_mapped() - commit triggers and finds unmapped buffer - BOOM! Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e812cb5226af32aec91bcbaa8365bd7f921b6ebb tree adb7ccb2a766f92dcb354dd20834ce3c023c04b9 parent 17fd47ab4d33e764216b87006d8118fa050b4c92 author Dmitry Torokhov Sun, 30 Oct 2005 15:00:14 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] smsc-ircc2: PM cleanup - do not close device when suspending smsc-ircc2 - avoid closing network device when suspending; just release interrupt and disable DMA ourselves. Also make sure to reset chip when resuming. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17fd47ab4d33e764216b87006d8118fa050b4c92 tree c6016a8741a2527acac0ceb6e6ce431a798d6708 parent f1fc78a8c7f3a784b9fd1e07cc1438a0ea569555 author Andrew Morton Sun, 30 Oct 2005 15:00:13 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] ide-scsi highmem cleanup It's not necessary to test PageHighmem in here - kmap_atomic() does the right thing. Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1fc78a8c7f3a784b9fd1e07cc1438a0ea569555 tree 316c05b4531b8961c59338088642b02e3cccfbd7 parent 1e8e338325fa0f2bd5c1c800086e900cf188d2cd author Bastian Blank Sun, 30 Oct 2005 15:00:12 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] s390, ccw - export modalias This patch exports modalias for ccw devices. So you can do: modprobe `echo /sys/device/path_to_device/modalias` and the proper driver will automatically be loaded by userspace. Signed-off-by: Bastian Blank Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e8e338325fa0f2bd5c1c800086e900cf188d2cd tree fd1e051c0883725d3b24ec9acb428aeddaccf07b parent ed3cb6f039bb296457bfd2877cba6ad0287d8d54 author Heiko Carstens Sun, 30 Oct 2005 15:00:11 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] s390: export ipl device parameters Sysfs interface to export ipl device parameters. Dependent on the ipl type the interface will look like this: - ccw ipl: /sys/firmware/ipl/device /ipl_type - fcp ipl: /sys/firmware/ipl/binary_parameter /bootprog /br_lba /device /ipl_type /lun /scp_data /wwpn - otherwise (unknown that is): /sys/firmware/ipl/ipl_type Acked-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Cc: Greg KH Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed3cb6f039bb296457bfd2877cba6ad0287d8d54 tree c65ff2b245f17ab7e1da6f279b9d004b447d23bc parent d89ea9b8bb4c4ad63122cd2d2ee5110a52da51b8 author Richard Hitt Sun, 30 Oct 2005 15:00:10 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] s390: 3270 fullscreen view Martin Schwidefsky Fix fullscreen view of the 3270 device driver. Signed-off-by: Richard Hitt Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d89ea9b8bb4c4ad63122cd2d2ee5110a52da51b8 tree c729040e58c76b23d66bba40f1e8e989a7fea2ac parent 6a351cfeadd4b56a2a0031020c0cfb07cc0337fb author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 15:00:09 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] i386: use -mcpu, not -mtune, for GCCs older than 3.4 I just noted that -mtune is used, which is only supported on recent GCCs; by reading http://gcc.gnu.org/gcc-3.4/changes.html, you see "-mcpu has been renamed to -mtune.", so for GCC < 3.4 we're not using any specific tuning in the appropriate cases. However -mcpu is deprecated, so use -mtune when possible. This was introduced by commit e9d4dce954a60dc23dd1d967766ca2347b780e54 of the old tree (between 2.6.10-rc3 and 2.6.10) by Linus Torvalds, to remove the use of -march, since that could trigger gcc using SSE on its own. But no attention was used about using -mcpu vs. -mtune. And btw, the old 2.6.4 code (for instance) was: cflags-$(CONFIG_MPENTIUMII) += $(call check_gcc,-march=pentium2,-march=i686) cflags-$(CONFIG_MPENTIUMIII) += $(call check_gcc,-march=pentium3,-march=i686) cflags-$(CONFIG_MPENTIUMM) += $(call check_gcc,-march=pentium3,-march=i686) cflags-$(CONFIG_MPENTIUM4) += $(call check_gcc,-march=pentium4,-march=i686) Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a351cfeadd4b56a2a0031020c0cfb07cc0337fb tree 88b96f069f035a73cc6089a141a0167e4cb6afe8 parent b365157be3250a6b5948422ba65e05e5f964e150 author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 15:00:08 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] uml: remove old UM_FASTCALL, and make the thing work again This was used in the old dark age of 2.4, ARCH_CFLAGS doesn't work any more since some time, and UM_FASTCALL was never used in 2.6. Instead, reintroduce the thing more properly now, directly in include/asm-um/linkage.h. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b365157be3250a6b5948422ba65e05e5f964e150 tree cd365dd42b15cc58f74bcc0d31a5ba34a817c354 parent 96d55b882b85b26711a06d8fb2c901df9d52a48b author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 15:00:07 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] uml: fix "reuse i386 cpu optimizations" Remove RWSEM_GENERIC_SPINLOCK, it's now defined (only if needed) by the underlying arch/i386/Kconfig.cpu. Leave it only for x86_64. Even there, it's totally wrong, as they even have the code to support XCHG_ADD. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96d55b882b85b26711a06d8fb2c901df9d52a48b tree 309b8993ad321c050411a8dd74729180488a5dcc parent f3ac9fbf7a0b9493377ee88d9b5b2933ff3f7ade author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 15:00:07 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] uml: reuse i386 cpu-specific tuning Make UML share the underlying cpu-specific tuning done on i386. Actually, for now many config options aren't used a lot - but that can be done later. Also, UML relies on GCC optimization for things like memcpy and such more than i386, so specifying the correct -march and -mtune should be enough. Later, we may want to correct some other stuff. For instance, since FPU context switching, for us, is done (at least partially, i.e. between our kernelspace and userspace) by the host, we may allow usage of FPU operations by GCC. This doesn't hold for kernelspace vs. kernelspace, but we don't support preemption. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3ac9fbf7a0b9493377ee88d9b5b2933ff3f7ade tree 74f9c3b409af84f8f02b7c23a7ca3405c200c2dc parent 1343f776c51ecbed89eff5e174188523c731a8fe author Hirokazu Takata Sun, 30 Oct 2005 15:00:06 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] m32r: SMC91x driver update Update SMC91x driver for m32r. - Remove needless NONCACHE_OFFSET adjustment. > [PATCH 2.6.14-rc4] m32r: NONCACHE_OFFSET in _port2addr > Change _port2addr() not to add NONCACHE_OFFSET. > Adding NONCACHE_OFFSET requires needless address adjusting by a driver > using ioremap() like a SMC91x driver. - Fix lots of warnings as following: /usr/src/ctest/git/kernel/drivers/net/smc91x.c: In function `smc_reset': /usr/src/ctest/git/kernel/drivers/net/smc91x.c:324: warning: passing arg 2 of `_outw' makes integer from pointer without a cast /usr/src/ctest/git/kernel/drivers/net/smc91x.c:325: warning: passing arg 2 of `_outw' makes integer from pointer without a cast /usr/src/ctest/git/kernel/drivers/net/smc91x.c:341: warning: passing arg 2 of `_outw' makes integer from pointer without a cast /usr/src/ctest/git/kernel/drivers/net/smc91x.c:342: warning: passing arg 2 of `_outw' makes integer from pointer without a cast : /usr/src/ctest/git/kernel/drivers/net/smc91x.c:1915: warning: passing arg 1 of `_inw' makes integer from pointer without a cast /usr/src/ctest/git/kernel/drivers/net/smc91x.c:1915: warning: passing arg 1 of `_inw' makes integer from pointer without a cast Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1343f776c51ecbed89eff5e174188523c731a8fe tree 7a05a732894cc7911c36598238f6d948655c67a0 parent c978b0179b31600394d5ebdb0940b492ec05500f author Hirokazu Takata Sun, 30 Oct 2005 15:00:04 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] m32r: NONCACHE_OFFSET in _port2addr Change _port2addr() not to add NONCACHE_OFFSET. Adding NONCACHE_OFFSET requires needless address adjusting by a driver using ioremap() like a SMC91x driver. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c978b0179b31600394d5ebdb0940b492ec05500f tree 5126e984a9eacbcb25a02a9ef711abda33ceed88 parent baa0b84f104c8e78ddaa8816eb9deac0098429e6 author Hirokazu Takata Sun, 30 Oct 2005 15:00:04 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] m32r: fix #if warnings Fix warnings for #if directives. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit baa0b84f104c8e78ddaa8816eb9deac0098429e6 tree f55f9cd2910efbbc8268f585871ccb83e0785286 parent eb9289eb20df6b54214c45ac7c6bf5179a149026 author Hirokazu Takata Sun, 30 Oct 2005 15:00:02 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] m32r: remove unused instructions Remove unused instructions for debugging. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb9289eb20df6b54214c45ac7c6bf5179a149026 tree dac51cecdd94e0c7273c990259ddd800057311b9 parent 0245b3e787dc3267a915e1f56419e7e9c197e148 author Shaohua Li Sun, 30 Oct 2005 15:00:01 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] introduce .valid callback for pm_ops Add pm_ops.valid callback, so only the available pm states show in /sys/power/state. And this also makes an earlier states error report at enter_state before we do actual suspend/resume. Signed-off-by: Shaohua Li Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0245b3e787dc3267a915e1f56419e7e9c197e148 tree 96a366f2fc732f42d4993dd177982e6b657d83aa parent 2e32a43efdc8175579cc91e8b620ac331376a437 author Rafael J. Wysocki Sun, 30 Oct 2005 15:00:01 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] swsusp: two simplifications The following patch simplifies the progress meter in disk.c:free_some_memory() and makes disk.c:pm_suspend_disk() call device_resume() explicitly in the suspend path. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e32a43efdc8175579cc91e8b620ac331376a437 tree fd46c6cf28d437fc53acc72cff03d2d796d834ff parent de491861e1457c31aed6d44d96afb549365ff790 author Rafael J. Wysocki Sun, 30 Oct 2005 15:00:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] swsusp: get rid of unnecessary wrapper function The following patch merges two functions in a trivial way. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de491861e1457c31aed6d44d96afb549365ff790 tree 9480b80bab7d5f2ef141249b70a6beffde0c7599 parent 96bc7aec20b50761822f96130127b8e31e168af1 author Pavel Machek Sun, 30 Oct 2005 14:59:59 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: cleanups Reduce number of ifdefs somehow, and fix whitespace a bit. No real code changes. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96bc7aec20b50761822f96130127b8e31e168af1 tree f1bb9562fcec1764a39b1b01423770d4ddbcc1dc parent 2c1b4a5ca48831595979a850f40ced8e7da026f8 author Pavel Machek Sun, 30 Oct 2005 14:59:58 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: remove unneccessary includes Cleanup comments and remove unneccessary includes. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c1b4a5ca48831595979a850f40ced8e7da026f8 tree 06fe8a400df8c5166c7f47ca2c30a584473f1170 parent a0f496517f3e28d651d0cbbcf2d4fb701ed6957e author Rafael J. Wysocki Sun, 30 Oct 2005 14:59:58 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: rework memory freeing on resume The following patch makes swsusp use the PG_nosave and PG_nosave_free flags to mark pages that should be freed in case of an error during resume. This allows us to simplify the code and to use swsusp_free() in all of the swsusp's resume error paths, which makes them actually work. Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0f496517f3e28d651d0cbbcf2d4fb701ed6957e tree 39ab8b387061cc5737c542f6cddea7320b82970b parent 25761b6eb7b33823bcfff6bfe2a015badcd76fb8 author Rafael J. Wysocki Sun, 30 Oct 2005 14:59:57 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: reduce the use of global variables Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25761b6eb7b33823bcfff6bfe2a015badcd76fb8 tree a25841a3f4c4cf087ce75c0907c00966f19d339a parent 351619baf9878731b4272fa10dda0f84f5582241 author Rafael J. Wysocki Sun, 30 Oct 2005 14:59:56 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: move snapshot functionality to separate file The following patch moves the functionality of swsusp related to creating and handling the snapshot of memory to a separate file, snapshot.c This should enable us to untangle the code in the future and eventually to implement some parts of swsusp.c in the user space. The patch does not change the code. Signed-off-by: Rafael J. Wysocki Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 351619baf9878731b4272fa10dda0f84f5582241 tree 62bf45ba8368dddde3adb501a37c428ead5feff7 parent c32b6b8e524d2c337767d312814484d9289550cf author Rafael J. Wysocki Sun, 30 Oct 2005 14:59:55 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: rework image freeing The following patch makes swsusp use PG_nosave and PG_nosave_free flags to mark pages that should be freed after the state of the system has been restored from the image (or in case of an error during suspend). This allows us to avoid storing metadata in swap twice and to reduce the amount of memory needed by swsusp.  Additionally, it allows us to simplify the code by removing a couple of functions that are no longer necessary. Signed-off-by: Rafael J. Wysocki Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c32b6b8e524d2c337767d312814484d9289550cf tree 02e634b0b48db6eccc8774369366daa1893921ea parent d434fca737bee0862625c2377b987a7713b6b487 author Ashok Raj Sun, 30 Oct 2005 14:59:54 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] create and destroy cpufreq sysfs entries based on cpu notifiers cpufreq entries in sysfs should only be populated when CPU is online state. When we either boot with maxcpus=x and then boot the other cpus by echoing to sysfs online file, these entries should be created and destroyed when CPU_DEAD is notified. Same treatement as cache entries under sysfs. We place the processor in the lowest frequency, so hw managed P-State transitions can still work on the other threads to save power. Primary goal was to just make these directories appear/disapper dynamically. There is one in this patch i had to do, which i really dont like myself but probably best if someone handling the cpufreq infrastructure could give this code right treatment if this is not acceptable. I guess its probably good for the first cut. - Converting lock_cpu_hotplug()/unlock_cpu_hotplug() to disable/enable preempt. The locking was smack in the middle of the notification path, when the hotplug is already holding the lock. I tried another solution to avoid this so avoid taking locks if we know we are from notification path. The solution was getting very ugly and i decided this was probably good for this iteration until someone who understands cpufreq could do a better job than me. (akpm: export cpucontrol to GPL modules: drivers/cpufreq/cpufreq_stats.c now does lock_cpu_hotplug()) Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Dave Jones Cc: Zwane Mwaikambo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d434fca737bee0862625c2377b987a7713b6b487 tree 8df1f41731e094d3ad7e7a60b9c1c5013591016a parent 1aa1a9f98ffd06e288be4d85ed814c6cdbccce82 author Ashok Raj Sun, 30 Oct 2005 14:59:52 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] Remove cpu_sys_devices in cpufreq subsystem. cpu_sys_devices is redundant with the new API get_cpu_sysdev(). So nuking this usage since its not needed. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Dave Jones Cc: Zwane Mwaikambo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1aa1a9f98ffd06e288be4d85ed814c6cdbccce82 tree 3b387855f4e8415cfd83bf54a2900f2a43127b73 parent ad74557a49d1dea428fb0ad60e75a5aa37610e1d author Ashok Raj Sun, 30 Oct 2005 14:59:50 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] create and destroy cache sysfs entries based on cpu notifiers cpu cache entries should be populated only when cpu is online and removed when they are logically offlined. Without which entries are not removed when cpu is offlined, or dont appear when we boot with maxcpus=1 and then kick the rest of the cpus via echo 1 to the sysfs online file. - Changed __devinit to __cpuinit for consistency. - Changed sysfs_driver_register to register_cpu_notifier. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Dave Jones Cc: Zwane Mwaikambo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad74557a49d1dea428fb0ad60e75a5aa37610e1d tree 4240115b224d3b3a323da8aa9325fc3bf4b73b50 parent 5d35704028d09a183448daceab5dcb94f21a3645 author Ashok Raj Sun, 30 Oct 2005 14:59:49 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] introduce get_cpu_sysdev() to retrieve a sysfs entry for a cpu. Some modules creating sysfs entries under /sys/devices/system/cpu/cpuX/ need to know the parent sysfs entry to make devices under them. This will just return the sysfs entry for a given cpu. sysfs entries showing under each cpu sysfs can be easily created if such entries can be created by registering a sysfs driver for cpuclass. The issue is when the entry is created the CPU may not be online, hence we would need to defer the creation until the online notification comes. Current users: cache entries for Intel CPU's and cpufreq subsystem. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Dave Jones Cc: Zwane Mwaikambo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d35704028d09a183448daceab5dcb94f21a3645 tree 2b1b4416c162c458a26d601412d09a7ed9c21b84 parent 6c180d94abdcfb77a2fe4275bd03687fa159acd7 author Magnus Damm Sun, 30 Oct 2005 14:59:48 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386: srat on non-acpi hw fix This patch adds a check for the return value of acpi_find_root_pointer(). Without this patch systems without ACPI support such as QEMU crashes when booting a NUMA kernel with CONFIG_ACPI_SRAT=y. Signed-off-by: Magnus Damm Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c180d94abdcfb77a2fe4275bd03687fa159acd7 tree 3254ea7af80edbefc71d9582bdb13867828a8f6d parent 009b29d90f575a83eba185950a7182ab05e7741a author Eric W. Biederman Sun, 30 Oct 2005 14:59:47 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386 mpparse: Only ignore lapic information we can't store After staring at mpparse.c for a little longer I noticed that when we hit our limit of num_processors we are filtering out information about other processors that we can still store. This patch just reorders the code so we store everything we can. This should avoid the incorrect warning about our boot CPU not being listed by the BIOS that we are now getting in the kexec on panic case, and it should allow us to detect all apicid conflicts even when our physical number of cpus exceeds maxcpus. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 009b29d90f575a83eba185950a7182ab05e7741a tree c728a076c56d648ad1017338c3479ae61aebcefe parent bda98685b855f71f7e2fc5378aa3cdfb24a9db65 author Vivek Goyal Sun, 30 Oct 2005 14:59:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] kdump/i386: apic verification failure fix o Removes the unnecessary call to local_irq_disable(). o Kdump was failing while second kernel was coming up. Check for presence of boot cpu apic id was failing in (apic_id_registered), hence hitting BUG(). o This should not have failed because before calling setup_local_APIC(), it is ensured that even if BIOS has not reported boot cpu, then hard set the prence of it. Problem happens because of usage of hard_smp_processor_id() which is hardcoded to zero in case of non SMP kernel. In kdump case second kernel can boot on a cpu whose boot cpu id is not zero. o Using boot_cpu_physical_apicid instead to hard set the presence of boot cpu. Signed-off-by: Vivek Goyal Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bda98685b855f71f7e2fc5378aa3cdfb24a9db65 tree c1660300d19e1fba7bda619bfe2d3802c1aee12f parent c53117815771e1e84e6ba80a42fa1f8e330adb4d author Ingo Molnar Sun, 30 Oct 2005 14:59:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] x86: inline spin_unlock if !CONFIG_DEBUG_SPINLOCK and !CONFIG_PREEMPT Signed-off-by: Ingo Molnar Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c53117815771e1e84e6ba80a42fa1f8e330adb4d tree e9227965e332a19575c066096c532cd2cba4c856 parent daedb82d6b54e58a66ad1dce3509e699a5bd1b18 author Brian Gerst Sun, 30 Oct 2005 14:59:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] Clean up mtrr compat ioctl code Handle 32-bit mtrr ioctls in the mtrr driver instead of the ia32 compatability layer. Signed-off-by: Brian Gerst Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit daedb82d6b54e58a66ad1dce3509e699a5bd1b18 tree f72c6f7c2a993284fe41fe43a8e95da259c419a8 parent 3d1675b41b02d64bd1185903ea0d25a8c0bb6dea author Kamble, Nitin A Sun, 30 Oct 2005 14:59:43 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] x86: vmx cpu feature detection If VMX feature is available in the CPU, this patch will make it visible in the /proc/cpuinfo with the cpuid detection. Signed-Off-By: Nitin A Kamble Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d1675b41b02d64bd1185903ea0d25a8c0bb6dea tree 4a5c4e57a7929498e30e05cc2c81f20047a914b0 parent f2b36db692b7ff6972320ad9839ae656a3b0ee3e author Eric W. Biederman Sun, 30 Oct 2005 14:59:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386 kexec-on-panic: Don't shutdown the apics. It is dangerous to shutdown the apics in machine_crash_shutdown. With my previous patch to initialize apics in init_IRQ we should be able to boot a kernel without this. As long as we reinitialize the APICs we don't care what state they were in during bootup. This should make machine_crash_shutdown noticeably more reliable. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2b36db692b7ff6972320ad9839ae656a3b0ee3e tree 110387d2557a156d6b9453ea0c45d392b47796c2 parent 29b70081f7cb094513d5189e82d3478b50777a28 author Eric W. Biederman Sun, 30 Oct 2005 14:59:41 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386: move apic init in init_IRQs All kinds of ugliness exists because we don't initialize the apics during init_IRQs. - We calibrate jiffies in non apic mode even when we are using apics. - We have to have special code to initialize the apics when non-smp. - The legacy i8259 must exist and be setup correctly, even when we won't use it past initialization. - The kexec on panic code must restore the state of the io_apics. - init/main.c needs a special case for !smp smp_init on x86 In addition to pure code movement I needed a couple of non-obvious changes: - Move setup_boot_APIC_clock into APIC_late_time_init for simplicity. - Use cpu_khz to generate a better approximation of loops_per_jiffies so I can verify the timer interrupt is working. - Call setup_apic_nmi_watchdog again after cpu_khz is initialized on the boot cpu. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29b70081f7cb094513d5189e82d3478b50777a28 tree d992aa91eeae9ac79265dd0ead0d7cc5a48f31f1 parent fcfd636a728fe2b8fb8c8fd8c557302059580577 author Eric W. Biederman Sun, 30 Oct 2005 14:59:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386 nmi_watchdog: Merge check_nmi_watchdog fixes from x86_64 The per cpu nmi watchdog timer is based on an event counter. idle cpus don't generate events so the NMI watchdog doesn't fire and the test to see if the watchdog is working fails. - Add nmi_cpu_busy so idle cpus don't mess up the test. - kmalloc prev_nmi_count to keep kernel stack usage bounded. - Improve the error message on failure so there is enough information to debug problems. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcfd636a728fe2b8fb8c8fd8c557302059580577 tree f210e59393a9439875f5e65ff4b92c5a7fe7b9bb parent 9338316c9323682d32270d83b106472a50ab6da4 author Eric W. Biederman Sun, 30 Oct 2005 14:59:39 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] i386 io_apic.c: Memorize at bootup where the i8259 is connected Currently we attempt to restore virtual wire mode on reboot, which only works if we can figure out where the i8259 is connected. This is very useful when we kexec another kernel and likely helpful when dealing with a BIOS that make assumptions about how the system is setup. Since the acpi MADT table does not provide the location where the i8259 is connected we have to look at the hardware to figure it out. Most systems have the i8259 connected the local apic of the cpu so won't be affected but people running Opteron and some serverworks chipsets should be able to use kexec now. In addition this patch removes the hard coded assumption that the io_apic that delivers isa interrups is always known to the kernel as io_apic 0. As there does not appear to be anything to guarantee that assumption is true. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9338316c9323682d32270d83b106472a50ab6da4 tree 372f32101f2ed04ca03335638998905930d23e55 parent 30037f66ce63b6b7ca1fbfb06605b831f4a60df6 author Natalie.Protasevich@unisys.com Sun, 30 Oct 2005 14:59:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] ES7000 platform update This is platform code update for ES7000: disables IRQ overrides for the recent ES7000 (Rascal/Zorro), cleans up the compile warning. The patch only affects the ES7000 subarch. Signed-off-by: Acked-by: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30037f66ce63b6b7ca1fbfb06605b831f4a60df6 tree 48645e204613332df510b42f56655d06d9200a33 parent f014a556e714dfb02502e3be6146a39ca625f33c author Venkatesh Pallipadi Sun, 30 Oct 2005 14:59:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: when L3 is present show its size in /proc/cpuinfo The code that prints the cache size assumes that L3 always lives in chipset and is shared across CPUs. Which is not really true. I think all the cachesizes reported by cpuid are in the processor itself. The attached patch changes the code to reflect that. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f014a556e714dfb02502e3be6146a39ca625f33c tree 95c76676a23f8d57731681f5987084f05555af15 parent 750deaa4021da1cf9fdb1e20861a10c76fd7f2bc author Dave Hansen Sun, 30 Oct 2005 14:59:37 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] fixup bogus e820 entry with mem= This was reported because someone was getting oopses reading /proc/iomem. It was tracked down to a zero-sized 'struct resource' entry which was located right at 4GB. You need two conditions to hit this bug: a BIOS E820_RAM area starting at exactly the boundary where you specify mem= (to get a zero-sized entry), and for the legacy_init_iomem_resources() loop to skip that resource (which only happens at exactly 4G). I think the killing zero-sized e820 entry is the easiest way to fix this. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 750deaa4021da1cf9fdb1e20861a10c76fd7f2bc tree 662e9c2e22c44e3610d979f7c5e6b1b33bd2dc53 parent 434440a2804639f11858d9d384c9505927feb186 author aleksey_gorelov@phoenix.com Sun, 30 Oct 2005 14:59:36 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] asus vt8235 router buggy bios workaround Hopefully fix http://bugzilla.kernel.org/show_bug.cgi?id=5235 Similar problem has been reported before here: http://groups.google.com/group/linux.kernel/browse_thread/thread/def4ca19dbc3cd4/5cffbf349f2c87a4?tvc=2&q=Aleksey+Gorelov&hl=en#5cffbf349f2c87a4 and was related to bug in BIOS reporting 82C686 router compatible to 586. I suspect BIOS on this board has similar issue: reports VT8235 router to be compatible with 586 one - which is obviously not true. Patch from the link above has already incorporated in both 2.6 & 2.4 series, but might not work in this particular case. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 434440a2804639f11858d9d384c9505927feb186 tree 60bb584d535aa6ff3b632025facd167e844c6009 parent 251e6912df43df54570ed68aade703b329c6cd5b author Venkatesh Pallipadi Sun, 30 Oct 2005 14:59:35 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: bug fix in P6 Machine check initialization Make P6 MCA initialization code complaint with guidelines in IA-32 SDM Vol3. Bank 0 control register should not be set by OS and clear status registers on all banks on reset. This will prevent false MCE alarms on the systems that has some non-MCE information left-over in MC0_STATUS on reboot. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 251e6912df43df54570ed68aade703b329c6cd5b tree 28695a0c9a468281613a6b8ef8c79596e2764001 parent 72e12b76fe48d99d1deb417f177b10a9d99b2e74 author Zachary Amsden Sun, 30 Oct 2005 14:59:34 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: add an accessor function for getting the per-CPU gdt Add an accessor function for getting the per-CPU gdt. Callee must already have the CPU. Signed-off-by: Zachary Amsden Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72e12b76fe48d99d1deb417f177b10a9d99b2e74 tree 55bd8ff5d3d641de012fbc26f5cc1c5a40e6d920 parent 9f40a72a7e819789f66910c8cd60aab005cdb413 author Zachary Amsden Sun, 30 Oct 2005 14:59:33 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: bogus tls from gdt The per-CPU initialization code is copying in bogus data into thread->tls_array. Note that it copies &per_cpu(cpu_gdt_table, cpu), not &per_cpu(cpu_gdt_table, cpu)[GDT_ENTRY_TLS_MIN). That is totally broken and unnecessary. Make the initialization explicitly NULL. Signed-off-by: Zachary Amsden Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f40a72a7e819789f66910c8cd60aab005cdb413 tree d8006a8cea9b19f2871c5fdafa373d1dc5db46ec parent ca140fdadbe4c031a20a970f46163908d09a116b author Natalie Protasevich Sun, 30 Oct 2005 14:59:32 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: hot plug CPU to support physical add of new processors The patch allows physical bring-up of new processors (not initially present in the configuration) from facilities such as driver/utility implemented on a platform. The actual method of making processors available is up to the platform implementation. Signed-off-by: Natalie Protasevich Cc: Shaohua Li Cc: Ashok Raj Cc: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca140fdadbe4c031a20a970f46163908d09a116b tree 5dff340fd0bb88751604d7d7ffdcb0fe55144005 parent d16aafff2570abb557a5cb18c98027aabd602e22 author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 14:59:31 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] i386: little pgtable.h consolidation vs 2/3level Join together some common functions (pmd_page{,_kernel}) over 2level and 3level pages. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d16aafff2570abb557a5cb18c98027aabd602e22 tree b2ce02548c87f162cbae7071b0195505d355bbb1 parent d5cd4aadd3d220afac8e3e6d922e333592551f7d author Siddha, Suresh B Sun, 30 Oct 2005 14:59:30 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] intel_cacheinfo: remove MAX_CACHE_LEAVES limit Initial internal version of Venki's cpuid(4) deterministic cache parameter identification patch used static arrays of size MAX_CACHE_LEAVES. Final patch which made to the base used dynamic array allocation, with this MAX_CACHE_LEAVES limit hunk still in place. cpuid(4) already has a mechanism to find out the number of cache levels implemented and there is no need for this hardcoded MAX_CACHE_LEAVES limit. So remove the MAX_CACHE_LEAVES limit from the routine which calculates the number of cache levels using cpuid(4) Signed-off-by: Suresh Siddha Cc: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5cd4aadd3d220afac8e3e6d922e333592551f7d tree 7704d4d242a57668e94f7915b8b995f620ef3bcd parent 08967f941ad897b2f7c2f99e886c75d6319e5087 author Bart Oldeman Sun, 30 Oct 2005 14:59:29 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] x86: initialise tss->io_bitmap_owner to something There exists a field io_bitmap_owner in the TSS that is only checked, but never set to anything else but NULL. Signed-off-by: Bart Oldeman Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08967f941ad897b2f7c2f99e886c75d6319e5087 tree 7277fe5fee546f5d94debfc479f81bdc4af895a4 parent 8896fab35e62aa748a5ce62ac773508e51f10be1 author Shaohua Li Sun, 30 Oct 2005 14:59:28 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] FPU context corrupted after resume mxcsr_feature_mask_init isn't needed in suspend/resume time (we can use boot time mask). And actually it's harmful, as it clear task's saved fxsave in resume. This bug is widely seen by users using zsh. (akpm: my eyes. Fixed some surrounding whitespace mess) Signed-off-by: Shaohua Li Cc: Pavel Machek Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8896fab35e62aa748a5ce62ac773508e51f10be1 tree bb8f2dce7b5d0aa6ffe68aa6b97920d2ce32e164 parent dacb16b1a034fa7a0b868ee30758119fbfd90bc1 author Jan Beulich Sun, 30 Oct 2005 14:59:27 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] x86: cmpxchg improvements This adjusts i386's cmpxchg patterns so that - for word and long cmpxchg-es the compiler can utilize all possible registers - cmpxchg8b gets disabled when the minimum specified hardware architectur doesn't support it (like was already happening for the byte, word, and long ones). Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dacb16b1a034fa7a0b868ee30758119fbfd90bc1 tree daaa631c9c6fa2ad011647fb3acd219784faf2e2 parent bfd51626cbf61cb23f787d8ff972ef0d5ddacc0b author Mathieu Desnoyers Sun, 30 Oct 2005 14:59:25 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] i386 and x86_64 TSC set_cyc2ns_scale imprecision I just found out that some precision is unnecessarily lost in the arch/i386/kernel/timers/timer_tsc.c:set_cyc2ns_scale function. It uses a cpu_mhz parameter when it could use a cpu_khz. In the specific case of an Intel P4 running at 3001.171 Mhz, the truncation to 3001 Mhz leads to an imprecision of 19 microseconds per second : this is very sad for a timer with nearly nanosecond accuracy. Fix the x86_64 architecture too. Cc: george anzinger Cc: john stultz Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfd51626cbf61cb23f787d8ff972ef0d5ddacc0b tree 63e2a8e552b33509130822ed9222d7266cbeb69f parent ce4c2bd1a9dfebaefadc2d34b17c6f12101751be author Davi Arnaut Sun, 30 Oct 2005 14:59:24 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] SELinux: remove unecessary size_t checks in selinuxfs This patch removes a bunch of unecessary checks for (size_t < 0) in selinuxfs. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce4c2bd1a9dfebaefadc2d34b17c6f12101751be tree dde9437929d9b15ced25758c8389360ba4073cdb parent d381d8a9a08cac9824096213069159be17fd2e2f author Andrew Morton Sun, 30 Oct 2005 14:59:23 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] selinux-canonicalize-getxattr-fix security/selinux/hooks.c: In function `selinux_inode_getxattr': security/selinux/hooks.c:2193: warning: unused variable `sbsec' Cc: James Morris Cc: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d381d8a9a08cac9824096213069159be17fd2e2f tree 0c19722b8f67c29b7c08c6ab8776a9c146395d03 parent 89d155ef62e5e0c10e4b37aaa5056f0beafe10e6 author James Morris Sun, 30 Oct 2005 14:59:22 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] SELinux: canonicalize getxattr() This patch allows SELinux to canonicalize the value returned from getxattr() via the security_inode_getsecurity() hook, which is called after the fs level getxattr() function. The purpose of this is to allow the in-core security context for an inode to override the on-disk value. This could happen in cases such as upgrading a system to a different labeling form (e.g. standard SELinux to MLS) without needing to do a full relabel of the filesystem. In such cases, we want getxattr() to return the canonical security context that the kernel is using rather than what is stored on disk. The implementation hooks into the inode_getsecurity(), adding another parameter to indicate the result of the preceding fs-level getxattr() call, so that SELinux knows whether to compare a value obtained from disk with the kernel value. We also now allow getxattr() to work for mountpoint labeled filesystems (i.e. mount with option context=foo_t), as we are able to return the kernel value to the user. Signed-off-by: James Morris Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89d155ef62e5e0c10e4b37aaa5056f0beafe10e6 tree 7de1f357efd619000970526ca2688f79b9022417 parent 0d078f6f96809c95c69b99d6605a502b0ac63d3d author James Morris Sun, 30 Oct 2005 14:59:21 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] SELinux: convert to kzalloc This patch converts SELinux code from kmalloc/memset to the new kazalloc unction. On i386, this results in a text saving of over 1K. Before: text data bss dec hex filename 86319 4642 15236 106197 19ed5 security/selinux/built-in.o After: text data bss dec hex filename 85278 4642 15236 105156 19ac4 security/selinux/built-in.o Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d078f6f96809c95c69b99d6605a502b0ac63d3d tree 1b4691abab5f96f2aa8a5217a2701f181b41940d parent 4276d32260662d5401a15a0a46e506fb5c8ab563 author Brian Gerst Sun, 30 Oct 2005 14:59:20 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:10 -0800 [PATCH] CONFIG_IA32 Add CONFIG_X86_32 for i386. This allows selecting options that only apply to 32-bit systems. (X86 && !X86_64) becomes X86_32 (X86 || X86_64) becomes X86 Signed-off-by: Brian Gerst Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4276d32260662d5401a15a0a46e506fb5c8ab563 tree 5968cda01076da10592729986975c7952d18862e parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Brian Gerst Sun, 30 Oct 2005 14:59:18 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:10 -0800 [PATCH] Remove redundant configs.o Since CONFIG_IKCONFIG_PROC already depends on CONFIG_IKCONFIG, adding configs.o again is redundant. Signed-off-by: Brian Gerst Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95dbf5c4be080e94880ead13773d1a14eec8f4de tree 9113691b4b6c689989b4528ee0f3df3689c42066 parent 054ee8fd39f1b5d50e803f126b63f400d631eea4 parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Jeff Garzik Sun, 30 Oct 2005 20:24:34 -0500 committer Jeff Garzik Sun, 30 Oct 2005 20:24:34 -0500 Merge branch 'master' commit 46595ffbfc8ba79f27cdf8a029ee068b3b34c69f tree 274d110768eb1a8f899c3271df0d41bb852ddd0a parent 77bb86a1b9f8b872d8efc33c4f4359f809220252 author John Bowler Sun, 30 Oct 2005 23:40:26 +0000 committer Russell King Sun, 30 Oct 2005 23:40:26 +0000 [ARM] arch-ixp4xx/io.h: make const args const to remove compiler warning Compiler warning fix; the inline callers of these APIs were changed to have const vaddr parameters. Signed-off-by: John Bowler Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 77bb86a1b9f8b872d8efc33c4f4359f809220252 tree 3f0b5980d340cdec48700ab398ea9a4b1e48ee5a parent 1753298947afe5eb56da755bc057f1868f345ec1 author Pavel Machek Sun, 30 Oct 2005 23:39:02 +0000 committer Russell King Sun, 30 Oct 2005 23:39:02 +0000 [ARM] Support pcmcia slot on sharp sl-5500 This adds support for pcmcia slot on sharp zaurus sl-5500. pxa2xx_sharpsl.c thus becomes quite miss-named, but I guess that is not worth fixing? Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 1753298947afe5eb56da755bc057f1868f345ec1 tree 029133570ff8c2f0f642ff985b19dd64faf40dfe parent 5ecdb02c9d8b7f76108da6fcb2a66fdf5eed3116 author Pavel Machek Sun, 30 Oct 2005 23:38:01 +0000 committer Russell King Sun, 30 Oct 2005 23:38:01 +0000 [ARM] Sharp sl-5500 touchscreen support This adds support for sharp zaurus sl-5500 touchscreen. It introduces some not-too-nice ifs, but I guess copying whole ucb1x00-ts.c would be bad idea... Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 5ecdb02c9d8b7f76108da6fcb2a66fdf5eed3116 tree 7dfca8c6f2b19dc28794c98e9d269eac4f2407d3 parent 7012f9084e3ef27028b4f2ab37428662766a743a author Deepak Saxena Sun, 30 Oct 2005 23:36:37 +0000 committer Russell King Sun, 30 Oct 2005 23:36:37 +0000 [ARM] fix ixp2x00 defconfig NR_UARTS options IXDP2[48]00 have only 1 UART on the board. Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 7012f9084e3ef27028b4f2ab37428662766a743a tree 7d708d13e8133a776e300791f79b47e938431683 parent f741a1aab5fd7892927208ca37eb86b9ea85784a author Deepak Saxena Sun, 30 Oct 2005 23:35:58 +0000 committer Russell King Sun, 30 Oct 2005 23:35:58 +0000 [ARM] fix bogus cast in IXP2000 I/O macro Physical addresses are not valid pointers of any sort and should not be cast to such. Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Russell King commit a2436b22deac7834e0f87897b207a2dc1407dc40 tree 4c4ad96ee6c55f3fe68605ef5bd1d98aca8d3092 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Jayachandran C Sun, 30 Oct 2005 23:26:16 +0000 committer Russell King Sun, 30 Oct 2005 23:26:16 +0000 [SERIAL] remove unneeded code from serial_core.c This patch fixes an issue reported by Coverity in serial/serial_core.c Error reported: Variable "&((info)->tty)->flags" tracked as NULL was passed to a function that dereferences it. The later statements in the function assumes 'info->tty != NULL', so this check is not necessary. Probably a 'BUG_ON(info->tty == NULL)' can be added. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: Russell King commit f741a1aab5fd7892927208ca37eb86b9ea85784a tree c4060ea9292f5e8f98e87ef354079bc900d81243 parent cb7610d018235653c73ff1fea79b962c16317474 author Nicolas Pitre Sun, 30 Oct 2005 23:08:03 +0000 committer Russell King Sun, 30 Oct 2005 23:08:03 +0000 [ARM] 3049/1: More optimized libgcc functions Patch from Nicolas Pitre This patch gets rid of the last C implementations of needed libgcc functions for the kernel, replacing them with optimized assembly versions. Those functions are: __ashldi3 __ashrdi3 __lshrdi3 __muldi3 __ucmpdi2 The first 3 were lifted from gcc, the other two were written from scratch. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 6e9d6b8ee4e0c37d3952256e6472c57490d6780d tree 39161fdc999565ddb47a55fad57ab6f1b7266b97 parent d3f8cf489993658702b7e58ff37162246263de53 parent a9524a76f70f3343e4be27f95a7e92a8ba5f9009 author Linus Torvalds Sun, 30 Oct 2005 14:47:58 -0800 committer Linus Torvalds Sun, 30 Oct 2005 14:47:58 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit d3f8cf489993658702b7e58ff37162246263de53 tree 268db74a65b90335fb3457357e46e732696cfbb0 parent 08db2a701bd63d0e36f06a29137bf016a907cf71 author Trond Myklebust Sun, 30 Oct 2005 17:38:25 -0500 committer Linus Torvalds Sun, 30 Oct 2005 14:46:47 -0800 [PATCH] NFS: Remove unbalanced spin_unlock() calls from nfs_refresh_inode() Doh! Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit 08db2a701bd63d0e36f06a29137bf016a907cf71 tree 2aba7ab91b1f095458e3dd41078f64440061dbe9 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Linus Torvalds Sun, 30 Oct 2005 14:40:07 -0800 committer Linus Torvalds Sun, 30 Oct 2005 14:40:07 -0800 Fix PIIX4 SMB region size Petr Vandrovec correctly points out that the SMB region of the PIIX4 is just 16 bytes, not 32. Signed-off-by: Linus Torvalds commit cb7610d018235653c73ff1fea79b962c16317474 tree 94bfee553792813e6d6481de6a30369cd12a6b53 parent 1d1fd66c45fa78c6fed61612e14dad0e24c815c2 author Russell King Sun, 30 Oct 2005 21:12:08 +0000 committer Russell King Sun, 30 Oct 2005 21:12:08 +0000 [ARM] Clean up dmabounce Encapsulate pool data into dmabounce_pool. Only account successful allocations. Use dma_mapping_error(). Signed-off-by: Russell King commit 07b188ab773e183871e57b33ae37bf635c9f12ba tree 311df8a0dd12fb7bd3e9b5b1a5ca500f0428d679 parent 47c564e10f219f867bdb49225972749a43485a47 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Anton Altaparmakov Sun, 30 Oct 2005 21:00:04 +0000 committer Anton Altaparmakov Sun, 30 Oct 2005 21:00:04 +0000 Merge branch 'master' of /usr/src/ntfs-2.6/ commit a9524a76f70f3343e4be27f95a7e92a8ba5f9009 tree 00d2b6d02dfaa4796ad4bee51171aabe39b52dd8 parent fbf30fbaa61595e9026f628f3913888b0df2b288 author Jeff Garzik Sun, 30 Oct 2005 14:39:11 -0500 committer Jeff Garzik Sun, 30 Oct 2005 14:39:11 -0500 [libata] use dev_printk() throughout drivers A few drivers were not following the standard meme of printing out their driver name and version at module load time; this is fixed as well. commit 1d1fd66c45fa78c6fed61612e14dad0e24c815c2 tree f78f5370f45eaa17d6eea0b8378f20d99ccff8f2 parent b4c2803ca8ad7bb1aad215d89532e24488e9e68e author Russell King Sun, 30 Oct 2005 19:07:59 +0000 committer Russell King Sun, 30 Oct 2005 19:07:59 +0000 [ARM] Turn ARM RiscPC PCF8583 i2c RTC driver into a proper module Signed-off-by: Russell King commit b4c2803ca8ad7bb1aad215d89532e24488e9e68e tree 719a557c8f30724270d59a425c33fc0d1db067ed parent d362979aa2b031b91ee12122e5c4cad89577d8d3 author Russell King Sun, 30 Oct 2005 19:03:21 +0000 committer Russell King Sun, 30 Oct 2005 19:03:21 +0000 [ARM] Make v6 copypage function static and cleanup pgprots We know what pgprot we're going to use, so don't #define it. Also, since we select the nonaliasing/aliasing copypage implementation at run time, there's no point having it globally visible. Signed-off-by: Russell King commit d362979aa2b031b91ee12122e5c4cad89577d8d3 tree 45b418415e77f104f8d90f2fb4c99b1acc9fb365 parent dc07845d0ce20d771fb96b0a5db57ffec2a89d3e author Russell King Sun, 30 Oct 2005 19:01:43 +0000 committer Russell King Sun, 30 Oct 2005 19:01:43 +0000 [ARM] Re-organise die() Provide __die() which can be called from various contexts to provide an oops report. Signed-off-by: Russell King commit 8576762ff5d109b841fcf4e7d3883e0cf794f3cf tree ad8fc56461bc29531a2b42d71c17d1db3c909263 parent e32e28edc3d894201e15b19df627af66023aa91f author Russell King Sun, 30 Oct 2005 16:33:11 +0000 committer Russell King Sun, 30 Oct 2005 16:33:11 +0000 [DRIVER MODEL] Add missing driver_unregister to IMX serial driver Fix the IMX serial driver to unregister its driver structure when it is unloaded. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit e32e28edc3d894201e15b19df627af66023aa91f tree ac7f1bf0f55b6bc68ef931be7b6a7098f059d867 parent bbbf508d6403f9dfeeb040d9cd7366e395632e59 author Russell King Sun, 30 Oct 2005 16:32:27 +0000 committer Russell King Sun, 30 Oct 2005 16:32:27 +0000 [DRIVER MODEL] Add missing driver_unregister in i2c-s3c2410 failure path. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit dc07845d0ce20d771fb96b0a5db57ffec2a89d3e tree b643e9529f2519e6ee616e39e7ed08d5307f7b0a parent ca1140b57d0a203f3db848ba5f63609a8ccd92b6 author Richard Purdie Sun, 30 Oct 2005 14:50:25 +0000 committer Russell King Sun, 30 Oct 2005 14:50:25 +0000 [ARM] 3069/1: Add spitz irda platform support Patch from Richard Purdie Add spitz irda platform support Signed-off-by: Richard Purdie Signed-off-by: Russell King commit ca1140b57d0a203f3db848ba5f63609a8ccd92b6 tree c2b29c2e82e40198bf7841ce94d99e1d1a6835ac parent 8e4b8715d815a29b4f0655e698a0c5f8d05b6dc9 author Richard Purdie Sun, 30 Oct 2005 14:38:53 +0000 committer Russell King Sun, 30 Oct 2005 14:38:53 +0000 [ARM] 3068/1: Add corgi irda platform support Patch from Richard Purdie Add corgi irda platform support Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 8e4b8715d815a29b4f0655e698a0c5f8d05b6dc9 tree e288c32bd20ed23276ee7c3b06c1845946a685b3 parent 91e1a512291f258746611c18ec4970a81c9f311b author Richard Purdie Sun, 30 Oct 2005 14:38:52 +0000 committer Russell King Sun, 30 Oct 2005 14:38:52 +0000 [ARM] 3067/1: Add poodle irda platform support Patch from Richard Purdie Add poodle irda platform support Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 91e1a512291f258746611c18ec4970a81c9f311b tree 1005eb3a28ba9059d2439c6ddc7dd75857f680fe parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Richard Purdie Sun, 30 Oct 2005 14:38:52 +0000 committer Russell King Sun, 30 Oct 2005 14:38:52 +0000 [ARM] 3066/1: Fix PXA irda driver suspend/resume functions Patch from Richard Purdie Update the PXA irda driver to match the recent platform device suspend/resume level changes. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit fbf30fbaa61595e9026f628f3913888b0df2b288 tree 9287895eebc60ec0c02b002a089c125e8741f6fb parent 6248e64721a4f3db9fbedd207206f47835acce44 author Jeff Garzik Sun, 30 Oct 2005 07:57:31 -0500 committer Jeff Garzik Sun, 30 Oct 2005 07:57:31 -0500 [libata ata_piix] fix native mode probe, after recent updates commit 5f6b5b973a125de0dbe236ce659a495787c81ff0 tree 49286d23fff0b829e2c93831925eadceeeb6cd7a parent eb66ce6333742e32825f0294310ff53e284fa828 author Paul Mackerras Sun, 30 Oct 2005 22:55:52 +1100 committer Paul Mackerras Sun, 30 Oct 2005 22:55:52 +1100 powerpc: Fix time setting bug on 32-bit This fixes a bug where settimeofday would set the wrong parameters in do_gtod, resulting in gettimeofday returning a value about 4 hours after the correct time. The bug was that we divided a negative 64-bit value with do_div, which treated it as unsigned and gave us a result that was approximately 1.8e10 too large (since the divisor was 1e9). Signed-off-by: Paul Mackerras commit 6248e64721a4f3db9fbedd207206f47835acce44 tree d1db8f297b3b0fd3cc067d008df12c5f0e446d05 parent 0f0d5192696eeb3072944a4a813809cc2c85891a author Jeff Garzik Sun, 30 Oct 2005 06:42:18 -0500 committer Jeff Garzik Sun, 30 Oct 2005 06:42:18 -0500 [libata ata_piix] use dev_printk() where appropriate commit 0f0d5192696eeb3072944a4a813809cc2c85891a tree ae7234824d8403e1cb430db6ba0adb1b5c816fba parent a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 author Jeff Garzik Sun, 30 Oct 2005 06:41:29 -0500 committer Jeff Garzik Sun, 30 Oct 2005 06:41:29 -0500 [libata] fix legacy IDE probing ata_pci_init_one() receives an array of struct ata_port_info. Recent updates to the code had always obtained port information from array element 0, rather than array element N. Change to avoid hardcoding port_info[0], thereby restoring proper hardware information to secondary legacy ports. commit 936d8592654bb97d5706a73c0e2a6339b090f7fb tree 78282b935a267627ef7b259853aced6abb9fc566 parent 9e1d98c5d8613d917004a193d4f989a3544d8fef author Pierre Ossman Sun, 30 Oct 2005 10:15:58 +0000 committer Russell King Sun, 30 Oct 2005 10:15:58 +0000 [MMC] Use command class to determine read-only status If a card doesn't support the "write block" command class then any attempts to open the device should reflect this by denying write access. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 9e1d98c5d8613d917004a193d4f989a3544d8fef tree 6f442dfb7b5153e4d305db212a372ba8c4d01580 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Russell King Sun, 30 Oct 2005 10:10:13 +0000 committer Russell King Sun, 30 Oct 2005 10:10:13 +0000 [MMC] pxamci doesn't need to include asm/irq.h Signed-off-by: Russell King commit 054ee8fd39f1b5d50e803f126b63f400d631eea4 tree 2819e388f853de88e09635de8e38017b563069bc parent f0612bbc41f65f5a684f69d714a1a17a6f0f40c5 parent a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 author Jeff Garzik Sun, 30 Oct 2005 04:50:22 -0500 committer Jeff Garzik Sun, 30 Oct 2005 04:50:22 -0500 Merge branch 'upstream' commit a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 tree a8935490cdd374aba3a804ba9f79d1aed67db36d parent 81cfb8864c73230eb1c37753aba517db15cf4d8f author Jeff Garzik Sun, 30 Oct 2005 04:44:42 -0500 committer Jeff Garzik Sun, 30 Oct 2005 04:44:42 -0500 [libata] change ata_qc_complete() to take error mask as second arg The second argument to ata_qc_complete() was being used for two purposes: communicate the ATA Status register to the completion function, and indicate an error. On legacy PCI IDE hardware, the latter is often implicit in the former. On more modern hardware, the driver often completely emulated a Status register value, passing ATA_ERR as an indication that something went wrong. Now that previous code changes have eliminated the need to use drv_stat arg to communicate the ATA Status register value, we can convert it to a mask of possible error classes. This will lead to more flexible error handling in the future. commit f0612bbc41f65f5a684f69d714a1a17a6f0f40c5 tree 8c070070bb355843cfa4635643e9da7c2c4cd44a parent b0c4e148bd591629749d02a8fbc8d81c26d548cf parent 81cfb8864c73230eb1c37753aba517db15cf4d8f author Jeff Garzik Sun, 30 Oct 2005 01:58:18 -0500 committer Jeff Garzik Sun, 30 Oct 2005 01:58:18 -0500 Merge branch 'upstream' commit 81cfb8864c73230eb1c37753aba517db15cf4d8f tree 649ff25543834cf9983ea41b93126bea97d75475 parent 0169e284f6b6b263cc7c2ed25986b96cd6fda610 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Jeff Garzik Sun, 30 Oct 2005 01:56:31 -0500 committer Jeff Garzik Sun, 30 Oct 2005 01:56:31 -0500 Merge branch 'master' commit 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 tree 27a73405d3652dc6771fab28721b70e6d44ff47a parent b1459461f1e0abd5c28317d6bff6f2ca612a719d parent 1b40efd772f4419fbc1a8940506424246985c333 author Linus Torvalds Sat, 29 Oct 2005 21:48:06 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:48:06 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6 commit b1459461f1e0abd5c28317d6bff6f2ca612a719d tree 32ba1d395e8532d14749c2d95ff57fdba2aaddc2 parent 2f96996de0eda378df2a5f857ee1ef615ae10a4f author Nikita Danilov Sat, 29 Oct 2005 18:17:02 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] mm/filemap.c:filemap_populate(): move export. move EXPORT_SYMBOL(filemap_populate) to the proper place: just after function itself: it's easy to miss that function is exported otherwise. Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f96996de0eda378df2a5f857ee1ef615ae10a4f tree ee3075c48a99369c9748ee17d3bb8396e9f38372 parent 5fcbb23050936d69de8087d4b311eaf55cb42740 author John Hawkes Sat, 29 Oct 2005 18:17:01 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] mm: wider use of for_each_*cpu() In 'mm' change the explicit use of a for-loop using NR_CPUS into the general for_each_cpu() constructs. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fcbb23050936d69de8087d4b311eaf55cb42740 tree 10d14ca6927bc1bfa4bca4d206d2e1039f6cbf03 parent 8bccd85ffbaf8ff1448d1235fa6594e207695531 author Christoph Lameter Sat, 29 Oct 2005 18:17:00 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] Remove policy contextualization from mbind Policy contextualization is only useful for task based policies and not for vma based policies. It may be useful to define allowed nodes that are not accessible from this thread because other threads may have access to these nodes. Without this patch strange memory policy situations may cause an application to fail with out of memory. Example: Let's say we have two threads A and B that share the same address space and a huge array computational array X. Thread A is restricted by its cpuset to nodes 0 and 1 and thread B is restricted by its cpuset to nodes 2 and 3. Thread A now wants to restrict allocations to the first node and thus applies a BIND policy on X to node 0 and 2. The cpuset limits this to node 0. Thus pages for X must be allocated on node 0 now. Thread B now touches a page that has never been used in X and faults in a page. According to the BIND policy of the vma for X the page must be allocated on page 0. However, the cpuset of B does not allow allocation on 0 and 1. Now the application fails in alloc_pages with out of memory. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bccd85ffbaf8ff1448d1235fa6594e207695531 tree d5ed1f3b2ba1d301c74cc0a62ed416e634c5bebb parent bb7e7e032d2cb8e0e9a88a2be209de5e61033b39 author Christoph Lameter Sat, 29 Oct 2005 18:16:59 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] Implement sys_* do_* layering in the memory policy layer. - Do a separation between do_xxx and sys_xxx functions. sys_xxx functions take variable sized bitmaps from user space as arguments. do_xxx functions take fixed sized nodemask_t as arguments and may be used from inside the kernel. Doing so simplifies the initialization code. There is no fs = kernel_ds assumption anymore. - Split up get_nodes into get_nodes (which gets the node list) and contextualize_policy which restricts the nodes to those accessible to the task and updates cpusets. - Add comments explaining limitations of bind policy Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb7e7e032d2cb8e0e9a88a2be209de5e61033b39 tree 90cf33b97fed90f21b6f896198f8fdece695bbde parent 05039b926374212b2d861860cf54b9e839d4dd76 author Dave Hansen Sat, 29 Oct 2005 18:16:58 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] memory hotplug: ppc64 specific hot-add functions Here is a set of ppc64 specific patches that at least allow compilation/booting with the following configurations: FLATMEM SPARSEMEN SPARSEMEM + MEMORY_HOTPLUG Signed-off-by: Mike Kravetz Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05039b926374212b2d861860cf54b9e839d4dd76 tree 0e52a07bcff5bcdd612b53eec808a58c1b2c2525 parent 61b13993a81866fc1d4830dfab80530c9c061e37 author Dave Hansen Sat, 29 Oct 2005 18:16:57 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] memory hotplug: i386 addition functions Adds the necessary for non-NUMA hot-add of highmem to an existing zone on i386. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61b13993a81866fc1d4830dfab80530c9c061e37 tree 4d8f3acd428438b37e5b28246c666e0fdfba5335 parent 0b0acbec1bed75ec1e1daa7f7006323a2a2b2844 author Dave Hansen Sat, 29 Oct 2005 18:16:56 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug: call setup_per_zone_pages_min after hotplug From: IWAMOTO Toshihiro > I found the tests does not work well with Dave's patchset. > I've found the followings: > > - setup_per_zone_pages_min() calls should be added in > capture_page_range() and online_pages() > - lru_add_drain() should be called before try_to_migrate_pages() The following patch deals with the first item. Signed-off-by: IWAMOTO Toshihiro Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b0acbec1bed75ec1e1daa7f7006323a2a2b2844 tree e0d54fbaa6b8b0955ed881af8956b4085039b2d1 parent 3947be1969a9ce455ec30f60ef51efb10e4323d1 author Dave Hansen Sat, 29 Oct 2005 18:16:55 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug: move section_mem_map alloc to sparse.c This basically keeps up from having to extern __kmalloc_section_memmap(). The vaddr_in_vmalloc_area() helper could go in a vmalloc header, but that header gets hard to work with, because it needs some arch-specific macros. Just stick it in here for now, instead of creating another header. Signed-off-by: Dave Hansen Signed-off-by: Lion Vollnhals Signed-off-by: Jiri Slaby Signed-off-by: Yasunori Goto Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3947be1969a9ce455ec30f60ef51efb10e4323d1 tree 0b4b3b4c268beb7aa88cb685cce48b6bb5053c47 parent bdc8cb984576ab5b550c8b24c6fa111a873503e3 author Dave Hansen Sat, 29 Oct 2005 18:16:54 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug: sysfs and add/remove functions This adds generic memory add/remove and supporting functions for memory hotplug into a new file as well as a memory hotplug kernel config option. Individual architecture patches will follow. For now, disable memory hotplug when swsusp is enabled. There's a lot of churn there right now. We'll fix it up properly once it calms down. Signed-off-by: Matt Tolentino Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdc8cb984576ab5b550c8b24c6fa111a873503e3 tree f94548988874caa10d770e6e65bc50c925abf825 parent 208d54e5513c0c02d85af0990901354c74364d5c author Dave Hansen Sat, 29 Oct 2005 18:16:53 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug locking: zone span seqlock See the "fixup bad_range()" patch for more information, but this actually creates a the lock to protect things making assumptions about a zone's size staying constant at runtime. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 208d54e5513c0c02d85af0990901354c74364d5c tree 83922f1d4a83f19bffcbff299044f421bd7e9c73 parent c6a57e19e464db118dc4ab9cfe9e9748c6d630a0 author Dave Hansen Sat, 29 Oct 2005 18:16:52 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug locking: node_size_lock pgdat->node_size_lock is basically only neeeded in one place in the normal code: show_mem(), which is the arch-specific sysrq-m printing function. Strictly speaking, the architectures not doing memory hotplug do no need this locking in show_mem(). However, they are all included for completeness. This should also make any future consolidation of all of the implementations a little more straightforward. This lock is also held in the sparsemem code during a memory removal, as sections are invalidated. This is the place there pfn_valid() is made false for a memory area that's being removed. The lock is only required when doing pfn_valid() operations on memory which the user does not already have a reference on the page, such as in show_mem(). Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6a57e19e464db118dc4ab9cfe9e9748c6d630a0 tree 1be192e4c0635c9aa49c8c76d1606e606ecdc9a0 parent 4ca644d970bf2542623228a4624af356d20ca267 author Dave Hansen Sat, 29 Oct 2005 18:16:52 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug prep: fixup bad_range() When doing memory hotplug operations, the size of existing zones can obviously change. This means that zone->zone_{start_pfn,spanned_pages} can change. There are currently no locks that protect these structure members. However, they are rarely accessed at runtime. Outside of swsusp, the only place that I can find is bad_range(). So, split bad_range() up into two pieces: one that needs to be locked and anther that doesn't. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ca644d970bf2542623228a4624af356d20ca267 tree 1040782e8799d5531a5ee1d5f1143e26e8781e9d parent ed8ece2ec8d3c2031b1a1a0737568bb0d49454e0 author Dave Hansen Sat, 29 Oct 2005 18:16:51 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug prep: __section_nr helper A little helper that we use in the hotplug code. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed8ece2ec8d3c2031b1a1a0737568bb0d49454e0 tree 5fb5b994ad3fcdc4ab2bb2c906d88c02a8395807 parent 2774812f417db562f0d659d2c1b5755ba35d2770 author Dave Hansen Sat, 29 Oct 2005 18:16:50 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug prep: break out zone initialization If a zone is empty at boot-time and then hot-added to later, it needs to run the same init code that would have been run on it at boot. This patch breaks out zone table and per-cpu-pages functions for use by the hotplug code. You can almost see all of the free_area_init_core() function on one page now. :) Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2774812f417db562f0d659d2c1b5755ba35d2770 tree b277d15f7165753539fe141df44c7805e1227d4d parent 1a44e149084d772a1bcf4cdbdde8a013a8a1cfde author Dave Hansen Sat, 29 Oct 2005 18:16:49 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug prep: kill local_mapnr The following series implements memory hot-add for ppc64 and i386. There are x86_64 and ia64 implementations that will be submitted shortly as well, through the normal maintainers. This patch: local_mapnr is unused, except for in an alpha header. Keep the alpha one, kill the rest. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a44e149084d772a1bcf4cdbdde8a013a8a1cfde tree b3f682ce8df89edb9740fdd5c178df5accc49736 parent 2e9b367c2273ed21c9852a04d90944d472c4f3e6 author Andrea Arcangeli Sat, 29 Oct 2005 18:16:48 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] .text page fault SMP scalability optimization We had a problem on ppc64 where with more than 4 threads a large system wouldn't scale well while faulting in the .text (most of the time was spent in the kernel despite it was an userland compute intensive app). The reason is the useless overwrite of the same pte from all cpu. I fixed it this way (verified on an older kernel but the forward port is almost identical). This will benefit all archs not just ppc64. Signed-off-by: Andrea Arcangeli Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e9b367c2273ed21c9852a04d90944d472c4f3e6 tree 75e802f07a8c4f0554547e8dd795f544c7e9d7e8 parent 4c887265977213985091476be40ab11dfdcb4caf author Adam Litke Sat, 29 Oct 2005 18:16:47 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlb: overcommit accounting check Basic overcommit checking for hugetlb_file_map() based on an implementation used with demand faulting in SLES9. Since demand faulting can't guarantee the availability of pages at mmap time, this patch implements a basic sanity check to ensure that the number of huge pages required to satisfy the mmap are currently available. Despite the obvious race, I think it is a good start on doing proper accounting. I'd like to work towards an accounting system that mimics the semantics of normal pages (especially for the MAP_PRIVATE/COW case). That work is underway and builds on what this patch starts. Huge page shared memory segments are simpler and still maintain their commit on shmget semantics. Signed-off-by: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c887265977213985091476be40ab11dfdcb4caf tree 82ee135f8678094664d7311617287802d54d52cf parent 551110a94aa15890d1709b179c4be1e66ff6db53 author Adam Litke Sat, 29 Oct 2005 18:16:46 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlb: demand fault handler Below is a patch to implement demand faulting for huge pages. The main motivation for changing from prefaulting to demand faulting is so that huge page memory areas can be allocated according to NUMA policy. Thanks to consolidated hugetlb code, switching the behavior requires changing only one fault handler. The bulk of the patch just moves the logic from hugelb_prefault() to hugetlb_pte_fault() and find_get_huge_page(). Signed-off-by: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 551110a94aa15890d1709b179c4be1e66ff6db53 tree f16ab250dcb50a7839d26b7abc2a165b705c5fb0 parent 0b1533f67cc1a595457af6d05ab3510294e2ca9c author Krishnakumar R Sat, 29 Oct 2005 18:16:45 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlb: remove repeated code Clean up some repeated code related to HugeTLB. hugetlb_zero_setup would have already allocated the file->f_op. Signed-off-by: Krishnakumar. R Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b1533f67cc1a595457af6d05ab3510294e2ca9c tree 4cebbfe7632c0967a52f7c7fb7b0c15954eaab3a parent 6b09b9df05f319ec27e0dae1721efe097b8b23ad author Christoph Hellwig Sat, 29 Oct 2005 18:16:45 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] cleanup hugelbfs_forget_inode Reformat hugelbfs_forget_inode and add the missing but harmless write_inode_now call. It looks the same as generic_forget_inode now except for the call to truncate_hugepages instead of truncate_inode_pages. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b09b9df05f319ec27e0dae1721efe097b8b23ad tree 93f68801f5d0d8b93e0771dfc002163d97c5db6e parent 149f4211afda85743e3a3db3fa3abbd81506cf2b author Christoph Hellwig Sat, 29 Oct 2005 18:16:44 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] kill hugelbfs_do_delete_inode hugetlbfs_do_delete_inode is the same as generic_delete_inode now, so remove it in favour of the latter. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 149f4211afda85743e3a3db3fa3abbd81506cf2b tree f4709ee1ae5e8d580e4594db5c21add717a24324 parent 96527980d4cb8f65fe49efdbc4ab92c0837d42f6 author Christoph Hellwig Sat, 29 Oct 2005 18:16:43 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlbfs: clean up hugetlbfs_delete_inode Make hugetlbfs looks the same as generic_detelte_inode, fixing a bunch of missing updates to it at the same time. Rename it to hugetlbfs_do_delete_inode and add a real hugetlbfs_delete_inode that implements ->delete_inode. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96527980d4cb8f65fe49efdbc4ab92c0837d42f6 tree 93b6b438cee41d62e562ae277e67c9b6cad288a7 parent b8072f099b7829a6ff3eba618e1d079a81f753f8 author Christoph Hellwig Sat, 29 Oct 2005 18:16:42 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlbfs: move free_inodes accounting Move hugetlbfs accounting into ->alloc_inode / ->destroy_inode. This keeps the code simpler, fixes a loeak where a failing inode allocation wouldn't decrement the counter and moves hugetlbfs_delete_inode and hugetlbfs_forget_inode closer to their generic counterparts. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8072f099b7829a6ff3eba618e1d079a81f753f8 tree 80bf801b68ecf5f29a61f0f4fd5976b4daa91c6a parent f412ac08c9861b4791af0145934c22f1458686da author Hugh Dickins Sat, 29 Oct 2005 18:16:41 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: update comments to pte lock Updated several references to page_table_lock in common code comments. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f412ac08c9861b4791af0145934c22f1458686da tree 5e515efa116f3968c2caa75bc691a197199313a8 parent 4c21e2f2441dc5fbb957b030333f5a3f2d02dea7 author Hugh Dickins Sat, 29 Oct 2005 18:16:41 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: fix rss and mmlist locking A couple of oddities were guarded by page_table_lock, no longer properly guarded when that is split. The mm_counters of file_rss and anon_rss: make those an atomic_t, or an atomic64_t if the architecture supports it, in such a case. Definitions by courtesy of Christoph Lameter: who spent considerable effort on more scalable ways of counting, but found insufficient benefit in practice. And adding an mm with swap to the mmlist for swapoff: the list is well- guarded by its own lock, but the list_empty check now has to be repeated inside it. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c21e2f2441dc5fbb957b030333f5a3f2d02dea7 tree 1f76d33bb1d76221c6424bc5fed080a4f91349a6 parent b38c6845b695141259019e2b7c0fe6c32a6e720d author Hugh Dickins Sat, 29 Oct 2005 18:16:40 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: split page table lock Christoph Lameter demonstrated very poor scalability on the SGI 512-way, with a many-threaded application which concurrently initializes different parts of a large anonymous area. This patch corrects that, by using a separate spinlock per page table page, to guard the page table entries in that page, instead of using the mm's single page_table_lock. (But even then, page_table_lock is still used to guard page table allocation, and anon_vma allocation.) In this implementation, the spinlock is tucked inside the struct page of the page table page: with a BUILD_BUG_ON in case it overflows - which it would in the case of 32-bit PA-RISC with spinlock debugging enabled. Splitting the lock is not quite for free: another cacheline access. Ideally, I suppose we would use split ptlock only for multi-threaded processes on multi-cpu machines; but deciding that dynamically would have its own costs. So for now enable it by config, at some number of cpus - since the Kconfig language doesn't support inequalities, let preprocessor compare that with NR_CPUS. But I don't think it's worth being user-configurable: for good testing of both split and unsplit configs, split now at 4 cpus, and perhaps change that to 8 later. There is a benefit even for singly threaded processes: kswapd can be attacking one part of the mm while another part is busy faulting. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b38c6845b695141259019e2b7c0fe6c32a6e720d tree e950aa393f0514e976fe9b46b3462607b016b1db parent 8f5cd76c185a4c8aeb5fe1e560e3612bfc050c35 author Hugh Dickins Sat, 29 Oct 2005 18:16:39 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: uml kill unused In worrying over the various pte operations in different architectures, I came across some unused functions in UML: remove mprotect_kernel_vm, protect_vm_page and addr_pte. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f5cd76c185a4c8aeb5fe1e560e3612bfc050c35 tree 42f9fc842005eda8d898998850a20c6afb5ce7e6 parent a7e4705b24e611574e5c23105005ffdff694fd58 author Hugh Dickins Sat, 29 Oct 2005 18:16:38 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: uml pte atomicity There's usually a good reason when a pte is examined without the lock; but it makes me nervous when the pointer is dereferenced more than once. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7e4705b24e611574e5c23105005ffdff694fd58 tree 891228898aaa599e4f9f0f56e9f7cc6659b1cde7 parent 92dc6fcc845d99e87d8168e0786796525832d130 author Hugh Dickins Sat, 29 Oct 2005 18:16:37 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: cris v32 mmu_context_lock The cris v32 switch_mm guards get_mmu_context with next->page_table_lock: good it's not really SMP yet, since get_mmu_context messes with global variables affecting other mms. Replace by global mmu_context_lock. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92dc6fcc845d99e87d8168e0786796525832d130 tree ac36da7e3dc3e0ba62d4139443beb7eb7c25288d parent 69b0475456ff7ef520e16f69d7a15c0d68b74e64 author Hugh Dickins Sat, 29 Oct 2005 18:16:36 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: parisc pte atomicity There's a worrying function translation_exists in parisc cacheflush.h, unaffected by split ptlock since flush_dcache_page is using it on some other mm, without any relevant lock. Oh well, make it a slightly more robust by factoring the pfn check within it. And it looked liable to confuse a camouflaged swap or file entry with a good pte: fix that too. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69b0475456ff7ef520e16f69d7a15c0d68b74e64 tree 3e70d47f16437254eff3b3cca4aa275be1b5e275 parent 60ec5585496871345c1a8113d7b60ed9d9474866 author Hugh Dickins Sat, 29 Oct 2005 18:16:36 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: arm ready for split ptlock Prepare arm for the split page_table_lock: three issues. Signal handling's preserve and restore of iwmmxt context currently involves reading and writing that context to and from user space, while holding page_table_lock to secure the user page(s) against kswapd. If we split the lock, then the structure might span two pages, secured by to read into and write from a kernel stack buffer, copying that out and in without locking (the structure is 160 bytes in size, and here we're near the top of the kernel stack). Or would the overhead be noticeable? arm_syscall's cmpxchg emulation use pte_offset_map_lock, instead of pte_offset_map and mm-wide page_table_lock; and strictly, it should now also take mmap_sem before descending to pmd, to guard against another thread munmapping, and the page table pulled out beneath this thread. Updated two comments in fault-armv.c. adjust_pte is interesting, since its modification of a pte in one part of the mm depends on the lock held when calling update_mmu_cache for a pte in some other part of that mm. This can't be done with a split page_table_lock (and we've already taken the lowest lock in the hierarchy here): so we'll have to disable split on arm, unless CONFIG_CPU_CACHE_VIPT to ensures adjust_pte never used. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60ec5585496871345c1a8113d7b60ed9d9474866 tree 172df570995ec777ca2a271dda7e3fcbb2dc5acb parent deceb6cd17e6dfafe4c4f81b1b4153bc41b2cb70 author Hugh Dickins Sat, 29 Oct 2005 18:16:34 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: i386 sh sh64 ready for split ptlock Use pte_offset_map_lock, instead of pte_offset_map (or inappropriate pte_offset_kernel) and mm-wide page_table_lock, in sundry arch places. The i386 vm86 mark_screen_rdonly: yes, there was and is an assumption that the screen fits inside the one page table, as indeed it does. The sh __do_page_fault: which handles both kernel faults (without lock) and user mm faults (locked - though it set_pte without locking before). The sh64 flush_cache_range and helpers: which wrongly thought callers held page_table_lock before (only its tlb_start_vma did, and no longer does so); moved the flush loop down, and adjusted the large versus small range decision to consider a range which spans page tables as large. Signed-off-by: Hugh Dickins Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit deceb6cd17e6dfafe4c4f81b1b4153bc41b2cb70 tree 2a722f50e8edef8609a49f65bfcb222e499c44cc parent c34d1b4d165c67b966bca4aba026443d7ff161eb author Hugh Dickins Sat, 29 Oct 2005 18:16:33 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: follow_page with inner ptlock Final step in pushing down common core's page_table_lock. follow_page no longer wants caller to hold page_table_lock, uses pte_offset_map_lock itself; and so no page_table_lock is taken in get_user_pages itself. But get_user_pages (and get_futex_key) do then need follow_page to pin the page for them: take Daniel's suggestion of bitflags to follow_page. Need one for WRITE, another for TOUCH (it was the accessed flag before: vanished along with check_user_page_readable, but surely get_numa_maps is wrong to mark every page it finds as accessed), another for GET. And another, ANON to dispose of untouched_anonymous_page: it seems silly for that to descend a second time, let follow_page observe if there was no page table and return ZERO_PAGE if so. Fix minor bug in that: check VM_LOCKED - make_pages_present ought to make readonly anonymous present. Give get_numa_maps a cond_resched while we're there. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c34d1b4d165c67b966bca4aba026443d7ff161eb tree 27ffca9daba2a6b16d29bd508faf3e68bda2aad1 parent c0718806cf955d5eb51ea77bffb5b21d9bba4972 author Hugh Dickins Sat, 29 Oct 2005 18:16:32 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: kill check_user_page_readable check_user_page_readable is a problematic variant of follow_page. It's used only by oprofile's i386 and arm backtrace code, at interrupt time, to establish whether a userspace stackframe is currently readable. This is problematic, because we want to push the page_table_lock down inside follow_page, and later split it; whereas oprofile is doing a spin_trylock on it (in the i386 case, forgotten in the arm case), and needs that to pin perhaps two pages spanned by the stackframe (which might be covered by different locks when we split). I think oprofile is going about this in the wrong way: it doesn't need to know the area is readable (neither i386 nor arm uses read protection of user pages), it doesn't need to pin the memory, it should simply __copy_from_user_inatomic, and see if that succeeds or not. Sorry, but I've not got around to devising the sparse __user annotations for this. Then we can eliminate check_user_page_readable, and return to a single follow_page without the __follow_page variants. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0718806cf955d5eb51ea77bffb5b21d9bba4972 tree bd29659bbff68604127439ec8144230a40772621 parent 67b02f119df50ffad5a4e9e53ea4c896535862cd author Hugh Dickins Sat, 29 Oct 2005 18:16:31 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: rmap with inner ptlock rmap's page_check_address descend without page_table_lock. First just pte_offset_map in case there's no pte present worth locking for, then take page_table_lock for the full check, and pass ptl back to caller in the same style as pte_offset_map_lock. __xip_unmap, page_referenced_one and try_to_unmap_one use pte_unmap_unlock. try_to_unmap_cluster also. page_check_address reformatted to avoid progressive indentation. No use is made of its one error code, return NULL when it fails. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67b02f119df50ffad5a4e9e53ea4c896535862cd tree 9d651e9e62b6ead325fc6bd872f3a6232d85e8a3 parent 508034a32b819a2d40aa7ac0dbc8cd2e044c2de6 author Hugh Dickins Sat, 29 Oct 2005 18:16:31 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: xip_unmap ZERO_PAGE fix Small fix to the PageReserved patch: the mips ZERO_PAGE(address) depends on address, so __xip_unmap is wrong to initialize page with that before address is initialized; and in fact must re-evaluate it each iteration. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 508034a32b819a2d40aa7ac0dbc8cd2e044c2de6 tree 906a8f0095af24f403b30d649d3ec1ffb4ff2f50 parent 8f4f8c164cb4af1432cc25eda82928ea4519ba72 author Hugh Dickins Sat, 29 Oct 2005 18:16:30 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: unmap_vmas with inner ptlock Remove the page_table_lock from around the calls to unmap_vmas, and replace the pte_offset_map in zap_pte_range by pte_offset_map_lock: all callers are now safe to descend without page_table_lock. Don't attempt fancy locking for hugepages, just take page_table_lock in unmap_hugepage_range. Which makes zap_hugepage_range, and the hugetlb test in zap_page_range, redundant: unmap_vmas calls unmap_hugepage_range anyway. Nor does unmap_vmas have much use for its mm arg now. The tlb_start_vma and tlb_end_vma in unmap_page_range are now called without page_table_lock: if they're implemented at all, they typically come down to flush_cache_range (usually done outside page_table_lock) and flush_tlb_range (which we already audited for the mprotect case). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f4f8c164cb4af1432cc25eda82928ea4519ba72 tree 49cd3c62069df1f8d6c863b9806923de16c10e8b parent 663b97f7efd001b0c56bd5fce059c5272725b86f author Hugh Dickins Sat, 29 Oct 2005 18:16:29 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: unlink vma before pagetables In most places the descent from pgd to pud to pmd to pte holds mmap_sem (exclusively or not), which ensures that free_pgtables cannot be freeing page tables from any level at the same time. But truncation and reverse mapping descend without mmap_sem. No problem: just make sure that a vma is unlinked from its prio_tree (or nonlinear list) and from its anon_vma list, after zapping the vma, but before freeing its page tables. Then neither vmtruncate nor rmap can reach that vma whose page tables are now volatile (nor do they need to reach it, since all its page entries have been zapped by this stage). The i_mmap_lock and anon_vma->lock already serialize this correctly; but the locking hierarchy is such that we cannot take them while holding page_table_lock. Well, we're trying to push that down anyway. So in this patch, move anon_vma_unlink and unlink_file_vma into free_pgtables, at the same time as moving page_table_lock around calls to unmap_vmas. tlb_gather_mmu and tlb_finish_mmu then fall outside the page_table_lock, but we made them preempt_disable and preempt_enable earlier; and a long source audit of all the architectures has shown no problem with removing page_table_lock from them. free_pgtables doesn't need page_table_lock for itself, nor for what it calls; tlb->mm->nr_ptes is usually protected by page_table_lock, but partly by non-exclusive mmap_sem - here it's decremented with exclusive mmap_sem, or mm_users 0. update_hiwater_rss and vm_unacct_memory don't need page_table_lock either. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 663b97f7efd001b0c56bd5fce059c5272725b86f tree c80088db3514bf7f1749243e81fc3abaf7252ebd parent 705e87c0c3c38424f7f30556c85bc20e808d2f59 author Hugh Dickins Sat, 29 Oct 2005 18:16:28 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: flush_tlb_range outside ptlock There was one small but very significant change in the previous patch: mprotect's flush_tlb_range fell outside the page_table_lock: as it is in 2.4, but that doesn't prove it safe in 2.6. On some architectures flush_tlb_range comes to the same as flush_tlb_mm, which has always been called from outside page_table_lock in dup_mmap, and is so proved safe. Others required a deeper audit: I could find no reliance on page_table_lock in any; but in ia64 and parisc found some code which looks a bit as if it might want preemption disabled. That won't do any actual harm, so pending a decision from the maintainers, disable preemption there. Remove comments on page_table_lock from flush_tlb_mm, flush_tlb_range and flush_tlb_page entries in cachetlb.txt: they were rather misleading (what generic code does is different from what usually happens), the rules are now changing, and it's not yet clear where we'll end up (will the generic tlb_flush_mmu happen always under lock? never under lock? or sometimes under and sometimes not?). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 705e87c0c3c38424f7f30556c85bc20e808d2f59 tree 7a237e6266f4801385e1226cc497b47e3a2458bd parent 8f4e2101fd7df9031a754eedb82e2060b51f8c45 author Hugh Dickins Sat, 29 Oct 2005 18:16:27 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: pte_offset_map_lock loops Convert those common loops using page_table_lock on the outside and pte_offset_map within to use just pte_offset_map_lock within instead. These all hold mmap_sem (some exclusively, some not), so at no level can a page table be whipped away from beneath them. But whereas pte_alloc loops tested with the "atomic" pmd_present, these loops are testing with pmd_none, which on i386 PAE tests both lower and upper halves. That's now unsafe, so add a cast into pmd_none to test only the vital lower half: we lose a little sensitivity to a corrupt middle directory, but not enough to worry about. It appears that i386 and UML were the only architectures vulnerable in this way, and pgd and pud no problem. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f4e2101fd7df9031a754eedb82e2060b51f8c45 tree 624db00c6160d70376a57447b45b935b293e396b parent b462705ac679f6195d1b23a752cda592d9107495 author Hugh Dickins Sat, 29 Oct 2005 18:16:26 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: page fault handler locking On the page fault path, the patch before last pushed acquiring the page_table_lock down to the head of handle_pte_fault (though it's also taken and dropped earlier when a new page table has to be allocated). Now delete that line, read "entry = *pte" without it, and go off to this or that page fault handler on the basis of this unlocked peek. Usually the handler can proceed without the lock, relying on the subsequent locked pte_same or pte_none test to back out when necessary; though do_wp_page needs the lock immediately, and do_file_page doesn't check (if there's a race, install_page just zaps the entry and reinstalls it). But on those architectures (notably i386 with PAE) whose pte is too big to be read atomically, if SMP or preemption is enabled, do_swap_page and do_file_page might cause irretrievable damage if passed a Frankenstein entry stitched together from unrelated parts. In those configs, "pte_unmap_same" has to take page_table_lock, validate orig_pte still the same, and drop page_table_lock before unmapping, before proceeding. Use pte_offset_map_lock and pte_unmap_unlock throughout the handlers; but lock avoidance leaves more lone maps and unmaps than elsewhere. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b462705ac679f6195d1b23a752cda592d9107495 tree c4d9be08f67b0ffdc66c3e170614bd03945f3c42 parent c74df32c724a1652ad8399b4891bb02c9d43743a author Hugh Dickins Sat, 29 Oct 2005 18:16:24 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: arches skip ptlock Convert those few architectures which are calling pud_alloc, pmd_alloc, pte_alloc_map on a user mm, not to take the page_table_lock first, nor drop it after. Each of these can continue to use pte_alloc_map, no need to change over to pte_alloc_map_lock, they're neither racy nor swappable. In the sparc64 io_remap_pfn_range, flush_tlb_range then falls outside of the page_table_lock: that's okay, on sparc64 it's like flush_tlb_mm, and that has always been called from outside of page_table_lock in dup_mmap. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c74df32c724a1652ad8399b4891bb02c9d43743a tree 5a79d56fdcf7dc2053a277dbf6db7c3b339e9659 parent 1bb3630e89cb8a7b3d3807629c20c5bad88290ff author Hugh Dickins Sat, 29 Oct 2005 18:16:23 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: ptd_alloc take ptlock Second step in pushing down the page_table_lock. Remove the temporary bridging hack from __pud_alloc, __pmd_alloc, __pte_alloc: expect callers not to hold page_table_lock, whether it's on init_mm or a user mm; take page_table_lock internally to check if a racing task already allocated. Convert their callers from common code. But avoid coming back to change them again later: instead of moving the spin_lock(&mm->page_table_lock) down, switch over to new macros pte_alloc_map_lock and pte_unmap_unlock, which encapsulate the mapping+locking and unlocking+unmapping together, and in the end may use alternatives to the mm page_table_lock itself. These callers all hold mmap_sem (some exclusively, some not), so at no level can a page table be whipped away from beneath them; and pte_alloc uses the "atomic" pmd_present to test whether it needs to allocate. It appears that on all arches we can safely descend without page_table_lock. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bb3630e89cb8a7b3d3807629c20c5bad88290ff tree 3d1fd73487ca66f227701b9530f2c76fcc6f9da4 parent 872fec16d9a0ed3b75b8893aa217e49cca575ee5 author Hugh Dickins Sat, 29 Oct 2005 18:16:22 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: ptd_alloc inline and out It seems odd to me that, whereas pud_alloc and pmd_alloc test inline, only calling out-of-line __pud_alloc __pmd_alloc if allocation needed, pte_alloc_map and pte_alloc_kernel are entirely out-of-line. Though it does add a little to kernel size, change them to macros testing inline, calling __pte_alloc or __pte_alloc_kernel to allocate out-of-line. Mark none of them as fastcalls, leave that to CONFIG_REGPARM or not. It also seems more natural for the out-of-line functions to leave the offset calculation and map to the inline, which has to do it anyway for the common case. At least mremap move wants __pte_alloc without _map. Macros rather than inline functions, certainly to avoid the header file issues which arise from CONFIG_HIGHPTE needing kmap_types.h, but also in case any architectures I haven't built would have other such problems. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 872fec16d9a0ed3b75b8893aa217e49cca575ee5 tree 1dfc8b9f2754bdfff645188e497865c00201d535 parent 46dea3d092d23a58b42499cc8a21de0fad079f4a author Hugh Dickins Sat, 29 Oct 2005 18:16:21 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: init_mm without ptlock First step in pushing down the page_table_lock. init_mm.page_table_lock has been used throughout the architectures (usually for ioremap): not to serialize kernel address space allocation (that's usually vmlist_lock), but because pud_alloc,pmd_alloc,pte_alloc_kernel expect caller holds it. Reverse that: don't lock or unlock init_mm.page_table_lock in any of the architectures; instead rely on pud_alloc,pmd_alloc,pte_alloc_kernel to take and drop it when allocating a new one, to check lest a racing task already did. Similarly no page_table_lock in vmalloc's map_vm_area. Some temporary ugliness in __pud_alloc and __pmd_alloc: since they also handle user mms, which are converted only by a later patch, for now they have to lock differently according to whether or not it's init_mm. If sources get muddled, there's a danger that an arch source taking init_mm.page_table_lock will be mixed with common source also taking it (or neither take it). So break the rules and make another change, which should break the build for such a mismatch: remove the redundant mm arg from pte_alloc_kernel (ppc64 scrapped its distinct ioremap_mm in 2.6.13). Exceptions: arm26 used pte_alloc_kernel on user mm, now pte_alloc_map; ia64 used pte_alloc_map on init_mm, now pte_alloc_kernel; parisc had bad args to pmd_alloc and pte_alloc_kernel in unused USE_HPPA_IOREMAP code; ppc64 map_io_page forgot to unlock on failure; ppc mmu_mapin_ram and ppc64 im_free took page_table_lock for no good reason. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46dea3d092d23a58b42499cc8a21de0fad079f4a tree 6ca46fb09d18e8ea51a354a1494cc742fcf2f2e7 parent f449952bc8bde7fbc73c6d20dff92b627a21f8b9 author Hugh Dickins Sat, 29 Oct 2005 18:16:20 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: ia64 use expand_upwards ia64 has expand_backing_store function for growing its Register Backing Store vma upwards. But more complete code for this purpose is found in the CONFIG_STACK_GROWSUP part of mm/mmap.c. Uglify its #ifdefs further to provide expand_upwards for ia64 as well as expand_stack for parisc. The Register Backing Store vma should be marked VM_ACCOUNT. Implement the intention of growing it only a page at a time, instead of passing an address outside of the vma to handle_mm_fault, with unknown consequences. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f449952bc8bde7fbc73c6d20dff92b627a21f8b9 tree 2d7dc4b7381274b1111c76e436b4a81d119f656a parent 365e9c87a982c03d0af3886e29d877f581b59611 author Hugh Dickins Sat, 29 Oct 2005 18:16:19 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: mm_struct hiwaters moved Slight and timid rearrangement of mm_struct: hiwater_rss and hiwater_vm were tacked on the end, but it seems better to keep them near _file_rss, _anon_rss and total_vm, in the same cacheline on those arches verified. There are likely to be more profitable rearrangements, but less obvious (is it good or bad that saved_auxv[AT_VECTOR_SIZE] isolates cpu_vm_mask and context from many others?), needing serious instrumentation. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 365e9c87a982c03d0af3886e29d877f581b59611 tree d06c1918ca9fe6677d7e4e869555e095004274f7 parent 861f2fb8e796022b4928cab9c74fca6681a1c557 author Hugh Dickins Sat, 29 Oct 2005 18:16:18 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: update_hiwaters just in time update_mem_hiwater has attracted various criticisms, in particular from those concerned with mm scalability. Originally it was called whenever rss or total_vm got raised. Then many of those callsites were replaced by a timer tick call from account_system_time. Now Frank van Maarseveen reports that to be found inadequate. How about this? Works for Frank. Replace update_mem_hiwater, a poor combination of two unrelated ops, by macros update_hiwater_rss and update_hiwater_vm. Don't attempt to keep mm->hiwater_rss up to date at timer tick, nor every time we raise rss (usually by 1): those are hot paths. Do the opposite, update only when about to lower rss (usually by many), or just before final accounting in do_exit. Handle mm->hiwater_vm in the same way, though it's much less of an issue. Demand that whoever collects these hiwater statistics do the work of taking the maximum with rss or total_vm. And there has been no collector of these hiwater statistics in the tree. The new convention needs an example, so match Frank's usage by adding a VmPeak line above VmSize to /proc//status, and also a VmHWM line above VmRSS (High-Water-Mark or High-Water-Memory). There was a particular anomaly during mremap move, that hiwater_vm might be captured too high. A fleeting such anomaly remains, but it's quickly corrected now, whereas before it would stick. What locking? None: if the app is racy then these statistics will be racy, it's not worth any overhead to make them exact. But whenever it suits, hiwater_vm is updated under exclusive mmap_sem, and hiwater_rss under page_table_lock (for now) or with preemption disabled (later on): without going to any trouble, minimize the time between reading current values and updating, to minimize those occasions when a racing thread bumps a count up and back down in between. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 861f2fb8e796022b4928cab9c74fca6681a1c557 tree d1aa85aad27aab71fd045237cd5e61c3778ff605 parent d0de32d9b71e11cc51618c2045086e9694093d01 author Hugh Dickins Sat, 29 Oct 2005 18:16:17 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: zap_pte out of line There used to be just one call to zap_pte, but it shouldn't be inline now there are two. Check for the common case pte_none before calling, and move its rss accounting up into install_page or install_file_pte - which helps the next patch. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0de32d9b71e11cc51618c2045086e9694093d01 tree 38b9d22e52f1c2e9d378e5c2cdd92904173134fd parent 9e9bef07ce5a342aa6246ebc5c20829d0d5d63d0 author Hugh Dickins Sat, 29 Oct 2005 18:16:16 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: do_mremap current mm Cleanup: relieve do_mremap from its surfeit of current->mms. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e9bef07ce5a342aa6246ebc5c20829d0d5d63d0 tree 6f7286ebbb2c4b8af7bb04897a64b054c67faa4a parent 86d912f41dca32eca8827f2f878139735e69dc28 author Hugh Dickins Sat, 29 Oct 2005 18:16:15 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: do_swap_page race major Small adjustment: do_swap_page should report its !pte_same race as a major fault if it had to read into swap cache, because whatever raced with it will have found page already in cache and reported minor fault. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86d912f41dca32eca8827f2f878139735e69dc28 tree 9f29b853e7690f0fa10c4257a2b8649673908e2d parent 8c10376271e097fa13cda956e1b2f3cb7e4d4dd9 author Hugh Dickins Sat, 29 Oct 2005 18:16:14 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: zap_pte_range dec rss Small adjustment: zap_pte_range decrement its rss counts from 0 then finally add, avoiding negations - we don't have or need a sub_mm_rss. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c10376271e097fa13cda956e1b2f3cb7e4d4dd9 tree 0bb1c428bfddce70eb1195c625add027899416e0 parent b5810039a54e5babf428e9a1e89fc1940fabff11 author Hugh Dickins Sat, 29 Oct 2005 18:16:13 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: copy_one_pte inc rss Small adjustment, following Nick's suggestion: it's more straightforward for copy_pte_range to let copy_one_pte do the rss incrementation, than use an index it passed back. Saves a #define, and 16 bytes of .text. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5810039a54e5babf428e9a1e89fc1940fabff11 tree 835836cb527ec9bd525f93eb7e016f3dfb8c8ae2 parent f9c98d0287de42221c624482fd4f8d485c98ab22 author Nick Piggin Sat, 29 Oct 2005 18:16:12 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] core remove PageReserved Remove PageReserved() calls from core code by tightening VM_RESERVED handling in mm/ to cover PageReserved functionality. PageReserved special casing is removed from get_page and put_page. All setting and clearing of PageReserved is retained, and it is now flagged in the page_alloc checks to help ensure we don't introduce any refcount based freeing of Reserved pages. MAP_PRIVATE, PROT_WRITE of VM_RESERVED regions is tentatively being deprecated. We never completely handled it correctly anyway, and is be reintroduced in future if required (Hugh has a proof of concept). Once PageReserved() calls are removed from kernel/power/swsusp.c, and all arch/ and driver code, the Set and Clear calls, and the PG_reserved bit can be trivially removed. Last real user of PageReserved is swsusp, which uses PageReserved to determine whether a struct page points to valid memory or not. This still needs to be addressed (a generic page_is_ram() should work). A last caveat: the ZERO_PAGE is now refcounted and managed with rmap (and thus mapcounted and count towards shared rss). These writes to the struct page could cause excessive cacheline bouncing on big systems. There are a number of ways this could be addressed if it is an issue. Signed-off-by: Nick Piggin Refcount bug fix for filemap_xip.c Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9c98d0287de42221c624482fd4f8d485c98ab22 tree cc5653dcd2339b9006c224952b49f0c20b3c76a1 parent 147efea8ebb034b48aee806caae1da9a2ee41b38 author Hugh Dickins Sat, 29 Oct 2005 18:16:10 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: m68k kill stram swap Please, please now delete the Atari CONFIG_STRAM_SWAP code. It may be excellent and ingenious code, but its reference to swap_vfsmnt betrays that it hasn't been built since 2.5.1 (four years old come December), it's delving deep into matters which are the preserve of core mm code, its only purpose is to give the more conscientious mm guys an anxiety attack from time to time; yet we keep on breaking it more and more. If you want to use RAM for swap, then if the MTD driver does not already provide just what you need, I'm sure David could be persuaded to add the extra. But you'd also like to be able to allocate extents of that swap for other use: we can give you a core interface for that if you need. But unbuilt for four years suggests to me that there's no need at all. I cannot swear the patch below won't break your build, but believe so. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 147efea8ebb034b48aee806caae1da9a2ee41b38 tree 6b5d03d6ab478552509c3ce813e2be1c475612de parent 7ee78232501ea9de2b6c8f10d32c9a0fee541357 author Hugh Dickins Sat, 29 Oct 2005 18:16:09 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: sh64 hugetlbpage.c The sh64 hugetlbpage.c seems to be erroneous, left over from a bygone age, clashing with the common hugetlb.c. Replace it by a copy of the sh hugetlbpage.c. Except, delete that mk_pte_huge macro neither uses. Signed-off-by: Hugh Dickins Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee78232501ea9de2b6c8f10d32c9a0fee541357 tree 2041a36a13bdd8b096dfbf52b63a87739ea97d6b parent fd3e42fcc888a773572282575d2fdbf5cfd6216e author Hugh Dickins Sat, 29 Oct 2005 18:16:08 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: dup_mmap down new mmap_sem One anomaly remains from when Andrea rationalized the responsibilities of mmap_sem and page_table_lock: in dup_mmap we add vmas to the child holding its page_table_lock, but not the mmap_sem which normally guards the vma list and rbtree. Which could be an issue for unuse_mm: though since it just walks down the list (today with page_table_lock, tomorrow not), it's probably okay. Will need a memory barrier? Oh, keep it simple, Nick and I agreed, no harm in taking child's mmap_sem here. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd3e42fcc888a773572282575d2fdbf5cfd6216e tree ffe2c223b9200185eb67881582f784d534958883 parent ae859762332f19bfc06f4c4a1b1fefb41e9e1084 author Hugh Dickins Sat, 29 Oct 2005 18:16:06 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: dup_mmap use oldmm more Use the parent's oldmm throughout dup_mmap, instead of perversely going back to current->mm. (Can you hear the sigh of relief from those mpnts? Usually I squash them, but not today.) Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae859762332f19bfc06f4c4a1b1fefb41e9e1084 tree 4f21583bb1441e5555ed199a40d5f679bb4506e9 parent 4294621f41a85497019fae64341aa5351a1921b7 author Hugh Dickins Sat, 29 Oct 2005 18:16:05 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: batch updating mm_counters tlb_finish_mmu used to batch zap_pte_range's update of mm rss, which may be worthwhile if the mm is contended, and would reduce atomic operations if the counts were atomic. Let zap_pte_range now batch its updates to file_rss and anon_rss, per page-table in case we drop the lock outside; and copy_pte_range batch them too. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4294621f41a85497019fae64341aa5351a1921b7 tree fdeb7eb44384a99d0679ffa6de5019bab0ea2166 parent 404351e67a9facb475abf1492245374a28d13e90 author Hugh Dickins Sat, 29 Oct 2005 18:16:05 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: rss = file_rss + anon_rss I was lazy when we added anon_rss, and chose to change as few places as possible. So currently each anonymous page has to be counted twice, in rss and in anon_rss. Which won't be so good if those are atomic counts in some configurations. Change that around: keep file_rss and anon_rss separately, and add them together (with get_mm_rss macro) when the total is needed - reading two atomics is much cheaper than updating two atomics. And update anon_rss upfront, typically in memory.c, not tucked away in page_add_anon_rmap. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 404351e67a9facb475abf1492245374a28d13e90 tree 5ef4e78b399b36a46eda339ad0cd27556fc5b9a2 parent fc2acab31be8e869b2d5f6de12f557f6f054f19c author Hugh Dickins Sat, 29 Oct 2005 18:16:04 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: mm_init set_mm_counters How is anon_rss initialized? In dup_mmap, and by mm_alloc's memset; but that's not so good if an mm_counter_t is a special type. And how is rss initialized? By set_mm_counter, all over the place. Come on, we just need to initialize them both at once by set_mm_counter in mm_init (which follows the memcpy when forking). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc2acab31be8e869b2d5f6de12f557f6f054f19c tree 60cf419f5e88c3c46d39675a14649ea1e5849f03 parent 4d6ddfa9242bc3d27fb0f7248f6fdee0299c731f author Hugh Dickins Sat, 29 Oct 2005 18:16:03 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: tlb_finish_mmu forget rss zap_pte_range has been counting the pages it frees in tlb->freed, then tlb_finish_mmu has used that to update the mm's rss. That got stranger when I added anon_rss, yet updated it by a different route; and stranger when rss and anon_rss became mm_counters with special access macros. And it would no longer be viable if we're relying on page_table_lock to stabilize the mm_counter, but calling tlb_finish_mmu outside that lock. Remove the mmu_gather's freed field, let tlb_finish_mmu stick to its own business, just decrement the rss mm_counter in zap_pte_range (yes, there was some point to batching the update, and a subsequent patch restores that). And forget the anal paranoia of first reading the counter to avoid going negative - if rss does go negative, just fix that bug. Remove the mmu_gather's flushes and avoided_flushes from arm and arm26: no use was being made of them. But arm26 alone was actually using the freed, in the way some others use need_flush: give it a need_flush. arm26 seems to prefer spaces to tabs here: respect that. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d6ddfa9242bc3d27fb0f7248f6fdee0299c731f tree da5b753df64e7163a35487005e50a3b90b0b0b9b parent 15a23ffa2fc91cebdac44d4aee994f59d5c28dc0 author Hugh Dickins Sat, 29 Oct 2005 18:16:02 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: tlb_is_full_mm was obscure tlb_is_full_mm? What does that mean? The TLB is full? No, it means that the mm's last user has gone and the whole mm is being torn down. And it's an inline function because sparc64 uses a different (slightly better) "tlb_frozen" name for the flag others call "fullmm". And now the ptep_get_and_clear_full macro used in zap_pte_range refers directly to tlb->fullmm, which would be wrong for sparc64. Rather than correct that, I'd prefer to scrap tlb_is_full_mm altogether, and change sparc64 to just use the same poor name as everyone else - is that okay? Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15a23ffa2fc91cebdac44d4aee994f59d5c28dc0 tree 5006935b29246c1ae07a7abc6a384f6b547293ce parent 7be7a546994f1222b2312fd348da14e16b6b7b42 author Hugh Dickins Sat, 29 Oct 2005 18:16:01 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: tlb_gather_mmu get_cpu_var tlb_gather_mmu dates from before kernel preemption was allowed, and uses smp_processor_id or __get_cpu_var to find its per-cpu mmu_gather. That works because it's currently only called after getting page_table_lock, which is not dropped until after the matching tlb_finish_mmu. But don't rely on that, it will soon change: now disable preemption internally by proper get_cpu_var in tlb_gather_mmu, put_cpu_var in tlb_finish_mmu. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7be7a546994f1222b2312fd348da14e16b6b7b42 tree e1f8dae8783274372a0f136be6eb64102877e9f6 parent 65500d234e74fc4e8f18e1a429bc24e51e75de4a author Hugh Dickins Sat, 29 Oct 2005 18:16:00 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: move_page_tables by extents Speeding up mremap's moving of ptes has never been a priority, but the locking will get more complicated shortly, and is already too baroque. Scrap the current one-by-one moving, do an extent at a time: curtailed by end of src and dst pmds (have to use PMD_SIZE: the way pmd_addr_end gets elided doesn't match this usage), and by latency considerations. One nice property of the old method is lost: it never allocated a page table unless absolutely necessary, so you could free empty page tables by mremapping to and fro. Whereas this way, it allocates a dst table wherever there was a src table. I keep diving in to reinstate the old behaviour, then come out preferring not to clutter how it now is. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 65500d234e74fc4e8f18e1a429bc24e51e75de4a tree 2bae8c3622b6537dbd142ba2744c7cc9430d3b69 parent 7c1fd6b964860cdcf44b6b98d7dcd8cc16a0a26d author Hugh Dickins Sat, 29 Oct 2005 18:15:59 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: page fault handlers tidyup Impose a little more consistency on the page fault handlers do_wp_page, do_swap_page, do_anonymous_page, do_no_page, do_file_page: why not pass their arguments in the same order, called the same names? break_cow is all very well, but what it did was inlined elsewhere: easier to compare if it's brought back into do_wp_page. do_file_page's fallback to do_no_page dates from a time when we were testing pte_file by using it wherever possible: currently it's peculiar to nonlinear vmas, so just check that. BUG_ON if not? Better not, it's probably page table corruption, so just show the pte: hmm, there's a pte_ERROR macro, let's use that for do_wp_page's invalid pfn too. Hah! Someone in the ppc64 world noticed pte_ERROR was unused so removed it: restored (and say "pud" not "pmd" in its pud_ERROR). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c1fd6b964860cdcf44b6b98d7dcd8cc16a0a26d tree 0193feec4e7a43ce2f15f659cd5c56776da60ce5 parent a8fb5618dab7e45c8990f3155628d772a9ed45f9 author Hugh Dickins Sat, 29 Oct 2005 18:15:58 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: exit_mmap need not reset exit_mmap resets various mm_struct fields, but the mm is well on its way out, and none of those fields matter by this point. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8fb5618dab7e45c8990f3155628d772a9ed45f9 tree 77977b8fb2f57c855da9e3168977521e8393776a parent 2c0b381467bc2997be9d741a152f3fc75785eedc author Hugh Dickins Sat, 29 Oct 2005 18:15:57 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: unlink_file_vma, remove_vma Divide remove_vm_struct into two parts: first anon_vma_unlink plus unlink_file_vma, to unlink the vma from the list and tree by which rmap or vmtruncate might find it; then remove_vma to close, fput and free. The intention here is to do the anon_vma_unlink and unlink_file_vma earlier, in free_pgtables before freeing any page tables: so we can be sure that any page tables traversed by rmap and vmtruncate are stable (and other, ordinary cases are stabilized by holding mmap_sem). This will be crucial to traversing pgd,pud,pmd without page_table_lock. But testing the split-out patch showed that lifting the page_table_lock is symbiotically necessary to make this change - the lock ordering is wrong to move those unlinks into free_pgtables while it's under ptlock. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c0b381467bc2997be9d741a152f3fc75785eedc tree f87fffd93dc3f4b5ce9eba5e02fa4ffeb237924e parent ab50b8ed818016cfecd747d6d4bb9139986bc029 author Hugh Dickins Sat, 29 Oct 2005 18:15:56 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: remove_vma_list consolidation unmap_vma doesn't amount to much, let's put it inside unmap_vma_list. Except it doesn't unmap anything, unmap_region just did the unmapping: rename it to remove_vma_list. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab50b8ed818016cfecd747d6d4bb9139986bc029 tree 33c666578c14dccce05b3f7a5538405098eebcc4 parent 72866f6f277ec0ddd6df7a3b6ecdcf59a28de115 author Hugh Dickins Sat, 29 Oct 2005 18:15:56 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: vm_stat_account unshackled The original vm_stat_account has fallen into disuse, with only one user, and only one user of vm_stat_unaccount. It's easier to keep track if we convert them all to __vm_stat_account, then free it from its __shackles. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72866f6f277ec0ddd6df7a3b6ecdcf59a28de115 tree a76bb7fb8e092250c4399c20f0c7c973b77cb0bb parent 6237bcd94851e9cf0ecd2520d744779df0f5a9a6 author Hugh Dickins Sat, 29 Oct 2005 18:15:55 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm: anon is already wrprotected do_anonymous_page's pte_wrprotect causes some confusion: in such a case, vm_page_prot must already be forcing COW, so must omit write permission, and so the pte_wrprotect is redundant. Replace it by a comment to that effect, and reword the comment on unuse_pte which also caused confusion. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6237bcd94851e9cf0ecd2520d744779df0f5a9a6 tree 5f34366cd527382489bd0bebbac8d39d59f1d5db parent 0c942a4539c09adf09097315cc174aefd0eeedf7 author Hugh Dickins Sat, 29 Oct 2005 18:15:54 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm: zap_pte_range dont dirty anon zap_pte_range already avoids wasting time to mark_page_accessed on anon pages: it can also skip anon set_page_dirty - the page only needs to be marked dirty if shared with another mm, but that will say pte_dirty too. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c942a4539c09adf09097315cc174aefd0eeedf7 tree b9b7d5093ca0a130ef2221f8932fabcf4291f6a6 parent e040f218bb49a6965a5b77edce05fe47a62dda39 author Hugh Dickins Sat, 29 Oct 2005 18:15:53 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm: msync_pte_range progress Use latency breaking in msync_pte_range like that in copy_pte_range, instead of the ugly CONFIG_PREEMPT filemap_msync alternatives. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e040f218bb49a6965a5b77edce05fe47a62dda39 tree e5547e04fa312f1b87db66e4ac2b6eed885ca276 parent 09ad4bbc3a5c93316d7f4ffc0c310d9cbb28c2f0 author Hugh Dickins Sat, 29 Oct 2005 18:15:53 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm: copy_pte_range progress fix My latency breaking in copy_pte_range didn't work as intended: instead of checking at regularish intervals, after the first interval it checked every time around the loop, too impatient to be preempted. Fix that. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09ad4bbc3a5c93316d7f4ffc0c310d9cbb28c2f0 tree b98d5390ceef3dcb8d1fe83b1ef7ffe0106d4c94 parent c340010e4bf824d969a89fa192ecc7a526c0cd24 author Christoph Lameter Sat, 29 Oct 2005 18:15:52 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] slab: add additional debugging to detect slabs from the wrong node This patch adds some stack dumps if the slab logic is processing slab blocks from the wrong node. This is necessary in order to detect situations as encountered by Petr. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c340010e4bf824d969a89fa192ecc7a526c0cd24 tree a459fba71b05b3b14dc1e32739cc2520dd0e57be parent b57b98d147ef98758886a39efb94f3254542c39b author Lee Schermerhorn Sat, 29 Oct 2005 18:15:51 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] shrink_list(): skip anon pages if not may_swap Martin Hicks' page cache reclaim patch added the 'may_swap' flag to the scan_control struct; and modified shrink_list() not to add anon pages to the swap cache if may_swap is not asserted. Ref: http://marc.theaimsgroup.com/?l=linux-mm&m=111461480725322&w=4 However, further down, if the page is mapped, shrink_list() calls try_to_unmap() which will call try_to_unmap_one() via try_to_unmap_anon (). try_to_unmap_one() will BUG_ON() an anon page that is NOT in the swap cache. Martin says he never encountered this path in his testing, but agrees that it might happen. This patch modifies shrink_list() to skip anon pages that are not already in the swap cache when !may_swap, rather than just not adding them to the cache. Signed-off-by: Lee Schermerhorn Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b57b98d147ef98758886a39efb94f3254542c39b tree 1aab53a2bb1add92d55fbce963e371527c05d281 parent 662f3a0b94cc92bd708c27b80f8207cd7db93204 author OGAWA Hirofumi Sat, 29 Oct 2005 18:15:50 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm/msync.c cleanup This is not problem actually, but sync_page_range() is using for exported function to filesystems. The msync_xxx is more readable at least to me. Signed-off-by: OGAWA Hirofumi Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 662f3a0b94cc92bd708c27b80f8207cd7db93204 tree c7a42829efca15f7ccdcf510c80283f4c08e0343 parent dfcd3c0dc426bb75770c34b40e14f2da8845ea62 author Andi Kleen Sat, 29 Oct 2005 18:15:49 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] Remove near all BUGs in mm/mempolicy.c Most of them can never be triggered and were only for development. Signed-off-by: "Andi Kleen" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfcd3c0dc426bb75770c34b40e14f2da8845ea62 tree bd7e9f8463a18025c4775c6cdf22abbbd4236b64 parent e46a5e28c201f703c18b47b108bfddec44f897c4 author Andi Kleen Sat, 29 Oct 2005 18:15:48 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] Convert mempolicies to nodemask_t The NUMA policy code predated nodemask_t so it used open coded bitmaps. Convert everything to nodemask_t. Big patch, but shouldn't have any actual behaviour changes (except I removed one unnecessary check against node_online_map and one unnecessary BUG_ON) Signed-off-by: "Andi Kleen" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e46a5e28c201f703c18b47b108bfddec44f897c4 tree b55f5c376533f2ecfedc8fed0d12a590bfb1387e parent ba56e91c940146e99ac694c4c7cd7f2b4aaa565d author Seth, Rohit Sat, 29 Oct 2005 18:15:48 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] mm: set per-cpu-pages lower threshold to zero Set the low water mark for hot pages in pcp to zero. (akpm: for the life of me I cannot remember why we created pcp->low. Neither can Martin and the changelog is silent. Maybe it was just a brainfart, but I have this feeling that there was a reason. If not, we should remove the fields completely. We'll see.) Signed-off-by: Rohit Seth Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba56e91c940146e99ac694c4c7cd7f2b4aaa565d tree 5254f1ce8e2f39ccb58a74d0ff0120817b3b5c05 parent fcdae29aa7a5c79f245110f6680afdc1858d3626 author Seth, Rohit Sat, 29 Oct 2005 18:15:47 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] mm: page_alloc: increase size of per-cpu-pages Increase the page allocator's per-cpu magazines from 1/4MB to 1/2MB. Over 100+ runs for a workload, the difference in mean is about 2%. The best results for both are almost same. Though the max variation in results with 1/2MB is only 2.2%, whereas with 1/4MB it is 12%. Signed-off-by: Rohit Seth Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcdae29aa7a5c79f245110f6680afdc1858d3626 tree 09634921c68dd82a661c1ba389133e7f805e2d0f parent eb92f4ef320b738e41ad43476a5d05c8a20d5cc7 author Rik Van Riel Sat, 29 Oct 2005 18:15:46 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] swaptoken tuning It turns out that the original swap token implementation, by Song Jiang, only enforced the swap token while the task holding the token is handling a page fault. This patch approximates that, without adding an additional flag to the mm_struct, by checking whether the mm->mmap_sem is held for reading, like the page fault code does. This patch has the effect of automatically, and gradually, disabling the enforcement of the swap token when there is little or no paging going on, and "turning up" the intensity of the swap token code the more the task holding the token is thrashing. Thanks to Song Jiang for pointing out this aspect of the token based thrashing control concept. The new code shows a slight degradation over the old swap token code, but still a big win over running without the swap token. 2.6.12+ swap token disabled $ for i in `seq 10` ; do /usr/bin/time ./qsbench -n 30000000 -p 3 ; done 101.74user 23.13system 8:26.91elapsed 24%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (38597major+430315minor)pagefaults 0swaps 101.98user 24.91system 8:03.06elapsed 26%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (33939major+430457minor)pagefaults 0swaps 101.93user 22.12system 7:34.90elapsed 27%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (33166major+421267minor)pagefaults 0swaps 101.82user 22.38system 8:31.40elapsed 24%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (39338major+433262minor)pagefaults 0swaps 2.6.12+ swap token enabled, timeout 300 seconds $ for i in `seq 4` ; do /usr/bin/time ./qsbench -n 30000000 -p 3 ; done 102.58user 16.08system 3:41.44elapsed 53%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (19707major+285786minor)pagefaults 0swaps 102.07user 19.56system 4:00.64elapsed 50%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (19012major+299259minor)pagefaults 0swaps 102.64user 18.25system 4:07.31elapsed 48%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (21990major+304831minor)pagefaults 0swaps 101.39user 19.41system 5:15.81elapsed 38%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (24850major+323321minor)pagefaults 0swaps 2.6.12+ with new swap token code, timeout 300 seconds $ for i in `seq 4` ; do /usr/bin/time ./qsbench -n 30000000 -p 3 ; done 101.87user 24.66system 5:53.20elapsed 35%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (26848major+363497minor)pagefaults 0swaps 102.83user 19.95system 4:17.25elapsed 47%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (19946major+305722minor)pagefaults 0swaps 102.09user 19.46system 5:12.57elapsed 38%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (25461major+334994minor)pagefaults 0swaps 101.67user 20.61system 4:52.97elapsed 41%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (22190major+329508minor)pagefaults 0swaps Signed-off-by: Rik Van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb92f4ef320b738e41ad43476a5d05c8a20d5cc7 tree f9a6bb78a0561587f142b2b1208819f6cffe9835 parent 63f324cf0792ed69089b79d6921ba3aaea97af50 author Rik Van Riel Sat, 29 Oct 2005 18:15:44 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] add sem_is_read/write_locked() Add sem_is_read/write_locked functions to the read/write semaphores, along the same lines of the *_is_locked spinlock functions. The swap token tuning patch uses sem_is_read_locked; sem_is_write_locked is added for completeness. Signed-off-by: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63f324cf0792ed69089b79d6921ba3aaea97af50 tree 007ec8ea5c2344ced61de396c2484a5a49cc9aac parent 4b8f573b5db02a3017afbba49026a6aef480174f author Ivan Kokshaysky Sat, 29 Oct 2005 18:15:43 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] fix alpha breakage barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h. Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b8f573b5db02a3017afbba49026a6aef480174f tree 4abf19125526809d4be44cb83373f85605854575 parent 930fc45a49ddebe7555cc5c837d82b9c27e65ff4 author YOSHIFUJI Hideaki Sat, 29 Oct 2005 18:15:42 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] TIMERS: add missing compensation for HZ == 250 Add missing compensation for (HZ == 250) != (1 << SHIFT_HZ) in second_overflow(). Signed-off-by: YOSHIFUJI Hideaki Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 930fc45a49ddebe7555cc5c837d82b9c27e65ff4 tree f0e4b32bd4e2f951c4eb1bc1fcdeefdcbb8e6195 parent be15cd72d256e5eb3261a781b8507fac83ab33f6 author Christoph Lameter Sat, 29 Oct 2005 18:15:41 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] vmalloc_node This patch adds vmalloc_node(size, node) -> Allocate necessary memory on the specified node and get_vm_area_node(size, flags, node) and the other functions that it depends on. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0169e284f6b6b263cc7c2ed25986b96cd6fda610 tree 266623b0131e310de6e77a2c87c42b4092902fa4 parent be15cd72d256e5eb3261a781b8507fac83ab33f6 author Jeff Garzik Sat, 29 Oct 2005 21:25:10 -0400 committer Jeff Garzik Sat, 29 Oct 2005 21:25:10 -0400 [libata] remove ata_chk_err(), ->check_err() hook. We now depend on ->tf_read() to provide us with the contents of the Error shadow register. commit 1b40efd772f4419fbc1a8940506424246985c333 tree 0f1ade69806e7f02196534b008ef8d2c925bf34b parent 6df5b9f48dd0e77fa796b9b7d3fde7cc5f1237f2 author Herbert Xu Mon, 03 Oct 2005 15:15:36 +1000 committer Herbert Xu Sun, 30 Oct 2005 11:19:43 +1100 [CRYPTO] Check cra_alignmask against cra_blocksize The cipher code relies on the fact that the block size is a multiple of the required alignment. So we should check this at the time of algorith registration. We also ensure that the block size is bounded by the page size. Signed-off-by: Herbert Xu commit 6df5b9f48dd0e77fa796b9b7d3fde7cc5f1237f2 tree b13c0941fcbde9a95fece66d02bb0b558cf98041 parent 378f058cc49bcda7fa63d3cd86d2f9a0a5188b1c author Herbert Xu Mon, 19 Sep 2005 22:30:11 +1000 committer Herbert Xu Sun, 30 Oct 2005 11:19:43 +1100 [CRYPTO] Simplify one-member scatterlist expressions This patch rewrites various occurences of &sg[0] where sg is an array of length one to simply sg. Signed-off-by: Herbert Xu commit 378f058cc49bcda7fa63d3cd86d2f9a0a5188b1c tree ed99548aa459054c7b046f0ac96af2cc50683e6e parent d32311fed70d12f14e585feb4653571b1e2b0e6d author David Hardeman Sat, 17 Sep 2005 17:55:31 +1000 committer Herbert Xu Sun, 30 Oct 2005 11:19:43 +1100 [PATCH] Use sg_set_buf/sg_init_one where applicable This patch uses sg_set_buf/sg_init_one in some places where it was duplicated. Signed-off-by: David Hardeman Cc: James Bottomley Cc: Greg KH Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Herbert Xu commit d32311fed70d12f14e585feb4653571b1e2b0e6d tree e1bea01c55c1632ed6291ca96f18518ad2abe39b parent be15cd72d256e5eb3261a781b8507fac83ab33f6 author Herbert Xu Sat, 17 Sep 2005 14:41:40 +1000 committer Herbert Xu Sun, 30 Oct 2005 11:14:39 +1100 [PATCH] Introduce sg_set_buf sg_init_one is a nice tool for the block layer. However, users of struct scatterlist in other subsystems don't usually need the DMA attributes. For them it's a waste of time and space to initialise the whole struct scatterlist structure. Therefore this patch adds a new function sg_set_buf to initialise a scatterlist without zeroing the DMA attributes. Signed-off-by: Herbert Xu commit 23da0c20ef1c1f0432f373e0e2233a6b6ab2678f tree 22214708f079111f2b44bd6f891b57ca69b53084 parent b90bd04d419dd317b16dce83f5595e96597c05be author Pantelis Antoniou Sun, 30 Oct 2005 01:23:54 +0300 committer Jeff Garzik Sat, 29 Oct 2005 18:20:30 -0400 [PATCH] fec_8xx: Add support for Intel PHY LX971 The following patch add support for the Intel LX971 PHY. Signed-off-by: Jeff Garzik commit b90bd04d419dd317b16dce83f5595e96597c05be tree 10c5e6feb03c200db9f971d712f89c48627e89e8 parent 34e30d612f54e959a9953a62143f9f8402207b35 author Pantelis Antoniou Sun, 30 Oct 2005 01:23:15 +0300 committer Jeff Garzik Sat, 29 Oct 2005 18:20:30 -0400 [PATCH] fec_8xx: Remove dependency on NETTA & NETPHONE The following patch removes the dependency of the fec_8xx driver on the NETTA & NETPHONE boards. Other people use the driver too, and we await their board support patches. Signed-off-by: Jeff Garzik commit 34e30d612f54e959a9953a62143f9f8402207b35 tree a530f8f311ec36de89d8435cc116011d84f7f1ba parent 4689a6b1d4970779bf53bd62917df7ad7ad7c704 author Pantelis Antoniou Sun, 30 Oct 2005 01:22:40 +0300 committer Jeff Garzik Sat, 29 Oct 2005 18:20:30 -0400 [PATCH] fs_enet: Fix dma_unmap_single calls The following patches fixes a bug with erroneous calling of dma_unmap_single. It never triggered because on normal ppc32 the calls is a NOP. Out of tree drivers need this fix however. Signed-off-by: Jeff Garzik commit 4689a6b1d4970779bf53bd62917df7ad7ad7c704 tree 0e544a41be59b4248726cedf7ebcac4e79387634 parent 86e7fe705d1b894df0cbb785991c92fa298af8fb author Pantelis Antoniou Sun, 30 Oct 2005 01:21:53 +0300 committer Jeff Garzik Sat, 29 Oct 2005 18:20:29 -0400 [PATCH] Maintainers for fs_enet The following patch adds a MAINTAINERS entry for the fs_enet driver. Signed-off-by: Jeff Garzik commit 86e7fe705d1b894df0cbb785991c92fa298af8fb tree 696caeca281ad23941a8a4bfeec96728273b5cb6 parent 1b195916dd9111bbaf043d0dcfdc5d6908590c6e author Eugene Surovegin Sat, 29 Oct 2005 12:47:41 -0700 committer Jeff Garzik Sat, 29 Oct 2005 18:06:54 -0400 [PATCH] PPC 4xx EMAC driver: fix VSC8201 PHY initialization * MII registers must override strap pins * disable "echo" mode to make 10/HDX work (Franz Sirl) Signed-off-by: Eugene Surovegin Signed-off-by: Jeff Garzik commit 1b195916dd9111bbaf043d0dcfdc5d6908590c6e tree 9b9b8dc2d68dfc1e80855d03e7596475b9291cac parent 7ad8a89c2e8a930a902cb0622956b27796c027e5 author Eugene Surovegin Sat, 29 Oct 2005 12:45:31 -0700 committer Jeff Garzik Sat, 29 Oct 2005 18:06:54 -0400 [PATCH] PPC 44x EMAC driver: add 440GR support Add PowerPC 440GR support Signed-off-by: Stefan Roese Signed-off-by: Eugene Surovegin Signed-off-by: Jeff Garzik commit 7ad8a89c2e8a930a902cb0622956b27796c027e5 tree c1241696b8fc5ab55d389f9accd80f399e3d9d86 parent be15cd72d256e5eb3261a781b8507fac83ab33f6 author Eugene Surovegin Sat, 29 Oct 2005 12:43:14 -0700 committer Jeff Garzik Sat, 29 Oct 2005 18:06:54 -0400 [PATCH] PPC 44x EMAC driver: add 440SPe support For some reason, the hardware designers made the polarity of one bit in the 440SPe's PHY interface register the opposite of all other PPC 440 chips. To handle this, abstract our access to this bit and do the right thing based on the configured CPU type. Signed-off-by: Roland Dreier Signed-off-by: Eugene Surovegin Signed-off-by: Jeff Garzik commit b0c4e148bd591629749d02a8fbc8d81c26d548cf tree 3e2142635f3dc2ceeae870ead2dceab7b9c6def1 parent 5615ca7906aefbdc3318604c89db5931d0a25910 parent be15cd72d256e5eb3261a781b8507fac83ab33f6 author Jeff Garzik Sat, 29 Oct 2005 17:49:12 -0400 committer Jeff Garzik Sat, 29 Oct 2005 17:49:12 -0400 Merge branch 'master' commit bbbf508d6403f9dfeeb040d9cd7366e395632e59 tree 63edb6392d04067f0928788ae4b35c6fddb96819 parent d052d1beff706920e82c5d55006b08e256b5df09 author Russell King Sat, 29 Oct 2005 22:17:58 +0100 committer Russell King Sat, 29 Oct 2005 22:17:58 +0100 [DRIVER MODEL] Add missing platform_device.h header. Signed-off-by: Russell King commit be15cd72d256e5eb3261a781b8507fac83ab33f6 tree 1a8f95a9960e03149d27d935da25b768878feb3e parent e9d52234e35b27ea4ea5f2ab64ca47b1a0c740ab parent 37d07b72ef58f2d5ec7701ab75084fbeee0e503e author Linus Torvalds Sat, 29 Oct 2005 14:02:16 -0700 committer Linus Torvalds Sat, 29 Oct 2005 14:02:16 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit a20583a7c2e35d80b1dfc1f60c9729498838725e tree e7fbd856e7522b65d309e9dfd425541d8f45a0bd parent affcd50546d4788b7849e2b2e2ec7bc50d64c5f8 author Roland Dreier Sat, 29 Oct 2005 13:54:40 -0700 committer Roland Dreier Sat, 29 Oct 2005 13:54:40 -0700 [IPoIB] use spin_trylock_irqsave() Use spin_trylock_irqsave() in ipoib_start_xmit() instead of reinventing it out of local_irq_save(), spin_trylock() and local_irq_restore(). Signed-off-by: Roland Dreier commit 37d07b72ef58f2d5ec7701ab75084fbeee0e503e tree da42fbad5b8ac6c79a258a46aff5f5d338ac138f parent f09b99799991c7c3ba441162406247f5df077322 author Nicolas Pitre Sat, 29 Oct 2005 21:44:56 +0100 committer Russell King Sat, 29 Oct 2005 21:44:56 +0100 [ARM] 3061/1: cleanup the XIP link address mess Patch from Nicolas Pitre Since vmlinux.lds.S is preprocessed, we can use the defines already present in asm/memory.h (allowed by patch #3060) for the XIP kernel link address instead of relying on a duplicated Makefile hardcoded value, and also get rid of its dependency on awk to handle it at the same time. While at it let's clean XIP stuff even further and make things clearer in head.S with a nice code reduction. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit f09b99799991c7c3ba441162406247f5df077322 tree 6284aa6638744c26059001a11da3267f91d50082 parent c514e58cb8eac0d21f4ab5011df75a09eb5edd50 author Nicolas Pitre Sat, 29 Oct 2005 21:44:55 +0100 committer Russell King Sat, 29 Oct 2005 21:44:55 +0100 [ARM] 3060/1: allow constants found in asm/memory.h to be used in asm code Patch from Nicolas Pitre This patch allows for assorted type of cleanups by letting assembly code use the same set of defines for constant values and avoid duplicated definitions that might not always be in sync, or that might simply be confusing due to the different names for the same thing. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit e9d52234e35b27ea4ea5f2ab64ca47b1a0c740ab tree 318d37a7d55c79e6f7d86163fb28e0eccbb0fe83 parent 955c5038823748e529a49f0e33ab635d92843500 parent 09af7b443c257460d45cb6c1896d29f173fef35b author Linus Torvalds Sat, 29 Oct 2005 12:19:15 -0700 committer Linus Torvalds Sat, 29 Oct 2005 12:19:15 -0700 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus commit 09af7b443c257460d45cb6c1896d29f173fef35b tree 2980b8edbda58c1b54f39935103f19766000b372 parent 5ef66935c1f6d412b37cf4f68281bd4fc7fca7e5 author Ralf Baechle Sat, 29 Oct 2005 19:32:54 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:54 +0100 Update MIPS defconfig files. Signed-off-by: Ralf Baechle commit 5ef66935c1f6d412b37cf4f68281bd4fc7fca7e5 tree dfdf1058e37ef12c890719a37070ae011ab47e9a parent 4b724efdde0287d7ba616bd2badc63fca414f978 author Arthur Othieno Fri, 28 Oct 2005 00:42:56 -0400 committer Ralf Baechle Sat, 29 Oct 2005 19:32:53 +0100 prom_free_prom_memory() returns unsigned long Some boards declare prom_free_prom_memory as a void function but the caller free_initmem() expects a return value. Fix those up and return 0 instead, just like everyone else does. Signed-off-by: Arthur Othieno Signed-off-by: Ralf Baechle commit 4b724efdde0287d7ba616bd2badc63fca414f978 tree 9c30ecd163d782a4fff8542b557d8811c3a4ef3e parent 3fccc0150e720ff344b5f9c5f8dd23778139018e author Ralf Baechle Sun, 23 Oct 2005 15:05:47 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:52 +0100 Get rid of SINGLE_ONLY_FPU. Linux does not support half FPU other than by emulation of a full FPU. Signed-off-by: Ralf Baechle commit 3fccc0150e720ff344b5f9c5f8dd23778139018e tree f26a8dc6b6dbf7ce8eeb409915bc934e415a5d16 parent 3c5c8f6748ce5a4a63ac7d025ddca4a01574a1a7 author Ralf Baechle Sun, 23 Oct 2005 13:58:21 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:52 +0100 Fix all the get_user / put_user related sparse warnings. Signed-off-by: Ralf Baechle commit 3c5c8f6748ce5a4a63ac7d025ddca4a01574a1a7 tree 6e3958230b27e1bed66789245c847075ff27efef parent efec3c4e962d4cafbb8f0a050d05d1cd6e95458d author Ralf Baechle Sun, 23 Oct 2005 13:48:12 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:52 +0100 Delete unused ieee754_cname[] and declaration. Signed-off-by: Ralf Baechle commit efec3c4e962d4cafbb8f0a050d05d1cd6e95458d tree 9f7e4844d353f72164dfbfd85db0d764fdc39961 parent a663bf906dce4bfa4d620ecc6b8ac6ef958eb7c2 author Ralf Baechle Sun, 23 Oct 2005 13:46:25 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:51 +0100 Include for prototypes. Signed-off-by: Ralf Baechle commit a663bf906dce4bfa4d620ecc6b8ac6ef958eb7c2 tree 9d342f63aa85e46e97e8a04d0a661b7fd8108430 parent 030274ae03c20f9ac27d4218118b9679d7c680d8 author Ralf Baechle Sun, 23 Oct 2005 13:44:31 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:51 +0100 Protect against multiple inclusion. Signed-off-by: Ralf Baechle commit 030274ae03c20f9ac27d4218118b9679d7c680d8 tree 95e8ede01327367ce5a66b6dfc61c460c4284764 parent e5adb8770e12169a6595a3ad5682541441bd1052 author Ralf Baechle Fri, 21 Oct 2005 22:26:07 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:50 +0100 Remove useless casts of kmalloc return values. Signed-off-by: Ralf Baechle commit e5adb8770e12169a6595a3ad5682541441bd1052 tree 22aaae4e58f9d4054a474a5fa31d492e4b9e79a1 parent 7cf8053b8ee48a7f0e9d8ebc72c279fb2e168c25 author Ralf Baechle Thu, 20 Oct 2005 22:55:26 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:50 +0100 Hack to resolve longstanding prefetch issue Prefetching may be fatal on some systems if we're prefetching beyond the end of memory on some systems. It's also a seriously bad idea on non dma-coherent systems. Signed-off-by: Ralf Baechle commit 7cf8053b8ee48a7f0e9d8ebc72c279fb2e168c25 tree 3c29e48cd8386dd8ff83dbf3c1a9b19e98e84484 parent cb4262481fce1d43ac9a483be4faf36fdd1c7abb author Ralf Baechle Thu, 20 Oct 2005 22:33:09 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:49 +0100 More foolproofing of the CPU configuration. Limit the number of cpu type options in the cpu menu to just those types that are actually available for the select platform. Signed-off-by: Ralf Baechle commit cb4262481fce1d43ac9a483be4faf36fdd1c7abb tree 04e3614f81b2ac7b3091969427160de127f8d4c3 parent 8a1417de9e11f9f577499cd4fe89fa35f4bf54fa author Andrew Isaacson Wed, 19 Oct 2005 23:59:46 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:49 +0100 pci-expmem-hack CFE 1.2.5 and earlier fails to turn on the ExpMemEn bit in the PCIFeatureControl register, which means that DMA does not work beyond physical address 01_0000_0000, ergo to DRAM beyond 1GB. With ExpMemEn turned on, 01_0000_0000-0f_ffff_ffff is mapped, so DMA works for up to 61 GB of DRAM. Will be fixed in CFE 1.2.6 (yet to be released). Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 8a1417de9e11f9f577499cd4fe89fa35f4bf54fa tree 73194ecc1c84772aaf0296df7852a9e36a13cab6 parent dc41f94f770904f1fd63488ce4d30722ea514aad author Andrew Isaacson Wed, 19 Oct 2005 23:59:11 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:49 +0100 BCM1480 HT support PCI support code for PLX 7250 PCI-X tunnel on BCM91480B BigSur board. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit dc41f94f770904f1fd63488ce4d30722ea514aad tree 9ac3e005264a87a3d4c2edcd13ee918142f7d050 parent a4b5bd9abcf5b0586de68722ff8e9b91020279bf author Andrew Isaacson Wed, 19 Oct 2005 23:58:49 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:48 +0100 Support for the BCM1480 on-chip PCI-X bridge. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit a4b5bd9abcf5b0586de68722ff8e9b91020279bf tree fe0f4014bf5e92d72d4e15d90cf3eab3713ceee5 parent 9a6dcea10308df50ed54d6d5a43c9f6c3e927118 author Andrew Isaacson Wed, 19 Oct 2005 23:57:40 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:48 +0100 SB1 cache exception handling. Expand SB1 cache error handling by adding SB1_CEX_ALWAYS_FATAL and SB1_CEX_STALL, allowing configurable behavior on cache errors. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 9a6dcea10308df50ed54d6d5a43c9f6c3e927118 tree 2739e2c12577925ffd99042b460d004f3eeb0bc8 parent f137e463b50aadba91bd116f99c59ccb9c15a12f author Andrew Isaacson Wed, 19 Oct 2005 23:57:11 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:47 +0100 Support for BigSur board. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit f137e463b50aadba91bd116f99c59ccb9c15a12f tree 41ce0ec670a6e5a78b4cdc246614277d9bc5e070 parent 93ce2f524e96571711029884e6340c790a029b94 author Andrew Isaacson Wed, 19 Oct 2005 23:56:38 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:47 +0100 Add support for BCM1480 family of chips. - Kconfig and Makefile changes - arch/mips/sibyte/bcm1480/ - changes to sibyte common code to support 1480 Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 93ce2f524e96571711029884e6340c790a029b94 tree 1cb69ac513d01b25a2c300c90a2f11c69c0290e9 parent 4f19f990475dc4465ca6906ba03a55805d4c1402 author Andrew Isaacson Wed, 19 Oct 2005 23:56:20 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:46 +0100 Add support for SB1A CPU. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 4f19f990475dc4465ca6906ba03a55805d4c1402 tree 3e1597e7884d3414e28e220454d8ec3c8913ecd6 parent 4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2 author Andrew Isaacson Wed, 19 Oct 2005 23:55:57 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:46 +0100 Sibyte header cleanup Update sibyte headers to match Broadcom internal copies: - comment cleanup and updates - fix LittleSur part number to match the board silkscreen Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2 tree fa7701264e60759b080b7953bcfad081a51e63d2 parent d121ced21d79eab7726bfe6b1e33da4ae86072c0 author Andrew Isaacson Wed, 19 Oct 2005 23:55:11 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:45 +0100 BCM1480 headers Add header files for BCM1480/1280/1455/1255 family of chips, and update sb1250 headers which are shared by BCM1480 family. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle diff --git a/include/asm-mips/sibyte/bcm1480_int.h b/include/asm-mips/sibyte/bcm1480_int.h new file mode 100644 commit d121ced21d79eab7726bfe6b1e33da4ae86072c0 tree a673fe4d3e3c49179b68c3185ef331712df9e716 parent 485a4a928a059a361c7363e7ce0eab330a09dbd3 author Andrew Isaacson Wed, 19 Oct 2005 23:54:43 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:45 +0100 Sibyte fixes Fix typo in cpu_probe_sibyte. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 485a4a928a059a361c7363e7ce0eab330a09dbd3 tree d003941b23a35254bc0bb86b5df065cb28f0fbaf parent 750ccf687ff9adbf2a16066a3a2757d0f761384c author Ralf Baechle Wed, 19 Oct 2005 14:45:09 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:44 +0100 Make UL what should be UL. Signed-off-by: Ralf Baechle commit 750ccf687ff9adbf2a16066a3a2757d0f761384c tree 935c776cb9927f34b7038247249e4de68c93a562 parent f4c72cc737561aab0d9c7f877abbc0a853f1c465 author Atsushi Nemoto Wed, 19 Oct 2005 19:57:14 +0900 committer Ralf Baechle Sat, 29 Oct 2005 19:32:44 +0100 Fix zero length sys_cacheflush Cacheflush(0, 0, 0) was crashing the system. This is because flush_icache_range(start, end) tries to flushing whole address space (0 - ~0UL) if both start and end are zero. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit f4c72cc737561aab0d9c7f877abbc0a853f1c465 tree 14b53c7de3e27e27eed7c715f2fe96468bfeeaa0 parent 0d507d61cd1cce6d920e78fe10e67296abb2a1eb author Ralf Baechle Tue, 18 Oct 2005 13:25:29 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:43 +0100 Get 64-bit right in the kgdb stub. Signed-off-by: Ralf Baechle commit 0d507d61cd1cce6d920e78fe10e67296abb2a1eb tree 8db52cb5dc090eaee60f0248afe8743fe3e52904 parent 12616ed202ba66af6e1386df02d06c72d7386339 author Ralf Baechle Tue, 18 Oct 2005 12:48:31 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:43 +0100 Sys_lookup_dcookie arguments occupy 4 argument slots. Signed-off-by: Ralf Baechle commit 12616ed202ba66af6e1386df02d06c72d7386339 tree 1e003d71846e85d0e0f377b855ad9602f66e9dda parent 178086c86ac9738a76f1462e9ee4cbe8fd3b8c51 author Ralf Baechle Tue, 18 Oct 2005 10:26:46 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:43 +0100 FPU emulator garbage collection. First argument of fpu_emulator_cop1Handler() was unused. Signed-off-by: Ralf Baechle commit 178086c86ac9738a76f1462e9ee4cbe8fd3b8c51 tree 7981d13e3037b51acfe83b7280804ea73c6b7013 parent 6ec25809c143d875ed17b2e85d1dd894a1f4aba4 author Ralf Baechle Thu, 13 Oct 2005 17:07:54 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:42 +0100 Don't print file name and line in die and die_if_kernel. Signed-off-by: Ralf Baechle commit 6ec25809c143d875ed17b2e85d1dd894a1f4aba4 tree 59634cf8209c68d8741aba08dee6378c85bbb477 parent 8f91ed6c2fec8cb746e4dc86a79247162b4c5a7a author Ralf Baechle Wed, 12 Oct 2005 00:02:34 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:42 +0100 Rename page argument of flush_cache_page to something more descriptive. Signed-off-by: Ralf Baechle commit 8f91ed6c2fec8cb746e4dc86a79247162b4c5a7a tree 4ad1f37e01301ecfcb0fe51984221a84da17b32c parent 5e83d4305467c43af144d264674c7d7de303aeb3 author Ralf Baechle Sun, 09 Oct 2005 18:56:01 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:41 +0100 Define EOWNERDEAD and ENOTRECOVERABLE. Signed-off-by: Ralf Baechle commit 5e83d4305467c43af144d264674c7d7de303aeb3 tree f9dd363971619d77a97db1a44121814ebd14a5c0 parent beb3ca82fc0c2ec938b7446b006c8f34abb301b2 author Ralf Baechle Sat, 29 Oct 2005 19:32:41 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:41 +0100 Sliceup Kconfig; it's grown too large. Signed-off-by: Ralf Baechle commit beb3ca82fc0c2ec938b7446b006c8f34abb301b2 tree ea89c648dbeae35bdbe9734b2138ecdebdb55fe1 parent 4ee1303a787434d4994ae68d028ca025e339b434 author Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 More configcheck fixes. Signed-off-by: Ralf Baechle commit 4ee1303a787434d4994ae68d028ca025e339b434 tree 66257cd009cffbed390c89c24ecd550134ad713a parent b4f8c4230708711c3b12c095cf6a59e6d06a183d author Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 2.6.14-rc1 updates for MIPS compat types. Signed-off-by: Ralf Baechle commit b4f8c4230708711c3b12c095cf6a59e6d06a183d tree bf9df3f47e55ad176103c150db4aa9f134cefaea parent 3cd9b6802d39c155d44fc8076b6c72c3f7e919ed author Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 Complete the fcntl.h cleanup. Signed-off-by: Ralf Baechle commit 3cd9b6802d39c155d44fc8076b6c72c3f7e919ed tree 8f46a32cc97be3ffdcaeabf553b3c1700fa1283c parent 9383292f179e1907e7e7ade539ac8fd3b65c1e97 author Ralf Baechle Sat, 29 Oct 2005 19:32:39 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:39 +0100 Cleanup Sibyte Kconfig a bit further. Signed-off-by: Ralf Baechle commit 9383292f179e1907e7e7ade539ac8fd3b65c1e97 tree 67500f159dba8146a120c27619ec9524b555be93 parent 8592d4c00eeb92495eaab6374baaad79b30866ed author Ralf Baechle Fri, 14 Jan 2005 03:03:23 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:39 +0100 Date: Fri Jan 14 03:03:23 2005 +0000 Locking cleanups. Signed-off-by: Ralf Baechle commit 8592d4c00eeb92495eaab6374baaad79b30866ed tree e51ac8f7f302a4da49ced54b3f2c0520ebb42b7f parent dbc571690ec4123e4e9fd6e731d8bdfa77b0d90e author Ralf Baechle Sat, 29 Oct 2005 19:32:38 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:38 +0100 Fix weirdness in Signed-off-by: Ralf Baechle commit dbc571690ec4123e4e9fd6e731d8bdfa77b0d90e tree fecef845336efff77fc288859e19e7e62b910a13 parent ec917c2c1ab4359a1d438e62daeb50cc42e632e1 author Ralf Baechle Sat, 29 Oct 2005 19:32:38 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:38 +0100 Fix wrong comment. Signed-off-by: Ralf Baechle commit ec917c2c1ab4359a1d438e62daeb50cc42e632e1 tree deb2e00bee354577e1f19b7b70c1a2037828a957 parent f92c1759a40a85f52b835c21b0ef6ce556b340c5 author Ralf Baechle Fri, 07 Oct 2005 16:58:15 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:37 +0100 Fixup a few lose ends in explicit support for MIPS R1/R2. Signed-off-by: Ralf Baechle commit f92c1759a40a85f52b835c21b0ef6ce556b340c5 tree 55e76df02c6fb6382d86f3314b23f11a3bb728dc parent 101b3531a693ad890f33f2f04323592cd376616a author Ralf Baechle Fri, 07 Oct 2005 12:06:12 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:37 +0100 Document the meaning of the CPU_MIPS32, CPU_MIPS64, CPU_MIPSR1 and CPU_MIPSR2. Signed-off-by: Ralf Baechle commit 101b3531a693ad890f33f2f04323592cd376616a tree adb9410d492ee3dca0fd437191213a28e02edcf4 parent 8afcb5d82934c83fb01664ae00eaff9de1d8d340 author Ralf Baechle Thu, 06 Oct 2005 17:39:32 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:36 +0100 Protect manipulation of c0_status against preemption and multithreading. Signed-off-by: Ralf Baechle commit 8afcb5d82934c83fb01664ae00eaff9de1d8d340 tree b658bb46b7e42f78befc5cc561ef69b43d0bab53 parent d50f7ec9d2c3e66cc9d529f2155d088d019f467a author Ralf Baechle Tue, 04 Oct 2005 15:01:26 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:36 +0100 Detect 4KSD and treat it like 4KSc. Signed-off-by: Ralf Baechle commit d50f7ec9d2c3e66cc9d529f2155d088d019f467a tree a5a0cd98e06395076ba282c457d6485765cd7495 parent 2f69ddccb01632dfe5d0ef946ee99000463cd9c4 author Ralf Baechle Tue, 04 Oct 2005 13:30:10 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:36 +0100 We're no longer hosted on oss for ages ... Signed-off-by: Ralf Baechle commit 2f69ddccb01632dfe5d0ef946ee99000463cd9c4 tree 92a4e77e077718d08c6733f7abe604ca0c132042 parent 57468af3267bfb89391f9c607a9637e86e55d299 author Ralf Baechle Mon, 03 Oct 2005 13:41:19 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:35 +0100 Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK. Signed-off-by: Ralf Baechle commit 57468af3267bfb89391f9c607a9637e86e55d299 tree 3a52d3238fea2dd4cd887ff626e4b45d81c9b843 parent f8bb3af924211b0e6ee66dc0d3bcb4a66ba59af4 author Ralf Baechle Mon, 03 Oct 2005 13:40:26 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:35 +0100 Define and initialize kdb_lock using DEFINE_SPINLOCK. Convert kgdb_cpulock into a raw_spinlock_t. SPIN_LOCK_UNLOCKED is deprecated and it's replacement DEFINE_SPINLOCK is not suitable for arrays of spinlocks. Signed-off-by: Ralf Baechle commit f8bb3af924211b0e6ee66dc0d3bcb4a66ba59af4 tree 8f8fe1953febe3fcc696a309d25a97cf68042003 parent 65f1f5a2c3cdb0570806fe4e5512945673dfa199 author Ralf Baechle Mon, 03 Oct 2005 13:30:57 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:34 +0100 Make kgdb_wait static. Nothing outside gdb-stub.c uses kgdb_wait, so change it's definition to static. Signed-off-by: Ralf Baechle commit 65f1f5a2c3cdb0570806fe4e5512945673dfa199 tree 61772813b74f1b3064a51ba37f36d6093eadeed7 parent 5090dfb5bcf51479370b501e934edadc4d781f67 author Ralf Baechle Sat, 01 Oct 2005 20:22:39 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:34 +0100 Don't copy SB1 cache error handler to uncached memory. This may have made sense on a paranoid day with pass 1 BCM1250 processors that were throwing cache error exception left and right for no good reason. On modern silicion that hardly makes sense and the code had gotten just an obscurity ... Signed-off-by: Ralf Baechle commit 5090dfb5bcf51479370b501e934edadc4d781f67 tree 77644f77c4884a8aee74fa985b166a1257cbe255 parent 6aaf7786ed02da7797432708fbcdd242f9c0764e author Ralf Baechle Sat, 01 Oct 2005 17:34:35 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:33 +0100 Provide 64-bit address space definitions for the Sibyte SB1 CPU core. Signed-off-by: Ralf Baechle commit 6aaf7786ed02da7797432708fbcdd242f9c0764e tree 0cbece6a0ec2b706dfa8774e2b313ded86c5bbd0 parent 46dc3a4a098c65551d5f364e1c56331961400314 author Ralf Baechle Sat, 01 Oct 2005 13:14:58 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:33 +0100 No need to explicitly call __read_64bit_c0_split; __read_64bit_c0_register will do that itself iff needed. Fix format string. Signed-off-by: Ralf Baechle commit 46dc3a4a098c65551d5f364e1c56331961400314 tree e8ae4298c0435e830a8183b6436458e537a44591 parent 02cf2119684e52e97a8a90bd7630386e0f1a250a author Andrew Isaacson Wed, 22 Jun 2005 16:02:03 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:33 +0100 Fix stale comment in c-sb1.c. Signed-Off-By: Andrew Isaacson Signed-off-by: Ralf Baechle commit 02cf2119684e52e97a8a90bd7630386e0f1a250a tree fbe051feacc403d7703bf27043ac048b5d2f2369 parent 942d042d17c77febab9af6815b2e77f665d0f9c1 author Ralf Baechle Sat, 01 Oct 2005 13:06:32 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:32 +0100 Cleanup the mess in cpu_cache_init. Signed-off-by: Ralf Baechle commit 942d042d17c77febab9af6815b2e77f665d0f9c1 tree 546feac57c4e16b7c388a1e377e3e4212aee9585 parent f5cfa980e535e1f77038f8037422594592208695 author Andrew Isaacson Wed, 22 Jun 2005 16:01:09 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:32 +0100 Use cpumask_t rather than hand-rolled bitmask code in sb1250_set_affinity. Signed-Off-By: Andrew Isaacson Signed-off-by: Ralf Baechle commit f5cfa980e535e1f77038f8037422594592208695 tree 108a922c864f5b95de9ff5f72235aaf43755f536 parent c5c96e13790122095fdf2ea74a8131e5f6b60c03 author Ralf Baechle Sat, 01 Oct 2005 11:14:17 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:31 +0100 Use R4000 TLB routines for SB1 also. Signed-off-by: Ralf Baechle commit c5c96e13790122095fdf2ea74a8131e5f6b60c03 tree 2c11ebffae96232f4b6bf23cd416ad34588c8935 parent 3959c7957f0ab758066c8779483b18179c355257 author Ralf Baechle Sat, 01 Oct 2005 10:17:54 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:31 +0100 Fix build error caused by missmatching duplicate declaration. Signed-off-by: Ralf Baechle commit 3959c7957f0ab758066c8779483b18179c355257 tree b709b87527dbc65091f88cf95cbca86f8547a77e parent 0015365cc68a5b6ad22dfdac19580aa9530731c3 author Ralf Baechle Sat, 01 Oct 2005 00:03:42 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:31 +0100 Don't call memset to clean irq_desc; these data fields have already previously been initialized statically in kernel/irq/handle.c. Signed-off-by: Ralf Baechle commit 0015365cc68a5b6ad22dfdac19580aa9530731c3 tree 335f10463bf177ff114227b1ed010343f29f9699 parent c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fed author Ralf Baechle Sat, 01 Oct 2005 00:00:00 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:30 +0100 Fix ARCH_KMALLOC_MINALIGN values on MIPS Signed-off-by: Ralf Baechle commit c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fed tree 44bee3daac887df59c0d69658b19c21da4e1839f parent b288f135872b651ebf6cd1565d0709a5e31997f7 author Ralf Baechle Fri, 30 Sep 2005 13:59:37 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:30 +0100 Support for MIPSsim, the cycle accurate MIPS simulator. Signed-off-by: Ralf Baechle commit b288f135872b651ebf6cd1565d0709a5e31997f7 tree 4466c2038022d406aa3378ea644e5a7989ec5a08 parent ea3d710fe572f0af4d242701973f7363b2146429 author Ralf Baechle Fri, 30 Sep 2005 01:51:21 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:29 +0100 Switch Sibyte profiling driver to ->compat_ioctl Signed-off-by: Christoph Hellwig Signed-off-by: Ralf Baechle commit ea3d710fe572f0af4d242701973f7363b2146429 tree b8c7138296d4e19b7101b51bfeb6677d27185bc7 parent 9043f7e95d104795fcb03a2f762524babcd49da5 author Daniel Jacobowitz Wed, 28 Sep 2005 18:11:15 -0400 committer Ralf Baechle Sat, 29 Oct 2005 19:32:29 +0100 Revise MIPS 64-bit ptrace interface Change the N32 debugging ABI to something more sane, and add support for o32 and n32 debuggers to trace n64 programs. Signed-off-by: Daniel Jacobowitz Signed-off-by: Ralf Baechle commit 9043f7e95d104795fcb03a2f762524babcd49da5 tree cee4858eaee2579c061b3e8e52f88c557087d45b parent 9d58f302ca370c720fa47cb419f0b33eaa1a1132 author Atsushi Nemoto Wed, 28 Sep 2005 20:24:58 +0900 committer Ralf Baechle Sat, 29 Oct 2005 19:32:28 +0100 Sync c-tx39.c with c-r4k.c. tx39_flush_cache_range() does nothing if !cpu_has_dc_aliases. It should flush d-cache and invalidate i-cache since the TX39(H2) has separate I/D cache. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 9d58f302ca370c720fa47cb419f0b33eaa1a1132 tree 93d3572aba1d3bbdb8f0c0ac18fabe1b73ce22ad parent 495515b351957e4f6155d1696132f53acc4d06e5 author Ralf Baechle Fri, 23 Sep 2005 20:02:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:28 +0100 Glue again after removal of BUILD_BUG(). Signed-off-by: Ralf Baechle commit 495515b351957e4f6155d1696132f53acc4d06e5 tree ce7fe8c50f7578d147d10b811497f3a246e917cd parent 80b47346b0c83edab5d183376b41e9968bd5ac32 author Ladislav Michl Fri, 23 Sep 2005 10:52:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:27 +0100 Let it compile again after i2c algo id removal. Sort headers. Signed-off-by: Ralf Baechle commit 80b47346b0c83edab5d183376b41e9968bd5ac32 tree 4f51d042ad575f4f3654a5503d1893076658743a parent 0c9ec467db8bf9ae9a337b96cecd9b6b703b57a1 author Ralf Baechle Thu, 22 Sep 2005 14:55:21 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:27 +0100 SMP on Malta needs to define ARCH_HAS_IRQ_PER_CPU since 2.6.14-rc1. Signed-off-by: Ralf Baechle diff --git a/include/asm-mips/mach-mips/irq.h b/include/asm-mips/mach-mips/irq.h new file mode 100644 commit 0c9ec467db8bf9ae9a337b96cecd9b6b703b57a1 tree 38fa95aad7c643ef568a365364f11a489cdb5995 parent ba264b340396b8dd7348ef8531e5ac003a34ff4e author Pete Popov Wed, 21 Sep 2005 21:39:44 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:27 +0100 smc91x platform support; requires patch to smc91x.h which was sent upstream. Signed-off-by: Ralf Baechle commit ba264b340396b8dd7348ef8531e5ac003a34ff4e tree f6edffeb3a615c3191109adef2151f358f377802 parent bab056aafe428b326f7ee72db453c3b8947c7339 author Pete Popov Wed, 21 Sep 2005 06:18:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:26 +0100 Au1[12]00 mmc driver. Only tested on the Au1200 at this point though it should work on the Au1100 as well. Updated defconfig to include driver. Signed-off-by: Ralf Baechle commit bab056aafe428b326f7ee72db453c3b8947c7339 tree aab9571a3b9e382168ae282d4c7c7d863fb82db3 parent e97288386a316e3960b758a60ae7cd17b3ee10e7 author Ralf Baechle Tue, 20 Sep 2005 13:43:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:26 +0100 Add SOCK_DCCP definition for MIPS also. Signed-off-by: Ralf Baechle commit e97288386a316e3960b758a60ae7cd17b3ee10e7 tree 5a40713cc8ceec43a9ed0d2f02373a1e5a2d648f parent 2cce8263228ac8926d675cfa19e50ca0af9e05e4 author Ralf Baechle Tue, 20 Sep 2005 10:56:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:25 +0100 The type of sum in csum_tcpudp_nofold is "unsigned int", so when we assign to it in an asm() block, and we're running on a system with 64-bit registers, it is vitally important that we sign extend it correctly before returning to C. Otherwise the stray high bits will be preserved into csum_fold, and on the SB-1 processor, 32-bit arithmetic on a non sign-extended register will yield surprising results. This caused incorrect checksums in some UDP packets for NFS root. The problem was mild when using a 10.0.1.x IP address, but severe when using 192.168.1.x. Signed-off-by: Daniel Jacobowitz Signed-off-by: Ralf Baechle commit 2cce8263228ac8926d675cfa19e50ca0af9e05e4 tree 9d6ab290277c0b85bdd1bb9eeae40c1cbb7354c8 parent 13bb199f98d179664cc24ab2e4762ef8ab059acc author Pete Popov Sun, 18 Sep 2005 11:18:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:25 +0100 Kernel gpio/2 routines that will be used by some drivers. Signed-off-by: Ralf Baechle commit 13bb199f98d179664cc24ab2e4762ef8ab059acc tree f442c2d1c1dcf911580a4b12c8c7a0317c55c373 parent d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77 author Pete Popov Sun, 18 Sep 2005 01:10:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:25 +0100 Fix a cache snooping issue. Signed-off-by: Ralf Baechle commit d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77 tree eeac9842013ab85276fff3ee64928c9c4cd1fd2c parent efe29c0f34dc3ee3511e46458f335edb7ee50327 author Pete Popov Sat, 17 Sep 2005 00:38:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:24 +0100 Updated pcmcia driver with pb1200 and db1200 support. Updated db1200_defconfig so pcmcia is enabled by default. Signed-off-by: Ralf Baechle commit efe29c0f34dc3ee3511e46458f335edb7ee50327 tree 645c9e7a061984ded12ae1ecf33ed869b7b90fbf parent 0bf0e3e279661c42ad43014d62ddd87d42da12e7 author Pete Popov Thu, 15 Sep 2005 23:42:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:24 +0100 - moved platform structure to platform.c - fixed an iounmap warning - export fixup_xx, needed by the module Signed-off-by: Ralf Baechle commit 0bf0e3e279661c42ad43014d62ddd87d42da12e7 tree a300ea64996f301b92aade759614dc3d12de1094 parent 870d3d98eb343fa0f079773653f6dbdd17f410ed author Ralf Baechle Thu, 15 Sep 2005 16:43:50 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:23 +0100 Fix excessive signal latencies. Signed-off-by: Ralf Baechle commit 870d3d98eb343fa0f079773653f6dbdd17f410ed tree 334a8efce430cfc0244ab6506444d4918fdbcb15 parent 61ed242d7e9d96dfb2e2f37058f5c822e5c6ca55 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:23 +0100 Reorder & reformat a bit. Signed-off-by: Ralf Baechle commit 61ed242d7e9d96dfb2e2f37058f5c822e5c6ca55 tree 659a2c39c1bb5dd1f720b713723037c1bdf8da7a parent 587cb98f368de7ea4382a6ca99847113fbbeea91 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:22 +0100 Use ARCH_MAY_HAVE_PC_FDC where needed. Signed-off-by: Ralf Baechle commit 587cb98f368de7ea4382a6ca99847113fbbeea91 tree 9a34df00ddc0d921c127cad15f6e5a8bef264802 parent 61ed7f08b691677a13486d920dcd931b7d31719c author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:22 +0100 GCC bulletproofing: __mips64 is only defined when compiling for 64-bit processors. Signed-off-by: Ralf Baechle commit 61ed7f08b691677a13486d920dcd931b7d31719c tree dc9c8741ee0326148fd8fc3e7a650a49c259c91e parent ebfaebae364c3631c70467bf89a63b341d0f0949 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:22 +0100 The values for SO_SNDBUFFORCE / SO_RCVBUFFORCE were already taken ... Signed-off-by: Ralf Baechle commit ebfaebae364c3631c70467bf89a63b341d0f0949 tree 837833970842137f0ca9a4992e30a30a12cde241 parent 9dbdfce85c165faa45509ca3b18deaa5f9dfbc12 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:21 +0100 Futexes for MIPS, for the time being only the R10000_LLSC_WAR version. Signed-off-by: Ralf Baechle commit 9dbdfce85c165faa45509ca3b18deaa5f9dfbc12 tree 9e000f50f4a7483210b4f0df48de6918e1511dc6 parent 26a940e21752e0de8f068f77dad606a7d1986937 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:21 +0100 Define pcibus_to_node() for IP27. Signed-off-by: Ralf Baechle commit 26a940e21752e0de8f068f77dad606a7d1986937 tree 88e46225e19c4c72fa6914a21afb28c6ea52bfc6 parent 64abf64d10b3a547becefeb26394dfbefac273fb author Pete Popov Thu, 15 Sep 2005 08:03:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:20 +0100 Cleaned up AMD Au1200 IDE driver: - converted to platform bus - removed pci dependencies - removed virt_to_phys/phys_to_virt calls System now can root off of a disk. Signed-off-by: Ralf Baechle diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README new file mode 100644 commit 64abf64d10b3a547becefeb26394dfbefac273fb tree 2960d858aa3490548385f77fbd460c6dc60e1e5b parent 4f94afa258c3e574a8d985160e87146a5183944b author Pete Popov Wed, 14 Sep 2005 16:17:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:20 +0100 Misc au1200 updates. Signed-off-by: Ralf Baechle commit 4f94afa258c3e574a8d985160e87146a5183944b tree 7fcc98c8f7852e6640ab6a59c3500bf7328b7c62 parent 57e3e3b9187765f042c131db1a8b66bee67fc5fb author Ralf Baechle Wed, 14 Sep 2005 14:52:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:19 +0100 Delete the SABLE_RTL case. Signed-off-by: Ralf Baechle commit 57e3e3b9187765f042c131db1a8b66bee67fc5fb tree 5b0d42e6e84fdd7b0f69e52c8b3ead2e03dbb2a9 parent 097975fc6651ee8f43ffc930ae0c4851ec979454 author Pete Popov Tue, 13 Sep 2005 22:52:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:19 +0100 When no yamon command line is passed to the kernel, preserve the default compiled in command line. Signed-off-by: Ralf Baechle commit 097975fc6651ee8f43ffc930ae0c4851ec979454 tree a95ce1214561fed94c1fff93e23457b0a4c9edaa parent 10a3dabddd79473130c6ded7f7cef1d55fccc115 author Ralf Baechle Mon, 12 Sep 2005 20:22:07 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:18 +0100 Provide MODULE_ARCH_VERMAGIC for MIPS. Signed-off-by: Ralf Baechle commit 10a3dabddd79473130c6ded7f7cef1d55fccc115 tree 8563bee83ef4b13ca1ca0f9141949437f0c7510f parent 02fe2c9ce3159f62339f30dfe62aeb6e4aa75d6e author Thiemo Seufer Fri, 09 Sep 2005 20:26:54 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:18 +0100 Add/Fix missing bit of R4600 hit cacheop workaround. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 02fe2c9ce3159f62339f30dfe62aeb6e4aa75d6e tree 8d330ba1629926b2bf0404d58921b15a873f3d17 parent f5b4d9563b3dc43d3b5df2422baecd2d4b77750a author Thiemo Seufer Fri, 09 Sep 2005 19:45:41 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:17 +0100 Minor code cleanup. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit f5b4d9563b3dc43d3b5df2422baecd2d4b77750a tree 4f0b5642c8c31cb8557fb74804de2f326c1574cb parent 424cadae94a683afe2164f726269d2b479d99732 author Thiemo Seufer Fri, 09 Sep 2005 17:11:50 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:17 +0100 R4600 v2.0 needs a nop before tlbp. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 424cadae94a683afe2164f726269d2b479d99732 tree c75849ee46e6b6f7ab209c1fdae8d89fb4dd4d68 parent 98e316d4b151111d5a8ff2b3a684a9300634d83f author Thiemo Seufer Fri, 09 Sep 2005 17:09:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:17 +0100 Don't set up a sg dma address if we have no page address for some reason. Code cleanup. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 98e316d4b151111d5a8ff2b3a684a9300634d83f tree fefb69d133561477a5b6fde3a10dee6d79d637ae parent d8748a3abf1f388438ba2d812c1f46c549856afe author Maciej W. Rozycki Mon, 05 Sep 2005 10:31:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:16 +0100 Move MIPS Technologies processor IDs to where they belong. Signed-off-by: Ralf Baechle commit d8748a3abf1f388438ba2d812c1f46c549856afe tree afc62d26f630f790cbeb1219589531707ba25cb8 parent 5bcb9a58e6e3eda4af87193c8746d15e45f51628 author Thiemo Seufer Fri, 02 Sep 2005 09:56:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:16 +0100 More .set push/pop. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 5bcb9a58e6e3eda4af87193c8746d15e45f51628 tree a002040a806a115d3a2b4fece08946c90e86ec8a parent 330cfe016bec3cdf517a626083bcb0d7b1854744 author Ralf Baechle Thu, 01 Sep 2005 20:42:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:15 +0100 Move genrtc.c's functions into Signed-off-by: Ralf Baechle commit 330cfe016bec3cdf517a626083bcb0d7b1854744 tree 5273948dd01047d77de45bc3142c3c52dd140e75 parent 65dd7026a906f7a70ef326f18540c0b648a0ffed author Thiemo Seufer Thu, 01 Sep 2005 18:33:58 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:15 +0100 Let r4600 PRID detection match only legacy CPUs, cleanups. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 65dd7026a906f7a70ef326f18540c0b648a0ffed tree 02ad69bcba2f6b258cc8063ca735372158babb24 parent aaa49075c6a75332dac6fb401518c0a72b103443 author Thiemo Seufer Thu, 01 Sep 2005 09:02:08 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:14 +0100 Define some more common ip22 CPU features. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit aaa49075c6a75332dac6fb401518c0a72b103443 tree 2b3475e5af739225e51892c45d09272f387ed0dc parent 2fe25f67a55ea0e6416304fa43d58fae93b7300a author Thiemo Seufer Thu, 01 Sep 2005 09:00:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:14 +0100 Typo fix. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 2fe25f67a55ea0e6416304fa43d58fae93b7300a tree a51ec17e1ae43c587dad6ca6d4c2e183fb1a5f81 parent f8670e66dc3f08512b57cb7872932fb0710de589 author Thiemo Seufer Thu, 01 Sep 2005 08:59:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:14 +0100 More .set push/pop encapsulation, more eyefriendly code formatting. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit f8670e66dc3f08512b57cb7872932fb0710de589 tree d45b63678eed1e093825a058e27446e766fc67e6 parent 37c8c642ea6deb4837c247de062e3f4c5ae2b282 author Thiemo Seufer Thu, 01 Sep 2005 08:56:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:13 +0100 Fix MAP_BASE for 64bit ip22. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 37c8c642ea6deb4837c247de062e3f4c5ae2b282 tree c429ad5c7758883da9e90fb813b5b5bb1eff5c1e parent 7623debf267521771952870549f5c5d38c408ad1 author Thiemo Seufer Wed, 31 Aug 2005 15:55:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:13 +0100 IP22 EISA support update. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 7623debf267521771952870549f5c5d38c408ad1 tree 10ffd54fce353ce6d9f75b62c133252ed47d086f parent 23bbbaf89cfb9bfd1a37385bfbb4e0cab591f454 author Ralf Baechle Mon, 29 Aug 2005 16:49:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:12 +0100 Handle mtc0 - tlb write hazard for VR5432. Signed-off-by: Ralf Baechle commit 23bbbaf89cfb9bfd1a37385bfbb4e0cab591f454 tree 5426c96deb184e060e7fec8aba797ebb11f672d9 parent f99d3023f317fb3916b46465cc07a0cad3faa0a5 author Maciej W. Rozycki Fri, 26 Aug 2005 13:36:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:12 +0100 Make static what ought to be static. Signed-off-by: Ralf Baechle commit f99d3023f317fb3916b46465cc07a0cad3faa0a5 tree 727715d292ec4752f71423922e0511e82e585090 parent e607d6c8b8dd684936fda4b2cc37ad9f9104bed4 author Ralf Baechle Thu, 25 Aug 2005 16:22:09 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:11 +0100 Sprinkle a few more .set mipsX over xchg to make sure we dont' end up with 64-bit instructions on 32-bit processors, they tend to be unhappy about that kind of food ;-) Signed-off-by: Ralf Baechle commit e607d6c8b8dd684936fda4b2cc37ad9f9104bed4 tree b16a7f60535b950f8705c7d9b6667af1f35cc2a2 parent fabffc13ed720eea986f80f432cedb4550f464ed author Pete Popov Tue, 23 Aug 2005 00:22:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:11 +0100 Get rid of a bunch of debug serial routines. Use prom_printf instead. Signed-off-by: Ralf Baechle commit fabffc13ed720eea986f80f432cedb4550f464ed tree a9e318deef331e9c551e126bdc9d2501097ef534 parent 27c7c1657df54352838d176b39e119b799bf7855 author Ralf Baechle Fri, 19 Aug 2005 14:29:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:11 +0100 Remove workaround for binutils 2.15 assembler bug; this version is not suitable to reliably build kernels anymore anyway and 2.16 has this fixed. Signed-off-by: Ralf Baechle commit 27c7c1657df54352838d176b39e119b799bf7855 tree 6bbb4e2cd33f4d3abf087fc72915673f981889f1 parent 340ee4b98c0543b5632cac975a7449a2d28762d8 author Ralf Baechle Wed, 17 Aug 2005 17:57:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:10 +0100 Drop might_sleep() calls from get_user() & co. This should fix the issue in http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=200508171321.20094.Joshua.Wise%40sicortex.com and it's the right thing to do anyway because it was inflating those functions way too much. Signed-off-by: Ralf Baechle commit 340ee4b98c0543b5632cac975a7449a2d28762d8 tree 94b7315d53d6eadd145c8691f0a9925f5ae389f5 parent d03d0a57754cb820d318d2234c60b728eb38a94d author Ralf Baechle Wed, 17 Aug 2005 17:44:08 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:10 +0100 Virtual SMP support for the 34K. Signed-off-by: Ralf Baechle commit d03d0a57754cb820d318d2234c60b728eb38a94d tree c9feac8689e0081304382411592f3e074fe96502 parent 533330bf7fa19854f3b4accd2b84ff58e3ee160f author Ralf Baechle Wed, 17 Aug 2005 13:44:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:09 +0100 MT bulletproofing. Signed-off-by: Ralf Baechle commit 533330bf7fa19854f3b4accd2b84ff58e3ee160f tree 841eb3e66c58a34a7f57701fa50fd6d7bbafcda5 parent 0952e2905c6bc2e12a43910c7eb898b6481a57b5 author Ralf Baechle Wed, 17 Aug 2005 10:11:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:09 +0100 On CONFIG_64BIT_PHYS_ADDR, pfn always fits in 'unsigned long', but pfn< commit 0952e2905c6bc2e12a43910c7eb898b6481a57b5 tree 13ed9bcf42589af9a6cf3331488cc4170ff5192f parent a50b3e2763dc23f8427b7f4a199235dfe9a073c0 author Ralf Baechle Wed, 17 Aug 2005 10:03:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:08 +0100 Fix parenthesis in macros. Signed-off-by: Ralf Baechle commit a50b3e2763dc23f8427b7f4a199235dfe9a073c0 tree 275b781287caf29840d801ee2953e54429e07482 parent 8b200ce4a697fbbf446de3a0874232d7aaa3f6d3 author Ralf Baechle Tue, 16 Aug 2005 18:11:07 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:08 +0100 Do the timer interrupt only once on CPU 0 ... Signed-off-by: Ralf Baechle commit 8b200ce4a697fbbf446de3a0874232d7aaa3f6d3 tree ff0ae21d04f4d590b8bdd51c0a7f8006f7d7cc20 parent ac351d947390c00b8ece3cde997fe173fc8649ed author Ralf Baechle Tue, 16 Aug 2005 17:54:41 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:07 +0100 Define cpu_icache_snoops_remote_store. This is slight abuse of something which originally was meant for SMP cache managment but it can be argued to apply on the 34K as well. Signed-off-by: Ralf Baechle commit ac351d947390c00b8ece3cde997fe173fc8649ed tree 57f5801414b2d66905b2596ce93573f53528a457 parent d2f755e04f26b9ab4b8da24c025dc4f6112d6bee author Ralf Baechle Tue, 16 Aug 2005 17:47:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:06 +0100 Add a few simple error checks to tlb dumper. Signed-off-by: Ralf Baechle commit d2f755e04f26b9ab4b8da24c025dc4f6112d6bee tree b53124f517972e5169d4279a1c1279570cb13ee9 parent 3fd5646cac36e2ea244bb3455a66afb1777b9a92 author Ralf Baechle Tue, 16 Aug 2005 17:06:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:06 +0100 Reindent dump_tlb.c. Signed-off-by: Ralf Baechle commit 3fd5646cac36e2ea244bb3455a66afb1777b9a92 tree 56c865cbec69360581e0106c0f7e3cd6b83734eb parent e027802e985f1cca752bf3b2e7eecae05031699f author Ralf Baechle Tue, 16 Aug 2005 16:54:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:05 +0100 Add missing space. Signed-off-by: Ralf Baechle commit e027802e985f1cca752bf3b2e7eecae05031699f tree 6ef2a3245e10a1438cf731b0500b390ad882ae46 parent 3bffe736d93ce527a27fd5a4845fb2a0e82fcd99 author Ralf Baechle Tue, 16 Aug 2005 16:39:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:05 +0100 Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo. Signed-off-by: Ralf Baechle commit 3bffe736d93ce527a27fd5a4845fb2a0e82fcd99 tree 1bed04fd852bf26941096126e86066b25748a64d parent 28a7879d8ca6afafbd1583dd777587e441d0f90e author Ralf Baechle Tue, 16 Aug 2005 16:10:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:04 +0100 Delete old junk. Signed-off-by: Ralf Baechle commit 28a7879d8ca6afafbd1583dd777587e441d0f90e tree bfc24e4dfc719f7aeb5a441c1b6063a2d8d31133 parent 479a0e3e0245fa116412bc105ab1161636c220cb author Ralf Baechle Tue, 16 Aug 2005 15:46:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:03 +0100 Spelling fix. Signed-off-by: Ralf Baechle commit 479a0e3e0245fa116412bc105ab1161636c220cb tree 3aa73f8d4626f1f29821df184fa9d6df9d08e6d4 parent fd0197d26208b896caa958cc1780e8016f439711 author Ralf Baechle Tue, 16 Aug 2005 15:44:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:02 +0100 Support for CoreFPGA-3. Signed-off-by: Ralf Baechle commit fd0197d26208b896caa958cc1780e8016f439711 tree 56eabebb73e655ffb9772bde33cb0319fcdabac3 parent 797798c1bed106a20d4c1ac689ae8a5b1069c5b2 author Ralf Baechle Mon, 15 Aug 2005 11:24:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:02 +0100 Implement get_system_type() for Qemu to get procfs-enabled kernels to link. Signed-off-by: Ralf Baechle commit 797798c1bed106a20d4c1ac689ae8a5b1069c5b2 tree 3f0c50b7e7b0ea19b7ce8dc6a9c6f070266e2ae7 parent d9912d87840b321678c85396c6adf15ced2c228d author Ralf Baechle Wed, 10 Aug 2005 15:17:11 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:01 +0100 A little more Kconfig untangeling. Signed-off-by: Ralf Baechle commit d9912d87840b321678c85396c6adf15ced2c228d tree 100585d6cb7ddc9a76b5fff7895ae72c3b67984c parent d3ffd085536c1801da74c098e25fd3985671e15d author Ralf Baechle Tue, 09 Aug 2005 15:23:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:00 +0100 Inlining will result in back-to-back mtc0 mfc0 instructions. Break the hazard by using back_to_back_c0_hazard(). Signed-off-by: Ralf Baechle commit d3ffd085536c1801da74c098e25fd3985671e15d tree 30c681787eadf0d117b95cc80b4533f3b4abe2e3 parent 0ae12797581a25832aea7011192d023a348ae5ab author Ralf Baechle Mon, 08 Aug 2005 12:42:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:00 +0100 Use pr_debug instead of homegrown debug print macros. Signed-off-by: Ralf Baechle commit 0ae12797581a25832aea7011192d023a348ae5ab tree 1b021eb002780c1cc3f3c75f38102c973c02772f parent c8094b53c17bf93d8afa5e8ccec30450a2e07aad author Ralf Baechle Fri, 05 Aug 2005 14:50:35 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:59 +0100 Send CONFIG_VTAG_ICACHE back into it's cold grave. Signed-off-by: Ralf Baechle commit c8094b53c17bf93d8afa5e8ccec30450a2e07aad tree ca63c002d3ac2e5f1eafbb412f6561e07ba75d69 parent 8d9c62675d58ebfb7dfce64cd1ce109e7d90af87 author Ralf Baechle Fri, 05 Aug 2005 14:28:54 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:59 +0100 Get rid of the nonsense in the CONFIG_CPU_HAS_PREFETCH block. Signed-off-by: Ralf Baechle commit 8d9c62675d58ebfb7dfce64cd1ce109e7d90af87 tree d37d17eaaaa520d71ae1561d91da063dea8839ed parent 075e7502d9701dbc206ed32046888acfc8a4bb73 author Ralf Baechle Fri, 05 Aug 2005 10:31:47 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:58 +0100 sys is only used for native o32 ... Signed-off-by: Ralf Baechle commit 075e7502d9701dbc206ed32046888acfc8a4bb73 tree 54e315970e45b2d2cb2a22f3709291406a6ecede parent 23fbee9dd5d2a41d36af49ff8e1669fb0c29fda8 author Thiemo Seufer Wed, 27 Jul 2005 21:48:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:58 +0100 R4600 has 32 FPRs. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 23fbee9dd5d2a41d36af49ff8e1669fb0c29fda8 tree 4e24699269b9d4d2655d961e7a0ffb29931e9b2d parent 132940401174ed04f9e8f1ae2dad6f47da26ee0a author Ralf Baechle Mon, 25 Jul 2005 22:45:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:57 +0100 Support for Toshiba's RBHMA4500 eval board for the TX4938. Signed-off-by: Ralf Baechle commit 132940401174ed04f9e8f1ae2dad6f47da26ee0a tree 61ac747cbd39755a83eedfaa0929cc77afe8e9b0 parent 154b500b1981a8053a15cd8e749a955a9bb60006 author Ladislav Michl Sat, 23 Jul 2005 22:54:52 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:57 +0100 Void functions shouldn't return values Signed-off-by: Ladislav Michl Signed-off-by: Ralf Baechle commit 154b500b1981a8053a15cd8e749a955a9bb60006 tree 5e54300cc5e4cc3c63e47fa5c6d36590f4519786 parent 3ce86ee14ba7c4b0f8ddae6030df9d0dee15b236 author Ralf Baechle Fri, 22 Jul 2005 05:46:02 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:56 +0100 commit 1858f72fa2e2f63e62114a9bd40c8e68468d8c5e Author: Ralf Baechle Date: Fri Jul 22 05:46:02 2005 +0000 New build target vmlinux.bin build raw binary image for Qemu. Signed-off-by: Ralf Baechle commit 3ce86ee14ba7c4b0f8ddae6030df9d0dee15b236 tree 9283cd659849be0deaea5fa80b7d8343edd5d926 parent 7ab1261f5fe421602fadeda1d89662303b08830b author Pete Popov Tue, 19 Jul 2005 07:05:36 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:56 +0100 Au1x PM fixes. Signed-off-by: Ralf Baechle commit 7ab1261f5fe421602fadeda1d89662303b08830b tree e9957812fedd04ce834b2f451f0e4867c4a9de7b parent ae1b3d51c89a96c641111e2c103557592577cf51 author Ralf Baechle Fri, 15 Jul 2005 16:32:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:56 +0100 Drop IP27 support for Qlogic ISP. This driver is buggy and has been obsoleted by the qla1280 after the recent fixes. Signed-off-by: Ralf Baechle commit ae1b3d51c89a96c641111e2c103557592577cf51 tree 1aae0a75db788d079c5e79646082bec192709250 parent 1d40cfcd3442a53e98468cdb3e6d4d9a568d76cf author Ralf Baechle Fri, 15 Jul 2005 15:44:02 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:55 +0100 Make sure that the processor is actually online or die spectacularly. Signed-off-by: Ralf Baechle commit 1d40cfcd3442a53e98468cdb3e6d4d9a568d76cf tree 76d3ba7ac251389194b74c4343d7c46231442044 parent bdf21b18b4abf983db38f04ef7fec88f47389867 author Ralf Baechle Fri, 15 Jul 2005 15:23:23 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:54 +0100 Avoid SMP cacheflushes. This is a minor optimization of startup but will also avoid smp_call_function from doing stupid things when called from a CPU that is not yet marked online. Signed-off-by: Ralf Baechle commit bdf21b18b4abf983db38f04ef7fec88f47389867 tree b7e551f09f0ee39f4a59132be4c0890e1ba80d91 parent e01402b115cccb6357f956649487aca2c6f7fbba author Pete Popov Thu, 14 Jul 2005 17:47:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:54 +0100 Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it. Signed-off-by: Ralf Baechle commit e01402b115cccb6357f956649487aca2c6f7fbba tree 256e14f8d2762de98b992219b1a47e8f56b4b0da parent 86071b637db7baf599df26fdf820dce2fc55ca9f author Ralf Baechle Thu, 14 Jul 2005 15:57:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:53 +0100 More AP / SP bits for the 34K, the Malta bits and things. Still wants a little polishing. Signed-off-by: Ralf Baechle commit 86071b637db7baf599df26fdf820dce2fc55ca9f tree 71d91172984777b5b39908cbafad757d7a2556a6 parent 7e35952baa9d7424dfb95ca8aff7239a1f6ec011 author Ralf Baechle Thu, 14 Jul 2005 13:25:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:53 +0100 Cleanups. Signed-off-by: Ralf Baechle commit 7e35952baa9d7424dfb95ca8aff7239a1f6ec011 tree 6412561c7dddfcc903491be1d6bb784646e2e3a6 parent a0c3a5b5a84df11cf6a44fc04cb6f7c0525123a8 author Ralf Baechle Thu, 14 Jul 2005 09:42:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:52 +0100 Move Origin crapola into a machine-specific header file. Signed-off-by: Ralf Baechle commit a0c3a5b5a84df11cf6a44fc04cb6f7c0525123a8 tree ccf2fb288ae0a967315db817e7b6c96a82999313 parent 8f40611d2b184ca5d525075d273854929cf8d1d0 author Ralf Baechle Thu, 14 Jul 2005 07:39:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:52 +0100 Prevent gcc from optimizing a few functions away completly. Signed-off-by: Ralf Baechle commit 8f40611d2b184ca5d525075d273854929cf8d1d0 tree 962ef8dfa515cee330f506dc4ceac83670d0f84e parent 699dbc90e8c7baecae197fb331773f505a46a1eb author Ralf Baechle Thu, 14 Jul 2005 07:34:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:51 +0100 Detect the MIPS R2 vectored interrupt, external interrupt controller options and the precense of the MT ASE. Signed-off-by: Ralf Baechle commit 699dbc90e8c7baecae197fb331773f505a46a1eb tree b5a30418a46b2502f211e7fa92db194dbfdb5ad8 parent f10fae02403fb8af141b0a440074a944ccd63504 author Ralf Baechle Thu, 14 Jul 2005 07:30:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:51 +0100 Macros to access the register of processors using the new MIPS Multithreading ASE, also know as MT ASE. Signed-off-by: Ralf Baechle diff --git a/include/asm-mips/mipsmtregs.h b/include/asm-mips/mipsmtregs.h new file mode 100644 commit f10fae02403fb8af141b0a440074a944ccd63504 tree a401c82cc2692955faa284111bef23ece0980147 parent 10f6567e63a0ba9b473da9ea60452ffdb07ced02 author Pete Popov Thu, 14 Jul 2005 00:17:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:50 +0100 Fix the fixup_bigphys_addr compile problem. Signed-off-by: Ralf Baechle commit 10f6567e63a0ba9b473da9ea60452ffdb07ced02 tree e0fcb28865545f099a1b89b5f21df5a0fbe4fe57 parent 7a0fc58cd9b004672b38537de276f8f188d5e84a author Pete Popov Thu, 14 Jul 2005 00:16:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:49 +0100 Removed __ilog2 since it's no longer needed and conflicts with the generic one. Signed-off-by: Ralf Baechle commit 7a0fc58cd9b004672b38537de276f8f188d5e84a tree 68cc64c5bf4fc62e5aae4b38357125aaf6cc6cdd parent 55d04dff0fcf5d1c3f0d6edf6df86d82fa4c053b author Ralf Baechle Wed, 13 Jul 2005 19:47:28 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:49 +0100 A few more macros to access MIPS R2 architecture registers. Signed-off-by: Ralf Baechle commit 55d04dff0fcf5d1c3f0d6edf6df86d82fa4c053b tree f046b15a3c327c486dc871a4c810d013979b4a77 parent 569f75bd02d20043c4baf9fc38d937f37e7572b0 author Ralf Baechle Wed, 13 Jul 2005 19:22:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:48 +0100 New kernel option nowait allows disabling the use of the wait instruction. Signed-off-by: Ralf Baechle commit 569f75bd02d20043c4baf9fc38d937f37e7572b0 tree d04f221d275ad6e7d8b7e2fda73f032015eb8242 parent 97fb5de194a244df3a257bbddaaad911641af381 author Ralf Baechle Wed, 13 Jul 2005 18:20:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:48 +0100 Use an irq_enable_hazard hazard barrier in unmask_mips_irq. This hasn't been an actual bug, so it's more a change to be 100% compliant with the requirements of the architecture spec. Similar fix to mask_mips_irq where there was a slightly less theoretical chance of getting hit. Signed-off-by: Ralf Baechle commit 97fb5de194a244df3a257bbddaaad911641af381 tree e55d735aca483e92326b8316b5d84f2df71cdb5a parent f039b5d3661a9b95bd86aa5a268c766b53df50e5 author Ralf Baechle Wed, 13 Jul 2005 17:58:20 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:47 +0100 Add EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2 binaries. Signed-off-by: Ralf Baechle commit f039b5d3661a9b95bd86aa5a268c766b53df50e5 tree 3cf7ba67acd981430a8ea285ecc558d1d0b9f602 parent 7db36c858c01218bf02931c39076b082c42d964c author Ralf Baechle Wed, 13 Jul 2005 17:56:24 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:47 +0100 Add a few more SHN_MIPS_* symbols from glibc. Signed-off-by: Ralf Baechle commit 7db36c858c01218bf02931c39076b082c42d964c tree eb74babda1c99cb89dd052e9b9396d7fc0870ce0 parent ec74e361f1e71a2498e48b62abdc4bd8d2423354 author Ralf Baechle Wed, 13 Jul 2005 11:48:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:47 +0100 Add inotify syscalls for MIPS. Signed-off-by: Ralf Baechle commit ec74e361f1e71a2498e48b62abdc4bd8d2423354 tree f442c9b3cf759743d97393288a31b9e481ad1df4 parent cc61c1fede7d02cb8133ab0952ca3f3ba1f7fbb1 author Ralf Baechle Wed, 13 Jul 2005 11:48:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:46 +0100 Mark a few variables __read_mostly. Signed-off-by: Ralf Baechle commit cc61c1fede7d02cb8133ab0952ca3f3ba1f7fbb1 tree 9ad2708ba9ce5038dd6df888d1fc69de055c35fd parent bbc7f22f6dca8a075b565ade49e9a982f89707c3 author Ralf Baechle Tue, 12 Jul 2005 18:35:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:46 +0100 MIPS R2 instruction hazard handling. Signed-off-by: Ralf Baechle commit bbc7f22f6dca8a075b565ade49e9a982f89707c3 tree 06f2055cd1bb17f1330023bf111dc9fa7b1d589c parent 079ef8bb809c701fa0ab09d8984262693b854f94 author Ralf Baechle Tue, 12 Jul 2005 16:12:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:45 +0100 Detect the 34K. Signed-off-by: Ralf Baechle commit 079ef8bb809c701fa0ab09d8984262693b854f94 tree 3f8f673054c6bef389570dcefa7a4dd27093f311 parent ff88f8a3d290c213f90d40aa81bdea5c054f58b5 author Ralf Baechle Tue, 12 Jul 2005 14:56:53 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:45 +0100 Generate code for MIPS32 / MIPS64 Release 2 if configured for one of these architectures. Signed-off-by: Ralf Baechle commit ff88f8a3d290c213f90d40aa81bdea5c054f58b5 tree c8d57d8024e57b5fc8b7e69f720f92c41a4ffefb parent 1e5f1caa5dc4398298a2b7c2638855881a5057c5 author Ralf Baechle Tue, 12 Jul 2005 14:54:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:44 +0100 Use ei / di MIPS32 R2 instructions if available. Signed-off-by: Ralf Baechle commit 1e5f1caa5dc4398298a2b7c2638855881a5057c5 tree 346ed9762414b3bcc84a438534b1ebdb903f2de3 parent 6590326505e3f7b4b57793e84760e9920c3c56b4 author Ralf Baechle Tue, 12 Jul 2005 14:51:22 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:44 +0100 MIPS 32/64 R2 config option. Signed-off-by: Ralf Baechle commit 6590326505e3f7b4b57793e84760e9920c3c56b4 tree 920ab56cb70895393e57b356c28d6eb37932c63f parent e5de3b468795e4c58a9f0702630d28707b3ae011 author Ralf Baechle Tue, 12 Jul 2005 12:50:30 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:43 +0100 Use clz / dclz on MIPS32 / MIPS64 processors. Signed-off-by: Ralf Baechle commit e5de3b468795e4c58a9f0702630d28707b3ae011 tree bb52ef6c6bcacebb92e1ab97b37a8e3afec98d29 parent e80de8503cbcaecd7637fde26635dbc825f796dd author Ralf Baechle Tue, 12 Jul 2005 09:18:53 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:43 +0100 In pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES resources. We tried previous but ran into problems ... Signed-off-by: Ralf Baechle commit e80de8503cbcaecd7637fde26635dbc825f796dd tree fb31e4e58da7931907957ba209876c64b8f9b091 parent 60080265a13ea43f0ebdcd25671dcab05ed01308 author Ralf Baechle Mon, 11 Jul 2005 20:45:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:42 +0100 Use Kconfig.preempt. Signed-off-by: Ralf Baechle commit 60080265a13ea43f0ebdcd25671dcab05ed01308 tree 5172178f73d65bb8cbb129ad3e49a04af7e0b7ce parent 129bc8f78b468df6824dd1584829f10aa3a69c27 author Ralf Baechle Mon, 11 Jul 2005 20:45:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:42 +0100 Define kmap_atomic_pfn() for MIPS. Signed-off-by: Ralf Baechle commit 129bc8f78b468df6824dd1584829f10aa3a69c27 tree 714e9026691a406ffb76110486f21ca3107df938 parent b490ff42709546d5cf6b631c1a84a5f4fcb020e4 author Ralf Baechle Mon, 11 Jul 2005 20:45:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:41 +0100 Setup_frame is now returning a success value. Signed-off-by: Ralf Baechle commit b490ff42709546d5cf6b631c1a84a5f4fcb020e4 tree 783d4ac5af1ff44d8839197f140e105dfb334de5 parent c0ec406c80a65590dbdb60ed0d0c8e73e6c3884f author Ralf Baechle Mon, 11 Jul 2005 11:53:44 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:41 +0100 Temporary hack for Qemu and MIPSsim until they get a proper ELF loader. Signed-off-by: Ralf Baechle commit c0ec406c80a65590dbdb60ed0d0c8e73e6c3884f tree faf7c0ed89dd2473951db9c464eb4e301ceab680 parent 3ef33e68c1e956bb9a93734062076edcccca7070 author Ralf Baechle Mon, 11 Jul 2005 10:37:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:41 +0100 Fix endianess bugs. Signed-off-by: Ralf Baechle commit 3ef33e68c1e956bb9a93734062076edcccca7070 tree b1d1e433421fd000d8062dd584ab20af1132ebb3 parent 04988d6fda5c1cc670bd4c4d563b3443cf7ccce7 author Ralf Baechle Fri, 08 Jul 2005 20:10:17 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:40 +0100 Date: Fri Jul 8 20:10:17 2005 +0000 Those literals are long. Signed-off-by: Ralf Baechle commit 04988d6fda5c1cc670bd4c4d563b3443cf7ccce7 tree dc3ead52d31bb9014f1f8ebea75525364d699b15 parent 9556ac2fa1b16ec702e200fc558636a09a50f0e0 author Thiemo Seufer Fri, 08 Jul 2005 09:17:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:40 +0100 Protect noat assembly with .set push/pop and make it somewhat readable. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 9556ac2fa1b16ec702e200fc558636a09a50f0e0 tree 39b51399de0785b07d7ad8bbcdc9151fb33fe073 parent 4552074577c639da32dd58a617ea11ac3e28912b author Thiemo Seufer Fri, 08 Jul 2005 08:03:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:39 +0100 Fix get_saved_sp for 64bit address space. Simplify set_save_sp. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 4552074577c639da32dd58a617ea11ac3e28912b tree a9334c76c2885a0349384746a27cdbae6a69f2d7 parent 85f14bf2cb084990970f897463dea66182d28acf author Thiemo Seufer Fri, 08 Jul 2005 07:36:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:39 +0100 IP30 Identification. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 85f14bf2cb084990970f897463dea66182d28acf tree 816c0228b2d5c4159d7d24eafd626a51e8064ec8 parent 73f74e23a6d9f3aabccf966c18cff04a74afed7f author Thiemo Seufer Thu, 07 Jul 2005 11:42:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:38 +0100 ... and it isn't a canonicalized triplet but just the n-plet used to configure gcc. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 73f74e23a6d9f3aabccf966c18cff04a74afed7f tree 5e72884a7cef2929ec9935cf05ad068098f6a44d parent f425a6dce50475f08547d08763f707589478b027 author Thiemo Seufer Thu, 07 Jul 2005 11:18:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:37 +0100 Grep deesn't like shell-style matching... Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit f425a6dce50475f08547d08763f707589478b027 tree 32cec3782d55943c69b439c1aa64b39a33a70d13 parent 6e760c8dae7d6c47eff011dd4aad53c94d30494b author Thiemo Seufer Thu, 07 Jul 2005 09:19:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:37 +0100 Hack to make compiles for the other endianness easier. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 6e760c8dae7d6c47eff011dd4aad53c94d30494b tree 141699aef6e0a3b1fef03ec0c5cc8d8958851078 parent ca4973dd559b702e265688e724f356d289b8cd67 author Ralf Baechle Wed, 06 Jul 2005 12:08:11 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:37 +0100 Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1. Signed-off-by: Ralf Baechle commit ca4973dd559b702e265688e724f356d289b8cd67 tree 2d346366f3ee372129ea80f8d260bb9986397941 parent 50bd2c72ca72c07d5640e3490845d4b0faf6c124 author Ralf Baechle Wed, 06 Jul 2005 10:43:52 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:36 +0100 Don't redeclare ll_local_timer_interrupt. Signed-off-by: Ralf Baechle commit 50bd2c72ca72c07d5640e3490845d4b0faf6c124 tree c66fbaa319dd606a5ef5dcdde813fc5287051b17 parent ec125c129e864390deef47f792e3174442e4099f author Thiemo Seufer Sun, 03 Jul 2005 19:16:13 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:36 +0100 Brian Murphy says: this fixes Lasat pci to work with multi-function devices by assigning the correct values based on pin number (instead of ignoring them). Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit ec125c129e864390deef47f792e3174442e4099f tree d6a73b98d0f71e894ba792d6f66f4bab3d721917 parent a5fc9c0bbee8b91025993a49a9176a88380aef3c author Thiemo Seufer Sun, 03 Jul 2005 19:12:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:35 +0100 Code cleanup, thanks Brian Murphy. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit a5fc9c0bbee8b91025993a49a9176a88380aef3c tree e68ee45e852028ddde712abb18531777dba6e468 parent 7d7ee221213609319401d1b9d6dc4bf22ab928ea author Maciej W. Rozycki Fri, 01 Jul 2005 16:10:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:35 +0100 Use physical addresses at the interface level, letting drivers remap them as appropriate. Signed-off-by: Ralf Baechle commit 7d7ee221213609319401d1b9d6dc4bf22ab928ea tree 6e56cdfb5a09584eb01d0c1f74c4f48fc0f50701 parent 2c93e12cfec8cc668d4a2a2c8576dedabb7c69c8 author Maciej W. Rozycki Thu, 30 Jun 2005 16:10:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:34 +0100 Prevent 64-bit constants from being cropped to 32 bits when used in C code. Signed-off-by: Ralf Baechle commit 2c93e12cfec8cc668d4a2a2c8576dedabb7c69c8 tree 9081ae8c3b5c87ecbc6f1d94c85516ca767e907a parent c3455b0efc2b5b1bdc755602f77ce7f43725bf61 author Maciej W. Rozycki Thu, 30 Jun 2005 10:51:01 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:34 +0100 Avoid tlbw* hazards for the R4600/R4700/R5000. Signed-off-by: Ralf Baechle commit c3455b0efc2b5b1bdc755602f77ce7f43725bf61 tree 835ffe4b5509053c0623146157d92c4ca2d32aea parent c134a5ecdb8f4aee09feca0d4d395915e752fcb8 author Maciej W. Rozycki Thu, 30 Jun 2005 10:48:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:34 +0100 Inline ioremap() calls for constant addresses that map to KSEG1. Signed-off-by: Ralf Baechle commit c134a5ecdb8f4aee09feca0d4d395915e752fcb8 tree 329cc17a215fa9aedfbfefe70b9dd8f29fcdfe45 parent 7222424e2eb7915bceb34b915150f2fc76e0477c author Ralf Baechle Thu, 30 Jun 2005 09:42:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:33 +0100 Avoid defining variables in the middle of a block which breaks older compilers. Signed-off-by: Ralf Baechle commit 7222424e2eb7915bceb34b915150f2fc76e0477c tree 5ffe42c4e44085336d11573986ae73dad590bca6 parent 4c0a2d4275b6993066810c42c4c6b0729d3b67a9 author Ralf Baechle Wed, 29 Jun 2005 13:35:19 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:33 +0100 More .set to keep 32-bit processors happy. Signed-off-by: Ralf Baechle commit 4c0a2d4275b6993066810c42c4c6b0729d3b67a9 tree 1fed3157fbefd60023559a152b5f768be74633a9 parent 41986a6e7ea3b3acb452d00d56acda7c63761736 author Maciej W. Rozycki Wed, 29 Jun 2005 10:43:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:32 +0100 Fix the diagnostic dump for the XTLB refill handler. Signed-off-by: Ralf Baechle commit 41986a6e7ea3b3acb452d00d56acda7c63761736 tree f34eb6f84614b186eeceacb4f0cf3f3c393e8912 parent 362b1d546df6851d17159a2df89d1ca209ee42c1 author Maciej W. Rozycki Wed, 29 Jun 2005 10:24:21 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:32 +0100 Fix a diagnostic message. Signed-off-by: Ralf Baechle commit 362b1d546df6851d17159a2df89d1ca209ee42c1 tree c313d07be9d2577d9a352e0c3c22ca9d0ab55666 parent 01d42abdf3c35c2ae820bb9305174aa75492975b author Ralf Baechle Mon, 27 Jun 2005 22:07:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:32 +0100 Conversion to plat_setup() for TX4927 also. Signed-off-by: Ralf Baechle commit 01d42abdf3c35c2ae820bb9305174aa75492975b tree 15a05fd40bdbc705bab461e55eec423256085e75 parent c4559f67b73d6c34fde0faac5c6c890a2cf3527c author Ralf Baechle Mon, 27 Jun 2005 08:34:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:31 +0100 Using get_nasid() to find the console node will blow up nicely if called on a another node than the console node, so use the master_nasid instead and in the unlikely case that one isn't initialized yet, fall back to get_nasid(). Signed-off-by: Ralf Baechle commit c4559f67b73d6c34fde0faac5c6c890a2cf3527c tree 4063b3a937215684db85cc4f70eabd99cf3b8573 parent 69c75fb458cd81bb29e1d9580469110b00316748 author Maciej W. Rozycki Thu, 23 Jun 2005 15:57:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:31 +0100 Always use ".set mips3" rather than select between "mips2" or "mips3" for assembling ll/sc sequences to avoid problems with 64-bit configurations. Signed-off-by: Ralf Baechle commit 69c75fb458cd81bb29e1d9580469110b00316748 tree 6e33ce1ecfb30a83b1b842810ff39a5ba99c4783 parent 64dac503e8265007ea5c53b4d6bf42488a8a8d7a author Maciej W. Rozycki Wed, 22 Jun 2005 20:58:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:30 +0100 Actual handlers for bus errors for Pmax and 3min. Signed-off-by: Ralf Baechle diff --git a/arch/mips/dec/kn01-berr.c b/arch/mips/dec/kn01-berr.c new file mode 100644 commit 64dac503e8265007ea5c53b4d6bf42488a8a8d7a tree d086e5ddd6d36118b476ed0fe01091d9d4d70cec parent 3b2396d972ce030e942fef9fcbea1e411b1a62db author Maciej W. Rozycki Wed, 22 Jun 2005 20:56:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:30 +0100 System-specific handling of bus errors for DECstation variations supporting parity errors only for memory (Pmax/3min/Maxine). Fixes for resources decoded by the KN04/KN05 MB ASIC. Additional clean-ups for the ECC handler. Signed-off-by: Ralf Baechle commit 3b2396d972ce030e942fef9fcbea1e411b1a62db tree 79b7f214a7aeba507a78a6d6a667c689e6f6e9a6 parent e20368d5dffcfd7a2bc1749627e97e99ec4e6a77 author Maciej W. Rozycki Wed, 22 Jun 2005 20:43:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:29 +0100 Use correct names for bits in the R3k cp0.status register. Signed-off-by: Ralf Baechle commit e20368d5dffcfd7a2bc1749627e97e99ec4e6a77 tree 3fbe6f9e73d15001dc91f0ce9b3c53714252e4e5 parent c6ad7b7d3cd7883810c05fad9d30303cf9368f63 author Ralf Baechle Tue, 21 Jun 2005 13:52:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:28 +0100 Get the thing to compile again ... Signed-off-by: Ralf Baechle commit c6ad7b7d3cd7883810c05fad9d30303cf9368f63 tree b8df8802eb177cac2e4588ea98b86077b076d9b5 parent 8a185d14b665d454bde84c6ae067beade452e7f8 author Maciej W. Rozycki Mon, 20 Jun 2005 13:09:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:28 +0100 Use macros for the RM7k cp0.config bits instead of magic numbers. Minor clean-ups. Signed-off-by: Ralf Baechle commit 8a185d14b665d454bde84c6ae067beade452e7f8 tree 0c132df58f3197f1a80d381f183281f297f28a2f parent 2e2849670a740128307a770dd8b5213c31081cf2 author Maciej W. Rozycki Thu, 16 Jun 2005 20:50:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:27 +0100 Fix types for firmware arguments. Don't define unneeded messages. Signed-off-by: Ralf Baechle commit 2e2849670a740128307a770dd8b5213c31081cf2 tree a56db6adab90db88037186a9e2f47ef2e9c70f51 parent 260c96738cf30f489108cd0fb3f10dcd11cbb5ca author Maciej W. Rozycki Thu, 16 Jun 2005 20:49:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:27 +0100 Remove left-over unused bits. Signed-off-by: Ralf Baechle commit 260c96738cf30f489108cd0fb3f10dcd11cbb5ca tree f9e72b1bf084ad2d38487fa8fc7dae01660dc08e parent 778220f7c4a3357f7464a45044fd4937126ba6c5 author Maciej W. Rozycki Thu, 16 Jun 2005 20:39:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:26 +0100 Mark __die() "noreturn" for real. Signed-off-by: Ralf Baechle commit 778220f7c4a3357f7464a45044fd4937126ba6c5 tree b392f0171f06609d3dabe2f12a4a2eb7373f54ed parent a76f9fe122e0ba6ff95d3a4daa854e761f8a6a76 author Maciej W. Rozycki Thu, 16 Jun 2005 20:37:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:24 +0100 Fix function types to ones appropriate for initcalls. Signed-off-by: Ralf Baechle commit a76f9fe122e0ba6ff95d3a4daa854e761f8a6a76 tree 4a002f0f85f26c12f0741ac4c81d0a7b85b51ac7 parent 3bd4c902da14030c9a780cd0c4be2ffe9aee2974 author Maciej W. Rozycki Thu, 16 Jun 2005 20:35:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:24 +0100 GCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant. Signed-off-by: Ralf Baechle commit 3bd4c902da14030c9a780cd0c4be2ffe9aee2974 tree 3ebf15e8aaa4029119028d32721fd7ccbe59bccf parent 902d21d5313ba08cccadc9fceee2df3cf34e84eb author Maciej W. Rozycki Thu, 16 Jun 2005 20:30:54 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:23 +0100 Deal with the bloody KSEG vs CKSEG horror... Signed-off-by: Ralf Baechle commit 902d21d5313ba08cccadc9fceee2df3cf34e84eb tree eaea806d19e9749794e2e4124b7e08900c982852 parent 02416dcf5a94af34bcd28b4baf25bbbf399d8136 author Maciej W. Rozycki Thu, 16 Jun 2005 20:23:20 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:23 +0100 There is NO port I/O space on the DECstation. Minor clean-ups. Signed-off-by: Ralf Baechle commit 02416dcf5a94af34bcd28b4baf25bbbf399d8136 tree 1906c4266d4e28ef0b13d0579a145603dcbcff1b parent aac8aa7717a23a9bf8740dbfb59755b1d62f04bf author Ralf Baechle Wed, 15 Jun 2005 13:00:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:23 +0100 Redo RM9000 workaround which along with other DSP ASE changes was causing some headache for debuggers knowing about signal frames. Signed-off-by: Ralf Baechle commit aac8aa7717a23a9bf8740dbfb59755b1d62f04bf tree cae373db64607dafc496827c0d2f3b67b91d880f parent fded2e508a1d3c26ab477ab3b98f13274d4359ba author Maciej W. Rozycki Tue, 14 Jun 2005 17:35:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:22 +0100 Enable a suitable ISA for the assembler around ll/sc so that code builds even for processors that don't support the instructions. Plus minor formatting fixes. Signed-off-by: Ralf Baechle commit fded2e508a1d3c26ab477ab3b98f13274d4359ba tree a720d2799e7ea32cb96d664bc55b2aa149b77550 parent d925c262dd8bee2202b0d1b85ce0b332f48dd34b author Maciej W. Rozycki Mon, 13 Jun 2005 20:24:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:22 +0100 Optimize R3k TLB Load/Store/Modified handlers, by scheduling delay slots properly and avoiding an unnecessary jump to a jump. Signed-off-by: Ralf Baechle commit d925c262dd8bee2202b0d1b85ce0b332f48dd34b tree d62cded4387504ff0d4db5e737261f5fd50c1af4 parent 9678e28b1ab931c35567cb15927b8c5e474934c3 author Maciej W. Rozycki Mon, 13 Jun 2005 20:12:01 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:21 +0100 Fill R3k load delay slots properly. Signed-off-by: Ralf Baechle commit 9678e28b1ab931c35567cb15927b8c5e474934c3 tree e017e815b87835f1111e9c1f7bf65beb259c496a parent 15b6e09b66b1e534377dbd6c4d6a5d097062315c author Maciej W. Rozycki Mon, 13 Jun 2005 20:09:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:21 +0100 Only dump instructions actually emitted. Signed-off-by: Ralf Baechle commit 15b6e09b66b1e534377dbd6c4d6a5d097062315c tree 523a0d8230c129c7ba880d346eedabde3ea6fb0a parent 68e4a86c8010d15ec844d06f45cd564631f2fa7e author Maciej W. Rozycki Mon, 13 Jun 2005 19:55:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:20 +0100 dec_esp: Use physical addresses These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle commit 68e4a86c8010d15ec844d06f45cd564631f2fa7e tree 6ccdebd4f547d705853837b49286bc63871dd213 parent a93500037e6cf1d08ce112444386f408a047b548 author Maciej W. Rozycki Mon, 13 Jun 2005 19:53:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:20 +0100 This interrupt is *always* handled -- MIPS_BE_DISCARD just means no further action wanted. Signed-off-by: Ralf Baechle commit a93500037e6cf1d08ce112444386f408a047b548 tree 0d7237b66407eed5cc8aa6547681c188c0fb5b7e parent 478489dd2c94627ca3338368f5e1bcd71639ae00 author Maciej W. Rozycki Mon, 13 Jun 2005 19:50:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:19 +0100 Fix dependencies for DECstation framebuffers. Signed-off-by: Ralf Baechle commit 478489dd2c94627ca3338368f5e1bcd71639ae00 tree 90423130fba1704f3613d11ddf95549dbb2a5da1 parent d5b6f1db5d5a7ba3f2271e5018db7c8c5c4eeea1 author Ralf Baechle Tue, 07 Jun 2005 11:39:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:19 +0100 Remove dead code which was causing warnings. Signed-off-by: Ralf Baechle commit d5b6f1db5d5a7ba3f2271e5018db7c8c5c4eeea1 tree b5d6c33db67287e91f540d81ff34746839c4bde0 parent 81731f79974ffb0a7b4aabd3c3e472f8d46b057c author Maciej W. Rozycki Mon, 06 Jun 2005 16:40:58 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:19 +0100 For MIPS32/MIPS64 cp0.config.mt == 1 implies a standard (R4k-style) TLB, so no need to set it separately for each implementation. Signed-off-by: Ralf Baechle commit 81731f79974ffb0a7b4aabd3c3e472f8d46b057c tree 8561e573d308205ba6c83c9b249e016f827e077c parent ac130ac494522cf71782117b8dd4b6b57e31e5ea author Steven J. Hill Sun, 05 Jun 2005 03:57:20 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:18 +0100 The DbAu1500 board also support big endian. Gee, imagine that. Signed-off-by: Ralf Baechle commit ac130ac494522cf71782117b8dd4b6b57e31e5ea tree d0118012514a51c192203e7b639bb3aa17635d3e parent e50c0a8fa60da9ac0e0a70caa8a3a803815c1f2f author Ralf Baechle Wed, 01 Jun 2005 12:18:30 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:18 +0100 Fix build with CONFIG_PRINTK disabled. Signed-off-by: Ralf Baechle commit e50c0a8fa60da9ac0e0a70caa8a3a803815c1f2f tree 1928e8b0a4b7fb615e5a9f65dc934ba2e74cb9cd parent 10f650db1bcc193ea07d4f8c2f07315da38ea0c4 author Ralf Baechle Tue, 31 May 2005 11:49:19 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:17 +0100 Support the MIPS32 / MIPS64 DSP ASE. Signed-off-by: Ralf Baechle commit 10f650db1bcc193ea07d4f8c2f07315da38ea0c4 tree a6fdabdaa8493efd8d5f14ada3cdbc67f62bfe46 parent ffd099bd33c97db4be698ff8d8733bd6a301f6a3 author Ralf Baechle Wed, 25 May 2005 13:32:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:17 +0100 64-bit fixes for Alchemy code ;) Signed-off-by: Ralf Baechle commit ffd099bd33c97db4be698ff8d8733bd6a301f6a3 tree 20be91a98e93f807e78ff519de76ec112f0866f5 parent 149f60b30c947196be4dacb0fba216d72f51bf9f author Ralf Baechle Thu, 19 May 2005 17:05:09 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:17 +0100 Fix build for CONFIG_BUG=n. Yes, bugs are now a compile time option ;-) Signed-off-by: Ralf Baechle commit 149f60b30c947196be4dacb0fba216d72f51bf9f tree 79b75d50d591379f8160f62c396f0066f9ab2865 parent f8280c8d3d51667015c2363eeaa76b4e28e002a5 author Ralf Baechle Thu, 19 May 2005 14:45:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:16 +0100 When building for Atlas, Malta or SEAD convert the kernel to srecs by default. Signed-off-by: Ralf Baechle commit f8280c8d3d51667015c2363eeaa76b4e28e002a5 tree 91a73a265ea48ef44c7ddbd89c595f9891fd1e17 parent fdb551a4c59945f868b8855e5baf161c9f1c0518 author Ralf Baechle Thu, 19 May 2005 12:08:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:16 +0100 Fix tasteless #ifdef mess in audit_arch(), minor cleanups. Signed-off-by: Ralf Baechle commit fdb551a4c59945f868b8855e5baf161c9f1c0518 tree 6038d4a05ba6ac87008ce83d1295d742919a9c71 parent 629c83f89b943421cd03257e7028a073baa9ca5a author Ralf Baechle Thu, 19 May 2005 12:08:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:15 +0100 Bugs are now a configuration option. Signed-off-by: Ralf Baechle commit 629c83f89b943421cd03257e7028a073baa9ca5a tree 3d9dae8e536601d9b1ef6353ce7fa18e5f3c6e01 parent 4a99d1e25b98c239d6e746af6f79679c413fb712 author Ralf Baechle Thu, 19 May 2005 12:08:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:15 +0100 On MIPS the struct sigev preamble is only 8 bytes. Signed-off-by: Ralf Baechle commit 4a99d1e25b98c239d6e746af6f79679c413fb712 tree 4a68322a855668b767e211cab8804fd6d01e4097 parent baee502ce2048aad5ec56acd24c950083a4697e7 author Ralf Baechle Wed, 11 May 2005 12:02:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:14 +0100 Now that a struct is the only member left in struct mips_fpu_emulator_stats cleanup that unnecessary nesting of structs. Signed-off-by: Ralf Baechle commit baee502ce2048aad5ec56acd24c950083a4697e7 tree 3617f48e1f66bda071caabfc8bf8b861e59e1c21 parent 1d74f6bc85cbdc4601e5aea1e67ccbd259f0c7f4 author Ralf Baechle Wed, 11 May 2005 11:00:36 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:14 +0100 Get rid of the eir struct mips_fpu_emulator_private member. It's never initialized been initialized anywhere, just saved to and restored from signal frames so nonsense anyway. As neat side effect of being shared between all processors it was also abusable as a nice covert channel between processes. Signed-off-by: Ralf Baechle commit 1d74f6bc85cbdc4601e5aea1e67ccbd259f0c7f4 tree e9ffdef4000ab6e45a5d4c9233da0a7a67daf285 parent d547c5cc2186be9d74b0c595dc8059aef56cd445 author Ralf Baechle Mon, 09 May 2005 13:16:07 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:13 +0100 __compute_return_epc() uses CFC1 instruction which might result in a coprocessor unusable exception since the process can lose its fpu context by preemption. Signed-off-by: Ralf Baechle commit d547c5cc2186be9d74b0c595dc8059aef56cd445 tree c8c7ab9d109b4733bd81cb41fbd6e6454d936697 parent b382fe848345fe626b74a559fa89d2d966d03b02 author Maciej W. Rozycki Fri, 06 May 2005 16:28:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:13 +0100 sys_nfsservctl() needs translation. Signed-off-by: Ralf Baechle commit b382fe848345fe626b74a559fa89d2d966d03b02 tree 37218490821a823b85424c7718d18c6910c8a7f3 parent 4194318c3941fa9cfaa63dfdab9054fcae5e08d3 author Ralf Baechle Fri, 06 May 2005 14:31:13 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:13 +0100 No point in checking cpu_has_tlb before we've computed the CPU options. So for now we just unconditionally set the option - Linux wouldn't work without a TLB anyway. Setting MIPS_CPU_4KTLB was missing for Alchemy and Sandcraft, add that back. Signed-off-by: Ralf Baechle commit 4194318c3941fa9cfaa63dfdab9054fcae5e08d3 tree 2b44341a9cb911e34efbb33a35142fd2dcd536ff parent cd21dfcfbb5c43de54f6be795dde07397da2bc2f author Ralf Baechle Thu, 05 May 2005 16:45:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:12 +0100 Cleanup decoding of MIPSxx config registers. Signed-off-by: Ralf Baechle commit cd21dfcfbb5c43de54f6be795dde07397da2bc2f tree ed3a6c46fd6aabac95c99b1e816493fcb5f788f8 parent 63b2d2f4d2073ac3452ce977d27cc81eabaa61a3 author Ralf Baechle Thu, 28 Apr 2005 13:39:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:12 +0100 Fix preemption and SMP problems in the FP emulator code. Signed-off-by: Ralf Baechle commit 63b2d2f4d2073ac3452ce977d27cc81eabaa61a3 tree 821eed26f6eef86263073e01217623bc9f25e44b parent ba5187dbb4b2eac99d6fa1d6bbece67e0066bf51 author Thiemo Seufer Thu, 28 Apr 2005 08:52:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:11 +0100 Handle _PAGE_DIRTY correctly for CONFIG_64BIT_PHYS_ADDR on 32bit CPUs. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit ba5187dbb4b2eac99d6fa1d6bbece67e0066bf51 tree 9a1fa0b0cb6ff1c64c20569c4e6ecdfd3f865bbc parent 7de8d2328767cf4cb463dd3ca70c44985ac835a8 author Thiemo Seufer Mon, 25 Apr 2005 16:36:23 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:11 +0100 Better interface to run uncached cache setup code. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 7de8d2328767cf4cb463dd3ca70c44985ac835a8 tree 83ab0fde188432875e00cd230e9ca417432b2de4 parent 9447cbfc7a95225e9214ccc225c063b305038a34 author Pete Popov Thu, 21 Apr 2005 05:31:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:10 +0100 * use 'unsigned long' as address supplied to au_write[bwl]() * remove two already unused and commented structures * added an ULL suffix to several address constants that use bits 35-32 Signed-off-by: Ralf Baechle commit 9447cbfc7a95225e9214ccc225c063b305038a34 tree 23fa3c2efa1e13355e1e0f728a86d559a85798b4 parent ecba36dad8b635174bcbc32998a019b6d1e6f12f author Ralf Baechle Tue, 19 Apr 2005 12:26:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:09 +0100 Fix D-cache aliasing problem in the PIO IDE driver potencially resulting in the kernel or userspace seeing stale data. Signed-off-by: Ralf Baechle commit ecba36dad8b635174bcbc32998a019b6d1e6f12f tree 004f998b5e8531fc3c0bacef840bf0b8954b1f3c parent 88de09f351e0b38a0991f4abd4ff6691b565d2ef author Ralf Baechle Mon, 18 Apr 2005 14:54:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:09 +0100 Fix a few build warnings. Signed-off-by: Ralf Baechle commit 88de09f351e0b38a0991f4abd4ff6691b565d2ef tree 93ade12f4c18047577f9208bbd2e46ab607851fd parent cce812c99c2169f7d3157b6f7fd38cde9af9c6c6 author Ralf Baechle Mon, 18 Apr 2005 10:40:09 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:08 +0100 Need to include smp.h for the definition of smp_processor_id(). Signed-off-by: Ralf Baechle commit cce812c99c2169f7d3157b6f7fd38cde9af9c6c6 tree 70b4b29d5965ac26f66d958d7b592644fb3afa10 parent b63014ad2dfd137ac38210c7c5cda7ecc3f536d0 author Thiemo Seufer Sun, 17 Apr 2005 00:04:21 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:08 +0100 Ustat needs a wrapper on n32. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit b63014ad2dfd137ac38210c7c5cda7ecc3f536d0 tree 6943cb448f9e9cc8ef8c665f4c87b3842c7fb318 parent 93b25d0621560012ff60a95ae265823b3a5e811a author Ralf Baechle Thu, 14 Apr 2005 15:28:28 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:08 +0100 Move sync into the delay slot here also. Signed-off-by: Ralf Baechle commit 93b25d0621560012ff60a95ae265823b3a5e811a tree 00bdde3580ca767d816fe07bb76bf30fbfacf45f parent 1342f7e6c57f1ee04d27ee8c0c2f929f9803554a author Ralf Baechle Thu, 14 Apr 2005 12:47:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:07 +0100 Useless includes of everything, the kitchen sink and version.h ... Signed-off-by: Ralf Baechle commit 1342f7e6c57f1ee04d27ee8c0c2f929f9803554a tree 3f0d05dfccd77dc7ff833a7db55559ca49c7e325 parent 1fcf1cc742d01f786cda619fd49450b77b09e8c5 author Ralf Baechle Thu, 14 Apr 2005 12:34:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:07 +0100 Arrested for multiple offences of header file inclusion. Signed-off-by: Ralf Baechle commit 1fcf1cc742d01f786cda619fd49450b77b09e8c5 tree 0ae42177bac0a65a0b71c9c66d2591ef32215f21 parent 3c37026d43c47bec4710cbda286f4a17f416f5e6 author Ralf Baechle Wed, 13 Apr 2005 18:18:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:06 +0100 We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, so we need to do the set_fs(KERNEL_DS) thing around this call. Signed-off-by: Ralf Baechle commit 3c37026d43c47bec4710cbda286f4a17f416f5e6 tree 8bf206dc3ee4337ac9839c0e9e26ec4513996670 parent 38551576a35f1b48b6b359470d6e876c5b671ab6 author Ralf Baechle Wed, 13 Apr 2005 17:43:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:06 +0100 NPTL, round one. Signed-off-by: Ralf Baechle commit 38551576a35f1b48b6b359470d6e876c5b671ab6 tree e6082cd017c9c532f259a77855f9d101e0eaf87d parent f03da6e28ea2d20f1a8451869fd1c9ea9935022b author Ralf Baechle Wed, 13 Apr 2005 17:36:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:05 +0100 Build fix for certain configurations. Signed-off-by: Ralf Baechle commit f03da6e28ea2d20f1a8451869fd1c9ea9935022b tree 09a2e8041c2d4e1dcf9d35990caef9677db12218 parent 589391a0fe229573439994b3be2cc9377722cf3d author Ralf Baechle Wed, 13 Apr 2005 13:37:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:05 +0100 Fix BogoMIPS display on UP and some minor cosmetical things. Signed-off-by: Ralf Baechle commit 589391a0fe229573439994b3be2cc9377722cf3d tree 1dccd44555ba6d47f8981c83e0a2c99164d83b04 parent 05b8042ac6d35383c2fcc171ed932426c4e09ed1 author Thiemo Seufer Wed, 13 Apr 2005 09:11:22 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:04 +0100 fcntl64 needs to be wrapped for n32. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 05b8042ac6d35383c2fcc171ed932426c4e09ed1 tree 39d056bbbd8c1658d227ea9973098847768c14ff parent 6dd04688520d7abe4883b2a79fa720291d76b140 author Ralf Baechle Tue, 12 Apr 2005 20:26:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:04 +0100 Fix one more case of computing the return EPC after the registers have already been modified. Signed-off-by: Ralf Baechle commit 6dd04688520d7abe4883b2a79fa720291d76b140 tree 4d64b3bcad2b840ea6b8586ad018ea4077671c69 parent ac5d8c022f91d790888cc8c627b8010d3c31a300 author Ralf Baechle Tue, 12 Apr 2005 11:04:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:04 +0100 When simulating ll/sc compute the return EPC before modifying the registers. Signed-off-by: Ralf Baechle commit ac5d8c022f91d790888cc8c627b8010d3c31a300 tree df575caf4a8020150b8d1be11c41327f888edcf4 parent 2b07bd0235ca51816e4e43cb6781973358553a1b author Thiemo Seufer Mon, 11 Apr 2005 12:24:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:03 +0100 Use fixed up pfn. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 2b07bd0235ca51816e4e43cb6781973358553a1b tree 91ca54b4880c91320d30e66b487274aa01c0b907 parent fe359bf58414478a0ddbd65923e2f1aceedf330f author Ralf Baechle Fri, 08 Apr 2005 20:36:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:03 +0100 Detect the 4KEcR2 and for now detect handle it like the 4KEc. Signed-off-by: Ralf Baechle commit fe359bf58414478a0ddbd65923e2f1aceedf330f tree f40b1bffd5a974242dd3ee19872daaa9056ba900 parent 494900af689a22479eb405ff1323cad673bd9208 author Pete Popov Fri, 08 Apr 2005 08:34:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:02 +0100 Fixed buglet with previous patch that broke non au1x builds. Signed-off-by: Ralf Baechle commit 494900af689a22479eb405ff1323cad673bd9208 tree c4c50f2874f48679fd476a50e8866db2ce4696d3 parent 3b495f2bb749b828499135743b9ddec46e34fda8 author Pete Popov Thu, 07 Apr 2005 00:42:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:02 +0100 Remove CONFIG_PM dependency from au1x wait in cpu_probe. Additional work necessary to completely remove that config option. Signed-off-by: Ralf Baechle commit 3b495f2bb749b828499135743b9ddec46e34fda8 tree 5f787ed9829ef01a457428114ccd3547cf6c88da parent 172546bf601356f94f8018af7908a9b7c1c4915c author Pete Popov Mon, 04 Apr 2005 01:06:19 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:01 +0100 Au1100 FB driver uplift for 2.6. Signed-off-by: Ralf Baechle Acked-by: Antonino Daplas commit 172546bf601356f94f8018af7908a9b7c1c4915c tree 3b0d93bc5caf6014ef5554b05cad8b41b7c83b94 parent 202d0388e747d7e9b70fc0efc2a5637812b722c1 author Thiemo Seufer Sat, 02 Apr 2005 10:21:56 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:01 +0100 Fix race conditions for read_c0_entryhi. Remove broken ASID masks in tlb-sb1.c. Make tlb-r4k.c and tlb-sb1.c more similiar and more efficient. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 202d0388e747d7e9b70fc0efc2a5637812b722c1 tree e584618abf815adac8de0c4951bc1058cc3c9c44 parent 1b3a6e975cbe81c5abc55e4c1b9f5b5250c5f20e author Maciej W. Rozycki Fri, 01 Apr 2005 17:53:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:00 +0100 Remove useless casts. Fix formatting. Signed-off-by: Ralf Baechle commit 1b3a6e975cbe81c5abc55e4c1b9f5b5250c5f20e tree 541db3912172f82d30244cf215b1a1b91d8c6f7f parent 7c2740f1c1a7ff2767a92042f39edad7fad95c92 author Thiemo Seufer Fri, 01 Apr 2005 14:07:13 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:00 +0100 Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMP TLB handlers a bit, match definitions in pgtable-{32,64}.h better. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 7c2740f1c1a7ff2767a92042f39edad7fad95c92 tree 3401fe3986258b7f5377f732ccac1b2f35e50583 parent 4f12bfe5a498747a9a66f135a67aa8e1caa819dc author Ralf Baechle Mon, 21 Mar 2005 19:35:53 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:59 +0100 HUB interrupts are allocated per node, not per slice. Make manipulation of the interrupt mask register atomic by disabling interrupts. Signed-off-by: Ralf Baechle commit 4f12bfe5a498747a9a66f135a67aa8e1caa819dc tree f358bd77f56b4014c1e5a9b5804995fd521c7853 parent 6cbe0631591ca45177d52364dec81cdfba19fec0 author Ralf Baechle Mon, 21 Mar 2005 18:59:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:59 +0100 HUB interrupts are allocated per node, not per slice. Make manipulation of the interrupt mask register atomic by disabling interrupts. Signed-off-by: Ralf Baechle commit 6cbe0631591ca45177d52364dec81cdfba19fec0 tree 8eb8e3cff99a68108ec55579cb97611cf26562c4 parent 209ac8ddb16f5aea115bbcfd34dab110c28b9f56 author Ralf Baechle Sun, 20 Mar 2005 22:57:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:59 +0100 R4300 delay slot. Signed-off-by: Ralf Baechle commit 209ac8ddb16f5aea115bbcfd34dab110c28b9f56 tree ca80968fb25e6af7cc55499bed0c9344402a4e75 parent 127c6f662348cbf2b1c09e6fc2748af316f7d2d6 author Ralf Baechle Fri, 18 Mar 2005 17:36:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:58 +0100 Use compat_sigval_t in struct compat_siginfo. Signed-off-by: Ralf Baechle commit 127c6f662348cbf2b1c09e6fc2748af316f7d2d6 tree 9e6b394e9987b933707856422879922016532533 parent 53de0d471fe8ddbbeca938cffedb4cc94e04da10 author Ralf Baechle Fri, 18 Mar 2005 17:36:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:58 +0100 SECCOMP for MIPS. Signed-off-by: Ralf Baechle commit 53de0d471fe8ddbbeca938cffedb4cc94e04da10 tree 1bf55f2b45acbe7d5ca448fb3c8324eeb855ebdf parent 1592dac2410511d24836e18d416b1d02c678322b author Ralf Baechle Fri, 18 Mar 2005 17:36:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:57 +0100 Reformat; cosmetic cleanups. Signed-off-by: Ralf Baechle commit 1592dac2410511d24836e18d416b1d02c678322b tree 2cd73f3693b3c3c8df895459690f2a02c4653803 parent b4dbf95e3080cf43a27cc324bfa0975f88174d07 author Ralf Baechle Thu, 17 Mar 2005 21:50:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:57 +0100 Reformatting, remove debugging code. Signed-off-by: Ralf Baechle commit b4dbf95e3080cf43a27cc324bfa0975f88174d07 tree b6b8faa75c72e5f17a18c04a919c6b36647d03fe parent 71e0e556db08cc20de76d510be5600f6e5ce143c author Ralf Baechle Wed, 16 Mar 2005 10:23:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:57 +0100 Get rid of the the remains of 2.4-style ramdisk support. Signed-off-by: Ralf Baechle commit 71e0e556db08cc20de76d510be5600f6e5ce143c tree da5afa71e99ad20dd08b10a9ed25624c3d64929f parent a3701ca48763bbc681ee8db3d203827975849185 author Ralf Baechle Mon, 14 Mar 2005 10:16:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:56 +0100 Multithreaded core dumps. Signed-off-by: Ralf Baechle commit a3701ca48763bbc681ee8db3d203827975849185 tree 9677ce80fb2dd3db49394665ddd1ca4f3bf8f2d5 parent 90a67b5909ed39425fd2402b2b4c46ef1372b300 author Pete Popov Sun, 13 Mar 2005 08:19:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:56 +0100 When CONFIG_PM is enabled, it uses the TOY_MATCH2 interrupt as the system timer tick. Prior to this patch, if IDE IRQ probing occured, then the TOY_MATCH2 interrupt would be permanently disabled, and no system timer tick occurs. This patch corrects this situation by correctly registering the TOY_MATCH2 interrupt so that IDE IRQ probing doesn't have adverse side effects. Signed-off-by: Ralf Baechle commit 90a67b5909ed39425fd2402b2b4c46ef1372b300 tree 4ed546e786e43b50a265cda79d2c786f7c0f0b1e parent 96ed748d9da03d091799f8107fce27d218fd8f5c author Thiemo Seufer Sun, 13 Mar 2005 00:07:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:55 +0100 sys_futex has 6 arguments. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 96ed748d9da03d091799f8107fce27d218fd8f5c tree f40933f65fc79f4a0e9d2aac28581e044dd77a3d parent 9ff77c469ed16221c6a4e882e48e4f0dcf451bda author Ralf Baechle Thu, 10 Mar 2005 17:34:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:55 +0100 qtronix.c: Handle kmalloc failure. Signed-off-by: Ralf Baechle commit 9ff77c469ed16221c6a4e882e48e4f0dcf451bda tree d4d9e38471665c1521360032e3c8912e99d8ed0d parent 07b4ebd372139eb64a2898f17f2cc387b22feba8 author Ralf Baechle Tue, 08 Mar 2005 14:39:39 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:54 +0100 Export shm_align_mask and flush_data_cache_page. Signed-off-by: Ralf Baechle commit 07b4ebd372139eb64a2898f17f2cc387b22feba8 tree fbfb6161385f872ca293b01489a83177939f1627 parent 6d7bf017e821f3c093c80d1ee919d8d87904701c author Ralf Baechle Mon, 07 Mar 2005 15:40:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:54 +0100 Put salone.o back into arclib. It's a lib so doesn't harm if unused atm. Signed-off-by: Ralf Baechle commit 6d7bf017e821f3c093c80d1ee919d8d87904701c tree 0dcb8e3aa23f26f4a05216375cb4aa7236af20d4 parent 77c728c2240a1eb45f7d355f5d87ecc319cd55ce author Thiemo Seufer Fri, 04 Mar 2005 19:40:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:53 +0100 It helps to not use a _mem_ function for requesting I/O space. Signed-off-by: Ralf Baechle Signed-off-by: Ralf Baechle commit 77c728c2240a1eb45f7d355f5d87ecc319cd55ce tree 5e8abf2eceba4beaaca4aefa875be96aecb649b4 parent 5eaf7a21be3f7f81573cf26541b8f9cc786fb67d author Ralf Baechle Fri, 04 Mar 2005 19:36:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:53 +0100 Gcc 4.0 fixes. Signed-off-by: Ralf Baechle commit 5eaf7a21be3f7f81573cf26541b8f9cc786fb67d tree 2eede7e8e7df55c4b9c45eb94388b2a2f060c94d parent cdaed73afb61913ee5115aa38b0c35ecb0513f50 author Ralf Baechle Fri, 04 Mar 2005 17:24:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:52 +0100 Use new txx9 serial driver. Signed-off-by: Ralf Baechle commit cdaed73afb61913ee5115aa38b0c35ecb0513f50 tree 5470e1535229e926fc46b27a51f0ff851afa3ca3 parent ebc7f12fbc6a2d2df1930b91b380c9defb48cbf3 author Ralf Baechle Fri, 04 Mar 2005 12:35:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:51 +0100 Fix preemption bug. Signed-off-by: Ralf Baechle commit ebc7f12fbc6a2d2df1930b91b380c9defb48cbf3 tree f94e8050f2beda1f99ef476558fb9c56c1a647e8 parent 88d535b6b58632bc51ee9a1f35ddfc357e365c37 author Pete Popov Fri, 04 Mar 2005 08:31:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:51 +0100 Int controller fixes. Signed-off-by: Ralf Baechle commit 88d535b6b58632bc51ee9a1f35ddfc357e365c37 tree 4b828339622e86b4809772120b2357239ef3c676 parent fe00f943e0ef98b4057abcc2940d631a975b43cd author Ralf Baechle Wed, 02 Mar 2005 19:18:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:50 +0100 One definition of back_to_back_c0_hazard too much. Signed-off-by: Ralf Baechle commit fe00f943e0ef98b4057abcc2940d631a975b43cd tree c036ab8269ac86485130a083330229a01d319557 parent 14f18b7f7e58de9a34c4b5fd38d5f73f22fba7ac author Ralf Baechle Tue, 01 Mar 2005 19:22:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:50 +0100 Sparseify MIPS. Signed-off-by: Ralf Baechle commit 14f18b7f7e58de9a34c4b5fd38d5f73f22fba7ac tree dd4acaac38b4a238349fc0ef785bb84152fb1942 parent 5068debff2dcbc8f624811e3c06d60c7c0bba744 author Ralf Baechle Tue, 01 Mar 2005 18:15:08 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:49 +0100 On 24K we did always disable cache parity protection - obviously not the greatest thing to do. Try to enable parity protection, check if we actually succeeded and print a message about the outcome of this. Signed-off-by: Ralf Baechle commit 5068debff2dcbc8f624811e3c06d60c7c0bba744 tree 3d3a2ceceb91e6d5e9af7d28dfb4ddeed270c704 parent 0f04afb59565c3029563b9a79b3513c9f3327a27 author Ralf Baechle Tue, 01 Mar 2005 18:12:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:49 +0100 New hazard handling function back_to_back_c0_hazard() to handle back to back mtc0 / mfc0 pairs from the same coprocessor register. Signed-off-by: Ralf Baechle commit 0f04afb59565c3029563b9a79b3513c9f3327a27 tree 36298347f5f44600560a525c537172b230b326a9 parent 2d32ffa44a5323fda147bd5b0723744a9163e37f author Ralf Baechle Tue, 01 Mar 2005 10:38:58 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:48 +0100 ISOify. Signed-off-by: Ralf Baechle commit 2d32ffa44a5323fda147bd5b0723744a9163e37f tree 0c80197e0430fbd818a5b79e7098a9e060e0569a parent e3ad1c23ba72214669b364c6fa304531dc768c3e author Pete Popov Tue, 01 Mar 2005 07:54:50 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:48 +0100 Moved irq_tab_alchemy to the board specific irqmap.c files. Cleaned up a to of warnings in dbdma.c. Signed-off-by: Ralf Baechle commit e3ad1c23ba72214669b364c6fa304531dc768c3e tree bc1e0004d3df66b4c37a2deb8d89431657039719 parent 784f7b9d895893c6aa3ca471c1344a62fc29c285 author Pete Popov Tue, 01 Mar 2005 06:33:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:47 +0100 Base Au1200 2.6 support. Signed-off-by: Ralf Baechle commit 784f7b9d895893c6aa3ca471c1344a62fc29c285 tree 6a1be4fbbd1ed4b0df09e18878b01d43124e0622 parent 333d1f6794b341df11f286f5dca123c6dc64a770 author Steven J. Hill Tue, 01 Mar 2005 03:51:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:47 +0100 Fix 'prctl' system call for IRIX. At this point IRIX 5.3 static binaries are now working for 80% of the ones I have tried. The other ones that do not work all fail in the same way with the same messages. Once that bug is tracked down, we should be in good shape. Task locking still needs some work. Signed-off-by: Ralf Baechle commit 333d1f6794b341df11f286f5dca123c6dc64a770 tree 65218399e74b00d17e1b86b2086d781866028d85 parent 0bd5d2e9ec8cc04a0225c590d35dd097e6b3a3f6 author Ralf Baechle Mon, 28 Feb 2005 17:55:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:46 +0100 Gross macro abuse. Get rid of gpreg_t, vaddr_t, REG_TO_VA and VA_TO_REG. Who ever wrote this apparently did enjoy the C Puzzle Book. ISBN 0201604612, a little old but still fun reading for the next blackout ;) Signed-off-by: Ralf Baechle commit 0bd5d2e9ec8cc04a0225c590d35dd097e6b3a3f6 tree dc34e1689ce06c9fef80511cdfc7ad6196dcc02b parent 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 author Ralf Baechle Mon, 28 Feb 2005 17:29:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:46 +0100 Cleanup fpuemuprivate declarations. Signed-off-by: Ralf Baechle commit 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 tree 0893140cd9b2c80198950f3cd1b8053f951ca729 parent d437441ef5336874e934bd53a03159a584efe95a author Ralf Baechle Mon, 28 Feb 2005 13:39:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:46 +0100 Convert struct hw_interrupt_type initializations to ISO C99 named initializers. Signed-off-by: Ralf Baechle commit d437441ef5336874e934bd53a03159a584efe95a tree 1b1b83454186d47cb42016fde654be2a09917b6a parent 13d1d73ea57e7e012bc131ce0f945231087e8c8b author Pete Popov Mon, 28 Feb 2005 05:15:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:45 +0100 No barrier needed on au1x. Signed-off-by: Ralf Baechle commit 13d1d73ea57e7e012bc131ce0f945231087e8c8b tree 130ca7efcc8f3a18c8f17b6a03e7b7e3cdfe6a5e parent 685f779e6046e18b6190d2fbc9ef22e6b81c196e author Pete Popov Sun, 27 Feb 2005 22:15:24 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:44 +0100 Comment correction after further investigation of issue. Signed-off-by: Ralf Baechle commit 685f779e6046e18b6190d2fbc9ef22e6b81c196e tree 978841c573762dd434ffee8288cf07d659e4d972 parent 65bda1a95d395c256818d1d8129487a4497b29d8 author Thiemo Seufer Fri, 25 Feb 2005 13:11:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:44 +0100 Fix initialization. Unbreak the wait-for-completion loops. Code cleanup. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 65bda1a95d395c256818d1d8129487a4497b29d8 tree 57bea8a2593b17b987cbc188ecf07c341fda5dbc parent 4912ba72d6e27d0f19ec062ffd00a8c0165a2f67 author Maciej W. Rozycki Tue, 22 Feb 2005 21:51:30 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:44 +0100 Switch SiByte drivers back to __raw_*() functions. Signed-off-by: Ralf Baechle commit 4912ba72d6e27d0f19ec062ffd00a8c0165a2f67 tree 6d72de32927d245e31e63013566807a24ae0ec12 parent b727a60258730b331519fedda503a8da78638791 author Maciej W. Rozycki Tue, 22 Feb 2005 21:49:17 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:43 +0100 Define mem_*() I/O accessory functions that preserve byte addresses. Add missing ____raw_*q() functions. Signed-off-by: Ralf Baechle commit b727a60258730b331519fedda503a8da78638791 tree aaf081d988fbc67ce5038f3a5613483ce805e740 parent 0ac354801a879181471331c5b9be021bf5b9d515 author Ralf Baechle Tue, 22 Feb 2005 21:18:01 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:43 +0100 Merge do_boot_cpu() into the new style __cpu_up(). Signed-off-by: Ralf Baechle commit 0ac354801a879181471331c5b9be021bf5b9d515 tree 62e7f45e8167a86fd6accfb3a05b558a10508f0d parent 1f82bdb11ba141b3a1d37ac8c307686d56544cfe author Ralf Baechle Mon, 21 Feb 2005 21:34:24 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:42 +0100 On multiprocessor systems the BogoMIPS for each CPU was reported was the value for the last CPU having calibrated it's delay loop. Signed-off-by: Ralf Baechle commit 1f82bdb11ba141b3a1d37ac8c307686d56544cfe tree 168051db3e2ae039644f8d564d017f175ba065ab parent c4ed38a0c6e2e5c4906296758f816ee71373792f author Ralf Baechle Mon, 21 Feb 2005 19:50:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:42 +0100 Define MAP_BASE for IP27 Signed-off-by: Ralf Baechle commit c4ed38a0c6e2e5c4906296758f816ee71373792f tree 65ebab9ca61ea6d03109c53acd2989b626dce52a parent 049b13c358f0187cf3c5003d5fb9848dbcb28bc3 author Ralf Baechle Mon, 21 Feb 2005 16:18:36 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:42 +0100 Resurrect Cobalt support for 2.6. Signed-off-by: Ralf Baechle commit 049b13c358f0187cf3c5003d5fb9848dbcb28bc3 tree f37a46c080ae49ca932ca23ba33f44a80aca688a parent 9f83d839dfd2dbe421224c29f02cef77f5b4b875 author Thiemo Seufer Mon, 21 Feb 2005 11:44:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:41 +0100 Enable/disable irq's only if needed. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 9f83d839dfd2dbe421224c29f02cef77f5b4b875 tree f172c9902fef344fd8b55a54e36f761999dcdcf0 parent f29244a59460a62f20885e1e3b55a845fb5a8fdb author Thiemo Seufer Mon, 21 Feb 2005 11:22:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:41 +0100 -nostdlib boilerplate. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit f29244a59460a62f20885e1e3b55a845fb5a8fdb tree 1a70946919172b93a61bd690223aee4ba48be8c6 parent dc953df1ba5526814982676f47580c8e1bcdbfeb author Thiemo Seufer Mon, 21 Feb 2005 11:11:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:40 +0100 Fix compilation, and bring 32/64 bit variants more in line. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit dc953df1ba5526814982676f47580c8e1bcdbfeb tree 83adba634d22f0788edbd944586b6f2d2a95bde7 parent 4e6a05fe5f87efd58da16fbf61e1f6329575fcfd author Thiemo Seufer Mon, 21 Feb 2005 10:55:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:40 +0100 Fix wchan implementation, based on earlier by from Atsushi Nemoto. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 4e6a05fe5f87efd58da16fbf61e1f6329575fcfd tree ed16ed0f4f0307373bba6f83e91fc6495add020b parent 7ee8798f3756fc473e63abeba56fae3e192ce71f author Thiemo Seufer Mon, 21 Feb 2005 10:45:09 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:39 +0100 Improved modules loader, more robust and works on 64bit kernels. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 7ee8798f3756fc473e63abeba56fae3e192ce71f tree 0aa88cef08a4feb76b961615bf9673893f46d435 parent dd193261482ac235f08836750d22689fd55c5ca0 author Steven J. Hill Sat, 19 Feb 2005 16:15:54 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:39 +0100 Until I figure out why NFS filesystems are having problems with the 'load_irix_binary' and having kernel faults, Irix support is disabled. I suspect locking of some sort, but I will now have to investigate further. Static IRIX binaries are now being detected properly and are using the ELF interpreter found in this file. Signed-off-by: Steven J. Hill Signed-off-by: Ralf Baechle commit dd193261482ac235f08836750d22689fd55c5ca0 tree 15b983006f4a949ff32bc8099cfc7260cdfa596d parent 16033d6104f1704bea19ca2684b1c97731479048 author Thiemo Seufer Sat, 19 Feb 2005 13:58:37 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:39 +0100 Initialize iomem_resource. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 16033d6104f1704bea19ca2684b1c97731479048 tree 461db824df87dd814ad1f51e899dc26e4b4dd93c parent 26a51b270f6d87674b713705ba9533440ca41b6c author Thiemo Seufer Sat, 19 Feb 2005 13:56:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:38 +0100 Handle addresses beyond VMALLOC_END correctly. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 26a51b270f6d87674b713705ba9533440ca41b6c tree e9ea5b928cf639000c5e6429e556ddd10260bf15 parent 1ba582a1285d534928d68c9d67d8fb63da9abbd1 author Thiemo Seufer Sat, 19 Feb 2005 13:32:02 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:38 +0100 Use intermediate variable. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 1ba582a1285d534928d68c9d67d8fb63da9abbd1 tree b614aeede7c2f44261ea6e5044ea62e767c9b617 parent d8f5d861789ff23b5d87c081f458aaa7f3c6cdcd author Thiemo Seufer Sat, 19 Feb 2005 13:27:41 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:37 +0100 O2 doesn't have _that_ much RAM. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit d8f5d861789ff23b5d87c081f458aaa7f3c6cdcd tree ab88642c86a3dff42066e7944caa496ed2cb8e17 parent d1abb6a2b8b57fa14ae0f69d4a3cb07ff9cdb8d1 author Pete Popov Fri, 18 Feb 2005 06:27:25 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:37 +0100 Changed all Au1x boards to noncoherent again. Signed-off-by: Ralf Baechle commit d1abb6a2b8b57fa14ae0f69d4a3cb07ff9cdb8d1 tree 9bb086547b131b55dfaef22a7592f9d66a5db150 parent a982099ca5465dd848d8ae28a83a3e49ac7b612b author Ralf Baechle Wed, 16 Feb 2005 21:25:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:37 +0100 32-bit compatibility for various timer-related system calls. Signed-off-by: Ralf Baechle commit a982099ca5465dd848d8ae28a83a3e49ac7b612b tree f2f372fbf2c07d83bfaa325638468c99e61f3807 parent 09276d905ef7498212ef69d5c324d027dc405896 author Ralf Baechle Wed, 16 Feb 2005 21:24:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:36 +0100 Update to match the native siginfo structure and code. Signed-off-by: Ralf Baechle commit 09276d905ef7498212ef69d5c324d027dc405896 tree 85e0d4a506e1ed1cb0f5c908e6ec41b2fdd1a01c parent 54f2da755b7f0bf022ea204240cba824af4d80ad author Ralf Baechle Wed, 16 Feb 2005 21:22:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:36 +0100 32-bit compatibility for ptrace GETEVENTMSG operation. Signed-off-by: Ralf Baechle commit 54f2da755b7f0bf022ea204240cba824af4d80ad tree 06c6a800c1023cab23566f33fccb05d9f1de9e73 parent a19050f301c55313826a649943d492c65f977479 author Ralf Baechle Wed, 16 Feb 2005 21:21:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:35 +0100 Implement 32-bit compatibility for waitid(2). Signed-off-by: Ralf Baechle commit a19050f301c55313826a649943d492c65f977479 tree 7ee8a1da3734d24db5980dfb17cf5018d8f8871a parent b6e203d84da8298b903a0ebcad1a8170f3959b4f author Ralf Baechle Wed, 16 Feb 2005 21:19:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:34 +0100 Waitid(2) now has 5 arguments. Signed-off-by: Ralf Baechle commit b6e203d84da8298b903a0ebcad1a8170f3959b4f tree d8972816c700aff00ea3fcacf64e188705c63ddb parent a4f23e3dfc0931b988f70e38a876bc760400af7b author Ralf Baechle Wed, 16 Feb 2005 21:18:52 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:34 +0100 Use generic compat_sys_wait4 to implement 32-bit wait4(2). Signed-off-by: Ralf Baechle commit a4f23e3dfc0931b988f70e38a876bc760400af7b tree b36ee14080f451b375f516d0954e5fa8461dc16a parent 39408c6af4457a5dafaa0394932229a8f498a871 author Ralf Baechle Wed, 16 Feb 2005 20:15:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:34 +0100 Allocate break code 513 to KDB. Signed-off-by: Ralf Baechle commit 39408c6af4457a5dafaa0394932229a8f498a871 tree 2925dbdffca3bfc37e70831f430bce14041aca8b parent ca8a597d53e2ef10a005fb38e8de778aa2246035 author Ralf Baechle Sun, 13 Feb 2005 23:10:08 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:33 +0100 Replace the complicated and broken attempt to clean interrupt by something simple - doesn't need to be fast, after all. Signed-off-by: Ralf Baechle commit ca8a597d53e2ef10a005fb38e8de778aa2246035 tree 6e453969c2d6e9c4bfae34cd641ff7f25f6a01c6 parent de1db6ffe2d802460b7e9f2c1e354066e000d6e6 author Ralf Baechle Sun, 13 Feb 2005 21:31:24 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:33 +0100 If you want RM7000 better fix it to build first ... Signed-off-by: Ralf Baechle commit de1db6ffe2d802460b7e9f2c1e354066e000d6e6 tree c5df61f134ed94dd48b3624ffecd8d7f02a22caf parent 85b6e8184b798d06c854463cdd6c63dd1d4ff47c author Ralf Baechle Sun, 13 Feb 2005 18:53:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:32 +0100 It's unwise to disable all interrupts of the boot node ;-) Signed-off-by: Ralf Baechle commit 85b6e8184b798d06c854463cdd6c63dd1d4ff47c tree 0b8a31d1843182ea38bdaa2fe69701f21382db2f parent f4b7cdb4814e9ad1ec662bad5fccc4d37bcc6d4c author Ralf Baechle Sun, 13 Feb 2005 00:32:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:32 +0100 Rewrite to avoid the use of $at. Unfortunately binutils 2.15 and CVS binutils are broken and don't warn about this use of $at even though gas is in .set noat mode so this for now is an accident waiting to happen. Signed-off-by: Ralf Baechle commit f4b7cdb4814e9ad1ec662bad5fccc4d37bcc6d4c tree e86e41686eb2c6bb2b8e2585ea21191a12dfd220 parent 79acf83e509dd0ca3db6c747bf58931984abc6e3 author Maciej W. Rozycki Sat, 12 Feb 2005 04:31:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:32 +0100 Enable RM7000 secondary cache for Atlas and Malta boards. Signed-off-by: Ralf Baechle commit 79acf83e509dd0ca3db6c747bf58931984abc6e3 tree 2c554b18a2e721e387959bbc3212ae72c57298f1 parent c6e8b587718c486b55c2ebecc6de231a30beba35 author Ralf Baechle Thu, 10 Feb 2005 13:54:37 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:31 +0100 Moves a test which determines if we actually need to perform a cacheflush to the right place. That's a bug which is harmless on UP but a severe bug on SMP. Signed-off-by: Ralf Baechle commit c6e8b587718c486b55c2ebecc6de231a30beba35 tree 7c6162d449c69fb6425bd27ba341e2d874fb0a1b parent 57f0060b8a2bb2a70a4cce1a37d5e0158cea92a6 author Ralf Baechle Thu, 10 Feb 2005 12:19:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:31 +0100 Update MIPS to use the 4-level pagetable code thereby getting rid of the compacrapability headers. Signed-off-by: Ralf Baechle commit 57f0060b8a2bb2a70a4cce1a37d5e0158cea92a6 tree f2cca6d9bc63b4f180739e9f2a86db0f0e2d7d86 parent 26852d5cdb2bac01f2a48b815194a045e8a8e300 author Ralf Baechle Thu, 10 Feb 2005 12:00:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:30 +0100 Document why calling smp_call_function will deadlock when called with interrupts disabled. Signed-off-by: Ralf Baechle commit 26852d5cdb2bac01f2a48b815194a045e8a8e300 tree 2a70644d2ddd04d24b92dc272b87bd235a19f5e7 parent 505403b6a02aefc47c038acf56b719497b720012 author Ralf Baechle Wed, 09 Feb 2005 12:59:39 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:29 +0100 Fix ptrace aliasing issue in copy_from_user_page / copy_to_user_page. Signed-off-by: Ralf Baechle commit 505403b6a02aefc47c038acf56b719497b720012 tree f05cc60f3b92df1c67d2f3853597a8df69a165dd parent 55a6feb671885d3a1758dad20b53224a038349bc author Ralf Baechle Mon, 07 Feb 2005 21:53:39 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:29 +0100 25Kf is also physically indexed. Signed-off-by: Ralf Baechle commit 55a6feb671885d3a1758dad20b53224a038349bc tree f6660dec8df70e75f8cc63a0bfce5aa50ce079a8 parent a95970f323a273230b36d23da1426f8acc5e25c0 author Ralf Baechle Mon, 07 Feb 2005 21:52:35 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:29 +0100 Add a few more PrId vendor IDs. Signed-off-by: Ralf Baechle commit a95970f323a273230b36d23da1426f8acc5e25c0 tree 365b6d9f99c9e8c09d6288c8d8234351b1935575 parent 84fd089a425f055ecf4a6a72f2509ccb98314b8f author Ralf Baechle Mon, 07 Feb 2005 21:41:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:28 +0100 20Kc and SB1 don't suffer from aliases. Signed-off-by: Ralf Baechle commit 84fd089a425f055ecf4a6a72f2509ccb98314b8f tree 36f2f224adac024bfa2569911da9d9200b3f5ad8 parent cc26b815ddde4168cd853be9e62ecacd392e3f64 author Ralf Baechle Mon, 07 Feb 2005 16:13:07 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:28 +0100 Delete duplicate copy of fixrange_init. Signed-off-by: Ralf Baechle commit cc26b815ddde4168cd853be9e62ecacd392e3f64 tree 72d45edbdd11df91142c7f6a96666097130c463b parent a18815abcdfd9f10a6ce6fbec3ad1af1ae101ce7 author Ralf Baechle Mon, 07 Feb 2005 12:14:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:27 +0100 rm9000_init() really is __init code. Signed-off-by: Ralf Baechle commit a18815abcdfd9f10a6ce6fbec3ad1af1ae101ce7 tree 9be4382c2fefbcde7f47335c77d80a24a65f29e0 parent 54176736f734ca3a1f27416d8e5804981a627076 author Ralf Baechle Mon, 07 Feb 2005 02:54:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:27 +0100 Use preempt_schedule_irq. Signed-off-by: Ralf Baechle commit 54176736f734ca3a1f27416d8e5804981a627076 tree c304751efa231b2bb8a81eca4f399c122f3cf9fe parent 29c4869946f9182f5d5f76502ac5a4a71b3b3e62 author Ralf Baechle Mon, 07 Feb 2005 02:54:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:27 +0100 More oprofile bits for MIPS32-style performance counters. The code to bolt this into the actual hardware interrupt is yet missing from this commit. Signed-off-by: Ralf Baechle FEXPORT(ret_from_fork) commit 29c4869946f9182f5d5f76502ac5a4a71b3b3e62 tree 0b3781261e1d18fff5fe46054a0e8c2f86c9d4c8 parent ae6aafe30917c4c9f3533471d491b5e7c2fbe61a author Ralf Baechle Mon, 07 Feb 2005 01:27:14 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:26 +0100 It works better when including arch/mips/sgi-ip27/Kconfig ... Signed-off-by: Ralf Baechle commit ae6aafe30917c4c9f3533471d491b5e7c2fbe61a tree ae1a7c88853a2f9d982db41f80f7235ce37b4f50 parent 0efe27617e67448dfe78e7cebde3a6f9eadf1223 author Ralf Baechle Sun, 06 Feb 2005 21:55:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:26 +0100 Move missplaced code line to the right place. Signed-off-by: Ralf Baechle commit 0efe27617e67448dfe78e7cebde3a6f9eadf1223 tree 858293ddf2a2e93da4186003ba7de016a073656f parent d1e344e500cc693139a69d29122db18190916448 author Ralf Baechle Sun, 06 Feb 2005 21:24:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:25 +0100 Provide functions to access cop0 config4-7 registers Signed-off-by: Ralf Baechle commit d1e344e500cc693139a69d29122db18190916448 tree 8501c79592d6ca06ce58a0ec34375cdb0c1ade34 parent 28ecca4786bd8af209ae65689faa6aeea80adba2 author Ralf Baechle Fri, 04 Feb 2005 15:51:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:25 +0100 Use hardware mechanism to deal with cache aliases in the 24K. Signed-off-by: Ralf Baechle commit 28ecca4786bd8af209ae65689faa6aeea80adba2 tree 9a74856c8a4fcdf4568e81952e6ae0af2256a75c parent ea7c394492cb56ff0c10ad327157f237d5bbe6b4 author Ralf Baechle Fri, 04 Feb 2005 15:19:01 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:25 +0100 Remove old wrong bits of cache code. Signed-off-by: Ralf Baechle commit ea7c394492cb56ff0c10ad327157f237d5bbe6b4 tree 857e7f8e421b8c5801b68d9f4de211bb2f1096e3 parent 925ddb04c5eee5668e7229c71580d458ed61eb9b author Maciej W. Rozycki Fri, 04 Feb 2005 01:34:52 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:24 +0100 Clean up SEAD interrupt initialization. Signed-off-by: Ralf Baechle commit 925ddb04c5eee5668e7229c71580d458ed61eb9b tree f4a7cbd9047284edbf95235d02e03edf57a9a259 parent 38b18f72587422450bd01695b471b3ae2ff4b169 author Maciej W. Rozycki Thu, 03 Feb 2005 23:06:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:24 +0100 Mask and ack CPU interrupts upon initialization. Keep the state of software interrupts when unmasking. Signed-off-by: Ralf Baechle commit 38b18f72587422450bd01695b471b3ae2ff4b169 tree 83485240e1bfcd80c7a8c368844e541a826fc7ba parent db89a48c1f2fa9197404ca511d9df808196ca25d author Ralf Baechle Thu, 03 Feb 2005 14:28:23 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:23 +0100 Move Sibyte Kconfig stuff into it's own Kconfig. Signed-off-by: Ralf Baechle commit db89a48c1f2fa9197404ca511d9df808196ca25d tree c9332b5c9d8dcb0f900927d177139d6124608058 parent e3c4807825501f0b445fe34b627669be24b59320 author Ralf Baechle Thu, 03 Feb 2005 13:37:41 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:22 +0100 Replace deprecated interruptible_sleep_on() function call with direct wait-queue usage. Signed-off-by: Ralf Baechle commit e3c4807825501f0b445fe34b627669be24b59320 tree 438898b7a348ca7b4a452d4f7c143dc1a694c60e parent f638d1971e3135025471c99bf079a24fbb1f3bfa author Ralf Baechle Thu, 03 Feb 2005 13:34:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:22 +0100 Define __raw_read_can_lock / __raw_write_can_lock. Signed-off-by: Ralf Baechle commit f638d1971e3135025471c99bf079a24fbb1f3bfa tree 93dc29f7a9a52ea0337977f03f8322f6548d0855 parent b6d468ec2db51768a456a894105a96f4ad8a346a author Maciej W. Rozycki Wed, 02 Feb 2005 22:23:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:22 +0100 Update descriptions for MIPS Technologies evaluation boards. Signed-off-by: Ralf Baechle commit b6d468ec2db51768a456a894105a96f4ad8a346a tree aa47dcea56edd42ae78e1d3da2b361af9fba1b95 parent 304429915dad26ccf212d63ea1f18be36e3188e2 author Maciej W. Rozycki Wed, 02 Feb 2005 20:36:21 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:21 +0100 Reenable EARLY_PRINTK for the DECstation. Signed-off-by: Ralf Baechle commit 304429915dad26ccf212d63ea1f18be36e3188e2 tree f9f2637dee4d1480356c8fb41f5b6515093043b0 parent 6b123979543a37d109b74a359b147b38ee8166dd author Maciej W. Rozycki Tue, 01 Feb 2005 23:02:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:21 +0100 Formatting fixes. Signed-off-by: Ralf Baechle commit 6b123979543a37d109b74a359b147b38ee8166dd tree 4ea393e3f5294b74f9a2e63d921cdbe5c3357e0f parent aa0980b8090878bf42bc73a13d051a203a201d7d author Maciej W. Rozycki Tue, 01 Feb 2005 20:21:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:20 +0100 Fix compilation; by Manish Lachwani. Signed-off-by: Ralf Baechle commit aa0980b8090878bf42bc73a13d051a203a201d7d tree c4e411d4100a6006b0bc2945742b0ab2fa10b2e5 parent bec0204dfb35cd5b91c0b34f97a481f363f6b272 author Maciej W. Rozycki Tue, 01 Feb 2005 20:18:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:20 +0100 Fixes for system controllers for Atlas/Malta core cards. Signed-off-by: Ralf Baechle commit bec0204dfb35cd5b91c0b34f97a481f363f6b272 tree 75c908e1d38057e2ccdd2fecc8d45d78e01d7ca8 parent c6237645d1e9e687031048f5ffd343133fddb55c author Maciej W. Rozycki Tue, 01 Feb 2005 12:02:37 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:19 +0100 Actually route cPCI interrupts. Update inaccurate comments. Signed-off-by: Ralf Baechle commit c6237645d1e9e687031048f5ffd343133fddb55c tree 5e66c8084d068b432a0747c45ed3d60d6b3e922b parent b053c98fbbe9942669af2f1a351eaeae1b344d38 author Ralf Baechle Wed, 26 Jan 2005 02:22:22 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:19 +0100 Signed-off-by: Ralf Baechle Fix TASK_SIZE for 32-bit processes on 64-bit kernels. commit b053c98fbbe9942669af2f1a351eaeae1b344d38 tree a2b94eff483c4d9bad2f28502126823e5d25172e parent c83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf author Ralf Baechle Wed, 26 Jan 2005 02:21:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:19 +0100 Fix register layout in o32 core dumps on 64-bit systems. Signed-off-by: Ralf Baechle commit c83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf tree 86c613b44ae25af1808b81dde2a4dc0274647194 parent 8c93650890a33318263880dec36603a6d5749b7e author Ralf Baechle Tue, 21 Jun 2005 13:56:30 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:18 +0100 Get rid of early_init. There's more need to make this form of initialization actually useful and as is certainly unmergable with upstream. Signed-off-by: Ralf Baechle commit 8c93650890a33318263880dec36603a6d5749b7e tree 7db742af92e519a334163dbfa44ad3a04d30752f parent b188ffe876382ecc009ceb4fe033fd6ec7ba4ede author Ralf Baechle Tue, 28 Dec 2004 09:09:19 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:17 +0100 Dummy ISA DMA functions for systems that don't have ISA but share drivers with ISA such as legacy free PCI. Signed-off-by: Ralf Baechle commit b188ffe876382ecc009ceb4fe033fd6ec7ba4ede tree 076658e5088c376aafbccafd8a767c587e14aea9 parent 0964ce24d091a1d3dc7f667e1b107ab77d4325e6 author Ralf Baechle Tue, 28 Dec 2004 07:49:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:17 +0100 Fix build with SMP disabled and preemption enabled. Signed-off-by: Ralf Baechle commit 0964ce24d091a1d3dc7f667e1b107ab77d4325e6 tree e572b6e59f102cee5f6c0d7635f6ceae39aa9775 parent c264852726dde251a0c09ec22f61a9be8b0db68b author Thiemo Seufer Thu, 23 Dec 2004 08:21:39 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:16 +0100 Move the invalid pmd and pte tables from .data to .bss. Fix alignment. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit c264852726dde251a0c09ec22f61a9be8b0db68b tree 78198bac69fc4c4e2feb7c2c782074c7f8c2f1fe parent 69903d6500c73af8329a5fba7153b0d50748981c author Thiemo Seufer Fri, 10 Dec 2004 12:56:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:16 +0100 Remove unused arguments from preempt_{start,stop}/local_irq_{en,dis}able. Don't clobber the preloaded TI_FLAGS in a2 needlessly. Unexport local functions. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 69903d6500c73af8329a5fba7153b0d50748981c tree d77624da0c4f7fab47e3ea5ab51e8a45b89d2909 parent b59a9504cb93db7fae31e60760725d48652a1fc3 author Thiemo Seufer Wed, 08 Dec 2004 10:32:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:15 +0100 Fix typos and formatting. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit b59a9504cb93db7fae31e60760725d48652a1fc3 tree 261c9e21a61fc0abe0dd7f21734b3497ed71d377 parent 942b6f62164cf8822dd03b1569777f4663d1abd7 author Thiemo Seufer Sat, 04 Dec 2004 21:35:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:15 +0100 De-optimize and decomplicate the spurious interrupt handler. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 955c5038823748e529a49f0e33ab635d92843500 tree 371d937281474e6abf09b9a893966c85c5e9ad70 parent 62d3af1b5f3aa613e0a489e8d798d45b07f373f4 parent 2ab540becd1bcf9c6886370fd8c67e56dd1c9f3a author Linus Torvalds Sat, 29 Oct 2005 11:26:04 -0700 committer Linus Torvalds Sat, 29 Oct 2005 11:26:04 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 62d3af1b5f3aa613e0a489e8d798d45b07f373f4 tree 8f10dfd23c18600392965b69f94dd389e60827d5 parent 942b6f62164cf8822dd03b1569777f4663d1abd7 parent e71180f3689e00c5a1095925352a72dacdd62e34 author Linus Torvalds Sat, 29 Oct 2005 11:25:16 -0700 committer Linus Torvalds Sat, 29 Oct 2005 11:25:16 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit e71180f3689e00c5a1095925352a72dacdd62e34 tree dc60596c2ea85b8f9f47a1c3af3c3da4041e3225 parent eef55ac7bf16669cb022db30143d0a6d8cb1f5e6 author Patrick McHardy Sat, 29 Oct 2005 13:31:39 +0100 committer Jeff Garzik Sat, 29 Oct 2005 14:17:05 -0400 [PATCH] prism54: Free skb after disabling interrupts The dev_kfree_skb in islpci_eth_transmit happens while irqs are still disabled, so either dev_kfree_skb_irq needs to be used or the skb needs to be freed after irqs have been enabled again. This patch should fix it. Signed-off-by: Patrick McHardy Signed-off-by: Daniel Drake Signed-off-by: Jeff Garzik commit eef55ac7bf16669cb022db30143d0a6d8cb1f5e6 tree e104862f5bf9c873be2599b4f8e9a7f93644bda4 parent f9a5f7d3f3319aac02a7a36a2fea10bd33c3d16a author Al Viro Sat, 29 Oct 2005 06:36:27 +0100 committer Jeff Garzik Sat, 29 Oct 2005 14:15:37 -0400 [PATCH] s2io iomem annotations Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit f9a5f7d3f3319aac02a7a36a2fea10bd33c3d16a tree d44abb7a38b2f4e65e58e3fc72772701adffb844 parent 977e74b5f60de3df9831897b726c16870878eee4 author Tobias Klauser Sat, 29 Oct 2005 15:09:26 +0200 committer Jeff Garzik Sat, 29 Oct 2005 14:15:37 -0400 [PATCH] drivers/net/tg3: Use the DMA_{32,64}BIT_MASK constants This one from my DMA_{32,64}BIT_MASK series did not seem to make it through to upstream. Use the DMA_{32,64}BIT_MASK constants from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() This patch includes dma-mapping.h explicitly because it caused errors on some architectures otherwise. See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser Signed-off-by: Jeff Garzik commit 2ab540becd1bcf9c6886370fd8c67e56dd1c9f3a tree 72fb7dedbe8ccc577482c60b93911339be679b5e parent 57f3bda88a5e5a2810016820a932cb82931dcb1c author Al Viro Sat, 29 Oct 2005 06:38:44 +0100 committer Jeff Garzik Sat, 29 Oct 2005 14:10:06 -0400 [PATCH] sata_sil24 iomem annotations and fixes trivial iomem annotations + missing memcpy_fromio() caught by those Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 57f3bda88a5e5a2810016820a932cb82931dcb1c tree 38fc121c758d29c686e1d4c436591a8f9d844c06 parent ac19bff25b6834d858274406a686f2227dd8489d author Randy Dunlap Fri, 28 Oct 2005 20:37:23 -0700 committer Jeff Garzik Sat, 29 Oct 2005 14:10:06 -0400 [PATCH] libata-core cleanups (updated) libata-core cleanups: - use kzalloc() instead of kmalloc() + memset(); - use one exit path in ata_device_add(); Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit d052d1beff706920e82c5d55006b08e256b5df09 tree dac91b70361b405ab8e15207f514a2f3e991e93d parent 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 author Russell King Sat, 29 Oct 2005 19:07:23 +0100 committer Russell King Sat, 29 Oct 2005 19:07:23 +0100 Create platform_device.h to contain all the platform device details. Convert everyone who uses platform_bus_type to include linux/platform_device.h. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit ac19bff25b6834d858274406a686f2227dd8489d tree d77670070abc662b6b14b5a9f9d6c08a56a476a9 parent 9dfb7808fb05643b0d06df7411b94d9546696bf1 author Jeff Garzik Sat, 29 Oct 2005 13:58:21 -0400 committer Jeff Garzik Sat, 29 Oct 2005 13:58:21 -0400 [libata] ensure ->tf_read() hook reads Status and Error registers We want ->tf_read() to get a complete snapshot of all taskfile registers, without requiring the callers to manually call ata_chk_status() and ata_chk_err() themselves. This also fixes a minor bug in sata_vsc where the lower bits of the feature register were incorrectly placed in the HOB (high order bits) portion of struct ata_taskfile. commit 942b6f62164cf8822dd03b1569777f4663d1abd7 tree 87c562e1bda1d0d266c316ef6059c010b6f30fab parent a6e0eb3791dcefc6dd4db53a23de5cfb18fe9a97 author Al Viro Sat, 29 Oct 2005 12:07:11 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:08 -0700 [PATCH] type fix in arm/boot/compressed/misc.c spot the typo... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a6e0eb3791dcefc6dd4db53a23de5cfb18fe9a97 tree 982d3656cdadc21225dcfe4dc3092d70461d9458 parent 018a2cdf1e633497bb4f01eb86a7cbffa611776d author Al Viro Sat, 29 Oct 2005 12:02:00 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:08 -0700 [PATCH] bluetooth hidp is broken on s390 Bluetooth HIDP selects INPUT and it really needs it to be there - module depends on input core. And input core is never built on s390... Marked as broken on s390, for now; if somebody has better ideas, feel free to fix it and remove dependency... Signed-off-by: Al Viro Acked-by: Marcel Holtmann Signed-off-by: Linus Torvalds commit 018a2cdf1e633497bb4f01eb86a7cbffa611776d tree 515fd2723973f28a738c597d8630526b88650d40 parent 32b32c2c3566b206988fa30336ec6534759823b5 author Al Viro Sat, 29 Oct 2005 11:56:13 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:08 -0700 [PATCH] idmouse cleanup and overflow fix switched to simple_read_from_buffer(), killed broken use of min(). Incidentally, that use of min() had been fixed once, only to be reintroduced in commit 4244f72436ab77c3c29a6447af81734ab3925d85: [PATCH] USB: upgrade of the idmouse driver [snip] - if (count > IMGSIZE - *ppos) - count = IMGSIZE - *ppos; + count = min ((loff_t)count, IMGSIZE - (*ppos)); Note the lovely use of cast to shut the warning about misuse of min() up... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 32b32c2c3566b206988fa30336ec6534759823b5 tree c1e6189006a7fe3ee84038be4efb36462fe7a2a6 parent 943eae03143790c71cf42fe13529f1b74ceb0266 author Al Viro Sat, 29 Oct 2005 11:49:33 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] amikbd fix it's input_allocate_device(), not input_dev_allocate()... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 943eae03143790c71cf42fe13529f1b74ceb0266 tree 64b815091689324d1124ccafd7ab80274033bd2f parent 9d86b7d37018c917837477dd4501d44bf8f3f98c author Al Viro Sat, 29 Oct 2005 07:32:07 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] missing exports of do_settimeofday() variants frv, sh64, ia64 and sparc64 do not have do_settimeofday() exported (the last two are using variant in kernel/time.c). Exports added to match the rest of architectures. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9d86b7d37018c917837477dd4501d44bf8f3f98c tree 0aac68d61f64b0e935e3abd9d1da71ead577a5eb parent f6b52e85a5d022008fe9f99eab7c9f41f155e3cd author Al Viro Sat, 29 Oct 2005 07:08:49 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] missing bits in sparkspkr conversion Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f6b52e85a5d022008fe9f99eab7c9f41f155e3cd tree 5fecf0c488bbabacd272db0ea82e3f498317485d parent 2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 author Al Viro Sat, 29 Oct 2005 07:06:59 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] arguments out of order in class_device_create() call (s390) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 tree 1073d1e05f604faeebbde344a0d4e624fc116d65 parent 4b4a5eaedfc098d825d4c34cad1f1115802512b7 author Al Viro Sat, 29 Oct 2005 06:46:03 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] missing include in infiniband use of IS_ERR/PTR_ERR in infiniband/core/agent.c, without a portable chain of includes pulling err.h (breaks on a bunch of platforms). Signed-off-by: Al Viro Acked-by: Roland Dreier Signed-off-by: Linus Torvalds commit 4b4a5eaedfc098d825d4c34cad1f1115802512b7 tree a91db63ceed5da83934ccb376e48cc8321e2883a parent 7533624527b9afa5585ca43ba534758052d848e5 author Al Viro Sat, 29 Oct 2005 06:38:44 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] sata_sil24 iomem annotations and fixes trivial iomem annotations + missing memcpy_fromio() caught by those Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7533624527b9afa5585ca43ba534758052d848e5 tree c8a1893417aa948d38d6e52e7de65b9103231d72 parent 8d027de54c77d38eedc9b331c7a2a39807d34691 author Al Viro Sat, 29 Oct 2005 06:36:27 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] s2io iomem annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8d027de54c77d38eedc9b331c7a2a39807d34691 tree cfa290c7ca6b63f33b2b4624695596f38bcda2fd parent 47e627ce83b6df9f4bb8e4b0a4dde1c5d7a4c929 author Oleg Nesterov Sat, 29 Oct 2005 19:37:40 +0400 committer Linus Torvalds Sat, 29 Oct 2005 10:28:13 -0700 [PATCH] fix ->signal->live leak in copy_process() exit_signal() (called from copy_process's error path) should decrement ->signal->live, otherwise forking process will miss 'group_dead' in do_exit(). Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds commit 47e627ce83b6df9f4bb8e4b0a4dde1c5d7a4c929 tree e41ee81ad1c584fd93184cf43acbcbd986ad858d parent fc228a04a4c01bbb2f898e180a14f9a976001f79 author Tejun Heo Sat, 29 Oct 2005 18:18:42 +0900 committer Linus Torvalds Sat, 29 Oct 2005 10:28:13 -0700 [PATCH] blk: fix merge bug in as-iosched as-iosched deals with aliased requests differently from other ioscheds. It links together aliased requests using rq->queuelist instead of spilling alises to dispatch queue like other ioscheds do. Requests linked in this way cannot be merged. Unfortunately, generic q->last_merge handling patch didn't take this into account and q->last_merge could be set to an aliased request resulting in Badness, corrupt list and eventually panic. This explicitly marks aliased requests to be unmergeable. Signed-off-by: Tejun Heo Signed-off-by: Linus Torvalds commit a3632fa3ecefe50d88fc70af90610f79b99e0715 tree 86dd98ba0e08220039d1f615f6667d27796e8ca0 parent eb66fff7d94199f80378bc0b51a06e62ce379b53 author Jack Hammer Tue, 25 Oct 2005 14:13:03 -0400 committer James Bottomley Sat, 29 Oct 2005 10:39:41 -0500 [SCSI] ips: Fix up for correct scatter/gather processing Added kmap_atomic/kunmap_atomic. Added protection of KM_IRQ0 slot with local_irq_save(), local_irq_restore(), and comments. Signed-off-by: James Bottomley commit eb66fff7d94199f80378bc0b51a06e62ce379b53 tree e77316896c47dfca6da822ad6225459f18d5f032 parent 73797e31b5b07c8a53afd19d8a382625bcd32005 author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:30:10 -0400 committer James Bottomley Sat, 29 Oct 2005 10:33:14 -0500 [SCSI] lpfc: Change version number to 8.1.0 Signed-off-by: James Smart Signed-off-by: James Bottomley commit 73797e31b5b07c8a53afd19d8a382625bcd32005 tree de6621068cf27582ea5dbe93bf9fccbfae8df4c5 parent 0bd4ca25ad2ace4aa717c83dbd4ed21c53c953cb author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:30:05 -0400 committer James Bottomley Sat, 29 Oct 2005 10:32:49 -0500 [SCSI] lpfc 8.1.0 : Add owner field to struct pci_driver Signed-off-by: James Smart Signed-off-by: James Bottomley commit c514e58cb8eac0d21f4ab5011df75a09eb5edd50 tree c616a79e41bed30d56d3c17ae7b802285c8c3374 parent 1a47ebc0d971fbc47cd859a09956f7c7d001f5fd author Kenneth Tan Sat, 29 Oct 2005 16:32:14 +0100 committer Russell King Sat, 29 Oct 2005 16:32:14 +0100 [ARM] 3022/1: Missing peripheral devices memory mapping definition for IXP46X processor Patch from Kenneth Tan Defining IXP46X peripheral devices memory mapping definitions that have been missed out: o Peripheral virtual base address is being adjusted to allow more headroom to add extra peripheral device addresses o Peripheral size is being increased to address the above needs o Virtual address of expansion bus and PCI configuration register needs to be adjusted as new peripheral device memory space is overlapping with their virtual address space Signed-off-by: Kenneth Tan Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 0bd4ca25ad2ace4aa717c83dbd4ed21c53c953cb tree 10ae769505f9f306ea7a312663011e95019c34ef parent 4a0dfcdefb1cc81c0920dc98fbb82bb57326b16d author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:30:02 -0400 committer James Bottomley Sat, 29 Oct 2005 10:31:48 -0500 [SCSI] lpfc: Fix eh_ return codes for commands Return FAILED from eh_ routines if command(s) is(are) not completed There were scenarios where we may have returned from the error handlers prior to all affected commands being flushed to the midlayer. Add changes to ensure this doesn't happen. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 4a0dfcdefb1cc81c0920dc98fbb82bb57326b16d tree f99331f2d68c9e03608314f1c19f01e0c0e44e88 parent a784efbff725b7f4893a8835ac7232c0e00d24e4 author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:56 -0400 committer James Bottomley Sat, 29 Oct 2005 10:31:05 -0500 [SCSI] lpfc: Remove unneeded IOCB_t * cast Signed-off-by: James Smart Signed-off-by: James Bottomley commit a784efbff725b7f4893a8835ac7232c0e00d24e4 tree ea7a50121dbbca571f702a67c246f69eb911f35b parent 68876920f442912c94f749bc337c888696cb9ed0 author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:51 -0400 committer James Bottomley Sat, 29 Oct 2005 10:30:12 -0500 [SCSI] lpfc: Adjust lpfc_scsi_buf allocation Adjust lpfc_scsi_buf allocation to account for lun_queue_depth and error handling Under high load and high duress, the error handler could steal some command resources from the normal i/o path. Rework to allocate additional resources to avoid this scneario. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 68876920f442912c94f749bc337c888696cb9ed0 tree 12fe1c63be2fedad13706b4b14d46c90c94cce49 parent 604a3e3042eb89ffaa4f735ef9208281aae786c7 author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:47 -0400 committer James Bottomley Sat, 29 Oct 2005 10:29:09 -0500 [SCSI] lpfc: Replace lpfc_sli_issue_iocb_wait_high_priority Replace lpfc_sli_issue_iocb_wait_high_priority with lpfc_sli_issue_iocb_wait. Simplify code paths, as there really wasn't a "priority" Signed-off-by: James Smart Signed-off-by: James Bottomley commit 604a3e3042eb89ffaa4f735ef9208281aae786c7 tree 54c4ad58274b0bb79386c6c57b4849bfb92d4118 parent 21568f5387636fe2bfb9ee42383d76de11ed99c7 author James Bottomley Sat, 29 Oct 2005 10:28:33 -0500 committer James Bottomley Sat, 29 Oct 2005 10:28:33 -0500 [SCSI] lpfc: Fix for "command completion for iotax x?? not found" From: James Smart There were scenarios where the error handlers could reuse an iotag value of an active io. Remove all possibility of this by pre-assigning iotag resources to command resources. Signed-off-by: James Smart Rejections fixed up and Signed-off-by: James Bottomley commit 1a47ebc0d971fbc47cd859a09956f7c7d001f5fd tree 7e1f083a72712f7bbc29829622683a5077927492 parent b4a1f67fbfb848ded8cf0c6c305224534144ab2d author Nicolas Pitre Sat, 29 Oct 2005 16:28:29 +0100 committer Russell King Sat, 29 Oct 2005 16:28:29 +0100 [ARM] 3059/1: fix XIP support Patch from Nicolas Pitre Fix XIP support after recent bootmem code refactoring. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit b4a1f67fbfb848ded8cf0c6c305224534144ab2d tree 58988f4a66886659518e971fdc2445ecb9e81ecf parent ecbea7a2dae94092db9566bcd1f38535e9b3cde9 author Lennert Buytenhek Sat, 29 Oct 2005 16:28:28 +0100 committer Russell King Sat, 29 Oct 2005 16:28:28 +0100 [ARM] 3053/1: introduce ixp2000_reg_wrb (ixp2000_reg_write plus readback) Patch from Lennert Buytenhek Introduce ixp2000_reg_wrb, which is a variant of ixp2000_reg_write that does a readback from the target register, to make sure that the write has been flushed out of the write buffer. Unlike the previous (ineffective) readback in ixp2000_reg_write, this readback is followed by an instruction that depends on the value of the readback so that the CPU actually stalls until the readback has completed. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit ecbea7a2dae94092db9566bcd1f38535e9b3cde9 tree 8dab38d4e97e1534c7159c5ec34ef74bb1b06553 parent 931db7d6880027bb2b6b0cb78a488ab1486e28b7 author Lennert Buytenhek Sat, 29 Oct 2005 16:28:27 +0100 committer Russell King Sat, 29 Oct 2005 16:28:27 +0100 [ARM] 3051/1: turn ixp2000_reg_read into an inline function Patch from Lennert Buytenhek Turn ixp2000_reg_read into an inline function. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 931db7d6880027bb2b6b0cb78a488ab1486e28b7 tree fd85ee0a0d4fc217b59b639307af76bfd65504e0 parent 13bfb34c10fae6016710f5f070043c8b94b40583 author Lennert Buytenhek Sat, 29 Oct 2005 16:28:26 +0100 committer Russell King Sat, 29 Oct 2005 16:28:26 +0100 [ARM] 3050/1: remove ixp2000_reg_write erratum #66 workaround Patch from Lennert Buytenhek The workaround that we do for avoiding triggering ixp2400 erratum #66 involves mapping I/O pages using XCB=101 instead of XCB=000 so that we prevent the I/O signal to the gasket from being asserted (which can cause data corruption.) But XCB=101 mappings are write-buffered while mappings using XCB=000 are not, which is why if we use XCB=101 mappings we do a readback for every CSR store in an attempt to make sure that the store has been pushed out of the xscale core and the gasket. Unfortunately, there are two issues with this: - we do a readback for every CSR store, which is wrong, because the register we are writing to might have unwanted side-effects on read, for example, in the case of the scratchpad ring enqueue/dequeue registers; and - the readback is totally ineffective in the way we currently do it, because we just issue a load but do not issue any instruction that depends on the return value of that load, so the xscale core does not wait for the load to complete before continuing. See this linux-arm-kernel mailing list post for further information: http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2005-September/031314.html This means that my ixp2400 boxes have been running for many months without a working readback in ixp2000_reg_write, without any apparent adverse effects. Two of them have been running for a week now with the actual readback deleted from ixp2000_reg_write, also without any apparent ill effects. So, because in its current form it does more harm than good, the readback in ixp2000_reg_write should simply be killed, as the patch below does. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 21568f5387636fe2bfb9ee42383d76de11ed99c7 tree 4b07a791e5d1e03607a3dd3312b85d584fb98141 parent 93a20f74450ca3402b3ba89fb490114cf6f2d353 author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:36 -0400 committer James Bottomley Sat, 29 Oct 2005 10:22:50 -0500 [SCSI] lpfc: Remove RPI hash from the driver Table was not providing a lot of value and injected a couple of errors. Removed it and made functionality inline. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 93a20f74450ca3402b3ba89fb490114cf6f2d353 tree fd0285b3d699c350dc82fbb815d05cad26a19243 parent f91b392c4d20fcd2684587c0a091123c0409959c author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:32 -0400 committer James Bottomley Sat, 29 Oct 2005 10:21:26 -0500 [SCSI] lpfc: Restore HEX safe bahavior of the sysfs xxx_store functions. Signed-off-by: James Smart Signed-off-by: James Bottomley commit f91b392c4d20fcd2684587c0a091123c0409959c tree d6ffb11b617930a5c518367c5d3dea84d560a406 parent 09703d38d47d2b4ff769269ffe01c9aa340e3c8b author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:28 -0400 committer James Bottomley Sat, 29 Oct 2005 10:19:52 -0500 [SCSI] lpfc: Fix for "Unknown IOCB command Data: x0 x3 x0 x0" Fix for "Unknown IOCB command Data: x0 x3 x0 x0" messages and inability to see devices On some platforms, the host-memory based ring mgmt area was not zero. Also, driver wasn't manipulating the entire 32bits of the ring pointers. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 09703d38d47d2b4ff769269ffe01c9aa340e3c8b tree 30d5789d729cc6d92d365863e19b229c24b3ef11 parent 7bcbb7527fb2f06b6500f6ee3e7f750a0ed0239c author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:21 -0400 committer James Bottomley Sat, 29 Oct 2005 10:18:30 -0500 [SCSI] lpfc: Fix comments for nodev_tmo Signed-off-by: James Smart Signed-off-by: James Bottomley commit 13bfb34c10fae6016710f5f070043c8b94b40583 tree 39fd757bdfa95381655e0e2130c054834ee807e2 parent 183e1a349466a1b90430a58f3efad25a3e555cb2 author Russell King Sat, 29 Oct 2005 16:14:08 +0100 committer Russell King Sat, 29 Oct 2005 16:14:08 +0100 [ARM] Fix Assabet reboot with SA1100 MTD map driver Unfortunately, some devices forgot to reset the flash on reboot. Arrange for the map driver to suspend & resume the flash to ensure that it is in a sane state before rebooting. Signed-off-by: Russell King commit 7bcbb7527fb2f06b6500f6ee3e7f750a0ed0239c tree d9904852f6848d2c70df3843ee5829e71521946e parent 755c0d06c58f7b84e9798365f806dadfef8c1839 author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:13 -0400 committer James Bottomley Sat, 29 Oct 2005 10:12:49 -0500 [SCSI] lpfc: Add range checking for attributes passed as options at load time. Reuse macros defined for sysfs store callbacks in the initialization code in order to enforce the same range checking. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 755c0d06c58f7b84e9798365f806dadfef8c1839 tree 3d6c36dd2ca4137e33faaa0ede901c7710443026 parent 964b77e77666fbe9f2ca02e87c6adce0cd209971 author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:06 -0400 committer James Bottomley Sat, 29 Oct 2005 10:11:40 -0500 [SCSI] lpfc: Return -EINVAL, -EPERM, and -EIO instead of 0 from sysfs callbacks Signed-off-by: James Smart Signed-off-by: James Bottomley commit 964b77e77666fbe9f2ca02e87c6adce0cd209971 tree 0e192d7490c2dd88e86ddca8ff14a3a78a4cecca parent 433c357956b5a9da79d42d9128dcacc32929f2dd author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:29:01 -0400 committer James Bottomley Sat, 29 Oct 2005 10:10:44 -0500 [SCSI] lpfc: Update to Emulex hba model names Update adapter names to match Emulex naming conventions. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 183e1a349466a1b90430a58f3efad25a3e555cb2 tree 8034e08c82864e3533d5f4c9f299b3bea3ad118a parent 14e66f767f5e8d023e098b475dc24ddc9a5dbdfd author Russell King Sat, 29 Oct 2005 16:09:59 +0100 committer Russell King Sat, 29 Oct 2005 16:09:59 +0100 [ARM] Add support for SA1100 Jornada flash device support This got dropped from the SA1100 flash driver a while back and never added to the platform support file. Add it back. Signed-off-by: Russell King commit 433c357956b5a9da79d42d9128dcacc32929f2dd tree a49a1d933c7335b3e950fc82af7bb5a53b855c1c parent ca61f10ab2b874b889e89d14ea09fae2dcccdca6 author James.Smart@Emulex.Com Fri, 28 Oct 2005 20:28:56 -0400 committer James Bottomley Sat, 29 Oct 2005 10:09:58 -0500 [SCSI] lpfc: Cleanup code in lpfc_get_stats(). Cleanup white spaces in argument calls & initializations, prune if statements, remove casting and remove redundant if checks. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 14e66f767f5e8d023e098b475dc24ddc9a5dbdfd tree 11d0835775cb00a164b2e3d4b23f282a002277cd parent 822e5e72697ce06e4425c17d161b0482c7d9b6d4 author Russell King Sat, 29 Oct 2005 16:08:31 +0100 committer Russell King Sat, 29 Oct 2005 16:08:31 +0100 [ARM] Allow MTD device name to be passed via platform data Allow SA1100 devices to pass the name of the flash device to the SA1100 map driver. Signed-off-by: Russell King commit 822e5e72697ce06e4425c17d161b0482c7d9b6d4 tree 0668a09f5da7722ea972d203c931a39dea8b6a5f parent 0d2ef7d73e0b5173af3940139569bebd2375f441 author Russell King Sat, 29 Oct 2005 16:03:24 +0100 committer Russell King Sat, 29 Oct 2005 16:03:24 +0100 [ARM] Fix MTD device/partition destruction We should not delete MTD partitions when we registered a MTD device. Signed-off-by: Russell King commit ca61f10ab2b874b889e89d14ea09fae2dcccdca6 tree d4e7316a7d30dceb1d0eda442426431d9e2274d0 parent 80e23babfcf21a2dc726d3be00e06993f02f0274 author James Bottomley Sat, 29 Oct 2005 10:01:24 -0500 committer James Bottomley Sat, 29 Oct 2005 10:01:24 -0500 [SCSI] remove broken driver cpqfc Hopefully there should be a brand new replacement driver for this heap of junk by the beginning of next year. Acked By: Martin K. Petersen Signed-off-by: James Bottomley commit 0d2ef7d73e0b5173af3940139569bebd2375f441 tree ce48e0c9dd216c1c32084c233842918507ee330e parent 57725f0a94435355214977bb9b0e5089bba1b173 author Russell King Sat, 29 Oct 2005 15:57:20 +0100 committer Russell King Sat, 29 Oct 2005 15:57:20 +0100 [ARM] Add support for init/exit methods in sa1100 MTD map driver Signed-off-by: Russell King commit 57725f0a94435355214977bb9b0e5089bba1b173 tree 5b41dca6ab5cbe0f83cd8f553c5b5588aa97e61c parent 8c18fe2562c45180c407872d05857c55c1e5e37b author Russell King Sat, 29 Oct 2005 15:51:14 +0100 committer Russell King Sat, 29 Oct 2005 15:51:14 +0100 [ARM] Rename 'data' to 'plat' in sa1100 MTD map driver Signed-off-by: Russell King commit 80e23babfcf21a2dc726d3be00e06993f02f0274 tree b4b3d48156c72e6c4997cae00fa270715a754066 parent 19a7b4aebf9ad435c69a7e39930338499af4d152 author James Bottomley Sat, 29 Oct 2005 09:42:17 -0500 committer James Bottomley Sat, 29 Oct 2005 09:42:17 -0500 [SCSI] fix up mismerge in osst Signed-off-by: James Bottomley commit affcd50546d4788b7849e2b2e2ec7bc50d64c5f8 tree e4e6a0f5f2203569b6ada4c101a146c3a4f24c28 parent 89fbb69c4f285019ba5e029963dc11cc6beb078a author Michael S. Tsirkin Sat, 29 Oct 2005 07:39:42 -0700 committer Roland Dreier Sat, 29 Oct 2005 07:39:42 -0700 [IB] mthca: report asynchronous CQ events Implement reporting asynchronous CQ events in Mellanox HCA driver. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8c18fe2562c45180c407872d05857c55c1e5e37b tree 52b4b8e5b501aaf614504e85f3a458704906a55f parent fb31690fbac6f4055c1765522752e4746759f5de author Russell King Sat, 29 Oct 2005 13:18:10 +0100 committer Russell King Sat, 29 Oct 2005 13:18:10 +0100 [ARM] Fix buggy __phys_to_pfn / __pfn_to_phys Macro arguments should _always_ be surrounded by parentheses when used to prevent unexpected problems with operator precedence. Signed-off-by: Russell King commit fb31690fbac6f4055c1765522752e4746759f5de tree 6b8b2375f122a3771aadebeba7344829a6ae88ed parent 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 author Russell King Sat, 29 Oct 2005 13:15:10 +0100 committer Russell King Sat, 29 Oct 2005 13:15:10 +0100 [ARM] Ensure machine information structures aren't optimised away Since the machine information structures are now static, the compiler might optimise them away. Mark them with __attribute_used__ to prevent this occuring. Signed-off-by: Russell King commit eb66ce6333742e32825f0294310ff53e284fa828 tree 19e8229a69fe11ba688e3fd0f2b6504cd33fbb9c parent 3ee1fcac33eae824422b9b98d972a85e79672426 author Paul Mackerras Sat, 29 Oct 2005 22:11:06 +1000 committer Paul Mackerras Sat, 29 Oct 2005 22:11:06 +1000 powerpc: Remove T command from xmon help text since it no longer exists Signed-off-by: Paul Mackerras commit 3ee1fcac33eae824422b9b98d972a85e79672426 tree c042519cdc6b178575749e17e51a6b456fff278e parent c1c3a554a32c3de1340887caa5729d67ed6684d6 author Paul Mackerras Sat, 29 Oct 2005 22:10:38 +1000 committer Paul Mackerras Sat, 29 Oct 2005 22:10:38 +1000 powerpc: import a gfp_t fix to arch/powerpc/mm/pgtable_32.c This applies the same fix as Al Viro recently made to arch/ppc/mm/pgtable.c. Signed-off-by: Paul Mackerras commit c1c3a554a32c3de1340887caa5729d67ed6684d6 tree d01e4d07588f4d596c81be01fb7920e1d1697265 parent 0cb7b2afd79c5715cbd1d4eee826571fb17fdd65 author Paul Mackerras Sat, 29 Oct 2005 22:08:55 +1000 committer Paul Mackerras Sat, 29 Oct 2005 22:08:55 +1000 powerpc: 32-bit needs cur_cpu_spec exported too Somehow we ended up with an #ifdef CONFIG_PPC64 around the export of cur_cpu_spec, but raid6 as a module needs it on ppc32 as well as ppc64. Signed-off-by: Paul Mackerras commit 0cb7b2afd79c5715cbd1d4eee826571fb17fdd65 tree 6748e2d741c731aa8afa458152d934b7ad81715c parent d3f67fbb96b827c1a6a7a82689e589865581155c author Paul Mackerras Sat, 29 Oct 2005 22:07:56 +1000 committer Paul Mackerras Sat, 29 Oct 2005 22:07:56 +1000 powerpc: Merge maple support code to arch/powerpc/platforms/maple Signed-off-by: Paul Mackerras commit d3f67fbb96b827c1a6a7a82689e589865581155c tree 458e62c889c5ef4888010df3d590785e80cdf012 parent ffa27b6bc61c3be76a756100f777372768bcc3ab author Paul Mackerras Sat, 29 Oct 2005 15:31:17 +1000 committer Paul Mackerras Sat, 29 Oct 2005 15:31:17 +1000 powerpc: Add -mno-altivec for ARCH=powerpc builds Signed-off-by: Paul Mackerras commit ffa27b6bc61c3be76a756100f777372768bcc3ab tree e4c65417db61080f69c4a057cdb2e06ae7dc1bd3 parent ea6526605a60cf9a6f758605f73062fac6d974cf author Andy Whitcroft Fri, 28 Oct 2005 17:46:58 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:27:39 +1000 [PATCH] ppc64 memory model depends on NUMA Currently when we first select memory model (FLAT, DISCONTIG, SPARSE) then select whether the machine is NUMA. However NUMA systems may not be FLAT. This constraint it not honoured and we may configure a NUMA/FLAT system. Reorder the configuration such that we choose NUMA first which allows us to only list the memory models which are valid. We now default NUMA for known NUMA systems. Note that this new order also matches that used in x86. Signed-off-by: Andy Whitcroft Signed-off-by: Joel Schopp Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit ea6526605a60cf9a6f758605f73062fac6d974cf tree 58e103bf29f0605138722b10878d5b5a13f2a5a6 parent 18c5332bc17e75efdc02cc17410c647a627861f2 author Olaf Hering Fri, 28 Oct 2005 17:46:57 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:23:08 +1000 [PATCH] ppc64: remove duplicate local variable in set_preferred_console remove duplicate local variable, saves 2 asm instructions. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 18c5332bc17e75efdc02cc17410c647a627861f2 tree 8fcb58ac5ded12d79b853beb395a594ab6a75169 parent 1eee4daa9940f7044806d83006051104cc8680b3 author Olaf Hering Fri, 28 Oct 2005 17:46:56 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:20:27 +1000 [PATCH] ppc64: change name of target file during make install 'make install' creates a /boot/zImage[.vmode] file when the defconfig is used. It uses the second arg as file content, which is the vmlinux, and the 5th arg as file name, which is the BOOTIMAGE name. A comment in an earlier patch to install.sh states that yaboot can not load a zImage+initrd combo. This was true in kernel 2.6.5 because it did use bi_recs to pass the initrd info. But this concept was always broken. Register r3 holds the initrd address and r4 holds the initrd size. This works with all kernel versions. The current code in main.c leaves r3 and r4 alone, so the kernel should be able to see and use the memory range with the initrd content. If one wants to rerun mkinitrd, it is currently hard to get the uname -r value for the installed zImage. Without this info, mkinitrd can not know what modules to use. This would be fixable by including the /proc/version output of the new kernel. But it is simpler to just use the plain vmlinux. So all this patch does is to write to /boot/vmlinux instead to /boot/zImage Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 1eee4daa9940f7044806d83006051104cc8680b3 tree 780d6d34bee7461241d04ee704deeaa80a4d92d6 parent 18f568b79bf698aea9a78b63782398c914241ad8 author Olaf Hering Fri, 28 Oct 2005 17:46:55 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:15:34 +1000 [PATCH] ppc64: reenable make install with defconfig 'make ARCH=ppc64 O=../O install' does not work with the defconfig. CONFIG_PPC_BPA is part of it, but the BPA bootimage variable is wrong: make[2]: *** No rule to make target `zImage', needed by `install'. Stop. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 18f568b79bf698aea9a78b63782398c914241ad8 tree 8898d7d8dadcbe27344e601170c2c8c34155a8d1 parent 08124f958997ac14bb2284af787752125a892e9f author Olaf Hering Fri, 28 Oct 2005 17:46:54 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:14:44 +1000 [PATCH] ppc64: compile nls_cp437 and nls_iso8859_1 into the kernel in defconfig compile nls_cp437 and nls_iso8859_1 into the kernel in defconfig. This is already enabled in pSeries_defconfig. Reason: if one just boots the new shiny zImage and the root filesystem is on a filesystem not readable by yaboot (like jfs, raid or lvm) upgrading the bootloader will fail because the FAT bootpartition can not be mounted. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 08124f958997ac14bb2284af787752125a892e9f tree 5e46f1ce146cd89b61565194aef0a386a9b37acf parent 7e658118faa9faf71f8a8295cdaeb7ca71c04672 author Olaf Hering Fri, 28 Oct 2005 17:46:51 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:11:48 +1000 [PATCH] ppc64: AC Power handling broken for desktops Currently, AC Power is 0 on a desktop G4. No batteries present should mean AC Power == 1. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 7e658118faa9faf71f8a8295cdaeb7ca71c04672 tree 310199b9745eaa292589e1277e3c3f66f46fc881 parent 67a1b68263d58a3ed5ce024468606044a1561312 author Olaf Hering Fri, 28 Oct 2005 17:46:50 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:11:35 +1000 [PATCH] ppc64 boot: print firmware provided stackpointer Show firmware provided stackpointer during boot. This helps to find the "taboo" areas on the various boards. claim tends to fail for these memory areas, but some jokers return success anyway. Use %p to print the load address, its a pointer. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 67a1b68263d58a3ed5ce024468606044a1561312 tree 0e997ea83aa27cb2ceb622549acc8e47aefa6bb2 parent a4497235f00d811943831c9d76995d36c4ffab2d author Olaf Hering Fri, 28 Oct 2005 17:46:49 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:11:00 +1000 [PATCH] ppc64 boot: proof that reloc works To prove that the relocation works, move the crt0.o away from the beginning. Move linker options from command line into linker script. rename entry point because '_start' is referenced in printf output. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit fc228a04a4c01bbb2f898e180a14f9a976001f79 tree c6015f399aac7f0566dfadb984d843fe67175329 parent 9fcc2e8a752f7d3d889114221b67c459557823e9 parent 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 author Arnaldo Carvalho de Melo Sat, 29 Oct 2005 03:10:35 -0200 committer Arnaldo Carvalho de Melo Sat, 29 Oct 2005 03:10:35 -0200 Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6 commit a4497235f00d811943831c9d76995d36c4ffab2d tree 7731fe28f9b5b98a94f9182766a20eb862e6f5cf parent afbe8c4bb0155f533d6e57edd269c93e2f23c2fa author Olaf Hering Fri, 28 Oct 2005 17:46:48 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:10:12 +1000 [PATCH] ppc64 boot: make the zImage relocateable Make the zImage relocateable. So yaboot could just load and run any ELF binary, without worrying about its load address. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit afbe8c4bb0155f533d6e57edd269c93e2f23c2fa tree 890e8f4d7cc582db281da33b6f48bd47f8833f72 parent 844ae3a0d1638753802770cde881dff0e0704551 author Olaf Hering Fri, 28 Oct 2005 17:46:47 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:08:03 +1000 [PATCH] ppc64 boot: remove global initializers No need to initialize global variables. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 844ae3a0d1638753802770cde881dff0e0704551 tree caa1c8314bd3bac029c4564d399593b1cfca15fd parent 9b0cbe97566dd7123eee0462d91703434fe61090 author Olaf Hering Fri, 28 Oct 2005 17:46:46 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:07:50 +1000 [PATCH] ppc64 boot: fix typo in asm comments Update comment in memcpy, r7 contains the byte count. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 9b0cbe97566dd7123eee0462d91703434fe61090 tree 816d6f93e2b84741c891e5edd600c6fdab91b675 parent 06cf26beffc54bb43aebbefa60f84e0dffde3141 author Olaf Hering Fri, 28 Oct 2005 17:46:45 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:07:38 +1000 [PATCH] ppc64 boot: use memset to clear bss Use memset to clear bss, instead of own version. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 06cf26beffc54bb43aebbefa60f84e0dffde3141 tree 73461c0fba1d949ac46d140cdf76643f790de342 parent 83097c5d543894864a564cde6c27d4e523d67674 author Olaf Hering Fri, 28 Oct 2005 17:46:44 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:07:00 +1000 [PATCH] ppc64 boot: cleanup linker script Remove userland related stuff from ld.script, they are not required for zImage use wildcards for some sections. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 83097c5d543894864a564cde6c27d4e523d67674 tree 9647872a62bcb70164c532514a819ec6337592a4 parent 6bcc20b5ade6c8e9d9a0767090c65024047d91c4 author Olaf Hering Fri, 28 Oct 2005 17:46:43 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:06:06 +1000 [PATCH] ppc64 boot: bootfiles depend on linker script bootfiles must be relinked if linker script changes Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 6bcc20b5ade6c8e9d9a0767090c65024047d91c4 tree e9eba766871555f0ff81daa1060a07375b0c304e parent 8a76baf02006c945fa4a2a01a58848cb38777697 author Olaf Hering Fri, 28 Oct 2005 17:46:41 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:05:43 +1000 [PATCH] ppc64 boot: move gunzip function before use Move the gunzip function up. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8a76baf02006c945fa4a2a01a58848cb38777697 tree 774795179b55f94823e71f48f79cc7975d74a6fd parent 7054036fc526b741ba90ff1d077ac900362f30ed author Olaf Hering Fri, 28 Oct 2005 17:46:40 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:05:10 +1000 [PATCH] ppc64 boot: remove need for imagesize.c Compute the vmlinux size at runtime. Use Z_FULL_FLUSH instead of Z_FINISH, to extract only the ELF header and ELF program header. ->p_memsz is the required memory range for the executable, including bss ->p_filesz is the size of .text, .data and other runtime sections These values must be used for the claim call. All additional memory needed by the kernel is claimed in prom_init, remove the extra Mb. Pass the full memsize as target area to gunzip, otherwise not everything will be uncompressed. flush_cache has to flush all runtime sections, do not reduce the memrange by the ->p_offset value because its just that: an offset. Remove the Makefile code to produce an imagesize.c, its not needed anymore. Remove all FORCE flags, to not rebuild the zImage if vmlinux was not changed. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 7054036fc526b741ba90ff1d077ac900362f30ed tree 90d4edc10a81861219eb3d37e2fd93814935c315 parent 8afe31c9eb92389f091a40def9650278ca66befd author Olaf Hering Fri, 28 Oct 2005 17:46:38 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:04:43 +1000 [PATCH] ppc64 boot: remove zlib Switch ppc64 to the in-kernel zlib, it has less bugs than the current one. The code in arch/ppc64/boot is compiled as 32bit, so it can not use the includes from include/asm. Copy all zlib related header files and convert them with sed. Reduce the scratch size to 47k, check possible changes at runtime. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8afe31c9eb92389f091a40def9650278ca66befd tree d38686ff420bc310519d55ba71787834bfd4a2c4 parent 146c98782b57531ce6ba89dfa9d3771c0fd0a94d author Olaf Hering Fri, 28 Oct 2005 17:46:37 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:04:21 +1000 [PATCH] ppc64 boot: missing include for size_t string.h needs definition of size_t, but not the one from linux/include Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 146c98782b57531ce6ba89dfa9d3771c0fd0a94d tree e82f5c0c562be965c9a4b90f4f2be12043569835 parent 27ac801a2e513708e2da648722326349514976d5 author Olaf Hering Fri, 28 Oct 2005 17:46:37 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:04:02 +1000 [PATCH] ppc64 boot: remove include from include/linux/zutil.h zutil.h does not need errno.h Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 27ac801a2e513708e2da648722326349514976d5 tree 53ce70742cd05ed0d1407920379ac9187dfec822 parent b1529871f4270d10a0d1a9c998be162f0123d8f1 author Olaf Hering Fri, 28 Oct 2005 17:46:35 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:03:00 +1000 [PATCH] ppc64 boot: remove include from lib/zlib_inflate/inflate.c There is no need to include module.h in inflate.c Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 9fcc2e8a752f7d3d889114221b67c459557823e9 tree d06f567aabf247fd379a66177de5163299bc81d7 parent 360ac8e2f1a38c3497739636c3b702352d1ad0ae author Jayachandran C Thu, 27 Oct 2005 15:10:01 -0700 committer Arnaldo Carvalho de Melo Sat, 29 Oct 2005 02:53:39 -0200 [IPV4]: Fix issue reported by Coverity in ipv4/fib_frontend.c fib_del_ifaddr() dereferences ifa->ifa_dev, so the code already assumes that ifa->ifa_dev is non-NULL, the check is unnecessary. Signed-off-by: Jayachandran C. Signed-off-by: Arnaldo Carvalho de Melo commit b1529871f4270d10a0d1a9c998be162f0123d8f1 tree e4ecec4bf54fff8abb60ca3f5194c7d9fc39956a parent 1461b4ea2bcdfb2a386ad3f3095eeb9d73e4bf55 author Nicolas DET Fri, 28 Oct 2005 17:46:30 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:51:53 +1000 [PATCH] mv643xx_eth_showsram: Added information message when using the SRAM Added information message when using the SRAM in mv643xx_eth_probe() Signed-off-by: Nicolas DET Signed-off-by: Sven Luther Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 1461b4ea2bcdfb2a386ad3f3095eeb9d73e4bf55 tree eab0004612f4e94cb485510a9f6adabd549a8892 parent b37665e0ba1d3f05697bfae249b09a2e9cc95132 author Vitaly Bordug Fri, 28 Oct 2005 17:46:28 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:49:29 +1000 [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx This patch fixes a numbers of issues regarding to that both 8xx and 82xx began to use ppc_sys model: - Platform is now identified by default deviceless SOC, if no BOARD_CHIP_NAME is specified in the bard-specific header. For the list of supported names refer to (arch/ppc/syslib/) mpc8xx_sys.c and mpc82xx_sys.c for 8xx and 82xx respectively. - Fixed a bug in identification by name - if the name was not found, it returned -1 instead of default deviceless ppc_spec. - fixed devices amount in the 8xx platform system descriptions Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit b37665e0ba1d3f05697bfae249b09a2e9cc95132 tree 22c80609e3254524038d5b690f1f886b0987f58d parent dd03d25fac90ee6f394874fb4e6995866304e4ba author Andy Fleming Fri, 28 Oct 2005 17:46:27 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:42:28 +1000 [PATCH] ppc32: 85xx PHY Platform Update This patch updates the 85xx platform code to support the new PHY Layer. Signed-off-by: Andy Fleming Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit dd03d25fac90ee6f394874fb4e6995866304e4ba tree 41de23fde9f9e8f983825b846c335856d489b73c parent 8c9795ba01d02b043ce2d9eeb0fa908c07e5fb42 author Nicolas DET Fri, 28 Oct 2005 17:46:25 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:41:08 +1000 [PATCH] chrp_pegasos_eth: Added Marvell Discovery II SRAM support Add proper entry to support the Marvell MV64361 (Marvell Discovery II) SRAM. This feature may be used by the mv643xx_eth driver. Signed-off-by: Nicolas DET Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8c9795ba01d02b043ce2d9eeb0fa908c07e5fb42 tree c9014bf1c63fb2d81a9a72bb935b356df0206e1f parent dcb34abb4d9bae0588c5c11101ed6afcee71f895 author Olaf Hering Fri, 28 Oct 2005 17:46:21 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:36:11 +1000 [PATCH] Add modalias for pmac network drivers mesh, mac53c94 and airport already have an entry. Add the network drivers for pmac. Signed-off-by: Olaf Hering Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit dcb34abb4d9bae0588c5c11101ed6afcee71f895 tree 41e79b5d302ddb08745e93891a6dd4e4a00c208a parent 35e95e63995f3e52178db4b769120ce60deb6b54 author scwhab@suse.de Fri, 28 Oct 2005 17:46:20 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:35:58 +1000 [PATCH] Add modalias to macio sysfs attributes Provide a "compatible" entry in /sys/bus/macio/devices/*/ This can be used to load drivers via the modules.alias file. Signed-off-by: Olaf Hering Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 35e95e63995f3e52178db4b769120ce60deb6b54 tree 17e81624cd6af0cf645948a175160a62f29b07c8 parent 8b150478aeb1a8edb9015c2f7ac4da637ff65c45 author Olaf Hering Fri, 28 Oct 2005 17:46:19 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:35:00 +1000 [PATCH] ppc32: nvram driver for chrp This implements a nvram acccess method, similar to arch/ppc64/kernel/pSeries_nvram.c tested on CHRP B50. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8b150478aeb1a8edb9015c2f7ac4da637ff65c45 tree 621b038b9c041fe82b708c6c5cbee655be2a519a parent d49b340124a34fcb8bceda472558ccef7232c16f author Roland Dreier Fri, 28 Oct 2005 17:46:18 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:25:49 +1000 [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses Change the phys_mem_access_prot() function to take a pfn instead of an address. This allows mmap64() to work on /dev/mem for addresses above 4G on 32-bit architectures. We start with a pfn in mmap_mem(), so there's no need to convert to an address; in fact, it's actively bad, since the conversion can overflow when the address is above 4G. Similarly fix the ppc32 page_is_ram() function to avoid a conversion to an address by directly comparing to max_pfn. Working with max_pfn instead of high_memory fixes page_is_ram() to give the right answer for highmem pages. Signed-off-by: Roland Dreier Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 360ac8e2f1a38c3497739636c3b702352d1ad0ae tree f671d3ec4071a1be3bce97bcff2c8c759e597e88 parent e83b860539d0ac1b3cff868178fa79c457e0c21f author Stephen Hemminger Tue, 25 Oct 2005 15:03:41 -0700 committer Arnaldo Carvalho de Melo Sat, 29 Oct 2005 02:23:58 -0200 [ETH]: ether address compare Expose faster ether compare for use by protocols and other driver. And change name to be more consistent with other ether address manipulation routines in same file Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit e83b860539d0ac1b3cff868178fa79c457e0c21f tree 1e7aa728f8c34c771c31b42514e23fbd17097436 parent 974f7bc5781d3fc16e32d8908c6e48592e767dd2 author Akinobu Mita Fri, 21 Oct 2005 18:00:48 +0900 committer Arnaldo Carvalho de Melo Sat, 29 Oct 2005 02:16:31 -0200 [TCP]: fix tcp_tso_win_divisor documentation The default value for tcp_tso_win_divisor is 3. Signed-off-by: Akinobu Mita Signed-off-by: Arnaldo Carvalho de Melo commit d49b340124a34fcb8bceda472558ccef7232c16f tree 857c9aa0f61e83e304382fa97185631400b285ef parent 434cc69fbb02dd7ca64c5029dc6a6f9636f77e02 author Olaf Hering Fri, 28 Oct 2005 17:46:17 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:12:39 +1000 [PATCH] ppc32: update xmon help text Mention a few more commands in xmon. System.map processing was replaced with kallsyms. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 tree 525271129ff9c692defdd20566f1f7203b18ff24 parent 1f419cadff55f548e7356ffebdb9e1b5a8c22275 parent 0e1f60609258e18ec0a0477c646101212822d387 author Linus Torvalds Fri, 28 Oct 2005 21:09:26 -0700 committer Linus Torvalds Fri, 28 Oct 2005 21:09:26 -0700 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 1f419cadff55f548e7356ffebdb9e1b5a8c22275 tree 07c04d053322e9913a6b445b2fe00510299e97cf parent 974f7bc5781d3fc16e32d8908c6e48592e767dd2 parent 4303fc6f055cf1a7ec63c3c3fd777b91b7d576f1 author Linus Torvalds Fri, 28 Oct 2005 21:08:14 -0700 committer Linus Torvalds Fri, 28 Oct 2005 21:08:14 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 commit 434cc69fbb02dd7ca64c5029dc6a6f9636f77e02 tree 09f88c57bb9a6fe1bd30516bfbc3a2877a6d08ac parent d5f7b06b036afc2cb250decb2c76b7f82c5de639 author Marcelo Tosatti Fri, 28 Oct 2005 17:46:15 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:43 +1000 [PATCH] ppc32: #ifdef out ALTIVEC specific code in __switch_to #ifdef out an ALTIVEC specific tweak in __switch_to() Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit d5f7b06b036afc2cb250decb2c76b7f82c5de639 tree a4c67d17b5ee7ba23490977bbe74c42201e1d54d parent de957c89b7dadb3147e885d7b6eb9db73d0eea57 author Matt Porter Fri, 28 Oct 2005 17:46:14 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:39 +1000 [PATCH] ppc32: Cleanup AMCC PPC44x eval board U-Boot support Cleanup PPC440 eval boards (bamboo, ebony, luan and ocotea) to better support U-Boot as bootloader. Signed-off-by: Stefan Roese Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit de957c89b7dadb3147e885d7b6eb9db73d0eea57 tree 8d6be34fb3e636924e702a02d87e5396585e590d parent e37b0c9670fed2264661ade1beb5c228dec29c96 author Marcelo Tosatti Fri, 28 Oct 2005 17:46:13 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:35 +1000 [PATCH] MPC8xx PCMCIA driver Here is an uptodated version of the MPC8xx PCMCIA driver for v2.6, addressing comments by Jeff and Dominik: - use IO accessors instead of direct device memory referencing - avoid usage of non-standard "uint/uchar" data types - kill struct typedef's Will submit it for inclusion once v2.6.14 is out. Testing on 8xx platforms is more than welcome! Works like a charm on our custom hardware (CONFIG_PRxK). Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit e37b0c9670fed2264661ade1beb5c228dec29c96 tree 4f23bc5ea578db11de39222aa046804ed9286782 parent 9e3699ea7b8d63eabde7fefa9892e3a258c9c27d author Marcelo Tosatti Fri, 28 Oct 2005 17:46:10 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:27 +1000 [PATCH] ppc32 8xx: use io accessor macros instead of direct memory reference Convert core 8xx drivers to use in_xxxbe/in_xxx macros instead of direct memory references. Other than making IO accesses explicit (which is a plus for readability), a common set of macros provides a unified place for the volatile flag to constraint compiler code reordering. There are several unlucky places at the moment which lack the volatile flag. Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 9e3699ea7b8d63eabde7fefa9892e3a258c9c27d tree 66f9318c92f0f88fdf0dc1b2948faec1d429e8a8 parent f78541dcec327b0c46b150ee7d727f3db80275c4 author Lee Nicks Fri, 28 Oct 2005 17:46:09 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:19 +1000 [PATCH] ppc: prevent GCC 4 from generating AltiVec instructions in kernel Depending on how GCC is built, GCC 4 may generate altivec instructions without user explicitly requesting vector operations in the code. Although this is a performance booster for user applications, it is a problem for kernel. This patch explicitly instruct GCC to NOT generate altivec instructions while building the kernel. Here are some test cases I ran. (1) build gcc 4.0.1 with '--with-cpu=7450 --enable-altivec --enable-cxx-flags=-mcpu=7450', and use this gcc to build kernel WITHOUT this kernel patch. Kernel fail to boot up on a 7450 board because of altivec instructions in kernel. (2) build gcc 4.0.1 with "--with-cpu=7450 --enable-altivec --enable-cxx-flags=-mcpu=7450", and use this gcc to build kernel WITH this kernel patch. Kernel boot up on a 7450 board without any problem. (3) build gcc 4.0.1 with "--with-cpu=750 --enable-cxx-flags=-mcpu=750", and use this gcc to build kernel with or without this kernel patch. Kernel boot up on a 7450 board without any problem. This patch should also work with GCC 3 or even earlier GCC 2.95.3. Signed-off-by: Lee Nicks Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 4303fc6f055cf1a7ec63c3c3fd777b91b7d576f1 tree eb7b222d73540590d25ea539cd691dd281753102 parent 50260b69bbec383058875de26dbde28b1a6f8d00 author Greg Kroah-Hartman Fri, 28 Oct 2005 19:59:31 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 19:59:31 -0700 USB: fix up some odd parts due to partial merges Thanks to Andrew for doing the hard work on this. Signed-off-by: Greg Kroah-Hartman commit 19a7b4aebf9ad435c69a7e39930338499af4d152 tree 6d1c4cbc822009c8facb219dcd955d52070655d1 parent 422c0d61d591cbfb70f029e13505fb437e169d68 author James.Smart@Emulex.Com Tue, 18 Oct 2005 12:03:35 -0400 committer James Bottomley Fri, 28 Oct 2005 21:20:07 -0500 [SCSI] update fc_transport for removal of block/unblock functions We recently went back to implement a board reset. When we perform the reset, we wanted to tear down the internal data structures and rebuild them. Unfortunately, when it came to the rport structure, things were odd. If we deleted them, the scsi targets and sdevs would be torn down. Not a good thing for a temporary reset. We could block the rports, but we either maintain the internal structures to keep the rport reference (perhaps even replicating what's in the transport), or we have to fatten the fc transport with new search routines to find the rport (and deal with a case of a dangling rport that the driver forgets). It dawned on me that we had actually reached this state incorrectly. When the fc transport first started, we did the block/unblock first, then added the rport interface. The purpose of block/unblock is to hide the temporary disappearance of the rport (e.g. being deleted, then readded). Why are we making the driver do the block/unblock ? We should be making the transport have only an rport add/delete, and the let the transport handle the block/unblock. So... This patch removes the existing fc_remote_port_block/unblock functions. It moves the block/unblock functionality into the fc_remote_port_add/delete functions. Updates for the lpfc driver are included. Qlogic driver updates are also enclosed, thanks to the contributions of Andrew Vasquez. [Note: the qla2xxx changes are relative to the scsi-misc-2.6 tree as of this morning - which does not include the recent patches sent by Andrew]. The zfcp driver does not use the block/unblock functions. One last comment: The resulting behavior feels very clean. The LLDD is concerned only with add/delete, which corresponds to the physical disappearance. However, the fact that the scsi target and sdevs are not immediately torn down after the LLDD calls delete causes an interesting scenario... the midlayer can call the xxx_slave_alloc and xxx_queuecommand functions with a sdev that is at the location the rport used to be. The driver must validate the device exists when it first enters these functions. In thinking about it, this has always been the case for the LLDD and these routines. The existing drivers already check for existence. However, this highlights that simple validation via data structure dereferencing needs to be watched. To deal with this, a new transport function, fc_remote_port_chkready() was created that LLDDs should call when they first enter these two routines. It validates the rport state, and returns a scsi result which could be returned. In addition to solving the above, it also creates consistent behavior from the LLDD's when the block and deletes are occuring. Rejections fixed up and Signed-off-by: James Bottomley commit 422c0d61d591cbfb70f029e13505fb437e169d68 tree ebafa14e1c1564ddf263868c3b6907642a8fdf1e parent 017560fca496f72ed9dd734ffde63ce39dfe0411 author Jeff Garzik Mon, 24 Oct 2005 18:05:09 -0400 committer James Bottomley Fri, 28 Oct 2005 21:10:16 -0500 [SCSI] use scmd_id(), scmd_channel() throughout code Wrap a highly common idiom. Makes the code easier to read, helps pave the way for sdev->{id,channel} removal, and adds a token that can easily by grepped-for in the future. There are a couple sdev_id() and scmd_printk() updates thrown in as well. Rejections fixed up and Signed-off-by: James Bottomley commit 017560fca496f72ed9dd734ffde63ce39dfe0411 tree e63ae9a28fc179e715eda32f12aaec4ca752651b parent 3bf743e7c891d8be8295650b7a6a9b5af083b096 author Jeff Garzik Mon, 24 Oct 2005 18:04:36 -0400 committer James Bottomley Fri, 28 Oct 2005 21:04:15 -0500 [SCSI] use sfoo_printk() in drivers Rejections fixed up and Signed-off-by: James Bottomley commit 3bf743e7c891d8be8295650b7a6a9b5af083b096 tree cb44772c2ca37f696300ca197b89e247f83c94d7 parent 01d7b3b8d09ef78e2c835c03d97ea1d91c26e245 author Jeff Garzik Mon, 24 Oct 2005 18:04:06 -0400 committer James Bottomley Fri, 28 Oct 2005 20:52:11 -0500 [SCSI] use {sdev,scmd,starget,shost}_printk in generic code rejections fixed and Signed-off-by: James Bottomley commit 01d7b3b8d09ef78e2c835c03d97ea1d91c26e245 tree 1e9d9744ea19788f8cd11c5547957325d21bb5bc parent 13ec92b33e4f41b81b3a237ad1d9a588a81f2f03 author Jeff Garzik Mon, 24 Oct 2005 18:03:34 -0400 committer James Bottomley Fri, 28 Oct 2005 20:47:24 -0500 [SCSI] introduce sfoo_printk, sfoo_id, sfoo_channel helpers New dev_printk wrappers, which allow us to shrink code, and eliminate direct references to host/channel/id/lun members: scmd_printk() Introduce wrappers for highly common idioms, which may also help us eliminate some ->{channel,id} references in the future: {scmd,sdev}_id() {scmd,sdev}_channel() The scmd_* wrappers are present in scsi/scsi_device.h because they all employ the dereference chain cmd->device->$member. We would prefer to use static inline functions rather than macros, but that would have a Rejections fixed up and Signed-off-by: James Bottomley commit 974f7bc5781d3fc16e32d8908c6e48592e767dd2 tree ad36a9c4d93a138fbcd02c1df9fa3a3a321e0cc2 parent 89fbb69c4f285019ba5e029963dc11cc6beb078a parent 64a0c1c81e300f0f56f26604c81040784e3717f0 author Arnaldo Carvalho de Melo Fri, 28 Oct 2005 23:35:02 -0200 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 23:35:02 -0200 Merge master.kernel.org:/pub/scm/linux/kernel/git/sridhar/lksctp-2.6 commit 5615ca7906aefbdc3318604c89db5931d0a25910 tree c34bcc7e314f49005ad88ac84c908128729c0329 parent 7a9f8f93d2dad38f30fbc79d8a1e6517373aa4b6 parent 9dfb7808fb05643b0d06df7411b94d9546696bf1 author Jeff Garzik Fri, 28 Oct 2005 21:32:01 -0400 committer Jeff Garzik Fri, 28 Oct 2005 21:32:01 -0400 Merge branch 'upstream' commit 13ec92b33e4f41b81b3a237ad1d9a588a81f2f03 tree c4fbddf53e80c3f93ccd09e2a08ea3ac13322ef7 parent 91ca7b01ecc916632202180569a7ddbfccfc3f05 author Jeff Garzik Mon, 24 Oct 2005 18:01:11 -0400 committer James Bottomley Fri, 28 Oct 2005 20:29:18 -0500 [SCSI] kill unused scsi_scan_single_target() Signed-off-by: James Bottomley commit 91ca7b01ecc916632202180569a7ddbfccfc3f05 tree d26c8af7ba9d06f6b04e85270dbce0dad0624668 parent f9a2d2e0c89f73f0203fa796101089c2bce31974 author Andrew Vasquez Thu, 27 Oct 2005 16:03:37 -0700 committer James Bottomley Fri, 28 Oct 2005 19:35:25 -0500 [SCSI] Add an 'Issue LIP' device attribute in fc_transport class Ok, here's a patch to add such a common API for fc transport users. Relevant LLD changes (lpfc and qla2xxx) also present. Signed-off-by: James Bottomley commit f9a2d2e0c89f73f0203fa796101089c2bce31974 tree f44772f86144a72eac540fd76340bc71e3c52299 parent da4fa65596733914b3c21fdffa02593959c67f56 author Christoph Hellwig Wed, 19 Oct 2005 20:01:47 +0200 committer James Bottomley Fri, 28 Oct 2005 19:10:34 -0500 [SCSI] mptsas: white space fixes and version bump Various whitespace and comment fixes from Eric, aswell as a version bump. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit da4fa65596733914b3c21fdffa02593959c67f56 tree 6a918d3feb6fe266e90dd4634775ae749bade6d0 parent 07ba3a954714da10cbd3f6249d93ac2c1df72c4f author Christoph Hellwig Wed, 19 Oct 2005 20:01:42 +0200 committer James Bottomley Fri, 28 Oct 2005 19:09:31 -0500 [SCSI] mptsas: add support for PHY resets Support PHY resets in mptsas. Thanks to Eric for various bug fixes and improvements. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 07ba3a954714da10cbd3f6249d93ac2c1df72c4f tree dae82d40a97df0e1d7f377d9738866a453d699b2 parent ac01bbbd3b7ebfca64357aed12cf476b16abe3ce author Christoph Hellwig Wed, 19 Oct 2005 20:01:31 +0200 committer James Bottomley Fri, 28 Oct 2005 19:08:03 -0500 [SCSI] sas: add support for PHY resets Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit ac01bbbd3b7ebfca64357aed12cf476b16abe3ce tree e0ab34ebdabb88f31a0b06321df5c7ff7122455a parent 80d904c43b11105c16395b240078ccc2f7ac6074 author Christoph Hellwig Wed, 19 Oct 2005 20:01:17 +0200 committer James Bottomley Fri, 28 Oct 2005 19:06:45 -0500 [SCSI] sas: add flag for locally attached PHYs Add a flag to mark a PHY as attached to the HBA as opposed to beeing on an expander. This is needed because various features are only supported on those. This is a crude hack, the proper fix would be to use different classes for host-attached vs expander phys. I'm looking into that. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 50260b69bbec383058875de26dbde28b1a6f8d00 tree 5e2ac6a032807373838710138edeba78fd056108 parent bde621854f1958a6000834c7c089b528118e5a9a author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:53 -0700 [PATCH] USB: add nokia_dku2 driver This driver comes from the gnokii project. Was further cleaned up by me to match recent usb-serial core changes. Signed-off-by: Greg Kroah-Hartman commit bde621854f1958a6000834c7c089b528118e5a9a tree 0f4272704dae9aa37700f7f66359ee9fe62a6768 parent 46a0cf81828535fb3c200bc4fffdb8d69f4bf396 author Martin Hagelin Wed, 26 Oct 2005 21:10:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: add new device id to ftdi_sio module This is a patch to get the ELV FHZ1000 Home Automation control device to work with Linux. The patch adds a new device ID to the ftdi_sio driver. It is for kernel version 2.6.13.4. Signed-off-by: Martin Hagelin Signed-off-by: Greg Kroah-Hartman commit 46a0cf81828535fb3c200bc4fffdb8d69f4bf396 tree 4f923e2d8e83961ac931f8c4496081d873372088 parent 9a7834d06d553d02cc6e659e94772f69a8b5367f author Koen Kooi Wed, 26 Oct 2005 19:42:53 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: fix correct wording in drivers/usb/net/KConfig Signed-off-by: Koen Kooi commit 9a7834d06d553d02cc6e659e94772f69a8b5367f tree 9ca891740becd9a090565bc3d73f8da2c2ea54d3 parent db2d55b7f7f11823b8d2e5f0c706c7a264320d1b author Andrew Morton Sun, 23 Oct 2005 23:02:20 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: fix pm patches with CONFIG_PM off part 2 With CONFIG_PM=n: drivers/built-in.o(.text+0x1098c): In function `hub_thread': drivers/usb/core/hub.c:2673: undefined reference to `.dpm_runtime_resume' drivers/built-in.o(.text+0x10998):drivers/usb/core/hub.c:2674: undefined reference to `.dpm_runtime_resume' Please, never ever ever put extern decls into .c files. Use the darn header files :( Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit db2d55b7f7f11823b8d2e5f0c706c7a264320d1b tree 0bf92c677b80042eb2bad6012936f5584e2e4ecb parent 4f62efe67f077db17dad03a1d4c9665000a3eb45 author Andrew Morton Sun, 23 Oct 2005 23:04:25 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] USB: fix pm patches with CONFIG_PM off part 1 With CONFIG_PM=n: drivers/built-in.o(.text+0x2a69c): In function `ohci_hub_control': drivers/usb/host/ohci-hub.c:539: undefined reference to `.usb_hcd_resume_root_hub' drivers/built-in.o(.text+0x2b920): In function `ohci_irq': drivers/usb/host/ohci-hcd.c:726: undefined reference to `.usb_hcd_resume_root_hub' Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 4f62efe67f077db17dad03a1d4c9665000a3eb45 tree 27f1837fd08ce3dccb94a88a5afef6eb1a5ed738 parent 16f16d117c1eb99451e4c73c87546eef05c66790 author Alan Stern Mon, 24 Oct 2005 16:24:14 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Fix handling of sysfs strings and other attributes This patch (as592) makes a few small improvements to the way device strings are handled, and it fixes some bugs in a couple of other sysfs attribute routines. (Look at show_configuration_string() to see what I mean.) Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 16f16d117c1eb99451e4c73c87546eef05c66790 tree 9f08a567e25f97a8d7ee0715657067013fb3467c parent 0a1ef3b5a765a6f20e7b8caf295aad3276243966 author Alan Stern Mon, 24 Oct 2005 15:41:19 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] USB: Fix maxpacket length for ep0 on root hubs This patch (as591) fixes a rather innocuous bug that has been around for quite a long time: Virtual root hubs should have a maxpacket length of 64 for endpoint 0. I didn't realize it was wrong until I started looking through the endpoint attribute files. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0a1ef3b5a765a6f20e7b8caf295aad3276243966 tree 31d2bc231306e3ed6ed81512e460e32d00bfc730 parent b724ae77969fd832be71419dca74bece9af287ff author Alan Stern Mon, 24 Oct 2005 15:38:24 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Use kzalloc instead of kmalloc/memset This patch (as590) fixes up all the remaining places where usbcore can use kzalloc rather than kmalloc/memset. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit b724ae77969fd832be71419dca74bece9af287ff tree a38ed0337bf012db4c8deec2c33d3e4ff78a2b6a parent 0e6c8e8db508fcb292836b23d039649c5de29090 author Alan Stern Mon, 24 Oct 2005 15:36:00 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Wrap lines before column 80 I can't stand text lines that wrap-around in my 80-column windows. This patch (as589) makes cosmetic changes to a couple of source files. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0e6c8e8db508fcb292836b23d039649c5de29090 tree 5a65aa48c6dbc5c81d1665802d4e632c64b850e3 parent be69e5b1900a19a545becda822b18d6f09168ba5 author Alan Stern Mon, 24 Oct 2005 15:33:03 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: endpoint attributes track altsetting changes This patch (as588) fixes the way endpoint attribute files are registered and unregistered. Now they will correctly track along with altsetting changes. This fixes bugzilla entry #5467. In a separate but related change, when a usb_reset_configuration call fails, the device state is not changed to USB_STATE_ADDRESS. In the first place, failure means that we don't know what the state is, not that we know the device is unconfigured. In the second place, doing this can potentially lead to a memory leak, since usbcore might not realize there still is a current configuration that needs to be destroyed. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit be69e5b1900a19a545becda822b18d6f09168ba5 tree 7730b17e403cc03ea7c7cee8fc56f06171af0ebe parent e52783206ada0c0276c8dd74c0ecd0007ead7c00 author Alan Stern Tue, 25 Oct 2005 15:56:06 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] usbcore: Improve endpoint sysfs file handling This revised patch (as587b) improves the implementation of USB endpoint sysfs files. Instead of storing a whole bunch of attributes for every single endpoint, each endpoint now gets its own kobject and they can share a static list of attributes. The number of extra fields added to struct usb_host_endpoint has been reduced from 4 to 1. The bEndpointAddress field is retained even though it is redundant (it repeats the same information as the attributes' directory name). The code avoids calling kobject_register, to prevent generating unwanted hotplug events. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit e52783206ada0c0276c8dd74c0ecd0007ead7c00 tree 6714a61666247613d585e1bad5f007da0de49056 parent 72129cd6577793408ff546b0ddd5794c33f32399 author Phil Dibowitz Sun, 23 Oct 2005 23:52:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] USB Storage: Expand range of Freecom unusual_devs entry Freecom seems to be one of those vendors that can't get the GET CAPACITY thing right. This expands the US_FL_FIX_CAPACITY flag for the entire range of their fccd product line. This is based on a patch sent by Stuart Black . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 72129cd6577793408ff546b0ddd5794c33f32399 tree c60564a0cd92d95d1c6d3830fee8c034df112abf parent 3f13e66e219238e025ff561d69826da9342c3f4a author Alexey Dobriyan Tue, 25 Oct 2005 23:34:03 +0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] mdc800: remove embrions of C++ exceptions Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit 3f13e66e219238e025ff561d69826da9342c3f4a tree ff0fd93b0119975d45f2a55f49d2c897b0fc1ec0 parent ce2596df79ddbac605a290f4c7cf011cb40524fc author Alan Stern Sun, 23 Oct 2005 19:43:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: use kthread API This patch is originally from Alan Stern (as569). It has been rediffed against a current tree. This patch converts usb-storage to use the kthread API for creating its control and scanning threads. The new code doesn't use kthread_stop because the threads need (or will need in the future) to exit asynchronously. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit ce2596df79ddbac605a290f4c7cf011cb40524fc tree 59b4a7a91c429d6499d30fa74eeec8f3ad2bfa70 parent bbafa4668f37f5093a3ae2a8b0cbe327e24e12da author Alan Stern Sun, 23 Oct 2005 19:41:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: implement minimal PM This patch from Alan Stern started as as568. It has been rediffed against a current tree. This patch adds minimal suspend/resume support to usb-storage. Just enough for it to qualify as PM-aware. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit bbafa4668f37f5093a3ae2a8b0cbe327e24e12da tree e679db87309810e8da8092ffcb3df5a9dd7323e0 parent b876aef7f890d8c59a45b78858a36cf60fddf522 author Alan Stern Sun, 23 Oct 2005 19:40:22 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: allocate separate sense buffer This patch is from Alan Stern (as560). It has been rediffed against a current tree. This patch allocates a separate buffer for usb-storage to use when auto-sensing. Up to now we have been using the sense buffer embedded in a scsi_cmnd struct, which is dangerous on hosts that (a) don't do cache-coherent DMA or (b) have DMA alignment restrictions. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit b876aef7f890d8c59a45b78858a36cf60fddf522 tree c8211d093fc0ab4ec04d3adaf8388253aa73d0bf parent 423e489d704d05c6e8c2927fb1854db85914912a author Alan Stern Sun, 23 Oct 2005 19:38:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: move GetMaxLUN later in time This patch is originally from Alan Stern (as557). It has been re-diffed against a current tree, and I also corrected a minor merging error. Some time ago we introduced a delay before device scanning, because many devices do not like to receive SCSI commands right after enumeration. Now it turns out there's a device that doesn't like to receive Get-Max-LUN right after enumeration either. Accordingly this patch delays the Get-Max-LUN request until the beginning of the scanning procedure. This fixes Bugzilla entry #5010. Three things are worth noting. First, I removed the locking code from usb_stor_acquire_resources. It's not needed, because the locking is to protect against disconnect events and acquire_resources is only called during probe (so the disconnect routine can't be called). Second, I initialized to 0 the buffer used for the Get-Max-LUN response. It's not really necessary, but it will prevent random values from showing up in the debugging log when the request fails. Third, I added a test against the SINGLE_LUN flag. This will allow us to use the flag to indicate Bulk-only devices that can't handle Get-Max-LUN. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 423e489d704d05c6e8c2927fb1854db85914912a tree a4045f348d2b2ddd232ae6eddf103ccc32e7c5a6 parent 478a3bab8c87a9ba4a4ba338314e32bb0c378e62 author Alan Stern Wed, 19 Oct 2005 13:06:13 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] hid-core: Add Clear-Halt on the Interrupt-in endpoint This patch (as577) adds a Clear-Halt call on the Interrupt-in endpoint during input device configuration. Without it my HP USB keyboard doesn't work. Vojtech says it's worth trying, since it might help with some recalcitrant devices. On the other hand, it might interfere with others. I'm submitting it so that it can get tested by a range of users. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 478a3bab8c87a9ba4a4ba338314e32bb0c378e62 tree 37e07a18952706e76b36c782ac095c17b0bc8e11 parent 46f116eab81b21c6ae8c4f169498c632b1f94bf1 author Alan Stern Wed, 19 Oct 2005 12:52:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Always do usb-handoff This revised patch (as586b) makes usb-handoff permanently true and no longer a kernel boot parameter. It also removes the piix3_usb quirk code; that was nothing more than an early version of the USB handoff code (written at a time when Intel's PIIX3 was about the only motherboard with USB support). And it adds identifiers for the three PCI USB controller classes to pci_ids.h. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 46f116eab81b21c6ae8c4f169498c632b1f94bf1 tree b5165e2e57748140be4dc3fbf7063fdba721c26c parent eb3c5ed8617d0aa67648cb7d1a486d14099129f2 author Oliver Neukum Mon, 24 Oct 2005 22:42:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: cdc-acm patch to use kzalloc another one to use kzalloc. Please apply. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit eb3c5ed8617d0aa67648cb7d1a486d14099129f2 tree 60eafa678fb9c73169a5e5a83fc70aa8a74ad50d parent f2d45cd976682a3566c8cf30cefe91eb43ab6005 author David Eriksson Tue, 18 Oct 2005 20:12:24 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Improving the set of vendor/product IDs in the ipaq driver This is a patch improving the set of vendor/product IDs used in the "ipaq" USB serial device driver. The patch size is because I sorted the ids this time, forgot about that last time. Changes: - Added vendor/product identifiers for Psion Teklogix devices - Restored Microsoft's identifier pair 045e/00ce - Sorted list of vendor/product identifiers Signed-off-by: David Eriksson Signed-off-by: Ganesh Varadarajan Signed-off-by: Greg Kroah-Hartman commit f2d45cd976682a3566c8cf30cefe91eb43ab6005 tree 325133a80bc8a2b6ce826ac7caa930d19825bbc1 parent 61eded6e06a1f4bdbf707b69da904ba9f3eb2f0a author Guillaume GOURAT / Fri, 21 Oct 2005 14:01:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Kaweth.c udelay patch On some arch (like arm) udelay cannot be called with value greater that 2000. Signed-off-by: Guillaume GOURAT / guillaume.gourat@nexvision.fr Signed-off-by: Oliver Neukum commit 61eded6e06a1f4bdbf707b69da904ba9f3eb2f0a tree 60310714bf8575fd7ada76581793dfe6871fa3b2 parent dcab4eaf77ccd8779c715da3c5db0a82874fa645 author Oliver Neukum Mon, 24 Oct 2005 22:37:20 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: microtek patch to use kzalloc here is another one to use kzalloc. Please apply. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit dcab4eaf77ccd8779c715da3c5db0a82874fa645 tree e620490b32f02ebefe5db448b3545f71732e1863 parent 7521803dcc0137668bb30483383092a647671d8b author Simeon Simeonov Wed, 19 Oct 2005 11:32:14 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB: storage patch for LEICA camera On Tue, 18 Oct 2005, Simeon Simeonov wrote: > Attached is a patch that solves mounting problems for > LEICA D-LUX camera with FC4 2.6.13 kernel. > > Let me know if you have some questions. Looks okay to me. Given that the previous entry uses the full 0000 - 9999 range, I guess this one can also. The vendor name is a little odd (it will give us three different vendor names all in entries with the same vendor ID) but that doesn't really matter either. Signed-off-by: Alan Stern Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 7521803dcc0137668bb30483383092a647671d8b tree ab260e1d91991fa6d8bf5fd78321bb9c163a6b13 parent 17a882fc0c91477b2582a6dfd4ca93ae7eb58cd3 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB: always export interface information for modalias This fixes a problem with some cdc acm devices that were not getting automatically loaded as the module alias was not being reported properly. This check was for back in the days when we only reported hotplug events for the main usb device, not the interfaces. We should always give the interface information for MODALIAS/modalias as it can be needed. Signed-off-by: Greg Kroah-Hartman commit 17a882fc0c91477b2582a6dfd4ca93ae7eb58cd3 tree 64b0bead1565c9f41b1eea69e9bcbfad997459ad parent 269bda1c123c7caf88e1deb2264f9086f0344192 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: remove driver version from a few drivers These numbers are pointless, as they have not been changed in _years_, so we should just remove them to stop pretending there is an actual "version number" for these drivers. This should also help reduce confusion when people try to ask for support of a specific driver version, as there has been no way to tell what they are talking about. Signed-off-by: Greg Kroah-Hartman commit 269bda1c123c7caf88e1deb2264f9086f0344192 tree c83d9944e0acdc40c9040cbccfb9ec7d606bdd2c parent 502b95c1cc9e2c855a26f90fc999c5211b8ba957 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: move name to driver structure This fixes up a lot of problems in sysfs with some of the usb serial drivers, they had incorrect driver names. Also saves a tiny ammount of memory. Signed-off-by: Greg Kroah-Hartman commit 502b95c1cc9e2c855a26f90fc999c5211b8ba957 tree 6fbbd76930a955728363fb3e3e58bc2aaee7be53 parent 18fcac353fdc7cd072b0d24c8667042e675a4c11 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: move old changelog comments out of source code Create a new file just for these things, as they just get in the way in the source files. Signed-off-by: Greg Kroah-Hartman commit 18fcac353fdc7cd072b0d24c8667042e675a4c11 tree 7cbbcfccf999193e78ff86d9dc3ff1e41ec3b0bf parent ea65370d025f5005649e5cb37c4d025e92c6fc38 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: get rid of the .owner field in usb_serial_driver Don't duplicate something that's already in struct driver. Signed-off-by: Greg Kroah-Hartman commit ea65370d025f5005649e5cb37c4d025e92c6fc38 tree 554476fb8c69fc0f0f7dc5e2287f4c9cec1a26d6 parent a6c82600d4058346ea6fd801bc21d7abcc1350d8 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:47 -0700 [PATCH] USB Serial: rename usb_serial_device_type to usb_serial_driver I'm tired of trying to explain why a "device_type" is really a driver. This better describes exactly what this structure is. Signed-off-by: Greg Kroah-Hartman commit a6c82600d4058346ea6fd801bc21d7abcc1350d8 tree 7606fe0113b4548d4d25fc846c5973a603457826 parent c36fc889b5a4fd66cfd9ba80d9e038745d349567 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:47 -0700 [PATCH] USB: delete the bluetty driver We have a real Bluetooth system in Linux, lets finally delete this driver as no one is using it (and if they are, they are using a closed source bluetooth stack, which I can't support anyway.) Marcel, you owe me a beer :) Signed-off-by: Greg Kroah-Hartman commit c36fc889b5a4fd66cfd9ba80d9e038745d349567 tree c49f295dfdf53a4c6f495be8414497f2cdf4a4d3 parent 72adaa962741e8e910300b66bb123b1a9c31a8a8 author Pete Zaitcev Mon, 17 Oct 2005 18:15:54 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] usb: Patch for USBDEVFS_IOCTL from 32-bit programs Dell supplied me with the following test: #include #include #include #include #include main(int argc,char*argv[]) { struct usbdevfs_hub_portinfo hubPortInfo = {0}; struct usbdevfs_ioctl command = {0}; command.ifno = 0; command.ioctl_code = USBDEVFS_HUB_PORTINFO; command.data = (void*)&hubPortInfo; int fd, ret; if(argc != 2) { fprintf(stderr,"Usage: %s /proc/bus/usb//\n",argv[0]); fprintf(stderr,"Example: %s /proc/bus/usb/001/001\n",argv[0]); exit(1); } errno = 0; fd = open(argv[1],O_RDWR); if(fd < 0) { perror("open failed:"); exit(errno); } errno = 0; ret = ioctl(fd,USBDEVFS_IOCTL,&command); printf("IOCTL return status:%d\n",ret); if(ret<0) { perror("IOCTL failed:"); close(fd); exit(3); } else { printf("IOCTL passed:Num of ports %d\n",hubPortInfo.nports); close(fd); exit(0); } return 0; } I have verified that it breaks if built in 32 bit mode on x86_64 and that the patch below fixes it. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 72adaa962741e8e910300b66bb123b1a9c31a8a8 tree 3847dca1d8dadc31df3c7e3275cac8592603be33 parent 54a5c4cd2e4ec0b27c2c3731727f52591456086c author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbmon to use usb notifiers This also removes 2 usbmon callbacks. Signed-off-by: Greg Kroah-Hartman commit 54a5c4cd2e4ec0b27c2c3731727f52591456086c tree 7a76e82b85594a3feefc0210bfdeea94d279300c parent a7b986b3e107727dd1c1af0ead0b5e52d7726db3 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbfs/inode.c to use usb notifiers Signed-off-by: Greg Kroah-Hartman commit a7b986b3e107727dd1c1af0ead0b5e52d7726db3 tree bc9b81342469fa5c4eddaf16b852e7f45b734b26 parent 3099e75a7ccc3c5b0a4cf988a76d9c4a7fa5e91a author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbfs/devio.c to use usb notifiers Signed-off-by: Greg Kroah-Hartman commit 3099e75a7ccc3c5b0a4cf988a76d9c4a7fa5e91a tree 8b1e7e5ddf097b347717e64aefb14ab33c9b2f90 parent 4592bf5a22593704bb9e8c584a81bf6ca4f6cfec author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: add notifier functions to the USB core for devices and busses This should let us get rid of all of the different hooks in the USB core for when something has changed. Also, some other parts of the kernel have wanted to know this kind of information at times. Signed-off-by: Greg Kroah-Hartman commit 4592bf5a22593704bb9e8c584a81bf6ca4f6cfec tree ae30096f376f6922367fd427bcd6594bd866796a parent 3e8a556a02d5aa16375d4d74aad0f67cd844c047 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: remove the global function usbdev_lookup_minor It's only used locally. Signed-off-by: Greg Kroah-Hartman commit 3e8a556a02d5aa16375d4d74aad0f67cd844c047 tree 6b89e900d6847916e50cb30efd25e38721db6558 parent efa400db5332ba341cc354c9d8a5298ff57faa98 author Alan Stern Tue, 18 Oct 2005 10:08:31 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] Missing transfer_flags setting in usbtest This patch (as582) adds a missing transfer_flags setting to the usbtest driver. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit efa400db5332ba341cc354c9d8a5298ff57faa98 tree c7c5084e0a329813b38ca2d43f9d04c3eef2a0f4 parent d0d5049fb02fc1082c17e08deecd6fed8db549b6 author Ben Dooks Mon, 10 Oct 2005 02:32:15 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: add owner initialisation to host drivers Add .owner initialisation to the device drivers in drivers/usb/host so that when built as module the device_driver refers to the owning module Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit d0d5049fb02fc1082c17e08deecd6fed8db549b6 tree 831b9345598e4074ca6168d65c393229130be866 parent a85ee6b50c8a1fca4034c8d6b21c91a8de171e01 author Ben Dooks Mon, 10 Oct 2005 10:52:33 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: gadget drivers - add .owner initialisation Ensure the the device_driver and usb_gadget_driver have their .owner fields initialised to associate the module owner to the driver. Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit a85ee6b50c8a1fca4034c8d6b21c91a8de171e01 tree 918db1cf85b59641ff3802273b7a27d32ecd3303 parent 4e67185a7ac3ecb1710e636e2f7e318e99298c7a author Ben Dooks Mon, 10 Oct 2005 01:23:50 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: S3C2410 OHCI - add driver owner field Initialise the .owner field of the driver with the module that owns it, to aid in linking drivers to modules. Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit 4e67185a7ac3ecb1710e636e2f7e318e99298c7a tree 035fa1745baa6490425d44dc126c72ddc366497f parent f37be9b9be3ebc02d2d075d7f53f7802f3e005db author Juha Yrj?l? Sun, 16 Oct 2005 15:47:04 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] add usb transceiver set_suspend() method When a USB device is put into suspend mode, the current drawn from VBUS has to be less than 500 uA. Some transceivers need to be put into a special power-saving mode to accomplish this, and won't have a separate OTG driver handling that. This adds a suspend method to the "otg_transceiver" struct -- misnamed, it's not only for OTG -- and calls it from the OMAP UDC driver. Signed-off-by: Juha Yrj?l? Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f37be9b9be3ebc02d2d075d7f53f7802f3e005db tree 5e1ece040e94e2453d828c7f203d4d23a7b84d5c parent cb97c5c9d0789d65d7ec42a80946fa9eb2ec5182 author Alan Stern Mon, 17 Oct 2005 10:42:06 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] Fix hcd->state assignments in uhci-hcd This patch (as581) changes the assignments to hcd->state in the uhci-hcd driver. It fixes part of bugzilla entry #5227. The problem was revealed by David's large suite of USB suspend/resume patches; this patch should go to Linus at the same time those do. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit cb97c5c9d0789d65d7ec42a80946fa9eb2ec5182 tree 825fd67b5f945b31a5649bcfa1eaf5543cf93e5c parent 1fcb4454cbada6dc495302172ac0412aa7d35fd4 author David Brownell Sun, 16 Oct 2005 15:06:51 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] omap_udc dma off-by-one fix The change to make DMA work two bytes at a time omitted an important tweak that affects the file_storage gadget: it needs to recognize when the host writes an odd number of bytes. (The network layer ignores such extra bytes.) This patch resolves that issue by checking the relevant bit and adjusting the rx byte count, so that for example a legal 13 byte request doesn't morph into an illegal 14 byte one any more. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1fcb4454cbada6dc495302172ac0412aa7d35fd4 tree f8e441fe2466e8632214f36bc11316131ce01ed6 parent af64a5ebb817532965d18b792d6d74afecfb0bcf author Randy Dunlap Sat, 15 Oct 2005 22:03:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] usb doc: fix kernel-doc warning usb/core/buffer.c doesn't export any symbols, so it should use !I instead of !E to eliminate this warning message: Warning(/var/linsrc/linux-2614-rc4//drivers/usb/core/buffer.c): no structured comments found Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit af64a5ebb817532965d18b792d6d74afecfb0bcf tree 7ecbcf59e4a79fdd8bef4e0874aa5abce8b91add parent b81d34363c0b17c47f4ef63d5888c4f47f315d29 author Henk Wed, 12 Oct 2005 15:02:56 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] USB: Buffer overflow patch for Yealink driver Just a small patch that fixes a small parameter validation bug. drivers/usb/input/map_to_7segment.h: This patch fixes the broken parameter validation in the char to seg7 conversion. This could cause out-of-bounds memory references. MAINTAINERS: Yealink maintainer info now in sorted order. Documentation/input/yealink.txt: Added a Q&A section that answers some common questions. Signed-off-by: Henk Signed-off-by: Greg Kroah-Hartman 006491df1a13f85ad245d1039dfdf20e49c394fd commit b81d34363c0b17c47f4ef63d5888c4f47f315d29 tree af4151e7d296da8f9e9a493ed81c5513f2454618 parent 0c0382e32d46f606951010b202382be14d180a17 author Alan Stern Thu, 13 Oct 2005 17:00:24 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] UHCI: Improve handling of iso TDs The uhci-hcd driver is fairly lax about the way it handles isochronous transfers. This patch (as579) improves it in three respects: TDs for a new URB aren't added to the schedule until all of them have been allocated. This way there's no risk of the controller executing some of them when an allocation fails. TDs for an unlinked URB are removed from the schedule as soon as the URB is unlinked, rather than waiting until the URB is given back. This way there's no risk of the controller still executing a TD after the URB completes. The urb->error_count values are now reported correctly. Although since they aren't used in any drivers except for debug messages in the system log, probably nobody cares. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0c0382e32d46f606951010b202382be14d180a17 tree 078327baa96637ca6d70bae3c59a16b0ff46f1f1 parent bb200f6eac6372839921be1fe87c1f5c292a7bd6 author Alan Stern Thu, 13 Oct 2005 17:08:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] USB: Rename hcd->hub_suspend to hcd->bus_suspend This patch (as580) is perhaps the only result from the long discussion I had with David about his changes to the root-hub suspend/resume code. It renames the hub_suspend and hub_resume methods in struct usb_hcd to bus_suspend and bus_resume. These are more descriptive names, since the methods really do suspend or resume an entire USB bus, and less likely to be confused with the hub_suspend and hub_resume routines in hub.c. It also takes David's advice about removing the layer of bus glue, where those methods are called. And it implements a related change that David made to the other HCDs but forgot to put into dummy_hcd. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit bb200f6eac6372839921be1fe87c1f5c292a7bd6 tree d55cd6ac5d8b52b96ad766cbd8f31ca85e0e4f8b parent a922c68732725866c88457026cf06a7620846506 author Alan Stern Mon, 03 Oct 2005 16:36:29 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] UHCI: unify BIOS handoff and driver reset code This patch (as574) updates the PCI BIOS usb-handoff code for UHCI controllers, making it work like the reset routines in uhci-hcd. This allows uhci-hcd to drop its own routines in favor of the new ones (code-sharing). Once the patch is merged we can turn the usb-handoff option on permanently, as far as UHCI is concerned. OHCI and EHCI may still have some issues. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a922c68732725866c88457026cf06a7620846506 tree e859a07f850fa62fc7e8494737b9a4830fdb936c parent 3f8c03ee05801bf8539dd136d9246a416c45052a author Alan Stern Thu, 06 Oct 2005 16:38:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] g_file_storage: fix obscure race condition This patch (as575) fixes an unlikely race in the g_file_storage driver. The problem can occur only when the driver is unbound before its initialization routine has finished. I also took the opportunity to replace kmalloc/memset with kzalloc. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3f8c03ee05801bf8539dd136d9246a416c45052a tree 9438829a88eb7229b9eb88a2943b592b7f0f4af8 parent 880a9b5e7f70632ab60131ce3027da1c63fcd39e author Daniel Ritz Wed, 28 Sep 2005 21:30:12 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb/input/touchkit: add more device IDs add two more device IDs from eGalax' programming guide. thanks to Jonathan Hopper for pointing out. Signed-off-by: Daniel Ritz Signed-off-by: Greg Kroah-Hartman drivers/usb/input/touchkitusb.c | 2 ++ 1 file changed, 2 insertions(+) commit 880a9b5e7f70632ab60131ce3027da1c63fcd39e tree 8f2f7b2fa8714d66e42ea0dafb2dce87482af874 parent e4a16e0c10a272e53c4a129b155dd711196b1d93 author Phil Dibowitz Fri, 30 Sep 2005 00:27:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] Add unusual_devs for iPod Nano This adds US_FL_FIX_CAPACITY for yet _another_ entire block of Apple productIds. They really can't seem to get this right. This one is for the iPod Nano. Reported by Tyson Vinson . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) commit e4a16e0c10a272e53c4a129b155dd711196b1d93 tree 61a4b724cd3a0810d22062013a80c0a467afddeb parent 094ec604721ed2a9a7ed6dfe40fd699b2f53a4c3 author Phil Dibowitz Fri, 30 Sep 2005 00:20:15 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] Add unusual_dev for iBeat This patch adds the US_FL_IGNORE_RESIDUE flag for the TrekStor i.Beat Joy 2.0. Original version of this patch was sent by Stefan Werner with test/rediff/etc. by me. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 7 +++++++ 1 file changed, 7 insertions(+) commit 094ec604721ed2a9a7ed6dfe40fd699b2f53a4c3 tree e689462fdaa7ce4acec8b333261927a7761121ff parent b7b1e65588b8576c66a429a2623c91504efcf751 author Daniel Drake Fri, 30 Sep 2005 12:58:13 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb-storage: Readd missing SDDR-05b unusual_devs entry Just noticed that the SDDR-05b entry is missing for the shuttle_usbat driver. Looking through BK history it was removed in this patch: http://linux.bkbits.net:8080/linux-2.6/gnupatch@42435730FZQ2XCA6Qv5GPGD4pC4laQ However, at merge time, it looks like the duplicate was already removed, compare these two revisions: http://linux.bkbits.net:8080/linux-2.6/anno/drivers/usb/storage/unusual_devs.h@1.152 http://linux.bkbits.net:8080/linux-2.6/anno/drivers/usb/storage/unusual_devs.h@1.153 Signed-off-by: Daniel Drake Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit b7b1e65588b8576c66a429a2623c91504efcf751 tree 56e1096beea51b60c30f6370ab187d0b8ffe7fa9 parent a8798533c1f876b97566588cf2bf52458cb4a35d author Daniel Drake Fri, 30 Sep 2005 12:49:36 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb-storage: Some minor shuttle_usbat cleanups A while ago, Matthew Dharm wrote: > Looks good. Tho, I would like to see a future patch to do two things: > 1) Change comments from C++ style to C-style > 2) Make sure we're naming consistently everywhere SCM, USBAT, > USBAT-02 (most noticably needing fixing is the string used at > transport-selection time, but a sweep of all uses to be consistent > would be in order). Sorry for the long delay, here is a patch to address this. I also clarified some ATA/ATAPI wording + function names. Signed-off-by: Daniel Drake Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/shuttle_usbat.c | 306 ++++++++++++++++++++---------------- drivers/usb/storage/shuttle_usbat.h | 66 +++---- drivers/usb/storage/transport.h | 2 drivers/usb/storage/unusual_devs.h | 10 - drivers/usb/storage/usb.c | 4 5 files changed, 213 insertions(+), 175 deletions(-) commit a8798533c1f876b97566588cf2bf52458cb4a35d tree 076e498708a5efeb3e9234facb86ed15bc5a2dd0 parent d40ece1dc8dcc89ab921755cbc93a5cfb46d0766 author Daniel Drake Thu, 29 Sep 2005 00:14:21 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] USB Storage: HP8200: Another device type detection fix There appears to be one more case where the HP8200 CD writer devices are detected as flash readers - when the USB cable is replugged after use, with the power cable still connected. Oddly enough, the identify device command appears to 'fall through' when the devices are in this state, the status register reading exactly the same opcode as the command (0xA1) that was just executed. I think it's safe to label this behaviour as specific to HP8200 devices, I can't get the flash devices to respond like this. This patch should solve the last of the HP8200 issues which have cropped up recently. Signed-off-by: Daniel Drake Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/shuttle_usbat.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d40ece1dc8dcc89ab921755cbc93a5cfb46d0766 tree 02cc91c3ce92e5b9d9ae07130c3c83b6fc81e283 parent 521daed8db4443a1574a98fc3abae8e230f09eaa author Borislav Petkov Wed, 28 Sep 2005 18:06:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: make usb storage note visible in Kconfig the following patch splits the NOTE: in the Device Drivers->USB submenu of Kconfig thus making the whole of it readable on 600x800 terminals. (Otherwise, the line was too big and disappeared into nowhere.) Signed-off-by: Borislav Petkov Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 521daed8db4443a1574a98fc3abae8e230f09eaa tree 3ae6f6f3a7e5688886aaa4be3fea163a5372986b parent ddcad752f206be7a0091a041403c3188f2febd16 author Randy Dunlap Sun, 02 Oct 2005 17:15:33 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] safe_serial: use preprocessor directive for error Use valid #preprocessor instruction to generate an error. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/safe_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ddcad752f206be7a0091a041403c3188f2febd16 tree b791211f5b1f3e324e0778efd08324238dd7faf5 parent 207c47e1fbc8d51500997bfa67c26c00114fab04 author Petko Manolov Mon, 03 Oct 2005 17:24:11 +0300 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] pegasus.h This one is a tiny patch adding one more device to the list. Please apply. :) Signed-off-by: Greg Kroah-Hartman drivers/usb/net/pegasus.h | 2 ++ 1 file changed, 2 insertions(+) commit 207c47e1fbc8d51500997bfa67c26c00114fab04 tree 1a58c41d312e4facbfb53a75decd7c05960105ae parent 74ad9bd2fcf0fa203655e0d904809b06c4202bf8 author Thomas Riewe Thu, 29 Sep 2005 14:57:29 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] drivers/usb/serial/ftdi_sio: add PID/VID We would like to add a PID for the Pyramid Appliance Display, which works on USB via FTDI_SIO. Signed-off-by: Thomas Riewe Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/ftdi_sio.h | 3 +++ 2 files changed, 4 insertions(+) commit 74ad9bd2fcf0fa203655e0d904809b06c4202bf8 tree 28cf74beab3fcf7f29c4d88bd704f4abfa235601 parent 22efcf4adec4262e0f49e6225f6cd070e4a85d20 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: make wHubCharacteristics __le16 to match other usb descriptor fields Also has the nice benefit of making sparc alignment issues go away. Thanks to David Miller for pointing out the problems here. Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 22 ++++++++++++---------- drivers/usb/core/hub.h | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) commit 22efcf4adec4262e0f49e6225f6cd070e4a85d20 tree 416d2fbb46995ad9483e1dee758ee818292e2ed9 parent dabb592816444fcba1a771e27d4f72a2b8218374 author Alan Stern Mon, 26 Sep 2005 16:12:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: File-Storage gadget: use the kthread API This patch (as566) converts the File-Storage gadget over to the kthread API. The new code doesn't use kthread_stop because the control thread needs to terminate asynchronously when it receives a signal. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/gadget/file_storage.c | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) commit dabb592816444fcba1a771e27d4f72a2b8218374 tree fe2162cf45018321bf334d1080bda926de10ad69 parent 8b262bd25580e165710e8a27df19cd60c2ef58a3 author Andrew Morton Thu, 22 Sep 2005 23:55:22 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: sisusb warning fix drivers/usb/misc/sisusbvga/sisusb.c: In function `sisusb_reset_text_mode': drivers/usb/misc/sisusbvga/sisusb.c:2461: warning: assignment discards qualifiers from pointer target type Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/usb/misc/sisusbvga/sisusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8b262bd25580e165710e8a27df19cd60c2ef58a3 tree 60cd292d40e4073308ce3189a1217314df0e3a8b parent d09d36a91c70cb3cc609d693bf6a7e7a266ff9e6 author Alan Stern Mon, 26 Sep 2005 16:31:15 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: UHCI: Spruce up some comments This patch (as570) changes some comments in the uhci-hcd header file and removes an unused declaration (something I forgot to erase in an earlier patch). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/host/uhci-hcd.h | 91 +++++++++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 42 deletions(-) commit d09d36a91c70cb3cc609d693bf6a7e7a266ff9e6 tree 4a41ade8dc775ea6dc9154bc4fe006f75557f579 parent b13296c6617f22e8c0174a7af32780617db0e680 author Alan Stern Mon, 26 Sep 2005 16:22:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: usb_bulk_message() handles interrupts endpoints Because there is no bulk_interrupt_message() routine and no USBDEVFS_INTERRUPT ioctl, people have been forced to abuse the usb_bulk_message() routine and USBDEVFS_BULK by using them for interrupt transfers as well as bulk transfers. This patch (as567) formalizes this practice and adds code to usb_bulk_message() for detecting when the target is really an interrupt endpoint. If it is, the routine submits an interrupt URB (using the default interval) instead of a bulk URB. In theory this should help HCDs that don't like it when people try to mix transfer types, queuing both periodic and non-periodic types for the same endpoint. Not fully tested -- I don't have any programs that use USBDEVFS_BULK for interrupt transfers -- but it compiles okay and normal bulk messages work as well as before. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/core/message.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit b13296c6617f22e8c0174a7af32780617db0e680 tree 980ed483e5df92335894405ac7eb37380598190d parent 5edbfb7c8af0577097dae87cdd4dfdba82bb9579 author David Brownell Tue, 27 Sep 2005 10:38:54 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] updates for "controller suspended" handling Reject URBs to _all_ devices when their host controllers are suspended; even root hub registers will be unavailable. Also, don't reject urbs to root hubs in other cases; the only upstream link is through that controller (on PCI or whatever SOC bus is in use). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 28 ++++++++++++---------------- drivers/usb/core/urb.c | 3 ++- 2 files changed, 14 insertions(+), 17 deletions(-) commit 5edbfb7c8af0577097dae87cdd4dfdba82bb9579 tree 497ba94999eb10524dd0d6d98ba708e83cae75d8 parent ccdcf77ae32e3d3347fdf3810b27f899e98c34fb author David Brownell Thu, 22 Sep 2005 22:45:26 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] stop exporting two functions The way we're looking at USB suspend lately doesn't expect drivers to call usb_suspend_device() or usb_resume_device() directly; that'll be implicit when no interfaces are in use. This patch removes those APIs from visibility outside usbcore. Signed-off-by: David Brownell drivers/usb/core/hub.c | 12 ++++-------- drivers/usb/core/usb.h | 4 ++++ include/linux/usb.h | 5 ----- 3 files changed, 8 insertions(+), 13 deletions(-) commit ccdcf77ae32e3d3347fdf3810b27f899e98c34fb tree 88e49a51a4778966aa64a138896f3a3321cc97fe parent a7f72abe8fac9b919135005e06216be8eef945a2 author David Brownell Thu, 22 Sep 2005 22:45:13 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] ISP116x PM updates This makes the isp116x driver stop using usb_suspend_device() and usb_resume_device() ... usbcore now calls to the root hub methods, removing the need for this. It also switches from keventd to khubd for remote wakeup. (Compile tested.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/isp116x-hcd.c | 29 ++++------------------------- drivers/usb/host/isp116x.h | 1 - 2 files changed, 4 insertions(+), 26 deletions(-) commit a7f72abe8fac9b919135005e06216be8eef945a2 tree 2cc4ca35130559348fb2985224ccb6a570eb3e5a parent f2cb36c1df427431a8c6096b4ad113df767c1bd9 author David Brownell Thu, 22 Sep 2005 22:44:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] UHCI PM updates This removes suspend and resume path recursion in UHCI. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/uhci-hcd.c | 9 --------- 1 file changed, 9 deletions(-) commit f2cb36c1df427431a8c6096b4ad113df767c1bd9 tree 8a5b07e0ea2e177e01e72ec8554f58d521beaaef parent f197b2c54b9d9a133a9a8ff92f35cadf8945ea14 author David Brownell Thu, 22 Sep 2005 22:43:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] update PCI early-handoff handling for OHCI The PCI "early usb handoff" quirk logic didn't work like "ohci-hcd" ... This patch makes it do so by: - Resetting the controller after kicking BIOS off, matching the normal "chip in hardware reset" startup mode; - Reporting any BIOS that borks this simple handoff; it's likely got a few other surprises for us too. - Ignoring that handoff on HPPA; The diagnostic string is mostly shared with EHCI, saving a few bytes. Signed-off-by: Greg Kroah-Hartman drivers/usb/host/pci-quirks.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit f197b2c54b9d9a133a9a8ff92f35cadf8945ea14 tree a5a4da41e38d8681977a9f3b52fa2e5f1db278ea parent 5f827ea3c3820cd8e0a1a35e4d275c8b78ee94e1 author David Brownell Thu, 22 Sep 2005 22:42:53 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] OHCI PM updates This simplifies the OHCI root hub suspend logic: - Uses new usbcore root hub calls to make autosuspend work again: * Uses a newish usbcore root hub wakeup mechanism, making requests to khubd not keventd. * Uses an even newer sibling suspend hook. - Expect someone always made usbcore call ohci_hub_suspend() before bus glue fires; and that ohci_hub_resume() is only called after that bus glue ran. Previously, only CONFIG_USB_SUSPEND promised those things. (Includes updates to PCI and OMAP bus glue.) - Handle a not-noticed-before special case during resume from one of the swsusp snapshots when using "usb-handoff": the controller isn't left in RESET state. (A bug to fix in the usb-handoff code...) Also cleans up a minor debug printk glitch, and switches an mdelay over to an msleep (how did that stick around for so long?). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ohci-dbg.c | 4 ---- drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-hub.c | 42 ++++++++++++------------------------------ drivers/usb/host/ohci-mem.c | 1 - drivers/usb/host/ohci-omap.c | 36 ++++++++++++------------------------ drivers/usb/host/ohci-pci.c | 40 ++++++++-------------------------------- drivers/usb/host/ohci.h | 1 - 7 files changed, 33 insertions(+), 93 deletions(-) commit 5f827ea3c3820cd8e0a1a35e4d275c8b78ee94e1 tree 7bd8a0f12f83c219cab6da7e30e8d0e1d94df57d parent f3f3253d644d36a2ea5464005a9c2cf28804d200 author David Brownell Thu, 22 Sep 2005 22:38:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] usbcore PCI glue updates for PM This updates the PCI glue to address the new and simplified usbcore suspend semantics, where CONFIG_USB_SUSPEND becomes irrelevant to HCDs because hcd->hub_suspend() will always be called. - Removes now-unneeded recursion support - Go back to ignoring faults reported by the wakeup calls; we expect them to fail sometimes, and that's just fine. The PCI HCDs will need simple changes to catch up to this, like being able to ignore the setting of CONFIG_USB_SUSPEND. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd-pci.c | 106 +++++++++++++++++++++------------------------ drivers/usb/core/hcd.h | 6 +- 2 files changed, 53 insertions(+), 59 deletions(-) commit f3f3253d644d36a2ea5464005a9c2cf28804d200 tree 913d5d38de9acea02b95c43ea23dc6a28f791236 parent 979d5199fee9e80290ddeb532e5993bd15506712 author David Brownell Thu, 22 Sep 2005 22:37:29 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] root hub updates (greater half) This patch associates hub suspend and resume logic (including for root hubs) with CONFIG_PM -- instead of CONFIG_USB_SUSPEND as before -- thereby unifying two troublesome versions of suspend logic into just one. It'll be easier to keep things right from now on. - Now usbcore _always_ calls hcd->hub_suspend as needed, instead of only when USB_SUSPEND is enabled: * Those root hub methods are now called from hub suspend/resume; no more skipping between layers during device suspend/resume; * It now handles cases allowed by sysfs or autosuspended root hubs, by forcing the hub interface to resume too. - All devices, including virtual root hubs, now get the same treatment on their resume paths ... including re-activating all their interfaces. Plus it gets rid of those stub copies of usb_{suspend,resume}_device(), and updates the Kconfig to match the new definition of USB_SUSPEND: it provides (a) selective suspend, downstream from hubs; and (b) remote wakeup, upstream from any device configuration which supports it. This calls for minor followup patches for most HCDs (and their PCI glue). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/Kconfig | 11 ++- drivers/usb/core/hub.c | 163 +++++++++++++++++++++++++---------------------- 2 files changed, 97 insertions(+), 77 deletions(-) commit 979d5199fee9e80290ddeb532e5993bd15506712 tree 6987772d41ec540b7e32beaa50c1493a95e3e2c8 parent 9293677af3dace2645dec0d0808efa02d36bf47b author David Brownell Thu, 22 Sep 2005 22:32:24 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] root hub changes (lesser half) This patch collects various small updates related to root hubs, to shrink later patches which build on them. - For root hub suspend/resume support: * Make the existing usb_hcd_resume_root_hub() routine respect pmcore locking, exporting and using the dpm_runtime_resume() method. * Add a new usb_hcd_suspend_root_hub() to pair with that routine. (Essential to make OHCI autosuspend behave again...) * HC_SUSPENDED by itself only refers to the root hub's downstream ports. So let HCDs see root hub URBs unless the parent device is suspended. - Remove an assertion we no longer need (and now, also don't want). - Generic suspend/resume updates to work better with swsusp. * Ignore the FREEZE vs SUSPEND distinction for hardware; trying to use it breaks the swsusp snapshots it's supposed to help (sigh). * On resume, mark devices as resumed right away, but then do nothing else if the device is marked NOTATTACHED. These changes shouldn't be very noticable by themselves. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/base/power/runtime.c | 1 drivers/usb/core/hcd.c | 64 ++++++++++++++++++++++++++++++++++++++----- drivers/usb/core/hcd.h | 1 drivers/usb/core/hub.c | 45 ++++++++++++++++++++++++------ drivers/usb/core/usb.c | 20 +++++++++---- drivers/usb/core/usb.h | 1 6 files changed, 111 insertions(+), 21 deletions(-) commit 9293677af3dace2645dec0d0808efa02d36bf47b tree 1300a91bd6d6b20a69e35f67e7ff71b5a5d776e6 parent 7ff71d6adf81a43505b7cbaa034e4063d3439182 author David Brownell Thu, 22 Sep 2005 22:32:11 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] all HCDs provide root hub suspend/resume methods This cleans up a small recent FIXME, ensuring that all the HCDs provide root hub suspend/resume methods. It also wraps the calls to those root suspend routines just like on the PCI "USB_SUSPEND not defined" cases, so non-PCI bus glue won't be as tempted to behave very differently. Several of the SOC based OHCI drivers forgot to list those methods; the patch also adds those missing declarations. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 42 +++++++++++++++++++++++++--------------- drivers/usb/host/ohci-au1xxx.c | 5 ++++ drivers/usb/host/ohci-lh7a404.c | 5 ++++ drivers/usb/host/ohci-pxa27x.c | 1 drivers/usb/host/ohci-s3c2410.c | 1 drivers/usb/host/ohci-sa1111.c | 1 6 files changed, 40 insertions(+), 15 deletions(-) commit 7ff71d6adf81a43505b7cbaa034e4063d3439182 tree ea7edb953d9fb47f6132e52e1e8d422d8bdae06b parent e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00 author Matt Porter Thu, 22 Sep 2005 22:31:15 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] EHCI, split out PCI glue This splits BIOS and PCI specific support out of ehci-hcd.c into ehci-pci.c. It follows the model already used in the OHCI driver so support for non-PCI EHCI controllers can be more easily added. Signed-off-by: Matt Porter Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ehci-hcd.c | 543 ++++++-------------------------------------- drivers/usb/host/ehci-pci.c | 414 +++++++++++++++++++++++++++++++++ drivers/usb/host/ehci.h | 1 3 files changed, 492 insertions(+), 466 deletions(-) commit e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00 tree 03eb4c6ae1529c904a3aca42fa597f8548bddcb4 parent a1d59ce842a35b552f22868404e4e7c923242257 author David Brownell Thu, 22 Sep 2005 22:30:48 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] one less word in struct device This saves a word from "struct device" ... there's a refcounting mechanism stub that's rather ineffective (the values are never even tested!), which can safely be deleted. With this patch it uses normal device refcounting, so any potential users of the pm_parent mechanism will be more correct. (That mechanism is actually unusable for now though; it does nothing.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/base/power/main.c | 26 +++----------------------- include/linux/pm.h | 1 - 2 files changed, 3 insertions(+), 24 deletions(-) commit a1d59ce842a35b552f22868404e4e7c923242257 tree ee92b9406d1d10e07dcc433ae403dc6574f3013c parent 8b4cd42134fbd3c9a9a5c3467d31717798219b1b author Alan Stern Fri, 16 Sep 2005 14:22:51 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: UHCI: Split apart the physical and logical framelist arrays This patch (as563) splits the physical and logical framelist arrays in uhci-hcd into two separate pieces. This will allow slightly better memory utilization, since each piece is no larger than a single page whereas before the whole thing was a little bigger than two pages. It also allows the logical array to be allocated in non-DMA-coherent memory. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8b4cd42134fbd3c9a9a5c3467d31717798219b1b tree aec7570ecc2f481b2a3357f05810be8c3d897669 parent e08fb39b771dd7dcba405669b5384fe9929e1caf author Alan Stern Fri, 16 Sep 2005 14:17:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: UHCI: Remove unused fields and unneeded tests for NULL This patch (as562) removes from the uhci-hcd driver a few unused fields and some unnecessary tests against NULL and assignments to NULL. In fact it wasn't until fairly recently that the tests became unnecessary. Before last winter it was possible that the driver's stop() routine would get called even if the start() routine returned an error, but now that can't happen. Hence there's no longer any need to check for partial initialization. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit e08fb39b771dd7dcba405669b5384fe9929e1caf tree 3f83d9925c9561394844f8124dbbb475d7e8e723 parent 8ad7fe16df5e07320626be83fbba6d1c6bda5ec0 author Matt Porter Mon, 19 Sep 2005 09:40:24 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: Fix usb hub build Signed-off-by: Matt Porter Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ad7fe16df5e07320626be83fbba6d1c6bda5ec0 tree 7bd854843d6d61756a16421368aa6cb1428b23c8 parent dbc3887e7df4be78b33a83b97fde5d5f9a389859 author David Brownell Tue, 13 Sep 2005 19:59:11 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] remove some USB_SUSPEND dependencies This simplifies some of the PM-related #ifdeffing by recognizing that USB_SUSPEND depends on PM. Also, OHCI drivers were often testing for USB_SUSPEND when they should have tested just PM. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 2 ++ drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-hub.c | 4 ++-- drivers/usb/host/ohci-omap.c | 2 +- drivers/usb/host/ohci-pci.c | 2 +- drivers/usb/host/ohci-ppc-soc.c | 4 ++-- drivers/usb/host/ohci-pxa27x.c | 2 +- drivers/usb/host/ohci-s3c2410.c | 3 +-- drivers/usb/host/ohci-sa1111.c | 2 +- 9 files changed, 12 insertions(+), 11 deletions(-) commit dbc3887e7df4be78b33a83b97fde5d5f9a389859 tree d0b037dbf3971bbd95d038429857ef9f78a19879 parent 390a8c345e6415cbf811232feedac70b56c9fc8d author David Brownell Tue, 13 Sep 2005 19:57:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] remove duplicated resume path code This gets rid of some inconsistently duplicated logic to resume interfaces. Similar code was in both finish_port_resume() and in usb_generic_resume(). Now there is just one copy of that code, accessed regardless of whether CONFIG_USB_SUSPEND is enabled. Fault handling is also more consistent. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 390a8c345e6415cbf811232feedac70b56c9fc8d tree 5a27e9421575c080d31884c4eedeed710d7134f1 parent c9f89fa40cf274130b56475175a35af961d4b165 author David Brownell Tue, 13 Sep 2005 19:57:27 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] remove usb_suspend_device() parameter This patch removes the extra usb_suspend_device() parameter. The original reason to pass that parameter was so that this routine could suspend any active children. A previous patch removed that functionality ... leaving no reason to pass the parameter. A close analogy is pci_set_power_state, which doesn't need a pm_message_t either. On the internal code path that comes through the driver model, the parameter is now used to distinguish cases where USB devices need to "freeze" but not suspend. It also checks for an error case that's accessible through sysfs: attempting to suspend a device before its interfaces (or for hubs, ports). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 34 +++++++++++++++++++++------------- drivers/usb/core/usb.c | 23 +++++++++++++++++++++-- drivers/usb/host/ehci-hcd.c | 2 +- drivers/usb/host/isp116x-hcd.c | 2 +- drivers/usb/host/ohci-pci.c | 2 +- include/linux/usb.h | 2 +- 6 files changed, 46 insertions(+), 19 deletions(-) commit c9f89fa40cf274130b56475175a35af961d4b165 tree 9d02038c4e5589a2b13df98da647a59d46b69567 parent db69087437dd5135a9362da1c37fe072070e8f60 author David Brownell Tue, 13 Sep 2005 19:57:04 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] remove suspend-path recursion This patch removes some recursion in the CONFIG_USB_SUSPEND logic, which suspended children (of devices or hubs) that weren't already suspended. When it sees such cases, suspend now just fails cleanly. That logic was not needed during system-wide sleep state transitions; and given the current notions of how to manage selective suspend transitions, we don't want it there either. Where it was particularly handy was coping with various limitations of the sysfs "echo -n N > power/state" support. (These include assuming that "N" is always meaningful to the driver; and that drivers can only transition to state N from state zero.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit db69087437dd5135a9362da1c37fe072070e8f60 tree 1affacd290eff29b5dc589bbf47369e20d6101db parent 7586269c0b52970f60bb69fcb86e765fc1d72309 author David Brownell Tue, 13 Sep 2005 19:56:33 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] usb_interface power state This updates the handling of power state for USB interfaces. - Formalizes an existing invariant: interface "power state" is a boolean: ON when I/O is allowed, and FREEZE otherwise. It does so by defining some inlined helpers, then using them. - Adds a useful invariant: the only interfaces marked active are those bound to non-suspended drivers. Later patches build on this invariant. - Simplifies the interface driver API (and removes some error paths) by removing the requirement that they record power state changes during suspend and resume callbacks. Now usbcore does that. A few drivers were simplified to address that last change. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 33 +++++++++------------ drivers/usb/core/message.c | 1 drivers/usb/core/usb.c | 65 +++++++++++++++++++++++++++++++++---------- drivers/usb/core/usb.h | 18 +++++++++++ drivers/usb/input/hid-core.c | 2 - drivers/usb/misc/usbtest.c | 10 ------ drivers/usb/net/pegasus.c | 2 - drivers/usb/net/usbnet.c | 2 - 8 files changed, 85 insertions(+), 48 deletions(-) commit 7586269c0b52970f60bb69fcb86e765fc1d72309 tree a0cb04f9527101e8b9331350e4dd9d57e6e019e7 parent 38ffdd62b0f466ef9126ac9f060ade5f218b4887 author David Brownell Fri, 23 Sep 2005 17:14:37 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] USB: move handoff code This moves the PCI quirk handling for USB host controllers from the PCI directory to the USB directory. Follow-on patches will need to: (a) merge these copies with the originals in the HCD reset methods. they don't wholly agree, despite doing the very same thing; and (b) eventually change it so "usb-handoff" is the default, to help get more robust USB/BIOS/input/... interactions. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/Makefile | 2 drivers/pci/quirks.c | 253 --------------------------------------- drivers/usb/Makefile | 1 drivers/usb/host/Makefile | 5 drivers/usb/host/pci-quirks.c | 272 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 280 insertions(+), 253 deletions(-) commit 38ffdd62b0f466ef9126ac9f060ade5f218b4887 tree 4f636beb7bcc713e0f454058541850b4cabf69fa parent e639dd3f4edd4847d160899b19e95ee1a06a6dcb author Pete Zaitcev Sat, 24 Sep 2005 13:10:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] ub: suppress gcc warnings for pointer casts When building on a 64-bit platform, gcc produces a warning "cast of a pointer to an integer of a different size". The scatterlist.offset on the LHS is unsigned int, so I used that originally. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman drivers/block/ub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e639dd3f4edd4847d160899b19e95ee1a06a6dcb tree c5d99cf857c77005af27b688d3935f90c3c8536a parent d6e5bcf4a7ebbe258124a931f1449338340a99b5 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] USB: add more snooping hooks in devio.c Now we can log the urbs travelling through usbfs Signed-off-by: Greg Kroah-Hartman commit d6e5bcf4a7ebbe258124a931f1449338340a99b5 tree e36249673c11e20f90ad837831c104b1dfce9947 parent 094f1649577dfc7f2c7407a8380e05a506b31f7f author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed Also fixes all drivers that set this field, and removes some other devfs specfic USB logic. Signed-off-by: Greg Kroah-Hartman drivers/usb/class/usblp.c | 3 +-- drivers/usb/core/file.c | 19 ++++--------------- drivers/usb/image/mdc800.c | 3 +-- drivers/usb/input/aiptek.c | 2 +- drivers/usb/input/hiddev.c | 3 +-- drivers/usb/media/dabusb.c | 3 +-- drivers/usb/misc/auerswald.c | 3 +-- drivers/usb/misc/idmouse.c | 5 ++--- drivers/usb/misc/legousbtower.c | 5 ++--- drivers/usb/misc/rio500.c | 3 +-- drivers/usb/misc/sisusbvga/sisusb.c | 5 ----- drivers/usb/misc/usblcd.c | 9 ++++----- drivers/usb/usb-skeleton.c | 3 +-- include/linux/usb.h | 7 ++----- 14 files changed, 22 insertions(+), 51 deletions(-) commit 094f1649577dfc7f2c7407a8380e05a506b31f7f tree 5775c40d5c05f5427bb36c3c61d0db143c719bdd parent 8da608caa07d5c9745ec86bf7c25ad423352f9a4 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: add endpoint information to sysfs This patch adds endpoint information for both devices and interfaces to sysfs. Previously it was only possible to get the endpoint information from usbfs, and never possible to get any information on endpoint 0. Signed-off-by: Greg Kroah-Hartman drivers/usb/core/sysfs.c | 195 ++++++++++++++++++++++++++++++++++++++++++++++- include/linux/usb.h | 4 2 files changed, 197 insertions(+), 2 deletions(-) commit 8da608caa07d5c9745ec86bf7c25ad423352f9a4 tree cc8f60e24846a4fbc5c9dd5afb8fd676a6adc73f parent c9c7746dd333c12f482af2f1e63ea7eafc7cd529 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: disable tasklet if rtl8150 device is removed while active. This fixes a oops seen in the wild. Signed-off-by: Greg Kroah-Hartman commit c9c7746dd333c12f482af2f1e63ea7eafc7cd529 tree df7ed40559585aee2e394dbadf3f0449616eabf6 parent 72f30b6f2f5f68dd426e9fe83817b882c2d04e50 author Rui Santos Fri, 23 Sep 2005 20:06:50 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: ftdi: Artemis and ATIK based USB astronomical CCD cameras This patch enables direct kernel support for the Artemis and ATIK astronomical based USB CCD cameras. Since all communications with this camera are done via an FTDI 245BM chip, it was only needed to specify the ProductID and VendorID of all three devices. In what tests are concerned, data was transfered from and to the FTDI at the chips Top speed (360KB/s). Signed-off-by: Rui Santos Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/ftdi_sio.c | 3 +++ drivers/usb/serial/ftdi_sio.h | 13 +++++++++++++ 2 files changed, 16 insertions(+) commit 72f30b6f2f5f68dd426e9fe83817b882c2d04e50 tree 21f2785ff8dbd4c612f1f01cd9d2f8c6baef3dd5 parent 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a author David Brownell Tue, 27 Sep 2005 10:19:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: ehci.patch (earlier irq disable) This tweaks the EHCI reboot notifier to also halt the EHCI controller, and makes that halt code force IRQs off. Both should always have been done. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ehci-hcd.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 89fbb69c4f285019ba5e029963dc11cc6beb078a tree d918cd1ba0ef9afa692cef281afee2f6d6634a1e parent 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a parent 4cce3390c998600f6648e075e475cf8f6dd8cebe author Linus Torvalds Fri, 28 Oct 2005 16:47:34 -0700 committer Linus Torvalds Fri, 28 Oct 2005 16:47:34 -0700 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 4cce3390c998600f6648e075e475cf8f6dd8cebe tree 2b800e2e2d890e98db792ca67590e65d22384926 parent a4da0628efd788eb199dd9df225e296035ec2539 author Roland Dreier Fri, 28 Oct 2005 16:38:15 -0700 committer Roland Dreier Fri, 28 Oct 2005 16:38:15 -0700 [IB] fix up class_device_create() calls Fix class_device_create() calls to match the new prototype which takes a parent device pointer. Signed-off-by: Roland Dreier commit 977e74b5f60de3df9831897b726c16870878eee4 tree c5fe78bf8b9aaf393cee878aaf89241fe40f8ba5 parent 2c36ed22c6f64de94c6c3b7258dd7285bb093401 author Ashutosh Naik Fri, 28 Oct 2005 15:14:53 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:44 -0400 [PATCH] e1000: Fixes e1000_suspend warning when CONFIG_PM is not enabled drivers/net/e1000/e1000_main.c:3645: warning: `e1000_suspend' defined but not used Signed-off-by: Ashutosh Naik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 2c36ed22c6f64de94c6c3b7258dd7285bb093401 tree bf8ab970180df5abe28d0c75d993a86a063bd8d5 parent 63f57fb69b017230c77c40f1713e40885ae6d159 author Alan Cox Fri, 28 Oct 2005 15:14:52 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:44 -0400 [PATCH] Better fixup for the orinoco driver The latest kernel added a pretty ugly fix for the orinoco etherleak bug which contains bogus skb->len checks already done by the caller and causes copies of all odd sized frames (which are quite common) While the skb->len check should be ripped out the other fix is harder to do properly so I'm proposing for this the -mm tree only until next 2.6.x so that it gets tested. Instead of copying buffers around blindly this code implements a padding aware version of the hermes buffer writing function which does padding as the buffer is loaded and thus more cleanly and without bogus 1.5K copies. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 63f57fb69b017230c77c40f1713e40885ae6d159 tree d30d9f0c237b000b171e9e5918d0337268cf0f8b parent a7ec15da65ab64c5f97beedc4ff21cf3e0ae71c0 author Andrew Morton Fri, 28 Oct 2005 15:14:51 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:44 -0400 [PATCH] revert "orinoco: Information leakage due to incorrect padding" Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit a7ec15da65ab64c5f97beedc4ff21cf3e0ae71c0 tree 05cb18e46286e5343a795c71890115a59e8c30bf parent 46e178535836dcd7ef92f179218628d101892c59 author Ravikiran G Thirumalai Fri, 28 Oct 2005 15:14:49 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:43 -0400 [PATCH] e1000: use vmalloc_node() Allocate node local tx and rx descriptors for the e1000 driver Signed-off-by: Ravikiran Thirumalai Cc: Christoph Lameter Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 46e178535836dcd7ef92f179218628d101892c59 tree db323b41078da50d3cd56a6f99da919bc619e4eb parent a1bfcd97414d3e9b3c96f27d9b1a1e76c9543ba6 author Pavel Machek Fri, 28 Oct 2005 15:14:47 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:43 -0400 [PATCH] b44: fix suspend/resume Fix suspend/resume on b44 by freeing/reacquiring irq. Otherwise it hangs on resume. Signed-off-by: Pavel Machek Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit a1bfcd97414d3e9b3c96f27d9b1a1e76c9543ba6 tree 139ee353f51a2c0700e515f0bd02d8eb000a7745 parent b6a1d5f88473138497d8694ddf174e8e91300068 author Florin Malita Fri, 28 Oct 2005 15:14:46 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:43 -0400 [PATCH] eepro.c: module_param_array cleanup num_params is unused (and unusable in this form). Signed-off-by: Florin Malita Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit b6a1d5f88473138497d8694ddf174e8e91300068 tree 30d0b9771aae18d62c927cd257643a034f02bacb parent 596c96ba06e5d56e72451e02f93f4e15e17458df author Martin J. Bligh Fri, 28 Oct 2005 15:14:44 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:42 -0400 [PATCH] e1000: remove warning about e1000_suspend e1000_suspend is only used under #ifdef CONFIG_PM. Move the declaration of it to be the same way, just like e1000_resume, otherwise gcc whines on compile. I offer as evidence: static struct pci_driver e1000_driver = { .name = e1000_driver_name, .id_table = e1000_pci_tbl, .probe = e1000_probe, .remove = __devexit_p(e1000_remove), /* Power Managment Hooks */ #ifdef CONFIG_PM .suspend = e1000_suspend, .resume = e1000_resume #endif }; Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a tree 2e246004dfc130947574e340a4968239b3f2d20b parent dbe0580d0d2fccf63b0349840a7ae3dbb16f3074 parent f8977d0a9b7ac84cfe700278a2ca64cb33c93a13 author Linus Torvalds Fri, 28 Oct 2005 15:57:32 -0700 committer Linus Torvalds Fri, 28 Oct 2005 15:57:32 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 commit dbe0580d0d2fccf63b0349840a7ae3dbb16f3074 tree e8c0e8fb951226d470e11aca5bad555f79d8d558 parent 20731945ae743034353a88c307920d1f16cf8ac8 parent 19c1f3ca4272008a256cc153f3e3feb097799070 author Linus Torvalds Fri, 28 Oct 2005 15:54:06 -0700 committer Linus Torvalds Fri, 28 Oct 2005 15:54:06 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 0e1f60609258e18ec0a0477c646101212822d387 tree 22f05f9f0f396d19ecffa5cec952cc8fadad802b parent fb5f329d58c67cadc8ff07193ea7556923d49d1b author Tony Luck Fri, 28 Oct 2005 15:52:13 -0700 committer Tony Luck Fri, 28 Oct 2005 15:52:13 -0700 [IA64] fix warning unused variable `g' 4ac0068f44f192f2de95a7bb36df3e19767a45fb forgot to delete the declaration of this variable which is no longer used. Signed-off-by: Tony Luck commit a4da0628efd788eb199dd9df225e296035ec2539 tree 1e611030c993e1480dc2f07f26976d2d33002b0d parent 70a30e16a8a9d22396a4d1e96af86e43594df584 parent 20731945ae743034353a88c307920d1f16cf8ac8 author Roland Dreier Fri, 28 Oct 2005 15:50:51 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:50:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 9dfb7808fb05643b0d06df7411b94d9546696bf1 tree aa1a9cc1e79ae66f6cbb0fe39d79a80ca76331e8 parent c45154a3b1fecdbb51b5462c9f730b44e62b83a5 parent 20731945ae743034353a88c307920d1f16cf8ac8 author Jeff Garzik Fri, 28 Oct 2005 18:50:09 -0400 committer Jeff Garzik Fri, 28 Oct 2005 18:50:09 -0400 Merge branch 'master' commit 596c96ba06e5d56e72451e02f93f4e15e17458df tree 78bc640acacb8faeb621c51296e99dbb0533a147 parent ad18b0ea089928367185e13d11424aea91d4b41f parent 20731945ae743034353a88c307920d1f16cf8ac8 author Jeff Garzik Fri, 28 Oct 2005 18:48:57 -0400 committer Jeff Garzik Fri, 28 Oct 2005 18:48:57 -0400 Merge branch 'master' commit 80d904c43b11105c16395b240078ccc2f7ac6074 tree 91e0a42a0ce1b9b52691a11e01205467063f4882 parent 4647722673994787bfa294a163fcb6955b93d417 author Jayachandran C Tue, 18 Oct 2005 17:11:16 -0700 committer James Bottomley Fri, 28 Oct 2005 17:42:31 -0500 [SCSI] sr: remove dead code This patch fixes an issue reported in drivers/scsi/sr.c by Coverity Error reported: Pointer returned from "scsi_cd" is never used Patch description: Remove the scsi_cd() call as it does not have any effect. Signed-off-by: Jayachandran C. Signed-off-by: James Bottomley commit 4647722673994787bfa294a163fcb6955b93d417 tree f355d7d95ca0493ed4181a9517315d9b1db3c418 parent b5141128027c53b8ca40736d969f75c9a1cdb64b author Jayachandran C Thu, 27 Oct 2005 15:51:13 -0700 committer James Bottomley Fri, 28 Oct 2005 17:41:39 -0500 [SCSI] Fix issue reported by coverity in drivers/scsi/scsi_ioctl.c This patch attempts to fix an issue found in drivers/scsi/scsi_ioctl.c by Coverity. Error reported: CID: 3437 Checker: FORWARD_NULL (help) File: /export2/p4-coverity/mc2/linux26/drivers/scsi/scsi_ioctl.c Function: scsi_ioctl_send_command Description: Variable "buf" tracked as NULL was passed to a function that dereferences it. Patch description: buf can be NULL if inlen and outlen are both 0. This patch adds check if the length is non-zero before calling copy from/to user. Signed-off-by: Jayachandran C. Signed-off-by: James Bottomley commit 64a0c1c81e300f0f56f26604c81040784e3717f0 tree 845863e5b3fc06a9de54104f32e28bbe914ee44a parent 96a339985d4c6874d32909e8f1903e6e6c141399 author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:39:02 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:39:02 -0700 [SCTP] Do not allow unprivileged programs initiating new associations on privileged ports. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 70a30e16a8a9d22396a4d1e96af86e43594df584 tree 0d8582567c62f7929620ec03128c79f9d8c65a58 parent a74968f8c3b1166cfe0942901b56165f06ab6f60 author Roland Dreier Fri, 28 Oct 2005 15:38:26 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:38:26 -0700 [IB] uverbs: Fix device lifetime problems Move ib_uverbs module to using cdev_alloc() and class_device_create() so that we can handle device lifetime properly. Now we can make sure we keep all of our data structures around until the last way to reach them is gone. Signed-off-by: Roland Dreier commit a74968f8c3b1166cfe0942901b56165f06ab6f60 tree 8b6bfdad7c5a56186bb84a8f282270998f64db0f parent 1993d683f39f77ddb46a662d7146247877d50b8f author Roland Dreier Fri, 28 Oct 2005 15:37:23 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:37:23 -0700 [IB] umad: Fix device lifetime problems Move ib_umad module to using cdev_alloc() and class_device_create() so that we can handle device lifetime properly. Now we can make sure we keep all of our data structures around until the last way to reach them is gone. Signed-off-by: Roland Dreier commit f8977d0a9b7ac84cfe700278a2ca64cb33c93a13 tree 13af729851215bdbc2291b752f2000a94dff6abb parent 2f028234f2c7f31dc0ff0784e20f14be11f7035c author Jesse Barnes Tue, 25 Oct 2005 10:28:42 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:02 -0700 [PATCH] PCI fixup for Toshiba laptops and ohci1394 This is a fix for a bug I see on my Toshiba laptop, where the ohci1394 controller gets initialized improperly. The patch adds two PCI fixups to arch/i386/pci/fixup.c, one that happens early on to cache the value of the PCI_CACHE_LINE_SIZE config register, and another that later restores the value, along with a valid IRQ number and some BAR values. I've tested it on my laptop, and it prevents me from running into what I consider to be a major bug: IRQ 11 is disabled by the IRQ debug code, causing my wireless to break. Thanks to Rob for the original patch to ohci1394.c and Stefan for lots of proofreading (and a last minute bug caught in review!) and additional information collection. I think the DMI system list is correct, but we may need to add some more PCI IDs to the PCI_FIXUP macros over time. Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman commit 2f028234f2c7f31dc0ff0784e20f14be11f7035c tree 8aa60f015a1bc8d4579bbfa4b7ba6066bfdd4990 parent 8f7020d36374dda9366fee1343f8eacfe8f5e641 author Grant Coady Thu, 20 Oct 2005 09:55:32 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:02 -0700 [PATCH] pci_ids: cleanup comments pci_ids.h cleanup: convert // comment to /* comment */ Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 8f7020d36374dda9366fee1343f8eacfe8f5e641 tree fb9531fed55030c6334957ff38235421c83377b9 parent f05aab8ef653abcbd454739264a9f5cf63f6f9f8 author Randy Dunlap Sun, 23 Oct 2005 11:57:38 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] kernel-doc: PCI fixes PCI: add descriptions for missing function parameters. Eliminate all kernel-doc warnings here. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit f05aab8ef653abcbd454739264a9f5cf63f6f9f8 tree d114ce10cac5702e543210b9c539692c8d2fad59 parent 8e5dce35221850759671b2847a2e51030f7626bd author Randy Dunlap Sun, 23 Oct 2005 11:58:19 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] kernel-doc: fix PCI hotplug PCI hotplug.c: does not contain kernel-doc, so don't process it for now. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 8e5dce35221850759671b2847a2e51030f7626bd tree 209dba22e714697336158ef43a2460068a65566b parent 5457b6a6013516a73b8f48ec1adb9984b577a5c1 author Kristen Accardi Tue, 18 Oct 2005 17:21:40 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] acpiphp: allocate resources for adapters with bridges Allocate resources for adapters with bridges on them. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 5457b6a6013516a73b8f48ec1adb9984b577a5c1 tree a0571bc80cfd4256a3e7a995480e6fb6e1f3cde6 parent a1720fdbd0f90e64668a59a304d01c5ba001b450 author Russell King Sun, 16 Oct 2005 21:32:46 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: Convert megaraid to use pci_driver shutdown method Convert megaraid to use pci_driver's shutdown method rather than the generic device_driver shutdown method. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit a1720fdbd0f90e64668a59a304d01c5ba001b450 tree 598e37eb0e64f78f29e27f85cfb63b60912994b7 parent d10211b278c70fbebb83fb9e4ee717ca13f69b2d author Russell King Sun, 16 Oct 2005 21:31:36 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: Fixup PCI driver shutdown Add a warning to pci driver registration code so that we know whether we have drivers using the obsolete driver shutdown method. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit d10211b278c70fbebb83fb9e4ee717ca13f69b2d tree 65ad1bb2de1a48d024e57563562678c5c4cbd5f0 parent c2608a111b621d5cf0e4c2876d79e67333ce5341 author Andrew Morton Sat, 15 Oct 2005 22:02:19 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: fix edac drivers for radisys 82600 borkage I told you that the pci_ids.h cleanup was a bad idea ;) Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit c2608a111b621d5cf0e4c2876d79e67333ce5341 tree 0e90b0bc85f026c74434f132760d7a4e12cf4eab parent 7c8942f993dc069db0e0327a343bbec8a6e96074 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:44 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] shpchp: fix oops at driver unload At unload time, the shpchp driver does not remove sysfs files it had created in the driver's probe entry point. This patch fixes this problem. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 7c8942f993dc069db0e0327a343bbec8a6e96074 tree 22e617e853e1af63ebd3953e34cee56f573d442b parent ee138334d5eb5ca662b2d69228420c1ccc051e0e author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: reduce debug message verbosity Reduce the number of debug messages generated if shpchp debug is enabled. I tried to restrict this to removing debug messages that are either early-driver-debug type messages, or print information that can be inferred through other debug prints. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit ee138334d5eb5ca662b2d69228420c1ccc051e0e tree 6c8f0d28ab39f4ea9abb0e9986f8c9a3fca6f470 parent 2178bfad9ccb0cbeb79599dd1dc349dd4567aa49 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:42 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: miscellaneous cleanups Remove un-necessary header includes, remove dead code, remove some type casts, receive function return in the correct data type... Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 2178bfad9ccb0cbeb79599dd1dc349dd4567aa49 tree 9a58ee4a73e36b31edd8b5660966403d7c6c5562 parent 70b6091946ab486c4dab8abeb4a3fc2bf7d3e7fe author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:41 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: remove redundant data structures State information is currently stored in per-slot as well as per-pci-function data structures in shpchp. There's a lot of overlap in the information kept, and some of it is never used. This patch consolidates the state information to per-slot and eliminates unused data structures. The biggest change is to eliminate the pci_func structure and the code around managing its lists. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 70b6091946ab486c4dab8abeb4a3fc2bf7d3e7fe tree b61b3262529be1b03cabac951bac5cf764e2daf2 parent 1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:40 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: dont save PCI config for hotplug slots/devices This patch eliminates saving the PCI config header for devices in hotplug capable slots. We now use the PCI core to get the specific parts of the config header as required. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4 tree dffc17757791d79f2a83b5a85cf21278f3803448 parent 424600f9706b20a8a33ad928d3d0326bd88679bc author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: detect SHPC capability before doing a lot of work The shpc driver registers its probe function for all pci-pci bridges in the system. Not all of them will be shpc capable, so look for this capability early in the probe function and return if there's no work to do on this bridge. The old shpc driver did some initialization work on all bridges before detecting that shpc is not supported and unwinds the work it's already done in that case. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 424600f9706b20a8a33ad928d3d0326bd88679bc tree 364509b512ff4f522b38329df582553a9c8fb6ff parent 7e88ed199689f333668b62348051202706b6a74a author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:38 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: reduce dependence on ACPI Reduce the SHPC hotplug driver's dependence on ACPI. We don't walk the acpi namespace anymore to build a list of bridges and devices. The remaining interaction with ACPI is to run the _OSHP method to transition control of hotplug hardware from system BIOS to the shpc hotplug driver, and to run the _HPP method to get hotplug device parameters like cache line size, latency timer and SERR/PERR enable from BIOS. Note that one of the side effects of this patch is that shpchp does not enable the hot-added device or its DMA bus mastering automatically now. It expects the device driver to do that. This may break some drivers and we will have to fix them as they are reported. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 7e88ed199689f333668b62348051202706b6a74a tree 5dd9d1f727a1b6b1435e475dcc62e7fde26d99f5 parent dbd7a78818d125a0ebd5507d4edb4dd5900006ab author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:37 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] shpchp: remove redundant display of PCI device resources Info about resources assigned to PCI devices is already available through sysfs and pci utilities. There's no need for shpchp to create another sysfs file to display the same information. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit dbd7a78818d125a0ebd5507d4edb4dd5900006ab tree 682a1681aad47f70bfb760fca077f54589be92c6 parent e3b1bd572f1cdb247bb4266a593b6894dc578d6a author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] shpchp: use the PCI core for hotplug resource management This patch converts the standard hotplug controller driver to use the PCI core for resource management. This eliminates a whole lot of duplicated code, and integrates shpchp in the system's normal PCI handling code. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit e3b1bd572f1cdb247bb4266a593b6894dc578d6a tree a3f4fe0abd9700d90ff8b6f349e9f639a4234be1 parent 934199e95d6ac28f42686fe3009877eff33e06c3 author Jean Delvare Wed, 21 Sep 2005 22:26:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] PCI: Add quirk for SMBus on HP D530 One more SMBus unhiding quirk, this time for the HP D530. Requested and successfully tested by Ben Cranston. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 934199e95d6ac28f42686fe3009877eff33e06c3 tree 607f305d0a7841484bd7b1e1adf956c7231db2de parent b7924c38c9a9c6151213bc0d91776eace614e761 author linas Wed, 28 Sep 2005 19:33:38 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] ppc64 PCI Hotplug: cleanup unsymmetric API routines This is a minor patch to the ppc64 PCI hotplug code; it makes the call to rpaphp_unconfig_pci_adapter() symmetric with respect to the call to rpaphp_config_pci_adapter(). I discussed this with John Rose, who had provided the last round of changes for these functions; he appearently had this patch but somehow failed to mail it out. Tested. (added/removed device). Signed-off-by: Linas Vepstas drivers/pci/hotplug/rpaphp.h | 3 ++- drivers/pci/hotplug/rpaphp_core.c | 5 ++++- drivers/pci/hotplug/rpaphp_pci.c | 11 +++-------- 3 files changed, 9 insertions(+), 10 deletions(-) commit b7924c38c9a9c6151213bc0d91776eace614e761 tree 68609a74c3bc43e510f58f9c808a0a74e9d23452 parent 4153812fc10ea91cb1a7b6ea4f4337dd211c1ef7 author Grant Coady Thu, 29 Sep 2005 11:06:40 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: remove non-referenced symbols from pci_ids.h pci_ids.h cleanup: removed non-referenced symbols, compile tested with 'make allmodconfig' Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman include/linux/pci_ids.h | 540 ------------------------------------------------ 1 file changed, 540 deletions(-) commit 4153812fc10ea91cb1a7b6ea4f4337dd211c1ef7 tree d56a554c172635f2d9e2fff7b8f30f8daa84d5ac parent b135c4815051bad6b2472e4ad0152f205918d2c5 author Grant Coady Thu, 29 Sep 2005 10:40:52 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: macros: replace partial with whole symbols pci_ids cleanup: replace symbols built by macros with whole symbols to aid grep searches. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman drivers/video/cirrusfb.c | 24 ++++++++++++------------ sound/oss/ymfpci.c | 17 +++++++++-------- sound/pci/bt87x.c | 11 +++++++---- 3 files changed, 28 insertions(+), 24 deletions(-) commit b135c4815051bad6b2472e4ad0152f205918d2c5 tree 5f82d14946fca89161deb4beb9c71c0305da845e parent acc06632e387fd05d2bf3480f6a2f4d1a62734b8 author Grant Coady Thu, 29 Sep 2005 10:39:46 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: remove duplicates from pci_ids.h pci_ids.h cleanup: remove duplicated entries and change some defines to explicit value rather than in terms of another constant, preparation for removing unused symbols Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman include/linux/pci_ids.h | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) commit acc06632e387fd05d2bf3480f6a2f4d1a62734b8 tree c578620b9d6ae0c817fae385435c8d2bfad97ffe parent fe89cf4c4b7a3d9a0ff95eb0506aa7c9baaccda1 author R.Marek@sh.cvut.cz Thu, 29 Sep 2005 08:35:41 +0000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] unhide ICH6 SMBus - take 2 This patch unhides hidden SMBus on ICH6 chipset installed in Asus M6V notebook. I would like to thank Michal Mleczko for testing and help. Signed-Off-By: Rudolf Marek Signed-off-by: Greg Kroah-Hartman drivers/pci/quirks.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit fe89cf4c4b7a3d9a0ff95eb0506aa7c9baaccda1 tree 496c9092452395e6d616adedab53e7ac85b199b6 parent c8920f0c8b3b42537ab4a54ff92c11daf48fdfec author Bjorn Helgaas Wed, 28 Sep 2005 14:03:08 -0600 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] cpqphp: add pci_enable_device() Add pci_{enable,disable}_device() calls. Without pci_enable_device(), dev->irq is garbage, and cpqphp relies on it. This fixes a problem reported by Bruno Redondi. He reported a flood of ACPI interrupts, that caused kacpid to run 100% of the time: http://bugzilla.kernel.org/show_bug.cgi?id=5312 Signed-off-by: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman drivers/pci/hotplug/cpqphp_core.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit c8920f0c8b3b42537ab4a54ff92c11daf48fdfec tree f8ee6aaf2a90e46a630a113cca127b04ab1f5e2a parent d3535fbbce0eef8faa8de30d187fc83b11b858ef author Bjorn Helgaas Wed, 28 Sep 2005 15:15:16 -0600 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] cpcihp_zt5550: add pci_enable_device() Add pci_{enable,disable}_device() calls. Without pci_enable_device(), dev->irq is garbage, and cpcihp_zt5550 relies on it. Compiled but untested, since I don't have the hardware. Signed-off-by: Bjorn Helgaas Signed-off-by: Scott Murray Signed-off-by: Greg Kroah-Hartman drivers/pci/hotplug/cpcihp_zt5550.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit d3535fbbce0eef8faa8de30d187fc83b11b858ef tree e0bad970776d58a8a79bfeb12d310acabe05aa61 parent b30197d2c07b396907b81673354a015a9d2b216c author John W. Linville Wed, 28 Sep 2005 17:50:51 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] pci: cleanup need_restore switch statement Cleanup the need_restore switch statement in pci_set_power_state(). This makes it more safe by explicitly handling all the PCI power states instead of handling them as the default case. It also reads a little better IMHO. Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman commit b30197d2c07b396907b81673354a015a9d2b216c tree eb70ae0b28d7164510a4a9e78444cc7f81616490 parent e04b0ea2e0f9c1bb0d874db4493fc7f7a623116b author Brian King Tue, 27 Sep 2005 01:21:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: ipr: Block config access during BIST IPR scsi adapter have an exposure today in that they issue BIST to the adapter to reset the card. If, during the time it takes to complete BIST, userspace attempts to access PCI config space, the host bus bridge will master abort the access since the ipr adapter does not respond on the PCI bus for a brief period of time when running BIST. On PPC64 hardware, this master abort results in the host PCI bridge isolating that PCI device from the rest of the system, making the device unusable until Linux is rebooted. This patch makes use of some newly added PCI layer APIs that allow for protection from userspace accessing config space of a device in scenarios such as this. Signed-off-by: Brian King Cc: Benjamin Herrenschmidt Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/scsi/ipr.c | 2 ++ 1 file changed, 2 insertions(+) commit e04b0ea2e0f9c1bb0d874db4493fc7f7a623116b tree 75937e50de883f69e906a4c8bc9f119d86c14411 parent 2cea752f683af1be58ee8f25717c0a8118e0ac5b author Brian King Tue, 27 Sep 2005 01:21:55 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: Block config access during BIST Some PCI adapters (eg. ipr scsi adapters) have an exposure today in that they issue BIST to the adapter to reset the card. If, during the time it takes to complete BIST, userspace attempts to access PCI config space, the host bus bridge will master abort the access since the ipr adapter does not respond on the PCI bus for a brief period of time when running BIST. On PPC64 hardware, this master abort results in the host PCI bridge isolating that PCI device from the rest of the system, making the device unusable until Linux is rebooted. This patch is an attempt to close that exposure by introducing some blocking code in the PCI code. When blocked, writes will be humored and reads will return the cached value. Ben Herrenschmidt has also mentioned that he plans to use this in PPC power management. Signed-off-by: Brian King Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/pci/access.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++ drivers/pci/pci-sysfs.c | 20 +++++----- drivers/pci/pci.h | 7 +++ drivers/pci/proc.c | 28 +++++++-------- drivers/pci/syscall.c | 14 +++---- include/linux/pci.h | 7 +++ 6 files changed, 134 insertions(+), 31 deletions(-) commit 2cea752f683af1be58ee8f25717c0a8118e0ac5b tree a0d40566377824eb6cfe5faac802140392dcee28 parent 20731945ae743034353a88c307920d1f16cf8ac8 author R.Marek@sh.cvut.cz Tue, 27 Sep 2005 21:54:51 +0000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: ICH6 ACPI and GPIO quirk This patch just adds ACPI and GPIO regions to its LPC bridge, similar way as ICH4 did. I would like to thank Michal Mleczko for testing. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman drivers/pci/quirks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 96a339985d4c6874d32909e8f1903e6e6c141399 tree d3eb8006efa5e03bb0ef875bf8dc2ed1d90ecb21 parent a1ab3582699def352dab1355adcadd3d47f79f0f author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:36:12 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:36:12 -0700 [SCTP] Allow SCTP_MAXSEG to revert to default frag point with a '0' value. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit a1ab3582699def352dab1355adcadd3d47f79f0f tree 48faf33fae1b82f15df770e6340f58a858393e43 parent eaa5c54dbec70e2a93d6ed412bb589bbf9c90a17 author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:33:24 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:33:24 -0700 [SCTP] Fix SCTP_SETADAPTION sockopt to use the correct structure. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 1993d683f39f77ddb46a662d7146247877d50b8f tree 608391d9daa25e13b70cc11d6b99f800a7079050 parent cb0f0910f4b41772a6771bdb4fb2d419b27bcd77 author Roland Dreier Fri, 28 Oct 2005 15:30:34 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:30:34 -0700 [IPoIB] Drop RX packets when out of memory Change the way IPoIB handles RX packets when it can't allocate a new receive skbuff. If the allocation of a new receive skb fails, we now drop the packet we just received and repost the original receive skb. This means that the receive ring always stays full and we don't have to monkey around with trying to schedule a refill task for later. Signed-off-by: Roland Dreier commit fb5f329d58c67cadc8ff07193ea7556923d49d1b tree f26147586d353afc5f5979693769379186280736 parent 9590204d31f8a5f47e890fbbdbcd37dd78f0581a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Tony Luck Fri, 28 Oct 2005 15:28:54 -0700 committer Tony Luck Fri, 28 Oct 2005 15:28:54 -0700 Auto-update from upstream commit 9590204d31f8a5f47e890fbbdbcd37dd78f0581a tree 670235feba2ca1fffe0bd26ddecdf1c08f87618c parent 8496f2a4513edbc0c1d40496f1b0868dfed36eb0 parent 4ac0068f44f192f2de95a7bb36df3e19767a45fb author Tony Luck Fri, 28 Oct 2005 15:27:48 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:48 -0700 Pull optimize-ptrace-threads into release branch commit 8496f2a4513edbc0c1d40496f1b0868dfed36eb0 tree 18a772d7a4c42ec325539b52d2053dabc99c460a parent 2d8f6a521908e3563478347aecad4ab20dc48155 parent c1902aae322952f8726469a6657df7b9d5c794fe author Tony Luck Fri, 28 Oct 2005 15:27:36 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:36 -0700 Pull fix-slow-tlb-purge into release branch commit b5141128027c53b8ca40736d969f75c9a1cdb64b tree f09f3f7b608017329a3e44a41e975acbd0ea9af0 parent 28f22b031f8959cdf53202cd9f6ca8b9ce19b3a6 author Christoph Hellwig Fri, 28 Oct 2005 22:07:41 +0200 committer James Bottomley Fri, 28 Oct 2005 17:27:25 -0500 [SCSI] mptsas: support link error attributes .. and the fusion part. I had to move around the debug functions around a little bit so they are below the transport class methods. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 2d8f6a521908e3563478347aecad4ab20dc48155 tree 0eb0fa70b50807130f94dbe228d09d20707368a1 parent fac84ef26759a3725bfc53ae3abf21976360aff3 parent e7f98dbbb89b68b23a5115708412a820a713fbf1 author Tony Luck Fri, 28 Oct 2005 15:27:16 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:16 -0700 Pull fix-bte-copy into release branch commit fac84ef26759a3725bfc53ae3abf21976360aff3 tree 94aa9362e72a0736948adc78cb43ebf44f59580b parent d73dee6ee4b554074f88e4ebd956ea4db8552d52 parent 279290294662d4a35d209fb7d7c46523cfa3d63d author Tony Luck Fri, 28 Oct 2005 15:27:03 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:03 -0700 Pull xpc-disengage into release branch commit d73dee6ee4b554074f88e4ebd956ea4db8552d52 tree 9f4468c7b54d0796d7659ce3ae30b756217522e9 parent 9acd3fa2e10f4e5b093ddf93af8f23cc9bdbd621 parent ddf6d0a00cbb4ad6d4fb4200cc911bb9389174c1 author Tony Luck Fri, 28 Oct 2005 15:26:43 -0700 committer Tony Luck Fri, 28 Oct 2005 15:26:43 -0700 Pull for-each-cpu into release branch commit 28f22b031f8959cdf53202cd9f6ca8b9ce19b3a6 tree 7bab29681f7244dc4f0e5ae8c57100a39e113469 parent c3ee74c4e91017169c7f1fa74a57ba8502ec49c3 author James Bottomley Fri, 28 Oct 2005 17:22:18 -0500 committer James Bottomley Fri, 28 Oct 2005 17:22:18 -0500 [SCSI] qla2xxx: put back label erroneously removed by eh_active patch The label eh_dev_reset_done is still in use Signed-off-by: James Bottomley commit eaa5c54dbec70e2a93d6ed412bb589bbf9c90a17 tree 4047a75f7f74d978bad9c4862afbd47c8cda595a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:10:00 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:10:00 -0700 [SCTP] Rename SCTP specific control message flags. Rename SCTP specific control message flags to use SCTP_ prefix rather than MSG_ prefix as per the latest sctp sockets API draft. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 9acd3fa2e10f4e5b093ddf93af8f23cc9bdbd621 tree fefb8d52a8ef074d59f2b342d18b4372dde8952c parent 5a2b1722e1051b84485a77006abe9b929aedef32 parent 9c184a073bfd650cc791956d6ca79725bb682716 author Tony Luck Fri, 28 Oct 2005 14:33:50 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:50 -0700 Pull asm-slot-fix into release branch commit 5a2b1722e1051b84485a77006abe9b929aedef32 tree 0f61eff618b22c698a97563c881ccea271464a0b parent 1e1bb25e97dcbc8820e673eb543be6b2dcfa080b parent ce6e71ad4866dad366be135b024b776c00ec9ec8 author Tony Luck Fri, 28 Oct 2005 14:33:35 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:35 -0700 Pull proc-cpuinfo-siblings into release branch commit 1e1bb25e97dcbc8820e673eb543be6b2dcfa080b tree 654544984d640037f1fd6b5258f158cb9adaed5b parent c87ff94333642ce3db4fc0857ad1f723cb42c1dd parent b6a7e1ecef66b9ecd1eed31f46ba0248d6d7e957 author Tony Luck Fri, 28 Oct 2005 14:33:14 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:14 -0700 Pull big-sim-disk into release branch commit c87ff94333642ce3db4fc0857ad1f723cb42c1dd tree 9577010b5ca20b692904c4728b305a9cbde5373e parent 556902cd2d2cfdc54fe1f1d7f3ac5e2eb276ac09 parent 1e5c936e3cc2ab745f66c0ae296c42f892ffd42a author Tony Luck Fri, 28 Oct 2005 14:32:56 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:56 -0700 Pull sparsemem-v5 into release branch commit 556902cd2d2cfdc54fe1f1d7f3ac5e2eb276ac09 tree 0327adc0cb1a4ae608ea293ae7d80a0948211b06 parent 5833f1420b96c4f9b193b7f2fcbc0003dc032fe8 parent 36735554571ea619e38210a20f429798de90adc1 author Tony Luck Fri, 28 Oct 2005 14:32:44 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:44 -0700 Pull remove-sn-bist-lock into release branch commit 5833f1420b96c4f9b193b7f2fcbc0003dc032fe8 tree ccb3933b3c694ba4724c3a392d6e275d992ed86b parent a1e78db3f54d3481726ed2d3d58d8ad5b19b13d0 parent d719948e623622cf9fc8016f7ec63422d929eb3b author Tony Luck Fri, 28 Oct 2005 14:32:30 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:30 -0700 Pull new-efi-memmap into release branch commit 20731945ae743034353a88c307920d1f16cf8ac8 tree 132c796fe3a167dece8cec7a40b1d5dd83a68bc8 parent 406119f49d4a6cf8b6eee639128e0575a95065e3 parent a9d1b24d91f91b77db3da8aeacb414764f789b9c author Linus Torvalds Fri, 28 Oct 2005 14:14:57 -0700 committer Linus Torvalds Fri, 28 Oct 2005 14:14:57 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit c45154a3b1fecdbb51b5462c9f730b44e62b83a5 tree d732790e3243e1a11e9a122f7aaa6495d1fbf2f5 parent 07c1da2396632a4ad2cab41c6cd939b159f54968 author Ed Kear Sat, 16 Jul 2005 23:32:19 -0400 committer Jeff Garzik Fri, 28 Oct 2005 17:02:50 -0400 [PATCH] libata: add support for Promise SATA 300 TX2plus PDC40775 I'm using this card in a RAID1 with 2 new SATA drives with no problems. Card - SATA 300 TX2plus PDC40775 (3d73) Signed-off-by: Ed Kear Signed-off-by: Jeff Garzik commit a9d1b24d91f91b77db3da8aeacb414764f789b9c tree a7400c6154b7e5b6839b3c25fecc2daac75c4a2b parent 0dc9a32d9a975ccd25b9f531451165c93e1c7313 author Greg Kroah-Hartman Sat, 22 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:15 -0700 [PATCH] I2C: add i2c module alias for i2c drivers to use This is the start of adding hotplug-like support for i2c devices. Signed-off-by: Greg Kroah-Hartman commit 0dc9a32d9a975ccd25b9f531451165c93e1c7313 tree df2c1fd2bd0f98d305a9630da86737a91201d8f9 parent b890a07f7b002ee473986fa85ae3582de399a4cf author Greg Kroah-Hartman Sat, 22 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] I2C: remove devfs support from i2c-dev driver as devfs is gone, this isn't needed anymore. Signed-off-by: Greg Kroah-Hartman commit b890a07f7b002ee473986fa85ae3582de399a4cf tree d29b5a2d41d0a6ce7b5da57576cb876f53e29eac parent 90209b42d0498d57a804bf81fea427bf39c5315c author Jean Delvare Wed, 26 Oct 2005 22:21:24 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: smsc47m1 documentation update The SMSC LPC47M997 Super-I/O chip seems to be compatible with the LPC47M192, so it is supported by the smsc47m1 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 90209b42d0498d57a804bf81fea427bf39c5315c tree e6668317e71a45ed585ecdb27eafa0b285dc9f33 parent c3df5806cdae6fac678c662b527cb974bef4b60c author Jean Delvare Wed, 26 Oct 2005 22:20:21 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: lm90 documentation update Update the I2C addresses for the ADM1032 and ADT7461 chips. Also update the links to the Analog Devices web site. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c3df5806cdae6fac678c662b527cb974bef4b60c tree a510da8447852247907dd6896cdf51c7e3d60844 parent 8256fe0f40f1cd72f80f2c46fe0ab1638f03a98d author Jean Delvare Wed, 26 Oct 2005 21:39:40 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: Add PEC support to the lm90 driver Add PEC support to the lm90 driver. Only the ADM1032 chip supports it, and in a rather tricky way, which is why this patch comes with documentation reinforcements. At least, this demonstrates that the new PEC support logic in i2c-core can properly deal with chips with partial PEC support. As enabling PEC causes a significant performance drop, it can be disabled through a sysfs file (unsurprisingly named "pec"). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8256fe0f40f1cd72f80f2c46fe0ab1638f03a98d tree 7a61802fe469ad3f199506ed832ad460d32b3649 parent e8aac4a9b417643dd9739b48473790a09b8b6cbe author Jean Delvare Wed, 26 Oct 2005 21:37:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: Separate the lm90 register read function Preparatory patch to add PEC support to the lm90 driver. We need a centralized function to read register values, where the PEC code will be later inserted. A positive side effect is that read errors are now handled properly. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e8aac4a9b417643dd9739b48473790a09b8b6cbe tree 70934ffa1a7327c62d13f09d0e1d8b74277b0a62 parent 585b3160f8212e58325bc1c0292c2ec01ac5db84 author Jean Delvare Wed, 26 Oct 2005 21:34:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: i2c-i801 PEC code cleanups The tests leading to the use of hardware PEC in the i2c-i801 driver can be simplified. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 585b3160f8212e58325bc1c0292c2ec01ac5db84 tree 368c38952dc1ee6b514266f6b25a285d6bc5d98c parent 421ef47be20c5454b12ae0ec918d5073a9d2b938 author Jean Delvare Wed, 26 Oct 2005 21:31:15 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: SMBus PEC support rewrite, 3 of 3 The new SMBus PEC implementation doesn't support PEC emulation on non-PEC non-I2C SMBus masters, so we can drop all related code. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 421ef47be20c5454b12ae0ec918d5073a9d2b938 tree a7225bd055acb418693d0e6ed4f8d886dc68ec55 parent b8095544bc27044a7aa79e1e073b781a249910c3 author Jean Delvare Wed, 26 Oct 2005 21:28:55 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: SMBus PEC support rewrite, 2 of 3 This is my rewrite of the SMBus PEC support. The original implementation was known to have bugs (credits go to Hideki Iwamoto for reporting many of them recently), and was incomplete due to a conceptual limitation. The rewrite affects only software PEC. Hardware PEC needs very little code and is mostly untouched. Technically, both implementations differ in that the original one was emulating PEC in software by modifying the contents of an i2c_smbus_data union (changing the transaction to a different type), while the new one works one level lower, on i2c_msg structures (working on message contents). Due to the definition of the i2c_smbus_data union, not all SMBus transactions could be handled (at least not without changing the definition of this union, which would break user-space compatibility), and those which could had to be implemented individually. At the opposite, adding PEC to an i2c_msg structure can be done on any SMBus transaction with common code. Advantages of the new implementation: * It's about twice as small (from ~136 lines before to ~70 now, only counting i2c-core, including blank and comment lines). The memory used by i2c-core is down by ~640 bytes (~3.5%). * Easier to validate, less tricky code. The code being common to all transactions by design, the risk that a bug can stay uncovered is lower. * All SMBus transactions have PEC support in I2C emulation mode (providing the non-PEC transaction is also implemented). Transactions which have no emulation code right now will get PEC support for free when they finally get implemented. * Allows for code simplifications in header files and bus drivers (patch follows). Drawbacks (I guess there had to be at least one): * PEC emulation for non-PEC capable non-I2C SMBus masters was dropped. It was based on SMBus tricks and doesn't quite fit in the new design. I don't think it's really a problem, as the benefit was certainly not worth the additional complexity, but it's only fair that I at least mention it. Lastly, let's note that the new implementation does slightly affect compatibility (both in kernel and user-space), but doesn't actually break it. Some defines will be dropped, but the code can always be changed in a way that will work with both the old and the new implementations. It shouldn't be a problem as there doesn't seem to be many users of SMBus PEC to date anyway. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b8095544bc27044a7aa79e1e073b781a249910c3 tree 2e7f92c1d6765d44531a5d5c830e53fc2f8d760f parent 142078f6f09986c2b8f5ebe215ce405438080317 author Jean Delvare Wed, 26 Oct 2005 21:25:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: SMBus PEC support rewrite, 1 of 3 Discard I2C_FUNC_SMBUS_*_PEC defines. i2c clients are not supposed to check for PEC support of i2c bus drivers on individual SMBus transactions, and i2c bus drivers are not supposed to advertise them. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 142078f6f09986c2b8f5ebe215ce405438080317 tree 4dbfcd958b06e3935ba64f3ba6bbbd12c5b26f5b parent eb00a28ae1a8fc4b3914f94ab1944396b8dda9fc author Jean Delvare Wed, 26 Oct 2005 21:21:50 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: i2c-i810 documentation update Update the documented list of devices supported by the i2c-i810 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit eb00a28ae1a8fc4b3914f94ab1944396b8dda9fc tree 002802351fdc91eacce8de3a6fe442c2299a99f0 parent cd19cc4732395eb3dbaf49042233b5ac69b1fbd3 author Jean Delvare Wed, 26 Oct 2005 21:20:17 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: Drop unused parport i2c IDs Drop unused i2c-over-parallel-port i2c IDs: * I2C_HW_B_LPC was never actually used as far as I could search. * I2C_HW_B_ELV and I2C_HW_B_VELLE are no more used since the introduction of the unified i2c-parport driver in Linux 2.6.2. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cd19cc4732395eb3dbaf49042233b5ac69b1fbd3 tree a904941e7033eac700530cdecdd759f933f6c9f0 parent 6344a8ece0bacccf61817450e8ccf78c973fc0c5 author Jean Delvare Wed, 26 Oct 2005 21:14:16 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: ID redefinition cleanups Fix several redefinitions of i2c IDs. i2c IDs must not be defined outside of i2c-id.h. Signed-off-by: Jean Delvare Signed-off-by: Henk Vergonet Acked-by: Mark McClelland Signed-off-by: Greg Kroah-Hartman commit 6344a8ece0bacccf61817450e8ccf78c973fc0c5 tree 2cfb965523a097ce90163dee5482ffa5fd5ab009 parent c49efceffa599299ab3f38b1cdf8c2f1bf9811c4 author Ben Dooks Wed, 26 Oct 2005 21:09:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: Static function fixes, 4 of 4 Fix functions declared static and then implemented without the static in drivers/i2c/chips. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c49efceffa599299ab3f38b1cdf8c2f1bf9811c4 tree e7b0124f85ad5563875c92679545f4c2fb38c956 parent d8d2061590c87c20bf78133461bc74df78803ecb author Ben Dooks Wed, 26 Oct 2005 21:07:25 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] hwmon: Static function fixes, 3 of 4 Fixup functions that have been declared static and then actually defined without the static on. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d8d2061590c87c20bf78133461bc74df78803ecb tree 39ca3da820be362cabfff53f9d5446f6c3dc8059 parent 6536c49a1ee2bd85eee0e7fa41e67c5743f2f93e author Ben Dooks Wed, 26 Oct 2005 21:05:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] hwmon: Static function fixes, 2 of 4 lm78.c and lm85.c have a number of items declared static then implemented without the static on them. The following patch fixes these sparse errors. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 6536c49a1ee2bd85eee0e7fa41e67c5743f2f93e tree 6286f837ae9b7109aae92658f2b676e0151c2766 parent 2445eb62e98250f1ec8cbc8cf7c4be9cfafe88e5 author Ben Dooks Wed, 26 Oct 2005 21:04:12 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: Static function fixes, 1 of 4 eeprom_detect is first declared static and then when the function is actually implemented, there is no static. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2445eb62e98250f1ec8cbc8cf7c4be9cfafe88e5 tree d378cbfddb05c37d09cf03c71f070b02aed7a9cc parent deb875c7ff2ef417a2daff41ee4b357098b7ab10 author Jean Delvare Mon, 17 Oct 2005 23:16:25 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: Documentation update Update the i2c documentation: kzalloc should be used instead of kmalloc. I also fixed a couple other things nearby in writing-clients, as several past changes had never been reported there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit deb875c7ff2ef417a2daff41ee4b357098b7ab10 tree aad952c341d91e9c6bda7653d73bb8f2624dd8a0 parent 078d9fe4fe8dada13e37d2e2790b0ad780324097 author Jean Delvare Mon, 17 Oct 2005 23:14:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc cleanups, 2 of 2 Use kzalloc instead of kmalloc in the S4882 SMBus multiplexing driver. I guess it's safer that way. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 078d9fe4fe8dada13e37d2e2790b0ad780324097 tree dc878bab118133d65a78eb553d7eaa7ccb21cc84 parent 5263ebb51eb098b01caf229498c954999117e4a7 author Jean Delvare Mon, 17 Oct 2005 23:12:36 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc cleanups, 1 of 2 Drop useless casts on kzalloc returned values, as suggested by Jiri Slaby. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5263ebb51eb098b01caf229498c954999117e4a7 tree f18933c0b38a51ba9f100e7be4f5f5d54838cf45 parent ba9c2e8d15da029ea3051c95e446b2d638ef02e2 author Deepak Saxena Mon, 17 Oct 2005 23:09:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc conversion, other drivers Use kzalloc instead of kmalloc+memset in all remaining i2c bus and chip drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ba9c2e8d15da029ea3051c95e446b2d638ef02e2 tree 28272b92080f18f16008c09464190939183c8698 parent 2286066faf51890e49ad61e2ceab683666cd9108 author Deepak Saxena Mon, 17 Oct 2005 23:08:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] hwmon: kzalloc conversion Use kzalloc instead of kmalloc+memset in all hardware monitoring drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2286066faf51890e49ad61e2ceab683666cd9108 tree fc9e7dc7a898e80485ea25065ff9143ec0e6407e parent 4d4e5ce8648561b964699afb2df5e7268a84599b author Deepak Saxena Mon, 17 Oct 2005 23:07:05 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc conversion, ixp bus drivers Use kzalloc instead of kmalloc+memzero in the ixp2000 and ixp4xx I2C bus drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 4d4e5ce8648561b964699afb2df5e7268a84599b tree 95d88cfc63db1e14cba71074a6108ed9a4b16737 parent ddec748f328af6b67e4d0ce0248a8e9f36751827 author Alessandro Zummo Mon, 17 Oct 2005 23:04:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: New Xicor X1205 RTC driver New driver for the Xicor X1205 RTC chip. Signed-off-by: Alessandro Zummo Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ddec748f328af6b67e4d0ce0248a8e9f36751827 tree ce99658260e0a5f3d56e67d5d33ce8e498947990 parent 7ab83a9137ccd3e092fb6ad0cb105b4d1fb617ae author Jean Delvare Mon, 17 Oct 2005 23:02:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] hwmon: Missing class check in two hwmon drivers The atxp1 and ds1621 drivers should make sure they do not probe non-hwmon i2c adapters. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7ab83a9137ccd3e092fb6ad0cb105b4d1fb617ae tree e76341e6617eac19514ce2e41768514f7c9acedb parent 1747ef1b8c9b7b9c6a9aae3543a9b99acabb7e10 author Mark M. Hoffman Mon, 17 Oct 2005 23:01:45 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] hwmon: New device ID for the smsc47b397 driver This patch adds a new ID to the SMSC LPC47B397-NC hardware monitoring driver - for a chip that is claimed to be 100% compatible otherwise. Signed-off-by: Bryan Young (Utilitek Systems, Inc.) Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1747ef1b8c9b7b9c6a9aae3543a9b99acabb7e10 tree 3f436cabbffd56f103ea9464f5056597b474ebd9 parent 6586bcd7b2bbe255110b2db772da4415c7865a2a author Laurent Riffard Mon, 17 Oct 2005 22:58:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 5 of 5 In function i2c_isa_add_driver, copied driver should inherit the owner field as well as the name field. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 6586bcd7b2bbe255110b2db772da4415c7865a2a tree 0f5b10ccc7656fef1817c8fb7489aff51389de54 parent e78f857cc5299c3f6b3d046084696ef205948837 author Laurent Riffard Mon, 17 Oct 2005 22:54:45 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 4 of 5 This patch updates the .owner field for the i2c core struct xxxx_driver variables. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e78f857cc5299c3f6b3d046084696ef205948837 tree ff83d0b12d252becaa211f99da5b9e1f9c74f9b7 parent 0cf3628181660be4e21fe520766dcbc3da9d71c8 author Laurent Riffard Mon, 17 Oct 2005 22:53:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 3 of 5 This patch updates the .owner field for various struct xxxx_driver variables which are available on PPC_MAC arch. This one was _not_ even compile-tested... Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 0cf3628181660be4e21fe520766dcbc3da9d71c8 tree 0537200cc49c93bb2d2f3630f589ff2b87718f91 parent ccd7aa0cc9413b79b69f6cd7c18daa1c22dfa512 author Laurent Riffard Mon, 17 Oct 2005 22:51:37 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 2 of 5 This patch updates the .owner field for various struct xxxx_driver variables, other than pci_driver. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Mark A. Greer Acked-by: Ben Dooks Acked-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman commit ccd7aa0cc9413b79b69f6cd7c18daa1c22dfa512 tree da13f4e66aeb206019d5a1a5796b5a30ac65da7d parent fe3d6a99782d5345b1927e872d77d1778668094b author Laurent Riffard Mon, 17 Oct 2005 22:47:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 1 of 5 This patch updates .owner field for various struct pci_driver variables. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fe3d6a99782d5345b1927e872d77d1778668094b tree d275d3abee80c0ec19193350ede05308697b51fe parent 3634ff6a32e90d9db0ec19297e80059143c1aa7f author Stig Telfer Sat, 08 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Big i2c-elektor cleanup Cleanups to the i2c-elektor driver: * Set the i2c_adapter name field to "i2c-elektor" and use this string in all resource requests and printks. * Change space-padding for tab indentation, kill trailing white space, remove space before comma. * Use dev_info, pr_info and pr_debug instead of printk. * Lines chopped to 80 columns. Signed-off-by: Stig Telfer Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3634ff6a32e90d9db0ec19297e80059143c1aa7f tree c07cf34e839b70d9ab1c604b179943b199d542f3 parent 00bffb6e29c5ef12cea7904905f8b959187076c9 author Stig Telfer Sat, 08 Oct 2005 00:21:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Fix i2c-elektor on Alpha This patch updates the i2c-elektor driver, enabling it to compile cleanly, load and run. The key change is that it uses the new __iomem/iowrite8/ioread8 functions to abstract the direct or memory-mapped variants of register access. Also, the original driver would crash on module load on the Alpha because the PCI memory region was not remapped into kernel memory. I have managed the following testing: * compiled and tested it on my Alpha UP2000+ system. * compiles cleanly for x86 but I don't have the hardware to test. Signed-off-by: Stig Telfer Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 00bffb6e29c5ef12cea7904905f8b959187076c9 tree 76da2f90a3ae3bd697cfbe8d7be358e9892b4f89 parent 6c129be8c7bd1bdbd47ba8e17f6e5053ef04aee8 author Jean Delvare Sat, 08 Oct 2005 00:19:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop meaningless use of I2C_DF_NOTIFY in i2c_client structures I2C_DF_NOTIFY is an i2c_driver flag, using it as an i2c_client flag doesn't make any sense. Signed-off-by: Jean Delvare Acked-by: Mark A. Greer Acked-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit 6c129be8c7bd1bdbd47ba8e17f6e5053ef04aee8 tree ee63ddf9651ae49a2b48615135ea338ba9e12bb9 parent 30dac7469741906436b50f9413dccd446366d371 author Jean Delvare Sat, 08 Oct 2005 00:17:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Rename i2c-parport variable to avoid confusion It's a bit confusing to name a variable the same as an unrelated structure. The compiler doesn't complain, but it certainly makes the code harder to understand, and could confuse grep and LXR among others. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 30dac7469741906436b50f9413dccd446366d371 tree b5285192cd8b4274781d2dabd3bf89ceefadba82 parent d3554b4a2fb0e2229eb0d3fa9ece5b2f0b906d3e author Jean Delvare Sat, 08 Oct 2005 00:15:59 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop I2C_SMBUS_I2C_BLOCK_MAX Drop I2C_SMBUS_I2C_BLOCK_MAX, use I2C_SMBUS_BLOCK_MAX instead. I2C_SMBUS_I2C_BLOCK_MAX has always been defined to the same value as I2C_SMBUS_BLOCK_MAX, and this will never change: setting it to a lower value would make no sense, setting it to a higher value would break i2c_smbus_data compatibility. There is no point in changing i2c_smbus_data to support larger block transactions in SMBus mode, as no SMBus hardware supports more than 32 byte blocks. Thus, for larger transactions, direct I2C transfers are the way to go. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d3554b4a2fb0e2229eb0d3fa9ece5b2f0b906d3e tree 34015428b2b1eee320130b7fea86504ff41834d0 parent 862bc36f682b25dd97833f702b4f8c97661b8811 author Jean Delvare Sat, 08 Oct 2005 00:14:17 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop unused per-i2c-algorithm adapter max There are no more per-i2c-algorithm adapter max. Last time there were was in July 1999. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 862bc36f682b25dd97833f702b4f8c97661b8811 tree bdafe5326e72ec7cc9a677746ca7332ae73e7bd3 parent 91749996287c230671788014f422f72e594e7b86 author Jean Delvare Sat, 08 Oct 2005 00:12:01 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] hwmon: Drop useless w83627hf initialization step Drop a useless initialization step in the w83627hf driver. The comment says that the W83627HF PWM2 can be disabled, but it can't. I suppose this is a leftover from the w83781d driver (from which the w83627hf driver is derived), as for example the W83782D had the ability to disable PWM2. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 91749996287c230671788014f422f72e594e7b86 tree 65da0e02eba42ad395db31e36cc673b65a2c5706 parent 80ce3b7d0f52877b80cddc3ace8b332d888f0131 author Jean Delvare Sat, 08 Oct 2005 00:10:00 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] hwmon: Drop legacy ISA address support from it87 Drop legacy ISA address support from the it87 driver. All supported chips are Super-I/O chips, so the device ISA address can be safely read from Super-I/O space rather than blindly assumed. Two nearby inaccurate documentation statements have been fixed as well: * The IT8705F doesn't have an SMBus interface. * The SiS950 doesn't have a distinct prefix. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 80ce3b7d0f52877b80cddc3ace8b332d888f0131 tree 8ca3be85ad953a8a9c874e1c0e805dcd7314c19a parent 31ec5bc57146a479fac6f6878146059180413e43 author Jean Delvare Sat, 08 Oct 2005 00:06:09 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Drop out-of-date, colliding ioctl definitions Delete 2 out-of-date, colliding ioctl defines. I2C_UDELAY and I2C_MDELAY are supposed to be used by i2c-algo-bit, but actually aren't (and I suspect never were). Moreover, their values are the same as I2C_FUNCS and I2C_SLAVE_FORCE, respectively, which *are* widely used. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 31ec5bc57146a479fac6f6878146059180413e43 tree 1d07157c39a0ed694c5a2cfb97254b1a2f04d25a parent 7865e24935ec7e76fb482c749015a23052e51f76 author Jean Delvare Sat, 08 Oct 2005 00:04:13 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Fix misplaced i2c.h comment Fix a misplaced comment in i2c.h. Spotted by Hideki Iwamoto. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7865e24935ec7e76fb482c749015a23052e51f76 tree 9a5fc835415cccc57ec2b7bf86365d4d6ac3f2ba parent 47b8b103f7f50d56568eb8d6cff0e3a2373f0eb3 author Jean Delvare Sat, 08 Oct 2005 00:00:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Documentation fixes i2c documentation fixes. >From Hideki Iwamoto: * i2c_smbus_read_i2c_block_data is not deleted in 2.6.10. It still exists. * The name which can be set to i2c_driver is up to 31 characters. >From Jean Delvare: * Reword the paragraph about i2c_driver.name, to reflect the "new" naming policy. * Delete the out-of-date note about now gone inc_use and dec_use fields. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 47b8b103f7f50d56568eb8d6cff0e3a2373f0eb3 tree 477c11eeef2a45ac5c7dfeb761de50b2d89eeb9d parent ada0c2f8fa087dc1dbc34e096c318739b1d6381a author Jean Delvare Fri, 07 Oct 2005 23:56:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Cleanup i2c-i801 ifdefs No more need to check for PEC support being available now that both the i2c-core and the i2c-i801 drivers are part of the Linux kernel source tree. It's just there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ada0c2f8fa087dc1dbc34e096c318739b1d6381a tree e7f80d1336e2190c138fd4226438195e2f67839d parent bf813b314a2271c3f3903eb3279ebf5e09b3d27a author Petr Vandrovec Fri, 07 Oct 2005 23:11:03 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] hwmon: Fix w83627ehf/hf vs PNPACPI conflict (bug #4014) This patch changes w83627hf and w83627ehf drivers to reserve only ports 0x295-0x296, instead of full 0x290-0x297 range. While some other sensors chips respond to all addresses in 0x290-0x297 range, Winbond chips respond to 0x295-0x296 only (this behavior is implied by documentation, and matches behavior observed on real systems). This is not problem alone, as no BIOS was found to put something at these unused addresses, and sensors chip itself provides nothing there as well. But in addition to only respond to these two addresses, also BIOS vendors report in their ACPI-PnP structures that there is some resource at I/O address 0x295 of length 2. And when later this hwmon driver attempts to request region with base 0x290/length 8, it fails as one request_region cannot span more than one device. Due to this we have to ask only for region this hardware really occupies, otherwise driver cannot be loaded on systems with ACPI-PnP enabled. Signed-off-by: Petr Vandrovec Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit bf813b314a2271c3f3903eb3279ebf5e09b3d27a tree da029880a66422cd5aebe0191287a215e9d273b0 parent e8aafcb2bba1fe122907161701a167e38174c7a5 author Jean Delvare Fri, 07 Oct 2005 23:09:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Drop useless CVS revision IDs CVS revision IDs are totally useless and irrelevant by now. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e8aafcb2bba1fe122907161701a167e38174c7a5 tree 1353e18055286d52d7f4f3a1d4a5cf028f024f5f parent 8a1b028bca95b5af36e94a660c4d284fe3313f74 author Jean Delvare Fri, 07 Oct 2005 23:06:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c: Cleanup i2c-dev ioctl debug message Cleanup the ioctl debug message in i2c-dev. In particular, the minor number is redundant now that the minor number and the adapter number are kept in sync. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8a1b028bca95b5af36e94a660c4d284fe3313f74 tree 8fc0193e66117776b4112cb9484e61a51bf48a21 parent ca68f1193e8fc86470d4222d563d13b5584dc4f8 author Jean Delvare Fri, 07 Oct 2005 23:04:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c: Add missing i2c-ixp2000/4xx adapter name The ixp4xx and ixp2000 i2c bus drivers omit to fill the required i2c_adapter name field. Copy the device driver name field there. Signed-off-by: Jean Delvare Signed-off-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman commit ca68f1193e8fc86470d4222d563d13b5584dc4f8 tree 6bfb26f76e4a0986bfed32080d6aa6cec45f1b38 parent ed5453e54f0c4a29605fd8399f58649d8739f5f0 author Greg KH Thu, 22 Sep 2005 22:23:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Cleanup ifdef usage It's not nice to put #ifdef in the middle of functions. CC: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit ed5453e54f0c4a29605fd8399f58649d8739f5f0 tree 935b4cb15b7baefb836cc80b45c814be51a8ce8c parent 50c1cc339ca72f7cb95d440d384346f4238dc494 author Jean Delvare Thu, 22 Sep 2005 22:23:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Improve register dump Improve the register dump used to debug the i2c-viapro driver. The original dump was missing the HSTSTS register and the block data buffer. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) commit 50c1cc339ca72f7cb95d440d384346f4238dc494 tree 061a3c28705b77386f9598bee2c154d688d6d4cd parent aaf7f1477668f34dda65aba17e87c0bc2ebe84d1 author Jean Delvare Thu, 22 Sep 2005 22:15:53 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Refactor control outb By slightly shifting the interface between vt596_access and vt596_transaction, we can save two I/O accesses per SMBus transaction. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit aaf7f1477668f34dda65aba17e87c0bc2ebe84d1 tree 116946873388e7d90a70823a9211be76a9dd6316 parent c2f559d5df5751780c0bd3ea0bd0aa17d47c0b39 author Jean Delvare Thu, 22 Sep 2005 22:09:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Update supported devices list Make it clearer which chips are supported by the i2c-viapro driver, and which support I2C block transactions. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 12 ++++++------ drivers/i2c/busses/i2c-viapro.c | 22 +++++++++++++--------- 2 files changed, 19 insertions(+), 15 deletions(-) commit c2f559d5df5751780c0bd3ea0bd0aa17d47c0b39 tree 96af915d018b5145b6e57bf450f5cd29cebeca79 parent f118301416953d677de738100c33eb8cfb7adecb author Jean Delvare Thu, 22 Sep 2005 22:01:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Code cleanups Cleanups to the i2c-viapro driver: * Kill unused defines. * Kill interrupt-related code, as the driver doesn't use interrupts. * Fix broken comments (some copied from i2c-piix4.) * Centralize the unsupported command error case in vt596_access. That way we'll catch all unsupported commands, not only I2C_SMBUS_PROC_CALL. * Refactor some code. * Convert some dev_dbg into dev_err. Errors better be reported even in non-debug mode. * Do not verify that the final reset succeeded. It'll be checked at the beginning of the next transaction anyway. * Use the driver name to reserve the I/O region. * Do not print the contents of the SMBREV register, it reads 0 on all chips I've seen so far. * Some other minor fixes all over the place. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 122 +++++++++++++--------------------------- 1 file changed, 41 insertions(+), 81 deletions(-) commit f118301416953d677de738100c33eb8cfb7adecb tree 145997f9c2159d1657dcaca8c56ee93341d8b5f9 parent 5f49ef8e8cefe0a95948b4270db28507c1c287d4 author Jean Delvare Thu, 22 Sep 2005 21:58:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Implement I2C Block transactions Implement the I2C block transactions on VIA chips which support them: VT82C686B, VT8233, VT8233A, VT8235 and VT8237R. This speeds up EEPROM accesses by a factor 10 or so. I would like to thank Antonino A. Daplas, Hinko Kocevar, Salah Coronya and Andreas Henriksson for their help in testing this new feature. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 7 +++++- drivers/i2c/busses/i2c-viapro.c | 39 +++++++++++++++++++++++++++++++++--- 2 files changed, 42 insertions(+), 4 deletions(-) commit 5f49ef8e8cefe0a95948b4270db28507c1c287d4 tree ea50363d9480a9ccae000bd46633866561a62cea parent 32c0a520f506c046f241de2a3a9b02a395ef76d2 author Jean Delvare Thu, 22 Sep 2005 21:50:47 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c-viapro: Coding style fixes Before I go on cleaning up and improving the i2c-viapro driver, let's fix all the coding style issues: mostly trailing white space, and spaces used where tabs should be. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 12 ++--- drivers/i2c/busses/i2c-viapro.c | 76 ++++++++++++++++++------------------ 2 files changed, 43 insertions(+), 45 deletions(-) commit 32c0a520f506c046f241de2a3a9b02a395ef76d2 tree 4af8da918c808be2d0dc444cf96df0a829c5ccf6 parent 5c50d1885981537ff3b8df6433951de6c9cb72cb author Jean Delvare Thu, 22 Sep 2005 21:47:58 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c-viapro: New maintainer I am taking over the maintenance of the i2c-viapro SMBus driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) commit 5c50d1885981537ff3b8df6433951de6c9cb72cb tree 1440c92b1716fb27a93c96fc9494aa7980421d95 parent 0f69a612f950f7508e556bf1b09390087d112115 author Hideki Iwamoto Sun, 25 Sep 2005 17:01:11 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Several PEC-related fixes in software SMBus emulation Fix several errors in I2C SMBus emulation when PEC is used: * Weird logic error in SMBus Write Word transactions. * Wrong buffer size, affecting SMBus Block Write transactions. * Potential buffer overrun in SMBus Block Write transactions. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/i2c-core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0f69a612f950f7508e556bf1b09390087d112115 tree f27080ba61dd0f51e328c25add031c61204f1c7f parent 332bf92b3338e140cbcfc25f69911e8ca59788c7 author Jean Delvare Sun, 25 Sep 2005 16:58:22 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Minor i2c-amd8111 cleanup I noticed a useless instruction in the i2c-amd8111 driver. Signed-off-by: Jean Delvare CC: Vojtech Pavlik Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-amd8111.c | 1 - 1 file changed, 1 deletion(-) commit 332bf92b3338e140cbcfc25f69911e8ca59788c7 tree d6d8a3ee39fc08a3bc23b76c62403dbfe0fad36d parent d057c96cab72bc6b70570d25b90404f81d98e886 author Hideki Iwamoto Sun, 25 Sep 2005 16:56:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Fix union i2c_smbus_data definition The i2c_smbus_data union block member has a comment stating that an extra byte is required for SMBus Block Process Call transactions. This has been true for three weeks around June 2002, but no more since, so it is about time that we drop this comment and fix the definition. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman include/linux/i2c.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d057c96cab72bc6b70570d25b90404f81d98e886 tree db7b1b5403693ac84fc1b84619a2fc3317bc2176 parent 4366dc946c01305cff49b07dabb806d2364f1edb author Hideki Iwamoto Sun, 25 Sep 2005 16:53:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Fix I2C_FUNC_PROTOCOL_MANGLING documentation Fix the description of I2C_FUNC_PROTOCOL_MANGLING. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/functionality | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 4366dc946c01305cff49b07dabb806d2364f1edb tree 0cc9f6a086d47f3b8688f2f8c8ce6d924be97d03 parent cb929eae78ec0b243dbf58039bce4af354f6020c author Jean Delvare Sun, 25 Sep 2005 16:50:06 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Adjust i2c_probe() for busses without SMBUS_QUICK Move the check for SMBUS_QUICK in i2c_probe() after the forced addresses have been handled. This makes it possible for a driver to leave the probed address lists empty, only providing forced addresses, and get i2c_probe to work even if the bus doesn't support SMBUS_QUICK. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/i2c-core.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit cb929eae78ec0b243dbf58039bce4af354f6020c tree bdd5d708bac06c95c4ff067ff8f21688e9b31143 parent 709439a284bc5b7d42a70fee7119feb186c1ca99 author Jean Delvare Sun, 25 Sep 2005 16:45:03 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] hwmon: Minor w83l785ts optimization Using s8 instead of u8 to store temperature register values saves a few instructions on sysfs file read. The very same was done for several other drivers a while ago (lm63, lm83, lm90...) Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/w83l785ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 709439a284bc5b7d42a70fee7119feb186c1ca99 tree 12b41b5091cac96e2cff9d3ee878944689642616 parent d6072f842a77014220683ee5b781b7cee8f020d1 author Jean Delvare Sun, 25 Sep 2005 16:41:18 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: w83l785ts converted to dynamic sysfs callbacks Convert the w83l785ts driver to use dynamic sysfs callbacks. This is a small driver so the benefit is thin, but still worth it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/w83l785ts.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit d6072f842a77014220683ee5b781b7cee8f020d1 tree d9409d911987815a73f6c08e1f1f67fe4d16bb3a parent 7d845b10d06fa20a595a5161edabc5e846ed28a6 author Jean Delvare Sun, 25 Sep 2005 16:37:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] i2c: Reuse name strings in i2c bus drivers Clean up name string usage in 12 i2c bus drivers: * Use the i2c_adapter name for requesting the I/O region rather than redefining a new string. * Do not initialize the i2c_adapter name to "unset". This should save a few data bytes here and there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-ali1535.c | 6 +++--- drivers/i2c/busses/i2c-ali1563.c | 6 ++++-- drivers/i2c/busses/i2c-ali15x3.c | 5 +++-- drivers/i2c/busses/i2c-amd756.c | 5 ++--- drivers/i2c/busses/i2c-amd8111.c | 4 +++- drivers/i2c/busses/i2c-i801.c | 4 ++-- drivers/i2c/busses/i2c-nforce2.c | 4 ++-- drivers/i2c/busses/i2c-piix4.c | 4 ++-- drivers/i2c/busses/i2c-sis5595.c | 5 +++-- drivers/i2c/busses/i2c-sis630.c | 6 ++++-- drivers/i2c/busses/i2c-sis96x.c | 5 +++-- drivers/i2c/busses/i2c-via.c | 4 ++-- 12 files changed, 33 insertions(+), 25 deletions(-) commit 7d845b10d06fa20a595a5161edabc5e846ed28a6 tree 93082c4be645f1d7a242e34de74d343e1aa3ff46 parent 0200296310a454b39efc995e676f9ff60e641edb author Jean Delvare Sun, 25 Sep 2005 16:29:38 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Discard bogus comment about init setting limits Discard a common out-of-date comment in 5 hardware monitoring drivers. The hardware monitoring chip drivers are no more setting sensor limits at initialization time, for quite some time already. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/lm78.c | 1 - drivers/hwmon/via686a.c | 1 - drivers/hwmon/w83627hf.c | 1 - drivers/hwmon/w83781d.c | 1 - drivers/hwmon/w83792d.c | 1 - 5 files changed, 5 deletions(-) commit 0200296310a454b39efc995e676f9ff60e641edb tree 9567c8d36528a4118e45c4d589dc40ea4af1cc85 parent 605070952f0b41caaa211c47b02eeac703529008 author Jean Delvare Sun, 25 Sep 2005 16:26:44 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Discard explicit static initializations to 0 Kill explicit static initializations to 0 in 2 hwmon drivers. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/adm1021.c | 2 +- drivers/hwmon/via686a.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 605070952f0b41caaa211c47b02eeac703529008 tree 2fd15a6609ed602877164eec399fcae0919f64ea parent b918ecd2429e1a89b846d9e49ca4520b963c13e8 author Jean Delvare Sun, 25 Sep 2005 16:23:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] i2c: Discard explicit static initializations to 0 Kill explicit static initializations to 0 in 10 i2c drivers. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/algos/i2c-algo-pca.c | 2 +- drivers/i2c/algos/i2c-algo-sibyte.c | 2 +- drivers/i2c/busses/i2c-ali15x3.c | 4 ++-- drivers/i2c/busses/i2c-amd756.c | 2 +- drivers/i2c/busses/i2c-iop3xx.c | 2 +- drivers/i2c/busses/i2c-piix4.c | 8 ++++---- drivers/i2c/busses/i2c-sis5595.c | 4 ++-- drivers/i2c/busses/i2c-sis630.c | 2 +- drivers/i2c/busses/i2c-sis96x.c | 2 +- drivers/i2c/busses/i2c-via.c | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) commit b918ecd2429e1a89b846d9e49ca4520b963c13e8 tree 396e8a1f2e958f713722b53c2ab68c66e9b265b3 parent e415e48b68155bea8b5452113dedba4ec486f3f6 author Jean Delvare Sun, 25 Sep 2005 16:18:49 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Do not forcibly enable via686a by default Do not enable the VIA VT82C686A/B integrated sensors by default, as disabled sensors usually means that this feature is not used so the values won't make any sense. This has been confusing many users in the past: http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1786 http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1811 http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=2052 It is still possible to forcibly enable the sensors by using the force_addr module parameter. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/hwmon/via686a | 17 +++++++++++++++-- drivers/hwmon/via686a.c | 18 +++++++++++------- 2 files changed, 26 insertions(+), 9 deletions(-) commit e415e48b68155bea8b5452113dedba4ec486f3f6 tree 6da1a29383371ab143d0ae5b3d5e6fd9f7d3d0fd parent 088341bd0c78143bf82ff21f7f0a715f99568c73 author Jean Delvare Sun, 25 Sep 2005 16:14:18 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: adm9240 whitespace cleanups This whitespace cleanup patch removes one trailing space and breaks lines longer than 80 characters. Signed-off-by: Grant Coady Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/adm9240.c | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) commit 088341bd0c78143bf82ff21f7f0a715f99568c73 tree 5044d28b37f1a7f46575810e5e2bb8bcee78d965 parent c7461a6652f40ce4f8e19d7368c7a807a618fb68 author Jean Delvare Sat, 10 Sep 2005 23:00:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: via686a: save 0.5k by long v[256] -> s16 v[256] We can save 0.5kB of data in the via686a driver. From: Denis Vlasenko Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c7461a6652f40ce4f8e19d7368c7a807a618fb68 tree b70812c3be404c00d6733c0cf95a8f0bcbab0ab7 parent 205cf13e0b57500e2cc6442effa991c1a63f4db7 author Grant Coady Sat, 17 Sep 2005 05:32:57 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: adm9240 driver update - dynamic sysfs hwmon: adm9240 update 2/2: convert to use dynamic sysfs accessors This patch converts adm9240 to use Yani Ioannou's dynamic sysfs callbacks, reducing driver memory footprint from 16312 to 14104 bytes on 2.6.14-rc1, removing the old driver macro mess. Run tested on Intel SE440BX-2 mobo. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 205cf13e0b57500e2cc6442effa991c1a63f4db7 tree 8519455083b045e270e0513646a76d351567b3bb parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Grant Coady Sat, 17 Sep 2005 05:32:55 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: adm9240 driver update - cleanups hwmon: adm9240 update 1/2: cleanups: o remove i2c read/write wrapper interface as it does nothing, o change kmalloc + memset to kzalloc Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 07c1da2396632a4ad2cab41c6cd939b159f54968 tree 72e34cf86e23d63953eeeaccfa8595b6c88aa059 parent 00ac37f508689da281586c7ef304f26b5138d8a6 author Jeff Garzik Fri, 28 Oct 2005 17:00:31 -0400 committer Jeff Garzik Fri, 28 Oct 2005 17:00:31 -0400 [libata sata_promise] add pci id Contributed by Daniel Mueller @ Siemens AG. commit 406119f49d4a6cf8b6eee639128e0575a95065e3 tree 18e6717629212508d1dfd5a7c896af26bcb5412a parent 6cd37cda7ed117d5a13d9b69aeded57b4fd6de14 author Trond Myklebust Thu, 27 Oct 2005 14:46:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 13:57:57 -0700 [PATCH] Ensure that 'make distclean' does not delete files in '.git' Currently, 'make distclean' causes stgit to barf since it may delete files in .git/patches. We really shouldn't allow 'make distclean' anywhere near .git... Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit 6cd37cda7ed117d5a13d9b69aeded57b4fd6de14 tree 2b74bb4c3d7da82abe39ec2992ac951d3effa1b2 parent 030ee39c0fef49d7dcd32e71b1ca98fcc23e2a72 author Peter Osterlund Fri, 28 Oct 2005 20:23:39 +0200 committer Linus Torvalds Fri, 28 Oct 2005 13:57:57 -0700 [PATCH] Fix ext3 warning for unused var Fix compile warning in ext3 quota code. Signed-off-by: Peter Osterlund Signed-off-by: Linus Torvalds commit ad18b0ea089928367185e13d11424aea91d4b41f tree a909f1bd659a5fe35cbb90da1d097b17c2efa3ca parent 4f075707a9380592586d608a8d04dfbdb3c40339 author Panagiotis Issaris Mon, 05 Sep 2005 04:14:10 +0200 committer Jeff Garzik Fri, 28 Oct 2005 16:57:20 -0400 [PATCH] ipw2200: Missing kmalloc check The ipw2200 driver code in current GIT contains a kmalloc() followed by a memset() without handling a possible memory allocation failure. Signed-off-by: Panagiotis Issaris Signed-off-by: Jeff Garzik commit 4f075707a9380592586d608a8d04dfbdb3c40339 tree a18032b80383ba651236b7000028e2e1022ff0a2 parent b4558ea93d66a43f7990d26f145fd4c54a01c9bf author Komuro Fri, 28 Oct 2005 16:55:55 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:55:55 -0400 [netdrvr] ne2k-pci based card does not support bus-mastering. pci_set_master is unnecessary. Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Jeff Garzik commit 030ee39c0fef49d7dcd32e71b1ca98fcc23e2a72 tree b9e72ed55f0c41984acbc616f934f653296fb937 parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Linus Torvalds Fri, 28 Oct 2005 13:55:08 -0700 committer Linus Torvalds Fri, 28 Oct 2005 13:55:08 -0700 pcmcia: add socket register data to sysfs for yenta devices It's simple, and it's a good debugging aid. Signed-off-by: Linus Torvalds commit b4558ea93d66a43f7990d26f145fd4c54a01c9bf tree 70aa8ba4864f8ee994b7f5278f5045af6a646d34 parent 7380a78a973a8109c13cb0e47617c456b6f6e1f5 author Jesper Juhl Fri, 28 Oct 2005 16:53:13 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:53:13 -0400 drivers/net: Remove pointless checks for NULL prior to calling kfree() commit 7380a78a973a8109c13cb0e47617c456b6f6e1f5 tree fb64f857892546a441b27af54921e1669aa30610 parent b2795f596932286ef12dc08857960d654f577405 author Vasily Averin Fri, 28 Oct 2005 16:46:35 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:46:35 -0400 sis900: come alive after temporary memory shortage 1) Forgotten counter incrementation in sis900_rx() in case it doesn't get memory for skb, that leads to whole interface failure. Problem is accompanied with messages: eth0: Memory squeeze,deferring packet. eth0: NULL pointer encountered in Rx ring, skipping 2) If counter cur_rx overflows and there'll be temporary memory problems buffer can't be recreated later, when memory IS available. 3) Limit the work in handler to prevent the endless packets processing if new packets are generated faster then handled. Signed-off-by: Konstantin Khorenko Signed-off-by: Vasily Averin Signed-off-by: Jeff Garzik commit b2795f596932286ef12dc08857960d654f577405 tree f17920db9780a8b3feed97fdf4eb5704243e25e9 parent 24682978eb5316b9e6041c2773e210180a037d05 author Jeff Garzik Fri, 28 Oct 2005 16:43:40 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:43:40 -0400 [git] change permissions on drivers/net/amd8111e.[ch] to 0644, removing executable bits. commit 24682978eb5316b9e6041c2773e210180a037d05 tree fdb9331981a75a639e624c1785d3f45dfaa1907e parent 37448f7d39717db7c1098c1a88b9074694c69797 author Eugene Surovegin Fri, 14 Oct 2005 03:00:53 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:42:01 -0400 [PATCH] Add MAINTAINER entry for the new PowerPC 4xx on-chip ethernet controller driver Add MAINTAINER entry for the new PPC4xx EMAC driver Signed-off-by: Eugene Surovegin Signed-off-by: Jeff Garzik commit 37448f7d39717db7c1098c1a88b9074694c69797 tree 18e019dd740c12a3af6e603aaefff985f0faea59 parent b71b95efa5abca33e1bfb85d55162c7f99f54c23 author Eugene Surovegin Mon, 10 Oct 2005 16:58:14 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:42:01 -0400 [PATCH] New PowerPC 4xx on-chip ethernet controller driver This patch replaces current PowerPC 4xx EMAC driver with new, re-written from the scratch version. This patch is quite big (~234K) because there is virtualy 0% of common code between old and new version. New driver uses NAPI, it solves stability problems under heavy packet load and low memory, corrects chip register access and fixes numerous small bugs I don't even remember now. This patch has been tested on all supported in 2.6 PPC 4xx boards. It's been used in production for almost a year now on custom 4xx hardware. PPC32 specific parts are already upstream. Patch was acked by the current EMAC driver maintainer (Matt Porter). I will be maintaining this new version. Signed-off-by: Eugene Surovegin -- Kconfig | 72 ibm_emac/Makefile | 13 ibm_emac/ibm_emac.h | 418 +++-- ibm_emac/ibm_emac_core.c | 3414 ++++++++++++++++++++++++---------------------- ibm_emac/ibm_emac_core.h | 313 ++-- ibm_emac/ibm_emac_debug.c | 377 ++--- ibm_emac/ibm_emac_debug.h | 63 ibm_emac/ibm_emac_mal.c | 674 +++++---- ibm_emac/ibm_emac_mal.h | 336 +++- ibm_emac/ibm_emac_phy.c | 335 ++-- ibm_emac/ibm_emac_phy.h | 105 - ibm_emac/ibm_emac_rgmii.c | 201 ++ ibm_emac/ibm_emac_rgmii.h | 68 ibm_emac/ibm_emac_tah.c | 111 + ibm_emac/ibm_emac_tah.h | 96 - ibm_emac/ibm_emac_zmii.c | 255 +++ ibm_emac/ibm_emac_zmii.h | 114 - 17 files changed, 4114 insertions(+), 2851 deletions(-) Signed-off-by: Jeff Garzik commit b71b95efa5abca33e1bfb85d55162c7f99f54c23 tree e6b22bf428cc83cd54f10e9ea6551c4cea09fdb8 parent 89358f90ab6f6657d386e77e19c805d7ab88694f author Philippe De Muyter Fri, 28 Oct 2005 12:23:47 +0200 committer Jeff Garzik Fri, 28 Oct 2005 16:40:33 -0400 [PATCH] sundance: fix DFE-580TX Tx Underrun Under heavy PCI bus load, ports of the DFE-580TX 4-ethernet port board stop working, with currently no other cure than a powercycle. Here is a tested fix. By the way, I also fixed some references and attribution. Signed-off-by: Philippe De Muyter Signed-off-by: Jeff Garzik commit 89358f90ab6f6657d386e77e19c805d7ab88694f tree 3b0192df7f164e1f409385626e605cf09bd93c93 parent 48257c4f168e5d040394aeca4d37b59f68e0d36b author Andrew Morton Fri, 28 Oct 2005 16:38:02 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:38:02 -0400 [netdrvr b44] include linux/dma-mapping.h to eliminate warning commit 19c1f3ca4272008a256cc153f3e3feb097799070 tree af788b540d68396d9a94d6abf2379c1efc8e4e08 parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Pierre Ossman Fri, 28 Oct 2005 21:37:29 +0100 committer Russell King Fri, 28 Oct 2005 21:37:29 +0100 [MMC] wbsd suspend support Proper handling of suspend/resume in the wbsd driver. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 48257c4f168e5d040394aeca4d37b59f68e0d36b tree 7e553a6018862338d80fb5b0e4070a371a8fb001 parent d8840ac907c7943bc7e196b11812adfa95cb28ef author Pantelis Antoniou Fri, 28 Oct 2005 16:25:58 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:25:58 -0400 Add fs_enet ethernet network driver, for several embedded platforms. commit a1e78db3f54d3481726ed2d3d58d8ad5b19b13d0 tree 5793f26d8787ee8462a0ac4316b4a07d7cfa04af parent fbbb0bd1f6eb2d8b28d246a4821453bdc3d01b2f parent 59c422358d6573716f2bf2e78e5b12c20eff5a31 author Tony Luck Fri, 28 Oct 2005 13:24:06 -0700 committer Tony Luck Fri, 28 Oct 2005 13:24:06 -0700 Pull define-node-cleanup into release branch commit fbbb0bd1f6eb2d8b28d246a4821453bdc3d01b2f tree 9e6df2bc4b9dfdc795c4ba1b0c4385fdd9635fca parent 9472d8ce147fecb80a2f29ad8ab781e596858916 parent 61b9cf7c6cf5077c40ad37480fa56f6574af3db5 author Tony Luck Fri, 28 Oct 2005 13:23:50 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:50 -0700 Pull sn_pci_legacy_read-write into release branch commit 9472d8ce147fecb80a2f29ad8ab781e596858916 tree 9a968623af92f932f1353f0470a4bff5a0cd4460 parent 3168c31abe0c11fd3edcefa110d6f590fe8c909f parent 463eb297401eeb174db3fdf37a87911b576b3993 author Tony Luck Fri, 28 Oct 2005 13:23:34 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:34 -0700 Pull acpi-produce-consume into release branch commit 3168c31abe0c11fd3edcefa110d6f590fe8c909f tree 6676e3bbfd09bf8dabe7dac33dd4ed7f05a60061 parent dbcb25e621136e377dbc44bd7402e21c6641c43d parent f2b518d71636c2bda65a837b0a93c3365207a4f0 author Tony Luck Fri, 28 Oct 2005 13:23:14 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:14 -0700 Pull update-default-configs into release branch commit dbcb25e621136e377dbc44bd7402e21c6641c43d tree f6f7cb9f415b35dbdefda8d5c1b03c3a36d26f9b parent 0ace57a96bf299f6d46fd49e3edbaf79f500d160 parent 650316f1228c0dc5e45c17765caef30db62468cd author Tony Luck Fri, 28 Oct 2005 13:22:55 -0700 committer Tony Luck Fri, 28 Oct 2005 13:22:55 -0700 Pull move-iosapic-to-acpi into release branch commit d8840ac907c7943bc7e196b11812adfa95cb28ef tree 59f0cd61bbb19ee979672012c3de33c591d336d5 parent 712cb1ebb1653538527500165d8382ca48a7fca1 author Alexey Dobriyan Fri, 07 Oct 2005 02:05:23 +0400 committer Jeff Garzik Fri, 28 Oct 2005 16:16:59 -0400 [PATCH] starfire: free_irq() on error path of netdev_open() Signed-off-by: Alexey Dobriyan Signed-off-by: Jeff Garzik commit 712cb1ebb1653538527500165d8382ca48a7fca1 tree 28e37cd6ae4a7c6f6f3e0dcc71bb7a451caf28ad parent 99e1baf869cf20791e66e38facd51d14b28551f8 author Deepak Saxena Sun, 23 Oct 2005 13:41:35 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:16:19 -0400 [PATCH] Fix CS89x0 KConfig for IXDP2X01 IXDP2x01 systems can be built without PCI network cards, so we should not require NET_PCI to build CS89x0 on these systems. Signed-off-by: Deepak Saxena Signed-off-by: Jeff Garzik commit 99e1baf869cf20791e66e38facd51d14b28551f8 tree d36f9a6a322cc2e801f2995968c1556264516f00 parent 8fee5f51a56aa7a67d955993572a2ae05d31a2c6 author Nicolas Pitre Wed, 05 Oct 2005 11:10:24 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:16:19 -0400 [PATCH] smc91x: shut down power after probing If the interface is not used right away after being probed it wastes power needlessly. Noted by Holger Schurig. Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik commit 8fee5f51a56aa7a67d955993572a2ae05d31a2c6 tree 2160ea3f622aa0b34df484f81c577ba33ca8f830 parent adf6e00064ebcd3d82009ba6ef66f489f0885ebd author Aurelien Jarno Wed, 05 Oct 2005 23:29:58 +0200 committer Jeff Garzik Fri, 28 Oct 2005 16:14:11 -0400 [PATCH] sis190.c: fix multicast MAC filter Here is a patch that changes the way the MAC filter is computed for the multicast addresses. The computation is taken from the SiS GPL driver. This patch is necessary to get IPv6 working. Signed-off-by: Aurelien Jarno Signed-off-by: Jeff Garzik commit adf6e00064ebcd3d82009ba6ef66f489f0885ebd tree d28e9462118fe0702fb717838e094867aae00f7b parent 9eb343aeb3e106c1e4c07e2863f45b2c121b3b78 author Matthew Wilcox Tue, 04 Oct 2005 11:25:17 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:14:10 -0400 [PATCH] b44 reports wrong advertised flags Looks like someone used the MII constants instead of the ethtool constants. Signed-off-by: Matthew Wilcox Signed-off-by: Jeff Garzik commit 9eb343aeb3e106c1e4c07e2863f45b2c121b3b78 tree 5a9d388f4007d21d51ffc83dc3fbf217ffce5ca4 parent 008d55903a1e9e179ff1d366dfcfa9b72abd116d author Akinobu Mita Fri, 21 Oct 2005 19:06:42 +0900 committer Jeff Garzik Fri, 28 Oct 2005 16:12:59 -0400 [PATCH] s2io: kconfig help fix The documentation about s2io is available at Documentation/networking/s2io.txt. Signed-off-by: Akinobu Mita Signed-off-by: Jeff Garzik commit 008d55903a1e9e179ff1d366dfcfa9b72abd116d tree f4013eacc57d2395ceda2f2c46823845dc7cf3c2 parent d89a64bedf956ef0b406018a7cb76e027fe3e751 author Roger While Fri, 28 Oct 2005 16:11:49 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:11:49 -0400 [wireless prism54] Fix frame length prism54 is leaking information when passing transmits to the firmware. There is no requirement to adjust the length to >= ETH_ZLEN. Just pass the skb length (after possible adjustment). Signed-off-by: Roger While Signed-off-by: Jeff Garzik commit d89a64bedf956ef0b406018a7cb76e027fe3e751 tree 3e711ac5e3a5f033558d44748af0e0ac9fd2652d parent 82702d37a559cf94fe238cd3f8ef63cf7fa699a9 author Komuro Fri, 28 Oct 2005 16:09:54 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:09:54 -0400 pcnet_cs: fix mii init code for older DL10019 based cards Some older DL10019 based cards need to setup the auto-negotiation-advertisement register to advertise 100Full,100Half,10Full and 10Half. Signed-off-by: Signed-off-by: Jeff Garzik commit 84860bf0644d7c45afe7ddbd30731c3e3c371fae tree d6c4b98a9c3fd9981e7fcc5d7729c9e01e327767 parent 8caf89157d64f1eedba37113afb4b303b2b3e301 parent 6fbfddcb52d8d9fa2cd209f5ac2a1c87497d55b5 author Linus Torvalds Fri, 28 Oct 2005 13:09:47 -0700 committer Linus Torvalds Fri, 28 Oct 2005 13:09:47 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 commit 82702d37a559cf94fe238cd3f8ef63cf7fa699a9 tree 695a5b7dca7e2c25aa148fc4bb968857f7bc72c6 parent 60296d9e4be1cd9e096f7804ce6e839e0cbd97cf author Santiago Leon Wed, 26 Oct 2005 10:47:23 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:31 -0400 [PATCH] ibmveth fix failed addbuf This patch fixes a bug that happens when the hypervisor can't add a buffer. The old code wrote IBM_VETH_INVALID_MAP into the free_map array, so next time the index was used, a ibmveth_assert() caught it and called BUG(). The patch writes the right value into the free_map array so that the index can be reused. Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit 60296d9e4be1cd9e096f7804ce6e839e0cbd97cf tree 40372d93b1c99a0e488adedbbd8c843c26807058 parent e2adbcb480992de8a01acf9218e8bbd9b507fc6f author Santiago Leon Wed, 26 Oct 2005 10:47:16 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] ibmveth lockless TX This patch adds the lockless TX feature to the ibmveth driver. The hypervisor has its own locking so the only change that is necessary is to protect the statistics counters. Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit e2adbcb480992de8a01acf9218e8bbd9b507fc6f tree 92465e753d0221c0c54862994735a7fe078200fa parent b6d35182fe62e57d368062adcc880ca35119d88e author Santiago Leon Wed, 26 Oct 2005 10:47:08 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] ibmveth fix buffer replenishing This patch removes the allocation of RX skb's buffers from a workqueue to be called directly at RX processing time. This change was suggested by Dave Miller when the driver was starving the RX buffers and deadlocking under heavy traffic: > Allocating RX SKBs via tasklet is, IMHO, the worst way to > do it. It is no surprise that there are starvation cases. > > If tasklets or work queues get delayed in any way, you lose, > and it's very easy for a card to catch up with the driver RX'ing > packets very fast, no matter how aggressive you make the > replenishing. By the time you detect that you need to be > "more aggressive" it is already too late. > The only pseudo-reliable way is to allocate at RX processing time. > Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit b6d35182fe62e57d368062adcc880ca35119d88e tree dd7767a40490d2d532cda4d35a18f8b8e614ab19 parent 0abe791e94033b727f2b55670c2966f3d3d3cf70 author Santiago Leon Wed, 26 Oct 2005 10:47:01 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] ibmveth fix buffer pool management This patch changes the way the ibmveth driver handles the receive buffers. The old code mallocs and maps all the buffers in the pools regardless of MTU size and it also limits the number of buffer pools to three. This patch makes the driver malloc and map the buffers necessary to support the current MTU. It also changes the hardcoded names of the buffer pool number, size, and elements to arrays to make it easier to change (with the hope of making them runtime parameters in the future). Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit 0abe791e94033b727f2b55670c2966f3d3d3cf70 tree 7fe7e9dffdcb5822537a5b03c7064667e05426e6 parent 37ff238d68683d42e7363eee3303773906c336d9 author Santiago Leon Wed, 26 Oct 2005 10:46:53 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] ibmveth fix bonding This patch updates dev->trans_start and dev->last_rx so that the ibmveth driver can be used with the ARP monitor in the bonding driver. Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit 37ff238d68683d42e7363eee3303773906c336d9 tree 45a016abbed939ee11427941b7036f6cfeca20d3 parent 28fbef78a420acdea20570d31f3bdcbfa0cac0d2 author Michael Chan Wed, 26 Oct 2005 15:49:51 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] tg3: update version and minor fixes Update version and reldate and add more sanity checking to tg3_set_settings(). Signed-off-by: Gary Zambrano Signed-off-by: Michael Chan Signed-off-by: Jeff Garzik commit 28fbef78a420acdea20570d31f3bdcbfa0cac0d2 tree ef68381a6e776a802038e39529e89a0d1390fae0 parent a4e2b347848bf626b822599329933887dc90e50f author Michael Chan Wed, 26 Oct 2005 15:48:35 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] tg3: fix ASF heartbeat Change the ASF heart beat to 5 seconds for faster detection of system crash. The driver sends the heartbeat every 2 seconds and the ASF firmware will timeout and reset the device if no heartbeat is received after 5 seconds. The old scheme of 2 minutes is ineffective. tg3_write_mem_fast() is added to speed up the IO to send the heartbeat. When no workaround is needed, it will use direct MMIO to memory space to write to memory. Signed-off-by: Michael Chan Signed-off-by: Jeff Garzik commit a4e2b347848bf626b822599329933887dc90e50f tree 414564393157868b8c6d708bfb2c750cf49b1f6b parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Michael Chan Wed, 26 Oct 2005 15:46:52 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:07:29 -0400 [PATCH] tg3: add 5714/5715 support Add complete support for 5714/5715. These chips are very similar to 5780 so the changes are very trivial. A TG3_FLG2_5780_CLASS flag is added to identify these chips. Signed-off-by: Michael Chan Signed-off-by: Jeff Garzik commit 00ac37f508689da281586c7ef304f26b5138d8a6 tree 409c2367a5630d860fa0d30b60c1fc6ea9ad659f parent a21a84a375ea3783cf9a53730d643c4db24371bc author Douglas Gilbert Fri, 28 Oct 2005 15:58:28 -0400 committer Jeff Garzik Fri, 28 Oct 2005 15:58:28 -0400 [libata scsi] MODE SELECT, strengthen mode sense - move default mode pages to the front of libata-scsi.c so various functions can access them - partial annotation of these pages, point out divergence from sat-r06 - replace various mode page magic numbers with defines - strengthen MODE SENSE command decoding: handle DBD bit in cdb, yield block descriptor (per sat-r06) and handle mode sub pages Signed-off-by: Douglas Gilbert Signed-off-by: Jeff Garzik commit c3ee74c4e91017169c7f1fa74a57ba8502ec49c3 tree 44e429eab97f84511ecd1fb7f2e7568c4e5beecc parent d25cf1ced9d446dcd3fd399e15b518fea936f3ed author Christoph Hellwig Mon, 19 Sep 2005 21:59:42 +0200 committer James Bottomley Fri, 28 Oct 2005 14:57:58 -0500 [SCSI] scsi_transport_sas: support link error attributes For now supporting the ->get_linkerrors method is mandatory. I'll probably be beaten to implement the .show_foo variables and different types of attributes soon.. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit d25cf1ced9d446dcd3fd399e15b518fea936f3ed tree c61f43c27873e5503e3584d558153e4d48244d42 parent af13cbebb27aaa9cae0bd18cf2608a3d4dd5fa94 author Ralf Baechle Thu, 20 Oct 2005 19:04:34 +0100 committer James Bottomley Fri, 28 Oct 2005 14:46:37 -0500 [SCSI] sgiwd93: small fixes Move the remaining bits of sgiwd93.h into sgiwd93.c; replace the use of CMD_PER_LUN and CAN_QUEUE by raw numbers. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit af13cbebb27aaa9cae0bd18cf2608a3d4dd5fa94 tree 4a7f6054cec60d12ec63f3039c64577121390503 parent 73711b352f1f1e1e9eedd772e232b7c1bd12a305 author Ralf Baechle Sat, 15 Oct 2005 02:44:26 +0100 committer James Bottomley Fri, 28 Oct 2005 14:46:05 -0500 [SCSI] dec_esp: Use the right address space macro Signed-off-by: James Bottomley commit 73711b352f1f1e1e9eedd772e232b7c1bd12a305 tree 6db3a92f5faa25c3c9e5bba4acc9523697959cbf parent b04fc679055f76cfd17c6870716a8286ccfa3b8e author Ralf Baechle Sat, 15 Oct 2005 02:26:31 +0100 committer James Bottomley Fri, 28 Oct 2005 14:45:53 -0500 [SCSI] dec_esp: Use physical addresses Use physical addresses at the interface level, letting drivers remap them as appropriate. Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit b04fc679055f76cfd17c6870716a8286ccfa3b8e tree ba1e2b242205176aa51b4bf81c2560821f17e5a4 parent 72df8325f4808330977d8f54c3458d30615dcb54 author Ralf Baechle Sat, 15 Oct 2005 02:41:36 +0100 committer James Bottomley Fri, 28 Oct 2005 14:45:34 -0500 [SCSI] dec_esp: Fix mapping of ESP. From: Maciej W. Rozycki Date: Mon Jun 13 19:55:42 2005 +0000 These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle Signed-off-by: James Bottomley commit 8caf89157d64f1eedba37113afb4b303b2b3e301 tree a72038508368f81e5b3f1b82ad14918df8c7be7a parent f12baeab9d65e2fe1b43b09b666f5efcb81b9369 parent 7038f1cbac899654cf0515e60dbe3e44d58271de author Linus Torvalds Fri, 28 Oct 2005 12:44:24 -0700 committer Linus Torvalds Fri, 28 Oct 2005 12:44:24 -0700 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit a21a84a375ea3783cf9a53730d643c4db24371bc tree 3880711cfe4a57629a34a9a329fcf6091266692b parent 96b88fb850cc419171f926ad04650ec509e9f543 author Jeff Garzik Fri, 28 Oct 2005 15:43:16 -0400 committer Jeff Garzik Fri, 28 Oct 2005 15:43:16 -0400 [libata pdc_adma] minor fixes and cleanups Changes mostly from Mark Lord. - fix bugs in probe-time error handling - only complete qc if not NULL - check port-level polling flags commit 72df8325f4808330977d8f54c3458d30615dcb54 tree 690f9503fd3d5b08dedfa9d74ea75e15fe00320b parent aa353de649f1ba05a71b2f5b8eb1e99632ab54eb author James Bottomley Fri, 28 Oct 2005 14:41:19 -0500 committer James Bottomley Fri, 28 Oct 2005 14:41:19 -0500 [SCSI] qla2xxx: fix unnecessary activation of blk tag queue From: 'Andrew Vasquez' Drop scsi_populate_tag_msg() interrogation. Signed-off-by: Andrew Vasquez Rejections fixed up and Signed-off-by: James Bottomley commit aa353de649f1ba05a71b2f5b8eb1e99632ab54eb tree eb2c151ec54814f97af39370acb64112969e544b parent 9ccfc756a70d454dfa82f48897e2883560c01a0e author Andrew Vasquez Tue, 11 Oct 2005 16:31:08 -0700 committer James Bottomley Fri, 28 Oct 2005 14:25:37 -0500 [SCSI] qla2xxx: fix compile warning The file is missing an include of scsi_transport_fc.h drivers/scsi/qla2xxx/qla_rscn.c:334: error: implicit declaration of function 'fc_remote_port_unblock' Signed-off-by: James Bottomley commit 9ccfc756a70d454dfa82f48897e2883560c01a0e tree 9a6d3b10b1ec0e5fe7a63252a21598a03e93ad4e parent 9a41a62b74388827998253d62c58707e63cc5874 author James Bottomley Sun, 02 Oct 2005 11:45:08 -0500 committer James Bottomley Fri, 28 Oct 2005 14:23:02 -0500 [SCSI] move the mid-layer printk's over to shost/starget/sdev_printk This should eliminate (at least in the mid layer) to make numeric assumptions about any of the enumeration variables. As a side effect, it will also make all the messages consistent and line us up nicely for the error logging strategy (if it ever shows itself again). Signed-off-by: James Bottomley commit f12baeab9d65e2fe1b43b09b666f5efcb81b9369 tree 88e06b93cad95fef0ebb4a60d2b195884fe79d4f parent e89e9cf539a28df7d0eb1d0a545368e9920b34ac author Yan Zheng Sat, 29 Oct 2005 00:02:32 +0800 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 16:35:18 -0200 [MCAST] IPv6: Fix algorithm to compute Querier's Query Interval 5.1.3. Maximum Response Code The Maximum Response Code field specifies the maximum time allowed before sending a responding Report. The actual time allowed, called the Maximum Response Delay, is represented in units of milliseconds, and is derived from the Maximum Response Code as follows: If Maximum Response Code < 32768, Maximum Response Delay = Maximum Response Code If Maximum Response Code >=32768, Maximum Response Code represents a floating-point value as follows: 0 1 2 3 4 5 6 7 8 9 A B C D E F +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1| exp | mant | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Maximum Response Delay = (mant | 0x1000) << (exp+3) 5.1.9. QQIC (Querier's Query Interval Code) The Querier's Query Interval Code field specifies the [Query Interval] used by the Querier. The actual interval, called the Querier's Query Interval (QQI), is represented in units of seconds, and is derived from the Querier's Query Interval Code as follows: If QQIC < 128, QQI = QQIC If QQIC >= 128, QQIC represents a floating-point value as follows: 0 1 2 3 4 5 6 7 +-+-+-+-+-+-+-+-+ |1| exp | mant | +-+-+-+-+-+-+-+-+ QQI = (mant | 0x10) << (exp + 3) -- rfc3810 #define MLDV2_QQIC(value) MLDV2_EXP(0x80, 4, 3, value) #define MLDV2_MRC(value) MLDV2_EXP(0x8000, 12, 3, value) Above macro are defined in mcast.c. but 1 << 4 == 0x10 and 1 << 12 == 0x1000. So the result computed by original Macro is larger. Signed-off-by: Yan Zheng Acked-by: David L Stevens Signed-off-by: Arnaldo Carvalho de Melo commit e89e9cf539a28df7d0eb1d0a545368e9920b34ac tree aae6a825f351ce931fcd30f1a865ebe65227c4b8 parent de5144164f6242ccfa8c9b64eec570564f5eaf14 author Ananda Raju Tue, 18 Oct 2005 15:46:41 -0700 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 16:30:00 -0200 [IPv4/IPv6]: UFO Scatter-gather approach Attached is kernel patch for UDP Fragmentation Offload (UFO) feature. 1. This patch incorporate the review comments by Jeff Garzik. 2. Renamed USO as UFO (UDP Fragmentation Offload) 3. udp sendfile support with UFO This patches uses scatter-gather feature of skb to generate large UDP datagram. Below is a "how-to" on changes required in network device driver to use the UFO interface. UDP Fragmentation Offload (UFO) Interface: ------------------------------------------- UFO is a feature wherein the Linux kernel network stack will offload the IP fragmentation functionality of large UDP datagram to hardware. This will reduce the overhead of stack in fragmenting the large UDP datagram to MTU sized packets 1) Drivers indicate their capability of UFO using dev->features |= NETIF_F_UFO | NETIF_F_HW_CSUM | NETIF_F_SG NETIF_F_HW_CSUM is required for UFO over ipv6. 2) UFO packet will be submitted for transmission using driver xmit routine. UFO packet will have a non-zero value for "skb_shinfo(skb)->ufo_size" skb_shinfo(skb)->ufo_size will indicate the length of data part in each IP fragment going out of the adapter after IP fragmentation by hardware. skb->data will contain MAC/IP/UDP header and skb_shinfo(skb)->frags[] contains the data payload. The skb->ip_summed will be set to CHECKSUM_HW indicating that hardware has to do checksum calculation. Hardware should compute the UDP checksum of complete datagram and also ip header checksum of each fragmented IP packet. For IPV6 the UFO provides the fragment identification-id in skb_shinfo(skb)->ip6_frag_id. The adapter should use this ID for generating IPv6 fragments. Signed-off-by: Ananda Raju Signed-off-by: Rusty Russell (forwarded) Signed-off-by: Arnaldo Carvalho de Melo commit 7038f1cbac899654cf0515e60dbe3e44d58271de tree 73909f95989f10bd85929073395e494ceb1a6b3f parent b6a47fd8ff08a9d5cd279cdb8d97a619983575fa author Dave Kleikamp Fri, 28 Oct 2005 13:27:40 -0500 committer Dave Kleikamp Fri, 28 Oct 2005 13:27:40 -0500 JFS: make sure right-most xtree pages have header.next set to zero The xtTruncate code was only doing this for leaf pages. When a file is horribly fragmented, we may truncate a file leaving an internal page with an invalid head.next field, which may cause a stale page to be referenced. Signed-off-by: Dave Kleikamp commit 9a41a62b74388827998253d62c58707e63cc5874 tree 71d71691575f75df21569f60dcb1c7d6e19ebd69 parent 7a691bd34130920bef4d118a3f555ebc48544a63 author Andrew Vasquez Tue, 20 Sep 2005 13:25:53 -0700 committer James Bottomley Fri, 28 Oct 2005 13:25:26 -0500 [SCSI] qla2xxx: remove eh_active checks in qla2xxx error handling Here's a patch which drops the eh_active checks in the qla2xxx eh_handler callbacks. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 7a691bd34130920bef4d118a3f555ebc48544a63 tree 50b675e97e1525d2e07bf3c5bdc0098623768694 parent d578a4258bf674ef86b16bf29267fb302125aaee author James Bottomley Fri, 28 Oct 2005 13:17:30 -0500 committer James Bottomley Fri, 28 Oct 2005 13:17:30 -0500 [SCSI] avoid overflows in disk size calculations Be more careful about doing the arithmetic in the non-LBD case. Signed-off-by: James Bottomley commit 0ace57a96bf299f6d46fd49e3edbaf79f500d160 tree a86301a5c9f1e0313e6e3b79d3618dab784ef97b parent 2d300fece23a4ae638b43ce9a7ac1e566ac6c843 parent 44c451208da397438e7062393aeb3a19ddb76a60 author Tony Luck Fri, 28 Oct 2005 11:16:32 -0700 committer Tony Luck Fri, 28 Oct 2005 11:16:32 -0700 Pull ar-k0-usage into release branch commit 2d300fece23a4ae638b43ce9a7ac1e566ac6c843 tree 4e50fac4d14755c2206c48999c9b6fad3c920482 parent c85749e6d1df55ca5b23cb1d220ed7df92df8d78 parent 54703d3678d13e7406d0b5aa451abb9526d53b9d author Tony Luck Fri, 28 Oct 2005 11:16:06 -0700 committer Tony Luck Fri, 28 Oct 2005 11:16:06 -0700 Pull 1024-cpu into release branch commit c85749e6d1df55ca5b23cb1d220ed7df92df8d78 tree 1f6e41a9d85bc288447e6c71981c5515862f9879 parent 0d9136fdbcdbddcd4eb5ac94c248c039193d4795 parent 0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc author Tony Luck Fri, 28 Oct 2005 11:15:25 -0700 committer Tony Luck Fri, 28 Oct 2005 11:15:25 -0700 Pull hp-machvec into release branch commit 0d9136fdbcdbddcd4eb5ac94c248c039193d4795 tree 2e914c8afe019302199b5d807114e5b15835dc90 parent 9189674026e86e624b1ef1b4eb430e9ad19f9641 parent 1fa92957282e4595727c1a21bf6687ea5a2d612f author Tony Luck Fri, 28 Oct 2005 11:15:08 -0700 committer Tony Luck Fri, 28 Oct 2005 11:15:08 -0700 Pull altix-mmr into release branch commit 9189674026e86e624b1ef1b4eb430e9ad19f9641 tree d93acb6c3b2c127e997c132db61025a5653260ec parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 parent 25732ad493b22b7d9f0d250c5a9ad17219f96a47 author Tony Luck Fri, 28 Oct 2005 11:14:47 -0700 committer Tony Luck Fri, 28 Oct 2005 11:14:47 -0700 Pull altix-fpga-reset into release branch commit de5144164f6242ccfa8c9b64eec570564f5eaf14 tree 56ea0f4e21ca74b14e1546e70ac92617dfb27dd1 parent 8ed575904373d7aaab7f15a8db2edc317a44df43 parent 245dc3d19b6ff7db42c9f3cca9006c8db59e2dee author Arnaldo Carvalho de Melo Fri, 28 Oct 2005 15:49:24 -0200 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 15:49:24 -0200 Merge master.kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6 commit 245dc3d19b6ff7db42c9f3cca9006c8db59e2dee tree e5b2594ccdad0af1901efd5f6109d9e28391e882 parent dd7f5527b3e68a7b2f715ae1a21164383f418013 author Marcel Holtmann Fri, 28 Oct 2005 19:20:57 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:57 +0200 [Bluetooth] Ignore additional interfaces of BPA 100/105 devices If a BPA 100/105 device contains more then one interface then ignore the additional interfaces, because they are unused. Signed-off-by: Marcel Holtmann commit dd7f5527b3e68a7b2f715ae1a21164383f418013 tree f0be8a5ab9368e24ecf59b82aa183d7b3546ec87 parent 6516455d3b42b33759a33a8102c1b8b48af4d9c9 author Marcel Holtmann Fri, 28 Oct 2005 19:20:53 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:53 +0200 [Bluetooth] Update security filter for Extended Inquiry Response This patch updates the HCI security filter with support for the Extended Inquiry Response (EIR) feature. Signed-off-by: Marcel Holtmann commit 6516455d3b42b33759a33a8102c1b8b48af4d9c9 tree e7395ebcfa68c4a5aa25d80e4b279313f3fdea3e parent 0372a6627f862f90a2c43772befeecef508cfd7b author Marcel Holtmann Fri, 28 Oct 2005 19:20:48 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:48 +0200 [Bluetooth] Make more functions static This patch makes another bunch of functions static. Signed-off-by: Marcel Holtmann commit 0372a6627f862f90a2c43772befeecef508cfd7b tree 8e2d141927ac8d63663d8c88a6a0eb7e096d8a8b parent 20dd6f59d6ea5fe47397c5254606c76b1d047727 author Marcel Holtmann Fri, 28 Oct 2005 19:20:45 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:45 +0200 [Bluetooth] Cleanup of the HCI UART driver This patch contains the big cleanup of the HCI UART driver. The uneeded header files are removed and their structure declarations are moved into the protocol implementations. Signed-off-by: Marcel Holtmann commit 20dd6f59d6ea5fe47397c5254606c76b1d047727 tree ffc9b0a7f3d582120c997ec4277f561f9d8c6f87 parent 408c1ce2716c7a004851c93f9f9dcf3d763bc240 author Marcel Holtmann Fri, 28 Oct 2005 19:20:40 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:40 +0200 [Bluetooth] Remove TXCRC compile option for BCSP driver The TXCRC compile option is not really useful and thus change it into a module parameter. Signed-off-by: Marcel Holtmann commit 408c1ce2716c7a004851c93f9f9dcf3d763bc240 tree 11e086c44c2f313e27cec46c7ad799b7614b01c9 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Marcel Holtmann Fri, 28 Oct 2005 19:20:36 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:36 +0200 [Bluetooth] Move CRC table into RFCOMM core This patch moves rfcomm_crc_table[] into the RFCOMM core, because there is no need to keep it in a separate file. Signed-off-by: Marcel Holtmann commit d578a4258bf674ef86b16bf29267fb302125aaee tree 7fba3f7cce30273dbfbade58692329fda84d6e14 parent fa90c54f6d27664cc67691f9e52d9165e0c25ca7 author James Bottomley Fri, 28 Oct 2005 12:14:43 -0500 committer James Bottomley Fri, 28 Oct 2005 12:14:43 -0500 [SCSI] qla2xxx: Resync with latest released ISP23xx/63xx firmware -- 3.03.18. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 6fbfddcb52d8d9fa2cd209f5ac2a1c87497d55b5 tree c0414e89678fcef7ce3493e048d855bde781ae8d parent 1a222bca26ca691e83be1b08f5e96ae96d0d8cae parent 27d1097d39509494706eaa2620ef3b1e780a3224 author Greg KH Fri, 28 Oct 2005 10:13:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 10:13:16 -0700 Merge ../bleed-2.6 commit 8ed575904373d7aaab7f15a8db2edc317a44df43 tree 3b2e92a396a1bbec8e1fb499f25e8aed93ab5692 parent 27d1097d39509494706eaa2620ef3b1e780a3224 parent 210cc679faf0e1cabda9fc5d1279644f5e52aecb author Linus Torvalds Fri, 28 Oct 2005 10:08:46 -0700 committer Linus Torvalds Fri, 28 Oct 2005 10:08:46 -0700 Merge branch 'forlinus' of git://parisc-linux.org/home/kyle/git/parisc-2.6 commit fa90c54f6d27664cc67691f9e52d9165e0c25ca7 tree 7d59a0b807d8f42f7555cada85ef1e8e33fe62ff parent 661c3f6cc32e1307fc7df724149884c95e98358d author Andrew Vasquez Thu, 27 Oct 2005 11:10:08 -0700 committer James Bottomley Fri, 28 Oct 2005 11:53:23 -0500 [SCSI] qla2xxx: Update license. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 1a222bca26ca691e83be1b08f5e96ae96d0d8cae tree b9b09b285b5790ee8d38328cbffe289199abea94 parent c41455fbac06712992da491844449775cf9a8c80 author Takashi Iwai Fri, 28 Oct 2005 16:45:34 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:57 -0700 [PATCH] Fix documentation of driver suspend/resume callbacks Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman commit c41455fbac06712992da491844449775cf9a8c80 tree cb315b4afd3af2882e955dbfbf7f3828a8b2e610 parent 9480e307cd88ef09ec9294c7d97ebec18e6d2221 author Randy Dunlap Sun, 23 Oct 2005 11:59:14 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:56 -0700 [PATCH] kernel-doc: drivers/base fixes driver/base: add missing function parameters; eliminate all warnings. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 9480e307cd88ef09ec9294c7d97ebec18e6d2221 tree 967e26d3a23c24dd52b114d672312c207714308c parent a3a3395e487abc4c1371fe319a8ecbb3913a70a4 author Russell King Fri, 28 Oct 2005 09:52:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:56 -0700 [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks In PM v1, all devices were called at SUSPEND_DISABLE level. Then all devices were called at SUSPEND_SAVE_STATE level, and finally SUSPEND_POWER_DOWN level. However, with PM v2, to maintain compatibility for platform devices, I arranged for the PM v2 suspend/resume callbacks to call the old PM v1 suspend/resume callbacks three times with each level in order so that existing drivers continued to work. Since this is obsolete infrastructure which is no longer necessary, we can remove it. Here's an (untested) patch to do exactly that. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit a3a3395e487abc4c1371fe319a8ecbb3913a70a4 tree 81caf424dcae1b2231946a9cebd83d5b067f32b4 parent ad7e14a55ed7648d02a4df8e460e291d80a18c98 author Jesper Juhl Thu, 13 Oct 2005 21:31:08 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] Driver Core: Big kfree NULL check cleanup - Documentation This is the Documentation/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in example code in Documentation/. Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit ad7e14a55ed7648d02a4df8e460e291d80a18c98 tree 3f79fb375fd5a5145458cd77939e5826956565ac parent a1bdc7aad8b557176ccecff1da137ebe3090871e author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] update required version of udev The 071 release is needed to handle the input changes. Older versions will work properly with module-based systems, but not for users that build input stuff into the kernel. Signed-off-by: Greg Kroah-Hartman commit a1bdc7aad8b557176ccecff1da137ebe3090871e tree 191866ea2adb807a9fef6305a8e745a8b3ceeea3 parent a7fadbe10ccf430e7a8add8b45c561d864087343 author Ben Dooks Thu, 13 Oct 2005 17:54:41 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] drivers/base - fix sparse warnings There are a number of sparse warnings from the latest sparse snapshot being generated from the drivers/base build. The main culprits are due to the initialisation functions not being declared in a header file. Also, the firmware.c file should include to get the prototype of firmware_register() and firmware_unregister(). This patch moves the init function declerations from the init.c file to the base.h, and ensures it is included in all the relevant c sources. It also adds to the included headers for firmware.c. The patch does not solve all the sparse errors generated, but reduces the count significantly. drivers/base/core.c:161:1: warning: symbol 'devices_subsys' was not declared. Should it be static? drivers/base/core.c:417:12: warning: symbol 'devices_init' was not declared. Should it be static? drivers/base/sys.c:253:6: warning: symbol 'sysdev_shutdown' was not declared. Should it be static? drivers/base/sys.c:326:5: warning: symbol 'sysdev_suspend' was not declared. Should it be static? drivers/base/sys.c:428:5: warning: symbol 'sysdev_resume' was not declared. Should it be static? drivers/base/sys.c:450:12: warning: symbol 'system_bus_init' was not declared. Should it be static? drivers/base/bus.c:133:1: warning: symbol 'bus_subsys' was not declared. Should it be static? drivers/base/bus.c:667:12: warning: symbol 'buses_init' was not declared. Should it be static? drivers/base/class.c:759:12: warning: symbol 'classes_init' was not declared. Should it be static? drivers/base/platform.c:313:12: warning: symbol 'platform_bus_init' was not declared. Should it be static? drivers/base/cpu.c:110:12: warning: symbol 'cpu_dev_init' was not declared. Should it be static? drivers/base/firmware.c:17:5: warning: symbol 'firmware_register' was not declared. Should it be static? drivers/base/firmware.c:23:6: warning: symbol 'firmware_unregister' was not declared. Should it be static? drivers/base/firmware.c:28:12: warning: symbol 'firmware_init' was not declared. Should it be static? drivers/base/init.c:28:13: warning: symbol 'driver_init' was not declared. Should it be static? drivers/base/dmapool.c:174:10: warning: implicit cast from nocast type drivers/base/attribute_container.c:439:1: warning: symbol 'attribute_container_init' was not declared. Should it be static? drivers/base/power/runtime.c:76:6: warning: symbol 'dpm_set_power_state' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit a7fadbe10ccf430e7a8add8b45c561d864087343 tree c54c302ecc09c0aa80f462953d82f00a1b0afc64 parent c9bcd582dfeec845b83bc948a430c9958bf839e6 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:57 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] input core: remove custom-made hotplug handler Input: remove custom-made hotplug handler Now that all input devices are registered with sysfs we can remove old custom-made hotplug handler and crate a standard one. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c9bcd582dfeec845b83bc948a430c9958bf839e6 tree d17bffdfc868aa355ebd9cc56d1eeb481c0b80d8 parent ea9f240bd819f9299703283e5326da606bbb4b05 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: Create symlinks for backwards compatibility This creates symlinks in /sys/class/input/ to the nested class devices to help userspace cope with the nesting. Unfortunatly udev still needs to be updated as it can't handle symlinks properly here :( Signed-off-by: Greg Kroah-Hartman commit ea9f240bd819f9299703283e5326da606bbb4b05 tree 68b83a2a093a332c8fda8dfc695c73ebe084b014 parent b0fdfebb205fcbf394c3db39679a766b8fc4f07d author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: rename input_dev_class to input_class to be correct. Signed-off-by: Greg Kroah-Hartman commit b0fdfebb205fcbf394c3db39679a766b8fc4f07d tree 4f3c84c075c5ebd13b2c0a9bf9823df90358907b parent 629b77a42c39c8b3c42a8cf5f5680f0406f8d43f author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: remove the input_class structure, as it is unused. Signed-off-by: Greg Kroah-Hartman commit 629b77a42c39c8b3c42a8cf5f5680f0406f8d43f tree 1f4d97255d27ac036e682b882f792afaf8c3ef53 parent 967ca692161d8c4e894932599592af8d62c0a895 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: Fix oops when accessing sysfs files of nested input devices Signed-off-by: Greg Kroah-Hartman commit 967ca692161d8c4e894932599592af8d62c0a895 tree d1cb14bddd9484c0f9e58e9dd52881f172e235b9 parent 23d50901617c2a8bdef509279a42d2e90f523db9 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: move the input class devices under their new input_dev devices Signed-off-by: Greg Kroah-Hartman commit 23d50901617c2a8bdef509279a42d2e90f523db9 tree 9e8602bb82cbd2d56738fb93d34594d02e8d0476 parent 102040204f1949562406b72007c14a2a241cb0d9 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: export input_dev_class so that input drivers can use it. Signed-off-by: Greg Kroah-Hartman commit 102040204f1949562406b72007c14a2a241cb0d9 tree 3ede0afbcb9182f346f5b61592005ad553c8e4d7 parent 5c1e9a6a6ab2f4c60462cecb7773860a62d86e39 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: register the input class device sooner This is needed so we can actually use the class device within the input handlers. Signed-off-by: Greg Kroah-Hartman commit 5c1e9a6a6ab2f4c60462cecb7773860a62d86e39 tree c195b9268e80d9e533386f7160abbc3531662f71 parent 051b2feaa4a92592d160dcb8715cc4a5faaaa52f author Dmitry Torokhov Thu, 15 Sep 2005 02:01:55 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: export input_dev data via sysfs attributes Input: export various input device attributes via sysfs The following structure is exported: input0/ |-- name |-- phys |-- uniq |-- id/{bustype|vendor|product|version} `-- capabilities/{ev|abs|rel|key|led|msc|ff|sw} Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 051b2feaa4a92592d160dcb8715cc4a5faaaa52f tree 25193f78dd47029b6e6ac13ab8f8a1f6b10db8d2 parent 5ebdcbc2fc4f192c5e685565c9c853a9e01a5eeb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:54 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: show sysfs path in /proc/bus/input/devices Input: show sysfs path in /proc/bus/input/devices Show that sysfs and phys path are different objects. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 5ebdcbc2fc4f192c5e685565c9c853a9e01a5eeb tree 54adf58d59b5d95f5a0e68d27ebd88a8529564bb parent 34abf91f4036c01669e298e649b7ba85cadf82eb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:49 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: convert sound/ppc/beep to dynamic input_dev allocation Input: convert sound/ppc/beep to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 34abf91f4036c01669e298e649b7ba85cadf82eb tree fa17affbf6f71c9759110ceac41f9897b61b6d1c parent 17dd3f0f7aa729a042af5d3318ff9b3e7781b45b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:40 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: convert net/bluetooth to dynamic input_dev allocation Input: convert net/bluetooth to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 17dd3f0f7aa729a042af5d3318ff9b3e7781b45b tree 261580f0229e6365f044cd26925dfb2735e0754d parent 0259567ad60df13a55583b84d2cddb5526705907 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:52 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/input/joystick: convert to dynamic input_dev allocation Input: convert drivers/input/joystick to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 0259567ad60df13a55583b84d2cddb5526705907 tree 232e066c323f82bf5063538d89e847f05317f79b parent c7f7a569d9b4ea7c53ab6fcd1377895312d8372b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:42 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert konicawc to dynamic input_dev allocation Input: convert konicawc to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c7f7a569d9b4ea7c53ab6fcd1377895312d8372b tree 554febf346b80a93c8dad5dff57fa60c4ea675b8 parent b7df3910c1298fee8ed7b9dfd2da74b85df5539c author Dmitry Torokhov Thu, 15 Sep 2005 02:01:41 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert drivers/macintosh to dynamic input_dev allocation Input: convert drivers/macntosh to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b7df3910c1298fee8ed7b9dfd2da74b85df5539c tree 1948ee697c23a384dd0be625ebeee13062d73882 parent 76b7cddfd576331761e945a508254abad11039e9 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:53 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/media: convert to dynamic input_dev allocation Input: convert drivers/media to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 76b7cddfd576331761e945a508254abad11039e9 tree 83872a999a710df1de5ded7acf966dd2a4221121 parent 88789672424375882166df86adde9dd77ead630e author Dmitry Torokhov Thu, 15 Sep 2005 02:01:51 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert driver/input/misc to dynamic input_dev allocation Input: convert driver/input/misc to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 88789672424375882166df86adde9dd77ead630e tree e8276230a2add44082522e94545ccd784b55a554 parent b416f2e452b6c0f5075145bb7301f7f3d44d8ed5 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:43 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert onetouch to dynamic input_dev allocation Input: convert onetouch to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b416f2e452b6c0f5075145bb7301f7f3d44d8ed5 tree 01f69d80d4d9c75ce88e5f26d373a4a7b38fbe36 parent eca1ed196cd5b523c1057204cd3672555ad58dfe author Dmitry Torokhov Thu, 15 Sep 2005 02:01:50 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert sonypi to dynamic input_dev allocation Input: convert sonypi to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit eca1ed196cd5b523c1057204cd3672555ad58dfe tree bf60f0c3ab6cbaf3235fe01387009e7df4b0926c parent bd622663192e8ebebb27dc1d9397f352a82d2495 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:46 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/input/touchscreen: convert to dynamic input_dev allocation Input: convert drivers/input/touchscreen to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit bd622663192e8ebebb27dc1d9397f352a82d2495 tree b7d8e7ca6318e08238fb49dc1906b9f155daa115 parent c5b7c7c395a34f12cdf246d66c1feeff2933d584 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:48 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: convert ucb1x00-ts to dynamic input_dev allocation Input: convert ucb1x00-ts to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c5b7c7c395a34f12cdf246d66c1feeff2933d584 tree 8af335c30bb92991f4bfd8251de4fed9907b07bd parent 3c42f0c3dde8feb59fc87df45cadb847d5511c0a author Dmitry Torokhov Thu, 15 Sep 2005 02:01:47 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/usb/input: convert to dynamic input_dev allocation Input: convert drivers/iusb/input to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 3c42f0c3dde8feb59fc87df45cadb847d5511c0a tree e4f9f644473c3d9c7fe78f5df68bc42c8fa5850e parent 2e5b636bb5f8dacbb91d08544e2c41ebcad5dace author Dmitry Torokhov Thu, 15 Sep 2005 02:01:45 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocation Input: convert drivers/input/keyboard to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 2e5b636bb5f8dacbb91d08544e2c41ebcad5dace tree 059a2078d7b11713cad4675a9d8a062337957102 parent d19fbe8a763634395d4bef40fc88cdb61c4a6274 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:44 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/input/mouse: convert to dynamic input_dev allocation Input: convert drivers/input/mouse to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit d19fbe8a763634395d4bef40fc88cdb61c4a6274 tree 476cedefc829d1523507aebb2093b0d3b58469b0 parent 4f00469c16b86a3dd6ed66b28c605c8430d58eeb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:39 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: prepare to sysfs integration Input: prepare to sysfs integration Add struct class_device to input_dev; add input_allocate_dev() to dynamically allocate input devices; dynamically allocated devices are automatically registered with sysfs. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 4f00469c16b86a3dd6ed66b28c605c8430d58eeb tree 2129fe4c1914c69d2f5acdd07c112a92a6b59339 parent 74be227f728ed68bfc270153665b43fc1f0fa845 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:38 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: kill devfs references Input: remove references to devfs from input subsystem Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 74be227f728ed68bfc270153665b43fc1f0fa845 tree c10fbdaa10a57162885881e080ac1cee71c0d9c1 parent 53f4654272df7c51064825024340554b39c9efba author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Driver Core: document struct class_device properly Signed-off-by: Greg Kroah-Hartman commit 53f4654272df7c51064825024340554b39c9efba tree e3e7b82a6bb0040ffbd267b250be2720704b98f2 parent 51d172d5f3a193e4b8f76179b2e55d7a36b94117 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Driver Core: fix up all callers of class_device_create() The previous patch adding the ability to nest struct class_device changed the paramaters to the call class_device_create(). This patch fixes up all in-kernel users of the function. Signed-off-by: Greg Kroah-Hartman commit 51d172d5f3a193e4b8f76179b2e55d7a36b94117 tree 4bb508d85d9de2588235caddf197da57a47b5d6e parent a7fd67062efc5b0fc9a61368c607fa92d1d57f9e author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] Driver Core: add the ability for class_device structures to be nested This patch allows struct class_device to be nested, so that another struct class_device can be the parent of a new one, instead of only having the struct class be the parent. This will allow us to (hopefully) fix up the input and video class subsystem mess. But please people, don't go crazy and start making huge trees of class devices, you should only need 2 levels deep to get everything to work (remember to use a class_interface to get notification of a new class device being added to the system.) Oh, this also allows us to have the possibility of potentially, someday, moving /sys/block into /sys/class. The main hindrance is that pesky /dev numberspace issue... Signed-off-by: Greg Kroah-Hartman commit a7fd67062efc5b0fc9a61368c607fa92d1d57f9e tree 8b91f198640608bd99f4e4764394e5134220abcf parent d8539d81aeee4dbdc0624a798321e822fb2df7ae author Kay Sievers Sat, 01 Oct 2005 14:49:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] add sysfs attr to re-emit device hotplug event A "coldplug + udevstart" can be simple like this: for i in /sys/block/*/*/uevent; do echo 1 > $i; done for i in /sys/class/*/*/uevent; do echo 1 > $i; done for i in /sys/bus/*/devices/*/uevent; do echo 1 > $i; done Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit d8539d81aeee4dbdc0624a798321e822fb2df7ae tree 3fc46e80f2fdec0a7ca714dfa3fb8f08648d3bb8 parent 7bd7b091429705eb281d60c553cc643aada8045a author Dmitry Torokhov Thu, 15 Sep 2005 02:01:36 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] Driver core: pass interface to class interface methods Driver core: pass interface to class intreface methods Pass interface as argument to add() and remove() class interface methods. This way a subsystem can implement generic add/remove handlers and then call interface-specific ones. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 7bd7b091429705eb281d60c553cc643aada8045a tree 09f4559ad780b81a3c3a72a5d8d1d3278b01807b parent 607cf4d9aa1d766890f42fc892d39d48cf6d6c16 author Dmitry Torokhov Thu, 29 Sep 2005 00:40:07 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] I2O: remove i2o_device_class I2O: cleanup - remove i2o_device_class I2O devices reside on their own bus so there should be no reason to also have i2c_device class that mirros i2o bus. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 607cf4d9aa1d766890f42fc892d39d48cf6d6c16 tree c2cf3566c79d9879270a6f0a3c119065785183dc parent 4f5ca09e0b854a29b17401f59487664ae3b21aa4 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] I2O: Clean up some pretty bad driver model abuses in the i2o code Signed-off-by: Greg Kroah-Hartman commit 4f5ca09e0b854a29b17401f59487664ae3b21aa4 tree 8ad3a3785a73b2f993392b2ef32d4079f1d79768 parent dbe9035d4f690c44b55d3d0f1bc193e2c3fc57fa author Dmitry Torokhov Thu, 15 Sep 2005 02:01:32 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] I2O: remove class interface I2O: remove i2o_device_class_interface misuse The intent of class interfaces was to provide different 'views' at the same object, not just run some code every time a new class device is registered. Kill interface structure, make class core register default attributes and set up sysfs links right when registering class devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit dbe9035d4f690c44b55d3d0f1bc193e2c3fc57fa tree 56e46e581e95ae3bc8ca5473b4fd147c8b6d1f03 parent b94dc6b58667a73eeaf5cfd9c9e90dcd98743c5b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:37 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] Driver core: send hotplug event before adding class interfaces Move call to kobject_hotplug() above code that adds interfaces to a class device, otherwise children's hotplug events may reach userspace first. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b94dc6b58667a73eeaf5cfd9c9e90dcd98743c5b tree 738e4214f3168544bfcde2c46e369b3da5845dfe parent 0ac85241ebc7bf6b86ab498960cc121d53ef69ae author David Brownell Mon, 12 Sep 2005 19:39:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] usb device wakeup flags This patch teaches "usb_device" about the new driver model wakeup support: - It updates device wakeup capabilities when entering a configuration with the WAKEUP attribute; - During suspend processing it consults the policy bit to see whether it should enable wakeup for that device. (This resolves a FIXME to not assume the answer is always "yes"; some devices lie about supporting remote wakeup.) Support for root hubs and the HCDs is separate (and more complex). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0ac85241ebc7bf6b86ab498960cc121d53ef69ae tree 8b5d9d5a3e475c49d771d1a4bd597ea561331ff7 parent 2a7ff1feda9f5cd6463744239ec5e661ee7d5f01 author David Brownell Mon, 12 Sep 2005 19:39:34 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] driver model wakeup flags This is a refresh of an earlier patch to add "wakeup" support to the PM core model. This provides per-device bus-neutral control of the use of wakeup events. * "struct device_pm_info" has two bits that are initialized as part of setting up the enclosing struct device: - "can_wakeup", reflecting hardware capabilities - "may_wakeup", the policy setting (when CONFIG_PM) * There's a writeable sysfs "wakeup" file, with one of two values: - "enabled", when the policy is to allow wakeup - "disabled", when the policy is not to allow it - "" if the device can't currently issue wakeups By default, wakeup is enabled on all devices that support it. If its driver doesn't support it ... treat it as a bug. :) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2a7ff1feda9f5cd6463744239ec5e661ee7d5f01 tree 1808e0383651b708d22038756f87796b5806a9fc parent 4ed17dccd69c4fc13b9d2118001f5e58ea16ebea author Erik Hovland Thu, 06 Oct 2005 10:47:49 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] changes device to driver in porting.txt The document porting.txt in Documentation/driver-model says: When a device is successfully bound to a device I think it should say: When a device is successfully bound to a driver Signed-off-by: Greg Kroah-Hartman commit 4ed17dccd69c4fc13b9d2118001f5e58ea16ebea tree 4b60b003d447d63a370564a7059ed2b91b7f119f parent d5dee80ad69439ad8dccf8fa4d7fed0068aec9cf author Erik Hovland Thu, 06 Oct 2005 10:45:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] kobject_uevent.c has a typo in a comment This patch changes trough to through in a comment in kobject_uevent.c. Signed-off-by: Greg Kroah-Hartman commit d5dee80ad69439ad8dccf8fa4d7fed0068aec9cf tree e7983a7c7dce4213431a1b951d3d803167ed41f9 parent 3dc7c555636e46bb64b4da3570a345f4b247eaf0 author Will Dyson Fri, 16 Sep 2005 02:55:07 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] add sysfs support for ide tape I was recently given an old Travan tape drive and asked to do something useful with it. The ide-scsi + st (+serverworks ide controller) combo results in a hard lockup of the machine which I have not had the energy to debug, so I turned to ide-tape (which seems to work). The system in question debian stable, using udev to manage /dev. The following patch to ide-tape.c allows udev to create the cdev nodes for my drive. Cc: Gadi Oxman Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 3dc7c555636e46bb64b4da3570a345f4b247eaf0 tree 9ef2a3d1fff7584bf8ffc4513500e4af580d2fb7 parent 475172fb18853c31c24a8519b06a3bd5712b2cfe author Ed L. Cashin Thu, 29 Sep 2005 12:47:55 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] aoe: update to version 14 Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman Update driver version number to 14. commit 475172fb18853c31c24a8519b06a3bd5712b2cfe tree 2a2d7be04f20f9c3a2d133eaa37d33797d7e27da parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Ed L. Cashin Thu, 29 Sep 2005 12:47:40 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:49 -0700 [PATCH] aoe: use get_unaligned for accesses in ATA id buffer Signed-off-by: "Ed L. Cashin" Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman Use get_unaligned for possibly-unaligned multi-byte accesses to the ATA device identify response buffer. commit 661c3f6cc32e1307fc7df724149884c95e98358d tree 8709c0ae11143284ae34bd07b321917a038b3515 parent 4fdfefe52944f5c4132a372ed5c208962a73c3f2 author Andrew Vasquez Thu, 27 Oct 2005 11:09:58 -0700 committer James Bottomley Fri, 28 Oct 2005 11:52:33 -0500 [SCSI] qla2xxx: Use midlayer's int_to_scsilun() function. While populating command type 6 and 7 IOCBs. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 4fdfefe52944f5c4132a372ed5c208962a73c3f2 tree 23e4c9cb3f899d82e07fcfc55d75744b919415e5 parent 0eedfcf0cdac30b14d1e6c99abc6604347ef0af8 author Andrew Vasquez Thu, 27 Oct 2005 11:09:48 -0700 committer James Bottomley Fri, 28 Oct 2005 11:52:11 -0500 [SCSI] qla2xxx: Add support to dynamically enable/disable ZIO. ISP23xx and ISP24xx chips have support for an adaptive method of posting SCSI command completions for multiple SCSI commands during a single system interrupt. SCSI commands are placed on the system response queue without interrupting the host until 1) a delay timer expires; or 2) a SCSI command completes with an error. As long as the host software (qla2xxx) services the response queue for completions (this polling is done during queuecommand()) within the 'delay timer' period, the firmware will not generate system interrupt. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 0eedfcf0cdac30b14d1e6c99abc6604347ef0af8 tree f30b260826000f2a18fe76c176f974b43ef066aa parent 8e0c5ebde82b08f6d996e11983890fc4cc085fab author Andrew Vasquez Thu, 27 Oct 2005 11:09:38 -0700 committer James Bottomley Fri, 28 Oct 2005 11:52:05 -0500 [SCSI] qla2xxx: Correct issue where fcport is prematurely marked DEAD. The non-handled failure cases of the Fabric Login mailbox command handling logic would incorrectly mark the fcport as dead and not allow the standard port-down-retry-count logic to manage the transition. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 8e0c5ebde82b08f6d996e11983890fc4cc085fab tree 3ba38ff8e7b9203b47d038c215d9c7d623c250ba parent 38a9a621aba953ddb8051547e98c10ec3c741312 author Mark Haverkamp Mon, 24 Oct 2005 10:52:22 -0700 committer James Bottomley Fri, 28 Oct 2005 11:41:53 -0500 [SCSI] aacraid: Newer adapter communication iterface support Received from Mark Salyzyn. This patch adds the 'new comm' interface, which modern AAC based adapters that are less than a year old support in the name of much improved performance. These modern adapters support both the legacy and the 'new comm' interfaces. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 38a9a621aba953ddb8051547e98c10ec3c741312 tree 53fc96a2902d2c5bf2a82d97d99b78570c76291e parent 27d1097d39509494706eaa2620ef3b1e780a3224 parent e75d51761debffbc5e556e02c8ceda4f8c1a3e83 author James Bottomley Fri, 28 Oct 2005 11:41:41 -0500 committer James Bottomley Fri, 28 Oct 2005 11:41:41 -0500 Merge HEAD from ../scsi-misc-2.6-old commit 96b88fb850cc419171f926ad04650ec509e9f543 tree 5bf9537bde467534608b3acdbfa5f7726ede8c3f parent e78a57de94480226f7fc90d0b4837bfc6c99a9e0 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Jeff Garzik Fri, 28 Oct 2005 12:31:34 -0400 committer Jeff Garzik Fri, 28 Oct 2005 12:31:34 -0400 Merge branch 'master' commit 7a9f8f93d2dad38f30fbc79d8a1e6517373aa4b6 tree 9116e5bde860d00685c5b6eee7be5ba9899aabb9 parent 972c26bdd6b58e7534473c4f7928584578cf43f4 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Jeff Garzik Fri, 28 Oct 2005 12:29:23 -0400 committer Jeff Garzik Fri, 28 Oct 2005 12:29:23 -0400 Merge branch 'master' commit 27d1097d39509494706eaa2620ef3b1e780a3224 tree 69782da9f8f2e5fcf20fa7ce11832085825563af parent 83928e17b92b7a667bfe674f1b330619adc2ac88 parent 8573b80f020dce7aefa3237f1e932d562b65323d author Linus Torvalds Fri, 28 Oct 2005 09:25:21 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:25:21 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 83928e17b92b7a667bfe674f1b330619adc2ac88 tree bdfc0fd037ad1380d75cefa0e47be24e344d977c parent 9be16a03928642f944915b8c05945fd87b7a15cb parent 50f4c001bc1534db77663592496204ceba151e97 author Linus Torvalds Fri, 28 Oct 2005 09:24:22 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:24:22 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm Minor manual fixups for gfp_t clashes. commit e75d51761debffbc5e556e02c8ceda4f8c1a3e83 tree e9254c5876402d2bf069deae3a7b9648ffa1db23 parent 9f30a323a4ad96a3867279e0cdea7e2362dca2ee author Mark Haverkamp Mon, 24 Oct 2005 10:52:11 -0700 committer James Bottomley Fri, 28 Oct 2005 11:23:39 -0500 [SCSI] aacraid: remove compiler warning Received from Mark Salyzyn. This patch resolves a compiler warning on 64 bit architectures. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 9f30a323a4ad96a3867279e0cdea7e2362dca2ee tree e071657ce564844d0727360c52430a37bcf73277 parent 794d0601e7a379f0188655115a3642f1e326116f author Mark Haverkamp Mon, 24 Oct 2005 10:52:02 -0700 committer James Bottomley Fri, 28 Oct 2005 11:23:16 -0500 [SCSI] aacraid: fix struct element cpu order Received from Mark Salyzyn. The compat field needed to be in cpu order. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 794d0601e7a379f0188655115a3642f1e326116f tree 6a10ed0af019f7069902331f4f69de1b7e5d75c7 parent 71e0f32fbc7841d9c34949655039dcf4635540f0 author Mark Haverkamp Mon, 24 Oct 2005 10:51:53 -0700 committer James Bottomley Fri, 28 Oct 2005 11:21:37 -0500 [SCSI] aacraid: fix inquiry page Received from Mark Salyzyn. This patch uses the adapter supplemental information AdapterTypeText as the default for the array name. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 71e0f32fbc7841d9c34949655039dcf4635540f0 tree 4694e2dddca9ef968a482ff47460bac3a2408c74 parent f2be34a3f30a1595f5d9c8e7d0bec4d8d3626047 author James Bottomley Fri, 28 Oct 2005 11:21:10 -0500 committer James Bottomley Fri, 28 Oct 2005 11:21:10 -0500 [SCSI] aacraid: Use DMA mask defines From: Mark Haverkamp Received from Mark Salyzyn. This patch changes the driver over to utilizing the DMA_64BIT_MASK and DMA_32BIT_MASK manifests. Applies to the scsi-rc-fixes-2.6 git tree. Signed-off-by: Mark Haverkamp Rejects fixed up and Signed-off-by: James Bottomley commit 210cc679faf0e1cabda9fc5d1279644f5e52aecb tree f0816c90ae937a159f8bfec6018a6271223b954a parent e0f998930eb67c49f2862c58a45262ad0bc03eca parent 260b23674fdb570f3235ce55892246bef1c24c2a author Kyle McMartin Fri, 28 Oct 2005 12:18:07 -0400 committer Kyle McMartin Fri, 28 Oct 2005 12:18:07 -0400 Auto-update from upstream commit 9be16a03928642f944915b8c05945fd87b7a15cb tree 85bc5a5886e9873a7f424012de3bd908a70ab115 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e parent cb650116a030dd5cf12f30651e29ceb990d42e4a author Linus Torvalds Fri, 28 Oct 2005 09:16:58 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:16:58 -0700 Merge branch 'sx8' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6 commit 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e tree 73924189ef46511301d004946fbdd9937b00c484 parent e5dfa9282f3db461a896a6692b529e1823ba98c6 parent 26ba2a7a9f4d8921f095af646a7d22c15a148028 author Linus Torvalds Fri, 28 Oct 2005 09:06:50 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:06:50 -0700 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit e5dfa9282f3db461a896a6692b529e1823ba98c6 tree 574d23cebc57c657373b0e1b6692c047aba8dd6e parent 5dd962494f76fb3ef1196cd420b5d6260d7a3766 parent b2ab040db85835e54c7559533df7f85902617926 author Linus Torvalds Fri, 28 Oct 2005 09:05:25 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:05:25 -0700 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 5dd962494f76fb3ef1196cd420b5d6260d7a3766 tree f6eda4fcea880e420420a2886b84ad35a6b00f28 parent 28d721e24c88496ff8e9c4a0959bdc1415c0658e parent 772eca7825358f52cf208afd7ab8ce22722ce41a author Linus Torvalds Fri, 28 Oct 2005 08:56:34 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:56:34 -0700 Merge branch 'elevator-switch' of git://brick.kernel.dk/data/git/linux-2.6-block Manual fixup for trivial "gfp_t" changes. commit 28d721e24c88496ff8e9c4a0959bdc1415c0658e tree 0652161bbbcbfddf47c7ddb25d2db8ecd4cbec89 parent 0ee40c6628434f0535da31deeacc28b61e80d810 parent cb19833dccb32f97cacbfff834b53523915f13f6 author Linus Torvalds Fri, 28 Oct 2005 08:53:49 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:53:49 -0700 Merge branch 'generic-dispatch' of git://brick.kernel.dk/data/git/linux-2.6-block commit 0ee40c6628434f0535da31deeacc28b61e80d810 tree 2873b9c932a63943fad22617b8385866e45347f5 parent 236fa08168dd82af29a76c31c40b4148403774c0 parent 2824bc9328467127083c1325f54b67d298c333b2 author Linus Torvalds Fri, 28 Oct 2005 08:53:00 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:53:00 -0700 Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block commit 50f4c001bc1534db77663592496204ceba151e97 tree 5391f9f8728bd489a5eaa1523e6c198e537db1ba parent 049eb3298a832a63c55bc8d8ea4cc881ab99f84b author Bellido Nicolas Fri, 28 Oct 2005 16:51:44 +0100 committer Russell King Fri, 28 Oct 2005 16:51:44 +0100 [ARM] 3042/1: AAED-2000 - LCD panel informations Patch from Bellido Nicolas The AAED-2000 is equiped with an 640x480 LCD. This adds the parameters that will be passed to the AAEC-2000 platform code. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 049eb3298a832a63c55bc8d8ea4cc881ab99f84b tree 93de3e93882c8e44ec9bd469c58bd999c12914d0 parent 4224b67c9a1d6cbf47b073970bd2db5a89557f92 author Bellido Nicolas Fri, 28 Oct 2005 16:51:44 +0100 committer Russell King Fri, 28 Oct 2005 16:51:44 +0100 [ARM] 3041/1: AAEC-2000 - CLCD controller platform glue Patch from Bellido Nicolas The AAEC-2000 has an ARM PrimeCell PL110 Color LCD Controller. This patch contains the platform glue that will be used by specific boards. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4224b67c9a1d6cbf47b073970bd2db5a89557f92 tree c2e37463f5844f2f64dcfc8aff4620d903c6e647 parent 4a91ca2eb6eff14bb23f709e6ebf189fdbcdaa22 author Bellido Nicolas Fri, 28 Oct 2005 16:51:43 +0100 committer Russell King Fri, 28 Oct 2005 16:51:43 +0100 [ARM] 3040/1: AAEC-2000 - Preliminary clock interface support Patch from Bellido Nicolas Here is a preliminary clock interface support for the AAEC-2000. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4a91ca2eb6eff14bb23f709e6ebf189fdbcdaa22 tree 6b4a49b970dcc2091eb4e536744a36559d50b441 parent f0904e29369a940080487fece700e59295196d79 author Bellido Nicolas Fri, 28 Oct 2005 16:51:42 +0100 committer Russell King Fri, 28 Oct 2005 16:51:42 +0100 [ARM] 3039/1: AAEC-2000 - Add MTD support Patch from Bellido Nicolas This adds platform code for MTD devices on AAEC-2000. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit f0904e29369a940080487fece700e59295196d79 tree bb024b7a1ac225d1221d91e57ee0a7eea4a782f6 parent 4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f author Bellido Nicolas Fri, 28 Oct 2005 16:51:41 +0100 committer Russell King Fri, 28 Oct 2005 16:51:41 +0100 [ARM] 3038/1: AAEC-2000 - Proper includes in hardware.h Patch from Bellido Nicolas linux/config.h is not necessary in hardware.h, while asm/sizes.h and asm/arch//aaec2000.h will be used later. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f tree 03d87c15a85caaf918e40abc8ab0245a37b362ad parent 13b1d677d2c872e2d05ef6241b499b6e1f6f91ba author Bellido Nicolas Fri, 28 Oct 2005 16:51:40 +0100 committer Russell King Fri, 28 Oct 2005 16:51:40 +0100 [ARM] 3037/1: AAED-2000 - Add defines for GPIO registers on external port. Patch from Bellido Nicolas The AAED-2000 board has GPIO pins on an external port. This patch adds the defines, and do the necessary mapping. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 13b1d677d2c872e2d05ef6241b499b6e1f6f91ba tree 5aa42a89be27a05d77e17920e3fd566669b23051 parent 6f475c0133eb91c7df3b056843dc33d2824368a2 author Bellido Nicolas Fri, 28 Oct 2005 16:51:40 +0100 committer Russell King Fri, 28 Oct 2005 16:51:40 +0100 [ARM] 3036/1: AAEC-2000 - Add defines for GPIO registers Patch from Bellido Nicolas Add defines for GPIO registers on the AAEC-2000 processor. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 236fa08168dd82af29a76c31c40b4148403774c0 tree 73456604747ede3536a5b851ce4615aab96237f7 parent 260b23674fdb570f3235ce55892246bef1c24c2a parent dcab5e1eeccf5e226c771ecc013631cde157435f author Linus Torvalds Fri, 28 Oct 2005 08:50:37 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:50:37 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.15 commit 6f475c0133eb91c7df3b056843dc33d2824368a2 tree 051e35468fb1965c72e6fa5b679fac48975508b8 parent a999cb04b4bfb4a2243383f00d5714b8d7163035 author Nicolas Pitre Fri, 28 Oct 2005 16:39:33 +0100 committer Russell King Fri, 28 Oct 2005 16:39:33 +0100 [ARM] 2897/2: PXA2xx IRDA support Patch from Nicolas Pitre This is the PXA2xx common IRDA driver, plus platform support for Lubbock and Mainstone. Signed-off-by: Nicolas Pitre Acked-by: Jean Tourrilhes Signed-off-by: Russell King commit a999cb04b4bfb4a2243383f00d5714b8d7163035 tree 951b848e666ed00b90c2ac55bce1b2664dd51c27 parent dd5b295ff880d5a0699a52f84106f16702c298f2 author Nicolas Pitre Fri, 28 Oct 2005 16:35:46 +0100 committer Russell King Fri, 28 Oct 2005 16:35:46 +0100 [ARM] 3035/1: RISCOS compat code fix Patch from Nicolas Pitre From: Daniel Jacobowitz > I also fixed a bug that confused me greatly while trying to debug: one > SIGILL has long been a SIGSEGV because of some broken RISCOS > compatibility code. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 8573b80f020dce7aefa3237f1e932d562b65323d tree 46942f2fb052072b44bee5d98a4222f31374c6a5 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Erik Hovland Fri, 28 Oct 2005 16:28:04 +0100 committer Russell King Fri, 28 Oct 2005 16:28:04 +0100 [ARM] 3031/1: fix typos in comments of mmc.h Patch from Erik Hovland I noticed that the same typo (i before c in associated) showed up twice in the file kernel/include/linux/mmc/mmc.h. This patch fixes both of the instances I found with this mistake. The typos are in comments and should have no affect on working code. E Signed-off-by: Erik Hovland Signed-off-by: Russell King commit dd5b295ff880d5a0699a52f84106f16702c298f2 tree 2d2039394e0751034751b72887b1d2b66ed6166d parent d9e29649875df82828167dd45c802d942db863ba author Jon Ringle Fri, 28 Oct 2005 16:27:24 +0100 committer Russell King Fri, 28 Oct 2005 16:27:24 +0100 [ARM] 2921/1: Support for the RTC / nvram on the Comdial MP1000 Patch from Jon Ringle This adds support for the RTC and nvram on the Comdial MP1000 Signed-off-by: Jon Ringle Signed-off-by: Russell King commit d9e29649875df82828167dd45c802d942db863ba tree 8ce0d5d46bde4a92e212aabe18a3a86f508c8fd4 parent 80a18573cea2e6d8e95abe4d42bfc5f97761999a author Matt Reimer Fri, 28 Oct 2005 16:25:02 +0100 committer Russell King Fri, 28 Oct 2005 16:25:02 +0100 [ARM] 3029/1: Add HWUART support for PXA 255/26x Patch from Matt Reimer Adds support for HWUART on PXA 255 / 26x. This patch originally came from http://svn.rungie.com/svn/gumstix-buildroot/trunk/sources/kernel-patches/000-gumstix-hwuart.patch and has been tweaked by me. Signed-off-by: Matt Reimer Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 80a18573cea2e6d8e95abe4d42bfc5f97761999a tree 169773f6b106c22e9df10d14a14f538299915b51 parent 917f68f8163eb877a6d71c5b446ee236645c2944 author Todd Poynor Fri, 28 Oct 2005 16:25:01 +0100 committer Russell King Fri, 28 Oct 2005 16:25:01 +0100 [ARM] 2787/2: PXA27x low power modes support Patch from Todd Poynor Add symbols for PXA2xx PWRMODE register M field that selects low-power mode, replace unadorned constants. Honor power mode parameter of pxa_cpu_suspend(mode), no longer force to 3 (sleep). Full Deep Sleep low-power mode support for PXA27x is pending generic PM interfaces to select more than 2 suspend-to-RAM-style power modes, but this is expected soon. This can be hardcoded in the meantime by replacing the pxa_cpu_suspend() parameter value. From David Burrage and Todd Poynor. Try #2 removes one of the register copies and moves the code to save the pxa_cpu_suspend parameter to immediately surround the call that requires the parameter value be preserved. Signed-off-by: Todd Poynor Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 917f68f8163eb877a6d71c5b446ee236645c2944 tree d4bab9fc7a2022d9f068ae6c0ca42575ffd4ba08 parent 0b83f1400fa6e5f0d4afcff033628a16c163862a author Jon Ringle Fri, 28 Oct 2005 16:19:38 +0100 committer Russell King Fri, 28 Oct 2005 16:19:38 +0100 [ARM] 2919/1: CS8900A ethernet driver modifications for the Comdial MP1000 Patch from Jon Ringle This patch gives support for the CS8900A ethernet chip on the Comdial MP1000 Signed-off-by: Jon Ringle Signed-off-by: Russell King commit 0b83f1400fa6e5f0d4afcff033628a16c163862a tree c6fa01fd5a8d156b415ba9203f8ad349165de8ec parent b57235215933d5fde4013e2448223b934b4ac2b7 author Jon Ringle Fri, 28 Oct 2005 16:19:37 +0100 committer Russell King Fri, 28 Oct 2005 16:19:37 +0100 [ARM] 2918/1: [update] Base port of Comdial MP1000 platfrom Patch from Jon Ringle Updated 2898/1 per comments: - Removed fixup - Moved code in mach-mp1000/ to mach-clps711x/ - Cleaned up code in mp1000-seprom.c. Eliminated code that displayed the contents of the eeprom Please comment. Signed-off-by: Jon Ringle Signed-off-by: Russell King commit 260b23674fdb570f3235ce55892246bef1c24c2a tree 471e7b546cbf1f7ee4a165e5bd9a2de0770e53be parent c4cdd038318863e912e9b992489f61497f98b442 author Al Viro Fri, 21 Oct 2005 03:22:44 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: the rest zone handling, mapping->flags handling Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c4cdd038318863e912e9b992489f61497f98b442 tree 07ebd1d1d5d27be8adcca5b81991af077f6044f8 parent b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca author Al Viro Fri, 21 Oct 2005 03:22:39 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: reiserfs mapping_set_gfp_mask() use Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca tree 51c609f9a954cd5d4732c4b512f9ff2e19546d47 parent 9e24974db6b01ec067c24de09588282b6a1407f0 author Al Viro Fri, 21 Oct 2005 03:22:34 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: remaining bits of drivers/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9e24974db6b01ec067c24de09588282b6a1407f0 tree 5ed1cc85738f76bfab07e61df84f55e35d642aca parent 53f9fc93f90a43701d6aaf3919be0614bb088b83 author Al Viro Fri, 21 Oct 2005 03:22:29 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: drivers/net Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 53f9fc93f90a43701d6aaf3919be0614bb088b83 tree b86e4ef9ef7ae1f54b64d19ca1e35c3607c36845 parent 1ef64e670e3bc27e0c3c83810ca36e19924c35c6 author Al Viro Fri, 21 Oct 2005 03:22:24 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: remaining bits of arch/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 1ef64e670e3bc27e0c3c83810ca36e19924c35c6 tree b024df98dcbe0bc28c967559da27a14254698887 parent 87b750dc4b7109aa744e7d331dc93df3fe5c1c28 author Al Viro Fri, 21 Oct 2005 03:22:18 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: sound Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 87b750dc4b7109aa744e7d331dc93df3fe5c1c28 tree a76309b353fc5c04eca8f6b5753b65e68f00c4d3 parent c53033f6b0bd7cc133b7f433083f0394cf29ac70 author Al Viro Fri, 21 Oct 2005 03:22:13 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: drivers/infiniband Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c53033f6b0bd7cc133b7f433083f0394cf29ac70 tree 0e53b6f65b41f69de987e6b2a96248218933d497 parent 9796fdd829da626374458e8706daedcc0e432ddd author Al Viro Fri, 21 Oct 2005 03:22:08 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: drivers/scsi Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9796fdd829da626374458e8706daedcc0e432ddd tree a0b4af7f45267cdcdfb677c2167906c6ef981b76 parent 55016f10e31bb15b85d8c500f979dfdceb37d548 author Al Viro Fri, 21 Oct 2005 03:22:03 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: kernel/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 55016f10e31bb15b85d8c500f979dfdceb37d548 tree 39bbbd7deb4a61e6c7d3ace28de8e069ffe407bc parent 970a9e73f9036ef89d46b8240f99463f6d244c1d author Al Viro Fri, 21 Oct 2005 03:21:58 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: drivers/usb Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 970a9e73f9036ef89d46b8240f99463f6d244c1d tree 0a55b5f311024661468a96fb01cb1063816f8d95 parent 5fb5cbed6e5ba4cbaf7284a23d42eb878bb7da24 author Al Viro Fri, 21 Oct 2005 03:21:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: dma-mapping (simple cases) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5fb5cbed6e5ba4cbaf7284a23d42eb878bb7da24 tree eac92d644ee7a11538f52017756687a755d48ee5 parent f80aabb03a33702d934fbc3c02fd96471816d82e author Al Viro Fri, 21 Oct 2005 03:21:48 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: dma-mapping (xtensa) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f80aabb03a33702d934fbc3c02fd96471816d82e tree 05e8dfb302367349d16f45269e28cb77858392fb parent 6dae2c2306684d9e76a04c22dc090380a9009f12 author Al Viro Fri, 21 Oct 2005 03:21:43 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (amd64) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6dae2c2306684d9e76a04c22dc090380a9009f12 tree f15fae33cf83d5e3eb57a3399cd61da59adb1ba5 parent e82dd4d6472304495afa271b2f63b572868b23d9 author Al Viro Fri, 21 Oct 2005 03:21:38 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (sh) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit e82dd4d6472304495afa271b2f63b572868b23d9 tree 9b3dec842d9e8ff932392c723fd61580a3bcfc39 parent 5c1fb41f40b7b6d819a617f52dbd66b6938ef362 author Al Viro Fri, 21 Oct 2005 03:21:33 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (ppc) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5c1fb41f40b7b6d819a617f52dbd66b6938ef362 tree fcd42c30e7d7f4663702afdc94d252610a537300 parent 185a8ff52875d8db31b9346ab186f75baa616dee author Al Viro Fri, 21 Oct 2005 03:21:28 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (parisc) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 185a8ff52875d8db31b9346ab186f75baa616dee tree c139d90dae1184917abdb35f5f3c2514c688390d parent a5da7d3c6e8fcd7aaab6c4e1e9101ba333248ffb author Al Viro Fri, 21 Oct 2005 03:21:23 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (mips) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a5da7d3c6e8fcd7aaab6c4e1e9101ba333248ffb tree ce17675418c32fbf62073a3c809390e9518d3555 parent 43b7eae1f5c5424a49ea4a65e9b0e9d5d2fd9446 author Al Viro Fri, 21 Oct 2005 03:21:18 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (frv) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 43b7eae1f5c5424a49ea4a65e9b0e9d5d2fd9446 tree 99ea40aa04b3d77e90df415d54c40f2a812b88a8 parent 55c5d74b3ac3a6b8bdde4e5fab4015eccd557d52 author Al Viro Fri, 21 Oct 2005 03:21:13 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (cris) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 55c5d74b3ac3a6b8bdde4e5fab4015eccd557d52 tree 192a7cbb093b1bc0548a249758fd48a4f0458028 parent 06a544971fad0992fe8b92c5647538d573089dd4 author Al Viro Fri, 21 Oct 2005 03:21:08 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (alpha) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 06a544971fad0992fe8b92c5647538d573089dd4 tree b51e38c66fcf65d4023a5627228861bd061c9c5c parent f9e3214a7964f523e12b4f30b6bd6396794818bd author Al Viro Fri, 21 Oct 2005 03:21:03 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: dma-mapping (ia64) ... and related annotations for amd64 - swiotlb code is shared, but prototypes are not. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f9e3214a7964f523e12b4f30b6bd6396794818bd tree 1a10942dbaed7395f561e6698ce194a077bd7d7b parent 8267e268e0914ac9371d07f711fcf20cc572993c author Al Viro Fri, 21 Oct 2005 03:20:58 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: dma-mapping (arm) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8267e268e0914ac9371d07f711fcf20cc572993c tree 6f83cbcb95187544ed9075470c14cc12128272c8 parent 27496a8c67bef4d789d8e3c8317ca35813a507ae author Al Viro Fri, 21 Oct 2005 03:20:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: block layer core Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 27496a8c67bef4d789d8e3c8317ca35813a507ae tree fe99a34fe5a800e41af61853e7444ddddf45d014 parent 7d877f3bda870ab5f001bd92528654471d5966b3 author Al Viro Fri, 21 Oct 2005 03:20:48 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: fs/* - ->releasepage() annotated (s/int/gfp_t), instances updated - missing gfp_t in fs/* added - fixed misannotation from the original sweep caught by bitwise checks: XFS used __nocast both for gfp_t and for flags used by XFS allocator. The latter left with unsigned int __nocast; we might want to add a different type for those but for now let's leave them alone. That, BTW, is a case when __nocast use had been actively confusing - it had been used in the same code for two different and similar types, with no way to catch misuses. Switch of gfp_t to bitwise had caught that immediately... One tricky bit is left alone to be dealt with later - mapping->flags is a mix of gfp_t and error indications. Left alone for now. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7d877f3bda870ab5f001bd92528654471d5966b3 tree 1c05b62abead153956c4ca250ffb1891887e77c9 parent fd4f2df24bc23e6b8fc069765b425c7dacf52347 author Al Viro Fri, 21 Oct 2005 03:20:43 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: net/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit fd4f2df24bc23e6b8fc069765b425c7dacf52347 tree f7e993817030747c5e1000d46685ebd2eef11085 parent 6daa0e28627abf362138244a620a821a9027d816 author Al Viro Fri, 21 Oct 2005 03:18:50 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: lib/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6daa0e28627abf362138244a620a821a9027d816 tree 5ca9cbc421cc1adf228cdd30cd627bca8be6242c parent af4ca457eaf2d6682059c18463eb106e2ce58198 author Al Viro Fri, 21 Oct 2005 03:18:50 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: mm/* (easy parts) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit af4ca457eaf2d6682059c18463eb106e2ce58198 tree 399ca5ab3b15d723a6aefd04c764a2a06089ed06 parent 434f1d10c1adb6c2e333d501ce1e42be610e0723 author Al Viro Fri, 21 Oct 2005 02:55:38 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:46 -0700 [PATCH] gfp_t: infrastructure Beginning of gfp_t annotations: - -Wbitwise added to CHECKFLAGS - old __bitwise renamed to __bitwise__ - __bitwise defined to either __bitwise__ or nothing, depending on __CHECK_ENDIAN__ being defined - gfp_t switched from __nocast to __bitwise__ - force cast to gfp_t added to __GFP_... constants - new helper - gfp_zone(); extracts zone bits out of gfp_t value and casts the result to int Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b57235215933d5fde4013e2448223b934b4ac2b7 tree 01971ad7db6d51a78e71e9099a799536d6c87631 parent 57718976141c2929bddd6219efb32c2abea8360c author Ian Campbell Fri, 28 Oct 2005 15:31:48 +0100 committer Russell King Fri, 28 Oct 2005 15:31:48 +0100 [ARM] 3048/1: register i2s resources not i2c resources for the pxa i2s platform device Patch from Ian Campbell As noted by Uli Luckas in the comments of 3025 there is a typo in the i2s platform device. The i2s platform device refers to the i2c resources. Signed-off-by: Ian Campbell Signed-off-by: Russell King commit 57718976141c2929bddd6219efb32c2abea8360c tree 80204c47b9ac6e23eeefc1305cd729a930216cc5 parent 58c8d570f30d65836b53903fbdf355707a19aa52 author Ben Dooks Fri, 28 Oct 2005 15:31:47 +0100 committer Russell King Fri, 28 Oct 2005 15:31:47 +0100 [ARM] 3047/1: SMDK2440 - add framebuffer platform data Patch from Ben Dooks Add platform data for framebuffer for the onboard LCD module Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 58c8d570f30d65836b53903fbdf355707a19aa52 tree 3909aab14e088f4982aa5dd88a47b640075f38a1 parent 893b03094c2ed929648d76a29cbbfc9e215e8636 author Ben Dooks Fri, 28 Oct 2005 15:31:46 +0100 committer Russell King Fri, 28 Oct 2005 15:31:46 +0100 [ARM] 3046/1: BAST - add framebuffer platform data Patch from Ben Dooks Add framebuffer platform data Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 893b03094c2ed929648d76a29cbbfc9e215e8636 tree aff67b68cf24ac83316514051568f3643a48ebc6 parent 3b90c9c33361d49893645ffcebe6ca230f434705 author Ben Dooks Fri, 28 Oct 2005 15:31:45 +0100 committer Russell King Fri, 28 Oct 2005 15:31:45 +0100 [ARM] 3045/2: S3C2410 - change init for lcd platform data Patch from Ben Dooks Change set_s3c2410fb_info to s3c2410_fb_set_platdata and use kmalloc() for the copy of the information it is passed. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 3b90c9c33361d49893645ffcebe6ca230f434705 tree bf51c431a2730e6a6ec48cedbbfe24db6323172e parent 63a4b52c9ddca944afc1b78aacbf641c650780d7 author Lennert Buytenhek Fri, 28 Oct 2005 15:31:45 +0100 committer Russell King Fri, 28 Oct 2005 15:31:45 +0100 [ARM] 2908/1: add register definitions for ixp2000 msf Patch from Lennert Buytenhek We already had a mapping for the msf, but we didn't have any register definitions for it yet. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 63a4b52c9ddca944afc1b78aacbf641c650780d7 tree bc782e17f3f13de7fd6a7543c9806eaeec692f8f parent a0e0adb96ebe6bf0b8b3fe4cd6c214b1e8964609 author Ian Campbell Fri, 28 Oct 2005 15:26:42 +0100 committer Russell King Fri, 28 Oct 2005 15:26:42 +0100 [ARM] 3044/1: Fix sparse warnings about incompatible pointer types for register defined in pxa-regs.h Patch from Ian Campbell The sparse warning initially surfaced in sound/arm/pxa2xx-ac97.c because it was using u32 * variables to hold the unsigned long * register addresses. I submitted an ALSA patch for this http://thread.gmane.org/gmane.linux.alsa.devel/27804 issue and it was suggested that it might be preferable to change the register definitions to use u32. Most other subarches seem to use u32 for their register type, at least the ones which use a __REG macro (like the PXA) do. Nico indicated in the thread above that he wouldn't mind this patch. Changing the type required fixes for opposite warnings in the pxa2xx usb gadget code but that was the only new warning introduced on defconfig or lubbock, mainstone and our own PXA255 boards. Signed-off-by: Ian Campbell Signed-off-by: Russell King commit a0e0adb96ebe6bf0b8b3fe4cd6c214b1e8964609 tree 26c736c20c8d05bb8239cc68b427eccdadd0e341 parent 42d3a120fe9a1831b88e7037ce0b048d82433b09 author Ben Dooks Fri, 28 Oct 2005 15:26:42 +0100 committer Russell King Fri, 28 Oct 2005 15:26:42 +0100 [ARM] 3034/1: S3C2410 - fix size of devices in devs.c Patch from Ben Dooks From: Guillaume GOURAT A number of devices have an extra byte on the end of their areas due to mis-calculating the .end field of their resources Signed-off-by: Guillaume GOURAT Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 42d3a120fe9a1831b88e7037ce0b048d82433b09 tree 0fef604e20da25b1c6254ebda98d00cfce2498e2 parent c09f98271f685af349d3f0199360f1c0e85550e0 author Ben Dooks Fri, 28 Oct 2005 15:26:41 +0100 committer Russell King Fri, 28 Oct 2005 15:26:41 +0100 [ARM] 3033/1: S3C2410 - add generic gpio_cfgpin options Patch from Ben Dooks Add generic values for the parameters to the s3c2410_gpio_cfgpin() function, so that a caller does not need to know the exact constant for the specified pin. This is very useful for the case where a driver is passed a gpio pin number and needs to reconfigure the pin's function. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c09f98271f685af349d3f0199360f1c0e85550e0 tree 2e8a393d76e386ff64af2a786cf5baf370f3823b parent 0b7cd62ecdc1f09b7df4608a3fee644b1c27985b author Nicolas Pitre Fri, 28 Oct 2005 15:26:40 +0100 committer Russell King Fri, 28 Oct 2005 15:26:40 +0100 [ARM] 2930/1: optimized sha1 implementation for ARM Patch from Nicolas Pitre Here's an ARM assembly SHA1 implementation to replace the default C version. It is approximately 50% faster than the generic C version. On an XScale processor running at 400MHz: generic C version: 9.8 MB/s my version: 14.5 MB/s This code is useful to quite a few callers in the tree: crypto/sha1.c: sha_transform(sctx->state, sctx->buffer, temp); crypto/sha1.c: sha_transform(sctx->state, &data[i], temp); drivers/char/random.c: sha_transform(buf, (__u8 *)r->pool+i, buf + 5); drivers/char/random.c: sha_transform(buf, (__u8 *)data, buf + 5); net/ipv4/syncookies.c: sha_transform(tmp + 16, (__u8 *)tmp, tmp + 16 + 5); Signed-off-by: Nicolas Pitre Seems to work fine on big-endian as well. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 0b7cd62ecdc1f09b7df4608a3fee644b1c27985b tree 3769b043ea6b15ffe7b74a1a5d42903e08b126bc parent 9769c2468d423a1562dd59a5db250bd0a5533ec9 author Deepak Saxena Fri, 28 Oct 2005 15:19:12 +0100 committer Russell King Fri, 28 Oct 2005 15:19:12 +0100 [ARM] 3017/1: Add support for 36-bit addresses to create_mapping() Patch from Deepak Saxena This patch adds support for 36-bit static mapped I/O. While there are no platforms in the tree ATM that use it, it has been tested tested on the IXP2350 NPU and I would like to get the support for that chipset upstream one piece at a time. There are also other Intel chipset ports in development that are waiting on this to go upstream. The patch replaces the print formats for physical addresses with %016llx which will create a bit extraneous output on 32-bit systems, but I think that is cleaner than having #ifdefs, specially since users will only see the output in error cases. Depends on 3016/1. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 9769c2468d423a1562dd59a5db250bd0a5533ec9 tree d584ad444ed8bd5d1abfc197c918dfc6a9af7ddb parent c8d2729858d76de4ef7522c8171004fc1959cc44 author Deepak Saxena Fri, 28 Oct 2005 15:19:11 +0100 committer Russell King Fri, 28 Oct 2005 15:19:11 +0100 [ARM] 3016/1: Replace map_desc.physical with map_desc.pfn Patch from Deepak Saxena Convert map_desc.physical to map_desc.pfn. This allows us to add support for 36-bit addressed physical devices in the static maps without having to resort to u64 variables. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit c8d2729858d76de4ef7522c8171004fc1959cc44 tree 1ee360c926ef6544b7a1701fe4558ddab1824733 parent adecef744fc5b4e9316c851feec2a4d2640dd7ae author Deepak Saxena Fri, 28 Oct 2005 15:19:10 +0100 committer Russell King Fri, 28 Oct 2005 15:19:10 +0100 [ARM] 3001/1: Replace map_desc.physical with map_desc.pfn: Integrator Patch from Deepak Saxena Integrator map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit adecef744fc5b4e9316c851feec2a4d2640dd7ae tree c1b5ed76a45b6302a7ba93c3814f4583ea70d505 parent 3e9635e4060238549ffac239de34f6122b053653 author Deepak Saxena Fri, 28 Oct 2005 15:19:10 +0100 committer Russell King Fri, 28 Oct 2005 15:19:10 +0100 [ARM] 3000/1: Replace map_desc.physical with map_desc.pfn: iMX Patch from Deepak Saxena iMX map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 3e9635e4060238549ffac239de34f6122b053653 tree fcf6165518ae52782c2627eed050bcb5ade4aa57 parent a427ceef934d8162c8c61d152e969bc3ec21a4e5 author Deepak Saxena Fri, 28 Oct 2005 15:19:09 +0100 committer Russell King Fri, 28 Oct 2005 15:19:09 +0100 [ARM] 2999/1: Replace map_desc.physical with map_desc.pfn: H720x Patch from Deepak Saxena H720x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit a427ceef934d8162c8c61d152e969bc3ec21a4e5 tree a9685eae50591734deefa30e8e395002b2340fb9 parent 6cb1907c1a88563c84123c923b46424ea68b53eb author Deepak Saxena Fri, 28 Oct 2005 15:19:08 +0100 committer Russell King Fri, 28 Oct 2005 15:19:08 +0100 [ARM] 2998/1: Replace map_desc.physical with map_desc.pfn: Footbridge Patch from Deepak Saxena Footbridge map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6cb1907c1a88563c84123c923b46424ea68b53eb tree 0dd89d69e94e859ea60866490bbeee252e78f2de parent 7a557e246f5c24f4c7218f41f8caf03c492f40f9 author Deepak Saxena Fri, 28 Oct 2005 15:19:08 +0100 committer Russell King Fri, 28 Oct 2005 15:19:08 +0100 [ARM] 2997/1: Replace map_desc.physical with map_desc.pfn: EBSA110 Patch from Deepak Saxena EBSA110 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7a557e246f5c24f4c7218f41f8caf03c492f40f9 tree 6e9dfb55c02c67a31cc41a84c5be7b2058b97386 parent 1311521fb1b8ebbb0b470d028df13f2cbc643e51 author Deepak Saxena Fri, 28 Oct 2005 15:19:07 +0100 committer Russell King Fri, 28 Oct 2005 15:19:07 +0100 [ARM] 2996/1: Replace map_desc.physical with map_desc.pfn: EPXA10DB Patch from Deepak Saxena EPXA10DB mapd_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 1311521fb1b8ebbb0b470d028df13f2cbc643e51 tree 9f18d38f8948b2b3b243c5bbfd4e26f46d5553fb parent d157e9ecec59383a676d676e2bb39367430396a2 author Deepak Saxena Fri, 28 Oct 2005 15:19:06 +0100 committer Russell King Fri, 28 Oct 2005 15:19:06 +0100 [ARM] 2995/1: Replace map_desc.physical with map_desc.pfn: Versatile Patch from Deepak Saxena Versatile map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit d157e9ecec59383a676d676e2bb39367430396a2 tree c7947a901355530a047258c876104e96ec605725 parent f10083f5a6f4a2735cca3a8c762457272ea66bf0 author Deepak Saxena Fri, 28 Oct 2005 15:19:05 +0100 committer Russell King Fri, 28 Oct 2005 15:19:05 +0100 [ARM] 2994/1: Replace map_desc.physical with map_desc.pfn: CLPS7500 Patch from Deepak Saxena CLSP7500 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f10083f5a6f4a2735cca3a8c762457272ea66bf0 tree fcfe67bcb1b14305ffdad376a2b0ee10377a1916 parent 92519d82828a93743adc31202927f411601c0d04 author Deepak Saxena Fri, 28 Oct 2005 15:19:05 +0100 committer Russell King Fri, 28 Oct 2005 15:19:05 +0100 [ARM] 2993/1: Replace map_desc.physical with map_desc.pfn: CLPS711x Patch from Deepak Saxena CLSP711x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 92519d82828a93743adc31202927f411601c0d04 tree 66870a71932fa52ad0d4cd748c0df0a8a7fc2e29 parent cd5fc8bffd70b2d87953334b6195db4bc2125ff9 author Deepak Saxena Fri, 28 Oct 2005 15:19:04 +0100 committer Russell King Fri, 28 Oct 2005 15:19:04 +0100 [ARM] 2992/1: Replace map_desc.physical with map_desc.pfn: SA1100 Patch from Deepak Saxena SA1100 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit cd5fc8bffd70b2d87953334b6195db4bc2125ff9 tree e6245d10dc73176c6298b55cd6cf237b1353621a parent 1cc977a76642b1eec2ab4ba80a6f0db9a63a091e author Deepak Saxena Fri, 28 Oct 2005 15:19:03 +0100 committer Russell King Fri, 28 Oct 2005 15:19:03 +0100 [ARM] 2991/1: Replace map_desc.physical with map_desc.pfn: Shark Patch from Deepak Saxena Shark map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 1cc977a76642b1eec2ab4ba80a6f0db9a63a091e tree cade01987d4749200335f6c19e5e6cb381f75b16 parent f9258f226baf663099acb7972287ea0e26ce05a7 author Deepak Saxena Fri, 28 Oct 2005 15:19:02 +0100 committer Russell King Fri, 28 Oct 2005 15:19:02 +0100 [ARM] 2990/1: Replace map_desc.physical with map_desc.pfn: S3C2410 Patch from Deepak Saxena S3C2410 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f9258f226baf663099acb7972287ea0e26ce05a7 tree 107f3597d7e9af9f58219e5f30ac3b7131da78ce parent 6f9182eb32a4e6c46813928bee50df71e3fd1c74 author Deepak Saxena Fri, 28 Oct 2005 15:19:02 +0100 committer Russell King Fri, 28 Oct 2005 15:19:02 +0100 [ARM] 2989/1: Replace map_desc.physical with map_desc.pfn: RiscPC Patch from Deepak Saxena RiscPC map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6f9182eb32a4e6c46813928bee50df71e3fd1c74 tree 6d5579e43a5bdb8acc7dfe301906e31087f2e741 parent 9fe133b149e8a48742a64b72f22041bcd31fe827 author Deepak Saxena Fri, 28 Oct 2005 15:19:01 +0100 committer Russell King Fri, 28 Oct 2005 15:19:01 +0100 [ARM] 2988/1: Replace map_desc.physical with map_desc.pfn: PXA Patch from Deepak Saxena PXA map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 9fe133b149e8a48742a64b72f22041bcd31fe827 tree f1e61e32613c0c972f88a1ee8886dcefaa8ca3d5 parent 36d28c03d17506dd30aeed9d68a4023f3e7631dc author Deepak Saxena Fri, 28 Oct 2005 15:19:00 +0100 committer Russell King Fri, 28 Oct 2005 15:19:00 +0100 [ARM] 2987/1: Replace map_desc.physical with map_desc.pfn: OMAP Patch from Deepak Saxena OMAP map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 36d28c03d17506dd30aeed9d68a4023f3e7631dc tree b5e0dc704946127a530615de8af8010b74b96983 parent 87fe04bd2a39f263211cc232da9f4f094eaffea0 author Deepak Saxena Fri, 28 Oct 2005 15:18:59 +0100 committer Russell King Fri, 28 Oct 2005 15:18:59 +0100 [ARM] 2986/1: Replace map_desc.physical with map_desc.pfn: LH7A40x Patch from Deepak Saxena LH7A40x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 87fe04bd2a39f263211cc232da9f4f094eaffea0 tree d6b74cf34b442ae3e0a519dec4d2aed1dea406d9 parent db0d087e34d251254f6349e607c2a2ec295cd90b author Deepak Saxena Fri, 28 Oct 2005 15:18:59 +0100 committer Russell King Fri, 28 Oct 2005 15:18:59 +0100 [ARM] 2985/1: Replace map_desc.physical with map_desc.pfn: IXP4xx Patch from Deepak Saxena IXP4xx map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit db0d087e34d251254f6349e607c2a2ec295cd90b tree 749c707ea000588417bf0236bdf2452dc0c9db48 parent 4835e64a5f44366e97dde9b6e26ede2ec16249da author Deepak Saxena Fri, 28 Oct 2005 15:18:58 +0100 committer Russell King Fri, 28 Oct 2005 15:18:58 +0100 [ARM] 2984/1: Replace map_desc.physical with map_desc.pfn: IXP2000 Patch from Deepak Saxena IXP2000 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 4835e64a5f44366e97dde9b6e26ede2ec16249da tree f9bb1db7e27d86b2cb40612468bca9338b6280eb parent f70cd65658388ca2a06071bdbd8a5a6beac5aa47 author Deepak Saxena Fri, 28 Oct 2005 15:18:57 +0100 committer Russell King Fri, 28 Oct 2005 15:18:57 +0100 [ARM] 2983/1: Replace map_desc.physical with map_desc.pfn: IOP3xx Patch from Deepak Saxena IOP3xx map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f70cd65658388ca2a06071bdbd8a5a6beac5aa47 tree 25e49869ae2ef81f1b66740efc9e179d693e8f37 parent c6b9dafce3e3b434a3e7ffd5072815c03d18cc84 author Deepak Saxena Fri, 28 Oct 2005 15:18:56 +0100 committer Russell King Fri, 28 Oct 2005 15:18:56 +0100 [ARM] 2982/1: Replace map_desc.physical with map_desc.pfn: aaec2000 Patch from Deepak Saxena aaec2000 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit c6b9dafce3e3b434a3e7ffd5072815c03d18cc84 tree 111b89d53b0d66d1220d20aaa37f9dbd29658ab4 parent 55f052341ff75e5815b1f7f4d2d3b69314ea8712 author Russell King Fri, 28 Oct 2005 14:56:04 +0100 committer Russell King Fri, 28 Oct 2005 14:56:04 +0100 [ARM] 4/4 Combine oprofile common and init code There is nothing special about having the init code separate from the common code, so combine the two. Signed-off-by: Russell King commit 55f052341ff75e5815b1f7f4d2d3b69314ea8712 tree 12b2bf8b6cd272305bddf39f542ddbf5230d90bc parent 7c5b3fc20807279d8f8e78f1e2ef275128668796 author Russell King Fri, 28 Oct 2005 14:54:21 +0100 committer Russell King Fri, 28 Oct 2005 14:54:21 +0100 [ARM] 3/4 Rename common oprofile code The common oprofile code assumes the name "PMU" (from Intel's performance management unit). This is misleading when we start adding oprofile support for other machine types which don't use the same terminology. Call it op_arm_* instead of pmu_*. Signed-off-by: Russell King commit 7c5b3fc20807279d8f8e78f1e2ef275128668796 tree 393e609ef9e6cd32c9fbce258686a462b33b4ce8 parent b5893c56ca7e664aef010a71c2638db768d4e996 author Russell King Fri, 28 Oct 2005 14:52:30 +0100 committer Russell King Fri, 28 Oct 2005 14:52:30 +0100 [ARM] 2/4 Fix oprofile suspend/resume The oprofile suspend/resume was missing locking. If we failed to start oprofile on resume, we still reported that it was enabled. Instead, disable oprofile on error. Signed-off-by: Russell King commit b5893c56ca7e664aef010a71c2638db768d4e996 tree 0e7478849d0f37fbf199fe2c2005828492a280c4 parent 90072059d2963dec237ae0cf49831ef77ddb5739 author Russell King Fri, 28 Oct 2005 14:51:15 +0100 committer Russell King Fri, 28 Oct 2005 14:51:15 +0100 [ARM] 1/4 Move oprofile driver model code Signed-off-by: Russell King commit 90072059d2963dec237ae0cf49831ef77ddb5739 tree 5ec0cc3e9759599957ea98eb9f5c372ffabca00f parent f339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c author Russell King Fri, 28 Oct 2005 14:48:37 +0100 committer Russell King Fri, 28 Oct 2005 14:48:37 +0100 [ARM] Re-jig bootmem initialisation Make ARM independent of the way bootmem operates internally. We now map each node as we initialise it, and place the bootmem bitmap inside each node, rather than all in the first node. Signed-off-by: Russell King commit f339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c tree c17ec50ffe9544c8c67a6532644bb0a1cedc53b7 parent 674c04538284736c4a44224c78cb784b2c972f98 author Russell King Fri, 28 Oct 2005 14:29:43 +0100 committer Russell King Fri, 28 Oct 2005 14:29:43 +0100 [ARM] Fix sparse warnings Fix sparse warnings in arch/arm/kernel/module.c, arch/arm/mm/consistent.c, drivers/pcmcia/sa1111_generic.c, and platform support files. Signed-off-by: Russell King commit 674c04538284736c4a44224c78cb784b2c972f98 tree b975860890debe5fadcafd4137ad3112f1784849 parent c6b8fdad144bbb915d124ffd95011ad55730bf9f author Russell King Fri, 28 Oct 2005 14:25:28 +0100 committer Russell King Fri, 28 Oct 2005 14:25:28 +0100 [ARM] 3/4: Remove asm/hardware.h from SA1100 io.h Signed-off-by: Russell King commit c6b8fdad144bbb915d124ffd95011ad55730bf9f tree 060b83a573584c69f3fad1f5eec723ae1cbbca28 parent 766529fa2c95e2006ad4c4485c4cde0912d21f12 author Russell King Fri, 28 Oct 2005 14:05:16 +0100 committer Russell King Fri, 28 Oct 2005 14:05:16 +0100 [ARM] 3/4: Remove asm/hardware.h from Versatile and Integrator io.h Signed-off-by: Russell King commit f78541dcec327b0c46b150ee7d727f3db80275c4 tree 9336801742d93ffa0c84c76e2b3cdc5b50c7125b parent c032524f0ddea5fcc3a2cece0d4a61f37e5ca9cd author Paul Mackerras Fri, 28 Oct 2005 22:53:37 +1000 committer Paul Mackerras Fri, 28 Oct 2005 22:53:37 +1000 powerpc: Merge xmon The merged version follows the ppc64 version pretty closely mostly, and in fact ARCH=ppc64 now uses the arch/powerpc/xmon version. The main difference for ppc64 is that the 'p' command to call show_state (which was always pretty dodgy) has been replaced by the ppc32 'p' command, which calls a given procedure (so in fact the old 'p' command behaviour can be achieved with 'p $show_state'). Signed-off-by: Paul Mackerras commit c032524f0ddea5fcc3a2cece0d4a61f37e5ca9cd tree c4ece990e6083cfedc640a06f908bfe33fd344bd parent d73e0c99f5c45e7b86d38725a4ff49f6746f5353 author Paul Mackerras Fri, 28 Oct 2005 22:48:08 +1000 committer Paul Mackerras Fri, 28 Oct 2005 22:48:08 +1000 powerpc: Make single-stepping emulation (mostly) usable on 32-bit The sc instruction emulation can't be done the same way on 32-bit as 64-bit yet, but this should work OK. Signed-off-by: Paul Mackerras commit d73e0c99f5c45e7b86d38725a4ff49f6746f5353 tree 92bc8a15a55ece53c6860af5c2d9ec6ce4d006a8 parent 007e8f51b26ae7b6a17651af5a0f01ab6491cdca author Paul Mackerras Fri, 28 Oct 2005 22:45:25 +1000 committer Paul Mackerras Fri, 28 Oct 2005 22:45:25 +1000 powerpc: Rename asm offset TRAP to _TRAP for 32-bit ... for consistency with 64-bit. Signed-off-by: Paul Mackerras commit 766529fa2c95e2006ad4c4485c4cde0912d21f12 tree e132878cdc98927f9df4625d9a288ee8965fb562 parent 7fca0aa489c82bef85514b5447f6a0be81543115 author Russell King Fri, 28 Oct 2005 10:29:21 +0100 committer Russell King Fri, 28 Oct 2005 10:29:21 +0100 [ARM] 2/4: Remove asm/hardware.h from asm-arm/arch-ebsa110/io.h EBSA110 only requires hardware.h to be included for a couple of files. Move the include there. Signed-off-by: Russell King commit 7fca0aa489c82bef85514b5447f6a0be81543115 tree 7f781dd06d93d629e49de0f9484b3a4e7b7707c0 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Russell King Fri, 28 Oct 2005 10:20:25 +0100 committer Russell King Fri, 28 Oct 2005 10:20:25 +0100 [ARM] 1/4: Move include of asm/hardware.h to asm-arm/arch-*/io.h Including asm/hardware.h into asm/io.h can cause #define clashes between platform specific definitions and driver local definitions. Signed-off-by: Russell King commit 772eca7825358f52cf208afd7ab8ce22722ce41a tree 682daf64192f8753517e35a5683ac521583d107d parent 64521d1a3ba7cc7fe4ab5640da83d88144f05340 author Jens Axboe Fri, 28 Oct 2005 09:01:17 +0200 committer Jens Axboe Fri, 28 Oct 2005 09:01:17 +0200 [BLOCK] Leftover reference to ->max_back_kb Signed-off-by: Jens Axboe commit 64521d1a3ba7cc7fe4ab5640da83d88144f05340 tree 566f61ed9bbdc1c6ad245cb186fdd8c810a58f25 parent cb98fc8bb9c141009e2bda99c0db39d387e142cf author Jens Axboe Fri, 28 Oct 2005 08:30:39 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:48:23 +0200 [BLOCK] elevator switch fixes/cleanup - 100msec sleep is a little excessive, lots of requests can complete in that timeframe. Use 10msec instead. - Rename QUEUE_FLAG_BYPASS to QUEUE_FLAG_ELVSWITCH to indicate what is going on. Signed-off-by: Jens Axboe commit cb98fc8bb9c141009e2bda99c0db39d387e142cf tree 8957f8a79f39c3e6633a0dbb165ced8b530aca0c parent cb19833dccb32f97cacbfff834b53523915f13f6 author Tejun Heo Fri, 28 Oct 2005 08:29:39 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:48:12 +0200 [BLOCK] Reimplement elevator switch This patch reimplements elevator switch. This patch assumes generic dispatch queue patchset is applied. * Each request is tagged with REQ_ELVPRIV flag if it has its elevator private data set. * Requests which doesn't have REQ_ELVPRIV flag set never enter iosched. They are always directly back inserted to dispatch queue. Of course, elevator_put_req_fn is called only for requests which have its REQ_ELVPRIV set. * Request queue maintains the current number of requests which have its elevator data set (elevator_set_req_fn called) in q->rq->elvpriv. * If a request queue has QUEUE_FLAG_BYPASS set, elevator private data is not allocated for new requests. To switch to another iosched, we set QUEUE_FLAG_BYPASS and wait until elvpriv goes to zero; then, we attach the new iosched and clears QUEUE_FLAG_BYPASS. New implementation is much simpler and main code paths are less cluttered, IMHO. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit cb19833dccb32f97cacbfff834b53523915f13f6 tree 24fb8d125bcfdf5209ac6f502b78160d0193428c parent 4c9f7836406f41ef9da6ee68d7a0448fdb97b5ef author Tejun Heo Mon, 24 Oct 2005 08:35:58 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:46:01 +0200 [BLOCK] kill generic max_back_kb handling This patch kills max_back_kb handling from elv_dispatch_sort() and kills max_back_kb field from struct request_queue. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 4c9f7836406f41ef9da6ee68d7a0448fdb97b5ef tree 9ed099a117a24bee56a5e920ea95f9e2bb82add6 parent 98b11471d72a374f346bec50a00d0887719b85b3 author Tejun Heo Thu, 20 Oct 2005 16:47:40 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:47 +0200 [PATCH] 05/05 update biodoc to match new generic dispatch api Updates biodoc to reflect changes in elevator API Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 98b11471d72a374f346bec50a00d0887719b85b3 tree 875feb99eacd983fdc9107eb1c3b68f24e641aa4 parent 06b86245c052963029bfd9020ca1f08ceb66f85a author Tejun Heo Thu, 20 Oct 2005 16:46:54 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:35 +0200 [PATCH] 04/05 remove last_merge handling from ioscheds Remove last_merge handling from all ioscheds. This patch removes merging capability of noop iosched. Signed-off-by: Tejun Heo commit 06b86245c052963029bfd9020ca1f08ceb66f85a tree 1bd2675aceca74398f5fcf148f6cf2f551d63b52 parent b4878f245ec8e168cdd1f170f823a750b7dd4af5 author Tejun Heo Thu, 20 Oct 2005 16:46:23 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:20 +0200 [PATCH] 03/05 move last_merge handlin into generic elevator code Currently, both generic elevator code and specific ioscheds participate in the management and usage of last_merge. This and the following patches move last_merge handling into generic elevator code. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit b4878f245ec8e168cdd1f170f823a750b7dd4af5 tree de784c2a7e1174e4843807998f0356bf92ee78be parent d9ebb192aa13a026edc6faff137dcb14f2c91731 author Jens Axboe Thu, 20 Oct 2005 16:42:29 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:08 +0200 [PATCH] 02/05: update ioscheds to use generic dispatch queue This patch updates all four ioscheds to use generic dispatch queue. There's one behavior change in as-iosched. * In as-iosched, when force dispatching (ELEVATOR_INSERT_BACK), batch_data_dir is reset to REQ_SYNC and changed_batch and new_batch are cleared to zero. This prevernts AS from doing incorrect update_write_batch after the forced dispatched requests are finished. * In cfq-iosched, cfqd->rq_in_driver currently counts the number of activated (removed) requests to determine whether queue-kicking is needed and cfq_max_depth has been reached. With generic dispatch queue, I think counting the number of dispatched requests would be more appropriate. * cfq_max_depth can be lowered to 1 again. Original from Tejun Heo, modified version applied. Signed-off-by: Jens Axboe commit d9ebb192aa13a026edc6faff137dcb14f2c91731 tree cbe0fa0baec9c06157e9c95370ff3f04384e253c parent 1b47f531e244e339b648dfff071c086f936e49e1 author Jens Axboe Thu, 20 Oct 2005 16:37:38 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:52 +0200 [PATCH] elevator: leftover function declaration Signed-off-by: Jens Axboe commit 1b47f531e244e339b648dfff071c086f936e49e1 tree 4ecbec3d9ade19e01a47c562772db550daadcef2 parent 8922e16cf6269e668123acb1ae1fdc62b7a3a4fc author Jens Axboe Thu, 20 Oct 2005 16:37:00 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:37 +0200 [PATCH] generic dispatch fixes - Split elv_dispatch_insert() into two functions - Rename rq_last_sector() to rq_end_sector() Signed-off-by: Jens Axboe commit 8922e16cf6269e668123acb1ae1fdc62b7a3a4fc tree 272bff0b53bf6fe4a7787728a45a26a282ba2976 parent 2824bc9328467127083c1325f54b67d298c333b2 author Tejun Heo Thu, 20 Oct 2005 16:23:44 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:24 +0200 [PATCH] 01/05 Implement generic dispatch queue Implements generic dispatch queue which can replace all dispatch queues implemented by each iosched. This reduces code duplication, eases enforcing semantics over dispatch queue, and simplifies specific ioscheds. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 007e8f51b26ae7b6a17651af5a0f01ab6491cdca tree 916b72b8bdb4ffde07cf9ee05571b529cd9724b6 parent 22b280324acbfd1a1f2374055d9bb39e7069e2bf author David Gibson Fri, 28 Oct 2005 15:35:50 +1000 committer Paul Mackerras Fri, 28 Oct 2005 16:39:19 +1000 [PATCH] powerpc: Move xics.[ch] into platforms/pseries This patch moves the XICS interrupt controller code into the platforms/pseries directory, since it only appears on pSeries machines. If it ever appears on some other machine we can move it to sysdev, although xics.c itself will need a bunch of changes in that case to remove pSeries specific assumptions. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 2824bc9328467127083c1325f54b67d298c333b2 tree 0d19aeb555c35ddbdbcf195b976964523fecc404 parent b2982649ce38293b14684b26bcda20cfc54164e6 author Tejun Heo Thu, 20 Oct 2005 10:56:41 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:58 +0200 [PATCH] fix try_module_get race in elevator_find This patch removes try_module_get race in elevator_find. try_module_get should always be called with the spinlock protecting what the module init/cleanup routines register/unregister to held. In the case of elevators, we should be holding elv_list to avoid it going away between spin_unlock_irq and try_module_get. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit b2982649ce38293b14684b26bcda20cfc54164e6 tree 8208c0cd33f2565f0f193d0afab282a7d0778382 parent 20e5c81fcff89535dced2ed71cf24c6c648ff40e author Chen, Kenneth W Thu, 13 Oct 2005 21:49:29 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:43 +0200 Following the same idea, it occurs to me that we should only update disk stat when "now" is different from disk->stamp. Otherwise, we are again needlessly adding zero to the stats. Signed-off-by: Ken Chen Signed-off-by: Jens Axboe commit 20e5c81fcff89535dced2ed71cf24c6c648ff40e tree c19edf4ce636f0e4713e39dd918c7d3772cda64a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Chen, Kenneth W Thu, 13 Oct 2005 21:48:42 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:30 +0200 [patch] remove gendisk->stamp_idle field struct gendisk has these two fields: stamp, stamp_idle. Update to stamp_idle is always in sync with stamp and they are always the same. Therefore, it does not add any value in having two fields tracking same timestamp. Suggest to remove it. Also, we should only update gendisk stats with non-zero value. Advantage is that we don't have to needlessly calculate memory address, and then add zero to the content. Signed-off-by: Ken Chen Signed-off-by: Jens Axboe commit 22b280324acbfd1a1f2374055d9bb39e7069e2bf tree 135f45548120ffc198ba0b2105b83f7f805d123a parent 4542437679de448de0f75bc901dab380d6a5bc5b parent 299f6ce491aa28515d86f29af2779cbfdc7a4790 author Paul Mackerras Fri, 28 Oct 2005 13:50:39 +1000 committer Paul Mackerras Fri, 28 Oct 2005 13:50:39 +1000 Merge git://oak/home/sfr/kernels/iseries/work/ commit cb0f0910f4b41772a6771bdb4fb2d419b27bcd77 tree fe34505915c31b3b77296e3828cd7675f4616ba9 parent 089a1bedd84be16a4f49a319e7ccb4a128da5ce9 author Sean Hefty Thu, 27 Oct 2005 20:48:11 -0700 committer Roland Dreier Thu, 27 Oct 2005 20:48:11 -0700 [IB] ib_umad: various cleanups Simplify user_mad.c code in a few places, and convert from kmalloc() + memset() to kzalloc(). This also fixes a theoretical race window by not accessing packet->length after posting the send buffer (the send could complete and packet could be freed before we get to the return statement at the end of ib_umad_write()). Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 4542437679de448de0f75bc901dab380d6a5bc5b tree 1a436c9b6f9459c3938e2bb1ab7ad2c888d0003c parent 2227718ca2f7d5fcc2741c1bbca4d0c2efd340ce parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Paul Mackerras Fri, 28 Oct 2005 13:38:53 +1000 committer Paul Mackerras Fri, 28 Oct 2005 13:38:53 +1000 Merge in v2.6.14 by hand commit 089a1bedd84be16a4f49a319e7ccb4a128da5ce9 tree d2bad46f16a76769b1f8d87aad369d50b4966cb6 parent 3d155f8cd0d077938d271225d26ee52f8eb26082 author Roland Dreier Thu, 27 Oct 2005 20:33:43 -0700 committer Roland Dreier Thu, 27 Oct 2005 20:33:43 -0700 [IB] ib_umad: fix crash when freeing send buffers The conversion of user_mad.c to the new MAD send API was slightly off: in a few places, we used packet->msg instead of packet->msg->mad when referring to the actual data buffer, which ended up corrupting the underlying data structure and crashing when we free an invalid pointer. Signed-off-by: Roland Dreier commit 299f6ce491aa28515d86f29af2779cbfdc7a4790 tree eb748a66cdff8b59d28f40266af9049d3425651a parent a4a264f144d5389a52d467a7e41bec2834cfde75 author Stephen Rothwell Thu, 27 Oct 2005 18:03:58 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:54:35 +1000 ppc64: use mem_64.S from powerpc/lib and remove the same bits from ppc64/lib/string.S. Signed-off-by: Stephen Rothwell commit a4a264f144d5389a52d467a7e41bec2834cfde75 tree 6366953476ea5d4ab7a53444260068e4141debf8 parent a2b0ca84a1198505f0b3c7b55b7769dd5dbd0791 author Stephen Rothwell Thu, 27 Oct 2005 17:28:21 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:54:26 +1000 ppc64: use usercopy_64.c from powerpc/lib since it is identical to usercopy.c from ppc64/lib. Signed-off-by: Stephen Rothwell commit a2b0ca84a1198505f0b3c7b55b7769dd5dbd0791 tree 5e9871329ffb9ecadbc4f761e5855e41e5559dd1 parent a0d8bf9cf1f9722204936d8ef53370d7ae1181d9 author Stephen Rothwell Thu, 27 Oct 2005 17:12:52 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:54:18 +1000 ppc64: user strcase.c from powerpc/lib since it is identical to strcase.c from ppc64/lib. Signed-off-by: Stephen Rothwell commit a0d8bf9cf1f9722204936d8ef53370d7ae1181d9 tree 5d83819d6c457c953556101fc196604cff821e94 parent 12a39407f021fd17d5f9d33d78bddb005bd106fb author Stephen Rothwell Thu, 27 Oct 2005 17:05:27 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:54:08 +1000 ppc64: use sstep.c from powerpc/lib since it is identical to sstep.c from ppc64/lib. Signed-off-by: Stephen Rothwell commit 12a39407f021fd17d5f9d33d78bddb005bd106fb tree 51e7848336623b11409f4106a0fb83f29644ec76 parent ecc81e0f719f566b75b222b8aef64c8b809b2e29 author Stephen Rothwell Thu, 27 Oct 2005 16:49:44 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:58 +1000 ppc64: use memcpy_64.S from powerpc/lib since it is identical to mempcy.S from ppc64/lib. Signed-off-by: Stephen Rothwell commit ecc81e0f719f566b75b222b8aef64c8b809b2e29 tree 34f021072504ef2e4e32b5d0900a34baa6d898a9 parent 43f35ec35c2b9a1c984d885893084eed2101e1bf author Stephen Rothwell Thu, 27 Oct 2005 16:45:38 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:48 +1000 ppc64: use lockc.c from powerpc/lib since it is effectively the same as locks.c from ppc64/lib. Signed-off-by: Stephen Rothwell commit 43f35ec35c2b9a1c984d885893084eed2101e1bf tree c5fbe9dffcece032eebb588360545ed52fc6250f parent 34faa82841b87e6f375b01dad3262ca345de25c0 author Stephen Rothwell Thu, 27 Oct 2005 16:40:05 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:37 +1000 ppc64: use copyuser_64.S from powerpc/lib since it is identical to copyuser.S from ppc64/lib. Signed-off-by: Stephen Rothwell commit 34faa82841b87e6f375b01dad3262ca345de25c0 tree c09c6f1a85b29c31823530d30ada26578711c522 parent 454fb016b3407e7cacbe17e590521ddf86a54f7f author Stephen Rothwell Thu, 27 Oct 2005 16:35:43 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:27 +1000 ppc64: use copypage_64.S from powerpc/lib since it is identical to copypage.S from ppc64/lib. Signed-off-by: Stephen Rothwell commit 454fb016b3407e7cacbe17e590521ddf86a54f7f tree 7a07b2dc21ed54ade3483a7b92d4aa2563d88169 parent 1a3c061efd32b620cf6498b71687ff0768cfe2d8 author Stephen Rothwell Thu, 27 Oct 2005 16:28:43 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:13 +1000 ppc64: use e2a.c from powerpc/lib since it is identical to e2a.c from ppc64/lib Signed-off-by: Stephen Rothwell commit 1a3c061efd32b620cf6498b71687ff0768cfe2d8 tree 7b6c7321dfd18aef1fc5824114587418eabc5aca parent 640768eef245f1578e75e02c17d277a1496a535b author Stephen Rothwell Thu, 27 Oct 2005 16:25:05 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:52:58 +1000 ppc64: use checksum_64.S from powerpc as it is identical to checksum.S from ppc64. Signed-off-by: Stephen Rothwell commit 640768eef245f1578e75e02c17d277a1496a535b tree dc36f97b830076fcdc09c1fe2ec8bf5675fc772a parent 9675c7ebcf1f6308d66b0fcb42ae585e200e80a9 author Stephen Rothwell Fri, 28 Oct 2005 12:51:45 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:51:45 +1000 ppc64: use the merged syscall table This allows us to also use entry_64.S from the merged tree and reverts the setup_64.c part of fda262b8978d0089758ef9444508434c74113a61. Signed-off-by: Stephen Rothwell commit 434f1d10c1adb6c2e333d501ce1e42be610e0723 tree a43f1e6f40ea1530e648ae72709a2c45442891aa parent 6070fe6f82c67021367092855c0812a98becf0fa parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Trond Myklebust Thu, 27 Oct 2005 22:13:32 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:13:32 -0400 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit 6070fe6f82c67021367092855c0812a98becf0fa tree e3269c7d155bbed9dc701ca00bfb253ed2f7c2c0 parent bec273b491bd16351a9cdb8e9a51d30afa7fe9f4 author Trond Myklebust Thu, 27 Oct 2005 22:12:46 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:46 -0400 RPC: Ensure that nobody can queue up new upcalls after rpc_close_pipes() Signed-off-by: Trond Myklebust commit bec273b491bd16351a9cdb8e9a51d30afa7fe9f4 tree 76013e5926f02d476b47812eb4c49b5dff8264a3 parent 16c32b71bc53d6f7143702ebb264b4ef20d8f1e5 author Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 NFS: Allow files that are open for write to invalidate caches Signed-off-by: Trond Myklebust commit 16c32b71bc53d6f7143702ebb264b4ef20d8f1e5 tree e927cb187666c87ccd7c15c1c1367d015a623ef6 parent 4f9838c7ecd14f31f701f64fa65ded132fc0db8a author Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 NFSv4: Convert unnecessary XDR warning messages into dprintk() Signed-off-by: Trond Myklebust commit 4f9838c7ecd14f31f701f64fa65ded132fc0db8a tree f3fee5b744efb072f44591208541554976bf41d7 parent 16e429596dec4d28e16812b3a9be27f18412c567 author Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 NFSv4: Add post-op attributes to NFSv4 write and commit callbacks. Signed-off-by: Trond Myklebust commit 16e429596dec4d28e16812b3a9be27f18412c567 tree b11c0f3829ae1225794a3d1fca68a1878a87a46d parent 6caf2c8276d371679a798058e8fdf49f5ff831a3 author Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 NFSv4: Add post-op attributes to nfs4_proc_remove() Signed-off-by: Trond Myklebust commit 6caf2c8276d371679a798058e8fdf49f5ff831a3 tree ff53620d5879644df543dcce2ce86db863dad21c parent 91ba2eeec5e8e86e054937eb3bf5aec5b22b1830 author Trond Myklebust Thu, 27 Oct 2005 22:12:43 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:43 -0400 NFSv4: Add post-op attributes to nfs4_proc_rename() Signed-off-by: Trond Myklebust commit 91ba2eeec5e8e86e054937eb3bf5aec5b22b1830 tree 9157b8bfe90fed0b472da3ec71dadfb0c587e566 parent cf809556149f076b7a020c10e066b2b96e79b6a1 author Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 NFSv4: Add post-op attributes to nfs4_proc_link() Optimise attribute revalidation when hardlinking. Add post-op attributes for the directory and the original inode. Signed-off-by: Trond Myklebust commit cf809556149f076b7a020c10e066b2b96e79b6a1 tree 714d3e58b4fe5af9b144c735601946949b217820 parent 516a6af641bb50c608329a5bd751acd0d65cc4ab author Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 NFS: Ensure that nfs_link() instantiates the dentry correctly Signed-off-by: Trond Myklebust commit 516a6af641bb50c608329a5bd751acd0d65cc4ab tree 93b240cb19460073cac3363517fcc0e253fb48d9 parent 3338c143b4fde2d256016b63043ec8e2c93eba19 author Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 NFS: Add optional post-op getattr instruction to the NFSv4 file close. "Optional" means that the close call will not fail if the getattr at the end of the compound fails. If it does succeed, try to refresh inode attributes. Signed-off-by: Trond Myklebust commit 3338c143b4fde2d256016b63043ec8e2c93eba19 tree babfe2188e64ea0bb37c9838f5bcd3337c0c7504 parent 56ae19f38f10aad4f27f7e12138a29b295dff07a author Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 NFS: Optimise attribute revalidation on close(). Only force a getattr in nfs_file_flush() if the attribute cache is stale. Signed-off-by: Trond Myklebust commit 56ae19f38f10aad4f27f7e12138a29b295dff07a tree 79ada0dacbcf6470b4469c537d3bae02bb81069d parent 0c70b50150cfb0b43ff500a8a394a52b4d5f1350 author Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 NFSv4: Add directory post-op attributes to the CREATE operations. Since the directory attributes change every time we CREATE a file, we might as well pick up the new directory attributes in the same compound. Signed-off-by: Trond Myklebust commit 0c70b50150cfb0b43ff500a8a394a52b4d5f1350 tree 292d31ce5378edb856076d2c610c323b76af0b09 parent decf491f3076190262d4c649bed877650623903a author Chuck Lever Tue, 25 Oct 2005 11:48:36 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 NFS: nfs_lookup doesn't need to revalidate the parent directory's inode nfs_lookup() used to consult a lookup cache before trying an actual wire lookup operation. The lookup cache would be invalid, of course, if the parent directory's mtime had changed, so nfs_lookup performed an inode revalidation on the parent. Since nfs_lookup() doesn't use a cache anymore, the revalidation is no longer necessary. There are cases where it will generate a lot of unnecessary GETATTR traffic. See http://bugzilla.linux-nfs.org/show_bug.cgi?id=9 Test-plan: Use lndir and "rm -rf" and watch for excess GETATTR traffic or application level errors. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit decf491f3076190262d4c649bed877650623903a tree 8f67577349fe451b0267b68435db1578ec1273a4 parent 33801147a8fda6b04d7e9afe1d42f1c01d3d6837 author Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 NFS: Don't let nfs_end_data_update() clobber attribute update information Since we almost always call nfs_end_data_update() after we called nfs_refresh_inode(), we now end up marking the inode metadata as needing revalidation immediately after having updated it. This patch rearranges things so that we mark the inode as needing revalidation _before_ we call nfs_refresh_inode() on those operations that need it. Signed-off-by: Trond Myklebust commit 33801147a8fda6b04d7e9afe1d42f1c01d3d6837 tree 5311fb4714f0a24b7d7666b04250205025e18d15 parent 913a70fc170530f7e1ff0693595155457cc6d0ca author Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 NFS: Optimise inode attribute cache updates Allow nfs_refresh_inode() also to update attributes on the inode if the RPC call was sent after the last call to nfs_update_inode(). Signed-off-by: Trond Myklebust commit 913a70fc170530f7e1ff0693595155457cc6d0ca tree 1f3d5db26462d02ecca383794b3061a5eae8d9cc parent 0e574af1be5f569a5d7f2800333b0bfb358a5e34 author Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 NFS: Convert cache_change_attribute into a jiffy-based value Signed-off-by: Trond Myklebust commit 0e574af1be5f569a5d7f2800333b0bfb358a5e34 tree bb5b62dece21b8906222dfee022020ed6f81e34c parent 4c2cb58c552a34744979a99ccf01762d5eb7e288 author Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 NFS: Cleanup initialisation of struct nfs_fattr Signed-off-by: Trond Myklebust commit 2227718ca2f7d5fcc2741c1bbca4d0c2efd340ce tree 30075f5875adcb6fa6d9dd208d5f9851825f564c parent a8e3d48150d70ceab3b8249a4bdbe5c50567a357 author Paul Mackerras Fri, 28 Oct 2005 11:47:17 +1000 committer Paul Mackerras Fri, 28 Oct 2005 11:47:17 +1000 ppc64: Use the correct prototypes for i8259 functions We still had an old copy of i8259.h lying around; this gets rid of it and corrects the callers of i8259_init and i8259_irq. Signed-off-by: Paul Mackerras commit a8e3d48150d70ceab3b8249a4bdbe5c50567a357 tree ec1be71f740be6861ecbf2be36a9b50328be57a8 parent e6b4fe92effe88944af2df7257688ccff811996d author David Gibson Fri, 28 Oct 2005 10:31:49 +1000 committer Paul Mackerras Fri, 28 Oct 2005 11:37:03 +1000 [PATCH] powerpc: Remove dregs of bootinfo.h Since I sent the patch to purge bootinfo.h from ARCH=powerpc and ARCH=ppc64, setup-common.c has come into existence, and another #include of bootinfo.h slipped in. This patch removes it. It also removes include/asm-ppc64/bootinfo.h, which somehow survived the previous patch which was supposed to remove it. Signed-off-by: Paul Mackerras commit e6b4fe92effe88944af2df7257688ccff811996d tree c14cf9dd83e6ad52a9acd7750326872fae5ebe6a parent 9675c7ebcf1f6308d66b0fcb42ae585e200e80a9 author Kumar Gala Thu, 27 Oct 2005 08:54:36 -0500 committer Paul Mackerras Fri, 28 Oct 2005 11:36:55 +1000 [PATCH] powerpc: only build idle_6xx for 6xx For the current time idle_6xx only applies to 6xx ppc32 CPUs Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit cb650116a030dd5cf12f30651e29ceb990d42e4a tree 6cac1c4ea615d1a3893f82a4c950623b38421872 parent 7bbaa75452c77cbaa016b987765c5d6c8b744587 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:56:43 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:56:43 -0400 Merge branch 'master' commit 26ba2a7a9f4d8921f095af646a7d22c15a148028 tree 1e694da6999653551bc61eb9cc6db2eb4645fcd1 parent 91190758d410a5d33c6051ba9ca95baa430256bb parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:43:20 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:43:20 -0400 Merge branch 'master' commit b2ab040db85835e54c7559533df7f85902617926 tree b23cbdca55935c497cb88b588e4e8b088d6ab7ab parent 1f57389a38dc1e8be167ec601f39f78f0bed3a96 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:35:17 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:35:17 -0400 Merge branch 'master' commit 4ac0068f44f192f2de95a7bb36df3e19767a45fb tree 7971afe201d63657fceeb5770eb8247711ce69aa parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Cliff Wickman Thu, 27 Oct 2005 10:29:08 -0500 committer Tony Luck Thu, 27 Oct 2005 16:15:03 -0700 [IA64] ptrace - find memory sharers on children list In arch/ia64/kernel/ptrace.c there is a test for a peek or poke of a register image (in register backing storage). The test can be unnecessarily long (and occurs while holding the tasklist_lock). Especially long on a large system with thousands of active tasks. The ptrace caller (presumably a debugger) specifies the pid of its target and an address to peek or poke. But the debugger could be attached to several tasks. The idea of find_thread_for_addr() is to find whether the target address is in the RBS for any of those tasks. Currently it searches the thread-list of the target pid. If that search does not find a match, and the shared mm-struct's user count indicates that there are other tasks sharing this address space (a rare occurrence), a search is made of all the tasks in the system. Another approach can drastically shorten this procedure. It depends upon the fact that in order to peek or poke from/to any task, the debugger must first attach to that task. And when it does, the attached task is made a child of the debugger (is chained to its children list). Therefore we can search just the debugger's children list. Signed-off-by: Cliff Wickman Signed-off-by: Tony Luck commit 4c2cb58c552a34744979a99ccf01762d5eb7e288 tree fd35360eb0cb08b07f3a5f4bdf1ebd90a769311d parent 34123da66e613602de5a886b05c875b6a91b8ed2 parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Trond Myklebust Thu, 27 Oct 2005 19:12:49 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:12:49 -0400 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit 34123da66e613602de5a886b05c875b6a91b8ed2 tree 150149bf91537d302da6c50a5b8eed19ec2c2400 parent 6fa05b17367f04ada501e89d3b9cb56adec0d930 author Trond Myklebust Thu, 27 Oct 2005 19:10:09 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:10:09 -0400 NFS: Fix a bad cast in nfs3_read_done Signed-off-by: Trond Myklebust commit 6fa05b17367f04ada501e89d3b9cb56adec0d930 tree 46493ddc5ab130108e2f0b9d5fd81dae367a4cb0 parent ab27642b59b68d18df5a9aa5fa81b5ab5735aa77 author Trond Myklebust Thu, 27 Oct 2005 19:08:18 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:08:18 -0400 Revert "RPC: stops the release_pipe() funtion from being called twice" This reverts 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 commit. commit bc7b26fd7ca5e0c6e769d3886c022f0a98fd88ec tree 19f23041be60367024f292780ba3e79ff3259fc8 parent e98df50c5200ae3c748d69002a8827afc9d2eae2 author Dave Jones Thu, 27 Oct 2005 16:02:06 -0700 committer Dave Jones Thu, 27 Oct 2005 16:02:06 -0700 [CPUFREQ] Check return value of cpufreq_cpu_get in cpufreq_stats This fixes an issue found in drivers/cpufreq/cpufreq_stats.c by Coverity. Error reported: CID: 2642 Checker: NULL_RETURNS (help) File: /export2/p4-coverity/mc2/linux26/drivers/cpufreq/cpufreq_stats.c Function: cpufreq_stats_create_table Description: Dereferencing NULL value "data" Patch description: The return of cpufreq_cpu_get can be NULL, check return code and return -EINVAL if it is NULL. Signed-off-by: Jayachandran C. Signed-off-by: Dave Jones commit 9675c7ebcf1f6308d66b0fcb42ae585e200e80a9 tree b8b033296d8aaf7fcd70d6f9b64e28527be1f576 parent 09eee6347166a7baab74783999ef1bf23827647f author Paul Mackerras Fri, 28 Oct 2005 08:30:25 +1000 committer Paul Mackerras Fri, 28 Oct 2005 08:30:25 +1000 ppc64: Include arch/powerpc/kernel/setup-common.o ... which is needed now that ARCH=ppc64 is using the merged setup_64.c. Signed-off-by: Paul Mackerras commit 09eee6347166a7baab74783999ef1bf23827647f tree 1a52a6c6645447f65afb4ae7a057ba037c5870f5 parent bfab1019b7e8b499dfc471a0dfc98b587420dda9 author Paul Mackerras Fri, 28 Oct 2005 08:29:36 +1000 committer Paul Mackerras Fri, 28 Oct 2005 08:29:36 +1000 powerpc: Move U3 IOMMU driver to arch/powerpc/sysdev Signed-off-by: Paul Mackerras commit c1902aae322952f8726469a6657df7b9d5c794fe tree 5c78f21c19597b64faf06e0faee7726ae01f7bbb parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Dean Roe Thu, 27 Oct 2005 15:41:04 -0500 committer Tony Luck Thu, 27 Oct 2005 14:44:58 -0700 [IA64] - Avoid slow TLB purges on SGI Altix systems flush_tlb_all() can be a scaling issue on large SGI Altix systems since it uses the global call_lock and always executes on all cpus. When a process enters flush_tlb_range() to purge TLBs for another process, it is possible to avoid flush_tlb_all() and instead allow sn2_global_tlb_purge() to purge TLBs only where necessary. This patch modifies flush_tlb_range() so that this case can be handled by platform TLB purge functions and updates ia64_global_tlb_purge() accordingly. sn2_global_tlb_purge() now calculates the region register value from the mm argument introduced with this patch. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit 0753ca7bc2b876dd136e9db11a20f85cbe4e08b1 tree 9fca686e1ca5886342232fe16292bae675a1004f parent 04290949b3daef35d6279dcc05f01b549ac1772b author Steve French Thu, 27 Oct 2005 13:55:12 -0700 committer Steve French Thu, 27 Oct 2005 13:55:12 -0700 [CIFS] Change pragma pack(1) to attribute(packed) to allow cifs on arm to access unaligned structures coming in off the wire gcc on arm processors generates very odd code with pragma pack specified - although it does pack the structures in some sense - it does not allow you to access unaligned elements in nested structures at the right offset as other architectures do. Oddly enough though, specifying the structures as packed the long way - one by one with the packed attribute does work. Rather than fighting over whether this is a gcc bug or some obscure side effect of pragma pack, it is easier to do what most (all but 96 other places in the kernel) do - and replace pragma pack with dozens of attribute(packed) structure qualifiers. Much more verbose ... but at least it works. Signed-off-by: David Kleikamp Signed-off-by: Steve French CG: ----------------------------------------------------------------------- commit 04290949b3daef35d6279dcc05f01b549ac1772b tree d34203b71660b9b4f7676f5bae7e0b9838ff161f parent d6d3f5bc68be3c4ab84e6f1f9db92291da671504 parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Steve French Thu, 27 Oct 2005 12:53:03 -0700 committer Steve French Thu, 27 Oct 2005 12:53:03 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 3d155f8cd0d077938d271225d26ee52f8eb26082 tree 28f65ed2dc5e9f12884daf2a97f50367f145d8a0 parent 7cc656efb560cda66b5ed48444cad7556ea4fe99 author Roland Dreier Thu, 27 Oct 2005 11:03:38 -0700 committer Roland Dreier Thu, 27 Oct 2005 11:03:38 -0700 [IB] mthca: first pass at catastrophic error reporting Add some initial support for detecting and reporting catastrophic errors reported by Mellanox HCAs. We start a periodic timer which polls the catastrophic error reporting buffer in device memory. If an error is detected, we dump the contents of the buffer for port-mortem debugging, and report a fatal asynchronous error to higher levels. In the future we can try to recover from these errors by resetting the device, but this will require some work in higher-level code as well. Let's get this in now, so that we at least get catastrophic errors reported in logs. Signed-off-by: Roland Dreier commit bfab1019b7e8b499dfc471a0dfc98b587420dda9 tree 79e80b9a77815fc7f4a70445276b99183b75e0fe parent 6316222ea050d469c3155881d9dee2c7671d9fef author Paul Mackerras Thu, 27 Oct 2005 22:45:33 +1000 committer Paul Mackerras Thu, 27 Oct 2005 22:45:33 +1000 powerpc: Fix new-world powermac detection My G5 was being reported as an OldWorld in /proc/cpuinfo, which is obviously not right... :) Signed-off-by: Paul Mackerras commit 6316222ea050d469c3155881d9dee2c7671d9fef tree 2a075cbdab11e10efc868a31e378dffae90f06da parent 80579e1f4a6b5f5dec92faa6c3e0645961c99091 author Paul Mackerras Thu, 27 Oct 2005 22:44:39 +1000 committer Paul Mackerras Thu, 27 Oct 2005 22:44:39 +1000 powerpc: Introduce toreal/fromreal assembly macros On 32-bit platforms, these convert from kernel virtual addresses to real (physical addresses), like tophys/tovirt but they use the same register for the source and destination. On 64-bit platforms, they do nothing because the hardware ignores the top two bits of the address in real mode. These new macros are used in fpu.S now. Signed-off-by: Paul Mackerras commit 80579e1f4a6b5f5dec92faa6c3e0645961c99091 tree d8fd5e184b54145811a92914c806544ad745087a parent eef69e3cfb38d83166dbd8bcb12ededa1b6e78b6 author Paul Mackerras Thu, 27 Oct 2005 22:42:04 +1000 committer Paul Mackerras Thu, 27 Oct 2005 22:42:04 +1000 powerpc: 32-bit CHRP SMP fixes Untested, but "should" work... at least this way it compiles. Signed-off-by: Paul Mackerras commit eef69e3cfb38d83166dbd8bcb12ededa1b6e78b6 tree d04f2df475430d9c25340b035c4d594b6e53b083 parent 4b24b01c6c0bab24e6a4c3e4a02d53b564f2d05c author Paul Mackerras Thu, 27 Oct 2005 22:21:37 +1000 committer Paul Mackerras Thu, 27 Oct 2005 22:21:37 +1000 powerpc: remove duplicate screen_info from setup_32.c Signed-off-by: Paul Mackerras commit 4b24b01c6c0bab24e6a4c3e4a02d53b564f2d05c tree 37aebf090a6b48b622c1ee6045e3def62cce26f9 parent cffb09ce6ba7706c89c6df9ca8e72c81adda13f0 author Kumar Gala Wed, 26 Oct 2005 09:56:10 -0500 committer Paul Mackerras Thu, 27 Oct 2005 20:51:22 +1000 [PATCH] powerpc: Moved dcr support to arch/powerpc Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit cffb09ce6ba7706c89c6df9ca8e72c81adda13f0 tree 5226184532ed63be2aa785dcc5ae7896b7e6fc1e parent 328985b2c69d2592edd7f181a6b7360e51b08515 author Kumar Gala Wed, 26 Oct 2005 09:55:41 -0500 committer Paul Mackerras Thu, 27 Oct 2005 20:51:19 +1000 [PATCH] powerpc: Fix warning related to do_dabr do_dabr() is not relevant on 40x or Book-E processors so dont build it Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit 328985b2c69d2592edd7f181a6b7360e51b08515 tree 62092de50dafd4b3db3513b45868c837915b8108 parent 2765ca254060adb9a5abc2cfc6264b8daafc5742 author David Gibson Mon, 24 Oct 2005 14:05:38 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:51:13 +1000 [PATCH] powerpc: Don't use kmalloc() for kernel stacks In readiness for 64k pages, when THREAD_SIZE will be less than PAGE_SIZE, ppc64 uses kmalloc() rather than __get_free_pages() to allocate kernel stacks, and since thread_info.h was merged, so does ppc32. However that adds some overhead which we don't really want when PAGE_SIZE <= THREAD_SIZE (including all ppc32 machines), so this patch avoids it. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 2765ca254060adb9a5abc2cfc6264b8daafc5742 tree e4b94377aa8f6b6e155448b6a7b8d5e4baa2fc72 parent e37bc5df8e96c72f27ec3579499726b656e4e641 author David Gibson Mon, 24 Oct 2005 13:07:23 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:50:54 +1000 [PATCH] powerpc: Merge parport.h Save for the header #define, ppc32 and ppc64 versions of parport.h are identical. This patch merges them. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit e37bc5df8e96c72f27ec3579499726b656e4e641 tree d8267f572da54fd3d258a751d477271252fa12bf parent 25c8a78b1e00ac0cc640677eda78b462c2cd4c6e author David Gibson Mon, 24 Oct 2005 11:41:33 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:50:46 +1000 [PATCH] powerpc: Purge bootinfo.h With ARCH=powerpc we assume the presence of a device tree, so we don't require any support for the old bi_recs method of passing boot parameters. Likewise, we've never needed it for ppc64, but we still had an include/asm-ppc64/bootinfo.h from which nothing was used. This patch removes that file, and all references to it in arch/ppc64 and arch/powerpc. A related, unused variable 'boot_mem_size' is also removed from setup_32.c. The bootinfo stuff remains in ARCH=ppc for the time being. Built and booted on Power5 (ARCH=ppc64 and ARCH=powerpc), built for 32-bit powermac (ARCH=powerpc and ARCH=ppc). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 25c8a78b1e00ac0cc640677eda78b462c2cd4c6e tree a0044f8b2b557799a8cb3346b590fcd3a8507ed7 parent fda262b8978d0089758ef9444508434c74113a61 author David Gibson Thu, 27 Oct 2005 16:27:25 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:48:50 +1000 [PATCH] powerpc: Fix handling of fpscr on 64-bit The recent merge of fpu.S broken the handling of fpscr for ARCH=powerpc and CONFIG_PPC64=y. FP registers could be corrupted, leading to strange random application crashes. The confusion arises, because the thread_struct has (and requires) a 64-bit area to save the fpscr, because we use load/store double instructions to get it in to/out of the FPU. However, only the low 32-bits are actually used, so we want to treat it as a 32-bit quantity when manipulating its bits to avoid extra load/stores on 32-bit. This patch replaces the current definition with a structure of two 32-bit quantities (pad and val), to clarify things as much as is possible. The 'val' field is used when manipulating bits, the structure itself is used when obtaining the address for loading/unloading the value from the FPU. While we're at it, consolidate the 4 (!) almost identical versions of cvt_fd() and cvt_df() (arch/ppc/kernel/misc.S, arch/ppc64/kernel/misc.S, arch/powerpc/kernel/misc_32.S, arch/powerpc/kernel/misc_64.S) into a single version in fpu.S. The new version takes a pointer to thread_struct and applies the correct offset itself, rather than a pointer to the fpscr field itself, again to avoid confusion as to which is the correct field to use. Finally, this patch makes ARCH=ppc64 also use the consolidated fpu.S code, which it previously did not. Built for G5 (ARCH=ppc64 and ARCH=powerpc), 32-bit powermac (ARCH=ppc and ARCH=powerpc) and Walnut (ARCH=ppc, CONFIG_MATH_EMULATION=y). Booted on G5 (ARCH=powerpc) and things which previously fell over no longer do. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit fda262b8978d0089758ef9444508434c74113a61 tree 86cca84a4f62d4d931d7c6e56cbb5b207281ba74 parent 89edce0b4e71f6f78e27d7c18c63e957469b74d3 author Paul Mackerras Thu, 27 Oct 2005 20:20:42 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:20:42 +1000 [PATCH] ppc64: remove arch/ppc64/kernel/setup.c and use setup_64.c from the merged tree instead. The only difference between them was the code to set up the syscall maps. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 89edce0b4e71f6f78e27d7c18c63e957469b74d3 tree 15d9c66f27aa86c27435b83d3cda8418d6cf22f1 parent 8168f902fa9c2ca8930ea8d72cce283234df03b8 author Stephen Rothwell Tue, 25 Oct 2005 16:59:03 +1000 committer Paul Mackerras Thu, 27 Oct 2005 16:45:52 +1000 [PATCH] powerpc: merge scatterlist.h This depends on the 64bit dma_addr_t patch. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 8168f902fa9c2ca8930ea8d72cce283234df03b8 tree 2a7bd8d19692e6ba5f86b92d35a8dc8206fc0ff1 parent bf20a0000377f7bdeb42b78b10ed578deb3d63f1 author Stephen Rothwell Tue, 25 Oct 2005 16:56:43 +1000 committer Paul Mackerras Thu, 27 Oct 2005 16:45:50 +1000 [PATCH] ppc64: make dma_addr_t 64 bits There has been a need expressed for dma_addr_t to be 64 bits on PPC64. This patch does that. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit bf20a0000377f7bdeb42b78b10ed578deb3d63f1 tree 497ba88015f57fde14b30dc24e8eb6ca7327f631 parent cb4ab974ae0bff3f49086090a1a50373c5edc8f4 author Paul Mackerras Thu, 27 Oct 2005 16:45:29 +1000 committer Paul Mackerras Thu, 27 Oct 2005 16:45:29 +1000 powerpc: undeprecate the old OF device tree accessors for now The recent addition of __deprecated to the declarations for find_devices etc. produces a whole pile of warnings from the ppc32 code. Since those functions still work perfectly well on ppc32, which doesn't have hotplug support for anything in the OF device tree, and we don't have time to fix that code now, remove the __deprecated markings for now. Signed-off-by: Paul Mackerras commit e0f998930eb67c49f2862c58a45262ad0bc03eca tree d2bc6cbe11a00a05f96da01b1d4ac27adaabd546 parent 6958ae318bb1af5e0b77968384700fb184fb8893 parent 7a4ed937aa44acdeb8c6ba671509dc7b54b09d3a author Kyle McMartin Wed, 26 Oct 2005 23:28:40 -0400 committer Kyle McMartin Wed, 26 Oct 2005 23:28:40 -0400 Auto-update from upstream commit f2be34a3f30a1595f5d9c8e7d0bec4d8d3626047 tree 0f05f954709c3b15c14118d70828a58e1999fd47 parent fe607aa94f5d25ee84f9a9a4fdf2cce3765e12e4 author Matthew Wilcox Tue, 25 Oct 2005 22:16:02 -0600 committer James Bottomley Wed, 26 Oct 2005 22:24:02 -0500 [SCSI] ncr53c8xx: Cleanup namespace collision with ktimers Replace the mcr53c8xx roll your own ktime_... macros with the correct time_after() et al. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit cb4ab974ae0bff3f49086090a1a50373c5edc8f4 tree e59341556efcfa7a350c776bb57394a5d21c4315 parent b6a4ce526a87bd8a99a396ac993240d6d3239852 author Paul Mackerras Thu, 27 Oct 2005 11:08:31 +1000 committer Paul Mackerras Thu, 27 Oct 2005 11:08:31 +1000 powerpc: Remove common stuff from setup_64.c This should have been in commit 03501dab035ab7da5e1373f5e130cfd6346d3f21 but got missed by accident. Signed-off-by: Paul Mackerras commit 91190758d410a5d33c6051ba9ca95baa430256bb tree 2c9610004670f233a082549700376ded2a219261 parent ccd7bc2f67fdfa9c47ceae64f1117d1fb6cb8737 author Alan Cox Wed, 26 Oct 2005 12:17:46 -0400 committer Jeff Garzik Wed, 26 Oct 2005 12:17:46 -0400 [libata] ata_timing fix commit b6a4ce526a87bd8a99a396ac993240d6d3239852 tree a1ad8472e9195da61b1427324815d201e4379047 parent bd561c79dce9036c9efb17420b6cf8763c8c9de3 author Paul Mackerras Wed, 26 Oct 2005 22:54:17 +1000 committer Paul Mackerras Wed, 26 Oct 2005 22:54:17 +1000 powerpc: 32-bit powermac needs the mpc106 code Signed-off-by: Paul Mackerras commit bd561c79dce9036c9efb17420b6cf8763c8c9de3 tree d716828d74afe4dd6bcc012d761c0a3006c35e88 parent fa39dc437a41733adaba241fd9036760283a516a author Paul Mackerras Wed, 26 Oct 2005 21:55:33 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:55:33 +1000 powerpc: Fix incorrect timer register addresses in mpic.c We were computing the wrong address for the MPIC timer registers, so when we went to initialize them we would have been hitting some unrelated ioremap... oops. Signed-off-by: Paul Mackerras commit fa39dc437a41733adaba241fd9036760283a516a tree 4570515bf765a23bbfd1b4d47f1384afa6e73e79 parent b41fc4f82f6a73b8b2e8f44bd7ef075797d2dacb author Paul Mackerras Wed, 26 Oct 2005 21:54:21 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:54:21 +1000 powerpc32: Limit memory to lowmem if !CONFIG_HIGHMEM. This trims off the extra unusable memory from the lmb structure, so we don't try to use it. Signed-off-by: Paul Mackerras commit b41fc4f82f6a73b8b2e8f44bd7ef075797d2dacb tree 52338ab7d1921deeeb969203fb6a2a5b958ee145 parent c49888203d7a316cb947bb8a1cf2ae191f28bcd3 author Paul Mackerras Wed, 26 Oct 2005 21:53:19 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:53:19 +1000 power: Update the multiple inclusion protection symbol on machdep.h Signed-off-by: Paul Mackerras commit c49888203d7a316cb947bb8a1cf2ae191f28bcd3 tree 7e2962af5e6978361f04161c5d6fc3765fd21e77 parent bbd0abda9cc689a54df509aae00000bbb2a1a7d1 author Paul Mackerras Wed, 26 Oct 2005 21:52:53 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:52:53 +1000 powerpc: Fixes to get the Longtrail CHRP a bit further Talk about buggy firmware... the OF on the Longtrail returns 0 from the claim client service rather than -1 when the claim fails. It also has no device_type on the /memory node and blows up if the output buffer for package-to-path is too big. This also fixes a bug with calling alloc_up with align == 0, where we did _ALIGN_UP(alloc_bottom, 0) which will end up as 0. Lastly, we now check the return value (in r3) from calling the prom, and return -1 from call_prom if we get a negative value back. That is supposed to indicate that the requested client service doesn't exist. Signed-off-by: Paul Mackerras commit bbd0abda9cc689a54df509aae00000bbb2a1a7d1 tree d04e8f196f65f5598300485e654e5e90a6160aa6 parent 303d72a0006c65bb8d16199c75a26338ce723811 author Paul Mackerras Wed, 26 Oct 2005 21:45:56 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:45:56 +1000 powerpc: Merge 32-bit CHRP support. SMP still needs more work but UP gets as far as starting userspace at least. This uses the 64-bit-style code for spinning up the cpus. Signed-off-by: Paul Mackerras commit 303d72a0006c65bb8d16199c75a26338ce723811 tree 28e0c39198b0ffc61103b249e83aaa2798ba216c parent 6d0124fc06be40deafca043c73a8203c78bbfe45 author Paul Mackerras Wed, 26 Oct 2005 17:22:33 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:22:33 +1000 powerpc: Don't limit pmac_get_rtc_time to return only positive values If the machine's clock is set to a bogus value, this check resulted in userland waiting effectively forever for the RTC value to change, so remove the check. Signed-off-by: Paul Mackerras commit 6d0124fc06be40deafca043c73a8203c78bbfe45 tree a2db556568bb9ecc698d1e8ea3f88fd0c022aa01 parent 830825d6c37a28061c0b6ca538a6411001cf3b2a author Paul Mackerras Wed, 26 Oct 2005 17:19:06 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:19:06 +1000 powerpc: Fix interrupt-tree parsing The interrupt-tree parsing code wasn't offsetting interrupt numbers by 16 on 32-bit platforms with an i8259 interrupt controller, and it was confused about the encoding of interrupt sense and level (which is different for i8259 and openpic interrupt controllers, just to make things interesting). Signed-off-by: Paul Mackerras commit 830825d6c37a28061c0b6ca538a6411001cf3b2a tree 99ead002881c53e0eda644175ba43d4a166fa26e parent 03501dab035ab7da5e1373f5e130cfd6346d3f21 author Paul Mackerras Wed, 26 Oct 2005 17:16:38 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:16:38 +1000 powerpc: Pull out MPC106 (grackle) initialization code into its own file This is so that the 32-bit CHRP code can use it. The MPC106 initialization code is now in arch/powerpc/sysdev/grackle.c and is controlled by CONFIG_PPC_MPC106. Signed-off-by: Paul Mackerras commit 03501dab035ab7da5e1373f5e130cfd6346d3f21 tree 53f8299442806612d8d2a73361b754063ce043fa parent 033ef338b6e007dc081c6282a4f2a9dd761f8cd2 author Paul Mackerras Wed, 26 Oct 2005 17:11:18 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:11:18 +1000 powerpc: Pull common bits of setup_{32,64}.c into setup-common.c This creates a new arch/powerpc/kernel/setup-common.c with various bits that setup_32.c and setup_64.c had in common - functions like machine_shutdown/restart/power_off, show_cpuinfo, set_preferred_console etc. Signed-off-by: Paul Mackerras commit 033ef338b6e007dc081c6282a4f2a9dd761f8cd2 tree 3c77fad71c3d9ba04ddcdaea33063aaf7520ddb0 parent f9bd170a87948a9e077149b70fb192c563770fdf author Paul Mackerras Wed, 26 Oct 2005 17:05:24 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:05:24 +1000 powerpc: Merge rtas.c into arch/powerpc/kernel This splits arch/ppc64/kernel/rtas.c into arch/powerpc/kernel/rtas.c, which contains generic RTAS functions useful on any CHRP platform, and arch/powerpc/platforms/pseries/rtas-fw.[ch], which contain some pSeries-specific firmware flashing bits. The parts of rtas.c that are to do with pSeries-specific error logging are protected by a new CONFIG_RTAS_ERROR_LOGGING symbol. The inclusion of rtas.o is controlled by the CONFIG_PPC_RTAS symbol, and the relevant platforms select that. Signed-off-by: Paul Mackerras commit f9bd170a87948a9e077149b70fb192c563770fdf tree c759b57b67ab41a859e19f7dcee571504b368202 parent 25635c71e44111a6bd48f342e144e2fc02d0a314 author Paul Mackerras Wed, 26 Oct 2005 16:47:42 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:47:42 +1000 powerpc: Merge i8259.c into arch/powerpc/sysdev This changes the parameters for i8259_init so that it takes two parameters: a physical address for generating an interrupt acknowledge cycle, and an interrupt number offset. i8259_init now sets the irq_desc[] for its interrupts; all the callers were doing this, and that code is gone now. This also defines a CONFIG_PPC_I8259 symbol to select i8259.o for inclusion, and makes the platforms that need it select that symbol. Signed-off-by: Paul Mackerras commit 25635c71e44111a6bd48f342e144e2fc02d0a314 tree 794b0428a72fefa53a0d9d709247a60a5b4527da parent d9953105ce000abcfa988d0c160b2662186f5879 author Paul Mackerras Wed, 26 Oct 2005 16:36:55 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:36:55 +1000 ppc: Use the indirect_pci.c from arch/powerpc/sysdev This defines a CONFIG_INDIRECT_PCI symbol to control whether it gets used or not, and fixes the Kconfig to select that symbol for platforms that need it. Signed-off-by: Paul Mackerras commit d9953105ce000abcfa988d0c160b2662186f5879 tree 949e76f9bc3cd8307d2146e7eff2877ebc332628 parent 21f35f28229ad1b017a0ea6cd17c10d6b9ec255f author Michael Ellerman Mon, 24 Oct 2005 15:07:30 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:00:29 +1000 [PATCH] powerpc: Move ras.c into arch/powerpc/platforms/pseries ras.o is only built for CONFIG_PPC_PSERIES, so move it into arch/powerpc/platforms/pseries. Update Makefiles to suit. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 21f35f28229ad1b017a0ea6cd17c10d6b9ec255f tree 4bd56170e15f789545fae218008e7c4dbc4014fe parent 8c71632f7a13357b7dc5636fca68317f72d3043e author Michael Ellerman Mon, 24 Oct 2005 15:07:29 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:00:26 +1000 [PATCH] powerpc: Move firmware.h into include/asm-powerpc Move firmware.h into include/asm-powerpc. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 8c71632f7a13357b7dc5636fca68317f72d3043e tree de2bb6b4f9512b0d444ea2486ec3220de4796359 parent a6f3546ecd00a1566cee6e0d992f4c33c2d28287 author Michael Ellerman Mon, 24 Oct 2005 15:07:27 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:00:19 +1000 [PATCH] powerpc: Remove trailing \n" in HMT macros GCC 3.3.3 barfs on the trailing \n" in the HMT macros. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a6f3546ecd00a1566cee6e0d992f4c33c2d28287 tree e77f204d13dc153672b90a850006fbcac1c7677e parent 6d7f58b04d824843f7539a132e1ad8220bbe589a author Michael Ellerman Mon, 24 Oct 2005 15:07:26 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:00:09 +1000 [PATCH] powerpc: Remove duplicate definition of set_tb() Somewhere along the line we got two definitions of set_tb(). They look to be identical although they're not textually identical. So remove the #ifdef CONFIG_PPC64 version, leaving the common version in time.h. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 6d7f58b04d824843f7539a132e1ad8220bbe589a tree 156db49e7525c1f01d46376d9fa51567b3c51520 parent 0fd6f717948083d480f38e97f62cc116faf0e534 author Kumar Gala Tue, 25 Oct 2005 23:57:33 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:55:53 +1000 [PATCH] powerpc: Some minor cleanups to setup_32.c * Removed of_show_percpuinfo and just report CPU frequency in generic show_cpuinfo code. * Killed OCP and PPC_SYS related code which doesn't belong in the merge tree Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit 0fd6f717948083d480f38e97f62cc116faf0e534 tree f8747c6d7536e5bb883ef80d92d12d00556e22f3 parent ab590ccb428f874bb8f9cec1265cc1f9cb38b601 author Kumar Gala Tue, 25 Oct 2005 23:02:59 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:55:46 +1000 [PATCH] powerpc: Add support for Book-E timer config to generic_calibrate_decr We need to initialize some control SPRS for timers on Book-E before we start taking decrementer interrupts. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit ab590ccb428f874bb8f9cec1265cc1f9cb38b601 tree a5776d126cd54794f4d9f523e368eb2a44ed20a5 parent bfbac4973687ae32df528f2811483f92b943f251 author Becky Bruce Mon, 24 Oct 2005 14:50:46 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:55:06 +1000 [PATCH] ppc: Fix m82xx_pci build A recent patch updated the name of pci_assign_all_busses to pci_assign_all_buses. This instance of its use wasn't corrected by the original patch to use the new name. Builds cleanly on ads8272. Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit bfbac4973687ae32df528f2811483f92b943f251 tree 69d23f296702ee88b86ca8193e961e0bf7671e02 parent d95bbcb3a344b3eb84b45d162c0a20348f0af37f author Becky Bruce Fri, 21 Oct 2005 16:16:58 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:54:42 +1000 [PATCH] powerpc: Fix types.h Powerpc: Fix types.h I noticed that Paul had already pulled the version of types.h that is missing the config.h include into the merge tree - this patch adds it back in. Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit d95bbcb3a344b3eb84b45d162c0a20348f0af37f tree 036e03b868b09e3b064489ff7d8f2ccca26a9dda parent 60dda2565bbf31bbe662fd143a41c861b7a190cf author Kumar Gala Thu, 20 Oct 2005 11:44:46 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:54:31 +1000 [PATCH] powerpc: merge include/asm-ppc*/checksum.h into include/asm-powerpc/checksum.h Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 60dda2565bbf31bbe662fd143a41c861b7a190cf tree 26821704b421cbfc50f50dc2cb7f028960b7294d parent d2e615125762459fd2bb9f0c91881509a0b9c31b author Kumar Gala Thu, 20 Oct 2005 11:44:03 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:52:56 +1000 [PATCH] powerpc: some prom.c cleanups On !CONFIG_PPC_MULTIPLATFORM _machine is defined as 0. This is ok, but we can't assign a value to _machine then. We may not have CONFIG_PCI available, so only build in support for find_parent_pci_resource(), request_OF_resource(), release_OF_resource() if PCI is enabled. This is probably not the long term fix but works out for now. Make reg_property64 contain 64-bit elements on a 32-bit machine. Mark the deprecated prom.c functions as __deprecated. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit d2e615125762459fd2bb9f0c91881509a0b9c31b tree 249fc27bbf4b81f8cad1072f3ff359a7876fdd5a parent 340601043df518d6f4f82da285c60c785ac8a716 author Kumar Gala Thu, 20 Oct 2005 11:43:33 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:52:37 +1000 [PATCH] powerpc: Make sure we have an RTC before trying to adjust it Its valid for ppc_md.set_rtc_time to be NULL. We need to check that its non-NULL before trying to update the RTC. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit ccd7bc2f67fdfa9c47ceae64f1117d1fb6cb8737 tree 33b13cd5582c419f8ae098edb24ca355974a7ccf parent 6f0ef4fa57b9ba27d7b1c330bad041f1665501fe parent 6693e74a16ef563960764bd963f1048392135c3c author Jeff Garzik Wed, 26 Oct 2005 01:08:05 -0400 committer Jeff Garzik Wed, 26 Oct 2005 01:08:05 -0400 Merge branch 'master' commit 1f57389a38dc1e8be167ec601f39f78f0bed3a96 tree 5f33d00a046597ae33855cee13d17d77048ba712 parent 077783f87708b24054452e5c07685ead2c28b1eb parent 6693e74a16ef563960764bd963f1048392135c3c author Jeff Garzik Wed, 26 Oct 2005 01:06:45 -0400 committer Jeff Garzik Wed, 26 Oct 2005 01:06:45 -0400 Merge branch 'master' commit 077783f87708b24054452e5c07685ead2c28b1eb tree 998c73ed67ac6a209541941cdde4df20e9f12747 parent ac9c18974f7d08cdedfb1e9599faa8c851c7cef9 author James Ketrenos Mon, 24 Oct 2005 10:27:46 -0500 committer Jeff Garzik Wed, 26 Oct 2005 00:54:23 -0400 [PATCH] ieee80211 build fix James Ketrenos wrote: > [3/4] Use the tx_headroom and reserve requested space. This patch introduced a compile problem; patch below corrects this. Fixed compilation error due to not passing tx_headroom in ieee80211_tx_frame. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ac9c18974f7d08cdedfb1e9599faa8c851c7cef9 tree 802058729c3d2401ec73c580c670d8b924b17954 parent 9789089703c244ad766a13f441936736b6b1e709 author Ayaz Abdulla Wed, 26 Oct 2005 00:51:24 -0400 committer Jeff Garzik Wed, 26 Oct 2005 00:51:24 -0400 [netdrvr forcedeth] scatter gather and segmentation offload support also: - eliminate use of pointless get_nvpriv() wrapper, and use netdev_priv() directly. - use NETDEV_TX_xxx return codes commit dcab5e1eeccf5e226c771ecc013631cde157435f tree d0e6f0c63caee92c8ac86d24fb280a0c65be11d9 parent 95df1c04ab3f7ca617774930df62c0893a188c2c author David Engel Fri, 21 Oct 2005 22:09:16 -0500 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:20:21 -0200 [IPV4]: Fix setting broadcast for SIOCSIFNETMASK Fix setting of the broadcast address when the netmask is set via SIOCSIFNETMASK in Linux 2.6. The code wanted the old value of ifa->ifa_mask but used it after it had already been overwritten with the new value. Signed-off-by: David Engel Signed-off-by: Arnaldo Carvalho de Melo commit 95df1c04ab3f7ca617774930df62c0893a188c2c tree c37783ed5a57ebf90fb3645ed18b3b0005fe58ff parent c83c24861882758b9731e8550225cd1e52a4cd1c author Ralf Baechle Tue, 18 Oct 2005 21:39:33 +0100 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:14:09 -0200 [AX.25]: Use constant instead of magic number Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Arnaldo Carvalho de Melo commit c83c24861882758b9731e8550225cd1e52a4cd1c tree a6161031466786ec726532a822fdb63104613b5f parent 0d0d2bba97cb091218ea0bcb3d8debcc7bf48397 author Randy Dunlap Tue, 18 Oct 2005 22:07:41 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:10:18 -0200 [SK_BUFF] kernel-doc: fix skbuff warnings Add kernel-doc to skbuff.h, skbuff.c to eliminate kernel-doc warnings. Signed-off-by: Randy Dunlap Signed-off-by: Arnaldo Carvalho de Melo commit 0d0d2bba97cb091218ea0bcb3d8debcc7bf48397 tree 6f678dcabc60e41a07e1d6948d798e3b2644cea5 parent ea7ce406490cb248f44f510f7c0bcc357184640a author Jayachandran C Thu, 13 Oct 2005 11:43:02 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:58:54 -0200 [IPV4]: Remove dead code from ip_output.c skb_prev is assigned from skb, which cannot be NULL. This patch removes the unnecessary NULL check. Signed-off-by: Jayachandran C. Acked-by: James Morris Signed-off-by: Arnaldo Carvalho de Melo commit ea7ce406490cb248f44f510f7c0bcc357184640a tree 94865798286a5b9faeca5faa63885d9840c2d8ed parent 80b30c1023dbd795faf948dee0cfb3b270b56d47 author Jayachandran C Thu, 13 Oct 2005 11:43:05 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:54:46 -0200 [NETLINK]: Remove dead code in af_netlink.c Remove the variable nlk & call to nlk_sk as it does not have any side effect. Signed-off-by: Jayachandran C. Acked-by: James Morris Signed-off-by: Arnaldo Carvalho de Melo commit 80b30c1023dbd795faf948dee0cfb3b270b56d47 tree 18a6c4d4647e6b52ea9b53e1f938b5e7f7e97f8f parent 1371e37da299d4df6267ad0ddf010435782c28e9 author Herbert Xu Sat, 15 Oct 2005 10:58:30 +1000 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:48:45 -0200 [IPSEC]: Kill obsolete get_mss function Now that we've switched over to storing MTUs in the xfrm_dst entries, we no longer need the dst's get_mss methods. This patch gets rid of them. It also documents the fact that our MTU calculation is not optimal for ESP. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit 1371e37da299d4df6267ad0ddf010435782c28e9 tree a8b1706d73d86e5f732b132d99b90e1107eafb68 parent eed75f191d8318a2b144da8aae9774e1cfcae492 author Herbert Xu Sat, 15 Oct 2005 09:42:39 +1000 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:25:03 -0200 [IPV4]: Kill redundant rcu_dereference on fa_info This patch kills a redundant rcu_dereference on fa->fa_info in fib_trie.c. As this dereference directly follows a list_for_each_entry_rcu line, we have already taken a read barrier with respect to getting an entry from the list. This read barrier guarantees that all values read out of fa are valid. In particular, the contents of structure pointed to by fa->fa_info is initialised before fa->fa_info is actually set (see fn_trie_insert); the setting of fa->fa_info itself is further separated with a write barrier from the insertion of fa into the list. Therefore by taking a read barrier after obtaining fa from the list (which is given by list_for_each_entry_rcu), we can be sure that fa->fa_info contains a valid pointer, as well as the fact that the data pointed to by fa->fa_info is itself valid. Signed-off-by: Herbert Xu Acked-by: Paul E. McKenney Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit eed75f191d8318a2b144da8aae9774e1cfcae492 tree 512e66c1a83911c5944270a68bf950ddc1cbde0d parent d50a6b56f0f239cf061630c85add121dc3555339 author Harald Welte Sun, 16 Oct 2005 14:22:59 +0200 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:19:27 -0200 [NETFILTER] ip_conntrack: Make "hashsize" conntrack parameter writable It's fairly simple to resize the hash table, but currently you need to remove and reinsert the module. That's bad (we lose connection state). Harald has even offered to write a daemon which sets this based on load. Signed-off-by: Rusty Russell Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit d50a6b56f0f239cf061630c85add121dc3555339 tree 98012391b898e4ef4ccd59a41e75cdf65114353c parent b4099fab75d5e3eae8d207c0d7159e2f3348686e author Stephen Hemminger Fri, 14 Oct 2005 15:42:33 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:12:18 -0200 [PKTGEN]: proc interface revision The code to handle the /proc interface can be cleaned up in several places: * use seq_file for read * don't need to remember all the filenames separately * use for_online_cpu's * don't vmalloc a buffer for small command from user. Committer note: This patch clashed with John Hawkes's "[NET]: Wider use of for_each_*cpu()", so I fixed it up manually. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit b4099fab75d5e3eae8d207c0d7159e2f3348686e tree 62e1e42f5422c14491a5b7bd90d48da057912b17 parent 2845b63b504b051a9cb4d78bed8b3594451a1f6f author Stephen Hemminger Fri, 14 Oct 2005 15:32:22 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:08:10 -0200 [PKTGEN]: Spelling and white space Fix some cosmetic issues. Indentation, spelling errors, and some whitespace. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 2845b63b504b051a9cb4d78bed8b3594451a1f6f tree 6de91ce8e5c07ec3bfd670605e8de916eec3b9ad parent b7c8921bf1a8a9c1907b1eeb029d3f167be226f3 author Stephen Hemminger Fri, 14 Oct 2005 15:29:48 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:05:32 -0200 [PKTGEN]: Use kzalloc These are cleanup patches for pktgen that can go in 2.6.15 Can use kzalloc in a couple of places. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit b7c8921bf1a8a9c1907b1eeb029d3f167be226f3 tree 8b3fcc1f10d297ddde054f8be887cd09129e0320 parent 670c02c2bfd2c8a305a90f5285409a7b0a8fd630 author Stephen Hemminger Fri, 14 Oct 2005 15:26:34 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:03:12 -0200 [PKTGEN]: Sleeping function called under lock pktgen is calling kmalloc GFP_KERNEL and vmalloc with lock held. The simplest fix is to turn the lock into a semaphore, since the thread lock is only used for admin control from user context. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 670c02c2bfd2c8a305a90f5285409a7b0a8fd630 tree a6e7d773d72e2716bf675dbb2679e8ada21b4e21 parent 900e0143a575406146ac531fcb91790f166ce52f author John Hawkes Thu, 13 Oct 2005 09:30:31 -0700 committer Arnaldo Carvalho de Melo Tue, 25 Oct 2005 23:54:01 -0200 [NET]: Wider use of for_each_*cpu() In 'net' change the explicit use of for-loops and NR_CPUS into the general for_each_cpu() or for_each_online_cpu() constructs, as appropriate. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 900e0143a575406146ac531fcb91790f166ce52f tree d75e7e5cbf6303dddafe4f123a7f4bbba7146570 parent 5ed688a7162ff8d28d7cf98b34a1f825e4c2c2ac author Patrick Caulfield Tue, 11 Oct 2005 08:22:33 +0100 committer Arnaldo Carvalho de Melo Tue, 25 Oct 2005 23:49:29 -0200 [DECNET]: Remove some redundant ifdeffed code Signed-off-by: Patrick Caulfield Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit e7f98dbbb89b68b23a5115708412a820a713fbf1 tree ec373399557962045efa884d17b4a094b701c45b parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Russ Anderson Tue, 25 Oct 2005 17:34:19 -0500 committer Tony Luck Tue, 25 Oct 2005 16:53:38 -0700 [IA64-SGI] fix bte_copy() calling get_nasid() while preemptible bte_copy() calls calls get_nasid(), which will get flagged if preemption if enabled. raw_smp_processor_id() is used instead. It is OK if we migrate off node. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck commit 279290294662d4a35d209fb7d7c46523cfa3d63d tree e321f7bfe1d684b769a55917aea61b65def09c20 parent 4b38fcd4858204cb3667eb7b3aca48ffb1002f05 author Dean Nelson Tue, 25 Oct 2005 14:11:53 -0500 committer Tony Luck Tue, 25 Oct 2005 16:33:22 -0700 [IA64-SGI] cleanup the way XPC locates the reserved page Eliminate the passing in of a scratch buffer used for locating the reserved page setup for XPC. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 4b38fcd4858204cb3667eb7b3aca48ffb1002f05 tree 2125f5d9689e5bdc64ce2e4f35d8a8220c2e0054 parent e54af724c1ae3530c95135157776c9be65cdb747 author Dean Nelson Tue, 25 Oct 2005 14:09:51 -0500 committer Tony Luck Tue, 25 Oct 2005 16:32:39 -0700 [IA64-SGI] XPC changes to support more than 2k nasids XPC needs to be changed to support up to 16k nasids on an SGI Altix system. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit e54af724c1ae3530c95135157776c9be65cdb747 tree 99623edaf5d8fb34c8b43cbd19cf3d7b47d8b8f8 parent a607c38971fd078865fa9bef39e6c1d4435680c8 author Dean Nelson Tue, 25 Oct 2005 14:07:43 -0500 committer Tony Luck Tue, 25 Oct 2005 16:27:37 -0700 [IA64-SGI] fixes for XPC disengage and open/close protocol This patch addresses a few issues with the open/close protocol that were revealed by the newly added disengage functionality combined with more extensive testing. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 7cc656efb560cda66b5ed48444cad7556ea4fe99 tree bfc4d1e256e755623c9782b1a0883fc337d88e6e parent 547e3090738b04be650770b64265835dbb6ddf92 author Roland Dreier Tue, 25 Oct 2005 15:13:54 -0700 committer Roland Dreier Tue, 25 Oct 2005 15:13:54 -0700 [IB] simplify mad_rmpp.c:alloc_response_msg() Change alloc_response_msg() in mad_rmpp.c to return the struct it allocates directly (or an error code a la ERR_PTR), rather than returning a status and passing the struct back in a pointer param. This simplifies the code and gets rid of warnings like drivers/infiniband/core/mad_rmpp.c: In function nack_recv: drivers/infiniband/core/mad_rmpp.c:192: warning: msg may be used uninitialized in this function with newer versions of gcc. Signed-off-by: Roland Dreier commit ddf6d0a00cbb4ad6d4fb4200cc911bb9389174c1 tree b9b426b6d618685fe69a09f62a081fa210204abc parent dc565b525d4b7091a3abb6616d210c8a896a11d7 author hawkes@sgi.com Thu, 13 Oct 2005 12:01:18 -0700 committer Tony Luck Tue, 25 Oct 2005 15:12:05 -0700 [IA64] another place to use for_each_cpu_mask() in arch/ia64 In arch/ia64 change the explicit use of a for-loop using NR_CPUS into the general for_each_online_cpu() construct. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: Tony Luck commit dc565b525d4b7091a3abb6616d210c8a896a11d7 tree 6bd7e8f5cd4e912bfe7f704b1a7b084bfc3cc123 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author hawkes@sgi.com Mon, 10 Oct 2005 08:43:26 -0700 committer Tony Luck Tue, 25 Oct 2005 15:10:08 -0700 [IA64] wider use of for_each_cpu_mask() in arch/ia64 In arch/ia64 change the explicit use of for-loops and NR_CPUS into the general for_each_cpu() or for_each_online_cpu() constructs, as appropriate. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(). Signed-off-by: John Hawkes Signed-off-by: Tony Luck commit 9c184a073bfd650cc791956d6ca79725bb682716 tree d12206902d58d98c059a0a7b1aa8568253bc39c3 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author H. J. Lu Fri, 07 Oct 2005 11:01:19 -0700 committer Tony Luck Tue, 25 Oct 2005 15:05:45 -0700 [IA64] Fix 2.6 kernel for the new ia64 assembler The new ia64 assembler uses slot 1 for the offset of a long (2-slot) instruction and the old assembler uses slot 2. The 2.6 kernel assumes slot 2 and won't boot when the new assembler is used: http://sources.redhat.com/bugzilla/show_bug.cgi?id=1433 This patch will work with either slot 1 or 2. Patch provided by H.J. Lu Signed-off-by: Tony Luck commit ce6e71ad4866dad366be135b024b776c00ec9ec8 tree cefc2f4d639726053cc57f557fc4cca812cf0c76 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Siddha, Suresh B Tue, 04 Oct 2005 16:35:31 -0700 committer Tony Luck Tue, 25 Oct 2005 15:00:36 -0700 [IA64] fix siblings field value in /proc/cpuinfo Fix the "siblings" field value in /proc/cpuinfo so that it now shows the number of siblings as seen by OS, instead of what is available from hardware perspective. Signed-off-by: Suresh Siddha Signed-off-by: Tony Luck commit b6a7e1ecef66b9ecd1eed31f46ba0248d6d7e957 tree 682b8cf7e11ca49693b9a73420c050700b0774c7 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Peter Chubb Thu, 20 Oct 2005 12:31:19 +1000 committer Tony Luck Tue, 25 Oct 2005 14:36:55 -0700 [IA64] Allow simulator to use bigger disks The simscsi code at present overflows an int if it's given a large disk image. The attached patch increases the possible size to 128G. While it's unlikely that anyone will want to use SKI with such a large drive, the same framework is currently being used for various virtualisation experiments. Signed-off-by: Peter Chubb Signed-off-by: Tony Luck commit 547e3090738b04be650770b64265835dbb6ddf92 tree 9329491379623349a7ef3a42be9bad302eea011d parent 34816ad98efe4d47ffd858a0345321f9d85d9420 author Roland Dreier Tue, 25 Oct 2005 10:57:32 -0700 committer Roland Dreier Tue, 25 Oct 2005 10:57:32 -0700 [IB] mthca: correct modify QP attribute masks for UC The UC transport does not support RDMA reads or atomic operations, so we shouldn't require or even allow the consumer to set attributes relating to these operations for UC QPs. Signed-off-by: Roland Dreier commit 34816ad98efe4d47ffd858a0345321f9d85d9420 tree 8a5ed6a9b80e667c4c02d9993711ced06d158555 parent ae7971a7706384ca373fb7e212fe195698e6c5a1 author Sean Hefty Tue, 25 Oct 2005 10:51:39 -0700 committer Roland Dreier Tue, 25 Oct 2005 10:51:39 -0700 [IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped The MAD layer was violating the DMA API by touching data buffers used for sends after the DMA mapping was done. This causes problems on non-cache-coherent architectures, because the device doing DMA won't see updates to the payload buffers that exist only in the CPU cache. Fix this by having all MAD consumers use ib_create_send_mad() to allocate their send buffers, and moving the DMA mapping into the MAD layer so it can be done just before calling send (and after any modifications of the send buffer by the MAD layer). Tested on a non-cache-coherent PowerPC 440SPe system. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6f0ef4fa57b9ba27d7b1c330bad041f1665501fe tree 1d700a0fe5f1065b1e60d09587111f66ef2b19eb parent 057ace5e79da9ebf2aa82833cfea825533ac06fb author Randy Dunlap Tue, 25 Oct 2005 01:44:30 -0400 committer Jeff Garzik Tue, 25 Oct 2005 01:44:30 -0400 [PATCH] libata kernel-doc fixes Correct some function names in kernel-doc. Add some kernel-doc descriptions. Fix some typos. Remove a few blank lines. Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit ea248bcaadd5bafe4217357e1e511ac55639bcf3 tree 7d12e7f57cf9abf536fd992cefd17d95f7b31725 parent 0ea27d9f2fb5b998063323bff47ab87891ced9e2 author Dave Jones Mon, 24 Oct 2005 20:20:11 -0700 committer Dave Jones Mon, 24 Oct 2005 20:20:11 -0700 [AGPGART] Set .owner field of struct pci_driver. From: Laurent Riffard This updates .owner field of struct pci_driver. This allows SYSFS to create the symlink from the driver to the module which provides it. $ tree /sys/bus/pci/drivers/agpgart-via/ /sys/bus/pci/drivers/agpgart-via/ |-- 0000:00:00.0 -> ../../../../devices/pci0000:00/0000:00:00.0 |-- bind |-- module -> ../../../../module/via_agp |-- new_id `-- unbind Signed-off-by: Laurent Riffard Signed-off-by: Dave Jones Signed-off-by: Andrew Morton commit ae7971a7706384ca373fb7e212fe195698e6c5a1 tree 5c0d0fecf3faa6c899f8438c4589fa8dede9da72 parent ec329a135974f1c400214dab02f09584d4beeba9 author Sean Hefty Mon, 24 Oct 2005 12:33:56 -0700 committer Roland Dreier Mon, 24 Oct 2005 12:33:56 -0700 [IB] CM: Fix initialization of QP attributes for UC QPs. Fix cm_init_qp_init_attr(), cm_init_qp_rtr_attr() and cm_init_qp_rts_attr() so that they correctly handle the differences between UC and RC QPs. This fixes problems with setting up UC QPs through the CM. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit ec329a135974f1c400214dab02f09584d4beeba9 tree 235be754f76f4e7d51975d2434f226cfc75cdd08 parent bbf207860931b6a033d0fbcd170ae2332c0d8216 parent 5d7edb3c1a01310725d86f0d83fb3be45685dc82 author Roland Dreier Mon, 24 Oct 2005 10:55:29 -0700 committer Roland Dreier Mon, 24 Oct 2005 10:55:29 -0700 Manual merge of for-linus to upstream (fix conflicts in drivers/infiniband/core/ucm.c) commit 5d7edb3c1a01310725d86f0d83fb3be45685dc82 tree bbe21779313fea41eb644e0e0f06d5949cd4ed49 parent e7d311da9cba1e113f82176130d3af1be77dc3ee author Roland Dreier Mon, 24 Oct 2005 10:53:25 -0700 committer Roland Dreier Mon, 24 Oct 2005 10:53:25 -0700 [IB] Add idr_destroy() calls on module unload Add idr_destroy() calls to the module_exit() functions of the four IB driver modules that use idrs, so we don't leak idr_layer_cache objects when these modules are unloaded. Signed-off-by: Roland Dreier commit a4e62fa031a9681477207b08391c3a5c5c831ce7 tree e635167a89bc286febe64527f308c74f02630f93 parent 67e1a014fbc0e472ccc55766a63640a767ede3bf author Dave Airlie Mon, 24 Oct 2005 18:45:11 +1000 committer Dave Airlie Mon, 24 Oct 2005 18:45:11 +1000 drm: remove unused components of drm structures These haven't been used in quite a long time, takes 1K buffer out of structures. Signed-off-by: Dave Airlie commit 67e1a014fbc0e472ccc55766a63640a767ede3bf tree b8033bfeb4e9ab2b12e6050565b7d815edd469b3 parent 5fb4dc9bf5e3af1ae91be97108bc3b1233252ddf author Dave Airlie Mon, 24 Oct 2005 18:41:39 +1000 committer Dave Airlie Mon, 24 Oct 2005 18:41:39 +1000 drm: fix warning on 64-bit platforms.. This looks ugly, but it is the only thing that makes sense that doesn't change the API. Signed-off-by: Dave Airlie commit 47c564e10f219f867bdb49225972749a43485a47 tree 5e119e0f2e011f422d880d88d1adb2142e508bfc parent c9c2009a4e915db17f32701d1f0535b400e61b58 parent ba9e358fd04190a59e605c2963a15e014139a707 author Anton Altaparmakov Mon, 24 Oct 2005 09:19:36 +0100 committer Anton Altaparmakov Mon, 24 Oct 2005 09:19:36 +0100 Merge branch 'master' of /usr/src/ntfs-2.6/ commit c9c2009a4e915db17f32701d1f0535b400e61b58 tree bc91f1853e1b14069b00c52f7a7cfada55280254 parent dda65b941f992ab10fda3d9f09539c68206b7114 author Anton Altaparmakov Mon, 24 Oct 2005 09:00:51 +0100 committer Anton Altaparmakov Mon, 24 Oct 2005 09:00:51 +0100 NTFS: Document extended attribute ($EA) NEED_EA flag. (Based on libntfs patch by Yura Pakhuchiy.) Signed-off-by: Anton Altaparmakov commit dda65b941f992ab10fda3d9f09539c68206b7114 tree 27468ef642b1d6e7a8b3c7f7f9a842e5ad92456e parent d04bd1fb60252f30f4f41a56613ade48df130588 author Anton Altaparmakov Mon, 24 Oct 2005 08:57:59 +0100 committer Anton Altaparmakov Mon, 24 Oct 2005 08:57:59 +0100 NTFS: Fix compilation warnings with gcc-4.0.2 on SUSE 10.0. Signed-off-by: Anton Altaparmakov commit d04bd1fb60252f30f4f41a56613ade48df130588 tree 53086f94589ecf35912e47fa14b8d8a5bc4714c0 parent d5aeaef37dc9cb009ab5cb8abf325338d21d2b1a author Anton Altaparmakov Mon, 24 Oct 2005 08:41:24 +0100 committer Anton Altaparmakov Mon, 24 Oct 2005 08:41:24 +0100 NTFS: Use %z for size_t to fix compilation warnings. (Andrew Morton) Signed-off-by: Andrew Morton Signed-off-by: Anton Altaparmakov commit 340601043df518d6f4f82da285c60c785ac8a716 tree 251c935b5ab9a805fecd0ca1bf5870e101cac26e parent 915124d8114ec8c3825b10a39151bf9e851593bb author Stephen Rothwell Mon, 24 Oct 2005 17:40:23 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 17:40:23 +1000 powerpc: Add a shutdown member to vio_driver Add a shutdown member to struct vio_driver. We also need vio_bus_shutdown() which converts from struct device to struct vio_dev and knows how to extract the struct vio_driver. Original patch adjusted for different location of vio.c. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 915124d8114ec8c3825b10a39151bf9e851593bb tree 854dd90a4ec252c6282abb2570424c7d17656114 parent 7c7eb28481a038c3859a0efcf38ac5b642aca212 author Stephen Rothwell Mon, 24 Oct 2005 15:12:22 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 16:59:13 +1000 powerpc: set the driver.owner field for all vio drivers Signed-off-by: Stephen Rothwell commit 7c7eb28481a038c3859a0efcf38ac5b642aca212 tree 29870ade1049ce3849d9c08a02619b3ef1eb669c parent 6fdf5392caa4c3cba65add0a4beec9f5eb96b723 author Stephen Rothwell Mon, 24 Oct 2005 15:21:52 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 15:42:24 +1000 powerpc: iseries: Fix a bogus comment A comment in lpevents.c refers to code that's actually in HvCallEvent.h. The code in HvCallEvent.h is pretty obvious, so just remove the comment altogether. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell commit 6fdf5392caa4c3cba65add0a4beec9f5eb96b723 tree 336ba343889a1d720e09477c2ea88cd5f99a67b9 parent f38d87f566195d78bd70538d5c774758f2d926d3 author Stephen Rothwell Mon, 24 Oct 2005 14:53:21 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 15:42:12 +1000 powerpc: don't duplicate name between vio_driver and device_driver Just set the name field directly in the device_driver structure contained in the vio_driver struct. Signed-off-by: Stephen Rothwell commit f38d87f566195d78bd70538d5c774758f2d926d3 tree 456022c29c7a162e372770d9253d8ba6347504ce parent 580460194e0e647d95cb5a2b66fdd7497b197f92 author Stephen Rothwell Mon, 24 Oct 2005 14:32:35 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 15:41:58 +1000 powerpc: Move include/asm-ppc64/vio.h to include/asm-powerpc/vio.h Move include/asm-ppc64/vio.h to include/asm-powerpc/vio.h, that's it. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 580460194e0e647d95cb5a2b66fdd7497b197f92 tree bce8e2c26e02c01210f6aa82fed9a9772bdf6fd6 parent 85e568ea5843d455a0bcb682ad2c71abb50bdb80 author Stephen Rothwell Mon, 24 Oct 2005 14:22:37 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 15:41:44 +1000 powerpc: Merge arch/ppc64/kernel/vio.c into arch/powerpc/kernel/vio.c Merge arch/ppc64/kernel/vio.c into arch/powerpc/kernel/vio.c, update the Makefiles to make it work, and make ARCH=ppc64 still work. Michael's version put vio.c in arch/powerpc/sysedv but after consolting Paulus, this one puts it in arch/powerpc/kernel. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit e7d311da9cba1e113f82176130d3af1be77dc3ee tree 05b4baf382124a9a0342777127c09832dcbd88c0 parent c8e0ca683dfea7242ff29814561dfe761945e5b3 parent ba9e358fd04190a59e605c2963a15e014139a707 author Roland Dreier Sun, 23 Oct 2005 17:56:59 -0700 committer Roland Dreier Sun, 23 Oct 2005 17:56:59 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 85e568ea5843d455a0bcb682ad2c71abb50bdb80 tree 64c2cdb54a5d4a2e3101278304b57ae370f7d688 parent a575b807172ca7d8850e6e979c8e83d4258e8c43 author Paul Mackerras Sun, 23 Oct 2005 17:26:32 +1000 committer Paul Mackerras Sun, 23 Oct 2005 17:26:32 +1000 powerpc: Make coff boot wrapper load the kernel at 8M Previously it claimed 7MB starting at the 9M point and loaded the kernel there. That meant that prom_init put the flattened device tree above 16M. On the 601 that caused the early device tree scan to fail, since only 16MB are mapped with BATs on the 601. Moving this down to 8MB allows prom_init to put the flattened device tree between 15M and 16M, so it works on the 601. Signed-off-by: Paul Mackerras commit a575b807172ca7d8850e6e979c8e83d4258e8c43 tree 83c3a6be6f16e4e1d325ecb9b43d26bb4d3d1ab7 parent 96c44507601d64f29b8ccc867637292e326c7019 author Paul Mackerras Sun, 23 Oct 2005 17:23:21 +1000 committer Paul Mackerras Sun, 23 Oct 2005 17:23:21 +1000 powerpc: Run on old powermacs. Old powermacs have a number of differences from current machines: - there is no interrupt tree in the device tree, just interrupt or AAPL,interrupt properties - the chosen node in the device tree is called /chosen@0 - the OF claim method doesn't map the memory, so we have to do an explicit map call as well - there is no /chosen/cpu property on SMP machines - the NVRAM isn't structured as a set of partitions. This adapts the merged powermac support code to cope with these issues. Signed-off-by: Paul Mackerras commit 96c44507601d64f29b8ccc867637292e326c7019 tree 1fbdb6f4a3c2d99afaa6a244161518ec78f31048 parent 985990137e81ca9fd6561cd0f7d1a9695ec57d5a author Paul Mackerras Sun, 23 Oct 2005 17:14:56 +1000 committer Paul Mackerras Sun, 23 Oct 2005 17:14:56 +1000 powerpc: Fix time code for 601 processors The 601 doesn't have the timebase register; instead it has an RTCL register that counts nanoseconds and wraps at 1000000000, and an RTCU register that counts seconds. This makes the necessary changes for the merged time code to use the RTCL/U registers when the kernel is running on a 601. Signed-off-by: Paul Mackerras commit 057ace5e79da9ebf2aa82833cfea825533ac06fb tree f27ed6cbd9a185041862471ef421e6415e099344 parent cf482935c6abe5245e481213c6e6df808c976f56 author Jeff Garzik Sat, 22 Oct 2005 14:27:05 -0400 committer Jeff Garzik Sat, 22 Oct 2005 14:27:05 -0400 libata: const-ification bombing run Enforce access rules where appropriate. If the compiler is smart enough, this may buy us an optimization or two as a side effect. commit c8e0ca683dfea7242ff29814561dfe761945e5b3 tree 9c7be6ca5f815f72c6be614576ad6ef6c3110f8c parent 2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f author Roland Dreier Sat, 22 Oct 2005 09:43:29 -0700 committer Roland Dreier Sat, 22 Oct 2005 09:43:29 -0700 [IB] mthca: Always re-arm EQs in mthca_tavor_interrupt() We should always re-arm an event queue's interrupt in mthca_tavor_interrupt() if the corresponding bit is set in the event cause register (ECR), even if we didn't find any entries in the EQ. If we don't, then there's a window where we miss an EQ entry and then get stuck because we don't get another EQ event. Signed-off-by: Roland Dreier commit 985990137e81ca9fd6561cd0f7d1a9695ec57d5a tree 7a67493285623a7356ba7065cada6728993d1a3b parent 834289447542b7ec55c0847486616d4d53ddf891 parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Paul Mackerras Sat, 22 Oct 2005 16:51:34 +1000 committer Paul Mackerras Sat, 22 Oct 2005 16:51:34 +1000 Merge changes from linux-2.6 by hand commit 834289447542b7ec55c0847486616d4d53ddf891 tree 3fce91fba1ee65ff00e927cca981980eb07f3019 parent 35499c0195e46f479cf6ac16ad8d3f394b5fcc10 author Paul Mackerras Sat, 22 Oct 2005 16:06:27 +1000 committer Paul Mackerras Sat, 22 Oct 2005 16:06:27 +1000 ppc64: Use arch/powerpc/platforms/powermac for powermac build. This switches the ARCH=ppc64 build to use arch/powerpc/platforms/powermac instead of arch/ppc64/kernel/pmac*, and deletes the latter set of files. Signed-off-by: Paul Mackerras commit 35499c0195e46f479cf6ac16ad8d3f394b5fcc10 tree 25660acd2425de5236a1eff7a25dc931e6f86492 parent b6ba92819dc1304a4e5a0bf06b297c657b58168a author Paul Mackerras Sat, 22 Oct 2005 16:02:39 +1000 committer Paul Mackerras Sat, 22 Oct 2005 16:02:39 +1000 powerpc: Merge in 64-bit powermac support. This brings in a lot of changes from arch/ppc64/kernel/pmac_*.c to arch/powerpc/platforms/powermac/*.c and makes various minor tweaks elsewhere. On the powermac we now initialize ppc_md by copying the whole pmac_md structure into it, which required some changes in the ordering of initializations of individual fields of it. Signed-off-by: Paul Mackerras commit b6ba92819dc1304a4e5a0bf06b297c657b58168a tree 3ae9182dc1c0fe58dc43f8ae196cf5ac484482c6 parent ef1a12817aebc313049d226f96eee86e4bcc94a3 author Paul Mackerras Sat, 22 Oct 2005 15:57:55 +1000 committer Paul Mackerras Sat, 22 Oct 2005 15:57:55 +1000 powerpc: Make set_rtc_time() return error code from lower-level function Previously it ignored the return value from ppc_md.set_rtc_time, but in fact the functions that that can point to do return a useful error code, so return it from set_rtc_time(). Signed-off-by: Paul Mackerras commit ef1a12817aebc313049d226f96eee86e4bcc94a3 tree 9c20807e70ef93a3e709e38464b627280bf67b36 parent 529294d59fdc77bf15f00f2308bbeb73e03e7042 author Paul Mackerras Sat, 22 Oct 2005 15:55:58 +1000 committer Paul Mackerras Sat, 22 Oct 2005 15:55:58 +1000 ppc64: Simplify secondary CPU startup on powermacs ... for consistency with ppc32, and because this way is neater. Signed-off-by: Paul Mackerras commit 529294d59fdc77bf15f00f2308bbeb73e03e7042 tree e04c555d8c1ed398b1543442e0f2d4d82b360acb parent f7abbc190b0edec34627d5348ba1d5fa5577da77 author Paul Mackerras Sat, 22 Oct 2005 15:36:52 +1000 committer Paul Mackerras Sat, 22 Oct 2005 15:36:52 +1000 ppc64: Rearrange btext initialization for consistency with ppc32 Moved init_boot_display from arch/ppc64/kernel/pmac_setup.c to arch/ppc64/kernel/btext.c and declared it in asm-ppc64/btext.h. Call it from init_early rather than pmac_init_early. Signed-off-by: Paul Mackerras commit 7bbaa75452c77cbaa016b987765c5d6c8b744587 tree e7332fa7baaa1b7fa777c49acf07f26cd2eb3915 parent 2d5a2ae52d8863275e2d26398bc010249ea709d1 author Jeff Garzik Sat, 22 Oct 2005 01:33:18 -0400 committer Jeff Garzik Sat, 22 Oct 2005 01:33:18 -0400 drivers/block/sx8: kill unused variable commit 5fb4dc9bf5e3af1ae91be97108bc3b1233252ddf tree 842b952d5726992ccadade70fec008a357be23ec parent 23bfc1a339e98510f2ce25a2764a0cfe195faa9e author Dave Airlie Sat, 22 Oct 2005 15:25:01 +1000 committer Dave Airlie Sat, 22 Oct 2005 15:25:01 +1000 merge linus head to drm-mm branch commit 23bfc1a339e98510f2ce25a2764a0cfe195faa9e tree 51652ad15f85d9d1367ae6f9b8641dfe46b4c501 parent 312f5726055534be1dc9dd369be13aabd2943fcb parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Dave Airlie Sat, 22 Oct 2005 15:24:35 +1000 committer Dave Airlie Sat, 22 Oct 2005 15:24:35 +1000 merge linus head to drm-mm branch commit f7abbc190b0edec34627d5348ba1d5fa5577da77 tree dc6a97aaef1cf9174af7e09329db85be0af13c16 parent a5b518ed314bfd25ea5e433ce09f8b27080023db author Paul Mackerras Sat, 22 Oct 2005 15:03:21 +1000 committer Paul Mackerras Sat, 22 Oct 2005 15:03:21 +1000 ppc64: Add a `primary' argument to pci_process_bridge_OF_ranges ... for consistency with ppc32 and to make the powermac merge easier. Also make it use just a single resource in the host bridge for multiple consecutive elements of the ranges property. Signed-off-by: Paul Mackerras commit a5b518ed314bfd25ea5e433ce09f8b27080023db tree 777d0f9202136dcff484121ad7673eb65d099567 parent e2b5530698cbe8148577b24097eaefcd835ac9ca author Paul Mackerras Sat, 22 Oct 2005 14:55:23 +1000 committer Paul Mackerras Sat, 22 Oct 2005 14:55:23 +1000 ppc64/powerpc: Fix time initialization on SMP systems This moves smp_space_timers from arch/ppc64/kernel/smp.c to arch/powerpc/kernel/time.c and makes it initialize last_jiffy[] instead of paca[].next_jiffy_update_tb, since last_jiffy[] is now what the time code uses. It also declares smp_space_timers in include/asm-powerpc/time.h and gets rid of an ifdef in div128_by_32. Signed-off-by: Paul Mackerras commit e2b5530698cbe8148577b24097eaefcd835ac9ca tree 270f7505fa2b94880b5f59b638a8b5567c28f547 parent 5c8c56ebdfb290e4feaac406518903f58714d874 author Paul Mackerras Sat, 22 Oct 2005 14:46:33 +1000 committer Paul Mackerras Sat, 22 Oct 2005 14:46:33 +1000 ppc64: Fix delivery of RT signals to 32-bit processes. An error in merging led to 32-bit processes getting the wrong link register value on entry to RT signal handlers, and the wrong stack chain as well. This fixes it. Signed-off-by: Paul Mackerras commit 5c8c56ebdfb290e4feaac406518903f58714d874 tree 424ca8975f59d4bb8daa985fc769f10c34a5e87a parent 05d84681abcb33fe34accb5982c413daeb4208c4 author Paul Mackerras Sat, 22 Oct 2005 14:42:51 +1000 committer Paul Mackerras Sat, 22 Oct 2005 14:42:51 +1000 powerpc: Move agp_special_page export to where it is defined ... instead of exporting it in arch/*/kernel/ppc_ksyms.c. Signed-off-by: Paul Mackerras commit cf482935c6abe5245e481213c6e6df808c976f56 tree 076ce597d2a7a07039e7834f2d15411fa3e2d0b7 parent 452503f993feffe96e8cc9fbff4888b96e2c5e40 author Jeff Garzik Sat, 22 Oct 2005 00:19:33 -0400 committer Jeff Garzik Sat, 22 Oct 2005 00:19:33 -0400 libata: turn on block layer clustering commit 2d5a2ae52d8863275e2d26398bc010249ea709d1 tree d616b75e3ca5b317db905984aea16ebe777e4a2d parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Jeff Garzik Sat, 22 Oct 2005 00:14:31 -0400 committer Jeff Garzik Sat, 22 Oct 2005 00:14:31 -0400 drivers/block/sx8: several minor changes * Newer hardware doesn't corrupt data when the queue depth is greater than one. Rather than force the user to recompile with a greater queue depth, make it a module parameter. * update copyright date * add MODULE_VERSION() * trim trailing whitespace * move CARM_SG_BOUNDARY to a separate enum, since its unsigned long * bump to version 1.0 commit 6958ae318bb1af5e0b77968384700fb184fb8893 tree 3abd55711f92ca14caf2617d79957d6f429f456a parent 27678201333e1b9a9a7fc8e685d858132956113e author Kyle McMartin Fri, 21 Oct 2005 23:11:27 -0400 committer Kyle McMartin Fri, 21 Oct 2005 23:11:27 -0400 [PARISC] Update MAINTAINERS and CREDITS Add Kyle McMartin and Thibaut Varene as maintainers for ALSA ad1889 driver. Add myself to CREDITS. Signed-off-by: Kyle McMartin commit 27678201333e1b9a9a7fc8e685d858132956113e tree 1aaf6756d92bd6b0e10046ab85b724c26d1eacca parent 6ab0f5cd364476fe5cb329fd46ee41bea6d4c69c author Kyle McMartin Fri, 21 Oct 2005 23:11:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 23:11:03 -0400 [PARISC] defconfig updates defconfig updates from Kyle McMartin, Grant Grundler, and Matthew Wilcox. Signed-off-by: Kyle McMartin commit 6ab0f5cd364476fe5cb329fd46ee41bea6d4c69c tree d89c5f47149b443e05345ed8e7c8c9d8960cfa15 parent ae8c75c1c47029a64976690c37336a2be6b49778 author Matthew Wilcox Fri, 21 Oct 2005 22:58:51 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:58:51 -0400 [PARISC] Update parisc specific input code from parisc tree Update drivers to new input layer changes. Signed-off-by: Helge Deller Signed-off-by: Matthew Wilcox Reorder code in gscps2_interrupt() and only enable ports when opened. This fixes issues with hangs booting an SMP kernel on my C360. Previously serio_interrupt() could be called before the lock in struct serio was initialised. Signed-off-by: Richard Hirst Signed-off-by: Kyle McMartin commit ae8c75c1c47029a64976690c37336a2be6b49778 tree 4af797b490b210f40770d685cf89f760efe15199 parent 27ee073cd2f72aa794299ef1ead31072f5176533 author Matthew Wilcox Fri, 21 Oct 2005 22:58:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:58:03 -0400 [PARISC] Fix mux.c driver Missing spin_lock_init() made the Mux driver hang on SMP systems. Fix up users of ->hpa to use ->hpa.start instead Remove warning in 8250_gsc.c by eliminating serial_line_nr Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 27ee073cd2f72aa794299ef1ead31072f5176533 tree 9a9bec76bbcf934454e0d9fef70c77f9ac6ca286 parent abff75439fd6e9b5774e5984d4c3b3b59cb3038b author Matthew Wilcox Fri, 21 Oct 2005 22:57:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:57:43 -0400 [PARISC] Update scsi drivers from parisc tree Fix lasi700 for James's ioread*be() changes Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit abff75439fd6e9b5774e5984d4c3b3b59cb3038b tree 2388b814d69621ce9d3ee0d37776f51b4aa86133 parent e55fb3e787ccfbbdb3198ec859d5689e5413c7bd author Randolph Chung Fri, 21 Oct 2005 22:57:13 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:57:13 -0400 [PARISC] Avoid use of floating point in the kernel don't use *printf %f in the kernel, mm'kay? Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit e55fb3e787ccfbbdb3198ec859d5689e5413c7bd tree 09d3def62c8d2e268655afc10f8f6f3647c1fea6 parent 61520e1f8f5ec3a78510a3254947324711944b98 author Grant Grundler Fri, 21 Oct 2005 22:56:53 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:53 -0400 [PARISC] Properly specify section alignment for real2.S .align applies to the current section - ie section directives come first. Thanks to Joel Soete for catching this. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 61520e1f8f5ec3a78510a3254947324711944b98 tree f3fae16fc105543b505a2e9f6d4de2b852d44655 parent e635c96ed6c972e1b3cb0c0fc3681c1204697287 author Grant Grundler Fri, 21 Oct 2005 22:56:35 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:35 -0400 [PARISC] Specify level to fix binutils level promotion bug fixup.S needs to specify .level and use correct LDREG macro. New binutils has a bug where it doesn't "promote" from PA1.0 to PA1.1 correctly when using ",s" completer. remove use of __LP64__ in assembly.h and add some white space. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit e635c96ed6c972e1b3cb0c0fc3681c1204697287 tree 7bae8401ea7ed96881341b6c4793985d79cf6839 parent 9b3b331d0322b60de1bde20528bf974f62804ffa author Matthew Wilcox Fri, 21 Oct 2005 22:56:14 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:14 -0400 [PARISC] Explicitly specify sr4 when flushing kernel space Specify sr4 when flushing kernel space (we could equally well use sr5-7, but must not use sr0). Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 9b3b331d0322b60de1bde20528bf974f62804ffa tree 6c9f07131f4985f8b48ccd198a88d6405fc43869 parent 37318a3cb1028933417533084ddbf9d84be06878 author Grant Grundler Fri, 21 Oct 2005 22:55:51 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:51 -0400 [PARISC] Properly specify index field to I/D cache flush ops replace use of "0" with "%r0" since PA 1.1 I/D flush ops only take a general register and not an immediate value for the index field. This just forces the code to always be PA 1.1 "clean". From: Joel Soete Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 37318a3cb1028933417533084ddbf9d84be06878 tree 2806c46b71e68f2c5da2cff54adfc0407a5b7cce parent c2709020adb442f7d25f0805af08a3b6cfedd7be author Grant Grundler Fri, 21 Oct 2005 22:55:34 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:34 -0400 [PARISC] Fix copy_user_page_asm to NOT access past end of page 2.6.12-rc2-pa3 fix copy_user_page_asm to NOT access past end of page. My bad. /o\ Lamont confirmed that instructions following a conditional branch are *alway* executed regardless if the branch is taken or not. Unless they are nullified (which was missing in this case). He also noted: Conditional branches nullify on forward taken branch, and on non-taken backward branch. Note that .+4 is a backwards branch. This makes alot more sense than the giberish in the PA20 arch book. Compiles and boots on both 64-bit (a500) and 32-bit (j6k). Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit c2709020adb442f7d25f0805af08a3b6cfedd7be tree abebd5eb62274e79c5084c94bef2c0495529acce parent dd0fd51dc1585941c2edccdb40e5f11ea3a64496 author Sven Schnelle Fri, 21 Oct 2005 22:55:15 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:15 -0400 [PARISC] Add NETPOLL support to lasi_82596 add netpoll support Patch by Sven Schnelle Signed-off-by: Sven Schnelle Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit dd0fd51dc1585941c2edccdb40e5f11ea3a64496 tree 4da7851b8972bb7251789b3862642aca8274aa07 parent 63af965d2bc8d8c5d4c5949b8d3dbdc3c7b7d97a author James Bottomley Fri, 21 Oct 2005 22:54:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:38 -0400 [PARISC] Remove the spurious do_softirq calls from entry.S remove the spurious do_softirq calls from entry.S With these in we were calling do_softirq twice; plus the calls in entry.S took no account of nesting. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit 63af965d2bc8d8c5d4c5949b8d3dbdc3c7b7d97a tree 997f10729a93f9058e999dffc88882c4d54f8351 parent b4b45313e58bf25886072a4ab111fac553747802 author Grant Grundler Fri, 21 Oct 2005 22:54:20 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:20 -0400 [PARISC] Define pgprot_noncached macro in pgtable.h drivers/infiniband depends on definition of pgprot_noncached() macro. Someone else will have to fix it's wrong. Signed-off-by: Grant Grundler commit b4b45313e58bf25886072a4ab111fac553747802 tree 8e3ea1a166462a7630cba054e66ef7ba7268d4ae parent 05aa10de701409b893484d2901c8974b3382f8fe author Kyle McMartin Fri, 21 Oct 2005 22:54:00 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:00 -0400 [PARISC] Add other CRT_ID for newer cards to grfioctl.h Add IDs for some other STI graphics cards found on HP PA-RISC machines. Signed-off-by: Kyle McMartin commit 05aa10de701409b893484d2901c8974b3382f8fe tree e4cd05811271e2f6052139b58a533d8df37710f6 parent 618febd6784054eea928d712b7e564558a7cefd5 author Grant Grundler Fri, 21 Oct 2005 22:53:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:43 -0400 [PARISC] Add ECANCELED to errno.h add ECANCELED - SuSv3 wants one L. IB/SDP actually returns this error. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 618febd6784054eea928d712b7e564558a7cefd5 tree 13a60c377dc5a17f44e9b3b227e5996e0ba7e5a4 parent b2450cc1b7ce07d73545ece32db50197d649e230 author James Bottomley Fri, 21 Oct 2005 22:53:26 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:26 -0400 [PARISC] Fix the alloc_slabmgmt panic Fix the alloc_slabmgmt panic Hopefully this should also fix a lot of other intermittent kernel bugs. The problem has been around since 2.6.9-rc2-pa6 when we allowed floating point registers to be used in kernel code. The essence of the problem is that gcc prefers to use floating point for integer divides and multiples. Further, it can rely on the values in the no clobber fp regs being correct across a function call. Unfortunately, our task switch function only saves the integer no clobber registers, not the fp ones, so if gcc makes a function call to any function in the kernel which could sleep, the values it is relying on in any no clobber floating point register may be lost. In the case of alloc_slabmgmt, the value of the page offset is being stored in %fr12 across a call to kmem_getpages(), which sleeps if no pages are available. Thus, the offset can be trashed and the slab code can end up with a completely bogus address leading to corruption. Kudos to Randolph who came up with the program to trip this problem at will and thus allowed it to be tracked and fixed. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit b2450cc1b7ce07d73545ece32db50197d649e230 tree 6cde982570c3989ee417c83115bdce4f74f858b8 parent 8b631342dd9db9ca272e11814e041e4ee3d1a948 author Carlos O'Donell Fri, 21 Oct 2005 22:53:04 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:04 -0400 [PARISC] Implement 5 argument clone. * arch/parisc/kernel/process.c (sys_clone): Use 5 args, and process CLONE_PARENT_SETTID, CLONE_CHILD_SETTID, CLONE_CHILD_CLEARTID. (copy_thread): First cut at CLONE_SETTLS. Signed-off-by: Carlos O'Donell Signed-off-by: Kyle McMartin commit 8b631342dd9db9ca272e11814e041e4ee3d1a948 tree 52d7975960c6f018ce0bdab1566e9b41511b7cbf parent 5beb5f32c56b70f79117e13a1abd54824a78466c author Grant Grundler Fri, 21 Oct 2005 22:52:46 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:52:46 -0400 [PARISC] Update Kconfig for itimer selection 2.6.14-rc2-pa1: enable 100/250/1000HZ itimer selection Signed-off-by: Grant Grundler Mark floppy as broken. Thanks Joel Signed-off-by: Matthew Wilcox make DISCONTIGMEM depend on 64BIT Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 5beb5f32c56b70f79117e13a1abd54824a78466c tree a0dd70e130a735f6ffacc82ee6928ec34d7445b0 parent 675ec7a56a77da2dda27180c95ee82ae4879142a author Randolph Chung Fri, 21 Oct 2005 22:52:00 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:52:00 -0400 [PARISC] Update minimum compiler version and CROSS_COMPILE for parisc64 Prefix changed in debian, include "gnu" in the commandline. Signed-off-by: Carlos O'Donell Ensure the compiler version is new enough (>= 3.3) Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 675ec7a56a77da2dda27180c95ee82ae4879142a tree 2b31efafa8306c1e60d9773a0cc61b5eb3f16b4c parent c8e8b1937a788ec46ee11d84437311d4cb8be218 author Grant Grundler Fri, 21 Oct 2005 22:51:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:51:40 -0400 [PARISC] Document history of PDC_NARROW as it is now obsolete Document history of PDC_NARROW a bit as it will still show up in an older kernel's .config file. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit c8e8b1937a788ec46ee11d84437311d4cb8be218 tree 6095b828530f992d03825fc7dd379bfda0ee8751 parent b8db800295fd31f8beb39fd1de63660aa7aef47b author Jesper Juhl Fri, 21 Oct 2005 22:51:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:51:23 -0400 [PARISC] kfree cleanups to ioctl32.c 2.6.12-rc2-pa2 kfree cleanups from Jesper Juhl Signed-off-by: Jesper Juhl Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit b8db800295fd31f8beb39fd1de63660aa7aef47b tree 0c1a00f6dcc0c8950ceffce45323b606a70db471 parent 8054f03f6330f20e9d47e2f6c7b1d01ddf5adeef author Grant Grundler Fri, 21 Oct 2005 22:50:48 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:48 -0400 [PARISC] Cleanup whitespace and handle proc_mkdir() failures in pci-dma.c 1) cleanup whitespace and handle proc_mkdir() failures. From: Christophe Lucas 2) rename "dino" entry to "pcxl_dma"...also seems like it's in the wrong location. 3) don't dump resource bitmap in /proc/pcxl_dma output 4) fixup compiler warning Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 8054f03f6330f20e9d47e2f6c7b1d01ddf5adeef tree e476059c88991ecbf1a7ffafb0b9e21ceb95204a parent 7c92e972da0dd5b6a9ddf01030aab7dec9912b1f author Grant Grundler Fri, 21 Oct 2005 22:50:33 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:33 -0400 [PARISC] More informative error message in pcibios_link_hba_resources Generate a more informative message when a resource does not have a parent. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 7c92e972da0dd5b6a9ddf01030aab7dec9912b1f tree bd2d132c35e044e31dcab92915f202265f9d7929 parent 40c72f20e89300dfaea28300ee17aa56d230d63f author Matthew Wilcox Fri, 21 Oct 2005 22:50:06 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:06 -0400 [PARISC] Update pdc console from parisc tree Get rid of some unnecessary includes Remove a layer of macro indirection around pdc_console_device Delete pdc_console_die() as it is unused Avoid double-printing on panic by clearing CON_PRINTBUFFER rather than setting con_start to be log_end Make con_start and log_end static again Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 40c72f20e89300dfaea28300ee17aa56d230d63f tree 9303278860122e15e1def56caac7a73a556429c1 parent eba917273eb8579dd8ae36f6645518ca5579a2ab author Randolph Chung Fri, 21 Oct 2005 22:49:47 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:47 -0400 [PARISC] Prevent signal loops if we have a problem setting up a frame 2.6.13-rc6-pa2 use force_sigsegv() if we have a problem setting up a frame. This is required to prevent SIGSEGV loops. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit eba917273eb8579dd8ae36f6645518ca5579a2ab tree e2f6e86ea96e42bcfa78661a5d69e4c050218f2c parent 74d13f84a9905e02a025d952ced6abb2e064f1c1 author Thibaut Varene Fri, 21 Oct 2005 22:49:25 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:25 -0400 [PARISC] Add printing of fpregs state to stack dump We're using fp regs now in the kernel, so we want to print them on stack dump Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 74d13f84a9905e02a025d952ced6abb2e064f1c1 tree f1ea8ccd5a19db2402ec85c48a136ebed2c31e6e parent fa681a1800a58234afe4d876c1752c0751826d22 author Matthew Wilcox Fri, 21 Oct 2005 22:49:05 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:05 -0400 [PARISC] Fix compile warning in pci.h Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit fa681a1800a58234afe4d876c1752c0751826d22 tree 121863680509f24c2edc94009a703486b16e8768 parent 7efe1611b2db9025ffc52a686897ab91820caeb4 author Randolph Chung Fri, 21 Oct 2005 22:48:34 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:48:34 -0400 [PARISC] Disable use of fpregs in pa_memcpy Disable use of fpregs in pa_memcpy, and turn on the -mdisable-fpregs flag. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 7efe1611b2db9025ffc52a686897ab91820caeb4 tree 83e44db7a424f40cc4259780be029eab4d8d6179 parent 91313d60d8ad96fa79a833e55e8c13b56f893614 author Kyle McMartin Fri, 21 Oct 2005 22:48:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:48:03 -0400 [PARISC] Initialize serial spinlocks in superio.c git commit 976ecd12b8144d066a23fe97c6fbfc1ac8470af7 changed our locking characteristics, and put the onus of spin_lock_init on superio.c. Signed-off-by: Kyle McMartin commit 91313d60d8ad96fa79a833e55e8c13b56f893614 tree 4808780dd7837cbbb2e242686d026caa26178e1c parent 3aa0862ce7c120e035bc2aa25997fd000d964d6e author Grant Grundler Fri, 21 Oct 2005 22:47:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:47:40 -0400 [PARISC] Add sync required after fdc to enforce insn ordering PA20 arch book (page 7-52 and 7-55) indicate a "sync" is required after the FDC "to enforce instruction ordering". And we want to make sure FIC is executed after FDC has retired. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 3aa0862ce7c120e035bc2aa25997fd000d964d6e tree 2e477339f4d91467fbcaa3c873776e759fb7942f parent 413059f28e9949d9ad2d04d1070c63169798176e author Grant Grundler Fri, 21 Oct 2005 22:47:04 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:47:04 -0400 [PARISC] Minor iosapic.c cleanup minor cleanup: qualify constant with "UL" Acked-by: "Hmamouche, Youssef" Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 413059f28e9949d9ad2d04d1070c63169798176e tree c4609bc151c3f88f7e8f2128e81c32356f842063 parent 3499495205a676d85fcc2f3c28e35ec9b43c47e3 author Grant Grundler Fri, 21 Oct 2005 22:46:48 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:46:48 -0400 [PARISC] Replace uses of __LP64__ with CONFIG_64BIT 2.6.12-rc4-pa3 s/__LP64__/CONFIG_64BIT/ and fixup config.h usage Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 tree a22c976db8b5c81f3f42b283a37954f9381f3f9f parent ba1f188cae2f58e6bf3ecf4ea99a8dc4b0e2ea0e author Grant Grundler Fri, 21 Oct 2005 22:46:18 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:46:18 -0400 [PARISC] Use work queue in LED/LCD driver instead of tasklet. 2.6.12-rc1-pa6 use work queue in LED/LCD driver instead of tasklet. Main advantage is it allows use of msleep() in the led_LCD_driver to "atomically" perform two MMIO writes (CMD, then DATA). Lead to nice cleanup of the main led_work_func() and led_LCD_driver(). Kudos to David for being persistent. From: David Pye Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit ba1f188cae2f58e6bf3ecf4ea99a8dc4b0e2ea0e tree ddae7480dbac1c18cd5377b7ffcbf19426448f9f parent a366064c3ff46c985a3c7243468be197d29874dc author Jens Axboe Fri, 21 Oct 2005 22:45:57 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:45:57 -0400 [PARISC] Add new ioprio_{set,get} syscalls add syscall entries for ioprio_set/get as per Jens Axboe. Signed-off-by: Jens Axboe Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit a366064c3ff46c985a3c7243468be197d29874dc tree 379418f6bbbfcfb8ebd6a53786e8d5e0a19d0327 parent 2464212f68136527f6364d63c23a529e1fd7d168 author Grant Grundler Fri, 21 Oct 2005 22:45:22 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:45:22 -0400 [PARISC] Update bitops from parisc tree Optimize ext2_find_next_zero_bit. Gives about 25% perf improvement with a rsync test with ext3. Signed-off-by: Randolph Chung fix ext3 performance - ext2_find_next_zero() was culprit. Kudos to jejb for pointing out the the possibility that ext2_test_bit and ext2_find_next_zero() may in fact not be enumerating bits in the bitmap because of endianess. Took sparc64 implementation and adapted it to our tree. I suspect the real problem is ffz() wants an unsigned long and was getting garbage in the top half of the unsigned int. Not confirmed but that's what I suspect. Signed-off-by: Grant Grundler Fix find_next_bit for 32-bit Make masking consistent for bitops From: Joel Soete Signed-off-by: Randolph Chung Add back incorrectly removed ext2_find_first_zero_bit definition Signed-off-by: James Bottomley Fixup bitops.h to use volatile for *_bit() ops Based on this email thread: http://marc.theaimsgroup.com/?t=108826637900003 In a nutshell: *_bit() want use of volatile. __*_bit() are "relaxed" and don't use spinlock or volatile. other minor changes: o replaces hweight64() macro with alias to generic_hweight64() (Joel Soete) o cleanup ext2* macros so (a) it's obvious what the XOR magic is about and (b) one version that works for both 32/64-bit. o replace 2 uses of CONFIG_64BIT with __LP64__. bitops.h used both. I think header files that might go to user space should use something userspace will know about (__LP64__). Signed-off-by: Grant Grundler Move SHIFT_PER_LONG to standard location for BITS_PER_LONG (asm/types.h) and ditch the second definition of BITS_PER_LONG in bitops.h Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 2464212f68136527f6364d63c23a529e1fd7d168 tree 5a7a9b56570be465c87047a28d38aadf1357e698 parent f053725b8985d10c2cc4b837a80a381104c936a4 author Stuart Brady Fri, 21 Oct 2005 22:44:14 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:44:14 -0400 [PARISC] Fix parisc_setup_cache_timing to choose a better flush threshold update comment about CAFL_STRIDE Signed-off-by: Kyle McMartin Fixed a bug in parisc_setup_cache_timing() which caused it to calculate a poor value for parisc_cache_flush_threshold. Thanks to Joel Soete for spotting the bug. Thanks to James Bottomley for pointing out the clean way to fix this. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit f053725b8985d10c2cc4b837a80a381104c936a4 tree b9539783ec2f608638dd0d92c2c56d49eb19d93e parent 99ac79479928bae42d694b7cb53644be5d3b6dd2 author Kyle McMartin Fri, 21 Oct 2005 22:43:15 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:43:15 -0400 [PARISC] Add ability for prctl to change unaligned trap behaviour Add support for changing unaligned trap behaviour on a per-thread basis. Signed-off-by: Kyle McMartin commit 99ac79479928bae42d694b7cb53644be5d3b6dd2 tree f7f8793f2d5df8d3179f86c1eb75c93a2c94749b parent 3a165680168758733b7a9f7fb835954fbe6b91a8 author Randolph Chung Fri, 21 Oct 2005 22:42:57 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:57 -0400 [PARISC] Replace some calls to bl with b,l or bv to use longer offsets convert some bl calls to b,l or bv to use longer offsets Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 3a165680168758733b7a9f7fb835954fbe6b91a8 tree 634b8e305fd9de734f77ac224d404abd574b9d0a parent 5cd55b0edee7f979530c86b23728d461ddeb9f3f author Stuart Brady Fri, 21 Oct 2005 22:42:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:38 -0400 [PARISC] Update harmony from parisc tree o Added a control for the input source (which can be either "line" or "mic") o Mute the speaker/line-out/headphone outputs by default. o Increased the buffer size from 10 pages to 16. Signed-off-by: Stuart Brady ALSA Harmony was resetting the capture position when preparing the capture substream, which it shouldn't do. This should fix the problem. Signed-off-by: Stuart Brady ALSA Harmony should no longer play junk (left in the buffers from a previous stream) at the start of a new stream. Implement the monitor mixer channel for ALSA Harmony. Also prevent snd_harmony_volume_get from returning negative values. Signed-off-by: Stuart Brady Use the graveyard/silence buffers in ALSA Harmony. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit 5cd55b0edee7f979530c86b23728d461ddeb9f3f tree a279495f59c8de8bbfdd1bbdfd0b0927160fa669 parent 951a0150135c46c7791d68e0d1112900d99302d7 author Randolph Chung Fri, 21 Oct 2005 22:42:18 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:18 -0400 [PARISC] Take into account nullified insn and lock functions for profiling export profile_pc() symbol - oprofile needs it when built as a module. Signed-off-by: Grant Grundler Take into account nullified insn and lock functions for profiling This is needed at the end of functions; it is typical that the return branch nullifies the next insn, which is in the next function. This causes profiling data to show up against the "wrong" function. We also count lock times against the locker. This is consistent with other architectures. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 951a0150135c46c7791d68e0d1112900d99302d7 tree 19ca9f01cc7159814f3db9566061be3afeb3033e parent 14e256c107304367eff401d20f2ab9fa72e33136 author Matthew Wilcox Fri, 21 Oct 2005 22:41:49 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:41:49 -0400 [PARISC] Reorganize sticore probe routine to be a little less convoluted Fix some whitespace issues Reorganise parisc_device probe routine to be a little less convoluted Use ->hpa.start instead of ->hpa Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 14e256c107304367eff401d20f2ab9fa72e33136 tree beff45e23977abbb89aa3cc4851ad4f98b283bff parent 04d472dc83388c59deb6241e9aed841926aa1c8c author Matthew Wilcox Fri, 21 Oct 2005 22:41:25 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:41:25 -0400 [PARISC] Update spinlocks from parisc tree Neaten up the CONFIG_PA20 ifdefs More merge fixes, this time for SMP Signed-off-by: Matthew Wilcox Prettify the CONFIG_DEBUG_SPINLOCK __SPIN_LOCK_UNLOCKED initializers. Clean up some warnings with CONFIG_DEBUG_SPINLOCK enabled. Fix build with spinlock debugging turned on. Patch is cleaner like this, too. Remove mandatory 16-byte alignment requirement on PA2.0 processors by using the ldcw,CO completer. Provides a nice insn savings. Signed-off-by: Kyle McMartin commit 04d472dc83388c59deb6241e9aed841926aa1c8c tree b6ebff62c0f62416f9c84bb24e1d6b2901661e02 parent 896a375623c3643a3f189353e7d4828c48a7fdf8 author Grant Grundler Fri, 21 Oct 2005 22:40:24 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:40:24 -0400 [PARISC] Move pa_tlb_lock to tlb_flush.h move pa_tlb_lock and it's primary consumers to tlb_flush.h Future step will be to move spinlock_t definition out of system.h. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 896a375623c3643a3f189353e7d4828c48a7fdf8 tree bb79535f843110f9b2b199890157fcabb0504b43 parent b2c1fe81df7471de9f7e2918877ac04ec9cde35f author Grant Grundler Fri, 21 Oct 2005 22:40:07 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:40:07 -0400 [PARISC] Make sure use of RFI conforms to PA 2.0 and 1.1 arch docs 2.6.12-rc4-pa3 : first pass at making sure use of RFI conforms to PA 2.0 arch pages F-4 and F-5, PA 1.1 Arch page 3-19 and 3-20. The discussion revolves around all the rules for clearing PSW Q-bit. The hard part is meeting all the rules for "relied upon translation". .align directive is used to guarantee the critical sequence ends more than 8 instructions (32 bytes) from the end of page. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit b2c1fe81df7471de9f7e2918877ac04ec9cde35f tree 742a0a30608828b379e911c40ffa80cf576c93b4 parent 92b919fe46509820c639a08962cbf78bc8d227d9 author Grant Grundler Fri, 21 Oct 2005 22:39:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:39:43 -0400 [PARISC] Allow STI_CONSOLE access to some FONTS add || STI_CONSOLE to some of the basic FONTs. May need to get at least one of them to default to "Y" for parisc. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 92b919fe46509820c639a08962cbf78bc8d227d9 tree a4c138f9b224129b0bebbea4533cfe7e1a1dba07 parent 86a61ee9c9f3d8b632d29e86ac6610c43ebbb4f0 author Matthew Wilcox Fri, 21 Oct 2005 22:38:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:38:23 -0400 [PARISC] Update dino from parisc tree Fix card-mode Dino crashes on 725 (and probably other Snake) systems. Dino was coming up in fatal mode after a warm reboot. Resetting Dino brings it out of fatal mode, so do that if the status register indicates we're in fatal mode. Since this was never observed on any later systems, I presume firmware does this for us on those. Signed-off-by: Matthew Wilcox Add debug statements in the cfg_read and cfg_write functions Fix debug statements from the IRQ overhaul last winter Rename dino_driver_callback() to dino_probe() Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 86a61ee9c9f3d8b632d29e86ac6610c43ebbb4f0 tree d9289057621307b63d5f0f902ab0f37826ccb1f8 parent 64908ad95c34f25849412d6d4735ac10f8fb6575 author Grant Grundler Fri, 21 Oct 2005 22:37:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:37:43 -0400 [PARISC] Update ccio-dma from parisc tree revert use of %%sr0 in fdc asm. Thanks to Joel Soete for pointing out this oversight. Signed-off-by: Grant Grundler 2.6.14-rc2-pa3 fdc/lci should be %r0 instead 0 for index (PA 1.1 compliance) From: Joel Soete Signed-off-by: Grant Grundler Explain why we need insert_resource() instead of request_resource(). Fundementally, this is more convoluted for ccio driver because of o legacy (HP-PB) transperant bridges. o support for MMIO behind card-mode Dino (PCI) o support for above bridges without ccio in the box SBA driver doesn't have to worry about those issues. Signed-off-by: Grant Grundler Use insert_resource instead of request_resource now that the subdevices will already have their resources claimed Signed-off-by: Matthew Wilcox re-enable use of "inline" for perf critical functions. Signed-off-by: Grant Grundler 2.6.12-rc4-pa5 fix sign extension of MMIO range Fixes the problem of claiming a range that is disabled on 64-bit kernel: ccio_init_resource() claimed CCIO bus address space (ffffffff00000000, ffffffffffffffff) also removes use of __FILE__. Tested on both 32 and 64-bit systems by Joel. From: Joel Soete Signed-off-by: Grant Grundler 2.6.12-rc1-pa7 incorrect BUG_ON in ccio ccio-dma.c line 1317 was preventing K-class with 4GB RAM from booting. Any ccio machine with >=2GB of RAM would have (incorrectly) triggered this. Signed-off-by: Grant Grundler Convert to ioremap and __raw_read/write Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 64908ad95c34f25849412d6d4735ac10f8fb6575 tree 544173d34dadfb80339e3d4ba147875ad1f5c731 parent 53f01bba49938f115237fe43a261c31ac13ae5c6 author Grant Grundler Fri, 21 Oct 2005 22:37:20 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:37:20 -0400 [PARISC] Update sba_iommu from parisc tree revert use of %%sr0 in fdc asm. Thanks to Joel Soete for pointing out this oversight. Signed-off-by: Grant Grundler 2.6.14-rc2-pa3 move "sync" outside the main loop that fills IO Pdir. Signed-off-by: Grant Grundler remove explicit use of sr0 in fdc ops. Thanks to Joel Soete for reminding me were I added those... Signed-off-by: Grant Grundler 2.6.14-rc2-pa2 - make SBA more anal about invalidating pdir entries Previous code cleared the valid flag a pdir entry but it did NOT guarantee this change was visible to the PDIR before writing the PCOM register. Ie the SBA could pick up a stale entry if the write happened to hit the SBA before the cacheline was flushed from the cache. Long term, I think I want to make this a compile time flag. Developement tree should enable anal pdir checking by default and Debian can disable it with either a CONFIG option or one-line patch. fdc/sync options can only negatively affect performance though I haven't measure how much yet. If someone can run netperf TCP_RR across gige and compare -pa1 and -pa2, that would be sufficient. Cleaned up the use of "fdc" to make sure it's using "kernel" space id (specify sr0 but maps to sr4-7). It seems a bit fragile to assume "sr1" gets loaded with KERNEL_SPACE which is how the code works today. Tested on 32 and 64-bit SMP kernels on j6k. Signed-off-by: Grant Grundler remove PDC_NARROW from SBA and document history of PDC_NARROW a bit. It will still show up in an older kernel's .config file. Signed-off-by: Grant Grundler if/ifdef cleanups from Joel Soete. Signed-off-by: Grant Grundler 2.6.12-rc4-pa2 fix 32-bit support for Astro platforms o Since my last SBA code change, SBA could allocate more than 1GB of IOVA space on Astro boxes with more than 1GB of RAM when running 32-bit kernel. This is bad since IOMMU can only talk to the first 1GB at most. Kudos to jejb for quickly spotting that bug. o jejb also noted SBA should *always* reject DMA masks > 32-bits since DMA-mapping.txt indicates caller should try again with 32-bits. o off-by-one error when comparing the mask to IOVA space size. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 53f01bba49938f115237fe43a261c31ac13ae5c6 tree df2a5fa9d95c7e69447ac0c89d6e149888c9bd1c parent bdad1f836ab1ca2b18a625222f63f630cfd14e41 author Matthew Wilcox Fri, 21 Oct 2005 22:36:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:36:40 -0400 [PARISC] Convert parisc_device to use struct resource for hpa Convert pa_dev->hpa from an unsigned long to a struct resource. Signed-off-by: Matthew Wilcox Fix up users of ->hpa to use ->hpa.start instead. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit bdad1f836ab1ca2b18a625222f63f630cfd14e41 tree b52b796d4f93b56b8cf23b23219c7083e363c96b parent 5658374766d9e0249bd04e9d62bdb8456b916b64 author Matthew Wilcox Fri, 21 Oct 2005 22:36:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:36:23 -0400 [PARISC] Change the driver names so /sys/bus/parisc/drivers/ looks better Make /sys/bus/parisc/drivers look better by cleaning up parisc_driver names. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 5658374766d9e0249bd04e9d62bdb8456b916b64 tree 61ae77a2c8faf7bb420be00d989b89c5ffd1f4ee parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Matthew Wilcox Fri, 21 Oct 2005 22:33:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:33:38 -0400 [PARISC] Convert parisc_device tree to use struct device klists Fix parse_tree_node. much more needs to be done to fix this file. Signed-off-by: Matthew Wilcox Make drivers.c compile based on a patch from Pat Mochel. From: Patrick Mochel Signed-off-by: Kyle McMartin Fix drivers.c to create new device tree nodes when no match is found. Signed-off-by: Richard Hirst Do a proper depth-first search returning parents before children, using the new klist infrastructure. Signed-off-by: Richard Hirst Fixed parisc_device traversal so that pdc_stable works again Fixed check_dev so it doesn't dereference a parisc_device until it has verified the bus type Signed-off-by: Randolph Chung Convert pa_dev->hpa from an unsigned long to a struct resource. Use insert_resource() instead of request_mem_region(). Request resources at bus walk time instead of driver probe time. Don't release the resources as we don't have any hotplug parisc_device support yet. Add parisc_pathname() to conveniently get the textual representation of the hwpath used in sysfs. Inline the remnants of claim_device() into its caller. Signed-off-by: Matthew Wilcox I noticed that some of the STI regions weren't showing up in iomem. Reading the STI spec indicated that all STI devices occupy at least 32MB. So check for STI HPAs and give them 32MB instead of 4kB. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit e78a57de94480226f7fc90d0b4837bfc6c99a9e0 tree bfe0a664f88b6cb9d284869d615ae2d7fdb7cf63 parent 77501f3cb648e18733509a951ed31eddd7ef2c0b parent 452503f993feffe96e8cc9fbff4888b96e2c5e40 author Jeff Garzik Fri, 21 Oct 2005 21:33:27 -0400 committer Jeff Garzik Fri, 21 Oct 2005 21:33:27 -0400 Merge branch 'upstream' commit 452503f993feffe96e8cc9fbff4888b96e2c5e40 tree 83163004da490ea8521ec753df71121b62de200a parent 11e29e21514517f3022a1f30998ac4c7b1197658 author Alan Cox Fri, 21 Oct 2005 19:01:32 -0400 committer Jeff Garzik Fri, 21 Oct 2005 19:01:32 -0400 Add ide-timing functionality to libata. This is needed for full AMD and VIA drivers and possibly more. Functions to turn actual clocking and cycle timings into register values. Also to merge shared timings to compute an optimal timing set. Built from the drivers/ide version by Vojtech Pavlik Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 11e29e21514517f3022a1f30998ac4c7b1197658 tree 195f9ce419f5141d6bab4676184d16fd600cf139 parent 307e4dc28ee255bf22b431f242f847c9d96fe3fa author Alan Cox Fri, 21 Oct 2005 18:46:32 -0400 committer Jeff Garzik Fri, 21 Oct 2005 18:46:32 -0400 libata: handle early device PIO modes correctly commit 9789089703c244ad766a13f441936736b6b1e709 tree 096e552a197400429a033f235fadd4ccbe886f01 parent 59b81827071a8ae7f399da533d268e1e33bfeeb7 parent 519a62bb8a0b0b383e6022cad6242cf63efc015c author Jeff Garzik Fri, 21 Oct 2005 14:58:47 -0400 committer Jeff Garzik Fri, 21 Oct 2005 14:58:47 -0400 Merge rsync://bughost.org/repos/ieee80211-delta/ commit 519a62bb8a0b0b383e6022cad6242cf63efc015c tree 34c1caebdf145d79f31ff2a2537e29402952d5ec parent d3f7bf4fa9626d371f26cd310477202628a8126a author James Ketrenos Thu, 20 Oct 2005 15:57:03 -0500 committer James Ketrenos Fri, 21 Oct 2005 13:00:40 -0500 Update version ieee80211 stamp to 1.1.6 commit d3f7bf4fa9626d371f26cd310477202628a8126a tree 7b12b1ed327ff6f8e9820979e302e23e6a157223 parent f0f15ab5542f73d07e35eeee713df289599427b2 author Michael Buesch Fri, 21 Oct 2005 12:39:52 -0500 committer James Ketrenos Fri, 21 Oct 2005 13:00:28 -0500 ieee80211 subsystem: * Use GFP mask on TX skb allocation. * Use the tx_headroom and reserve requested space. Signed-off-by: Michael Buesch Signed-off-by: James Ketrenos commit ab27642b59b68d18df5a9aa5fa81b5ab5735aa77 tree afc2f191ef73e6eb1064de6358f44177d691aab0 parent ba9b543d5bec0a7605952e2ba501fb8b0f3b6407 parent 654b1536b0927d189526b9063818e0790aa3ea23 author Trond Myklebust Fri, 21 Oct 2005 10:42:58 -0700 committer Trond Myklebust Fri, 21 Oct 2005 10:42:58 -0700 Merge branch 'master' of ssh://rsync.linux-nfs.org/home/trondmy/www_sites/rsync.linux-nfs.org/pub/linux/nfs-2.6 commit d6d3f5bc68be3c4ab84e6f1f9db92291da671504 tree 76946c62cc7d1a18203fba50ea87fd567387f637 parent ac9b9c667c2e1194e22ebe0a441ae1c37aaa9b90 parent 23e7dd7d95f6fdc167a6d6ddea79ced0af33bbff author Steve French Fri, 21 Oct 2005 08:39:12 -0700 committer Steve French Fri, 21 Oct 2005 08:39:12 -0700 Merge with /pub/scm/linux/kernel/git/sfrench/cifs-2.6.git/ commit 05d84681abcb33fe34accb5982c413daeb4208c4 tree 713c1ac65109ab1e2b0bd30a29bad13f2caee38e parent 90eac727c6d7afbe707ce408edf97c33385fa08c author Michael Ellerman Fri, 21 Oct 2005 16:01:34 +1000 committer Paul Mackerras Fri, 21 Oct 2005 22:47:52 +1000 [PATCH] powerpc: Fix mmap returning 64 bit addresses The merge of syscalls.c & sys_ppc32.c (30286ef6e044bc3d9019c3d8b900572e3fa05e65) broke mmap, if the mmap returned a 64 bit address. do_mmap2 was taking the return value from do_mmap_pgoff (an unsigned long), and storing it in an int, before returning it to sys_mmap as an unsigned long. So we were losing the high bits of the address. You would have thought the compiler could catch this for us ... Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 90eac727c6d7afbe707ce408edf97c33385fa08c tree 130fc6e078e82a3c8fd62d90105d346637d680ea parent 6cb7bfebb145af5ea1d052512a2ae7ff07a47202 author Michael Ellerman Fri, 21 Oct 2005 16:01:33 +1000 committer Paul Mackerras Fri, 21 Oct 2005 22:47:39 +1000 [PATCH] powerpc: Don't blow away load_addr in start_thread The patch to make process.c work for 32-bit and 64-bit (06d67d54741a5bfefa31945ef195dfa748c29025) broke some 64-bit binaries. We were blowing away load_addr in gpr[2], so we weren't properly relocating the entry point. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 6cb7bfebb145af5ea1d052512a2ae7ff07a47202 tree 677ce52e6ad423f8a652ec3e16f98c3ad33fcc54 parent b0faa28493f97b55b36ff5b1a2b8c81bf253a460 author David Gibson Fri, 21 Oct 2005 15:45:50 +1000 committer Paul Mackerras Fri, 21 Oct 2005 22:47:23 +1000 [PATCH] powerpc: Merge thread_info.h Merge ppc32 and ppc64 versions of thread_info.h. They were pretty similar already, the chief changes are: - Instead of inline asm to implement current_thread_info(), which needs to be different for ppc32 and ppc64, we use C with an asm("r1") register variable. gcc turns it into the same asm as we used to have for both platforms. - We replace ppc32's 'local_flags' with the ppc64 'syscall_noerror' field. The noerror flag was in fact the only thing in the local_flags field anyway, so the ppc64 approach is simpler, and means we only need a load-immediate/store instead of load/mask/store when clearing the flag. - In readiness for 64k pages, when THREAD_SIZE will be less than a page, ppc64 used kmalloc() rather than get_free_pages() to allocate the kernel stack. With this patch we do the same for ppc32, since there's no strong reason not to. - For ppc64, we no longer export THREAD_SHIFT and THREAD_SIZE via asm-offsets, thread_info.h can now be safely included in asm, as on ppc32. Built and booted on G4 Powerbook (ARCH=ppc and ARCH=powerpc) and Power5 (ARCH=ppc64 and ARCH=powerpc). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit b0faa28493f97b55b36ff5b1a2b8c81bf253a460 tree c7735210c0de8f21bc91e5ef19b5ba930411a2c4 parent 5d14a18d59b661356409e5a1f624236155a209ba author David Gibson Fri, 21 Oct 2005 15:43:42 +1000 committer Paul Mackerras Fri, 21 Oct 2005 22:47:09 +1000 [PATCH] Fix broken initialization of conswitchp for ARCH=ppc64 In the merge tree, commit 0458060c1c59c5378d8fb5daabe18cf4681c35cd broke boot on some machines because the initialization of conswitchp was moved to arch/powerpc/kernel/setup_64.c, but a corresponding copy was not added to arch/ppc64/kernel/setup.c. This patch fixes it. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 307e4dc28ee255bf22b431f242f847c9d96fe3fa tree 939d7173d97c52680f3a63ff303ccf2f62f540cf parent 9aa36e89b5677a98d951cf7bef6d99a0f93ea633 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_vsc) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 9aa36e89b5677a98d951cf7bef6d99a0f93ea633 tree d9e663902fbc2f187bfc56ab16080c2b6d573e5f parent a9afd7cd2f65ff85f5ffe931beb879ccf12540e0 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_sil) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit a9afd7cd2f65ff85f5ffe931beb879ccf12540e0 tree 698aba1b97371d3fb6b3ece1ebda8e5e0e9ca741 parent 0420dd121d395e76f6b80fe232e7b4bc6a046f18 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_sx4) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 0420dd121d395e76f6b80fe232e7b4bc6a046f18 tree b45a5dbd3e1dda91eb92f856063146563f8f6f2a parent b181d3b0121e141cb410ea3126b4dbe4f8e1751a author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] enum safety (sata_qstor) sata_qstor strays into a nasty area - gcc handling of wide enums is full of bugs that got fixed between gcc versions creating portability nightmare. Single-member enums are safe, so are ones that stay within the range of int or unsigned int. Anything beyond that is asking for trouble. Declaration of constants split in two enums, taking the ~0UL one into a separate enum. Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit b181d3b0121e141cb410ea3126b4dbe4f8e1751a tree aabb79a95405d4c14979fda3f0715bb63cdf6f1f parent 1e4f2a96aeb373000ccd783e0f5b40294b5e668a author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_promise) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 1e4f2a96aeb373000ccd783e0f5b40294b5e668a tree cdd94e8f5f49e6ac42391e71effe0b6a2892d507 parent 9ee0c0a2ccd66b90eaeb2f197c0a7da43071af52 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (ahci) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 9ee0c0a2ccd66b90eaeb2f197c0a7da43071af52 tree f6c1cb2d94b819a685687bc83110123023d1f099 parent 7e6c1208598004a80b1c1fca4953eb9f2a6aa8bc author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_nv) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit e98df50c5200ae3c748d69002a8827afc9d2eae2 tree 885c86b8b573d22176435b51f146bc6177acc13c parent bfdc708dc7d26fca66df0157b36356a2ba6166eb author Dave Jones Thu, 20 Oct 2005 15:17:43 -0700 committer Dave Jones Thu, 20 Oct 2005 15:17:43 -0700 [CPUFREQ] kzalloc conversions for cpufreq core. Signed-off-by: Dave Jones commit bfdc708dc7d26fca66df0157b36356a2ba6166eb tree 600bcb92a1b11ca99d93d65cace469e40346b3c2 parent b9111b7b7f46b0ec1ccb451d60ec439b92e4df65 author Dave Jones Thu, 20 Oct 2005 15:16:15 -0700 committer Dave Jones Thu, 20 Oct 2005 15:16:15 -0700 [CPUFREQ] kzalloc conversions for i386 drivers. Signed-off-by: Dave Jones commit 0ea27d9f2fb5b998063323bff47ab87891ced9e2 tree 1776e5eb03fb87184fc0e423da12acf5eb0540b7 parent 0ff541dafdcb9bc8933e7e4881e5924a408b5335 author Dave Jones Thu, 20 Oct 2005 15:12:16 -0700 committer Dave Jones Thu, 20 Oct 2005 15:12:16 -0700 [AGPGART] Replace kmalloc+memset's with kzalloc's Signed-off-by: Dave Jones commit 654b1536b0927d189526b9063818e0790aa3ea23 tree afc2f191ef73e6eb1064de6358f44177d691aab0 parent ec073428281b401f1142cb84b277a5b00c7994c9 parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Trond Myklebust Thu, 20 Oct 2005 14:25:44 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:25:44 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit ec073428281b401f1142cb84b277a5b00c7994c9 tree c96e6d10af61dc3fd678c46dda505791812ca985 parent 4e51336a00bdcb42960acca52c23e90e9f4e6959 author Trond Myklebust Thu, 20 Oct 2005 14:22:47 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:22:47 -0700 NFSv4: Fix up locking for nfs4_state_owner Signed-off-by: Trond Myklebust commit 4e51336a00bdcb42960acca52c23e90e9f4e6959 tree 87d619bcd796a0c272abe2499bcc56bc3eda30b4 parent a0857d03b21fa54653c9d2fe7a315381176015b4 author Trond Myklebust Thu, 20 Oct 2005 14:22:41 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:22:41 -0700 NFSv4: Final tweak to sequence id Sacrifice queueing fairness for performance. Signed-off-by: Trond Myklebust commit 23e7dd7d95f6fdc167a6d6ddea79ced0af33bbff tree dc7f5947df09eaca23c25a4d4a908e4dfe81cf40 parent 84d2f07e8e5e2424eec0f5acfef6792c924a0549 author Steve French Thu, 20 Oct 2005 13:44:56 -0700 committer Steve French Thu, 20 Oct 2005 13:44:56 -0700 [CIFS] Defer close of file handle slightly if there are pending writes that need to get in ahead of it that depend on that file handle. Fixes occassional bad file handle errors on write with heavy use multiple process cases. Signed-off-by: Steve French commit 59b81827071a8ae7f399da533d268e1e33bfeeb7 tree 71b98092ae01162cc33c08617d24b7803f1f89de parent 902f90735b693550eb51a3989895f3148b8229d8 author Ralf Baechle Thu, 20 Oct 2005 12:01:28 +0100 committer Jeff Garzik Thu, 20 Oct 2005 16:06:11 -0400 [PATCH] sb1250-mac: PHY probing fixes. Improve sb1250-mac driver to probe for PHYs at addresses other than 1, such as the PHYs on BigSur. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 7e6c1208598004a80b1c1fca4953eb9f2a6aa8bc tree 098dec14f0b7c30193aace90974e1f17a68cd4b8 parent 323cb3ce6eea9d4e72a81a9ffaac4c4e5b800810 author Brett Russ Thu, 20 Oct 2005 08:39:43 -0400 committer Jeff Garzik Thu, 20 Oct 2005 16:04:22 -0400 [PATCH] libata: Marvell endian fix Jeff found an endian bug in the Marvell driver (thanks!). Here's the fix for it. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit bbf207860931b6a033d0fbcd170ae2332c0d8216 tree 9ffa1c4d1b045e1b5bfbe23a8e8f07973d170c9a parent 2e0c512aff978a7040464e81fc9c0dfdf4639c23 author Roland Dreier Thu, 20 Oct 2005 12:54:01 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:54:01 -0700 [IB] user_mad: Use class_device.devt Use devt member of struct class_device so that we don't have to create our own "dev" file in sysfs. Signed-off-by: Roland Dreier commit 2e0c512aff978a7040464e81fc9c0dfdf4639c23 tree 0b278a811609e159bcaa134099af1692cdabd3ee parent 3910f44d79a8a4a26fcfefbf16c5b8e1a7743175 author Roland Dreier Thu, 20 Oct 2005 12:30:16 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:30:16 -0700 [IB] user_mad: trivial coding style fixes Add spaces after "sizeof" operator to match the rest of file. Signed-off-by: Roland Dreier commit 3910f44d79a8a4a26fcfefbf16c5b8e1a7743175 tree 5dd548fbe2fdabecebde7e6cca0665730f3c767b parent 7150bf8a98f14f1ba67e090ef2778004c746f465 author Roland Dreier Thu, 20 Oct 2005 12:29:36 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:29:36 -0700 [IB] cm: Add missing break in switch Add missing "break" in switch statement. Without the break, the CM ended up always falling through and setting every connection request to use RC transport, which meant that UC connections didn't work. Signed-off-by: Roland Dreier commit 9cec58dc138d6fcad9f447a19c8ff69f6540e667 tree 4fe1cca94fdba8b705c87615bee06d3346f687ce parent 17e5ad6c0ce5a970e2830d0de8bdd60a2f077d38 parent ac9b9c667c2e1194e22ebe0a441ae1c37aaa9b90 author Tony Luck Thu, 20 Oct 2005 10:41:44 -0700 committer Tony Luck Thu, 20 Oct 2005 10:41:44 -0700 Update from upstream with manual merge of Yasunori Goto's changes to swiotlb.c made in commit 281dd25cdc0d6903929b79183816d151ea626341 since this file has been moved from arch/ia64/lib/swiotlb.c to lib/swiotlb.c Signed-off-by: Tony Luck commit f0f15ab5542f73d07e35eeee713df289599427b2 tree 4e511a4d571f5cf9838c99bd9bb5b6e06a06e263 parent 5b74eda78db410b979b7d450221c971fdebf5d29 author Hong Liu Thu, 20 Oct 2005 11:06:36 -0500 committer James Ketrenos Thu, 20 Oct 2005 11:06:36 -0500 Fixed oops if an uninitialized key is used for encryption. Without this patch, if you try and use a key that has not been configured, for example: % iwconfig eth1 key deadbeef00 [2] without having configured key [1], then the active key will still be [1], but privacy will now be enabled. Transmission of a packet in this situation will result in a kernel oops. Signed-off-by: James Ketrenos commit 323cb3ce6eea9d4e72a81a9ffaac4c4e5b800810 tree 01c9fc4f3d6757705d0c286da2aa153704c2a3bc parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Jeff Garzik Thu, 20 Oct 2005 10:11:25 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:11:25 -0400 Merge branch 'master' commit 902f90735b693550eb51a3989895f3148b8229d8 tree faddc60f0b27ed6d2a26f20c2c09f365dc4a2d7d parent 07b8fede6da76ae6a0f547716c44b801a116bb4a parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Jeff Garzik Thu, 20 Oct 2005 10:06:09 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:06:09 -0400 Merge branch 'master' commit 07b8fede6da76ae6a0f547716c44b801a116bb4a tree 5f8e41799fc42343ee67b35a945b12b0a5864b09 parent b06c093ed2dc968b3c140dafa55fa6c7b72169e5 author Mallikarjuna R Chilakala Wed, 19 Oct 2005 10:40:08 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:05:36 -0400 [PATCH] e1000: Driver version, white space, comments, device id & other Driver version, white space, comments, device id & other Originally posted on 8/31 (and perhaps before)...I think it has not been committed because the patch from that posting was damaged. I'm reposting to make sure it gets in... :-) Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit b06c093ed2dc968b3c140dafa55fa6c7b72169e5 tree 1452c7664692586d65d0a8bfc17cd3b75936d0eb parent 74b0247fbd4b6ed1693a420d85cf50267d840ef4 author John W. Linville Wed, 19 Oct 2005 08:07:34 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:05:36 -0400 [PATCH] sundance: include MII address 0 in PHY probe Include MII address 0 at the end of the PHY scan. This covers the entire range of possible MII addresses. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 5d14a18d59b661356409e5a1f624236155a209ba tree 445d21d8b1ec0e58623887f7ceb55c2d3f81f4d5 parent 17a6392d30b4ed89b88a47a318b2b6de6ae7b946 author Paul Mackerras Thu, 20 Oct 2005 22:33:06 +1000 committer Paul Mackerras Thu, 20 Oct 2005 22:33:06 +1000 powerpc: Fix some bugs in the new merged time code I had the sense of the test for when to use the old 601-style RTC registers inverted. pmac_calibrate_decr and via_calibrate_decr weren't setting ppc_tb_freq, on which all the further calculations depended. Lastly, update_gtod was losing the top 32 bits of the new tb_to_xs value. Signed-off-by: Paul Mackerras commit 17a6392d30b4ed89b88a47a318b2b6de6ae7b946 tree 1c2a7dbbbce95db33bbfd2725fa19f2d2ecf6ecd parent d85b525e6e1d0886eebd1d4c4f954d9d2f226a63 author Paul Mackerras Thu, 20 Oct 2005 21:10:09 +1000 committer Paul Mackerras Thu, 20 Oct 2005 21:10:09 +1000 powerpc/ppc/ppc64: Various compile fixes. This declares powersave_nap in system.h and makes it an int everywhere, fixes typos for the maple platform, fixes a couple of places where I missed removing the last two arguments from a message_pass function, and makes ppc64 consistent with ppc32 in the type of the pci_bridge.cfg_data field. Signed-off-by: Paul Mackerras commit d85b525e6e1d0886eebd1d4c4f954d9d2f226a63 tree dd36c3369323d53aaa026530fe038d90b5626e16 parent 374e99d450a0c44dc30041fa83eccfd0890330c7 author Paul Mackerras Thu, 20 Oct 2005 21:06:44 +1000 committer Paul Mackerras Thu, 20 Oct 2005 21:06:44 +1000 ppc64: Use the merged mpic.c This means we now compile in arch/powerpc/sysdev for ARCH=ppc64. Signed-off-by: Paul Mackerras commit 374e99d450a0c44dc30041fa83eccfd0890330c7 tree ffa9384b104133941df368dd6542d76d1286ca1c parent 0458060c1c59c5378d8fb5daabe18cf4681c35cd author Paul Mackerras Thu, 20 Oct 2005 21:04:51 +1000 committer Paul Mackerras Thu, 20 Oct 2005 21:04:51 +1000 powerpc: Move some calculations from xxx_calibrate_decr to time_init Previously the individual xxx_calibrate_decr functions would each print the timebase and cpu frequency and calculate several values such as tb_to_us and tb_to_xs. This moves those printks and calculations into time_init just after the call to the platform's calibrate_decr function. Signed-off-by: Paul Mackerras commit 0458060c1c59c5378d8fb5daabe18cf4681c35cd tree ce33af5a0b1d4a4307502d4628529e2dffe7ea8e parent 399fe2bdd315c3a678b59b72659c4ed1ce0e1a24 author Paul Mackerras Thu, 20 Oct 2005 21:00:20 +1000 committer Paul Mackerras Thu, 20 Oct 2005 21:00:20 +1000 ppc64: Move init_boot_text call and conswitchp init into setup_arch This way they get done in one place for all platforms, and it is more consistent with what ppc32 does. Signed-off-by: Paul Mackerras commit 399fe2bdd315c3a678b59b72659c4ed1ce0e1a24 tree 7eadfcfc06b88b7386c94a92bd0a7a9dde08d9de parent ff065ddd96c233d27322de493fa023357939c888 author Paul Mackerras Thu, 20 Oct 2005 20:57:05 +1000 committer Paul Mackerras Thu, 20 Oct 2005 20:57:05 +1000 ppc: rename pci_assign_all_busses to pci_assign_all_buses ... for consistency with ppc64 and to make merging easier. Signed-off-by: Paul Mackerras commit ff065ddd96c233d27322de493fa023357939c888 tree b60d8a362dea386d1cec91422fd18f92da244ffd parent 0dd194d02d2584c34e06ddd26c7a7896a5fa1974 author Paul Mackerras Thu, 20 Oct 2005 20:53:39 +1000 committer Paul Mackerras Thu, 20 Oct 2005 20:53:39 +1000 powerpc: Merge various powermac-related header files. Except for smu.h, which moved from asm-ppc64 to asm-powerpc, all of these moved from asm-ppc to asm-powerpc. In each case the asm-ppc64 version (if there was one) was just a single line including the asm-ppc version. Signed-off-by: Paul Mackerras commit 0dd194d02d2584c34e06ddd26c7a7896a5fa1974 tree f5441cf5497d78d0c3ed5ce9d9ae47328426f4f8 parent a9c59264690aea9d0df2d2d76683bc39ec6b7288 author Paul Mackerras Thu, 20 Oct 2005 20:48:19 +1000 committer Paul Mackerras Thu, 20 Oct 2005 20:48:19 +1000 powerpc: Fix places where ppc_md.show_[per]cpuinfo was treated as int I missed a few places where ppc code was still assuming that the ppc_md.show_[per]cpuinfo functions returned int. Signed-off-by: Paul Mackerras commit 312f5726055534be1dc9dd369be13aabd2943fcb tree 29394a3f83b4952a73b36a4aa962dfeda839e9db parent 3d5efad953c6d5ba11d5bcb584ef8e906f953a73 parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Dave Airlie Thu, 20 Oct 2005 18:21:33 +1000 committer Dave Airlie Thu, 20 Oct 2005 18:21:33 +1000 merge Linus head tree into my drm tree and fix up conflicts commit a9c59264690aea9d0df2d2d76683bc39ec6b7288 tree 5cf1bc1181caacf93abe91585ab6e989542527e1 parent d8699e65c6bc0a81b5e679ca5b135bfe3c3fb483 author Paul Mackerras Thu, 20 Oct 2005 17:09:51 +1000 committer Paul Mackerras Thu, 20 Oct 2005 17:09:51 +1000 powerpc: Move smp_mpic_message_pass into mpic.c Having it here rather than in arch/ppc64/kernel/smp.c means that we can use it on 32-bit SMP systems easily with ARCH=powerpc. Signed-off-by: Paul Mackerras commit d8699e65c6bc0a81b5e679ca5b135bfe3c3fb483 tree ba80488ff6b5b7e15c999233fe798332fa979430 parent 971dc77b64db9466f5caab56019e62a93c0ddfc5 author Paul Mackerras Thu, 20 Oct 2005 17:02:01 +1000 committer Paul Mackerras Thu, 20 Oct 2005 17:02:01 +1000 ppc64: Change ppc_md.get_cpuinfo to ppc_md.show_cpuinfo ... for consistency with ppc32; also add in ppc32's show_percpuinfo function. Signed-off-by: Paul Mackerras commit 971dc77b64db9466f5caab56019e62a93c0ddfc5 tree 73d153e439d7b205de5eee1c90783af8fcb5f233 parent f7f6f4fea68d9981d65f99a589ad85f510924d99 author Becky Bruce Wed, 19 Oct 2005 18:45:03 -0500 committer Paul Mackerras Thu, 20 Oct 2005 16:22:50 +1000 [PATCH] powerpc: Merge types.h This patch merges types.h into include/asm-powerpc. The only real change is the removal of the include of linux/config.h from the 32-bit version - it doesn't appear to be necessary. This patch has been built on several different 32 and 64-bit platforms, and booted on mpc8540_ads. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit f7f6f4fea68d9981d65f99a589ad85f510924d99 tree 99eea889bb2ec2967a2be883a63ef58507a25cf9 parent 3d904eef54fd145e2ae5fadb52d2c39bc49339ae author David Gibson Wed, 19 Oct 2005 14:53:32 +1000 committer Paul Mackerras Thu, 20 Oct 2005 16:22:24 +1000 [PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch] This patches the ppc32 and ppc64 versions of the headers and .c files with helper functions for manipulating the performance counting hardware. As a side effect, it removes use of the term "perfmon" from ppc32, thus avoiding confusion with the unrelated performance counter interface from HP Labs also called "perfmon". Built, but not booted, for g5, pSeries, iSeries, and 32-bit Powermac with both ARCH=powerpc and ARCH=ppc{,64} as appropriate. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 74b0247fbd4b6ed1693a420d85cf50267d840ef4 tree 2491ea6e4213531fc05a2beb612e175dd3e10dda parent 2039973af59889fea0d14362eae56792cfe8d25a author Ralf Baechle Wed, 19 Oct 2005 15:40:02 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] sb1250-mac: Whitespace cleanup. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 1030 +++++++++++++++++++++++------------------------ 1 files changed, 515 insertions(+), 515 deletions(-) Signed-off-by: Jeff Garzik commit 2039973af59889fea0d14362eae56792cfe8d25a tree 589acab53824f20a4cdd4cd5052ec9c6dc410abf parent ab7a435a01a9995359a72851ff6896dc110c243f author Ralf Baechle Wed, 19 Oct 2005 15:39:05 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] sb1250-mac: Get rid of all the funny SBMAC_WRITECSR and SBMAC_READCSR macros. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 303 ++++++++++++++++++++--------------------------- 1 files changed, 132 insertions(+), 171 deletions(-) Signed-off-by: Jeff Garzik commit ab7a435a01a9995359a72851ff6896dc110c243f tree 083a81fae56e6f72ec98715caeb9902305195e8f parent c4cfe567b92d5663f98e2f82f28ffc3069fc982f author Ralf Baechle Tue, 18 Oct 2005 21:01:29 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] Remove unused header. mkiss.h has been integrated into mkiss.c earlier. Signed-off-by: Ralf Baechle DL5RB drivers/net/hamradio/mkiss.h | 62 ------------------------------------------- 1 files changed, 62 deletions(-) Signed-off-by: Jeff Garzik commit 3d904eef54fd145e2ae5fadb52d2c39bc49339ae tree 08c783f78f353aa54f5edee4542d0d6daabdfc6e parent b15125fa81a522882247242e569bc7035e28cc82 author Kumar Gala Tue, 18 Oct 2005 17:42:41 -0500 committer Paul Mackerras Thu, 20 Oct 2005 09:43:34 +1000 [PATCH] ppc32: replace use of _GLOBAL with .globl for ppc32 The _GLOBAL() macro is for text symbols only. Changed to using .globl for .data symbols. This is also needed in ppc32 land to allow FSL Book-E, 40x, and 44x to work. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit b15125fa81a522882247242e569bc7035e28cc82 tree 69c383ca33ccb2c141bddb274962246c3e050e15 parent 344480b99730bfd205e306d3fd168cdcebe83425 author Kumar Gala Tue, 18 Oct 2005 17:42:09 -0500 committer Paul Mackerras Thu, 20 Oct 2005 09:43:32 +1000 [PATCH] powerpc: Some more fixes to allow building for a Book-E processor Some minor fixes that are needed if we are building for a book-e processor. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit 344480b99730bfd205e306d3fd168cdcebe83425 tree 43e3d75779307d9ee36f001718efe6ef6fa220d3 parent a4bcc95a3ad0ccba6d7b39442dfb81cc57bb7121 author Paul Mackerras Thu, 20 Oct 2005 09:37:02 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:37:02 +1000 powerpc: Fix a corner case in __div64_32 The code was incorrectly doing a division by 0 in the case where the denominator was 0x100000000 and the divisor was 0xffffffff. Thanks to Fred Liu of Motorola for pointing this out. Signed-off-by: Paul Mackerras commit a4bcc95a3ad0ccba6d7b39442dfb81cc57bb7121 tree 89ac96fd0859dbf624beff2b90e3b980c1d5abea parent f2783c15007468c14972e2617db51e9affc7fad9 author Paul Mackerras Thu, 20 Oct 2005 09:24:18 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:24:18 +1000 powerpc: Fix a branch-too-far link error for 32-bit targets Signed-off-by: Paul Mackerras commit f2783c15007468c14972e2617db51e9affc7fad9 tree 6c8f57ee8e5cdaeb810a3ccf7f697576a7df7615 parent 03f88e9f7145b03fd0d855918d54a3bf5342ac5e author Paul Mackerras Thu, 20 Oct 2005 09:23:26 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:23:26 +1000 powerpc: Merge time.c and asm/time.h. We now use the merged time.c for both 32-bit and 64-bit compilation with ARCH=powerpc, and for ARCH=ppc64, but not for ARCH=ppc32. This removes setup_default_decr (folds its function into time_init) and moves wakeup_decrementer into time.c. This also makes an asm-powerpc/rtc.h. Signed-off-by: Paul Mackerras commit 03f88e9f7145b03fd0d855918d54a3bf5342ac5e tree 9784f24cda3a16c668dd9c4a6c444bd04d76e12b parent b123923d486d38e1a961e82040a26838401aebb5 author Paul Mackerras Thu, 20 Oct 2005 09:15:05 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:15:05 +1000 ppc64: Minor compilation fixes This defines CONFIG_PPC_STD_MMU for ppc64, changes an instance of sys32_ to compat_sys_ in the ppc64 syscall table, and removes a reference to a non-existent arch/powerpc/xmon/Makefile. Signed-off-by: Paul Mackerras commit b123923d486d38e1a961e82040a26838401aebb5 tree a0a16774c962faeb6750426947ada60839521006 parent 9b7cf8b49dc4464b222afc9fa32628bb9a2e70a3 author Paul Mackerras Thu, 20 Oct 2005 09:11:29 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:11:29 +1000 powerpc: Move ptrace32.c from arch/ppc64 to arch/powerpc Also corrected my email address in ptrace.c and updated the comments at the top of ptrace32.c. Signed-off-by: Paul Mackerras commit 5b74eda78db410b979b7d450221c971fdebf5d29 tree 4dd2ee158b10bf11e4f34ba00a28e09cdacbf272 parent c4cfe567b92d5663f98e2f82f28ffc3069fc982f author Hong Liu Wed, 19 Oct 2005 16:31:34 -0500 committer James Ketrenos Wed, 19 Oct 2005 16:49:03 -0500 Fixed problem with not being able to decrypt/encrypt broadcast packets. Signed-off-by: James Ketrenos commit 9b7cf8b49dc4464b222afc9fa32628bb9a2e70a3 tree 3a0c28335d1cb3bcebba8774dcb2efa43c7c3a45 parent 0b879a31447acd9ebe8b3c5231f72ccebeefad3a author Paul Mackerras Wed, 19 Oct 2005 23:13:04 +1000 committer Paul Mackerras Wed, 19 Oct 2005 23:13:04 +1000 powerpc: Eliminate a compile warning in signal_32.c The second argument of get_sigset_t needed to have the const keyword. Signed-off-by: Paul Mackerras commit 0b879a31447acd9ebe8b3c5231f72ccebeefad3a tree 8fd2f7cbc80e07be233814454266d6e5f01a19df parent 143a1dec7e04e0a9712ff93e779aabfb21dfd97c author Paul Mackerras Wed, 19 Oct 2005 23:12:01 +1000 committer Paul Mackerras Wed, 19 Oct 2005 23:12:01 +1000 ppc: declare smp_ops in asm/smp.h, since platform setup code needs it Signed-off-by: Paul Mackerras commit 143a1dec7e04e0a9712ff93e779aabfb21dfd97c tree 3a60a4e630d792fb3cdc6e962ce0ecfd94bb2672 parent 7ed476d17f04473f70d796cb6c172bdcfcc9b8e5 author Paul Mackerras Wed, 19 Oct 2005 23:11:21 +1000 committer Paul Mackerras Wed, 19 Oct 2005 23:11:21 +1000 powerpc: Merge machdep.h A few things change for consistency between ppc32 and ppc64: idle functions return void; *_get_boot_time functions return unsigned long (i.e. time_t) rather than filling in a struct rtc_time (since that's useful to the callers and easier for pmac to generate); *_get_rtc_time and *_set_rtc_time functions take a struct rtc_time; irq_canonicalize is gone; nvram_sync returns void. Signed-off-by: Paul Mackerras commit 7ed476d17f04473f70d796cb6c172bdcfcc9b8e5 tree bafacf9813cdbb27a9e4a125340c98415cdcb903 parent 46aab8c584ea69cdbe1060f5eae5bf092763f710 author Paul Mackerras Wed, 19 Oct 2005 21:44:51 +1000 committer Paul Mackerras Wed, 19 Oct 2005 21:44:51 +1000 ppc: Minor smp changes for consistency with ppc64 This makes platform code use the smp_ops variable directly instead of ppc_md.smp_ops, removes the two unused `data' and `wait' arguments from the *_message_pass() functions, and removes the call to the never-implemented smp_ops->space_timers() function. Signed-off-by: Paul Mackerras commit d5aeaef37dc9cb009ab5cb8abf325338d21d2b1a tree 462b8caf5a1f787398a93485e4170605f81ea8d9 parent 7d0ffdb279105d9a87b447758ce4a634496abfd1 author Anton Altaparmakov Wed, 19 Oct 2005 12:23:10 +0100 committer Anton Altaparmakov Wed, 19 Oct 2005 12:23:10 +0100 NTFS: Fix serious data corruption issue when writing. Many thanks to Alberto Patino for testing and reporting the data corruption. And many apologies for corrupting his partition. Signed-off-by: Anton Altaparmakov commit 7d0ffdb279105d9a87b447758ce4a634496abfd1 tree 66bd4d6307a81ae65a01acace5fd8ae6f5a30032 parent e087a412b45543a87497f0a213dbd5d55099f267 author Anton Altaparmakov Wed, 19 Oct 2005 12:21:19 +0100 committer Anton Altaparmakov Wed, 19 Oct 2005 12:21:19 +0100 NTFS: $EA attributes can be both resident non-resident. Minor tidying. Signed-off-by: Anton Altaparmakov commit e087a412b45543a87497f0a213dbd5d55099f267 tree 8892cc84dbee2b4387c9f2604a7892b6ef3aab25 parent 7946ada30bc45546cefc85809ba0fd07879eff52 parent bb7e257ef8d8ba43cab356aa1cc1b20d0106d45f author Anton Altaparmakov Wed, 19 Oct 2005 12:13:58 +0100 committer Anton Altaparmakov Wed, 19 Oct 2005 12:13:58 +0100 Merge branch 'master' of /usr/src/ntfs-2.6/ commit a0857d03b21fa54653c9d2fe7a315381176015b4 tree ac7fcc4415795b9d4530de300ef555cd624727d8 parent 00fd6e14255fe7a249315746386d640bc4e9e758 author J. Bruce Fields Thu, 13 Oct 2005 16:55:23 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:47 -0700 RPCSEC_GSS: krb5 cleanup Remove some senseless wrappers. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 00fd6e14255fe7a249315746386d640bc4e9e758 tree 36d8fad57404c5ea96cdb6e5579f4241e2cd8188 parent 14ae162c24d985593d5b19437d7f3d8fd0062b59 author J. Bruce Fields Thu, 13 Oct 2005 16:55:18 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:47 -0700 RPCSEC_GSS remove all qop parameters Not only are the qop parameters that are passed around throughout the gssapi unused by any currently implemented mechanism, but there appears to be some doubt as to whether they will ever be used. Let's just kill them off for now. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 14ae162c24d985593d5b19437d7f3d8fd0062b59 tree 750fbc08e6a6e0cb00bfad7c871144a757ac43de parent bfa91516b57483fc9c81d8d90325fd2c3c16ac48 author J. Bruce Fields Thu, 13 Oct 2005 16:55:13 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:46 -0700 RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. Add support for privacy to the krb5 rpcsec_gss mechanism. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit bfa91516b57483fc9c81d8d90325fd2c3c16ac48 tree ed5c63ec1aa88152b0991370f4a1dbcfff0cd15a parent f7b3af64c653c73feb060a9f94f2df9ab4bba4c3 author J. Bruce Fields Thu, 13 Oct 2005 16:55:08 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:45 -0700 RPCSEC_GSS: krb5 pre-privacy cleanup The code this was originally derived from processed wrap and mic tokens using the same functions. This required some contortions, and more would be required with the addition of xdr_buf's, so it's better to separate out the two code paths. In preparation for adding privacy support, remove the last vestiges of the old wrap token code. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f7b3af64c653c73feb060a9f94f2df9ab4bba4c3 tree fee45429f16e5b548356f50dc64eb4e71bca1a9d parent 2d2da60c63b67174add32f06e8d54c3a0c5cd9cf author J. Bruce Fields Thu, 13 Oct 2005 16:55:03 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:45 -0700 RPCSEC_GSS: Simplify rpcsec_gss crypto code Factor out some code that will be shared by privacy crypto routines Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 2d2da60c63b67174add32f06e8d54c3a0c5cd9cf tree 4b9df421a02217e1cd23b601b6c05c592d0bdf02 parent 24b2605becc10ca63c4c30808fa59a8abbf68727 author J. Bruce Fields Thu, 13 Oct 2005 16:54:58 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:44 -0700 RPCSEC_GSS: client-side privacy support Add the code to the client side to handle privacy. This is dead code until we actually add privacy support to krb5. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 24b2605becc10ca63c4c30808fa59a8abbf68727 tree 64634bf6a5427f9a7253c9cb5b4d55550ef8b18d parent f3680312a737355ddf35c1b68af25e384d7ef0a8 author J. Bruce Fields Thu, 13 Oct 2005 16:54:53 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:44 -0700 RPCSEC_GSS: cleanup au_rslack calculation Various xdr encode routines use au_rslack to guess where the reply argument will end up, so we can set up the xdr_buf to recieve data into the right place for zero copy. Currently we calculate the au_rslack estimate when we check the verifier. Normally this only depends on the verifier size. In the integrity case we add a few bytes to allow for a length and sequence number. It's a bit simpler to calculate only the verifier size when we check the verifier, and delay the full calculation till we unwrap. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f3680312a737355ddf35c1b68af25e384d7ef0a8 tree 6b447f0a58bf1c1acfa8b1731ef06580d275b983 parent ead5e1c26fdcd969cf40c49cb0589d56879d240d author J. Bruce Fields Thu, 13 Oct 2005 16:54:48 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:43 -0700 SUNRPC: Retry wrap in case of memory allocation failure. For privacy we need to allocate extra pages to hold encrypted page data when wrapping requests. This allocation may fail, and we handle that case by waiting and retrying. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit ead5e1c26fdcd969cf40c49cb0589d56879d240d tree af0e04aed32eac60b35c987b933dbc132f0e780b parent 293f1eb551a77fe5c8956a559a3c0baea95cd9bc author J. Bruce Fields Thu, 13 Oct 2005 16:54:43 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:43 -0700 SUNRPC: Provide a callback to allow free pages allocated during xdr encoding For privacy, we need to allocate pages to store the encrypted data (passed in pages can't be used without the risk of corrupting data in the page cache). So we need a way to free that memory after the request has been transmitted. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 293f1eb551a77fe5c8956a559a3c0baea95cd9bc tree 03c770935eb42f6deccb275be0326d2f4b17c80c parent 1d95db8e1688ed54e143a597c5570631a42fa594 author J. Bruce Fields Thu, 13 Oct 2005 16:54:37 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:42 -0700 SUNRPC: Add support for privacy to generic gss-api code. Add support for privacy to generic gss-api code. This is dead code until we have both a mechanism that supports privacy and code in the client or server that uses it. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 1d95db8e1688ed54e143a597c5570631a42fa594 tree b0b0a667cf9ecccabc26cd7afceed05815066aa6 parent 8c233cf9c2ad6f49df753bdce84fddbf00bf6a75 author J. Bruce Fields Thu, 13 Oct 2005 16:54:32 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:41 -0700 NFSv4: Fix acl buffer size resp_len is passed in as buffer size to decode routine; make sure it's set right in case where userspace provides less than a page's worth of buffer. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 8c233cf9c2ad6f49df753bdce84fddbf00bf6a75 tree c2d0e2d58e0fe1c2ab332802caa77046fcaac348 parent 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 author J. Bruce Fields Thu, 13 Oct 2005 16:54:27 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:41 -0700 NFSv4: handle no acl attr Stop handing garbage to userspace in the case where a weird server clears the acl bit in the getattr return (despite the fact that they've already claimed acl support.) Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 tree 26b2343b7c941a4fa148f85df844557153971cd9 parent 7f709a48fa798cfa0f2f777c8752e12995054f78 author Steve Dickson Tue, 18 Oct 2005 23:19:40 -0700 committer Trond Myklebust Tue, 18 Oct 2005 23:19:40 -0700 RPC: stops the release_pipe() funtion from being called twice This patch stops the release_pipe() funtion from being called twice by invalidating the ops pointer in the rpc_inode when rpc_pipe_release() is called. Signed-off-by: Steve Dickson Signed-off-by: Trond Myklebust commit 7f709a48fa798cfa0f2f777c8752e12995054f78 tree fde5f4b4918205ba4c547ecaac95acbc8a37caa0 parent cb1f7be73b6f708d4f4ce225a3bbc02908b729e4 author Trond Myklebust Tue, 18 Oct 2005 23:19:39 -0700 committer Trond Myklebust Tue, 18 Oct 2005 23:19:39 -0700 NFSv4: Fix an oopsable condition in nfs_free_seqid Storing a pointer to the struct rpc_task in the nfs_seqid is broken since the nfs_seqid may be freed well after the task has been destroyed. Signed-off-by: Trond Myklebust commit c4cfe567b92d5663f98e2f82f28ffc3069fc982f tree aea6ab8810c74be573d4e5f032b6aac46e16dbd2 parent 2aa1d82db7a967b748c4b41854c4222cd0484114 author Andrew Morton Sat, 15 Oct 2005 00:32:29 -0700 committer Jeff Garzik Tue, 18 Oct 2005 23:57:26 -0400 [PATCH] e1000 build fix Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 2aa1d82db7a967b748c4b41854c4222cd0484114 tree 1f33849dad8fff3a9d287350126794f1cbfa0ef0 parent 67ec2f805a5260c041b1c3c7a86ecfbc9670db06 author John W. Linville Tue, 18 Oct 2005 21:31:02 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:29:14 -0400 [PATCH] sundance: expand reset mask Expand the mask used when reseting the chip to include the GlobalReset bit. This fix comes from ICPlus and seems to be required for some cards. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 67ec2f805a5260c041b1c3c7a86ecfbc9670db06 tree 5cfe4895d39172cdc8afa192932d436322ca3be7 parent 36841c9d02870983c2b08c85d56572c1ff011997 author John W. Linville Tue, 18 Oct 2005 21:31:01 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:29:14 -0400 [PATCH] sundance: remove if (1) { ... } block in sundance_probe1 Remove an if (1) { ... } block in sundance_probe1. Its purpose seems to be only to allow for delaring some extra local variables. But, it also adds ugly indentation without adding any meaning to the code. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 36841c9d02870983c2b08c85d56572c1ff011997 tree 367bdf81afd8fdc64147f95cb23493432449c05b parent 9f38c636ababfb41e58c9ec1e9719492ef7f0479 author John W. Linville Tue, 18 Oct 2005 21:30:58 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:14 -0400 [PATCH] orinoco: remove redundance skb length check before padding Checking the skb->len value before calling skb_padto is redundant. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 9f38c636ababfb41e58c9ec1e9719492ef7f0479 tree 52a0d64efd7a0f814dd327f2bd983a5c8260b1be parent df49898a47061e82219c991dfbe9ac6ddf7a866b author John W. Linville Tue, 18 Oct 2005 21:30:59 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:13 -0400 [PATCH] b44: alternate allocation option for DMA descriptors This is a (final?) hack to support the odd DMA allocation requirements of the b44 hardware. The b44 hardware has a 30-bit DMA mask. On x86, anything less than a 32-bit DMA mask forces allocations into the 16MB GFP_DMA range. The memory there is somewhat limited, often resulting in an inability to initialize the b44 driver. This hack uses streaming DMA allocation APIs in order to provide an alternative in case the GFP_DMA allocation fails. It is somewhat ugly, but not much worse than the similar existing hacks to support SKB allocations in the same driver. FWIW, I have received positive feedback on this from several Fedora users. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit df49898a47061e82219c991dfbe9ac6ddf7a866b tree 4f0c2445eb5ddb49c622a9d368a9773bd4fb0f7a parent 7645baec58b9661366e2038c4ea02bd06aaf1fbc author John W. Linville Tue, 18 Oct 2005 21:30:58 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:13 -0400 [PATCH] bonding: cleanup comment for mode 1 IGMP xmit hack Expand comment explaining MAC address selection for replicated IGMP frames transmitted in bonding mode 1 (active-backup). Also, a small whitespace cleanup. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 7645baec58b9661366e2038c4ea02bd06aaf1fbc tree 03f977ac534403468a670140c0c05085fa95844f parent 4cac018ae30dac8f7fc089a8ff4963904c99725e author John W. Linville Tue, 18 Oct 2005 21:31:00 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] 8139too: fix resume for Realtek 8100B/8139D Add "HasHltClk" flag for RTL-8100B/8139D hardware in order to fix problems resuming from suspend-to-RAM. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 4cac018ae30dac8f7fc089a8ff4963904c99725e tree f2a393f0ec57563379366fa2f150671232318675 parent b7b1d2021452d0a3562807b6a90dfa5124147a79 author John W. Linville Tue, 18 Oct 2005 21:30:59 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] bonding: fix typos in bonding documentation Fix some simple typos in the bonding.txt file. The typos are in areas relating to loading the bonding driver multiple times. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit b7b1d2021452d0a3562807b6a90dfa5124147a79 tree 9c18a41353b2d40dfa844e955619e7d931ce853d parent 6ba98d311d0a4ff7dc36d8f435ce60174f4c30ec author John W. Linville Tue, 18 Oct 2005 21:31:01 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] epic100: fix counting of work_done in epic_poll work_done is overwritten each time through the rx_action loop in epic_poll. This screws-up the NAPI accounting if the loop is executed more than once. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6ba98d311d0a4ff7dc36d8f435ce60174f4c30ec tree 745daba38635eca9466319f8c8940d1fb3e8ed3c parent 923833405d8d81b5be036093773d88d87fc7e1bd author John W. Linville Tue, 18 Oct 2005 21:31:02 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] via-rhine: change mdelay to msleep and remove from ISR path Get rid of the mdelay call in rhine_disable_linkmon. The function is called from the via-rhine versions of mdio_read and mdio_write. Those functions are indirectly called from rhine_check_media and rhine_tx_timeout, both of which can be called in interrupt context. So, create tx_timeout_task and check_media_task as instances of struct work_struct inside of rhine_private. Then, change rhine_tx_timeout to invoke schedule_work for tx_timeout_task (i.e. rhine_tx_timeout_task), moving the work to process context. Also, change rhine_error (invoked from rhine_interrupt) to invoke schedule_work for check_media_task (i.e. rhine_check_media_task), which simply calls rhine_check media in process context. Finally, add a call to flush_scheduled_work in rhine_close to avoid any resource conflicts with pending work items. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 972c26bdd6b58e7534473c4f7928584578cf43f4 tree e32f940cf913ee80ac7ae5e3d92d53f90a6b6552 parent b194b4250c2b7e9d762823ac6045316fcd4bf4f9 author Jeff Garzik Tue, 18 Oct 2005 22:14:54 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:14:54 -0400 libata: add ata_sg_is_last() helper, use it in several drivers commit b194b4250c2b7e9d762823ac6045316fcd4bf4f9 tree 8c54b5004822958ef0a7603e76a4868582e26d7f parent c4052da6f0c01a0b059d125d72bb934d0980b798 parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 author Jeff Garzik Tue, 18 Oct 2005 21:52:42 -0400 committer Jeff Garzik Tue, 18 Oct 2005 21:52:42 -0400 Merge branch 'upstream' commit 923833405d8d81b5be036093773d88d87fc7e1bd tree 53cef37e2cdfdad21b3b375f57ba6d63ce341252 parent 166d823d397b9f5404648cedfdefe13e10683694 author Andrew Morton Sun, 16 Oct 2005 00:11:29 -0700 committer Jeff Garzik Tue, 18 Oct 2005 18:33:42 -0400 [PATCH] s2io build fix Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 166d823d397b9f5404648cedfdefe13e10683694 tree de09a5a87b3c42925c70228ef2702eab5b891c3f parent dcbf8477567c312c9f0512545d07e05175d740a4 author Andrew Morton Sun, 16 Oct 2005 13:32:14 -0700 committer Jeff Garzik Tue, 18 Oct 2005 18:32:34 -0400 [PATCH] e1000_intr build fix drivers/net/e1000/e1000_main.c: In function `e1000_intr': drivers/net/e1000/e1000_main.c:3156: error: `i' undeclared (first use in this function) drivers/net/e1000/e1000_main.c:3156: error: (Each undeclared identifier is reported only once drivers/net/e1000/e1000_main.c:3156: error: for each function it appears in.) This function is foul. Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 77501f3cb648e18733509a951ed31eddd7ef2c0b tree 82624caa354394df2422562bf6dda56a2c088704 parent 422fa08e538b649a9b80258950d2f8a202f45f19 parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 author Jeff Garzik Tue, 18 Oct 2005 18:30:58 -0400 committer Jeff Garzik Tue, 18 Oct 2005 18:30:58 -0400 Merge branch 'upstream' commit dcbf8477567c312c9f0512545d07e05175d740a4 tree f3eab7df501b02de7bf09bc6b5c0b62cbabe27af parent 9cc975e00ddb291035bc4d2d49cdc8768ddf1cc3 author Ralf Baechle Mon, 10 Oct 2005 14:51:27 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] mipsnet: Virtual ethernet driver for MIPSsim. Signed-off-by: Ralf Baechle drivers/net/Kconfig | 8 + drivers/net/Makefile | 1 drivers/net/mipsnet.c | 371 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/mipsnet.h | 127 +++++++++++++++++ 4 files changed, 507 insertions(+) Signed-off-by: Jeff Garzik commit 9cc975e00ddb291035bc4d2d49cdc8768ddf1cc3 tree 133c9a5830efd71f28c0e2ae544533e17e350624 parent 36156cdff17a5ab822898d33cd890a6f8287c43c author Ralf Baechle Mon, 10 Oct 2005 14:51:21 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] ne: Support for RBHMA4500 eval board. Support for Toshiba's RBHMA4500 eval board for the TX4938. Signed-off-by: Ralf Baechle drivers/net/ne.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+) Signed-off-by: Jeff Garzik commit 36156cdff17a5ab822898d33cd890a6f8287c43c tree 256f8f15cb24067fd69243759a078f30965d085e parent 4569504a36cb6223e2b7ad6530326a1563a8f456 author Ralf Baechle Mon, 10 Oct 2005 14:51:16 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Use physical addresses at the interface level. Use physical addresses at the interface level, letting drivers remap them as appropriate. Signed-off-by: Ralf Baechle drivers/net/declance.c | 26 ++++++++++---------------- 1 files changed, 10 insertions(+), 16 deletions(-) Signed-off-by: Jeff Garzik commit 4569504a36cb6223e2b7ad6530326a1563a8f456 tree c4693f214012ce7a810a4f82c36d04557af3c2af parent 6684b4e28247f31543edf86ba785aa87e8fa3b39 author Ralf Baechle Mon, 10 Oct 2005 14:51:11 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Deal with the bloody KSEG vs CKSEG horror... Signed-off-by: Ralf Baechle drivers/net/declance.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 6684b4e28247f31543edf86ba785aa87e8fa3b39 tree 58c93078ea5a4fe1492172f14d39214ff0066e4e parent da848ec37d9cf9edbe269f8be9b3de52f90d70da author Ralf Baechle Mon, 10 Oct 2005 14:51:06 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Fix mapping of device. These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle drivers/net/declance.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik commit da848ec37d9cf9edbe269f8be9b3de52f90d70da tree 09db5571eca2971dee69423aacf0376e9e4742b8 parent 302a5c4b3d4d6aff7772a4b3431bb772586e6011 author Ralf Baechle Mon, 10 Oct 2005 14:51:01 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] declance: Convert to irqreturn_t. Signed-off-by: Ralf Baechle drivers/net/declance.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik commit 302a5c4b3d4d6aff7772a4b3431bb772586e6011 tree 0f08e4c1419dae13e86039b53db2271d57bde4e3 parent 2891439e7378e35534d7eb32f77671dc4d61db4c author Ralf Baechle Mon, 10 Oct 2005 14:50:56 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sgiseeq: Configure PIO and DMA timing requests. Signed-off-by: Ralf Baechle drivers/net/sgiseeq.c | 28 ++++++++++++++-------------- include/asm-mips/sgi/hpc3.h | 40 ++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 34 deletions(-) Signed-off-by: Jeff Garzik commit 2891439e7378e35534d7eb32f77671dc4d61db4c tree d2cba6b9391f5488f2b6d8d6418b43e9ae3c2969 parent bc053d45cb0ca5daeaa69ae9ac43cdea42693f60 author Ralf Baechle Mon, 10 Oct 2005 14:50:51 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sgiseeq: Fix resource handling. Signed-off-by: Ralf Baechle drivers/net/sgiseeq.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) Signed-off-by: Jeff Garzik commit bc053d45cb0ca5daeaa69ae9ac43cdea42693f60 tree 1512d6f1f84744212c6138e02fde5c2f21227f8e parent 7f553e3db46b36d2662e1118f8b8fdbf086b76df author Ralf Baechle Mon, 10 Oct 2005 14:50:46 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] de2104x: Resurrect Cobalt support for 2.6. Signed-off-by: Ralf Baechle drivers/net/tulip/de2104x.c | 5 +++++ 1 files changed, 5 insertions(+) Signed-off-by: Jeff Garzik commit 7f553e3db46b36d2662e1118f8b8fdbf086b76df tree 72a243aa23c3ff32797b5b2e2269df8575a8d721 parent 04115def6ad7ef51440365b65a7324fcb82d5d1d author Ralf Baechle Mon, 10 Oct 2005 14:50:41 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] au1000_eth: Misc Au1000 net driver fixes. o Add support for DP83847 MII. o remove unused variable. o Add some initialisations so even an unknown MII won't result in a crash. o Correct error message to "no known MIIs found". Signed-off-by: Ralf Baechle drivers/net/au1000_eth.c | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit 04115def6ad7ef51440365b65a7324fcb82d5d1d tree 14e7113cad4264ec4cf6f26730437c293f182802 parent f567ef935094003ee70ea3fd10f5695d349c0f48 author Ralf Baechle Mon, 10 Oct 2005 14:50:36 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sb1250-mac: Ensure 16-byte alignment of the descriptor ring. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit f567ef935094003ee70ea3fd10f5695d349c0f48 tree 6259ac64133506c683c9449e6fcb93a490d2f445 parent 757d18faee58aa4c43bcaf9a44decf17fa68adeb author Ralf Baechle Mon, 10 Oct 2005 14:50:24 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sb1250-mac: Check the actual setting for reporting hw checksumming. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 7150bf8a98f14f1ba67e090ef2778004c746f465 tree 6fd181880b24748b91029fddc629d1dd6f47d1c3 parent ba8e9310244180bbc820e865d2e4378809b4a443 author Jack Morgenstein Tue, 18 Oct 2005 14:46:38 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:46:38 -0700 [IB] mthca: Don't enter QP into MCG more than once. Avoid entering a QP as member of a multicast group multiple times. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 757d18faee58aa4c43bcaf9a44decf17fa68adeb tree 307ccb9b815b2b53ad79bb0b0bc5d17a6f39aed0 parent 28af493cd7b89cba7e3ee534079cf4f41bb4b4f9 author Jiri Benc Mon, 10 Oct 2005 19:16:53 +0200 committer Jeff Garzik Tue, 18 Oct 2005 17:25:36 -0400 [PATCH] ieee80211: division by zero fix This fixes division by zero bug in ieee80211_wx_get_scan(). Signed-off-by: Jiri Benc Signed-off-by: Jeff Garzik commit cb1f7be73b6f708d4f4ce225a3bbc02908b729e4 tree 19045178e6c4271c86ff81e51d8e21ec12520f03 parent 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 parent bb7e257ef8d8ba43cab356aa1cc1b20d0106d45f author Trond Myklebust Tue, 18 Oct 2005 14:25:28 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:25:28 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit ba9b543d5bec0a7605952e2ba501fb8b0f3b6407 tree edf67143a032c7b7867ee999f1deb01437a6bc99 parent c8f32be3874a310fa963d47b534a98be1a05a4cc parent 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 author Trond Myklebust Tue, 18 Oct 2005 14:24:35 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:24:35 -0700 Merge branch 'master' of ssh://rsync.linux-nfs.org/home/trondmy/www_sites/rsync.linux-nfs.org/pub/linux/nfs-2.6 commit 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 tree edf67143a032c7b7867ee999f1deb01437a6bc99 parent 4c780a4688b421baa896b59778c05d7e068e479f author Trond Myklebust Tue, 18 Oct 2005 14:20:22 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:22 -0700 NFS: Fix rename of directory onto empty directory If someone tries to rename a directory onto an empty directory, we currently fail and return EBUSY. This patch ensures that we try the rename if both source and target are directories, and that we fail with a correct error of EISDIR if the source is not a directory. Signed-off-by: Trond Myklebust commit 4c780a4688b421baa896b59778c05d7e068e479f tree 5d7727971fc92e037857d6c560a6af8f4196df8b parent 550f57470c6506f5ef3c708335dea6bd48bf3dc4 author Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 Fix Connectathon locking test failure We currently fail Connectathon test 6.10 in the case of 32-bit locks due to incorrect error checking. Also add support for l->l_len < 0 to 64-bit locks. Signed-off-by: Trond Myklebust commit 550f57470c6506f5ef3c708335dea6bd48bf3dc4 tree be34cc170cce1e103baec1976f7903528eb4ff4d parent b8e5c4c2978fa666287525a9de2fa648a7581262 author Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 NFSv4: Ensure that we recover from the OPEN + OPEN_CONFIRM BAD_STATEID race If the server is in the unconfirmed OPEN state for a given open owner and receives a second OPEN for the same open owner, it will cancel the state of the first request and set up an OPEN_CONFIRM for the second. This can cause a race that is discussed in rfc3530 on page 181. The following patch allows the client to recover by retrying the original open request. Signed-off-by: Trond Myklebust commit b8e5c4c2978fa666287525a9de2fa648a7581262 tree b90d9aca86dcb187d985be1eb39e5f691dfcf187 parent 642ac54923e0291ae2c8e42edde18d8c9c0a3c84 author Trond Myklebust Tue, 18 Oct 2005 14:20:20 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:20 -0700 NFSv4: If a delegated open fails, ensure that we return the delegation Unless of course the open fails due to permission issues. Signed-off-by: Trond Myklebust commit 642ac54923e0291ae2c8e42edde18d8c9c0a3c84 tree 3dbcbbff050551854b29e020f8453306053ae9bb parent cae7a073a4c5484cc5713eab606bf54b46724ab3 author Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 NFSv4: Return delegations in case we're changing ACLs Signed-off-by: Trond Myklebust commit cae7a073a4c5484cc5713eab606bf54b46724ab3 tree e5cdcf0376da5b04bca9bbbf8f226abe13f33275 parent cdce5d6b94b6182f6d8a5b7b52923933e98cbc92 author Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 NFSv4: Return delegation upon rename or removal of file. Signed-off-by: Trond Myklebust commit cdce5d6b94b6182f6d8a5b7b52923933e98cbc92 tree e98ec006186a5d18fac2189dc1d6ece1fda9541f parent 6f926b5ba75c568296ec227e7d782db4ddbdca5c author Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 VFS: Make link_path_walk set LOOKUP_CONTINUE before calling permission(). This will allow nfs_permission() to perform additional optimizations when walking the path, by folding the ACCESS(MAY_EXEC) call on the directory into the lookup revalidation. Signed-off-by: Trond Myklebust commit 6f926b5ba75c568296ec227e7d782db4ddbdca5c tree 6c9aad3139ae4e54210ab5ff37446c357c54b521 parent 02a913a73b52071e93f4b76db3e86138d19efffd author Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 [NFS]: Check that the server returns a valid regular file to our OPEN request Since it appears that some servers don't... Signed-off-by: Trond Myklebust commit 02a913a73b52071e93f4b76db3e86138d19efffd tree 1dc1abbd2d8f57a6fd593dd252d6d7ecc7c811c5 parent 834f2a4a1554dc5b2598038b3fe8703defcbe467 author Trond Myklebust Tue, 18 Oct 2005 14:20:17 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:17 -0700 NFSv4: Eliminate nfsv4 open race... Make NFSv4 return the fully initialized file pointer with the stateid that it created in the lookup w/intent. Signed-off-by: Trond Myklebust commit 834f2a4a1554dc5b2598038b3fe8703defcbe467 tree d27a000a2dd03029e6e2472c6e13801688185b51 parent 039c4d7a82d8268ec71f59679460b41d0dd9b225 author Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 VFS: Allow the filesystem to return a full file pointer on open intent This is needed by NFSv4 for atomicity reasons: our open command is in fact a lookup+open, so we need to be able to propagate open context information from lookup() into the resulting struct file's private_data field. Signed-off-by: Trond Myklebust commit 039c4d7a82d8268ec71f59679460b41d0dd9b225 tree a2f76afdda97f92df432b5d04e335ee90c42ced6 parent 06735b3454824bd561decbde46111f144e905923 author Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 NFS: Fix up a race in the NFS implementation of GETLK ...and fix a memory corruption bug due to improper use of memcpy() on a struct file_lock. Signed-off-by: Trond Myklebust commit 06735b3454824bd561decbde46111f144e905923 tree 2c9e9f18ba8d3700a181b44d2b1f0ce6a62612f8 parent faf5f49c2d9c0af2847837c232a432cc146e203b author Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 NFSv4: Fix up handling of open_to_lock sequence ids Signed-off-by: Trond Myklebust commit faf5f49c2d9c0af2847837c232a432cc146e203b tree f0c097ae68ca3ec3cd5ee0a904916493b00b9c1b parent 0a8838f972883112f0a7b259141b24db17583c2d author Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 NFSv4: Make NFS clean up byte range locks asynchronously Currently we fail to do so if the process was signalled. Signed-off-by: Trond Myklebust commit 0a8838f972883112f0a7b259141b24db17583c2d tree 80b047e5223f8cbaaa68b03ba1b4914b437e3f59 parent 83c9d41e456033000ccfadf535f3098d8739488d author Trond Myklebust Tue, 18 Oct 2005 14:20:14 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:14 -0700 NFSv4: Add missing handling of OPEN_CONFIRM requests on CLAIM_DELEGATE_CUR. Signed-off-by: Trond Myklebust commit 83c9d41e456033000ccfadf535f3098d8739488d tree 09f5573ba348225bb7eed14c20b3305f49449e06 parent e6dfa553cffcb9740f932311dff42f81d6ac63bb author Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 NFSv4: Remove nfs4_client->cl_sem from close() path We no longer need to worry about collisions between close() and the state recovery code, since the new close will automatically recheck the file state once it is done waiting on its sequence slot. Ditto for the nfs4_proc_locku() procedure. Signed-off-by: Trond Myklebust commit e6dfa553cffcb9740f932311dff42f81d6ac63bb tree d5519b749b6a7fb6e25b0459385011cd69a6caaf parent 9512135df14f8293b9bc5e8fb22d4279dee5ff66 author Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 NFSv4: Remove obsolete state_owner and lock_owner semaphores OPEN, CLOSE, etc no longer need these semaphores to ensure ordering of requests. Signed-off-by: Trond Myklebust commit 9512135df14f8293b9bc5e8fb22d4279dee5ff66 tree 83fb778ed53ba10c46734968f538aa0a57d376a1 parent cee54fc944422c44e476736c045a9e8053cb0644 author Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 NFSv4: Fix a potential CLOSE race Once the state_owner and lock_owner semaphores get removed, it will be possible for other OPEN requests to reopen the same file if they have lower sequence ids than our CLOSE call. This patch ensures that we recheck the file state once nfs_wait_on_sequence() has completed waiting. Signed-off-by: Trond Myklebust commit cee54fc944422c44e476736c045a9e8053cb0644 tree 95f4728b3ffa8a2456727b10cd3a68f2a3065415 parent 5e5ce5be6f0161d2a069a4f8a1154fe639c5c02f author Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 NFSv4: Add functions to order RPC calls NFSv4 file state-changing functions such as OPEN, CLOSE, LOCK,... are all labelled with "sequence identifiers" in order to prevent the server from reordering RPC requests, as this could cause its file state to become out of sync with the client. Currently the NFS client code enforces this ordering locally using semaphores to restrict access to structures until the RPC call is done. This, of course, only works with synchronous RPC calls, since the user process must first grab the semaphore. By dropping semaphores, and instead teaching the RPC engine to hold the RPC calls until they are ready to be sent, we can extend this process to work nicely with asynchronous RPC calls too. This patch adds a new list called "rpc_sequence" that defines the order of the RPC calls to be sent. We add one such list for each state_owner. When an RPC call is ready to be sent, it checks if it is top of the rpc_sequence list. If so, it proceeds. If not, it goes back to sleep, and loops until it hits top of the list. Once the RPC call has completed, it can then bump the sequence id counter, and remove itself from the rpc_sequence list, and then wake up the next sleeper. Note that the state_owner sequence ids and lock_owner sequence ids are all indexed to the same rpc_sequence list, so OPEN, LOCK,... requests are all ordered w.r.t. each other. Signed-off-by: Trond Myklebust commit 5e5ce5be6f0161d2a069a4f8a1154fe639c5c02f tree fc6e0397c8e17dad5f3f038fb1b3526a114b5244 parent ea635a517e350eb03ab5f01618417f31b82a9a4d author Trond Myklebust Tue, 18 Oct 2005 14:20:11 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:11 -0700 RPC: allow call_encode() to delay transmission of an RPC call. Currently, call_encode will cause the entire RPC call to abort if it returns an error. This is unnecessarily rigid, and gets in the way of attempts to allow the NFSv4 layer to order RPC calls that carry sequence ids. Signed-off-by: Trond Myklebust commit ea635a517e350eb03ab5f01618417f31b82a9a4d tree f2c506b1dec60259ab9d6cfd0b092433cf91774f parent cff6bf970965c98c62007fc8a36527fd147fe233 author Chuck Lever Thu, 06 Oct 2005 23:12:58 -0400 committer Trond Myklebust Tue, 18 Oct 2005 14:20:10 -0700 SUNRPC: Retry rpcbind requests if the server's portmapper isn't up After a server crash/reboot, rebinding should always retry, otherwise requests on "hard" mounts will fail when they shouldn't. Test plan: Run a lock-intensive workload against a server while rebooting the server repeatedly. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 59a10b172fccaea793352c00fd9065f0a5b4ef70 tree fc0acf367b9fca2ff2c5f8062288f8e271771862 parent 8cbd6df1f0ce977ab7b61feffa59879bb5e0ed8f author Albert Lee Wed, 12 Oct 2005 15:09:42 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:14 -0400 [PATCH] libata CHS: reread device identify info (revise #6) problem: id[53-58] might be changed after initializing device CHS settings. changes: - call ata_dev_reread_id() to reread the identify device info, after initializing device CHS settings. Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit 8cbd6df1f0ce977ab7b61feffa59879bb5e0ed8f tree c460778581293ad479ec4983690ccc46bcb4df56 parent 07506697d1c615924298406f2357810709c09bcd author Albert Lee Wed, 12 Oct 2005 15:06:27 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:13 -0400 [PATCH] libata CHS: calculate read/write commands and protocol on the fly (revise #6) - merge ata_prot_to_cmd() and ata_dev_set_protocol() as ata_rwcmd_protocol() - pave road for read/write multiple support - remove usage of pre-cached command and protocol values and call ata_rwcmd_protocol() instead Signed-off-by: Albert Lee ============== Signed-off-by: Jeff Garzik commit 07506697d1c615924298406f2357810709c09bcd tree bd4f223231a92245b8247c6fb8eb23d9b5c3f3be parent 5a476deff3d17093da39c4eccb2692ba714dcb11 author Albert Lee Wed, 12 Oct 2005 15:04:18 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:13 -0400 [PATCH] libata CHS: move the initialization of taskfile LBA flags (revise #6) move the initialization of taskfile LBA flags "ATA_TFLAG_LBA" and "ATA_TFLAG_LBA48 flags" to the SCSI translation functions Signed-off-by: Albert Lee ============= Signed-off-by: Jeff Garzik commit 5a476deff3d17093da39c4eccb2692ba714dcb11 tree 16f5c745a3c8ac780a218ad3d43e32f33164bcf5 parent dd4efa44ebf2a8a0e5edf60a53eadec981b4b10a parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Jeff Garzik Tue, 18 Oct 2005 17:16:06 -0400 committer Jeff Garzik Tue, 18 Oct 2005 17:16:06 -0400 Merge branch 'master' commit ba8e9310244180bbc820e865d2e4378809b4a443 tree 407dc58bb932a7cd09df5c5b0c13f28cfd7f1c61 parent d476306f1cc9156ce4b42586aacce70a356ef656 author Roland Dreier Tue, 18 Oct 2005 14:14:56 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:14:56 -0700 [IB] Fail sysfs queries after device is unregistered We keep IB device structures around until the last sysfs reference is gone, but we shouldn't ask the low-level driver to do anything after the LLD unregisters the device. To handle this, check the reg_state field and just fail sysfs show() requests if the device has already been unregistered. Signed-off-by: Roland Dreier commit 28af493cd7b89cba7e3ee534079cf4f41bb4b4f9 tree ea27df5ab7b728496a15602e0a7da74ff188378f parent 74cfe03f80adc320bde4dd37616354aefe2271aa parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Jeff Garzik Tue, 18 Oct 2005 17:14:17 -0400 committer Jeff Garzik Tue, 18 Oct 2005 17:14:17 -0400 Merge branch 'master' commit d476306f1cc9156ce4b42586aacce70a356ef656 tree 045da3b196f276bbe83cd25f08956578d5e918f6 parent c6f5cb7be0ab478e0618e3c2c6ada27f56d1e7fb author Roland Dreier Tue, 18 Oct 2005 14:07:07 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:07:07 -0700 [IB] mthca: Add struct pci_driver.owner field Set mthca_driver.owner to THIS_MODULE. Signed-off-by: Roland Dreier commit 74cfe03f80adc320bde4dd37616354aefe2271aa tree a5b58d998d2f653d34f331e17db92b8c3692e09e parent 5793f4be23f0171b4999ca68a39a9157b44139f3 author Ralf Baechle Wed, 12 Oct 2005 23:11:01 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:03:28 -0400 [PATCH] Initialize the .owner field the tty_ldisc structure. If .owner isn't set the module can be unloaded even while still active. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit 5793f4be23f0171b4999ca68a39a9157b44139f3 tree 01455dae41fc5c025341e4d31b8013a2e727e66d parent bc0a7438605c5e0cafdb32a3caf46254e146b116 author Ralf Baechle Fri, 14 Oct 2005 14:28:09 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:02:14 -0400 [PATCH] SMACK support for mkiss SMACK (Stuttgart Modified Amateurradio CRC KISS) is a KISS variant that uses CRC16 checksums to secure data transfers between the modem and host. It's also used to communicate over a pty to applications such as Wampes. Patches for Linux 2.4 by Thomas Osterried DL9SAU, upgraded to the latest mkiss 2.6 mkiss driver by me. Signed-off-by: Thomas Osterried DL9SAU Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit bc0a7438605c5e0cafdb32a3caf46254e146b116 tree 7331f97459c13f1f4bb18d8d2db6abd724ad6f7f parent ad4ebed00fbf570411edbf6eb6c391e16b71df25 author Ralf Baechle Mon, 17 Oct 2005 12:42:32 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:01:27 -0400 [PATCH] rcu in bpqether driver. From Suzanne Wood : Clarify RCU implementation in bpqether.c. Because bpq_new_device() calls list_add_rcu() and bpq_free_device() calls list_del_rcu(), substitute list_for_each_entry_rcu() for list_for_each_entry() in bpq_get_ax25_dev() and in bpq_seq_start(). Add rcu dereference protection in bpq_seq_next(). The rcu_read_lock()/unlock() in bpq_device_event() are removed because netdev event handlers are called with RTNL locking in place. FYI: bpq_free_device() calls list_del_rcu() which, per list.h, requires synchronize_rcu() which can block or call_rcu() or call_rcu_bh() which cannot block. Herbert Xu notes that synchronization is done here by unregister_netdevice(). This calls synchronize_net() which in turn uses synchronize_rcu(). Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit ad4ebed00fbf570411edbf6eb6c391e16b71df25 tree 37f236700d5e831fee6bf8494cd57753231ddf14 parent 59aee3c2a1e69fe5062bd1facb72d6fcea3f3f8f author ravinandan.arakali@neterion.com Mon, 17 Oct 2005 18:26:20 -0700 committer Jeff Garzik Tue, 18 Oct 2005 16:58:27 -0400 [PATCH] S2io: Offline diagnostics fixes This patch fixes the following bugs with offline diagnostics code(run with "ethtool -t"). 1. After running offline diagnostics, adapter would report corrupted packets on receive. This was because of adapter not being brought out of "RLDRAM test mode". 2. Current EEPROM test works only for Xframe I. Since Xframe II uses different interface(SPI), support for this interface has been added. Also, since SPI supports write access to all areas of EEPROM, negative testing is done only for Xframe I. 3. Return values from subfunctions of offline diagnostics have been corrected. 4. In register test, expected value from rx_queue_cfg register is made to depend on adapter type. 5. After the test, need to restore values at EEPROM offsets 0x4F0 and 0x7F0. These locations were modified as part of test. 6. Use macro SPECIAL_REG_WRITE for write access to mc_rldram_test_ctrl register. Also, couple of unnecessary writes to mc_rldram_test_ctrl have been removed. Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit cff6bf970965c98c62007fc8a36527fd147fe233 tree 2791f2208b54ade86625af416ff5342f11282f0c parent 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Trond Myklebust Tue, 18 Oct 2005 13:50:52 -0700 committer Trond Myklebust Tue, 18 Oct 2005 13:50:52 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit c6f5cb7be0ab478e0618e3c2c6ada27f56d1e7fb tree 37446873b146ad0e8a4d3c5c6378e4400e797544 parent 4b2d319b53810ab00ef3d8fdfc1c1ab0647ab0a7 author Roland Dreier Tue, 18 Oct 2005 13:22:16 -0700 committer Roland Dreier Tue, 18 Oct 2005 13:22:16 -0700 [IB] mthca: Use enum in mthca_alloc_db() prototype Make the type parameter of mthca_alloc_db() be an enum mthca_db_type instead of an int. This doesn't have any practical effect but documents the functions a little better. Signed-off-by: Roland Dreier commit 4b2d319b53810ab00ef3d8fdfc1c1ab0647ab0a7 tree e54ac6da33e561bb38cf31d2d1ba43b913983cab parent 762a03e21ed08daa5170d9cd98e83539861e7692 author Roland Dreier Tue, 18 Oct 2005 12:20:06 -0700 committer Roland Dreier Tue, 18 Oct 2005 12:20:06 -0700 [IPoIB] Improve ipoib_timeout() output Use jiffies_to_msecs() so we print a human-readable time so we don't have to worry about what HZ is configured to, and print out a few values to make post-mortem analysis easier. Signed-off-by: Roland Dreier commit 46aab8c584ea69cdbe1060f5eae5bf092763f710 tree 1b2e6fa8a94a4a2ddf25fa01de4346ecb4e81c1a parent 77f543cb467c44960bafa6c91f5af75919d693e4 parent b09a4913b15d2544f8918f05b9937cb4e99a2319 author Paul Mackerras Tue, 18 Oct 2005 14:53:41 +1000 committer Paul Mackerras Tue, 18 Oct 2005 14:53:41 +1000 Merge rsync://oak/kernels/iseries/work/ commit b09a4913b15d2544f8918f05b9937cb4e99a2319 tree ed8e4764e6358f18e5641f6fba5815ea88ac1f5e parent 81e7009ea46c951860b8716ee427ff4f54dd26fc author Stephen Rothwell Tue, 18 Oct 2005 14:51:57 +1000 committer Stephen Rothwell Tue, 18 Oct 2005 14:51:57 +1000 powerpc: change sys32_ to compat_sys_ This allows us to get rid of one type of entry in systbl.S. In passing we remove the duplicate compat_sys_getdents and compat_sys_utimes for which there are generic versions. Signed-off-by: Stephen Rothwell commit 77f543cb467c44960bafa6c91f5af75919d693e4 tree eebf9705cb750be7db8ced19d58bd6c4db0e573e parent 81e7009ea46c951860b8716ee427ff4f54dd26fc author Paul Mackerras Tue, 18 Oct 2005 14:19:41 +1000 committer Paul Mackerras Tue, 18 Oct 2005 14:19:41 +1000 powerpc: Fix various compile errors with ARCH=ppc, ppc64 and powerpc This makes ppc use the syscalls.c from arch/powerpc/kernel, exports copy_and_flush from head_32.S for use by prom_init.c (ARCH=powerpc), and consolidates the sys_fadvise64_64 implementations for 32-bit. Signed-off-by: Paul Mackerras commit 81e7009ea46c951860b8716ee427ff4f54dd26fc tree cd9724dac4d04a2e03f4042adbcc86fdc2d037b7 parent 55d363397f1bdfa4fe861f0e2fadb058c79dafea author Stephen Rothwell Tue, 18 Oct 2005 11:17:58 +1000 committer Stephen Rothwell Tue, 18 Oct 2005 11:17:58 +1000 powerpc: merge ppc signal.c and ppc64 signal32.c Signed-off-by: Stephen Rothwell commit 762a03e21ed08daa5170d9cd98e83539861e7692 tree 43c626e5100387e9e66b8cc152194f51701a08db parent 07d357d0cbf89d9980b1769d5444a3c70f000e00 author Roland Dreier Mon, 17 Oct 2005 15:38:50 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:38:50 -0700 [IB] ucm: quiet sparse warnings Make ctx_id_mutex and ctx_id_table static to quiet sparse warnings. Signed-off-by: Roland Dreier commit 07d357d0cbf89d9980b1769d5444a3c70f000e00 tree cc7bcdee52b4e79e2115295e763f2e3d49c68a86 parent 595e726a1f28420c5fc7970b1a87cbce77a1cd45 author Sean Hefty Mon, 17 Oct 2005 15:37:43 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:37:43 -0700 [IB] CM: bind IDs to a specific device Bind communication identifiers to a device to support device removal. Export per HCA CM devices to userspace. Signed-off-by: Sean Hefty commit 595e726a1f28420c5fc7970b1a87cbce77a1cd45 tree 743f39eb3f33c9f0a58a96cf4c7213ca06af50a9 parent 67cdb40ca444c09853ab4d8a41cf547ac26a4de4 author Sean Hefty Mon, 17 Oct 2005 15:33:47 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:33:47 -0700 [IB] merge ucm.h into ucm.c Eliminate ucm.h. Replace ucm_dbg with direct call to printk KERN_ERR. Signed-off-by: Sean Hefty commit 67cdb40ca444c09853ab4d8a41cf547ac26a4de4 tree fc0ecdf4e2c39db11849c79c594711c9e8e76a13 parent 91ecd4ae178bed83da4f6a94ced7992e4d7711eb author Roland Dreier Fri, 14 Oct 2005 15:26:04 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:31 -0700 [IB] uverbs: Implement more commands Add kernel support for userspace calling poll CQ, request CQ notification, post send, post receive, post SRQ receive, create AH and destroy AH commands. These commands allow us to support userspace verbs for devices that can't perform these operations directly from userspace (eg the PathScale HCA). Signed-off-by: Roland Dreier commit 91ecd4ae178bed83da4f6a94ced7992e4d7711eb tree bb1758547300968ceb47cc929c9c50b96060c759 parent 883a99c7024c5763d6d4f22d9239c133893e8d74 author Roland Dreier Fri, 14 Oct 2005 15:21:44 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:30 -0700 [IB] uverbs: Add ABI structures for more commands Add kernel/user ABI structures for marshalling poll CQ, request CQ notification, post send, post receive, post SRQ receive, create AH and destroy AH commands. These commands allow us to support userspace verbs for devices that can't perform these operations directly from userspace (eg the PathScale HCA). Signed-off-by: Roland Dreier commit 883a99c7024c5763d6d4f22d9239c133893e8d74 tree 659a7982a51d0ba187dac826a5b1e5ef319692fd parent 56c202d6e4f542468fe79b8a735cf128898b87fb author Roland Dreier Fri, 14 Oct 2005 14:00:58 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:30 -0700 [IB] uverbs: Add a mask of device methods allowed for userspace Give each device a uverbs_cmd_mask, so that a low-level driver can control which methods may be called on behalf of userspace. Signed-off-by: Roland Dreier commit 56c202d6e4f542468fe79b8a735cf128898b87fb tree 3080b34f6080d71b88ae26f665b5e23d7f485c69 parent 305a7e87055dde2466a855c24ef51a606915d149 author Roland Dreier Thu, 13 Oct 2005 10:45:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] fail SA queries if device initialization failed If the SA query module's initialization fails for a device, then that device won't have a struct ib_sa_device associated. We should fail SA queries in that case, rather than blindly dereferencing the NULL pointer we get back from ib_get_client_data(). Signed-off-by: Roland Dreier commit 305a7e87055dde2466a855c24ef51a606915d149 tree 7cfe3df3901ad99677dc1794d684894db8bf5a38 parent 5b6810e048435de508ef66aebd6b78db13d651b8 author Roland Dreier Tue, 11 Oct 2005 15:39:38 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] uverbs: unlock correctly in error paths A couple of functions were missing spin_unlock calls in error paths. Signed-off-by: Roland Dreier commit 5b6810e048435de508ef66aebd6b78db13d651b8 tree b54df96d5821a6ed41d778bf1ecfb54dbc7a4999 parent efaae8f71f3088cc73c9e5ceabbd314aa82ac768 author Roland Dreier Tue, 11 Oct 2005 11:08:24 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IPoIB] Rename ipoib_create_qp() -> ipoib_init_qp() and fix error cleanup ipoib_create_qp() no longer creates IPoIB's QP, so it shouldn't destroy the QP on failure -- that unwinding happens elsewhere, so the current code can cause a double free. While we're at it, the function's name should match what it actually does, so rename it to ipoib_init_qp(). Signed-off-by: Roland Dreier commit efaae8f71f3088cc73c9e5ceabbd314aa82ac768 tree b19084ae0a9dc6837cb2837cbd21386c9f1b2e0e parent 4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49 author Jack Morgenstein Mon, 10 Oct 2005 13:48:07 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] mthca: Better limit checking and reporting Check the sizes of CQs, QPs and SRQs when creating objects, and fail instead of creating too-big queues. Also return real limits instead of just plausible-sounding values from mthca_query_device(). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49 tree 3a78a17d4499bf95cc23be72ffb88bd49c8e7852 parent e23d6d2b090658007732770720a44375cba23200 author Roland Dreier Thu, 06 Oct 2005 13:28:16 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] Fix leak on MAD initialization failure There is a bug in ib_mad_init_device(): if ib_agent_port_open() fails for a given port, then the current code doesn't call ib_mad_port_close() for that port. Signed-off-by: Roland Dreier commit e23d6d2b090658007732770720a44375cba23200 tree 277afdc20477a3ab8ca9a1ff26c478e047a3a581 parent 90f104da22bbf2e2b8a2136c12fb4e013fccf504 author Roland Dreier Thu, 06 Oct 2005 13:25:16 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] mthca: detect SRQ overflow The hardware relies on us keeping one extra work request that never gets used in SRQs. Add checks to the SRQ work request posting functions so that they fail when someone is about to use up that extra work request, rather than when someone uses the very last work request. Signed-off-by: Roland Dreier commit 90f104da22bbf2e2b8a2136c12fb4e013fccf504 tree d720f4b226cd72903ee878096707578ccc7abc0c parent 116c0074ecfd6f061570856bec52b691d54dbd3c author Roland Dreier Thu, 06 Oct 2005 13:15:56 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] mthca: SRQ limit reached events Our hardware supports generating an event when the number of receives posted to a shared receive queue (SRQ) falls below a user-specified limit. Implement mthca_modify_srq() to arm the limit, and add code to handle dispatching SRQ events when they occur. Signed-off-by: Roland Dreier commit 116c0074ecfd6f061570856bec52b691d54dbd3c tree 0f9524538accf39d965d270d63728ec43a5f26b8 parent f575394f1de9b4afa4b474f1882c7e2d3b8e51d7 author Roland Dreier Mon, 03 Oct 2005 09:32:33 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:27 -0700 [IB] Check port number in ib_query_port()/ib_modify_port() Check port number before passing query_port or modify_port operations on to device driver. Signed-off-by: Roland Dreier commit f575394f1de9b4afa4b474f1882c7e2d3b8e51d7 tree b9ffc5983cbba3acbb8d7233d26101c38f4d7e61 parent 9825051e8c81cbd4400333e7cdc04be77a0bab75 author Roland Dreier Mon, 03 Oct 2005 09:18:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:27 -0700 [IB] uverbs: reject invalid memory registration permission flags Reject userspace memory registrations with invalid permission flags: "local write" is required if "remote write" or "remote atomic" is also requested. Pointed out by Jack Morgenstein Signed-off-by: Roland Dreier commit 9825051e8c81cbd4400333e7cdc04be77a0bab75 tree 0b14750f603b1feece6c147cb95f31619bfb67c2 parent 274c0891637c44ac71f3ac40be91b43c2318883a author Jack Morgenstein Sat, 01 Oct 2005 13:09:44 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:26 -0700 [IB] mthca: Fill in more fields in query_port method Add code to fill in the bad_pkey_cntr, max_mtu, active_mtu and subnet_timeout fields in mthca_query_port(). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 274c0891637c44ac71f3ac40be91b43c2318883a tree fc7d9f07ab7e663a8acb771069cb9f1053ca2302 parent eb9d3cd5ce2828fbb99ed7270089ea152c8f64b3 author Roland Dreier Thu, 29 Sep 2005 14:17:48 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:26 -0700 [IB] uverbs: Add device-specific ABI version attribute Add abi_version attribute to uverbs class devices to allow for ABI versioning of device-specific interfaces. Signed-off-by: Roland Dreier commit eb9d3cd5ce2828fbb99ed7270089ea152c8f64b3 tree 2d0de42bc6c7777c66ee76d5817312bcfd161718 parent 6b73597e7062118c0549c2702bfb7d273518c906 author Roland Dreier Tue, 27 Sep 2005 15:07:25 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:25 -0700 [IB] uverbs: Fix up resource creation error paths By waiting to add resources to our lists until after the last operation that can fail, we don't have to remove them from their lists in the error path. Also, we should hold the idr mutex until we know whether resource creation has succeed or failed, to avoid someone finding a resource in our table before we're ready. Loosely based on work by Robert Walsh . Signed-off-by: Roland Dreier commit 6b73597e7062118c0549c2702bfb7d273518c906 tree 6034aae7493b32d75d1c8818a801b09b77979acd parent 33033b797225553e48ca68d8d8dc5e64ec22e02b author Roland Dreier Mon, 26 Sep 2005 13:53:25 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:25 -0700 [IB] uverbs: ABI-breaking fixes for userspace verbs Introduce new userspace verbs ABI version 3. This eliminates some unneeded commands, and adds support for user-created completion channels. This cleans up problems with file leaks on error paths, and also makes sure that file descriptors are always installed into the correct process. Signed-off-by: Roland Dreier commit 33033b797225553e48ca68d8d8dc5e64ec22e02b tree f76970269a0a16eb6b301f3d048af7670232d652 parent 0c33aeedb2cf99d877ad9adc7c3df07870f60293 author Jack Morgenstein Mon, 26 Sep 2005 12:30:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:24 -0700 [IB] mthca: Report correct atomic capability Return correct atomic capability flag from mthca query function. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 0c33aeedb2cf99d877ad9adc7c3df07870f60293 tree 7f6b23172b327ebd8b5d4f5d40aa216ba48600a2 parent 2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f author Jack Morgenstein Mon, 26 Sep 2005 11:47:53 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:24 -0700 [IB] Add checks to multicast attach and detach Add checks so that we only allow multicast attach/detach with a valid multicast GID and the correct QP type. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 7946ada30bc45546cefc85809ba0fd07879eff52 tree 03c382e8e4f9b81f151be953de3b7f61411c9303 parent 98b270362bb9ea6629732e7f5b65b8a6ce4743c7 parent 3d80636a0d5f056ffc26472d05b6027a7a9f6e1c author Anton Altaparmakov Mon, 17 Oct 2005 15:00:34 +0100 committer Anton Altaparmakov Mon, 17 Oct 2005 15:00:34 +0100 Merge branch 'master' of /usr/src/ntfs-2.6/ commit 55d363397f1bdfa4fe861f0e2fadb058c79dafea tree e09d805e36f1a024bd999c8f3b4bc620608ece4b parent 61f684ec074f40e2e13e750513df42c0c046689b author David Gibson Thu, 13 Oct 2005 15:46:22 +1000 committer Paul Mackerras Mon, 17 Oct 2005 21:43:12 +1000 [PATCH] powerpc: Another maple merge tree fix With ARCH=powerpc, a spurious ifdef in prom_init prevented the seconday hold loop being correctly copied down on Maple. With this patch, Maple boots with ARCH=powerpc Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 61f684ec074f40e2e13e750513df42c0c046689b tree 3d78d1bf0eb49b5aeb39219262c823561ba98f9b parent ea703ce20699dd85ad7954e34b71a2c7c47b6132 author David Gibson Thu, 13 Oct 2005 14:28:58 +1000 committer Paul Mackerras Mon, 17 Oct 2005 21:43:12 +1000 [PATCH] powerpc: Fix use of LOADBASE in merge tree The merge-tree version of LOADBASE actually loads the whole given address from the toc for ppc64. The matching OFF macro adjust for this, using an offset of 0 for ppc64, but we weren't using that in power4_idle. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit ea703ce20699dd85ad7954e34b71a2c7c47b6132 tree e9d200bb4caa5a211025c1306fac0c8bd5e8e979 parent 5f2967553394d01f4bafd03398777a42e8344d28 author Kumar Gala Tue, 11 Oct 2005 23:54:00 -0500 committer Paul Mackerras Mon, 17 Oct 2005 21:43:12 +1000 [PATCH] powerpc: replace use of _GLOBAL with .globl The _GLOBAL() macro is for text symbols only. Changed to using .globl for .data symbols. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit 5f2967553394d01f4bafd03398777a42e8344d28 tree b4504f072ca945da545fde9f0360a8528bd7c11f parent dd184343b45e94fd3b0d4d0865070924bc6195ab author Paul Mackerras Mon, 17 Oct 2005 20:14:59 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:14:59 +1000 powerpc: Make CONFIG_PROC_DEVICETREE independent of CONFIG_PPC_OF ... since all platforms will have a device tree. Signed-off-by: Paul Mackerras commit dd184343b45e94fd3b0d4d0865070924bc6195ab tree f7fe5b1ada69a7a59fdec4793b459d851f911e92 parent 7ac59c624992281ff315911dea2a98ca3f3ff06e author Paul Mackerras Mon, 17 Oct 2005 20:13:47 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:13:47 +1000 powerpc: Clear the BSS at the start of early_init with ARCH=ppc Signed-off-by: Paul Mackerras commit 7ac59c624992281ff315911dea2a98ca3f3ff06e tree cef07b70e33f78cd184a05b16876756fb6e8a4ab parent 3e63b9ec51eb1d9f441e5015427b23d70e5991b3 author Paul Mackerras Mon, 17 Oct 2005 20:12:39 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:12:39 +1000 ppc: Fix various compile errors resulting from ptrace.c merge This introduces flush_{fp,altivec,spe}_to_thread and fixes a branch-too-far error in linking. Signed-off-by: Paul Mackerras commit 3e63b9ec51eb1d9f441e5015427b23d70e5991b3 tree ccc8e2b93c112fa6d7d65030c6ba4e8e5789e616 parent 30286ef6e044bc3d9019c3d8b900572e3fa05e65 author Paul Mackerras Mon, 17 Oct 2005 20:11:03 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:11:03 +1000 ppc: Use the merged of_device.c from arch/powerpc/kernel Signed-off-by: Paul Mackerras commit 30286ef6e044bc3d9019c3d8b900572e3fa05e65 tree 4d73bf0eb0da75d3c52613325d4085f139efdd39 parent 30cd4a4e9c25e154ba087848a839bd0c6d024092 author Paul Mackerras Mon, 17 Oct 2005 20:10:13 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:10:13 +1000 powerpc: Merge syscalls.c and sys_ppc32.c. Signed-off-by: Paul Mackerras commit 30cd4a4e9c25e154ba087848a839bd0c6d024092 tree 8ba678b5e025b1d5e1f1b18e14662d2da720a0f7 parent 7dffb72028bfd909ac51a1546d182de2df4d2426 author Paul Mackerras Mon, 17 Oct 2005 19:20:46 +1000 committer Paul Mackerras Mon, 17 Oct 2005 19:20:46 +1000 powerpc: Initialize btext subsystem later, after prom_init We were initializing the btext stuff from prom_init(), thus breaking the rule that all communication between prom_init() and the rest of the kernel has to be via the flattened device tree. This removes the btext initialization calls from prom_init() and initializes it instead after the device tree is unflattened. It would be nice to do it earlier, but that needs some more infrastructure to find the properties we need in the flattened device tree. Signed-off-by: Paul Mackerras commit 7dffb72028bfd909ac51a1546d182de2df4d2426 tree c465c35642872973543f710f8aa06b955b84f7e5 parent cf764855620aa1aa5b134687ca18b841ac9be4c7 author Stephen Rothwell Mon, 17 Oct 2005 11:50:32 +1000 committer Stephen Rothwell Mon, 17 Oct 2005 11:50:32 +1000 ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES instead of L1_CACHE_LINE_SIZE and LG_L1_CACHE_LINE_SIZE Signed-off-by: Stephen Rothwell commit cf764855620aa1aa5b134687ca18b841ac9be4c7 tree e70175e00db5a1041d69b40d6221d7d00f13927f parent c6d2ea92d162c81d4d593b4b5e0f5ceb1b940c72 author Stephen Rothwell Mon, 17 Oct 2005 11:46:53 +1000 committer Stephen Rothwell Mon, 17 Oct 2005 11:46:53 +1000 powerpc: fix 32bit LOADADDR macro I forgot a semicolon. Signed-off-by: Stephen Rothwell commit c6d2ea92d162c81d4d593b4b5e0f5ceb1b940c72 tree a5a7334ba6e472d0c8e702e5d1b8a012f7595af6 parent 0e29bb1a4ef69120a614391a649510010031dd8a author Stephen Rothwell Fri, 14 Oct 2005 17:16:17 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 17:16:17 +1000 powerpc: move iSeries/HvCallPci.h to platforms/iseries/call_pci.h Signed-off-by: Stephen Rothwell commit 0e29bb1a4ef69120a614391a649510010031dd8a tree 2795723298f7bd68eedbcb7e01f4673d12fb5258 parent 20f48ccfa015d8b8391bbf07fc27618453f44969 author Stephen Rothwell Fri, 14 Oct 2005 17:09:16 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 17:09:16 +1000 powerpc: move iSeries/HvCallHpt.h to platforms/iseries/call_hpt.h Signed-off-by: Stephen Rothwell commit 20f48ccfa015d8b8391bbf07fc27618453f44969 tree 0a38839fb3c8899fe1eb3026a29daaabec65babc parent bffa8fc3835b0d3c4a59af8aceeea3aba823b032 author Stephen Rothwell Fri, 14 Oct 2005 16:49:58 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 16:49:58 +1000 powerpc: eliminate DsaAddr from pci_dn Signed-off-by: Stephen Rothwell commit bffa8fc3835b0d3c4a59af8aceeea3aba823b032 tree 53f46e4aef2f9b6afdaa55f82136d67b66de7dec parent 426c1a11a677e39a8c8ed744a521d0f4cb2e417e author Stephen Rothwell Fri, 14 Oct 2005 15:06:10 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 15:06:10 +1000 powerpc: remove ISERIES_[SUB]BUS macros This allows us to simplify a couple of things. Signed-off-by: Stephen Rothwell commit 426c1a11a677e39a8c8ed744a521d0f4cb2e417e tree efa10517ccd9469cfdf1b4390aeb776a8d3f1ddc parent 190554db7bcd41935827f71d4f6f787673da208a author Stephen Rothwell Fri, 14 Oct 2005 14:51:42 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 14:51:42 +1000 powerpc: move iSeries/iSeries_pci.h to platforms/iseries The only real user of this file outside platforms/iseries was drivers/net/iseries_veth.c but all it wanted was ISERIES_HV_ADDR() so we move that to abs_addr.h (and lowercase it). Signed-off-by: Stephen Rothwell commit dd4efa44ebf2a8a0e5edf60a53eadec981b4b10a tree dd6e750c3e7228abb1f922de240b86d7d12d14bf parent 1a04392bd6439876b1552793389cbb5be356ea54 parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Jeff Garzik Thu, 13 Oct 2005 21:23:44 -0400 committer Jeff Garzik Thu, 13 Oct 2005 21:23:44 -0400 Merge branch 'master' commit 59aee3c2a1e69fe5062bd1facb72d6fcea3f3f8f tree b337d73229a69e399d4e4f7128b33ce734660e35 parent 0d69ae5fb7eb9ba3b54cf0ba4ef5ae591f31eef7 parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Jeff Garzik Thu, 13 Oct 2005 21:22:27 -0400 committer Jeff Garzik Thu, 13 Oct 2005 21:22:27 -0400 Merge branch 'master' commit c8f32be3874a310fa963d47b534a98be1a05a4cc tree d26d6760c0fdabda4f313f3b40172269b378bb48 parent 7217cbccbd0c620a6d234ebbe5e58d46d2188d0e parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Trond Myklebust Thu, 13 Oct 2005 18:49:40 -0400 committer Trond Myklebust Thu, 13 Oct 2005 18:49:40 -0400 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 7217cbccbd0c620a6d234ebbe5e58d46d2188d0e tree ed8ad2161ca664c9100cb3fc1f9b0d8c3762500c parent 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 parent c931488cc4619eecfe68a2f046b5898fddc2f904 author Trond Myklebust Thu, 13 Oct 2005 18:49:06 -0400 committer Trond Myklebust Thu, 13 Oct 2005 18:49:06 -0400 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 190554db7bcd41935827f71d4f6f787673da208a tree ff362bb310877b2c96ff6de3aed25b350426c575 parent e8a30302abc42a0c537b9326883523da9963deb6 author Stephen Rothwell Thu, 13 Oct 2005 16:14:15 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 16:14:15 +1000 powerpc: fix uname -m It will now give ppc64 on 64bit platforms and ppc on 32bit platforms. Signed-off-by: Stephen Rothwell commit e8a30302abc42a0c537b9326883523da9963deb6 tree 3d4dc948afff95a2a86805d75162a8cdb3baded6 parent eec5ef909888cd9d25a61f904cd8f0db50ea0455 author Stephen Rothwell Thu, 13 Oct 2005 15:52:04 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 15:52:04 +1000 powerpc: merge ptrace.c Signed-off-by: Stephen Rothwell commit eec5ef909888cd9d25a61f904cd8f0db50ea0455 tree 1104668ef4480c9e0659e72afaa0a730aed63e49 parent ae2752050d21f5aef811c362d3a47dce4694068d author Stephen Rothwell Thu, 13 Oct 2005 15:16:25 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 15:16:25 +1000 ppc64: use powerpc of_device.c Signed-off-by: Stephen Rothwell commit ae2752050d21f5aef811c362d3a47dce4694068d tree 1090dc24a34fa1c43f7623223f628b54b65d6a1a parent d4bf9a7858a0766cafb21dcb66ff9a5d92c1cd09 author Stephen Rothwell Thu, 13 Oct 2005 14:12:25 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 14:12:25 +1000 ppc64: fix arch/ppc64/kernel/Makefile Signed-off-by: Stephen Rothwell commit d4bf9a7858a0766cafb21dcb66ff9a5d92c1cd09 tree 7179d40fa2b016414fb2b7fcc9e9da960459bc8d parent 0f17d0742f27b7a69b0e2dfb21190f06ea3a9087 author Stephen Rothwell Thu, 13 Oct 2005 13:40:54 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 13:40:54 +1000 ppc64: merge binfmt_elf32.c and use start_thread for both 32 and 64 bit bineries. Signed-off-by: Stephen Rothwell commit 0f17d0742f27b7a69b0e2dfb21190f06ea3a9087 tree 5194d14f40c01465e0d7ef7955e38192be668725 parent 7062018687da3d5d4966f58d6f0a58528b1e331b author Stephen Rothwell Wed, 12 Oct 2005 23:23:44 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 09:49:56 +1000 powerpc: make 64 bit binaries work Signed-off-by: Stephen Rothwell commit 7062018687da3d5d4966f58d6f0a58528b1e331b tree ccd1c08ab25397d44f34382fc353df2e5cb591fc parent 4920960f577edcb0a5ef03823a53911cca5875e1 author Stephen Rothwell Wed, 12 Oct 2005 17:44:55 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 09:49:51 +1000 powerpc: create 32 bit LOADADDR macro and use it in misc_32.S Signed-off-by: Stephen Rothwell commit 4920960f577edcb0a5ef03823a53911cca5875e1 tree c37bb1a8b02f54e3a5012bac7f726208e6fc488e parent 7e130edf712ac054aecf643f9d3d0142a9679e6a author Stephen Rothwell Wed, 12 Oct 2005 15:55:09 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 09:49:45 +1000 powerpc: consolidate cputable.c Also simplify arch/ppc64/kernel/Makefile Signed-off-by: Stephen Rothwell commit 84d2f07e8e5e2424eec0f5acfef6792c924a0549 tree c996a1a89db7124d4e644c6abe5e8f0f9c6fdab3 parent 47c786e79b46ef478a1123cb57c711ecb481cbfa author Steve French Wed, 12 Oct 2005 15:32:05 -0700 committer Steve French Wed, 12 Oct 2005 15:32:05 -0700 CIFS: cifs_writepages should not write beyond end of file Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 7e130edf712ac054aecf643f9d3d0142a9679e6a tree c762cf5bfdb2f2834f22407fe42c23639615c2ad parent 5629d41d5ce255802cd3c350fbadfe5f3aa5f279 author Paul Mackerras Wed, 12 Oct 2005 17:03:36 +1000 committer Paul Mackerras Wed, 12 Oct 2005 17:03:36 +1000 ppc64: Remove duplicate versions of some headers This removes three headers from include/asm-ppc64 that are now in include/asm-powerpc and are sufficiently similar that they can be used with ARCH=ppc64. Signed-off-by: Paul Mackerras commit 5629d41d5ce255802cd3c350fbadfe5f3aa5f279 tree e00fcb33fd2e25305b3243e060e01cd346d4af94 parent 3eac8c69d1ac1266327f4e29deb23716a12c6d30 author Paul Mackerras Wed, 12 Oct 2005 17:01:50 +1000 committer Paul Mackerras Wed, 12 Oct 2005 17:01:50 +1000 powerpc: Bring in some changes made to arch/ppc and include/asm-ppc64 Recent commits upstream have changed files which are currently duplicated in arch/powerpc and include/asm-powerpc. This updates them with the corresponding changes. Signed-off-by: Paul Mackerras commit 3eac8c69d1ac1266327f4e29deb23716a12c6d30 tree 0f79bf41c9f7e9e72d7f2827c1810d3815d6f2af parent b6ec995a21a9428aef620b5adf46d047a18d88b8 author Paul Mackerras Wed, 12 Oct 2005 16:58:53 +1000 committer Paul Mackerras Wed, 12 Oct 2005 16:58:53 +1000 powerpc: Move default hash table size calculation to hash_utils_64.c We weren't computing the size of the hash table correctly on iSeries because the relevant code in prom.c was #ifdef CONFIG_PPC_PSERIES. This moves the code to hash_utils_64.c, makes it unconditional, and cleans it up a bit. Signed-off-by: Paul Mackerras commit b6ec995a21a9428aef620b5adf46d047a18d88b8 tree 6719121e6605cbca524b687f47336b9bbf3b8d41 parent 3a5f8c5f788d68e325d9fe3c26f4df5a5aee838a parent da64c6ee6bb71bfb3f09d9bb89ce1aa4b1ee7e89 author Paul Mackerras Wed, 12 Oct 2005 14:43:32 +1000 committer Paul Mackerras Wed, 12 Oct 2005 14:43:32 +1000 Merge from Linus' tree commit 47c786e79b46ef478a1123cb57c711ecb481cbfa tree 915f408208c8930ccefff3ea8a137ec5fd395b22 parent 1047abc159b4eb4ba4a7342a0969e16e9d4b4c69 author Steve French Tue, 11 Oct 2005 20:03:18 -0700 committer Steve French Tue, 11 Oct 2005 20:03:18 -0700 [CIFS] Add null malloc response check in notify experimental code Signed-off-by: Steve French (sfrench@us.ibm.com) commit 1047abc159b4eb4ba4a7342a0969e16e9d4b4c69 tree 532cf6200f2c63869f006dfad2b41d9d408a9a59 parent 4ca9c190d902caa7efb899a4c7fc8c6e6d926e95 author Steve French Tue, 11 Oct 2005 19:58:06 -0700 committer Steve French Tue, 11 Oct 2005 19:58:06 -0700 [CIFS] CIFS Stats improvements New cifs_writepages routine was not updated bytes written in cifs stats. Also added ability to clear /proc/fs/cifs/Stats by writing (0 or 1) to it. Signed-off-by: Steve French commit 3a5f8c5f788d68e325d9fe3c26f4df5a5aee838a tree ad0bb508722bb54baca8ad830c569a476f345233 parent f255f0dd1b4ef7af0e48f5603d1f27ee4bad5848 author Stephen Rothwell Tue, 11 Oct 2005 19:40:20 +1000 committer Stephen Rothwell Wed, 12 Oct 2005 10:58:00 +1000 powerpc: make iSeries boot again On ARCH=ppc64 we were getting htab_hash_mask recalculated to the correct value for our particular machine by accident. In the merge tree, that code was commented out, so htab_hash_mask was being corrupted. We now set ppc64_pft_size instead which gets htab_has_mask calculated correctly for us later. We should put an ibm,pft-size property in the device tree at some point. Also set -mno-minimal-toc in some makefiles. Allow iSeries to configure PROC_DEVICETREE. Signed-off-by: Stephen Rothwell commit f255f0dd1b4ef7af0e48f5603d1f27ee4bad5848 tree 93d93a62b5d3604efbc60666c14e35c90600c237 parent f696012330a67a60a9822ed48d1e9ecba73b4f18 author Stephen Rothwell Mon, 10 Oct 2005 17:10:54 +1000 committer Stephen Rothwell Wed, 12 Oct 2005 10:57:45 +1000 powerpc: pci_dn's should point to their device_node's Signed-off-by: Stephen Rothwell commit 98b270362bb9ea6629732e7f5b65b8a6ce4743c7 tree 2ca1f46a426628a16cc8cef2a4d4fba657d7ac1f parent 29f5f3c141c58b0a4c0765c77da612271875bcce author Anton Altaparmakov Tue, 11 Oct 2005 15:40:40 +0100 committer Anton Altaparmakov Tue, 11 Oct 2005 15:40:40 +0100 NTFS: The big ntfs write(2) rewrite has arrived. We now implement our own file operations ->write(), ->aio_write(), and ->writev() for regular files. This replaces the old use of generic_file_write(), et al and the address space operations ->prepare_write and ->commit_write. This means that both sparse and non-sparse (unencrypted and uncompressed) files can now be extended using the normal write(2) code path. There are two limitations at present and these are that we never create sparse files and that we only have limited support for highly fragmented files, i.e. ones whose data attribute is split across multiple extents. When such a case is encountered, EOPNOTSUPP is returned. Signed-off-by: Anton Altaparmakov commit b6a47fd8ff08a9d5cd279cdb8d97a619983575fa tree 5e946b5a7c3f224d181525ca475fd3f29508c47d parent ac17b8b57013a3e38d1958f66a218f15659e5752 author Dave Kleikamp Tue, 11 Oct 2005 09:06:59 -0500 committer Dave Kleikamp Tue, 11 Oct 2005 09:06:59 -0500 JFS: Corrupted block map should not cause trap Replace assert statements with better error handling. Signed-off-by: Dave Kleikamp commit 29f5f3c141c58b0a4c0765c77da612271875bcce tree 5e3f7c988636a72c280e85ed3b78d5fd44338c22 parent 29b8990513b077dc388b0756acd31465e5c21441 author Anton Altaparmakov Tue, 11 Oct 2005 14:59:40 +0100 committer Anton Altaparmakov Tue, 11 Oct 2005 14:59:40 +0100 NTFS: Remove address space operations ->prepare_write and ->commit_write in preparation for the big rewrite of write(2) support in ntfs. Signed-off-by: Anton Altaparmakov commit 29b8990513b077dc388b0756acd31465e5c21441 tree b7de34b7cf3c33d99af1579433f7e2b66a4cd37f parent 29d8699ebb1e8948a612306c69e6d9c4ef23342f author Anton Altaparmakov Tue, 11 Oct 2005 14:54:42 +0100 committer Anton Altaparmakov Tue, 11 Oct 2005 14:54:42 +0100 NTFS: In attrib.c::ntfs_attr_set() call balance_dirty_pages_ratelimited() and cond_resched() in the main loop as we could be dirtying a lot of pages and this ensures we play nice with the VM and the system as a whole. Signed-off-by: Anton Altaparmakov commit f696012330a67a60a9822ed48d1e9ecba73b4f18 tree 1d9b3a88950ff6cf00dfba98ebfa2c7d795cc132 parent 3abec857a0f7491b397a97337cc057b84a1d637a author Paul Mackerras Tue, 11 Oct 2005 22:10:49 +1000 committer Paul Mackerras Tue, 11 Oct 2005 22:10:49 +1000 ppc64: compile fix - define execve in misc.S This used to be inline in include/asm-ppc64/unistd.h, but isn't inline in the merged include/asm-powerpc/unistd.h, so we need a definition here. Signed-off-by: Paul Mackerras commit 3abec857a0f7491b397a97337cc057b84a1d637a tree c0bedb7865f7106c3854065be974d8a064281d29 parent fd582ec88eb8d2d907876603e4ecebe6eab330d9 author Paul Mackerras Tue, 11 Oct 2005 22:09:48 +1000 committer Paul Mackerras Tue, 11 Oct 2005 22:09:48 +1000 ppc64: Use merged versions of init_task.c and process.c. These two files are now built in arch/powerpc/kernel instead of arch/ppc64/kernel. Signed-off-by: Paul Mackerras commit fd582ec88eb8d2d907876603e4ecebe6eab330d9 tree bafacc1916098001051b8235722daa6b9b52e63a parent 35d81a4bfe28a6ea81c9f67c9ce40543124ded0b author Paul Mackerras Tue, 11 Oct 2005 22:08:12 +1000 committer Paul Mackerras Tue, 11 Oct 2005 22:08:12 +1000 ppc: Various minor compile fixes This fixes up a variety of minor problems in compiling with ARCH=ppc arising from using the merged versions of various header files. A lot of the changes are just adding #include to files that use ppc_md or smp_ops_t. This also arranges for us to use semaphore.c, vecemu.c, vector.S and fpu.S from arch/powerpc/kernel when compiling with ARCH=ppc. Signed-off-by: Paul Mackerras commit 35d81a4bfe28a6ea81c9f67c9ce40543124ded0b tree 43ed0161b53e0b4c620066c6b1c49d04b13188f5 parent cc5aa206d2c853929ce67d8f5ebb57cd1c7fd413 author Paul Mackerras Tue, 11 Oct 2005 22:03:09 +1000 committer Paul Mackerras Tue, 11 Oct 2005 22:03:09 +1000 ppc: Adapt to asm-powerpc/irq.h irq_canonicalize changes Now instead of having a ppc_md function, we just have a variable which says whether to do the i8259 irq canonicalization or not, and set that variable on the platforms that need that. It looks to me that radstone_ppc7d was trying to use irq canonicalization for something else in a broken kind of way - it will need to be fixed properly. Signed-off-by: Paul Mackerras commit 29d8699ebb1e8948a612306c69e6d9c4ef23342f tree f2378e8d2fbef7fc215a25acf2042b8965109e5e parent e9438250b635f7832e99a8c8d2e394dd1522ce65 parent 907a42617970a159361f17ef9a63f04d276995ab author Anton Altaparmakov Tue, 11 Oct 2005 09:29:48 +0100 committer Anton Altaparmakov Tue, 11 Oct 2005 09:29:48 +0100 Merge branch 'master' of /usr/src/ntfs-2.6/ commit cc5aa206d2c853929ce67d8f5ebb57cd1c7fd413 tree 2f054b386205b51cb8b3098e44b41a39e0d056cc parent abc244dd855a8013db8c850c21811c12a22b608a author Paul Mackerras Tue, 11 Oct 2005 17:35:20 +1000 committer Paul Mackerras Tue, 11 Oct 2005 17:35:20 +1000 powerpc: Remove debug messages from setup_64.c A bunch of printks were left in arch/powerpc/kernel/setup_64.c from when I was chasing a bug. This removes them. Signed-off-by: Paul Mackerras commit 1a04392bd6439876b1552793389cbb5be356ea54 tree 12af7b77e3b0848127f2d2871778c9c1f315578a parent 68399bb5080c1d96f2110b0a040b39d3ccd7a18a parent 3c92c2ba33cd7d666c5f83cc32aa590e794e91b0 author Jeff Garzik Tue, 11 Oct 2005 01:48:37 -0400 committer Jeff Garzik Tue, 11 Oct 2005 01:48:37 -0400 Merge branch 'master' commit 68399bb5080c1d96f2110b0a040b39d3ccd7a18a tree 678151c01ea0277c6f7d1a7c5fcc5a3ebe54997b parent edea3ab58f8edd5f72d31f891ab4f34382e97e3a author Jeff Garzik Tue, 11 Oct 2005 01:44:14 -0400 committer Jeff Garzik Tue, 11 Oct 2005 01:44:14 -0400 [libata pdc_adma] license update, minor cleanup from me: change from OSL+GPL to GPL (with approval) from Mark: Gets rid of an unneeded control bit, slightly increasing throughput. commit 4ca9c190d902caa7efb899a4c7fc8c6e6d926e95 tree 2c2cce67494a43c7cd35063435ac0d18a85dbe4d parent 34210f33025a3256b9ac3f0a182f02f1879140cb author Steve French Mon, 10 Oct 2005 19:52:13 -0700 committer Steve French Mon, 10 Oct 2005 19:52:13 -0700 [CIFS] Fix oops in experimental notify code (when CONFIG_CIFS_EXPERIMENTAL was turned on). Signed-off-by: Steve French commit abc244dd855a8013db8c850c21811c12a22b608a tree b4161fbe6b1eee7b525c4a21dfe3695cc80a617a parent 60a3d741780a883f4ce10c0fab99e8542ec65e04 author Paul Mackerras Tue, 11 Oct 2005 09:47:23 +1000 committer Paul Mackerras Tue, 11 Oct 2005 10:00:07 +1000 powerpc: Remove xmon.h include from arch/powerpc/platforms/powermac/pic.c ... since it isn't needed. Signed-off-by: Paul Mackerras commit 60a3d741780a883f4ce10c0fab99e8542ec65e04 tree 5c15375d6863c985fc70abe9be8a6f9279376ef6 parent 8d66912c3d12df45a59d4e2a66b5ae622e3524b7 author Paul Mackerras Tue, 11 Oct 2005 09:46:10 +1000 committer Paul Mackerras Tue, 11 Oct 2005 10:00:00 +1000 powerpc: Merged asm/xmon.h Xmon itself isn't merged yet, though. Signed-off-by: Paul Mackerras commit 8d66912c3d12df45a59d4e2a66b5ae622e3524b7 tree f5622827c0a68fe7ddfcc1274d46105ccf189f28 parent 3b341c1c410078bdc4128e08d4dfeef491697198 author Paul Mackerras Tue, 11 Oct 2005 09:33:08 +1000 committer Paul Mackerras Tue, 11 Oct 2005 09:59:53 +1000 powerpc: Remove 83xx from arch/powerpc/platforms/Makefile for now Since we don't have an 83xx directory or a 83xx/Makefile, having 83xx in causes make clean to fail. Signed-off-by: Paul Mackerras commit 3b341c1c410078bdc4128e08d4dfeef491697198 tree 49a769713c4e541829240cf04842413d2c372d62 parent 508c40227caee4cef0e963e61a3a5172a108b455 author Paul Mackerras Tue, 11 Oct 2005 09:28:16 +1000 committer Paul Mackerras Tue, 11 Oct 2005 09:59:44 +1000 powerpc: Merged asm/i8259.h Signed-off-by: Paul Mackerras commit 508c40227caee4cef0e963e61a3a5172a108b455 tree 2cec3435f5fec2f088d41d0d3f07dea54b278646 parent 20f629549b30a1154c8b5e830cb10a0c0faa875f author Paul Mackerras Tue, 11 Oct 2005 09:26:48 +1000 committer Paul Mackerras Tue, 11 Oct 2005 09:59:38 +1000 powerpc: Merged asm/backlight.h Signed-off-by: Paul Mackerras commit 20f629549b30a1154c8b5e830cb10a0c0faa875f tree 39ea48bbdb63a9a3d43f477e28de019d44100da7 parent 3c3f42d63a11f2e22dbff6bb4d170f92dbd39316 author Paul Mackerras Tue, 11 Oct 2005 09:25:40 +1000 committer Paul Mackerras Tue, 11 Oct 2005 09:59:32 +1000 powerpc: Make building the boot image work for both 32-bit and 64-bit At the moment we don't have a merged arch/powerpc/boot, so we build the boot images in arch/ppc/boot and arch/ppc64/boot. Unfortunately the makefile targets are different in those two directories, so this makes a change to accommodate both for the moment. Signed-off-by: Paul Mackerras commit edea3ab58f8edd5f72d31f891ab4f34382e97e3a tree 28762fa95419037ed0b6aa8062334b45d7917bc7 parent 3d3467f0fdf61a421361c00cf84fcf0f1a6dc1e8 author Mark Lord Mon, 10 Oct 2005 17:53:58 -0400 committer Jeff Garzik Mon, 10 Oct 2005 17:53:58 -0400 libata: add new driver pdc_adma for PDC ADMA ATA cards commit 34210f33025a3256b9ac3f0a182f02f1879140cb tree 8990de96d44d121e42475f70094cfdc8066c1041 parent 9e2e85f82fa280e937ee42152e7cbaff78be01a2 author Steve French Mon, 10 Oct 2005 14:31:13 -0700 committer Steve French Mon, 10 Oct 2005 14:31:13 -0700 [CIFS] Still missing a line from previous fix Signed-off-by: Steve French (sfrench@us.ibm.com) commit 9e2e85f82fa280e937ee42152e7cbaff78be01a2 tree 9613f8c41ddbbdfff180034945e14e6fffc8292c parent b387eaeb666f6a5e24990a1f4d6a0447ae14315d author Steve French Mon, 10 Oct 2005 14:28:38 -0700 committer Steve French Mon, 10 Oct 2005 14:28:38 -0700 [CIFS] Fix minor build problem with previous changeset Signed-off-by: Steve French commit b387eaeb666f6a5e24990a1f4d6a0447ae14315d tree cf79a1fe2e47e599b3ec8cf0ea1b56b3f9c1cf58 parent 5e1253b50111220f06ee13bc4e555d89ff39176b author Steve French Mon, 10 Oct 2005 14:21:15 -0700 committer Steve French Mon, 10 Oct 2005 14:21:15 -0700 [CIFS] Do not shrink tcp sndbuf/rcvbuf from their defaults Signed-off-by: Steve French commit 5e1253b50111220f06ee13bc4e555d89ff39176b tree 3386f365db264fad206e9e019025aab1e6a5f8fa parent 02c37a6df558fb8768c4c8ae792e86e9abf2d733 author Steve French Mon, 10 Oct 2005 14:06:37 -0700 committer Steve French Mon, 10 Oct 2005 14:06:37 -0700 [CIFS] Correct cifs tcp retry when some data sent before getting EAGAIN. Continue implementation of cifs umount begin to allow force unmounts of cifs mounts. Signed-off-by: Steve French commit 02c37a6df558fb8768c4c8ae792e86e9abf2d733 tree fbd38b7129884ce702f10b023b7e2f00c65be31c parent 190fdeb84499a2dc046adae2eebfdda49e315e96 author Steve French Mon, 10 Oct 2005 11:49:37 -0700 committer Steve French Mon, 10 Oct 2005 11:49:37 -0700 [CIFS] Update cifs version to 1.38 Signed-off-by: Steve French commit 190fdeb84499a2dc046adae2eebfdda49e315e96 tree a8a84acaeabf0e92d965faf415702a3c37646fe7 parent 0ae0efada36219024e4e3008f16c993d5d091280 author Steve French Mon, 10 Oct 2005 11:48:26 -0700 committer Steve French Mon, 10 Oct 2005 11:48:26 -0700 [CIFS] Fix byte range locking to Windows when Windows server returns illegal RFC1001 length (which had caused the lock to block forever until killed). commit 0ae0efada36219024e4e3008f16c993d5d091280 tree 65e5f46068b31f3d5163e34eec578753f8f99117 parent 68058e757573d4e81550e74c5a03a29a29069ce7 author Steve French Mon, 10 Oct 2005 10:57:19 -0700 committer Steve French Mon, 10 Oct 2005 10:57:19 -0700 [CIFS] Fix rsize calculation so that large readx flag is checked. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 68058e757573d4e81550e74c5a03a29a29069ce7 tree d8c6c318e2e486ae707a22915983afd512f38b51 parent 131afd0b748e382c3a00355d3fa245801f929298 author Steve French Mon, 10 Oct 2005 10:34:22 -0700 committer Steve French Mon, 10 Oct 2005 10:34:22 -0700 [CIFS] Reduce CIFS tcp congestion timeout (it was too long) and backoff ever longer amounts (up to 15 seconds). This improves performance especially when using large wsize. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 3c3f42d63a11f2e22dbff6bb4d170f92dbd39316 tree 2619d63e6d49480b55de02044a75f8c843dbd811 parent e574d238ab907963ae6f97cb6bf12bb8fd48c376 author Paul Mackerras Mon, 10 Oct 2005 22:58:41 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:58:41 +1000 powerpc: Start merging 64-bit support into powermac files Signed-off-by: Paul Mackerras commit e574d238ab907963ae6f97cb6bf12bb8fd48c376 tree 038a29b3ec5d61a6f5cb3f17ae671ea6471eeb47 parent c5200c90db3823a6e2f529acf202c4aed04966ae author Paul Mackerras Mon, 10 Oct 2005 22:58:10 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:58:10 +1000 powerpc: Fix compilation for 32-bit configs Signed-off-by: Paul Mackerras commit c5200c90db3823a6e2f529acf202c4aed04966ae tree 823caccd6dd7d7bf90d5f0c33704622cc41f106e parent eef289f79c03ba5ca197e2ac1e33906175f01c39 author Paul Mackerras Mon, 10 Oct 2005 22:57:03 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:57:03 +1000 powerpc: Fix off-by-one error in prom_init.c This was preventing us from recognizing that we did actually instantiate RTAS successfully on pSeries. Signed-off-by: Paul Mackerras commit eef289f79c03ba5ca197e2ac1e33906175f01c39 tree 4e41114811c65aeac28e07f4bae4fdee1e2312be parent 1b92313d5ba993bb6e38a6205ccc64a7595cd0a6 author Paul Mackerras Mon, 10 Oct 2005 22:56:11 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:56:11 +1000 powerpc: Merge asm/unistd.h Signed-off-by: Paul Mackerras commit 1b92313d5ba993bb6e38a6205ccc64a7595cd0a6 tree e863dc92dc4959f5b4d9aaf3d2b490f16c1c9920 parent 76f9f87fa51c9fb62c17986e2066ed467ac2da05 author Paul Mackerras Mon, 10 Oct 2005 22:54:57 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:54:57 +1000 powerpc: Merge asm/irq.h Signed-off-by: Paul Mackerras commit 76f9f87fa51c9fb62c17986e2066ed467ac2da05 tree 7e9d351fe87d543b4054a2869718d4b6370b6a29 parent 40ef8cbc6d360e564573eb19582249c35d8ba330 author Paul Mackerras Mon, 10 Oct 2005 22:52:26 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:52:26 +1000 powerpc: Get iseries to compile with ARCH=powerpc This moves the Device_List member from struct device_node to struct pci_dn, which cleans up the device_node and makes the code a little simpler. Signed-off-by: Paul Mackerras commit 40ef8cbc6d360e564573eb19582249c35d8ba330 tree abba70b7da8bef93a87431691dc8df79eb4425d5 parent bc6f8a4b199156897f6eb5b70bf5c1a4773f4e2b author Paul Mackerras Mon, 10 Oct 2005 22:50:37 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:50:37 +1000 powerpc: Get 64-bit configs to compile with ARCH=powerpc This is a bunch of mostly small fixes that are needed to get ARCH=powerpc to compile for 64-bit. This adds setup_64.c from arch/ppc64/kernel/setup.c and locks.c from arch/ppc64/lib/locks.c. Signed-off-by: Paul Mackerras commit bc6f8a4b199156897f6eb5b70bf5c1a4773f4e2b tree 03ab5936f5924b7773b3ad5c486454bf66ab76af parent 5a408329ed19cf2a80e831d28cbd93d2e36155a6 author Paul Mackerras Mon, 10 Oct 2005 22:45:07 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:45:07 +1000 powerpc: move lparmap.c to arch/powerpc/kernel Since lparmap.s gets included in arch/powerpc/kernel/head_64.S, this avoids depending on a file in another directory. Signed-off-by: Paul Mackerras commit 5a408329ed19cf2a80e831d28cbd93d2e36155a6 tree dc5ae749f1da14819ef6947893b0c4f2d9e1ed1c parent 4a2885630bc0735e573bced7001dae9750cb80d5 author Paul Mackerras Mon, 10 Oct 2005 22:41:25 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:41:25 +1000 powerpc: Fix bug caused by negation of 64-bit reloc_offset value Although both ppc32 and ppc64 have a reloc_offset function, the ppc64 one produced the opposite sign to the ppc32 one. This standardizes on the ppc32 sign and fixes the merged 64-bit code to account for that. Signed-off-by: Paul Mackerras commit 4a2885630bc0735e573bced7001dae9750cb80d5 tree 181fa3cc5a8923b753f842f33f8108ba71e2452c parent 8641778049e75c1da66e66441a6d8b7a2069f607 author Paul Mackerras Mon, 10 Oct 2005 22:38:46 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:38:46 +1000 powerpc: Reduce the 32/64-bit diffs in vmlinux.lds.S Also adds the definition of the _sdata symbol to the ppc64 vmlinux.lds.S. Signed-off-by: Paul Mackerras commit 8641778049e75c1da66e66441a6d8b7a2069f607 tree e3e134f23e1c1926538509a05ab2780a7656790a parent b42b661745c8d78cd3483752fb22cc7420c67f74 author Paul Mackerras Mon, 10 Oct 2005 22:37:57 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:37:57 +1000 powerpc: Reduce the 32/64-bit differences in traps.c Signed-off-by: Paul Mackerras commit b42b661745c8d78cd3483752fb22cc7420c67f74 tree 8b1d74f22cce3613039df205d19da912230e21bc parent 9994a33865f4d55c44c9731c01e1f891543278de author Paul Mackerras Mon, 10 Oct 2005 22:37:16 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:37:16 +1000 powerpc: Make prom_init.c suitable for both 32-bit and 64-bit Signed-off-by: Paul Mackerras commit 9994a33865f4d55c44c9731c01e1f891543278de tree 77d8fe580493dbf9ce1820a703c482fba291b6b9 parent 06d67d54741a5bfefa31945ef195dfa748c29025 author Paul Mackerras Mon, 10 Oct 2005 22:36:14 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:36:14 +1000 powerpc: Introduce entry_{32,64}.S, misc_{32,64}.S, systbl.S The system call table has been consolidated into systbl.S. We have separate 32-bit and 64-bit versions of entry.S and misc.S since the code is mostly sufficiently different to be not worth merging. There are some common bits that will be extracted in future. Signed-off-by: Paul Mackerras commit 06d67d54741a5bfefa31945ef195dfa748c29025 tree ee47a8b2f86d927c930da5120659c086f9b5dc55 parent daec962e27490be4fae9ab5a51d0c17f6e638715 author Paul Mackerras Mon, 10 Oct 2005 22:29:05 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:29:05 +1000 powerpc: make process.c suitable for both 32-bit and 64-bit Signed-off-by: Paul Mackerras commit daec962e27490be4fae9ab5a51d0c17f6e638715 tree 86044d794f5406dcdcca5e6827607782d7c27ab1 parent b3b8dc6c07cecc1f8d52d03f677206bdf9f794c9 author Paul Mackerras Mon, 10 Oct 2005 22:25:26 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:25:26 +1000 powerpc: Use arch/powerpc/mm and arch/powerpc/lib for 64-bit This also puts a copy of indirect_pci.c in arch/powerpc/sysdev so that we don't need to build in arch/ppc/syslib. Signed-off-by: Paul Mackerras commit b3b8dc6c07cecc1f8d52d03f677206bdf9f794c9 tree 5d5c3ac4de563d03759d98399030aac00be33023 parent ff64208df7eb17c5526197449762ff5e04a95de6 author Paul Mackerras Mon, 10 Oct 2005 22:20:10 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:20:10 +1000 powerpc: Use reg.h instead of processor.h when we just want reg names Now that the register names and bit definitions are all in reg.h, use that instead of processor.h in assembly code in a few places. Signed-off-by: Paul Mackerras commit ff64208df7eb17c5526197449762ff5e04a95de6 tree b977f1868464d7486786ad81660e4620c6b4fd5d parent f6d57916db2009bd7e220472200cd131fc010d64 author Paul Mackerras Mon, 10 Oct 2005 22:15:52 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:15:52 +1000 powerpc: Merge Kconfig.debug This merges in the ppc64 bits into arch/powerpc/Kconfig.debug Signed-off-by: Paul Mackerras commit f6d57916db2009bd7e220472200cd131fc010d64 tree 2a8fc645864920c45e2cd12dc5cf88a09da6aebb parent c17e3325ba603642922219b19623764ba5280ad4 author Paul Mackerras Mon, 10 Oct 2005 22:13:53 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:13:53 +1000 powerpc: rename powermac files to remove pmac_ prefix Since the files are now in arch/powerpc/platforms/powermac, the pmac_ prefix that they had is redundant. Signed-off-by: Paul Mackerras commit c17e3325ba603642922219b19623764ba5280ad4 tree bbff7a04b07b77d7bb4effed7dfc7dbf450f2d88 parent 69a80d3f69d0b2d7fae5a73c6e034d402d434d8a author Paul Mackerras Mon, 10 Oct 2005 22:07:35 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:07:35 +1000 ppc64: Use SPRN_ prefix for special purpose register names Now that we are using the merged reg.h we have to use the SPRN_xxx names rather than the xxx names. Signed-off-by: Paul Mackerras commit 69a80d3f69d0b2d7fae5a73c6e034d402d434d8a tree dd66f34510eae791a04c8dd77ce77a223b2f46d6 parent ab1f9dac6eea25ee59e4c8e1cf0b7476afbbfe07 author Paul Mackerras Mon, 10 Oct 2005 22:03:41 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:03:41 +1000 powerpc: move pSeries files to arch/powerpc/platforms/pseries Signed-off-by: Paul Mackerras commit ab1f9dac6eea25ee59e4c8e1cf0b7476afbbfe07 tree 03577652197b5e58c348ede3c474bc8dd47e046c parent 70d64ceaa1a84d2502405422a4dfd3f87786a347 author Paul Mackerras Mon, 10 Oct 2005 21:58:35 +1000 committer Paul Mackerras Mon, 10 Oct 2005 21:58:35 +1000 powerpc: Merge arch/ppc64/mm to arch/powerpc/mm This moves the remaining files in arch/ppc64/mm to arch/powerpc/mm, and arranges that we use them when compiling with ARCH=ppc64. Signed-off-by: Paul Mackerras commit 70d64ceaa1a84d2502405422a4dfd3f87786a347 tree 23e38168021988d34b11c6f41cfff82f8095092e parent a432403a89646614252c3bb6dfbe897c8312ab35 author Paul Mackerras Mon, 10 Oct 2005 21:52:43 +1000 committer Paul Mackerras Mon, 10 Oct 2005 21:52:43 +1000 powerpc: Rename files to have consistent _32/_64 suffixes This doesn't change any code, just renames things so we consistently have foo_32.c and foo_64.c where we have separate 32- and 64-bit versions. Signed-off-by: Paul Mackerras commit a432403a89646614252c3bb6dfbe897c8312ab35 tree f646814ab9c75374533abfe9c2182e4b08a0606c parent 9f04b9e327c495f8ddbf89c08da6cbe626e1b1b3 author Paul Mackerras Mon, 10 Oct 2005 20:49:07 +1000 committer Paul Mackerras Mon, 10 Oct 2005 20:49:07 +1000 ppc64: Use the merged lmb routines The only real change here is that lmb_enforce_memory_limit now takes the memory_limit as a parameter instead of as a global variable. Signed-off-by: Paul Mackerras commit 9f04b9e327c495f8ddbf89c08da6cbe626e1b1b3 tree 381e9786b837085bd555c705542047f54cd2beab parent b60fc8bbd2d0ea2a9b1fc7271d521fcf47f27bfd author Paul Mackerras Mon, 10 Oct 2005 14:19:43 +1000 committer Paul Mackerras Mon, 10 Oct 2005 14:19:43 +1000 powerpc: Merged processor.h. This adds register definitions from the ppc64 processor.h to reg.h, and makes a single merged processor.h. I moved __is_processor from the ppc64 system.h to the merged reg.h along with the PVR register constants. Signed-off-by: Paul Mackerras commit b60fc8bbd2d0ea2a9b1fc7271d521fcf47f27bfd tree bd3fb544fc6ea9484fddb6ba6e05f1027b8b0c63 parent b5bbeb23732196558222a2827092f5b7be8a7945 author Paul Mackerras Mon, 10 Oct 2005 14:14:55 +1000 committer Paul Mackerras Mon, 10 Oct 2005 14:14:55 +1000 powerpc: Make some #includes explicit. In preparation for merging processor.h, this adds some explicit but won't be after the merge. Signed-off-by: Paul Mackerras commit b5bbeb23732196558222a2827092f5b7be8a7945 tree d367c3c0c52e9db865c2ceaecc32498a65337c7b parent 05f62a5c049845eab8dfb3aeda55c18a2d4396e3 author Paul Mackerras Mon, 10 Oct 2005 14:01:07 +1000 committer Paul Mackerras Mon, 10 Oct 2005 14:01:07 +1000 powerpc: Use SPRN_xxx rather than xxx for SPR numbers This changes symbols like HID0, SPRG3, SRR0, SRR1 etc. that refer to special purpose registers to SPRN_HID0, SPRN_SPRG3, etc. Using the SPRN_ symbols clutters the namespace less, and the forthcoming merge of asm/processor.h and asm/reg.h is going to remove the non-SPRN_ versions. Signed-off-by: Paul Mackerras commit c4052da6f0c01a0b059d125d72bb934d0980b798 tree ad50a17e4d14b8f6f1773158d956d424575d1712 parent cedc9a478d8c6265879dc3839ef3d4849a709184 parent 3d3467f0fdf61a421361c00cf84fcf0f1a6dc1e8 author Jeff Garzik Sun, 09 Oct 2005 11:16:14 -0400 committer Jeff Garzik Sun, 09 Oct 2005 11:16:14 -0400 Merge branch 'upstream' commit 3d3467f0fdf61a421361c00cf84fcf0f1a6dc1e8 tree 9941b526bac21cb7445c75fe8edf995659c93780 parent e710245bb0f980adfb1dfe850e43761a8117c6be parent 042c21fd2c3aa553907020131caa553a9da24589 author Jeff Garzik Sun, 09 Oct 2005 10:54:30 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:54:30 -0400 Merge branch 'sil24' commit 422fa08e538b649a9b80258950d2f8a202f45f19 tree 85fd3f5f5e47783622157c0aa84d7c19b7a47eeb parent ffe75ef650e1aec26a84bd82a620b5e27df9ed34 author Jeff Garzik Sun, 09 Oct 2005 10:49:34 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:49:34 -0400 [libata passthru] update ATAPI completion for new error handling commit ffe75ef650e1aec26a84bd82a620b5e27df9ed34 tree 8ed31fa093cbf6f6d6142e0e2118bee26aa71fa7 parent 9dc263239bb2cfeb242d8ef758fca66a968822d5 parent e710245bb0f980adfb1dfe850e43761a8117c6be author Jeff Garzik Sun, 09 Oct 2005 10:40:44 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:40:44 -0400 Merge branch 'upstream' commit 9dc263239bb2cfeb242d8ef758fca66a968822d5 tree 70c0c46fa6f01740c776ae24bc0874a8d97df222 parent 0e5dec478cfff2c29e68d1108ff828fa321adc59 parent 829841146878e082613a49581ae252c071057c23 author Jeff Garzik Sun, 09 Oct 2005 10:33:02 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:33:02 -0400 Merge branch 'master' commit e710245bb0f980adfb1dfe850e43761a8117c6be tree f74e4253af1649bd1ce5291f24c7ac8f78d31f8a parent ae00651020413bd7eb5fa3bd0abbd78d7cf1abb2 author Andy Currid Fri, 07 Oct 2005 08:53:39 -0700 committer Jeff Garzik Sun, 09 Oct 2005 09:38:28 -0400 [PATCH] Fix sata_nv handling of NVIDIA MCP51/55 Patch to fix sata_nv handling of NVIDIA MCP51/55 Signed-off-by: Andy Currid Signed-off-by: Jeff Garzik commit 042c21fd2c3aa553907020131caa553a9da24589 tree d2118086e12bb88f21d1fc0129e170d49b9b35ef parent 1fcce839a541ffcd50da99a1bfdfea594be0e3d3 author Tejun Heo Sun, 09 Oct 2005 09:35:46 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:35:46 -0400 [libata sata_sil24] add support for 3131/3531 This patch adds support for sil_3131 and sil_3531. Both are identical to 3124 except that they have only one port. Bits 30 and 31 of ata_port_info->host_flags is used to encode available port numbers. Version number is bumped to 0.22. Edward Falk supplied all the necessary information and preliminary patch. Signed-off-by: Tejun Heo commit 1fcce839a541ffcd50da99a1bfdfea594be0e3d3 tree 6b3aa2760497d63714e7742dc1bd213c5117b193 parent 7f726d125d570f38b9e7c8a2decebc39c0a343dc author Tejun Heo Sun, 09 Oct 2005 09:31:33 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:31:33 -0400 [libata sata_sil24] nit pickings This patch removes unused NR_PORTS macro and adds termination entry to sil24_pci_tbl. Signed-off-by: Tejun Heo commit ae00651020413bd7eb5fa3bd0abbd78d7cf1abb2 tree d30e0682d43a81803254cf4ae33a1f21bc1de207 parent 845c5834d0aa60eb1588397696e7fabbaab2d3b0 author Douglas Gilbert Sun, 09 Oct 2005 09:09:35 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:09:35 -0400 [libata scsi] improve scsi error handling with ata_scsi_set_sense() - change "xlat" and "fill" actors in libata-scsi so they are responsible for SCSI status and sense data when they return 1. This allows GOOD status or a specialized error to be set. - yield an error for mode sense requests for saved values [sat-r06] - remove static inlines for ata_bad_scsiop() and ata_bad_cdb() which are no longer used Signed-off-by: Douglas Gilbert Signed-off-by: Jeff Garzik commit 845c5834d0aa60eb1588397696e7fabbaab2d3b0 tree 963d4a2c132273cf6df68a3846326a08cdbe17f4 parent d95300758bed9e0f783f3e3b4fd037bf0a21abe0 author Douglas Gilbert Sun, 09 Oct 2005 08:55:41 -0400 committer Jeff Garzik Sun, 09 Oct 2005 08:55:41 -0400 [libata scsi] add ata_scsi_set_sense helper - add extern ata_scsi_set_sense() to build SCSI fixed sense data and corresponding SCSI status Signed-off-by: Douglas Gilbert Signed-off-by: Jeff Garzik commit d95300758bed9e0f783f3e3b4fd037bf0a21abe0 tree 994823b6e0b88597eded79f9eeb0f44b580c89e5 parent e12669e774be403c84baa651306d305752a35cd8 parent 829841146878e082613a49581ae252c071057c23 author Jeff Garzik Sat, 08 Oct 2005 03:31:22 -0400 committer Jeff Garzik Sat, 08 Oct 2005 03:31:22 -0400 Merge branch 'master' commit 131afd0b748e382c3a00355d3fa245801f929298 tree 1581222aa48c6610877b3cc3bd5a4d275a6a68cd parent dd99cd803d460576cf84f012786ff39814b73f7f author Steve French Fri, 07 Oct 2005 09:51:05 -0700 committer Steve French Fri, 07 Oct 2005 09:51:05 -0700 [CIFS] /proc/fs/cifs debug code cleanup and new stats2 These changes to debug code and new stats are helpful in debugging potential tcp performance/configuration problems under cifs. Signed-off-by: Steve French commit 7f726d125d570f38b9e7c8a2decebc39c0a343dc tree f7a830e7c93d0c182f8f2f5942f9c30d320dfd42 parent 6a575fa969beeddd0859f9e9d26ab16c6a0d8d6a author Tejun Heo Fri, 07 Oct 2005 01:43:19 +0900 committer Jeff Garzik Thu, 06 Oct 2005 13:15:02 -0400 [PATCH] sil24: implement tf_read callback Hello, guys. This patch implements ->tf_read callback for sil24. It didn't use to be necessary but new ata_gen_fixed_sense now makes use of ->tf_read callback. This patch is taken from Edward Falk's driver. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0e5dec478cfff2c29e68d1108ff828fa321adc59 tree 8daeaf1a20138ecfae874578ee77bb62a9b496fb parent 54dac83c426a1a03bd139c5ac7e938890bd2693e author Jeff Garzik Thu, 06 Oct 2005 09:40:20 -0400 committer Jeff Garzik Thu, 06 Oct 2005 09:40:20 -0400 [libata passthru] add (DRIVER_SENSE << 24) to all check-conditions commit 6a575fa969beeddd0859f9e9d26ab16c6a0d8d6a tree 1472f5274023ca59eaff611e485ba6db2d0052bd parent 46b93e7bce80a08ea07e250d03b0b596cbd32595 author Tejun Heo Thu, 06 Oct 2005 11:43:39 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: implement proper TF register reading & caching 03_sil24_add-tf-reading.patch This patch implements proper TF register reading back and caching and bumps up version to 0.22. This is taken from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 50 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 45 insertions(+), 5 deletions(-) Signed-off-by: Jeff Garzik commit 46b93e7bce80a08ea07e250d03b0b596cbd32595 tree d140cda3f6acebcfc8d85907114747c6a8468975 parent ad6e90f6d0c4243cc35e07e2681a3323af533ce4 author Tejun Heo Thu, 06 Oct 2005 11:43:34 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: remove CMDERR clearing 02_sil24_remove-cmderr-clearing.patch CMDERR register doesn't need clearing. This is from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 4 ---- 1 file changed, 4 deletions(-) Signed-off-by: Jeff Garzik commit ad6e90f6d0c4243cc35e07e2681a3323af533ce4 tree 3f9af49242301e69b43e1bb151d173f2152cf310 parent 012e060c95e547eceea4a12c6f58592473bf4011 author Tejun Heo Thu, 06 Oct 2005 11:43:29 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: ignore non-error exception irqs 01_sil24_ignore-non-error-exception-irqs.patch Do not error-finish commands for non-error exception irqs - just ignore them. This is taken from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 012e060c95e547eceea4a12c6f58592473bf4011 tree b57d3eafb50ce517577d2cf366c9ef0b4b286589 parent 923f122573851d18a3832ca808269fa2d5046fb1 parent ed39f731ab2e77e58122232f6e27333331d7793d author Jeff Garzik Thu, 06 Oct 2005 05:51:07 -0400 committer Jeff Garzik Thu, 06 Oct 2005 05:51:07 -0400 Merge branch 'master' commit 05f62a5c049845eab8dfb3aeda55c18a2d4396e3 tree 3d64d5e6af8e66ee53a2664301cb45bd48c4bb7f parent c16ff7e44883afc05cbf6fde0e6913bb10c66885 author Paul Mackerras Thu, 06 Oct 2005 13:29:24 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:29:24 +1000 powerpc: Fix idle.c compile warning This fixes a compile warning when using arch/ppc/kernel/idle.c in a merged (ARCH=powerpc) kernel. Signed-off-by: Paul Mackerras commit c16ff7e44883afc05cbf6fde0e6913bb10c66885 tree 1d6f4ff838d08db5798852cca5cf7a1fdd2c391b parent 8dad3f9257414f151cd821bfe01f54d7f52d2507 author Paul Mackerras Thu, 06 Oct 2005 13:28:31 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:28:31 +1000 powerpc: Define a _sdata symbol This is needed by arch/powerpc/mm/mem.c now. Signed-off-by: Paul Mackerras commit 8dad3f9257414f151cd821bfe01f54d7f52d2507 tree 2d9d5285eda91bbfbf3acf6f7f550ca69abfb985 parent b3491269f5604e4265ee2f27b47a76ce1e3678b6 author Paul Mackerras Thu, 06 Oct 2005 13:27:05 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:27:05 +1000 powerpc: Merge traps.c a bit more This reduces the differences between ppc32 and ppc64 in arch/powerpc/kernel/traps.c a bit further. Signed-off-by: Paul Mackerras commit b3491269f5604e4265ee2f27b47a76ce1e3678b6 tree 671e3135c697ff680d6d8a4cced7563cd5cf75db parent 2e686bc3bf6268e30eb9584e0bcd43b7bec28f3b author Paul Mackerras Thu, 06 Oct 2005 13:24:50 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:24:50 +1000 powerpc: Use the merged of_device.c with ARCH=powerpc Also compile btext.c with -fPIC; this was missed before. Signed-off-by: Paul Mackerras commit 2e686bc3bf6268e30eb9584e0bcd43b7bec28f3b tree ec000e3c6528e3edfcd0e03a3950ffee909ae8c6 parent 187a00679ad51dfb3d3e74620217417102784218 author Paul Mackerras Thu, 06 Oct 2005 13:22:17 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:22:17 +1000 powerpc: Merge of_device.c and of_device.h Signed-off-by: Paul Mackerras commit 187a00679ad51dfb3d3e74620217417102784218 tree 86791b7ff7ec55160dd9c2daed1b53d3730e5a29 parent 7c8c6b9776fb41134d87ef50706a777a45d61cd4 author Paul Mackerras Thu, 06 Oct 2005 12:49:05 +1000 committer Paul Mackerras Thu, 06 Oct 2005 12:49:05 +1000 powerpc: Remove 64-bit cpu support from ppc32. These days there is no good reason to run a ppc32 kernel on a 64-bit cpu, rather than a ppc64 kernel, so remove the config option and a bunch of code (and ifdefs) from head.S. Signed-off-by: Paul Mackerras commit dd99cd803d460576cf84f012786ff39814b73f7f tree 5804212dea596d82bb561624a6e7c868c27bc2f3 parent 4a77118cd5018fec11bf86f6f8d659352ad9a92b author Steve French Wed, 05 Oct 2005 19:32:49 -0700 committer Steve French Wed, 05 Oct 2005 19:32:49 -0700 [CIFS] cleanup sparse and compile errors in previous fix Signed-off-by: Steve French (sfrench@us.ibm.com) commit 7c8c6b9776fb41134d87ef50706a777a45d61cd4 tree 5f3cc71e34bc244d53364e103a9746bfe92da9ae parent 9b6b563c0d2d25ecc3111916031aa7255543fbfb author Paul Mackerras Thu, 06 Oct 2005 12:23:33 +1000 committer Paul Mackerras Thu, 06 Oct 2005 12:23:33 +1000 powerpc: Merge lmb.c and make MM initialization use it. This also creates merged versions of do_init_bootmem, paging_init and mem_init and moves them to arch/powerpc/mm/mem.c. It gets rid of the mem_pieces stuff. I made memory_limit a parameter to lmb_enforce_memory_limit rather than a global referenced by that function. This will require some small changes to ppc64 if we want to continue building ARCH=ppc64 using the merged lmb.c. Signed-off-by: Paul Mackerras commit 9b6b563c0d2d25ecc3111916031aa7255543fbfb tree 07fd029308055461caa157d15a88c01861efc6bb parent b85a046af3a260e079505e8023ccd10e01cf4f2b author Paul Mackerras Thu, 06 Oct 2005 12:06:20 +1000 committer Paul Mackerras Thu, 06 Oct 2005 12:06:20 +1000 powerpc: Merge in the ppc64 version of the prom code. This brings in the ppc64 version of prom_init.c, prom.c and btext.c and makes them work for ppc32. This also brings in the new calling convention, where the first entry to the kernel (with r5 != 0) goes to the prom_init code, which then restarts from the beginning (with r5 == 0) after it has done its stuff. For now this also brings in the ppc32 version of setup.c. It also merges lmb.h. Signed-off-by: Paul Mackerras commit b85a046af3a260e079505e8023ccd10e01cf4f2b tree 2f5f1af4db85fca6fc88902840463b107721cb14 parent 6ce52e6438fd2921891648ceab700d9b867e5ed2 author Paul Mackerras Thu, 06 Oct 2005 10:59:19 +1000 committer Paul Mackerras Thu, 06 Oct 2005 10:59:19 +1000 powerpc: Define 32/64 bit asm macros and use them in fpu.S These macros help in writing assembly code that works for both ppc32 and ppc64. With this we now have a common fpu.S. This takes out load_up_fpu from head_64.S. Signed-off-by: Paul Mackerras commit e12669e774be403c84baa651306d305752a35cd8 tree d0ce83e8f41f6eb09e1a3771337bb7cd8c4ed0f9 parent 8a70f8dc08dd40b7f8ac77280eaa99a8c6bc46f4 author Jeff Garzik Wed, 05 Oct 2005 18:39:23 -0400 committer Jeff Garzik Wed, 05 Oct 2005 18:39:23 -0400 libata: minor cleanups A few code shuffles, to make merging future code easier. Add (DRIVER_SENSE << 24) to certain result codes, as noted by Douglas Gilbert. commit 4a77118cd5018fec11bf86f6f8d659352ad9a92b tree eab48dadfdf7398815b2bba5de93ff2332727386 parent 37c0eb4677f733a773df6287b0f73f00274402e3 author Steve French Wed, 05 Oct 2005 15:14:33 -0700 committer Steve French Wed, 05 Oct 2005 15:14:33 -0700 CIFS: Allow wsize to exceed CIFSMaxBufSize This allows cifs_writepages to send data in larger chunks from the page cache, without requiring larger memory allocations in other cases. Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 37c0eb4677f733a773df6287b0f73f00274402e3 tree 29d6da2f609bdc22316b24aca866ad2ee2093959 parent 6148a742b2bd76abfe0c1fc50dd747cb9f28cd6b author Steve French Wed, 05 Oct 2005 14:50:29 -0700 committer Steve French Wed, 05 Oct 2005 14:50:29 -0700 CIFS: implement cifs_writepages to perform multi-page I/O Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 8a70f8dc08dd40b7f8ac77280eaa99a8c6bc46f4 tree a581d2372074c4ddedee1888822b832f3d8c8bc7 parent 05b308e1df6d9d673daedb517969241f41278b52 author Jeff Garzik Wed, 05 Oct 2005 17:19:47 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:19:47 -0400 [libata sata_mv] fix warning shuffle ifdef location to fix the following warning: drivers/scsi/sata_mv.c:471: warning: 'mv_dump_mem' defined but not used commit 05b308e1df6d9d673daedb517969241f41278b52 tree b7114fdbddb7fef974744a5281896c9e6bf6c1d4 parent afb0edd922c7ed6e73678730921dfcccebec17e8 author Brett Russ Wed, 05 Oct 2005 17:08:53 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:16:52 -0400 [PATCH] libata: Marvell function headers adds helpful function header comments. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit afb0edd922c7ed6e73678730921dfcccebec17e8 tree cbe655b60569c7a649da8f1b8d6527aa1fca8322 parent a939c9631527053aa38aa8795a6f7203c7f20b69 author Brett Russ Wed, 05 Oct 2005 17:08:42 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:16:52 -0400 [PATCH] libata: Marvell spinlock fixes and simplification This should fix up lockups that people were seeing due to improper spinlock placement. Also, the start/stop DMA routines put guarded trust in the cached state of DMA. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit a939c9631527053aa38aa8795a6f7203c7f20b69 tree ef7aabee7439909153ef05f2651d8f456dd39ce1 parent a15dbeb4772626a015337dea06da67095aec3862 author Jeff Garzik Wed, 05 Oct 2005 17:09:16 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:09:16 -0400 libata: move atapi_request_sense() to libata-scsi module No content changes, just moving code around. commit 6148a742b2bd76abfe0c1fc50dd747cb9f28cd6b tree 186396bf1e71e981e033e4b5becc2ab6c47fcfca parent 04c08816d693f010ce14b8f408c6228600053af0 author Steve French Wed, 05 Oct 2005 12:23:19 -0700 committer Steve French Wed, 05 Oct 2005 12:23:19 -0700 CIFS: Create routine find_writable_file to reduce redundant code Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit a15dbeb4772626a015337dea06da67095aec3862 tree 2834c0f61b396c2eba008c176b49460c02a564f5 parent 67846b30171cc4d706125f630193a76a26bb334a author Jeff Garzik Wed, 05 Oct 2005 15:02:14 -0400 committer Jeff Garzik Wed, 05 Oct 2005 15:02:14 -0400 libata: ATAPI command completion tweaks and notes 1) note urgent bug, that completes command twice 2) only fix up INQUIRY data if the SCSI version is zero (typically indicates ATAPI MMC-ish device) 3) if there is a problem on the ATA bus, don't bother with REQUEST SENSE, just directly handle the error based on Status/Error registers. commit cedc9a478d8c6265879dc3839ef3d4849a709184 tree 0c8e0fbffdb6081381c01b8cfd93c95b168acb44 parent ed39f731ab2e77e58122232f6e27333331d7793d author Jeff Garzik Wed, 05 Oct 2005 07:13:30 -0400 committer Jeff Garzik Wed, 05 Oct 2005 07:13:30 -0400 libata: fix ATAPI DMA alignment issues ATAPI needs to be padded to next 4 byte boundary, if misaligned. Original work by me, many fixes from Tejun Heo. commit 67846b30171cc4d706125f630193a76a26bb334a tree 5ba70c2b68086f471686eb1e56e38436eaf73416 parent 643736a58d2668af94aee05670c5e9ae76e7b85f author Jeff Garzik Wed, 05 Oct 2005 02:58:32 -0400 committer Jeff Garzik Wed, 05 Oct 2005 02:58:32 -0400 libata: add ata_ratelimit(), use it in AHCI driver irq handler commit 0d69ae5fb7eb9ba3b54cf0ba4ef5ae591f31eef7 tree be441bfa1e76035c00b66a3b06fea66cfd63d594 parent 13d1ef29bc5125d7b77c5f6cdfde5ed31226005c parent 9bc39bec87ee3e35897fe27441e979e7c208f624 author Jeff Garzik Wed, 05 Oct 2005 02:11:33 -0400 committer Jeff Garzik Wed, 05 Oct 2005 02:11:33 -0400 Merge branch 'master' commit 1e5c936e3cc2ab745f66c0ae296c42f892ffd42a tree a4044665b479eba3506f448c6ae6115c3fbe600e parent 2d4b1fa234417b902c9d3034442387c1805bfa7b author Bob Picco Tue, 04 Oct 2005 15:14:05 -0400 committer Tony Luck Tue, 04 Oct 2005 13:22:07 -0700 [PATCH] V5 ia64 SPARSEMEM - gensparse_defconfig gensparse_defconfig is a config generated file for SPARSEMEM and GENERIC kernel configuration (defconfig). Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 2d4b1fa234417b902c9d3034442387c1805bfa7b tree 2ed92c7f82eec32a86f2047ac9e9534d7912e305 parent 1be7d9935b9c7fb9bd5964bfaf3ac543381277db author Bob Picco Tue, 04 Oct 2005 15:13:57 -0400 committer Tony Luck Tue, 04 Oct 2005 13:21:38 -0700 [PATCH] V5 ia64 SPARSEMEM - SPARSEMEM code changes This patch is the minimal set of changes required by ia64 to use SPARSEMEM. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 1be7d9935b9c7fb9bd5964bfaf3ac543381277db tree fe39c6d9e19fb890812318f5f3b318de6c3afc57 parent c678796cab4b5288ad578802a54cb1480ae20a08 author Bob Picco Tue, 04 Oct 2005 15:13:50 -0400 committer Tony Luck Tue, 04 Oct 2005 13:21:13 -0700 [PATCH] V5 ia64 SPARSEMEM - conditional changes for SPARSEMEM This patch introduces the conditional changes required for the three memory models. With [patch 1/4] there are three memory models; FLATMEM, DISCONTIG and SPARSEMEM. Also a new arch include file sparemem.h is introduced for defining SPARSEMEM parameters. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit c678796cab4b5288ad578802a54cb1480ae20a08 tree 6c821b09363b6f0fe4f6d529932fed1aa9f059e2 parent da9577c531f17f744f3eab40f700e07933d26361 author Bob Picco Tue, 04 Oct 2005 15:13:44 -0400 committer Tony Luck Tue, 04 Oct 2005 13:20:23 -0700 [PATCH] V5 ia64 SPARSEMEM - eliminate contig_page_data For FLATMEM contig_page_data has been made transparent to the arch code. This patch conforms to that change. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit da9577c531f17f744f3eab40f700e07933d26361 tree 388e426b9d387b5297b44a519d60bc9f093935d6 parent dd7205ed0f022a2a5e60eb7404e6c9f49d2301c3 author Bob Picco Tue, 04 Oct 2005 15:13:37 -0400 committer Tony Luck Tue, 04 Oct 2005 13:19:30 -0700 [PATCH] V5 ia64 SPARSEMEM - Kconfig and Makefile The patch modifies the Kconfig file to introduce the new memory model options and other related SPARSEMEM changes. There is also a minor change in the Makefile. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 643736a58d2668af94aee05670c5e9ae76e7b85f tree 9ffda5b1611bef0daec14faf051354a7cfde0016 parent 9d5b13021375cad2d64d56105e5f4b5f1509ced2 parent 3f19ee8cb3a1003cb5183696bc55934f5865f868 author Jeff Garzik Tue, 04 Oct 2005 14:24:04 -0400 committer Jeff Garzik Tue, 04 Oct 2005 14:24:04 -0400 Merge branch 'scsi-scan' commit 36735554571ea619e38210a20f429798de90adc1 tree 988510f4132ecdadcabc666931e8d428af754a51 parent ed39f731ab2e77e58122232f6e27333331d7793d author Dean Roe Mon, 03 Oct 2005 11:51:45 -0500 committer Tony Luck Tue, 04 Oct 2005 09:28:00 -0700 [IA64-SGI] Remove references to the SN bist_lock Remove all references to the bist_lock in the SN code as it is not used for anything. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit e9438250b635f7832e99a8c8d2e394dd1522ce65 tree e91de9667aa45e9f02387a2dc013982af245d029 parent dd072330d1a60be11a5c284fa1e645350750a4fc author Anton Altaparmakov Tue, 04 Oct 2005 16:01:06 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 16:01:06 +0100 NTFS: Enable ATTR_SIZE attribute changes in ntfs_setattr(). This completes the initial implementation of file truncation. Now both open(2)ing a file with the O_TRUNC flag and the {,f}truncate(2) system calls will resize a file appropriately. The limitations are that only uncompressed and unencrypted files are supported. Also, there is only very limited support for highly fragmented files (the ones whose $DATA attribute is split into multiple attribute extents). Signed-off-by: Anton Altaparmakov commit dd072330d1a60be11a5c284fa1e645350750a4fc tree d0282b4667e3fcedc893802bd54c90c9e12b2dc7 parent 2d86829b846d1447a6ab5af4060fc9f301521317 author Anton Altaparmakov Tue, 04 Oct 2005 15:39:02 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 15:39:02 +0100 NTFS: Implement fs/ntfs/inode.[hc]::ntfs_truncate(). It only supports uncompressed and unencrypted files. Signed-off-by: Anton Altaparmakov commit 54dac83c426a1a03bd139c5ac7e938890bd2693e tree e2bc11da1f3cdb99bbe13d5452928b8470604314 parent 2ee73cc2d507df7b28050fba5d08bd33dd34848c author Jeff Raubitschek Tue, 04 Oct 2005 10:21:19 -0400 committer Jeff Garzik Tue, 04 Oct 2005 10:21:19 -0400 [libata passthru] fix leak on error commit 2d86829b846d1447a6ab5af4060fc9f301521317 tree deec965c0fb9681376fc4317846eaf5d0e922f21 parent 2a6fc4e1b0f7d2ec3711d5b1782fb30f78cca765 author Anton Altaparmakov Tue, 04 Oct 2005 15:18:56 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 15:18:56 +0100 NTFS: Add fs/ntfs/attrib.[hc]::ntfs_attr_extend_allocation(), a function to extend the allocation of an attributes. Optionally, the data size, but not the initialized size can be extended, too. Signed-off-by: Anton Altaparmakov commit 2ee73cc2d507df7b28050fba5d08bd33dd34848c tree af5f33b265318e0f4b61f788691fe4f780ec402c parent c1d9728ecc5b560465df3c0c0d3b3825c2710b40 parent ed39f731ab2e77e58122232f6e27333331d7793d author Jeff Garzik Tue, 04 Oct 2005 10:16:31 -0400 committer Jeff Garzik Tue, 04 Oct 2005 10:16:31 -0400 Merge /spare/repo/linux-2.6/ commit 2a6fc4e1b0f7d2ec3711d5b1782fb30f78cca765 tree a123e9bb2c7d17aade84b1d1cc2decafdeace121 parent 8925d4f0d3479b9c5ed7e49acc648beccca95f21 author Anton Altaparmakov Tue, 04 Oct 2005 14:57:15 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:57:15 +0100 NTFS: Fix ntfs_attr_make_non_resident() to update the vfs inode i_blocks which is zero for a resident attribute but should no longer be zero once the attribute is non-resident as it then has real clusters allocated. Signed-off-by: Anton Altaparmakov commit 8925d4f0d3479b9c5ed7e49acc648beccca95f21 tree fc740f0fbc17edc8b855c27c02d074679a0f0f03 parent fc0fa7dc7d243afabdb3fb6a11d59a944a9c91f8 author Anton Altaparmakov Tue, 04 Oct 2005 14:48:20 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:48:20 +0100 NTFS: Change ntfs_attr_make_non_resident to take the attribute value size as an extra parameter. This is needed since we need to know the size before we can map the mft record and our callers always know it. The reason we cannot simply read the size from the vfs inode i_size is that this is not necessarily uptodate. This happens when ntfs_attr_make_non_resident() is called in the ->truncate call path. Signed-off-by: Anton Altaparmakov commit fc0fa7dc7d243afabdb3fb6a11d59a944a9c91f8 tree 67f28282e658eba6ed0daac0553a77f8352c21bc parent 511bea5ea2b2b330e67c9e58ffb5027caebf9052 author Anton Altaparmakov Tue, 04 Oct 2005 14:36:56 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:36:56 +0100 NTFS: - Change ntfs_cluster_alloc() to take an extra boolean parameter specifying whether the cluster are being allocated to extend an attribute or to fill a hole. - Change ntfs_attr_make_non_resident() to call ntfs_cluster_alloc() with @is_extension set to TRUE and remove the runlist terminator fixup code as this is now done by ntfs_cluster_alloc(). Signed-off-by: Anton Altaparmakov commit 511bea5ea2b2b330e67c9e58ffb5027caebf9052 tree 142b89f44ebb15f2db326a246e0eb6c454ade6e7 parent 69b41e3c0223bd38cf23e3d8f1385963089fbf22 author Anton Altaparmakov Tue, 04 Oct 2005 14:24:21 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:24:21 +0100 NTFS: - Change {__,}ntfs_cluster_free() to also take an optional attribute search context as argument. This allows calling it with the mft record mapped. Update all callers. - Fix potential deadlock in ntfs_mft_data_extend_allocation_nolock() error handling by passing in the active search context when calling ntfs_cluster_free(). Signed-off-by: Anton Altaparmakov commit 69b41e3c0223bd38cf23e3d8f1385963089fbf22 tree 6a1fc55f654d6f7cb745bba032115d5590cc5931 parent fd9d63678d42ffd4312815ac720a12920642eb36 author Anton Altaparmakov Tue, 04 Oct 2005 14:01:14 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:01:14 +0100 NTFS: Change ntfs_attr_find_vcn_nolock() to also take an optional attribute search context as argument. This allows calling it with the mft record mapped. Update all callers. Signed-off-by: Anton Altaparmakov commit 9d5b13021375cad2d64d56105e5f4b5f1509ced2 tree 58277dc135251c84cd0e7b858a5100a2886d4807 parent 3aef52311bcb1f88aa5c786302f1ae14a787f61e author Albert Lee Tue, 04 Oct 2005 08:48:17 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:48:17 -0400 [libata scsi] add CHS support to ata_scsi_start_stop_xlat() commit 3aef52311bcb1f88aa5c786302f1ae14a787f61e tree 12e62f0736c6678e0819543722b66f6813080190 parent c187c4b58a9caff660a4c8ae39d0def88cc449af author Albert Lee Tue, 04 Oct 2005 08:47:43 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:47:43 -0400 [libata scsi] tidy up SCSI lba and xfer len calculations move the redundant SCSI lba and transfer length calculation code from ata_scsi_verify_xlat() and ata_scsi_rw_xlat() to common functions. commit c187c4b58a9caff660a4c8ae39d0def88cc449af tree 1036c221b59e9763baba4e88d0f8e7c2deba601f parent 47a8659380d40d5c0786ddb62a89b3f7f1392430 author Albert Lee Tue, 04 Oct 2005 08:46:51 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:46:51 -0400 libata: minor whitespace, comment, debug message updates commit fd9d63678d42ffd4312815ac720a12920642eb36 tree 34dcdb5b47c9d89b4dbc8c98cd93617bb14eaca7 parent c394e458b69632902d65f9e2f39df79314f72908 author Anton Altaparmakov Tue, 04 Oct 2005 13:44:48 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 13:44:48 +0100 NTFS: Change ntfs_map_runlist_nolock() to also take an optional attribute search context. This allows calling it with the mft record mapped. Signed-off-by: Anton Altaparmakov commit 13d1ef29bc5125d7b77c5f6cdfde5ed31226005c tree fdab36f463a248d5be3bd46a5ad181f6d354ddde parent e2608361be343e6220e0a87e04ff224eb037df31 parent ff0037b259e8b47843176142131844bc80fd2887 author Jeff Garzik Tue, 04 Oct 2005 08:22:13 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:22:13 -0400 Merge rsync://bughost.org/repos/ieee80211-delta/ commit e2608361be343e6220e0a87e04ff224eb037df31 tree 33c2e8f377d89c323b0ced10e1929912cee0ebb3 parent 075897ce3b1027fccb98f36dd1f18c07f5c374ef author Mateusz Berezecki Tue, 04 Oct 2005 08:14:00 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:14:00 -0400 [wireless ipw2200] remove redundant return statement commit 47a8659380d40d5c0786ddb62a89b3f7f1392430 tree 696e7f9874e6087e6aaec51fbe1d4a91cd3dfc64 parent fe998aa7e27f125f6768ec6b137b0ce2c9790509 author Alan Cox Tue, 04 Oct 2005 08:09:19 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:09:19 -0400 libata: bitmask based pci init functions for one or two ports This redoes the n_ports logic I proposed before as a bitmask. ata_pci_init_native_mode is now used with a mask allowing for mixed mode stuff later on. ata_pci_init_legacy_port is called with port number and does one port now not two. Instead it is called twice by the ata init logic which cleans both of them up. There are stil limits in the original code left over - IRQ/port mapping for legacy mode should be arch specific values - You can have one legacy mode IDE adapter per PCI root bridge on some systems - Doesn't handle mixed mode devices yet (but is now a lot closer to it) commit 075897ce3b1027fccb98f36dd1f18c07f5c374ef tree a795da3ac5c888f16b96082ddbd3d01c8c05493d parent 6c1792f4e8cf2ca03a8dd5ec4b162b9219e9268a author John W. Linville Wed, 28 Sep 2005 17:50:53 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:57:38 -0400 [PATCH] bonding: replicate IGMP traffic in activebackup mode Replicate IGMP frames across all slaves in activebackup mode. This ensures fail-over is rapid for multicast traffic as well. Otherwise, multicast traffic will be lost until the next IGMP membership report poll timeout. This is conceptually similar to the treatment of IGMP traffic in bond_alb_xmit. In that case, IGMP traffic transmitted on any slave is re-routed to the active slave in order to ensure that multicast traffic continues to be directed to the active receiver. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6c1792f4e8cf2ca03a8dd5ec4b162b9219e9268a tree 2bcee321582d201510285d2cafff630a372761cd parent dbc2309d90b59fbb2676dc2e39150aa095e8c222 author John Linville Tue, 04 Oct 2005 07:51:45 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:51:45 -0400 [netdrvr s2io] Add a MODULE_VERSION entry commit dbc2309d90b59fbb2676dc2e39150aa095e8c222 tree 9d17c84d17c5a46e38fa07fef518f955c9944b5b parent 53232803241ae0f26b39897a4d4b37775837de00 author John W. Linville Wed, 28 Sep 2005 17:50:51 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:49:12 -0400 [PATCH] s2io: change strncpy length arg to use size of target Use the size of the target array for the length argument to strncpy instead of the size of the source or a magic number. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 53232803241ae0f26b39897a4d4b37775837de00 tree b4ab0478eb6b32d7c799d6161502c3d6f761e3d9 parent d5919586265d36c6694a5d10ba589c02806873b6 author Michal Schmidt Tue, 04 Oct 2005 07:46:21 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:46:21 -0400 airo: fix resume Cisco Aironet doesn't resume properly from swsusp, because the resume method confuses a PM_EVENT_* for a PCI power state. It thinks that it is resuming from PCI_D1 and doesn't do the necessary initialization of the card. Signed-off-by: Michal Schmidt commit d5919586265d36c6694a5d10ba589c02806873b6 tree b87f83c8215a65e1f1eb0b585d05afb21c15caaf parent 96eb549c0c20cf63ca13fac71d9d406701f744a6 author Ralf Baechle Tue, 04 Oct 2005 12:22:16 +0100 committer Jeff Garzik Tue, 04 Oct 2005 07:42:22 -0400 [PATCH] AX.25: Convert mkiss.c to DEFINE_RWLOCK Signed-off-by: Ingo Molnar Signed-off-by: Ralf Baechle DL5RB drivers/net/hamradio/mkiss.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 96eb549c0c20cf63ca13fac71d9d406701f744a6 tree 32c23d9653d164e2f631970859d7b2e6ee25a003 parent be2b28ed3bb3dd3952e10fb72623b23c5d8b4795 author Ralf Baechle Tue, 04 Oct 2005 12:20:24 +0100 committer Jeff Garzik Tue, 04 Oct 2005 07:42:21 -0400 [PATCH] AX.25: Delete debug printk from mkiss driver Signed-off-by: Ralf Baechle DL5RB -- drivers/net/hamradio/mkiss.c | 1 - 1 files changed, 1 deletion(-) Signed-off-by: Jeff Garzik commit be2b28ed3bb3dd3952e10fb72623b23c5d8b4795 tree 53a3edbaac116616c4bf9977f69a7b7a84749ffe parent a7990ba60adc46a808c737443393fdfecdc82593 author Jeff Garzik Tue, 04 Oct 2005 07:13:43 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:13:43 -0400 e1000: fix warnings commit a7990ba60adc46a808c737443393fdfecdc82593 tree 5691856aa31edcf1ab15c12c777e9b1aff3a7d70 parent 352c9f854cb197581d7135d1276742fd76b53c25 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:08:19 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:08:19 -0400 e1000: Flush shadow RAM Flush shadow RAM to save updates to ASF related bits for 82573 controllers. These bits are past the first 63 words of NVM. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 352c9f854cb197581d7135d1276742fd76b53c25 tree 938d630ff6ef3de60fcb6111bbe253a832ca019f parent e4c811c9d2f2728ce15440c99b3b44b72799b43f author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:07:24 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:07:24 -0400 e1000: Added msleep_interruptible delay added msleep_interruptible delay right before returning from diag_test to allow the phy to recover from reset Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit e4c811c9d2f2728ce15440c99b3b44b72799b43f tree 0806fd1239c088d970db38c9a5bfec9b35ce3477 parent 2ae76d98fb9f0a9226dd62cf0a0b7547507d2862 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:05:44 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:05:44 -0400 e1000: Fixes for packet split related issues Fixes for packet split related issues * On platforms where PAGE_SIZE > 4K, driver will use only required number of pages compared to always using 3 pages. * Packet split won't be used if the PAGE_SIZE is > 16K * Adds a statistics counter to splits. * Setting the non Null ptr to zero sized buffers to solve packet split receive descriptor error * When the no of pages needed is calculated, the header buffer is not included for a given MTU. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 2ae76d98fb9f0a9226dd62cf0a0b7547507d2862 tree 2f44f6d13bedba9235b1cc12aaa0f2cce61af78f parent 24025e4ecf88743e1b3d46451b0e3f9de4bbcba5 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:04:22 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:04:22 -0400 e1000: Enable custom configuration bits for 82571/2 controllers Enable custom configuration bits for 82571/2 controllers. The bits are required for correct functionality of these controllers. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 24025e4ecf88743e1b3d46451b0e3f9de4bbcba5 tree 4ab263116b31128c40dcad3e22b26a46fae87ab4 parent 581d708eb47cccb5f41bc0817e50c9b004011ba8 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:03:23 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:03:23 -0400 e1000: implementation of the multi-queue feature Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 581d708eb47cccb5f41bc0817e50c9b004011ba8 tree 960e94cc7df451c287f9bc92fd4016c5b362c54f parent 868d5309942927dc86f57009420c5d366ec05daa author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:01:55 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:01:55 -0400 e1000: multi-queue defines/modification to data structures defines/modifies data structures, function prototypes and changes to the driver rendering it capable of handling tx/rx queues Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 868d5309942927dc86f57009420c5d366ec05daa tree c251bfd8341b6bf30064dd0ae50d790d8df65f7e parent cc6e7c44f4b8ab13acf5521cd4b312848122179f author Mallikarjuna R Chilakala Tue, 04 Oct 2005 06:58:59 -0400 committer Jeff Garzik Tue, 04 Oct 2005 06:58:59 -0400 e1000: Support for 82571 and 82572 controllers Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit cc6e7c44f4b8ab13acf5521cd4b312848122179f tree 9a95e57befa59f6a50e5eb8ef4c9f8ae26816b87 parent d9e34325fd62310b7b49243d02b774f3ef2452db author Ravinandan Arakali Tue, 04 Oct 2005 06:41:24 -0400 committer Jeff Garzik Tue, 04 Oct 2005 06:41:24 -0400 [PATCH] S2io: MSI/MSI-X support (runtime configurable) This patch adds support for MSI/MSI-X feature to the driver. It is a runtime parameter(for now, loadable parameter). Default is INTA. Patch has been tested on IA64 platform with Xframe II adapter, both of which support MSI-X feature. An improvement of about 7% in throughput(both Tx and Rx) was observed and a reduction by 7% in CPU utilization during Tx test. Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit d9e34325fd62310b7b49243d02b774f3ef2452db tree d356eab72377f2576ad356de66daec23f28529a5 parent 500f83abdc83d6bd472f3d103a9a9cd85df29a29 parent 832f8f0378ff1566f2a222352c7ad5df3f8d0d9d author Jeff Garzik Tue, 04 Oct 2005 05:30:02 -0400 committer Jeff Garzik Tue, 04 Oct 2005 05:30:02 -0400 Merge branch 'upstream-fixes' commit 6ce52e6438fd2921891648ceab700d9b867e5ed2 tree 74d6ebbeed0c21cc32c59053cedd0ed49eb4728b parent dd8cad6be2822c7df4ecc5eba12903ba43e09f06 author Paul Mackerras Tue, 04 Oct 2005 14:30:07 +1000 committer Paul Mackerras Tue, 04 Oct 2005 14:30:07 +1000 ppc32: remove obsolete klock_info definition klock_info isn't used or referenced anywhere else in the kernel. Signed-off-by: Paul Mackerras commit dd8cad6be2822c7df4ecc5eba12903ba43e09f06 tree 691534ec7a436e6cb6ed0b3988a254dab0d812c9 parent 292dcc86dd69e343630ab49ce96a418345c174fc author Paul Mackerras Tue, 04 Oct 2005 14:28:29 +1000 committer Paul Mackerras Tue, 04 Oct 2005 14:28:29 +1000 ppc32: export a few more things where they are defined ... and remove the exports from ppc_ksyms.c. Signed-off-by: Paul Mackerras commit 04c08816d693f010ce14b8f408c6228600053af0 tree 4382f43b09bd3660e2d7ead5fb27fa3f2d195995 parent 8cc64c6ecfef020d40829f3e1152aab006c13899 author Steve French Mon, 03 Oct 2005 19:33:15 -0700 committer Steve French Mon, 03 Oct 2005 19:33:15 -0700 [CIFS] Missing parenthesis from error message in previous fix Signed-off-by: Steve French (sfrench@us.ibm.com) commit fe998aa7e27f125f6768ec6b137b0ce2c9790509 tree 124543efd939e2238d1b09a044969adbbef9b4bc parent 31961943e3110c5a1c36b1e0069c29f7c4380e51 author Tejun Heo Sun, 02 Oct 2005 11:54:29 +0900 committer Jeff Garzik Mon, 03 Oct 2005 22:11:29 -0400 [PATCH] libata: add ATA exceptions chapter to doc Hello, Jeff. This patch adds ATA errors & exceptions chapter to Documentation/DocBook/libata.tmpl. As suggested, the chapter is placed before low level driver specific chapters. Contents are unchanged from the last posting. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 31961943e3110c5a1c36b1e0069c29f7c4380e51 tree d9b3b38afeb8f4e9736ba601b0265f584652a30f parent 2b235826098bb653982894dfc3f70fd029f6c2e4 author Brett Russ Fri, 30 Sep 2005 01:36:00 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:08:19 -0400 [PATCH] libata: Marvell SATA support (DMA mode) (resend: v0.22) This is my libata compatible low level driver for the Marvell SATA family. Currently it runs in DMA mode on a 6081 chip. The 5xxx series parts are not yet DMA capable in this driver because the registers have differences that haven't been accounted for yet. Basically, I'm focused on the 6xxx series right now. I apologize for those seeing problems on the 5xxx series, I've not had a chance to look at those problems yet. For those curious, the previous bug causing the SCSI timeout and subsequent panics was caused by an improper clear of hc_irq_cause in mv_host_intr(). This version is running well in my environment (6081 chips, with/without SW raid1) and is showing equal or better performance compared to the Marvell driver (mv_sata) in my initial tests (timed dd's of reads/writes to/from memory/disk). I still need to look at the causes of occasional problems such as this: ata11: translating stat 0x35 err 0x00 to sense ata11: status=0x35 { DeviceFault SeekComplete CorrectedError Error } SCSI error : <10 0 0 0> return code = 0x8000002 Current sda: sense key Hardware Error end_request: I/O error, dev sda, sector 3155010 and this, seen at init time: ATA: abnormal status 0x80 on port 0xE093911C but they aren't showstoppers. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit 500f83abdc83d6bd472f3d103a9a9cd85df29a29 tree 33e6c948592c7c9b77ad8ebdc489e32ffb9c4b70 parent 3c8c7b2f32c52b259daa7564fefd582146799b23 author Ursula Braun Fri, 30 Sep 2005 10:19:19 +0200 committer Jeff Garzik Mon, 03 Oct 2005 22:06:46 -0400 [PATCH] s390: introducing support in qeth for new OSA CHPID type OSN This patch introduces new feature in qeth: qeth enhancement provides the device driver support for the Communication Controller for Linux on System z9 and zSeries (CCL), which is software that enables running the Network Control Program (NCP) on a zSeries machine. The OSA CDLC support is based on a new IBM mainframe CHPID type called Open Systems Adaper for NCP (OSN). In case of OSN qeth communicates with the type-OSN OSA-card on one hand, and with the CCL-kernel-component Network Device Handler (NDH) on the other. Signed-off-by: Frank Pavlic Signed-off-by: Jeff Garzik commit 3c8c7b2f32c52b259daa7564fefd582146799b23 tree 59ff1ad0d6b7821d474d8fccafd884703684b6d7 parent 7cb3cd090c2725b80561958a362c2ba15a7a8c86 parent 9123e0d78990246304fe681167b8d8097f1e02d7 author Jeff Garzik Mon, 03 Oct 2005 22:06:19 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:06:19 -0400 Merge branch 'upstream-fixes' commit 7cb3cd090c2725b80561958a362c2ba15a7a8c86 tree 9fc947ea92077967b3a0e6437d32130b3e9d772d parent c355184cd3cd58c9ffc78f2a17e0ac3563312ea7 author Jouni Malinen Sun, 02 Oct 2005 17:19:01 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:09 -0400 [PATCH] hostap: Unregister netdevs before freeing local data Unregister all netdevs before freeing local data. I was unable to trigger any crashes without this change when running busy loops for driver operations when ejecting a Prism2 PC Card. Anyway, should there be a race condition with this, better make it less likely to happen by unregistering the netdevs first. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit c355184cd3cd58c9ffc78f2a17e0ac3563312ea7 tree f6de150b08f98540bf660cedffd77785ce75b479 parent f7a74447553d698795ba74b7e17e916000b0cb08 author Jouni Malinen Sun, 02 Oct 2005 17:19:00 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Do not free local->hw_priv before unregistering netdev local->hw_priv was being freed and set to NULL just before calling prism2_free_local_data(). However, this may expose a race condition in which something ends up trying to use hw_priv during shutdown. I haven't noticed this happening, but better be safe than sorry, so let's postpone hw_priv freeing to happen only after prism2_free_local_data() has returned. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit f7a74447553d698795ba74b7e17e916000b0cb08 tree 02143425097ceec545e4de3795a44e12531e8b78 parent bab76198b3111bd0328be3c1fa208237eb12f86e author Jouni Malinen Sun, 02 Oct 2005 17:18:59 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Fix hostap_pci build with PRISM2_IO_DEBUG The debug version of I/O functions in hostap_pci had not survived the change to start using hw_priv pointer, so let's fix them to actually define the local hw_priv variable. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit bab76198b3111bd0328be3c1fa208237eb12f86e tree 11f1e2ec911c48a1e74563979457e8d299e414e5 parent 2759c8d536efe3b853867f345627d89fb64c37af author Jouni Malinen Sun, 02 Oct 2005 17:18:58 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Remove hw specific dev_open/close handlers Host AP driver used hardware model specific dev_open/close handlers that were called on dev_open/close if the hardware driver had registered the handler. These were only used for hostap_cs and only for tracking whether any of the netdevs were UP. This information is already available from local->num_dev_open, so there is not need for the special open/close handler. Let's get rid of these handlers. In addition to cleaning up the code, this fixes a module refcounting issue for hostap_cs where ejecting the card while any of the netdevs were open did not decrement refcount properly. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 3f19ee8cb3a1003cb5183696bc55934f5865f868 tree 106eda632143805fcc4fccef4d601c4d5d579bd7 parent 644dd0cc494702ecd0698f467de113ace9593888 author Jeff Garzik Mon, 03 Oct 2005 21:36:41 -0400 committer Jeff Garzik Mon, 03 Oct 2005 21:36:41 -0400 [libata] improve device scan even more Since our max_lun is unconditionally set to 1, we might as well hardcode a LUN 0 probe, rather than a wildcard LUN scan. The ide-scsi driver sets max_lun to a value greater than under certain conditions: if ((drive->id->last_lun & 0x7) != 7) host->max_lun = (drive->id->last_lun & 0x7) + 1; else host->max_lun = 1; last_lun is Word 126 of IDENTIFY PACKET DEVICE, marked as obsolete and undocumented in non-ancient specs. We'll leave it out for now. Should the need arise to support multi-LUN ATAPI devices, we'll probably want to add the above code. Finally, there have been reports of REPORT LUNS commands locking up ATAPI drives. Eliminating the wildcard LUN scan could help reduce the trouble from problematic drives. commit 2b235826098bb653982894dfc3f70fd029f6c2e4 tree ec525ddba74f58017a3f145bb68cf94376648c1c parent b4b52db71529bbe46da914eda772fb574914c94d parent c77054e518d9163578cfcad09826d7b959f95ece author Jeff Garzik Mon, 03 Oct 2005 19:46:45 -0400 committer Jeff Garzik Mon, 03 Oct 2005 19:46:45 -0400 Merge branch 'master' commit 8cc64c6ecfef020d40829f3e1152aab006c13899 tree 0e7a9bbde73768d56a4428fb63ea3bcf71860617 parent 3e84469d0101456caceffc6b22218a49017fcd3f author Steve French Mon, 03 Oct 2005 13:49:43 -0700 committer Steve French Mon, 03 Oct 2005 13:49:43 -0700 [CIFS] Allow SMBWrite2 to work to older servers Signed-off-by: Steve French (sfrench@us.ibm.com) commit 3e84469d0101456caceffc6b22218a49017fcd3f tree 2e52687ade7f3e52b5621142997ca6e7b38df70a parent 70ca734a14366b634224a1e4586d43b36b65ab67 author Steve French Mon, 03 Oct 2005 13:37:24 -0700 committer Steve French Mon, 03 Oct 2005 13:37:24 -0700 [CIFS] Add writepages support to shrink memory usage on writes, eliminate the double copy, and improve cifs write performance and help the server by upping the typical write size from 4K to 16K (or even larger if wsize set explicitly) for servers which support this. Part 1 of 2 Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit ac17b8b57013a3e38d1958f66a218f15659e5752 tree f7a28ccd5bd5496f6a2284f3d77a5019dc75c820 parent ddea7be0ec8d1374f0b483a81566ed56ec9f3905 author Dave Kleikamp Mon, 03 Oct 2005 15:32:11 -0500 committer Dave Kleikamp Mon, 03 Oct 2005 15:32:11 -0500 JFS: make special inodes play nicely with page balancing This patch fixes up a few problems with jfs's reserved inodes. 1. There is no need for the jfs code setting the I_DIRTY bits in i_state. I am ashamed that the code ever did this, and surprised it hasn't been noticed until now. 2. Make sure special inodes are on an inode hash list. If the inodes are unhashed, __mark_inode_dirty will fail to put the inode on the superblock's dirty list, and the data will not be flushed under memory pressure. 3. Force writing journal data to disk when metapage_writepage is unable to write a metadata page due to pending journal I/O. Signed-off-by: Dave Kleikamp commit 644dd0cc494702ecd0698f467de113ace9593888 tree d49e781476dea85a4bfc1b05b6d15ed0a224a747 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Jeff Garzik Mon, 03 Oct 2005 15:55:19 -0400 committer Jeff Garzik Mon, 03 Oct 2005 15:55:19 -0400 [libata] improve device scan Replace SCSI's legacy "bang at the door" method of probing with one directly controlled by the underlying ATA transport layer. We now only call scsi_scan_target() for devices we find, rather than probing every possible channel/id within a certain range. commit ff0037b259e8b47843176142131844bc80fd2887 tree ee5c9522e4f009c546aa2ab8d384d1455729a86e parent c1bda44a4aedf13251b2704e6e67afb4909195c8 author James Ketrenos Mon, 03 Oct 2005 10:23:42 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:23:42 -0500 Lindent and trailing whitespace script executed ieee80211 subsystem Signed-off-by: James Ketrenos commit c1bda44a4aedf13251b2704e6e67afb4909195c8 tree ff5bd9d92894bf777183447df3fad5615da51db7 parent ff9e00f1b09d594004f91700a371870f729ffc02 author Ivo van Doorn Mon, 03 Oct 2005 10:20:47 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:20:47 -0500 When an assoc_resp is received the network structure is not completely initialized which can cause problems for drivers that expect the network structure to be completely filled in. This patch will make sure the network is filled in as much as possible. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit ff9e00f1b09d594004f91700a371870f729ffc02 tree 44977fc59711d89871d69e3169f8bc2b2cc2b55e parent e846cbb11245e648983b50349a1c715202d5ccf0 author Ivo van Doorn Mon, 03 Oct 2005 10:19:25 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:19:25 -0500 Currently the info_element is parsed by 2 seperate functions, this results in a lot of duplicate code. This will move the parsing stage into a seperate function. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit e846cbb11245e648983b50349a1c715202d5ccf0 tree 7cdeea0d54e1fcf13cd2d2d372749e6f1936e2de parent 7c254d3dba0fae124b1d33f784ca23572ac386b0 author Randy Dunlap Mon, 03 Oct 2005 10:02:14 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:02:14 -0500 Fix implicit nocast warnings in ieee80211 code: net/ieee80211/ieee80211_tx.c:215:9: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap Signed-off-by: James Ketrenos commit 7c254d3dba0fae124b1d33f784ca23572ac386b0 tree 033b9cacdabd184bac9f543308976234ce97146b parent 604116a32eaef4e10d05ae3361450b3f4a4e6a90 author Ivo van Doorn Mon, 03 Oct 2005 09:50:40 -0500 committer James Ketrenos Mon, 03 Oct 2005 09:50:40 -0500 This will move the ieee80211_is_ofdm_rate function to the ieee80211.h header, and I also added the ieee80211_is_cck_rate counterpart. Various drivers currently create there own version of these functions, but I guess the ieee80211 stack is the best place to provide such routines. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit 292dcc86dd69e343630ab49ce96a418345c174fc tree 08d00ca3559e96bda3bda0cce92283364117b89b parent c0c0d996d08e450164adedc249c1bbbca63524ce parent eeb2d21806123a67d957783c4a0c8b020a378cf0 author Paul Mackerras Sun, 02 Oct 2005 11:12:43 +1000 committer Paul Mackerras Sun, 02 Oct 2005 11:12:43 +1000 Merge rsync://ozlabs.org/sfr-git/for-paulus/ commit eeb2d21806123a67d957783c4a0c8b020a378cf0 tree e19cc71b40592efa308018c42691dcdec4850f65 parent cabb558714945e92000f627dda562aa5e86a31af author Stephen Rothwell Fri, 30 Sep 2005 17:24:15 +1000 committer Stephen Rothwell Sat, 01 Oct 2005 18:52:26 +1000 powerpc: make iSeries boot Now that we use the device tree, it helps to build it in. It helps to links the kernel at the correct address. Signed-off-by: Stephen Rothwell commit cabb558714945e92000f627dda562aa5e86a31af tree 595cd75dad072224041260afb220d7fce3164e53 parent bd142b70a6bd5522f7d95f0cec06091b93bb0715 author Stephen Rothwell Fri, 30 Sep 2005 16:16:52 +1000 committer Stephen Rothwell Sat, 01 Oct 2005 18:52:10 +1000 powerpc: make iSeries build Merge vmlinux.lds.S. Also remove arch/powerpc/kernel/vmlinux.lds which is a generated file. Signed-off-by: Stephen Rothwell commit bd142b70a6bd5522f7d95f0cec06091b93bb0715 tree 7982cf5585a88680e0ac55e71f0009790a5cb68b parent dc1c1ca3dcd94c545c5e01d7c06b46824d43f4d0 author Stephen Rothwell Fri, 30 Sep 2005 13:51:25 +1000 committer Stephen Rothwell Sat, 01 Oct 2005 18:51:12 +1000 ppc64: simplify the build a little Signed-off-by: Stephen Rothwell commit dc1c1ca3dcd94c545c5e01d7c06b46824d43f4d0 tree fa088ac3eae8709dd379deda6f31d5b29197d4c9 parent d96024c688b59d4d1e60dbb0e226964eb758aa01 author Stephen Rothwell Sat, 01 Oct 2005 18:43:42 +1000 committer Stephen Rothwell Sat, 01 Oct 2005 18:43:42 +1000 powerpc: merge idle_power4.S and trapc.s Use idle_power4.S from ppc64 as we are not going to support 32 bit power4 in the merged tree. Merge ppc64 traps.c into powerpc traps.c: use ppc64 versions of exception routine names (as they don't have StudlyCaps) make all the versions if die() have the same prototype Signed-off-by: Stephen Rothwell commit c0c0d996d08e450164adedc249c1bbbca63524ce tree 15f297796a93568fd45756c72ca07e77756c8653 parent ab11d1ea281e85895369ef57c5259ad8a432fabb author Paul Mackerras Sat, 01 Oct 2005 13:49:08 +1000 committer Paul Mackerras Sat, 01 Oct 2005 13:49:08 +1000 powerpc: Get merged kernel to compile and run on 32-bit SMP powermac. This updates the powermac SMP code to use the mpic driver instead of the openpic driver and fixes the SMP-dependent context switch code. We had a subtle bug where we were using interrupt numbers 256-259 for IPIs, but ppc32 had NR_IRQS = 256. Moved the IPIs down to use interrupt numbers 252-255 instead. Signed-off-by: Paul Mackerras commit 3d5efad953c6d5ba11d5bcb584ef8e906f953a73 tree 1ff02ade271173d594818c6ca40aa8678987da6f parent b3a83639895a422b25f72eec0a5d1d88c3ac4e9e author Dave Airlie Fri, 30 Sep 2005 19:12:46 +1000 committer Dave Airlie Fri, 30 Sep 2005 19:12:46 +1000 drm: fix drm PCIGART PCI Express support broke PCIGART Signed-off-by: Dave Airlie commit b3a83639895a422b25f72eec0a5d1d88c3ac4e9e tree 1cd03d53cccb01964ea57564d7be575a29b7fec2 parent 689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab author Dave Airlie Fri, 30 Sep 2005 18:37:36 +1000 committer Dave Airlie Fri, 30 Sep 2005 18:37:36 +1000 drm: fix all sparse warning on 32-bit x86 Finally cleaned up the sparse warnings for the drm. Signed-off-by: Dave Airlie commit d96024c688b59d4d1e60dbb0e226964eb758aa01 tree b814632b1eaaff27be69537b2ecfa6767eeb50e5 parent ee400b63f37120987bd12a2fada850c6212d7563 author Stephen Rothwell Thu, 29 Sep 2005 01:46:29 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:04:10 +1000 powerpc: Move lparmap.c to powerpc/platforms Signed-off-by: Stephen Rothwell commit ee400b63f37120987bd12a2fada850c6212d7563 tree ede86a22406e2383b9cf3e84d93bc00dce873341 parent dcff1b170b43d9b8cb83e275cb3451dfd261c23e author Stephen Rothwell Thu, 29 Sep 2005 11:50:22 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:04:06 +1000 powerpc: more cleanup of powerpc/kernel Update head_64.S from arch/ppc64 Remove arc/ppc/kernel/fpu.S Signed-off-by: Stephen Rothwell commit dcff1b170b43d9b8cb83e275cb3451dfd261c23e tree 774f5fa8ef6a5e0e379a4edf3867fe678b0696a4 parent d1dead5c5f016ebadb4b87c2c9fa13dfc2c99bf0 author Stephen Rothwell Thu, 29 Sep 2005 00:59:39 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:04:03 +1000 powerpc: remove old vector.S files Update old kernel/Makefiles to cope Signed-off-by: Stephen Rothwell commit d1dead5c5f016ebadb4b87c2c9fa13dfc2c99bf0 tree 9b1fc4e887c43965ad2ed30d62cef06fa04b4515 parent b08567cb680686cdea9e362c0ccf0a08d77b9f0c author Stephen Rothwell Thu, 29 Sep 2005 00:35:31 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:03:59 +1000 powerpc: merge asm-offsets.c Signed-off-by: Stephen Rothwell commit b08567cb680686cdea9e362c0ccf0a08d77b9f0c tree 534e348cfa070dc9fe0344aae16d6a7512faccea parent ab11d1ea281e85895369ef57c5259ad8a432fabb author Stephen Rothwell Wed, 28 Sep 2005 23:37:01 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:03:56 +1000 ppc64 iseries: move some iSeries include files These files are only referenced from within arch/powerpc/platforms/iseries, so move them there. Signed-off-by: Stephen Rothwell commit 689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab tree 46d53c2d2ecb31d3db08f034052106030a9d8046 parent b6ce156c415544f900e031890c78eba8bc92f9b3 author Dave Airlie Fri, 30 Sep 2005 17:09:07 +1000 committer Dave Airlie Fri, 30 Sep 2005 17:09:07 +1000 drm: add option to force writeback off. In order to get some better debugging from people about certain hangs/crashes we need to be able to turn AGP writeback off permanently... Signed-off-by: Dave Airlie commit 17e5ad6c0ce5a970e2830d0de8bdd60a2f077d38 tree 6193cf97426634ce00df43e81aa953426aca4e99 parent 8d15d19e44d2e903d00ae4b70da917ac77921239 author Tony Luck Thu, 29 Sep 2005 15:52:13 -0700 committer Tony Luck Thu, 29 Sep 2005 15:52:13 -0700 [PATCH] Removed remaining PCI specific references from swiotlb.c Matthew Wilcox pointed out that swiotlb.c implements a generic interface that is not tied to just PCI. Remove includes of , . Fix comments and printk() messages to no longer refer to PCI. Signed-off-by: Tony Luck commit 8d15d19e44d2e903d00ae4b70da917ac77921239 tree af073d56ae211c4b9de3363168dc264fb03ac64a parent 569c8bf5d8eeeeb9f5250d5b7991007874f0fef2 author John W. Linville Thu, 29 Sep 2005 14:45:52 -0700 committer Tony Luck Thu, 29 Sep 2005 14:45:52 -0700 [PATCH] x86_64: implement dma_sync_single_range_for_{cpu,device} Re-implement dma_sync_single_range_for_{cpu,device} for x86_64 using swiotlb_sync_single_range_for_{cpu,device}. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit 569c8bf5d8eeeeb9f5250d5b7991007874f0fef2 tree ad351d1db69a1b5655d049e253eaa147ff632f7b parent de69e0f0b38a467d881e138a302b005bf31c8400 author John W. Linville Thu, 29 Sep 2005 14:45:24 -0700 committer Tony Luck Thu, 29 Sep 2005 14:45:24 -0700 [PATCH] swiotlb: file header comments Change comment at top of swiotlb.c to reflect that the code is shared with EM64T (i.e. Intel x86_64). Also add an entry for myself so that if I "broke it", everyone knows who "bought it"... :-) Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit de69e0f0b38a467d881e138a302b005bf31c8400 tree cce186614aafa090de860c65855c90600b300c56 parent 878a97cfd7014b01285db09f52f9881ffe4cb608 author John W. Linville Thu, 29 Sep 2005 14:44:57 -0700 committer Tony Luck Thu, 29 Sep 2005 14:44:57 -0700 [PATCH] swiotlb: support syncing DMA_BIDIRECTIONAL mappings The current implementation of sync_single in swiotlb.c chokes on DMA_BIDIRECTIONAL mappings. This patch adds the capability to sync those mappings, and optimizes other syncs by accounting for the sync target (i.e. cpu or device) in addition to the DMA direction of the mapping. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit 878a97cfd7014b01285db09f52f9881ffe4cb608 tree 19f19873602a559a351d669ee09988e8ce8bfa6e parent 8270f3f1a605c83b3aa516c1eaed209fe0884e84 author John W. Linville Thu, 29 Sep 2005 14:44:23 -0700 committer Tony Luck Thu, 29 Sep 2005 14:44:23 -0700 [PATCH] swiotlb: support syncing sub-ranges of mappings This patch implements swiotlb_sync_single_range_for_{cpu,device}. This is intended to support an x86_64 implementation of dma_sync_single_range_for_{cpu,device}. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit 8270f3f1a605c83b3aa516c1eaed209fe0884e84 tree dbe49f6263658cd9b7ace81fed257009140c0b9e parent 6c654b5fdf093cd05f35f7c9c2a00182fa5636dc author John W. Linville Thu, 29 Sep 2005 14:43:32 -0700 committer Tony Luck Thu, 29 Sep 2005 14:43:32 -0700 [PATCH] swiotlb: cleanup some code duplication cruft The implementations of swiotlb_sync_single_for_{cpu,device} are identical. Likewise for swiotlb_syng_sg_for_{cpu,device}. This patch move the guts of those functions to two new inline functions, and calls the appropriate one from the bodies of those functions. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit 6c654b5fdf093cd05f35f7c9c2a00182fa5636dc tree 7aa16a41d64b906c6e7e5248897f88027428d12a parent 0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc author John W. Linville Thu, 29 Sep 2005 14:42:42 -0700 committer Tony Luck Thu, 29 Sep 2005 14:42:42 -0700 [PATCH] swiotlb: move from arch/ia64/lib/ to lib/ The swiotlb implementation is shared by both IA-64 and EM64T. However, the source itself lives under arch/ia64. This patch moves swiotlb.c from arch/ia64/lib to lib/ and fixes-up the appropriate Makefile and Kconfig files. No actual changes are made to swiotlb.c. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit ab11d1ea281e85895369ef57c5259ad8a432fabb tree 684147479c6a8bb2fbed21bdcf12de1dd519c730 parent 952ecef7a0479049c8abb7c34a688ec2981ceadd parent 664cceb0093b755739e56572b836a99104ee8a75 author Paul Mackerras Thu, 29 Sep 2005 13:13:36 +1000 committer Paul Mackerras Thu, 29 Sep 2005 13:13:36 +1000 Merge by hand from Linus' tree. Signed-off-by: Paul Mackerras commit d719948e623622cf9fc8016f7ec63422d929eb3b tree 3ea5e18a0f6c1b43392d9abc76722095ce179e59 parent be379124c0a5abfbe57dab2823fe8a71ce797aee author Tony Luck Wed, 28 Sep 2005 16:09:46 -0700 committer Tony Luck Wed, 28 Sep 2005 16:09:46 -0700 [IA64] end of kernel 'data' is at _end, not _edata /proc/iomem describes a block of memory as "Kernel data", but the end address is derived from "_edata". The kernel actually has many other sections beyond _edata. Get the real end address from _end. Acked-by: Khalid Aziz Signed-off-by: Tony Luck commit 59c422358d6573716f2bf2e78e5b12c20eff5a31 tree c2845caccb2224e78d195056a0e8940d1bc066c1 parent 55642d36cd0f626c614f6dfa1151a5af1ff84f36 author Jack Steiner Tue, 27 Sep 2005 08:25:32 -0500 committer Tony Luck Wed, 28 Sep 2005 14:32:57 -0700 [IA64-SGI] Increase max system size of SGI SN systems Increase the maximum system size of SGI SN systems. Note that this is not the maximum SSI size. The maximum system size is the number of nodes in the numalink domain. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 604116a32eaef4e10d05ae3361450b3f4a4e6a90 tree 6e5a0667172ddafd366b745a53b4ff392927176e parent 2759c8d536efe3b853867f345627d89fb64c37af author Michael Wu Wed, 28 Sep 2005 15:16:46 -0500 committer James Ketrenos Wed, 28 Sep 2005 15:16:46 -0500 This patch fixes a typo in ieee80211.h: ieee82011_deauth -> ieee80211_deauth Signed-off-by: Michael Wu Signed-off-by: James Ketrenos commit b4b52db71529bbe46da914eda772fb574914c94d tree 3f29440fd0a5b16ef06cb04296682df269b478c2 parent a1213499b0ef75d8c627b461047805a235c9dd00 author Alan Cox Mon, 26 Sep 2005 12:48:41 +0100 committer Jeff Garzik Wed, 28 Sep 2005 13:29:56 -0400 [PATCH] ata: re-order speeds sensibly. Signed-off-by: Jeff Garzik commit a1213499b0ef75d8c627b461047805a235c9dd00 tree 89b39cb950138db7c2f9d65b1abe14e8993e3bc1 parent bfd00722ac230a39bc5234c5f7a514ea6a77996d author Jeff Garzik Wed, 28 Sep 2005 13:26:47 -0400 committer Jeff Garzik Wed, 28 Sep 2005 13:26:47 -0400 libata: move EH docs to separate DocBook chapter commit bfd00722ac230a39bc5234c5f7a514ea6a77996d tree 08b76d7cfe885f9cabd5a6502105f13c1b8cf6fb parent 64f09c98d7fce21dcb8da9f248e4159eb1ec245e author Tejun Heo Mon, 26 Sep 2005 11:28:47 +0900 committer Jeff Garzik Wed, 28 Sep 2005 12:16:54 -0400 [PATCH] libata EH document update Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 64f09c98d7fce21dcb8da9f248e4159eb1ec245e tree e03ed75665d536438fcb79b468a439caacd3d7dc parent 14be71f4c5c5ad1e222c5202ee6d234e9c8828b7 parent 98ed72deebfd2b55b7e1bb94c8175b1169999212 author Jeff Garzik Wed, 28 Sep 2005 12:11:15 -0400 committer Jeff Garzik Wed, 28 Sep 2005 12:11:15 -0400 /spare/repo/libata-dev branch 'chs-support' commit 14be71f4c5c5ad1e222c5202ee6d234e9c8828b7 tree 715ac051b4fd2e3d62219110be4fc71d2f1a06f8 parent ee500aabf10323a7e313731b8c0be7c2c6dd27c7 author Albert Lee Tue, 27 Sep 2005 17:36:35 +0800 committer Jeff Garzik Wed, 28 Sep 2005 11:58:39 -0400 [PATCH] libata: rename host states Changes: s/PIO_ST_/HSM_ST_/ and s/pio_task_state/hsm_task_state/. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit ee500aabf10323a7e313731b8c0be7c2c6dd27c7 tree 55a5b978ea433102c9c0febc977af3d0cde6dadd parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Albert Lee Tue, 27 Sep 2005 17:34:38 +0800 committer Jeff Garzik Wed, 28 Sep 2005 11:57:29 -0400 [PATCH] libata: indent and whitespace change Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 952ecef7a0479049c8abb7c34a688ec2981ceadd tree 74377080bb1fe12e874d18cb77461341a904f854 parent beeca08738c4c4024c81a591812bfe38f8c436c0 parent 252e75a51d40757928d692b3d339e66838294b4b author Paul Mackerras Wed, 28 Sep 2005 21:11:41 +1000 committer Paul Mackerras Wed, 28 Sep 2005 21:11:41 +1000 Merge Stephen Rothwell's patches commit beeca08738c4c4024c81a591812bfe38f8c436c0 tree 2d668f8529c54562c13ee06f2777d0f145f92c1e parent 20c8c2106305729e7d5e06f6c3d390e965a3dd34 author Paul Mackerras Wed, 28 Sep 2005 20:29:44 +1000 committer Paul Mackerras Wed, 28 Sep 2005 20:29:44 +1000 Don't call a NULL ack function in the generic IRQ code. Some IRQ controllers don't need an ack function (e.g. OpenPIC on PPC platforms) and for them we'd rather not have the overhead of doing an indirect call to a function that does nothing. Signed-off-by: Paul Mackerras commit 20c8c2106305729e7d5e06f6c3d390e965a3dd34 tree 23ae68e9ed3c7bdb1fccb19a761904a67c671f57 parent a3a9e99e36b2897b3e038869e61f363d62434086 author Paul Mackerras Wed, 28 Sep 2005 20:28:14 +1000 committer Paul Mackerras Wed, 28 Sep 2005 20:28:14 +1000 powerpc: Fixes to get the merged kernel to boot on powermac. This merges ppc_ksyms.c, puts back the actual do_execve call in sys_execve, makes init_MMU call find_end_of_memory rather than ppc_md.find_end_of_memory (every platform has a device tree with a /memory node now, right?) and fixes some problems with the mpic initialization on newworld powermacs. Signed-off-by: Paul Mackerras commit a3a9e99e36b2897b3e038869e61f363d62434086 tree c7cd550825a3d460ab24071ee4acff539976a9af parent 400d221274426958f1e1c7081a247bea9cede696 author Paul Mackerras Wed, 28 Sep 2005 15:53:36 +1000 committer Paul Mackerras Wed, 28 Sep 2005 15:53:36 +1000 powerpc: Fix building in the old arch's boot directory for now Signed-off-by: Paul Mackerras commit 400d221274426958f1e1c7081a247bea9cede696 tree db0907bc14504d827b06b45004152b6610387b40 parent 10b35d9978ac35556aec0d2642055742d8941488 author Kumar Gala Tue, 27 Sep 2005 15:13:12 -0500 committer Paul Mackerras Wed, 28 Sep 2005 15:42:54 +1000 [PATCH] ppc32: make cur_cpu_spec a single pointer instead of an array Changed ppc32 so that cur_cpu_spec is just a single pointer for all CPUs. Additionally, made call_setup_cpu check to see if the cpu_setup pointer is NULL or not before calling the function. This lets remove the dummy cpu_setup calls that just return. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 10b35d9978ac35556aec0d2642055742d8941488 tree 7c59c62e2840d7d9971076e1acccaa0cadd678b8 parent a559c91d77c3220be521453bd23815e1e1980a82 author Kumar Gala Fri, 23 Sep 2005 14:08:58 -0500 committer Paul Mackerras Wed, 28 Sep 2005 15:42:53 +1000 [PATCH] powerpc: merged asm/cputable.h Merged cputable.h between ppc32 and ppc64. In doing this removed support for the BEGIN_FTR_SECTION/END_FTR_SECTION macros in C code since they dont compile correctly. C code should use cpu_has_feature(). This is based on Arnd Bergmann's initial patch. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit a559c91d77c3220be521453bd23815e1e1980a82 tree 01191109d74ccfac274d443e1cd129b7bd650d7c parent 6b67f62cf655c80147435544a2f8f6f57e07ec87 author Becky Bruce Tue, 27 Sep 2005 14:28:56 -0500 committer Paul Mackerras Wed, 28 Sep 2005 15:42:53 +1000 [PATCH] powerpc: merge byteorder.h powerpc: Merge byteorder.h Essentially adopts the 64-bit version of this file. The 32-bit version had been using unsigned ints for arguments/return values that were actually only 16 bits - the new file uses __u16 for these items as in the 64-bit version of the header. The order of some of the asm constraints in the 64-bit version was slightly different than the 32-bit version, but they produce identical code. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 252e75a51d40757928d692b3d339e66838294b4b tree 6ae6e08ae69f54320da58ac369cb98bdf097a7c2 parent c111d0bda8437d146ccf5101970801fe4ff23ed8 author Stephen Rothwell Wed, 28 Sep 2005 14:40:40 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 14:40:40 +1000 ppc64 iSeries: use device_node instead of iSeries_Device_node There needs to be more cleanup after this. Signed-off-by: Stephen Rothwell commit c111d0bda8437d146ccf5101970801fe4ff23ed8 tree 3d4a3f0a5b11e2cddfa1f35560a720fe043440ec parent 7b875f4dc345dc5f6a2c3bd0e1f90bfee46b2258 author Stephen Rothwell Wed, 28 Sep 2005 13:28:01 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 13:28:01 +1000 powerpc: move more iSeries code Move the iSeries specific parts of misc.S and ppc_ksyms.c into powerpc/platforms/iseries. Signed-off-by: Stephen Rothwell commit 7b875f4dc345dc5f6a2c3bd0e1f90bfee46b2258 tree 78de92cf631b3f74e95bde1c8ef2ba93ffb9b4a7 parent d223e721b743787fad71f6aef5e860176214c8f9 author Stephen Rothwell Wed, 28 Sep 2005 09:40:24 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 09:40:24 +1000 powerpc: Make powerpc pmac 32 bit build again Signed-off-by: Stephen Rothwell commit d223e721b743787fad71f6aef5e860176214c8f9 tree e2fec87364dc1cbaa983f31c8276eb709ee491bd parent b6b8681843f9eaee12f8c30ffac399f7b2601ab3 author Stephen Rothwell Wed, 28 Sep 2005 03:12:35 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 03:12:35 +1000 powerpc: Move viopath.c to powerpc/platforms/iseries Signed-off-by: Stephen Rothwell commit b6b8681843f9eaee12f8c30ffac399f7b2601ab3 tree 378e366e0d85c8d6ffc8da520efe7f96fc8b85ee parent ed7f2c05de956da72baf066701ac642f7215dbf5 author Stephen Rothwell Wed, 28 Sep 2005 03:07:14 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 03:07:14 +1000 powerpc: Move iSeries_smp.c to powerpc/platforms/iseries And rename it to smp.c. Signed-off-by: Stephen Rothwell commit ed7f2c05de956da72baf066701ac642f7215dbf5 tree e808dab2caed385657af31cbb0cf71e0376e556e parent da3420fcd62a8967c14a586355e322253a1504a8 author Stephen Rothwell Wed, 28 Sep 2005 03:03:00 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 03:03:00 +1000 powerpc: Move iSeries_vio.c to powerpc/platforms/iseries And rename it to vio.c. Signed-off-by: Stephen Rothwell commit da3420fcd62a8967c14a586355e322253a1504a8 tree 0aab4d1578097b098f580af3b5d30b88395eddfd parent cb4cf8056ead24ef0595859952319e2a608d5e07 author Stephen Rothwell Wed, 28 Sep 2005 02:59:19 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:59:19 +1000 powerpc: Move iSeries_VpdInfo.c to powerpc/platforms/iseries And rename it to vpdinfo.c. Signed-off-by: Stephen Rothwell commit cb4cf8056ead24ef0595859952319e2a608d5e07 tree 303521dcaac493ee7433cd8f8c1f8d83dc0a7653 parent d387899f3f7092edbafe16d69ea9737846473e99 author Stephen Rothwell Wed, 28 Sep 2005 02:54:39 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:54:39 +1000 powerpc: Move iSeries_irq.c to powerpc/platorms/iseries And rename it to irq.c. Signed-off-by: Stephen Rothwell commit d387899f3f7092edbafe16d69ea9737846473e99 tree b8e6e1fd681e841bf81d79cfe273d9434c010f76 parent cc14d430837e8854bd160275ad71d887a8a98488 author Stephen Rothwell Wed, 28 Sep 2005 02:50:25 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:50:25 +1000 powerpc: Move iSeries_pci.c to powerpc/platform/iseries and rename it to pci.c. This also required moving arch/ppc64/kernel/pci.h into include/asm-powerpc (called ppc-pci.h. Signed-off-by: Stephen Rothwell commit cc14d430837e8854bd160275ad71d887a8a98488 tree 23dfd2ec7b7c1098ba86609d22aa2bdacff16d37 parent e508f438e0c152dcd1fbec5104e9c0ee28f352d4 author Stephen Rothwell Wed, 28 Sep 2005 02:32:16 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:32:16 +1000 powerpc: Move iSeries_iommu.c to powerpc/platforms/iseries And rename it to iommu.c Signed-off-by: Stephen Rothwell commit e508f438e0c152dcd1fbec5104e9c0ee28f352d4 tree bf67e0848e8ec5c5c255a8223550e9970cbdc29d parent cb5c7980ab16c461a883ec7899675be57798d285 author Stephen Rothwell Wed, 28 Sep 2005 02:28:45 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:28:45 +1000 powerpc: Move iSeries_htab.c to powerpc/platforms/iseries And rename it to htab.c Signed-off-by: Stephen Rothwell commit cb5c7980ab16c461a883ec7899675be57798d285 tree b84622d3d61b8e947062c03393822e24ad7f3f1b parent 544cbbaed4de962fb0e831e8799ab01c448ff37d author Stephen Rothwell Wed, 28 Sep 2005 02:24:05 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:24:05 +1000 powerpc: move iSeries_proc.c to powerpc/platforms/iseries And renamed it to proc.c Signed-off-by: Stephen Rothwell commit 544cbbaed4de962fb0e831e8799ab01c448ff37d tree 3f03ca171a9f8c2e80bdca050d8714994cd6de9f parent 99a2379cdddcc4e8579e70deb80479450ed65d49 author Stephen Rothwell Wed, 28 Sep 2005 02:18:47 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:18:47 +1000 powerpc: Merge HvLpEvent.c into lpevents.c These two files were intimately connected, so just merge them. Signed-off-by: Stephen Rothwell commit 99a2379cdddcc4e8579e70deb80479450ed65d49 tree d5c40a1e7ffabb87c3b1f1ae510eac80f4b52d05 parent 2952bc7c896ec76a20e18321e2be40a694a73a78 author Stephen Rothwell Wed, 28 Sep 2005 00:17:40 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 00:17:40 +1000 powerpc: move hvCall.s to powerpc/platforms/iseries Rename it to hvcall.S and (so I can do that) rename hvcall.c to hvlog.c - a more appropriate name. Do some white space cleanups. Signed-off-by: Stephen Rothwell commit 2952bc7c896ec76a20e18321e2be40a694a73a78 tree 291b2208855d2941274548aa1b4e12ac1712757b parent c8b84976f86adcd10c221d398e1d0be2b778f3c8 author Stephen Rothwell Wed, 28 Sep 2005 00:03:46 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 00:03:46 +1000 powerpc: move ItLpQueue.c to powerpc/platforms/iseries Signed-off-by: Stephen Rothwell commit c8b84976f86adcd10c221d398e1d0be2b778f3c8 tree 54924b199234c014ad6d70269e24c59041a69432 parent 2960eb661a82131b9492cdd1b6500a5f74ccc394 author Stephen Rothwell Tue, 27 Sep 2005 18:44:42 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 18:44:42 +1000 powerpc: move iSeries_setup.[ch] and mf.c into platforms/iseries iSeries_setup.c becomes setup.c iSeries_setup.h becomes setup.h mf.c retains its name Also moved iSeries_[gs]et_rtc_time and iSeries_get_boot_time into mf.c since they are just small wrappers around mf_ functions. Signed-off-by: Stephen Rothwell commit 2960eb661a82131b9492cdd1b6500a5f74ccc394 tree b5a28da9179cfc0248d74232d1b6fa7d13f8b09c parent acdbec1b8974f61b0cb69ebe57916f8721b2f3d7 author Stephen Rothwell Fri, 23 Sep 2005 13:42:26 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 17:24:54 +1000 powerpc: Move LparData.c to powerpc platforms Also rename it to lpardata.c Signed-off-by: Stephen Rothwell commit acdbec1b8974f61b0cb69ebe57916f8721b2f3d7 tree 73d03d16bfe954fff13258a910b0a36a7a5b6f74 parent ba0dd617a3e23321a14cb38ff7ad6f796ba32c34 author Stephen Rothwell Fri, 23 Sep 2005 13:23:58 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 17:24:37 +1000 powerpc: Move HvLpConfig.c to powerpc arch Also rename it to hvlpconfig.c Signed-off-by: Stephen Rothwell commit ba0dd617a3e23321a14cb38ff7ad6f796ba32c34 tree 22c600620587cc1927215bdf61b88d1613336066 parent 6b67f62cf655c80147435544a2f8f6f57e07ec87 author Stephen Rothwell Fri, 23 Sep 2005 13:15:51 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 17:23:00 +1000 powerpc: Create arch/powerpc/platforms/iseries I also move arch/ppc64/kernel/HvCall.c to arch/powerpc/platforms/iseries/hvcall.c. Signed-off-by: Stephen Rothwell commit 6b67f62cf655c80147435544a2f8f6f57e07ec87 tree fdbc706746344d4370ce3ae544c0a71ac833b147 parent e607d98369dbd8e7b33b19664d1729a8a81fe7cd author Stephen Rothwell Tue, 27 Sep 2005 14:09:39 +1000 committer Paul Mackerras Tue, 27 Sep 2005 16:36:23 +1000 [PATCH] ppc64 g5: merge tree build fix We removed __pmacdata in the merge. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit e607d98369dbd8e7b33b19664d1729a8a81fe7cd tree fcb0fa7a8c6b7bd93e5efd47bbc5d23498d9d5fd parent bbeb3f4c55f666df7bcd2655b303dfb8c4d1a119 author Paul Mackerras Tue, 27 Sep 2005 14:24:18 +1000 committer Paul Mackerras Tue, 27 Sep 2005 14:24:18 +1000 ppc64: Fix typo in iommu cleanups that broke pmac build. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit bbeb3f4c55f666df7bcd2655b303dfb8c4d1a119 tree 30180a33fb5bb9a5c633e93d533b7f4ffc800e2e parent 51a0885ed7f883758462926b35fbd6f09f9c717c author Stephen Rothwell Tue, 27 Sep 2005 13:51:59 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 13:51:59 +1000 powerpc: clean up after powermac build merge Complete moving arch/ppc64/kernel/mpic.h, include/asm-ppc/reg.h, include/asm-ppc64/kdebug.h and include/asm-ppc64/kprobes.h Add arch/powerpc/platforms/Makefile and use it from arch/powerpc/Makefile Introduce OLDARCH temporarily so we can point back to the originating architecture Signed-off-by: Stephen Rothwell commit 51a0885ed7f883758462926b35fbd6f09f9c717c tree 3789f94f7b599222bef32dc20dc2213b9cf9d948 parent 14cf11af6cf608eb8c23e989ddb17a715ddce109 parent 3d8a66cc9ec475baaf22de139deff67ffe8e7cf2 author Paul Mackerras Mon, 26 Sep 2005 16:20:49 +1000 committer Paul Mackerras Mon, 26 Sep 2005 16:20:49 +1000 Merge refs/heads/devtree from rsync://oak/kernels/iseries/work/.git commit 14cf11af6cf608eb8c23e989ddb17a715ddce109 tree 271a97ce73e265f39c569cb159c195c5b4bb3f8c parent e5baa396af7560382d2cf3f0871d616b61fc284c author Paul Mackerras Mon, 26 Sep 2005 16:04:21 +1000 committer Paul Mackerras Mon, 26 Sep 2005 16:04:21 +1000 powerpc: Merge enough to start building in arch/powerpc. This creates the directory structure under arch/powerpc and a bunch of Kconfig files. It does a first-cut merge of arch/powerpc/mm, arch/powerpc/lib and arch/powerpc/platforms/powermac. This is enough to build a 32-bit powermac kernel with ARCH=powerpc. For now we are getting some unmerged files from arch/ppc/kernel and arch/ppc/syslib, or arch/ppc64/kernel. This makes some minor changes to files in those directories and files outside arch/powerpc. The boot directory is still not merged. That's going to be interesting. Signed-off-by: Paul Mackerras commit e5baa396af7560382d2cf3f0871d616b61fc284c tree 6afc166894b8c8b3b2cf6add72a726be14ae2443 parent d6a4c847e43c851cc0ddf73087a730227223f989 parent ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 author Paul Mackerras Sun, 25 Sep 2005 22:51:50 +1000 committer Paul Mackerras Sun, 25 Sep 2005 22:51:50 +1000 Merge from Linus' tree. commit d6a4c847e43c851cc0ddf73087a730227223f989 tree 4f1991e81f8c87296222145e456a682a41d6be8e parent 342e73b3d6fd1321d1eaaa6a935f267a300ceebd author Becky Bruce Fri, 23 Sep 2005 11:07:36 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:46 +1000 [PATCH] powerpc: merge semaphore.h powerpc: Merge semaphore.h Adopted the ppc64 version of semaphore.h. The 32-bit version used smp_wmb(), but recent updates to atomic.h mean this is no longer required. The 64-bit version made use of unlikely(), which has been retained in the combined version. This patch requires the recent atomic.h patch. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 342e73b3d6fd1321d1eaaa6a935f267a300ceebd tree 539517d2f11f2dfcce1cc70c7fceb7f7d947c882 parent feaf7cf153335fe7100b65ed6f4585c3574fe69a author Jon Loeliger Thu, 22 Sep 2005 14:55:30 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:46 +1000 [PATCH] powerpc: Merge asm-ppc*/rwsem.h Merge asm-ppc*/rwsem.h into include/asm-powerpc. Removed smp_*mb() memory barriers from the ppc32 code as they are now burried in the atomic_*() functions as suggested by Paul, implemented by Arnd, and pushed out by Becky. I am not the droid you are looking for. This patch depends on Becky's atomic.h merge patch. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit feaf7cf153335fe7100b65ed6f4585c3574fe69a tree c57198f01b5f12ffe8ce90f4e1399505c1f84a02 parent 2bfadee32f1501faa3184d574f6a769f17236c87 author Becky Bruce Thu, 22 Sep 2005 14:20:04 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:46 +1000 [PATCH] powerpc: merge atomic.h, memory.h powerpc: Merge atomic.h and memory.h into powerpc Merged atomic.h into include/powerpc. Moved asm-style HMT_ defines from memory.h into ppc_asm.h, where there were already HMT_defines; moved c-style HMT_ defines to processor.h. Renamed memory.h to synch.h to better reflect its contents. Signed-off-by: Kumar Gala Signed-off-by: Becky Bruce Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit 2bfadee32f1501faa3184d574f6a769f17236c87 tree c90a7261ffa59312459666f2917f1882c8a3f320 parent 3efc333e7fdb6fab9d4eae129e2b249c6483b250 author Jon Loeliger Fri, 23 Sep 2005 08:05:03 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:45 +1000 [PATCH] powerpc: Merge asm-ppc*/seccomp.h, drop TIF_32BIT check Merge asm-ppc*/seccomp.h. Drop TIF_32BIT check. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 3efc333e7fdb6fab9d4eae129e2b249c6483b250 tree fd83ddc78cc484a767edf69731ab3525a625dbb8 parent b671ad2befe37131af380183760862d5cbad858d author Kumar Gala Thu, 22 Sep 2005 10:13:31 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:45 +1000 [PATCH] powerpc: Fix building of power3 config on ppc32 The spinlock_types.h merge renamed the structure for raw_spinlock_t to match ppc64. In doing so some of the spinlock macros/functions needed to be updated to match. Apparently, this seems to only be caught when building power3. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b6ce156c415544f900e031890c78eba8bc92f9b3 tree caf620af0b6f8de3786b8aee86fd7e992bad5a58 parent 13e4a9c85152a49ec10e682308581ab13b437470 author Dave Airlie Sun, 25 Sep 2005 15:07:24 +1000 committer Dave Airlie Sun, 25 Sep 2005 15:07:24 +1000 drm: fix some lindent damage Signed-off-by: Dave Airlie commit 13e4a9c85152a49ec10e682308581ab13b437470 tree c82846763a0b6a73fe3c6cf4a64460647baa3407 parent b5e89ed53ed8d24f83ba1941c07382af00ed238e author Dave Airlie Sun, 25 Sep 2005 14:30:09 +1000 committer Dave Airlie Sun, 25 Sep 2005 14:30:09 +1000 drm: cast handle to a pointer to avoid warning Andrew reported a warning on this line, just case to void *. Signed-off-by: Dave Airlie commit b5e89ed53ed8d24f83ba1941c07382af00ed238e tree 747bae7a565f88a2e1d5974776eeb054a932c505 parent 99a2657a29e2d623c3568cd86b27cac13fb63140 author Dave Airlie Sun, 25 Sep 2005 14:28:13 +1000 committer Dave Airlie Sun, 25 Sep 2005 14:28:13 +1000 drm: lindent the drm directory. I've been threatening this for a while, so no point hanging around. This lindents the DRM code which was always really bad in tabbing department. I've also fixed some misnamed files in comments and removed some trailing whitespace. Signed-off-by: Dave Airlie commit 99a2657a29e2d623c3568cd86b27cac13fb63140 tree 9023ee34d4ccc8dac11d07dc3978f13297d77411 parent 4e0c1159d83a658d1ffba5bc3442f4ec4cadb436 author Dave Airlie Sun, 25 Sep 2005 13:25:41 +1000 committer Dave Airlie Sun, 25 Sep 2005 13:25:41 +1000 drm: use kernel macros Make some of the DRM_ macros use the real kernel macros. Signed-off-by: Dave Airlie commit 4e0c1159d83a658d1ffba5bc3442f4ec4cadb436 tree 36a5079ba7ba9b9e0f2f633356705b980940eac4 parent ea98a92ff18c03bf7f4d21536986cbbcb4c10cd9 parent ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 author Dave Airlie Sun, 25 Sep 2005 13:14:45 +1000 committer Dave Airlie Sun, 25 Sep 2005 13:14:45 +1000 update from upstream commit 2759c8d536efe3b853867f345627d89fb64c37af tree e8dc66c8c5e2e5dbea9629f1405cdf9bada79985 parent e2e965072564e7aad8df963107677a6d22c41767 author Jeff Garzik Sat, 24 Sep 2005 04:09:04 -0400 committer Jeff Garzik Sat, 24 Sep 2005 04:09:04 -0400 [wireless airo] remove needed dma_addr_t obfuscation Fixes bus address truncation bug for certain configs. commit e2e965072564e7aad8df963107677a6d22c41767 tree 92667c7ec98f96308f4eefd4ec3c1bdfbb5acd93 parent 596ff2e7c8db39c700e277f0bc267244be253f5b author Jeff Garzik Sat, 24 Sep 2005 04:05:52 -0400 committer Jeff Garzik Sat, 24 Sep 2005 04:05:52 -0400 Remove WIRELESS_EXT ifdefs from several wireless drivers. commit 596ff2e7c8db39c700e277f0bc267244be253f5b tree 9f0f0897c0ef74f8d44510c0cc868ee0e314cbdd parent a9d12b9a4afcfa2cb6f6e76beb4f185a9177c98e author Jean Tourrilhes Fri, 23 Sep 2005 21:59:01 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Remove iwe_stream_add_event kludge Now that we are compiling with -fno-strict-aliasing (this is the kernel default), we can drop the following kludge for iwe_stream_add_event(). Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit a9d12b9a4afcfa2cb6f6e76beb4f185a9177c98e tree ec30834a9f39a737d2f9d01d5c5b561015265ad1 parent c28df16ed70d1b6cefd12135e3c68bfccd1bb635 author Jean Tourrilhes Fri, 23 Sep 2005 21:59:00 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Use GFP_ATOMIC to get rid of weird might_sleep issue This is the trace I got : Signed-off-by: Jeff Garzik commit c28df16ed70d1b6cefd12135e3c68bfccd1bb635 tree d1161f1c5523e9720f9bc58adf3b7495a5b1ac62 parent 7a716536c602be6050b4f3ece30f1fc3b64362b0 author Jean Tourrilhes Fri, 23 Sep 2005 21:58:59 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Add support for WE-19 This patch adds support for WE-19 to the HostAP driver. One of the major change is the use of an explicit flag to tell if iwstat is in dBm or not. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 7a716536c602be6050b4f3ece30f1fc3b64362b0 tree 58ed691a144e75b81b712ccdf5daccebbe58693a parent 8cee0cd5bec53b78dd3c43a73b27821a688133e6 author Pavel Roskin Fri, 23 Sep 2005 21:58:58 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Fix pci_driver name for hostap_plx and hostap_pci hostap_pci and hostap_plx drivers still use PCI driver names "prism2_pci" and "prism2_plx" respectively. This is unfriendly to linux-wlan-ng, which uses the same names. So, if e.g. hostap_pci and prism2_pci are loaded, they will "share" /sys/bus/pci/drivers/prism2_plx directory. Change PCI driver names of hostap_pci and hostap_plx to be equal to their module names. Signed-off-by: Pavel Roskin Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 98ed72deebfd2b55b7e1bb94c8175b1169999212 tree f1682a68f65e0a38159f55a58c054779d749f8df parent dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Jeff Garzik Sat, 24 Sep 2005 00:26:49 -0400 committer Jeff Garzik Sat, 24 Sep 2005 00:26:49 -0400 Merge /spare/repo/linux-2.6/ commit c1d9728ecc5b560465df3c0c0d3b3825c2710b40 tree d0abb5c923a7a3eca2d4b2c3e1964bf484870909 parent 165415f700b0c77fa1f8db6198f48582639adf78 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Jeff Garzik Sat, 24 Sep 2005 00:25:02 -0400 committer Jeff Garzik Sat, 24 Sep 2005 00:25:02 -0400 Merge /spare/repo/linux-2.6/ commit 8cee0cd5bec53b78dd3c43a73b27821a688133e6 tree 067920155bf3cf6896e88d1cff8c170d32768922 parent bb40dcbb0fcebe1df08ba261483fcc38b307d063 author Jeff Garzik Fri, 23 Sep 2005 22:58:49 -0400 committer Jeff Garzik Fri, 23 Sep 2005 22:58:49 -0400 [netdrvr] delete CONFIG_PHYCONTROL commit bb40dcbb0fcebe1df08ba261483fcc38b307d063 tree aefeb8db397de215cf1ff1c5ff7a581cee2b2b4b parent acc4b985a6f8f22a0e826692894a4af234764001 author Andy Fleming Fri, 23 Sep 2005 22:54:21 -0400 committer Jeff Garzik Fri, 23 Sep 2005 22:54:21 -0400 [netdrvr gianfar] use new phy layer Signed-off-by: Andy Fleming Signed-off-by: Jeff Garzik commit 0ff541dafdcb9bc8933e7e4881e5924a408b5335 tree 8467dffd0c09b5a32085b72a4a348af5adafa62d parent 32a3658533c6f4c6bf370dd730213e802464ef9b author Dave Jones Fri, 23 Sep 2005 15:59:37 -0700 committer Dave Jones Fri, 23 Sep 2005 15:59:37 -0700 [AGPGART] Fix serverworks TLB flush. Go back to what 2.4 kernels used to do here, as if this hits, the kernel just hangs indefinitly. Actually an improvement over 2.4 - we now break; out of the loop instead of just printing messages on timeouts. Signed-off-by: Dave Jones commit 61b9cf7c6cf5077c40ad37480fa56f6574af3db5 tree dd2f5c7a770005d13910ed581128542720ee8936 parent 12f44f46bc9c6dc79255e661b085797af395d8da author Mark Maule Fri, 23 Sep 2005 12:31:53 -0500 committer Tony Luck Fri, 23 Sep 2005 11:21:59 -0700 [IA64-SGI] fix sn_pci_legacy_read/fix sn_pci_legacy_write This patch adds a #define for SN_SAL_IOIF_PCI_SAFE and makes that the preferred method of implementing sn_pci_legacy_read() and sn_pci_legacy_write(). This SAL call has been present in SGI proms since version 4.10. If the SN_SAL_IOIF_PCI_SAFE call fails, revert to the previous code for compatability with older proms. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit b9111b7b7f46b0ec1ccb451d60ec439b92e4df65 tree 4567cbc921c39d5e2af1819ba0e3a880c1890cef parent df8b59be0976c56820453730078bef99a8d1dbda author Dave Jones Fri, 23 Sep 2005 11:10:42 -0700 committer Dave Jones Fri, 23 Sep 2005 11:10:42 -0700 [CPUFREQ] Remove preempt_disable from powernow-k8 Via reading the code, my understanding is that powernow-k8 uses preempt_disable to ensure that driver->target doesn't migrate across cpus whilst it's accessing per processor registers, however set_cpus_allowed will provide this for us. Additionally, remove schedule() calls from set_cpus_allowed as set_cpus_allowed ensures that you're executing on the target processor on return. Signed-off-by: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 tree ef62460b3ea5bd9bd81cb243c20a7a64ed41b8e5 parent f134585a7343d71f9be7f0cf97e2145f21dd10c6 author Chuck Lever Thu, 22 Sep 2005 21:24:59 -0400 committer Trond Myklebust Fri, 23 Sep 2005 13:54:10 -0400 SUNRPC: fix bug in patch "portmapper doesn't need a reserved port" The in-kernel portmapper does in fact need a reserved port when registering new services, but not when performing bind queries. Ensure that we distinguish between the two cases. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 463eb297401eeb174db3fdf37a87911b576b3993 tree 1a0b2ffefc08cb4d3a2c591a5ff9bf9e5fb659ea parent 12f44f46bc9c6dc79255e661b085797af395d8da author Bjorn Helgaas Fri, 23 Sep 2005 11:39:07 -0600 committer Tony Luck Fri, 23 Sep 2005 10:50:09 -0700 [IA64] respect ACPI producer/consumer flag for PCI root bridges Address space resources for ACPI devices have a producer/consumer flag. All devices "consume" the indicated address space. If the resource is marked as a "producer", the range is also passed on to child devices. We currently ignore this flag when setting up MMIO and I/O port windows for PCI root bridges, so we could mistakenly interpret a "consumed-only" range, like CSR space for the device itself, as a window that is routed to children. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit f134585a7343d71f9be7f0cf97e2145f21dd10c6 tree f1eae77a5063e3748cd8deba9a13794ae0a9439c parent 3063d8a16643190f9e12e9c7e9f1ca56f7e7934e author Trond Myklebust Fri, 23 Sep 2005 11:08:25 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:39:00 -0400 Revert "[PATCH] RPC,NFS: new rpc_pipefs patch" This reverts 17f4e6febca160a9f9dd4bdece9784577a2f4524 commit. commit 3063d8a16643190f9e12e9c7e9f1ca56f7e7934e tree e44b1e23f7a7c642d9ef5040a2bc0b753e0fad99 parent 278c995c8a153bb2a9bc427e931cfb9c8034c9d7 author Trond Myklebust Thu, 25 Aug 2005 16:25:57 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:59 -0400 NFS: Make /proc/mounts display the protocol used by NFSv4 Signed-off-by: Trond Myklebust commit 278c995c8a153bb2a9bc427e931cfb9c8034c9d7 tree fe1b62d1686c78659133d751393ab2d5acf38665 parent 470056c288334eb0b37be26c9ff8aee37ed1cc7a author Christoph Hellwig Sun, 24 Jul 2005 23:53:01 +0100 committer Trond Myklebust Fri, 23 Sep 2005 12:38:57 -0400 [PATCH] RPC,NFS: new rpc_pipefs patch Currently rpc_mkdir/rpc_rmdir and rpc_mkpipe/mk_unlink have an API that's a little unfortunate. They take a path relative to the rpc_pipefs root and thus need to perform a full lookup. If you look at debugfs or usbfs they always store the dentry for directories they created and thus can pass in a dentry + single pathname component pair into their equivalents of the above functions. And in fact rpc_pipefs actually stores a dentry for all but one component so this change not only simplifies the core rpc_pipe code but also the callers. Unfortuntately this code path is only used by the NFS4 idmapper and AUTH_GSSAPI for which I don't have a test enviroment. Could someone give it a spin? It's the last bit needed before we can rework the lookup_hash API Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust commit 470056c288334eb0b37be26c9ff8aee37ed1cc7a tree 8c76a17c31c5dadbd4438a11d64364cdbe164c40 parent 03bf4b707eee06706c9db343dd5c905b7ee47ed2 author Chuck Lever Thu, 25 Aug 2005 16:25:56 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:55 -0400 [PATCH] RPC: rationalize set_buffer_size In fact, ->set_buffer_size should be completely functionless for non-UDP. Test-plan: Check socket buffer size on UDP sockets over time. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 03bf4b707eee06706c9db343dd5c905b7ee47ed2 tree 54f89b578758e2bf2650b647ae1c7100c882a757 parent 3167e12c0c424f3c323944701615343022d86418 author Chuck Lever Thu, 25 Aug 2005 16:25:55 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:53 -0400 [PATCH] RPC: parametrize various transport connect timeouts Each transport implementation can now set unique bind, connect, reestablishment, and idle timeout values. These are variables, allowing the values to be modified dynamically. This permits exponential backoff of any of these values, for instance. As an example, we implement exponential backoff for the connection reestablishment timeout. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 3167e12c0c424f3c323944701615343022d86418 tree 952961988fe19c19fc63f9cffb5edb4566f3527f parent 529b33c6db0120126b1381faa51406dc463acdc9 author Chuck Lever Thu, 25 Aug 2005 16:25:55 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:52 -0400 [PATCH] RPC: make sure to get the same local port number when reconnecting Implement a best practice: if the remote end drops our connection, try to reconnect using the same port number. This is important because the NFS server's Duplicate Reply Cache often hashes on the source port number. If the client reuses the port number when it reconnects, the server's DRC will be more effective. Based on suggestions by Mike Eisler, Olaf Kirch, and Alexey Kuznetsky. Test-plan: Destructive testing. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 529b33c6db0120126b1381faa51406dc463acdc9 tree 4856a23687aa891f6a5d1c45db80190b90b0fc68 parent 555ee3af161b037865793bd4bebc06b58daafde6 author Chuck Lever Thu, 25 Aug 2005 16:25:54 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:50 -0400 [PATCH] RPC: allow RPC client's port range to be adjustable Select an RPC client source port between 650 and 1023 instead of between 1 and 800. The old range conflicts with a number of network services. Provide sysctls to allow admins to select a different port range. Note that this doesn't affect user-level RPC library behavior, which still uses 1 to 800. Based on a suggestion by Olaf Kirch . Test-plan: Repeated mount and unmount. Destructive testing. Idle timeouts. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 555ee3af161b037865793bd4bebc06b58daafde6 tree 4c72474dabffab62234db158e5b6c86ace4f9d09 parent ed63c003701a314c4893c11eceb9d68f8f46c662 author Chuck Lever Thu, 25 Aug 2005 16:25:54 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:48 -0400 [PATCH] RPC: clean up after nocong was removed Clean-up: Move some macros that are specific to the Van Jacobson implementation into xprt.c. Get rid of the cong_wait field in rpc_xprt, which is no longer used. Get rid of xprt_clear_backlog. Test-plan: Compile with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ed63c003701a314c4893c11eceb9d68f8f46c662 tree c0567884d9cce53960061fece0ae9c2eabd0af77 parent a58dd398f5db4f73d5c581069fd70a4304cc4f0a author Chuck Lever Thu, 25 Aug 2005 16:25:53 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:47 -0400 [PATCH] RPC: remove xprt->nocong Get rid of the "xprt->nocong" variable. Test-plan: Use WAN simulation to cause sporadic bursty packet loss with UDP mounts. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a58dd398f5db4f73d5c581069fd70a4304cc4f0a tree 09e290d351c043392e7a2f8e0bc77aba90ff88ad parent 1570c1e41eabf6b7031f3e4322a2cf1cbe319fee author Chuck Lever Thu, 25 Aug 2005 16:25:53 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:45 -0400 [PATCH] RPC: add a release_rqst callout to the RPC transport switch The final place where congestion control state is adjusted is in xprt_release, where each request is finally released. Add a callout there to allow transports to perform additional processing when a request is about to be released. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 1570c1e41eabf6b7031f3e4322a2cf1cbe319fee tree eee53757ac3e03d55b6c01bb0500996ba520a8bb parent 46c0ee8bc4ad3743de05e8b8b20201df44dcb6d3 author Chuck Lever Thu, 25 Aug 2005 16:25:52 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:43 -0400 [PATCH] RPC: add generic interface for adjusting the congestion window A new interface that allows transports to adjust their congestion window using the Van Jacobson implementation in xprt.c is provided. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 46c0ee8bc4ad3743de05e8b8b20201df44dcb6d3 tree 6b2993ff1cefb69cc3cc40c3605d088ea2af3c98 parent 49e9a89086b3cae784a4868ca852863e4f4ea3fe author Chuck Lever Thu, 25 Aug 2005 16:25:52 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:41 -0400 [PATCH] RPC: separate xprt_timer implementations Allow transports to hook the retransmit timer interrupt. Some transports calculate their congestion window here so that a retransmit timeout has immediate effect on the congestion window. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 49e9a89086b3cae784a4868ca852863e4f4ea3fe tree 5ba197fc1767fee5590b892b2f19aeb3583494c4 parent 12a804698b29d040b7cdd92e8a44b0e75164dae9 author Chuck Lever Thu, 25 Aug 2005 16:25:51 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:40 -0400 [PATCH] RPC: expose API for serializing access to RPC transports The next method we abstract is the one that releases a transport, allowing another task to have access to the transport. Again, one generic version of this is provided for transports that don't need the RPC client to perform congestion control, and one version is for transports that can use the original Van Jacobson implementation in xprt.c. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 12a804698b29d040b7cdd92e8a44b0e75164dae9 tree 9885cf95a0a2945ad8cd00de59633a0aa16a3599 parent fe3aca290f17ae4978bd73d02aa4029f1c9c024c author Chuck Lever Thu, 25 Aug 2005 16:25:51 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:38 -0400 [PATCH] RPC: expose API for serializing access to RPC transports The next several patches introduce an API that allows transports to choose whether the RPC client provides congestion control or whether the transport itself provides it. The first method we abstract is the one that serializes access to the RPC transport to prevent the bytes from different requests from mingling together. This method provides proper request serialization and the opportunity to prevent new requests from being started because the transport is congested. The normal situation is for the transport to handle congestion control itself. Although NFS over UDP was first, it has been recognized after years of experience that having the transport provide congestion control is much better than doing it in the RPC client. Thus TCP, and probably every future transport implementation, will use the default method, xprt_lock_write, provided in xprt.c, which does not provide any kind of congestion control. UDP can continue using the xprt.c-provided Van Jacobson congestion avoidance implementation. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit fe3aca290f17ae4978bd73d02aa4029f1c9c024c tree 4fbaa255e9e7a85f41eacb7cf1214dc44a90bcea parent 43118c29dea2b23798bd42a147015cceee7fa885 author Chuck Lever Thu, 25 Aug 2005 16:25:50 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:36 -0400 [PATCH] RPC: add API to set transport-specific timeouts Prepare the way to remove the "xprt->nocong" variable by adding a callout to the RPC client transport switch API to handle setting RPC retransmit timeouts. Add a pair of generic helper functions that provide the ability to set a simple fixed timeout, or to set a timeout based on the state of a round- trip estimator. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 43118c29dea2b23798bd42a147015cceee7fa885 tree 4951a6777a3dc167d46c1373c02d21912b250e96 parent 808012fbb23a52ec59352445d2076d175ad4ab26 author Chuck Lever Thu, 25 Aug 2005 16:25:49 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:35 -0400 [PATCH] RPC: get rid of xprt->stream Now we can fix up the last few places that use the "xprt->stream" variable, and get rid of it from the rpc_xprt structure. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 808012fbb23a52ec59352445d2076d175ad4ab26 tree 7175edb3917bc35f7f5484f567e91d7303a17663 parent 262965f53defd312a294b45366ea17907b6a616b author Chuck Lever Thu, 25 Aug 2005 16:25:49 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:33 -0400 [PATCH] RPC: skip over transport-specific heads automatically Add a generic mechanism for skipping over transport-specific headers when constructing an RPC request. This removes another "xprt->stream" dependency. Test-plan: Write-intensive workload on a single mount point (try both UDP and TCP). Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 262965f53defd312a294b45366ea17907b6a616b tree a5e0f194c02f230ff12d9d5b0933bad9eb8810ea parent b0d93ad511ce2f37823a07c7a3258117a431f5fb author Chuck Lever Thu, 11 Aug 2005 16:25:56 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:31 -0400 [PATCH] RPC: separate TCP and UDP socket write paths Split the RPC client's main socket write path into a TCP version and a UDP version to eliminate another dependency on the "xprt->stream" variable. Compiler optimization removes unneeded code from xs_sendpages, as this function is now called with some constant arguments. We can now cleanly perform transport protocol-specific return code testing and error recovery in each path. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Examine oprofile results for any changes before and after this patch is applied. Version: Thu, 11 Aug 2005 16:08:46 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b0d93ad511ce2f37823a07c7a3258117a431f5fb tree a9fc753bf821d1d71c345f58e056511dfd0cf5ac parent c7b2cae8a634015b72941ba2fc6c4bc9b8d3a129 author Chuck Lever Thu, 11 Aug 2005 16:25:53 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:29 -0400 [PATCH] RPC: separate TCP and UDP transport connection logic Create separate connection worker functions for managing UDP and TCP transport sockets. This eliminates several dependencies on "xprt->stream". Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with v2, v3, and v4. Version: Thu, 11 Aug 2005 16:08:18 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c7b2cae8a634015b72941ba2fc6c4bc9b8d3a129 tree 95f561877d67eed80a823daa6ef0c00ad1c060eb parent 55aa4f58aa43dc9a51fb80010630d94b96053a2e author Chuck Lever Thu, 11 Aug 2005 16:25:50 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:28 -0400 [PATCH] RPC: separate TCP and UDP write space callbacks Split the socket write space callback function into a TCP version and UDP version, eliminating one dependence on the "xprt->stream" variable. Keep the common pieces of this path in xprt.c so other transports can use it too. Test-plan: Write-intensive workload on a single mount point. Version: Thu, 11 Aug 2005 16:07:51 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 55aa4f58aa43dc9a51fb80010630d94b96053a2e tree 7b3d79bdc15c76c25d8a53437b9e4173ebc68f24 parent 44fbac2288dfed6f1963ac00bf922c3bcd779cd1 author Chuck Lever Thu, 11 Aug 2005 16:25:47 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:26 -0400 [PATCH] RPC: client-side transport switch cleanup Clean-up: change some comments to reflect the realities of the new RPC transport switch mechanism. Get rid of unused xprt_receive() prototype. Also, organize function prototypes in xprt.h by usage and scope. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:07:21 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 44fbac2288dfed6f1963ac00bf922c3bcd779cd1 tree f256182f85b4fdf9185903d6f0531f877e311c8e parent 86b9f57dfdf455763d2be73a742a9a88bb664173 author Chuck Lever Thu, 11 Aug 2005 16:25:44 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:24 -0400 [PATCH] RPC: Add helper for waking tasks pending on a transport Clean-up: remove only reference to xprt->pending from the socket transport implementation. This makes a cleaner interface for other transport implementations as well. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:06:52 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 86b9f57dfdf455763d2be73a742a9a88bb664173 tree 4d153fb7e1452efcbfd170c8ce85f049257c558e parent 2226feb6bcd0e5e117a9be3ea3dd3ffc14f3e41e author Chuck Lever Thu, 11 Aug 2005 16:25:41 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:23 -0400 [PATCH] RPC: Eliminate socket.h includes in RPC client Clean-up: get rid of unnecessary socket.h and in.h includes in the generic parts of the RPC client. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:06:23 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 2226feb6bcd0e5e117a9be3ea3dd3ffc14f3e41e tree 5ae6bde4dd66da8932c23c780745c72cf38de722 parent 5dc07727f86b25851e95193a0c484ea21b531c47 author Chuck Lever Thu, 11 Aug 2005 16:25:38 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:21 -0400 [PATCH] RPC: rename the sockstate field Clean-up: get rid of a name reference to sockets in the generic parts of the RPC client by renaming the sockstate field in the rpc_xprt structure. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:53 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 5dc07727f86b25851e95193a0c484ea21b531c47 tree 813a8cb359fef51172ff67d9da8efdfc5fee4a83 parent 4a0f8c04f2ece949d54a0c4fd7490259cf23a58a author Chuck Lever Thu, 11 Aug 2005 16:25:35 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:19 -0400 [PATCH] RPC: Rename xprt_lock Clean-up: Replace the xprt_lock with something more aptly named. This lock single-threads the XID and request slot reservation process. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:26 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 4a0f8c04f2ece949d54a0c4fd7490259cf23a58a tree 6c6e142cfa37b984dcba6f785a4f886374a307c6 parent b4b5cc85ed4ecbe4adbfbc4df028850de67a9f09 author Chuck Lever Thu, 11 Aug 2005 16:25:32 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:17 -0400 [PATCH] RPC: Rename sock_lock Clean-up: replace a name reference to sockets in the generic parts of the RPC client by renaming sock_lock in the rpc_xprt structure. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:00 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b4b5cc85ed4ecbe4adbfbc4df028850de67a9f09 tree 41b4a8d22847f816e555ad5e4566b9c33dea5c0f parent 9903cd1c27a1f30e8efea75e125be3b2002f7cb9 author Chuck Lever Thu, 11 Aug 2005 16:25:29 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:16 -0400 [PATCH] RPC: Reduce stack utilization in xs_sendpages Reduce stack utilization of the RPC socket transport's send path. A couple of unlikely()s are added to ensure the compiler places the tail processing at the end of the csect. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Version: Thu, 11 Aug 2005 16:04:30 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9903cd1c27a1f30e8efea75e125be3b2002f7cb9 tree ad684d0ce47793f161839e2321f118206ef707f3 parent a246b0105bbd9a70a698f69baae2042996f2a0e9 author Chuck Lever Thu, 11 Aug 2005 16:25:26 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:14 -0400 [PATCH] RPC: transport switch function naming Introduce block header comments and a function naming convention to the socket transport implementation. Provide a debug setting for transports that is separate from RPCDBG_XPRT. Eliminate xprt_default_timeout(). Provide block comments for exposed interfaces in xprt.c, and eliminate the useless obvious comments. Convert printk's to dprintk's. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:04:04 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a246b0105bbd9a70a698f69baae2042996f2a0e9 tree 6c8831d8579a7fdc5201d3e9c20270cb1420eeda parent 094bb20b9fcab3a1652a77741caba6b78097d622 author Chuck Lever Thu, 11 Aug 2005 16:25:23 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:12 -0400 [PATCH] RPC: introduce client-side transport switch Move the bulk of client-side socket-specific code into a separate source file, net/sunrpc/xprtsock.c. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Destructive testing (unplugging the network temporarily, server reboots). Connectathon with v2, v3, and v4. Version: Thu, 11 Aug 2005 16:03:38 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 094bb20b9fcab3a1652a77741caba6b78097d622 tree 85347e557be116ed1fa8bbf63555fcb83920baf5 parent 602f83273c89fdd25f24757564d8001cf723e740 author Chuck Lever Thu, 11 Aug 2005 16:25:20 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:11 -0400 [PATCH] RPC: extract socket logic common to both client and server Clean-up: Move some code that is common to both RPC client- and server-side socket transports into its own source file, net/sunrpc/socklib.c. Test-plan: Compile kernel with CONFIG_NFS enabled. Millions of fsx operations over UDP, client and server. Connectathon over UDP. Version: Thu, 11 Aug 2005 16:03:09 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 602f83273c89fdd25f24757564d8001cf723e740 tree 5268f27e143907ca08d265fdbc49e9c5c89e914d parent eab5c084b858fd95a873fc2b97de9a9ad937b4ed author Chuck Lever Thu, 11 Aug 2005 16:25:17 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:08 -0400 [PATCH] RPC: portmapper doesn't need a reserved port The in-kernel portmapper does not require a reserved port for making bind queries. Test-plan: Tens of runs of the Connectathon locking suite with TCP and UDP against several other NFS server implementations using NFSv3, not NFSv4 (which doesn't require rpcbind). Version: Thu, 11 Aug 2005 16:02:43 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit eab5c084b858fd95a873fc2b97de9a9ad937b4ed tree 6ba8287570ecc83fed1512bd4901df979221c2ab parent da35187801732397a7e05fb9e77f3700cc35f5db author Chuck Lever Thu, 11 Aug 2005 16:25:14 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:06 -0400 [PATCH] NFS: use a constant value for TCP retransmit timeouts Implement a best practice: don't use exponential backoff when computing retransmit timeout values on TCP connections, but simply retransmit at regular intervals. This also fixes a bug introduced when xprt_reset_majortimeo() was added. Test-plan: Enable RPC debugging and watch timeout behavior on a NFS/TCP mount. Version: Thu, 11 Aug 2005 16:02:19 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit da35187801732397a7e05fb9e77f3700cc35f5db tree 61307975e36112fd85b98d0df824386e209a5049 parent 23475d66bd8600e0c5353f86c1b74f68df27bdb5 author Chuck Lever Thu, 11 Aug 2005 16:25:11 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:04 -0400 [PATCH] RPC: proper soft timeout behavior for rpcbind Implement a best practice: for soft mounts, an rpcbind timeout should cause an RPC request to fail. This also provides an FSM hook for retrying an rpcbind with a different rpcbind protocol version. We'll use this later to try multiple rpcbind protocol versions when binding. To enable this, expose the RPC error code returned during a portmap request to the FSM so it can make some decision about how to report, retry, or fail the request. Test-plan: Hundreds of passes with connectathon NFSv3 locking suite, on the client and server. Version: Thu, 11 Aug 2005 16:01:53 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 23475d66bd8600e0c5353f86c1b74f68df27bdb5 tree 040565dacc08e99a86e2dd716b348f74e12e08db parent 9aa48b7e270d13c8781414dce081a42cae20a80d author Chuck Lever Thu, 11 Aug 2005 16:25:08 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:03 -0400 [PATCH] RPC: Report connection errors properly when mounting with "soft" Fix up xprt_connect_status: the soft timeout logic was clobbering tk_status, so TCP connect errors were not properly reported on soft mounts. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Version: Thu, 11 Aug 2005 16:01:28 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9aa48b7e270d13c8781414dce081a42cae20a80d tree 788749de63303b280155cd84c5a47434f029d6e0 parent 449231d6ddf50ca46b7fb2f76ecf790135222913 author Trond Myklebust Thu, 25 Aug 2005 16:25:35 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:01 -0400 NFS: Don't expose internal READDIR errors to userspace Fixes a condition whereby the kernel is returning the non-POSIX error EBADCOOKIE to userspace. Signed-off-by: Trond Myklebust commit 449231d6ddf50ca46b7fb2f76ecf790135222913 tree 0c493d7f4fb68f1f639c56258bcd025d5b904fb0 parent 20509f1bc553ed7fafa88fa8d01c6212d1876d9f author Olaf Kirch Thu, 25 Aug 2005 16:25:35 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:37:59 -0400 From: Olaf Kirch [PATCH] Fix miscompare in __posix_lock_file If an application requests the same lock twice, the kernel should just leave the existing lock in place. Currently, it will install a second lock of the same type. Signed-off-by: Olaf Kirch Signed-off-by: Trond Myklebust commit 20509f1bc553ed7fafa88fa8d01c6212d1876d9f tree da10ad62009995269dc0733a254a0bc1f6293aa2 parent 12f44f46bc9c6dc79255e661b085797af395d8da author Trond Myklebust Thu, 25 Aug 2005 16:25:34 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:37:58 -0400 NFS: Drop inode after rename When doing a rename on top of an existing file that is not in use, the inode of the overwritten file will remain in the icache. The fix is to decrement i_nlink of the overwritten inode, like we do for unlink, rmdir etc already. Problem diagnosed by Olaf Kirch. This patch is a slight variation on his fix. Signed-off-by: Trond Myklebust commit acc4b985a6f8f22a0e826692894a4af234764001 tree 4615a3494ce14ed78d592599fd29605425b9c986 parent 48ca703807eba616ad5e384b40e27514bd341a3d author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:14 -0400 [PATCH] orinoco: Bump version to 0.15rc3. Signed-off-by: Pavel Roskin Bump version to 0.15rc3. Signed-off-by: Jeff Garzik commit 48ca703807eba616ad5e384b40e27514bd341a3d tree ca4a41c2a653ff89ff1e713109e9afe4978a12e6 parent d133ae4cd6a3c75c31b1630f906cc9979a11077f author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Read only needed data in __orinoco_ev_txexc(). Signed-off-by: Pavel Roskin Read only needed data in __orinoco_ev_txexc(). Don't read the 802.11 header beyond addr1. The rest of the frame is not used currently. Signed-off-by: Jeff Garzik commit d133ae4cd6a3c75c31b1630f906cc9979a11077f tree 4b292054c342e6e8c5b2594c62cbf3534eea1edf parent 393da59834eef526fc6fd0df321e94344d7c49e3 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Annotate endianess of variables and structure members. Signed-off-by: Pavel Roskin Annotate endianess of variables and structure members. Don't reuse variables for both host-endian and little-endian data. Minor comment changes in affected structures. Signed-off-by: Jeff Garzik commit 393da59834eef526fc6fd0df321e94344d7c49e3 tree bf4285c3f2064b56c2b188d4f24fe2b3d740290b parent 8aeabc375041a5fe9c9be315472497b2e0547eed author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Remove unneeded forward declarations. Signed-off-by: Pavel Roskin Remove unneeded forward declarations. Also reorder struct pcmcia_driver initialization to keep attach and detach together. Signed-off-by: Jeff Garzik commit 8aeabc375041a5fe9c9be315472497b2e0547eed tree 27f79b27bc015596395c03ecd9c6ae72964fb322 parent f3cb4cc120177090b0ccc9fb20a12010de39ac8a author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: orinoco_send_wevents() could return without unlocking. Signed-off-by: Pavel Roskin orinoco_send_wevents() could return without unlocking. Failure to read BSSID from the hardware would cause orinoco_send_wevents() to return with lock held. Found by sparse. Signed-off-by: Jeff Garzik commit f3cb4cc120177090b0ccc9fb20a12010de39ac8a tree 368c76f705f9512f5016288b607e3a0e4b36d54d parent 4c08202547111e503eca4031ae9443159a79e2b2 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Fix memory leak and unneeded unlock in orinoco_join_ap() Signed-off-by: Pavel Roskin Fix memory leak and unneeded unlock in orinoco_join_ap() If orinoco_lock() fails, the code would still run orinoco_unlock(), instead of freeing the allocated memory. Found by sparse. Signed-off-by: Jeff Garzik commit 4c08202547111e503eca4031ae9443159a79e2b2 tree 16e191f069d0d722a61cbab76ab77fa587162386 parent ef846bf04f4c9e1a68ab841e89931f8c26100874 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Make nortel_pci_hw_init() static. Signed-off-by: Pavel Roskin Make nortel_pci_hw_init() static. Found by sparse. Signed-off-by: Jeff Garzik commit ef846bf04f4c9e1a68ab841e89931f8c26100874 tree 20a1f3808166d65f98db97944870e20143c05067 parent da192bb50cc9a7fe7d95e048422d51777bad0bba author Pavel Roskin Fri, 23 Sep 2005 04:18:07 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Remove inneeded system includes. Signed-off-by: Pavel Roskin Remove inneeded system includes. Most system includes are not needed. In particular, the hardware backends don't need anything network related. Some includes have been moved from local headers to the C files where they are actually used. Includes that have to be in the local headers are no longer from the C sources. Signed-off-by: Jeff Garzik commit 3d8a66cc9ec475baaf22de139deff67ffe8e7cf2 tree c878bdc48eac5f9b9035664de93f5bb308579b58 parent 95b293800859886b602e31c8926a840530a82971 author Stephen Rothwell Fri, 23 Sep 2005 15:17:30 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 15:17:30 +1000 ppc64 iSeries: Don't create linux,boot-cpu This is obsolete. Signed-off-by: Stephen Rothwell commit 95b293800859886b602e31c8926a840530a82971 tree 7355f1986b4f41e09c91e354b4a59191de1e799b parent 47db360328582000a7a46390cfa385b8df07b44f author Michael Ellerman Fri, 23 Sep 2005 15:03:10 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 15:03:10 +1000 ppc64 iSeries: Define /cpus in iSeries device tree Add the /cpus node and nodes for each cpu, as well as cache size properties, reg propery, "linux,boot-cpu", and timebase/clock frequency. With those properties in place we can remove: - setup_iSeries_cache_sizes() - code in iSeries_setup_arch() to calculate timebase etc. - iSeries_calibrate_decr() - smp_iSeries_numProcs() and simplify smp_iSeries_probe() Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 47db360328582000a7a46390cfa385b8df07b44f tree b6f57ac073945c7630a881173006e51f3f42a88f parent 3ab42407fe0628c7880b21eff057566390865319 author Michael Ellerman Fri, 23 Sep 2005 15:01:49 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 15:01:49 +1000 ppc64 iSeries: Move setup of systemcfg->platform into iSeries device tree Add /chosen/linux,platform to the device tree so we can remove iSeries specific code in setup_system() to set systemcfg->platform. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 3ab42407fe0628c7880b21eff057566390865319 tree 2e5f9aa35cf7603a4298f2940d9ec53b588ca6b3 parent 4762713a93fa8706c31b0897c1340e7dc282d8fb author Michael Ellerman Fri, 23 Sep 2005 15:00:20 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 15:00:20 +1000 ppc64 iSeries: Move memory setup into iSeries device tree This patch adds the required nodes to the iSeries device tree to allow early_init_devtree() to do the lmb setup for us. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 4762713a93fa8706c31b0897c1340e7dc282d8fb tree 12c28b1b91fa691c17e9d33dcc7a391e7445a473 parent c0a59491daca7db11d49edad1a1cefaaa7120a9e author Michael Ellerman Fri, 23 Sep 2005 14:59:04 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:59:04 +1000 ppc64 iSeries: Call early_setup() on iSeries Misc steps to incorporate the flat device tree on iSeries. - define iseries_probe() - call build_iSeries_Memory_Map() earlier - return __pa() of the flat device tree from iSeries_early_setup() - actually call early_setup() for iSeries - add iseries_md to machdep_calls - build prom.o for iSeries - enable /proc/device-tree for iSeries Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit c0a59491daca7db11d49edad1a1cefaaa7120a9e tree ea7947639fd442a15f57962f4350998b3c2ccbb3 parent f6ab9c68406dfcd1fcd0a5352244fcb932b113b1 author Michael Ellerman Fri, 23 Sep 2005 14:56:09 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:56:09 +1000 ppc64 iSeries: Create a fake flat device tree on iSeries This patch adds infrastructure for creating a fake flattened device tree on iSeries. We also need to build prom.o for iSeries which means we'll always need it. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit f6ab9c68406dfcd1fcd0a5352244fcb932b113b1 tree 8a411992ed256859bfdca3a15b2335d0cbd065ee parent 7c6f947f2477f7c0017be1af458eb5e0b96b7f40 author Michael Ellerman Fri, 23 Sep 2005 14:54:37 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:54:37 +1000 ppc64 iSeries: Make smp_release_cpus() callable on iSeries We don't need to call smp_release_cpus() on iSeries but it's harmless if we do and it removes another #ifdef ISERIES. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 7c6f947f2477f7c0017be1af458eb5e0b96b7f40 tree abb7a4387a8b1ab531fa1746ddd88f9215bc8449 parent 4c55130b2aa93370f1bf52d2304394e91cf8ee39 author Michael Ellerman Fri, 23 Sep 2005 14:50:25 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:50:25 +1000 ppc64 iSeries: Make stab_initialize() work on iSeries We don't need to call stab_initialize() for the boot cpu on iSeries, so we hack around it so that early_setup() can be called on iSeries. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 4c55130b2aa93370f1bf52d2304394e91cf8ee39 tree 522c7f510775f221c4e8046bc238a618db4768df parent ba293fff085fde5b9f1b5a57c8abb1a8098d0c59 author Michael Ellerman Fri, 23 Sep 2005 14:47:58 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:47:58 +1000 ppc64 iSeries: Update create_pte_mapping to replace iSeries_bolt_kernel() early_setup() calls htab_initialize() which is similar, but not identical to iSeries_bolt_kernel(). On iSeries the Hypervisor has already inserted some ptes for us, and we simply have to detect that and bolt them. iSeries_hpte_bolt_or_insert() implements that logic. For the case of a non-existing pte we just call iSeries_hpte_insert(). This appears to work, although it's not entirely equivalent to the old code in iSeries_make_pte() which panicked if we got a secondary slot. Not sure if that's important. Finally we call iSeries_hpte_bolt_or_insert() from create_pte_mapping(), which is called from htab_initialize() for each lmb region. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit ba293fff085fde5b9f1b5a57c8abb1a8098d0c59 tree a5fdbb59380facc566adcfc3c4a2dea947324473 parent 9f497581fda5fd804e9ebd7d8f6d80c3a0e9f883 author Michael Ellerman Fri, 23 Sep 2005 14:43:22 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:43:22 +1000 ppc46 iSeries: Make some generic irq code compile for iSeries In order to call finish_device_tree() on iSeries we need to define virt_irq_create_mapping(). We also need to set ppc64_interrupt_controller to something other than zero. If we want to do interrupt setup via the device tree on iSeries this code will need some serious work, but it's harmless to have it there as long as the nodes in the iSeries device tree don't cause it to be invoked. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 9f497581fda5fd804e9ebd7d8f6d80c3a0e9f883 tree 3a766e7140be8fa99a75e9384ccee64d66b82993 parent e903c5b536895fdf69970df62c5bf49ad17e6533 author Michael Ellerman Fri, 23 Sep 2005 14:10:59 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:10:59 +1000 ppc64 iSeries: Move iSeries ppc_md functions into a machdep_calls struct Move the iSeries machine specific calls into a machdep_calls struct like other platforms, rather than setting members of ppc_md explicitly. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 70ca734a14366b634224a1e4586d43b36b65ab67 tree bad9c511f846baebc18d0f5190bbe5fde5ae0dd1 parent 2096243885ee34b78cb57ce835e07c8536a67d2a author Steve French Thu, 22 Sep 2005 16:32:06 -0700 committer Steve French Thu, 22 Sep 2005 16:32:06 -0700 [CIFS] Various minor bigendian fixes and sparse level 2 warning message fixes Most important of these fixes mapchars on bigendian and a few statfs fields Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com) commit da192bb50cc9a7fe7d95e048422d51777bad0bba tree 560986cb68a747de281f82ca605c7125ccc65c1c parent af9288a707b609cdb1069cfe5bde0d6567c12c31 parent 3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da author Jeff Garzik Thu, 22 Sep 2005 15:43:14 -0400 committer Jeff Garzik Thu, 22 Sep 2005 15:43:14 -0400 Merge /spare/repo/linux-2.6/ commit af9288a707b609cdb1069cfe5bde0d6567c12c31 tree 32ee8fee982736729524f34ece457449ab1356d3 parent 6eb6edf04acd09e3cea09456913e8da59323b89e author James Ketrenos Thu, 22 Sep 2005 15:43:07 -0400 committer Jeff Garzik Thu, 22 Sep 2005 15:43:07 -0400 ieee80211: update orinoco, wl3501 drivers for latest struct naming commit 6eb6edf04acd09e3cea09456913e8da59323b89e tree 7cf648aba7823b1b7cc9419f682a2dca60cc2e82 parent e5658d3e8a347f4393a9403b0cec8d43fa6214b1 author James Ketrenos Thu, 22 Sep 2005 10:34:15 +0000 committer Jeff Garzik Thu, 22 Sep 2005 15:40:59 -0400 [PATCH] ieee80211: in-tree driver updates to sync with latest ieee80211 series Changed crypto method from requiring a struct ieee80211_device reference to the init handler. Instead we now have a get/set flags method for each crypto component. Setting of TKIP countermeasures can now be done via set_flags(IEEE80211_CRYPTO_TKIP_COUNTERMEASURES) Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit e5658d3e8a347f4393a9403b0cec8d43fa6214b1 tree ae957738fa0a95a656e26b8ea48728b6c4267604 parent 31b59eaee8f8ec29d8cb6ac0c8eed086689d8030 author James Ketrenos Wed, 21 Sep 2005 11:58:56 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: added IE comments, reason_code to reason, removed info_element from ieee80211_disassoc tree 0254e7c97cece038cd11b47a16027c6379e464fe parent a84f7713dc87ca1b51c6d53b391087663425a080 author James Ketrenos 1126661324 -0500 committer James Ketrenos 1127319069 -0500 Updated based on Michael Wu's patch and comments sent to netdev. Added IE comments to ieee80211_* frame structures. Changed reason_code to reason (consistency) Removed info_element from ieee80211_disassoc Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 31b59eaee8f8ec29d8cb6ac0c8eed086689d8030 tree 5ab119a07e98aaf623dc8ce6f04f7b3403b6b971 parent 31696160c7415b5a7efa650c7f1ca5c9623f5d8f author James Ketrenos Wed, 21 Sep 2005 11:58:49 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: Added handle_deauth() callback, enhanced tkip/ccmp support of varying hw/sw offload tree de81b55e78e85997642c651ea677078d0554a14f parent c8030da8c159f8b82712172a6748a42523aea83a author James Ketrenos 1127104380 -0500 committer James Ketrenos 1127315225 -0500 Added handle_deauth() callback. Enhanced crypt_{tkip,ccmp} to support varying splits of HW/SW offload. Changed channel freq to u32 from u16. Signed-off-by: Jeff Garzik commit 31696160c7415b5a7efa650c7f1ca5c9623f5d8f tree 1f82e3a1e477374c78240ec2e95cece4859d9e81 parent 8a4ae7f2e24bf99b61082ca45de8e54e70300b9d author James Ketrenos Wed, 21 Sep 2005 11:58:46 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: Added subsystem version string and reporting via MODULE_VERSION tree c1b50ac5d2d1f9b727c39c6bd86a7872f25a1127 parent 1bb997a3ac7dd1941e02426d2f70bd28993a82b7 author James Ketrenos 1126720779 -0500 committer James Ketrenos 1127314674 -0500 Added subsystem version string and reporting via MODULE_VERSION and pritnk during load. NOTE: This is the version support split out from patch 24/29 of the prior series. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit b671ad2befe37131af380183760862d5cbad858d tree c6c27d4adf742f360e5056f435601254f050781d parent fa2ac7a25f1b11c4a695c9288339d0476ecfaf38 author Kumar Gala Wed, 21 Sep 2005 16:52:55 -0500 committer Paul Mackerras Thu, 22 Sep 2005 21:03:34 +1000 [PATCH] powerpc: merged hw_irq.h Merged hw_irq.h between ppc32 & ppc64. Added support to use the Book-E wrtee[i] instructions that allow modifying MSR[EE] atomically. Additionally, added get_irq_desc() macros to ppc32 to allow mask_irq(), unmask_irq(), and ack_irq() to be common between ppc32 & ppc64. Note: because 64-bit Book-E implementations only have a 32-bit MSR the macro's for Book-E need to come before the PPC64 macro's to ensure the right thing happends for 64-bit Book-E processors. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit fa2ac7a25f1b11c4a695c9288339d0476ecfaf38 tree 17fa8141c7601ea8e7281cd54fd7a41ae35f7d85 parent b8f114db84dac709080198e08a5564976afd6579 author Kumar Gala Wed, 21 Sep 2005 15:44:11 -0500 committer Paul Mackerras Thu, 22 Sep 2005 21:03:34 +1000 [PATCH] powerpc: Fix compiling of ppc32 The merging of auxvec.h into asm-powerpc introduced the AT_SYSINFO_EHDR into the ppc32 build that is used for VDSO. However, we dont have VDSO support in the ppc32 tree at this time. Introducing this define causes a number of other things to get built with the assumption of VDSO, thus causing the compile errors for ppc32. Until we have VDSO on ppc32 we will leave AT_SYSINFO_EHDR a ppc64 only define. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit b8f114db84dac709080198e08a5564976afd6579 tree 6680ab0ae0d189ea5b4ec729bfedb352e859d412 parent e903c5b536895fdf69970df62c5bf49ad17e6533 author Jon Loeliger Wed, 21 Sep 2005 14:54:51 -0500 committer Paul Mackerras Thu, 22 Sep 2005 21:03:33 +1000 [PATCH] powerpc: Merge asm-ppc*/dma.h This merges the asm-ppc*/dma.h files. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 2096243885ee34b78cb57ce835e07c8536a67d2a tree caae2d2535d33cca16f11da9a2d25e445bd30018 parent e30dcf3a1905b4d2154f95db5fdfdf69691b4f0e author Steve French Wed, 21 Sep 2005 22:05:57 -0700 committer Steve French Wed, 21 Sep 2005 22:05:57 -0700 [CIFS] Add support for legacy servers part nine. statfs (df and du) is now functional, and the length check is fixed so readdir does not throw a warning message when windows me messes up the response to FindFirst of an empty dir (with only . and ..). Signed-off-by: Steve French (sfrench@us.ibm.com) commit 8a4ae7f2e24bf99b61082ca45de8e54e70300b9d tree 560df923cbd6dcee66352e1d55c8b170ebd57b36 parent 9a01c16bd49071b2e7904d222cae71d5f8bf6bb5 author Manfred Spraul Wed, 21 Sep 2005 23:22:10 -0400 committer Jeff Garzik Wed, 21 Sep 2005 23:22:10 -0400 forcedeth: add hardware tx checksumming Recent forcedeth nics support checksum offloading for tx. The attached patch, written by Ayaz Abdulla, adds the support to the driver. It also cleans up the handling of the three dma ring entry formats that are supported by the driver. Signed-off-By: Manfred Spraul Signed-off-By: Jeff Garzik commit 9a01c16bd49071b2e7904d222cae71d5f8bf6bb5 tree 6f1235f312251cccbb7f7d28f1e9c3f7fae0d0a2 parent 5bfc819b53ed67c76f33f969ab627070e85d87c1 author James Ketrenos Wed, 21 Sep 2005 14:33:32 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:19:09 -0400 [PATCH] ieee82011: Remove WIRELESS_EXT ifdefs Remove old WIRELESS_EXT version compatibility In-tree doesn't need to maintain backward compatibility. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 5bfc819b53ed67c76f33f969ab627070e85d87c1 tree a50aa1fd2c5cd51d934883b4f7cf559157c8f592 parent d041674d62e1ad565f2fb6d53ae80b31d6656033 author James Ketrenos Wed, 21 Sep 2005 12:23:51 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:07:15 -0400 [PATCH] ieee80211: Updated hostap to be compatible with extra_prefix_len changes tree 8c1676c8a15c08e6d4c718fc7cd42d9bf4cd8235 parent 0ccc3dd6469ed492578c184f47dde2baccde3593 author James Ketrenos 1126715240 -0500 committer James Ketrenos 1127316717 -0500 Updated hostap to be compatible with extra_prefix_len changes. Accomplished via: for i in hostap_ap.c hostap_80211_tx.c; do sed -i -e "s:\([.>]\)extra_prefix_len:\1extra_mpdu_prefix_len:g" \ -e "s:\([.>]\)extra_postfix_len:\1extra_mpdu_postfix_len:g" \ drivers/net/wireless/hostap/$i done CC: Jouni Malinen Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit d041674d62e1ad565f2fb6d53ae80b31d6656033 tree fe63cb09606c2c23485092bac7298c85677fea92 parent ebeaddcc02fd47d1dbb7f25318d046461d90e4af author James Ketrenos Wed, 21 Sep 2005 12:23:49 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:07:15 -0400 [PATCH] ieee80211: Updated hostap to be compatible with ieee80211_hdr changes tree 8ec97d9056ceaf0f845ed51175dd842b700baadd parent 329128457008ace3110c96971addf85a767dd5af author James Ketrenos 1126714484 -0500 committer James Ketrenos 1127316636 -0500 Updated hostap to be compatible with ieee80211_hdr changes. Change accomplished via: for i in hostap_ap.{c,h} hostap_80211_{t,r}x.c; do sed -i -e "s:ieee80211_hdr\([^_]\):ieee80211_hdr_4addr\1:g" \ drivers/net/wireless/hostap/$i done CC: Jouni Malinen Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ebeaddcc02fd47d1dbb7f25318d046461d90e4af tree f623693884cb482dcbf3c5e3974442ddd31ca6de parent 7dc888fefc053996354ca40602159e0ce5669f86 author James Ketrenos Wed, 21 Sep 2005 11:58:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:58 -0400 [PATCH] ieee80211: Updated copyright dates tree 0d3e41e574fcb41b9da7f0b7e1d27ec350726654 parent dbe2885fe2f454d538eaaabefc741ded1026f476 author James Ketrenos 1126720499 -0500 committer James Ketrenos 1127314531 -0500 Updated copyright dates. NOTE: This is a split out of just the copyright updates from patch 24/29 in the prior series. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 7dc888fefc053996354ca40602159e0ce5669f86 tree a92b0c4d487649958d908fbd2ce60425ca5ac8e8 parent ccd0fda3a6d9186d067893114f65b8df758d5a1f author James Ketrenos Wed, 21 Sep 2005 11:58:38 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Keep auth mode unchanged after iwconfig key off/on cycle tree 2e6f6e7dc4f4eeb8e3dc265020016dd53e40578a parent ba2075794a089430b3dd7c90ff46ce1b67e9c7cc author Zhu Yi 1125551043 +0800 committer James Ketrenos 1127314475 -0500 [Bug 768] Keep auth mode unchanged after iwconfig key off/on cycle. Signed-off-by: Zhu Yi Signed-off-by: Jeff Garzik commit ccd0fda3a6d9186d067893114f65b8df758d5a1f tree 2a6301d4762851c7253a21b50e10818cc1bab5b3 parent 42c94e43be27f8b9be9b5be491bae8af05e54dbd author James Ketrenos Wed, 21 Sep 2005 11:58:32 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Mixed PTK/GTK CCMP/TKIP support tree 5c7559a1216ae1121487f6aed94a6017490729b3 parent c1ff4c22e5622c8987bf96c09158c4924cde98c2 author Hong Liu 1125482767 +0800 committer James Ketrenos 1127314427 -0500 Mixed PTK/GTK CCMP/TKIP support. Signed-off-by: Hong Liu Signed-off-by: Jeff Garzik commit 42c94e43be27f8b9be9b5be491bae8af05e54dbd tree 83ec8abd98a18e1539c6b99979f11b5d6c3341bc parent 9ba7e0d1579485ce231594651b39c169029f5d67 author James Ketrenos Wed, 21 Sep 2005 11:58:29 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Type-o, capbility definition for QoS, and ERP parsing tree 3ac0dd07b9972dfd68fee47ec2152d3d378de000 parent 9ada1d971d9829c34a14d98840080b7e69fdff6b author Mohamed Abbad 1126054379 -0500 committer James Ketrenos 1127314340 -0500 Type-o, capbility definition for QoS, and ERP parsing Added WLAN_CAPABILITY_QOS Fixed type-o WLAN_CAPABILITY_OSSS_OFDM -> WLAN_CAPABILITY_DSSS_OFDM Added ERP IE parsing to ieee80211_rx Added handle_probe_request callback. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9ba7e0d1579485ce231594651b39c169029f5d67 tree a00b1757d7a2d548b0e3cd13589aaadeb88d1d3c parent cdcfc210820b8e043cb606eddc145906185c6743 author James Ketrenos Wed, 21 Sep 2005 11:58:24 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: "extern inline" to "static inline" tree bce04549ce0a8239d8083d8da5c3d12f7e1aecd9 parent b15a5153d5f1c75d9435d5ce19b52287059d5d54 author Adrian Bunk 1125026386 -0500 committer James Ketrenos 1127313953 -0500 "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit cdcfc210820b8e043cb606eddc145906185c6743 tree 96765d7169945c83d8ace4db8d5bde187ec2d812 parent 3905ec4561b7b049e9c2e27311d072c356dbdee2 author James Ketrenos Wed, 21 Sep 2005 11:56:49 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Additional fixes for endian-aware types tree 589bbb92ce7cdf7c2ae820b0ebd3f8fbf1baeee9 parent c6ce9081e79e8836a11e86e3d38297521a2420be author Jiri Benc 1125015310 -0400 committer James Ketrenos 1127313914 -0500 Additional fixes for endian-aware types Based on the application of __le16/__be16 changes already made w/ a prior patch by Michael Wu Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3905ec4561b7b049e9c2e27311d072c356dbdee2 tree 81a34fc3ce8f5bf8aa937023e23f90c7e2ed6760 parent 02cda6ae01814f58422c45259fb48136fbd7bcc1 author James Ketrenos Wed, 21 Sep 2005 11:56:42 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Added ieee80211_radiotap.h tree 383c59b2516a61f2683f02dfebbed0caf6ee5dc3 parent a04948f63fd96c4b875a43f78afad1a0874cc441 author Mike Kershaw 1124447833 -0500 committer James Ketrenos 1127313883 -0500 Added ieee80211_radiotap.h to enhance statistic reporting to user space from wireless drivers. Signed-off-by: Mike Kershaw Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 02cda6ae01814f58422c45259fb48136fbd7bcc1 tree 3efdd946b19928c4dbe039f68ee1cfc65fe57355 parent 9e8571affd1c54b9638b4ff9844e47aae07310f6 author James Ketrenos Wed, 21 Sep 2005 11:56:38 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Added ieee80211_geo to provide helper functions tree 385b391fc0d7c124cd0547fdb6183e9a0c333391 parent 97d7a47f76e72bedde7f402785559ed4c7a8e8e8 author James Ketrenos 1124447590 -0500 committer James Ketrenos 1127313735 -0500 Added ieee80211_geo to provide helper functions to drivers for implementing supported channel maps. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9e8571affd1c54b9638b4ff9844e47aae07310f6 tree f6e568913c2d8aa1bf6bfedb3d90a78f2ade747b parent 2c0aa2a5c2dfa1293ae3a07517d0b7de149358a1 author James Ketrenos Wed, 21 Sep 2005 11:56:33 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:54 -0400 [PATCH] ieee80211: Add QoS (WME) support to the ieee80211 subsystem tree a3ad796273e98036eb0e9fc063225070fa24508a parent 1b9c0aeb377abf8e4a43a86cff42382f74ca0259 author Mohamed Abbas 1124447069 -0500 committer James Ketrenos 1127313435 -0500 Add QoS (WME) support to the ieee80211 subsystem. NOTE: This requires drivers that use the ieee80211 hard_start_xmit (ipw2100 and ipw2200) to add the priority parameter to their callback. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 2c0aa2a5c2dfa1293ae3a07517d0b7de149358a1 tree a9f949b6dc6a5e68086c06dfeb459a14608227a3 parent 1264fc0498e1e20f97b1ab690e523e7a7fc50eab author James Ketrenos Wed, 21 Sep 2005 11:56:27 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:54 -0400 [PATCH] ieee80211: Return NETDEV_TX_BUSY when QoS buffer full tree ba6509c7cd1dd4244a2f285f2da5d632e7ffbb25 parent 7b5f9f2ddcabdaea214527a895e6e8445cafdd80 author James Ketrenos 1124447000 -0500 committer James Ketrenos 1127313383 -0500 Per the conversations with folks at OLS, the QoS layer in 802.11 drivers can now result in NETDEV_TX_BUSY being returned when the queue a packet is targetted for is full. To implement this, ieee80211_xmit will now call the driver's is_queue_full to determine if the current priority queue is full. If so, NETDEV_TX_BUSY is returned to the kernel and no processing is done on the frame. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 1264fc0498e1e20f97b1ab690e523e7a7fc50eab tree 000b8528685f3ca250d0581df88abef03417941d parent 3f552bbf8614d2d26f488ca0d3e188bdec484bf4 author James Ketrenos Wed, 21 Sep 2005 11:54:53 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:31 -0400 [PATCH] ieee80211: Fix TKIP, repeated fragmentation problem, and payload_size reporting tree 8428e9f510e6ad6c77baec89cb57374842abf733 parent d78bfd3ddae9c422dd350159110f9c4d7cfc50de author Liu Hong 1124446520 -0500 committer James Ketrenos 1127313183 -0500 Fix TKIP, repeated fragmentation problem, and payload_size reporting 1. TKIP encryption Originally, TKIP encryption issues msdu + mpdu encryption on every fragment. Change the behavior to msdu encryption on the whole packet, then mpdu encryption on every fragment. 2. Avoid repeated fragmentation when !host_encrypt. We only need do fragmentation when using host encryption. Otherwise we only need pass the whole packet to driver, letting driver do the fragmentation. 3. change the txb->payload_size to correct value FW will use this value to determine whether to do fragmentation. If we pass the wrong value, fw may cut on the wrong bound which will make decryption fail when we do host encryption. NOTE: This requires changing drivers (hostap) that have extra_prefix_len used within them (structure member name change). Signed-off-by: Hong Liu Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3f552bbf8614d2d26f488ca0d3e188bdec484bf4 tree 9721d4dc2d53579d7c324fa0b98eddc964149ab4 parent 3cdd00c5827621cd0b1bb0665aa62ef9a724297d author James Ketrenos Wed, 21 Sep 2005 11:54:47 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:31 -0400 [PATCH] ieee82011: Added ieee80211_tx_frame to convert generic 802.11 data frames, and callbacks tree 40adc78b623ae70d56074934ec6334eb4f0ae6a5 parent db43d847bcebaa3df6414e26d0008eb21690e8cf author James Ketrenos 1124445938 -0500 committer James Ketrenos 1127313102 -0500 Added ieee80211_tx_frame to convert generic 802.11 data frames into txbs for transmission. Added several purpose specific callbacks (handle_assoc, handle_auth, etc.) which the driver can register with for being notified on reception of variouf frame elements. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3cdd00c5827621cd0b1bb0665aa62ef9a724297d tree 03d3a7cfa9fb645b052bac748c5398430ab2c9ca parent ee34af37c095482b9dba254b9cd7cb5e65e9a25e author James Ketrenos Wed, 21 Sep 2005 11:54:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee80211: adds support for the creation of RTS packets tree b45c9c1017fd23216bfbe71e441aed9aa297fc84 parent 04aacdd71e904656a304d923bdcf57ad3bd2b254 author Ivo van Doorn 1124445405 -0500 committer James Ketrenos 1127313029 -0500 This patch adds support for the creation of RTS packets when the config flag CFG_IEEE80211_RTS has been set. Signed-Off-By: Ivo van Doorn Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ee34af37c095482b9dba254b9cd7cb5e65e9a25e tree eed75aee11663053e658d839fb91bc8dfae56ecb parent e0d369d1d969fc9e4fd08a20f6dad04d369aceea author James Ketrenos Wed, 21 Sep 2005 11:54:36 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee80211: Renamed ieee80211_hdr to ieee80211_hdr_3addr tree e9c18b2c8e5ad446a4d213243c2dcf9fd1652a7b parent 4e97ad6ae7084a4f741e94e76c41c68bc7c5a76a author James Ketrenos 1124444315 -0500 committer James Ketrenos 1127312922 -0500 Renamed ieee80211_hdr to ieee80211_hdr_3addr and modified ieee80211_hdr to just contain the frame_ctrl and duration_id. Changed uses of ieee80211_hdr to ieee80211_hdr_4addr or ieee80211_hdr_3addr based on what was expected for that portion of code. NOTE: This requires changes to ipw2100, ipw2200, hostap, and atmel drivers. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit e0d369d1d969fc9e4fd08a20f6dad04d369aceea tree 9ce4d6a3938960b35c3d7c7b3da4bb546f8b1d95 parent 259bf1fd8a7cc0f6b47fd8a9ac5e2dfc33182a3d author James Ketrenos Wed, 21 Sep 2005 11:54:30 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee82011: Added WE-18 support to default wireless extension handler tree 1536f39c18756698d033da72c49300a561be1289 parent 07172d7c9f10ee3d05d6f6489ba6d6ee2628da06 author Liu Hong 1124436225 -0500 committer James Ketrenos 1127312664 -0500 Added WE-18 support to default wireless extension handler in ieee80211 subsystem. Updated patch since last send to account for ieee80211_device parameter being added to the crypto init method. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 259bf1fd8a7cc0f6b47fd8a9ac5e2dfc33182a3d tree 6c59c778280f899929c3d09c7f5564d80da830c2 parent 0ad0c3c64484b1458b51167bd3e614d8d9d070f8 author James Ketrenos Wed, 21 Sep 2005 11:54:22 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Allow drivers to fix an issue when using wpa_supplicant with WEP tree 898fedef6ca1b5b58b8bdf7e6d8894a78bbde4cd parent 8720fff53090ae428d2159332b6f4b2749dea10f author Zhu Yi 1124435746 -0500 committer James Ketrenos 1127312509 -0500 Allow drivers to fix an issue when using wpa_supplicant with WEP. The problem is introduced by the hwcrypto patch. We changed indicator of the encryption request from the upper layer (i.e. wpa_supplicant): In the original host based crypto the driver could use: crypt && crypt->ops. In the new hardware based crypto, the driver should use the flags specified in ieee->sec.encrypt. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 0ad0c3c64484b1458b51167bd3e614d8d9d070f8 tree 4ff20e24d22523603c51d9cd876ae0e5b1714531 parent 42e349fd10d471d9ae6955a7f12523291c0193e6 author James Ketrenos Wed, 21 Sep 2005 11:54:15 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fix kernel Oops when module unload tree b69e983266840983183a00f5ac02c66d5270ca47 parent cdd6372949b76694622ed74fe36e1dd17a92eb71 author Zhu Yi 1124435425 -0500 committer James Ketrenos 1127312421 -0500 Fix kernel Oops when module unload. Export a new function ieee80211_crypt_quiescing from ieee80211. Device drivers call it to make the host crypto stack enter the quiescence state, which means "process existing requests, but don't accept new ones". This is usually called during a driver's host crypto data structure free (module unload) path. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 42e349fd10d471d9ae6955a7f12523291c0193e6 tree 9c7ce6a08a8b237b3fb9c53b7ad506d0343f0a02 parent f1bf6638af9e9bbbb6fb0b769054fb7db1ae652f author James Ketrenos Wed, 21 Sep 2005 11:54:07 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fix time calculation, switching to use jiffies_to_msecs tree b9cdd7058b787807655ea6f125e2adbf8d26c863 parent 85d9b2bddfcf3ed2eb4d061947c25c6a832891ab author Zhu Yi 1124435212 -0500 committer James Ketrenos 1127312152 -0500 Fix time calculation, switching to use jiffies_to_msecs. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit f1bf6638af9e9bbbb6fb0b769054fb7db1ae652f tree 5cf2dca63f88c1709ae8ee9d913c7f819bfc6ce8 parent 20d64713ae71c0b0aa06084acbef2244021baaca author James Ketrenos Wed, 21 Sep 2005 11:53:54 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Hardware crypto and fragmentation offload support tree 5322d496af90d03ffbec27292dc1a6268a746ede parent 6c9364386ccb786e4a84427ab3ad712f0b7b8904 author James Ketrenos 1124432367 -0500 committer James Ketrenos 1127311810 -0500 Hardware crypto and fragmentation offload support added (Zhu Yi) Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 20d64713ae71c0b0aa06084acbef2244021baaca tree f9af562b0bc70f7f75d0195aacf155fd3ec6628a parent 4ca5253d573d7b3785dbb2f123f948fdca6ee235 author James Ketrenos Wed, 21 Sep 2005 11:53:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fixed a kernel oops on module unload tree 367069f24fc38b4aa910e86ff40094d2078d8aa7 parent a33a1982012e9070736e3717231714dc9892303b author James Ketrenos 1124430800 -0500 committer James Ketrenos 1127310571 -0500 Fixed a kernel oops on module unload by adding spin lock protection to ieee80211's crypt handlers (thanks to Zhu Yi) Modified scan result logic to report WPA and RSN IEs if set (vs.being based on wpa_enabled) Added ieee80211_device as the first parameter to the crypt init() method. TKIP modified to use that structure for determining whether to countermeasures are active. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 4ca5253d573d7b3785dbb2f123f948fdca6ee235 tree 51092301c2553b9c977cbb6d77e272750ccfd068 parent c8d42d1ae4518091a20f7212b0591a0f4b0e8ca0 author James Ketrenos Wed, 21 Sep 2005 12:23:46 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:58 -0400 [PATCH] ieee80211: Updated atmel to be compatible with ieee80211_hdr changes tree d7be83000b058b14450d76f99c432b1fb2a1c177 parent 322201093e03830fceedfc24931420b1ea855a8c author James Ketrenos 1127316330 -0500 committer James Ketrenos 1127316330 -0500 Updated atmel to be compatible with ieee80211_hdr changes. Change accomplished via: sed -i -e "s:ieee80211_hdr\([^_]\):ieee80211_hdr_4addr\1:g" \ drivers/net/wireless/atmel.c Compile tested only. CC: simon@thekelleys.org.uk Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit c8d42d1ae4518091a20f7212b0591a0f4b0e8ca0 tree c79676c91d5f8fc12b7ef54625e1bcff8bdab14f parent 0dacca1f0a53938dd7d5ba35c692bd1a3356d504 author James Ketrenos Wed, 21 Sep 2005 12:23:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2200 to be compatible with ieee80211's hard_start_xmit change. tree 713b6ff3311decfe42d5209f7b2508736d144b85 parent 6465beff0e89779330450dffc2a5e6dc5154eebf author James Ketrenos 1126716726 -0500 committer James Ketrenos 1127316162 -0500 Updated ipw2200 to be compatible with ieee80211's hard_start_xmit change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 0dacca1f0a53938dd7d5ba35c692bd1a3356d504 tree 1c3e6ddedd1032ef26a4e0f45e8d3b1fa3fd8d96 parent 3a5becf720d6346ffca2d6be6473f603b39322a2 author James Ketrenos Wed, 21 Sep 2005 12:23:41 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2200 to be compatible with ieee80211_hdr changes tree 9f86c7b4f59249c05c96c360dfaa817995e8a44f parent 9b09701b2c6254f2fddb009004a14eb5a908714f author James Ketrenos 1126714305 -0500 committer James Ketrenos 1127316074 -0500 Updated ipw2200 to be compatible with ieee80211_hdr changes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3a5becf720d6346ffca2d6be6473f603b39322a2 tree 0084320b04b04b2d61e4630505803104251205a6 parent 99a4b232b6682a847c70d877e4a3c15e9138c8f6 author James Ketrenos Wed, 21 Sep 2005 12:23:37 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2100 to be compatible with ieee80211's hard_start_xmit change tree ee48cbe413b795d6be454b9baf4f3bd3d74814cb parent 49856b147763bd6847e0d8f53aee1ddd61385638 author James Ketrenos 1126716634 -0500 committer James Ketrenos 1127316024 -0500 Updated ipw2100 to be compatible with ieee80211's hard_start_xmit change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 99a4b232b6682a847c70d877e4a3c15e9138c8f6 tree 7dacb727771de8dc9318beb81752f3c5f22adab2 parent a3536c839f04682ed06c84a7f75968c27c6108c8 author James Ketrenos Wed, 21 Sep 2005 12:23:25 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2100 to be compatible with ieee80211_hdr changes tree 992b203395c50342f1cced415acae6177344e270 parent c59bb604a2ff4e40232ff0422e7adc44e3b007a0 author James Ketrenos 1126714006 -0500 committer James Ketrenos 1127315910 -0500 Updated ipw2100 to be compatible with ieee80211_hdr changes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit a3536c839f04682ed06c84a7f75968c27c6108c8 tree 92c26ea74c0ffb9b83a2285ad2539cc271b09856 parent a33a1982012e9070736e3717231714dc9892303b parent efb0372bbaf5b829ff8c39db372779928af542a7 author Jeff Garzik Wed, 21 Sep 2005 22:34:08 -0400 committer Jeff Garzik Wed, 21 Sep 2005 22:34:08 -0400 Merge /spare/repo/linux-2.6/ commit e903c5b536895fdf69970df62c5bf49ad17e6533 tree c3020645465b9438adc886f5f01dfcef31b79e72 parent 8a4a10ae996b67c622b9f3f6a4dfea5de4500a11 author Kumar Gala Tue, 20 Sep 2005 16:49:51 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:10 +1000 [PATCH] powerpc: merge include/asm-ppc*/statfs.h into include/asm-powerpc/statfs.h Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 8a4a10ae996b67c622b9f3f6a4dfea5de4500a11 tree f445a61123773d582f2b3c6699483e58db1d9a71 parent 3f58542f476f9a77d5c59b62165e67290d7f55ed author Kumar Gala Tue, 20 Sep 2005 16:33:54 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: merge include/asm-ppc*/spinlock_types.h into include/asm-powerpc/spinlock_types.h Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 3f58542f476f9a77d5c59b62165e67290d7f55ed tree ca00e3030db63229d9ab9a2ab33aa3eef28c7ccc parent 8b22cc010599075806b84cfe2955ab87ab07172c author Kumar Gala Tue, 20 Sep 2005 15:45:26 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: merge include/asm-ppc*/auxvec.h into include/asm-powerpc/auxvec.h Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 8b22cc010599075806b84cfe2955ab87ab07172c tree 56fa6fdd104f5b85f2cac63092149eca248a56e1 parent a99eb2ef452ce685e40a433ceb187276ba0871f4 author linuxppc@jdl.com Tue, 20 Sep 2005 14:32:37 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: Merge asm-ppc*/vga.h Merge asm-ppc*/vga.h Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit a99eb2ef452ce685e40a433ceb187276ba0871f4 tree 7226783dea8be9aa14f6b8dde330ac0dc3ba7ab5 parent 25433b123ce1a3da78ddd9b848484bca91cbb7a1 author Becky Bruce Mon, 19 Sep 2005 19:17:27 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: Merge elf.h ppc/ppc64: Merge elf.h into include/asm-powerpc Merge elf.h into a single include file for 32 and 64-bit ppc platforms. This patch has been tested on 32-bit and built on 64-bit platforms. Signed-off-by: Kumar Gala Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit 25433b123ce1a3da78ddd9b848484bca91cbb7a1 tree 259ee758b3770894160dd8a732fddd4067ea8699 parent 3e57615bb5a8b6208627049884ee441f6d05905e author Becky Bruce Mon, 19 Sep 2005 17:01:54 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: Merge bug.h ppc32/ppc64: Merge bug.h into include/asm-powerpc This patch merges bug.h into include/asm-powerpc. Changed the data structure for bug_entry such that line is always an int on both 32 and 64-bit platforms; removed casts to int from the 64-bit trap code to reflect this. Signed-off-by: Kumar Gala Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit 3e57615bb5a8b6208627049884ee441f6d05905e tree ce59d350bcb9e9fa6469b3bdefc7f25b3897bfa3 parent c7aeffc4d38f0573b05bf5ebd2f037997ec9d075 author linuxppc@jdl.com Mon, 19 Sep 2005 09:32:07 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: Revised merge asm-ppc*/hardirq.h This is a revised patch to merge asm-ppc*/hardirq.h. It removes some unnecessary #includes, but then requires the addition of #include in PPC32's hw_irq.h much like ppc64 already does. Furthermore, several unnecessary #includes were removed from some ppc32 boards in order to break resulting bad #include cycles. Builds pSeries_defconfig and all ppc32 platforms except the already b0rken bseip. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit c7aeffc4d38f0573b05bf5ebd2f037997ec9d075 tree c70f8882c04e5ffdf041a71751a0703472606bb9 parent 82cd02c16be99cba6a97d38488aee8807580a202 author Kumar Gala Mon, 19 Sep 2005 09:30:27 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: unified signature of timer_interrupt() between ppc32/ppc64 On ppc64 timer_interrupt() returned a value that was never used. Changed the ppc64 version of timer_interrupt() to no longer return a value so that the signatures between ppc32 & ppc64 match. This will simplify future merging of arch/powerpc. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 82cd02c16be99cba6a97d38488aee8807580a202 tree 36d1d79b87ed91df0a0a91164a3acd21cab2e971 parent 86a5cddbd9676b129cfa2ed7a1a11759d3b2b512 author Stephen Rothwell Mon, 19 Sep 2005 23:28:21 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: reduce oprofile/common.c differences Rename and slightly modify {request,free}_perfmon_irq in the ppc code. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 86a5cddbd9676b129cfa2ed7a1a11759d3b2b512 tree 7d5d4fdda4df9067c43870f5dcb3d5c714fdf227 parent 654810ec899ea5f2fc2138fca1793b603d481ff4 author Stephen Rothwell Mon, 19 Sep 2005 23:24:08 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: merge the rest of arch/ppc*/oprofile - merge common.c - move model specific files - remove stub Makefiles - clean up arch/ppc*/Makefile Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 654810ec899ea5f2fc2138fca1793b603d481ff4 tree 7b5e4d411d275a22606b81e0725ebc06acb7bff6 parent a3e48c10cca3287a845435dd8ca58ecbde72d847 author Stephen Rothwell Mon, 19 Sep 2005 23:21:15 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: merge oprofile headers Merge include/asm-ppc64/oprofile_ipml.h and arch/ppc/oprofile/op_impl.h into include/asm-powerpc/oprofile_ipml.h Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit a3e48c10cca3287a845435dd8ca58ecbde72d847 tree 5976d3b64f272d4383e1dd710afc3b5afd6d08d9 parent d9e5b83b120dea9f306de06f7dead55103ab2d46 author Stephen Rothwell Mon, 19 Sep 2005 23:18:31 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: rename op_ppc{32,64}_model to op_powerpc_model Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit d9e5b83b120dea9f306de06f7dead55103ab2d46 tree f6d74408ee62379332905af6d2d177929f017c9a parent bcdd1ea350feb7ee28d4f425c312e9fdf681acfb author Stephen Rothwell Mon, 19 Sep 2005 23:15:51 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] Merge arch/ppc*/oprofile/Makefile into arch/powerpc/oprofile Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit bcdd1ea350feb7ee28d4f425c312e9fdf681acfb tree 6da2a23b984e417d2abda8896b4261be237592a7 parent 5bfc82652ab913606c91d74f7337cbd94627a797 author Stephen Rothwell Mon, 19 Sep 2005 23:13:24 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: Move arch/ppc*/oprofile/Kconfig to arch/powerpc These files are identical. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 5bfc82652ab913606c91d74f7337cbd94627a797 tree eb480a44164fbb43be5d2bcbfeb09019002842bf parent 564ee7a5668e8b6d3b369fd807c75c77285c88d4 author Stephen Rothwell Mon, 19 Sep 2005 17:50:21 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: Merge include/asm-ppc*/a.out.h into include/asm-powerpc Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 564ee7a5668e8b6d3b369fd807c75c77285c88d4 tree 15eb17f5bcef733122460d57abc99234c15a6542 parent 17b1dc07aebdef9ee43c06525bee702d5f0e9db1 author Stephen Rothwell Mon, 19 Sep 2005 17:33:25 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] powerpc: Move arch/ppc*/kernel/vecemu.c to arch/powerpc This file is the same in both architectures so create arch/powerpc/kernel and move it there. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 17b1dc07aebdef9ee43c06525bee702d5f0e9db1 tree 4965361a9762f351a8192fb0842ba552cc0e4bd3 parent da0825fd201a03294dbf7f8f030676d608da122c author jdl@freescale.com Fri, 09 Sep 2005 16:43:52 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] powerpc: Merge asm-ppc*/posix_types.h Merge asm-ppc/posix_types.h and asm-ppc64/posix_types.h. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit da0825fd201a03294dbf7f8f030676d608da122c tree 23f9b907247996ec90a66eace260ef256becad3a parent 61b1a94254a2158d053458764a5bd30331d73a54 author Kumar Gala Sun, 18 Sep 2005 21:33:18 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] ppc32: Allow user to individual select CHRP/PMAC/PREP config Made the CHRP/PMAC/PREP config options selectable by the user. This allows us to build kernels specifically for one of the platforms thus reducing code size. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 61b1a94254a2158d053458764a5bd30331d73a54 tree 4a2aa56ae5d3182c1015b5e9a4351aeb8fab2f3a parent 637a6ff6ce525d8495df944550efea0f023dd521 author Benjamin Herrenschmidt Tue, 20 Sep 2005 13:52:50 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] ppc64: Store virtual address in TLB flush batches This patch slightly change the TLB flush batch mecanism so that we store the full vaddr (including vsid) when adding an entry to the batch so that the flush part doesn't have to get to the context. This cleans it a bit, and paves the way to future updates like dynamic vsids. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 637a6ff6ce525d8495df944550efea0f023dd521 tree f4d31da12a348ecf9136cef8f5986172d6af6003 parent d0035c62d9145a2ce3057c8182a7ff0b4921a41c author Olof Johansson Tue, 20 Sep 2005 13:47:41 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] ppc64: Updated Olof misc updates 3/3 Replace some of the hard-coded constants with PAGE_SIZE/SHIFT/ORDER where appropriate. Likewise, in a couple of places it doesn't make sense to base some allocations on page size when all that's required is a constant 4K, etc. Signed-off-by: Olof Johansson Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit d0035c62d9145a2ce3057c8182a7ff0b4921a41c tree 0a55703d5e71668f61439649f4963daba55401c3 parent c707ffcf3a44914f30e5f2fd53089ad5586c9e42 author Olof Johansson Tue, 20 Sep 2005 13:46:44 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] ppc64: Updated Olof iommu updates 2/3 There are potential cases in the future where the IOMMU might be mapping smaller pages than the regular MMU is using. Keep the allocator working on MMU pagesizes, but the low-level mapping functions need to map more than one TCE entry per page to deal with this. Signed-off-by: Olof Johansson Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit c707ffcf3a44914f30e5f2fd53089ad5586c9e42 tree 5a5d95c903d0440adcdd638b74be78fe51b42612 parent a21ead3239c6a7a1220b45df0a7b537882afff16 author Olof Johansson Tue, 20 Sep 2005 13:45:41 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:06 +1000 [PATCH] ppc64: Updated Olof iommu updates 1/3 Split out the implementation-specific parts of include/asm-ppc64/iommu.h to separate include files (tce.h and dart.h respectively). The generic iommu code really doesn't care about the underlying implementation, and the TCE and DART stuff is completely different. Signed-off-by: Olof Johansson Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a21ead3239c6a7a1220b45df0a7b537882afff16 tree 626a265159b1feed80f72a78b027951d421d64d1 parent df0d3cecc4bd03ea911d7c3302510984388c8a76 author Paul Mackerras Wed, 21 Sep 2005 18:47:00 +1000 committer Paul Mackerras Wed, 21 Sep 2005 18:47:00 +1000 Revert "[PATCH] ppc32: Allow user to individual select CHRP/PMAC/PREP config" This reverts df0d3cecc4bd03ea911d7c3302510984388c8a76 commit. commit e30dcf3a1905b4d2154f95db5fdfdf69691b4f0e tree 13fb11eff9f5bbbfae6eeefaf8f6a56c76885347 parent 3e87d80391c84eefceb4bda94a6363661dba4f71 author Steve French Tue, 20 Sep 2005 20:49:16 -0700 committer Steve French Tue, 20 Sep 2005 20:49:16 -0700 [CIFS] Add support for legacy servers part eight. Write fixes for Windows ME, and do not set ctime unless explicitly requested with atime and/or mtime (it gets thrown away by most servers anyway as there is no way to set this via posix). Signed-off-by: Steve French (sfrench@us.ibm.com) commit df8b59be0976c56820453730078bef99a8d1dbda tree a836bfc1588a20ca997b878bac82188240a471af parent c90eef84b8f5c7416cb99ab6907896f2dd392b4d author Dave Jones Tue, 20 Sep 2005 12:39:35 -0700 committer Dave Jones Tue, 20 Sep 2005 12:39:35 -0700 [CPUFREQ] Avoid the ondemand cpufreq governor to use a too high frequency for stats. The problem is in the ondemand governor, there is a periodic measurement of the CPU usage. This CPU usage is updated by the scheduler after every tick (basically, by adding 1 either to "idle" or to "user" or to "system"). So if the frequency of the governor is too high, the stat will be meaningless (as mostly no number have changed). So this patch checks that the measurements are separated by at least 10 ticks. It means that by default, stats will have about 5% error (20 ticks). Of course those numbers can be argued but, IMHO, they look sane. The patch also includes a small clean-up to check more explictly the result of the conversion from ns to µs being null. Let's note that (on x86) this has never been really needed before 2.6.13 because HZ was always 1000. Now that HZ can be 100, some CPU might be affected by this problem. For instance when HZ=100, the centrino ,which has a 10µs transition latency, would lead to the governor allowing to read stats every tick (10ms)! Signed-off-by: Eric Piel Signed-off-by: Dave Jones commit fe607aa94f5d25ee84f9a9a4fdf2cce3765e12e4 tree ca259d0afaa16ebc9ddc87e287e1358b069f3f60 parent beb8abd9a958999e238c31814230368045b942b3 author Guennadi Liakhovetski Fri, 16 Sep 2005 19:28:01 +0200 committer James Bottomley Tue, 20 Sep 2005 12:44:31 -0500 [SCSI] dc395x: atomic_kmap for PIO Signed-off-by: Guennadi Liakhovetski Signed-off-by: James Bottomley commit beb8abd9a958999e238c31814230368045b942b3 tree a264721bbed3308281283f5721f8c05f96895aef parent 9974487824570e7ac388390333ef5c4ca3ebc2da author Mike Christie Mon, 12 Sep 2005 21:02:06 -0500 committer James Bottomley Tue, 20 Sep 2005 12:36:35 -0500 [SCSI] iscsi: add module version From: michaelc@cs.wisc.edu I have a bad memory. I cannot remember what versions are which, so add a module version to help. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 9974487824570e7ac388390333ef5c4ca3ebc2da tree ba90b6074ce9db97384f8b9f465ebdca3e7df6a4 parent fa0a6957aa7d02addb08a231c8e7c77c2b8fcd20 author Mike Christie Mon, 12 Sep 2005 21:02:04 -0500 committer James Bottomley Tue, 20 Sep 2005 12:36:02 -0500 [SCSI] iscsi: fix nop-in handling From: zhenyu.z.wang@intel.com This add check to NOOP_IN's ttt, when it's ~0UL we should not send NOOP_OUT by spec (plus some cleanup). Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit fa0a6957aa7d02addb08a231c8e7c77c2b8fcd20 tree 2140c61f8278149b19f9837226ea9eb5f28e9798 parent 762e2bfac7bc5f21b04ff17138aac3c453fb6481 author Mike Christie Mon, 12 Sep 2005 21:01:57 -0500 committer James Bottomley Tue, 20 Sep 2005 12:35:27 -0500 [SCSI] iscsi: rename some proto defs From: hare@suse.de for a proper alignment between open-iscsi and iscsitarget the definitions in include/iscsi_proto.h do not match exactly. With this patch it's possible to have iscsitarget use 'include/iscsi_proto.h' instead of its own iscsi_hdr.h. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 762e2bfac7bc5f21b04ff17138aac3c453fb6481 tree 60e21fc7ef9d9095702cf7066c0770d04f608fb4 parent 02cf9311ee4690373ebbe62a5986025c932bead0 author Mike Christie Mon, 12 Sep 2005 21:01:46 -0500 committer James Bottomley Tue, 20 Sep 2005 12:34:54 -0500 [SCSI] iscsi: add newline to sysfs output From: tomof@acm.org trivial cleanup of show_transport_handle() Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 02cf9311ee4690373ebbe62a5986025c932bead0 tree 41629c4667ad5319de6bf32abd89edae8e42add4 parent baebc497b43a69d7280af226e08214c527220d45 author Mike Christie Mon, 12 Sep 2005 21:01:41 -0500 committer James Bottomley Tue, 20 Sep 2005 12:34:14 -0500 [SCSI] iscsi: fix ahs len From: tomof@acm.org Fix AHS Length Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit baebc497b43a69d7280af226e08214c527220d45 tree da4cdd85f1eb49cea03d420e8f2eb055fb3d0a8a parent bb052349798f775d4d7ed20ffcf1510287d8abe6 author Mike Christie Mon, 12 Sep 2005 21:01:38 -0500 committer James Bottomley Tue, 20 Sep 2005 12:33:30 -0500 [SCSI] iscsi: update some iscsi proto defs From: michaelc@cs.wisc.edu Cleanup some iscsi_proto defs, add some missing values, and fix some defs. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit bb052349798f775d4d7ed20ffcf1510287d8abe6 tree 18ff297cce52302382d196d988240db3837bcaeb parent af973481f4a0902ad35726636c290f4794704948 author Mike Christie Mon, 12 Sep 2005 21:01:35 -0500 committer James Bottomley Tue, 20 Sep 2005 12:32:45 -0500 [SCSI] iscsi: handle nonlinear skbs From: zhenyu.z.wang@intel.com Fix oops from nonlinear skb usage. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit af973481f4a0902ad35726636c290f4794704948 tree 4322eec02304f7dbb4667c9243c38d1c1308f374 parent b13941f635c3119eb02dc29b5248066f934f76be author Mike Christie Mon, 12 Sep 2005 21:01:32 -0500 committer James Bottomley Tue, 20 Sep 2005 12:30:58 -0500 [SCSI] iscsi: preemt fix and cleanup From: zhenyu.z.wang@intel.com Delay the head digest update until xmit time, like data digest update. [To make things cleaner and avoid prempt bug] Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit b13941f635c3119eb02dc29b5248066f934f76be tree 8a7ecba66e92aceb8d91b16eda0cf0820420f1de parent 96bad874e7b047ec1e6fade09acba47fd19211c5 author Mike Christie Mon, 12 Sep 2005 21:01:28 -0500 committer James Bottomley Tue, 20 Sep 2005 12:30:39 -0500 [SCSI] iscsi: nodelay fix From: tomof@acm.org I'm not sure about this. I don't think that NODELAY option hurts performance. However, open-iscsi does not use MSG_MORE properly with sendpage, so NODELAY option hurts the open-iscsi performance. I've attached a patch to fix NODELAY and MSG_MORE problems and the write performance results with disktest. I use Opteron boxes connected directly, Chelsio NICs, 1500-byte MTU, 64 KB I/O size, and the iSCSI parameters on open-iscsi web site. With only NODELAY fix, the performance drops, as you said. On the other hand, NODELAY and MSG_MORE fixes improve the performance overall. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 650316f1228c0dc5e45c17765caef30db62468cd tree 236a5eb89130ef3857d37da00fcda294f3a0c827 parent 044a500e46742d39d22f1781cfb64ba93b463e39 author Bjorn Helgaas Fri, 16 Sep 2005 11:43:45 -0600 committer Tony Luck Mon, 19 Sep 2005 15:57:48 -0700 [IA64] move ACPI IOSAPIC locality domain mapping from pci.c to acpi.c Move acpi_map_iosapics() from pci.c to acpi.c, since it doesn't have anything to do with PCI. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit 44c451208da397438e7062393aeb3a19ddb76a60 tree b6478dc02cab1a189e25c7b9ea0586ccf4c9f8e9 parent 044a500e46742d39d22f1781cfb64ba93b463e39 author Bjorn Helgaas Fri, 16 Sep 2005 11:43:10 -0600 committer Tony Luck Mon, 19 Sep 2005 15:55:48 -0700 [IA64] ia64: add ar.k0 usage note Update comment about how ar.k0 is used. Make the initialization the same as in start_secondary() (no functional change, just make it look more similar). Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit be379124c0a5abfbe57dab2823fe8a71ce797aee tree c16b8dce920a001431add24bcd12cc1f12bf824d parent d8c97d5f3aa348272df2ccb4e224b1cf9a1eb6d7 author Khalid Aziz Mon, 19 Sep 2005 15:42:36 -0700 committer Tony Luck Mon, 19 Sep 2005 15:42:36 -0700 [IA64] include EFI memory information in /proc/iomem User mode kexec tools expect to find information about physical memory in /proc/iomem (as they do on x86) to validate the addresses that the new kernel will use. Signed-off-by: Khalid Aziz Signed-off-by: Tony Luck commit 3e87d80391c84eefceb4bda94a6363661dba4f71 tree ef39515dde8b86007de4ad769716d375b8973dca parent f9f5c81769f88bccd177423a30a7d30461754c39 author Steve French Sun, 18 Sep 2005 20:49:21 -0700 committer Steve French Sun, 18 Sep 2005 20:49:21 -0700 [CIFS] Add support for legacy servers part seven. Fix open for write, begin implementation of Win9x style set file size via open then write of zero bytes. Signed-off-by: Steve French (sfrench@us.ibm.com) commit df0d3cecc4bd03ea911d7c3302510984388c8a76 tree b4299b8f5c7b40ebd57adab5a97e169aed81c65d parent fbcd54b1e67ffa27f2b2ce087ee300138828d730 author Kumar Gala Sun, 18 Sep 2005 13:02:03 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:50 +1000 [PATCH] ppc32: Allow user to individual select CHRP/PMAC/PREP config Made the CHRP/PMAC/PREP config options selectable by the user. This allows us to build kernels specifically for one of the platforms thus reducing code size. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit fbcd54b1e67ffa27f2b2ce087ee300138828d730 tree 626a265159b1feed80f72a78b027951d421d64d1 parent 6c45ab992e4299c869fb26427944a8f8ea177024 author Jon Loeliger Sat, 17 Sep 2005 10:39:46 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:50 +1000 [PATCH] powerpc: Merge simplified sections.h into asm-powerpc Here is a new patch that removes all notion of the pmac, prep, chrp and openfirmware initialization sections, and then unifies the sections.h files without those __pmac, etc, sections identifiers cluttering things up. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 6c45ab992e4299c869fb26427944a8f8ea177024 tree 01d2dce5219550106d3ba2ea176eea9fedbae8d8 parent aacaf9bd9646f6f611a08fca976411b6e5ddefe2 author Jon Loeliger Sat, 17 Sep 2005 10:38:23 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Remove section free() and linker script bits Here is a new patch that removes all notion of the pmac, prep, chrp and openfirmware initialization sections, and then unifies the sections.h files without those __pmac, etc, sections identifiers cluttering things up. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit aacaf9bd9646f6f611a08fca976411b6e5ddefe2 tree 604853646cc176c0a0908db39f254285121fa50c parent f495a8bfd6a52cf32859f93d5320bb234d8a9560 author Jon Loeliger Sat, 17 Sep 2005 10:36:54 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Remove sections use from ppc64 and drivers Here is a new patch that removes all notion of the pmac, prep, chrp and openfirmware initialization sections, and then unifies the sections.h files without those __pmac, etc, sections identifiers cluttering things up. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit f495a8bfd6a52cf32859f93d5320bb234d8a9560 tree b3159974aa2dc6de8406af66bc3b1ac5b10e4f94 parent 7da8f8600a4751d7f0248e00d973901b7371fabc author Jon Loeliger Sat, 17 Sep 2005 10:35:08 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Remove sections use from ppc Here is a new patch that removes all notion of the pmac, prep, chrp and openfirmware initialization sections, and then unifies the sections.h files without those __pmac, etc, sections identifiers cluttering things up. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 7da8f8600a4751d7f0248e00d973901b7371fabc tree 0d46a5b29121878eb8452d4b1930109ff2f63741 parent 5f7c690728ace1404f72d74972dcc261674c0dd4 author Kumar Gala Fri, 16 Sep 2005 11:37:33 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] ppc32: Removed non-inlined versions of local_irq* functions We always use the inlined versions of local_irq_enable, local_irq_disable, local_save_flags_ptr, and local_irq_restore on ppc32 so the non-inlined versions where just taking up space. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 5f7c690728ace1404f72d74972dcc261674c0dd4 tree d2fea77e39c2103be9ae41b9b849dce949cd9efd parent 0a1e1222b77b9b02457d8126f598e3713559d5c7 author Kumar Gala Fri, 09 Sep 2005 15:02:25 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Merged ppc_asm.h Merged ppc_asm.h between ppc32 & ppc64. The majority of the file is common between the two architectures excluding how a single GPR is saved/restored and which GPRs are non-volatile. Additionally, moved the ASM_CONST macro used on ppc64 into ppc_asm.h. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 0a1e1222b77b9b02457d8126f598e3713559d5c7 tree e3bf05d36f41f4a7571ff63b32277bccec83cc7c parent 628f87f3d585bd0c2b0e39df039585d7a5831cc9 author Jon Loeliger Tue, 06 Sep 2005 15:51:47 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Merge kmap_types.h Here is a patch to merge the ppc and pp64 version of kmap_types.h Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 54703d3678d13e7406d0b5aa451abb9526d53b9d tree d7064aec7aa78d73879a26fd8dcc9c5add26b520 parent 06168d8a10ceccced51380d683245b33474d428a author Jack Steiner Wed, 14 Sep 2005 10:33:40 -0500 committer Tony Luck Fri, 16 Sep 2005 11:51:27 -0700 [IA64] Increase max NR_CPUS on IA64 from 512 to 1024 This patch increases the maximum number of cpus supported on IA64 to 1024. No changes are made to the default SSI size. The patch simply allows specifying up to 1024p. There are certainly scaling (& other) issues that also need to be addressed!!! Additional patches will follow..... Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit a33a1982012e9070736e3717231714dc9892303b tree 83ff248e8019cd6036f01db43a9627da1b703bae parent 3bc5ed684253f407b1567799d13cb06a0d86fe80 author James Ketrenos Wed, 14 Sep 2005 14:28:59 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:15:57 -0400 [PATCH] Updated ipw2200 to compile with ieee80211 abg_ture to abg_true change author James Ketrenos 1126713327 -0500 committer James Ketrenos 1126713327 -0500 Updated ipw2200 to compile with ieee80211 abg_ture to abg_true change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3bc5ed684253f407b1567799d13cb06a0d86fe80 tree fec657fe7a87aedc5a60e5c1128c6ba509ae18f8 parent 262d8e467710a1c870717bc432caaf74cde3ce20 author James Ketrenos Tue, 13 Sep 2005 17:48:54 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:15:57 -0400 [PATCH] ieee80211 Fixed type-o of abg_ture -> abg_true [PATCH 14/29] Fixed type-o of abg_ture -> abg_true. Signed-off-by: James Ketrenos NOTE: This patch requires drivers using abg_ture to be updated. Signed-off-by: Jeff Garzik commit 262d8e467710a1c870717bc432caaf74cde3ce20 tree 17ce405907e553bdb8691a60df3d4805461bec72 parent 18294d8727b825eb2f3f98d6b6ae4a999dff854a author James Ketrenos Tue, 13 Sep 2005 17:42:53 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:11:58 -0400 [PATCH] ieee80211 Switched to sscanf in store_debug_level Switched to sscanf as per friendly comment in store_debug_level. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 18294d8727b825eb2f3f98d6b6ae4a999dff854a tree 869c9254e4211fb2cea8184575f65184f207ec60 parent 7b1fa54020985fa4b154f9f5d2f04ba174c7f1a5 author James Ketrenos Tue, 13 Sep 2005 17:40:29 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:11:58 -0400 [PATCH] ieee80211 Cleanup memcpy parameters. Cleanup memcpy parameters. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 7b1fa54020985fa4b154f9f5d2f04ba174c7f1a5 tree 01bd894cfcca1a9bc70de6bf3163e379244ee46e parent 68e4e036b841d5fb23ae1ac51b1e40baf9d582bf author James Ketrenos Tue, 13 Sep 2005 17:38:13 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:10:56 -0400 [PATCH] ieee80211 Removed ieee80211_info_element_hdr Removed ieee80211_info_element_hdr structure as ieee80211_info_element provides the same use. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 68e4e036b841d5fb23ae1ac51b1e40baf9d582bf tree a5fe3c6c7ef9fa132b5719790f7c1fc0084da083 parent 74079fdce472a2b16d502fe39e06b135ef06c69b author James Ketrenos Tue, 13 Sep 2005 17:37:22 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:10:56 -0400 [PATCH] Changed 802.11 headers to use ieee80211_info_element[0] Changed 802.11 headers to use ieee80211_info_element as zero sized array so that sizeof calculations do not account for IE sizes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 74079fdce472a2b16d502fe39e06b135ef06c69b tree a2f097836efccc5b4758888bd97599aecd56e37e parent b1b508e1b13529b3cc5b59c352f49b9b58a302b6 author James Ketrenos Tue, 13 Sep 2005 17:35:21 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:32 -0400 [PATCH] ieee80211 Added wireless spy support Added wireless spy support to Rx code path. Signed-off-by: James Ketrenos NOTE: Looks like scripts/Lindent generated output different than the Lindented version already in-kernel, hence all the whitespace deltas... *sigh* Signed-off-by: Jeff Garzik commit b1b508e1b13529b3cc5b59c352f49b9b58a302b6 tree 6321572a9bca16928b57e936376af616a1868dc0 parent fd27817ce941c7134adefd2852f8a5f274315ff4 author James Ketrenos Tue, 13 Sep 2005 17:27:19 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:32 -0400 [PATCH] ieee80211 quality scaling algorithm extension handler Incorporated Bill Moss' quality scaling algorithm into default wireless extension handler. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit fd27817ce941c7134adefd2852f8a5f274315ff4 tree 152c2194e03c104bb34fc105494ee5238f31acb9 parent 9c8a11d7c2298680ff3ee8acda54575c88668bfc author James Ketrenos Tue, 13 Sep 2005 17:25:51 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:31 -0400 [PATCH] Fixed some endian issues with 802.11 header usage in ieee80211_rx.c Fixed some endian issues with 802.11 header usage in ieee80211_rx.c Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9c8a11d7c2298680ff3ee8acda54575c88668bfc tree a183ce73c486bfe86ea5e96e9619f2088784bbae parent 27c91efba4c121f90c0e6d371c7064733b286a69 author Pavel Roskin Fri, 16 Sep 2005 02:18:31 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Update PCMCIA ID's. Author: Pavel Roskin Date: Fri Sep 16 01:07:47 2005 -0400 Update PCMCIA ID's. Intel Pro/Wireless 2011 and 2011B have the same numeric ID, so use strings instead. Take all entries from *.conf for Orinoco, HostAP and linux-wlan-ng and adds them with minimal changes (e.g. we don't need a revision string after a string that identifies the chipset). Add comments with card names to all numeric entries. Note: the comments don't and cannot cover all cards, since the main reason of having numeric IDs is to cover cards that are often rebranded. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 27c91efba4c121f90c0e6d371c7064733b286a69 tree 78dd96949dcb026a37f182255db3d804a4274706 parent 65853b133d0256786df25f03eea0e5a6799e8d17 author Pavel Roskin Fri, 16 Sep 2005 02:16:52 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Don't include twice. Author: Pavel Roskin Date: Fri Sep 16 00:50:00 2005 -0400 Don't include twice. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 65853b133d0256786df25f03eea0e5a6799e8d17 tree 38c3d8007e70992829271a2fcf453624d4afadd2 parent 76209926e3756f66c9cdc8a4becbf34df8c47799 author Pavel Roskin Fri, 16 Sep 2005 02:15:13 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Remove conditionals that are useless in the kernel drivers. Author: Pavel Roskin Date: Fri Sep 16 00:49:05 2005 -0400 Remove conditionals that are useless in the kernel drivers. Kernel drivers are never compiled against pcmcia-cs headers. Firmware is never embedded into spectrum_cs module. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 76209926e3756f66c9cdc8a4becbf34df8c47799 tree 173b55358f0864026fe9957407409f8613448ed4 parent eabf04151682bc7b57c84fea58cf9e4e5a3cf2a9 author Hubert WS Lin Wed, 14 Sep 2005 11:39:27 -0700 committer Jeff Garzik Fri, 16 Sep 2005 02:43:23 -0400 [PATCH] pcnet32: set min ring size to 4 Don Fry reminded me that the pcnet32_loopback_test() asssumes the ring size is no less than 4. The minimum ring size was changed to 4 in pcnet32_set_ringparam() to allow the loopback test to work unchanged. - Set minimum ring size to 4 to allow loopback test to work unchanged - Moved variable init_block to first field in struct pcnet32_private Signed-off-by: Hubert WS Lin Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit eabf04151682bc7b57c84fea58cf9e4e5a3cf2a9 tree 82e41403e8b3f0dbf8f4a47bd90a5afc57142e36 parent f89efd523b25cc1702e074dafdcac283da657002 author Hubert WS Lin Wed, 14 Sep 2005 11:39:25 -0700 committer Jeff Garzik Fri, 16 Sep 2005 02:43:23 -0400 [PATCH] pcnet32: set_ringparam implementation This patch implements the set_ringparam(), one of the ethtool operations, which allows changing tx/rx ring sizes via ethtool. - Changed memery allocation of tx/rx ring from static to dynamic - Implemented set_ringparam() - Tested on i386 and ppc64 Signed-off-by: Hubert WS Lin Signed-off-by: Jay Vosburgh Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f9f5c81769f88bccd177423a30a7d30461754c39 tree 52ade60ddaacefc7cd350a67a7b40d6e2d27f84c parent eafe87012159a40a1e7151cc576e99a22aea2f0b author Steve French Thu, 15 Sep 2005 23:06:38 -0700 committer Steve French Thu, 15 Sep 2005 23:06:38 -0700 [CIFS] Add support for legacy servers part six. Fix read syntax so we do not request more than negotiated buffer size even if buffer size is small (smaller than one page) Signed-off-by: Steve French (sfrench@us.ibm.com) commit eafe87012159a40a1e7151cc576e99a22aea2f0b tree 5d9225494429ea235befb943581901d9c94aa236 parent ab2f218f4fa2c36ecd39ac1406eec1e63cd430bd author Steve French Thu, 15 Sep 2005 21:47:30 -0700 committer Steve French Thu, 15 Sep 2005 21:47:30 -0700 [CIFS] Fix readdir caching when unlink removes file in current search buffer, and this is followed by a rewind search to just before the deleted entry. Signed-off-by: Steve French (sfrench@us.ibm.com) commit ab2f218f4fa2c36ecd39ac1406eec1e63cd430bd tree 80a361ff0417e1a9733fd49cbb133797854da264 parent 9a899e76683639486846ce17dbaa0c2ec1ae5ab5 author Steve French Thu, 15 Sep 2005 20:44:50 -0700 committer Steve French Thu, 15 Sep 2005 20:44:50 -0700 [CIFS] Fix compiler warnings Fix some compiler warnings noticed on x64 by me and ppc64 by Shaggy Signed-off-by: Steve French (sfrench@us.ibm.com) commit 55642d36cd0f626c614f6dfa1151a5af1ff84f36 tree 2f167337a389371f21a5f980f8fddc3110e11c10 parent 24ee0a6d7b0a52b140c880aae24c255de3b4a9a1 author Tony Luck Thu, 15 Sep 2005 17:00:10 -0700 committer Tony Luck Thu, 15 Sep 2005 17:00:10 -0700 [IA64] Two more uses of cpuid_to_cnodeid() must go. s/cpuid_to_cnodeid/cpu_to_node/ Signed-off-by: Tony Luck commit 24ee0a6d7b0a52b140c880aae24c255de3b4a9a1 tree b57e06db620c9de7143baa58fc24a36ac24d5a79 parent 1619cca2921f6927f4240e03f413d4165c7002fc author Jack Steiner Mon, 12 Sep 2005 12:15:43 -0500 committer Tony Luck Thu, 15 Sep 2005 16:31:12 -0700 [IA64] Cleanup use of various #defines related to nodes Some of the SN code & #defines related to compact nodes & IO discovery have gotten stale over the years. This patch attempts to clean them up. Some of the various SN MAX_xxx #defines were also unclear & misused. The primary changes are: - use MAX_NUMNODES. This is the generic linux #define for the number of nodes that are known to the generic kernel. Arrays & loops for constructs that are 1:1 with linux-defined nodes should use the linux #define - not an SN equivalent. - use MAX_COMPACT_NODES for MAX_NUMNODES + NUM_TIOS. This is the number of nodes in the SSI system. Compact nodes are a hack to get around the IA64 architectural limit of 256 nodes. Large SGI systems have more than 256 nodes. When we upgrade to ACPI3.0, I _hope_ that all nodes will be real nodes that are known to the generic kernel. That will allow us to delete the notion of "compact nodes". - add MAX_NUMALINK_NODES for the total number of nodes that are in the numalink domain - all partitions. - simplified (understandable) scan_for_ionodes() - small amount of cleanup related to cnodes Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit f2b518d71636c2bda65a837b0a93c3365207a4f0 tree 1d9cd87016bc12cfdfddd161e63c0b7c584e9a71 parent 1619cca2921f6927f4240e03f413d4165c7002fc author Bjorn Helgaas Wed, 14 Sep 2005 16:50:19 -0600 committer Tony Luck Thu, 15 Sep 2005 14:34:31 -0700 [IA64] Update default configs PNP and PNPACPI turned on i8042 recently changed from ACPI to PNP detection. Without PNP, it probes legacy I/O ports for the keyboard controller, which causes an MCA on HP boxes. Also, I'm about to remove 8250_acpi.c, so we'll need PNP to detect non-PCI serial ports. Until 8250_acpi.c is removed, some systems will see serial ports reported twice (once from 8250_acpi.c and again from 8250_pnp.c). This is harmless. PNPACPI is still marked EXPERIMENTAL, but I'm not aware of any outstanding issues on ia64. IDE_GENERIC turned off (except for SGI simulator, all ia64 IDE is PCI) ide-generic probes compiled-in legacy I/O ports for IDE devices, which again causes an MCA. It would be nicer to just get rid of all the legacy junk from include/asm-ia64/ide.h, but that is a bit riskier because it could break ide-cs and the HDIO_REGISTER_HWIF ioctl (http://www.ussg.iu.edu/hypermail/linux/kernel/0508.2/0049.html). Here's the essence of the patch: -# CONFIG_PNP is not set +CONFIG_PNP=y +CONFIG_PNPACPI=y -CONFIG_IDE_GENERIC=y +# CONFIG_IDE_GENERIC is not set Tested on tiger, bigsur, and zx1. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit 0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc tree 95f55e1219eed9c3fd2458ddbf960307c631114e parent 1619cca2921f6927f4240e03f413d4165c7002fc author Alex Williamson Tue, 06 Sep 2005 11:20:49 -0600 committer Tony Luck Wed, 14 Sep 2005 16:22:11 -0700 [IA64] more robust zx1/sx1000 machvec support Machine vector selection has always been a bit of a hack given how early in system boot it needs to be done. Services like ACPI namespace are not available and there are non-trivial problems to moving them to early boot. However, there's no reason we can't change to a different machvec later in boot when the services we need are available. By adding a entry point for later initialization of the swiotlb, we can add an error path for the hpzx1 machevec initialization and fall back to the DIG machine vector if IOMMU hardware isn't found in the system. Since ia64 uses 4GB for zone DMA (no ISA support), it's trivial to allocate a contiguous range from the slab for bounce buffer usage. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck commit f89efd523b25cc1702e074dafdcac283da657002 tree f33440ed3f4ba3594d6c3316bdcdda420ce11801 parent 43ec6e95e4d8a73afc2405a44b955c380aeeb65a author Matt Porter Fri, 09 Sep 2005 12:10:10 -0700 committer Jeff Garzik Wed, 14 Sep 2005 09:18:21 -0400 [PATCH] Add rapidio net driver Adds an "Ethernet" driver which sends Ethernet packets over the standard RapidIO messaging. This depends on the core RIO patch for mailbox/doorbell access. Signed-off-by: Matt Porter Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9 tree 8641efeba632bddfa0e486b41a5f19578b1a1a31 parent 142e27fc8a3619471669d6241784eec9167c47d1 parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:57:30 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:57:30 -0400 Merge /spare/repo/linux-2.6/ commit 43ec6e95e4d8a73afc2405a44b955c380aeeb65a tree e42008bc2e42ea42498229360f995d39357d6c62 parent 7a700fafbed55eee2cc766fbe47cf68e229da281 author Dale Farnsworth Tue, 23 Aug 2005 10:30:29 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:46:21 -0400 [PATCH] mii: Add test for GigE support Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 7a700fafbed55eee2cc766fbe47cf68e229da281 tree b52a9c14808a61c1ff5c320d380fea08793968d9 parent 387d890db88b4eb7c1dd55a2a0c16d6f0dccc7ad author viro@ZenIV.linux.org.uk Fri, 09 Sep 2005 20:40:23 +0100 committer Jeff Garzik Wed, 14 Sep 2005 08:37:49 -0400 [PATCH] C99 initializers in ray_cs.c Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 387d890db88b4eb7c1dd55a2a0c16d6f0dccc7ad tree aa18b1e9c91b43cccc76949bba8b2c56b5b8cfed parent 7665a08928f241247afe8c76865cdbe4ef5489bf author viro@ZenIV.linux.org.uk Fri, 09 Sep 2005 17:22:14 +0100 committer Jeff Garzik Wed, 14 Sep 2005 08:37:31 -0400 [PATCH] lne390 bogus casts We already have the iomem pointer we need... Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 7665a08928f241247afe8c76865cdbe4ef5489bf tree 99b4dceff3f8210e7c0420053b2433977d7f0322 parent 8e18d1f9c9dcbf2de5b79cad771ed639983ab6cd author Adrian Bunk Fri, 09 Sep 2005 23:17:28 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:36:54 -0400 [PATCH] drivers/net/wan/: possible cleanups This patch contains possible cleanups including the following: - make needlessly global code static - #if 0 the following unused global function: - sdladrv.c: sdla_intde - remove the following unused global variable: - lmc_media.c: lmc_t1_cables - remove the following unneeded EXPORT_SYMBOL's: - cycx_drv.c: cycx_inten - sdladrv.c: sdla_inten - sdladrv.c: sdla_intde - sdladrv.c: sdla_intack - sdladrv.c: sdla_intr - syncppp.c: sppp_input - syncppp.c: sppp_change_mtu Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 8e18d1f9c9dcbf2de5b79cad771ed639983ab6cd tree c17ceb7190fa7dfd5ad743a9af8b7a4b43aa2d7b parent 3173c8907ffb2c64456142da3df2bd0500bd59e0 author Tobias Klauser Sat, 10 Sep 2005 14:45:00 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:35:09 -0400 [PATCH] Replace drivers/net/wan custom ctype macros with standard ones Replace the custom is_digit()/is_hex_digit() macros with isdigit()/isxdigit() from Additionaly remove unused macro is_alpha() from Signed-off-by: Tobias Klauser Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3173c8907ffb2c64456142da3df2bd0500bd59e0 tree dcd3700a2c37e24a2b5911bb5429aee715684926 parent 343c686c04eec556645f251f7d6c9b3d7335dae0 author Nishanth Aravamudan Sun, 11 Sep 2005 02:09:55 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:33:24 -0400 [PATCH] drivers/net: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Jeff Garzik Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 343c686c04eec556645f251f7d6c9b3d7335dae0 tree 2713fbd5e71f7a7dbe94634a1bc4eb81a1ed8af5 parent b81e8e1f4a51556586f72711a165bc3a0de230f3 author Pavel Roskin Fri, 09 Sep 2005 18:43:02 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:54 -0400 [PATCH] orinoco: WE-18 support Author: Jean Tourrilhes Signed-off-by: Pavel Roskin Use new Wireless Extension API for wireless stats. Signed-off-by: Jeff Garzik commit b81e8e1f4a51556586f72711a165bc3a0de230f3 tree f57c521eb64c3124637b593932317ab1574518b9 parent 30d60a8288ab6f59939736f5775a7110a8bfff9a author John W. Linville Mon, 12 Sep 2005 10:48:58 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] via-rhine: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to via-rhine. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 30d60a8288ab6f59939736f5775a7110a8bfff9a tree 9d396b32f8f898dd56f5428d4401c9338d6d2a1d parent 56230d538233ba037eb679b0fc0b218d33b9b8b8 author John W. Linville Mon, 12 Sep 2005 10:48:58 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] sundance: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to sundance. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 56230d538233ba037eb679b0fc0b218d33b9b8b8 tree 93426d6062682766763ecbfe2486727aad06867c parent 6d6525b7f74f9593e647f8c17b1de0f652e1f177 author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] skge: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to skge. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6d6525b7f74f9593e647f8c17b1de0f652e1f177 tree 229b049c611c79b9667b222ed306f662d0fcd2f0 parent db0276b060918fac94c9d216213a31ee02cdd73e author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] r8169: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to r8169. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit db0276b060918fac94c9d216213a31ee02cdd73e tree 0aff024589d97fbf54cfc8596b23d9df7726323c parent 78b345890a91dc57fecea8b6792012e0098c058f author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:01 -0400 [PATCH] pcnet32: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to pcnet32. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 78b345890a91dc57fecea8b6792012e0098c058f tree 44ff0982df849e25efb6d5835f8bd1a0dd4bfb4a parent df859c519ef7b72d9be7396443316da87272e8b6 author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] ne2k-pci: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to ne2k-pci. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit df859c519ef7b72d9be7396443316da87272e8b6 tree b4da7767fd6de6881a1339386d04222f7b212f26 parent c704b8566b060695e90ac401833db4b62813ad8a author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] ixgb: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to ixgb. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit c704b8566b060695e90ac401833db4b62813ad8a tree b9f9c947689f21b4de558e6ef00a1ddf24841a6b parent a92dd9233ad185904daf95d040cf88c3da2d7ef6 author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] forcedeth: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to forcedeth. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit a92dd9233ad185904daf95d040cf88c3da2d7ef6 tree c43b02acd9e16948a889d5a4be80358428920945 parent 9beb0ac17bcfed23feb0a6fac328216568b74bc1 author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] e100: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to e100. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 9beb0ac17bcfed23feb0a6fac328216568b74bc1 tree f4caff544ae7816cc02857d7b24f9694418eb43c parent 2160de53cc17a40ad07bd38bf52dd0bb72dd5183 author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] e1000: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to e1000. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 2160de53cc17a40ad07bd38bf52dd0bb72dd5183 tree 398073edc9425debbee57d6bcd844f6291a411e5 parent 62a720b889a37496d5f36d09875578956745d196 author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] b44: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to b44. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 62a720b889a37496d5f36d09875578956745d196 tree b1d85cf0fd796e7331f86a3dc1509fcd63a9069e parent bb0ce608a3386268bd76ee6642a4cc8e6818a29b author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] 8139too: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to 8139too. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit bb0ce608a3386268bd76ee6642a4cc8e6818a29b tree 00648bee47898e3ef84448b6e6e30feba1fec2c6 parent d8ac10639b6a1ed900efbee38c18baaca31e64dc author John W. Linville Mon, 12 Sep 2005 10:48:54 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] 8139cp: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to 8139cp. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 923f122573851d18a3832ca808269fa2d5046fb1 tree 41f30af97a513387389429ad45037651e08d513d parent 905ec87e93bc9e01b15c60035cd6a50c636cbaef author Tejun Heo Tue, 13 Sep 2005 13:21:29 +0900 committer Jeff Garzik Wed, 14 Sep 2005 08:19:27 -0400 [PATCH] sil24: initialization fix sil24 0.20 didn't use to perform (what seems to be) port multiplier initialization and controller reset 0.10 driver does. This makes some sil24 controllers malfunction. This patch adds PM initialization and controller resetting to initilization and bumps version to 0.21. Please refer to the following thread for more information. http://marc.theaimsgroup.com/?l=linux-ide&m=112582819830324&w=2 http://marc.theaimsgroup.com/?l=linux-ide&m=112636045531060&w=2 Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 905ec87e93bc9e01b15c60035cd6a50c636cbaef tree 46fd7618d6511611ffc19eb0dd4d7bc6b90a41c2 parent 1d6ae775d7a948c9575658eb41184fd2e506c0df parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:19:08 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:19:08 -0400 Merge /spare/repo/linux-2.6/ commit 165415f700b0c77fa1f8db6198f48582639adf78 tree 088e305b0b5b0c6753072e13be1177824c3ed59d parent c324b44c34050cf2a9b58830e11c974806bd85d8 parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:12:20 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:12:20 -0400 Merge /spare/repo/linux-2.6/ commit ea98a92ff18c03bf7f4d21536986cbbcb4c10cd9 tree fbff15aaacf19824083c9edb8d37548031636580 parent 9d17601c4e132eee9fe450191f6866fb9fb5a762 author Dave Airlie Sun, 11 Sep 2005 20:28:11 +1000 committer Dave Airlie Sun, 11 Sep 2005 20:28:11 +1000 drm: add radeon PCI express support Add support for Radeon PCI Express cards (needs a new X.org DDX) Also allows PCI GART table to be stored in VRAM for non PCIE cards Signed-off-by: Dave Airlie commit 9d17601c4e132eee9fe450191f6866fb9fb5a762 tree f4bdfbc95a28370ad0bf9f0d0f42a821f5a8ec9d parent 70dfcfea4b728ab26af1a3e0f331cc63a7e3554b author Dave Airlie Sun, 11 Sep 2005 19:55:53 +1000 committer Dave Airlie Sun, 11 Sep 2005 19:55:53 +1000 drm: update radeon driver to 1.18 Add support for GL_ATI_fragment_shader, new packets R200_EMIT_PP_AFS_0/1, R200_EMIT_PP_TXCTLALL_0-5 (replaces R200_EMIT_PP_TXFILTER_0-5, 2 more regs) and R200_EMIT_ATF_TFACTOR (replaces R200_EMIT_TFACTOR_0 (8 consts instead of 6) From: Roland Scheidegger, David Airlie Signed-off-by: David Airlie commit 70dfcfea4b728ab26af1a3e0f331cc63a7e3554b tree ec53b9f73f2b6186b572e0129b8bcf829ad9b96b parent 908f9c485042e516bb3749f4361129a94772fe26 author Dave Airlie Sun, 11 Sep 2005 19:37:29 +1000 committer Dave Airlie Sun, 11 Sep 2005 19:37:29 +1000 drm: missing drm_vm.c changes for consistent maps This adds a missing change from CVS for consistent maps. Signed-off-by: Dave Airlie commit 96bad874e7b047ec1e6fade09acba47fd19211c5 tree 847b65be927d7d9a451c50d7023872d1664d2c8a parent 2290d2b63c2d25b0d554d68e54cbd1cc87d951d5 author James Bottomley Thu, 08 Sep 2005 09:56:18 -0500 committer James Bottomley Fri, 09 Sep 2005 16:47:43 -0500 [SCSI] move iscsi to a better place in Kconfig Now it looks like we'll have multiple users of the iscsi transport class, the iscsi initiator shouldn't really be a dependency of it. This patch moves iscsi to being an initiator in its own right which selects the transport attributes. Signed-off-by: James Bottomley commit 1fa92957282e4595727c1a21bf6687ea5a2d612f tree 96d7bc1c5b138fdd27f8296e8e7e7b6ba85a91cf parent 5fbcf9a5c6904bd563f584d12d1f4d3f68a19d7d author Tony Luck Fri, 09 Sep 2005 11:41:12 -0700 committer Tony Luck Fri, 09 Sep 2005 11:41:12 -0700 [IA64] Need to include in a few more places. Signed-off-by: Tony Luck commit 2290d2b63c2d25b0d554d68e54cbd1cc87d951d5 tree 4d81c1ff8ed97d8cb3b940c060dc9dec9f95c719 parent f5c7f03113fc9c547012cf403aec4b534d575ef0 author James Bottomley Thu, 08 Sep 2005 10:14:11 -0500 committer James Bottomley Fri, 09 Sep 2005 10:00:35 -0500 [SCSI] iscsi_tcp: make iscsi compile again after recent netlink changes netlink_kernel_create now has two new arguments; the module (which is easy) and the number of groups, which I arbitrarily set to one. Acked by: Mike Christie Signed-off-by: James Bottomley commit d8c97d5f3aa348272df2ccb4e224b1cf9a1eb6d7 tree cb71557f43084027559762f58e51f2df5d5e5c46 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Tony Luck Thu, 08 Sep 2005 12:39:59 -0700 committer Tony Luck Thu, 08 Sep 2005 12:39:59 -0700 [IA64] simplified efi memory map parsing New version leaves the original memory map unmodified. Also saves any granule trimmings for use by the uncached memory allocator. Inspired by Khalid Aziz (various traces of his patch still remain). Fixes to uncached_build_memmap() and sn2 testing by Martin Hicks. Signed-off-by: Tony Luck commit f5c7f03113fc9c547012cf403aec4b534d575ef0 tree 255bd4ff0c5a9314be427cf0695349ac432f9d7c parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 parent 471417c9cfb4c2574e2c03bf2273fe12f5388a8e author James Bottomley Thu, 08 Sep 2005 09:37:35 -0500 committer James Bottomley Thu, 08 Sep 2005 09:37:35 -0500 Merge HEAD from ../scsi-iscsi-2.6 commit 1d6ae775d7a948c9575658eb41184fd2e506c0df tree 8128a28e89d82f13bb8e3a2160382240c66e2816 parent 739cdbf1d8f0739b80035b80d69d871e33749b86 parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 author Jeff Garzik Thu, 08 Sep 2005 05:43:49 -0400 committer Jeff Garzik Thu, 08 Sep 2005 05:43:49 -0400 Merge /spare/repo/linux-2.6/ commit 142e27fc8a3619471669d6241784eec9167c47d1 tree e88850b63ec910ee28874f93c43fb66421bb8119 parent a9053d0494d3c92807701c0f47df61d50c971581 parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 author Jeff Garzik Thu, 08 Sep 2005 05:41:28 -0400 committer Jeff Garzik Thu, 08 Sep 2005 05:41:28 -0400 Merge /spare/repo/linux-2.6/ commit c324b44c34050cf2a9b58830e11c974806bd85d8 tree 3ac45a783221283925cd698334a8f5e7dd4c1df8 parent 2fcf522509cceea524b6e7ece8fd6759b682175a parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 author Jeff Garzik Thu, 08 Sep 2005 05:39:55 -0400 committer Jeff Garzik Thu, 08 Sep 2005 05:39:55 -0400 Merge /spare/repo/linux-2.6/ commit 5fbcf9a5c6904bd563f584d12d1f4d3f68a19d7d tree 2da130b000e5c442345e473b4f53104b92a76e4c parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Mark Maule Tue, 06 Sep 2005 13:03:51 -0500 committer Tony Luck Wed, 07 Sep 2005 16:23:41 -0700 [IA64-SGI] volatile semantics in places where it seems necessary Resend using accessors instead of volatile qualifiers per hch comments, and easier to understand convenience macros per rja comments. Patch to apply volatile semantics when accessing MMR's in various SN files. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit a607c38971fd078865fa9bef39e6c1d4435680c8 tree cb7853f0d74ee6a9cd92ccc721096b57367d0390 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Dean Nelson Thu, 01 Sep 2005 14:01:37 -0500 committer Tony Luck Tue, 06 Sep 2005 16:15:38 -0700 [IA64-SGI] get XPC to cleanly disengage from remote memory references When XPC is being shutdown (i.e., rmmod, reboot) it doesn't ensure that other partitions with whom it was connected have completely disengaged from any attempt at cross-partition memory references. This can lead to MCAs in any of these other partitions when the partition is reset. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 9a899e76683639486846ce17dbaa0c2ec1ae5ab5 tree 309deb2d2e81a2594b7d233c0a85804ff6e64db7 parent c08319a9d50b5c9cb4fdb33728bd16497cf4ddd3 author Steve French Tue, 06 Sep 2005 15:55:49 -0700 committer Steve French Tue, 06 Sep 2005 15:55:49 -0700 [CIFS] Update cifs TODO list with additional new features that have been requested. Signed-off-by: Steve French (sfrench@us.ibm.com) commit c08319a9d50b5c9cb4fdb33728bd16497cf4ddd3 tree 5fbec9030029da1ec387c18b85f26f19ee50da44 parent bfa0d75a1eee59f0577e3c1697ff570b77581a35 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Steve French Tue, 06 Sep 2005 15:47:31 -0700 committer Steve French Tue, 06 Sep 2005 15:47:31 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 25732ad493b22b7d9f0d250c5a9ad17219f96a47 tree 6d2c753c248977fdca4b5d423b65d7fbf2f70186 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Bruce Losure Fri, 02 Sep 2005 15:16:35 -0500 committer Tony Luck Tue, 06 Sep 2005 14:16:01 -0700 [IA64] Altix patch for fpga reset 1) workaround a h/w reset issue 2) to improve the determination of FPGA-based h/w in the arch/ia64/sn/kernel/tiocx code. Signed-off-by: Bruce Losure Signed-off-by: Tony Luck commit a9053d0494d3c92807701c0f47df61d50c971581 tree 28cfb17d88d6491c5efd51e00e6937d57b1e81da parent 4dd9e909e3b834b66fd48d6eac50c6557cc50275 parent 6b39374a27eb4be7e9d82145ae270ba02ea90dc8 author Jeff Garzik Mon, 05 Sep 2005 05:14:25 -0400 committer Jeff Garzik Mon, 05 Sep 2005 05:14:25 -0400 /spare/repo/libata-dev branch 'master' commit bfa0d75a1eee59f0577e3c1697ff570b77581a35 tree c5399d95379f71903c4f3e82160bd7b4d36bb42d parent 1c9551878c4629ca78dfe12ed23b9dc8d97770cc author Steve French Wed, 31 Aug 2005 21:50:37 -0700 committer Steve French Wed, 31 Aug 2005 21:50:37 -0700 [CIFS] Add support for legacy servers part 5 Handle small negotiated read sizes (under 4K) and finish up read and write support. Signed-off-by: Steve French commit 1c9551878c4629ca78dfe12ed23b9dc8d97770cc tree 4d9df5ad22d88dd0f62ab9f44d761f1df6a77d55 parent cb8be64084e6294fcb9e558188fe104050b94f0b author Steve French Tue, 30 Aug 2005 20:58:07 -0700 committer Steve French Tue, 30 Aug 2005 20:58:07 -0700 [CIFS] Add support for legacy servers part 4 Fix WriteX support for old servers which do not support large files. Signed-off-by: Steve French commit cb8be64084e6294fcb9e558188fe104050b94f0b tree 6272a7d0b7eab5a6127f9f2c4a6e3006a69a035b parent 16abbecdad3367c76c12537450eba0d86943fe2c author Steve French Tue, 30 Aug 2005 15:25:52 -0700 committer Steve French Tue, 30 Aug 2005 15:25:52 -0700 [CIFS] Add nolock synonym (ala nfs) for nobrl to disable sending byte range locks remotely. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 16abbecdad3367c76c12537450eba0d86943fe2c tree 4e15d2ce6e7ab84587e29c3cdbfed94d25ae5d9f parent 2016ef789a9ded2e169ad1c028ae3deb5302571f author Steve French Tue, 30 Aug 2005 13:10:14 -0700 committer Steve French Tue, 30 Aug 2005 13:10:14 -0700 [CIFS] Add support for suspend cifsd had been preventing software suspend from completing. Signed-off-by: pavel@suse.de Signed-off-by: Steve French lightly modified --- fs/cifs/CHANGES | 3 ++- fs/cifs/cifsfs.c | 4 ++++ fs/cifs/connect.c | 2 ++ 3 files changed, 8 insertions(+), 1 deletions(-) commit 2016ef789a9ded2e169ad1c028ae3deb5302571f tree 601359f15b42d4d9868b4eadfe909a7bef6435c5 parent 7f57356b70dda014ef269135942426e4a852023e parent 6b39374a27eb4be7e9d82145ae270ba02ea90dc8 author Steve French Tue, 30 Aug 2005 11:33:26 -0700 committer Steve French Tue, 30 Aug 2005 11:33:26 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 7f57356b70dda014ef269135942426e4a852023e tree fe17d0aa1882984eb9120389fde048616161f2aa parent a9d02ad49013c8fc527f06ca66417103cdbb08b6 author Steve French Tue, 30 Aug 2005 11:32:14 -0700 committer Steve French Tue, 30 Aug 2005 11:32:14 -0700 [CIFS] Remove cifs_sb argument from *build_path_from_dentry This argument was added in a recent patch, but is unnecessary, since the superblock is easily obtained from the dentry. Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 2fcf522509cceea524b6e7ece8fd6759b682175a tree d356e87307e451cce5497ad8daeeeb047befe489 parent da61396d24e37258817e42537c482e962b4742f7 parent 1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80 author Jeff Garzik Tue, 30 Aug 2005 03:48:57 -0400 committer Jeff Garzik Tue, 30 Aug 2005 03:48:57 -0400 /spare/repo/libata-dev branch 'master' commit 4dd9e909e3b834b66fd48d6eac50c6557cc50275 tree 08315c79b1fbd8e3344881c260dce730e5ebea3c parent 76b2bf9b4dee2fb32ef17f5c84a99ce481a14be2 parent 1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80 author Jeff Garzik Tue, 30 Aug 2005 03:38:51 -0400 committer Jeff Garzik Tue, 30 Aug 2005 03:38:51 -0400 /spare/repo/libata-dev branch 'master' commit 76b2bf9b4dee2fb32ef17f5c84a99ce481a14be2 tree 49cd36d6e980044c2a88f2c14cdc9259e0f0f1b4 parent 2fca877b68b2b4fc5b94277858a1bedd46017cde parent 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 author Jeff Garzik Mon, 29 Aug 2005 19:24:43 -0400 committer Jeff Garzik Mon, 29 Aug 2005 19:24:43 -0400 Merge libata branch 'chs-support' to latest upstream kernel. commit 739cdbf1d8f0739b80035b80d69d871e33749b86 tree 15134df8723ab7d7a5524c99070f02d5739bad0d parent 83bbecc905b3431c60fe282830e09aaaab97b26a parent 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 author Jeff Garzik Mon, 29 Aug 2005 19:10:39 -0400 committer Jeff Garzik Mon, 29 Aug 2005 19:10:39 -0400 Merge /spare/repo/linux-2.6/ commit da61396d24e37258817e42537c482e962b4742f7 tree 4293a5d557b8f9fed8a2bac93f1e5c939c7b65c3 parent 2f058256cb64e346f4fb4499ff4e0f1c2791a4b4 parent 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 author Jeff Garzik Mon, 29 Aug 2005 19:01:43 -0400 committer Jeff Garzik Mon, 29 Aug 2005 19:01:43 -0400 Merge upstream kernel into libata 'passthru' branch commit 2fca877b68b2b4fc5b94277858a1bedd46017cde tree fd02725406299ba2f26354463b3c261721e9eb6b parent ff40c6d3d1437ecdf295b8e39adcb06c3d6021ef parent 02b3e4e2d71b6058ec11cc01c72ac651eb3ded2b author Jeff Garzik Mon, 29 Aug 2005 16:12:36 -0400 committer Jeff Garzik Mon, 29 Aug 2005 16:12:36 -0400 /spare/repo/libata-dev branch 'v2.6.13' commit a9d02ad49013c8fc527f06ca66417103cdbb08b6 tree 9ee3f14e81777296e7057adcfe5c986aea696d47 parent e22cb8bcb8bce94bf5cca90c98933a28816c6a75 author Steve French Wed, 24 Aug 2005 23:06:05 -0700 committer Steve French Wed, 24 Aug 2005 23:06:05 -0700 [CIFS] Support for legacy servers part 3 - Add support for Open and most of Read support. Signed-off-by: Steve French commit e22cb8bcb8bce94bf5cca90c98933a28816c6a75 tree c7b4c27b91b5b6fdb62cce46ede1f75c9fd9862f parent 167a251ad6678ad26aa3cf27bab677b274374ab6 author Steve French Wed, 24 Aug 2005 20:25:21 -0700 committer Steve French Wed, 24 Aug 2005 20:25:21 -0700 [CIFS] Use file instead of dentry in cifs dir_notify struct Signed-off-by: Steve French commit 167a251ad6678ad26aa3cf27bab677b274374ab6 tree 3db2a878de70d180d634d06e5ddf8dc325230e40 parent abb15b8ae4eb7cdff0061e7ac5eca1f8dd8a84af author Steve French Wed, 24 Aug 2005 20:03:11 -0700 committer Steve French Wed, 24 Aug 2005 20:03:11 -0700 [CIFS] Change notify support part 3 Signed-off-by: Steve French commit abb15b8ae4eb7cdff0061e7ac5eca1f8dd8a84af tree fcac3cc1e52c4db1f13c0b97d6512becd3bdc007 parent ff5dbd9ead0d82466cab8bdbdcbc9666707d328a author Steve French Wed, 24 Aug 2005 18:51:02 -0700 committer Steve French Wed, 24 Aug 2005 18:51:02 -0700 [CIFS] Missing line from previous patch Signed-off-by: Steve French (sfrench@us.ibm.com) commit ff5dbd9ead0d82466cab8bdbdcbc9666707d328a tree a0ba466993aa0470fa86d942a6de3bf88fa1d5e1 parent e2a98a7543696306346ba8302a8df6cedf20fdfc author Steve French Wed, 24 Aug 2005 17:10:36 -0700 committer Steve French Wed, 24 Aug 2005 17:10:36 -0700 [CIFS] Change notify support part 2 Signed-off-by: Asser Ferno Signed-off-by: Steve French and lightly modified commit e2a98a7543696306346ba8302a8df6cedf20fdfc tree 73575fd633f91b833bd4c747a4a34546c29e4988 parent 160b13f17c4f92805c4ad03c3336dded15c693e9 author Steve French Wed, 24 Aug 2005 14:43:14 -0700 committer Steve French Wed, 24 Aug 2005 14:43:14 -0700 [CIFS] Update thanks/contributor list with Miklos Szeredi (Signed-off-by: Miklos Szeredi also should have been listed on the last cifs patch fixing some lookup intent handling in cifs) Signed-off-by: Steve French commit 160b13f17c4f92805c4ad03c3336dded15c693e9 tree e5390b0b53c0034e7dc03dcd3ffbfc2180dea39a parent c0c3e8edaabcb6cf6786226813cf087ad21f0743 parent 9c2c38a122cc23d6a09b8004d60a33913683eedf author Steve French Wed, 24 Aug 2005 14:37:23 -0700 committer Steve French Wed, 24 Aug 2005 14:37:23 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit c0c3e8edaabcb6cf6786226813cf087ad21f0743 tree 1a0da19cbcbbe78be105f70bf7cc99d4143d2a71 parent a45443475835ab4d1c753159812aca21b5c333a3 author Steve French Wed, 24 Aug 2005 14:01:13 -0700 committer Steve French Wed, 24 Aug 2005 14:01:13 -0700 CIFS: Fix typos in fs/cifs/CHANGES Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit a45443475835ab4d1c753159812aca21b5c333a3 tree 308c2535875dec62bdafae3d3ed2a98af588d608 parent 6b8edfe0f918e7585acb3bd63f62ff56e32dd3d2 author Steve French Wed, 24 Aug 2005 13:59:35 -0700 committer Steve French Wed, 24 Aug 2005 13:59:35 -0700 CIFS: Reduce CONFIG_CIFS_STATS ifdefs Make cifs_stats code conditional in the header files to avoid ifdefs in the main code. Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 6b8edfe0f918e7585acb3bd63f62ff56e32dd3d2 tree ea9c6c9c85b0653aeac1abad87ad160114de28af parent a10faeb2a3e266385cc334fe9af76e08e5e4330f author Steve French Tue, 23 Aug 2005 20:26:03 -0700 committer Steve French Tue, 23 Aug 2005 20:26:03 -0700 [CIFS] Support for mounting to older servers part 2. Add support for legacy getattr (lookup). Signed-off-by: Steve French (sfrench@us.ibm.com) commit a10faeb2a3e266385cc334fe9af76e08e5e4330f tree 1649766060aeb1bd56fc51af769646ac9ec84539 parent b92327fe6b25d60004b79df9e3c19091c03118ba author Steve French Mon, 22 Aug 2005 21:38:31 -0700 committer Steve French Mon, 22 Aug 2005 21:38:31 -0700 [CIFS] Support for mounting to older, pre-CIFS servers added. This allows specifying an RFC1001 target "called" name (netbios name of the server, which can now be pecified as mount option "servernetbiosname" but will eventually be passed in automatically on retry of host down error messages caused when server refuses to handle default server name and can not handle port 445). This is an important step, but additional testing and fixup is needed to add remaining function needed for these. Signed-off-by: Steve French (sfrench@us.ibm.com) commit b92327fe6b25d60004b79df9e3c19091c03118ba tree 064479872cf0cc83d08f9c719edfd9769b01b9a3 parent a5a2b489bae8f66559a531df99a26eb16b42299e author Steve French Mon, 22 Aug 2005 20:09:43 -0700 committer Steve French Mon, 22 Aug 2005 20:09:43 -0700 [CIFS] Finish up of case-insensitive dentry handling for cifs. This will eventually (or should eventually) be common code for jfs, smbfs, etc. but in the meantime is small enough and necessary when mounting case insensitive to Windows (nocase). Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com) commit a5a2b489bae8f66559a531df99a26eb16b42299e tree 080a579fe5e5382dc3493e302174b9c584964be4 parent 646352319b6cd369750a706706810d87f6b6efa7 author Steve French Sat, 20 Aug 2005 21:42:53 -0700 committer Steve French Sat, 20 Aug 2005 21:42:53 -0700 [CIFS] Make CIFS statistics more accurate and add some stats that were missing. Most importantly SMB reads were undercounted. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 646352319b6cd369750a706706810d87f6b6efa7 tree e7830e1276cbad7d29bf9471def4b8940592c3b7 parent d3485d37c0b3292aec0618b6663c57542df5da99 parent f6fdd7d9c273bb2a20ab467cb57067494f932fa3 author Steve French Sat, 20 Aug 2005 21:40:00 -0700 committer Steve French Sat, 20 Aug 2005 21:40:00 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit d3485d37c0b3292aec0618b6663c57542df5da99 tree ad841f90fdcd0549874eaf42fc048fbf85de645a parent c46fa8acdc533e8084359ea11c79d56eb98313fb author Steve French Fri, 19 Aug 2005 11:04:29 -0700 committer Steve French Fri, 19 Aug 2005 11:04:29 -0700 [CIFS] Finish cifs mount option which requests case insensitive path name matching. Signed-off-by: Steve French (sfrench@us.ibm.com) commit c46fa8acdc533e8084359ea11c79d56eb98313fb tree d9455c92f58c99e342856995668739236bdd09e3 parent 8d0d50948b276b46b75b1b5855d3f9fab1e0fd92 author Steve French Thu, 18 Aug 2005 20:49:57 -0700 committer Steve French Thu, 18 Aug 2005 20:49:57 -0700 [CIFS] Add mount option for disabling sending byte range lock requests over the wire (to help the case when applications break with cifs mandatory lock behavior. Add part one of mount option for requesting case insensitive path name matching. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 8d0d50948b276b46b75b1b5855d3f9fab1e0fd92 tree c0493d906cfd611f8dc3214dbbbd3a8e9e80ebf8 parent f191401f5906f4d942fac87ebeb4671faf1ba7d6 author Steve French Thu, 18 Aug 2005 09:41:43 -0700 committer Steve French Thu, 18 Aug 2005 09:41:43 -0700 [CIFS] Change Notify support part 1 - add dnotify thread for processing notify responses. Signed-off-by: Asser Ferno Signed-off-by: Steve French commit f191401f5906f4d942fac87ebeb4671faf1ba7d6 tree 5d918edb41604cde78668e3fba2cfd9fb4f11641 parent 1982c344f1bf08118f7c224958b30c64e162009e author Steve French Thu, 18 Aug 2005 09:37:34 -0700 committer Steve French Thu, 18 Aug 2005 09:37:34 -0700 [CIFS] rmmod cifs can oops if done soon after the last cifs unmount Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com) commit 1982c344f1bf08118f7c224958b30c64e162009e tree b5268e345010421ca2625b29efc981c187c4df2e parent a59c658607b63ec7b6c2536597a075ee307b1b4c author Steve French Wed, 17 Aug 2005 12:38:22 -0700 committer Steve French Wed, 17 Aug 2005 12:38:22 -0700 [CIFS] Ensure that cifs multiplex ids do not collide. Signed-off-by: Steve French (sfrench@us.ibm.com) commit a59c658607b63ec7b6c2536597a075ee307b1b4c tree e5217df2f7e4a2b3bce1ab8fff4816cc6cd4e964 parent 68984aedabf2552aeb21b9ed232cb8f685444e3a author Steve French Wed, 17 Aug 2005 12:12:19 -0700 committer Steve French Wed, 17 Aug 2005 12:12:19 -0700 [CIFS] Missing ; from previous fix. Pointed out by Shaggy. Signed-off-by: Steve French commit 83bbecc905b3431c60fe282830e09aaaab97b26a tree d3f11fc4b8672ee57f5234bf6c8616de5f080ab5 parent e382eb1dbdb2dec69806a72551bcb4a736142f6d author Tejun Heo Wed, 17 Aug 2005 13:09:18 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add more comments for constants 08_sil24_add-comments-for-constants.patch Add more comments to constants. Signed-off-by: Edward Falk sata_sil24.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit e382eb1dbdb2dec69806a72551bcb4a736142f6d tree c994010074ee6771f0a9edc4b40ea916ffb8deb5 parent 4f50c3cbb4b608ae4d8ee73ce273d819d901a83f author Tejun Heo Wed, 17 Aug 2005 13:09:13 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: fix PORT_CTRL_STAT constants 07_sil24_fix-PORT_CTRL_STAT-constants.patch PORT_CTRL_STAT constants were copied incorrectly from the preview driver. Signed-off-by: Edward Falk sata_sil24.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Signed-off-by: Jeff Garzik commit 4f50c3cbb4b608ae4d8ee73ce273d819d901a83f tree cee924a7ae1c571c76a73b8c021d503b3dbe8237 parent 33d015b9f24d143859bb40dbe7bbb4c7805cee7d author Tejun Heo Wed, 17 Aug 2005 13:09:07 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: replace pp->port w/ ap->ioaddr.cmd_addr 06_sil24_remove-pp-port.patch As ap->ioaddr.cmd_addr isn't used for PORT_TF anymore, replace pp->port w/ it as AHCI does. Signed-off-by: Tejun Heo sata_sil24.c | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) Signed-off-by: Jeff Garzik commit 33d015b9f24d143859bb40dbe7bbb4c7805cee7d tree 5a9471333c9c265686df2b3a3a2f13eeab6ef8e5 parent 8746618d4f18fab25916686b0d8a6be2c2912de1 author Tejun Heo Wed, 17 Aug 2005 13:09:02 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: remove PORT_TF 05_sil24_remove-PORT_TF.patch Remove PORT_TF, as taskfile isn't located at PORT_TF. Signed-off-by: Tejun Heo sata_sil24.c | 7 +------ 1 files changed, 1 insertion(+), 6 deletions(-) Signed-off-by: Jeff Garzik commit 8746618d4f18fab25916686b0d8a6be2c2912de1 tree 93b4479715179b22311d9857358e250be08f8006 parent 06460aeaa26ed4a86b92c8451365d3f48abd3786 author Tejun Heo Wed, 17 Aug 2005 13:08:57 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: move error handling out of hot interrupt path 04_sil24_add-error_intr-function.patch Move error handling from sil24_host_intr into separate function - sil24_error_intr. Signed-off-by: Tejun Heo sata_sil24.c | 55 +++++++++++++++++++++++++++++++------------------------ 1 files changed, 31 insertions(+), 24 deletions(-) Signed-off-by: Jeff Garzik commit 06460aeaa26ed4a86b92c8451365d3f48abd3786 tree 050791de806b74054f760b9debbddb7cac9caf75 parent 3cc4571c4106735665e048850ff6656de9558d60 author Tejun Heo Wed, 17 Aug 2005 13:08:52 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add testing for PCI fault 03_sil24_add-pci-fault-check.patch On entry to interrupt handler, PORT_SLOT_STAT register is read first. Check if PCI fault or device removal has occurred by testing the value for 0xffffffff. Signed-off-by: Tejun Heo sata_sil24.c | 6 ++++++ 1 files changed, 6 insertions(+) Signed-off-by: Jeff Garzik commit 3cc4571c4106735665e048850ff6656de9558d60 tree ce7dc0f5d02af9b247a0a2867010e555dc26834c parent 1483467faa0170cf401955b3d8d3486ea0fe802d author Tejun Heo Wed, 17 Aug 2005 13:08:47 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: remove irq disable code on spurious interrupt 02_sil24_remove-irq-disable-on-spurious-intr.patch If interrupt occurs on a disabled port, the driver used to mask the port's interrupt, but we don't know if such action is necessary yet and that's not what other drives do. So, just do nothing and tell IRQ subsystem that it's not our interrupt. Signed-off-by: Tejun Heo sata_sil24.c | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) Signed-off-by: Jeff Garzik commit 1483467faa0170cf401955b3d8d3486ea0fe802d tree fd159d18cdc2d99336044ee9cb70131aec4d7744 parent a2e30e529a48ef4e106e405f91cf4ae525bb01c4 author Tejun Heo Wed, 17 Aug 2005 13:08:42 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add FIXME comment above ata_device_add 01_sil24_add-FIXME-comment.patch Add FIXME comment above ata_device_add. Signed-off-by: Tejun Heo sata_sil24.c | 1 + 1 files changed, 1 insertion(+) Signed-off-by: Jeff Garzik commit a2e30e529a48ef4e106e405f91cf4ae525bb01c4 tree 2def96ef17c0672c30f1a10287552978bf1d0b1c parent edb3366703224d5d8df573ae698ccd6b488dc743 parent 2ad56496627630ebc99f06af5f81ca23e17e014e author Jeff Garzik Wed, 17 Aug 2005 00:51:31 -0400 committer Jeff Garzik Wed, 17 Aug 2005 00:51:31 -0400 Merge /spare/repo/linux-2.6/ commit 68984aedabf2552aeb21b9ed232cb8f685444e3a tree 803c93116818a1bdf9566c7b00eff7d373567f80 parent 4a6d87f1db06c9670251d6c72a89319e7d1cbaee parent b4b08e581fac8e0ba9ae348bdc13246c9798c99e author Steve French Sun, 14 Aug 2005 16:09:22 -0700 committer Steve French Sun, 14 Aug 2005 16:09:22 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 4a6d87f1db06c9670251d6c72a89319e7d1cbaee tree aa21e8220215933742f931a452d7d96839b93c2b parent a47fd3f5e3a3f970ac1b81643ac56737f97a1fea author Steve French Sat, 13 Aug 2005 08:15:54 -0700 committer Steve French Sat, 13 Aug 2005 08:15:54 -0700 [CIFS] Add missing check for path name allocation failure. Remove four redundant null pointer checks before cifs_buf_release. Found by coverity analyzer. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 2f058256cb64e346f4fb4499ff4e0f1c2791a4b4 tree 91e06602f4d3abb6812ea8c9bc9ba4501e14c84e parent 0274aa2506fd2fe89a58dd6cd64d3b3f7b976af8 parent 86b3786078d63242d3194ffc58ae8dae1d1bbef3 author Jeff Garzik Wed, 10 Aug 2005 13:46:28 -0400 committer Jeff Garzik Wed, 10 Aug 2005 13:46:28 -0400 Merge /spare/repo/linux-2.6/ commit a47fd3f5e3a3f970ac1b81643ac56737f97a1fea tree 09bafe2399f187898ddc6a74176893f0b7f28c6b parent ef6724e32142c2d9ca252d423cacc435c142734e parent 86b3786078d63242d3194ffc58ae8dae1d1bbef3 author Steve French Wed, 10 Aug 2005 08:05:35 -0700 committer Steve French Wed, 10 Aug 2005 08:05:35 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git french@hera:~/linux-2.6(0)$ cg-update l `/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/heads/master' -> `.git/refs/heads/origin' cp: cannot create link `.git/objects/info/packs': File exists progress: 213 objects, 646653 bytes, 77% done `/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects/info/packs' -> `.git/objects/info/packs' progress: 983 objects, 2805763 bytes, 100% done cg-pull: objects pull failed commit 471417c9cfb4c2574e2c03bf2273fe12f5388a8e tree ac026ba976bc253fc87a5cdec8f33d24d03e1c9c parent 20e007b8cc1266ff78810457d6e26c35c6b810ba parent db29e85a7ece62de1899917c1ec0ffe55cf1d3a0 author James Bottomley Tue, 09 Aug 2005 16:20:49 -0500 committer James Bottomley Tue, 09 Aug 2005 16:20:49 -0500 Merge ../linux-2.6 commit 20e007b8cc1266ff78810457d6e26c35c6b810ba tree 2a1080f78b400d40670fb3bacb5e92a0c4cfed68 parent 7ba2471389071707cb45e7f755b417edad68049d author James Bottomley Sat, 06 Aug 2005 11:50:03 -0500 committer James Bottomley Tue, 09 Aug 2005 16:18:19 -0500 [SCSI] iscsi: fix 64 bit compile warning drivers/scsi/scsi_transport_iscsi.c: In function `show_transport_handle': drivers/scsi/scsi_transport_iscsi.c:100: warning: long long unsigned int format, long unsigned int arg (arg 3) is caused because uint64_t is only unsigned long on a 64 bit platform. Fix this by casting to unsigned long long. Signed-off-by: James Bottomley commit 7ba2471389071707cb45e7f755b417edad68049d tree 0e991173dee1e063da04034c9853ebd45d9eccc5 parent c899e4ef96f01b7e051045e08f3a8fe5e5f2bbb7 author Alex Aizman Thu, 04 Aug 2005 19:30:08 -0700 committer James Bottomley Sat, 06 Aug 2005 09:35:35 -0500 [SCSI] open-iscsi/linux-iscsi-5 Initiator: Initiator code drivers/scsi/iscsi_tcp.c, iscsi data path. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit c899e4ef96f01b7e051045e08f3a8fe5e5f2bbb7 tree 579e1bc660e18cfb3cca3ef54675937344be8fda parent 0896b752302662909b52895bd7f601136001069d author Alex Aizman Thu, 04 Aug 2005 19:33:15 -0700 committer James Bottomley Sat, 06 Aug 2005 09:35:14 -0500 [SCSI] open-iscsi/linux-iscsi-5 Initiator: Kconfig update Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 0896b752302662909b52895bd7f601136001069d tree ceaf9740d0258ff45cadf81f10468e637f5ee13a parent c213ca0792bd83075233a48090c46155249b3991 author Alex Aizman Thu, 04 Aug 2005 19:33:07 -0700 committer James Bottomley Sat, 06 Aug 2005 09:34:48 -0500 [SCSI] open-iscsi/linux-iscsi-5 Initiator: Transport class update for iSCSI Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit c213ca0792bd83075233a48090c46155249b3991 tree 156120e20dbf01a372a6c52dcab86175e6e75089 parent 39e84790d3b65a4af1ea1fb0d8f06c3ad75304b3 author Alex Aizman Thu, 04 Aug 2005 19:30:31 -0700 committer James Bottomley Sat, 06 Aug 2005 09:34:20 -0500 [SCSI] open-iscsi/linux-iscsi-5 Initiator: Initiator header drivers/scsi/iscsi_tcp.h, header file. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 39e84790d3b65a4af1ea1fb0d8f06c3ad75304b3 tree 9b2be0119cb4020adccaf2ff959fc8cbbf3e2711 parent 885ececaa9e20750d147557fa7f39dbcdac77daa author Alex Aizman Thu, 04 Aug 2005 19:31:00 -0700 committer James Bottomley Sat, 06 Aug 2005 09:33:41 -0500 [SCSI] open-iscsi/linux-iscsi-5 Initiator: Header files open-iscsi-headers.patch - common header files: - iscsi_if.h (user/kernel #defines and user/kernel events); - iscsi_proto.h (RFC3720 #defines and types); - scsi_transport_iscsi.h (transport API, transport #defines and types). Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 885ececaa9e20750d147557fa7f39dbcdac77daa tree b70a0b0d836ffc92d6cebde491c578120edd9d25 parent 534afb90a9cd0b9643f62d660c164e1d924f39cf author Alex Aizman Thu, 04 Aug 2005 19:31:27 -0700 committer James Bottomley Sat, 06 Aug 2005 09:32:44 -0500 [SCSI] open-iscsi/linux-iscsi-5 Initiator: Makefile Updates Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 8b491d750885ebe8e7d385ce4186c85957d67123 tree 18c7eb52bfc8821eaf08430fdaa5ce70078f2200 parent 1da2c9a638f8af7be3daf1fa8dbd087b3284d16e author Todd Poynor Thu, 04 Aug 2005 02:05:51 +0100 committer Thomas Gleixner Thu, 04 Aug 2005 12:52:40 +0200 [MTD] mtdchar: Return EINVAL for bad seeks instead of fixing up to valid byte mtdchar return -EINVAL for seek prior to offset 0 or to beyond the last byte in the device/partition, similar to various other seek methods, instead of fixing up to first or last byte. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 1da2c9a638f8af7be3daf1fa8dbd087b3284d16e tree 6a19cb3ae7b28fa0f71c1020bb4c076a53595df8 parent 65a8de36b48f1c1cd02940c4480bc8e290540d18 author Todd Poynor Tue, 02 Aug 2005 21:36:09 +0100 committer Thomas Gleixner Thu, 04 Aug 2005 12:52:09 +0200 [MTD] Pre-CFI Sharp chip driver: Some speedups and cleanups Remove useless udelay(100) after status value already read. Poll for status OK with reduced udelay if not immediate OK status return. Fix read and compare of 32-bit status value using 16-bit variable. Include slab.h since kmalloc/kfree are called. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 65a8de36b48f1c1cd02940c4480bc8e290540d18 tree 733f1f4f457925be88d3dc5451f0413ed8e37108 parent 7ad2b7f5955f117bfca99c6b7cd7483d25f6a8af author Todd Poynor Fri, 29 Jul 2005 20:42:07 +0100 committer Thomas Gleixner Thu, 04 Aug 2005 12:51:18 +0200 [MTD] mtd_blkdevs.c: Fix names when many devices/partitions are created mtdblock (and other mtd modules that use the mtd_blkdevs interface between the mtd translation layers and the linux block layer) handles incorrectly more than 10 devices or 26 partitions in the names passed to the generic disk layer. This causes the device file names and other info kept by the generic disk/block layers to have names such as "mtdblock<". Use integer formatting for device numbers; use "aa-az" for partitions 27-52, "ba-bz" for 53-78... Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 7ad2b7f5955f117bfca99c6b7cd7483d25f6a8af tree 882383f2cb4d622077b59b92b7cabf68005e9902 parent d88f977b85d251f548add3d0a76fc186f99b1b21 author Todd Poynor Fri, 29 Jul 2005 02:57:58 +0100 committer Thomas Gleixner Thu, 04 Aug 2005 12:50:48 +0200 [MTD] mtd_blkdevs.c: Remove DEVFS leftovers Remove mtd_blkdevs refs to the no longer functional DEVFS filesystem. Verified mtdblock continues to work fine via udev with these calls removed. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit d88f977b85d251f548add3d0a76fc186f99b1b21 tree 4c8aecff90397868914a286af6328b08cc911e54 parent d95a1b4818f2fe38a3cfc9a7d5817dc9a1a69329 author Todd Poynor Wed, 20 Jul 2005 22:01:17 +0100 committer Thomas Gleixner Thu, 04 Aug 2005 12:49:25 +0200 [MTD] CHIPS: Recognize Spansion CFI 1.4 chips Modify Amd/Fujitsu CFI NOR flash primary vendor extension table revision check to recognize version 1.4. Verified the existing driver can handle version 1.4 chips without additional info from 1.4 extended table. Move the primary vendor extension table revision check from common file to the 3 CFI chip driver files, since the data structures and revisions handled by those data structures are specific to the chip driver. Modify the error message printed when the revision is unknown to be a KERN_ERR instead of WARNING since this will cause mtd to ignore the chip. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit ef6724e32142c2d9ca252d423cacc435c142734e tree 5d002426e75eba4e2299b8bcc1f476c75ffb6cf2 parent bcf7e34a71afe24dc210b7825f6f139774cb905c author Steve French Tue, 02 Aug 2005 21:31:05 -0700 committer Steve French Tue, 02 Aug 2005 21:31:05 -0700 [CIFS] Fix missing entries in search results when very long file names and more than 50 (or so) of such long search entries in the directory. FindNext could send corrupt last byte of resume name when resume key was a few hundred bytes long file name or longer. Fixes Samba Bug # 2932 Signed-off-by: Steve French (sfrench@us.ibm.com) commit bcf7e34a71afe24dc210b7825f6f139774cb905c tree d81a8f89eb103290ae70008fde185c068d9f7a4f parent eda3c029899cbf435d76fea43b7e1404439ccec9 parent 688d191821de7893043f5a37970472627aaffa4e author Steve French Tue, 02 Aug 2005 21:20:47 -0700 committer Steve French Tue, 02 Aug 2005 21:20:47 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit edb3366703224d5d8df573ae698ccd6b488dc743 tree 7c70fd03a94733fe012700637aacf800bcd2c2c5 parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Tejun Heo Thu, 28 Jul 2005 10:36:22 +0900 committer Jeff Garzik Thu, 28 Jul 2005 16:04:18 -0400 [PATCH] SATA: rewritten sil24 driver This is rewritten sil24 driver against v2.6.13-rc3. Rewritten based on driver originally submitted by Silicon Image. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit eda3c029899cbf435d76fea43b7e1404439ccec9 tree 334ad2504575c4c22247e62c4add3bb2cb54f502 parent 076fb01e8238b7e5d68ba0d729c0ff7716d1d8ec author Steve French Thu, 21 Jul 2005 15:20:28 -0700 committer Steve French Thu, 21 Jul 2005 15:20:28 -0700 [CIFS] Add compat with SFU (part 2) Creating FIFOs to non-Unix servers (with cifs mounts for which sfu option was specified) now works. Signed-off-by: Steve French (sfrench@us.ibm.com) Thanks to Martin Koeppe for his assistance commit 076fb01e8238b7e5d68ba0d729c0ff7716d1d8ec tree abcaefe016870427ed289748cb0b936575d60593 parent 4c48b0d3d1c7ff9f13134b30e41c6e81a92027bf parent f60f700876cd51de9de69f3a3c865d95e287a24d author Steve French Tue, 19 Jul 2005 14:36:00 -0700 committer Steve French Tue, 19 Jul 2005 14:36:00 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 4c48b0d3d1c7ff9f13134b30e41c6e81a92027bf tree 4a717195673e1abc459e1bd70fb0b0e0aac45d8b parent f4cfd69cf349dd27e00d5cf804b57aee04e059c2 parent 38d84c3bd6dd22bdb1f797c87006931133d71aea author Steve French Fri, 15 Jul 2005 13:14:28 -0700 committer Steve French Fri, 15 Jul 2005 13:14:28 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit f4cfd69cf349dd27e00d5cf804b57aee04e059c2 tree 9cf95e3f451814db89ab10a1e292b59f817bd00f parent d7245c2ccf14cde2023273c1ec246732d96e2c27 author Steve French Thu, 14 Jul 2005 18:29:02 -0500 committer Steve French Thu, 14 Jul 2005 18:29:02 -0500 [CIFS] Fix path name conversion for long filenames when mapchars mount option was specified at mount time. Signed-off-by: Steve French (sfrench@us.ibm.com) commit d7245c2ccf14cde2023273c1ec246732d96e2c27 tree 657d7b5c9431b6117659f9638f4121ac237d4c5f parent 4887c61811c2283162684d7f9075b7676ef6a9bf author Steve French Thu, 14 Jul 2005 18:25:12 -0500 committer Steve French Thu, 14 Jul 2005 18:25:12 -0500 [CIFS] Add compat with SFU (part 1) This should help the case of creating fifos and other special files to servers which do not support the Unix extensions. Signed-off-by: Steve French (sfrench@us.ibm.com) Thanks to Martin Koeppe for his suggestions and good analysis commit 4887c61811c2283162684d7f9075b7676ef6a9bf tree 19bfdbe4d2f3a108dfa260ceebe13aab2e31a9dc parent c27510c031cae15f84b90f28d6dc02c314d84cf8 parent c32511e2718618f0b53479eb36e07439aa363a74 author Steve French Wed, 13 Jul 2005 10:08:04 -0700 committer Steve French Wed, 13 Jul 2005 10:08:04 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit c27510c031cae15f84b90f28d6dc02c314d84cf8 tree ece97a4b2f3d8e5ce3588c55f353a16c46101d8f parent ab997aaeb9cf7a0da1cecc46c5bb6c7262416917 parent 9f02d6b7b43d46a74dd385f06090104ecd0fb807 author Steve French Tue, 12 Jul 2005 15:06:31 -0700 committer Steve French Tue, 12 Jul 2005 15:06:31 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit ab997aaeb9cf7a0da1cecc46c5bb6c7262416917 tree b8a09ed676101a2478d17c1d71da1274293c3c64 parent fa5cfae37799177769e9ae2c0527fbdfea462fa9 parent bd53d1270f51c6cfb53b06c8f93fd42327871d6b author Steve French Thu, 30 Jun 2005 20:57:39 -0700 committer Steve French Thu, 30 Jun 2005 20:57:39 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit fa5cfae37799177769e9ae2c0527fbdfea462fa9 tree 02f99e208949486c8899a310846dee444bac8093 parent 0c0ff09329dafb165c0d9ac08965ddc0615020b1 parent 16822e62053e73fa7def9decc38a7e287d27d980 author Steve French Thu, 23 Jun 2005 19:03:20 -0700 committer Steve French Thu, 23 Jun 2005 19:03:20 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 0c0ff09329dafb165c0d9ac08965ddc0615020b1 tree 19b4cf11057b8cc740382c7d2c63b84538d45819 parent 45abc6ee2b916a235d6824a41225177bd6e5e24f author Steve French Thu, 23 Jun 2005 19:31:17 -0500 committer Steve French Thu, 23 Jun 2005 19:31:17 -0500 [CIFS] Performance improvement, finish up adding CIFSSMBWrite2 Signed-off-by: Steve French (sfrench@us.ibm.com) commit 45abc6ee2b916a235d6824a41225177bd6e5e24f tree 3917490721cd007eac3304078b22cdc6c58c4e6e parent ea0daab4ae4a2f853f06c76961c0ed324fd0804c author Steve French Thu, 23 Jun 2005 13:42:03 -0500 committer Steve French Thu, 23 Jun 2005 13:42:03 -0500 [CIFS] Fix typo in POSIX SetFSInfo call Signed-off-by: Steve French (sfrench@us.ibm.com) commit ea0daab4ae4a2f853f06c76961c0ed324fd0804c tree f6fbe2db5772695181b7a7257b05e43343bd8d75 parent 58aab753de605c14b9878a897e7349c3063afeff parent 1bdf7a78c2b21fb94dfe7994dbe89310b18479d2 author Steve French Wed, 22 Jun 2005 20:26:47 -0500 committer Steve French Wed, 22 Jun 2005 20:26:47 -0500 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git commit 1bdf7a78c2b21fb94dfe7994dbe89310b18479d2 tree 7741cfd476f9c622a10c198da421fdb3e38708b9 parent ac67055ef2378ea95c34b593ddf9d0a0737a240a parent a4936044001694f033fe4ea94d6034d51a6b465c author Jeremy Allison Wed, 22 Jun 2005 17:35:06 -0700 committer Steve French Wed, 22 Jun 2005 17:35:06 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit ac67055ef2378ea95c34b593ddf9d0a0737a240a tree 78f76cde63f158b318a57a3972a77731d8fb0ef6 parent dfb7533b5f157ac7135da23883e80d895227d965 author Jeremy Allison Wed, 22 Jun 2005 17:26:35 -0700 committer Steve French Wed, 22 Jun 2005 17:26:35 -0700 [CIFS] POSIX extensions, SetFSInfo added Signed-off-by: Steve French@sfrench@us.ibm.com Signed-off-by: Jeremy Allison (jra@samba.org) commit dfb7533b5f157ac7135da23883e80d895227d965 tree 6a09f6d0945653bb21a2cdc8f050b82a4671227c parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Steve French Wed, 22 Jun 2005 17:13:47 -0700 committer Steve French Wed, 22 Jun 2005 17:13:47 -0700 [CIFS] Add stats for findfirst, findnext, findclose Signed-off-by: Steve French (sfrench@us.ibm.com) commit 0274aa2506fd2fe89a58dd6cd64d3b3f7b976af8 tree be336e9d13a0a3f2d75bf60918781573afe76a53 parent 80bd6d7f5e0d872a0f5a151473d2a39d95d210a8 author Jeff Garzik Wed, 22 Jun 2005 13:50:56 -0400 committer Jeff Garzik Wed, 22 Jun 2005 13:50:56 -0400 libata: Update 'passthru' branch for latest libata commit 80bd6d7f5e0d872a0f5a151473d2a39d95d210a8 tree b3a36048d6b7de88f7e906624ecb4b98816bb736 parent 949d33e70f2c3e93bfe5265a50e40175b1ab1ec1 parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Jeff Garzik Wed, 22 Jun 2005 13:10:49 -0400 committer Jeff Garzik Wed, 22 Jun 2005 13:10:49 -0400 Merge /spare/repo/linux-2.6/ commit ff40c6d3d1437ecdf295b8e39adcb06c3d6021ef tree 3666d029b4bd4df2909dbefd9c7a09e6042b7d32 parent 8bf62ecee58360749c5f0e68bc97d5e02a6816b1 parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Jeff Garzik Wed, 22 Jun 2005 13:07:28 -0400 committer Jeff Garzik Wed, 22 Jun 2005 13:07:28 -0400 Merge upstream kernel changes into 'C/H/S support' branch of libata. commit 58aab753de605c14b9878a897e7349c3063afeff tree c9339c8cbcaae4dfe2232618fe6de1398d05455e parent 5893a65711164e42fea4a58bb8adf47c2fac8a4b parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Steve French Mon, 20 Jun 2005 13:12:51 -0500 committer Steve French Mon, 20 Jun 2005 13:12:51 -0500 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git commit 5893a65711164e42fea4a58bb8adf47c2fac8a4b tree 31b5f20e314aae236b06998de3fffeb729581af5 parent d6e04ae64c6b06ef76a5d4fb49106b393b7fa50a parent c0105338eb4e61e537ca34ae06921177cb6efcf0 author Steve French Mon, 13 Jun 2005 13:25:38 -0500 committer Steve French Mon, 13 Jun 2005 13:25:38 -0500 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git commit d6e04ae64c6b06ef76a5d4fb49106b393b7fa50a tree 0ae0d4e7c94ccbba95e55d7512eb628d845eff20 parent 2830077f7ae93ef2f7a312e3e489110963612e77 author Steve French Mon, 13 Jun 2005 13:24:43 -0500 committer Steve French Mon, 13 Jun 2005 13:24:43 -0500 [CIFS] CIFS writepage improvements - eliminate double copy Signed-off-by: Steve French (sfrench@us.ibm.com) commit 2830077f7ae93ef2f7a312e3e489110963612e77 tree 039fea827a1376552ef89ab686168947e3558069 parent 36358c21423d58dde90aedde2b8517192c4092f4 parent 0b68177ccd12866d9f19cafad212b861c9d02a8c author Steve French Mon, 06 Jun 2005 12:31:45 -0500 committer Steve French Mon, 06 Jun 2005 12:31:45 -0500 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git commit 36358c21423d58dde90aedde2b8517192c4092f4 tree 46e5913ef683c48d9aaefe3e087ad791b1c4a30c parent d0d2f2df65ddea9a30ddd117f769bfff65d3fc56 author Alexey Dobriyan Thu, 02 Jun 2005 20:01:16 -0500 committer Steve French Thu, 02 Jun 2005 20:01:16 -0500 [CIFS] fs/cifs/netmisc.c: fix sparse warning Signed-off-by: Steve French Signed-off-by: Alexey Dobriyan Signed-off-by: Domen Puncer commit 949d33e70f2c3e93bfe5265a50e40175b1ab1ec1 tree ca88fd8f8f81b167dc4685ed34e9636f267db60d parent b095518ef51c37658c58367bd19240b8a113f25c parent bef9c558841604116704e10b3d9ff3dbf4939423 author Thu, 26 May 2005 01:47:10 -0400 committer Jeff Garzik Thu, 26 May 2005 01:47:10 -0400 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git branch HEAD commit b095518ef51c37658c58367bd19240b8a113f25c tree fc65e55b8786c48067338b8097bae1cbc13fbaac parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Jeff Garzik Thu, 12 May 2005 15:45:22 -0400 committer Jeff Garzik Thu, 12 May 2005 15:45:22 -0400 [libata] ATA passthru (arbitrary ATA command execution) Authors: Brett Russ John W. Linville Andy Warner commit 8bf62ecee58360749c5f0e68bc97d5e02a6816b1 tree a3da6e695fc5a71ac7f3246707380a9ac22f6402 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Albert Lee Thu, 12 May 2005 15:29:42 -0400 committer Jeff Garzik Thu, 12 May 2005 15:29:42 -0400 [libata] C/H/S support, for older devices