History log of /openbmc/qemu/accel/ (Results 1176 – 1200 of 1361)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
20cb6ae414-Aug-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Return -1 for execution from MMIO regions in get_page_addr_code()

Now that all the callers can handle get_page_addr_code() returning -1,
remove all the code which tries to handle executio

accel/tcg: Return -1 for execution from MMIO regions in get_page_addr_code()

Now that all the callers can handle get_page_addr_code() returning -1,
remove all the code which tries to handle execution from MMIO regions
or small-MMU-region RAM areas. This will mean that we can correctly
execute from these areas, rather than ending up either aborting QEMU
or delivering an incorrect guest exception.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180710160013.26559-6-peter.maydell@linaro.org

show more ...

9739e37614-Aug-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: tb_gen_code(): Create single-insn TB for execution from non-RAM

If get_page_addr_code() returns -1, this indicates that there is no RAM
page we can read a full TB from. Instead we must cr

accel/tcg: tb_gen_code(): Create single-insn TB for execution from non-RAM

If get_page_addr_code() returns -1, this indicates that there is no RAM
page we can read a full TB from. Instead we must create a TB which
contains a single instruction and which we do not cache, so it is
executed only once.

Since this means we can now have TBs which are not in any page list,
we also need to make tb_phys_invalidate() handle them (by not trying
to remove them from a nonexistent page list).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20180710160013.26559-5-peter.maydell@linaro.org

show more ...

c360a0fd14-Aug-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Handle get_page_addr_code() returning -1 in tb_check_watchpoint()

When we support execution from non-RAM MMIO regions, get_page_addr_code()
will return -1 to indicate that there is no RAM

accel/tcg: Handle get_page_addr_code() returning -1 in tb_check_watchpoint()

When we support execution from non-RAM MMIO regions, get_page_addr_code()
will return -1 to indicate that there is no RAM at the requested address.
Handle this in tb_check_watchpoint() -- if the exception happened for a
PC which doesn't correspond to RAM then there is no need to invalidate
any TBs, because the one-instruction TB will not have been cached.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20180710160013.26559-4-peter.maydell@linaro.org

show more ...

7252f2de14-Aug-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Handle get_page_addr_code() returning -1 in hashtable lookups

When we support execution from non-RAM MMIO regions, get_page_addr_code()
will return -1 to indicate that there is no RAM at

accel/tcg: Handle get_page_addr_code() returning -1 in hashtable lookups

When we support execution from non-RAM MMIO regions, get_page_addr_code()
will return -1 to indicate that there is no RAM at the requested address.
Handle this in the cpu-exec TB hashtable lookup code, treating it as
"no match found".

Note that the call to get_page_addr_code() in tb_lookup_cmp() needs
no changes -- a return of -1 will already correctly result in the
function returning false.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20180710160013.26559-3-peter.maydell@linaro.org

show more ...

dbea78a414-Aug-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Pass read access type through to io_readx()

The io_readx() function needs to know whether the load it is
doing is an MMU_DATA_LOAD or an MMU_INST_FETCH, so that it
can pass the right valu

accel/tcg: Pass read access type through to io_readx()

The io_readx() function needs to know whether the load it is
doing is an MMU_DATA_LOAD or an MMU_INST_FETCH, so that it
can pass the right value to the cpu_transaction_failed()
function. Plumb this information through from the softmmu
code.

This is currently not often going to give the wrong answer,
because usually instruction fetches go via get_page_addr_code().
However once we switch over to handling execution from non-RAM by
creating single-insn TBs, the path for an insn fetch to generate
a bus error will be through cpu_ld*_code() and io_readx(),
so without this change we will generate a d-side fault when we
should generate an i-side fault.

We also have to pass the access type via a CPU struct global
down to unassigned_mem_read(), for the benefit of the targets
which still use the cpu_unassigned_access() hook (m68k, mips,
sparc, xtensa).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20180710160013.26559-2-peter.maydell@linaro.org

show more ...


/openbmc/qemu/VERSION
tcg/cputlb.c
tcg/softmmu_template.h
/openbmc/qemu/backends/cryptodev-vhost-user.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/throttle-groups.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/devel/tracing.txt
/openbmc/qemu/hw/arm/iotkit.c
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/sysbus-fdt.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/exynos4210_gic.c
/openbmc/qemu/hw/intc/trace-events
/openbmc/qemu/hw/microblaze/xlnx-zynqmp-pmu.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/misc/macio/macio.c
/openbmc/qemu/hw/misc/macio/pmu.c
/openbmc/qemu/hw/misc/tz-mpc.c
/openbmc/qemu/hw/net/e1000e_core.c
/openbmc/qemu/hw/net/e1000e_core.h
/openbmc/qemu/hw/ppc/ppc440_pcix.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/riscv/riscv_hart.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/crypto/init.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/intc/armv7m_nvic.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/monitor/monitor.h
/openbmc/qemu/include/qapi/qmp/qstring.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/host/ppc64/safe-syscall.inc.S
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/ppc/signal.c
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/memory.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/monitor.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/po/Makefile
/openbmc/qemu/po/bg.po
/openbmc/qemu/po/de_DE.po
/openbmc/qemu/po/fr_FR.po
/openbmc/qemu/po/hu.po
/openbmc/qemu/po/it.po
/openbmc/qemu/po/messages.po
/openbmc/qemu/po/tr.po
/openbmc/qemu/po/zh_CN.po
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qobject/qstring.c
/openbmc/qemu/scripts/qapi/introspect.py
/openbmc/qemu/slirp/mbuf.c
/openbmc/qemu/stubs/error-printf.c
/openbmc/qemu/stubs/monitor.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/misc_helper.c
/openbmc/qemu/target/i386/smm_helper.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/tcg/aarch64/tcg-target.inc.c
/openbmc/qemu/tcg/i386/tcg-target.inc.c
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tests/.gitignore
/openbmc/qemu/tests/acpi-test-data/pc/SRAT.dimmpxm
/openbmc/qemu/tests/acpi-test-data/pc/SRAT.memhp
/openbmc/qemu/tests/acpi-test-data/pc/SRAT.numamem
/openbmc/qemu/tests/acpi-test-data/q35/SRAT.dimmpxm
/openbmc/qemu/tests/acpi-test-data/q35/SRAT.memhp
/openbmc/qemu/tests/acpi-test-data/q35/SRAT.numamem
/openbmc/qemu/tests/check-qobject.c
/openbmc/qemu/tests/check-qstring.c
/openbmc/qemu/tests/crypto-tls-x509-helpers.c
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/common.rc
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/debian-bootstrap.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-bootstrap.pre
/openbmc/qemu/tests/docker/dockerfiles/debian-tricore-cross.docker
/openbmc/qemu/tests/docker/test-clang
/openbmc/qemu/tests/docker/test-debug
/openbmc/qemu/tests/docker/test-full
/openbmc/qemu/tests/docker/test-quick
/openbmc/qemu/tests/docker/test-unit
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/qemu-iotests/082
/openbmc/qemu/tests/qemu-iotests/082.out
/openbmc/qemu/tests/qemu-iotests/103.out
/openbmc/qemu/tests/qemu-iotests/137.out
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/149.out
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/226
/openbmc/qemu/tests/qemu-iotests/227
/openbmc/qemu/tests/qemu-iotests/227.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/tcg/i386/Makefile.target
/openbmc/qemu/tests/tcg/i386/README
/openbmc/qemu/tests/tcg/multiarch/test-mmap.c
/openbmc/qemu/tests/test-crypto-tlscredsx509.c
/openbmc/qemu/tests/test-crypto-tlssession.c
/openbmc/qemu/tests/test-io-channel-tls.c
/openbmc/qemu/tests/test-util-sockets.c
/openbmc/qemu/tests/test-vmstate.c
/openbmc/qemu/trace/control.c
/openbmc/qemu/trace/control.h
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/util/qemu-timer.c
59b5552f17-Jul-2018 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

