[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240108114833.241710-1-rrichter@amd.com>
Date: Mon, 8 Jan 2024 12:48:30 +0100
From: Robert Richter <rrichter@....com>
To: Alison Schofield <alison.schofield@...el.com>, Vishal Verma
<vishal.l.verma@...el.com>, Ira Weiny <ira.weiny@...el.com>, Dan Williams
<dan.j.williams@...el.com>, Jonathan Cameron <jonathan.cameron@...wei.com>,
Dave Jiang <dave.jiang@...el.com>, Davidlohr Bueso <dave@...olabs.net>
CC: <linux-cxl@...r.kernel.org>, <linux-kernel@...r.kernel.org>, "Rafael J.
Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>, Robert Richter
<rrichter@....com>
Subject: [PATCH v2 0/3] CDAT updates and fixes
Some CDAT related updates and fixes. Patch #3 does not depend on the
previous patches and could be applied separately.
See [1] for v1. There is some rework going on [2] which might require
a v3 for patches #1 and #2.
References:
[1] https://patchwork.kernel.org/project/cxl/patch/ZVfJ6Fxidvw_gz7r@rric.localdomain/
[2] https://patchwork.kernel.org/project/cxl/patch/170261791914.1714654.6447680285357545638.stgit@dwillia2-xfh.jf.intel.com/
Changelog:
v2:
* rebased onto cxl/next (e16bf7e015d7)
* renamed struct cdat_doe to struct cdat_doe_rsp and also local pointers
accordingly to buf/rsp.
* added comment that the CDAT table has space for a DOE header at the
beginning
* use DECLARE_FLEX_ARRAY() macro in struct cdat_doe_rsp
* moved the rename to doe_mb variable into separate patch
* added Reviewed-by tag
* added patch: lib/firmware_table: Provide buffer length argument to cdat_table_parse()
Robert Richter (3):
cxl/pci: Rename DOE mailbox handle to doe_mb
cxl/pci: Get rid of pointer arithmetic reading CDAT table
lib/firmware_table: Provide buffer length argument to
cdat_table_parse()
drivers/acpi/tables.c | 2 +-
drivers/cxl/core/cdat.c | 6 +--
drivers/cxl/core/pci.c | 83 ++++++++++++++++++++--------------------
drivers/cxl/cxlpci.h | 19 +++++++++
include/linux/fw_table.h | 4 +-
lib/fw_table.c | 15 +++++---
6 files changed, 78 insertions(+), 51 deletions(-)
base-commit: e16bf7e015d75fdd805528bedaf285fcb71dad2a
--
2.39.2
Powered by blists - more mailing lists