Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755064AbbLJSMN (ORCPT ); Thu, 10 Dec 2015 13:12:13 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:13753 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752843AbbLJSMK convert rfc822-to-8bit (ORCPT ); Thu, 10 Dec 2015 13:12:10 -0500 X-IronPort-AV: E=Sophos;i="5.20,409,1444662000"; d="scan'208";a="200339204" From: Phil Edworthy To: Bjorn Helgaas CC: Bjorn Helgaas , Wolfram Sang , Geert Uytterhoeven , Simon Horman , "linux-pci@vger.kernel.org" , "linux-sh@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [Resend: PATCH v2 0/3] Fix rcar-pcie for arm64 Thread-Topic: [Resend: PATCH v2 0/3] Fix rcar-pcie for arm64 Thread-Index: AQHRJ5ZKLSa0y9yueUqA6b64192NM56s8NSAgAEG90CAFP8VAIABpf5Q Date: Thu, 10 Dec 2015 18:12:02 +0000 Message-ID: References: <1448465439-2132-1-git-send-email-phil.edworthy@renesas.com> <20151125164033.GA1380@localhost> <20151209165954.GG31930@localhost> In-Reply-To: <20151209165954.GG31930@localhost> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=phil.edworthy@renesas.com; x-originating-ip: [193.141.220.21] x-microsoft-exchange-diagnostics: 1;PS1PR06MB1180;5:MRX7suR79JncH6vHyib7ooYlirRGtYCVlCc33fi8luID8oijDw0AqLfOVGS37Q9vqucclIj7oLccoHo4rhaWK3w1EP5zJ/OX0ie+AKa4j8fxvpncd+12Esy6K6zJFS+BRz3m7pnYTyMY84REq46irg==;24:clYwYlS6uiEHVFJg+cRGxTKEpNtPKJGrqc7649ODyysz3GgO+TpifrSFkk1vODqQTbC6k9Zg5HaVdoWAjLEbumkYOpI40WZUZoTzBxlEJTE=;20:Ovor3OZJOvNCP+Ryva70lL5JsLgeOTnM6mm47FGed+b5h+E8YZ6tYf1cBzBDvr9bOtUGy2f/Poz6ShAIVlW5qtAJnEdiQznJOOFwL8DPzzdVSme8AapiwexcXuuSPjqT+b3PWqzwYPknfoVHp7gAAfjqbwm/kt1k3p+yjikKv+0= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(42134001)(42139001);SRVR:PS1PR06MB1180; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001);SRVR:PS1PR06MB1180;BCL:0;PCL:0;RULEID:;SRVR:PS1PR06MB1180; x-forefront-prvs: 078693968A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(189002)(24454002)(110136002)(105586002)(66066001)(87936001)(40100003)(106116001)(76576001)(93886004)(81156007)(50986999)(19580395003)(19580405001)(97736004)(5004730100002)(122556002)(5008740100001)(5002640100001)(10400500002)(5001960100002)(101416001)(11100500001)(106356001)(77096005)(2950100001)(33656002)(54356999)(92566002)(2900100001)(5003600100002)(15975445007)(76176999)(189998001)(6116002)(1220700001)(1096002)(102836003)(74316001)(4001150100001)(586003)(86362001)(3846002);DIR:OUT;SFP:1102;SCL:1;SRVR:PS1PR06MB1180;H:PS1PR06MB1180.apcprd06.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2015 18:12:02.6471 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR06MB1180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4298 Lines: 105 Hi Bjorn, On 09 December 2015 17:00, Bjorn Helgaas wrote: > On Thu, Nov 26, 2015 at 08:32:43AM +0000, Phil Edworthy wrote: > > HI Bjorn, > > > > On 25 November 2015 16:41, Bjorn Helgaas wrote: > > > Hi Phil, > > > > > > On Wed, Nov 25, 2015 at 03:30:36PM +0000, Phil Edworthy wrote: > > > > The first patches fixes the build problem > > > > > > I'm trying to figure out if v4.4 has a build problem we need to fix. > > > If I understand correctly, "PCI: rcar: Convert to DT resource parsing > > > API" doesn't fix a build problem in the current tree; rather, it > > > removes a dependency on ARM so that we can build it on ARM64. > > v4.4 doesn't have a build problem because commit 7c537c67d2e4 ensures > > it doesn't get built on arm64. If we revert this commit, then there is a > > build failure as the pci_ioremap_io() function is not available on arm64. > > That's the build failure which "PCI: rcar: Convert to DT resource parsing API" > > fixes. > > > > > > , and the second patch reverts the > > > > patch that removed the driver from arm64 builds. The final patch add a > compat > > > > string for the r8a7795 (arm64) device. > > > > > > > > Tested on arm Koelsch board, all ok. > > > > > > > > Tested on arm64 Salvator-X board using renesas-drivers-2015-10-27-v4.3-rc7 > > > from > > > > git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git with > > > PCI > > > > next merged. > > > > Apart from patches to add the PCIe clock and DT nodes, it also needs this > fix: > > > > ("PCI: MSI: Only use the generic MSI layer when domain is hierarchical") > > > > > > I assume you mean this one from Marc: https://lkml.org/lkml/2015/11/23/388 > > > (Was that posted to linux-pci? I don't see it in patchwork or my > > > linux-pci archives, so I hadn't seen it yet.) > > Ok, yes that's the patch. > > > > > How exactly is that related to this series? If I merge these before > > > Marc's change, do we have a tree that builds for arm64 but doesn't > > > work? > > Correct. > > OK, great! I just asked Linus to pull that patch (3845d2953aac ("PCI/MSI: > Only use the generic MSI layer when domain is hierarchical")) for v4.4, so > these changes will be merged after that one. > > I put all three of these on pci/host-rcar for v4.5. Good to hear! Thanks Phil > Simon, I only see your explicit ack on the first one, but I assume you're > OK with all three. Let me know if otherwise. > > > > What about the PCIe clock and DT changes you mention? Is there a > > > reason to keep them separate? Would it be feasible to include the DT > > > changes in the same patch as the driver change that uses those > > > changes? > > The approach for all other drivers has been to keep these separate. There > > are no changes to the dt bindings, it's just adding the node to the new > > device and board, so there is no problem with ordering of these patches. > > > > Thanks > > Phil > > > > > Bjorn > > > > > > > Resent with whole series marked as v2 and acks, etc added. > > > > > > > > Harunobu Kurokawa (1): > > > > PCI: pcie-rcar: Add support for R-Car H3. > > > > > > > > Phil Edworthy (2): > > > > PCI: rcar: Convert to DT resource parsing API > > > > Revert "PCI: rcar: Build pcie-rcar.c only on ARM" > > > > > > > > Documentation/devicetree/bindings/pci/rcar-pci.txt | 3 +- > > > > drivers/pci/host/Kconfig | 3 +- > > > > drivers/pci/host/pcie-rcar.c | 117 +++++++++++++-------- > > > > 3 files changed, 77 insertions(+), 46 deletions(-) > > > > > > > > -- > > > > 2.5.0 > > > > > > > > -- > > > > To unsubscribe from this list: send the line "unsubscribe linux-pci" in > > > > the body of a message to majordomo@vger.kernel.org > > > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- > > 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/ -- 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/