Skip to contentSkip to conversation

target/arm: enable Small Translation tables in max CPU

PATCH Applied [email protected] 3 participants 3 messages Jan 8, 2021 – Jan 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 target/arm: enable Small Translation tables in max CPU

From: Rémi Denis-Courmont <[email protected]>

---
 target/arm/cpu64.c | 1 +
 1 file changed, 1 insertion(+)
target/arm/cpu64.c +1 -0
index 7cf9fc4bc6..da24f94baa 100644
@@ -669,6 +669,7 @@ static void aarch64_max_initfn(Object *obj)
         t = cpu->isar.id_aa64mmfr2;
         t = FIELD_DP64(t, ID_AA64MMFR2, UAO, 1);
         t = FIELD_DP64(t, ID_AA64MMFR2, CNP, 1); /* TTCNP */
+        t = FIELD_DP64(t, ID_AA64MMFR2, ST, 1); /* TTST */
         cpu->isar.id_aa64mmfr2 = t;
 
         /* Replicate the same data to the 32-bit id registers.  */
Signature · 1 line
2.30.0
#2 lore raw
In reply to [email protected]
Quoted 13 lines · On Fri, 8 Jan 2021 at 09:08, <[email protected]> wrote:

From: Rémi Denis-Courmont <[email protected]>

---
 target/arm/cpu64.c | 1 +
 1 file changed, 1 insertion(+)
target/arm/cpu64.c +0 -0
index 7cf9fc4bc6..da24f94baa 100644

target/arm/cpu64.c static void aarch64_max_initfn(Object *obj) · line 673

Quoted 5 lines
target/arm/cpu64.c +1 -0
@@ -669,6 +669,7 @@ static void aarch64_max_initfn(Object *obj)
         t = cpu->isar.id_aa64mmfr2;
         t = FIELD_DP64(t, ID_AA64MMFR2, UAO, 1);
         t = FIELD_DP64(t, ID_AA64MMFR2, CNP, 1); /* TTCNP */
+        t = FIELD_DP64(t, ID_AA64MMFR2, ST, 1); /* TTST */
         cpu->isar.id_aa64mmfr2 = t;

I've applied this series to target-arm.next; thanks.

It looks like you forgot to send the series as a threaded set of emails with a cover letter email. This confuses our tools which find patches in the mailing list (so your series doesn't show up on patchew or in the 'patches' tool's list of patches), and it also means I'm likely to miss it when I go through my emails manually. I dealt with this one manually, but it's a lot more work for me to do so and it was only really feasible because there were only two patches in the series.

For future submissions, please can you make sure you send multi-patch series with a 00/nn cover letter email and with all the patches in the series being followups to that cover letter. git send-email will get all the threading details right for you.
(Single standalone patches don't need a cover letter.)
https://wiki.qemu.org/Contribute/SubmitAPatch has more info on our patch submission recommendations.

thanks
-- PMM