aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/processor.h
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2020-02-27 09:34:47 +0100
committerWill Deacon <will@kernel.org>2020-03-02 12:10:38 +0000
commit9abd515a6e4a5c58c6eb4d04110430325eb5f5ac (patch)
treea28cd22425a5ecb8c68df9aec0ff08c26c041c91 /arch/s390/include/asm/processor.h
parentdrivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer (diff)
downloadlinux-dev-9abd515a6e4a5c58c6eb4d04110430325eb5f5ac.tar.xz
linux-dev-9abd515a6e4a5c58c6eb4d04110430325eb5f5ac.zip
arm64: context: Fix ASID limit in boot messages
Since commit f88f42f853a8 ("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: f88f42f853a8 ("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>
Diffstat (limited to 'arch/s390/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions