Re: [PATCH v2] target/riscv: Don't wrongly override isa version

2021-08-12 Thread Alistair Francis
On Thu, Aug 12, 2021 at 12:46 AM LIU Zhiwei wrote: > > For some cpu, the isa version has already been set in cpu init function. > Thus only override the isa version when isa version is not set, or > users set different isa version explicitly by cpu parameters. > > Signed-off-by: LIU Zhiwei Revie

Re: [PATCH v2] target/riscv: Don't wrongly override isa version

2021-08-11 Thread Bin Meng
On Wed, Aug 11, 2021 at 10:46 PM LIU Zhiwei wrote: > > For some cpu, the isa version has already been set in cpu init function. > Thus only override the isa version when isa version is not set, or > users set different isa version explicitly by cpu parameters. > > Signed-off-by: LIU Zhiwei > ---

[PATCH v2] target/riscv: Don't wrongly override isa version

2021-08-11 Thread LIU Zhiwei
For some cpu, the isa version has already been set in cpu init function. Thus only override the isa version when isa version is not set, or users set different isa version explicitly by cpu parameters. Signed-off-by: LIU Zhiwei --- target/riscv/cpu.c | 14 -- 1 file changed, 8 insert