mirror_ubuntu-kernels/drivers/net/wireless/intel/iwlwifi/pcie
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
..
ctxt-info-gen3.c iwlwifi: support loading the reduced power table from UEFI 2021-06-22 16:57:57 +03:00
ctxt-info.c iwlwifi: pcie: properly set LTR workarounds on 22000 devices 2021-04-06 13:25:53 +03:00
drv.c iwlwifi: give Bz devices their own name 2021-08-26 23:34:24 +03:00
internal.h iwlwifi: pcie: remove spaces from queue names 2021-08-26 23:33:22 +03:00
rx.c iwlwifi: pcie: dump error on FW reset handshake failures 2021-08-26 23:32:21 +03:00
trans-gen2.c iwlwifi: pcie: implement Bz reset flow 2021-08-26 23:34:26 +03:00
trans.c iwlwifi: pcie: avoid dma unmap/remap in crash dump 2021-08-26 23:37:06 +03:00
tx-gen2.c iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd() 2021-04-19 20:35:10 +03:00
tx.c iwlwifi: pcie: don't enable BHs with IRQs disabled 2021-04-18 09:37:38 +03:00