[PATCH v8 2/5] driver core: add deferring probe reason to devices_deferred property
Andrzej Hajda
a.hajda at samsung.com
Fri Jul 10 11:25:46 EDT 2020
On 10.07.2020 15:31, Greg Kroah-Hartman wrote:
> On Thu, Jul 02, 2020 at 03:44:21PM +0200, Andrzej Hajda wrote:
>> /sys/kernel/debug/devices_deferred property contains list of deferred devices.
>> This list does not contain reason why the driver deferred probe, the patch
>> improves it.
>> The natural place to set the reason is dev_err_probe function introduced
>> recently, ie. if dev_err_probe will be called with -EPROBE_DEFER instead of
>> printk the message will be attached to a deferred device and printed when user
>> reads devices_deferred property.
>>
>> Signed-off-by: Andrzej Hajda <a.hajda at samsung.com>
>> Reviewed-by: Mark Brown <broonie at kernel.org>
>> Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
>> Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>
>> Reviewed-by: Rafael J. Wysocki <rafael at kernel.org>
>> ---
>> v8:
>> - improved commit message
> I'm totally confused by this series. Can you resend the whole thing,
> as a full series, not just random individual patches in the series
> incremented? It's a pain to try to fish them all out as to which is the
> "latest" with all of the needed reviewed by lines :(
v7 is the latest except this one,which contains only commit message change.
Anyway I will send v8 to make things simple.
Regards
Andrzej
>
> thanks,
>
> greg k-h
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://protect2.fireeye.com/v1/url?k=563dadd0-0bf16175-563c269f-0cc47a30d446-7237066d193b28b5&q=1&e=54779b9e-347e-4d0c-9845-da31d4cce7e4&u=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fdri-devel
>
More information about the linux-arm-kernel
mailing list