Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2347746pxa; Mon, 24 Aug 2020 11:34:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxitLVVB1BF+sQoA5QEDvwM6GtnW1jyQJa+/k6KiJ28YZ6he7KnoEBswnEWUXO7V2XgnZjG X-Received: by 2002:a50:d9c6:: with SMTP id x6mr6871985edj.271.1598294049351; Mon, 24 Aug 2020 11:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598294049; cv=none; d=google.com; s=arc-20160816; b=vDJh4Jvwdif6dZm7yOfkxWdqwlLdKUgYpQK5/Pajmusz4DodpLm3opnXRdLTkXOCmX 8Ptjrj4pUSsr36JmuvMeIwn31Q1RuqwOk9qQOdAUtczZxr7xtlfeXN6eNEuDy5v4MxGZ IO90X1iFX+88Pyg5RfAXcm9m+uIrjCu3x647dleIzNVcLfwuUHjb1EvunGzG7jF87VRs H+jpEoxIjoYjbi2nPxGpstv0OJGfQH5iBcZT493qTTQrC8uNzhPk2pdNGVkTnqDKX8aB IApJmzCyzWadIqb98Y+e0fL9BsVMHD1Lc0uNB2PoYo8WsDhhrAVC05MjtUvBPoFeRqCu 1fyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=eeb/lofeYf1TCWyrHZnrHrCwUORKtAAL/E3G5LqeoV8=; b=TTvegQWxRDqSWtlg8IJ6EwIMeg9U5mzx9jgedu3PUZPGw3DFgWbveD5K76rc/L0J9N B5TUEspXSAaD3K+op82cvZErsQFd+jLFNTlCnxKwVKnxdtqQuxkSJX6+xUPEWzdet4JG HtC5J3duMXP7Fi8FIT50WgsOC2HfOGLpuaGdawCkCSrRiPQPzauW1JfGm2oZhIWROlL1 PTb2DeWubkFzEXgIf1ikcSKtoWP4a9c6rtjnMBgjrPcOLI86uGsy2SeMxya7NzeE62CR MaWH+30bwamn1shyuXQO0jANMjwf80M27szjPUt7zyzUcQJ5OrEQ9aZbANVbfMbqRcux HD7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=tyAhmC5N; 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 v16si8634035ejk.147.2020.08.24.11.33.46; Mon, 24 Aug 2020 11:34:09 -0700 (PDT) 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=fail header.i=@infradead.org header.s=casper.20170209 header.b=tyAhmC5N; 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 S1726457AbgHXSbP (ORCPT + 99 others); Mon, 24 Aug 2020 14:31:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725780AbgHXSbN (ORCPT ); Mon, 24 Aug 2020 14:31:13 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A63A7C061573 for ; Mon, 24 Aug 2020 11:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=eeb/lofeYf1TCWyrHZnrHrCwUORKtAAL/E3G5LqeoV8=; b=tyAhmC5NK1NmIxVurpWk0ICF7W 0GOZihikQ5cGdlRZt9BfRQqngR5HtVAH3DQcGdXkOU+6cUocfIBerC91iW1CFEphd349WGoxVOq1p xKcoMVE9AA10kmv+1W+pxwTt7CDcZL/NGU17dUdS/b/KDvrAgH1xJKYmq8yWB3ak2y0QxiBr2GzB8 G7eGKwOz3CPbCHCbKdZ+U+kFu9yxctqMNghSrfsOuKS2mjUGdDb8vhCsUEGr78vb08PmKHbwqmVeS RuQZzr3Lb7NmvjANm3CJOk4KvNuf2aRFkz2kmtT5ZFIQ3X2+C3MZqfWYTq9GSzHnF9el1bnHZoasu YjYeyNtg==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAHFF-0000zM-N6; Mon, 24 Aug 2020 18:31:02 +0000 Subject: Re: [PATCH v2 3/9] iommu/ioasid: Introduce ioasid_set APIs To: Jean-Philippe Brucker , Jacob Pan Cc: iommu@lists.linux-foundation.org, LKML , Jean-Philippe Brucker , Lu Baolu , Joerg Roedel , David Woodhouse , Yi Liu , "Tian, Kevin" , Raj Ashok , Eric Auger , Wu Hao References: <1598070918-21321-1-git-send-email-jacob.jun.pan@linux.intel.com> <1598070918-21321-4-git-send-email-jacob.jun.pan@linux.intel.com> <20200824182848.GB3210689@myrica> From: Randy Dunlap Message-ID: Date: Mon, 24 Aug 2020 11:30:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200824182848.GB3210689@myrica> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/24/20 11:28 AM, Jean-Philippe Brucker wrote: >> +/** >> + * struct ioasid_data - Meta data about ioasid >> + * >> + * @id: Unique ID >> + * @users Number of active users >> + * @state Track state of the IOASID >> + * @set Meta data of the set this IOASID belongs to >> + * @private Private data associated with the IOASID >> + * @rcu For free after RCU grace period > nit: it would be nicer to follow the struct order and use a ':' after each struct member name, as is done for @id: -- ~Randy