Unverified Commit 90884a33 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14371 [OLK-5.10] update AMD Zen5 Turin feature

Merge Pull Request from: @sineagle 
 
backporting patches from upstream to update the AMD Zen5 Turin feature

bf5641eccf71bcd13a849930e190563c3a19815d v6.11-rc2 x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range
2718a7fdf292b2dcb49c856fa8a6a955ebbbc45f v6.9-rc6 x86/CPU/AMD: Add models 0x10-0x1f to the Zen5 raWnge
 
 
Link:https://gitee.com/openeuler/kernel/pulls/14371

 

Reviewed-by: default avatarLi Nan <linan122@huawei.com>
Reviewed-by: default avatarWenkuan Wang <wenkuan.wang@amd.com>
Signed-off-by: default avatarLi Nan <linan122@huawei.com>
parents 0912fd81 b81c57f2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -632,10 +632,9 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)

	case 0x1a:
		switch (c->x86_model) {
		case 0x00 ... 0x0f:
		case 0x20 ... 0x2f:
		case 0x00 ... 0x2f:
		case 0x40 ... 0x4f:
		case 0x70 ... 0x7f:
		case 0x60 ... 0x7f:
			setup_force_cpu_cap(X86_FEATURE_ZEN5);
			break;
		default: