linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Icenowy Zheng <icenowy@aosc.xyz>, Tejun Heo <tj@kernel.org>
Cc: Adam Borowski <kilobyte@angband.pl>,
	Andre Przywara <andre.przywara@arm.com>,
	linux-kernel@vger.kernel.org
Subject: Re: sun50i-a64-pinctrl WARN_ON drivers/base/dd.c:349
Date: Thu, 16 Mar 2017 10:06:15 +0900	[thread overview]
Message-ID: <20170316010615.GA23552@kroah.com> (raw)
In-Reply-To: <197431489595078@web8g.yandex.ru>

On Thu, Mar 16, 2017 at 12:24:38AM +0800, Icenowy Zheng wrote:
> 
> 
> 16.03.2017, 00:14, "Adam Borowski" <kilobyte@angband.pl>:
> > 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@linuxfoundation.org> (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!

       reply	other threads:[~2017-03-16  1:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170315161406.smd4na25two55jjh@angband.pl>
     [not found] ` <197431489595078@web8g.yandex.ru>
2017-03-16  1:06   ` Greg Kroah-Hartman [this message]
2017-03-17 14:08     ` sun50i-a64-pinctrl WARN_ON drivers/base/dd.c:349 Tejun Heo
     [not found]       ` <785901489760914@web50g.yandex.ru>
2017-03-17 14:44         ` Tejun Heo
2017-03-17 16:32           ` Adam Borowski
2017-04-02 23:48           ` André Przywara
2017-04-18  7:25             ` Tejun Heo
2017-04-18  9:12               ` Andre Przywara
2017-04-28 22:03                 ` Tejun Heo
2017-04-29 21:28                   ` Adam Borowski
2017-04-29 23:34                     ` André Przywara
2017-05-01 19:22                       ` Tejun Heo
2017-04-18 10:51               ` Icenowy Zheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170316010615.GA23552@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=andre.przywara@arm.com \
    --cc=icenowy@aosc.xyz \
    --cc=kilobyte@angband.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).