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'
> **
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
>
>
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
> >
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
+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
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'
>
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
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
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