Skip to contentSkip to conversation

pull-request: iwlwifi-fixes 2013-06-14

DISCUSSION Johannes Berg 3 participants 5 messages Jun 14, 2013 – Jun 18, 2013

lore
Share & tools
lore
#0 lore raw

John,

I have two more fixes that I think would be worthwhile for 3.10 but admittedly the scenario is somewhat unlikely, so if you want to hold them for 3.11 I can live with that. In that case, I can put them into my -next tree, or you can pull this into -next (but if you don't pull wireless.git first you'd get some more fixes you already have.)

These two patches fix two issues with using rfkill randomly during traffic, which would then cause our driver to stop working and not be able to recover at all.

johannes

The following changes since commit 622ebe994f6866b8d46ee5d3bcc329ed65d3722d:

iwlwifi: fix rate control regression (2013-06-12 14:13:39 +0200)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes.git for-john

for you to fetch changes up to 8a487b1a7432b20ff3f82387a8ce7555a964b44e:

iwlwifi: pcie: wake the queue if stopped when being unmapped (2013-06-13 16:44:04 +0200)

----------------------------------------------------------------
Emmanuel Grumbach (2):
iwlwifi: pcie: fix race in queue unmapping
iwlwifi: pcie: wake the queue if stopped when being unmapped

 drivers/net/wireless/iwlwifi/pcie/tx.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)
#1 lore raw
Quoted 27 lines · Johannes Berg

John,

I have two more fixes that I think would be worthwhile for 3.10 but admittedly the scenario is somewhat unlikely, so if you want to hold them for 3.11 I can live with that. In that case, I can put them into my -next tree, or you can pull this into -next (but if you don't pull wireless.git first you'd get some more fixes you already have.)

These two patches fix two issues with using rfkill randomly during traffic, which would then cause our driver to stop working and not be able to recover at all.

johannes

The following changes since commit 622ebe994f6866b8d46ee5d3bcc329ed65d3722d:

iwlwifi: fix rate control regression (2013-06-12 14:13:39 +0200)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes.git for-john

for you to fetch changes up to 8a487b1a7432b20ff3f82387a8ce7555a964b44e:

iwlwifi: pcie: wake the queue if stopped when being unmapped (2013-06-13 16:44:04 +0200)

Quoted 7 lines

----------------------------------------------------------------
Emmanuel Grumbach (2):
iwlwifi: pcie: fix race in queue unmapping
iwlwifi: pcie: wake the queue if stopped when being unmapped

 drivers/net/wireless/iwlwifi/pcie/tx.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

It isn't obvious to me that these need to be included in 3.10. I can pull this into wireless-next once the current stuff in wireless makes it to davem's tree.

If you decide that these really need to go, please provide some more information on how likely users are to hit the bugs, or how serious the effects of that would be.

John

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
#2 lore raw
Quoted 14 lines
Quoted 6 lines

I have two more fixes that I think would be worthwhile for 3.10 but admittedly the scenario is somewhat unlikely, so if you want to hold them for 3.11 I can live with that. In that case, I can put them into my -next tree, or you can pull this into -next (but if you don't pull wireless.git first you'd get some more fixes you already have.)

Quoted 7 lines

These two patches fix two issues with using rfkill randomly during traffic, which would then cause our driver to stop working and not be able to recover at all.

johannes

Quoted 8 lines

It isn't obvious to me that these need to be included in 3.10. I can pull this into wireless-next once the current stuff in wireless makes it to davem's tree.

If you decide that these really need to go, please provide some more information on how likely users are to hit the bugs, or how serious the effects of that would be.

John, it is really your call. I understand these concerns in -rc5. For the first patch, I am not 100% sure that it fixes anything else that a print. It is obvious to me that without this patch, you might get an error in the log (I reproduced it a few times). I tend to say that the print is harmless though.
The second patch fixes a real issue. The issue is hard to reproduce though. You need to get in a case where the queues are full (sw queues are stopped) and at that precise time, you need to free the Tx queues (RFkill - because any other flow would flush the queues first I think). If you got into that situation, then the queues would remain stopped after you switch the RFkill button again. So yes... Unlikely.

I would still recommend distros (Stanislaw is CCed) to take both patches since they are really safe and can avoid issues.

Now you have all the data :-)

#3 lore raw
In reply to John W. Linville
Quoted 3 lines · John W. Linville

It isn't obvious to me that these need to be included in 3.10. I can pull this into wireless-next once the current stuff in wireless makes it to davem's tree.

Please do, unless you changed your mind based on Emmanuel's reply.

johannes

#4 lore raw
In reply to Johannes Berg
Quoted 19 lines · Johannes Berg

John,

I have two more fixes that I think would be worthwhile for 3.10 but admittedly the scenario is somewhat unlikely, so if you want to hold them for 3.11 I can live with that. In that case, I can put them into my -next tree, or you can pull this into -next (but if you don't pull wireless.git first you'd get some more fixes you already have.)

These two patches fix two issues with using rfkill randomly during traffic, which would then cause our driver to stop working and not be able to recover at all.

johannes

The following changes since commit 622ebe994f6866b8d46ee5d3bcc329ed65d3722d:

iwlwifi: fix rate control regression (2013-06-12 14:13:39 +0200)

Quoted 7 lines

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes.git for-john

for you to fetch changes up to 8a487b1a7432b20ff3f82387a8ce7555a964b44e:

iwlwifi: pcie: wake the queue if stopped when being unmapped (2013-06-13 16:44:04 +0200)

Pulling now (to wireless-next)...

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.