summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/module.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2020-05-28 13:17:04 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-06-02 13:59:14 +0300
commit888468ce725a4cd56d72dc7e5096078f7a9251a0 (patch)
tree00397d08d61708c45f3c22a4807bdef1f0826257 /arch/powerpc/include/asm/module.h
parentc3ba4dbbd1d05b49ec01efe098e0a78857d3ce22 (diff)
downloadlinux-888468ce725a4cd56d72dc7e5096078f7a9251a0.tar.xz
powerpc/32: Disable KASAN with pages bigger than 16k
Mapping of early shadow area is implemented by using a single static page table having all entries pointing to the same early shadow page. The shadow area must therefore occupy full PGD entries. The shadow area has a size of 128MB starting at 0xf8000000. With 4k pages, a PGD entry is 4MB With 16k pages, a PGD entry is 64MB With 64k pages, a PGD entry is 1GB which is too big. Until we rework the early shadow mapping, disable KASAN when the page size is too big. Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support") Cc: stable@vger.kernel.org # v5.2+ Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/7195fcde7314ccbf7a081b356084a69d421b10d4.1590660977.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/module.h')
0 files changed, 0 insertions, 0 deletions