From patchwork Mon Nov 7 12:00:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9414901 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2D4F560585 for ; Mon, 7 Nov 2016 12:01:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 226A028D30 for ; Mon, 7 Nov 2016 12:01:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16F6F28D89; Mon, 7 Nov 2016 12:01:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27AD228D8A for ; Mon, 7 Nov 2016 12:01:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752871AbcKGMBZ (ORCPT ); Mon, 7 Nov 2016 07:01:25 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:49949 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752013AbcKGMBZ (ORCPT ); Mon, 7 Nov 2016 07:01:25 -0500 Received: from penelope.kanocho.kobe.vergenet.net (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPSA id 56F4025B71A; Mon, 7 Nov 2016 23:01:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1478520072; bh=/qfq6iD32sHb+UQqDJBbXJbre6DQbKxji40Gutnibjk=; h=From:To:Cc:Subject:Date:From; b=BEWNsSToPsmvJDli3+O98fMDHr52KlwJBx9MXS/bHL6n8E+duA0qdCuOXOtpKENd2 H/QR1SzoH3kOAqcTArbQvCHE94NEQDMIrHSPFMmrHpIFbL9kHxJu0asVji1lClgsnv i704ugvsioUgbjNJKaiT4UswetsauuuzeosoUjpQ= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id 032686064B; Mon, 7 Nov 2016 13:01:07 +0100 (CET) From: Simon Horman To: Phil Edworthy Cc: Magnus Damm , linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Simon Horman Subject: [PATCH/RFC] PCI: rcar: Restrict pci_fixup_irqs to the same PCI domain Date: Mon, 7 Nov 2016 13:00:48 +0100 Message-Id: <1478520048-25430-1-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.7.0.rc3.207.g0ac5344 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Phil Edworthy Signed-off-by: Phil Edworthy Signed-off-by: Simon Horman --- Phil, this is from the 3.3.2 BSP. Is it appropriate for mainline? --- drivers/pci/host/pcie-rcar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 62700d1896f4..06e7a75094c7 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c @@ -472,7 +472,7 @@ static int rcar_pcie_enable(struct rcar_pcie *pcie) return -ENODEV; } - pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci); + pci_fixup_irqs_local(bus, pci_common_swizzle, of_irq_parse_and_map_pci); pci_bus_size_bridges(bus); pci_bus_assign_resources(bus);