[PATCH] ARM: imx: hab: panic on authentication failure

2020-08-04 Thread sbabic
> Instead of hang()ing the system and thus disallowing any automated > recovery possibility from a HAB authentication failure, panic() . > The panic() function can be configured to hang() the system after > printing an error message, however the default is to reset the > system instead. > This allo

Re: [PATCH] ARM: imx: hab: panic on authentication failure

2020-05-31 Thread Patrick Wildt
On Sun, May 31, 2020 at 06:51:14PM +0200, Marek Vasut wrote: > On 5/31/20 5:53 PM, Patrick Wildt wrote: > > On Sun, May 31, 2020 at 05:38:05PM +0200, Marek Vasut wrote: > >> On 5/30/20 10:53 PM, Patrick Wildt wrote: > >>> On Sat, May 30, 2020 at 10:29:19PM +0200, Marek Vasut wrote: > On 5/30/2

Re: [PATCH] ARM: imx: hab: panic on authentication failure

2020-05-31 Thread Marek Vasut
On 5/31/20 5:53 PM, Patrick Wildt wrote: > On Sun, May 31, 2020 at 05:38:05PM +0200, Marek Vasut wrote: >> On 5/30/20 10:53 PM, Patrick Wildt wrote: >>> On Sat, May 30, 2020 at 10:29:19PM +0200, Marek Vasut wrote: On 5/30/20 10:14 PM, Patrick Wildt wrote: > On Sat, May 30, 2020 at 03:31:29

Re: [PATCH] ARM: imx: hab: panic on authentication failure

2020-05-31 Thread Patrick Wildt
On Sun, May 31, 2020 at 05:38:05PM +0200, Marek Vasut wrote: > On 5/30/20 10:53 PM, Patrick Wildt wrote: > > On Sat, May 30, 2020 at 10:29:19PM +0200, Marek Vasut wrote: > >> On 5/30/20 10:14 PM, Patrick Wildt wrote: > >>> On Sat, May 30, 2020 at 03:31:29PM -0300, Fabio Estevam wrote: > Hi Mar

Re: [PATCH] ARM: imx: hab: panic on authentication failure

2020-05-31 Thread Marek Vasut
On 5/30/20 10:53 PM, Patrick Wildt wrote: > On Sat, May 30, 2020 at 10:29:19PM +0200, Marek Vasut wrote: >> On 5/30/20 10:14 PM, Patrick Wildt wrote: >>> On Sat, May 30, 2020 at 03:31:29PM -0300, Fabio Estevam wrote: Hi Marek, [Adding Breno] On Sat, May 30, 2020 at 3:29 PM

Re: [PATCH] ARM: imx: hab: panic on authentication failure

2020-05-30 Thread Patrick Wildt
On Sat, May 30, 2020 at 10:29:19PM +0200, Marek Vasut wrote: > On 5/30/20 10:14 PM, Patrick Wildt wrote: > > On Sat, May 30, 2020 at 03:31:29PM -0300, Fabio Estevam wrote: > >> Hi Marek, > >> > >> [Adding Breno] > >> > >> On Sat, May 30, 2020 at 3:29 PM Marek Vasut wrote: > >>> > >>> Instead of ha

Re: [PATCH] ARM: imx: hab: panic on authentication failure

2020-05-30 Thread Marek Vasut
On 5/30/20 10:14 PM, Patrick Wildt wrote: > On Sat, May 30, 2020 at 03:31:29PM -0300, Fabio Estevam wrote: >> Hi Marek, >> >> [Adding Breno] >> >> On Sat, May 30, 2020 at 3:29 PM Marek Vasut wrote: >>> >>> Instead of hang()ing the system and thus disallowing any automated >>> recovery possibility

Re: [PATCH] ARM: imx: hab: panic on authentication failure

2020-05-30 Thread Patrick Wildt
On Sat, May 30, 2020 at 03:31:29PM -0300, Fabio Estevam wrote: > Hi Marek, > > [Adding Breno] > > On Sat, May 30, 2020 at 3:29 PM Marek Vasut wrote: > > > > Instead of hang()ing the system and thus disallowing any automated > > recovery possibility from a HAB authentication failure, panic() . >

Re: [PATCH] ARM: imx: hab: panic on authentication failure

2020-05-30 Thread Fabio Estevam
Hi Marek, [Adding Breno] On Sat, May 30, 2020 at 3:29 PM Marek Vasut wrote: > > Instead of hang()ing the system and thus disallowing any automated > recovery possibility from a HAB authentication failure, panic() . > The panic() function can be configured to hang() the system after > printing an

[PATCH] ARM: imx: hab: panic on authentication failure

2020-05-30 Thread Marek Vasut
Instead of hang()ing the system and thus disallowing any automated recovery possibility from a HAB authentication failure, panic() . The panic() function can be configured to hang() the system after printing an error message, however the default is to reset the system instead. This allows redundan