commit | a688a042ace043a3e60deebe84704735bfcc5183 | [log] [tgz] |
---|---|---|
author | Chanh Nguyen <chanh@os.amperecomputing.com> | Wed Apr 06 14:02:55 2022 +0700 |
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | Thu Oct 27 02:04:41 2022 +0000 |
tree | 5e6b3e064597893a2ce65b3e883a393ba0a705e8 | |
parent | 16b4d2556b5a885a2512eae4d308c94d41071dc8 [diff] [blame] |
meta-ampere: mtmitchell: handle overtemp event Configure gpio monitor to check for OVERTEMP GPIO signals from the Host CPU. Once the event happens, shutdown the Host to avoid hardware damage and log a Redfish event log. Tested: 1. Unplug all FANs and run stress test the Host so that the Temperature can reach 120C. 2. Check if BMC turns OFF the Host when the CPU Temp reaches 120C. Change-Id: Idc2b446023a1ba3476463e5cca28146ae2ead84a Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend b/meta-ampere/meta-mitchell/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend index 9750f28..62fbc64 100644 --- a/meta-ampere/meta-mitchell/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend +++ b/meta-ampere/meta-mitchell/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend
@@ -8,6 +8,7 @@ SYSTEMD_SERVICE:${PN}-monitor += " \ ampere-host-shutdown-ack@.service \ + ampere_overtemp@.service \ " FILES:${PN}-monitor += " \