]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: aer-inject: Override PCIe AER Mask Registers
authorPrarit Bhargava <prarit@redhat.com>
Tue, 11 Jan 2011 20:34:35 +0000 (15:34 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 4 Mar 2011 18:41:02 +0000 (10:41 -0800)
commit457d9d088b026e26dbab98cad9d299c1faf4c343
tree654406ce3724d90fe784446ef38c12605adb692e
parent3449248c8731e8474980856d76bbf9bac9b0682f
PCI: aer-inject: Override PCIe AER Mask Registers

I have several systems which have the same problem:  The PCIe AER
corrected and uncorrected masks have all the error bits set.  This
results in the inablility to test with the aer_inject module & utility
on those systems.

Add the 'aer_mask_override' module parameter which will override the
corrected or uncorrected masks for a PCI device.  The mask will have the
bit corresponding to the status passed into the aer_inject() function.

After this patch it is possible to successfully use the aer_inject
utility on those PCI slots.

Successfully tested by me on a Dell and Intel whitebox which exhibited
the mask problem.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aer_inject.c