linux/drivers/ras
Yazen Ghannam 838850c508 RAS/AMD/FMPM: Save SPA values
The system physical address (SPA) of an error is not a stable value. It
will change depending on the location of the memory: parts can be
swapped. And it will change depending on memory topology: NUMA nodes
and/or interleaving can be adjusted.

Therefore, the SPA value is not part of the "FRU Memory Poison" record
format. And it will not be saved to persistent storage.

However, the SPA values can be helpful during debug and for system
admins during run time.

Save the SPA values in a separate structure. This is updated when
records are restored and when new errors are saved.

  [ bp: Make error messages more user friendly and add and correct
    comments. ]

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240301143748.854090-3-yazen.ghannam@amd.com
2024-03-01 16:55:18 +01:00
..
amd RAS/AMD/FMPM: Save SPA values 2024-03-01 16:55:18 +01:00
cec.c RAS: Export helper to get ras_debugfs_dir 2024-03-01 16:55:10 +01:00
debugfs.c RAS: Export helper to get ras_debugfs_dir 2024-03-01 16:55:10 +01:00
debugfs.h RAS: Export helper to get ras_debugfs_dir 2024-03-01 16:55:10 +01:00
Kconfig RAS: Introduce a FRU memory poison manager 2024-02-20 18:56:15 +01:00
Makefile RAS: Introduce a FRU memory poison manager 2024-02-20 18:56:15 +01:00
ras.c RAS: Introduce AMD Address Translation Library 2024-01-24 12:49:35 +01:00