From: Frederic Barrat <fbarrat@linux.ibm.com>
To: Vaibhav Jain <vaibhav@linux.ibm.com>, linuxppc-dev@lists.ozlabs.org
Cc: Philippe Bergheaud <philippe.bergheaud@fr.ibm.com>,
Alastair D'Silva <alastair@linux.ibm.com>,
Christophe Lombard <christophe_lombard@fr.ibm.com>,
Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Subject: Re: [RFC PATCH 0/2] cxl: Add support for disabling CAPP when unloading CXL
Date: Mon, 28 Jan 2019 14:34:38 +0100 [thread overview]
Message-ID: <91b238a5-03ef-b3fb-8036-4696a6c84233@linux.ibm.com> (raw)
In-Reply-To: <20190125051131.29351-1-vaibhav@linux.ibm.com>
Hi Vaibhav,
I think there's value in there, as I'm hearing Mellanox would prefer to
start from a "clean" state, as in pci mode, when they load their driver
after a card FW update.
However, I'm pretty reluctant to make it the default behaviour. It's not
like we haven't had our share of problems on reset before :-)
Furthermore, for non-mlx5 case, we don't really have a reason for this.
I'm thinking we could activate it through a per-adapter property, on
/sys. See comment in one of the patches.
Fred
Le 25/01/2019 à 06:11, Vaibhav Jain a écrit :
> Recent updates to OPAL have implemented necessary infrastructure [1] to disable
> CAPP and switch PHB back to PCIE mode during fast reset. This small patch-set
> uses the same OPAL infrastructure to force disable of CAPP when CXL module is
> unloaded via rmmod.
>
> References:
> [1]: https://lists.ozlabs.org/pipermail/skiboot/2019-January/013063.html
>
> Vaibhav Jain (2):
> powerpc/powernv: Add support for CXL mode switch that need PHB reset
> cxl: Force a CAPP reset when unloading CXL module
>
> arch/powerpc/platforms/powernv/pci-cxl.c | 71 +++++++++++++++++++++---
> drivers/misc/cxl/cxl.h | 1 +
> drivers/misc/cxl/main.c | 3 +
> drivers/misc/cxl/pci.c | 25 ++++++++-
> 4 files changed, 91 insertions(+), 9 deletions(-)
>
prev parent reply other threads:[~2019-01-28 13:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-25 5:11 [RFC PATCH 0/2] cxl: Add support for disabling CAPP when unloading CXL Vaibhav Jain
2019-01-25 5:11 ` [RFC PATCH 1/2] powerpc/powernv: Add support for CXL mode switch that need PHB reset Vaibhav Jain
2019-01-28 13:34 ` Frederic Barrat
2019-01-29 7:00 ` Vaibhav Jain
2019-01-28 16:06 ` christophe lombard
2019-01-29 5:13 ` Vaibhav Jain
2019-01-25 5:11 ` [RFC PATCH 2/2] cxl: Force a CAPP reset when unloading CXL module Vaibhav Jain
2019-01-28 13:34 ` Frederic Barrat
2019-01-28 13:34 ` Frederic Barrat [this message]
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=91b238a5-03ef-b3fb-8036-4696a6c84233@linux.ibm.com \
--to=fbarrat@linux.ibm.com \
--cc=alastair@linux.ibm.com \
--cc=andrew.donnellan@au1.ibm.com \
--cc=christophe_lombard@fr.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=philippe.bergheaud@fr.ibm.com \
--cc=vaibhav@linux.ibm.com \
/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).