11-11-2021, 10:56 PM
(11-07-2021, 04:40 PM)some_pinephone_user Wrote: I did some new test. The RCU failre on deischarging battery logging battery levels. The results are pretty strange: https://dropmefiles.com/4IRLI
Sometimes the test-cycle completes without any error and sometimes with tens of thousand.
@smaeul , could you take a look into?
Your logs show time jumps that are smaller than those seen on any device before. They are not covered by the existing workaround in the kernel, so an additional kernel change is needed to resolve the errors you are seeing.
The quickest way to fix your time jumps is to apply this patch again, but instead of changing the constant from a 9 to an 8, change it from an 8 to a 7:
https://lore.kernel.org/linux-sunxi/2021...lland.org/
Decreasing the mask size could have a slight performance impact, so there has been some discussion about finding a better way to filter out the jumps.