diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2024-12-06 19:11:55 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-01-08 12:46:57 +0300 |
commit | bee9e840609cc67d0a7d82f22a2130fb7a0a766d (patch) | |
tree | 3d72b4e23edf1a03d5b3e37efb04786991108da2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6a5abeea9c72e1d2c538622b4cf66c80cc816fd3 (diff) | |
download | linux-bee9e840609cc67d0a7d82f22a2130fb7a0a766d.tar.xz |
x86/amd_nb: Restrict init function to AMD-based systems
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
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions