Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp428659pxb; Thu, 14 Jan 2021 09:12:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLM0MNmv2YpKvRqH8kzDedwSb4ksiS5/fhgxp/GNcRf/IvspTwtTYPN2w9/iflhNLkQNEh X-Received: by 2002:a05:6402:13d3:: with SMTP id a19mr1659153edx.8.1610644366388; Thu, 14 Jan 2021 09:12:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610644366; cv=none; d=google.com; s=arc-20160816; b=HtMnoyP5v6qlFEnae8NFHavwYx5gHvzNrfwxn+FB3P7LXWKTsyB1ih7ubF5d1S78uT 5oK5/pEetO01GgdFMp7cgo5AYFUewu3G128AaubPYYuPbz7cl6B/whUh2s8ujmqzelOS fCDLuCTzOL+i6yczwG1HO8+5xxVSOSCOaI3MPoXDXxsP36GBdrYrHn7kCY6oQkutiOm5 8mYDSE64TWKcVtgAK5nQpSqJBDpvuG2x8ddhwsuTeBlskVMcm8m+DqLpWGX5l+biQI88 1XOLUft/KEWKRTGScJtA+QNAv0YsNZot9Eoh4Gc06Q0DbwapylJ8EHu8nsR+kDTkCzOU UfVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=nVNAIdbwsENYeOI4fAR2GyTPXPcuoVOMDJk1C2B3fgU=; b=sdggfu/hi1sObB4JBSrdfCkIjLTJR7UcKrHGxwXYO1M9zZquKp+RpTyXe0QCca2lEy 1L2acaBfbxrfEea48h59bocGycMHjxuCEnD7DXDpcHZbA827Yq48goOuDMv8728EKvdo QWVZLq5LixBu4S+DGlOmCyhLBlDkAVaSwDIf/R5uHVUAG3yRIafyIl9wVRwk/RQZNWnW C4c/iUZv1F9nS7Zuhf9XiNT/MIvZZ2ZhC0r5bK9g5YxICVc4stm+evWuwS5xnyCfOach E1mlIqv1SgKkdg5uOKdUUd4zZ9f2xNdY+lVRwCiTRFAFkbSYz+rwrwY4i5ZeM11TsEm9 9XuQ== 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 u4si2865412edo.323.2021.01.14.09.12.17; Thu, 14 Jan 2021 09:12:46 -0800 (PST) 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 S1728239AbhANRJy (ORCPT + 99 others); Thu, 14 Jan 2021 12:09:54 -0500 Received: from szxga02-in.huawei.com ([45.249.212.188]:2978 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727864AbhANRJx (ORCPT ); Thu, 14 Jan 2021 12:09:53 -0500 Received: from DGGEMM402-HUB.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4DGrNq2mQkzR3Vn; Fri, 15 Jan 2021 01:08:11 +0800 (CST) Received: from dggemi751-chm.china.huawei.com (10.1.198.137) by DGGEMM402-HUB.china.huawei.com (10.3.20.210) with Microsoft SMTP Server (TLS) id 14.3.498.0; Fri, 15 Jan 2021 01:09:07 +0800 Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by dggemi751-chm.china.huawei.com (10.1.198.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Fri, 15 Jan 2021 01:09:06 +0800 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.2106.002; Thu, 14 Jan 2021 17:09:04 +0000 From: Shameerali Kolothum Thodi To: Auger Eric , Jean-Philippe Brucker CC: Xieyingtai , "alex.williamson@redhat.com" , wangxingang , "kvm@vger.kernel.org" , "maz@kernel.org" , "linux-kernel@vger.kernel.org" , "vivek.gautam@arm.com" , "iommu@lists.linux-foundation.org" , qubingbing , "Zengtao (B)" , "zhangfei.gao@linaro.org" , "eric.auger.pro@gmail.com" , "will@kernel.org" , "kvmarm@lists.cs.columbia.edu" , "robin.murphy@arm.com" Subject: RE: [PATCH v13 07/15] iommu/smmuv3: Allow stage 1 invalidation with unmanaged ASIDs Thread-Topic: [PATCH v13 07/15] iommu/smmuv3: Allow stage 1 invalidation with unmanaged ASIDs Thread-Index: AQHWvZ36CODK3kmCyk2T9hmchYhCqqniWTe/gANqCPCAAQgyAIAABi8QgAACSYCAQN3PgIAAAmvA Date: Thu, 14 Jan 2021 17:09:04 +0000 Message-ID: <0bfab7bc762d4356bed81255749f94c3@huawei.com> References: <20201118112151.25412-8-eric.auger@redhat.com> <1606829590-25924-1-git-send-email-wangxingang5@huawei.com> <2e69adf5-8207-64f7-fa8e-9f2bd3a3c4e3@redhat.com> <20201204095338.GA1912466@myrica> <2de03a797517452cbfeab022e12612b7@huawei.com> <0bf50dd6-ef3c-7aba-cbc1-1c2e17088470@redhat.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.83.240] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRXJpYywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBdWdlciBF cmljIFttYWlsdG86ZXJpY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