Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2369099ybi; Mon, 17 Jun 2019 03:43:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0Xs2FcGRqgL3U7g9U9Galdb0ILp6dmThsPBSAGje2/pUaHymjb/1WHlRfjPU9neZnknKQ X-Received: by 2002:a65:5684:: with SMTP id v4mr49228084pgs.160.1560768183804; Mon, 17 Jun 2019 03:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560768183; cv=none; d=google.com; s=arc-20160816; b=An9P4f1QQXTf5W0foaPidWXCEJ5C21jujiZ8IIeRCKkNWOycK91X6FUltYIobUjWZM EVuifzUZeNBvCSmt92BG9ouv/MmR9ynmFIaMps+99FmCOX2ej4pUglJhXvzTTylaStKg dLw5WCcXLT9MHjPo/x7+c+SqhUHKXeDSBgTfdzPCJge+zU4jtYHseSRPI7exSPOn7SP3 qPFMxQmPRc5K3GZ2cXG4rKgV1wbW4DkY7mQliPPHjpooCbr9siLVdHwSR+dqKxedsBKE 951lEpwgN+zAKQwX2j/pMAm26tmSKLrkgSUnsL5JMX6QI0ycteGcMcMdhSrm5TavE8Hz WJag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=K5RjSG7iX5bCJaPMt2QXj0BKE8YyqvfrKa/0AZ/alI0=; b=DEX8PzU/YqXnAAodvJbRGQV1OfPtmqjkHARQyZwXXZiLCkGlj4kfvR8t9wkgQIxYwe QTYUvRrj7IRKfAi6WP5PHFCrM2kRkeHHgc2zTM79PRSFGJygBVMCJxZyqnAvgL/0zdmJ 5yCH7BEXhr+CCXnirMB7Oe4M31TWQojwf0G5ur7QH49Sba6MyqOiWsg7iRAjRNTm/FSP uTG83d40ScHz6/kmv6uyP2O0Vai62AaoqsrFhltx/ZCAC1a974o7qyA0aYZOjYUthSYu 0+1IlboyxnzE0d108zPvSc1t3va9urGnhyR3QbW7apwgsyTbGYFgYAOKk2My8UB0eVGp d7rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=mkUVyIEW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1si10035871pgs.355.2019.06.17.03.42.47; Mon, 17 Jun 2019 03:43:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=mkUVyIEW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727152AbfFQKmn (ORCPT + 99 others); Mon, 17 Jun 2019 06:42:43 -0400 Received: from mail-eopbgr140045.outbound.protection.outlook.com ([40.107.14.45]:15642 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726427AbfFQKmn (ORCPT ); Mon, 17 Jun 2019 06:42:43 -0400 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=K5RjSG7iX5bCJaPMt2QXj0BKE8YyqvfrKa/0AZ/alI0=; b=mkUVyIEWvDegbxbb91s4lmYg52wWo13qx4DnyqEhWGJ54pIJfoF804W+g5w0u4cpJpb5w7ASfYHarVrdLrbwr0sm4HSuid9IZuAAa72TAVFP26h6fVTD4I5T3Kf5WelBBU5L7IWGI+MqLlBoUqNQ8iDhYNmbxwz7SON3H1MyDas= Received: from AM6PR04MB6742.eurprd04.prod.outlook.com (20.179.246.158) by AM6PR04MB4469.eurprd04.prod.outlook.com (20.176.242.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.15; Mon, 17 Jun 2019 10:42:36 +0000 Received: from AM6PR04MB6742.eurprd04.prod.outlook.com ([fe80::cdfd:dd0c:dcaf:95b1]) by AM6PR04MB6742.eurprd04.prod.outlook.com ([fe80::cdfd:dd0c:dcaf:95b1%7]) with mapi id 15.20.1987.014; Mon, 17 Jun 2019 10:42:36 +0000 From: "Z.q. Hou" To: Lorenzo Pieralisi CC: "bhelgaas@google.com" , "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , Leo Li , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Subject: RE: [PATCHv5 18/20] PCI: mobiveil: Disable IB and OB windows set by bootloader Thread-Topic: [PATCHv5 18/20] PCI: mobiveil: Disable IB and OB windows set by bootloader Thread-Index: AQHU8Qrl2X2dZdmZtkqqPC5pUtT6KKaYlFaAgAPP00CAA5hoAIAAEtkg Date: Mon, 17 Jun 2019 10:42:36 +0000 Message-ID: References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> <20190412083635.33626-19-Zhiqiang.Hou@nxp.com> <20190612162347.GF15747@redmoon> <20190617093040.GC18020@e121166-lin.cambridge.arm.com> In-Reply-To: <20190617093040.GC18020@e121166-lin.cambridge.arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 327b77e3-5561-4a29-a067-08d6f3108348 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:AM6PR04MB4469; x-ms-traffictypediagnostic: AM6PR04MB4469: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 0071BFA85B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(376002)(346002)(396003)(39860400002)(136003)(13464003)(199004)(189003)(6916009)(102836004)(6506007)(256004)(14444005)(5660300002)(478600001)(186003)(11346002)(476003)(71200400001)(446003)(73956011)(486006)(26005)(76116006)(66476007)(66946007)(66446008)(64756008)(66556008)(74316002)(53546011)(71190400001)(7736002)(305945005)(52536014)(7696005)(86362001)(76176011)(99286004)(8936002)(81166006)(81156014)(8676002)(2906002)(53936002)(7416002)(6246003)(229853002)(6436002)(54906003)(316002)(55016002)(68736007)(9686003)(25786009)(4326008)(33656002)(6116002)(3846002)(14454004)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4469;H:AM6PR04MB6742.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: GcvP/4XisK0YN6gQLF5n8h+pe/XbH9k4eZnH2AHec1GnxJluH7DQF4Wr52xusl0AhsQ1idU3WnpEafnpNjJMQH9QMZxyGQ1ZbV4+7N95I/TUT+spuvBUcOxr2wjlwD7ncjCecTyaScbwJnzSaI5q5UicZotW/k1p0dMljlb6v+cJme466PVlF9aD3cZs4MkZt/sQDT0ukK3FfZXaEgjmdHMu0JY7lvF9DDWVXTJlBx9tjStnR3AbuR31OK8O7bfb4pXc9rlqn2GjwOMAszpKFYpKtt2KxTT3DUcBsgxFZhvM//JOoqRX1fig7LjbJuK9lA10x0H7FLNJTPsItMArLpso1P1+EbL2TYo2SntNlvMVYniEzskUzXRrBrn5QkVfTK7nHL41p2KBeoeYaT1e3PsOr3Rgh9E/7oQpGdz0Ogc= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 327b77e3-5561-4a29-a067-08d6f3108348 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2019 10:42:36.6005 (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: zhiqiang.hou@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4469 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTG9yZW56bywNCg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IExv cmVuem8gUGllcmFsaXNpIDxsb3JlbnpvLnBpZXJhbGlzaUBhcm0uY29tPg0KPiBTZW50OiAyMDE5 5bm0NuaciDE35pelIDE3OjMxDQo+IFRvOiBaLnEuIEhvdSA8emhpcWlhbmcuaG91QG54cC5jb20+ DQo+IENjOiBiaGVsZ2Fhc0Bnb29nbGUuY29tOyBsaW51eC1wY2lAdmdlci5rZXJuZWwub3JnOw0K PiBsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmc7IGRldmljZXRy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