Re: [PATCH v2] PCI: rcar-host: Add OF Kconfig dependency to avoid objtool no-cfi warning
From: Bjorn Helgaas
Date: Fri Dec 26 2025 - 18:47:16 EST
On Thu, Dec 18, 2025 at 10:53:00AM +0530, Manivannan Sadhasivam wrote:
> On Tue, 14 Oct 2025 11:20:27 -0700, Nathan Chancellor wrote:
> > After commit 894af4a1cde6 ("objtool: Validate kCFI calls"), compile
> > testing pcie-rcar-host.c with CONFIG_FINEIBT=y and CONFIG_OF=n results
> > in a no-cfi objtool warning in rcar_pcie_probe():
> >
> > $ cat allno.config
> > CONFIG_CFI=y
> > CONFIG_COMPILE_TEST=y
> > CONFIG_CPU_MITIGATIONS=y
> > CONFIG_GENERIC_PHY=y
> > CONFIG_MITIGATION_RETPOLINE=y
> > CONFIG_MODULES=y
> > CONFIG_PCI=y
> > CONFIG_PCI_MSI=y
> > CONFIG_PCIE_RCAR_HOST=y
> > CONFIG_X86_KERNEL_IBT=y
> >
> > [...]
>
> Applied, thanks!
>
> [1/1] PCI: rcar-host: Add OF Kconfig dependency to avoid objtool no-cfi warning
> commit: 57833f84f6f5967134c9c1119289f7acdd1c93e9
Is this v6.19 material? The patch is old, 894af4a1cde6 appeared in
v6.18, and it's not really a regression, but it only affects
PCIE_RCAR_HOST and it looks like it papers over a headache for static
analysis.
Bjorn