From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 289643806B8; Tue, 24 Feb 2026 16:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771950009; cv=none; b=a/3p31JN+Ln/iVhYClMUdHR3BEsDFxCHW96XzI3tyXtY5LCkp2vrLjg86/BEWyjuipZvFv2s1Y0cqe8joQM+E2YLtk7p5dsjrQ890aFqnxiJG1LiGX7PXqsqORj6ZDEm+02lyVU/bnFW4xDNumuejjzP9warqWLYpTsupDig0IA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771950009; c=relaxed/simple; bh=6G91BbTqFSYq68w6yhfkl+JDGrXisXHtlEgCseE/wwo=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=USqOVO1G8thfgen45iXNVM6Ww1j0fmbiTNzRg5c7dxMz8bF4y4wQ0aLX+j9GyfK2JA3wIrVqkYLQdlrzBkNRCizxSSmBL4mlSz2rAAu5ju1vSO5mAI3PlnyzZd0LFo3AZFrEeaA2khoswtV2yxqdIflZTG4g0REjoy8UHhwRGjY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.224.107]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4fL2xC01QGzJ46C2; Wed, 25 Feb 2026 00:19:43 +0800 (CST) Received: from dubpeml500005.china.huawei.com (unknown [7.214.145.207]) by mail.maildlp.com (Postfix) with ESMTPS id C0C2D40570; Wed, 25 Feb 2026 00:20:04 +0800 (CST) Received: from localhost (10.203.177.15) by dubpeml500005.china.huawei.com (7.214.145.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 24 Feb 2026 16:20:01 +0000 Date: Tue, 24 Feb 2026 16:20:00 +0000 From: Jonathan Cameron To: Shawn Lin CC: Bjorn Helgaas , "Vaibhaav Ram T . L" , Kumaravel Thiagarajan , Even Xu , Xinpeng Sun , Srinivas Pandruvada , Jiri Kosina , Alexandre Belloni , Zhou Wang , Longfang Liu , "Vinod Koul" , Lee Jones , Jijie Shao , Jian Shen , Sunil Goutham , Andrew Lunn , "Heiner Kallweit" , "David S . Miller" , Jeff Hugo , Oded Gabbay , Maciej Falkowski , Karol Wachowski , Min Ma , Lizhi Hou , Andreas Noever , "Mika Westerberg" , Tomasz Jeznach , Will Deacon , Xinliang Liu , Tian Tao , Davidlohr Bueso , Srujana Challa , Bharat Bhushan , Antoine Tenart , Herbert Xu , Raag Jadav , "Hans de Goede" , Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Manivannan Sadhasivam , Mika Westerberg , Andi Shyti , Robert Richter , Mark Brown , "Nirmal Patel" , Kurt Schwemmer , Logan Gunthorpe , Linus Walleij , Bartosz Golaszewski , Sakari Ailus , Bingbu Cao , Ulf Hansson , Arnd Bergmann , Benjamin Tissoires , , , , Philipp Stanner , , , , , , , , David Airlie , Simona Vetter , , , , , , Andy Shevchenko , Jan Dabros , , Daniel Mack , "Haojian Zhuang" , , "Jonathan Derrick" , , , Mauro Carvalho Chehab , , Subject: Re: [PATCH 01/37] PCI/MSI: Add Devres managed IRQ vectors allocation Message-ID: <20260224162000.000001a5@huawei.com> In-Reply-To: <1771860581-82092-2-git-send-email-shawn.lin@rock-chips.com> References: <1771860581-82092-1-git-send-email-shawn.lin@rock-chips.com> <1771860581-82092-2-git-send-email-shawn.lin@rock-chips.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500009.china.huawei.com (7.191.174.84) To dubpeml500005.china.huawei.com (7.214.145.207) On Mon, 23 Feb 2026 23:29:40 +0800 Shawn Lin wrote: > pcim_alloc_irq_vectors() and pcim_alloc_irq_vectors_affinity() are created for > pci device drivers which rely on the devres machinery to help cleanup the IRQ > vectors. It might be worth adding some details on why we need the is_msi_managed flag in the first place vs just doing conventional devm_add_action_or_reset() with pci_free_irq_vectors().