Commit 874488c3 authored by Quentin Perret's avatar Quentin Perret
Browse files

BACKPORT: FROMGIT: KVM: arm64: Introduce __pkvm_host_mkyoung_guest()



Plumb the kvm_pgtable_stage2_mkyoung() callback into pKVM for
non-protected guests. It will be called later from the fault handling
path.

BACKPORT: Added kvm_pte_t return value. Temporarily hardcoded order to 0
for __check_host_shared_guest() check. Support for THP will be added
later.

Bug: 357781595
Bug: 235345873
Tested-by: default avatarFuad Tabba <tabba@google.com>
Reviewed-by: default avatarFuad Tabba <tabba@google.com>
Change-Id: I7d486536e3cce42b7ea97453e242da15ede6855e
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20241218194059.3670226-16-qperret@google.com


Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
(cherry-picked from commit 76f0b18b
 git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm next)
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
parent ea9a78aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment