History log of /openbmc/qemu/target/riscv/ (Results 376 – 400 of 1666)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2350881c11-Jul-2023 Lawrence Hunter <lawrence.hunter@codethink.co.uk>

target/riscv: Add Zvksh ISA extension support

This commit adds support for the Zvksh vector-crypto extension, which
consists of the following instructions:

* vsm3me.vv
* vsm3c.vi

Translation funct

target/riscv: Add Zvksh ISA extension support

This commit adds support for the Zvksh vector-crypto extension, which
consists of the following instructions:

* vsm3me.vv
* vsm3c.vi

Translation functions are defined in
`target/riscv/insn_trans/trans_rvvk.c.inc` and helpers are defined in
`target/riscv/vcrypto_helper.c`.

Co-authored-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
[max.chou@sifive.com: Replaced vstart checking by TCG op]
Signed-off-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
Signed-off-by: Lawrence Hunter <lawrence.hunter@codethink.co.uk>
Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
[max.chou@sifive.com: Exposed x-zvksh property]
Message-ID: <20230711165917.2629866-12-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

fcf1943311-Jul-2023 Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>

target/riscv: Add Zvknh ISA extension support

This commit adds support for the Zvknh vector-crypto extension, which
consists of the following instructions:

* vsha2ms.vv
* vsha2c[hl].vv

Translation

target/riscv: Add Zvknh ISA extension support

This commit adds support for the Zvknh vector-crypto extension, which
consists of the following instructions:

* vsha2ms.vv
* vsha2c[hl].vv

Translation functions are defined in
`target/riscv/insn_trans/trans_rvvk.c.inc` and helpers are defined in
`target/riscv/vcrypto_helper.c`.

Co-authored-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Co-authored-by: Lawrence Hunter <lawrence.hunter@codethink.co.uk>
[max.chou@sifive.com: Replaced vstart checking by TCG op]
Signed-off-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Signed-off-by: Lawrence Hunter <lawrence.hunter@codethink.co.uk>
Signed-off-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
[max.chou@sifive.com: Exposed x-zvknha & x-zvknhb properties]
[max.chou@sifive.com: Replaced SEW selection to happened during
translation]
Message-ID: <20230711165917.2629866-11-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

e972bf2211-Jul-2023 Nazar Kazakov <nazar.kazakov@codethink.co.uk>

target/riscv: Add Zvkned ISA extension support

This commit adds support for the Zvkned vector-crypto extension, which
consists of the following instructions:

* vaesef.[vv,vs]
* vaesdf.[vv,vs]
* vae

target/riscv: Add Zvkned ISA extension support

This commit adds support for the Zvkned vector-crypto extension, which
consists of the following instructions:

* vaesef.[vv,vs]
* vaesdf.[vv,vs]
* vaesdm.[vv,vs]
* vaesz.vs
* vaesem.[vv,vs]
* vaeskf1.vi
* vaeskf2.vi

Translation functions are defined in
`target/riscv/insn_trans/trans_rvvk.c.inc` and helpers are defined in
`target/riscv/vcrypto_helper.c`.

Co-authored-by: Lawrence Hunter <lawrence.hunter@codethink.co.uk>
Co-authored-by: William Salmon <will.salmon@codethink.co.uk>
[max.chou@sifive.com: Replaced vstart checking by TCG op]
Signed-off-by: Lawrence Hunter <lawrence.hunter@codethink.co.uk>
Signed-off-by: William Salmon <will.salmon@codethink.co.uk>
Signed-off-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
[max.chou@sifive.com: Imported aes-round.h and exposed x-zvkned
property]
[max.chou@sifive.com: Fixed endian issues and replaced the vstart & vl
egs checking by helper function]
[max.chou@sifive.com: Replaced bswap32 calls in aes key expanding]
Message-ID: <20230711165917.2629866-10-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

0602847211-Jul-2023 Dickon Hood <dickon.hood@codethink.co.uk>

target/riscv: Add Zvbb ISA extension support

This commit adds support for the Zvbb vector-crypto extension, which
consists of the following instructions:

* vrol.[vv,vx]
* vror.[vv,vx,vi]
* vbrev8.v

target/riscv: Add Zvbb ISA extension support

This commit adds support for the Zvbb vector-crypto extension, which
consists of the following instructions:

* vrol.[vv,vx]
* vror.[vv,vx,vi]
* vbrev8.v
* vrev8.v
* vandn.[vv,vx]
* vbrev.v
* vclz.v
* vctz.v
* vcpop.v
* vwsll.[vv,vx,vi]

Translation functions are defined in
`target/riscv/insn_trans/trans_rvvk.c.inc` and helpers are defined in
`target/riscv/vcrypto_helper.c`.

Co-authored-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Co-authored-by: William Salmon <will.salmon@codethink.co.uk>
Co-authored-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
[max.chou@sifive.com: Fix imm mode of vror.vi]
Signed-off-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Signed-off-by: William Salmon <will.salmon@codethink.co.uk>
Signed-off-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
Signed-off-by: Dickon Hood <dickon.hood@codethink.co.uk>
Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
[max.chou@sifive.com: Exposed x-zvbb property]
Message-ID: <20230711165917.2629866-9-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

2152e48b11-Jul-2023 Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>

target/riscv: Refactor some of the generic vector functionality

Move some macros out of `vector_helper` and into `vector_internals`.
This ensures they can be used by both vector and vector-crypto he

target/riscv: Refactor some of the generic vector functionality

Move some macros out of `vector_helper` and into `vector_internals`.
This ensures they can be used by both vector and vector-crypto helpers
(latter implemented in proceeding commits).

Signed-off-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Max Chou <max.chou@sifive.com>
Message-ID: <20230711165917.2629866-8-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

62cb3e8e11-Jul-2023 Dickon Hood <dickon.hood@codethink.co.uk>

target/riscv: Refactor translation of vector-widening instruction

Zvbb (implemented in later commit) has a widening instruction, which
requires an extra check on the enabled extensions. Refactor
GE

target/riscv: Refactor translation of vector-widening instruction

Zvbb (implemented in later commit) has a widening instruction, which
requires an extra check on the enabled extensions. Refactor
GEN_OPIVX_WIDEN_TRANS() to take a check function to avoid reimplementing
it.

Signed-off-by: Dickon Hood <dickon.hood@codethink.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Max Chou <max.chou@sifive.com>
Message-ID: <20230711165917.2629866-7-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

1ac7a50111-Jul-2023 Nazar Kazakov <nazar.kazakov@codethink.co.uk>

target/riscv: Move vector translation checks

Move the checks out of `do_opiv{v,x,i}_gvec{,_shift}` functions
and into the corresponding macros. This enables the functions to be
reused in proceeding

target/riscv: Move vector translation checks

Move the checks out of `do_opiv{v,x,i}_gvec{,_shift}` functions
and into the corresponding macros. This enables the functions to be
reused in proceeding commits without check duplication.

Signed-off-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Max Chou <max.chou@sifive.com>
Message-ID: <20230711165917.2629866-6-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

e13c7d3b11-Jul-2023 Lawrence Hunter <lawrence.hunter@codethink.co.uk>

target/riscv: Add Zvbc ISA extension support

This commit adds support for the Zvbc vector-crypto extension, which
consists of the following instructions:

* vclmulh.[vx,vv]
* vclmul.[vx,vv]

Transla

target/riscv: Add Zvbc ISA extension support

This commit adds support for the Zvbc vector-crypto extension, which
consists of the following instructions:

* vclmulh.[vx,vv]
* vclmul.[vx,vv]

Translation functions are defined in
`target/riscv/insn_trans/trans_rvvk.c.inc` and helpers are defined in
`target/riscv/vcrypto_helper.c`.

