On Wed, 20 Jul 2022, Dave Jiang wrote:
Patch below is about what I had in mind for the secure erase command.
Looks good to me. The only thing I think it needs is to make sure the
mem devs are not "in use" before secure erase in addition to the
security check that's already there below. I was planning on working
on this after getting the current security commands series wrapped up.
But if you are already developing this then I'll defer.
Also here's the latest code that I'm still going through testing if
you want to play with it. I still need to replace the x86 patch with
your version.
Ok I will play more and test your series during the rest of the week,
as well as my own changes. I'll end up a formal series on top of this
one (or whatever version you are at at the time) with the sanitize
+ secure-erase (and the relevant mock device updates).
Thanks,
Davidlohr