[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <48hYYB6CJzz9sPF@ozlabs.org>
Date: Wed, 18 Mar 2020 00:14:38 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Laurentiu Tudor <laurentiu.tudor@....com>,
"oss@...error.net" <oss@...error.net>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Cc: Diana Madalina Craciun <diana.craciun@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>,
Laurentiu Tudor <laurentiu.tudor@....com>
Subject: Re: [PATCH] powerpc/fsl_booke: avoid creating duplicate tlb1 entry
On Thu, 2020-01-23 at 11:19:25 UTC, Laurentiu Tudor wrote:
> In the current implementation, the call to loadcam_multi() is wrapped
> between switch_to_as1() and restore_to_as0() calls so, when it tries
> to create its own temporary AS=3D1 TLB1 entry, it ends up duplicating the
> existing one created by switch_to_as1(). Add a check to skip creating
> the temporary entry if already running in AS=3D1.
>
> Fixes: d9e1831a4202 ("powerpc/85xx: Load all early TLB entries at once")
> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@....com>
> Cc: stable@...r.kernel.org
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/aa4113340ae6c2811e046f08c2bc21011d20a072
cheers
Powered by blists - more mailing lists