Re: [PATCH v3 2/2] powerpc/rtas: Implement reentrant rtas call

2020-05-14 Thread Leonardo Bras
On Thu, 2020-05-14 at 20:28 -0300, Leonardo Bras wrote: > Yes, you are right. > I will also add preempt_{dis,en}able, which in most kernels will > compile out, but it will be kind of 'ready' if we ever decide to > support PREEMPT. > > Thanks for the feedback! v4:

Re: [PATCH v3 2/2] powerpc/rtas: Implement reentrant rtas call

2020-05-14 Thread Leonardo Bras
Hello Nathan, On Thu, 2020-05-14 at 13:58 -0500, Nathan Lynch wrote: > Hi, > > Leonardo Bras writes: > > +/** > > + * rtas_call_reentrant() - Used for reentrant rtas calls > > + * @token: Token for desired reentrant RTAS call > > + * @nargs: Number of Input Parameters > > + * @nret: Number of

Re: [PATCH v3 2/2] powerpc/rtas: Implement reentrant rtas call

2020-05-14 Thread Nathan Lynch
Hi, Leonardo Bras writes: > +/** > + * rtas_call_reentrant() - Used for reentrant rtas calls > + * @token: Token for desired reentrant RTAS call > + * @nargs: Number of Input Parameters > + * @nret:Number of Output Parameters > + * @outputs: Array of outputs > + * @...: Inputs for