blob: febf721542285f9bd0871b2f7074e71dfa3fabe6 [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" }
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 ],
133 "target": 10000
134 }
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,
170 "floor": 10000
171 }
172 ]
Matt Spinler323694a2021-11-11 16:03:18 -0600173 },
174 {
Matthew Barth4172d8d2022-01-13 11:31:54 -0600175 // Set a raised fan floor when any temperature sensor is nonfunctional
176 "name": "Nonfunctional temperature sensors",
Matthew Barth39925fb2022-01-12 10:45:59 -0600177 "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" }
Matthew Barth4172d8d2022-01-13 11:31:54 -0600247 },
248 {
249 "name": "nvme temps",
250 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
251 "property": { "name": "Functional" }
252 },
253 {
254 "name": "planar temps",
255 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
256 "property": { "name": "Functional" }
257 },
258 {
259 "name": "flett temps",
260 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
261 "property": { "name": "Functional" }
262 },
263 {
264 "name": "bear lake temps",
265 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
266 "property": { "name": "Functional" }
Matthew Barth39925fb2022-01-12 10:45:59 -0600267 }
268 ],
269 "triggers": [
270 {
271 "class": "signal",
272 "signal": "properties_changed"
273 },
274 {
275 "class": "signal",
276 "signal": "interfaces_added"
277 },
278 {
279 "class": "init",
280 "method": "get_properties"
281 }
282 ],
283 "actions": [
284 {
285 "name": "count_state_floor",
286 "count": 1,
287 "state": false,
288 "floor": 10000
289 }
290 ]
291 },
292 {
Matt Spinler323694a2021-11-11 16:03:18 -0600293 "name": "Set Proc 0 Core DVFS parameter",
294 "groups": [
295 {
296 "name": "proc 0 core dvfs temp",
297 "interface": "xyz.openbmc_project.Sensor.Value",
298 "property": { "name": "Value" }
299 }
300 ],
301 "triggers": [
302 {
303 "class": "init",
304 "method": "get_properties"
305 },
306 {
307 "class": "signal",
308 "signal": "interfaces_added"
309 },
310 {
311 "class": "signal",
312 "signal": "properties_changed"
313 }
314 ],
315 "actions": [
316 {
317 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600318 "parameter_name": "proc_0_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600319 "modifier": {
320 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600321 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600322 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600323 },
324 {
325 "name": "set_parameter_from_group_max",
326 "parameter_name": "proc_0_core_dvfs_decrease_temp",
327 "modifier": {
328 "operator": "minus",
329 "value": 13
330 }
Matt Spinler323694a2021-11-11 16:03:18 -0600331 }
332 ]
333 },
334 {
335 "name": "Set Proc 1 Core DVFS parameter",
336 "groups": [
337 {
338 "name": "proc 1 core dvfs temp",
339 "interface": "xyz.openbmc_project.Sensor.Value",
340 "property": { "name": "Value" }
341 }
342 ],
343 "triggers": [
344 {
345 "class": "init",
346 "method": "get_properties"
347 },
348 {
349 "class": "signal",
350 "signal": "interfaces_added"
351 },
352 {
353 "class": "signal",
354 "signal": "properties_changed"
355 }
356 ],
357 "actions": [
358 {
359 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600360 "parameter_name": "proc_1_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600361 "modifier": {
362 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600363 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600364 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600365 },
366 {
367 "name": "set_parameter_from_group_max",
368 "parameter_name": "proc_1_core_dvfs_decrease_temp",
369 "modifier": {
370 "operator": "minus",
371 "value": 13
372 }
Matt Spinler323694a2021-11-11 16:03:18 -0600373 }
374 ]
375 },
376 {
377 "name": "Set Proc 2 Core DVFS parameter",
378 "groups": [
379 {
380 "name": "proc 2 core dvfs temp",
381 "interface": "xyz.openbmc_project.Sensor.Value",
382 "property": { "name": "Value" }
383 }
384 ],
385 "triggers": [
386 {
387 "class": "init",
388 "method": "get_properties"
389 },
390 {
391 "class": "signal",
392 "signal": "interfaces_added"
393 },
394 {
395 "class": "signal",
396 "signal": "properties_changed"
397 }
398 ],
399 "actions": [
400 {
401 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600402 "parameter_name": "proc_2_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600403 "modifier": {
404 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600405 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600406 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600407 },
408 {
409 "name": "set_parameter_from_group_max",
410 "parameter_name": "proc_2_core_dvfs_decrease_temp",
411 "modifier": {
412 "operator": "minus",
413 "value": 13
414 }
Matt Spinler323694a2021-11-11 16:03:18 -0600415 }
416 ]
417 },
418 {
419 "name": "Set Proc 3 Core DVFS parameter",
420 "groups": [
421 {
422 "name": "proc 3 core dvfs temp",
423 "interface": "xyz.openbmc_project.Sensor.Value",
424 "property": { "name": "Value" }
425 }
426 ],
427 "triggers": [
428 {
429 "class": "init",
430 "method": "get_properties"
431 },
432 {
433 "class": "signal",
434 "signal": "interfaces_added"
435 },
436 {
437 "class": "signal",
438 "signal": "properties_changed"
439 }
440 ],
441 "actions": [
442 {
443 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600444 "parameter_name": "proc_3_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600445 "modifier": {
446 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600447 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600448 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600449 },
450 {
451 "name": "set_parameter_from_group_max",
452 "parameter_name": "proc_3_core_dvfs_decrease_temp",
453 "modifier": {
454 "operator": "minus",
455 "value": 13
456 }
Matt Spinler323694a2021-11-11 16:03:18 -0600457 }
458 ]
459 },
460 {
461 "name": "Set Proc 0 IO Ring DVFS parameter",
462 "groups": [
463 {
464 "name": "proc 0 ioring dvfs temp",
465 "interface": "xyz.openbmc_project.Sensor.Value",
466 "property": { "name": "Value" }
467 }
468 ],
469 "triggers": [
470 {
471 "class": "init",
472 "method": "get_properties"
473 },
474 {
475 "class": "signal",
476 "signal": "interfaces_added"
477 },
478 {
479 "class": "signal",
480 "signal": "properties_changed"
481 }
482 ],
483 "actions": [
484 {
485 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600486 "parameter_name": "proc_0_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600487 "modifier": {
488 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600489 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600490 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600491 },
492 {
493 "name": "set_parameter_from_group_max",
494 "parameter_name": "proc_0_ioring_dvfs_decrease_temp",
495 "modifier": {
496 "operator": "minus",
497 "value": 13
498 }
Matt Spinler323694a2021-11-11 16:03:18 -0600499 }
500 ]
501 },
502
503 {
504 "name": "Set Proc 1 IO Ring DVFS parameter",
505 "groups": [
506 {
507 "name": "proc 1 ioring dvfs temp",
508 "interface": "xyz.openbmc_project.Sensor.Value",
509 "property": { "name": "Value" }
510 }
511 ],
512 "triggers": [
513 {
514 "class": "init",
515 "method": "get_properties"
516 },
517 {
518 "class": "signal",
519 "signal": "interfaces_added"
520 },
521 {
522 "class": "signal",
523 "signal": "properties_changed"
524 }
525 ],
526 "actions": [
527 {
528 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600529 "parameter_name": "proc_1_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600530 "modifier": {
531 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600532 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600533 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600534 },
535 {
536 "name": "set_parameter_from_group_max",
537 "parameter_name": "proc_1_ioring_dvfs_decrease_temp",
538 "modifier": {
539 "operator": "minus",
540 "value": 13
541 }
Matt Spinler323694a2021-11-11 16:03:18 -0600542 }
543 ]
544 },
545 {
546 "name": "Set Proc 2 IO Ring DVFS parameter",
547 "groups": [
548 {
549 "name": "proc 2 ioring dvfs temp",
550 "interface": "xyz.openbmc_project.Sensor.Value",
551 "property": { "name": "Value" }
552 }
553 ],
554 "triggers": [
555 {
556 "class": "init",
557 "method": "get_properties"
558 },
559 {
560 "class": "signal",
561 "signal": "interfaces_added"
562 },
563 {
564 "class": "signal",
565 "signal": "properties_changed"
566 }
567 ],
568 "actions": [
569 {
570 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600571 "parameter_name": "proc_2_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600572 "modifier": {
573 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600574 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600575 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600576 },
577 {
578 "name": "set_parameter_from_group_max",
579 "parameter_name": "proc_2_ioring_dvfs_decrease_temp",
580 "modifier": {
581 "operator": "minus",
582 "value": 13
583 }
Matt Spinler323694a2021-11-11 16:03:18 -0600584 }
585 ]
586 },
587 {
588 "name": "Set Proc 3 IO Ring DVFS parameter",
589 "groups": [
590 {
591 "name": "proc 3 ioring dvfs temp",
592 "interface": "xyz.openbmc_project.Sensor.Value",
593 "property": { "name": "Value" }
594 }
595 ],
596 "triggers": [
597 {
598 "class": "init",
599 "method": "get_properties"
600 },
601 {
602 "class": "signal",
603 "signal": "interfaces_added"
604 },
605 {
606 "class": "signal",
607 "signal": "properties_changed"
608 }
609 ],
610 "actions": [
611 {
612 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600613 "parameter_name": "proc_3_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600614 "modifier": {
615 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600616 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600617 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600618 },
619 {
620 "name": "set_parameter_from_group_max",
621 "parameter_name": "proc_3_ioring_dvfs_decrease_temp",
622 "modifier": {
623 "operator": "minus",
624 "value": 13
625 }
Matt Spinler323694a2021-11-11 16:03:18 -0600626 }
627 ]
Matthew Barthb6f10352021-12-02 17:42:49 -0600628 },
629 {
630 // Collect group temperatures each iteration the repeating timer expires
631 "name": "Fan control timer loop",
632 "groups": [
633 {
634 "name": "proc0 core temps",
635 "interface": "xyz.openbmc_project.Sensor.Value",
636 "property": { "name": "Value" }
637 },
638 {
639 "name": "proc1 core temps",
640 "interface": "xyz.openbmc_project.Sensor.Value",
641 "property": { "name": "Value" }
642 },
643 {
644 "name": "proc2 core temps",
645 "interface": "xyz.openbmc_project.Sensor.Value",
646 "property": { "name": "Value" }
647 },
648 {
649 "name": "proc3 core temps",
650 "interface": "xyz.openbmc_project.Sensor.Value",
651 "property": { "name": "Value" }
652 },
653 {
654 "name": "proc0 ioring temp",
655 "interface": "xyz.openbmc_project.Sensor.Value",
656 "property": { "name": "Value" }
657 },
658 {
659 "name": "proc1 ioring temp",
660 "interface": "xyz.openbmc_project.Sensor.Value",
661 "property": { "name": "Value" }
662 },
663 {
664 "name": "proc2 ioring temp",
665 "interface": "xyz.openbmc_project.Sensor.Value",
666 "property": { "name": "Value" }
667 },
668 {
669 "name": "proc3 ioring temp",
670 "interface": "xyz.openbmc_project.Sensor.Value",
671 "property": { "name": "Value" }
672 },
673 {
674 "name": "dram temps",
675 "interface": "xyz.openbmc_project.Sensor.Value",
676 "property": { "name": "Value" }
677 },
678 {
679 "name": "pmic temps",
680 "interface": "xyz.openbmc_project.Sensor.Value",
681 "property": { "name": "Value" }
682 },
683 {
684 "name": "internal memory buffer temps",
685 "interface": "xyz.openbmc_project.Sensor.Value",
686 "property": { "name": "Value" }
687 },
688 {
689 "name": "dram and external memory buffer temps",
690 "interface": "xyz.openbmc_project.Sensor.Value",
691 "property": { "name": "Value" }
692 },
693 {
694 "name": "external memory buffer temps",
695 "interface": "xyz.openbmc_project.Sensor.Value",
696 "property": { "name": "Value" }
697 },
698 {
699 "name": "vdd vrm temps",
700 "interface": "xyz.openbmc_project.Sensor.Value",
701 "property": { "name": "Value" }
Matthew Barth23a7b2b2022-01-11 15:22:55 -0600702 },
703 {
704 "name": "nvme temps",
705 "interface": "xyz.openbmc_project.Sensor.Value",
706 "property": { "name": "Value" }
707 },
708 {
709 "name": "planar temps",
710 "interface": "xyz.openbmc_project.Sensor.Value",
711 "property": { "name": "Value" }
Matt Spinler9b7fc002022-01-11 15:35:29 -0600712 },
713 {
714 "name": "flett temps",
715 "interface": "xyz.openbmc_project.Sensor.Value",
716 "property": { "name": "Value" }
717 },
718 {
719 "name": "bear lake temps",
720 "interface": "xyz.openbmc_project.Sensor.Value",
721 "property": { "name": "Value" }
Matthew Barthb6f10352021-12-02 17:42:49 -0600722 }
723 ],
724 "triggers": [
725 {
726 "class": "timer",
727 "type": "repeating",
728 "interval": 2000000,
729 "preload_groups": true
730 }
Matthew Bartha45b1612021-12-06 22:16:33 -0600731 ],
732 "actions": [
733 {
734 "name": "set_net_increase_target",
735 "groups": [
736 {
737 "name": "proc0 core temps",
738 "interface": "xyz.openbmc_project.Sensor.Value",
739 "property": { "name": "Value" }
740 }
741 ],
742 "state_parameter_name": "proc_0_core_dvfs_increase_temp",
743 "delta": 300
744 },
745 {
746 "name": "set_net_increase_target",
747 "groups": [
748 {
749 "name": "proc1 core temps",
750 "interface": "xyz.openbmc_project.Sensor.Value",
751 "property": { "name": "Value" }
752 }
753 ],
754 "state_parameter_name": "proc_1_core_dvfs_increase_temp",
755 "delta": 300
756 },
757 {
758 "name": "set_net_increase_target",
759 "groups": [
760 {
761 "name": "proc2 core temps",
762 "interface": "xyz.openbmc_project.Sensor.Value",
763 "property": { "name": "Value" }
764 }
765 ],
766 "state_parameter_name": "proc_2_core_dvfs_increase_temp",
767 "delta": 300
768 },
769 {
770 "name": "set_net_increase_target",
771 "groups": [
772 {
773 "name": "proc3 core temps",
774 "interface": "xyz.openbmc_project.Sensor.Value",
775 "property": { "name": "Value" }
776 }
777 ],
778 "state_parameter_name": "proc_3_core_dvfs_increase_temp",
779 "delta": 300
780 },
781 {
782 "name": "set_net_increase_target",
783 "groups": [
784 {
785 "name": "proc0 ioring temp",
786 "interface": "xyz.openbmc_project.Sensor.Value",
787 "property": { "name": "Value" }
788 }
789 ],
790 "state_parameter_name": "proc_0_ioring_dvfs_increase_temp",
791 "delta": 300
792 },
793 {
794 "name": "set_net_increase_target",
795 "groups": [
796 {
797 "name": "proc1 ioring temp",
798 "interface": "xyz.openbmc_project.Sensor.Value",
799 "property": { "name": "Value" }
800 }
801 ],
802 "state_parameter_name": "proc_1_ioring_dvfs_increase_temp",
803 "delta": 300
804 },
805 {
806 "name": "set_net_increase_target",
807 "groups": [
808 {
809 "name": "proc2 ioring temp",
810 "interface": "xyz.openbmc_project.Sensor.Value",
811 "property": { "name": "Value" }
812 }
813 ],
814 "state_parameter_name": "proc_2_ioring_dvfs_increase_temp",
815 "delta": 300
816 },
817 {
818 "name": "set_net_increase_target",
819 "groups": [
820 {
821 "name": "proc3 ioring temp",
822 "interface": "xyz.openbmc_project.Sensor.Value",
823 "property": { "name": "Value" }
824 }
825 ],
826 "state_parameter_name": "proc_3_ioring_dvfs_increase_temp",
827 "delta": 300
828 },
829 {
830 "name": "set_net_increase_target",
831 "groups": [
832 {
833 "name": "dram temps",
834 "interface": "xyz.openbmc_project.Sensor.Value",
835 "property": { "name": "Value" }
836 }
837 ],
838 "state": 66.0,
839 "delta": 200
840 },
841 {
842 "name": "set_net_increase_target",
843 "groups": [
844 {
845 "name": "pmic temps",
846 "interface": "xyz.openbmc_project.Sensor.Value",
847 "property": { "name": "Value" }
848 }
849 ],
850 "state": 52.0,
851 "delta": 200
852 },
853 {
854 "name": "set_net_increase_target",
855 "groups": [
856 {
857 "name": "internal memory buffer temps",
858 "interface": "xyz.openbmc_project.Sensor.Value",
859 "property": { "name": "Value" }
860 }
861 ],
862 "state": 72.0,
863 "delta": 200
864 },
865 {
866 "name": "set_net_increase_target",
867 "groups": [
868 {
869 "name": "dram and external memory buffer temps",
870 "interface": "xyz.openbmc_project.Sensor.Value",
871 "property": { "name": "Value" }
872 }
873 ],
874 "state": 55.0,
875 "delta": 200
876 },
877 {
878 "name": "set_net_increase_target",
879 "groups": [
880 {
881 "name": "external memory buffer temps",
882 "interface": "xyz.openbmc_project.Sensor.Value",
883 "property": { "name": "Value" }
884 }
885 ],
886 "state": 55.0,
887 "delta": 200
888 },
889 {
890 "name": "set_net_increase_target",
891 "groups": [
892 {
893 "name": "vdd vrm temps",
894 "interface": "xyz.openbmc_project.Sensor.Value",
895 "property": { "name": "Value" }
896 }
897 ],
898 "state": 82.0,
899 "delta": 300
Matthew Barth34a1fd92021-12-06 22:23:35 -0600900 },
901 {
Matthew Barth47ede252021-12-08 22:03:09 -0600902 "name": "set_net_increase_target",
903 "groups": [
904 {
905 "name": "nvme temps",
906 "interface": "xyz.openbmc_project.Sensor.Value",
907 "property": { "name": "Value" }
908 }
909 ],
910 "state": 58.0,
911 "delta": 200
912 },
913 {
Matthew Barth075fcd82021-12-13 20:56:49 -0600914 "name": "set_net_increase_target",
915 "groups": [
916 {
917 "name": "planar temps",
918 "interface": "xyz.openbmc_project.Sensor.Value",
919 "property": { "name": "Value" }
920 }
921 ],
922 "state": 65.0,
923 "delta": 255
924 },
925 {
Matt Spinler1006fe32022-01-10 14:06:22 -0600926 "name": "set_net_increase_target",
927 "groups": [
928 {
929 "name": "flett temps",
930 "interface": "xyz.openbmc_project.Sensor.Value",
931 "property": { "name": "Value" }
932 }
933 ],
934 "state": 70.0,
935 "delta": 255
936 },
937 {
938 "name": "set_net_increase_target",
939 "groups": [
940 {
941 "name": "bear lake temps",
942 "interface": "xyz.openbmc_project.Sensor.Value",
943 "property": { "name": "Value" }
944 }
945 ],
946 "state": 70.0,
947 "delta": 255
948 },
949 {
Matthew Barth34a1fd92021-12-06 22:23:35 -0600950 "name": "set_net_decrease_target",
951 "groups": [
952 {
953 "name": "proc0 core temps",
954 "interface": "xyz.openbmc_project.Sensor.Value",
955 "property": { "name": "Value" }
956 }
957 ],
958 "state_parameter_name": "proc_0_core_dvfs_decrease_temp",
959 "delta": 30
960 },
961 {
962 "name": "set_net_decrease_target",
963 "groups": [
964 {
965 "name": "proc1 core temps",
966 "interface": "xyz.openbmc_project.Sensor.Value",
967 "property": { "name": "Value" }
968 }
969 ],
970 "state_parameter_name": "proc_1_core_dvfs_decrease_temp",
971 "delta": 30
972 },
973 {
974 "name": "set_net_decrease_target",
975 "groups": [
976 {
977 "name": "proc2 core temps",
978 "interface": "xyz.openbmc_project.Sensor.Value",
979 "property": { "name": "Value" }
980 }
981 ],
982 "state_parameter_name": "proc_2_core_dvfs_decrease_temp",
983 "delta": 30
984 },
985 {
986 "name": "set_net_decrease_target",
987 "groups": [
988 {
989 "name": "proc3 core temps",
990 "interface": "xyz.openbmc_project.Sensor.Value",
991 "property": { "name": "Value" }
992 }
993 ],
994 "state_parameter_name": "proc_3_core_dvfs_decrease_temp",
995 "delta": 30
996 },
997 {
998 "name": "set_net_decrease_target",
999 "groups": [
1000 {
1001 "name": "proc0 ioring temp",
1002 "interface": "xyz.openbmc_project.Sensor.Value",
1003 "property": { "name": "Value" }
1004 }
1005 ],
1006 "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp",
1007 "delta": 30
1008 },
1009 {
1010 "name": "set_net_decrease_target",
1011 "groups": [
1012 {
1013 "name": "proc1 ioring temp",
1014 "interface": "xyz.openbmc_project.Sensor.Value",
1015 "property": { "name": "Value" }
1016 }
1017 ],
1018 "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp",
1019 "delta": 30
1020 },
1021 {
1022 "name": "set_net_decrease_target",
1023 "groups": [
1024 {
1025 "name": "proc2 ioring temp",
1026 "interface": "xyz.openbmc_project.Sensor.Value",
1027 "property": { "name": "Value" }
1028 }
1029 ],
1030 "state_parameter_name": "proc_2_ioring_dvfs_decrease_temp",
1031 "delta": 30
1032 },
1033 {
1034 "name": "set_net_decrease_target",
1035 "groups": [
1036 {
1037 "name": "proc3 ioring temp",
1038 "interface": "xyz.openbmc_project.Sensor.Value",
1039 "property": { "name": "Value" }
1040 }
1041 ],
1042 "state_parameter_name": "proc_3_ioring_dvfs_decrease_temp",
1043 "delta": 30
1044 },
1045 {
1046 "name": "set_net_decrease_target",
1047 "groups": [
1048 {
1049 "name": "dram temps",
1050 "interface": "xyz.openbmc_project.Sensor.Value",
1051 "property": { "name": "Value" }
1052 }
1053 ],
1054 "state": 63.0,
1055 "delta": 40
1056 },
1057 {
1058 "name": "set_net_decrease_target",
1059 "groups": [
1060 {
1061 "name": "pmic temps",
1062 "interface": "xyz.openbmc_project.Sensor.Value",
1063 "property": { "name": "Value" }
1064 }
1065 ],
1066 "state": 49.0,
1067 "delta": 40
1068 },
1069 {
1070 "name": "set_net_decrease_target",
1071 "groups": [
1072 {
1073 "name": "internal memory buffer temps",
1074 "interface": "xyz.openbmc_project.Sensor.Value",
1075 "property": { "name": "Value" }
1076 }
1077 ],
1078 "state": 69.0,
1079 "delta": 40
1080 },
1081 {
1082 "name": "set_net_decrease_target",
1083 "groups": [
1084 {
1085 "name": "dram and external memory buffer temps",
1086 "interface": "xyz.openbmc_project.Sensor.Value",
1087 "property": { "name": "Value" }
1088 }
1089 ],
1090 "state": 52.0,
1091 "delta": 40
1092 },
1093 {
1094 "name": "set_net_decrease_target",
1095 "groups": [
1096 {
1097 "name": "external memory buffer temps",
1098 "interface": "xyz.openbmc_project.Sensor.Value",
1099 "property": { "name": "Value" }
1100 }
1101 ],
1102 "state": 52.0,
1103 "delta": 40
1104 },
1105 {
1106 "name": "set_net_decrease_target",
1107 "groups": [
1108 {
1109 "name": "vdd vrm temps",
1110 "interface": "xyz.openbmc_project.Sensor.Value",
1111 "property": { "name": "Value" }
1112 }
1113 ],
1114 "state": 79.0,
1115 "delta": 30
Matthew Barth9f70c062021-12-08 22:28:11 -06001116 },
1117 {
1118 "name": "set_net_decrease_target",
1119 "groups": [
1120 {
1121 "name": "nvme temps",
1122 "interface": "xyz.openbmc_project.Sensor.Value",
1123 "property": { "name": "Value" }
1124 }
1125 ],
1126 "state": 55.0,
1127 "delta": 40
Matthew Barth075fcd82021-12-13 20:56:49 -06001128 },
1129 {
1130 "name": "set_net_decrease_target",
1131 "groups": [
1132 {
1133 "name": "planar temps",
1134 "interface": "xyz.openbmc_project.Sensor.Value",
1135 "property": { "name": "Value" }
1136 }
1137 ],
1138 "state": 60.0,
1139 "delta": 80
Matt Spinler1006fe32022-01-10 14:06:22 -06001140 },
1141 {
1142 "name": "set_net_decrease_target",
1143 "groups": [
1144 {
1145 "name": "flett temps",
1146 "interface": "xyz.openbmc_project.Sensor.Value",
1147 "property": { "name": "Value" }
1148 }
1149 ],
1150 "state": 65.0,
1151 "delta": 80
1152 },
1153 {
1154 "name": "set_net_decrease_target",
1155 "groups": [
1156 {
1157 "name": "bear lake temps",
1158 "interface": "xyz.openbmc_project.Sensor.Value",
1159 "property": { "name": "Value" }
1160 }
1161 ],
1162 "state": 65.0,
1163 "delta": 80
Matthew Bartha45b1612021-12-06 22:16:33 -06001164 }
Matthew Barthb6f10352021-12-02 17:42:49 -06001165 ]
Matthew Barthcf34be22021-12-08 22:53:48 -06001166 },
1167 {
1168 // Remove NVMe temperature objects from cache when they are removed from
1169 // dbus. There's no need to react to their removal.
1170 "name": "remove nvme objects",
1171 "groups": [
1172 {
1173 "name": "nvme temps",
1174 "interface": "xyz.openbmc_project.Sensor.Value",
1175 "property": { "name": "Value" }
1176 }
1177 ],
1178 "triggers": [
1179 {
1180 "class": "signal",
1181 "signal": "interfaces_removed"
1182 }
1183 ]
Matt Spinler323694a2021-11-11 16:03:18 -06001184 }
Matthew Barth23dcffd2021-10-19 13:36:51 -05001185]