On Tue, 2018-12-25 at 18:44 +0800, Wenkuan Wang wrote:
From: Toshi Kani toshi.kani@hpe.com
commit f70abb0fc3da1b2945c92751ccda2744081bf2b7 upstream.
Now that we have pud/pmd mask interfaces, which handle pfn & flags mask properly for the large PAT bit.
Fix pud/pmd pfn & flags interfaces by replacing PTE_PFN_MASK and PTE_FLAGS_MASK with the pud/pmd mask interfaces.
[...]
This causes its own regression, so I also queued up:
commit 70f1528747651b20c7769d3516ade369f9963237 Author: Kirill A. Shutemov kirill.shutemov@linux.intel.com Date: Mon Nov 30 11:10:33 2015 +0100
x86/mm: Fix regression with huge pages on PAE
Ben.