Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp811368ybk; Wed, 13 May 2020 13:49:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzswg9qHyqdvvpvpZIf5HLj6O5xgzbRmXmy6uZQEKjssyY440S5ndZOrnpuVT9v9tRz48z/ X-Received: by 2002:a17:906:49d0:: with SMTP id w16mr811873ejv.364.1589402965743; Wed, 13 May 2020 13:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589402965; cv=none; d=google.com; s=arc-20160816; b=JIN+AKYsKeuwlOHybdK2ilgrp3I3B6mKV4BHumIMVoinwRaHTdRLTjEImghboS4ilC yDK2nachQrOd/KhDfm3JzxCveXZQsmZi+qkdvn3MJIKl5fwA54d3iJYTaD/P8FDN1B9i FLNsRa15iQzBYuQbytNryDxYwRkYRweveY6FhJkActZgJ43FVfr57iOqipeo5oRnFjGM PLWX585gVqulB8pPRyY4dJjGK4uV/XrKBl84eSFYd4mruZGJFw6GvWrzZf2GQKIHDel9 xP2udGIazHpsxf41nxYBb3MX/5IjzGyqQ+lOAvOhhjLwD26ml5LRFVCnG/I8ZIefPBhM fb2Q== 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; bh=21MUfUSMzqiPD+S1Yw79xNv1h+L82XoCJx9RDhHwolc=; b=Yyz04qizwGFiw0w2dPZS/wyzUI0es+3ULqcDEntJe9Ohw/Id8ITxYW+FlMyufVb2P1 6Dl6Ln96nyb3PfkWatEuESP3lGxvQwsudu1QoDC5GWvpSMRjVlFmU/J85xjCTErNOrYQ +aDUic5fw/erdrX3udbcwkCwnubdQ5frsDVrUIlBb5bk8ZRLkliDbNicbqzdE7+Zn4Ni pCV6cW75PjDdNUCq2qiG/Ecxovlh8QpjDyW8JSeR4JQ4SA1ZI+wB0XRwH7wIrtkVocoR OgyLF39GANoCFSWyO1sR1kCTbR9D3nuY+eggpL/ZwF9XlTlrQbJv8x1BZ2bCwgizA6dH NITQ== 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 lc10si573719ejb.156.2020.05.13.13.49.03; Wed, 13 May 2020 13:49:25 -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 S1732227AbgEMP6B (ORCPT + 99 others); Wed, 13 May 2020 11:58:01 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:2206 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728692AbgEMP6B (ORCPT ); Wed, 13 May 2020 11:58:01 -0400 Received: from lhreml710-chm.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 13164FCC90C3130C7CEA; Wed, 13 May 2020 16:57:59 +0100 (IST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Wed, 13 May 2020 16:57:58 +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; Wed, 13 May 2020 16:57:58 +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: AQHWEm6UKSWHwUIWVEisrcDF38xxfKh7GISAgAA31ACAFixYIIAK1E8AgAnONYCAADUt8A== Date: Wed, 13 May 2020 15:57:58 +0000 Message-ID: <9e323c4668e94ea89beec3689376b893@huawei.com> References: <20200414150607.28488-1-eric.auger@redhat.com> <06fe02f7-2556-8986-2f1e-dcdf59773b8c@redhat.com> <3858dd8c-ee55-b0d7-96cc-3c047ba8f652@redhat.com> In-Reply-To: <3858dd8c-ee55-b0d7-96cc-3c047ba8f652@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.27.251] 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 SGkgRXJpYywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBdWdlciBF cmljIFttYWlsdG86ZXJpYy5hdWdlckByZWRoYXQuY29tXQ0KPiBTZW50OiAxMyBNYXkgMjAyMCAx NDoyOQ0KPiBUbzogU2hhbWVlcmFsaSBLb2xvdGh1bSBUaG9kaSA8c2hhbWVlcmFsaS5rb2xvdGh1 bS50aG9kaUBodWF3ZWkuY29tPjsNCj4gWmh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