[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure |
Date: |
Tue, 6 Oct 2015 15:10:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 06/10/2015 15:06, Peter Maydell wrote:
> Looking closer, clock_gettime() also has a userspace
> only fastpath in the VDSO.
Yup, hence the patch that changed the default cpu_get_real_ticks()
implementation to get_clock().
>> > Could we just use CNTVCT_EL0? Which cores have it?
>
> Not guaranteed to be enabled for userspace access by the kernel,
> and even if it is enabled, the kernel folks don't (last time I
> checked) consider this userspace ABI -- it's only there for
> the benefit of the VDSO.
Ok, thanks.
> (CNTVCT_EL0 is how the fast clock_gettime
> and getimeofday paths are implemented.)
Yes.
Paolo
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, (continued)
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Christopher Covington, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Peter Crosthwaite, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Christopher Covington, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Peter Maydell, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Paolo Bonzini, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Peter Maydell, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Paolo Bonzini, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Peter Maydell, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Paolo Bonzini, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure, Peter Maydell, 2015/10/08
- Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure,
Paolo Bonzini <=