diff options
author | 2016-09-07 16:50:27 +0800 | |
---|---|---|
committer | 2016-09-10 02:33:50 +0200 | |
commit | 97cb159fd91d00f8d7d1adeb075503dc0d946bff (patch) | |
tree | 75952cf8e88ada30839ccca69337b14ef8346b6d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / EC: Fix a gap that ECDT EC cannot handle EC events (diff) | |
download | wireguard-linux-97cb159fd91d00f8d7d1adeb075503dc0d946bff.tar.xz wireguard-linux-97cb159fd91d00f8d7d1adeb075503dc0d946bff.zip |
ACPI / EC: Fix issues related to boot_ec
There are issues related to the boot_ec:
1. If acpi_ec_remove() is invoked, boot_ec will also be freed, this is not
expected as the boot_ec could be enumerated via ECDT.
2. Address space handler installation/unstallation lead to unexpected _REG
evaluations.
This patch adds acpi_is_boot_ec() check to be used to fix the above issues.
However, since acpi_ec_remove() actually won't be invoked, this patch
doesn't handle the reference counting of "struct acpi_ec", it only ensures
the correctness of the boot_ec destruction during the boot.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=153511
Reported-and-tested-by: Jonh Henderson <jw.hendy@gmail.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions