From: sashiko-bot@kernel.org
To: "Gopikrishna Garmidi" <gopikrishna.garmidi@oss.qualcomm.com>
Cc: linux-rtc@vger.kernel.org,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>
Subject: Re: [PATCH] rtc: pm8xxx: Don't fail probe if the UEFI offset variable is missing
Date: Thu, 26 Nov 2026 05:54:05 +0000 [thread overview]
Message-ID: <sashiko-outbox-234808@kernel.org> (raw)
In-Reply-To: <20261126055009.758156-1-gopikrishna.garmidi@oss.qualcomm.com>
> On boards that set qcom,uefi-rtc-info, the RTC offset is read from the
> RTCInfo UEFI variable at probe time. Not every firmware creates this
> variable. On the Microsoft Surface Laptop 8th Edition the variable store
> is accessible but RTCInfo does not exist, so the read returns
> EFI_NOT_FOUND and the probe fails:
>
> rtc-pm8xxx c426000.spmi:pmic@0:rtc@6100: probe with driver
> rtc-pm8xxx failed with error -2
>
> As no RTC device is registered, the time can never be set and the
> variable is never created.
>
> Treat a missing variable as a zero offset. It gets written the first
> time the time is set, as for any other offset update.
>
> Fixes: bba38b874886 ("rtc: pm8xxx: add support for uefi offset")
> Signed-off-by: Gopikrishna Garmidi <gopikrishna.garmidi@oss.qualcomm.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126055009.758156-1-gopikrishna.garmidi@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-11-26 5:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 5:50 [PATCH] rtc: pm8xxx: Don't fail probe if the UEFI offset variable is missing Gopikrishna Garmidi
2026-11-26 5:54 ` sashiko-bot [this message]
2026-11-26 7:01 ` Johan Hovold
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=sashiko-outbox-234808@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=gopikrishna.garmidi@oss.qualcomm.com \
--cc=linux-rtc@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox