aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiri Korenblit <[email protected]>2025-05-05 18:56:41 +0000
committerMiri Korenblit <[email protected]>2025-05-07 03:08:01 +0000
commitd95d66eabeefc1af2b792558a66062e8041a4c60 (patch)
treedc2a07a2ab051c07d7cab8be9e9757ba98331977
parentwifi: iwlwifi: dvm: pair transport op-mode enter/leave (diff)
downloadkernel-d95d66eabeefc1af2b792558a66062e8041a4c60.tar.gz
kernel-d95d66eabeefc1af2b792558a66062e8041a4c60.zip
wifi: iwlwifi: print the DSM value when read from UEFI
We have such a print for ACPI, add one for UEFI. This is needed for testing Reviewed-by: Johannes Berg <[email protected]> Link: https://patch.msgid.link/20250505215512.f419c18c064e.I870a4537a4bfa3c54b03ec7ec29bb246e6aa75cb@changeid Signed-off-by: Miri Korenblit <[email protected]>
-rw-r--r--drivers/net/wireless/intel/iwlwifi/fw/uefi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/uefi.c b/drivers/net/wireless/intel/iwlwifi/fw/uefi.c
index d49bf3c34f95..ce17424f3a60 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/uefi.c
+++ b/drivers/net/wireless/intel/iwlwifi/fw/uefi.c
@@ -753,6 +753,10 @@ int iwl_uefi_get_dsm(struct iwl_fw_runtime *fwrt, enum iwl_dsm_funcs func,
}
*value = data->functions[func];
+
+ IWL_DEBUG_RADIO(fwrt,
+ "UEFI: DSM func=%d: value=%d\n", func, *value);
+
ret = 0;
out:
kfree(data);