+41
−18
Loading
Several places in the MIPS GIC driver iterate over the online CPUs to operate on the CPU's GIC local register block, accessed via the GIC's other/redirect register block. Abstract the process of iterating over online CPUs & configuring the other/redirect region to access their registers through a new for_each_online_cpu_gic() macro and convert all usage sites over. Signed-off-by:Paul Burton <paulburton@kernel.org> Signed-off-by:
Chao-ying Fu <cfu@wavecomp.com> Signed-off-by:
Dragan Mladjenovic <dragan.mladjenovic@syrmia.com> Signed-off-by:
Aleksandar Rikalo <arikalo@gmail.com> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Tested-by:
Serge Semin <fancer.lancer@gmail.com> Tested-by:
Gregory CLEMENT <gregory.clement@bootlin.com> Link: https://lore.kernel.org/all/20241028175935.51250-2-arikalo@gmail.com