diff options
| author | Suma Hegde <suma.hegde@amd.com> | 2024-01-06 02:25:30 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-01-31 10:31:07 +0200 |
| commit | ef6e98177f8d331cdcbe18125a1e2da82f6ede34 (patch) | |
| tree | 5577254902eeb3bb56590aebe26bbf09998cf06d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | platform/x86/amd/hsmp: Non-ACPI support for AMD F1A_M00~0Fh (diff) | |
| download | linux-ef6e98177f8d331cdcbe18125a1e2da82f6ede34.tar.gz linux-ef6e98177f8d331cdcbe18125a1e2da82f6ede34.zip | |
platform/x86/amd/hsmp: Check num_sockets against MAX_AMD_SOCKETS
AMD supports connecting up to 8 AMD EPYCs in a system.
Hence, verify the num_sockets returned from amd_nb_num().
Also remove the WARN_ON() since the num_sockets is already verified.
Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240106022532.1746932-9-suma.hegde@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
