blob: 7c0b5e0ccafa9e78788f8b9dfd3ba9f5e82a01bc [file] [log] [blame]
Matthew Barth23dcffd2021-10-19 13:36:51 -05001[
2 {
3 // Hold fans at the given target when a number of fans are missing.
4 "name": "fan(s) missing",
5 "groups": [
6 {
7 "name": "fan inventory",
8 "interface": "xyz.openbmc_project.Inventory.Item",
9 "property": { "name": "Present" }
10 }
11 ],
12 "triggers": [
13 {
14 "class": "init",
15 "method": "get_properties"
16 },
17 {
18 "class": "signal",
19 "signal": "properties_changed"
20 }
21 ],
22 "actions": [
23 {
24 "name": "count_state_before_target",
25 "count": 1,
26 "state": false,
27 "target": 10000
28 }
29 ]
Matthew Barth322dbc52021-10-19 13:39:04 -050030 },
31 {
32 // Hold fans at the given target when a number of rotors are nonfunctional.
33 "name": "fan rotor(s) faulted",
34 "groups": [
35 {
36 "name": "fan0 rotor inventory",
37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
38 "property": { "name": "Functional" }
39 },
40 {
41 "name": "fan1 rotor inventory",
42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
43 "property": { "name": "Functional" }
44 },
45 {
46 "name": "fan2 rotor inventory",
47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
48 "property": { "name": "Functional" }
49 },
50 {
51 "name": "fan3 rotor inventory",
52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
53 "property": { "name": "Functional" }
54 },
55 {
56 "name": "fan4 rotor inventory",
57 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
58 "property": { "name": "Functional" }
59 },
60 {
61 "name": "fan5 rotor inventory",
62 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
63 "property": { "name": "Functional" }
64 }
65 ],
66 "triggers": [
67 {
68 "class": "init",
69 "method": "get_properties"
70 },
71 {
72 "class": "signal",
73 "signal": "properties_changed"
74 }
75 ],
76 "actions": [
77 {
78 "name": "count_state_before_target",
79 "count": 1,
80 "state": false,
81 "target": 10000
82 }
83 ]
Matthew Barth09b09e52021-10-28 15:29:13 -050084 },
85 {
86 // Hold fans at the given target when any critical service
87 // is not running for 5 seconds.
88 "name": "service(s) missing",
89 "groups": [
90 {
Matthew Barthf3a6d452021-11-23 14:41:43 -060091 "name": "fan inventory",
92 "interface": "xyz.openbmc_project.Inventory.Item",
93 "property": { "name": "Present" }
94 },
95 {
Matthew Barth09b09e52021-10-28 15:29:13 -050096 "name": "occ objects",
97 "interface": "org.open_power.OCC.Status",
98 "property": { "name": "OccActive" }
Matthew Barth86a484f2022-01-14 13:06:50 -060099 },
100 {
101 "name": "nvme temps",
102 "interface": "xyz.openbmc_project.Sensor.Value",
103 "property": { "name": "Value" }
104 },
105 {
106 "name": "planar temps",
107 "interface": "xyz.openbmc_project.Sensor.Value",
108 "property": { "name": "Value" }
109 },
110 {
111 "name": "flett temps",
112 "interface": "xyz.openbmc_project.Sensor.Value",
113 "property": { "name": "Value" }
114 },
115 {
116 "name": "bear lake temps",
117 "interface": "xyz.openbmc_project.Sensor.Value",
118 "property": { "name": "Value" }
119 },
120 {
121 "name": "ambient temp",
122 "interface": "xyz.openbmc_project.Sensor.Value",
123 "property": { "name": "Value" }
Matthew Barth09b09e52021-10-28 15:29:13 -0500124 }
125 ],
126 "triggers": [
127 {
128 "class": "init",
129 "method": "name_has_owner"
130 },
131 {
132 "class": "signal",
133 "signal": "name_owner_changed"
134 }
135 ],
136 "actions": [
137 {
138 "name": "call_actions_based_on_timer",
139 "timer": {
140 "interval": 5000000,
141 "type": "oneshot"
142 },
143 "actions": [
144 {
145 "name": "set_target_on_missing_owner",
146 "groups": [
147 {
148 "name": "fan inventory",
149 "interface": "xyz.openbmc_project.Inventory.Item",
150 "property": { "name": "Present" }
151 },
152 {
153 "name": "occ objects",
154 "interface": "org.open_power.OCC.Status",
155 "property": { "name": "OccActive" }
Matthew Barth86a484f2022-01-14 13:06:50 -0600156 },
157 {
158 "name": "nvme temps",
159 "interface": "xyz.openbmc_project.Sensor.Value",
160 "property": { "name": "Value" }
161 },
162 {
163 "name": "planar temps",
164 "interface": "xyz.openbmc_project.Sensor.Value",
165 "property": { "name": "Value" }
166 },
167 {
168 "name": "flett temps",
169 "interface": "xyz.openbmc_project.Sensor.Value",
170 "property": { "name": "Value" }
171 },
172 {
173 "name": "bear lake temps",
174 "interface": "xyz.openbmc_project.Sensor.Value",
175 "property": { "name": "Value" }
176 },
177 {
178 "name": "ambient temp",
179 "interface": "xyz.openbmc_project.Sensor.Value",
180 "property": { "name": "Value" }
Matthew Barth09b09e52021-10-28 15:29:13 -0500181 }
182 ],
183 "target": 10000
184 }
185 ]
186 }
187 ]
Matt Spinler5934f092021-11-03 14:30:28 -0500188 },
189 {
190 // Set a fan floor if an OCC isn't active
191 "name": "Non-active OCCs",
192 "groups": [
193 {
194 "name": "occ objects",
195 "interface": "org.open_power.OCC.Status",
196 "property": {
197 "name": "OccActive"
198 }
199 }
200 ],
201 "triggers": [
202 {
203 "class": "signal",
204 "signal": "properties_changed"
205 },
206 {
207 "class": "signal",
208 "signal": "interfaces_added"
209 },
210 {
211 "class": "init",
212 "method": "get_properties"
213 }
214 ],
215 "actions": [
216 {
217 "name": "count_state_floor",
218 "count": 1,
219 "state": false,
220 "floor": 10000
221 }
222 ]
Matt Spinler323694a2021-11-11 16:03:18 -0600223 },
224 {
Matthew Barth4172d8d2022-01-13 11:31:54 -0600225 // Set a raised fan floor when any temperature sensor is nonfunctional
226 "name": "Nonfunctional temperature sensors",
Matthew Barth39925fb2022-01-12 10:45:59 -0600227 "groups": [
228 {
229 "name": "proc0 core temps",
230 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
231 "property": { "name": "Functional" }
232 },
233 {
234 "name": "proc1 core temps",
235 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
236 "property": { "name": "Functional" }
237 },
238 {
239 "name": "proc2 core temps",
240 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
241 "property": { "name": "Functional" }
242 },
243 {
244 "name": "proc3 core temps",
245 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
246 "property": { "name": "Functional" }
247 },
248 {
249 "name": "proc0 ioring temp",
250 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
251 "property": { "name": "Functional" }
252 },
253 {
254 "name": "proc1 ioring temp",
255 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
256 "property": { "name": "Functional" }
257 },
258 {
259 "name": "proc2 ioring temp",
260 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
261 "property": { "name": "Functional" }
262 },
263 {
264 "name": "proc3 ioring temp",
265 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
266 "property": { "name": "Functional" }
267 },
268 {
269 "name": "dram temps",
270 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
271 "property": { "name": "Functional" }
272 },
273 {
274 "name": "pmic temps",
275 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
276 "property": { "name": "Functional" }
277 },
278 {
279 "name": "internal memory buffer temps",
280 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
281 "property": { "name": "Functional" }
282 },
283 {
284 "name": "dram and external memory buffer temps",
285 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
286 "property": { "name": "Functional" }
287 },
288 {
289 "name": "external memory buffer temps",
290 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
291 "property": { "name": "Functional" }
292 },
293 {
294 "name": "vdd vrm temps",
295 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
296 "property": { "name": "Functional" }
Matthew Barth4172d8d2022-01-13 11:31:54 -0600297 },
298 {
299 "name": "nvme temps",
300 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
301 "property": { "name": "Functional" }
302 },
303 {
304 "name": "planar temps",
305 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
306 "property": { "name": "Functional" }
307 },
308 {
309 "name": "flett temps",
310 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
311 "property": { "name": "Functional" }
312 },
313 {
314 "name": "bear lake temps",
315 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
316 "property": { "name": "Functional" }
Matthew Barth8d6cf062022-01-13 14:02:20 -0600317 },
318 {
319 "name": "ambient temp",
320 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
321 "property": { "name": "Functional" }
Matthew Barth39925fb2022-01-12 10:45:59 -0600322 }
323 ],
324 "triggers": [
325 {
326 "class": "signal",
327 "signal": "properties_changed"
328 },
329 {
330 "class": "signal",
331 "signal": "interfaces_added"
332 },
333 {
334 "class": "init",
335 "method": "get_properties"
336 }
337 ],
338 "actions": [
339 {
340 "name": "count_state_floor",
341 "count": 1,
342 "state": false,
343 "floor": 10000
344 }
345 ]
346 },
347 {
Matt Spinler323694a2021-11-11 16:03:18 -0600348 "name": "Set Proc 0 Core DVFS parameter",
349 "groups": [
350 {
351 "name": "proc 0 core dvfs temp",
352 "interface": "xyz.openbmc_project.Sensor.Value",
353 "property": { "name": "Value" }
354 }
355 ],
356 "triggers": [
357 {
358 "class": "init",
359 "method": "get_properties"
360 },
361 {
362 "class": "signal",
363 "signal": "interfaces_added"
364 },
365 {
366 "class": "signal",
367 "signal": "properties_changed"
368 }
369 ],
370 "actions": [
371 {
372 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600373 "parameter_name": "proc_0_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600374 "modifier": {
375 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600376 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600377 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600378 },
379 {
380 "name": "set_parameter_from_group_max",
381 "parameter_name": "proc_0_core_dvfs_decrease_temp",
382 "modifier": {
383 "operator": "minus",
384 "value": 13
385 }
Matt Spinler323694a2021-11-11 16:03:18 -0600386 }
387 ]
388 },
389 {
390 "name": "Set Proc 1 Core DVFS parameter",
391 "groups": [
392 {
393 "name": "proc 1 core dvfs temp",
394 "interface": "xyz.openbmc_project.Sensor.Value",
395 "property": { "name": "Value" }
396 }
397 ],
398 "triggers": [
399 {
400 "class": "init",
401 "method": "get_properties"
402 },
403 {
404 "class": "signal",
405 "signal": "interfaces_added"
406 },
407 {
408 "class": "signal",
409 "signal": "properties_changed"
410 }
411 ],
412 "actions": [
413 {
414 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600415 "parameter_name": "proc_1_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600416 "modifier": {
417 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600418 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600419 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600420 },
421 {
422 "name": "set_parameter_from_group_max",
423 "parameter_name": "proc_1_core_dvfs_decrease_temp",
424 "modifier": {
425 "operator": "minus",
426 "value": 13
427 }
Matt Spinler323694a2021-11-11 16:03:18 -0600428 }
429 ]
430 },
431 {
432 "name": "Set Proc 2 Core DVFS parameter",
433 "groups": [
434 {
435 "name": "proc 2 core dvfs temp",
436 "interface": "xyz.openbmc_project.Sensor.Value",
437 "property": { "name": "Value" }
438 }
439 ],
440 "triggers": [
441 {
442 "class": "init",
443 "method": "get_properties"
444 },
445 {
446 "class": "signal",
447 "signal": "interfaces_added"
448 },
449 {
450 "class": "signal",
451 "signal": "properties_changed"
452 }
453 ],
454 "actions": [
455 {
456 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600457 "parameter_name": "proc_2_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600458 "modifier": {
459 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600460 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600461 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600462 },
463 {
464 "name": "set_parameter_from_group_max",
465 "parameter_name": "proc_2_core_dvfs_decrease_temp",
466 "modifier": {
467 "operator": "minus",
468 "value": 13
469 }
Matt Spinler323694a2021-11-11 16:03:18 -0600470 }
471 ]
472 },
473 {
474 "name": "Set Proc 3 Core DVFS parameter",
475 "groups": [
476 {
477 "name": "proc 3 core dvfs temp",
478 "interface": "xyz.openbmc_project.Sensor.Value",
479 "property": { "name": "Value" }
480 }
481 ],
482 "triggers": [
483 {
484 "class": "init",
485 "method": "get_properties"
486 },
487 {
488 "class": "signal",
489 "signal": "interfaces_added"
490 },
491 {
492 "class": "signal",
493 "signal": "properties_changed"
494 }
495 ],
496 "actions": [
497 {
498 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600499 "parameter_name": "proc_3_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600500 "modifier": {
501 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600502 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600503 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600504 },
505 {
506 "name": "set_parameter_from_group_max",
507 "parameter_name": "proc_3_core_dvfs_decrease_temp",
508 "modifier": {
509 "operator": "minus",
510 "value": 13
511 }
Matt Spinler323694a2021-11-11 16:03:18 -0600512 }
513 ]
514 },
515 {
516 "name": "Set Proc 0 IO Ring DVFS parameter",
517 "groups": [
518 {
519 "name": "proc 0 ioring dvfs temp",
520 "interface": "xyz.openbmc_project.Sensor.Value",
521 "property": { "name": "Value" }
522 }
523 ],
524 "triggers": [
525 {
526 "class": "init",
527 "method": "get_properties"
528 },
529 {
530 "class": "signal",
531 "signal": "interfaces_added"
532 },
533 {
534 "class": "signal",
535 "signal": "properties_changed"
536 }
537 ],
538 "actions": [
539 {
540 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600541 "parameter_name": "proc_0_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600542 "modifier": {
543 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600544 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600545 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600546 },
547 {
548 "name": "set_parameter_from_group_max",
549 "parameter_name": "proc_0_ioring_dvfs_decrease_temp",
550 "modifier": {
551 "operator": "minus",
552 "value": 13
553 }
Matt Spinler323694a2021-11-11 16:03:18 -0600554 }
555 ]
556 },
557
558 {
559 "name": "Set Proc 1 IO Ring DVFS parameter",
560 "groups": [
561 {
562 "name": "proc 1 ioring dvfs temp",
563 "interface": "xyz.openbmc_project.Sensor.Value",
564 "property": { "name": "Value" }
565 }
566 ],
567 "triggers": [
568 {
569 "class": "init",
570 "method": "get_properties"
571 },
572 {
573 "class": "signal",
574 "signal": "interfaces_added"
575 },
576 {
577 "class": "signal",
578 "signal": "properties_changed"
579 }
580 ],
581 "actions": [
582 {
583 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600584 "parameter_name": "proc_1_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600585 "modifier": {
586 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600587 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600588 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600589 },
590 {
591 "name": "set_parameter_from_group_max",
592 "parameter_name": "proc_1_ioring_dvfs_decrease_temp",
593 "modifier": {
594 "operator": "minus",
595 "value": 13
596 }
Matt Spinler323694a2021-11-11 16:03:18 -0600597 }
598 ]
599 },
600 {
601 "name": "Set Proc 2 IO Ring DVFS parameter",
602 "groups": [
603 {
604 "name": "proc 2 ioring dvfs temp",
605 "interface": "xyz.openbmc_project.Sensor.Value",
606 "property": { "name": "Value" }
607 }
608 ],
609 "triggers": [
610 {
611 "class": "init",
612 "method": "get_properties"
613 },
614 {
615 "class": "signal",
616 "signal": "interfaces_added"
617 },
618 {
619 "class": "signal",
620 "signal": "properties_changed"
621 }
622 ],
623 "actions": [
624 {
625 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600626 "parameter_name": "proc_2_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600627 "modifier": {
628 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600629 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600630 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600631 },
632 {
633 "name": "set_parameter_from_group_max",
634 "parameter_name": "proc_2_ioring_dvfs_decrease_temp",
635 "modifier": {
636 "operator": "minus",
637 "value": 13
638 }
Matt Spinler323694a2021-11-11 16:03:18 -0600639 }
640 ]
641 },
642 {
643 "name": "Set Proc 3 IO Ring DVFS parameter",
644 "groups": [
645 {
646 "name": "proc 3 ioring dvfs temp",
647 "interface": "xyz.openbmc_project.Sensor.Value",
648 "property": { "name": "Value" }
649 }
650 ],
651 "triggers": [
652 {
653 "class": "init",
654 "method": "get_properties"
655 },
656 {
657 "class": "signal",
658 "signal": "interfaces_added"
659 },
660 {
661 "class": "signal",
662 "signal": "properties_changed"
663 }
664 ],
665 "actions": [
666 {
667 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600668 "parameter_name": "proc_3_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600669 "modifier": {
670 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600671 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600672 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600673 },
674 {
675 "name": "set_parameter_from_group_max",
676 "parameter_name": "proc_3_ioring_dvfs_decrease_temp",
677 "modifier": {
678 "operator": "minus",
679 "value": 13
680 }
Matt Spinler323694a2021-11-11 16:03:18 -0600681 }
682 ]
Matthew Barthb6f10352021-12-02 17:42:49 -0600683 },
684 {
685 // Collect group temperatures each iteration the repeating timer expires
686 "name": "Fan control timer loop",
687 "groups": [
688 {
689 "name": "proc0 core temps",
690 "interface": "xyz.openbmc_project.Sensor.Value",
691 "property": { "name": "Value" }
692 },
693 {
694 "name": "proc1 core temps",
695 "interface": "xyz.openbmc_project.Sensor.Value",
696 "property": { "name": "Value" }
697 },
698 {
699 "name": "proc2 core temps",
700 "interface": "xyz.openbmc_project.Sensor.Value",
701 "property": { "name": "Value" }
702 },
703 {
704 "name": "proc3 core temps",
705 "interface": "xyz.openbmc_project.Sensor.Value",
706 "property": { "name": "Value" }
707 },
708 {
709 "name": "proc0 ioring temp",
710 "interface": "xyz.openbmc_project.Sensor.Value",
711 "property": { "name": "Value" }
712 },
713 {
714 "name": "proc1 ioring temp",
715 "interface": "xyz.openbmc_project.Sensor.Value",
716 "property": { "name": "Value" }
717 },
718 {
719 "name": "proc2 ioring temp",
720 "interface": "xyz.openbmc_project.Sensor.Value",
721 "property": { "name": "Value" }
722 },
723 {
724 "name": "proc3 ioring temp",
725 "interface": "xyz.openbmc_project.Sensor.Value",
726 "property": { "name": "Value" }
727 },
728 {
729 "name": "dram temps",
730 "interface": "xyz.openbmc_project.Sensor.Value",
731 "property": { "name": "Value" }
732 },
733 {
734 "name": "pmic temps",
735 "interface": "xyz.openbmc_project.Sensor.Value",
736 "property": { "name": "Value" }
737 },
738 {
739 "name": "internal memory buffer temps",
740 "interface": "xyz.openbmc_project.Sensor.Value",
741 "property": { "name": "Value" }
742 },
743 {
744 "name": "dram and external memory buffer temps",
745 "interface": "xyz.openbmc_project.Sensor.Value",
746 "property": { "name": "Value" }
747 },
748 {
749 "name": "external memory buffer temps",
750 "interface": "xyz.openbmc_project.Sensor.Value",
751 "property": { "name": "Value" }
752 },
753 {
754 "name": "vdd vrm temps",
755 "interface": "xyz.openbmc_project.Sensor.Value",
756 "property": { "name": "Value" }
Matthew Barth23a7b2b2022-01-11 15:22:55 -0600757 },
758 {
759 "name": "nvme temps",
760 "interface": "xyz.openbmc_project.Sensor.Value",
761 "property": { "name": "Value" }
762 },
763 {
764 "name": "planar temps",
765 "interface": "xyz.openbmc_project.Sensor.Value",
766 "property": { "name": "Value" }
Matt Spinler9b7fc002022-01-11 15:35:29 -0600767 },
768 {
769 "name": "flett temps",
770 "interface": "xyz.openbmc_project.Sensor.Value",
771 "property": { "name": "Value" }
772 },
773 {
774 "name": "bear lake temps",
775 "interface": "xyz.openbmc_project.Sensor.Value",
776 "property": { "name": "Value" }
Matthew Barthb6f10352021-12-02 17:42:49 -0600777 }
778 ],
779 "triggers": [
780 {
781 "class": "timer",
782 "type": "repeating",
783 "interval": 2000000,
784 "preload_groups": true
785 }
Matthew Bartha45b1612021-12-06 22:16:33 -0600786 ],
787 "actions": [
788 {
789 "name": "set_net_increase_target",
790 "groups": [
791 {
792 "name": "proc0 core temps",
793 "interface": "xyz.openbmc_project.Sensor.Value",
794 "property": { "name": "Value" }
795 }
796 ],
797 "state_parameter_name": "proc_0_core_dvfs_increase_temp",
798 "delta": 300
799 },
800 {
801 "name": "set_net_increase_target",
802 "groups": [
803 {
804 "name": "proc1 core temps",
805 "interface": "xyz.openbmc_project.Sensor.Value",
806 "property": { "name": "Value" }
807 }
808 ],
809 "state_parameter_name": "proc_1_core_dvfs_increase_temp",
810 "delta": 300
811 },
812 {
813 "name": "set_net_increase_target",
814 "groups": [
815 {
816 "name": "proc2 core temps",
817 "interface": "xyz.openbmc_project.Sensor.Value",
818 "property": { "name": "Value" }
819 }
820 ],
821 "state_parameter_name": "proc_2_core_dvfs_increase_temp",
822 "delta": 300
823 },
824 {
825 "name": "set_net_increase_target",
826 "groups": [
827 {
828 "name": "proc3 core temps",
829 "interface": "xyz.openbmc_project.Sensor.Value",
830 "property": { "name": "Value" }
831 }
832 ],
833 "state_parameter_name": "proc_3_core_dvfs_increase_temp",
834 "delta": 300
835 },
836 {
837 "name": "set_net_increase_target",
838 "groups": [
839 {
840 "name": "proc0 ioring temp",
841 "interface": "xyz.openbmc_project.Sensor.Value",
842 "property": { "name": "Value" }
843 }
844 ],
845 "state_parameter_name": "proc_0_ioring_dvfs_increase_temp",
846 "delta": 300
847 },
848 {
849 "name": "set_net_increase_target",
850 "groups": [
851 {
852 "name": "proc1 ioring temp",
853 "interface": "xyz.openbmc_project.Sensor.Value",
854 "property": { "name": "Value" }
855 }
856 ],
857 "state_parameter_name": "proc_1_ioring_dvfs_increase_temp",
858 "delta": 300
859 },
860 {
861 "name": "set_net_increase_target",
862 "groups": [
863 {
864 "name": "proc2 ioring temp",
865 "interface": "xyz.openbmc_project.Sensor.Value",
866 "property": { "name": "Value" }
867 }
868 ],
869 "state_parameter_name": "proc_2_ioring_dvfs_increase_temp",
870 "delta": 300
871 },
872 {
873 "name": "set_net_increase_target",
874 "groups": [
875 {
876 "name": "proc3 ioring temp",
877 "interface": "xyz.openbmc_project.Sensor.Value",
878 "property": { "name": "Value" }
879 }
880 ],
881 "state_parameter_name": "proc_3_ioring_dvfs_increase_temp",
882 "delta": 300
883 },
884 {
885 "name": "set_net_increase_target",
886 "groups": [
887 {
888 "name": "dram temps",
889 "interface": "xyz.openbmc_project.Sensor.Value",
890 "property": { "name": "Value" }
891 }
892 ],
893 "state": 66.0,
894 "delta": 200
895 },
896 {
897 "name": "set_net_increase_target",
898 "groups": [
899 {
900 "name": "pmic temps",
901 "interface": "xyz.openbmc_project.Sensor.Value",
902 "property": { "name": "Value" }
903 }
904 ],
905 "state": 52.0,
906 "delta": 200
907 },
908 {
909 "name": "set_net_increase_target",
910 "groups": [
911 {
912 "name": "internal memory buffer temps",
913 "interface": "xyz.openbmc_project.Sensor.Value",
914 "property": { "name": "Value" }
915 }
916 ],
917 "state": 72.0,
918 "delta": 200
919 },
920 {
921 "name": "set_net_increase_target",
922 "groups": [
923 {
924 "name": "dram and external memory buffer temps",
925 "interface": "xyz.openbmc_project.Sensor.Value",
926 "property": { "name": "Value" }
927 }
928 ],
929 "state": 55.0,
930 "delta": 200
931 },
932 {
933 "name": "set_net_increase_target",
934 "groups": [
935 {
936 "name": "external memory buffer temps",
937 "interface": "xyz.openbmc_project.Sensor.Value",
938 "property": { "name": "Value" }
939 }
940 ],
941 "state": 55.0,
942 "delta": 200
943 },
944 {
945 "name": "set_net_increase_target",
946 "groups": [
947 {
948 "name": "vdd vrm temps",
949 "interface": "xyz.openbmc_project.Sensor.Value",
950 "property": { "name": "Value" }
951 }
952 ],
953 "state": 82.0,
954 "delta": 300
Matthew Barth34a1fd92021-12-06 22:23:35 -0600955 },
956 {
Matthew Barth47ede252021-12-08 22:03:09 -0600957 "name": "set_net_increase_target",
958 "groups": [
959 {
960 "name": "nvme temps",
961 "interface": "xyz.openbmc_project.Sensor.Value",
962 "property": { "name": "Value" }
963 }
964 ],
965 "state": 58.0,
966 "delta": 200
967 },
968 {
Matthew Barth075fcd82021-12-13 20:56:49 -0600969 "name": "set_net_increase_target",
970 "groups": [
971 {
972 "name": "planar temps",
973 "interface": "xyz.openbmc_project.Sensor.Value",
974 "property": { "name": "Value" }
975 }
976 ],
977 "state": 65.0,
978 "delta": 255
979 },
980 {
Matt Spinler1006fe32022-01-10 14:06:22 -0600981 "name": "set_net_increase_target",
982 "groups": [
983 {
984 "name": "flett temps",
985 "interface": "xyz.openbmc_project.Sensor.Value",
986 "property": { "name": "Value" }
987 }
988 ],
989 "state": 70.0,
990 "delta": 255
991 },
992 {
993 "name": "set_net_increase_target",
994 "groups": [
995 {
996 "name": "bear lake temps",
997 "interface": "xyz.openbmc_project.Sensor.Value",
998 "property": { "name": "Value" }
999 }
1000 ],
1001 "state": 70.0,
1002 "delta": 255
1003 },
1004 {
Matthew Barth34a1fd92021-12-06 22:23:35 -06001005 "name": "set_net_decrease_target",
1006 "groups": [
1007 {
1008 "name": "proc0 core temps",
1009 "interface": "xyz.openbmc_project.Sensor.Value",
1010 "property": { "name": "Value" }
1011 }
1012 ],
1013 "state_parameter_name": "proc_0_core_dvfs_decrease_temp",
1014 "delta": 30
1015 },
1016 {
1017 "name": "set_net_decrease_target",
1018 "groups": [
1019 {
1020 "name": "proc1 core temps",
1021 "interface": "xyz.openbmc_project.Sensor.Value",
1022 "property": { "name": "Value" }
1023 }
1024 ],
1025 "state_parameter_name": "proc_1_core_dvfs_decrease_temp",
1026 "delta": 30
1027 },
1028 {
1029 "name": "set_net_decrease_target",
1030 "groups": [
1031 {
1032 "name": "proc2 core temps",
1033 "interface": "xyz.openbmc_project.Sensor.Value",
1034 "property": { "name": "Value" }
1035 }
1036 ],
1037 "state_parameter_name": "proc_2_core_dvfs_decrease_temp",
1038 "delta": 30
1039 },
1040 {
1041 "name": "set_net_decrease_target",
1042 "groups": [
1043 {
1044 "name": "proc3 core temps",
1045 "interface": "xyz.openbmc_project.Sensor.Value",
1046 "property": { "name": "Value" }
1047 }
1048 ],
1049 "state_parameter_name": "proc_3_core_dvfs_decrease_temp",
1050 "delta": 30
1051 },
1052 {
1053 "name": "set_net_decrease_target",
1054 "groups": [
1055 {
1056 "name": "proc0 ioring temp",
1057 "interface": "xyz.openbmc_project.Sensor.Value",
1058 "property": { "name": "Value" }
1059 }
1060 ],
1061 "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp",
1062 "delta": 30
1063 },
1064 {
1065 "name": "set_net_decrease_target",
1066 "groups": [
1067 {
1068 "name": "proc1 ioring temp",
1069 "interface": "xyz.openbmc_project.Sensor.Value",
1070 "property": { "name": "Value" }
1071 }
1072 ],
1073 "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp",
1074 "delta": 30
1075 },
1076 {
1077 "name": "set_net_decrease_target",
1078 "groups": [
1079 {
1080 "name": "proc2 ioring temp",
1081 "interface": "xyz.openbmc_project.Sensor.Value",
1082 "property": { "name": "Value" }
1083 }
1084 ],
1085 "state_parameter_name": "proc_2_ioring_dvfs_decrease_temp",
1086 "delta": 30
1087 },
1088 {
1089 "name": "set_net_decrease_target",
1090 "groups": [
1091 {
1092 "name": "proc3 ioring temp",
1093 "interface": "xyz.openbmc_project.Sensor.Value",
1094 "property": { "name": "Value" }
1095 }
1096 ],
1097 "state_parameter_name": "proc_3_ioring_dvfs_decrease_temp",
1098 "delta": 30
1099 },
1100 {
1101 "name": "set_net_decrease_target",
1102 "groups": [
1103 {
1104 "name": "dram temps",
1105 "interface": "xyz.openbmc_project.Sensor.Value",
1106 "property": { "name": "Value" }
1107 }
1108 ],
1109 "state": 63.0,
1110 "delta": 40
1111 },
1112 {
1113 "name": "set_net_decrease_target",
1114 "groups": [
1115 {
1116 "name": "pmic temps",
1117 "interface": "xyz.openbmc_project.Sensor.Value",
1118 "property": { "name": "Value" }
1119 }
1120 ],
1121 "state": 49.0,
1122 "delta": 40
1123 },
1124 {
1125 "name": "set_net_decrease_target",
1126 "groups": [
1127 {
1128 "name": "internal memory buffer temps",
1129 "interface": "xyz.openbmc_project.Sensor.Value",
1130 "property": { "name": "Value" }
1131 }
1132 ],
1133 "state": 69.0,
1134 "delta": 40
1135 },
1136 {
1137 "name": "set_net_decrease_target",
1138 "groups": [
1139 {
1140 "name": "dram and external memory buffer temps",
1141 "interface": "xyz.openbmc_project.Sensor.Value",
1142 "property": { "name": "Value" }
1143 }
1144 ],
1145 "state": 52.0,
1146 "delta": 40
1147 },
1148 {
1149 "name": "set_net_decrease_target",
1150 "groups": [
1151 {
1152 "name": "external memory buffer temps",
1153 "interface": "xyz.openbmc_project.Sensor.Value",
1154 "property": { "name": "Value" }
1155 }
1156 ],
1157 "state": 52.0,
1158 "delta": 40
1159 },
1160 {
1161 "name": "set_net_decrease_target",
1162 "groups": [
1163 {
1164 "name": "vdd vrm temps",
1165 "interface": "xyz.openbmc_project.Sensor.Value",
1166 "property": { "name": "Value" }
1167 }
1168 ],
1169 "state": 79.0,
1170 "delta": 30
Matthew Barth9f70c062021-12-08 22:28:11 -06001171 },
1172 {
1173 "name": "set_net_decrease_target",
1174 "groups": [
1175 {
1176 "name": "nvme temps",
1177 "interface": "xyz.openbmc_project.Sensor.Value",
1178 "property": { "name": "Value" }
1179 }
1180 ],
1181 "state": 55.0,
1182 "delta": 40
Matthew Barth075fcd82021-12-13 20:56:49 -06001183 },
1184 {
1185 "name": "set_net_decrease_target",
1186 "groups": [
1187 {
1188 "name": "planar temps",
1189 "interface": "xyz.openbmc_project.Sensor.Value",
1190 "property": { "name": "Value" }
1191 }
1192 ],
1193 "state": 60.0,
1194 "delta": 80
Matt Spinler1006fe32022-01-10 14:06:22 -06001195 },
1196 {
1197 "name": "set_net_decrease_target",
1198 "groups": [
1199 {
1200 "name": "flett temps",
1201 "interface": "xyz.openbmc_project.Sensor.Value",
1202 "property": { "name": "Value" }
1203 }
1204 ],
1205 "state": 65.0,
1206 "delta": 80
1207 },
1208 {
1209 "name": "set_net_decrease_target",
1210 "groups": [
1211 {
1212 "name": "bear lake temps",
1213 "interface": "xyz.openbmc_project.Sensor.Value",
1214 "property": { "name": "Value" }
1215 }
1216 ],
1217 "state": 65.0,
1218 "delta": 80
Matthew Bartha45b1612021-12-06 22:16:33 -06001219 }
Matthew Barthb6f10352021-12-02 17:42:49 -06001220 ]
Matthew Barthcf34be22021-12-08 22:53:48 -06001221 },
1222 {
1223 // Remove NVMe temperature objects from cache when they are removed from
1224 // dbus. There's no need to react to their removal.
1225 "name": "remove nvme objects",
1226 "groups": [
1227 {
1228 "name": "nvme temps",
1229 "interface": "xyz.openbmc_project.Sensor.Value",
1230 "property": { "name": "Value" }
1231 }
1232 ],
1233 "triggers": [
1234 {
1235 "class": "signal",
1236 "signal": "interfaces_removed"
1237 }
1238 ]
Matt Spinler323694a2021-11-11 16:03:18 -06001239 }
Matthew Barth23dcffd2021-10-19 13:36:51 -05001240]