]> git.karo-electronics.de Git - linux-beck.git/commit
arm64: Extend the idmap to the whole kernel image
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 17 Feb 2014 12:03:25 +0000 (12:03 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 26 Feb 2014 11:16:28 +0000 (11:16 +0000)
commitea8c2e1124457f266f82effc3e6558552527943a
tree40fb161135cda0d6aaca19a7eb5855e2d98e9998
parent020c1427f3ad73c86fd566d86441e673adfe2ecb
arm64: Extend the idmap to the whole kernel image

This patch changes the idmap page table creation during boot to cover
the whole kernel image, allowing functions like cpu_reset() to be safely
called with the physical address.

This patch also simplifies the create_block_map asm macro to no longer
take an idmap argument and always use the phys/virt/end parameters. For
the idmap case, phys == virt.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/head.S