Commit 7d2c204
irqchip/gic-v4: Always configure affinity on VPE activation
There are currently two paths to set the initial affinity of a VPE:
- at activation time on GICv4 without the stupid VMOVP list, and
on GICv4.1
- at map time for GICv4 with VMOVP list
The latter location may end-up modifying the affinity of VPE that is
currently running, making the results unpredictible.
Instead, unify the two paths, making sure to set the initial affinity only
at activation time.
Reported-by: Nianyao Tang <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Nianyao Tang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent be5e5f3 commit 7d2c204
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
1812 | | - | |
1813 | 1812 | | |
1814 | | - | |
1815 | | - | |
1816 | 1813 | | |
1817 | 1814 | | |
1818 | | - | |
1819 | 1815 | | |
1820 | 1816 | | |
1821 | 1817 | | |
| |||
4582 | 4578 | | |
4583 | 4579 | | |
4584 | 4580 | | |
| 4581 | + | |
| 4582 | + | |
| 4583 | + | |
| 4584 | + | |
4585 | 4585 | | |
4586 | 4586 | | |
4587 | 4587 | | |
| |||
4590 | 4590 | | |
4591 | 4591 | | |
4592 | 4592 | | |
4593 | | - | |
4594 | | - | |
4595 | | - | |
4596 | 4593 | | |
4597 | 4594 | | |
4598 | 4595 | | |
| |||
4601 | 4598 | | |
4602 | 4599 | | |
4603 | 4600 | | |
4604 | | - | |
4605 | | - | |
4606 | 4601 | | |
4607 | 4602 | | |
4608 | 4603 | | |
| |||
0 commit comments