]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
PCI: iproc: Set affinity mask on MSI interrupts
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Mon, 3 Aug 2020 03:52:40 +0000 (15:52 +1200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 8 Sep 2020 21:04:27 +0000 (22:04 +0100)
commiteb7eacaa5b9e4f665bd08d416c8f88e63d2f123c
tree1f1ec5058a14316c3882eadf016e6219b7c72193
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
PCI: iproc: Set affinity mask on MSI interrupts

The core interrupt code expects the irq_set_affinity call to update the
effective affinity for the interrupt. This was not being done, so update
iproc_msi_irq_set_affinity() to do so.

Link: https://lore.kernel.org/r/20200803035241.7737-1-mark.tomlinson@alliedtelesis.co.nz
Fixes: 3bc2b2348835 ("PCI: iproc: Add iProc PCIe MSI support")
Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
drivers/pci/controller/pcie-iproc-msi.c