+1
−0
+17
−8
Loading
mainline inclusion from mainline-v6.9-rc1 commit 6c9058f49084569d1d816e87185e0a4f9ab1a321 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAYOV8 CVE: NA Reference: https://github.com/torvalds/linux/commit/6c9058f49084569d1d816e87185e0a4f9ab1a321 -------------------------------- commit 6c9058f49084569d1d816e87185e0a4f9ab1a321 upstream. Remove old address translation code and use the new AMD Address Translation Library. Use "imply" in Kconfig so that the "AMD_ATL" config option takes the value of "EDAC_AMD64" as its default. [Backport changes] 1. Retained all existing 277+ lines of in-file address translation code along with changes added in Euler commit 845ff731 including function umc_normaddr_to_sysaddr() in drivers/edac/amd64_edac.c to continue support for address translation in EDAC for DRAM ECC errors in Hygon family 18h and model 4h. 2. Modified conditional block in decode_umc_error() added by Euler commit 7722509e to retain usage of existing old in-file address translation code in hygon family CPU's and enabled use of new AMD Address Translation Library in AMD CPU's as per upstream. Signed-off-by:Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by:
Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240123041401.79812-3-yazen.ghannam@amd.com Signed-off-by:
Jeevan deep J <j.jeevandeep@amd.com> Signed-off-by:
PrithivishS <sprithiv@amd.com>