Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_nested.c591 int l1_lpid = kvmppc_get_gpr(vcpu, 4); in kvmhv_copy_tofrom_guest_nested() local
611 gp = kvmhv_get_nested(vcpu->kvm, l1_lpid, false); in kvmhv_copy_tofrom_guest_nested()
670 ptbl_addr = (kvm->arch.l1_ptcr & PRTB_MASK) + (gp->l1_lpid << 4); in kvmhv_update_ptbl_cache()
671 if (gp->l1_lpid < (1ul << ((kvm->arch.l1_ptcr & PRTS_MASK) + 12 - 4))) { in kvmhv_update_ptbl_cache()
725 gp->l1_lpid = lpid; in kvmhv_alloc_nested()
772 int lpid = gp->l1_lpid; in kvmhv_remove_nested()
836 struct kvm_nested_guest *kvmhv_get_nested(struct kvm *kvm, int l1_lpid, in kvmhv_get_nested() argument
841 if (l1_lpid >= (1ul << ((kvm->arch.l1_ptcr & PRTS_MASK) + 12 - 4))) in kvmhv_get_nested()
845 gp = __find_nested(kvm, l1_lpid); in kvmhv_get_nested()
853 newgp = kvmhv_alloc_nested(kvm, l1_lpid); in kvmhv_get_nested()
[all …]
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_book3s_64.h25 int l1_lpid; /* lpid L1 guest thinks this guest is */ member
98 struct kvm_nested_guest *kvmhv_get_nested(struct kvm *kvm, int l1_lpid,