Re: [PATCH v4 12/28] cxl/cdat: Gather DSMAS data for DCD regions

Wysocki, Rafael J
2024-10-14T20:52:50Z

On 10/11/2024 10:38 PM, Ira Weiny wrote:
> Rafael J. Wysocki wrote:
>> On Tue, Oct 8, 2024 at 1:17 AM Ira Weiny <ira.weiny@intel.com> wrote:
> [snip]
>
>>> diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
>>> index 199afc2cd122..387fc821703a 100644
>>> --- a/include/acpi/actbl1.h
>>> +++ b/include/acpi/actbl1.h
>>> @@ -403,6 +403,8 @@ struct acpi_cdat_dsmas {
>>> /* Flags for subtable above */
>>>
>>> #define ACPI_CDAT_DSMAS_NON_VOLATILE (1 << 2)
>>> +#define ACPI_CDAT_DSMAS_SHAREABLE (1 << 3)
>>> +#define ACPI_CDAT_DSMAS_READ_ONLY (1 << 6)
>>>
>>> /* Subtable 1: Device scoped Latency and Bandwidth Information Structure (DSLBIS) */
>>>
>> Is there an upstream ACPICA commit for this?
> There is a PR for it now.
>
> https://github.com/acpica/acpica/pull/976
>
> Do I need to reference that in this patch? Or wait for it to be merged
> and drop this hunk?

Wait for it to be merged first.  Then either drop this hunk and wait for
an ACPICA release (that may not happen soon, though), or send a Linux
patch corresponding to it with a Link tag pointing to the above.

Thanks!