Lines Matching full:vector
45 MSI_DATA_VECTOR(cfg->vector); in __irq_msi_compose_msg()
73 /* Allocate a new target vector */ in msi_set_affinity()
80 * to a different destination CPU and a different vector has to be in msi_set_affinity()
87 * - The new vector is the same as the old vector in msi_set_affinity()
88 * - The old vector is MANAGED_IRQ_SHUTDOWN_VECTOR (interrupt starts up) in msi_set_affinity()
93 cfg->vector == old_cfg.vector || in msi_set_affinity()
94 old_cfg.vector == MANAGED_IRQ_SHUTDOWN_VECTOR || in msi_set_affinity()
111 * Redirect the interrupt to the new vector on the current CPU in msi_set_affinity()
112 * first. This might cause a spurious interrupt on this vector if in msi_set_affinity()
116 * If the vector is in use then the installed device handler will in msi_set_affinity()
119 * anyway. If the vector is unused, then it is marked so it won't in msi_set_affinity()
120 * trigger the 'No irq handler for vector' warning in in msi_set_affinity()
123 * This requires to hold vector lock to prevent concurrent updates to in msi_set_affinity()
124 * the affected vector. in msi_set_affinity()
129 * Mark the new target vector on the local CPU if it is currently in msi_set_affinity()
136 * vector is cleaned up when the CPU comes online again. in msi_set_affinity()
138 if (IS_ERR_OR_NULL(this_cpu_read(vector_irq[cfg->vector]))) in msi_set_affinity()
139 this_cpu_write(vector_irq[cfg->vector], VECTOR_RETRIGGERED); in msi_set_affinity()
141 /* Redirect it to the new vector on the local CPU temporarily */ in msi_set_affinity()
142 old_cfg.vector = cfg->vector; in msi_set_affinity()
150 * vector/CPU. in msi_set_affinity()
152 * Drop vector lock before testing whether the temporary assignment in msi_set_affinity()
154 * because the retrigger function acquires vector lock again. in msi_set_affinity()
161 * of vector lock as the irq_desc::lock of this interrupt is still in msi_set_affinity()
163 * underlying vector store. It's just checking the local APIC's in msi_set_affinity()
166 if (lapic_vector_set_in_irr(cfg->vector)) in msi_set_affinity()