diff options
| author | Maulik Shah <maulik.shah@oss.qualcomm.com> | 2026-07-07 14:51:35 +0530 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-07-07 22:03:09 +0200 |
| commit | 45af2d61edf62938b021b86439a1dd797fd74a91 (patch) | |
| tree | 9dd7843229d68dfd724ac77baa5a7142944440b7 /tools/perf/scripts/python/flamegraph.py | |
| parent | 60caa95aa14aed8d05abc03b70e2ff14e5ab6820 (diff) | |
irqchip/qcom-pdc: Differentiate between direct SPI and GPIO as SPI
Before commit 4dc70713dc24 ("irqchip/qcom-pdc: Kill non-wakeup irqdomain")
there were separate domains for direct SPIs and GPIOs used as SPIs.
Separate domains can be useful to have separate interrupt chips for
different functionalities. Since the commit unified both domains there
is no way to differentiate.
In preparation to add the second level interrupt controller support where
GPIO interrupts get latched at PDC (but not direct SPIs) there is a need to
differentiate between SPIs and GPIOs as SPIs. Reverting above commit does
is not a good option as it leads to waste of resources.
PDC hardware provides the IRQ_PARAM register to enumerate the number of
direct SPIs and the number of GPIOs as SPIs. Further PDC allocates direct
SPIs at the beginning and all GPIOs as SPIs are allocated at the end. This
information can be used in the driver to differentiate them.
Add the support to read this register and keep this information in struct
pdc_desc. Later change utilizes it.
[ tglx: Massage change log ]
Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260707-hamoa_pdc_v3-v4-3-dfd1f4a3ae89@oss.qualcomm.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
