ACPICA: Hardware: Add sleep register hooks
authorLv Zheng <lv.zheng@intel.com>
Wed, 28 Dec 2016 07:28:49 +0000 (15:28 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Jan 2017 22:18:41 +0000 (23:18 +0100)
commit0fc5e8f4e4b33ddfa1d1d673fcd420d6e13eb076
tree98882708adde1882b7aa110832c85df4b574a307
parentfcfb45531d7ef71a19caaa0a983611ca57ec04fe
ACPICA: Hardware: Add sleep register hooks

ACPICA commit ba665dc8e20d9f7730466a659564dd6c557a6cbc

In Linux, para-virtualization implmentation hooks critical register
writes to prevent real hardware operations. This increases divergences
when the sleep registers are cracked in Linux resident ACPICA.

This patch tries to introduce a single OSL to reduce the divergences.

Link: https://github.com/acpica/acpica/commit/ba665dc8
Signed-off-by: Lv Zheng <lv.zheng@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/hwesleep.c
drivers/acpi/acpica/hwsleep.c
drivers/acpi/osl.c
include/acpi/acexcep.h
include/acpi/acpiosxf.h
tools/power/acpi/os_specific/service_layers/osunixxf.c