Re: fw_devlink.strict=1 breaks sound card probe ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Morimoto-san,

On Wed, Aug 24, 2022 at 03:13:04AM +0000, Kuninori Morimoto wrote:
> 
> Hi Renesas-ML
> Cc Saravana, Greg, Laurent, Geert
> 
> I'm now testing v6.0.0-rc2 kernel on ULCB-KF board, and I noticed
> it doesn't probe sound card.
> I git-bisected and noticed that this patch breaks sound probe.
> 
> 	commit 71066545b48e4259f89481199a0bbc7c35457738
> 	("driver core: Set fw_devlink.strict=1 by default")
> 
> I could re-probe sound card if I reverted it.
> (My .config is using Y for all drivers)
> 
> I'm not well understanding about this patch,
> but it seems it is related to deferred probe.
> 
> My sound card needs many drivers to probe.
> 
> 	HDMI
> 	Sound CPU
> 	Sound Codec x 2 (depends on I2C)
> 	Sound Card
> 
> To probe "Sound Card", it needs other necessary drivers.
> But it seems some necessary drivers are not probed by above patch.
> In my quick check, "HDMI" and 1 of "Sound Codec" drivers are not probed.
> 
> How can I solve this issue, or where I can check ?

Saravana is more familiar with devlink than I am, so he may be able to
diagnose that without further information, but otherwise it would be
helpful if you could provide some logs. Enabling the debug messages in
drivers/base/dd.c can provide some insight. The contents of the debugfs
devices_deferred file can also be useful, as well as the
consumer/supplier links in sysfs for all the devices involved with the
sound card.

-- 
Regards,

Laurent Pinchart



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux