diff options
author | Tyler Baicar <tbaicar@codeaurora.org> | 2017-08-28 18:53:41 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-09-27 23:13:06 +0200 |
commit | aaf2c2fb0f51f91c699039440862b6ae9c25c10e (patch) | |
tree | 8bce7f79939c146283f1943259fbfbe1bde6d5c6 /drivers/acpi/ec_sys.c | |
parent | ACPI / APEI: Suppress message if HEST not present (diff) | |
download | linux-aaf2c2fb0f51f91c699039440862b6ae9c25c10e.tar.xz linux-aaf2c2fb0f51f91c699039440862b6ae9c25c10e.zip |
ACPI / APEI: clear error status before acknowledging the error
Currently we acknowledge errors before clearing the error status.
This could cause a new error to be populated by firmware in-between
the error acknowledgment and the error status clearing which would
cause the second error's status to be cleared without being handled.
So, clear the error status before acknowledging the errors.
Also, make sure to acknowledge the error if the error status read
fails.
Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ec_sys.c')
0 files changed, 0 insertions, 0 deletions