Re: [PATCH v1] um: fix incompatible argument type in iounmap()

2025-04-10 Thread Arnd Bergmann
On Thu, Apr 10, 2025, at 09:30, Geert Uytterhoeven wrote: > On Wed, 9 Apr 2025 at 21:07, Arnd Bergmann wrote: >> On Wed, Apr 9, 2025, at 19:07, Geert Uytterhoeven wrote: >> > On Wed, 9 Apr 2025 at 16:48, Miguel Ojeda > >> In theory we could go through all the old drivers and >> also remove the 'vo

Re: [PATCH v1] um: fix incompatible argument type in iounmap()

2025-04-10 Thread FUJITA Tomonori
On Wed, 9 Apr 2025 19:30:19 +0200 Danilo Krummrich wrote: >> On Wed, 9 Apr 2025 at 16:48, Miguel Ojeda >> wrote: >> > On Wed, Apr 9, 2025 at 8:16 AM FUJITA Tomonori >> > wrote: >> > > >> > > Align iounmap() signature with other architectures. >> > >> > Most indeed have `volatile`, but nios2 and

Re: [PATCH v1] um: fix incompatible argument type in iounmap()

2025-04-10 Thread Geert Uytterhoeven
Hi Arnd, On Wed, 9 Apr 2025 at 21:07, Arnd Bergmann wrote: > On Wed, Apr 9, 2025, at 19:07, Geert Uytterhoeven wrote: > > On Wed, 9 Apr 2025 at 16:48, Miguel Ojeda > > wrote: > >> On Wed, Apr 9, 2025 at 8:16 AM FUJITA Tomonori > >> wrote: > >> > > >> > Align iounmap() signature with other archi

[PATCH AUTOSEL 6.13 22/28] um: Switch to the pthread-based helper in sigio workaround

2025-04-10 Thread Sasha Levin
From: Tiwei Bie [ Upstream commit d295beeed2552a987796d627ba7d0985b1e2d72f ] The write_sigio thread and UML kernel thread share the same errno, which can lead to conflicts when both call syscalls concurrently. Switch to the pthread-based helper to address this issue. Signed-off-by: Tiwei Bie L

[PATCH AUTOSEL 6.13 23/28] um: Rewrite the sigio workaround based on epoll and tgkill

2025-04-10 Thread Sasha Levin
From: Tiwei Bie [ Upstream commit 33c9da5dfb18c2ff5a88d01aca2cf253cd0ac3bc ] The existing sigio workaround implementation removes FDs from the poll when events are triggered, requiring users to re-add them via add_sigio_fd() after processing. This introduces a potential race condition between FD

[PATCH AUTOSEL 6.14 26/31] um: Rewrite the sigio workaround based on epoll and tgkill

2025-04-10 Thread Sasha Levin
From: Tiwei Bie [ Upstream commit 33c9da5dfb18c2ff5a88d01aca2cf253cd0ac3bc ] The existing sigio workaround implementation removes FDs from the poll when events are triggered, requiring users to re-add them via add_sigio_fd() after processing. This introduces a potential race condition between FD