The following features are supported by Turin but were lacking KVM/QEMU
support until now:
- TSC_ADJUST
- CET_SS (Shadow stack)
- ERAPS
- BUSLOCK_DETECT
Add a new EPYC-Turin version with these features enabled.
Signed-off-by: Ben Cheatham <[email protected]>
---
target/i386/cpu.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 8805657f01de..69f6bbb2e99b 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -7307,6 +7307,18 @@ static const X86CPUDefinition builtin_x86_defs[] = {
},
.cache_info = &epyc_turin_cache_info
},
+ {
+ .version = 3,
+ .props = (PropValue[]) {
+ { "tsc-adjust", "on" },
+ { "cet-ss", "on" },
+ { "eraps", "on" },
+ { "bus-lock-detect", "on" },
+ { "model-id",
+ "AMD EPYC-Turin-v3 Processor" },
+ { /* end of list */ }
+ },
+ },
{ /* end of list */ }
}
},
--
2.53.0