1. 10 Jan, 2007 34 commits
  2. 11 Dec, 2006 6 commits
    • Chris Wright's avatar
      Linux 2.6.19.1 · 1edb5a2d
      Chris Wright authored
      1edb5a2d
    • David Miller's avatar
      [PATCH] NETLINK: Put {IFA,IFLA}_{RTA,PAYLOAD} macros back for userspace. · f558fdfa
      David Miller authored
      GLIBC uses them etc.
      
      They are guarded by ifndef __KERNEL__ so nobody will start
      accidently using them in the kernel again, it's just for
      userspace.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      f558fdfa
    • Daniel Barkalow's avatar
      [PATCH] forcedeth: Disable INTx when enabling MSI in forcedeth · 39a17363
      Daniel Barkalow authored
      At least some nforce cards continue to send legacy interrupts when MSI
      is enabled, and these interrupts are treated as unhandled by the
      kernel. This patch disables legacy interrupts explicitly when enabling
      MSI mode.
      
      The correct fix is to change the MSI infrastructure to disable legacy
      interrupts when enabling MSI, but this is potentially risky if the
      device isn't PCI-2.3 or is quirky, so the correct fix is going into
      mainline, while patches like this one go into -stable.
      
      Legend has it that it is most correct to disable legacy interrupts
      before enabling MSI, but the mainline patch does it in the other
      order, and this patch is "obviously" the same as mainline.
      Signed-off-by: default avatarDaniel Barkalow <barkalow@iabervon.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Greg KH <gregkh@suse.de>
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      39a17363
    • Ravikiran G Thirumalai's avatar
      [PATCH] x86: Fix boot hang due to nmi watchdog init code · 3667bf6d
      Ravikiran G Thirumalai authored
      2.6.19  stopped booting (or booted based on build/config) on our x86_64
      systems due to a bug introduced in 2.6.19.  check_nmi_watchdog schedules an
      IPI on all cpus to  busy wait on a flag, but fails to set the busywait
      flag if NMI functionality is disabled.  This causes the secondary cpus
      to spin in an endless loop, causing the kernel bootup to hang.
      Depending upon the build, the  busywait flag got overwritten (stack variable)
      and caused  the kernel to bootup on certain builds.  Following patch fixes
      the bug by setting the busywait flag before returning from check_nmi_watchdog.
      I guess using a stack variable is not good here as the calling function could
      potentially return while the busy wait loop is still spinning on the flag.
      
      AK: I redid the patch significantly to be cleaner
      Signed-off-by: default avatarRavikiran Thirumalai <kiran@scalex86.org>
      Signed-off-by: default avatarShai Fultheim <shai@scalex86.org>
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      3667bf6d
    • Hirokazu Takata's avatar
      [PATCH] m32r: make userspace headers platform-independent · a10457cc
      Hirokazu Takata authored
      The m32r kernel 2.6.18-rc1 or after cause build errors of "unknown isa
      configuration" for userspace application programs, such as glibc, gdb, etc.
      
      This is because the recent kernel do not include linux/config.h not to expose
      kernel headers for userspace.
      
      To fix the above compile errors, this patch fixes two headers ptrace.h and
      sigcontext.h for m32r and makes them platform-independent.
      Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      a10457cc
    • Zachary Amsden's avatar
      [PATCH] softirq: remove BUG_ONs which can incorrectly trigger · a3956ef7
      Zachary Amsden authored
      It is possible to have tasklets get scheduled before softirqd has had a chance
      to spawn on all CPUs.  This is totally harmless; after success during action
      CPU_UP_PREPARE, action CPU_ONLINE will be called, which immediately wakes
      softirqd on the appropriate CPU to process the already pending tasklets.  So
      there is no danger of having a missed wakeup for any tasklets that were
      already pending.
      
      In particular, i386 is affected by this during startup, and is visible when
      using a very large initrd; during the time it takes for the initrd to be
      decompressed, a timer IRQ can come in and schedule RCU callbacks.  It is also
      possible that resending of a hardware IRQ via a softirq triggers the same bug.
      
      Because of different timing conditions, this shows up in all emulators and
      virtual machines tested, including Xen, VMware, Virtual PC, and Qemu.  It is
      also possible to trigger on native hardware with a large enough initrd,
      although I don't have a reliable case demonstrating that.
      Signed-off-by: default avatarZachary Amsden <zach@vmware.com>
      Cc: <caglar@pardus.org.tr>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      a3956ef7