Re: [PATCH v2] irqchip: gic-v3: fix unmet dependency on ARM_PSCI_FW

From: Julian Braha

Date: Mon Aug 24 2026 - 15:00:15 EST


Hi Marc,

On 8/24/26 17:07, Marc Zyngier wrote:
> On Sun, 23 Aug 2026 19:08:32 +0100,
> Julian Braha <julianbraha@xxxxxxxxx> wrote:
>>
>> ARM_GIC_V3 currently selects HAVE_ARM_SMCCC_DISCOVERY without ensuring its
>> dependency, ARM_PSCI_FW, is met. However, ARM_PSCI_FW is always enabled on
>> for arm64, and the GICv3 driver only uses HAVE_ARM_SMCCC_DISCOVERY to
>> identify the NVIDIA T241, which is arm64 anyway.
>>
>> Also adds fallbacks for callers to avoid needing #ifdef guards when
>> HAVE_ARM_SMCCC_DISCOVERY is disabled (32bit arm).
>
> What does this 'Also' tell you? That this part is in the wrong patch.
>
> This should be split in two different patches, fixing different
> problems. One to allow graceful fallback of the SMCCC_DISCOVERY stuff
> when it isn't selected, and another to only force the selection of
> that option on arm64 when GICv3 is selected.
>

Thank you for reviewing, will split out these changes.

- Julian Braha