summaryrefslogtreecommitdiff
path: root/block/blk-iopoll.c
diff options
context:
space:
mode:
authorSergey Dyasly <dserrg@gmail.com>2013-09-24 15:38:00 (GMT)
committerJiri Slaby <jslaby@suse.cz>2014-05-05 09:44:20 (GMT)
commit4aeced5ed3e351ffad601615a11305b6e2eb16e1 (patch)
treee8b1e391ba251205b4ae51524bba195f7bd3aa94 /block/blk-iopoll.c
parent3da1d25c3849e8a02d4f70feeae16711ad458eaf (diff)
downloadlinux-fsl-qoriq-4aeced5ed3e351ffad601615a11305b6e2eb16e1.tar.xz
ARM: 7840/1: LPAE: don't reject mapping /dev/mem above 4GB
commit 3159f372354e8e1f5dee714663d705dd2c7e0759 upstream. 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@comtv.ru> Signed-off-by: Sergey Dyasly <dserrg@gmail.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'block/blk-iopoll.c')
0 files changed, 0 insertions, 0 deletions