Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp199658yba; Fri, 12 Apr 2019 01:38:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzb4myOYTejoY91Bzx81exYqDrh/gAF3aN+DTkiLOUqoLJ0SlBxlJB2JkIQshKmt7/QzBz X-Received: by 2002:a17:902:b191:: with SMTP id s17mr53897549plr.70.1555058304638; Fri, 12 Apr 2019 01:38:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555058304; cv=none; d=google.com; s=arc-20160816; b=ywUtDyKcMv341EE61W76Wyo/La12UvHr4O6GyocbJ1Isc3yVHJNz5Udnfr1mci4sRd LIyIxGurQxwAlrAYWk/yiBw3VUxbU7PGkYHCBuBARq76iuu62WVHjjQW/dzKJUjX8ciL HGCEfGRBPmTGqQH6BNfHdfiRd7QPJKTr3nZGYN5ymSvPqn+Hw9q6Wf0WYJtrrphFNGJ4 H0mwCaYLBwm5WxXxUuxToNXTAIeq07GoBLR8shO15amjXkqzKTWdxsSEwobMgia4kYjI blNXP6wLLLNYDY1M802i6QGYNAcX+tQDs+mgQPLy11nmpyBmZ6kWxJRFO4rxam33n6RA GYCw== 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=GMLVy3ETzctqm1tILQbJb0wFRJp2H+CqVo6ngffvK4o=; b=KoQGXDyMAm5XtA6gkD3z54fsx3MLS3N9y6jCti+rUDKII/riLD2yDXuaKUKBHnsmeV 1BDOzXlAv6sTvZ27Pg7evA1GrG83NcU+/VyMJsjg/7z9KQ8i/y7PWVnYVdybPrdwO0Zg bmraiOBvjGaldzod44MIxabxMAUXWhxWfMzdDW2uya3FuV4wargA6+bQ5Dlx1niNqMGU HYK8xl+NtWGu0YVk3QAEz5mUPUUL21OLUtXfyee8vCeJDiA8Lc3ge9V7UoL01Tfs51q9 AHUXyypSuTwmZxc2Ptp2mUaBk1AXCCPprQuuvC2+2gZaSZRRsx0U5ECzzn1rg9BLbkeq WqQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=LCAOq5QA; 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 i7si36200229plt.332.2019.04.12.01.38.08; Fri, 12 Apr 2019 01:38:24 -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=selector1 header.b=LCAOq5QA; 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 S1728558AbfDLIg7 (ORCPT + 99 others); Fri, 12 Apr 2019 04:36:59 -0400 Received: from mail-eopbgr30089.outbound.protection.outlook.com ([40.107.3.89]:2222 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727341AbfDLIg6 (ORCPT ); Fri, 12 Apr 2019 04:36:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GMLVy3ETzctqm1tILQbJb0wFRJp2H+CqVo6ngffvK4o=; b=LCAOq5QAp0B6wuVYla8d/2t5ff+hYZWsVhqeVaMDiejJPTVCQiaz5VT7qTqm/ACIpsfEj/q+bySXxNqIsBUYz2a6D3u80i6A6J/YhcMTgjvMMCEZM/mE1NVjBkhHkrhQRUqzvRRxSJjM//BE8erX46Rc6CQgjb7Xwj8BOh3lwFk= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB5926.eurprd04.prod.outlook.com (20.179.3.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.14; Fri, 12 Apr 2019 08:36:54 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460%4]) with mapi id 15.20.1792.009; Fri, 12 Apr 2019 08:36:54 +0000 From: "Z.q. Hou" To: "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 , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" CC: Mingkai Hu , "M.h. Lian" , Xiaowei Bao , "Z.q. Hou" Subject: [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: AQHU8Qrh69RXVzVSWU2bYWJ3S9cC9Q== Date: Fri, 12 Apr 2019 08:36:54 +0000 Message-ID: <20190412083635.33626-18-Zhiqiang.Hou@nxp.com> References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR06CA0011.apcprd06.prod.outlook.com (2603:1096:202:2e::23) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:ad::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f81bf660-c701-4238-3a76-08d6bf220423 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM6PR04MB5926; x-ms-traffictypediagnostic: AM6PR04MB5926: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(54534003)(478600001)(36756003)(305945005)(52116002)(6486002)(110136005)(186003)(7416002)(3846002)(7736002)(6436002)(50226002)(54906003)(316002)(6512007)(6116002)(25786009)(1076003)(26005)(86362001)(105586002)(8676002)(81166006)(386003)(106356001)(14454004)(2501003)(6506007)(81156014)(76176011)(5660300002)(102836004)(256004)(53936002)(71200400001)(71190400001)(2906002)(68736007)(476003)(66066001)(99286004)(2616005)(97736004)(4326008)(486006)(446003)(11346002)(8936002)(2201001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB5926;H:AM6PR04MB5781.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: o6bqLS3aY7JQ8zDi9xiu09MWtf0QlmkFCGErLY17CKCIf4weGgFCmkDVc/azuxWRgeadrOxF+ciCyO7BQLlqUsUfGdukmN86SsESMGmvrw68HUF6yNiv1XCs8pg5g29aHVDsYhoLh3KIEwPguwKw3hkhsJvyx+UyPjhqJbzZuPFdizYr0dDXfDDSX19n2NbNizBI5dUyDpRkGxNNrKLPamsVMZK4KI+RBggyCzyXAIFa1MrD8onu7Kg2trs3qLYAa/3fjgZvXaFZ7NcFEjfHFuZKhdxFXwDkZEsyiLvh/W34LgayCXAtHgSV8vrAWYvwZQz7CPRuieYZ5umxt3nfwcXmmPduoZqlaLM1pJKTFg7QNdjoJ0FnKimPViCP4JT7xd1ROxJCvp4pSBqUMa++qcGe9cmSGaSRcnpE+23pwXU= 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: f81bf660-c701-4238-3a76-08d6bf220423 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 08:36:54.3218 (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-Transport-CrossTenantHeadersStamped: AM6PR04MB5926 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSG91IFpoaXFpYW5nIDxaaGlxaWFuZy5Ib3VAbnhwLmNvbT4NCg0KU29tZXRpbWVzIHRo ZXJlIGlzIG5vdCBhIFBDSWUgRW5kcG9pbnQgc3RhbGxlZCBpbiB0aGUgc2xvdCwNCnNvIGRvIG5v dCBleGl0IHdoZW4gdGhlIFBDSWUgbGluayBpcyBub3QgdXAuIEFuZCBkZWdyYWRlIHRoZQ0KcHJp bnQgbGV2ZWwgb2YgbGluayB1cCBpbmZvLg0KDQpTaWduZWQtb2ZmLWJ5OiBIb3UgWmhpcWlhbmcg PFpoaXFpYW5nLkhvdUBueHAuY29tPg0KUmV2aWV3ZWQtYnk6IE1pbmdodWF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