* kernel-hwcap.h change causing full kernel rebuilds
@ 2026-04-21 12:52 Jens Axboe
2026-04-21 12:56 ` Joey Gouly
0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2026-04-21 12:52 UTC (permalink / raw)
To: Mark Brown, Catalin Marinas; +Cc: Linux ARM
Hi,
Maybe this has already been reported, but a quick search on lore did
not find anything. So here goes... After commit:
commit abed23c3c44f565dc812563ac015be70dd61e97b
Author: Mark Brown <broonie@kernel.org>
Date: Mon Mar 2 22:53:16 2026 +0000
arm64/hwcap: Generate the KERNEL_HWCAP_ definitions for the hwcaps
arch/arm64/include/generated/asm/kernel-hwcap.h is generated for
_every build_, which means that you can literally run make back to back
without _any_ source changes and you are rewarded with a full kernel
rebuild. Not sure how this ever got past any kind of testing, because
it's very noticeable.
For now I've reverted this change locally as any kind of testing now
kicks off a full build, when a single file rebuild is all that is
needed.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel-hwcap.h change causing full kernel rebuilds
2026-04-21 12:52 kernel-hwcap.h change causing full kernel rebuilds Jens Axboe
@ 2026-04-21 12:56 ` Joey Gouly
2026-04-21 13:00 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Joey Gouly @ 2026-04-21 12:56 UTC (permalink / raw)
To: Jens Axboe; +Cc: Mark Brown, Catalin Marinas, Linux ARM
Hi!
On Tue, Apr 21, 2026 at 06:52:55AM -0600, Jens Axboe wrote:
> Hi,
>
> Maybe this has already been reported, but a quick search on lore did
> not find anything. So here goes... After commit:
Here you go!
https://lore.kernel.org/linux-arm-kernel/20260413-arm64-hwcap-gen-fix-v1-1-26c56aed6908@kernel.org/
and on it's in rc1 now:
https://lore.kernel.org/linux-arm-kernel/aeaDFH0-2zhOQTxy@arm.com/
Thanks,
Joey
>
> commit abed23c3c44f565dc812563ac015be70dd61e97b
> Author: Mark Brown <broonie@kernel.org>
> Date: Mon Mar 2 22:53:16 2026 +0000
>
> arm64/hwcap: Generate the KERNEL_HWCAP_ definitions for the hwcaps
>
> arch/arm64/include/generated/asm/kernel-hwcap.h is generated for
> _every build_, which means that you can literally run make back to back
> without _any_ source changes and you are rewarded with a full kernel
> rebuild. Not sure how this ever got past any kind of testing, because
> it's very noticeable.
>
> For now I've reverted this change locally as any kind of testing now
> kicks off a full build, when a single file rebuild is all that is
> needed.
>
> --
> Jens Axboe
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel-hwcap.h change causing full kernel rebuilds
2026-04-21 12:56 ` Joey Gouly
@ 2026-04-21 13:00 ` Jens Axboe
0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2026-04-21 13:00 UTC (permalink / raw)
To: Joey Gouly; +Cc: Mark Brown, Catalin Marinas, Linux ARM
On 4/21/26 6:56 AM, Joey Gouly wrote:
> Hi!
>
> On Tue, Apr 21, 2026 at 06:52:55AM -0600, Jens Axboe wrote:
>> Hi,
>>
>> Maybe this has already been reported, but a quick search on lore did
>> not find anything. So here goes... After commit:
>
> Here you go!
>
> https://lore.kernel.org/linux-arm-kernel/20260413-arm64-hwcap-gen-fix-v1-1-26c56aed6908@kernel.org/
Thanks, glad it's fixed, because that was pretty terrible yesterday
until I started pondering wtf any kind of testing was taking literally
forever. Guess I'll rebase my 7.1 based branches after -rc1, anything
post abed23c3c44f565dc812563ac015be70dd61e97b and pre that fix is
basically unusable on arm64 for any kind of development.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-21 13:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-21 12:52 kernel-hwcap.h change causing full kernel rebuilds Jens Axboe
2026-04-21 12:56 ` Joey Gouly
2026-04-21 13:00 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox