-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathsysfs-class-ifpga-sec-mgr
More file actions
131 lines (118 loc) · 4.99 KB
/
sysfs-class-ifpga-sec-mgr
File metadata and controls
131 lines (118 loc) · 4.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
What: /sys/class/ifpga_sec_mgr/ifpga_secX/security/sr_root_entry_hash
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read only. Returns the root entry hash for the static
region if one is programmed, else it returns the
string: "hash not programmed". This file is only
visible if the underlying device supports it.
Format: "0x%x".
What: /sys/class/ifpga_sec_mgr/ifpga_secX/security/pr_root_entry_hash
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read only. Returns the root entry hash for the partial
reconfiguration region if one is programmed, else it
returns the string: "hash not programmed". This file
is only visible if the underlying device supports it.
Format: "0x%x".
What: /sys/class/ifpga_sec_mgr/ifpga_secX/security/bmc_root_entry_hash
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read only. Returns the root entry hash for the BMC image
if one is programmed, else it returns the string:
"hash not programmed". This file is only visible if the
underlying device supports it.
Format: "0x%x".
What: /sys/class/ifpga_sec_mgr/ifpga_secX/security/sr_canceled_csks
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read only. Returns a list of indices for canceled code
signing keys for the static region. The standard bitmap
list format is used (e.g. "1,2-6,9").
What: /sys/class/ifpga_sec_mgr/ifpga_secX/security/pr_canceled_csks
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read only. Returns a list of indices for canceled code
signing keys for the partial reconfiguration region. The
standard bitmap list format is used (e.g. "1,2-6,9").
What: /sys/class/ifpga_sec_mgr/ifpga_secX/security/bmc_canceled_csks
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read only. Returns a list of indices for canceled code
signing keys for the BMC. The standard bitmap list format
is used (e.g. "1,2-6,9").
What: /sys/class/ifpga_sec_mgr/ifpga_secX/security/user_flash_count
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read only. Returns number of times the user image for the
static region has been flashed.
Format: "%d".
What: /sys/class/ifpga_sec_mgr/ifpga_secX/security/bmc_flash_count
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read only. Returns number of times the BMC image has been
flashed.
Format: "%d".
What: /sys/class/ifpga_sec_mgr/ifpga_secX/update/filename
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Write only. Write the filename of an Intel image
file to this sysfs file to initiate a secure
update. The file must have an appropriate header
which, among other things, identifies the target
for the update. This mechanism is used to update
BMC images, BMC firmware, Static Region images,
and Root Entry Hashes, and to cancel Code Signing
Keys (CSK).
What: /sys/class/ifpga_sec_mgr/ifpga_secX/update/cancel
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Write-only. Write a "1" to this file to request
that a current update be canceled. This request
will be rejected (EBUSY) if the programming phase
has already started.
What: /sys/class/ifpga_sec_mgr/ifpga_secX/update/status
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read-only. Returns a string describing the current
status of an update. The string will be one of the
following: idle, preparing, writing, programming.
What: /sys/class/ifpga_sec_mgr/ifpga_secX/update/remaining_size
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read-only. Returns the size of data that remains to
be written to the secure update engine. The size
value is initialized to the full size of the file
image and the value is updated periodically during
the "writing" phase of the update.
Format: "%u".
What: /sys/class/ifpga_sec_mgr/ifpga_secX/update/error
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read-only. Returns an error string describing the
failure of a secure update. This string will be one
of the following: operation-error, crc-error,
auth-error, timeout-error, user-abort, device-busy,
invalid_size.
What: /sys/class/ifpga_sec_mgr/ifpga_secX/update/hw_errinfo
Date: June 2020
KernelVersion: 5.8
Contact: Russ Weight <russell.h.weight@intel.com>
Description: Read-only. Returns a 64 bit error value providing
hardware specific information that may be useful in
debugging errors that occur during FPGA image updates.
This file is only visible if the underlying device
supports it.
Format: "0x%llx".