Lines Matching refs:hirq
136 u32 hirq = 0; in xive_vm_scan_interrupts() local
140 while ((xc->mfrr != 0xff || pending != 0) && hirq == 0) { in xive_vm_scan_interrupts()
155 hirq = XICS_IPI; in xive_vm_scan_interrupts()
178 hirq = __xive_read_eq(qpage, q->msk, &idx, &toggle); in xive_vm_scan_interrupts()
194 if (hirq == XICS_IPI || (prio == 0 && !qpage)) { in xive_vm_scan_interrupts()
202 WARN_ON(hirq && hirq != XICS_IPI); in xive_vm_scan_interrupts()
203 if (hirq) in xive_vm_scan_interrupts()
208 if (hirq == XICS_DUMMY) in xive_vm_scan_interrupts()
212 if (!hirq) { in xive_vm_scan_interrupts()
236 hirq = XICS_IPI; in xive_vm_scan_interrupts()
249 return hirq; in xive_vm_scan_interrupts()
260 return hirq; in xive_vm_scan_interrupts()
271 if (hirq) in xive_vm_scan_interrupts()
284 return hirq; in xive_vm_scan_interrupts()
291 u32 hirq; in xive_vm_h_xirr() local
307 hirq = xive_vm_scan_interrupts(xc, xc->pending, scan_fetch); in xive_vm_h_xirr()
310 hirq, xc->hw_cppr, xc->cppr); in xive_vm_h_xirr()
313 if (hirq & 0xff000000) in xive_vm_h_xirr()
314 pr_warn("XIVE: Weird guest interrupt number 0x%08x\n", hirq); in xive_vm_h_xirr()
331 vcpu->arch.regs.gpr[4] = hirq | (old_cppr << 24); in xive_vm_h_xirr()
340 u32 hirq; in xive_vm_h_ipoll() local
364 hirq = xive_vm_scan_interrupts(xc, pending, scan_poll); in xive_vm_h_ipoll()
367 vcpu->arch.regs.gpr[4] = hirq | (xc->cppr << 24); in xive_vm_h_ipoll()