[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190124023157.GA22934@guoren-Inspiron-7460>
Date: Thu, 24 Jan 2019 10:31:57 +0800
From: Guo Ren <guoren@...nel.org>
To: Palmer Dabbelt <palmer@...ive.com>
Cc: Christoph Hellwig <hch@...radead.org>, aou@...s.berkeley.edu,
linux-arch@...r.kernel.org, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org, ren_guo@...ky.com, mao_han@...ky.com
Subject: Re: [PATCH] riscv: fixup max_low_pfn with PFN_DOWN.
On Wed, Jan 23, 2019 at 06:00:35PM -0800, Palmer Dabbelt wrote:
> On Tue, 15 Jan 2019 17:07:38 PST (-0800), guoren@...nel.org wrote:
> >Hi Christoph,
> >
> >I use PFN_DOWN() every where as possible and seems it's a habit
> >problem. So let risc-v maintainer to choose "PFN_DOW()" or
> >">> PAGE_SHIFT".
> >
> >Also the same with "end_of_DRAM & max_low_pfn".
>
> PFN_DOWN makes sense to me, as that's what we're trying to do here (round a
> physical address down to page frame number). Am a I misunderstanding
> something?
>
No, you got it :)
Best Regards
Guo Ren
Powered by blists - more mailing lists