Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp514946pxb; Wed, 27 Jan 2021 13:34:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwFAvMO/sDywqrxTMbYkFsDpwyz5T5A4pope/uqaSgRQkSxO+QHEhxifadoM2xjiX3WU2TB X-Received: by 2002:a05:6402:18f:: with SMTP id r15mr11228000edv.53.1611783265117; Wed, 27 Jan 2021 13:34:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611783265; cv=none; d=google.com; s=arc-20160816; b=oaDNT6ZFj2TwPZwKpw4D31jxkvaws9K8P1u1thEof67DN7BPysKsxS41fIxzI/OOzW HmP/xLqJagXi9PTrASWkGy/LyDDYI+ehIJe/i07TlBt1aGvO6JKauZmM5WGB6JgAhJYK MZr2g0xwNWGJYBXhObVbrygfFTrrZh5pqM9sMpnqeV5/Lo5O+YY+zc7YNo2NtQBoHWb/ o3i+z7MSKBXz6rki0XOij9c6L8y2vpeb472tt2IXfT1cXaEcz23TcuiP9Atk6+wdfFfL zQAaA14aaDpFScbg1wFcYaDdo+T5Wmd8a/QEokYVdil93EMIeKjCgn5VHhNMAX24oBzg lOqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=xGAfGOzTrZKkO49TxMVSQe7Tl8yHWVZfu0rsgm5ugHc=; b=BedDSUhvajqidXMh7CFOJCZgJPe91uMJpdbnH3SAPC8+SiQX6nNxc6mNWQoI24HoTo DTVBrchLOK+XJKugWyBHycs7AKQH7vi5R9QzidmyvHKekMU2spR5Fm3RWG5VMYHrI4vU TYcPs89UIkFdNjwBOAJ+fib5gyBGOoGlLrTAW3tIcqD7K+DNIhl4/cJ6osLPmX9ySmVl DKUjpWLr2qAT9bB2fDuOGL136Sh7HVJVwWzFH69IhA3+XXezT0PeFiP3XBUvSy+ZLLw7 SITUPuXnWsu2Zm73khtGGw++ZySSrMY+/Ag47H9I18zZf30WzhRmLbJfX0dOpeUJU8D0 JJog== 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 q26si1362540eja.258.2021.01.27.13.33.57; Wed, 27 Jan 2021 13:34:25 -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 S234129AbhA0Hl1 (ORCPT + 99 others); Wed, 27 Jan 2021 02:41:27 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:11449 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234301AbhA0HhG (ORCPT ); Wed, 27 Jan 2021 02:37:06 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4DQb3s05f2zjCv3; Wed, 27 Jan 2021 15:35:21 +0800 (CST) Received: from [10.174.184.42] (10.174.184.42) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Wed, 27 Jan 2021 15:36:09 +0800 Subject: Re: [PATCH 1/1] iommu/arm-smmu-v3: add support for BBML To: Will Deacon , Robin Murphy References: <20201126034230.777-1-thunder.leizhen@huawei.com> <20210122125132.GB24102@willie-the-truck> <1bfd1ca0-953e-e943-f87e-144d5537bd0c@arm.com> <20210126101230.GA29204@willie-the-truck> <8a9685ec-67aa-824f-5429-f408bf79c5ab@huawei.com> CC: "Leizhen (ThunderTown)" , "Jean-Philippe Brucker" , Joerg Roedel , "Yang Yingliang" , linux-kernel , iommu , Jonathan Cameron , linux-arm-kernel From: Keqian Zhu Message-ID: <32f4752f-6954-183a-a0c1-b5d719c85b67@huawei.com> Date: Wed, 27 Jan 2021 15:36:08 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <8a9685ec-67aa-824f-5429-f408bf79c5ab@huawei.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.184.42] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/1/27 10:01, Leizhen (ThunderTown) wrote: > > > On 2021/1/26 18:12, Will Deacon wrote: >> On Mon, Jan 25, 2021 at 08:23:40PM +0000, Robin Murphy wrote: >>> Now we probably will need some degreee of BBML feature awareness for the >>> sake of SVA if and when we start using it for CPU pagetables, but I still >>> cannot see any need to consider it in io-pgtable. >> >> Agreed; I don't think this is something that io-pgtable should have to care >> about. Hi, I have a question here :-). If the old table is not live, then the break procedure seems unnecessary. Do I miss something? Thanks, Keqian > > Yes, the SVA works in stall mode, and the failed device access requests are not > discarded. > > Let me look for examples. The BBML usage scenario was told by a former colleague. > >> >> Will >> >> . >> > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > . >