These patches add support for IPMI watchdogs typically found in server-class hardware. Machines having IPMI will in any version have a watchdog as well.
The Linux iTCO driver has special vendor logic for Supermicro, where the iTCO does not work in favour of IPMI. So we place that one before itco like done with the IPC 427E. This driver has error handling which was kind of hard to test, but the code can be easily placed into a user-space application with iopl(3) and "no action". Where ipmitool and other helpers can be used. The error handling also means we could end up in the unlikely and unfortunate situation where we would have to boot without the watchdog being actually armed. For testing i modified the code to cause some errors, and the retries and recovery worked. So i hope it would be highly unlikely that we fail to arm. p1 is unrelated, just a drive-by finding Henning Schild (3): gitignore: add pkgconf wildcard Move smbios helper function into utils. watchdog: ipmi: Add driver for machines with IPMI .gitignore | 1 + Makefile.am | 4 +- drivers/watchdog/.ipmi_wdt.c.swn | Bin 0 -> 12288 bytes drivers/watchdog/ipc4x7e_wdt.c | 25 ---- drivers/watchdog/ipmi_wdt.c | 193 +++++++++++++++++++++++++++++++ include/utils.h | 4 + utils.c | 25 ++++ 7 files changed, 226 insertions(+), 26 deletions(-) create mode 100644 drivers/watchdog/.ipmi_wdt.c.swn create mode 100644 drivers/watchdog/ipmi_wdt.c -- 2.39.3 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20230515180851.24382-1-henning.schild%40siemens.com.
