aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorLi Ming <[email protected]>2025-06-20 05:29:24 +0000
committerDave Jiang <[email protected]>2025-06-25 19:05:45 +0000
commit0a46f60a9fe16f5596b6b4b3ee1a483ea7854136 (patch)
tree98b107e2438ef1d359bc11c98f941a2df76948bf /lib/crypto/mpi/mpi-cmp.c
parentcxl/ras: Fix CPER handler device confusion (diff)
downloadkernel-0a46f60a9fe16f5596b6b4b3ee1a483ea7854136.tar.gz
kernel-0a46f60a9fe16f5596b6b4b3ee1a483ea7854136.zip
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 <[email protected]> Reviewed-by: Shiju Jose <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Reviewed-by: Fan Ni <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions