On 7/29/22 16:01, Stafford Horne wrote:
This patch enables multithread TCG for OpenRISC.  Since the or1k shared
syncrhonized timer can be updated from each vCPU via helpers we use a
mutex to synchronize updates.

Signed-off-by: Stafford Horne<sho...@gmail.com>
---
Since v2:
  - Removed cpu_openrisc_timer_has_advanced lock optimization, measuring 
revealed
    it did not help much.

  configs/targets/or1k-softmmu.mak | 1 +
  target/openrisc/cpu.h            | 2 ++
  target/openrisc/sys_helper.c     | 7 ++++++-
  3 files changed, 9 insertions(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to