[PATCH 0/3] fs: add partial file read support

From: Scott Branden
Date: Wed May 22 2019 - 22:54:20 EST


This patch series adds partial file read support to the kernel via
kernel_pread_file functions. request_firmware_into_buf function
enhanced to allow partial file read support and single qcom driver
using existing function updated.
Change to core kernel file support allows new drivers to read partial
file to memory as necessary in memory constrained systems.

Scott Branden (3):
fs: introduce kernel_pread_file* support
firmware: add offset to request_firmware_into_buf
soc: qcom: mdt_loader: add offset to request_firmware_into_buf

drivers/base/firmware_loader/firmware.h | 5 ++
drivers/base/firmware_loader/main.c | 49 +++++++++++-----
drivers/soc/qcom/mdt_loader.c | 7 ++-
fs/exec.c | 77 +++++++++++++++++++------
include/linux/firmware.h | 8 ++-
include/linux/fs.h | 15 +++++
6 files changed, 125 insertions(+), 36 deletions(-)

--
2.17.1