qemu-e2k/include/hw/intc
Sai Pavan Boddu 11411489da arm_gic: Mask the un-supported priority bits
The GICv2 allows the implementation to implement a variable number
of priority bits; unimplemented bits in the priority registers
are read as zeros, writes ignored. We were previously always
implementing a full 8 bits of priority, which is allowed but not
what the real hardware typically does (which is usually to have
4 or 5 bits of priority).

Add a new device property to allow the number of implemented
property bits to be specified.

Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Message-id: 1582537164-764-2-git-send-email-sai.pavan.boddu@xilinx.com
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: improved commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-02-28 16:14:57 +00:00
..
allwinner-a10-pic.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
arm_gic.h arm_gic: Mask the un-supported priority bits 2020-02-28 16:14:57 +00:00
arm_gic_common.h arm_gic: Mask the un-supported priority bits 2020-02-28 16:14:57 +00:00
arm_gicv3.h hw/intc/arm_gicv3: ARM GICv3 device framework 2016-06-17 15:23:51 +01:00
arm_gicv3_common.h hw/intc/gicv3: Remove useless parenthesis around DIV_ROUND_UP macro 2018-10-26 17:17:32 +02:00
arm_gicv3_its_common.h hw/intc/arm_gicv3_its: Implement state save/restore 2017-06-13 14:57:00 +01:00
armv7m_nvic.h nvic: Change NVIC to support ARMv6-M 2018-08-14 17:17:19 +01: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 hw/intc/bcm2836_control: Implement local timer 2019-03-15 11:12:28 +00:00
heathrow_pic.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
i8259.h hw: replace hw/i386/pc.h with a header just for the i8259 2019-12-17 19:33:49 +01: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 qom: make interface types abstract 2018-12-11 15:45:22 -02:00
mips_gic.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
realview_gic.h realview_gic: Prepare for QOM embedding 2013-11-05 17:47:30 +01:00
xlnx-pmu-iomod-intc.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
xlnx-zynqmp-ipi.h Clean up includes 2018-02-09 05:05:11 +01:00