Bug fixes.

# gpg: Signature made Tue 17 Jul 2018 16:06:07 BST
# gpg: using RSA key BFFBD25F78C7AE83
# gp

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

Bug fixes.

# gpg: Signature made Tue 17 Jul 2018 16:06:07 BST
# gpg: using RSA key BFFBD25F78C7AE83
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com>"
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream:
Document command line options with single dash
opts: remove redundant check for NULL parameter
i386: only parse the initrd_filename once for multiboot modules
i386: fix regression parsing multiboot initrd modules
virtio-scsi: fix hotplug ->reset() vs event race
qdev: add HotplugHandler->post_plug() callback
hw/char/serial: retry write if EAGAIN
PC Chipset: Improve serial divisor calculation
vhost-user-test: added proper TestServer *dest initialization in test_migrate()
hyperv: ensure VP index equal to QEMU cpu_index
hyperv: rename vcpu_id to vp_index
accel: Fix typo and grammar in comment
dump: add kernel_gs_base to QEMU CPU state

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

show more ...

3474c98a13-Jul-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Assert that tlb fill gave us a valid TLB entry

In commit 4b1a3e1e34ad97 we added a check for whether the TLB entry
we had following a tlb_fill had the INVALID bit set. This could
happen

accel/tcg: Assert that tlb fill gave us a valid TLB entry

In commit 4b1a3e1e34ad97 we added a check for whether the TLB entry
we had following a tlb_fill had the INVALID bit set. This could
happen in some circumstances because a stale or wrong TLB entry was
pulled out of the victim cache. However, after commit
68fea038553039e (which prevents stale entries being in the victim
cache) and the previous commit (which ensures we don't incorrectly
hit in the victim cache)) this should never be possible.

Drop the check on TLB_INVALID_MASK from the "is this a TLB_RECHECK?"
condition, and instead assert that the tlb fill procedure has given
us a valid TLB entry (or longjumped out with a guest exception).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180713141636.18665-3-peter.maydell@linaro.org

show more ...

b493ccf113-Jul-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Use correct test when looking in victim TLB for code

In get_page_addr_code(), we were incorrectly looking in the victim
TLB for an entry which matched the target address for reads, not
fo

accel/tcg: Use correct test when looking in victim TLB for code

In get_page_addr_code(), we were incorrectly looking in the victim
TLB for an entry which matched the target address for reads, not
for code accesses. This meant that we could hit on a victim TLB
entry that indicated that the address was readable but not
executable, and incorrectly bypass the call to tlb_fill() which
should generate the guest MMU exception. Fix this bug.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180713141636.18665-2-peter.maydell@linaro.org

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/VERSION
tcg/cputlb.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/throttle.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/device-hotplug.c
/openbmc/qemu/docs/colo-proxy.txt
/openbmc/qemu/docs/config/mach-virt-graphical.cfg
/openbmc/qemu/docs/config/mach-virt-serial.cfg
/openbmc/qemu/docs/config/q35-emulated.cfg
/openbmc/qemu/docs/config/q35-virtio-graphical.cfg
/openbmc/qemu/docs/config/q35-virtio-serial.cfg
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/docs/devel/multi-thread-tcg.txt
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/interop/vhost-user.txt
/openbmc/qemu/docs/memory-hotplug.txt
/openbmc/qemu/docs/multiseat.txt
/openbmc/qemu/docs/qemu-block-drivers.texi
/openbmc/qemu/docs/qemupciserial.inf
/openbmc/qemu/docs/specs/acpi_nvdimm.txt
/openbmc/qemu/docs/specs/ppc-spapr-hcalls.txt
/openbmc/qemu/docs/specs/tpm.txt
/openbmc/qemu/docs/usb2.txt
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/block/block.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/bcm2835_aux.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.h
/openbmc/qemu/hw/net/fsl_etsec/registers.h
/openbmc/qemu/hw/net/fsl_etsec/rings.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/s390x/s390-stattrib-kvm.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/hw/block/block.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/misc/aspeed_scu.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/blockdev.h
/openbmc/qemu/linux-user/alpha/cpu_loop.c
/openbmc/qemu/linux-user/cris/cpu_loop.c
/openbmc/qemu/linux-user/cris/signal.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/microblaze/cpu_loop.c
/openbmc/qemu/linux-user/microblaze/signal.c
/openbmc/qemu/linux-user/nios2/signal.c
/openbmc/qemu/linux-user/sh4/cpu_loop.c
/openbmc/qemu/linux-user/sparc/cpu_loop.c
/openbmc/qemu/linux-user/sparc/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/fd.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/socket.c
/openbmc/qemu/monitor.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qemu-deprecated.texi
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-seccomp.c
/openbmc/qemu/qemu-tech.texi
/openbmc/qemu/qmp.c
/openbmc/qemu/scripts/qapi/introspect.py
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/sve_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/tests/ahci-test.c
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/numa-test.c
/openbmc/qemu/tests/qemu-iotests/122.out
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/197
/openbmc/qemu/tests/qemu-iotests/197.out
/openbmc/qemu/tests/qemu-iotests/222
/openbmc/qemu/tests/qemu-iotests/225
/openbmc/qemu/tests/qemu-iotests/225.out
/openbmc/qemu/tests/qemu-iotests/226
/openbmc/qemu/tests/qemu-iotests/226.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qmp-test.c
/openbmc/qemu/tests/test-bdrv-drain.c
/openbmc/qemu/ui/cocoa.m
696c706612-Jul-2018 Stefan Weil <sw@weilnetz.de>

