From: Ralph Blach <rcblach@raleigh.ibm.com>
To: linux-kernel@vger.rutgers.edu
Subject: new 16k page size for a PPC
Date: Tue, 08 Feb 2000 08:39:12 -0500 [thread overview]
Message-ID: <38A01C80.ACCA2B9E@raleigh.ibm.com> (raw)
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/
reply other threads:[~2000-02-08 10:09 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=38A01C80.ACCA2B9E@raleigh.ibm.com \
--to=rcblach@raleigh.ibm.com \
--cc=linux-kernel@vger.rutgers.edu \
/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
all inboxes | Powered by JetHome®