linux/drivers/net/wireless/intel/iwlwifi/fw
Johannes Berg d3ae69180b wifi: iwlwifi: fw: fix DBGI dump
The DBGI dump is (unsurprisingly) of type DBGI, not SRAM.
This leads to bad register accesses because the union is
built differently, there's no allocation ID, and thus the
allocation ID ends up being 0x8000.

Note that this was already wrong for DRAM vs. SMEM since
they use different parts of the union, but the allocation
ID is at the same place, so it worked.

Fix all of this but set the allocation ID in a way that
the offset calculation ends up without any offset.

Fixes: 34bc27783a ("iwlwifi: yoyo: fix DBGI_SRAM ini dump header.")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230514120631.19a302ae4c65.I12272599f7c1930666157b9d5e7f81fe9ec4c421@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-05-16 10:27:04 -07:00
..
api wifi: iwlwifi: mvm: adopt the latest firmware API 2023-04-18 14:47:54 +02:00
acpi.c wifi: iwlwifi: acpi: support modules with high antenna gain 2023-04-14 13:14:50 +02:00
acpi.h iwlwifi: acpi: move ppag code from mvm to fw/acpi 2022-03-10 09:23:29 +02:00
dbg.c wifi: iwlwifi: fw: fix DBGI dump 2023-05-16 10:27:04 -07:00
dbg.h iwlwifi: yoyo: send hcmd to fw after dump collection completes. 2022-02-18 10:40:55 +02:00
debugfs.c wifi: iwlwifi: fw: fix memory leak in debugfs 2023-04-20 11:45:54 +02:00
debugfs.h
dump.c wifi: iwlwifi: dbg: print pc register data once fw dump occurred 2023-04-14 13:14:49 +02:00
error-dump.h wifi: iwlwifi: yoyo: Add new tlv for dump file name extension 2023-03-15 13:25:12 +01:00
file.h wifi: iwlwifi: mvm: allow number of beacons from FW 2023-04-17 09:53:25 +02:00
img.c iwlwifi: make iwl_fw_lookup_cmd_ver() take a cmd_id 2022-02-18 10:40:50 +02:00
img.h wifi: iwlwifi: mvm: allow number of beacons from FW 2023-04-17 09:53:25 +02:00
init.c iwlwifi: make iwl_fw_lookup_cmd_ver() take a cmd_id 2022-02-18 10:40:50 +02:00
notif-wait.c
notif-wait.h
paging.c iwlwifi: avoid void pointer arithmetic 2022-02-18 10:40:50 +02:00
pnvm.c wifi: iwlwifi: fw: pnvm: fix uefi reduced TX power loading 2023-03-15 13:25:15 +01:00
pnvm.h
rs.c wifi: iwlwifi: mvm: clean up duplicated defines 2023-03-07 20:15:18 +01:00
runtime.h wifi: iwlwifi: acpi: support modules with high antenna gain 2023-04-14 13:14:50 +02:00
smem.c iwlwifi: prefer WIDE_ID() over iwl_cmd_id() 2022-02-18 10:40:50 +02:00
uefi.c wifi: iwlwifi: fw: fix argument to efi.get_variable 2023-04-20 11:45:54 +02:00
uefi.h wifi: iwlwifi: mvm: Support STEP equalizer settings from BIOS. 2023-01-30 13:00:19 +02:00