Skip to contentSkip to conversation

hw/arm/virt: Add support for Cortex-A7

PATCH Applied Jan Kiszka 3 participants 3 messages Jun 30, 2019 – Jul 1, 2019

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 hw/arm/virt: Add support for Cortex-A7

From: Jan Kiszka <[email protected]>

No reason to deny this type.

---
 hw/arm/virt.c | 1 +
 1 file changed, 1 insertion(+)
hw/arm/virt.c +1 -0
index 431e2900fd..ed009fa447 100644
@@ -176,6 +176,7 @@ static const int a15irqmap[] = {
 };
 
 static const char *valid_cpus[] = {
+    ARM_CPU_TYPE_NAME("cortex-a7"),
     ARM_CPU_TYPE_NAME("cortex-a15"),
     ARM_CPU_TYPE_NAME("cortex-a53"),
     ARM_CPU_TYPE_NAME("cortex-a57"),

--
2.16.4

Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jan Kiszka

From: Jan Kiszka <[email protected]>

No reason to deny this type.

Maybe add "As the A15, it supports the EL2/V7VE features."?

Quoted 11 lines
---
 hw/arm/virt.c | 1 +
 1 file changed, 1 insertion(+)
hw/arm/virt.c +0 -0
index 431e2900fd..ed009fa447 100644

hw/arm/virt.c static const int a15irqmap[] = { · line 182

Quoted 7 lines
hw/arm/virt.c +1 -0
@@ -176,6 +176,7 @@ static const int a15irqmap[] = {
 };
 
 static const char *valid_cpus[] = {
+    ARM_CPU_TYPE_NAME("cortex-a7"),
     ARM_CPU_TYPE_NAME("cortex-a15"),
     ARM_CPU_TYPE_NAME("cortex-a53"),
     ARM_CPU_TYPE_NAME("cortex-a57"),

Should we list here all cpu with arm_feature(ARM_FEATURE_V7VE | V8)? or EL2?

Quoted 3 lines

--
2.16.4

#2 lore raw
In reply to Jan Kiszka
Quoted 15 lines · Jan Kiszka

From: Jan Kiszka <[email protected]>

No reason to deny this type.

---
 hw/arm/virt.c | 1 +
 1 file changed, 1 insertion(+)
hw/arm/virt.c +0 -0
index 431e2900fd..ed009fa447 100644

hw/arm/virt.c static const int a15irqmap[] = {

Quoted 8 lines
hw/arm/virt.c +1 -1
@@ -176,6 +176,7 @@ static const int a15irqmap[] = {
 };
 
 static const char *valid_cpus[] = {
+    ARM_CPU_TYPE_NAME("cortex-a7"),
     ARM_CPU_TYPE_NAME("cortex-a15"),
     ARM_CPU_TYPE_NAME("cortex-a53"),
     ARM_CPU_TYPE_NAME("cortex-a57"),
--

Applied to target-arm.next (with a commit message tweak along the lines suggested by Philippe), thanks.

-- PMM