qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hw/cxl: Add dummy ACPI QTG DSM
@ 2023-09-04 16:18 Jonathan Cameron via
  2023-09-04 16:18 ` [PATCH v2 1/3] tests/acpi: Allow update of DSDT.cxl Jonathan Cameron via
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Jonathan Cameron via @ 2023-09-04 16:18 UTC (permalink / raw)
  To: qemu-devel, Michael Tsirkin, Fan Ni, linux-cxl
  Cc: Dave Jiang, Philippe Mathieu-Daudé, linuxarm

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-10-04  9:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-04 16:18 [PATCH v2 0/3] hw/cxl: Add dummy ACPI QTG DSM Jonathan Cameron via
2023-09-04 16:18 ` [PATCH v2 1/3] tests/acpi: Allow update of DSDT.cxl Jonathan Cameron via
     [not found]   ` <CGME20230912210316uscas1p24582c8c7b99778897fc1feb8276e6abb@uscas1p2.samsung.com>
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 via
     [not found]   ` <CGME20230912211246uscas1p168389b2f62884b970e348f8b94e550d2@uscas1p1.samsung.com>
2023-09-12 21:12     ` Fan Ni
2023-09-13  8:51       ` Jonathan Cameron via
2023-10-04  9:04   ` Michael S. Tsirkin
2023-10-04  9:35     ` Jonathan Cameron via
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 via
     [not found]   ` <CGME20230912210339uscas1p1accbfcd78c5bab1a97ccc56b6fb33307@uscas1p1.samsung.com>
2023-09-12 21:03     ` Fan Ni
2023-09-13 15:23   ` Dave Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).