Searched refs:lpcr_mask (Results 1 – 6 of 6) sorted by relevance
337 target_ulong lpcr, lpcr_mask; in h_enter_nested() local405 lpcr_mask = LPCR_DPFD | LPCR_ILE | LPCR_AIL | LPCR_LD | LPCR_MER; in h_enter_nested()406 lpcr = (env->spr[SPR_LPCR] & ~lpcr_mask) | (hv_state.lpcr & lpcr_mask); in h_enter_nested()409 l2_state.lpcr = lpcr & pcc->lpcr_mask; in h_enter_nested()1732 target_ulong lpcr, lpcr_mask, hdec; in nested_papr_load_l2() local1733 lpcr_mask = LPCR_DPFD | LPCR_ILE | LPCR_AIL | LPCR_LD | LPCR_MER; in nested_papr_load_l2()1738 lpcr = (env->spr[SPR_LPCR] & ~lpcr_mask) | in nested_papr_load_l2()1739 (vcpu->state.lpcr & lpcr_mask); in nested_papr_load_l2()1742 env->spr[SPR_LPCR] = lpcr & pcc->lpcr_mask; in nested_papr_load_l2()
100 env->spr[SPR_LPCR] = val & pcc->lpcr_mask; in ppc_store_lpcr()
1497 uint64_t lpcr_mask; /* Available bits in the LPCR */ member3003 } else if (pcc->lpcr_mask & LPCR_ILE) { in ppc_interrupts_little_endian()
6080 pcc->lpcr_mask = LPCR_RMLS | LPCR_ILE | LPCR_LPES0 | LPCR_LPES1 | in POWERPC_FAMILY()6196 pcc->lpcr_mask = LPCR_VPM0 | LPCR_VPM1 | LPCR_ISL | LPCR_DPFD | in POWERPC_FAMILY()6366 pcc->lpcr_mask = LPCR_VPM0 | LPCR_VPM1 | LPCR_ISL | LPCR_KBV | in POWERPC_FAMILY()6558 pcc->lpcr_mask = LPCR_VPM1 | LPCR_ISL | LPCR_KBV | LPCR_DPFD | in POWERPC_FAMILY()6738 pcc->lpcr_mask = LPCR_VPM1 | LPCR_ISL | LPCR_KBV | LPCR_DPFD | in POWERPC_FAMILY()6746 pcc->lpcr_mask |= LPCR_HAIL; in POWERPC_FAMILY()
306 if (!(pcc->lpcr_mask & LPCR_AIL)) { in ppc_excp_apply_ail()312 if (!(pcc->lpcr_mask & LPCR_HAIL)) { in ppc_excp_apply_ail()
5269 unsigned long lpcr, lpcr_mask; in kvmppc_switch_mmu_to_hpt() local5282 lpcr_mask = LPCR_VPM1 | LPCR_UPRT | LPCR_GTSE | LPCR_HR; in kvmppc_switch_mmu_to_hpt()5284 lpcr_mask |= LPCR_HAIL; in kvmppc_switch_mmu_to_hpt()5285 kvmppc_update_lpcr(kvm, lpcr, lpcr_mask); in kvmppc_switch_mmu_to_hpt()5296 unsigned long lpcr, lpcr_mask; in kvmppc_switch_mmu_to_radix() local5310 lpcr_mask = LPCR_VPM1 | LPCR_UPRT | LPCR_GTSE | LPCR_HR; in kvmppc_switch_mmu_to_radix()5312 lpcr_mask |= LPCR_HAIL; in kvmppc_switch_mmu_to_radix()5317 kvmppc_update_lpcr(kvm, lpcr, lpcr_mask); in kvmppc_switch_mmu_to_radix()