diff options
author | Christoffer Dall <cdall@linaro.org> | 2017-05-20 14:12:34 +0200 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-05-24 09:44:07 +0200 |
commit | 28232a4317be7ad615f0f1b69dc8583fd580a8e3 (patch) | |
tree | 9a8aa63f28847929321d6c85c0f8913986bfa1dc /scripts | |
parent | fa472fa91a5a0b241f5ddae927d2e235d07545df (diff) | |
download | linux-28232a4317be7ad615f0f1b69dc8583fd580a8e3.tar.gz linux-28232a4317be7ad615f0f1b69dc8583fd580a8e3.tar.bz2 linux-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 'scripts')
0 files changed, 0 insertions, 0 deletions