On Fri, Apr 19, 2019 at 03:46:32PM +0800, oulijun wrote: > ??? 2019/4/16 20:16, Leon Romanovsky ??????: > > On Sat, Apr 13, 2019 at 07:29:01PM +0800, Lijun Ou wrote: > >> To avoid resource unreleased while ULP aborted abnormally, > >> the hardware adds the capability of restoring the resource > >> while removing module, this patch enables this capability. > > Can anyone help me to understand what does it mean? > > How can ULP "abort" without releasing resources? > > > > Thanks > > Maybe the commit description is not correct enough. > > The entire PATCH is to solve the following scenarios. When a function is abnormal, the hardware > > need to release the relatived hardware reource and the entire release process is the same as the flr process. > > It uses the firmware to reslove. The hw design adds a firmware cmd to clear the hardware state and judge > > the resource of hardware have freed. > > As a result, the driver need to implement this cmd. You explained what you are doing, but not why are you doing. Thanks > > Thanks > > Lijun Ou > >