]> git.baikalelectronics.ru Git - kernel.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)
commit7ba1964c25ea6d250c2e823181f500dda8bd706a
tree40fb161135cda0d6aaca19a7eb5855e2d98e9998
parent7a16d88ad69bb784feecbc1ef16ebbc39f373dff
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