qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 for-2.12 7/9] s390x/tcg: implement extract-CP


From: Cornelia Huck
Subject: Re: [Qemu-devel] [PATCH v1 for-2.12 7/9] s390x/tcg: implement extract-CPU-time facility
Date: Tue, 5 Dec 2017 16:14:24 +0100

On Mon,  4 Dec 2017 15:01:48 +0100
David Hildenbrand <address@hidden> wrote:

> It only provies the EXTRACT CPU TIME instruction. We can reuse the stpt

s/provies/provides/

> helper, which calculates the CPU timer value.
> 
> As the instruction is not priviledged, but we don't have a CPU timer

s/priviledged/privileged/

> value in case of linux user, we simply fake the CPU timer to be 0.

There's probably nothing else we could do.

> 
> Signed-off-by: David Hildenbrand <address@hidden>
> ---
>  target/s390x/cpu_models.c  |  1 +
>  target/s390x/insn-data.def |  2 ++
>  target/s390x/translate.c   | 36 ++++++++++++++++++++++++++++++++++++
>  3 files changed, 39 insertions(+)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]