On Mon, 3 Feb 2020 at 19:22, Marc Kleine-Budde mkl@pengutronix.de wrote:
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
I have reported on another email regarding this dtb issue.
...the rest are subsequent faults.
Can we add your Tested-by to the patch?
We generally test linux mainline, linux-next, LTS 5.4, 4.19, 4.14, 4.9 and 4.4 branches. When issue like this found and with a proposed fix patch. I do schedule it for apply patch and test and report it back on email thread.
- Naresh