Re: [PATCH v4 00/18] target/arm: Implement LVA, LPA, LPA2 features
On Wed, 2 Mar 2022 at 11:08, Peter Maydell wrote: > > On Tue, 1 Mar 2022 at 22:00, Richard Henderson > wrote: > > > > Changes for v4: > > * Add cpu property for lpa2. > > * Disable that property for -machine virt-6.2 and previous. > > > > Changes for v3: > > * Update emulation.rst. > > * Split out separate update to ID_AA64MMFR0. > > * Hack for avocado. > > > > I've applied patches 1-16 to target-arm.next now, since they're > all already reviewed. 17 and 18 are still on my list to review > so we should be able to get those in (ie actually enable LPA2) > for this release. ...and I've now applied 17 and 18 to target-arm.next. thanks -- PMM
Re: [PATCH v4 00/18] target/arm: Implement LVA, LPA, LPA2 features
On Tue, 1 Mar 2022 at 22:00, Richard Henderson wrote: > > Changes for v4: > * Add cpu property for lpa2. > * Disable that property for -machine virt-6.2 and previous. > > Changes for v3: > * Update emulation.rst. > * Split out separate update to ID_AA64MMFR0. > * Hack for avocado. > I've applied patches 1-16 to target-arm.next now, since they're all already reviewed. 17 and 18 are still on my list to review so we should be able to get those in (ie actually enable LPA2) for this release. thanks -- PMM
[PATCH v4 00/18] target/arm: Implement LVA, LPA, LPA2 features
Changes for v4: * Add cpu property for lpa2. * Disable that property for -machine virt-6.2 and previous. Changes for v3: * Update emulation.rst. * Split out separate update to ID_AA64MMFR0. * Hack for avocado. r~ Richard Henderson (18): hw/registerfields: Add FIELD_SEX and FIELD_SDP target/arm: Set TCR_EL1.TSZ for user-only target/arm: Fault on invalid TCR_ELx.TxSZ target/arm: Move arm_pamax out of line target/arm: Pass outputsize down to check_s2_mmu_setup target/arm: Use MAKE_64BIT_MASK to compute indexmask target/arm: Honor TCR_ELx.{I}PS target/arm: Prepare DBGBVR and DBGWVR for FEAT_LVA target/arm: Implement FEAT_LVA target/arm: Implement FEAT_LPA target/arm: Extend arm_fi_to_lfsc to level -1 target/arm: Introduce tlbi_aa64_get_range target/arm: Fix TLBIRange.base for 16k and 64k pages target/arm: Validate tlbi TG matches translation granule in use target/arm: Advertise all page sizes for -cpu max target/arm: Implement FEAT_LPA2 target/arm: Provide cpu property for controling FEAT_LPA2 hw/arm/virt: Disable LPA2 for -machine virt-6.2 docs/system/arm/emulation.rst | 3 + include/hw/arm/virt.h | 1 + include/hw/registerfields.h | 48 - target/arm/cpu-param.h| 4 +- target/arm/cpu.h | 32 +++- target/arm/internals.h| 58 +++--- hw/arm/virt.c | 7 + target/arm/cpu.c | 9 +- target/arm/cpu64.c| 31 +++- target/arm/helper.c | 332 ++ tests/avocado/boot_linux.py | 2 + 11 files changed, 425 insertions(+), 102 deletions(-) -- 2.25.1