Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp697051pxb; Tue, 2 Feb 2021 15:56:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKalmQXX6iSo++FZ/i77oaVG/0N9pkFrld2ukpEyoZ+u8o1qsZkuiFyCmR5sH0UjVoGjd9 X-Received: by 2002:a17:906:654d:: with SMTP id u13mr456474ejn.530.1612310205915; Tue, 02 Feb 2021 15:56:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612310205; cv=none; d=google.com; s=arc-20160816; b=ty0wNV2g1GU7uJ74847buFL8RzgvgbhYiGHfxOp3xdNSO7A+L7B6MhrMk36zQB1NYX D89juwKWNjVcUYZvuQQuk592pgLiJoFlptqnWcfTWoeZ4NePUgJp4y4KJsuelD63MZYF LyFW8VIM4ZYOiafEgyJDqt1Zg5ZmpvHa6p64ZhRMYL/BsHK+dgK9zRlLJxFdTykAAJiX eAkNx7ApnH8L2JrQiy1ZhPOA6mROqSwFvWy0bcbcBTXMHzd+EmfQUEjQKN6gssUbBUJ3 M/gqk4mMuUVuQidIZUHPPbfQihRkfLO/591fijMPtpggQzKvI3worbc+SmxeyrBJM8wQ ab0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=c3tNOzSSX48fk87F3yP6GVgcUiDHmEx0tM3rnjbmDtU=; b=fDhnUx8YD3VISyaxYsfNiX9663X0j0XFmP57iOf6Xs8EQ7qbU8q/b+FWyzj+J8HobO PRkvpnBv5tmpYVXmamQ4/at87OzaxYKPRCVMB9gpNis8+nS7ll37KaCC9WWjcupqZYcx i0xQNFA5KiqUWM+eE4yJV0hYRR5FKaC3NJZeWrXWM7dfpD8kE6sxA7WxUbHcGzNZM359 dre0F9G2khw/4Knl1SH8ibZNHoJ2Zsm0bTIudD7YLHQqfhpPXbmuv1cYqX2voNJZkG1h ubyF5PjwN69AYd8vJJhC3GCBunKQc7aN48AIktmbk4BA9AC3Ajvafl6QmEvKq/3Z/Jg2 x+YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Raa+XSWp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n26si249417ejz.175.2021.02.02.15.56.22; Tue, 02 Feb 2021 15:56:45 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Raa+XSWp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237523AbhBBRZy (ORCPT + 99 others); Tue, 2 Feb 2021 12:25:54 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:30653 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236607AbhBBRX3 (ORCPT ); Tue, 2 Feb 2021 12:23:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612286524; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c3tNOzSSX48fk87F3yP6GVgcUiDHmEx0tM3rnjbmDtU=; b=Raa+XSWpQN0uCbjvLW34WHTPEDtCl5BH++meBTuc1YPp2fbzWJUWcMrXdzazfjxwsOfpDd KDHcFbicpD6iT5ZlqLXuke1PSZxc1i/ltrPrLzv/odFJDUNzpcLHK9RIVEL4WtWNBjloPX oydP4+GA1LKoCOb/QPA5osj6fgL9TN4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-289-0KyRTmpPNlGuBE9gPKJx7g-1; Tue, 02 Feb 2021 12:22:02 -0500 X-MC-Unique: 0KyRTmpPNlGuBE9gPKJx7g-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 675548049D0; Tue, 2 Feb 2021 17:21:58 +0000 (UTC) Received: from omen.home.shazbot.org (ovpn-112-255.phx2.redhat.com [10.3.112.255]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7F4F65D9D5; Tue, 2 Feb 2021 17:21:56 +0000 (UTC) Date: Tue, 2 Feb 2021 10:21:55 -0700 From: Alex Williamson To: Keqian Zhu Cc: , , , , , Kirti Wankhede , "Cornelia Huck" , 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: Re: [PATCH v3 0/2] vfio/iommu_type1: some fixes Message-ID: <20210202102155.60341d38@omen.home.shazbot.org> In-Reply-To: <20210122092635.19900-1-zhukeqian1@huawei.com> References: <20210122092635.19900-1-zhukeqian1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Jan 2021 17:26:33 +0800 Keqian Zhu wrote: > 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(-) > Applied to vfio next branch for v5.12, dropped WARN_ON in release on patch 2. Thanks, Alex