Subject: [PATCH 0/3 v3] cxl: Pull out mailbox bits to be independent of cxl_dev_state From: Dave Jiang To: 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 Date: Tue, 3 Sep 2024 16:59:07 -0700 Hi Alejandro, Please feel free to pull in the patches in this series into your type2 series. Although I may just pull these into the 6.12 merge window to make things easier for you. The patches pulls out the related mailbox bits and form a 'struct cxl_mailbox'. In v2 Jonathan suggested that we keep cxl_mbox embedded. So I moved it back to be embedded. For the type2 devices that does not use mailbox, it can just not have the mailbox struct at all. v3 - moved the other cxl headers into the linux/cxl directory. - Moved rcuwait.h header into mailbox.h (Alison) --- Dave Jiang (3): cxl: Move mailbox related bits to the same context cxl: Convert cxl_internal_send_cmd() to use 'struct cxl_mailbox' as input cxl: move cxl headers to new linux/cxl/ directory MAINTAINERS | 3 +- drivers/acpi/apei/einj-cxl.c | 2 +- drivers/acpi/apei/ghes.c | 2 +- drivers/cxl/core/mbox.c | 91 ++++++++++++++++++++++++++++++++------------------ drivers/cxl/core/memdev.c | 41 +++++++++++++---------- drivers/cxl/core/port.c | 2 +- drivers/cxl/cxlmem.h | 25 ++++++-------- drivers/cxl/pci.c | 82 ++++++++++++++++++++++++++++++--------------- drivers/cxl/pmem.c | 10 ++++-- drivers/cxl/security.c | 23 +++++++------ include/linux/{einj-cxl.h => cxl/einj.h} | 0 include/linux/{cxl-event.h => cxl/event.h} | 0 include/linux/cxl/mailbox.h | 28 ++++++++++++++++ tools/testing/cxl/test/mem.c | 44 ++++++++++++++++++------ 14 files changed, 233 insertions(+), 120 deletions(-) . Subject: [PATCH v8 0/3] cxl: Region bandwidth calculation for targets with shared upstream link From: Dave Jiang To: linux-cxl@vger.kernel.org Cc: 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 Date: Tue, 3 Sep 2024 17:11:49 -0700 . Subject: [PATCH v3] cxl/region: Remove lock from memory notifier callback From: Ira Weiny To: Ying Huang , Dave Jiang , Dan Williams , Davidlohr Bueso , Jonathan Cameron , Alison Schofield , Vishal Verma Cc: linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Cameron , Ira Weiny Date: Wed, 04 Sep 2024 09:47:54 -0500 .