summaryrefslogtreecommitdiff
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2015-07-07 19:30:01 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2015-07-21 14:50:43 +0300
commit5540546bc93b49f98a0466fe3f96615286c76574 (patch)
tree309043ab7321a0adb992aa03e7ac1e87804d8ac6 /Documentation/virtual
parent84e690bfbed1d1ecb45d8eccd4c7b6c8e878da1c (diff)
downloadlinux-5540546bc93b49f98a0466fe3f96615286c76574.tar.xz
KVM: arm64: guest debug, HW assisted debug support
This adds support for userspace to control the HW debug registers for guest debug. In the debug ioctl we copy an IMPDEF registers into a new register set called host_debug_state. We use the recently introduced vcpu parameter debug_ptr to select which register set is copied into the real registers when world switch occurs. I've made some helper functions from hw_breakpoint.c more widely available for re-use. As with single step we need to tweak the guest registers to enable the exceptions so we need to save and restore those bits. Two new capabilities have been added to the KVM_EXTENSION ioctl to allow userspace to query the number of hardware break and watch points available on the host hardware. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions