]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-pciback: mark device to be hidden on AER error trigger
authorElena Ufimtseva <elena.ufimtseva@oracle.com>
Thu, 21 Jul 2016 21:25:27 +0000 (17:25 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 31 Jul 2016 05:53:13 +0000 (22:53 -0700)
commit4e1c03794176b8175877fda8ac17f1a59d0d3730
treea0b7c5223a98de912f1cb6d326862e987f11951d
parentf6d6cf25f0200a37433a4558ab3a047f3748409e
xen-pciback: mark device to be hidden on AER error trigger

Some platforms are configured to reboot the machine upon
AER unrecoverable error and some virtualized systems are subject
to security risks described in XSA-124.
This patch allows for simple AER unrecoverable errors containment
together with killing the guest upon receiving of fatal AER error.
Patch stores in xenstore sbdf of passed through device that triggered
AER unrecoverable error. This will allow xend to make device
unassignable until next reboot or special hypervisor hypercall.

OraBug: 24377669

Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Adnan Misherfi <adnan.misherfi@oracle.com>
drivers/xen/xen-pciback/pci_stub.c