Searched hist:f25c5e4dafd859b941a4654cbab9eb83ff994bcd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-kvm-device.c | diff f25c5e4dafd859b941a4654cbab9eb83ff994bcd Mon Oct 04 20:19:11 CDT 2021 Ricardo Koller <ricarkol@google.com> kvm: arm64: vgic: Introduce vgic_check_iorange
Add the new vgic_check_iorange helper that checks that an iorange is sane: the start address and size have valid alignments, the range is within the addressable PA range, start+size doesn't overflow, and the start wasn't already defined.
No functional change.
Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Ricardo Koller <ricarkol@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211005011921.437353-2-ricarkol@google.com
|
H A D | vgic.h | diff f25c5e4dafd859b941a4654cbab9eb83ff994bcd Mon Oct 04 20:19:11 CDT 2021 Ricardo Koller <ricarkol@google.com> kvm: arm64: vgic: Introduce vgic_check_iorange
Add the new vgic_check_iorange helper that checks that an iorange is sane: the start address and size have valid alignments, the range is within the addressable PA range, start+size doesn't overflow, and the start wasn't already defined.
No functional change.
Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Ricardo Koller <ricarkol@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211005011921.437353-2-ricarkol@google.com
|