Re: [RFC] bus: mhi: core: Load firmware asynchronous

From: Hemant Kumar
Date: Mon Dec 13 2021 - 19:07:39 EST



On 12/10/2021 8:16 AM, Thomas Weißschuh wrote:
This gives userspace the possibility to provide the firehose bootloader
via the sysfs-firmware-API instead of having to modify the global
firmware loadpath.

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

---

Please note that this is not tested yet, as I don't have access to a matching
firmware file.
This submission is to gather general feedback from the maintainers and then
Richard will do the actual testing, while I'll do the development.

This patch is should not have any impact beyond moving from request_firmware()
to request_firmware_nowait() and the involved code reshuffle.
what are we achieving by moving to async ver of the firmware load ? MHI boot flow can not do anything until BHI load is over. Is the intention eventually to enable firmware fallback mechanism and manually load the firmware ?

[..]

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project