]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ACPICA: Allow PCC Data Type in MCTP resource.
authorAdam Young <ayoung@amperecomputing.com>
Fri, 22 Mar 2024 16:01:51 +0000 (12:01 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Aug 2024 15:55:16 +0000 (17:55 +0200)
ACPICA commit f0776a465cc2c20393bec534c16bdee4a78f7bb7

explicitly allow QWord address space description type
to be 0xA to indicate it refers to a Platform
Communication channel
IAW  ACPI_ECR_PCC_DESCRIPTORS_CF_V2

https://bugzilla.tianocore.org/show_bug.cgi?id=4594

An entity in a DSDT or in SSDTs that requires
a platform communication channel table (PCCT) entry
to communicate with a remote service will have a single
value that is the index of the entry in the PCCT.
This data type with have a resource_type value of 0xA.

This value indicates that the type shares the same
footprint as a Dword_space section.

Link: https://github.com/acpica/acpica/commit/f0776a46
Signed-off-by: Adam Young <ayoung@amperecomputing.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/rsaddr.c

index fff48001d7efbd81396b189313804b69a15e673a..27384ee245f094a384e609581fd1c4fa032c90f5 100644 (file)
@@ -282,7 +282,8 @@ acpi_rs_get_address_common(struct acpi_resource *resource,
 
        /* Validate the Resource Type */
 
-       if ((address.resource_type > 2) && (address.resource_type < 0xC0)) {
+       if ((address.resource_type > 2) &&
+           (address.resource_type < 0xC0) && (address.resource_type != 0x0A)) {
                return (FALSE);
        }