/linux/arch/powerpc/kvm/ |
A D | book3s_xive_template.c | 16 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 D | book3s_xics.c | 351 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 D | book3s_hv_rm_xics.c | 182 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 D | book3s_xics.h | 56 u8 cppr; member 148 extern int xics_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);
|
A D | book3s_xive.h | 173 uint8_t cppr; /* guest CPPR */ member 292 extern int xive_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);
|
A D | book3s_xive.c | 880 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 D | book3s_hv_builtin.c | 536 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 D | book3s_xive_native.c | 1166 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 D | book3s_hv.c | 4117 vcpu->arch.xive_saved_state.cppr; in xive_interrupt_pending()
|
/linux/arch/powerpc/sysdev/xics/ |
A D | icp-hv.c | 21 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 D | icp-opal.c | 89 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 D | icp-native.c | 79 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 D | spapr.c | 590 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 D | native.c | 341 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 D | common.c | 194 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 D | xive-internal.h | 36 u8 cppr; member
|
/linux/arch/powerpc/include/asm/ |
A D | xics.h | 136 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 D | kvm_host.h | 497 u8 cppr; member
|
A D | opal.h | 234 int64_t opal_int_set_cppr(uint8_t cppr);
|
A D | kvm_ppc.h | 785 int kvmppc_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);
|