Skip to content

Commit f6d22cd

Browse files
committed
stress-x86cpuid: add some non-Intel CPUID feature registers
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
1 parent 582bff3 commit f6d22cd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

stress-x86cpuid.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,14 @@ static const stress_cpuid_regs_t ALIGN64 stress_cpuid_regs[] = {
105105
{ 0x8000001e, 0x00000000, false }, /* get APIC/unit/node information */
106106
{ 0x8000001f, 0x00000000, false }, /* get SME/SEV information */
107107
{ 0x80000021, 0x00000000, false }, /* Extended Feature Identification 2 */
108+
{ 0x80000025, 0x00000000, false }, /* Encrypted Memory Capabilities 2 */
109+
{ 0x8c860000, 0x00000000, false }, /* Hygon Extended Feature Flags */
110+
{ 0x8ffffffe, 0x00000000, false }, /* AMD Easter Egg */
108111
{ 0x8fffffff, 0x00000000, false }, /* AMD Easter Egg */
109112
{ 0xc0000000, 0x00000000, false }, /* Highest Centaur Extended Function */
110113
{ 0xc0000001, 0x00000000, false }, /* Centaur Feature Information */
114+
{ 0xc0000002, 0x00000000, false }, /* Centaur Extended CPUID Performance Data */
115+
{ 0xc0000006, 0x00000000, false }, /* Zhaoxin Feature Information */
111116
};
112117

113118
static void OPTIMIZE3 stress_x86cpuid_reorder_regs(const size_t n, stress_cpuid_regs_t *reordered_cpu_regs)

0 commit comments

Comments
 (0)