pseries/eeh: Handle RTAS delay requests in configure_bridge

Michael Ellerman mpe at ellerman.id.au
Wed Mar 23 21:39:57 AEDT 2016


On Wed, 2016-03-23 at 13:52 +1100, Russell Currey wrote:
> On Wed, 2016-03-23 at 11:38 +1100, Michael Ellerman wrote:
> > On Tue, 2016-22-03 at 00:34:55 UTC, Russell Currey wrote:
> > >
> > > +		case RTAS_EXTENDED_DELAY_MIN+2:
> > > +			mwait = 100;
> > > +			break;
> > > +		default:
> > > +			goto err;
> > > +		}
> > > +
> > > +		max_wait -= mwait;
> > > +		msleep(mwait);

> > Can you use rtas_busy_delay() ?
>
> Wasn't aware of that, makes life a lot easier.  Do you know if the 0.2s
> maximum delay also applies across the board?  I definitely want to enforce
> it here, but if it is ubiquitous then it should be in rtas_busy_delay.

Not sure sorry, you'll have to read PAPR :)

cheers



More information about the Linuxppc-dev mailing list