Re: [PATCH 3/4] sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara

From: John Paul Adrian Glaubitz
Date: Tue Sep 02 2025 - 12:47:57 EST


Hi Rene,

On Tue, 2025-09-02 at 18:40 +0200, Rene Rebe wrote:
> Hi,
>
> From: Michael Karcher <kernel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
>
> > Fixes: 7ae3aaf53f16 ("sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.")
> > Signed-off-by: Michael Karcher <kernel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
>
> Tested-by: René Rebe <rene@xxxxxxxxxxxxx> # UltraSparc T4 SPARC T4-1 Server

Thanks for the testing! However, this actually needs to be tested on a SPARC T1
as both T2 and T4 have their own implementation that is being used. Testing on a
T4 will therefore not invoke this particular code unless you modify the kernel in
head_64.S to employ the Niagara 1 code on Niagara 4.

Do you happen to have a SPARC T1?

Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913