From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
To: <qemu-devel@nongnu.org>, Michael Tsirkin <mst@redhat.com>,
Fan Ni <fan.ni@samsung.com>, <linux-cxl@vger.kernel.org>
Cc: "Dave Jiang" <dave.jiang@intel.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
linuxarm@huawei.com
Subject: [PATCH v2 0/3] hw/cxl: Add dummy ACPI QTG DSM
Date: Mon, 4 Sep 2023 17:18:44 +0100 [thread overview]
Message-ID: <20230904161847.18468-1-Jonathan.Cameron@huawei.com> (raw)
v2 updates:
- Edit of patch description to not confuse matters by mentioning
switches.
- Associated ACPI test updates.
CXL platforms may support the concept of QoS Thottling groups (QTG).
Typically you want to associate devices with similar performance
with the same QTG. As there is no standard way of understanding the
relationship between expected performance and appropriate QTG
the platform firmware provides a query mechanism via ACPI Device
Specific Method (DSM) with parameters of the performance numbers
that returns the appropriate QTG ID.
This support is basically stubbing out that function so that it always
returns 0. For now that is sufficient for current CXL emulation usecases.
Based on: [PATCH 0/4] hw/cxl: Minor CXL emulation fixes and cleanup
Based on: Message ID: 20230904132806.6094-1-Jonathan.Cameron@huawei.com
Dave Jiang (1):
hw/cxl: Add QTG _DSM support for ACPI0017 device
Jonathan Cameron (2):
tests/acpi: Allow update of DSDT.cxl
tests/acpi: Update DSDT.cxl with QTG DSM
include/hw/acpi/cxl.h | 1 +
hw/acpi/cxl.c | 57 +++++++++++++++++++++++++++++++++++
hw/i386/acpi-build.c | 1 +
tests/data/acpi/q35/DSDT.cxl | Bin 9655 -> 9723 bytes
4 files changed, 59 insertions(+)
--
2.39.2
next reply other threads:[~2023-09-04 16:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 16:18 Jonathan Cameron [this message]
2023-09-04 16:18 ` [PATCH v2 1/3] tests/acpi: Allow update of DSDT.cxl Jonathan Cameron
2023-09-12 21:03 ` Fan Ni
2023-09-13 15:22 ` Dave Jiang
2023-09-04 16:18 ` [PATCH v2 2/3] hw/cxl: Add QTG _DSM support for ACPI0017 device Jonathan Cameron
2023-09-12 21:12 ` Fan Ni
2023-09-13 8:51 ` Jonathan Cameron
2023-10-04 9:04 ` Michael S. Tsirkin
2023-10-04 9:35 ` Jonathan Cameron
2023-09-04 16:18 ` [PATCH v2 3/3] tests/acpi: Update DSDT.cxl with QTG DSM Jonathan Cameron
2023-09-12 21:03 ` Fan Ni
2023-09-13 15:23 ` 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=20230904161847.18468-1-Jonathan.Cameron@huawei.com \
--to=jonathan.cameron@huawei.com \
--cc=dave.jiang@intel.com \
--cc=fan.ni@samsung.com \
--cc=linux-cxl@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=mst@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
/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