arm64: compat: Reduce address limit for 64K pages
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Mon, 29 Apr 2019 17:27:13 +0000 (18:27 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 30 Apr 2019 10:04:50 +0000 (11:04 +0100)
commit359db57c34af15edf35492944af4d4417f59886c
tree6c6d3bc4a283eeb6a4d787ab3d0f715df1d21c87
parent75a19a0202db21638a1c2b424afb867e1f9a2376
arm64: compat: Reduce address limit for 64K pages

With the introduction of the config option that allows to enable kuser
helpers, it is now possible to reduce TASK_SIZE_32 when these are
disabled and 64K pages are enabled. This extends the compliance with
the section 6.5.8 of the C standard (C99).

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/processor.h