lkml.org 
[lkml]   [2019]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] fs: add partial file read support
Date
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

\
 
 \ /
  Last update: 2019-05-23 04:52    [W:0.222 / U:25.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site