]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
bus: mhi: core: Download AMSS image from appropriate function
authorBhaumik Bhatt <bbhatt@codeaurora.org>
Thu, 3 Jun 2021 08:24:00 +0000 (10:24 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Fri, 4 Jun 2021 12:16:13 +0000 (14:16 +0200)
commitfae84905e0cad3bca9105c1f72427c0a0f00dde2
tree30f9e35ae6782998fa82963795a76edbabd5fc63
parent75b5532c4938498887d39842e70f6e0e89f377ba
bus: mhi: core: Download AMSS image from appropriate function

BugLink: https://bugs.launchpad.net/bugs/1930637
During full boot chain firmware download, the PM state worker
downloads the AMSS image after a blocking wait for the SBL
execution environment change when running in PBL transition
itself. Improve this design by having the host download the AMSS
image from the SBL transition of PM state worker thread when a
DEV_ST_TRANSITION_SBL is queued instead of the blocking wait.

Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Link: https://lore.kernel.org/r/1614208985-20851-3-git-send-email-bbhatt@codeaurora.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
(cherry picked from commit 4884362f6977fc05cbec736625665241c0e0732f)
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/bus/mhi/core/boot.c
drivers/bus/mhi/core/internal.h
drivers/bus/mhi/core/pm.c