From: Ard Biesheuvel Date: Wed, 14 Jun 2017 10:43:55 +0000 (+0200) Subject: arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT X-Git-Tag: Ubuntu-4.10.0-29.33~13 X-Git-Url: https://git.proxmox.com/?p=mirror_ubuntu-zesty-kernel.git;a=commitdiff_plain;h=5f4532ecb35a3fff7e9ba5b58e4519fc160b56fd arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT BugLink: https://bugs.launchpad.net/bugs/1702749 To avoid issues with the /proc/kcore code getting confused about the kernels block mappings in the VMALLOC region, enable the existing facility that describes the [_text, _end) interval as a separate KCORE_TEXT region, which supersedes the KCORE_VMALLOC region that it intersects with on arm64. Reported-by: Tan Xiaojun Tested-by: Tan Xiaojun Tested-by: Mark Rutland Acked-by: Mark Rutland Reviewed-by: Laura Abbott Reviewed-by: Jiri Olsa Signed-off-by: Ard Biesheuvel Signed-off-by: Will Deacon (cherry picked from commit 8f36094802e4e6de180b36bcac4cfd9d319e1b64) Signed-off-by: dann frazier Acked-by: Seth Forshee Acked-by: Stefan Bader Signed-off-by: Thadeu Lima de Souza Cascardo --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index b84e696a5c1b..f89840ef38e6 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -244,6 +244,9 @@ config PGTABLE_LEVELS config ARCH_SUPPORTS_UPROBES def_bool y +config ARCH_PROC_KCORE_TEXT + def_bool y + source "init/Kconfig" source "kernel/Kconfig.freezer"