Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-10 Thread Emmanuel Grumbach
Hi, > Hi, again, > > I haven't tested any patch or bisected, but I have another data point. > I built and tested Linux 5.8.18, with the same firmware, and it is > working correctly. I reduced the test case to just rfkilling the > connection, which showed the register dump immediately (before that

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-10 Thread Rui Salvaterra
Hi, again, I haven't tested any patch or bisected, but I have another data point. I built and tested Linux 5.8.18, with the same firmware, and it is working correctly. I reduced the test case to just rfkilling the connection, which showed the register dump immediately (before that I was using the

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Rui Salvaterra
Hi again, Emmanuel, On Wed, 9 Dec 2020 at 21:07, Emmanuel Grumbach wrote: > > Indeed, the bit is reverse logic. So we can put that aside. > Frankly, I have no clue. You can try our backport tree to bisect, > should be easier.. > What I see here is that your GP_CTRL value is 080003d8 > > #define C

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Emmanuel Grumbach
On Wed, Dec 9, 2020 at 10:47 PM Emmanuel Grumbach wrote: > > On Wed, Dec 9, 2020 at 10:40 PM Rui Salvaterra wrote: > > > > Hi, Emmanuel, > > > > On Wed, 9 Dec 2020 at 20:32, Emmanuel Grumbach wrote: > > > > > > Rui, I looked at the register dump and looks like you're using AMT on > > > your syst

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Emmanuel Grumbach
On Wed, Dec 9, 2020 at 10:40 PM Rui Salvaterra wrote: > > Hi, Emmanuel, > > On Wed, 9 Dec 2020 at 20:32, Emmanuel Grumbach wrote: > > > > Rui, I looked at the register dump and looks like you're using AMT on > > your system? > > Can you confirm? > > AMT? You mean Intel Active Management? Heavens,

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Emmanuel Grumbach
On Wed, Dec 9, 2020 at 10:32 PM Emmanuel Grumbach wrote: > > On Wed, Dec 9, 2020 at 7:19 PM Jakub Kicinski wrote: > > > > On Tue, 8 Dec 2020 23:17:48 + Rui Salvaterra wrote: > > > Hi, Luca, > > > > > > On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano > > > wrote: > > > > On Tue, 2020-12-08 at 1

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Rui Salvaterra
Hi, again, On Wed, 9 Dec 2020 at 20:40, Emmanuel Grumbach wrote: > > Besides, don't you get a stack dump in the vicinity of this register > dump? That's be helpful to see. Nope. No stack trace at all. Only the register dump. Thanks, Rui

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Rui Salvaterra
Hi, Emmanuel, On Wed, 9 Dec 2020 at 20:32, Emmanuel Grumbach wrote: > > Rui, I looked at the register dump and looks like you're using AMT on > your system? > Can you confirm? AMT? You mean Intel Active Management? Heavens, no, not that I know of! This is a personal laptop (Lenovo B51-80). (And

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Emmanuel Grumbach
On Wed, Dec 9, 2020 at 7:19 PM Jakub Kicinski wrote: > > On Tue, 8 Dec 2020 23:17:48 + Rui Salvaterra wrote: > > Hi, Luca, > > > > On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano > > wrote: > > > On Tue, 2020-12-08 at 11:27 +, Rui Salvaterra wrote: > > > > > > > > [ 3174.003910] iwlwifi 000

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Rui Salvaterra
Hi, guys, On Wed, 9 Dec 2020 at 17:13, Jakub Kicinski wrote: > > Any luck figuring this out, Luca? If this is a 5.10 regression we need > to let Linus know tomorrow, so the time is ticking :( I don't have the possibility to test other kernels at the moment, but I will do so in a few days (at lea

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Coelho, Luciano
Hi Jakub et al, On Wed, 2020-12-09 at 09:13 -0800, Jakub Kicinski wrote: > On Tue, 8 Dec 2020 23:17:48 + Rui Salvaterra wrote: > > Hi, Luca, > > > > On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano > > wrote: > > > On Tue, 2020-12-08 at 11:27 +, Rui Salvaterra wrote: > > > > > > > > [ 31

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-09 Thread Jakub Kicinski
On Tue, 8 Dec 2020 23:17:48 + Rui Salvaterra wrote: > Hi, Luca, > > On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano wrote: > > On Tue, 2020-12-08 at 11:27 +, Rui Salvaterra wrote: > > > > > > [ 3174.003910] iwlwifi :02:00.0: RF_KILL bit toggled to disable radio. > > > [ 3174.003913] iw

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-08 Thread Rui Salvaterra
Hi, Luca, On Tue, 8 Dec 2020 at 16:27, Coelho, Luciano wrote: > > On Tue, 2020-12-08 at 11:27 +, Rui Salvaterra wrote: > > > > [ 3174.003910] iwlwifi :02:00.0: RF_KILL bit toggled to disable radio. > > [ 3174.003913] iwlwifi :02:00.0: reporting RF_KILL (radio disabled) > > It looks li

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-08 Thread Rui Salvaterra
Hi, Jakub, On Tue, 8 Dec 2020 at 16:06, Jakub Kicinski wrote: > > Just to confirm - is this a regression in 5.10-rc? Does 5.9 work > smoothly in the problematic scenario? Good question. It's definitely a regression, though I don't remember exactly the last working version I had. I *think* 5.9 wa

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-08 Thread Coelho, Luciano
On Tue, 2020-12-08 at 11:27 +, Rui Salvaterra wrote: > Hi, everyone, > > I'm running Linux 5.10-rc7 with this firmware/hardware: > > [1.431878] iwlwifi :02:00.0: loaded firmware version > 29.198743027.0 7265D-29.ucode op_mode iwlmvm > [1.431899] iwlwifi :02:00.0: Detected Inte

Re: [BUG] iwlwifi: card unusable after firmware crash

2020-12-08 Thread Jakub Kicinski
On Tue, 8 Dec 2020 11:27:50 + Rui Salvaterra wrote: > Hi, everyone, > > I'm running Linux 5.10-rc7 with this firmware/hardware: > > [1.431878] iwlwifi :02:00.0: loaded firmware version > 29.198743027.0 7265D-29.ucode op_mode iwlmvm > [1.431899] iwlwifi :02:00.0: Detected Intel

[BUG] iwlwifi: card unusable after firmware crash

2020-12-08 Thread Rui Salvaterra
Hi, everyone, I'm running Linux 5.10-rc7 with this firmware/hardware: [1.431878] iwlwifi :02:00.0: loaded firmware version 29.198743027.0 7265D-29.ucode op_mode iwlmvm [1.431899] iwlwifi :02:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210 Most of the time, after dis