linux/drivers/base/firmware_loader
Luis R. Rodriguez 995e8695f6 firmware: ensure the firmware cache is not used on incompatible calls
request_firmware_into_buf() explicitly disables the firmware cache,
meanwhile the firmware cache cannot be used when request_firmware_nowait()
is used without the uevent. Enforce a sanity check for this to avoid future
issues undocumented behaviours should misuses of the firmware cache
happen later.

One of the reasons we want to enforce this is the firmware cache is
used for helping with suspend/resume, and if incompatible calls use it
they can stall suspend.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-20 09:28:47 +01:00
..
fallback_table.c firmware: enable to force disable the fallback mechanism at run time 2018-03-20 09:28:47 +01:00
fallback.c rename: _request_firmware_load() fw_load_sysfs_fallback() 2018-03-20 09:28:47 +01:00
fallback.h firmware: enable to force disable the fallback mechanism at run time 2018-03-20 09:28:47 +01:00
firmware.h firmware: move firmware loader into its own directory 2018-03-20 09:28:46 +01:00
main.c firmware: ensure the firmware cache is not used on incompatible calls 2018-03-20 09:28:47 +01:00
Makefile firmware: move firmware loader into its own directory 2018-03-20 09:28:46 +01:00