Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp199880yba; Fri, 12 Apr 2019 01:38:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRymueFEOTBlTMTu5sJ/Jcwz5FhvnwzNJLl09sm4TVPGj/E8T6Tc82AOnBEEIPA79QM9qH X-Received: by 2002:a63:2b03:: with SMTP id r3mr51406176pgr.105.1555058328078; Fri, 12 Apr 2019 01:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555058328; cv=none; d=google.com; s=arc-20160816; b=bdWJgBfozmgrKa9Wjj6iK7Uc7HJ6ki+gA2e+2iYadKOTr0mvNDodpLQWHrYkEY6Pl+ UVnGCX8kOcTIvzyRSLaSjBWMzJTZ0dHnicKxpGD91tRnMP2AbnM6rrGUDWjBYPKdhkLw 4Bxj3bSgiwXHfTqF1C0P12jrz2AmBAR0oaaEZoqg5G22le5jwAQPcq3jLqo7r/QBWQkz ujmniBOqQqUnkLEgqr3wpudkowHgZw8U47rWzhQECI9iq+AhzVCU74DLLxY0Y7b7e/Wt rN4/GWWDNvM5REMsA1tK89Odcs2IbUW3t6zEXtRz+HRTt2i+1YEVStWXKu5fjbzw+9XU JWpA== 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=kdrYnYmg2rbnYsxtk3doEzJ1fhSzTcLnhskxjeLlvcU=; b=xcwD/1E14Q9DDRyXqVXE7EKEwjj4BvTxO0vgo4/XZlD1PLib3PiEL2VuAuDBRkTYx5 ew0wZtgj2Q4jAIupHvTabxN2VU2uGAZ0FYGUgazaZEWPzzyJgWtTR/sordLQW4u0hoL0 J5wpApY3h8NeZfEd9jupM0FS9AATt/litoQyofMpfVAImQj5zT+lnLHZrmMdzJ1zia27 KmQqbHkU/W8IZTVReGKkg9bpSuHRBl4BzkLuw72igc65PpNOG5LUoyi/zZVNmOmd+HS6 J5AnrpUalfYXJBQGsUrFhOIBMkr8lO5J6la3hqbjbZpAQpENLjQYTFLMoR45He/MLueq +AdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Et2hj3nG; 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 j16si36392060pll.291.2019.04.12.01.38.32; Fri, 12 Apr 2019 01:38:48 -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=Et2hj3nG; 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 S1727830AbfDLIgU (ORCPT + 99 others); Fri, 12 Apr 2019 04:36:20 -0400 Received: from mail-eopbgr80053.outbound.protection.outlook.com ([40.107.8.53]:4153 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726838AbfDLIgS (ORCPT ); Fri, 12 Apr 2019 04:36:18 -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=kdrYnYmg2rbnYsxtk3doEzJ1fhSzTcLnhskxjeLlvcU=; b=Et2hj3nGW9M0nA0WXvrmvgpYvjV9TVe2N12399SUtwEXsYT7Zdb4XMxsA8y8ZEUHUofXQ7K26ArH6guExhsLo/s676eIDFiCYeYYgeWYXQFWeO09wIbr3cdXN1hSc7G5xgysM5F190XGc4ndLEXTivPSphz30Xbd+FrjlXXl8Bk= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB5846.eurprd04.prod.outlook.com (20.179.3.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.18; Fri, 12 Apr 2019 08:36:12 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460%4]) with mapi id 15.20.1792.009; Fri, 12 Apr 2019 08:36:12 +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 , "Z.q. Hou" Subject: [PATCHv5 10/20] PCI: mobiveil: Fix the INTx process errors Thread-Topic: [PATCHv5 10/20] PCI: mobiveil: Fix the INTx process errors Thread-Index: AQHU8QrIICRAPGaNQUWlVdR7PlC4dA== Date: Fri, 12 Apr 2019 08:36:12 +0000 Message-ID: <20190412083635.33626-11-Zhiqiang.Hou@nxp.com> References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR06CA0011.apcprd06.prod.outlook.com (2603:1096:202:2e::23) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:ad::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c7cb07dd-c83f-4222-451e-08d6bf21eb2e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM6PR04MB5846; x-ms-traffictypediagnostic: AM6PR04MB5846: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(376002)(396003)(346002)(136003)(189003)(199004)(54534003)(486006)(478600001)(2616005)(476003)(316002)(446003)(11346002)(305945005)(7736002)(81166006)(25786009)(81156014)(256004)(14444005)(14454004)(8676002)(7416002)(4326008)(186003)(50226002)(26005)(8936002)(68736007)(2906002)(53936002)(102836004)(6512007)(66066001)(86362001)(99286004)(106356001)(6116002)(3846002)(6436002)(97736004)(1076003)(6506007)(386003)(52116002)(2201001)(105586002)(6486002)(36756003)(71200400001)(110136005)(54906003)(5660300002)(2501003)(71190400001)(76176011)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB5846;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: nzYmerYz5F3ohNfb2cZ++f1li8hfA0lPXuTpbwJpJqsmsu8NtxS7Mk8gzcNRFgQ357N/cZtGHKojrgCag2FsiGqZDLexIGV/Vpc+RGo2jtRbOu1Xo/FdcNwcZ6uK2bfDGziKFyB7Fhbn1cPJD0vGrLf9P1pd8yhMS/0WYUX57jCgZrAp0ewW/RUTcZurcDc/s0nuEXvTITDbg77wJ2pHMw7upY2DHGZ1EIcn1QbKespI/eV8jBcRxbsUfyKCyfE7NGy1PSh5S+ZLNEzXlYly6IAqB62MMOUbaerN+hL+1kMaBMiyN/hkkx/EicC2OMlrc+7phGIyg8LOEIWTEJlcqS3HaXpHA2W+QiSNFClv/guRDsZGz2ps/PzPapLnfDfRDjFM5JL4znNqRaigju+xUhEfMniglWTHlvtEdUuiC1g= 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: c7cb07dd-c83f-4222-451e-08d6bf21eb2e X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 08:36:12.4471 (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: AM6PR04MB5846 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSG91IFpoaXFpYW5nIDxaaGlxaWFuZy5Ib3VAbnhwLmNvbT4NCg0KSW4gdGhlIGxvb3Ag YmxvY2ssIHRoZXJlIGlzIG5vdCBjb2RlIHRvIHVwZGF0ZSB0aGUgbG9vcCBrZXksDQp0aGlzIHBh dGNoIHVwZGF0ZXMgdGhlIGxvb3Aga2V5IGJ5IHJlLXJlYWQgdGhlIElOVHggc3RhdHVzDQpyZWdp c3Rlci4NCg0KVGhpcyBwYXRjaCBhbHNvIGFkZCB0aGUgY2xlYXJpbmcgb2YgdGhlIGhhbmRsZWQg SU5UeCBzdGF0dXMuDQoNCk5vdGU6IE5lZWQgTVYgdG8gdG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