Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp227034pxb; Fri, 15 Jan 2021 01:29:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyP763yc4NMWR6JtT/+iY6v0sw5aNgfcf/4a93m+60m7AW5o8EPW4tiDhNuDd1dIe0lDDIU X-Received: by 2002:a05:6402:1386:: with SMTP id b6mr8866978edv.42.1610702997274; Fri, 15 Jan 2021 01:29:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610702997; cv=none; d=google.com; s=arc-20160816; b=v7kES1U/5VTAJsfaRRcO8h7wrh5q2hFjORRBN1rAhh6SCIGg9dz+YiMXawxS88Ejpt apIfAvZ0x/LIyh8n9wbBwu7yu8gl6JnNrrNWYERsq5hxJO5xkPzjUGAExMl6c/ZfSCu7 INq1KMjD32faool+b5IlSC/hMTzleNJcHx1LfDEHIZlLeNT3TSgOtenProhGKJhJuE5r hH2ftNpKB4Aju+d2MA0mB0ByhxZQ26hir03uthtOv0CSj9fhajJZbIId/ZWSX8ovnTNl VLZlWjVMjp5gesxzyM5rUjOD/OaNDHS2zET7ydgAsmjQmk/LBEmyZ0RKPGyUbU4CP8Fi mwXg== 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=r+GiE1QO+pS6p0AuUfaNo8h1g/AljDxOFKiRDlXyv2j1VpqH4pC793MDrM+Ow5GTFI Rf9lyjOTPgwjzGXNd0MiBIfg4mQAxxqpEm9Edk0hqF5rr+v7cWAeaQbnLkkZSFjiIwu4 LaAZJF5W7OG6CyDXDpd5HGZrRuzPGBqbutlfAfhWBcRsIoNTgo7Fpico+uByyGyMFfy0 5kYG0RPNBHhYhLLoXcB12LrBEhmWa1XbRLL/UMYjy8gvnfdQm80gKbRaYlrlEIyB7QHi CYbiJ8fAQdgp0SLauhRxuEH6MdaSe5T+WYCPQOx4kNau/KSGIWsQco3gVorxovt4MQXG JZLA== 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 g22si3189139ejb.269.2021.01.15.01.29.32; Fri, 15 Jan 2021 01:29: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 S1726691AbhAOJ1z (ORCPT + 99 others); Fri, 15 Jan 2021 04:27:55 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:11393 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730543AbhAOJ1w (ORCPT ); Fri, 15 Jan 2021 04:27:52 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DHG5D1fXyz7Vlk; Fri, 15 Jan 2021 17:26:08 +0800 (CST) Received: from DESKTOP-5IS4806.china.huawei.com (10.174.184.42) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Fri, 15 Jan 2021 17:27:02 +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: [PATCH v2 0/2] vfio/iommu_type1: some fixes Date: Fri, 15 Jan 2021 17:26:41 +0800 Message-ID: <20210115092643.728-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