Loading
RAS/AMD/ATL: Fix MI300 bank hash
mainline inclusion from mainline-v6.10-rc4 commit fe8a08973a0dea9757394c5adbdc3c0a03b0b432 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAYOV8 CVE: NA Reference: https://github.com/torvalds/linux/commit/fe8a08973a0dea9757394c5adbdc3c0a03b0b432 -------------------------------- commit fe8a08973a0dea9757394c5adbdc3c0a03b0b432 upstream. Apply the SID bits to the correct offset in the Bank value. Do this in the temporary value so they don't need to be masked off later. Fixes: 87a612375307 ("RAS/AMD/ATL: Add MI300 DRAM to normalized address translation support") Signed-off-by:Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by:
Borislav Petkov (AMD) <bp@alien8.de> Cc: <stable@kernel.org> Link: https://lore.kernel.org/r/20240607-mi300-dram-xl-fix-v1-1-2f11547a178c@amd.com Signed-off-by:
Jeevan deep J <j.jeevandeep@amd.com> Signed-off-by:
PrithivishS <sprithiv@amd.com>