[Letux-kernel] jz4730-i2c - clocksource

Paul Boddie paul at boddie.org.uk
Sat Mar 6 17:07:54 CET 2021


On Saturday, 6 March 2021 16:22:50 CET H. Nikolaus Schaller wrote:
> latest code is now here:
> 
> https://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/
jz4730-v9

I'll try and build this, at least.

As for the futex support, I did notice that the Ingenic CPUs supposedly have 
cpu_has_llsc defined as 1 in...

arch/mips/include/asm/mach-ingenic/cpu-feature-overrides.h

In the legacy kernel, there is no similar overriding for Ingenic CPUs, and 
instead it seems that arch/mips/kernel/cpu-probe.c does some work testing the 
processor identifier against known values and setting MIPS_CPU_LLSC 
accordingly, this later being used in include/asm-mips/cpu-features.h to 
define cpu_has_llsc.

So it is possible that LL/SC support is missing and that this flag might be 
unset for better performance. But that is just an idea.

Paul




More information about the Letux-kernel mailing list