[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166801759869.863955.2245773811250086481.b4-ty@kernel.org>
Date: Wed, 9 Nov 2022 19:13:57 +0000
From: Will Deacon <will@...nel.org>
To: Anshuman Khandual <anshuman.khandual@....com>,
linux-arm-kernel@...ts.infradead.org
Cc: catalin.marinas@....com, kernel-team@...roid.com,
Will Deacon <will@...nel.org>, linux-kernel@...r.kernel.org,
Ard Biesheuvel <ardb@...nel.org>,
Mark Brown <broonie@...nel.org>,
Mark Rutland <mark.rutland@....com>
Subject: Re: [PATCH V3] arm64/mm: Simplify and document pte_to_phys() for 52 bit addresses
On Mon, 7 Nov 2022 19:47:53 +0530, Anshuman Khandual wrote:
> pte_to_phys() assembly definition does multiple bits field transformations
> to derive physical address, embedded inside a page table entry. Unlike its
> C counter part i.e __pte_to_phys(), pte_to_phys() is not very apparent. It
> simplifies these operations via a new macro PTE_ADDR_HIGH_SHIFT indicating
> how far the pte encoded higher address bits need to be left shifted. While
> here, this also updates __pte_to_phys() and __phys_to_pte_val().
>
> [...]
Applied to arm64 (for-next/mm), thanks!
[1/1] arm64/mm: Simplify and document pte_to_phys() for 52 bit addresses
https://git.kernel.org/arm64/c/a4ee28615c7a
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists