Re: [PATCH v2 0/3] s390/pci: Enable CONTEXT_ANALYSIS
From: Niklas Schnelle
Date: Mon Aug 03 2026 - 12:29:28 EST
On Mon, 2026-08-03 at 16:29 +0200, Heiko Carstens wrote:
> v2:
>
> - Address potential zdev reference leak (false positive) by adding a
> comment, and moving get_zdev_by_fid() [Sashiko, Niklas]
>
> - 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