]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9197d4e4e7c3558d699a65a3400bd08dff7940cd
tree92b5c931590dba047f6634b401a45b6f8ccd1aed
parent20ef71c222f9634b678bfb28e3363161fb912d60
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