From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85FC1C433EF for ; Thu, 24 Feb 2022 16:05:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229506AbiBXQGJ (ORCPT ); Thu, 24 Feb 2022 11:06:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbiBXQGI (ORCPT ); Thu, 24 Feb 2022 11:06:08 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC1F31C6EF9 for ; Thu, 24 Feb 2022 08:05:31 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id u1so342503wrg.11 for ; Thu, 24 Feb 2022 08:05:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bmWCDhCLgHqbLcu4zq+gTabVGdCJ3VfshRrjvuSuZn4=; b=KMuwV3IWYYZFHnKCAS355Tm8ua1AtfKhURR2/YUPZTo+ryVCi4PI7vUr69YeklRQdu LIEuJ04EGSbXSLOf2SwphJBFxw8AT6sgh2K5rHaZK2IM4aEFI1pw2LS8i9rbL2yyQmfz iW3FhemIg7vrEZXLL40Yw9GRP5XeizSyuYrn3p6cIdMr2Dh/j2DUyWoi+Rg4OQGuvvSt PAmnzHscrlFKkwZysu9X05s9Eq1gLQ8ciTVn4yh4RASw7E0J6pDiBHivbn9qUZGy8YKf IlhSZQDWJj6GxqXTg6bmj+na/osXderBrENcqMcQcXUhF6TwxK+OlTh+Y/PYhs5L7EYS FZXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bmWCDhCLgHqbLcu4zq+gTabVGdCJ3VfshRrjvuSuZn4=; b=lXDj5M0aw/UfksxyLLw1dWGpuWEcu4iHiFIF+qlShvtB9PP0WbwHfOjgEdI9hgCggV yHEOSW9OUK5iJi180shp8qqMYde7H7LHxsW6ZOYi/9+DBUXWSPU+tajDF741JqJk+Kfj wUa3fEaD+drIkj2CAyVefJt0cbBL/zUPitKm8AKz9ukvWBNAGu8Ey7EMjSkegAyId+84 AaPhDGbWQKoGLy8+7/WZrnyupVODmD1zug6RI+FSg5hsTqwFBr88R7vZKs9DrEOKmMbj 4u5KP0m0r1GxfYXX8WYSkvRajO5/ekjc/HEmdGi/USUQAFVZeO7OtvFwedIP06/0dhQH kASQ== X-Gm-Message-State: AOAM533RopA74ciou4ZrjGdRM8ptKr8ng1TqKWB2IFo8RIxX/v+7rZRt dk9Ri64rganD7WkSy0CG2+M= X-Google-Smtp-Source: ABdhPJwnla5iOEohAZplej8ESMAiPZbMgCeoEBe+9bYVAHyR/1OmHH3f7CJYBq5mbv3HzYyPuWkUrA== X-Received: by 2002:adf:f991:0:b0:1ed:c156:b6e3 with SMTP id f17-20020adff991000000b001edc156b6e3mr2862623wrr.411.1645718612169; Thu, 24 Feb 2022 08:03:32 -0800 (PST) Received: from orome ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id k18sm2588699wrp.104.2022.02.24.08.03.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:03:31 -0800 (PST) Date: Thu, 24 Feb 2022 17:03:29 +0100 From: Thierry Reding To: Dmitry Osipenko Cc: Jonathan Hunter , Mikko Perttunen , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH v1] drm/tegra: Use dev_err_probe() Message-ID: References: <20220207212923.10386-1-digetx@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TBBSrxsIdYbcaitO" Content-Disposition: inline In-Reply-To: <20220207212923.10386-1-digetx@gmail.com> User-Agent: Mutt/2.2.1 (c8109e14) (2022-02-19) Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org --TBBSrxsIdYbcaitO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 08, 2022 at 12:29:23AM +0300, Dmitry Osipenko wrote: > Replace dev_printk() with a generic dev_err_probe() helper which silences > noisy error messages about deferred probe and makes easy to debug failing > deferred probe by printing notification about the failure to KMSG in the > end of kernel booting process and by adding failing device and the reason > of deferred probe to devices_deferred of debugfs. This was proven to be > useful in the case of eDP driver regression by immediately showing why > display driver was failing when user asked for help, otherwise it would've > been much more difficult to debug such problems on a third party device > that doesn't have developer setup. >=20 > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/drm/tegra/dc.c | 13 +++---------- > drivers/gpu/drm/tegra/hdmi.c | 34 +++++++++------------------------- > 2 files changed, 12 insertions(+), 35 deletions(-) Applied, thanks. Thierry --TBBSrxsIdYbcaitO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmIXrFAACgkQ3SOs138+ s6E1vg//fMlOjgAdGesdZVvKGdBBfBpeh/YzJ5aGWpYZmV64VrqSjp23f0Y0ZJqs kszvGnLEuhk6pmBSndIxvirBFNDVEvaOrHcKhmnJpR8LrbDOPZn7VY27t2xPNj5T ABmRLiAvpgFTQsOYQktn1iyC0CnRiNnE842z8487bYO9pEtH2/6LV16l4NeBhnBa L4uxx09AJc+FVtXJ+fz6LZy3h8DVlVIchzPbUBUePdUj7xxYEnql1QnATgmHIdwY dyG+viunJqBflWiVrH9nBIxQSWkql7pso7XL+RF/K2ApCzaocwE8C4PF0smFGfDC AgZeAj7hm2xl1SBD10+8rnHNja1TpMr3wUgE2HzXVa9RzgqWcXoamOqB1AxWHNFQ u5QoaNqA6MSuO4FE72ahXiX+6BwSnlGB+vyBmwg53lORBGJW2aLjUsuqljb8xumu sKbpnRjO/g+/mjukZTRfRwV0puaDYJ6jzt21VbQN27du20oajoy26h3ImLVdQPMT Q1krSFT0VFdtwwjeh9Q7ZXn+eeiCLD4VDh31FJpjbWhwETYhYUPPnz65XCo+6Yr7 XcqNUacH2bZzkXkTXlkvzhg9bKsB6Mfv62CCXp6NMPNqKH5pfancS9fFz1voC9Ys SKjZ2F2sdGTQTe6TmmllxjKLPwz9XVQoo+E5NVWUaJsZbwat928= =31Or -----END PGP SIGNATURE----- --TBBSrxsIdYbcaitO--