+81
−108
Loading
mainline inclusion from mainline-v6.4-rc1 commit a2e59ab8 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAU6ZD Reference: https://github.com/torvalds/linux/commit/a2e59ab8e93301466cb3ff3f2b7b65eb1a4e8786 -------------------------------- commit a2e59ab8 upstream The same function is used to calculate chip select size for all Zen-based family/models. Therefore, a family/model function pointer is not necessary. Drop the dbam_to_cs() function pointer for Family 17h and later systems. Also, move the Family 17h function to avoid a forward declaration. Rename it to indicate that the UMC Address Mask is used rather than the legacy DBAM value. 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-9-yazen.ghannam@amd.com Signed-off-by:
PvsNarasimha <PVS.NarasimhaRao@amd.com>