• Dave Jiang's avatar
    tools/testing/nvdimm: Add test support for Intel nvdimm security DSMs · 3c13e2ac
    Dave Jiang authored
    Add nfit_test support for DSM functions "Get Security State",
    "Set Passphrase", "Disable Passphrase", "Unlock Unit", "Freeze Lock",
    and "Secure Erase" for the fake DIMMs.
    
    Also adding a sysfs knob in order to put the DIMMs in "locked" state. The
    order of testing DIMM unlocking would be.
    1a. Disable DIMM X.
    1b. Set Passphrase to DIMM X.
    2. Write to
    /sys/devices/platform/nfit_test.0/nfit_test_dimm/test_dimmX/lock_dimm
    3. Renable DIMM X
    4. Check DIMM X state via sysfs "security" attribute for nmemX.
    Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    3c13e2ac
Name
Last commit
Last update
..
accounting Loading commit data...
arch Loading commit data...
bpf Loading commit data...
build Loading commit data...
cgroup Loading commit data...
crypto Loading commit data...
firewire Loading commit data...
gpio Loading commit data...
hv Loading commit data...
iio Loading commit data...
include Loading commit data...
kvm/kvm_stat Loading commit data...
laptop Loading commit data...
leds Loading commit data...
lib Loading commit data...
memory-model Loading commit data...
nfsd Loading commit data...
objtool Loading commit data...
pci Loading commit data...
pcmcia Loading commit data...
perf Loading commit data...
power Loading commit data...
scripts Loading commit data...
spi Loading commit data...
testing Loading commit data...
thermal/tmon Loading commit data...
time Loading commit data...
usb Loading commit data...
virtio Loading commit data...
vm Loading commit data...
wmi Loading commit data...
Makefile Loading commit data...