diff options
author | Shyam Sundar S K <[email protected]> | 2023-04-10 00:23:46 +0530 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-04-11 10:37:30 +0200 |
commit | 8d99129eef8f42377b41c1bacee9f8ce806e9f44 (patch) | |
tree | f9ac747b912fde2817071683bd9d85d640611877 /tools/perf/scripts/python/stackcollapse.py | |
parent | 310e782a99c7f16fb533a45d8f9c16defefa5aab (diff) |
platform/x86/amd: pmc: Move out of BIOS SMN pair for STB init
The current SMN index used for the driver probe seems to be meant
for the BIOS pair and there are potential concurrency problems that can
occur with an inopportune SMI.
It is been advised to use SMN_INDEX_0 instead of SMN_INDEX_6, which is
what amd_nb.c provides and this function has protections to ensure that
only one caller can use it at a time.
Fixes: 426c0ff27b83 ("platform/x86: amd-pmc: Add support for AMD Smart Trace Buffer")
Co-developed-by: Sanket Goswami <[email protected]>
Signed-off-by: Sanket Goswami <[email protected]>
Signed-off-by: Shyam Sundar S K <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions