1. 25 2月, 2011 1 次提交
    • T
      x86: dt: Cleanup local apic setup · a906fdaa
      Thomas Gleixner 提交于
      Up to now we force enable the local apic in the devicetree setup
      uncoditionally and set smp_found_config unconditionally to 1 when a
      devicetree blob is available. This breaks, when local apic is disabled
      in the Kconfig.
      
      Make it consistent by initializing device tree explicitely before
      smp_get_config() so a non lapic configuration could be used as well.
      To be functional that would require to implement PIT as an interrupt
      host, but the only user of this code until now is ce4100 which
      requires apics to be available. So we leave this up to those who need
      it.
      Tested-by: NSebastian Siewior <bigeasy@linutronix.de>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      a906fdaa
  2. 24 2月, 2011 23 次提交
  3. 23 2月, 2011 10 次提交
  4. 19 2月, 2011 1 次提交
    • J
      x86: mrst: Remove apb timer read workaround · 5df91509
      jacob.jun.pan@linux.intel.com 提交于
      APB timer current count was unreliable in the earlier silicon, which
      could result in time going backwards. This problem has been fixed in
      the current silicon stepping. This patch removes the workaround which
      was used to check and prevent timer rolling back when APB timer is
      used as clocksource device.
      
      The workaround code was also flawed by potential race condition
      around the cached read value last_read. Though a fix can be done
      by assigning last_read to a local variable at the beginning of
      apbt_read_clocksource(), but this is not necessary anymore.
      
      [ tglx: A sane timer on an Intel chip - I can't believe it ]
      Signed-off-by: NJacob Pan <jacob.jun.pan@linux.intel.com>
      Cc: Arjan van de Ven <arjan@linux.intel.com>
      Cc: Alan Cox <alan@linux.intel.com>
      LKML-Reference: <1298065374-25532-1-git-send-email-jacob.jun.pan@linux.intel.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      5df91509
  5. 18 2月, 2011 1 次提交
  6. 15 2月, 2011 4 次提交