Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702238

remap_pfn_range() + outer_flush_range()

From "Wohlmuth, Oliver" <Oliver.Wohlmuth@socionext.com>
Newsgroups linux.kernel
Subject remap_pfn_range() + outer_flush_range()
Date 2017-08-02 18:10 +0200
Message-ID <ua4nI-3Eo-73@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

remap_pfn_range() + outer_flush_range() "Wohlmuth, Oliver" <Oliver.Wohlmuth@socionext.com> - 2017-08-02 18:10 +0200

csiph-web