Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1703575imc; Mon, 11 Mar 2019 21:41:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbFkFUZvd0+kzxZYcwLqcAL2Nzrol+1AqU1rYRgLAxJsuMBZvlLuEqJ9CWTganVEqPQZek X-Received: by 2002:a17:902:76c7:: with SMTP id j7mr36863215plt.121.1552365701760; Mon, 11 Mar 2019 21:41:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552365701; cv=none; d=google.com; s=arc-20160816; b=hxZAFeSIjuHzZF3C7OKg66rjm5C4UBfPT6oBBW2G1k+VKse86nfC7svK166kDzFuHj wsEXqDZpJpTbKR7/pN4XLaH5QxVIcNoaTGACAiwNOHkjURqisTWFEv1Sr6gJx7nGI/jm YXabw/d7K3zm0VS67wCdsSNx9G61B3MtumZKw/zyh2qkfGqbY0430IHhHXTXSeJF8ntv 7iRVVUlVtWmP7lJQyd7xjSnBaaWpc2qJxNYcY8PHJFlRgYQSMs4JRToBSn0ZJjU0qLmH CFki5VhJW6bK9gjqC+iccyPxkXuH7RWOcyANY809xaepJ+RZmH8HhkFNM6WzdTHEwsSn 7RJw== 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=7IUzYj6zzkEUJQYO0WPslD1AFxvVkqiHDZHEzmW+EKk=; b=v2vbu2ZbDIXxf2L6qbBojtydV4kGNnFW0pEQC+s0I6dyNhFctrH8w81he4bGkog1VU NQ31EEUxwnVMjUDwyqdvdXgQBsjW2Lcs5l1gND/tFM7qeugWLNe8aBxqJAn9EB+okjzF kHg8bPvRR8Kn4WOr/Zk0hzCc84AqyFXcV5xnsoZBXIP9atyUFjwX/pi5fEGFqTPfd19x lrdAy5MuW+Tp0m869bj/lILoBt7ZvzBcVRE0ygn67aeDEeKIbGMdOZ8HTPQUgPEWQ3of vPvNAAAtBarjpjZ1hPm14q/REYKP6h/HpBiMOtApzOuJMjS0Fk0cL+lZsxjwPKhHfiG5 iCNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Bb5n2ytj; 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 k124si6975529pfc.0.2019.03.11.21.41.26; Mon, 11 Mar 2019 21:41:41 -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=Bb5n2ytj; 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 S1726542AbfCLElE (ORCPT + 99 others); Tue, 12 Mar 2019 00:41:04 -0400 Received: from mail-eopbgr140042.outbound.protection.outlook.com ([40.107.14.42]:62279 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725872AbfCLElD (ORCPT ); Tue, 12 Mar 2019 00:41:03 -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=7IUzYj6zzkEUJQYO0WPslD1AFxvVkqiHDZHEzmW+EKk=; b=Bb5n2ytjCBpTGOgWtkRaAwKsOHTbhDkWQurRjHYMpvETlb2he93WRmJVq4ylGrDrYa1D6WPI/1TswwCuInnEji7lOcoOnEyzTM3q+YzdkmxMkDorWH//0+PsQOZELk8VRKvJvFGQGZFdZ0xP3/Q9x29emp9KdE8mt0C+s7PPH1A= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB4997.eurprd04.prod.outlook.com (20.177.33.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.20; Tue, 12 Mar 2019 04:40:56 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::30cc:e034:1f7a:2cc7]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::30cc:e034:1f7a:2cc7%2]) with mapi id 15.20.1686.021; Tue, 12 Mar 2019 04:40:56 +0000 From: "Z.q. Hou" To: Bjorn Helgaas CC: "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 , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Subject: RE: [PATCHv4 24/28] PCI: mobiveil: add PCIe Gen4 RC driver for NXP Layerscape SoCs Thread-Topic: [PATCHv4 24/28] PCI: mobiveil: add PCIe Gen4 RC driver for NXP Layerscape SoCs Thread-Index: AQHU1+10ahUatRnHHkyEO3RvMSNYKaYGdgsAgADwg4A= Date: Tue, 12 Mar 2019 04:40:56 +0000 Message-ID: References: <20190311093130.7209-1-Zhiqiang.Hou@nxp.com> <20190311093130.7209-25-Zhiqiang.Hou@nxp.com> <20190311140140.GA161843@google.com> In-Reply-To: <20190311140140.GA161843@google.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: [192.88.170.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f56b447d-cd53-4bfa-7f05-08d6a6a4eaed x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR04MB4997; x-ms-traffictypediagnostic: AM6PR04MB4997: x-microsoft-exchange-diagnostics: =?utf-8?B?MTtBTTZQUjA0TUI0OTk3OzIzOjhxTldOVDgyem9vb1p3dGJoeGUxNTBKRE9m?= =?utf-8?B?N0djL1htSnBSbXNJMlFuZ0JraEtvUGMzbkhodVBuS01ZS3I1cldjS3d4dEY5?= =?utf-8?B?QTN2cHRkckZtVTRRN1lkQjZaWWhzaFozMlB5djdFb2w0aG1YV1ZVL0xzb2k4?= =?utf-8?B?TFZrRWpERGV5V2lYVFhmbnA4amRzSXBCTCtodzRZSzluU0JRbUtrYkJQVzJP?= =?utf-8?B?eThtVW5wUklmQjFEaFM4QVhaYXk1KzE3MVhwVzNMNGRuMGJDTnE0STZjUHBk?= =?utf-8?B?VngxSVlsSzVkSTAvOGtpd0kwYzFOMWxVZkNlclo5aUVncDRrU1FJVWFKTzV0?= =?utf-8?B?QkRWZk1SN2twU2RNbVhWU1A0T2piZWt5YUc5YWxna2krMVRNalVoeEJuaUJ3?= =?utf-8?B?YXAzaUtxS3lmYmRhSkZHQVRCcUtOWkpmdjF5cmRDVU4xbjdvYzBMZEp6RERQ?= =?utf-8?B?RVhUYkF2dmpITjRvTys1dFpTaENnUXBBTXF6M1RwL2laMXo2V2tXbXFyVGpU?= =?utf-8?B?YlIwZk5wYWgzSVQ4N3JZdTdyU01ydUdxM0RFUmg0VnA1RWR5c3hLNWdHbzJZ?= =?utf-8?B?K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= =?utf-8?B?MDdJQTU2STdtQTY4WGpCbEc5R1dTMGRhWHprYVBYc3VTQjE2SWlWMENqUXZZ?= =?utf-8?B?SG4wYnBWZUJsM0ZuVXZSTlRZaHQwbUtFa2cvcVpwaEozZFRyZG5nT1N6MmZJ?= =?utf-8?B?MVBvVER2bEhqZWtsREJMZnRBN2FBRHBiMURVL0J3aXdUUnFxTkorYWlYaWU0?= =?utf-8?B?Ky95WXZvR093QTRTYzdDY2tRWjI0V0lYOHdYSHVuUjNNTXh4UXZtVjN5RnZH?= =?utf-8?B?NWZpNWZ1akpjOFJtZnBzNjU1ZVUzQkRXTmQwUkdXa0VQeEIxKzVuWTRKckhG?= =?utf-8?Q?e0ujwRaxzRafR?= x-microsoft-antispam-prvs: x-forefront-prvs: 09749A275C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6029001)(39860400002)(346002)(396003)(366004)(376002)(136003)(13464003)(189003)(199004)(8936002)(14454004)(53936002)(76176011)(33656002)(478600001)(2906002)(486006)(7416002)(25786009)(6916009)(476003)(6246003)(74316002)(305945005)(11346002)(4326008)(7736002)(446003)(97736004)(7696005)(229853002)(186003)(81156014)(71190400001)(66066001)(3846002)(81166006)(6116002)(6436002)(68736007)(102836004)(53546011)(30864003)(6506007)(52536013)(5660300002)(54906003)(55016002)(26005)(105586002)(14444005)(106356001)(8676002)(316002)(256004)(9686003)(99286004)(71200400001)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4997;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: EgFAfvhivd/0uljQOT8SHlrk6OcUVhW4w9M9+/JfJWWRDemV2LtE2YTMM2uC9ORNOek4xqTyQqO1IUrFw4KWMH0xNh4c2jLQScsQa4RoJY1cBrYbpm7v9obkCARLMUD1iq73GY9u9qLADLCWM2f0UAxnPYI8SqOTx+XAzv/bOBFakEO4zO5+9yTD6TsBgSCChJAu1eJf8pspy9+gggaq5H+13V1kyJWrUTqPEiY24bN5eCFst0jX2I5FZI1ZZjxhxdOnRINEyG3PANlkXk+4b7uWt/OEyKikmnJgwy1aV3lUXj4Chl133PD3Ni8J27Bfuly7WRg+YJIuSKnPs5eLJEEjlTb5FZ/dbYyXq6PmdxyNTj0XXvCC7XM5J8VeNrBWcHUrXviTg9lc7zX4Y6cjamhV4Gd+YaZnPBEN0I5kgSA= 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: f56b447d-cd53-4bfa-7f05-08d6a6a4eaed X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2019 04:40:56.5283 (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: AM6PR04MB4997 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQmpvcm4sDQoNClRoYW5rcyBhIGxvdCBmb3IgeW91ciBjb21tZW50cyENCg0KPiAtLS0tLU9y aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCam9ybiBIZWxnYWFzIFttYWlsdG86aGVsZ2Fh c0BrZXJuZWwub3JnXQ0KPiBTZW50OiAyMDE55bm0M+aciDEx5pelIDIyOjAyDQo+IFRvOiBaLnEu IEhvdSA8emhpcWlhbmcuaG91QG54cC5jb20+DQo+IENjOiBsaW51eC1wY2lAdmdlci5rZXJuZWwu b3JnOyBsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmc7DQo+IGRldmljZXRyZWVA dmdlci5rZXJu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