Re: [PATCH net v1] mlxbf_gige: disable port during stop()
From: Jakub Kicinski
Date: Wed Aug 28 2024 - 18:55:55 EST
On Wed, 28 Aug 2024 21:37:06 +0000 David Thompson wrote:
> Hello Jakub and Benjamin, thanks for your input.
>
> I will post a v2 adding information about the "mb()" call.
Perhaps this information you're adding will shed more light..
> Given the above information, does my mlxbf_gige driver patch still need to
> invoke "synchronize_irq()" in the stop() method? The "mlxbf_gige_free_irq()"
> call within the stop() method invokes "free_irq()" for each of the driver's IRQs, so
> sounds like this "synchronize_irq()" is implicitly being invoked?
I was talking about the point in which you add the mb().
IDK what you're trying to protect from but it's after what looks like
disabling IRQ, and there's not free_irq() in that spot.