target-arm queue
Here's the ARM queue. I know I have a pile of backed-up code review to do, but I wanted to get these patches out rather than accumulating a fifty-patch queue...
thanks
-- PMM
The following changes since commit 34a4450434f1a5daee06fca223afcbb9c8f1ee24:
Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20150824' into staging (2015-08-25 13:34:57 +0100)
are available in the git repository at:
git://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20150825
for you to fetch changes up to ff4657fa18b08279ce1f79da35a0e9e0b9574dd5:
target-arm: Implement AArch64 TLBI operations on IPAs (2015-08-25 15:45:10 +0100)
----------------------------------------------------------------
target-arm queue:
* add missing EL2/EL3 TLBI operations
* add missing EL2/EL3 ATS operations
* add missing EL2/EL3 registers
* update Xilinx MAINTAINERS info
* Xilinx: connect the four OCM banks
* virt: add SMBIOS support
----------------------------------------------------------------
Alistair Francis (3):
xlnx-zynqmp: Connect the four OCM banks
MAINTAINERS: Update Xilinx Maintainership
MAINTAINERS: Add ZynqMP to MAINTAINERS file
Peter Maydell (15):
target-arm: Add missing MAIR_EL3 and TPIDR_EL3 registers
target-arm: Implement missing AMAIR registers
target-arm: Implement missing AFSR registers
target-arm: Implement missing ACTLR registers
target-arm: there is no TTBR1 for 32-bit EL2 stage 1 translations
target-arm: Wire up AArch64 EL2 and EL3 address translation ops
target-arm: Add CP_ACCESS_TRAP_UNCATEGORIZED_EL2, 3
target-arm: Enable the AArch32 ATS12NSO ops
target-arm: Implement AArch32 ATS1H* operations
cputlb: Add functions for flushing TLB for a single MMU index
target-arm: Move TLBI ALLE1/ALLE1IS definitions into numeric order
target-arm: Restrict AArch64 TLB flushes to the MMU indexes they must touch
target-arm: Implement missing EL2 TLBI operations
target-arm: Implement missing EL3 TLB invalidate operations
target-arm: Implement AArch64 TLBI operations on IPAs
Wei Huang (2):
smbios: add smbios 3.0 support
smbios: implement smbios support for mach-virt
MAINTAINERS | 27 ++- cputlb.c | 97 ++++++++ default-configs/arm-softmmu.mak | 1 + hw/arm/virt.c | 26 +++ hw/arm/xlnx-zynqmp.c | 15 ++ hw/i386/pc_piix.c | 3 +- hw/i386/pc_q35.c | 3 +- hw/smbios/smbios.c | 84 +++++-- include/exec/exec-all.h | 47 ++++ include/hw/arm/xlnx-zynqmp.h | 6 + include/hw/smbios/smbios.h | 51 +++-- qemu-options.hx | 2 +- target-arm/cpu.h | 3 + target-arm/helper.c | 489 +++++++++++++++++++++++++++++++++++----- target-arm/op_helper.c | 8 + 15 files changed, 759 insertions(+), 103 deletions(-)
[Qemu-devel] [PULL 18/20] target-arm: Implement missing EL2 TLBI operations
Implement the missing TLBI operations that exist only if EL2 is implemented.
Message-id: [email protected]
--- target-arm/helper.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
target-arm/helper.c +22 -0
@@ -2591,6 +2591,16 @@ static void tlbi_aa64_alle1is_write(CPUARMState *env, const ARMCPRegInfo *ri, } } +static void tlbi_aa64_alle2is_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +CPUState *other_cs; + +CPU_FOREACH (other_cs) { +tlb_flush_by_mmuidx (other_cs, ARMMMUIdx_S1E2,-1 ); + } +} +static void tlbi_aa64_vae1_write (CPUARMState *env,const ARMCPRegInfo *ri,uint64_t value) {
@@ -3146,10 +3156,22 @@ static const ARMCPRegInfo el2_cp_reginfo[] = { .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 1, .type = ARM_CP_NO_RAW, .access = PL2_W, .writefn = tlbi_aa64_vae2_write }, + { .name = "TLBI_VALE2", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 5, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_vae2_write }, + { .name = "TLBI_ALLE2IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 0, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_alle2is_write }, { .name = "TLBI_VAE2IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 1, .type = ARM_CP_NO_RAW, .access = PL2_W, .writefn = tlbi_aa64_vae2is_write }, + { .name = "TLBI_VALE2IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 5, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_vae2is_write }, #ifndef CONFIG_USER_ONLY/* Unlike the other EL2-related AT operations, these must * UNDEF from EL3 if EL2 is not implemented, which is why we
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 19/20] target-arm: Implement missing EL3 TLB invalidate operations
In reply to Peter MaydellImplement the remaining stage 1 TLB invalidate operations visible from EL3.
Message-id: [email protected]
--- target-arm/helper.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+)
target-arm/helper.c +76 -0
@@ -2567,6 +2567,15 @@ static void tlbi_aa64_alle2_write(CPUARMState *env, const ARMCPRegInfo *ri,tlb_flush_by_mmuidx (cs, ARMMMUIdx_S1E2,-1 ); } +static void tlbi_aa64_alle3_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +ARMCPU *cpu =arm_env_get_cpu (env); +CPUState *cs =CPU (cpu); + +tlb_flush_by_mmuidx (cs, ARMMMUIdx_S1E3,-1 ); +} +static void tlbi_aa64_alle1is_write (CPUARMState *env,const ARMCPRegInfo *ri,uint64_t value) {
@@ -2601,6 +2610,16 @@ static void tlbi_aa64_alle2is_write(CPUARMState *env, const ARMCPRegInfo *ri, } } +static void tlbi_aa64_alle3is_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +CPUState *other_cs; + +CPU_FOREACH (other_cs) { +tlb_flush_by_mmuidx (other_cs, ARMMMUIdx_S1E3,-1 ); + } +} +static void tlbi_aa64_vae1_write (CPUARMState *env,const ARMCPRegInfo *ri,uint64_t value) {
@@ -2636,6 +2655,20 @@ static void tlbi_aa64_vae2_write(CPUARMState *env, const ARMCPRegInfo *ri,tlb_flush_page_by_mmuidx (cs, pageaddr, ARMMMUIdx_S1E2,-1 ); } +static void tlbi_aa64_vae3_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +/* Invalidate by VA, EL3 +* Currently handles both VAE3 and VALE3, since we don't support +* flush-last-level-only. +*/ +ARMCPU *cpu =arm_env_get_cpu (env); +CPUState *cs =CPU (cpu); +uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 ); + +tlb_flush_page_by_mmuidx (cs, pageaddr, ARMMMUIdx_S1E3,-1 ); +} +static void tlbi_aa64_vae1is_write (CPUARMState *env,const ARMCPRegInfo *ri,uint64_t value) {
@@ -2665,6 +2698,17 @@ static void tlbi_aa64_vae2is_write(CPUARMState *env, const ARMCPRegInfo *ri, } } +static void tlbi_aa64_vae3is_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +CPUState *other_cs; +uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 ); + +CPU_FOREACH (other_cs) { +tlb_flush_page_by_mmuidx (other_cs, pageaddr, ARMMMUIdx_S1E3,-1 ); + } +} +static CPAccessResult aa64_zva_access (CPUARMState *env,const ARMCPRegInfo *ri) {/* We don't implement EL2, so the only control on DC ZVA is the
@@ -2849,10 +2893,18 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 4, .access = PL2_W, .type = ARM_CP_NO_RAW, .writefn = tlbi_aa64_alle1is_write }, + { .name = "TLBI_VMALLS12E1IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 6, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_alle1is_write }, { .name = "TLBI_ALLE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 4, .access = PL2_W, .type = ARM_CP_NO_RAW, .writefn = tlbi_aa64_alle1_write }, + { .name = "TLBI_VMALLS12E1", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 6, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_alle1is_write }, #ifndef CONFIG_USER_ONLY /* 64 bit address translation operations */ { .name = "AT_S1E1R", .state = ARM_CP_STATE_AA64,
@@ -3317,6 +3369,30 @@ static const ARMCPRegInfo el3_cp_reginfo[] = { .opc0 = 3, .opc1 = 6, .crn = 5, .crm = 1, .opc2 = 1, .access = PL3_RW, .type = ARM_CP_CONST, .resetvalue = 0 }, + { .name = "TLBI_ALLE3IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 6, .crn = 8, .crm = 3, .opc2 = 0, + .access = PL3_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_alle3is_write }, + { .name = "TLBI_VAE3IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 6, .crn = 8, .crm = 3, .opc2 = 1, + .access = PL3_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_vae3is_write }, + { .name = "TLBI_VALE3IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 6, .crn = 8, .crm = 3, .opc2 = 5, + .access = PL3_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_vae3is_write }, + { .name = "TLBI_ALLE3", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 6, .crn = 8, .crm = 7, .opc2 = 0, + .access = PL3_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_alle3_write }, + { .name = "TLBI_VAE3", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 6, .crn = 8, .crm = 7, .opc2 = 1, + .access = PL3_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_vae3_write }, + { .name = "TLBI_VALE3", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 6, .crn = 8, .crm = 7, .opc2 = 5, + .access = PL3_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_vae3_write }, REGINFO_SENTINEL };
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 10/20] target-arm: Add CP_ACCESS_TRAP_UNCATEGORIZED_EL2, 3
In reply to Peter MaydellSome coprocessor register access functions need to be able to report "trap to EL3 with an 'uncategorized' syndrome"; add the necessary CPAccessResult enum and handling for it.
I don't currently know of any registers that need to trap to EL2 with the 'uncategorized' syndrome, but adding the _EL2 enum as well is trivial and fills in what would otherwise be an odd gap in the handling.
Message-id: [email protected]
--- target-arm/cpu.h | 3 +++ target-arm/op_helper.c | 8 ++++++++ 2 files changed, 11 insertions(+)
target-arm/cpu.h +3 -0
@@ -1284,6 +1284,9 @@ typedef enum CPAccessResult {/* As CP_ACCESS_TRAP, but for traps directly to EL2 or EL3 */ CP_ACCESS_TRAP_EL2 =3 ,CP_ACCESS_TRAP_EL3 =4 , +/* As CP_ACCESS_UNCATEGORIZED, but for traps directly to EL2 or EL3 */ +CP_ACCESS_TRAP_UNCATEGORIZED_EL2 =5 , +CP_ACCESS_TRAP_UNCATEGORIZED_EL3 =6 , } CPAccessResult;/* Access functions for coprocessor registers. These cannot fail and
target-arm/op_helper.c +8 -0
@@ -444,6 +444,14 @@ void HELPER(access_check_cp_reg)(CPUARMState *env, void *rip, uint32_t syndrome) target_el =exception_target_el (env); syndrome =syn_uncategorized ();break ; +case CP_ACCESS_TRAP_UNCATEGORIZED_EL2 : + target_el =2 ; + syndrome =syn_uncategorized (); +break ; +case CP_ACCESS_TRAP_UNCATEGORIZED_EL3 : + target_el =3 ; + syndrome =syn_uncategorized (); +break ;default :g_assert_not_reached (); }
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 09/20] target-arm: Wire up AArch64 EL2 and EL3 address translation ops
In reply to Peter MaydellWire up the AArch64 EL2 and EL3 address translation operations (AT S12E1*, AT S12E0*, AT S1E2*, AT S1E3*), and correct some errors in the ats_write64() function in previously unused code that would have done the wrong kind of lookup for accesses from EL3 when SCR.NS==0.
Message-id: [email protected]
--- target-arm/helper.c | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-)
target-arm/helper.c +41 -2
@@ -1844,6 +1844,14 @@ static void ats_write(CPUARMState *env, const ARMCPRegInfo *ri, uint64_t value)A32_BANKED_CURRENT_REG_SET (env, par, par64); } +static CPAccessResult at_s1e2_access (CPUARMState *env,const ARMCPRegInfo *ri) +{ +if (arm_current_el (env) ==3 && !(env->cp15.scr_el3 &SCR_NS )) { +return CP_ACCESS_TRAP ; + } +return CP_ACCESS_OK ; +} +static void ats_write64 (CPUARMState *env,const ARMCPRegInfo *ri,uint64_t value) {
@@ -1871,10 +1879,10 @@ static void ats_write64(CPUARMState *env, const ARMCPRegInfo *ri, mmu_idx = secure ? ARMMMUIdx_S1SE0 : ARMMMUIdx_S1NSE0;break ;case 4 :/* AT S12E1R, AT S12E1W */ - mmu_idx = ARMMMUIdx_S12NSE1; + mmu_idx = secure ? ARMMMUIdx_S1SE1 : ARMMMUIdx_S12NSE1;break ;case 6 :/* AT S12E0R, AT S12E0W */ - mmu_idx = ARMMMUIdx_S12NSE0; + mmu_idx = secure ? ARMMMUIdx_S1SE0 : ARMMMUIdx_S12NSE0;break ;default :g_assert_not_reached ();
@@ -2746,6 +2754,25 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { { .name = "AT_S1E0W", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 7, .crm = 8, .opc2 = 3, .access = PL1_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + { .name = "AT_S12E1R", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 0, .crn = 7, .crm = 8, .opc2 = 4, + .access = PL2_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + { .name = "AT_S12E1W", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 0, .crn = 7, .crm = 8, .opc2 = 5, + .access = PL2_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + { .name = "AT_S12E0R", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 0, .crn = 7, .crm = 8, .opc2 = 6, + .access = PL2_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + { .name = "AT_S12E0W", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 0, .crn = 7, .crm = 8, .opc2 = 7, + .access = PL2_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + /* AT S1E2* are elsewhere as they UNDEF from EL3 if EL2 is not present */ + { .name = "AT_S1E3R", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 6, .crn = 7, .crm = 8, .opc2 = 0, + .access = PL3_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + { .name = "AT_S1E3W", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 6, .crn = 7, .crm = 8, .opc2 = 1, + .access = PL3_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, #endif /* TLB invalidate last level of translation table walk */ { .name = "TLBIMVALIS", .cp = 15, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 5,
@@ -3021,6 +3048,18 @@ static const ARMCPRegInfo el2_cp_reginfo[] = { .type = ARM_CP_NO_RAW, .access = PL2_W, .writefn = tlbi_aa64_vaa_write },#ifndef CONFIG_USER_ONLY +/* Unlike the other EL2-related AT operations, these must +* UNDEF from EL3 if EL2 is not implemented, which is why we +* define them here rather than with the rest of the AT ops. +*/ + { .name = "AT_S1E2R", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 7, .crm = 8, .opc2 = 0, + .access = PL2_W, .accessfn = at_s1e2_access, + .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + { .name = "AT_S1E2W", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 7, .crm = 8, .opc2 = 1, + .access = PL2_W, .accessfn = at_s1e2_access, + .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, { .name = "CNTHCTL_EL2", .state = ARM_CP_STATE_BOTH, .opc0 = 3, .opc1 = 4, .crn = 14, .crm = 1, .opc2 = 0,/* ARMv7 requires bit 0 and 1 to reset to 1. ARMv8 defines the
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 07/20] target-arm: Implement missing ACTLR registers
In reply to Peter MaydellWe already implemented ACTLR_EL1; add the missing ACTLR_EL2 and ACTLR_EL3, for consistency.
Since we don't currently have any CPUs that need the EL2/EL3 versions to reset to non-zero values, implement as RAZ/WI.
Message-id: [email protected]
--- target-arm/helper.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-)
target-arm/helper.c +15 -6
@@ -3936,13 +3936,22 @@ void register_cp_regs_for_features(ARMCPU *cpu) }if (arm_feature (env,ARM_FEATURE_AUXCR )) { -ARMCPRegInfo auxcr = { - .name ="ACTLR_EL1" , .state =ARM_CP_STATE_BOTH , - .opc0 =3 , .opc1 =0 , .crn =1 , .crm =0 , .opc2 =1 , - .access =PL1_RW , .type =ARM_CP_CONST , - .resetvalue = cpu->reset_auxcr +ARMCPRegInfo auxcr_reginfo[] = { + { .name ="ACTLR_EL1" , .state =ARM_CP_STATE_BOTH , + .opc0 =3 , .opc1 =0 , .crn =1 , .crm =0 , .opc2 =1 , + .access =PL1_RW , .type =ARM_CP_CONST , + .resetvalue = cpu->reset_auxcr }, + { .name ="ACTLR_EL2" , .state =ARM_CP_STATE_BOTH , + .opc0 =3 , .opc1 =4 , .crn =1 , .crm =0 , .opc2 =1 , + .access =PL2_RW , .type =ARM_CP_CONST , + .resetvalue =0 }, + { .name ="ACTLR_EL3" , .state =ARM_CP_STATE_AA64 , + .opc0 =3 , .opc1 =6 , .crn =1 , .crm =0 , .opc2 =1 , + .access =PL3_RW , .type =ARM_CP_CONST , + .resetvalue =0 }, +REGINFO_SENTINEL }; -define_one_arm_cp_reg (cpu, &auxcr); +define_arm_cp_regs (cpu, auxcr_reginfo); }if (arm_feature (env,ARM_FEATURE_CBAR )) {
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 20/20] target-arm: Implement AArch64 TLBI operations on IPAs
In reply to Peter MaydellImplement the AArch64 TLBI operations which take an intermediate physical address and invalidate stage 2 translations.
Message-id: [email protected]
--- target-arm/helper.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+)
target-arm/helper.c +55 -0
@@ -2709,6 +2709,45 @@ static void tlbi_aa64_vae3is_write(CPUARMState *env, const ARMCPRegInfo *ri, } } +static void tlbi_aa64_ipas2e1_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +/* Invalidate by IPA. This has to invalidate any structures that +* contain only stage 2 translation information, but does not need +* to apply to structures that contain combined stage 1 and stage 2 +* translation information. +* This must NOP if EL2 isn't implemented or SCR_EL3.NS is zero. +*/ +ARMCPU *cpu =arm_env_get_cpu (env); +CPUState *cs =CPU (cpu); +uint64_t pageaddr; + +if (!arm_feature (env,ARM_FEATURE_EL2 ) || !(env->cp15.scr_el3 &SCR_NS )) { +return ; + } + + pageaddr =sextract64 (value <<12 ,0 ,48 ); + +tlb_flush_page_by_mmuidx (cs, pageaddr, ARMMMUIdx_S2NS,-1 ); +} + +static void tlbi_aa64_ipas2e1is_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +CPUState *other_cs; +uint64_t pageaddr; + +if (!arm_feature (env,ARM_FEATURE_EL2 ) || !(env->cp15.scr_el3 &SCR_NS )) { +return ; + } + + pageaddr =sextract64 (value <<12 ,0 ,48 ); + +CPU_FOREACH (other_cs) { +tlb_flush_page_by_mmuidx (other_cs, pageaddr, ARMMMUIdx_S2NS,-1 ); + } +} +static CPAccessResult aa64_zva_access (CPUARMState *env,const ARMCPRegInfo *ri) {/* We don't implement EL2, so the only control on DC ZVA is the
@@ -2889,6 +2928,14 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 7, .opc2 = 7, .access = PL1_W, .type = ARM_CP_NO_RAW, .writefn = tlbi_aa64_vae1_write }, + { .name = "TLBI_IPAS2E1IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 0, .opc2 = 1, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_ipas2e1is_write }, + { .name = "TLBI_IPAS2LE1IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 0, .opc2 = 5, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_ipas2e1is_write }, { .name = "TLBI_ALLE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 4, .access = PL2_W, .type = ARM_CP_NO_RAW,
@@ -2897,6 +2944,14 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 6, .access = PL2_W, .type = ARM_CP_NO_RAW, .writefn = tlbi_aa64_alle1is_write }, + { .name = "TLBI_IPAS2E1", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 4, .opc2 = 1, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_ipas2e1_write }, + { .name = "TLBI_IPAS2LE1", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 4, .opc2 = 5, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbi_aa64_ipas2e1_write }, { .name = "TLBI_ALLE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 4, .access = PL2_W, .type = ARM_CP_NO_RAW,
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 05/20] target-arm: Implement missing AMAIR registers
In reply to Peter MaydellThe AMAIR registers are for providing auxiliary implementation defined memory attributes. We already implemented a RAZ/WI AMAIR_EL1; add the EL2 and EL3 versions for consistency.
Message-id: [email protected]
--- target-arm/helper.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
target-arm/helper.c +21 -0
@@ -2840,6 +2840,14 @@ static const ARMCPRegInfo el3_no_el2_cp_reginfo[] = { { .name = "HMAIR1", .state = ARM_CP_STATE_AA32, .opc1 = 4, .crn = 10, .crm = 2, .opc2 = 1, .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 }, + { .name = "AMAIR_EL2", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 0, + .access = PL2_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, + { .name = "HMAIR1", .state = ARM_CP_STATE_AA32, + .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 1, + .access = PL2_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, { .name = "TCR_EL2", .state = ARM_CP_STATE_BOTH, .opc0 = 3, .opc1 = 4, .crn = 2, .crm = 0, .opc2 = 2, .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 },
@@ -2955,6 +2963,15 @@ static const ARMCPRegInfo el2_cp_reginfo[] = { .opc1 = 4, .crn = 10, .crm = 2, .opc2 = 1, .access = PL2_RW, .type = ARM_CP_ALIAS, .fieldoffset = offsetofhigh32(CPUARMState, cp15.mair_el[2]) }, + { .name = "AMAIR_EL2", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 0, + .access = PL2_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, + /* HAMAIR1 is mapped to AMAIR_EL2[63:32] */ + { .name = "HMAIR1", .state = ARM_CP_STATE_AA32, + .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 1, + .access = PL2_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, { .name = "TCR_EL2", .state = ARM_CP_STATE_BOTH, .opc0 = 3, .opc1 = 4, .crn = 2, .crm = 0, .opc2 = 2, .access = PL2_RW, .writefn = vmsa_tcr_el1_write,
@@ -3097,6 +3114,10 @@ static const ARMCPRegInfo el3_cp_reginfo[] = { .opc0 = 3, .opc1 = 6, .crn = 13, .crm = 0, .opc2 = 2, .access = PL3_RW, .resetvalue = 0, .fieldoffset = offsetof(CPUARMState, cp15.tpidr_el[3]) }, + { .name = "AMAIR_EL3", .state = ARM_CP_STATE_AA64, + .opc0 = 3, .opc1 = 6, .crn = 10, .crm = 3, .opc2 = 0, + .access = PL3_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, REGINFO_SENTINEL };
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 06/20] target-arm: Implement missing AFSR registers
In reply to Peter MaydellThe AFSR registers are implementation dependent auxiliary fault status registers. We already implemented a RAZ/WI AFSR0_EL1 and AFSR_EL1; add the missing AFSR{0,1}_EL{2,3} for consistency.
Message-id: [email protected]
--- target-arm/helper.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
target-arm/helper.c +24 -0
@@ -2848,6 +2848,14 @@ static const ARMCPRegInfo el3_no_el2_cp_reginfo[] = { .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 1, .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 }, + { .name = "AFSR0_EL2", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 4, .crn = 5, .crm = 1, .opc2 = 0, + .access = PL2_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, + { .name = "AFSR1_EL2", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 4, .crn = 5, .crm = 1, .opc2 = 1, + .access = PL2_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, { .name = "TCR_EL2", .state = ARM_CP_STATE_BOTH, .opc0 = 3, .opc1 = 4, .crn = 2, .crm = 0, .opc2 = 2, .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 },
@@ -2972,6 +2980,14 @@ static const ARMCPRegInfo el2_cp_reginfo[] = { .opc1 = 4, .crn = 10, .crm = 3, .opc2 = 1, .access = PL2_RW, .type = ARM_CP_CONST, .resetvalue = 0 }, + { .name = "AFSR0_EL2", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 4, .crn = 5, .crm = 1, .opc2 = 0, + .access = PL2_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, + { .name = "AFSR1_EL2", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 4, .crn = 5, .crm = 1, .opc2 = 1, + .access = PL2_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, { .name = "TCR_EL2", .state = ARM_CP_STATE_BOTH, .opc0 = 3, .opc1 = 4, .crn = 2, .crm = 0, .opc2 = 2, .access = PL2_RW, .writefn = vmsa_tcr_el1_write,
@@ -3118,6 +3134,14 @@ static const ARMCPRegInfo el3_cp_reginfo[] = { .opc0 = 3, .opc1 = 6, .crn = 10, .crm = 3, .opc2 = 0, .access = PL3_RW, .type = ARM_CP_CONST, .resetvalue = 0 }, + { .name = "AFSR0_EL3", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 6, .crn = 5, .crm = 1, .opc2 = 0, + .access = PL3_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, + { .name = "AFSR1_EL3", .state = ARM_CP_STATE_BOTH, + .opc0 = 3, .opc1 = 6, .crn = 5, .crm = 1, .opc2 = 1, + .access = PL3_RW, .type = ARM_CP_CONST, + .resetvalue = 0 }, REGINFO_SENTINEL };
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 11/20] target-arm: Enable the AArch32 ATS12NSO ops
In reply to Peter MaydellApply the correct conditions in the ats_access() function for the ATS12NSO* address translation operations:
* succeed at EL2 or EL3
* normal UNDEF trap from NS EL1
* trap to EL3 from S EL1 (only possible if EL3 is AArch64)
(This change means they're now available in our EL3-supporting CPUs when they would previously always UNDEF.)
Message-id: [email protected]
--- target-arm/helper.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)
target-arm/helper.c +11 -5
@@ -1719,12 +1719,17 @@ static void par_write(CPUARMState *env, const ARMCPRegInfo *ri, uint64_t value)static CPAccessResult ats_access (CPUARMState *env,const ARMCPRegInfo *ri) {if (ri->opc2 &4 ) { -/* Other states are only available with TrustZone; in -* a non-TZ implementation these registers don't exist -* at all, which is an Uncategorized trap. This underdecoding -* is safe because the reginfo is NO_RAW. +/* The ATS12NSO* operations must trap to EL3 if executed in +* Secure EL1 (which can only happen if EL3 is AArch64). +* They are simply UNDEF if executed from NS EL1. +* They function normally from EL2 or EL3. */ -return CP_ACCESS_TRAP_UNCATEGORIZED ; +if (arm_current_el (env) ==1 ) { +if (arm_is_secure_below_el3 (env)) { +return CP_ACCESS_TRAP_UNCATEGORIZED_EL3 ; + } +return CP_ACCESS_TRAP_UNCATEGORIZED ; + } }return CP_ACCESS_OK ; }
@@ -1899,6 +1904,7 @@ static const ARMCPRegInfo vapa_cp_reginfo[] = { offsetoflow32(CPUARMState, cp15.par_ns) }, .writefn = par_write }, #ifndef CONFIG_USER_ONLY + /* This underdecoding is safe because the reginfo is NO_RAW. */ { .name = "ATS", .cp = 15, .crn = 7, .crm = 8, .opc1 = 0, .opc2 = CP_ANY, .access = PL1_W, .accessfn = ats_access, .writefn = ats_write, .type = ARM_CP_NO_RAW },
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 12/20] target-arm: Implement AArch32 ATS1H* operations
In reply to Peter MaydellImplement the AArch32 ATS1H* operations which perform Hyp mode stage 1 translations.
Message-id: [email protected]
--- target-arm/helper.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
target-arm/helper.c +22 -0
@@ -1849,6 +1849,17 @@ static void ats_write(CPUARMState *env, const ARMCPRegInfo *ri, uint64_t value)A32_BANKED_CURRENT_REG_SET (env, par, par64); } +static void ats1h_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +int access_type = ri->opc2 &1 ; +uint64_t par64; + + par64 =do_ats_write (env, value, access_type, ARMMMUIdx_S2NS); + +A32_BANKED_CURRENT_REG_SET (env, par, par64); +} +static CPAccessResult at_s1e2_access (CPUARMState *env,const ARMCPRegInfo *ri) {if (arm_current_el (env) ==3 && !(env->cp15.scr_el3 &SCR_NS )) {
@@ -3066,6 +3077,17 @@ static const ARMCPRegInfo el2_cp_reginfo[] = { .opc0 = 1, .opc1 = 4, .crn = 7, .crm = 8, .opc2 = 1, .access = PL2_W, .accessfn = at_s1e2_access, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, +/* The AArch32 ATS1H* operations are CONSTRAINED UNPREDICTABLE +* if EL2 is not implemented; we choose to UNDEF. Behaviour at EL3 +* with SCR.NS == 0 outside Monitor mode is UNPREDICTABLE; we choose +* to behave as if SCR.NS was 1. +*/ + { .name = "ATS1HR", .cp = 15, .opc1 = 4, .crn = 7, .crm = 8, .opc2 = 0, + .access = PL2_W, + .writefn = ats1h_write, .type = ARM_CP_NO_RAW }, + { .name = "ATS1HW", .cp = 15, .opc1 = 4, .crn = 7, .crm = 8, .opc2 = 1, + .access = PL2_W, + .writefn = ats1h_write, .type = ARM_CP_NO_RAW }, { .name = "CNTHCTL_EL2", .state = ARM_CP_STATE_BOTH, .opc0 = 3, .opc1 = 4, .crn = 14, .crm = 1, .opc2 = 0,/* ARMv7 requires bit 0 and 1 to reset to 1. ARMv8 defines the
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 17/20] target-arm: Restrict AArch64 TLB flushes to the MMU indexes they must touch
In reply to Peter MaydellNow we have the ability to flush the TLB only for specific MMU indexes, update the AArch64 TLB maintenance instruction implementations to only flush the parts of the TLB they need to, rather than doing full flushes.
We take the opportunity to remove some duplicate functions (the per-asid tlb ops work like the non-per-asid ones because we don't support flushing a TLB only by ASID) and to bring the function names in line with the architectural TLBI operation names.
Message-id: [email protected]
--- target-arm/helper.c | 172 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 129 insertions(+), 43 deletions(-)
target-arm/helper.c +129 -43
@@ -2507,65 +2507,151 @@ static CPAccessResult aa64_cacheop_access(CPUARMState *env,* Page D4-1736 (DDI0487A.b) */ -static void tlbi_aa64_va_write (CPUARMState *env,const ARMCPRegInfo *ri, -uint64_t value) +static void tlbi_aa64_vmalle1_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) { -/* Invalidate by VA (AArch64 version) */ ARMCPU *cpu =arm_env_get_cpu (env); -uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 ); +CPUState *cs =CPU (cpu); -tlb_flush_page (CPU (cpu), pageaddr); +if (arm_is_secure_below_el3 (env)) { +tlb_flush_by_mmuidx (cs, ARMMMUIdx_S1SE1, ARMMMUIdx_S1SE0,-1 ); + }else { +tlb_flush_by_mmuidx (cs, ARMMMUIdx_S12NSE1, ARMMMUIdx_S12NSE0,-1 ); + } } -static void tlbi_aa64_vaa_write (CPUARMState *env,const ARMCPRegInfo *ri, -uint64_t value) +static void tlbi_aa64_vmalle1is_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) { -/* Invalidate by VA, all ASIDs (AArch64 version) */ -ARMCPU *cpu =arm_env_get_cpu (env); -uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 ); +bool sec =arm_is_secure_below_el3 (env); +CPUState *other_cs; -tlb_flush_page (CPU (cpu), pageaddr); +CPU_FOREACH (other_cs) { +if (sec) { +tlb_flush_by_mmuidx (other_cs, ARMMMUIdx_S1SE1, ARMMMUIdx_S1SE0,-1 ); + }else { +tlb_flush_by_mmuidx (other_cs, ARMMMUIdx_S12NSE1, + ARMMMUIdx_S12NSE0,-1 ); + } + } } -static void tlbi_aa64_asid_write (CPUARMState *env,const ARMCPRegInfo *ri, -uint64_t value) +static void tlbi_aa64_alle1_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) { -/* Invalidate by ASID (AArch64 version) */ +/* Note that the 'ALL' scope must invalidate both stage 1 and +* stage 2 translations, whereas most other scopes only invalidate +* stage 1 translations. +*/ ARMCPU *cpu =arm_env_get_cpu (env); -int asid =extract64 (value,48 ,16 ); -tlb_flush (CPU (cpu), asid ==0 ); +CPUState *cs =CPU (cpu); + +if (arm_is_secure_below_el3 (env)) { +tlb_flush_by_mmuidx (cs, ARMMMUIdx_S1SE1, ARMMMUIdx_S1SE0,-1 ); + }else { +if (arm_feature (env,ARM_FEATURE_EL2 )) { +tlb_flush_by_mmuidx (cs, ARMMMUIdx_S12NSE1, ARMMMUIdx_S12NSE0, + ARMMMUIdx_S2NS,-1 ); + }else { +tlb_flush_by_mmuidx (cs, ARMMMUIdx_S12NSE1, ARMMMUIdx_S12NSE0,-1 ); + } + } } -static void tlbi_aa64_va_is_write (CPUARMState *env,const ARMCPRegInfo *ri, +static void tlbi_aa64_alle2_write (CPUARMState *env,const ARMCPRegInfo *ri,uint64_t value) { +ARMCPU *cpu =arm_env_get_cpu (env); +CPUState *cs =CPU (cpu); + +tlb_flush_by_mmuidx (cs, ARMMMUIdx_S1E2,-1 ); +} + +static void tlbi_aa64_alle1is_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +/* Note that the 'ALL' scope must invalidate both stage 1 and +* stage 2 translations, whereas most other scopes only invalidate +* stage 1 translations. +*/ +bool sec =arm_is_secure_below_el3 (env); +bool has_el2 =arm_feature (env,ARM_FEATURE_EL2 );CPUState *other_cs; -uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 );CPU_FOREACH (other_cs) { -tlb_flush_page (other_cs, pageaddr); +if (sec) { +tlb_flush_by_mmuidx (other_cs, ARMMMUIdx_S1SE1, ARMMMUIdx_S1SE0,-1 ); + }else if (has_el2) { +tlb_flush_by_mmuidx (other_cs, ARMMMUIdx_S12NSE1, + ARMMMUIdx_S12NSE0, ARMMMUIdx_S2NS,-1 ); + }else { +tlb_flush_by_mmuidx (other_cs, ARMMMUIdx_S12NSE1, + ARMMMUIdx_S12NSE0,-1 ); + } } } -static void tlbi_aa64_vaa_is_write (CPUARMState *env,const ARMCPRegInfo *ri, -uint64_t value) +static void tlbi_aa64_vae1_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +/* Invalidate by VA, EL1&0 (AArch64 version). +* Currently handles all of VAE1, VAAE1, VAALE1 and VALE1, +* since we don't support flush-for-specific-ASID-only or +* flush-last-level-only. +*/ +ARMCPU *cpu =arm_env_get_cpu (env); +CPUState *cs =CPU (cpu); +uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 ); + +if (arm_is_secure_below_el3 (env)) { +tlb_flush_page_by_mmuidx (cs, pageaddr, ARMMMUIdx_S1SE1, + ARMMMUIdx_S1SE0,-1 ); + }else { +tlb_flush_page_by_mmuidx (cs, pageaddr, ARMMMUIdx_S12NSE1, + ARMMMUIdx_S12NSE0,-1 ); + } +} + +static void tlbi_aa64_vae2_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) +{ +/* Invalidate by VA, EL2 +* Currently handles both VAE2 and VALE2, since we don't support +* flush-last-level-only. +*/ +ARMCPU *cpu =arm_env_get_cpu (env); +CPUState *cs =CPU (cpu); +uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 ); + +tlb_flush_page_by_mmuidx (cs, pageaddr, ARMMMUIdx_S1E2,-1 ); +} + +static void tlbi_aa64_vae1is_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) { +bool sec =arm_is_secure_below_el3 (env);CPUState *other_cs;uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 );CPU_FOREACH (other_cs) { -tlb_flush_page (other_cs, pageaddr); +if (sec) { +tlb_flush_page_by_mmuidx (other_cs, pageaddr, ARMMMUIdx_S1SE1, + ARMMMUIdx_S1SE0,-1 ); + }else { +tlb_flush_page_by_mmuidx (other_cs, pageaddr, ARMMMUIdx_S12NSE1, + ARMMMUIdx_S12NSE0,-1 ); + } } } -static void tlbi_aa64_asid_is_write (CPUARMState *env,const ARMCPRegInfo *ri, -uint64_t value) +static void tlbi_aa64_vae2is_write (CPUARMState *env,const ARMCPRegInfo *ri, +uint64_t value) {CPUState *other_cs; -int asid =extract64 (value,48 ,16 ); +uint64_t pageaddr =sextract64 (value <<12 ,0 ,56 );CPU_FOREACH (other_cs) { -tlb_flush (other_cs, asid ==0 ); +tlb_flush_page_by_mmuidx (other_cs, pageaddr, ARMMMUIdx_S1E2,-1 ); } }
@@ -2704,59 +2790,59 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { { .name = "TLBI_VMALLE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 0, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbiall_is_write }, + .writefn = tlbi_aa64_vmalle1is_write }, { .name = "TLBI_VAE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 1, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_va_is_write }, + .writefn = tlbi_aa64_vae1is_write }, { .name = "TLBI_ASIDE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 2, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_asid_is_write }, + .writefn = tlbi_aa64_vmalle1is_write }, { .name = "TLBI_VAAE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 3, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_vaa_is_write }, + .writefn = tlbi_aa64_vae1is_write }, { .name = "TLBI_VALE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 5, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_va_is_write }, + .writefn = tlbi_aa64_vae1is_write }, { .name = "TLBI_VAALE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 7, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_vaa_is_write }, + .writefn = tlbi_aa64_vae1is_write }, { .name = "TLBI_VMALLE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 7, .opc2 = 0, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbiall_write }, + .writefn = tlbi_aa64_vmalle1_write }, { .name = "TLBI_VAE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 7, .opc2 = 1, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_va_write }, + .writefn = tlbi_aa64_vae1_write }, { .name = "TLBI_ASIDE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 7, .opc2 = 2, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_asid_write }, + .writefn = tlbi_aa64_vmalle1_write }, { .name = "TLBI_VAAE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 7, .opc2 = 3, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_vaa_write }, + .writefn = tlbi_aa64_vae1_write }, { .name = "TLBI_VALE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 7, .opc2 = 5, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_va_write }, + .writefn = tlbi_aa64_vae1_write }, { .name = "TLBI_VAALE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 7, .opc2 = 7, .access = PL1_W, .type = ARM_CP_NO_RAW, - .writefn = tlbi_aa64_vaa_write }, + .writefn = tlbi_aa64_vae1_write }, { .name = "TLBI_ALLE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 4, .access = PL2_W, .type = ARM_CP_NO_RAW, - .writefn = tlbiall_is_write }, + .writefn = tlbi_aa64_alle1is_write }, { .name = "TLBI_ALLE1", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 4, .access = PL2_W, .type = ARM_CP_NO_RAW, - .writefn = tlbiall_write }, + .writefn = tlbi_aa64_alle1_write }, #ifndef CONFIG_USER_ONLY /* 64 bit address translation operations */ { .name = "AT_S1E1R", .state = ARM_CP_STATE_AA64,
@@ -3055,15 +3141,15 @@ static const ARMCPRegInfo el2_cp_reginfo[] = { { .name = "TLBI_ALLE2", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 0, .type = ARM_CP_NO_RAW, .access = PL2_W, - .writefn = tlbiall_write }, + .writefn = tlbi_aa64_alle2_write }, { .name = "TLBI_VAE2", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 1, .type = ARM_CP_NO_RAW, .access = PL2_W, - .writefn = tlbi_aa64_vaa_write }, + .writefn = tlbi_aa64_vae2_write }, { .name = "TLBI_VAE2IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 1, .type = ARM_CP_NO_RAW, .access = PL2_W, - .writefn = tlbi_aa64_vaa_write }, + .writefn = tlbi_aa64_vae2is_write }, #ifndef CONFIG_USER_ONLY/* Unlike the other EL2-related AT operations, these must * UNDEF from EL3 if EL2 is not implemented, which is why we
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 01/20] xlnx-zynqmp: Connect the four OCM banks
In reply to Peter MaydellFrom: Alistair Francis <[email protected]>
The Xilinx EP108 has four separate OCM banks which are located adjacent to each other. This patch adds the four banks to the ZynqMP SoC.
Message-id: afa6ba31163a5d541a0bef4b0dc11f2597e0c495.1436813543.git.alistair.francis@xilinx.com
--- hw/arm/xlnx-zynqmp.c | 15 +++++++++++++++ include/hw/arm/xlnx-zynqmp.h | 6 ++++++ 2 files changed, 21 insertions(+)
hw/arm/xlnx-zynqmp.c +15 -0
@@ -101,6 +101,21 @@ static void xlnx_zynqmp_realize(DeviceState *dev, Error **errp)qemu_irq gic_spi[GIC_NUM_SPI_INTR ];Error *err =NULL ; +/* Create the four OCM banks */ +for (i =0 ; i <XLNX_ZYNQMP_NUM_OCM_BANKS ; i++) { +char *ocm_name =g_strdup_printf ("zynqmp.ocm_ram_bank_%d" , i); + +memory_region_init_ram (&s->ocm_ram[i],NULL , ocm_name, +XLNX_ZYNQMP_OCM_RAM_SIZE , &error_abort); +vmstate_register_ram_global (&s->ocm_ram[i]); +memory_region_add_subregion (get_system_memory (), +XLNX_ZYNQMP_OCM_RAM_0_ADDRESS + + i *XLNX_ZYNQMP_OCM_RAM_SIZE , + &s->ocm_ram[i]); + +g_free (ocm_name); + } +qdev_prop_set_uint32 (DEVICE (&s->gic),"num-irq" ,GIC_NUM_SPI_INTR +32 );qdev_prop_set_uint32 (DEVICE (&s->gic),"revision" ,2 );qdev_prop_set_uint32 (DEVICE (&s->gic),"num-cpu" ,XLNX_ZYNQMP_NUM_APU_CPUS );
include/hw/arm/xlnx-zynqmp.h +6 -0
@@ -32,6 +32,10 @@#define XLNX_ZYNQMP_NUM_GEMS 4#define XLNX_ZYNQMP_NUM_UARTS 2 +#define XLNX_ZYNQMP_NUM_OCM_BANKS 4 +#define XLNX_ZYNQMP_OCM_RAM_0_ADDRESS 0xFFFC0000 +#define XLNX_ZYNQMP_OCM_RAM_SIZE 0x10000 +#define XLNX_ZYNQMP_GIC_REGIONS 2/* ZynqMP maps the ARM GIC regions (GICC, GICD ...) at consecutive 64k offsets
@@ -52,6 +56,8 @@ typedef struct XlnxZynqMPState {ARMCPU rpu_cpu[XLNX_ZYNQMP_NUM_RPU_CPUS ];GICState gic;MemoryRegion gic_mr[XLNX_ZYNQMP_GIC_REGIONS ][XLNX_ZYNQMP_GIC_ALIASES ]; +MemoryRegion ocm_ram[XLNX_ZYNQMP_NUM_OCM_BANKS ]; +CadenceGEMState gem[XLNX_ZYNQMP_NUM_GEMS ];CadenceUARTState uart[XLNX_ZYNQMP_NUM_UARTS ];
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 03/20] MAINTAINERS: Add ZynqMP to MAINTAINERS file
In reply to Peter MaydellFrom: Alistair Francis <[email protected]>
Add the Xilinx ZynqMP SoC and EP108 machine to the maintainers file.
Message-id: fed078103a0b02cfb3adadbe8e80e4420d554505.1436486024.git.alistair.francis@xilinx.com
--- MAINTAINERS | 8 ++++++++ 1 file changed, 8 insertions(+)
MAINTAINERS +8 -0
@@ -357,6 +357,14 @@ F: hw/misc/zynq_slcr.c F: hw/*/cadence_* F: hw/ssi/xilinx_spips.c +Xilinx ZynqMP +M: Alistair Francis <[email protected]> +M: Peter Crosthwaite <[email protected]> +S: Maintained +F: hw/arm/xlnx-zynqmp.c +F: hw/arm/xlnx-ep108.c +F: include/hw/arm/xlnx-zynqmp.h + ARM ACPI Subsystem M: Shannon Zhao <[email protected]> M: Shannon Zhao <[email protected]>
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 04/20] target-arm: Add missing MAIR_EL3 and TPIDR_EL3 registers
In reply to Peter MaydellAdd the AArch64 registers MAIR_EL3 and TPIDR_EL3, which are the only two which we had implemented the 32-bit Secure equivalents of but not the 64-bit Secure versions.
Message-id: [email protected]
--- target-arm/helper.c | 8 ++++++++ 1 file changed, 8 insertions(+)
target-arm/helper.c +8 -0
@@ -1022,6 +1022,10 @@ static const ARMCPRegInfo v7_cp_reginfo[] = { .opc0 = 3, .opc1 = 0, .crn = 10, .crm = 2, .opc2 = 0, .access = PL1_RW, .fieldoffset = offsetof(CPUARMState, cp15.mair_el[1]), .resetvalue = 0 }, + { .name = "MAIR_EL3", .state = ARM_CP_STATE_AA64, + .opc0 = 3, .opc1 = 6, .crn = 10, .crm = 2, .opc2 = 0, + .access = PL3_RW, .fieldoffset = offsetof(CPUARMState, cp15.mair_el[3]), + .resetvalue = 0 },/* For non-long-descriptor page tables these are PRRR and NMRR; * regardless they still act as reads-as-written for QEMU. */
@@ -3089,6 +3093,10 @@ static const ARMCPRegInfo el3_cp_reginfo[] = { .opc0 = 3, .opc1 = 6, .crn = 1, .crm = 1, .opc2 = 2, .access = PL3_RW, .accessfn = cptr_access, .resetvalue = 0, .fieldoffset = offsetof(CPUARMState, cp15.cptr_el[3]) }, + { .name = "TPIDR_EL3", .state = ARM_CP_STATE_AA64, + .opc0 = 3, .opc1 = 6, .crn = 13, .crm = 0, .opc2 = 2, + .access = PL3_RW, .resetvalue = 0, + .fieldoffset = offsetof(CPUARMState, cp15.tpidr_el[3]) }, REGINFO_SENTINEL };
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 16/20] target-arm: Move TLBI ALLE1/ALLE1IS definitions into numeric order
In reply to Peter MaydellMove the two regdefs for TLBI ALLE1 and TLBI ALLE1IS down so that the whole set of AArch64 TLBI regdefs is arranged in numeric order.
Message-id: [email protected]
--- target-arm/helper.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
target-arm/helper.c +8 -8
@@ -2701,14 +2701,6 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { .opc0 = 1, .opc1 = 0, .crn = 7, .crm = 14, .opc2 = 2, .access = PL1_W, .type = ARM_CP_NOP },/* TLBI operations */ - { .name = "TLBI_ALLE1", .state = ARM_CP_STATE_AA64, - .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 4, - .access = PL2_W, .type = ARM_CP_NO_RAW, - .writefn = tlbiall_write }, - { .name = "TLBI_ALLE1IS", .state = ARM_CP_STATE_AA64, - .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 4, - .access = PL2_W, .type = ARM_CP_NO_RAW, - .writefn = tlbiall_is_write }, { .name = "TLBI_VMALLE1IS", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 0, .access = PL1_W, .type = ARM_CP_NO_RAW,
@@ -2757,6 +2749,14 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { .opc0 = 1, .opc1 = 0, .crn = 8, .crm = 7, .opc2 = 7, .access = PL1_W, .type = ARM_CP_NO_RAW, .writefn = tlbi_aa64_vaa_write }, + { .name = "TLBI_ALLE1IS", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 3, .opc2 = 4, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbiall_is_write }, + { .name = "TLBI_ALLE1", .state = ARM_CP_STATE_AA64, + .opc0 = 1, .opc1 = 4, .crn = 8, .crm = 7, .opc2 = 4, + .access = PL2_W, .type = ARM_CP_NO_RAW, + .writefn = tlbiall_write }, #ifndef CONFIG_USER_ONLY /* 64 bit address translation operations */ { .name = "AT_S1E1R", .state = ARM_CP_STATE_AA64,
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 13/20] smbios: add smbios 3.0 support
In reply to Peter MaydellFrom: Wei Huang <[email protected]>
This patch adds support for SMBIOS 3.0 entry point. When caller invokes smbios_set_defaults(), it can specify entry point as 2.1 or 3.0. Then smbios_get_tables() will return the entry point table in right format.
Message-id: [email protected]
--- hw/i386/pc_piix.c | 3 +- hw/i386/pc_q35.c | 3 +- hw/smbios/smbios.c | 84 +++++++++++++++++++++++++++++++++------------- include/hw/smbios/smbios.h | 51 ++++++++++++++++++++-------- 4 files changed, 102 insertions(+), 39 deletions(-)
hw/i386/pc_piix.c +2 -1
@@ -173,7 +173,8 @@ static void pc_init1(MachineState *machine)MachineClass *mc =MACHINE_GET_CLASS (machine);/* These values are guest ABI, do not change */ smbios_set_defaults ("QEMU" ,"Standard PC (i440FX + PIIX, 1996)" , - mc->name, smbios_legacy_mode, smbios_uuid_encoded); + mc->name, smbios_legacy_mode, smbios_uuid_encoded, +SMBIOS_ENTRY_POINT_21 ); }/* allocate ram and load rom/bios */
hw/i386/pc_q35.c +2 -1
@@ -165,7 +165,8 @@ static void pc_q35_init(MachineState *machine)if (smbios_defaults) {/* These values are guest ABI, do not change */ smbios_set_defaults ("QEMU" ,"Standard PC (Q35 + ICH9, 2009)" , - mc->name, smbios_legacy_mode, smbios_uuid_encoded); + mc->name, smbios_legacy_mode, smbios_uuid_encoded, +SMBIOS_ENTRY_POINT_21 ); }/* allocate ram and load rom/bios */
hw/smbios/smbios.c +61 -23
112 lines not on this page · raw message
include/hw/smbios/smbios.h +37 -14
72 lines not on this page · raw message
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 14/20] smbios: implement smbios support for mach-virt
In reply to Peter MaydellFrom: Wei Huang <[email protected]>
This patch generates smbios tables for ARM mach-virt. Also add CONFIG_SMBIOS=y for ARM default config.
Message-id: [email protected]
--- default-configs/arm-softmmu.mak | 1 + hw/arm/virt.c | 26 ++++++++++++++++++++++++++ qemu-options.hx | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-)
default-configs/arm-softmmu.mak +1 -0
@@ -102,3 +102,4 @@ CONFIG_XIO3130=y CONFIG_IOH3420=y CONFIG_I82801B11=y CONFIG_ACPI=y +CONFIG_SMBIOS=y
hw/arm/virt.c +26 -0
@@ -50,6 +50,7 @@#include "hw/arm/fdt.h" #include "hw/intc/arm_gic_common.h" #include "kvm_arm.h" +#include "hw/smbios/smbios.h" /* Number of external interrupt lines to configure the GIC with */ #define NUM_IRQS 256
@@ -788,12 +789,37 @@ static void *machvirt_dtb(const struct arm_boot_info *binfo, int *fdt_size)return board->fdt; } +static void virt_build_smbios (VirtGuestInfo *guest_info) +{ +FWCfgState *fw_cfg = guest_info->fw_cfg; +uint8_t *smbios_tables, *smbios_anchor; +size_t smbios_tables_len, smbios_anchor_len; + +if (!fw_cfg) { +return ; + } + +smbios_set_defaults ("QEMU" ,"QEMU Virtual Machine" , +"1.0" , false, true,SMBIOS_ENTRY_POINT_30 ); + +smbios_get_tables (NULL ,0 , &smbios_tables, &smbios_tables_len, + &smbios_anchor, &smbios_anchor_len); + +if (smbios_anchor) { +fw_cfg_add_file (fw_cfg,"etc/smbios/smbios-tables" , + smbios_tables, smbios_tables_len); +fw_cfg_add_file (fw_cfg,"etc/smbios/smbios-anchor" , + smbios_anchor, smbios_anchor_len); + } +} +static void virt_guest_info_machine_done (Notifier *notifier,void *data) {VirtGuestInfoState *guest_info_state =container_of (notifier, VirtGuestInfoState, machine_done);virt_acpi_setup (&guest_info_state->info); +virt_build_smbios (&guest_info_state->info); }static void machvirt_init (MachineState *machine)
qemu-options.hx +1 -1
@@ -1412,7 +1412,7 @@ DEF("smbios", HAS_ARG, QEMU_OPTION_smbios, "-smbios type=17[,loc_pfx=str][,bank=str][,manufacturer=str][,serial=str]\n" " [,asset=str][,part=str][,speed=%d]\n" " specify SMBIOS type 17 fields\n", - QEMU_ARCH_I386) + QEMU_ARCH_I386 | QEMU_ARCH_ARM) STEXI @item -smbios file=@var{binary} @findex -smbios
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 08/20] target-arm: there is no TTBR1 for 32-bit EL2 stage 1 translations
In reply to Peter MaydellFor EL2 stage 1 translations, there is no TTBR1. We were already handling this for 64-bit EL2; add the code to take the 'no TTBR1' code path for 64-bit EL2 as well.
Message-id: [email protected]
--- target-arm/helper.c | 5 +++++ 1 file changed, 5 insertions(+)
target-arm/helper.c +5 -0
@@ -5999,6 +5999,11 @@ static bool get_phys_addr_lpae(CPUARMState *env, target_ulong address,if (el >1 ) { ttbr1_valid = false; } + }else { +/* There is no TTBR1 for EL2 */ +if (el ==2 ) { + ttbr1_valid = false; + } }/* Determine whether this address is in the region controlled by
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 15/20] cputlb: Add functions for flushing TLB for a single MMU index
In reply to Peter MaydellGuest CPU TLB maintenance operations may be sufficiently specialized to only need to flush TLB entries corresponding to a particular MMU index. Implement cputlb functions for this, to avoid the inefficiency of flushing TLB entries which we don't need to.
Message-id: [email protected]
--- cputlb.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++ include/exec/exec-all.h | 47 ++++++++++++++++++++++++ 2 files changed, 144 insertions(+)
cputlb.c +97 -0
@@ -69,6 +69,47 @@ void tlb_flush(CPUState *cpu, int flush_global) tlb_flush_count++; } +static inline void v_tlb_flush_by_mmuidx (CPUState *cpu,va_list argp) +{ +CPUArchState *env = cpu->env_ptr; + +#if defined(DEBUG_TLB ) +printf ("tlb_flush_by_mmuidx:" ); +#endif +/* must reset current TB so that interrupts cannot modify the +links while we are modifying them */ + cpu->current_tb =NULL ; + +for (;;) { +int mmu_idx =va_arg (argp, int); + +if (mmu_idx <0 ) { +break ; + } + +#if defined(DEBUG_TLB ) +printf (" %d" , mmu_idx); +#endif + +memset (env->tlb_table[mmu_idx],-1 ,sizeof (env->tlb_table[0 ])); +memset (env->tlb_v_table[mmu_idx],-1 ,sizeof (env->tlb_v_table[0 ])); + } + +#if defined(DEBUG_TLB ) +printf ("\n" ); +#endif + +memset (cpu->tb_jmp_cache,0 ,sizeof (cpu->tb_jmp_cache)); +} + +void tlb_flush_by_mmuidx (CPUState *cpu, ...) +{ +va_list argp; +va_start (argp, cpu); +v_tlb_flush_by_mmuidx (cpu, argp); +va_end (argp); +} +static inline void tlb_flush_entry (CPUTLBEntry *tlb_entry,target_ulong addr) { if (addr == (tlb_entry->addr_read &
@@ -121,6 +162,62 @@ void tlb_flush_page(CPUState *cpu, target_ulong addr)tb_flush_jmp_cache (cpu, addr); } +void tlb_flush_page_by_mmuidx (CPUState *cpu,target_ulong addr, ...) +{ +CPUArchState *env = cpu->env_ptr; +int i, k; +va_list argp; + +va_start (argp, addr); + +#if defined(DEBUG_TLB ) +printf ("tlb_flush_page_by_mmu_idx: " TARGET_FMT_lx, addr); +#endif +/* Check if we need to flush due to large pages. */ +if ((addr & env->tlb_flush_mask) == env->tlb_flush_addr) { +#if defined(DEBUG_TLB ) +printf (" forced full flush (" + TARGET_FMT_lx"/" TARGET_FMT_lx")\n" , + env->tlb_flush_addr, env->tlb_flush_mask); +#endif +v_tlb_flush_by_mmuidx (cpu, argp); +va_end (argp); +return ; + } +/* must reset current TB so that interrupts cannot modify the +links while we are modifying them */ + cpu->current_tb =NULL ; + + addr &=TARGET_PAGE_MASK ; + i = (addr >>TARGET_PAGE_BITS ) & (CPU_TLB_SIZE -1 ); + +for (;;) { +int mmu_idx =va_arg (argp, int); + +if (mmu_idx <0 ) { +break ; + } + +#if defined(DEBUG_TLB ) +printf (" %d" , mmu_idx); +#endif + +tlb_flush_entry (&env->tlb_table[mmu_idx][i], addr); + +/* check whether there are vltb entries that need to be flushed */ +for (k =0 ; k <CPU_VTLB_SIZE ; k++) { +tlb_flush_entry (&env->tlb_v_table[mmu_idx][k], addr); + } + } +va_end (argp); + +#if defined(DEBUG_TLB ) +printf ("\n" ); +#endif + +tb_flush_jmp_cache (cpu, addr); +} +/* update the TLBs so that writes to code in the virtual page 'addr' can be detected */ void tlb_protect_code (ram_addr_t ram_addr)
include/exec/exec-all.h +47 -0
61 lines not on this page · raw message
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 02/20] MAINTAINERS: Update Xilinx Maintainership
In reply to Peter MaydellFrom: Alistair Francis <[email protected]>
Peter C is leaving Xilinx, so update the maintainer list to point to Alistair and Edgar from Xilinx and Peter's personal email address.
Message-id: 54b4c070452bac05aa3a9c1d75899bc097fef831.1436486024.git.alistair.francis@xilinx.com
--- MAINTAINERS | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-)
MAINTAINERS +14 -5
@@ -349,7 +349,8 @@ S: Maintained F: hw/*/versatile* Xilinx Zynq -M: Peter Crosthwaite <[email protected]> +M: Alistair Francis <[email protected]> +M: Peter Crosthwaite <[email protected]> S: Maintained F: hw/arm/xilinx_zynq.c F: hw/misc/zynq_slcr.c
@@ -405,7 +406,7 @@ S: Maintained F: hw/microblaze/petalogix_s3adsp1800_mmu.c petalogix_ml605 -M: Peter Crosthwaite <[email protected]> +M: Edgar E. Iglesias <[email protected]> S: Maintained F: hw/microblaze/petalogix_ml605_mmu.c
@@ -685,10 +686,17 @@ S: Orphan F: hw/scsi/lsi53c895a.c SSI -M: Peter Crosthwaite <[email protected]> +M: Peter Crosthwaite <[email protected]> S: Maintained F: hw/ssi/* F: hw/block/m25p80.c +X: hw/ssi/xilinx_* + +Xilinx SPI +M: Alistair Francis <[email protected]> +M: Peter Crosthwaite <[email protected]> +S: Maintained +F: hw/ssi/xilinx_* USB M: Gerd Hoffmann <[email protected]>
@@ -777,8 +785,9 @@ F: hw/scsi/megasas.c F: hw/scsi/mfi.h Xilinx EDK -M: Peter Crosthwaite <[email protected]> M: Edgar E. Iglesias <[email protected]> +M: Alistair Francis <[email protected]> +M: Peter Crosthwaite <[email protected]> S: Maintained F: hw/*/xilinx_* F: include/hw/xilinx.h
@@ -880,7 +889,7 @@ F: include/hw/cpu/icc_bus.h F: hw/cpu/icc_bus.c Device Tree -M: Peter Crosthwaite <[email protected]> +M: Peter Crosthwaite <[email protected]> M: Alexander Graf <[email protected]> S: Maintained F: device_tree.[ch]
Signature · 1 line
1.9.1