From: Jan Kiszka <[email protected]> May help with debugging systems.
Suggested-by: Christopher Obbard <[email protected]> Signed-off-by: Jan Kiszka <[email protected]> --- drivers/watchdog/wdat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/wdat.c b/drivers/watchdog/wdat.c index 0875a50..4d77c35 100644 --- a/drivers/watchdog/wdat.c +++ b/drivers/watchdog/wdat.c @@ -439,10 +439,13 @@ static EFI_STATUS init(EFI_PCI_IO __attribute__((unused)) * pci_io, if (EFI_ERROR(status)) { return status; } + + INFO(L"Detected WDAT watchdog\n"); + if (!(wdat_table->flags & ACPI_WDAT_ENABLED)) { + INFO(L"WDAT disabled by firmware\n"); return EFI_UNSUPPORTED; } - INFO(L"Detected WDAT watchdog\n"); /* Check if the boot was caused by the watchdog */ status = run_action(wdat_table, ACPI_WDAT_GET_STATUS, 0, &boot_status); -- 2.43.0 -- 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/8c5b7360-2680-41a9-9fbe-a1a1449b4714%40siemens.com.
