]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v2m: Add workaround for Broadcom NS2 GICv2m erratum
authorRay Jui <ray.jui@broadcom.com>
Thu, 5 May 2016 16:32:01 +0000 (09:32 -0700)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 May 2016 09:12:40 +0000 (10:12 +0100)
commitdc830b1247291a96d82eb5b17fe1b139c3433043
treefa5521306234946e8b36ed813743ead5575e2ce6
parentbcbe89e9c6dd9f75f1ee07f29624f34c70763204
irqchip/gic-v2m: Add workaround for Broadcom NS2 GICv2m erratum

Alex Barba <alex.barba@broadcom.com> 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.

Here we are adding the workaround based on readings from the MSI_IIDR
register, which contains a value unique to Broadcom NS2 GICv2m

Reported-by: Alex Barba <alex.barba@broadcom.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v2m.c