All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Michael Tretter <m.tretter@pengutronix.de>,
	linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org
Cc: mturquette@baylibre.com, michal.simek@xilinx.com,
	rajan.vaja@xilinx.com, kernel@pengutronix.de,
	m.tretter@pengutronix.de
Subject: Re: [PATCH v2] clk: zynqmp: replace warn_once with pr_debug for failed clock ops
Date: Mon, 24 Jan 2022 17:18:33 -0800	[thread overview]
Message-ID: <20220125011835.5D84FC340E4@smtp.kernel.org> (raw)
In-Reply-To: <20220119115434.2042017-1-m.tretter@pengutronix.de>

Quoting Michael Tretter (2022-01-19 03:54:34)
> The warning that a clock operation failed is only printed once. However,
> the function is called for various different clocks. The limit hides the
> warnings if different clocks are affected by the failures.
> 
> The clock ops might fail if the firmware that handles the clocks is
> misconfigured. Therefore, replace the pr_warn_once with pr_debug to
> allow the user to see all errors if necessary. By default, hide the
> error messages and let drivers handle the errors.
> 
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> ---

Applied to clk-next

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@kernel.org>
To: Michael Tretter <m.tretter@pengutronix.de>,
	linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org
Cc: mturquette@baylibre.com, michal.simek@xilinx.com,
	rajan.vaja@xilinx.com, kernel@pengutronix.de,
	m.tretter@pengutronix.de
Subject: Re: [PATCH v2] clk: zynqmp: replace warn_once with pr_debug for failed clock ops
Date: Mon, 24 Jan 2022 17:18:33 -0800	[thread overview]
Message-ID: <20220125011835.5D84FC340E4@smtp.kernel.org> (raw)
In-Reply-To: <20220119115434.2042017-1-m.tretter@pengutronix.de>

Quoting Michael Tretter (2022-01-19 03:54:34)
> The warning that a clock operation failed is only printed once. However,
> the function is called for various different clocks. The limit hides the
> warnings if different clocks are affected by the failures.
> 
> The clock ops might fail if the firmware that handles the clocks is
> misconfigured. Therefore, replace the pr_warn_once with pr_debug to
> allow the user to see all errors if necessary. By default, hide the
> error messages and let drivers handle the errors.
> 
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> ---

Applied to clk-next

  parent reply	other threads:[~2022-01-25  1:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-19 11:54 [PATCH v2] clk: zynqmp: replace warn_once with pr_debug for failed clock ops Michael Tretter
2022-01-19 11:54 ` Michael Tretter
2022-01-20  9:17 ` Michal Simek
2022-01-20  9:17   ` Michal Simek
2022-01-25  1:18 ` Stephen Boyd [this message]
2022-01-25  1:18   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220125011835.5D84FC340E4@smtp.kernel.org \
    --to=sboyd@kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=m.tretter@pengutronix.de \
    --cc=michal.simek@xilinx.com \
    --cc=mturquette@baylibre.com \
    --cc=rajan.vaja@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.