From: Will Deacon <will@kernel.org>
To: Gavin Shan <gshan@redhat.com>, linux-arm-kernel@lists.infradead.org
Cc: catalin.marinas@arm.com, Will Deacon <will@kernel.org>,
linux-kernel@vger.kernel.org, shan.gavin@gmail.com,
mark.rutland@arm.com
Subject: Re: [PATCH v2] arm64/mm: Use phys_to_page() to access pgtable memory
Date: Tue, 28 Apr 2020 15:49:38 +0100 [thread overview]
Message-ID: <158807947318.210571.1093507749687250902.b4-ty@kernel.org> (raw)
In-Reply-To: <20200427234655.111847-1-gshan@redhat.com>
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
prev parent reply other threads:[~2020-04-28 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-27 23:46 [PATCH v2] arm64/mm: Use phys_to_page() to access pgtable memory Gavin Shan
2020-04-28 14:49 ` Will Deacon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=158807947318.210571.1093507749687250902.b4-ty@kernel.org \
--to=will@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=gshan@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=shan.gavin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).