Re: [PATCH v5 1/3] riscv: Move kernel mapping outside of linear mapping

From: Palmer Dabbelt
Date: Wed Jun 30 2021 - 22:59:16 EST


On Thu, 17 Jun 2021 02:14:48 PDT (-0700), schwab@xxxxxxxxxxxxxx wrote:
On Jun 16 2021, Palmer Dabbelt wrote:

This seems a long way off from defconfig. It's entirly possible I'm
missing something, but at least CONFIG_SOC_VIRT is jumping out as
something that's disabled in the SUSE config but enabled upstream.

None of the SOC configs are really needed, they are just convenience.
They can even be harmful, if they force a config to y if m is actually
wanted. Which is what happens with SOC_VIRT, which forces
RTC_DRV_GOLDFISH to y.

Ya, in retrospect the SOC configs were really just a bad idea. I think we've talked about removing them before as they break stuff, I just haven't gotten around to doing it.