Thread (35 messages) 35 messages, 10 authors, 2014-09-11

[PATCH] clocksource: arch_timer: Fix code to use physical timers when requested

From: Stephen Boyd <hidden>
Date: 2014-08-28 00:56:31
Also in: lkml

On 08/27/14 15:33, Olof Johansson wrote:
On Wed, Aug 27, 2014 at 3:26 PM, Stephen Boyd [off-list ref] wrote:
quoted
Is there any reason why the virtual counter can't be read? Maybe we're
the hyp and we need to make sure we don't use the virtual timer so that
the guest can use it, but that doesn't have any effect on the usage of
the virtual counter for the clocksource.
There are several cases where virtual is unusable -- in particular it
might not have been configured properly (i.e. the phys/virt offset is
at a bad value).
Any specifics? It would be nice to say so in the commit text so that
others using such devices know they need this patch. I'm guessing the
firmware can't be fixed?

In this particular case is there actually a virtual interrupt but we've
explicitly removed it from the DT so that the driver can be forced into
using the physical counter? Or are we getting saved by the hyp check?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help