Home
last modified time | relevance | path

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

/arch/x86/kvm/vmx/
Dposted_intr.h10 u32 pir[8]; /* Posted interrupt requested */ member
45 return test_and_set_bit(vector, (unsigned long *)pi_desc->pir); in pi_test_and_set_pir()
50 return bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS); in pi_is_pir_empty()
Dvmx.c6462 kvm_apic_update_irr(vcpu, vmx->pi_desc.pir, &max_irr); in vmx_sync_pir_to_irr()
6496 memset(vmx->pi_desc.pir, 0, sizeof(vmx->pi_desc.pir)); in vmx_apicv_post_state_restore()
Dnested.c3770 max_irr = find_last_bit((unsigned long *)vmx->nested.pi_desc->pir, 256); in vmx_complete_nested_posted_interrupt()
3776 __kvm_apic_update_irr(vmx->nested.pi_desc->pir, in vmx_complete_nested_posted_interrupt()
/arch/powerpc/platforms/powernv/
Didle.c81 uint64_t pir = get_hard_smp_processor_id(cpu); in pnv_save_sprs_for_deep_states() local
84 rc = opal_slw_set_reg(pir, SPRN_HSPRG0, hsprg0_val); in pnv_save_sprs_for_deep_states()
88 rc = opal_slw_set_reg(pir, SPRN_LPCR, lpcr_val); in pnv_save_sprs_for_deep_states()
93 rc = opal_slw_set_reg(pir, P9_STOP_SPR_MSR, msr_val); in pnv_save_sprs_for_deep_states()
97 rc = opal_slw_set_reg(pir, in pnv_save_sprs_for_deep_states()
107 rc = opal_slw_set_reg(pir, SPRN_HMEER, hmeer_val); in pnv_save_sprs_for_deep_states()
111 rc = opal_slw_set_reg(pir, SPRN_HID0, hid0_val); in pnv_save_sprs_for_deep_states()
121 rc = opal_slw_set_reg(pir, SPRN_HID1, hid1_val); in pnv_save_sprs_for_deep_states()
125 rc = opal_slw_set_reg(pir, SPRN_HID4, hid4_val); in pnv_save_sprs_for_deep_states()
129 rc = opal_slw_set_reg(pir, SPRN_HID5, hid5_val); in pnv_save_sprs_for_deep_states()
[all …]
Dopal-fadump.h59 __be32 pir; member
Dopal-core.c111 static void fill_prstatus(struct elf_prstatus *prstatus, int pir, in fill_prstatus() argument
122 prstatus->pr_pid = cpu_to_be32(100 + pir); in fill_prstatus()
129 if (pir == oc_conf->crashing_cpu) { in fill_prstatus()
260 thread_pir = be32_to_cpu(thdr->pir); in opalcore_append_cpu_notes()
Dopal-hmi.c80 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); in print_core_checkstop_reason()
Dopal-fadump.c462 thread_pir = be32_to_cpu(thdr->pir); in opal_fadump_build_cpu_notes()
/arch/powerpc/include/uapi/asm/
Dkvm_para.h59 __u32 pir; member
Dkvm.h210 __u32 pir; /* read-only */ member
/arch/powerpc/kvm/
De500_emulate.c67 int pir = param & PPC_DBELL_PIR_MASK; in kvmppc_e500_emul_msgsnd() local
75 int cpir = cvcpu->arch.shared->pir; in kvmppc_e500_emul_msgsnd()
76 if ((param & PPC_DBELL_MSG_BRDCAST) || (cpir == pir)) { in kvmppc_e500_emul_msgsnd()
Dbooke.c1524 sregs->u.e.pir = vcpu->vcpu_id; in get_sregs_arch206()
1537 if (sregs->u.e.pir != vcpu->vcpu_id) in set_sregs_arch206()
2106 vcpu->arch.shared->pir = vcpu->vcpu_id; in kvmppc_core_vcpu_create()
Dmpic.c217 uint32_t pir; /* Processor initialization register */ member
521 opp->pir = 0; in openpic_reset()
/arch/powerpc/platforms/85xx/
Dsmp.c40 u32 pir; member
250 out_be32(&spin_table->pir, hw_cpu); in smp_85xx_start_cpu()
/arch/x86/kvm/
Dlapic.h93 bool __kvm_apic_update_irr(u32 *pir, void *regs, int *max_irr);
94 bool kvm_apic_update_irr(struct kvm_vcpu *vcpu, u32 *pir, int *max_irr);
Dlapic.c423 bool __kvm_apic_update_irr(u32 *pir, void *regs, int *max_irr) in __kvm_apic_update_irr() argument
433 pir_val = READ_ONCE(pir[i]); in __kvm_apic_update_irr()
437 irr_val |= xchg(&pir[i], 0); in __kvm_apic_update_irr()
453 bool kvm_apic_update_irr(struct kvm_vcpu *vcpu, u32 *pir, int *max_irr) in kvm_apic_update_irr() argument
457 return __kvm_apic_update_irr(pir, apic->regs, max_irr); in kvm_apic_update_irr()
/arch/powerpc/sysdev/
Dmpic.c1908 u32 pir; in mpic_reset_core() local
1913 pir = mpic_read(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT)); in mpic_reset_core()
1914 pir |= (1 << cpuid); in mpic_reset_core()
1915 mpic_write(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT), pir); in mpic_reset_core()
1919 pir &= ~(1 << cpuid); in mpic_reset_core()
1920 mpic_write(mpic->gregs, MPIC_INFO(GREG_PROCESSOR_INIT), pir); in mpic_reset_core()
/arch/powerpc/kernel/
Dsysfs.c582 SYSFS_SPRSETUP(pir, SPRN_PIR);
592 static DEVICE_ATTR(pir, 0400, show_pir, NULL);
Dkvm.c527 kvm_patch_ins_lwz(inst, magic_var(pir), inst_rt); in kvm_check_ins()
/arch/powerpc/include/asm/
Dopal-api.h636 __be32 pir; /* for CHECKSTOP_TYPE_CORE */ member