Skip to content
Snippets Groups Projects
Commit 9dedfaee authored by Yazen Ghannam's avatar Yazen Ghannam Committed by Frieder Schrempf
Browse files

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: default avatarYazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20241206161210.163701-3-yazen.ghannam@amd.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 420ca925
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment