On Wed, Sep 11, 2024 at 08:38:35PM +0800, Junxian Huang wrote: > Once hns device is reset, we don't allow any doorbell until driver's > re-initialization is completed. Not only all existing mmaps on ucontexts > will be zapped, no more new mmaps are allowed either. > > This actually makes ucontexts unavailable since userspace cannot access > HW with them any more. Users will have to destroy the old ucontext and > allocate a new one after driver's re-initialization is completed. It is supposed to come back once the reset is completed, yes userspace may need to restart some objects but the ucontext shouldn't be left crippled. Jason