Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752514AbbKIJAi (ORCPT ); Mon, 9 Nov 2015 04:00:38 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:63382 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752252AbbKIJAf convert rfc822-to-8bit (ORCPT ); Mon, 9 Nov 2015 04:00:35 -0500 X-IronPort-AV: E=Sophos;i="5.20,265,1444662000"; d="scan'208";a="198150193" From: Phil Edworthy To: Wolfram Sang CC: Bjorn Helgaas , Geert Uytterhoeven , Simon Horman , "linux-pci@vger.kernel.org" , "linux-sh@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] PCI: pcie-rcar: Fix OF node passed to MSI irq domain Thread-Topic: [PATCH] PCI: pcie-rcar: Fix OF node passed to MSI irq domain Thread-Index: AQHRFhpazS7O4def1E+1x+YbvdM7WJ6QnO+AgALQsvA= Date: Mon, 9 Nov 2015 09:00:29 +0000 Message-ID: References: <1446542899-25137-1-git-send-email-phil.edworthy@renesas.com> <20151107135951.GD21726@katana> In-Reply-To: <20151107135951.GD21726@katana> 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;PS1PR06MB1178;5:3XpuJTBAGkwuF13olC9VwgKp3zHpup35BJgeKg944m9WQYBBSxNLSwhcIrKeFunygqCSN2Zp9x62MYH5nbe6XVsqGOT6cNE6rFm/7AGFxVZQj11Li1jebeR//xWpEyIHLIrQ9FdmyT7TvUi+sirOPw==;24:jwdc0hIT4v5ZoQH/zpeky7LmiqdXR1BGESRNMCPWra4tBeRuSsLJ7Z1iF5hKN9xPI8+7BcijSmV1dvLhL+R9uBb/ZYTVwJLUu9O8VQMicXY=;20:1E9Qu/qYtqIZKYcVF6feUgb1eCVAmoshI87MMOL3y+7sBV+yCaYSEX4DKvaEzXVrFLE8OFQWp+fRF0I4sVo/nVbG6Ti1FpbsSbxV4TIXxC/sIfSG9HtXUKM0mUjh5Aw6/FcKZqEOO5BRmndrZ95vvNs2soeQr3w/9dPvsSSpWGk= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR06MB1178; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(85106069007906); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046);SRVR:PS1PR06MB1178;BCL:0;PCL:0;RULEID:;SRVR:PS1PR06MB1178; x-forefront-prvs: 0755F54DD9 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(51914003)(24454002)(199003)(189002)(2900100001)(87936001)(97736004)(106356001)(33656002)(189998001)(5003600100002)(101416001)(77096005)(5002640100001)(86362001)(5007970100001)(92566002)(11100500001)(5001920100001)(102836002)(81156007)(122556002)(106116001)(2950100001)(50986999)(19580395003)(10400500002)(110136002)(5004730100002)(19580405001)(105586002)(66066001)(76176999)(5001960100002)(5008740100001)(54356999)(76576001)(40100003)(74316001);DIR:OUT;SFP:1102;SCL:1;SRVR:PS1PR06MB1178;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: 09 Nov 2015 09:00:29.3153 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR06MB1178 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 929 Lines: 26 Hi Wolfram, On 07 November 2015 14:00, Wolfram wrote: > On Tue, Nov 03, 2015 at 09:28:19AM +0000, Phil Edworthy wrote: > > The OF node passed to irq_domain_add_linear() should be a > > pointer to interrupt controller's device tree node, or NULL, > > but not the PCI controller's node. > > > > This fixes an oops in msi_domain_alloc_irqs() when it tries > > to call msi_check(). > > > > Signed-off-by: Phil Edworthy > > Reviewed-by: Wolfram Sang > Tested-by: Wolfram Sang > > Was this the MSI problem you were talking about? Yes, that was the one. Thanks for the review & test. Phil -- 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/