Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp577841rwb; Fri, 18 Nov 2022 05:40:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf5kQOpwI81nwUiEjbuoaY73EN6s9lFlYQxPwEVU9sWDMbbZ4r2/qgQbhcsuR5JkSLg7YRR2 X-Received: by 2002:a17:906:4f0b:b0:78d:aaf9:7b8c with SMTP id t11-20020a1709064f0b00b0078daaf97b8cmr6140782eju.229.1668778814444; Fri, 18 Nov 2022 05:40:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668778814; cv=none; d=google.com; s=arc-20160816; b=k/kqU2EvgkF//QC7OfmGdkHjN8Xh//QhJ0ncahCX34vOV0o9ZgxNAXuwd7iC5R+DBF Zu8cyT7y6NLgijQ5d4IZNdu1Jx4BkRDGKg/zR1ZnF2ts/nuMjtcL7Pdj0y4znwU9xGS2 awrtTEaY0OzVLxM/Y3VZ5qffA1EiHyZh4+ygMJ/Z5nVGDNI9UPCYyxMlyDviWQZJ8oMb qAl7XpGDjBcONYfqxgsTCk05rdnCnxlJS6tcw/5iBaMQ+4cbcjAGUEWyvAREU/VL0bfF +ayvDYGWKX78/hFALbvHn7SxsIWLjatkPzAxG/d/NV3Rne1nF/BZWAbIoXCmBr1JQPld CBAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=wC43CUGHQ/5Kf6dfYdK3BkocoYb1pAZJ53OoTDcNf8Y=; b=IpiHTl116688CJ8QFjWqlJOBoVJJK8giTMgrXYYG70bVXWQf/JUwEcNiKzxyJmCLdp YEzprVffvwxOBmK0AXdGKuFdce9eH+V5YpeO7gElkPNYfGNl2mxdu71FC6B1cQDAn1r1 EWNv9ZN9Oxs2VlhAriVjJyEzDh2RuVFxdVcr5YRlSikgk8yBKUGNMMsOzzew8DZ7yi9G V+Lk1+rIReXiFlsU3aiHBkqP0UapvSt1q+QxclPmLoMhyY0aPa2bE94AH1elVHlycw94 X8dfdG9IjtCio6goX5Ca7K/6BAcPMk1IsTPXvwAtKDf1hPsWBAg+rDlEzMHlueC1KDGw kcxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=HlA1H0xw; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tc26-20020a1709078d1a00b0078de51e1c3dsi2649076ejc.840.2022.11.18.05.39.49; Fri, 18 Nov 2022 05:40:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=HlA1H0xw; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241905AbiKRMeb (ORCPT + 91 others); Fri, 18 Nov 2022 07:34:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241403AbiKRMeT (ORCPT ); Fri, 18 Nov 2022 07:34:19 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A19EB239; Fri, 18 Nov 2022 04:34:16 -0800 (PST) Date: Fri, 18 Nov 2022 13:34:12 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668774854; 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: in-reply-to:in-reply-to:references:references; bh=wC43CUGHQ/5Kf6dfYdK3BkocoYb1pAZJ53OoTDcNf8Y=; b=HlA1H0xw89I6mNXZxJfbzjZ9tZMqyfafZ+aFSsNCpLNVFZG4Syb23GWBxogyjR8JsPjoz+ VaJuo4yvuubjsDScFNOYEhnvI/JnS50bh59eCBKM3N2Hq305ykQSGUWvNmepJIi6ASnhEc Egre6BUTheWsCqNBhLfaHD5mXybAE0gZ+FrjXOTtPkHjlj1OyuGGhfr+5pqAEy+A0dS6jh kcjwSSW9Tqj8sV8GpamJiaL4VlNH9fNu7sKS2Z78pFtMLjks7075EQmH7e+rMAWL9esRD6 dFYnvxDpqSenJCJPs1AmOrXBDZqyETwBR2olcWtWGEx6Ik89o+rGvcZQw37D4g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668774854; 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: in-reply-to:in-reply-to:references:references; bh=wC43CUGHQ/5Kf6dfYdK3BkocoYb1pAZJ53OoTDcNf8Y=; b=54xzcv2ka0wlcFsUA4oLtl2S4yVRp9s6mDU2H/QJ/HHTk3ITsJRt1buBfx5tYa3HRGPopw Vlw+RnH01UQJ2kAg== From: "Ahmed S. Darwish" To: Bjorn Helgaas Cc: Thomas Gleixner , LKML , x86@kernel.org, Joerg Roedel , Will Deacon , linux-pci@vger.kernel.org, Bjorn Helgaas , Lorenzo Pieralisi , Marc Zyngier , Greg Kroah-Hartman , Jason Gunthorpe , Dave Jiang , Alex Williamson , Kevin Tian , Dan Williams , Logan Gunthorpe , Ashok Raj , Jon Mason , Allen Hubbe , Reinette Chatre , Michael Ellerman , Christophe Leroy , linuxppc-dev@lists.ozlabs.org Subject: Re: [patch 23/39] PCI/MSI: Move pci_alloc_irq_vectors_affinity() to api.c Message-ID: References: <20221111122014.927531290@linutronix.de> <20221116162322.GA1115421@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221116162322.GA1115421@bhelgaas> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 16, 2022 at 10:23:22AM -0600, Bjorn Helgaas wrote: > On Fri, Nov 11, 2022 at 02:54:51PM +0100, Thomas Gleixner wrote: ... > > + > > +/** > > + * pci_alloc_irq_vectors_affinity() - Allocate multiple device interrupt > > + * vectors with affinity requirements > > + * @dev: the PCI device to operate on > > + * @min_vecs: minimum required number of vectors (must be >= 1) > > + * @max_vecs: maximum desired number of vectors > > + * @flags: allocation flags, as in pci_alloc_irq_vectors() > > + * @affd: affinity requirements (can be %NULL). > > + * > > + * Same as pci_alloc_irq_vectors(), but with the extra @affd parameter. > > + * Check that function docs, and &struct irq_affinity, for more details. > > Is "&struct irq_affinity" some kernel-doc syntax, or is the "&" > superfluous? > Hmmm, I stole it from Documentation/doc-guide/kernel-doc.rst. htmldoc parses it and generates a link to the referenced structure's kernel-doc. But, yeah, this was literally the first usage of such a doc pattern in the entire kernel's C code :) Thanks, -- Ahmed S. Darwish Linutronix GmbH