Home
last modified time | relevance | path

Searched refs:cppr (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/sysdev/xics/
Dicp-hv.c25 static inline unsigned int icp_hv_get_xirr(unsigned char cppr) in icp_hv_get_xirr() argument
31 rc = plpar_hcall(H_XIRR, retbuf, cppr); in icp_hv_get_xirr()
36 __func__, cppr, rc); in icp_hv_get_xirr()
132 static void icp_hv_set_cpu_priority(unsigned char cppr) in icp_hv_set_cpu_priority() argument
134 xics_set_base_cppr(cppr); in icp_hv_set_cpu_priority()
135 icp_hv_set_cppr(cppr); in icp_hv_set_cpu_priority()
Dicp-opal.c92 static void icp_opal_set_cpu_priority(unsigned char cppr) in icp_opal_set_cpu_priority() argument
101 if (cppr >= DEFAULT_PRIORITY) in icp_opal_set_cpu_priority()
102 cppr = LOWEST_PRIORITY; in icp_opal_set_cpu_priority()
104 xics_set_base_cppr(cppr); in icp_opal_set_cpu_priority()
105 opal_int_set_cppr(cppr); in icp_opal_set_cpu_priority()
Dicp-native.c84 static void icp_native_set_cpu_priority(unsigned char cppr) in icp_native_set_cpu_priority() argument
86 xics_set_base_cppr(cppr); in icp_native_set_cpu_priority()
87 icp_native_set_cppr(cppr); in icp_native_set_cpu_priority()
/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c193 new.out_ee = (new.xisr && (new.pending_pri < new.cppr)); in icp_rm_try_update()
262 success = new_state.cppr > priority && in icp_rm_try_to_deliver()
446 new_state.cppr = new_cppr; in icp_rm_down_cppr()
504 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_rm_h_xirr()
507 new_state.cppr = new_state.pending_pri; in kvmppc_rm_h_xirr()
576 if (mfrr < new_state.cppr) { in kvmppc_rm_h_ipi()
606 int kvmppc_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr) in kvmppc_rm_h_cppr() argument
623 if (cppr > icp->state.cppr) { in kvmppc_rm_h_cppr()
624 icp_rm_down_cppr(xics, icp, cppr); in kvmppc_rm_h_cppr()
626 } else if (cppr == icp->state.cppr) in kvmppc_rm_h_cppr()
[all …]
Dbook3s_xics.c280 new.out_ee = (new.xisr && (new.pending_pri < new.cppr)); in icp_try_update()
289 old.cppr, old.mfrr, old.pending_pri, old.xisr, in icp_try_update()
292 new.cppr, new.mfrr, new.pending_pri, new.xisr, in icp_try_update()
352 success = new_state.cppr > priority && in icp_try_to_deliver()
540 new_state.cppr = new_cppr; in icp_down_cppr()
594 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr()
597 new_state.cppr = new_state.pending_pri; in kvmppc_h_xirr()
667 if (mfrr < new_state.cppr) { in kvmppc_h_ipi()
705 kvmppc_set_gpr(vcpu, 4, ((u32)state.cppr << 24) | state.xisr); in kvmppc_h_ipoll()
710 static noinline void kvmppc_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr) in kvmppc_h_cppr() argument
[all …]
Dbook3s_xics.h55 u8 cppr; member
/arch/powerpc/include/asm/
Dxics.h130 static inline void xics_set_base_cppr(unsigned char cppr) in xics_set_base_cppr() argument
139 os_cppr->stack[0] = cppr; in xics_set_base_cppr()
Dopal.h226 int64_t opal_int_set_cppr(uint8_t cppr);