Co-authored-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Co-authored-by: Max Chou <max.chou@sifive.com>
Signed-off-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Signed-off-by: Lawrence Hunter <lawrence.hunter@codethink.co.uk>
Signed-off-by: Max Chou <max.chou@sifive.com>
[max.chou@sifive.com: Exposed x-zvbc property]
Message-ID: <20230711165917.2629866-5-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

922f873511-Jul-2023 Nazar Kazakov <nazar.kazakov@codethink.co.uk>

target/riscv: Remove redundant "cpu_vl == 0" checks

Remove the redundant "vl == 0" check which is already included within the vstart >= vl check, when vl == 0.

Signed-off-by: Nazar Kazakov <nazar.

target/riscv: Remove redundant "cpu_vl == 0" checks

Remove the redundant "vl == 0" check which is already included within the vstart >= vl check, when vl == 0.

Signed-off-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Max Chou <max.chou@sifive.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20230711165917.2629866-4-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

a44f19f611-Jul-2023 Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>

target/riscv: Refactor vector-vector translation macro

Refactor the non SEW-specific stuff out of `GEN_OPIVV_TRANS` into
function `opivv_trans` (similar to `opivi_trans`). `opivv_trans` will be
used

target/riscv: Refactor vector-vector translation macro

Refactor the non SEW-specific stuff out of `GEN_OPIVV_TRANS` into
function `opivv_trans` (similar to `opivi_trans`). `opivv_trans` will be
used in proceeding vector-crypto commits.

Signed-off-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Max Chou <max.chou@sifive.com>
Message-ID: <20230711165917.2629866-3-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

98f40dd211-Jul-2023 Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>

target/riscv: Refactor some of the generic vector functionality

Take some functions/macros out of `vector_helper` and put them in a new
module called `vector_internals`. This ensures they can be use

target/riscv: Refactor some of the generic vector functionality

Take some functions/macros out of `vector_helper` and put them in a new
module called `vector_internals`. This ensures they can be used by both
vector and vector-crypto helpers (latter implemented in proceeding
commits).

Signed-off-by: Kiran Ostrolenk <kiran.ostrolenk@codethink.co.uk>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Max Chou <max.chou@sifive.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20230711165917.2629866-2-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

9ea1700731-Jul-2023 Ard Biesheuvel <ardb@kernel.org>

target/riscv: Use existing lookup tables for MixColumns

The AES MixColumns and InvMixColumns operations are relatively
expensive 4x4 matrix multiplications in GF(2^8), which is why C
implementations

target/riscv: Use existing lookup tables for MixColumns

The AES MixColumns and InvMixColumns operations are relatively
expensive 4x4 matrix multiplications in GF(2^8), which is why C
implementations usually rely on precomputed lookup tables rather than
performing the calculations on demand.

Given that we already carry those tables in QEMU, we can just grab the
right value in the implementation of the RISC-V AES32 instructions. Note
that the tables in question are permuted according to the respective
Sbox, so we can omit the Sbox lookup as well in this case.

Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
Cc: Zewen Ye <lustrew@foxmail.com>
Cc: Weiwei Li <liweiwei@iscas.ac.cn>
Cc: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20230731084043.1791984-1-ardb@kernel.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

4cc9f28428-Jul-2023 LIU Zhiwei <zhiwei_liu@linux.alibaba.com>

target/riscv: Fix page_check_range use in fault-only-first

Commit bef6f008b98(accel/tcg: Return bool from page_check_range) converts
integer return value to bool type. However, it wrongly converted

target/riscv: Fix page_check_range use in fault-only-first

Commit bef6f008b98(accel/tcg: Return bool from page_check_range) converts
integer return value to bool type. However, it wrongly converted the use
of the API in riscv fault-only-first, where page_check_range < = 0, should
be converted to !page_check_range.

Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20230729031618.821-1-zhiwei_liu@linux.alibaba.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

03d7bbfd20-Jul-2023 Daniel Henrique Barboza <dbarboza@ventanamicro.com>

target/riscv/cpu.c: add smepmp isa string

The cpu->cfg.epmp extension is still experimental, but it already has a
'smepmp' riscv,isa string. Add it.

Signed-off-by: Daniel Henrique Barboza <dbarboza

target/riscv/cpu.c: add smepmp isa string

The cpu->cfg.epmp extension is still experimental, but it already has a
'smepmp' riscv,isa string. Add it.

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230720132424.371132-3-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

50f9464920-Jul-2023 Daniel Henrique Barboza <dbarboza@ventanamicro.com>

target/riscv/cpu.c: add zmmul isa string

zmmul was promoted from experimental to ratified in commit 6d00ffad4e95.
Add a riscv,isa string for it.

