[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2412021732560.44939@angie.orcam.me.uk>
Date: Mon, 2 Dec 2024 17:37:15 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS: kernel: Rename read/write_c0_ecc to
read/writec0_errctl
On Mon, 2 Dec 2024, Thomas Bogendoerfer wrote:
> CP0 register 26 is used as ECC register for legacy cores, but newer
> cores (MIPS32/MIPS64) use it as an ErrCtl register. Since the kernel only
> uses CP0 26 as ErrCtl register rename the access functions to the more
> fitting name.
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> ---
Reviewed-by: Maciej W. Rozycki <macro@...am.me.uk>
Makes sense to me, thanks!
NB there are further subtleties here, e.g. the 20Kc has DErrCtl at select
0 and IErrCtl at select 1.
Maciej
Powered by blists - more mailing lists