aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorChristoffer Dall <cdall@linaro.org>2017-05-20 14:12:34 +0200
committerChristoffer Dall <cdall@linaro.org>2017-05-24 09:44:07 +0200
commit28232a4317be7ad615f0f1b69dc8583fd580a8e3 (patch)
tree9a8aa63f28847929321d6c85c0f8913986bfa1dc /security
parentKVM: arm/arm64: Hold slots_lock when unregistering kvm io bus devices (diff)
downloadlinux-dev-28232a4317be7ad615f0f1b69dc8583fd580a8e3.tar.xz
linux-dev-28232a4317be7ad615f0f1b69dc8583fd580a8e3.zip
KVM: arm/arm64: Fix isues with GICv2 on GICv3 migration
We have been a little loose with our intermediate VMCR representation where we had a 'ctlr' field, but we failed to differentiate between the GICv2 GICC_CTLR and ICC_CTLR_EL1 layouts, and therefore ended up mapping the wrong bits into the individual fields of the ICH_VMCR_EL2 when emulating a GICv2 on a GICv3 system. Fix this by using explicit fields for the VMCR bits instead. Cc: Eric Auger <eric.auger@redhat.com> Reported-by: wanghaibin <wanghaibin.wang@huawei.com> Signed-off-by: Christoffer Dall <cdall@linaro.org> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Tested-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions