Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp359156ybi; Wed, 19 Jun 2019 00:24:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqypaUQ0kfmj/ebI9kp0BC5oFal3dXO8wM7PvpV8OwUEl0jvPhs60J/4uDOY677kjeQdIZ43 X-Received: by 2002:a17:90a:9f0b:: with SMTP id n11mr9409089pjp.98.1560929085409; Wed, 19 Jun 2019 00:24:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560929085; cv=none; d=google.com; s=arc-20160816; b=lGqxZzD4G1cnKeaQPGbGOfMXQCwTUPQgJ35MtZuSGqx7siAPzx8MeH2+RovkfY0jI5 Gt08HEK3icQ2aL5Nt2SWS8AoVg9lahBnfSpRs57Rsz42nKv2BBmo0eKnYVvLHkiWEDkK WYW50bPwI94nnijsWIUPSyFUg1N4mA3jKylUqcnM+tPrE3uC1TYBAn3+iipHzNhTUCkV Gic4AJpS48RPtNQAreHzvUtRO2Dfuw0zKsVUKEBqOO+mCsV74VX5MOhx+QvxsETlCgEb EeDhuDjjpSYExvkX2zGf7OXZHIGh6d/yCTV3x+xDhuEcq360rPRVClZsZXyNd8ePVYm2 L78A== 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=phWV4UZqlLq0wa8zaGxybQZMecro+78Wz6GK8ukf0rs=; b=G4dDMRPPqs1Vt1zLDvb59GIhr/9+pzJnjokmPmg9W4nXAg/FsZyZz2TNMMpvLTaoCg yMcVOyiXF8eljLoCog+dNMgYK7cM3qXJByYqSQFkmXsAP+mlOrj0mXDH0go2qFMbS6Lf muaqdHRZJwOTLQ0swEHcreAHdGG+KITuXgu+/G/0HjZIz1Ffv04Pdd6NdhTwFsaJegKz noP46VnjXlSaHVkitk8O7k0n+hYFdD3vQzAEoMh6jZ9+4yXZ4sx2HgXDpivo9qh4DdFg EU3vpm/1NP1YqMZhPrDOQUW5QRoKvNoAc/1fVus/sLSnEUDzI1DFh+csUi7O4+iOSEgc q7Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WLpQM5mM; 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 q2si14416293plh.59.2019.06.19.00.24.28; Wed, 19 Jun 2019 00:24:45 -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=selector2 header.b=WLpQM5mM; 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 S1730791AbfFSHYZ (ORCPT + 99 others); Wed, 19 Jun 2019 03:24:25 -0400 Received: from mail-eopbgr130087.outbound.protection.outlook.com ([40.107.13.87]:48430 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725854AbfFSHYZ (ORCPT ); Wed, 19 Jun 2019 03:24:25 -0400 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=phWV4UZqlLq0wa8zaGxybQZMecro+78Wz6GK8ukf0rs=; b=WLpQM5mMRxQAVcvc66EIcz7TfSlLqohSi+l/nCjKezeGJ9fSdcd5vT3pseOu0aSmZnAKwZsS19UlOa2H1DzjrorRTQt13BmJxFwAd4sIZXnB+E+Df2kqvv2WWBINqSPjnW1TiFV7jnMg+KU7NqyGRnibsrBvufuMQ69NVMnUYTc= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB7100.eurprd04.prod.outlook.com (52.135.61.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.7; Wed, 19 Jun 2019 07:24:19 +0000 Received: from DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::93a:4344:1120:4ca0]) by DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::93a:4344:1120:4ca0%6]) with mapi id 15.20.1987.014; Wed, 19 Jun 2019 07:24:19 +0000 From: "Z.q. Hou" To: Karthikeyan Mitran , Lorenzo Pieralisi 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" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , Leo Li , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Subject: RE: [PATCHv5 10/20] PCI: mobiveil: Fix the INTx process errors Thread-Topic: [PATCHv5 10/20] PCI: mobiveil: Fix the INTx process errors Thread-Index: AQHU8QrIICRAPGaNQUWlVdR7PlC4dKaYf0EAgAKes4CAADwbgIAHg5qAgAAfn/A= Date: Wed, 19 Jun 2019 07:24:19 +0000 Message-ID: References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> <20190412083635.33626-11-Zhiqiang.Hou@nxp.com> <20190612150819.GD15747@redmoon> <20190614104351.GA29955@e121166-lin.cambridge.arm.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: [223.72.64.203] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d670e0b4-59f8-4ccc-29df-08d6f48724bd x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB8PR04MB7100; x-ms-traffictypediagnostic: DB8PR04MB7100: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0073BFEF03 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(136003)(39860400002)(346002)(396003)(54534003)(13464003)(189003)(199004)(5024004)(33656002)(66066001)(64756008)(53936002)(81156014)(55016002)(14454004)(66446008)(5660300002)(7696005)(53546011)(71200400001)(6116002)(26005)(71190400001)(2906002)(99286004)(25786009)(229853002)(6506007)(102836004)(6246003)(68736007)(8676002)(966005)(3846002)(4326008)(6436002)(7736002)(7416002)(66476007)(66556008)(8936002)(76116006)(76176011)(316002)(9686003)(66946007)(73956011)(6306002)(45080400002)(81166006)(52536014)(74316002)(110136005)(11346002)(478600001)(54906003)(446003)(486006)(14444005)(476003)(256004)(86362001)(186003)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB7100;H:DB8PR04MB6747.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: 09Dpd5t9IbjV8P0wYDIc1gx2048UyaLWzIv/i3X1DTX0Zjjm2IVLKWN3klz77HBC6G7bd6gRACdZBKLKQ+qvcp2F9eNk1t/iDgcUbbPuy5MAwL3sQYNixcOnnkTOvbScM2Iqmz3Mi0m6HpldrdO8yZC00iZblb3ZCc0gGcAXuVUd+RXgMOuBYegM9r4ZwD1rH/+MWEcyd3wF6PC1oSZ5kv8Ghi0z9mIA9v7wzvPUmniwyF9waYn076zIBgDdGvXanZV2b73K3W9+vY8fCU8M4UYNcSdLnt5GncssgYUZz8+UZA/PcNXLPI9Mijtu4CUPLvp0R2tbeWwUp+iL6oCeejrj4WpVjq0TV0fE0PoeF8eyk6CDX9vf0EAqijTJBW7WXXrybP/C5yZ9SuiFSNtn1ranmF64jICUdS1hsD4UODk= 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: d670e0b4-59f8-4ccc-29df-08d6f48724bd X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2019 07:24:19.2253 (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: zhiqiang.hou@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgS2FydGhpa2V5YW4sDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTog S2FydGhpa2V5YW4gTWl0cmFuIFttYWlsdG86bS5rYXJ0aGlrZXlhbkBtb2JpdmVpbC5jby5pbl0N Cj4gU2VudDogMjAxOeW5tDbmnIgxOeaXpSAxMzoyOQ0KPiBUbzogTG9yZW56byBQaWVyYWxpc2kg PGxvcmVuem8ucGllcmFsaXNpQGFybS5jb20+DQo+IENjOiBaLnEuIEhvdSA8emhpcWlhbmcuaG91 QG54cC5jb20+OyBsaW51eC1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