Re: [PATCH v1] target/loongarch/cpu: Fix cpucfg default value

2022-07-19 Thread Richard Henderson
On 7/15/22 12:18, Xiaojuan Yang wrote: We should config cpucfg[20] to set value for the scache's ways, sets, and size arguments when loongarch cpu init. However, the old code wirte 'sets argument' twice, so we change one of them to 'size argument'. Signed-off-by: Xiaojuan Yang Queued. r~

Re: [PATCH v1] target/loongarch/cpu: Fix cpucfg default value

2022-07-18 Thread Richard Henderson
On 7/15/22 12:18, Xiaojuan Yang wrote: We should config cpucfg[20] to set value for the scache's ways, sets, and size arguments when loongarch cpu init. However, the old code wirte 'sets argument' twice, so we change one of them to 'size argument'. Signed-off-by: Xiaojuan Yang --- target/loon

[PATCH v1] target/loongarch/cpu: Fix cpucfg default value

2022-07-14 Thread Xiaojuan Yang
We should config cpucfg[20] to set value for the scache's ways, sets, and size arguments when loongarch cpu init. However, the old code wirte 'sets argument' twice, so we change one of them to 'size argument'. Signed-off-by: Xiaojuan Yang --- target/loongarch/cpu.c | 2 +- 1 file changed, 1 inse