[<prev] [next>] [day] [month] [year] [list]
Message-ID: <7a4f3422945a4059b63bed0b30767d94@EX2-1-VS.eu.socionext.com>
Date: Wed, 2 Aug 2017 15:48:42 +0000
From: "Wohlmuth, Oliver" <Oliver.Wohlmuth@...ionext.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: remap_pfn_range() + outer_flush_range()
Hi,
I'm implementing a 2D graphics driver for an ARM A9 multicore SoC. As part of this, I'm using remap_pfn_range()
to map memory to user space. During testing I realized that remap_pfn_range() flushes the L1 cache, but doesn't
flush the L2 cache. As a result, I can get L2 cache hits even if I mapped the memory uncached.
What is the motivation for this?
Any help on this is greatly appreciated.
Best regards,
Oliver
P.S. I'm sorry if this is a bit of topic for this mailing list, but I didn't know where else to post this.
Powered by blists - more mailing lists