Hi! > Cause of reset nodes: > - cpu_kernel_panic > - cpu_shutdown > - bmc_warm_reset This is not really suitable for hwmon, right? Can you talk to Date: Mon, 28 Aug 2017 09:31:30 -0700 From: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> To: linux-kernel@xxxxxxxxxxxxxxx Cc: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>, cphealy@xxxxxxxxx, Subject: [PATCH v6 1/2] platform: Add driver for RAVE Supervisory Processor ? He's currently trying to add very similar interface to the kernel, too. +What: /sys/devices/platform/*/serial*/serial*-*/reset_reason +Date: Aug 2017 +Contact: "Andrey Smirnov" <andrew.smirnov@xxxxxxxxx> +Description: (RO) Indicates reason for last reset. + + The following values can be reported: + * 0 -> Normal Power Off + * 1 -> Hardware Watchdog + * 2 -> Software Watchdog + * 3 -> Input Voltage Out Of Range + * 4 -> Host Requested + * 5 -> Temperature Out Of Range + * 6 -> User Requested (via long Power Button press) + * 7 -> Illegal Configuration Word + * 8 -> Illegal Insturction + * 9 -> Illegal Trap + * 10 -> Unknown + * 11 -> Crew Panel Requested + + NOTE: Codes 7,8 and 9 pertain to exceptions happening + in supervisory processor/its firmware and not host + CPU. We really want something common between different machines. Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature