Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp92496ybi; Fri, 14 Jun 2019 19:35:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvFiYhuq7chXfPhs2XOu9Jlbp0Pr/dhFNpmqa/BVGK5nlSdCPzx2klDZMNe8squChXWE0o X-Received: by 2002:aa7:81d4:: with SMTP id c20mr44543602pfn.235.1560566139927; Fri, 14 Jun 2019 19:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560566139; cv=none; d=google.com; s=arc-20160816; b=yZu19oMTDB8+RlkeiLcqzulnS9L1iQKUakegmFk5mOpVv3ot22KyR3Rbyf0/pOsM8m rQdUccNXHpdJFiQy11b8tB6WqnOJe1KGmCewet4E375atHzqsaB+EvM0BHqqvIlngZFO bQBti3a/7rV3En3ox2FRTwXw4y4zmeHlHs0MsXmVcRC0gmM8NibdMeqSVXHiTgYw/Vth 1Cn7HpeIc3J5cv/HIaAmc4bj9l6WWgTWyEFk07gGsqGCXZrqo0Tp9q4JBXcrfiwfC3Zy juDOpxoWMmQlyJUyV/1jBiXhuOUCaHtQcmI0zcIoBrCcFuH75taXEcR5FxZM01YMxA6O PdOg== 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=vvM9va8Cgs1lB26Fe7gtor+l/FazgsETzFAZp1nQ+l0=; b=pgEDklJYIrLA4UP9W4MRgu1Y7GdUT9/G9kzAVkudQ/N1JfGfbi89zIEktUsUpRg9Tp lqRCIBBlenjxL/jH0IbvPMfcDnKZ2CyzW8nvs7np10gdHUC8KNQb/mRQqJUcgav8qI7u pfkzihdIAYQsWTRfPwuZMVRYkOkxz2fP5wBiAVQlriQQsRIpYpd6bS5KxEa7YdglB9/e 1TXZijbr9O8m1BpXsMIuEfek1jAdRqT4ziOG2ZYeLUrwJnzanAoUWrHNG4a4eIEogYsp 1uRooYlVSxgYWqOG2fEP20cHso3q0ndY06cJsJwmmzsNlRVJs8TOHeNTUIRCZwXP+hfu zVgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=RK8FRyqp; 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 g16si3824003pfi.31.2019.06.14.19.35.24; Fri, 14 Jun 2019 19:35:39 -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=RK8FRyqp; 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 S1726596AbfFOCeu (ORCPT + 99 others); Fri, 14 Jun 2019 22:34:50 -0400 Received: from mail-eopbgr70050.outbound.protection.outlook.com ([40.107.7.50]:5311 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725809AbfFOCet (ORCPT ); Fri, 14 Jun 2019 22:34:49 -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=vvM9va8Cgs1lB26Fe7gtor+l/FazgsETzFAZp1nQ+l0=; b=RK8FRyqp4bPVlq9jm1Bay+goZJcHpG46NqLDDczuZaSCbB99c6kvxpBwH3dzpoTnHspvGzpWSMtmgh8uQVWkq0D4DtUSx0SDUjbW3PwQ+UX9iEZiMkzTePH3fMsRYFibVJMv2LJrAkwag5Didj1+Bu9prhCCxhPm13wbuKGYTC4= Received: from AM0PR04MB6738.eurprd04.prod.outlook.com (20.179.253.203) by AM0PR04MB4548.eurprd04.prod.outlook.com (52.135.149.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.15; Sat, 15 Jun 2019 02:34:44 +0000 Received: from AM0PR04MB6738.eurprd04.prod.outlook.com ([fe80::f41f:5455:d0b3:2527]) by AM0PR04MB6738.eurprd04.prod.outlook.com ([fe80::f41f:5455:d0b3:2527%4]) with mapi id 15.20.1987.013; Sat, 15 Jun 2019 02:34:44 +0000 From: "Z.q. Hou" To: Lorenzo Pieralisi CC: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "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 17/20] PCI: mobiveil: Complete initialization of host even if no PCIe link Thread-Topic: [PATCHv5 17/20] PCI: mobiveil: Complete initialization of host even if no PCIe link Thread-Index: AQHU8Qrh69RXVzVSWU2bYWJ3S9cC9aaYddkAgAPcP0A= Date: Sat, 15 Jun 2019 02:34:44 +0000 Message-ID: References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> <20190412083635.33626-18-Zhiqiang.Hou@nxp.com> <20190612143440.GC15747@redmoon> In-Reply-To: <20190612143440.GC15747@redmoon> 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: [27.186.246.136] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5bb9fd0e-8877-416b-6c26-08d6f13a0700 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:AM0PR04MB4548; x-ms-traffictypediagnostic: AM0PR04MB4548: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 0069246B74 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(376002)(346002)(396003)(39850400004)(136003)(189003)(199004)(54534003)(13464003)(9686003)(2906002)(33656002)(76116006)(81156014)(81166006)(55016002)(26005)(102836004)(8676002)(53546011)(256004)(186003)(6246003)(6506007)(76176011)(66946007)(66476007)(73956011)(446003)(7696005)(6116002)(4326008)(11346002)(476003)(64756008)(66446008)(3846002)(66556008)(486006)(53936002)(99286004)(305945005)(52536014)(86362001)(5660300002)(71200400001)(6436002)(74316002)(14454004)(68736007)(54906003)(478600001)(71190400001)(316002)(25786009)(66066001)(8936002)(229853002)(7736002)(6916009)(7416002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4548;H:AM0PR04MB6738.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: YqMEsHEYdZapZvDN19UuSrRjZ8zOR7skrH3VLIblgEnCFICTrXUiouf7ZuByuRWRGRR+RT3OYUKNi6eeLT/veOdOXURpYVUBEKCxqQNm2ROQVGfsKHsk8rcqMLNHQjANV3+gmeHb4q2SBjxntqhhPHEgTVIJNSxTeYj94Pi9y5/k363Z4qgvZpgkM4Iba0SnyBoABUtBhbBbeS+02iowbgf7xRZwIu+QIbhMbJHFQrdXeZ0GAxYA2ZhDBhtkTSVm24eg5VFyW43aewqI0DrQk2WhhJkmHOIWelwoVY9qdbbgu/uhadY+4fwK6x5fvEt8hfrdKWPEku8Eu68sNgy6xsQag/9yfB1X+Zu/sv082m9dBrCt1UsY/SD1gBkh7z+e5Xqnb3r689SmwjbzZ+Ezhn9MiLZMRakK0c0715ZoPUo= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bb9fd0e-8877-416b-6c26-08d6f13a0700 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2019 02:34:44.5950 (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: AM0PR04MB4548 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTG9yZW56bywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMb3Jl bnpvIFBpZXJhbGlzaSBbbWFpbHRvOmxvcmVuem8ucGllcmFsaXNpQGFybS5jb21dDQo+IFNlbnQ6 IDIwMTnE6jbUwjEyyNUgMjI6MzUNCj4gVG86IFoucS4gSG91IDx6aGlxaWFuZy5ob3VAbnhwLmNv bT4NCj4gQ2M6IGxpbnV4LXBjaUB2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWFybS1rZXJuZWxAbGlz dHMuaW5mcmFkZWFkLm9yZzsNCj4gZGV2aWNldHJlZUB2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWtl cm5lbEB2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