Lines Matching full:masked

317 	 * XXX We could check if the interrupt is masked here and  in xive_vm_h_xirr()
320 * if (masked) { in xive_vm_h_xirr()
322 * if (masked) { in xive_vm_h_xirr()
395 /* For each priority that is now masked */ in xive_vm_scan_for_rerouted_irqs()
572 if (state->guest_priority == MASKED) { in xive_vm_h_eoi()
574 if (state->guest_priority != MASKED) { in xive_vm_h_eoi()
915 * interrupt, thus leaving it effectively masked after in kvmppc_xive_attach_escalation()
1094 * Take the lock, set masked, try again if racing in xive_lock_and_mask()
1100 state->guest_priority = MASKED; in xive_lock_and_mask()
1109 if (old_prio == MASKED) in xive_lock_and_mask()
1152 if (state->guest_priority != MASKED) in xive_finish_unmask()
1210 if (state->act_priority != MASKED) in xive_target_interrupt()
1235 * pair even when "masked" by the guest. This pair tends to
1249 * masked. Effectively we are OR'ing the previous Q into the
1260 * - If H_EOI occurs while masked, we clear the saved P.
1285 if (priority != MASKED) { in kvmppc_xive_set_xive()
1315 if (priority == MASKED) in kvmppc_xive_set_xive()
1327 if (priority != MASKED) in kvmppc_xive_set_xive()
1347 if (new_act_prio != MASKED && in kvmppc_xive_set_xive()
1356 if (priority != MASKED) in kvmppc_xive_set_xive()
1412 if (state->act_priority == MASKED) { in kvmppc_xive_int_on()
1418 if (state->saved_priority == MASKED) in kvmppc_xive_int_on()
1634 if (prio != MASKED && !state->old_p) in kvmppc_xive_set_mapped()
1712 * occupied) or the interrupt is masked, we set the IPI in kvmppc_xive_clr_mapped()
1715 if (prio == MASKED || state->old_p) in kvmppc_xive_clr_mapped()
1746 if (state->act_priority == MASKED) in kvmppc_xive_disable_vcpu_interrupts()
1753 state->act_priority = MASKED; in kvmppc_xive_disable_vcpu_interrupts()
1755 xive_native_configure_irq(state->ipi_number, 0, MASKED, 0); in kvmppc_xive_disable_vcpu_interrupts()
1758 xive_native_configure_irq(state->pt_number, 0, MASKED, 0); in kvmppc_xive_disable_vcpu_interrupts()
2103 /* Restore mask/prio if it wasn't masked */ in xive_pre_save_unmask_irq()
2104 if (state->saved_scan_prio != MASKED) in xive_pre_save_unmask_irq()
2226 if (prio == MASKED) { in xive_get_source()
2244 * if we are in a queue *or* we were masked and had in xive_get_source()
2245 * Q set which is equivalent to the XICS "masked pending" in xive_get_source()
2248 if (state->in_queue || (prio == MASKED && state->saved_q)) in xive_get_source()
2290 sb->irq_state[i].guest_priority = MASKED; in kvmppc_xive_create_src_block()
2291 sb->irq_state[i].saved_priority = MASKED; in kvmppc_xive_create_src_block()
2292 sb->irq_state[i].act_priority = MASKED; in kvmppc_xive_create_src_block()
2381 * We use lock_and_mask() to set us in the right masked in xive_set_source()
2393 * can become "untargetted" across migration if it was masked in xive_set_source()
2399 state->act_priority = MASKED; in xive_set_source()
2409 if (act_prio != MASKED) { in xive_set_source()
2421 * alone and masked. It will remain disabled until in xive_set_source()
2472 pr_devel(" masked, saving prio\n"); in xive_set_source()
2473 state->guest_priority = MASKED; in xive_set_source()
2613 xive_native_configure_irq(hw_num, 0, MASKED, 0); in kvmppc_xive_cleanup_irq()