public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64/hwcap: Include kernel-hwcap.h in list of generated files
@ 2026-04-13 15:44 Mark Brown
  2026-04-14  6:55 ` Anshuman Khandual
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mark Brown @ 2026-04-13 15:44 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: Marek Vasut, linux-arm-kernel, linux-kernel, Mark Brown

When adding generation for the kernel internal constants for hwcaps the
generated file was not explicitly flagged as such in the build system,
causing it to be regenerated on each build. This wasn't obvious when the
series the change was included in was developed since it was all about
changes that trigger rebuilds anyway.

Fixes: abed23c3c44f5 (arm64/hwcap: Generate the KERNEL_HWCAP_ definitions for the hwcaps)
Reported-by: Marek Vasut <marex@nabladev.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 arch/arm64/include/asm/Kbuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild
index d2ff8f6c3231..31441790b808 100644
--- a/arch/arm64/include/asm/Kbuild
+++ b/arch/arm64/include/asm/Kbuild
@@ -17,4 +17,5 @@ generic-y += parport.h
 generic-y += user.h
 
 generated-y += cpucap-defs.h
+generated-y += kernel-hwcap.h
 generated-y += sysreg-defs.h

---
base-commit: abed23c3c44f565dc812563ac015be70dd61e97b
change-id: 20260413-arm64-hwcap-gen-fix-ecb4bb6dbb91

Best regards,
--  
Mark Brown <broonie@kernel.org>



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64/hwcap: Include kernel-hwcap.h in list of generated files
  2026-04-13 15:44 [PATCH] arm64/hwcap: Include kernel-hwcap.h in list of generated files Mark Brown
@ 2026-04-14  6:55 ` Anshuman Khandual
  2026-04-14 19:22 ` Catalin Marinas
  2026-04-16 16:14 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Anshuman Khandual @ 2026-04-14  6:55 UTC (permalink / raw)
  To: Mark Brown, Catalin Marinas, Will Deacon
  Cc: Marek Vasut, linux-arm-kernel, linux-kernel



On 13/04/26 9:14 PM, Mark Brown wrote:
> When adding generation for the kernel internal constants for hwcaps the
> generated file was not explicitly flagged as such in the build system,
> causing it to be regenerated on each build. This wasn't obvious when the
> series the change was included in was developed since it was all about
> changes that trigger rebuilds anyway.
> 
> Fixes: abed23c3c44f5 (arm64/hwcap: Generate the KERNEL_HWCAP_ definitions for the hwcaps)
> Reported-by: Marek Vasut <marex@nabladev.com>
> Signed-off-by: Mark Brown <broonie@kernel.org>

Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>

> ---
>  arch/arm64/include/asm/Kbuild | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild
> index d2ff8f6c3231..31441790b808 100644
> --- a/arch/arm64/include/asm/Kbuild
> +++ b/arch/arm64/include/asm/Kbuild
> @@ -17,4 +17,5 @@ generic-y += parport.h
>  generic-y += user.h
>  
>  generated-y += cpucap-defs.h
> +generated-y += kernel-hwcap.h
>  generated-y += sysreg-defs.h
> 
> ---
> base-commit: abed23c3c44f565dc812563ac015be70dd61e97b
> change-id: 20260413-arm64-hwcap-gen-fix-ecb4bb6dbb91
> 
> Best regards,
> --  
> Mark Brown <broonie@kernel.org>
> 
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64/hwcap: Include kernel-hwcap.h in list of generated files
  2026-04-13 15:44 [PATCH] arm64/hwcap: Include kernel-hwcap.h in list of generated files Mark Brown
  2026-04-14  6:55 ` Anshuman Khandual
@ 2026-04-14 19:22 ` Catalin Marinas
  2026-04-16 16:14 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2026-04-14 19:22 UTC (permalink / raw)
  To: Will Deacon, Mark Brown; +Cc: Marek Vasut, linux-arm-kernel, linux-kernel

On Mon, 13 Apr 2026 16:44:11 +0100, Mark Brown wrote:
> When adding generation for the kernel internal constants for hwcaps the
> generated file was not explicitly flagged as such in the build system,
> causing it to be regenerated on each build. This wasn't obvious when the
> series the change was included in was developed since it was all about
> changes that trigger rebuilds anyway.
> 
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/hwcap: Include kernel-hwcap.h in list of generated files
      https://git.kernel.org/arm64/c/680b961ebf41


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64/hwcap: Include kernel-hwcap.h in list of generated files
  2026-04-13 15:44 [PATCH] arm64/hwcap: Include kernel-hwcap.h in list of generated files Mark Brown
  2026-04-14  6:55 ` Anshuman Khandual
  2026-04-14 19:22 ` Catalin Marinas
@ 2026-04-16 16:14 ` Geert Uytterhoeven
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2026-04-16 16:14 UTC (permalink / raw)
  To: Mark Brown
  Cc: Catalin Marinas, Will Deacon, Marek Vasut, linux-arm-kernel,
	linux-kernel

On Mon, 13 Apr 2026 at 17:46, Mark Brown <broonie@kernel.org> wrote:
> When adding generation for the kernel internal constants for hwcaps the
> generated file was not explicitly flagged as such in the build system,
> causing it to be regenerated on each build. This wasn't obvious when the
> series the change was included in was developed since it was all about
> changes that trigger rebuilds anyway.
>
> Fixes: abed23c3c44f5 (arm64/hwcap: Generate the KERNEL_HWCAP_ definitions for the hwcaps)
> Reported-by: Marek Vasut <marex@nabladev.com>
> Signed-off-by: Mark Brown <broonie@kernel.org>

Just noticed the issue, bisected it, and found a link to the fix...

Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-16 16:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-13 15:44 [PATCH] arm64/hwcap: Include kernel-hwcap.h in list of generated files Mark Brown
2026-04-14  6:55 ` Anshuman Khandual
2026-04-14 19:22 ` Catalin Marinas
2026-04-16 16:14 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox