[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 2/7] target/i386: Add RAS feature bits on EPYC CPU models
From: |
Babu Moger |
Subject: |
[PATCH v3 2/7] target/i386: Add RAS feature bits on EPYC CPU models |
Date: |
Thu, 24 Oct 2024 17:18:20 -0500 |
Add the support for following RAS features bits on AMD guests.
SUCCOR: Software uncorrectable error containment and recovery capability.
The processor supports software containment of uncorrectable errors
through context synchronizing data poisoning and deferred error
interrupts.
McaOverflowRecov: MCA overflow recovery support.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
---
v3: No changes
v2: Added reviewed by from Zhao.
---
target/i386/cpu.c | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 94faff83cd..e88859056a 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -4974,6 +4974,16 @@ static const X86CPUDefinition builtin_x86_defs[] = {
},
.cache_info = &epyc_v4_cache_info
},
+ {
+ .version = 5,
+ .props = (PropValue[]) {
+ { "overflow-recov", "on" },
+ { "succor", "on" },
+ { "model-id",
+ "AMD EPYC-v5 Processor" },
+ { /* end of list */ }
+ },
+ },
{ /* end of list */ }
}
},
@@ -5112,6 +5122,16 @@ static const X86CPUDefinition builtin_x86_defs[] = {
{ /* end of list */ }
},
},
+ {
+ .version = 5,
+ .props = (PropValue[]) {
+ { "overflow-recov", "on" },
+ { "succor", "on" },
+ { "model-id",
+ "AMD EPYC-Rome-v5 Processor" },
+ { /* end of list */ }
+ },
+ },
{ /* end of list */ }
}
},
@@ -5187,6 +5207,16 @@ static const X86CPUDefinition builtin_x86_defs[] = {
},
.cache_info = &epyc_milan_v2_cache_info
},
+ {
+ .version = 3,
+ .props = (PropValue[]) {
+ { "overflow-recov", "on" },
+ { "succor", "on" },
+ { "model-id",
+ "AMD EPYC-Milan-v3 Processor" },
+ { /* end of list */ }
+ },
+ },
{ /* end of list */ }
}
},
--
2.34.1
- [PATCH v3 0/7] target/i386: Add support for perfmon-v2, RAS bits and EPYC-Turin CPU model, Babu Moger, 2024/10/24
- [PATCH v3 1/7] target/i386: Fix minor typo in NO_NESTED_DATA_BP feature bit, Babu Moger, 2024/10/24
- [PATCH v3 2/7] target/i386: Add RAS feature bits on EPYC CPU models,
Babu Moger <=
- [PATCH v3 3/7] target/i386: Add PerfMonV2 feature bit, Babu Moger, 2024/10/24
- [PATCH v3 4/7] target/i386: Enable perfmon-v2 and RAS feature bits on EPYC-Genoa, Babu Moger, 2024/10/24
- [PATCH v3 5/7] target/i386: Expose bits related to SRSO vulnerability, Babu Moger, 2024/10/24
- [PATCH v3 6/7] target/i386: Expose new feature bits in CPUID 8000_0021_EAX/EBX, Babu Moger, 2024/10/24
- [PATCH v3 7/7] target/i386: Add support for EPYC-Turin model, Babu Moger, 2024/10/24
- Re: [PATCH v3 0/7] target/i386: Add support for perfmon-v2, RAS bits and EPYC-Turin CPU model, Paolo Bonzini, 2024/10/28