linux_dsm_epyc7002/drivers/net/wireless/intel/iwlwifi
Johannes Berg 6cb5f3ea46 mac80211: populate debugfs only after cfg80211 init
When fixing the initialization race, we neglected to account for
the fact that debugfs is initialized in wiphy_register(), and
some debugfs things went missing (or rather were rerooted to the
global debugfs root).

Fix this by adding debugfs entries only after wiphy_register().
This requires some changes in the rate control code since it
currently adds debugfs at alloc time, which can no longer be
done after the reordering.

Reported-by: Jouni Malinen <j@w1.fi>
Reported-by: kernel test robot <rong.a.chen@intel.com>
Reported-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Felix Fietkau <nbd@nbd.name>
Cc: stable@vger.kernel.org
Fixes: 52e04b4ce5 ("mac80211: fix race in ieee80211_register_hw()")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Sumit Garg <sumit.garg@linaro.org>
Link: https://lore.kernel.org/r/20200423111344.0e00d3346f12.Iadc76a03a55093d94391fc672e996a458702875d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2020-04-24 11:30:13 +02:00
..
cfg wireless-drivers-next patches for v5.7 2020-03-27 15:40:24 -07:00
dvm mac80211: populate debugfs only after cfg80211 init 2020-04-24 11:30:13 +02:00
fw wireless-drivers-next patches for v5.7 2020-03-27 15:40:24 -07:00
mvm mac80211: populate debugfs only after cfg80211 init 2020-04-24 11:30:13 +02:00
pcie iwlwifi: pcie: make iwl_pcie_cmdq_reclaim static 2020-03-27 08:12:53 +02:00
iwl-agn-hw.h
iwl-config.h iwlwifi: remove support for QnJ HR FPGA 2020-03-27 08:12:50 +02:00
iwl-context-info-gen3.h
iwl-context-info.h iwlwifi: allocate more receive buffers for HE devices 2019-12-23 11:54:31 +02:00
iwl-csr.h wireless-drivers-next patches for v5.6 2020-01-27 11:25:36 +01:00
iwl-dbg-tlv.c iwlwifi: yoyo: add PCI config space region type 2020-03-27 08:12:47 +02:00
iwl-dbg-tlv.h iwlwifi: yoyo: don't allow changing the domain via debugfs 2020-01-04 12:41:55 +02:00
iwl-debug.c
iwl-debug.h
iwl-devtrace-data.h iwlwifi: pcie: trace IOVA for iwlwifi_dev_tx_tb 2019-11-20 12:28:55 +02:00
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c
iwl-devtrace.h iwlwifi: fix warning iwl-trans.h is included more than once 2019-09-06 15:52:05 +03:00
iwl-drv.c wireless-drivers-next patches for v5.7 2020-03-27 15:40:24 -07:00
iwl-drv.h
iwl-eeprom-parse.c iwlwifi: always access the trans configuration via trans 2019-09-06 15:52:04 +03:00
iwl-eeprom-parse.h iwlwifi: always access the trans configuration via trans 2019-09-06 15:52:04 +03:00
iwl-eeprom-read.c iwlwifi: always access the trans configuration via trans 2019-09-06 15:52:04 +03:00
iwl-eeprom-read.h
iwl-fh.h iwlwifi: allocate more receive buffers for HE devices 2019-12-23 11:54:31 +02:00
iwl-io.c iwlwifi: remove CSR registers abstraction 2019-12-23 11:54:32 +02:00
iwl-io.h iwlwifi: don't access trans_cfg via cfg 2019-10-09 13:01:03 +03:00
iwl-modparams.h iwlwifi: remove lar_disable module parameter 2019-12-24 01:34:52 +02:00
iwl-nvm-parse.c iwlwifi: pass trans and NVM data to HE capability parsing 2020-03-27 08:12:47 +02:00
iwl-nvm-parse.h iwlwifi: remove lar_disable module parameter 2019-12-24 01:34:52 +02:00
iwl-op-mode.h iwlwifi: remove the opmode's d0i3 handlers 2019-09-06 15:31:16 +03:00
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h iwlwifi: prph: remove some unused register definitions 2020-01-04 12:46:14 +02:00
iwl-scd.h
iwl-trans.c iwlwifi: pcie: allocate smaller dev_cmd for TX headers 2019-12-23 11:33:04 +02:00
iwl-trans.h iwlwifi: yoyo: add PCI config space region type 2020-03-27 08:12:47 +02:00
Kconfig drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
Makefile iwlwifi: dbg_ini: implement time point handling 2019-10-25 10:09:40 +03:00