1. 02 3月, 2018 1 次提交
    • P
      target/arm: Define an IDAU interface · 181962fd
      Peter Maydell 提交于
      In v8M, the Implementation Defined Attribution Unit (IDAU) is
      a small piece of hardware typically implemented in the SoC
      which provides board or SoC specific security attribution
      information for each address that the CPU performs MPU/SAU
      checks on. For QEMU, we model this with a QOM interface which
      is implemented by the board or SoC object and connected to
      the CPU using a link property.
      
      This commit defines the new interface class, adds the link
      property to the CPU object, and makes the SAU checking
      code call the IDAU interface if one is present.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NRichard Henderson <richard.henderson@linaro.org>
      Message-id: 20180220180325.29818-5-peter.maydell@linaro.org
      181962fd
  2. 01 3月, 2018 5 次提交
  3. 22 2月, 2018 1 次提交
    • P
      target/arm: Fix register definitions for VMIDR and VMPIDR · 36476562
      Peter Maydell 提交于
      The register definitions for VMIDR and VMPIDR have separate
      reginfo structs for the AArch32 and AArch64 registers. However
      the 32-bit versions are wrong:
       * they use offsetof instead of offsetoflow32 to mark where
         the 32-bit value lives in the uint64_t CPU state field
       * they don't mark themselves as ARM_CP_ALIAS
      
      In particular this means that if you try to use an Arm guest CPU
      which enables EL2 on a big-endian host it will assert at reset:
       target/arm/cpu.c:114: cp_reg_check_reset: Assertion `oldvalue == newvalue' failed.
      
      because the reset of the 32-bit register writes to the top
      half of the uint64_t.
      
      Correct the errors in the structures.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      ---
      This is necessary for 'make check' to pass on big endian
      systems with the 'raspi3' board enabled, which is the
      first board which has an EL2-enabled-by-default CPU.
      36476562
  4. 21 2月, 2018 1 次提交
  5. 16 2月, 2018 6 次提交
  6. 09 2月, 2018 8 次提交
  7. 25 1月, 2018 6 次提交
  8. 16 1月, 2018 2 次提交
  9. 14 12月, 2017 10 次提交