Re: sun50i-a64-pinctrl WARN_ON drivers/base/dd.c:349
From: Greg Kroah-Hartman
Date: Wed Mar 15 2017 - 21:09:55 EST
On Thu, Mar 16, 2017 at 12:24:38AM +0800, Icenowy Zheng wrote:
>
>
> 16.03.2017, 00:14, "Adam Borowski" <kilobyte@xxxxxxxxxx>:
> > Hi!
> > On Pine64, since mid-February's -next, I get the following non-fatal warning:
>
> I don't think this is from any bug in sun50i-a64-pinctrl driver, as the PC even
> didn't enter sun50i-a64-pinctrl driver...
>
> Maybe you should send this email also to the maintainer of the basical driver
> framework.
>
> He's "Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> (supporter:DRIVER
> CORE, KOBJECTS, DEBUGFS, KERNFS AND SYSFS)"
>
> I added him to the "To" list of this reply.
Well, Tejun added that line, way back in 2.6.21, it's not exactly "new
code". It says something is wrong with the devres list for the device,
that the bus and driver control, probe of your driver hasn't happened
yet though, so I don't really know what this is trying to check for.
Tejun?
rest of the email left below for context for Tejun..
thanks,
greg k-h
> > [ 2.895375] platform 1c20800.pinctrl: Retrying from deferred list
> > [ 2.901945] bus: 'platform': driver_probe_device: matched device 1c20800.pinctrl with driver sun50i-a64-pinctrl
> > [ 2.912660] bus: 'platform': really_probe: probing driver sun50i-a64-pinctrl with device 1c20800.pinctrl
> > [ 2.922826] ------------[ cut here ]------------
> > [ 2.927751] WARNING: CPU: 2 PID: 65 at drivers/base/dd.c:350 driver_probe_device.part.1+0x37c/0x390
> > [ 2.937339] Modules linked in:
> > [ 2.940578]
> > [ 2.942165] CPU: 2 PID: 65 Comm: kworker/2:1 Not tainted 4.11.0-rc1-00037-g4ca6f786aed9 #2
> > [ 2.950913] Hardware name: Pine64+ (DT)
> > [ 2.954989] Workqueue: events deferred_probe_work_func
> > [ 2.960449] task: ffff80007c690c80 task.stack: ffff80007c698000
> > [ 2.966741] PC is at driver_probe_device.part.1+0x37c/0x390
> > [ 2.972658] LR is at driver_probe_device.part.1+0x140/0x390
> > ...
> > [ 3.173581] [<ffff000008555794>] driver_probe_device.part.1+0x37c/0x390
> > [ 3.180602] [<ffff00000855595c>] __device_attach_driver+0xac/0x150
> > [ 3.187162] [<ffff000008553610>] bus_for_each_drv+0x58/0x98
> > [ 3.193081] [<ffff000008555374>] __device_attach+0xc4/0x150
> > [ 3.198991] [<ffff000008555b40>] device_initial_probe+0x10/0x18
> > [ 3.205265] [<ffff0000085547f4>] bus_probe_device+0x94/0xa0
> >
> > (this log has drivers/base/dd.c:350 not :349 because of added "#define
> > DEBUG" at the start of that file)
> >
> > Full console output until that point attached.
> >
> > --
> > âââââââ Meow!
> > âââââââ
> > âââââââ Collisions shmolisions, let's see them find a collision or second
> > âââââââ preimage for double rot13!