Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Julian Braha <julianbraha@gmail.com>
Cc: mark.rutland@arm.com, lpieralisi@kernel.org,
	sudeep.holla@kernel.org, tglx@kernel.org, radu@rendec.net,
	vsethi@nvidia.com, sdonthineni@nvidia.com,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/2] irqchip: gic-v3: fix unmet dependency on ARM_PSCI_FW
Date: Sat, 17 Oct 2026 18:22:51 +0100	[thread overview]
Message-ID: <864iek1btg.wl-maz@kernel.org> (raw)
In-Reply-To: <20261014123539.2259230-1-julianbraha@gmail.com>

On Wed, 14 Oct 2026 13:35:37 +0100,
Julian Braha <julianbraha@gmail.com> wrote:
> 
> ARM_GIC_V3 currently selects HAVE_ARM_SMCCC_DISCOVERY without ensuring its
> dependency, ARM_PSCI_FW, is met.
> 
> Patch 1 of this series makes the select conditional on arm64, and patch 2
> adds stubs for arm32.
> 
> ---
> Julian Braha (2):
>   irqchip: gic-v3: fix unmet dependency on ARM_PSCI_FW
>   firmware: smccc: provide stubs when discovery is disabled
> 
>  drivers/irqchip/Kconfig   | 2 +-
>  include/linux/arm-smccc.h | 7 +++++++
>  2 files changed, 8 insertions(+), 1 deletion(-)

This hasn't been correctly tested, I'm afraid.

The patches are in the wrong order, as applying patch #1 on its own
will break a 32bit ARM build without PSCI (HAVE_ARM_SMCCC_DISCOVERY
not selected, but the stubs that are supposed to save the day are in
patch #2...):

arm-linux-gnueabihf-ld: drivers/irqchip/irq-gic-v3.o: in function `gic_enable_quirk_nvidia_t241':
/home/maz/hot-poop/arm-platforms/drivers/irqchip/irq-gic-v3.c:1816:(.text+0xb04): undefined reference to `arm_smccc_get_soc_id_version'
make[2]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1
make[1]: *** [/home/maz/hot-poop/arm-platforms/Makefile:1387: vmlinux] Error 2
make: *** [Makefile:248: __sub-make] Error 2

With the patch ordering fixed and the whole thing applied to the same
tree:

Reviewed-by: Marc Zyngier <maz@kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.


      parent reply	other threads:[~2026-10-17 17:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14 12:35 [PATCH v3 0/2] irqchip: gic-v3: fix unmet dependency on ARM_PSCI_FW Julian Braha
2026-10-14 12:35 ` [PATCH v3 1/2] irqchip: gic-v3: only select HAVE_ARM_SMCCC_DISCOVERY on arm64 Julian Braha
2026-10-14 12:35 ` [PATCH v3 2/2] firmware: smccc: provide stubs when discovery is disabled Julian Braha
2026-10-17 17:22 ` Marc Zyngier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=864iek1btg.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=julianbraha@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=radu@rendec.net \
    --cc=sdonthineni@nvidia.com \
    --cc=sudeep.holla@kernel.org \
    --cc=tglx@kernel.org \
    --cc=vsethi@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox