linux/drivers/net/wireless/intel/iwlwifi
Johannes Berg 34b9434cd0 iwlwifi: pcie: avoid potential PNVM leaks
If we erroneously try to set the PNVM data again after it has
already been set, we could leak the old DMA memory. Avoid that
and warn, we shouldn't be doing this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: 6972592850 ("iwlwifi: read and parse PNVM file")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210115130252.929c2d680429.I086b9490e6c005f3bcaa881b617e9f61908160f3@changeid
2021-01-25 15:52:48 +02:00
..
cfg iwlwifi: Add a new card for MA family 2020-12-10 00:16:05 +02:00
dvm iwlwifi: dvm: Fix fall-through warnings for Clang 2020-12-11 20:20:56 +02:00
fw iwlwifi: fw: acpi: Demote non-conformant function headers 2020-12-11 20:24:27 +02:00
mvm iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time() 2021-01-25 15:52:47 +02:00
pcie iwlwifi: pcie: avoid potential PNVM leaks 2021-01-25 15:52:48 +02:00
queue iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-agn-hw.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-config.h iwlwifi: Add a new card for MA family 2020-12-10 00:16:05 +02:00
iwl-context-info-gen3.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-context-info.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-csr.h iwlwifi: support firmware reset handshake 2020-12-10 00:16:03 +02:00
iwl-dbg-tlv.c iwlwifi: dbg: Don't touch the tlv data 2021-01-14 18:56:37 +02:00
iwl-dbg-tlv.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-debug.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-debug.h iwlwifi: mvm: add d3 prints 2020-10-01 22:00:59 +03:00
iwl-devtrace-data.h
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h net: iwlwifi: Remove in_interrupt() from tracing macro. 2020-09-29 14:02:55 -07:00
iwl-devtrace-ucode.h
iwl-devtrace.c
iwl-devtrace.h
iwl-drv.c iwlwifi: iwl-drv: Fix fall-through warnings for Clang 2020-12-11 20:21:28 +02:00
iwl-drv.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-parse.c iwlwifi: iwl-eeprom-parse: Fix 'struct iwl_eeprom_enhanced_txpwr's header 2020-12-11 20:24:23 +02:00
iwl-eeprom-parse.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-read.c iwlwifi: iwl-eeprom-read: Demote one nonconformant function header 2020-12-11 20:24:22 +02:00
iwl-eeprom-read.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-fh.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-io.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-io.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-modparams.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-nvm-parse.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-nvm-parse.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-op-mode.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-phy-db.c iwlwifi: iwl-phy-db: Add missing struct member description for 'trans' 2020-12-11 20:24:25 +02:00
iwl-phy-db.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-prph.h iwlwifi: support firmware reset handshake 2020-12-10 00:16:03 +02:00
iwl-scd.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-trans.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-trans.h iwlwifi: support firmware reset handshake 2020-12-10 00:16:03 +02:00
Kconfig
Makefile iwlwifi: move PNVM implementation to common code 2020-10-08 20:14:58 +03:00