Re: [v5 PATCH] RISC-V: Fix unsupported isa string info.

From: hch@xxxxxxxxxxxxx
Date: Tue Sep 10 2019 - 02:00:23 EST


On Fri, Sep 06, 2019 at 11:27:57PM +0000, Atish Patra wrote:
> > Agreed. May be something like this ?
> >
> > Let's say f/d is enabled in kernel but cpu doesn't support it.
> > "unsupported isa" will only appear if there are any unsupported isa.
> >
> > processor : 3
> > hart : 4
> > isa : rv64imac
> > unsupported isa : fd
> > mmu : sv39
> > uarch : sifive,u54-mc
> >
> > May be I am just trying over optimize one corner case :) :).
> > /proc/cpuinfo should just print all the isa string. That's it.
> >
>
> Ping ?

Yes, I agree with the "dumb" reporting of all capabilities.