Re: [v3] cxl: Check if vphb exists before iterating over AFU devices

2017-11-24 Thread Michael Ellerman
On Thu, 2017-11-23 at 03:38:57 UTC, Vaibhav Jain wrote: > During an eeh a kernel-oops is reported if no vPHB is allocated to the > AFU. This happens as during AFU init, an error in creation of vPHB is > a non-fatal error. Hence afu->phb should always be checked for NULL > before iterating over it f

Re: [PATCH v3] cxl: Check if vphb exists before iterating over AFU devices

2017-11-23 Thread Frederic Barrat
Le 23/11/2017 à 04:38, Vaibhav Jain a écrit : During an eeh a kernel-oops is reported if no vPHB is allocated to the AFU. This happens as during AFU init, an error in creation of vPHB is a non-fatal error. Hence afu->phb should always be checked for NULL before iterating over it for the virtual

Re: [PATCH v3] cxl: Check if vphb exists before iterating over AFU devices

2017-11-22 Thread Andrew Donnellan
On 23/11/17 14:38, Vaibhav Jain wrote: During an eeh a kernel-oops is reported if no vPHB is allocated to the AFU. This happens as during AFU init, an error in creation of vPHB is a non-fatal error. Hence afu->phb should always be checked for NULL before iterating over it for the virtual AFU pci

[PATCH v3] cxl: Check if vphb exists before iterating over AFU devices

2017-11-22 Thread Vaibhav Jain
During an eeh a kernel-oops is reported if no vPHB is allocated to the AFU. This happens as during AFU init, an error in creation of vPHB is a non-fatal error. Hence afu->phb should always be checked for NULL before iterating over it for the virtual AFU pci devices. This patch fixes the kenel-oops