Re: [PATCH v3 2/8] irqchip/qcom-pdc: Move all statics to struct pdc_desc

From: Konrad Dybcio

Date: Wed Jun 17 2026 - 09:27:29 EST


On 6/16/26 11:25 AM, Maulik Shah wrote:
> There are multiple statics used. Move all to struct pdc_desc to better
> align with versioning support. Document them.
>
> No functional impact.
>
> Signed-off-by: Maulik Shah <maulik.shah@xxxxxxxxxxxxxxxx>
> ---

[...]

> static void pdc_enable_intr(struct irq_data *d, bool on)
> {
> - unsigned long flags;
> + guard(raw_spinlock)(&pdc->lock);

tglx suggested to use guard(irq) around "the other callsite"..
which I'm not sure where it'd be - maybe around __pdc_enable_intr()
in pdc_setup_pin_mapping()?

Otherwise this patch looks good to me

Konrad