Skip to contentSkip to conversation

target/arm: added cortex-a55 CPU support for qemu-virt

PATCH In review Timofey Kutergin 2 participants 3 messages Nov 21, 2022

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 20442ea2c1..8055c59afa 100644
@@ -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
index b871350856..fc0c9baba6 100644
@@ -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
#1 lore raw
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.

Hi; it looks like you forgot to cc qemu-devel on this mail. All our automated tooling looks at that list to find patches; would you mind resending the email cc'ing that list as well, please?

thanks
-- PMM

#2 lore raw

Hi, I am very sorry - still confused sometimes by the process. Done
BR
Timofey

Quoted 18 lines · Peter Maydell
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.

Hi; it looks like you forgot to cc qemu-devel on this mail. All our automated tooling looks at that list to find patches; would you mind resending the email cc'ing that list as well, please?

thanks
-- PMM