From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmKta-0004N2-TB for qemu-devel@nongnu.org; Wed, 14 Oct 2015 08:11:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmKtV-0006sf-UU for qemu-devel@nongnu.org; Wed, 14 Oct 2015 08:11:02 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmKtV-0006sU-Ok for qemu-devel@nongnu.org; Wed, 14 Oct 2015 08:10:57 -0400 Message-ID: <561E464C.2080105@codeaurora.org> Date: Wed, 14 Oct 2015 08:10:52 -0400 From: Christopher Covington MIME-Version: 1.0 References: <1430417667-4245-5-git-send-email-christopher.covington@linaro.org> <1443123824-26866-1-git-send-email-cov@codeaurora.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-arm: Use common CPU cycle infrastructure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , Peter Crosthwaite , QEMU Developers , Alistair Francis On 10/13/2015 04:53 PM, Peter Maydell wrote: > On 24 September 2015 at 20:43, Christopher Covington wrote: >> cpu_get_ticks() provides a common interface across targets for >> calculating CPU cycles. Using this fixes PMCCNTR reads when -icount >> is specified (previously a non-increasing value was returned). >> >> Signed-off-by: Christopher Covington >> --- >> target-arm/helper.c | 9 +++------ >> 1 file changed, 3 insertions(+), 6 deletions(-) > > So, I think the conclusion from this thread was that we should > (a) change the default cpu_get_host_ticks() implementation to > call get_clock() > (b) rebase this patch and apply it > > Is anybody planning to do that? It's not in my plans at the moment. Thanks, Christopher Covington -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project