9
0
Fork 0
barebox/arch/openrisc
Sascha Hauer b792124a7d rework remap_range
remap_range is for remapping regions with different cache attributes.
It is implemented for ARM and PowerPC only, the other architectures only
provide stubs.
Currently the new cache attributes are passed in an architecture specific
way and the attributes have to be retrieved by calls to
mmu_get_pte_cached_flags() and mmu_get_pte_uncached_flags().
Make this simpler by providing architecture independent flags which can
be directly passed to remap_range()
Also provide a MAP_ARCH_DEFAULT flag and a arch_can_remap() function.
The MAP_ARCH_DEFAULT defaults to whatever caching type the architecture
has as default. the arch_can_remap() function returns true if the
architecture can change the cache attributes, false otherwise. This
allows the memtest code to better find out what it has to do.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-11-03 07:27:44 +01:00
..
boards/generic openrisc: generic board: reduce platform code 2014-09-09 10:20:30 +02:00
configs openrisc: generic_defconfig: enable device tree stuff 2014-09-09 10:20:30 +02:00
cpu restart: replace reset_cpu with registered restart handlers 2015-08-27 21:37:03 +02:00
dts openrisc: dts: import or1ksim.dts from linux-3.16 2014-09-09 10:20:30 +02:00
include/asm rework remap_range 2015-11-03 07:27:44 +01:00
lib exitcall: move arch_shutdown to exitcall infrastructure 2015-07-13 08:28:19 +02:00
Kconfig openrisc: add initial device tree support 2014-09-09 10:20:30 +02:00
Makefile openrisc: add initial device tree support 2014-09-09 10:20:30 +02:00