Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp44649pxf; Wed, 24 Mar 2021 20:27:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW6N2PG3QsNhlgB9r+INmUrwukep5CE+3pz6VqfwzKeN+HPIs82bqHc3Z5M/kZcb28sioB X-Received: by 2002:aa7:c6d2:: with SMTP id b18mr6671570eds.183.1616642827972; Wed, 24 Mar 2021 20:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616642827; cv=none; d=google.com; s=arc-20160816; b=lUhSEPLF+CMgX4Kh1QGbP073exPC9RX638fvvuMEVnxn7MjraTmQvzRkVnvmqCLdyN ar19o7PALFii3lqg8u6qNYuFeropfp8rZ8hKswsoW8l653qC7xuicbZKuj2PUhTLy/3Y 9msyzKvszo4bviP2SoVzBC770euAJFsRm6j/kTJ6LuAVFCHxAdBouWrxjb8U4PY18h3N 7IsCny/jLLyKkzstDrPaktGgQNOqDoyCjL6LrtDGbHCH3K1g4TN0SIiGUB9TYyMM2tso BwnFJN49lP6NSd5Rchfl/ns1T8GDAm0oicesAY4z9OU4yKGP9QGfcMcgYrH346uBBSnl hb/g== 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=dLYtamic5mYLnjg6FQyCD0/k+9ZA+fnfPRNgVFmqI04=; b=OF7N4J2KkbW77Cw6xTtYi0MrsyO4Ouhfr492sipF5U6GVDErRMCHMOUCec4qdOGEP9 Ir9Vk841BG1FP5A6kwp9VcZsn9VqyJ17Z2CFIgeTO5k15/+VF2wXzQ0x+P419lW7Zglj lOkzkS5AjSAaG0cv+QLmTCBj7KfxRGJUrsqwq8SX9nEJ8BMpScnqj+MqdekruQxioWlj I8cUhDsg10bnspamC1MwKEKTPSuJJyOXbB7TtfSfHoqHpjYK9rt7FhZ3JkX6/QBJ7z97 D1Gkx64jD6g/uEk5/sCzqL+2awNOhnF/I0Y3tP8JulyuJ1S2JXYD+59wX0qWztxWfVwR AsgA== 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 u6si3073774ejx.73.2021.03.24.20.26.46; Wed, 24 Mar 2021 20:27:07 -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 S238457AbhCXVbP (ORCPT + 99 others); Wed, 24 Mar 2021 17:31:15 -0400 Received: from mga12.intel.com ([192.55.52.136]:8359 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238398AbhCXVa5 (ORCPT ); Wed, 24 Mar 2021 17:30:57 -0400 IronPort-SDR: uE20F4UvRb+ec+cT1H3pJdCEhUg1EenoEeWBVXnzxV4yQ7pQMBH+uVKH8Iv7S6GeQnnCdJROHP kY4MIqW3Ifzw== X-IronPort-AV: E=McAfee;i="6000,8403,9933"; a="170141164" X-IronPort-AV: E=Sophos;i="5.81,275,1610438400"; d="scan'208";a="170141164" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2021 14:30:57 -0700 IronPort-SDR: BB5WhabkaLJiMS7/T0Pk3sUvY+44zrQ+Id/nbes1rYR01FoPNHOLaXaZYoma8ZAiRNKNtuPB7T jx3d1pVRXPEQ== X-IronPort-AV: E=Sophos;i="5.81,275,1610438400"; d="scan'208";a="376577905" Received: from dwillia2-desk3.jf.intel.com (HELO dwillia2-desk3.amr.corp.intel.com) ([10.54.39.25]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2021 14:30:57 -0700 Subject: [PATCH 6/8] cxl/Kconfig: Default drivers to CONFIG_CXL_BUS From: Dan Williams To: linux-cxl@vger.kernel.org Cc: linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, ira.weiny@intel.com, vishal.l.verma@intel.com, alison.schofield@intel.com, ben.widawsky@intel.com, linux-kernel@vger.kernel.org Date: Wed, 24 Mar 2021 14:30:56 -0700 Message-ID: <161662145690.1723715.8128782741884211978.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <161662142382.1723715.5934723983022398253.stgit@dwillia2-desk3.amr.corp.intel.com> References: <161662142382.1723715.5934723983022398253.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 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.