arm64: [HACK] Check that out-of-range SVE register IDs can't be dumped
As a sanity-check that invalid SVE register IDs can't be accessed
via KVM_GET_ONE_REG, this patch adds code to attempt to do just
that (at the expense of making dumping even slower).
Because of the way the register IDs are encoded, out-of-range slice
IDs may still result in a valid register encoding, so there is
nothing to test for that case.
Signed-off-by:
Dave Martin <Dave.Martin@arm.com>
Please register or sign in to comment