From: Andi Kleen <ak@linux.intel.com>
To: me@ahmedabdelfattah.dev
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
Tony Luck <tony.luck@intel.com>, Borislav Petkov <bp@alien8.de>,
Hanjun Guo <guohanjun@huawei.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Shuai Xue <xueshuai@linux.alibaba.com>,
Len Brown <lenb@kernel.org>,
Ying Huang <huang.ying.caritas@gmail.com>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ACPI: APEI: GHES: Poll error sources at their poll interval
Date: Mon, 23 Nov 2026 08:16:18 -0800 [thread overview]
Message-ID: <awRm0j8bBPrgMhw2@tassilo> (raw)
In-Reply-To: <20261119-acpi-ghes-poll-interval-v1-1-6f45cc65fd62@ahmedabdelfattah.dev>
> diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
> index 5d888c82efea..92d54c6b209a 100644
> --- a/drivers/acpi/apei/ghes.c
> +++ b/drivers/acpi/apei/ghes.c
> @@ -1276,7 +1276,7 @@ static void ghes_add_timer(struct ghes *ghes)
> return;
> }
> expire = jiffies + msecs_to_jiffies(g->notify.poll_interval);
> - ghes->timer.expires = round_jiffies_relative(expire);
> + ghes->timer.expires = expire;
> add_timer(&ghes->timer);
Makes sense. I guess at these long intervals rounding isn't very
useful anyways because the power impact is already low. It's more
for stuff that runs every few seconds.
Reviewed-by: Andi Kleen <ak@linux.intel.com>
-Andi
prev parent reply other threads:[~2026-11-23 16:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 18:36 Ahmed Abdelfattah via B4 Relay
2026-11-23 16:16 ` Andi Kleen [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=awRm0j8bBPrgMhw2@tassilo \
--to=ak@linux.intel.com \
--cc=bp@alien8.de \
--cc=guohanjun@huawei.com \
--cc=huang.ying.caritas@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=me@ahmedabdelfattah.dev \
--cc=rafael@kernel.org \
--cc=tony.luck@intel.com \
--cc=xueshuai@linux.alibaba.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 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®