Re: [PATCH 1/6] MIPS: remove cpu_has_64bit_gp_regs and cpu_has_64bit_addresses

From: Fredrik Noring
Date: Wed Mar 25 2020 - 05:05:16 EST


> The only use of cpu_has_64bit_addresses is the choice of the ioremap
> code base. Which ioremap code does the R5900 want to use? If it
> doesn't match CONFIG_64BIT having a config option for the ioremap
> implementation seems much more sensible, and can be added with the
> R5900 patch set (do you have a link to it?).

I suppose this would be relevant for the n32 ABI, but initially we only
have o32 for the R5900. The (slightly outdated) patch series under review
is available here:

https://lore.kernel.org/linux-mips/cover.1567326213.git.noring@xxxxxxxxxx/T/

Regarding cpu_has_64bit_gp_regs: another unusual aspect of the R5900 is
its 128-bit GPRs. :)

Fredrik