[PATCH v3] Workaround for Broadcom NS2 gicv2m implementation

From: Ray Jui
Date: Thu May 05 2016 - 12:32:13 EST

Alex Barba <alex.barba@xxxxxxxxxxxx> discovered Broadcom NS2 GICv2m
implementation has an erratum where the MSI data needs to be the SPI number
subtracted by an offset of 32, for the correct MSI interrupt to be triggered.

We are now implementating the workaround based on readings from the MSI_IIDR

Patch series is developed based on Linux v4.6-rc1 and available at:

Changes from v2:
- Improved the logic of dealing with MSI_IIDR readings by using a switch
statement suggested by Marc Zyngier

Changes from v1:
- Changed from DT based approach to the approch similar to APM that is based
on readings from the MSI_IIDR register

Ray Jui (1):
irqchip/gic-v2m: Add workaround for Broadcom NS2 GICv2m erratum

drivers/irqchip/irq-gic-v2m.c | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)