]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:30 +0000 (07:41 -0700)
commit9623f6b42a74645cbf05432a57d19363bc072bb2
tree0a32103a48d13907a10d0470bdb268d76dd5f86d
parenta8fa34c446b119c68cb88c5a787aa7055a33f949
PCIe AER: prevent AER injection if hardware masks error reporting

commit b49bfd32901625e4adcfee011d2b32a43b4db67d upstream.

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>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/aer/aer_inject.c