On Mon, Aug 20, 2018 at 1:37 PM Andi Kleen <andi@xxxxxxxxxxxxxx> wrote: > > From: Andi Kleen <ak@xxxxxxxxxxxxxxx> > > Create a pgd_pfn() macro similar to the p[4um]d_pfn() macros and then > use the p[g4um]d_pfn() macros in the p[g4um]d_page() macros instead of > duplicating the code. When doing backports, _please_ explicitly specify which commit this is upstream too. Also, the original upstream patch is credited to Tom Lendacky. Or is there something I'm not seeing, and this is different from commit fd7e315988b7 ("x86/mm: Simplify p[g4um]d_page() macros")? Linus