]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: apple: Move away from INTMSK{SET,CLR} for INTx and private interrupts
authorMarc Zyngier <maz@kernel.org>
Tue, 1 Apr 2025 09:17:07 +0000 (10:17 +0100)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 23 Apr 2025 07:22:48 +0000 (12:52 +0530)
commit0411c90eee6fc97b30d3f5767e9cb82d4594faa1
treeac2b85e71c77dff4216412cc2996a00ada245033
parented982862ce980c578c8c80917a69c8fa1c504b85
PCI: apple: Move away from INTMSK{SET,CLR} for INTx and private interrupts

T602x seems to have dropped the rather useful SET/CLR accessors
to the masking register.

Instead, let's use the mask register directly, and wrap it with
a brand new spinlock. No, this isn't moving in the right direction.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Link: https://patch.msgid.link/20250401091713.2765724-8-maz@kernel.org
drivers/pci/controller/pcie-apple.c