Home
last modified time | relevance | path

Searched refs:l1_lpid (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_nested.c497 int l1_lpid = kvmppc_get_gpr(vcpu, 4); in kvmhv_copy_tofrom_guest_nested() local
517 gp = kvmhv_get_nested(vcpu->kvm, l1_lpid, false); in kvmhv_copy_tofrom_guest_nested()
576 ptbl_addr = (kvm->arch.l1_ptcr & PRTB_MASK) + (gp->l1_lpid << 4); in kvmhv_update_ptbl_cache()
577 if (gp->l1_lpid < (1ul << ((kvm->arch.l1_ptcr & PRTS_MASK) + 8))) { in kvmhv_update_ptbl_cache()
602 gp->l1_lpid = lpid; in kvmhv_alloc_nested()
649 int lpid = gp->l1_lpid; in kvmhv_remove_nested()
720 struct kvm_nested_guest *kvmhv_get_nested(struct kvm *kvm, int l1_lpid, in kvmhv_get_nested() argument
725 if (l1_lpid >= KVM_MAX_NESTED_GUESTS || in kvmhv_get_nested()
726 l1_lpid >= (1ul << ((kvm->arch.l1_ptcr & PRTS_MASK) + 12 - 4))) in kvmhv_get_nested()
730 gp = kvm->arch.nested_guests[l1_lpid]; in kvmhv_get_nested()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s_64.h37 int l1_lpid; /* lpid L1 guest thinks this guest is */ member
111 struct kvm_nested_guest *kvmhv_get_nested(struct kvm *kvm, int l1_lpid,