[PATCH v5 0/6] RAS: ATL: DF 4.5 NP2 Denormalization
From: John Allen
Date: Thu Jun 06 2024 - 16:35:49 EST
Implement non-power-of-two denormalization for Data Fabric 4.5 in the
AMD address translation library.
Tree:
git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git
Base commit:
dadc295cbd03955cc1ba55af55e23a06713d1a5f
(origin/edac-amd-atl)
v2:
- Fix compilation error.
- Make remove_base_and_hole the inverse of add_base_and_hole.
- Move all map validation checks to validate_address_map at the
beginning of translation
v3:
- Fix bug where the legacy hole was not getting removed properly.
- Minor rework of functions for matching the normalized address and
logical cs fabric id.
v4:
- Merge common cases in map validation function.
- Fix map validation for cases that don't have explicit checks.
v5:
- Add patches to add a pr_fmt prefix for the driver and share the
internal.h header with the FMPM driver.
- Don't fail to load driver if DRAM hole base can't be read.
John Allen (6):
RAS/AMD/ATL: Add amd_atl pr_fmt prefix
RAS/AMD/ATL: Read DRAM hole base early
RAS/AMD/ATL: Expand helpers for adding and removing base and hole
RAS/AMD/ATL: Validate address map when information is gathered
RAS/AMD/ATL: Implement DF 4.5 NP2 denormalization
RAS/AMD/FMPM: Use atl internal.h for INVALID_SPA
drivers/ras/amd/atl/core.c | 50 +--
drivers/ras/amd/atl/dehash.c | 43 ---
drivers/ras/amd/atl/denormalize.c | 561 ++++++++++++++++++++++++++++++
drivers/ras/amd/atl/internal.h | 48 +++
drivers/ras/amd/atl/map.c | 97 ++++++
drivers/ras/amd/atl/system.c | 21 +-
drivers/ras/amd/fmpm.c | 4 +-
7 files changed, 755 insertions(+), 69 deletions(-)
--
2.34.1