From: Miri Korenblit Date: Mon, 5 May 2025 18:56:41 +0000 (+0300) Subject: wifi: iwlwifi: print the DSM value when read from UEFI X-Git-Tag: v6.16-rc1~132^2~46^2~8^2~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d95d66eabeefc1af2b792558a66062e8041a4c60;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://patch.msgid.link/20250505215512.f419c18c064e.I870a4537a4bfa3c54b03ec7ec29bb246e6aa75cb@changeid Signed-off-by: Miri Korenblit --- diff --git a/drivers/net/wireless/intel/iwlwifi/fw/uefi.c b/drivers/net/wireless/intel/iwlwifi/fw/uefi.c index d49bf3c34f95b..ce17424f3a60b 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);