[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163447392455.1159469.4550193906855122845.b4-ty@ellerman.id.au>
Date: Sun, 17 Oct 2021 23:32:04 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Paul Mackerras <paulus@...ba.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Michael Ellerman <mpe@...erman.id.au>,
Christophe Leroy <christophe.leroy@...roup.eu>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc: Set max_mapnr correctly
On Tue, 12 Oct 2021 12:40:37 +0200, Christophe Leroy wrote:
> max_mapnr is used by virt_addr_valid() to check if a linear
> address is valid.
>
> It must only include lowmem PFNs, like other architectures.
>
> Problem detected on a system with 1G mem (Only 768M are mapped), with
> CONFIG_DEBUG_VIRTUAL and CONFIG_TEST_DEBUG_VIRTUAL, it didn't report
> virt_to_phys(VMALLOC_START), VMALLOC_START being 0xf1000000.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Set max_mapnr correctly
https://git.kernel.org/powerpc/c/602946ec2f90d5bd965857753880db29d2d9a1e9
cheers
Powered by blists - more mailing lists