]> git.proxmox.com Git - mirror_qemu.git/commit - hw/intc/arm_gicv3_kvm.c
bugfix: Use gicr_typer in arm_gicv3_icc_reset
authorKeqian Zhu <zhukeqian1@huawei.com>
Mon, 13 Apr 2020 09:15:50 +0000 (17:15 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Apr 2020 10:52:27 +0000 (11:52 +0100)
commit1e11a139bfed55cb2de7b2eaa1e53f3cf6180d13
treecaaef51feccae5cff63e30edfb5e3372cce83766
parentc8aeef3aed6beef14175f9c6744b2ea30fc309d9
bugfix: Use gicr_typer in arm_gicv3_icc_reset

The KVM_VGIC_ATTR macro expect the second parameter as gicr_typer,
of which high 32bit is constructed by mp_affinity. For most case,
the high 32bit of mp_affinity is zero, so it will always access the
ICC_CTLR_EL1 of CPU0.

Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Message-id: 20200413091552.62748-2-zhukeqian1@huawei.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gicv3_kvm.c