From: Pratik Vishwakarma <[email protected]>

Family 0x1a model 0xd0, 0xe0 should have X86_FEATURE_ZEN6

Signed-off-by: Pratik Vishwakarma <[email protected]>
---
 arch/x86/kernel/cpu/amd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index bc94ff1e250a..85b5ce71e37b 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -517,7 +517,7 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
                        break;
                case 0x50 ... 0x5f:
                case 0x80 ... 0xaf:
-               case 0xc0 ... 0xcf:
+               case 0xc0 ... 0xef:
                        setup_force_cpu_cap(X86_FEATURE_ZEN6);
                        break;
                default:
-- 
2.43.0

Reply via email to