Re: [PATCH v4 18/33] target/nios2: Implement cpuid

2022-03-08 Thread Richard Henderson
On 3/8/22 00:52, Peter Maydell wrote: I guess. This will have no effect as all our nios2 boards are single-CPU. Reviewed-by: Peter Maydell Oh, fair enough. I didn't even think of that (even though I've just spent quite a bit of time on interrupts, and there's no sign of an inter-processor i

Re: [PATCH v4 18/33] target/nios2: Implement cpuid

2022-03-08 Thread Peter Maydell
On Tue, 8 Mar 2022 at 07:20, Richard Henderson wrote: > > Copy the existing cpu_index into the space reserved for CR_CPUID. > > Signed-off-by: Richard Henderson > --- > target/nios2/cpu.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/target/nios2/cpu.c b/target/nios2/cpu.c > index

[PATCH v4 18/33] target/nios2: Implement cpuid

2022-03-07 Thread Richard Henderson
Copy the existing cpu_index into the space reserved for CR_CPUID. Signed-off-by: Richard Henderson --- target/nios2/cpu.c | 4 1 file changed, 4 insertions(+) diff --git a/target/nios2/cpu.c b/target/nios2/cpu.c index 189adf111c..fbcb4da737 100644 --- a/target/nios2/cpu.c +++ b/target/nios