[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/5] openrisc/cputimer: Perparation for Multicor
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 3/5] openrisc/cputimer: Perparation for Multicore |
Date: |
Thu, 12 Oct 2017 13:50:58 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 08/22/2017 10:57 PM, Stafford Horne wrote:
> In order to support multicore system we move some of the previously
> static state variables into the state of each core.
>
> On the other hand in order to allow timers to be synced between each
> code the ttcr (tick timer count register) is moved out of the core.
> This is not as per real hardware spec which has a separate timer counter
> per core, but it seems the most simple way to keep each clock in sync.
>
> Signed-off-by: Stafford Horne <address@hidden>
> ---
> hw/openrisc/cputimer.c | 62
> +++++++++++++++++++++++++++++++++-----------
> target/openrisc/cpu.c | 1 -
> target/openrisc/cpu.h | 4 ++-
> target/openrisc/machine.c | 1 -
> target/openrisc/sys_helper.c | 4 +--
> 5 files changed, 52 insertions(+), 20 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 3/5] openrisc/cputimer: Perparation for Multicore,
Richard Henderson <=