public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] A question about mpc85xx tlb1
Date: Fri, 16 Mar 2012 13:04:15 -0500	[thread overview]
Message-ID: <4F63809F.6050309@freescale.com> (raw)
In-Reply-To: <CAOwonjznxOJGhXdidgj+oKG2ZZnekJatLw5zNyiaZQv8R2VDeQ@mail.gmail.com>

On 03/16/2012 04:40 AM, ?? wrote:
> Dear list,
> 
> In u-boot-2011.12/arch/powerpc/cpu/mpc85xx/cpu_init_early.c , line 151
> 
> void cpu_init_early_f(void)
> {
> ...
> invalidate_tlb(1);
> 
> ...
> }
> 
> 
> The tlb1 has beening invalidated int the line 151,  but I don't know when
> it was  validated again.
> It makes me feel very confused, please help me.

This command invalidates each entry of the TLB1 array that does not have
IPROT set.  Ordinarily there are no such entries.

You don't "revalidate" after invalidating a TLB, you just load whatever
entries you want to be there.

-Scott

      reply	other threads:[~2012-03-16 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16  9:40 [U-Boot] A question about mpc85xx tlb1 徐阳
2012-03-16 18:04 ` Scott Wood [this message]

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=4F63809F.6050309@freescale.com \
    --to=scottwood@freescale.com \
    --cc=u-boot@lists.denx.de \
    /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