linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [Question] A question about arm64 pte
@ 2017-01-16 10:08 Yisheng Xie
  2017-01-16 11:56 ` Catalin Marinas
  0 siblings, 1 reply; 11+ messages in thread
From: Yisheng Xie @ 2017-01-16 10:08 UTC (permalink / raw)
  To: linux-arm-kernel

hi,
I have question about arm64 pte.

For arm64, PTE_WRITE?== PTE_DBM? is to mark whether the page is writable,
and PTE_DIRTY is to mark whether the page is dirty.
However, PTE_RDONLY is only cleared when both PTE_WRITE and PTE_DIRTY are set.

Is that means that the page is still writable when PTE_RDONLY is set with PTE_WRITE?
But in ARM Architecture Reference Manual for ARMv8,
when PTE_RDONLY is set(AP[2:1] = 0b1x), Acess from EL1 is Ready only?

so what is the really means of the PTE_RDONLY? could some one help to explain it?

Thanks
Yisheng Xie

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

end of thread, other threads:[~2017-01-17 12:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-16 10:08 [Question] A question about arm64 pte Yisheng Xie
2017-01-16 11:56 ` Catalin Marinas
2017-01-16 12:39   ` Yisheng Xie
2017-01-16 12:57     ` Steve Capper
2017-01-17  1:04       ` Yisheng Xie
2017-01-16 14:36     ` Catalin Marinas
2017-01-16 14:39       ` Catalin Marinas
2017-01-17  1:02       ` Yisheng Xie
2017-01-17  3:53       ` Yisheng Xie
2017-01-17 11:45         ` Catalin Marinas
2017-01-17 12:02           ` Yisheng Xie

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).