]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: MMU initialisation
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 5 Mar 2012 11:49:27 +0000 (11:49 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 5 Sep 2012 15:31:31 +0000 (16:31 +0100)
commit30a4c0f0f2c57edfa60995ac623c13126af74f41
tree88b7fa8eb31cbc0d8c5c30aeab7d16eb834047e7
parenta9ea764afcfe634efeec44cf62f7fb0a79c8ea89
arm64: MMU initialisation

This patch contains the initialisation of the memory blocks, MMU
attributes and the memory map. Only five memory types are defined:
Device nGnRnE (equivalent to Strongly Ordered), Device nGnRE (classic
Device memory), Device GRE, Normal Non-cacheable and Normal Cacheable.
Cache policies are supported via the memory attributes register
(MAIR_EL1) and only affect the Normal Cacheable mappings.

This patch also adds the SPARSEMEM_VMEMMAP initialisation.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm64/include/asm/memblock.h [new file with mode: 0644]
arch/arm64/mm/init.c [new file with mode: 0644]
arch/arm64/mm/mmu.c [new file with mode: 0644]