[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221027125836.jlqis3qzyh232smy@bogus>
Date: Thu, 27 Oct 2022 13:58:36 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: Mark Rutland <mark.rutland@....com>
Cc: Johan Hovold <johan+linaro@...nel.org>,
Sudeep Holla <sudeep.holla@....com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] firmware/psci: demote suspend-mode warning to info
level
On Thu, Oct 27, 2022 at 01:15:59PM +0100, Mark Rutland wrote:
> On Wed, Oct 26, 2022 at 03:54:45PM +0200, Johan Hovold wrote:
> > On some Qualcomm platforms, like SC8280XP, the attempt to set PC mode
> > during boot fails with PSCI_RET_DENIED and since commit 998fcd001feb
> > ("firmware/psci: Print a warning if PSCI doesn't accept PC mode") this
> > is now logged at warning level:
> >
> > psci: failed to set PC mode: -3
> >
> > As there is nothing users can do about the firmware behaving this way,
> > demote the warning to info level and clearly mark it as a firmware bug:
> >
> > psci: [Firmware Bug]: failed to set PC mode: -3
> >
> > Signed-off-by: Johan Hovold <johan+linaro@...nel.org>
>
> On the assumption that we don't have any latent issues in this case, this looks
> ok to me, so:
>
> Acked-by: Mark Rutland <mark.rutland@....com>
>
> Sudeep, does this reasonable to you?
>
> Are there any latent issues that mean we should keep this as a pr_warn()?
I am fine removing it as warning but making it debug may mask the issue
completely on the platforms that are using Linux itself for validation of
their PSCI firmware implementation. This sounds like a good compromise
instead of jumping from warning directly to debug. I just want to give a
chance for platforms noticing this and working on getting their firmware
fixed.
So for this version:
Acked-by: Sudeep Holla <sudeep.holla@....com>
--
Regards,
Sudeep
Powered by blists - more mailing lists