On Thu, Aug 01, 2019 at 08:18:01AM +0200, Greg Kroah-Hartman wrote:
On Wed, Jul 31, 2019 at 05:18:32PM -0700, Scott Branden wrote:I'm soon going to release something that is going to let you do this
Hi Greg,
I am now back from leave to continue this patch. Comment below.
On 2019-05-23 10:22 p.m., Greg Kroah-Hartman wrote:
On Thu, May 23, 2019 at 10:01:38PM -0700, Scott Branden wrote:I managed to figure out how to build and run
On 2019-05-23 9:54 a.m., Greg Kroah-Hartman wrote:Are you sure? The test is for userspace functionality, there isn't
On Thu, May 23, 2019 at 09:36:02AM -0700, Scott Branden wrote:Unfortunately, there doesn't seem to be a test for the existing
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.
request_firmware_into_buf api.
kernel unit tests here. You need to verify that you didn't break
existing functionality as well as verify that your new functionality
works.
tools/testing/selftest/firmware/fw_run_tests.sh
and my changes don't break existing functionality.
faster and easier, let me know if you had troubles in trying to figure
out how to not regress the kernel using this.
The folks who implemented request_firmware_into_buf() didn't add aBut, I find no use of request_firmware_into_buf in lib/test_firmware.cI have no idea, sorry.
(triggered by fw_run_tests.sh).
Is there another test for request_firmware_into_buf?
respective test, because, well, this API went upstream IMO without much
ACKs / review, and even no damn users. Now we have a user so we're stuck
with it.
So new testing calls for it would be appreciated. If you have questions
I am happy to help.
Luis