diff options
| author | Nitin Gupta <nitin.m.gupta@oracle.com> | 2017-11-03 12:26:06 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-21 09:49:25 +0100 |
| commit | ea826dbc30d1c26380c050b669ddbb13c2170107 (patch) | |
| tree | 814835487dc687208ef87678f3cacec718f6c11b /scripts/patch-kernel | |
| parent | e4b57c4bc11bfaa2588557b52ad5abd65fb9390e (diff) | |
| download | talos-op-linux-ea826dbc30d1c26380c050b669ddbb13c2170107.tar.gz talos-op-linux-ea826dbc30d1c26380c050b669ddbb13c2170107.zip | |
sparc64: Fix page table walk for PUD hugepages
[ Upstream commit 70f3c8b7c2e7ebcdde8354da004872e7c9184e97 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions

