1. 18 2月, 2009 4 次提交
  2. 17 2月, 2009 1 次提交
  3. 06 2月, 2009 1 次提交
  4. 31 1月, 2009 1 次提交
  5. 30 1月, 2009 1 次提交
  6. 29 1月, 2009 2 次提交
  7. 05 1月, 2009 3 次提交
  8. 04 1月, 2009 4 次提交
  9. 18 11月, 2008 2 次提交
    • Y
      x86: fix wakeup_cpu with numaq/es7000, v2, fix · 54ac14a8
      Yinghai Lu 提交于
      Impact: fix wakeup_secondary_cpu with hotplug
      
      We can not put that into x86_quirks, because that is __initdata.
      So try to move that to genapic, and add update_genapic in x86_quirks.
      
      later we even could use that stub to:
      
       1. autodetect CONFIG_ES7000_CLUSTERED_APIC
       2. more correct inquire_remote_apic with apic_verbosity setting.
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      54ac14a8
    • Y
      x86: fix wakeup_cpu with numaq/es7000, v2 · 569712b2
      Yinghai Lu 提交于
      Impact: fix secondary-CPU wakeup/init path with numaq and es7000
      
      While looking at wakeup_secondary_cpu for WAKE_SECONDARY_VIA_NMI:
      
      |#ifdef WAKE_SECONDARY_VIA_NMI
      |/*
      | * Poke the other CPU in the eye via NMI to wake it up. Remember that the normal
      | * INIT, INIT, STARTUP sequence will reset the chip hard for us, and this
      | * won't ... remember to clear down the APIC, etc later.
      | */
      |static int __devinit
      |wakeup_secondary_cpu(int logical_apicid, unsigned long start_eip)
      |{
      |        unsigned long send_status, accept_status = 0;
      |        int maxlvt;
      |...
      |        if (APIC_INTEGRATED(apic_version[phys_apicid])) {
      |                maxlvt = lapic_get_maxlvt();
      
      I noticed that there is no warning about undefined phys_apicid...
      
      because WAKE_SECONDARY_VIA_NMI and WAKE_SECONDARY_VIA_INIT can not be
      defined at the same time. So NUMAQ is using wrong wakeup_secondary_cpu.
      
      WAKE_SECONDARY_VIA_NMI, WAKE_SECONDARY_VIA_INIT and
      WAKE_SECONDARY_VIA_MIP are variants of a weird and fragile
      preprocessor-driven "HAL" mechanisms to specify the kind of secondary-CPU
      wakeup strategy a given x86 kernel will use.
      
      The vast majority of systems want to use INIT for secondary wakeup - NUMAQ
      uses an NMI, (old-style-) ES7000 uses 'MIP' (a firmware driven in-memory
      flag to let secondaries continue).
      
      So convert these mechanisms to x86_quirks and add a
      ->wakeup_secondary_cpu() method to specify the rare exception
      to the sane default.
      
      Extend genapic accordingly as well, for 32-bit.
      
      While looking further, I noticed that functions in wakecup.h for numaq
      and es7000 are different to the default in mach_wakecpu.h - but smpboot.c
      will only use default mach_wakecpu.h with smphook.h.
      
      So we need to add mach_wakecpu.h for mach_generic, to properly support
      numaq and es7000, and vectorize the following SMP init methods:
      
      	int trampoline_phys_low;
      	int trampoline_phys_high;
      	void (*wait_for_init_deassert)(atomic_t *deassert);
      	void (*smp_callin_clear_local_apic)(void);
      	void (*store_NMI_vector)(unsigned short *high, unsigned short *low);
      	void (*restore_NMI_vector)(unsigned short *high, unsigned short *low);
      	void (*inquire_remote_apic)(int apicid);
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      569712b2
  10. 21 8月, 2008 1 次提交
    • V
      x86: fix BUG: unable to handle kernel paging request (numaq_tsc_disable) · b2a6a58c
      Vegard Nossum 提交于
      This section mismatch:
      
      >> Seems to be a section mismatch; init_intel() is __cpuinit while
      >> numaq_tsc_disable() is __init. Seems to be introduced in:
      >>
      >> commit 64898a8b
      >> Author: Yinghai Lu <yhlu.kernel@gmail.com>
      >> Date:   Sat Jul 19 18:01:16 2008 -0700
      >>
      >>    x86: extend and use x86_quirks to clean up NUMAQ code
      >
      > Oops, I am wrong about numaq_tsc_disable() being __init. Still, I
      > believe that Yinghai might be able to say what's really wrong :-)
      
      Would lead to this crash:
      
        BUG: unable to handle kernel paging request at c08a45f0
        IP: [<c08a45f0>] numaq_tsc_disable+0x0/0x40
      
      Fixed by the patch below.
      Signed-off-by: NVegard Nossum <vegardno@ifi.uio.no>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      b2a6a58c
  11. 26 7月, 2008 1 次提交
  12. 20 7月, 2008 2 次提交
  13. 18 7月, 2008 1 次提交
  14. 13 7月, 2008 1 次提交
    • Y
      x86: fix numaq_tsc_disable calling · 3d88cca7
      Yinghai Lu 提交于
      got this on a test-system:
      
       calling  numaq_tsc_disable+0x0/0x39
       NUMAQ: disabling TSC
       initcall numaq_tsc_disable+0x0/0x39 returned 0 after 0 msecs
      
      that's because we should not be using arch_initcall to call numaq_tsc_disable.
      
      need to call it in setup_arch before time_init()/tsc_init()
      and call it in init_intel() to make the cpu feature bits right.
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      3d88cca7
  15. 10 6月, 2008 2 次提交
  16. 04 6月, 2008 2 次提交
  17. 03 6月, 2008 1 次提交
  18. 30 1月, 2008 1 次提交
  19. 11 10月, 2007 2 次提交
  20. 01 7月, 2006 1 次提交
  21. 27 6月, 2006 1 次提交
    • J
      [PATCH] Time: i386 Conversion - part 2: Rework TSC Support · 539eb11e
      john stultz 提交于
      As part of the i386 conversion to the generic timekeeping infrastructure, this
      introduces a new tsc.c file.  The code in this file replaces the TSC
      initialization, management and access code currently in timer_tsc.c (which
      will be removed) that we want to preserve.
      
      The code also introduces the following functionality:
      
      o tsc_khz: like cpu_khz but stores the TSC frequency on systems that do not
        change TSC frequency w/ CPU frequency
      
      o check/mark_tsc_unstable: accessor/modifier flag for TSC timekeeping
        usability
      
      o minor cleanups to calibration math.
      
      This patch also includes a one line __cpuinitdata fix from Zwane Mwaikambo.
      Signed-off-by: NJohn Stultz <johnstul@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      539eb11e
  22. 29 7月, 2005 1 次提交
  23. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4