diff options
author | Ricardo Koller <[email protected]> | 2021-10-04 18:19:20 -0700 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-10-11 09:31:43 +0100 |
commit | 1883458638979531fc4fcbc26d15fec3e51e1734 (patch) | |
tree | 0983650567937214ec7a13f55f6d7fb846f27f6d /tools/perf/util/trace-event-scripting.c | |
parent | 2dcd9aa1c3a5d3c90047d67efd08f0518f915449 (diff) |
KVM: arm64: selftests: Add test for legacy GICv3 REDIST base partially above IPA range
Add a new test into vgic_init which checks that the first vcpu fails to
run if there is not sufficient REDIST space below the addressable IPA
range. This only applies to the KVM_VGIC_V3_ADDR_TYPE_REDIST legacy API
as the required REDIST space is not know when setting the DIST region.
Note that using the REDIST_REGION API results in a different check at
first vcpu run: that the number of redist regions is enough for all
vcpus. And there is already a test for that case in, the first step of
test_v3_new_redist_regions.
Reviewed-by: Eric Auger <[email protected]>
Signed-off-by: Ricardo Koller <[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