Aaron Lu 88e0a74902 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>
2022-08-19 08:17:43 -07:00
..
2022-08-07 17:52:35 -07:00
2022-08-10 10:40:41 -07:00
2022-08-07 17:52:35 -07:00
2022-08-07 17:52:35 -07:00
2022-08-12 09:44:23 -07:00
2022-08-09 09:39:25 -07:00
2022-08-14 08:48:13 -07:00
2022-08-05 10:07:23 -07:00