Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3B8FC433F5 for ; Thu, 2 Dec 2021 00:48:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233203AbhLBAvt (ORCPT ); Wed, 1 Dec 2021 19:51:49 -0500 Received: from mail-eopbgr50047.outbound.protection.outlook.com ([40.107.5.47]:22860 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1344564AbhLBAvp (ORCPT ); Wed, 1 Dec 2021 19:51:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bTw/wXjPOkyaXuIc47mNLX36zpd9qrRoH19AXsStiq53P4iPB/7KJ0Nc+yyd+vx4I3xAwfJBEdb59j7WC9/xWiDAab99Pk1fKjXZjlVTlVJ6BrnPg0rMDekY05h/OHG5pExUTXpAvmQWjmuWNEVFeLi+lWvg8VjjOZK1vJ8GlBw8PAWECur1q+3FtTgt5+cjkQTBmznhTe5f1CKFBCbMDTbw2QreK9jhrbfHSHXd2x6CWEVRr2kF4w9vwngyZtcsOaJ5MVKtN5C7htz0v3ZKXz4fEBDpPgbRoepaY2krL0tomuS8lSXYTjUEQgNFG8a5+vItxdADs45KcuDgqyAt1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0uL8rUez3UanpTZ8grAd8IsR6SibdHAxWOa75zHloq8=; b=d41RcWEDo9K9crGrs6kbu5+6TeyNqe2btjM8110mihsOC3XRM5XqB/2iJ2VQSqjZMbBKjG3oGDJsta1/W/FvK/xMuvT7lFesygGuvx7HYHZtEpmrC7HI8UMtbKvqeYk5ASdmelGdoduIs3pmrqYlIxc9yVIs++331aRDafctuCIPwqauDYsGWVvmK2RSHdcATtDDiq3iznEnaZlsErPahzEvNP7Lr1KdKKbuscDXsCJfsZ2rMv9d0aZ1rtS/J2YywM0fJg5CjP3EOmU413JUV8Jgt6KxBbh4LHzugXGMMVugKb3SoXetrrtsJHW3854laVDKF7jjNpEQU3LP57CXgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0uL8rUez3UanpTZ8grAd8IsR6SibdHAxWOa75zHloq8=; b=LXwhiXloQ0SJfKPfeG3zc9fT/kHPxuDhEW9PYUBMWkh8417vtlDeDrHAGmnkoGzgj4E7mUsq4XizcKfy1flca7kk1DoEGV0dFyhVBm49g7PcDBOGpM3UkfE6Ck27XcLT18DaS4TdS/KJW5mW/q4hWu16Z0VyB73QIky2gbIWp4E= Received: from AS8PR04MB8676.eurprd04.prod.outlook.com (2603:10a6:20b:42b::10) by AS8PR04MB8802.eurprd04.prod.outlook.com (2603:10a6:20b:42d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.11; Thu, 2 Dec 2021 00:48:22 +0000 Received: from AS8PR04MB8676.eurprd04.prod.outlook.com ([fe80::b059:46c6:685b:e0fc]) by AS8PR04MB8676.eurprd04.prod.outlook.com ([fe80::b059:46c6:685b:e0fc%5]) with mapi id 15.20.4734.027; Thu, 2 Dec 2021 00:48:22 +0000 From: Hongxing Zhu To: "tharvey@gateworks.com" , Jingoo Han , Gustavo Pimentel , Rob Herring , Lorenzo Pieralisi , =?utf-8?B?S3J6eXN6dG9mIFdpbGN6ecWEc2tp?= , Bjorn Helgaas , "linux-pci@vger.kernel.org" CC: open list Subject: RE: [PATCH] PCI: imx: do not remap invalid res Thread-Topic: [PATCH] PCI: imx: do not remap invalid res Thread-Index: AQHX5v/DAupsrcqHe06C8ej53cpd9qweXjuA Date: Thu, 2 Dec 2021 00:48:22 +0000 Message-ID: References: <20211101180243.23761-1-tharvey@gateworks.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ccd9d84f-f879-4244-9517-08d9b52d70e8 x-ms-traffictypediagnostic: AS8PR04MB8802: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:758; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Qs9V6JLd/9Ip+ocU5t3lrQYYDEcDkXlc4HM/P/Ke7PwzkXxV+SuS6xKmaoClz0B0suXKXER4yVpCjuMjsFTNOsIYJDsohB1Ml3+ZAApeo5zeCb5yo3l06YJqXcBRiwm4QnU77kOP2t342Vj23PPCvDeyRDj+fLyncioTgoflWA8RyWlAUk5/H/JgejbdHRwNtA+k44WmURSonqwmCr4MEGVw8YAFkEJ9E1aXixWpxRE7dHtawQej+D8LSQ2dmV5aLFSxYsWG6MbwK6WuqkOotAthNFsHw+NvXxoSDpW5d0Lh1g2bvW04jj9XfMj9xikH43BAuAh3f7XhV/k7yAm0n1hQfyzgc6gor/22gsZ9Dka8cv4ZlnbZ4ycTLmN8c5qCo6zTty/QDR8bIFDKMPv/iAUuX1Q6zIdRjdKMMeP6hTVtBiThsBhX7PW+ZIRcZVJX1FbhCq9cpmLUwmLR9Moyz7CW86esvsoa3E+r5WuN/45jRo+DL/rgvDNI5n+rfuWc6Pg7EAbqv+YRPh0exM08U/IHBWReQ2iX2YYWsd7XlsMdKoh1bQUeEXcdiqi/Q1aBefTnSwTTHFvk+gM79hgbg2wmHa/Jr5wG/OPxTboOq3+05GERtNvgWLDlSvPHm9CdthXgN+FGw8gJjoIVsQ1yz1wvYaccARM0gZ1exHcX64Vkb1XP7g1rqG5zbjtRffch/q4fMryiTzOI6Q32VESYrg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8676.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(86362001)(9686003)(508600001)(316002)(71200400001)(8936002)(55016003)(66556008)(110136005)(64756008)(4326008)(7696005)(8676002)(38070700005)(66446008)(66946007)(66574015)(6506007)(2906002)(66476007)(122000001)(5660300002)(53546011)(44832011)(52536014)(26005)(186003)(33656002)(38100700002)(83380400001)(76116006);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VGtCM25WSnpCUnREeHd2bGRENE1LcFU3dG5qK1MrNW8ralBOMGx3ekVzVFM2?= =?utf-8?B?WUd6RTV6TjFTbklna05pQ0psNU40a2ZWVHBscEg4VU9ub0MySmxlNDNYd1h5?= =?utf-8?B?S2lFUFlLRlhLdk5hNFBNdGFwRWd0b1ZFZk0ybnEwTTZ3K2Y5a2V3d1ducTcy?= =?utf-8?B?dHB2eUlZRmhXY2N6YktnSXFsbkZCbkZwUnF5SlNzQ1k0RXpIdFl1a0xsU0VD?= =?utf-8?B?dWlDelJVanF5YndUckxXNCsrcGd1ajBrZVlVSFl0YkQvRUJHeUJRR3d2b3V2?= =?utf-8?B?R3hIWDVxaHZ3Q0NHK1JGKzBPbWhnUndYWnZFcDMySGtlRUkzUXN1Tkw1dGpx?= =?utf-8?B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utf-8?B?NWc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8676.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ccd9d84f-f879-4244-9517-08d9b52d70e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2021 00:48:22.1265 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: y1H6Xi8L8rllK2lfubjJgvcdTOsJiSxp691zF+VHhFcLhWOHz+G2+d6szZtH96Z7YdXDIn9N7Um+naowFfzMlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8802 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFRpbSBIYXJ2ZXkgPHRoYXJ2 ZXlAZ2F0ZXdvcmtzLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIERlY2VtYmVyIDIsIDIwMjEgNjow NyBBTQ0KPiBUbzogSmluZ29vIEhhbiA8amluZ29vaGFuMUBnbWFpbC5jb20+OyBHdXN0YXZvIFBp bWVudGVsDQo+IDxndXN0YXZvLnBpbWVudGVsQHN5bm9wc3lzLmNvbT47IFJvYiBIZXJyaW5nIDxy b2JoQGtlcm5lbC5vcmc+Ow0KPiBMb3JlbnpvIFBpZXJhbGlzaSA8bG9yZW56by5waWVyYWxpc2lA YXJtLmNvbT47IEtyenlzenRvZiBXaWxjennFhHNraQ0KPiA8a3dAbGludXguY29tPjsgQmpvcm4g SGVsZ2FhcyA8YmhlbGdhYXNAZ29vZ2xlLmNvbT47DQ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gICAgICAgICAg ICAgIGlmIChJU19FUlIocGNpLT5hdHVfYmFzZSkpDQo+ID4gKyAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBwY2ktPmF0dV9iYXNlID0NCj4gZGV2bV9pb3JlbWFwX3Jlc291cmNlKGRldiwg cmVzKTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICB9DQo+ID4gKyAgICAgICAgICAgICAg ICAgICAgICAgaWYgKCFwY2ktPmF0dV9iYXNlIHx8DQo+IElTX0VSUihwY2ktPmF0dV9iYXNlKSkN Cj4gPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBjaS0+YXR1X2Jhc2UgPSBwY2kt PmRiaV9iYXNlDQo+ICsgREVGQVVMVF9EQklfQVRVX09GRlNFVDsNCj4gPiAgICAgICAgICAgICAg ICAgfQ0KPiA+DQo+ID4gLS0NCj4gPiAyLjE3LjENCj4gPg0KPiANCj4gcGluZyAtIGFueSBmZWVk YmFjayBvbiB0aGlzPw0KPiANCj4gQmVzdCByZWdhcmRzLA0KPiANCj4gVGltDQo=