[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] i386: Add the support for AMD EPYC 3rd generation process
From: |
Pankaj Gupta |
Subject: |
Re: [PATCH v2] i386: Add the support for AMD EPYC 3rd generation processors |
Date: |
Wed, 24 Feb 2021 17:13:15 +0100 |
> It is normally added as v2 for compatibility. Like this.
o.k. Thanks!
I will test this tomorrow.
>
> diff --git a/target/i386/cpu.c b/target/i386/cpu.c
> index 24db7ed892..f721d0db78 100644
> --- a/target/i386/cpu.c
> +++ b/target/i386/cpu.c
> @@ -4179,6 +4179,20 @@ static X86CPUDefinition builtin_x86_defs[] = {
> .xlevel = 0x8000001E,
> .model_id = "AMD EPYC-Rome Processor",
> .cache_info = &epyc_rome_cache_info,
> + .versions = (X86CPUVersionDefinition[]) {
> + { .version = 1 },
> + {
> + .version = 2,
> + .props = (PropValue[]) {
> + { "ibrs", "on" },
> + { "amd-ssbd", "on" },
> + { "model-id",
> + "AMD EPYC-Rome Processor" },
> + { /* end of list */ }
> + }
> + },
> + { /* end of list */ }
> + }
> },
> {
> .name = "EPYC-Milan",