Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57562c50 authored by David Keitel's avatar David Keitel
Browse files

soc: peripheral-loader: only reclaim memory if it was assigned



In the error path of pil_boot, memory is attempted to be reclaimed
from the source VMID of both Linux and the subsystem. This may lead
to a panic if this attempted during one of the error conditions
previous to the assign call of the region for both Linux and the
subsystem.

Fix this by introducing a flag to track the state of the hypervisor
assignment.

Change-Id: I91ab134e645718c1c7c19969da80b879b53af6fa
CRs-Fixed: 957289
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 2f49086b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment