anolis-cloud-kernel/drivers/ras
Bo Liu bfec42ac43 anolis: RAS/AMD/ATL: fix error nodes per socket on for Hygon Dhyana processor
ANBZ: #22615

For Hygon Dhyana processor other than hygon family 18h model 4h, using atl
to convert umc_mca_addr to sys_addr. When geting die id, it use
amd_get_nodes_per_socket() function to get "nodes_per_socket" value. It will
get wrong value for Hygon CPU.

To fix it, we use hygon_get_nodes_per_socket() function to get the correct
"nodes_per_socket" value.

Fixes: 8df0979486c2("EDAC/amd64: Use new AMD Address Translation Library")
Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Wenhui Fan <fanwh@hygon.cn>
Reviewed-by: Guixin Liu <kanie@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/5521
2025-07-17 03:51:21 +00:00
..
amd/atl anolis: RAS/AMD/ATL: fix error nodes per socket on for Hygon Dhyana processor 2025-07-17 03:51:21 +00:00
Kconfig RAS: Introduce AMD Address Translation Library 2024-05-20 15:36:16 +00:00
Makefile RAS: Introduce AMD Address Translation Library 2024-05-20 15:36:16 +00:00
cec.c
debugfs.c
debugfs.h
ras.c RAS: Introduce AMD Address Translation Library 2024-05-20 15:36:16 +00:00