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 /scripts/gdb/linux/utils.py | |
| parent | d2bf115115d556a5a50cec9dd63cb5f64f10de87 (diff) | |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
