diff options
| author | Suma Hegde <[email protected]> | 2024-01-06 02:25:30 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2024-01-31 10:31:07 +0200 |
| commit | ef6e98177f8d331cdcbe18125a1e2da82f6ede34 (patch) | |
| tree | 5577254902eeb3bb56590aebe26bbf09998cf06d /tools/perf/scripts/python/flamegraph.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 <[email protected]>
Reviewed-by: Naveen Krishna Chatradhi <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions