[PATCHv5 0/4] add Intel Stratix10 remote system update driver

From: richard . gong
Date: Tue Sep 03 2019 - 09:05:51 EST


From: Richard Gong <richard.gong@xxxxxxxxx>

This is the 5th submission of Intel Stratix10 remote system update (RSU)
driver.

Intel Stratix10 remote system update driver patches have been reviewed by
Alan Tull and other colleagues at Intel.

The Intel Stratix10 Remote System Update driver exposes interfaces
access through the Intel Stratix10 Service Layer to user space via sysfs
interface. The RSU interfaces report and control some of the optional RSU
features on Intel Stratix 10 SoC.

The RSU feature provides a way for customers to update the boot
configuration of a Intel Stratix 10 SoC device with significantly reduced
risk of corrupting the bitstream storage and bricking the system.

v5: changed to use dev_group pointer from driver core
changed to support max_retry with watchdog event
s/KernelVersion:5.3/KernelVersion:5.4
replaced /sys/devices/.../stratix10-rsu.0/driver/ with
/sys/devices/platform/stratix10-rsu.0/
replace contact email address with richard.gong@xxxxxxxxxxxxxxx
v4: removed devm_device_add_groups() & devm_device_remove_groups(), then
utilized groups at struct device_driver
replaced /sys/devices/platform/stratix10-rsu.0/ with /sys/devices/.../
stratix10-rsu.0/driver/
removed spaces
v3: changed kernel version from 5.2 to 5.3 in RSU sysfs interface document
v2: removed compatible = "intel,stratix10-rsu"
added intel stratix10 RSU device
changed to support RSU in handling watchdog timeout
s/attr_group/ATTRIBUTE_GROUPS, use devm_device_add_groups() and
devm_device_remove_groups()
added check the return value from rsu_send_msg()
removed RSU binding text file
other corrections/change

Richard Gong (4):
firmware: stratix10-svc: extend svc to support new RSU features
firmware: add Intel Stratix10 remote system update driver
firmware: rsu: document sysfs interface
MAINTAINERS: add maintainer for Intel Stratix10 FW drivers

.../testing/sysfs-devices-platform-stratix10-rsu | 128 ++++++
MAINTAINERS | 11 +
drivers/firmware/Kconfig | 18 +
drivers/firmware/Makefile | 1 +
drivers/firmware/stratix10-rsu.c | 451 +++++++++++++++++++++
drivers/firmware/stratix10-svc.c | 76 +++-
include/linux/firmware/intel/stratix10-smc.h | 51 ++-
.../linux/firmware/intel/stratix10-svc-client.h | 11 +-
8 files changed, 737 insertions(+), 10 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu
create mode 100644 drivers/firmware/stratix10-rsu.c

--
2.7.4