qemu/include/hw/intc
Shannon Zhao 910e204841 arm_gicv3_kvm: kvm_dist_get/put: skip the registers banked by GICR
While we skip the GIC_INTERNAL irqs, we don't change the register offset
accordingly. This will overlap the GICR registers value and leave the
last GIC_INTERNAL irq's registers out of update.

Fix this by skipping the registers banked by GICR.

Also for migration compatibility if the migration source (old version
qemu) doesn't send gicd_no_migration_shift_bug = 1 to destination, then
we shift the data of PPI to get the right data for SPI.

Fixes: 367b9f527b
Cc: qemu-stable@nongnu.org
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Message-id: 1527816987-16108-1-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-06-08 13:15:32 +01:00
..
allwinner-a10-pic.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
arm_gic_common.h hw/intc/arm_gic: Add external IRQ lines for VIRQ and VFIQ 2017-01-20 11:15:09 +00:00
arm_gic.h gic: provide defines for v2/v3 targetlist sizes 2016-07-14 16:51:37 +01:00
arm_gicv3_common.h arm_gicv3_kvm: kvm_dist_get/put: skip the registers banked by GICR 2018-06-08 13:15:32 +01:00
arm_gicv3_its_common.h hw/intc/arm_gicv3_its: Implement state save/restore 2017-06-13 14:57:00 +01:00
arm_gicv3.h hw/intc/arm_gicv3: ARM GICv3 device framework 2016-06-17 15:23:51 +01:00
armv7m_nvic.h nvic: Make systick banked 2017-12-13 17:59:26 +00:00
aspeed_vic.h hw/intc: Add (new) ASPEED VIC device model 2016-03-16 17:42:18 +00:00
bcm2835_ic.h bcm2835_ic: add bcm2835 interrupt controller 2016-02-03 15:00:44 +00:00
bcm2836_control.h bcm2836_control: add bcm2836 ARM control logic 2016-02-03 15:00:45 +00:00
heathrow_pic.h heathrow: remove obsolete heathow_init() function 2018-04-27 18:05:22 +10:00
imx_avic.h i.MX: Split AVIC emulator in a header file and a source file 2015-08-13 11:26:19 +01:00
imx_gpcv2.h i.MX: Add code to emulate GPCv2 IP block 2018-02-09 10:40:30 +00:00
intc.h intc: add an interface to gather statistics/informations on interrupt controllers 2016-10-04 10:00:25 +02:00
mips_gic.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
realview_gic.h
xlnx-pmu-iomod-intc.h Clean up includes 2018-02-09 05:05:11 +01:00
xlnx-zynqmp-ipi.h Clean up includes 2018-02-09 05:05:11 +01:00