]> git.baikalelectronics.ru Git - kernel.git/commit
perf/arm-ccn: Use platform_get_irq() to get the interrupt
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fri, 24 Dec 2021 16:13:31 +0000 (16:13 +0000)
committerWill Deacon <will@kernel.org>
Tue, 8 Feb 2022 14:25:35 +0000 (14:25 +0000)
commitcebffaa66ea3135862fed5d297497d12a5555354
tree12d9a7c60a624ed68e2ff310cb46699e34fb8aec
parentcdcfc33f146631371044f576fc7b64d7e71508a3
perf/arm-ccn: Use platform_get_irq() to get the interrupt

platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static
allocation of IRQ resources in DT core code, this causes an issue
when using hierarchical interrupt domains using "interrupts" property
in the node as this bypasses the hierarchical setup and messes up the
irq chaining.

In preparation for removal of static setup of IRQ resource from DT core
code use platform_get_irq().

Link: https://lore.kernel.org/r/20211224161334.31123-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-ccn.c