diff options
author | Ricardo Koller <[email protected]> | 2021-10-04 18:19:19 -0700 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-10-11 09:31:42 +0100 |
commit | 2dcd9aa1c3a5d3c90047d67efd08f0518f915449 (patch) | |
tree | b651bf10f45ad118616caff968f16bd0280f185a /tools/perf/util/trace-event-scripting.c | |
parent | c44df5f9ff31daaa72b3a673422d5cca03a1fd02 (diff) |
KVM: arm64: selftests: Add tests for GIC redist/cpuif partially above IPA range
Add tests for checking that KVM returns the right error when trying to
set GICv2 CPU interfaces or GICv3 Redistributors partially above the
addressable IPA range. Also tighten the IPA range by replacing
KVM_CAP_ARM_VM_IPA_SIZE with the IPA range currently configured for the
guest (i.e., the default).
The check for the GICv3 redistributor created using the REDIST legacy
API is not sufficient as this new test only checks the check done using
vcpus already created when setting the base. The next commit will add
the missing test which verifies that the KVM check is done at first vcpu
run.
Signed-off-by: Ricardo Koller <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions