Changes in v4: - drop check for pci_io/pci_vendor_id/pci_device_id since init will be called with these being non-zero when a PCI bus is detected (we may still ignore these) - refactor lookup for RSDP as suggested by Jan (merge 2 "if" clauses into one - add reference to Linux WDAT structures that were imported into this driver - add references to ACPI specs for structs we use (RSDP, XSDP, GAS)
Changes in v3: - place wdat.c first and note its precedence as done for ipc4x7e_wdt.c Changes in v2: - addressed stylistic review comments from Jan - (TYPE *)var instead of (TYPE *) var - do not indent "case" in switch statements - remove over-defensive if statements - let the compiler decide when to inline - move REBOOT action up - no longer print a warning for unsupported actions (let callers do that) - removed changes to main.c - moved wdat.c before itco.c so it takes precedence at runtime - call readl() (as expected) for width == 3 New revision of this patch tested on SIMATIC IPC127E. Cedric Hombourger (1): drivers/watchdog: add support for WDAT (ACPI) watchdogs Makefile.am | 2 + drivers/watchdog/wdat.c | 439 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 441 insertions(+) create mode 100644 drivers/watchdog/wdat.c -- 2.30.2 -- 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/20210705163622.793-1-Cedric_Hombourger%40mentor.com.
