HACK: MANATEE: ACPI: EC: Skip ACPI EC setup for ManaTEE hypervisor

In ManaTEE, the main ChromeOS VM takes control over physical ACPI EC
so hypervisor should keep its hands off. By using a ManaTEE mode detection
interface tells the hypervisor to not make use EC that may be present in
the system.

EC is tightly coupled with the generic ACPI system and participates
in crucial PM kernel activities like suspend/resume. So even though
EC driver is not probed, it silently affect hypervisor behavior,
luckily in the way ManaTEE does not complain yet. Therefore, in long term
EC driver on ManaTEE hypervisor deserves more ManaTEE aware logic to be
implemented.

BUG=b:222507982
TEST=boot manatee and check if EC is functional on ChromeOS VM

Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Change-Id: I3e0bb346717cbcabc7ac0feac8fbdbf527c27fed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3503912
Reviewed-by: Tomasz Nowicki <tnowicki@google.com>
Tested-by: Tomasz Nowicki <tnowicki@google.com>
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Commit-Queue: Tomasz Nowicki <tnowicki@google.com>
1 file changed