Re: [PATCH v4 5/7] Watchdog: introduce ARM SBSA watchdog driver

From: Guenter Roeck
Date: Thu Jun 11 2015 - 01:14:07 EST


On 06/10/2015 08:45 PM, Timur Tabi wrote:
Fu Wei wrote:
Could you suggest a good way to use WS0, so we can follow SBSA spec?

To avoid the timeout/2 problem, WS0 calls panic, which is the "real" timeout/reset. WS1 is then a "backup" that is ignored by the driver. That is, the driver doesn't do anything with WS1 and it doesn't tell the kernel about WS1.

I know you don't like the idea of WS1 as a backup timeout, but this is one way to solve the problem.

This is what I would do.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/