Re: [PATCH] um: let 'make clean' properly clean underlying SUBARCH as well

2025-05-07 Thread David Gow
On Wed, 7 May 2025 at 16:43, Masahiro Yamada wrote: > > Building the kernel with O= is affected by stale in-tree build artifacts. > > So, if the source tree is not clean, Kbuild displays the following: > > $ make ARCH=um O=build defconfig > make[1]: Entering directory '/.../linux/build' > **

Re: [PATCH] um: let 'make clean' properly clean underlying SUBARCH as well

2025-05-07 Thread Johannes Berg
On Wed, 2025-05-07 at 15:38 -0600, Shuah Khan wrote: > My workflow: > > - Build kernel on x86_64 with CONFIG_AMD_MEM_ENCRYPT enabled > > - Check for arch/x86/realmode/rm/pasyms.h >ls arch/x86/realmode/rm/pasyms.h > arch/x86/realmode/rm/pasyms.h > > - make ARCH=um O=/linux/build > >

Re: [PATCH] um: let 'make clean' properly clean underlying SUBARCH as well

2025-05-07 Thread Masahiro Yamada
On Thu, May 8, 2025 at 6:38 AM Shuah Khan wrote: > > On 5/7/25 01:49, Masahiro Yamada wrote: > > Building the kernel with O= is affected by stale in-tree build artifacts. > > > > So, if the source tree is not clean, Kbuild displays the following: > > > >$ make ARCH=um O=build defconfig > >

Re: [PATCH] um: let 'make clean' properly clean underlying SUBARCH as well

2025-05-07 Thread Shuah Khan
On 5/7/25 01:49, Masahiro Yamada wrote: Building the kernel with O= is affected by stale in-tree build artifacts. So, if the source tree is not clean, Kbuild displays the following: $ make ARCH=um O=build defconfig make[1]: Entering directory '/.../linux/build' *** *** The source tr

Re: [tip: x86/msr] um: Add UML version of to define rdtsc()

2025-05-07 Thread Johannes Berg
+linux-um On Wed, 2025-05-07 at 18:40 +, tip-bot2 for Ingo Molnar wrote: > > To resolve these kinds of problems and to allow to be included on > UML, > add a simplified version of , which only adds the rdtsc() > definition. OK, weird, why would that be needed - UM isn't really X86. > ar

Re: [PATCH] um: let 'make clean' properly clean underlying SUBARCH as well

2025-05-07 Thread Johannes Berg
On Wed, 2025-05-07 at 16:49 +0900, Masahiro Yamada wrote: > Building the kernel with O= is affected by stale in-tree build artifacts. > > So, if the source tree is not clean, Kbuild displays the following: > > $ make ARCH=um O=build defconfig > make[1]: Entering directory '/.../linux/build' >

Re: [PATCH] MAINTAINERS: remove obsolete file entry in TUN/TAP DRIVER

2025-05-07 Thread Tiwei Bie
On 2025/5/7 15:10, Lukas Bulwahn wrote: > From: Lukas Bulwahn > > Commit 65eaac591b75 ("um: Remove obsolete legacy network transports") > removes the directory arch/um/os-Linux/drivers/, but misses to remove the > file entry in TUN/TAP DRIVER referring to that directory. > > Remove this obsolete

[PATCH] um: let 'make clean' properly clean underlying SUBARCH as well

2025-05-07 Thread Masahiro Yamada
Building the kernel with O= is affected by stale in-tree build artifacts. So, if the source tree is not clean, Kbuild displays the following: $ make ARCH=um O=build defconfig make[1]: Entering directory '/.../linux/build' *** *** The source tree is not clean, please run 'make ARCH=um mrpr

[PATCH] MAINTAINERS: remove obsolete file entry in TUN/TAP DRIVER

2025-05-07 Thread Lukas Bulwahn
From: Lukas Bulwahn Commit 65eaac591b75 ("um: Remove obsolete legacy network transports") removes the directory arch/um/os-Linux/drivers/, but misses to remove the file entry in TUN/TAP DRIVER referring to that directory. Remove this obsolete file entry. While at it, put the section name in capi