Lines Matching full:affinity

19 /* For !GENERIC_IRQ_EFFECTIVE_AFF_MASK this looks at general affinity mask */
28 * which do not implement effective affinity, but the architecture has in irq_needs_fixup()
29 * enabled the config switch. Use the general affinity mask instead. in irq_needs_fixup()
45 pr_warn("Eff. affinity %*pbl of IRQ %u contains only offline CPUs after offlining CPU %u\n", in irq_needs_fixup()
58 const struct cpumask *affinity; in migrate_one_irq() local
64 * still in the radix tree. Also if the chip has no affinity setter, in migrate_one_irq()
76 * - Affinity mask does not include this CPU. in migrate_one_irq()
100 * mask, so the last change of the affinity does not get lost. If in migrate_one_irq()
102 * any online CPU, use the current affinity mask. in migrate_one_irq()
105 affinity = irq_desc_get_pending_mask(desc); in migrate_one_irq()
107 affinity = irq_data_get_affinity_mask(d); in migrate_one_irq()
113 if (cpumask_any_and(affinity, cpu_online_mask) >= nr_cpu_ids) { in migrate_one_irq()
116 * the affinity untouched. in migrate_one_irq()
123 affinity = cpu_online_mask; in migrate_one_irq()
128 * disables the masking of offline CPUs from the supplied affinity in migrate_one_irq()
132 err = irq_do_set_affinity(d, affinity, false); in migrate_one_irq()
134 pr_warn_ratelimited("IRQ%u: set affinity failed(%d).\n", in migrate_one_irq()
149 * If the affinity settings do not allow other CPUs, force them onto any
192 const struct cpumask *affinity = irq_data_get_affinity_mask(data); in irq_restore_affinity_of_irq() local
195 !irq_data_get_irq_chip(data) || !cpumask_test_cpu(cpu, affinity)) in irq_restore_affinity_of_irq()
205 * CPU then it is already assigned to a CPU in the affinity in irq_restore_affinity_of_irq()
211 irq_set_affinity_locked(data, affinity, false); in irq_restore_affinity_of_irq()
215 * irq_affinity_online_cpu - Restore affinity for managed interrupts