diff options
author | Peter Zijlstra <[email protected]> | 2022-01-27 12:32:51 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-02-02 13:11:39 +0100 |
commit | a01994f5e5c79d3a35e5e8cf4252c7f2147323c3 (patch) | |
tree | ad6495f3deb0de9b1e807a9fd08275fde256d696 /tools/perf/scripts/python/syscall-counts.py | |
parent | 26291c54e111ff6ba87a164d85d4a4e134b7315c (diff) |
x86/perf: Default set FREEZE_ON_SMI for all
Kyle reported that rr[0] has started to malfunction on Comet Lake and
later CPUs due to EFI starting to make use of CPL3 [1] and the PMU
event filtering not distinguishing between regular CPL3 and SMM CPL3.
Since this is a privilege violation, default disable SMM visibility
where possible.
Administrators wanting to observe SMM cycles can easily change this
using the sysfs attribute while regular users don't have access to
this file.
[0] https://rr-project.org/
[1] See the Intel white paper "Trustworthy SMM on the Intel vPro Platform"
at https://bugzilla.kernel.org/attachment.cgi?id=300300, particularly the
end of page 5.
Reported-by: Kyle Huey <[email protected]>
Suggested-by: Andrew Cooper <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions