[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172474289344.32718.3015990756212968494.b4-ty@ellerman.id.au>
Date: Tue, 27 Aug 2024 17:14:53 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>, Naveen N Rao <naveen@...nel.org>, Christophe Leroy <christophe.leroy@...roup.eu>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v2] powerpc/mm: Fix return type of pgd_val()
On Thu, 22 Aug 2024 09:58:42 +0200, Christophe Leroy wrote:
> Commit 6b0e82791bd0 ("powerpc/e500: switch to 64 bits PGD on 85xx
> (32 bits)") switched PGD entries to 64 bits, but pgd_val() returns
> an unsigned long which is 32 bits on PPC32. This is not a problem
> for regular PMD entries because the upper part is always NULL, but
> when PMD entries are leaf they contain 64 bits values, so pgd_val()
> must return an unsigned long long instead of an unsigned long.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/mm: Fix return type of pgd_val()
https://git.kernel.org/powerpc/c/3b1f7a46977fe2ff9384d08651a6e0d272ae6a60
cheers
Powered by blists - more mailing lists