Messages in this thread | | | From | Will Deacon <> | Subject | Re: [PATCH v2] arm64/mm: Use phys_to_page() to access pgtable memory | Date | Tue, 28 Apr 2020 15:49:38 +0100 |
| |
On Tue, 28 Apr 2020 09:46:55 +1000, Gavin Shan wrote: > The macros {pgd, pud, pmd}_page() retrieves the page struct of the > corresponding page frame, which is reserved as page table. There > is already a macro (phys_to_page), defined in memory.h as below, > to convert the physical address to the page struct. Also, the header > file (memory.h) has been included by pgtable.h. > > #define phys_to_page(phys) (pfn_to_page(__phys_to_pfn(phys))) > > [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64/mm: Use phys_to_page() to access pgtable memory https://git.kernel.org/arm64/c/68ecabd0e680
Cheers, -- Will
https://fixes.arm64.dev https://next.arm64.dev
| |