Skip to content

Commit

Permalink
Add AMD Zen 4 Bergamo support to sysfeatures
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatix committed Oct 16, 2024
1 parent 3cfefa4 commit a07747e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/includes/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ struct topology_functions {
#define ZEN4_RYZEN_PRO 0x08
#define ZEN4_RYZEN2 0x74
#define ZEN4_EPYC 0x11
#define ZEN4_EPYC_BERGAMO 0xA0

/* ARM */
#define ARM7L 0x3U
Expand Down
1 change: 1 addition & 0 deletions src/sysFeatures_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,6 @@ static const _HWArchFeatures amd_arch_features[] = {
{ZEN3_FAMILY, ZEN4_RYZEN, amd_k19_cpu_feature_inputs},
{ZEN3_FAMILY, ZEN4_RYZEN_PRO, amd_k19_cpu_feature_inputs},
{ZEN3_FAMILY, ZEN4_EPYC, amd_k19_cpu_feature_inputs},
{ZEN3_FAMILY, ZEN4_EPYC_BERGAMO, amd_k19_cpu_feature_inputs},
{-1, -1, NULL},
};

0 comments on commit a07747e

Please sign in to comment.