+5
−34
+2
−12
Loading
mainline inclusion from mainline-v6.3-rc1 commit cf981562 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAU6ZD Reference: https://github.com/torvalds/linux/commit/cf981562e6270397a2b0dc871a1f11ccc2a687e8 -------------------------------- commit cf981562 upstream PCI Function 0 is used on Family 17h and later only to read the "dhar" value. This value is printed and provided through a module-specific debug sysfs file. The value is not used for any Family 17h and later code, and it does not have any apparent debug value on these systems. Remove "dhar", Function 0 PCI IDs, and all related code. [Backport changes] 1. Since all the Function 0 PCI IDs have been removed, the macros PCI_DEVICE_ID_HYGON_18H_M06H_DF_F0 and PCI_DEVICE_ID_HYGON_18H_M10H_DF_F0 have also been removed as per the upstream commit. Signed-off-by:Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by:
Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230127170419.1824692-5-yazen.ghannam@amd.com Signed-off-by:
PvsNarasimha <PVS.NarasimhaRao@amd.com>