public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v2 0/5] uapi: fix remaining kconfig leaks in UAPI headers
       [not found] <20260112-headers_install-config-leak-v2-0-4d8084444603@linutronix.de>
@ 2026-01-21 11:17 ` Nicolas Schier
  2026-01-21 23:21   ` Nathan Chancellor
       [not found] ` <20260112-headers_install-config-leak-v2-1-4d8084444603@linutronix.de>
  1 sibling, 1 reply; 3+ messages in thread
From: Nicolas Schier @ 2026-01-21 11:17 UTC (permalink / raw)
  To: Thomas Weißschuh
  Cc: Vineet Gupta, Russell King, Dinh Nguyen, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
	linux-snps-arc, linux-kernel, linux-arm-kernel, Arnd Bergmann,
	Nathan Chancellor, linux-kbuild

[Cc+=linux-kbuild, nathan]

On Mon, Jan 12, 2026 at 08:58:28AM +0100, Thomas Weißschuh wrote:
> A few UAPI headers still contained references to kconfig symbols.
> Clean them all up and afterwards remove the now useless exception
> machinery in headers_install.sh.
> 
> Intended to be routed through the kbuild tree.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
> ---
> Changes in v2:
> - Drop ARC_HAS_SWAPE kconfig option, use ARCH_USE_BUILTIN_BSWAP
> - Drop PSR_ENDSTATE from the ARM ptrace.h header.
> - Drop nios2 uapi asm/swab.h.
> - Link to v1: https://lore.kernel.org/r/20251230-headers_install-config-leak-v1-0-efba5c58073d@linutronix.de
> 
> ---
> Thomas Weißschuh (5):
>       ARC: Always use SWAPE instructions and enable ARCH_USE_BUILTIN_BSWAP
>       ARM: uapi: Drop PSR_ENDSTATE
>       nios2: uapi: Remove custom asm/swab.h from UAPI
>       x86/uapi: Stop leaking kconfig references to userspace
>       scripts: headers_install.sh: Remove config leak ignore machinery
> 
>  arch/arc/Kconfig                         |  6 +-
>  arch/arc/Makefile                        |  3 +-
>  arch/arc/include/uapi/asm/swab.h         | 99 --------------------------------
>  arch/arm/include/asm/processor.h         |  3 +-
>  arch/arm/include/uapi/asm/ptrace.h       |  9 ---
>  arch/arm/kernel/signal.c                 |  3 +-
>  arch/nios2/include/{uapi => }/asm/swab.h |  0
>  arch/x86/include/uapi/asm/auxvec.h       |  2 +-
>  scripts/headers_install.sh               | 30 +---------
>  9 files changed, 9 insertions(+), 146 deletions(-)
> ---
> base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> change-id: 20251229-headers_install-config-leak-b8a9219d8b3c
> 
> Best regards,
> -- 
> Thomas Weißschuh <thomas.weissschuh@linutronix.de>

Thanks a lot for the cleanup, much appreciated!

Reviewed-by: Nicolas Schier <nsc@kernel.org> # kbuild

Kind regards,
Nicolas

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

* Re: [PATCH v2 1/5] ARC: Always use SWAPE instructions and enable ARCH_USE_BUILTIN_BSWAP
       [not found]   ` <aXC0Gl2GqF0LEQzZ@derry.ads.avm.de>
@ 2026-01-21 12:06     ` Thomas Weißschuh
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Weißschuh @ 2026-01-21 12:06 UTC (permalink / raw)
  To: Nicolas Schier
  Cc: Vineet Gupta, Russell King, Dinh Nguyen, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
	linux-snps-arc, linux-kernel, linux-arm-kernel, Arnd Bergmann,
	Nathan Chancellor, linux-kbuild

On Wed, Jan 21, 2026 at 12:10:18PM +0100, Nicolas Schier wrote:
> [Cc+=linux-kbuild,nathan]
> 
> On Mon, Jan 12, 2026 at 08:58:29AM +0100, Thomas Weißschuh wrote:
> > Since commit 67a697e7576 ("ARC: retire ARC750 support") all supported
> > CPUs have the 'swape' instruction.
> 
> I can't find commit 67a697e7576.  Did you mead 
> commit 767a697e7576 instead?

Yes, indeed.

Thanks for the review!

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

* Re: [PATCH v2 0/5] uapi: fix remaining kconfig leaks in UAPI headers
  2026-01-21 11:17 ` [PATCH v2 0/5] uapi: fix remaining kconfig leaks in UAPI headers Nicolas Schier
@ 2026-01-21 23:21   ` Nathan Chancellor
  0 siblings, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2026-01-21 23:21 UTC (permalink / raw)
  To: Nicolas Schier, Arnd Bergmann, Thomas Weißschuh
  Cc: linux-kernel, linux-kbuild

On Wed, Jan 21, 2026 at 12:17:04PM +0100, Nicolas Schier wrote:
> On Mon, Jan 12, 2026 at 08:58:28AM +0100, Thomas Weißschuh wrote:
> > A few UAPI headers still contained references to kconfig symbols.
> > Clean them all up and afterwards remove the now useless exception
> > machinery in headers_install.sh.
> > 
> > Intended to be routed through the kbuild tree.

Based on [1], I am going to assume that Arnd will be picking this up via
the asm-generic tree but if you want me to take it via kbuild-next, just
let me know.

[1]: https://lore.kernel.org/20260112114744-21ac730f-68b4-4f92-9ac0-f4dc6c5bb880@linutronix.de/

Cheers,
Nathan

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

end of thread, other threads:[~2026-01-21 23:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260112-headers_install-config-leak-v2-0-4d8084444603@linutronix.de>
2026-01-21 11:17 ` [PATCH v2 0/5] uapi: fix remaining kconfig leaks in UAPI headers Nicolas Schier
2026-01-21 23:21   ` Nathan Chancellor
     [not found] ` <20260112-headers_install-config-leak-v2-1-4d8084444603@linutronix.de>
     [not found]   ` <aXC0Gl2GqF0LEQzZ@derry.ads.avm.de>
2026-01-21 12:06     ` [PATCH v2 1/5] ARC: Always use SWAPE instructions and enable ARCH_USE_BUILTIN_BSWAP Thomas Weißschuh

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