mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Philippe Schenker <philippe.schenker@impulsing.ch>
Cc: "rafael@kernel.org" <rafael@kernel.org>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	Sasha Levin <sashal@kernel.org>,
	"alexandre.belloni@bootlin.com" <alexandre.belloni@bootlin.com>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-rtc@vger.kernel.org" <linux-rtc@vger.kernel.org>,
	"nathan@kernel.org" <nathan@kernel.org>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>
Subject: Re: [PATCH v2] rtc: cmos: Use platform_get_irq_optional() in cmos_platform_probe()
Date: Thu, 17 Sep 2026 09:49:44 +0100	[thread overview]
Message-ID: <2026091732-postage-lunacy-fb5e@gregkh> (raw)
In-Reply-To: <d35e7730006ac5a2ccaa08092201994afea668cb.camel@impulsing.ch>

On Thu, Sep 17, 2026 at 08:26:10AM +0000, Philippe Schenker wrote:
> Hi,
> 
> this patch did not carry a Cc: stable tag, but the platform device
> binding changes it fixes have meanwhile been backported to 6.18.y
> (6.18.51), including:
> 
>   ACPI: x86/rtc-cmos: Use platform device for driver binding
> 
> This fix was not backported with it, so 6.18.51 is now affected by
> exactly the problem Nathan reported in
> 
> https://lore.kernel.org/linux-acpi/20260303060752.GA2749263@ax162/
> 
> On my HP ProBook 445 G8 (AMD) the boot log changed as follows:
> 
> 6.18.49 (good):
>   rtc_cmos 00:00: alarms up to one month, y3k, 114 bytes nvram
> 
> 6.18.51 (bad):
>   rtc_cmos PNP0B00:00: error -ENXIO: IRQ index 0 not found
>   rtc_cmos PNP0B00:00: no alarms, y3k, 114 bytes nvram
> 
> On stable this is more than a confusing message. Without an IRQ the
> RTC has no alarm support, so CLOCK_BOOTTIME_ALARM is not available
> and systemd (261) refuses suspend-then-hibernate:
> 
>   systemd-logind: CLOCK_BOOTTIME_ALARM is not supported, can't
>   perform suspend-then-hibernate.
>   Call to SuspendThenHibernate failed: Sleep verb
>   'suspend-then-hibernate' is not configured or configuration is
>   not supported by kernel
> 
> Plain suspend and hibernate still work. RTC wake alarms are also
> broken:
> 
>   # rtcwake -m no -s 120
>   rtcwake: set rtc wake alarm failed: Invalid argument
> 
> The fix is in mainline since v7.0 as:
> 
>   e9f850ba66cd ("rtc: cmos: Use platform_get_irq_optional() in cmos_platform_probe()")
> 
> Stable team, could you please queue it for 6.18.y? Any other stable
> series that received the rtc-cmos platform device binding backport
> would need it as well.

It's already queued up, thanks.

greg k-h

      reply	other threads:[~2026-09-17  8:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04 12:55 Rafael J. Wysocki
2026-04-03 16:09 ` Alexandre Belloni
2026-09-17  8:26 ` Philippe Schenker
2026-09-17  8:49   ` Greg Kroah-Hartman [this message]

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=2026091732-postage-lunacy-fb5e@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=philippe.schenker@impulsing.ch \
    --cc=rafael@kernel.org \
    --cc=regressions@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®