Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_hv_nested.c561 int l1_lpid = kvmppc_get_gpr(vcpu, 4); in kvmhv_copy_tofrom_guest_nested() local
581 gp = kvmhv_get_nested(vcpu->kvm, l1_lpid, false); in kvmhv_copy_tofrom_guest_nested()
640 ptbl_addr = (kvm->arch.l1_ptcr & PRTB_MASK) + (gp->l1_lpid << 4); in kvmhv_update_ptbl_cache()
641 if (gp->l1_lpid < (1ul << ((kvm->arch.l1_ptcr & PRTS_MASK) + 12 - 4))) { in kvmhv_update_ptbl_cache()
695 gp->l1_lpid = lpid; in kvmhv_alloc_nested()
742 int lpid = gp->l1_lpid; in kvmhv_remove_nested()
806 struct kvm_nested_guest *kvmhv_get_nested(struct kvm *kvm, int l1_lpid, in kvmhv_get_nested() argument
811 if (l1_lpid >= (1ul << ((kvm->arch.l1_ptcr & PRTS_MASK) + 12 - 4))) in kvmhv_get_nested()
815 gp = __find_nested(kvm, l1_lpid); in kvmhv_get_nested()
823 newgp = kvmhv_alloc_nested(kvm, l1_lpid); in kvmhv_get_nested()
[all …]
/linux-6.6.21/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,