linux_dsm_epyc7002/drivers/net/wireless
Tony Lindgren 35fba0f0fd wlcore: Use spin_trylock in wlcore_irq() to see if we need to queue tx
We currently have a collection of flags and locking between the
threaded irq and tx work:

- wl->flags bitops
- wl->mutex
- wl->wl_lock spinlock

The bitops flags do not need a spinlock around them, and we only need
the spinlock to see if we need to queue tx work or not. And wlcore_irq()
holds the mutex.

To simplify the locking, we can use spin_trylock and always queue tx
work unless we know there's nothing to do.

Let's also update the comment a bit while at it.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200702162951.45392-4-tony@atomide.com
2020-07-15 12:12:30 +03:00
..
admtek treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ath Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2020-06-15 20:18:39 +03:00
atmel treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
broadcom brcm80211: brcmsmac: Move LEDs to GPIO descriptors 2020-07-14 12:51:22 +03:00
cisco treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
intel First set of patches intended for v5.9 2020-06-15 20:23:23 +03:00
intersil Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-06-13 16:27:13 -07:00
marvell mwifiex: Use macro MWIFIEX_MAX_BSS_NUM for specifying limit of interfaces 2020-07-15 12:12:02 +03:00
mediatek treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
microchip wilc1000: let wilc_mac_xmit() return NETDEV_TX_OK 2020-07-14 20:53:29 +03:00
quantenna One batch of changes, containing: 2020-05-26 20:17:35 -07:00
ralink treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
realtek rtw88: 8822c: add new RFE type 6 2020-07-15 12:11:31 +03:00
rsi treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
st treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ti wlcore: Use spin_trylock in wlcore_irq() to see if we need to queue tx 2020-07-15 12:12:30 +03:00
zydas treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Kconfig wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
mac80211_hwsim.c mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability 2020-05-27 10:03:27 +02:00
mac80211_hwsim.h mac80211_hwsim: notify wmediumd of used MAC addresses 2020-04-24 11:45:47 +02:00
Makefile wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
ray_cs.c ray_cs: use true,false for bool variable 2020-05-06 11:33:23 +03:00
ray_cs.h
rayctl.h ray_cs: Replace zero-length array with flexible-array member 2020-03-23 19:18:27 +02:00
rndis_wlan.c rndis_wlan: Replace zero-length array with flexible-array 2020-05-12 11:56:55 +03:00
virt_wifi.c virt_wifi: implement ndo_get_iflink 2020-03-20 14:42:20 +01:00
wl3501_cs.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
wl3501.h wl3501_cs: Replace zero-length array with flexible-array member 2020-03-23 19:21:21 +02:00