diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-06 16:12:03 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-01-08 10:59:44 +0100 |
| commit | d6caeafaa324e6aba5ed2ca1a416340c2fd061a2 (patch) | |
| tree | ca823e86f3cdc0fe3019b17e1675bd0e73d6182d /drivers/ras | |
| parent | 7dd57db495d49c004fffc77265ffbaccf340aa20 (diff) | |
| download | linux-d6caeafaa324e6aba5ed2ca1a416340c2fd061a2.tar.gz linux-d6caeafaa324e6aba5ed2ca1a416340c2fd061a2.tar.bz2 linux-d6caeafaa324e6aba5ed2ca1a416340c2fd061a2.zip | |
x86/amd_nb: Move SMN access code to a new amd_node driver
SMN access was bolted into amd_nb mostly as convenience. This has
limitations though that require incurring tech debt to keep it working.
Move SMN access to the newly introduced AMD Node driver.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> # pdx86
Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> # PMF, PMC
Link: https://lore.kernel.org/r/20241206161210.163701-11-yazen.ghannam@amd.com
Diffstat (limited to 'drivers/ras')
| -rw-r--r-- | drivers/ras/amd/atl/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/ras/amd/atl/internal.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ras/amd/atl/Kconfig b/drivers/ras/amd/atl/Kconfig index 551680073e43..6e03942cd7da 100644 --- a/drivers/ras/amd/atl/Kconfig +++ b/drivers/ras/amd/atl/Kconfig @@ -10,6 +10,7 @@ config AMD_ATL tristate "AMD Address Translation Library" depends on AMD_NB && X86_64 && RAS + depends on AMD_NODE depends on MEMORY_FAILURE default N help diff --git a/drivers/ras/amd/atl/internal.h b/drivers/ras/amd/atl/internal.h index 143d04c779a8..f9be26d25348 100644 --- a/drivers/ras/amd/atl/internal.h +++ b/drivers/ras/amd/atl/internal.h @@ -18,6 +18,7 @@ #include <linux/ras.h> #include <asm/amd_nb.h> +#include <asm/amd_node.h> #include "reg_fields.h" |
