[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50390ee7-20df-4be1-9cda-639981bf4ca7@linaro.org>
Date: Thu, 4 Jul 2024 09:57:55 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: neil.armstrong@...aro.org, "Rafael J. Wysocki" <rjw@...ysocki.net>,
Linux PM <linux-pm@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Lukasz Luba <lukasz.luba@....com>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Zhang Rui <rui.zhang@...el.com>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>
Subject: Re: [PATCH v2] thermal: core: Call monitor_thermal_zone() if zone
temperature is invalid
On 04/07/2024 09:39, neil.armstrong@...aro.org wrote:
[ ... ]
> OK I just found out, it's the `qcom-battmgr-bat` thermal zone, and in CI
> we do not have the firmwares so the
> temperature is never available, this is why it fails in a loop.
>
> Before this patch it would fail silently, but would be useless if we
> start the firmware too late.
>
> So since it's firmware based, valid data could arrive very late in the
> boot stage, and sending an
> error message in a loop until the firmware isn't started doesn't seem
> right.
Yeah, there was a similar bug with iwlwifi. They fixed it by registering
the thermal zone after the firmware was successfully loaded.
Is that possible to do the same ?
> I think Rafael's new patch is good, but perhaps it should send an error
> when it finally stops monitoring.
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists