Received: by 2002:a05:6520:4211:b029:f4:110d:56bc with SMTP id o17csp3131861lkv; Mon, 10 May 2021 08:21:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNKWbpsY5wrBpZpm0SKYI1mgcILyw7m5UGn509NbmulBf5GM5dMIBcpy6bRb0UJwU8MFY9 X-Received: by 2002:a05:6638:140e:: with SMTP id k14mr21717067jad.31.1620660107894; Mon, 10 May 2021 08:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620660107; cv=none; d=google.com; s=arc-20160816; b=yifKRyuZwO5CKAZOSU6n5rZvV+KRhvTM+cpH+SDP0hMGZMfmjd5nBEHVY304/T3CBF YhYanFqPrxHBAu0ttK63cQDEnzfFI0ULiE8efH7PMS4IYyr0VhYTS07vPXeoKiL1wZ4r Z5SITwGy3C5JhuZDJlZsyFWLhGw0yua89iR+Tw1HP9bfI0hVFU3gjrTYxSCAmLfcfG9T s6UTJIBhsmO1zh0wlq6pkKUdNSBlxkjlUbEw3rsBCI7DaWAiYckjllLSD0877CK+OAsu Cb1J/cE0xYWbXVfpCUSD/0071zVlgB83bwDqvZraefqUCglfhupG4chaKMpW9AI/dGuo gqlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=6VovsV5Nv538eCCvA3tfskaM3gBDbiWME2HkinqbOTM=; b=B6uHB2PjXjcCAuu3OOnCntuBjK0JN5C3UZFlIimFlw+mR/3v7k9mute/ZArCKPgEHv HcNDNxUMv9YoXM7dmP5fAtBb/f+YQd5u2PWby9iiLr0WXR9NT7G1m+7UU7u13+Imbgdt 5JzjyCzMfWL+X4+pIwSbPlZheC5/HUuiNXad4hnlBlWAkK1WQHSOy/g+XrFP3Uc3uoUh I4/cn27SYCBTAyQtcxrjL6eVwmoXay3OkpS0OQwZ1CXK996HtTgk6o/E3szIBmCTr+9x BVf/pUfRIfDCPN6hOlPMJZzPxQFVYROcS40zMb8fdunNxrIWcameFsxilOSWAGemDjLD MGHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s6si15424672jao.56.2021.05.10.08.21.34; Mon, 10 May 2021 08:21:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237337AbhEJPWF (ORCPT + 99 others); Mon, 10 May 2021 11:22:05 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3049 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235514AbhEJPVE (ORCPT ); Mon, 10 May 2021 11:21:04 -0400 Received: from fraeml739-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Ff4Jv1p9Cz6wjnc; Mon, 10 May 2021 23:11:43 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml739-chm.china.huawei.com (10.206.15.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 10 May 2021 17:19:56 +0200 Received: from localhost (10.52.123.16) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 10 May 2021 16:19:56 +0100 Date: Mon, 10 May 2021 16:18:14 +0100 From: Jonathan Cameron To: Dan Williams CC: , Ben Widawsky , , , Subject: Re: [PATCH 6/8] cxl/Kconfig: Default drivers to CONFIG_CXL_BUS Message-ID: <20210510161814.00007e99@Huawei.com> In-Reply-To: <162042791307.1202325.2513845748708305095.stgit@dwillia2-desk3.amr.corp.intel.com> References: <162042787450.1202325.5718541949681409566.stgit@dwillia2-desk3.amr.corp.intel.com> <162042791307.1202325.2513845748708305095.stgit@dwillia2-desk3.amr.corp.intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.52.123.16] X-ClientProxiedBy: lhreml720-chm.china.huawei.com (10.201.108.71) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 7 May 2021 15:51:53 -0700 Dan Williams wrote: > CONFIG_CXL_BUS is default 'n' as expected for new functionality. When > that is enabled do not make the end user hunt for all the expected > sub-options to enable. For example CONFIG_CXL_BUS without CONFIG_CXL_MEM > is an odd/expert configuration, so is CONFIG_CXL_MEM without > CONFIG_CXL_ACPI (on ACPI capable platforms). Default CONFIG_CXL_MEM and > CONFIG_CXL_ACPI to CONFIG_CXL_BUS. > > Acked-by: Ben Widawsky > Signed-off-by: Dan Williams Acked-by: Jonathan Cameron > --- > drivers/cxl/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/cxl/Kconfig b/drivers/cxl/Kconfig > index fb282af84afd..1da7970a5e55 100644 > --- a/drivers/cxl/Kconfig > +++ b/drivers/cxl/Kconfig > @@ -15,6 +15,7 @@ if CXL_BUS > > config CXL_MEM > tristate "CXL.mem: Memory Devices" > + default CXL_BUS > help > The CXL.mem protocol allows a device to act as a provider of > "System RAM" and/or "Persistent Memory" that is fully coherent > @@ -54,6 +55,7 @@ config CXL_MEM_RAW_COMMANDS > config CXL_ACPI > tristate "CXL ACPI: Platform Support" > depends on ACPI > + default CXL_BUS > help > Enable support for host managed device memory (HDM) resources > published by a platform's ACPI CXL memory layout description. >