@@ -1556,6 +1556,8 @@ static void InitTimer_AMD_F17h_Zen(unsigned int cpu) ;
1556
1556
static void InitTimer_AMD_F17h_Zen2_SP (unsigned int cpu ) ;
1557
1557
static void InitTimer_AMD_F17h_Zen2_MP (unsigned int cpu ) ;
1558
1558
static void InitTimer_AMD_F17h_Zen2_APU (unsigned int cpu ) ;
1559
+ static void Start_Uncore_AMD_Family_17h (void * arg ) ;
1560
+ static void Stop_Uncore_AMD_Family_17h (void * arg ) ;
1559
1561
1560
1562
static void Core_AMD_F17h_No_Thermal (CORE_RO * Core )
1561
1563
{
@@ -1575,6 +1577,8 @@ static void Query_Hygon_F18h(unsigned int cpu);
1575
1577
#define InitTimer_AMD_Family_19h InitTimer_AMD_Family_17h
1576
1578
#define InitTimer_AMD_F17h_Zen3_SP InitTimer_AMD_F17h_Zen2_SP
1577
1579
#define InitTimer_AMD_F17h_Zen3_MP InitTimer_AMD_F17h_Zen2_MP
1580
+ #define Start_Uncore_AMD_Family_19h Start_Uncore_AMD_Family_17h
1581
+ #define Stop_Uncore_AMD_Family_19h Stop_Uncore_AMD_Family_17h
1578
1582
1579
1583
/* [Void] */
1580
1584
#define _Void_Signature {.ExtFamily=0x0, .Family=0x0, .ExtModel=0x0, .Model=0x0}
@@ -6846,8 +6850,8 @@ static ARCH Arch[ARCHITECTURES] = {
6846
6850
.powerFormula = POWER_FORMULA_AMD_17h ,
6847
6851
.PCI_ids = PCI_AMD_17h_ids ,
6848
6852
.Uncore = {
6849
- .Start = NULL ,
6850
- .Stop = NULL ,
6853
+ .Start = Start_Uncore_AMD_Family_17h ,
6854
+ .Stop = Stop_Uncore_AMD_Family_17h ,
6851
6855
.ClockMod = NULL
6852
6856
},
6853
6857
.Specific = Void_Specific ,
@@ -6870,8 +6874,8 @@ static ARCH Arch[ARCHITECTURES] = {
6870
6874
.powerFormula = POWER_FORMULA_AMD_17h ,
6871
6875
.PCI_ids = PCI_Void_ids ,
6872
6876
.Uncore = {
6873
- .Start = NULL ,
6874
- .Stop = NULL ,
6877
+ .Start = Start_Uncore_AMD_Family_17h ,
6878
+ .Stop = Stop_Uncore_AMD_Family_17h ,
6875
6879
.ClockMod = NULL
6876
6880
},
6877
6881
.Specific = Void_Specific ,
@@ -6894,8 +6898,8 @@ static ARCH Arch[ARCHITECTURES] = {
6894
6898
.powerFormula = POWER_FORMULA_AMD_19h ,
6895
6899
.PCI_ids = PCI_AMD_19h_ids ,
6896
6900
.Uncore = {
6897
- .Start = NULL ,
6898
- .Stop = NULL ,
6901
+ .Start = Start_Uncore_AMD_Family_19h ,
6902
+ .Stop = Stop_Uncore_AMD_Family_19h ,
6899
6903
.ClockMod = NULL
6900
6904
},
6901
6905
.Specific = Void_Specific ,
@@ -8716,8 +8720,8 @@ static ARCH Arch[ARCHITECTURES] = {
8716
8720
.powerFormula = POWER_FORMULA_AMD_17h ,
8717
8721
.PCI_ids = PCI_AMD_17h_ids ,
8718
8722
.Uncore = {
8719
- .Start = NULL ,
8720
- .Stop = NULL ,
8723
+ .Start = Start_Uncore_AMD_Family_17h ,
8724
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8721
8725
.ClockMod = NULL
8722
8726
},
8723
8727
.Specific = AMD_Zen_Specific ,
@@ -8740,8 +8744,8 @@ static ARCH Arch[ARCHITECTURES] = {
8740
8744
.powerFormula = POWER_FORMULA_AMD_17h ,
8741
8745
.PCI_ids = PCI_AMD_17h_ids ,
8742
8746
.Uncore = {
8743
- .Start = NULL ,
8744
- .Stop = NULL ,
8747
+ .Start = Start_Uncore_AMD_Family_17h ,
8748
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8745
8749
.ClockMod = NULL
8746
8750
},
8747
8751
.Specific = AMD_Zen_APU_Specific ,
@@ -8764,8 +8768,8 @@ static ARCH Arch[ARCHITECTURES] = {
8764
8768
.powerFormula = POWER_FORMULA_AMD_17h ,
8765
8769
.PCI_ids = PCI_AMD_17h_ids ,
8766
8770
.Uncore = {
8767
- .Start = NULL ,
8768
- .Stop = NULL ,
8771
+ .Start = Start_Uncore_AMD_Family_17h ,
8772
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8769
8773
.ClockMod = NULL
8770
8774
},
8771
8775
.Specific = AMD_ZenPlus_Specific ,
@@ -8788,8 +8792,8 @@ static ARCH Arch[ARCHITECTURES] = {
8788
8792
.powerFormula = POWER_FORMULA_AMD_17h ,
8789
8793
.PCI_ids = PCI_AMD_17h_ids ,
8790
8794
.Uncore = {
8791
- .Start = NULL ,
8792
- .Stop = NULL ,
8795
+ .Start = Start_Uncore_AMD_Family_17h ,
8796
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8793
8797
.ClockMod = NULL
8794
8798
},
8795
8799
.Specific = AMD_ZenPlus_APU_Specific ,
@@ -8812,8 +8816,8 @@ static ARCH Arch[ARCHITECTURES] = {
8812
8816
.powerFormula = POWER_FORMULA_AMD_17h ,
8813
8817
.PCI_ids = PCI_AMD_17h_ids ,
8814
8818
.Uncore = {
8815
- .Start = NULL ,
8816
- .Stop = NULL ,
8819
+ .Start = Start_Uncore_AMD_Family_17h ,
8820
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8817
8821
.ClockMod = NULL
8818
8822
},
8819
8823
.Specific = AMD_Zen_Dali_Specific ,
@@ -8836,8 +8840,8 @@ static ARCH Arch[ARCHITECTURES] = {
8836
8840
.powerFormula = POWER_FORMULA_AMD_17h ,
8837
8841
.PCI_ids = PCI_AMD_17h_ids ,
8838
8842
.Uncore = {
8839
- .Start = NULL ,
8840
- .Stop = NULL ,
8843
+ .Start = Start_Uncore_AMD_Family_17h ,
8844
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8841
8845
.ClockMod = NULL
8842
8846
},
8843
8847
.Specific = AMD_EPYC_Rome_CPK_Specific ,
@@ -8860,8 +8864,8 @@ static ARCH Arch[ARCHITECTURES] = {
8860
8864
.powerFormula = POWER_FORMULA_AMD_17h ,
8861
8865
.PCI_ids = PCI_AMD_17h_ids ,
8862
8866
.Uncore = {
8863
- .Start = NULL ,
8864
- .Stop = NULL ,
8867
+ .Start = Start_Uncore_AMD_Family_17h ,
8868
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8865
8869
.ClockMod = NULL
8866
8870
},
8867
8871
.Specific = AMD_Zen2_Renoir_Specific ,
@@ -8884,8 +8888,8 @@ static ARCH Arch[ARCHITECTURES] = {
8884
8888
.powerFormula = POWER_FORMULA_AMD_17h ,
8885
8889
.PCI_ids = PCI_AMD_17h_ids ,
8886
8890
.Uncore = {
8887
- .Start = NULL ,
8888
- .Stop = NULL ,
8891
+ .Start = Start_Uncore_AMD_Family_17h ,
8892
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8889
8893
.ClockMod = NULL
8890
8894
},
8891
8895
.Specific = AMD_Zen2_LCN_Specific ,
@@ -8908,8 +8912,8 @@ static ARCH Arch[ARCHITECTURES] = {
8908
8912
.powerFormula = POWER_FORMULA_AMD_17h ,
8909
8913
.PCI_ids = PCI_AMD_17h_ids ,
8910
8914
.Uncore = {
8911
- .Start = NULL ,
8912
- .Stop = NULL ,
8915
+ .Start = Start_Uncore_AMD_Family_17h ,
8916
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8913
8917
.ClockMod = NULL
8914
8918
},
8915
8919
.Specific = AMD_Zen2_MTS_Specific ,
@@ -8932,8 +8936,8 @@ static ARCH Arch[ARCHITECTURES] = {
8932
8936
.powerFormula = POWER_FORMULA_AMD_17h ,
8933
8937
.PCI_ids = PCI_Void_ids ,
8934
8938
.Uncore = {
8935
- .Start = NULL ,
8936
- .Stop = NULL ,
8939
+ .Start = Start_Uncore_AMD_Family_17h ,
8940
+ .Stop = Stop_Uncore_AMD_Family_17h ,
8937
8941
.ClockMod = NULL
8938
8942
},
8939
8943
.Specific = Void_Specific ,
@@ -8956,8 +8960,8 @@ static ARCH Arch[ARCHITECTURES] = {
8956
8960
.powerFormula = POWER_FORMULA_AMD_19h ,
8957
8961
.PCI_ids = PCI_AMD_19h_ids ,
8958
8962
.Uncore = {
8959
- .Start = NULL ,
8960
- .Stop = NULL ,
8963
+ .Start = Start_Uncore_AMD_Family_19h ,
8964
+ .Stop = Stop_Uncore_AMD_Family_19h ,
8961
8965
.ClockMod = NULL
8962
8966
},
8963
8967
.Specific = AMD_Zen3_VMR_Specific ,
@@ -8980,8 +8984,8 @@ static ARCH Arch[ARCHITECTURES] = {
8980
8984
.powerFormula = POWER_FORMULA_AMD_19h ,
8981
8985
.PCI_ids = PCI_AMD_19h_ids ,
8982
8986
.Uncore = {
8983
- .Start = NULL ,
8984
- .Stop = NULL ,
8987
+ .Start = Start_Uncore_AMD_Family_19h ,
8988
+ .Stop = Stop_Uncore_AMD_Family_19h ,
8985
8989
.ClockMod = NULL
8986
8990
},
8987
8991
.Specific = AMD_Zen3_CZN_Specific ,
@@ -9004,8 +9008,8 @@ static ARCH Arch[ARCHITECTURES] = {
9004
9008
.powerFormula = POWER_FORMULA_AMD_19h ,
9005
9009
.PCI_ids = PCI_AMD_19h_ids ,
9006
9010
.Uncore = {
9007
- .Start = NULL ,
9008
- .Stop = NULL ,
9011
+ .Start = Start_Uncore_AMD_Family_19h ,
9012
+ .Stop = Stop_Uncore_AMD_Family_19h ,
9009
9013
.ClockMod = NULL
9010
9014
},
9011
9015
.Specific = AMD_EPYC_Milan_Specific ,
@@ -9028,8 +9032,8 @@ static ARCH Arch[ARCHITECTURES] = {
9028
9032
.powerFormula = POWER_FORMULA_AMD_19h ,
9029
9033
.PCI_ids = PCI_AMD_19h_ids ,
9030
9034
.Uncore = {
9031
- .Start = NULL ,
9032
- .Stop = NULL ,
9035
+ .Start = Start_Uncore_AMD_Family_19h ,
9036
+ .Stop = Stop_Uncore_AMD_Family_19h ,
9033
9037
.ClockMod = NULL
9034
9038
},
9035
9039
.Specific = Void_Specific ,
@@ -9052,8 +9056,8 @@ static ARCH Arch[ARCHITECTURES] = {
9052
9056
.powerFormula = POWER_FORMULA_AMD_19h ,
9053
9057
.PCI_ids = PCI_AMD_19h_ids ,
9054
9058
.Uncore = {
9055
- .Start = NULL ,
9056
- .Stop = NULL ,
9059
+ .Start = Start_Uncore_AMD_Family_19h ,
9060
+ .Stop = Stop_Uncore_AMD_Family_19h ,
9057
9061
.ClockMod = NULL
9058
9062
},
9059
9063
.Specific = Void_Specific ,
@@ -9076,8 +9080,8 @@ static ARCH Arch[ARCHITECTURES] = {
9076
9080
.powerFormula = POWER_FORMULA_AMD_19h ,
9077
9081
.PCI_ids = PCI_AMD_19h_ids ,
9078
9082
.Uncore = {
9079
- .Start = NULL ,
9080
- .Stop = NULL ,
9083
+ .Start = Start_Uncore_AMD_Family_19h ,
9084
+ .Stop = Stop_Uncore_AMD_Family_19h ,
9081
9085
.ClockMod = NULL
9082
9086
},
9083
9087
.Specific = AMD_Zen3Plus_RMB_Specific ,
0 commit comments