blob: f3fe512ecae8dd154393d148a1afb59987b25525 [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 Barth39925fb2022-01-12 10:45:59 -0600175 // Set a raised fan floor when any OCC sensor is nonfunctional
176 "name": "Nonfunctional OCC sensors",
177 "groups": [
178 {
179 "name": "proc0 core temps",
180 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
181 "property": { "name": "Functional" }
182 },
183 {
184 "name": "proc1 core temps",
185 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
186 "property": { "name": "Functional" }
187 },
188 {
189 "name": "proc2 core temps",
190 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
191 "property": { "name": "Functional" }
192 },
193 {
194 "name": "proc3 core temps",
195 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
196 "property": { "name": "Functional" }
197 },
198 {
199 "name": "proc0 ioring temp",
200 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
201 "property": { "name": "Functional" }
202 },
203 {
204 "name": "proc1 ioring temp",
205 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
206 "property": { "name": "Functional" }
207 },
208 {
209 "name": "proc2 ioring temp",
210 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
211 "property": { "name": "Functional" }
212 },
213 {
214 "name": "proc3 ioring temp",
215 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
216 "property": { "name": "Functional" }
217 },
218 {
219 "name": "dram temps",
220 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
221 "property": { "name": "Functional" }
222 },
223 {
224 "name": "pmic temps",
225 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
226 "property": { "name": "Functional" }
227 },
228 {
229 "name": "internal memory buffer temps",
230 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
231 "property": { "name": "Functional" }
232 },
233 {
234 "name": "dram and external memory buffer temps",
235 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
236 "property": { "name": "Functional" }
237 },
238 {
239 "name": "external memory buffer temps",
240 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
241 "property": { "name": "Functional" }
242 },
243 {
244 "name": "vdd vrm temps",
245 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
246 "property": { "name": "Functional" }
247 }
248 ],
249 "triggers": [
250 {
251 "class": "signal",
252 "signal": "properties_changed"
253 },
254 {
255 "class": "signal",
256 "signal": "interfaces_added"
257 },
258 {
259 "class": "init",
260 "method": "get_properties"
261 }
262 ],
263 "actions": [
264 {
265 "name": "count_state_floor",
266 "count": 1,
267 "state": false,
268 "floor": 17250
269 }
270 ]
271 },
272 {
Matt Spinler323694a2021-11-11 16:03:18 -0600273 "name": "Set Proc 0 Core DVFS parameter",
274 "groups": [
275 {
276 "name": "proc 0 core dvfs temp",
277 "interface": "xyz.openbmc_project.Sensor.Value",
278 "property": { "name": "Value" }
279 }
280 ],
281 "triggers": [
282 {
283 "class": "init",
284 "method": "get_properties"
285 },
286 {
287 "class": "signal",
288 "signal": "interfaces_added"
289 },
290 {
291 "class": "signal",
292 "signal": "properties_changed"
293 }
294 ],
295 "actions": [
296 {
297 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600298 "parameter_name": "proc_0_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600299 "modifier": {
300 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600301 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600302 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600303 },
304 {
305 "name": "set_parameter_from_group_max",
306 "parameter_name": "proc_0_core_dvfs_decrease_temp",
307 "modifier": {
308 "operator": "minus",
309 "value": 13
310 }
Matt Spinler323694a2021-11-11 16:03:18 -0600311 }
312 ]
313 },
314 {
315 "name": "Set Proc 1 Core DVFS parameter",
316 "groups": [
317 {
318 "name": "proc 1 core dvfs temp",
319 "interface": "xyz.openbmc_project.Sensor.Value",
320 "property": { "name": "Value" }
321 }
322 ],
323 "triggers": [
324 {
325 "class": "init",
326 "method": "get_properties"
327 },
328 {
329 "class": "signal",
330 "signal": "interfaces_added"
331 },
332 {
333 "class": "signal",
334 "signal": "properties_changed"
335 }
336 ],
337 "actions": [
338 {
339 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600340 "parameter_name": "proc_1_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600341 "modifier": {
342 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600343 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600344 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600345 },
346 {
347 "name": "set_parameter_from_group_max",
348 "parameter_name": "proc_1_core_dvfs_decrease_temp",
349 "modifier": {
350 "operator": "minus",
351 "value": 13
352 }
Matt Spinler323694a2021-11-11 16:03:18 -0600353 }
354 ]
355 },
356 {
357 "name": "Set Proc 2 Core DVFS parameter",
358 "groups": [
359 {
360 "name": "proc 2 core dvfs temp",
361 "interface": "xyz.openbmc_project.Sensor.Value",
362 "property": { "name": "Value" }
363 }
364 ],
365 "triggers": [
366 {
367 "class": "init",
368 "method": "get_properties"
369 },
370 {
371 "class": "signal",
372 "signal": "interfaces_added"
373 },
374 {
375 "class": "signal",
376 "signal": "properties_changed"
377 }
378 ],
379 "actions": [
380 {
381 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600382 "parameter_name": "proc_2_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600383 "modifier": {
384 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600385 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600386 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600387 },
388 {
389 "name": "set_parameter_from_group_max",
390 "parameter_name": "proc_2_core_dvfs_decrease_temp",
391 "modifier": {
392 "operator": "minus",
393 "value": 13
394 }
Matt Spinler323694a2021-11-11 16:03:18 -0600395 }
396 ]
397 },
398 {
399 "name": "Set Proc 3 Core DVFS parameter",
400 "groups": [
401 {
402 "name": "proc 3 core dvfs temp",
403 "interface": "xyz.openbmc_project.Sensor.Value",
404 "property": { "name": "Value" }
405 }
406 ],
407 "triggers": [
408 {
409 "class": "init",
410 "method": "get_properties"
411 },
412 {
413 "class": "signal",
414 "signal": "interfaces_added"
415 },
416 {
417 "class": "signal",
418 "signal": "properties_changed"
419 }
420 ],
421 "actions": [
422 {
423 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600424 "parameter_name": "proc_3_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600425 "modifier": {
426 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600427 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600428 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600429 },
430 {
431 "name": "set_parameter_from_group_max",
432 "parameter_name": "proc_3_core_dvfs_decrease_temp",
433 "modifier": {
434 "operator": "minus",
435 "value": 13
436 }
Matt Spinler323694a2021-11-11 16:03:18 -0600437 }
438 ]
439 },
440 {
441 "name": "Set Proc 0 IO Ring DVFS parameter",
442 "groups": [
443 {
444 "name": "proc 0 ioring dvfs temp",
445 "interface": "xyz.openbmc_project.Sensor.Value",
446 "property": { "name": "Value" }
447 }
448 ],
449 "triggers": [
450 {
451 "class": "init",
452 "method": "get_properties"
453 },
454 {
455 "class": "signal",
456 "signal": "interfaces_added"
457 },
458 {
459 "class": "signal",
460 "signal": "properties_changed"
461 }
462 ],
463 "actions": [
464 {
465 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600466 "parameter_name": "proc_0_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600467 "modifier": {
468 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600469 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600470 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600471 },
472 {
473 "name": "set_parameter_from_group_max",
474 "parameter_name": "proc_0_ioring_dvfs_decrease_temp",
475 "modifier": {
476 "operator": "minus",
477 "value": 13
478 }
Matt Spinler323694a2021-11-11 16:03:18 -0600479 }
480 ]
481 },
482 {
483 "name": "Set Proc 1 IO Ring DVFS parameter",
484 "groups": [
485 {
486 "name": "proc 1 ioring dvfs temp",
487 "interface": "xyz.openbmc_project.Sensor.Value",
488 "property": { "name": "Value" }
489 }
490 ],
491 "triggers": [
492 {
493 "class": "init",
494 "method": "get_properties"
495 },
496 {
497 "class": "signal",
498 "signal": "interfaces_added"
499 },
500 {
501 "class": "signal",
502 "signal": "properties_changed"
503 }
504 ],
505 "actions": [
506 {
507 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600508 "parameter_name": "proc_1_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600509 "modifier": {
510 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600511 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600512 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600513 },
514 {
515 "name": "set_parameter_from_group_max",
516 "parameter_name": "proc_1_ioring_dvfs_decrease_temp",
517 "modifier": {
518 "operator": "minus",
519 "value": 13
520 }
Matt Spinler323694a2021-11-11 16:03:18 -0600521 }
522 ]
523 },
524 {
525 "name": "Set Proc 2 IO Ring DVFS parameter",
526 "groups": [
527 {
528 "name": "proc 2 ioring dvfs temp",
529 "interface": "xyz.openbmc_project.Sensor.Value",
530 "property": { "name": "Value" }
531 }
532 ],
533 "triggers": [
534 {
535 "class": "init",
536 "method": "get_properties"
537 },
538 {
539 "class": "signal",
540 "signal": "interfaces_added"
541 },
542 {
543 "class": "signal",
544 "signal": "properties_changed"
545 }
546 ],
547 "actions": [
548 {
549 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600550 "parameter_name": "proc_2_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600551 "modifier": {
552 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600553 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600554 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600555 },
556 {
557 "name": "set_parameter_from_group_max",
558 "parameter_name": "proc_2_ioring_dvfs_decrease_temp",
559 "modifier": {
560 "operator": "minus",
561 "value": 13
562 }
Matt Spinler323694a2021-11-11 16:03:18 -0600563 }
564 ]
565 },
566 {
567 "name": "Set Proc 3 IO Ring DVFS parameter",
568 "groups": [
569 {
570 "name": "proc 3 ioring dvfs temp",
571 "interface": "xyz.openbmc_project.Sensor.Value",
572 "property": { "name": "Value" }
573 }
574 ],
575 "triggers": [
576 {
577 "class": "init",
578 "method": "get_properties"
579 },
580 {
581 "class": "signal",
582 "signal": "properties_changed"
583 },
584 {
585 "class": "signal",
586 "signal": "interfaces_added"
587 }
588 ],
589 "actions": [
590 {
591 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600592 "parameter_name": "proc_3_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600593 "modifier": {
594 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600595 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600596 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600597 },
598 {
599 "name": "set_parameter_from_group_max",
600 "parameter_name": "proc_3_ioring_dvfs_decrease_temp",
601 "modifier": {
602 "operator": "minus",
603 "value": 13
604 }
Matt Spinler323694a2021-11-11 16:03:18 -0600605 }
606 ]
Matthew Barthb6f10352021-12-02 17:42:49 -0600607 },
608 {
609 // Collect group temperatures each iteration the repeating timer expires
610 "name": "Fan control timer loop",
611 "groups": [
612 {
613 "name": "proc0 core temps",
614 "interface": "xyz.openbmc_project.Sensor.Value",
615 "property": { "name": "Value" }
616 },
617 {
618 "name": "proc1 core temps",
619 "interface": "xyz.openbmc_project.Sensor.Value",
620 "property": { "name": "Value" }
621 },
622 {
623 "name": "proc2 core temps",
624 "interface": "xyz.openbmc_project.Sensor.Value",
625 "property": { "name": "Value" }
626 },
627 {
628 "name": "proc3 core temps",
629 "interface": "xyz.openbmc_project.Sensor.Value",
630 "property": { "name": "Value" }
631 },
632 {
633 "name": "proc0 ioring temp",
634 "interface": "xyz.openbmc_project.Sensor.Value",
635 "property": { "name": "Value" }
636 },
637 {
638 "name": "proc1 ioring temp",
639 "interface": "xyz.openbmc_project.Sensor.Value",
640 "property": { "name": "Value" }
641 },
642 {
643 "name": "proc2 ioring temp",
644 "interface": "xyz.openbmc_project.Sensor.Value",
645 "property": { "name": "Value" }
646 },
647 {
648 "name": "proc3 ioring temp",
649 "interface": "xyz.openbmc_project.Sensor.Value",
650 "property": { "name": "Value" }
651 },
652 {
653 "name": "dram temps",
654 "interface": "xyz.openbmc_project.Sensor.Value",
655 "property": { "name": "Value" }
656 },
657 {
658 "name": "pmic temps",
659 "interface": "xyz.openbmc_project.Sensor.Value",
660 "property": { "name": "Value" }
661 },
662 {
663 "name": "internal memory buffer temps",
664 "interface": "xyz.openbmc_project.Sensor.Value",
665 "property": { "name": "Value" }
666 },
667 {
668 "name": "dram and external memory buffer temps",
669 "interface": "xyz.openbmc_project.Sensor.Value",
670 "property": { "name": "Value" }
671 },
672 {
673 "name": "external memory buffer temps",
674 "interface": "xyz.openbmc_project.Sensor.Value",
675 "property": { "name": "Value" }
676 },
677 {
678 "name": "vdd vrm temps",
679 "interface": "xyz.openbmc_project.Sensor.Value",
680 "property": { "name": "Value" }
Matthew Barth23a7b2b2022-01-11 15:22:55 -0600681 },
682 {
683 "name": "nvme temps",
684 "interface": "xyz.openbmc_project.Sensor.Value",
685 "property": { "name": "Value" }
686 },
687 {
688 "name": "planar temps",
689 "interface": "xyz.openbmc_project.Sensor.Value",
690 "property": { "name": "Value" }
Matt Spinler9b7fc002022-01-11 15:35:29 -0600691 },
692 {
693 "name": "flett temps",
694 "interface": "xyz.openbmc_project.Sensor.Value",
695 "property": { "name": "Value" }
696 },
697 {
698 "name": "bear river temps",
699 "interface": "xyz.openbmc_project.Sensor.Value",
700 "property": { "name": "Value" }
Matthew Barthb6f10352021-12-02 17:42:49 -0600701 }
702 ],
703 "triggers": [
704 {
705 "class": "timer",
706 "type": "repeating",
707 "interval": 2000000,
708 "preload_groups": true
709 }
Matthew Barth6f63b2f2021-12-06 21:08:13 -0600710 ],
711 "actions": [
712 {
713 "name": "set_net_increase_target",
714 "groups": [
715 {
716 "name": "proc0 core temps",
717 "interface": "xyz.openbmc_project.Sensor.Value",
718 "property": { "name": "Value" }
719 }
720 ],
721 "state_parameter_name": "proc_0_core_dvfs_increase_temp",
722 "delta": 300
723 },
724 {
725 "name": "set_net_increase_target",
726 "groups": [
727 {
728 "name": "proc1 core temps",
729 "interface": "xyz.openbmc_project.Sensor.Value",
730 "property": { "name": "Value" }
731 }
732 ],
733 "state_parameter_name": "proc_1_core_dvfs_increase_temp",
734 "delta": 300
735 },
736 {
737 "name": "set_net_increase_target",
738 "groups": [
739 {
740 "name": "proc2 core temps",
741 "interface": "xyz.openbmc_project.Sensor.Value",
742 "property": { "name": "Value" }
743 }
744 ],
745 "state_parameter_name": "proc_2_core_dvfs_increase_temp",
746 "delta": 300
747 },
748 {
749 "name": "set_net_increase_target",
750 "groups": [
751 {
752 "name": "proc3 core temps",
753 "interface": "xyz.openbmc_project.Sensor.Value",
754 "property": { "name": "Value" }
755 }
756 ],
757 "state_parameter_name": "proc_3_core_dvfs_increase_temp",
758 "delta": 300
759 },
760 {
761 "name": "set_net_increase_target",
762 "groups": [
763 {
764 "name": "proc0 ioring temp",
765 "interface": "xyz.openbmc_project.Sensor.Value",
766 "property": { "name": "Value" }
767 }
768 ],
769 "state_parameter_name": "proc_0_ioring_dvfs_increase_temp",
770 "delta": 300
771 },
772 {
773 "name": "set_net_increase_target",
774 "groups": [
775 {
776 "name": "proc1 ioring temp",
777 "interface": "xyz.openbmc_project.Sensor.Value",
778 "property": { "name": "Value" }
779 }
780 ],
781 "state_parameter_name": "proc_1_ioring_dvfs_increase_temp",
782 "delta": 300
783 },
784 {
785 "name": "set_net_increase_target",
786 "groups": [
787 {
788 "name": "proc2 ioring temp",
789 "interface": "xyz.openbmc_project.Sensor.Value",
790 "property": { "name": "Value" }
791 }
792 ],
793 "state_parameter_name": "proc_2_ioring_dvfs_increase_temp",
794 "delta": 300
795 },
796 {
797 "name": "set_net_increase_target",
798 "groups": [
799 {
800 "name": "proc3 ioring temp",
801 "interface": "xyz.openbmc_project.Sensor.Value",
802 "property": { "name": "Value" }
803 }
804 ],
805 "state_parameter_name": "proc_3_ioring_dvfs_increase_temp",
806 "delta": 300
807 },
808 {
809 "name": "set_net_increase_target",
810 "groups": [
811 {
812 "name": "dram temps",
813 "interface": "xyz.openbmc_project.Sensor.Value",
814 "property": { "name": "Value" }
815 }
816 ],
817 "state": 66.0,
818 "delta": 200
819 },
820 {
821 "name": "set_net_increase_target",
822 "groups": [
823 {
824 "name": "pmic temps",
825 "interface": "xyz.openbmc_project.Sensor.Value",
826 "property": { "name": "Value" }
827 }
828 ],
829 "state": 62.0,
830 "delta": 200
831 },
832 {
833 "name": "set_net_increase_target",
834 "groups": [
835 {
836 "name": "internal memory buffer temps",
837 "interface": "xyz.openbmc_project.Sensor.Value",
838 "property": { "name": "Value" }
839 }
840 ],
841 "state": 72.0,
842 "delta": 200
843 },
844 {
845 "name": "set_net_increase_target",
846 "groups": [
847 {
848 "name": "dram and external memory buffer temps",
849 "interface": "xyz.openbmc_project.Sensor.Value",
850 "property": { "name": "Value" }
851 }
852 ],
853 "state": 55.0,
854 "delta": 200
855 },
856 {
857 "name": "set_net_increase_target",
858 "groups": [
859 {
860 "name": "external memory buffer temps",
861 "interface": "xyz.openbmc_project.Sensor.Value",
862 "property": { "name": "Value" }
863 }
864 ],
865 "state": 55.0,
866 "delta": 200
867 },
868 {
869 "name": "set_net_increase_target",
870 "groups": [
871 {
872 "name": "vdd vrm temps",
873 "interface": "xyz.openbmc_project.Sensor.Value",
874 "property": { "name": "Value" }
875 }
876 ],
877 "state": 82.0,
878 "delta": 300
Matthew Barthb253cbd2021-12-06 21:47:50 -0600879 },
880 {
Matthew Barthb28663e2021-12-08 21:52:00 -0600881 "name": "set_net_increase_target",
882 "groups": [
883 {
884 "name": "nvme temps",
885 "interface": "xyz.openbmc_project.Sensor.Value",
886 "property": { "name": "Value" }
887 }
888 ],
889 "state": 58.0,
890 "delta": 200
891 },
892 {
Matthew Barth075fcd82021-12-13 20:56:49 -0600893 "name": "set_net_increase_target",
894 "groups": [
895 {
896 "name": "planar temps",
897 "interface": "xyz.openbmc_project.Sensor.Value",
898 "property": { "name": "Value" }
899 }
900 ],
901 "state": 65.0,
902 "delta": 255
903 },
904 {
Matt Spinler1006fe32022-01-10 14:06:22 -0600905 "name": "set_net_increase_target",
906 "groups": [
907 {
908 "name": "flett temps",
909 "interface": "xyz.openbmc_project.Sensor.Value",
910 "property": { "name": "Value" }
911 }
912 ],
913 "state": 70.0,
914 "delta": 255
915 },
916 {
917 "name": "set_net_increase_target",
918 "groups": [
919 {
920 "name": "bear river temps",
921 "interface": "xyz.openbmc_project.Sensor.Value",
922 "property": { "name": "Value" }
923 }
924 ],
925 "state": 70.0,
926 "delta": 255
927 },
928 {
Matthew Barthb253cbd2021-12-06 21:47:50 -0600929 "name": "set_net_decrease_target",
930 "groups": [
931 {
932 "name": "proc0 core temps",
933 "interface": "xyz.openbmc_project.Sensor.Value",
934 "property": { "name": "Value" }
935 }
936 ],
937 "state_parameter_name": "proc_0_core_dvfs_decrease_temp",
938 "delta": 30
939 },
940 {
941 "name": "set_net_decrease_target",
942 "groups": [
943 {
944 "name": "proc1 core temps",
945 "interface": "xyz.openbmc_project.Sensor.Value",
946 "property": { "name": "Value" }
947 }
948 ],
949 "state_parameter_name": "proc_1_core_dvfs_decrease_temp",
950 "delta": 30
951 },
952 {
953 "name": "set_net_decrease_target",
954 "groups": [
955 {
956 "name": "proc2 core temps",
957 "interface": "xyz.openbmc_project.Sensor.Value",
958 "property": { "name": "Value" }
959 }
960 ],
961 "state_parameter_name": "proc_2_core_dvfs_decrease_temp",
962 "delta": 30
963 },
964 {
965 "name": "set_net_decrease_target",
966 "groups": [
967 {
968 "name": "proc3 core temps",
969 "interface": "xyz.openbmc_project.Sensor.Value",
970 "property": { "name": "Value" }
971 }
972 ],
973 "state_parameter_name": "proc_3_core_dvfs_decrease_temp",
974 "delta": 30
975 },
976 {
977 "name": "set_net_decrease_target",
978 "groups": [
979 {
980 "name": "proc0 ioring temp",
981 "interface": "xyz.openbmc_project.Sensor.Value",
982 "property": { "name": "Value" }
983 }
984 ],
985 "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp",
986 "delta": 30
987 },
988 {
989 "name": "set_net_decrease_target",
990 "groups": [
991 {
992 "name": "proc1 ioring temp",
993 "interface": "xyz.openbmc_project.Sensor.Value",
994 "property": { "name": "Value" }
995 }
996 ],
997 "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp",
998 "delta": 30
999 },
1000 {
1001 "name": "set_net_decrease_target",
1002 "groups": [
1003 {
1004 "name": "proc2 ioring temp",
1005 "interface": "xyz.openbmc_project.Sensor.Value",
1006 "property": { "name": "Value" }
1007 }
1008 ],
1009 "state_parameter_name": "proc_2_ioring_dvfs_decrease_temp",
1010 "delta": 30
1011 },
1012 {
1013 "name": "set_net_decrease_target",
1014 "groups": [
1015 {
1016 "name": "proc3 ioring temp",
1017 "interface": "xyz.openbmc_project.Sensor.Value",
1018 "property": { "name": "Value" }
1019 }
1020 ],
1021 "state_parameter_name": "proc_3_ioring_dvfs_decrease_temp",
1022 "delta": 30
1023 },
1024 {
1025 "name": "set_net_decrease_target",
1026 "groups": [
1027 {
1028 "name": "dram temps",
1029 "interface": "xyz.openbmc_project.Sensor.Value",
1030 "property": { "name": "Value" }
1031 }
1032 ],
1033 "state": 63.0,
1034 "delta": 40
1035 },
1036 {
1037 "name": "set_net_decrease_target",
1038 "groups": [
1039 {
1040 "name": "pmic temps",
1041 "interface": "xyz.openbmc_project.Sensor.Value",
1042 "property": { "name": "Value" }
1043 }
1044 ],
1045 "state": 59.0,
1046 "delta": 40
1047 },
1048 {
1049 "name": "set_net_decrease_target",
1050 "groups": [
1051 {
1052 "name": "internal memory buffer temps",
1053 "interface": "xyz.openbmc_project.Sensor.Value",
1054 "property": { "name": "Value" }
1055 }
1056 ],
1057 "state": 69.0,
1058 "delta": 40
1059 },
1060 {
1061 "name": "set_net_decrease_target",
1062 "groups": [
1063 {
1064 "name": "dram and external memory buffer temps",
1065 "interface": "xyz.openbmc_project.Sensor.Value",
1066 "property": { "name": "Value" }
1067 }
1068 ],
1069 "state": 52.0,
1070 "delta": 40
1071 },
1072 {
1073 "name": "set_net_decrease_target",
1074 "groups": [
1075 {
1076 "name": "external memory buffer temps",
1077 "interface": "xyz.openbmc_project.Sensor.Value",
1078 "property": { "name": "Value" }
1079 }
1080 ],
1081 "state": 52.0,
1082 "delta": 40
1083 },
1084 {
1085 "name": "set_net_decrease_target",
1086 "groups": [
1087 {
1088 "name": "vdd vrm temps",
1089 "interface": "xyz.openbmc_project.Sensor.Value",
1090 "property": { "name": "Value" }
1091 }
1092 ],
1093 "state": 79.0,
1094 "delta": 30
Matthew Barth85080982021-12-08 22:27:29 -06001095 },
1096 {
1097 "name": "set_net_decrease_target",
1098 "groups": [
1099 {
1100 "name": "nvme temps",
1101 "interface": "xyz.openbmc_project.Sensor.Value",
1102 "property": { "name": "Value" }
1103 }
1104 ],
1105 "state": 55.0,
1106 "delta": 40
Matthew Barth075fcd82021-12-13 20:56:49 -06001107 },
1108 {
1109 "name": "set_net_decrease_target",
1110 "groups": [
1111 {
1112 "name": "planar temps",
1113 "interface": "xyz.openbmc_project.Sensor.Value",
1114 "property": { "name": "Value" }
1115 }
1116 ],
1117 "state": 60.0,
1118 "delta": 80
Matt Spinler1006fe32022-01-10 14:06:22 -06001119 },
1120 {
1121 "name": "set_net_decrease_target",
1122 "groups": [
1123 {
1124 "name": "flett temps",
1125 "interface": "xyz.openbmc_project.Sensor.Value",
1126 "property": { "name": "Value" }
1127 }
1128 ],
1129 "state": 65.0,
1130 "delta": 80
1131 },
1132 {
1133 "name": "set_net_decrease_target",
1134 "groups": [
1135 {
1136 "name": "bear river temps",
1137 "interface": "xyz.openbmc_project.Sensor.Value",
1138 "property": { "name": "Value" }
1139 }
1140 ],
1141 "state": 65.0,
1142 "delta": 80
Matthew Barth6f63b2f2021-12-06 21:08:13 -06001143 }
Matthew Barthb6f10352021-12-02 17:42:49 -06001144 ]
Matthew Barthcf34be22021-12-08 22:53:48 -06001145 },
1146 {
1147 // Remove NVMe temperature objects from cache when they are removed from
1148 // dbus. There's no need to react to their removal.
1149 "name": "remove nvme objects",
1150 "groups": [
1151 {
1152 "name": "nvme temps",
1153 "interface": "xyz.openbmc_project.Sensor.Value",
1154 "property": { "name": "Value" }
1155 }
1156 ],
1157 "triggers": [
1158 {
1159 "class": "signal",
1160 "signal": "interfaces_removed"
1161 }
1162 ]
Matt Spinler323694a2021-11-11 16:03:18 -06001163 }
Matthew Barthf0f213c2021-10-19 13:32:31 -05001164]