target-arm: Add missing compatible property to A53
PATCH 1/1 target-arm: Add missing compatible property to A53
Signed-off-by Ryota Ozaki <[email protected]>
--- target-arm/cpu64.c | 1 + 1 file changed, 1 insertion(+)
target-arm/cpu64.c +1 -0
@@ -96,6 +96,7 @@ static void aarch64_a57_initfn(Object *obj) {ARMCPU *cpu =ARM_CPU (obj); + cpu->dtb_compatible ="arm,cortex-a57" ;set_feature (&cpu->env,ARM_FEATURE_V8 );set_feature (&cpu->env,ARM_FEATURE_VFP4 );set_feature (&cpu->env,ARM_FEATURE_NEON );
Signature · 1 line
2.3.0
Quoted 1 line · Ryota Ozaki
Signed-off-by Ryota Ozaki <[email protected]>
The title of your patch is incorrect, you specified A53 when you really mean A57
target-arm/cpu64.c static void aarch64_a57_initfn(Object *obj) · line 99
Quoted 13 lines
--- target-arm/cpu64.c | 1 + 1 file changed, 1 insertion(+)target-arm/cpu64.c +1
-0@@ -96,6 +96,7 @@ static void aarch64_a57_initfn(Object *obj) {ARMCPU *cpu =ARM_CPU (obj); + cpu->dtb_compatible ="arm,cortex-a57" ;
What happens without this?
Once the title is fixed:
Reviewed-by Alistair Francis <[email protected]>
Quoted 7 lines
target-arm/cpu64.c +0
-1set_feature (&cpu->env,ARM_FEATURE_V8 );set_feature (&cpu->env,ARM_FEATURE_VFP4 );set_feature (&cpu->env,ARM_FEATURE_NEON ); --2.3.0
Quoted 4 lines · Alistair Francis
Quoted 1 line · Ryota Ozaki
Signed-off-by Ryota Ozaki <[email protected]>The title of your patch is incorrect, you specified A53 when you really mean A57
Definitely. I'm sorry for my fault (I found this problem when I was trying A53 emulation...)
Quoted 13 lines
Quoted 13 lines
--- target-arm/cpu64.c | 1 + 1 file changed, 1 insertion(+)target-arm/cpu64.c +0
-0@@ -96,6 +96,7 @@ static void aarch64_a57_initfn(Object *obj) {ARMCPU *cpu =ARM_CPU (obj);
Quoted 3 lines
target-arm/cpu64.c static void aarch64_a57_initfn(Object *obj) · line 99
Quoted 1 line
target-arm/cpu64.c +1
-0+ cpu->dtb_compatible ="arm,cortex-a57" ;What happens without this?
Recent Linux looks up the property and warns "Unknown CPU type" if it doesn't exist. Not big deal, actually.
Quoted 4 lines
Once the title is fixed:
Reviewed-by Alistair Francis <[email protected]>
Thanks! I'm preparing a revised patch.
ozaki-r
Quoted 8 lines
Quoted 8 lines
target-arm/cpu64.c +0
-1set_feature (&cpu->env,ARM_FEATURE_V8 );set_feature (&cpu->env,ARM_FEATURE_VFP4 );set_feature (&cpu->env,ARM_FEATURE_NEON ); --2.3.0