Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1603479ybi; Wed, 3 Jul 2019 19:39:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwD4x8lAy95Z4fmUvk2l6Q6K+nFLyH9GiFJBVKjYaTwAYITGpCTUP2MWdpCTCHG5bgFPXy1 X-Received: by 2002:a17:902:54f:: with SMTP id 73mr45220581plf.246.1562207961765; Wed, 03 Jul 2019 19:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562207961; cv=none; d=google.com; s=arc-20160816; b=hYGiY2SUHZGYXK8tB9fkr7+x7Ptb6Hb9nMVTu/t1ibOBsLbsQVS51uhIu/CA4hNLwy hhyxNp6aB0FRmfk7GWONBWRWIij5QliNseFoZ6xX+xuFGKX9z4VHBBdISPo36R570oxS M04lgpjyPDnAu/btN2DZQnJ0VLODBxCBepHNeELVZ3PhU9z/c5Tzna/nd10NWRM94OQA hx6tWdzvYTHgiXmTwiX2a5faPo+QfPIVIC1sUOkJw6a6k5rWVPlXChcQXiIBtc/ZgvdU 0UrQc0/n9PspsJeToh3MH1DXdGhLC0yNU1m6OYM863tiGny9QzAdpkHS5XQvvfnGWnKo LRrw== 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=4IRYvNjnzz83kFG/pFTRpLFbUCXnOQqBSit0u0GQYxw=; b=lCZKEIzQmOWOAEwGX6S/OlU0HuC3qf3KKL3uoK749K0A7wPcl8uJChwHTtUUWEHID6 uXpRuKv+Ba86KemKR6Yn6vBCMGvSYYhy3yKEEuba3OHsO1LMWn8rZ69QBPKviFbbwXJp q9flDmjHrkHJd7hLvkVGGZeDCLobAGkWVfJMn7zTQzSWzAnTfpSgjculghF3m+dNtmeZ SwWfpn7XoMDjayW4P18Hb/KhuFGXUTAwxuITvPKZYBENgmdP3lVpUH6FQZuz/fWV4nbw zhHw86k8WGagxyXAb2rQNaqjkaAugLK4/eOo2tZkibE3zWLhisp2EVHTtSPS9VDh3Jmy o91g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=LuGqfK5n; 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 s11si3824214pgp.326.2019.07.03.19.39.07; Wed, 03 Jul 2019 19:39:21 -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=LuGqfK5n; 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 S1727198AbfGDCiV (ORCPT + 99 others); Wed, 3 Jul 2019 22:38:21 -0400 Received: from mail-eopbgr150083.outbound.protection.outlook.com ([40.107.15.83]:27306 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726964AbfGDCiV (ORCPT ); Wed, 3 Jul 2019 22:38:21 -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=4IRYvNjnzz83kFG/pFTRpLFbUCXnOQqBSit0u0GQYxw=; b=LuGqfK5n01pRgwkmSgS7b03HScd+mjTg2Ccst1bfglZ8muoPmnvZBnLcJ4D/Gp4fpVZiBeuCj46wwqUbOwIRjZoSF7nEV0+eTsmH8VelO+0VLssIqrr3G8L2cOHg0OF6D9p6ZsUUIrz5ZqhxBhBk4mjUkCYTJg08Z/MB+Yft06U= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB7163.eurprd04.prod.outlook.com (10.141.120.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.17; Thu, 4 Jul 2019 02:38:18 +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.2032.019; Thu, 4 Jul 2019 02:38:18 +0000 From: "Z.q. Hou" To: 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 03/20] PCI: mobiveil: Correct the returned error number Thread-Topic: [PATCHv5 03/20] PCI: mobiveil: Correct the returned error number Thread-Index: AQHU8QqwGTpkCK3rR0itFH1s1bUioaa5cfGAgADOmdA= Date: Thu, 4 Jul 2019 02:38:17 +0000 Message-ID: References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> <20190412083635.33626-4-Zhiqiang.Hou@nxp.com> <20190703141715.GB26804@e121166-lin.cambridge.arm.com> In-Reply-To: <20190703141715.GB26804@e121166-lin.cambridge.arm.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: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c6e8854d-deea-40f2-bacf-08d70028abfc 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:DB8PR04MB7163; x-ms-traffictypediagnostic: DB8PR04MB7163: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 0088C92887 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(376002)(136003)(396003)(346002)(366004)(189003)(199004)(13464003)(54534003)(6916009)(25786009)(81156014)(81166006)(55016002)(2906002)(6246003)(4326008)(33656002)(53936002)(74316002)(71200400001)(26005)(11346002)(71190400001)(7416002)(446003)(476003)(229853002)(486006)(68736007)(7696005)(102836004)(99286004)(8936002)(76176011)(14454004)(53546011)(6506007)(256004)(14444005)(478600001)(64756008)(6436002)(186003)(52536014)(6116002)(3846002)(86362001)(66066001)(5660300002)(7736002)(76116006)(66946007)(8676002)(9686003)(73956011)(66476007)(54906003)(305945005)(66446008)(66556008)(316002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB7163;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: ebgHNpV4gGo9OkUVGe3zPUnzoigWegv2/c6DPvOA7gUwNJj3m9Ql1glZie7Qh38BfNmf/ByIgVRUjbsQiAlg3H6F129KCjn4ns6SLXdrVWFsbXwIsj4El6UFZCZDwJIFoeaGJSXHRWALaADr6NP4bM6aNWtPoGi/RfqBJxgWO8jcP8HTchIGSTa1/EEitKunSPVP9EAiCOUi6MaDtScwx/f8/3ztBzquuI/rKFQTqQijc6SxANAZFehfhW0ZTlaEjlMZYHvx8jkV6pu/Hx9ws37+Kc9uRwUFl7Dw9fXiObLEIocdtqUrp4c3E8G6TPuHx4hZZvnizSBwhvb4kCBc7URz1aEcAXK7O8gw+JTyuZyksN6u9Jduzv92efM7iUZtedV1uFh4+03XEEXS2vUpXw+HlMnS1kj6Yq3Tc/IJqtk= 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: c6e8854d-deea-40f2-bacf-08d70028abfc X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2019 02:38:17.9123 (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: DB8PR04MB7163 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTG9yZW56bywNCg0KVGhhbmtzIGZvciB5b3VyIGNvbW1lbnRzIQ0KDQo+IC0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IExvcmVuem8gUGllcmFsaXNpIDxsb3JlbnpvLnBpZXJh bGlzaUBhcm0uY29tPg0KPiBTZW50OiAyMDE5xOo31MIzyNUgMjI6MTcNCj4gVG86IFoucS4gSG91 IDx6aGlxaWFuZy5ob3VAbnhwLmNvbT4NCj4gQ2M6IGxpbnV4LXBjaUB2Z2VyLmtlcm5lbC5vcmc7 IGxpbnV4LWFybS1rZXJuZWxAbGlzdHMuaW5mcmFkZWFkLm9yZzsNCj4gZGV2aWNldHJlZUB2Z2Vy Lmt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