Re: MCE handler gets NIP wrong on MPC8378

2020-02-25 Thread Radu Rendec
On 02/20/2020 at 12:48 PM Christophe Leroy wrote: > Le 20/02/2020 à 18:34, Radu Rendec a écrit : > > On 02/20/2020 at 11:25 AM Christophe Leroy wrote: > >> Le 20/02/2020 à 17:02, Radu Rendec a écrit : > >>> On 02/20/2020 at 3:38 AM Christophe Leroy wrote: > On 02/19/2020 10:39 PM, Radu Rend

Re: MCE handler gets NIP wrong on MPC8378

2020-02-20 Thread Christophe Leroy
Le 20/02/2020 à 18:34, Radu Rendec a écrit : On 02/20/2020 at 11:25 AM Christophe Leroy wrote: Le 20/02/2020 à 17:02, Radu Rendec a écrit : On 02/20/2020 at 3:38 AM Christophe Leroy wrote: On 02/19/2020 10:39 PM, Radu Rendec wrote: On 02/19/2020 at 4:21 PM Christophe Leroy wrote: Inter

Re: MCE handler gets NIP wrong on MPC8378

2020-02-20 Thread Radu Rendec
On 02/20/2020 at 11:25 AM Christophe Leroy wrote: > Le 20/02/2020 à 17:02, Radu Rendec a écrit : > > On 02/20/2020 at 3:38 AM Christophe Leroy wrote: > >> On 02/19/2020 10:39 PM, Radu Rendec wrote: > >>> On 02/19/2020 at 4:21 PM Christophe Leroy wrote: > > Interesting. > > > > 0x900

Re: MCE handler gets NIP wrong on MPC8378

2020-02-20 Thread Christophe Leroy
Le 20/02/2020 à 17:02, Radu Rendec a écrit : On 02/20/2020 at 3:38 AM Christophe Leroy wrote: On 02/19/2020 10:39 PM, Radu Rendec wrote: On 02/19/2020 at 4:21 PM Christophe Leroy wrote: Interesting. 0x900 is the adress of the timer interrupt. Would the MCE occur just after the timer int

Re: MCE handler gets NIP wrong on MPC8378

2020-02-20 Thread Radu Rendec
On 02/20/2020 at 3:38 AM Christophe Leroy wrote: > On 02/19/2020 10:39 PM, Radu Rendec wrote: > > On 02/19/2020 at 4:21 PM Christophe Leroy wrote: > >>> Interesting. > >>> > >>> 0x900 is the adress of the timer interrupt. > >>> > >>> Would the MCE occur just after the timer interrupt ? > > > > I

Re: MCE handler gets NIP wrong on MPC8378

2020-02-20 Thread Christophe Leroy
On 02/19/2020 10:39 PM, Radu Rendec wrote: On 02/19/2020 at 4:21 PM Christophe Leroy wrote: Radu Rendec a écrit : On 02/19/2020 at 10:11 AM Radu Rendec wrote: On 02/18/2020 at 1:08 PM Christophe Leroy wrote: Le 18/02/2020 à 18:07, Radu Rendec a écrit : The saved NIP seems to be broken

Re: MCE handler gets NIP wrong on MPC8378

2020-02-19 Thread Radu Rendec
On 02/19/2020 at 4:21 PM Christophe Leroy wrote: > > Radu Rendec a écrit : > >> On 02/19/2020 at 10:11 AM Radu Rendec wrote: > >>> On 02/18/2020 at 1:08 PM Christophe Leroy wrote: > Le 18/02/2020 à 18:07, Radu Rendec a écrit : > > The saved NIP seems to be broken inside machine_check_

Re: MCE handler gets NIP wrong on MPC8378

2020-02-19 Thread Christophe Leroy
Christophe Leroy a écrit : Radu Rendec a écrit : On 02/19/2020 at 10:11 AM Radu Rendec wrote: On 02/18/2020 at 1:08 PM Christophe Leroy wrote: Le 18/02/2020 à 18:07, Radu Rendec a écrit : > The saved NIP seems to be broken inside machine_check_exception() on > MPC8378, running Linux 4.9.

Re: MCE handler gets NIP wrong on MPC8378

2020-02-19 Thread Christophe Leroy
Radu Rendec a écrit : On 02/19/2020 at 10:11 AM Radu Rendec wrote: On 02/18/2020 at 1:08 PM Christophe Leroy wrote: > Le 18/02/2020 à 18:07, Radu Rendec a écrit : > > The saved NIP seems to be broken inside machine_check_exception() on > > MPC8378, running Linux 4.9.191. The value is 0x900 m

Re: MCE handler gets NIP wrong on MPC8378

2020-02-19 Thread Radu Rendec
On 02/19/2020 at 10:11 AM Radu Rendec wrote: > On 02/18/2020 at 1:08 PM Christophe Leroy wrote: > > Le 18/02/2020 à 18:07, Radu Rendec a écrit : > > > The saved NIP seems to be broken inside machine_check_exception() on > > > MPC8378, running Linux 4.9.191. The value is 0x900 most of the times, >

Re: MCE handler gets NIP wrong on MPC8378

2020-02-19 Thread Radu Rendec
On 02/18/2020 at 1:08 PM Christophe Leroy wrote: > Le 18/02/2020 à 18:07, Radu Rendec a écrit : > > The saved NIP seems to be broken inside machine_check_exception() on > > MPC8378, running Linux 4.9.191. The value is 0x900 most of the times, > > but I have seen other weird values. > > > > I've be

Re: MCE handler gets NIP wrong on MPC8378

2020-02-18 Thread Christophe Leroy
Le 18/02/2020 à 18:07, Radu Rendec a écrit : Hi Everyone, The saved NIP seems to be broken inside machine_check_exception() on MPC8378, running Linux 4.9.191. The value is 0x900 most of the times, but I have seen other weird values. I've been able to track down the entry code to head_32.S (v

MCE handler gets NIP wrong on MPC8378

2020-02-18 Thread Radu Rendec
Hi Everyone, The saved NIP seems to be broken inside machine_check_exception() on MPC8378, running Linux 4.9.191. The value is 0x900 most of the times, but I have seen other weird values. I've been able to track down the entry code to head_32.S (vector 0x200), but I'm not sure where/how the NIP v