Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp102004imp; Tue, 19 Feb 2019 19:09:50 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib76EYtO0eetUAjE1gIMwfVDVX4SX+Y1luo4movzsfS+3QdLaP010RKjpX2/B+SPovMEgk2 X-Received: by 2002:a63:e952:: with SMTP id q18mr18187571pgj.156.1550632190655; Tue, 19 Feb 2019 19:09:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550632190; cv=none; d=google.com; s=arc-20160816; b=BPrH4hb51UNAtxWYYC5mTig2Kqal1S7ovVZon1fKb3ZsdRVKpiKyZYBV0cGPhwvVET GdvacME1ZRTMLwgbwKr701kCkY8d4anQ0nhLJv1Nzw77sBtS8u63IPp7ZhKAOIZ/fLeY S+AY1l9fP+LsxMSFZCkycmq3Q5q3FQmJHekoyb8WXTMawgG2Yx/83hlPCg8XbDX5QQOk XDVg9t8fHMRR7rdBlyUEUI7PPIWaNwOFg8K2AlLbX80VilGcFZnxsu8r8RKN+5cgvSsi M3lYRUpLC5NrnEDYXMrVeGl1UBSUO+pe8CbTLU5HXwIcSZhk27iqaiXA/f7e2tHS6X08 Kieg== 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=ZpMcntVegek4M9OKqOf1PfZpiUECk/yTjS34twzxTp0=; b=fSm9zWGAhfvEU8K1yKkS34cJ/R5j+CxerNF5KoKE6SYsCCp7sK1Dl7DDoNAU/FS0hG 8vWKCyif8o4MQrQ2tHDyaQ99cDm2WJAVtMOs7bhK1ZitQw/5SL0Iqyr9tL2dT9GoWP4U O3er3+lFawfebaFTXyf9c9QBf6x1xBdUqIa+G85ZIW+GDduPfYwjjNLQLh1Rm/5FjcwN c6XKY4cvttODSR0j7R1DZfmBDKyxFSJl/7yeKSqOF4JDVFruw72A03Cy4e6nElul9dyP YSKIv4+lUzFhfQe9lniujcBoFpcH22M9X/0DkEEomPD6QZUQc/lde1Q5WyHVnnX1t0Hn atyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=qM1wL396; 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 p74si17309639pfa.279.2019.02.19.19.09.35; Tue, 19 Feb 2019 19:09:50 -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=selector1 header.b=qM1wL396; 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 S1730241AbfBTDJN (ORCPT + 99 others); Tue, 19 Feb 2019 22:09:13 -0500 Received: from mail-eopbgr60085.outbound.protection.outlook.com ([40.107.6.85]:17040 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726952AbfBTDJN (ORCPT ); Tue, 19 Feb 2019 22:09:13 -0500 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=ZpMcntVegek4M9OKqOf1PfZpiUECk/yTjS34twzxTp0=; b=qM1wL396iIhfxf21I7VBCBMhO+sr68HBTfCWp7LD+w9Dvq9rben8D4VrJtQcgb7WAaS4gHHXvMJzyYX9USDFC8QbkL7sO0VPlmMne83wopasJ1gpH/utfNY98EauT1KASC4MGOeGZl3EphO/3oPG6D14Gr85VU+IQ7L2F7X0ffE= Received: from HE1PR04MB3306.eurprd04.prod.outlook.com (10.171.196.161) by HE1PR04MB1611.eurprd04.prod.outlook.com (10.164.48.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.19; Wed, 20 Feb 2019 03:09:01 +0000 Received: from HE1PR04MB3306.eurprd04.prod.outlook.com ([fe80::44a4:803d:fc3d:7c98]) by HE1PR04MB3306.eurprd04.prod.outlook.com ([fe80::44a4:803d:fc3d:7c98%3]) with mapi id 15.20.1622.018; Wed, 20 Feb 2019 03:09:01 +0000 From: Xiaowei Bao To: Lorenzo Pieralisi CC: "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , Leo Li , "kishon@ti.com" , "arnd@arndb.de" , "gregkh@linuxfoundation.org" , "M.h. Lian" , Mingkai Hu , Roy Zang , "kstewart@linuxfoundation.org" , "cyrille.pitchen@free-electrons.com" , "pombredanne@nexb.com" , "shawn.lin@rock-chips.com" , "linux-pci@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linuxppc-dev@lists.ozlabs.org" Subject: RE: [PATCHv6 3/4] pci: layerscape: Add the EP mode support. Thread-Topic: [PATCHv6 3/4] pci: layerscape: Add the EP mode support. Thread-Index: AQHUsh00Gw2tbfNoe0K3WDzxJMy4MaXnJ+2AgAEELvA= Date: Wed, 20 Feb 2019 03:09:01 +0000 Message-ID: References: <20190122063328.25228-1-xiaowei.bao@nxp.com> <20190122063328.25228-3-xiaowei.bao@nxp.com> <20190219112721.GA15442@e107981-ln.cambridge.arm.com> In-Reply-To: <20190219112721.GA15442@e107981-ln.cambridge.arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 82dab31a-3d6f-440a-d307-08d696e0c348 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:HE1PR04MB1611; x-ms-traffictypediagnostic: HE1PR04MB1611: x-ms-exchange-purlcount: 1 x-microsoft-exchange-diagnostics: =?gb2312?B?MTtIRTFQUjA0TUIxNjExOzIzOk5iRmI4ZVpPZGJsQ0FScDl6dGkvNHF3VTBh?= =?gb2312?B?cWpId3ltdmYrYXNwYVJTRFA0QzhPNGdjZlJMQ016MUVFZHU4YW4xOTZDMnJQ?= =?gb2312?B?M0xsQ3dvUVRSdGNTb3daY2NQRGxxTTA2empSbERoanduYUNZK2pQWms0OU9k?= =?gb2312?B?K1N1Q2x4STVyYnlwekV6RHlhOUN0SitPWWxzVnVpallnS2lhVnFZcUVDQkx1?= =?gb2312?B?TGdpcmI5WnQ1RVl6Z1NLWk9IOUhTZThBWjhvYldQT3EvSENHVU44S1l0SHg0?= =?gb2312?B?YXR6MTFvK1ZOQk5QK0F3SFRtK2ZycjNkT3FjejNJcnN5cEM0L0tmWEVxVE9t?= =?gb2312?B?K0I3L09oZ0w2SGhzU3ZFUTRLRlVKbjNMd2FBNkZ5ekl0Vk1PZTlrblVzRk5h?= =?gb2312?B?UHBhQ1FZN0Y5M1JpMmVsZTNkWHhnTSsxNk13dTA1NnBXM0diMlQ4WEpHSDdu?= =?gb2312?B?eEZkNTNlbzh5ZTJmODNCa0U2eExhK0kwK1FDTVVBR2wyTk1FcVNLQVI2TGZI?= =?gb2312?B?VXNFNXhhcmFQbjNmYnA0K3pKbTg4NWVhQ2p5TjIvYld1Q1ZXT0dRb0Q2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0d1WlVzVEVUaC9PTGI1VlBJdnluTG9o?= =?gb2312?B?TTF4Tk90RTVZdkJpelRNRXNhTE8wR0k3UzVqY2pkWTVnOVp2bG9yWUd5dUxN?= =?gb2312?B?YUdYYzh0SGJiUS8va3M3R2pjU21ZL05nbFBsU29jcHFmRnZWd2ZwNkRvakd2?= =?gb2312?B?NEcvLzBlK3pSRTRwcTlhOWtKZlI5eUtaTE03c0c0dUJMQ0swdTcrSy9QNGNR?= =?gb2312?B?d2lKcGtBUXRLZ0Q1MkVjRVZLRFJWcGJSRmhoZEhZRWk0eXRFajJPV0FEYUhO?= =?gb2312?B?MU5GUDFBa1c1azVvYVBhV1BKRlJMU1hnOUxFZ0dYS2xnYW9qRUVoQldPZXRs?= =?gb2312?B?T0U4ejhZK1lwcW9GU083cVZoait0dm5kNDl5RWl2ai9nRURIcnF6blA3ODhF?= =?gb2312?B?dklicXRCNk9kcFpQVW5QN0RHTVpydm1WbmtlU2ROem94bW9ENzhRNWhOTTRL?= =?gb2312?B?U3FhcnBXMGZ5TDNYNEhiZkgwdk1JVE81dmFSd1NlQU9QYW9VeGdSMDM4NWxP?= =?gb2312?Q?Bgo11p?= x-microsoft-antispam-prvs: x-forefront-prvs: 0954EE4910 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(136003)(366004)(376002)(39860400002)(346002)(396003)(13464003)(199004)(189003)(26005)(6306002)(99286004)(76176011)(9686003)(53936002)(3846002)(71190400001)(102836004)(71200400001)(6346003)(7416002)(97736004)(6116002)(68736007)(6506007)(53546011)(81166006)(305945005)(81156014)(186003)(54906003)(25786009)(316002)(33656002)(105586002)(6246003)(55016002)(66066001)(7696005)(6916009)(6436002)(7736002)(106356001)(2906002)(86362001)(966005)(44832011)(8676002)(486006)(8936002)(5660300002)(4326008)(14454004)(74316002)(478600001)(446003)(11346002)(45080400002)(256004)(14444005)(476003)(229853002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR04MB1611;H:HE1PR04MB3306.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=xiaowei.bao@nxp.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: dcT4lU2uFWgFQ7qt/VESAdN2yAAK6vseCRdLegTIsRI3B6a2XyE9XTbcQq1ApPA0gNFxAU4kqqwYffzNlHNpHsGXUV44bfocAevP3pf5evr5RBU42FV1kRc4hC90QCONZCHsmILXQVBGQrGEIPhfy2MaZVp3RE1E7elxAeYR1OSCEJv+jDxB7fWdhUifqME1kQRy+WKLMm5j6Xs2yNYtWIDulFrgZvEwbjYxMW2W4eNdlmiR1hIDrWSLj/DRSeQjcp/tqGzUTTmB3Uw3a3ec1j8UYVmBdQhOwZDVhrLfjahlMfU8/dipbaptqlgj7o4kmIvNXzSs2Xm3cODDk66+S8SErmug/DyoX4nI66Fwl+i76Oeb96UL9CUz8CG+OwntAh6KiBSHzN0KuHFU6qP5qAYJi61E4fgiyb4W/y75AqU= 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: 82dab31a-3d6f-440a-d307-08d696e0c348 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2019 03:09:01.0853 (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: HE1PR04MB1611 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBMb3JlbnpvIFBpZXJh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