diff --git a/lib/api.c b/lib/api.c index f1a6a74f..f162c2f7 100644 --- a/lib/api.c +++ b/lib/api.c @@ -139,6 +139,7 @@ static int request_table_ver_and_size(ryzen_access ry) case FAM_REMBRANDT: case FAM_PHOENIX: case FAM_HAWKPOINT: + case FAM_STRIXPOINT: get_table_ver_msg = 0x6; break; default: @@ -208,6 +209,7 @@ static int request_table_addr(ryzen_access ry) case FAM_REMBRANDT: case FAM_PHOENIX: case FAM_HAWKPOINT: + case FAM_STRIXPOINT: get_table_addr_msg = 0x66; break; default: @@ -222,6 +224,7 @@ static int request_table_addr(ryzen_access ry) case FAM_REMBRANDT: case FAM_PHOENIX: case FAM_HAWKPOINT: + case FAM_STRIXPOINT: ry->table_addr = (uint64_t) args.arg1 << 32 | args.arg0; break; default: @@ -257,6 +260,7 @@ static int request_transfer_table(ryzen_access ry) case FAM_REMBRANDT: case FAM_PHOENIX: case FAM_HAWKPOINT: + case FAM_STRIXPOINT: transfer_table_msg = 0x65; break; default: diff --git a/lib/cpuid.c b/lib/cpuid.c index 31507b08..14c688ee 100644 --- a/lib/cpuid.c +++ b/lib/cpuid.c @@ -92,6 +92,7 @@ static enum ryzen_family cpuid_load_family() case 0x1A: /* Zen5, Zen6 */ switch (model) { case 32: + case 36: return FAM_STRIXPOINT; default: printf("Fam%xh: unsupported model %d\n", family, model); diff --git a/lib/nb_smu_ops.c b/lib/nb_smu_ops.c index 513a970e..fc2eb210 100644 --- a/lib/nb_smu_ops.c +++ b/lib/nb_smu_ops.c @@ -108,4 +108,4 @@ smu_t get_smu(nb_t nb, int smu_type) { void free_smu(smu_t smu) { free((void *)smu); -} \ No newline at end of file +}