1. 27 7月, 2010 2 次提交
  2. 16 7月, 2010 3 次提交
  3. 09 7月, 2010 7 次提交
  4. 01 7月, 2010 1 次提交
    • W
      ARM: 6194/1: change definition of cpu_relax() for ARM11MPCore · 534be1d5
      Will Deacon 提交于
      Linux expects that if a CPU modifies a memory location, then that
      modification will eventually become visible to other CPUs in the system.
      
      On an ARM11MPCore processor, loads are prioritised over stores so it is
      possible for a store operation to be postponed if a polling loop immediately
      follows it. If the variable being polled indirectly depends on the outstanding
      store [for example, another CPU may be polling the variable that is pending
      modification] then there is the potential for deadlock if interrupts are
      disabled. This deadlock occurs in the KGDB testsuire when executing on an
      SMP ARM11MPCore configuration.
      
      This patch changes the definition of cpu_relax() to smp_mb() for ARMv6 cores,
      forcing a flushing of the write buffer on SMP systems before the next load
      takes place. If the Kernel is not compiled for SMP support, this will expand
      to a barrier() as before.
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      534be1d5
  5. 13 6月, 2010 1 次提交
  6. 28 5月, 2010 1 次提交
  7. 21 5月, 2010 2 次提交
  8. 17 5月, 2010 5 次提交
  9. 15 5月, 2010 4 次提交
  10. 14 5月, 2010 1 次提交
  11. 12 5月, 2010 1 次提交
  12. 08 5月, 2010 1 次提交
  13. 04 5月, 2010 1 次提交
  14. 02 5月, 2010 7 次提交
  15. 01 5月, 2010 1 次提交
  16. 30 4月, 2010 2 次提交