Re: [PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-11-30 Thread Guenter Roeck
On Mon, Nov 30, 2020 at 07:27:00PM +0100, Robert Marko wrote: > On Mon, Nov 2, 2020 at 6:19 AM Kathiravan T wrote: > > > > > > On 11/2/2020 10:33 AM, Guenter Roeck wrote: > > > On 11/1/20 7:58 PM, Kathiravan T wrote: > > >> On 10/31/2020 7:38 PM, Guenter Roeck wrote: > > >>> On 10/31/20 5:11 AM, R

Re: [PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-11-30 Thread Bjorn Andersson
On Sat 31 Oct 07:11 CDT 2020, Robert Marko wrote: > If the watchdog hardware is enabled/running during boot, e.g. > due to a boot loader configuring it, we must tell the > watchdog framework about this fact so that it can ping the > watchdog until userspace opens the device and takes over > contro

Re: [PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-11-30 Thread Robert Marko
On Mon, Nov 2, 2020 at 6:19 AM Kathiravan T wrote: > > > On 11/2/2020 10:33 AM, Guenter Roeck wrote: > > On 11/1/20 7:58 PM, Kathiravan T wrote: > >> On 10/31/2020 7:38 PM, Guenter Roeck wrote: > >>> On 10/31/20 5:11 AM, Robert Marko wrote: > If the watchdog hardware is enabled/running during

Re: [PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-11-01 Thread Kathiravan T
On 11/2/2020 10:33 AM, Guenter Roeck wrote: On 11/1/20 7:58 PM, Kathiravan T wrote: On 10/31/2020 7:38 PM, Guenter Roeck wrote: On 10/31/20 5:11 AM, Robert Marko wrote: If the watchdog hardware is enabled/running during boot, e.g. due to a boot loader configuring it, we must tell the watchdo

Re: [PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-11-01 Thread Guenter Roeck
On 11/1/20 7:58 PM, Kathiravan T wrote: > > On 10/31/2020 7:38 PM, Guenter Roeck wrote: >> On 10/31/20 5:11 AM, Robert Marko wrote: >>> If the watchdog hardware is enabled/running during boot, e.g. >>> due to a boot loader configuring it, we must tell the >>> watchdog framework about this fact so

Re: [PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-11-01 Thread Kathiravan T
On 10/31/2020 7:38 PM, Guenter Roeck wrote: On 10/31/20 5:11 AM, Robert Marko wrote: If the watchdog hardware is enabled/running during boot, e.g. due to a boot loader configuring it, we must tell the watchdog framework about this fact so that it can ping the watchdog until userspace opens the

Re: [PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-10-31 Thread Guenter Roeck
On 10/31/20 5:11 AM, Robert Marko wrote: > If the watchdog hardware is enabled/running during boot, e.g. > due to a boot loader configuring it, we must tell the > watchdog framework about this fact so that it can ping the > watchdog until userspace opens the device and takes over > control. > > Do

[PATCH v4] watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate

2020-10-31 Thread Robert Marko
If the watchdog hardware is enabled/running during boot, e.g. due to a boot loader configuring it, we must tell the watchdog framework about this fact so that it can ping the watchdog until userspace opens the device and takes over control. Do so using the WDOG_HW_RUNNING flag that exists for exac