Re: [PATCH v2 0/3] Detect changed compiler dependencies for full rebuild

2025-05-03 Thread Kees Cook
On Sat, May 03, 2025 at 06:39:28PM +0900, Masahiro Yamada wrote: > On Sat, May 3, 2025 at 7:54 AM Kees Cook wrote: > > > > v2: > > - switch from -include to -I with a -D gated include compiler-version.h > > v1: https://lore.kernel.org/lkml/20250501193839.work.525-k...@kernel.org/ > > > What

Re: [PATCH v2 2/3] randstruct: Force full rebuild when seed changes

2025-05-03 Thread Kees Cook
On Sat, May 03, 2025 at 03:13:06PM +0900, Masahiro Yamada wrote: > On Sat, May 3, 2025 at 7:54 AM Kees Cook wrote: > > +$(obj)/randstruct_hash.h $(obj)/randstruct.seed: $(gen-randstruct-seed) > > FORCE > > $(call if_changed,create_randstruct_seed) > [...] > So, this rule is executed twice

Re: [PATCH v2 1/3] gcc-plugins: Force full rebuild when plugins change

2025-05-03 Thread Kees Cook
On Sat, May 03, 2025 at 03:12:23PM +0900, Masahiro Yamada wrote: > On Sat, May 3, 2025 at 7:54 AM Kees Cook wrote: > > +quiet_cmd_gcc_plugins_updated = UPDATE $@ > > + cmd_gcc_plugins_updated = echo '/* $^ */' > $(obj)/gcc-plugins-deps.h > > I think 'touch' should be enough. > > If some pl

Re: [PATCH 3/3] um: Remove legacy network transport infrastructure

2025-05-03 Thread Anton Ivanov
On 03/05/2025 06:17, Tiwei Bie wrote: All legacy network transports have been removed. Vector transports provide the same capabilities with significantly higher network throughput. There is no reason to keep the legacy network transport infrastructure anymore. Remove it to reduce the maintenance

Re: [PATCH 2/3] um: vector: Eliminate the dependency on uml_net

2025-05-03 Thread Anton Ivanov
On 03/05/2025 06:17, Tiwei Bie wrote: The only dependency on uml_net (i.e., the legacy network transport infrastructure) is the call to uml_net_setup_etheraddr(). Implement it inside vector to eliminate the uml_net dependency completely. It will allow us to remove uml_net in the next step. Signe

Re: [PATCH 1/3] um: Remove obsolete legacy network transports

2025-05-03 Thread Anton Ivanov
On 03/05/2025 06:17, Tiwei Bie wrote: These legacy network transports were marked as obsolete in commit 40814b98a570 ("um: Mark non-vector net transports as obsolete"). More than five years have passed since then. Remove these network transports to reduce the maintenance burden. Suggested-by: An

Re: [PATCH v2 0/3] Detect changed compiler dependencies for full rebuild

2025-05-03 Thread Masahiro Yamada
On Sat, May 3, 2025 at 7:54 AM Kees Cook wrote: > > v2: > - switch from -include to -I with a -D gated include compiler-version.h > v1: https://lore.kernel.org/lkml/20250501193839.work.525-k...@kernel.org/ What do you think of my patch as a prerequisite? https://lore.kernel.org/linux-kbuild/

[PATCH] kbuild: introduce include/generated/global-rebuild.h

2025-05-03 Thread Masahiro Yamada
Sometimes we need to trigger a global rebuild of the kernel tree - for instance, when any of the GCC plugins changes. [1] This commit provides a simple mechanism to force a global rebuild using a single header file. The top-level Makefile creates include/generated/global-rebuild.h if it does not