wifi: iwlwifi: mei: implement PLDR flow
authorAvraham Stern <avraham.stern@intel.com>
Wed, 2 Nov 2022 14:59:55 +0000 (16:59 +0200)
committerGregory Greenman <gregory.greenman@intel.com>
Thu, 10 Nov 2022 11:27:00 +0000 (13:27 +0200)
commit733eb54f62c6f07938c83cac6ef69afc28ca7e6c
tree8d5edabdfb264b04af8df04532b4cbc57be6f909
parentef2e7a51095012673b9b72dabe343333f537c826
wifi: iwlwifi: mei: implement PLDR flow

If the FW needs to do OTP re-read, the driver must notify CSME before
loading the FW so CSME will not try to access the NIC during the
re-read. Once the alive notification is received, CSME is notified
that NIC access is allowed again.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20221102165239.49eb8c6d455f.I7f0a5debb2d3d662a4151199bbec24613f324c13@changeid
drivers/net/wireless/intel/iwlwifi/iwl-prph.h
drivers/net/wireless/intel/iwlwifi/mei/iwl-mei.h
drivers/net/wireless/intel/iwlwifi/mei/main.c
drivers/net/wireless/intel/iwlwifi/mei/sap.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c