accel: Fix typo and grammar in comment

The typo was found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20180712194454.26765-1-sw@weilnetz.de>
Signed-off-by: Paolo Bonzini

accel: Fix typo and grammar in comment

The typo was found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20180712194454.26765-1-sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/VERSION
tcg/translate-all.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2-bitmap.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/throttle.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/device-hotplug.c
/openbmc/qemu/docs/colo-proxy.txt
/openbmc/qemu/docs/config/mach-virt-graphical.cfg
/openbmc/qemu/docs/config/mach-virt-serial.cfg
/openbmc/qemu/docs/config/q35-emulated.cfg
/openbmc/qemu/docs/config/q35-virtio-graphical.cfg
/openbmc/qemu/docs/config/q35-virtio-serial.cfg
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/docs/devel/multi-thread-tcg.txt
/openbmc/qemu/docs/interop/qcow2.txt
/openbmc/qemu/docs/interop/vhost-user.txt
/openbmc/qemu/docs/memory-hotplug.txt
/openbmc/qemu/docs/multiseat.txt
/openbmc/qemu/docs/qemu-block-drivers.texi
/openbmc/qemu/docs/qemupciserial.inf
/openbmc/qemu/docs/specs/acpi_nvdimm.txt
/openbmc/qemu/docs/specs/ppc-spapr-hcalls.txt
/openbmc/qemu/docs/specs/tpm.txt
/openbmc/qemu/docs/usb2.txt
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/block/block.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/s390x/s390-stattrib-kvm.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/hw/block/block.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/blockdev.h
/openbmc/qemu/linux-user/alpha/cpu_loop.c
/openbmc/qemu/linux-user/cris/cpu_loop.c
/openbmc/qemu/linux-user/cris/signal.c
/openbmc/qemu/linux-user/microblaze/cpu_loop.c
/openbmc/qemu/linux-user/microblaze/signal.c
/openbmc/qemu/linux-user/nios2/signal.c
/openbmc/qemu/linux-user/sh4/cpu_loop.c
/openbmc/qemu/linux-user/sparc/cpu_loop.c
/openbmc/qemu/linux-user/sparc/signal.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/migration/exec.c
/openbmc/qemu/migration/fd.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/ram.h
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/socket.c
/openbmc/qemu/monitor.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-img.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qemu-seccomp.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/i386/arch_dump.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/tests/ahci-test.c
/openbmc/qemu/tests/hd-geo-test.c
/openbmc/qemu/tests/ide-test.c
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/qemu-iotests/122.out
/openbmc/qemu/tests/qemu-iotests/153
/openbmc/qemu/tests/qemu-iotests/153.out
/openbmc/qemu/tests/qemu-iotests/197
/openbmc/qemu/tests/qemu-iotests/197.out
/openbmc/qemu/tests/qemu-iotests/222
/openbmc/qemu/tests/qemu-iotests/225
/openbmc/qemu/tests/qemu-iotests/225.out
/openbmc/qemu/tests/qemu-iotests/226
/openbmc/qemu/tests/qemu-iotests/226.out
/openbmc/qemu/tests/qemu-iotests/common.rc
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/test-bdrv-drain.c
/openbmc/qemu/ui/cocoa.m
ec7eb2ae05-Jul-2018 Emilio G. Cota <cota@braap.org>

translate-all: honour CF_NOCACHE in tb_gen_code

This fixes a record-replay regression introduced by 95590e2
("translate-all: discard TB when tb_link_page returns an existing
matching TB", 2018-06-15

translate-all: honour CF_NOCACHE in tb_gen_code

This fixes a record-replay regression introduced by 95590e2
("translate-all: discard TB when tb_link_page returns an existing
matching TB", 2018-06-15). The problem is that code using CF_NOCACHE
assumes that the TB returned from tb_gen_code is always a
newly-generated one. This assumption, however, was broken in
the aforementioned commit.

Fix it by honouring CF_NOCACHE, so that tb_gen_code always
returns a newly-generated TB when CF_NOCACHE is passed to it.
Do this by avoiding the TB hash table if CF_NOCACHE is set.

Reported-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Tested-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 1530806837-5416-1-git-send-email-cota@braap.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/openbmc/qemu/.gitignore
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
tcg/translate-all.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/trace-events
/openbmc/qemu/block.c
/openbmc/qemu/block/Makefile.objs
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dirty-bitmap.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nbd-client.c
/openbmc/qemu/block/nbd-client.h
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/trace-events
/openbmc/qemu/blockdev.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/configure
/openbmc/qemu/crypto/Makefile.objs
/openbmc/qemu/crypto/tlscredspsk.c
/openbmc/qemu/crypto/tlssession.c
/openbmc/qemu/crypto/trace-events
/openbmc/qemu/default-configs/ppc-softmmu.mak
/openbmc/qemu/default-configs/ppcemb-softmmu.mak
/openbmc/qemu/default-configs/riscv32-softmmu.mak
/openbmc/qemu/default-configs/riscv64-softmmu.mak
/openbmc/qemu/default-configs/sh4-softmmu.mak
/openbmc/qemu/default-configs/sh4eb-softmmu.mak
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/interop/qmp-intro.txt
/openbmc/qemu/docs/interop/qmp-spec.txt
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/arm/smmu-common.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/vga-isa-mm.c
/openbmc/qemu/hw/display/vga-isa.c
/openbmc/qemu/hw/display/vga-pci.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/vga_int.h
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/i2c/ppc4xx_i2c.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/amd_iommu.h
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xics_kvm.c
/openbmc/qemu/hw/intc/xics_pnv.c
/openbmc/qemu/hw/misc/macio/mac_dbdma.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/ppc/Makefile.objs
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/ppc440.h
/openbmc/qemu/hw/ppc/ppc440_uc.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_plic.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/sd/omap_mmc.c
/openbmc/qemu/hw/timer/Makefile.objs
/openbmc/qemu/hw/timer/cmsdk-apb-timer.c
/openbmc/qemu/hw/timer/m41t80.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/dirty-bitmap.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/crypto/tlscredspsk.h
/openbmc/qemu/include/hw/arm/smmu-common.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/compat.h
/openbmc/qemu/include/hw/i2c/ppc4xx_i2c.h
/openbmc/qemu/include/hw/ppc/xics.h
/openbmc/qemu/include/hw/ptimer.h
/openbmc/qemu/include/hw/riscv/sifive_e.h
/openbmc/qemu/include/hw/riscv/sifive_plic.h
/openbmc/qemu/include/hw/riscv/sifive_u.h
/openbmc/qemu/include/qapi/qmp/dispatch.h
/openbmc/qemu/include/qapi/qmp/qjson.h
/openbmc/qemu/linux-user/Makefile.objs
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/openrisc/signal.c
/openbmc/qemu/linux-user/openrisc/target_signal.h
/openbmc/qemu/linux-user/openrisc/target_syscall.h
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/strace.list
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/monitor.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/pc-bios/u-boot-sam460-20100605.bin
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/qmp-dispatch.c
/openbmc/qemu/qapi/qmp-event.c
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/installer/qemu-ga.wxs
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/qapi-schema.json
/openbmc/qemu/qmp.c
/openbmc/qemu/qobject/qjson.c
/openbmc/qemu/qtest.c
/openbmc/qemu/roms/u-boot-sam460ex
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/coverity-model.c
/openbmc/qemu/scripts/create_config
/openbmc/qemu/scripts/qapi/commands.py
/openbmc/qemu/scripts/qapi/common.py
/openbmc/qemu/scripts/qapi/doc.py
/openbmc/qemu/scripts/qapi/events.py
/openbmc/qemu/scripts/qapi/introspect.py
/openbmc/qemu/scripts/qapi/types.py
/openbmc/qemu/scripts/qapi/visit.py
/openbmc/qemu/scripts/qemu-binfmt-conf.sh
/openbmc/qemu/scripts/travis/coverage-summary.sh
/openbmc/qemu/scsi/pr-manager-helper.c
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/target/arm/translate-sve.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/openrisc/Makefile.objs
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/disas.c
/openbmc/qemu/target/openrisc/helper.h
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/interrupt_helper.c
/openbmc/qemu/target/openrisc/machine.c
/openbmc/qemu/target/openrisc/mmu.c
/openbmc/qemu/target/openrisc/sys_helper.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/mem_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate_init.inc.c
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/crypto-tls-psk-helpers.c
/openbmc/qemu/tests/crypto-tls-psk-helpers.h
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/docker.py
/openbmc/qemu/tests/docker/dockerfiles/debian-bootstrap.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-bootstrap.pre
/openbmc/qemu/tests/docker/dockerfiles/debian-powerpc-user-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian8-mxe.docker
/openbmc/qemu/tests/docker/dockerfiles/travis.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu.docker
/openbmc/qemu/tests/migration-test.c
/openbmc/qemu/tests/ptimer-test.c
/openbmc/qemu/tests/qapi-schema/bad-if-empty-list.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty-list.exit
/openbmc/qemu/tests/qapi-schema/bad-if-empty-list.json
/openbmc/qemu/tests/qapi-schema/bad-if-empty-list.out
/openbmc/qemu/tests/qapi-schema/bad-if-empty.err
/openbmc/qemu/tests/qapi-schema/bad-if-empty.exit
/openbmc/qemu/tests/qapi-schema/bad-if-empty.json
/openbmc/qemu/tests/qapi-schema/bad-if-empty.out
/openbmc/qemu/tests/qapi-schema/bad-if-list.err
/openbmc/qemu/tests/qapi-schema/bad-if-list.exit
/openbmc/qemu/tests/qapi-schema/bad-if-list.json
/openbmc/qemu/tests/qapi-schema/bad-if-list.out
/openbmc/qemu/tests/qapi-schema/bad-if.err
/openbmc/qemu/tests/qapi-schema/bad-if.exit
/openbmc/qemu/tests/qapi-schema/bad-if.json
/openbmc/qemu/tests/qapi-schema/bad-if.out
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/doc-good.texi
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/051.out
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/222
/openbmc/qemu/tests/qemu-iotests/222.out
/openbmc/qemu/tests/qemu-iotests/223
/openbmc/qemu/tests/qemu-iotests/223.out
/openbmc/qemu/tests/qemu-iotests/group
/openbmc/qemu/tests/qmp-test.c
/openbmc/qemu/tests/test-crypto-tlssession.c
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qmp-cmds.c
/openbmc/qemu/ui/vnc.h
e8c8589402-Jul-2018 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

* IEC units series (Philippe)
* Hyper-V PV TLB flush (Vitaly)
* git archive detection (Daniel)
* host serial passthrough

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

* IEC units series (Philippe)
* Hyper-V PV TLB flush (Vitaly)
* git archive detection (Daniel)
* host serial passthrough fix (David)
* NPT support for SVM emulation (Jan)
* x86 "info mem" and "info tlb" fix (Doug)

# gpg: Signature made Mon 02 Jul 2018 16:18:21 BST
# gpg: using RSA key BFFBD25F78C7AE83
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com>"
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream: (50 commits)
tcg: simplify !CONFIG_TCG handling of tb_invalidate_*
i386/monitor.c: make addresses canonical for "info mem" and "info tlb"
target-i386: Add NPT support
serial: Open non-block
bsd-user: Use the IEC binary prefix definitions
linux-user: Use the IEC binary prefix definitions
tests/crypto: Use the IEC binary prefix definitions
vl: Use the IEC binary prefix definitions
monitor: Use the IEC binary prefix definitions
cutils: Do not include "qemu/units.h" directly
hw/rdma: Use the IEC binary prefix definitions
hw/virtio: Use the IEC binary prefix definitions
hw/vfio: Use the IEC binary prefix definitions
hw/sd: Use the IEC binary prefix definitions
hw/usb: Use the IEC binary prefix definitions
hw/net: Use the IEC binary prefix definitions
hw/i386: Use the IEC binary prefix definitions
hw/ppc: Use the IEC binary prefix definitions
hw/mips: Use the IEC binary prefix definitions
hw/mips/r4k: Constify params_size
...

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

show more ...


/openbmc/qemu/.gitmodules
stubs/tcg-stub.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/chardev/char-serial.c
/openbmc/qemu/configure
/openbmc/qemu/exec.c
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/msf2-soc.c
/openbmc/qemu/hw/arm/msf2-som.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/tc58128.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/core/loader-fit.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/g364fb.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/ramfb.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/vga-isa-mm.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/display/xenfb.c
/openbmc/qemu/hw/hppa/dino.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/xen/xen-mapcache.c
/openbmc/qemu/hw/ipack/tpci200.c
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/auxbus.c
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/mips_itu.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/e1000x_common.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/ne2000.h
/openbmc/qemu/hw/nios2/boot.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/e500plat.c
/openbmc/qemu/hw/ppc/mac.h
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/ppc440_uc.c
/openbmc/qemu/hw/ppc/ppc4xx_devs.c
/openbmc/qemu/hw/ppc/ppce500_spin.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/rs6000_mc.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/ppc/virtex_ml507.c
/openbmc/qemu/hw/rdma/vmw/pvrdma.h
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/Makefile.objs
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/s390x/tod-kvm.c
/openbmc/qemu/hw/s390x/tod-qemu.c
/openbmc/qemu/hw/s390x/tod.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/combined-packet.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/xenpv/xen_domainbuild.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/hw/acpi/tpm.h
/openbmc/qemu/include/hw/display/xlnx_dp.h
/openbmc/qemu/include/hw/intc/mips_gic.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/mips/bios.h
/openbmc/qemu/include/hw/net/allwinner_emac.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/s390x/tod.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/units.h
/openbmc/qemu/include/qom/cpu.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/monitor.c
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/vgabios-bochs-display.bin
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-ramfb.bin
/openbmc/qemu/pc-bios/vgabios-stdvga.bin
/openbmc/qemu/pc-bios/vgabios-virtio.bin
/openbmc/qemu/pc-bios/vgabios-vmware.bin
/openbmc/qemu/pc-bios/vgabios.bin
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/config.seabios-128k
/openbmc/qemu/roms/config.seabios-256k
/openbmc/qemu/roms/config.vga-bochs-display
/openbmc/qemu/roms/config.vga-ramfb
/openbmc/qemu/roms/seabios
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/excp_helper.c
/openbmc/qemu/target/i386/hyperv-proto.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/mem_helper.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/svm.h
/openbmc/qemu/target/i386/svm_helper.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/s390x/Makefile.objs
/openbmc/qemu/target/s390x/cpu.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/gen-features.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-stub.c
/openbmc/qemu/target/s390x/kvm.c
/openbmc/qemu/target/s390x/kvm_s390x.h
/openbmc/qemu/target/s390x/machine.c
/openbmc/qemu/target/s390x/misc_helper.c
/openbmc/qemu/target/s390x/tcg-stub.c
/openbmc/qemu/target/s390x/tcg_s390x.h
/openbmc/qemu/target/s390x/translate.c
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/tests/benchmark-crypto-cipher.c
/openbmc/qemu/tests/benchmark-crypto-hash.c
/openbmc/qemu/tests/benchmark-crypto-hmac.c
/openbmc/qemu/tests/test-cutils.c
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/vl.c
68fea03829-Jun-2018 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Avoid caching overwritten tlb entries

When installing a TLB entry, remove any cached version of the
same page in the VTLB. If the existing TLB entry matches, do
not copy into the VTLB, b

accel/tcg: Avoid caching overwritten tlb entries

When installing a TLB entry, remove any cached version of the
same page in the VTLB. If the existing TLB entry matches, do
not copy into the VTLB, but overwrite it.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

4b1a3e1e29-Jun-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Don't treat invalid TLB entries as needing recheck

In get_page_addr_code() when we check whether the TLB entry
is marked as TLB_RECHECK, we should not go down that code
path if the TLB en

accel/tcg: Don't treat invalid TLB entries as needing recheck

In get_page_addr_code() when we check whether the TLB entry
is marked as TLB_RECHECK, we should not go down that code
path if the TLB entry is not valid at all (ie the TLB_INVALID
bit is set).

Tested-by: Laurent Vivier <laurent@vivier.eu>
Reported-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20180629161731.16239-1-peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

e4c967a729-Jun-2018 Peter Maydell <peter.maydell@linaro.org>

accel/tcg: Correct "is this a TLB miss" check in get_page_addr_code()

In commit 71b9a45330fe220d1 we changed the condition we use
to determine whether we need to refill the TLB in
get_page_addr_code

accel/tcg: Correct "is this a TLB miss" check in get_page_addr_code()

In commit 71b9a45330fe220d1 we changed the condition we use
to determine whether we need to refill the TLB in
get_page_addr_code() to
if (unlikely(env->tlb_table[mmu_idx][index].addr_code !=
(addr & (TARGET_PAGE_MASK | TLB_INVALID_MASK)))) {

This isn't the right check (it will falsely fail if the
input addr happens to have the low bit corresponding to
TLB_INVALID_MASK set, for instance). Replace it with a
use of the new tlb_hit() function, which is the correct test.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20180629162122.19376-3-peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

334692bc29-Jun-2018 Peter Maydell <peter.maydell@linaro.org>

tcg: Define and use new tlb_hit() and tlb_hit_page() functions

The condition to check whether an address has hit against a particular
TLB entry is not completely trivial. We do this in various place

tcg: Define and use new tlb_hit() and tlb_hit_page() functions

The condition to check whether an address has hit against a particular
TLB entry is not completely trivial. We do this in various places, and
in fact in one place (get_page_addr_code()) we have got the condition
wrong. Abstract it out into new tlb_hit() and tlb_hit_page() inline
functions (one for a known-page-aligned address and one for an
arbitrary address), and use them in all the places where we had the
condition correct.

This is a no-behaviour-change patch; we leave fixing the buggy
code in get_page_addr_code() to a subsequent patch.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20180629162122.19376-2-peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

a688e73b25-Jun-2018 Emilio G. Cota <cota@braap.org>

translate-all: fix locking of TBs whose two pages share the same physical page

Commit 0b5c91f ("translate-all: use per-page locking in !user-mode",
2018-06-15) introduced per-page locking. It assume

translate-all: fix locking of TBs whose two pages share the same physical page

Commit 0b5c91f ("translate-all: use per-page locking in !user-mode",
2018-06-15) introduced per-page locking. It assumed that the physical
pages corresponding to a TB (at most two pages) are always distinct,
which is wrong. For instance, an xtensa test provided by Max Filippov
is broken by the commit, since the test maps two virtual pages
to the same physical page:

virt1: 7fff, virt2: 8000
phys1 6000fff, phys2 6000000

Fix it by removing the assumption from page_lock_pair.
If the two physical page addresses are equal, we only lock
the PageDesc once. Note that the two callers of page_lock_pair,
namely page_unlock_tb and tb_link_page, are also updated so that
we do not try to unlock the same PageDesc twice.

Fixes: 0b5c91f74f3c83a36f37740969df8c775c997e69
Reported-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1529944302-14186-1-git-send-email-cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...

c40d479202-Jul-2018 Paolo Bonzini <pbonzini@redhat.com>

tcg: simplify !CONFIG_TCG handling of tb_invalidate_*

There is no need for a stub, since tb_invalidate_phys_addr can be excised
altogether when TCG is disabled. This is a bit cleaner since it avoid

tcg: simplify !CONFIG_TCG handling of tb_invalidate_*

There is no need for a stub, since tb_invalidate_phys_addr can be excised
altogether when TCG is disabled. This is a bit cleaner since it avoids
using code that is clearly specific to user-mode emulation (it calls
mmap_lock/unlock) for the !CONFIG_TCG case.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


stubs/tcg-stub.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/chardev/char-serial.c
/openbmc/qemu/configure
/openbmc/qemu/exec.c
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/msf2-soc.c
/openbmc/qemu/hw/arm/msf2-som.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/tc58128.c
/openbmc/qemu/hw/block/xen_disk.c
/openbmc/qemu/hw/core/loader-fit.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/cris/axis_dev88.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/g364fb.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/vga-isa-mm.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/display/xenfb.c
/openbmc/qemu/hw/hppa/dino.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/xen/xen-mapcache.c
/openbmc/qemu/hw/ipack/tpci200.c
/openbmc/qemu/hw/lm32/lm32_boards.c
/openbmc/qemu/hw/lm32/milkymist.c
/openbmc/qemu/hw/m68k/mcf5208.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/microblaze/petalogix_s3adsp1800_mmu.c
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/mips/mips_fulong2e.c
/openbmc/qemu/hw/mips/mips_malta.c
/openbmc/qemu/hw/mips/mips_r4k.c
/openbmc/qemu/hw/misc/auxbus.c
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/mips_itu.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/e1000x_common.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/ne2000.h
/openbmc/qemu/hw/nios2/boot.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/pci-host/prep.c
/openbmc/qemu/hw/pci-host/xilinx-pcie.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/e500plat.c
/openbmc/qemu/hw/ppc/mac.h
/openbmc/qemu/hw/ppc/mac_newworld.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/ppc405_boards.c
/openbmc/qemu/hw/ppc/ppc405_uc.c
/openbmc/qemu/hw/ppc/ppc440_bamboo.c
/openbmc/qemu/hw/ppc/ppc440_uc.c
/openbmc/qemu/hw/ppc/ppc4xx_devs.c
/openbmc/qemu/hw/ppc/ppce500_spin.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/rs6000_mc.c
/openbmc/qemu/hw/ppc/sam460ex.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/ppc/virtex_ml507.c
/openbmc/qemu/hw/rdma/vmw/pvrdma.h
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/s390x/s390-stattrib.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sh4/r2d.c
/openbmc/qemu/hw/smbios/smbios.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/niagara.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/tricore/tricore_testboard.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/combined-packet.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/xenpv/xen_domainbuild.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/hw/acpi/tpm.h
/openbmc/qemu/include/hw/display/xlnx_dp.h
/openbmc/qemu/include/hw/intc/mips_gic.h
/openbmc/qemu/include/hw/mips/bios.h
/openbmc/qemu/include/hw/net/allwinner_emac.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/units.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/monitor.c
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/excp_helper.c
/openbmc/qemu/target/i386/hyperv-proto.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/mem_helper.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/svm.h
/openbmc/qemu/target/i386/svm_helper.c
/openbmc/qemu/target/ppc/mmu_helper.c
/openbmc/qemu/target/xtensa/helper.c
/openbmc/qemu/tests/benchmark-crypto-cipher.c
/openbmc/qemu/tests/benchmark-crypto-hash.c
/openbmc/qemu/tests/benchmark-crypto-hmac.c
/openbmc/qemu/tests/test-cutils.c
/openbmc/qemu/tests/test-keyval.c
/openbmc/qemu/tests/test-qemu-opts.c
/openbmc/qemu/vl.c
646f34fa29-Jun-2018 Philippe Mathieu-Daudé <f4bug@amsat.org>

tcg: Fix --disable-tcg build breakage

Fix the --disable-tcg breakage introduced by 8bca9a03ec60d:

$ configure --disable-tcg
[...]
$ make -C i386-softmmu exec.o
make: Entering direct

tcg: Fix --disable-tcg build breakage

Fix the --disable-tcg breakage introduced by 8bca9a03ec60d:

$ configure --disable-tcg
[...]
$ make -C i386-softmmu exec.o
make: Entering directory 'i386-softmmu'
CC exec.o
In file included from source/qemu/exec.c:62:0:
source/qemu/include/exec/ram_addr.h:96:6: error: conflicting types for ‘tb_invalidate_phys_range’
void tb_invalidate_phys_range(ram_addr_t start, ram_addr_t end);
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from source/qemu/exec.c:24:0:
source/qemu/include/exec/exec-all.h:309:6: note: previous declaration of ‘tb_invalidate_phys_range’ was here
void tb_invalidate_phys_range(target_ulong start, target_ulong end);
^~~~~~~~~~~~~~~~~~~~~~~~
source/qemu/exec.c:1043:6: error: conflicting types for ‘tb_invalidate_phys_addr’
void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs)
^~~~~~~~~~~~~~~~~~~~~~~
In file included from source/qemu/exec.c:24:0:
source/qemu/include/exec/exec-all.h:308:6: note: previous declaration of ‘tb_invalidate_phys_addr’ was here
void tb_invalidate_phys_addr(target_ulong addr);
^~~~~~~~~~~~~~~~~~~~~~~
make: *** [source/qemu/rules.mak:69: exec.o] Error 1
make: Leaving directory 'i386-softmmu'

Tested to build x86_64-softmmu and i386-softmmu targets.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180629200710.27626-1-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


stubs/tcg-stub.c
/openbmc/qemu/block.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/crypto.h
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/sheepdog.c
/openbmc/qemu/block/ssh.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/configure
/openbmc/qemu/crypto/hash-glib.c
/openbmc/qemu/crypto/hmac-glib.c
/openbmc/qemu/device_tree.c
/openbmc/qemu/docs/devel/qapi-code-gen.txt
/openbmc/qemu/exec.c
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/fsl-imx7.c
/openbmc/qemu/hw/arm/mcimx7d-sabre.c
/openbmc/qemu/hw/arm/sysbus-fdt.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/nvme.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/pflash_cfi02.c
/openbmc/qemu/hw/block/trace-events
/openbmc/qemu/hw/char/parallel.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/input/trace-events
/openbmc/qemu/hw/input/tsc2005.c
/openbmc/qemu/hw/net/etraxfs_eth.c
/openbmc/qemu/hw/net/ne2000.c
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/core.c
/openbmc/qemu/hw/sd/milkymist-memcard.c
/openbmc/qemu/hw/sd/omap_mmc.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/raw-aio.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/glib-compat.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/qemu/cutils.h
/openbmc/qemu/include/qemu/iova-tree.h
/openbmc/qemu/include/sysemu/device_tree.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/monitor.c
/openbmc/qemu/qapi/job.json
/openbmc/qemu/qga/commands.c
/openbmc/qemu/qobject/block-qdict.c
/openbmc/qemu/scripts/simpletrace.py
/openbmc/qemu/scripts/tracetool/backend/log.py
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/helper-sve.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/helper.h
/openbmc/qemu/target/arm/kvm32.c
/openbmc/qemu/target/arm/sve.decode
/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/arm/vec_helper.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/target/xtensa/overlay_tool.h
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tests/ivshmem-test.c
/openbmc/qemu/tests/qemu-iotests/026
/openbmc/qemu/tests/qemu-iotests/026.out
/openbmc/qemu/tests/qemu-iotests/026.out.nocache
/openbmc/qemu/tests/qemu-iotests/060
/openbmc/qemu/tests/qemu-iotests/060.out
/openbmc/qemu/tests/qemu-iotests/063
/openbmc/qemu/tests/qemu-iotests/063.out
/openbmc/qemu/tests/test-qga.c
/openbmc/qemu/tests/test-qmp-event.c
/openbmc/qemu/tests/tpm-emu.h
/openbmc/qemu/tests/vhost-user-test.c
/openbmc/qemu/trace/simple.c
/openbmc/qemu/util/cutils.c
/openbmc/qemu/util/iova-tree.c
/openbmc/qemu/util/osdep.c
/openbmc/qemu/util/qemu-option.c
/openbmc/qemu/util/uri.c
109b250429-Jun-2018 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

* "info mtree" improvements (Alexey)
* fake VPD block limits for SCSI passthrough (Daniel Barboza)
* chardev and main lo

Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

* "info mtree" improvements (Alexey)
* fake VPD block limits for SCSI passthrough (Daniel Barboza)
* chardev and main loop fixes (Daniel Berrangé, Sergio, Stefan)
* help fixes (Eduardo)
* pc-dimm refactoring (David)
* tests improvements and fixes (Emilio, Thomas)
* SVM emulation fixes (Jan)
* MemoryRegionCache fix (Eric)
* WHPX improvements (Justin)
* ESP cleanup (Mark)
* -overcommit option (Michael)
* qemu-pr-helper fixes (me)
* "info pic" improvements for x86 (Peter)
* x86 TCG emulation fixes (Richard)
* KVM slot handling fix (Shannon)
* Next round of deprecation (Thomas)
* Windows dump format support (Viktor)

# gpg: Signature made Fri 29 Jun 2018 12:03:05 BST
# gpg: using RSA key BFFBD25F78C7AE83
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
# gpg: aka "Paolo Bonzini <pbonzini@redhat.com>"
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4 E2F7 7E15 100C CD36 69B1
# Subkey fingerprint: F133 3857 4B66 2389 866C 7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream: (60 commits)
tests/boot-serial: Do not delete the output file in case of errors
hw/scsi: add VPD Block Limits emulation
hw/scsi: centralize SG_IO calls into single function
hw/scsi: cleanups before VPD BL emulation
dump: add Windows live system dump
dump: add fallback KDBG using in Windows dump
dump: use system context in Windows dump
dump: add Windows dump format to dump-guest-memory
i386/cpu: make -cpu host support monitor/mwait
kvm: support -overcommit cpu-pm=on|off
hmp: obsolete "info ioapic"
ioapic: support "info irq"
ioapic: some proper indents when dump info
ioapic: support "info pic"
doc: another fix to "info pic"
target-i386: Mark cpu_vmexit noreturn
target-i386: Allow interrupt injection after STGI
target-i386: Add NMI interception to SVM
memory/hmp: Print owners/parents in "info mtree"
WHPX: register for unrecognized MSR exits
...

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

show more ...


/openbmc/qemu/Makefile.target
kvm/kvm-all.c
tcg/translate-all.c
tcg/translate-all.h
tcg/user-exec-stub.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char-stdio.c
/openbmc/qemu/configure
/openbmc/qemu/docs/COLO-FT.txt
/openbmc/qemu/docs/can.txt
/openbmc/qemu/docs/multi-thread-compression.txt
/openbmc/qemu/docs/multiseat.txt
/openbmc/qemu/docs/specs/tpm.txt
/openbmc/qemu/dump.c
/openbmc/qemu/exec.c
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hmp.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/i386/kvm/ioapic.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/intc/ioapic_common.c
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/mem/nvdimm.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ram_addr.h
/openbmc/qemu/include/hw/i386/ioapic_internal.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/mem/nvdimm.h
/openbmc/qemu/include/hw/mem/pc-dimm.h
/openbmc/qemu/include/hw/scsi/esp.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/qemu/main-loop.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/thread-posix.h
/openbmc/qemu/include/qemu/thread-win32.h
/openbmc/qemu/include/scsi/pr-manager.h
/openbmc/qemu/include/sysemu/hostmem.h
/openbmc/qemu/include/sysemu/kvm_int.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/memory.c
/openbmc/qemu/memory_ldst.inc.c
/openbmc/qemu/monitor.c
/openbmc/qemu/numa.c
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scsi/Makefile.objs
/openbmc/qemu/scsi/pr-manager-helper.c
/openbmc/qemu/scsi/pr-manager-stub.c
/openbmc/qemu/scsi/pr-manager.c
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/seg_helper.c
/openbmc/qemu/target/i386/svm_helper.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/i386/whp-dispatch.h
/openbmc/qemu/target/i386/whpx-all.c
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/tests/atomic_add-bench.c
/openbmc/qemu/tests/boot-serial-test.c
/openbmc/qemu/trace/control-target.c
/openbmc/qemu/util/qemu-thread-common.h
/openbmc/qemu/util/qemu-thread-posix.c
/openbmc/qemu/util/qemu-thread-win32.c
/openbmc/qemu/vl.c
/openbmc/qemu/win_dump.c
/openbmc/qemu/win_dump.h
2266d44322-Jun-2018 Michael S. Tsirkin <mst@redhat.com>

i386/cpu: make -cpu host support monitor/mwait

When guest CPU PM is enabled, and with -cpu host, expose the host CPU
MWAIT leaf in the CPUID so guest can make good PM decisions.

Note: the result is

i386/cpu: make -cpu host support monitor/mwait

When guest CPU PM is enabled, and with -cpu host, expose the host CPU
MWAIT leaf in the CPUID so guest can make good PM decisions.

Note: the result is 100% CPU utilization reported by host as host
no longer knows that the CPU is halted.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20180622192148.178309-3-mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


tcg/user-exec-stub.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/configure
/openbmc/qemu/docs/COLO-FT.txt
/openbmc/qemu/docs/can.txt
/openbmc/qemu/docs/multi-thread-compression.txt
/openbmc/qemu/docs/multiseat.txt
/openbmc/qemu/docs/specs/tpm.txt
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/i386/kvm/ioapic.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/intc/ioapic.c
/openbmc/qemu/hw/intc/ioapic_common.c
/openbmc/qemu/hw/mem/nvdimm.c
/openbmc/qemu/hw/mem/pc-dimm.c
/openbmc/qemu/hw/mips/mips_jazz.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/i386/ioapic_internal.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/mem/nvdimm.h
/openbmc/qemu/include/hw/mem/pc-dimm.h
/openbmc/qemu/include/hw/scsi/esp.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/thread-posix.h
/openbmc/qemu/include/qemu/thread-win32.h
/openbmc/qemu/include/scsi/pr-manager.h
/openbmc/qemu/include/sysemu/hostmem.h
/openbmc/qemu/include/sysemu/sysemu.h
/openbmc/qemu/memory.c
/openbmc/qemu/monitor.c
/openbmc/qemu/numa.c
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qemu-doc.texi
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scsi/Makefile.objs
/openbmc/qemu/scsi/pr-manager-helper.c
/openbmc/qemu/scsi/pr-manager-stub.c
/openbmc/qemu/scsi/pr-manager.c
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/seg_helper.c
/openbmc/qemu/target/i386/svm_helper.c
/openbmc/qemu/target/i386/translate.c
/openbmc/qemu/target/i386/whpx-all.c
/openbmc/qemu/tests/atomic_add-bench.c
/openbmc/qemu/util/qemu-thread-common.h
/openbmc/qemu/util/qemu-thread-posix.c
/openbmc/qemu/util/qemu-thread-win32.c
/openbmc/qemu/vl.c
6c090d4a16-May-2018 Shannon Zhao <zhaoshenglong@huawei.com>

kvm: Delete the slot if and only if the KVM_MEM_READONLY flag is changed

According to KVM commit 75d61fbc, it needs to delete the slot before
changing the KVM_MEM_READONLY flag. But QEMU commit 235e

kvm: Delete the slot if and only if the KVM_MEM_READONLY flag is changed

According to KVM commit 75d61fbc, it needs to delete the slot before
changing the KVM_MEM_READONLY flag. But QEMU commit 235e8982 only check
whether KVM_MEM_READONLY flag is set instead of changing. It doesn't
need to delete the slot if the KVM_MEM_READONLY flag is not changed.

This fixes a issue that migrating a VM at the OVMF startup stage and
VM is executing the codes in rom. Between the deleting and adding the
slot in kvm_set_user_memory_region, there is a chance that guest access
rom and trap to KVM, then KVM can't find the corresponding memslot.
While KVM (on ARM) injects an abort to guest due to the broken hva, then
guest will get stuck.

Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Message-Id: <1526462314-19720-1-git-send-email-zhaoshenglong@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

8bca9a0330-May-2018 Paolo Bonzini <pbonzini@redhat.com>

move public invalidate APIs out of translate-all.{c,h}, clean up

Place them in exec.c, exec-all.h and ram_addr.h. This removes
knowledge of translate-all.h (which is an internal header) from
severa

move public invalidate APIs out of translate-all.{c,h}, clean up

Place them in exec.c, exec-all.h and ram_addr.h. This removes
knowledge of translate-all.h (which is an internal header) from
several files outside accel/tcg and removes knowledge of
AddressSpace from translate-all.c (as it only operates on ram_addr_t).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

7106a87d28-Jun-2018 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging

Pull request

* Gracefully handle Linux AIO init failure

# gpg: Signature made Wed 27 Jun 2018 15:48:28 BST
# g

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging

Pull request

* Gracefully handle Linux AIO init failure

# gpg: Signature made Wed 27 Jun 2018 15:48:28 BST
# gpg: using RSA key 9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>"
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/block-pull-request:
linux-aio: properly bubble up errors from initialization
compiler: add a sizeof_field() macro

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

show more ...

f18793b014-Jun-2018 Stefan Hajnoczi <stefanha@redhat.com>

compiler: add a sizeof_field() macro

Determining the size of a field is useful when you don't have a struct
variable handy. Open-coding this is ugly.

This patch adds the sizeof_field() macro, whic

compiler: add a sizeof_field() macro

Determining the size of a field is useful when you don't have a struct
variable handy. Open-coding this is ugly.

This patch adds the sizeof_field() macro, which is similar to
typeof_field(). Existing instances are updated to use the macro.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180614164431.29305-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...

d071f4cd22-May-2018 Emilio G. Cota <cota@braap.org>

trace: enable tracing of TCG atomics

We do not trace guest atomic accesses. Fix it.

Tested with a modified atomic_add-bench so that it executes
a deterministic number of instructions, i.e. fixed se

trace: enable tracing of TCG atomics

We do not trace guest atomic accesses. Fix it.

Tested with a modified atomic_add-bench so that it executes
a deterministic number of instructions, i.e. fixed seeding,
no threading and fixed number of loop iterations instead
of running for a certain time.

Before:
- With parallel_cpus = false (no clone syscall so it is never set to true):
220070 memory accesses
- With parallel_cpus = true (hard-coded):
212105 memory accesses <-- we're not tracing the atomics!

After:
220070 memory accesses regardless of parallel_cpus.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-id: 1527028012-21888-6-git-send-email-cota@braap.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...

1...<<41424344454647484950>>...55