Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3391547pxj; Mon, 7 Jun 2021 09:27:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZCWiWUUwWJv6HHMGxlO915gunUMa+hE31zmgW5ov8Uth2ZRhtpLCU5WQSYU55n5bt05pB X-Received: by 2002:a17:906:b10e:: with SMTP id u14mr18488291ejy.546.1623083267733; Mon, 07 Jun 2021 09:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623083267; cv=none; d=google.com; s=arc-20160816; b=zHVgKqEAS1awavW2p+a7r8vZ1B5I5YH3olXP0jtOhgZkI5dHZeu4MHLeTVuDMT5seU 7+eS4dzt6MySRPl34TOFwbBMXIqzABCrCI3IhEHSGRu65QWaRegx5NK7X5FlMwExC8Ps VIQQP12k7syxdXwHp1vwcDPp17hAVV5lz5QDw9QjKnNGh78dytEo+9Z3MzB2ltLlwunS JgSrv+Tl7o1dw/A6QXgEtDpZUrRFfGrtT3NRmSHlo3cNqNNfzALmkhKil4OUeJQvtpSR VYRpnjJE5NHH8+OnFK8p/8e0CIJ+V/KUNXAl5G+E80o9PCqF9hxnJAoh/rs9x2s0Px4c uyDw== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=NYl6dMBwuBOeNLaFtwYyYkn2HVE8wsuZzzM37YZz5jg=; b=TkZVBUYFBPjEJ2it9lKhr/8vWm0LrlFsR+tW+NYlOABUrT8FpDl/hc4TaUojk0AH6B AbvVaeSJJuRp8iVbGumqBJOo7tUN+aOh5tGMbPqCc0Ygtqgth/WPcJdd51t/OLI+xZES JBEw2gM9Pyzf99fFfDhPHk7LC/PZBmWXJFyEni5LS9hL1VGlwRwLuffCmxCEnPZqetqA NYkQ7qiLi82TsymOJdCPhxtXAV5TIQFTyt5w5/8u4V8ffN7VM7Wq2foHGKM7ak6yH+4U M7dfKFTp619pIWhQu+i+HyzOZEwWwa7eAtl3gJToO+eF/ybVuUBGEj7cdft403HziGhJ iVgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jaAm026j; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si12844308edq.552.2021.06.07.09.27.24; Mon, 07 Jun 2021 09:27:47 -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=pass header.i=@kernel.org header.s=k20201202 header.b=jaAm026j; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232259AbhFGQ0T (ORCPT + 99 others); Mon, 7 Jun 2021 12:26:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:59832 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233108AbhFGQW1 (ORCPT ); Mon, 7 Jun 2021 12:22:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 77B7361922; Mon, 7 Jun 2021 16:15:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623082516; bh=PDrSDWqJK08hzrvryP+C2U4KMYcUrGcWbd+BDrHDCdI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=jaAm026jBYSQTqGZkG0y6bYor/w4P/pMTBgv1Ad25MEeTol+68Zn3lZdAiNTgHeJ+ Ln/CLnpyKeYC8+E/TGjJlOtK3O/1gncy6Tthl4cKvqUUZ0UrykIlPa8hclODWk/N+m 9Nows2ysfgvBX5nEDhGz9gdmANukJ/JBo+aKVxITtYvZU5h+S+6d3T8Hs161TY/rHd 7Ys23L6b6IhFxScm6uHt5M1JszHhoIj61sKoGF0FbmKP4f84KGqwNbseYEAx+eFECF FMKHVOKF9iRQ0F/BLz6ys4A6gmjiFlRDD17zdsvAcHCGSghy55tq73Nc0i+HqNwXAJ h7+SDAuH32KKw== Date: Mon, 7 Jun 2021 11:15:15 -0500 From: Bjorn Helgaas To: Andy Shevchenko Cc: Dejin Zheng , corbet@lwn.net, jarkko.nikula@linux.intel.com, mika.westerberg@linux.intel.com, rric@kernel.org, bhelgaas@google.com, wsa@kernel.org, linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Thomas Gleixner , Alexander Gordeev , Jonathan Derrick , Kurt Schwemmer , Logan Gunthorpe Subject: Re: [PATCH v5 1/4] PCI: Introduce pcim_alloc_irq_vectors() Message-ID: <20210607161515.GA2495140@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 02, 2021 at 11:51:10AM +0300, Andy Shevchenko wrote: > On Thu, May 06, 2021 at 12:27:16AM +0800, Dejin Zheng wrote: > > On Tue, Mar 23, 2021 at 05:47:10PM -0500, Bjorn Helgaas wrote: > > > [+cc Christoph, Thomas, Alexander, in case you're interested] > > > [+cc Jonathan, Kurt, Logan: vmd.c and switchtec.c use managed resources > > > and pci_alloc_irq_vectors()] > > > > On Fri, Feb 26, 2021 at 11:50:53PM +0800, Dejin Zheng wrote: > > > > Introduce pcim_alloc_irq_vectors(), a device-managed version of > > > > pci_alloc_irq_vectors(). Introducing this function can simplify > > > > the error handling path in many drivers. > > > > > > > > And use pci_free_irq_vectors() to replace some code in pcim_release(), > > > > they are equivalent, and no functional change. It is more explicit > > > > that pcim_alloc_irq_vectors() is a device-managed function. > > > > > > > > Suggested-by: Andy Shevchenko > > > > Signed-off-by: Dejin Zheng > > > > > > Acked-by: Bjorn Helgaas > > > > > > Let me know if you'd like me to take the series. > > > > > Hi Bjorn, > > > > These patches are still invisible on the mainline, could you help me to > > take it? Thanks very much! > > I guess you have to rebase them on top of the latest rc (or PCI for-next) and > send with a cover letter. No need to rebase them. The ideal is to base them on the "main" branch from https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/ (currently v5.13-rc) because that's what I base topic branches on. But I can deal with whatever your current base is. Thanks for the reminder; I'll take a look at your v7 posting. Bjorn