[PULL 0/8] Linux user patches

Helge Deller posted 8 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260608194256.13794-1-deller@kernel.org
Maintainers: Laurent Vivier <laurent@vivier.eu>, Helge Deller <deller@gmx.de>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, Yoshinori Sato <yoshinori.sato@nifty.com>
There is a newer version of this series
linux-user/alpha/elfload.c    |  12 ++++
linux-user/alpha/target_elf.h |  13 +++++
linux-user/elfload.c          |   9 +++
linux-user/sparc/cpu_loop.c   |   3 +-
linux-user/sparc/cpu_loop.h   |   7 +++
linux-user/sparc/elfload.c    |  54 +++++++++++++++++
linux-user/sparc/signal.c     |  27 +++++++++
linux-user/sparc/target_elf.h |  20 +++++++
linux-user/strace.c           | 105 ++++++++++++++++++++++++++++++++++
linux-user/strace.list        |  15 +++++
linux-user/syscall.c          |  91 +++++++++++++++++++++++++++++
target/sh4/translate.c        |   2 +-
12 files changed, 356 insertions(+), 2 deletions(-)
create mode 100644 linux-user/sparc/cpu_loop.h
[PULL 0/8] Linux user patches
Posted by Helge Deller 1 month, 1 week ago
From: Helge Deller <deller@gmx.de>

The following changes since commit 29c042c6e9d4a09d4a0ac3fa54aeb7ee08ce0bdc:

  lcitool: remove Cirrus CI support (2026-06-03 12:45:38 -0400)

are available in the Git repository at:

  https://github.com/hdeller/qemu-hppa.git tags/linux-user-pull-request

for you to fetch changes up to fd8da2844c4354ecf54bd73a2fa7babe669b7a12:

  target/sh4: decode_gusa: recognize add#imm with prior mov Rm, Rn (2026-06-07 17:56:24 +0200)

----------------------------------------------------------------
linux-user patches for alpha, sparc and sh4

Various linux-user related patches from Matt Turner with coredump support for
alpha and sparc, as well as some fixes for the signal handler in sparc.

The patches from Xinhui Yang add the missing fsmount series syscalls support
for systemd.

----------------------------------------------------------------

Matt Turner (6):
  linux-user/alpha: add coredump support
  linux-user/sparc: add coredump support
  linux-user/sparc: restore L/I registers from RSA in
    sparc64_set_context
  linux-user/sparc: call block_signals() before set_sigmask() in
    setcontext
  linux-user/sparc: flush register windows before core dump
  target/sh4: decode_gusa: recognize add#imm with prior mov Rm, Rn

Xinhui Yang (2):
  linux-user: implement fsmount(2) series of syscalls
  linux-user/strace: add fsmount series of syscalls

 linux-user/alpha/elfload.c    |  12 ++++
 linux-user/alpha/target_elf.h |  13 +++++
 linux-user/elfload.c          |   9 +++
 linux-user/sparc/cpu_loop.c   |   3 +-
 linux-user/sparc/cpu_loop.h   |   7 +++
 linux-user/sparc/elfload.c    |  54 +++++++++++++++++
 linux-user/sparc/signal.c     |  27 +++++++++
 linux-user/sparc/target_elf.h |  20 +++++++
 linux-user/strace.c           | 105 ++++++++++++++++++++++++++++++++++
 linux-user/strace.list        |  15 +++++
 linux-user/syscall.c          |  91 +++++++++++++++++++++++++++++
 target/sh4/translate.c        |   2 +-
 12 files changed, 356 insertions(+), 2 deletions(-)
 create mode 100644 linux-user/sparc/cpu_loop.h

-- 
2.54.0
Re: [PULL 0/8] Linux user patches
Posted by Stefan Hajnoczi 1 month, 1 week ago
On Mon, Jun 8, 2026 at 3:43 PM Helge Deller <deller@kernel.org> wrote:
>
> From: Helge Deller <deller@gmx.de>
>
> The following changes since commit 29c042c6e9d4a09d4a0ac3fa54aeb7ee08ce0bdc:
>
>   lcitool: remove Cirrus CI support (2026-06-03 12:45:38 -0400)
>
> are available in the Git repository at:
>
>   https://github.com/hdeller/qemu-hppa.git tags/linux-user-pull-request
>
> for you to fetch changes up to fd8da2844c4354ecf54bd73a2fa7babe669b7a12:
>
>   target/sh4: decode_gusa: recognize add#imm with prior mov Rm, Rn (2026-06-07 17:56:24 +0200)
>
> ----------------------------------------------------------------
> linux-user patches for alpha, sparc and sh4
>
> Various linux-user related patches from Matt Turner with coredump support for
> alpha and sparc, as well as some fixes for the signal handler in sparc.
>
> The patches from Xinhui Yang add the missing fsmount series syscalls support
> for systemd.
>
> ----------------------------------------------------------------
>
> Matt Turner (6):
>   linux-user/alpha: add coredump support
>   linux-user/sparc: add coredump support
>   linux-user/sparc: restore L/I registers from RSA in
>     sparc64_set_context
>   linux-user/sparc: call block_signals() before set_sigmask() in
>     setcontext
>   linux-user/sparc: flush register windows before core dump
>   target/sh4: decode_gusa: recognize add#imm with prior mov Rm, Rn
>
> Xinhui Yang (2):
>   linux-user: implement fsmount(2) series of syscalls
>   linux-user/strace: add fsmount series of syscalls

Hi Xinhui Yang,
Please take a look at the CI failures below. It will probably be
necessary to detect the availability of the fs syscalls at build time
and avoid them when the host lacks support.

Please send a fixed patch series to the list so Helge can pick it up
again in a future pull request. Thanks!

- https://gitlab.com/qemu-project/qemu/-/jobs/14769379047#L3283

../linux-user/syscall.c: In function ‘do_syscall1’:
../linux-user/syscall.c:14422:29: error: implicit declaration of
function ‘fsopen’; did you mean ‘fdopen’?
[-Werror=implicit-function-declaration]
14422 | ret = get_errno(fsopen(p, arg2));
| ^~~~~~
| fdopen
../linux-user/syscall.c:14422:29: error: nested extern declaration of
‘fsopen’ [-Werror=nested-externs]
../linux-user/syscall.c:14457:33: error: implicit declaration of
function ‘fsconfig’; did you mean ‘fscanf’?
[-Werror=implicit-function-declaration]
14457 | ret = get_errno(fsconfig(arg1, arg2, p3, p4, arg5));
| ^~~~~~~~
| fscanf
../linux-user/syscall.c:14457:33: error: nested extern declaration of
‘fsconfig’ [-Werror=nested-externs]
../linux-user/syscall.c:14496:25: error: implicit declaration of
function ‘fsmount’; did you mean ‘umount’?
[-Werror=implicit-function-declaration]
14496 | ret = get_errno(fsmount(arg1, arg2, arg3));
| ^~~~~~~
| umount
../linux-user/syscall.c:14496:25: error: nested extern declaration of
‘fsmount’ [-Werror=nested-externs]
../linux-user/syscall.c:14501:29: error: implicit declaration of
function ‘fspick’ [-Werror=implicit-function-declaration]
14501 | ret = get_errno(fspick(arg1, p, arg3));
| ^~~~~~
../linux-user/syscall.c:14501:29: error: nested extern declaration of
‘fspick’ [-Werror=nested-externs]

- https://gitlab.com/qemu-project/qemu/-/jobs/14769379043#L4371

../linux-user/strace.c:4352:10: error: use of undeclared identifier
'FSCONFIG_SET_FLAG'
case FSCONFIG_SET_FLAG:
^
../linux-user/strace.c:4355:10: error: use of undeclared identifier
'FSCONFIG_SET_STRING'
case FSCONFIG_SET_STRING:
^
../linux-user/strace.c:4358:10: error: use of undeclared identifier
'FSCONFIG_SET_BINARY'
case FSCONFIG_SET_BINARY:
^
../linux-user/strace.c:4361:10: error: use of undeclared identifier
'FSCONFIG_SET_PATH'
case FSCONFIG_SET_PATH:
^
../linux-user/strace.c:4364:10: error: use of undeclared identifier
'FSCONFIG_SET_PATH_EMPTY'
case FSCONFIG_SET_PATH_EMPTY:
^
../linux-user/strace.c:4367:10: error: use of undeclared identifier
'FSCONFIG_SET_FD'
case FSCONFIG_SET_FD:
^
../linux-user/strace.c:4370:10: error: use of undeclared identifier
'FSCONFIG_CMD_CREATE'
case FSCONFIG_CMD_CREATE:
^
../linux-user/strace.c:4373:10: error: use of undeclared identifier
'FSCONFIG_CMD_RECONFIGURE'
case FSCONFIG_CMD_RECONFIGURE:
^
../linux-user/strace.c:4408:10: error: use of undeclared identifier
'FSCONFIG_SET_FLAG'
case FSCONFIG_SET_FLAG:
^
../linux-user/strace.c:4409:10: error: use of undeclared identifier
'FSCONFIG_SET_STRING'
case FSCONFIG_SET_STRING:
^
../linux-user/strace.c:4410:10: error: use of undeclared identifier
'FSCONFIG_SET_BINARY'
case FSCONFIG_SET_BINARY:
^
../linux-user/strace.c:4411:10: error: use of undeclared identifier
'FSCONFIG_SET_PATH'
case FSCONFIG_SET_PATH:
^
../linux-user/strace.c:4412:10: error: use of undeclared identifier
'FSCONFIG_SET_PATH_EMPTY'
case FSCONFIG_SET_PATH_EMPTY:
^
../linux-user/strace.c:4413:10: error: use of undeclared identifier
'FSCONFIG_SET_FD'
case FSCONFIG_SET_FD:
^
../linux-user/strace.c:4422:10: error: use of undeclared identifier
'FSCONFIG_SET_STRING'
case FSCONFIG_SET_STRING:
^
../linux-user/strace.c:4423:10: error: use of undeclared identifier
'FSCONFIG_SET_PATH'
case FSCONFIG_SET_PATH:
^
../linux-user/strace.c:4424:10: error: use of undeclared identifier
'FSCONFIG_SET_PATH_EMPTY'
case FSCONFIG_SET_PATH_EMPTY:
^
../linux-user/strace.c:4440:10: error: use of undeclared identifier
'FSCONFIG_SET_PATH'
case FSCONFIG_SET_PATH:
^
../linux-user/strace.c:4441:10: error: use of undeclared identifier
'FSCONFIG_SET_PATH_EMPTY'
case FSCONFIG_SET_PATH_EMPTY:
^

Stefan

>
>  linux-user/alpha/elfload.c    |  12 ++++
>  linux-user/alpha/target_elf.h |  13 +++++
>  linux-user/elfload.c          |   9 +++
>  linux-user/sparc/cpu_loop.c   |   3 +-
>  linux-user/sparc/cpu_loop.h   |   7 +++
>  linux-user/sparc/elfload.c    |  54 +++++++++++++++++
>  linux-user/sparc/signal.c     |  27 +++++++++
>  linux-user/sparc/target_elf.h |  20 +++++++
>  linux-user/strace.c           | 105 ++++++++++++++++++++++++++++++++++
>  linux-user/strace.list        |  15 +++++
>  linux-user/syscall.c          |  91 +++++++++++++++++++++++++++++
>  target/sh4/translate.c        |   2 +-
>  12 files changed, 356 insertions(+), 2 deletions(-)
>  create mode 100644 linux-user/sparc/cpu_loop.h
>
> --
> 2.54.0
>
>
Re: [PULL 0/8] Linux user patches
Posted by Helge Deller 1 month, 1 week ago
On 6/9/26 17:16, Stefan Hajnoczi wrote:
> On Mon, Jun 8, 2026 at 3:43 PM Helge Deller <deller@kernel.org> wrote:
>>
>> From: Helge Deller <deller@gmx.de>
>>
>> The following changes since commit 29c042c6e9d4a09d4a0ac3fa54aeb7ee08ce0bdc:
>>
>>    lcitool: remove Cirrus CI support (2026-06-03 12:45:38 -0400)
>>
>> are available in the Git repository at:
>>
>>    https://github.com/hdeller/qemu-hppa.git tags/linux-user-pull-request
>>
>> for you to fetch changes up to fd8da2844c4354ecf54bd73a2fa7babe669b7a12:
>>
>>    target/sh4: decode_gusa: recognize add#imm with prior mov Rm, Rn (2026-06-07 17:56:24 +0200)
>>
>> ----------------------------------------------------------------
>> linux-user patches for alpha, sparc and sh4
>>
>> Various linux-user related patches from Matt Turner with coredump support for
>> alpha and sparc, as well as some fixes for the signal handler in sparc.
>>
>> The patches from Xinhui Yang add the missing fsmount series syscalls support
>> for systemd.
>>
>> ----------------------------------------------------------------
>>
>> Matt Turner (6):
>>    linux-user/alpha: add coredump support
>>    linux-user/sparc: add coredump support
>>    linux-user/sparc: restore L/I registers from RSA in
>>      sparc64_set_context
>>    linux-user/sparc: call block_signals() before set_sigmask() in
>>      setcontext
>>    linux-user/sparc: flush register windows before core dump
>>    target/sh4: decode_gusa: recognize add#imm with prior mov Rm, Rn
>>
>> Xinhui Yang (2):
>>    linux-user: implement fsmount(2) series of syscalls
>>    linux-user/strace: add fsmount series of syscalls
> 
> Hi Xinhui Yang,
> Please take a look at the CI failures below. It will probably be
> necessary to detect the availability of the fs syscalls at build time
> and avoid them when the host lacks support.
> 
> Please send a fixed patch series to the list so Helge can pick it up
> again in a future pull request. Thanks!
I'll fix and resend.

Helge