Re: [PATCH v3] ath9k: fix crash in spectral scan

2018-03-28 Thread Sebastian Gottschall

Am 28.03.2018 um 13:21 schrieb Kalle Valo:

Sebastian Gottschall  writes:


Apparently the automatic email was not sent, no idea why. But this was
applied to ath-next few days ago:

221b6ec69ed9 ath9k: fix crash in spectral scan

i have seen it. thx

any idea about my led code for ath10k?

I should get to it this or next week.
thank you. i have other usefull enhancements in my local pipeline which 
i start to rewrite for

latest next tree once its merged

Sebastian




--
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottsch...@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565



Re: [PATCH v3] ath9k: fix crash in spectral scan

2018-03-28 Thread Kalle Valo
Sebastian Gottschall  writes:

>> Apparently the automatic email was not sent, no idea why. But this was
>> applied to ath-next few days ago:
>>
>> 221b6ec69ed9 ath9k: fix crash in spectral scan
>
> i have seen it. thx
>
> any idea about my led code for ath10k?

I should get to it this or next week.

-- 
Kalle Valo


Re: [PATCH v3] ath9k: fix crash in spectral scan

2018-03-28 Thread Sebastian Gottschall

Apparently the automatic email was not sent, no idea why. But this was
applied to ath-next few days ago:

221b6ec69ed9 ath9k: fix crash in spectral scan

i have seen it. thx
any idea about my led code for ath10k?

Sebastian


--
Mit freundlichen Grüssen / Regards

Sebastian Gottschall / CTO

NewMedia-NET GmbH - DD-WRT
Firmensitz:  Stubenwaldallee 21a, 64625 Bensheim
Registergericht: Amtsgericht Darmstadt, HRB 25473
Geschäftsführer: Peter Steinhäuser, Christian Scheele
http://www.dd-wrt.com
email: s.gottsch...@dd-wrt.com
Tel.: +496251-582650 / Fax: +496251-5826565



Re: [PATCH v3] ath9k: fix crash in spectral scan

2018-03-28 Thread Kalle Valo
s.gottsch...@dd-wrt.com writes:

