History log of /openbmc/qemu/linux-user/ (Results 26 – 50 of 3598)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
f781af3b12-Sep-2024 Ilya Leoshkevich <iii@linux.ibm.com>

include/exec: Introduce env_cpu_const()

It's the same as env_cpu(), but for const objects.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.i

include/exec: Introduce env_cpu_const()

It's the same as env_cpu(), but for const objects.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240912093012.402366-2-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

124e769007-Aug-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user: Add strace for recvfrom()

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240807124306.52903-6-philmd@linaro.org>
[rth: Do not dump output buffers.]
Signed-off-b

linux-user: Add strace for recvfrom()

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240807124306.52903-6-philmd@linaro.org>
[rth: Do not dump output buffers.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

ff54bcd507-Aug-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user: Add strace for sendto()

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240807124306.52903-5-philmd@linaro.org>

linux-user: Add strace for sendto()

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240807124306.52903-5-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

57fbc9b907-Aug-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user: Factor print_buf_len() out

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240807124306.52903-4-philmd@linaro.o

linux-user: Factor print_buf_len() out

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240807124306.52903-4-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

02d9169707-Aug-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user: Display sockaddr buffer as pointer

Rather than 'raw param', display as pointer to get
"NULL" instead of "0x00000000".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-

linux-user: Display sockaddr buffer as pointer

Rather than 'raw param', display as pointer to get
"NULL" instead of "0x00000000".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240807124306.52903-3-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

7db3a42e05-Oct-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user: Correct print_sockaddr() format

When the %addr argument can not be accessed, a double comma
is logged (the final qemu_log call prepend a comma). Move
the comma from the final qemu_log t

linux-user: Correct print_sockaddr() format

When the %addr argument can not be accessed, a double comma
is logged (the final qemu_log call prepend a comma). Move
the comma from the final qemu_log to the preceeding switch
cases that had omitted it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240807124306.52903-2-philmd@linaro.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
[rth: Move comma into the various switch cases.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

322bfaa201-Oct-2024 Ilya Leoshkevich <iii@linux.ibm.com>

linux-user: Trace wait4()'s and waitpid()'s wstatus

Borrow the code for formatting the most frequent WIFEXITED() and
WIFSIGNALED() special cases from from the strace's printstatus().

Output example

linux-user: Trace wait4()'s and waitpid()'s wstatus

Borrow the code for formatting the most frequent WIFEXITED() and
WIFSIGNALED() special cases from from the strace's printstatus().

Output examples:

474729 wait4(-1,0x7f00767ff0a0,0,(nil)) = 474733 (wstatus={WIFEXITED(s) && WEXITSTATUS(s) == 1})
475833 wait4(-1,0x7f7de61ff0a0,0,(nil)) = 475837 (wstatus={WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL})
1168 waitpid(1171,0x7f44eea00340,0) = 1171 (wstatus={WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL})

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20241001193244.14939-1-iii@linux.ibm.com>
[rth: Drop extra output for NULL wstatus or error reading.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

9729930301-Oct-2024 Michael Vogt <mvogt@redhat.com>

linux-user: add strace support for openat2

This commit adds support for the `openat2()` to `QEMU_STRACE`. It
will use the `openat2.h` header if available to create user
readable flags for the `resol

linux-user: add strace support for openat2

This commit adds support for the `openat2()` to `QEMU_STRACE`. It
will use the `openat2.h` header if available to create user
readable flags for the `resolve` argument but does not require
the header otherwise.

It also makes `copy_struct_from_user()` available via `qemu.h`
and `open_how_ver0` via `syscall_defs.h` so that strace.c can use
them.

Signed-off-by: Michael Vogt <mvogt@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <f02d40c7751c03af885ced6dd94e4734d4be4d8f.1727795334.git.mvogt@redhat.com>
[rth: Add braces around the expanded how structure, like strace(3)]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

9651cead01-Oct-2024 Michael Vogt <mvogt@redhat.com>

linux-user: add openat2 support in linux-user

This commit adds support for the `openat2()` syscall in the
`linux-user` userspace emulator.

It is implemented by extracting a new helper `maybe_do_fak

linux-user: add openat2 support in linux-user

This commit adds support for the `openat2()` syscall in the
`linux-user` userspace emulator.

It is implemented by extracting a new helper `maybe_do_fake_open()`
out of the exiting `do_guest_openat()` and share that with the
new `do_guest_openat2()`. Unfortunately we cannot just make
do_guest_openat2() a superset of do_guest_openat() because the
openat2() syscall is stricter with the argument checking and
will return an error for invalid flags or mode combinations (which
open()/openat() will ignore).

The implementation is similar to SYSCALL_DEFINE(openat2), i.e.
a new `copy_struct_from_user()` is used that works the same
as the kernels version to support backwards-compatibility
for struct syscall argument.

Instead of including openat2.h we create a copy of `open_how`
as `open_how_ver0` to ensure that if the structure grows we
can log a LOG_UNIMP warning.

Note that in this commit using openat2() for a "faked" file in
/proc will honor the "resolve" flags for
RESOLVE_NO_{MAGIC,SYM}LINKS for path based access to /proc/self/exe
(which is the only magic link we support for faked files).
Note it will not catch special access via e.g. dirfd. This is not
great but it seems similar to the exiting behavior when openat()
is called with a dirfd to "/proc". Here too the fake file lookup
may not catch the special file because no dirfd is used to
determine if the path is in /proc.

Signed-off-by: Michael Vogt <mvogt@redhat.com>
Buglink: https://github.com/osbuild/bootc-image-builder/issues/619
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <1c2c8c9db3731ed4c6fd9b10c63637c3e4caf8f5.1727795334.git.mvogt@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

2884596f05-Oct-2024 Richard Henderson <richard.henderson@linaro.org>

linux-user: Fix parse_elf_properties GNU0_MAGIC check

Comparing a string of 4 bytes only works in little-endian.

Adjust bulk bswap to only apply to the note payload.
Perform swapping of the note he

linux-user: Fix parse_elf_properties GNU0_MAGIC check

Comparing a string of 4 bytes only works in little-endian.

Adjust bulk bswap to only apply to the note payload.
Perform swapping of the note header manually; the magic
is defined so that it does not need a runtime swap.

Fixes: 83f990eb5adb ("linux-user/elfload: Parse NT_GNU_PROPERTY_TYPE_0 notes")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2596
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

a9ee641b22-Aug-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

linux-user/flatload: Take mmap_lock in load_flt_binary()

load_flt_binary() calls load_flat_file() -> page_set_flags().

page_set_flags() must be called with the mmap_lock held,
otherwise it aborts:

linux-user/flatload: Take mmap_lock in load_flt_binary()

load_flt_binary() calls load_flat_file() -> page_set_flags().

page_set_flags() must be called with the mmap_lock held,
otherwise it aborts:

$ qemu-arm -L stm32/lib/ stm32/bin/busybox
qemu-arm: ../accel/tcg/user-exec.c:505: page_set_flags: Assertion `have_mmap_lock()' failed.
Aborted (core dumped)

Fix by taking the lock in load_flt_binary().

Fixes: fbd3c4cff6 ("linux-user/arm: Mark the commpage executable")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2525
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240822095045.72643-3-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/cirrus/macos-15.vars
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/disas/meson.build
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/conf.py
/openbmc/qemu/docs/devel/migration/main.rst
/openbmc/qemu/docs/devel/replay.rst
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/tools/index.rst
/openbmc/qemu/fsdev/meson.build
/openbmc/qemu/fsdev/qemu-fsdev.c
/openbmc/qemu/fsdev/qemu-fsdev.h
/openbmc/qemu/hw/9pfs/meson.build
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/allwinner-a10.c
/openbmc/qemu/hw/arm/allwinner-h3.c
/openbmc/qemu/hw/arm/allwinner-r40.c
/openbmc/qemu/hw/arm/aspeed_ast2400.c
/openbmc/qemu/hw/arm/aspeed_soc_common.c
/openbmc/qemu/hw/arm/kzm.c
/openbmc/qemu/hw/arm/msf2-soc.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/npcm7xx.c
/openbmc/qemu/hw/arm/xen-pvh.c
/openbmc/qemu/hw/char/Kconfig
/openbmc/qemu/hw/char/meson.build
/openbmc/qemu/hw/char/omap_uart.c
/openbmc/qemu/hw/char/riscv_htif.c
/openbmc/qemu/hw/char/serial-isa.c
/openbmc/qemu/hw/char/serial-mm.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/hppa/Kconfig
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/microvm-dt.c
/openbmc/qemu/hw/i386/microvm.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/i386/xen/xen-pvh.c
/openbmc/qemu/hw/isa/isa-superio.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/loongarch/Kconfig
/openbmc/qemu/hw/loongarch/virt.c
/openbmc/qemu/hw/m68k/bootinfo.h
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/microblaze/Kconfig
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/mips/Kconfig
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/jazz.c
/openbmc/qemu/hw/mips/loongson3_virt.c
/openbmc/qemu/hw/mips/malta.c
/openbmc/qemu/hw/mips/meson.build
/openbmc/qemu/hw/mips/mipssim.c
/openbmc/qemu/hw/net/rocker/rocker.c
/openbmc/qemu/hw/net/rocker/rocker.h
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/openrisc/Kconfig
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/openrisc/virt.c
/openbmc/qemu/hw/pci/pcie_port.c
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/virtex_ml507.c
/openbmc/qemu/hw/remote/iohub.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/sparc64/Kconfig
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/xen/xen-hvm-common.c
/openbmc/qemu/hw/xen/xen-pvh-common.c
/openbmc/qemu/hw/xtensa/Kconfig
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/disas/dis-asm.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/char/mchp_pfsoc_mmuart.h
/openbmc/qemu/include/hw/char/serial-isa.h
/openbmc/qemu/include/hw/char/serial-mm.h
/openbmc/qemu/include/hw/char/serial.h
/openbmc/qemu/include/hw/nvram/fw_cfg.h
/openbmc/qemu/include/hw/pci/pcie_port.h
/openbmc/qemu/include/hw/remote/iohub.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/xen/xen-hvm-common.h
/openbmc/qemu/include/hw/xen/xen-pvh-common.h
/openbmc/qemu/include/hw/xen/xen_native.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/block-backend-global-state.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/replay.h
/openbmc/qemu/include/ui/console.h
flatload.c
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object.c
/openbmc/qemu/replay/replay-events.c
/openbmc/qemu/scripts/meson-buildoptions.
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/minikconf.py
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/kvm_i386.h
/openbmc/qemu/target/i386/kvm/vmsr_energy.c
/openbmc/qemu/target/loongarch/kvm/kvm.c
/openbmc/qemu/target/m68k/gdbstub.c
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/s390x/gdbstub.c
/openbmc/qemu/target/s390x/ioinst.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/qemu_test/asset.py
/openbmc/qemu/tests/functional/test_arm_vexpress.py
/openbmc/qemu/tests/functional/test_m68k_mcf5208evb.py
/openbmc/qemu/tests/functional/test_or1k_sim.py
/openbmc/qemu/tests/functional/test_ppc64_e500.py
/openbmc/qemu/tests/functional/test_ppc_mac.py
/openbmc/qemu/tests/functional/test_sh4_r2d.py
/openbmc/qemu/tests/functional/test_sparc_sun4m.py
/openbmc/qemu/tests/functional/test_xtensa_lx60.py
/openbmc/qemu/tests/lcitool/libvirt-ci
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/tcg/plugins/syscall.c
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/ui/cursor.c
95b9c27c18-Sep-2024 Dr. David Alan Gilbert <dave@treblig.org>

linux-user: Remove unused handle_vm86_fault

handle_vm86_fault has been unused since:
1ade5b2fed ("linux-user/i386: Split out maybe_handle_vm86_trap")

Remove it, and it's local macros.

Signed-off

linux-user: Remove unused handle_vm86_fault

handle_vm86_fault has been unused since:
1ade5b2fed ("linux-user/i386: Split out maybe_handle_vm86_trap")

Remove it, and it's local macros.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/crossbuilds.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/bsd-user/riscv/signal.c
/openbmc/qemu/bsd-user/riscv/target.h
/openbmc/qemu/bsd-user/riscv/target_arch.h
/openbmc/qemu/bsd-user/riscv/target_arch_cpu.c
/openbmc/qemu/bsd-user/riscv/target_arch_cpu.h
/openbmc/qemu/bsd-user/riscv/target_arch_elf.h
/openbmc/qemu/bsd-user/riscv/target_arch_reg.h
/openbmc/qemu/bsd-user/riscv/target_arch_signal.h
/openbmc/qemu/bsd-user/riscv/target_arch_sigtramp.h
/openbmc/qemu/bsd-user/riscv/target_arch_sysarch.h
/openbmc/qemu/bsd-user/riscv/target_arch_thread.h
/openbmc/qemu/bsd-user/riscv/target_arch_vmparam.h
/openbmc/qemu/bsd-user/riscv/target_syscall.h
/openbmc/qemu/configs/devices/sh4-softmmu/default.mak
/openbmc/qemu/configs/targets/riscv64-bsd-user.mak
/openbmc/qemu/fsdev/9p-iov-marshal.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/intc/riscv_imsic.c
/openbmc/qemu/hw/net/net_rx_pkt.c
/openbmc/qemu/hw/net/net_rx_pkt.h
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/microchip_pfsoc.c
/openbmc/qemu/hw/riscv/opentitan.c
/openbmc/qemu/hw/riscv/shakti_c.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/virtio/vhost-shadow-virtqueue.c
/openbmc/qemu/hw/xen/xen-legacy-backend.c
/openbmc/qemu/hw/xen/xen_devconfig.c
/openbmc/qemu/include/hw/char/serial.h
/openbmc/qemu/include/hw/pci-host/q35.h
/openbmc/qemu/include/hw/riscv/boot.h
/openbmc/qemu/include/hw/xen/xen-legacy-backend.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/net/queue.h
/openbmc/qemu/include/qemu/timer.h
user-internals.h
vm86.c
/openbmc/qemu/net/hub.c
/openbmc/qemu/net/net.c
/openbmc/qemu/net/queue.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/common.json
/openbmc/qemu/qapi/crypto.json
/openbmc/qemu/qapi/cryptodev.json
/openbmc/qemu/qapi/cxl.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/pci.json
/openbmc/qemu/qapi/pragma.json
/openbmc/qemu/qapi/rocker.json
/openbmc/qemu/qemu-keymap.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/target/loongarch/gdbstub.c
/openbmc/qemu/target/riscv/Kconfig
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_cfg.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/debug.c
/openbmc/qemu/target/riscv/debug.h
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.c
/openbmc/qemu/target/riscv/time_helper.c
/openbmc/qemu/target/riscv/vector_helper.c
/openbmc/qemu/tests/data/acpi/riscv64/virt/SRAT.numamem
/openbmc/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/openbmc/qemu/tests/lcitool/mappings.yml
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/qemu-iotests/testenv.py
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/endianness-test.c
/openbmc/qemu/tests/qtest/machine-none-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/tests/tcg/s390x/ex-smc.c
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-block-iothread.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/cpuinfo-riscv.c
/openbmc/qemu/util/qemu-timer.c
0d0f95c724-Sep-2024 Marc-André Lureau <marcandre.lureau@redhat.com>

linux-user/hppa: fix -Werror=maybe-uninitialized false-positive

../linux-user/hppa/cpu_loop.c: In function ‘hppa_lws’:
../linux-user/hppa/cpu_loop.c:106:17: error: ‘ret’ may be used uninitialized [-

linux-user/hppa: fix -Werror=maybe-uninitialized false-positive

../linux-user/hppa/cpu_loop.c: In function ‘hppa_lws’:
../linux-user/hppa/cpu_loop.c:106:17: error: ‘ret’ may be used uninitialized [-Werror=maybe-uninitialized]
106 | env->gr[28] = ret;

Add g_assert_not_reached() to help compiler, as suggested by Laurent.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest-template.yml
/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/crossbuild-template.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/block/aio_task.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/copy-before-write.c
/openbmc/qemu/block/copy-before-write.h
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/reqlist.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configs/devices/arm-softmmu/default.mak
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/system/target-arm.rst
/openbmc/qemu/fpu/softfloat-parts.c.inc
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/meson.build
/openbmc/qemu/hw/arm/xlnx-versal.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/block/Kconfig
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/block/m25p80_sfdp.c
/openbmc/qemu/hw/block/m25p80_sfdp.h
/openbmc/qemu/hw/block/meson.build
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/omap_uart.c
/openbmc/qemu/hw/core/irq.c
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/meson.build
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/dma/meson.build
/openbmc/qemu/hw/dma/omap_dma.c
/openbmc/qemu/hw/gpio/Kconfig
/openbmc/qemu/hw/gpio/meson.build
/openbmc/qemu/hw/gpio/omap_gpio.c
/openbmc/qemu/hw/hyperv/hyperv_testdev.c
/openbmc/qemu/hw/hyperv/vmbus.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/input/Kconfig
/openbmc/qemu/hw/input/meson.build
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/intc/omap_intc.c
/openbmc/qemu/hw/misc/meson.build
/openbmc/qemu/hw/misc/omap_clk.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/igb_core.c
/openbmc/qemu/hw/net/net_rx_pkt.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/nvme/nvme.h
/openbmc/qemu/hw/pci/pci-stub.c
/openbmc/qemu/hw/pcmcia/meson.build
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/rtc/Kconfig
/openbmc/qemu/hw/rtc/meson.build
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/sd/meson.build
/openbmc/qemu/hw/sd/omap_mmc.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/ssi/meson.build
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/timer/Kconfig
/openbmc/qemu/hw/timer/meson.build
/openbmc/qemu/hw/timer/pxa2xx_timer.c
/openbmc/qemu/hw/tpm/tpm_spapr.c
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/meson.build
/openbmc/qemu/include/block/aio_task.h
/openbmc/qemu/include/block/block-copy.h
/openbmc/qemu/include/block/nvme.h
/openbmc/qemu/include/hw/arm/omap.h
/openbmc/qemu/include/hw/arm/xlnx-versal.h
/openbmc/qemu/include/hw/arm/xlnx-zynqmp.h
/openbmc/qemu/include/hw/block/flash.h
/openbmc/qemu/include/qemu/co-shared-resource.h
/openbmc/qemu/include/qemu/pmem.h
hppa/cpu_loop.c
/openbmc/qemu/migration/dirtyrate.c
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/postcopy-ram.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/nbd/client-connection.c
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qobject/qlit.c
/openbmc/qemu/qobject/qnum.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/roms/openbios
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/ci/gitlab-ci-section
/openbmc/qemu/target/arm/hyp_gdbstub.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/ptw.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/ppc/dfp_helper.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/openbmc/qemu/target/riscv/monitor.c
/openbmc/qemu/tcg/loongarch64/tcg-target.c.inc
/openbmc/qemu/tests/avocado/boot_linux_console.py
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/qemu_test/linuxkernel.py
/openbmc/qemu/tests/functional/test_arm_vexpress.py
/openbmc/qemu/tests/functional/test_ppc64_e500.py
/openbmc/qemu/tests/functional/test_ppc64_powernv.py
/openbmc/qemu/tests/functional/test_ppc_mac.py
/openbmc/qemu/tests/functional/test_sh4_r2d.py
/openbmc/qemu/tests/functional/test_sparc_sun4m.py
/openbmc/qemu/tests/functional/test_xtensa_lx60.py
/openbmc/qemu/tests/qtest/acpi-utils.c
/openbmc/qemu/tests/qtest/libqos/meson.build
/openbmc/qemu/util/qemu-co-shared-resource.c
/openbmc/qemu/util/qemu-coroutine.c
/openbmc/qemu/util/qemu-timer.c
4ae7d11b27-Sep-2024 Peter Maydell <peter.maydell@linaro.org>

Merge tag 'pull-tcg-20240922' of https://gitlab.com/rth7680/qemu into staging

target/ppc: Fix lxvx/stxvx facility check
linux-user: update syscall_nr.h to Linux v6.10
linux-user: update syscall.tbl

Merge tag 'pull-tcg-20240922' of https://gitlab.com/rth7680/qemu into staging

target/ppc: Fix lxvx/stxvx facility check
linux-user: update syscall_nr.h to Linux v6.10
linux-user: update syscall.tbl to Linux v6.11
tcg: Fix iteration step in 32-bit gvec operation
tcg: Propagate new TCGOp to add_as_label_use
tcg/*: Do not expand cmp_vec, cmpsel_vec early
tcg/optimize: Fold movcond with true and false values identical
tcg/optimize: Optimize cmp_vec and cmpsel_vec
tcg/optimize: Optimize bitsel_vec
tcg/i386: Optimize cmpsel with constant 0 operand 3.
tcg/i386: Implement cmp_vec with avx512 insns
tcg/i386: Implement cmpsel_vec with avx512 insns
tcg/i386: Implement vector TST{EQ,NE} for avx512
tcg/ppc: Implement cmpsel_vec and optimize with constant 0/-1 arguments
tcg/s390x: Implement cmpsel_vec and optimize with constant 0/-1 arguments

# -----BEGIN PGP SIGNATURE-----
#
# iQFQBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmbwBsIdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV/bzwf40V8fsRhfc8u/k2Xw
# +bXyfyX7ydgB+82YoO71+Wy15ntmYmbL/6O9kGuJXWX8HRDrAR8Js9zDgveysw5m
# m/EG+XAbVjYhjaoaaz2nfr+5auQoos9NoCji3s3UJln6sCuZ2Enl0DTFluoHZfgr
# /YVAghJ4dwH0hfzO9kmsKmJ9I19HugMMN4dNvEcjQyDDUhgGGjkUaRtGNxwuiwuf
# ArL2XhFauXgloryDmpUKQ0BJJ0t8rdPlaRJ8dHqJUnJwav0TW3QVXbrs8gOkmmbg
# 9plYTC9DlTguQobvapCDVjiGy/6yuSF/AUpcdQbTRtTi3BrzhTydfLlOtI64GtaQ
# OBKd
# =ID/g
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 22 Sep 2024 13:00:02 BST
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F

* tag 'pull-tcg-20240922' of https://gitlab.com/rth7680/qemu: (31 commits)
linux-user: update syscall.tbl to Linux v6.11
linux-user,loongarch: move to syscalltbl file
linux-user,hexagon: move to syscalltbl file
linux-user,riscv: move to syscalltbl file
linux-user,openrisc: move to syscalltbl file
linux-user,aarch64: move to syscalltbl file
linux-user: update syscall.tbl to Linux v6.10
linux-user, mips: update syscall-args-o32.c.inc to Linux v6.10
linux-user: update syscall_nr.h to Linux v6.10
target/ppc: Fix lxvx/stxvx facility check
tcg/s390x: Optimize cmpsel with constant 0/-1 arguments
tcg/s390x: Implement cmpsel_vec
tcg/ppc: Optimize cmpsel with constant 0/-1 arguments
tcg/ppc: Implement cmpsel_vec
tcg/i386: Implement vector TST{EQ,NE} for avx512
tcg/i386: Implement cmpsel_vec with avx512 insns
tcg/i386: Add predicate parameters to tcg_out_evex_opc
tcg/i386: Implement cmp_vec with avx512 insns
tcg/i386: Optimize cmpsel with constant 0 operand 3.
tcg/optimize: Optimize bitsel_vec
...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/accel/tcg/atomic_common.c.inc
/openbmc/qemu/accel/tcg/atomic_template.h
/openbmc/qemu/accel/tcg/ldst_common.c.inc
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/configs/targets/aarch64-linux-user.mak
/openbmc/qemu/configs/targets/aarch64_be-linux-user.mak
/openbmc/qemu/configs/targets/hexagon-linux-user.mak
/openbmc/qemu/configs/targets/loongarch64-linux-user.mak
/openbmc/qemu/configs/targets/or1k-linux-user.mak
/openbmc/qemu/configs/targets/riscv32-linux-user.mak
/openbmc/qemu/configs/targets/riscv64-linux-user.mak
/openbmc/qemu/configure
/openbmc/qemu/contrib/plugins/Makefile
/openbmc/qemu/contrib/plugins/bbv.c
/openbmc/qemu/contrib/plugins/cflow.c
/openbmc/qemu/contrib/plugins/ips.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/emulation.rst
/openbmc/qemu/docs/devel/reset.rst
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/core/reset.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/microvm.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/virtio/Kconfig
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/virtio/virtio-qmp.c
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/resettable.h
/openbmc/qemu/include/hw/virtio/virtio-mem.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/sysemu/reset.h
aarch64/meson.build
aarch64/syscall_64.tbl
aarch64/syscall_nr.h
aarch64/syscallhdr.sh
alpha/syscall.tbl
arm/syscall.tbl
hexagon/meson.build
hexagon/syscall.tbl
hexagon/syscallhdr.sh
hppa/syscall.tbl
i386/syscall_32.tbl
loongarch64/meson.build
loongarch64/syscall.tbl
loongarch64/syscallhdr.sh
m68k/syscall.tbl
meson.build
microblaze/syscall.tbl
mips/syscall-args-o32.c.inc
mips/syscall_o32.tbl
mips64/syscall_n32.tbl
mips64/syscall_n64.tbl
openrisc/meson.build
openrisc/syscall.tbl
openrisc/syscallhdr.sh
ppc/syscall.tbl
riscv/cpu_loop.c
riscv/meson.build
riscv/syscall.tbl
riscv/syscallhdr.sh
s390x/syscall.tbl
sh4/syscall.tbl
sparc/syscall.tbl
syscall_defs.h
x86_64/syscall_64.tbl
xtensa/syscall.tbl
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/qemu-plugins.symbols
/openbmc/qemu/scripts/update-syscalltbl.sh
/openbmc/qemu/system/runstate.c
/openbmc/qemu/target/ppc/translate/vsx-impl.c.inc
/openbmc/qemu/tcg/i386/tcg-target-con-set.h
/openbmc/qemu/tcg/i386/tcg-target-con-str.h
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.opc.h
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target-con-set.h
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/s390x/tcg-target-con-set.h
/openbmc/qemu/tcg/s390x/tcg-target-con-str.h
/openbmc/qemu/tcg/s390x/tcg-target.c.inc
/openbmc/qemu/tcg/s390x/tcg-target.h
/openbmc/qemu/tcg/tcg-internal.h
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op-ldst.c
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tests/tcg/Makefile.target
/openbmc/qemu/tests/tcg/alpha/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/alpha/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/check-plugin-output.sh
/openbmc/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/multiarch/system/memory.c
/openbmc/qemu/tests/tcg/multiarch/system/validate-memory-counts.py
/openbmc/qemu/tests/tcg/multiarch/test-plugin-mem-access.c
/openbmc/qemu/tests/tcg/plugins/mem.c
/openbmc/qemu/tests/tcg/plugins/syscall.c
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/s390x/Makefile.softmmu-target
/openbmc/qemu/util/qemu-timer.c
c4d80fa620-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user: update syscall.tbl to Linux v6.11

Updated running scripts/update-syscalltbl.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-7-laurent@vivier.eu>

linux-user: update syscall.tbl to Linux v6.11

Updated running scripts/update-syscalltbl.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-7-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

c52e405920-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user,loongarch: move to syscalltbl file

Since kernel v6.11 loongarch has moved from syscall_nr.h file
to syscall.tbl (26a3b85bac08 ("loongarch: convert to generic syscall
table"))

Update linu

linux-user,loongarch: move to syscalltbl file

Since kernel v6.11 loongarch has moved from syscall_nr.h file
to syscall.tbl (26a3b85bac08 ("loongarch: convert to generic syscall
table"))

Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imported from linux v6.11 using updated
scripts/update-syscalltbl.sh

Remove scripts/gensyscalls.sh that is now useless.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-6-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

e7e6cc5020-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user,hexagon: move to syscalltbl file

Since kernel v6.11 hexagon has moved from syscall_nr.h file
to syscall.tbl (36d69c29759e ("hexagon: use new system call table"))

Update linux-user script

linux-user,hexagon: move to syscalltbl file

Since kernel v6.11 hexagon has moved from syscall_nr.h file
to syscall.tbl (36d69c29759e ("hexagon: use new system call table"))

Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imported from linux v6.11 using updated
scripts/update-syscalltbl.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-5-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

5281a19720-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user,riscv: move to syscalltbl file

Since kernel v6.11 riscv has moved from syscall_nr.h file
to syscall.tbl (3db80c999deb ("riscv: convert to generic syscall
table"))

Update linux-user scrip

linux-user,riscv: move to syscalltbl file

Since kernel v6.11 riscv has moved from syscall_nr.h file
to syscall.tbl (3db80c999deb ("riscv: convert to generic syscall
table"))

Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imported from linux v6.11 using updated
scripts/update-syscalltbl.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-4-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

656a46fb20-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user,openrisc: move to syscalltbl file

Since kernel v6.11 openrisc has moved from syscall_nr.h file
to syscall.tbl (See 77122bf9e3df ("openrisc: convert to generic syscall
table"))

Update lin

linux-user,openrisc: move to syscalltbl file

Since kernel v6.11 openrisc has moved from syscall_nr.h file
to syscall.tbl (See 77122bf9e3df ("openrisc: convert to generic syscall
table"))

Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imported from linux v6.11 using updated
scripts/update-syscalltbl.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-3-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

f5afe73920-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user,aarch64: move to syscalltbl file

Since kernel v6.11 aarch64 has moved from syscall_nr.h file
to syscall_64.tbl (See e632bca07c8e ("arm64: generate 64-bit
syscall.tbl"))

Update linux-user

linux-user,aarch64: move to syscalltbl file

Since kernel v6.11 aarch64 has moved from syscall_nr.h file
to syscall_64.tbl (See e632bca07c8e ("arm64: generate 64-bit
syscall.tbl"))

Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall_64.tbl instead of syscall_nr.h.
New syscall_64.tbl is imported from linux v6.11 using
updated scripts/update-syscalltbl.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-2-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

e12fbc3618-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user: update syscall.tbl to Linux v6.10

Updated running scripts/update-syscalltbl.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240918074256.720617-4-laurent@vivier.eu>

linux-user: update syscall.tbl to Linux v6.10

Updated running scripts/update-syscalltbl.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240918074256.720617-4-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

c0d3050d18-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user, mips: update syscall-args-o32.c.inc to Linux v6.10

Updated running scripts/update-mips-syscall-args.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240918074256.7206

linux-user, mips: update syscall-args-o32.c.inc to Linux v6.10

Updated running scripts/update-mips-syscall-args.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240918074256.720617-3-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

3f89ff9b18-Sep-2024 Laurent Vivier <laurent@vivier.eu>

linux-user: update syscall_nr.h to Linux v6.10

Automatically generated using scripts/gensyscalls.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Mes

linux-user: update syscall_nr.h to Linux v6.10

Automatically generated using scripts/gensyscalls.sh

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-ID: <20240918074256.720617-2-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/openbmc/qemu/.gitlab-ci.d/base.yml
/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/crossbuild-template.yml
/openbmc/qemu/.gitlab-ci.d/crossbuilds.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/emulation.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/devel/testing/fuzzing.rst
/openbmc/qemu/docs/system/loongarch/virt.rst
/openbmc/qemu/fpu/softfloat-specialize.c.inc
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast27x0.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/avr_usart.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/char/meson.build
/openbmc/qemu/hw/char/pl011.c
/openbmc/qemu/hw/char/stm32l4x5_usart.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/core/numa.c
/openbmc/qemu/hw/dma/meson.build
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/gpio/nrf51_gpio.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/ide/macio.c
/openbmc/qemu/hw/input/adb-mouse.c
/openbmc/qemu/hw/intc/meson.build
/openbmc/qemu/hw/meson.build
/openbmc/qemu/hw/misc/imx6_ccm.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/net/meson.build
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/pci-host/gt64120.c
/openbmc/qemu/hw/sensor/tmp105.c
/openbmc/qemu/hw/timer/meson.build
/openbmc/qemu/hw/vfio/igd.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/watchdog/watchdog.c
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/hw/char/escc.h
/openbmc/qemu/include/hw/char/pl011.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/ppc/mac_dbdma.h
/openbmc/qemu/include/hw/s390x/cpu-topology.h
/openbmc/qemu/include/qemu/fifo8.h
/openbmc/qemu/include/sysemu/arch_init.h
/openbmc/qemu/include/ui/sdl2.h
aarch64/syscall_nr.h
hexagon/syscall_nr.h
loongarch64/syscall_nr.h
openrisc/syscall_nr.h
riscv/syscall32_nr.h
riscv/syscall64_nr.h
/openbmc/qemu/meson.build
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/multifd-qatzip.c
/openbmc/qemu/migration/multifd-zstd.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/pc-bios/descriptors/60-edk2-loongarch64.json
/openbmc/qemu/pc-bios/descriptors/meson.build
/openbmc/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-arm-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-i386-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-i386-secure-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-loongarch64-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-loongarch64-vars.fd.bz2
/openbmc/qemu/pc-bios/edk2-riscv-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-x86_64-microvm.fd.bz2
/openbmc/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/roms/edk2
/openbmc/qemu/roms/edk2-build.config
/openbmc/qemu/roms/edk2-version
/openbmc/qemu/scripts/coverity-scan/COMPONENTS.md
/openbmc/qemu/system/physmem.c
/openbmc/qemu/system/qdev-monitor.c
/openbmc/qemu/system/qemu-seccomp.c
/openbmc/qemu/system/rtc.c
/openbmc/qemu/target/Kconfig
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/tcg/a64.decode
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/arm/tcg/gengvec.c
/openbmc/qemu/target/arm/tcg/neon-dp.decode
/openbmc/qemu/target/arm/tcg/neon_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate-neon.c
/openbmc/qemu/target/arm/tcg/translate-sve.c
/openbmc/qemu/target/arm/tcg/translate.h
/openbmc/qemu/target/meson.build
/openbmc/qemu/target/ppc/translate/vsx-impl.c.inc
/openbmc/qemu/target/riscv/cpu-qom.h
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/tcg/i386/tcg-target-con-set.h
/openbmc/qemu/tcg/i386/tcg-target-con-str.h
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.opc.h
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target-con-set.h
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/s390x/tcg-target-con-set.h
/openbmc/qemu/tcg/s390x/tcg-target-con-str.h
/openbmc/qemu/tcg/s390x/tcg-target.c.inc
/openbmc/qemu/tcg/s390x/tcg-target.h
/openbmc/qemu/tcg/tcg-internal.h
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tests/avocado/machine_aspeed.py
/openbmc/qemu/tests/data/acpi/aarch64/virt/SSDT.memhp
/openbmc/qemu/tests/data/qobject/qdict.txt
/openbmc/qemu/tests/fp/meson.build
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/test_aarch64_sbsaref.py
/openbmc/qemu/tests/qtest/bcm2835-i2c-test.c
/openbmc/qemu/tests/qtest/boot-order-test.c
/openbmc/qemu/tests/qtest/cdrom-test.c
/openbmc/qemu/tests/qtest/hd-geo-test.c
/openbmc/qemu/tests/qtest/ipmi-bt-test.c
/openbmc/qemu/tests/qtest/ipmi-kcs-test.c
/openbmc/qemu/tests/qtest/machine-none-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration-helpers.c
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/numa-test.c
/openbmc/qemu/tests/qtest/rtl8139-test.c
/openbmc/qemu/tests/qtest/stm32l4x5_usart-test.c
/openbmc/qemu/tests/qtest/tmp105-test.c
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-fifo.c
/openbmc/qemu/tests/unit/test-xs-node.c
/openbmc/qemu/ui/qemu-pixman.c
/openbmc/qemu/ui/sdl2-input.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/util/fifo8.c
06e2329611-Sep-2024 Philippe Mathieu-Daudé <philmd@linaro.org>

license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only

The 'GPL-2.0' license identifier has been deprecated since license
list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].

[1] h

license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only

The 'GPL-2.0' license identifier has been deprecated since license
list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].

[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.html

Mechanical patch running:

$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \
$(git grep -l 'SPDX-License-Identifier: GPL-2.0[ $]' \
| egrep -v '^linux-headers|^include/standard-headers')

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/block/vdi.c
/openbmc/qemu/docs/system/ppc/powermac.rst
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/gdbstub/syscalls.c
/openbmc/qemu/gdbstub/system.c
/openbmc/qemu/gdbstub/user-target.c
/openbmc/qemu/gdbstub/user.c
/openbmc/qemu/hw/core/sysbus.c
/openbmc/qemu/hw/core/uboot_image.h
/openbmc/qemu/hw/display/dm163.c
/openbmc/qemu/hw/loongarch/virt.c
/openbmc/qemu/hw/m68k/bootinfo.h
/openbmc/qemu/hw/mips/jazz.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/igb_regs.h
/openbmc/qemu/hw/nvram/fw_cfg-acpi.c
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/rs6000_mc.c
/openbmc/qemu/hw/virtio/Kconfig
/openbmc/qemu/hw/virtio/virtio-acpi.c
/openbmc/qemu/include/gdbstub/syscalls.h
/openbmc/qemu/include/gdbstub/user.h
/openbmc/qemu/include/hw/nvram/fw_cfg_acpi.h
/openbmc/qemu/include/hw/sysbus.h
/openbmc/qemu/include/hw/usb/dwc2-regs.h
/openbmc/qemu/include/hw/virtio/virtio-acpi.h
/openbmc/qemu/include/qemu/crc-ccitt.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/envlist.h
/openbmc/qemu/include/qemu/timed-average.h
alpha/syscall.tbl
alpha/syscallhdr.sh
arm/syscallhdr.sh
hppa/syscall.tbl
hppa/syscallhdr.sh
i386/syscallhdr.sh
m68k/syscall.tbl
m68k/syscallhdr.sh
microblaze/syscall.tbl
microblaze/syscallhdr.sh
mips/syscall_o32.tbl
mips/syscallhdr.sh
mips64/syscall_n32.tbl
mips64/syscall_n64.tbl
mips64/syscallhdr.sh
ppc/syscall.tbl
ppc/syscallhdr.sh
s390x/syscall.tbl
s390x/syscallhdr.sh
sh4/syscall.tbl
sh4/syscallhdr.sh
sparc/syscall.tbl
sparc/syscallhdr.sh
x86_64/syscallhdr.sh
xtensa/syscall.tbl
xtensa/syscallhdr.sh
/openbmc/qemu/qemu.nsi
/openbmc/qemu/scripts/kernel-doc
/openbmc/qemu/target/alpha/cpu-param.h
/openbmc/qemu/target/arm/cpu-param.h
/openbmc/qemu/target/hexagon/gen_idef_parser_funcs.py
/openbmc/qemu/target/hexagon/idef-parser/README.rst
/openbmc/qemu/target/hexagon/idef-parser/macros.h.inc
/openbmc/qemu/target/hexagon/meson.build
/openbmc/qemu/target/hppa/cpu-param.h
/openbmc/qemu/target/i386/cpu-param.h
/openbmc/qemu/target/m68k/cpu-param.h
/openbmc/qemu/target/microblaze/cpu-param.h
/openbmc/qemu/target/mips/cpu-param.h
/openbmc/qemu/target/openrisc/cpu-param.h
/openbmc/qemu/target/ppc/cpu-param.h
/openbmc/qemu/target/riscv/cpu-param.h
/openbmc/qemu/target/s390x/cpu-param.h
/openbmc/qemu/target/sh4/cpu-param.h
/openbmc/qemu/target/sparc/cpu-param.h
/openbmc/qemu/target/sparc/insns.decode
/openbmc/qemu/tests/bench/benchmark-crypto-akcipher.c
/openbmc/qemu/tests/bench/test_akcipher_keys.c.inc
/openbmc/qemu/tests/functional/meson.build
/openbmc/qemu/tests/functional/test_netdev_ethtool.py
/openbmc/qemu/tests/qemu-iotests/testenv.py
/openbmc/qemu/tests/tcg/loongarch64/system/regdef.h
/openbmc/qemu/tests/unit/test-crypto-pbkdf.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/envlist.c
/openbmc/qemu/util/timed-average.c
99174ce329-Aug-2024 Michael Tokarev <mjt@tls.msk.ru>

linux-user/syscall.c: eliminate other explicit LFS usages

Since we alwasy build with LFS enabled, and with -D_FILE_OFFSET_BITS=64
in particular, there is no need to use 64bit versions of various sys

linux-user/syscall.c: eliminate other explicit LFS usages

Since we alwasy build with LFS enabled, and with -D_FILE_OFFSET_BITS=64
in particular, there is no need to use 64bit versions of various system
calls and constants, regular ones will do just fine. Eliminate a few
last uses of the following constructs in linux-user/syscall.c:
off64_t
ftruncate64()
lseek64()
pread64()
pwrite64()

This way it can be built on systems where the 64bit variants of
everything is not defined (since the system always uses 64bit
variants), such as on recent MUSL.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2215
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

12345678910>>...144