]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mvm: leave a print in the logs when we call fw_nmi()
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 12 May 2024 04:58:57 +0000 (07:58 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 08:53:03 +0000 (10:53 +0200)
commitf79968eb417574f84a06c22510cbeb414e89a809
tree93568a77255b153a9b530cca42552c7181422bb4
parent9574c7592c5080a3e1f3fdfe658bd13083a04cb5
wifi: iwlwifi: mvm: leave a print in the logs when we call fw_nmi()

When we crash the firmware, we need to know why we decided to do so.
Almost all the callsites of iwl_force_nmi() print something in the logs
that explain why the driver decided to crash the firmware.
Debugfs doesn't print anything and it is then hard to understand why the
firmware has crashed.
Add a simple print in the debugfs hook to ease the debug.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240512075822.e2558de222dc.Idd81777c47264e6f557b086625895c1dc2f667f3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c