Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp46039pxu; Wed, 6 Jan 2021 20:48:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7IsWxoxXZ59B2q/QSyQuTAZMv5GVMv5hdzcQLiVSNOd75Qt06YVccpxx3FOaHHpITvm0G X-Received: by 2002:a05:6402:3186:: with SMTP id di6mr293932edb.16.1609994910532; Wed, 06 Jan 2021 20:48:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609994910; cv=none; d=google.com; s=arc-20160816; b=mHBZJ3X8PsBztrYEF4bw0zYGq1mXvw9sy8lzQ0EkwL9kw/AeGsl2kWleDT3xx3S1cS MGvxKD06KEG7UwUaFjdxqL2QoqQWzhrNVohVBoht/KICxoMMO7Ft5VICUzQE2DWnSO6g 8/JMxr0r+cQNGhZbHjNJP9qSMNUpn8sXREIOC/wamrdWz29eKWvHc2+VzmROPqRfzryf y/K+qqy2/bNNAK4v8nTOGhl82ePitw0p4OBE2L5fVt6x8dN306ZFDZvMrMobi47M5S8C o2PUh5pVfwZE39VYHM7J9nn309p0RVnelD2JFKg3QflGMJwIhidG8SVWuizpYoviTJmZ fNIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=/thYbqMlgvKrL2ydckXqn9+91Z3QR70vudjLpw58oTg=; b=Dokx1GVN5KIER7y0v4N7fm2KKoLvl52jWHWrLrd26oxFvHPkjIiheLIe4nhDSj3Ahd jtKATpziCnu4Hb6x03FABVm4H9B6G5iN7vbJ33DcLI5SMtM7TLaBYKejRXCBPMLCubbJ tcX4j5Z0xx/RmVjbPLHym8mHSwrm0sBkRfMPtcDcoUGMUCCp8dYGANK4t+9QAfpHTlye KuuiCC6kCqrDPgrORbRw8rjmn592JLR2Xz4VAzqrZRs0u3BV0cVd3WjK+Zd+EJZ5YOBz P38Jp/YB55zCcdZcEG3ezfDHFB3opVFx//lgWhxTlZJyz0ebrjm8vQm0YG8i2kjOPih8 Ercg== 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 r23si1849053edw.310.2021.01.06.20.48.07; Wed, 06 Jan 2021 20:48:30 -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 S1727016AbhAGEpQ (ORCPT + 99 others); Wed, 6 Jan 2021 23:45:16 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:9966 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726684AbhAGEpQ (ORCPT ); Wed, 6 Jan 2021 23:45:16 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4DBDC84vtmzj2Xl; Thu, 7 Jan 2021 12:43:48 +0800 (CST) Received: from DESKTOP-5IS4806.china.huawei.com (10.174.184.42) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.498.0; Thu, 7 Jan 2021 12:44:25 +0800 From: Keqian Zhu To: , , , , , Alex Williamson , Cornelia Huck , Will Deacon , "Marc Zyngier" , Catalin Marinas CC: Mark Rutland , James Morse , Robin Murphy , Joerg Roedel , "Daniel Lezcano" , Thomas Gleixner , Suzuki K Poulose , Julien Thierry , Andrew Morton , Alexios Zavras , , Subject: [PATCH 0/6] vfio/iommu_type1: Some optimizations about dirty tracking Date: Thu, 7 Jan 2021 12:43:55 +0800 Message-ID: <20210107044401.19828-1-zhukeqian1@huawei.com> X-Mailer: git-send-email 2.8.4.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.184.42] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, In patch series[1], I put forward some fixes and optimizations for vfio_iommu_type1. This extracts and improves the optimization part of it. [1] https://lore.kernel.org/linux-iommu/20201210073425.25960-1-zhukeqian1@huawei.com/T/#t Thanks, Keqian Keqian Zhu (6): vfio/iommu_type1: Make an explicit "promote" semantic vfio/iommu_type1: Ignore external domain when promote pinned_scope vfio/iommu_type1: Initially set the pinned_page_dirty_scope vfio/iommu_type1: Drop parameter "pgsize" of vfio_dma_bitmap_alloc_all vfio/iommu_type1: Drop parameter "pgsize" of vfio_iova_dirty_bitmap vfio/iommu_type1: Drop parameter "pgsize" of update_user_bitmap drivers/vfio/vfio_iommu_type1.c | 67 +++++++++++++-------------------- 1 file changed, 26 insertions(+), 41 deletions(-) -- 2.19.1