Skip to content

Commit cff8a9f

Browse files
Adam Youngrafaeljw
authored andcommitted
ACPICA: Allow PCC Data Type in MCTP resource.
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: acpica/acpica@f0776a46 Signed-off-by: Adam Young <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent c82c507 commit cff8a9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/acpi/acpica/rsaddr.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ acpi_rs_get_address_common(struct acpi_resource *resource,
282282

283283
/* Validate the Resource Type */
284284

285-
if ((address.resource_type > 2) && (address.resource_type < 0xC0)) {
285+
if ((address.resource_type > 2) &&
286+
(address.resource_type < 0xC0) && (address.resource_type != 0x0A)) {
286287
return (FALSE);
287288
}
288289

0 commit comments

Comments
 (0)