All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] flush_tlb_all_local:
@ 2003-10-12 16:07 Joel Soete
  2003-10-13  3:12 ` Grant Grundler
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Soete @ 2003-10-12 16:07 UTC (permalink / raw)
  To: parisc-linux

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-13 19:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-12 16:07 [parisc-linux] flush_tlb_all_local: Joel Soete
2003-10-13  3:12 ` Grant Grundler
2003-10-13  4:14   ` Grant Grundler
2003-10-13 18:57     ` John David Anglin
2003-10-13 19:44       ` Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.