Commit 092774bc authored by Liao Xuan's avatar Liao Xuan
Browse files

EDAC/amd64: Add support for Hygon family 18h model 7h

hygon inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9VW6G


CVE: NA

---------------------------

Add Hygon family 18h model 7h processor support for amd64_edac.

Signed-off-by: default avatarLiao Xuan <liaoxuan@hygon.cn>
parent 64fe6a98
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3568,6 +3568,11 @@ static struct amd64_family_type *per_family_init(struct amd64_pvt *pvt)
			fam_type = &family_types[F18_M06H_CPUS];
			pvt->ops = &family_types[F18_M06H_CPUS].ops;
			break;
		} else if (pvt->model == 0x7) {
			fam_type = &family_types[F18_M06H_CPUS];
			pvt->ops = &family_types[F18_M06H_CPUS].ops;
			family_types[F18_M06H_CPUS].ctl_name = "F18h_M07h";
			break;
		} else if (pvt->model == 0x10) {
			fam_type = &family_types[F18_M10H_CPUS];
			pvt->ops = &family_types[F18_M10H_CPUS].ops;