Re: [PATCH] MIPS: kernel: Rename read/write_c0_ecc to read/writec0_errctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Maciej W. Rozycki <macro@xxxxxxxxxxx>

 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




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux