hw/arm/virt: Add support for Cortex-A7
PATCH 1/1 hw/arm/virt: Add support for Cortex-A7
From: Jan Kiszka <[email protected]>
No reason to deny this type.
Signed-off-by Jan Kiszka <[email protected]>
--- hw/arm/virt.c | 1 + 1 file changed, 1 insertion(+)
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" ),
--
2.16.4
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
Signed-off-by Jan Kiszka <[email protected]>--- hw/arm/virt.c | 1 + 1 file changed, 1 insertion(+)hw/arm/virt.c +0
-0
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
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Peter Maydell
AppliedQuoted 15 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
No reason to deny this type.
Signed-off-by Jan Kiszka <[email protected]>--- hw/arm/virt.c | 1 + 1 file changed, 1 insertion(+)hw/arm/virt.c +0
-0
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