1. 08 3月, 2009 1 次提交
  2. 05 3月, 2009 10 次提交
  3. 04 3月, 2009 1 次提交
  4. 03 3月, 2009 2 次提交
  5. 02 3月, 2009 9 次提交
  6. 01 3月, 2009 1 次提交
  7. 28 2月, 2009 5 次提交
  8. 26 2月, 2009 5 次提交
  9. 25 2月, 2009 6 次提交
    • P
      34754b69
    • T
      x86, percpu: fix minor bugs in setup_percpu.c · 24ff9542
      Tejun Heo 提交于
      Recent changes in setup_percpu.c made a now meaningless DBG()
      statement fail to compile and introduced a
      comparison-of-different-types warning.  Fix them.
      
      Compile failure is reported by Ingo Molnar.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reported-by: NIngo Molnar <mingo@elte.hu>
      24ff9542
    • Y
      x86: check range in reserve_early() · 46cb27f5
      Yinghai Lu 提交于
      Impact: cleanup
      
      one 32-bit system reports:
      
      BIOS-provided physical RAM map:
       BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
       BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
       BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
       BIOS-e820: 0000000000100000 - 000000001c000000 (usable)
       BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
      DMI 2.0 present.
      last_pfn = 0x1c000 max_arch_pfn = 0x100000
      kernel direct mapping tables up to 1c000000 @ 7000-c000
      ..
      RAMDISK: 1bc69000 - 1bfef4fa
      ..
      0MB HIGHMEM available.
      448MB LOWMEM available.
        mapped low ram: 0 - 1c000000
        low ram: 00000000 - 1c000000
        bootmap 00002000 - 00005800
      (9 early reservations) ==> bootmem [0000000000 - 001c000000]
        #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
        #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
        #2 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
        #3 [0000400000 - 00009ed14c]    TEXT DATA BSS ==> [0000400000 - 00009ed14c]
        #4 [001bc69000 - 001bfef4fa]          RAMDISK ==> [001bc69000 - 001bfef4fa]
        #5 [00009ee000 - 00009f2000]    INIT_PG_TABLE ==> [00009ee000 - 00009f2000]
        #6 [000009f400 - 0000100000]    BIOS reserved ==> [000009f400 - 0000100000]
        #7 [0000007000 - 0000007000]          PGTABLE
        #8 [0000002000 - 0000006000]          BOOTMAP ==> [0000002000 - 0000006000]
      
      Notice the strange blank PGTABLE entry.
      
      The reason is init_pg_table is big enough, and zero range is called
      with init_memory_mapping/reserve_early().
      
      So try to check the range in reserve_early()
      
      v2: fix the reversed compare
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Cc: nickpiggin@yahoo.com.au
      Cc: ink@jurassic.park.msu.ru
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      46cb27f5
    • A
      x86, mce, cmci: recheck CMCI banks after APIC has been enabled on CPU #0 · be71b855
      Andi Kleen 提交于
      Impact: Fix marginal race condition
      
      One the first CPU the machine checks are enabled early before
      the local APIC is enabled. This could in theory lead
      to some lost CMCI events very early during boot because
      CMCIs cannot be delivered with disabled LAPIC.
      
      The poller also doesn't recover from this because it doesn't
      check CMCI banks.
      
      Add an explicit CMCI banks check after the LAPIC is enabled.
      This is only done for CPU #0, the other CPUs only initialize
      machine checks after the LAPIC is on.
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      be71b855
    • A
      x86, mce, cmci: disable CMCI on rebooting · 5ca8681c
      Andi Kleen 提交于
      Impact: Avoids confusing other OSes.
      
      Disable the CMCI vector on reboot to avoid confusing other OS.
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      5ca8681c
    • H
      x86, mce, cmci: remove incorrect __cpuinit/__cpuexit annotations · df20e2eb
      H. Peter Anvin 提交于
      Impact: Bug fix on UP
      
      The MCE code is reinitialized from resume, so we can't use
      __cpuinit/__cpuexit for most of the code.  Remove those annotations
      for anything downstream of mce_init().
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      df20e2eb