Home
last modified time | relevance | path

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

/linux/arch/powerpc/kvm/
A Dbook3s_xive_template.c16 u8 cppr; in GLUE() local
38 cppr = ack & 0xff; in GLUE()
39 if (cppr < 8) in GLUE()
44 if (cppr >= xc->hw_cppr) in GLUE()
54 xc->hw_cppr = cppr; in GLUE()
252 xc->cppr = prio; in GLUE()
448 cppr = xive_prio_from_guest(cppr); in GLUE()
451 old_cppr = xc->cppr; in GLUE()
452 xc->cppr = cppr; in GLUE()
490 xc->hw_cppr = cppr; in GLUE()
[all …]
A Dbook3s_xics.c351 success = new_state.cppr > priority && in icp_try_to_deliver()
552 new_state.cppr = new_cppr; in icp_down_cppr()
608 new_state.cppr = new_state.pending_pri; in kvmppc_h_xirr()
678 if (mfrr < new_state.cppr) { in kvmppc_h_ipi()
737 if (cppr > icp->state.cppr) in kvmppc_h_cppr()
738 icp_down_cppr(xics, icp, cppr); in kvmppc_h_cppr()
739 else if (cppr == icp->state.cppr) in kvmppc_h_cppr()
759 new_state.cppr = cppr; in kvmppc_h_cppr()
761 if (cppr <= new_state.pending_pri) { in kvmppc_h_cppr()
1116 u8 cppr, mfrr, pending_pri; in kvmppc_xics_set_icp() local
[all …]
A Dbook3s_hv_rm_xics.c182 new.out_ee = (new.xisr && (new.pending_pri < new.cppr)); in icp_rm_try_update()
251 success = new_state.cppr > priority && in icp_rm_try_to_deliver()
448 new_state.cppr = new_cppr; in icp_rm_down_cppr()
506 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in xics_rm_h_xirr()
509 new_state.cppr = new_state.pending_pri; in xics_rm_h_xirr()
578 if (mfrr < new_state.cppr) { in xics_rm_h_ipi()
625 if (cppr > icp->state.cppr) { in xics_rm_h_cppr()
626 icp_rm_down_cppr(xics, icp, cppr); in xics_rm_h_cppr()
628 } else if (cppr == icp->state.cppr) in xics_rm_h_cppr()
648 new_state.cppr = cppr; in xics_rm_h_cppr()
[all …]
A Dbook3s_xics.h56 u8 cppr; member
148 extern int xics_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);
A Dbook3s_xive.h173 uint8_t cppr; /* guest CPPR */ member
292 extern int xive_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);
A Dbook3s_xive.c880 return (u64)xc->cppr << KVM_REG_PPC_ICP_CPPR_SHIFT | in kvmppc_xive_get_icp()
889 u8 cppr, mfrr; in kvmppc_xive_set_icp() local
896 cppr = icpval >> KVM_REG_PPC_ICP_CPPR_SHIFT; in kvmppc_xive_set_icp()
902 xc->server_num, cppr, mfrr, xisr); in kvmppc_xive_set_icp()
913 vcpu->arch.xive_saved_state.cppr = cppr; in kvmppc_xive_set_icp()
914 xc->hw_cppr = xc->cppr = cppr; in kvmppc_xive_set_icp()
923 if (mfrr < cppr) in kvmppc_xive_set_icp()
2310 xc->cppr, xc->hw_cppr, in xive_debug_show()
A Dbook3s_hv_builtin.c536 int kvmppc_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr) in kvmppc_rm_h_cppr() argument
541 return xive_rm_h_cppr(vcpu, cppr); in kvmppc_rm_h_cppr()
543 return xics_rm_h_cppr(vcpu, cppr); in kvmppc_rm_h_cppr()
A Dbook3s_xive_native.c1166 vcpu->arch.xive_saved_state.cppr, in kvmppc_xive_native_get_vp()
1234 vcpu->arch.xive_saved_state.cppr, in xive_native_debug_show()
A Dbook3s_hv.c4117 vcpu->arch.xive_saved_state.cppr; in xive_interrupt_pending()
/linux/arch/powerpc/sysdev/xics/
A Dicp-hv.c21 static inline unsigned int icp_hv_get_xirr(unsigned char cppr) in icp_hv_get_xirr() argument
27 rc = plpar_hcall(H_XIRR, retbuf, cppr); in icp_hv_get_xirr()
32 __func__, cppr, rc); in icp_hv_get_xirr()
128 static void icp_hv_set_cpu_priority(unsigned char cppr) in icp_hv_set_cpu_priority() argument
130 xics_set_base_cppr(cppr); in icp_hv_set_cpu_priority()
131 icp_hv_set_cppr(cppr); in icp_hv_set_cpu_priority()
A Dicp-opal.c89 static void icp_opal_set_cpu_priority(unsigned char cppr) in icp_opal_set_cpu_priority() argument
98 if (cppr >= DEFAULT_PRIORITY) in icp_opal_set_cpu_priority()
99 cppr = LOWEST_PRIORITY; in icp_opal_set_cpu_priority()
101 xics_set_base_cppr(cppr); in icp_opal_set_cpu_priority()
102 opal_int_set_cppr(cppr); in icp_opal_set_cpu_priority()
A Dicp-native.c79 static void icp_native_set_cpu_priority(unsigned char cppr) in icp_native_set_cpu_priority() argument
81 xics_set_base_cppr(cppr); in icp_native_set_cpu_priority()
82 icp_native_set_cppr(cppr); in icp_native_set_cpu_priority()
/linux/arch/powerpc/sysdev/xive/
A Dspapr.c590 u8 nsr, cppr; in xive_spapr_update_pending() local
609 cppr = ack & 0xff; in xive_spapr_update_pending()
613 if (cppr == 0xff) in xive_spapr_update_pending()
616 xc->pending_prio |= 1 << cppr; in xive_spapr_update_pending()
622 if (cppr >= xc->cppr) in xive_spapr_update_pending()
624 smp_processor_id(), cppr, xc->cppr); in xive_spapr_update_pending()
627 xc->cppr = cppr; in xive_spapr_update_pending()
A Dnative.c341 u8 he, cppr; in xive_native_update_pending() local
354 cppr = ack & 0xff; in xive_native_update_pending()
360 if (cppr == 0xff) in xive_native_update_pending()
363 xc->pending_prio |= 1 << cppr; in xive_native_update_pending()
369 if (cppr >= xc->cppr) in xive_native_update_pending()
371 smp_processor_id(), cppr, xc->cppr); in xive_native_update_pending()
374 xc->cppr = cppr; in xive_native_update_pending()
A Dcommon.c194 if (prio != xc->cppr) { in xive_scan_interrupts()
196 xc->cppr = prio; in xive_scan_interrupts()
251 xmon_printf("pp=%02x CPPR=%02x ", xc->pending_prio, xc->cppr); in xmon_xive_do_dump()
1500 xc->cppr = 0xff; in xive_setup_cpu()
1592 xc->cppr = 0; in xive_smp_disable_cpu()
1599 xc->cppr = 0xff; in xive_smp_disable_cpu()
1622 xc->cppr = 0; in xive_teardown_cpu()
1700 seq_printf(m, "pp=%02x CPPR=%02x ", xc->pending_prio, xc->cppr); in xive_debug_show_cpu()
A Dxive-internal.h36 u8 cppr; member
/linux/arch/powerpc/include/asm/
A Dxics.h136 static inline void xics_set_base_cppr(unsigned char cppr) in xics_set_base_cppr() argument
145 os_cppr->stack[0] = cppr; in xics_set_base_cppr()
A Dkvm_host.h497 u8 cppr; member
A Dopal.h234 int64_t opal_int_set_cppr(uint8_t cppr);
A Dkvm_ppc.h785 int kvmppc_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);

Completed in 59 milliseconds