Samuel Holland 073352e951 genirq: Add and use an irq_data_update_affinity helper
Some architectures and irqchip drivers modify the cpumask returned by
irq_data_get_affinity_mask, usually by copying in to it. This is
problematic for uniprocessor configurations, where the affinity mask
should be constant, as it is known at compile time.

Add and use a setter for the affinity mask, following the pattern of
irq_data_update_effective_affinity. This allows the getter function to
return a const cpumask pointer.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> # Xen bits
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220701200056.46555-7-samuel@sholland.org
2022-07-07 09:38:04 +01:00
..
2021-09-03 09:58:09 -07:00
2021-02-25 10:17:31 -08:00
2021-04-30 11:20:35 -07:00
2021-04-30 11:20:34 -07:00
2021-04-30 11:20:35 -07:00
2020-09-11 09:34:32 -07:00
2021-12-13 12:04:45 -06:00
2021-04-30 11:20:35 -07:00
2022-04-28 23:17:25 -07:00
2022-01-22 08:33:37 +02:00
2020-08-10 19:07:44 -07:00
2022-06-03 06:52:58 -07:00
2019-08-16 11:33:57 -07:00
2021-02-20 19:09:26 -08:00
2022-04-28 23:17:25 -07:00
2022-02-25 09:36:06 +01:00