From: vichy.kuo@gmail.com (vichy)
To: linux-arm-kernel@lists.infradead.org
Subject: some question about TCR setting
Date: Fri, 14 Nov 2014 21:13:12 +0800 [thread overview]
Message-ID: <CAOVJa8Fx4yiSU0O7HTaYEKOrRdtWve4JGeN0cWRXDsBMyV_8Mg@mail.gmail.com> (raw)
In-Reply-To: <20141114104246.GA25828@leverpostej>
hi Mark:
> The CPU can't read the attributes from the page tables, because in order
> to do so it would need to know the attributes to access the page tables
> with. Additionally, the page tables might not always be mapped into the
> virtual address space.
Per your explanation, if the page table base address in TTBR is
0x1000000, {SH,ORGN,IRGN}{1,0} tell cpu how to access this part of
physical address, right?
if so, I have some questions:
1. The processor use {SH,ORGN,IRGN}{1,0} in TCR to access all the
following page directories?
2. under what circumstance, the page tables might not always be mapped
into the virtual address space.
3. if the {SH,ORGN,IRGN}{1,0} of block/page descriptor is conflict
with that one in TCR. Will that make cache maintenance issue. Or there
are separate cache for page table walking?
Sincerely appreciate your kind help,
next prev parent reply other threads:[~2014-11-14 13:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 7:22 some question about TCR setting vichy
2014-11-14 10:42 ` Mark Rutland
2014-11-14 13:13 ` vichy [this message]
2014-11-14 13:55 ` Mark Rutland
2014-11-16 10:53 ` vichy
2014-11-16 16:52 ` Russell King - ARM Linux
2014-11-17 2:37 ` vichy
2014-11-17 17:10 ` Mark Rutland
2014-11-17 12:09 ` Mark Rutland
2014-11-17 13:03 ` Russell King - ARM Linux
2014-11-17 14:00 ` Mark Rutland
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=CAOVJa8Fx4yiSU0O7HTaYEKOrRdtWve4JGeN0cWRXDsBMyV_8Mg@mail.gmail.com \
--to=vichy.kuo@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).