Home
last modified time | relevance | path

Searched refs:new_lpcr (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/cpuidle/
Dcpuidle-powernv.c119 unsigned long new_lpcr; in fastsleep_loop() local
124 new_lpcr = old_lpcr; in fastsleep_loop()
128 new_lpcr &= ~LPCR_PECE1; in fastsleep_loop()
130 mtspr(SPRN_LPCR, new_lpcr); in fastsleep_loop()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsetup_64.c236 unsigned long new_lpcr = lpcr; in cpu_ready_for_interrupts() local
242 new_lpcr |= LPCR_AIL_3; in cpu_ready_for_interrupts()
244 new_lpcr |= LPCR_HAIL; in cpu_ready_for_interrupts()
246 new_lpcr |= LPCR_AIL_3; in cpu_ready_for_interrupts()
249 if (new_lpcr != lpcr) in cpu_ready_for_interrupts()
250 mtspr(SPRN_LPCR, new_lpcr); in cpu_ready_for_interrupts()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_pr.c1647 static void kvmppc_set_lpcr_pr(struct kvm_vcpu *vcpu, u64 new_lpcr) in kvmppc_set_lpcr_pr() argument
1649 if (new_lpcr & LPCR_ILE) in kvmppc_set_lpcr_pr()
Dbook3s_hv.c1610 static void kvmppc_set_lpcr(struct kvm_vcpu *vcpu, u64 new_lpcr, in kvmppc_set_lpcr() argument
1622 if ((new_lpcr & LPCR_ILE) != (vc->lpcr & LPCR_ILE)) { in kvmppc_set_lpcr()
1629 if (new_lpcr & LPCR_ILE) in kvmppc_set_lpcr()
1654 vc->lpcr = (vc->lpcr & ~mask) | (new_lpcr & mask); in kvmppc_set_lpcr()