Re: [PATCH] mips: Realtek RTL: select NO_EXCEPT_FILL

From: Olliver Schinagl
Date: Sat Jan 28 2023 - 09:45:49 EST


Hey Thomas,

On 27-01-2023 17:27, Thomas Bogendoerfer wrote:
On Sun, Jan 15, 2023 at 01:19:22PM +0100, Sander Vanheule wrote:
Olliver has suggested to make this change, in order to reduce the delta
with a fully generic MIPS kernel.
<snip>
applied to mips-next.

Thomas.

Thanks Thomas, may I take this moment to poke you about a nother issue I don't quite understand how to resolve/figure out.


I made the realtek target work with the GENERIC_MIPS_KERNEL, but only if I disable SWAP_IO_SPACE[0].

While I could act all smart and ask what this is for, I better ask, why is this concidered 'generic'. The comment in mangle-port [1] mentions 'sane hardware'. I don't know what is considered sane here, as the number of targets following generic mips seem to be around 5.

So any pointers (other then doing SWAP_IO_SPACE if !REALTEK_SOC, which I have now) would be appreciated


[0]: https://elixir.bootlin.com/linux/latest/source/arch/mips/Kconfig#L157

[1]: https://elixir.bootlin.com/linux/latest/source/arch/mips/include/asm/mach-generic/mangle-port.h#L17