History log of /openbmc/qemu/target/riscv/ (Results 1626 – 1650 of 1755)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0a01f2ee19-Apr-2019 Alistair Francis <Alistair.Francis@wdc.com>

target/riscv: Trigger interrupt on MIP update asynchronously

The requirement of holding the iothread_mutex is burdersome when
swapping the background and foreground registers in the Hypervisor
exten

target/riscv: Trigger interrupt on MIP update asynchronously

The requirement of holding the iothread_mutex is burdersome when
swapping the background and foreground registers in the Hypervisor
extension. To avoid the requrirement let's set the interrupt
asynchronously.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

356d741919-Apr-2019 Alistair Francis <Alistair.Francis@wdc.com>

target/riscv: Mark privilege level 2 as reserved

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifi

target/riscv: Mark privilege level 2 as reserved

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

8903bf6e19-Apr-2019 Alistair Francis <Alistair.Francis@wdc.com>

target/riscv: Add a base 32 and 64 bit CPU

At the same time deprecate the ISA string CPUs.

It is dobtful anyone specifies the CPUs, but we are keeping them for the
Spike machine (which is about to

target/riscv: Add a base 32 and 64 bit CPU

At the same time deprecate the ISA string CPUs.

It is dobtful anyone specifies the CPUs, but we are keeping them for the
Spike machine (which is about to be depreated) so we may as well just
mark them as deprecated.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

c4e9503019-Apr-2019 Alistair Francis <Alistair.Francis@wdc.com>

target/riscv: Create settable CPU properties

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.c

target/riscv: Create settable CPU properties

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

7f9188e231-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Remove spaces from register names

These extra spaces make the "-d op" dump look weird.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <pal

target/riscv: Remove spaces from register names

These extra spaces make the "-d op" dump look weird.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

598aa11631-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Split gen_arith_imm into functional and temp

The tcg_gen_fooi_tl functions have some immediate constant
folding built in, which match up with some of the riscv asm
builtin macros, like

target/riscv: Split gen_arith_imm into functional and temp

The tcg_gen_fooi_tl functions have some immediate constant
folding built in, which match up with some of the riscv asm
builtin macros, like mv and not.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

0e68e24031-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Split RVC32 and RVC64 insns into separate files

This eliminates all functions in insn_trans/trans_rvc.inc.c,
so the entire file can be removed.

Signed-off-by: Richard Henderson <richa

target/riscv: Split RVC32 and RVC64 insns into separate files

This eliminates all functions in insn_trans/trans_rvc.inc.c,
so the entire file can be removed.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

c2cfb97c31-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Use pattern groups in insn16.decode

This eliminates about half of the complicated decode
bits within insn_trans/trans_rvc.inc.c.

Signed-off-by: Richard Henderson <richard.henderson@li

target/riscv: Use pattern groups in insn16.decode

This eliminates about half of the complicated decode
bits within insn_trans/trans_rvc.inc.c.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

6cafec9231-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Merge argument decode for RVC shifti

Special handling for IMM==0 is the only difference between
RVC shifti and RVI shifti. This can be handled with !function.

Signed-off-by: Richard

target/riscv: Merge argument decode for RVC shifti

Special handling for IMM==0 is the only difference between
RVC shifti and RVI shifti. This can be handled with !function.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

e1d455dd31-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Merge argument sets for insn32 and insn16

In some cases this allows us to directly use the insn32
translator function. In some cases we still need a shim.

Signed-off-by: Richard Hend

target/riscv: Merge argument sets for insn32 and insn16

In some cases this allows us to directly use the insn32
translator function. In some cases we still need a shim.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

8177025531-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Use --static-decode for decodetree

The generated functions are only used within translate.c
and do not need to be global, or declared.

Signed-off-by: Richard Henderson <richard.hender

target/riscv: Use --static-decode for decodetree

The generated functions are only used within translate.c
and do not need to be global, or declared.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

e761799731-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Name the argument sets for all of insn32 formats

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer D

target/riscv: Name the argument sets for all of insn32 formats

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

6e2716d825-Mar-2019 Fabien Chouteau <chouteau@adacore.com>

RISC-V: fix single stepping over ret and other branching instructions

This patch introduces wrappers around the tcg_gen_exit_tb() and
tcg_gen_lookup_and_goto_ptr() functions that handle single stepp

RISC-V: fix single stepping over ret and other branching instructions

This patch introduces wrappers around the tcg_gen_exit_tb() and
tcg_gen_lookup_and_goto_ptr() functions that handle single stepping,
i.e. call gen_exception_debug() when single stepping is enabled.

Theses functions are then used instead of the originals, bringing single
stepping handling in places where it was previously ignored such as jalr
and system branch instructions (ecall, mret, sret, etc.).

Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

b86f416701-Apr-2019 Jonathan Behrens <fintelia@gmail.com>

target/riscv: Do not allow sfence.vma from user mode

The 'sfence.vma' instruction is privileged, and should only ever be allowed
when executing in supervisor mode or higher.

Signed-off-by: Jonathan

target/riscv: Do not allow sfence.vma from user mode

The 'sfence.vma' instruction is privileged, and should only ever be allowed
when executing in supervisor mode or higher.

Signed-off-by: Jonathan Behrens <fintelia@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...


/openbmc/qemu/.cirrus.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/Makefile.objs
/openbmc/qemu/Makefile.target
/openbmc/qemu/accel/tcg/tcg-runtime-gvec.c
/openbmc/qemu/accel/tcg/tcg-runtime.h
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/blockjob.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/contrib/vhost-user-blk/vhost-user-blk.c
/openbmc/qemu/contrib/vhost-user-input/Makefile.objs
/openbmc/qemu/contrib/vhost-user-input/main.c
/openbmc/qemu/cpus.c
/openbmc/qemu/crypto/Makefile.objs
/openbmc/qemu/crypto/random-gcrypt.c
/openbmc/qemu/crypto/random-gnutls.c
/openbmc/qemu/crypto/random-platform.c
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/interop/vhost-user.rst
/openbmc/qemu/docs/qemu-cpu-models.texi
/openbmc/qemu/fsdev/file-op-9p.h
/openbmc/qemu/fsdev/qemu-fsdev.c
/openbmc/qemu/fsdev/qemu-fsdev.h
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/acpi/trace-events
/openbmc/qemu/hw/arm/armsse.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/collie.c
/openbmc/qemu/hw/arm/exynos4210.c
/openbmc/qemu/hw/arm/exynos4_boards.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/mainstone.c
/openbmc/qemu/hw/arm/microbit.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/msf2-soc.c
/openbmc/qemu/hw/arm/msf2-som.c
/openbmc/qemu/hw/arm/musca.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/netduino2.c
/openbmc/qemu/hw/arm/nrf51_soc.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/omap1.c
/openbmc/qemu/hw/arm/omap2.c
/openbmc/qemu/hw/arm/omap_sx1.c
/openbmc/qemu/hw/arm/palm.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/stm32f205_soc.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal.c
/openbmc/qemu/hw/arm/z2.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/char/Kconfig
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/char/grlib_apbuart.c
/openbmc/qemu/hw/char/serial-pci-multi.c
/openbmc/qemu/hw/char/serial-pci.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/ramfb-standalone.c
/openbmc/qemu/hw/display/ramfb.c
/openbmc/qemu/hw/display/virtio-gpu-pci.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/i386/Makefile.objs
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/fw_cfg.c
/openbmc/qemu/hw/i386/fw_cfg.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/input/Kconfig
/openbmc/qemu/hw/input/Makefile.objs
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/grlib_irqmp.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/misc/Makefile.objs
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/bcm2835_rng.c
/openbmc/qemu/hw/misc/exynos4210_rng.c
/openbmc/qemu/hw/misc/grlib_ahb_apb_pnp.c
/openbmc/qemu/hw/misc/nrf51_rng.c
/openbmc/qemu/hw/net/Kconfig
/openbmc/qemu/hw/net/Makefile.objs
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/ne2000-pci.c
/openbmc/qemu/hw/net/ne2000.c
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/nvram/trace-events
/openbmc/qemu/hw/pci-bridge/pci_expander_bridge.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pcie_host.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/fw_cfg.c
/openbmc/qemu/hw/riscv/Makefile.objs
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_gpio.c
/openbmc/qemu/hw/riscv/trace-events
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/timer/grlib_gptimer.c
/openbmc/qemu/hw/vfio/amd-xgbe.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/calxeda-xgmac.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/display.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/virtio-crypto-pci.c
/openbmc/qemu/hw/virtio/virtio-input-pci.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-pci.h
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/crypto/random.h
/openbmc/qemu/include/hw/acpi/pci.h
/openbmc/qemu/include/hw/acpi/piix4.h
/openbmc/qemu/include/hw/arm/allwinner-a10.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/bcm2836.h
/openbmc/qemu/include/hw/arm/boot.h
/openbmc/qemu/include/hw/arm/exynos4210.h
/openbmc/qemu/include/hw/arm/fsl-imx25.h
/openbmc/qemu/include/hw/arm/fsl-imx31.h
/openbmc/qemu/include/hw/arm/fsl-imx6.h
/openbmc/qemu/include/hw/arm/fsl-imx6ul.h
/openbmc/qemu/include/hw/arm/fsl-imx7.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/arm/xlnx-versal.h
/openbmc/qemu/include/hw/arm/xlnx-zynqmp.h
/openbmc/qemu/include/hw/display/ramfb.h
/openbmc/qemu/include/hw/i386/ich9.h
/openbmc/qemu/include/hw/i386/ioapic_internal.h
/openbmc/qemu/include/hw/misc/grlib_ahb_apb_pnp.h
/openbmc/qemu/include/hw/nvram/fw_cfg.h
/openbmc/qemu/include/hw/pci/msix.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_bus.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/riscv/sifive_e.h
/openbmc/qemu/include/hw/riscv/sifive_gpio.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/sparc/grlib.h
/openbmc/qemu/include/hw/timer/armv7m_systick.h
/openbmc/qemu/include/hw/virtio/vhost-user-blk.h
/openbmc/qemu/include/hw/virtio/virtio.h
/openbmc/qemu/include/qemu/guest-random.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h
/openbmc/qemu/include/standard-headers/drm/drm_fourcc.h
/openbmc/qemu/include/standard-headers/linux/ethtool.h
/openbmc/qemu/include/standard-headers/linux/input-event-codes.h
/openbmc/qemu/include/standard-headers/linux/input.h
/openbmc/qemu/include/standard-headers/linux/pci_regs.h
/openbmc/qemu/include/standard-headers/linux/virtio_config.h
/openbmc/qemu/include/standard-headers/linux/virtio_gpu.h
/openbmc/qemu/include/standard-headers/linux/virtio_ring.h
/openbmc/qemu/include/standard-headers/rdma/vmw_pvrdma-abi.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/linux-headers/asm-arm/unistd-common.h
/openbmc/qemu/linux-headers/asm-arm64/kvm.h
/openbmc/qemu/linux-headers/asm-arm64/sve_context.h
/openbmc/qemu/linux-headers/asm-arm64/unistd.h
/openbmc/qemu/linux-headers/asm-generic/mman-common.h
/openbmc/qemu/linux-headers/asm-generic/unistd.h
/openbmc/qemu/linux-headers/asm-mips/mman.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n32.h
/openbmc/qemu/linux-headers/asm-mips/unistd_n64.h
/openbmc/qemu/linux-headers/asm-mips/unistd_o32.h
/openbmc/qemu/linux-headers/asm-powerpc/kvm.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_32.h
/openbmc/qemu/linux-headers/asm-powerpc/unistd_64.h
/openbmc/qemu/linux-headers/asm-s390/kvm.h
/openbmc/qemu/linux-headers/asm-s390/unistd_32.h
/openbmc/qemu/linux-headers/asm-s390/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/kvm.h
/openbmc/qemu/linux-headers/asm-x86/unistd_32.h
/openbmc/qemu/linux-headers/asm-x86/unistd_64.h
/openbmc/qemu/linux-headers/asm-x86/unistd_x32.h
/openbmc/qemu/linux-headers/linux/kvm.h
/openbmc/qemu/linux-headers/linux/mman.h
/openbmc/qemu/linux-headers/linux/psci.h
/openbmc/qemu/linux-headers/linux/psp-sev.h
/openbmc/qemu/linux-headers/linux/vfio.h
/openbmc/qemu/linux-headers/linux/vfio_ccw.h
/openbmc/qemu/linux-user/aarch64/cpu_loop.c
/openbmc/qemu/linux-user/aarch64/target_syscall.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/ioctls.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/syscall_defs.h
/openbmc/qemu/memory.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/slirp.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/bootmap.c
/openbmc/qemu/pc-bios/s390-ccw/bootmap.h
/openbmc/qemu/pc-bios/s390-ccw/libc.c
/openbmc/qemu/pc-bios/s390-ccw/menu.c
/openbmc/qemu/qemu-bridge-helper.c
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qmp.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/scripts/update-linux-headers.sh
/openbmc/qemu/stubs/Makefile.objs
/openbmc/qemu/stubs/fw_cfg.c
/openbmc/qemu/stubs/ramfb.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/fpu_helper.c
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/arm/arm-semi.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/pauth_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/helper.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/int_helper.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/translate.c
op_helper.c
/openbmc/qemu/target/s390x/Makefile.objs
/openbmc/qemu/target/s390x/cc_helper.c
/openbmc/qemu/target/s390x/cpu_features.c
/openbmc/qemu/target/s390x/cpu_features.h
/openbmc/qemu/target/s390x/cpu_features_def.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/gen-features.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/helper.h
/openbmc/qemu/target/s390x/insn-data.def
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/s390x/translate_vx.inc.c
/openbmc/qemu/target/s390x/vec_int_helper.c
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/helper.h
/openbmc/qemu/target/xtensa/mmu_helper.c
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/target/xtensa/overlay_tool.h
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op-gvec.h
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acpi-utils.c
/openbmc/qemu/tests/acpi-utils.h
/openbmc/qemu/tests/bios-tables-test.c
/openbmc/qemu/tests/data/acpi/rebuild-expected-aml.sh
/openbmc/qemu/tests/device-introspect-test.c
/openbmc/qemu/tests/fw_cfg-test.c
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/libqos/fw_cfg.c
/openbmc/qemu/tests/libqos/fw_cfg.h
/openbmc/qemu/tests/libqos/malloc-pc.c
/openbmc/qemu/tests/libqos/virtio-mmio.c
/openbmc/qemu/tests/libqos/virtio-pci.c
/openbmc/qemu/tests/libqos/virtio.c
/openbmc/qemu/tests/libqos/virtio.h
/openbmc/qemu/tests/libqtest.c
/openbmc/qemu/tests/libqtest.h
/openbmc/qemu/tests/numa-test.c
/openbmc/qemu/tests/q35-test.c
/openbmc/qemu/tests/qemu-iotests/001
/openbmc/qemu/tests/qemu-iotests/002
/openbmc/qemu/tests/qemu-iotests/003
/openbmc/qemu/tests/qemu-iotests/004
/openbmc/qemu/tests/qemu-iotests/005
/openbmc/qemu/tests/qemu-iotests/007
/openbmc/qemu/tests/qemu-iotests/008
/openbmc/qemu/tests/qemu-iotests/009
/openbmc/qemu/tests/qemu-iotests/010
/openbmc/qemu/tests/qemu-iotests/011
/openbmc/qemu/tests/qemu-iotests/012
/openbmc/qemu/tests/qemu-iotests/015
/openbmc/qemu/tests/qemu-iotests/017
/openbmc/qemu/tests/qemu-iotests/020
/openbmc/qemu/tests/qemu-iotests/021
/openbmc/qemu/tests/qemu-iotests/022
/openbmc/qemu/tests/qemu-iotests/025
/openbmc/qemu/tests/qemu-iotests/026
/openbmc/qemu/tests/qemu-iotests/027
/openbmc/qemu/tests/qemu-iotests/029
/openbmc/qemu/tests/qemu-iotests/031
/openbmc/qemu/tests/qemu-iotests/032
/openbmc/qemu/tests/qemu-iotests/033
/openbmc/qemu/tests/qemu-iotests/035
/openbmc/qemu/tests/qemu-iotests/036
/openbmc/qemu/tests/qemu-iotests/037
/openbmc/qemu/tests/qemu-iotests/042
/openbmc/qemu/tests/qemu-iotests/043
/openbmc/qemu/tests/qemu-iotests/046
/openbmc/qemu/tests/qemu-iotests/047
/openbmc/qemu/tests/qemu-iotests/049
/openbmc/qemu/tests/qemu-iotests/050
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/052
/openbmc/qemu/tests/qemu-iotests/053
/openbmc/qemu/tests/qemu-iotests/054
/openbmc/qemu/tests/qemu-iotests/062
/openbmc/qemu/tests/qemu-iotests/063
/openbmc/qemu/tests/qemu-iotests/066
/openbmc/qemu/tests/qemu-iotests/067
/openbmc/qemu/tests/qemu-iotests/068
/openbmc/qemu/tests/qemu-iotests/069
/openbmc/qemu/tests/qemu-iotests/071
/openbmc/qemu/tests/qemu-iotests/072
/openbmc/qemu/tests/qemu-iotests/073
/openbmc/qemu/tests/qemu-iotests/079
/openbmc/qemu/tests/qemu-iotests/082
/openbmc/qemu/tests/qemu-iotests/085
/openbmc/qemu/tests/qemu-iotests/089
/openbmc/qemu/tests/qemu-iotests/090
/openbmc/qemu/tests/qemu-iotests/094
/openbmc/qemu/tests/qemu-iotests/095
/openbmc/qemu/tests/qemu-iotests/098
/openbmc/qemu/tests/qemu-iotests/102
/openbmc/qemu/tests/qemu-iotests/103
/openbmc/qemu/tests/qemu-iotests/104
/openbmc/qemu/tests/qemu-iotests/105
/openbmc/qemu/tests/qemu-iotests/107
/openbmc/qemu/tests/qemu-iotests/110
/openbmc/qemu/tests/qemu-iotests/111
/openbmc/qemu/tests/qemu-iotests/112
/openbmc/qemu/tests/qemu-iotests/114
/openbmc/qemu/tests/qemu-iotests/115
/openbmc/qemu/tests/qemu-iotests/117
/openbmc/qemu/tests/qemu-iotests/120
/openbmc/qemu/tests/qemu-iotests/125
/openbmc/qemu/tests/qemu-iotests/126
/openbmc/qemu/tests/qemu-iotests/127
/openbmc/qemu/tests/qemu-iotests/133
/openbmc/qemu/tests/qemu-iotests/134
/openbmc/qemu/tests/qemu-iotests/142
/openbmc/qemu/tests/qemu-iotests/143
/openbmc/qemu/tests/qemu-iotests/144
/openbmc/qemu/tests/qemu-iotests/145
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/156
/openbmc/qemu/tests/qemu-iotests/157
/openbmc/qemu/tests/qemu-iotests/158
/openbmc/qemu/tests/qemu-iotests/159
/openbmc/qemu/tests/qemu-iotests/162
/openbmc/qemu/tests/qemu-iotests/169
/openbmc/qemu/tests/qemu-iotests/170
/openbmc/qemu/tests/qemu-iotests/173
/openbmc/qemu/tests/qemu-iotests/182
/openbmc/qemu/tests/qemu-iotests/183
/openbmc/qemu/tests/qemu-iotests/186
/openbmc/qemu/tests/qemu-iotests/187
/openbmc/qemu/tests/qemu-iotests/190
/openbmc/qemu/tests/qemu-iotests/191
/openbmc/qemu/tests/qemu-iotests/192
/openbmc/qemu/tests/qemu-iotests/195
/openbmc/qemu/tests/qemu-iotests/197
/openbmc/qemu/tests/qemu-iotests/200
/openbmc/qemu/tests/qemu-iotests/214
/openbmc/qemu/tests/qemu-iotests/215
/openbmc/qemu/tests/qemu-iotests/217
/openbmc/qemu/tests/qemu-iotests/221
/openbmc/qemu/tests/qemu-iotests/227
/openbmc/qemu/tests/qemu-iotests/231
/openbmc/qemu/tests/qemu-iotests/233
/openbmc/qemu/tests/qemu-iotests/239
/openbmc/qemu/tests/qemu-iotests/240
/openbmc/qemu/tests/qemu-iotests/241
/openbmc/qemu/tests/qemu-iotests/243
/openbmc/qemu/tests/qemu-iotests/244
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/245.out
/openbmc/qemu/tests/qemu-iotests/247
/openbmc/qemu/tests/qemu-iotests/253
/openbmc/qemu/tests/qemu-iotests/253.out
/openbmc/qemu/tests/qemu-iotests/check
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qom-test.c
/openbmc/qemu/tests/tcg/xtensa/test_exclusive.S
/openbmc/qemu/tests/test-block-iothread.c
/openbmc/qemu/tests/vhost-user-bridge.c
/openbmc/qemu/tests/vmgenid-test.c
/openbmc/qemu/ui/console-gl.c
/openbmc/qemu/ui/curses.c
/openbmc/qemu/ui/kbd-state.c
/openbmc/qemu/ui/vnc.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/guest-random.c
/openbmc/qemu/vl.c
d827657316-May-2019 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190510' into staging

Add CPUClass::tlb_fill.
Improve tlb_vaddr_to_host for use by ARM SVE no-fault loads.

# gpg: Signature made Fri 10 May

Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190510' into staging

Add CPUClass::tlb_fill.
Improve tlb_vaddr_to_host for use by ARM SVE no-fault loads.

# gpg: Signature made Fri 10 May 2019 19:48:37 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

* remotes/rth/tags/pull-tcg-20190510: (27 commits)
tcg: Use tlb_fill probe from tlb_vaddr_to_host
tcg: Remove CPUClass::handle_mmu_fault
tcg: Use CPUClass::tlb_fill in cputlb.c
target/xtensa: Convert to CPUClass::tlb_fill
target/unicore32: Convert to CPUClass::tlb_fill
target/tricore: Convert to CPUClass::tlb_fill
target/tilegx: Convert to CPUClass::tlb_fill
target/sparc: Convert to CPUClass::tlb_fill
target/sh4: Convert to CPUClass::tlb_fill
target/s390x: Convert to CPUClass::tlb_fill
target/riscv: Convert to CPUClass::tlb_fill
target/ppc: Convert to CPUClass::tlb_fill
target/openrisc: Convert to CPUClass::tlb_fill
target/nios2: Convert to CPUClass::tlb_fill
target/moxie: Convert to CPUClass::tlb_fill
target/mips: Convert to CPUClass::tlb_fill
target/mips: Tidy control flow in mips_cpu_handle_mmu_fault
target/mips: Pass a valid error to raise_mmu_exception for user-only
target/microblaze: Convert to CPUClass::tlb_fill
target/m68k: Convert to CPUClass::tlb_fill
...

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

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/tcg-runtime-gvec.c
/openbmc/qemu/accel/tcg/tcg-runtime.h
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/backends/Makefile.objs
/openbmc/qemu/backends/vhost-user.c
/openbmc/qemu/block.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.c
/openbmc/qemu/default-configs/aarch64-softmmu.mak
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/docs/devel/kconfig.rst
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/Makefile.objs
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/i2c/Kconfig
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/ide/Kconfig
/openbmc/qemu/hw/ide/Makefile.objs
/openbmc/qemu/hw/ide/ahci_internal.h
/openbmc/qemu/hw/input/Kconfig
/openbmc/qemu/hw/input/Makefile.objs
/openbmc/qemu/hw/input/vhost-user-input.c
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/pci/pci-stub.c
/openbmc/qemu/hw/timer/m48t59-internal.h
/openbmc/qemu/hw/virtio/Makefile.objs
/openbmc/qemu/hw/virtio/vhost-user-input-pci.c
/openbmc/qemu/hw/virtio/virtio-input-host-pci.c
/openbmc/qemu/include/block/aio-wait.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/disas/capstone.h
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/translator.h
/openbmc/qemu/include/hw/arm/nrf51_soc.h
/openbmc/qemu/include/hw/arm/smmu-common.h
/openbmc/qemu/include/hw/misc/imx2_wdt.h
/openbmc/qemu/include/hw/misc/nrf51_rng.h
/openbmc/qemu/include/hw/pci-host/designware.h
/openbmc/qemu/include/hw/riscv/sifive_plic.h
/openbmc/qemu/include/hw/scsi/emulation.h
/openbmc/qemu/include/hw/virtio/virtio-input.h
/openbmc/qemu/include/migration/colo.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qemu/pmem.h
/openbmc/qemu/include/qemu/stats64.h
/openbmc/qemu/include/qemu/sys_membarrier.h
/openbmc/qemu/include/qemu/systemd.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/scsi/utils.h
/openbmc/qemu/include/sysemu/vhost-user-backend.h
/openbmc/qemu/include/ui/kbd-state.h
/openbmc/qemu/job.c
/openbmc/qemu/migration/colo-failover.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/monitor.c
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scsi/pr-helper.h
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/alpha/mem_helper.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/neon_helper.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/arm/sve_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/cris/helper.c
/openbmc/qemu/target/cris/op_helper.c
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/excp_helper.c
/openbmc/qemu/target/i386/hvf/x86.h
/openbmc/qemu/target/i386/hvf/x86_decode.h
/openbmc/qemu/target/i386/hvf/x86_descr.h
/openbmc/qemu/target/i386/mem_helper.c
/openbmc/qemu/target/lm32/cpu.c
/openbmc/qemu/target/lm32/cpu.h
/openbmc/qemu/target/lm32/helper.c
/openbmc/qemu/target/lm32/op_helper.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/helper.c
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/mips/cpu.c
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/internal.h
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/moxie/cpu.c
/openbmc/qemu/target/moxie/cpu.h
/openbmc/qemu/target/moxie/helper.c
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/helper.c
/openbmc/qemu/target/nios2/mmu.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/mmu.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/spe-impl.inc.c
/openbmc/qemu/target/ppc/translate/vmx-impl.inc.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/ppc/user_only_helper.c
cpu.c
cpu.h
cpu_helper.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/excp_helper.c
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/s390x/mem_helper.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/target/sparc/mmu_helper.c
/openbmc/qemu/target/tilegx/cpu.c
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/tricore/helper.c
/openbmc/qemu/target/tricore/op_helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/unicore32/cpu.c
/openbmc/qemu/target/unicore32/cpu.h
/openbmc/qemu/target/unicore32/helper.c
/openbmc/qemu/target/unicore32/op_helper.c
/openbmc/qemu/target/unicore32/softmmu.c
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/target/xtensa/xtensa-isa-internal.h
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/aarch64/tcg-target.opc.h
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/riscv/tcg-target.inc.c
/openbmc/qemu/tcg/s390/tcg-target.inc.c
/openbmc/qemu/tcg/sparc/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op-gvec.h
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tcg/tci/tcg-target.inc.c
/openbmc/qemu/tests/acpi-utils.h
/openbmc/qemu/tests/qemu-iotests/192
/openbmc/qemu/tests/qemu-iotests/252
/openbmc/qemu/tests/qemu-iotests/252.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/test-block-iothread.c
/openbmc/qemu/tests/tpm-emu.h
/openbmc/qemu/util/qemu-sockets.c
a8b991b515-Mar-2019 Markus Armbruster <armbru@redhat.com>

Clean up ill-advised or unusual header guards

Leading underscores are ill-advised because such identifiers are
reserved. Trailing underscores are merely ugly. Strip both.

Our header guards common

Clean up ill-advised or unusual header guards

Leading underscores are ill-advised because such identifiers are
reserved. Trailing underscores are merely ugly. Strip both.

Our header guards commonly end in _H. Normalize the exceptions.

Done with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190315145123.28030-7-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[Changes to slirp/ dropped, as we're about to spin it off]

show more ...


/openbmc/qemu/CODING_STYLE
/openbmc/qemu/Makefile
/openbmc/qemu/authz/base.c
/openbmc/qemu/authz/list.c
/openbmc/qemu/authz/listfile.c
/openbmc/qemu/authz/pamacct.c
/openbmc/qemu/authz/simple.c
/openbmc/qemu/block.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/crypto.h
/openbmc/qemu/block/io.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/elf2dmp/main.c
/openbmc/qemu/contrib/elf2dmp/pdb.c
/openbmc/qemu/contrib/elf2dmp/qemu_elf.h
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/contrib/rdmacm-mux/main.c
/openbmc/qemu/contrib/rdmacm-mux/rdmacm-mux.h
/openbmc/qemu/disas/nanomips.h
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/secure-coding-practices.rst
/openbmc/qemu/docs/security.texi
/openbmc/qemu/fsdev/qemu-fsdev-throttle.h
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/smmuv3-internal.h
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/ati_2d.c
/openbmc/qemu/hw/display/ati_dbg.c
/openbmc/qemu/hw/display/ati_int.h
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/i2c-ddc.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/sii9022.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/vga_regs.h
/openbmc/qemu/hw/i2c/Kconfig
/openbmc/qemu/hw/i2c/Makefile.objs
/openbmc/qemu/hw/i2c/smbus_ich9.c
/openbmc/qemu/hw/i386/amd_iommu.h
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/openrisc/cputimer.c
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/openrisc/pic_cpu.c
/openbmc/qemu/hw/rdma/rdma_backend.c
/openbmc/qemu/hw/rdma/rdma_backend.h
/openbmc/qemu/hw/rdma/rdma_backend_defs.h
/openbmc/qemu/hw/rdma/rdma_rm.c
/openbmc/qemu/hw/rdma/rdma_rm.h
/openbmc/qemu/hw/rdma/rdma_rm_defs.h
/openbmc/qemu/hw/rdma/rdma_utils.h
/openbmc/qemu/hw/rdma/vmw/pvrdma_cmd.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.h
/openbmc/qemu/hw/sd/sdmmc-internal.h
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/tpm/tpm_ioctl.h
/openbmc/qemu/hw/xtensa/xtensa_memory.h
/openbmc/qemu/include/authz/base.h
/openbmc/qemu/include/authz/list.h
/openbmc/qemu/include/authz/listfile.h
/openbmc/qemu/include/authz/pamacct.h
/openbmc/qemu/include/authz/simple.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/chardev/spice.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/audio/soundhw.h
/openbmc/qemu/include/hw/block/flash.h
/openbmc/qemu/include/hw/cpu/cluster.h
/openbmc/qemu/include/hw/display/i2c-ddc.h
/openbmc/qemu/include/hw/display/xlnx_dp.h
/openbmc/qemu/include/hw/i386/x86-iommu.h
/openbmc/qemu/include/hw/intc/heathrow_pic.h
/openbmc/qemu/include/hw/intc/xlnx-pmu-iomod-intc.h
/openbmc/qemu/include/hw/misc/armsse-mhu.h
/openbmc/qemu/include/hw/net/ne2000-isa.h
/openbmc/qemu/include/hw/pci-host/sabre.h
/openbmc/qemu/include/hw/ppc/pnv.h
/openbmc/qemu/include/hw/ppc/pnv_core.h
/openbmc/qemu/include/hw/ppc/pnv_lpc.h
/openbmc/qemu/include/hw/ppc/pnv_occ.h
/openbmc/qemu/include/hw/ppc/pnv_psi.h
/openbmc/qemu/include/hw/ppc/pnv_xscom.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/timer/pl031.h
/openbmc/qemu/include/hw/virtio/vhost-vsock.h
/openbmc/qemu/include/hw/virtio/virtio-crypto.h
/openbmc/qemu/include/hw/watchdog/wdt_aspeed.h
/openbmc/qemu/include/hw/xen/start_info.h
/openbmc/qemu/include/hw/xen/xen-legacy-backend.h
/openbmc/qemu/include/hw/xtensa/mx_pic.h
/openbmc/qemu/include/hw/xtensa/xtensa-isa.h
/openbmc/qemu/include/migration/qemu-file-types.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/drm.h
/openbmc/qemu/include/qemu/filemonitor.h
/openbmc/qemu/include/qemu/jhash.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/scsi/constants.h
/openbmc/qemu/include/sysemu/hvf.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/ioctls.h
/openbmc/qemu/linux-user/nios2/target_cpu.h
/openbmc/qemu/linux-user/nios2/target_signal.h
/openbmc/qemu/linux-user/nios2/target_structs.h
/openbmc/qemu/linux-user/nios2/target_syscall.h
/openbmc/qemu/linux-user/openrisc/target_cpu.h
/openbmc/qemu/linux-user/openrisc/target_structs.h
/openbmc/qemu/linux-user/riscv/target_cpu.h
/openbmc/qemu/linux-user/riscv/target_signal.h
/openbmc/qemu/linux-user/riscv/target_structs.h
/openbmc/qemu/linux-user/sh4/target_cpu.h
/openbmc/qemu/linux-user/sh4/target_structs.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/uname.c
/openbmc/qemu/linux-user/xtensa/syscall_nr.h
/openbmc/qemu/linux-user/xtensa/target_structs.h
/openbmc/qemu/linux-user/xtensa/termbits.h
/openbmc/qemu/net/colo.h
/openbmc/qemu/net/net.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-ga.texi
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/vss-win32/vss-handles.h
/openbmc/qemu/qom/object.c
/openbmc/qemu/scripts/cocci-macro-file.h
/openbmc/qemu/slirp
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/i386/hax-i386.h
/openbmc/qemu/target/i386/hax-interface.h
/openbmc/qemu/target/i386/hax-posix.h
/openbmc/qemu/target/i386/hvf/hvf-i386.h
/openbmc/qemu/target/i386/hvf/vmcs.h
/openbmc/qemu/target/i386/hvf/x86_emu.h
/openbmc/qemu/target/i386/hvf/x86_flags.h
/openbmc/qemu/target/i386/hvf/x86_mmu.h
/openbmc/qemu/target/i386/hvf/x86_task.h
/openbmc/qemu/target/i386/whp-dispatch.h
/openbmc/qemu/target/i386/whpx-all.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/mmu.h
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/exception.c
/openbmc/qemu/target/openrisc/exception_helper.c
/openbmc/qemu/target/openrisc/fpu_helper.c
/openbmc/qemu/target/openrisc/insns.decode
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/machine.c
/openbmc/qemu/target/openrisc/mmu.c
/openbmc/qemu/target/ppc/mmu-book3s-v3.h
pmp.h
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/gdbstub.c
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/asi.h
/openbmc/qemu/target/xtensa/core-de212/core-isa.h
/openbmc/qemu/target/xtensa/core-sample_controller/core-isa.h
/openbmc/qemu/target/xtensa/core-test_kc705_be/core-isa.h
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/core-isa.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/drive_del-test.c
/openbmc/qemu/tests/e1000e-test.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/libqos/e1000e.h
/openbmc/qemu/tests/libqos/pci-pc.c
/openbmc/qemu/tests/libqos/pci.h
/openbmc/qemu/tests/libqos/qgraph.h
/openbmc/qemu/tests/libqos/qgraph_internal.h
/openbmc/qemu/tests/libqos/sdhci.h
/openbmc/qemu/tests/megasas-test.c
/openbmc/qemu/tests/migration/migration-test.h
/openbmc/qemu/tests/qemu-iotests/059.out
/openbmc/qemu/tests/qemu-iotests/083.out
/openbmc/qemu/tests/qemu-iotests/092.out
/openbmc/qemu/tests/qemu-iotests/110
/openbmc/qemu/tests/qemu-iotests/126
/openbmc/qemu/tests/qemu-iotests/138
/openbmc/qemu/tests/qemu-iotests/138.out
/openbmc/qemu/tests/qemu-iotests/182
/openbmc/qemu/tests/qemu-iotests/182.out
/openbmc/qemu/tests/qemu-iotests/207
/openbmc/qemu/tests/qemu-iotests/207.out
/openbmc/qemu/tests/qemu-iotests/221
/openbmc/qemu/tests/qemu-iotests/221.out
/openbmc/qemu/tests/qemu-iotests/233
/openbmc/qemu/tests/qemu-iotests/233.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qmp-cmd-test.c
/openbmc/qemu/tests/qos-test.c
/openbmc/qemu/tests/tco-test.c
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/tpm-tests.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-net-test.c
/openbmc/qemu/tests/virtio-rng-test.c
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/cacheinfo.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/util/readline.c
/openbmc/qemu/vl.c
c319dc1302-Apr-2019 Richard Henderson <richard.henderson@linaro.org>

tcg: Use CPUClass::tlb_fill in cputlb.c

We can now use the CPUClass hook instead of a named function.

Create a static tlb_fill function to avoid other changes within
cputlb.c. This also isolates t

tcg: Use CPUClass::tlb_fill in cputlb.c

We can now use the CPUClass hook instead of a named function.

Create a static tlb_fill function to avoid other changes within
cputlb.c. This also isolates the asserts within. Remove the
named tlb_fill function from all of the targets.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

8a4ca3c102-Apr-2019 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Convert to CPUClass::tlb_fill

Note that env->pc is removed from the qemu_log as that value is garbage.
The PC isn't recovered until cpu_restore_state, called from
cpu_loop_exit_restore

target/riscv: Convert to CPUClass::tlb_fill

Note that env->pc is removed from the qemu_log as that value is garbage.
The PC isn't recovered until cpu_restore_state, called from
cpu_loop_exit_restore, called from riscv_raise_exception.

Cc: qemu-riscv@nongnu.org
Cc: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/openbmc/qemu/CODING_STYLE
/openbmc/qemu/Makefile
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/block.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/libvhost-user/libvhost-user.h
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/secure-coding-practices.rst
/openbmc/qemu/docs/security.texi
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/raspi.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/Makefile.objs
/openbmc/qemu/hw/display/ati_2d.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/i2c-ddc.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/sii9022.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/i2c/Kconfig
/openbmc/qemu/hw/i2c/Makefile.objs
/openbmc/qemu/hw/i2c/smbus_ich9.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/openrisc/cputimer.c
/openbmc/qemu/hw/openrisc/openrisc_sim.c
/openbmc/qemu/hw/openrisc/pic_cpu.c
/openbmc/qemu/hw/rdma/rdma_backend.c
/openbmc/qemu/hw/rdma/rdma_backend.h
/openbmc/qemu/hw/rdma/rdma_backend_defs.h
/openbmc/qemu/hw/rdma/rdma_rm.c
/openbmc/qemu/hw/rdma/rdma_rm.h
/openbmc/qemu/hw/rdma/rdma_rm_defs.h
/openbmc/qemu/hw/rdma/vmw/pvrdma_cmd.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_main.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.c
/openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.h
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/block/flash.h
/openbmc/qemu/include/hw/display/i2c-ddc.h
/openbmc/qemu/include/hw/display/xlnx_dp.h
/openbmc/qemu/include/qemu/compiler.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/ioctls.h
/openbmc/qemu/linux-user/openrisc/target_cpu.h
/openbmc/qemu/linux-user/openrisc/target_structs.h
/openbmc/qemu/linux-user/sh4/target_cpu.h
/openbmc/qemu/linux-user/sh4/target_structs.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/uname.c
/openbmc/qemu/net/net.c
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-ga.texi
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qom/object.c
/openbmc/qemu/scripts/cocci-macro-file.h
/openbmc/qemu/slirp
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/alpha/mem_helper.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/op_helper.c
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/cris/helper.c
/openbmc/qemu/target/cris/op_helper.c
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/excp_helper.c
/openbmc/qemu/target/i386/mem_helper.c
/openbmc/qemu/target/lm32/cpu.c
/openbmc/qemu/target/lm32/cpu.h
/openbmc/qemu/target/lm32/helper.c
/openbmc/qemu/target/lm32/op_helper.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/helper.c
/openbmc/qemu/target/microblaze/op_helper.c
/openbmc/qemu/target/mips/cpu.c
/openbmc/qemu/target/mips/helper.c
/openbmc/qemu/target/mips/internal.h
/openbmc/qemu/target/mips/op_helper.c
/openbmc/qemu/target/moxie/cpu.c
/openbmc/qemu/target/moxie/cpu.h
/openbmc/qemu/target/moxie/helper.c
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/helper.c
/openbmc/qemu/target/nios2/mmu.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/exception.c
/openbmc/qemu/target/openrisc/exception_helper.c
/openbmc/qemu/target/openrisc/fpu_helper.c
/openbmc/qemu/target/openrisc/insns.decode
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/machine.c
/openbmc/qemu/target/openrisc/mmu.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/target/ppc/user_only_helper.c
cpu.c
cpu.h
cpu_helper.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/gdbstub.c
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/drive_del-test.c
/openbmc/qemu/tests/e1000e-test.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/libqos/pci-pc.c
/openbmc/qemu/tests/libqos/pci.h
/openbmc/qemu/tests/megasas-test.c
/openbmc/qemu/tests/qemu-iotests/059.out
/openbmc/qemu/tests/qemu-iotests/083.out
/openbmc/qemu/tests/qemu-iotests/092.out
/openbmc/qemu/tests/qemu-iotests/110
/openbmc/qemu/tests/qemu-iotests/126
/openbmc/qemu/tests/qemu-iotests/138
/openbmc/qemu/tests/qemu-iotests/138.out
/openbmc/qemu/tests/qemu-iotests/182
/openbmc/qemu/tests/qemu-iotests/182.out
/openbmc/qemu/tests/qemu-iotests/207
/openbmc/qemu/tests/qemu-iotests/207.out
/openbmc/qemu/tests/qemu-iotests/221
/openbmc/qemu/tests/qemu-iotests/221.out
/openbmc/qemu/tests/qemu-iotests/233
/openbmc/qemu/tests/qemu-iotests/233.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qmp-cmd-test.c
/openbmc/qemu/tests/tco-test.c
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/tpm-tests.c
/openbmc/qemu/tests/virtio-blk-test.c
/openbmc/qemu/tests/virtio-net-test.c
/openbmc/qemu/tests/virtio-rng-test.c
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/cacheinfo.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/util/readline.c
/openbmc/qemu/vl.c
451e4ffd20-Mar-2019 Richard Henderson <richard.henderson@linaro.org>

decodetree: Add DisasContext argument to !function expanders

This does require adjusting all existing users.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


/openbmc/qemu/.gitlab-ci.yml
/openbmc/qemu/.gitmodules
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/Makefile.objs
/openbmc/qemu/accel/accel.c
/openbmc/qemu/accel/qtest.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed-check.c
/openbmc/qemu/block/qed-table.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/qed.h
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vhdx.h
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/configure
/openbmc/qemu/default-configs/nios2-softmmu.mak
/openbmc/qemu/docs/devel/s390-dasd-ipl.txt
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/interop/bitmaps.rst
/openbmc/qemu/docs/nvdimm.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/exynos4_boards.c
/openbmc/qemu/hw/arm/gumstix.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/kzm.c
/openbmc/qemu/hw/arm/mainstone.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/nseries.c
/openbmc/qemu/hw/arm/palm.c
/openbmc/qemu/hw/arm/realview.c
/openbmc/qemu/hw/arm/smmu-common.c
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/tosa.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/blizzard.c
/openbmc/qemu/hw/display/tc6393xb.c
/openbmc/qemu/hw/dma/Makefile.objs
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/input/stellaris_input.c
/openbmc/qemu/hw/input/tsc2005.c
/openbmc/qemu/hw/input/tsc210x.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/misc/cbus.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/smc91c111.c
/openbmc/qemu/hw/nios2/Kconfig
/openbmc/qemu/hw/nios2/Makefile.objs
/openbmc/qemu/hw/nios2/boot.c
/openbmc/qemu/hw/nios2/generic_nommu.c
/openbmc/qemu/hw/pci-host/designware.c
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_pci_nvlink2.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-ccw.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/sh4/Kconfig
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/usb/Kconfig
/openbmc/qemu/hw/usb/Makefile.objs
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/hcd-ohci-pci.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-ohci.h
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/arm/omap.h
/openbmc/qemu/include/hw/arm/smmu-common.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/display/blizzard.h
/openbmc/qemu/include/hw/display/tc6393xb.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/input/gamepad.h
/openbmc/qemu/include/hw/input/tsc2xxx.h
/openbmc/qemu/include/hw/misc/cbus.h
/openbmc/qemu/include/hw/net/lan9118.h
/openbmc/qemu/include/hw/net/ne2000-isa.h
/openbmc/qemu/include/hw/net/smc91c111.h
/openbmc/qemu/include/hw/pci-host/spapr.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/s390x/s390-ccw.h
/openbmc/qemu/include/hw/s390x/vfio-ccw.h
/openbmc/qemu/include/qemu/mmap-alloc.h
/openbmc/qemu/include/qemu/typedefs.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/accel.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/qtest.h
/openbmc/qemu/linux-headers/asm-arm/mman.h
/openbmc/qemu/linux-headers/asm-arm64/mman.h
/openbmc/qemu/linux-headers/asm-generic/hugetlb_encode.h
/openbmc/qemu/linux-headers/asm-generic/mman-common.h
/openbmc/qemu/linux-headers/asm-generic/mman.h
/openbmc/qemu/linux-headers/asm-mips/mman.h
/openbmc/qemu/linux-headers/asm-powerpc/mman.h
/openbmc/qemu/linux-headers/asm-s390/mman.h
/openbmc/qemu/linux-headers/asm-x86/mman.h
/openbmc/qemu/linux-headers/linux/mman.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/monitor.c
/openbmc/qemu/pc-bios/s390-ccw.img
/openbmc/qemu/pc-bios/s390-ccw/Makefile
/openbmc/qemu/pc-bios/s390-ccw/cio.c
/openbmc/qemu/pc-bios/s390-ccw/cio.h
/openbmc/qemu/pc-bios/s390-ccw/dasd-ipl.c
/openbmc/qemu/pc-bios/s390-ccw/dasd-ipl.h
/openbmc/qemu/pc-bios/s390-ccw/helper.h
/openbmc/qemu/pc-bios/s390-ccw/libc.h
/openbmc/qemu/pc-bios/s390-ccw/main.c
/openbmc/qemu/pc-bios/s390-ccw/netboot.mak
/openbmc/qemu/pc-bios/s390-ccw/netmain.c
/openbmc/qemu/pc-bios/s390-ccw/s390-arch.h
/openbmc/qemu/pc-bios/s390-ccw/s390-ccw.h
/openbmc/qemu/pc-bios/s390-ccw/start.S
/openbmc/qemu/pc-bios/s390-ccw/virtio.c
/openbmc/qemu/pc-bios/s390-netboot.img
/openbmc/qemu/python/qemu/__init__.py
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qtest.c
/openbmc/qemu/scripts/archive-source.sh
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/update-linux-headers.sh
/openbmc/qemu/slirp
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/arm/vfp_helper.c
/openbmc/qemu/target/hppa/insns.decode
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/nios2/Makefile.objs
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/helper.c
/openbmc/qemu/target/nios2/nios2-semi.c
/openbmc/qemu/target/ppc/cpu-models.c
/openbmc/qemu/target/ppc/cpu-models.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/dfp_helper.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/gdbstub.c
/openbmc/qemu/target/ppc/helper_regs.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/mem_helper.c
/openbmc/qemu/target/ppc/mfrom_table.inc.c
/openbmc/qemu/target/ppc/mfrom_table_gen.c
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/mmu-hash32.c
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/monitor.c
/openbmc/qemu/target/ppc/trace-events
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/fp-impl.inc.c
/openbmc/qemu/target/ppc/translate/spe-impl.inc.c
/openbmc/qemu/target/ppc/translate/vmx-impl.inc.c
/openbmc/qemu/target/ppc/translate/vsx-impl.inc.c
/openbmc/qemu/target/ppc/translate_init.inc.c
insn_trans/trans_rvc.inc.c
translate.c
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/kvm-stub.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/kvm_s390x.h
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/mips/tcg-target.inc.c
/openbmc/qemu/tcg/ppc/tcg-target.inc.c
/openbmc/qemu/tcg/riscv/tcg-target.inc.c
/openbmc/qemu/tcg/s390/tcg-target.inc.c
/openbmc/qemu/tcg/tcg-ldst.inc.c
/openbmc/qemu/tcg/tcg-pool.inc.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/empty_cpu_model.py
/openbmc/qemu/tests/acceptance/linux_initrd.py
/openbmc/qemu/tests/acceptance/virtio_version.py
/openbmc/qemu/tests/boot-serial-test.c
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.arm.iso.qcow2
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.i386.iso.qcow2
/openbmc/qemu/tests/data/uefi-boot-images/bios-tables-test.x86_64.iso.qcow2
/openbmc/qemu/tests/qemu-iotests/026.out
/openbmc/qemu/tests/qemu-iotests/043.out
/openbmc/qemu/tests/qemu-iotests/053.out
/openbmc/qemu/tests/qemu-iotests/059.out
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/061.out
/openbmc/qemu/tests/qemu-iotests/069.out
/openbmc/qemu/tests/qemu-iotests/070.out
/openbmc/qemu/tests/qemu-iotests/075.out
/openbmc/qemu/tests/qemu-iotests/076.out
/openbmc/qemu/tests/qemu-iotests/078.out
/openbmc/qemu/tests/qemu-iotests/080.out
/openbmc/qemu/tests/qemu-iotests/081.out
/openbmc/qemu/tests/qemu-iotests/082
/openbmc/qemu/tests/qemu-iotests/082.out
/openbmc/qemu/tests/qemu-iotests/084.out
/openbmc/qemu/tests/qemu-iotests/088.out
/openbmc/qemu/tests/qemu-iotests/089.out
/openbmc/qemu/tests/qemu-iotests/095.out
/openbmc/qemu/tests/qemu-iotests/103.out
/openbmc/qemu/tests/qemu-iotests/104.out
/openbmc/qemu/tests/qemu-iotests/110.out
/openbmc/qemu/tests/qemu-iotests/114.out
/openbmc/qemu/tests/qemu-iotests/116.out
/openbmc/qemu/tests/qemu-iotests/126.out
/openbmc/qemu/tests/qemu-iotests/130.out
/openbmc/qemu/tests/qemu-iotests/131.out
/openbmc/qemu/tests/qemu-iotests/133.out
/openbmc/qemu/tests/qemu-iotests/137.out
/openbmc/qemu/tests/qemu-iotests/140.out
/openbmc/qemu/tests/qemu-iotests/143.out
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/187.out
/openbmc/qemu/tests/qemu-iotests/188.out
/openbmc/qemu/tests/qemu-iotests/191.out
/openbmc/qemu/tests/qemu-iotests/195.out
/openbmc/qemu/tests/qemu-iotests/197.out
/openbmc/qemu/tests/qemu-iotests/198.out
/openbmc/qemu/tests/qemu-iotests/205
/openbmc/qemu/tests/qemu-iotests/206.out
/openbmc/qemu/tests/qemu-iotests/207.out
/openbmc/qemu/tests/qemu-iotests/210.out
/openbmc/qemu/tests/qemu-iotests/211.out
/openbmc/qemu/tests/qemu-iotests/212.out
/openbmc/qemu/tests/qemu-iotests/213.out
/openbmc/qemu/tests/qemu-iotests/215.out
/openbmc/qemu/tests/qemu-iotests/226.out
/openbmc/qemu/tests/qemu-iotests/233.out
/openbmc/qemu/tests/qemu-iotests/237.out
/openbmc/qemu/tests/qemu-iotests/242.out
/openbmc/qemu/tests/qemu-iotests/244.out
/openbmc/qemu/tests/qemu-iotests/249
/openbmc/qemu/tests/qemu-iotests/249.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.c
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.inf
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/mmap-alloc.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/vl.c
8b86d6d216-Apr-2019 Richard Henderson <richard.henderson@linaro.org>

tcg: Hoist max_insns computation to tb_gen_code

In order to handle TB's that translate to too much code, we
need to place the control of the length of the translation
in the hands of the code gen ma

tcg: Hoist max_insns computation to tb_gen_code

In order to handle TB's that translate to too much code, we
need to place the control of the length of the translation
in the hands of the code gen master loop.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/VERSION
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translator.c
/openbmc/qemu/configure
/openbmc/qemu/disas.c
/openbmc/qemu/disas/alpha.c
/openbmc/qemu/disas/arm-a64.cc
/openbmc/qemu/disas/arm.c
/openbmc/qemu/disas/cris.c
/openbmc/qemu/disas/hppa.c
/openbmc/qemu/disas/i386.c
/openbmc/qemu/disas/lm32.c
/openbmc/qemu/disas/m68k.c
/openbmc/qemu/disas/microblaze.c
/openbmc/qemu/disas/mips.c
/openbmc/qemu/disas/moxie.c
/openbmc/qemu/disas/nanomips.cpp
/openbmc/qemu/disas/nios2.c
/openbmc/qemu/disas/ppc.c
/openbmc/qemu/disas/riscv.c
/openbmc/qemu/disas/s390.c
/openbmc/qemu/disas/sh4.c
/openbmc/qemu/disas/sparc.c
/openbmc/qemu/disas/tci.c
/openbmc/qemu/disas/xtensa.c
/openbmc/qemu/include/disas/dis-asm.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/translator.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/monitor.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/descriptors/50-edk2-i386-secure.json
/openbmc/qemu/pc-bios/descriptors/50-edk2-x86_64-secure.json
/openbmc/qemu/pc-bios/descriptors/60-edk2-aarch64.json
/openbmc/qemu/pc-bios/descriptors/60-edk2-arm.json
/openbmc/qemu/pc-bios/descriptors/60-edk2-i386.json
/openbmc/qemu/pc-bios/descriptors/60-edk2-x86_64.json
/openbmc/qemu/pc-bios/edk2-aarch64-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-arm-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-arm-vars.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-i386-vars.fd.bz2
/openbmc/qemu/pc-bios/edk2-licenses.txt
/openbmc/qemu/pc-bios/edk2-x86_64-code.fd.bz2
/openbmc/qemu/pc-bios/edk2-x86_64-secure-code.fd.bz2
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/Makefile.edk2
/openbmc/qemu/roms/edk2
/openbmc/qemu/roms/edk2-build.sh
/openbmc/qemu/roms/edk2-funcs.sh
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/lm32/translate.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/moxie/translate.c
/openbmc/qemu/target/nios2/translate.c
/openbmc/qemu/target/openrisc/disas.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.inc.c
translate.c
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/target/tilegx/translate.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/unicore32/translate.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/README
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tcg/arm/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/mips/tcg-target.h
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/riscv/tcg-target.h
/openbmc/qemu/tcg/s390/tcg-target.h
/openbmc/qemu/tcg/sparc/tcg-target.h
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg-op.h
/openbmc/qemu/tcg/tcg-opc.h
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tcg/tci/tcg-target.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/uefi-test-tools/build.sh
90c84c5617-Apr-2019 Markus Armbruster <armbru@redhat.com>

qom/cpu: Simplify how CPUClass:cpu_dump_state() prints

CPUClass method dump_statistics() takes an fprintf()-like callback and
a FILE * to pass to it. Most callers pass fprintf() and stderr.
log_cpu

qom/cpu: Simplify how CPUClass:cpu_dump_state() prints

CPUClass method dump_statistics() takes an fprintf()-like callback and
a FILE * to pass to it. Most callers pass fprintf() and stderr.
log_cpu_state() passes fprintf() and qemu_log_file.
hmp_info_registers() passes monitor_fprintf() and the current monitor
cast to FILE *. monitor_fprintf() casts it right back, and is
otherwise identical to monitor_printf().

The callback gets passed around a lot, which is tiresome. The
type-punning around monitor_fprintf() is ugly.

Drop the callback, and call qemu_fprintf() instead. Also gets rid of
the type-punning, since qemu_fprintf() takes NULL instead of the
current monitor cast to FILE *.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190417191805.28198-15-armbru@redhat.com>

show more ...


/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/cpus.c
/openbmc/qemu/exec.c
/openbmc/qemu/include/exec/log.h
/openbmc/qemu/include/qemu/qemu-print.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/linux-user/alpha/cpu_loop.c
/openbmc/qemu/linux-user/cpu_loop-common.h
/openbmc/qemu/linux-user/cris/cpu_loop.c
/openbmc/qemu/linux-user/microblaze/cpu_loop.c
/openbmc/qemu/linux-user/s390x/cpu_loop.c
/openbmc/qemu/linux-user/sh4/cpu_loop.c
/openbmc/qemu/linux-user/sparc/cpu_loop.c
/openbmc/qemu/monitor.c
/openbmc/qemu/qom/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/arm/arm-semi.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/cris/helper.c
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/helper.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hax-all.c
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/lm32/cpu.h
/openbmc/qemu/target/lm32/translate.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/m68k/monitor.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/helper.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/internal.h
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/moxie/cpu.h
/openbmc/qemu/target/moxie/helper.c
/openbmc/qemu/target/moxie/translate.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/helper.c
/openbmc/qemu/target/nios2/mmu.c
/openbmc/qemu/target/nios2/monitor.c
/openbmc/qemu/target/nios2/translate.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/ppc/monitor.c
/openbmc/qemu/target/ppc/translate.c
cpu.c
/openbmc/qemu/target/s390x/helper.c
/openbmc/qemu/target/s390x/internal.h
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/target/sparc/mmu_helper.c
/openbmc/qemu/target/sparc/monitor.c
/openbmc/qemu/target/tilegx/cpu.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/unicore32/cpu.h
/openbmc/qemu/target/unicore32/translate.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/mmu_helper.c
/openbmc/qemu/target/xtensa/monitor.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/util/qemu-print.c
0442428a17-Apr-2019 Markus Armbruster <armbru@redhat.com>

target: Simplify how the TARGET_cpu_list() print

The various TARGET_cpu_list() take an fprintf()-like callback and a
FILE * to pass to it. Their callers (vl.c's main() via list_cpus(),
bsd-user/mai

target: Simplify how the TARGET_cpu_list() print

The various TARGET_cpu_list() take an fprintf()-like callback and a
FILE * to pass to it. Their callers (vl.c's main() via list_cpus(),
bsd-user/main.c's main(), linux-user/main.c's main()) all pass
fprintf() and stdout. Thus, the flexibility provided by the (rather
tiresome) indirection isn't actually used.

Drop the callback, and call qemu_printf() instead.

Calling printf() would also work, but would make the code unsuitable
for monitor context without making it simpler.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190417191805.28198-10-armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

show more ...


/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/VERSION
/openbmc/qemu/accel/accel.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/audio_legacy.c
/openbmc/qemu/authz/listfile.c
/openbmc/qemu/block.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/chardev/char-pty.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/cpus.c
/openbmc/qemu/default-configs/mips-softmmu-common.mak
/openbmc/qemu/default-configs/mips64el-softmmu.mak
/openbmc/qemu/device-hotplug.c
/openbmc/qemu/device_tree.c
/openbmc/qemu/exec.c
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/acpi/bios-linker-loader.c
/openbmc/qemu/hw/alpha/Kconfig
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/block/block.c
/openbmc/qemu/hw/block/dataplane/xen-block.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/block/xen_blkif.h
/openbmc/qemu/hw/char/Makefile.objs
/openbmc/qemu/hw/char/parallel-isa.c
/openbmc/qemu/hw/core/loader-fit.c
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/hppa/Kconfig
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/intc/Kconfig
/openbmc/qemu/hw/isa/Kconfig
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/misc/Kconfig
/openbmc/qemu/hw/net/Kconfig
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/pci-bridge/Kconfig
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci/Kconfig
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_host.c
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_irq.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/rdma/Kconfig
/openbmc/qemu/hw/rdma/Makefile.objs
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/sifive_plic.c
/openbmc/qemu/hw/s390x/3270-ccw.c
/openbmc/qemu/hw/s390x/Kconfig
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/sh4/Kconfig
/openbmc/qemu/hw/sparc64/Kconfig
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/include/authz/listfile.h
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/qapi.h
/openbmc/qemu/include/block/raw-aio.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/memory-internal.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/block/block.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_bus.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/riscv/sifive_e.h
/openbmc/qemu/include/hw/riscv/sifive_u.h
/openbmc/qemu/include/hw/riscv/virt.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qemu-common.h
/openbmc/qemu/include/qemu/bswap.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/error-report.h
/openbmc/qemu/include/qemu/filemonitor.h
/openbmc/qemu/include/qemu/qemu-print.h
/openbmc/qemu/include/qemu/qsp.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/cpus.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/nbd/trace-events
/openbmc/qemu/net/socket.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/pc-bios/palcode-clipper
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qdev-monitor.c
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-io-cmds.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-seccomp.c
/openbmc/qemu/qobject/json-lexer.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/qemu-palcode
/openbmc/qemu/scripts/minikconf.py
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/slirp/src/socket.c
/openbmc/qemu/stubs/error-printf.c
/openbmc/qemu/stubs/monitor.c
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/lm32/cpu.c
/openbmc/qemu/target/lm32/cpu.h
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/translate.c
/openbmc/qemu/target/mips/translate_init.inc.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/helper_regs.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/vsx-impl.inc.c
/openbmc/qemu/target/ppc/translate_init.inc.c
cpu.c
cpu.h
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/tricore/helper.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/target/xtensa/xtensa-semi.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tcg.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/libqos/pci-pc.c
/openbmc/qemu/tests/libqos/pci-spapr.c
/openbmc/qemu/tests/libqos/qgraph.c
/openbmc/qemu/tests/qemu-iotests/030
/openbmc/qemu/tests/qemu-iotests/030.out
/openbmc/qemu/tests/qemu-iotests/200
/openbmc/qemu/tests/qemu-iotests/209.out
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/233.out
/openbmc/qemu/tests/qemu-iotests/235
/openbmc/qemu/tests/qemu-iotests/241
/openbmc/qemu/tests/qemu-iotests/241.out
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/248
/openbmc/qemu/tests/qemu-iotests/248.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/tcg/xtensa/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/xtensa/test_flix.S
/openbmc/qemu/tests/test-hmp.c
/openbmc/qemu/tests/test-util-filemonitor.c
/openbmc/qemu/tests/test-util-sockets.c
/openbmc/qemu/tests/virtio-net-test.c
/openbmc/qemu/trace/simple.c
/openbmc/qemu/trace/simple.h
/openbmc/qemu/ui/curses.c
/openbmc/qemu/util/Makefile.objs
/openbmc/qemu/util/error.c
/openbmc/qemu/util/filemonitor-inotify.c
/openbmc/qemu/util/filemonitor-stub.c
/openbmc/qemu/util/qemu-error.c
/openbmc/qemu/util/qemu-print.c
/openbmc/qemu/util/qsp.c
/openbmc/qemu/util/trace-events
/openbmc/qemu/vl.c
6204553526-Mar-2019 Kito Cheng <kito.cheng@gmail.com>

target/riscv: Fix wrong expanding for c.fswsp

base register is no rs1 not rs2 for fsw.

Signed-off-by: Kito Cheng <kito.cheng@gmail.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by

target/riscv: Fix wrong expanding for c.fswsp

base register is no rs1 not rs2 for fsw.

Signed-off-by: Kito Cheng <kito.cheng@gmail.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...


/openbmc/qemu/.travis.yml
/openbmc/qemu/accel/kvm/trace-events
/openbmc/qemu/accel/tcg/trace-events
/openbmc/qemu/audio/trace-events
/openbmc/qemu/authz/trace-events
/openbmc/qemu/block/trace-events
/openbmc/qemu/chardev/trace-events
/openbmc/qemu/configure
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/crypto/trace-events
/openbmc/qemu/default-configs/arm-softmmu.mak
/openbmc/qemu/docs/qemu-cpu-models.texi
/openbmc/qemu/fpu/softfloat-specialize.h
/openbmc/qemu/fpu/softfloat.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/trace-events
/openbmc/qemu/hw/acpi/trace-events
/openbmc/qemu/hw/alpha/trace-events
/openbmc/qemu/hw/arm/trace-events
/openbmc/qemu/hw/audio/trace-events
/openbmc/qemu/hw/block/dataplane/trace-events
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/dma/trace-events
/openbmc/qemu/hw/gpio/nrf51_gpio.c
/openbmc/qemu/hw/gpio/trace-events
/openbmc/qemu/hw/hppa/trace-events
/openbmc/qemu/hw/i2c/trace-events
/openbmc/qemu/hw/i386/trace-events
/openbmc/qemu/hw/i386/xen/trace-events
/openbmc/qemu/hw/ide/trace-events
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/isa/trace-events
/openbmc/qemu/hw/mem/trace-events
/openbmc/qemu/hw/misc/macio/trace-events
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/nvram/trace-events
/openbmc/qemu/hw/pci-host/trace-events
/openbmc/qemu/hw/pci/trace-events
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/rdma/trace-events
/openbmc/qemu/hw/rdma/vmw/trace-events
/openbmc/qemu/hw/s390x/trace-events
/openbmc/qemu/hw/scsi/trace-events
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/sparc/trace-events
/openbmc/qemu/hw/sparc64/trace-events
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/tpm/trace-events
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/watchdog/trace-events
/openbmc/qemu/hw/xen/trace-events
/openbmc/qemu/include/authz/base.h
/openbmc/qemu/include/authz/list.h
/openbmc/qemu/include/authz/listfile.h
/openbmc/qemu/include/authz/pamacct.h
/openbmc/qemu/include/authz/simple.h
/openbmc/qemu/io/channel-websock.c
/openbmc/qemu/io/trace-events
/openbmc/qemu/linux-user/trace-events
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/tls.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/nbd/trace-events
/openbmc/qemu/net/trace-events
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/trace-events
/openbmc/qemu/qom/trace-events
/openbmc/qemu/scripts/cleanup-trace-events.pl
/openbmc/qemu/scripts/tracetool/format/d.py
/openbmc/qemu/scsi/trace-events
/openbmc/qemu/slirp/COPYRIGHT
/openbmc/qemu/slirp/src/arp_table.c
/openbmc/qemu/slirp/src/bootp.c
/openbmc/qemu/slirp/src/bootp.h
/openbmc/qemu/slirp/src/cksum.c
/openbmc/qemu/slirp/src/debug.h
/openbmc/qemu/slirp/src/dhcpv6.c
/openbmc/qemu/slirp/src/dhcpv6.h
/openbmc/qemu/slirp/src/dnssearch.c
/openbmc/qemu/slirp/src/if.c
/openbmc/qemu/slirp/src/if.h
/openbmc/qemu/slirp/src/ip.h
/openbmc/qemu/slirp/src/ip6.h
/openbmc/qemu/slirp/src/ip6_icmp.c
/openbmc/qemu/slirp/src/ip6_icmp.h
/openbmc/qemu/slirp/src/ip6_input.c
/openbmc/qemu/slirp/src/ip6_output.c
/openbmc/qemu/slirp/src/ip_icmp.c
/openbmc/qemu/slirp/src/ip_icmp.h
/openbmc/qemu/slirp/src/ip_input.c
/openbmc/qemu/slirp/src/ip_output.c
/openbmc/qemu/slirp/src/libslirp.h
/openbmc/qemu/slirp/src/main.h
/openbmc/qemu/slirp/src/mbuf.c
/openbmc/qemu/slirp/src/mbuf.h
/openbmc/qemu/slirp/src/misc.c
/openbmc/qemu/slirp/src/misc.h
/openbmc/qemu/slirp/src/ncsi-pkt.h
/openbmc/qemu/slirp/src/ncsi.c
/openbmc/qemu/slirp/src/ndp_table.c
/openbmc/qemu/slirp/src/qtailq.h
/openbmc/qemu/slirp/src/sbuf.c
/openbmc/qemu/slirp/src/sbuf.h
/openbmc/qemu/slirp/src/slirp.c
/openbmc/qemu/slirp/src/slirp.h
/openbmc/qemu/slirp/src/socket.c
/openbmc/qemu/slirp/src/socket.h
/openbmc/qemu/slirp/src/state.c
/openbmc/qemu/slirp/src/stream.c
/openbmc/qemu/slirp/src/stream.h
/openbmc/qemu/slirp/src/tcp.h
/openbmc/qemu/slirp/src/tcp_input.c
/openbmc/qemu/slirp/src/tcp_output.c
/openbmc/qemu/slirp/src/tcp_subr.c
/openbmc/qemu/slirp/src/tcp_timer.c
/openbmc/qemu/slirp/src/tcp_timer.h
/openbmc/qemu/slirp/src/tcp_var.h
/openbmc/qemu/slirp/src/tcpip.h
/openbmc/qemu/slirp/src/tftp.c
/openbmc/qemu/slirp/src/tftp.h
/openbmc/qemu/slirp/src/udp.c
/openbmc/qemu/slirp/src/udp.h
/openbmc/qemu/slirp/src/udp6.c
/openbmc/qemu/slirp/src/util.c
/openbmc/qemu/slirp/src/util.h
/openbmc/qemu/slirp/src/vmstate.c
/openbmc/qemu/slirp/src/vmstate.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/trace-events
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/hppa/trace-events
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/trace-events
/openbmc/qemu/target/mips/trace-events
/openbmc/qemu/target/ppc/trace-events
insn_trans/trans_rvc.inc.c
/openbmc/qemu/target/s390x/trace-events
/openbmc/qemu/target/sparc/trace-events
/openbmc/qemu/tests/acceptance/cpu_queries.py
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/travis
/openbmc/qemu/tests/docker/travis.py
/openbmc/qemu/trace-events
/openbmc/qemu/trace/ftrace.c
/openbmc/qemu/ui/trace-events
/openbmc/qemu/util/trace-events
f17e02cd21-Mar-2019 Palmer Dabbelt <palmer@sifive.com>

target/riscv: Zero extend the inputs of divuw and remuw

While running the GCC test suite against 4.0.0-rc0, Kito found a
regression introduced by the decodetree conversion that caused divuw and
remu

target/riscv: Zero extend the inputs of divuw and remuw

While running the GCC test suite against 4.0.0-rc0, Kito found a
regression introduced by the decodetree conversion that caused divuw and
remuw to sign-extend their inputs. The ISA manual says they are
supposed to be zero extended:

DIVW and DIVUW instructions are only valid for RV64, and divide the
lower 32 bits of rs1 by the lower 32 bits of rs2, treating them as
signed and unsigned integers respectively, placing the 32-bit
quotient in rd, sign-extended to 64 bits. REMW and REMUW
instructions are only valid for RV64, and provide the corresponding
signed and unsigned remainder operations respectively. Both REMW
and REMUW always sign-extend the 32-bit result to 64 bits, including
on a divide by zero.

Here's Kito's reduced test case from the GCC test suite

unsigned calc_mp(unsigned mod)
{
unsigned a,b,c;
c=-1;
a=c/mod;
b=0-a*mod;
if (b > mod) { a += 1; b-=mod; }
return b;
}

int main(int argc, char *argv[])
{
unsigned x = 1234;
unsigned y = calc_mp(x);

if ((sizeof (y) == 4 && y != 680)
|| (sizeof (y) == 2 && y != 134))
abort ();
exit (0);
}

I haven't done any other testing on this, but it does fix the test case.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

show more ...

6b745d4f15-Mar-2019 Alistair Francis <Alistair.Francis@wdc.com>

target/riscv: Remove unused struct

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>

1...<<6162636465666768697071