blob: 938bd1320c899ee851a2e01a8ecebd5f0a5cdb9b [file] [log] [blame]
Matthew Barthf0f213c2021-10-19 13:32:31 -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,
Matthew Barthc219ae02021-12-15 12:19:31 -060027 "target": 17250
Matthew Barthf0f213c2021-10-19 13:32:31 -050028 }
29 ]
Matthew Barth991020b2021-10-19 13:34:33 -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,
Matthew Barthc219ae02021-12-15 12:19:31 -060081 "target": 17250
Matthew Barth991020b2021-10-19 13:34:33 -050082 }
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" }
99 }
100 ],
101 "triggers": [
102 {
103 "class": "init",
104 "method": "name_has_owner"
105 },
106 {
107 "class": "signal",
108 "signal": "name_owner_changed"
109 }
110 ],
111 "actions": [
112 {
113 "name": "call_actions_based_on_timer",
114 "timer": {
115 "interval": 5000000,
116 "type": "oneshot"
117 },
118 "actions": [
119 {
120 "name": "set_target_on_missing_owner",
121 "groups": [
122 {
123 "name": "fan inventory",
124 "interface": "xyz.openbmc_project.Inventory.Item",
125 "property": { "name": "Present" }
126 },
127 {
128 "name": "occ objects",
129 "interface": "org.open_power.OCC.Status",
130 "property": { "name": "OccActive" }
131 }
132 ],
Matthew Barthc219ae02021-12-15 12:19:31 -0600133 "target": 17250
Matthew Barth09b09e52021-10-28 15:29:13 -0500134 }
135 ]
136 }
137 ]
Matt Spinler5934f092021-11-03 14:30:28 -0500138 },
139 {
140 // Set a fan floor if an OCC isn't active
141 "name": "Non-active OCCs",
142 "groups": [
143 {
144 "name": "occ objects",
145 "interface": "org.open_power.OCC.Status",
146 "property": {
147 "name": "OccActive"
148 }
149 }
150 ],
151 "triggers": [
152 {
153 "class": "signal",
154 "signal": "properties_changed"
155 },
156 {
157 "class": "signal",
158 "signal": "interfaces_added"
159 },
160 {
161 "class": "init",
162 "method": "get_properties"
163 }
164 ],
165 "actions": [
166 {
167 "name": "count_state_floor",
168 "count": 1,
169 "state": false,
Matthew Barthc219ae02021-12-15 12:19:31 -0600170 "floor": 17250
Matt Spinler5934f092021-11-03 14:30:28 -0500171 }
172 ]
Matt Spinler323694a2021-11-11 16:03:18 -0600173 },
174 {
Matthew Barth8d6cf062022-01-13 14:02:20 -0600175 // Set a raised fan floor when any temperature or altitude sensor is
176 // nonfunctional
Matthew Barth4172d8d2022-01-13 11:31:54 -0600177 "name": "Nonfunctional temperature sensors",
Matthew Barth39925fb2022-01-12 10:45:59 -0600178 "groups": [
179 {
180 "name": "proc0 core temps",
181 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
182 "property": { "name": "Functional" }
183 },
184 {
185 "name": "proc1 core temps",
186 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
187 "property": { "name": "Functional" }
188 },
189 {
190 "name": "proc2 core temps",
191 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
192 "property": { "name": "Functional" }
193 },
194 {
195 "name": "proc3 core temps",
196 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
197 "property": { "name": "Functional" }
198 },
199 {
200 "name": "proc0 ioring temp",
201 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
202 "property": { "name": "Functional" }
203 },
204 {
205 "name": "proc1 ioring temp",
206 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
207 "property": { "name": "Functional" }
208 },
209 {
210 "name": "proc2 ioring temp",
211 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
212 "property": { "name": "Functional" }
213 },
214 {
215 "name": "proc3 ioring temp",
216 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
217 "property": { "name": "Functional" }
218 },
219 {
220 "name": "dram temps",
221 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
222 "property": { "name": "Functional" }
223 },
224 {
225 "name": "pmic temps",
226 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
227 "property": { "name": "Functional" }
228 },
229 {
230 "name": "internal memory buffer temps",
231 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
232 "property": { "name": "Functional" }
233 },
234 {
235 "name": "dram and external memory buffer temps",
236 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
237 "property": { "name": "Functional" }
238 },
239 {
240 "name": "external memory buffer temps",
241 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
242 "property": { "name": "Functional" }
243 },
244 {
245 "name": "vdd vrm temps",
246 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
247 "property": { "name": "Functional" }
Matthew Barth4172d8d2022-01-13 11:31:54 -0600248 },
249 {
250 "name": "nvme temps",
251 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
252 "property": { "name": "Functional" }
253 },
254 {
255 "name": "planar temps",
256 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
257 "property": { "name": "Functional" }
258 },
259 {
260 "name": "flett temps",
261 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
262 "property": { "name": "Functional" }
263 },
264 {
265 "name": "bear river temps",
266 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
267 "property": { "name": "Functional" }
Matthew Barth8d6cf062022-01-13 14:02:20 -0600268 },
269 {
270 "name": "ambient temp",
271 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
272 "property": { "name": "Functional" }
273 },
274 {
275 "name": "altitude",
276 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
277 "property": { "name": "Functional" }
Matthew Barth39925fb2022-01-12 10:45:59 -0600278 }
279 ],
280 "triggers": [
281 {
282 "class": "signal",
283 "signal": "properties_changed"
284 },
285 {
286 "class": "signal",
287 "signal": "interfaces_added"
288 },
289 {
290 "class": "init",
291 "method": "get_properties"
292 }
293 ],
294 "actions": [
295 {
296 "name": "count_state_floor",
297 "count": 1,
298 "state": false,
299 "floor": 17250
300 }
301 ]
302 },
303 {
Matt Spinler323694a2021-11-11 16:03:18 -0600304 "name": "Set Proc 0 Core DVFS parameter",
305 "groups": [
306 {
307 "name": "proc 0 core dvfs temp",
308 "interface": "xyz.openbmc_project.Sensor.Value",
309 "property": { "name": "Value" }
310 }
311 ],
312 "triggers": [
313 {
314 "class": "init",
315 "method": "get_properties"
316 },
317 {
318 "class": "signal",
319 "signal": "interfaces_added"
320 },
321 {
322 "class": "signal",
323 "signal": "properties_changed"
324 }
325 ],
326 "actions": [
327 {
328 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600329 "parameter_name": "proc_0_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600330 "modifier": {
331 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600332 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600333 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600334 },
335 {
336 "name": "set_parameter_from_group_max",
337 "parameter_name": "proc_0_core_dvfs_decrease_temp",
338 "modifier": {
339 "operator": "minus",
340 "value": 13
341 }
Matt Spinler323694a2021-11-11 16:03:18 -0600342 }
343 ]
344 },
345 {
346 "name": "Set Proc 1 Core DVFS parameter",
347 "groups": [
348 {
349 "name": "proc 1 core dvfs temp",
350 "interface": "xyz.openbmc_project.Sensor.Value",
351 "property": { "name": "Value" }
352 }
353 ],
354 "triggers": [
355 {
356 "class": "init",
357 "method": "get_properties"
358 },
359 {
360 "class": "signal",
361 "signal": "interfaces_added"
362 },
363 {
364 "class": "signal",
365 "signal": "properties_changed"
366 }
367 ],
368 "actions": [
369 {
370 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600371 "parameter_name": "proc_1_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600372 "modifier": {
373 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600374 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600375 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600376 },
377 {
378 "name": "set_parameter_from_group_max",
379 "parameter_name": "proc_1_core_dvfs_decrease_temp",
380 "modifier": {
381 "operator": "minus",
382 "value": 13
383 }
Matt Spinler323694a2021-11-11 16:03:18 -0600384 }
385 ]
386 },
387 {
388 "name": "Set Proc 2 Core DVFS parameter",
389 "groups": [
390 {
391 "name": "proc 2 core dvfs temp",
392 "interface": "xyz.openbmc_project.Sensor.Value",
393 "property": { "name": "Value" }
394 }
395 ],
396 "triggers": [
397 {
398 "class": "init",
399 "method": "get_properties"
400 },
401 {
402 "class": "signal",
403 "signal": "interfaces_added"
404 },
405 {
406 "class": "signal",
407 "signal": "properties_changed"
408 }
409 ],
410 "actions": [
411 {
412 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600413 "parameter_name": "proc_2_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600414 "modifier": {
415 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600416 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600417 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600418 },
419 {
420 "name": "set_parameter_from_group_max",
421 "parameter_name": "proc_2_core_dvfs_decrease_temp",
422 "modifier": {
423 "operator": "minus",
424 "value": 13
425 }
Matt Spinler323694a2021-11-11 16:03:18 -0600426 }
427 ]
428 },
429 {
430 "name": "Set Proc 3 Core DVFS parameter",
431 "groups": [
432 {
433 "name": "proc 3 core dvfs temp",
434 "interface": "xyz.openbmc_project.Sensor.Value",
435 "property": { "name": "Value" }
436 }
437 ],
438 "triggers": [
439 {
440 "class": "init",
441 "method": "get_properties"
442 },
443 {
444 "class": "signal",
445 "signal": "interfaces_added"
446 },
447 {
448 "class": "signal",
449 "signal": "properties_changed"
450 }
451 ],
452 "actions": [
453 {
454 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600455 "parameter_name": "proc_3_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600456 "modifier": {
457 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600458 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600459 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600460 },
461 {
462 "name": "set_parameter_from_group_max",
463 "parameter_name": "proc_3_core_dvfs_decrease_temp",
464 "modifier": {
465 "operator": "minus",
466 "value": 13
467 }
Matt Spinler323694a2021-11-11 16:03:18 -0600468 }
469 ]
470 },
471 {
472 "name": "Set Proc 0 IO Ring DVFS parameter",
473 "groups": [
474 {
475 "name": "proc 0 ioring dvfs temp",
476 "interface": "xyz.openbmc_project.Sensor.Value",
477 "property": { "name": "Value" }
478 }
479 ],
480 "triggers": [
481 {
482 "class": "init",
483 "method": "get_properties"
484 },
485 {
486 "class": "signal",
487 "signal": "interfaces_added"
488 },
489 {
490 "class": "signal",
491 "signal": "properties_changed"
492 }
493 ],
494 "actions": [
495 {
496 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600497 "parameter_name": "proc_0_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600498 "modifier": {
499 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600500 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600501 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600502 },
503 {
504 "name": "set_parameter_from_group_max",
505 "parameter_name": "proc_0_ioring_dvfs_decrease_temp",
506 "modifier": {
507 "operator": "minus",
508 "value": 13
509 }
Matt Spinler323694a2021-11-11 16:03:18 -0600510 }
511 ]
512 },
513 {
514 "name": "Set Proc 1 IO Ring DVFS parameter",
515 "groups": [
516 {
517 "name": "proc 1 ioring dvfs temp",
518 "interface": "xyz.openbmc_project.Sensor.Value",
519 "property": { "name": "Value" }
520 }
521 ],
522 "triggers": [
523 {
524 "class": "init",
525 "method": "get_properties"
526 },
527 {
528 "class": "signal",
529 "signal": "interfaces_added"
530 },
531 {
532 "class": "signal",
533 "signal": "properties_changed"
534 }
535 ],
536 "actions": [
537 {
538 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600539 "parameter_name": "proc_1_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600540 "modifier": {
541 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600542 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600543 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600544 },
545 {
546 "name": "set_parameter_from_group_max",
547 "parameter_name": "proc_1_ioring_dvfs_decrease_temp",
548 "modifier": {
549 "operator": "minus",
550 "value": 13
551 }
Matt Spinler323694a2021-11-11 16:03:18 -0600552 }
553 ]
554 },
555 {
556 "name": "Set Proc 2 IO Ring DVFS parameter",
557 "groups": [
558 {
559 "name": "proc 2 ioring dvfs temp",
560 "interface": "xyz.openbmc_project.Sensor.Value",
561 "property": { "name": "Value" }
562 }
563 ],
564 "triggers": [
565 {
566 "class": "init",
567 "method": "get_properties"
568 },
569 {
570 "class": "signal",
571 "signal": "interfaces_added"
572 },
573 {
574 "class": "signal",
575 "signal": "properties_changed"
576 }
577 ],
578 "actions": [
579 {
580 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600581 "parameter_name": "proc_2_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600582 "modifier": {
583 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600584 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600585 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600586 },
587 {
588 "name": "set_parameter_from_group_max",
589 "parameter_name": "proc_2_ioring_dvfs_decrease_temp",
590 "modifier": {
591 "operator": "minus",
592 "value": 13
593 }
Matt Spinler323694a2021-11-11 16:03:18 -0600594 }
595 ]
596 },
597 {
598 "name": "Set Proc 3 IO Ring DVFS parameter",
599 "groups": [
600 {
601 "name": "proc 3 ioring dvfs temp",
602 "interface": "xyz.openbmc_project.Sensor.Value",
603 "property": { "name": "Value" }
604 }
605 ],
606 "triggers": [
607 {
608 "class": "init",
609 "method": "get_properties"
610 },
611 {
612 "class": "signal",
613 "signal": "properties_changed"
614 },
615 {
616 "class": "signal",
617 "signal": "interfaces_added"
618 }
619 ],
620 "actions": [
621 {
622 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600623 "parameter_name": "proc_3_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600624 "modifier": {
625 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600626 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600627 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600628 },
629 {
630 "name": "set_parameter_from_group_max",
631 "parameter_name": "proc_3_ioring_dvfs_decrease_temp",
632 "modifier": {
633 "operator": "minus",
634 "value": 13
635 }
Matt Spinler323694a2021-11-11 16:03:18 -0600636 }
637 ]
Matthew Barthb6f10352021-12-02 17:42:49 -0600638 },
639 {
640 // Collect group temperatures each iteration the repeating timer expires
641 "name": "Fan control timer loop",
642 "groups": [
643 {
644 "name": "proc0 core temps",
645 "interface": "xyz.openbmc_project.Sensor.Value",
646 "property": { "name": "Value" }
647 },
648 {
649 "name": "proc1 core temps",
650 "interface": "xyz.openbmc_project.Sensor.Value",
651 "property": { "name": "Value" }
652 },
653 {
654 "name": "proc2 core temps",
655 "interface": "xyz.openbmc_project.Sensor.Value",
656 "property": { "name": "Value" }
657 },
658 {
659 "name": "proc3 core temps",
660 "interface": "xyz.openbmc_project.Sensor.Value",
661 "property": { "name": "Value" }
662 },
663 {
664 "name": "proc0 ioring temp",
665 "interface": "xyz.openbmc_project.Sensor.Value",
666 "property": { "name": "Value" }
667 },
668 {
669 "name": "proc1 ioring temp",
670 "interface": "xyz.openbmc_project.Sensor.Value",
671 "property": { "name": "Value" }
672 },
673 {
674 "name": "proc2 ioring temp",
675 "interface": "xyz.openbmc_project.Sensor.Value",
676 "property": { "name": "Value" }
677 },
678 {
679 "name": "proc3 ioring temp",
680 "interface": "xyz.openbmc_project.Sensor.Value",
681 "property": { "name": "Value" }
682 },
683 {
684 "name": "dram temps",
685 "interface": "xyz.openbmc_project.Sensor.Value",
686 "property": { "name": "Value" }
687 },
688 {
689 "name": "pmic temps",
690 "interface": "xyz.openbmc_project.Sensor.Value",
691 "property": { "name": "Value" }
692 },
693 {
694 "name": "internal memory buffer temps",
695 "interface": "xyz.openbmc_project.Sensor.Value",
696 "property": { "name": "Value" }
697 },
698 {
699 "name": "dram and external memory buffer temps",
700 "interface": "xyz.openbmc_project.Sensor.Value",
701 "property": { "name": "Value" }
702 },
703 {
704 "name": "external memory buffer temps",
705 "interface": "xyz.openbmc_project.Sensor.Value",
706 "property": { "name": "Value" }
707 },
708 {
709 "name": "vdd vrm temps",
710 "interface": "xyz.openbmc_project.Sensor.Value",
711 "property": { "name": "Value" }
Matthew Barth23a7b2b2022-01-11 15:22:55 -0600712 },
713 {
714 "name": "nvme temps",
715 "interface": "xyz.openbmc_project.Sensor.Value",
716 "property": { "name": "Value" }
717 },
718 {
719 "name": "planar temps",
720 "interface": "xyz.openbmc_project.Sensor.Value",
721 "property": { "name": "Value" }
Matt Spinler9b7fc002022-01-11 15:35:29 -0600722 },
723 {
724 "name": "flett temps",
725 "interface": "xyz.openbmc_project.Sensor.Value",
726 "property": { "name": "Value" }
727 },
728 {
729 "name": "bear river temps",
730 "interface": "xyz.openbmc_project.Sensor.Value",
731 "property": { "name": "Value" }
Matthew Barthb6f10352021-12-02 17:42:49 -0600732 }
733 ],
734 "triggers": [
735 {
736 "class": "timer",
737 "type": "repeating",
738 "interval": 2000000,
739 "preload_groups": true
740 }
Matthew Barth6f63b2f2021-12-06 21:08:13 -0600741 ],
742 "actions": [
743 {
744 "name": "set_net_increase_target",
745 "groups": [
746 {
747 "name": "proc0 core temps",
748 "interface": "xyz.openbmc_project.Sensor.Value",
749 "property": { "name": "Value" }
750 }
751 ],
752 "state_parameter_name": "proc_0_core_dvfs_increase_temp",
753 "delta": 300
754 },
755 {
756 "name": "set_net_increase_target",
757 "groups": [
758 {
759 "name": "proc1 core temps",
760 "interface": "xyz.openbmc_project.Sensor.Value",
761 "property": { "name": "Value" }
762 }
763 ],
764 "state_parameter_name": "proc_1_core_dvfs_increase_temp",
765 "delta": 300
766 },
767 {
768 "name": "set_net_increase_target",
769 "groups": [
770 {
771 "name": "proc2 core temps",
772 "interface": "xyz.openbmc_project.Sensor.Value",
773 "property": { "name": "Value" }
774 }
775 ],
776 "state_parameter_name": "proc_2_core_dvfs_increase_temp",
777 "delta": 300
778 },
779 {
780 "name": "set_net_increase_target",
781 "groups": [
782 {
783 "name": "proc3 core temps",
784 "interface": "xyz.openbmc_project.Sensor.Value",
785 "property": { "name": "Value" }
786 }
787 ],
788 "state_parameter_name": "proc_3_core_dvfs_increase_temp",
789 "delta": 300
790 },
791 {
792 "name": "set_net_increase_target",
793 "groups": [
794 {
795 "name": "proc0 ioring temp",
796 "interface": "xyz.openbmc_project.Sensor.Value",
797 "property": { "name": "Value" }
798 }
799 ],
800 "state_parameter_name": "proc_0_ioring_dvfs_increase_temp",
801 "delta": 300
802 },
803 {
804 "name": "set_net_increase_target",
805 "groups": [
806 {
807 "name": "proc1 ioring temp",
808 "interface": "xyz.openbmc_project.Sensor.Value",
809 "property": { "name": "Value" }
810 }
811 ],
812 "state_parameter_name": "proc_1_ioring_dvfs_increase_temp",
813 "delta": 300
814 },
815 {
816 "name": "set_net_increase_target",
817 "groups": [
818 {
819 "name": "proc2 ioring temp",
820 "interface": "xyz.openbmc_project.Sensor.Value",
821 "property": { "name": "Value" }
822 }
823 ],
824 "state_parameter_name": "proc_2_ioring_dvfs_increase_temp",
825 "delta": 300
826 },
827 {
828 "name": "set_net_increase_target",
829 "groups": [
830 {
831 "name": "proc3 ioring temp",
832 "interface": "xyz.openbmc_project.Sensor.Value",
833 "property": { "name": "Value" }
834 }
835 ],
836 "state_parameter_name": "proc_3_ioring_dvfs_increase_temp",
837 "delta": 300
838 },
839 {
840 "name": "set_net_increase_target",
841 "groups": [
842 {
843 "name": "dram temps",
844 "interface": "xyz.openbmc_project.Sensor.Value",
845 "property": { "name": "Value" }
846 }
847 ],
848 "state": 66.0,
849 "delta": 200
850 },
851 {
852 "name": "set_net_increase_target",
853 "groups": [
854 {
855 "name": "pmic temps",
856 "interface": "xyz.openbmc_project.Sensor.Value",
857 "property": { "name": "Value" }
858 }
859 ],
860 "state": 62.0,
861 "delta": 200
862 },
863 {
864 "name": "set_net_increase_target",
865 "groups": [
866 {
867 "name": "internal memory buffer temps",
868 "interface": "xyz.openbmc_project.Sensor.Value",
869 "property": { "name": "Value" }
870 }
871 ],
872 "state": 72.0,
873 "delta": 200
874 },
875 {
876 "name": "set_net_increase_target",
877 "groups": [
878 {
879 "name": "dram and external memory buffer temps",
880 "interface": "xyz.openbmc_project.Sensor.Value",
881 "property": { "name": "Value" }
882 }
883 ],
884 "state": 55.0,
885 "delta": 200
886 },
887 {
888 "name": "set_net_increase_target",
889 "groups": [
890 {
891 "name": "external memory buffer temps",
892 "interface": "xyz.openbmc_project.Sensor.Value",
893 "property": { "name": "Value" }
894 }
895 ],
896 "state": 55.0,
897 "delta": 200
898 },
899 {
900 "name": "set_net_increase_target",
901 "groups": [
902 {
903 "name": "vdd vrm temps",
904 "interface": "xyz.openbmc_project.Sensor.Value",
905 "property": { "name": "Value" }
906 }
907 ],
908 "state": 82.0,
909 "delta": 300
Matthew Barthb253cbd2021-12-06 21:47:50 -0600910 },
911 {
Matthew Barthb28663e2021-12-08 21:52:00 -0600912 "name": "set_net_increase_target",
913 "groups": [
914 {
915 "name": "nvme temps",
916 "interface": "xyz.openbmc_project.Sensor.Value",
917 "property": { "name": "Value" }
918 }
919 ],
920 "state": 58.0,
921 "delta": 200
922 },
923 {
Matthew Barth075fcd82021-12-13 20:56:49 -0600924 "name": "set_net_increase_target",
925 "groups": [
926 {
927 "name": "planar temps",
928 "interface": "xyz.openbmc_project.Sensor.Value",
929 "property": { "name": "Value" }
930 }
931 ],
932 "state": 65.0,
933 "delta": 255
934 },
935 {
Matt Spinler1006fe32022-01-10 14:06:22 -0600936 "name": "set_net_increase_target",
937 "groups": [
938 {
939 "name": "flett temps",
940 "interface": "xyz.openbmc_project.Sensor.Value",
941 "property": { "name": "Value" }
942 }
943 ],
944 "state": 70.0,
945 "delta": 255
946 },
947 {
948 "name": "set_net_increase_target",
949 "groups": [
950 {
951 "name": "bear river temps",
952 "interface": "xyz.openbmc_project.Sensor.Value",
953 "property": { "name": "Value" }
954 }
955 ],
956 "state": 70.0,
957 "delta": 255
958 },
959 {
Matthew Barthb253cbd2021-12-06 21:47:50 -0600960 "name": "set_net_decrease_target",
961 "groups": [
962 {
963 "name": "proc0 core temps",
964 "interface": "xyz.openbmc_project.Sensor.Value",
965 "property": { "name": "Value" }
966 }
967 ],
968 "state_parameter_name": "proc_0_core_dvfs_decrease_temp",
969 "delta": 30
970 },
971 {
972 "name": "set_net_decrease_target",
973 "groups": [
974 {
975 "name": "proc1 core temps",
976 "interface": "xyz.openbmc_project.Sensor.Value",
977 "property": { "name": "Value" }
978 }
979 ],
980 "state_parameter_name": "proc_1_core_dvfs_decrease_temp",
981 "delta": 30
982 },
983 {
984 "name": "set_net_decrease_target",
985 "groups": [
986 {
987 "name": "proc2 core temps",
988 "interface": "xyz.openbmc_project.Sensor.Value",
989 "property": { "name": "Value" }
990 }
991 ],
992 "state_parameter_name": "proc_2_core_dvfs_decrease_temp",
993 "delta": 30
994 },
995 {
996 "name": "set_net_decrease_target",
997 "groups": [
998 {
999 "name": "proc3 core temps",
1000 "interface": "xyz.openbmc_project.Sensor.Value",
1001 "property": { "name": "Value" }
1002 }
1003 ],
1004 "state_parameter_name": "proc_3_core_dvfs_decrease_temp",
1005 "delta": 30
1006 },
1007 {
1008 "name": "set_net_decrease_target",
1009 "groups": [
1010 {
1011 "name": "proc0 ioring temp",
1012 "interface": "xyz.openbmc_project.Sensor.Value",
1013 "property": { "name": "Value" }
1014 }
1015 ],
1016 "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp",
1017 "delta": 30
1018 },
1019 {
1020 "name": "set_net_decrease_target",
1021 "groups": [
1022 {
1023 "name": "proc1 ioring temp",
1024 "interface": "xyz.openbmc_project.Sensor.Value",
1025 "property": { "name": "Value" }
1026 }
1027 ],
1028 "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp",
1029 "delta": 30
1030 },
1031 {
1032 "name": "set_net_decrease_target",
1033 "groups": [
1034 {
1035 "name": "proc2 ioring temp",
1036 "interface": "xyz.openbmc_project.Sensor.Value",
1037 "property": { "name": "Value" }
1038 }
1039 ],
1040 "state_parameter_name": "proc_2_ioring_dvfs_decrease_temp",
1041 "delta": 30
1042 },
1043 {
1044 "name": "set_net_decrease_target",
1045 "groups": [
1046 {
1047 "name": "proc3 ioring temp",
1048 "interface": "xyz.openbmc_project.Sensor.Value",
1049 "property": { "name": "Value" }
1050 }
1051 ],
1052 "state_parameter_name": "proc_3_ioring_dvfs_decrease_temp",
1053 "delta": 30
1054 },
1055 {
1056 "name": "set_net_decrease_target",
1057 "groups": [
1058 {
1059 "name": "dram temps",
1060 "interface": "xyz.openbmc_project.Sensor.Value",
1061 "property": { "name": "Value" }
1062 }
1063 ],
1064 "state": 63.0,
1065 "delta": 40
1066 },
1067 {
1068 "name": "set_net_decrease_target",
1069 "groups": [
1070 {
1071 "name": "pmic temps",
1072 "interface": "xyz.openbmc_project.Sensor.Value",
1073 "property": { "name": "Value" }
1074 }
1075 ],
1076 "state": 59.0,
1077 "delta": 40
1078 },
1079 {
1080 "name": "set_net_decrease_target",
1081 "groups": [
1082 {
1083 "name": "internal memory buffer temps",
1084 "interface": "xyz.openbmc_project.Sensor.Value",
1085 "property": { "name": "Value" }
1086 }
1087 ],
1088 "state": 69.0,
1089 "delta": 40
1090 },
1091 {
1092 "name": "set_net_decrease_target",
1093 "groups": [
1094 {
1095 "name": "dram and external memory buffer temps",
1096 "interface": "xyz.openbmc_project.Sensor.Value",
1097 "property": { "name": "Value" }
1098 }
1099 ],
1100 "state": 52.0,
1101 "delta": 40
1102 },
1103 {
1104 "name": "set_net_decrease_target",
1105 "groups": [
1106 {
1107 "name": "external memory buffer temps",
1108 "interface": "xyz.openbmc_project.Sensor.Value",
1109 "property": { "name": "Value" }
1110 }
1111 ],
1112 "state": 52.0,
1113 "delta": 40
1114 },
1115 {
1116 "name": "set_net_decrease_target",
1117 "groups": [
1118 {
1119 "name": "vdd vrm temps",
1120 "interface": "xyz.openbmc_project.Sensor.Value",
1121 "property": { "name": "Value" }
1122 }
1123 ],
1124 "state": 79.0,
1125 "delta": 30
Matthew Barth85080982021-12-08 22:27:29 -06001126 },
1127 {
1128 "name": "set_net_decrease_target",
1129 "groups": [
1130 {
1131 "name": "nvme temps",
1132 "interface": "xyz.openbmc_project.Sensor.Value",
1133 "property": { "name": "Value" }
1134 }
1135 ],
1136 "state": 55.0,
1137 "delta": 40
Matthew Barth075fcd82021-12-13 20:56:49 -06001138 },
1139 {
1140 "name": "set_net_decrease_target",
1141 "groups": [
1142 {
1143 "name": "planar temps",
1144 "interface": "xyz.openbmc_project.Sensor.Value",
1145 "property": { "name": "Value" }
1146 }
1147 ],
1148 "state": 60.0,
1149 "delta": 80
Matt Spinler1006fe32022-01-10 14:06:22 -06001150 },
1151 {
1152 "name": "set_net_decrease_target",
1153 "groups": [
1154 {
1155 "name": "flett temps",
1156 "interface": "xyz.openbmc_project.Sensor.Value",
1157 "property": { "name": "Value" }
1158 }
1159 ],
1160 "state": 65.0,
1161 "delta": 80
1162 },
1163 {
1164 "name": "set_net_decrease_target",
1165 "groups": [
1166 {
1167 "name": "bear river temps",
1168 "interface": "xyz.openbmc_project.Sensor.Value",
1169 "property": { "name": "Value" }
1170 }
1171 ],
1172 "state": 65.0,
1173 "delta": 80
Matthew Barth6f63b2f2021-12-06 21:08:13 -06001174 }
Matthew Barthb6f10352021-12-02 17:42:49 -06001175 ]
Matthew Barthcf34be22021-12-08 22:53:48 -06001176 },
1177 {
1178 // Remove NVMe temperature objects from cache when they are removed from
1179 // dbus. There's no need to react to their removal.
1180 "name": "remove nvme objects",
1181 "groups": [
1182 {
1183 "name": "nvme temps",
1184 "interface": "xyz.openbmc_project.Sensor.Value",
1185 "property": { "name": "Value" }
1186 }
1187 ],
1188 "triggers": [
1189 {
1190 "class": "signal",
1191 "signal": "interfaces_removed"
1192 }
1193 ]
Matt Spinler323694a2021-11-11 16:03:18 -06001194 }
Matthew Barthf0f213c2021-10-19 13:32:31 -05001195]