summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_3.8.2.bb
diff options
context:
space:
mode:
authorRQ Lai <r.q.lai@quantatw.com>2026-07-08 03:55:21 +0300
committerPatrick Williams <patrick@stwcx.xyz>2026-07-08 16:04:50 +0300
commitce6774a962928ca2e2cc225378962f95740b5b6c (patch)
tree5efc823526351e97f659401bd3bfd598ecb77d09 /upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_3.8.2.bb
parent6ad8cae60b0d747eb1912478324e6205ec9ef49a (diff)
downloadopenbmc-ce6774a962928ca2e2cc225378962f95740b5b6c.tar.xz
meta-facebook rainiera6: Add thermal trip
Summary: THERMTRIP_n should result in an immediate power down of the SoC power rails which is under the control of the CPLD (leaving the STANDBY domain powered) 1. Immediately power down the SoC power rails when THERMTRIP_n is asserted. 2. Latch the THERMTRIP_n status so that the BMC can detect and log that the system powered off due to a thermal trip. 3. Allow the User to clear the THERMTRIP status in the CPLD after the system event log has been generated. Tested: Check process status: Jul 07 23:51:57 bmc phosphor-multi-gpio-monitor[1285]: GPIO Line SOC_THRMTRIP_N_CPLD Deasserted Jul 07 23:51:57 bmc systemd[1]: Created slice Slice /system/thermal-assert-log. Jul 07 23:51:57 bmc systemd[1]: Starting thermtrip_SOC_THRMTRIP_N_CPLD Thermal Assert... Jul 07 23:51:57 bmc log-create[1615]: OPENBMC_MESSAGE_ID={ "severity": 2, "xyz.openbmc_project.State.Thermal.DeviceOverOperatingTemperatureFault": { "DEVICE": "/xyz/openbmc_project/State/Thermal/SOC_THRMTRIP_N_CPLD", "FAILURE_DATA": "SOC_THRMTRIP_N_CPLD", "_SOURCE": { "COLUMN": 45, "FILE": "/usr/src/debug/phosphor-logging/1.0+git/log_create_main.cpp", "FUNCTION": "int generate_event(const std::string&, ...)", "LINE": 35, "PID": 1615 } } } Jul 07 23:51:57 bmc systemd[1]: thermal-assert-log@thermtrip_SOC_THRMTRIP_N_CPLD.service: Deactivated successfully. Jul 07 23:51:57 bmc systemd[1]: Finished thermtrip_SOC_THRMTRIP_N_CPLD Thermal Assert. Check Redfish log: "2": { "additional_data": { "DEVICE": "/xyz/openbmc_project/State/Thermal/SOC_THRMTRIP_N_CPLD", "FAILURE_DATA": "SOC_THRMTRIP_N_CPLD", "_CODE_FILE": "/usr/src/debug/phosphor-logging/1.0+git/log_create_ma "_CODE_FUNC": "int generate_event(const std::string&, const nlohmann", "_CODE_LINE": "35", "_PID": "1615" }, "event_id": "", "message": "xyz.openbmc_project.State.Thermal.DeviceOverOperatingTempera "redfish": { "args": [ "/xyz/openbmc_project/State/Thermal/SOC_THRMTRIP_N_CPLD" ], "id": "OpenBMC_StateThermal.DeviceOverOperatingTemperatureFault", "message": "Device /xyz/openbmc_project/State/Thermal/SOC_THRMTRIP_N rature and may have been powered off." }, "resolution": "", "resolved": false, "severity": "xyz.openbmc_project.Logging.Entry.Level.Critical", "timestamp": "2026-07-08T06:51:57.186000000Z", "updated_timestamp": "2026-07-08T06:51:57.186000000Z" }, "3": { "additional_data": { "HOST_PATH": "/xyz/openbmc_project/state/host0" }, "event_id": "", "message": "Host0 state is off", "resolution": "", "resolved": false, "severity": "xyz.openbmc_project.Logging.Entry.Level.Informational", "timestamp": "2026-07-08T06:52:02.087000000Z", "updated_timestamp": "2026-07-08T06:52:02.087000000Z" } Change-Id: Id4100681cb297ac7bae2ef2e1d4f2e04acf763ba Signed-off-by: RQ Lai <r.q.lai@quantatw.com>
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_3.8.2.bb')
0 files changed, 0 insertions, 0 deletions