On Thu, May 23, 2019 at 09:36:02AM -0700, Scott Branden wrote:
Hi Greg,tools/testing/selftests/firmware/
On 2019-05-22 10:52 p.m., Greg Kroah-Hartman wrote:
On Wed, May 22, 2019 at 07:51:12PM -0700, Scott Branden wrote:I was unaware there are existing firmware tests. Please let me know where
Add offset to request_firmware_into_buf to allow for portionsNo new firmware test for this new option? How do we know it even works?
of firmware file to be read into a buffer. Necessary where firmware
needs to be loaded in portions from file in memory constrained systems.
Signed-off-by: Scott Branden <scott.branden@xxxxxxxxxxxx>
---
drivers/base/firmware_loader/firmware.h | 5 +++
drivers/base/firmware_loader/main.c | 49 +++++++++++++++++--------
include/linux/firmware.h | 8 +++-
3 files changed, 45 insertions(+), 17 deletions(-)
these tests exists and I can add a test for this new option.
We have tested this with a new driver in development which requires theI can't take new apis without an in-kernel user, you all know this...
firmware file to be read in portions into memory. I can add my tested-by
and others to the commit message if desired.
thanks,
greg k-h