]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu: Account for PMU interrupts
authorRobin Murphy <robin.murphy@arm.com>
Thu, 17 Feb 2022 14:24:15 +0000 (14:24 +0000)
committerWill Deacon <will@kernel.org>
Mon, 7 Mar 2022 21:09:39 +0000 (21:09 +0000)
commit0d90d77bc43571d23f8f32a8a3c016f990e9ea1d
treed56f0adbb7617fa54b8ee493f914189ee3d88ebf
parent1eca961fdc50423f6f268f881353650628157bec
iommu/arm-smmu: Account for PMU interrupts

In preparation for SMMUv2 PMU support, rejig our IRQ setup code to
account for PMU interrupts as additional resources. We can simplify the
whole flow by only storing the context IRQs, since the global IRQs are
devres-managed and we never refer to them beyond the initial request.

CC: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/b2a40caaf1622eb35c555074a0d72f4f0513cff9.1645106346.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu.c
drivers/iommu/arm/arm-smmu/arm-smmu.h