Thread (5 messages) 5 messages, 3 authors, 2020-06-18

Re: [PATCH] ARM: VDSO: Fix incorrect clock_gettime64

From: Robin Murphy <robin.murphy@arm.com>
Date: 2020-06-18 17:31:57

On 2020-06-08 14:54, Robin Murphy wrote:
On 2020-05-30 15:59, Russell King - ARM Linux admin wrote:
quoted
On Sat, May 30, 2020 at 03:51:35PM +0100, Robin Murphy wrote:
quoted
On 2020-04-09 06:05, Jaedon Shin wrote:
quoted
__vdso_*() should be removed and fallback used if CNTCVT is not
available by cntvct_functional(). __vdso_clock_gettime64 when added
previous commit is using the incorrect CNTCVT value in that state.
__vdso_clock_gettime64 is also added to remove it's symbol.
Tested-by: Robin Murphy <robin.murphy@arm.com>

Turns out this is what was making my RK3288 box virtually unusable 
since its
last couple of updates - it would be nice to get the fix merged and
backported ASAP. I suspect it's also the same underlying thing for the
Raspberry Pi thread over here:

https://lore.kernel.org/linux-arm-kernel/CAK8P3a2Tw2w73ZkK-W6AA9veMK4-miLUx-TL1EuOdP7EdW-AmQ@mail.gmail.com/ (local) 
Does this mean I need to do something with this patch? It's not been
put in the patch system, so I'm afraid it's missed the boat for 5.7.
Well, there still seems to be a little uncertainty over whether this is 
the best fix, so I guess we may as well wait until the end of the merge 
window just in case somebody comes up with something more solid.

In this particular context I'm merely a user who wants my thing to work, 
but I'll try to keep an eye out and follow up if I don't see any other 
movement.
Since the discussion about why the expected fallback behaviour didn't 
happen seems to have died down, and the Raspberry Pi folks have gone 
down the commendable path of actually fixing their firmware (!), I've 
taken the liberty of chucking this into the patch system for the sake of 
the remaining minority of affected machines.

Robin.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help