blob: c1902d02b972afde41c5211ef4c81b9dba408700 [file] [log] [blame]
Matthew Barthbde68592017-05-24 17:06:13 -05001groups:
Matthew Barthdadf39c2019-09-20 09:49:29 -05002 - name: poweron_pgood
3 description: System poweron pgood state
4 type: /org/openbmc/control
5 members:
6 - /power0
Matthew Barthae931212019-01-29 16:10:44 -06007 - name: zone0_control_mode
8 description: Thermal control mode for zone 0
9 service: xyz.openbmc_project.Control.Thermal
10 type: /xyz/openbmc_project/control/thermal
11 members:
12 - /0
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050013 - name: air_cooled_zone0_fans
14 description: Group of fan inventory objects for air cooled zone 0
Matthew Barth46e31152017-08-08 16:08:59 -050015 type: /xyz/openbmc_project/inventory
Matthew Barthbde68592017-05-24 17:06:13 -050016 members:
17 - /system/chassis/motherboard/fan0
18 - /system/chassis/motherboard/fan1
19 - /system/chassis/motherboard/fan2
20 - /system/chassis/motherboard/fan3
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050021 - name: water_and_air_cooled_zone0_fans
22 description: Group of fan inventory objects for water/air cooled zone 0
Matthew Barth46e31152017-08-08 16:08:59 -050023 type: /xyz/openbmc_project/inventory
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050024 members:
25 - /system/chassis/motherboard/fan0
26 - /system/chassis/motherboard/fan2
27 - /system/chassis/motherboard/fan3
Matthew Barth5cde5a62017-07-10 15:35:29 -050028 - name: zone0_ambient
29 description: Group of ambient temperature sensors for zone 0
Matthew Barth46e31152017-08-08 16:08:59 -050030 type: /xyz/openbmc_project/sensors
Matthew Barth5cde5a62017-07-10 15:35:29 -050031 members:
32 - /temperature/ambient
Matthew Barth184a1512017-08-16 10:42:54 -050033 - name: occ0_object
34 description: Dbus object containing OCC0 properties
35 type: /org/open_power/control
36 members:
37 - /occ0
38 - name: occ1_object
39 description: Dbus object containing OCC1 properties
40 type: /org/open_power/control
41 members:
42 - /occ1
43 - name: zone0_cores
44 description: Group of core temperature sensors for zone 0
45 type: /xyz/openbmc_project/sensors
46 members:
47 - /temperature/p0_core0_temp
48 - /temperature/p0_core1_temp
49 - /temperature/p0_core2_temp
50 - /temperature/p0_core3_temp
51 - /temperature/p0_core4_temp
52 - /temperature/p0_core5_temp
53 - /temperature/p0_core6_temp
54 - /temperature/p0_core7_temp
55 - /temperature/p0_core8_temp
56 - /temperature/p0_core9_temp
57 - /temperature/p0_core10_temp
58 - /temperature/p0_core11_temp
59 - /temperature/p0_core12_temp
60 - /temperature/p0_core13_temp
61 - /temperature/p0_core14_temp
62 - /temperature/p0_core15_temp
63 - /temperature/p0_core16_temp
64 - /temperature/p0_core17_temp
65 - /temperature/p0_core18_temp
66 - /temperature/p0_core19_temp
67 - /temperature/p0_core20_temp
68 - /temperature/p0_core21_temp
69 - /temperature/p0_core22_temp
70 - /temperature/p0_core23_temp
71 - /temperature/p1_core0_temp
72 - /temperature/p1_core1_temp
73 - /temperature/p1_core2_temp
74 - /temperature/p1_core3_temp
75 - /temperature/p1_core4_temp
76 - /temperature/p1_core5_temp
77 - /temperature/p1_core6_temp
78 - /temperature/p1_core7_temp
79 - /temperature/p1_core8_temp
80 - /temperature/p1_core9_temp
81 - /temperature/p1_core10_temp
82 - /temperature/p1_core11_temp
83 - /temperature/p1_core12_temp
84 - /temperature/p1_core13_temp
85 - /temperature/p1_core14_temp
86 - /temperature/p1_core15_temp
87 - /temperature/p1_core16_temp
88 - /temperature/p1_core17_temp
89 - /temperature/p1_core18_temp
90 - /temperature/p1_core19_temp
91 - /temperature/p1_core20_temp
92 - /temperature/p1_core21_temp
93 - /temperature/p1_core22_temp
94 - /temperature/p1_core23_temp
Matthew Barth7a512782017-08-16 12:43:07 -050095 - name: zone0_regulators
96 description: Group of regulator temperature sensors for zone 0
97 type: /xyz/openbmc_project/sensors
98 members:
99 - /temperature/p0_vdd_temp
100 - /temperature/p1_vdd_temp
Matthew Barth362d8232017-08-18 10:39:03 -0500101 - name: zone0_dimms
102 description: Group of dimm temperature sensors for zone 0
103 type: /xyz/openbmc_project/sensors
104 members:
105 - /temperature/dimm0_temp
106 - /temperature/dimm1_temp
107 - /temperature/dimm2_temp
108 - /temperature/dimm3_temp
109 - /temperature/dimm4_temp
110 - /temperature/dimm5_temp
111 - /temperature/dimm6_temp
112 - /temperature/dimm7_temp
113 - /temperature/dimm8_temp
114 - /temperature/dimm9_temp
115 - /temperature/dimm10_temp
116 - /temperature/dimm11_temp
117 - /temperature/dimm12_temp
118 - /temperature/dimm13_temp
119 - /temperature/dimm14_temp
120 - /temperature/dimm15_temp
Matthew Barth1f8bf1d2017-09-14 13:26:06 -0500121 - name: zone0_gpu_cores
122 description: Group of gpu core temperature sensors for zone 0
123 type: /xyz/openbmc_project/sensors
124 members:
125 - /temperature/gpu0_core_temp
126 - /temperature/gpu1_core_temp
127 - /temperature/gpu2_core_temp
128 - /temperature/gpu3_core_temp
129 - /temperature/gpu4_core_temp
130 - /temperature/gpu5_core_temp
Matthew Barthfe1823a2017-09-14 13:39:49 -0500131 - name: zone0_gpu_memory
132 description: Group of gpu memory temperature sensors for zone 0
133 type: /xyz/openbmc_project/sensors
134 members:
135 - /temperature/gpu0_mem_temp
136 - /temperature/gpu1_mem_temp
137 - /temperature/gpu2_mem_temp
138 - /temperature/gpu3_mem_temp
139 - /temperature/gpu4_mem_temp
140 - /temperature/gpu5_mem_temp
Matthew Barth336e2622017-10-13 14:45:27 -0500141 - name: zone0_pcie
142 description: Group of pcie temperature sensors for zone 0
143 type: /xyz/openbmc_project/sensors
144 members:
145 - /temperature/pcie
Matthew Barth184a1512017-08-16 10:42:54 -0500146
Matthew Barth4faed5e2017-12-11 15:02:32 -0600147matches:
148 - name: propertiesChanged
Matthew Barth4faed5e2017-12-11 15:02:32 -0600149 parameters:
150 - object
151 - interface
Matthew Barth1a439412018-10-25 15:33:52 -0500152 - name: interfacesAdded
153 parameters:
154 - object
155 - name: interfacesRemoved
156 parameters:
157 - object
158 - name: nameOwnerChanged
159 parameters:
160 - object
161 - interface
162
163signals:
164 - name: propertiesChanged
165 description: >
166 A property changed match
167 parameters:
168 - type
169 - object
170 - interface
171 - property
172 match: propertiesChanged
Matthew Barth4faed5e2017-12-11 15:02:32 -0600173 - name: interfacesAdded
174 description: >
175 An interfaces added match
176 parameters:
Matthew Barth1a439412018-10-25 15:33:52 -0500177 - type
Matthew Barth4faed5e2017-12-11 15:02:32 -0600178 - object
Matthew Barth1a439412018-10-25 15:33:52 -0500179 - interface
180 - property
181 match: interfacesAdded
Matthew Barth4faed5e2017-12-11 15:02:32 -0600182 - name: interfacesRemoved
183 description: >
184 An interfaces removed match
185 parameters:
186 - object
Matthew Barth1a439412018-10-25 15:33:52 -0500187 - interface
188 match: interfacesRemoved
Matthew Barth4faed5e2017-12-11 15:02:32 -0600189 - name: nameOwnerChanged
190 description: >
191 A name owner changed match
192 parameters:
Matthew Barth1a439412018-10-25 15:33:52 -0500193 match: nameOwnerChanged
Matthew Barth4faed5e2017-12-11 15:02:32 -0600194
Matthew Barth1a439412018-10-25 15:33:52 -0500195methods:
196 - name: getProperties
Matthew Barth4faed5e2017-12-11 15:02:32 -0600197 description: >
Matthew Barth1a439412018-10-25 15:33:52 -0500198 Get the property values of the given group members
199 by performing a `GetProperty` method call on each
Matthew Barth4faed5e2017-12-11 15:02:32 -0600200 parameters:
201 - type
Matthew Barth1a439412018-10-25 15:33:52 -0500202 - name: nameHasOwner
Matthew Barth4faed5e2017-12-11 15:02:32 -0600203 description: >
Matthew Barth1a439412018-10-25 15:33:52 -0500204 A NameHasOwner method call to be performed on all event group members
Matthew Barth4faed5e2017-12-11 15:02:32 -0600205 parameters:
Matthew Barth4faed5e2017-12-11 15:02:32 -0600206
207handlers:
208 - name: setProperty
209 description: >
210 Sets a value for the given object/interface/property
211 parameters:
212 - type
Matthew Barth4faed5e2017-12-11 15:02:32 -0600213 - name: setService
214 description: >
Matthew Barth1a439412018-10-25 15:33:52 -0500215 Sets the service name and ownership status for the given group
Matthew Barth4faed5e2017-12-11 15:02:32 -0600216 parameters:
217 - group
Matthew Barth0c1b0172018-03-22 08:23:18 -0500218 - name: removeInterface
219 description: >
220 Removes an interface(and all associated properties) on the
Matthew Barth1a439412018-10-25 15:33:52 -0500221 given object from use within all event actions
Matthew Barth0c1b0172018-03-22 08:23:18 -0500222 parameters:
223 - object
224 - interface
Matthew Barth4faed5e2017-12-11 15:02:32 -0600225
Matthew Barth184a1512017-08-16 10:42:54 -0500226preconditions:
227 - name: property_states_match
228 description: >
229 All defined properties must match the values given to
230 enable a set speed event otherwise fan speeds are set to full
231 parameters:
232 - groups
Matthew Barth1a439412018-10-25 15:33:52 -0500233 - name: services_missing_owner
234 description: >
235 Any services missing an owner enable the events given otherwise
236 the events are removed/disabled
237 parameters:
Matthew Barthbde68592017-05-24 17:06:13 -0500238
239actions:
Matthew Barth4faed5e2017-12-11 15:02:32 -0600240 - name: call_actions_based_on_timer
241 description: >
242 Sets up a list of actions to be invoked when the defined timer
243 expires (or for each expiration of a repeating timer)
244 parameters:
245 - timer
246 - actions
247 - name: default_floor_on_missing_owner
248 description: >
249 Set the fan floor to the default floor
250 - name: set_speed_on_missing_owner
251 description: >
252 Set fans to the given speed when any service within the group
253 no longer exists
254 parameters:
255 - speed
Matthew Barth1181f282017-09-15 14:53:01 -0500256 - name: set_request_speed_base_with_max
257 description: >
258 Set the base request speed of a zone to the max value of a group for
259 calculating a new target speed
Matthew Barthbde68592017-05-24 17:06:13 -0500260 - name: count_state_before_speed
261 description: Set the speed when a number of properties at a state
262 parameters:
263 - count
264 - property
265 - speed
Matthew Barth5cde5a62017-07-10 15:35:29 -0500266 - name: set_floor_from_average_sensor_value
267 description: Set floor speed from first entry with average less than key
268 parameters:
269 - map
270 - name: set_ceiling_from_average_sensor_value
271 description: Set ceiling speed based on key transition values with average
272 parameters:
273 - map
Matthew Barth184a1512017-08-16 10:42:54 -0500274 - name: set_net_increase_speed
275 description: >
276 Set the speed increase delta based on a factor applied to
277 the delta increase size times the given value and property's
278 value difference
279 parameters:
280 - property
281 - factor
282 - delta
283 - name: set_net_decrease_speed
284 description: >
285 Set the speed decrease delta based on a factor applied to
286 the delta decrease size times the given value and property's
287 value difference
288 parameters:
289 - property
290 - factor
291 - delta
Matthew Barthae931212019-01-29 16:10:44 -0600292 - name: use_alternate_events_on_state
293 description: >
294 Replaces a set of default events with an alternate set of events
295 when all the group properties are at a given state
296 parameters:
297 - property
298 - defevents
299 - altevents
Matthew Barth0c6a7b52019-10-09 09:46:26 -0500300 - name: update_default_floor
301 description: >
302 Update the default fan floor to the given speed
303 parameters:
304 - property
305 - speed
306 - name: use_events_on_state
307 description: >
308 Use a set of events when all the group properties are at a given
309 state, otherwise remove the events
310 parameters:
311 - property
312 - events
Matthew Barthbde68592017-05-24 17:06:13 -0500313
314events:
Matthew Barth56d560a2017-10-30 14:49:35 -0500315 - name: default_fan_floor_on_service_fail
Matthew Barth1a439412018-10-25 15:33:52 -0500316 precondition:
317 name: services_missing_owner
318 groups:
319 - name: zone0_ambient
320 interface: xyz.openbmc_project.Sensor.Value
321 property:
322 name: Value
323 type: int64_t
324 triggers:
325 - name: init
326 method: nameHasOwner
327 handler: setService
328 - name: signal
329 signal: nameOwnerChanged
330 handler: setService
331 events:
332 - name: default_fan_floor
333 groups:
334 - name: zone0_ambient
335 interface: xyz.openbmc_project.Sensor.Value
336 property:
337 name: Value
338 type: int64_t
339 triggers:
340 - name: timer
341 interval: 5000000
342 type: oneshot
343 actions:
344 - name: default_floor_on_missing_owner
345 - name: high_speed_on_occ_service_fails
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600346 groups:
347 - name: occ0_object
348 interface: org.open_power.OCC.Status
349 property:
350 name: OccActive
351 type: bool
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600352 - name: occ1_object
353 interface: org.open_power.OCC.Status
354 property:
355 name: OccActive
356 type: bool
Matthew Barth1a439412018-10-25 15:33:52 -0500357 triggers:
358 - name: init
359 method: nameHasOwner
360 handler: setService
361 - name: signal
362 signal: nameOwnerChanged
363 handler: setService
Matthew Barth56d560a2017-10-30 14:49:35 -0500364 actions:
365 - name: call_actions_based_on_timer
366 timer:
Matthew Barth1a439412018-10-25 15:33:52 -0500367 interval: 5000000
Matthew Barth56d560a2017-10-30 14:49:35 -0500368 type: oneshot
369 actions:
370 - name: set_speed_on_missing_owner
371 speed:
372 value: 10500
373 type: uint64_t
Matthew Barth0c6a7b52019-10-09 09:46:26 -0500374 - name: set_speed_boundaries_based_on_ambient
375 groups:
376 - name: zone0_control_mode
377 interface: xyz.openbmc_project.Control.ThermalMode
378 property:
379 name: Current
380 type: std::string
381 triggers:
382 - name: init
383 method: getProperties
384 handler: setProperty
385 - name: signal
386 signal: propertiesChanged
387 handler: setProperty
388 actions:
389 - name: update_default_floor
390 property:
391 value: DEFAULT
392 type: std::string
393 speed:
394 value: 8000
395 type: uint64_t
396 - name: update_default_floor
397 property:
398 value: CUSTOM
399 type: std::string
400 speed:
401 value: 8000
402 type: uint64_t
403 - name: update_default_floor
404 property:
405 value: HEAVY_IO
406 type: std::string
407 speed:
408 value: 10500
409 type: uint64_t
410 - name: update_default_floor
411 property:
412 value: MAX_BASE_FAN_FLOOR
413 type: std::string
414 speed:
415 value: 10500
416 type: uint64_t
417 - name: use_events_on_state
418 property:
419 value: DEFAULT
420 type: std::string
421 events:
422 - name: default_fan_speed_boundaries
423 groups:
424 - name: zone0_ambient
425 zone_conditions:
426 - name: air_cooled_chassis
427 zones:
428 - 0
429 interface: xyz.openbmc_project.Sensor.Value
430 property:
431 name: Value
432 type: int64_t
433 triggers:
434 - name: init
435 method: getProperties
436 handler: setProperty
437 - name: signal
438 signal: propertiesChanged
439 handler: setProperty
440 actions:
441 - name: set_floor_from_average_sensor_value
442 map:
443 value:
444 - 27000: 3500
445 - 32000: 4600
446 - 37000: 5200
447 - 40000: 5800
448 type: std::map<int64_t, uint64_t>
449 - name: set_ceiling_from_average_sensor_value
450 map:
451 value:
452 - 25000: 7200
453 - 27000: 10500
454 type: std::map<int64_t, uint64_t>
455 - name: default_fan_speed_boundaries
456 groups:
457 - name: zone0_ambient
458 zone_conditions:
459 - name: water_and_air_cooled_chassis
460 zones:
461 - 0
462 interface: xyz.openbmc_project.Sensor.Value
463 property:
464 name: Value
465 type: int64_t
466 triggers:
467 - name: init
468 method: getProperties
469 handler: setProperty
470 - name: signal
471 signal: propertiesChanged
472 handler: setProperty
473 actions:
474 - name: set_floor_from_average_sensor_value
475 map:
476 value:
477 - 27000: 3000
478 - 32000: 4300
479 - 37000: 5000
480 - 40000: 5800
481 type: std::map<int64_t, uint64_t>
482 - name: set_ceiling_from_average_sensor_value
483 map:
484 value:
485 - 25000: 7200
486 - 27000: 10500
487 type: std::map<int64_t, uint64_t>
488 - name: use_events_on_state
489 property:
490 value: CUSTOM
491 type: std::string
492 events:
493 - name: custom_fan_speed_boundaries
494 groups:
495 - name: zone0_ambient
496 interface: xyz.openbmc_project.Sensor.Value
497 property:
498 name: Value
499 type: int64_t
500 triggers:
501 - name: init
502 method: getProperties
503 handler: setProperty
504 - name: signal
505 signal: propertiesChanged
506 handler: setProperty
507 actions:
508 - name: set_floor_from_average_sensor_value
509 map:
510 value:
511 - 27000: 4600
512 - 32000: 5000
513 - 37000: 5400
514 - 40000: 5800
515 type: std::map<int64_t, uint64_t>
516 - name: set_ceiling_from_average_sensor_value
517 map:
518 value:
519 - 25000: 7200
520 - 27000: 10500
521 type: std::map<int64_t, uint64_t>
522 - name: use_events_on_state
523 property:
524 value: HEAVY_IO
525 type: std::string
526 events:
527 - name: heavy_io_fan_speed_boundaries
528 groups:
529 - name: zone0_ambient
530 interface: xyz.openbmc_project.Sensor.Value
531 property:
532 name: Value
533 type: int64_t
534 triggers:
535 - name: init
536 method: getProperties
537 handler: setProperty
538 - name: signal
539 signal: propertiesChanged
540 handler: setProperty
541 actions:
542 - name: set_floor_from_average_sensor_value
543 map:
544 value:
545 - 27000: 5900
546 - 32000: 6800
547 - 37000: 7500
548 - 40000: 8200
549 type: std::map<int64_t, uint64_t>
550 - name: set_ceiling_from_average_sensor_value
551 map:
552 value:
553 - 25000: 7200
554 - 27000: 10500
555 type: std::map<int64_t, uint64_t>
556 - name: use_events_on_state
557 property:
558 value: MAX_BASE_FAN_FLOOR
559 type: std::string
560 events:
561 - name: max_base_fan_floor_fan_speed_boundaries
562 groups:
563 - name: zone0_ambient
564 interface: xyz.openbmc_project.Sensor.Value
565 property:
566 name: Value
567 type: int64_t
568 triggers:
569 - name: init
570 method: getProperties
571 handler: setProperty
572 - name: signal
573 signal: propertiesChanged
574 handler: setProperty
575 actions:
576 - name: set_floor_from_average_sensor_value
577 map:
578 value:
579 - 27000: 7200
580 - 32000: 8800
581 - 37000: 9600
582 - 40000: 10500
583 type: std::map<int64_t, uint64_t>
584 - name: set_ceiling_from_average_sensor_value
585 map:
586 value:
587 - 25000: 7200
588 - 27000: 10500
589 type: std::map<int64_t, uint64_t>
Matthew Barthdadf39c2019-09-20 09:49:29 -0500590 - name: full_speed_at_power_on
591 precondition:
592 name: property_states_match
593 groups:
594 - name: poweron_pgood
595 interface: org.openbmc.control.Power
596 property:
597 name: pgood
598 type: int32_t
599 value: 1
600 triggers:
601 - name: init
602 method: getProperties
603 handler: setProperty
604 - name: signal
605 signal: propertiesChanged
606 handler: setProperty
607 events:
608 - name: missing_or_fails_before_high_speed_air
609 groups:
610 - name: air_cooled_zone0_fans
611 zone_conditions:
612 - name: air_cooled_chassis
613 zones:
614 - 0
615 interface: xyz.openbmc_project.Inventory.Item
616 property:
617 name: Present
618 type: bool
619 - name: air_cooled_zone0_fans
620 zone_conditions:
621 - name: air_cooled_chassis
622 zones:
623 - 0
624 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
625 property:
626 name: Functional
627 type: bool
628 triggers:
629 - name: init
630 method: getProperties
631 handler: setProperty
632 - name: signal
633 signal: propertiesChanged
634 handler: setProperty
635 actions:
636 - name: count_state_before_speed
637 count: 1
638 property:
639 value: false
640 type: bool
641 speed:
642 value: 10500
643 type: uint64_t
644 - name: missing_or_fails_before_high_speed_water_and_air
645 groups:
646 - name: water_and_air_cooled_zone0_fans
647 zone_conditions:
648 - name: water_and_air_cooled_chassis
649 zones:
650 - 0
651 interface: xyz.openbmc_project.Inventory.Item
652 property:
653 name: Present
654 type: bool
655 - name: water_and_air_cooled_zone0_fans
656 zone_conditions:
657 - name: water_and_air_cooled_chassis
658 zones:
659 - 0
660 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
661 property:
662 name: Functional
663 type: bool
664 triggers:
665 - name: init
666 method: getProperties
667 handler: setProperty
668 - name: signal
669 signal: propertiesChanged
670 handler: setProperty
671 actions:
672 - name: count_state_before_speed
673 count: 1
674 property:
675 value: false
676 type: bool
677 speed:
678 value: 10500
679 type: uint64_t
Matthew Barth2e104962017-09-14 12:32:49 -0500680 - name: occ_active_speed_changes
Matthew Barth362d8232017-08-18 10:39:03 -0500681 precondition:
682 name: property_states_match
683 groups:
684 - name: occ0_object
685 interface: org.open_power.OCC.Status
686 property:
687 name: OccActive
688 type: bool
689 value: true
690 - name: occ1_object
691 interface: org.open_power.OCC.Status
692 property:
693 name: OccActive
694 type: bool
695 value: true
Matthew Barth1a439412018-10-25 15:33:52 -0500696 triggers:
697 - name: init
698 method: getProperties
699 handler: setProperty
700 - name: signal
701 signal: interfacesAdded
702 handler: setProperty
703 - name: signal
704 signal: propertiesChanged
705 handler: setProperty
Matthew Barth2e104962017-09-14 12:32:49 -0500706 events:
Matthew Barth1a439412018-10-25 15:33:52 -0500707 - name: speed_control_sensors
708 groups:
709 - name: zone0_regulators
710 interface: xyz.openbmc_project.Sensor.Value
711 property:
712 name: Value
713 type: int64_t
714 - name: zone0_pcie
715 interface: xyz.openbmc_project.Sensor.Value
716 property:
717 name: Value
718 type: int64_t
719 - name: zone0_cores
720 zone_conditions:
721 - name: air_cooled_chassis
722 zones:
723 - 0
724 interface: xyz.openbmc_project.Sensor.Value
725 property:
726 name: Value
727 type: int64_t
728 - name: zone0_dimms
729 interface: xyz.openbmc_project.Sensor.Value
730 property:
731 name: Value
732 type: int64_t
733 - name: zone0_gpu_cores
734 zone_conditions:
735 - name: air_cooled_chassis
736 zones:
737 - 0
738 interface: xyz.openbmc_project.Sensor.Value
739 property:
740 name: Value
741 type: int64_t
742 - name: zone0_gpu_memory
743 zone_conditions:
744 - name: air_cooled_chassis
745 zones:
746 - 0
747 interface: xyz.openbmc_project.Sensor.Value
748 property:
749 name: Value
750 type: int64_t
751 triggers:
752 - name: init
753 method: getProperties
754 handler: setProperty
755 - name: signal
756 signal: interfacesAdded
757 handler: setProperty
758 - name: signal
759 signal: propertiesChanged
760 handler: setProperty
761 - name: signal
762 signal: interfacesRemoved
763 handler: removeInterface
764 - name: fails_before_high_speed_air
765 groups:
766 - name: zone0_cores
767 zone_conditions:
768 - name: air_cooled_chassis
769 zones:
770 - 0
771 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
772 property:
773 name: Functional
774 type: bool
775 - name: zone0_dimms
776 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
777 property:
778 name: Functional
779 type: bool
780 - name: zone0_gpu_cores
781 zone_conditions:
782 - name: air_cooled_chassis
783 zones:
784 - 0
785 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
786 property:
787 name: Functional
788 type: bool
789 - name: zone0_gpu_memory
790 zone_conditions:
791 - name: air_cooled_chassis
792 zones:
793 - 0
794 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
795 property:
796 name: Functional
797 type: bool
798 triggers:
799 - name: init
800 method: getProperties
801 handler: setProperty
802 - name: signal
803 signal: interfacesAdded
804 handler: setProperty
805 - name: signal
806 signal: propertiesChanged
807 handler: setProperty
808 actions:
809 - name: count_state_before_speed
810 count: 1
811 property:
812 value: false
813 type: bool
814 speed:
815 value: 10500
816 type: uint64_t
817 - name: 1sec_speed_change_request_sampling
818 triggers:
819 - name: timer
820 interval: 1000000
821 type: repeating
822 actions:
823 # Speed changes based on regulator temps
824 - name: set_net_increase_speed
825 groups:
826 - name: zone0_regulators
827 interface: xyz.openbmc_project.Sensor.Value
828 property:
829 name: Value
830 type: int64_t
831 property:
832 value: 85000
833 type: int64_t
834 factor:
835 value: 1000
836 type: int64_t
837 delta:
838 value: 400
839 type: uint64_t
840 - name: set_net_decrease_speed
841 groups:
842 - name: zone0_regulators
843 interface: xyz.openbmc_project.Sensor.Value
844 property:
845 name: Value
846 type: int64_t
847 property:
848 value: 82000
849 type: int64_t
850 factor:
851 value: 1000
852 type: int64_t
853 delta:
854 value: 40
855 type: uint64_t
856 # Speed changes based on pcie temps
857 - name: set_net_increase_speed
858 groups:
859 - name: zone0_pcie
860 interface: xyz.openbmc_project.Sensor.Value
861 property:
862 name: Value
863 type: int64_t
864 property:
865 value: 55000
866 type: int64_t
867 factor:
868 value: 1000
869 type: int64_t
870 delta:
871 value: 400
872 type: uint64_t
873 - name: set_net_decrease_speed
874 groups:
875 - name: zone0_pcie
876 interface: xyz.openbmc_project.Sensor.Value
877 property:
878 name: Value
879 type: int64_t
880 property:
881 value: 52000
882 type: int64_t
883 factor:
884 value: 1000
885 type: int64_t
886 delta:
887 value: 40
888 type: uint64_t
889 # Speed changes based on core temps
890 - name: set_net_increase_speed
891 groups:
892 - name: zone0_cores
893 zone_conditions:
894 - name: air_cooled_chassis
895 zones:
896 - 0
897 interface: xyz.openbmc_project.Sensor.Value
898 property:
899 name: Value
900 type: int64_t
901 property:
902 value: 73000
903 type: int64_t
904 factor:
905 value: 1000
906 type: int64_t
907 delta:
908 value: 400
909 type: uint64_t
910 - name: set_net_decrease_speed
911 groups:
912 - name: zone0_cores
913 zone_conditions:
914 - name: air_cooled_chassis
915 zones:
916 - 0
917 interface: xyz.openbmc_project.Sensor.Value
918 property:
919 name: Value
920 type: int64_t
921 property:
922 value: 70000
923 type: int64_t
924 factor:
925 value: 1000
926 type: int64_t
927 delta:
928 value: 40
929 type: uint64_t
930 # Speed changes based on dimm temps
931 - name: set_net_increase_speed
932 groups:
933 - name: zone0_dimms
934 interface: xyz.openbmc_project.Sensor.Value
935 property:
936 name: Value
937 type: int64_t
938 property:
939 value: 64000
940 type: int64_t
941 factor:
942 value: 1000
943 type: int64_t
944 delta:
945 value: 200
946 type: uint64_t
947 - name: set_net_decrease_speed
948 groups:
949 - name: zone0_dimms
950 interface: xyz.openbmc_project.Sensor.Value
951 property:
952 name: Value
953 type: int64_t
954 property:
955 value: 61000
956 type: int64_t
957 factor:
958 value: 1000
959 type: int64_t
960 delta:
961 value: 40
962 type: uint64_t
963 # Speed changes based on gpu core temps
964 - name: set_net_increase_speed
965 groups:
966 - name: zone0_gpu_cores
967 zone_conditions:
968 - name: air_cooled_chassis
969 zones:
970 - 0
971 interface: xyz.openbmc_project.Sensor.Value
972 property:
973 name: Value
974 type: int64_t
975 property:
976 value: 78000
977 type: int64_t
978 factor:
979 value: 1000
980 type: int64_t
981 delta:
982 value: 600
983 type: uint64_t
984 - name: set_net_decrease_speed
985 groups:
986 - name: zone0_gpu_cores
987 zone_conditions:
988 - name: air_cooled_chassis
989 zones:
990 - 0
991 interface: xyz.openbmc_project.Sensor.Value
992 property:
993 name: Value
994 type: int64_t
995 property:
996 value: 75000
997 type: int64_t
998 factor:
999 value: 1000
1000 type: int64_t
1001 delta:
1002 value: 40
1003 type: uint64_t
1004 # Speed changes based on gpu memory temps
1005 - name: set_net_increase_speed
1006 groups:
1007 - name: zone0_gpu_memory
1008 zone_conditions:
1009 - name: air_cooled_chassis
1010 zones:
1011 - 0
1012 interface: xyz.openbmc_project.Sensor.Value
1013 property:
1014 name: Value
1015 type: int64_t
1016 property:
1017 value: 80000
1018 type: int64_t
1019 factor:
1020 value: 1000
1021 type: int64_t
1022 delta:
1023 value: 600
1024 type: uint64_t
1025 - name: set_net_decrease_speed
1026 groups:
1027 - name: zone0_gpu_memory
1028 zone_conditions:
1029 - name: air_cooled_chassis
1030 zones:
1031 - 0
1032 interface: xyz.openbmc_project.Sensor.Value
1033 property:
1034 name: Value
1035 type: int64_t
1036 property:
1037 value: 77000
1038 type: int64_t
1039 factor:
1040 value: 1000
1041 type: int64_t
1042 delta:
1043 value: 40
1044 type: uint64_t