diff options
| author | Yazen Ghannam <yazen.ghannam@amd.com> | 2024-12-06 16:11:55 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:04:44 +0100 |
| commit | 8b60f25c3e672eabd140064bb226795acddee19d (patch) | |
| tree | e076670c41a02789298416b810ba8c345543e36d /include | |
| parent | 149dd2acff5ddefe02f84d1231104ae8c057c0ee (diff) | |
| download | linux-8b60f25c3e672eabd140064bb226795acddee19d.tar.gz linux-8b60f25c3e672eabd140064bb226795acddee19d.tar.bz2 linux-8b60f25c3e672eabd140064bb226795acddee19d.zip | |
x86/amd_nb: Restrict init function to AMD-based systems
[ Upstream commit bee9e840609cc67d0a7d82f22a2130fb7a0a766d ]
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