Fixes: 6d00ffad4e95 ("target/riscv: move zmmul out o

target/riscv/cpu.c: add zmmul isa string

zmmul was promoted from experimental to ratified in commit 6d00ffad4e95.
Add a riscv,isa string for it.

Fixes: 6d00ffad4e95 ("target/riscv: move zmmul out of the experimental properties")
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230720132424.371132-2-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

782ee71121-Jul-2023 Daniel Henrique Barboza <dbarboza@ventanamicro.com>

target/riscv/cpu.c: do not run 'host' CPU with TCG

The 'host' CPU is available in a CONFIG_KVM build and it's currently
available for all accels, but is a KVM only CPU. This means that in a
RISC-V K

target/riscv/cpu.c: do not run 'host' CPU with TCG

The 'host' CPU is available in a CONFIG_KVM build and it's currently
available for all accels, but is a KVM only CPU. This means that in a
RISC-V KVM capable host we can do things like this:

$ ./build/qemu-system-riscv64 -M virt,accel=tcg -cpu host --nographic
qemu-system-riscv64: H extension requires priv spec 1.12.0

This CPU does not have a priv spec because we don't filter its extensions
via priv spec. We shouldn't be reaching riscv_cpu_realize_tcg() at all
with the 'host' CPU.

We don't have a way to filter the 'host' CPU out of the available CPU
options (-cpu help) if the build includes both KVM and TCG. What we can
do is to error out during riscv_cpu_realize_tcg() if the user chooses
the 'host' CPU with accel=tcg:

$ ./build/qemu-system-riscv64 -M virt,accel=tcg -cpu host --nographic
qemu-system-riscv64: 'host' CPU is not compatible with TCG acceleration

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230721133411.474105-1-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/audio/mixeng.h
/openbmc/qemu/backends/tpm/tpm_ioctl.h
/openbmc/qemu/block.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/export/vduse-blk.c
/openbmc/qemu/block/export/vhost-user-blk-server.c
/openbmc/qemu/block/export/vhost-user-blk-server.h
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/graph-lock.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/linux-aio.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vhdx.h
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/cpu.c
/openbmc/qemu/crypto/afalg.c
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/crypto/der.c
/openbmc/qemu/crypto/der.h
/openbmc/qemu/docs/multi-thread-compression.txt
/openbmc/qemu/docs/rdma.txt
/openbmc/qemu/docs/specs/pci-ids.rst
/openbmc/qemu/docs/tools/qemu-nbd.rst
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/audio/fmopl.c
/openbmc/qemu/hw/audio/fmopl.h
/openbmc/qemu/hw/audio/gusemu_hal.c
/openbmc/qemu/hw/audio/intel-hda-defs.h
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/meson.build
/openbmc/qemu/hw/microblaze/boot.c
/openbmc/qemu/hw/mips/jazz.c
/openbmc/qemu/hw/mips/malta.c
/openbmc/qemu/hw/mips/mipssim.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/nios2/boot.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ufs/Kconfig
/openbmc/qemu/hw/ufs/lu.c
/openbmc/qemu/hw/ufs/meson.build
/openbmc/qemu/hw/ufs/trace-events
/openbmc/qemu/hw/ufs/trace.h
/openbmc/qemu/hw/ufs/ufs.c
/openbmc/qemu/hw/ufs/ufs.h
/openbmc/qemu/hw/xen/xen_pvdev.c
/openbmc/qemu/hw/xtensa/sim.c
/openbmc/qemu/hw/xtensa/xtfpga.c
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/block/ufs.h
/openbmc/qemu/include/chardev/char-fe.h
/openbmc/qemu/include/crypto/akcipher.h
/openbmc/qemu/include/crypto/ivgen.h
/openbmc/qemu/include/exec/translator.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/pc-hotplug.h
/openbmc/qemu/include/hw/acpi/vmgenid.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/char/avr_usart.h
/openbmc/qemu/include/hw/clock.h
/openbmc/qemu/include/hw/cxl/cxl_device.h
/openbmc/qemu/include/hw/hyperv/vmbus.h
/openbmc/qemu/include/hw/misc/macio/pmu.h
/openbmc/qemu/include/hw/net/mii.h
/openbmc/qemu/include/hw/pci-host/dino.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_ids.h
/openbmc/qemu/include/hw/pci/pcie_aer.h
/openbmc/qemu/include/hw/ssi/xilinx_spips.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/io/channel-util.h
/openbmc/qemu/include/io/channel.h
/openbmc/qemu/include/qemu/vhost-user-server.h
/openbmc/qemu/include/scsi/constants.h
/openbmc/qemu/include/sysemu/cryptodev-vhost.h
/openbmc/qemu/include/sysemu/cryptodev.h
/openbmc/qemu/include/sysemu/iothread.h
/openbmc/qemu/include/sysemu/stats.h
/openbmc/qemu/include/sysemu/tpm_backend.h
/openbmc/qemu/io/channel-command.c
/openbmc/qemu/io/channel-file.c
/openbmc/qemu/io/channel-null.c
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/io/channel-tls.c
/openbmc/qemu/io/channel-util.c
/openbmc/qemu/io/channel.c
/openbmc/qemu/iothread.c
/openbmc/qemu/meson.build
/openbmc/qemu/migration/channel-block.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/nbd/client-connection.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/checksum.c
/openbmc/qemu/net/filter.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/channel-posix.c
/openbmc/qemu/qga/commands-posix-ssh.c
/openbmc/qemu/qga/commands-posix.c
/openbmc/qemu/qga/commands-win32.c
/openbmc/qemu/qga/main.c
/openbmc/qemu/qga/vss-win32/install.cpp
/openbmc/qemu/scripts/checkpatch.pl
/openbmc/qemu/scripts/ci/gitlab-pipeline-status
/openbmc/qemu/scripts/codeconverter/codeconverter/qom_macros.py
/openbmc/qemu/scripts/oss-fuzz/minimize_qtest_trace.py
/openbmc/qemu/scripts/performance/topN_callgrind.py
/openbmc/qemu/scripts/performance/topN_perf.py
/openbmc/qemu/scripts/qapi/gen.py
/openbmc/qemu/scripts/replay-dump.py
/openbmc/qemu/scripts/simplebench/bench_block_job.py
/openbmc/qemu/scsi/qemu-pr-helper.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/ppc/translate.c
cpu.c
/openbmc/qemu/tests/avocado/acpi-bits.py
/openbmc/qemu/tests/avocado/acpi-bits/bits-tests/testacpi.py2
/openbmc/qemu/tests/decode/err_pattern_group_ident2.decode
/openbmc/qemu/tests/docker/common.rc
/openbmc/qemu/tests/migration/guestperf-batch.py
/openbmc/qemu/tests/migration/guestperf.py
/openbmc/qemu/tests/plugin/mem.c
/openbmc/qemu/tests/qapi-schema/bad-if-not.json
/openbmc/qemu/tests/qemu-iotests/029
/openbmc/qemu/tests/qemu-iotests/040
/openbmc/qemu/tests/qemu-iotests/046
/openbmc/qemu/tests/qemu-iotests/059
/openbmc/qemu/tests/qemu-iotests/061
/openbmc/qemu/tests/qemu-iotests/071
/openbmc/qemu/tests/qemu-iotests/181
/openbmc/qemu/tests/qemu-iotests/197
/openbmc/qemu/tests/qemu-iotests/197.out
/openbmc/qemu/tests/qemu-iotests/215
/openbmc/qemu/tests/qemu-iotests/298
/openbmc/qemu/tests/qemu-iotests/pylintrc
/openbmc/qemu/tests/qtest/ahci-test.c
/openbmc/qemu/tests/qtest/bcm2835-dma-test.c
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/ds1338-test.c
/openbmc/qemu/tests/qtest/fuzz/generic_fuzz.c
/openbmc/qemu/tests/qtest/libqos/qgraph.c
/openbmc/qemu/tests/qtest/libqos/qgraph_internal.h
/openbmc/qemu/tests/qtest/libqos/virtio-gpio.c
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/npcm7xx_timer-test.c
/openbmc/qemu/tests/qtest/test-hmp.c
/openbmc/qemu/tests/qtest/tpm-emu.c
/openbmc/qemu/tests/qtest/tpm-tests.c
/openbmc/qemu/tests/qtest/tpm-tests.h
/openbmc/qemu/tests/qtest/tpm-tis-i2c-test.c
/openbmc/qemu/tests/qtest/tpm-tis-util.c
/openbmc/qemu/tests/qtest/ufs-test.c
/openbmc/qemu/tests/qtest/usb-hcd-uhci-test.c
/openbmc/qemu/tests/qtest/usb-hcd-xhci-test.c
/openbmc/qemu/tests/qtest/vhost-user-blk-test.c
/openbmc/qemu/tests/qtest/virtio-net-test.c
/openbmc/qemu/tests/qtest/vmgenid-test.c
/openbmc/qemu/tests/tsan/suppressions.tsan
/openbmc/qemu/tests/uefi-test-tools/Makefile
/openbmc/qemu/tests/unit/check-qjson.c
/openbmc/qemu/tests/unit/test-aio.c
/openbmc/qemu/tests/unit/test-bdrv-graph-mod.c
/openbmc/qemu/tests/unit/test-crypto-secret.c
/openbmc/qemu/tests/unit/test-qobject-input-visitor.c
/openbmc/qemu/tests/unit/test-throttle.c
/openbmc/qemu/tests/unit/test-util-filemonitor.c
/openbmc/qemu/tests/unit/test-xs-node.c
/openbmc/qemu/tests/vm/Makefile.include
/openbmc/qemu/tests/vm/ubuntuvm.py
/openbmc/qemu/util/iov.c
/openbmc/qemu/util/vhost-user-server.c
42fe749914-Jul-2023 Michael Tokarev <mjt@tls.msk.ru>

riscv: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Acked-by: Alistair Francis <alistair.francis@wdc.com>


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/tcg/meson.build
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/parallels.h
/openbmc/qemu/bsd-user/trace-events
/openbmc/qemu/chardev/meson.build
/openbmc/qemu/configure
/openbmc/qemu/contrib/plugins/Makefile
/openbmc/qemu/contrib/plugins/cache.c
/openbmc/qemu/contrib/plugins/drcov.c
/openbmc/qemu/contrib/plugins/howvec.c
/openbmc/qemu/contrib/plugins/lockstep.c
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/kconfig.rst
/openbmc/qemu/docs/system/arm/aspeed.rst
/openbmc/qemu/docs/system/replay.rst
/openbmc/qemu/ebpf/trace-events
/openbmc/qemu/gdbstub/meson.build
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/xilinx_zynq.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/char/cadence_uart.c
/openbmc/qemu/hw/char/cmsdk-apb-uart.c
/openbmc/qemu/hw/char/ibex_uart.c
/openbmc/qemu/hw/char/nrf51_uart.c
/openbmc/qemu/hw/char/pl011.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/char/virtio-console.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/ssd0303.c
/openbmc/qemu/hw/display/ssd0323.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/pm_smbus.c
/openbmc/qemu/hw/i2c/pmbus_device.c
/openbmc/qemu/hw/i2c/smbus_slave.c
/openbmc/qemu/hw/i386/fw_cfg.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/kvm/clock.c
/openbmc/qemu/hw/i386/kvm/clock.h
/openbmc/qemu/hw/i386/kvm/i8254.c
/openbmc/qemu/hw/i386/kvm/ioapic.c
/openbmc/qemu/hw/i386/microvm.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/ahci_internal.h
/openbmc/qemu/hw/ide/cmd646.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/intc/pnv_xive.c
/openbmc/qemu/hw/intc/pnv_xive2.c
/openbmc/qemu/hw/intc/pnv_xive_regs.h
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/mips/malta.c
/openbmc/qemu/hw/nubus/trace-events
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/mac_oldworld.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/prep.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/vof.c
/openbmc/qemu/hw/riscv/microchip_pfsoc.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/sdmmc-internal.c
/openbmc/qemu/hw/sensor/isl_pmbus_vr.c
/openbmc/qemu/hw/sensor/max34451.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/ssi/ssi.c
/openbmc/qemu/hw/usb/ccid-card-emulated.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/quirks.h
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/usb/trace-events
/openbmc/qemu/hw/usb/xen-usb.c
/openbmc/qemu/hw/xtensa/pic_cpu.c
/openbmc/qemu/include/chardev/char-fe.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/exec/translation-block.h
/openbmc/qemu/include/hw/block/flash.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/i2c/npcm7xx_smbus.h
/openbmc/qemu/include/hw/misc/auxbus.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/riscv/riscv_hart.h
/openbmc/qemu/include/hw/sd/sd.h
/openbmc/qemu/include/hw/ssi/ssi.h
/openbmc/qemu/include/io/channel-socket.h
/openbmc/qemu/include/io/task.h
/openbmc/qemu/include/qemu/fifo8.h
/openbmc/qemu/include/qemu/host-utils.h
/openbmc/qemu/include/qemu/iova-tree.h
/openbmc/qemu/include/qemu/processor.h
/openbmc/qemu/include/qemu/selfmap.h
/openbmc/qemu/include/qemu/yank.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/include/sysemu/os-posix.h
/openbmc/qemu/include/sysemu/os-win32.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/kbd-state.h
/openbmc/qemu/include/ui/qemu-pixman.h
/openbmc/qemu/include/ui/spice-display.h
/openbmc/qemu/linux-user/aarch64/target_proc.h
/openbmc/qemu/linux-user/alpha/target_proc.h
/openbmc/qemu/linux-user/arm/target_proc.h
/openbmc/qemu/linux-user/cris/target_proc.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/hexagon/target_proc.h
/openbmc/qemu/linux-user/hppa/target_proc.h
/openbmc/qemu/linux-user/i386/target_proc.h
/openbmc/qemu/linux-user/loader.h
/openbmc/qemu/linux-user/loongarch64/target_proc.h
/openbmc/qemu/linux-user/m68k/target_proc.h
/openbmc/qemu/linux-user/microblaze/target_proc.h
/openbmc/qemu/linux-user/mips/target_proc.h
/openbmc/qemu/linux-user/mips64/target_proc.h
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/nios2/target_proc.h
/openbmc/qemu/linux-user/openrisc/target_proc.h
/openbmc/qemu/linux-user/ppc/target_proc.h
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/riscv/target_proc.h
/openbmc/qemu/linux-user/s390x/target_proc.h
/openbmc/qemu/linux-user/sh4/target_proc.h
/openbmc/qemu/linux-user/sparc/target_proc.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/user-mmap.h
/openbmc/qemu/linux-user/x86_64/target_proc.h
/openbmc/qemu/linux-user/xtensa/target_proc.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/monitor/monitor.c
/openbmc/qemu/net/meson.build
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/os-posix.c
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/python/Makefile
/openbmc/qemu/python/scripts/mkvenv.py
/openbmc/qemu/python/setup.cfg
/openbmc/qemu/python/tests/minreqs.txt
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qga/meson.build
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/qapi/mypy.ini
/openbmc/qemu/softmmu/async-teardown.c
/openbmc/qemu/softmmu/meson.build
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/storage-daemon/meson.build
/openbmc/qemu/subprojects/berkeley-testfloat-3.wrap
/openbmc/qemu/subprojects/libblkio.wrap
/openbmc/qemu/target/hexagon/README
/openbmc/qemu/target/hexagon/fma_emu.c
/openbmc/qemu/target/hexagon/idef-parser/README.rst
/openbmc/qemu/target/hexagon/idef-parser/idef-parser.h
/openbmc/qemu/target/hexagon/idef-parser/parser-helpers.c
/openbmc/qemu/target/hexagon/imported/alu.idef
/openbmc/qemu/target/hexagon/imported/macros.def
/openbmc/qemu/target/hexagon/imported/mmvec/ext.idef
/openbmc/qemu/target/i386/cpu-sysemu.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/helper.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/kvm_i386.h
/openbmc/qemu/target/i386/kvm/meson.build
/openbmc/qemu/target/i386/tcg/decode-new.c.inc
/openbmc/qemu/target/i386/tcg/decode-new.h
/openbmc/qemu/target/i386/tcg/emit.c.inc
/openbmc/qemu/target/i386/tcg/sysemu/fpu_helper.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/mips/cpu-defs.c.inc
/openbmc/qemu/target/mips/tcg/msa_helper.c
/openbmc/qemu/target/mips/tcg/mxu_translate.c
/openbmc/qemu/target/mips/tcg/sysemu/lcsr_helper.c
/openbmc/qemu/target/ppc/compat.c
/openbmc/qemu/target/ppc/cpu.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/helper.h
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/mmu-radix64.c
/openbmc/qemu/target/ppc/spr_common.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/ppc/translate/fixedpoint-impl.c.inc
cpu.h
cpu_bits.h
csr.c
debug.c
insn_trans/trans_rvf.c.inc
insn_trans/trans_rvv.c.inc
insn_trans/trans_rvzfh.c.inc
monitor.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/kvm/trace-events
/openbmc/qemu/target/xtensa/exc_helper.c
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/tcg/meson.build
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/avocado/machine_aspeed.py
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/avocado/reverse_debugging.py
/openbmc/qemu/tests/meson.build
/openbmc/qemu/tests/migration/meson.build
/openbmc/qemu/tests/qemu-iotests/131
/openbmc/qemu/tests/qemu-iotests/131.out
/openbmc/qemu/tests/qemu-iotests/tests/parallels-checks
/openbmc/qemu/tests/qemu-iotests/tests/parallels-checks.out
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/libqos/ahci.c
/openbmc/qemu/tests/qtest/libqos/ahci.h
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/netdev-socket.c
/openbmc/qemu/tests/qtest/usb-hcd-xhci-test.c
/openbmc/qemu/tests/tcg/aarch64/bti-1.c
/openbmc/qemu/tests/tcg/aarch64/bti-3.c
/openbmc/qemu/tests/tcg/aarch64/bti-crt.c.inc
/openbmc/qemu/tests/tcg/hexagon/fpstuff.c
/openbmc/qemu/tests/tcg/hexagon/test_clobber.S
/openbmc/qemu/tests/tcg/s390x/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/tests/tcg/s390x/precise-smc-softmmu.S
/openbmc/qemu/tests/tcg/s390x/precise-smc-user.c
/openbmc/qemu/tests/tcg/tricore/Makefile.softmmu-target
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/dbus-console.c
/openbmc/qemu/ui/dbus-listener.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/keymaps.h
/openbmc/qemu/ui/qemu-pixman.c
/openbmc/qemu/ui/sdl2-2d.c
/openbmc/qemu/ui/sdl2-input.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/spice-app.c
/openbmc/qemu/ui/spice-display.c
/openbmc/qemu/ui/ui-qmp-cmds.c
/openbmc/qemu/ui/vdagent.c
/openbmc/qemu/ui/vnc-enc-hextile-template.h
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/ui/vnc-enc-zrle.c.inc
/openbmc/qemu/ui/vnc-enc-zywrle.h
/openbmc/qemu/util/cpuinfo-aarch64.c
/openbmc/qemu/util/cpuinfo-i386.c
/openbmc/qemu/util/cpuinfo-ppc.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/qdist.c
/openbmc/qemu/util/qemu-sockets.c
/openbmc/qemu/util/rcu.c
/openbmc/qemu/util/selfmap.c
73c1970628-Aug-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target/helpers: Remove unnecessary 'qemu/main-loop.h' header

"qemu/main-loop.h" declares functions related to QEMU's
main loop mutex, which these files don't access. Remove
the unused "qemu/main-loo

target/helpers: Remove unnecessary 'qemu/main-loop.h' header

"qemu/main-loop.h" declares functions related to QEMU's
main loop mutex, which these files don't access. Remove
the unused "qemu/main-loop.h" header.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-8-philmd@linaro.org>

show more ...

907a2af128-Aug-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header

These files don't use the CPU ld/st API, remove the unnecessary
"exec/cpu_ldst.h" header.

Reviewed-by: Richard Henderson <richard.henders

target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header

These files don't use the CPU ld/st API, remove the unnecessary
"exec/cpu_ldst.h" header.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230828221314.18435-7-philmd@linaro.org>

show more ...

09b07f2828-Aug-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target/translate: Include missing 'exec/cpu_ldst.h' header

All these files access the CPU LD/ST API declared in "exec/cpu_ldst.h".

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

target/translate: Include missing 'exec/cpu_ldst.h' header

All these files access the CPU LD/ST API declared in "exec/cpu_ldst.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-4-philmd@linaro.org>

show more ...

abaf3e5b28-Aug-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target/riscv/pmu: Restrict 'qemu/log.h' include to source

Declarations from "riscv/pmu.h" don't need anything from "qemu/log.h",
reduce it's inclusion to the source.

Signed-off-by: Philippe Mathieu

target/riscv/pmu: Restrict 'qemu/log.h' include to source

Declarations from "riscv/pmu.h" don't need anything from "qemu/log.h",
reduce it's inclusion to the source.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-3-philmd@linaro.org>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest-template.yml
/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/cirrus/freebsd-13.vars
/openbmc/qemu/.gitlab-ci.d/cirrus/macos-12.vars
/openbmc/qemu/.gitlab-ci.d/crossbuild-template.yml
/openbmc/qemu/.gitlab-ci.d/windows.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/Kconfig
/openbmc/qemu/accel/stubs/meson.build
/openbmc/qemu/accel/tcg/cpu-exec-common.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/tb-maint.c
/openbmc/qemu/block.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/bsd-user/arm/target_arch_elf.h
/openbmc/qemu/bsd-user/bsd-file.h
/openbmc/qemu/bsd-user/elfload.c
/openbmc/qemu/bsd-user/freebsd/meson.build
/openbmc/qemu/bsd-user/freebsd/os-stat.c
/openbmc/qemu/bsd-user/freebsd/os-stat.h
/openbmc/qemu/bsd-user/freebsd/os-syscall.c
/openbmc/qemu/bsd-user/freebsd/qemu-os.h
/openbmc/qemu/bsd-user/i386/target_arch_elf.h
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/bsd-user/signal.c
/openbmc/qemu/bsd-user/syscall_defs.h
/openbmc/qemu/bsd-user/x86_64/target_arch_elf.h
/openbmc/qemu/configure
/openbmc/qemu/contrib/plugins/cache.c
/openbmc/qemu/contrib/plugins/lockstep.c
/openbmc/qemu/crypto/hmacpriv.h
/openbmc/qemu/docs/about/build-platforms.rst
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/index.rst
/openbmc/qemu/docs/about/removed-features.rst
/openbmc/qemu/docs/devel/acpi-bits.rst
/openbmc/qemu/docs/devel/ci-jobs.rst.inc
/openbmc/qemu/docs/devel/style.rst
/openbmc/qemu/docs/devel/tcg-ops.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/system/index.rst
/openbmc/qemu/docs/system/introduction.rst
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/gdbstub/internals.h
/openbmc/qemu/gdbstub/softmmu.c
/openbmc/qemu/gdbstub/user.c
/openbmc/qemu/hw/arm/armsse.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/fsl-imx6ul.c
/openbmc/qemu/hw/arm/fsl-imx7.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/xen_arm.c
/openbmc/qemu/hw/dma/etraxfs_dma.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/misc/imx7_src.c
/openbmc/qemu/hw/misc/meson.build
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/rtc/aspeed_rtc.c
/openbmc/qemu/hw/rtc/m48t59.c
/openbmc/qemu/hw/rtc/twl92230.c
/openbmc/qemu/hw/xen/xen_pt.h
/openbmc/qemu/include/block/block-common.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/crypto/secret_common.h
/openbmc/qemu/include/exec/address-spaces.h
/openbmc/qemu/include/exec/cpu-all.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/exec/memory_ldst.h.inc
/openbmc/qemu/include/exec/page-vary.h
/openbmc/qemu/include/exec/poison.h
/openbmc/qemu/include/hw/arm/armsse.h
/openbmc/qemu/include/hw/arm/armv7m.h
/openbmc/qemu/include/hw/arm/fsl-imx6ul.h
/openbmc/qemu/include/hw/arm/fsl-imx7.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/core/tcg-cpu-ops.h
/openbmc/qemu/include/hw/misc/aspeed_scu.h
/openbmc/qemu/include/hw/misc/imx7_src.h
/openbmc/qemu/include/hw/nvram/npcm7xx_otp.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/rtc/aspeed_rtc.h
/openbmc/qemu/include/hw/xen/xen_native.h
/openbmc/qemu/include/qemu/crc-ccitt.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/rcu.h
/openbmc/qemu/include/qemu/sys_membarrier.h
/openbmc/qemu/include/qemu/uri.h
/openbmc/qemu/include/sysemu/accel-blocker.h
/openbmc/qemu/include/sysemu/hw_accel.h
/openbmc/qemu/include/sysemu/os-win32.h
/openbmc/qemu/include/sysemu/rtc.h
/openbmc/qemu/include/tcg/helper-info.h
/openbmc/qemu/include/tcg/tcg-op-common.h
/openbmc/qemu/include/tcg/tcg-op.h
/openbmc/qemu/include/tcg/tcg-opc.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/include/user/safe-syscall.h
/openbmc/qemu/linux-user/flatload.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/dirtyrate.c
/openbmc/qemu/python/scripts/mkvenv.py
/openbmc/qemu/python/scripts/vendor.py
/openbmc/qemu/python/setup.cfg
/openbmc/qemu/python/wheels/tomli-2.0.1-py3-none-any.whl
/openbmc/qemu/pythondeps.toml
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scripts/ci/org.centos/stream/8/x86_64/configure
/openbmc/qemu/scripts/ci/org.centos/stream/8/x86_64/test-avocado
/openbmc/qemu/scripts/device-crash-test
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/semihosting/config.c
/openbmc/qemu/semihosting/syscalls.c
/openbmc/qemu/softmmu/cpus.c
/openbmc/qemu/softmmu/dirtylimit.c
/openbmc/qemu/softmmu/icount.c
/openbmc/qemu/softmmu/ioport.c
/openbmc/qemu/softmmu/physmem.c
/openbmc/qemu/softmmu/rtc.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/cpregs.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/gdbstub.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/tcg/cpu32.c
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/mte_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate.c
/openbmc/qemu/target/arm/tcg/translate.h
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/helper.c
/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/i386/meson.build
/openbmc/qemu/target/i386/sev.h
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/gdbstub.c
/openbmc/qemu/target/ppc/power8-pmu.c
/openbmc/qemu/target/ppc/translate/fixedpoint-impl.c.inc
/openbmc/qemu/target/ppc/translate/vmx-impl.c.inc
pmu.c
pmu.h
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/tcg/aarch64/tcg-target.c.inc
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/arm/tcg-target.c.inc
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target-con-set.h
/openbmc/qemu/tcg/i386/tcg-target-con-str.h
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/loongarch64/tcg-target.h
/openbmc/qemu/tcg/mips/tcg-target.h
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/riscv/tcg-target.c.inc
/openbmc/qemu/tcg/riscv/tcg-target.h
/openbmc/qemu/tcg/s390x/tcg-target.c.inc
/openbmc/qemu/tcg/s390x/tcg-target.h
/openbmc/qemu/tcg/sparc64/tcg-target.c.inc
/openbmc/qemu/tcg/sparc64/tcg-target.h
/openbmc/qemu/tcg/tcg-internal.h
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tci/tcg-target.h
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/centos8.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-all-test-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-amd64.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-hexagon-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-riscv64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-tricore-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-win32-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu2004.docker
/openbmc/qemu/tests/docker/dockerfiles/ubuntu2204.docker
/openbmc/qemu/tests/guest-debug/run-test.py
/openbmc/qemu/tests/lcitool/libvirt-ci
/openbmc/qemu/tests/lcitool/mappings.yml
/openbmc/qemu/tests/lcitool/projects/qemu.yml
/openbmc/qemu/tests/lcitool/targets/opensuse-leap-15.yml
/openbmc/qemu/tests/qemu-iotests/197
/openbmc/qemu/tests/qemu-iotests/197.out
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/gdbstub/test-sve-ioctl.py
/openbmc/qemu/tests/tcg/aarch64/gdbstub/test-sve.py
/openbmc/qemu/tests/tcg/multiarch/gdbstub/interrupt.py
/openbmc/qemu/tests/tcg/multiarch/gdbstub/memory.py
/openbmc/qemu/tests/tcg/multiarch/gdbstub/sha1.py
/openbmc/qemu/tests/tcg/multiarch/gdbstub/test-proc-mappings.py
/openbmc/qemu/tests/tcg/multiarch/gdbstub/test-qxfer-auxv-read.py
/openbmc/qemu/tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py
/openbmc/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/multiarch/system/interrupt.c
/openbmc/qemu/tests/tcg/s390x/gdbstub/test-signals-s390x.py
/openbmc/qemu/tests/tcg/s390x/gdbstub/test-svc.py
/openbmc/qemu/tests/vm/Makefile.include
/openbmc/qemu/tests/vm/generated/freebsd.json
/openbmc/qemu/util/fdmon-io_uring.c
022b9bce07-Aug-2023 Anton Johansson <anjo@rev.ng>

include/exec: Replace target_ulong with abi_ptr in cpu_[st|ld]*()

Changes the address type of the guest memory read/write functions from
target_ulong to abi_ptr. (abi_ptr is currently typedef'd to t

include/exec: Replace target_ulong with abi_ptr in cpu_[st|ld]*()

Changes the address type of the guest memory read/write functions from
target_ulong to abi_ptr. (abi_ptr is currently typedef'd to target_ulong
but that will change in a following commit.) This will reduce the
coupling between accel/ and target/.

Note: Function pointers that point to cpu_[st|ld]*() in target/riscv and
target/rx are also updated in this commit.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230807155706.9580-6-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/hvf/hvf-all.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/atomic_template.h
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/configs/targets/loongarch64-softmmu.mak
/openbmc/qemu/docs/about/license.rst
/openbmc/qemu/gdb-xml/loongarch-base32.xml
/openbmc/qemu/gdb-xml/loongarch-fpu.xml
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/intc/loongarch_pch_pic.c
/openbmc/qemu/hw/loongarch/acpi-build.c
/openbmc/qemu/hw/loongarch/virt.c
/openbmc/qemu/hw/m68k/virt.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-pci-inst.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/trace-events
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/virtio/virtio-gpu-bswap.h
/openbmc/qemu/include/sysemu/hvf.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm64.c
/openbmc/qemu/target/arm/ptw.c
/openbmc/qemu/target/arm/tcg/sme_helper.c
/openbmc/qemu/target/arm/tcg/translate.c
/openbmc/qemu/target/arm/trace-events
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/loongarch/cpu-csr.h
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/loongarch/gdbstub.c
/openbmc/qemu/target/loongarch/insn_trans/trans_arith.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_atomic.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_bit.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_branch.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_extra.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_farith.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_fcmp.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_fcnv.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_fmemory.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_fmov.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_lsx.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_memory.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_privileged.c.inc
/openbmc/qemu/target/loongarch/insn_trans/trans_shift.c.inc
/openbmc/qemu/target/loongarch/op_helper.c
/openbmc/qemu/target/loongarch/tlb_helper.c
/openbmc/qemu/target/loongarch/translate.c
/openbmc/qemu/target/loongarch/translate.h
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/target/ppc/kvm.c
vector_helper.c
/openbmc/qemu/target/rx/op_helper.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/kvm/trace-events
/openbmc/qemu/target/s390x/tcg/translate_vx.c.inc
/openbmc/qemu/target/s390x/tcg/vec_helper.c
/openbmc/qemu/target/s390x/tcg/vec_string_helper.c
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/tests/tcg/s390x/vrep.c
/openbmc/qemu/tests/tcg/s390x/vstl.c
/openbmc/qemu/tests/tcg/s390x/vxeh2_vstrs.c
5e0d659022-Aug-2023 Akihiko Odaki <akihiko.odaki@daynix.com>

kvm: Introduce kvm_arch_get_default_type hook

kvm_arch_get_default_type() returns the default KVM type. This hook is
particularly useful to derive a KVM type that is valid for "none"
machine model,

kvm: Introduce kvm_arch_get_default_type hook

kvm_arch_get_default_type() returns the default KVM type. This hook is
particularly useful to derive a KVM type that is valid for "none"
machine model, which is used by libvirt to probe the availability of
KVM.

For MIPS, the existing mips_kvm_type() is reused. This function ensures
the availability of VZ which is mandatory to use KVM on the current
QEMU.

Cc: qemu-stable@nongnu.org
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20230727073134.134102-2-akihiko.odaki@daynix.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: added doc comment for new function]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

136cb9cc02-Aug-2023 Daniel Henrique Barboza <dbarboza@ventanamicro.com>

target/riscv/kvm.c: fix mvendorid size in vcpu_set_machine_ids()

cpu->cfg.mvendorid is a 32 bit field and kvm_set_one_reg() always write
a target_ulong val, i.e. a 64 bit field in a 64 bit host.

Gi

target/riscv/kvm.c: fix mvendorid size in vcpu_set_machine_ids()

cpu->cfg.mvendorid is a 32 bit field and kvm_set_one_reg() always write
a target_ulong val, i.e. a 64 bit field in a 64 bit host.

Given that we're passing a pointer to the mvendorid field, the reg is
reading 64 bits starting from mvendorid and going 32 bits in the next
field, marchid. Here's an example:

$ ./qemu-system-riscv64 -machine virt,accel=kvm -m 2G -smp 1 \
-cpu rv64,marchid=0xab,mvendorid=0xcd,mimpid=0xef(...)

(inside the guest)
# cat /proc/cpuinfo
processor : 0
hart : 0
isa : rv64imafdc_zicbom_zicboz_zihintpause_zbb_sstc
mmu : sv57
mvendorid : 0xab000000cd
marchid : 0xab
mimpid : 0xef

'mvendorid' was written as a combination of 0xab (the value from the
adjacent field, marchid) and its intended value 0xcd.

Fix it by assigning cpu->cfg.mvendorid to a target_ulong var 'reg' and
use it as input for kvm_set_one_reg(). Here's the result with this patch
applied and using the same QEMU command line:

# cat /proc/cpuinfo
processor : 0
hart : 0
isa : rv64imafdc_zicbom_zicboz_zihintpause_zbb_sstc
mmu : sv57
mvendorid : 0xcd
marchid : 0xab
mimpid : 0xef

This bug affects only the generic (rv64) CPUs when running with KVM in a
64 bit env since the 'host' CPU does not allow the machine IDs to be
changed via command line.

Fixes: 1fb5a622f7 ("target/riscv: handle mvendorid/marchid/mimpid for KVM CPUs")
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Message-ID: <20230802180058.281385-1-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/cirrus/kvm-build.yml
/openbmc/qemu/.gitlab-ci.d/windows.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/VERSION
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/ldst_atomicity.c.inc
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/backends/cryptodev.c
/openbmc/qemu/block/blkio.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/bsd-user/mmap.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/bsd-user/syscall_defs.h
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/elf2dmp/main.c
/openbmc/qemu/crypto/block-luks.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/docs/devel/qom.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/system/devices/nvme.rst
/openbmc/qemu/dump/dump.c
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/gdbstub/trace-events
/openbmc/qemu/host/include/aarch64/host/cpuinfo.h
/openbmc/qemu/host/include/generic/host/cpuinfo.h
/openbmc/qemu/hw/9pfs/9p-local.c
/openbmc/qemu/hw/9pfs/9p-proxy.c
/openbmc/qemu/hw/9pfs/9p-synth.c
/openbmc/qemu/hw/9pfs/9p-util.h
/openbmc/qemu/hw/9pfs/9p.c
/openbmc/qemu/hw/9pfs/9p.h
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/smmu-common.c
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/arm/xen_arm.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/display/virtio-gpu-base.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/i2c/bitbang_i2c.c
/openbmc/qemu/hw/i2c/trace-events
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/intel_iommu_internal.h
/openbmc/qemu/hw/i386/kvm/xen_evtchn.c
/openbmc/qemu/hw/i386/kvm/xenstore_impl.c
/openbmc/qemu/hw/i386/vmmouse.c
/openbmc/qemu/hw/i386/x86-iommu.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/intc/Kconfig
/openbmc/qemu/hw/intc/arm_gic.c
/openbmc/qemu/hw/intc/arm_gicv3_redist.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/m68k/next-kbd.c
/openbmc/qemu/hw/m68k/virt.c
/openbmc/qemu/hw/microblaze/petalogix_ml605_mmu.c
/openbmc/qemu/hw/mips/loongson3_virt.c
/openbmc/qemu/hw/misc/allwinner-r40-dramc.c
/openbmc/qemu/hw/misc/exynos4210_rng.c
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/nvme/dif.c
/openbmc/qemu/hw/nvme/nvme.h
/openbmc/qemu/hw/nvme/trace-events
/openbmc/qemu/hw/pci-bridge/cxl_upstream.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_host.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/s390x/Kconfig
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sparc/sun4m_iommu.c
/openbmc/qemu/hw/usb/canokey.c
/openbmc/qemu/hw/usb/canokey.h
/openbmc/qemu/hw/virtio/vhost-user-scmi.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-crypto.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-qmp.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/xen-hvm-common.c
/openbmc/qemu/include/block/nbd.h
/openbmc/qemu/include/elf.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/user/abitypes.h
/openbmc/qemu/include/exec/user/thunk.h
/openbmc/qemu/include/hw/arm/fsl-imx7.h
/openbmc/qemu/include/hw/i386/intel_iommu.h
/openbmc/qemu/include/hw/i386/x86-iommu.h
/openbmc/qemu/include/hw/intc/armv7m_nvic.h
/openbmc/qemu/include/hw/s390x/s390-pci-bus.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/hw/virtio/vhost-user-scmi.h
/openbmc/qemu/include/hw/virtio/virtio-gpu.h
/openbmc/qemu/include/hw/xen/xen-hvm-common.h
/openbmc/qemu/include/io/channel-tls.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/selfmap.h
/openbmc/qemu/include/sysemu/dirtylimit.h
/openbmc/qemu/io/channel-tls.c
/openbmc/qemu/linux-user/aarch64/target_mman.h
/openbmc/qemu/linux-user/alpha/target_mman.h
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/arm/target_mman.h
/openbmc/qemu/linux-user/cris/target_mman.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/flatload.c
/openbmc/qemu/linux-user/hexagon/target_mman.h
/openbmc/qemu/linux-user/hppa/target_mman.h
/openbmc/qemu/linux-user/i386/target_mman.h
/openbmc/qemu/linux-user/include/host/s390x/host-signal.h
/openbmc/qemu/linux-user/loongarch64/target_mman.h
/openbmc/qemu/linux-user/m68k/target_mman.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/microblaze/target_mman.h
/openbmc/qemu/linux-user/mips/target_mman.h
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/nios2/target_mman.h
/openbmc/qemu/linux-user/openrisc/target_mman.h
/openbmc/qemu/linux-user/ppc/target_mman.h
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/riscv/target_mman.h
/openbmc/qemu/linux-user/s390x/target_mman.h
/openbmc/qemu/linux-user/sh4/target_mman.h
/openbmc/qemu/linux-user/sparc/target_mman.h
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/thunk.c
/openbmc/qemu/linux-user/user-mmap.h
/openbmc/qemu/linux-user/x86_64/target_mman.h
/openbmc/qemu/linux-user/xtensa/target_mman.h
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/migration-stats.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/multifd-zlib.c
/openbmc/qemu/migration/multifd-zstd.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/options.c
/openbmc/qemu/migration/options.h
/openbmc/qemu/migration/qemu-file.c
/openbmc/qemu/migration/qemu-file.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/threadinfo.c
/openbmc/qemu/migration/threadinfo.h
/openbmc/qemu/migration/trace-events
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/common.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/nbd/trace-events
/openbmc/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
/openbmc/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/block.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/cxl.json
/openbmc/qemu/qapi/machine-target.json
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/net.json
/openbmc/qemu/qapi/qdev.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/trace.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/roms/opensbi
/openbmc/qemu/scripts/decodetree.py
/openbmc/qemu/scripts/git-submodule.sh
/openbmc/qemu/softmmu/dirtylimit.c
/openbmc/qemu/stubs/colo.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/tcg/m_helper.c
/openbmc/qemu/target/arm/tcg/meson.build
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/arm/tcg/translate-mve.c
/openbmc/qemu/target/arm/tcg/translate-sve.c
/openbmc/qemu/target/arm/tcg/translate-vfp.c
/openbmc/qemu/target/arm/tcg/translate.c
/openbmc/qemu/target/arm/tcg/vec_helper.c
/openbmc/qemu/target/cris/helper.c
/openbmc/qemu/target/cris/op_helper.c
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/int_helper.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/kvm/xen-emu.c
/openbmc/qemu/target/i386/tcg/decode-new.c.inc
/openbmc/qemu/target/loongarch/cpu-csr.h
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/loongarch/csr_helper.c
/openbmc/qemu/target/loongarch/helper.h
/openbmc/qemu/target/loongarch/insn_trans/trans_privileged.c.inc
/openbmc/qemu/target/m68k/helper.c
/openbmc/qemu/target/m68k/m68k-semi.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/mips/tcg/mxu_translate.c
/openbmc/qemu/target/mips/tcg/sysemu/tlb_helper.c
/openbmc/qemu/target/nios2/nios2-semi.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/mmu-hash64.c
/openbmc/qemu/target/ppc/mmu-hash64.h
/openbmc/qemu/target/ppc/translate.c
kvm.c
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/cpu_features.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/tcg/excp_helper.c
/openbmc/qemu/target/s390x/tcg/fpu_helper.c
/openbmc/qemu/target/s390x/tcg/insn-data.h.inc
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/target/s390x/tcg/translate_vx.c.inc
/openbmc/qemu/target/sparc/asi.h
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/machine.c
/openbmc/qemu/target/sparc/monitor.c
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/tricore/csfr.h.inc
/openbmc/qemu/target/tricore/helper.c
/openbmc/qemu/target/tricore/op_helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/tcg/i386/tcg-target-con-set.h
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/s390x/tcg-target-con-set.h
/openbmc/qemu/tcg/s390x/tcg-target.c.inc
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/avocado/machine_aarch64_sbsaref.py
/openbmc/qemu/tests/avocado/machine_s390_ccw_virtio.py
/openbmc/qemu/tests/avocado/migration.py
/openbmc/qemu/tests/data/acpi/pc/DSDT
/openbmc/qemu/tests/data/acpi/pc/DSDT.acpierst
/openbmc/qemu/tests/data/acpi/pc/DSDT.acpihmat
/openbmc/qemu/tests/data/acpi/pc/DSDT.bridge
/openbmc/qemu/tests/data/acpi/pc/DSDT.cphp
/openbmc/qemu/tests/data/acpi/pc/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/pc/DSDT.hpbridge
/openbmc/qemu/tests/data/acpi/pc/DSDT.hpbrroot
/openbmc/qemu/tests/data/acpi/pc/DSDT.ipmikcs
/openbmc/qemu/tests/data/acpi/pc/DSDT.memhp
/openbmc/qemu/tests/data/acpi/pc/DSDT.nohpet
/openbmc/qemu/tests/data/acpi/pc/DSDT.numamem
/openbmc/qemu/tests/data/acpi/pc/DSDT.roothp
/openbmc/qemu/tests/data/acpi/q35/DSDT
/openbmc/qemu/tests/data/acpi/q35/DSDT.acpierst
/openbmc/qemu/tests/data/acpi/q35/DSDT.acpihmat
/openbmc/qemu/tests/data/acpi/q35/DSDT.acpihmat-noinitiator
/openbmc/qemu/tests/data/acpi/q35/DSDT.applesmc
/openbmc/qemu/tests/data/acpi/q35/DSDT.bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.core-count2
/openbmc/qemu/tests/data/acpi/q35/DSDT.cphp
/openbmc/qemu/tests/data/acpi/q35/DSDT.cxl
/openbmc/qemu/tests/data/acpi/q35/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/DSDT.ipmibt
/openbmc/qemu/tests/data/acpi/q35/DSDT.ipmismbus
/openbmc/qemu/tests/data/acpi/q35/DSDT.ivrs
/openbmc/qemu/tests/data/acpi/q35/DSDT.memhp
/openbmc/qemu/tests/data/acpi/q35/DSDT.mmio64
/openbmc/qemu/tests/data/acpi/q35/DSDT.multi-bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.noacpihp
/openbmc/qemu/tests/data/acpi/q35/DSDT.nohpet
/openbmc/qemu/tests/data/acpi/q35/DSDT.numamem
/openbmc/qemu/tests/data/acpi/q35/DSDT.pvpanic-isa
/openbmc/qemu/tests/data/acpi/q35/DSDT.tis.tpm12
/openbmc/qemu/tests/data/acpi/q35/DSDT.tis.tpm2
/openbmc/qemu/tests/data/acpi/q35/DSDT.viot
/openbmc/qemu/tests/data/acpi/q35/DSDT.xapic
/openbmc/qemu/tests/guest-debug/run-test.py
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/migration/s390x/Makefile
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/tcg/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/Makefile.target
/openbmc/qemu/tests/tcg/aarch64/gdbstub/test-sve.py
/openbmc/qemu/tests/tcg/aarch64/lse2-fault.c
/openbmc/qemu/tests/tcg/aarch64/sme-outprod1.c
/openbmc/qemu/tests/tcg/aarch64/system/boot.S
/openbmc/qemu/tests/tcg/aarch64/system/semiheap.c
/openbmc/qemu/tests/tcg/multiarch/gdbstub/test-proc-mappings.py
/openbmc/qemu/tests/tcg/multiarch/sha512.c
/openbmc/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/s390x/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/tests/tcg/s390x/cgebra.c
/openbmc/qemu/tests/tcg/s390x/cksm.S
/openbmc/qemu/tests/tcg/s390x/clgebr.c
/openbmc/qemu/tests/tcg/s390x/clm.S
/openbmc/qemu/tests/tcg/s390x/icm.S
/openbmc/qemu/tests/tcg/s390x/mc.S
/openbmc/qemu/tests/tcg/s390x/mvc.c
/openbmc/qemu/tests/tcg/s390x/stpq.S
/openbmc/qemu/tests/tcg/s390x/vcksm.c
/openbmc/qemu/tests/tcg/s390x/vx.h
/openbmc/qemu/tests/tcg/tricore/c/crt0-tc2x.S
/openbmc/qemu/tests/tcg/x86_64/system/boot.S
/openbmc/qemu/tests/vm/basevm.py
/openbmc/qemu/tests/vm/freebsd
/openbmc/qemu/tests/vm/generated/README
/openbmc/qemu/tests/vm/generated/freebsd.json
/openbmc/qemu/ui/curses_keys.h
/openbmc/qemu/ui/dbus-listener.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/vnc-enc-tight.c
/openbmc/qemu/util/interval-tree.c
/openbmc/qemu/util/oslib-win32.c
/openbmc/qemu/util/selfmap.c
/openbmc/qemu/util/thread-pool.c
32be325018-Jul-2023 Rob Bradford <rbradford@rivosinc.com>

target/riscv: Fix LMUL check to use VLEN

The previous check was failing with:

VLEN=128 ELEN = 64 SEW = 16 and LMUL = 1/8 which is a
valid combination.

Fix the check to allow valid combinations whe

target/riscv: Fix LMUL check to use VLEN

The previous check was failing with:

VLEN=128 ELEN = 64 SEW = 16 and LMUL = 1/8 which is a
valid combination.

Fix the check to allow valid combinations when VLEN is a multiple of
ELEN.

From the specification:

"In general, the requirement is to support LMUL ≥ SEWMIN/ELEN, where
SEWMIN is the narrowest supported SEW value and ELEN is the widest
supported SEW value. In the standard extensions, SEWMIN=8. For standard
vector extensions with ELEN=32, fractional LMULs of 1/2 and 1/4 must be
supported. For standard vector extensions with ELEN=64, fractional LMULs
of 1/2, 1/4, and 1/8 must be supported." Elsewhere in the specification
it makes clear that VLEN>=ELEN.

From inspection this new check allows:

VLEN=ELEN=64 1/2, 1/4, 1/8 for SEW >=8
VLEN=ELEN=32 1/2, 1/4 for SEW >=8

Fixes: d9b7609a1fb2 ("target/riscv: rvv-1.0: configure instructions")
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Message-Id: <20230718131316.12283-2-rbradford@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

1...<<11121314151617181920>>...67