[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163783299124.1228879.4298818921531087489.b4-ty@ellerman.id.au>
Date: Thu, 25 Nov 2021 20:36:31 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Michael Ellerman <mpe@...erman.id.au>,
Paul Mackerras <paulus@...ba.org>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Michael Neuling <mikey@...ling.org>
Subject: Re: [PATCH v3] powerpc/code-patching: Improve verification of patchability
On Mon, 15 Nov 2021 11:12:22 +0100, Christophe Leroy wrote:
> Today, patch_instruction() assumes that it is called exclusively on
> valid addresses, and only checks that it is not called on an init
> address after init section has been freed.
>
> Improve verification by calling kernel_text_address() instead.
>
> kernel_text_address() already includes a verification of
> initmem release.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/code-patching: Improve verification of patchability
https://git.kernel.org/powerpc/c/8b8a8f0ab3f5519e45c526f826a655817486c5bb
cheers
Powered by blists - more mailing lists