Re: [PATCH v2 3/3] s390/pci: Enable CONTEXT_ANALYSIS

From: Niklas Schnelle

Date: Wed Aug 05 2026 - 09:23:47 EST


On Mon, 2026-08-03 at 16:29 +0200, Heiko Carstens wrote:
> Enable CONTEXT_ANALYSIS since s390's pci code compiles now without
> warnings.
>
> Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
> ---
> arch/s390/pci/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/s390/pci/Makefile b/arch/s390/pci/Makefile
> index 1810e0944a4e..b8be1316491b 100644
> --- a/arch/s390/pci/Makefile
> +++ b/arch/s390/pci/Makefile
> @@ -3,6 +3,8 @@
> # Makefile for the s390 PCI subsystem.
> #
>
> +CONTEXT_ANALYSIS := y
> +
> obj-$(CONFIG_PCI) += pci.o pci_irq.o pci_clp.o \
> pci_event.o pci_debug.o pci_insn.o pci_mmio.o \
> pci_bus.o pci_kvm_hook.o pci_report.o pci_fixup.o

Looks good to me and it didn't raise any issues when compiling with
clang and debug_defconfig (CONFIG_WARN_CONTEXT_ANALYSIS=y) for me. Also
used that build to confirm the locking issue with lockdep. It needs the
device to be in standby to get into that path.

Reviewed-by: Niklas Schnelle <schnelle@xxxxxxxxxxxxx>


Thanks,
Niklas