]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: ACPI 6.3: add PCC operation region support for AML interpreter
authorErik Schmauss <erik.schmauss@intel.com>
Sat, 23 Feb 2019 00:06:25 +0000 (16:06 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Feb 2019 20:11:20 +0000 (21:11 +0100)
commitdd1f2e0435b55570e6240d5684d34be533f04dc7
tree8bcdc66b9b47d1382d7b0578d813f9de50410b87
parent6478a326fed2c7463f98aeb9a383030ef65687e2
ACPICA: ACPI 6.3: add PCC operation region support for AML interpreter

ACPICA commit a4849944e80f97970e99843f4975850753584a4e

This change adds PCC operation region support in the AML interpreter
and a default handler for acpiexec. According to the specification,
the PCC operation region performs a transaction when the COMD field
is written. This allows ASL to write data to other fields before
sending the data.

In order to accommodate this protocol, a temorary buffer is added
to the regionfield object to accumulate writes. If any offset that
spans COMD is written, the temporary buffer is sent to the PCC
operation region handler to be processed.

This change also renames the PCC keyword to platform_comm_channel.

Link: https://github.com/acpica/acpica/commit/a4849944
Reviewed-by: Kyle Pelton <kyle.d.pelton@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acobject.h
drivers/acpi/acpica/dsfield.c
drivers/acpi/acpica/exfield.c
drivers/acpi/acpica/utdelete.c