aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorQuentin Perret <[email protected]>2024-04-23 16:05:13 +0100
committerMarc Zyngier <[email protected]>2024-05-01 16:46:58 +0100
commitcb16301626c339b3ccde93e5deea0569e508cb98 (patch)
tree7e3f49b92bc65fc74dc76d665984e0629108789a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent40099dedb4a81fbf13ebac3a9dafcb72c7722d6a (diff)
KVM: arm64: Issue CMOs when tearing down guest s2 pages
On the guest teardown path, pKVM will zero the pages used to back the guest data structures before returning them to the host as they may contain secrets (e.g. in the vCPU registers). However, the zeroing is done using a cacheable alias, and CMOs are missing, hence giving the host a potential opportunity to read the original content of the guest structs from memory. Fix this by issuing CMOs after zeroing the pages. Signed-off-by: Quentin Perret <[email protected]> Signed-off-by: Fuad Tabba <[email protected]> Acked-by: Oliver Upton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions