Re: [PATCH v2 0/4] watchdog: add driver for Renesas Gen3 WDT watchdogs

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

 



Hi Günter,

On Mon, Apr 4, 2016 at 5:25 PM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> On Mon, Apr 04, 2016 at 05:21:44PM +0200, Geert Uytterhoeven wrote:
>> On Mon, Apr 4, 2016 at 4:59 PM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
>> >> My Salvator-X reboots after timeout from "cat > /dev/watchdog0", but
>> >> it doesn't reboot through "reboot" or "reboot -f"?
>> >
>> > That sadly doesn't work on Gen3. From the RFC v5 cover letter:
>>
>> > ===
>> >
>> > * drop restart_handler since ARM64 uses PSCI firmware resets which do
>> >   not call restart handlers
>> >
>> > The last point was quite a bummer to me because plain reboot was the
>> > reason I wrote this driver ;) Well, so is life...
>>
>> That's indeed silly. Can't we have it as a low-priority restart handler, to
>
> Yes, it is. It defeats the purpose of restart handlers. PSCI reset should have
> been implemented as a high priority restart handler.

Unfortunately that won't work: psci_sys_reset() doesn't return on failure.

We can still clear arm_pm_restart in platform code, though ;-)

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[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