commit 9e566d8bd61f939b7f5d7d969f5b178571471cf9 tree 13614c2ed7ec156d8518fd5bff4e1c252fb05792 parent 479d0f41e50646a618c43f69af7af31a8f748433 author Andrew Morton Tue, 26 Jul 2005 21:41:38 -0700 committer Linus Torvalds Tue, 26 Jul 2005 21:48:54 -0700 [PATCH] x86_64 fsnotify build fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 479d0f41e50646a618c43f69af7af31a8f748433 tree 37ffd2f69eb51d25916bebeb07e56b7c8b4b2d33 parent cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1 author Andrew Morton Tue, 26 Jul 2005 21:41:38 -0700 committer Linus Torvalds Tue, 26 Jul 2005 21:48:54 -0700 [PATCH] softdog build fix drivers/char/watchdog/softdog.c:94: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc1d3a9a78f0f602fa1e7993dba4d16ad9781bc1 tree 48dee72ac24026d83f5eddf77a96962b5e6aaac1 parent ae6578fe9b65208dee8eda40629984efd23740c4 author Andrew Morton Tue, 26 Jul 2005 21:41:37 -0700 committer Linus Torvalds Tue, 26 Jul 2005 21:48:54 -0700 [PATCH] eurotechwdt build fix drivers/char/watchdog/eurotechwdt.c:165: too many arguments to function `emergency_restart' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae6578fe9b65208dee8eda40629984efd23740c4 tree 6b3c5fdb78864ef276e0d6bb4bb1eeecfe17587d parent 4d7de66e2cc508761f050d1d4eaca88a6e6f711e author Chuck Ebbert <76306.1226@compuserve.com> Tue, 26 Jul 2005 21:57:24 -0400 committer Linus Torvalds Tue, 26 Jul 2005 19:25:01 -0700 [PATCH] i386: clean up user_mode macros - make the new user_mode() return 0 or 1 (same as x86_64) - remove conditional jump from user_mode_vm() it's called every timer tick on each CPU on SMP) Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 4d7de66e2cc508761f050d1d4eaca88a6e6f711e tree 6b9943c1fc07de4420f95fa935e470760545780c parent e93adf1e6554511a6194f4785fd29af8e41104db parent a4f1bac62564049ea4718c4624b0fadc9f597c84 author Linus Torvalds Tue, 26 Jul 2005 16:43:39 -0700 committer Linus Torvalds Tue, 26 Jul 2005 16:43:39 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit e93adf1e6554511a6194f4785fd29af8e41104db tree be719d21f02424e33d550c781de84209c945df67 parent d46523ea32a79fbc8cd1237f9441f45cc3f02456 author Tom Rini Tue, 26 Jul 2005 12:49:53 -0700 committer Linus Torvalds Tue, 26 Jul 2005 16:21:24 -0700 [PATCH] Change PowerPC MPC8xx maintainer As Marcelo has been spending a great deal of time working on MPC8xx systems of late (thanks!) and has more time than I do now for it, I'm handing this over to him. Signed-off-by: Tom Rini Signed-off-by: Linus Torvalds commit a4f1bac62564049ea4718c4624b0fadc9f597c84 tree 294ef690f2b8978ee83b9e4e7dadbfb391ea1f94 parent cadf01c2fc0cd66dfef4956ef1a6482ed01c3150 author Herbert Xu Tue, 26 Jul 2005 15:43:17 -0700 committer David S. Miller Tue, 26 Jul 2005 15:43:17 -0700 [XFRM]: Fix possible overflow of sock->sk_policy Spotted by, and original patch by, Balazs Scheidler. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit d46523ea32a79fbc8cd1237f9441f45cc3f02456 tree 0afe4590170ad25e38005f72431680ba47ba6860 parent 18586e721636527cb5177467fb17e2350615978a author Steven Rostedt Mon, 25 Jul 2005 16:28:39 -0400 committer Linus Torvalds Tue, 26 Jul 2005 15:40:00 -0700 [PATCH] fix MAX_USER_RT_PRIO and MAX_RT_PRIO Here's the patch again to fix the code to handle if the values between MAX_USER_RT_PRIO and MAX_RT_PRIO are different. Without this patch, an SMP system will crash if the values are different. Signed-off-by: Steven Rostedt Cc: Ingo Molnar Signed-off-by: Dean Nelson Signed-off-by: Linus Torvalds commit cadf01c2fc0cd66dfef4956ef1a6482ed01c3150 tree 578dcea3e2c450d8ddc75378161bcdb50be002bf parent 52fbae2a392b6e084195bedc7a280991a94c14d0 author Adrian Bunk Tue, 26 Jul 2005 15:39:28 -0700 committer David S. Miller Tue, 26 Jul 2005 15:39:28 -0700 [NETFILTER]: Fix ip_conntrack_put() prototype. The function is not inline. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 18586e721636527cb5177467fb17e2350615978a tree 96d34b10d000fa8b1df16ae8f4c73761013371b5 parent fc00a6274b786f6863b32c79ff6f92aa0960b789 author Andreas Steinmetz Sat, 23 Jul 2005 13:42:04 +0200 committer Linus Torvalds Tue, 26 Jul 2005 15:30:51 -0700 [PATCH] Fix RLIMIT_RTPRIO breakage RLIMIT_RTPRIO is supposed to grant non privileged users the right to use SCHED_FIFO/SCHED_RR scheduling policies with priorites bounded by the RLIMIT_RTPRIO value via sched_setscheduler(). This is usually used by audio users. Unfortunately this is broken in 2.6.13rc3 as you can see in the excerpt from sched_setscheduler below: /* * Allow unprivileged RT tasks to decrease priority: */ if (!capable(CAP_SYS_NICE)) { /* can't change policy */ if (policy != p->policy) return -EPERM; After the above unconditional test which causes sched_setscheduler to fail with no regard to the RLIMIT_RTPRIO value the following check is made: /* can't increase priority */ if (policy != SCHED_NORMAL && param->sched_priority > p->rt_priority && param->sched_priority > p->signal->rlim[RLIMIT_RTPRIO].rlim_cur) return -EPERM; Thus I do believe that the RLIMIT_RTPRIO value must be taken into account for the policy check, especially as the RLIMIT_RTPRIO limit is of no use without this change. The attached patch fixes this problem. Signed-off-by: Andreas Steinmetz Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit fc00a6274b786f6863b32c79ff6f92aa0960b789 tree 7078e320ac34aa104f9adefaedf7add3173fe160 parent 0983f0509480f95584f8e945e5b9c5310e9038f3 parent a8d11e3d0282e9607f65c73383c4030fd8f0e972 author Linus Torvalds Tue, 26 Jul 2005 15:13:26 -0700 committer Linus Torvalds Tue, 26 Jul 2005 15:13:26 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 0983f0509480f95584f8e945e5b9c5310e9038f3 tree 099892d76ebaa20e7b59606196dcdb67155a3b03 parent db776a14f327c20d4984ac4b724a934df34bfe31 parent 186efd5275bbe7ffb73d939c1ce5690682668200 author Linus Torvalds Tue, 26 Jul 2005 15:12:54 -0700 committer Linus Torvalds Tue, 26 Jul 2005 15:12:54 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp commit db776a14f327c20d4984ac4b724a934df34bfe31 tree d791f0602130c377f47792c3f51bf782834f1366 parent b35c67a46b025e8dc320b59fbe5c283094e1d7f5 author Linus Torvalds Tue, 26 Jul 2005 14:50:02 -0700 committer Linus Torvalds Tue, 26 Jul 2005 14:50:02 -0700 Fix compiler warning in qla_iocb.c Remove bogus initialization that was re-done (correctly) later. commit a8d11e3d0282e9607f65c73383c4030fd8f0e972 tree bf232c16e9a13835cd45357caa0b625ed19ef2a7 parent 821ca478867433502fc614b4be83e0362cd7e67e author Ben Dooks Tue, 26 Jul 2005 22:39:14 +0100 committer Russell King Tue, 26 Jul 2005 22:39:14 +0100 [PATCH] ARM: 2831/1: S3C2440 - split s3c2440 clocks from central clock code Patch from Ben Dooks Split the s3c2440 specific clocks from the arch clock support, to make the code clearer. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit b35c67a46b025e8dc320b59fbe5c283094e1d7f5 tree dd22c5d664496ce9caab45825bb7f7ab1fe60545 parent 6660316cb7a1a2c59a73a52870490c0f782f45c1 author Eric W. Biederman Tue, 26 Jul 2005 12:17:52 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:45 -0700 [PATCH] acpi: Don't call acpi_sleep_prepare from acpi_power_off Now that all of the code paths that call acpi_power_off have been modified to call either call kernel_power_off (which calls apci_sleep_prepare by way of acpi_shutdown) or to call acpi_sleep_prepare directly it is redundant to call acpi_sleep_prepare from acpi_power_off. So simplify the code and simply don't call acpi_sleep_prepare. In addition there is a little error handling done so if we can't register the acpi class we don't hook pm_power_off. I think I have done the right thing with the CONFIG_PM define but I'm not certain. Can this code even be compiled if CONFIG_PM is false? Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 6660316cb7a1a2c59a73a52870490c0f782f45c1 tree 2483c25cef08d7653e38cec40b994f3cf16316f0 parent 0963aba54aa26c89114dca7257acf8c938bfec8a author Eric W. Biederman Tue, 26 Jul 2005 12:16:00 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:45 -0700 [PATCH] acpi_power_off: Don't switch to the boot cpu machine_power_off on i386 and x86_64 now switch to the boot cpu out of paranoia and because the MP Specification indicates it is a good idea on reboot, so for those architectures it is a noop. I can't see anything in the acpi spec that requires you to be on the boot cpu to power off the system, so this should not be an issue for ia64. In addition ia64 has the altix a massive multi-node system where switching to the boot cpu sounds insane as we may hot removed the boot cpu. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 0963aba54aa26c89114dca7257acf8c938bfec8a tree b56e11022f963134c24f906ba20c8ac4f4f9d185 parent 910de55c6653d76f90380c80f0b7a395f12019e3 author Eric W. Biederman Tue, 26 Jul 2005 12:14:16 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:45 -0700 [PATCH] x86_64 sync machine_power_off with i386 i386 machine_power_off was disabling the local apic and all of it's users wanted to be on the boot cpu. So call machine_shutdown which places us on the boot cpu and disables the apics. This keeps us in sync and reduces the number of cases we need to worry about in the power management code. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 910de55c6653d76f90380c80f0b7a395f12019e3 tree 35eaa391f74232ecbb8be03a56c33a5d0aeb4cfd parent 4fa2564a6fde9815df969ef3547744a22f66ba9d author Eric W. Biederman Tue, 26 Jul 2005 12:10:02 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:45 -0700 [PATCH] APM: Remove redundant call to set_cpus_allowed machine_power_off now always switches to the boot cpu so there is no reason for APM to also do that. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4fa2564a6fde9815df969ef3547744a22f66ba9d tree 46b300dadf7749e41158a909631c4715ef4f0111 parent d8e392e7c8f019657ff3ebe70a45d234990831db author Eric W. Biederman Tue, 26 Jul 2005 12:08:53 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] i386 machine_power_off cleanup Call machine_shutdown() to move to the boot cpu and disable apics. Both acpi_power_off and apm_power_off want to move to the boot cpu. and we are already disabling the local apics so calling machine_shutdown simply reuses code. ia64 doesn't have a special path in power_off for efi so there is no reason i386 should. If we really need to call the efi power off path the efi driver can set pm_power_off like everyone else. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit d8e392e7c8f019657ff3ebe70a45d234990831db tree 198e35aafaf37e9ae2ac7ecf7996c98b4eed26d7 parent 68acc05d0120e19c850e1f347ee96055f5aa032f author Eric W. Biederman Tue, 26 Jul 2005 12:07:01 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on This appears to be a typo I introduced when cleaning this code up earlier. Ooops. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 68acc05d0120e19c850e1f347ee96055f5aa032f tree 2eca1b36a99212037d1aa6b33c4893a12a43cb28 parent fdde86ac50357b6a811e3574e47d189e81a21444 author Eric W. Biederman Tue, 26 Jul 2005 12:03:08 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] pcwd.c: Call kernel_power_off not machine_power_off The call appears to come from process context so kernel_power_off should be safe. And acpi_power_off won't necessarily work if you just call machine_power_off. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit fdde86ac50357b6a811e3574e47d189e81a21444 tree b5e8d3d295da10b84ba6538359e20c5435b3085a parent 804ebf46d51653e736108074473d9493398f2df9 author Eric W. Biederman Tue, 26 Jul 2005 12:01:17 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] swpsuspend: Have suspend to disk use factors of sys_reboot The suspend to disk code was a poor copy of the code in sys_reboot now that we have kernel_power_off, kernel_restart and kernel_halt use them instead of poorly duplicating them inline. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 804ebf46d51653e736108074473d9493398f2df9 tree ffd9b45b9b60df92d6794885b1b786aca6592006 parent 970d32443e3d0be57a5cdc3de3752f528424b73d author Eric W. Biederman Tue, 26 Jul 2005 11:59:54 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] 68328serial: sysrq should use emergency_reboot The 68328serial.c driver has a weird local reimplementation of magic sysrq. The code is architecture specific enough that calling machine_restart() is probably ok. But there is no reason not to call emergency_restart() so do so. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 970d32443e3d0be57a5cdc3de3752f528424b73d tree cf39589a581d461d5ed4a9311cb236dbe8544453 parent f82567e55fcd25bb7addf2cfd8b79f36f409dc2e author Eric W. Biederman Tue, 26 Jul 2005 11:55:59 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:44 -0700 [PATCH] In hangcheck-timer.c call emergency_restart() If we've hung a clean reboot does not sound like a real option. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit f82567e55fcd25bb7addf2cfd8b79f36f409dc2e tree c579e6c540b10bfd69abc086f985fc066d2708fc parent 4de8b9b76017365572f778332d74fe050d9c8c2a author Eric W. Biederman Tue, 26 Jul 2005 11:53:19 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:43 -0700 [PATCH] Fix watchdog drivers to call emergency_reboot() If a watchdog driver has decided it is time to reboot the system we know something is wrong and we are in interrupt context so emergency_reboot() is what we want. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4de8b9b76017365572f778332d74fe050d9c8c2a tree 17d22eacd721d3ff966f643b92e0243891fcb1a2 parent 2f048ea81df94f72dee0d42b3d9b941c03b8c9c5 author Eric W. Biederman Tue, 26 Jul 2005 11:51:06 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:43 -0700 [PATCH] Update sysrq-B to use emergency_restart() sysrq calls into the reboot path from an interrupt handler we can either push the code do into process context and call kernel_restart and get a clean reboot or we can simply reboot the machine, and increase our chances of actually rebooting. emergency_reboot() seems like the closest match to what we have previously done, and what we want. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 2f048ea81df94f72dee0d42b3d9b941c03b8c9c5 tree 1a60d6cc74585629750030c26c05ca471ca39546 parent ff31977782a05504f2586ec9e3e5ab4b09a4c893 author Eric W. Biederman Tue, 26 Jul 2005 11:49:23 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:43 -0700 [PATCH] Call emergency_reboot from panic We know the system is in trouble so there is no question if this is an emergecy :) Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit ff31977782a05504f2586ec9e3e5ab4b09a4c893 tree 3cf1d3ab1be8688a4de9bca44d8dac276f6038e2 parent 62b3a04d75d2dc9480d5ad3b60f4258e548a6a83 author Eric W. Biederman Tue, 26 Jul 2005 11:47:32 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:43 -0700 [PATCH] Use kernel_power_off in sysrq-o We already do all of the gymnastics to run from process context to call the power off code so call into the power off code cleanly. This especially helps acpi as part of it's shutdown logic should run acpi_shutdown called from device_shutdown which was not being called from here. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 62b3a04d75d2dc9480d5ad3b60f4258e548a6a83 tree 61c91a3fc9785346dd966249fb4acbe1feae1909 parent 7c9a90073c75bffbb89763a0c7d44a2e44e9e628 author Eric W. Biederman Tue, 26 Jul 2005 11:45:31 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] x86_64: Implemenent machine_emergency_restart It is not safe to call set_cpus_allowed() in interrupt context and disabling the apics is complicated code. So unconditionally skip machine_shutdown in machine_emergency_reboot on x86_64. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 7c9a90073c75bffbb89763a0c7d44a2e44e9e628 tree e871063796c481475926d63a4087f099a1a605db parent 4a1421f81b64e49ce932125e7222a2d7b7f87f13 author Eric W. Biederman Tue, 26 Jul 2005 11:44:21 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] x86_64: Fix reboot_force We only want to shutdown the apics if reboot_force is not specified. Be we are doing this both in machine_shutdown which is called unconditionally and if (!reboot_force). So simply call machine_shutdown if (!reboot_force). It looks like something went weird with merging some of the kexec patches for x86_64, and caused this. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4a1421f81b64e49ce932125e7222a2d7b7f87f13 tree 8f960fc27c718039bb9b93b237233d304eec8be7 parent 59586e5a262a29361c45c929ea3253d4aec830b0 author Eric W. Biederman Tue, 26 Jul 2005 11:41:26 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] i386: Implement machine_emergency_reboot set_cpus_allowed is not safe in interrupt context and disabling apics is complicated code so don't call machine_shutdown on i386 from emergency_restart(). Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 59586e5a262a29361c45c929ea3253d4aec830b0 tree 1219b4943bc04515973a44c6e3a184e4f6f026f0 parent 16dcb4bbda579c4e3d80048b755ac124d8fab21a author Eric W. Biederman Tue, 26 Jul 2005 11:36:01 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. machine_restart, machine_halt and machine_power_off are machine specific hooks deep into the reboot logic, that modules have no business messing with. Usually code should be calling kernel_restart, kernel_halt, kernel_power_off, or emergency_restart. So don't export machine_restart, machine_halt, and machine_power_off so we can catch buggy users. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 16dcb4bbda579c4e3d80048b755ac124d8fab21a tree c0195fc6f371190fe15a28d752caaf2b02de9468 parent 7c9034735eccbf82608a4602c59aaf6053ea9416 author Eric W. Biederman Tue, 26 Jul 2005 11:32:34 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:42 -0700 [PATCH] Fix the arguments to machine_restart on cris It appears machine_restart has been working cris just by luck. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 7c9034735eccbf82608a4602c59aaf6053ea9416 tree 219e8cd4b5cfffeb261f42a2bd8e512be19cba40 parent abcd9e51f5b832439b119d530db1353c12fd4073 author Eric W. Biederman Tue, 26 Jul 2005 11:29:55 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:41 -0700 [PATCH] Add emergency_restart() When the kernel is working well and we want to restart cleanly kernel_restart is the function to use. But in many instances the kernel wants to reboot when thing are expected to be working very badly such as from panic or a software watchdog handler. This patch adds the function emergency_restart() so that callers can be clear what semantics they expect when calling restart. emergency_restart() is expected to be callable from interrupt context and possibly reliable in even more trying circumstances. This is an initial generic implementation for all architectures. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit abcd9e51f5b832439b119d530db1353c12fd4073 tree 27ea8acee7a35021e399cafb80f4a4a57a1688e4 parent 4a00ea1e18228e5ef99d4780671fda97226bda30 author Eric W. Biederman Tue, 26 Jul 2005 11:27:34 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:41 -0700 [PATCH] Make ctrl_alt_del call kernel_restart to get a proper reboot. It is obvious we wanted to call kernel_restart here but since we don't have it the code was expanded inline and hasn't been correct since sometime in 2.4. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 4a00ea1e18228e5ef99d4780671fda97226bda30 tree d77c793ef68df78b3c9a73eab16438732f875c3c parent 47f61f397cc08b5a9a815bd03cb10c48dab66034 author Eric W. Biederman Tue, 26 Jul 2005 11:24:14 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:41 -0700 [PATCH] Refactor sys_reboot into reusable parts Because the factors of sys_reboot don't exist people calling into the reboot path duplicate the code badly, leading to inconsistent expectations of code in the reboot path. This patch should is just code motion. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 47f61f397cc08b5a9a815bd03cb10c48dab66034 tree 747b69851f018f80ae8f7dcf512cb8f6d43eae02 parent a6fa657b9d5c892c6a92912632c4b5715955b4f8 author Eric W. Biederman Tue, 26 Jul 2005 11:21:38 -0600 committer Linus Torvalds Tue, 26 Jul 2005 14:35:41 -0700 [PATCH] Add missing device_suspsend(PMSG_FREEZE) calls. In the recent addition of device_suspend calls into sys_reboot two code paths were missed. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit a6fa657b9d5c892c6a92912632c4b5715955b4f8 tree d06989f6c04fb0bd5209fc63330e4ec30373c64f parent 9a168bddc2f13686336a86f8235b84347edac13a author Andrew Morton Tue, 26 Jul 2005 14:11:30 -0700 committer Linus Torvalds Tue, 26 Jul 2005 14:34:18 -0700 [PATCH] qla2xxx: Kconfig dependency fix *** Warning: "fc_remote_port_block" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "scsi_is_fc_rport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_unblock" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_rolechg" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_release_transport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remove_host" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_remote_port_add" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! *** Warning: "fc_attach_transport" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a168bddc2f13686336a86f8235b84347edac13a tree 4197716545fb2756c0326157719f9d5c6317f15a parent 89373de7dd010832d8b68cb37dabb33ff5a688bb author Andrew Morton Tue, 26 Jul 2005 14:11:28 -0700 committer Linus Torvalds Tue, 26 Jul 2005 14:34:18 -0700 [PATCH] qla: remove anonymous union Older gcc's dont support anonymous unions, so this driver gets hundreds of error. Fortunately the fix is easy... Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89373de7dd010832d8b68cb37dabb33ff5a688bb tree a9585ae0ad7b1fd559fe41b977e03e5895c92060 parent 725b38ab5401c73cedc1b1d913782fadcd0f624a author Andrew Morton Tue, 26 Jul 2005 14:08:38 -0700 committer Linus Torvalds Tue, 26 Jul 2005 14:34:18 -0700 [PATCH] inotify: fix oops fix Cc: Robert Love Cc: John McCutchan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 725b38ab5401c73cedc1b1d913782fadcd0f624a tree 840ffe1bf560a391e88d93b2b6c49117e31aa185 parent d25cb934b00436e2243bf3970793b8e04ad9b873 author Robert Love Mon, 25 Jul 2005 15:19:29 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: add x86-64 syscall entries Add inotify syscall entries to x86-64. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit d25cb934b00436e2243bf3970793b8e04ad9b873 tree 435ed4150ffc5494d4e43bf4287d881982eaf743 parent e5ca844a9d795e97c08bc7901c62a48c28469eb0 author Robert Love Mon, 25 Jul 2005 15:19:20 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: add missing hook to sys32_open Add missing fsnotify_open() hook to sys32_open(). Add fsnotify_open() hook to sys32_open() on x86-64. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit e5ca844a9d795e97c08bc7901c62a48c28469eb0 tree bef45e498d4ec2cf3387fac7a465819475060549 parent 1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e author Robert Love Mon, 25 Jul 2005 15:17:34 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: check retval in init Check for (unlikely) errors in the filesystem initialization stuff in our module_init() function. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e tree aa920bd05c10ad6a0eabfefe06f58c3a472dcae3 parent 5eb22cbcdb849886c2584389faff5afb56c23876 author Robert Love Mon, 25 Jul 2005 15:13:43 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: change default limits Change default inotify limits: Maximum instances per user to 128 and maximum events per queue to 16k. The max instances used to be 128; the change to 8 was a mistake. Memory consumption is fine. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 5eb22cbcdb849886c2584389faff5afb56c23876 tree 4a0147ea3f2021091c0ce686dc10225ef0ac7d83 parent 783bc29bbc5d6625a4669d3eb1d989a8fb275d43 author Robert Love Mon, 25 Jul 2005 15:12:19 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:22 -0700 [PATCH] inotify: exit path cleanups Handle error out paths better. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 783bc29bbc5d6625a4669d3eb1d989a8fb275d43 tree 100222921c788e68009ba1b2dccbeaba06b81e89 parent 33ea2f52b8758ef62ae4a9d2f91821c47d999ee9 author Robert Love Mon, 25 Jul 2005 15:10:08 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:37:21 -0700 [PATCH] inotify: oops fix Bug fix: Ensure that the fd passed to inotify_add_watch() and inotify_rm_watch() belongs to inotify. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 33ea2f52b8758ef62ae4a9d2f91821c47d999ee9 tree becd1efe5e2c0951706333673808542804c508ed parent b680716ed28baf549f777fb125fc23ba975985c5 author Robert Love Mon, 25 Jul 2005 15:08:37 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:31:57 -0700 [PATCH] inotify: use fget_light As an optimization, use fget_light() and fput_light() where possible. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit b680716ed28baf549f777fb125fc23ba975985c5 tree f6a6a4a81bba0f66845577ffff517c2d31518007 parent 2d986010ad13a00b83851238d52601d6092df40e author Robert Love Mon, 25 Jul 2005 15:07:13 -0400 committer Linus Torvalds Tue, 26 Jul 2005 13:31:57 -0700 [PATCH] inotify: misc. cleanup Miscellaneous invariant clean up, comment fixes, and so on. Trivial stuff. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 2d986010ad13a00b83851238d52601d6092df40e tree 6a43ffd30290fc051435643d485ad12fb1448ed5 parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 parent e10fb91c4dc81a4ae47caf0828df152f600f2546 author Linus Torvalds Tue, 26 Jul 2005 13:28:47 -0700 committer Linus Torvalds Tue, 26 Jul 2005 13:28:47 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit 186efd5275bbe7ffb73d939c1ce5690682668200 tree 2d90ed4547cd15249570747d8790005ec7229c2f parent 6d9b37a3a80195d317887ff81aad6a58a66954b5 author Russell King Tue, 26 Jul 2005 19:51:26 +0100 committer Russell King Tue, 26 Jul 2005 19:51:26 +0100 [PATCH] ARM SMP: Mark device mappings as "device" in ARMv6 parlance ARMv6 introduces memory types into the page tables. Mark devices mappings with the "shared device" memory type. Signed-off-by: Russell King commit 6d9b37a3a80195d317887ff81aad6a58a66954b5 tree 98d1c96416b660070b1fd37dbbc0c80d39c55b98 parent 9560782f9a68a5de3e72bc3ba71317f373844549 author Russell King Tue, 26 Jul 2005 19:44:26 +0100 committer Russell King Tue, 26 Jul 2005 19:44:26 +0100 [PATCH] ARM SMP: Add ARMv6 memory barriers Convert explicit gcc asm-based memory barriers into smp_mb() calls. These change between barrier() and the ARMv6 data memory barrier instruction depending on whether ARMv6 SMP is enabled. Signed-off-by: Russell King commit 9560782f9a68a5de3e72bc3ba71317f373844549 tree fe0329a6ad4cf40247517b88176fea264e841d4e parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Russell King Tue, 26 Jul 2005 19:39:31 +0100 committer Russell King Tue, 26 Jul 2005 19:39:31 +0100 [PATCH] ARM SMP: Use exclusive load/store for __xchg Signed-off-by: Russell King commit 821ca478867433502fc614b4be83e0362cd7e67e tree 32253964ca72af1aa97a8df82c72d1a9be6d074e parent 7fcc113c3021a42db90e1ad27a7bec267b6e13e3 author Michael Gernoth Tue, 26 Jul 2005 19:21:47 +0100 committer Russell King Tue, 26 Jul 2005 19:21:47 +0100 [PATCH] ARM: 2830/1: Fix Jornada 720 PCMCIA-support Patch from Michael Gernoth This patch lets the Jornada 720 PCMCIA-driver compile again. The resulting driver has been tested on a Jornada with a CF-card, which was mounted and accessed successfully. Signed-off-by: Michael Gernoth Signed-off-by: Russell King commit 7fcc113c3021a42db90e1ad27a7bec267b6e13e3 tree 6d1f89bd63114d493d1546a503d4c60e947a8a1b parent 5730b7d6529e6e894ee3c2e1c68125c0532ad394 author Ben Dooks Tue, 26 Jul 2005 19:20:27 +0100 committer Russell King Tue, 26 Jul 2005 19:20:27 +0100 [PATCH] ARM: 2829/1: S3C2410 - split s3c2440 irq specifics from core irq.c Patch from Ben Dooks Remove the need for the #ifdefs and place the IRQ handling code for the s3c2440 into a new file, which is only compiled when the s3c2440 cpu support is enabled. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 5730b7d6529e6e894ee3c2e1c68125c0532ad394 tree 30cb7c6306b053b78d6a46cb9c8d18d824ba85b9 parent 02cdad3f932d533e5cbde1b15092418ce7af1a70 author Ben Dooks Tue, 26 Jul 2005 19:20:26 +0100 committer Russell King Tue, 26 Jul 2005 19:20:26 +0100 [PATCH] ARM: 2828/1: BAST - remove static map of ASIX area Patch from Ben Dooks There is no point in mapping this staticaly, the driver is going to ioremap() the area as it sees fit. Also correct the dates on the changelog comments Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 02cdad3f932d533e5cbde1b15092418ce7af1a70 tree b7bf8988093e11032c73a54e02f05f4e20f4288e parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Dimitry Andric Tue, 26 Jul 2005 19:20:25 +0100 committer Russell King Tue, 26 Jul 2005 19:20:25 +0100 [PATCH] ARM: 2819/1: Fix several S3C24x0 IIS defines Patch from Dimitry Andric - Change S3C2440_IISCON_MPLL to S3C2440_IISMOD_MPLL: The S3C2440 IISCON register doesn't control the master clock selection, this is done with the IISMOD register. - Correct S3C2410_IISMOD_256FS and S3C2410_IISMOD_384FS: This is set via bit 2 of IISMOD, not bit 1. - Add S3C2410_IISCON_PSCEN (prescaler enable), for completeness' sake. Signed-off-by: Dimitry Andric Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 52fbae2a392b6e084195bedc7a280991a94c14d0 tree 10778d2286e381980fd7d7898a654aea13b377c4 parent fc87670b6cd63abc6fc4e3a115741984750d1fbc author David S. Miller Mon, 25 Jul 2005 19:54:35 -0700 committer David S. Miller Mon, 25 Jul 2005 19:54:35 -0700 [ATM]: speedtch: Revert 86cf42e4e029b83110cf98692420239103363dbf It was already fixed more sufficiently by Andrew Morton's change 843c944fb86e5e31ee7b319172e657ea22301322. Noted by Duncan Sands. Signed-off-by: David S. Miller commit fc87670b6cd63abc6fc4e3a115741984750d1fbc tree dc8772eee51425ba80a99f14e262ce2633e5a043 parent 747e8f8bff56955374521fa4d488e702d4b0c04f author David S. Miller Mon, 25 Jul 2005 12:45:32 -0700 committer David S. Miller Mon, 25 Jul 2005 12:45:32 -0700 [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller commit 747e8f8bff56955374521fa4d488e702d4b0c04f tree 66ab6d67818338a0421ef1e374ff15666c85dfa6 parent ef7f5ec0deb2bcdc005f30f6f75f79c65c577cf5 author Michael Chan Mon, 25 Jul 2005 12:33:22 -0700 committer David S. Miller Mon, 25 Jul 2005 12:33:22 -0700 [TG3]: add 5780 fiber support Add 5780S support by adding a new tg3_setup_fiber_mii_phy() function and a timer function for parallel link detection. 5780S uses standard MII registers for 1000BaseX and runs in GMII mode as opposed to TBI mode on older serdes chips. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit ef7f5ec0deb2bcdc005f30f6f75f79c65c577cf5 tree 6a908c087b4ae41b593296136bc35b99fb2a9231 parent fdfec1726b14b4b2121adcfcbba98d4cc1a61751 author Michael Chan Mon, 25 Jul 2005 12:32:25 -0700 committer David S. Miller Mon, 25 Jul 2005 12:32:25 -0700 [TG3]: disallow jumbo TSO on 5780 Disallow jumbo TSO on 5780 due to hardware restrictions. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit fdfec1726b14b4b2121adcfcbba98d4cc1a61751 tree 7cb407d307526b41165f974ee318c36b92e04a9e parent 7e72aad48c3790636bfa006f3b0027852ccad47e author Michael Chan Mon, 25 Jul 2005 12:31:48 -0700 committer David S. Miller Mon, 25 Jul 2005 12:31:48 -0700 [TG3]: consolidate all DMA water mark settings Consolidate all DMA watermark settings for standard and jumbo frames on all chips in tg3_init_bufmgr_config() and add new settings for 5780. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 7e72aad48c3790636bfa006f3b0027852ccad47e tree ba2f201b4554f95b3e432f75f6cc7a2cbb296f70 parent 0f893dc6ec890058d926224c8aa254d8621e0ea3 author Michael Chan Mon, 25 Jul 2005 12:31:17 -0700 committer David S. Miller Mon, 25 Jul 2005 12:31:17 -0700 [TG3]: add variable buffer size for standard ring Add a new rx_pkt_buf_sz to the tg3 structure to support variable buffer sizes on the standard ring. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 0f893dc6ec890058d926224c8aa254d8621e0ea3 tree 9a9c42335bac0c05aed89ed7139a22d022f5d064 parent 4cf78e4fb678807e3f8265c9e9031a84f5c601f0 author Michael Chan Mon, 25 Jul 2005 12:30:38 -0700 committer David S. Miller Mon, 25 Jul 2005 12:30:38 -0700 [TG3]: add 5780 basic jumbo frame support Add basic jumbo frames support for 5780. This chip supports jumbo frames on the standard receive ring without the jumbo ring. The TG3_FLAG_JUMBO_ENABLE is changed to TG3_FLAG_JUMBO_RING_ENABLE to indicate using the jumbo ring on 5704 and older chips. A new TG3_FLG2_JUMBO_CAPABLE flag is added to indicate jumbo frames support with or without the jumbo ring. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 4cf78e4fb678807e3f8265c9e9031a84f5c601f0 tree e5acc4451c7e9f59125119174b05ca95c652c2df parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Michael Chan Mon, 25 Jul 2005 12:29:19 -0700 committer David S. Miller Mon, 25 Jul 2005 12:29:19 -0700 [TG3]: add 5780 basic support Add 5780 PCI IDs, chip IDs, and other basic support. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 tree 24122979b411dcec6ff390fc9ae84ad9413128e9 parent e89227889cec6b66758b44c83f78dba337e5d699 parent 7686ee1ad976efeddf10583f013462c66408ae51 author Linus Torvalds Sun, 24 Jul 2005 20:39:30 -0700 committer Linus Torvalds Sun, 24 Jul 2005 20:39:30 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit e89227889cec6b66758b44c83f78dba337e5d699 tree 44fbf495ca2d0827e44bcc449a0f5177228dbdd8 parent 4e8fd22bd421d7aa279bcb76189505a1f96bb7bf parent db7d9a4eb700be766cc9f29241483dbb1e748832 author Linus Torvalds Sun, 24 Jul 2005 20:38:44 -0700 committer Linus Torvalds Sun, 24 Jul 2005 20:38:44 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 7686ee1ad976efeddf10583f013462c66408ae51 tree 68e8cd513ab047d4e71fcd232fdca4e5b0a69366 parent 48647feed9f7a2d839c6ada12147b341833646e8 author Patrick McHardy Sun, 24 Jul 2005 19:44:23 -0700 committer David S. Miller Sun, 24 Jul 2005 19:44:23 -0700 [EMATCH]: Remove feature ifdefs in meta ematch. Signed-off-by: Patrick McHardy Acked-by: Thomas Graf Signed-off-by: David S. Miller commit db7d9a4eb700be766cc9f29241483dbb1e748832 tree 48848384df15d9404ceab05867d7f4ef6b1a4bbe parent cdd5186f753b23ab51f86679bdc4cc698ab0b893 author David S. Miller Sun, 24 Jul 2005 19:36:26 -0700 committer David S. Miller Sun, 24 Jul 2005 19:36:26 -0700 [SPARC64]: Move syscall success and newchild state out of thread flags. These two bits were accesses non-atomically from assembler code. So, in order to eliminate any potential races resulting from that, move these pieces of state into two bytes elsewhere in struct thread_info. Signed-off-by: David S. Miller commit cdd5186f753b23ab51f86679bdc4cc698ab0b893 tree 9de741421a4303d936687784d5a703641962c5d7 parent c5019a578f18cf3a76829626e91e5469dbd4a738 author David S. Miller Sun, 24 Jul 2005 19:36:13 -0700 committer David S. Miller Sun, 24 Jul 2005 19:36:13 -0700 [SPARC64]: Privatize sun5_timer. It is only used by some localized code in irq.c, and also delete enable_prom_timer() as that is totally unused. Signed-off-by: David S. Miller commit c5019a578f18cf3a76829626e91e5469dbd4a738 tree 64c8ad3526439ddda5de8262a56e8a52f58b0830 parent 620de54675e76f1369326bbe1fc75aff88917063 author David S. Miller Sun, 24 Jul 2005 19:35:56 -0700 committer David S. Miller Sun, 24 Jul 2005 19:35:56 -0700 [SPARC64]: Kill totally unused inline functions from asm/spitfire.h Signed-off-by: David S. Miller commit 620de54675e76f1369326bbe1fc75aff88917063 tree e50b449c94843e15c4dfa964ada5b50f1876e497 parent 6593eaed814d50214d6056c683d52ac63153730e author David S. Miller Sun, 24 Jul 2005 19:35:42 -0700 committer David S. Miller Sun, 24 Jul 2005 19:35:42 -0700 [SPARC64]: Simplify asm/rwsem.h slightly. rwsem_atomic_update and rwsem_atomic_add can be implemented straightly using atomic_*() routines. Also, rwsem_cmpxchgw() is totally unused, kill it. Signed-off-by: David S. Miller commit 6593eaed814d50214d6056c683d52ac63153730e tree b5e803f1217dd26484a15816e84402d8d3ce8a84 parent 4b502421aac89c8d4e61ecc89a70065a33305a0b author David S. Miller Sun, 24 Jul 2005 19:35:28 -0700 committer David S. Miller Sun, 24 Jul 2005 19:35:28 -0700 [SPARC64]: Non-atomic bitops do not need volatile operations Noticed this while comparing sparc64's bitops.h to ppc64's. We can cast the volatile memory argument to be non-volatile. While we're here, __inline__ --> inline. Signed-off-by: David S. Miller commit 4b502421aac89c8d4e61ecc89a70065a33305a0b tree 81f1a6f285623e2eb6393cd0dc7dce50bbf6448e parent 2d1aea8dd02ad35658864de52a3e0f9f033e63f4 author David S. Miller Sun, 24 Jul 2005 19:35:08 -0700 committer David S. Miller Sun, 24 Jul 2005 19:35:08 -0700 [SPARC]: Fix __KERNEL_SYSCALLS__ defining in envctrl.c and bbc_envctrl.c It needs to happen before any header includes because nowadays some things implicitly include asm/unistd.h which ends up being before the __KERNEL_SYSCALLS__ define gets done. Signed-off-by: David S. Miller commit 2d1aea8dd02ad35658864de52a3e0f9f033e63f4 tree 23c30e31146d67dd1f0bd2bf6747cf2f9abfeddb parent cb39d263e751f9cca8055bcacfe5ec863dfe2705 author Nishanth Aravamudan Sun, 24 Jul 2005 19:34:47 -0700 committer David S. Miller Sun, 24 Jul 2005 19:34:47 -0700 [SPARC]: sbus/vfc_i2c: remove sleep_on() usage Use wait-queue directly instead of the deprecated sleep_on() function. This required adding a local wait-queue. Also use new (added in separate patch to K-J) usecs to jiffies function to convert value. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit cb39d263e751f9cca8055bcacfe5ec863dfe2705 tree 6b2bead3545fced8f8b1e8de54d1b0b52e109d24 parent 70c83375bb47cadd60fdb923ad913d4f4be75aba author Nishanth Aravamudan Sun, 24 Jul 2005 19:34:33 -0700 committer David S. Miller Sun, 24 Jul 2005 19:34:33 -0700 [SPARC]: sbus/envctrl: replace schedule_timeout() with msleep_interruptible() Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Change the units of poll_interval to msecs as it is only used in this delay. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit 70c83375bb47cadd60fdb923ad913d4f4be75aba tree 3453e8fb3622dfd56f6d41ca1f405a037b3306de parent 4564203d76599973da9c5cbcd93057252414ac9e author Nishanth Aravamudan Sun, 24 Jul 2005 19:34:19 -0700 committer David S. Miller Sun, 24 Jul 2005 19:34:19 -0700 [SPARC]: sbus/aurora: replace schedule_timeout() with msleep_interruptible() Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer commit 4564203d76599973da9c5cbcd93057252414ac9e tree 57dd8422ea0ef4dffa3fe186ce904c0ef1ef86da parent 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 author Adrian Bunk Sun, 24 Jul 2005 19:33:55 -0700 committer David S. Miller Sun, 24 Jul 2005 19:33:55 -0700 [SPARC]: Remvoe APM_RTC_IS_GMT from config. I can't see any effect of this option outside the i386-specific APM code. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 48647feed9f7a2d839c6ada12147b341833646e8 tree a98aa36be19ce7706cef71418f143d30af28b899 parent 227510c7f175c44b12cdff6eab316e53dbf71f92 author David S. Miller Sun, 24 Jul 2005 19:30:28 -0700 committer David S. Miller Sun, 24 Jul 2005 19:30:28 -0700 [W1]: Do not use NFLOG netlink number. Use the reserved by never used NETLINK_SKIP value instead. Signed-off-by: David S. Miller commit 227510c7f175c44b12cdff6eab316e53dbf71f92 tree 157836fd8d477ad3287c29e8235a41f0ed5cad42 parent 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 author Cal Peake Sun, 24 Jul 2005 19:30:06 -0700 committer David S. Miller Sun, 24 Jul 2005 19:30:06 -0700 [IPV6]: fix implicit declaration of function `xfrm6_tunnel_unregister' Signed-off-by: Cal Peake Signed-off-by: David S. Miller commit 4e8fd22bd421d7aa279bcb76189505a1f96bb7bf tree f23106b362b242eec555b16b34f8ad22f035c65a parent 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 author Russell King Sun, 24 Jul 2005 12:13:40 +0100 committer Russell King Sun, 24 Jul 2005 12:13:40 +0100 [PATCH] ARM SMP: Fix ARMv6 spinlock and semaphore implementations Signed-off-by: Russell King commit 2c2a68b84752cb1090fd2456e8b83e5bcc0e73c4 tree fddb2afa9f3f1c49823ee7cfa7bcc9767e888e79 parent c94c0d201f1c1a62184f4f220c1615347aafbee7 parent 056a8763fc036639441a6dc49b61e57bc632af6e author Linus Torvalds Sat, 23 Jul 2005 17:01:26 -0700 committer Linus Torvalds Sat, 23 Jul 2005 17:01:26 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit c94c0d201f1c1a62184f4f220c1615347aafbee7 tree ac2fe13e5686091ab9c3789cb40d50371ca270ef parent 8ed693d29b25bbd88471ec043cc01581419d0481 parent 53776eb4acdd3ec576d75b61b656ef8d51e430ea author Linus Torvalds Sat, 23 Jul 2005 16:59:55 -0700 committer Linus Torvalds Sat, 23 Jul 2005 16:59:55 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 53776eb4acdd3ec576d75b61b656ef8d51e430ea tree 2a4f0229d57e3164717b268fc7d92cf1c9d1146e parent ab9b6339381d340779e8b5957561aed41155a270 author Lucas Correia Villa Real Sun, 24 Jul 2005 00:15:46 +0100 committer Russell King Sun, 24 Jul 2005 00:15:46 +0100 [PATCH] ARM: 2825/1: S3C2410: turns %d into %ld on DMA printk Patch from Lucas Correia Villa Real This patch replaces the sizeof()'s %d specifier by %ld on a S3C2410 DMA printk. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Russell King commit 8ed693d29b25bbd88471ec043cc01581419d0481 tree 5a033028bcf3bebdc8a029eeaecc708432bbce93 parent 72538d8565b0205240d88591b72db3c7f3f1881a parent 668d74c04c16bb69de564e25e85dd94eeb0175d9 author Luming Yu Sat, 23 Jul 2005 00:34:41 -0400 committer Len Brown Sat, 23 Jul 2005 00:34:41 -0400 /home/lenb/linux-2.6 branch 'acpi-2.6.12' commit 668d74c04c16bb69de564e25e85dd94eeb0175d9 tree 9eca71da4fcf1ef8074c698f80f2f4e5196f08da parent d8683a0cb5d09cb7f19feefa708424a84577e68f author Luming Yu Sat, 23 Jul 2005 00:26:33 -0400 committer Len Brown Sat, 23 Jul 2005 00:26:33 -0400 ACPI: delete unnecessary EC console messages http://bugzilla.kernel.org/show_bug.cgi?id=4534 Signed-off-by: Luming Yu Signed-off-by: Len Brown commit 72538d8565b0205240d88591b72db3c7f3f1881a tree f7d1a78787e8027b6144487580e1c811cdb4fc2a parent 2847e3478c3d8119eedc3e0cb85a308b21f681dd author Linus Torvalds Fri, 22 Jul 2005 18:29:40 -0400 committer Linus Torvalds Fri, 22 Jul 2005 18:29:40 -0400 Remove "noreplacement" kernel command line option. It is no longer valid to not replace instructions, since we depend on different behaviour depending on CPU capabilities. If you need to limit the capabilities of the replacements (because the boot CPU has features that non-boot CPU's do not have, for example), you need to explicitly disable those capabilities that are not shared across all CPU's. For example, if your boot CPU has FXSR, but other CPU's in your system do not, you need to use the "nofxsr" kernel command line, not disable instruction replacement per se. commit 2847e3478c3d8119eedc3e0cb85a308b21f681dd tree 40e24b6a405331ae5fc9ed38b0d4872c84069891 parent 38afd6adf6bccd7176e88c07cac104d3639aa30d author Linus Torvalds Fri, 22 Jul 2005 18:19:20 -0400 committer Linus Torvalds Fri, 22 Jul 2005 18:19:20 -0400 x86: use alternative instructions for fnsave/fxsave too This one ends up using an inline asm format that claims to read memory and then clobber it (rather than just write it directly), which made it easier to use the existing "alternative_input()" infrastructure support. Now the fxsave code matches the fxrstor. commit 38afd6adf6bccd7176e88c07cac104d3639aa30d tree 2142409984b609e51ef60b6a14318dd4e878718a parent 8ed1383fb7b6685968588141d5934e0e6715e954 parent 261688d01ec07d3a265b8ace6ec68310fbd96a96 author Linus Torvalds Fri, 22 Jul 2005 16:33:00 -0700 committer Linus Torvalds Fri, 22 Jul 2005 16:33:00 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 261688d01ec07d3a265b8ace6ec68310fbd96a96 tree c068cd8f4a1cf545ea4bfb68d3becc051b964d56 parent d3984a6b6abac6203868f0e9095c0ed9e33ece03 author David S. Miller Fri, 22 Jul 2005 14:43:52 -0700 committer David S. Miller Fri, 22 Jul 2005 14:43:52 -0700 [PKT_SCHED]: em_meta: Kill TCF_META_ID_{INDEV,SECURITY,TCVERDICT} More unusable TCF_META_* match types that need to get eliminated before 2.6.13 goes out the door. Signed-off-by: David S. Miller Acked-by: Thomas Graf commit 8ed1383fb7b6685968588141d5934e0e6715e954 tree 7ee8476ec114dbab907e3acf4e8a9d0342bf6751 parent b339a18b81a1f6ca1455559594f5df872b9e59f4 author Linus Torvalds Fri, 22 Jul 2005 16:06:16 -0400 committer Linus Torvalds Fri, 22 Jul 2005 16:06:16 -0400 x86: make restore_fpu() use alternative assembler instructions It's really just a single instruction, conditional on whether the CPU supports FXSR or not, so implement it as such instead of making it a function that queries FXSR dynamically. This means that the instruction just gets automatically rewritten to the correct one at boot-time. commit d3984a6b6abac6203868f0e9095c0ed9e33ece03 tree a46aa663c646cfc93067c837407ead4357f0b955 parent 74bb421da7f39e70ab636ad46ef85ea1178786c5 author Patrick McHardy Fri, 22 Jul 2005 12:52:47 -0700 committer David S. Miller Fri, 22 Jul 2005 12:52:47 -0700 [NETFILTER]: Fix ip6t_LOG MAC format I broke this in the patch that consolidated MAC logging. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 74bb421da7f39e70ab636ad46ef85ea1178786c5 tree 11f2eba01e01f8094f57a1c16c6d454ce7b2430a parent 21f930e4abdcb9649f26e5b959c14dddee4e600b author Patrick McHardy Fri, 22 Jul 2005 12:51:38 -0700 committer David S. Miller Fri, 22 Jul 2005 12:51:38 -0700 [NETFILTER]: Use correct byteorder in ICMP NAT Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 21f930e4abdcb9649f26e5b959c14dddee4e600b tree 524b3bfee593f20a52fab80c7bb4da3ac0ad3ad8 parent d04b4f8c1c9766e49fad6a141fc61cb30db69a5c author Patrick McHardy Fri, 22 Jul 2005 12:51:03 -0700 committer David S. Miller Fri, 22 Jul 2005 12:51:03 -0700 [NETFILTER]: Wait until all references to ip_conntrack_untracked are dropped on unload Fixes a crash when unloading ip_conntrack. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d04b4f8c1c9766e49fad6a141fc61cb30db69a5c tree 4355aafff80fc9a09597d4990a45b51b30359cf3 parent 4c1217deeb148ff8ab838ba4f1875d0f52dea343 author Patrick McHardy Fri, 22 Jul 2005 12:50:29 -0700 committer David S. Miller Fri, 22 Jul 2005 12:50:29 -0700 [NETFILTER]: Fix potential memory corruption in NAT code (aka memory NAT) The portptr pointing to the port in the conntrack tuple is declared static, which could result in memory corruption when two packets of the same protocol are NATed at the same time and one conntrack goes away. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4c1217deeb148ff8ab838ba4f1875d0f52dea343 tree 9219e874ef71ac18b31e1028a5cde6d579c6fc23 parent 28e212fb360ce2568edd60b93d60683d5ad24146 author Patrick McHardy Fri, 22 Jul 2005 12:49:30 -0700 committer David S. Miller Fri, 22 Jul 2005 12:49:30 -0700 [NETFILTER]: Fix deadlock in ip6_queue Already fixed in ip_queue, ip6_queue was missed. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b339a18b81a1f6ca1455559594f5df872b9e59f4 tree 1c3a34047734e5923484353dbe710b167ad7c72b parent f60f700876cd51de9de69f3a3c865d95e287a24d author Linus Torvalds Fri, 22 Jul 2005 15:23:47 -0400 committer Linus Torvalds Fri, 22 Jul 2005 15:23:47 -0400 Fix up incorrect "unlikely()" on %gs reload in x86 __switch_to These days %gs is normally the TLS segment, so it's no longer zero. As a result, we shouldn't just assume that %fs/%gs tend to be zero together, but test them independently instead. Also, fix setting of debug registers to use the "next" pointer instead of "current". It so happens that the scheduler will have set the new current pointer before calling __switch_to(), but that's just an implementation detail. commit 28e212fb360ce2568edd60b93d60683d5ad24146 tree cde99771e1cd026648c7a80e44ae66b710920e78 parent 14a59e1829cd5782ad1a8979e594578f49f3e2c1 author David S. Miller Fri, 22 Jul 2005 11:47:25 -0700 committer David S. Miller Fri, 22 Jul 2005 11:47:25 -0700 [PKT_SCHED]: Kill TCF_META_ID_REALDEV from meta ematch. It won't exist any longer when we shrink the SKB in 2.6.14, and we should kill this off before anyone in userspace starts using it. Signed-off-by: David S. Miller Acked-by: Thomas Graf commit 056a8763fc036639441a6dc49b61e57bc632af6e tree 880795a56d5f1ecf77966d14be38c4234436c2eb parent fbc0dc0df54be06586d712ebf6958816e3b1b2b7 author Russell King Fri, 22 Jul 2005 10:15:04 +0100 committer Russell King Fri, 22 Jul 2005 10:15:04 +0100 [PATCH] Serial: No need to check for priv != NULL in remove_one Signed-off-by: Russell King commit 14a59e1829cd5782ad1a8979e594578f49f3e2c1 tree b2aa664412afa2c2a5eef47d485b11c410949798 parent 4acdbdbe5089c06d5e0c7e96783fcc4414ded00a author Loic Le Loarer Thu, 21 Jul 2005 14:16:54 -0700 committer David S. Miller Thu, 21 Jul 2005 14:16:54 -0700 [EQL]: Proper num_slaves decrement Signed-off-by: Loic Le Loarer Signed-off-by: David S. Miller commit 4acdbdbe5089c06d5e0c7e96783fcc4414ded00a tree 77629aef70bd92983518b6f5dd13c70a222c4cbb parent 4aa49d130df9209707a97786a55a3f584b7345e9 author Rusty Russell Thu, 21 Jul 2005 13:14:46 -0700 committer David S. Miller Thu, 21 Jul 2005 13:14:46 -0700 [NETFILTER]: ip_conntrack_expect_related must not free expectation If a connection tracking helper tells us to expect a connection, and we're already expecting that connection, we simply free the one they gave us and return success. The problem is that NAT helpers (eg. FTP) have to allocate the expectation first (to see what port is available) then rewrite the packet. If that rewrite fails, they try to remove the expectation, but it was freed in ip_conntrack_expect_related. This is one example of a larger problem: having registered the expectation, the pointer is no longer ours to use. Reference counting is needed for ctnetlink anyway, so introduce it now. To have a single "put" path, we need to grab the reference to the connection on creation, rather than open-coding it in the caller. Signed-off-by: Rusty Russell Signed-off-by: David S. Miller commit ab9b6339381d340779e8b5957561aed41155a270 tree cecfa0997f8c9e8072bec6c4c4bc5fbac30afb8f parent bd6f68af298cab4e059f8489b56e46ae36243fcc author Russell King Wed, 20 Jul 2005 21:32:26 +0100 committer Russell King Wed, 20 Jul 2005 21:32:26 +0100 [PATCH] ARM SMP: Mark mroe CPU init data with __cpuinitdata Signed-off-by: Russell King commit 4aa49d130df9209707a97786a55a3f584b7345e9 tree 1522de28c0277809afd1fd037f5c359fcee4fc4b parent b72f6eccb0fc516070f2de469f73870cb6cb1149 author Francois Romieu Wed, 20 Jul 2005 12:01:46 -0700 committer David S. Miller Wed, 20 Jul 2005 12:01:46 -0700 [ATM]: zatm: mailbox converted to pci_alloc_consistent() mailbox converted to pci_alloc_consistent() - request_region() is not needed: zatm_init_one() issues pci_request_regions(); - the warning related to kfree(zatm_dev->mbx_start) disappears; Compiled with i386 and sparc64 as target. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller commit b72f6eccb0fc516070f2de469f73870cb6cb1149 tree 47adfd4764346387af894dd3a25e2b2266187a67 parent 0303770deb834c15ca664a9d741d40f893c92f4e author David S. Miller Tue, 19 Jul 2005 14:13:54 -0700 committer David S. Miller Tue, 19 Jul 2005 14:13:54 -0700 [NET]: Fix tc_verd thinko in skb_clone() It was overwriting the computer n->tc_verd value over and over with skb->tc_verd, by mistake. Signed-off-by: David S. Miller commit 0303770deb834c15ca664a9d741d40f893c92f4e tree d48e2df54d3545052aaffeeeec1c34c214055056 parent c877efb207bf4629cfa97ac13412f7392a873485 author Patrick McHardy Tue, 19 Jul 2005 14:03:34 -0700 committer David S. Miller Tue, 19 Jul 2005 14:03:34 -0700 [NET]: Make ipip/ip6_tunnel independant of XFRM Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c877efb207bf4629cfa97ac13412f7392a873485 tree 2521cdfc0943c916d2322d2183f0c4194cb29827 parent 23a534e7b1ad2650002bbc236493791ac23440ee author Stephen Hemminger Tue, 19 Jul 2005 14:01:51 -0700 committer David S. Miller Tue, 19 Jul 2005 14:01:51 -0700 [IPV4]: Fix up lots of little whitespace indentation stuff in fib_trie. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 23a534e7b1ad2650002bbc236493791ac23440ee tree 76a8c8a1cb3ff915fdb337242a073f651998915d parent eb3f8f5e22cdee8138e654963e371ad337830efb author Adrian Bunk Tue, 19 Jul 2005 14:00:53 -0700 committer David S. Miller Tue, 19 Jul 2005 14:00:53 -0700 [NET]: NETCONSOLE must depend on INET NETCONSOLE=y and INET=n results in the following compile error: net/built-in.o: In function `netpoll_parse_options': : undefined reference to `in_aton' net/built-in.o: In function `netpoll_parse_options': : undefined reference to `in_aton' Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit eb3f8f5e22cdee8138e654963e371ad337830efb tree 7f9f62017c24125d7a50bee4088d1240cb5bc6fe parent abaacad9bcb3f118cc802f527ab5d7c41b63f83a author Adrian Bunk Tue, 19 Jul 2005 14:00:13 -0700 committer David S. Miller Tue, 19 Jul 2005 14:00:13 -0700 [NET]: BRIDGE_EBT_ARPREPLY must depend on INET BRIDGE_EBT_ARPREPLY=y and INET=n results in the following compile error: net/built-in.o: In function `ebt_target_reply': ebt_arpreply.c:(.text+0x68fb9): undefined reference to `arp_send' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit abaacad9bcb3f118cc802f527ab5d7c41b63f83a tree 00feb47b1bc9f2b1c3eced293fce47a54faf711c parent 6aef4fdfeaec5f2c66415f2cafa98a3ff927501f author Patrick McHardy Tue, 19 Jul 2005 13:59:17 -0700 committer David S. Miller Tue, 19 Jul 2005 13:59:17 -0700 [IPV4]: Don't select XFRM for ip_gre Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 6aef4fdfeaec5f2c66415f2cafa98a3ff927501f tree fc8fa275747dfeea29642e37103614dc1754440d parent 86cf42e4e029b83110cf98692420239103363dbf author Patrick McHardy Tue, 19 Jul 2005 13:58:40 -0700 committer David S. Miller Tue, 19 Jul 2005 13:58:40 -0700 [NET]: Only build flow.o if CONFIG_XFRM=y Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 86cf42e4e029b83110cf98692420239103363dbf tree e1e4210051fc1ae9b06515b56933989448f77a59 parent 88e9fa8a54cf4d66ee8fc1d855e82de827233d74 author Duncan Sands Tue, 19 Jul 2005 13:57:17 -0700 committer David S. Miller Tue, 19 Jul 2005 13:57:17 -0700 [ATM]: [speedtch] cure atm_printk() macro gcc-2.95 compile error Signed-off-by: Duncan Sands Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 88e9fa8a54cf4d66ee8fc1d855e82de827233d74 tree fc869a492d674a302ddbaf2fd352ee970d0518a2 parent 5938a7b580bb7a738ee349048565ac76e6f3f5d7 author Jesper Juhl Tue, 19 Jul 2005 13:56:53 -0700 committer David S. Miller Tue, 19 Jul 2005 13:56:53 -0700 [ATM]: Trivial spelling fix patch for net/Kconfig Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 5938a7b580bb7a738ee349048565ac76e6f3f5d7 tree df59a9cc06712310f847ddfec589d8e5919f359f parent c9e42614585dddd544a56907ff5fd5ca55411967 author Victor Fusco Tue, 19 Jul 2005 13:56:29 -0700 committer David S. Miller Tue, 19 Jul 2005 13:56:29 -0700 [ATM]: [ambassador] Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit c9e42614585dddd544a56907ff5fd5ca55411967 tree ed518a75e4e7d95a11a87c4b9580762ae10bc707 parent 5e8676d113a097e19d18492e85215f0f3cc86e43 author Victor Fusco Tue, 19 Jul 2005 13:56:01 -0700 committer David S. Miller Tue, 19 Jul 2005 13:56:01 -0700 [ATM]: [firestream] fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 5e8676d113a097e19d18492e85215f0f3cc86e43 tree c49a03512ab5a8b8529552e49829f38a1a405886 parent e1bd232b641a0d0ef184a5154409ef38aebb3155 author Olaf Hering Tue, 19 Jul 2005 13:55:38 -0700 committer David S. Miller Tue, 19 Jul 2005 13:55:38 -0700 [ATM]: [he] remove linux/version.h include Signed-off-by: Olaf Hering Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit e1bd232b641a0d0ef184a5154409ef38aebb3155 tree c60395cf79f0e17a247dc1291ed4f8bea0ad1aa5 parent 322361b3712af97c19ab730b410f9ae5d9aad4c3 author Marcelo Feitoza Parisi Tue, 19 Jul 2005 13:55:14 -0700 committer David S. Miller Tue, 19 Jul 2005 13:55:14 -0700 [ATM]: [idt77252] use time_after() macro Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 322361b3712af97c19ab730b410f9ae5d9aad4c3 tree f78cc2a5017cffbccdabefa11bf76c0ec34d3908 parent 43f51fce0a637e6cdf1285b0fa09b8398ff14834 author Chas Williams Tue, 19 Jul 2005 13:54:44 -0700 committer David S. Miller Tue, 19 Jul 2005 13:54:44 -0700 [ATM]: allow bind() on point-to-multpoint svcs (from Martin Whitaker ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 43f51fce0a637e6cdf1285b0fa09b8398ff14834 tree 0c19a53319cc78db6f55201ccb2d5c599ddf6b83 parent 3f1c81ff10187396e6d0fd01df82ab0cec256c96 author Chas Williams Tue, 19 Jul 2005 13:54:19 -0700 committer David S. Miller Tue, 19 Jul 2005 13:54:19 -0700 [ATM]: [zatm] eliminate kfree warning (from Tobias Hirning ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 3f1c81ff10187396e6d0fd01df82ab0cec256c96 tree a94aa26eee1a29dcc0f909a504915efafeb79d05 parent 6876f95f201ce2d62367d85dd793c1fee351d7a6 author David S. Miller Mon, 18 Jul 2005 17:10:55 -0700 committer David S. Miller Mon, 18 Jul 2005 17:10:55 -0700 [EMATCH]: Kill TCF_META_ID_TCCLASSID reference from meta ematch as well. Signed-off-by: David S. Miller commit 6876f95f201ce2d62367d85dd793c1fee351d7a6 tree 44031f94643969ebaa7ee2379efc2babaef17c4a parent 54208991e15fa00e37a9d172ac0d87191a832165 author Adrian Bunk Mon, 18 Jul 2005 13:55:19 -0700 committer David S. Miller Mon, 18 Jul 2005 13:55:19 -0700 [IPV4]: fix IP_FIB_HASH kconfig warning This patch fixes the following kconfig warning: net/ipv4/Kconfig:92:warning: defaults for choice values not supported Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 54208991e15fa00e37a9d172ac0d87191a832165 tree 9344b79fd780f2a840b3d4f4e6d4dd048ab9cd23 parent d1ad1ff299dd908d07c5e5f27f88bbdb235eb7a5 author Randy Dunlap Mon, 18 Jul 2005 13:45:12 -0700 committer David S. Miller Mon, 18 Jul 2005 13:45:12 -0700 [NET]: Kconfig: NETCONSOLE and NETPOLL together Put NETCONSOLE and NETPOLL options together since they are related. This cuts down on the hassle of flipping back and forth between the Networking menu and the Network drivers menu to change their config settings. Tested with menuconfig, gconfig, and xconfig. gconfig has a small problem with this. I think that it's a bug in gconfig and I will take it up with Romain Lievin. Signed-off-by: Randy Dunlap Signed-off-by: David S. Miller commit d1ad1ff299dd908d07c5e5f27f88bbdb235eb7a5 tree 03f66679f4a153ec06fde913907f392503f4b5e5 parent ee71a29eb5e341fe977c5ad7a43782c29bd9cb9e author Sridhar Samudrala Mon, 18 Jul 2005 13:44:10 -0700 committer David S. Miller Mon, 18 Jul 2005 13:44:10 -0700 [SCTP]: Fix potential null pointer dereference while handling an icmp error Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit ee71a29eb5e341fe977c5ad7a43782c29bd9cb9e tree cbbfc9d2155a939c1735986d056e0dff131c4afe parent e2bf521d9728bfae9b6c3d484614e5962d0b5afd author Christophe Lucas Mon, 18 Jul 2005 13:38:07 -0700 committer David S. Miller Mon, 18 Jul 2005 13:38:07 -0700 [SCTP]: Audit return code of create_proc_* From: Christophe Lucas Audit return of create_proc_* functions. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit e2bf521d9728bfae9b6c3d484614e5962d0b5afd tree 74a126835dc9e26fbca5080214f3cc1bb4f7c5ea parent 37da647d994cdac7e0bc8d2a365fbda403939a2b author Victor Fusco Mon, 18 Jul 2005 13:36:38 -0700 committer David S. Miller Mon, 18 Jul 2005 13:36:38 -0700 [NET]: Fix "nocast type" warnings in skbuff.h 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 37da647d994cdac7e0bc8d2a365fbda403939a2b tree 914de5c0c11403014db2a202ce1338a19edc6d48 parent 23af27eb8fa9ea8614138c4cded7a16cb4197a55 author Victor Fusco Mon, 18 Jul 2005 13:35:43 -0700 committer David S. Miller Mon, 18 Jul 2005 13:35:43 -0700 [NETLINK]: Fix "nocast type" 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 23af27eb8fa9ea8614138c4cded7a16cb4197a55 tree e558c59c98a759663e8691fbf731e5eb3fc49bb6 parent 452f299da3253f65020143f743c2e207b752547b author Patrick McHardy Mon, 18 Jul 2005 13:34:35 -0700 committer David S. Miller Mon, 18 Jul 2005 13:34:35 -0700 [PKT_SCHED]: Kill TCF_META_ID_TCCLASSID. Thomas Graf states: > I used to mark such ids as obsolete in the header but since > skb is on diet anyway and there has been no official > iproute2 release with the ematch bits included it might be > a better idea to remove the ids from the header completely. > Those that have picked up my patch on netdev shouldn't care > about a ABI breakage, actually I doubt that someone is using > it already. So here's the patch to remove it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 452f299da3253f65020143f743c2e207b752547b tree 56f02114d9e65d60c0f3a0658602e7e193f226bd parent d7c7ed4dbc66c5f4dfa5615cdfc5009af3b3b137 author Thomas Graf Mon, 18 Jul 2005 13:30:53 -0700 committer David S. Miller Mon, 18 Jul 2005 13:30:53 -0700 [PKT_SCHED]: Reduce branch mispredictions in pfifo_fast_dequeue The current call to __qdisc_dequeue_head leads to a branch misprediction for every loop iteration, the fact that the most common priority is 2 makes this even worse. This issue has been brought up by Eric Dumazet but unlike his solution which was to manually unroll the loop, this approach preserves the possibility to increase the number of bands at compile time. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit d7c7ed4dbc66c5f4dfa5615cdfc5009af3b3b137 tree 1a328a1cbfb59fb4392df6b6ed2b1fd0b74c4983 parent 4851d3aaa550b7b62553dd19fcadc7b586da4f17 author Thomas Graf Mon, 18 Jul 2005 13:29:49 -0700 committer David S. Miller Mon, 18 Jul 2005 13:29:49 -0700 [PKT_SCHED]: Remove debugging leftover from textsearch ematch Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit fbc0dc0df54be06586d712ebf6958816e3b1b2b7 tree 5de8a3c70a3e43af52317ae1df1d94612cba0ba5 parent 65cc3370ef3fb56b9b423f282a8204f8cce66e32 author Andrey Panin Mon, 18 Jul 2005 11:38:09 +0100 committer Russell King Mon, 18 Jul 2005 11:38:09 +0100 [PATCH] Serial: Add support for SIIG Quartet serial card Add support for SIIG Quartet Serial card. This card has Oxford Semiconducor 16954 quad UART which is clocked by 10x faster (18.432 MHz) quartz. Signed-off-by: Andrey Panin Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 65cc3370ef3fb56b9b423f282a8204f8cce66e32 tree f7bbf935d43e5bb3897151fc40e964f8796708f9 parent f60f700876cd51de9de69f3a3c865d95e287a24d author Ben Dooks Mon, 18 Jul 2005 10:24:32 +0100 committer Russell King Mon, 18 Jul 2005 10:24:32 +0100 [PATCH] ARM: 2818/1: BAST - Use platform device for SuperIO 16550s Patch from Ben Dooks Use platform device for the 16500 UARTs in the onboard SuperIO controller. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit bd6f68af298cab4e059f8489b56e46ae36243fcc tree 4f819ea9083fa9dc8260608c1984b050cd3b2bac parent 772a9e631ccad0423ed6d08acb3a4b1084ae2613 author Russell King Sun, 17 Jul 2005 21:35:41 +0100 committer Russell King Sun, 17 Jul 2005 21:35:41 +0100 [PATCH] ARM SMP: Mark CPU init functions/data with __cpuinit/...data Signed-off-by: Russell King commit 772a9e631ccad0423ed6d08acb3a4b1084ae2613 tree cf4243b9f4ed2e8a8661f08588f2a1df6370896b parent 246b49768bc96d942ab0e2a17aab6fc3d2e011da author Sascha Hauer Sun, 17 Jul 2005 20:15:36 +0100 committer Russell King Sun, 17 Jul 2005 20:15:36 +0100 [PATCH] ARM: 2687/1: i.MX framebuffer: make dmacr register platform configurable Patch from Sascha Hauer The dmacr needs different settings on some boards. This patch makes the register configurable by the platform part. Also we have imxfb_disable_controller(), so lets use it. Signed-off-by: Steven Scholz Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit 246b49768bc96d942ab0e2a17aab6fc3d2e011da tree 57eb0344054e488e4800a14963eb8c5fa63a0afe parent b66da4a4859b0be3f12575863bf1d873116d1947 author Alexander Schulz Sun, 17 Jul 2005 20:12:08 +0100 committer Russell King Sun, 17 Jul 2005 20:12:08 +0100 [PATCH] ARM: 2816/1: Shark: boot kernel images bigger than 1 MB Patch from Alexander Schulz Up to now, shark kernels were limited to one megabyte compressed size. As the kernels get bigger, this becomes more and more uncomfortable. So I added a loop to copy 3 MB instead of one and added some comments. Signed-off-by: Alexander Schulz Signed-off-by: Russell King commit b66da4a4859b0be3f12575863bf1d873116d1947 tree 70312c230efd0420817906adc2733489026153e9 parent f60f700876cd51de9de69f3a3c865d95e287a24d author Russell King Sun, 17 Jul 2005 10:54:50 +0100 committer Russell King Sun, 17 Jul 2005 10:54:50 +0100 [PATCH] ARM: Remove global nwfpe register variable Recent changes to nwfpe broke the build with some gcc versions: In file included from arch/arm/nwfpe/softfloat.c:33: arch/arm/nwfpe/fpa11.h:32: global register variable follows a function definition make[1]: *** [arch/arm/nwfpe/softfloat.o] Error 1 Since we now ensure that the kernel stack is empty when returning to user space, we can now access the userspace registers with reference to the kernel stack using current_thread_info(), rather than remembering the stack pointer at the time nwfpe was called. Signed-off-by: Russell King commit f60f700876cd51de9de69f3a3c865d95e287a24d tree 4ef50e96c385ed076465aac23f52902467e7d825 parent c6c621b3a977b20d7ceffd3debcacbe3de7c0e87 parent 6d283d271674b1127881ebf082266a2c3fe6e0e4 author Linus Torvalds Sat, 16 Jul 2005 20:06:51 -0700 committer Linus Torvalds Sat, 16 Jul 2005 20:06:51 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit c6c621b3a977b20d7ceffd3debcacbe3de7c0e87 tree 04b52f33ef1e8e24a4d9fa2c37cf218f82ff968a parent af6ea9ca23504fe620412826a420dca9c43a8bf6 parent b7523418f6af9093c462341c08c2233f44f7a28d author Linus Torvalds Sat, 16 Jul 2005 20:05:41 -0700 committer Linus Torvalds Sat, 16 Jul 2005 20:05:41 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit af6ea9ca23504fe620412826a420dca9c43a8bf6 tree 19bebbeb442a8d08ad29f2056665b5fdd9bf1478 parent 1fa4aad496b9c96fcde6c8f905a43ae6733e5a79 parent c514720716c7b109ff980f8b3cb93f9af872c91c author Linus Torvalds Sat, 16 Jul 2005 11:47:51 -0700 committer Linus Torvalds Sat, 16 Jul 2005 11:47:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 1fa4aad496b9c96fcde6c8f905a43ae6733e5a79 tree 46fed6895f9b25d8525a40c2221a2335c15257be parent 9fb1759a3102c26cd8f64254a7c3e532782c2bb8 parent 19870da7ea2fc483bf73a189046a430fd9b01391 author Linus Torvalds Sat, 16 Jul 2005 10:24:32 -0700 committer Linus Torvalds Sat, 16 Jul 2005 10:24:32 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 commit b7523418f6af9093c462341c08c2233f44f7a28d tree b44cc3d485eec69e5c0a29f0404b736fb015b2c7 parent 878cf4e1c7be6bffde3ace888a65ac3d43c127bb author Alexander Schulz Sat, 16 Jul 2005 17:17:18 +0100 committer Russell King Sat, 16 Jul 2005 17:17:18 +0100 [PATCH] ARM: 2815/1: Shark: new defconfig, fixes with __io and serial ports Patch from Alexander Schulz This patch brings a new default config file for the shark and fixes a compilation issue with io addressing and a runtime problem with the serial ports, where I corrected a wrong regshift value. These are all shark specific files so I hope it is ok to put them in one patch. Signed-off-by: Alexander Schulz Signed-off-by: Russell King commit 878cf4e1c7be6bffde3ace888a65ac3d43c127bb tree 80884b756e76fb0e553069d7a54ed01f4e17c9bd parent 109d89ca0ee76138e04b41726b7f719c7df65e88 author Michael Burian Sat, 16 Jul 2005 16:43:49 +0100 committer Russell King Sat, 16 Jul 2005 16:43:49 +0100 [PATCH] ARM: 2794/1: Add "Image" and "mach-types.h" to dontdiff list Patch from Michael Burian comment in "mach-types.h" tells that it should not be patched "Image" is a binary, just as zImage, uImage and friends are Signed-off-by: Michael Burian Signed-off-by: Russell King commit 109d89ca0ee76138e04b41726b7f719c7df65e88 tree 3653f48740d7812e21e15d09648e58edbc0416b9 parent 54ea06f6afe85aaf419e51343d4e4b5599197113 author Russell King Sat, 16 Jul 2005 16:43:33 +0100 committer Russell King Sat, 16 Jul 2005 16:43:33 +0100 [PATCH] ARM: Allow register_undef_hook to be called with IRQs off Preserve the interrupt status across a call to register_undef_hook. This allows it to be called while interrupts are disabled. Signed-off-by: Russell King commit 54ea06f6afe85aaf419e51343d4e4b5599197113 tree e486f20da3931e62f07014c4aaf8d7042d656151 parent 9fb1759a3102c26cd8f64254a7c3e532782c2bb8 author Russell King Sat, 16 Jul 2005 15:21:51 +0100 committer Russell King Sat, 16 Jul 2005 15:21:51 +0100 [PATCH] ARM: Convert bitops to use ARMv6 ldrex/strex instructions Signed-off-by: Russell King commit 6d283d271674b1127881ebf082266a2c3fe6e0e4 tree c84f09e47f474b8476fac3b2be91d4a5f06ea68c parent 661f83a67c2e360d5a4d2406cc28379c909f94bf author Olaf Hering Sat, 16 Jul 2005 09:59:00 +0100 committer Russell King Sat, 16 Jul 2005 09:59:00 +0100 [PATCH] Serial: Remove linux/version.h changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering Signed-off-by: Russell King commit 661f83a67c2e360d5a4d2406cc28379c909f94bf tree e77b3940b4fcb4dc2e2ad854a367f8164c140544 parent d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 author Russell King Sat, 16 Jul 2005 09:30:53 +0100 committer Russell King Sat, 16 Jul 2005 09:30:53 +0100 [PATCH] Serial: Move deprecation of register_serial forward to September I think it's about time to make the build a little more vocal about the expiry of these functions. Due to recent discussions with problems in the console initialisation vs power manglement, I'd like to move the date forward to September. Signed-off-by: Russell King commit 19870da7ea2fc483bf73a189046a430fd9b01391 tree 3f8d07e75dc9895c52c2184d28e3c43a84b0234b parent 2c4eec9802ae753a4973f0a0d71f8d154e86fd31 author Thomas Gleixner Fri, 15 Jul 2005 14:53:51 +0100 committer Thomas Gleixner Sat, 16 Jul 2005 09:27:52 +0200 [MTD] NAND: Fix broken bad block scan for 16 bit devices The previous change to read a single byte from oob breaks the bad block scan on 16 bit devices, when the byte is on an odd address. Read the complete oob for now. Remove the unused arguments from check_short_pattern() Move the wait for ready function so it is only executed when consecutive reads happen. Signed-off-by: Thomas Gleixner commit 2c4eec9802ae753a4973f0a0d71f8d154e86fd31 tree 59c93e5616d487d41c52e3ccb86fe497a7049542 parent 5d157885f383ccc0660c011fa488ae4edb77ab16 parent d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 author Thomas Gleixner Sat, 16 Jul 2005 09:20:01 +0200 committer Thomas Gleixner Sat, 16 Jul 2005 09:20:01 +0200 Merge with rsync://fileserver/linux commit 9fb1759a3102c26cd8f64254a7c3e532782c2bb8 tree b14426c49283b114594454c19168b84fd6cee4d8 parent d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 author Siddha, Suresh B Fri, 15 Jul 2005 19:17:44 -0700 committer Linus Torvalds Fri, 15 Jul 2005 22:56:11 -0700 [PATCH] x86_64: TASK_SIZE fixes for compatibility mode processes A malicious 32bit app can have an elf section at 0xffffe000. During exec of this app, we will have a memory leak as insert_vm_struct() is not checking for return value in syscall32_setup_pages() and thus not freeing the vma allocated for the vsyscall page. Check the return value and free the vma incase of failure. Signed-off-by: Suresh Siddha Signed-off-by: Linus Torvalds commit d6e1860312cd8c33ad1f17d1af22fb6aa1f2cf83 tree e31e6ec7a1d9e8f6bbf8cdee2692eb42f4869f47 parent 38d84c3bd6dd22bdb1f797c87006931133d71aea parent 46906c4415f88cebfad530917bada0835d651824 author Linus Torvalds Fri, 15 Jul 2005 17:52:13 -0700 committer Linus Torvalds Fri, 15 Jul 2005 17:52:13 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 38d84c3bd6dd22bdb1f797c87006931133d71aea tree 19f67f841f1624879d96e5b34d184beea0380b55 parent c9f04f5847c17d9933c5bd795c6c3740e96058e9 author Patrick Boettcher Fri, 15 Jul 2005 12:20:26 -0700 committer Linus Torvalds Fri, 15 Jul 2005 12:30:15 -0700 [PATCH] dvb: cx88 output mode fix The output_mode needs to be set for the Hauppauge Nova-T DVB-T (cx88-dvb.c). Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4851d3aaa550b7b62553dd19fcadc7b586da4f17 tree 0135b52b20a168053a25abd0649d4b9fa521873a parent a8178345c4f12f4413e5620fc86a6b0381c41bc9 author Marcelo Feitoza Parisi Fri, 15 Jul 2005 10:00:41 -0700 committer David S. Miller Fri, 15 Jul 2005 10:00:41 -0700 [NET PCMCIA]: drivers/net/pcmcia/smc91c92_cs.c : Use of time_after macro From: Marcelo Feitoza Parisi Use of the time_after() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit a8178345c4f12f4413e5620fc86a6b0381c41bc9 tree dd9cb8c953556d539eabd4137032873a6578e988 parent 9d853c3757ef74ded5ae564d68370f22208fb88b author Marcelo Feitoza Parisi Fri, 15 Jul 2005 09:59:26 -0700 committer David S. Miller Fri, 15 Jul 2005 09:59:26 -0700 [WAN]: drivers/net/wan/: use of time_after macro From: Marcelo Feitoza Parisi Use of the time_after() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit c9f04f5847c17d9933c5bd795c6c3740e96058e9 tree fe6ebfe74a330aa51898e2f61e93d4256d0a1f7c parent 6a806c510de490318846b53bbfec463d02ca274b author Robert Love Fri, 15 Jul 2005 12:21:07 -0400 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] inotify: MAINTAINERS Add a MAINTAINERS entry for Inotify. Signed-off-by: Robert Love Signed-off-by: John McCutchan Signed-off-by: Linus Torvalds commit 6a806c510de490318846b53bbfec463d02ca274b tree 7018abfd9db7856708bc2c578f48c30eab8855b1 parent a1287ba1ba810aae1f8b81e32560d5d3bf3ff9f0 author NeilBrown Fri, 15 Jul 2005 03:56:35 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] md/raid1: clear bitmap when fullsync completes We need to be careful differentiating between a resync of a complete array, in which we can clear the bitmap, and a resync of a degraded array, in which we cannot. This patch cleans all that up. Cc: Paul Clements Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1287ba1ba810aae1f8b81e32560d5d3bf3ff9f0 tree c16aef43738ee0bf32e3514065ad394d04980900 parent 6f97933d0fd13920d7d53b6e0107bb674b3a1f0b author Michal Ostrowski Fri, 15 Jul 2005 03:56:33 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] rocket.c: Fix ldisc ref count handling If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count and causes release_dev() to hang since it can't get the ref count to 0. Signed-off-by: Michal Ostrowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f97933d0fd13920d7d53b6e0107bb674b3a1f0b tree f6e5a75915e10747b8e472b9452db5a767c3340a parent 35e422c967d3208f188e3096c9f603ac7333fb1b author Robert Love Fri, 15 Jul 2005 03:56:33 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] inotify: documentation update Clean up and expand some of the inotify documentation. Signed-off-by: Robert Love Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35e422c967d3208f188e3096c9f603ac7333fb1b tree 48cd88fc92819a5c49805279f5ef75bd17bddeef parent afa597ba20e9ef55fc6283c1a564854b1c9f13c0 author Alexey Dobriyan Fri, 15 Jul 2005 03:56:32 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:51 -0700 [PATCH] visws: reexport pm_power_off More fallout from the i386_ksyms.c cleanups. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit afa597ba20e9ef55fc6283c1a564854b1c9f13c0 tree 56cbfbca20a3c59ef6b1d149f67185e8e8f3a85c parent c5287ba132ff742e595d42c28b66cbba19522c4e author Carsten Otte Fri, 15 Jul 2005 03:56:30 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:50 -0700 [PATCH] execute-in-place fixes This patch includes feedback from Andrew and Christoph. Thanks for taking time to review. Use of empty_zero_page was eliminated to fix compilation for architectures that don't have it. This patch removes setting pages up-to-date in ext2_get_xip_page and all bug checks to verify that the page is indeed up to date. Setting the page state on mapping to userland is bogus. None of the code patchs involved with these pages in mm cares about the page state. still on my ToDo list: identify a place outside second extended where __inode_direct_access should reside Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5287ba132ff742e595d42c28b66cbba19522c4e tree 26a33ea2e756586d9696c050449c0d5f1666e908 parent 1eb29128c644581fa51f822545921394ad4f719f author Mauro Carvalho Chehab Fri, 15 Jul 2005 03:56:28 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:50 -0700 [PATCH] v4l: bug fixes for tuner, cx88 and tea5767 - In CX88 code, some cards needs to have audio reprogramed after changing video channel; - Tuner autodetection code seems not to work on some cards. Now, no_autodetect insmod option allows disabling autodetection code; - Minor fixes in tea5767 to reduce integer trunc; - There are some new Pixelview Ultra Pro cards that doesn't use TEA5767 for radio. As autodetection is capable of checking for tea, radio tuners and addresses removed. - CX88 version number incremented. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1eb29128c644581fa51f822545921394ad4f719f tree 936f6c517e2d8acd927a0b9e30ab07ed8b9ae58f parent 030babac6ae54df64ae3bba4685ecb1d8d8dd8c3 author Neil Brown Fri, 15 Jul 2005 03:56:27 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:50 -0700 [PATCH] Fix raid0's attempt to divide by 64bit numbers Apparently sector_div is only guaranteed to work with a 32bit divisor, even on 64bit architectures. So allow for this in raid0. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 030babac6ae54df64ae3bba4685ecb1d8d8dd8c3 tree 790efcef0208ef8d626d47fff0740a633301281d parent ba460e48064edeb57e3398eb8972c58de33f11ea author Nishanth Aravamudan Fri, 15 Jul 2005 03:56:25 -0700 committer Linus Torvalds Fri, 15 Jul 2005 09:54:50 -0700 [PATCH] vt.c build fix Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d853c3757ef74ded5ae564d68370f22208fb88b tree aaf87a1a75d7e1c449e058867a1c4883dcc34838 parent ba460e48064edeb57e3398eb8972c58de33f11ea author Herbert Xu Fri, 15 Jul 2005 07:41:31 -0700 committer David S. Miller Fri, 15 Jul 2005 07:41:31 -0700 [CRYPTO]: Fix zero-extension bug on 64-bit architectures. Noticed by Ken-ichirou MATSUZAWA. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 5d157885f383ccc0660c011fa488ae4edb77ab16 tree 0caba31219184fcf47fb7f91ef330217812cc149 parent ba460e48064edeb57e3398eb8972c58de33f11ea author Thomas Gleixner Fri, 15 Jul 2005 08:14:44 +0200 committer Thomas Gleixner Fri, 15 Jul 2005 08:14:44 +0200 [JFFS2] Fix node allocation leak In the rare case of failing to write the cleanmarker the allocated node was not freed. Pointed out by Forrest Zhao Initial cleanup by Joern Engel Signed-off-by: Thomas Gleixner commit e10fb91c4dc81a4ae47caf0828df152f600f2546 tree d10758f4a6b59a80157595138c02bc6f9aa993f1 parent 7fce2cf62e4bd9c24717009865ac00940cb664b8 author James Bottomley Thu, 14 Jul 2005 11:54:17 -0500 committer James Bottomley Thu, 14 Jul 2005 11:54:17 -0500 [SCSI] fix function prototype warning int_to_scsilun() takes a pointer to a struct scsi_lun in it's prototype, so add this structure to scsi_device.h to avoid declaration inside function prototype warnings. Signed-off-by: James Bottomley commit 46906c4415f88cebfad530917bada0835d651824 tree 44aef0f11d6499ed802f43949e0e8ad193d9716e parent 514fd7fd01d378a7b5584c657d9807fc28f22079 author Ian Wienand Wed, 13 Jul 2005 21:09:00 -0700 committer Tony Luck Thu, 14 Jul 2005 09:21:47 -0700 [IA64] Fix undefined reference to can_cpei_retarget for simulator The simulator build doesn't turn on ACPI, so doesn't have a definition of can_cpei_retarget. Signed-off-by: Tony Luck commit ba460e48064edeb57e3398eb8972c58de33f11ea tree 1eefb36f0e5e63123a910abcb7b238c429c8ed0f parent 98848fa83bb6a4572ad55daeb312182dec9bed58 author Matthias Urlichs Thu, 14 Jul 2005 00:33:47 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:26 -0700 [PATCH] Option Card driver update, Maintainer entry This patch updates the Option Card driver: - remove a deadlock - add sponsor notice - add new card - renamed the device to what's usually printed on it - removed some dead code - clean up a bunch of irregular whitespace (end-of-line, tabs) Also add a MAINTAINERS entry for the Option Card driver. Signed-Off-By: Matthias Urlichs Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98848fa83bb6a4572ad55daeb312182dec9bed58 tree 9221e935f4cd3bfb6da2422806aee41f2040ed2e parent a2d2b5cb8e5d8787f009eeb3bbca52687bd42a77 author Olaf Hering Thu, 14 Jul 2005 00:33:45 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:26 -0700 [PATCH] ratelimit the ieee1394 IR legacy activated messages running coriander1 with an Apple iSight produces lots of dmesg output. Jul 13 22:14:17 ibook kernel: ieee1394: raw1394: /dev/raw1394 device initialized Jul 13 22:15:28 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 13 22:15:59 ibook last message repeated 208 times Jul 13 22:17:00 ibook last message repeated 762 times Jul 13 22:18:01 ibook last message repeated 914 times Jul 13 22:18:17 ibook last message repeated 238 times Jul 13 22:18:17 ibook kernel: ieee1394: unsolicited response packet received - no tlabel match Jul 13 22:18:17 ibook kernel: ohci1394: fw-host0: IR legacy activated its less noisy with the patch: Jul 14 08:03:08 ibook kernel: ieee1394: raw1394: /dev/raw1394 device initialized Jul 14 08:03:26 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 14 08:03:42 ibook last message repeated 10 times Jul 14 08:03:47 ibook kernel: printk: 63 messages suppressed. Jul 14 08:03:47 ibook kernel: ohci1394: fw-host0: IR legacy activated Jul 14 08:03:52 ibook kernel: printk: 74 messages suppressed. Signed-off-by: Olaf Hering Cc: Jody McIntyre Cc: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2d2b5cb8e5d8787f009eeb3bbca52687bd42a77 tree 68590f6b94eaec2f30297503bcc71e2dee0bc790 parent a0d43df931870997467042931e8fb7657375d327 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:44 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] remove EXPORT_SYMBOL for root_dev Remove ROOT_DEV after unexporting it in the previous patch, as requested time ago by Christoph Hellwig. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Christoph Hellwig Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0d43df931870997467042931e8fb7657375d327 tree 1ef8099b25195a7612f0ba187b3c622f0cca9264 parent 20d0021394c1b070bf04b22c5bc8fdb437edd4c5 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:43 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] uml: hostfs: unuse ROOT_DEV Minimal patch removing uses of ROOT_DEV; next patch unexports it. I've opposed this, but I've planned to reintroduce the functionality without using ROOT_DEV. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Christoph Hellwig Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20d0021394c1b070bf04b22c5bc8fdb437edd4c5 tree 283d0cd3bfdaec49ed2b29d568f5ceca5e3f1d2a parent ecc354a90af90a80dcaccc750f5f3e5e7c83112d author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:43 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] uml: allow building as 32-bit binary on 64bit host This patch makes the command: make ARCH=um SUBARCH=i386 work on x86_64 hosts (with support for building 32-bit binaries). This is especially needed since 64-bit UMLs don't support 32-bit emulation for guest binaries, currently. This has been tested in all possible cases and works. Only exception is that I've built but not tested a 64-bit binary, because I hadn't a 64-bit filesystem available. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecc354a90af90a80dcaccc750f5f3e5e7c83112d tree 71f60a11ff19d4e5078731a7fae39972a745c3c5 parent 8e0a21812427313f8ee8521688e81bfcc6f207a2 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:41 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] uml: reintroduce pcap support The pcap support was not working because of some linking problems (expressing the construct in Kbuild was a bit difficult) and because there was no user request. Now that this has come back, here's the support. This has been tested and works on both 32 and 64-bit hosts, even when "cross-"building 32-bit binaries. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e0a21812427313f8ee8521688e81bfcc6f207a2 tree 356769be4834e02ce77850329896fe35dc2e4c1e parent 1c30385ae479ec4774bdc1048726aeb15cde0d21 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:41 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:25 -0700 [PATCH] uml: fix hppfs error path Fix the error message to refer to the error code, i.e. err, not count, plus add some cosmetical fixes. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c30385ae479ec4774bdc1048726aeb15cde0d21 tree c777f2a3210b60d19074c30940dfdbc9caa711bf parent 2e5e55923e315e8198f46f24f7ca37e1fd9aa102 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:38 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] uml: gcc 2.95 fix and Makefile cleanup 1) Cleanup an ugly hyper-nested code in Makefile (now only the arith. expression is passed through the host bash). 2) Fix a problem with GCC 2.95: according to a report from Raphael Bossek, .remap_data : { arch/um/sys-SUBARCH/unmap_fin.o (.data .bss) } is expanded into: .remap_data : { arch/um/sys-i386 /unmap_fin.o (.data .bss) } (because I didn't use ## to join the two tokens), thus stopping linking. Pass the whole path from the Makefile as a simple and nice fix. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Raphael Bossek Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e5e55923e315e8198f46f24f7ca37e1fd9aa102 tree 251aa6211d8d822350bed40cc021c9bf710110a6 parent 1feb8d2d7396748fb3bd6795d09bbfbdd4c03dff author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:37 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] uml: consolidate modify_ldt *) Reorganize the two cases of sys_modify_ldt to share all the reasonably common code. *) Avoid memory allocation when unneeded (i.e. when we are writing and the passed buffer size is known), thus not returning ENOMEM (which isn't allowed for this syscall, even if there is no strict "specification"). *) Add copy_{from,to}_user to modify_ldt for TT mode. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1feb8d2d7396748fb3bd6795d09bbfbdd4c03dff tree 73d7dbb979a107859fb40730555cb10ca6b4cbbb parent bcb01b8a67476e6f748086e626df8424cc27036d author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:36 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] uml: workaround host bug in "TT mode vs. NPTL link fix" A big bug has been diagnosed on hosts running the SKAS patch and built with CONFIG_REGPARM, due to some missing prevent_tail_call(). On these hosts, this workaround is needed to avoid triggering that bug, because "to" is kept by GCC only in EBX, which is corrupted at the return of mmap2(). Since to trigger this bug int 0x80 must be used when doing the call, it rarely manifests itself, so I'd prefer to get this merged to workaround that host bug, since it should cause no functional change. Still, you might prefer to drop it, I'll leave this to you. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcb01b8a67476e6f748086e626df8424cc27036d tree 02b2f7931e6d62273dc866863f600ee0b2f945b5 parent 3952db66efee4f22f3c6a0fd02a1e7071556a8d6 author Paolo 'Blaisorblade' Giarrusso Thu, 14 Jul 2005 00:33:34 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] uml: fix lvalue for gcc4 Russell King This construct is refused by GCC 4, so here's the (corrected) fix. Thanks to Russell for noticing a stupid mistake I did when first sending this. As he noted, the code is largely suboptimal however it currently works, and will be fixed shortly. Just read the access_ok check on fp which is NULL, or the pointer arithmetic below which should be done with a cast to void*: frame = (struct rt_sigframe __user *) round_down(stack_top - sizeof(struct rt_sigframe), 16) - 8; The code shows clearly that has been taken from arch/x86_64/kernel/signal.c:setup_rt_frame(), maybe in a bit of a hurry. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3952db66efee4f22f3c6a0fd02a1e7071556a8d6 tree 8dd07e8fb5b725d1ba8c43e9f66ad89f84093a4b parent 514fd7fd01d378a7b5584c657d9807fc28f22079 author Michael Krufky Thu, 14 Jul 2005 00:33:33 -0700 committer Linus Torvalds Thu, 14 Jul 2005 09:00:24 -0700 [PATCH] dvb: LGDT3302 QAM lock bug fix Fix QAM lock bug. Previously, it was necessary to first scan in VSB before attempting to get a QAM lock. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fce2cf62e4bd9c24717009865ac00940cb664b8 tree 4868666a6031372d9ad2301b170fef35540dc0ae parent 0f34e3f53378a11c9ecba0f8165da50e8b01d53f author Chen, Kenneth W Tue, 12 Jul 2005 15:57:13 -0700 committer James Bottomley Thu, 14 Jul 2005 11:25:17 -0400 [SCSI] Redundant this_count check in sd_init_command() I was going over the scsi I/O submit path, when sd_init_command construct the scsi command, this_count is already checked in the previous else if clause. Why does it need to check it again in the last else block? Patch to delete the spurious check. Signed-off-by: Ken Chen Signed-off-by: James Bottomley commit 0f34e3f53378a11c9ecba0f8165da50e8b01d53f tree 51249a9aa0443133c0c8eb88c127cf98bed9b37f parent 2f4701d8274c8663f5c50323dc72fefa24b55091 author Chen, Kenneth W Tue, 12 Jul 2005 17:06:14 -0700 committer James Bottomley Thu, 14 Jul 2005 11:24:12 -0400 [SCSI] Redundant memset in scsi_alloc_sgtable scsi_init_io calls scsi_alloc_sgtable and then calls blk_rq_map_sg to initialize the scatterlist structure. blk_rq_map_sg() already memset the structure for every new segment. That makes the memset in scsi_alloc_sgtable unnecessary. Patch to delete the extra memset in scsi_alloc_sgtable. Tested on a x86_64 machine. Looks stable to me. Signed-off-by: Ken Chen Signed-off-by: James Bottomley commit 2f4701d8274c8663f5c50323dc72fefa24b55091 tree dc578144cfcf1db0687c7c67f6f8b300577359b1 parent 77d74143612c1dab6c055dac21f965929ba0a7e6 author James.Smart@Emulex.Com Wed, 13 Jul 2005 22:05:03 -0400 committer James Bottomley Thu, 14 Jul 2005 11:21:27 -0400 [SCSI] add int_to_scsilun() function One of the issues we had was reverting the midlayers lun value into the 8byte lun value that we wanted to send to the device. Historically, there's been some combination of byte swapping, setting high/low, etc. There's also been no common thread between how our driver did it and others. I also got very confused as to why byteswap routines were being used. Anyway, this patch is a LLDD-callable function that reverts the midlayer's lun value, stored in an int, to the 8-byte quantity (note: this is not the real 8byte quantity, just the same amount that scsilun_to_int() was able to convert and store originally). This also solves the dilemma of the thread: http://marc.theaimsgroup.com/?l=linux-kernel&m=112116767118981&w=2 A patch for the lpfc driver to use this function will be along in a few days (batched with other patches). Signed-off-by: James Bottomley commit 77d74143612c1dab6c055dac21f965929ba0a7e6 tree 07a06f60be57487294bdc19df81b66e56ae3ccec parent 88c2666351f41a7d4459e79594f687a356f5e57c author Andrew Vasquez Fri, 08 Jul 2005 18:00:36 -0700 committer James Bottomley Thu, 14 Jul 2005 11:15:55 -0400 [SCSI] qla2xxx: Cleanup FC remote port registration. Cleanup FC remote port registration. Due to the inherent behaviour (an immediate scan) of adding a 'target'-role-capable rport via fc_remote_port_add(), split the registration into two steps -- addition as unknown-type role, then use fc_remote_port_rolchg() with appropriate role (based on PLOGI/PRLI bits). This allows for a more cleaner rport->dd_data management as can be seen with the simplified qla2xxx_slave_alloc() function. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 88c2666351f41a7d4459e79594f687a356f5e57c tree a07eb04ead61e0aa61d22cde8963f1b74f9b0891 parent f0883ac6a74b403f0f2e91166ba06227cc4690e6 author Andrew Vasquez Fri, 08 Jul 2005 17:59:26 -0700 committer James Bottomley Thu, 14 Jul 2005 11:15:31 -0400 [SCSI] qla2xxx: Consolidate ISP24xx chip reset logic. Consolidate ISP24xx chip reset logic. Consolidate near-duplicate RISC reset logic from qla24xx_reset_chip() and qla24xx_chip_diag(). Also, after initiating a soft-reset, insure the firmware has completed all NVRAM accesses before continuing. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f0883ac6a74b403f0f2e91166ba06227cc4690e6 tree cac7bf4c6ee6eb3c8c3797f34c45498d22a8f00f parent 84e29308ede3edb4f03911246c33d697ff18722e author Andrew Vasquez Fri, 08 Jul 2005 17:58:43 -0700 committer James Bottomley Thu, 14 Jul 2005 11:15:10 -0400 [SCSI] qla2xxx: Add firmware version number to qla24xx_fw_version_str(). Add firmware version number to qla24xx_fw_version_str(). Original code was accidently trimmed during port. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 84e29308ede3edb4f03911246c33d697ff18722e tree 0482cff2c657df5fcc5144028b22a4adfa43b30a parent 97cbe08ff8e78b075ed0ff64c99be8fb2d40d03f author Mark Haverkamp Thu, 07 Jul 2005 13:40:00 -0700 committer James Bottomley Thu, 14 Jul 2005 11:14:45 -0400 [SCSI] aacraid: Fix sgmap error The wrong sgmap structure is being assigned in aac_send_raw_srb. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 97cbe08ff8e78b075ed0ff64c99be8fb2d40d03f tree b2e4cacbc72c2b9df9b641b2ef0b55b15b267da9 parent cc4731f5b4539faea237bacd170a27a230a7e724 author Andrew Vasquez Wed, 06 Jul 2005 10:32:47 -0700 committer James Bottomley Thu, 14 Jul 2005 11:13:36 -0400 [SCSI] qla2xxx: Update version number to 8.01.00b5-k. Update version number to 8.01.00b5-k. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit cc4731f5b4539faea237bacd170a27a230a7e724 tree e1c9df14e591a29680b4a287972b74cc53f2b5d7 parent ae91193cd5bc80b4d62b1d4f0e7f3fea48f41ccd author Andrew Vasquez Wed, 06 Jul 2005 10:32:37 -0700 committer James Bottomley Thu, 14 Jul 2005 11:13:11 -0400 [SCSI] qla2xxx: Correct maximum supported lun and target-id definitions. Correct maximum supported lun and target-id definitions. The driver uses command-IOCBs which support a maximum lun value of 0xffff -- correct #define to reflect the change. Also, remove superfluous MAX_TARGET definition. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ae91193cd5bc80b4d62b1d4f0e7f3fea48f41ccd tree 2568251229ced2421aee55fe2d7539a9b039056c parent f04a311fdc85d580526ef25eb547628042b1e510 author Andrew Vasquez Wed, 06 Jul 2005 10:32:27 -0700 committer James Bottomley Thu, 14 Jul 2005 11:12:12 -0400 [SCSI] qla2xxx: Update copyright banner. Update copyright banner. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f04a311fdc85d580526ef25eb547628042b1e510 tree c7d06a75e493959828e5c0ffc832f30b919610ce parent fa2a1ce53d4b869b74da9a770770c79f9af64914 author Andrew Vasquez Wed, 06 Jul 2005 10:32:17 -0700 committer James Bottomley Thu, 14 Jul 2005 11:09:05 -0400 [SCSI] qla2xxx: Firmware updates. Firmware updates. Resync with latest 21xx firmware -- 1.19.25. Resync with latest 22xx firmware -- 2.02.08. Resync with latest 23xx/63xx firmware -- 3.03.15. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fa2a1ce53d4b869b74da9a770770c79f9af64914 tree da350e79117d3177f51c2788c51aeba425afd4ca parent ba5140b48e35aa4e4b57eb6db5cface63d7bd712 author Andrew Vasquez Wed, 06 Jul 2005 10:32:07 -0700 committer James Bottomley Thu, 14 Jul 2005 11:03:15 -0400 [SCSI] qla2xxx: Code scrubbing. Code scrubbing. - Remove trailing whitespace from driver files. - Remove unused #defines and inlines. - Standardize on C comments (// -> /* */) Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ba5140b48e35aa4e4b57eb6db5cface63d7bd712 tree f0ac4e3e6465333ba563783c7f57d6e5e6f24863 parent fca297037127e524e8f61b3fc1c7a1886e5d757b author Andrew Vasquez Wed, 06 Jul 2005 10:31:57 -0700 committer James Bottomley Thu, 14 Jul 2005 11:02:48 -0400 [SCSI] qla2xxx: NVRAM id-list updates. NVRAM id-list updates. Resync with latest NVRAM subsystem ID list. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fca297037127e524e8f61b3fc1c7a1886e5d757b tree 90ee788ff7839cb3b6db67698ff5e065391636bf parent 0107109ed69c9e04b6fa35ac41d870c74dcce3fc author Andrew Vasquez Wed, 06 Jul 2005 10:31:47 -0700 committer James Bottomley Thu, 14 Jul 2005 11:02:23 -0400 [SCSI] qla2xxx: Add OS initialization codes for ISP24xx recognition. Add OS initialization codes for ISP24xx recognition. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 0107109ed69c9e04b6fa35ac41d870c74dcce3fc tree 4abc6e4e4b37a69bca4c863972af655dc92c78ea parent 9a853f71804d80e862362f6d0743d06955305752 author Andrew Vasquez Wed, 06 Jul 2005 10:31:37 -0700 committer James Bottomley Thu, 14 Jul 2005 11:02:06 -0400 [SCSI] qla2xxx: Add ISP24xx initialization routines. Add ISP24xx initialization routines. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 9a853f71804d80e862362f6d0743d06955305752 tree 311136d6956994e6ac2d6479e0d0b1fbbffe8564 parent 2b6c0cee90cecbce35fb6d65fed94f22e5063be0 author Andrew Vasquez Wed, 06 Jul 2005 10:31:27 -0700 committer James Bottomley Thu, 14 Jul 2005 11:00:27 -0400 [SCSI] qla2xxx: Add ISP24xx ISR routines. Add ISP24xx ISR routines. Add appropriate glue-code for ISP24xx support -- this included generalizing some of the core handling routines (qla2x00_async_event() [pull-up retrieval of mailbox values] and qla2x00_status_entry()]. Fixup 2100/2300 ISRs to handle the new conventions. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 2b6c0cee90cecbce35fb6d65fed94f22e5063be0 tree b0bc0240e95d72d67cf3f23ee84375b629128063 parent 459c537807bd72cce7b007fb218bb5a658a6c3c1 author Andrew Vasquez Wed, 06 Jul 2005 10:31:17 -0700 committer James Bottomley Thu, 14 Jul 2005 11:00:07 -0400 [SCSI] qla2xxx: Add ISP24xx IOCB manipulation routines. Add ISP24xx IOCB manipulation routines. Add appropriate glue-code for ISP24xx support while manipulting IOCB packets. Add an ISP24xx specific 'start_scsi' routine due to command-type-7 layout changes. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 459c537807bd72cce7b007fb218bb5a658a6c3c1 tree 18a05e5f8fb73651219860f7056c6f73a885d623 parent 1c7c63574ff3e568ca374e9f05e30b8d7d64273e author Andrew Vasquez Wed, 06 Jul 2005 10:31:07 -0700 committer James Bottomley Thu, 14 Jul 2005 10:56:54 -0400 [SCSI] qla2xxx: Add ISP24xx flash-manipulation routines. Add ISP24xx flash-manipulation routines. Add read/write flash manipulation routines for the ISP24xx. Update sysfs NVRAM objects to use generalized accessor functions. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 1c7c63574ff3e568ca374e9f05e30b8d7d64273e tree cb82036b580bb57eb01e897b877e1da50259e2a0 parent 8c958a99d6a903ce4ffaa6780f3425a8567db9e6 author Andrew Vasquez Wed, 06 Jul 2005 10:30:57 -0700 committer James Bottomley Thu, 14 Jul 2005 10:56:39 -0400 [SCSI] qla2xxx: Add MBX command routines for ISP24xx support. Add MBX command routines for ISP24xx support. Generalize several routines [qla2x00_load_ram_ext(), qla2x00_execute_fw(), qla2x00_verify_checksum()] to handle larger addressing space. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 8c958a99d6a903ce4ffaa6780f3425a8567db9e6 tree 5c82091aacf011fbeb99bcbcab30f1ece632e792 parent 6d9b61ed94fd9097f81adfa78d31c4613d9b3ae4 author Andrew Vasquez Wed, 06 Jul 2005 10:30:47 -0700 committer James Bottomley Thu, 14 Jul 2005 10:56:14 -0400 [SCSI] qla2xxx: Generalize SNS generic-services routines. Generalize SNS generic-services routines. Consolidate completion-status checking while adding support for the ISP24xx. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 6d9b61ed94fd9097f81adfa78d31c4613d9b3ae4 tree d7065f9968681cb9052bbe700d6f6bcebe19e2f1 parent 3d71644cf952fd1157a13173237258422ba3c569 author Andrew Vasquez Wed, 06 Jul 2005 10:30:36 -0700 committer James Bottomley Thu, 14 Jul 2005 10:55:08 -0400 [SCSI] qla2xxx: Add ISP24xx diagnostic routines. Add ISP24xx diagnostic routines. Add function and structure definitions for the ISP24xx diagnostic firmware dump routines. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 3d71644cf952fd1157a13173237258422ba3c569 tree 1bae220781b973a9dca754a08aa7630e05ffc50e parent ac96202ba096f8fc1ccaf45a2f159a52639ece29 author Andrew Vasquez Wed, 06 Jul 2005 10:30:26 -0700 committer James Bottomley Thu, 14 Jul 2005 10:54:46 -0400 [SCSI] qla2xxx: Add ISP24xx definitions. Add ISP24xx definitions. Add requisite structure definitions and #define's for ISP24xx support. Also drop volatile modifiers from device_reg_* register layouts as the members are never really accessed, only their offsets within the layout are used during reads and writes. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit ac96202ba096f8fc1ccaf45a2f159a52639ece29 tree a2a239c061a65c798cb74a47164e5e51f3abf5a8 parent abbd8870b9cb7754a4935826bc9f3c7b029f8b7c author Andrew Vasquez Wed, 06 Jul 2005 10:30:16 -0700 committer James Bottomley Thu, 14 Jul 2005 10:54:20 -0400 [SCSI] qla2xxx: Add pci ids for new ISP types. Add pci ids for new ISP types. Move old definitions in local qla_def.h file to pci_ids.h as well. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit abbd8870b9cb7754a4935826bc9f3c7b029f8b7c tree c795f15d35c18a08c97dcbdaeb83a4e0c67679c6 parent eb1dd68bc897d4e5a5133bfffbd4777a0fe16c4c author Andrew Vasquez Wed, 06 Jul 2005 10:30:05 -0700 committer James Bottomley Thu, 14 Jul 2005 10:47:30 -0400 [SCSI] qla2xxx: Factor-out ISP specific functions to method-based call tables. Factor-out ISP specific functions to method-based call tables. In anticipation of ISP24xx/ISP25xx support, factor-out ISP specific functions into a method-based call table. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 514fd7fd01d378a7b5584c657d9807fc28f22079 tree bda3910b7737a4fac464792657ffedcba185d799 parent 1e279dd855d15b72364b4103f872d67d8592647e parent 99ad25a313bda566a346b46a6015afa65bc0a02b author Linus Torvalds Wed, 13 Jul 2005 15:48:33 -0700 committer Linus Torvalds Wed, 13 Jul 2005 15:48:33 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit c514720716c7b109ff980f8b3cb93f9af872c91c tree 490a9578995705de69712893a190b67651bddc56 parent 07929dcb963786512c760dd3ecd148d89295e7e5 parent 1e279dd855d15b72364b4103f872d67d8592647e author Anton Altaparmakov Wed, 13 Jul 2005 23:09:23 +0100 committer Anton Altaparmakov Wed, 13 Jul 2005 23:09:23 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit 1e279dd855d15b72364b4103f872d67d8592647e tree 088ef616453b91b6915e0576d233762a1e5a78d3 parent 3720bd8b1e16b41b9ec640bf91f12e1a1b5cb961 author Miles Bader Wed, 13 Jul 2005 14:40:03 +0900 committer Linus Torvalds Wed, 13 Jul 2005 12:25:48 -0700 [PATCH] v850: Align ___start___param to match parameter alignment Signed-off-by: Miles Bader Signed-off-by: Linus Torvalds commit 3720bd8b1e16b41b9ec640bf91f12e1a1b5cb961 tree fecdaa69be5fc1f934909b89a6e3ae2c79241dfe parent a61caa8523a76e497f6b2a05350c892bc5ee402c parent 6a8b4d319c52f8a3fdca46b185d001fbf0939911 author Linus Torvalds Wed, 13 Jul 2005 12:19:30 -0700 committer Linus Torvalds Wed, 13 Jul 2005 12:19:30 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6 commit 99ad25a313bda566a346b46a6015afa65bc0a02b tree b9443fed1ab74f320c4ee0791864ee96d7c069df parent f62c4a96f74d6c6dd56d1742697e94a5c2085e87 parent 9a556e89081b0c1c2f83cee915363b15a68a6f2d author Tony Luck Wed, 13 Jul 2005 12:15:43 -0700 committer Tony Luck Wed, 13 Jul 2005 12:15:43 -0700 Auto merge with /home/aegl/GIT/linus commit f62c4a96f74d6c6dd56d1742697e94a5c2085e87 tree 488dc6db60c7c3e8ef10fd79f175cff1a5426a4c parent 59a0a8aa6ab6e46926e8d12694593267c0869440 author David Mosberger-Tang Tue, 12 Jul 2005 21:51:00 -0700 committer Tony Luck Wed, 13 Jul 2005 11:56:32 -0700 [IA64] Make PCDP work again. Mark's patch added "attribute((packed))" for pcdp_uart, without accounting for the fact that the structure definition _relied_ on implicit padding by 6 bytes. Fix is to make the padding explicit. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit 59a0a8aa6ab6e46926e8d12694593267c0869440 tree e0ceb39701ee5018f95a44904dde6c7b7aa82068 parent 7c2a6c62c013a4ea57243536fc7f3987e4ba04bc author Dean Nelson Wed, 13 Jul 2005 05:45:00 -0700 committer Tony Luck Wed, 13 Jul 2005 11:52:45 -0700 [IA64] fix call of smp_processor_id() by XPC while XPC calls smp_processor_id() twice from xpc_setup_infrastructure() with preemption enabled, which gets flagged if 'DEBUG_PREEMPT=y'. This patch replaces the two calls to smp_processor_id() by a single call to raw_smp_processor_id() since any CPU within the partition will do. Signed-off-by: Dean Nelson Acked-by: Christoph Hellwig Signed-off-by: Tony Luck commit a61caa8523a76e497f6b2a05350c892bc5ee402c tree d4fb2ca050a31e47adf45e811017964c46ccf38c parent f264cc28245d4d635d586be8c2148140726756dd author Geert Uytterhoeven Wed, 13 Jul 2005 12:56:42 +0200 committer Linus Torvalds Wed, 13 Jul 2005 11:44:27 -0700 [PATCH] Amiga joystick: Fix typo introduced by the open/close race fixes Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds commit f264cc28245d4d635d586be8c2148140726756dd tree b1ab054289acd3054e54d3caabaadaf1455f2d58 parent 96e2844999f99878fc5b03b81ccaa60580005b81 author Olof Johansson Wed, 13 Jul 2005 01:11:44 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:25 -0700 [PATCH] ppc64: add 970MP PVR Add PVR value and tests for 970MP. Also switch to a simpler (but slightly longer) check at init time for simplicity. Signed-off-by: Olof Johansson Cc: Benjamin Herrenschmidt Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96e2844999f99878fc5b03b81ccaa60580005b81 tree 353c1bc9a5602d556e6741f4a261010cde45e93b parent f13487c66c75f5db004a0631047309d9e7c5aab7 author David Gibson Wed, 13 Jul 2005 01:11:42 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:25 -0700 [PATCH] ppc64: kill bitfields in ppc64 hash code This patch removes the use of bitfield types from the ppc64 hash table manipulation code. Signed-off-by: David Gibson Acked-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f13487c66c75f5db004a0631047309d9e7c5aab7 tree 19585562d0ffb0923ed6c2d829d44f10eb619482 parent 7ee91ec14bd4def036b4084da29869382078e44b author Olaf Hering Wed, 13 Jul 2005 01:11:41 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:25 -0700 [PATCH] ppc32: make -j12 all fails in uImage target make -j zImage may call if_changed twice at the same time, the result is a corrupted vmlinux.gz Write to a temporary file for the time being until someone with make skills fix the serialization properly. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Sam Ravnborg Acked-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee91ec14bd4def036b4084da29869382078e44b tree 5d4a99f6c0255184328c47f33258088b2ef0f8b1 parent 068e1b94bbd268f375349f68531829c8b7c210bc author Steve Dickson Wed, 13 Jul 2005 01:10:47 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:24 -0700 [PATCH] NFS: procfs/sysctl interfaces for lockd do not work on x86_64 Allow the setting of NLM timeouts and grace periods through the proc and sysclt interfaces on x86_64 architectures Signed-off-by: Steve Dickson Acked-by: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 068e1b94bbd268f375349f68531829c8b7c210bc tree 310708cce88df2f72a5f98d1cb67dc1d8fe19171 parent ddca3b80cef36cc668f924ef5154a79acb19ebd7 author Martin Schwidefsky Wed, 13 Jul 2005 01:10:46 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:24 -0700 [PATCH] s390: fadvise hint values. Add special case for the POSIX_FADV_DONTNEED and POSIX_FADV_NOREUSE hint values for s390-64. The user space values in the s390-64 glibc headers for these two defines have always been 6 and 7 instead of 4 and 5. All 64 bit applications therefore use the "wrong" values. To get these applications working without recompiling the kernel needs to accept the "wrong" values. Since the values for s390-31 are 4 and 5 the compat wrapper for fadvise64 and fadvise64_64 need to rewrite the values for 31 bit system calls. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddca3b80cef36cc668f924ef5154a79acb19ebd7 tree 2cfb8ac6837682d975a1cb761360977ac54a6aef parent 88bd5121d635136e01369141367f315665534b3c author Guillaume Autran Wed, 13 Jul 2005 01:10:45 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:24 -0700 [PATCH] ppc32: fix destroy_context() race condition Fix for a race condition when a task gets preempted by another task while executing the destroy_context(...) in a FEW_CONTEXTS environment. mm->context == NO_CONTEXT but the context_map may indicate all contexts are in use. The solution to this problem is to disable kernel preemption while destroying a MMU context. Signed-off-by: Guillaume Autran Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88bd5121d635136e01369141367f315665534b3c tree 33de8dda3d77ebf7bf48864c464a36665f66497c parent 9a556e89081b0c1c2f83cee915363b15a68a6f2d author Anton Altaparmakov Wed, 13 Jul 2005 01:10:44 -0700 committer Linus Torvalds Wed, 13 Jul 2005 11:25:24 -0700 [PATCH] Fix soft lockup due to NTFS: VFS part and explanation Something has changed in the core kernel such that we now get concurrent inode write outs, one e.g via pdflush and one via sys_sync or whatever. This causes a nasty deadlock in ntfs. The only clean solution unfortunately requires a minor vfs api extension. First the deadlock analysis: Prerequisive knowledge: NTFS has a file $MFT (inode 0) loaded at mount time. The NTFS driver uses the page cache for storing the file contents as usual. More interestingly this file contains the table of on-disk inodes as a sequence of MFT_RECORDs. Thus NTFS driver accesses the on-disk inodes by accessing the MFT_RECORDs in the page cache pages of the loaded inode $MFT. The situation: VFS inode X on a mounted ntfs volume is dirty. For same inode X, the ntfs_inode is dirty and thus corresponding on-disk inode, which is as explained above in a dirty PAGE_CACHE_PAGE belonging to the table of inodes ($MFT, inode 0). What happens: Process 1: sys_sync()/umount()/whatever... calls __sync_single_inode() for $MFT -> do_writepages() -> write_page for the dirty page containing the on-disk inode X, the page is now locked -> ntfs_write_mst_block() which clears PageUptodate() on the page to prevent anyone else getting hold of it whilst it does the write out (this is necessary as the on-disk inode needs "fixups" applied before the write to disk which are removed again after the write and PageUptodate is then set again). It then analyses the page looking for dirty on-disk inodes and when it finds one it calls ntfs_may_write_mft_record() to see if it is safe to write this on-disk inode. This then calls ilookup5() to check if the corresponding VFS inode is in icache(). This in turn calls ifind() which waits on the inode lock via wait_on_inode whilst holding the global inode_lock. Process 2: pdflush results in a call to __sync_single_inode for the same VFS inode X on the ntfs volume. This locks the inode (I_LOCK) then calls write-inode -> ntfs_write_inode -> map_mft_record() -> read_cache_page() of the page (in page cache of table of inodes $MFT, inode 0) containing the on-disk inode. This page has PageUptodate() clear because of Process 1 (see above) so read_cache_page() blocks when tries to take the page lock for the page so it can call ntfs_read_page(). Thus Process 1 is holding the page lock on the page containing the on-disk inode X and it is waiting on the inode X to be unlocked in ifind() so it can write the page out and then unlock the page. And Process 2 is holding the inode lock on inode X and is waiting for the page to be unlocked so it can call ntfs_readpage() or discover that Process 1 set PageUptodate() again and use the page. Thus we have a deadlock due to ifind() waiting on the inode lock. The only sensible solution: NTFS does not care whether the VFS inode is locked or not when it calls ilookup5() (it doesn't use the VFS inode at all, it just uses it to find the corresponding ntfs_inode which is of course attached to the VFS inode (both are one single struct); and it uses the ntfs_inode which is subject to its own locking so I_LOCK is irrelevant) hence we want a modified ilookup5_nowait() which is the same as ilookup5() but it does not wait on the inode lock. Without such functionality I would have to keep my own ntfs_inode cache in the NTFS driver just so I can find ntfs_inodes independent of their VFS inodes which would be slow, memory and cpu cycle wasting, and incredibly stupid given the icache already exists in the VFS. Below is a patch that does the ilookup5_nowait() implementation in fs/inode.c and exports it. ilookup5_nowait.diff: Introduce ilookup5_nowait() which is basically the same as ilookup5() but it does not wait on the inode's lock (i.e. it omits the wait_on_inode() done in ifind()). This is needed to avoid a nasty deadlock in NTFS. Signed-off-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a556e89081b0c1c2f83cee915363b15a68a6f2d tree 74e2f68c4d04ab0fcf05dbd4f82c14169d639405 parent 5995f16b4a464c8a57de7c9d5ddf4758dbacad41 author Robert Love Wed, 13 Jul 2005 13:49:23 -0400 committer Linus Torvalds Wed, 13 Jul 2005 11:09:31 -0700 [PATCH] inotify: misc cleanup Really simple, basic cleanup. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 5995f16b4a464c8a57de7c9d5ddf4758dbacad41 tree e26de11916f1f6234f954b262837501aca263da7 parent 0399cb08c54708db231d616f106f64d920e0b723 author Robert Love Wed, 13 Jul 2005 12:38:39 -0400 committer Linus Torvalds Wed, 13 Jul 2005 11:09:31 -0700 [PATCH] inotify: event ordering This rearranges the event ordering for "open" to be consistent with the ordering of the other events. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 0399cb08c54708db231d616f106f64d920e0b723 tree f0424d43c578f7c5c1e7aa6ea6ca1c906c7ac289 parent 153f805781d35c91ab2f54aa2b8930cc4cfc7e89 author Robert Love Wed, 13 Jul 2005 12:38:18 -0400 committer Linus Torvalds Wed, 13 Jul 2005 11:09:31 -0700 [PATCH] inotify: move sysctl This moves the inotify sysctl knobs to "/proc/sys/fs/inotify" from "/proc/sys/fs". Also some related cleanup. Signed-off-by: Robert Love Signed-off-by: Linus Torvalds commit 153f805781d35c91ab2f54aa2b8930cc4cfc7e89 tree 90bb6279bec053f942aed60ecfb0580c79b0e422 parent c327ff6250fb558659ad689fe33f50524eda74e3 author James Bottomley Wed, 13 Jul 2005 09:38:05 -0400 committer Linus Torvalds Wed, 13 Jul 2005 11:07:54 -0700 [PATCH] fix voyager subarchitecture EXPORT_SYMBOL breakage caused by i386_ksym reduction This patch: [PATCH] Remove i386_ksyms.c, almost made files like smp.c do their own EXPORT_SYMBOLS. This means that all subarchitectures that override these symbols now have to do the exports themselves. This patch adds the exports for voyager (which is the most affected since it has a separate smp harness). However, someone should audit all the other subarchitectures to see if any others got broken. Signed-off-by: James Bottomley Signed-off-by: Linus Torvalds commit c327ff6250fb558659ad689fe33f50524eda74e3 tree 57e0ed5a753c55f1693d7fe8628b4411ab5ae71d parent c0ac515e2951dd2a999cfd21dea3fdc1055f1573 parent 59192ed9e7aa81b06a1803661419f7261afca1ad author Linus Torvalds Wed, 13 Jul 2005 10:37:36 -0700 committer Linus Torvalds Wed, 13 Jul 2005 10:37:36 -0700 Merge head 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit c0ac515e2951dd2a999cfd21dea3fdc1055f1573 tree cb4f8124f9302c3ad02037451b89fe98dca6b4ed parent 6cd59f7a4119fef124677827a9b30684c2c8e674 author Jeff Mahoney Wed, 13 Jul 2005 11:55:42 -0400 committer Linus Torvalds Wed, 13 Jul 2005 10:28:43 -0700 [PATCH] Lindent: ignore .indent.pro When I recently submitted a Lindent patch, it turned out that my .indent.pro options were also applied to the tree. This patch directs indent(1) to ignore the .indent.pro directives and only use options specified on the command line. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 6cd59f7a4119fef124677827a9b30684c2c8e674 tree 084162f271f09b0d4787b92ae414cf0cc310f521 parent c32511e2718618f0b53479eb36e07439aa363a74 parent 73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc author Linus Torvalds Wed, 13 Jul 2005 10:12:50 -0700 committer Linus Torvalds Wed, 13 Jul 2005 10:12:50 -0700 Merge /home/torvalds/linux-2.6-arm commit 6a8b4d319c52f8a3fdca46b185d001fbf0939911 tree cad5d67d42c73f690f4c3638cedebd1ec33273b6 parent 1b3035b7fcc72b6b36f2a3634dad832eb2453ce8 author Joern Engel Wed, 13 Jul 2005 16:45:43 +0100 committer Thomas Gleixner Wed, 13 Jul 2005 19:04:04 +0200 [MTD] cfi_cmdset_0002: Plugged a mem leak. Signed-off-by: Joern Engel Signed-off-by: Thomas Gleixner commit 59192ed9e7aa81b06a1803661419f7261afca1ad tree 31f592365ad2ecf5eb606de10290da502fc7eb74 parent 6211502d7ee9e515e4458d0c0ebfbb70553dc7de author Ian Dall Wed, 13 Jul 2005 09:15:18 -0500 committer Dave Kleikamp Wed, 13 Jul 2005 09:15:18 -0500 JFS: Need to be root to create files with security context It turns out this is due to some inverted logic in xattr.c Signed-off-by: Dave Kleikamp commit 6211502d7ee9e515e4458d0c0ebfbb70553dc7de tree 24ab6b567f793f8dd1c1e3458769290df2bf8f52 parent f7f24758ac98a506770bc5910d33567610fa3403 author Dave Kleikamp Wed, 13 Jul 2005 09:07:53 -0500 committer Dave Kleikamp Wed, 13 Jul 2005 09:07:53 -0500 JFS: Allow security.* xattrs to be set on symlinks All of the different xattr namespaces have different rules. user.* and ACL's are not allowed on symlinks, and since these were the first xattrs implemented, I assumed there was no need to support xattrs on symlinks. This one-line patch should fix it. Signed-off-by: Dave Kleikamp commit f7f24758ac98a506770bc5910d33567610fa3403 tree ff7fad3d01bf9dc2e2e54b908f9fca4891e1ee72 parent b38a3ab3d1bb0dc3288f73903d4dc4672b5cd2d0 parent c32511e2718618f0b53479eb36e07439aa363a74 author Dave Kleikamp Wed, 13 Jul 2005 08:57:38 -0500 committer Dave Kleikamp Wed, 13 Jul 2005 08:57:38 -0500 Merge with /home/shaggy/git/linus-clean/ Signed-off-by: Dave Kleikamp commit 1b3035b7fcc72b6b36f2a3634dad832eb2453ce8 tree 728174d72943cc9b981a5843553551df62eddc41 parent a98a5d04f400ad112e59cadd739dbabf89417e60 parent c32511e2718618f0b53479eb36e07439aa363a74 author Thomas Gleixner Wed, 13 Jul 2005 10:45:00 +0200 committer Thomas Gleixner Wed, 13 Jul 2005 10:45:00 +0200 Merge with rsync://fileserver/linux commit 7c2a6c62c013a4ea57243536fc7f3987e4ba04bc tree 02e3e1d9888f81110ba85bef531e5c695f6064ce parent 08357f82d4decc48bbfd39ae30d5fe0754f7f576 author Christoph Lameter Tue, 12 Jul 2005 16:03:00 -0700 committer Tony Luck Tue, 12 Jul 2005 16:12:55 -0700 [IA64] Altix pcibus_to_node implementation The Altix subarch does not provide node information via ACPI. Instead hooks are used to fixup pci structures. This patch determines the nodes for Altix PCI busses. Remote Bridges: --------------- Altix supports remote I/O nodes without memory or processors but with bridges. The TIOCA type of bridge is an AGP bridge and the PROM provides information about the closest node. That information will be returned by pcibus_to_node. The TIOCP remote bridge type is a PCI bridge but the PROM does not provide a closest node id. pcibus_to_node will return -1 for devices on those bridges meaning that device control structures may be allocated on any node. Safeguard: ---------- Should the fixups result in invalid node information for a pci controller then a warning will be printed and pcibus_to_node will return -1. This patch also fixes the "FIXME" in sn_dma_alloc_coherent. This means that dma_alloc_coherent will now use alloc_pages_node to allocate memory local to the node that the PCI device is connected to. Signed-off-by: Christoph Lameter Signed-off-by: Tony Luck commit a98a5d04f400ad112e59cadd739dbabf89417e60 tree 5eeb7f45c0090de40c7523e2b9dfd5e86b22169e parent 751382dd5cb2702368d281a50b55c2d6c4e8fbfc parent 7ac3db59fd4410405ce55e2a25c397aec440d8da author Todd Poynor Tue, 12 Jul 2005 03:34:39 +0100 committer Thomas Gleixner Wed, 13 Jul 2005 00:58:44 +0200 Merge with rsync://fileserver/linux commit 08357f82d4decc48bbfd39ae30d5fe0754f7f576 tree c8516a8f208e1cb253bd33f41857b0699104b130 parent 60a762b6a6dec17cc4339b60154902fd04c2f9f2 author Zoltan Menyhart Fri, 03 Jun 2005 05:36:00 -0700 committer Tony Luck Tue, 12 Jul 2005 15:33:18 -0700 [IA64] improve flush_icache_range() Check with PAL to see what the i-cache line size is for each level of the cache, and so use the correct stride when flushing the cache. Acked-by: David Mosberger Signed-off-by: Tony Luck commit 751382dd5cb2702368d281a50b55c2d6c4e8fbfc tree 1d9195fe0bf264668b92fe2b2c36a4d76d253162 parent b62205986a73a40e4fc174d2ef668e3895e925bc author Todd Poynor Tue, 12 Jul 2005 03:34:39 +0100 committer Thomas Gleixner Wed, 13 Jul 2005 00:03:19 +0200 [JFFS2] Avoid compiler warnings when JFFS2_FS_WRITEBUFFER=n Signed-off-by: Todd Poynor Signed-off-by: Thomas Gleixner commit b62205986a73a40e4fc174d2ef668e3895e925bc tree e5754d64dcdf508dd4f3602135c963990d261411 parent e4fef6618992bea48b7856ebbd236796b744964f author Artem B. Bityuckiy Tue, 12 Jul 2005 17:37:12 +0100 committer Thomas Gleixner Wed, 13 Jul 2005 00:02:33 +0200 [JFFS2] Init locks early during mount In case of a mount error locks might be uninitialized but accessed by the resulting call to jffs2_kill_sb(). Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit e4fef6618992bea48b7856ebbd236796b744964f tree fd0f89f0a1f5c955aec128843bc0663b326ff830 parent 86ffc0d5f5f0c8a6fe70eccade3f7ae8e9630edf author Artem B. Bityuckiy Sun, 10 Jul 2005 16:15:36 +0100 committer Thomas Gleixner Tue, 12 Jul 2005 23:58:26 +0200 [JFFS2] Rename function and update comments We recently changed the method of collecting and sorting of tmp_dnode objects to use a temporary RB-tree instead of a temporary list. Rename function and update comments. Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 86ffc0d5f5f0c8a6fe70eccade3f7ae8e9630edf tree bef3020557487dd8755ca0d7b93aa46e0ddbf11a parent 336d2ff7115bd4391108a16f476c739cb4a505b0 author Artem B. Bityuckiy Sun, 10 Jul 2005 14:13:58 +0100 committer Thomas Gleixner Tue, 12 Jul 2005 23:56:40 +0200 [JFFS2] Remove needless variable initialization Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 336d2ff7115bd4391108a16f476c739cb4a505b0 tree ac5dbf60deb2b97ec3cc0f0278da24efecacef21 parent 1ca70351af02b1f0eb9cd2e7eb7a547f8ad5d893 author Artem B. Bityuckiy Thu, 07 Jul 2005 16:45:32 +0100 committer Thomas Gleixner Tue, 12 Jul 2005 23:55:05 +0200 [JFFS2] Avoid alloc/dealloc for zero sized nodes Signed-off-by: Artem B. Bityuckiy Signed-off-by: Thomas Gleixner commit 60a762b6a6dec17cc4339b60154902fd04c2f9f2 tree d01918a446ad451a1ff5226f04e1747a6e48eb85 parent 514604c6d1779c55d3e97dc4e9a71c117c1ccbcd author Greg Edwards Tue, 28 Jun 2005 11:13:00 -0700 committer Tony Luck Tue, 12 Jul 2005 14:13:08 -0700 [IA64] remove CONFIG_IA64_SGI_SN_SIM This patch removes the CONFIG_IA64_SGI_SN_SIM option entirely, allowing any kernel bootable on sn2 to also be booted in the simulator. Boot tested on Altix and HP rx2600. Signed-off-by: Greg Edwards Signed-off-by: Tony Luck commit 514604c6d1779c55d3e97dc4e9a71c117c1ccbcd tree 19241b4db64f1da60c0dd594606c5d5fba8b254f parent 1604d9c8f8dffafe3a077dc5ae7c935d2318bcf6 author Christoph Lameter Thu, 07 Jul 2005 16:59:00 -0700 committer Tony Luck Tue, 12 Jul 2005 11:04:22 -0700 [IA64] pcibus_to_node implementation for IA64 pcibus_to_node provides a way for the Linux kernel to identify to which node a certain pcibus connects to. Allocations of control structures for devices can then be made on the node where the pci bus is located to allow local access during interrupt and other device manipulation. This patch provides a new "node" field in the the pci_controller structure. The node field will be set based on ACPI information (thanks to Alex Williamson Signed-off-by: Tony Luck commit 1ca70351af02b1f0eb9cd2e7eb7a547f8ad5d893 tree 2f00b49a065e1da68ea446b24c44a4b5bad1474e parent 97f927a4d7dbccde0a854a62c3ea54d90bae8679 author Thomas Gleixner Tue, 12 Jul 2005 17:51:06 +0200 committer Thomas Gleixner Tue, 12 Jul 2005 17:51:06 +0200 [MTD] Make XIP support depend on CONFIG_ARM ARM is the only known user of this at the moment. Prevent allyes builds for other archs from failing Signed-off-by: Thomas Gleixner commit eb1dd68bc897d4e5a5133bfffbd4777a0fe16c4c tree c09328dade56919dbcd838ed5bc51143a04ce67a parent 2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 author James Bottomley Sat, 02 Jul 2005 12:22:01 -0400 committer James Bottomley Mon, 11 Jul 2005 17:04:43 -0500 [SCSI] SPI transport class, don't negotiate options not supported At the moment, the transport class blindly tries to set things like QAS and IU, even if the drive won't support them. It's best not to annoy the devices like this and instead only set what the drive says is actually supported. Signed-off-by: James Bottomley commit 73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc tree 79c81babb78c36f94f677ee587ab884903fffa12 parent e11b2236eace94ad9a2e421904742e83976405ed author Russell King Mon, 11 Jul 2005 19:42:58 +0100 committer Russell King Mon, 11 Jul 2005 19:42:58 +0100 [PATCH] ARM SMP: Initialise cpu_present_map Rather than relying on the fixup code in init/main.c, explicitly initialise cpu_present_map. Signed-off-by: Russell King commit e11b2236eace94ad9a2e421904742e83976405ed tree d5882b4b06bf7a9310f993bf1935d720e6be9e7d parent d12734d14e5602816f0b16b17a8cef5ea70afb5a author Russell King Mon, 11 Jul 2005 19:26:31 +0100 committer Russell King Mon, 11 Jul 2005 19:26:31 +0100 [PATCH] ARM SMP: We list IRQs for present CPUs, not online CPUs Signed-off-by: Russell King commit 2a40342e0e72a2ba89aaa9e6c9a9eceb04741b24 tree cda0577cc5348df8e4662b9615af7941852be3a3 parent dfd287f6ee9be1e3ae8fe1160c185aac6ca83c6a author Christoph Hellwig Tue, 28 Jun 2005 16:50:40 +0200 committer James Bottomley Mon, 11 Jul 2005 12:47:47 -0500 [SCSI] aic7xxx: remove ahc_tailq now that we do normal PCI probing there's no need to keep a list of all HBAs. Rejections fixed up and Signed-off-by: James Bottomley commit dfd287f6ee9be1e3ae8fe1160c185aac6ca83c6a tree 1fbe2c728b84fad009b34693b1b0797e79eca90d parent 7f602c53939fdb1bca12151a28f9b90cde046fb1 author Christoph Hellwig Tue, 28 Jun 2005 16:49:44 +0200 committer James Bottomley Mon, 11 Jul 2005 12:43:09 -0500 [SCSI] aic7xxx: sane pci probing always probe in bus order, avoid any reordering Signed-off-by: James Bottomley commit 7f602c53939fdb1bca12151a28f9b90cde046fb1 tree 9d2e0de06ad36113832491768df65e3f1e89d2fe parent a5990120252539bccdaf70a66ac021966e80e3f7 author James Bottomley Sat, 21 May 2005 10:24:37 -0500 committer James Bottomley Mon, 11 Jul 2005 12:38:33 -0500 [SCSI] add TYPE_RBC to our type table Here's a tiny update that means we print the correct ASCII type information Signed-off-by: James Bottomley commit d12734d14e5602816f0b16b17a8cef5ea70afb5a tree cb6793f2bd1d5bbc53562c690e3e09351439e98a parent 7343c9ba8ed9d504cd2daf960da58971c6631601 author Russell King Mon, 11 Jul 2005 17:38:36 +0100 committer Russell King Mon, 11 Jul 2005 17:38:36 +0100 [PATCH] ARM SMP: Rename cpu_present_mask to cpu_possible_map The kernel's terminology for this is cpu_possible_map not cpu_present_mask. Signed-off-by: Russell King commit a5990120252539bccdaf70a66ac021966e80e3f7 tree 42c5acdbcbe5e56611552234207dcc97272ce469 parent cc33895abbba85668de11df2cd04d6faf0be43e1 author Andrew Morton Sat, 09 Jul 2005 01:30:02 -0700 committer James Bottomley Mon, 11 Jul 2005 09:35:55 -0500 [SCSI] dpt_i2o warning fix drivers/scsi/dpt_i2o.c: In function `adpt_queue': drivers/scsi/dpt_i2o.c:385: warning: unused variable `timeout' Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit cc33895abbba85668de11df2cd04d6faf0be43e1 tree f11e0b5542ac334a4e70c1a61d560458e848468d parent ace4e7185d565cab057139e8927659bd072bf25a author Andrew Morton Sat, 09 Jul 2005 01:30:03 -0700 committer James Bottomley Mon, 11 Jul 2005 09:35:39 -0500 [SCSI] aic79xx: ahd_linux_dev_reset() cleanup Use the macros consistently in ahd_linux_dev_reset(). If ahd_linux_dev_reset() really can be called with local interrupts disabled then yuk. Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit 7343c9ba8ed9d504cd2daf960da58971c6631601 tree 7f6b6b37f444f685bfbd82f0ce19305e600b660c parent 5c23804a0941a111752fdacefe0bea2db1b4d93f author Olaf Hering Mon, 11 Jul 2005 10:17:06 +0100 committer Russell King Mon, 11 Jul 2005 10:17:06 +0100 [PATCH] ARM: remove linux/version.h include from arch/arm Changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering Signed-off-by: Russell King commit 07929dcb963786512c760dd3ecd148d89295e7e5 tree f5db01392ebb968b4c8acb5a6b3b03a833bfcb02 parent c2d9b8387bce8b4a0fd402fab7dc1319d11a418d parent 19f7241a3b087bbf4dd107c979608fdb56c83a09 author Anton Altaparmakov Mon, 04 Jul 2005 14:14:42 +0100 committer Anton Altaparmakov Mon, 04 Jul 2005 14:14:42 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit ace4e7185d565cab057139e8927659bd072bf25a tree bfabfde5f511dfb58f1b2cad2e3e5406c5a9cbb2 parent b4687ca42cb82a7821f682dde0310b16ce284770 author James Bottomley Sat, 02 Jul 2005 14:46:14 -0500 committer James Bottomley Sun, 03 Jul 2005 10:44:21 -0500 [SCSI] aic7xxx: fix boot hang with Fujitsu drives Apparently these are the only drives that try to negotiate IU and QAS at u160 speeds. The aic7xxx driver can't cope with this. The fix is to eliminate the IU and QAS setting routines. I've #if 0'd them out, just in case we ever get the sequencer documentation out of Adaptec, since we'd then be able to fix the driver. Signed-off-by: James Bottomley commit b4687ca42cb82a7821f682dde0310b16ce284770 tree e36a26a2908369535d89863626934e269976d662 parent fc2b035d38c06a884cb521bb4a1e1183f5eaccf1 author Linda Xie Mon, 27 Jun 2005 17:01:48 -0500 committer James Bottomley Sat, 02 Jul 2005 19:25:09 -0500 [SCSI] IBM VSCSI Client: sending client info to server Fix the problem in IBM VSCSI Client where the client doesn't send the information which is expected by the server. Signed-off-by: Linda Xie Signed-off-by: James Bottomley commit fc2b035d38c06a884cb521bb4a1e1183f5eaccf1 tree 421258fe7c6fc4d49b7ed9f6ef3995f25b361358 parent eda912e34a0cc40ddd502b3f984e37ebb2b13a71 author Christoph Hellwig Mon, 27 Jun 2005 22:43:06 +0200 committer James Bottomley Sat, 02 Jul 2005 19:12:10 -0500 [SCSI] ifdef out broken fc4 EH code This code pokes deep into EH internals and duplicates scsi_error.c code wrongly. It doesn't compile anymore in scsi-misc, so let's #if 0 out the code - the driver hasn't worked for more than five years anyway. Signed-off-by: James Bottomley commit eda912e34a0cc40ddd502b3f984e37ebb2b13a71 tree 15c5f3b2ee64fe53f67d5fdd442d1e215bc931fe parent c44ce1737438d20ac58e808897e3f8eb015c66d3 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:42 -0400 committer James Bottomley Sat, 02 Jul 2005 19:08:56 -0500 [SCSI] lpfc: Change version to 8.0.29. Signed-off-by: James Smart Signed-off-by: James Bottomley commit c44ce1737438d20ac58e808897e3f8eb015c66d3 tree 2e164356e424ea7b17c1086f777355146b534c71 parent 5542134f61157d0bbd4e392919cae811a88a3e81 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:39 -0400 committer James Bottomley Sat, 02 Jul 2005 19:08:29 -0500 [SCSI] lpfc: Update copyright notices Update copyright notice text and include year 2005. Add Copyright notice for Christoph Hellwig to several files: lpfc.h lpfc_attr.c lpfc_els.c lpfc_hbadisc.c lpfc_init.c lpfc_mbox.c lpfc_mem.c lpfc_nportdisc.c lpfc_scsi.c lpfc_sli.c Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5542134f61157d0bbd4e392919cae811a88a3e81 tree addf48e45dc8444702b4e3380a7139f8b68902cf parent 2501322eee84763a07fd4a3eed81b63c1837e204 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:36 -0400 committer James Bottomley Sat, 02 Jul 2005 19:06:16 -0500 [SCSI] lpfc: Remove $Id$ keyword strings. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 2501322eee84763a07fd4a3eed81b63c1837e204 tree b256f2185fdcca3c4c6087e4c989ac1a3de9a622 parent 5eb95af086f5d2e554bb119f3cb71f7ca38bfe85 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:33 -0400 committer James Bottomley Sat, 02 Jul 2005 18:58:48 -0500 [SCSI] lpfc: Fix ADISC completion incorrectly putting initiators on mapped list Symptom - An unmapped node (initiator) that goes away in a situation such as cable pull, comes back as a mapped node. Fix - On ADISC completion, put a list on the mapped list only if it is a FCP_TARGET. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5eb95af086f5d2e554bb119f3cb71f7ca38bfe85 tree d969d2f0e53b4c5289ff2acc4c141bf246866ac2 parent 1f679cafd2d02b7076e9045d9c4fb77ef8d059f2 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:30 -0400 committer James Bottomley Sat, 02 Jul 2005 18:57:22 -0500 [SCSI] lpfc: Add completion handler to the abort iocbs Add completion handler to the abort iocbs to close a hole where we could reuse an iotag. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1f679cafd2d02b7076e9045d9c4fb77ef8d059f2 tree 634a1337b734ed2ff8715e4c9368e764a03b6aac parent 06325e7459b54fc924d00fe363068f6cbf284571 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:27 -0400 committer James Bottomley Sat, 02 Jul 2005 18:55:23 -0500 [SCSI] lpfc: Fix LS_RJT never sent by lpfc_els_unsol_event() lpfc_els_unsol_event() checks rjt_err to determine is LS_RJT should be sent. However, rjt_err was set to LSEXP_NOTHING_ELSE (which is 0) in cases where an LS_RJT should be sent, so rjt_err was never true. Change lpfc_els_unsol_event() to set rjt_err to 1 when LS_RJT should be sent. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 06325e7459b54fc924d00fe363068f6cbf284571 tree 4fc2b7b6b9e77e489ed9b5e64ad77393ba23b15f parent 564b2960833f8802ae2b7b7ad840f154647549c7 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:22 -0400 committer James Bottomley Sat, 02 Jul 2005 17:18:52 -0500 [SCSI] lpfc: Add LP6000 PCI ID Fix driver not seeing LP6000. Fix: add PCI id to the pci_device_id table and a short description for the HBA in get_hba_model_desc(). Also add a default clause to the switch statement that parses the various PCI ID's. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 564b2960833f8802ae2b7b7ad840f154647549c7 tree ba4413981f7141f657a20f8be85b4f2592b97060 parent 87f6eaffd732bc20b5a02e9f36b86f67310d8129 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:17 -0400 committer James Bottomley Sat, 02 Jul 2005 17:07:57 -0500 [SCSI] lpfc: Set max_sectors in host template Add max_sectors to the driver host template and initialize it with 0xFFFF since the driver has no limitations on the size a transfer contained by a scsi command and that fits within the sg_tablesize provisioned by the driver. This fixes a performance issue seen in some configurations. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 87f6eaffd732bc20b5a02e9f36b86f67310d8129 tree 8f2efa960a64c503fe4a945f3e514cd689bd1daa parent db468d108abc0bb348bcfc54b8e06145922fb6b1 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:13 -0400 committer James Bottomley Sat, 02 Jul 2005 17:07:03 -0500 [SCSI] lpfc: Fix error loading on sparc Bug reported via SourceForge - lpfc does not load on sparc. The lpfc driver must byteswap all FCP IOCBs to recover the data into cpu native format. Also correct issue of "iotag not found" messages Signed-off-by: James Smart Signed-off-by: James Bottomley commit db468d108abc0bb348bcfc54b8e06145922fb6b1 tree 20fc4fd71fe9e194bb36c5083e3ea1cb3fab81a5 parent 6e8215e48865bda2e07c1c0633952e35fa3b170c author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:08 -0400 committer James Bottomley Sat, 02 Jul 2005 17:05:32 -0500 [SCSI] lpfc: Fixes in mbox_timeout_handler Analysis: Timeout of READ_SPARM64 causes call to lpfc_mbox_timeout_handler which reads psli->mbox_active to determine the timeout mbox. Timeout handler then NULL's psli->mbox_active and calls lpfc_mbx_cmpl_read_sparam(), which on timeout condition, calls link_down(). link_down() now calls disc_done() which calls mbox_timeout_hander() again since WORKER_MBOX_TMO is still set, which goes back to read psli->mbox_active which is already NULL'ed. Remove redundant if statement in lpfc_mbox_timeout_handler. pmbox is assigned psli->mbox_active so there is no need to check if it actually equals psli->mbox_active. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6e8215e48865bda2e07c1c0633952e35fa3b170c tree e058445be102bd68e4f793d7336264ba1cd35034 parent 4cc2da1d84eeddb9e9259e61efd58691399434b2 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:04 -0400 committer James Bottomley Sat, 02 Jul 2005 17:04:06 -0500 [SCSI] Fix issue where all hosts log nodev message for other initiators Fix issue where all hosts connected to SAN get spammed with nodev message when other initiators go away. Display nodev message only when FC targets go away. However this behavior will be overridden if LOG_DISCOVERY is set. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 4cc2da1d84eeddb9e9259e61efd58691399434b2 tree 74f71238d64cc41153e1015ddcc8a8b5982e7714 parent 6e3815ba3a6d392fa9cfbf08208f64c06d9558c4 author James.Smart@Emulex.Com Sat, 25 Jun 2005 10:34:00 -0400 committer James Bottomley Sat, 02 Jul 2005 16:58:16 -0500 [SCSI] lpfc: hgp/pgp cleanups From: Christoph Hellwig : - rename PGP/HPH to lpfc_pgp/lpfc_hgp - use __le32 types for the members to start fixing sparse -Wbitwise issues - remove lpfc_sli.MBhostaddr, we can always use the pointer from SLI2_DESC directly Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6e3815ba3a6d392fa9cfbf08208f64c06d9558c4 tree 4702625002cb4fd6a0a59112a34b3cc10c8efcc5 parent c0df28cfe012652160a530f9aa74b0a49c77eac5 author Moore, Eric Dean Fri, 24 Jun 2005 12:18:57 -0600 committer James Bottomley Fri, 01 Jul 2005 08:56:31 -0500 [SCSI] - mptfusion - convert to new change_queue_depth API Convert driver to use new change_queue_depth API. Signed-off-by: Eric Moore Fixed up rejections and Signed-off-by: James Bottomley commit c2d9b8387bce8b4a0fd402fab7dc1319d11a418d tree 082cf7dd287f61635198011e61c3de1be130cc42 parent 2a322e4c08be4e7cb0c04b427ddaaa679fd88863 parent 9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 author Anton Altaparmakov Thu, 30 Jun 2005 09:52:20 +0100 committer Anton Altaparmakov Thu, 30 Jun 2005 09:52:20 +0100 Automerge with /usr/src/ntfs-2.6.git. commit b38a3ab3d1bb0dc3288f73903d4dc4672b5cd2d0 tree 31d017dd1f9f4a8ca3e80d25d110c64ae82d4aae parent f5f287738bddf38ec9ca79344f00dab675e1bbf5 author Dave Kleikamp Mon, 27 Jun 2005 15:35:37 -0500 committer Dave Kleikamp Mon, 27 Jun 2005 15:35:37 -0500 JFS: Code cleanup - getting rid of never-used debug code I'm finally getting around to cleaning out debug code that I've never used. There has always been code ifdef'ed out by _JFS_DEBUG_DMAP, _JFS_DEBUG_IMAP, _JFS_DEBUG_DTREE, and _JFS_DEBUG_XTREE, which I have personally never used, and I doubt that anyone has since the design stage back in OS/2. There is also a function, xtGather, that has never been used, and I don't know why it was ever there. Signed-off-by: Dave Kleikamp commit 2a322e4c08be4e7cb0c04b427ddaaa679fd88863 tree ad8cc17bfd3b5e57e36f07a249028667d72f0b96 parent ba6d2377c85c9b8a793f455d8c9b6cf31985d70f parent 8678887e7fb43cd6c9be6c9807b05e77848e0920 author Anton Altaparmakov Sun, 26 Jun 2005 22:19:40 +0100 committer Anton Altaparmakov Sun, 26 Jun 2005 22:19:40 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit ba6d2377c85c9b8a793f455d8c9b6cf31985d70f tree 21e65c76db693869c84864af02e91c4b997a6ba5 parent af859a42d798f047fbfe198ed315a942662c39d2 author Anton Altaparmakov Sun, 26 Jun 2005 22:12:02 +0100 committer Anton Altaparmakov Sun, 26 Jun 2005 22:12:02 +0100 NTFS: Fix a nasty deadlock that appeared in recent kernels. The situation: VFS inode X on a mounted ntfs volume is dirty. For same inode X, the ntfs_inode is dirty and thus corresponding on-disk inode, i.e. mft record, which is in a dirty PAGE_CACHE_PAGE belonging to the table of inodes, i.e. $MFT, inode 0. What happens: Process 1: sys_sync()/umount()/whatever... calls __sync_single_inode() for $MFT -> do_writepages() -> write_page for the dirty page containing the on-disk inode X, the page is now locked -> ntfs_write_mst_block() which clears PageUptodate() on the page to prevent anyone else getting hold of it whilst it does the write out. This is necessary as the on-disk inode needs "fixups" applied before the write to disk which are removed again after the write and PageUptodate is then set again. It then analyses the page looking for dirty on-disk inodes and when it finds one it calls ntfs_may_write_mft_record() to see if it is safe to write this on-disk inode. This then calls ilookup5() to check if the corresponding VFS inode is in icache(). This in turn calls ifind() which waits on the inode lock via wait_on_inode whilst holding the global inode_lock. Process 2: pdflush results in a call to __sync_single_inode for the same VFS inode X on the ntfs volume. This locks the inode (I_LOCK) then calls write-inode -> ntfs_write_inode -> map_mft_record() -> read_cache_page() for the page (in page cache of table of inodes $MFT, inode 0) containing the on-disk inode. This page has PageUptodate() clear because of Process 1 (see above) so read_cache_page() blocks when it tries to take the page lock for the page so it can call ntfs_read_page(). Thus Process 1 is holding the page lock on the page containing the on-disk inode X and it is waiting on the inode X to be unlocked in ifind() so it can write the page out and then unlock the page. And Process 2 is holding the inode lock on inode X and is waiting for the page to be unlocked so it can call ntfs_readpage() or discover that Process 1 set PageUptodate() again and use the page. Thus we have a deadlock due to ifind() waiting on the inode lock. The solution: The fix is to use the newly introduced ilookup5_nowait() which does not wait on the inode's lock and hence avoids the deadlock. This is safe as we do not care about the VFS inode and only use the fact that it is in the VFS inode cache and the fact that the vfs and ntfs inodes are one struct in memory to find the ntfs inode in memory if present. Also, the ntfs inode has its own locking so it does not matter if the vfs inode is locked. Signed-off-by: Anton Altaparmakov commit c0df28cfe012652160a530f9aa74b0a49c77eac5 tree 2df1c8b22b1ddaffb4ad073bd0cd585808c095b3 parent 937abeaadf1b00252690f9de35b9df13feb0afd7 author James Bottomley Sat, 25 Jun 2005 16:23:44 -0500 committer James Bottomley Sun, 26 Jun 2005 12:22:30 -0500 [SCSI] aic7xxx: correct target valid check in aic7xxx_proc.c From: Andy Whitcroft Updated to remove the bogus translated target check. Signed-off-by: James Bottomley commit 937abeaadf1b00252690f9de35b9df13feb0afd7 tree 4cec1bff9dc4bc25c1503df5c96bf02f9fbf7013 parent 3111b0d1646b3e1891dc08112d087aed2146fafe author Christoph Hellwig Sun, 19 Jun 2005 13:43:56 +0200 committer James Bottomley Sun, 26 Jun 2005 12:20:42 -0500 [SCSI] use list_for_each_entry_safe in scsi_error.c Signed-off-by: James Bottomley commit 3111b0d1646b3e1891dc08112d087aed2146fafe tree 63c0e61dfc184ae6e567f94f1c95dbd517879ed3 parent 8d115f845a0bd59cd263e791f739964f42b7b0e8 author Christoph Hellwig Sun, 19 Jun 2005 13:43:26 +0200 committer James Bottomley Sun, 26 Jun 2005 12:17:24 -0500 [SCSI] remove scsi_eh_eflags_ macros Just opencoded access to eh_eflags, it's much more readable anyway. Signed-off-by: James Bottomley commit 8d115f845a0bd59cd263e791f739964f42b7b0e8 tree 8d4af0e70f0d8d5c04e2efa1d68fe507dc5d8923 parent b4edcbcafdecc80ef5356ff6452768b1b926ea76 author Christoph Hellwig Sun, 19 Jun 2005 13:42:05 +0200 committer James Bottomley Sun, 26 Jun 2005 12:16:24 -0500 [SCSI] remove scsi_cmnd->state We never look at it except for the old megaraid driver that abuses it for sending internal commands. That usage can be fixed easily because those internal commands are single-threaded by a mutex and we can easily use a completion there. Signed-off-by: James Bottomley commit b4edcbcafdecc80ef5356ff6452768b1b926ea76 tree e30da76124facf97f4183b0fe41b29d90b00f237 parent f5ad56145d43cdb68760bba3e14655ff6ae726aa author Christoph Hellwig Sun, 19 Jun 2005 13:40:52 +0200 committer James Bottomley Sun, 26 Jun 2005 12:15:28 -0500 [SCSI] remove scsi_cmnd->owner never checked anywhere Signed-off-by: James Bottomley commit f5ad56145d43cdb68760bba3e14655ff6ae726aa tree 8d5f2db39e519b47f60ccac5224b11f787a47abe parent a4c8f6285165a7089edb2010dbd894148ca95d57 author Christoph Hellwig Sun, 19 Jun 2005 13:40:08 +0200 committer James Bottomley Sun, 26 Jun 2005 12:14:46 -0500 [SCSI] remove scsi_cmnd->abort_reason Never used for anything but printing it out in debug routines. Signed-off-by: James Bottomley commit a4c8f6285165a7089edb2010dbd894148ca95d57 tree 50ce1ab6b0944f13d821ada235292e4363ddb1c2 parent fa4c49669f0408557bc52cd7054c920a8790dec6 author Christoph Hellwig Sun, 19 Jun 2005 13:39:23 +0200 committer James Bottomley Sun, 26 Jun 2005 12:14:10 -0500 [SCSI] remove scsi_cmnd.eh_state it's never set to anything, and just three broken drivers are looking at it and doing odd things. Signed-off-by: James Bottomley commit fa4c49669f0408557bc52cd7054c920a8790dec6 tree 78dadb45b6779538e907e13666bd59b81e0df1f8 parent 849717383abc795b8f5efe7b9e0792b2e1f8916a author James Bottomley Sun, 26 Jun 2005 08:45:39 -0500 committer James Bottomley Sun, 26 Jun 2005 08:45:39 -0500 [SCSI] megaraid: fix compilation after eh locking changes From: Christoph Hellwig Patch fixed up and commit 849717383abc795b8f5efe7b9e0792b2e1f8916a tree 98e91d7c9ebdc1ad976175c855939459a4c29932 parent 12413197eef2a29e0b9fb0fa541f5cbaeb1d3f3f author Mark Haverkamp Mon, 20 Jun 2005 11:55:24 -0700 committer James Bottomley Sun, 26 Jun 2005 08:33:10 -0500 [SCSI] aacraid: New products patch This patch add the following products to the driver: IBM ServeRAID 8i ICP 9014R0 ICP 9024R0 ICP 9047MA ICP 9087MA ICP 9085LI ICP 5085AU Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 12413197eef2a29e0b9fb0fa541f5cbaeb1d3f3f tree 9f294101d0b9df2c49a0911b127aa99823bc0060 parent 117e4b27ebb1133072b1453145e60e576569e8af author Christoph Hellwig Sat, 11 Jun 2005 01:05:01 +0200 committer James Bottomley Sun, 26 Jun 2005 08:31:47 -0500 [SCSI] remove scsi_set_device scsi_add_host is the proper place to set the device, but people copy the scsi_set_device usage from older drivers again and again. note that this leaves some legacy drivers like qlogicisp/qlogicfc without pci association in sysfs, but they're scheduled to go away soon anyway. Signed-off-by: James Bottomley commit 117e4b27ebb1133072b1453145e60e576569e8af tree 74c75db80f838c86de60afbd3f921edcd22d1c7d parent 6f0dcb72d6a053fff9288b742d3bcc9b23f0f6db author Nishanth Aravamudan Mon, 20 Jun 2005 23:55:07 +0200 committer James Bottomley Sun, 26 Jun 2005 08:31:26 -0500 [SCSI] scsi/qla1280: replace schedule_timeout() with ssleep() Use ssleep() instead of schedule_timeout to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: James Bottomley commit af859a42d798f047fbfe198ed315a942662c39d2 tree 6c892cbd43284e98cc879f0518dde8efc09740c7 parent 4757d7dff65b56f2115038ad1615725f31806787 author Anton Altaparmakov Sat, 25 Jun 2005 21:07:27 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 21:07:27 +0100 NTFS: Prepare for 2.1.23 release: Update documentation and bump version. Signed-off-by: Anton Altaparmakov commit 4757d7dff65b56f2115038ad1615725f31806787 tree b4a17ecec51c9b1175a22513699ae97c099c5d63 parent fa3be92317c4ae34edcf5274e8bbeff181e20b7a author Anton Altaparmakov Sat, 25 Jun 2005 17:24:08 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 17:24:08 +0100 NTFS: Change ntfs_map_runlist_nolock() to only decompress the mapping pairs if the requested vcn is inside it. Otherwise we get into problems when we try to map an out of bounds vcn because we then try to map the already mapped runlist fragment which causes ntfs_mapping_pairs_decompress() to fail and return error. Update ntfs_attr_find_vcn_nolock() accordingly. Signed-off-by: Anton Altaparmakov commit fa3be92317c4ae34edcf5274e8bbeff181e20b7a tree 84ae4ace6c891aa95b804950283e1f8f3e46c730 parent 1d58b27b8d77ecb816cfa8f846b78c845675eb89 author Anton Altaparmakov Sat, 25 Jun 2005 17:15:36 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 17:15:36 +0100 NTFS: Add an extra parameter @last_vcn to ntfs_get_size_for_mapping_pairs() and ntfs_mapping_pairs_build() to allow the runlist encoding to be partial which is desirable when filling holes in sparse attributes. Update all callers. Signed-off-by: Anton Altaparmakov commit 1d58b27b8d77ecb816cfa8f846b78c845675eb89 tree 7c10e4182f87d00511aeb1d0583e3c09eeb807de parent 3bd1f4a173a3445f9919c21e775de2d8b9deacf8 author Anton Altaparmakov Sat, 25 Jun 2005 17:04:55 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 17:04:55 +0100 NTFS: Change the runlist terminator of the newly allocated cluster(s) to LCN_ENOENT in ntfs_attr_make_non_resident(). Otherwise the runlist code gets confused. Signed-off-by: Anton Altaparmakov commit 3bd1f4a173a3445f9919c21e775de2d8b9deacf8 tree 6b32056b5b63d41fc5d032318ed0f94dbc562288 parent ca8fd7a0c6aa835e8014830b290cb965e85ac88e author Anton Altaparmakov Sat, 25 Jun 2005 16:51:58 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 16:51:58 +0100 NTFS: Fix several occurences of a bug where we would perform 'var & ~const' with a 64-bit variable and a int, i.e. 32-bit, constant. This causes the higher order 32-bits of the 64-bit variable to be zeroed. To fix this cast the 'const' to the same 64-bit type as 'var'. Signed-off-by: Anton Altaparmakov commit ca8fd7a0c6aa835e8014830b290cb965e85ac88e tree 504929d2a4beacb86fbc420c85f5c102f2a27fed parent 9f993fe4634b39ca4404ba278053b03f360ec08a author Anton Altaparmakov Sat, 25 Jun 2005 16:31:27 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 16:31:27 +0100 NTFS: Detect the case when Windows has been suspended to disk on the volume to be mounted and if this is the case do not allow (re)mounting read-write. This is done by parsing hiberfil.sys if present. Signed-off-by: Anton Altaparmakov commit 9f993fe4634b39ca4404ba278053b03f360ec08a tree 36e62a3d384fa9c313cacd73b7aea086d7f74e82 parent 3f2faef00c6af17542ea8672ed7d09367222b2d0 author Anton Altaparmakov Sat, 25 Jun 2005 16:15:36 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 16:15:36 +0100 NTFS: Fix a bug in address space operations error recovery code paths where if the runlist was not mapped at all and a mapping error occured we would leave the runlist locked on exit to the function so that the next access to the same file would try to take the lock and deadlock. Signed-off-by: Anton Altaparmakov commit 3f2faef00c6af17542ea8672ed7d09367222b2d0 tree 8b5cf2d76f2af684988d79b04e21ae92aaea8711 parent 38b22b6e9f46ab8f73ef5734f0e0a000766a9258 author Anton Altaparmakov Sat, 25 Jun 2005 15:28:56 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 15:28:56 +0100 NTFS: Stamp the transaction log ($UsnJrnl), aka user space journal, if it is active on the volume and we are mounting read-write or remounting from read-only to read-write. Signed-off-by: Anton Altaparmakov commit 38b22b6e9f46ab8f73ef5734f0e0a000766a9258 tree 2ccc41ef55918d3af43e444bde7648562a031559 parent 3357d4c75f1fb67e7304998c4ad4e9a9fed66fa4 parent b3e112bcc19abd8e9657dca34a87316786e096f3 author Anton Altaparmakov Sat, 25 Jun 2005 14:27:27 +0100 committer Anton Altaparmakov Sat, 25 Jun 2005 14:27:27 +0100 Automerge with /usr/src/ntfs-2.6.git. commit f5f287738bddf38ec9ca79344f00dab675e1bbf5 tree c8144a3906f6904f7cf18c4520976c79a1e15b0a parent a8ad86f2dc46356f87be1327dabc18bdbda32f50 author Sonny Rao Thu, 23 Jun 2005 16:57:56 -0500 committer Dave Kleikamp Thu, 23 Jun 2005 16:57:56 -0500 JFS: performance patch Basically, we saw a large amount of time spent in the jfs_strfromUCS_le() function, mispredicting the branch inside the loop, so I just added some unlikely modifiers to the if statements to re-ordered the code. Again, these simple changes provided > 2 % on spec-sfs, so please consider it for inclusion. Signed-off-by: Dave Kleikamp commit 3357d4c75f1fb67e7304998c4ad4e9a9fed66fa4 tree ceba46966a5a1112a05d257d8ecb25ae5eee95e0 parent 364f6c717deef4a3ac4982e670fa9846b43cd060 parent ee98689be1b054897ff17655008c3048fe88be94 author Anton Altaparmakov Thu, 23 Jun 2005 11:26:22 +0100 committer Anton Altaparmakov Thu, 23 Jun 2005 11:26:22 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit 364f6c717deef4a3ac4982e670fa9846b43cd060 tree 47e3967d6e2220130f2c070e300c97709143b28f parent 4ff4258a3e558814a3d48c50a59cd22f56bbea2f parent 1d6757fbff5bc86e94e59ab0d7bdd7e71351d839 author Anton Altaparmakov Wed, 08 Jun 2005 15:45:45 +0100 committer Anton Altaparmakov Wed, 08 Jun 2005 15:45:45 +0100 Automatic merge with /usr/src/ntfs-2.6.git commit 4ff4258a3e558814a3d48c50a59cd22f56bbea2f tree 35ac4a5d2b162687eef0c38aecf14f3a7c5afee0 parent 442d207eb0b4e7047c4fedccd900c425e689d502 parent 5e485b7975472ba4a408523deb6541e70c451842 author Anton Altaparmakov Mon, 30 May 2005 21:34:37 +0100 committer Anton Altaparmakov Mon, 30 May 2005 21:34:37 +0100 Automatic merge with /usr/src/ntfs-2.6.git. commit 442d207eb0b4e7047c4fedccd900c425e689d502 tree 2c23dc98fba6912417164ba65b258a9da1241ae1 parent 2fb21db2548fc8b196eb8d8425f05ee1965d5344 author Anton Altaparmakov Fri, 27 May 2005 16:42:56 +0100 committer Anton Altaparmakov Fri, 27 May 2005 16:42:56 +0100 NTFS: Use C99 style structure initialization after memory allocation where possible (fs/ntfs/{attrib.c,index.c,super.c}). Thanks to Al Viro and Pekka Enberg. Signed-off-by: Anton Altaparmakov commit 2fb21db2548fc8b196eb8d8425f05ee1965d5344 tree b319e97bfb3e50bcde9a82cf089d86a7dcb03df5 parent 5eac51462f340b7c4a03b9220cf157c40b4990a5 author Pekka Enberg Wed, 25 May 2005 21:15:34 +0300 committer Anton Altaparmakov Fri, 27 May 2005 16:00:53 +0100 NTFS: Remove spurious void pointer casts from fs/ntfs/. Signed-off-by: Pekka Enberg Signed-off-by: Anton Altaparmakov commit 5eac51462f340b7c4a03b9220cf157c40b4990a5 tree 9b3ebf457ea5b1bc97aa29b1092e6e2236f18603 parent c1c58ada91cfe86f19d430282132434e620a1067 parent 4ec5240ec367a592834385893200dd4fb369354c author Anton Altaparmakov Fri, 27 May 2005 15:36:21 +0100 committer Anton Altaparmakov Fri, 27 May 2005 15:36:21 +0100 Merge with /usr/src/ntfs-2.6.git. commit c1c58ada91cfe86f19d430282132434e620a1067 tree cd12933040a65398e9779c3596f5109e37c206c3 parent 67394f8f069c2fdf90f3b6d851824c07815442af parent 2a24ab628aa7b190be32f63dfb6d96f3fb61580a author Anton Altaparmakov Wed, 25 May 2005 09:38:26 +0100 committer Anton Altaparmakov Wed, 25 May 2005 09:38:26 +0100 Merge with /usr/src/ntfs-2.6.git commit 67394f8f069c2fdf90f3b6d851824c07815442af tree 0c33e62d34dbaecea434ae9ece3cc0c56db8b1f7 parent 450cbfbbbd88876e3ccec1d277f613221ca82bb7 parent 9636273dae265b9354b861b373cd43cd76a6d0fe author Anton Altaparmakov Sat, 21 May 2005 22:00:02 +0100 committer Anton Altaparmakov Sat, 21 May 2005 22:00:02 +0100 Merge with /usr/src/ntfs-2.6.git commit 450cbfbbbd88876e3ccec1d277f613221ca82bb7 tree af0f1b4c706ba7e725cd4e877a8b7ecf021d76c2 parent d53ee3222459f347cb18985a845864bc81a44eaf parent bfd4bda097f8758d28e632ff2035e25577f6b060 author Anton Altaparmakov Thu, 05 May 2005 22:39:49 +0100 committer Anton Altaparmakov Thu, 05 May 2005 22:39:49 +0100 Merge with /usr/src/ntfs-2.6.git commit d53ee3222459f347cb18985a845864bc81a44eaf tree e9f8a061e958579a6de1d3ee133fd30ca4139f9c parent 7fafb8b634121f4fa35ff92f85737f8bc2259f06 author Anton Altaparmakov Wed, 06 Apr 2005 16:11:20 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:49:42 +0100 NTFS: Use MAX_BUF_PER_PAGE instead of variable sized array allocation for better code generation and one less sparse warning in fs/ntfs/aops.c. Signed-off-by: Anton Altaparmakov commit 7fafb8b634121f4fa35ff92f85737f8bc2259f06 tree ed581b567781b6b2a99a9f2059e3f3c324a0c928 parent bb3cf33509009132cf8c7a7729f9d26c0c5fa961 author Anton Altaparmakov Wed, 06 Apr 2005 16:09:21 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:48:00 +0100 NTFS: Minor cleanup: Define and use NTFS_MAX_CLUSTER_SIZE constant instead of hard coded 0x10000 in fs/ntfs/super.c. Signed-off-by: Anton Altaparmakov commit bb3cf33509009132cf8c7a7729f9d26c0c5fa961 tree 1e5a6a8bdf12e158a792b26b1d24b1743ce8a975 parent b0d2374d62faed034dd80e6524efb98a6341597c author Anton Altaparmakov Wed, 06 Apr 2005 13:34:31 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:46:17 +0100 NTFS: Update attribute definition handling. Signed-off-by: Anton Altaparmakov commit b0d2374d62faed034dd80e6524efb98a6341597c tree 99ae91efcc90ead7b8aa1cc44f286a528adc6545 parent 251c8427c9c418674fc3c04a11de95dc3661b560 author Anton Altaparmakov Mon, 04 Apr 2005 16:20:14 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:44:41 +0100 NTFS: Some utilities modify the boot sector but do not update the checksum. Thus, relax the checking in fs/ntfs/super.c::is_boot_sector_ntfs() to only emit a warning when the checksum is incorrect rather than refusing the mount. Thanks to Bernd Casimir for pointing this problem out. Signed-off-by: Anton Altaparmakov commit 251c8427c9c418674fc3c04a11de95dc3661b560 tree b67bab32762a4a64083de64281b1249bccfd9402 parent 53d59aad9326199ef5749c97513db498309a057e author Jesper Juhl Mon, 04 Apr 2005 14:59:56 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:42:27 +0100 NTFS: Remove checks for NULL before calling kfree() since kfree() does the checking itself. (Jesper Juhl) Signed-off-by: Jesper Juhl Signed-off-by: Anton Altaparmakov commit 53d59aad9326199ef5749c97513db498309a057e tree 3fc3e99673cf5c5c8f275cca1ec7ed2dfe5fa192 parent 1ef334d372d6a7006e20f56f7e85d8f4ec32e3c2 author Anton Altaparmakov Thu, 17 Mar 2005 10:51:33 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:39:30 +0100 NTFS: Fix compilation when configured read-only. - Add ifdef NTFS_RW around write specific code if fs/ntfs/runlist.[hc] and fs/ntfs/attrib.[hc]. - Minor bugfix to fs/ntfs/attrib.c::ntfs_attr_make_non_resident() where the runlist was not freed in all error cases. - Add fs/ntfs/runlist.[hc]::ntfs_rl_find_vcn_nolock(). Signed-off-by: Anton Altaparmakov commit 1ef334d372d6a7006e20f56f7e85d8f4ec32e3c2 tree 5b03ef9048fec32ebd7b1d75686b1dc73599c661 parent 905685f68fc72844b8c2689c39a5c6c35e840152 author Anton Altaparmakov Mon, 04 Apr 2005 14:59:42 +0100 committer Anton Altaparmakov Thu, 05 May 2005 11:27:45 +0100 NTFS: Include linux/swap.h in fs/ntfs/attrib.c for mark_page_accessed(). Signed-off-by: Anton Altaparmakov commit 905685f68fc72844b8c2689c39a5c6c35e840152 tree 0ff1d145a7771b24643c1b685ecbb3f791cda6fb parent 43b01fda8b17b2b63e7dcdeed11c2ebba56b1fc9 author Anton Altaparmakov Thu, 10 Mar 2005 11:06:19 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:26:01 +0100 NTFS: - Modify ->readpage and ->writepage (fs/ntfs/aops.c) so they detect and handle the case where an attribute is converted from resident to non-resident by a concurrent file write. - Reorder some operations when converting an attribute from resident to non-resident (fs/ntfs/attrib.c) so it is safe wrt concurrent ->readpage and ->writepage. Signed-off-by: Anton Altaparmakov commit 43b01fda8b17b2b63e7dcdeed11c2ebba56b1fc9 tree fd925e409efa2787469689180afa78152947c4a0 parent 2bfb4fff3e9731ecfe745881e53cfb2e646c47bb author Anton Altaparmakov Wed, 09 Mar 2005 15:18:43 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:23:20 +0100 NTFS: Fix sign of various error return values to be negative in fs/ntfs/lcnalloc.c. Signed-off-by: Anton Altaparmakov commit 2bfb4fff3e9731ecfe745881e53cfb2e646c47bb tree a607df8a7d0532803584dab19bf13b69acbb668d parent c0c1cc0e46b36347f11b566f99087dc5e6fc1b89 author Anton Altaparmakov Wed, 09 Mar 2005 15:15:06 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:22:07 +0100 NTFS: Add fs/ntfs/attrib.[hc]::ntfs_attr_make_non_resident(). Signed-off-by: Anton Altaparmakov commit c0c1cc0e46b36347f11b566f99087dc5e6fc1b89 tree 773105bdde7454d10dccc127048a9847f7e01f11 parent 271849a98849394ea85fa7caa8a1aaa2b3a849b7 author Anton Altaparmakov Mon, 07 Mar 2005 21:43:38 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:20:49 +0100 NTFS: - Fix bug in fs/ntfs/attrib.c::ntfs_find_vcn_nolock() where after dropping the read lock and taking the write lock we were not checking whether someone else did not already do the work we wanted to do. - Rename ntfs_find_vcn_nolock() to ntfs_attr_find_vcn_nolock(). - Tidy up some comments in fs/ntfs/runlist.c. - Add LCN_ENOMEM and LCN_EIO definitions to fs/ntfs/runlist.h. Signed-off-by: Anton Altaparmakov commit 271849a98849394ea85fa7caa8a1aaa2b3a849b7 tree 08e932656e463845faaa3610059c67e16aa92b7d parent 7e693073a940c7484c0c21e3e1603e29ce46f30c author Anton Altaparmakov Mon, 07 Mar 2005 21:36:18 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:18:43 +0100 NTFS: Add fs/ntfs/attrib.[hc]::ntfs_attr_vcn_to_lcn_nolock() used by the new write code. Signed-off-by: Anton Altaparmakov commit 7e693073a940c7484c0c21e3e1603e29ce46f30c tree 865f7c9374fd2c4f072c17b97aff2225bfc06a75 parent 9451f8519c5e6d5d064c30033fc3d4ce77de321c author Anton Altaparmakov Thu, 03 Mar 2005 16:38:59 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:17:08 +0100 NTFS: Add AT_EA in addition to AT_DATA to whitelist for being allowed to be non-resident in fs/ntfs/attrib.c::ntfs_attr_can_be_non_resident(). Signed-off-by: Anton Altaparmakov commit 9451f8519c5e6d5d064c30033fc3d4ce77de321c tree 104eedf065c4091838a27f6e674875a035c30820 parent 413826868fb49d200b741bcaeaf58ea5c5e45321 author Anton Altaparmakov Thu, 03 Mar 2005 14:43:43 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:15:46 +0100 NTFS: Correct sparse file handling. The compressed values need to be checked and set in the ntfs inode as done for compressed files and the compressed size needs to be used for vfs inode->i_blocks instead of the allocated size, again, as done for compressed files. Signed-off-by: Anton Altaparmakov commit 413826868fb49d200b741bcaeaf58ea5c5e45321 tree a106b6e0bae52a68a0b824f1999ab694d894a1f2 parent 8907547d4b099e67762ea4891c127ea1f6dd1cb7 author Anton Altaparmakov Thu, 03 Mar 2005 13:44:15 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:13:56 +0100 NTFS: Make fs/ntfs/namei.c::ntfs_get_{parent,dentry} static and move the definition of ntfs_export_ops from fs/ntfs/super.c to namei.c. Also, declare ntfs_export_ops in fs/ntfs/ntfs.h. Signed-off-by: Anton Altaparmakov commit 8907547d4b099e67762ea4891c127ea1f6dd1cb7 tree 74fa9c887db8a7915325ad9a76d874ed134c0d9a parent 5ae9fcf8f329baba4bada8719cb0337eef083a1a author Randy Dunlap Thu, 03 Mar 2005 11:19:53 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:11:47 +0100 NTFS: Fix printk format warnings on ia64. (Randy Dunlap) Signed-off-by: Randy Dunlap Signed-off-by: Anton Altaparmakov commit 5ae9fcf8f329baba4bada8719cb0337eef083a1a tree 28f268908b5bd780a114825879d7bc35d98d9dca parent 37e4c13b987a7923ec13bda7368901b3e094fecb author Anton Altaparmakov Wed, 02 Mar 2005 17:03:24 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:04:54 +0100 NTFS: - Set the ntfs_inode->allocated_size to the real allocated size in the mft record for resident attributes (fs/ntfs/inode.c). - Small readability cleanup to use "a" instead of "ctx->attr" everywhere (fs/ntfs/inode.c). Signed-off-by: Anton Altaparmakov commit 37e4c13b987a7923ec13bda7368901b3e094fecb tree 781dcc0990fc42c26492206261d4b5f325715821 parent d8ec785e0bf2941ed546711c2f240a3e030c39c7 author Anton Altaparmakov Fri, 18 Feb 2005 10:03:13 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:03:01 +0100 NTFS: Fix a nasty runlist merge bug when merging two holes. Signed-off-by: Anton Altaparmakov commit d8ec785e0bf2941ed546711c2f240a3e030c39c7 tree c4b69ce75a331731d9616fa9868cceba4e90325e parent b6ad6c52fe36ab35d0fe28c064f59de2ba670c2a author Anton Altaparmakov Fri, 18 Feb 2005 09:23:39 +0000 committer Anton Altaparmakov Thu, 05 May 2005 11:01:13 +0100 NTFS: Change time to u64 in time.h::ntfs2utc() as it otherwise generates a warning in the do_div() call on sparc32. Thanks to Meelis Roos for the report and analysis of the warning. Signed-off-by: Anton Altaparmakov commit b6ad6c52fe36ab35d0fe28c064f59de2ba670c2a tree d888c28a2c3c7fa733045dc7dc9c9bc7f157bf4a parent 1a0df15acdae065789446aca83021c72b71db9a5 author Anton Altaparmakov Tue, 15 Feb 2005 10:08:43 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:56:31 +0100 NTFS: - Split ntfs_map_runlist() into ntfs_map_runlist() and a non-locking helper ntfs_map_runlist_nolock() which is used by ntfs_map_runlist(). This allows us to map runlist fragments with the runlist lock already held without having to drop and reacquire it around the call. Adapt all callers. - Change ntfs_find_vcn() to ntfs_find_vcn_nolock() which takes a locked runlist. This allows us to find runlist elements with the runlist lock already held without having to drop and reacquire it around the call. Adapt all callers. Signed-off-by: Anton Altaparmakov commit 1a0df15acdae065789446aca83021c72b71db9a5 tree bb3bf97da4f2753aba46e1dd4855c0ef9f7c55b8 parent c002f42543e155dd2b5b5039ea2637ab26c82513 author Anton Altaparmakov Thu, 03 Feb 2005 12:04:36 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:54:37 +0100 NTFS: Fix a bug in fs/ntfs/runlist.c::ntfs_mapping_pairs_decompress() in the creation of the unmapped runlist element for the base attribute extent. Signed-off-by: Anton Altaparmakov commit c002f42543e155dd2b5b5039ea2637ab26c82513 tree ea408493d2e0e9096166ab39a8657689c15c7dfa parent f40661be038ce6ed9ef6a8b80307a9153bd95769 author Anton Altaparmakov Thu, 03 Feb 2005 12:02:56 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:53:01 +0100 NTFS: - Add disable_sparse mount option together with a per volume sparse enable bit which is set appropriately and a per inode sparse disable bit which is preset on some system file inodes as appropriate. - Enforce that sparse support is disabled on NTFS volumes pre 3.0. Signed-off-by: Anton Altaparmakov commit f40661be038ce6ed9ef6a8b80307a9153bd95769 tree 61c9c81643c96ffa7cdb186b10e5e2f141493b56 parent 946929d813a3bde095678526dd037ab9ac6efe35 author Anton Altaparmakov Thu, 13 Jan 2005 16:03:38 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:48:11 +0100 NTFS: Optimise/reorganise some error handling code in fs/ntfs/aops.c. Signed-off-by: Anton Altaparmakov commit 946929d813a3bde095678526dd037ab9ac6efe35 tree eb2601dc94364d9d376be372ccaadb304c921653 parent 3834c3f227725e2395840aed82342bda4ee9d379 author Anton Altaparmakov Thu, 13 Jan 2005 15:26:29 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:47:05 +0100 NTFS: Fixup the resident attribute resizing code in fs/ntfs/aops.c::ntfs_{prepare,commit}_write()() and re-enable it. It should be safe now. (Famous last words...) Signed-off-by: Anton Altaparmakov commit 3834c3f227725e2395840aed82342bda4ee9d379 tree 7a145a78efc44cb5ddce614cdd2618c710c8e3b7 parent 149f0c5200188a43f1fc11ca2fb14d8183013d10 author Anton Altaparmakov Thu, 13 Jan 2005 11:04:39 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:45:36 +0100 NTFS: Fix stupid bug in fs/ntfs/mft.c introduced in last changeset. Signed-off-by: Anton Altaparmakov commit 149f0c5200188a43f1fc11ca2fb14d8183013d10 tree 6fed760d28b70790e26803f6f18a663eb487764c parent 07a4e2da7dd3c9345f84b2552872f9d38c257451 author Anton Altaparmakov Wed, 12 Jan 2005 13:52:30 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:43:29 +0100 NTFS: Repeat a failed ntfs_truncate() in fs/ntfs/aops.c::ntfs_writepage() and abort if it fails again. Signed-off-by: Anton Altaparmakov commit 07a4e2da7dd3c9345f84b2552872f9d38c257451 tree 8fbd4c3e11196752ae8ff7944ccb26b93cafbb1c parent f50f3ac51983025405a71b70b033cc6bcb0d1fc1 author Anton Altaparmakov Wed, 12 Jan 2005 13:08:26 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:39:08 +0100 NTFS: Use i_size_{read,write}() in fs/ntfs/{aops.c,mft.c} and protect access to the i_size and other size fields using the size_lock. Signed-off-by: Anton Altaparmakov commit f50f3ac51983025405a71b70b033cc6bcb0d1fc1 tree 98c9e85271354a878237d77c30a144680cbc1bb1 parent 218357ff1b1b2f1bfdce89d608dbe33dd2f9f14b author Anton Altaparmakov Fri, 19 Nov 2004 22:16:00 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:37:22 +0100 NTFS: Use i_size_read() in fs/ntfs/inode.c once and then use the cached value afterwards when reading the size of the bitmap inode. Signed-off-by: Anton Altaparmakov commit 218357ff1b1b2f1bfdce89d608dbe33dd2f9f14b tree b7621daec3c516507fed85a25e9e82198589f216 parent 206f9f35b2348b7b966ff18a5564b8a3ca325ed5 author Anton Altaparmakov Thu, 18 Nov 2004 20:34:59 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:34:45 +0100 NTFS: - Use i_size_read() in fs/ntfs/super.c once and then use the cached value afterwards. Cache the initialized_size in the same way and protect access to the two sizes using the size_lock. - Minor optimization to fs/ntfs/super.c::ntfs_statfs() and its helpers. Signed-off-by: Anton Altaparmakov commit 206f9f35b2348b7b966ff18a5564b8a3ca325ed5 tree 2f221334cf8b1b9756a58e323b5fba2cdd4dc583 parent 367636772f094fd840d2d79e75257bcfaa28e70f author Anton Altaparmakov Thu, 18 Nov 2004 15:01:06 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:32:43 +0100 NTFS: In fs/ntfs/dir.c, use i_size_read() once and then the cached value afterwards. Signed-off-by: Anton Altaparmakov commit 367636772f094fd840d2d79e75257bcfaa28e70f tree a8d8f3154eea80710a8cad2b7de082046aa012f0 parent 899101aebb9ab3692aa8efe2805174ee0ee3edb5 author Anton Altaparmakov Thu, 18 Nov 2004 13:46:45 +0000 committer Anton Altaparmakov Thu, 05 May 2005 10:30:29 +0100 NTFS: - In fs/ntfs/compress.c, use i_size_read() at the start and then use the cached value everywhere. Cache the initialized_size in the same way and protect the critical region where the two sizes are read using the new size_lock of the ntfs inode. - Add the new size_lock to the ntfs_inode structure (fs/ntfs/inode.h) and initialize it (fs/ntfs/inode.c). Signed-off-by: Anton Altaparmakov commit 899101aebb9ab3692aa8efe2805174ee0ee3edb5 tree eee4728a7d82c6a33409313b561296eb66d984ef parent 36050271e6ec19390184e1a83470eb7e725cad65 parent 897f5ab2cd733a77a2279268262919caa8154b9d author Anton Altaparmakov Thu, 05 May 2005 10:15:25 +0100 committer Anton Altaparmakov Thu, 05 May 2005 10:15:25 +0100 Merge with /usr/src/ntfs-2.6.git commit 36050271e6ec19390184e1a83470eb7e725cad65 tree ef2c84331d71890e9a68eb63d925d5545cbb4103 parent d4b9ba7bf6f38cff55b5d95a0db7dd91311ce20a parent 1d42a0ecf478962e8aede355a0be41365c117ff0 author Anton Altaparmakov Thu, 05 May 2005 00:08:35 +0100 committer Anton Altaparmakov Thu, 05 May 2005 00:08:35 +0100 Merge with /usr/src/ntfs-2.6.git commit d4b9ba7bf6f38cff55b5d95a0db7dd91311ce20a tree b86c83f8c04e159bb8f806990cbf61e88ceebf30 parent db30d160cd8dfe1e53435fd76f4189778f1c728e author Anton Altaparmakov Wed, 17 Nov 2004 15:45:08 +0000 committer Anton Altaparmakov Wed, 04 May 2005 17:02:25 +0100 NTFS: Use i_size_read() in fs/ntfs/file.c::ntfs_file_open(). Signed-off-by: Anton Altaparmakov commit db30d160cd8dfe1e53435fd76f4189778f1c728e tree add695bfe2311c653143b08fa717ad909bf48f5c parent 66129f88c4cc719591f687e5c8c764fe9d3e437a author Anton Altaparmakov Thu, 11 Nov 2004 12:42:00 +0000 committer Anton Altaparmakov Wed, 04 May 2005 17:00:18 +0100 NTFS: Use i_size_read() once and then use the cached value in fs/ntfs/lcnalloc.c::ntfs_cluster_alloc(). Signed-off-by: Anton Altaparmakov commit 66129f88c4cc719591f687e5c8c764fe9d3e437a tree 3fc9f181a1666eff445bdb6a243dd4e080c233f9 parent da28438cae9a271c5c232177f81dfb243de9b7fa author Anton Altaparmakov Thu, 11 Nov 2004 12:34:00 +0000 committer Anton Altaparmakov Wed, 04 May 2005 16:57:47 +0100 NTFS: Use i_size_read() in fs/ntfs/logfile.c::ntfs_{check,empty}_logfile(). Signed-off-by: Anton Altaparmakov commit da28438cae9a271c5c232177f81dfb243de9b7fa tree 40817e52c229dbb288f6425b2056c1ad61ad6470 parent 8800cea62025a5209d110c5fa5990429239d6eee author Anton Altaparmakov Thu, 11 Nov 2004 11:18:10 +0000 committer Anton Altaparmakov Wed, 04 May 2005 14:24:16 +0100 NTFS: Use i_size_read() in fs/ntfs/attrib.c::ntfs_attr_set(). Signed-off-by: Anton Altaparmakov