diff options
author | Li Ming <ming.li@zohomail.com> | 2025-06-20 13:29:24 +0800 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2025-06-25 12:05:45 -0700 |
commit | 0a46f60a9fe16f5596b6b4b3ee1a483ea7854136 (patch) | |
tree | 98b107e2438ef1d359bc11c98f941a2df76948bf /scripts/lib/kdoc/kdoc_parser.py | |
parent | 3c70ec71abdaf4e4fa48cd8fdfbbd864d78235a8 (diff) |
cxl/edac: Fix using wrong repair type to check dram event record
cxl_find_rec_dram() is used to find a DRAM event record based on the
inputted attributes. Different repair_type of the inputted attributes
will check the DRAM event record in different ways.
When EDAC driver is performing a memory rank sparing, it should use
CXL_RANK_SPARING rather than CXL_BANK_SPARING as repair_type for DRAM
event record checking.
Fixes: 588ca944c277 ("cxl/edac: Add CXL memory device memory sparing control feature")
Signed-off-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Shiju Jose <shiju.jose@huawei.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Link: https://patch.msgid.link/20250620052924.138892-1-ming.li@zohomail.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions