Re: [PATCH v6 1/4] s390/pci: Hold fmb_lock when enabling or disabling PCI devices
From: Matthew Rosato
Date: Wed Sep 16 2026 - 22:22:50 EST
On 9/16/26 5:32 PM, Omar Elghoul wrote:
> Ensure that fmb_lock is held by pcibios_enable_device() and
> pcibios_disable_device() when calling zpci_fmb_enable_device() or
> zpci_fmb_disable_device(), respectively. Additionally, assert that the
> fmb_lock is held within the latter two functions to prevent future race
> conditions regarding new callers.
>
> Fixes: af0a8a8453f7 ("s390/pci: implement pcibios_add_device")
> Fixes: 944239c59e93 ("s390/pci: implement pcibios_release_device")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Omar Elghoul <oelghoul@xxxxxxxxxxxxx>
> Reviewed-by: Niklas Schnelle <schnelle@xxxxxxxxxxxxx>
Reviewed-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx>