Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1393866

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

From Ray Jui <ray.jui@broadcom.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] Add DT based gicv2m spi offset support
Date 2016-05-04 01:50 +0200
Message-ID <ruSeJ-Wm-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.
    
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(-)

-- 
2.1.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Add DT based gicv2m spi offset support Ray Jui <ray.jui@broadcom.com> - 2016-05-04 01:50 +0200
  [PATCH 1/2] dt-bindings: arm,gic: Indtroduce optional property 'arm,msi-offset-spi' for gicv2m Ray Jui <ray.jui@broadcom.com> - 2016-05-04 01:50 +0200
    Re: [PATCH 1/2] dt-bindings: arm,gic: Indtroduce optional property  'arm,msi-offset-spi' for gicv2m Chris Brand <chris.brand@broadcom.com> - 2016-05-04 18:00 +0200
      Re: [PATCH 1/2] dt-bindings: arm,gic: Indtroduce optional property  'arm,msi-offset-spi' for gicv2m Ray Jui <ray.jui@broadcom.com> - 2016-05-04 18:20 +0200
  [PATCH 2/2] irqchip/gic-v2m: Add workaround for Broadcom NS2 GICv2m erratum Ray Jui <ray.jui@broadcom.com> - 2016-05-04 01:50 +0200
    Re: [PATCH 2/2] irqchip/gic-v2m: Add workaround for Broadcom NS2  GICv2m erratum Marc Zyngier <marc.zyngier@arm.com> - 2016-05-04 10:00 +0200
      Re: [PATCH 2/2] irqchip/gic-v2m: Add workaround for Broadcom NS2  GICv2m erratum Ray Jui <ray.jui@broadcom.com> - 2016-05-04 18:30 +0200
        Re: [PATCH 2/2] irqchip/gic-v2m: Add workaround for Broadcom NS2  GICv2m erratum Marc Zyngier <marc.zyngier@arm.com> - 2016-05-04 19:30 +0200

csiph-web