ACPI, EINJ: Enhance error injection tolerance level
authorChen, Gong <gong.chen@linux.intel.com>
Wed, 10 Dec 2014 21:53:26 +0000 (13:53 -0800)
committerTony Luck <tony.luck@intel.com>
Mon, 15 Dec 2014 19:36:37 +0000 (11:36 -0800)
commitd91525eb8ee6a622ce476955fe1a2530ade87c83
tree75eecf93cf2dacc5fa18152272caa1159b15952e
parentb2776bf7149bddd1f4161f14f79520f17fc1d71d
ACPI, EINJ: Enhance error injection tolerance level

Some BIOSes utilize PCI MMCFG space read/write opertion to trigger
specific errors. EINJ will report errors as below when hitting such
cases:

APEI: Can not request [mem 0x83f990a0-0x83f990a3] for APEI EINJ Trigger registers

It is because on x86 platform ACPI based PCI MMCFG logic has
reserved all MMCFG spaces so that EINJ can't reserve it again.
We already trust the ACPI/APEI code when using the EINJ interface
so it is not a big leap to also trust it to access the right
MMCFG addresses. Skip address checking to allow the access.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/x86/pci/mmconfig-shared.c
drivers/acpi/apei/apei-base.c