target/arm: Correct KVM & HVF dtb_compatible value
Linux kernel knows how to parse "arm,armv8", not "arm,arm-v8". See arch/arm64/boot/dts/foundation-v8.dts:90556ca1ebCc: qemu-stable@nongnu.org Fixes:26861c7ce0("target-arm: Add minimal KVM AArch64 support") Fixes:585df85efe("hvf: arm: Implement -cpu host") Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20250623121845.7214-10-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org> (cherry picked from commita412575837) (Mjt: context fix in target/arm/kvm.c) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
ed4bad29e7
commit
5df7910a23
2 changed files with 2 additions and 2 deletions
|
|
@ -878,7 +878,7 @@ static bool hvf_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf)
|
|||
hv_vcpu_exit_t *exit;
|
||||
int i;
|
||||
|
||||
ahcf->dtb_compatible = "arm,arm-v8";
|
||||
ahcf->dtb_compatible = "arm,armv8";
|
||||
ahcf->features = (1ULL << ARM_FEATURE_V8) |
|
||||
(1ULL << ARM_FEATURE_NEON) |
|
||||
(1ULL << ARM_FEATURE_AARCH64) |
|
||||
|
|
|
|||
|
|
@ -305,7 +305,7 @@ static bool kvm_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf)
|
|||
}
|
||||
|
||||
ahcf->target = init.target;
|
||||
ahcf->dtb_compatible = "arm,arm-v8";
|
||||
ahcf->dtb_compatible = "arm,armv8";
|
||||
|
||||
err = read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64pfr0,
|
||||
ARM64_SYS_REG(3, 0, 0, 4, 0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue