ACPI, APEI, Resolve false conflict between ACPI NVS and APEI
authorHuang Ying <ying.huang@intel.com>
Thu, 8 Dec 2011 03:25:50 +0000 (11:25 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 17 Jan 2012 08:54:46 +0000 (03:54 -0500)
commit4134b8c8811f23aa8a281db50dcee64dda414736
tree92b5c931590dba047f6634b401a45b6f8ccd1aed
parentb54ac6d2a25084667da781c7ca2cebef52a2bcdd
ACPI, APEI, Resolve false conflict between ACPI NVS and APEI

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
mech.  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 excludes ACPI NVS regions when APEI components
request resources.  So that they will not conflict with ACPI NVS
regions.

Reported-and-tested-by: Pavel Ivanov <paivanof@gmail.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/apei/apei-base.c