Re: [PATCH v2 1/2] powerpc/nvdimm: Use HCALL error as the return value

2019-09-25 Thread Michael Ellerman
On Tue, 2019-09-03 at 12:34:51 UTC, "Aneesh Kumar K.V" wrote: > This simplifies the error handling and also enable us to switch to > H_SCM_QUERY hcall in a later patch on H_OVERLAP error. > > We also do some kernel print formatting fixup in this patch. > > Signed-off-by: Aneesh Kumar K.V

Re: [PATCH v2 1/2] powerpc/nvdimm: Use HCALL error as the return value

2019-09-24 Thread Aneesh Kumar K.V
Vaibhav Jain writes: > Hi Aneesh, > > Thanks for the patch. Minor review comments below: > > "Aneesh Kumar K.V" writes: > >> This simplifies the error handling and also enable us to switch to >> H_SCM_QUERY hcall in a later patch on H_OVERLAP error. >> >> We also do some kernel print formatting

Re: [PATCH v2 1/2] powerpc/nvdimm: Use HCALL error as the return value

2019-09-03 Thread Vaibhav Jain
Hi Aneesh, Thanks for the patch. Minor review comments below: "Aneesh Kumar K.V" writes: > This simplifies the error handling and also enable us to switch to > H_SCM_QUERY hcall in a later patch on H_OVERLAP error. > > We also do some kernel print formatting fixup in this patch. > >

[PATCH v2 1/2] powerpc/nvdimm: Use HCALL error as the return value

2019-09-03 Thread Aneesh Kumar K.V
This simplifies the error handling and also enable us to switch to H_SCM_QUERY hcall in a later patch on H_OVERLAP error. We also do some kernel print formatting fixup in this patch. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/platforms/pseries/papr_scm.c | 26 ++- 1