Skip to content
Commit b13a3e5f authored by Dan Williams's avatar Dan Williams Committed by Rafael J. Wysocki
Browse files

ACPI: APEI: Fix _EINJ vs EFI_MEMORY_SP

When a platform marks a memory range as "special purpose" it is not
onlined as System RAM by default. However, it is still suitable for
error injection. Add IORES_DESC_SOFT_RESERVED to einj_error_inject() as
a permissible memory type in the sanity checking of the arguments to
_EINJ.

Fixes: 262b45ae

 ("x86/efi: EFI soft reservation to E820 enumeration")
Reviewed-by: default avatarTony Luck <tony.luck@intel.com>
Reported-by: default avatarOmar Avelar <omar.avelar@intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent c3481b6b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment