diff options
author | Marc Zyngier <[email protected]> | 2014-05-07 13:44:49 +0100 |
---|---|---|
committer | Christoffer Dall <[email protected]> | 2014-07-11 04:57:46 -0700 |
commit | b0e626b380872b663918230fafdac128c34fea56 (patch) | |
tree | 81b25e5f5cdb4523b747971ddd4698c3acd7a292 /tools/perf/scripts/python/syscall-counts.py | |
parent | bdfb4b389c8d8f07e2d5b8e1291e01c789ba4aad (diff) |
arm64: KVM: implement lazy world switch for debug registers
Implement switching of the debug registers. While the number
of registers is massive, CPUs usually don't implement them all
(A57 has 6 breakpoints and 4 watchpoints, which gives us a total
of 22 registers "only").
Also, we only save/restore them when MDSCR_EL1 has debug enabled,
or when we've flagged the debug registers as dirty. It means that
most of the time, we only save/restore MDSCR_EL1.
Reviewed-by: Anup Patel <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions