2023-05-17 21:51:50

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH v5 1/1] wifi: mac80211: fortify the spinlock against deadlock by interrupt

>
> Fixes: 4444bc2116ae ("wifi: mac80211: Proper mark iTXQs for resumption")
> Link: https://lore.kernel.org/all/[email protected]/
> Reported-by: Mirsad Goran Todorovac <[email protected]>
> Link: https://lore.kernel.org/all/[email protected]/
> Signed-off-by: Mirsad Goran Todorovac <[email protected]>
> Reviewed-by: Leon Romanovsky <[email protected]>
> ---
>

You really should say what you changed, but anyway, it's too late - I
applied a previous version yesterday.

Also, I suspect you just collected the reviewed-by tag here, which
really you shouldn't be doing a resend for.

johannes


2023-05-18 18:57:17

by Mirsad Todorovac

[permalink] [raw]
Subject: Re: [PATCH v5 1/1] wifi: mac80211: fortify the spinlock against deadlock by interrupt



On 5/17/23 23:34, Johannes Berg wrote:
>>
>> Fixes: 4444bc2116ae ("wifi: mac80211: Proper mark iTXQs for resumption")
>> Link: https://lore.kernel.org/all/[email protected]/
>> Reported-by: Mirsad Goran Todorovac <[email protected]>
>> Link: https://lore.kernel.org/all/[email protected]/
>> Signed-off-by: Mirsad Goran Todorovac <[email protected]>
>> Reviewed-by: Leon Romanovsky <[email protected]>
>> ---
>>
>
> You really should say what you changed, but anyway, it's too late - I
> applied a previous version yesterday.

Yes. Sorry, I was following Andy's advice to resend, at the wrong
assumption that the system ate the patch after three weeks of
inactivity. :-/

The difference is really in the mailbox containing the patch, but git
somehow ate that, too. Beginner's errors. :-(

---
v4 -> v5:
- Some cleanup, keeping the longer stacktrace as requested
v3 -> v4:
- Added whole lockdep trace as advised.
- Trimmed irrelevant line prefix.
v2 -> v3:
- Fix the Fixes: tag as advised.
- Change the net: to wifi: to comply with the original patch that
is being fixed.
v1 -> v2:
- Minor rewording and clarification.
- Cc:-ed people that replied to the original bug report (forgotten
in v1 by omission).

net/mac80211/tx.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Rest assured, the code did not change. It is a rather obvious fix
to the interrupt caused deadlock.

> Also, I suspect you just collected the reviewed-by tag here, which
> really you shouldn't be doing a resend for.

This is correct, plus cosmetic removal of Cc:s as advised.

Sorry for confusion, I am really having a great time with the Intel
Linux team and I am currently updating my homework on Wi-Fi.

Provided that there will be more use of me for the wireless.

But I can always justify anything used in multimedia or graphic
rendering as my field of research. Well, almost anything :-)

Best regards,
Mirsad

2023-05-30 10:47:30

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH v5 1/1] wifi: mac80211: fortify the spinlock against deadlock by interrupt

Mirsad Goran Todorovac <[email protected]> writes:

> On 5/17/23 23:34, Johannes Berg wrote:
>>>
>>> Fixes: 4444bc2116ae ("wifi: mac80211: Proper mark iTXQs for resumption")
>>> Link: https://lore.kernel.org/all/[email protected]/
>>> Reported-by: Mirsad Goran Todorovac <[email protected]>
>>> Link: https://lore.kernel.org/all/[email protected]/
>>> Signed-off-by: Mirsad Goran Todorovac <[email protected]>
>>> Reviewed-by: Leon Romanovsky <[email protected]>
>>> ---
>>>
>>
>> You really should say what you changed, but anyway, it's too late - I
>> applied a previous version yesterday.
>
> Yes. Sorry, I was following Andy's advice to resend, at the wrong
> assumption that the system ate the patch after three weeks of
> inactivity. :-/

Yeah, unfortunately we maintainers are busy so sometimes it takes before
we can process patches. But you can check the patch status from
patchwork, link below. Also the wiki has more information how we use it.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches