On 2/3/20 2:48 PM, Marc Kleine-Budde wrote:
WARNING: CPU: 0 PID: 293 at lib/refcount.c:25 refcount_warn_saturate+0x108/0x174 refcount_t: addition on 0; use-after-free.
FYI, This issue noticed in our Linaro test farm On linux next version 5.5.0-next-20200203 running on beagleboard x15 arm device.
Thanks for providing fix for this case.
Please look closely at your backtraces, they are totally unrelated. It seems the whole culprit in your testcase fails with:
[ 0.000000] OF: ERROR: Bad of_node_put() on /ocp/interconnect@4a000000/segment@0/target-module@8000/cm_core@0/l4per-cm@1700/l4per-clkctrl@28
...the rest are subsequent faults.
Can we add your Tested-by to the patch?
Answering myself: NO!
Marc