Re: [PATCH v7 4/4] riscv: implement cache-management errata for T-Head SoCs

From: Arnd Bergmann
Date: Thu Aug 04 2022 - 04:16:49 EST


On Thu, Aug 4, 2022 at 2:28 AM Palmer Dabbelt <palmer@xxxxxxxxxxx> wrote:

> I know I said I really don't want the executable .long stuff for this,
> and IIRC that's a pretty common sentiment. I'm not sure if I'm just fed
> up with all the craziness, but I'm kind of inclined to just merge this
> as-is -- at least that way we can get the hardware working.

There is usually not much choice here if you want to allow building
with older toolchains. You might want to add a comment for each one
of those to reference the (projected) binutils version that adds support
so it can be cleaned up after you raise the minimum toolchain
requirements, but that takes years.

Arnd