Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2094764imj; Sun, 17 Feb 2019 23:13:24 -0800 (PST) X-Google-Smtp-Source: AHgI3IYN5JVStyVvIY9PcqTRUXRDZZ88g98lUUFlC+nJtEzO9sycUGL3friCUyYeEOlgNU8n0tme X-Received: by 2002:a62:5182:: with SMTP id f124mr23034332pfb.238.1550474004502; Sun, 17 Feb 2019 23:13:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550474004; cv=none; d=google.com; s=arc-20160816; b=KAcn04WZsW6V3WeNzNkdapIaW2qNc10jQAnAvtdJdqrQa0G4wVljwu4BhTRL2ggGoN CPuvmANDSWWE2CE/70xZAGRtp+prOUtILUjzyg6VeytpZmLSN8ojQ0zHQUmnHbZzUmtL k8HB3ZWRhYgDUGFKhBOukg/7SFL7ZxtuUgH4pGz10+MRTXJ5tMybleLq3mT8tGoBUCBO YByb/A/UuQdRAb7NzfkcjWEeGqa4pmheYYfRBEgpgnxhVZ71R1rqoToLTyWOMVRlKaPO Xs4H2y+Y29H8PXQyKqmAmUQ9yLpvvAmNb3XiUuTJ4NtaB2QpfPNfHFMFcpsvUhaGxYKY zhYg== 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=4t0WdINPl3+Ql9ga2aPaG2uenhSDqb2AYZNktJ9N6oI=; b=Ky3LnEyh9w4qYlYyRgUJp2ildKBIerGxYIBqQI/ylbdxKFUKfuIIXwAxu6S2a9UzPC iG6dcgsbZtbWgDcdi+v9bJHHBF8PNTVCvva6CjmEKnaYL/eJsiYUwU3iHzzmaoQvzhss /dg+QU7VZMkcchHOwuwpWc/8iOnC7L+8JszRJ6S58NmTuYED+PROrWMvTo1zTdDjNUH2 Mn5hgq1CQARtMLXpKq9bbLaCpgGVqdOH5HaTcKDmC8FXaabsgfpWBa/FqGzmwlf+T7r6 SVWLKYctb8cHdBl+8zb7U5EUofVYDT8Zs+JfoVWENd4+8DgLGa0sAIEot8rE5uu8Qx8C +lQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=blR4oz+i; 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 c24si12194627pgk.269.2019.02.17.23.13.08; Sun, 17 Feb 2019 23:13:24 -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=blR4oz+i; 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 S1728301AbfBRHLK (ORCPT + 99 others); Mon, 18 Feb 2019 02:11:10 -0500 Received: from mail-eopbgr40045.outbound.protection.outlook.com ([40.107.4.45]:22818 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726500AbfBRHLK (ORCPT ); Mon, 18 Feb 2019 02:11:10 -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=4t0WdINPl3+Ql9ga2aPaG2uenhSDqb2AYZNktJ9N6oI=; b=blR4oz+isdoRqztHIX256IefnwFdw4jtxNZUcZkNTEe3zTEYShMx/ETDWezQ15QvQtV3OF4GI7fELp0VHWhw7iT3Snhl8Jfa0OUF9VctVexKd+MLkcyP8yLYFoKXP60VX1llswmx6oFfJjBhcVDdfhS1IfLgv7fksIu8ddI51PM= Received: from VI1PR04MB5792.eurprd04.prod.outlook.com (20.178.204.10) by VI1PR04MB4256.eurprd04.prod.outlook.com (52.134.31.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Mon, 18 Feb 2019 07:10:59 +0000 Received: from VI1PR04MB5792.eurprd04.prod.outlook.com ([fe80::2092:3c87:6c03:be2d]) by VI1PR04MB5792.eurprd04.prod.outlook.com ([fe80::2092:3c87:6c03:be2d%2]) with mapi id 15.20.1622.018; Mon, 18 Feb 2019 07:10:59 +0000 From: "Z.q. Hou" To: Subrahmanya Lingappa 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" , "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: [PATCHv3 24/27] PCI: mobiveil: ls_pcie_g4: add Workaround for A-011577 Thread-Topic: [PATCHv3 24/27] PCI: mobiveil: ls_pcie_g4: add Workaround for A-011577 Thread-Index: AQHUt6osDgubRWC4UkS7LbPeiPAwNaXV6vEAgA9MCEA= Date: Mon, 18 Feb 2019 07:10:59 +0000 Message-ID: References: <20190129080926.36773-1-Zhiqiang.Hou@nxp.com> <20190129080926.36773-25-Zhiqiang.Hou@nxp.com> In-Reply-To: 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-correlation-id: 029c00ce-a400-4d71-9a58-08d695703c0c 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:VI1PR04MB4256; x-ms-traffictypediagnostic: VI1PR04MB4256: x-ms-exchange-purlcount: 1 x-microsoft-exchange-diagnostics: =?utf-8?B?MTtWSTFQUjA0TUI0MjU2OzIzOld3R2ZNY1djeDBtUjRpTWl1SnhxWEQrdExG?= =?utf-8?B?aHNUb1Yzc3VDaytjN3Fhbyt6TGVEOUdDbnVWajVIVGo4MHdyZXkrNDA5aFU2?= =?utf-8?B?QXY1NFZDZnhEYmtsVGZLeC9PRVJHUTBJYTFMQ2NDQ2VGSzJZbkJIdjF5L1hN?= =?utf-8?B?ZVppbHpISmlLdHlyQ3BXRmhIMjEyT3kvWnZVMFMvTHVTdnVZT3NiQXZpemRl?= =?utf-8?B?STVpUnBoNXEwMGxSZUUrL3pKbENadGlGTzgrUHdzdkNxK2k0YmVDVldtUEpY?= =?utf-8?B?RmpnWkNLMjAxM1ZFOGtXNXJvaXVBR1hKQ21yNzlDVmE1ekhISVNoaHR2M3ln?= =?utf-8?B?eUg1OEhKM2k4OGJFQWlTZU1wM1N3WnJpTXRKS3RJMFVZSTBrdFAzN081a1FT?= =?utf-8?B?YjZVbzh6eTRaYUNHaDJCK3VxRFZjbXFPTmI2T3FLOW9hV1BvNVVKdk9qMjAr?= =?utf-8?B?VFlQTTVCQ2FrV2U3eGI2aTFHRUdETjRuQ0E0Ulg3N0xrdnlyT1lrOXNsd2VK?= =?utf-8?B?NTJFK1dDa0hCak5WR043cUpBdDR4SVJuUEVkUGFNamJnUXZQaU1qNFcyMytO?= =?utf-8?B?b1AzKy9mSjhVREltWFdiaGRpdTAvcHdKS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TUvQW96di9YTjc0R1hXNFAwUVQ1Q2VsQTVuY2c2MGI4WnZI?= =?utf-8?B?WUpsWi94cXFTVTAwUlZZc01USnZzWlFyRzBqSXdaaHVnaHVGQldFakE2d1ow?= =?utf-8?B?WDlaTUJoU0NycGR4ZTZQOUk4L2xpSExQMVFSZTlhK21GL2NJZU5FeGZQY2or?= =?utf-8?B?aVBoTmNKWlNrQzNwQjVqdU44TEJhQzI5M09aZWZub1pYcGpOVFFRZ294VFRz?= =?utf-8?B?UUVLbGcyb3FFSlN1TjY5a0VwM25YMXJ6NEUxR2crOWNIRHdJZ2s3N2VBSUYy?= =?utf-8?Q?kGSZGX+dok43X?= x-microsoft-antispam-prvs: x-forefront-prvs: 09525C61DB x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(376002)(396003)(366004)(136003)(346002)(13464003)(199004)(189003)(8936002)(8676002)(305945005)(3846002)(99286004)(7696005)(76176011)(74316002)(9686003)(446003)(7736002)(33656002)(81166006)(81156014)(53546011)(14444005)(256004)(66066001)(186003)(229853002)(486006)(6116002)(102836004)(6306002)(11346002)(55016002)(2906002)(6506007)(26005)(476003)(6436002)(53936002)(966005)(45080400002)(478600001)(316002)(106356001)(105586002)(68736007)(14454004)(71190400001)(6916009)(4326008)(6246003)(97736004)(86362001)(54906003)(25786009)(5660300002)(71200400001)(7416002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB4256;H:VI1PR04MB5792.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-message-info: EyOLqmOlJEb4tW6dZy9vFhZWX46PMSTpU6+ccOZGJCa498iKchGkuzJT/5UKZydUsXbndPla6Yjsy66E5pUybEpcqxPnQej7ZWXtItdX0SnDCPJsGVmHVeOad+CNlKQP2VgubFof+wKDP3qLmcgsc1RxGuS81OLp2Na/oyBVuU5GmCbGbR532107ivgOZDUq2fBxeqpXesE7vNKtH/nteuyg2Br4rTV4liEs5nwCS0roFgHzEETvjvy9SEloEsSQ0aQHv0IVZTv8Fyzy1EcT01C5FawRmzMP4sPqY4b6qQbqPr0E9n2F/YivBDdxh9ET2dxb12c4W7ULs1t6iShEBJExhbt7ri9ah1o47W5VkWOaoLA0zhPRY7uvHvmDWondgUGxof200ASIggL95GhxLqSn6Jvj/ruDJWt/aStSPsY= 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: 029c00ce-a400-4d71-9a58-08d695703c0c X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2019 07:10:59.4897 (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: VI1PR04MB4256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgU3ViYnUsDQoNClRoYW5rcyBhIGxvdCBmb3IgeW91ciBjb21tZW50cyENCg0KPiAtLS0tLU9y aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTdWJyYWhtYW55YSBMaW5nYXBwYSA8bC5zdWJy YWhtYW55YUBtb2JpdmVpbC5jby5pbj4NCj4gU2VudDogMjAxOeW5tDLmnIg45pelIDIwOjUyDQo+ IFRvOiBaLnEuIEhvdSA8emhpcWlhbmcuaG91QG54cC5jb20+DQo+IENjOiBsaW51eC1wY2lAdmdl ci5rZXJuZWwub3JnOyBsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmc7DQo+IGRl dmljZXRyZWVAdmdlci5rZXJuZWwub3JnOyBsaW51eC1rZXJuZWxAdmdlci5rZXJ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