linux_dsm_epyc7002/arch/arm/include
Alex Bennée 84e690bfbe KVM: arm64: introduce vcpu->arch.debug_ptr
This introduces a level of indirection for the debug registers. Instead
of using the sys_regs[] directly we store registers in a structure in
the vcpu. The new kvm_arm_reset_debug_ptr() sets the debug ptr to the
guest context.

Because we no longer give the sys_regs offset for the sys_reg_desc->reg
field, but instead the index into a debug-specific struct we need to
add a number of additional trap functions for each register. Also as the
generic generic user-space access code no longer works we have
introduced a new pair of function pointers to the sys_reg_desc structure
to override the generic code when needed.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2015-07-21 12:50:25 +01:00
..
asm KVM: arm64: introduce vcpu->arch.debug_ptr 2015-07-21 12:50:25 +01:00
debug The i.MX SoC updates for 4.2: 2015-06-10 16:58:05 -07:00
uapi/asm This mostly includes the PPC changes for 4.1, which this time cover 2015-04-26 13:06:22 -07:00