linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: Daniel Axtens <dja@axtens.net>
Cc: linuxppc-dev@ozlabs.org, benh@kernel.crashing.org,
	mikey@neuling.org, imunsie@au.ibm.com
Subject: Re: [PATCH v5 11/11] cxl: Add CONFIG_CXL_EEH symbol
Date: Mon, 17 Aug 2015 13:52:38 +1000	[thread overview]
Message-ID: <1439783558.14494.2.camel@ellerman.id.au> (raw)
In-Reply-To: <1439538087-32137-12-git-send-email-dja@axtens.net>

On Fri, 2015-08-14 at 17:41 +1000, Daniel Axtens wrote:
> CONFIG_CXL_EEH is for CXL's EEH related code.
> 
> Other drivers can depend on or #ifdef on this symbol to configure
> PERST behaviour, allowing CXL to participate in the EEH process.
> 
> Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
> Signed-off-by: Daniel Axtens <dja@axtens.net>
> ---
>  drivers/misc/cxl/Kconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig
> index b6db9ebd52c2..c151fc1fe14c 100644
> --- a/drivers/misc/cxl/Kconfig
> +++ b/drivers/misc/cxl/Kconfig
> @@ -11,11 +11,17 @@ config CXL_KERNEL_API
>  	bool
>  	default n
>  
> +config CXL_EEH
> +	bool
> +	default n
> +	select EEH

I'd rather we didn't have select EEH here, instead ..

>  config CXL
>  	tristate "Support for IBM Coherent Accelerators (CXL)"
>  	depends on PPC_POWERNV && PCI_MSI

It should be a dependency here.

In practice it won't make any difference with the current way the options are
defined, but I think it's the right way to do it.

I'm happy to fix it up if you're OK with it.

>  	select CXL_BASE
>  	select CXL_KERNEL_API
> +	select CXL_EEH
>  	default m
>  	help
>  	  Select this option to enable driver support for IBM Coherent


cheers

  reply	other threads:[~2015-08-17  3:52 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-14  7:41 [PATCH v5 00/11] CXL EEH Handling Daniel Axtens
2015-08-14  7:41 ` [PATCH v5 01/11] cxl: Convert MMIO read/write macros to inline functions Daniel Axtens
2015-08-17  5:44   ` Ian Munsie
2015-08-17  8:03   ` [v5, " Michael Ellerman
2015-08-14  7:41 ` [PATCH v5 02/11] cxl: Drop commands if the PCI channel is not in normal state Daniel Axtens
2015-08-17  5:44   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 03/11] cxl: Allocate and release the SPA with the AFU Daniel Axtens
2015-08-17  5:45   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 04/11] cxl: Make IRQ release idempotent Daniel Axtens
2015-08-17  5:45   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 05/11] cxl: Clean up adapter MMIO unmap path Daniel Axtens
2015-08-17  5:45   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 06/11] cxl: Refactor adaptor init/teardown Daniel Axtens
2015-08-17  5:46   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 07/11] cxl: Refactor AFU init/teardown Daniel Axtens
2015-08-17  5:47   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 08/11] cxl: Don't remove AFUs/vPHBs in cxl_reset Daniel Axtens
2015-08-17  5:47   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 09/11] cxl: Allow the kernel to trust that an image won't change on PERST Daniel Axtens
2015-08-17  5:47   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 10/11] cxl: EEH support Daniel Axtens
2015-08-17  5:47   ` Ian Munsie
2015-08-14  7:41 ` [PATCH v5 11/11] cxl: Add CONFIG_CXL_EEH symbol Daniel Axtens
2015-08-17  3:52   ` Michael Ellerman [this message]
2015-08-17  4:21     ` Daniel Axtens
2015-08-17  5:47   ` Ian Munsie

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=1439783558.14494.2.camel@ellerman.id.au \
    --to=mpe@ellerman.id.au \
    --cc=benh@kernel.crashing.org \
    --cc=dja@axtens.net \
    --cc=imunsie@au.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).