1. 20 5月, 2010 1 次提交
    • J
      x86, mrst: add more timer config options · a875c019
      Jacob Pan 提交于
      Always-on local APIC timer (ARAT) has been introduced to Medfield, along
      with the platform APB timers we have more timer configuration options
      between Moorestown and Medfield.
      
      This patch adds run-time detection of avaiable timer features so that
      we can treat Medfield as a variant of Moorestown and set up the optimal
      timer options for each platform. i.e.
      
      Medfield: per cpu always-on local APIC timer
      Moorestown: per cpu APB timer
      
      Manual override is possible via cmdline option x86_mrst_timer.
      Signed-off-by: NJacob Pan <jacob.jun.pan@linux.intel.com>
      LKML-Reference: <1274295685-6774-4-git-send-email-jacob.jun.pan@linux.intel.com>
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      a875c019
  2. 25 2月, 2010 1 次提交
    • J
      x86, apbt: Moorestown APB system timer driver · bb24c471
      Jacob Pan 提交于
      Moorestown platform does not have PIT or HPET platform timers.  Instead it
      has a bank of eight APB timers.  The number of available timers to the os
      is exposed via SFI mtmr tables.  All APB timer interrupts are routed via
      ioapic rtes and delivered as MSI.
      Currently, we use timer 0 and 1 for per cpu clockevent devices, timer 2
      for clocksource.
      Signed-off-by: NJacob Pan <jacob.jun.pan@intel.com>
      LKML-Reference: <43F901BD926A4E43B106BF17856F0755A318D2D2@orsmsx508.amr.corp.intel.com>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      bb24c471