On Wed, Jun 19, 2019 at 08:43:41AM -0700, Sean Christopherson wrote: > We should set SGX_ENCL_DEAD before flush_work(). Other than that I can't > think of any issues with this approach. Though hopefully we can purge the > worker altogether and make it a moot point :-). Thanks, I squashed the change now. And definitely we can considere to completely purge that. This change probably won't make it more difficult :-) I also removed PM notifier and SGX_ENCL_SUSPEND. Did not bother to cycle that change here because on that we've already made conclusions. Just have forgot to do that change. /Jarkko