Re: [PATCH] driver core: Make probe deferral more quiet
From: Bjorn Andersson
Date: Tue Mar 10 2015 - 08:57:57 EST
On Tue 10 Mar 04:55 PDT 2015, Mark Brown wrote:
> Currently probe deferral prints a message every time a device requests
> deferral at info severity (which is displayed by default). This can have
> an impact on system boot times with serial consoles and is generally quite
> noisy.
>
> Since subsystems and drivers should already be logging the specific reason
> for probe deferral in order to aid users in understanding problems the
> messages from the driver core should be redundant lower the severity of
> the messages printed, cutting down on the volume of output on the console.
>
> This does mean that if the drivers and subsystems aren't doing a good job
> we get no output on the console by default. Ideally we'd be able to arrange
> to print if nothing else printed, though that's a little fun. Even better
> would be to come up with a mechanism that explicitly does dependencies so
> we don't have to keep polling and erroring.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
I like it, much better than the suggestion I made to drop the more
informative print out in the regulator framework.
Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxx>
Regards,
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/