Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3056418imc; Wed, 13 Mar 2019 07:52:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyn3sAtHHuTFlhQSSLBSVf6I+iDlpMIGPi/P7SFgZZwdQEptHcBdXhFsTHo2JO5sAq7i/XI X-Received: by 2002:a65:4342:: with SMTP id k2mr25310588pgq.445.1552488753981; Wed, 13 Mar 2019 07:52:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552488753; cv=none; d=google.com; s=arc-20160816; b=su4F+bhPSKOWf8Ob5lWlo3SIzxcUw+juw0+6Wk3Q5ie8PteAkbWGoMCX5aAxFJKB/w 9t3B4sdKu/mReeZYn7guFi4NmPJiW3DpSwqGiQ7LXS1gMfVnVHwOulxm+IvJNmkVUA64 s5D5/5xe7rSeHwLHXO5z2NoNXjwSnNJDb+qC+tKHEjiUHP5LPQxcVJi2Tj7iIGTT9LJo YP4zJzffY5Jn/L8Jy6gzXKYtPmzcw93xkfr1c6Gb6Wcc31XwsocfgbD0ZT+04amWd5rd sdljzejPjrUBYXaOhfEmFMZ/mLohshTIBtM17LTR/XUxXaJGuhO+sqzlF19PsQmNcIW1 Y09w== 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=Tl/XGSPg25lOckPzw69botyyZLDzbWl6Kfykpc5SFok=; b=XgHdPhFqxswJ+iQkp+ZAvnhgqaFcV9623gC9UIJS5a4u7SolLbtvwr08il1DHTSMKF qG2Y7UyZv89ksdAutYb7TCG+JYbCanut750/Bnz3+Kk8IHsZDlzA/CHZR2uO+s71hXs8 ri2VfkFYJ1ogEPQcu4x8trS0Rm1PfxQDR9GKi/w8jdzUk+cCnP8jqqnZV8DMzC2DRYLM HBtafmdetvIWnurjaiCh7VXcgE4K+ZahO3lmfwHKbHZTW0jdT+yZRgAELFFDklrJsUIn oVHMCuCIPCq4RZaQprX78zizeiqy0rKcOYkau3gjjoaBw0n6zgjfLRCVc8x1cSoamOOv wfLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=OnbWj24M; 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 e1si10648954pgm.45.2019.03.13.07.52.17; Wed, 13 Mar 2019 07:52:33 -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=OnbWj24M; 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 S1726680AbfCMOv0 (ORCPT + 99 others); Wed, 13 Mar 2019 10:51:26 -0400 Received: from mail-eopbgr30070.outbound.protection.outlook.com ([40.107.3.70]:64742 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725889AbfCMOvY (ORCPT ); Wed, 13 Mar 2019 10:51:24 -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=Tl/XGSPg25lOckPzw69botyyZLDzbWl6Kfykpc5SFok=; b=OnbWj24MkkUi8Cf0JhjvJBeCRxpTDzVIchZQhmHMgw8a9pJUROnjqrvulj8R0lgNh5QZ2Q3O95kzt1H6Y/UZrtMdxAg6MRMUfvfx3S2SkCsJLBQjPTdCKjCvq3Vd2X19+VA/pO4/bXRtnnHTAgm2VO39Xjf8+r9poYkguTkL6hU= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB4869.eurprd04.prod.outlook.com (20.177.34.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Wed, 13 Mar 2019 14:51:19 +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.1709.011; Wed, 13 Mar 2019 14:51:19 +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 Subject: RE: [PATCHv4 25/28] PCI: mobiveil: ls_pcie_g4: add Workaround for A-011577 Thread-Topic: [PATCHv4 25/28] PCI: mobiveil: ls_pcie_g4: add Workaround for A-011577 Thread-Index: AQHU1+14+TCeS3tabUCUvLQeJSezBKYJp9Jw Date: Wed, 13 Mar 2019 14:51:19 +0000 Message-ID: References: <20190311093130.7209-1-Zhiqiang.Hou@nxp.com> <20190311093130.7209-26-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190311093130.7209-26-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [120.244.120.247] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a6389a87-8e9e-4914-66c6-08d6a7c35a89 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:AM6PR04MB4869; x-ms-traffictypediagnostic: AM6PR04MB4869: x-microsoft-exchange-diagnostics: =?gb2312?B?MTtBTTZQUjA0TUI0ODY5OzIzOjRIL0l4WkpJTTNtZ3NJT1ZwYkUxbllML3R6?= =?gb2312?B?UHNvME5uNEVobEQ3MEFzZHErdERKa0xHeHphSGxlUDQyREFJdTRpZVVwdDVG?= =?gb2312?B?SCt5QTlxakp1QmpUZ29ZSHJ0WEE0N3JtbmhraWQzbm5wcnYxaXFvL2UwUHdR?= =?gb2312?B?RHVyb1dNdEFjNC9HUGZMdVA0VXkzeUFtOHlqYXlpeFRKS09xcGtRTHA1R2NH?= =?gb2312?B?WHJKdTNSdWRLMTFOYThwbkZQaGF2TURJRTV1N3RHVEtDaUQwOVpOTEdGZFdC?= =?gb2312?B?ZnhSSjRyNml0aGNpc2ovd3RmK0t6K3dzRnZuSjhvTjdPU3Y5b1hpVkZJRDhE?= =?gb2312?B?bUpWR2hYOVlBcjJZd25ZSDlzci9kY3dSdFlLUU93dFhybHlZUlhBM3hLK3oz?= =?gb2312?B?UmhicDNYcWw1dWh3SmRKcWZadE9jTE5WWmdwOXlPc1RvYXAzZHloSHJWQXhQ?= =?gb2312?B?VDlpRTNSN1NWaHpqT0NsT0g5QnVQajdpclltazlaVk1PUy9VYmlKM3VlSXYz?= =?gb2312?B?Q3hPN0VCTDBxSHNMTWFlbUtRUERFOXFRcUVpbUNCdUdjY3F2S3dPTWo0Uk1z?= =?gb2312?B?aUV3dmZSYW9mcHlTMVJmM2xmT1NsL3kza09NMlRBNHRkM0ZDdUdZNW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am1S?= =?gb2312?B?RDBSbm82MWNBbUxlZWp4bUZCL0ExZ1RyemNkdmo1L2dhMjVYN1Z5dlpkUDRu?= =?gb2312?B?T1NiMEQvU0pFN1l2TnpqZmEvS2NJNVRyRjl1VlFaTkM4dVV1VlgxSVQ3Wm14?= =?gb2312?B?dUFxaHhTUTFKMWRBSFpVZjBFTkhHMUNYNUNydlZwRGhldm1uYXJyODltcXVF?= =?gb2312?B?Y01xTE93bzNFNDdGeTU4dzhsN0pyaXkxMy9TcUJ4NlhhV2czbVkrOTZudEcv?= =?gb2312?B?eDI5N2prRElseXBudEF3cGg0VjkxQUwwZUNJTGVqT1JPazNYZ0ZtV012WjBP?= =?gb2312?Q?Iynw6ba1SYi+u6lXVsdLY4+bL928mhVi?= x-microsoft-antispam-prvs: x-forefront-prvs: 09752BC779 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(396003)(136003)(376002)(39860400002)(366004)(189003)(13464003)(53754006)(199004)(186003)(68736007)(7416002)(99286004)(66066001)(7696005)(14444005)(478600001)(6436002)(6246003)(54906003)(55016002)(316002)(110136005)(9686003)(33656002)(105586002)(8676002)(74316002)(71200400001)(476003)(71190400001)(2501003)(53936002)(81166006)(26005)(81156014)(6116002)(8936002)(14454004)(256004)(11346002)(486006)(7736002)(52536013)(3846002)(4326008)(76176011)(2906002)(2201001)(305945005)(229853002)(53546011)(97736004)(6506007)(5660300002)(86362001)(446003)(102836004)(6346003)(25786009)(106356001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4869;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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3PHRp78rNAORYP3AlyzhQ1vMkGI/NJocCDsqrfpW8xSa0BOnYvEbNAtJ91dbe23vGlwDtGsra82jpyfwMisACSqmH94QDj3IIuP4Cw4V/7ON91IObGiWCAjsJmQNyX5FOWt0RFKqplfiO7aFvqenF7vCwThF5atUZoT4B4hmNqsgO3Uu3jgNlIdhCdgIU9hqND5W2Fbx3FIfFOVL4f6Djhd0vWhYXDHFfpxtD9y0ls5eCHuhX3hpfKOWnSrSDdicXUjUSsaoXf7/nj0xgQGmrrWtit/ChJ1TbpG2Gf/E2bdIypTpwBTOyMVhC20crXE7V+WwJ1o1465nxE05dRkW7fXuu3f+juYWlYVor7ZU821y2C28gyHpsvFTm2ttjjzKx9obI6cEylsEuYSidfPvw+pIMEcDxAINbQI4po20l7w= 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: a6389a87-8e9e-4914-66c6-08d6a7c35a89 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2019 14:51:19.7588 (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: AM6PR04MB4869 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQWxsLA0KDQpQbGVhc2UgaWdub3JlIHRoaXMgcGF0Y2gsIHJldjEuMCB3aWxsIG5vdCBiZSBw cm9kdWN0aW9uLg0KDQpUaGFua3MsDQpaaGlxaWFuZw0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2Fn ZS0tLS0tDQo+IEZyb206IFoucS4gSG91DQo+IFNlbnQ6IDIwMTnE6jPUwjExyNUgMTc6MzMNCj4g VG86IGxpbnV4LXBjaUB2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWFybS1rZXJuZWxAbGlzdHMua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