Thread (4 messages) 4 messages, 3 authors, 2017-02-23

Re: [PATCH] cxl: Route eeh events to all slices for pci_channel_io_perm_failure state

From: Matthew R. Ochs <hidden>
Date: 2017-02-22 16:08:43

On Feb 22, 2017, at 4:51 AM, Vaibhav Jain [off-list ref] =
wrote:
=20
Fix a boundary condition where in some cases an eeh event with
state =3D=3D pci_channel_io_perm_failure wont be passed on to a driver
attached to the virtual pci device associated with a slice. This will
happen in case the slice just before (n-1) doesn't have any vph bus
associated with it, that results in an early return from
cxl_pci_error_detected callback.
=20
This also simplifies branch that handles this eeh state by returning
PCI_ERS_RESULT_DISCONNECTED in all cases as the adapter is will be
removed irrespective of the return value of cxl_pci_error_detected
callback.
This sentence could be cleaned up a bit.
=20
Fixes: e4f5fc001a6("cxl: Do not create vPHB if there are no AFU =
configuration records")
Signed-off-by: Vaibhav Jain <redacted>
Fix looks good!

Reviewed-by: Matthew R. Ochs <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help