linux_dsm_epyc7002/drivers/net/wireless/realtek/rtlwifi/rtl8188ee
Ping-Ke Shih 92541dd9dd rtlwifi: rf_lock use non-irqsave spin_lock
rf_lock is used to protect RF register access, but they will not called
from interrupt context, so *_irqsave version isn't necessary. Then, these
delays don't affect IRQ services.

The old code holds spin_lock_irqsave() that will be detected a long delay
as below:

  kworker/-276     4d...    0us : _raw_spin_lock_irqsave
  kworker/-276     4d...    0us : rtl8723_phy_rf_serial_read <-rtl8723de_phy_set_rf_reg
  kworker/-276     4d...    1us : rtl8723_phy_query_bb_reg <-rtl8723_phy_rf_serial_read
  kworker/-276     4d...    3us : rtl8723_phy_set_bb_reg <-rtl8723_phy_rf_serial_read
  kworker/-276     4d...    4us : __const_udelay <-rtl8723_phy_rf_serial_read
  kworker/-276     4d...    4us!: delay_mwaitx <-rtl8723_phy_rf_serial_read
  kworker/-276     4d... 1004us : rtl8723_phy_set_bb_reg <-rtl8723_phy_rf_serial_read
  [...]

Reported-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-11-20 09:41:29 +02:00
..
def.h rtlwifi: rtl8188ee: rtl8192ce: rtl8192de: rtl8723ae: rtl8821ae: Remove some unused bit manipulation macros 2019-09-13 17:55:40 +03:00
dm.c rtlwifi: rtl8188ee: Remove set but not used variable 'h2c_parameter' 2019-10-09 11:22:42 +03:00
dm.h
fw.c
fw.h
hw.c
hw.h
led.c
led.h
Makefile
phy.c rtlwifi: rf_lock use non-irqsave spin_lock 2019-11-20 09:41:29 +02:00
phy.h
pwrseq.c
pwrseq.h
reg.h
rf.c
rf.h
sw.c
sw.h
table.c
table.h
trx.c rtlwifi: rtl8188ee: Convert inline routines to little-endian words 2019-08-06 15:41:40 +03:00
trx.h rtlwifi: rtl8188ee: Fix incorrect returned values 2019-09-03 16:34:24 +03:00