diff options
author | 2022-08-19 10:30:01 +0800 | |
---|---|---|
committer | 2022-08-19 08:17:43 -0700 | |
commit | 88e0a74902f894fbbc55ad3ad2cb23b4bfba555c (patch) | |
tree | 81c7a355de9d07c80fefad2e1392120fcbc65e45 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Merge tag 'net-6.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | wireguard-linux-88e0a74902f894fbbc55ad3ad2cb23b4bfba555c.tar.xz wireguard-linux-88e0a74902f894fbbc55ad3ad2cb23b4bfba555c.zip |
x86/mm: Use proper mask when setting PUD mapping
Commit c164fbb40c43f("x86/mm: thread pgprot_t through
init_memory_mapping()") mistakenly used __pgprot() which doesn't respect
__default_kernel_pte_mask when setting PUD mapping.
Fix it by only setting the one bit we actually need (PSE) and leaving
the other bits (that have been properly masked) alone.
Fixes: c164fbb40c43 ("x86/mm: thread pgprot_t through init_memory_mapping()")
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions