target/arm: added cortex-a55 CPU support for qemu-virt
PATCH 1/1 target/arm: added cortex-a55 CPU support for qemu-virt
cortex-a55 is one of newer armv8.2+ CPUs supporting native Privileged Access Never (PAN) feature. Using this CPU provides access to this feature without using fictitious "max" CPU.
Signed-off-by Timofey Kutergin <[email protected]>
--- docs/system/arm/virt.rst | 1 + hw/arm/virt.c | 1 + target/arm/cpu64.c | 69 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+)
docs/system/arm/virt.rst +1 -0
@@ -54,6 +54,7 @@ Supported guest CPU types: - ``cortex-a15`` (32-bit; the default) - ``cortex-a35`` (64-bit) - ``cortex-a53`` (64-bit) +- ``cortex-a55`` (64-bit) - ``cortex-a57`` (64-bit) - ``cortex-a72`` (64-bit) - ``cortex-a76`` (64-bit)
hw/arm/virt.c +1 -0
@@ -201,6 +201,7 @@ static const char *valid_cpus[] = {ARM_CPU_TYPE_NAME ("cortex-a15" ),ARM_CPU_TYPE_NAME ("cortex-a35" ),ARM_CPU_TYPE_NAME ("cortex-a53" ), +ARM_CPU_TYPE_NAME ("cortex-a55" ),ARM_CPU_TYPE_NAME ("cortex-a57" ),ARM_CPU_TYPE_NAME ("cortex-a72" ), ARM_CPU_TYPE_NAME("cortex-a76"),
target/arm/cpu64.c +69 -0
81 lines not on this page · raw message
Signature · 1 line
2.25.1
Quoted 7 lines · Timofey Kutergin
cortex-a55 is one of newer armv8.2+ CPUs supporting native Privileged Access Never (PAN) feature. Using this CPU provides access to this feature without using fictitious "max" CPU.
Signed-off-by Timofey Kutergin <[email protected]>
Thanks; I've applied this to my target-arm-for-8.0 branch, which will eventually become target-arm when 7.2 is released in a couple of weeks.
-- PMM