Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id F1C271A1E28 for ; Fri, 14 Aug 2015 17:44:45 +1000 (AEST) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6AAD1140291 for ; Fri, 14 Aug 2015 17:44:45 +1000 (AEST) Received: by pacrr5 with SMTP id rr5so55195934pac.3 for ; Fri, 14 Aug 2015 00:44:44 -0700 (PDT) From: Daniel Axtens To: linuxppc-dev@ozlabs.org Cc: mpe@ellerman.id.au, benh@kernel.crashing.org, mikey@neuling.org, imunsie@au.ibm.com, Daniel Axtens Subject: [PATCH v5 11/11] cxl: Add CONFIG_CXL_EEH symbol Date: Fri, 14 Aug 2015 17:41:27 +1000 Message-Id: <1439538087-32137-12-git-send-email-dja@axtens.net> In-Reply-To: <1439538087-32137-1-git-send-email-dja@axtens.net> References: <1439538087-32137-1-git-send-email-dja@axtens.net> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Signed-off-by: Daniel Axtens --- 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 + config CXL tristate "Support for IBM Coherent Accelerators (CXL)" depends on PPC_POWERNV && PCI_MSI select CXL_BASE select CXL_KERNEL_API + select CXL_EEH default m help Select this option to enable driver support for IBM Coherent -- 2.1.4