ACK: [G][PATCH 0/1] zPCI DMA tables and bitmap leak on hard unplug (PCI Event 0x0304) (LP: 1896216)

Colin Ian King colin.king at
Mon Sep 21 11:05:16 UTC 2020

On 18/09/2020 19:55, frank.heimes at wrote:
> Buglink:
> Commit "s390/pci: adapt events for zbus" removed the zpci_disable_device() call for a zPCI event with PEC 0x0304 (hot unplug) becausethe device is already deconfigured by the platform.
> This however skips the Linux side of the disable in particular it leads to leaking the DMA tables and bitmaps because zpci_dma_exit_device() is never called on the device.
> This has been fixed in the following commit, that re-introduces the zpci_disable_device() call as it was before the zbus introduction, for good measure I also added a comment to zpci_disable_device() to call out the fact that it may be called with the device disabled already.
> Niklas Schnelle (1):
>   From: Niklas Schnelle <schnelle at>
>  arch/s390/pci/pci.c       | 4 ++++
>  arch/s390/pci/pci_event.c | 2 ++
>  2 files changed, 6 insertions(+)

Clean cherry pick from linux-next, detailed test plan. Looks good to me.

Acked-by: Colin Ian King <colin.king at>

More information about the kernel-team mailing list