On Wed, 21 Sep 2022 08:32:51 -0700
Dave Jiang <dave.ji...@intel.com> wrote:

> The original nvdimm_security_ops ->disable() only supports user passphrase
> for security disable. The CXL spec introduced the disabling of master
> passphrase. Add a ->disable_master() callback to support this new operation
> and leaving the old ->disable() mechanism alone. A "disable_master" command
> is added for the sysfs attribute in order to allow command to be issued
> from userspace. ndctl will need enabling in order to utilize this new
> operation.
> 
> Signed-off-by: Dave Jiang <dave.ji...@intel.com>
I'm not particularly familiar with the code modified, but with that in mind
looks good to me.

Reviewed-by: Jonathan Cameron <jonathan.came...@huawei.com>


Reply via email to