Add a new version of the EPYC-Milan model with the verw-clear feature set. This feature is used to mitigate the TSA L1, SQ, and FILL variants.
Signed-off-by: Ben Cheatham <[email protected]> --- target/i386/cpu.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index f047fe8a90a7..85745d5f907c 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -6958,6 +6958,16 @@ static const X86CPUDefinition builtin_x86_defs[] = { }, .cache_info = &epyc_milan_v3_cache_info }, + { + .version = 5, + .props = (PropValue[]) { + { "verw-clear", "on" }, + { "model-id", + "AMD EPYC-Milan-v5 Processor" }, + { /* end of list */ } + }, + .cache_info = &epyc_milan_v3_cache_info + }, { /* end of list */ } } }, -- 2.53.0
