changes since v2: - rebased on next (dropped former p1) - added 5s timeout guard around IPMI cmds - return EFI_DEVICE_ERROR from init when retry loop times out - introduced Stall call in wait function - add a way to only probe once, IPMI is not PCI bound and once is enough
changes since v1: - whitespace fix - remove temporary editor file from p3 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. Henning Schild (2): Move smbios helper function into utils. watchdog: ipmi: Add driver for machines with IPMI Makefile.am | 2 + drivers/watchdog/ipc4x7e_wdt.c | 25 ---- drivers/watchdog/ipmi_wdt.c | 209 +++++++++++++++++++++++++++++++++ include/utils.h | 3 + utils.c | 25 ++++ 5 files changed, 239 insertions(+), 25 deletions(-) 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/20230601182052.25308-1-henning.schild%40siemens.com.
