Commit 473a8713 authored by Marc Zyngier's avatar Marc Zyngier Committed by Matthias Männich
Browse files

BACKPORT: irqchip/gic-v3: Improve affinity helper



The GICv3 driver uses multiple formats for the affinity, all
derived from a reading of MPDR_EL1 on one CPU or another.

Simplify the handling of these affinity by moving the access
to the CPU affinity via cpu_logical_map() inside the helper,
and rename it accordingly.

This will be helpful to support some more broken hardware.

Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>

Bug: 282025214
Change-Id: I2e6b9861d20336bec689a2e704b7fc50035841e7
(cherry picked from commit 3c65cbb7)
[meitao: Resolved minor conflict in drivers/irqchip/irq-gic-v3.c ]
Signed-off-by: default avatarmeitaogao <meitaogao@asrmicro.com>
(cherry picked from commit 035e150e)
parent 6c32acf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment