Re: [PATCH v3 1/7] spapr_drc.c: do not call spapr_drc_detach() in drc_isolate_logical()

2021-02-16 Thread David Gibson
On Mon, Feb 15, 2021 at 11:40:06AM +0100, Greg Kurz wrote: > On Thu, 11 Feb 2021 19:52:40 -0300 > Daniel Henrique Barboza wrote: > > > drc_isolate_logical() is used to move the DRC from the "Configured" to the > > "Available" state, erroring out if the DRC is in the unexpected "Unisolate" > > sta

Re: [PATCH v3 1/7] spapr_drc.c: do not call spapr_drc_detach() in drc_isolate_logical()

2021-02-15 Thread Greg Kurz
On Thu, 11 Feb 2021 19:52:40 -0300 Daniel Henrique Barboza wrote: > drc_isolate_logical() is used to move the DRC from the "Configured" to the > "Available" state, erroring out if the DRC is in the unexpected "Unisolate" > state and doing nothing (with RTAS_OUT_SUCCESS) if the DRC is already in >

[PATCH v3 1/7] spapr_drc.c: do not call spapr_drc_detach() in drc_isolate_logical()

2021-02-11 Thread Daniel Henrique Barboza
drc_isolate_logical() is used to move the DRC from the "Configured" to the "Available" state, erroring out if the DRC is in the unexpected "Unisolate" state and doing nothing (with RTAS_OUT_SUCCESS) if the DRC is already in "Available" or in "Unusable" state. When moving from "Configured" to "Avai