]> 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)
commit6734695c3405656b272ca6a862f85b987fffb1a8
tree40fb161135cda0d6aaca19a7eb5855e2d98e9998
parentaea67bcd9cd5f661701ea40427eadcb93c82b740
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