Re: [v6 PATCH] RISC-V: Remove unsupported isa string info print

From: Alan Kao
Date: Tue Oct 01 2019 - 21:54:18 EST


On Tue, Oct 01, 2019 at 03:10:16AM -0700, hch@xxxxxxxxxxxxx wrote:
> On Tue, Oct 01, 2019 at 08:22:37AM +0000, Atish Patra wrote:
> > riscv_of_processor_hartid() or seems to be a better candidate. We
> > already check if "rv" is present in isa string or not. I will extend
> > that to check for rv64i or rv32i. Is that okay ?
>
> I'd rather lift the checks out of that into a function that is called
> exactly once per hart on boot (and future cpu hotplug).

Sorry that I am a bit out of date on this. Is there any related
discussion about such checks? Just want to make sure if the check
stops here and will not go any further for extensions, Xs and Zs.

>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-riscv