linux/arch
Yazen Ghannam 737ae6ddec x86/amd_nb: Restrict init function to AMD-based systems
[ Upstream commit bee9e84060 ]

The code implicitly operates on AMD-based systems by matching on PCI
IDs. However, the use of these IDs is going away.

Add an explicit CPU vendor check instead of relying on PCI IDs.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20241206161210.163701-3-yazen.ghannam@amd.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-02-17 09:40:03 +01:00
..
alpha Revert "change alloc_pages name in dma_map_ops to avoid name conflicts" 2024-09-04 13:28:24 +02:00
arc ARC: build: Try to guess GCC variant of cross compiler 2025-01-09 13:32:05 +01:00
arm ARM: dts: mediatek: mt7623: fix IR nodename 2025-02-08 09:52:21 +01:00
arm64 arm64/mm: Ensure adequate HUGE_MAX_HSTATE 2025-02-17 09:40:02 +01:00
csky of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-09 10:31:56 +01:00
hexagon hexagon: Fix unbalanced spinlock in die() 2025-02-08 09:52:34 +01:00
ia64 vgacon: rework screen_info #ifdef checks 2024-06-27 13:49:15 +02:00
loongarch LoongArch: Change 8 to 14 for LOONGARCH_MAX_{BRP,WRP} 2025-02-08 09:52:38 +01:00
m68k m68k: coldfire/device.c: only build FEC when HW macros are defined 2024-12-09 10:32:28 +01:00
microblaze of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-09 10:31:56 +01:00
mips MIPS: mipsregs: Set proper ISA level for virt extensions 2025-01-02 10:32:06 +01:00
nios2 of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-09 10:31:56 +01:00
openrisc openrisc: Use asm-generic's version of fix_to_virt() & virt_to_fix() 2024-12-11 16:13:43 +01:00
parisc parisc/ftrace: Fix function graph tracing disablement 2024-12-09 10:32:48 +01:00
powerpc of: remove internal arguments from of_property_for_each_u32() 2025-02-08 09:51:51 +01:00
riscv RISC-V: Mark riscv_v_init() as __init 2025-02-08 09:52:33 +01:00
s390 s390/stackleak: Use exrl instead of ex in __stackleak_poison() 2025-02-17 09:40:03 +01:00
sh sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK 2024-12-09 10:32:50 +01:00
sparc sparc64: Fix incorrect function signature and add prototype for prom_cif_init 2024-08-03 08:53:55 +02:00
um um: Always dump trace for specified task in show_stack 2024-12-09 10:32:54 +01:00
x86 x86/amd_nb: Restrict init function to AMD-based systems 2025-02-17 09:40:03 +01:00
xtensa of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-12-09 10:31:56 +01:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default" 2024-06-27 13:49:15 +02:00