Message ID | 1444769183-12374-3-git-send-email-Suravee.Suthikulpanit@amd.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCO3DI5M3QNRBDO46WYAKGQEZSIKINI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 68FFE20490 for <linaro@patches.linaro.org>; Tue, 13 Oct 2015 20:48:14 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf15517851lbc.1 for <linaro@patches.linaro.org>; Tue, 13 Oct 2015 13:48:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:mime-version:spamdiagnosticoutput :spamdiagnosticmetadata:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:cc:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=bvQvJzlLPT1IUwgPb/OKrpaRCSkY5uogfb/eZuO7TrA=; b=ehBJtl/hMaSuI+MJhUtBHCMJ0WpwlFU6ukd3r6N5WoKxrCaZcBvVEdBYGHJxD/kbq6 lPkdL5GaXRnkwEIg9VJ5MqHJQ/sA8Nlt4MsFMiJtFTjkV8erjpdWHLqZko3Ug9VMLubY y5aoJpSrtL3hPhsrrikpaQqogOrlV5nRAeQ4PanOXQGMNCokSj2XXwDeMtaeyi5X3rDt 1UD5k2LKMju+wPPa5V3Ji9DCuBKaTqGoUpjaAYffx0Fbh6GgL25uvT+VrfBtJJbMU4Q+ JohR/k8kz3skiwnfup+p0Ky7rOEnOWd8zy6/mo7WSdijTKlYNZEl0gtfTmv6zLf6+Hc1 Fymw== X-Gm-Message-State: ALoCoQnHukvX2Occt/fROGv9lHE3yLTauqcsALZgTEEcA4hfBjKaZf2SsZEnPgOwFnuBGiWZYy0y X-Received: by 10.112.16.229 with SMTP id j5mr2659515lbd.6.1444769293371; Tue, 13 Oct 2015 13:48:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.27.206 with SMTP id b197ls459401lfb.26.gmail; Tue, 13 Oct 2015 13:48:13 -0700 (PDT) X-Received: by 10.112.11.200 with SMTP id s8mr15996988lbb.44.1444769293233; Tue, 13 Oct 2015 13:48:13 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id a197si3299124lfe.97.2015.10.13.13.48.13 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 13:48:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbbck17 with SMTP id ck17so32887159lbb.1 for <patchwork-forward@linaro.org>; Tue, 13 Oct 2015 13:48:13 -0700 (PDT) X-Received: by 10.112.180.230 with SMTP id dr6mr16042744lbc.72.1444769293121; Tue, 13 Oct 2015 13:48:13 -0700 (PDT) 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.59.35 with SMTP id w3csp2342151lbq; Tue, 13 Oct 2015 13:48:11 -0700 (PDT) X-Received: by 10.50.117.36 with SMTP id kb4mr32257igb.84.1444769291848; Tue, 13 Oct 2015 13:48:11 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id n3si4482813iga.30.2015.10.13.13.48.11 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 13:48:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zm6TK-0003II-9F; Tue, 13 Oct 2015 20:46:58 +0000 Received: from mail-bl2on0066.outbound.protection.outlook.com ([65.55.169.66] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zm6T4-0003DR-9Z for linux-arm-kernel@lists.infradead.org; Tue, 13 Oct 2015 20:46:43 +0000 Received: from SN1PR12MB0862.namprd12.prod.outlook.com (10.164.27.12) by SN1PR12MB0141.namprd12.prod.outlook.com (10.162.3.140) with Microsoft SMTP Server (TLS) id 15.1.300.14; Tue, 13 Oct 2015 20:46:20 +0000 Received: from BY2PR12CA0007.namprd12.prod.outlook.com (10.160.121.17) by SN1PR12MB0862.namprd12.prod.outlook.com (10.164.27.12) with Microsoft SMTP Server (TLS) id 15.1.293.16; Tue, 13 Oct 2015 20:46:19 +0000 Received: from BY2NAM03FT014.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e4a::206) by BY2PR12CA0007.outlook.office365.com (2a01:111:e400:2c84::17) with Microsoft SMTP Server (TLS) id 15.1.293.16 via Frontend Transport; Tue, 13 Oct 2015 20:46:20 +0000 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from atltwp02.amd.com (165.204.84.222) by BY2NAM03FT014.mail.protection.outlook.com (10.152.84.239) with Microsoft SMTP Server id 15.1.300.4 via Frontend Transport; Tue, 13 Oct 2015 20:46:18 +0000 X-WSS-ID: 0NW6F13-08-C7N-02 X-M-MSG: Received: from satlvexedge01.amd.com (satlvexedge01.amd.com [10.177.96.28]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp02.amd.com (Axway MailGate 5.3.1) with ESMTPS id 20D1DD1602E; Tue, 13 Oct 2015 16:46:14 -0400 (EDT) Received: from SATLEXDAG03.amd.com (10.181.40.7) by satlvexedge01.amd.com (10.177.96.28) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 13 Oct 2015 15:46:18 -0500 Received: from ssuthiku-fedora-lt.amd.com (10.180.168.240) by satlexdag03.amd.com (10.181.40.7) with Microsoft SMTP Server id 14.3.266.1; Tue, 13 Oct 2015 16:46:17 -0400 From: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> To: <marc.zyngier@arm.com>, <tglx@linutronix.de>, <jason@lakedaemon.net>, <rjw@rjwysocki.net> Subject: [PATCH 2/4] acpi: pci: Setup MSI domain for ACPI based pci devices Date: Tue, 13 Oct 2015 13:46:21 -0700 Message-ID: <1444769183-12374-3-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1444769183-12374-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1444769183-12374-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(189002)(199003)(47776003)(77096005)(50466002)(2950100001)(189998001)(101416001)(53416004)(5007970100001)(76176999)(48376002)(50986999)(36756003)(5003600100002)(5003940100001)(50226001)(106466001)(2201001)(86362001)(105586002)(87936001)(46102003)(92566002)(5008740100001)(229853001)(5001770100001)(97736004)(64706001)(19580405001)(19580395003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0862; H:atltwp02.amd.com; FPR:; SPF:None; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0862; 2:I4AVqM+oMRovY2+zwgCoyWfp4RPvWPSzE4zi0p/cheIMgo+IP+nLANT7uequE1koh/sdOT++ZQsUmGp1A9YX+h42UcgQoLRXgR4dGL4+mJcU0SjRMvk5OIx20Q1676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VtiJBrAkATmLmIGLj+1awdWq73+87xtg4cBx4WPptfgdoKTqibSXlXWByN83AiXaR61oepTFTAvNVRj7/vIkLJu3YOpFdiC2P51esaJZouyKNbU6X+//Q19kXS0/2; 4:WGvu1QoggnLdXmDGLgR92WxNsjsg13VcfG0kLsPQ0n//2lHv21yn59WQa48FNgHjxVoE7qkEuObwFa52V6Cbmm1ONaXbJ8ssdWvpCCA9+QY+1i3MH1VboOuStwtNqwzlZB+PEEvTdhouusiaS8zc/GQQsxzy2ZGqEZXPIYcP2TPoDog2U0pwtFpW8B7qa0rVxRIemPQfb2GBy2KNC0NeLA3iMyD6ENSX3XXEcY9yUaoeTVj++H9BKeMHuGycmmz3CLKkMWwjP3WuTT+eeWzY9GrNll/U4jq1jBmOji0lcoToYy6wFdCcrXZQQV5M3e0m6a2wNO15CFiIidvkgTc4SUbiL5ozRayz49U9QxVjpVc= X-Microsoft-Antispam-PRVS: <SN1PR12MB08629A2182483288AAAE7F4DF3300@SN1PR12MB0862.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001); SRVR:SN1PR12MB0862; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB0862; X-Forefront-PRVS: 07283408BE X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0862; 23:ZyafaSlEESIPPUsaTPZ/xpAZuPGnj6ZSD4wh8UFt2qfXvoktzKXgWX5VFz7dOsa52g+KmJKC/pd7ufEdVUWVefEOe6Z+PKwAs256pILynuAGa8iNVOfLqMPtUiWQPdz3KblU7Jc48/u7QZ/PJuQmqh/lvhqnDI37lHWvqV5tkaBGOMRBuOartgARZXKx4nUCCmz1FaTpFYF0HWmtmDv+JMvG2WyMTFjST5dB/1iYoL4/KzuVZuYmLC10CZ0yrI481X23aPDYVvdLXzjCNuJFfkPbUwpedkOIaHk8tzVMEzBS3FOEietov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CpC5E56GdDSiTUsT1q3ABbd7v3jBGBBMMJw95NCQoLYsGpsy6kcrsHSWsZLSCBByPF8kjHw/OtLkSBn/a1NlPKAOe+WSSri6yNHg36zLa9tkR2lNc5K/Ea3pNWnHjQ29NT SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2015 20:46:18.7592 (UTC) X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.222]; Helo=[atltwp02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0862 X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0141; 2:JX5nPwqJZxIcTO+b9oep3ajE6DpvV2BTT4V9MORnJnDD+zcnI9QDCkfWv9Hqd+XGgXGVRRXw/fFXS/DyUAfV6sWCb3CrG6/LAQNWoczdYE333jilSVhHR1AwsTktBbjgGmanfGreVhUKFNA9P1RHChJxhNRKcLafPj8wSXNJXKU=; 23:segBhyvJkJ4NnQWiX5m/Yw9rrAcrhWIdFji6IXMpt0kkKPGGtX9HSWT6/wCfL1YlUNAP5XIFP+5ktXClIs+vLmJUZfFqWF9TYgqf4hkNGaWWV9fOsnNEierK5vBY39hMRWF0XgANZgZpqwyRXgF5RgkGUStOuTDCjaa/D2blfFN2zaKq8fc/5zLPdGJSxTgo X-OriginatorOrg: amd.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151013_134642_617811_04209473 X-CRM114-Status: GOOD ( 13.38 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [65.55.169.66 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [65.55.169.66 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, graeme.gregory@linaro.org, Catalin Marinas <Catalin.Marinas@arm.com>, Will Deacon <will.deacon@arm.com>, linux-kernel@vger.kernel.org, tomasz.nowicki@linaro.org, linux-acpi@vger.kernel.org, hanjun.guo@linaro.org, Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: suravee.suthikulpanit@amd.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.173 as permitted sender) smtp.mailfrom=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 |
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index a32ba75..0e21ef4 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -9,7 +9,9 @@ #include <linux/delay.h> #include <linux/init.h> +#include <linux/irqdomain.h> #include <linux/pci.h> +#include <linux/msi.h> #include <linux/pci_hotplug.h> #include <linux/module.h> #include <linux/pci-aspm.h> @@ -689,6 +691,17 @@ static struct acpi_bus_type acpi_pci_bus = { .cleanup = pci_acpi_cleanup, }; +struct irq_domain *pci_host_bridge_acpi_msi_domain(struct pci_bus *bus) +{ + struct irq_domain *dom = NULL; + struct fwnode_handle *fwnode = pci_msi_get_fwnode(&bus->dev); + + if (fwnode) + dom = irq_find_matching_fwnode(fwnode, + DOMAIN_BUS_PCI_MSI); + return dom; +} + static int __init acpi_pci_init(void) { int ret; diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 0dbc7fb..bea1840 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -671,6 +671,8 @@ static struct irq_domain *pci_host_bridge_msi_domain(struct pci_bus *bus) * should be called from here. */ d = pci_host_bridge_of_msi_domain(bus); + if (!d) + d = pci_host_bridge_acpi_msi_domain(bus); return d; } diff --git a/include/linux/pci.h b/include/linux/pci.h index e90eb22..4a7f6a9 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1925,6 +1925,13 @@ static inline struct irq_domain * pci_host_bridge_of_msi_domain(struct pci_bus *bus) { return NULL; } #endif /* CONFIG_OF */ +#ifdef CONFIG_ACPI +struct irq_domain *pci_host_bridge_acpi_msi_domain(struct pci_bus *bus); +#else +static inline struct irq_domain * +pci_host_bridge_acpi_msi_domain(struct pci_bus *bus) { return NULL; } +#endif + #ifdef CONFIG_EEH static inline struct eeh_dev *pci_dev_to_eeh_dev(struct pci_dev *pdev) {
This patch introduces pci_host_bridge_acpi_msi_domain(), which returns the MSI domain of the specified PCI host bridge with DOMAIN_BUS_PCI_MSI bus token. Then, it is assigned to pci device. Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> --- drivers/pci/pci-acpi.c | 13 +++++++++++++ drivers/pci/probe.c | 2 ++ include/linux/pci.h | 7 +++++++ 3 files changed, 22 insertions(+)