ACPI: APEI: Use ERST timeout for slow devices
authorJeshua Smith <jeshuas@nvidia.com>
Wed, 12 Jul 2023 22:34:48 +0000 (22:34 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 24 Oct 2023 18:50:17 +0000 (20:50 +0200)
commitfac475aab70b2b6d44f54edea85e8bd276a1fe60
treed431cad5c218ef3f770f0446d96de3705d6ab732
parente2abc47a5a1a9f641e7cacdca643fdd40729bf6e
ACPI: APEI: Use ERST timeout for slow devices

Slow devices such as flash may not meet the default 1ms timeout value,
so use the ERST max execution time value that they provide as the
timeout if it is larger.

Signed-off-by: Jeshua Smith <jeshuas@nvidia.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/erst.c