diff options
| author | Ravi Bangoria <ravi.bangoria@amd.com> | 2026-10-26 04:18:35 +0000 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2026-11-06 09:40:55 +0100 |
| commit | 2c1d35bd95b13b50b43a0cb2167305dabfb54c07 (patch) | |
| tree | 04beb70a49f2492d9a6902e46b5584ec6b30879c /scripts/Makefile.thinlto | |
| parent | 5e4d83fb3616ebf807df1ce1b0ee7a8cdcb5ff87 (diff) | |
| download | linux-next-2c1d35bd95b13b50b43a0cb2167305dabfb54c07.tar.gz linux-next-2c1d35bd95b13b50b43a0cb2167305dabfb54c07.zip | |
perf/amd/ibs: Reset CPU0 IBS state on syscore resume
During a suspend/resume cycle, all CPUs except CPU0 go through hotplug
callbacks, which sets up IBS state. CPU0 bypasses this path, leaving its
IBS state stale after resume.
Fix this bug by explicitly setting CPU0's IBS state in the
syscore ->resume() callback.
Fixes: efa5700ec0da ("perf/amd/ibs: Support IBS_{FETCH|OP}_CTL2[Dis] to eliminate RMW race")
Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Jim Mattson <jmattson@google.com>
Link: https://patch.msgid.link/20261026041838.941-2-ravi.bangoria@amd.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
