Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2059263ybv; Sun, 23 Feb 2020 21:48:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxdZfAkoqmy9TRo/jJ8JdVoQDRwt4PpKcWCJgge6bzg1P9jSjnNYF5FAi7lzGT3ppo7jNIy X-Received: by 2002:a9d:2264:: with SMTP id o91mr27477515ota.328.1582523320616; Sun, 23 Feb 2020 21:48:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1582523320; cv=pass; d=google.com; s=arc-20160816; b=X8IGVane1/n/Um+sJJqtN66BqMDE5SyHzsa/38m5UcdulLov92WB5XLQHa8oRfFu6h GTgMNE/LGJ+v4ZQLTBCp1H7m7AaqMBYxj2d9Ls7NBY4K233Xh6ikwgS525QiiJtrKNLY A+vuhZB69SdojwUshE4eBJo+qao6BPAABiKC4DwrFkD15a0BWNFLdYmuJkKBAc9cUXdV jhtJ1jm8ryDW6n6Ld5QDF48eY56XYIfr5KNO7IsnIJSGHWASjYQ2xypSk/ZngyF75DD3 vAi1UqPT1rn0M1Bs5U61fk0Y2wlb0GLegOFttjm5lBC85vyiWe7GZ379jsHzwqEkO3X/ GG6A== ARC-Message-Signature: i=2; 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=DF5IvoMW37y1paGdqZKB/NbHIQLMgR4YAw7kzgIwR8s=; b=NXRYvrDMJnvYflQ3OspkcQVLxUwEl0mnA66BcwZ0WsBspuLl/tnDfWL9H+2G4zs11c jGurfofhRyIt0u/svylZcwY+f9PGvtxKRss6aQxKXT+fJ4iFVGaxcBxuiWrP3YW0YWda FrIA6TVU7b48sBbbDLFrKp4FbkRx36V5HZL6vQvJXd8IwIYjlQp58rp8B2WYr5e4a9By TG1PYd31mQXNGc40tl1dw1eTcHNK7/rYKSVzxi1IHgSRAiS0x1jEz/hhQTak5ZmgaabD A+YjAVJXJ/v2IRfXzhDMt35WVSJ8NnH92J/Mq4eAna/7jrfw9CNjCEEDSbVFu3FZrnWE X1Zg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=FEnlHzX2; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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 u16si4875097oic.66.2020.02.23.21.48.28; Sun, 23 Feb 2020 21:48:40 -0800 (PST) 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=FEnlHzX2; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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 S1726673AbgBXFsW (ORCPT + 99 others); Mon, 24 Feb 2020 00:48:22 -0500 Received: from mail-eopbgr00040.outbound.protection.outlook.com ([40.107.0.40]:26734 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725535AbgBXFsW (ORCPT ); Mon, 24 Feb 2020 00:48:22 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DowBEgTDsq2a8/yg6VJW1vG/kDPMyd1wwgOjpO9kG2q6mwYiZOoZ/3VT27B4Tw0xC2hQczu1WnNGxBTfHWc5RKelpMlQbvMlO7g55hKUT+RLtaIYizrNBTn1Dy78vLbfIQfPkI3OYh4XCB/uYSvjflb1itqQXH+QI5MW68YBTRL2dpJjArY3pK4fwtKQLAA4BNYK39SPO800th2DAkm9CYatyB4SBUxvtLjCJMl2GhhQPEFvHHE0FoavHtpc6hjj0M8LhjCYKOKoNQ+Cj9trrIJKQVHBYM5GrpzYcMirOWzY5blQ8zcKJYeBd6M4E9TZtOHnfbDjuuh+ucZuh5Wmcw== 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-SenderADCheck; bh=DF5IvoMW37y1paGdqZKB/NbHIQLMgR4YAw7kzgIwR8s=; b=oFLZTz5EokUXTnbeYk8lDiim/igOMeWlY4WXm2+nQ4v3ReweU/K9u96bZH+iXrM4MPmEVyB8mITZ/ZlnIswZDiBvkRMqOLenoP/5aC0YObhxO+ZRxBpasfAnsz2QOiHM0b9Qiz4zW9ZqsG7tiOrffjAE367NNfVAJjnX7d+To/SLJHCPp7SRedDKmPRueUdUAF/A+OT0bB4O2IdPuhTUUs31OKs6rJgnm5NmzYTS4muQa9oe/cKwutZqnSHP0vJCTN7Fjat7I028ZHoAyc8CWnUA6D3RmC1gUDEuhJtBR0cup7ixgSNxPWmmcwf9OY16t2xzsNhJ2XBZy9jqGKeYeg== 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=DF5IvoMW37y1paGdqZKB/NbHIQLMgR4YAw7kzgIwR8s=; b=FEnlHzX2GCDGOCphlkQgK/y+7TZL8oaisLeLp0UkhsE1qabF1oYLRICBNMFB3TbdneHyYXFu+mIgwfQu6b2vsEr7TG9c6PRDluB1LZepowKFQX0ZvzVwRKnDVWHPKcZ/wQpv/MkVGXavKfDpGgt5KYeqIrA5A3A0CsCiBjb23sk= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB6539.eurprd04.prod.outlook.com (20.179.249.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.22; Mon, 24 Feb 2020 05:48:18 +0000 Received: from DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::104b:e88b:b0d3:cdaa]) by DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::104b:e88b:b0d3:cdaa%4]) with mapi id 15.20.2750.021; Mon, 24 Feb 2020 05:48:18 +0000 From: "Z.q. Hou" To: Andrew Murray 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" , "andrew.murray@arm.com" , "arnd@arndb.de" , "mark.rutland@arm.com" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , "m.karthikeyan@mobiveil.co.in" , Leo Li , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Subject: RE: [PATCHv10 02/13] PCI: mobiveil: Move the host initialization into a function Thread-Topic: [PATCHv10 02/13] PCI: mobiveil: Move the host initialization into a function Thread-Index: AQHV4iNxBRBtqBpne0O4q1Ka1OVSgqgkX24AgAWHfIA= Date: Mon, 24 Feb 2020 05:48:18 +0000 Message-ID: References: <20200213040644.45858-1-Zhiqiang.Hou@nxp.com> <20200213040644.45858-3-Zhiqiang.Hou@nxp.com> <20200220171906.GE19388@big-machine> In-Reply-To: <20200220171906.GE19388@big-machine> 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-ht: Tenant x-ms-office365-filtering-correlation-id: ebb54685-de75-45fb-acc7-08d7b8ed263f x-ms-traffictypediagnostic: DB8PR04MB6539:|DB8PR04MB6539: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 032334F434 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(39860400002)(136003)(346002)(366004)(396003)(199004)(189003)(6916009)(55016002)(9686003)(33656002)(2906002)(186003)(26005)(478600001)(8676002)(8936002)(53546011)(7416002)(4326008)(86362001)(66946007)(7696005)(81156014)(81166006)(76116006)(71200400001)(66556008)(66446008)(5660300002)(316002)(52536014)(54906003)(66476007)(64756008)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB6539;H:DB8PR04MB6747.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: BCL:0; x-microsoft-antispam-message-info: YYicvfKG4W4O72Vm2NbyqCf7wcLh/lK/hXDQE2NUHbGdyo/Gz+Y5dPcq7/YvIc4ELELwK6r0AmD7BDes7CBS+OB/KlEiqDB9AcN5lYyrnovp6KUcoGKvStUc/mU9WZWlVvpyZGQp4RRS5aX8TvTgkCUPAw2ZAwLHB2lPki2wIY+lYuQcSDKwb9HGYsXA8j5ZPg3kjiK+CvRJawe497hmr3AKgxYRADf6wzxYJdNE5CRevvXpy2tsHBV6z7OMePRP9oL/EToednEDbsd+kstCVgcBUhB58vF+/JnRdjRgednX33QMk1DIqzj8HmHuB4WUwDqhdOcNaMcnBKMHTe7KK+5KnMEgPqAyiCXUYVuSrC794F/GBa/RaxIVt59PFdz7ixxlItuQd7Axob+cIhrKO6JRWCJY7sDAogQkTisckEo+8Z5ROBdVSVvp5blW/OgS x-ms-exchange-antispam-messagedata: dV5cCrx/uQhTjLVr2GHwl1gtLsO1FFsQnccFNGfPsheh6VpHN+byOUhgGtMvFj8EqPz+OASRAZVGQ8Rm/+KgztTcZ9yanHD22JLkx48EWt703SSWTWzx01NxJMKQQvYTGL1lLzEIsACMQQ2AjAmziA== 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: ebb54685-de75-45fb-acc7-08d7b8ed263f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2020 05:48:18.3472 (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: oL+9tLkyYKlvn5d5SztAJHLSWMjxP9Aalfw7UUeJmw5UAWrYxnm0lSbwI88qBBkaNdsvmIBjCCBMD+0go/UpLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6539 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5kcmV3LA0KDQpUaGFua3MgYSBsb3QgZm9yIHlvdXIgcmV2aWV3IQ0KDQo+IC0tLS0tT3Jp Z2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEFuZHJldyBNdXJyYXkgPGFtdXJyYXlAdGhlZ29v ZHBlbmd1aW4uY28udWs+DQo+IFNlbnQ6IDIwMjDE6jLUwjIxyNUgMToxOQ0KPiBUbzogWi5xLiBI b3UgPHpoaXFpYW5nLmhvdUBueHAuY29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