diff options
| author | Marc Zyngier <[email protected]> | 2025-07-08 17:33:56 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-07-22 20:33:16 +0000 |
| commit | d17e3f8a933f1e467e2cfbe144ebefc2943a019f (patch) | |
| tree | 3c33988755f8e7c763f82ac44511f25fc352ee6b /drivers/fpga/microchip-spi.c | |
| parent | PCI: xgene: Drop XGENE_PCIE_IP_VER_UNKN (diff) | |
| download | kernel-d17e3f8a933f1e467e2cfbe144ebefc2943a019f.tar.gz kernel-d17e3f8a933f1e467e2cfbe144ebefc2943a019f.zip | |
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 <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
