1. 23 3月, 2006 23 次提交
  2. 22 3月, 2006 7 次提交
  3. 21 3月, 2006 1 次提交
    • A
      update the i386 defconfig · f30c52d0
      Adrian Bunk 提交于
      The i386 defconfig wasn't updated for ages.
      
      Instead of running "make oldconfig" on the old defconfig and trying to
      give reasonable answers at all new options, this patch replaces it with
      the one I'm using in 2.6.16-rc1.
      
      This way, it's a .config that is confirmed to work on at least one
      computer in the world.  ;-)
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      f30c52d0
  4. 17 3月, 2006 1 次提交
  5. 15 3月, 2006 1 次提交
    • M
      [PATCH] Plug kdump shutdown race window · 67963132
      Maneesh Soni 提交于
      lapic_shutdown() re-enables interrupts which is un-desirable for panic
      case, so use local_irq_save() and local_irq_restore() to keep the irqs
      disabled for kexec on panic case, and close a possible race window while
      kdump shutdown as shown in this stack trace
      
         -- BUG: spinlock lockup on CPU#1, bash/4396, c52781a0
         [<c01c1870>] _raw_spin_lock+0xb7/0xd2
         [<c029e148>] _spin_lock+0x6/0x8
         [<c011b33f>] scheduler_tick+0xe7/0x328
         [<c0128a7c>] update_process_times+0x51/0x5d
         [<c0114592>] smp_apic_timer_interrupt+0x4f/0x58
         [<c01141ff>] lapic_shutdown+0x76/0x7e
         [<c0104d7c>] apic_timer_interrupt+0x1c/0x30
         [<c01141ff>] lapic_shutdown+0x76/0x7e
         [<c0116659>] machine_crash_shutdown+0x83/0xaa
         [<c013cc36>] crash_kexec+0xc1/0xe3
         [<c029e148>] _spin_lock+0x6/0x8
         [<c013cc22>] crash_kexec+0xad/0xe3
         [<c0215280>] __handle_sysrq+0x84/0xfd
         [<c018d937>] write_sysrq_trigger+0x2c/0x35
         [<c015e47b>] vfs_write+0xa2/0x13b
         [<c015ea73>] sys_write+0x3b/0x64
         [<c0103c69>] syscall_call+0x7/0xb
      Signed-off-by: NManeesh Soni <maneesh@in.ibm.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      67963132
  6. 09 3月, 2006 4 次提交
    • A
      [PATCH] i386: port ATI timer fix from x86_64 to i386 II · f9262c12
      Andi Kleen 提交于
      ATI chipsets tend to generate double timer interrupts for the local APIC
      timer when both the 8254 and the IO-APIC timer pins are enabled.  This is
      because they route it to both and the result is anded together and the CPU
      ends up processing it twice.
      
      This patch changes check_timer to disable the 8254 routing for interrupt 0.
      
      I think it would be safe on all chipsets actually (i tested it on a couple
      and it worked everywhere) and Windows seems to do it in a similar way, but
      to be conservative this patch only enables this mode on ATI (and adds
      options to enable/disable too)
      
      Ported over from a similar x86-64 change.
      
      I reused the ACPI earlyquirk infrastructure for the ATI bridge check, but
      tweaked it a bit to work even without ACPI.
      
      Inspired by a patch from Chuck Ebbert, but redone.
      
      Cc: Chuck Ebbert <76306.1226@compuserve.com>
      Cc: "Brown, Len" <len.brown@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f9262c12
    • M
      [PATCH] fix kexec asm · 2ec5e3a8
      Michael Matz 提交于
      While testing kexec and kdump we hit problems where the new kernel would
      freeze or instantly reboot.  The easiest way to trigger it was to kexec a
      kernel compiled for CONFIG_M586 on an athlon cpu.  Compiling for CONFIG_MK7
      instead would work fine.
      
      The patch fixes a few problems with the kexec inline asm.
      Signed-off-by: NChris Mason <mason@suse.com>
      Acked-by: N"Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2ec5e3a8
    • S
      [PATCH] x86: cpu model calculation for family 6 cpu · ed2da193
      Shaohua Li 提交于
      The x86_model calculation also applies for family 6. early_cpu_detect
      does the right thing, but generic_identify misses.
      
      Signed-off-by: Shaohua Li<shaohua.li@intel.com>
      Cc: Dave Jones <davej@codemonkey.org.uk>
      Cc: "Seth, Rohit" <rohit.seth@intel.com>
      Acked-by: NAndi Kleen <ak@muc.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ed2da193
    • G
      [PATCH] x86: Fix i386 nmi_watchdog that does not trigger die_nmi · b884e257
      GOTO Masanori 提交于
      Fix i386 nmi_watchdog that does not meet watchdog timeout condition.  It
      does not hit die_nmi when it should be triggered, because the current
      nmi_watchdog_tick in arch/i386/kernel/nmi.c never count up alert_counter
      like this:
      
      	void nmi_watchdog_tick (struct pt_regs * regs) {
      	if (last_irq_sums[cpu] == sum) {
      		alert_counter[cpu]++;		<- count up alert_counter, but
      		if (alert_counter[cpu] == 5*nmi_hz)
      			die_nmi(regs, "NMI Watchdog detected LOCKUP");
      		alert_counter[cpu] = 0;		<- reset alert_counter
      
      This patch changes it back to the previous and working version.
      
      This was found and originally written by Kohta NAKASHIMA.
      
      (akpm: also uninline write_watchdog_counter(), saving 184 byets)
      Signed-off-by: NGOTO Masanori <gotom@sanori.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b884e257
  7. 07 3月, 2006 2 次提交
  8. 01 3月, 2006 1 次提交