Re: [edk2] [PATCH 2/4] ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode

2018-12-19 Thread Thomas Abraham
Hi Ard, On Tue, Dec 18, 2018 at 9:59 PM Ard Biesheuvel wrote: > > On Tue, 18 Dec 2018 at 14:39, Leif Lindholm wrote: > > > > On Tue, Dec 18, 2018 at 02:10:12PM +0100, Ard Biesheuvel wrote: > > > The SP805 watchdog driver doesn't implement the PI watchdog protocol > > > fully, but always simply

Re: [edk2] [PATCH 2/4] ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode

2018-12-18 Thread Ard Biesheuvel
On Tue, 18 Dec 2018 at 14:39, Leif Lindholm wrote: > > On Tue, Dec 18, 2018 at 02:10:12PM +0100, Ard Biesheuvel wrote: > > The SP805 watchdog driver doesn't implement the PI watchdog protocol > > fully, but always simply resets the system if the watchdog time runs > > out. > > > > However, the

Re: [edk2] [PATCH 2/4] ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode

2018-12-18 Thread Ard Biesheuvel
On Tue, 18 Dec 2018 at 16:58, Udit Kumar wrote: > > > > > -Original Message- > > From: Ard Biesheuvel > > Sent: Tuesday, December 18, 2018 6:40 PM > > To: edk2-devel@lists.01.org > > Cc: Ard Biesheuvel ; Leif Lindholm > > ; Sami Mujawar ; Thomas > > Panakamattam Abraham ; Meenakshi

Re: [edk2] [PATCH 2/4] ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode

2018-12-18 Thread Udit Kumar
> -Original Message- > From: Ard Biesheuvel > Sent: Tuesday, December 18, 2018 6:40 PM > To: edk2-devel@lists.01.org > Cc: Ard Biesheuvel ; Leif Lindholm > ; Sami Mujawar ; Thomas > Panakamattam Abraham ; Meenakshi Aggarwal > ; Udit Kumar ; Matteo > Carlini ; Nariman Poushin > >

Re: [edk2] [PATCH 2/4] ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode

2018-12-18 Thread Leif Lindholm
On Tue, Dec 18, 2018 at 02:10:12PM +0100, Ard Biesheuvel wrote: > The SP805 watchdog driver doesn't implement the PI watchdog protocol > fully, but always simply resets the system if the watchdog time runs > out. > > However, the hardware does support the intended usage model, as long > as the

[edk2] [PATCH 2/4] ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode

2018-12-18 Thread Ard Biesheuvel
The SP805 watchdog driver doesn't implement the PI watchdog protocol fully, but always simply resets the system if the watchdog time runs out. However, the hardware does support the intended usage model, as long as the SP805 is wired up correctly. So let's implement interrupt based mode involving