Re: [PATCH v2 0/3] clk: renesas: cpg-mssr: add ignore-unused option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The point of this is to allow a WDT that has been enabled by the bootloader
> to survive these events:
> 
> - deferred probing of the WDT device, which can lead the clock driver
>   to disable the WDT clock until the WDT is re-probed, giving it a
>   blind spot
> - probe failure in the WDT driver

So, I was trying to test this with the watchdog driver and my patch[1].
To make the watchdog_register_device() call fail, I cleared the ident
struct:

	priv->wdev.info = NULL; //&rwdt_ident;

Sadly, the watchdog does not fire after the driver bailed out of probe.
clk_summary rightfully says that the clock is neither prepared nor
enabled.

Did I miss something? I will try some more tomorrow.

Uli, how did you test the ignore_unused feature?

[1] https://patchwork.kernel.org/patch/11101573/
   "[PATCH v2] watchdog: renesas_wdt: support handover from bootloader"

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux