PCIe AER: prevent AER injection if hardware masks error reporting
authorYouquan,Song <youquan.song@linux.intel.com>
Thu, 17 Dec 2009 13:22:48 +0000 (08:22 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 4 Jan 2010 23:52:49 +0000 (15:52 -0800)
commitb49bfd32901625e4adcfee011d2b32a43b4db67d
tree2a83d0d739df23b96b094de83880defc05ea0a6a
parent1ae861e652b5457e7fa98ccbc55abea1e207916e
PCIe AER: prevent AER injection if hardware masks error reporting

The Correcteable/Uncorrectable Error Mask Registers are used by PCIe AER
driver which will controls the reporting of individual errors to PCIe RC
via PCIe error messages.

If hardware masks special error reporting to RC, the aer_inject driver
should not inject aer error.

Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Youquan, Song <youquan.song@intel.com>
Acked-by: Ying, Huang <ying.huang@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aer_inject.c