diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2022-02-02 17:43:07 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-02-24 00:01:33 +0300 |
commit | 2151c84ece920dc55942495004a823cbecb921e5 (patch) | |
tree | a58cc30a865f495635d2d0e6875e82c7ebf7008d /drivers/i2c/i2c-slave-eeprom.c | |
parent | 75aeaaf23def967853c8d1cfb513a6842dbc232e (diff) | |
download | linux-2151c84ece920dc55942495004a823cbecb921e5.tar.xz |
EDAC/amd64: Add new register offset support and related changes
Introduce a "family flags" bitmask that can be used to indicate any
special behavior needed on a per-family basis.
Add a flag to indicate a system uses the new register offsets introduced
with Family 19h Model 10h.
Use this flag to account for register offset changes, a new bitfield
indicating DDR5 use on a memory controller, and to set the proper number
of chip select masks.
Rework f17_addr_mask_to_cs_size() to properly handle the change in chip
select masks. And update code comments to reflect the updated Chip
Select, DIMM, and Mask relationships.
[uninitialized variable warning]
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: William Roche <william.roche@oracle.com>
Link: https://lore.kernel.org/r/20220202144307.2678405-3-yazen.ghannam@amd.com
Diffstat (limited to 'drivers/i2c/i2c-slave-eeprom.c')
0 files changed, 0 insertions, 0 deletions