diff options
author | Marc Zyngier <maz@kernel.org> | 2025-07-08 18:33:56 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-07-22 15:33:16 -0500 |
commit | d17e3f8a933f1e467e2cfbe144ebefc2943a019f (patch) | |
tree | 3c33988755f8e7c763f82ac44511f25fc352ee6b /tools/testing/selftests/drivers/net/netpoll_basic.py | |
parent | fddf72ed7b52c91da37fe5f1d4faed11251b714f (diff) |
PCI: xgene-msi: Make per-CPU interrupt setup robust
The way the per-CPU interrupts are dealt with in the XGene MSI
driver isn't great:
- the affinity is set after the interrupt is enabled
- nothing prevents userspace from moving the interrupt around
- the affinity setting code pointlessly allocates memory
- the driver checks for conditions that cannot possibly happen
Address all of this in one go, resulting in slightly simpler setup
code.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20250708173404.1278635-6-maz@kernel.org
Diffstat (limited to 'tools/testing/selftests/drivers/net/netpoll_basic.py')
0 files changed, 0 insertions, 0 deletions