From: Dave Jiang <dave.jiang@intel.com>
To: Masahiro Yamada <masahiroy@kernel.org>,
Davidlohr Bueso <dave@stgolabs.net>,
Jonathan Cameron <jonathan.cameron@huawei.com>,
Alison Schofield <alison.schofield@intel.com>,
Vishal Verma <vishal.l.verma@intel.com>,
Ira Weiny <ira.weiny@intel.com>,
Dan Williams <dan.j.williams@intel.com>,
linux-cxl@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cxl: remove CONFIG_CXL_PMU entry in drivers/cxl/Kconfig
Date: Mon, 5 Feb 2024 15:07:29 -0700 [thread overview]
Message-ID: <33d241bf-e360-44c5-b63d-550da3cc66d9@intel.com> (raw)
In-Reply-To: <20240204094613.40687-1-masahiroy@kernel.org>
On 2/4/24 2:46 AM, Masahiro Yamada wrote:
> Commit 5d7107c72796 ("perf: CXL Performance Monitoring Unit driver")
> added the config entries for CXL_PMU in drivers/cxl/Kconfig and
> drivers/perf/Kconfig, so it can be toggled from multiple locations:
>
> [1] Device Drivers
> -> PCI support
> -> CXL (Compute Expres Link) Devices
> -> CXL Performance Monitoring Unit
>
> [2] Device Drivers
> -> Performance monitor support
> -> CXL Performance Monitoring Unit
>
> This complicates things, and nobody else does this.
>
> I kept the one in drivers/perf/Kconfig because CONFIG_CXL_PMU controls
> the compilation of drivers/perf/cxl_pmu.c.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
> ---
>
> drivers/cxl/Kconfig | 13 -------------
> 1 file changed, 13 deletions(-)
>
> diff --git a/drivers/cxl/Kconfig b/drivers/cxl/Kconfig
> index 67998dbd1d46..5f3c9c5529b9 100644
> --- a/drivers/cxl/Kconfig
> +++ b/drivers/cxl/Kconfig
> @@ -144,17 +144,4 @@ config CXL_REGION_INVALIDATION_TEST
> If unsure, or if this kernel is meant for production environments,
> say N.
>
> -config CXL_PMU
> - tristate "CXL Performance Monitoring Unit"
> - default CXL_BUS
> - depends on PERF_EVENTS
> - help
> - Support performance monitoring as defined in CXL rev 3.0
> - section 13.2: Performance Monitoring. CXL components may have
> - one or more CXL Performance Monitoring Units (CPMUs).
> -
> - Say 'y/m' to enable a driver that will attach to performance
> - monitoring units and provide standard perf based interfaces.
> -
> - If unsure say 'm'.
> endif
prev parent reply other threads:[~2024-02-05 22:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-04 9:46 [PATCH] cxl: remove CONFIG_CXL_PMU entry in drivers/cxl/Kconfig Masahiro Yamada
2024-02-05 11:13 ` Jonathan Cameron
2024-02-05 20:54 ` Davidlohr Bueso
2024-02-05 22:07 ` Dave Jiang [this message]
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=33d241bf-e360-44c5-b63d-550da3cc66d9@intel.com \
--to=dave.jiang@intel.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave@stgolabs.net \
--cc=ira.weiny@intel.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=vishal.l.verma@intel.com \
/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