Re: [PATCH] powernv: eeh: add buffer for P7IOC hub error data

2013-12-20 Thread Brian W Hart
On Fri, Dec 20, 2013 at 09:45:04AM +0800, Gavin Shan wrote: On Thu, Dec 19, 2013 at 05:18:53PM -0600, Brian W Hart wrote: Prevent ioda_eeh_hub_diag() from clobbering itself when called by supplying a buffer for P7IOC hub diagnostic data. Take care to inform OPAL of the correct size for the

[PATCH] powernv: eeh: add buffer for P7IOC hub error data

2013-12-19 Thread Brian W Hart
Prevent ioda_eeh_hub_diag() from clobbering itself when called by supplying a buffer for P7IOC hub diagnostic data. Take care to inform OPAL of the correct size for the buffer. Signed-off-by: Brian W Hart ha...@linux.vnet.ibm.com --- I hope I've understood this correctly. It looks to me like

Re: [PATCH] powernv: eeh: add buffer for P7IOC hub error data

2013-12-19 Thread Gavin Shan
On Thu, Dec 19, 2013 at 05:18:53PM -0600, Brian W Hart wrote: Prevent ioda_eeh_hub_diag() from clobbering itself when called by supplying a buffer for P7IOC hub diagnostic data. Take care to inform OPAL of the correct size for the buffer. Signed-off-by: Brian W Hart ha...@linux.vnet.ibm.com ---