From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756891AbcECXsN (ORCPT ); Tue, 3 May 2016 19:48:13 -0400 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]:49879 "EHLO mail-gw1-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756295AbcECXsD (ORCPT ); Tue, 3 May 2016 19:48:03 -0400 X-IronPort-AV: E=Sophos;i="5.24,574,1455004800"; d="scan'208";a="94356123" From: Ray Jui To: Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, Ray Jui , Alex Barba Subject: [PATCH 0/2] Add DT based gicv2m spi offset support Date: Tue, 3 May 2016 16:47:23 -0700 Message-Id: <1462319245-32532-1-git-send-email-ray.jui@broadcom.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alex Barba 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