Home
last modified time | relevance | path

Searched refs:host_kvm (Results 1 – 3 of 3) sorted by relevance

/linux/arch/arm64/kvm/hyp/nvhe/
H A Dpkvm.c346 static void pkvm_init_features_from_host(struct pkvm_hyp_vm *hyp_vm, const struct kvm *host_kvm) in pkvm_init_features_from_host() argument
349 unsigned long host_arch_flags = READ_ONCE(host_kvm->arch.flags); in pkvm_init_features_from_host()
353 hyp_vm->kvm.arch.ctr_el0 = host_kvm->arch.ctr_el0; in pkvm_init_features_from_host()
356 hyp_vm->kvm.arch.vgic.vgic_model = host_kvm->arch.vgic.vgic_model; in pkvm_init_features_from_host()
364 host_kvm->arch.vcpu_features, in pkvm_init_features_from_host()
368 hyp_vm->kvm.arch.midr_el1 = host_kvm->arch.midr_el1; in pkvm_init_features_from_host()
392 bitmap_and(kvm->arch.vcpu_features, host_kvm->arch.vcpu_features, in pkvm_init_features_from_host()
433 static void init_pkvm_hyp_vm(struct kvm *host_kvm, struct pkvm_hyp_vm *hyp_vm, in init_pkvm_hyp_vm() argument
441 hyp_vm->host_kvm = host_kvm; in init_pkvm_hyp_vm()
443 hyp_vm->kvm.arch.pkvm.is_protected = READ_ONCE(host_kvm->arch.pkvm.is_protected); in init_pkvm_hyp_vm()
[all …]
H A Dhyp-main.c774 DECLARE_REG(struct kvm *, host_kvm, host_ctxt, 1); in handle___pkvm_init_vm()
778 host_kvm = kern_hyp_va(host_kvm); in handle___pkvm_init_vm()
779 cpu_reg(host_ctxt, 1) = __pkvm_init_vm(host_kvm, vm_hva, pgd_hva); in handle___pkvm_init_vm()
/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dpkvm.h47 struct kvm *host_kvm; member
81 int __pkvm_init_vm(struct kvm *host_kvm, unsigned long vm_hva,