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)
committerMark Brown <broonie@linaro.org>
Wed, 21 May 2014 17:41:05 +0000 (18:41 +0100)
commit25bf912c54b9085d3a856af9b0f7c0316b947f61
treeb60ce3d9753458e31ac45b3d1e374cab1926c85c
parentdabf5d44b1a7fca13cef1b4ee4ec2c02e394899e
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>
(cherry picked from commit ea8c2e1124457f266f82effc3e6558552527943a)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/head.S