Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp250919pxb; Fri, 15 Jan 2021 02:15:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1SwH/JVMF1RMntH5ZsoTLPf8rRBjCPnTRgQErUjOrGZNMt8ioruIE5zLrrclV77eNfEre X-Received: by 2002:a17:906:c087:: with SMTP id f7mr8354653ejz.492.1610705757856; Fri, 15 Jan 2021 02:15:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610705757; cv=none; d=google.com; s=arc-20160816; b=uAujGpcgV4mhEiIUVkA/RVCq/15cizqDTLLq6WN7HZv7426RDXrRbwM9BQfV8jvA0J qJvKl+O4ZCuFJovcFkOIm9UxyS+AP3s5Nrrykaaptr9naFNa+jItnKJ4UrUFDUhJTMGj YhR29Fhd73BcZynst+zps25K6rIUJ0Ygb1RFaLbVdBbFsCDSY0QdAnfVND58qt5F+B76 6TYLABKYPuj1+VtJhRd1bevYSiMEoqnp/S0j5wFi8ALmlNBSZBIlvuAliyC4x1FFZ2wk 0H48ZAKOyhr5MQMMqaEwG/ka3ND9rY3P7zKVNFCaTnLpcMx7dFDqQ40dJhTYBr95Myu4 QAHQ== 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=DFLhOFujhe/sOEgO05CpupPF8Uch+ZpqpQE0at9S2nM=; b=FkTyU/EZBzV5QZMODqg7h4QdMEcuSLu9nlLAi2k0qMHNQJntfKqR+nq0AiPgRquCwE UvQSPqJ/jw6ZS+CS40tOAYrxBnqvTOqbb2JiDgWrNynm8O/siJDf5905aarDJ8hg8eFK Jwfx/qWCZ3Rzkli1lV3WVdJH5lmt60zugnu+ezNblRNhwtWaC/wm1P93+f9n5RRJ+Cnk 7k/0mD7A7QOW15w/bdsnR4tU/cxL8PNZStWsGh0l1Tgr5iIzjXpw5ugArPdJQkQKUOCd C7O9vDNFonlgX3YLZgxSCZc8f8LrAURudRN05vF2PFfQ4B5miLqKQFcZDulbCs34rn/6 JquA== 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 l13si3305438ejr.754.2021.01.15.02.15.34; Fri, 15 Jan 2021 02:15:57 -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 S1729056AbhAOKOf (ORCPT + 99 others); Fri, 15 Jan 2021 05:14:35 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:10661 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728260AbhAOKOf (ORCPT ); Fri, 15 Jan 2021 05:14:35 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DHH744pPGz15tPQ; Fri, 15 Jan 2021 18:12:48 +0800 (CST) Received: from DESKTOP-5IS4806.china.huawei.com (10.174.184.42) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Fri, 15 Jan 2021 18:13:40 +0800 From: Keqian Zhu To: , , , , , Alex Williamson , Kirti Wankhede , 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: [RESEND PATCH v2 0/2] vfio/iommu_type1: some fixes Date: Fri, 15 Jan 2021 18:13:19 +0800 Message-ID: <20210115101321.12084-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 changelog: v2: - Address suggestions from Alex. - Remove unnecessary patches. Keqian Zhu (2): vfio/iommu_type1: Populate full dirty when detach non-pinned group vfio/iommu_type1: Sanity check pfn_list when remove vfio_dma drivers/vfio/vfio_iommu_type1.c | 42 +++++++++++++++++---------------- 1 file changed, 22 insertions(+), 20 deletions(-) -- 2.19.1