On 1/3/19 00:00, Ben Hutchings wrote:
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:
Thanks for the reminding, of course, it should be added and sorry for missing it, the patch 4/4 is to fix the problem using the pmd_pfn to undo the inversion, other three patches are depended by 4/4 to address the compiling issues.
Regards Wenkuan
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.