Skip to content

Add DT based gicv2m spi offset support

Ray Jui linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: arm,gic: Indtroduce optional property 'arm,msi-offset-spi' for gicv2mDocumentation/devicetree/bindings/interrupt-controller/arm,gic.txt+6 -02 replies
2/2irqchip/gic-v2m: Add workaround for Broadcom NS2 GICv2m erratumdrivers/irqchip/irq-gic-v2m.c+29 -63 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAlex Barba
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add DT based gicv2m spi offset support

Alex Barba <[email protected]> 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 aware that APM X-Gene GICv2m has a similar erratum where the MSI data needs to be the offset from the spi_start. While APM's workaround is triggered based on readings from the MSI_IIDR register, this patch series contains a more general solution by allowing this offset to be specified with an optional DT property 'arm,msi-offset-spi'. This patch series also maintains compatibility with existing APM platforms

Kindly let us know if it's preferred for Broadcom's workaround to be also based on the readings from the MSI_IIDR register.

Patch series is developed based on Linux v4.6-rc1 and available at:
https://github.com/Broadcom/arm64-linux/tree/gicv2m-iproc-v1

Ray Jui (2):
dt-bindings: arm,gic: Indtroduce optional property
'arm,msi-offset-spi' for gicv2m
irqchip/gic-v2m: Add workaround for Broadcom NS2 GICv2m erratum

 .../bindings/interrupt-controller/arm,gic.txt      |  6 ++++
 drivers/irqchip/irq-gic-v2m.c                      | 35 ++++++++++++++++++----
 2 files changed, 35 insertions(+), 6 deletions(-)
Signature · 1 line
2.1.4