original_kernel/arch/arm64/mm
Jean-Philippe Brucker 9abd515a6e arm64: context: Fix ASID limit in boot messages
Since commit f88f42f853 ("arm64: context: Free up kernel ASIDs if KPTI
is not in use"), the NUM_USER_ASIDS macro doesn't correspond to the
effective number of ASIDs when KPTI is enabled. Get an accurate number
of available ASIDs in an arch_initcall, once we've discovered all CPUs'
capabilities and know if we still need to halve the ASID space for KPTI.

Fixes: f88f42f853 ("arm64: context: Free up kernel ASIDs if KPTI is not in use")
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
2020-03-02 12:10:38 +00:00
..
Makefile arm64: mm: convert mm/dump.c to use walk_page_range() 2020-02-04 03:05:25 +00:00
cache.S arm64: mm: Use modern annotations for assembly functions 2020-01-08 12:23:38 +00:00
context.c arm64: context: Fix ASID limit in boot messages 2020-03-02 12:10:38 +00:00
copypage.c
dma-mapping.c dma-mapping: drop the dev argument to arch_sync_dma_for_* 2019-11-20 20:31:38 +01:00
dump.c x86: mm: avoid allocating struct mm_struct on the stack 2020-02-04 03:05:25 +00:00
extable.c
fault.c arm64: Revert support for execute-only user mappings 2020-01-06 10:10:07 -08:00
flush.c
hugetlbpage.c
init.c arm64: mm: Fix initialisation of DMA zones on non-NUMA systems 2019-12-04 11:25:20 +00:00
ioremap.c
kasan_init.c
mmap.c arm64, mm: move generic mmap layout functions to mm 2019-09-24 15:54:11 -07:00
mmu.c arm64: mm: convert mm/dump.c to use walk_page_range() 2020-02-04 03:05:25 +00:00
numa.c
pageattr.c mm: change_memory_common: add spaces for `*` operator 2020-01-08 17:30:33 +00:00
pgd.c
physaddr.c
proc.S Merge branch 'for-next/asm-annotations' into for-next/core 2020-01-22 11:34:21 +00:00
ptdump_debugfs.c arm64: mm: convert mm/dump.c to use walk_page_range() 2020-02-04 03:05:25 +00:00