From: "Ricardo Ayres Severo" <severo.ricardo@gmail.com>
To: "David Baird" <dhbaird@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: TLB Miss booting linux kernel on ppc 405
Date: Wed, 13 Feb 2008 15:38:24 -0200 [thread overview]
Message-ID: <5ee408090802130938u7d069636g42a496e489fe5b80@mail.gmail.com> (raw)
In-Reply-To: <440abda90802130917x79c3c990j6a1fc7c12ba05ed7@mail.gmail.com>
I tracked the kernel execution using step one instruction (si) on gdb
and matching the jumps with the System.map.
It is a Data TLB Miss and this is the register dump after the miss occurs:
r1: 00502090
r2: 0000000f
r3: c00003c0
r4: c0000000
r5: 00000000
r6: 00000000
r7: 74747955
r8: 4c302c39
r9: 00000000
pc: 00001100
lr: 00000018
Now I'm checking the PPC cache configurations on XPS, because when
treating the DTLB Miss Exception a Machine Check Exception occurs when
it works with L1. Does this makes sense or am I confusing things?
Thanks,
On Feb 13, 2008 3:17 PM, David Baird <dhbaird@gmail.com> wrote:
> On Feb 13, 2008 9:50 AM, Ricardo Ayres Severo <severo.ricardo@gmail.com> wrote:
> > Hi All,
> >
> > I'm using kernel 2.6.24 and when it comes to line 826 on the file
> > arch/ppc/kernel/head_4xx.S it gives a TLB Miss.
> >
> > arch/ppc/kernel/head_4xx.S
> > 823 start_here:
> > 824
> > 825 /* ptr to current */
> > 826 lis r2,init_task@h
> > 827 ori r2,r2,init_task@l
>
> I am just curious: how did you find that you have TLB miss on that
> line? Is it an Instruction TLB miss or a Data TLB miss?
>
> Can you paste a dump of your registers (in XMD, rrd and srrd)?
>
> I was having TLB misses awhile back due to some other problems, but
> never had any on that line though.
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
--
Ricardo Ayres Severo <severo.ricardo@gmail.com>
next prev parent reply other threads:[~2008-02-13 17:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 16:50 TLB Miss booting linux kernel on ppc 405 Ricardo Ayres Severo
2008-02-13 17:17 ` David Baird
2008-02-13 17:38 ` Ricardo Ayres Severo [this message]
2008-02-13 17:51 ` David Baird
2008-02-13 18:03 ` Ricardo Ayres Severo
2008-02-13 18:32 ` David Baird
2008-02-13 18:49 ` Ricardo Ayres Severo
2008-02-13 19:02 ` David Baird
2008-02-20 21:24 ` Robert Woodworth
2008-02-20 21:29 ` Ricardo Ayres Severo
2008-02-20 21:47 ` David Baird
2008-02-21 17:50 ` Ricardo Ayres Severo
2008-02-21 18:00 ` David Baird
2008-02-21 18:04 ` David Baird
2008-02-21 19:12 ` Robert Woodworth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5ee408090802130938u7d069636g42a496e489fe5b80@mail.gmail.com \
--to=severo.ricardo@gmail.com \
--cc=dhbaird@gmail.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).