1 What: /sys/firmware/secvar
3 Contact: Nayna Jain <nayna@linux.ibm.com>
4 Description: This directory is created if the POWER firmware supports OS
5 secureboot, thereby secure variables. It exposes interface
6 for reading/writing the secure variables
8 What: /sys/firmware/secvar/vars
10 Contact: Nayna Jain <nayna@linux.ibm.com>
11 Description: This directory lists all the secure variables that are supported
14 What: /sys/firmware/secvar/format
16 Contact: Nayna Jain <nayna@linux.ibm.com>
17 Description: A string indicating which backend is in use by the firmware.
18 This determines the format of the variable and the accepted
19 format of variable updates.
21 What: /sys/firmware/secvar/vars/<variable name>
23 Contact: Nayna Jain <nayna@linux.ibm.com>
24 Description: Each secure variable is represented as a directory named as
25 <variable_name>. The variable name is unique and is in ASCII
26 representation. The data and size can be determined by reading
27 their respective attribute files.
29 What: /sys/firmware/secvar/vars/<variable_name>/size
31 Contact: Nayna Jain <nayna@linux.ibm.com>
32 Description: An integer representation of the size of the content of the
33 variable. In other words, it represents the size of the data.
35 What: /sys/firmware/secvar/vars/<variable_name>/data
37 Contact: Nayna Jain h<nayna@linux.ibm.com>
38 Description: A read-only file containing the value of the variable. The size
39 of the file represents the maximum size of the variable data.
41 What: /sys/firmware/secvar/vars/<variable_name>/update
43 Contact: Nayna Jain <nayna@linux.ibm.com>
44 Description: A write-only file that is used to submit the new value for the
45 variable. The size of the file represents the maximum size of
46 the variable data that can be written.