EDAC/mce_amd: Use struct cpuinfo_x86.logical_die_id for Hygon NodeId
hygon inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V CVE: NA --------------------------- The cpuinfo_x86.cpu_die_id is get from CPUID or MSR in the commit 028c221e ("x86/CPU/AMD: Save AMD NodeId as cpu_die_id"). But the value may not be continuous for Hygon model 4h~6h processors. Use cpuinfo_x86.logical_die_id will always format continuous die (or node) IDs, because it will convert the physical die ID to logical die ID. So use topology_logical_die_id() instead of topology_die_id() to decode UMC ECC errors for Hygon processors. Signed-off-by:Pu Wen <puwen@hygon.cn>
Loading
Please sign in to comment