Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp483335ybj; Thu, 7 May 2020 00:01:48 -0700 (PDT) X-Google-Smtp-Source: APiQypKHI9gsRl0bpGRfjAKV5pbtZMISOMEVM63d4LC4jQFkRRrcZvKi5nqL34xDbyTXqeLyvx4X X-Received: by 2002:aa7:ce17:: with SMTP id d23mr10799160edv.89.1588834908329; Thu, 07 May 2020 00:01:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588834908; cv=none; d=google.com; s=arc-20160816; b=GjOucaLtw6/0OFHeJiDmdtc1ZF2eap6m3vOBL76+yg0b9uv3WLZ38bS6Nt15raenYe aMeAGoWWeuhXd4qmQRvGLppmy1VieAcx+yo7E27GNG0qtTJhBfbJhq4t7F/5b2sac+4D IAQkD6+ZMgBO9ceuOyr/e6snJFc5KFi7ngtYoXaE7AImJV1zKIKWTyueshEW5/zPq3NB +9LrtBbwVn6PyEy+0AtKitjK5+ZyMaK1iiHakhOgMf7um7cFMwkOxlc7zN06uC2D3dpT S1vBHaU/mCZbxEDtdbd+DXTTRSxXyqrFmAyqBHA7FJqmXnNxL/bzy7+GWt6KxZkjnQO8 jATg== 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:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=1GbljPoF4mWU/eyVJnl3BVEnonhhNYCR3GhTnz0rYkQ=; b=dmEO6mBJ5boMCjqrT5BMiXEzlSLXFvhOMjNux2LAkqYQ6fdW0Y/oXbeTwKJuU/7CrF 8IozuuyWm1qAplg67WNK53P/pydZ5jhHoX2X0efY08ODcAbdMsEoyPNdN3qhgwKlqY5N eA++AxgZ+3+acDhG9XtJ+Xrhvrhoa61jLe0OGLfRP5F9mVN5qlgXFWTCmUubWfgN+rNA ZzmScMVRO9NCa7q89pVfzR3k2lik7X2N5uY8kdQL6ZEXvZ2T4EX3OnoQJ7ILuKl8R7hZ Hz+ASG1rB2tK0LaE+8rGJAFFqpjbgtO6MiuWy5mfdLD3Iw5GDHt8p0/BiE7TDW6jglj9 BBug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a88si2727717edf.379.2020.05.07.00.01.25; Thu, 07 May 2020 00:01:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726222AbgEGG7g (ORCPT + 99 others); Thu, 7 May 2020 02:59:36 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:2160 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725834AbgEGG7f (ORCPT ); Thu, 7 May 2020 02:59:35 -0400 Received: from lhreml715-chm.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 3EF2735A948518C8025E; Thu, 7 May 2020 07:59:33 +0100 (IST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by lhreml715-chm.china.huawei.com (10.201.108.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 7 May 2020 07:59:32 +0100 Received: from lhreml710-chm.china.huawei.com ([169.254.81.184]) by lhreml710-chm.china.huawei.com ([169.254.81.184]) with mapi id 15.01.1913.007; Thu, 7 May 2020 07:59:32 +0100 From: Shameerali Kolothum Thodi To: Auger Eric , Zhangfei Gao , "eric.auger.pro@gmail.com" , "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "kvmarm@lists.cs.columbia.edu" , "will@kernel.org" , "joro@8bytes.org" , "maz@kernel.org" , "robin.murphy@arm.com" CC: "jean-philippe@linaro.org" , "alex.williamson@redhat.com" , "jacob.jun.pan@linux.intel.com" , "yi.l.liu@intel.com" , "peter.maydell@linaro.org" , "tn@semihalf.com" , "bbhushan2@marvell.com" Subject: RE: [PATCH v11 00/13] SMMUv3 Nested Stage Setup (IOMMU part) Thread-Topic: [PATCH v11 00/13] SMMUv3 Nested Stage Setup (IOMMU part) Thread-Index: AQHWEm6UKSWHwUIWVEisrcDF38xxfKh7GISAgAA31ACAFixYIIAK1E8A Date: Thu, 7 May 2020 06:59:32 +0000 Message-ID: References: <20200414150607.28488-1-eric.auger@redhat.com> <06fe02f7-2556-8986-2f1e-dcdf59773b8c@redhat.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.81.249] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRXJpYywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTaGFtZWVy YWxpIEtvbG90aHVtIFRob2RpDQo+IFNlbnQ6IDMwIEFwcmlsIDIwMjAgMTA6MzgNCj4gVG86ICdB dWdlciBFcmljJyA8ZXJpYy5hdWdlckByZWRoYXQuY29tPjsgWmhhbmdmZWkgR2FvDQo+IDx6aGFu Z2ZlaS5nYW9AbGluYXJvLm9yZz47IGVyaWMuYXVnZXIucHJvQGdtYWlsLmNvbTsNCj4gaW9tbXVA bGlzdHMubGludXgtZm91bmRhdGlvbi5vcmc7IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC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