ACPI, APEI, EINJ, Fix resource conflict on some machine
authorHuang Ying <ying.huang@intel.com>
Thu, 8 Dec 2011 03:25:47 +0000 (11:25 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 17 Jan 2012 08:54:38 +0000 (03:54 -0500)
commitfdea163d8c17ba08814142259a467ba3e899010d
treea512e00b3e569a2ce5d5456bcc8ef9a30020075f
parent76da3fb3575e39fb23b2c072997ccd1187a2ce9d
ACPI, APEI, EINJ, Fix resource conflict on some machine

Some APEI firmware implementation will access injected address
specified in param1 to trigger the error when injecting memory error.
This will cause resource conflict with RAM.

On one of our testing machine, if injecting at memory address
0x10000000, the following error will be reported in dmesg:

  APEI: Can not request iomem region <0000000010000000-0000000010000008> for GARs.

This patch removes the injecting memory address range from trigger
table resources to avoid conflict.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/apei/apei-base.c
drivers/acpi/apei/apei-internal.h
drivers/acpi/apei/einj.c