> From: Sebastian Gottschall 
>
> fixes crash seen on arm smp systems (gateworks ventana imx6)
>
> Signed-off-by: Sebastian Gottschall 
>
> v2: fix wrong field and add signed-off-by
> v3: forgot to include correct latest patch, so just fix that and refresh
>
> Unable to handle kernel NULL pointer dereference at virtual address 0014
> pgd = 80004000
> [0014] *pgd=
> Internal error: Oops - BUG: 17 [#1] PREEMPT SMP ARM
> Modules linked in: ip6table_filter nf_conntrack_ipv6 ip6_tables nf_log_ipv6 
> nf_defrag_ipv6 shortcut_fe ipcomp6 xfrm_ipcomp xfrm6_tunnel xfrm6_mode_tunnel 
> xfrm6_mode_transport xfrm6_mode_ro xfrm6_mode_beet ip6_tunnel tunnel6 mip6 
> ah6 esp6 xfrm_algo sit ip_tunnel tunnel4 ipv6 ath10k_pci ath10k_core ath9k 
> ath mac80211 cfg80211 compat ath_pci ath_hal(P) caamalg authencesn authenc 
> caamrng caamhash caam_jr caam cdc_ncm usbnet usbcore sky2 imx2_wdt
> CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: P4.9.85 #19
> Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> task: bf064980 task.stack: bf07c000
> PC is at relay_buf_full+0xc/0x30
> LR is at _674+0x740/0xf10 [ath9k]
> pc : [<8018bce0>]lr : [<7f1aa604>]psr: 8013
> sp : bf07dbf0  ip : bf07dc00  fp : bf07dbfc
> r10: 003f  r9 : bf130e00  r8 : 809044b0
> r7 :   r6 : be67a9f0  r5 :   r4 : 809043e4
> r3 : c0864c24  r2 :   r1 : 0004  r0 : 
> Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
> Control: 10c5387d  Table: 4e6a004a  DAC: 0055
> Process ksoftirqd/0 (pid: 3, stack limit = 0xbf07c210)
> Stack: (0xbf07dbf0 to 0xbf07e000)
> dbe0: bf07dd04 bf07dc00 7f1aa604 8018bce0
> dc00: 4014 be59e010 bf07dc34 bf07dc18 7f1a7084 7f19c07c be59c010 be6470a0
> dc20: 096c be648954 bf07dc6c bf07dc38 7f1c286c bf07dd90 bf07dc5c bf07dc48
> dc40: 8029ea4c 003c 0001 be59c010 0094   
> dc60:        
> dc80:        
> dca0:        
> dcc0:       8010ef24 0030
> dce0: be94f5e8 be6485a0 bddf0200 be59c010 be6465a0 be6415a0 bf07ddf4 bf07dd08
> dd00: 7f1cf800 7f1aa55c 1fc38c4c  bf07dd58 cccd 6667 be640bc0
> dd20: bf07dd54 be6415a0 1fc38c4c   be59c038 be67a9c0 be59e010
> dd40: be67a9f0 be647170 8090c904 be59c010  0001 1fc38e84 
> dd60: be640bc0 bddf0200 0200 0010 003f 0002 2013 be59c010
> dd80: 8092d940 bf7ca2c0 bf07ddb4 bf07dd98 1fc38c4c 2602003f 0100ff1b 80ff1b00
> dda0: 00808080   80808080 80808080 80808080 80808080 8080
> ddc0:   7f1b62b8 0002 be6470ec be6470f0  bf07de98
> dde0: 8092d940 be6415a0 bf07de94 bf07ddf8 7f1d1ed8 7f1cf1fc  
> de00: bf7cc4c0 0400 be6470f0 bf07de18 8015165c be59c010 8090453c 8090453c
> de20: bf07dec4 be6465a0 8014f614 80148884 619a 0001 bf07c000 0100
> de40: bf07de78 0001 7f327850 0002 afb50401 bf064980 bf07de9c bf07de68
> de60: bf064a00 803cc668 bf064a00 be6470b4 be6470b8 80844180  bf07de98
> de80: 8092d940 bf07c000 bf07dec4 bf07de98 80124d18 7f1d1c44 80124c94 
> dea0: 0006 80902098 80902080 4006 0100 bf07c000 bf07df24 bf07dec8
> dec0: 8012501c 80124ca0 bf7cc4c0 bf064980 be95e1c0 04208040 80902d00 61c7
> dee0: 000a 80600b54 8092d940 808441f8 80902080 bf07dec8 bf03b200 bf07c000
> df00: bf03b200 8090fe54     bf07df34 bf07df28
> df20: 80125148 80124f28 bf07df5c bf07df38 8013deb4 8012511c  bf03b240
> df40: bf03b200 8013dc90   bf07dfac bf07df60 8013ad40 8013dc9c
> df60: 70448040 0001  bf03b200  00030003 bf07df78 bf07df78
> df80:   bf07df88 bf07df88 bf03b240 8013ac48  
> dfa0:  bf07dfb0 80107760 8013ac54    
> dfc0:        
> dfe0:     0013  8c120004 1190ad04
> Backtrace:
> [<8018bcd4>] (relay_buf_full) from [<7f1aa604>] (_674+0x740/0xf10 [ath9k])
> [<7f1aa550>] (_674 [ath9k]) from [<7f1cf800>] (_582+0x14b4/0x3708 [ath9k])
>  r10:be6415a0 r9:be6465a0 r8:be59c010 r7:bddf0200 r6:be6485a0 r5:be94f5e8
>  r4:0030
> [<7f1cf1f0>] (_582 [ath9k]) from [<7f1d1ed8>] (_735+0x2a0/0xec4 [ath9k])
>  r10:be6415a0 r9:8092d940 r8:bf07de98 r7: r6:be6470f0 r5:be6470ec
>  r4:0002
> [<7f1d1c38>] (_735 [ath9k]) from [<80124d18>] (tasklet_action+0x84/0xf8)
>  r10:bf07c000 r9:8092d940 r8:bf07de98 r7: r6:80844180 r5:be6470b8
>  r4:be6470b4
> [<80124c94>] (tasklet_action) from [<8012501c>] 

Re: [PATCH v3] ath9k: fix crash in spectral scan

2018-03-10 Thread Kalle Valo
s.gottsch...@dd-wrt.com writes:

> From: Sebastian Gottschall 
>
> fixes crash seen on arm smp systems (gateworks ventana imx6)
>
> Signed-off-by: Sebastian Gottschall 
>
> v2: fix wrong field and add signed-off-by
> v3: forgot to include correct latest patch, so just fix that and refresh

The changelog needs to be after "---" line so that git-am automatically
drops it, but I can fix that during commit.

-- 
Kalle Valo


[PATCH v3] ath9k: fix crash in spectral scan

2018-03-02 Thread s . gottschall
From: Sebastian Gottschall 

fixes crash seen on arm smp systems (gateworks ventana imx6)

Signed-off-by: Sebastian Gottschall 

v2: fix wrong field and add signed-off-by
v3: forgot to include correct latest patch, so just fix that and refresh

Unable to handle kernel NULL pointer dereference at virtual address 0014
pgd = 80004000
[0014] *pgd=
Internal error: Oops - BUG: 17 [#1] PREEMPT SMP ARM
Modules linked in: ip6table_filter nf_conntrack_ipv6 ip6_tables nf_log_ipv6 
nf_defrag_ipv6 shortcut_fe ipcomp6 xfrm_ipcomp xfrm6_tunnel xfrm6_mode_tunnel 
xfrm6_mode_transport xfrm6_mode_ro xfrm6_mode_beet ip6_tunnel tunnel6 mip6 ah6 
esp6 xfrm_algo sit ip_tunnel tunnel4 ipv6 ath10k_pci ath10k_core ath9k ath 
mac80211 cfg80211 compat ath_pci ath_hal(P) caamalg authencesn authenc caamrng 
caamhash caam_jr caam cdc_ncm usbnet usbcore sky2 imx2_wdt
CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: P4.9.85 #19
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: bf064980 task.stack: bf07c000
PC is at relay_buf_full+0xc/0x30
LR is at _674+0x740/0xf10 [ath9k]
pc : [<8018bce0>]lr : [<7f1aa604>]psr: 8013
sp : bf07dbf0  ip : bf07dc00  fp : bf07dbfc
r10: 003f  r9 : bf130e00  r8 : 809044b0
r7 :   r6 : be67a9f0  r5 :   r4 : 809043e4
r3 : c0864c24  r2 :   r1 : 0004  r0 : 
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: 4e6a004a  DAC: 0055
Process ksoftirqd/0 (pid: 3, stack limit = 0xbf07c210)
Stack: (0xbf07dbf0 to 0xbf07e000)
dbe0: bf07dd04 bf07dc00 7f1aa604 8018bce0
dc00: 4014 be59e010 bf07dc34 bf07dc18 7f1a7084 7f19c07c be59c010 be6470a0
dc20: 096c be648954 bf07dc6c bf07dc38 7f1c286c bf07dd90 bf07dc5c bf07dc48
dc40: 8029ea4c 003c 0001 be59c010 0094   
dc60:        
dc80:        
dca0:        
dcc0:       8010ef24 0030
dce0: be94f5e8 be6485a0 bddf0200 be59c010 be6465a0 be6415a0 bf07ddf4 bf07dd08
dd00: 7f1cf800 7f1aa55c 1fc38c4c  bf07dd58 cccd 6667 be640bc0
dd20: bf07dd54 be6415a0 1fc38c4c   be59c038 be67a9c0 be59e010
dd40: be67a9f0 be647170 8090c904 be59c010  0001 1fc38e84 
dd60: be640bc0 bddf0200 0200 0010 003f 0002 2013 be59c010
dd80: 8092d940 bf7ca2c0 bf07ddb4 bf07dd98 1fc38c4c 2602003f 0100ff1b 80ff1b00
dda0: 00808080   80808080 80808080 80808080 80808080 8080
ddc0:   7f1b62b8 0002 be6470ec be6470f0  bf07de98
dde0: 8092d940 be6415a0 bf07de94 bf07ddf8 7f1d1ed8 7f1cf1fc  
de00: bf7cc4c0 0400 be6470f0 bf07de18 8015165c be59c010 8090453c 8090453c
de20: bf07dec4 be6465a0 8014f614 80148884 619a 0001 bf07c000 0100
de40: bf07de78 0001 7f327850 0002 afb50401 bf064980 bf07de9c bf07de68
de60: bf064a00 803cc668 bf064a00 be6470b4 be6470b8 80844180  bf07de98
de80: 8092d940 bf07c000 bf07dec4 bf07de98 80124d18 7f1d1c44 80124c94 
dea0: 0006 80902098 80902080 4006 0100 bf07c000 bf07df24 bf07dec8
dec0: 8012501c 80124ca0 bf7cc4c0 bf064980 be95e1c0 04208040 80902d00 61c7
dee0: 000a 80600b54 8092d940 808441f8 80902080 bf07dec8 bf03b200 bf07c000
df00: bf03b200 8090fe54     bf07df34 bf07df28
df20: 80125148 80124f28 bf07df5c bf07df38 8013deb4 8012511c  bf03b240
df40: bf03b200 8013dc90   bf07dfac bf07df60 8013ad40 8013dc9c
df60: 70448040 0001  bf03b200  00030003 bf07df78 bf07df78
df80:   bf07df88 bf07df88 bf03b240 8013ac48  
dfa0:  bf07dfb0 80107760 8013ac54    
dfc0:        
dfe0:     0013  8c120004 1190ad04
Backtrace:
[<8018bcd4>] (relay_buf_full) from [<7f1aa604>] (_674+0x740/0xf10 [ath9k])
[<7f1aa550>] (_674 [ath9k]) from [<7f1cf800>] (_582+0x14b4/0x3708 [ath9k])
 r10:be6415a0 r9:be6465a0 r8:be59c010 r7:bddf0200 r6:be6485a0 r5:be94f5e8
 r4:0030
[<7f1cf1f0>] (_582 [ath9k]) from [<7f1d1ed8>] (_735+0x2a0/0xec4 [ath9k])
 r10:be6415a0 r9:8092d940 r8:bf07de98 r7: r6:be6470f0 r5:be6470ec
 r4:0002
[<7f1d1c38>] (_735 [ath9k]) from [<80124d18>] (tasklet_action+0x84/0xf8)
 r10:bf07c000 r9:8092d940 r8:bf07de98 r7: r6:80844180 r5:be6470b8
 r4:be6470b4
[<80124c94>] (tasklet_action) from [<8012501c>] (__do_softirq+0x100/0x1f4)
 r10:bf07c000 r9:0100 r8:4006 r7:80902080 r6:80902098 r5:0006
 r4: r3:80124c94
[<80124f1c>] (__do_softirq) from [<80125148>]