diff options
author | Ricardo Koller <[email protected]> | 2022-05-09 17:16:30 -0700 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-05-16 13:58:04 +0100 |
commit | cafe7e544d4979da222eaff12141ecac07901b9c (patch) | |
tree | d997f028d800b75ba33e1179839e756da8b952ec /mm/mapping_dirty_helpers.c | |
parent | b2d229d4ddb17db541098b83524d901257e93845 (diff) |
KVM: arm64: vgic: Check that new ITEs could be saved in guest memory
Try to improve the predictability of ITS save/restores by failing
commands that would lead to failed saves. More specifically, fail any
command that adds an entry into an ITS table that is not in guest
memory, which would otherwise lead to a failed ITS save ioctl. There
are already checks for collection and device entries, but not for
ITEs. Add the corresponding check for the ITT when adding ITEs.
Reviewed-by: Eric Auger <[email protected]>
Signed-off-by: Ricardo Koller <[email protected]>
Reviewed-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'mm/mapping_dirty_helpers.c')
0 files changed, 0 insertions, 0 deletions