Re: ID_AA64MMFR1 VHE fields read as 0 when virtualization=true

2022-02-17 Thread Peter Maydell
On Thu, 17 Feb 2022 at 08:49, Chan Kim wrote: > I found by setting -cpu max, this ID_AA64MMFR1 register value is read > correctly. The value is correct in both cases. The Cortex-A72 does not implement the VHE architecture feature (it is mandatory from Armv8.1, but the A72 is an Armv8.0 core).

RE: ID_AA64MMFR1 VHE fields read as 0 when virtualization=true

2022-02-17 Thread Chan Kim
read as 0 when virtualization=true Hello all, I hope somebody could help me here.(booting linux using u-boot-spl) In linux-5.4.21 arch/arm64/kernel/head.S, there is this code in function el2_setup. #ifdef CONFIG_ARM64_VHE /* * Check for VHE being present. For the rest of the EL2

ID_AA64MMFR1 VHE fields read as 0 when virtualization=true

2022-02-16 Thread Chan Kim
Hello all, I hope somebody could help me here.(booting linux using u-boot-spl) In linux-5.4.21 arch/arm64/kernel/head.S, there is this code in function el2_setup. #ifdef CONFIG_ARM64_VHE /* * Check for VHE being present. For the rest of the EL2 setup, * x2 being non-zero