diff options
author | Shyam Sundar S K <Shyam-sundar.S-k@amd.com> | 2023-04-09 21:53:45 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-04-11 11:37:27 +0300 |
commit | 310e782a99c7f16fb533a45d8f9c16defefa5aab (patch) | |
tree | 73322c012a7706ae755a038a0cc23a5de34eddcc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9217bd1d7699f34a01b26ba14ff38c1714ce1185 (diff) | |
download | linux-310e782a99c7f16fb533a45d8f9c16defefa5aab.tar.xz |
platform/x86/amd: pmc: Utilize SMN index 0 for driver probe
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_2, 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: 156ec4731cb2 ("platform/x86: amd-pmc: Add AMD platform support for S2Idle")
Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20230409185348.556161-6-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions