This series of patches aims at extending SED Opal support: 1. Exposing enum opal_uid and opaluid definitions to the users to select the desired opal table UID. 2. Generalizing write data to any opal table 3. Adding an IOCTL for reading/writing any Opal Table with Admin-1 authority
Datastore feature described in: https://trustedcomputinggroup.org/wp-content/uploads/TCG_Storage-Opal_Feature_Set-Additional_DataStore_Tables_v1_00_r1_00_Final.pdf Opal Application Note: https://trustedcomputinggroup.org/wp-content/uploads/TCG_Storage_Opal_SSC_Application_Note_1-00_1-00-Final.pdf This feature has been successfully tested on OPAL Datastore and MBR table using internal tools with a Intel SSD and Intel Optane. Revanth Rajashekar (3): block: sed-opal: Expose enum opal_uid and opaluid definitions to the users by moving it to "include/uapi/linux/sed-opal.h" block: sed-opal: Generalizing write data to any opal table block: sed-opal: Add support to read/write opal tables generically block/opal_proto.h | 39 ---- block/sed-opal.c | 349 +++++++++++++++++++++------------- include/linux/sed-opal.h | 1 + include/uapi/linux/sed-opal.h | 126 ++++++++++++ 4 files changed, 341 insertions(+), 174 deletions(-) -- 2.17.1