diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2021-04-27 06:16:36 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-05-10 07:51:38 +0200 |
commit | 059e5c321a65657877924256ea8ad9c0df257b45 (patch) | |
tree | baf55d5ab2a94353141323f27afc43bd9dcc58a0 /arch/x86/pci | |
parent | b81fc74d53d1248de6db3136dd6b29e5d5528021 (diff) | |
download | linux-059e5c321a65657877924256ea8ad9c0df257b45.tar.gz linux-059e5c321a65657877924256ea8ad9c0df257b45.tar.bz2 linux-059e5c321a65657877924256ea8ad9c0df257b45.zip |
x86/msr: Rename MSR_K8_SYSCFG to MSR_AMD64_SYSCFG
The SYSCFG MSR continued being updated beyond the K8 family; drop the K8
name from it.
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Joerg Roedel <jroedel@suse.de>
Link: https://lkml.kernel.org/r/20210427111636.1207-4-brijesh.singh@amd.com
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/amd_bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/amd_bus.c b/arch/x86/pci/amd_bus.c index ae744b6a0785..dd40d3fea74e 100644 --- a/arch/x86/pci/amd_bus.c +++ b/arch/x86/pci/amd_bus.c @@ -284,7 +284,7 @@ static int __init early_root_info_init(void) /* need to take out [4G, TOM2) for RAM*/ /* SYS_CFG */ - address = MSR_K8_SYSCFG; + address = MSR_AMD64_SYSCFG; rdmsrl(address, val); /* TOP_MEM2 is enabled? */ if (val & (1<<21)) { |