mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* new 16k page size for a PPC
@ 2000-02-08 13:39 Ralph Blach
  0 siblings, 0 replies; only message in thread
From: Ralph Blach @ 2000-02-08 13:39 UTC (permalink / raw)
  To: linux-kernel

I am trying to port Linux to an embedded power pc.  I need to use a 16k
page size 
because this processor uses a virtually indexed real tagged instruction
cache.  With a
4k page size this results in instruction synonyms.  If I were to stay
with 4k pages,
then each time I want to invalidate the instruction cache, the synonyms
would have to  be invalidated.
This would require a search of the TLB to verify that the synonym
address was mapped in the TLB.
Execution of an ICBI on a non mapped instruction would result in a
tranlsation error.

With a 16k page size there are no synonyms and therefore there will not
be a TLB search for the
synonym.

I have made the following changes in pgtable.h

#define PMD_SHIFT       24 
#define PGDIR_SHIFT     24

If you have any suggestions please make it to this forum.

Thanks

Chip

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-08 10:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-08 13:39 new 16k page size for a PPC Ralph Blach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®