linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Cache maintenance on page table updates
@ 2010-12-02 16:39 Christoffer Dall
  2010-12-02 16:56 ` Catalin Marinas
  2010-12-02 17:42 ` Russell King - ARM Linux
  0 siblings, 2 replies; 4+ messages in thread
From: Christoffer Dall @ 2010-12-02 16:39 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Catalin.

I am hoping you can help me understand the following observed behavior in KVM.

When I update the page table mappings' AP bits, it is for some reason
not enough to clean caches, but I must also invalidate them for the
changes to take effect. The system runs on an arm1136 processor and I
was under the impression that page table walks never read from the L1
cache. If this is true, I cannot understand why an invalidation of
caches would make a difference.

In the course of understanding this behavior I have come across the
RGN, S and C bits in the TTBR0. I don't quite understand how these
bits affect the memory system - should they simply match the way that
the page tables themselves are mapped in virtual memory or do they
somehow control how the page table walk mechanism behaves?

Thanks,
Christoffer

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

end of thread, other threads:[~2010-12-03  8:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 16:39 Cache maintenance on page table updates Christoffer Dall
2010-12-02 16:56 ` Catalin Marinas
2010-12-02 17:42 ` Russell King - ARM Linux
2010-12-03  8:28   ` Christoffer Dall

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