[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b6beb765-895a-4d6d-9447-ffc3fecbf5e4@intel.com>
Date: Wed, 2 Jul 2025 10:56:59 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Mohith Kumar Thummaluru <mohith.k.kumar.thummaluru@...cle.com>,
"saeedm@...dia.com" <saeedm@...dia.com>, "leon@...nel.org" <leon@...nel.org>,
"tariqt@...dia.com" <tariqt@...dia.com>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>
CC: "andrew+netdev@...n.ch" <andrew+netdev@...n.ch>, "davem@...emloft.net"
<davem@...emloft.net>, "edumazet@...gle.com" <edumazet@...gle.com>,
"kuba@...nel.org" <kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>,
"shayd@...dia.com" <shayd@...dia.com>, "elic@...dia.com" <elic@...dia.com>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Anand Khoje
<anand.a.khoje@...cle.com>, Manjunath Patil <manjunath.b.patil@...cle.com>,
Rama Nichanamatlu <rama.nichanamatlu@...cle.com>, Rajesh Sivaramasubramaniom
<rajesh.sivaramasubramaniom@...cle.com>, Rohit Sajan Kumar
<rohit.sajan.kumar@...cle.com>, Qing Huang <qing.huang@...cle.com>, "Mark
Bloch" <mbloch@...dia.com>
Subject: Re: [RESEND PATCH net-next 1/1] net/mlx5: Clean up only new IRQ glue
on request_irq() failure
On 7/1/2025 10:07 PM, Mohith Kumar Thummaluru wrote:
>
> On 02/07/25 2:21 am, Jacob Keller wrote:
>>
>> On 6/25/2025 10:32 PM, Mohith Kumar Thummaluru wrote:
>>> The mlx5_irq_alloc() function can inadvertently free the entire rmap
>>> and end up in a crash[1] when the other threads tries to access this,
>>> when request_irq() fails due to exhausted IRQ vectors. This commit
>>> modifies the cleanup to remove only the specific IRQ mapping that was
>>> just added.
>>>
>>> This prevents removal of other valid mappings and ensures precise
>>> cleanup of the failed IRQ allocation's associated glue object.
>>>
>>> Note: This error is observed when both fwctl and rds configs are enabled.
>>>
>> Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>
>
> Thanks for the review, Jacob!
>
> Based on Mark Bloch's input, I’ve sent out another patch targeting the
> net tree. You can find it here:
> https://lore.kernel.org/netdev/1eda4785-6e3e-4660-ac04-62e474133d71@oracle.com/
>
> Regards,
> Mohith Kumar Thummaluru
>
Thanks. Yea I missed it while scrolling my inbox and thought this was
the latest.
Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (237 bytes)
Powered by blists - more mailing lists