1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi
Johannes Berg 12a89f0177 wifi: iwlwifi: remove 'use_tfh' config to fix crash
This is equivalent to 'gen2', and it was always confusing to have
two identical config entries. The split config patch actually had
been originally developed after removing 'use_tfh" and didn't add
the use_tfh in the new configs as they'd later been copied to the
new files. Thus the easiest way to fix the init crash here now is
to just remove use_tfh (which is erroneously unset in most of the
configs now) and use 'gen2' in the code instead.

There's possibly still an unwind error in iwl_txq_gen2_init() as
it crashes if TXQ 0 fails to initialize, but we can deal with it
later since the original failure is due to the use_tfh confusion.

Tested-by: Xi Ruoyao <xry111@xry111.site>
Reported-and-tested-by: Niklāvs Koļesņikovs <pinkflames.linux@gmail.com>
Reported-and-tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
Reported-and-tested-by: Zhang Rui <rui.zhang@intel.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217622
Link: https://lore.kernel.org/all/9274d9bd3d080a457649ff5addcc1726f08ef5b2.camel@xry111.site/
Link: https://lore.kernel.org/all/CAAJw_Zug6VCS5ZqTWaFSr9sd85k%3DtyPm9DEE%2BmV%3DAKoECZM%2BsQ@mail.gmail.com/
Fixes: 19898ce9cf ("wifi: iwlwifi: split 22000.c into multiple files")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20230710145038.84186-2-johannes@sipsolutions.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-07-11 20:26:06 -07:00
..
cfg wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
dvm wifi: iwlwifi: dvm: fix -Wunused-const-variable gcc warning 2023-06-19 14:35:29 +02:00
fw wifi: iwlwifi: mvm: Add support for IGTK in D3 resume flow 2023-06-21 14:14:40 +02:00
mei wifi: iwlwifi: iwlmei: fix compilation error 2023-06-06 13:38:21 +02:00
mvm wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
pcie wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
queue wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-agn-hw.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-config.h wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-context-info-gen3.h wifi: iwlwifi: Enable loading of reduce-power tables into several segments 2023-06-06 13:44:52 +02:00
iwl-context-info.h wifi: iwlwifi: Generalize the parsing of the pnvm image 2023-06-06 13:43:06 +02:00
iwl-csr.h wifi: iwlwifi: Add RF Step Type for BZ device 2023-04-14 13:15:26 +02:00
iwl-dbg-tlv.c wifi: iwlwifi: dbg-tlv: clear FW debug memory on init 2023-06-14 12:32:21 +02:00
iwl-dbg-tlv.h iwlwifi: Configure FW debug preset via module param. 2022-03-10 09:23:27 +02:00
iwl-debug.c wifi: iwlwifi: debug: fix crash in __iwl_err() 2023-04-13 16:29:58 +02:00
iwl-debug.h iwlwifi: allow rate-limited error messages 2021-10-22 10:49:03 +03:00
iwl-devtrace-data.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace-io.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace-iwlwifi.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace-msg.h tracing/iwlwifi: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00
iwl-devtrace-ucode.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace.c wifi: iwlwifi: Avoid disabling GCC specific flag with clang 2023-03-16 08:51:56 +01:00
iwl-devtrace.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-drv.c wifi: iwlwifi: cfg: remove trailing dash from FW_PRE constants 2023-06-21 14:07:01 +02:00
iwl-drv.h wifi: iwlwifi: unify Bz/Gl device configurations 2023-06-21 14:07:01 +02:00
iwl-eeprom-parse.c iwlwifi: iwl-eeprom-parse: mostly dvm only 2021-12-21 12:35:04 +02:00
iwl-eeprom-parse.h wifi: iwlwifi: nvm: Update HE capabilities on 6GHz band for EHT device 2023-04-13 16:30:00 +02:00
iwl-eeprom-read.c iwlwifi: eeprom: clean up macros 2022-02-18 10:40:53 +02:00
iwl-eeprom-read.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-fh.h wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-io.c wifi: iwlwifi: unify checks for HW error values 2023-06-14 12:32:18 +02:00
iwl-io.h iwlwifi: remove redundant iwl_finish_nic_init() argument 2021-10-22 10:49:02 +03:00
iwl-modparams.h wifi: iwlwifi: mvm: Advertise EHT capabilities 2022-11-28 17:52:51 +02:00
iwl-nvm-parse.c wifi: iwlwifi: limit EHT capabilities based on PCIe link speed 2023-06-21 14:02:15 +02:00
iwl-nvm-parse.h wifi: iwlwifi: update response for mcc_update command 2023-06-14 12:32:17 +02:00
iwl-op-mode.h iwlwifi: prepare for synchronous error dumps 2021-08-26 23:32:21 +03:00
iwl-phy-db.c iwlwifi: remove unused macros 2022-02-18 10:40:53 +02:00
iwl-phy-db.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-prph.h wifi: iwlwifi: fw: Add new FSEQ defines to fw dump 2023-06-19 12:05:25 +02:00
iwl-scd.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-trans.c wifi: iwlwifi: remove 'use_tfh' config to fix crash 2023-07-11 20:26:06 -07:00
iwl-trans.h wifi: iwlwifi: limit EHT capabilities based on PCIe link speed 2023-06-21 14:02:15 +02:00
Kconfig wifi: iwlwifi: Mark IWLMEI as broken 2022-09-12 14:22:55 +03:00
Makefile wifi: iwlwifi: split 22000.c into multiple files 2023-06-21 14:07:00 +02:00