From: Michael Ellerman <mpe@ellerman.id.au>
To: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Cc: linuxppc-dev@ozlabs.org, mikey@neuling.org, imunsie@au1.ibm.com,
dja@axtens.net
Subject: Re: [PATCH v2] cxl: abort cxl_pci_enable_device_hook() if PCI channel is offline
Date: Mon, 07 Sep 2015 12:53:11 +1000 [thread overview]
Message-ID: <1441594391.12945.2.camel@ellerman.id.au> (raw)
In-Reply-To: <1441587178-5581-1-git-send-email-andrew.donnellan@au1.ibm.com>
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
next?
cheers
next prev parent reply other threads:[~2015-09-07 2:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 6:20 [PATCH] cxl: abort cxl_pci_enable_device_hook() if PCI channel is offline Andrew Donnellan
2015-09-06 23:58 ` Ian Munsie
2015-09-07 0:22 ` Andrew Donnellan
2015-09-07 6:33 ` Ian Munsie
2015-09-07 8:43 ` Michael Ellerman
2015-09-07 0:47 ` Andrew Donnellan
2015-09-07 1:01 ` Ian Munsie
2015-09-07 0:52 ` [PATCH v2] " Andrew Donnellan
2015-09-07 1:09 ` Ian Munsie
2015-09-07 2:53 ` Michael Ellerman [this message]
2015-09-07 4:00 ` Andrew Donnellan
2015-09-08 12:05 ` [v2] " Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441594391.12945.2.camel@ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=andrew.donnellan@au1.ibm.com \
--cc=dja@axtens.net \
--cc=imunsie@au1.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikey@neuling.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).