Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Joel Soete <soete.joel@tiscali.be>
To: parisc-linux@parisc-linux.org
Subject: [parisc-linux] flush_tlb_all_local:
Date: Sun, 12 Oct 2003 16:07:50 +0000	[thread overview]
Message-ID: <3F897C56.800@tiscali.be> (raw)

Hi all,

into parisc/kernel/pacache.S, i find this:
[...]
flush_tlb_all_local:
[...]
         rsm     PSW_SM_Q,%r0       /* Turn off Q bit to load iia queue */
         ldil    L%REAL_MODE_PSW, %r1
         ldo     R%REAL_MODE_PSW(%r1), %r1
         mtctl   %r1, %cr22
         mtctl   %r0, %cr17
         mtctl   %r0, %cr17
[...]

Why twice 'mtctl   %r0, %cr17'?

and also:
[...]
fitmanymiddle:                                  /* Loop if LOOP >= 2 */
         ADDIB>          -1,%r31,fitmanymiddle   /* Adjusted inner loop 
decr */
         pitlbe          0(%sr1,%r28)
         pitlbe,m        %arg1(%sr1,%r28)        /* Last pitlbe and addr 
adjust */

Typicaly the function name is flush_..., so why do we 'purge' here?

Thanks in advance for help,
	Joel

             reply	other threads:[~2003-10-12 16:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12 16:07 Joel Soete [this message]
2003-10-13  3:12 ` [parisc-linux] flush_tlb_all_local: Grant Grundler
2003-10-13  4:14   ` Grant Grundler
2003-10-13 18:57     ` John David Anglin
2003-10-13 19:44       ` Matthew Wilcox

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=3F897C56.800@tiscali.be \
    --to=soete.joel@tiscali.be \
    --cc=parisc-linux@parisc-linux.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