[PATCH 4.14 176/178] ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-12-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris [ Upstream commit 96378bd2c6cda5f04d0f6da2cd35d4670a982c38 ] For devices where the FW supports WoWLAN but user-space has not configured it, we don't do any PCI-specific suspend/r

[PATCH AUTOSEL for 4.14 133/135] ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-12-07 Thread alexander . levin
From: Brian Norris [ Upstream commit 96378bd2c6cda5f04d0f6da2cd35d4670a982c38 ] For devices where the FW supports WoWLAN but user-space has not configured it, we don't do any PCI-specific suspend/resume operations, because mac80211 doesn't call drv_suspend() when !wowlan. This has particularly b

Re: ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-10-19 Thread Kalle Valo
rn "supported" (i.e., 0) or "not >> >> supported" (i.e., -EOPNOTSUPP). >> >> >> >> Fixes: 32faa3f0ee50 ("ath10k: add the PCI PM core suspend/resume ops") >> >> Fixes: 77258d409ce4 ("ath10k: enable pci soc po

Re: ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-10-19 Thread Brian Norris
gt; Fixes: 32faa3f0ee50 ("ath10k: add the PCI PM core suspend/resume ops") > >> Fixes: 77258d409ce4 ("ath10k: enable pci soc powersaving") > >> Signed-off-by: Brian Norris > >> Cc: Ryan Hsu > >> Cc: Kalle Valo > >> Cc: Mic

Re: ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-10-19 Thread Kalle Valo
rn "supported" (i.e., 0) or "not >> supported" (i.e., -EOPNOTSUPP). >> >> Fixes: 32faa3f0ee50 ("ath10k: add the PCI PM core suspend/resume ops") >> Fixes: 77258d409ce4 ("ath10k: enable pci soc powersaving") >> Signed-off-by: Brian

Re: ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-10-13 Thread Kalle Valo
> Fixes: 32faa3f0ee50 ("ath10k: add the PCI PM core suspend/resume ops") > Fixes: 77258d409ce4 ("ath10k: enable pci soc powersaving") > Signed-off-by: Brian Norris > Cc: Ryan Hsu > Cc: Kalle Valo > Cc: Michal Kazior > Signed-off-by: Kalle Valo Patch applie

Re: [PATCH] ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-10-11 Thread Kalle Valo
Brian Norris writes: > Ping? Any comments? I know there's more than one way to slice this > problem, but it's most definitely a problem... I'm lagging behind with patches but I'll try to catch up this week. Sorry. -- Kalle Valo

Re: [PATCH] ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-10-11 Thread Adrian Chadd
fwiw - I did this on my in progress ath10k port to freebsd, and I've tested it on Rome and Peregrine. It seems to be the right thing to do during suspend to at least cleanly shut things down. -adrian On 11 October 2017 at 17:38, Brian Norris wrote: > Ping? Any comments? I know there's more tha

Re: [PATCH] ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-10-11 Thread Brian Norris
Ping? Any comments? I know there's more than one way to slice this problem, but it's most definitely a problem... Brian On Tue, Sep 19, 2017 at 04:24:16PM -0700, Brian Norris wrote: > For devices where the FW supports WoWLAN but user-space has not > configured it, we don't do any PCI-specific sus

[PATCH] ath10k: fix core PCI suspend when WoWLAN is supported but disabled

2017-09-19 Thread Brian Norris
For devices where the FW supports WoWLAN but user-space has not configured it, we don't do any PCI-specific suspend/resume operations, because mac80211 doesn't call drv_suspend() when !wowlan. This has particularly bad effects for some platforms, because we don't stop the power-save timer, and if t