Matthew Barth | b477a56 | 2021-10-19 14:39:19 -0500 | [diff] [blame] | 1 | [ |
| 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 Barth | dc593cb | 2021-10-19 14:43:41 -0500 | [diff] [blame] | 30 | }, |
| 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": "fan4 rotor inventory", |
| 52 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 53 | "property": { "name": "Functional" } |
| 54 | } |
| 55 | ], |
| 56 | "triggers": [ |
| 57 | { |
| 58 | "class": "init", |
| 59 | "method": "get_properties" |
| 60 | }, |
| 61 | { |
| 62 | "class": "signal", |
| 63 | "signal": "properties_changed" |
| 64 | } |
| 65 | ], |
| 66 | "actions": [ |
| 67 | { |
| 68 | "name": "count_state_before_target", |
| 69 | "count": 1, |
| 70 | "state": false, |
| 71 | "target": 10000 |
| 72 | } |
| 73 | ] |
Matthew Barth | 09b09e5 | 2021-10-28 15:29:13 -0500 | [diff] [blame] | 74 | }, |
| 75 | { |
| 76 | // Hold fans at the given target when any critical service |
| 77 | // is not running for 5 seconds. |
| 78 | "name": "service(s) missing", |
| 79 | "groups": [ |
| 80 | { |
Matthew Barth | f3a6d45 | 2021-11-23 14:41:43 -0600 | [diff] [blame] | 81 | "name": "fan inventory", |
| 82 | "interface": "xyz.openbmc_project.Inventory.Item", |
| 83 | "property": { "name": "Present" } |
| 84 | }, |
| 85 | { |
Matthew Barth | 09b09e5 | 2021-10-28 15:29:13 -0500 | [diff] [blame] | 86 | "name": "occ objects", |
| 87 | "interface": "org.open_power.OCC.Status", |
| 88 | "property": { "name": "OccActive" } |
Matthew Barth | 86a484f | 2022-01-14 13:06:50 -0600 | [diff] [blame^] | 89 | }, |
| 90 | { |
| 91 | "name": "nvme temps", |
| 92 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 93 | "property": { "name": "Value" } |
| 94 | }, |
| 95 | { |
| 96 | "name": "planar temps", |
| 97 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 98 | "property": { "name": "Value" } |
| 99 | }, |
| 100 | { |
| 101 | "name": "flett temps", |
| 102 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 103 | "property": { "name": "Value" } |
| 104 | }, |
| 105 | { |
| 106 | "name": "bear lake temps", |
| 107 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 108 | "property": { "name": "Value" } |
| 109 | }, |
| 110 | { |
| 111 | "name": "ambient temp", |
| 112 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 113 | "property": { "name": "Value" } |
Matthew Barth | 09b09e5 | 2021-10-28 15:29:13 -0500 | [diff] [blame] | 114 | } |
| 115 | ], |
| 116 | "triggers": [ |
| 117 | { |
| 118 | "class": "init", |
| 119 | "method": "name_has_owner" |
| 120 | }, |
| 121 | { |
| 122 | "class": "signal", |
| 123 | "signal": "name_owner_changed" |
| 124 | } |
| 125 | ], |
| 126 | "actions": [ |
| 127 | { |
| 128 | "name": "call_actions_based_on_timer", |
| 129 | "timer": { |
| 130 | "interval": 5000000, |
| 131 | "type": "oneshot" |
| 132 | }, |
| 133 | "actions": [ |
| 134 | { |
| 135 | "name": "set_target_on_missing_owner", |
| 136 | "groups": [ |
| 137 | { |
| 138 | "name": "fan inventory", |
| 139 | "interface": "xyz.openbmc_project.Inventory.Item", |
| 140 | "property": { "name": "Present" } |
| 141 | }, |
| 142 | { |
| 143 | "name": "occ objects", |
| 144 | "interface": "org.open_power.OCC.Status", |
| 145 | "property": { "name": "OccActive" } |
Matthew Barth | 86a484f | 2022-01-14 13:06:50 -0600 | [diff] [blame^] | 146 | }, |
| 147 | { |
| 148 | "name": "nvme temps", |
| 149 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 150 | "property": { "name": "Value" } |
| 151 | }, |
| 152 | { |
| 153 | "name": "planar temps", |
| 154 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 155 | "property": { "name": "Value" } |
| 156 | }, |
| 157 | { |
| 158 | "name": "flett temps", |
| 159 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 160 | "property": { "name": "Value" } |
| 161 | }, |
| 162 | { |
| 163 | "name": "bear lake temps", |
| 164 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 165 | "property": { "name": "Value" } |
| 166 | }, |
| 167 | { |
| 168 | "name": "ambient temp", |
| 169 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 170 | "property": { "name": "Value" } |
Matthew Barth | 09b09e5 | 2021-10-28 15:29:13 -0500 | [diff] [blame] | 171 | } |
| 172 | ], |
| 173 | "target": 10000 |
| 174 | } |
| 175 | ] |
| 176 | } |
| 177 | ] |
Matt Spinler | 5934f09 | 2021-11-03 14:30:28 -0500 | [diff] [blame] | 178 | }, |
| 179 | { |
| 180 | // Set a fan floor if an OCC isn't active |
| 181 | "name": "Non-active OCC(s)", |
| 182 | "groups": [ |
| 183 | { |
| 184 | "name": "occ objects", |
| 185 | "interface": "org.open_power.OCC.Status", |
| 186 | "property": { |
| 187 | "name": "OccActive" |
| 188 | } |
| 189 | } |
| 190 | ], |
| 191 | "triggers": [ |
| 192 | { |
| 193 | "class": "signal", |
| 194 | "signal": "properties_changed" |
| 195 | }, |
| 196 | { |
| 197 | "class": "signal", |
| 198 | "signal": "interfaces_added" |
| 199 | }, |
| 200 | { |
| 201 | "class": "init", |
| 202 | "method": "get_properties" |
| 203 | } |
| 204 | ], |
| 205 | "actions": [ |
| 206 | { |
| 207 | "name": "count_state_floor", |
| 208 | "count": 1, |
| 209 | "state": false, |
| 210 | "floor": 10000 |
| 211 | } |
| 212 | ] |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 213 | }, |
| 214 | { |
Matthew Barth | 4172d8d | 2022-01-13 11:31:54 -0600 | [diff] [blame] | 215 | // Set a raised fan floor when any temperature sensor is nonfunctional |
| 216 | "name": "Nonfunctional temperature sensors", |
Matthew Barth | 39925fb | 2022-01-12 10:45:59 -0600 | [diff] [blame] | 217 | "groups": [ |
| 218 | { |
| 219 | "name": "proc0 core temps", |
| 220 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 221 | "property": { "name": "Functional" } |
| 222 | }, |
| 223 | { |
| 224 | "name": "proc1 core temps", |
| 225 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 226 | "property": { "name": "Functional" } |
| 227 | }, |
| 228 | { |
| 229 | "name": "proc0 ioring temp", |
| 230 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 231 | "property": { "name": "Functional" } |
| 232 | }, |
| 233 | { |
| 234 | "name": "proc1 ioring temp", |
| 235 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 236 | "property": { "name": "Functional" } |
| 237 | }, |
| 238 | { |
| 239 | "name": "dram temps", |
| 240 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 241 | "property": { "name": "Functional" } |
| 242 | }, |
| 243 | { |
| 244 | "name": "pmic temps", |
| 245 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 246 | "property": { "name": "Functional" } |
| 247 | }, |
| 248 | { |
| 249 | "name": "internal memory buffer temps", |
| 250 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 251 | "property": { "name": "Functional" } |
| 252 | }, |
| 253 | { |
| 254 | "name": "dram and external memory buffer temps", |
| 255 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 256 | "property": { "name": "Functional" } |
| 257 | }, |
| 258 | { |
| 259 | "name": "external memory buffer temps", |
| 260 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 261 | "property": { "name": "Functional" } |
| 262 | }, |
| 263 | { |
| 264 | "name": "vdd vrm temps", |
| 265 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 266 | "property": { "name": "Functional" } |
Matthew Barth | 4172d8d | 2022-01-13 11:31:54 -0600 | [diff] [blame] | 267 | }, |
| 268 | { |
| 269 | "name": "nvme temps", |
| 270 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 271 | "property": { "name": "Functional" } |
| 272 | }, |
| 273 | { |
| 274 | "name": "planar temps", |
| 275 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 276 | "property": { "name": "Functional" } |
| 277 | }, |
| 278 | { |
| 279 | "name": "flett temps", |
| 280 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 281 | "property": { "name": "Functional" } |
| 282 | }, |
| 283 | { |
| 284 | "name": "bear lake temps", |
| 285 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 286 | "property": { "name": "Functional" } |
Matthew Barth | 8d6cf06 | 2022-01-13 14:02:20 -0600 | [diff] [blame] | 287 | }, |
| 288 | { |
| 289 | "name": "ambient temp", |
| 290 | "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus", |
| 291 | "property": { "name": "Functional" } |
Matthew Barth | 39925fb | 2022-01-12 10:45:59 -0600 | [diff] [blame] | 292 | } |
| 293 | ], |
| 294 | "triggers": [ |
| 295 | { |
| 296 | "class": "signal", |
| 297 | "signal": "properties_changed" |
| 298 | }, |
| 299 | { |
| 300 | "class": "signal", |
| 301 | "signal": "interfaces_added" |
| 302 | }, |
| 303 | { |
| 304 | "class": "init", |
| 305 | "method": "get_properties" |
| 306 | } |
| 307 | ], |
| 308 | "actions": [ |
| 309 | { |
| 310 | "name": "count_state_floor", |
| 311 | "count": 1, |
| 312 | "state": false, |
| 313 | "floor": 10000 |
| 314 | } |
| 315 | ] |
| 316 | }, |
| 317 | { |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 318 | "name": "Set Proc 0 Core DVFS parameter", |
| 319 | "groups": [ |
| 320 | { |
| 321 | "name": "proc 0 core dvfs temp", |
| 322 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 323 | "property": { "name": "Value" } |
| 324 | } |
| 325 | ], |
| 326 | "triggers": [ |
| 327 | { |
| 328 | "class": "init", |
| 329 | "method": "get_properties" |
| 330 | }, |
| 331 | { |
| 332 | "class": "signal", |
| 333 | "signal": "interfaces_added" |
| 334 | }, |
| 335 | { |
| 336 | "class": "signal", |
| 337 | "signal": "properties_changed" |
| 338 | } |
| 339 | ], |
| 340 | "actions": [ |
| 341 | { |
| 342 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 343 | "parameter_name": "proc_0_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 344 | "modifier": { |
| 345 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 346 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 347 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 348 | }, |
| 349 | { |
| 350 | "name": "set_parameter_from_group_max", |
| 351 | "parameter_name": "proc_0_core_dvfs_decrease_temp", |
| 352 | "modifier": { |
| 353 | "operator": "minus", |
| 354 | "value": 13 |
| 355 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 356 | } |
| 357 | ] |
| 358 | }, |
| 359 | { |
| 360 | "name": "Set Proc 1 Core DVFS parameter", |
| 361 | "groups": [ |
| 362 | { |
| 363 | "name": "proc 1 core dvfs temp", |
| 364 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 365 | "property": { "name": "Value" } |
| 366 | } |
| 367 | ], |
| 368 | "triggers": [ |
| 369 | { |
| 370 | "class": "init", |
| 371 | "method": "get_properties" |
| 372 | }, |
| 373 | { |
| 374 | "class": "signal", |
| 375 | "signal": "interfaces_added" |
| 376 | }, |
| 377 | { |
| 378 | "class": "signal", |
| 379 | "signal": "properties_changed" |
| 380 | } |
| 381 | ], |
| 382 | "actions": [ |
| 383 | { |
| 384 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 385 | "parameter_name": "proc_1_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 386 | "modifier": { |
| 387 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 388 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 389 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 390 | }, |
| 391 | { |
| 392 | "name": "set_parameter_from_group_max", |
| 393 | "parameter_name": "proc_1_core_dvfs_decrease_temp", |
| 394 | "modifier": { |
| 395 | "operator": "minus", |
| 396 | "value": 13 |
| 397 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 398 | } |
| 399 | ] |
| 400 | }, |
| 401 | { |
| 402 | "name": "Set Proc 0 IO Ring DVFS parameter", |
| 403 | "groups": [ |
| 404 | { |
| 405 | "name": "proc 0 ioring dvfs temp", |
| 406 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 407 | "property": { "name": "Value" } |
| 408 | } |
| 409 | ], |
| 410 | "triggers": [ |
| 411 | { |
| 412 | "class": "init", |
| 413 | "method": "get_properties" |
| 414 | }, |
| 415 | { |
| 416 | "class": "signal", |
| 417 | "signal": "interfaces_added" |
| 418 | }, |
| 419 | { |
| 420 | "class": "signal", |
| 421 | "signal": "properties_changed" |
| 422 | } |
| 423 | ], |
| 424 | "actions": [ |
| 425 | { |
| 426 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 427 | "parameter_name": "proc_0_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 428 | "modifier": { |
| 429 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 430 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 431 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 432 | }, |
| 433 | { |
| 434 | "name": "set_parameter_from_group_max", |
| 435 | "parameter_name": "proc_0_ioring_dvfs_decrease_temp", |
| 436 | "modifier": { |
| 437 | "operator": "minus", |
| 438 | "value": 13 |
| 439 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 440 | } |
| 441 | ] |
| 442 | }, |
| 443 | { |
| 444 | "name": "Set Proc 1 IO Ring DVFS parameter", |
| 445 | "groups": [ |
| 446 | { |
| 447 | "name": "proc 1 ioring dvfs temp", |
| 448 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 449 | "property": { "name": "Value" } |
| 450 | } |
| 451 | ], |
| 452 | "triggers": [ |
| 453 | { |
| 454 | "class": "init", |
| 455 | "method": "get_properties" |
| 456 | }, |
| 457 | { |
| 458 | "class": "signal", |
| 459 | "signal": "interfaces_added" |
| 460 | }, |
| 461 | { |
| 462 | "class": "signal", |
| 463 | "signal": "properties_changed" |
| 464 | } |
| 465 | ], |
| 466 | "actions": [ |
| 467 | { |
| 468 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 469 | "parameter_name": "proc_1_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 470 | "modifier": { |
| 471 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 472 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 473 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 474 | }, |
| 475 | { |
| 476 | "name": "set_parameter_from_group_max", |
| 477 | "parameter_name": "proc_1_ioring_dvfs_decrease_temp", |
| 478 | "modifier": { |
| 479 | "operator": "minus", |
| 480 | "value": 13 |
| 481 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 482 | } |
| 483 | ] |
Matthew Barth | b6f1035 | 2021-12-02 17:42:49 -0600 | [diff] [blame] | 484 | }, |
| 485 | { |
| 486 | // Collect group temperatures each iteration the repeating timer expires |
| 487 | "name": "Fan control timer loop", |
| 488 | "groups": [ |
| 489 | { |
| 490 | "name": "proc0 core temps", |
| 491 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 492 | "property": { "name": "Value" } |
| 493 | }, |
| 494 | { |
| 495 | "name": "proc1 core temps", |
| 496 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 497 | "property": { "name": "Value" } |
| 498 | }, |
| 499 | { |
| 500 | "name": "proc0 ioring temp", |
| 501 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 502 | "property": { "name": "Value" } |
| 503 | }, |
| 504 | { |
| 505 | "name": "proc1 ioring temp", |
| 506 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 507 | "property": { "name": "Value" } |
| 508 | }, |
| 509 | { |
| 510 | "name": "dram temps", |
| 511 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 512 | "property": { "name": "Value" } |
| 513 | }, |
| 514 | { |
| 515 | "name": "pmic temps", |
| 516 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 517 | "property": { "name": "Value" } |
| 518 | }, |
| 519 | { |
| 520 | "name": "internal memory buffer temps", |
| 521 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 522 | "property": { "name": "Value" } |
| 523 | }, |
| 524 | { |
| 525 | "name": "dram and external memory buffer temps", |
| 526 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 527 | "property": { "name": "Value" } |
| 528 | }, |
| 529 | { |
| 530 | "name": "external memory buffer temps", |
| 531 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 532 | "property": { "name": "Value" } |
| 533 | }, |
| 534 | { |
| 535 | "name": "vdd vrm temps", |
| 536 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 537 | "property": { "name": "Value" } |
Matthew Barth | 23a7b2b | 2022-01-11 15:22:55 -0600 | [diff] [blame] | 538 | }, |
| 539 | { |
| 540 | "name": "nvme temps", |
| 541 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 542 | "property": { "name": "Value" } |
| 543 | }, |
| 544 | { |
| 545 | "name": "planar temps", |
| 546 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 547 | "property": { "name": "Value" } |
Matt Spinler | 9b7fc00 | 2022-01-11 15:35:29 -0600 | [diff] [blame] | 548 | }, |
| 549 | { |
| 550 | "name": "flett temps", |
| 551 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 552 | "property": { "name": "Value" } |
| 553 | }, |
| 554 | { |
| 555 | "name": "bear lake temps", |
| 556 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 557 | "property": { "name": "Value" } |
Matthew Barth | b6f1035 | 2021-12-02 17:42:49 -0600 | [diff] [blame] | 558 | } |
| 559 | ], |
| 560 | "triggers": [ |
| 561 | { |
| 562 | "class": "timer", |
| 563 | "type": "repeating", |
| 564 | "interval": 2000000, |
| 565 | "preload_groups": true |
| 566 | } |
Matthew Barth | bf3c6b9 | 2021-12-06 22:35:30 -0600 | [diff] [blame] | 567 | ], |
| 568 | "actions": [ |
| 569 | { |
| 570 | "name": "set_net_increase_target", |
| 571 | "groups": [ |
| 572 | { |
| 573 | "name": "proc0 core temps", |
| 574 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 575 | "property": { "name": "Value" } |
| 576 | } |
| 577 | ], |
| 578 | "state_parameter_name": "proc_0_core_dvfs_increase_temp", |
| 579 | "delta": 300 |
| 580 | }, |
| 581 | { |
| 582 | "name": "set_net_increase_target", |
| 583 | "groups": [ |
| 584 | { |
| 585 | "name": "proc1 core temps", |
| 586 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 587 | "property": { "name": "Value" } |
| 588 | } |
| 589 | ], |
| 590 | "state_parameter_name": "proc_1_core_dvfs_increase_temp", |
| 591 | "delta": 300 |
| 592 | }, |
| 593 | { |
| 594 | "name": "set_net_increase_target", |
| 595 | "groups": [ |
| 596 | { |
| 597 | "name": "proc0 ioring temp", |
| 598 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 599 | "property": { "name": "Value" } |
| 600 | } |
| 601 | ], |
| 602 | "state_parameter_name": "proc_0_ioring_dvfs_increase_temp", |
| 603 | "delta": 300 |
| 604 | }, |
| 605 | { |
| 606 | "name": "set_net_increase_target", |
| 607 | "groups": [ |
| 608 | { |
| 609 | "name": "proc1 ioring temp", |
| 610 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 611 | "property": { "name": "Value" } |
| 612 | } |
| 613 | ], |
| 614 | "state_parameter_name": "proc_1_ioring_dvfs_increase_temp", |
| 615 | "delta": 300 |
| 616 | }, |
| 617 | { |
| 618 | "name": "set_net_increase_target", |
| 619 | "groups": [ |
| 620 | { |
| 621 | "name": "dram temps", |
| 622 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 623 | "property": { "name": "Value" } |
| 624 | } |
| 625 | ], |
| 626 | "state": 66.0, |
| 627 | "delta": 200 |
| 628 | }, |
| 629 | { |
| 630 | "name": "set_net_increase_target", |
| 631 | "groups": [ |
| 632 | { |
| 633 | "name": "pmic temps", |
| 634 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 635 | "property": { "name": "Value" } |
| 636 | } |
| 637 | ], |
| 638 | "state": 52.0, |
| 639 | "delta": 200 |
| 640 | }, |
| 641 | { |
| 642 | "name": "set_net_increase_target", |
| 643 | "groups": [ |
| 644 | { |
| 645 | "name": "internal memory buffer temps", |
| 646 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 647 | "property": { "name": "Value" } |
| 648 | } |
| 649 | ], |
| 650 | "state": 72.0, |
| 651 | "delta": 200 |
| 652 | }, |
| 653 | { |
| 654 | "name": "set_net_increase_target", |
| 655 | "groups": [ |
| 656 | { |
| 657 | "name": "dram and external memory buffer temps", |
| 658 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 659 | "property": { "name": "Value" } |
| 660 | } |
| 661 | ], |
| 662 | "state": 55.0, |
| 663 | "delta": 200 |
| 664 | }, |
| 665 | { |
| 666 | "name": "set_net_increase_target", |
| 667 | "groups": [ |
| 668 | { |
| 669 | "name": "external memory buffer temps", |
| 670 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 671 | "property": { "name": "Value" } |
| 672 | } |
| 673 | ], |
| 674 | "state": 55.0, |
| 675 | "delta": 200 |
| 676 | }, |
| 677 | { |
| 678 | "name": "set_net_increase_target", |
| 679 | "groups": [ |
| 680 | { |
| 681 | "name": "vdd vrm temps", |
| 682 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 683 | "property": { "name": "Value" } |
| 684 | } |
| 685 | ], |
| 686 | "state": 82.0, |
| 687 | "delta": 300 |
Matthew Barth | 1cb3ce1 | 2021-12-06 22:38:15 -0600 | [diff] [blame] | 688 | }, |
| 689 | { |
Matthew Barth | 4a7337e | 2021-12-08 22:03:48 -0600 | [diff] [blame] | 690 | "name": "set_net_increase_target", |
| 691 | "groups": [ |
| 692 | { |
| 693 | "name": "nvme temps", |
| 694 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 695 | "property": { "name": "Value" } |
| 696 | } |
| 697 | ], |
| 698 | "state": 58.0, |
| 699 | "delta": 200 |
| 700 | }, |
| 701 | { |
Matthew Barth | 075fcd8 | 2021-12-13 20:56:49 -0600 | [diff] [blame] | 702 | "name": "set_net_increase_target", |
| 703 | "groups": [ |
| 704 | { |
| 705 | "name": "planar temps", |
| 706 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 707 | "property": { "name": "Value" } |
| 708 | } |
| 709 | ], |
| 710 | "state": 65.0, |
| 711 | "delta": 255 |
| 712 | }, |
| 713 | { |
Matt Spinler | 1006fe3 | 2022-01-10 14:06:22 -0600 | [diff] [blame] | 714 | "name": "set_net_increase_target", |
| 715 | "groups": [ |
| 716 | { |
| 717 | "name": "flett temps", |
| 718 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 719 | "property": { "name": "Value" } |
| 720 | } |
| 721 | ], |
| 722 | "state": 70.0, |
| 723 | "delta": 255 |
| 724 | }, |
| 725 | { |
| 726 | "name": "set_net_increase_target", |
| 727 | "groups": [ |
| 728 | { |
| 729 | "name": "bear lake temps", |
| 730 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 731 | "property": { "name": "Value" } |
| 732 | } |
| 733 | ], |
| 734 | "state": 70.0, |
| 735 | "delta": 255 |
| 736 | }, |
| 737 | { |
Matthew Barth | 1cb3ce1 | 2021-12-06 22:38:15 -0600 | [diff] [blame] | 738 | "name": "set_net_decrease_target", |
| 739 | "groups": [ |
| 740 | { |
| 741 | "name": "proc0 core temps", |
| 742 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 743 | "property": { "name": "Value" } |
| 744 | } |
| 745 | ], |
| 746 | "state_parameter_name": "proc_0_core_dvfs_decrease_temp", |
| 747 | "delta": 30 |
| 748 | }, |
| 749 | { |
| 750 | "name": "set_net_decrease_target", |
| 751 | "groups": [ |
| 752 | { |
| 753 | "name": "proc1 core temps", |
| 754 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 755 | "property": { "name": "Value" } |
| 756 | } |
| 757 | ], |
| 758 | "state_parameter_name": "proc_1_core_dvfs_decrease_temp", |
| 759 | "delta": 30 |
| 760 | }, |
| 761 | { |
| 762 | "name": "set_net_decrease_target", |
| 763 | "groups": [ |
| 764 | { |
| 765 | "name": "proc0 ioring temp", |
| 766 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 767 | "property": { "name": "Value" } |
| 768 | } |
| 769 | ], |
| 770 | "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp", |
| 771 | "delta": 30 |
| 772 | }, |
| 773 | { |
| 774 | "name": "set_net_decrease_target", |
| 775 | "groups": [ |
| 776 | { |
| 777 | "name": "proc1 ioring temp", |
| 778 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 779 | "property": { "name": "Value" } |
| 780 | } |
| 781 | ], |
| 782 | "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp", |
| 783 | "delta": 30 |
| 784 | }, |
| 785 | { |
| 786 | "name": "set_net_decrease_target", |
| 787 | "groups": [ |
| 788 | { |
| 789 | "name": "dram temps", |
| 790 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 791 | "property": { "name": "Value" } |
| 792 | } |
| 793 | ], |
| 794 | "state": 63.0, |
| 795 | "delta": 40 |
| 796 | }, |
| 797 | { |
| 798 | "name": "set_net_decrease_target", |
| 799 | "groups": [ |
| 800 | { |
| 801 | "name": "pmic temps", |
| 802 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 803 | "property": { "name": "Value" } |
| 804 | } |
| 805 | ], |
| 806 | "state": 49.0, |
| 807 | "delta": 40 |
| 808 | }, |
| 809 | { |
| 810 | "name": "set_net_decrease_target", |
| 811 | "groups": [ |
| 812 | { |
| 813 | "name": "internal memory buffer temps", |
| 814 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 815 | "property": { "name": "Value" } |
| 816 | } |
| 817 | ], |
| 818 | "state": 69.0, |
| 819 | "delta": 40 |
| 820 | }, |
| 821 | { |
| 822 | "name": "set_net_decrease_target", |
| 823 | "groups": [ |
| 824 | { |
| 825 | "name": "dram and external memory buffer temps", |
| 826 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 827 | "property": { "name": "Value" } |
| 828 | } |
| 829 | ], |
| 830 | "state": 52.0, |
| 831 | "delta": 40 |
| 832 | }, |
| 833 | { |
| 834 | "name": "set_net_decrease_target", |
| 835 | "groups": [ |
| 836 | { |
| 837 | "name": "external memory buffer temps", |
| 838 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 839 | "property": { "name": "Value" } |
| 840 | } |
| 841 | ], |
| 842 | "state": 52.0, |
| 843 | "delta": 40 |
| 844 | }, |
| 845 | { |
| 846 | "name": "set_net_decrease_target", |
| 847 | "groups": [ |
| 848 | { |
| 849 | "name": "vdd vrm temps", |
| 850 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 851 | "property": { "name": "Value" } |
| 852 | } |
| 853 | ], |
| 854 | "state": 79.0, |
| 855 | "delta": 30 |
Matthew Barth | cd8a80f | 2021-12-08 22:28:38 -0600 | [diff] [blame] | 856 | }, |
| 857 | { |
| 858 | "name": "set_net_decrease_target", |
| 859 | "groups": [ |
| 860 | { |
| 861 | "name": "nvme temps", |
| 862 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 863 | "property": { "name": "Value" } |
| 864 | } |
| 865 | ], |
| 866 | "state": 55.0, |
| 867 | "delta": 40 |
Matthew Barth | 075fcd8 | 2021-12-13 20:56:49 -0600 | [diff] [blame] | 868 | }, |
| 869 | { |
| 870 | "name": "set_net_decrease_target", |
| 871 | "groups": [ |
| 872 | { |
| 873 | "name": "planar temps", |
| 874 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 875 | "property": { "name": "Value" } |
| 876 | } |
| 877 | ], |
| 878 | "state": 60.0, |
| 879 | "delta": 80 |
Matt Spinler | 1006fe3 | 2022-01-10 14:06:22 -0600 | [diff] [blame] | 880 | }, |
| 881 | { |
| 882 | "name": "set_net_decrease_target", |
| 883 | "groups": [ |
| 884 | { |
| 885 | "name": "flett temps", |
| 886 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 887 | "property": { "name": "Value" } |
| 888 | } |
| 889 | ], |
| 890 | "state": 65.0, |
| 891 | "delta": 80 |
| 892 | }, |
| 893 | { |
| 894 | "name": "set_net_decrease_target", |
| 895 | "groups": [ |
| 896 | { |
| 897 | "name": "bear lake temps", |
| 898 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 899 | "property": { "name": "Value" } |
| 900 | } |
| 901 | ], |
| 902 | "state": 65.0, |
| 903 | "delta": 80 |
Matthew Barth | bf3c6b9 | 2021-12-06 22:35:30 -0600 | [diff] [blame] | 904 | } |
Matthew Barth | b6f1035 | 2021-12-02 17:42:49 -0600 | [diff] [blame] | 905 | ] |
Matthew Barth | cf34be2 | 2021-12-08 22:53:48 -0600 | [diff] [blame] | 906 | }, |
| 907 | { |
| 908 | // Remove NVMe temperature objects from cache when they are removed from |
| 909 | // dbus. There's no need to react to their removal. |
| 910 | "name": "remove nvme objects", |
| 911 | "groups": [ |
| 912 | { |
| 913 | "name": "nvme temps", |
| 914 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 915 | "property": { "name": "Value" } |
| 916 | } |
| 917 | ], |
| 918 | "triggers": [ |
| 919 | { |
| 920 | "class": "signal", |
| 921 | "signal": "interfaces_removed" |
| 922 | } |
| 923 | ] |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 924 | } |
Matthew Barth | b477a56 | 2021-10-19 14:39:19 -0500 | [diff] [blame] | 925 | ] |