Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/kernel/
Dsetup_64.c277 unsigned long new_lpcr = lpcr; in cpu_ready_for_interrupts() local
283 new_lpcr |= LPCR_AIL_3; in cpu_ready_for_interrupts()
285 new_lpcr |= LPCR_HAIL; in cpu_ready_for_interrupts()
287 new_lpcr |= LPCR_AIL_3; in cpu_ready_for_interrupts()
290 if (new_lpcr != lpcr) in cpu_ready_for_interrupts()
291 mtspr(SPRN_LPCR, new_lpcr); in cpu_ready_for_interrupts()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv.c2127 static void kvmppc_set_lpcr(struct kvm_vcpu *vcpu, u64 new_lpcr, in kvmppc_set_lpcr() argument
2149 new_lpcr = kvmppc_filter_lpcr_hv(kvm, in kvmppc_set_lpcr()
2150 (vc->lpcr & ~mask) | (new_lpcr & mask)); in kvmppc_set_lpcr()
2156 if ((new_lpcr & LPCR_ILE) != (vc->lpcr & LPCR_ILE)) { in kvmppc_set_lpcr()
2163 if (new_lpcr & LPCR_ILE) in kvmppc_set_lpcr()
2170 vc->lpcr = new_lpcr; in kvmppc_set_lpcr()
Dbook3s_pr.c1633 static void kvmppc_set_lpcr_pr(struct kvm_vcpu *vcpu, u64 new_lpcr) in kvmppc_set_lpcr_pr() argument
1635 if (new_lpcr & LPCR_ILE) in kvmppc_set_lpcr_pr()