Re: Critical Interrupt Input

2013-08-27 Thread Henry Bausley
...@kernel.crashing.org Sent: Saturday, August 17, 2013 3:05 PM To: Kumar Gala ga...@kernel.crashing.org Cc: linuxppc-dev@lists.ozlabs.org, hbaus...@deltatau.com Subject: Re: Critical Interrupt Input On Fri, 2013-08-16 at 06:04 -0500, Kumar Gala wrote: The 44x low level code needs to handle

Re: Critical Interrupt Input

2013-08-27 Thread Benjamin Herrenschmidt
: Saturday, August 17, 2013 3:05 PM To: Kumar Gala ga...@kernel.crashing.org Cc: linuxppc-dev@lists.ozlabs.org, hbaus...@deltatau.com Subject: Re: Critical Interrupt Input On Fri, 2013-08-16 at 06:04 -0500, Kumar Gala wrote: The 44x low level code needs to handle

Re: Critical Interrupt Input

2013-08-20 Thread Henry Bausley
...@deltatau.com Subject: Re: Critical Interrupt Input On Fri, 2013-08-16 at 06:04 -0500, Kumar Gala wrote: The 44x low level code needs to handle exception stacks properly for this to work. Since its possible to have a critical exception occur while in a normal exception level, you

Re: Critical Interrupt Input

2013-08-20 Thread Benjamin Herrenschmidt
To: Kumar Gala ga...@kernel.crashing.org Cc: linuxppc-dev@lists.ozlabs.org, hbaus...@deltatau.com Subject: Re: Critical Interrupt Input On Fri, 2013-08-16 at 06:04 -0500, Kumar Gala wrote: The 44x low level code needs to handle exception stacks properly for this to work. Since its

Re: Critical Interrupt Input

2013-08-19 Thread Benjamin Herrenschmidt
: Critical Interrupt Input On Fri, 2013-08-16 at 06:04 -0500, Kumar Gala wrote: The 44x low level code needs to handle exception stacks properly for this to work. Since its possible to have a critical exception occur while in a normal exception level, you have to have proper saving

Re: Critical Interrupt Input

2013-08-19 Thread Denis Kirjanov
, August 17, 2013 3:05 PM To: Kumar Gala ga...@kernel.crashing.org Cc: linuxppc-dev@lists.ozlabs.org, hbaus...@deltatau.com Subject: Re: Critical Interrupt Input On Fri, 2013-08-16 at 06:04 -0500, Kumar Gala wrote: The 44x low level code needs to handle exception stacks properly

Re: Critical Interrupt Input

2013-08-19 Thread Henry Bausley
: Critical Interrupt Input On Fri, 2013-08-16 at 06:04 -0500, Kumar Gala wrote: The 44x low level code needs to handle exception stacks properly for this to work. Since its possible to have a critical exception occur while in a normal exception level, you have to have proper saving of additional

Re: Critical Interrupt Input

2013-08-17 Thread Benjamin Herrenschmidt
On Fri, 2013-08-16 at 06:04 -0500, Kumar Gala wrote: The 44x low level code needs to handle exception stacks properly for this to work. Since its possible to have a critical exception occur while in a normal exception level, you have to have proper saving of additional register state and a

Re: Critical Interrupt Input

2013-08-16 Thread Kumar Gala
On Aug 15, 2013, at 11:57 PM, Henry Bausley wrote: Is there any reason that a Critical Input Interrupt will not work reliably on a 44x powerpc? I am using an AMCC now Applied Micro AMCC460EX and changed CRITICAL_EXCEPTION(0x0100, CriticalInput, unknown_exception) to

Critical Interrupt Input

2013-08-15 Thread Henry Bausley
Is there any reason that a Critical Input Interrupt will not work reliably on a 44x powerpc? I am using an AMCC now Applied Micro AMCC460EX and changed CRITICAL_EXCEPTION(0x0100, CriticalInput, unknown_exception) to CRITICAL_EXCEPTION(0x0100, CriticalInput, do_MyCritIntr) The code for the