From: Alejandro Lucero Palau <alucerop@amd.com>
To: Dave Jiang <dave.jiang@intel.com>, linux-cxl@vger.kernel.org
Cc: alejandro.lucero-palau@amd.com, dan.j.williams@intel.com,
ira.weiny@intel.com, vishal.l.verma@intel.com,
alison.schofield@intel.com, Jonathan.Cameron@huawei.com,
dave@stgolabs.net, fan.ni@samsung.com
Subject: Re: [PATCH v3 3/3] cxl: move cxl headers to new linux/cxl/ directory
Date: Wed, 4 Sep 2024 07:52:44 +0100 [thread overview]
Message-ID: <e6cdb731-c2f1-5791-79ff-ff5835009475@amd.com> (raw)
In-Reply-To: <20240904000020.1686611-4-dave.jiang@intel.com>
On 9/4/24 00:59, Dave Jiang wrote:
> Group all cxl related kernel headers into include/linux/cxl directory.
I tried to do this in the RFC for Type2 support.
I was told to just move the required bits for accel drivers able to do
CXL initialization,
What has changed since then?
> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
> ---
> MAINTAINERS | 2 --
> drivers/acpi/apei/einj-cxl.c | 2 +-
> drivers/acpi/apei/ghes.c | 2 +-
> drivers/cxl/core/port.c | 2 +-
> drivers/cxl/cxlmem.h | 2 +-
> include/linux/{einj-cxl.h => cxl/einj.h} | 0
> include/linux/{cxl-event.h => cxl/event.h} | 0
> 7 files changed, 4 insertions(+), 6 deletions(-)
> rename include/linux/{einj-cxl.h => cxl/einj.h} (100%)
> rename include/linux/{cxl-event.h => cxl/event.h} (100%)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index bf59c003da76..45a56af42a79 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -5620,8 +5620,6 @@ L: linux-cxl@vger.kernel.org
> S: Maintained
> F: Documentation/driver-api/cxl
> F: drivers/cxl/
> -F: include/linux/einj-cxl.h
> -F: include/linux/cxl-event.h
> F: include/linux/cxl/
> F: include/uapi/linux/cxl_mem.h
> F: tools/testing/cxl/
> diff --git a/drivers/acpi/apei/einj-cxl.c b/drivers/acpi/apei/einj-cxl.c
> index 8b8be0c90709..54ef0eef18fe 100644
> --- a/drivers/acpi/apei/einj-cxl.c
> +++ b/drivers/acpi/apei/einj-cxl.c
> @@ -7,7 +7,7 @@
> *
> * Author: Ben Cheatham <benjamin.cheatham@amd.com>
> */
> -#include <linux/einj-cxl.h>
> +#include <linux/cxl/einj.h>
> #include <linux/seq_file.h>
> #include <linux/pci.h>
>
> diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> index 623cc0cb4a65..55ec68aa417a 100644
> --- a/drivers/acpi/apei/ghes.c
> +++ b/drivers/acpi/apei/ghes.c
> @@ -27,7 +27,7 @@
> #include <linux/timer.h>
> #include <linux/cper.h>
> #include <linux/cleanup.h>
> -#include <linux/cxl-event.h>
> +#include <linux/cxl/event.h>
> #include <linux/platform_device.h>
> #include <linux/mutex.h>
> #include <linux/ratelimit.h>
> diff --git a/drivers/cxl/core/port.c b/drivers/cxl/core/port.c
> index 1d5007e3795a..6506dc2a71b1 100644
> --- a/drivers/cxl/core/port.c
> +++ b/drivers/cxl/core/port.c
> @@ -3,7 +3,7 @@
> #include <linux/platform_device.h>
> #include <linux/memregion.h>
> #include <linux/workqueue.h>
> -#include <linux/einj-cxl.h>
> +#include <linux/cxl/einj.h>
> #include <linux/debugfs.h>
> #include <linux/device.h>
> #include <linux/module.h>
> diff --git a/drivers/cxl/cxlmem.h b/drivers/cxl/cxlmem.h
> index 579d5c647189..838f8f16e7dd 100644
> --- a/drivers/cxl/cxlmem.h
> +++ b/drivers/cxl/cxlmem.h
> @@ -6,7 +6,7 @@
> #include <linux/pci.h>
> #include <linux/cdev.h>
> #include <linux/uuid.h>
> -#include <linux/cxl-event.h>
> +#include <linux/cxl/event.h>
> #include <linux/node.h>
> #include <linux/cxl/mailbox.h>
> #include "cxl.h"
> diff --git a/include/linux/einj-cxl.h b/include/linux/cxl/einj.h
> similarity index 100%
> rename from include/linux/einj-cxl.h
> rename to include/linux/cxl/einj.h
> diff --git a/include/linux/cxl-event.h b/include/linux/cxl/event.h
> similarity index 100%
> rename from include/linux/cxl-event.h
> rename to include/linux/cxl/event.h
next prev parent reply other threads:[~2024-09-04 6:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 23:59 [PATCH 0/3 v3] cxl: Pull out mailbox bits to be independent of cxl_dev_state Dave Jiang
2024-09-03 23:59 ` [PATCH v3 1/3] cxl: Move mailbox related bits to the same context Dave Jiang
2024-09-04 16:30 ` Alison Schofield
2024-09-04 16:49 ` Dave Jiang
2024-09-05 5:04 ` Dan Carpenter
2024-09-03 23:59 ` [PATCH v3 2/3] cxl: Convert cxl_internal_send_cmd() to use 'struct cxl_mailbox' as input Dave Jiang
2024-09-03 23:59 ` [PATCH v3 3/3] cxl: move cxl headers to new linux/cxl/ directory Dave Jiang
2024-09-04 6:52 ` Alejandro Lucero Palau [this message]
2024-09-04 15:35 ` Dave Jiang
2024-09-05 2:55 ` Dan Williams
2024-09-05 6:51 ` Alejandro Lucero Palau
2024-09-05 20:21 ` Dave Jiang
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=e6cdb731-c2f1-5791-79ff-ff5835009475@amd.com \
--to=alucerop@amd.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=alejandro.lucero-palau@amd.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=fan.ni@samsung.com \
--cc=ira.weiny@intel.com \
--cc=linux-cxl@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.