forked from openbmc/pldm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.options
219 lines (195 loc) · 5.56 KB
/
meson.options
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
# PLDM daemon options
option(
'tests',
type: 'feature',
value: 'enabled',
description: 'Build tests'
)
option(
'utilities',
type: 'feature',
value: 'enabled',
description: 'Enable debug utilities'
)
option(
'libpldmresponder',
type: 'feature',
value: 'enabled',
description: 'Enable libpldmresponder'
)
option(
'systemd',
type: 'feature',
value: 'enabled',
description: 'Include systemd support'
)
option(
'transport-implementation',
type: 'combo',
choices: ['mctp-demux', 'af-mctp'],
description: 'transport via af-mctp or mctp-demux'
)
# As per PLDM spec DSP0240 version 1.1.0, in Timing Specification for PLDM messages (Table 6),
# the instance ID for a given response will expire and become reusable if a response has not been
# received within a maximum of 6 seconds after a request is sent. By setting the dbus timeout
# value to 5 seconds we ensure that PLDM does not wait for a response from a dbus call even after
# the instance ID has expired. If the option is set to 5 seconds, any dbus call originated from
# PLDM daemon will timeout after 5 seconds.
option(
'dbus-timeout-value',
type: 'integer',
min: 3,
max: 10,
value: 5,
description: '''The amount of time pldm waits to get a response for a dbus
message before timing out'''
)
option(
'heartbeat-timeout-seconds',
type: 'integer',
value: 120,
description: '''The amount of time host waits for BMC to respond to pings
from host, as part of host-bmc surveillance'''
)
# Flight Recorder for PLDM Daemon
option(
'flightrecorder-max-entries',
type:'integer',
min:0,
max:30,
value: 10,
description: '''The max number of pldm messages that can be stored in the
recorder, this feature will be disabled if it is set to 0'''
)
# PLDM Daemon Terminus options
option(
'terminus-id',
type:'integer',
min:0,
max: 255,
value:1,
description: '''The terminus id value of the device that is running this
pldm stack'''
)
option(
'terminus-handle',
type:'integer',
min:0,
max:65535,
value:1,
description: '''The terminus handle value of the device that is running this
pldm stack'''
)
# Timing specification options for PLDM messages
option(
'number-of-request-retries',
type: 'integer',
min: 2,
max: 30,
value: 2,
description: '''The number of times a requester is obligated to retry a
request'''
)
option(
'instance-id-expiration-interval',
type: 'integer',
min: 5,
max: 6,
value: 5,
description: 'Instance ID expiration interval in seconds'
)
# Default response-time-out set to 2 seconds to facilitate a minimum retry of
# the request of 2.
option(
'response-time-out',
type: 'integer',
min: 300,
max: 4800,
value: 2000,
description: '''The amount of time a requester has to wait for a response
message in milliseconds'''
)
# Firmware update configuration parameters
option(
'maximum-transfer-size',
type: 'integer',
min: 16,
max: 4294967295,
value: 4096,
description: '''Maximum size in bytes of the variable payload allowed to be
requested by the FD, via RequestFirmwareData command'''
)
# Bios Attributes option
option(
'system-specific-bios-json',
type : 'feature',
value: 'disabled',
description : 'Support for different set of bios attributes for different types of systems'
)
# PLDM Soft Power off options
option(
'softoff',
type: 'feature',
value: 'enabled',
description: 'Build soft power off application'
)
option(
'softoff-timeout-seconds',
type: 'integer',
value: 7200,
description: 'softoff: Time to wait for host to gracefully shutdown'
)
# Vendor Specific Options
## OEM IBM Options
option(
'oem-ibm',
type: 'feature',
value: 'enabled',
description: 'Enable IBM OEM PLDM'
)
option(
'oem-ibm-dma-maxsize',
type: 'integer',
min:4096,
max: 16773120,
value: 8384512,
description: 'OEM-IBM: max DMA size'
)
## OEM AMPERE Options
option(
'oem-ampere',
type: 'feature',
description: 'Enable AMPERE OEM PLDM',
value: 'enabled',
)
## Default Sensor Update Interval Options
option(
'default-sensor-update-interval',
type: 'integer',
min: 1,
max: 4294967295,
description: '''The default sensor polling interval in milliseconds.
The value will be used when the internal is not configured
in the PLDM sensor PDRs use `updateInterval` field. `pldmd`
will send `GetSensorReading` to get the PLDM sensor values
of the monitoring terminus after each configured
interval.''',
value: 999
)
# Platform-mc configuration parameters
## Sensor Polling Options
option(
'sensor-polling-time',
type: 'integer',
min: 1,
max: 10000,
description: '''The configured timeout in milliseconds of the common sensor
polling timer of each terminus which will trigger the
terminus sensor reading task. The task will check
whether the sensor in the terminus sensors list need to
be updated by comparing the sensor `updateInterval` with the
interval between current timestamp and latest updated
timestamp of the sensor. The task will send
`GetSensorReading` if the sensor need to be updated.''',
value: 249
)