On Wed, 21 Sep 2022 08:32:28 -0700
Dave Jiang <[email protected]> wrote:

> Create callback function to support the nvdimm_security_ops() ->unlock()
> callback. Translate the operation to send "Unlock" security command for CXL
> mem device.
> 
> When the mem device is unlocked, arch_invalidate_nvdimm_cache() is called
> in order to invalidate all CPU caches before attempting to access the mem
> device.
> 
> See CXL 2.0 spec section 8.2.9.5.6.4 for reference.
> 
> Signed-off-by: Dave Jiang <[email protected]>

LGTM

Reviewed-by: Jonathan Cameron <[email protected]>



Reply via email to