Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753267AbbKJOjt (ORCPT ); Tue, 10 Nov 2015 09:39:49 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:14731 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753196AbbKJOjq (ORCPT ); Tue, 10 Nov 2015 09:39:46 -0500 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 10 Nov 2015 06:28:48 -0800 From: Jon Hunter To: Thomas Gleixner , Jason Cooper , Marc Zyngier CC: Stephen Warren , Thierry Reding , Kevin Hilman , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, Jon Hunter Subject: [RFC PATCH 0/2] Add support for Tegra210 AGIC Date: Tue, 10 Nov 2015 14:39:35 +0000 Message-ID: <1447166377-19707-1-git-send-email-jonathanh@nvidia.com> X-Mailer: git-send-email 2.1.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1590 Lines: 37 The Tegra210 AGIC interrupt controller is a 2nd level interrupt controller located in a separate power domain to the main GIC interrupt controller. It can route interrupts to the main CPU cluster or an Audio DSP slave. Ideally we would like to re-use the existing ARM GIC driver because the AGIC is a GIC-400. However, in order to do so this requires a few significant changes to the exisiting GIC driver for power management reasons. The purpose of this RFC is to get some feedback on the approach and see if we can support the AGIC in this way or if a separate driver is warranted for this device. Please note that this RFC does not address the issue of interrupt routing. Ideally I was thinking that having a mechanism/API to migrate an interrupt from the CPU cluster to the DSP would make sense, however, I don't believe this is supported today in the kernel. Would such an approach be acceptable or if not, is there a better way to handle this? Jon Hunter (2): genirq: Add runtime resume/suspend support for IRQ chips irqchip/gic: Add support for tegra AGIC interrupt controller drivers/irqchip/irq-gic.c | 341 +++++++++++++++++++++++++++++++++++++++------- include/linux/irq.h | 4 + kernel/irq/internals.h | 17 +++ kernel/irq/manage.c | 7 + 4 files changed, 319 insertions(+), 50 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/