Patch "s390/qeth: move netif_napi_add_tx() and napi_enable() from under BH" has been added to the 6.13-stable tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
s390/qeth: move
netif_napi_add_tx()andnapi_enable()from under BHto the 6.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
Quoted 7 lines
The filename of the patch is:
s390-qeth-move-netif_napi_add_tx-and-napi_enable-fro.patch
and it can be found in the queue-6.13 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Hello Sasha,
this is a fix for a regression that was introduced with v6.14-rc1. So I do not think it needs to go into 6.13 stable tree. But it does not hurt either.
Quoted 49 lines
commit
48eda8093b86b426078bd245a9b4fbc5d057c436Author: Alexandra Winter <[email protected]> Date: Wed Feb 12 17:36:59 2025 +0100s390/qeth: move
netif_napi_add_tx()andnapi_enable()from under BH[ Upstream commit
0d0b752f2497471ddd2b32143d167d42e18a8f3c]Like other drivers qeth is calling
local_bh_enable()afternapi_schedule()to kick-start softirqs [0].
Sincenetif_napi_add_tx()andnapi_enable()now take thenetdev_lock()mutex [1], move them out from under the BH protection. Same solution as in commita60558644e20("wifi: mt76: movenapi_enable()from under BH")Fixes 1b23cdbd2bbc ("net: protect netdev->napi_list with netdev_lock()")Signed-off-by Alexandra Winter <[email protected]>Acked-by Joe Damato <[email protected]>Signed-off-by Jakub Kicinski <[email protected]>Signed-off-by Sasha Levin <[email protected]>drivers/s390/net/qeth_core_main.c +5
-3@@ -7050,14 +7050,16 @@ int qeth_open(struct net_device *dev) card->data.state =CH_STATE_UP ;netif_tx_start_all_queues (dev); -local_bh_disable ();qeth_for_each_output_queue (card, queue, i) {netif_napi_add_tx (dev, &queue->napi, qeth_tx_poll);napi_enable (&queue->napi); -napi_schedule (&queue->napi); } -napi_enable (&card->napi); + +local_bh_disable (); +qeth_for_each_output_queue (card, queue, i) { +napi_schedule (&queue->napi); + }napi_schedule (&card->napi);/* kick-start the NAPI softirq: */ local_bh_enable ();
Quoted 14 lines · Alexandra Winter
Quoted 11 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
s390/qeth: move
netif_napi_add_tx()andnapi_enable()from under BHto the 6.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
s390-qeth-move-netif_napi_add_tx-and-napi_enable-fro.patch
and it can be found in the queue-6.13 subdirectory.
Quoted 8 lines
Quoted 3 lines
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Hello Sasha,
this is a fix for a regression that was introduced with v6.14-rc1. So I do not think it needs to go into 6.13 stable tree. But it does not hurt either.
It fixes a commit that is already in the 6.13 stable queue:
Quoted 1 line
Quoted 1 line
Fixes: 1b23cdbd2bbc ("net: protect netdev->napi_list with netdev_lock()")
So for that reason, this commit should be applied, right?
thanks,
greg k-h
Quoted 26 lines · Greg KH
Quoted 14 lines · Alexandra Winter
Quoted 11 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
s390/qeth: move
netif_napi_add_tx()andnapi_enable()from under BHto the 6.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
s390-qeth-move-netif_napi_add_tx-and-napi_enable-fro.patch
and it can be found in the queue-6.13 subdirectory.Quoted 8 lines
Quoted 3 lines
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Hello Sasha,
this is a fix for a regression that was introduced with v6.14-rc1. So I do not think it needs to go into 6.13 stable tree. But it does not hurt either.It fixes a commit that is already in the 6.13 stable queue:
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Fixes: 1b23cdbd2bbc ("net: protect netdev->napi_list with netdev_lock()")So for that reason, this commit should be applied, right?
thanks,
greg k-h
In that case: Yes, of course.
Sorry. I didn't expect Jakub's netdev->lock series to have gone into stable. I should have checked.
Quoted 33 lines · Alexandra Winter
Quoted 30 lines · Greg KH
Quoted 14 lines · Alexandra Winter
Quoted 11 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
s390/qeth: move
netif_napi_add_tx()andnapi_enable()from under BHto the 6.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
s390-qeth-move-netif_napi_add_tx-and-napi_enable-fro.patch
and it can be found in the queue-6.13 subdirectory.Quoted 8 lines
Quoted 3 lines
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Hello Sasha,
this is a fix for a regression that was introduced with v6.14-rc1. So I do not think it needs to go into 6.13 stable tree. But it does not hurt either.It fixes a commit that is already in the 6.13 stable queue:
Quoted 1 line
Quoted 1 line
Fixes: 1b23cdbd2bbc ("net: protect netdev->napi_list with netdev_lock()")So for that reason, this commit should be applied, right?
Quoted 8 lines
Quoted 3 lines
thanks,
greg k-h
In that case: Yes, of course.
Sorry. I didn't expect Jakub's
netdev->lockseries to have gone into stable.
It was marked as fixing a problem, so Sasha picked it up.
Quoted 1 line
I should have checked.
Not a problem, happens all the time :)
thanks for the review!
greg k-h