[PATCH v3] PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation

Lorenzo Pieralisi lorenzo.pieralisi at arm.com
Wed Oct 13 06:21:57 PDT 2021


On Sat, 18 Sep 2021 09:22:59 +0900, Kunihiko Hayashi wrote:
> The condition register PCI_RCV_INTX is used in irq_mask() and irq_unmask()
> callbacks. Accesses to register can occur at the same time without a lock.
> Add a lock into each callback to prevent the issue.
> 
> And INTX mask and unmask fields in PCL_RCV_INTX register should only be
> set/reset for each bit. Clearing by PCL_RCV_INTX_ALL_MASK should be
> removed.
> 
> [...]

Applied to pci/qcom, thanks!

[1/1] PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation
      https://git.kernel.org/lpieralisi/pci/c/bab406fc11

Thanks,
Lorenzo



More information about the linux-arm-kernel mailing list