[PATCH v3] ARM: LPAE: don't reject mapping /dev/mem above 4GB
Catalin Marinas
catalin.marinas at arm.com
Thu Jul 4 12:34:24 EDT 2013
On Thu, Jul 04, 2013 at 04:36:25PM +0100, Sergey Dyasly wrote:
> With LPAE enabled, physical address space is larger than 4GB. Allow mapping any
> part of it via /dev/mem by using PHYS_MASK to determine valid range.
>
> PHYS_MASK covers 40 bits with LPAE enabled and 32 bits otherwise.
>
> Reported-by: Vassili Karpov <av1474 at comtv.ru>
> Signed-off-by: Sergey Dyasly <dserrg at gmail.com>
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-arm-kernel
mailing list