* Handling machine check exception
@ 2006-10-12 4:59 ganesh subramonian
2006-10-12 10:34 ` Matt Sealey
0 siblings, 1 reply; 5+ messages in thread
From: ganesh subramonian @ 2006-10-12 4:59 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I am trying to modify the machinecheck exception
handler so that checks caused by data access to a
particular address range can be ignored. In mpc866
there is a register called DAR(Data Address Register)
which gives the address[access to] which caused the
exception. However this is not mentioned in the
MPC8247 manual. Is there some equivalent register for
8247. (It seemed to me that the DAR should be a core
register and hence should be there on 8247 also. but
if i try to read i really dont get the address causing
the error).
Or is there some way i can specify that access to a
particular range of address should not cause a machine
check?? Please help.
thanks
ganesh
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Handling machine check exception
2006-10-12 4:59 Handling machine check exception ganesh subramonian
@ 2006-10-12 10:34 ` Matt Sealey
2006-10-12 14:51 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 5+ messages in thread
From: Matt Sealey @ 2006-10-12 10:34 UTC (permalink / raw)
To: ganesh subramonian; +Cc: linuxppc-dev
The G2 core definitely has a DAR register (SPR 19).
Look on the Freescale site for G2CORERM.pdf - this is
your reference manual, not the one specifically for the
8247.
--
Matt Sealey <matt@genesi-usa.com>
Genesi, Manager, Developer Relations
ganesh subramonian wrote:
> Hi,
>
> I am trying to modify the machinecheck exception
> handler so that checks caused by data access to a
> particular address range can be ignored. In mpc866
> there is a register called DAR(Data Address Register)
> which gives the address[access to] which caused the
> exception. However this is not mentioned in the
> MPC8247 manual. Is there some equivalent register for
> 8247. (It seemed to me that the DAR should be a core
> register and hence should be there on 8247 also. but
> if i try to read i really dont get the address causing
> the error).
>
> Or is there some way i can specify that access to a
> particular range of address should not cause a machine
> check?? Please help.
>
> thanks
> ganesh
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Handling machine check exception
2006-10-12 10:34 ` Matt Sealey
@ 2006-10-12 14:51 ` Benjamin Herrenschmidt
2006-10-12 20:05 ` Segher Boessenkool
0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2006-10-12 14:51 UTC (permalink / raw)
To: Matt Sealey; +Cc: ganesh subramonian, linuxppc-dev
On Thu, 2006-10-12 at 12:34 +0200, Matt Sealey wrote:
> The G2 core definitely has a DAR register (SPR 19).
>
> Look on the Freescale site for G2CORERM.pdf - this is
> your reference manual, not the one specifically for the
> 8247.
Is DAR set for a machine check ?
Ben.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Handling machine check exception
2006-10-12 14:51 ` Benjamin Herrenschmidt
@ 2006-10-12 20:05 ` Segher Boessenkool
2006-10-14 14:04 ` ganesh subramonian
0 siblings, 1 reply; 5+ messages in thread
From: Segher Boessenkool @ 2006-10-12 20:05 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: ganesh subramonian, linuxppc-dev
>> The G2 core definitely has a DAR register (SPR 19).
>>
>> Look on the Freescale site for G2CORERM.pdf - this is
>> your reference manual, not the one specifically for the
>> 8247.
>
> Is DAR set for a machine check ?
Not on these old cores.
Segher
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Handling machine check exception
2006-10-12 20:05 ` Segher Boessenkool
@ 2006-10-14 14:04 ` ganesh subramonian
0 siblings, 0 replies; 5+ messages in thread
From: ganesh subramonian @ 2006-10-14 14:04 UTC (permalink / raw)
To: Segher Boessenkool, Benjamin Herrenschmidt
Cc: ganesh subramonian, linuxppc-dev
hi
the g2core manual does not say that DAR gets updated
for a machine check exception, but the mpc866um.pdf
manual says so, and it actually does work on my target
board with mpc852t. but no such reference is made in
mpc8272rm.pdf(and dar doesnt get updated on my 8247
based board).
if i cannot find out which address caused the
exception, is there any way by which i can disable
machine check for a particular range of addresses.
thanks
ganesh
--- Segher Boessenkool <segher@kernel.crashing.org>
wrote:
> >> The G2 core definitely has a DAR register (SPR
> 19).
> >>
> >> Look on the Freescale site for G2CORERM.pdf -
> this is
> >> your reference manual, not the one specifically
> for the
> >> 8247.
> >
> > Is DAR set for a machine check ?
>
> Not on these old cores.
>
>
> Segher
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-14 14:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 4:59 Handling machine check exception ganesh subramonian
2006-10-12 10:34 ` Matt Sealey
2006-10-12 14:51 ` Benjamin Herrenschmidt
2006-10-12 20:05 ` Segher Boessenkool
2006-10-14 14:04 ` ganesh subramonian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).