mirror_ubuntu-kernels/drivers/net/wireless/intel/iwlwifi
Johannes Berg 59a6ee97e0 iwlwifi: pcie: avoid dma unmap/remap in crash dump
DMA-API debug code pointed out that in this code path we
never check the return value of dma_map_page(), which could
fail.

However, we don't really even want to unmap/remap, we just
want to ensure that we can actually access the last version
of the data that the (now-dead) device may have written, so
only need to dma_sync_single_for_cpu() instead.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210819183728.5987f35883a2.I2d9ea5ecc69a5e5947b546fb15f33363a0595651@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2021-08-26 23:37:06 +03:00
..
cfg iwlwifi: bump FW API to 65 for AX devices 2021-08-26 23:37:05 +03:00
dvm iwlwifi: remove trailing semicolon in macro definition 2021-08-26 23:33:24 +03:00
fw iwlwifi: acpi: fill in SAR tables with defaults 2021-08-26 23:37:05 +03:00
mvm iwlwifi: mvm: load regdomain at INIT stage 2021-08-26 23:36:10 +03:00
pcie iwlwifi: pcie: avoid dma unmap/remap in crash dump 2021-08-26 23:37:06 +03:00
queue iwlwifi: queue: avoid memory leak in reset flow 2021-04-14 12:07:19 +03:00
iwl-agn-hw.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-config.h iwlwifi: read MAC address from correct place on Bz 2021-08-26 23:34:24 +03:00
iwl-context-info-gen3.h iwlwifi: support loading the reduced power table from UEFI 2021-06-22 16:57:57 +03:00
iwl-context-info.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-csr.h iwlwifi: implement Bz NMI behaviour 2021-08-26 23:34:25 +03:00
iwl-dbg-tlv.c iwlwifi: yoyo: cleanup internal buffer allocation in D3 2021-08-26 23:34:20 +03:00
iwl-dbg-tlv.h iwlwifi: prepare for synchronous error dumps 2021-08-26 23:32:21 +03: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: use DEFINE_MUTEX() for mutex lock 2021-08-26 23:33:24 +03:00
iwl-drv.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-parse.c iwlwifi: remove max_ht_ampdu_exponent config parameter 2021-02-11 01:52:10 +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: implement Bz NMI behaviour 2021-08-26 23:34:25 +03:00
iwl-io.h iwlwifi: fix the NMI flow for old devices 2021-01-25 15:53:00 +02:00
iwl-modparams.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-nvm-parse.c iwlwifi: mvm: load regdomain at INIT stage 2021-08-26 23:36:10 +03:00
iwl-nvm-parse.h iwlmvm: set properly NIC_NOT_ACK_ENABLED flag 2021-02-11 01:52:11 +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: 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: pcie: identify the RF module 2021-06-22 15:11:26 +03:00
iwl-scd.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-trans.c iwlwifi: trans/pcie: defer transport initialisation 2021-04-14 12:07:21 +03:00
iwl-trans.h iwlwifi: prepare for synchronous error dumps 2021-08-26 23:32:21 +03:00
Kconfig First set of patches intended for v5.9 2020-06-15 20:23:23 +03:00
Makefile iwlwifi: move error dump to fw utils 2021-06-22 16:57:57 +03:00