diff options
author | Anup Patel <[email protected]> | 2020-05-18 14:44:39 +0530 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-05-25 10:36:09 +0100 |
commit | 2458ed31e9b9ab40d78a452ab2650a0857556e85 (patch) | |
tree | 3e538e46bbbf5db86c42660fff20891252275077 /tools/perf/scripts/python/Perf-Trace-Util | |
parent | cc86432aa8cc5a81f99d79eea2a29099da694df3 (diff) |
irqchip/sifive-plic: Set default irq affinity in plic_irqdomain_map()
For multiple PLIC instances, each PLIC can only target a subset of
CPUs which is represented by "lmask" in the "struct plic_priv".
Currently, the default irq affinity for each PLIC interrupt is all
online CPUs which is illegal value for default irq affinity when we
have multiple PLIC instances. To fix this, we now set "lmask" as the
default irq affinity in for each interrupt in plic_irqdomain_map().
Fixes: f1ad1133b18f ("irqchip/sifive-plic: Add support for multiple PLICs")
Signed-off-by: Anup Patel <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions