From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751757AbbJTNWF (ORCPT ); Tue, 20 Oct 2015 09:22:05 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:5169 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750732AbbJTNWC convert rfc822-to-8bit (ORCPT ); Tue, 20 Oct 2015 09:22:02 -0400 X-IronPort-AV: E=Sophos;i="5.17,707,1437404400"; d="scan'208";a="198085389" From: Phil Edworthy To: Bjorn Helgaas CC: Geert Uytterhoeven , Simon Horman , Bjorn Helgaas , Nobuhiro Iwamatsu , linux-pci , Linux-sh list , "linux-kernel@vger.kernel.org" , Geert Uytterhoeven Subject: RE: [PATCH 0/4] PCI: rcar: Add support for ARM64 and multiple instances Thread-Topic: [PATCH 0/4] PCI: rcar: Add support for ARM64 and multiple instances Thread-Index: AQHQ/P0BcR9ceUgNfUGFsDqB/FrMC55zjmoAgAAnMACAAGSsgIAABWfAgABR4oCAAAiwsA== Date: Tue, 20 Oct 2015 13:21:56 +0000 Message-ID: References: <1443781507-5011-1-git-send-email-phil.edworthy@renesas.com> <20151019231634.GA13841@localhost> <20151020013650.GA13721@verge.net.au> <20151020124933.GA8224@localhost> In-Reply-To: <20151020124933.GA8224@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;SIXPR06MB0415;5:DF8qY8nhyNQwh/u/9NK+v7USciXmuGFkBSQIICHn7zZkMV9CHr7hknTSnaqlmGdr2YoQByoCSzHoAzvJN3uBJbsgoYDNyZan79EKBZhR8HqAENhxHrJ4bYO8OB4HCX3ih/eYqGLQsokY0L1Fr1Mq8g==;24:qDg4F54cBoNdowZlfO71y+XpVuzTROml7ntNx8XGP3sNIYFtNm/9UgCsYa2kkYvpuIfXeFfVeKFaDuwZxRO+vFs2pPj042rOQFqc7Sg72xA=;20:KEWdQcwf7xZ6TV1Za0/h/FWymbUHasVy8x57xcJDpHhPqubYGVBRe7W6hMGuyBG2+fZ5WpRW8BKSpNgWgSiJ3qc5/nq9VK4WAgUyc2MIftUGRbb0YCNyv24jI4d0T2dDplcV9pfunntAJt0ODVRJ/s54f4c/iqAyjWpJFvG/zMo= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB0415; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001);SRVR:SIXPR06MB0415;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB0415; x-forefront-prvs: 073515755F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(52604005)(199003)(377454003)(189002)(24454002)(92566002)(97736004)(106116001)(19580405001)(74316001)(2900100001)(189998001)(102836002)(77096005)(5001960100002)(87936001)(81156007)(110136002)(86362001)(76576001)(5007970100001)(19580395003)(5004730100002)(66066001)(2950100001)(5003600100002)(40100003)(5002640100001)(122556002)(11100500001)(101416001)(64706001)(46102003)(33656002)(10400500002)(50986999)(106356001)(93886004)(54356999)(5008740100001)(105586002)(76176999);DIR:OUT;SFP:1102;SCL:1;SRVR:SIXPR06MB0415;H:SIXPR06MB0415.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: 20 Oct 2015 13:21:56.1962 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB0415 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, On 20 October 2015 13:50, Bjorn wrote: > On Tue, Oct 20, 2015 at 08:00:10AM +0000, Phil Edworthy wrote: > > Hi Geert, > > > > On 20 October 2015 08:37, Geert wrote: > > > On Tue, Oct 20, 2015 at 3:36 AM, Simon Horman > wrote: > > > > On Mon, Oct 19, 2015 at 06:16:34PM -0500, Bjorn Helgaas wrote: > > > >> [+cc Geert] > > > >> > > > >> On Fri, Oct 02, 2015 at 11:25:03AM +0100, Phil Edworthy wrote: > > > >> > Fixes and changes to get PCIe working on ARM64 with mulitple > instances. > > > >> > > > > >> > I've tested these on ARM (Koelsch board), and it works fine. > > > >> > I've also tested on ARM64 (Salvator-X board), but I currently have an > issue > > > >> > with inbound PCI accesses. I am reasonably sure that this problem is > > > hardware > > > >> > related. > > > >> > > > > >> > Phil Edworthy (4): > > > >> > PCI: rcar-pcie: Make PCI aware of the IO resources > > > >> > PCI: rcar-pcie: Remove dependency on ARM-specific struct hw_pci > > > >> > PCI: rcar-pcie: Set root bus nr to that provided in DT > > > >> > PCI: rcar-pcie: Fix IO offset for multiple instances > > > >> > > > >> I applied these with Simon's ack to pci/host-rcar for v4.4. > > > >> > > > >> Note that these are on top of Geert's patch to make rcar build only > > > >> for ARM, which is probably not necessary after you remove the struct > > > >> hw_pci dependency. I can drop Geert's patch if you want. > > > > > > > > I'm happy with that if Geert is. > > > > > > Iff the driver compiles/works on arm64 now, my patch should/must be > > > dropped/reverted. > > Yes, the driver works on the ARM64 Salvator-X board. > > I dropped Geert's patch and redid the merges to my "next" branch, so > rcar should build for both ARM and ARM64. Thanks for sorting that out. Phil