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

Niklas Schnelle <[email protected]> Mon, 03 Aug 2026 16:55:23 +0200
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:
> v2:
>=20
> - Address potential zdev reference leak (false positive) by adding a
>   comment, and moving get_zdev_by_fid() [Sashiko, Niklas]
>=20
> - Note: this reveals a pre-existing bug: zpci_remove_reserved_devices()
>   calls zpci_device_reserved() without holding locks. It looks like
>   this can be fixed easily by adding a mutex_lock()/mutex_unlock()
>   pair in zpci_remove_reserved_devices(), but that is not within
>   the scope of this series, and up to the pci maintainers

I agree with this assessment and can provide a patch on top of this
series to address this.

Thanks,
Niklas