[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1805142329120.10896@tp.orcam.me.uk>
Date: Mon, 14 May 2018 23:56:01 +0100
From: "Maciej W. Rozycki" <macro@...s.com>
To: James Hogan <jhogan@...nel.org>
CC: Matt Redfearn <matt.redfearn@...s.com>,
Ralf Baechle <ralf@...ux-mips.org>,
<linux-mips@...ux-mips.org>, <stable@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] MIPS: memset.S: EVA & fault support for
small_memset
On Mon, 16 Apr 2018, James Hogan wrote:
> > @@ -260,6 +260,11 @@
> > jr ra
> > andi v1, a2, STORMASK
>
> This patch looks good, well spotted!
>
> But whats that v1 write about? Any ideas? Seems to go back to the git
> epoch, and $3 isn't in the clobber lists when __bzero* is called.
You need to dive deeper, that is beyond the secret commit 66f0a432564b
("Add resource managment."), to find what's happened before the epoch. ;)
Anyway, there isn't anything special here, the thing has been here since
the inception of memset.S with commit 2e0f55e79c49 (no shortlog available
for that one). And it is clearly a bug, possibly just a leftover from a
WIP implementation or whatever.
And I can see Matt has already fixed that, thanks!
Maciej
Powered by blists - more mailing lists