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

Niklas Schnelle <[email protected]>
Newsgroups org.kernel.vger.linux-s390,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]>
> ---
>  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 <[email protected]>


Thanks,
Niklas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.