LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christophe Leroy <christophe.leroy@c-s.fr>
To: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	Segher Boessenkool <segher@kernel.crashing.org>
Subject: Looking for history of tlbia macro
Date: Thu, 30 Jan 2020 16:29:29 +0000	[thread overview]
Message-ID: <5401eff3-e129-9430-e4d8-d8e4b692160b@c-s.fr> (raw)

Hi,

I'm looking for the history of the tlbia macro. At the time being, the 
tlbia macro performs 1024 tlbie, increasing the address by 0x1000 
between each tlbie.

I looked into the fullhistory linux repository it was changed from 128 
to 1024 at some point in time, but this was done in commit c57a0d4efdc8 
("Import 2.4.0-test2pre2") which is a huge commit without the details 
explaining the reason for this change.

In the e300 core manual, and in the ppc603e User manual, it is said to 
perform 32 tlbie for flushing the entire TLB tables.

In the ppc604, it is said to perform 64 tlbie.


1024 is huge and tlbia takes a lot more time than it should. Does 
anybody know which it was increased to 1024 ?


Christophe


                 reply	other threads:[~2020-01-30 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5401eff3-e129-9430-e4d8-d8e4b692160b@c-s.fr \
    --to=christophe.leroy@c-s.fr \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=paulus@samba.org \
    --cc=segher@kernel.crashing.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