-
- Downloads
firmware_loader: Add sysfs nodes to monitor fw_upload
Add additional sysfs nodes to monitor the transfer of firmware upload data to the target device: cancel: Write 1 to cancel the data transfer error: Display error status for a failed firmware upload remaining_size: Display the remaining amount of data to be transferred status: Display the progress of the firmware upload Reviewed-by:Luis Chamberlain <mcgrof@kernel.org> Reviewed-by:
Tianfei zhang <tianfei.zhang@intel.com> Tested-by:
Matthew Gerlach <matthew.gerlach@linux.intel.com> Signed-off-by:
Russ Weight <russell.h.weight@intel.com> Link: https://lore.kernel.org/r/20220421212204.36052-6-russell.h.weight@intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- Documentation/ABI/testing/sysfs-class-firmware 45 additions, 0 deletionsDocumentation/ABI/testing/sysfs-class-firmware
- Documentation/driver-api/firmware/fw_upload.rst 21 additions, 2 deletionsDocumentation/driver-api/firmware/fw_upload.rst
- drivers/base/firmware_loader/sysfs.c 9 additions, 0 deletionsdrivers/base/firmware_loader/sysfs.c
- drivers/base/firmware_loader/sysfs_upload.c 121 additions, 0 deletionsdrivers/base/firmware_loader/sysfs_upload.c
- drivers/base/firmware_loader/sysfs_upload.h 5 additions, 0 deletionsdrivers/base/firmware_loader/sysfs_upload.h
Loading
Please register or sign in to comment