• Huang Ying's avatar
    ACPI, Record ACPI NVS regions · b54ac6d2
    Huang Ying authored
    Some firmware will access memory in ACPI NVS region via APEI.  That
    is, instructions in APEI ERST/EINJ table will read/write ACPI NVS
    region.  The original resource conflict checking in APEI code will
    check memory/ioport accessed by APEI via general resource management
    mechanism.  But ACPI NVS region is marked as busy already, so that the
    false resource conflict will prevent APEI ERST/EINJ to work.
    
    To fix this, this patch record ACPI NVS regions, so that we can avoid
    request resources for memory region inside it.
    Signed-off-by: default avatarHuang Ying <ying.huang@intel.com>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    b54ac6d2
nvs.c 4.56 KB