Commit e9f270f1 authored by Keir Fraser's avatar Keir Fraser Committed by Treehugger Robot
Browse files

ANDROID: KVM: arm64: Fix loading pvmfw into a protected VM



We cannot stash a pointer into the OF driver's reserved_mem table
because this is now sorted *after* init functions are called. Hence
we can end up with a pointer to an arbitrary rmem region.

Instead copy out the required base and size fields.

Bug: 400034937
Bug: 357781595
Change-Id: I2e04e8400ba1ec59def7b73d0a97cc83a9e39873
Signed-off-by: default avatarKeir Fraser <keirf@google.com>
parent 7f0e1ddf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment