[PATCH] um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h

2025-03-26 Thread Sami Tolvanen
With CONFIG_GENDWARFKSYMS, um builds fail due to missing prototypes in asm/asm-prototypes.h. Add declarations for cmpxchg8b_emu and the exported checksum functions, including csum_partial_copy_generic as it's also exported. Cc: Masahiro Yamada Cc: linux-kbu...@vger.kernel.org Reported-by: kernel

Re: [PATCH v3 4/4] um: Prohibit the VM_CLONE flag in run_helper_thread()

2025-03-26 Thread Johannes Berg
On Wed, 2025-03-19 at 21:55 +0800, Tiwei Bie wrote: > Directly creating helper threads with VM_CLONE using clone can > compromise the thread safety of errno. Since all these helper > threads have been converted to use os_run_helper_thread(), let's > prevent using this flag in run_helper_thread(). >

[PATCH 2/2] um: xterm: Update options for gnome-terminal

2025-03-26 Thread Tiwei Bie
The -x option is deprecated and might be removed in a future release of gnome-terminal. Let's recommend using -- instead. Signed-off-by: Tiwei Bie --- arch/um/drivers/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/drivers/xterm.c b/arch/um/drivers/xterm.c ind

Re: [PATCH v3 4/4] um: Prohibit the VM_CLONE flag in run_helper_thread()

2025-03-26 Thread Johannes Berg
On Wed, 2025-03-26 at 14:54 +0800, Tiwei Bie wrote: > On 2025/3/20 16:32, Johannes Berg wrote: > > On Wed, 2025-03-19 at 21:55 +0800, Tiwei Bie wrote: > > > Directly creating helper threads with VM_CLONE using clone can > > > compromise the thread safety of errno. Since all these helper > > > threa

[PATCH 1/2] um: xterm: Add Wayland support

2025-03-26 Thread Tiwei Bie
Under Wayland, we should check WAYLAND_DISPLAY instead. Signed-off-by: Tiwei Bie --- arch/um/drivers/xterm.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/um/drivers/xterm.c b/arch/um/drivers/xterm.c index e4316c7981e8..f607af738eac 100644 --- a/arch/um/driver

[PATCH 0/2] um: Minor cleanups to xterm

2025-03-26 Thread Tiwei Bie
Tiwei Bie (2): um: xterm: Add Wayland support um: xterm: Update options for gnome-terminal arch/um/drivers/xterm.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) -- 2.34.1