arm64: RME: Set breakpoint parameters through SET_ONE_REG
Allow userspace to configure the number of breakpoints and watchpoints of a Realm VM through KVM_SET_ONE_REG ID_AA64DFR0_EL1. The KVM sys_reg handler checks the user value against the maximum value given by RMM (arm64_check_features() gets it from the read_sanitised_id_aa64dfr0_el1() reset handler). Userspace discovers that it can write these fields by issuing a KVM_ARM_GET_REG_WRITABLE_MASKS ioctl. Signed-off-by:Jean-Philippe Brucker <jean-philippe@linaro.org> Signed-off-by:
Steven Price <steven.price@arm.com> Reviewed-by:
Gavin Shan <gshan@redhat.com> Reviewed-by:
Suzuki K Poulose <suzuki.poulose@arm.com>
Loading
Please register or sign in to comment