summaryrefslogtreecommitdiffstats
path: root/crypto/khazad.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2018-05-22 09:55:14 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2018-05-25 12:29:27 +0100
commitc011f4ea106b94e5499358b62d8c2d74f7e184f9 (patch)
treea4b656fb03fe9d7059a1c51a11118d14ea112d2c /crypto/khazad.c
parent5ec17fbac6713be82b90f54d5a31251803fd8de5 (diff)
downloadtalos-op-linux-c011f4ea106b94e5499358b62d8c2d74f7e184f9.tar.gz
talos-op-linux-c011f4ea106b94e5499358b62d8c2d74f7e184f9.zip
KVM: arm/arm64: Check vcpu redist base before registering an iodev
As we are going to register several redist regions, vgic_register_all_redist_iodevs() may be called several times. We need to register a redist_iodev for a given vcpu only once. So let's check if the base address has already been set. Initialize this latter in kvm_vgic_vcpu_init(). Signed-off-by: Eric Auger <eric.auger@redhat.com> Acked-by: Christoffer Dall <christoffer.dall@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud