Building a kernel with the diag288 watchdog device driver

7.1 LPAR mode z/VM guest KVM guest

You must select the kernel configuration option CONFIG_DIAG288_WATCHDOG to be able to use the watchdog device driver.

Kernel builders: This information is intended for those who want to build their own kernel. Be aware that both compiling your own kernel or recompiling an existing distribution usually means that you have to maintain your kernel yourself.
Figure 1. Watchdog kernel configuration option
 Device Drivers --->
    ...
    Watchdog Timer Support --->                         (CONFIG_WATCHDOG)   
       ...
       --- Watchdog Device Drivers ---
       ...
       System z diag288 Watchdog                        (CONFIG_DIAG288_WATCHDOG)

The watchdog device driver can be compiled into the kernel or as a separate module, diag288_wdt.

CONFIG_DIAG288_WATCHDOG depends on the common code option CONFIG_WATCHDOG.