]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: choose memstart_addr based on minimum sparsemem section alignment
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 30 Mar 2016 12:25:47 +0000 (14:25 +0200)
committerWill Deacon <will.deacon@arm.com>
Thu, 14 Apr 2016 15:15:08 +0000 (16:15 +0100)
commit5fcd54a61e311872cfbc8c81d3d770ce4c12c831
tree04c3b47416a9ccfdd302c76fa75c3fa4052dd26d
parentb4e9123691a88aabb55a4cd4a14ec2a667886a59
arm64: choose memstart_addr based on minimum sparsemem section alignment

This redefines ARM64_MEMSTART_ALIGN in terms of the minimal alignment
required by sparsemem vmemmap. This comes down to using 1 GB for all
translation granules if CONFIG_SPARSEMEM_VMEMMAP is enabled.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/kernel-pgtable.h