1. 12 1月, 2006 5 次提交
  2. 15 11月, 2005 2 次提交
    • A
      [PATCH] x86_64: Log machine checks from boot on Intel systems · e583538f
      Andi Kleen 提交于
      The logging for boot errors was turned off because it was broken
      on some AMD systems. But give Intel EM64T systems a chance because they are
      supposed to be correct there.
      
      The advantage is that there is a chance to actually log uncorrected
      machine checks after the reset.
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e583538f
    • J
      [PATCH] x86_64: Support for AMD specific MCE Threshold. · 89b831ef
      Jacob Shin 提交于
      MC4_MISC - DRAM Errors Threshold Register realized under AMD K8 Rev F.
      This register is used to count correctable and uncorrectable ECC errors that occur during DRAM read operations.
      The user may interface through sysfs files in order to change the threshold configuration.
      
      bank%d/error_count - reads current error count, write to clear.
      bank%d/interrupt_enable - set/clear interrupt enable.
      bank%d/threshold_limit - read/write the threshold limit.
      
      APIC vector 0xF9 in hw_irq.h.
      5 software defined bank ids in mce.h.
      new apic.c function to setup threshold apic lvt.
      defaults to interrupt off, count enabled, and threshold limit max.
      sysfs interface created on /sys/devices/system/threshold.
      
      AK: added some ifdefs to make it compile on UP
      Signed-off-by: NJacob Shin <jacob.shin@amd.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      89b831ef
  3. 30 9月, 2005 1 次提交
    • M
      [PATCH] x86_64: Fix mce_log · 7644143c
      Mike Waychison 提交于
      The attempt to fixup the lockless mce log buffer introduced an infinite loop
      when trying to find a free entry.
      
      And:
      
      Using rcu_dereference() to load mcelog.next doesn't seem to be sufficient
      enough to ensure that mcelog.next is loaded each time around the loop in
      mce_log().  Instead, use an explicit rmb() to ensure that the compiler gets it
      right.
      
      AK: turned the smp_wmbs into true wmbs to make sure they are not
      reordered by the compiler on UP.
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      7644143c
  4. 13 9月, 2005 4 次提交
  5. 08 8月, 2005 1 次提交
  6. 29 7月, 2005 1 次提交
  7. 26 6月, 2005 2 次提交
    • P
      [PATCH] RCU: clean up a few remaining synchronize_kernel() calls · b2b18660
      Paul E. McKenney 提交于
      2.6.12-rc6-mm1 has a few remaining synchronize_kernel()s, some (but not
      all) in comments.  This patch changes these synchronize_kernel() calls (and
      comments) to synchronize_rcu() or synchronize_sched() as follows:
      
      - arch/x86_64/kernel/mce.c mce_read(): change to synchronize_sched() to
        handle races with machine-check exceptions (synchronize_rcu() would not cut
        it given RCU implementations intended for hardcore realtime use.
      
      - drivers/input/serio/i8042.c i8042_stop(): change to synchronize_sched() to
        handle races with i8042_interrupt() interrupt handler.  Again,
        synchronize_rcu() would not cut it given RCU implementations intended for
        hardcore realtime use.
      
      - include/*/kdebug.h comments: change to synchronize_sched() to handle races
        with NMIs.  As before, synchronize_rcu() would not cut it...
      
      - include/linux/list.h comment: change to synchronize_rcu(), since this
        comment is for list_del_rcu().
      
      - security/keys/key.c unregister_key_type(): change to synchronize_rcu(),
        since this is interacting with RCU read side.
      
      - security/keys/process_keys.c install_session_keyring(): change to
        synchronize_rcu(), since this is interacting with RCU read side.
      Signed-off-by: N"Paul E. McKenney" <paulmck@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b2b18660
    • A
      [PATCH] x86_64: Change init sections for CPU hotplug support · e6982c67
      Ashok Raj 提交于
      This patch adds __cpuinit and __cpuinitdata sections that need to exist past
      boot to support cpu hotplug.
      
      Caveat: This is done *only* for EM64T CPU Hotplug support, on request from
      Andi Kleen.  Much of the generic hotplug code in kernel, and none of the other
      archs that support CPU hotplug today, i386, ia64, ppc64, s390 and parisc dont
      mark sections with __cpuinit, but only mark them as __devinit, and
      __devinitdata.
      
      If someone is motivated to change generic code, we need to make sure all
      existing hotplug code does not break, on other arch's that dont use __cpuinit,
      and __cpudevinit.
      Signed-off-by: NAshok Raj <ashok.raj@intel.com>
      Acked-by: NAndi Kleen <ak@muc.de>
      Acked-by: NZwane Mwaikambo <zwane@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e6982c67
  8. 17 4月, 2005 3 次提交