[PATCH v2] cxl: abort cxl_pci_enable_device_hook() if PCI channel is offline

Michael Ellerman mpe at ellerman.id.au
Mon Sep 7 12:53:11 AEST 2015

On Mon, 2015-09-07 at 10:52 +1000, Andrew Donnellan wrote:
> cxl_pci_enable_device_hook() is called when attempting to enable an AFU
> sitting on a vPHB. At present, the state of the underlying CXL card's PCI
> channel is only checked when it calls cxl_afu_check_and_enable() at the
> very end, after it has already set DMA options and initialised a default
> context.
> Check the CXL card's link status before setting DMA options or initialising
> a default context. If the link is down, print a warning and return
> immediately.

Is this a fix targetting 4.3 (current release) and/or stable, or something for


More information about the Linuxppc-dev mailing list