OSDN Git Service

firmware: Fix incompatible function behavior for RSU driver
authorRichard Gong <richard.gong@intel.com>
Mon, 4 Nov 2019 16:24:36 +0000 (10:24 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Nov 2019 05:11:32 +0000 (13:11 +0800)
commite9cb0497b1c801a66f9abc907b2c55241099e6ac
tree659026ef1d9113ee2b3fee119fcedc4303951888
parentc0e5f4e73a7148e18b763067d181661987cb4c09
firmware: Fix incompatible function behavior for RSU driver

The older versions of remote system update (RSU) firmware don't support
retry and notify features then the kernel module dies when it queries
the RSU retry counter or performs notify operation.

Update the Intel service layer and RSU drivers to be compatible with
all versions of RSU firmware.

Reported-by: Radu Barcau <radu.bacrau@intel.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Richard Gong <richard.gong@intel.com>
Link: https://lore.kernel.org/r/1572884676-1385-1-git-send-email-richard.gong@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/stratix10-rsu.c
drivers/firmware/stratix10-svc.c
include/linux/firmware/intel/stratix10-svc-client.h