Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40D3DC433EF for ; Mon, 6 Dec 2021 14:44:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344406AbhLFOrl (ORCPT ); Mon, 6 Dec 2021 09:47:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242349AbhLFOrN (ORCPT ); Mon, 6 Dec 2021 09:47:13 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8BB8C061746; Mon, 6 Dec 2021 06:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=/a5egbMTKnz+y2PkQ/A6YESbzjYfNwkN7J8oOXJTJpE=; b=un+kJXGRC5lJBrry7pJWW5Ep9W s48iuLXdisb2MdlUCWWECgs3n5gxcMRYbw3HbWU+YPNjksRvtYAf0mGW0RO7/eSkS5dEk0nd1Qayy ZChUFDtKAiB779/GwiqNlSTyxmxyT5rbz6PFkiWBriuU9rPQ8oqO36aW5JQhMHUR1NE6dCeEzXjbd k30bCN5vDwXECDKRiMy1bfaJPMdSedQxfNDVDvkwrO/XU2d+6XdKp0TcrXJl3JUnTleHPMKV+cSVV OAQVEWqdn388ngnZSsgBXoHcc0kdZ/IiaL4ELbCM8mVCBs4SqIc5kFxccbclRJvowc7hyUomlpIR6 IWkUCYqA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1muFDH-004GOU-NG; Mon, 06 Dec 2021 14:43:31 +0000 Date: Mon, 6 Dec 2021 06:43:31 -0800 From: Christoph Hellwig To: Lu Baolu Cc: Greg Kroah-Hartman , Joerg Roedel , Alex Williamson , Bjorn Helgaas , Jason Gunthorpe , Christoph Hellwig , Kevin Tian , Ashok Raj , Will Deacon , Robin Murphy , Dan Williams , rafael@kernel.org, Diana Craciun , Cornelia Huck , Eric Auger , Liu Yi L , Jacob jun Pan , Chaitanya Kulkarni , Stuart Yoder , Laurentiu Tudor , Thierry Reding , David Airlie , Daniel Vetter , Jonathan Hunter , Li Yang , Dmitry Osipenko , iommu@lists.linux-foundation.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 12/18] iommu: Add iommu_at[de]tach_device_shared() for multi-device groups Message-ID: References: <20211206015903.88687-1-baolu.lu@linux.intel.com> <20211206015903.88687-13-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211206015903.88687-13-baolu.lu@linux.intel.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The new helpers really could use a kerneldoc comment. Also no need for the refcount_t with it's atomic operations for attach_cnt either.