Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp397908pxj; Fri, 14 May 2021 06:14:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1VlfK7MVQp5csbMn6jc5NfccziP348dVhBIBrbC10XE1AX/5flFvCsK9aXQ1pQ7SnaOas X-Received: by 2002:a17:906:14c1:: with SMTP id y1mr50126981ejc.481.1620998074881; Fri, 14 May 2021 06:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620998074; cv=none; d=google.com; s=arc-20160816; b=hY9y5sFzC7YnWBwv7FM065eT5d4SYwF6kvx8DEZGNZoVxIV9ZjvBNbGtbcFoak8ymc 63jbJTHMxG3wMc73SK2ODAxRfmIuNmDoBd8nn8ILt6rBnWcyoVVpaydJsaWrruLxHrYF a2LyAhDcg9qUOC85+U7uCpB4Bpi/S2LsPWTms+Z2BYBKM/AePU/58Pq/efDdPjJvtwpr tpRSy68HrMqvrooDLIf1E4fR87+Ijq622+kAcvU0z2Wh30utNWeY3VYwnGSfM0i2AsRl wXzq/VkAeURwQMeHsMkwbZgjxzn3zDPRBv09tqdo2vYWObw9TWTPhCeB6O7ozNG6d++F +aDg== 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 :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:ironport-sdr:ironport-sdr; bh=gdk3HMiBRbBVYydrcAoRT/1lx9ivjS38ghPuPMPfJR0=; b=nJDWF4Lf0KJhZ2Wu9txBeEdWVo2/7wPSjoj4DKofktvZdUMa7LZxtSMEfdkU5qv12O uEpIMqLIjP1tHC6gKGRXfjVzss/LJGT8o9N+jpBOy1ASzbrBVZcJyxssDCcXXXP+tBVH E2KZA9ktZvXRcpb9DQl4z7GTWzZMCW7iYiy9mhcbFKYFOCkIMtD4ymfGX1WmaptGgEFD PQlNX6hgHQVhLXpq9q/Wr/21ZHSeVxsMgeo7b1cGiaAW71qe+PMzyeW5hbAZHwlvloT8 Pd2FZxYUOrFXAVbyvuiLIU16AKm9cz48MBMFNmNftS3LGnbkZjudBSk48hAYwLJ/JHOq cQxg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j16si6304512ejm.402.2021.05.14.06.14.09; Fri, 14 May 2021 06:14:34 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231203AbhENFXo (ORCPT + 99 others); Fri, 14 May 2021 01:23:44 -0400 Received: from mga06.intel.com ([134.134.136.31]:46076 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232535AbhENFX2 (ORCPT ); Fri, 14 May 2021 01:23:28 -0400 IronPort-SDR: 95fziSeBNOX1UNlez815RjtQwvs8U3Y+K8PF4JZkerzwnuL6SFzU6/nzhkZS9f+MwxGEMqBrkG nmWckA+S4gMw== X-IronPort-AV: E=McAfee;i="6200,9189,9983"; a="261356498" X-IronPort-AV: E=Sophos;i="5.82,299,1613462400"; d="scan'208";a="261356498" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2021 22:22:16 -0700 IronPort-SDR: mzLojPWXW0A2pCxcU8hX77Zg4om6cOnGdBPyjACtHafgse3D3h00NiNjfQqAc7yqffP1kh/3ej 0U37hqkAoogA== X-IronPort-AV: E=Sophos;i="5.82,299,1613462400"; d="scan'208";a="436180381" Received: from dwillia2-desk3.jf.intel.com (HELO dwillia2-desk3.amr.corp.intel.com) ([10.54.39.25]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2021 22:22:16 -0700 Subject: [PATCH v4 6/8] cxl/Kconfig: Default drivers to CONFIG_CXL_BUS From: Dan Williams To: linux-cxl@vger.kernel.org Cc: Ben Widawsky , Jonathan Cameron , hch@lst.de, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 13 May 2021 22:22:16 -0700 Message-ID: <162096973632.1865304.16599632599441411175.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <162096970332.1865304.10280028741091576940.stgit@dwillia2-desk3.amr.corp.intel.com> References: <162096970332.1865304.10280028741091576940.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: StGit/0.18-3-g996c MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Jonathan Cameron Link: https://lore.kernel.org/r/162042791307.1202325.2513845748708305095.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams --- 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.