@@ -1693,6 +1693,7 @@ static void Query_Hygon_F18h(unsigned int cpu);
16931693#define InitTimer_AMD_F19h_Zen3_SP InitTimer_AMD_F17h_Zen2_SP
16941694#define InitTimer_AMD_F19h_Zen3_MP InitTimer_AMD_F17h_Zen2_MP
16951695#define InitTimer_AMD_F19h_Zen3_APU InitTimer_AMD_F17h_Zen2_APU
1696+ #define InitTimer_AMD_Zen4_RPL InitTimer_AMD_Zen3Plus_RMB
16961697#define Start_Uncore_AMD_Family_19h Start_Uncore_AMD_Family_17h
16971698#define Stop_Uncore_AMD_Family_19h Stop_Uncore_AMD_Family_17h
16981699
@@ -2050,6 +2051,7 @@ static PCI_CALLBACK AMD_DataFabric_Arden(struct pci_dev *pdev) ;
20502051static PCI_CALLBACK AMD_DataFabric_Vermeer (struct pci_dev * pdev ) ;
20512052static PCI_CALLBACK AMD_DataFabric_Cezanne (struct pci_dev * pdev ) ;
20522053static PCI_CALLBACK AMD_DataFabric_Rembrandt (struct pci_dev * pdev ) ;
2054+ #define AMD_DataFabric_Raphael AMD_DataFabric_Rembrandt
20532055
20542056static struct pci_device_id PCI_Void_ids [] = {
20552057 {0 , }
@@ -2849,6 +2851,10 @@ static struct pci_device_id PCI_AMD_17h_ids[] = {
28492851 PCI_VDEVICE (AMD , DID_AMD_19H_ZEN3_RMB_NB_IOMMU ),
28502852 .driver_data = (kernel_ulong_t ) AMD_Zen_IOMMU
28512853 },
2854+ {
2855+ PCI_VDEVICE (AMD , DID_AMD_19H_ZEN4_RPL_NB_IOMMU ),
2856+ .driver_data = (kernel_ulong_t ) AMD_Zen_IOMMU
2857+ },
28522858 /* Source: HYGON: PCI list */
28532859 {
28542860 PCI_VDEVICE (HYGON , DID_AMD_17H_ZEN_PLUS_NB_IOMMU ),
@@ -2905,6 +2911,10 @@ static struct pci_device_id PCI_AMD_17h_ids[] = {
29052911 PCI_VDEVICE (AMD , DID_AMD_19H_REMBRANDT_DF_UMC ),
29062912 .driver_data = (kernel_ulong_t ) AMD_DataFabric_Rembrandt
29072913 },
2914+ {
2915+ PCI_VDEVICE (AMD , DID_AMD_19H_RAPHAEL_DF_UMC ),
2916+ .driver_data = (kernel_ulong_t ) AMD_DataFabric_Raphael
2917+ },
29082918 {0 , }
29092919};
29102920
@@ -9835,14 +9845,14 @@ static ARCH Arch[ARCHITECTURES] = {
98359845 .Start = Start_AMD_Family_19h ,
98369846 .Stop = Stop_AMD_Family_19h ,
98379847 .Exit = Exit_AMD_F19h ,
9838- .Timer = InitTimer_AMD_F19h_Zen3_SP ,
9848+ .Timer = InitTimer_AMD_Zen4_RPL ,
98399849 .BaseClock = BaseClock_AMD_Family_19h ,
98409850 .ClockMod = ClockMod_AMD_Zen ,
98419851 .TurboClock = TurboClock_AMD_Zen ,
98429852 .thermalFormula = THERMAL_FORMULA_AMD_ZEN3 ,
98439853 .voltageFormula = VOLTAGE_FORMULA_AMD_19h ,
98449854 .powerFormula = POWER_FORMULA_AMD_19h ,
9845- .PCI_ids = PCI_Void_ids ,
9855+ .PCI_ids = PCI_AMD_19h_ids ,
98469856 .Uncore = {
98479857 .Start = Start_Uncore_AMD_Family_19h ,
98489858 .Stop = Stop_Uncore_AMD_Family_19h ,
0 commit comments