Skip to content
Commit b6522c73 authored by James Morse's avatar James Morse
Browse files

EDAC, ghes: Expose groups as an additional layer



When an error is reported we map it to a dimm index. Now that we have
grouped the dimms by their type-16 'physical memory array', we can export
that as the top layer instead.

Add get_smbios_dimm_position() which searches for the provided dimm
handle and returns its group and dimm indexes. We deliberatly use this
to find the value we just allocated in ghes_edac_dmidecode() so that we
have confidence the same dimm will be found when an error is reported.

Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent bf1393e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment