1. 22 12月, 2010 1 次提交
    • R
      ARM: pgtable: switch order of Linux vs hardware page tables · d30e45ee
      Russell King 提交于
      This switches the ordering of the Linux vs hardware page tables in
      each page, thereby eliminating some of the arithmetic in the page
      table walks.  As we now place the Linux page table at the beginning
      of the page, we can deal with the offset in the pgt by simply masking
      it away, along with the other control bits.
      
      This also makes the arithmetic all be positive, rather than a mixture.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d30e45ee
  2. 08 10月, 2010 2 次提交
    • R
      ARM: hotplug cpu: Keep processor information, startup code & __lookup_processor_type · 5085f3ff
      Russell King 提交于
      When hotplug CPU is enabled, we need to keep the list of supported CPUs,
      their setup functions, and __lookup_processor_type in place so that we
      can find and initialize secondary CPUs.  Move these into the __CPUINIT
      section.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      5085f3ff
    • T
      ARM: 6435/1: Fix HWCAP_TLS flag for ARM11MPCore/Cortex-A9 · c0bb5862
      Tony Lindgren 提交于
      Commit 14eff181 added proper
      detection for ARM11MPCore/Cortex-A9 instead of detecting them
      as ARMv7. However, it was missing the HWCAP_TLS flags.
      
      HWCAP_TLS is needed if support for earlier ARMv6 is compiled
      into the same kernel. Without HWCAP_TLS flags the userspace
      won't work unless nosmp is specified:
      
      Kernel panic - not syncing: Attempted to kill init!
      CPU0: stopping
      <c005d5e4>] (unwind_backtrace+0x0/0xec) from [<c004c2f8>] (do_IPI+0xfc/0x184)
      <c004c2f8>] (do_IPI+0xfc/0x184) from [<c03f25bc>] (__irq_svc+0x9c/0x160)
      Exception stack(0xc0565f80 to 0xc0565fc8)
      5f80: 00000001 c05772a0 00000000 00003a61 c0564000 c05cf500 c003603c c0578600
      5fa0: 80033ef0 410fc091 0000001f 00000000 00000000 c0565fc8 c00b91f8 c0057cb4
      5fc0: 20000013 ffffffff
      [<c03f25bc>] (__irq_svc+0x9c/0x160) from [<c0057cb4>] (default_idle+0x30/0x38)
      [<c0057cb4>] (default_idle+0x30/0x38) from [<c005829c>] (cpu_idle+0x9c/0xf8)
      [<c005829c>] (cpu_idle+0x9c/0xf8) from [<c0008d48>] (start_kernel+0x2a4/0x300)
      [<c0008d48>] (start_kernel+0x2a4/0x300) from [<80008084>] (0x80008084)
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      c0bb5862
  3. 05 10月, 2010 2 次提交
  4. 17 9月, 2010 4 次提交
  5. 27 7月, 2010 1 次提交
    • R
      ARM: Factor out common code from cpu_proc_fin() · 9ca03a21
      Russell King 提交于
      All implementations of cpu_proc_fin() start by disabling interrupts
      and then flush caches.  Rather than have every processors proc_fin()
      implementation do this, move it out into generic code - and move the
      cache flush past setup_mm_for_reboot() (so it can benefit from having
      caches still enabled.)
      
      This allows cpu_proc_fin() to become independent of the L1/L2 cache
      types, and eventually move the L2 cache flushing into the L2 support
      code.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9ca03a21
  6. 09 7月, 2010 1 次提交
  7. 20 1月, 2010 2 次提交
  8. 04 11月, 2009 1 次提交
  9. 03 11月, 2009 1 次提交
    • R
      ARM: ensure initial page tables are setup for SMP systems · 4b46d641
      Russell King 提交于
      Mapping the same memory using two different attributes (memory
      type, shareability, cacheability) is unpredictable.  During boot,
      we encounter a situation when we're updating the kernel's page
      tables which can lead to dirty cache lines existing in the cache
      which are subsequently missed.  This causes stack corruption,
      and therefore a crash.
      
      Therefore, ensure that the shared and cacheability settings
      matches the configuration that will be used later; this together
      with the restriction in early_cachepolicy() ensures that we won't
      create a mismatch during boot.
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      4b46d641
  10. 03 10月, 2009 1 次提交
  11. 24 7月, 2009 2 次提交
  12. 03 6月, 2009 1 次提交
  13. 30 5月, 2009 5 次提交
  14. 01 5月, 2009 3 次提交
  15. 28 4月, 2009 1 次提交
  16. 10 11月, 2008 1 次提交
  17. 07 11月, 2008 1 次提交
  18. 06 11月, 2008 2 次提交
  19. 23 10月, 2008 1 次提交
  20. 03 10月, 2008 1 次提交
  21. 01 10月, 2008 4 次提交
  22. 01 9月, 2008 1 次提交
  23. 24 4月, 2008 1 次提交