mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frank Scheiner <frank.scheiner@web.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org, patches@lists.linux.dev,
	linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
	akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org,
	patches@kernelci.org, lkft-triage@lists.linaro.org,
	pavel@nabladev.com, jonathanh@nvidia.com, f.fainelli@gmail.com,
	sudipm.mukherjee@gmail.com, rwarsow@gmx.de, conor@kernel.org,
	hargar@microsoft.com, broonie@kernel.org, achill@achill.org,
	sr@sladewatkins.com, cc@epic-linux.org
Subject: Re: [PATCH 6.6 000/484] 6.6.148-rc1 review
Date: Tue, 4 Aug 2026 16:31:50 +0200	[thread overview]
Message-ID: <4da1cbe8-3ec2-4b20-8b0e-572ccbf73e29@web.de> (raw)
In-Reply-To: <2026080313-stony-spree-9b45@gregkh>

[-- Attachment #1: Type: text/plain, Size: 2653 bytes --]

On 03.08.26 10:14, Greg Kroah-Hartman wrote:
> [...]
> Ugh.  This is what happens when we are trying to deal with stable stuff
> that is not upstream, we almost always get it wrong.
> 
> Can you send me a revert patch for this, so we can fix your build?

Locally I use [1] for now, also attached, based on linux-6.6.y at
aa0e49877a2e61e9f4ca10e039727a34f59e9964, tag: v6.6.148.

[1]: https://raw.githubusercontent.com/linux-ia64/linux-stable-rc/refs/heads/__mirror/patches/linux-6.6.y/0001-Revert-ia64-Make-acpi_cpufreq_cpu_exit-return-void.patch

>  ANd
> going forward, I think we're just going to have to stick to the "it has
> to be usptream" stuff, and if you wish to keep this arch alive outside
> of upstream, the api/build/whatever fallout will have to be on you, as
> we just can't handle it here, sorry.

I kind of understand the issue here. But if it's impossible to maintain
all architectures in an LTS kernel that were present during its first
release, the LTS somewhat loses its meaning IMHO - unless this never
covered all architectures present in a release. But then I also don't
understand:

"The ia64 architecture gets its well-earned retirement as planned,
 now that there is one last (mostly) working release that will be
 maintained as an LTS kernel."

...from [2].

[2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1e0c505e13162a2abe7c984309cfe2ae976b428d

But I also wonder: if a mainline patch that should go into a stable
kernel branch but won't work as is, it needs to be backported somewhow,
or?

Which is IMHO exactly the situation we have here: A mainline patch ([3])
from a Linux version (6.11) after an arch removal "failed" to modify all
relevant files in a stable Linux version (6.6) before that arch removal.
Hence that mainline patch requires modifications.

[3]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b4b1ddc9dfe997a5f492fa3a36487f8e7a5de30d

I assume there must have been already cases where a mainline patch was
desired, but didn't fit as is and so required modifications. If that
case is supported, it should also work for the few stable Linux branches
that still have support for ia64 included (linux-5.10.y, linux-5.15.y,
linux-6.1.y and linux-6.6.y)), no?

****

But if you can't handle that case, sure, we can do it on our own. Though
again I think there is not much of a difference to cases where a
mainline patch breaks some still supported arch, device driver, whatever
in a stable branch and people like to have both working: they cannot fix
it in mainline.

Cheers,
Frank

[-- Attachment #2: 0001-Revert-ia64-Make-acpi_cpufreq_cpu_exit-return-void.patch --]
[-- Type: text/x-patch, Size: 1296 bytes --]

From 7d213dde115b77ee5759ffffcdcd4a5026464d49 Mon Sep 17 00:00:00 2001
From: Frank Scheiner <frank.scheiner@web.de>
Date: Tue, 4 Aug 2026 15:48:08 +0200
Subject: [PATCH] Revert "ia64: Make acpi_cpufreq_cpu_exit return void"

Commit b4b1ddc9dfe9 ("cpufreq: Make cpufreq_driver->exit() return
void") was part of v6.6.145-rc1. But as it was derived from a
later Linux version w/o support for ia64 it didn't touch all
relevant parts in linux-6.6.y. Which now required an extra fix to
build correctly for ia64. But b4b1ddc9dfe9 was then not part of
the release v6.6.145. So the extra fix can go now, too.

This reverts commit bb51b626b5a8ef349b11876572540f19ad4d5030.

Signed-off-by: Frank Scheiner <frank.scheiner@web.de>
---
 drivers/cpufreq/ia64-acpi-cpufreq.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/cpufreq/ia64-acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c
index f692729068f5..c6bdc455517f 100644
--- a/drivers/cpufreq/ia64-acpi-cpufreq.c
+++ b/drivers/cpufreq/ia64-acpi-cpufreq.c
@@ -302,7 +302,7 @@ acpi_cpufreq_cpu_init (
 }
 
 
-static void
+static int
 acpi_cpufreq_cpu_exit (
 	struct cpufreq_policy   *policy)
 {
@@ -316,6 +316,8 @@ acpi_cpufreq_cpu_exit (
 		kfree(policy->freq_table);
 		kfree(data);
 	}
+
+	return (0);
 }
 
 
-- 
2.25.1


  reply	other threads:[~2026-08-04 14:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-30 14:08 Greg Kroah-Hartman
2026-07-30 17:24 ` Florian Fainelli
2026-07-30 18:23 ` Peter Schneider
2026-07-30 18:48 ` Miguel Ojeda
2026-07-30 20:06 ` Brett A C Sheffield
2026-07-30 21:22 ` Shuah Khan
2026-07-30 21:50 ` Pavel Machek
2026-07-31  5:06 ` Wentao Guan
2026-07-31 17:37 ` Frank Scheiner
2026-08-03  8:14   ` Greg Kroah-Hartman
2026-08-04 14:31     ` Frank Scheiner [this message]
2026-07-31 23:23 ` Mark Brown
2026-08-01  6:53 ` Ron Economos

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=4da1cbe8-3ec2-4b20-8b0e-572ccbf73e29@web.de \
    --to=frank.scheiner@web.de \
    --cc=achill@achill.org \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@kernel.org \
    --cc=cc@epic-linux.org \
    --cc=conor@kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hargar@microsoft.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lkft-triage@lists.linaro.org \
    --cc=patches@kernelci.org \
    --cc=patches@lists.linux.dev \
    --cc=pavel@nabladev.com \
    --cc=rwarsow@gmx.de \
    --cc=shuah@kernel.org \
    --cc=sr@sladewatkins.com \
    --cc=stable@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=torvalds@linux-foundation.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

Powered by JetHome