summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/uv/uv.h
diff options
context:
space:
mode:
authorNitin Gupta <nitin.m.gupta@oracle.com>2017-11-03 22:26:06 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-15 08:37:43 +0300
commit70f3c8b7c2e7ebcdde8354da004872e7c9184e97 (patch)
tree2de0060e985b99cf738be31ef36893f65c75185d /arch/x86/include/asm/uv/uv.h
parentff0296877a8d04db27997ec216376d7bbdf75a0b (diff)
downloadlinux-70f3c8b7c2e7ebcdde8354da004872e7c9184e97.tar.xz
sparc64: Fix page table walk for PUD hugepages
For a PUD hugepage entry, we need to propagate bits [32:22] from virtual address to resolve at 4M granularity. However, the current code was incorrectly propagating bits [29:19]. This bug can cause incorrect data to be returned for pages backed with 16G hugepages. Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com> Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Cc: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/include/asm/uv/uv.h')
0 files changed, 0 insertions, 0 deletions