summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ec_sys.c
diff options
context:
space:
mode:
authorTyler Baicar <tbaicar@codeaurora.org>2017-08-28 18:53:41 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-09-27 23:13:06 +0200
commitaaf2c2fb0f51f91c699039440862b6ae9c25c10e (patch)
tree8bce7f79939c146283f1943259fbfbe1bde6d5c6 /drivers/acpi/ec_sys.c
parentACPI / APEI: Suppress message if HEST not present (diff)
downloadlinux-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