aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorTom Lendacky <[email protected]>2020-09-07 15:15:53 +0200
committerBorislav Petkov <[email protected]>2020-09-09 11:33:20 +0200
commit479a7bf5c1f7f14eb37c6d6aeb401562efc1fcad (patch)
tree8744143417c70aaf89adba42f5ffb25de1d6f042 /tools/perf/scripts/python/check-perf-trace.py
parenta4afa6081c88701635e1e20090f953a25f9444e0 (diff)
x86/sev-es: Handle DR7 read/write events
Add code to handle #VC exceptions on DR7 register reads and writes. This is needed early because show_regs() reads DR7 to print it out. Under SEV-ES, there is currently no support for saving/restoring the DRx registers but software expects to be able to write to the DR7 register. For now, cache the value written to DR7 and return it on read attempts, but do not touch the real hardware DR7. Signed-off-by: Tom Lendacky <[email protected]> [ [email protected]: - Adapt to #VC handling framework - Support early usage ] Co-developed-by: Joerg Roedel <[email protected]> Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions