Re: [PATCH v2] powerpc/fadump: return error when fadump registration fails

2017-06-01 Thread Hari Bathini
On Saturday 27 May 2017 09:16 PM, Michal Suchanek wrote: - log an error message when registration fails and no error code listed in the switch is returned - translate the hv error code to posix error code and return it from fw_register - return the posix error code from fw_register to

Re: [PATCH v2] powerpc/fadump: return error when fadump registration fails

2017-05-30 Thread Michael Ellerman
Mahesh Jagannath Salgaonkar writes: > On 05/27/2017 09:16 PM, Michal Suchanek wrote: >> - log an error message when registration fails and no error code listed >> in the switch is returned >> - translate the hv error code to posix error code and return it from >> fw_register >> - return the

Re: [PATCH v2] powerpc/fadump: return error when fadump registration fails

2017-05-29 Thread Mahesh Jagannath Salgaonkar
On 05/27/2017 09:16 PM, Michal Suchanek wrote: > - log an error message when registration fails and no error code listed > in the switch is returned > - translate the hv error code to posix error code and return it from > fw_register > - return the posix error code from fw_register to the proc

[PATCH v2] powerpc/fadump: return error when fadump registration fails

2017-05-27 Thread Michal Suchanek
- log an error message when registration fails and no error code listed in the switch is returned - translate the hv error code to posix error code and return it from fw_register - return the posix error code from fw_register to the process writing to sysfs - return EEXIST on re-registration