[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <158807947318.210571.1093507749687250902.b4-ty@kernel.org>
Date: Tue, 28 Apr 2020 15:49:38 +0100
From: Will Deacon <will@...nel.org>
To: Gavin Shan <gshan@...hat.com>, linux-arm-kernel@...ts.infradead.org
Cc: catalin.marinas@....com, Will Deacon <will@...nel.org>,
linux-kernel@...r.kernel.org, shan.gavin@...il.com,
mark.rutland@....com
Subject: Re: [PATCH v2] arm64/mm: Use phys_to_page() to access pgtable memory
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
Powered by blists - more mailing lists