Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp432078pxj; Wed, 2 Jun 2021 02:50:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAlotjrGCe2NIOECKPOh/vjAh14uoJhjWFmlgwlC/amjTpC5/lMmgWtXkMjKA+tHz81zOO X-Received: by 2002:a17:906:ce4a:: with SMTP id se10mr4056315ejb.235.1622627427950; Wed, 02 Jun 2021 02:50:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622627427; cv=none; d=google.com; s=arc-20160816; b=OyU050aJFy/PzSJWxAXFOUsOcRw+S6B1pdsqUEFppA+bV/WZ0YpQa3vbs9bHdmYo0v 7+kmG2fTdFMCHtMwXPJLxvgpmIDkLztvflhr9MJjteuGgJe/5frg0zy5mkaipufp/HyG mKYh562MWFPJG9T7SCtlxM9klkUFu3K9bQs3B9s1HqsLiUX/qaHIVYaOsfwev+VtSXSX 3nmP9tXYcfuCvOkJuvlNZDRYJhArmM+3tC0UqxBEPxVqMgPf1pjEqwwasVhOCItXWOKQ fLKIt5fGvcqfXgVtfrHjnMqJYlMFq7enrXscsWkTLYO5EB8xjrYjRhgSiBhTrrYD0SbU ewbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=CLI6L7hyXGEDzTg6s7ckp/HQZVfepHtHtML+lFQ1ZeQ=; b=G0qTSzfKHZgRElEzSJAvZIVImwCK70KUGWu7sy6neJzmSOGVsoeMtxouUCNPRFD5u/ ZtqTjF2REmxOucjPP3rzra0TmrtUEIn+dUXOVgHHAs+pJcfu4BgTrGPkvEgsj+qrwscO ePHt292uDEeL9xXun5VKEx8MTmA2bMn4jFoEU/+/vlB0wphmPaMRTGJ/tHLFkf0f8MH2 x8AeYIfdUK5JihPDWOV7sPMvvffZPF3waDpicQ6SSLaWuqtw1FXLvMNicO/oXdOk+zFZ PXyt00VrMD0pvhTjUnm+UMBzWe0PM0hJizlgcIGhGPsfmVPOeIMH34ZEIzjOP7er63wG qQ7Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u22si8908313ejr.495.2021.06.02.02.50.04; Wed, 02 Jun 2021 02:50:27 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232847AbhFBIxC (ORCPT + 99 others); Wed, 2 Jun 2021 04:53:02 -0400 Received: from mga04.intel.com ([192.55.52.120]:29864 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232840AbhFBIxC (ORCPT ); Wed, 2 Jun 2021 04:53:02 -0400 IronPort-SDR: Gq9nV6jLliQbKpXHOxdKqgqhTV9v4+mdayAw9/LBf7OjSWOFVpEN7xKSvFcHPjDT/DTKRE7UxM 9J3QIYLp/1xQ== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="201881011" X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="201881011" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 01:51:18 -0700 IronPort-SDR: 7O3HAkimY4ZMDtM0oGELnrPG3JJ6fXO1KDNJb2CPEYDECtirmOnx2RVej2XYigb/qgbPgmuRq5 fuuHuCOm5+JA== X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="438328450" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 01:51:13 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1loMak-00GfA7-SC; Wed, 02 Jun 2021 11:51:10 +0300 Date: Wed, 2 Jun 2021 11:51:10 +0300 From: Andy Shevchenko To: Dejin Zheng Cc: Bjorn Helgaas , 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: References: <20210226155056.1068534-2-zhengdejin5@gmail.com> <20210323224710.GA610170@bjorn-Precision-5520> <20210505162716.GB1851@nuc8i5> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210505162716.GB1851@nuc8i5> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- With Best Regards, Andy Shevchenko