Re: [PATCH 02/16] target/mips: Move cpu_mips_get_random() with CP0 helpers

2020-09-30 Thread Aleksandar Markovic
On Monday, September 28, 2020, Philippe Mathieu-Daudé wrote: > The get_random() helper uses the CP0_Wired register, which is > unrelated to the CP0_Count register use as timer. > Commit e16fe40c872 ("Move the MIPS CPU timer in a separate file") > incorrectly moved this get_random() helper with ti

[PATCH 02/16] target/mips: Move cpu_mips_get_random() with CP0 helpers

2020-09-28 Thread Philippe Mathieu-Daudé
The get_random() helper uses the CP0_Wired register, which is unrelated to the CP0_Count register use as timer. Commit e16fe40c872 ("Move the MIPS CPU timer in a separate file") incorrectly moved this get_random() helper with timer specific code. Move it back to generic CP0 helpers. Signed-off-by: