History

cxl/pmem: Add "Freeze Security State" security command support

Create callback function to support the nvdimm_security_ops() ->freeze() callback. Translate the operation to send "Freeze Security State" security command for CXL memory device. See CXL rev3.0 spec section 8.2.9.8.6.5 for reference.

Dave Jiang committed 3 years ago

Commit a072f7b1 parent abf0c834 files · +13 −0Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/cxl_mem.h+1−0
@@ -44,6 +44,7 @@ · 43 unmodified lines
4444 ___C(GET_SECURITY_STATE, "Get Security State"), \
4545 ___C(SET_PASSPHRASE, "Set Passphrase"), \
4646 ___C(DISABLE_PASSPHRASE, "Disable Passphrase"), \
47+ ___C(FREEZE_SECURITY, "Freeze Security"), \
4748 ___C(MAX, "invalid / last command")
4849
4950 #define ___C(a, b) CXL_MEM_COMMAND_ID_##a

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t