Skip to contentSkip to conversation

i386: QEMU support LAM (Linear Address Masking)

PATCH New Robert Hoo 1 participant 1 message Feb 27, 2023

lore
Share & tools
lore

Robert Hoo

author
#0 lore raw

PATCH 1/1 i386: QEMU support LAM (Linear Address Masking)

Define feature word "lam", so that QEMU can support this new feature.

LAM is enumerated by CPUID(7,1).EAX[26], it allows to use upper bits of linear address for meta data storage. Analogous to ARM MTE, but more flexible.

More info can be found ISE Chap10
https://cdrdv2.intel.com/v1/dl/getContent/671368

---
 target/i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/cpu.c +1 -1
index 4d2b8d0444..d6d573ca38 100644
@@ -876,7 +876,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
-            NULL, NULL, NULL, NULL,
+            NULL, NULL, "lam", NULL,
             NULL, NULL, NULL, NULL,
         },
         .cpuid = {
Signature · 1 line
2.31.1