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