[PATCH v4 0/4] linux-user: Add syscall dispatch support

Richard Henderson posted 4 patches 2 days, 2 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250904102311.57383-1-richard.henderson@linaro.org
Maintainers: Laurent Vivier <laurent@vivier.eu>
linux-user/loader.h            |   2 +
linux-user/qemu.h              |   5 +++
linux-user/signal-common.h     |   7 +++
linux-user/syscall_defs.h      |   6 +++
linux-user/elfload.c           |   7 +++
linux-user/gen-vdso.c          |   6 +++
linux-user/main.c              |   2 +
linux-user/signal.c            |   2 +
linux-user/syscall.c           |  76 ++++++++++++++++++++++++++++++++-
linux-user/aarch64/vdso-be.so  | Bin 3224 -> 3320 bytes
linux-user/aarch64/vdso-le.so  | Bin 3224 -> 3320 bytes
linux-user/aarch64/vdso.S      |   2 +
linux-user/arm/vdso-be32.so    | Bin 2648 -> 2724 bytes
linux-user/arm/vdso-be8.so     | Bin 2648 -> 2724 bytes
linux-user/arm/vdso-le.so      | Bin 2648 -> 2724 bytes
linux-user/arm/vdso.S          |   2 +
linux-user/gen-vdso-elfn.c.inc |   7 ++-
linux-user/hppa/vdso.S         |   2 +
linux-user/hppa/vdso.so        | Bin 2104 -> 2224 bytes
linux-user/i386/vdso.S         |   2 +
linux-user/i386/vdso.so        | Bin 2672 -> 2792 bytes
linux-user/loongarch64/vdso.S  |   2 +
linux-user/loongarch64/vdso.so | Bin 3560 -> 3712 bytes
linux-user/ppc/vdso-32.so      | Bin 3020 -> 3140 bytes
linux-user/ppc/vdso-64.so      | Bin 3896 -> 4048 bytes
linux-user/ppc/vdso-64le.so    | Bin 3896 -> 4048 bytes
linux-user/ppc/vdso.S          |   2 +
linux-user/riscv/vdso-32.so    | Bin 2980 -> 3124 bytes
linux-user/riscv/vdso-64.so    | Bin 3944 -> 4104 bytes
linux-user/riscv/vdso.S        |   2 +
linux-user/s390x/vdso.S        |   2 +
linux-user/s390x/vdso.so       | Bin 3464 -> 3616 bytes
32 files changed, 133 insertions(+), 3 deletions(-)
[PATCH v4 0/4] linux-user: Add syscall dispatch support
Posted by Richard Henderson 2 days, 2 hours ago
Hiya,

I have adjusted the signal return trampoline detection from

  https://lore.kernel.org/qemu-devel/20250711225226.14652-1-floss@arusekk.pl/

and tidied up a few other bits.  Would you please re-test this
versus your plan9 emulator?  Thanks,


r~


Arusekk (1):
  linux-user: Add syscall dispatch support

Richard Henderson (3):
  linux-user: Create vdso_sigreturn_region_{start,end}
  linux-user: Populate sigreturn_region_{start,end} in all vdso.S
  linux-user: Populate vdso_sigreturn_region_{start,end} from sigtramp
    page

 linux-user/loader.h            |   2 +
 linux-user/qemu.h              |   5 +++
 linux-user/signal-common.h     |   7 +++
 linux-user/syscall_defs.h      |   6 +++
 linux-user/elfload.c           |   7 +++
 linux-user/gen-vdso.c          |   6 +++
 linux-user/main.c              |   2 +
 linux-user/signal.c            |   2 +
 linux-user/syscall.c           |  76 ++++++++++++++++++++++++++++++++-
 linux-user/aarch64/vdso-be.so  | Bin 3224 -> 3320 bytes
 linux-user/aarch64/vdso-le.so  | Bin 3224 -> 3320 bytes
 linux-user/aarch64/vdso.S      |   2 +
 linux-user/arm/vdso-be32.so    | Bin 2648 -> 2724 bytes
 linux-user/arm/vdso-be8.so     | Bin 2648 -> 2724 bytes
 linux-user/arm/vdso-le.so      | Bin 2648 -> 2724 bytes
 linux-user/arm/vdso.S          |   2 +
 linux-user/gen-vdso-elfn.c.inc |   7 ++-
 linux-user/hppa/vdso.S         |   2 +
 linux-user/hppa/vdso.so        | Bin 2104 -> 2224 bytes
 linux-user/i386/vdso.S         |   2 +
 linux-user/i386/vdso.so        | Bin 2672 -> 2792 bytes
 linux-user/loongarch64/vdso.S  |   2 +
 linux-user/loongarch64/vdso.so | Bin 3560 -> 3712 bytes
 linux-user/ppc/vdso-32.so      | Bin 3020 -> 3140 bytes
 linux-user/ppc/vdso-64.so      | Bin 3896 -> 4048 bytes
 linux-user/ppc/vdso-64le.so    | Bin 3896 -> 4048 bytes
 linux-user/ppc/vdso.S          |   2 +
 linux-user/riscv/vdso-32.so    | Bin 2980 -> 3124 bytes
 linux-user/riscv/vdso-64.so    | Bin 3944 -> 4104 bytes
 linux-user/riscv/vdso.S        |   2 +
 linux-user/s390x/vdso.S        |   2 +
 linux-user/s390x/vdso.so       | Bin 3464 -> 3616 bytes
 32 files changed, 133 insertions(+), 3 deletions(-)

-- 
2.43.0