From patchwork Tue Nov 18 18:53:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 41074 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8B2C9241C9 for ; Tue, 18 Nov 2014 18:54:13 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id b57sf2633984eek.1 for ; Tue, 18 Nov 2014 10:54:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=30JqTuqFI783e5C/BwymVeHQZmgDtyqOI87VYS3RaaA=; b=YaXgYjJglirLaaGP1CF3o/QPbrhpfJ5fxbqpkevieIZWvBpj8bUQ2IjMV1IOyz+uNK YBzAqXsK5lnKnRBF2kfTDdK/G0sF6Az49S8N6VQSeDQ+XA3MjJLq9tLr+/cyusQNPoG9 mCKY6qNNMxdogcQioiv9rKkPo+pE+0tJpewzmjsAeYGerxxER12Zyx4LPUVejf83qMS2 pskgosmmx5Uoa/RGoSoKU37dmMnA4uytE5TfX92PIoWjXkm4r+9wdLpMO73c5MxYU0W2 5BXq2QgQa8guAZR9xr1lzJzp+YKKIfcWHkP8zjDw1lPX0GPlamXDPYDk7VA8pa4RPYIY iiSw== X-Gm-Message-State: ALoCoQlTOW0rbGptk/wf0hBwq7NqYbSvqEdGUgQIdG5JUMok7+Ppts9t0DZIVrot9t0mpLOX73LW X-Received: by 10.112.89.195 with SMTP id bq3mr111139lbb.9.1416336852317; Tue, 18 Nov 2014 10:54:12 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.201 with SMTP id s9ls1013650laj.100.gmail; Tue, 18 Nov 2014 10:54:12 -0800 (PST) X-Received: by 10.152.27.2 with SMTP id p2mr37371861lag.19.1416336852137; Tue, 18 Nov 2014 10:54:12 -0800 (PST) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id b4si56748239lbd.70.2014.11.18.10.54.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Nov 2014 10:54:12 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id b6so18087911lbj.16 for ; Tue, 18 Nov 2014 10:54:12 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr721175lbo.32.1416336852060; Tue, 18 Nov 2014 10:54:12 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp1383389lbc; Tue, 18 Nov 2014 10:54:11 -0800 (PST) X-Received: by 10.70.48.166 with SMTP id m6mr6097061pdn.22.1416336848438; Tue, 18 Nov 2014 10:54:08 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ua6si38849475pab.116.2014.11.18.10.54.07 for ; Tue, 18 Nov 2014 10:54:08 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932238AbaKRSxy (ORCPT + 26 others); Tue, 18 Nov 2014 13:53:54 -0500 Received: from foss-mx-na.foss.arm.com ([217.140.108.86]:60735 "EHLO foss-mx-na.foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932157AbaKRSxv (ORCPT ); Tue, 18 Nov 2014 13:53:51 -0500 Received: from foss-smtp-na-1.foss.arm.com (unknown [10.80.61.8]) by foss-mx-na.foss.arm.com (Postfix) with ESMTP id 822FC4F5; Tue, 18 Nov 2014 12:53:42 -0600 (CST) Received: from collaborate-mta1.arm.com (highbank-bc01-b06.austin.arm.com [10.112.81.134]) by foss-smtp-na-1.foss.arm.com (Postfix) with ESMTP id 020C45FAD7; Tue, 18 Nov 2014 12:53:40 -0600 (CST) Received: from approximate.cambridge.arm.com (approximate.cambridge.arm.com [10.1.209.28]) by collaborate-mta1.arm.com (Postfix) with ESMTP id C109913F6FA; Tue, 18 Nov 2014 12:53:37 -0600 (CST) From: Marc Zyngier To: Thomas Gleixner , Jason Cooper Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jiang Liu , Bjorn Helgaas , Yingjoe Chen , Will Deacon , Catalin marinas , Mark Rutland , Suravee Suthikulpanit , Robert Richter , "Yun Wu (Abel)" Subject: [PATCH v2 12/13] irqchip: GICv3: ITS: enable compilation of the ITS driver Date: Tue, 18 Nov 2014 18:53:07 +0000 Message-Id: <1416336788-22634-13-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1416336788-22634-1-git-send-email-marc.zyngier@arm.com> References: <1416336788-22634-1-git-send-email-marc.zyngier@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: marc.zyngier@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Get the show on the road... Signed-off-by: Marc Zyngier --- arch/arm64/Kconfig | 1 + drivers/irqchip/Kconfig | 4 ++++ drivers/irqchip/Makefile | 1 + 3 files changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9532f8d..242948d 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -14,6 +14,7 @@ config ARM64 select ARM_GIC select AUDIT_ARCH_COMPAT_GENERIC select ARM_GIC_V3 + select ARM_GIC_V3_ITS if PCI_MSI select BUILDTIME_EXTABLE_SORT select CLONE_BACKWARDS select COMMON_CLK diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 4631685..aaa260b 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -16,6 +16,10 @@ config ARM_GIC_V3 select MULTI_IRQ_HANDLER select IRQ_DOMAIN_HIERARCHY +config ARM_GIC_V3_ITS + bool + select PCI_MSI_IRQ_DOMAIN + config ARM_NVIC bool select IRQ_DOMAIN diff --git a/drivers/irqchip/Makefile b/drivers/irqchip/Makefile index 173bb5f..ec3621d 100644 --- a/drivers/irqchip/Makefile +++ b/drivers/irqchip/Makefile @@ -20,6 +20,7 @@ obj-$(CONFIG_ARCH_SUNXI) += irq-sunxi-nmi.o obj-$(CONFIG_ARCH_SPEAR3XX) += spear-shirq.o obj-$(CONFIG_ARM_GIC) += irq-gic.o irq-gic-common.o obj-$(CONFIG_ARM_GIC_V3) += irq-gic-v3.o irq-gic-common.o +obj-$(CONFIG_ARM_GIC_V3_ITS) += irq-gic-v3-its.o obj-$(CONFIG_ARM_NVIC) += irq-nvic.o obj-$(CONFIG_ARM_VIC) += irq-vic.o obj-$(CONFIG_ATMEL_AIC_IRQ) += irq-atmel-aic-common.o irq-atmel-aic.o