Re: [PATCH v12 2/4] PM / Domains: add setter for dev.pm_domain

From: Valdis . Kletnieks
Date: Mon Feb 08 2016 - 16:47:27 EST


On Fri, 29 Jan 2016 22:35:18 +0100, "Rafael J. Wysocki" said:
> > One more test unveils this one
> >
> > # modprobe -r sdhci-acpi
> > [ 1289.909441] ------------[ cut here ]------------
> > [ 1289.918205] WARNING: CPU: 1 PID: 4374 at
> > /home/andy/prj/linux-otc/drivers/base/power/common.c:150
> > dev_pm_domain_set+0x51/0x60()
> > [ 1289.934681] PM domains can only be changed for unbound devices
> > [ 1289.944843] Modules linked in: sdhci_acpi(-) sdhci mmc_core
> > led_class [last unloaded: dw_dmac_core]
> > [ 1289.958802] CPU: 1 PID: 4374 Comm: modprobe Not tainted 4.5.0-rc1+ #3
> > [ 1289.969736] ffffffff81c38330 ffff88007bb53d18 ffffffff8133162f
> > ffff88007bb53d60
> > [ 1289.981844] ffff88007bb53d50 ffffffff8105cd12 ffff88017a007410
> > 0000000000000000
> > [ 1289.993996] 0000000000000001 0000000000000080 0000000000000000
> > ffff88007bb53db0
> > [ 1290.006123] Call Trace:
> > [ 1290.012600] [<ffffffff8133162f>] dump_stack+0x44/0x55
> > [ 1290.022052] [<ffffffff8105cd12>] warn_slowpath_common+0x82/0xc0
> > [ 1290.032462] [<ffffffff8105cd9c>] warn_slowpath_fmt+0x4c/0x50
> > [ 1290.042589] [<ffffffff814867c1>] dev_pm_domain_set+0x51/0x60

My Dell Latitude laptopi on next-20160201 is throwing a similar error
at shutdown, except the traceback continues:

mei_me_remove+0xbd/0xc0
pci_device_shutdown+0x32/0x50
device_shutdown+0xe2/0x210

(sorry, that's all I have, transcribing from one frame of video shot while
the system was shutting down....)