/linux-master/arch/powerpc/sysdev/xics/ |
H A D | icp-hv.c | 21 static inline unsigned int icp_hv_get_xirr(unsigned char cppr) argument 27 rc = plpar_hcall(H_XIRR, retbuf, cppr); 31 pr_err("%s: bad return code xirr cppr=0x%x returned %ld\n", 32 __func__, cppr, rc); 43 pr_err("%s: bad return code cppr cppr=0x%x returned %ld\n", 128 static void icp_hv_set_cpu_priority(unsigned char cppr) argument 130 xics_set_base_cppr(cppr); 131 icp_hv_set_cppr(cppr);
|
H A D | icp-opal.c | 89 static void icp_opal_set_cpu_priority(unsigned char cppr) argument 98 if (cppr >= DEFAULT_PRIORITY) 99 cppr = LOWEST_PRIORITY; 101 xics_set_base_cppr(cppr); 102 opal_int_set_cppr(cppr);
|
H A D | icp-native.c | 80 static void icp_native_set_cpu_priority(unsigned char cppr) argument 82 xics_set_base_cppr(cppr); 83 icp_native_set_cppr(cppr);
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv_rm_xics.c | 182 new.out_ee = (new.xisr && (new.pending_pri < new.cppr)); 251 success = new_state.cppr > priority && 448 new_state.cppr = new_cppr; 511 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); 514 new_state.cppr = new_state.pending_pri; 569 * prio(pending_interrupt) < cppr 583 if (mfrr < new_state.cppr) { 613 int xics_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr) argument 630 if (cppr > icp->state.cppr) { [all...] |
H A D | book3s_xics.c | 279 new.out_ee = (new.xisr && (new.pending_pri < new.cppr)); 288 old.cppr, old.mfrr, old.pending_pri, old.xisr, 291 new.cppr, new.mfrr, new.pending_pri, new.xisr, 351 success = new_state.cppr > priority && 552 new_state.cppr = new_cppr; 605 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); 608 new_state.cppr = new_state.pending_pri; 664 * prio(pending_interrupt) < cppr 678 if (mfrr < new_state.cppr) { 716 kvmppc_set_gpr(vcpu, 4, ((u32)state.cppr << 2 721 kvmppc_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr) argument 1107 u8 cppr, mfrr, pending_pri; local [all...] |
H A D | book3s_xics.h | 56 u8 cppr; member in struct:kvmppc_icp_state::__anon25 149 extern int xics_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);
|
H A D | book3s_xive.c | 41 u8 cppr; local 63 cppr = ack & 0xff; 64 if (cppr < 8) 65 xc->pending |= 1 << cppr; 68 if (cppr >= xc->hw_cppr) 70 smp_processor_id(), cppr, xc->hw_cppr); 74 * xc->cppr, this will be done as we scan for interrupts 77 xc->hw_cppr = cppr; 151 /* Don't scan past the guest cppr */ 152 if (prio >= xc->cppr || pri 456 xive_vm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr) argument 1496 u8 cppr, mfrr; local [all...] |
H A D | book3s_xive.h | 173 uint8_t cppr; /* guest CPPR */ member in struct:kvmppc_xive_vcpu
|
H A D | book3s_xive_native.c | 1165 vcpu->arch.xive_saved_state.cppr, 1233 vcpu->arch.xive_saved_state.cppr,
|
H A D | book3s_hv.c | 4403 vcpu->arch.xive_saved_state.cppr;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | xics.h | 136 static inline void xics_set_base_cppr(unsigned char cppr) argument 141 * just one cppr value on the stack 145 os_cppr->stack[0] = cppr;
|
H A D | kvm_host.h | 500 u8 cppr; member in struct:kvmppc_slb::xive_tma_w01::__anon73
|
H A D | opal.h | 231 int64_t opal_int_set_cppr(uint8_t cppr);
|
/linux-master/arch/powerpc/sysdev/xive/ |
H A D | spapr.c | 605 u8 nsr, cppr; local 624 cppr = ack & 0xff; 628 if (cppr == 0xff) 631 xc->pending_prio |= 1 << cppr; 637 if (cppr >= xc->cppr) 639 smp_processor_id(), cppr, xc->cppr); 642 xc->cppr = cppr; [all...] |
H A D | native.c | 343 u8 he, cppr; local 356 cppr = ack & 0xff; 362 if (cppr == 0xff) 365 xc->pending_prio |= 1 << cppr; 371 if (cppr >= xc->cppr) 373 smp_processor_id(), cppr, xc->cppr); 376 xc->cppr = cppr; [all...] |
H A D | xive-internal.h | 36 u8 cppr; member in struct:xive_cpu
|
H A D | common.c | 204 if (prio != xc->cppr) { 206 xc->cppr = prio; 276 xmon_printf("pp=%02x CPPR=%02x ", xc->pending_prio, xc->cppr); 1521 xc->cppr = 0xff; 1613 xc->cppr = 0; 1620 xc->cppr = 0xff; 1643 xc->cppr = 0; 1735 seq_printf(m, "pp=%02x CPPR=%02x ", xc->pending_prio, xc->cppr);
|