[PATCH v2 0/3] fix memremap on ARM
From: Ard Biesheuvel <hidden>
Date: 2016-03-03 19:42:06
On 3 March 2016 at 20:36, Russell King - ARM Linux [off-list ref] wrote:
On Thu, Mar 03, 2016 at 07:07:05PM +0100, Ard Biesheuvel wrote:quoted
OK. But I'd still like Russell to indicate whether he agrees with all of this, i.e., wire up memremap() to perform MT_MEMORY_RW mappings in the vmalloc area of memory regions that may be potentially be covered by highmem as well.I'm happy to go that way: go back to ioremap_cached() for pxa2xx-flash and switch memremap() to MT_MEMORY_RW - I think that makes total sense. I think it is worth putting a comment against ioremap_cached() saying that it's for pxa2xx-flash.c though, and deprecated for new uses.
OK, I will respin the series, and replace patch #1 with two patches that a) reintroduce ioremap_cached() (with the comment, as you say) b) move pxa2xx-flash from memremap to ioremap_cached()