Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp880279pxb; Wed, 27 Oct 2021 14:21:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzBna+LTxcSp9KPSqxM7KL1ZNFwcT6+uYr4yI4lcIteyfiMJcX6hwYB/lO2vl8S/2MJGL5 X-Received: by 2002:a17:907:2483:: with SMTP id zg3mr43807ejb.65.1635369694215; Wed, 27 Oct 2021 14:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635369694; cv=none; d=google.com; s=arc-20160816; b=mUZJUzKn6q/mxYRatZuKlw9RwTUgBQ3Af/aWPQQN3H0GZA0Aj9cUpibffcOgf3R+RI g0kv6dZxMrTqfV7Ut9ckaB4cO67zaSfiJfbq8ZYPRmTaVzcU+S/yEpPnJmM8oX3mqt8X KwNyX+Tysn4osJlxVqi59rVEue5LTIn2s0N8uyfhGC0t8dxDuhJSdb8HKTZ4FqWkIIGW A3N2kLwHVAGmYWJoSor60Iizw1wBkFVkbLT3roXZagltTfTzStYmVIz1c/i29bNtQHDz kP/Cx+/KGcPfn67c0B8kDiWZrHqRZxTvdKKix9rCkZS/2/wZKV3RUHzBASWSYA/nauRa h7uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Ik15hIOD3eoVX+ZlyLnF/4DsWdbPmo1n3Jf+vo7OOUY=; b=xC+vwlhqUmgcZh/9AWu2YTGNg+wrmC8SK7lp/cX37KVlap9JUOxhP38OmeEHO2kwZV miUo9HwAAFGLRDJgxfX0cAZhhif/PBMDyvBdSgR/XSv0zPsSRqR8KvrlTbwNJCfpj9Tv r6eBjS+khjeq52f9rZc+5mzQvul+dMEpo2g4XYAWkdYQPCCRy7XlFBJR9wJiUt5LP/zZ 9MJqfCiTuyXZ+n+c1uba4LWO2DIZ1EO0RTWgS33Br9Uhv1JOJ2Z6VZ5TckiUFdGYhhq7 HhgV/aGNs3gRtbLMJnXugw3/mPXVn902jS0GymFtH4qChNz9bAc693+412lZDbfX/1j0 Jo0A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 28si1209807ejb.46.2021.10.27.14.21.10; Wed, 27 Oct 2021 14:21:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240035AbhJ0J16 (ORCPT + 97 others); Wed, 27 Oct 2021 05:27:58 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:4033 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbhJ0J15 (ORCPT ); Wed, 27 Oct 2021 05:27:57 -0400 Received: from fraeml715-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4HfNTf60vGz6H6sb; Wed, 27 Oct 2021 17:20:54 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Wed, 27 Oct 2021 11:25:29 +0200 Received: from [10.47.27.251] (10.47.27.251) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Wed, 27 Oct 2021 10:25:28 +0100 Subject: Re: [PATCH 1/5] iova: Move fast alloc size roundup into alloc_iova_fast() To: Joerg Roedel , Will Deacon CC: Jason Wang , mst , Robin Murphy , Yongji Xie , linux-kernel , , virtualization , , , Lu Baolu References: <1632477717-5254-1-git-send-email-john.garry@huawei.com> <1632477717-5254-2-git-send-email-john.garry@huawei.com> From: John Garry Message-ID: Date: Wed, 27 Oct 2021 10:25:17 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.27.251] X-ClientProxiedBy: lhreml712-chm.china.huawei.com (10.201.108.63) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/10/2021 03:06, Jason Wang wrote: > On Fri, Sep 24, 2021 at 6:07 PM John Garry wrote: >> It really is a property of the IOVA rcache code that we need to alloc a >> power-of-2 size, so relocate the functionality to resize into >> alloc_iova_fast(), rather than the callsites. >> >> Signed-off-by: John Garry > Acked-by: Jason Wang Thanks > Hi Joerg, Can you pick up this patch only for 5.16? It has a good few tags, and I'm waiting for feedback/update from Robin on the rest of the series. Cheers, John