sedutil: patch to support nvme-mi interface
We need sedutil to test and verify TCG feature of NVMe SSD in BMC.
In the meanwhile, we are tracking the patch on:
https://github.com/jinliangw/sedutil/tree/nvme-mi
Tested:
sedutil-cli --query mctp:1,16:0
mctp:1,16:0 NVMe MZWLR3T8HBLS-00AGG MPK9GP5Q S6HRNA0T517671
TPer function (0x0001)
ACKNAK = N, ASYNC = N. BufferManagement = N, comIDManagement = Y, Streaming = Y, SYNC = Y
Locking function (0x0002)
Locked = N, LockingEnabled = N, LockingSupported = Y, MBRDone = N, MBREnabled = N, MediaEncrypt = Y
Geometry function (0x0003)
Align = Y, Alignment Granularity = 9223372036854775807 (18446744073709551104), Logical Block size = 512, Lowest Aligned LBA = 0
SingleUser function (0x0201)
ALL = N, ANY = N, Policy = Y, Locking Objects = 33
DataStore function (0x0202)
Max Tables = 8, Max Size Tables = 10485760, Table size alignment = 1
OPAL 2.0 function (0x0203)
Base comID = 0x1000, Initial PIN = 0x00, Reverted PIN = 0x00, comIDs = 2
Locking Admins = 4, Locking Users = 33, Range Crossing = Y
TPer Properties:
AckNak = 0 Asynchronous = 0
ContinuedTokens = 0 SequenceNumbers = 0 DefSessionTimeout = 120000
MaxAuthentications = 4 MaxComIDTime = 60000 MaxComPacketSize = 16384
MaxIndTokenSize = 16328 MaxMethods = 1 MaxPackets = 1
MaxPacketSize = 16364 MaxReadSessions = 8 MaxResponseComPacketSize = 16384
MaxSessions = 9 MaxSessionTimeout = 0 MaxSubpackets = 1
MaxTransactionLimit = 1 MinSessionTimeout = 60000
Host Properties:
MaxComPacketSize = 2048 MaxIndTokenSize = 1992 MaxMethods = 1
MaxPackets = 1 MaxPacketSize = 2028 MaxSubpackets = 1
Google-Bug-Id: 274977344
Signed-off-by: Jinliang Wang <jinliangw@google.com>
Change-Id: Ia85646beb85c41a8193d9c0712fc976feb78cc61
2 files changed