On Wed, 21 Sep 2022, Dave Jiang 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.

s/arch_invalidate_nvdimm_cache/cpu_cache_invalidate_memregion


See CXL 2.0 spec section 8.2.9.5.6.4 for reference.


Reviewed-by: Davidlohr Bueso <d...@stgolabs.net>

Signed-off-by: Dave Jiang <dave.ji...@intel.com>

Reply via email to