Commit c42b25f2 authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

ANDROID: KVM: arm64: Fix pKVM alloc get_free_chunk



Due to the best_available_size variable not being set on the first found
chunk, the function would not return the most optimal chunk if this
chunk is the first one from the list.

Bug: 414541590
Bug: 357781595
Bug: 273748186
Fixes: 08477328 ("ANDROID: KVM: arm64: Add a heap allocator for the pKVM hyp")
Reported-by: default avatarHiroyuki Katsura <hk590@cam.ac.uk>
Change-Id: I96f3ce6c48cded5102b0973e004779842e252e58
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
parent b85da1af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment