summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-mvebu-gicp.c
Commit message (Collapse)AuthorAgeFilesLines
* irqchip/irq-mvebu-gicp: Allocate enough memory for spi_bitmapDan Carpenter2017-06-301-2/+2
| | | | | | | | | | BITS_TO_LONGS() gives us the number of longs we need, but we want to allocate the number of bytes. Fixes: a68a63cb4dfc ("irqchip/irq-mvebu-gicp: Add new driver for Marvell GICP") Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
* irqchip/irq-mvebu-gicp: Add new driver for Marvell GICPThomas Petazzoni2017-06-231-0/+279
This commit adds a simple driver for the Marvell GICP, a hardware unit that converts memory writes into GIC SPI interrupts. The driver provides a number of functions to the ICU driver to allocate GICP interrupts, and get the physical addresses that the ICUs should write to to set/clear interrupts. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
OpenPOWER on IntegriCloud