linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [Question] flush_dcache_page() need to flush icache?
@ 2013-04-30  8:16 Ming Lei
  2013-04-30  9:05 ` Catalin Marinas
  0 siblings, 1 reply; 7+ messages in thread
From: Ming Lei @ 2013-04-30  8:16 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Looks flush_dcache_page() need to deal with both dcache alias and I/D
cache coherency, but set_pte_at() has already run __sync_icache_dcache()
to make I/D cache coherency in the path of executable page fault.

So could the flushing icache be removed in flush_dcache_page()?

If it is yes for the above question, could the flushing dcache in case of
vipt nonaliasing be removed in flush_dcache_page() too?

Maybe they are stupid questions, sorry in advance.

Thanks,
-- 
Ming Lei

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

end of thread, other threads:[~2013-05-01  8:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-30  8:16 [Question] flush_dcache_page() need to flush icache? Ming Lei
2013-04-30  9:05 ` Catalin Marinas
2013-04-30 10:02   ` Ming Lei
2013-04-30 15:26     ` Catalin Marinas
2013-05-01  8:11       ` Ming Lei
2013-05-01  8:22         ` Catalin Marinas
2013-05-01  8:53           ` Ming Lei

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