1. 02 6月, 2015 1 次提交
  2. 01 6月, 2015 1 次提交
  3. 21 5月, 2015 1 次提交
  4. 19 5月, 2015 4 次提交
  5. 12 5月, 2015 1 次提交
  6. 05 5月, 2015 1 次提交
    • W
      Revert "arm64: alternative: Allow immediate branch as alternative instruction" · b9a95e85
      Will Deacon 提交于
      This reverts most of commit fef7f2b2.
      
      It turns out that there are a couple of problems with the way we're
      fixing up branch instructions used as part of alternative instruction
      sequences:
      
        (1) If the branch target is also in the alternative sequence, we'll
            generate a branch into the .altinstructions section which actually
            gets freed.
      
        (2) The calls to aarch64_insn_{read,write} bring an awful lot more
            code into the patching path (e.g. taking locks, poking the fixmap,
            invalidating the TLB) which isn't actually needed for the early
            patching run under stop_machine, but makes the use of alternative
            sequences extremely fragile (as we can't patch code that could be
            used by the patching code).
      
      Given that no code actually requires alternative patching of immediate
      branches, let's remove this support for now and revisit it when we've
      got a user. We leave the updated size check, since we really do require
      the sequences to be the same length.
      Acked-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      b9a95e85
  7. 30 4月, 2015 2 次提交
  8. 14 4月, 2015 1 次提交
  9. 13 4月, 2015 1 次提交
  10. 01 4月, 2015 2 次提交
  11. 31 3月, 2015 2 次提交
  12. 30 3月, 2015 3 次提交
  13. 27 3月, 2015 1 次提交
  14. 26 3月, 2015 11 次提交
  15. 25 3月, 2015 6 次提交
  16. 24 3月, 2015 2 次提交
    • M
      arm64: head.S: ensure idmap_t0sz is visible · 0c20856c
      Mark Rutland 提交于
      We write idmap_t0sz with SCTLR_EL1.{C,M} clear, but we only have the
      guarnatee that the kernel Image is clean, not invalid in the caches, and
      therefore we might read a stale value once the MMU is enabled.
      
      This patch ensures we invalidate the corresponding cacheline after the
      write as we do for all other data written before we set SCTLR_EL1.{C.M},
      guaranteeing that the value will be visible later. We rely on the DSBs
      in __create_page_tables to complete the maintenance.
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      CC: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      0c20856c
    • W
      arm64: pmu: add support for interrupt-affinity property · d5efd9cc
      Will Deacon 提交于
      Historically, the PMU devicetree bindings have expected SPIs to be
      listed in order of *logical* CPU number. This is problematic for
      bootloaders, especially when the boot CPU (logical ID 0) isn't listed
      first in the devicetree.
      
      This patch adds a new optional property, interrupt-affinity, to the
      PMU node which allows the interrupt affinity to be described using
      a list of phandled to CPU nodes, with each entry in the list
      corresponding to the SPI at the same index in the interrupts property.
      
      Cc: Mark Rutland <mark.rutland@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      d5efd9cc