Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp940373pxb; Fri, 22 Jan 2021 03:12:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwJ2Z4lfkuoF7Hie9ZRbzIm+VCjUfN8C1Sac1s5vKmFy+FLx3xTrm1Aw4smEwp2dFIYMwG X-Received: by 2002:a05:6402:35ca:: with SMTP id z10mr2838774edc.186.1611313977299; Fri, 22 Jan 2021 03:12:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611313977; cv=none; d=google.com; s=arc-20160816; b=MPGwgECpkHp0VDL1C/VdlA0LuyuS8qZAjNBOWA7ri+9WS+QHM7JPgoEhsm4GazW0uX EQQEhqHetKQsR6Fcs+Pio0llFyZQGh8BqEwDI2JO3ef6WiwhPGPp40c7fJprEt/puLm1 XyA0CSmE6Ags3O6MzS//6BTwwQ4F+pj1RFdBFn5aZJsSeAKmTusnscacrN07n5MC5tuN lvN4x7I+03l60jj0MwRwlFf8okc2gwvmwyMUqXPgcjYexXqQx2sk/SrD214ncNb8Pf/G CiGqnUkGxFT9zLZ+e/fO4cDzHypbO1us+hkWXvJFlJ67+loTMy9aHO3eS0dOlxgAIQt3 SVLQ== 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=yXpxc+QsCoXwXpbjNGm/h42OLTSlJ4b+EM/2IN56Jeg=; b=lHaottvQK8nrUF0pgy93zcaIc77GkUR7/EtrDmoL7a/FCFkCt16we6zWNRmBng4lNt 2Tm79z1730cahlFd1Vu7K480pmBad1AleyTeFTc11pI+hr2/KdavS00/fLf0ycpEwbGh oAy3YJC32L6B2M5j2Q3omSjeK4N6CLcAvL7TvG78BF7Iv2ZDWi0sMPJnJ1v3BC+BdhUJ YttftDgCDkQ6L1l2wQB4e+tAFo3/dyjOhsMSV2JGEHaQEJ2w5Ns+FOqGuGpnTCglAcZS 6Nz7HO3ETUmzVOFR2a5WFr2jm9cf9Wc3UOxvFO3/i5SJ7BTPmihT4UTOA57ywHmUCjoo b8DA== 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 rp6si2834731ejb.450.2021.01.22.03.12.33; Fri, 22 Jan 2021 03:12: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 S1727875AbhAVLHG (ORCPT + 99 others); Fri, 22 Jan 2021 06:07:06 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11124 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727217AbhAVJ1o (ORCPT ); Fri, 22 Jan 2021 04:27:44 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DMYld4J3Hz15svp; Fri, 22 Jan 2021 17:25:49 +0800 (CST) Received: from DESKTOP-5IS4806.china.huawei.com (10.174.184.42) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.498.0; Fri, 22 Jan 2021 17:26:47 +0800 From: Keqian Zhu To: , , , , , Alex Williamson , Kirti Wankhede , "Cornelia Huck" CC: Will Deacon , Marc Zyngier , "Catalin Marinas" , Mark Rutland , "James Morse" , Robin Murphy , "Joerg Roedel" , Daniel Lezcano , "Thomas Gleixner" , Suzuki K Poulose , Julien Thierry , Andrew Morton , Alexios Zavras , , Subject: [PATCH v3 0/2] vfio/iommu_type1: some fixes Date: Fri, 22 Jan 2021 17:26:33 +0800 Message-ID: <20210122092635.19900-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 v3: - Populate bitmap unconditionally. - Sanity check notifier when remove all domains. 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: Fix some sanity checks in detach group drivers/vfio/vfio_iommu_type1.c | 50 +++++++++++++++++---------------- 1 file changed, 26 insertions(+), 24 deletions(-) -- 2.19.1