1. 13 12月, 2011 1 次提交
    • W
      ARM: reset: implement soft_restart for jumping to a physical address · 290130a1
      Will Deacon 提交于
      Tools such as kexec and CPU hotplug require a way to reset the processor
      and branch to some code in physical space. This requires various bits of
      jiggery pokery with the caches and MMU which, when it goes wrong, tends
      to lock up the system.
      
      This patch fleshes out the soft_restart implementation so that it
      branches to the reset code using the identity mapping. This requires us
      to change to a temporary stack, held within the kernel image as a static
      array, to avoid conflicting with the new view of memory.
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      290130a1
  2. 08 12月, 2011 3 次提交
  3. 06 12月, 2011 4 次提交
  4. 02 12月, 2011 4 次提交
  5. 01 12月, 2011 3 次提交
  6. 27 11月, 2011 2 次提交
  7. 23 11月, 2011 1 次提交
  8. 21 11月, 2011 2 次提交
  9. 19 11月, 2011 1 次提交
    • N
      ARM: sort the meminfo array earlier · 27a3f0e9
      Nicolas Pitre 提交于
      The meminfo array has to be sorted before sanity_check_meminfo() in
      arch/arm/mm/mmu.c is called for it to work properly.  This also allows
      for a simpler find_limits() in arch/arm/mm/init.c.
      
      The sort is moved to arch/arm/kernel/setup.c because that's where the
      meminfo array is populated.  Eventually this should be improved upon
      to make the memory bank parser a bit more robust against problems
      such as overlapping memory ranges.
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      27a3f0e9
  10. 18 11月, 2011 1 次提交
  11. 17 11月, 2011 1 次提交
    • W
      ARM: perf: initialise used_mask for fake PMU during validation · bce34d14
      Will Deacon 提交于
      When validating an event group, we call pmu->get_event_idx for each
      group member in order to check that the group can be scheduled as a
      unit on an empty PMU.
      
      As a result of 3fc2c830 ("ARM: perf: remove event limit from
      pmu_hw_events"), the used_mask member of struct cpu_hw_events must be
      setup explicitly, something which we don't do for the fake cpu_hw_events
      used for validation.
      
      This patch sets up an empty used_mask for the fake validation
      cpu_hw_events, preventing NULL deferences when trying to get the event
      index.
      Reported-by: NPawel Moll <pawel.moll@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      bce34d14
  12. 16 11月, 2011 2 次提交
  13. 12 11月, 2011 1 次提交
  14. 11 11月, 2011 4 次提交
  15. 09 11月, 2011 1 次提交
  16. 08 11月, 2011 1 次提交
  17. 01 11月, 2011 5 次提交
  18. 24 10月, 2011 1 次提交
  19. 23 10月, 2011 2 次提交