Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3417810ybd; Tue, 25 Jun 2019 02:09:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxELojbcl3GyR1IANED6QOn/bWkMYoSHC63J8RFdeWuY/2yV58xz41fhzHUtSJMQfBILaW7 X-Received: by 2002:a63:514e:: with SMTP id r14mr8667283pgl.71.1561453788765; Tue, 25 Jun 2019 02:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561453788; cv=none; d=google.com; s=arc-20160816; b=HwvLgO5Mqo+Vyv317hXagTUChaBuiBLaLW89nIyGZ+fB/5s9/ewWFD85Td1tId/is0 B3DVVH2wWYVFyRJMdLGLiGGuhm3ByqN4iD4cJ9trvQyP/a9/BGMCHKvGFbXKI3X3eXb7 /VW3UT7EKglNg2J49PyypgkBnpfqxj67tz2FLGLFDW/xK1zmsvIKeqgTUrbHcoG1GqjF eeonFQYKFPJzKy9PcERFxuTloGZp4S2X+CT6hpxS9VgADw/+MfA3NHFiqvPN+No270fs Bdssk5OJaIZKgQLj84gE5ydVAw5SC+avsS3/cCTN13xF/vVP6FJNkd3vfUTN8J+l/ws7 B3IQ== 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=l6TT8u6pisvi+mCUxM2ALl6fvQUBgoBtRDRUf+yfdKw=; b=P8WaS8TLOKCya11RQcwGHvJTvKmllWVT0fA6YAzNsdad6FDUTYWYF0eBTrFH2O6DWb lfbJZQm8AOrrsKfkQ/oB9bQUFicuNMDhnq7KVflw1lW6/4ncjem4jxPMjU73ALqRH8gn QLYVT1ueYoguTJzVIt8FUFiHM3f5YRz5Z4p/QQra2q/IJyzvOmHnICF/NC2sa/C2RLRU wQKJ16jB30WczJ1QGOpRhwu1t6Rc5XfF8CbZx9CstuG2Ir/4zN54whICEvvIiHj7vLbk 2XjNPxOe1KPUkBHb9kfMtpkidIFqtRnhUenMTTD/rQmXXenMAvqxC+DZ9qstF4EqV+8X ALBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=nL7jx76E; 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 z6si7953317plo.193.2019.06.25.02.09.33; Tue, 25 Jun 2019 02:09: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=selector2 header.b=nL7jx76E; 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 S1731264AbfFYJJW (ORCPT + 99 others); Tue, 25 Jun 2019 05:09:22 -0400 Received: from mail-eopbgr30079.outbound.protection.outlook.com ([40.107.3.79]:20822 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731233AbfFYJJU (ORCPT ); Tue, 25 Jun 2019 05:09:20 -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=l6TT8u6pisvi+mCUxM2ALl6fvQUBgoBtRDRUf+yfdKw=; b=nL7jx76EyLKf2zN/leXnQUjv0klH3i2GOGgk0d5+TZv2nYYcpmyExkRp0sjlROyaoY7PfkzYBC1vANSBl+MhhOu+YqzCXLYSSw5mmdxg2fjkTXCaOArcHpDbO30VV+BbGNmW39LjOTMgNRHP75kKRc0A2nk1X+upsD9ZNNMnbdM= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB6746.eurprd04.prod.outlook.com (20.179.251.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Tue, 25 Jun 2019 09:09:14 +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.2008.017; Tue, 25 Jun 2019 09:09:14 +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" , "arnd@arndb.de" , "mark.rutland@arm.com" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , "m.karthikeyan@mobiveil.co.in" , 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: [PATCHv7 2/7] PCI: mobiveil: Make mobiveil_host_init() can be used to re-init host Thread-Topic: [PATCHv7 2/7] PCI: mobiveil: Make mobiveil_host_init() can be used to re-init host Thread-Index: AQHVKzWoCLJprRzS/kycox/wX+6hoQ== Date: Tue, 25 Jun 2019 09:09:14 +0000 Message-ID: <20190625091039.18933-3-Zhiqiang.Hou@nxp.com> References: <20190625091039.18933-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190625091039.18933-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: HK0PR03CA0116.apcprd03.prod.outlook.com (2603:1096:203:b0::32) To DB8PR04MB6747.eurprd04.prod.outlook.com (2603:10a6:10:10b::31) 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: ad6f5197-cdb7-4415-7ba9-08d6f94ccb35 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:DB8PR04MB6746; x-ms-traffictypediagnostic: DB8PR04MB6746: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:800; x-forefront-prvs: 0079056367 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(136003)(39860400002)(396003)(366004)(346002)(189003)(199004)(4326008)(386003)(446003)(26005)(102836004)(3846002)(478600001)(71190400001)(186003)(11346002)(71200400001)(7416002)(6116002)(25786009)(66946007)(50226002)(110136005)(8936002)(54906003)(81166006)(8676002)(305945005)(81156014)(316002)(2201001)(5660300002)(66556008)(7736002)(66476007)(66446008)(64756008)(1076003)(66066001)(486006)(2616005)(2501003)(73956011)(68736007)(14444005)(6436002)(6486002)(256004)(6512007)(86362001)(6506007)(53936002)(36756003)(14454004)(99286004)(2906002)(52116002)(476003)(76176011)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR04MB6746;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: 4eEY7JyM7tZWFy6DFBivAnz7Y/z6erx4Aa1CrjzF8uXxZj1hYjNYSpr0NiEIQYbEv1V1WjWJEA6KF750twTOWt/aBgRImwP20a5ddcQubr+EjjSB9hHTKD/SwtAuSAbERDL34OjNCZjRwYTipj3rphb6Tch1MBAb8eVCKpjkQ9CnRpecI2GzfY2JaPiUQv+McXCMWEN7liOrsYP77qeRvYynE8qnAdrpsM0qW8knAg4QeKXvJcKkGCqyyvZER8wct02v//fzBE5Gl7LdYw4/pB42mDwMK6A56OeHhNakMtTK+8+bA85oXgOit9/iBww0+Wiy+1b7vRQWBAcA/cuoi8fNoSmghZCo56qMIl4qEshN4B9a29Pv+s4KnlFJAKgvG8B6HHnDYc9bE6m37aziUJ6CGcVLiVZaKp1CFr53qks= 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: ad6f5197-cdb7-4415-7ba9-08d6f94ccb35 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2019 09:09:14.5052 (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: DB8PR04MB6746 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSG91IFpoaXFpYW5nIDxaaGlxaWFuZy5Ib3VAbnhwLmNvbT4NCg0KTWFrZSB0aGUgbW9i aXZlaWxfaG9zdF9pbml0KCkgZnVuY3Rpb24gY2FuIGJlIHVzZWQgdG8gcmUtaW5pdA0KaG9zdCBj b250cm9sbGVyJ3MgUEFCIGFuZCBHUEVYIENTUiByZWdpc3RlciBibG9jaywgYXMgTlhQDQppbnRl Z3JhdGVkIE1vY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