Commit d2389088 authored by Quentin Perret's avatar Quentin Perret Committed by Keir Fraser
Browse files

ANDROID: KVM: arm64: Allow non-RWX permissions in __pkvm_host_share_guest()



In preparation for allowing RO mappings in non-protected stage-2
page-tables with pKVM, refactor the __pkvm_host_share_guest() path to
accept a caller-specified permission.

Bug: 357781595
Change-Id: Ib598bba312facb8e09bf995d0a671c74d521fec9
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
parent fe6e90af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment