Re: [PATCH v3 1/3] powerpc/rtas: Export rtas_error_rc

2020-04-27 Thread Michael Ellerman
Sam Bobroff writes: > Export rtas_error_rc() so that it can be used by other users of > rtas_call() (which is already exported). > > Signed-off-by: Sam Bobroff > --- > v3 * New in this version. > > arch/powerpc/include/asm/rtas.h | 1 + > arch/powerpc/kernel/rtas.c | 3 ++- > 2 files change

Re: [PATCH v3 1/3] powerpc/rtas: Export rtas_error_rc

2020-04-27 Thread Sam Bobroff
On Fri, Apr 24, 2020 at 11:07:43AM -0500, Nathan Lynch wrote: > Sam Bobroff writes: > > Export rtas_error_rc() so that it can be used by other users of > > rtas_call() (which is already exported). > > This will do the right thing for your ibm,configure-pe use case in patch > 2, but the -900x => e

Re: [PATCH v3 1/3] powerpc/rtas: Export rtas_error_rc

2020-04-24 Thread Nathan Lynch
Sam Bobroff writes: > Export rtas_error_rc() so that it can be used by other users of > rtas_call() (which is already exported). This will do the right thing for your ibm,configure-pe use case in patch 2, but the -900x => errno translations in rtas_error_rc() appear tailored for the indicator- an

[PATCH v3 1/3] powerpc/rtas: Export rtas_error_rc

2020-04-23 Thread Sam Bobroff
Export rtas_error_rc() so that it can be used by other users of rtas_call() (which is already exported). Signed-off-by: Sam Bobroff --- v3 * New in this version. arch/powerpc/include/asm/rtas.h | 1 + arch/powerpc/kernel/rtas.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff