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