commit dddf8f9e4b1af852bcd735d5f737c0d0e2ce6e76 tree c435c0d2e7d4420f4e2ffc2cb8ce36123303592b parent 911656f8a630e36b22c7e2bba3317dec9174209c parent 6192b54b845ed05cb838f86ca588cc625c703a09 author Linus Torvalds Thu, 28 Jul 2005 22:12:57 -0700 committer Linus Torvalds Thu, 28 Jul 2005 22:12:57 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 911656f8a630e36b22c7e2bba3317dec9174209c tree 2257dd4c04f4d234caf770a748b290b4d144fcf5 parent f0b9d796002d9d39575cf1beabfb625f68b507fa author Stephen Smalley Thu, 28 Jul 2005 21:16:21 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] selinux: Fix address length checks in connect hook This patch fixes the address length checks in the selinux_socket_connect hook to be no more restrictive than the underlying ipv4 and ipv6 code; otherwise, this hook can reject valid connect calls. This patch is in response to a bug report where an application was calling connect on an INET6 socket with an address that didn't include the optional scope id and failing due to these checks. Signed-off-by: Stephen Smalley Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0b9d796002d9d39575cf1beabfb625f68b507fa tree 185905616555941f578fd0e8b7871477c3395f73 parent e1474e2d9dfb782e6c6517a180b5a8913c69dfad author Jon Smirl Thu, 28 Jul 2005 21:16:19 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] fbdev: colormap fixes fix Fix a buffer overflow vunerabilty in previous cmap patch Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1474e2d9dfb782e6c6517a180b5a8913c69dfad tree af1aa4912ce87cef01f358e7e658a066900f7770 parent 78fa74a23b16bdb0d944272b696915c4e0bb3ee1 author Dave Hansen Thu, 28 Jul 2005 21:16:18 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] re-disable TSC on NUMAQ Somewhere recently, the TSC got re-enabled for timekeeping on NUMAQ machines. However, the hardware makes these get unsynchronized quite badly. So badly, in fact, that the code to fix up the skew can just hang on boot. This patch re-disables them. It's nicely confined to the numaq.c file. It would be great if this could make it into 2.6.13, I think it counts as a bugfix. Tested on a 16-proc 4-node NUMAQ. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78fa74a23b16bdb0d944272b696915c4e0bb3ee1 tree 5f0d83021afeb7adffce9b41557e1d2e3c8c08bd parent a2d76bd8fa29f9b6dbf3ee8f6bc7bdda21bc5ce8 author George Anzinger Thu, 28 Jul 2005 21:16:16 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] posix timers: fix normalization problem (We found this (after a customer complained) and it is in the kernel.org kernel. Seems that for CLOCK_MONOTONIC absolute timers and clock_nanosleep calls both the request time and wall_to_monotonic are subtracted prior to the normalize resulting in an overflow in the existing normalize test. This causes the result to be shifted ~4 seconds ahead instead of ~2 seconds back in time.) The normalize code in posix-timers.c fails when the tv_nsec member is ~1.2 seconds negative. This can happen on absolute timers (and clock_nanosleeps) requested on CLOCK_MONOTONIC (both the request time and wall_to_monotonic are subtracted resulting in the possibility of a number close to -2 seconds.) This fix uses the set_normalized_timespec() (which does not have an overflow problem) to fix the problem and as a side effect makes the code cleaner. Signed-off-by: George Anzinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2d76bd8fa29f9b6dbf3ee8f6bc7bdda21bc5ce8 tree 88387f513bb2c09b7195117b1d7bbf389dab5d52 parent 30f417c65e151dc96998a8ef721149a43998bc65 author Paolo 'Blaisorblade' Giarrusso Thu, 28 Jul 2005 21:16:15 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] uml: implement hostfs syncing Actually implement the hostfs "sync" method. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30f417c65e151dc96998a8ef721149a43998bc65 tree 8830925e76a185a8ac7843789d87ab288a9e74f3 parent 201134ca168c27c1f895ecfd74f9ebf1129483d0 author Christophe Lucas Thu, 28 Jul 2005 21:16:12 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] uml: Clean up prink calls printk() calls should include appropriate KERN_* constant. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 201134ca168c27c1f895ecfd74f9ebf1129483d0 tree 55e7e826f92a5fa4e7e7234908085f8a199a176e parent 7e1f49da6881bbf938e502d99335ad5488eb93b4 author Bodo Stroesser Thu, 28 Jul 2005 21:16:11 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:04 -0700 [PATCH] uml: Fix typo Fix a typo in wait_stub_done. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e1f49da6881bbf938e502d99335ad5488eb93b4 tree 8ca765ab1f9ac081bd797b23c4355441b9f75966 parent d9b7cc84afc7f4ebcef27691279d557e13128818 author Jeff Dike Thu, 28 Jul 2005 21:16:09 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:04 -0700 [PATCH] uml: Fix load average >=1 update_process_times was missing its irq_enter/irq_exit wrapper. This caused ksoftirqd to be scheduled on every clock tick. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9b7cc84afc7f4ebcef27691279d557e13128818 tree 524e4909a810dbf00f171c72a4b5fd83cf95c538 parent 9057e9deee648cb2824d83b9eb7058edb5442a21 author Jeff Dike Thu, 28 Jul 2005 21:16:08 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:04 -0700 [PATCH] uml: Fix redundant assignment By this point, .is_user has already been set, so this assignment is useless. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9057e9deee648cb2824d83b9eb7058edb5442a21 tree 3068f40bdee9b5bae16615b51275bdbf7b978d4a parent 6f313b12335abf010802751c45249e7a0007a232 author Bodo Stroesser Thu, 28 Jul 2005 21:16:06 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:04 -0700 [PATCH] uml: Fix skas0 stub return It's wrong to pop a fixed number of words from stack before calling sigreturn, as the number depends on what code is generated by the compiler for the start of stub_segv_handler(). What we need is esp containing the address of sigcontext. So we explicitly load that pointer into esp. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f313b12335abf010802751c45249e7a0007a232 tree 9cbee37b5b09ec12424e7324845f805ea6c7b404 parent 8afe07ce0003d4c63b7d76b6f28264503cb80d71 author Jeff Dike Thu, 28 Jul 2005 21:16:05 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] uml: vm86 compile fix We added an include of asm/vm86.h in include/asm-i386/ptrace.h. Since UML includes the underlying arch's ptrace.h, it needs an asm/vm86.h in order to build. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8afe07ce0003d4c63b7d76b6f28264503cb80d71 tree c92d9bff9c4e94504f90a090b48ffc7eb7fbb99d parent b85e9680a33ae2df04bd493f220a76dcf183ce80 author Paolo 'Blaisorblade' Giarrusso Thu, 28 Jul 2005 21:16:03 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] uml: avoid unnecessary pcap rebuild Just a Kbuild subtlety, not listing a target file inside targets causes it to be rebuilt each time, and as a consequence everything depending on it is rebuilt. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b85e9680a33ae2df04bd493f220a76dcf183ce80 tree f6c405c80cc80d1e199cafe7867e91dd55da2b2a parent 2ca3310e78912a527d7d2c62c01da7cbf7346b8d author Jeff Dike Thu, 28 Jul 2005 21:16:01 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] uml: fix TT mode by reverting "use fork instead of clone" With Paolo 'Blaisorblade' Giarrusso Revert the following patch, because of miscompilation problems in different environments leading to UML not working *at all* in TT mode; it was merged lately in 2.6 development cycle, a little after being written, and has caused problems to lots of people; I know it's a bit too long, but it shouldn't have been merged in first place, so I still apply for inclusion in the -stable tree. Anyone using this feature currently is either using some older kernel (some reports even used 2.6.12-rc4-mm2) or using this patch, as included in my -bs patchset. For now there's not yet a fix for this patch, so for now the best thing is to drop it (which was widely reported to give a working kernel, and as such was even merged in -stable tree). "Convert the boot-time host ptrace testing from clone to fork. They were essentially doing fork anyway. This cleans up the code a bit, and makes valgrind a bit happier about grinding it." URL: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=98fdffccea6cc3fe9dba32c0fcc310bcb5d71529 Signed-off-by: Jeff Dike Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ca3310e78912a527d7d2c62c01da7cbf7346b8d tree 3eb83a509487d5b85d346630e9d700d73d28e39e parent 4e90188be4a56f37fbb4ffb5b58745683526dcb9 author Alasdair G Kergon Thu, 28 Jul 2005 21:16:00 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] device-mapper: fix md->lock deadlocks in core This patch is an attempt to fix deadlocks discovered in the core dm. The problems boil down to md->lock having to be held in too many places, so I've split it into two: md->suspend_lock and md->io_lock. suspend_lock is now held throughout dm_suspended() as well as dm_resume() and dm_swap_table() so that these functions cannot run concurrently: there's no requirement for that and it added complexity. DMF_FS_LOCKED becomes redundant: DMF_SUSPENDED provides adequate protection. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e90188be4a56f37fbb4ffb5b58745683526dcb9 tree dde381c2419cce6e529729fd361bf0b9b90392ac parent cf222b3769c3759488579441ab724ed33a2da5f4 author Alasdair G Kergon Thu, 28 Jul 2005 21:15:59 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] device-mapper: fix deadlocks in core Avoid another bdget_disk which can deadlock. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf222b3769c3759488579441ab724ed33a2da5f4 tree b49e2a731a02cc9a280183232ecad5c165f121eb parent 8c56ac3f3b12936b03d2626c7572fed5977af515 author Alasdair G Kergon Thu, 28 Jul 2005 21:15:57 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] device-mapper: fix deadlocks in core (prep) Some code tidy-ups in preparation for the next patches. Change dm_table_pre/postsuspend_targets to accept NULL. Use dm_suspended() throughout. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c56ac3f3b12936b03d2626c7572fed5977af515 tree 4cb1fa7e6e0a2830d99520f42c6624697d0194c7 parent 5a7b90137d9f05390cf953d756e1edda2ca88053 author Ravikiran G Thirumalai Thu, 28 Jul 2005 21:15:55 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: fix cpu_to_node setup for sparse apic_ids While booting with SMT disabled in bios, when using acpi srat to setup cpu_to_node[], sparse apic_ids create problems. Without this patch, intel x86_64 boxes with hyperthreading disabled in the bios (and which rely on srat for numa setup) endup having incorrect values in cpu_to_node[] arrays, causing sched domains to be built incorrectly etc. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a7b90137d9f05390cf953d756e1edda2ca88053 tree 3df76398df406be443a4931b64afa3af522709b1 parent ef6e525393dbbab7e1dc42594d35a1dfd688d1d7 author Andi Kleen Thu, 28 Jul 2005 21:15:54 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Remove unused variable in k8-bus.c arch/x86_64/pci/k8-bus.c: In function `fill_mp_bus_to_cpumask': arch/x86_64/pci/k8-bus.c:32: warning: unused variable `printed' Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef6e525393dbbab7e1dc42594d35a1dfd688d1d7 tree 31dff5c27707f7c095cbc6cd9157ac2fa62d487f parent 8d224d32c28c165f7100a670d61d64dd15d49a1e author Nishanth Aravamudan Thu, 28 Jul 2005 21:15:53 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Use msleep in smpboot.c Replace schedule_timeout() with msleep() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d224d32c28c165f7100a670d61d64dd15d49a1e tree 7629d258137c67e395f471fccb846a7a421dab13 parent 07291d431ce6c6660c35dd4e5e980a406dc3629a author Jesse Millan Thu, 28 Jul 2005 21:15:51 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Fix gcc 4 warning in sched_find_first_bit This patch eliminates the GCC4 warning on the x86_64 platform: kernel/sched.c:1824: warning: control may reach end of non-void function 'sched_find_first_bit' being inlined. The change follows the lead of others, i.e. it is guaranteed that at least one of b[0], b[1], or b[2] will have a bit set and evaluate to true. That being said, GCC4.0.0 notices that the code flow does not return anything if b[0], b[1] and b[2] are not true. Since we know better, if it's not b[0] or b[1], it has to be b[2]. Signed-off-by: Jesse Millan Signed-off-by: Domen Puncer Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07291d431ce6c6660c35dd4e5e980a406dc3629a tree 6238e9d5ef085b714b19d2261d6e860bbf967bca parent ed6b676ca8b50e0b538e61c283d52fd04f007abf author Andi Kleen Thu, 28 Jul 2005 21:15:50 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Fix SRAT handling on non dual core systems Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed6b676ca8b50e0b538e61c283d52fd04f007abf tree 753ea613ce334c41f835f6aac21074b137d24713 parent 3829ee6b1be03d5aa3005fe7d19f30088b539836 author Andi Kleen Thu, 28 Jul 2005 21:15:49 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Switch to the interrupt stack when running a softirq in local_bh_enable() This avoids some potential stack overflows with very deep softirq callchains. i386 does this too. TOADD CFI annotation Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3829ee6b1be03d5aa3005fe7d19f30088b539836 tree be7a9f93c38662905509f1033ef935436d8b02a3 parent 3ba80e7595f3e308e5e7135445b513779fc0ba3b author Andi Kleen Thu, 28 Jul 2005 21:15:48 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Small assembly improvements Save a byte here and there. Ultimatively useless, but these things always catch my eyes when reading the code so just fix them for now. Also I got at least one patch fixing of them already, which gives a good excuse. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ba80e7595f3e308e5e7135445b513779fc0ba3b tree 600e763635fd7b0639c0e0791f5328f0485a82f3 parent e2cac78935ff1705e1eb53be28da704d3482b4f5 author Andi Kleen Thu, 28 Jul 2005 21:15:47 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Remove unnecessary include in fault.c Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2cac78935ff1705e1eb53be28da704d3482b4f5 tree 1a32474c6a7a27a3b143c52d3864eb635453078e parent b6a68a16dc15c65fe76acb7502a806ae415cd3e4 author Andi Kleen Thu, 28 Jul 2005 21:15:46 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: When running cpuid4 need to run on the correct CPU Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6a68a16dc15c65fe76acb7502a806ae415cd3e4 tree 8e509a3818fe4670f2a1f5789a17e3ef12a9aab5 parent 2275cfa8bcb833cdac7dcc616d11306ca35eec58 author Andi Kleen Thu, 28 Jul 2005 21:15:45 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Turn BUG data into valid instruction This avoids confusing the disassembler. Costs 2 bytes per BUG. Thanks to Suresh Siddha and Jan Beulich for suggesting suitable instructions. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2275cfa8bcb833cdac7dcc616d11306ca35eec58 tree 079ad29faf7f05dbfe5235d322d741ea540ba29c parent f8d311939f9d2b2a5e935df8dceb98b7cbe08d43 author Andreas Gruenbacher Thu, 28 Jul 2005 21:15:44 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Icecream has no way of detecting assembler-level includes Icecream preprocesses c sources locally, and sends the result off to a remote host for compiling. It does not recognize includes at assembler level. The fix is to put the assemberincludes an a separate .s file, which will always be assembled locally. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8d311939f9d2b2a5e935df8dceb98b7cbe08d43 tree 02da12ff661ee3da44e29e4ca89df28dea8a4593 parent 37a47e65fa58d413a31f27ee88f6cb98583b6157 author Andi Kleen Thu, 28 Jul 2005 21:15:42 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Support more than 8 cores on AMD systems Use physical mode instead of logical mode to address more CPUs. This is also used in the CPU hotplug case to avoid a race. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37a47e65fa58d413a31f27ee88f6cb98583b6157 tree 4c9cc88e9816f174d379d3c0f8066aa78163809f parent 5f68c1388ada34998c2902c289c6a6b625a73c4e author Andi Kleen Thu, 28 Jul 2005 21:15:41 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Remove the broadcast options that were added for cpuhotplug Will be obsolete with physflat. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f68c1388ada34998c2902c289c6a6b625a73c4e tree 6f7f75698bb706e549d553843145de091b3fb745 parent 91c6d400940e97f2809c04fcf383517f7650dbd4 author Andi Kleen Thu, 28 Jul 2005 21:15:41 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Remove IA32_* build tools in Makefile Not used anymore since quite some time. Just uses -m32 instead. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91c6d400940e97f2809c04fcf383517f7650dbd4 tree 15eb8b6b3d05e06ab33a125bf2cf7c5081d6848a parent 69cb62eb6dceb0da701e04395d3b412a0648c118 author Andi Kleen Thu, 28 Jul 2005 21:15:39 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Create per CPU machine check sysfs directories This patch will create machinecheck sysdev directories per CPU. All of the cpus still share the same ctl banks. When compiled with CONFIG_HOTPLUG_CPU, it will also bring up/down sysdev directories as cpus go up/down. I have tested the patch along with CONFIG_HOTPLUG_CPU option on in 2.6.13-rc1 kernel. Minor changes by AK: remove useless unload function Signed-off-by: Jacob Shin Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69cb62eb6dceb0da701e04395d3b412a0648c118 tree 5ed6306e055dbfe30b4db4e7dd1c80439d762f25 parent b684664fd495fd640353c0f786751763db77dcfb author Andi Kleen Thu, 28 Jul 2005 21:15:39 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Print a boot message for hotplug memory zones From: Keith Manning Print a boot message for hotplug memory zones Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b684664fd495fd640353c0f786751763db77dcfb tree 348f3d452f9d1a78ec1a3684ef53380d41ec9db8 parent 17158d17aa726142255050b407ad701a6f191aba author Keith Mannthey Thu, 28 Jul 2005 21:15:38 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Fix overflow in NUMA hash function setup Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17158d17aa726142255050b407ad701a6f191aba tree 40256c4adc9eee2f504ab2ef7eea316f5a10fbe0 parent ca4e6b740206fc943cc1c90fd434d4d389da8f2b author Andi Kleen Thu, 28 Jul 2005 21:15:37 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Fix incorrectly defined MSR_K8_SYSCFG Harmless because the kernel didn't use it. Noticed by Travis Betak Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca4e6b740206fc943cc1c90fd434d4d389da8f2b tree 9d0e4905f96a4fa029664f3ee0c5e1b338b01cb9 parent 6391ad0aa487e7b13588b1439d2462a320b07d0d author Andi Kleen Thu, 28 Jul 2005 21:15:36 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Fix some typos in system.h comments Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6391ad0aa487e7b13588b1439d2462a320b07d0d tree 4d45938e7e62fd958985852b1fdeded35fa488f8 parent d970a5218088a856d80acd9da6c6742f55cb0a0d author Andi Kleen Thu, 28 Jul 2005 21:15:35 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Remove obsolete eat_key prototype Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d970a5218088a856d80acd9da6c6742f55cb0a0d tree c0f8f7e7e774dd22d74553ce72ae1b8d8127fe39 parent ef4d7cbea773a77b36e732779cab4018ba2c037b author Andi Kleen Thu, 28 Jul 2005 21:15:35 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Fix some comments in tlbflush.h Were either outdated or misleading. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef4d7cbea773a77b36e732779cab4018ba2c037b tree c9aeb9e716ee2d83204724d6e2baa2b2e81caf0e parent a54649b801e5fe69755dc55e6589f7a65af25d79 author Andi Kleen Thu, 28 Jul 2005 21:15:34 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Some updates for boot-options.txt Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a54649b801e5fe69755dc55e6589f7a65af25d79 tree 77245e9b10077b63325972761a711adaa6fa9588 parent c853cc7e7940a2d6ad66cfe666192516fc06b0e3 author Andi Kleen Thu, 28 Jul 2005 21:15:32 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Improve CONFIG_GART_IOMMU description and make it default y Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c853cc7e7940a2d6ad66cfe666192516fc06b0e3 tree 0c280f4db32264b0d89f38b990d085cbd0335a4a parent a940199f206dcf51c65fae27e2ce412f2c5a2b22 author Andi Kleen Thu, 28 Jul 2005 21:15:31 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Remove unused variable in delay.c Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a940199f206dcf51c65fae27e2ce412f2c5a2b22 tree ada838ac347214d20fcb6003cba1c4938dc7ebae parent de04f3220b9789cc40fd6b1d151dfa0a7e3b03b9 author Andi Kleen Thu, 28 Jul 2005 21:15:30 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: Some cleanup in setup64.c Minor cleanup. Move things into their include files, remove obsolete includes, fix indentation, remove obsolete special cases etc. I also added the per cpu section to asm-generic/sections.h and fixed init/main.c to use it. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de04f3220b9789cc40fd6b1d151dfa0a7e3b03b9 tree aa2f1766c0bc340a8298c463f2138649a83a6177 parent 3019e8ebe6281843488250ee3a539106806da93a author Andi Kleen Thu, 28 Jul 2005 21:15:29 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: Clarify Booting processor ... message No need to print kernel addresses there and clarify what the APIC-ID is. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3019e8ebe6281843488250ee3a539106806da93a tree a40624eb7c152ffaab95c9fa65e99075eee11018 parent 61b1b2d0239da82c0bed8adaa1d070c6551d4afd author Andi Kleen Thu, 28 Jul 2005 21:15:28 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: Minor clean up to CPU setup - use smp_processor_id instead of custom hack Does not change any semantics because numa_add_cpu checks for CPU 0 anyways. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61b1b2d0239da82c0bed8adaa1d070c6551d4afd tree 121b652c8b6915d17beb622086e362a9e9c1733e parent 5b943fbfaf0dbdd3cd9ff2dda100f0b8c47a7d8c author Andi Kleen Thu, 28 Jul 2005 21:15:27 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: Move cpu_present/possible_map parsing earlier Various code needs this information now before the actual SMP bootup. Instead of computing it on the fly while booting the other CPUs set it up now while initial MPtable/MADT parsing. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b943fbfaf0dbdd3cd9ff2dda100f0b8c47a7d8c tree 5c6082a8aa0fca1f0459871f95d83177ce02943b parent 74f0629397cb435e144ff47c48f3bc39e879f196 author Andi Kleen Thu, 28 Jul 2005 21:15:26 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: i386/x86_64: remove prototypes for not existing functions in smp.h Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74f0629397cb435e144ff47c48f3bc39e879f196 tree a5e7a0c889304e3e56b54ea2c8006aa23589cd11 parent acc7b6f01c3d387faa34233a25949eaaf18e0753 author Andi Kleen Thu, 28 Jul 2005 21:15:25 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:57 -0700 [PATCH] x86_64: Use for_each_cpu_mask for clustered IPI flush Makes it slightly more efficient. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit acc7b6f01c3d387faa34233a25949eaaf18e0753 tree d30259bf8a9793c58439bc149cc140e77597678e parent 5df3574ec0eac0eb8d758e8e9b1ad95d909a9e1f author Andi Kleen Thu, 28 Jul 2005 21:15:23 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:57 -0700 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5df3574ec0eac0eb8d758e8e9b1ad95d909a9e1f tree 0d8922d07d0d463b8a012143d38ca1dae73136ea parent 2a16a3007d5b5896ff62d149bb4dca1a29fd78c4 author Andi Kleen Thu, 28 Jul 2005 21:15:22 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:57 -0700 [PATCH] x86_64: Always ack IPIs even on errors Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a16a3007d5b5896ff62d149bb4dca1a29fd78c4 tree 503c4baf54a7be16e1dd40ba864a855b73f539e9 parent 63953523341bcafe5928bf6e99bffd7db94b471e author Alexander Nyberg Thu, 28 Jul 2005 21:15:20 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:57 -0700 [PATCH] x86_64: cpu hotplug changes kills nmi watchdog When the x86_64 cpu hotplug changes went in it added a check in default_do_nmi() which kills NMI delivery on any CPU but the BSP. The NMI watchdog is brought up quite some time before the online bit is set in num_online_cpus so this won't work very well. The nmi watchdogs on cpus that are not BSP will never be reprogrammed and no NMIs. Why was this check added? How does an offlined cpu receive an NMI? Signed-off-by: Alexander Nyberg Cc: Andi Kleen Cc: Andrew Morton Cc: Zwane Mwaikambo Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6192b54b845ed05cb838f86ca588cc625c703a09 tree b78a56cb70fe36f145821ac3c699abf3dc627256 parent 2ac6608c41f8c45371ea9dddae7f99bc2c15d5cf author David S. Miller Thu, 28 Jul 2005 12:12:58 -0700 committer David S. Miller Thu, 28 Jul 2005 12:12:58 -0700 [NET]: Fix busy waiting in dev_close(). If the current task has signal_pending(), the loop we have to wait for the __LINK_STATE_RX_SCHED bit to clear becomes a pure busy-loop. Fixed by using msleep() instead of the hand-crafted version. Noticed by Andrew Morton. Signed-off-by: David S. Miller