Lines Matching full:lpcr
327 * restore the host LPCR value. in kvmhv_commence_exit()
671 * Functions used to switch LPCR HR and UPRT bits on all threads
676 #define PHASE_SET_LPCR 2 /* have set LPCR */
678 #define PHASE_RESET_LPCR 8 /* have reset LPCR to host value */
702 /* Set LPCR and LPIDR */ in kvmhv_p9_set_lpcr()
728 * to reload the host LPCR value - but only on POWER9 when
788 * Perform MSR and PC adjustment for LPCR[AIL]=3 if it is set and in inject_interrupt()
796 (vcpu->arch.vcore->lpcr & LPCR_AIL) == LPCR_AIL_3 && in inject_interrupt()
822 unsigned long lpcr; in kvmppc_guest_entry_inject_int() local
824 /* Insert EXTERNAL bit into LPCR at the MER bit position */ in kvmppc_guest_entry_inject_int()
826 lpcr = mfspr(SPRN_LPCR); in kvmppc_guest_entry_inject_int()
827 lpcr |= ext << LPCR_MER_SH; in kvmppc_guest_entry_inject_int()
828 mtspr(SPRN_LPCR, lpcr); in kvmppc_guest_entry_inject_int()
836 if (!(lpcr & LPCR_LD)) in kvmppc_guest_entry_inject_int()