Re: [PATCH V2 2/2] pseries/eeh: Handle RTAS delay requests in configure_bridge

2016-03-29 Thread Russell Currey
On Tue, 2016-03-29 at 20:49 +1100, Gavin Shan wrote: > On Tue, Mar 29, 2016 at 12:51:51PM +1000, Russell Currey wrote: > > > > In the configure_pe and configure_bridge RTAS calls, the spec states > > that values of 9900-9905 can be returned, indicating that software > > should delay for 10^x

Re: [PATCH V2 2/2] pseries/eeh: Handle RTAS delay requests in configure_bridge

2016-03-29 Thread Russell Currey
On Tue, 2016-03-29 at 08:51 -0700, Tyrel Datwyler wrote: > On 03/28/2016 07:51 PM, Russell Currey wrote: > > + /* > > +  * RTAS can return a delay value of up to 10^5 > > milliseconds > > +  * (RTAS_EXTENDED_DELAY_MAX), which is too long.  Only > > respect > > +

Re: [PATCH V2 2/2] pseries/eeh: Handle RTAS delay requests in configure_bridge

2016-03-29 Thread Tyrel Datwyler
On 03/28/2016 07:51 PM, Russell Currey wrote: > In the configure_pe and configure_bridge RTAS calls, the spec states > that values of 9900-9905 can be returned, indicating that software > should delay for 10^x (where x is the last digit, i.e. 990x) > milliseconds and attempt the call again.

Re: [PATCH V2 2/2] pseries/eeh: Handle RTAS delay requests in configure_bridge

2016-03-29 Thread Gavin Shan
On Tue, Mar 29, 2016 at 12:51:51PM +1000, Russell Currey wrote: >In the configure_pe and configure_bridge RTAS calls, the spec states >that values of 9900-9905 can be returned, indicating that software >should delay for 10^x (where x is the last digit, i.e. 990x) >milliseconds and attempt the call

[PATCH V2 2/2] pseries/eeh: Handle RTAS delay requests in configure_bridge

2016-03-28 Thread Russell Currey
In the configure_pe and configure_bridge RTAS calls, the spec states that values of 9900-9905 can be returned, indicating that software should delay for 10^x (where x is the last digit, i.e. 990x) milliseconds and attempt the call again. Currently, the kernel doesn't know about this, and