commit 1604d9c8f8dffafe3a077dc5ae7c935d2318bcf6 tree 176e2dd02e60942bd1afc7ec45bbb18939461424 parent a8400986fb0bff251ac4dd9e2188cf0b59443d3f parent 3b5cc09033f49d004006acf44e5b05036bd46a85 author Linus Torvalds Mon, 11 Jul 2005 14:08:08 -0700 committer Linus Torvalds Mon, 11 Jul 2005 14:08:08 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 3b5cc09033f49d004006acf44e5b05036bd46a85 tree dcae13f5768234fe59736e877885ee6d8b4fc0fc parent 699139279d29e36e39d353b0536b510dab2e5ffa author Kenji Kaneshige Sun, 10 Jul 2005 21:49:00 -0700 committer Tony Luck Mon, 11 Jul 2005 10:30:07 -0700 [IA64] assign_irq_vector() should not panic Current assign_irq_vector() will panic if interrupt vectors is running out. But I think how to handle the case of lack of interrupt vectors should be handled by the caller of this function. For example, some PCI devices can raise the interrupt signal via both MSI and I/O APIC. So even if the driver for these device fails to allocate a vector for MSI, the driver still has a chance to use I/O APIC based interrupt. But currently there is no chance for these driver to use I/O APIC based interrupt because kernel will panic when assign_irq_vector() fails to allocate interrupt vector. The following patch changes assign_irq_vector() for ia64 to return -ENOSPC on error instead of panic (as i386 and x86_64 versions do). Signed-off-by: Kenji Kaneshige Signed-off-by: Tony Luck commit 699139279d29e36e39d353b0536b510dab2e5ffa tree 228dbf79b2a79387c12f9b34622d70f84d88c72a parent d0feafbf14ebe860136b8ad84cce42b34defb323 author Nishanth Aravamudan Fri, 08 Jul 2005 17:10:00 -0700 committer Tony Luck Mon, 11 Jul 2005 10:26:40 -0700 [IA64] use msleep_interruptible() instead of schedule_timeout Description: Replace schedule_timeout() with msleep_interruptible() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Acked-by: Dean Nelson Signed-off-by: Tony Luck commit a8400986fb0bff251ac4dd9e2188cf0b59443d3f tree 39e0c7a47a82042a701af0dbaf8e7f8230dd6aa5 parent 623cdf4a04a9856f93e32e7716ed8196f6d5ee3b author Miles Bader Mon, 11 Jul 2005 18:24:50 +0900 committer Linus Torvalds Mon, 11 Jul 2005 10:22:39 -0700 [PATCH] v850: Update mmu.h header to match implementation changes Signed-off-by: Miles Bader Signed-off-by: Linus Torvalds commit 623cdf4a04a9856f93e32e7716ed8196f6d5ee3b tree 6ddd195702acecfeda6399b9fdf64880d7181e09 parent 200d481f28be4522464bb849dd0eb5f8cb6be781 author Miles Bader Mon, 11 Jul 2005 18:24:50 +0900 committer Linus Torvalds Mon, 11 Jul 2005 10:22:39 -0700 [PATCH] v850: Update checksum.h to match changed function signatures Signed-off-by: Miles Bader Signed-off-by: Linus Torvalds commit 200d481f28be4522464bb849dd0eb5f8cb6be781 tree 8cd00ead1b202dfd377cf34000a5193959aa2e8b parent f43a64c5e1a65d12b9b53a35ed2d5db441fcb64c parent 97f927a4d7dbccde0a854a62c3ea54d90bae8679 author Linus Torvalds Mon, 11 Jul 2005 10:18:18 -0700 committer Linus Torvalds Mon, 11 Jul 2005 10:18:18 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 commit f43a64c5e1a65d12b9b53a35ed2d5db441fcb64c tree 64e83b3cce9d8e659a48cd706c59c09dc183b6dc parent 5c23804a0941a111752fdacefe0bea2db1b4d93f parent f7ceba360cce9af3fbc4e5a5b1bd40b570b7021c author Linus Torvalds Mon, 11 Jul 2005 10:09:59 -0700 committer Linus Torvalds Mon, 11 Jul 2005 10:09:59 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit d0feafbf14ebe860136b8ad84cce42b34defb323 tree 5ca2a400013a8fd729d7b03b27d311b505ec6627 parent e7578c08a4dee36fe01fb38805f325689e642eb0 author Olaf Hering Sun, 10 Jul 2005 12:35:00 -0700 committer Tony Luck Mon, 11 Jul 2005 09:58:52 -0700 [IA64] remove linux/version.h include from arch/ia64 changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering Signed-off-by: Tony Luck commit e7578c08a4dee36fe01fb38805f325689e642eb0 tree 7426054f6226aa2349ee0c0a3970aeef9276ea59 parent 763b3917e779c9c25d56fc71a796774185cd6ce2 parent 5c23804a0941a111752fdacefe0bea2db1b4d93f author Tony Luck Mon, 11 Jul 2005 09:43:11 -0700 committer Tony Luck Mon, 11 Jul 2005 09:43:11 -0700 Auto merge with /home/aegl/GIT/linus commit f7ceba360cce9af3fbc4e5a5b1bd40b570b7021c tree 1d138496048bbf5851cd60dee7acb912cffc6971 parent 8d8a64796fdee4e20355c6c12c9cc630a2e7494d author David S. Miller Sun, 10 Jul 2005 19:29:45 -0700 committer David S. Miller Sun, 10 Jul 2005 19:29:45 -0700 [SPARC64]: Add syscall auditing support. Signed-off-by: David S. Miller commit 8d8a64796fdee4e20355c6c12c9cc630a2e7494d tree dc0d548a520bdad1e2aa7752153bf7c787fc04bd parent bb49bcda15f1bc1a52c7f887db278447f332eaa7 author David S. Miller Sun, 10 Jul 2005 16:55:48 -0700 committer David S. Miller Sun, 10 Jul 2005 16:55:48 -0700 [SPARC64]: Pass regs and entry/exit boolean to syscall_trace() Also fix a bug in 32-bit syscall tracing. We forgot to update this code when we moved over to the convention that all 32-bit syscall arguments are zero extended by default. Signed-off-by: David S. Miller commit bb49bcda15f1bc1a52c7f887db278447f332eaa7 tree dec754638f3cbc4123e715c42573648859e20735 parent af166d15c3ad4d501a0c4fb5b4547bb2ba205918 author David S. Miller Sun, 10 Jul 2005 16:49:28 -0700 committer David S. Miller Sun, 10 Jul 2005 16:49:28 -0700 [SPARC64]: Add SECCOMP support. Signed-off-by: David S. Miller commit af166d15c3ad4d501a0c4fb5b4547bb2ba205918 tree a10b1436aa44052ffee35ac062925e12f89c9976 parent d369ddd2fc00fc3f46e9052d1017cbf407e3cdf7 author David S. Miller Sun, 10 Jul 2005 15:56:40 -0700 committer David S. Miller Sun, 10 Jul 2005 15:56:40 -0700 [SPARC64]: Kill ancient and unused SYSCALL_TRACING debugging code. Signed-off-by: David S. Miller commit d369ddd2fc00fc3f46e9052d1017cbf407e3cdf7 tree e7c91ce6639064462cb831dd0c48b9b93cad68d4 parent 9126dfde9e5efd76f9d4246819bdc7ea66de3af0 author David S. Miller Sun, 10 Jul 2005 15:45:11 -0700 committer David S. Miller Sun, 10 Jul 2005 15:45:11 -0700 [SPARC64]: Add __read_mostly support. Signed-off-by: David S. Miller commit 9126dfde9e5efd76f9d4246819bdc7ea66de3af0 tree 4612cb20af3274a9037830736110ceed91bb612d parent 0109fd37046de64e8459f8c4f4706df9ac7cc82c author David S. Miller Sun, 10 Jul 2005 15:11:45 -0700 committer David S. Miller Sun, 10 Jul 2005 15:11:45 -0700 [SPARC]: Add ioprio system call support. Signed-off-by: David S. Miller commit 5c23804a0941a111752fdacefe0bea2db1b4d93f tree 482436cd247783c7df3d522fdc4ee51e2b3e87dc parent 58c853c6eabe93ab5e5daf7150fbb4e562acbb79 parent ec6bced6c7b92904f5ead39c9c1b8dc734e6eff0 author Linus Torvalds Sun, 10 Jul 2005 12:57:49 -0700 committer Linus Torvalds Sun, 10 Jul 2005 12:57:49 -0700 Merge master.kernel.org:~rmk/linux-2.6-arm.git commit 58c853c6eabe93ab5e5daf7150fbb4e562acbb79 tree 4759dfcf8ac9d3666c4c260972aeb7bb360c65d9 parent 1934b8b6561ee7804b0a671b48cf642fcd936b2c author Stephen Rothwell Sun, 10 Jul 2005 23:12:01 +1000 committer Linus Torvalds Sun, 10 Jul 2005 12:23:24 -0700 [PATCH] remove asm-xtensa/ipc.h Now that sys_ipc has been removed from xtensa, asm/ipc.h is no longer needed for that architecture. Not tested, but obviously correct. This file is included only from arch code and this patch also removes the only inclusion. Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds commit 1934b8b6561ee7804b0a671b48cf642fcd936b2c tree 25c975176441aceedd2faae515121374f6f75750 parent f179bc77d09b9087bfc559d0368bba350342ac76 author Ben Collins Sat, 09 Jul 2005 20:01:23 -0400 committer Linus Torvalds Sun, 10 Jul 2005 12:23:23 -0700 [PATCH] Sync up ieee-1394 Lots of this patch is trivial code cleanups (static vars were being intialized to 0, etc). There's also some fixes for ISO transmits (max buffer handling). Aswell, we have a few fixes to disable IRM capabilites correctly. We've also disabled, by default some generally unused EXPORT symbols for the sake of cleanliness in the kernel. However, instead of removing them completely, we felt it necessary to have a config option that allowed them to be enabled for the many projects outside of the main kernel tree that use our API for driver development. The primary reason for this patch is to revert a MODE6->MODE10 RBC conversion patch from the SCSI maintainers. The new conversions handled directly in the scsi layer do not seem to work for SBP2. This patch reverts to our old working code so that users can enjoy using Firewire disks and dvd drives again. We are working with the SCSI maintainers to resolve this issue outside of the main kernel tree. We'll merge the patch once the SCSI layer's handling of the MODE10 conversion is working for us. Signed-off-by: Linus Torvalds commit ec6bced6c7b92904f5ead39c9c1b8dc734e6eff0 tree f29a540369cd7c2196b9afd682b1e2943bbb80f7 parent d3b83419117c8f7fd762b488b67393b94fa94762 author Tony Lindgren Sun, 10 Jul 2005 19:58:20 +0100 committer Russell King Sun, 10 Jul 2005 19:58:20 +0100 [PATCH] ARM: 2803/1: OMAP update 11/11: Add cpufreq support Patch from Tony Lindgren This patch adds minimal cpufreq support for OMAP taking advantage of the clock framework. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit d3b83419117c8f7fd762b488b67393b94fa94762 tree dfbb1ef87c66b588924b22dc46ea4175d2757f6c parent bb13b5fdba16d5b30fe97f3d167bb138b978b71c author Tony Lindgren Sun, 10 Jul 2005 19:58:19 +0100 committer Russell King Sun, 10 Jul 2005 19:58:19 +0100 [PATCH] ARM: 2805/1: OMAP update 10/11: Update H2 defconfig Patch from Tony Lindgren This patch updates H2 defconfig. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit bb13b5fdba16d5b30fe97f3d167bb138b978b71c tree 23e706d3412b29579909c499e1d9e62cc40a6f5e parent d48af15ea7227d633ddd5002223c2b122b1032e1 author Tony Lindgren Sun, 10 Jul 2005 19:58:18 +0100 committer Russell King Sun, 10 Jul 2005 19:58:18 +0100 [PATCH] ARM: 2804/1: OMAP update 9/11: Update OMAP arch files Patch from Tony Lindgren This patch by various OMAP developers syncs the OMAP specific arch files with the linux-omap tree. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit d48af15ea7227d633ddd5002223c2b122b1032e1 tree 15cd2bb63a592bd00b9a83def1a6c5546e923fe4 parent 5e1c5ff4783e0ddd241580c9996390508722190e author Tony Lindgren Sun, 10 Jul 2005 19:58:17 +0100 committer Russell King Sun, 10 Jul 2005 19:58:17 +0100 [PATCH] ARM: 2802/1: OMAP update 8/11: Update OMAP arch files Patch from Tony Lindgren This patch by various OMAP developers syncs the OMAP specific arch files with the linux-omap tree. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 5e1c5ff4783e0ddd241580c9996390508722190e tree 6c0a8a16046936f9046488790f817e0aa5884ac5 parent b91585560b59fd3ef4e20ca6f7d35aefda193774 author Tony Lindgren Sun, 10 Jul 2005 19:58:15 +0100 committer Russell King Sun, 10 Jul 2005 19:58:15 +0100 [PATCH] ARM: 2812/1: OMAP update 7c/11: Move arch-omap to plat-omap Patch from Tony Lindgren This patch move common OMAP code from arch-omap to plat-omap directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit b91585560b59fd3ef4e20ca6f7d35aefda193774 tree b2e04af0c28e65a418f937321f454f6289ba828a parent 60906a8a4e07eb179a2ed90dda23fa36972c6336 author Tony Lindgren Sun, 10 Jul 2005 19:58:14 +0100 committer Russell King Sun, 10 Jul 2005 19:58:14 +0100 [PATCH] ARM: 2809/1: OMAP update 7b/11: Move arch-omap to plat-omap Patch from Tony Lindgren This patch move common OMAP code from arch-omap to plat-omap directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 60906a8a4e07eb179a2ed90dda23fa36972c6336 tree 42105cffbdb2d8ef3275d161cac514ecd0504d2b parent f577ffd75c02b6087d5bf5ca89f806b10f2a0246 author Tony Lindgren Sun, 10 Jul 2005 19:58:13 +0100 committer Russell King Sun, 10 Jul 2005 19:58:13 +0100 [PATCH] ARM: 2807/1: OMAP update 7a/11: Move arch-omap to plat-omap Patch from Tony Lindgren This patch move common OMAP code from arch-omap to plat-omap directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit f577ffd75c02b6087d5bf5ca89f806b10f2a0246 tree 9dc99ecfe14981cbe057ebaf35e40b5797f1211a parent dbdf9cedfcc81202360763530412d746d798b7b6 author Tony Lindgren Sun, 10 Jul 2005 19:58:12 +0100 committer Russell King Sun, 10 Jul 2005 19:58:12 +0100 [PATCH] ARM: 2801/1: OMAP update 6/11: Split OMAP1 common code into id, io and serial Patch from Tony Lindgren This patch by Juha Yrjölä and other OMAP developers splits OMAP1 specific common code into OMAP1 id, io, and serial code in mach-omap1 directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit dbdf9cedfcc81202360763530412d746d798b7b6 tree 5698d59a01b1417cf508a006dd121baf7df9ea03 parent 6f3e14163e066a6f43a54098a12185f25400fd68 author Tony Lindgren Sun, 10 Jul 2005 19:58:11 +0100 committer Russell King Sun, 10 Jul 2005 19:58:11 +0100 [PATCH] ARM: 2806/1: OMAP update 5/11: Move board files into mach-omap1 directory Patch from Tony Lindgren This patch by Paul Mundt and other OMAP developers moves OMAP1 board files into mach-omap1 directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 6f3e14163e066a6f43a54098a12185f25400fd68 tree 2c2818bbe759d4867df01dee69edd37540bcc30e parent 3b59b6beb423267e8fe2ef3596d98aba0b910341 author Tony Lindgren Sun, 10 Jul 2005 19:58:10 +0100 committer Russell King Sun, 10 Jul 2005 19:58:10 +0100 [PATCH] ARM: 2799/1: OMAP update 4/11: Move OMAP1 LED code into mach-omap1 directory Patch from Tony Lindgren This patch by Paul Mundt and other OMAP developers moves OMAP1 specific LED code into mach-omap1 directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 3b59b6beb423267e8fe2ef3596d98aba0b910341 tree 585d06163371608f1192e1d104da06290f1c5bd9 parent b288f75ffa6f26f720d0c69fcd09b4ee7122e17b author Tony Lindgren Sun, 10 Jul 2005 19:58:09 +0100 committer Russell King Sun, 10 Jul 2005 19:58:09 +0100 [PATCH] ARM: 2800/1: OMAP update 3/11: Move OMAP1 core code into mach-omap1 directory Patch from Tony Lindgren This patch by Paul Mundt and other OMAP developers moves OMAP1 specific IRQ, time, and FPGA code into mach-omap1 directory. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit b288f75ffa6f26f720d0c69fcd09b4ee7122e17b tree eb0f051be6693ed4436d23296a9caba2c88d13a7 parent af973d2aff6008bc7500277eb5a523db579731c6 author Tony Lindgren Sun, 10 Jul 2005 19:58:08 +0100 committer Russell King Sun, 10 Jul 2005 19:58:08 +0100 [PATCH] ARM: 2798/1: OMAP update 2/11: Change ARM Kconfig to support omap1 and omap2 Patch from Tony Lindgren This patch by Paul Mundt and other OMAP developers modifies ARM specific Kconfig to allow sharing code between OMAP1 and OMAP2 architectures. In order to share code between OMAP1 and OMAP2, all OMAP1 specific code is moved into mach-omap1 directory in the following patch. A new mach-omap2 directory will be added later on. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit af973d2aff6008bc7500277eb5a523db579731c6 tree 0aa876c1944eec95e882c2c6d4abec5a01c0f56c parent 8107338bf9d0367d0b3f42730906b83532b6786f author Tony Lindgren Sun, 10 Jul 2005 19:58:06 +0100 committer Russell King Sun, 10 Jul 2005 19:58:06 +0100 [PATCH] ARM: 2797/1: OMAP update 1/11: Update include files Patch from Tony Lindgren This patch by various OMAP developers syncs the OMAP specific include files with the linux-omap tree. Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit 8107338bf9d0367d0b3f42730906b83532b6786f tree c2245d2507a45034ed594e1094b0f0e2a627be6c parent 4bebdab7eb11ee533ff843f4f1fec9975666e64e author Deepak Saxena Sun, 10 Jul 2005 19:44:55 +0100 committer Russell King Sun, 10 Jul 2005 19:44:55 +0100 [PATCH] ARM: 2796/1: Fix ARMv5[TEJ] check in MMU initalization Patch from Deepak Saxena The code in mm-armv.c checks for the condition (cpu_architecture()<= ARMv5) in a few places but should be checking for ARMv5TEJ as the MMU is shared across all v5 variations. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 4bebdab7eb11ee533ff843f4f1fec9975666e64e tree 2ad3ad73bfa5dfb5a04b3e7dda8860178e0ede43 parent 28187f2ce39eb2158c35a46696af03cdfd14310a author Lennert Buytenhek Sun, 10 Jul 2005 19:44:54 +0100 committer Russell King Sun, 10 Jul 2005 19:44:54 +0100 [PATCH] ARM: 2795/1: update ixp2000 defconfigs Patch from Lennert Buytenhek Update the ixp2000 defconfigs from 2.6.12-git6 to 2.6.13-rc2. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 28187f2ce39eb2158c35a46696af03cdfd14310a tree 921c08ec59ff6842602dfbc9c740c3bf2b684d8f parent f179bc77d09b9087bfc559d0368bba350342ac76 author Lennert Buytenhek Sun, 10 Jul 2005 19:44:53 +0100 committer Russell King Sun, 10 Jul 2005 19:44:53 +0100 [PATCH] ARM: 2793/1: platform serial support for ixp2000 Patch from Lennert Buytenhek This patch converts the ixp2000 serial port over to a platform serial device. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f179bc77d09b9087bfc559d0368bba350342ac76 tree 2b7ba36cb139c33d15b736d95533bd59ac81b500 parent 0109fd37046de64e8459f8c4f4706df9ac7cc82c author Dave Airlie Sun, 10 Jul 2005 12:46:19 +1000 committer Dave Airlie Sun, 10 Jul 2005 12:46:19 +1000 drm: fix stupid missing semicolon. I fixed this in one git tree but that wasn't the one I pushed... Signed-off-by: Dave Airlie commit 0109fd37046de64e8459f8c4f4706df9ac7cc82c tree 18dcdb43cc8c6cd494375f8af919024889d24d87 parent cc14cf46da215a9df1c0a4388763a68769ef9e53 parent 850eb83a6a21b086624b227653ce90ad927ba423 author Linus Torvalds Sat, 09 Jul 2005 09:59:23 -0700 committer Linus Torvalds Sat, 09 Jul 2005 09:59:23 -0700 Merge head 'drm-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit cc14cf46da215a9df1c0a4388763a68769ef9e53 tree f9add6f7ae53b4155a22fd8afc20c847fda021fb parent 4cda1fd78781c31e2a3d9dd87ee05d39cb76b3f9 parent 8ca7c1df08210fd35fccf1559837c92baaa4da8f author Linus Torvalds Sat, 09 Jul 2005 09:58:47 -0700 committer Linus Torvalds Sat, 09 Jul 2005 09:58:47 -0700 Merge head 'drm-3264' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit 4cda1fd78781c31e2a3d9dd87ee05d39cb76b3f9 tree 25224dcd78101f069244e0b8b2164747678562f2 parent bb6b82381063f54613842decdf948cbfa631842e parent 717cb906bd43a9ac00631d600adda5c6546843a6 author Linus Torvalds Sat, 09 Jul 2005 09:58:01 -0700 committer Linus Torvalds Sat, 09 Jul 2005 09:58:01 -0700 Merge head 'drm-via' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit bb6b82381063f54613842decdf948cbfa631842e tree f2d7c9fd51d838006c49b0a0f36ed5f87d91536e parent 79af02c2538d54ff0dcd3f43646f506207f2ee62 parent a6524813e032fb33bd1de807a98f8453414335e4 author Linus Torvalds Sat, 09 Jul 2005 09:29:09 -0700 committer Linus Torvalds Sat, 09 Jul 2005 09:29:09 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 79af02c2538d54ff0dcd3f43646f506207f2ee62 tree 0e77872e7ac3da31dd5d77f260a9ae391896869d parent 9c05989bb2264f0fa4fc95f81d2c4e6aa2eaa24d author David S. Miller Fri, 08 Jul 2005 21:47:49 -0700 committer David S. Miller Fri, 08 Jul 2005 21:47:49 -0700 [SCTP]: Use struct list_head for chunk lists, not sk_buff_head. Signed-off-by: David S. Miller commit 9c05989bb2264f0fa4fc95f81d2c4e6aa2eaa24d tree d0da2c6e210b47727097a77eefddfc7c3e2ea13e parent 84b42baef775b0e3415ccece17cf694f50326d01 author David S. Miller Fri, 08 Jul 2005 21:44:39 -0700 committer David S. Miller Fri, 08 Jul 2005 21:44:39 -0700 [IPV6]: Fix warning in ip6_mc_msfilter. Signed-off-by: David S. Miller commit 84b42baef775b0e3415ccece17cf694f50326d01 tree 6a810c38fcd8f02db57482019264089e99db2d31 parent 9951f036fe8a4e6b21962559c64ff13b290ff01a author David L Stevens Fri, 08 Jul 2005 17:48:38 -0700 committer David S. Miller Fri, 08 Jul 2005 17:48:38 -0700 [IPV4]: fix IPv4 leave-group group matching This patch fixes the multicast group matching for IP_DROP_MEMBERSHIP, similar to the IP_ADD_MEMBERSHIP fix in a prior patch. Groups are identifiedby and including the interface address in the match will fail if a leave-group is done by address when the join was done by index, or if different addresses on the same interface are used in the join and leave. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 9951f036fe8a4e6b21962559c64ff13b290ff01a tree 3d4d557102bf8d8a96d5276de7183b57c9808711 parent 917f2f105ea4bbba8604e3ed55233eebda7afe6a author David L Stevens Fri, 08 Jul 2005 17:47:28 -0700 committer David S. Miller Fri, 08 Jul 2005 17:47:28 -0700 [IPV4]: (INCLUDE,empty)/leave-group equivalence for full-state MSF APIs & errno fix 1) Adds (INCLUDE, empty)/leave-group equivalence to the full-state multicast source filter APIs (IPv4 and IPv6) 2) Fixes an incorrect errno in the IPv6 leave-group (ENOENT should be EADDRNOTAVAIL) Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 917f2f105ea4bbba8604e3ed55233eebda7afe6a tree bbab5de7093cec897f617649dd123946b579c4b7 parent 8cdaaa15da58806ac3c75d96c40aef9e31445a25 author David L Stevens Fri, 08 Jul 2005 17:45:16 -0700 committer David S. Miller Fri, 08 Jul 2005 17:45:16 -0700 [IPV4]: multicast API "join" issues 1) In the full-state API when imsf_numsrc == 0 errno should be "0", but returns EADDRNOTAVAIL 2) An illegal filter mode change errno should be EINVAL, but returns EADDRNOTAVAIL 3) Trying to do an any-source option without IP_ADD_MEMBERSHIP errno should be EINVAL, but returns EADDRNOTAVAIL 4) Adds comments for the less obvious error return values Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 8cdaaa15da58806ac3c75d96c40aef9e31445a25 tree bdeee63b026525963143d3ffe07d93110c25297c parent ca9b907d140a5f249250d19f956129dbbbf84f73 author David L Stevens Fri, 08 Jul 2005 17:39:23 -0700 committer David S. Miller Fri, 08 Jul 2005 17:39:23 -0700 [IPV4]: multicast API "join" issues 1) Changes IP_ADD_SOURCE_MEMBERSHIP and MCAST_JOIN_SOURCE_GROUP to ignore EADDRINUSE errors on a "courtesy join" -- prior membership or not is ok for these. 2) Adds "leave group" equivalence of (INCLUDE, empty) filters in the delta-based API. Without this, mixing delta-based API calls that end in an (INCLUDE, empty) filter would not allow a subsequent regular IP_ADD_MEMBERSHIP. It also frees socket buffer memory that isn't needed for both the multicast group record and source filter. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit ca9b907d140a5f249250d19f956129dbbbf84f73 tree 48f26110e23634f17d9c73e7a5a7b4239ffcd589 parent 4c866aa798bc6de0a1d45495229e9f13c35b55c2 author David L Stevens Fri, 08 Jul 2005 17:38:07 -0700 committer David S. Miller Fri, 08 Jul 2005 17:38:07 -0700 [IPV4]: multicast API "join" issues This patch corrects a few problems with the IP_ADD_MEMBERSHIP socket option: 1) The existing code makes an attempt at reference counting joins when using the ip_mreqn/imr_ifindex interface. Joining the same group on the same socket is an error, whatever the API. This leads to unexpected results when mixing ip_mreqn by index with ip_mreqn by address, ip_mreq, or other API's. For example, ip_mreq followed by ip_mreqn of the same group will "work" while the same two reversed will not. Fixed to always return EADDRINUSE on a duplicate join and removed the (now unused) reference count in ip_mc_socklist. 2) The group-search list in ip_mc_join_group() is comparing a full ip_mreqn structure and all of it must match for it to find the group. This doesn't correctly match a group that was joined with ip_mreq or ip_mreqn with an address (with or without an index). It also doesn't match groups that are joined by different addresses on the same interface. All of these are the same multicast group, which is identified by group address and interface index. Fixed the check to correctly match groups so we don't get duplicate group entries on the ip_mc_socklist. 3) The old code allocates a multicast address before searching for duplicates requiring it to free in various error cases. This patch moves the allocate until after the search and igmp_max_memberships check, so never a need to allocate, then free an entry. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 4c866aa798bc6de0a1d45495229e9f13c35b55c2 tree d648ccbe485a71d37a80b08b4bf09d911d9ec2d3 parent 86a76caf8705e3524e15f343f3c4806939a06dc8 author Alexey Kuznetsov Fri, 08 Jul 2005 17:34:46 -0700 committer David S. Miller Fri, 08 Jul 2005 17:34:46 -0700 [IPV4]: Apply sysctl_icmp_echo_ignore_broadcasts to ICMP_TIMESTAMP as well. This was the full intention of the original code. Signed-off-by: David S. Miller commit a6524813e032fb33bd1de807a98f8453414335e4 tree 4af95ee9310bb7f13de0272b21fec593f9da3b9b parent dcc83a028552ac34538db52d82446d1da6ea8c22 author David S. Miller Fri, 08 Jul 2005 15:21:51 -0700 committer David S. Miller Fri, 08 Jul 2005 15:21:51 -0700 [SPARC64]: Support CONFIG_HZ Signed-off-by: David S. Miller commit 86a76caf8705e3524e15f343f3c4806939a06dc8 tree ac2022a6073b5af228e009178048bdab070d2230 parent b03efcfb2180289718991bb984044ce6c5b7d1b0 author Victor Fusco Fri, 08 Jul 2005 14:57:47 -0700 committer David S. Miller Fri, 08 Jul 2005 14:57:47 -0700 [NET]: Fix sparse warnings From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit b03efcfb2180289718991bb984044ce6c5b7d1b0 tree f3b0c6c4eaf0991c28b7116a20994b48398eea57 parent a92b7b80579fe68fe229892815c750f6652eb6a9 author David S. Miller Fri, 08 Jul 2005 14:57:23 -0700 committer David S. Miller Fri, 08 Jul 2005 14:57:23 -0700 [NET]: Transform skb_queue_len() binary tests into skb_queue_empty() This is part of the grand scheme to eliminate the qlen member of skb_queue_head, and subsequently remove the 'list' member of sk_buff. Most users of skb_queue_len() want to know if the queue is empty or not, and that's trivially done with skb_queue_empty() which doesn't use the skb_queue_head->qlen member and instead uses the queue list emptyness as the test. Signed-off-by: David S. Miller commit dcc83a028552ac34538db52d82446d1da6ea8c22 tree 155865020de7fe2d5181622b1a5939d5cca97c56 parent a92b7b80579fe68fe229892815c750f6652eb6a9 author David S. Miller Fri, 08 Jul 2005 13:33:10 -0700 committer David S. Miller Fri, 08 Jul 2005 13:33:10 -0700 [SPARC64]: Typo in dtlb_backend.S, _PAGE_SZ4M --> _PAGE_SZ4MB Noticed by Eddie C. Dost Signed-off-by: David S. Miller commit 763b3917e779c9c25d56fc71a796774185cd6ce2 tree 12c6a078c09ebcd6793f471f9487a64573b7293c parent 88c3cdfdde3cf87e1831265ea4246430bef34fc9 author H. J. Lu Fri, 08 Jul 2005 12:25:00 -0700 committer Tony Luck Fri, 08 Jul 2005 13:23:49 -0700 [IA64] Fix a typo in arch/ia64/kernel/entry.S Both 2.4 and 2.6 kernels need this patch for the next binutils. Signed-off-by: Tony Luck commit 88c3cdfdde3cf87e1831265ea4246430bef34fc9 tree caea510ffb2f81a5ea13b00ecb8a4146ad462048 parent 2b2c3750330325ae5071582b5c4dbdf1c8bc1e51 parent a92b7b80579fe68fe229892815c750f6652eb6a9 author Tony Luck Fri, 08 Jul 2005 08:52:42 -0700 committer Tony Luck Fri, 08 Jul 2005 08:52:42 -0700 Auto merge with /home/aegl/GIT/linus commit a92b7b80579fe68fe229892815c750f6652eb6a9 tree 7fd73e9f39bf6003cc3188a10426b62d8c47ab40 parent d88854f08961d26f3a63cfae7972188d26a128e4 author Chris Wright Thu, 07 Jul 2005 18:12:23 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:26:37 -0700 [PATCH] Add MAINTAINERS entry for audit subsystem I've been asked about this a couple times, and there's no info in MAINTAINERS file. Add MAINTAINERS entry for audit subsystem. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds commit d88854f08961d26f3a63cfae7972188d26a128e4 tree 60a7319d8c79898325baaab17b655acaf2ec8040 parent 374a6cf281771b23e263efd31fdc896924394dba author Alasdair G Kergon Thu, 07 Jul 2005 17:59:34 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] device-mapper: dm-raid1: Limit bios to size of mirror region Set the target's split_io field when building a dm-mirror device so incoming bios won't span the mirror's internal regions. Without this, regions can be accessed while not holding correct locks and data corruption is possible. Reported-By: "Zhao Qian" From: Kevin Corry Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 374a6cf281771b23e263efd31fdc896924394dba tree 4532dbb059c538481b87a643eefd440eb3241525 parent 316240f66a64c95e373d52dc401d882d77a594ee author Pavel Machek Thu, 07 Jul 2005 17:59:33 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] video doc: one more system where video works with S3 One more system where video works with S3. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 316240f66a64c95e373d52dc401d882d77a594ee tree 1d04cba74cd2455bb6b886ed4b85b7bbb73b8544 parent e34ac862ee6644378bfe6ea65c2e0dda4545513d author Hirokazu Takata Thu, 07 Jul 2005 17:59:32 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] m32r: framebuffer device support This patch is for supporting Epson s1d13xxx framebuffer device for m32r. # Sorry, a little bigger. The Epson s1d13806 is already supported by 2.6.12 kernel, and its driver is placed as drivers/video/s1d13xxxfb.c. For the m32r, a header file include/asm-m32r/s1d13806.h was prepared for several m32r target platforms. It was originally generated by an Epson tool S1D13806CFG.EXE, and modified manually for the m32r platforms. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e34ac862ee6644378bfe6ea65c2e0dda4545513d tree a538b6b872e3f814c1bc6df461cb64d3b4794fc8 parent 4c4cd222ee329025840bc2f8cebf71d36c62440c author NeilBrown Thu, 07 Jul 2005 17:59:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] nfsd4: fix fh_expire_type After discussion at the recent NFSv4 bake-a-thon, I realized that my assumption that NFS4_FH_PERSISTENT required filehandles to persist was a misreading of the spec. This also fixes an interoperability problem with the Solaris client. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c4cd222ee329025840bc2f8cebf71d36c62440c tree 70d1d8e754e7ab7226a6eee6afeab8b892072600 parent 3a4f98bbf481cb9f755005ac569ceb5303e1b69f author NeilBrown Thu, 07 Jul 2005 17:59:27 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] nfsd4: check lock type against openmode. We shouldn't be allowing, e.g., write locks on files not open for read. To enforce this, we add a pointer from the lock stateid back to the open stateid it came from, so that the check will continue to be correct even after the open is upgraded or downgraded. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a4f98bbf481cb9f755005ac569ceb5303e1b69f tree a3dfac239801fd5d96222f48a1f2caf59a650826 parent f8816512fcfde986326a2eb0f5a58e463d9904d8 author NeilBrown Thu, 07 Jul 2005 17:59:26 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:10 -0700 [PATCH] nfsd4: clean up nfs4_preprocess_seqid_op As long as we're here, do some miscellaneous cleanup. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8816512fcfde986326a2eb0f5a58e463d9904d8 tree 3f79b8c23a393c119e0de31294c2843d7bd3b01e parent 52fd004e296ac07cde820af9e3139d47dda03cf8 author NeilBrown Thu, 07 Jul 2005 17:59:25 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:10 -0700 [PATCH] nfsd4: clarify close_lru handling The handling of close_lru in preprocess_stateid_op was a source of some confusion here recently. Try to make the logic a little clearer, by renaming find_openstateowner_id to make its purpose clearer and untangling some unnecessarily complicated goto's. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52fd004e296ac07cde820af9e3139d47dda03cf8 tree 1ded0ee9f0f3df0a268a09ef6873c8ae2a75cbff parent b700949b781480819e53bdc38a53f053226dd75e author NeilBrown Thu, 07 Jul 2005 17:59:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: renew lease on seqid modifying operations nfs4_preprocess_seqid_op is called by NFSv4 operations that imply an implicit renewal of the client lease. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b700949b781480819e53bdc38a53f053226dd75e tree 1e09ac2b3e4c39e7167d4780f21ebaa416a1092a parent 444c2c07c2d7a6936d1381d381ab80e3f5541427 author NeilBrown Thu, 07 Jul 2005 17:59:23 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: return better error on io incompatible with open mode from RFC 3530: "Share reservations are established by OPEN operations and by their nature are mandatory in that when the OPEN denies READ or WRITE operations, that denial results in such operations being rejected with error NFS4ERR_LOCKED." (Note that share_denied is really only a legal error for OPEN.) Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 444c2c07c2d7a6936d1381d381ab80e3f5541427 tree b4dc8b6ccc33208b39d01b8505c4a759b6ebdf7b parent e66770cd7b0c36f28a2f6eb0957c0575ac8b3787 author NeilBrown Thu, 07 Jul 2005 17:59:22 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: always update stateid on open An OPEN from the same client/open stateowner requires a stateid update because of the share/deny access update. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e66770cd7b0c36f28a2f6eb0957c0575ac8b3787 tree ee5bcf1ac04eac19c72fad96863bc7b0327a3f47 parent 7fb64cee34f5dc743f697041717cafda8a94b5ac author NeilBrown Thu, 07 Jul 2005 17:59:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: relax new lock seqid check We're insisting that the lock sequence id field passed in the open_to_lockowner struct always be zero. This is probably thanks to the sentence in rfc3530: "The first request issued for any given lock_owner is issued with a sequence number of zero." But there doesn't seem to be any problem with allowing initial sequence numbers other than zero. And currently this is causing lock reclaims from the Linux client to fail. In the spirit of "be liberal in what you accept, conservative in what you send", we'll relax the check (and patch the Linux client as well). Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fb64cee34f5dc743f697041717cafda8a94b5ac tree 5b4e7b67cff7d64a46024036d0033f0d3e05b857 parent bd9aac523b812d58e644fde5e59f5697fb9e3822 author NeilBrown Thu, 07 Jul 2005 17:59:20 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: seqid comments Add some comments on the use of so_seqid, in an attempt to avoid some of the confusion outlined in the previous patch.... Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd9aac523b812d58e644fde5e59f5697fb9e3822 tree a3adb8ac833a8e776cca8df91e96f85aa28e81c6 parent 893f87701c9e5bd5610dfbb3f8bf1135f86d85cb author NeilBrown Thu, 07 Jul 2005 17:59:19 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: fix open_reclaim seqid The sequence number we store in the sequence id is the last one we received from the client. So on the next operation we'll check that the client gives us the next higher number. We increment sequence id's at the last moment, in encode, so that we're sure of knowing the right error return. (The decision to increment the sequence id depends on the exact error returned.) However on the *first* use of a sequence number, if we set the sequence number to the one received from the client and then let the increment happen on encode, we'll be left with a sequence number one to high. For that reason, ENCODE_SEQID_OP_TAIL only increments the sequence id on *confirmed* stateowners. This creates a problem for open reclaims, which are confirmed on first use. Therefore the open reclaim code, as a special exception, *decrements* the sequence id, cancelling out the undesired increment on encode. But this prevents the sequence id from ever being incremented in the case where multiple reclaims are sent with the same openowner. Yuch! We could add another exception to the open reclaim code, decrementing the sequence id only if this is the first use of the open owner. But it's simpler by far to modify the meaning of the op_seqid field: instead of representing the previous value sent by the client, we take op_seqid, after encoding, to represent the *next* sequence id that we expect from the client. This eliminates the need for special-case handling of the first use of a stateowner. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 893f87701c9e5bd5610dfbb3f8bf1135f86d85cb tree ee2de8fd627624cedc0c0e7067dd4892e160db67 parent 375151773125f56b7f6d798d914ea469256b330b author NeilBrown Thu, 07 Jul 2005 17:59:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: comment indentation Yeah, it's trivial, but this drives me up the wall.... Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 375151773125f56b7f6d798d914ea469256b330b tree 2bc6c0d8d2a075b9daa2aa7dca440f572c566629 parent 0dd395dc76071a06eea39839cc946c1241af3650 author NeilBrown Thu, 07 Jul 2005 17:59:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: stop overusing RECLAIM_BAD A misreading of the spec lead us to convert all errors on open and lock reclaims to RECLAIM_BAD. This causes problems--for example, a reboot within the grace period could lead to reclaims with stale stateid's, and we'd like to return STALE errors in those cases. What rfc3530 actually says about RECLAIM_BAD: "The reclaim provided by the client does not match any of the server's state consistency checks and is bad." I'm assuming that "state consistency checks" refers to checks for consistency with the state recorded to stable storage, and that the error should be reserved for that case. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dd395dc76071a06eea39839cc946c1241af3650 tree f4b9b8b013dfebcba296f1f8145f8535521db3ae parent b648330a1d741d5df8a5076b2a0a2519c69c8f41 author NeilBrown Thu, 07 Jul 2005 17:59:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: ERR_GRACE should bump seqid on lock A GRACE or NOGRACE response to a lock request should also bump the sequence id. So we delay the handling of grace period errors till after we've found the relevant owner. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b648330a1d741d5df8a5076b2a0a2519c69c8f41 tree aa53fc54675d3c7b51aa8f86f5f8929acd0f85a3 parent 0fa822e452084032b8495ca0d8e0199329847815 author NeilBrown Thu, 07 Jul 2005 17:59:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: ERR_GRACE should bump seqid on open The GRACE and NOGRACE errors should bump the sequence id on open. So we delay the handling of these errors until nfsd4_process_open2, at which point we've set the open owner, so the encode routine will be able to bump the sequence id. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0fa822e452084032b8495ca0d8e0199329847815 tree 5be25dc1f1222d2998a9754e5b5e26d516601b9d parent 67be431350941765e211eeed237c12def3aaba70 author NeilBrown Thu, 07 Jul 2005 17:59:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: fix release_lockowner We oops in list_for_each_entry(), because release_stateowner frees something on the list we're traversing. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67be431350941765e211eeed237c12def3aaba70 tree 58683397c9ab328f721d55b0d95f25e57dbcbda8 parent cdc5524e8a257b1c91dd8e4cdfbab979f4e17a60 author NeilBrown Thu, 07 Jul 2005 17:59:13 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: prevent multiple unlinks of recovery directories Make sure we don't try to delete client recovery directories multiple times; fixes some spurious error messages. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdc5524e8a257b1c91dd8e4cdfbab979f4e17a60 tree 8db1b2c1ac28d1525f7e953e1ac5de8616da4663 parent a6ccbbb8865101d83c2e716f08feae1da1c48584 author NeilBrown Thu, 07 Jul 2005 17:59:12 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] nfsd4: lookup_one_len takes i_sem Oops, this lookup_one_len needs the i_sem. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6ccbbb8865101d83c2e716f08feae1da1c48584 tree 0b55b0673704dcae39d614cb1495cf47590628fb parent 463090294e1e460cf97f5ade376d4b1e62bc5263 author NeilBrown Thu, 07 Jul 2005 17:59:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] nfsd4: fix sync'ing of recovery directory We need to fsync the recovery directory after writing to it, but we weren't doing this correctly. (For example, we weren't taking the i_sem when calling ->fsync().) Just reuse the existing nfsd fsync code instead. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 463090294e1e460cf97f5ade376d4b1e62bc5263 tree eaf3f7b7c0bbc7c16aa39c77252da436bf62df06 parent 89b39f5d8d701ddd93546b3d8edbefa5d568529d author NeilBrown Thu, 07 Jul 2005 17:59:10 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] nfsd4: reboot recovery fix We need to remove the recovery directory here too. (This chunk just got lost somehow in the process of commuting the reboot recovery patches past the other patches.) Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89b39f5d8d701ddd93546b3d8edbefa5d568529d tree bdb87ecd1d0b659f8e6c54486f2ec9c71ba0cf31 parent 5bc6b68a103a6f4055890b5127ddca3a322751b0 author Dominik Brodowski Thu, 07 Jul 2005 17:59:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] yenta: don't depend on CardBus As a follow-up, we can allow the yenta-driver to be limited to PCMCIA operation. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bc6b68a103a6f4055890b5127ddca3a322751b0 tree 57195b4d7c6f0f97b111605f8eef6dccda83e0b8 parent 4230dfc9c3f708f4765736b862aa313aa97e3c2e author Russell King Thu, 07 Jul 2005 17:59:07 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] yenta: no CardBus if IRQ fails If probing for the correct interrupt fails on yenta bridges, the driver falls back to polling for interrupt actions. However, CardBus cards cannot be used then. Signed-off-by: Russell King Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4230dfc9c3f708f4765736b862aa313aa97e3c2e tree 254595f9aec72225496a29b5e37870eb439d6b37 parent 44670d2b50efd2443c3810239d6ea3fd02f8ef64 author Dominik Brodowski Thu, 07 Jul 2005 17:59:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] pcmcia: update MAINTAINERS entry PCMCIA/CardBus is handled by a team of developers at the specified mailing list. Additional developers wanting to help are most welcome. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44670d2b50efd2443c3810239d6ea3fd02f8ef64 tree a32aa41a9dd5eb33e657f94f823d44948f5be9c2 parent 2ffe6e280f792790c39f241e7e3c5d2ef8da1b94 author Dominik Brodowski Thu, 07 Jul 2005 17:59:05 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] pcmcia: remove references to pcmcia/version.h As a follow-up, remove the inclusion of pcmcia/version.h in many files. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ffe6e280f792790c39f241e7e3c5d2ef8da1b94 tree 5dc7ebece2a4742399717b6745e575852dc5243c parent a00db1ba7c33619cbd7c3153e4746d15881c0383 author Pavel Roskin Thu, 07 Jul 2005 17:59:04 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:06 -0700 [PATCH] pcmcia: remove client services version (fix) One correction is needed. Changes are not needed for drivers/scsi/pcmcia/nsp_cs.c because it uses versioning in the compatibility part, which is never used in 2.6 kernels. The only right thing we could to that compatibility code would be to remove it throughout the file, but that would be a separate patch. Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a00db1ba7c33619cbd7c3153e4746d15881c0383 tree 5cb3bbbd8b9fd03947c75b7bdfede1db27c9d6b6 parent 2bc5a9bdc56fac6f7cbf95b89443e3809141c247 author Pavel Roskin Thu, 07 Jul 2005 17:59:03 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:06 -0700 [PATCH] pcmcia: remove client services version The Linux PCMCIA code has some data that was apparently used (or meant to be used) to ensure that only proper client drivers are loaded. This is now ensured (to a certain degree) by the fact that the most client drivers are part of the kernel. Also, the version information has not been updated despite major changes in PCMCIA API. This has made it meaningless. This patch removes servinfo_t and pcmcia_get_card_services_info. They are not used in any userspace utilities such as pcmcia-cs and pcmciautils. drivers/pcmcia/pcmcia_ioctl.c is adjusted accordingly. CS_RELEASE and CS_RELEASE_CODE are removed. include/pcmcia/version.h is empty now. It will be removed later, but for now it's left in the tree to avoid touching all PCMCIA clients. The only driver that needs to be changed is drivers/scsi/pcmcia/nsp_cs.c, which uses CS_RELEASE_CODE. Signed-off-by: Pavel Roskin Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bc5a9bdc56fac6f7cbf95b89443e3809141c247 tree b9cc15e994df40ca5f1e9748f2bb32e9e292c5d7 parent e12a9a93a8417c4f2aa46ce8346c2d27e656b9a2 author Dominik Brodowski Thu, 07 Jul 2005 17:59:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:06 -0700 [PATCH] pcmcia: reduce client_handle_t usage Reduce the occurences of "client_handle_t" which is nothing else than a pointer to struct pcmcia_device by now. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e12a9a93a8417c4f2aa46ce8346c2d27e656b9a2 tree ca4295237f29c54901c199b322e504f89a45c902 parent 1e212f3645a6b355de8c43a23376bc0e2ac49a63 author Dominik Brodowski Thu, 07 Jul 2005 17:59:01 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:06 -0700 [PATCH] pcmcia: remove client_t usage Reduce the occurences of "client_handle_t" which is nothing else than a pointer to struct pcmcia_device by now. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e212f3645a6b355de8c43a23376bc0e2ac49a63 tree 89324df417c19a1a63efb2ec6630e7d4b47181a0 parent bf45d9b0ac108b11245203ebb082d30f5059846b author Dominik Brodowski Thu, 07 Jul 2005 17:59:00 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:05 -0700 [PATCH] pcmcia: move event handler Move the "event handler" to struct pcmcia_driver -- the unified event handler will disappear really soon, but switching it to struct pcmcia_driver in the meantime allows for better "step-by-step" patches. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf45d9b0ac108b11245203ebb082d30f5059846b tree 786c8812418142f6f05f42045bb0ebbe95d0bc52 parent 69a4d56bae492b1a5e74459d9d771d9bc7f9320f author Dominik Brodowski Thu, 07 Jul 2005 17:58:58 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] pcmcia: deprecate ioctl Schedule removal of the PCMCIA ioctl (and thus kernel support for the pcmcia-cs userspace package) for November 2005. A big "thank you" to Dave Hinds for his great work on supporting PCMCIA in Linux. Things are just done differently by now, so the ongoing work to make PCMCIA behave like any other hotpluggable bus should continue. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69a4d56bae492b1a5e74459d9d771d9bc7f9320f tree 62a8531c160d56b3761034cb9803bf2fbd1c1392 parent 08d805258f69bff5ba8268a969f140ef1f105c71 author Ian Campbell Thu, 07 Jul 2005 17:58:52 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] pcmcia: fix i82365 request_region double usage http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f354942cb301fed273f423fb5c4f57bde3efc5b2 converted the check_region() calls in drivers/pcmcia/i82365.c into request_regions. Unfortunately this seems to have broken things. isa_probe() used to call check_region() and then call add_pcic() which would request_region(). Now isa_probe() calls request_region() and then calls add_pcic() which calls request_region() again, this fails and add_pcic() returns immediately without doing all the setup etc. On the face of it the patch below fixes the problem, by not doing the second request region in add_pcic(). I think this is preferable to remove the call in isa_probe() since identify() touches the I/O regions and is called before add_pcic(). However I haven't fully grokked the meaning of the code which follows the request_region() in isa_probe(), so I'm not sure that the handling WRT multiple sockets and multiple bridge chips is correct. In particular I'm not convinced that the regions for subsequent sockets and/or bridges will be requested at all. I suspect a more thorough reworking by someone who understands what is going on there might be in order. I should mention that I'm actually messing about with this on an ARM platform with wacky memory and i/o mapping offsets etc, it doesn't quite work yet for other reasons which preclude full testing etc, but I think the problem above is still present for more normal x86 stuff. Signed-off-by: Ian Campbell Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08d805258f69bff5ba8268a969f140ef1f105c71 tree 489c26e578ad005f0c3f3842f9e9dc3dd117b0b5 parent 0d723c09f03e0b2cb4405c361c927efac373fe0c author Michael Krufky Thu, 07 Jul 2005 17:58:43 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] v4l: LGDT3302 read status fix - Fix bug in lgdt3302_read_status to return correct FE_HAS_SIGNAL and FS_HAS_CARRIER status. - Removed #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,10). Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d723c09f03e0b2cb4405c361c927efac373fe0c tree dd20f1a03ed24cca02de553137cc3a4ca69f194f parent e057ee11efb84e559c55e98d33acb341fe68fda1 author Michael Krufky Thu, 07 Jul 2005 17:58:42 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] v4l: add DVB support for DViCO FusionHDTV3 Gold-T - Correct sync byte for MPEG-2 transport stream packets. - Add lgdt3302 as dependency of cx88-dvb in Kconfig. - Add dvb support in v4l for DViCO FusionHDTV3 Gold-T using lgdt3302 frontend. This adds support for a different board from the previous (Gold-Q) patch. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e057ee11efb84e559c55e98d33acb341fe68fda1 tree 0ddcaf6adebc6082acd2cdde4e672741a1a60617 parent f1798495592c1bcd7871abdc1ef2985d65c34224 author Michael Krufky Thu, 07 Jul 2005 17:58:40 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] v4l: add TerraTec Cinergy 1400 DVB-T Add support for TerraTec Cinergy 1400 DVB-T. Signed-off-by: Uli Luckas Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1798495592c1bcd7871abdc1ef2985d65c34224 tree 3496ce6e2c6318fbd09b5d9cbfcb51e2ebd87cfa parent 9ac4c158b0090462bc356b934024cf0c5d7c8526 author Michael Krufky Thu, 07 Jul 2005 17:58:39 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] v4l: add DVB support for DViCO FusionHDTV3 Gold-Q Add dvb support in v4l for DViCO FusionHDTV3 Gold-Q using lgdt3302 frontend. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ac4c158b0090462bc356b934024cf0c5d7c8526 tree 2a398384b922a0c4c60ff76e3cbe066e4b5f576f parent a82decf64d34e79a0cc622997866c754350f18f8 author Michael Krufky Thu, 07 Jul 2005 17:58:38 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] v4l: cx88 hue offset fix Changed hue offset to 128 to correct behavior in cx88 cards. Previously, setting 0% or 100% hue was required to avoid blue/green people on screen. Now, 50% Hue means no offset, just like bt878 stuff. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a82decf64d34e79a0cc622997866c754350f18f8 tree 7841c828bdd03cc476067bf1f9b192613f111ae0 parent a2f552f5edc13e18b75f11fb1b08bbcad67fd362 author Mauro Carvalho Chehab Thu, 07 Jul 2005 17:58:36 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] v4l: cx88 update - Add support for ADS Tech Instant TV DVB-T PCI. - Remove obsoleted config options. - Fix DViCO Board names - Remove CABLE type setting from DViCO FusionHDTV3 Gold-T. - Fix compilation with gcc4.0. - V4L2_TUNER_CAP_LOW implemented according with V4L2 API for Radio. - radio range is now defined on tuner-core.c. Cleaning up. - Fix a bug on frequency report for cx88 based cards. - Added support for changing radio mode stereo/mono. - Add remove for MSI TV@nywhere. Signed-off-by: Jorik Jonker . Signed-off-by: Didier Caillaud Signed-off-by: Benoit Laniel . Signed-off-by: Nickolay V Shmyrev Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2f552f5edc13e18b75f11fb1b08bbcad67fd362 tree 8f1c960eebd5e99e745de2cc929cce4de111a660 parent 3352e432d5705aaa9b58d8d97b1ccc81eb4bc0fd author Uwe Bugla Thu, 07 Jul 2005 17:58:35 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] fix for Documentation/dvb/bt8xx.txt?= * /usr/src/linux-2.6.12/Documentation/dvb/bt8xx.txt almost completely remade the text file with the following focuses: useful infos for beginners: how to load modules manually and automatically developers infos are reduced to a minimum as module loading works automatic in kernel >= 2.6.12 by loading modules bttv and dvb-bt8xx I completely erased the out of date TwinHan part dealing with additional parameters, debug parameters, and overriding autodetection Further up to date information about TwinHan + clones can be found in /Documentation/dvb/ci.txt Signed-off-by: Uwe Bugla Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3352e432d5705aaa9b58d8d97b1ccc81eb4bc0fd tree 37d15be1740b7b0585c676dd18f16469f6dc0f41 parent d590f9c20e15620ba708e5bd71d345bf1b7b0d73 author Patrick Boettcher Thu, 07 Jul 2005 17:58:34 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] dvb: usb: README update Updated the readme file to point to the DVB USB wikipage to find out which firmware necessary, + minor updates. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d590f9c20e15620ba708e5bd71d345bf1b7b0d73 tree 938e37de3c945d3fb035f487a802ae574aa599a8 parent 4b2bd30eb79c292a83b1dfd3cca6d435c02fd5c0 author Patrick Boettcher Thu, 07 Jul 2005 17:58:33 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] dvb: usb: add supprt for WideView WT-220U Add support and rewrote some parts with the help of vendor information (Thanks to Steve Chang from WideView, Inc.): o added support for the WT-220U (Pensize DVB-T receiver) o corrected byte order for unc,ber and the pid filter o corrected number of pids that can be fetched at the same time. o added some comments in Kconfig-file o added USB IDs for the WT-220U Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b2bd30eb79c292a83b1dfd3cca6d435c02fd5c0 tree abe95ba46576055c913eac5da10109a159454656 parent 63b5c1c47fd6c5ae26d279756e8a050c721ea379 author Steffen Motzer Thu, 07 Jul 2005 17:58:31 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] dvb: dst: fix tuning problem Fix tuning failure for 200103A, 200103A failed to tune to low band due to wrong tone setting on the 200103A. Signed-off-by: Steffen Motzer Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63b5c1c47fd6c5ae26d279756e8a050c721ea379 tree 47dca835f850785ac9d2a2caef9fe7d1eea990c3 parent d8667cbbe440aacb246832afc217a6a44664115c author Patrick Boettcher Thu, 07 Jul 2005 17:58:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: usb/pci: correct syntax of driver name fields Change the name-field of the pci_driver and usb_driver structs to the name of the module after compilation. It seems that this field is used in some places where special characters are not allowed. Thanks to Alan Halverson for finding this problem. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8667cbbe440aacb246832afc217a6a44664115c tree 29c68e5317355c398c0de99d5d665fa653384cef parent 25de192660627e1e8dc8ee6a120ff8b54d108593 author Mac Michaels Thu, 07 Jul 2005 17:58:29 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: frontend: add driver for LGDT3302 Add support for LGDT3302 (ATSC VSB/QAM) used in DViCO FusionHDTV3 Gold. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25de192660627e1e8dc8ee6a120ff8b54d108593 tree 45e15b799e09f6b5fe478082303a8c276529edc1 parent e161f817bebecc1c1cc461dc83cce2eafbed9ee9 author Oliver Endriss Thu, 07 Jul 2005 17:58:28 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: ttpci: fix timeout handling to be save with PREEMPT Timeout handling fixed, especially for preemtible kernels and/or high system load. Signed-off-by: Oliver Endriss Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e161f817bebecc1c1cc461dc83cce2eafbed9ee9 tree 315d52418f129836bb655aa8c8cf9955c536dfd8 parent 58769a5486bec8ed44b3b51029f8df8f13cddd5a author Patrick Boettcher Thu, 07 Jul 2005 17:58:27 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: usb: dont use HZ for timeouts Don't use HZ for usb-transfer-timeouts. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 58769a5486bec8ed44b3b51029f8df8f13cddd5a tree 442ef9e0e2249612cae437a11833adf51157b120 parent 1df896aa239caf72483655290c40b21da536d85e author Andrew Hodgson Thu, 07 Jul 2005 17:58:26 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: usb: A800 rc and timeout fixes o add some remote control codes o not using HZ for control_msg-timeout Signed-off-by: Andrew Hodgson Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1df896aa239caf72483655290c40b21da536d85e tree 70c79db97537149646538339c442a913f41fd14f parent 04f3e5ea51248ff974a13ef2dd0145125c76204c author Patrick Boettcher Thu, 07 Jul 2005 17:58:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: usb: IR input fixes o fixed usage of the correct number of events in keymapping-array o better place for return Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04f3e5ea51248ff974a13ef2dd0145125c76204c tree 91f5201d700b3fc8fb0e248b5aec67f0544d5453 parent fb41f5a725d052d7542e0e966e5799b95c2648c8 author Michael Paxton Thu, 07 Jul 2005 17:58:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb: vp7045 IR map fix Correct two keys of the vp7045 remote control key mapping. Signed-off-by: Michael Paxton Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb41f5a725d052d7542e0e966e5799b95c2648c8 tree 3ef60bdd6bf25aa61535460a54699d136c71a468 parent 2d188c68a04d89d9351c3130226d0e8af9439dda author Patrick Boettcher Thu, 07 Jul 2005 17:58:23 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb: fix WideView USB ids o Steve Chang reported the real name behind 0x14aa: WideView, changed USB IDs accordingly. o fixed an assignment Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d188c68a04d89d9351c3130226d0e8af9439dda tree 82b5eb6d3a34e16a5e73826219042c61f7b8a02e parent d72fa1c91d721bf4c68a18f2d8fed820a8f1611e author Patrick Boettcher Thu, 07 Jul 2005 17:58:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb: add vp7045 IR keymap Add keymap for Twinhan vp7045 remote control. Signed-off-by: Michael Paxton Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d72fa1c91d721bf4c68a18f2d8fed820a8f1611e tree 92e2648efabcfe488e25bd54e2ea8aa3bf130ca5 parent 82ff896c969a099888e4a131b829f1c8d6aecbba author Patrick Boettcher Thu, 07 Jul 2005 17:58:20 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb Kconfig help text update o corrected some typos o added the Wikilink pointing to the USB device list Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82ff896c969a099888e4a131b829f1c8d6aecbba tree c7b34c63e1dc017749e527eb0f49d5b972c6ba76 parent 97432808ee367e15485e55c734ba04ca290a306d author Patrick Boettcher Thu, 07 Jul 2005 17:58:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb doc update o removed device listing (they are all in the linuxtv wiki now) o misc updates Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97432808ee367e15485e55c734ba04ca290a306d tree 037dd3445d14e344e2f8c5f6b9ba2cacb151b911 parent 2f7f96b95991bcbe52dee5aa50a19130873738bf author Patrick Boettcher Thu, 07 Jul 2005 17:58:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb: digitv memcpy fix Fix memcpy copying into the wrong destination. Thanks to Allan Third for reporting. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f7f96b95991bcbe52dee5aa50a19130873738bf tree 749bfd2cf42d867cfe35eab94de6e5848c71e851 parent 8257e8a444a2b81952de9f8bfeb3a4726c0f7d5b author Patrick Boettcher Thu, 07 Jul 2005 17:58:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:00 -0700 [PATCH] dvb: usb: add VideoWalker DVB-T USB ids Add another USB ID pair for the VideoWalker USB DVB-T. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8257e8a444a2b81952de9f8bfeb3a4726c0f7d5b tree 797b8b1937cd417043a88f77fb701a7c83516468 parent c251ef6167c46152e247fc41628a4ac2d0aca33e author Patrick Boettcher Thu, 07 Jul 2005 17:58:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:00 -0700 [PATCH] dvb: usb: cxusb DVB-T fixes cxusb DVB-T fixes. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c251ef6167c46152e247fc41628a4ac2d0aca33e tree de5dd85294ded63b3718b9eafc21758e2e7d2642 parent 78c6e73f5a27f01e45e86a4e3d13863c9cce6374 author Patrick Boettcher Thu, 07 Jul 2005 17:58:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:00 -0700 [PATCH] dvb: usb: dvb_usb_properties init fix There was no pid-filter-count set for some devices - led to an error. Thanks to Gerolf Wendland. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78c6e73f5a27f01e45e86a4e3d13863c9cce6374 tree b9e5cfdffe2ecb7762bf7b8275c267a323b27b49 parent 0589b8e4fd24885a00d8954aef57c3319d161fee author Patrick Boettcher Thu, 07 Jul 2005 17:58:13 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:00 -0700 [PATCH] dvb: usb: digitv-usb fixes Some more work on the digitv-usb driver: o MT352 initialization and PLL-programming o I2c-transfer fixed. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0589b8e4fd24885a00d8954aef57c3319d161fee tree 1952e609d342fb41bec57684b1683f6853ce41ef parent c9b06fa47e1c1ff8704461c7fd6a99e3621ba0e6 author Patrick Boettcher Thu, 07 Jul 2005 17:58:12 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: frontend: add ALPS TDED4 PLL Add dvb_pll_desc for ALPS TDED4 used in Nebula USB boxes. Changed the name-field of the FMD1216. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9b06fa47e1c1ff8704461c7fd6a99e3621ba0e6 tree b452edcee12a9435464b42688de2fc5ac2003a17 parent 22c6d93a73105fddd58796d7cb10f5f90ee2a338 author Patrick Boettcher Thu, 07 Jul 2005 17:58:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: usb: add module parm to disable remote control polling Add module parameter to deactive remote control polling. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c6d93a73105fddd58796d7cb10f5f90ee2a338 tree c5d49186c531e768fd5b137e3a573bcee0011600 parent 49dc82fdac3866e6ce9c978df80cedfb735d740c author Patrick Boettcher Thu, 07 Jul 2005 17:58:10 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: usb: support Medion hybrid USB2.0 DVB-T/analogue box Add preliminary support for the Medion Hybrid USB2.0 DVB-T/Analogue box. Analogue part is not working yet (cx25842 --> ivtv?). Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49dc82fdac3866e6ce9c978df80cedfb735d740c tree 9dd4c78e9b616577ff99a475a2f50af392f8b923 parent 7f5fee57812c99c95edf6794a50413c75e99fd4d author Patrick Boettcher Thu, 07 Jul 2005 17:58:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: frontend: add FMD1216ME PLL o change dvb-pll desc to take the frequency as parameter for setbw-callback into consideration o added dvb-pll desc for Philips FMD1216ME (needed for cxusb) Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f5fee57812c99c95edf6794a50413c75e99fd4d tree 141bb51ec2f1bcffa3775b01a0f128d52aa759fc parent 8945c8c3d207c7a69024c02d164f5ae790c5b7ba author Patrick Boettcher Thu, 07 Jul 2005 17:58:08 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: usb: add isochronous streaming method Added isochronous-streaming method. Changed memory (de)allocation behaviour accordingly. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8945c8c3d207c7a69024c02d164f5ae790c5b7ba tree bde659c1e944fbb27e9d156265331d6396d26fc6 parent 68293ddbabb26a58ddb0a84aa5058a7acd7127e7 author Patrick Boettcher Thu, 07 Jul 2005 17:58:07 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: usb: fix ADSTech Instant TV DVB-T USB2.0 support Fixed support for the ADSTech Instant TV DVB-T USB (2.0 version). Thanks to Gerolf Wendland for his support. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68293ddbabb26a58ddb0a84aa5058a7acd7127e7 tree 7cf1f8862b5df9fcb16585858e6226e5ab00b02d parent 53936391741dee735304e997e2289500adf970c7 author Johannes Stezenbach Thu, 07 Jul 2005 17:58:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: dvb-usb: support Artect T1 with broken USB ids Add #define for device with broken USB ids. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53936391741dee735304e997e2289500adf970c7 tree e9778f3326759d1e632d3ebad3ce83e450df4ff0 parent 80887a59c255f4a6c348dfc679501b3679d1070f author Gavin Hamill Thu, 07 Jul 2005 17:58:04 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: add support for Hauppauge/TT DVB-C budget Add support for Hauppauge/TT DVB-C budget. Signed-off-by: Gavin Hamill Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80887a59c255f4a6c348dfc679501b3679d1070f tree 8be85d55e711b974c1f29ff627957b861f569083 parent 34612157b48d38e85ff72d65291b9eecb44dd0a6 author Christophe Lucas Thu, 07 Jul 2005 17:58:03 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: kj printk fix printk() calls should include appropriate KERN_* constant. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34612157b48d38e85ff72d65291b9eecb44dd0a6 tree 22b58e6ed2067a717ff17eb34cc6249f3387b60f parent 7a2fa90fa8084846937aa194f8a40abfa99c692f author Oliver Endriss Thu, 07 Jul 2005 17:58:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: make av7110_fe_lock_fix() retryable av7110_fe_lock_fix() modified in a way that it can be retried after -ERESTARTSYS Signed-off-by: Oliver Endriss Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a2fa90fa8084846937aa194f8a40abfa99c692f tree 0ef157154967ce4f2e1e538f14d63754afa1c7b3 parent 12ba05049f9060e21ed1f95e876d8d063d2575b2 author Johannes Stezenbach Thu, 07 Jul 2005 17:58:01 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: cleanup indentation + whitespace Fix indentation and add some whitepsace between operators. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12ba05049f9060e21ed1f95e876d8d063d2575b2 tree 9dbcdb1c0b535eb4d0bcbc4448dfd7a5e3b88f08 parent ce18a223607b0e8cc9a8375abc64281a13ac423c author Johannes Stezenbach Thu, 07 Jul 2005 17:58:00 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: error handling fix Change error handling in av7110_stop_feed() to stop as many filters as possible in case of errors. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce18a223607b0e8cc9a8375abc64281a13ac423c tree 0c24eea6aae67bb7de1c4b2c2533437f09cc4fd1 parent eef5764d6806e29a768a632abce113c15264c5d6 author Wolfgang Rohdewald Thu, 07 Jul 2005 17:57:59 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: more error handling for firmware communication o propagate more errors back to caller or log them, mainly in av7110.c and av7110_av.c o fix error message in StartHWFilter o do not StopHWFilter for handle 0xffff Signed-off-by: Wolfgang Rohdewald Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eef5764d6806e29a768a632abce113c15264c5d6 tree f385a1b2ce3e9ad81a800dfd56bc9e2d2b0b57a9 parent c3d7b5aeb32668732ffc1968d12b804a98ef4fdd author Johannes Stezenbach Thu, 07 Jul 2005 17:57:58 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: budget-av / tu1216 fix for QAM128 Fix for QAM128 in VHF band suggested by Timo Helkiö. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3d7b5aeb32668732ffc1968d12b804a98ef4fdd tree 5e6044aee5eb6fc58404dfb2cfa6db16fcac2721 parent 7d87bc39b98e0bf927acd14611976f710bd9a783 author Dr. Werner Fink Thu, 07 Jul 2005 17:57:57 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: fix AUDUIO_CONTINUE ioctl Fixed typo in AUDUIO_CONTINUE ioctl: AUDIO_CMD_MUTE -> AUDIO_CMD_UNMUTE Signed-off-by: "Dr. Werner Fink" Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d87bc39b98e0bf927acd14611976f710bd9a783 tree b4a2a12140474d1ed59f4265d6e3e9e4ad8cfbae parent c9090ebb247999354f80d45d45b3d5a804a94f7f author Johannes Stezenbach Thu, 07 Jul 2005 17:57:56 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: fix bug in timeout handling Fix bug in timeout handling. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9090ebb247999354f80d45d45b3d5a804a94f7f tree b87cccfa2a0f037d1b59a5aa5986d449965819c2 parent dd2bbb179326d23577ff8201c4f20e0db3e87f7b author Wolfgang Rohdewald Thu, 07 Jul 2005 17:57:55 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: fix error handling for firmware communication o make sure ERESTARTSYS will be propagated o ReleaseBitmap: starting with Firmware 261e, also release when BMP_LOADING o removes unused #define BMP_LOADINGS o in many cases changed the return value from -1 to something more meaningful like ETIMEDOUT, EINVAL o changed syslog message timeout waiting for COMMAND such that it indicates what command did not complete o reduce # of arguments for LoadBitmap and BlitBitmap o av7110_osd_cmd: remove the out: label Signed-off-by: Wolfgang Rohdewald Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd2bbb179326d23577ff8201c4f20e0db3e87f7b tree 71a987846fdd0370fc3f037c4f4c56e839c1c308 parent 96bf2f2b549aab918f4225841df54c3d58896822 author Andrew de Quincey Thu, 07 Jul 2005 17:57:54 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: support for new TT DVB-T-CI Support for new TT DVB-T-CI, thanks to Andre Weidemann Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96bf2f2b549aab918f4225841df54c3d58896822 tree 4dc2e28fb2b346ef7d4892c7a3c54d28a8d0fa5c parent 771e71570ce4da549fe89978de0a29e3299d7fb7 author Andrew de Quincey Thu, 07 Jul 2005 17:57:53 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: add support for Technotrend/Hauppauge DVB-S SE Add support for s5h1420 frontend (new Technotrend/Hauppauge DVB-S SE). Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 771e71570ce4da549fe89978de0a29e3299d7fb7 tree 2003fa14c8073a30d70ef28c4da40c4fcb1c961f parent 3dff919425dd79954447e6ab39807b4c27ba3089 author Adrian Bunk Thu, 07 Jul 2005 17:57:52 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: ttusb-dec: kfree cleanup The Coverity checker discovered that these two kfree's can never be executed. Signed-off-by: Adrian Bunk Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dff919425dd79954447e6ab39807b4c27ba3089 tree 8b69b5f99c7d5e5d06a04b9b8eb8e221b27f20fb parent 7d53421c6adce47d067b834c605daeafe1ff9356 author Allan Stirling Thu, 07 Jul 2005 17:57:51 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: Twinhan DST: frontend polarization fix Fix a bug that caused the polarization (V/H) to be interchanged. Signed-off-by: Allan Stirling Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d53421c6adce47d067b834c605daeafe1ff9356 tree 1eb9e34d36f79bb9cd41676b8636445c56a0e2e8 parent 64221be7b9006338e4a45228f013e467ee4bf045 author Manu Abraham Thu, 07 Jul 2005 17:57:50 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: Twinhan DST: frontend fixes o Make the inversion setting specific, ie, only for the 200103A DVB-S This should not be flagged on other cards. o Make the frequency setting card specific o Make the bandwidth setting generic such that it supports more DVB-T cards o Set QAM size for DVB-C cards that do not autodetect QAM size o Fix a bug that caused the polarization not to be set. Set polarization for cards that do not autodetect polarization o Fix a bogus frontend signal lock, that caused a tuning delay as well. o Make the Symbolrate setting card specific Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64221be7b9006338e4a45228f013e467ee4bf045 tree acf137799c31c966f6d8083aee39c27f331905ab parent 2819639b5630cd26d399ee0481be9a752280cf4d author Patrick Boettcher Thu, 07 Jul 2005 17:57:49 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: flexcop: woraround irq stop problem The flexcop chip often stops generating interrupts after some hours of operation. Apparently this can be fixed by resetting register block 0x300 at each channel change (this is not detailed in the flexcop data books). This patch also restructures DMA handling and adds a bit of debug code for the irq problem in case it still happens for someone. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2819639b5630cd26d399ee0481be9a752280cf4d tree e742b0c098755591ae1cf864dbe71c0e7fd9110f parent 178c6efcd8435644028bf3f079c1e82107e72dfd author Patrick Boettcher Thu, 07 Jul 2005 17:57:48 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: flexcop: add big endian register definitions Add big-endian register definitions for running on a PowerPC. (Thanks to Paavo Hartikainen for testing.) Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 178c6efcd8435644028bf3f079c1e82107e72dfd tree f30ac325655b56225c800d1da38c9ef9c7a779f8 parent c7cadb3a02b5803c2f251b5cd84fbdc8fbec05e9 author Christophe Lucas Thu, 07 Jul 2005 17:57:47 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: saa7146: kj pci_module_init cleanup http://kerneljanitors.org/TODO - convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7cadb3a02b5803c2f251b5cd84fbdc8fbec05e9 tree 92b557ca6ec2890ac34f7e2595025e2b8f6a11e3 parent 48e4cc2d210e817e808ac9db598ce3fb5d09c205 author Andreas Oberritter Thu, 07 Jul 2005 17:57:46 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:55 -0700 [PATCH] dvb: add Pluto2 driver Add driver for the Satelco Easywatch Mobile DVB-T card (based on Pluto2 chip). Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48e4cc2d210e817e808ac9db598ce3fb5d09c205 tree 6f52c066a25e50b20b403cf5816556822eb967b8 parent 80064b803de140a65ca82bba5f0c40309b5a9f5e author Johannes Stezenbach Thu, 07 Jul 2005 17:57:45 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:55 -0700 [PATCH] dvb: DVB update Increase some timeouts by a factor of 10 as suggested by Mikko Hamalainen and Timo Ketolainen, to improve tuning for QAM128 / weak signal. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80064b803de140a65ca82bba5f0c40309b5a9f5e tree 5534bdf9b8f87e4046f55a70ed1e0889c6458437 parent f46dbb050b5c7585c34b9ef717d81d6fee883f9b author Johannes Stezenbach Thu, 07 Jul 2005 17:57:45 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:55 -0700 [PATCH] dvb: frontend: l64781: improve tuning Disable zig-zag and set min_delay_ms = 4000 as suggested by Allan Guild to improve tuning with weak signal. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f46dbb050b5c7585c34b9ef717d81d6fee883f9b tree 8b399f437f36b36bfbd79b5369b14a38b2eed7eb parent f03cbea36ab9412dcea58e953be4933b36c9b7be author Patrick Boettcher Thu, 07 Jul 2005 17:57:44 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:55 -0700 [PATCH] dvb: frontend: cx22702: support for cxusb Add .get_tune_settings callback (min_delay_ms = 1sec) and output_mode-field (parallel/serial) to support cxusb; minor cleanups. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f03cbea36ab9412dcea58e953be4933b36c9b7be tree 3ecffeccbd499ee2e3d7cd6bdc4094d989004968 parent 0c744b010078bd65724477e75261e51712d290a0 author Hartmut Hackmann Thu, 07 Jul 2005 17:57:43 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: frontend: tda1004x: support tda827x tuners o added preliminary support for tda827x tuners o set parameters for drift compensation to 0 makes no sense for DVB-T but can prevent lock Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c744b010078bd65724477e75261e51712d290a0 tree 7d504d2e4d3d9a832a8df55eef3b4edc07acee18 parent 3faadbb0fde3c53e1c4f13eabb478c0c7cb1e4dd author Anssi Hannula Thu, 07 Jul 2005 17:57:42 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: add missing release_firmware() calls Add missing release_firmware() calls to fix memory leaks. Signed-off-by: Anssi Hannula Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3faadbb0fde3c53e1c4f13eabb478c0c7cb1e4dd tree 1d342c327fb76ea12d2a84119876e9cc275482f6 parent ecb60deb9d5bbcbab6c87ee5fde6f8368197fcac author Hartmut Hackmann Thu, 07 Jul 2005 17:57:42 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: frontend: bcm3510: fix firmware version check Fix limit for firmware version check was too low for tda10045. Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecb60deb9d5bbcbab6c87ee5fde6f8368197fcac tree e8de9fd8fefbcc89e56821d58e39fe64729f43ee parent bbf24cec93b5966bdbd4f25be7a8a2d8716570db author Hartmut Hackmann Thu, 07 Jul 2005 17:57:40 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: frontend: tda1004x update o added config options for IF frequency and AGC o support DSP boot from on board eeprom o added pll sleep call Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbf24cec93b5966bdbd4f25be7a8a2d8716570db tree f9b1d7e3e9a8577d1919723a365e24bdb1b9a38d parent 3ec4a30771ed9a0ce6f05e637ea83b3781cc61d7 author Andrew de Quincey Thu, 07 Jul 2005 17:57:40 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: frontend: remove unused I2C ids Remove I2C_DRIVERID_DVBFE_ cruft. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ec4a30771ed9a0ce6f05e637ea83b3781cc61d7 tree d883cc6e133d447eace15f64d4e187492d5f674e parent 761979248adf83f5bece22e058ec445511984012 author Peter Beutner Thu, 07 Jul 2005 17:57:39 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: core: dmxdev cleanups - remove void casts - not necessary to set filter state twice to STATE_FREE during dvb_dmxdev_init() Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 761979248adf83f5bece22e058ec445511984012 tree 4afc251120216f74e17272e67263f8b0e5969229 parent 4992775c8287145e86b94fe8d19bbb5f20148cc0 author Peter Beutner Thu, 07 Jul 2005 17:57:38 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:53 -0700 [PATCH] dvb: core: demux error handling fix In dvb_dmxdev_filter_start if we go out because of an error, release previously allocated demux_feed. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4992775c8287145e86b94fe8d19bbb5f20148cc0 tree 6e2c39415532fe7c7c31f1b936130cd66d4ad036 parent 6757ccc57d2cc4ab4e63d8aee97f2e6b9f998990 author Andrew de Quincey Thu, 07 Jul 2005 17:57:37 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:53 -0700 [PATCH] dvb: core: add workaround for tuning problem Add workaround for signal lock loss issue, where the frontend loses the signal after some hours without any visible reason. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6757ccc57d2cc4ab4e63d8aee97f2e6b9f998990 tree 472bad3348464fa74910d6ac8978b6a63cb01a35 parent 25a26ec3b60b29300a652d7d81a69b6bc08b35b5 author Peter Beutner Thu, 07 Jul 2005 17:57:36 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:53 -0700 [PATCH] dvb: core: fix race condition in FE_READ_STATUS ioctl Fix a race condition where an application which issued a FE_READ_STATUS ioctl directly after FE_SET_FRONTEND would see an old status, i.e. FE_READ_STATUS would be executed before the frontend thread has even seen the tungin request from FE_SET_FRONTEND. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25a26ec3b60b29300a652d7d81a69b6bc08b35b5 tree edd38022b631c5301341d1d5c10ff431246503c9 parent 38b32d6237588e6dca9b9a84256b507a29207f68 author Johannes Stezenbach Thu, 07 Jul 2005 17:57:35 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] dvb: remove obsolete skystar2 driver Remove the skystar2 driver which has been obsoleted by the generalized flexcop-pci driver. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38b32d6237588e6dca9b9a84256b507a29207f68 tree 440eb4f2f6e9cbfa00c9ef660a65713b61da2506 parent 751c404b8f63e8199d5f2f8f2bcfd69b41d11caa author Martin Loschwitz Thu, 07 Jul 2005 17:57:31 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] dvb: cinergyT2: endianness fix for raw remote-control keys Fixed litte/big-endian conversion for raw remote-control keys. Signed-off-by: Martin Loschwitz Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 751c404b8f63e8199d5f2f8f2bcfd69b41d11caa tree d69c76ceadbaa6f5ca3fd7be881201e87ef93377 parent 55e700b924f9e0ba24e3a071d1097d050b05abe6 author Miklos Szeredi Thu, 07 Jul 2005 17:57:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] namespace: rename _mntput to mntput_no_expire This patch renames _mntput() to something a little more descriptive: mntput_no_expire(). Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55e700b924f9e0ba24e3a071d1097d050b05abe6 tree 36a5d2401211c8fe27f6210c6fddb6db699b8015 parent 732dbef606f22a23cb3e1029d613977ec645e8ae author Miklos Szeredi Thu, 07 Jul 2005 17:57:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] namespace: rename mnt_fslink to mnt_expire This patch renames vfsmount->mnt_fslink to something a little more descriptive: vfsmount->mnt_expire. Signed-off-by: Mike Waychison Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 732dbef606f22a23cb3e1029d613977ec645e8ae tree 513e7230a59a526a09b387b5a2628a2eed3a80bb parent 484e389c63472a7f8cfb491cf11b047364e59365 author Miklos Szeredi Thu, 07 Jul 2005 17:57:29 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] dcookies.c: use proper refcounting functions Dcookies shouldn't play with the internals of dentry and vfsmnt refcounting. It defeats grepping, and is prone to break if implementation details change. In addition the function doesn't even seem to be performance critical: it calls kmem_cache_alloc(). Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 484e389c63472a7f8cfb491cf11b047364e59365 tree 764b4430991d19f409e304cf2b96b4346e0af3bb parent ac0811538b40bb92d339d22364026ed91dfdd147 author Miklos Szeredi Thu, 07 Jul 2005 17:57:28 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] set mnt_namespace in the correct place This patch sets ->mnt_namespace where it's actually added to the namespace. Previously mnt_namespace was set in do_kern_mount() even if the filesystem was never added to any process's namespace (most kernel-internal filesystems). This discrepancy doesn't actually cause any problems, but it's cleaner if mnt_namespace is NULL for these non exported filesystems. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac0811538b40bb92d339d22364026ed91dfdd147 tree 6129b15ee8219343244c3dc8efa1a9ea7b51531d parent ed42c879b7b1463aa7a15fdbbeb2b1914d60be8a author Miklos Szeredi Thu, 07 Jul 2005 17:57:27 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: fix mnt_namespace zeroing for expired mounts This patch clears mnt_namespace in an expired mount. If mnt_namespace is not cleared, it's possible to attach a new mount to the already detached mount, because check_mnt() can return true. The effect is a resource leak, since the resulting tree will never be freed. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed42c879b7b1463aa7a15fdbbeb2b1914d60be8a tree 191f9386a8288e06d7d0e914434aea2f9a56e1ca parent 24ca2af1e7cff55e71e9f86c61ddc56e894b8b40 author Miklos Szeredi Thu, 07 Jul 2005 17:57:26 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: fix expiring of detached mount This patch fixes a bug noticed by Al Viro: However, we still have a problem here - just what would happen if vfsmount is detached while we were grabbing namespace semaphore? Refcount alone is not useful here - we might be held by whoever had detached the vfsmount. IOW, we should check that it's still attached (i.e. that mnt->mnt_parent != mnt). If it's not - just leave it alone, do mntput() and let whoever holds it deal with the sucker. No need to put it back on lists. Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24ca2af1e7cff55e71e9f86c61ddc56e894b8b40 tree 48728d0fbc849567a814ceb562476d132ba5068d parent a4d70278610e6bebe44a7b59a469fe7391387da6 author Miklos Szeredi Thu, 07 Jul 2005 17:57:25 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: split mark_mounts_for_expiry() This patch splits the mark_mounts_for_expiry() function. It's too complex and too deeply nested, even without the bugfix in the following patch. Otherwise code is completely the same. Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4d70278610e6bebe44a7b59a469fe7391387da6 tree 936ff611c40a3e1e3027f548e31ef312ca104fab parent 1ce88cf466f7b6078b14d67d186a3d7c19dd5609 author Miklos Szeredi Thu, 07 Jul 2005 17:57:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: cleanup in mark_mounts_for_expiry() This patch simplifies mark_mounts_for_expiry() by using detach_mnt() instead of duplicating everything it does. It should be an equivalent transformation except for righting the dput/mntput order. Al Viro said: "Looks sane". Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ce88cf466f7b6078b14d67d186a3d7c19dd5609 tree b9716f3a71e3285a998da9614cfbc132ca605542 parent 202322e6f7cd12e82b5ff0fa92bbdf517fcf0947 author Miklos Szeredi Thu, 07 Jul 2005 17:57:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: fix race in mark_mounts_for_expiry() This patch fixes a race found by Ram in mark_mounts_for_expiry() in fs/namespace.c. The bug can only be triggered with simultaneous exiting of a process having a private namespace, and expiry of a mount from within that namespace. It's practically impossible to trigger, and I haven't even tried. But still, a bug is a bug. The race happens when put_namespace() is called by another task, while mark_mounts_for_expiry() is between atomic_read() and get_namespace(). In that case get_namespace() will be called on an already dead namespace with unforeseeable results. The solution was suggested by Al Viro, with his own words: Instead of screwing with atomic_read() in there, why don't we simply do the following: a) atomic_dec_and_lock() in put_namespace() b) __put_namespace() called without dropping lock c) the first thing done by __put_namespace would be struct vfsmount *root = namespace->root; namespace->root = NULL; spin_unlock(...); .... umount_tree(root); ... d) check in mark_... would be simply namespace && namespace->root. And we are all set; no screwing around with atomic_read(), no magic at all. Dying namespace gets NULL ->root. All changes of ->root happen under spinlock. If under a spinlock we see non-NULL ->mnt_namespace, it won't be freed until we drop the lock (we will set ->mnt_namespace to NULL under that lock before we get to freeing namespace). If under a spinlock we see non-NULL ->mnt_namespace and ->mnt_namespace->root, we can grab a reference to namespace and be sure that it won't go away. Signed-off-by: Miklos Szeredi Acked-by: Al Viro Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 202322e6f7cd12e82b5ff0fa92bbdf517fcf0947 tree 82c1f7b4b97d5b31654157a8f427a5c8d546504f parent 6f50142e4b092a469920a0008fc23121c3d99f2f author Miklos Szeredi Thu, 07 Jul 2005 17:57:22 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: fix mnt_namespace clearing This patch clears mnt_namespace on unmount. Not clearing mnt_namespace has two effects: 1) It is possible to attach a new mount to a detached mount, because check_mnt() returns true. This means, that when no other references to the detached mount remain, it still can't be freed. This causes a resource leak, and possibly un-removable modules. 2) If mnt_namespace is dereferenced (only in mark_mounts_for_expiry()) after the namspace has been freed, it can cause an Oops, memory corruption, etc. 1) has been tested before and after the patch, 2) is only speculation. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f50142e4b092a469920a0008fc23121c3d99f2f tree e63c94bbcca7eef0745372c98812691cf97829ab parent 80c8ec2c04e539aac4e9810a46bc04c1b424b4dd author Roland Dreier Thu, 07 Jul 2005 17:57:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:50 -0700 [PATCH] IB uverbs: add documentation file Add documentation for InfiniBand userspace verbs. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80c8ec2c04e539aac4e9810a46bc04c1b424b4dd tree 2f6b7a3e455f93435797c85a36ea3d07e74fb0cc parent 74c2174e7be52f9d2d210511bf3b490f4b41574c author Roland Dreier Thu, 07 Jul 2005 17:57:20 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:50 -0700 [PATCH] IB uverbs: add mthca user QP support Add support for userspace queue pairs (QPs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74c2174e7be52f9d2d210511bf3b490f4b41574c tree aa7288790ba6329871c82904d46afe26bca24313 parent 24d4281be0598d2d4ab9a2ffb1b78f5af0ffaddf author Roland Dreier Thu, 07 Jul 2005 17:57:19 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:50 -0700 [PATCH] IB uverbs: add mthca user CQ support Add support for userspace completion queues (CQs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24d4281be0598d2d4ab9a2ffb1b78f5af0ffaddf tree cc7810ff27bc207e264ea183a150600cd8db7bd8 parent 99264c1ee2ce908f95c075cce97698758a793b58 author Roland Dreier Thu, 07 Jul 2005 17:57:19 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca user MR support Add support for userspace memory regions (MRs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99264c1ee2ce908f95c075cce97698758a793b58 tree d6ce99ee31aa1da65531f67268695f89d9e876d2 parent 53b8b3ffd5e0b10f3c683096a663d0cc22179c43 author Roland Dreier Thu, 07 Jul 2005 17:57:18 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca user PD support Add support for userspace protection domains (PDs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53b8b3ffd5e0b10f3c683096a663d0cc22179c43 tree 9cc09804e388e8febba6fd8d565dfdd633efe04b parent 5e0b537c7d94efe3fea0fee8e2533c3231a8af75 author Roland Dreier Thu, 07 Jul 2005 17:57:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca mmap support Add support for mmap() method to mthca, so that userspace can get access to doorbell registers. This allows userspace to get direct access to the HCA for data path operations. Each userspace context gets its own copy of the doorbell registers and is only allowed to use resources that the kernel has given it access to. In other words, this is safe. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e0b537c7d94efe3fea0fee8e2533c3231a8af75 tree 108ecc2bd5c9fabc86f1c51b2e77421cf78ce433 parent 56483ec1b70221f8c9838ccc9a89b43d9de66993 author Roland Dreier Thu, 07 Jul 2005 17:57:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca user context support Add support for managing userspace contexts to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 56483ec1b70221f8c9838ccc9a89b43d9de66993 tree fa91d177d6d7b34e08ee6f16a859db4c7e65bef1 parent e95975e8b87de47c08e032e7762fc7df7dfc2060 author Roland Dreier Thu, 07 Jul 2005 17:57:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca user doorbell record support Add support for userspace doorbell records to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e95975e8b87de47c08e032e7762fc7df7dfc2060 tree a8b20a456f9a274a05aead4a70e6fc6b5b14cd5f parent 2d927d696c088ceb22c776e1e89937dc289d4078 author Roland Dreier Thu, 07 Jul 2005 17:57:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca ABI header Add the mthca_user.h header file, which defines the device-specific ABI used by the mthca low-level driver for kernel/user communication. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d927d696c088ceb22c776e1e89937dc289d4078 tree e2b0d444aa785ebc1ee43bc13b9ae93e12a9bec6 parent eb8ffbfed50e7945c024a80e3688d5beffa3b641 author Roland Dreier Thu, 07 Jul 2005 17:57:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: hook up Kconfig/Makefile Hook up InfiniBand userspace verbs to Kconfig and the make system. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb8ffbfed50e7945c024a80e3688d5beffa3b641 tree 6b32628db0560e2f093efc50e7a0630b9bb678d0 parent bc38a6abdd5a50e007d0fcd9b9b6280132b79e62 author Roland Dreier Thu, 07 Jul 2005 17:57:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: memory pinning implementation Add support for pinning userspace memory regions and returning a list of pages in the region. This includes tracking pinned memory against vm_locked and preventing unprivileged users from exceeding RLIMIT_MEMLOCK. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc38a6abdd5a50e007d0fcd9b9b6280132b79e62 tree d811577e4bb3c63847967dfe151c5d07ec7b68c8 parent 8a96b3f9af2d0351285665b532f9359d6cd73f42 author Roland Dreier Thu, 07 Jul 2005 17:57:13 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: core implementation Add the core of the InfiniBand userspace verbs implementation, including creating character device nodes, dispatching requests from userspace, and passing event notifications back up to userspace. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a96b3f9af2d0351285665b532f9359d6cd73f42 tree d6b9bb7c6088711cb57881226aeb2c6e60866665 parent 1cf296b66afeec2edc39cc7bbedbf3d0afd2a373 author Roland Dreier Thu, 07 Jul 2005 17:57:12 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: add user verbs ABI header Add the ib_user_verbs.h header file, which defines the ABI used by InfiniBand userspace verbs for kernel/user communication. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cf296b66afeec2edc39cc7bbedbf3d0afd2a373 tree 37a47be9e6056ca8c71eecf4eba2211a05039980 parent b5e81bf5e7084796d93167f438ec073e59aca9ed author Roland Dreier Thu, 07 Jul 2005 17:57:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: update mthca for new API Update mthca to compile against the updated API for low-level drivers. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5e81bf5e7084796d93167f438ec073e59aca9ed tree 573883691b631eb5df77411a442bf82b279833a7 parent e2773c062e41f710d8ef1e8a790c7e558aff663d author Roland Dreier Thu, 07 Jul 2005 17:57:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: update kernel midlayer for new API Update kernel InfiniBand midlayer to compile against the updated API for low-level drivers. This just amounts to passing NULL for all userspace-related parameters, and setting userspace-related structure members to NULL. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2773c062e41f710d8ef1e8a790c7e558aff663d tree 1e0c19d85c429fbd19f2996d3f2a88652e8820c3 parent 404865516ce6b6d7ee37c4eb4ee77d78b38e669a author Roland Dreier Thu, 07 Jul 2005 17:57:10 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] IB uverbs: core API extensions First of a series of patches which add support for direct userspace access to InfiniBand hardware -- so-called "userspace verbs." I believe these patches are ready to merge, but a final review would be useful. These patches should incorporate all of the feedback from the discussion when I posted an earlier version back in April (see http://lkml.org/lkml/2005/4/4/267 for the start of the thread). In particular, memory pinned for use by userspace is accounted for in current->mm->vm_locked and requests to pin memory are checked against RLIMIT_MEMLOCK. This patch: Modify the ib_verbs.h header file with changes required for InfiniBand userspace verbs support. We add a few structures to keep track of userspace context, and extend the driver API so that low-level drivers know when they're creating resources that will be used from userspace. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 404865516ce6b6d7ee37c4eb4ee77d78b38e669a tree a5cb58f6f92b512af80f0f8972d3908d8662966f parent 7e8d7e3c9e38dab8d28a8667faa4941842f64213 author Andrew Morton Thu, 07 Jul 2005 17:57:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] alpha(): pgprot_noncached The infiniband code expects that the arch implements pgprot_noncached(). We're mapping PCI areas anyway, so this probabyl wasn't needed and we should make infiniband stop doing that.. Cc: Roland Dreier Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e8d7e3c9e38dab8d28a8667faa4941842f64213 tree f2584d8f7ebd4afd8c40f14dbb1558762bade2a5 parent 7eaae2828dadae3abde7f77734c874d4b74b313a author KAMBAROV, ZAUR Thu, 07 Jul 2005 17:57:07 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] coverity: sunrpc/xprt task null check In __xprt_lock_write() we check to see if `task' is NULL, but in other places we just go and dereference it. `task' shouldn't be NULL anyway, so remove this test. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Acked-by: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7eaae2828dadae3abde7f77734c874d4b74b313a tree 7cee35b529ebb2e88c808b52909821a05d324035 parent 8f96c95680bfe66ff00c91859d4c73edf539b854 author KAMBAROV, ZAUR Thu, 07 Jul 2005 17:57:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] coverity: fs/locks.c flp null check We're dereferencing `flp' and then we're testing it for NULLness. Either the compiler accidentally saved us or the existing null-pointer checdk is redundant. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Cc: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f96c95680bfe66ff00c91859d4c73edf539b854 tree 306857acc1009e7d354aea71aa02a0ea5d40fefd parent 5bbcfd9000887c0da7d57cc7b3ac869fc0dd5aa9 author KAMBAROV, ZAUR Thu, 07 Jul 2005 17:57:05 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] coverity: fix fbsysfs null pointer check Correctly test for a null pointer before going and dereferencing it. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bbcfd9000887c0da7d57cc7b3ac869fc0dd5aa9 tree 7047a60dc99e5484560b40027c81f92a4e291b29 parent a4014d8f61a6a136d22422cf8aa978e6495dbad9 author Ingo Molnar Thu, 07 Jul 2005 17:57:04 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] cond_resched(): fix bogus might_sleep() warning The BKS might be reacquired before we have dropped PREEMPT_ACTIVE, which could trigger a second could trigger a second cond_resched() call. Bug found by Hirofumi Ogawa. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4014d8f61a6a136d22422cf8aa978e6495dbad9 tree bb5d995c2511b99e131ca92020ffc10cafee4447 parent 682d4fc93105ebf0bdfbb04a4b85047999b17844 author David Howells Thu, 07 Jul 2005 17:57:03 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] Keys: Base keyring size on key pointer not key struct The attached patch makes the keyring functions calculate the new size of a keyring's payload based on the size of pointer to the key struct, not the size of the key struct itself. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 682d4fc93105ebf0bdfbb04a4b85047999b17844 tree 15e87e1a8ed2bc706db243a1d1edd4acf4a18cf6 parent 214a627cb401284f87cca7e1510a0f4284f1a17c author Ian Kent Thu, 07 Jul 2005 17:57:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] autofs4: mistake in debug print Fix debugging printk. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 214a627cb401284f87cca7e1510a0f4284f1a17c tree 5b6724028b520fa4002a5a9e752a90cd3d179522 parent ff87b37da912d6aeab6c20c58f51b34d3e37f111 author Jesse Millan Thu, 07 Jul 2005 17:57:01 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] put_compat_shminfo() warning fix GCC 4 complains because the function put_compat_shminfo() can't get to its return statement if there is no error... If the function does not return -EFAULT, it doesn't return anything at all. Looks like a typo. Signed-off-by: Jesse Millan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff87b37da912d6aeab6c20c58f51b34d3e37f111 tree 22c2e6467bbd70ea12c9bdbc8180711791cde02f parent 6c036527a630720063b67d9a65455e8caca2c8fa author Andreas Gruenbacher Thu, 07 Jul 2005 17:57:00 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] ext3 xattr: Don't write to the in-inode xattr space of reserved inodes We are not using the in-inode space for xattrs in reserved inodes because mkfs.ext3 doesn't initialize it properly. For those inodes, we set i_extra_isize to 0. Make sure that we also don't overwrite the i_extra_isize field when writing out the inode in that case. This is for cleanliness only, and doesn't fix an actual bug. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c036527a630720063b67d9a65455e8caca2c8fa tree 316e947f5f4efcda0205e48044ed1d12665eaed1 parent 0db925af1db5f3dfe1691c35b39496e2baaff9c9 author Christoph Lameter Thu, 07 Jul 2005 17:56:59 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] mostly_read data section Add a new section called ".data.read_mostly" for data items that are read frequently and rarely written to like cpumaps etc. If these maps are placed in the .data section then these frequenly read items may end up in cachelines with data is is frequently updated. In that case all processors in an SMP system must needlessly reload the cachelines again and again containing elements of those frequently used variables. The ability to share these cachelines will allow each cpu in an SMP system to keep local copies of those shared cachelines thereby optimizing performance. Signed-off-by: Alok N Kataria Signed-off-by: Shobhit Dayal Signed-off-by: Christoph Lameter Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0db925af1db5f3dfe1691c35b39496e2baaff9c9 tree bb9f827fa001b27f7a902abf174e8f0057c9df81 parent b84c21572de8a732062eff5592e3c4b3b1793bb8 author Alexey Dobriyan Thu, 07 Jul 2005 17:56:58 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] propagate __nocast annotations Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b84c21572de8a732062eff5592e3c4b3b1793bb8 tree 7dd856a718127f6c525b0e1e86a5965497cccccb parent a39722034ae37f80a1803bf781fe3fe1b03e20bc author Andreas Gruenbacher Thu, 07 Jul 2005 17:56:57 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:45 -0700 [PATCH] acl kconfig cleanup Original patch from Matt Mackall Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a39722034ae37f80a1803bf781fe3fe1b03e20bc tree fb7ef719d745e28678d73f884108f4cb2ef79171 parent d6afe27bfff30fbec2cca6ad5626c22f4094d770 author Nick Piggin Thu, 07 Jul 2005 17:56:56 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:45 -0700 [PATCH] page_uptodate locking scalability Use a bit spin lock in the first buffer of the page to synchronise asynch IO buffer completions, instead of the global page_uptodate_lock, which is showing some scalabilty problems. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6afe27bfff30fbec2cca6ad5626c22f4094d770 tree 83c28d2c90fe720b5a315b89301cf3a519ffed88 parent 8759145114f72857bcaeed338db21620a6619b26 author Roman Zippel Thu, 07 Jul 2005 17:56:55 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:45 -0700 [PATCH] tty output lossage fix The patch fixes a few corner cases around tty line editing with very long input lines: - n_tty_receive_char(): don't simply drop eol characters, otherwise canon_data isn't increased and the reader isn't woken up. - n_tty_receive_room(): If there is no newline pending and the edit buffer is full, allow only a single character to be written (until eol is found and the line is flushed), so characters from the next line aren't dropped. - write_chan(): if an incomplete line was written, continue writing until write() returns 0, otherwise it might not write the eol character to flush the line and the writer goes to sleep without ever being woken up. BTW the core problem is that part of this should be handled in the receive_buf path, but for this it has to return the number of written characters, as the amount of written characters may not be the same as the amount of characters going into the write buffer, so the receive_room() usage in pty_write() is not really reliable. Alan said: The problem looks valid. The behaviour of 'traditional unix' appears to be the following If you exceed the line limit then beep and drop the character Always allow EOL to complete a canonical line input Always do signal/control processing if enabled Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8759145114f72857bcaeed338db21620a6619b26 tree a7a1ddd9c16f4d4669497db0f9f6e77e6d163f72 parent 605a69ac81249cca531cdc6b3e695f15dda63102 author Arnd Bergmann Thu, 07 Jul 2005 17:56:53 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] xtensa: remove old syscalls xtensa is now in -rc1, with the obsolete syscalls still in there, so I guess this about the last chance to correct the ABI. Applying the patch obviously breaks all sorts of user space binaries and probably also requires the appropriate changes to be made to libc. On the other hand, if a decision is made to keep the broken interface, it should at least be a conscious one instead of an oversight. Signed-off-by: Arnd Bergmann Cc: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 605a69ac81249cca531cdc6b3e695f15dda63102 tree f42d781478ddf14288d3952263363efde1bc45a2 parent 3f580470baa3afc423e38fdc6e19667446b5aac0 author Paolo 'Blaisorblade' Giarrusso Thu, 07 Jul 2005 17:56:52 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] uml: remove winch sem Replace a semaphore (winch_handler_sem) used in atomic code with a spinlock, and reduces as needed the amount of protected code to the bare minimum (for instance no kmalloc calls are needed). This fixes the last problems with spinlocking (in UP mode with DEBUG options); the semaphore, taken inside spinlocks, caused a "spin_lock was already locked" warning, without this patch. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f580470baa3afc423e38fdc6e19667446b5aac0 tree d6c8b52b9c7bbe63fbeec22e7f6788c136511bf9 parent 9786a8f3cbc61f990266e23ffdb338ee3118b03d author Paolo 'Blaisorblade' Giarrusso Thu, 07 Jul 2005 17:56:51 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] uml: restore hppfs support Some time ago a trivial patch broke HPPFS (one var became a pointer, not all uses were updated). It wasn't fixed at that time because not very used, now it's been requested so I've fixed this, and it has been tested positively (at least partially). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9786a8f3cbc61f990266e23ffdb338ee3118b03d tree c987811d30508728f954cc8aaa14de1f7fa5b44a parent d67b569f5f620c0fb95d5212642746b7ba9d29e4 author Bodo Stroesser Thu, 07 Jul 2005 17:56:50 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] uml: Proper clone support for skas0 This patch implements the clone-stub mechanism, which allows skas0 to run with proc_mm==0, even if the clib in UML uses modify_ldt. Note: There is a bug in skas3.v7 host patch, that avoids UML-skas from running properly on a SMP-box. In full skas3, I never really saw problems, but in skas0 they showed up. More commentary by jdike - What this patch does is makes sure that the host parent of each new host process matches the UML parent of the corresponding UML process. This ensures that any changed LDTs are inherited. This is done by having clone actually called by the UML process from its stub, rather than by the kernel. We have special syscall stubs that are loaded onto the stub code page because that code must be completely self-contained. These stubs are given C interfaces, and used like normal C functions, but there are subtleties. Principally, we have to be careful about stack variables in stub_clone_handler after the clone. The code is written so that there aren't any - everything boils down to a fixed address. If there were any locals, references to them after the clone would be wrong because the stack just changed. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d67b569f5f620c0fb95d5212642746b7ba9d29e4 tree c7ef10c906dd83911e10988c6cea6d7d5644e072 parent 1322ad41513f8f9196801f53cc0851df056f3478 author Jeff Dike Thu, 07 Jul 2005 17:56:49 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] uml: skas0 - separate kernel address space on stock hosts UML has had two modes of operation - an insecure, slow mode (tt mode) in which the kernel is mapped into every process address space which requires no host kernel modifications, and a secure, faster mode (skas mode) in which the UML kernel is in a separate host address space, which requires a patch to the host kernel. This patch implements something very close to skas mode for hosts which don't support skas - I'm calling this skas0. It provides the security of the skas host patch, and some of the performance gains. The two main things that are provided by the skas patch, /proc/mm and PTRACE_FAULTINFO, are implemented in a way that require no host patch. For the remote address space changing stuff (mmap, munmap, and mprotect), we set aside two pages in the process above its stack, one of which contains a little bit of code which can call mmap et al. To update the address space, the system call information (system call number and arguments) are written to the stub page above the code. The %esp is set to the beginning of the data, the %eip is set the the start of the stub, and it repeatedly pops the information into its registers and makes the system call until it sees a system call number of zero. This is to amortize the cost of the context switch across multiple address space updates. When the updates are done, it SIGSTOPs itself, and the kernel process continues what it was doing. For a PTRACE_FAULTINFO replacement, we set up a SIGSEGV handler in the child, and let it handle segfaults rather than nullifying them. The handler is in the same page as the mmap stub. The second page is used as the stack. The handler reads cr2 and err from the sigcontext, sticks them at the base of the stack in a faultinfo struct, and SIGSTOPs itself. The kernel then reads the faultinfo and handles the fault. A complication on x86_64 is that this involves resetting the registers to the segfault values when the process is inside the kill system call. This breaks on x86_64 because %rcx will contain %rip because you tell SYSRET where to return to by putting the value in %rcx. So, this corrupts $rcx on return from the segfault. To work around this, I added an arch_finish_segv, which on x86 does nothing, but which on x86_64 ptraces the child back through the sigreturn. This causes %rcx to be restored by sigreturn and avoids the corruption. Ultimately, I think I will replace this with the trick of having it send itself a blocked signal which will be unblocked by the sigreturn. This will allow it to be stopped just after the sigreturn, and PTRACE_SYSCALLed without all the back-and-forth of PTRACE_SYSCALLing it through sigreturn. This runs on a stock host, so theoretically (and hopefully), tt mode isn't needed any more. We need to make sure that this is better in every way than tt mode, though. I'm concerned about the speed of address space updates and page fault handling, since they involve extra round-trips to the child. We can amortize the round-trip cost for large address space updates by writing all of the operations to the data page and having the child execute them all at the same time. This will help fork and exec, but not page faults, since they involve only one page. I can't think of any way to help page faults, except to add something like PTRACE_FAULTINFO to the host. There is PTRACE_SIGINFO, but UML doesn't use siginfo for SIGSEGV (or anything else) because there isn't enough information in the siginfo struct to handle page faults (the faulting operation type is missing). Adding that would make PTRACE_SIGINFO a usable equivalent to PTRACE_FAULTINFO. As for the code itself: - The system call stub is in arch/um/kernel/sys-$(SUBARCH)/stub.S. It is put in its own section of the binary along with stub_segv_handler in arch/um/kernel/skas/process.c. This is manipulated with run_syscall_stub in arch/um/kernel/skas/mem_user.c. syscall_stub will execute any system call at all, but it's only used for mmap, munmap, and mprotect. - The x86_64 stub calls sigreturn by hand rather than allowing the normal sigreturn to happen, because the normal sigreturn is a SA_RESTORER in UML's address space provided by libc. Needless to say, this is not available in the child's address space. Also, it does a couple of odd pops before that which restore the stack to the state it was in at the time the signal handler was called. - There is a new field in the arch mmu_context, which is now a union. This is the pid to be manipulated rather than the /proc/mm file descriptor. Code which deals with this now checks proc_mm to see whether it should use the usual skas code or the new code. - userspace_tramp is now used to create a new host process for every UML process, rather than one per UML processor. It checks proc_mm and ptrace_faultinfo to decide whether to map in the pages above its stack. - start_userspace now makes CLONE_VM conditional on proc_mm since we need separate address spaces now. - switch_mm_skas now just sets userspace_pid[0] to the new pid rather than PTRACE_SWITCH_MM. There is an addition to userspace which updates its idea of the pid being manipulated each time around the loop. This is important on exec, when the pid will change underneath userspace(). - The stub page has a pte, but it can't be mapped in using tlb_flush because it is part of tlb_flush. This is why it's required for it to be mapped in by userspace_tramp. Other random things: - The stub section in uml.lds.S is page aligned. This page is written out to the backing vm file in setup_physmem because it is mapped from there into user processes. - There's some confusion with TASK_SIZE now that there are a couple of extra pages that the process can't use. TASK_SIZE is considered by the elf code to be the usable process memory, which is reasonable, so it is decreased by two pages. This confuses the definition of USER_PGDS_IN_LAST_PML4, making it too small because of the rounding down of the uneven division. So we round it to the nearest PGDIR_SIZE rather than the lower one. - I added a missing PT_SYSCALL_ARG6_OFFSET macro. - um_mmu.h was made into a userspace-usable file. - proc_mm and ptrace_faultinfo are globals which say whether the host supports these features. - There is a bad interaction between the mm.nr_ptes check at the end of exit_mmap, stack randomization, and skas0. exit_mmap will stop freeing pages at the PGDIR_SIZE boundary after the last vma. If the stack isn't on the last page table page, the last pte page won't be freed, as it should be since the stub ptes are there, and exit_mmap will BUG because there is an unfreed page. To get around this, TASK_SIZE is set to the next lowest PGDIR_SIZE boundary and mm->nr_ptes is decremented after the calls to init_stub_pte. This ensures that we know the process stack (and all other process mappings) will be below the top page table page, and thus we know that mm->nr_ptes will be one too many, and can be decremented. Things that need fixing: - We may need better assurrences that the stub code is PIC. - The stub pte is set up in init_new_context_skas. - alloc_pgdir is probably the right place. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1322ad41513f8f9196801f53cc0851df056f3478 tree c7494232c8d2bb840368c664be256b93bf6696fa parent 47b724f3fe372a3d9acf0bb560fb5c93c9867880 author Pavel Machek Thu, 07 Jul 2005 17:56:45 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] pm: clean up process.c freezeable() already tests for TRACED/STOPPED processes, no need to do it twice. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47b724f3fe372a3d9acf0bb560fb5c93c9867880 tree bbb6cf40166e0be65cf5589a6b1d46e732df1f47 parent 3efa147ad7608196639882ba4075b376f306fe16 author Pavel Machek Thu, 07 Jul 2005 17:56:44 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] swsusp: fix error handling Fix error handling and whitespace in swsusp.c. swsusp_free() was called when there was nothing allocating, leading to oops. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3efa147ad7608196639882ba4075b376f306fe16 tree edc1176c8af4ce97c3586382ebb7de68936f1bec parent e00d9967e3addea86dded46deefc5daec5d52e5a author Pavel Machek Thu, 07 Jul 2005 17:56:43 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] pm: Fix resume from initrd Move device name resolution code around so that it is not called from resume-from-initrd. name_to_dev_t may be unavailable at that point. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e00d9967e3addea86dded46deefc5daec5d52e5a tree bd6f4fba60ac6173f6e8e4a61461c74c06e3fc9a parent 2a569579be87b5ba61f9b6c54fd5f9f307c53962 author Bernard Blackham Thu, 07 Jul 2005 17:56:42 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] pm: fix u32 vs. pm_message_t confusion in cpufreq Fix u32 vs pm_message_t confusion in cpufreq. Signed-off-by: Bernard Blackham Signed-off-by: Pavel Machek Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a569579be87b5ba61f9b6c54fd5f9f307c53962 tree 6cc12f2384d235e87941a85a925618c10b419c7f parent e8af300c3bd87b2310f1e7a642f37e0fe49a754b author Pavel Machek Thu, 07 Jul 2005 17:56:40 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] pm: more u32 vs. pm_message_t fixes Few more u32 vs. pm_message_t fixes. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8af300c3bd87b2310f1e7a642f37e0fe49a754b tree 3a4d7be252aef85fb93cd6ac65dcd9a983f5bdd8 parent 8ff8b27bb8ebfd863b49653da1b7bbd8609fcd7e author Dave Jones Thu, 07 Jul 2005 17:56:39 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] Fix up non-NUMA breakage in mmzone.h If CONFIG_NUMA isn't set, we use the define in for early_pfn_to_nid (which defines it to 0). Because of this, the prototype needs to move inside the CONFIG_NUMA too, or anal gcc's get really confused. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ff8b27bb8ebfd863b49653da1b7bbd8609fcd7e tree 16577a65b896e0e123701791a62ac056250f6d99 parent 3b520b238e018ef0e9d11c9115d5e7d9419c4ef9 author Dave Jones Thu, 07 Jul 2005 17:56:39 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] Clean up numa defines in mmzone.h The recent cleanups to asm-i386/mmzone.h were suboptimal nesting an ifdef of the same symbol. This patch removes some of the ifdef'ery to make things more readable again. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b520b238e018ef0e9d11c9115d5e7d9419c4ef9 tree 8b9bf3ccf2dd13dbbbcb4a3ff5028a351817b657 parent 01d299367fe868851a632cfbdb606845f57682aa author Shaohua Li Thu, 07 Jul 2005 17:56:38 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] MTRR suspend/resume cleanup There has been some discuss about solving the SMP MTRR suspend/resume breakage, but I didn't find a patch for it. This is an intent for it. The basic idea is moving mtrr initializing into cpu_identify for all APs (so it works for cpu hotplug). For BP, restore_processor_state is responsible for restoring MTRR. Signed-off-by: Shaohua Li Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01d299367fe868851a632cfbdb606845f57682aa tree a9d68f7a6d8638b14272ce12db1a8f602e024eea parent 059e277e5ba6486b5ef66deb336d4ef887f163ac author Adrian Bunk Thu, 07 Jul 2005 17:56:36 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] FRV: Add defconfig This patch by Yoshihiro MATSUYAMA (already ACK'ed by David Howells) adds a defconfig for the frv arch. Signed-Off-By: Yoshihiro MATSUYAMA Signed-off-by: Adrian Bunk Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 059e277e5ba6486b5ef66deb336d4ef887f163ac tree 4d264678851822636a9299cab0b9bc8d3893927d parent b6bff397ea9c36d410212f785ee644103146102a author Anton Blanchard Thu, 07 Jul 2005 17:56:36 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] ppc64: silence perfmon exception warnings We dont need to use the PERFMON exception on POWER5, in fact the firmware returns an error. Due to this just remove the warning. Also now that we have proper runlatch support we can remove the bootup hack. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6bff397ea9c36d410212f785ee644103146102a tree ff1be4fa98c580cc3d3246d866b76102efa703cb parent 10ca1e1ed58d6428924b5a44539334c341a6f485 author Michael Ellerman Thu, 07 Jul 2005 17:56:35 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] ppc64: Be consistent about printing which idle loop we're using Not sure if we really need this, but it was handy to know which iSeries loop I was testing. Be consistent about printing which idle loop we're using, with this patch we cover all cases. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10ca1e1ed58d6428924b5a44539334c341a6f485 tree e3248ca2b069da7a3f5e477dad41944abd417325 parent 45e75dfb609df4391636c2218bec5ea04536601d author Anton Blanchard Thu, 07 Jul 2005 17:56:34 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: fix compile warning Fix a compile warning introduced by the previous patches. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45e75dfb609df4391636c2218bec5ea04536601d tree 7b6bebf52bd2b27bc02d19f790482e9033d15ffb parent 050a09389e045f37e5bf08718cf36909766e20d1 author Anton Blanchard Thu, 07 Jul 2005 17:56:33 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: idle fixups - remove some unnecessary includes - add runlatch support - no need to use raw_smp_processor_id any more, current preempt debug logic checks for processes that are bound to one cpu. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 050a09389e045f37e5bf08718cf36909766e20d1 tree 55911d552e81729ddf825b44463805ade84eb1f0 parent 3c57bb9f454e8fc7b3d815b991b0dec43c766641 author Anton Blanchard Thu, 07 Jul 2005 17:56:33 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: pSeries idle fixups - separate out sleep logic in dedicated_idle, it was so far indented that it got squashed against the right side of the screen. - add runlatch support, looping on runlatch disable. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c57bb9f454e8fc7b3d815b991b0dec43c766641 tree f9bfb5f481a3967eee66603107065fa728602448 parent 08d5e3eb4b2141e1031835c89a62ee3ddf896641 author Anton Blanchard Thu, 07 Jul 2005 17:56:32 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: iSeries idle fixups - remove min/max yield time, we dont use the values anywhere - separate shared and dedicated idle loops - check need_resched again with irqs off to avoid sleeping with pending work - continually set runlatch off in idle loop, this means we dont need to turn the runlatch off on exception exit and suffer that associated cost for all exceptions. (A future patch will turn the runlatch on at exception entry) Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08d5e3eb4b2141e1031835c89a62ee3ddf896641 tree f94edd066fc7e2b554a93812bb1938f6374178e0 parent 62d60e9f0f890c31e5a83a7d8ecdfd1c7975fdb9 author Michael Ellerman Thu, 07 Jul 2005 17:56:31 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: Remove obsolete idle_setup() Now that the idle loop is configured by each platform we don't need idle_setup() anymore. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62d60e9f0f890c31e5a83a7d8ecdfd1c7975fdb9 tree 840653ffa74b54ec277630116355d161ab076679 parent c66d5dd6b5b62e1435b95c0fb42f6bcddeb395ea author Michael Ellerman Thu, 07 Jul 2005 17:56:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: Fixup platforms for new ppc_md.idle This patch fixes up iSeries, pSeries, pmac and maple to set the correct idle function for each platform. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c66d5dd6b5b62e1435b95c0fb42f6bcddeb395ea tree bb7a7241f07b1f7c75101469f87e2485f486e592 parent d200903e11f6867b91dffa81b2038e55be599f49 author Michael Ellerman Thu, 07 Jul 2005 17:56:29 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: Move pSeries idle functions into pSeries_setup.c dedicated_idle() and shared_idle() are only used by pSeries, so move them into pSeries_setup.c Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d200903e11f6867b91dffa81b2038e55be599f49 tree e741dfb082e94685c6cb0d1ccc3616c216af7c7a parent fd899c0cc725387992ccfc83fb6f70505c36cbeb author Michael Ellerman Thu, 07 Jul 2005 17:56:29 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:40 -0700 [PATCH] ppc64: Move iSeries_idle() into iSeries_setup.c Move iSeries_idle() into iSeries_setup.c, no one else needs to know about it. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd899c0cc725387992ccfc83fb6f70505c36cbeb tree 0de5d3960c7e7247638c962d7913acec1ce2e9fe parent 88de0be0c7335650326a1236bf6ca1ed265c0a1c author Michael Ellerman Thu, 07 Jul 2005 17:56:28 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:40 -0700 [PATCH] ppc64: Make idle_loop a ppc_md function This patch adds an idle member to the ppc_md structure and calls it from cpu_idle(). If a platform leaves ppc_md.idle as null it will get the default idle loop default_idle(). Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88de0be0c7335650326a1236bf6ca1ed265c0a1c tree 8883c2bae00d6adde360ff12fa934961e681d9a8 parent 70b234a40107596a713e9981c643f2717e31463f author Milton Miller Thu, 07 Jul 2005 17:56:27 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:40 -0700 [PATCH] hvc_console: Use hvc_get_chars in hvsi code Now that hvc_get_chars doesn't strip NULs, hvsi doesn't have to duplicate it. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70b234a40107596a713e9981c643f2717e31463f tree e7f0d4382c32b61efd671c051095535767288a30 parent 030ffad23fb28fc29608a3bc21f0c3b88bf28592 author Milton Miller Thu, 07 Jul 2005 17:56:26 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:40 -0700 [PATCH] hvc_console: Separate the NUL character filtering from get_hvc_chars Separate the NUL character filtering from get_hvc_chars. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 030ffad23fb28fc29608a3bc21f0c3b88bf28592 tree 8fe8a2e8615e25e985c5658687d38c5c0ce7a971 parent acad9559f1054487292eb10d7bb81f256e9d8f2d author Milton Miller Thu, 07 Jul 2005 17:56:25 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Register ops when setting up hvc_console When registering the hvc console port, register a list of ops (read and write) to go with it, instead of calling fixed function names. This allows different ports to encode the data differently. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit acad9559f1054487292eb10d7bb81f256e9d8f2d tree 9496b1c81c776ab5c8af37246697052226a345a6 parent d5ee257c3342185ba8ab642d125d192eb99ea8f2 author Milton Miller Thu, 07 Jul 2005 17:56:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Separate hvc_console and vio code 2 Remove all the vio device driver code from hvc_console.c This will allow us to separate hvsi, hvc, and allow hvc_console to be used without the ppc64 vio layer. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5ee257c3342185ba8ab642d125d192eb99ea8f2 tree da6d95fc65a48c36032cdfbb768385f50f7fb5ba parent 7805b1b29ffdd252dfef36aa28d7bda70cd586d3 author Milton Miller Thu, 07 Jul 2005 17:56:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Separate hvc_console and vio code Separate the console setup routines of the hvc_console and the vio layer. Remove the call to find_init_vty from hvc_console.c. Fail the setup routine if the console doesn't exist, but register the console again when the specified channel is instantiated. This scheme maintains the print buffer semantics while eliminating callout and call back for the console code. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7805b1b29ffdd252dfef36aa28d7bda70cd586d3 tree 675b2300649b389eb4fb02ec298309e40d235d2c parent 64e4da57964c03da9a03087a398cade81b7bb496 author Milton Miller Thu, 07 Jul 2005 17:56:23 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Add some sanity checks Check if a vterm was registered before accepting it as a console. Check that a slot hasn't been probed with a tty in hvc_instantiate(). Check that a slot hasn't been free'ed when handing out console device. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64e4da57964c03da9a03087a398cade81b7bb496 tree 60c86746fa0a489431c2f2b390e050390da1952c parent 5f6d9c072df162a8601a09e6c63fd0e4f5aecd06 author Milton Miller Thu, 07 Jul 2005 17:56:22 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Statically initialize the vtermnos array Statically initialize the vtermnos array. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f6d9c072df162a8601a09e6c63fd0e4f5aecd06 tree 6b8684f1449bc36f02397b4ca24b1b4a17cf2382 parent e51d8c90a5ead16810302b2dc5127724c9045e77 author Milton Miller Thu, 07 Jul 2005 17:56:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: remove num_vterms and some dead code num_vterms hasn't been used since the hotplug support went in. Also, remove a dead code line from a list_for_each_entry conversion. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e51d8c90a5ead16810302b2dc5127724c9045e77 tree c229ac9b8b4702f897421e63f554f241739939cb parent 320da0d23ed1f82a896e0cfc1549a896d267777a author Milton Miller Thu, 07 Jul 2005 17:56:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Add missing include hvc_console checks MAGIC_SYSRQ and XMON config vars. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 320da0d23ed1f82a896e0cfc1549a896d267777a tree ea61c002d0d1e0448fa47e006b0e6700bfb1af97 parent 2b9e0bac9419404a2d210ccaffaec442fe63338e author Milton Miller Thu, 07 Jul 2005 17:56:20 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Unregister the console in the exit routine. Be thorough in our exit routine, since it says it is there to be so. Unregistering without registering is safe (checked in 2.6.10). Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b9e0bac9419404a2d210ccaffaec442fe63338e tree 30e434f301c38c66cc0ee4ebe9e7e0a594ce629e parent 8b67f8c177a642b35b7a05f530c12ef2834ef182 author Milton Miller Thu, 07 Jul 2005 17:56:19 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: MAGIC_SYSRQ should only be on console channel Guard the MAGIC_SYSRQ ^O to be just on the console channel. Make the other channels more transparent. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b67f8c177a642b35b7a05f530c12ef2834ef182 tree f1e0b3fc48737ccb8f88dd50f16721dec9ff97d8 parent 6f24808eeb54eed5994128a863cd25c40f36cfac author Milton Miller Thu, 07 Jul 2005 17:56:18 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Dont always kick the poll thread in interrupt Have the hvc console code try to pull characters immediately when receiving an interrupt, and kick the poll thread only if the immediate poll indicates it needed a call back to do more work. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f24808eeb54eed5994128a863cd25c40f36cfac tree 19a4567d9e9d6b2b7f8d7be84068d6e734495b59 parent 837dcfaf46d147f1d2c64cbbecb832dd9075c39d author Milton Miller Thu, 07 Jul 2005 17:56:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Match vio and console devices using vterm numbers Use the vterm numbers to match the vio devices being probed with the indices already allocated via the console initcall function hvc_find_vtys. The old code required hvc_find_vtys to "guess" the matching devices the vio subsystem would find and its probe order. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 837dcfaf46d147f1d2c64cbbecb832dd9075c39d tree 4b8199609f63ee07126c6940c71d9a6f14bca4ec parent 5cee73fa04758f52b7404b93a02edf74649370ab author Milton Miller Thu, 07 Jul 2005 17:56:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Rearrange code Milton Miller has done a lot of work to clean up our hvc_console code. One of the important things the following patch series does is separate the VIO layer from the hvc_console code. With the VIO specific code removed any ppc64 platform, or even any architecture, can use hvc_console as a generic polling console. You simply have to supply a get_chars and put_chars method and hvc_console does the rest of the work. You can even use it for an interrupt driven console. This patch: Rearrange the code in drivers/char/hvc_console.c to make future patches smaller. No actual code changes, just ordering of the functions in the file. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5cee73fa04758f52b7404b93a02edf74649370ab tree 979efdef0776584a43fbd2e3043b7e5163a91aaf parent 79c2cc7b6d2cc31cff6a3d8e966a890f0a0d5f7a author Anton Blanchard Thu, 07 Jul 2005 17:56:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: remove duplicate syscall reservation We already have a prototype for sys_remap_file_pages (239) so there is no need to reserve it twice. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79c2cc7b6d2cc31cff6a3d8e966a890f0a0d5f7a tree 8fba99fc6e39e35fd0416d0ce5d5593944241153 parent 4416f3968a23e25a257d679227a89710447760ab author Anton Blanchard Thu, 07 Jul 2005 17:56:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: add ioprio syscalls - Clean up sys32_getpriority comment. - Add ioprio syscalls, and sign extend 32bit versions. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4416f3968a23e25a257d679227a89710447760ab tree f66556c0553da43ee762f4b8ec100b687c9f1cdc parent cf36680887d6d942d2119c1ff1dfb2428b0f21f4 author Anton Blanchard Thu, 07 Jul 2005 17:56:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: sys_ppc32.c cleanups Remove some unnecessary includes, an out of date comment and a prototype for sys_timer_create (which is now in syscalls.h) Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf36680887d6d942d2119c1ff1dfb2428b0f21f4 tree 1290244377993179daabe5f2e0f3f636fbafbc47 parent 8dc4fd87f229414fc38648508aad7def2275fe81 author Anton Blanchard Thu, 07 Jul 2005 17:56:13 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] move ioprio syscalls into syscalls.h - Make ioprio syscalls return long, like set/getpriority syscalls. - Move function prototypes into syscalls.h so we can pick them up in the 32/64bit compat code. Signed-off-by: Anton Blanchard Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dc4fd87f229414fc38648508aad7def2275fe81 tree 4b9d330f855627807b4d7eab0b888bcb30403b32 parent a2f7a9ce2a5c3d21cc0eb37a03da603b44ba4b09 author Anton Blanchard Thu, 07 Jul 2005 17:56:12 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: Turn runlatch on in exception entry Enable the runlatch at the start of each exception. Unfortunately we are out of space in the 0x300 handler, so I added it a bit later. The SPR write is fairly expensive, perhaps we should cache the runlatch state in the paca and avoid the write when possible. We don't need to turn the runlatch off, we do that in the idle loop. Better to take the hit in the idle loop than for each exception exit. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2f7a9ce2a5c3d21cc0eb37a03da603b44ba4b09 tree 20d782192f849d9f8f1eabd465246e8fd292324a parent 315a699851722a6bc31e35f91562f31f55d4c4a2 author Anton Blanchard Thu, 07 Jul 2005 17:56:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: Fix runlatch code to work on pseries machines Not all ppc64 CPUs have the CTRL SPR, so we need a cputable feature for it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 315a699851722a6bc31e35f91562f31f55d4c4a2 tree 546c54bed0e5c46a63cd0ad89ddea43841409e9a parent 2098eec22882e8a50a21eb214df4742b34927dae author Anton Blanchard Thu, 07 Jul 2005 17:56:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] ppc64: use c99 initialisers in cputable code Use c99 initialisers in the cputable code. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2098eec22882e8a50a21eb214df4742b34927dae tree 56486cc756b0177c31d007b798af53e727df1a94 parent 3c326fe9cb7ae022f7589a6f5781e49ceab82e64 author Olaf Hering Thu, 07 Jul 2005 17:56:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] ppc64: vdso32: fix link errors after recent toolchain changes Patch from , http://sources.redhat.com/bugzilla/show_bug.cgi?id=1042 /usr/bin/ld: arch/ppc64/kernel/vdso32/vdso32.so: The first section in the PT_DYNAMIC segment is not the .dynamic section Signed-off-by: Olaf Hering Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c326fe9cb7ae022f7589a6f5781e49ceab82e64 tree 98419a66ee601d790029b9cc670f49ad2c3dab35 parent 155ad605b3c9c5874ff068f23c6ea8537190e0a8 author Benjamin Herrenschmidt Thu, 07 Jul 2005 17:56:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] ppc64: Add new PHY to sungem This patch adds support for some new PHY models to sungem as used on some recent Apple iMac G5 models. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 155ad605b3c9c5874ff068f23c6ea8537190e0a8 tree 29de329925f9d7238f7d38c699a794ee39d672dc parent f182ae626189d8a346aae142e7b8b182663dac44 author Sam Ravnborg Thu, 07 Jul 2005 17:56:08 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] kbuild: build a single module using 'make dir/module.ko' Using the syntax: make dir/module.ko kbuild now allows one to build a module including the final link stage. This is usefull when one only wants to compile a single module and thus do not have to wait until a full kernel has finished compiling. Tested by: randy_dunlap Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f182ae626189d8a346aae142e7b8b182663dac44 tree afe79051af04ce93062f49d2966fd150b60f2a3f parent 42639269f9ce4aac2e6c20bcbca30b5da8b9a899 author George Anzinger Thu, 07 Jul 2005 17:56:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] kbuild: build TAGS problem with O= make O=/dir TAGS fails with: MAKE TAGS find: security/selinux/include: No such file or directory find: include: No such file or directory find: include/asm-i386: No such file or directory find: include/asm-generic: No such file or directory The problem is in this line: ifeq ($(KBUILD_OUTPUT),) KBUILD_OUTPUT is not defined (ever) after make reruns itself. This line is used in the TAGS, tags, and cscope makes. Signed-off-by: George Anzinger Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42639269f9ce4aac2e6c20bcbca30b5da8b9a899 tree 1583ac4da9d2e40669d4579e338d8e506dedba5a parent 37b173a4d03d1681e6c9529bc43d7a3308132db6 author Anton Blanchard Thu, 07 Jul 2005 17:56:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] mm: quieten OOM killer noise We now print statistics when invoking the OOM killer, however this information is not rate limited and you can get into situations where the console is continually spammed. For example, when a task is exiting the OOM killer will simply return (waiting for that task to exit and clear up memory). If the VM continually calls back into the OOM killer we get thousands of copies of show_mem() on the console. Use printk_ratelimit() to quieten it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37b173a4d03d1681e6c9529bc43d7a3308132db6 tree 478802dfe5afee12589d4d5533f8312a923c4ec2 parent 79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 author Marcelo Tosatti Thu, 07 Jul 2005 17:56:05 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] remove completly bogus comment inside __alloc_pages() try_to_free_pages handling Remove completly bogus comment from did_some_progress != 0 handling (that same comment is a few lines below on did_some_progress = 0 case, where it belongs). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 tree 210896405b2b70aded7582750e20967df8c8e7bf parent cb2c0233755429037462e16ea0d5497a0092738c author Marcelo Tosatti Thu, 07 Jul 2005 17:56:04 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] print order information when OOM killing Dump the current allocation order when OOM killing. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb2c0233755429037462e16ea0d5497a0092738c tree 49c5d19090986c71b59dd2fb4c57b1e1ae33062d parent ca3f5a95b7d04eef0f88464f8d3299c1c01e8e13 author Mark Fasheh Thu, 07 Jul 2005 17:56:03 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] export generic_drop_inode() to modules OCFS2 wants to mark an inode which has been orphaned by another node so that during final iput it takes the correct path through the VFS and can pass through the OCFS2 delete_inode callback. Since i_nlink can get out of date with other nodes, the best way I see to accomplish this is by clearing i_nlink on those inodes at drop_inode time. Other than this small amount of work, nothing different needs to happen, so I think it would be cleanest to be able to just call generic_drop_inode at the end of the OCFS2 drop_inode callback. Signed-off-by: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca3f5a95b7d04eef0f88464f8d3299c1c01e8e13 tree dfc8c5124b3fa18b436b3958ec8946c091a13262 parent c23a4e9649f80a9379d7df4a33bc63b365d5e7fc author Andrew Morton Thu, 07 Jul 2005 17:56:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] i2o: config-osm build fix Various stuff missing on alpha: drivers/message/i2o/config-osm.c:35: error: field `fops' has incomplete type drivers/message/i2o/config-osm.c: In function `sysfs_create_fops_file': drivers/message/i2o/config-osm.c:71: error: storage size of `tmp' isn't known drivers/message/i2o/config-osm.c:78: error: dereferencing pointer to incomplete type drivers/message/i2o/config-osm.c:81: error: dereferencing pointer to incomplete type Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c23a4e9649f80a9379d7df4a33bc63b365d5e7fc tree 89fb4aae49a2fc7181aade9e1dae34b1cc145a54 parent eda80228860641b7b0e963e6bd219b960c500af9 author Andrew Morton Thu, 07 Jul 2005 17:56:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] iounmap debugging We get sporadic reports of `__iounmap: bad address' coming out. Add a dump_stack() to find the culprit. Try to identify which subsystem is having iounmap() problems. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eda80228860641b7b0e963e6bd219b960c500af9 tree a6071d17769cd102034dc0555e2368a76b4227f8 parent 043d051615aa5da09a7e44f1edbb69798458e067 author Jeff Dike Thu, 07 Jul 2005 17:56:00 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] uml: kill some useless vmalloc tlb flushing There is absolutely no reason to flush the kernel's VM area during a tlb_flush_mm. This results in a noticable performance increase in the kernel build benchmark. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b2c3750330325ae5071582b5c4dbdf1c8bc1e51 tree e3ba1ac739e316e21be7be57393adf4a49710f42 parent 043d051615aa5da09a7e44f1edbb69798458e067 author Bob Picco Wed, 29 Jun 2005 18:00:00 -0700 committer Tony Luck Thu, 07 Jul 2005 17:11:29 -0700 [PATCH] Documentation This is a small documentation patch for a boot time parameter. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 043d051615aa5da09a7e44f1edbb69798458e067 tree a0bfe7f6ed6efa4e0eb7f6b9891a0dc3f2fafe57 parent c101f3136cc98a003d0d16be6fab7d0d950581a6 parent 21517a57e838a1fbb7a54a8a77501024e77f83e0 author Linus Torvalds Thu, 07 Jul 2005 10:24:51 -0700 committer Linus Torvalds Thu, 07 Jul 2005 10:24:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 21517a57e838a1fbb7a54a8a77501024e77f83e0 tree 85d934404c56c251ade30b8e2d617ea2c1ec1efa parent 8d7e35174d02ce76e910365acaaefc281a0b72a0 author Jack Steiner Thu, 07 Jul 2005 09:14:00 -0700 committer Tony Luck Thu, 07 Jul 2005 09:52:59 -0700 [IA64] - Disable tiocx driver on non-SN systems Disable the tiocx driver on non-SN systems. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 97f927a4d7dbccde0a854a62c3ea54d90bae8679 tree d571cdae6507be90d4ee67d4937b765e2b332d77 parent b9c86d595d2a11009c58c84a9a8792aeb4a8f278 author Thomas Gleixner Thu, 07 Jul 2005 16:50:16 +0200 committer Thomas Gleixner Thu, 07 Jul 2005 16:50:16 +0200 [MTD] XIP cleanup Move the architecture dependend code into include/asm/mtd-xip.h Signed-off-by: Thomas Gleixner commit b9c86d595d2a11009c58c84a9a8792aeb4a8f278 tree c3c6c21b0a4a8edefc38166b3b2e0108892b0e71 parent fb8d82a865b1ff601fad8293cd6a2a1b1908545b author David Woodhouse Thu, 07 Jul 2005 11:26:24 +0100 committer Thomas Gleixner Thu, 07 Jul 2005 15:40:54 +0200 [MTD] Remove MODULE_DEVICE_TABLE() for ICHx flash driver This prevents it from automatically getting loaded by hotplug because we happen to notice you have this chipset. Let's stick with having to load the drivers which let you overwrite your BIOS _manually_ Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 8ca7c1df08210fd35fccf1559837c92baaa4da8f tree 06d09b81f0718bd12b7a0fe8985f4aa13d7d2bc7 parent c101f3136cc98a003d0d16be6fab7d0d950581a6 author Dave Airlie Thu, 07 Jul 2005 21:51:26 +1000 committer Dave Airlie Thu, 07 Jul 2005 21:51:26 +1000 drm: add 32/64 support for MGA/R128/i915 This adds compatiblity ioctls for mga/r128 and i915 DRM drivers. From: Paul Mackerras, David Airlie, Alan Hourihane, Egbert Eich. Signed-off-by: David Airlie commit 850eb83a6a21b086624b227653ce90ad927ba423 tree 2720dbfd9989d3b002c98e84f3f6b4f480506dad parent c94f70298529d99ac6e1ee7709f61eab00adeb39 author Dave Airlie Thu, 07 Jul 2005 21:09:14 +1000 committer Dave Airlie Thu, 07 Jul 2005 21:09:14 +1000 drm: wrap config.h include in a ifdef KERNEL This file can be included from userspace so wrap the config.h include. Signed-off-by: David Airlie commit c94f70298529d99ac6e1ee7709f61eab00adeb39 tree 8e61aadcec3bd299a838cd640bf104eedee61ec3 parent b9523249de59c49e7c2cc83dfa73fb011a489a45 author Dave Airlie Thu, 07 Jul 2005 21:03:38 +1000 committer Dave Airlie Thu, 07 Jul 2005 21:03:38 +1000 drm: misc cleanup This patch contains the following cleanups: - make needlessly global functions static - remove the following unused global functions: - drm_fops.c: drm_read - i915_dma.c: i915_do_cleanup_pageflip Signed-off-by: Adrian Bunk Signed-off-by: Dave Airlie commit b9523249de59c49e7c2cc83dfa73fb011a489a45 tree 0cebe6a2eeec658f6beb588fb7c9b6e5a5af4033 parent f650130803c4c0b5e5d76eff24faae722e3a69e2 author Dave Airlie Thu, 07 Jul 2005 20:33:26 +1000 committer Dave Airlie Thu, 07 Jul 2005 20:33:26 +1000 drm: use kcalloc now that it is available.. Make the DRM drm_calloc call kcalloc now. Signed-off-by: Dave Airlie commit f650130803c4c0b5e5d76eff24faae722e3a69e2 tree f31074082bcdda3188917706fb040b67cce8a40e parent 0c7b525c344bc29a760c37053f8d5c80292ee1be author Dave Airlie Thu, 07 Jul 2005 20:17:42 +1000 committer Dave Airlie Thu, 07 Jul 2005 20:17:42 +1000 drm: ctx release can happen before dev->ctxlist is allocated From: Jon Smirl Signed-off-by: Dave Airlie commit 0c7b525c344bc29a760c37053f8d5c80292ee1be tree 9003290ac74732297b0866f89d691f732430c107 parent c101f3136cc98a003d0d16be6fab7d0d950581a6 author Dave Airlie Thu, 07 Jul 2005 20:16:08 +1000 committer Dave Airlie Thu, 07 Jul 2005 20:16:08 +1000 drm: fix minor issues caused by core conversion The conversion to core/driver got this check in-correct. Signed-off-by: Dave Airlie commit 717cb906bd43a9ac00631d600adda5c6546843a6 tree f41b250e9e0fa1e664f002fa9c4608d94527f2f2 parent 22f579c621e2f264e6d093b07d75f99bc97d5df2 parent c101f3136cc98a003d0d16be6fab7d0d950581a6 author Dave Airlie Thu, 07 Jul 2005 20:08:27 +1000 committer Dave Airlie Thu, 07 Jul 2005 20:08:27 +1000 Merge ../linux-2.6/ commit c101f3136cc98a003d0d16be6fab7d0d950581a6 tree 738f3ea3ff68245fb0900aeeeb73f1accb2bf956 parent 359ea2f1352a77177540a213283bc7489f546ced parent e3e01d6005ab4b0877f1fb3efef7f5b745e743be author Linus Torvalds Wed, 06 Jul 2005 22:15:13 -0700 committer Linus Torvalds Wed, 06 Jul 2005 22:15:13 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 8d7e35174d02ce76e910365acaaefc281a0b72a0 tree 4445375bbf8c08f8032c5a013374777931949285 parent 564601a5d12f93fdde04c6bc5b097b95e7752a46 author Tony Luck Wed, 06 Jul 2005 18:18:10 -0700 committer Tony Luck Wed, 06 Jul 2005 18:18:10 -0700 [IA64] fix generic/up builds Jesse Barnes provided the original version of this patch months ago, but other changes kept conflicting with it, so it got deferred. Greg Edwards dug it out of obscurity just over a week ago, and almost immediately another conflicting patch appeared (Bob Picco's memory-less nodes). I've resolved the conflicts and got it running again. CONFIG_SGI_TIOCX is set to "y" in defconfig, which causes a Tiger to not boot (oops in tiocx_init). But that can be resolved later ... get this in now before it gets stale again. Signed-off-by: Tony Luck commit 359ea2f1352a77177540a213283bc7489f546ced tree 95a313a9d920e432bafcdf68a9c7fb0812aa389b parent 960b8466548c9bc6f718b5f470c1a58000fab09d parent e1d5dea1dfbfe484358c40db7f233ed6b5605646 author Linus Torvalds Wed, 06 Jul 2005 17:04:06 -0700 committer Linus Torvalds Wed, 06 Jul 2005 17:04:06 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit 960b8466548c9bc6f718b5f470c1a58000fab09d tree 9dfe507f4b1d5dcde83249754a66d76a9851294f parent 107177410b754b597028e430725bc3b316936b6b author Ivan Kokshaysky Thu, 07 Jul 2005 03:07:56 +0400 committer Linus Torvalds Wed, 06 Jul 2005 16:12:58 -0700 [PATCH] yet another fix for setup-bus.c/x86 merge There is a slight disagreement between setup-bus.c code and traditional x86 PCI setup wrt which recourses are invalid vs resources that are free for further allocations. In particular, in the setup-bus.c, if we failed to allocate some resource, we nullify "start" and "flags" fields, but *not* the "end" one. But x86 pcibios_enable_resources() does the following check: if (!r->start && r->end) { printk(KERN_ERR "PCI: Device %s not available because of resource collisionsn", pci_name(dev)); return -EINVAL; which means that the device owning the offending resource cannot be enabled. In particular, this breaks cardbus behind the normal decode p2p bridge - the cardbus code from setup-bus.c requests rather large IO and MEM windows, and if it fails, the socket is completely unavailable. Which is wrong, as the yenta code is capable to allocate smaller windows. Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit 564601a5d12f93fdde04c6bc5b097b95e7752a46 tree 7ecd89b4eea6c626eb0726a5f7cf16e6e0f93b6e parent af25e94d4dcfb9608846242fabdd4e6014e5c9f0 author bob.picco Thu, 30 Jun 2005 09:52:00 -0700 committer Tony Luck Wed, 06 Jul 2005 15:45:30 -0700 [IA64] memory-less-nodes repost I reworked how nodes with only CPUs are treated. The patch below seems simpler to me and has eliminated the complicated routine reassign_cpu_only_nodes. There isn't any longer the requirement to modify ACPI NUMA information which was in large part the complexity introduced in reassign_cpu_only_nodes. This patch will produce a different number of nodes. For example, reassign_cpu_only_nodes would reduce two CPUonly nodes and one memory node configuration to one memory+CPUs node configuration. This patch doesn't change the number of nodes which means the user will see three. Two nodes without memory and one node with all the memory. While doing this patch, I noticed that early_nr_phys_cpus_node isn't serving any useful purpose. It is called once in find_pernode_space but the value isn't used to computer pernode space. Signed-off-by: bob.picco Signed-off-by: Tony Luck commit af25e94d4dcfb9608846242fabdd4e6014e5c9f0 tree f311db4563cb7f101520c737965e3d2180fcda67 parent 67d340f440f389e9d56201fb7c7aaa92f262feb1 author <> Fri, 01 Jul 2005 23:27:00 -0700 committer Tony Luck Wed, 06 Jul 2005 15:44:55 -0700 [IA64] Make ia64 die() preempt safe Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit e3e01d6005ab4b0877f1fb3efef7f5b745e743be tree 0cb9fc0f68159edf52c08ee63b7891e0efba8942 parent 9d7495330be2fd88ab939fa5080d3ca9f64368c2 author Eddie C. Dost Wed, 06 Jul 2005 15:41:54 -0700 committer David S. Miller Wed, 06 Jul 2005 15:41:54 -0700 [SPARC64]: Fix enable_dma() in asm-sparc64/parport.h Call ebus_dma_enable() before calling ebus_dma_request(), otherwise ebus_dma_request() returns -EINVAL and enable_dma() calls BUG()... Signed-off-by: David S. Miller commit 9d7495330be2fd88ab939fa5080d3ca9f64368c2 tree f846a17f35704bfeb75a84aa4081c446406c5e32 parent 12cf649f417c68b6bdd2a3b4ed97113159c6029e author Eddie C. Dost Wed, 06 Jul 2005 15:41:17 -0700 committer David S. Miller Wed, 06 Jul 2005 15:41:17 -0700 [DVB]: Do not include from drivers. Signed-off-by: David S. Miller commit 12cf649f417c68b6bdd2a3b4ed97113159c6029e tree d04afa3cd1947245780376bb21be15fda5b1237a parent 90cdba648c5edf0ccabdadfc6e61f40c04e8bb00 author Eddie C. Dost Wed, 06 Jul 2005 15:40:21 -0700 committer David S. Miller Wed, 06 Jul 2005 15:40:21 -0700 [SPARC64]: Fix set_intr_affinity() Do not cat bucket->irq_info to struct irqaction * directly, but go through struct irq_desc *. Signed-off-by: David S. Miller commit 107177410b754b597028e430725bc3b316936b6b tree 146b9f2c0b032408d2e78ac69074e5d9bab2ffbd parent 07bbeaf12310263d808b1958f8413b95f98786ea parent 450008b5a62bb09445ae05c4d01d510386c9435d author Linus Torvalds Wed, 06 Jul 2005 15:39:15 -0700 committer Linus Torvalds Wed, 06 Jul 2005 15:39:15 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 90cdba648c5edf0ccabdadfc6e61f40c04e8bb00 tree 660824fb5f05a520b618078d1b8171120d08f4b9 parent 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 author Eddie C. Dost Wed, 06 Jul 2005 15:37:58 -0700 committer David S. Miller Wed, 06 Jul 2005 15:37:58 -0700 [SPARC]: Fix "Eddie C. Dost" e-mail address Signed-off-by: David S. Miller commit 67d340f440f389e9d56201fb7c7aaa92f262feb1 tree a96c26a370beb23282a561ddd936e5d0aa93adde parent 2ba3e3e65cf182436757ba13ea8d564e2950fb56 parent 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 author Tony Luck Wed, 06 Jul 2005 15:35:18 -0700 committer Tony Luck Wed, 06 Jul 2005 15:35:18 -0700 Auto merge with /home/aegl/GIT/linus commit 2ba3e3e65cf182436757ba13ea8d564e2950fb56 tree 7546a5141398e8ecaa493a58a4ca8af11deaf04d parent 7fe4c1b16854f0440939c62b8102cbf5c75e7cdc author Keith Owens Thu, 30 Jun 2005 22:53:00 -0700 committer Tony Luck Wed, 06 Jul 2005 15:31:15 -0700 [IA64] restore_sigcontext is not preempt safe restore_sigcontext calls ia64_set_local_fpu_owner() which requires that preempt be disabled. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 7fe4c1b16854f0440939c62b8102cbf5c75e7cdc tree 4ec5ef085c011a582454f4a6df2705f4ce339ca3 parent 6f354b014b51716166f13f68b29212d3c44ed2c4 author Prarit Bhargava Wed, 06 Jul 2005 15:30:25 -0700 committer Tony Luck Wed, 06 Jul 2005 15:30:25 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - PREEMPT/pcibus_info fix This patch fixes an issue with the PROM and a kernel running with CONFIG_PREEMPT enabled. When CONFIG_PREEMPT is enabled, the size of a spinlock_t changes -- resulting in the PROM writing to an incorrect location. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 6f354b014b51716166f13f68b29212d3c44ed2c4 tree 396c09a5d519630a53652a1187bb85fceba82cee parent 283c7f6ac6adb57e7dd13cdbc8d60b6ea4de6faf author Prarit Bhargava Wed, 06 Jul 2005 15:29:53 -0700 committer Tony Luck Wed, 06 Jul 2005 15:29:53 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - SN Hotplug Driver code This patch is the SGI hotplug driver and additional changes required for the driver. These modifications include changes to the SN io_init.c code for memory management, the inclusion of new SAL calls to enable and disable PCI slots, and a hotplug-style driver. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 283c7f6ac6adb57e7dd13cdbc8d60b6ea4de6faf tree 53ce99a2373134c174f8df4f3729fcb4f11fb44e parent e07d01e0aeba905aeca6e0ae612943417d396a0f author Prarit Bhargava Wed, 06 Jul 2005 15:29:13 -0700 committer Tony Luck Wed, 06 Jul 2005 15:29:13 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - new SN PROM version code This patch is a rewrite of the code to check the PROM version. The current code has some deficiences in the way PROM comparisons were made. The minimum value of PROM that will boot has also been changed to 4.04. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit e07d01e0aeba905aeca6e0ae612943417d396a0f tree 5d445ad1803389844ccf9a4fcb9ec160ae554fd7 parent c13cf3714fc84ad2fd65771aa08e47c95a9f26ef author Prarit Bhargava Wed, 06 Jul 2005 15:28:40 -0700 committer Tony Luck Wed, 06 Jul 2005 15:28:40 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - pci_find_next_bus export The pci_find_next_bus function is listed as being exported to drivers. It is not EXPORT_SYMBOL'd. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit c13cf3714fc84ad2fd65771aa08e47c95a9f26ef tree f3fdd5f81fc0e39029f7cc6c8e4f41d6a736a4de parent cb4cb2cb9b0b14bdf2fc7125e099ed7e818cea42 author Prarit Bhargava Wed, 06 Jul 2005 15:26:51 -0700 committer Tony Luck Wed, 06 Jul 2005 15:26:51 -0700 [IA64] hotplug/ia64: SN Hotplug Driver: moving of header files This patch moves header files out of the arch/ia64/sn directories and into include/asm-ia64/sn. These files were being included by other subsystems and should be under include/asm-ia64/sn. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 450008b5a62bb09445ae05c4d01d510386c9435d tree 894096c083c3b8fa1e8ae93e49aad72ca879cccc parent 7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5 author Deepak Saxena Wed, 06 Jul 2005 23:06:05 +0100 committer Russell King Wed, 06 Jul 2005 23:06:05 +0100 [PATCH] ARM: 2792/1: IXP4xx iomap API implementation Patch from Deepak Saxena This patch implements the iomap API for Intel IXP4xx NPU systems. We need to implement our own version of the API functions b/c of the PCI hostbridge does not provide the capability to map PCI I/O space into the CPU's physical memory space. In addition, if a system has more than 64M of PCI memory mapped BARs, PCI memory must also be accessed indirectly. This patch changes the assignment of PCI I/O resources to fall into to 0x0000:0xffff range so that we can trap I/O areas in our ioread/iowrite macros. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5 tree 891265ca82decd715c32c7029671502d0aa79d6f parent bcaafbe4a14e3c9b5275b3986c7599f7c6c278e4 author Todd Poynor Wed, 06 Jul 2005 23:06:05 +0100 committer Russell King Wed, 06 Jul 2005 23:06:05 +0100 [PATCH] ARM: 2791/1: Add CRCs for aliased ARM symbols Patch from Todd Poynor Fix module versioning for 3 ARM symbols that do not have CRCs added, avoid "disagrees about version of symbol struct_module" errors at module load time. From David Singleton. Signed-off-by: Todd Poynor Signed-off-by: Russell King commit bcaafbe4a14e3c9b5275b3986c7599f7c6c278e4 tree 6aee01eb8a7f0a52c1dbd5f852b278d4596b457a parent d1d890edace65721e9a7582545c943f67f500709 author Stefan Sorensen Wed, 06 Jul 2005 23:06:04 +0100 committer Russell King Wed, 06 Jul 2005 23:06:04 +0100 [PATCH] ARM: 2790/1: Properly terminate plat_serial8250_port arrays on ixdp425 and coyote Patch from Stefan Sorensen On the ixdp425 and coyote platforms, the plat_serial8250_port arrays are missing the terminating entry required by serial8250_probe. Signed-off-by: Stefan Sorensen Signed-off-by: Russell King commit d1d890edace65721e9a7582545c943f67f500709 tree 0c0170ed290533e2d1cf3576090afd5277fed579 parent a18bcb7450840f07a772a45229de4811d930f461 author Catalin Marinas Wed, 06 Jul 2005 23:06:03 +0100 committer Russell King Wed, 06 Jul 2005 23:06:03 +0100 [PATCH] ARM: 2789/1: Enable access to both CP10 and CP11 on ARMv6 Patch from Catalin Marinas The VFP instructions trigger undefined exceptions because the access to CP11 is disabled (only CP10 is currently enabled by the kernel). The patch fixes this problem. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit cb4cb2cb9b0b14bdf2fc7125e099ed7e818cea42 tree 11e110ce3201e0cbd3e30f1d4a1b0dc6ebe19bfa parent bd53d1270f51c6cfb53b06c8f93fd42327871d6b author Prarit Bhargava Wed, 06 Jul 2005 14:59:44 -0700 committer Tony Luck Wed, 06 Jul 2005 14:59:44 -0700 [IA64] hotplug/ia64: SN Hotplug Driver: SN IRQ Fixes This patch fixes the SN IRQ code such that cpu affinity and Hotplug can modify IRQ values. The sn_irq_info structures are now locked using a RCU lock mechanism to avoid lock contention in the lost interrupt WAR code. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit e1d5dea1dfbfe484358c40db7f233ed6b5605646 tree 0bcea9bf2d5d12f1a400e01cffd001d2d22e4026 parent a9df3597fec5472d0840fbfdc2a3fac5268f7d08 author Dag Arne Osvik Wed, 06 Jul 2005 13:55:44 -0700 committer David S. Miller Wed, 06 Jul 2005 13:55:44 -0700 [CRYPTO] Add faster DES code from Dag Arne Osvik I've made a new implementation of DES to replace the old one in the kernel. It provides faster encryption on all tested processors apart from the original Pentium, and key setup is many times faster. Speed relative to old kernel implementation Processor des_setkey des_encrypt des3_ede_setkey des3_ede_encrypt Pentium 120Mhz 6.8 0.82 7.2 0.86 Pentium III 1.266Ghz 5.6 1.19 5.8 1.34 Pentium M 1.3Ghz 5.7 1.15 6.0 1.31 Pentium 4 2.266Ghz 5.8 1.24 6.0 1.40 Pentium 4E 3Ghz 5.4 1.27 5.5 1.48 StrongARM 1110 206Mhz 4.3 1.03 4.4 1.14 Athlon XP 2Ghz 7.8 1.44 8.1 1.61 Athlon 64 2Ghz 7.8 1.34 8.3 1.49 Signed-off-by: Dag Arne Osvik Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a9df3597fec5472d0840fbfdc2a3fac5268f7d08 tree 965197414a7a5670bedfe6ea4c914af62a5f8229 parent a2a892a236d03a6e985471a7e57d1c863de144c8 author Herbert Xu Wed, 06 Jul 2005 13:55:21 -0700 committer David S. Miller Wed, 06 Jul 2005 13:55:21 -0700 [CRYPTO] Remove unused iv field from context structure The iv field in des_ctx/des3_ede_ctx/serpent_ctx has never been used. This was noticed by Dag Arne Osvik. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a2a892a236d03a6e985471a7e57d1c863de144c8 tree 33b52c87bdecf0f24936b952a565a445ce03c616 parent a61cc44812ff94793987bf43b70a3d9bc64a6820 author Andreas Steinmetz Wed, 06 Jul 2005 13:55:00 -0700 committer David S. Miller Wed, 06 Jul 2005 13:55:00 -0700 [CRYPTO] Add x86_64 asm AES Implementation: =============== The encrypt/decrypt code is based on an x86 implementation I did a while ago which I never published. This unpublished implementation does include an assembler based key schedule and precomputed tables. For simplicity and best acceptance, however, I took Gladman's in-kernel code for table generation and key schedule for the kernel port of my assembler code and modified this code to produce the key schedule as required by my assembler implementation. File locations and Kconfig are kept similar to the i586 AES assembler implementation. It may seem a little bit strange to use 32 bit I/O and registers in the assembler implementation but this gives the best code size. My implementation takes one instruction more per round compared to Gladman's x86 assembler but it doesn't require any stack for local variables or saved registers and it is less serialized than Gladman's code. Note that all comparisons to Gladman's code were done after my code was implemented. I did only use FIPS PUB 197 for the implementation so my implementation is independent work. If anybody has a better assembler solution for x86_64 I'll be pleased to have my code replaced with the better solution. Testing: ======== The implementation passes the in-kernel crypto testing module and I'm running it without any problems on my laptop where it is mainly used for dm-crypt. Microbenchmark: =============== The microbenchmark was done in userspace with similar compile flags as used during kernel compile. Encrypt/decrypt is about 35% faster than the generic C implementation. As the generic C as well as my assembler implementation are both table I don't really expect that there is much room for further improvements though I'll be glad to be corrected here. The key schedule is about 5% slower than the generic C implementation. This is due to the fact that some more work has to be done in the key schedule routine to fit the schedule to the assembler implementation. Code Size: ========== Encrypt and decrypt are together about 2.1 Kbytes smaller than the generic C implementation which is important with regard to L1 cache usage. The key schedule routine is about 100 bytes larger than the generic C implementation. Data Size: ========== There's no difference in data size requirements between the assembler implementation and the generic C implementation. License: ======== Gladmans's code is dual BSD/GPL whereas my assembler code is GPLv2 only (I'm not going to change the license for my code). So I had to change the module license for the x86_64 aes module from 'Dual BSD/GPL' to 'GPL' to reflect the most restrictive license within the module. Signed-off-by: Andreas Steinmetz Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a61cc44812ff94793987bf43b70a3d9bc64a6820 tree 65cf93c2a89fb0072a69c2904202713a2e895098 parent 476df259cd577e20379b02a7f7ffd086ea925a83 author Jesper Juhl Wed, 06 Jul 2005 13:54:31 -0700 committer David S. Miller Wed, 06 Jul 2005 13:54:31 -0700 [CRYPTO] Add null short circuit to crypto_free_tfm As far as I'm aware there's a general concensus that functions that are responsible for freeing resources should be able to cope with being passed a NULL pointer. This makes sense as it removes the need for all callers to check for NULL, thus elliminating the bugs that happen when some forget (safer to just check centrally in the freeing function) and it also makes for smaller code all over due to the lack of all those NULL checks. This patch makes it safe to pass the crypto_free_tfm() function a NULL pointer. Once this patch is applied we can start removing the NULL checks from the callers. Signed-off-by: Jesper Juhl Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 476df259cd577e20379b02a7f7ffd086ea925a83 tree 85697704c53e0905d1b83a4ec3525cf20ca53455 parent 915e8561d559abba1b81934e31e54a3f850fa7bf author Herbert Xu Wed, 06 Jul 2005 13:54:09 -0700 committer David S. Miller Wed, 06 Jul 2005 13:54:09 -0700 [CRYPTO] Update IV correctly for Padlock CBC encryption When the Padlock does CBC encryption, the memory pointed to by EAX is not updated at all. Instead, it updates the value of EAX by pointing it to the last block in the output. Therefore to maintain the correct semantics we need to copy the IV. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 915e8561d559abba1b81934e31e54a3f850fa7bf tree 12c08e7ec182ca11125097e2f485eab7a48b03df parent fbdae9f3e7fb57c07cb0d973f113eb25da2e8ff2 author Herbert Xu Wed, 06 Jul 2005 13:53:47 -0700 committer David S. Miller Wed, 06 Jul 2005 13:53:47 -0700 [CRYPTO] Handle unaligned iv from encrypt_iv/decrypt_iv Even though cit_iv is now always aligned, the user can still supply an unaligned iv through crypto_cipher_encrypt_iv/crypto_cipher_decrypt_iv. This patch will check the alignment of the user-supplied iv and copy it if necessary. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit fbdae9f3e7fb57c07cb0d973f113eb25da2e8ff2 tree b20909c92c2d48ab449343967b1c365732d7e4ff parent 176c3652c544b6f8d4bb1984c58c10080f45dbf0 author Herbert Xu Wed, 06 Jul 2005 13:53:29 -0700 committer David S. Miller Wed, 06 Jul 2005 13:53:29 -0700 [CRYPTO] Ensure cit_iv is aligned correctly This patch ensures that cit_iv is aligned according to cra_alignmask by allocating it as part of the tfm structure. As a side effect the crypto layer will also guarantee that the tfm ctx area has enough space to be aligned by cra_alignmask. This allows us to remove the extra space reservation from the Padlock driver. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 176c3652c544b6f8d4bb1984c58c10080f45dbf0 tree a9b29e6e341484df8a0040de7506807f82be3e66 parent 28e8c3ad9464de54a632f00ab3df88fa5f4652d1 author Adrian Bunk Wed, 06 Jul 2005 13:53:09 -0700 committer David S. Miller Wed, 06 Jul 2005 13:53:09 -0700 [CRYPTO] Make crypto_alg_lookup static This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 28e8c3ad9464de54a632f00ab3df88fa5f4652d1 tree ba62694afc67bcd6dc817d137e8259cb526a51c6 parent 6789b2dc455b90efc9c88886c9366adc9abb7347 author Herbert Xu Wed, 06 Jul 2005 13:52:43 -0700 committer David S. Miller Wed, 06 Jul 2005 13:52:43 -0700 [PADLOCK] Implement multi-block operations By operating on multiple blocks at once, we expect to extract more performance out of the VIA Padlock. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 6789b2dc455b90efc9c88886c9366adc9abb7347 tree a962565f31b2c8c0cb112b2ce482cceb3d16caef parent 95477377995aefa2ec1654a9a3777bd57ea99146 author Herbert Xu Wed, 06 Jul 2005 13:52:27 -0700 committer David S. Miller Wed, 06 Jul 2005 13:52:27 -0700 [PADLOCK] Move fast path work into aes_set_key and upper layer Most of the work done aes_padlock can be done in aes_set_key. This means that we only have to do it once when the key changes rather than every time we perform an encryption or decryption. This patch also sets cra_alignmask to let the upper layer ensure that the buffers fed to us are aligned correctly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 95477377995aefa2ec1654a9a3777bd57ea99146 tree 7aa4d6173de13c81c2fa0e4d2f9e0de22e141b6a parent 40725181b74be6b0e3bdc8c05bd1e0b9873ec5cc author Herbert Xu Wed, 06 Jul 2005 13:52:09 -0700 committer David S. Miller Wed, 06 Jul 2005 13:52:09 -0700 [CRYPTO] Add alignmask for low-level cipher implementations The VIA Padlock device requires the input and output buffers to be aligned on 16-byte boundaries. This patch adds the alignmask attribute for low-level cipher implementations to indicate their alignment requirements. The mid-level crypt() function will copy the input/output buffers if they are not aligned correctly before they are passed to the low-level implementation. Strictly speaking, some of the software implementations require the buffers to be aligned on 4-byte boundaries as they do 32-bit loads. However, it is not clear whether it is better to copy the buffers or pay the penalty for unaligned loads/stores. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 40725181b74be6b0e3bdc8c05bd1e0b9873ec5cc tree abbc1057a5e0bd77385d17cfc6146617151e93bc parent c774e93e2152d0be2612739418689e6e6400f4eb author Herbert Xu Wed, 06 Jul 2005 13:51:52 -0700 committer David S. Miller Wed, 06 Jul 2005 13:51:52 -0700 [CRYPTO] Add support for low-level multi-block operations This patch adds hooks for cipher algorithms to implement multi-block ECB/CBC operations directly. This is expected to provide significant performance boots to the VIA Padlock. It could also be used for improving software implementations such as AES where operating on multiple blocks at a time may enable certain optimisations. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit c774e93e2152d0be2612739418689e6e6400f4eb tree abe25ec0577bd95128adb3f38609a09f0a3e2469 parent 8279dd748f9704b811e528b31304e2fab026abc5 author Herbert Xu Wed, 06 Jul 2005 13:51:31 -0700 committer David S. Miller Wed, 06 Jul 2005 13:51:31 -0700 [CRYPTO] Add plumbing for multi-block operations The VIA Padlock device is able to perform much better when multiple blocks are fed to it at once. As this device offers an exceptional throughput rate it is worthwhile to optimise the infrastructure specifically for it. We shift the existing page-sized fast path down to the CBC/ECB functions. We can then replace the CBC/ECB functions with functions provided by the underlying algorithm that performs the multi-block operations. As a side-effect this improves the performance of large cipher operations for all existing algorithm implementations. I've measured the gain to be around 5% for 3DES and 15% for AES. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 8279dd748f9704b811e528b31304e2fab026abc5 tree d824994f48492dc3910ec3bf82d147cd8f796f20 parent b4634484815e1879512a23e4f59eef648135c30a author Jesper Juhl Wed, 06 Jul 2005 13:51:00 -0700 committer David S. Miller Wed, 06 Jul 2005 13:51:00 -0700 [CRYPTO] Don't check for NULL before kfree() Checking a pointer for NULL before calling kfree() on it is redundant. This patch removes such checks from crypto/ Signed-off-by: Jesper Juhl Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit fb8d82a865b1ff601fad8293cd6a2a1b1908545b tree 17e1504b69f4df639b970585d2962b643f507b7b parent b3539219c9ea20ebf6a5ea3cc534f423a3607c41 author Ben Dooks Wed, 06 Jul 2005 21:05:10 +0100 committer Thomas Gleixner Wed, 06 Jul 2005 22:26:05 +0200 [MTD] NAND s3c2410: Add missing NULL pointer check Fix OOPs if there was no platform set information passed Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 07bbeaf12310263d808b1958f8413b95f98786ea tree 5a739fb75f8e14b8c5f2274d8f1efa6fed145b34 parent 184f6eb8c46afc2a4aa6cb7c51ebc423c36d9c9d author Linus Torvalds Wed, 06 Jul 2005 13:05:50 -0700 committer Linus Torvalds Wed, 06 Jul 2005 13:05:50 -0700 ieee1394: fix broken signed char assumption. "ack_code" is assigned (and tested against) negative numbers, but was declared as "char". Which only works if "char" is signed - which it necessarily isn't. So make that signedness assumption specific. commit 184f6eb8c46afc2a4aa6cb7c51ebc423c36d9c9d tree e32c7dac4947a252f6e17e62db37ca0e4d5fdf9c parent b5bf5b6786ccfc9e0c8801291f463d92c8e0b423 author Jeff Mahoney Wed, 06 Jul 2005 15:45:09 -0400 committer Linus Torvalds Wed, 06 Jul 2005 12:55:20 -0700 [PATCH] openfirmware: implement hotplug for macio devices This adds the hotplug routine for generating hotplug events when devices are seen on the macio bus. It uses the attributed created by the sysfs nodes to generate the hotplug environment vars for userspace. Since the characters allowed inside the 'compatible' field are NUL terminated, they are exported as individual OF_COMPATIBLE_# variables, with OF_COMPATIBLE_N maintaining a count of how many there are. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit b5bf5b6786ccfc9e0c8801291f463d92c8e0b423 tree 2b398307b9d647f8f8902093f66ec20348727567 parent 5e6557722e69840506eb8bc5a1edcdb4e447a917 author Jeff Mahoney Wed, 06 Jul 2005 15:26:27 -0400 committer Linus Torvalds Wed, 06 Jul 2005 12:55:20 -0700 [PATCH] openfirmware: add sysfs nodes for open firmware devices This adds sysfs nodes that the hotplug userspace can use to load the appropriate modules. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Changes: The previous versions were built on 2.6.12. 2.6.13-rcX introduced a device_attribute parameter to the show functions. Since that parameter was treated as the output buffer, memory corruption would result, causing Oopsen very quickly. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 5e6557722e69840506eb8bc5a1edcdb4e447a917 tree 965d19e55a56d2daaed47711c01a8c27e29e592c parent 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 author Jeff Mahoney Wed, 06 Jul 2005 15:44:41 -0400 committer Linus Torvalds Wed, 06 Jul 2005 12:55:20 -0700 [PATCH] openfirmware: generate device table for userspace This converts the usage of struct of_match to struct of_device_id, similar to pci_device_id. This allows a device table to be generated, which can be parsed by depmod(8) to generate a map file for module loading. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 tree 70eef6f2d06a6f3ac36ef8ac8ea24445880986a0 parent 83b78bd2d31f12d7d9317d9802a1996a7bd8a6f2 author Dave Jones Wed, 06 Jul 2005 15:29:09 -0400 committer Linus Torvalds Wed, 06 Jul 2005 12:40:35 -0700 [PATCH] Fix bt87x.c build problem for real Just the declaration fix wasn't enough to fix things in bt78x.c Signed-off-by: Dave Jones Signed-off-by: Linus Torvalds commit 83b78bd2d31f12d7d9317d9802a1996a7bd8a6f2 tree 79468471ee42a327cad337d065a9498833d5bd24 parent b4634484815e1879512a23e4f59eef648135c30a author Christoph Lameter Wed, 06 Jul 2005 10:47:07 -0700 committer Linus Torvalds Wed, 06 Jul 2005 10:52:45 -0700 [PATCH] Fix broken kmalloc_node in rc1/rc2 This patch used to be in Andrew's tree before the NUMA slab allocator went in. Either this patch or the NUMA slab allocator is needed in order for kmalloc_node to work correctly. pcibus_to_node may be used to generate the node information passed to kmalloc_node. pcibus_to_node returns -1 if it was not able to determine on which node a pcibus is located. For that case kmalloc_node must work like kmalloc. Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit b3539219c9ea20ebf6a5ea3cc534f423a3607c41 tree d17c31c0eac0a7290ba5011b59a100fd9e9c9532 parent 6430a8def12edebc1c9c7c2621d33ca0e8653c33 parent a18bcb7450840f07a772a45229de4811d930f461 author Artem B. Bityuckiy Wed, 06 Jul 2005 15:43:18 +0100 committer Thomas Gleixner Wed, 06 Jul 2005 19:40:38 +0200 Merge with rsync://fileserver/linux Update to 2.6.12-rc3 commit b4634484815e1879512a23e4f59eef648135c30a tree 2fe5cb66de97b707e23d531578dc2a656855415e parent 3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 author Greg KH Wed, 06 Jul 2005 08:51:03 -0700 committer Linus Torvalds Wed, 06 Jul 2005 09:34:23 -0700 [PATCH] Fix bt87x.c build problem Missing forward declaration Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 6430a8def12edebc1c9c7c2621d33ca0e8653c33 tree d3c12091e821b7a98da9a58d9d11f648699d207c parent 265489f01d8c05f7aae174651a98854af090efc0 author Artem B. Bityuckiy Wed, 06 Jul 2005 15:43:18 +0100 committer Thomas Gleixner Wed, 06 Jul 2005 18:30:00 +0200 [JFFS2] Simplify the tree insert code. It isn't _normal_ that we allow key collision in rbtrees, but it does not matter as long as the two nodes with the same version are together. Signed-off-by: Artem B. Bityuckiy Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 tree 366f36bab03ca4471430021b5f2283993c19f4de parent a18bcb7450840f07a772a45229de4811d930f461 author Greg KH Wed, 06 Jul 2005 09:09:38 -0700 committer Linus Torvalds Wed, 06 Jul 2005 09:22:45 -0700 [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem Here's a patch to fix the build issue when CONFIG_HOTPLUG is not enabled in 2.6.13-rc2. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 265489f01d8c05f7aae174651a98854af090efc0 tree 3d543da813f26f5637194b4a10b5c253be1dfc9c parent 9dee7503ce3fc38911b9873216619190cf688128 author David Woodhouse Wed, 06 Jul 2005 13:13:13 +0100 committer Thomas Gleixner Wed, 06 Jul 2005 16:12:09 +0200 [JFFS2] Remove compatibilty cruft for ancient kernels Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 9dee7503ce3fc38911b9873216619190cf688128 tree 4a980e7afd14722a81472600ed13e147ff69f923 parent 10c96f2ec37f5369a785cf8c5a065a15e323c743 author David Woodhouse Tue, 05 Jul 2005 22:03:10 +0100 committer Thomas Gleixner Wed, 06 Jul 2005 14:07:54 +0200 [JFFS2] Optimise jffs2_add_tn_to_list Use an rbtree instead of a simple linked list. We were wasting an amazing amount of time in jffs2_add_tn_to_list(). Thanks to Artem Bityuckiy and Jarkko Jlavinen for noticing. Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 10c96f2ec37f5369a785cf8c5a065a15e323c743 tree b2654234292f6f843ae0fd6231f154bad4e1cb05 parent cbec19aeb3a3bfafe1d38f6efbea6a7023d31cb9 author Todd Poynor Sat, 02 Jul 2005 02:53:28 +0100 committer Thomas Gleixner Wed, 06 Jul 2005 12:25:04 +0200 [MTD] NOR flash map driver for TI OMAP boards. From: David Brownell, Jian Zhang , Tony Lindgren and others. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit cbec19aeb3a3bfafe1d38f6efbea6a7023d31cb9 tree 95c15acd7cfa344d7f719ca1405e00fd44cec91f parent ba9fb37ba07219fa251edbab1a50fdc7b33da5fa author Nico Pitre Fri, 01 Jul 2005 23:55:24 +0100 committer Thomas Gleixner Wed, 06 Jul 2005 12:22:16 +0200 [MTD] Add mapping driver for Intel PXA27x Mainstone board flash. From: Nicolas Pitre Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit ba9fb37ba07219fa251edbab1a50fdc7b33da5fa tree 7ed287761585f965830e4142ecc2a6230245f007 parent 0c80336e5e81846fcb028d5a677794f08201fa1c author Thomas Gleixner Wed, 06 Jul 2005 11:40:12 +0200 committer Thomas Gleixner Wed, 06 Jul 2005 11:40:12 +0200 [MTD] NAND: Remove unmaintained tx49xx board drivers The drivers are unmaintained since long and reference include files which are not available in the kernel. Original author is not longer responsible and no new maintainer showed up within 3 month. Signed-off-by: Thomas Gleixner commit 0c80336e5e81846fcb028d5a677794f08201fa1c tree 12b6893f09b3b2af4e49f7a482cb77bdf6740c52 parent f8eb321bee957b7464ae08839861a04cb0b51bbe author Thomas Gleixner Wed, 06 Jul 2005 11:28:27 +0200 committer Thomas Gleixner Wed, 06 Jul 2005 11:28:27 +0200 [MTD] NAND: sharpsl.c set correct file permissions Signed-off-by: Thomas Gleixner commit f8eb321bee957b7464ae08839861a04cb0b51bbe tree b21d0520af39674c9b5ea06e26fe9fd0fc07acac parent 3a7a882420d378b59542a048075e40428c771a12 author Thomas Gleixner Tue, 05 Jul 2005 01:03:06 +0200 committer Thomas Gleixner Tue, 05 Jul 2005 01:03:06 +0200 [MTD] cfi_cmdset_0002: Remove bogus include Including asm/hardware.h has to be done in linux/mtd/xip.h. Otherwise it breaks allyes compiles. Signed-off-by: Thomas Gleixner commit 3a7a882420d378b59542a048075e40428c771a12 tree 98b157a507ee763a78d60af22c67bf818ef0ef2c parent 9bc7b38731dd1cc1635ab12f8de48866f603b06e author Coywolf Qi Hunt Mon, 04 Jul 2005 12:15:28 -0500 committer Thomas Gleixner Mon, 04 Jul 2005 20:49:54 +0200 [MTD] mtdchar: Return the real error code when create_class() failed Signed-off-by: Coywolf Qi Hunt Signed-off-by: Thomas Gleixner commit 9bc7b38731dd1cc1635ab12f8de48866f603b06e tree 080932fb759f2f122ed81c88d15b336c025a2ff4 parent bd7bcf52dabba9c391142fd515221fcb87b7c712 author Todd Poynor Thu, 30 Jun 2005 01:23:27 +0100 committer Thomas Gleixner Fri, 01 Jul 2005 11:05:46 +0200 [MTD] mtdchar.c: Replace DEVFS by udev Switch from DEVFS to udev for dynamic creation of device nodes for mtd char devices. Creates a new LDM class "mtd" with writeable and read-only devices registered for each mtdchar device. From: Paolo Galtieri Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit bd7bcf52dabba9c391142fd515221fcb87b7c712 tree e97226f6132608a77bc3ba758cb7cbfd69a6ad00 parent af2c80e926ad5335d00a8d507928aff4e8ff1877 author Thomas Gleixner Thu, 23 Jun 2005 10:38:54 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:36:53 +0200 [MTD] NAND: Add ST chip IDs. From: Domenico DI TULLIO Signed-off-by: Thomas Gleixner commit af2c80e926ad5335d00a8d507928aff4e8ff1877 tree 02b20b6be722e0852f720e691c3cb82376ea2e31 parent a4f957f16d41b9ff944dddd84c4892496a129f68 author ? Mon, 20 Jun 2005 13:22:55 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:34:01 +0200 [MTD] ms02-nv: Fix 64bit operation Replace KSEG1ADDR() with CKSEG1ADDR() as the former does not work for 64-bit configurations anymore. Signed-off-by: Maciej W. Rozycki Signed-off-by: Thomas Gleixner commit a4f957f16d41b9ff944dddd84c4892496a129f68 tree 16b2984a1c648cd2bc5e5cd4ba85bc24ae8fa8b3 parent d7e78d4f2173298c34e88f496c3acea247feec61 author Ben Dooks Mon, 20 Jun 2005 12:48:25 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:30:47 +0200 [MTD] NAND: s3c24xx updates Fix error in timing generation, Tacls is only in the range 0..3 Add proper support for the s3c2440 NAND controller, which has now been tested on several s3c2440 implementations. Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit d7e78d4f2173298c34e88f496c3acea247feec61 tree a385876262755702e8ec5d0a79663d8bb3e17709 parent c9e0536523f5191395d62f6c84d007e6ffd38d33 author Thomas Gleixner Fri, 17 Jun 2005 16:02:09 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:27:41 +0200 [MTD] NAND: Change exports to _GPL Signed-off-by: Thomas Gleixner commit c9e0536523f5191395d62f6c84d007e6ffd38d33 tree a20381bcaac4f7b02afd7bdc36f76a631906f5ce parent bfabb98688e7089381baa0974f7ff6786ce2a2d0 author Thomas Gleixner Tue, 14 Jun 2005 16:39:57 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:24:41 +0200 [MTD] NAND: Fix broken bad block table scan Make the bad block table search functional again Signed-off-by: Thomas Gleixner commit bfabb98688e7089381baa0974f7ff6786ce2a2d0 tree a50b6e9bf90b6a2524b135f50831bfff8f38802a parent be76c5fb406fad93ab93ba39e7858e03d58c5d30 author Sean Young Mon, 13 Jun 2005 14:08:48 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:21:36 +0200 [MTD] Use correct major number for INFTL inftl was assigned new major number 96, 94 is in use by dasd. See: http://www.ussg.iu.edu/hypermail/linux/kernel/0409.2/1220.html Signed-off-by: Sean Young Signed-off-by: Thomas Gleixner commit be76c5fb406fad93ab93ba39e7858e03d58c5d30 tree 09e7814dcca9c1a822c84c5225c7fdf762ae6ee0 parent 02b15e343aeefb49f8cac949be599d78250a568f author Joern Engel Tue, 07 Jun 2005 16:04:29 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:20:23 +0200 [MTD] Fix commandline parser alignement Add alignment to cmdline. From: "Timofei V. Bondarenko" Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 02b15e343aeefb49f8cac949be599d78250a568f tree c9316c3d91fd79d67b2e6b7eadea5c92723355d9 parent 0dfc62465ef92c7ddcb1ba223bf062453566fd0f author Todd Poynor Tue, 07 Jun 2005 00:04:39 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:18:40 +0200 [MTD] XIP for AMD CFI flash. Author: Vitaly Wool Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 0dfc62465ef92c7ddcb1ba223bf062453566fd0f tree 0156e9b9996cf43dd67ceed53a2b8da0a516cdec parent 7ca6448dbfb398bba36eda3c01bc14b86c3675be author Thomas Gleixner Tue, 31 May 2005 20:39:20 +0100 committer Thomas Gleixner Wed, 29 Jun 2005 14:15:17 +0200 [MTD] NAND: Reorganize chip locking The code was wrong in several aspects. The locking order was inconsistent, the device aquire code did not reset a variable after a wakeup and the wakeup handling was not working for applications where multiple chips are sharing a single hardware controller. When a hardware controller is available the locking is now reduced to the hardware controller lock and the waitqueue is moved to the hardware controller structure in order to avoid a wake_up_all(). The problem was pointed out by Ben Dooks, who also found the missing variable reset as main cause for his deadlock problem. Signed-off-by: Thomas Gleixner commit 22f579c621e2f264e6d093b07d75f99bc97d5df2 tree 6af70ad6c3a7bc7e1983281c2674d7880ca41559 parent 99f95e5286df2f69edab8a04c7080d986ee4233b author Dave Airlie Tue, 28 Jun 2005 22:48:56 +1000 committer Dave Airlie Tue, 28 Jun 2005 22:48:56 +1000 drm: Add via unichrome support Add DRM device driver for VIA Unichrome chipsets From: Unichrome Project http://unichrome.sf.net, Erdi Chen, Thomas Hellstrom Signed-off-by: Dave Airlie commit 7ca6448dbfb398bba36eda3c01bc14b86c3675be tree 82d934ebf07f22a2c64c3b6d82ec24082878b43a parent f1f67a9874f1a4bba1adff6d694aa52e5f52ff1a parent 7d681b23d6cc14a8c026ea6756242cb522cbbcae author Thomas Gleixner Sun, 26 Jun 2005 23:20:36 +0200 committer Thomas Gleixner Sun, 26 Jun 2005 23:20:36 +0200 Merge with rsync://fileserver/linux Update to Linus latest commit f1f67a9874f1a4bba1adff6d694aa52e5f52ff1a tree 1ce057ca42957603fbbbd10bd83f249bb31d742a parent a8aff8ab981cc8ef170e89d85094da722644a7fd author Nicolas S. Dade Tue, 24 May 2005 01:46:34 -0700 committer Thomas Gleixner Fri, 27 May 2005 10:40:27 +0200 [MTD] NAND: Add Hynix to manufacturer list Signed-off-by: Nicolas S. Dade Signed-off-by: Thomas Gleixner commit a8aff8ab981cc8ef170e89d85094da722644a7fd tree f49bdc805ab0230559df6b93131bf78ecbd63b87 parent b0435695cb3b3e0542c9a3f921f40b216ec37580 author Thomas Gleixner Wed, 25 May 2005 12:32:37 +0200 committer Thomas Gleixner Wed, 25 May 2005 12:32:37 +0200 [MTD] Fix it really tglx declares him self to be the idiot of the day. Signed-off-by: Thomas Gleixner commit b0435695cb3b3e0542c9a3f921f40b216ec37580 tree 1fd9699dacd03089d3818203d2959a6eb311675b parent 3a3ab48c68de656736f091c6ed768fa8c110a7ab author Thomas Gleixner Wed, 25 May 2005 12:20:29 +0200 committer Thomas Gleixner Wed, 25 May 2005 12:20:29 +0200 [MTD] map.h Use the correct macro and fix the resulting compiler warning Signed-off-by: Thomas Gleixner commit 3a3ab48c68de656736f091c6ed768fa8c110a7ab tree 236d8fd4f1ce2ef32226689d254263c9c8d88219 parent 22fd9a8750bcad4999768aafc8fbd8a4bd6f5aa1 author Thomas Gleixner Tue, 24 May 2005 20:50:18 +0200 committer Thomas Gleixner Tue, 24 May 2005 20:50:18 +0200 [MTD] Make map_word_ff ware of the flash buswidth map_word_ff() was setting the mapword to ~0UL regardless of the buswidth of the mapped flash chip. The read_map functions are buswidth aware and therefor the map_word_equal function failed. Signed-off-by: Thomas Gleixner commit 22fd9a8750bcad4999768aafc8fbd8a4bd6f5aa1 tree da37e49d5731f9dc8d58ad04a38fd137d8830f79 parent f08276136bdc8607c1da493279569beb9859b133 author Thomas Gleixner Tue, 24 May 2005 15:33:49 +0200 committer Thomas Gleixner Tue, 24 May 2005 15:33:49 +0200 [MTD] cfi_cmdset_0002: Fix broken status check Signed-off-by: Thomas Gleixner commit f08276136bdc8607c1da493279569beb9859b133 tree 5a4e7ea9300eece5ff5187fa7f64f0f48f37cf12 parent 7d27c8143c8234e1cae8285fd2d43c19dad69bde parent 1263cc67c09bc7f913a6877f3ba0427f0b76617e author Thomas Gleixner Mon, 23 May 2005 15:11:45 +0200 committer Thomas Gleixner Mon, 23 May 2005 15:11:45 +0200 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 7d27c8143c8234e1cae8285fd2d43c19dad69bde tree 6db0918cdc71206843816b85480194e4eddcc8d9 parent c84441c47d21d9291e780cdb5686e927dcd6f227 author Thomas Gleixner Sun, 22 May 2005 21:47:19 +0200 committer Thomas Gleixner Mon, 23 May 2005 13:49:40 +0200 [JFFS2] Whitespace cleanup. Fix missing debug message Signed-off-by: Thomas Gleixner commit c84441c47d21d9291e780cdb5686e927dcd6f227 tree 6f429781c82b9ba21ce8210313407d0771b1d53b parent e2d48b1a98bb5da8d6998ca4db0b20fa46938a11 author Thomas Gleixner Fri, 20 May 2005 20:30:09 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:49:14 +0200 [JFFS2] Fix crosscompile Include sched.h instead of asm/semaphore.h to make it compile everywhere. Signed-off-by: Thomas Gleixner commit e2d48b1a98bb5da8d6998ca4db0b20fa46938a11 tree 8b6cb220be02b78a064fa718bb2b5b182907bdf1 parent fb4a90bfcd6d86e8531073c42fae7fde40974f5d author Thomas Gleixner Fri, 20 May 2005 22:37:15 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:48:38 +0200 [JFFS2] Fix cleanup in case of GC-Task not started Do not call wait_for_completion, when the gc task is not there. Prevent an oops when the gc thread was not started. Signed-off-by: Thomas Gleixner commit fb4a90bfcd6d86e8531073c42fae7fde40974f5d tree 12122e4775bcaab4eec39b110a0450a82ef59964 parent 6da70124a1cc05bdbd7c847901964edc6f634a91 author Eric W. Biedermann Fri, 20 May 2005 04:28:26 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:22:11 +0200 [MTD] CFI-0002 - Improve error checking Check for errors besides infinite loops when writing and erasing. Signed-off-by: Eric W. Biederman Signed-off-by: Thomas Gleixner commit 6da70124a1cc05bdbd7c847901964edc6f634a91 tree 3cd1afd4b23b8ed31b2b92b9d11c67a854a7be63 parent fff7afd791f6a685b3ddedb8cfb152aed85f3cf8 author Nicolas Pitre Thu, 19 May 2005 18:05:47 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:21:35 +0200 [MTD] CFI flash locking reorg for XIP This reworks the XIP locking to make sure no lock primitive is ever called from XIP disabled paths even if in theory they should not cause any reschedule. Relying on the current spinlock implementation is rather fragile and not especially clean from an abstraction pov. The recent RT work makes it even more obvious. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit fff7afd791f6a685b3ddedb8cfb152aed85f3cf8 tree d120969aad25f0c67d1e81e51552c85ac954bb8b parent 90e260c84f563a4ac6b47886e8188af06f4a4a46 author Thomas Gleixner Thu, 19 May 2005 17:18:11 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:21:14 +0200 [JFFS2] Convert thread start semaphore to completion Signed-off-by: Thomas Gleixner commit 90e260c84f563a4ac6b47886e8188af06f4a4a46 tree a487cfe4fb96fc09d0102689cd1f78ba9dee3e67 parent a69dde91e8940b49bdc9920dd65ec02c6a51f85c author Thomas Gleixner Thu, 19 May 2005 17:10:26 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:20:45 +0200 [MTD] NAND: Honour autoplacement schemes supplied by the caller Signed-off-by: Thomas Gleixner commit a69dde91e8940b49bdc9920dd65ec02c6a51f85c tree f7e4359c4a7d6238a64ab104b0fbb11c4e123971 parent 4132ace8d6f1b57839048548a17a0265f889aa3e author Artem B. Bityuckiy Wed, 18 May 2005 12:37:28 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:20:19 +0200 [JFFS2] Kill GC thread before cleanup First kill GC thread, then start clearing the internal structures Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 4132ace8d6f1b57839048548a17a0265f889aa3e tree 277a12b76bef5d56c9f5c38db2737fa02fb15dde parent 8cd79216676d9122fa714615e6b49553761aca8a author Artem B. Bityuckiy Fri, 06 May 2005 10:30:30 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:20:00 +0200 [JFFS2] Suppress annoying debug messages Embrace uneeded messages in D1(). Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 8cd79216676d9122fa714615e6b49553761aca8a tree 148c1c6abe0e9241a0a701d05518386128424a97 parent c25bb1f59ca6ebbee2649d82533537d4bf123609 author Artem B. Bityuckiy Tue, 03 May 2005 16:19:02 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:19:07 +0200 [JFFS2] Fix NOR only compile Fix the bug that caouses problems when compiling for NOR. We read a newly erased block so we don't need to check ECC. Define jffs2_is_writebuffered as zero if there is no wbuf. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit c25bb1f59ca6ebbee2649d82533537d4bf123609 tree 74dbbdfc3da2709308d73eee65695e1bfc75145a parent c13cbf3b5086d4ed51360b86b6b0ef8b82b179dc author Todd Poynor Wed, 27 Apr 2005 21:01:52 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:18:44 +0200 [MTD] CFI DEBUG_LOCK_BITS fixes for Intel NOR flash: adjust chip-relative offsets to block address, write to block address + 2 per recent datasheets. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit c13cbf3b5086d4ed51360b86b6b0ef8b82b179dc tree bf087489fc1f8b783c5a8d6b8dec59ad0fb75afb parent 7d200960d4f3d1b50c3b9e9688408d9f81c66ff4 author Joern Engel Thu, 21 Apr 2005 04:42:15 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:18:26 +0200 [MTD] mtdram: Quick cleanup of the driver: - Lindent - Removal of slram/phram functionality - Removal of most #ifdefs Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 7d200960d4f3d1b50c3b9e9688408d9f81c66ff4 tree 0faf7439968a955f55871048448abb36fa44c090 parent 0a18cde60f384d1f7aa012aba004766fb633a31d author David Woodhouse Wed, 13 Apr 2005 14:22:38 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:17:49 +0200 [JFFS2] Fix inode allocation race Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 0a18cde60f384d1f7aa012aba004766fb633a31d tree a3b0387c2c8285962a15ba02c721356623a94876 parent 65c6e0a657012d104fe42be5f01a7b9b451b687c author Jarkko Lavinen Mon, 11 Apr 2005 15:16:11 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:17:30 +0200 [MTD] NAND: Fix the broken dynamic array allocations Reverting the change from 1.136 to 1.137 (back to static allocation of ecc arrays) due to stack corruption and ecc errors. Signed-off-by: Jarkko Lavinen Signed-off-by: Thomas Gleixner commit 65c6e0a657012d104fe42be5f01a7b9b451b687c tree acf2829c586ee57a492a77b7cf9bf4c30ad43af9 parent 8557fd51c22e4c2109f062decd19de439061ceae author Thomas Gleixner Mon, 11 Apr 2005 11:19:05 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:17:11 +0200 [MTD] Fix broken user ABI Move kernel data where it belongs. Previous change broke user abi. Signed-off-by: Thomas Gleixner commit 8557fd51c22e4c2109f062decd19de439061ceae tree 66884a832e912decd06a8441db05fd78ec8e3e6e parent abc37e6771ec92bb4c531d218ad572afbef6aa21 author Artem B. Bityuckiy Sat, 09 Apr 2005 11:47:03 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:16:47 +0200 [JFFS2] Fix race in garbage collector Fix the race problem described here: http://lists.infradead.org/pipermail/linux-mtd/2005-April/012361.html Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit abc37e6771ec92bb4c531d218ad572afbef6aa21 tree cc30e91741b76c94380748d5c6c0cb82d31a7e3f parent 7e4a1d3e6abec5464169a29a3d34473a59e2e8b7 author Dan Brown Thu, 07 Apr 2005 15:22:58 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:11:44 +0200 [MTD] DiskOnChip: Add some comments Add helpful comment about oobfree so I can't claim two years from now that I don't remember what I was thinking. Signed-off-by: Dan Brown Signed-off-by: Thomas Gleixner commit 7e4a1d3e6abec5464169a29a3d34473a59e2e8b7 tree d5cae9efa93f4d6b3985e570d200a1c294fe5938 parent dff59421983b235d5b8f713d01213fcc7f57c970 author Dan Brown Thu, 07 Apr 2005 14:39:17 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:11:16 +0200 [MTD] DiskOnChip: Fix compile w/o CONFIG_MTD_PARTITIONS. Signed-off-by: Dan Brown Signed-off-by: Thomas Gleixner commit dff59421983b235d5b8f713d01213fcc7f57c970 tree eb66f557464bc05fb36016ffa04728ab134f0044 parent 82e1d19fc3e6bd20b65937352a015a412b751d47 author Dan Brown Wed, 06 Apr 2005 21:14:22 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:10:57 +0200 [MTD] DiskOnChip: Prevent problems with existing filesystems Try not to break existing jffs2 installs, instead break oobfree into two out-of-order pieces. Signed-off-by: Dan Brown Signed-off-by: Thomas Gleixner commit 82e1d19fc3e6bd20b65937352a015a412b751d47 tree 6ac35c667e98a5e2ea5fa219668a16dd2eb8830d parent e5a3e8ca948e8ac0dad751dbd75e4dc96b4277e9 author Dan Brown Wed, 06 Apr 2005 21:13:09 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:10:30 +0200 [MTD] NAND: Fix reading of autoplaced OOB when there are multiple free sections. Signed-off-by: Dan Brown Signed-off-by: Thomas Gleixner commit e5a3e8ca948e8ac0dad751dbd75e4dc96b4277e9 tree aacd2f18a3bf8b22c8409ff066f4d521c6269ef5 parent 6f401a40b5e46144e1ea361a5e2be428fb18a344 author Dan Brown Wed, 06 Apr 2005 19:10:24 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:10:04 +0200 [MTD] DiskOnChip: Fix (?) free OOB array info. I really hope this doesn't break something. Signed-off-by: Dan Brown Signed-off-by: Thomas Gleixner commit 6f401a40b5e46144e1ea361a5e2be428fb18a344 tree f4473769aeeca88b1e95d0bf3b96bc782f4ebf70 parent 894214d1a75745a283d5f1921125b3ad36d7ba26 author Artem B. Bityuckiy Wed, 06 Apr 2005 17:02:55 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:09:44 +0200 [JFFS2] Add KERN_DEBUG level to printks Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 894214d1a75745a283d5f1921125b3ad36d7ba26 tree 70dd3913dfb671871348878b1f2a4c30427e2d73 parent 22c60f5fb7b8184a2d00a607f965b54c586fb40e author Artem B. Bityuckiy Tue, 05 Apr 2005 13:51:58 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:09:29 +0200 [JFFS2] Fix race problems with wbuf. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 22c60f5fb7b8184a2d00a607f965b54c586fb40e tree 946948f6ef7fe2483c5cadf356a42482e3fb3077 parent bb75ba4c442c6aa73797c35651a697b0a8006bd6 author Thomas Gleixner Mon, 04 Apr 2005 19:56:32 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:09:10 +0200 [MTD] NAND: Move the NULL check into the calling function Signed-off-by: Thomas Gleixner commit bb75ba4c442c6aa73797c35651a697b0a8006bd6 tree a9c22a462f46fb722155049092975f9772a254f6 parent dce2b4da69a83635150a6535ebc23f680e200a8d author Dan Brown Mon, 04 Apr 2005 19:02:26 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:08:47 +0200 [MTD] NAND: Fix missing NULL pointer check Version 1.137 broke nand_read_ecc clients who pass NULL oobsel. Fixed. Signed-off-by: Dan Brown Signed-off-by: Thomas Gleixner commit dce2b4da69a83635150a6535ebc23f680e200a8d tree 1e71cbc8cb0fd495d2c4383ea40d7b045b3d6da6 parent 81dba488792b29cc8cb2b3d49407be05303dde16 author Nicolas Pitre Fri, 01 Apr 2005 17:36:29 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:07:50 +0200 [MTD] Fix OTP for top-parameter devices Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 81dba488792b29cc8cb2b3d49407be05303dde16 tree 60838f712b06c3e8a6acf22df81992d8d26c139a parent 998cf6403cdaac74211c619772bea027274ffc42 author Nicolas Pitre Fri, 01 Apr 2005 16:36:15 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:07:33 +0200 [MTD] Reset file position when switching OTP mode Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 998cf6403cdaac74211c619772bea027274ffc42 tree 393fc73e9a3039c3f1cb1b54b867230a86f8be78 parent 963a6fb0a0d336d0513083b7e4b5c3ff9d6d2061 author Thomas Gleixner Fri, 01 Apr 2005 08:21:48 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:07:14 +0200 [MTD] NAND: Fix oob available calculation Use oobfree to calculate the number of oob bytes available for fs usage Signed-off-by: Thomas Gleixner commit 963a6fb0a0d336d0513083b7e4b5c3ff9d6d2061 tree d7f6ccfbef2fe150d3073d17d333f90d1ce304a6 parent 8048d2fc38c9559ce37b46c21fa734c5cb9bcdb2 author Nicolas Pitre Fri, 01 Apr 2005 02:59:56 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:06:28 +0200 [MTD] Add reboot notifier to Intel NOR flash driver to make sure the flash is in array mode whenever we're about to reboot. This is especially useful to allow "soft" reboot to work which consists of branching back into the bootloader. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 8048d2fc38c9559ce37b46c21fa734c5cb9bcdb2 tree d71cfb0c7429c2430725cef25a32aa0b6c0aaa17 parent 9a6e73ec4906bdf44ccfaaf8db56693b146595c0 author Todd Poynor Thu, 31 Mar 2005 00:57:33 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:06:01 +0200 [MTD] Avoid compile warnings for Intel CFI flash without OTP support. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 9a6e73ec4906bdf44ccfaaf8db56693b146595c0 tree affdbc2dbf1cf7058331e1bdbf70d1b6c8384ce8 parent 1a78ff6b4114cfb0f734b7df217759315d692683 author Todd Poynor Tue, 29 Mar 2005 23:06:40 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:05:37 +0200 [MTD] cfi_cmdset_0001: Skip delay if Instant Block Locking is set Skip jiffy delay after each block lock/unlock for Intel CFI flash with the "Instant Individual Block Locking" feature bit set. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 1a78ff6b4114cfb0f734b7df217759315d692683 tree 279791ef920eeef1ba87f0305b722cd5fa4c5a14 parent 15fc108606a499df44549274a95d1e3455823347 author Dan Brown Tue, 29 Mar 2005 21:57:48 +0100 committer Thomas Gleixner Mon, 23 May 2005 13:04:36 +0200 [MTD] DiskOnChip: Scan the entire device for Media Headers. Add a new module param, show_firmware_partition. Signed-off-by: Dan Brown Signed-off-by: Thomas Gleixner commit 15fc108606a499df44549274a95d1e3455823347 tree 9a24edb20f71653b8cf80c1714492c730af231d1 parent 8f5a4486c05275a5f3d53c80c86a44adb7fb8823 author Artem B. Bityuckiy Thu, 24 Mar 2005 14:33:26 +0000 committer Thomas Gleixner Mon, 23 May 2005 13:04:06 +0200 [MTD] NAND: Use arrays of needed size instead of constant-sized. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 8f5a4486c05275a5f3d53c80c86a44adb7fb8823 tree 0f04ae7bf55a5201346d249e18d622acce07f969 parent ba38069875a365a33b9b56e42dfdb71b5ce7a3a4 author Richard Purdie Mon, 21 Mar 2005 08:42:14 +0000 committer Thomas Gleixner Mon, 23 May 2005 13:03:41 +0200 [MTD] sharpsl-flash: Correct error paths Signed-off-by: Richard Purdie Signed-off-by: Thomas Gleixner commit ba38069875a365a33b9b56e42dfdb71b5ce7a3a4 tree cedbbcf8107f8cf6cbdecdbcbb3b719bb1a90976 parent 3cceb9f6cf433545b607451e5de7af2cd6cec0b5 author Richard Purdie Mon, 21 Mar 2005 00:10:24 +0000 committer Thomas Gleixner Mon, 23 May 2005 13:03:24 +0200 [MTD] Add support for more SharpSL machines and fix missing mapping init Signed-off-by: Richard Purdie Signed-off-by: Thomas Gleixner commit 3cceb9f6cf433545b607451e5de7af2cd6cec0b5 tree cc9934231e9977bdd95d2a751bdd36649704af37 parent 437316d9b5ea142ca7ab9ef131c28506c407d1d6 author Artem B. Bityuckiy Sun, 20 Mar 2005 21:43:26 +0000 committer Thomas Gleixner Mon, 23 May 2005 13:03:04 +0200 [JFFS2] Prevent deadlock when flushing write buffer Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 437316d9b5ea142ca7ab9ef131c28506c407d1d6 tree 1edf9fa6fc996bb873fad59b0019d3a985ded794 parent a42163d7c331c2532551f675d6616a00e1e87fe9 author Artem B. Bityuckiy Sun, 20 Mar 2005 17:46:23 +0000 committer Thomas Gleixner Mon, 23 May 2005 13:02:39 +0200 [JFFS2] Forbid to free inode_cache objects if its nlink isn't zero. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit a42163d7c331c2532551f675d6616a00e1e87fe9 tree f437025983cca8c43ee33e839199d0ee091c8107 parent a921e28b4bd35b091754a1814ff015fe268b9295 author Artem B. Bityuckiy Sun, 20 Mar 2005 17:45:29 +0000 committer Thomas Gleixner Mon, 23 May 2005 13:01:25 +0200 [JFFS2] Improve garbage collector block selection Make sure the erase_pending_wbuf_list's blocks are taken into account when picking the block to GC. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit a921e28b4bd35b091754a1814ff015fe268b9295 tree 034ce5d95194b00317b8dc4e1f723a07c1ec3523 parent cc71229ff345a32d1b3de370a257dac62986b187 author Thomas Gleixner Sat, 19 Mar 2005 22:41:30 +0000 committer Thomas Gleixner Mon, 23 May 2005 13:00:41 +0200 [MTD] plat-ram: Make it usable on non ARM platforms Use memset instead of ARM only memzero function Signed-off-by: Thomas Gleixner commit cc71229ff345a32d1b3de370a257dac62986b187 tree cd0be3d4dd273c31a04b9ccfd63f296fe4969a04 parent 50da7f60960a2e39aa8784983c580a3ddfd9bd8d author Thomas Gleixner Sat, 19 Mar 2005 22:40:47 +0000 committer Thomas Gleixner Mon, 23 May 2005 13:00:18 +0200 [MTD] block2mtd: Fix incompatible pointer type Signed-off-by: Thomas Gleixner commit 50da7f60960a2e39aa8784983c580a3ddfd9bd8d tree 27e3cabed82de859670247def46e4b080eb65924 parent 515022870f0f648b9c506a285b1c7e92901dd37f author Thomas Gleixner Sat, 19 Mar 2005 22:39:52 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:59:55 +0200 [MTD] cfi_cmdset_0001: Fix compiler warnings Signed-off-by: Thomas Gleixner commit 515022870f0f648b9c506a285b1c7e92901dd37f tree a47bc31cb0593af093530a6ac69365962ab81308 parent 167e1770e526c6c6cdff5014e32f5a3363c017f3 author Artem B. Bityuckiy Sat, 19 Mar 2005 15:33:59 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:59:33 +0200 [MTD] NAND nandsim: Use NAND_SKIP_BBT option Use the new NAND_SKIP_BBT option instead of defining a fake scan_bbt handler. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 167e1770e526c6c6cdff5014e32f5a3363c017f3 tree 5d696a45d70dc813cf6ccac5685fa9a66bc4eea4 parent ff3bc4eb94ec3d2ce6e8f615d38c94151ccb6553 author Lennert Buytenhek Fri, 18 Mar 2005 14:07:49 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:58:49 +0200 [MTD] ixp2000: Remove port setting code Setting the slowport to 8-bit mode is something that ought to be done in the IXP2000 generic code, not in the MTD map driver. See the description for ARM patch 2493/1 for an explanation. http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=2493/1 Now that 2493/1 has been accepted and will be upstream soon, this doesn't need to be done in the map driver anymore. Signed-off-by: Lennert Buytenhek Signed-off-by: Thomas Gleixner commit ff3bc4eb94ec3d2ce6e8f615d38c94151ccb6553 tree 7fedb64361e5fa30638073d9288ee92e17cf2bc9 parent 4d9527096e2e5da7bec4b6a276fdb05086b6c395 author Domen Puncer Fri, 18 Mar 2005 14:04:38 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:57:48 +0200 [MTD] Kernel Janitor fixes. Signed-off-by: Domen Puncer Signed-off-by: Thomas Gleixner commit 4d9527096e2e5da7bec4b6a276fdb05086b6c395 tree 6733cf2c2694a6ae0058c82b4de6e05d279c7bd0 parent 3c45e00afcaa22c65cfb7f77649591db9e0bec03 author Artem B. Bityuckiy Fri, 18 Mar 2005 09:58:09 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:57:27 +0200 [JFFS2] Use function to manipulate superblock dirty flag Use the corresponding function to mark Superblock dirty instead of doing it directly. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 3c45e00afcaa22c65cfb7f77649591db9e0bec03 tree 9b63f461c15072e2451108ff46b6b3621e8c7f2e parent 3e4ef3bb77f7b87c631ba188d4a4b4eb30b2f16f author Thomas Gleixner Fri, 18 Mar 2005 02:07:24 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:56:24 +0200 [MTD] Fix typo in Kconfig Signed-off-by: Thomas Gleixner commit 3e4ef3bb77f7b87c631ba188d4a4b4eb30b2f16f tree 3ca45d8f929bf85f79036d8419519073f79b9d0b parent 09c7933547e383ab89ee1b08ec86899bef3035cf author Ben Dooks Thu, 17 Mar 2005 11:31:30 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:55:50 +0200 [MTD] NAND s3c2410: Simplify command handling Updated with tglx's suggestion to simply the command invocation by simply changing the address of the IO write area Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 09c7933547e383ab89ee1b08ec86899bef3035cf tree 67c5e4d8fe6ed1262a15f4dbcf3c879e8916e5a7 parent 3a70025047f90de2133744a8918e90fcf5a93366 author Nicolas Pitre Wed, 16 Mar 2005 22:41:09 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:54:48 +0200 [MTD] cfi_cmdset_0001: Fix state after sync oldstate has to be reset to FL_READY after sync completion. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 3a70025047f90de2133744a8918e90fcf5a93366 tree c92637dd52da4a8e5071d11eb032b55a6dd62d2f parent c927cd3a226bed5cf063cdf04de13cef51144cef author Thomas Gleixner Tue, 15 Mar 2005 19:07:21 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:53:47 +0200 [MTD] cfi_cmdset_0001: Fix the buggy status check. The change makes the code endianess aware and replaces the bogus nested loop to or the status flags together. Signed-off-by: Thomas Gleixner commit c927cd3a226bed5cf063cdf04de13cef51144cef tree ebb14c72811e3d2d76bf8be82799334302600947 parent fb6bb52ddde0429b654ab6d4cb20fa016a1d5b0d author Thomas Gleixner Tue, 15 Mar 2005 19:03:16 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:53:05 +0200 [MTD] Add the reverse operation of cfi_build_cmd() This is necessary to fix the broken status check in cfi_cmdset_0001 Signed-off-by: Thomas Gleixner commit fb6bb52ddde0429b654ab6d4cb20fa016a1d5b0d tree f72aa6e78887abccce1427e7c2dfd7458731a17f parent 3b946e3f3dc0de473a88b4106f01731a5c016689 author Ben Dooks Mon, 14 Mar 2005 20:33:22 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:52:23 +0200 [MTD] plat-ram: removed extraneous debugging code removed define of DEBUG removed extraneous debugging code Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 3b946e3f3dc0de473a88b4106f01731a5c016689 tree 00c8d854ef2d58d661dc09915befe6b70fc03809 parent 0514cd938009de1d6b3239d98c3cf2a67b620103 author Ben Dooks Mon, 14 Mar 2005 18:30:48 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:51:48 +0200 [MTD] NAND: Fixed unused loop variable Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 0514cd938009de1d6b3239d98c3cf2a67b620103 tree 55dc0bb71d8df2cc63625c9905bd7867314ada73 parent 663259a44f440249cab1b0f3f4b82cfab8e4758d author Ben Dooks Mon, 14 Mar 2005 18:27:18 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:51:30 +0200 [MTD] Fixed signed 1bit bitfield Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 663259a44f440249cab1b0f3f4b82cfab8e4758d tree 65f6b03238819d4706325923fe8aa3c4c2aa1f15 parent 711c11b78d00c0652d38893c558a2bcca55d96d4 author Joern Engel Mon, 07 Mar 2005 21:43:42 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:51:00 +0200 [MTD] phram: Allow short reads. Jffs2 apparently needs this. Accept newline at the end of input. Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 711c11b78d00c0652d38893c558a2bcca55d96d4 tree e4147499131228e5e271d4c769f402c973cb0c68 parent b4eab4b8d633ff1d65dac5cfb07949489f68ae26 author Joern Engel Mon, 07 Mar 2005 20:29:09 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:50:11 +0200 [MTD] block2mtd: Remove copyright. Fix offset calculation - Remove Gareth from the Copyrights (at his own request) - Fix the "fscking embarrassment" Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit b4eab4b8d633ff1d65dac5cfb07949489f68ae26 tree 7e0e479959c6198f17305e157438d008ff6b9fd5 parent 32f1a95d505b99b1f01b6aeea36ec3f97245b357 author David Vrabel Wed, 02 Mar 2005 14:51:08 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:48:56 +0200 [MTD] Remove Elan-104NC Remove support for the Arcom Elan-104NC since it's no longer being maintained. Signed-off-by: David Vrabel Signed-off-by: Thomas Gleixner commit 32f1a95d505b99b1f01b6aeea36ec3f97245b357 tree 5da0e8b01362cf6b0cc79f11e5e9b3fd4ad169d6 parent 20a6c211903dce92a0db7f19c221cfa3f2cb4c32 author Artem B. Bityuckiy Tue, 01 Mar 2005 10:50:52 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:48:15 +0200 [JFFS2] Add symlink caching support. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 20a6c211903dce92a0db7f19c221cfa3f2cb4c32 tree f50c0611c9c4129d61625e352352f317ab089ed1 parent 31fbdf7aa5aac8a2a34f180a25deb157297a10c9 author Thomas Gleixner Tue, 01 Mar 2005 09:32:48 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:47:55 +0200 [MTD] NAND: Use cond_resched instead of msleep Replace msleep by cond_resched. On machines with HZ=100 (e.g. ARM) msleep slows down the operation by factor 10 Signed-off-by: Thomas Gleixner commit 31fbdf7aa5aac8a2a34f180a25deb157297a10c9 tree 2189fa2b2f74789e259724719826f6508ae305da parent 67e345d17ff8c2085a54c293001ae548f7be7b21 author Artem B. Bityuckiy Mon, 28 Feb 2005 08:21:09 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:47:15 +0200 [JFFS2] Fix NOR specific scan BUG Fix fairly sad NOR-specific bug - during FS building ic->scan_dents isn't zero, but jffs2_mark_node_obsolete() migt be called it tries to finde the ic corresponding to ref - this requires ic->scan_dents = 0. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 67e345d17ff8c2085a54c293001ae548f7be7b21 tree 07f2829e98c22c5d1edd8832a06a11cbdde85f24 parent 002fa30170f9500ac31fa22931c689029af7f27b author David Woodhouse Sun, 27 Feb 2005 23:01:36 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:46:14 +0200 [JFFS2] Prevent ino cache removal for inodes in use Don't remove inocache for inodes which are in read_inode() or clear_inode() until they're done. Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit 002fa30170f9500ac31fa22931c689029af7f27b tree b633bd9776af565884251588fc86d7aadbf77c43 parent d30f11d22549c54e9b05d153e37d166f88a2aa43 author Pete Popov Sun, 27 Feb 2005 21:50:25 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:45:13 +0200 [MTD] Replace all the Au1x mapping drivers with a simplified single driver This driver does not have as many options but it's easier to maintain. And, it turns out AMD never shipped boards with different flash densities. Signed-off-by: Pete Popov Signed-off-by: Thomas Gleixner commit d30f11d22549c54e9b05d153e37d166f88a2aa43 tree ae9c557262678328cad49d96aa4b8a879a3a911d parent 3b88775c7504dfdedd5f267cb8f02999e380222a author Joern Engel Wed, 23 Feb 2005 19:37:11 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:43:32 +0200 [MTD] Use after free, found by the Coverity tool Signed-off-by: Alexander Nyberg Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 3b88775c7504dfdedd5f267cb8f02999e380222a tree 366ff196cff794ad135075f0c18ca68367c3099f parent dfd61294403cce7ca2263674f420c3417093cb56 author Thomas Gleixner Tue, 22 Feb 2005 21:56:49 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:42:49 +0200 [MTD] NAND: Check command timeout Check timeout while we wait for the command to finish. No worry about a false result. This prevents deadlocking when detecting an unknown number of chips and is useful for removable media too. Signed-off-by: Thomas Gleixner Signed-off-by: Thomas Gleixner commit dfd61294403cce7ca2263674f420c3417093cb56 tree b96b4aa8524df5104c10ab480eeb9355ff9c2dbf parent fdf2fd52746bbffeffa19e24cb0608abc5429bc2 author Thomas Gleixner Tue, 22 Feb 2005 21:48:25 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:42:18 +0200 [MTD] DiskOnChip: Wait for the command to finish. Do not use the ready function here, as it might hang for ever. The result will show, whether the chip is there or not Signed-off-by: Thomas Gleixner commit fdf2fd52746bbffeffa19e24cb0608abc5429bc2 tree e9899108b87aa0fc600809697dec816087687517 parent 49450795844daba7867cc215f17532cac2c2b284 author Ben Dooks Fri, 18 Feb 2005 14:46:15 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:41:32 +0200 [MTD] Sparse fixes Fix sparse errors due to lack of address-space markers Updated header comments Small re-format of initialiser Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 49450795844daba7867cc215f17532cac2c2b284 tree f8821bf3a7c9449d655704d43bd027499261b1af parent 7685359656774e0348835f72a68e201fe0285fa9 author Artem B. Bityuckiy Fri, 18 Feb 2005 14:34:54 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:41:03 +0200 [MTD] Fix unregister_mtd_user() public function documentation. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 7685359656774e0348835f72a68e201fe0285fa9 tree 79329eaf11afcdecd5d211f3ea24535d47bcea08 parent 332d71f7682d860b4439e197bc0ae85867458e1b author Ben Dooks Fri, 18 Feb 2005 11:03:48 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:40:28 +0200 [MTD] Update BAST driver configuration update the BAST driver config (which already supports the vr1000) to be selected only if the vr1000 has been configured Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 332d71f7682d860b4439e197bc0ae85867458e1b tree fe0fbd8a7b25115833c18a6d0d1986c051e6badc parent b81226c5d55b16a23f044d37b45e9b6909d8fbce author Nicolas Pitre Thu, 17 Feb 2005 20:35:04 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:39:55 +0200 [MTD] Make OTP actually work. The OTP code is rather broken without this. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit b81226c5d55b16a23f044d37b45e9b6909d8fbce tree 41c3f5d6c4d163735a60fc5a930d2feb313c17cd parent 171650af9cd847964cf69b6bab9009631283293f author Artem B. Bityuckiy Thu, 17 Feb 2005 17:51:17 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:39:35 +0200 [JFFS2] Fix node lookup Look the ref->next_phys field instead of ->next_in_ino to determine if the block has more then one node. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 171650af9cd847964cf69b6bab9009631283293f tree c995b772d0f88d83a5c89a5daa7b4c01c97e2f99 parent f16407d73effc59e1e9f88e45a3dc53cacbb8264 author Artem B. Bityuckiy Wed, 16 Feb 2005 17:09:39 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:38:33 +0200 [MTD] NAND: Fix bad block table scan for small page devices Scan 1st and 2nd pages of SP devices for BB marker by default. Fix more then one page scanning in create_bbt.c. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit f16407d73effc59e1e9f88e45a3dc53cacbb8264 tree a96e973041bcce4f3bf1adea98788301db1f6d6e parent 0ea4a7558f3c5b894e46da4b2be120edf002a86d author Nicolas Pitre Wed, 16 Feb 2005 15:55:03 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:37:52 +0200 [MTD] Quiet unused variable warning Signed-off-by: Nioclas Pitre Signed-off-by: Thomas Gleixner commit 0ea4a7558f3c5b894e46da4b2be120edf002a86d tree 494c30b92e8170437e50cb26bba28da2d9add209 parent 88ec7c50bfeb5447d96fba55021bec2a274ea021 author Kyungmin Park Wed, 16 Feb 2005 09:39:39 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:36:30 +0200 [MTD] NAND: Early Manufacturer ID lookup Move manufacturer ID search to display correct ID in case of buswidth mismatch. Signed-off-by: Kyungmin Park Signed-off-by: Thomas Gleixner commit 88ec7c50bfeb5447d96fba55021bec2a274ea021 tree 7358c03a033f36fc0909e3e2c1663fa1e3e7fbde parent 011b2a36278cca110c70506ad85b042c2faabac2 author Ben Dooks Mon, 14 Feb 2005 16:30:35 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:34:00 +0200 [MTD] Add SST 39VF1601 (MPF+) ID Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 011b2a36278cca110c70506ad85b042c2faabac2 tree fb24caf90e98001e71b210a83f4fe464a8d4eabb parent eeada24da8bd23fcf6acd2729be054ea99b301bb author Ben Dooks Mon, 14 Feb 2005 16:27:38 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:33:26 +0200 [MTD] Fixup probing logic for single 16bit devices The change to the generic probe to look for the smallest width of chip first is causing some problems on boards with a single 16bit device. The problem seems to be the jedec_match() is truncating the device-id read from the table to match against the one read from the hardware, causing a match against the partial id of some chips with 16bit IDs (such as the SST39LF160) This fixes things for my own board, but something may need to be done if the same problem is exhibited for chips with an 8bit ID Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit eeada24da8bd23fcf6acd2729be054ea99b301bb tree c5d3cdffbfc11ec2ee82d64aef4177e92dfdffc7 parent 41ce921440bd14d9b69b19fbf47d9278582739fe author Artem B. Bityuckiy Fri, 11 Feb 2005 10:14:15 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:32:18 +0200 [MTD] NAND: Read only OOB bytes during bad block scan When scanning NAND for bad blocks, don't read the whole page, read only needed OOB bytes instead. Also check the return code of the nand_read_raw() function. Correctly free the this->bbt array in case of failure. Tested with Large page NAND. Fix debugging message. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 41ce921440bd14d9b69b19fbf47d9278582739fe tree e1d2c0364c87295018a8c732cb294bb67d8210bf parent 0040bf382c77414739c933e4d2ee35ff817d0b99 author Artem B. Bityuckiy Wed, 09 Feb 2005 14:50:00 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:31:01 +0200 [MTD] NAND: Allow operation without bad block table Small bugfix. Sometimes it may be handy not to have bbt. So, this->bbt might be NULL. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 0040bf382c77414739c933e4d2ee35ff817d0b99 tree d6f41550decccc536dfbbd46dc7ecccbf6105669 parent 2f82ce1eb637c06dfc60f095cd1891ae0ba4894c author Thomas Gleixner Wed, 09 Feb 2005 12:20:00 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:30:07 +0200 [MTD] NAND: Skip bad block table scan on request Signed-off-by: Thomas Gleixner commit 2f82ce1eb637c06dfc60f095cd1891ae0ba4894c tree 425727d05f70fdd55d5cf715c7acbeca6aeeeb18 parent 8f15fd55f9bf266139b10850947e19c4e3f4e9b7 author Andrew Victor Wed, 09 Feb 2005 09:24:26 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:29:43 +0200 [JFFS2] Use a single config option for write buffer support This patch replaces the current CONFIG_JFFS2_FS_NAND, CONFIG_JFFS2_FS_NOR_ECC and CONFIG_JFFS2_FS_DATAFLASH with a single configuration option - CONFIG_JFFS2_FS_WRITEBUFFER. The only functional change of this patch is that the slower div/mod calculations for SECTOR_ADDR(), PAGE_DIV() and PAGE_MOD() are now always used when CONFIG_JFFS2_FS_WRITEBUFFER is enabled. Signed-off-by: Andrew Victor Signed-off-by: Thomas Gleixner commit 8f15fd55f9bf266139b10850947e19c4e3f4e9b7 tree 3df936efbffbbd6c20dd75f51780ac37458285ff parent 3be36675d41a30ed3b192f92684f1417aa0f8bfe author Andrew Victor Wed, 09 Feb 2005 09:17:45 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:28:03 +0200 [JFFS2] Add support for JFFS2-on-Dataflash devices. For Dataflash, can_mark_obsolete = false and the NAND write buffering code (wbuf.c) is used. Since the DataFlash chip will automatically erase pages when writing, the cleanmarkers are not needed - so cleanmarker_oob = false and cleanmarker_size = 0 DataFlash page-sizes are not a power of two (they're multiples of 528 bytes). The SECTOR_ADDR macro (added in the previous core patch) is replaced with a (slower) div/mod version if CONFIG_JFFS2_FS_DATAFLASH is selected. Signed-off-by: Andrew Victor Signed-off-by: Thomas Gleixner commit 3be36675d41a30ed3b192f92684f1417aa0f8bfe tree da8395bb14ffef19e551c509c47d16b52fb536d9 parent 045e9a5d51ced27bfcbdb78071534ce6fd36b33d author Andrew Victor Wed, 09 Feb 2005 09:09:05 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:27:09 +0200 [JFFS2] Core changes required to support JFFS2-on-Dataflash devices. DataFlash page-sizes are not a power of two (they're multiples of 528 bytes). There are a few places in JFFS2 code where sector_size is used as a bitmask. A new macro (SECTOR_ADDR) was defined to calculate these sector addresses. For non-DataFlash devices, the original (faster) bitmask operation is still used. In scan.c, the EMPTY_SCAN_SIZE was a constant of 1024. Since this could be larger than the sector size of the DataFlash, this is now basically set to MIN(sector_size, 1024). Addition of a jffs2_is_writebuffered() macro. Signed-off-by: Andrew Victor Signed-off-by: Thomas Gleixner commit 045e9a5d51ced27bfcbdb78071534ce6fd36b33d tree d680484aae4d7ac238ab4a8c1c5cc5cd88e512df parent 31f4233baeaaeb7c563d2766781c6592ad259b6a author Nicolas Pitre Tue, 08 Feb 2005 19:12:53 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:26:40 +0200 [MTD] Unabuse file-f_mode for OTP purpose Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 31f4233baeaaeb7c563d2766781c6592ad259b6a tree 475ffcfcc1fe91a47d6b8c413d8f25b3fdfcc1c0 parent f77814dd5728edaf1239d19755d2aa0d8c33d861 author Nicolas Pitre Tue, 08 Feb 2005 17:45:55 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:26:04 +0200 [MTD] User interface to Protection Registers This is implemented using a ioctl to switch the MTD char device into one of the different OTP "modes", at which point read/write/seek can operate on the selected OTP area. Also some extra ioctls to query for size and lock protection segments or groups. Some example user space utilities are provided. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit f77814dd5728edaf1239d19755d2aa0d8c33d861 tree 5cf7f73aa367bf152e5fbd16b5173e18bb787dd5 parent 67d9e95c393d23c229836e28b262dc73d71da784 author Nicolas Pitre Tue, 08 Feb 2005 17:11:19 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:25:23 +0200 [MTD] Support for protection register support on Intel FLASH chips This enables support for reading, writing and locking so called "Protection Registers" present on some flash chips. A subset of them are pre-programmed at the factory with a unique set of values. The rest is user-programmable. Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 67d9e95c393d23c229836e28b262dc73d71da784 tree 1c22b8ad2715d8155570aa082d6c20ed8c269e11 parent 72b56a2d7dccd9ea90f34f6ddb653086a3f3bd2e author Estelle Hammache Sat, 05 Feb 2005 18:23:40 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:23:54 +0200 [JFFS2] Prevent deadlock during write buffer recovery Prevent deadlock when checking erased block for space allocation during wbuf recovery. Signed-off-by: Estelle Hammache Signed-off-by: Thomas Gleixner commit 72b56a2d7dccd9ea90f34f6ddb653086a3f3bd2e tree 262d070609b8aa3cc7be5a3469b3ab54039b5788 parent 322b12eb57db8cc598ccedfb85fcf2faded08473 author Nicolas Pitre Sat, 05 Feb 2005 02:06:19 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:22:37 +0200 [MTD] Add OTP basisc add structure definition for OTP region info Signed-off-by: Nicolas Pitre Signed-off-by: Thomas Gleixner commit 322b12eb57db8cc598ccedfb85fcf2faded08473 tree 4345bcef9c1626a8e35c05f2ac4f4ba78b265527 parent 8aee6ac1446d6e2cb69908facbaccc0dfb4f1145 author Jonas Holmberg Fri, 04 Feb 2005 07:43:13 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:21:41 +0200 [MTD] amd_flash: Fix chip ID clash * Removed table entry for AM29BDS643D, since device ID clashes with AM29DL640G and both chips support CFI. Signed-off-by: Jonas Holmberg Signed-off-by: Thomas Gleixner commit 8aee6ac1446d6e2cb69908facbaccc0dfb4f1145 tree 8e1413d24eb930cb9173e690c8b04b4c370e9eb0 parent f29a4b86f554a496beba8d339917399b9c44fbc9 author David Woodhouse Wed, 02 Feb 2005 22:12:08 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:20:43 +0200 [JFFS2] Remove NAND dependencies for NOR FLASH make NAND code work on NOR flash again Signed-off-by: David Woodhouse Signed-off-by: Thomas Gleixner commit f29a4b86f554a496beba8d339917399b9c44fbc9 tree 3ee3ed311f5d01c460ffe7c9605afda922e331a4 parent 39605398cd45941b4ed2026c666a1a9f39c40490 author Thomas Gleixner Mon, 31 Jan 2005 22:22:24 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:18:59 +0200 [MTD] DiskOnChip: big endian fix for NFTL devices Make NFTL devices work on big endian machines. Signed-off-by: Thomas Gleixner commit 39605398cd45941b4ed2026c666a1a9f39c40490 tree cd261f8ce41cd5e0a5871f4bae2187577d60881b parent 651078ba3a9225ab3fbef146359390ac498ff9fe author Thomas Gleixner Mon, 31 Jan 2005 22:21:18 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:17:42 +0200 [MTD] DiskOnChip code cleanup Remove commented ugliness Signed-off-by: Thomas Gleixner commit 651078ba3a9225ab3fbef146359390ac498ff9fe tree 5155eafd2d2119506011d120859496356c6382e3 parent 9b88f47390efb72540b050628ebc04202d91c6ec author Thomas Gleixner Mon, 31 Jan 2005 20:36:46 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:17:03 +0200 [MTD] DiskOnChip use CONFIG_ options instead of random symbols Using the CONFIG_ options from KConfig seems to work better :8 Signed-off-by: Thomas Gleixner commit 9b88f47390efb72540b050628ebc04202d91c6ec tree 13d56b9a76a76b7dca5509cad63827570b3496b1 parent 6170b43401a3230756ff76287ee07db0d75eddde author Estelle Hammache Fri, 28 Jan 2005 18:53:05 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:16:06 +0200 [JFFS2] Code cleanup Code beautification and block filing correction for optimization. Signed-off-by: Estelle Hammache Signed-off-by: Thomas Gleixner commit 6170b43401a3230756ff76287ee07db0d75eddde tree 771cda30b12defc6417086de0a41d1f8e81b576a parent 3118db3dfe7c16284d1d578e628fd87639b00731 author Russell King Mon, 24 Jan 2005 23:49:54 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:15:15 +0200 [MTD] Fix MTD device probing Try larger numbers of chips before smaller numbers of chips across the bus width. This means we'll avoid misdetecting a 2 x16 array as 1 x32 if the high 16-bits happen to read as zeros in the QRY area. Signed-off-by: Russell King Signed-off-by: Thomas Gleixner commit 3118db3dfe7c16284d1d578e628fd87639b00731 tree a0bd21784ca0dfd95f4713c4d649a37b5f531371 parent 7f716cf3f9cc9dd420b9c75071559017812df6d2 author Estelle Hammache Mon, 24 Jan 2005 21:30:25 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:14:34 +0200 [JFFS2] Fix refile of blocks due to write failure. avoid segfault when nextblock was refiled because of a write failure - avoid filing blocks on the clean list when they have wasted space Signed-off-by: Estelle Hammache Signed-off-by: Thomas Gleixner commit 7f716cf3f9cc9dd420b9c75071559017812df6d2 tree 5f6492e6e83562d8b048dd14c3c9b844caa3845b parent e4803c30d64391d84635061eaebfc7d66de9d6ab author Estelle Hammache Mon, 24 Jan 2005 21:24:18 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:12:13 +0200 [JFFS2] Fix block refiling - block refiling when writing directly to flash a buffer which is bigger than wbuf - retry cases for flushing wbuf Signed-off-by: Estelle Hammache Signed-off-by: Thomas Gleixner commit e4803c30d64391d84635061eaebfc7d66de9d6ab tree b36dbc4306c6b8223f0fd9755ea0d8a04a15bcb6 parent ed3786a599f5639c99dfcceaef1b064ab5e2e9f9 author Estelle Hammache Mon, 24 Jan 2005 21:13:42 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:11:28 +0200 [JFFS2] Fix write buffer retry case Correction of retry case to avoid silent failure of rmdir when jffs2_wbuf_recover GCs the previous entry (+ corresponding dnode case). Signed-off-by: Estelle Hammache Signed-off-by: Thomas Gleixner commit ed3786a599f5639c99dfcceaef1b064ab5e2e9f9 tree 88330679a6fc7b84853e16e234f44c8d585a67b5 parent 068e3c0a002c79a5e3cc7c42cb749c4bb126288c author David A. Marlin Mon, 24 Jan 2005 20:40:15 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:10:36 +0200 [MTD] rtc_from4 error status check, disable virtual erase blocks Added routine to perform extra error status checks on erase and write failures to determine if errors are correctable. Added option to prevent JFFS2 from using virtual erase blocks. Performed minor cleanup on whitespace and comments. Signed-off-by: David A. Marlin Signed-off-by: Thomas Gleixner commit 068e3c0a002c79a5e3cc7c42cb749c4bb126288c tree fdf2db2edf03c4520a204476b0edc652ae2c9c47 parent 99f2a8aea18c9779c141050c6f95a8f1da63bbe4 author David A. Marlin Mon, 24 Jan 2005 03:07:46 +0000 committer Thomas Gleixner Mon, 23 May 2005 12:08:59 +0200 [MTD] NAND Add optional ECC status check callback Add optional hardware specific callback routine to perform extra error status checks on erase and write failures for devices with hardware ECC. Signed-off-by: David A. Marlin Signed-off-by: Thomas Gleixner commit 99f2a8aea18c9779c141050c6f95a8f1da63bbe4 tree 5afcd7442131196b69cb6ed406729fa96bb7e0ab parent a4ab4c5d32b66a440fb2e00f975f919f559f001d author Ben Dooks Mon, 24 Jan 2005 00:37:04 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:33:47 +0200 [MTD] Platform RAM Driver Driver for generic RAM blocks which are exported by an platform_device from the device driver system. Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit a4ab4c5d32b66a440fb2e00f975f919f559f001d tree 15687db56486438db6cd3c6f25a9434bc11d1549 parent 7ba48c4583f7da5b05cf9859337195323df67b6d author David A. Marlin Sun, 23 Jan 2005 18:30:53 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:32:36 +0200 [MTD] NAND use symbols instead of literals Replace some literals with defined symbols. Signed-off-by: David A. Marlin Signed-off-by: Thomas Gleixner commit 7ba48c4583f7da5b05cf9859337195323df67b6d tree d46180d25bfc8962f4f28a16b6094dd346589b28 parent 8fabed4a0f78623236c035de0984beeacb8096d8 author Richard Purdie Sun, 23 Jan 2005 11:09:22 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:31:47 +0200 [MTD] NAND SharpSL fix default partition size Correct Poodle default partition size Signed-off-by: Richard Purdie Signed-off-by: Thomas Gleixner commit 8fabed4a0f78623236c035de0984beeacb8096d8 tree a38636004739a5cedece1cd95710ef38aabe06d4 parent 15266bb74d0156556f9541c9817b778286ffe5d6 author Todd Poynor Wed, 19 Jan 2005 19:22:04 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:30:31 +0200 [JFFS2] Avoid warning for empty filesystems Avoid "Eep. No valid nodes for ino #1" message for just-created filesystem. Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit 15266bb74d0156556f9541c9817b778286ffe5d6 tree e1f1d40493a3f677cef6792c39e8a4cce0f49388 parent 6fc93d8ca7a093feb403aca4ee3cb5bda338392c author Thomas Gleixner Tue, 18 Jan 2005 16:15:00 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:29:39 +0200 [MTD] NAND replace yield Replace yield by msleep. M.Wilcox stared at it and frowned Signed-off-by: Thomas Gleixner commit 6fc93d8ca7a093feb403aca4ee3cb5bda338392c tree 9da44daa876860644e06cbf0f3563eba63030f75 parent 97f1a087dc83cac54d740bf24888e565962b8f4d author Ben Dooks Tue, 18 Jan 2005 11:13:50 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:28:55 +0200 [MTD] bast-flash partitions fixup Ensure the whole device is added if there are no partitions found on the device, so that at least the flash can be read/written. Replace some of the constants with their SZ_xxx counterparts Signed-off-by: Ben Dooks Signed-off-by: Thomas Gleixner commit 97f1a087dc83cac54d740bf24888e565962b8f4d tree b46c9f4a9ac1d70316b99ba313fe3051195914e3 parent 30f464b74b51127b9b9a170157b75c7e8e80d2c4 author David A. Marlin Mon, 17 Jan 2005 19:44:39 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:27:56 +0200 [MTD] Renesas AG-AND device recovery Add routine to perform device recovery (deplete) procedure. Clean up some compiler warnings. Signed-off-by: David A. Marlin Signed-off-by: Thomas Gleixner commit 30f464b74b51127b9b9a170157b75c7e8e80d2c4 tree 95a9e2f352612a4bfb94a276c1eaf21b0aec8f25 parent 28a48de72b876af794853593cc1412119ada9efc author David A. Marlin Mon, 17 Jan 2005 18:35:25 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:26:45 +0200 [MTD] NAND workaround for AG-AND disturb issue. AG-AND recovery Added workaround for Renesas AG-AND chips "disturb" issue for Bad Block Table. Added support for the device recovery command sequence for Renesas AG-AND chips. Signed-off-by: David A. Marlin Signed-off-by: Thomas Gleixner commit 28a48de72b876af794853593cc1412119ada9efc tree fb1e6e5f98bf348d019d586d47be0e89466c98cf parent 8ea2e06fc8d2f03b49cef7732ae8e290e2f0b183 author David A. Marlin Mon, 17 Jan 2005 18:29:21 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:22:05 +0200 [MTD] NAND extended commands, badb block table autorefresh Added extended commands for AG-AND device and added option for BBT_AUTO_REFRESH. Signed-off-by: David A. Marlin Signed-off-by: Thomas Gleixner commit 8ea2e06fc8d2f03b49cef7732ae8e290e2f0b183 tree 455074eed205d8791f685795ec0b3833f54448e1 parent 14f8351a313f364afbc565f1ddcd43f8cfdccf52 author Herbert Valerio Riedel Mon, 17 Jan 2005 13:47:24 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:19:46 +0200 [MTD] FTL Fix missing pointer assignment For the case that mtd partitions are enabled it would cause a 0-pointer dereferencing in mtdpart.c:mtd_erase_callback() Signed-off-by: Herbert Valerio Riedel Signed-off-by: Thomas Gleixner commit 14f8351a313f364afbc565f1ddcd43f8cfdccf52 tree d7c9833120901274c32a85d58b32d0f4f11aa5d2 parent 49a43876b935c811cfd29d8fe998a6912a1cc5c4 author Josh Boyer Thu, 06 Jan 2005 21:16:45 +0000 committer Thomas Gleixner Mon, 23 May 2005 11:16:56 +0200 [MTD] slram driver cleanup Add error checks to read/write functions and add an eraseblock size. Makes slram a suitable device for JFFS2. Signed-off-by: Josh Boyer Signed-off-by: Thomas Gleixner