Skip to content

firmware: add firmware_request_cache()

Luis R. Rodriguez linux-fsdevel linux-wireless lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 0 repliesNew

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3firmware: fix typo on pr_info_once() when ignore_sysfs_fallback is useddrivers/base/firmware_loader/fallback.c+1 -10 replies
2/3firmware: add firmware_request_cache() to help with cache on rebootDocumentation/driver-api/firmware/request_firmware.rst drivers/base/firmware_loader/main.c include/linux/firmware.h+41 -00 replies
3/3mt7601u: use firmware_request_cache() to address cache on rebootdrivers/net/wireless/mediatek/mt7601u/mcu.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchCantabile
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] firmware: add firmware_request_cache()

Greg,

Here are the last straggler patches to clean up what was left which you requested and to add the new firmware_request_cache() call to fix a corner case suspend issue.

The extra space character you found in earlier patches no longer needs to be fixed as that assignement was replaced with a new line in later patches which does not have the extra space in the assignment. The only other straggler fix needed which you had pointed out was the debugfs typo.

The new API call was renamed as suggested to firmware_request_cache(), with the API name first. I'll use a separate series to start addressing the firmware API rename for the rest of the callers. That will take some time as I'm running quite a bit of tests on those changes and I am going to wait for 0-day to give me its blesssings.

Question, feedback, and specially rants are greatly appreciated.

Luis

Luis R. Rodriguez (3):
firmware: fix typo on pr_info_once() when ignore_sysfs_fallback is
used
firmware: add firmware_request_cache() to help with cache on reboot
mt7601u: use firmware_request_cache() to address cache on reboot

 .../driver-api/firmware/request_firmware.rst       | 14 +++++++++++++
 drivers/base/firmware_loader/fallback.c            |  2 +-
 drivers/base/firmware_loader/main.c                | 24 ++++++++++++++++++++++
 drivers/net/wireless/mediatek/mt7601u/mcu.c        |  2 +-
 include/linux/firmware.h                           |  3 +++
 5 files changed, 43 insertions(+), 2 deletions(-)
Signature · 1 line
2.16.2