History log of /openbmc/qemu/target/riscv/ (Results 301 – 325 of 1755)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8d326cb811-Dec-2023 Daniel Henrique Barboza <dbarboza@ventanamicro.com>

target/riscv/cpu.c: fix machine IDs getters

mvendorid is an uint32 property, mimpid/marchid are uint64 properties.
But their getters are returning bools. The reason this went under the
radar for thi

target/riscv/cpu.c: fix machine IDs getters

mvendorid is an uint32 property, mimpid/marchid are uint64 properties.
But their getters are returning bools. The reason this went under the
radar for this long is because we have no code using the getters.

The problem can be seem via the 'qom-get' API though. Launching QEMU
with the 'veyron-v1' CPU, a model with:

VEYRON_V1_MVENDORID: 0x61f (1567)
VEYRON_V1_MIMPID: 0x111 (273)
VEYRON_V1_MARCHID: 0x8000000000010000 (9223372036854841344)

This is what the API returns when retrieving these properties:

(qemu) qom-get /machine/soc0/harts[0] mvendorid
true
(qemu) qom-get /machine/soc0/harts[0] mimpid
true
(qemu) qom-get /machine/soc0/harts[0] marchid
true

After this patch:

(qemu) qom-get /machine/soc0/harts[0] mvendorid
1567
(qemu) qom-get /machine/soc0/harts[0] mimpid
273
(qemu) qom-get /machine/soc0/harts[0] marchid
9223372036854841344

Fixes: 1e34150045 ("target/riscv/cpu.c: restrict 'mvendorid' value")
Fixes: a1863ad368 ("target/riscv/cpu.c: restrict 'mimpid' value")
Fixes: d6a427e2c0 ("target/riscv/cpu.c: restrict 'marchid' value")
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: <20231211170732.2541368-1-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

6f5bb7d423-Nov-2023 Ivan Klokov <ivan.klokov@syntacore.com>

target/riscv/pmp: Use hwaddr instead of target_ulong for RV32

The Sv32 page-based virtual-memory scheme described in RISCV privileged
spec Section 5.3 supports 34-bit physical addresses for RV32, so

target/riscv/pmp: Use hwaddr instead of target_ulong for RV32

The Sv32 page-based virtual-memory scheme described in RISCV privileged
spec Section 5.3 supports 34-bit physical addresses for RV32, so the
PMP scheme must support addresses wider than XLEN for RV32. However,
PMP address register format is still 32 bit wide.

Signed-off-by: Ivan Klokov <ivan.klokov@syntacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20231123091214.20312-1-ivan.klokov@syntacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

7767f8b114-Dec-2023 LIU Zhiwei <zhiwei_liu@linux.alibaba.com>

target/riscv: Not allow write mstatus_vs without RVV

If CPU does not implement the Vector extension, it usually means
mstatus vs hardwire to zero. So we should not allow write a
non-zero value to th

target/riscv: Not allow write mstatus_vs without RVV

If CPU does not implement the Vector extension, it usually means
mstatus vs hardwire to zero. So we should not allow write a
non-zero value to this field.

Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20231215023313.1708-1-zhiwei_liu@linux.alibaba.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

564a28bd08-Dec-2023 LIU Zhiwei <zhiwei_liu@linux.alibaba.com>

target/riscv: Fix th.dcache.cval1 priviledge check

According to the specification, the th.dcache.cvall1 can be executed
under all priviledges.
The specification about xtheadcmo located in,
https://g

target/riscv: Fix th.dcache.cval1 priviledge check

According to the specification, the th.dcache.cvall1 can be executed
under all priviledges.
The specification about xtheadcmo located in,
https://github.com/T-head-Semi/thead-extension-spec/blob/master/xtheadcmo/dcache_cval1.adoc

Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Christoph Muellner <christoph.muellner@vrull.eu>
Message-ID: <20231208094315.177-1-zhiwei_liu@linux.alibaba.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

79fc6d3829-Nov-2023 Max Chou <max.chou@sifive.com>

target/riscv: The whole vector register move instructions depend on vsew

The RISC-V v spec 16.6 section says that the whole vector register move
instructions operate as if EEW=SEW. So it should depe

target/riscv: The whole vector register move instructions depend on vsew

The RISC-V v spec 16.6 section says that the whole vector register move
instructions operate as if EEW=SEW. So it should depends on the vsew
field of vtype register.

Signed-off-by: Max Chou <max.chou@sifive.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20231129170400.21251-3-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

4eff52cd29-Nov-2023 Max Chou <max.chou@sifive.com>

target/riscv: Add vill check for whole vector register move instructions

The ratified version of RISC-V V spec section 16.6 says that
`The instructions operate as if EEW=SEW`.

So the whole vector r

target/riscv: Add vill check for whole vector register move instructions

The ratified version of RISC-V V spec section 16.6 says that
`The instructions operate as if EEW=SEW`.

So the whole vector register move instructions depend on the vtype
register that means the whole vector register move instructions should
raise an illegal-instruction exception when vtype.vill=1.

Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20231129170400.21251-2-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-icount.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-rr.c
/openbmc/qemu/audio/coreaudio.m
/openbmc/qemu/chardev/char.c
/openbmc/qemu/docs/devel/multi-thread-tcg.rst
/openbmc/qemu/docs/devel/multiple-iothreads.txt
/openbmc/qemu/docs/devel/qapi-code-gen.rst
/openbmc/qemu/docs/devel/replay.rst
/openbmc/qemu/docs/devel/reset.rst
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/display/qxl.h
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/ppc/spapr_events.c
/openbmc/qemu/hw/remote/mpqemu-link.c
/openbmc/qemu/hw/scsi/virtio-scsi-dataplane.c
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/ramblock.h
/openbmc/qemu/include/io/task.h
/openbmc/qemu/include/migration/register.h
/openbmc/qemu/include/qemu/coroutine-core.h
/openbmc/qemu/include/qemu/coroutine.h
/openbmc/qemu/include/qemu/main-loop.h
/openbmc/qemu/include/sysemu/replay.h
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/net/tap.c
/openbmc/qemu/replay/replay-char.c
/openbmc/qemu/replay/replay-internal.c
/openbmc/qemu/replay/replay-internal.h
/openbmc/qemu/replay/replay-snapshot.c
/openbmc/qemu/replay/replay.c
/openbmc/qemu/scripts/replay-dump.py
/openbmc/qemu/system/cpu-throttle.c
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/physmem.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/i386/nvmm/nvmm-accel-ops.c
/openbmc/qemu/target/i386/whpx/whpx-accel-ops.c
insn_trans/trans_rvv.c.inc
/openbmc/qemu/tests/avocado/acpi-bits/bits-tests/smilatency.py2
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/avocado/replay_linux.py
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/util/rcu.c
32ead8e602-Jan-2024 Stefan Hajnoczi <stefanha@redhat.com>

qemu/main-loop: rename QEMU_IOTHREAD_LOCK_GUARD to BQL_LOCK_GUARD

The name "iothread" is overloaded. Use the term Big QEMU Lock (BQL)
instead, it is already widely used and unambiguous.

Signed-off-

qemu/main-loop: rename QEMU_IOTHREAD_LOCK_GUARD to BQL_LOCK_GUARD

The name "iothread" is overloaded. Use the term Big QEMU Lock (BQL)
instead, it is already widely used and unambiguous.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Acked-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20240102153529.486531-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/accel/accel-blocker.c
/openbmc/qemu/accel/dummy-cpus.c
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-icount.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-rr.c
/openbmc/qemu/accel/tcg/tcg-accel-ops.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/audio/audio.c
/openbmc/qemu/audio/coreaudio.m
/openbmc/qemu/backends/iommufd.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/cpu-common.c
/openbmc/qemu/docs/system/arm/palm.rst
/openbmc/qemu/docs/system/arm/xscale.rst
/openbmc/qemu/docs/system/devices/can.rst
/openbmc/qemu/dump/dump.c
/openbmc/qemu/hw/core/cpu-common.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/kvm/xen_evtchn.c
/openbmc/qemu/hw/i386/kvm/xen_gnttab.c
/openbmc/qemu/hw/i386/kvm/xen_overlay.c
/openbmc/qemu/hw/i386/kvm/xen_xenstore.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/mips/mips_int.c
/openbmc/qemu/hw/misc/edu.c
/openbmc/qemu/hw/misc/imx6_src.c
/openbmc/qemu/hw/misc/imx7_src.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/xen_nic.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_rng.c
/openbmc/qemu/hw/ppc/spapr_softmmu.c
/openbmc/qemu/hw/remote/mpqemu-link.c
/openbmc/qemu/hw/remote/vfio-user-obj.c
/openbmc/qemu/hw/s390x/s390-skeys.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/container-base.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/meson.build
/openbmc/qemu/hw/vfio/migration.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/include/block/aio-wait.h
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/vfio/vfio-container-base.h
/openbmc/qemu/include/qemu/main-loop.h
/openbmc/qemu/include/qemu/thread.h
/openbmc/qemu/include/sysemu/iommufd.h
/openbmc/qemu/iothread.c
/openbmc/qemu/memory_ldst.c.inc
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/colo.c
/openbmc/qemu/migration/dirtyrate.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/ram.c
/openbmc/qemu/replay/replay-internal.c
/openbmc/qemu/semihosting/console.c
/openbmc/qemu/stubs/iothread-lock.c
/openbmc/qemu/system/cpu-throttle.c
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/dirtylimit.c
/openbmc/qemu/system/memory.c
/openbmc/qemu/system/physmem.c
/openbmc/qemu/system/runstate.c
/openbmc/qemu/system/watchpoint.c
/openbmc/qemu/target/arm/arm-powerctl.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/ptw.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/m_helper.c
/openbmc/qemu/target/arm/tcg/op_helper.c
/openbmc/qemu/target/arm/tcg/psci.c
/openbmc/qemu/target/hppa/int_helper.c
/openbmc/qemu/target/i386/hvf/README.md
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/kvm/hyperv.c
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/xen-emu.c
/openbmc/qemu/target/i386/nvmm/nvmm-accel-ops.c
/openbmc/qemu/target/i386/nvmm/nvmm-all.c
/openbmc/qemu/target/i386/tcg/sysemu/fpu_helper.c
/openbmc/qemu/target/i386/tcg/sysemu/misc_helper.c
/openbmc/qemu/target/i386/whpx/whpx-accel-ops.c
/openbmc/qemu/target/i386/whpx/whpx-all.c
/openbmc/qemu/target/loongarch/meson.build
/openbmc/qemu/target/loongarch/tcg/constant_timer.c
/openbmc/qemu/target/loongarch/tcg/csr_helper.c
/openbmc/qemu/target/loongarch/tcg/fpu_helper.c
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_arith.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_atomic.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_bit.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_branch.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_extra.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_farith.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_fcmp.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_fcnv.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_fmemory.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_fmov.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_memory.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_privileged.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_shift.c.inc
/openbmc/qemu/target/loongarch/tcg/insn_trans/trans_vec.c.inc
/openbmc/qemu/target/loongarch/tcg/iocsr_helper.c
/openbmc/qemu/target/loongarch/tcg/meson.build
/openbmc/qemu/target/loongarch/tcg/op_helper.c
/openbmc/qemu/target/loongarch/tcg/tlb_helper.c
/openbmc/qemu/target/loongarch/tcg/translate.c
/openbmc/qemu/target/loongarch/tcg/vec_helper.c
/openbmc/qemu/target/mips/kvm.c
/openbmc/qemu/target/mips/tcg/sysemu/cp0_helper.c
/openbmc/qemu/target/openrisc/sys_helper.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/helper_regs.c
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/misc_helper.c
/openbmc/qemu/target/ppc/timebase_helper.c
cpu_helper.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/tcg/misc_helper.c
/openbmc/qemu/target/sparc/int32_helper.c
/openbmc/qemu/target/sparc/int64_helper.c
/openbmc/qemu/target/sparc/win_helper.c
/openbmc/qemu/target/xtensa/exc_helper.c
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/spice-core.c
/openbmc/qemu/util/aio-posix.c
/openbmc/qemu/util/aio-win32.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/main-loop.c
/openbmc/qemu/util/qsp.c
/openbmc/qemu/util/rcu.c
5cb0e7ab25-Dec-2023 Xu Lu <luxu.kernel@bytedance.com>

target/riscv: Fix mcycle/minstret increment behavior

The mcycle/minstret counter's stop flag is mistakenly updated on a copy
on stack. Thus the counter increments even when the CY/IR bit in the
mcou

target/riscv: Fix mcycle/minstret increment behavior

The mcycle/minstret counter's stop flag is mistakenly updated on a copy
on stack. Thus the counter increments even when the CY/IR bit in the
mcountinhibit register is set. This commit corrects its behavior.

Fixes: 3780e33732f88 (target/riscv: Support mcycle/minstret write operation)
Signed-off-by: Xu Lu <luxu.kernel@bytedance.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/.mailmap
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/backends/hostmem-epc.c
/openbmc/qemu/backends/hostmem-file.c
/openbmc/qemu/backends/hostmem-memfd.c
/openbmc/qemu/backends/hostmem-ram.c
/openbmc/qemu/backends/hostmem.c
/openbmc/qemu/backends/tpm/tpm_emulator.c
/openbmc/qemu/hw/arm/armsse.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/aspeed_ast2400.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/bananapi_m2u.c
/openbmc/qemu/hw/arm/bcm2836.c
/openbmc/qemu/hw/arm/cubieboard.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx31.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/msf2-som.c
/openbmc/qemu/hw/arm/musca.c
/openbmc/qemu/hw/arm/npcm7xx_boards.c
/openbmc/qemu/hw/arm/nrf51_soc.c
/openbmc/qemu/hw/arm/orangepi.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/cpu/cluster.c
/openbmc/qemu/hw/cpu/core.c
/openbmc/qemu/hw/m68k/mcf5206.c
/openbmc/qemu/hw/mips/cps.c
/openbmc/qemu/hw/mips/jazz.c
/openbmc/qemu/hw/mips/malta.c
/openbmc/qemu/hw/mips/mipssim.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/net/can/can_sja1000.c
/openbmc/qemu/hw/nvram/nrf51_nvm.c
/openbmc/qemu/hw/pci-host/raven.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/rs6000_mc.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/riscv/shakti_c.c
/openbmc/qemu/hw/sparc/leon3.c
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/sparc64/sun4u.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/xen/xen-hvm-common.c
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/ppc/xive2_regs.h
/openbmc/qemu/include/migration/snapshot.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/sysemu/hostmem.h
/openbmc/qemu/include/sysemu/runstate.h
/openbmc/qemu/migration/channel.c
/openbmc/qemu/migration/global_state.c
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/migration.h
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/options.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/qapi/misc.json
/openbmc/qemu/qapi/run-state.json
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/memory.c
/openbmc/qemu/system/runstate.c
/openbmc/qemu/system/vl.c
csr.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/int32_helper.c
/openbmc/qemu/tests/migration/i386/Makefile
/openbmc/qemu/tests/migration/i386/a-b-bootblock.S
/openbmc/qemu/tests/migration/i386/a-b-bootblock.h
/openbmc/qemu/tests/qtest/migration-helpers.c
/openbmc/qemu/tests/qtest/migration-helpers.h
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/util/oslib-posix.c
/openbmc/qemu/util/oslib-win32.c
4b26aa9f14-Nov-2023 Gavin Shan <gshan@redhat.com>

target: Use generic cpu_model_from_type()

Use generic cpu_model_from_type() when the CPU model name needs to
be extracted from the CPU type name.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Review

target: Use generic cpu_model_from_type()

Use generic cpu_model_from_type() when the CPU model name needs to
be extracted from the CPU type name.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20231114235628.534334-23-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

3144fbc914-Nov-2023 Gavin Shan <gshan@redhat.com>

target/riscv: Use generic cpu_list()

Before it's applied:

[gshan@gshan q]$ ./build/qemu-system-riscv64 -cpu ?
any
max
rv64
shakti-c
sifive-e51
sifive-u54
thead-c906
veyron-v1
x-rv128

After it's ap

target/riscv: Use generic cpu_list()

Before it's applied:

[gshan@gshan q]$ ./build/qemu-system-riscv64 -cpu ?
any
max
rv64
shakti-c
sifive-e51
sifive-u54
thead-c906
veyron-v1
x-rv128

After it's applied:

[gshan@gshan q]$ ./build/qemu-system-riscv64 -cpu ?
Available CPUs:
any
max
rv64
shakti-c
sifive-e51
sifive-u54
thead-c906
veyron-v1
x-rv128

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20231114235628.534334-18-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

d5be19f508-Sep-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

cpu: Call object_class_dynamic_cast() once in cpu_class_by_name()

For all targets, the CPU class returned from CPUClass::class_by_name()
and object_class_dynamic_cast(oc, CPU_RESOLVING_TYPE) need to

cpu: Call object_class_dynamic_cast() once in cpu_class_by_name()

For all targets, the CPU class returned from CPUClass::class_by_name()
and object_class_dynamic_cast(oc, CPU_RESOLVING_TYPE) need to be
compatible. Lets apply the check in cpu_class_by_name() for once,
instead of having the check in CPUClass::class_by_name() for individual
target.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Gavin Shan <gshan@redhat.com>
Message-ID: <20231114235628.534334-4-gshan@redhat.com>

show more ...


/openbmc/qemu/Makefile
/openbmc/qemu/accel/tcg/meson.build
/openbmc/qemu/audio/audio.c
/openbmc/qemu/backends/dbus-vmstate.c
/openbmc/qemu/backends/meson.build
/openbmc/qemu/backends/tpm/tpm_emulator.c
/openbmc/qemu/block/meson.build
/openbmc/qemu/bsd-user/meson.build
/openbmc/qemu/chardev/meson.build
/openbmc/qemu/configure
/openbmc/qemu/contrib/ivshmem-client/meson.build
/openbmc/qemu/contrib/ivshmem-server/meson.build
/openbmc/qemu/contrib/vhost-user-blk/meson.build
/openbmc/qemu/contrib/vhost-user-input/meson.build
/openbmc/qemu/contrib/vhost-user-scsi/meson.build
/openbmc/qemu/cpu-target.c
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/clocks.rst
/openbmc/qemu/docs/devel/kconfig.rst
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/fsdev/meson.build
/openbmc/qemu/gdbstub/meson.build
/openbmc/qemu/hw/9pfs/meson.build
/openbmc/qemu/hw/9pfs/virtio-9p-device.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/acpi/erst.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/ich9_tco.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/acpi/meson.build
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/adc/aspeed_adc.c
/openbmc/qemu/hw/adc/max111x.c
/openbmc/qemu/hw/adc/npcm7xx_adc.c
/openbmc/qemu/hw/adc/stm32f2xx_adc.c
/openbmc/qemu/hw/adc/zynq-xadc.c
/openbmc/qemu/hw/arm/armsse.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/pxa2xx_gpio.c
/openbmc/qemu/hw/arm/pxa2xx_pic.c
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/z2.c
/openbmc/qemu/hw/audio/ac97.c
/openbmc/qemu/hw/audio/asc.c
/openbmc/qemu/hw/audio/cs4231.c
/openbmc/qemu/hw/audio/cs4231a.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/audio/lm4549.c
/openbmc/qemu/hw/audio/marvell_88w8618.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/audio/pl041.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/audio/wm8750.c
/openbmc/qemu/hw/block/ecc.c
/openbmc/qemu/hw/block/fdc-isa.c
/openbmc/qemu/hw/block/fdc-sysbus.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/block/nand.c
/openbmc/qemu/hw/block/onenand.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/swim.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/bcm2835_aux.c
/openbmc/qemu/hw/char/cadence_uart.c
/openbmc/qemu/hw/char/cmsdk-apb-uart.c
/openbmc/qemu/hw/char/digic-uart.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/char/goldfish_tty.c
/openbmc/qemu/hw/char/ibex_uart.c
/openbmc/qemu/hw/char/imx_serial.c
/openbmc/qemu/hw/char/ipoctal232.c
/openbmc/qemu/hw/char/mchp_pfsoc_mmuart.c
/openbmc/qemu/hw/char/nrf51_uart.c
/openbmc/qemu/hw/char/parallel.c
/openbmc/qemu/hw/char/pl011.c
/openbmc/qemu/hw/char/renesas_sci.c
/openbmc/qemu/hw/char/sclpconsole-lm.c
/openbmc/qemu/hw/char/sclpconsole.c
/openbmc/qemu/hw/char/serial-isa.c
/openbmc/qemu/hw/char/serial-pci-multi.c
/openbmc/qemu/hw/char/serial-pci.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/sifive_uart.c
/openbmc/qemu/hw/char/spapr_vty.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/clock-vmstate.c
/openbmc/qemu/hw/core/cpu-common.c
/openbmc/qemu/hw/core/or-irq.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/cxl/meson.build
/openbmc/qemu/hw/display/artist.c
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/dpcd.c
/openbmc/qemu/hw/display/exynos4210_fimd.c
/openbmc/qemu/hw/display/g364fb.c
/openbmc/qemu/hw/display/i2c-ddc.c
/openbmc/qemu/hw/display/jazz_led.c
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/display/meson.build
/openbmc/qemu/hw/display/pl110.c
/openbmc/qemu/hw/display/pxa2xx_lcd.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/ramfb-standalone.c
/openbmc/qemu/hw/display/ramfb.c
/openbmc/qemu/hw/display/sii9022.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/ssd0303.c
/openbmc/qemu/hw/display/ssd0323.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga-pci.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/dma/i82374.c
/openbmc/qemu/hw/dma/i8257.c
/openbmc/qemu/hw/dma/pl080.c
/openbmc/qemu/hw/dma/pl330.c
/openbmc/qemu/hw/dma/pxa2xx_dma.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/dma/sparc32_dma.c
/openbmc/qemu/hw/dma/xlnx-zdma.c
/openbmc/qemu/hw/dma/xlnx-zynq-devcfg.c
/openbmc/qemu/hw/dma/xlnx_csu_dma.c
/openbmc/qemu/hw/dma/xlnx_dpdma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/gpio/bcm2835_gpio.c
/openbmc/qemu/hw/gpio/gpio_key.c
/openbmc/qemu/hw/gpio/imx_gpio.c
/openbmc/qemu/hw/gpio/max7310.c
/openbmc/qemu/hw/gpio/mpc8xxx.c
/openbmc/qemu/hw/gpio/npcm7xx_gpio.c
/openbmc/qemu/hw/gpio/nrf51_gpio.c
/openbmc/qemu/hw/gpio/pl061.c
/openbmc/qemu/hw/gpio/sifive_gpio.c
/openbmc/qemu/hw/gpio/zaurus.c
/openbmc/qemu/hw/hyperv/vmbus.c
/openbmc/qemu/hw/i2c/allwinner-i2c.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/core.c
/openbmc/qemu/hw/i2c/exynos4210_i2c.c
/openbmc/qemu/hw/i2c/imx_i2c.c
/openbmc/qemu/hw/i2c/microbit_i2c.c
/openbmc/qemu/hw/i2c/mpc_i2c.c
/openbmc/qemu/hw/i2c/npcm7xx_smbus.c
/openbmc/qemu/hw/i2c/pm_smbus.c
/openbmc/qemu/hw/i2c/pmbus_device.c
/openbmc/qemu/hw/i2c/smbus_eeprom.c
/openbmc/qemu/hw/i2c/smbus_ich9.c
/openbmc/qemu/hw/i2c/smbus_slave.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/kvm/clock.c
/openbmc/qemu/hw/i386/kvm/xen_evtchn.c
/openbmc/qemu/hw/i386/kvm/xen_gnttab.c
/openbmc/qemu/hw/i386/kvm/xen_overlay.c
/openbmc/qemu/hw/i386/kvm/xen_xenstore.c
/openbmc/qemu/hw/i386/kvmvapic.c
/openbmc/qemu/hw/i386/port92.c
/openbmc/qemu/hw/i386/sgx-stub.c
/openbmc/qemu/hw/i386/vmmouse.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/i386/xen/xen_pvdevice.c
/openbmc/qemu/hw/ide/ahci-allwinner.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/ich.c
/openbmc/qemu/hw/ide/isa.c
/openbmc/qemu/hw/ide/macio.c
/openbmc/qemu/hw/ide/microdrive.c
/openbmc/qemu/hw/ide/mmio.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/input/adb-kbd.c
/openbmc/qemu/hw/input/adb-mouse.c
/openbmc/qemu/hw/input/adb.c
/openbmc/qemu/hw/input/ads7846.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/lasips2.c
/openbmc/qemu/hw/input/lm832x.c
/openbmc/qemu/hw/input/pckbd.c
/openbmc/qemu/hw/input/pl050.c
/openbmc/qemu/hw/input/ps2.c
/openbmc/qemu/hw/input/pxa2xx_keypad.c
/openbmc/qemu/hw/input/stellaris_gamepad.c
/openbmc/qemu/hw/input/tsc2005.c
/openbmc/qemu/hw/input/tsc210x.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/allwinner-a10-pic.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/arm_gic_common.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_its_common.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/aspeed_vic.c
/openbmc/qemu/hw/intc/bcm2835_ic.c
/openbmc/qemu/hw/intc/bcm2836_control.c
/openbmc/qemu/hw/intc/exynos4210_combiner.c
/openbmc/qemu/hw/intc/goldfish_pic.c
/openbmc/qemu/hw/intc/heathrow_pic.c
/openbmc/qemu/hw/intc/i8259_common.c
/openbmc/qemu/hw/intc/imx_avic.c
/openbmc/qemu/hw/intc/imx_gpcv2.c
/openbmc/qemu/hw/intc/ioapic_common.c
/openbmc/qemu/hw/intc/loongarch_extioi.c
/openbmc/qemu/hw/intc/loongarch_ipi.c
/openbmc/qemu/hw/intc/loongarch_pch_pic.c
/openbmc/qemu/hw/intc/m68k_irqc.c
/openbmc/qemu/hw/intc/nios2_vic.c
/openbmc/qemu/hw/intc/ompic.c
/openbmc/qemu/hw/intc/openpic.c
/openbmc/qemu/hw/intc/pl190.c
/openbmc/qemu/hw/intc/ppc-uic.c
/openbmc/qemu/hw/intc/riscv_aclint.c
/openbmc/qemu/hw/intc/riscv_aplic.c
/openbmc/qemu/hw/intc/riscv_imsic.c
/openbmc/qemu/hw/intc/rx_icu.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/sifive_plic.c
/openbmc/qemu/hw/intc/slavio_intctl.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/intc/xlnx-pmu-iomod-intc.c
/openbmc/qemu/hw/intc/xlnx-zynqmp-ipi.c
/openbmc/qemu/hw/ipack/ipack.c
/openbmc/qemu/hw/ipack/tpci200.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_extern.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/ipmi/ipmi_bt.c
/openbmc/qemu/hw/ipmi/ipmi_kcs.c
/openbmc/qemu/hw/ipmi/isa_ipmi_bt.c
/openbmc/qemu/hw/ipmi/isa_ipmi_kcs.c
/openbmc/qemu/hw/ipmi/pci_ipmi_bt.c
/openbmc/qemu/hw/ipmi/pci_ipmi_kcs.c
/openbmc/qemu/hw/ipmi/smbus_ipmi.c
/openbmc/qemu/hw/isa/apm.c
/openbmc/qemu/hw/isa/i82378.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/isa/pc87312.c
/openbmc/qemu/hw/isa/piix.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/loongarch/acpi-build.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/m68k/q800-glue.c
/openbmc/qemu/hw/mem/meson.build
/openbmc/qemu/hw/mips/meson.build
/openbmc/qemu/hw/misc/a9scu.c
/openbmc/qemu/hw/misc/allwinner-a10-ccm.c
/openbmc/qemu/hw/misc/allwinner-a10-dramc.c
/openbmc/qemu/hw/misc/allwinner-cpucfg.c
/openbmc/qemu/hw/misc/allwinner-h3-ccu.c
/openbmc/qemu/hw/misc/allwinner-h3-dramc.c
/openbmc/qemu/hw/misc/allwinner-h3-sysctrl.c
/openbmc/qemu/hw/misc/allwinner-r40-ccu.c
/openbmc/qemu/hw/misc/allwinner-r40-dramc.c
/openbmc/qemu/hw/misc/allwinner-sid.c
/openbmc/qemu/hw/misc/allwinner-sramc.c
/openbmc/qemu/hw/misc/arm_l2x0.c
/openbmc/qemu/hw/misc/arm_sysctl.c
/openbmc/qemu/hw/misc/armsse-cpu-pwrctrl.c
/openbmc/qemu/hw/misc/armsse-mhu.c
/openbmc/qemu/hw/misc/aspeed_hace.c
/openbmc/qemu/hw/misc/aspeed_i3c.c
/openbmc/qemu/hw/misc/aspeed_lpc.c
/openbmc/qemu/hw/misc/aspeed_sbc.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/aspeed_xdma.c
/openbmc/qemu/hw/misc/axp2xx.c
/openbmc/qemu/hw/misc/bcm2835_cprman.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_mphi.c
/openbmc/qemu/hw/misc/bcm2835_powermgt.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/bcm2835_rng.c
/openbmc/qemu/hw/misc/bcm2835_thermal.c
/openbmc/qemu/hw/misc/djmemc.c
/openbmc/qemu/hw/misc/eccmemctl.c
/openbmc/qemu/hw/misc/exynos4210_clk.c
/openbmc/qemu/hw/misc/exynos4210_pmu.c
/openbmc/qemu/hw/misc/exynos4210_rng.c
/openbmc/qemu/hw/misc/imx25_ccm.c
/openbmc/qemu/hw/misc/imx31_ccm.c
/openbmc/qemu/hw/misc/imx6_ccm.c
/openbmc/qemu/hw/misc/imx6_src.c
/openbmc/qemu/hw/misc/imx6ul_ccm.c
/openbmc/qemu/hw/misc/imx7_ccm.c
/openbmc/qemu/hw/misc/imx7_snvs.c
/openbmc/qemu/hw/misc/imx7_src.c
/openbmc/qemu/hw/misc/imx_rngc.c
/openbmc/qemu/hw/misc/iosb.c
/openbmc/qemu/hw/misc/iotkit-secctl.c
/openbmc/qemu/hw/misc/iotkit-sysctl.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/lasi.c
/openbmc/qemu/hw/misc/led.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/misc/macio/gpio.c
/openbmc/qemu/hw/misc/macio/mac_dbdma.c
/openbmc/qemu/hw/misc/macio/macio.c
/openbmc/qemu/hw/misc/macio/pmu.c
/openbmc/qemu/hw/misc/mips_cmgcr.c
/openbmc/qemu/hw/misc/mips_cpc.c
/openbmc/qemu/hw/misc/mos6522.c
/openbmc/qemu/hw/misc/mps2-fpgaio.c
/openbmc/qemu/hw/misc/mps2-scc.c
/openbmc/qemu/hw/misc/msf2-sysreg.c
/openbmc/qemu/hw/misc/mst_fpga.c
/openbmc/qemu/hw/misc/npcm7xx_clk.c
/openbmc/qemu/hw/misc/npcm7xx_gcr.c
/openbmc/qemu/hw/misc/npcm7xx_mft.c
/openbmc/qemu/hw/misc/npcm7xx_pwm.c
/openbmc/qemu/hw/misc/npcm7xx_rng.c
/openbmc/qemu/hw/misc/nrf51_rng.c
/openbmc/qemu/hw/misc/pca9552.c
/openbmc/qemu/hw/misc/pvpanic-pci.c
/openbmc/qemu/hw/misc/slavio_misc.c
/openbmc/qemu/hw/misc/stm32f4xx_exti.c
/openbmc/qemu/hw/misc/stm32f4xx_syscfg.c
/openbmc/qemu/hw/misc/tz-mpc.c
/openbmc/qemu/hw/misc/tz-msc.c
/openbmc/qemu/hw/misc/tz-ppc.c
/openbmc/qemu/hw/misc/virt_ctrl.c
/openbmc/qemu/hw/misc/vmcoreinfo.c
/openbmc/qemu/hw/misc/xlnx-versal-cframe-reg.c
/openbmc/qemu/hw/misc/xlnx-versal-cfu.c
/openbmc/qemu/hw/misc/xlnx-versal-crl.c
/openbmc/qemu/hw/misc/xlnx-versal-pmc-iou-slcr.c
/openbmc/qemu/hw/misc/xlnx-versal-trng.c
/openbmc/qemu/hw/misc/xlnx-versal-xramc.c
/openbmc/qemu/hw/misc/xlnx-zynqmp-apu-ctrl.c
/openbmc/qemu/hw/misc/xlnx-zynqmp-crf.c
/openbmc/qemu/hw/misc/zynq_slcr.c
/openbmc/qemu/hw/net/allwinner-sun8i-emac.c
/openbmc/qemu/hw/net/allwinner_emac.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/can/can_kvaser_pci.c
/openbmc/qemu/hw/net/can/can_mioe3680_pci.c
/openbmc/qemu/hw/net/can/can_pcm3680_pci.c
/openbmc/qemu/hw/net/can/can_sja1000.c
/openbmc/qemu/hw/net/can/ctucan_core.c
/openbmc/qemu/hw/net/can/ctucan_pci.c
/openbmc/qemu/hw/net/can/xlnx-versal-canfd.c
/openbmc/qemu/hw/net/can/xlnx-zynqmp-can.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/igb.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/lance.c
/openbmc/qemu/hw/net/lasi_i82596.c
/openbmc/qemu/hw/net/meson.build
/openbmc/qemu/hw/net/mipsnet.c
/openbmc/qemu/hw/net/msf2-emac.c
/openbmc/qemu/hw/net/mv88w8618_eth.c
/openbmc/qemu/hw/net/ne2000-isa.c
/openbmc/qemu/hw/net/ne2000-pci.c
/openbmc/qemu/hw/net/ne2000.c
/openbmc/qemu/hw/net/npcm7xx_emc.c
/openbmc/qemu/hw/net/pcnet-pci.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/smc91c111.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/net/stellaris_enet.c
/openbmc/qemu/hw/net/sungem.c
/openbmc/qemu/hw/net/sunhme.c
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/net/xgmac.c
/openbmc/qemu/hw/nvram/ds1225y.c
/openbmc/qemu/hw/nvram/eeprom93xx.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/nvram/mac_nvram.c
/openbmc/qemu/hw/nvram/npcm7xx_otp.c
/openbmc/qemu/hw/nvram/nrf51_nvm.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/nvram/xlnx-bbram.c
/openbmc/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/openbmc/qemu/hw/nvram/xlnx-zynqmp-efuse.c
/openbmc/qemu/hw/openrisc/cputimer.c
/openbmc/qemu/hw/pci-bridge/gen_pcie_root_port.c
/openbmc/qemu/hw/pci-bridge/i82801b11.c
/openbmc/qemu/hw/pci-bridge/ioh3420.c
/openbmc/qemu/hw/pci-bridge/meson.build
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-bridge/pcie_pci_bridge.c
/openbmc/qemu/hw/pci-bridge/xio3130_downstream.c
/openbmc/qemu/hw/pci-bridge/xio3130_upstream.c
/openbmc/qemu/hw/pci-host/astro.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci-host/designware.c
/openbmc/qemu/hw/pci-host/dino.c
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/pci-host/gt64120.c
/openbmc/qemu/hw/pci-host/i440fx.c
/openbmc/qemu/hw/pci-host/ppce500.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci-host/raven.c
/openbmc/qemu/hw/pci-host/versatile.c
/openbmc/qemu/hw/pci/meson.build
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_host.c
/openbmc/qemu/hw/pci/pcie_aer.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/ppc/meson.build
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/ppc4xx_pci.c
/openbmc/qemu/hw/ppc/prep_systemio.c
/openbmc/qemu/hw/ppc/rs6000_mc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_nvdimm.c
/openbmc/qemu/hw/ppc/spapr_ovec.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtc.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/remote/meson.build
/openbmc/qemu/hw/riscv/virt-acpi-build.c
/openbmc/qemu/hw/rtc/allwinner-rtc.c
/openbmc/qemu/hw/rtc/aspeed_rtc.c
/openbmc/qemu/hw/rtc/ds1338.c
/openbmc/qemu/hw/rtc/exynos4210_rtc.c
/openbmc/qemu/hw/rtc/goldfish_rtc.c
/openbmc/qemu/hw/rtc/ls7a_rtc.c
/openbmc/qemu/hw/rtc/m48t59.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/rtc/pl031.c
/openbmc/qemu/hw/rtc/twl92230.c
/openbmc/qemu/hw/rtc/xlnx-zynqmp-rtc.c
/openbmc/qemu/hw/s390x/ccw-device.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/sclpquiesce.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/esp-pci.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/sd/allwinner-sdhost.c
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/cadence_sdhci.c
/openbmc/qemu/hw/sd/npcm7xx_sdhci.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/sensor/adm1266.c
/openbmc/qemu/hw/sensor/adm1272.c
/openbmc/qemu/hw/sensor/dps310.c
/openbmc/qemu/hw/sensor/emc141x.c
/openbmc/qemu/hw/sensor/lsm303dlhc_mag.c
/openbmc/qemu/hw/sensor/max31785.c
/openbmc/qemu/hw/sensor/max34451.c
/openbmc/qemu/hw/sensor/tmp105.c
/openbmc/qemu/hw/sensor/tmp421.c
/openbmc/qemu/hw/smbios/meson.build
/openbmc/qemu/hw/sparc/sun4m_iommu.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/ssi/ibex_spi_host.c
/openbmc/qemu/hw/ssi/imx_spi.c
/openbmc/qemu/hw/ssi/mss-spi.c
/openbmc/qemu/hw/ssi/npcm7xx_fiu.c
/openbmc/qemu/hw/ssi/npcm_pspi.c
/openbmc/qemu/hw/ssi/pl022.c
/openbmc/qemu/hw/ssi/ssi.c
/openbmc/qemu/hw/ssi/stm32f2xx_spi.c
/openbmc/qemu/hw/ssi/xilinx_spi.c
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/ssi/xlnx-versal-ospi.c
/openbmc/qemu/hw/timer/a9gtimer.c
/openbmc/qemu/hw/timer/allwinner-a10-pit.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/arm_timer.c
/openbmc/qemu/hw/timer/armv7m_systick.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/timer/bcm2835_systmr.c
/openbmc/qemu/hw/timer/cadence_ttc.c
/openbmc/qemu/hw/timer/cmsdk-apb-dualtimer.c
/openbmc/qemu/hw/timer/cmsdk-apb-timer.c
/openbmc/qemu/hw/timer/digic-timer.c
/openbmc/qemu/hw/timer/etraxfs_timer.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/exynos4210_pwm.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/timer/i8254_common.c
/openbmc/qemu/hw/timer/ibex_timer.c
/openbmc/qemu/hw/timer/imx_epit.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/timer/mss-timer.c
/openbmc/qemu/hw/timer/npcm7xx_timer.c
/openbmc/qemu/hw/timer/nrf51_timer.c
/openbmc/qemu/hw/timer/pxa2xx_timer.c
/openbmc/qemu/hw/timer/renesas_cmt.c
/openbmc/qemu/hw/timer/renesas_tmr.c
/openbmc/qemu/hw/timer/sifive_pwm.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/timer/sse-counter.c
/openbmc/qemu/hw/timer/sse-timer.c
/openbmc/qemu/hw/timer/stellaris-gptm.c
/openbmc/qemu/hw/timer/stm32f2xx_timer.c
/openbmc/qemu/hw/tpm/tpm_crb.c
/openbmc/qemu/hw/tpm/tpm_spapr.c
/openbmc/qemu/hw/tpm/tpm_tis_common.c
/openbmc/qemu/hw/tpm/tpm_tis_i2c.c
/openbmc/qemu/hw/tpm/tpm_tis_isa.c
/openbmc/qemu/hw/tpm/tpm_tis_sysbus.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/dev-hid.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/usb/dev-uas.c
/openbmc/qemu/hw/usb/hcd-dwc2.c
/openbmc/qemu/hw/usb/hcd-dwc3.c
/openbmc/qemu/hw/usb/hcd-ehci-pci.c
/openbmc/qemu/hw/usb/hcd-ehci-sysbus.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ohci-pci.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-uhci.c
/openbmc/qemu/hw/usb/hcd-xhci-pci.c
/openbmc/qemu/hw/usb/hcd-xhci-sysbus.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/usb/imx-usb-phy.c
/openbmc/qemu/hw/usb/meson.build
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/usb/u2f-passthru.c
/openbmc/qemu/hw/usb/u2f.c
/openbmc/qemu/hw/usb/xlnx-versal-usb2-ctrl-regs.c
/openbmc/qemu/hw/vfio/display.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/meson.build
/openbmc/qemu/hw/virtio/vdpa-dev.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-crypto.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/watchdog/allwinner-wdt.c
/openbmc/qemu/hw/watchdog/cmsdk-apb-watchdog.c
/openbmc/qemu/hw/watchdog/sbsa_gwdt.c
/openbmc/qemu/hw/watchdog/spapr_watchdog.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/hw/watchdog/wdt_diag288.c
/openbmc/qemu/hw/watchdog/wdt_i6300esb.c
/openbmc/qemu/hw/watchdog/wdt_ib700.c
/openbmc/qemu/hw/watchdog/wdt_imx2.c
/openbmc/qemu/include/hw/pci/shpc.h
/openbmc/qemu/linux-user/alpha/target_elf.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/global_state.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/net/can/meson.build
/openbmc/qemu/net/meson.build
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/qga/meson.build
/openbmc/qemu/replay/replay-snapshot.c
/openbmc/qemu/scsi/meson.build
/openbmc/qemu/storage-daemon/meson.build
/openbmc/qemu/system/cpu-timers.c
/openbmc/qemu/system/meson.build
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/avr/cpu.c
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/hexagon/cpu.c
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/tcg/cc_helper.c
/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/excp_helper.c
/openbmc/qemu/target/i386/tcg/fpu_helper.c
/openbmc/qemu/target/i386/tcg/helper-tcg.h
/openbmc/qemu/target/i386/tcg/int_helper.c
/openbmc/qemu/target/i386/tcg/misc_helper.c
/openbmc/qemu/target/i386/tcg/seg_helper.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/mips/meson.build
/openbmc/qemu/target/openrisc/cpu.c
cpu.c
/openbmc/qemu/target/s390x/machine.c
/openbmc/qemu/target/sparc/machine.c
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/tcg/meson.build
/openbmc/qemu/tests/bench/meson.build
/openbmc/qemu/tests/fp/meson.build
/openbmc/qemu/tests/meson.build
/openbmc/qemu/tests/plugin/meson.build
/openbmc/qemu/tests/qemu-iotests/meson.build
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/tcg/i386/Makefile.target
/openbmc/qemu/tests/tcg/i386/test-flags.c
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-vmstate.c
/openbmc/qemu/ui/dbus-display1.xml
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/fifo8.c
/openbmc/qemu/util/meson.build
85b57d3d20-Dec-2023 Richard Henderson <richard.henderson@linaro.org>

target/riscv: Constify VMState in machine.c

Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-1

target/riscv: Constify VMState in machine.c

Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-16-richard.henderson@linaro.org>

show more ...

d424db2318-Dec-2023 Natanael Copa <ncopa@alpinelinux.org>

target/riscv/kvm: do not use non-portable strerrorname_np()

strerrorname_np is non-portable and breaks building with musl libc.

Use strerror(errno) instead, like we do other places.

Cc: qemu-stabl

target/riscv/kvm: do not use non-portable strerrorname_np()

strerrorname_np is non-portable and breaks building with musl libc.

Use strerror(errno) instead, like we do other places.

Cc: qemu-stable@nongnu.org
Fixes: commit 082e9e4a58ba (target/riscv/kvm: improve 'init_multiext_cfg' error msg)
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2041
Buglink: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15541
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/VERSION
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/backends/Kconfig
/openbmc/qemu/backends/iommufd.c
/openbmc/qemu/backends/meson.build
/openbmc/qemu/backends/trace-events
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-before-write.c
/openbmc/qemu/block/export/export.c
/openbmc/qemu/block/export/vhost-user-blk-server.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/graph-lock.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/monitor/bitmap-qmp-cmds.c
/openbmc/qemu/block/monitor/block-hmp-cmds.c
/openbmc/qemu/block/qapi-sysemu.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/write-threshold.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/docs/devel/index-internals.rst
/openbmc/qemu/docs/devel/multiple-iothreads.txt
/openbmc/qemu/docs/devel/vfio-iommufd.rst
/openbmc/qemu/docs/specs/tpm.rst
/openbmc/qemu/docs/system/arm/xenpvh.rst
/openbmc/qemu/docs/system/arm/xlnx-versal-virt.rst
/openbmc/qemu/docs/system/invocation.rst
/openbmc/qemu/docs/system/qemu-manpage.rst
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.h
/openbmc/qemu/hw/block/dataplane/xen-block.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/m68k/virt.c
/openbmc/qemu/hw/misc/imx7_snvs.c
/openbmc/qemu/hw/misc/mips_itu.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_pci_vfio.c
/openbmc/qemu/hw/s390x/Kconfig
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/scsi/scsi-bus.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/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/ufs/ufs.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/container-base.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/helpers.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/meson.build
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/include/block/aio-wait.h
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block-common.h
/openbmc/qemu/include/block/block-global-state.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/graph-lock.h
/openbmc/qemu/include/block/snapshot.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/loongarch/virt.h
/openbmc/qemu/include/hw/misc/imx7_snvs.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cframe-reg.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cfu.h
/openbmc/qemu/include/hw/misc/xlnx-versal-crl.h
/openbmc/qemu/include/hw/nvram/xlnx-efuse.h
/openbmc/qemu/include/hw/nvram/xlnx-versal-efuse.h
/openbmc/qemu/include/hw/nvram/xlnx-zynqmp-efuse.h
/openbmc/qemu/include/hw/qdev-properties-system.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/vfio/vfio-container-base.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/hw/xen/xen_native.h
/openbmc/qemu/include/qapi/string-output-visitor.h
/openbmc/qemu/include/qemu/chardev_open.h
/openbmc/qemu/include/qemu/job.h
/openbmc/qemu/include/sysemu/iommufd.h
/openbmc/qemu/include/sysemu/qtest.h
/openbmc/qemu/job.c
/openbmc/qemu/linux-user/sh4/termbits.h
/openbmc/qemu/meson.build
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qapi/virtio.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object.c
/openbmc/qemu/replay/replay-debugging.c
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/scripts/block-coroutine-wrapper.py
/openbmc/qemu/system/dma-helpers.c
/openbmc/qemu/system/qtest.c
/openbmc/qemu/system/vl.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/arm/tcg/op_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/tcg/tcg-cpu.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/loongarch/cpu.c
kvm/kvm-cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/tcg/tcg-op-ldst.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tests/avocado/machine_mips_malta.py
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/qemu-iotests/149
/openbmc/qemu/tests/qemu-iotests/149.out
/openbmc/qemu/tests/qemu-iotests/202
/openbmc/qemu/tests/qemu-iotests/203
/openbmc/qemu/tests/qemu-iotests/tests/qcow2-internal-snapshots
/openbmc/qemu/tests/qemu-iotests/tests/qcow2-internal-snapshots.out
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/npcm7xx_pwm-test.c
/openbmc/qemu/tests/qtest/test-filter-mirror.c
/openbmc/qemu/tests/qtest/test-filter-redirector.c
/openbmc/qemu/tests/qtest/virtio-net-test.c
/openbmc/qemu/tests/tsan/suppressions.tsan
/openbmc/qemu/tests/unit/test-aio.c
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-bdrv-graph-mod.c
/openbmc/qemu/tests/unit/test-block-iothread.c
/openbmc/qemu/tests/unit/test-blockjob.c
/openbmc/qemu/tests/unit/test-io-task.c
/openbmc/qemu/tests/unit/test-qmp-event.c
/openbmc/qemu/tests/unit/test-replication.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/vnc-clipboard.c
/openbmc/qemu/util/async.c
/openbmc/qemu/util/chardev_open.c
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/vhost-user-server.c
560b8e1d23-Nov-2023 Daniel Henrique Barboza <dbarboza@ventanamicro.com>

target/riscv/kvm: fix shadowing in kvm_riscv_(get|put)_regs_csr

KVM_RISCV_GET_CSR() and KVM_RISCV_SET_CSR() use an 'int ret' variable
that is used to do an early 'return' if ret > 0. Both are being

target/riscv/kvm: fix shadowing in kvm_riscv_(get|put)_regs_csr

KVM_RISCV_GET_CSR() and KVM_RISCV_SET_CSR() use an 'int ret' variable
that is used to do an early 'return' if ret > 0. Both are being called
in functions that are also declaring a 'ret' integer, initialized with
'0', and this integer is used as return of the function.

The result is that the compiler is less than pleased and is pointing
shadowing errors:

../target/riscv/kvm/kvm-cpu.c: In function 'kvm_riscv_get_regs_csr':
../target/riscv/kvm/kvm-cpu.c:90:13: error: declaration of 'ret' shadows a previous local [-Werror=shadow=compatible-local]
90 | int ret = kvm_get_one_reg(cs, RISCV_CSR_REG(env, csr), &reg); \
| ^~~
../target/riscv/kvm/kvm-cpu.c:539:5: note: in expansion of macro 'KVM_RISCV_GET_CSR'
539 | KVM_RISCV_GET_CSR(cs, env, sstatus, env->mstatus);
| ^~~~~~~~~~~~~~~~~
../target/riscv/kvm/kvm-cpu.c:536:9: note: shadowed declaration is here
536 | int ret = 0;
| ^~~

../target/riscv/kvm/kvm-cpu.c: In function 'kvm_riscv_put_regs_csr':
../target/riscv/kvm/kvm-cpu.c:98:13: error: declaration of 'ret' shadows a previous local [-Werror=shadow=compatible-local]
98 | int ret = kvm_set_one_reg(cs, RISCV_CSR_REG(env, csr), &reg); \
| ^~~
../target/riscv/kvm/kvm-cpu.c:556:5: note: in expansion of macro 'KVM_RISCV_SET_CSR'
556 | KVM_RISCV_SET_CSR(cs, env, sstatus, env->mstatus);
| ^~~~~~~~~~~~~~~~~
../target/riscv/kvm/kvm-cpu.c:553:9: note: shadowed declaration is here
553 | int ret = 0;
| ^~~

The macros are doing early returns for non-zero returns and the local
'ret' variable for both functions is used just to do 'return 0', so
remove them from kvm_riscv_get_regs_csr() and kvm_riscv_put_regs_csr()
and do a straight 'return 0' in the end.

For good measure let's also rename the 'ret' variables in
KVM_RISCV_GET_CSR() and KVM_RISCV_SET_CSR() to '_ret' to make them more
resilient to these kind of errors.

Fixes: 937f0b4512 ("target/riscv: Implement kvm_arch_get_registers")
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20231123101338.1040134-1-dbarboza@ventanamicro.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/cirrus/macos-13.vars
/openbmc/qemu/.gitlab-ci.d/cirrus/macos-14.vars
/openbmc/qemu/.gitlab-ci.d/container-cross.yml
/openbmc/qemu/.gitlab-ci.d/containers.yml
/openbmc/qemu/.gitlab-ci.d/crossbuilds.yml
/openbmc/qemu/VERSION
/openbmc/qemu/audio/audio.c
/openbmc/qemu/block/export/vhost-user-blk-server.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/plugins/Makefile
/openbmc/qemu/disas/cris.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/emulation.rst
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/s390-cpu-topology.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/system/gdb.rst
/openbmc/qemu/gdbstub/internals.h
/openbmc/qemu/gdbstub/system.c
/openbmc/qemu/hw/acpi/erst.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/audio/via-ac97.c
/openbmc/qemu/hw/audio/virtio-snd-pci.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/avr/atmega.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/dma/xlnx_csu_dma.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/input/stellaris_gamepad.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/misc/mps2-scc.c
/openbmc/qemu/hw/net/can/xlnx-zynqmp-can.c
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/nios2/generic_nommu.c
/openbmc/qemu/hw/nvram/xlnx-efuse.c
/openbmc/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pcie_sriov.c
/openbmc/qemu/hw/ppc/amigaone.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/usb/vt82c686-uhci-pci.c
/openbmc/qemu/hw/virtio/vhost-user-gpio.c
/openbmc/qemu/hw/virtio/virtio-iommu-pci.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/hw/isa/vt82c686.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cframe-reg.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cfu.h
/openbmc/qemu/include/hw/misc/xlnx-versal-pmc-iou-slcr.h
/openbmc/qemu/include/hw/ssi/xilinx_spips.h
/openbmc/qemu/include/hw/ssi/xlnx-versal-ospi.h
/openbmc/qemu/include/hw/virtio/virtio-pci.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/vhost-user-server.h
/openbmc/qemu/meson.build
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios-microvm.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/pc-bios/vgabios-ati.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/plugins/meson.build
/openbmc/qemu/python/scripts/vendor.py
/openbmc/qemu/python/wheels/meson-1.2.3-py3-none-any.whl
/openbmc/qemu/pythondeps.toml
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qga/meson.build
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/seabios
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/scripts/coverity-scan/model.c
/openbmc/qemu/scripts/coverity-scan/run-coverity-scan
/openbmc/qemu/system/memory.c
/openbmc/qemu/system/physmem.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/syndrome.h
/openbmc/qemu/target/avr/cpu.c
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/hexagon/idef-parser/prepare
kvm/kvm-cpu.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/avocado/boot_linux.py
/openbmc/qemu/tests/avocado/boot_linux_console.py
/openbmc/qemu/tests/avocado/intel_iommu.py
/openbmc/qemu/tests/avocado/linux_initrd.py
/openbmc/qemu/tests/avocado/machine_aarch64_sbsaref.py
/openbmc/qemu/tests/avocado/machine_aspeed.py
/openbmc/qemu/tests/avocado/machine_mips_malta.py
/openbmc/qemu/tests/avocado/machine_rx_gdbsim.py
/openbmc/qemu/tests/avocado/machine_s390_ccw_virtio.py
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/avocado/reverse_debugging.py
/openbmc/qemu/tests/avocado/smmu.py
/openbmc/qemu/tests/avocado/tuxrun_baselines.py
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/debian-i686-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian.docker
/openbmc/qemu/tests/lcitool/libvirt-ci
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/plugin/meson.build
/openbmc/qemu/tests/qemu-iotests/059
/openbmc/qemu/tests/qemu-iotests/059.out
/openbmc/qemu/tests/qemu-iotests/testenv.py
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/netdev-socket.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/system/vtimer.c
/openbmc/qemu/tests/tcg/arm/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/arm/system/boot.S
/openbmc/qemu/tests/tcg/arm/system/kernel.ld
/openbmc/qemu/tests/tcg/arm/system/semiconsole.c
/openbmc/qemu/tests/tcg/arm/system/test-armv6m-undef.S
/openbmc/qemu/tests/tcg/arm/system/test-armv6m-undef.ld
/openbmc/qemu/tests/tcg/multiarch/gdbstub/registers.py
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/util/vhost-user-server.c
6bca4d7d21-Nov-2023 Ivan Klokov <ivan.klokov@syntacore.com>

target/riscv/cpu_helper.c: Fix mxr bit behavior

According to RISCV Specification sect 9.5 on two stage translation when
V=1 the vsstatus(mstatus in QEMU's terms) field MXR, which makes
execute-only

target/riscv/cpu_helper.c: Fix mxr bit behavior

According to RISCV Specification sect 9.5 on two stage translation when
V=1 the vsstatus(mstatus in QEMU's terms) field MXR, which makes
execute-only pages readable, only overrides VS-stage page protection.
Setting MXR at HS-level(mstatus_hs), however, overrides both VS-stage
and G-stage execute-only permissions.

The hypervisor extension changes the behavior of MXR\MPV\MPRV bits.
Due to RISCV Specification sect. 9.4.1 when MPRV=1, explicit memory
accesses are translated and protected, and endianness is applied, as
though the current virtualization mode were set to MPV and the current
nominal privilege mode were set to MPP. vsstatus.MXR makes readable
those pages marked executable at the VS translation stage.

Fixes: 36a18664ba ("target/riscv: Implement second stage MMU")

Signed-off-by: Ivan Klokov <ivan.klokov@syntacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20231121071757.7178-3-ivan.klokov@syntacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

82d53adf21-Nov-2023 Ivan Klokov <ivan.klokov@syntacore.com>

target/riscv/cpu_helper.c: Invalid exception on MMU translation stage

According to RISCV privileged spec sect. 5.3.2 Virtual Address Translation Process
access-fault exceptions may raise only after

target/riscv/cpu_helper.c: Invalid exception on MMU translation stage

According to RISCV privileged spec sect. 5.3.2 Virtual Address Translation Process
access-fault exceptions may raise only after PMA/PMP check. Current implementation
generates an access-fault for mbare mode even if there were no PMA/PMP errors.
This patch removes the erroneous MMU mode check and generates an access-fault
exception based on the pmp_violation flag only.

Fixes: 1448689c7b ("target/riscv: Allow specifying MMU stage")

Signed-off-by: Ivan Klokov <ivan.klokov@syntacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20231121071757.7178-2-ivan.klokov@syntacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

9bbf032714-Nov-2023 Clément Chigot <chigot@adacore.com>

target/riscv: don't verify ISA compatibility for zicntr and zihpm

The extensions zicntr and zihpm were officially added in the privilege
instruction set specification 1.12. However, QEMU has been im

target/riscv: don't verify ISA compatibility for zicntr and zihpm

The extensions zicntr and zihpm were officially added in the privilege
instruction set specification 1.12. However, QEMU has been implemented
them long before it and thus they are forced to be on during the cpu
initialization to ensure compatibility (see riscv_cpu_init).
riscv_cpu_disable_priv_spec_isa_exts was not updated when the above
behavior was introduced, resulting in these extensions to be disabled
after all.

Signed-off-by: Clément Chigot <chigot@adacore.com>
Fixes: c004099330 ("target/riscv: add zicntr extension flag for TCG")
Fixes: 0824121660 ("target/riscv: add zihpm extension flag for TCG")
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20231114123913.536194-1-chigot@adacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...


/openbmc/qemu/VERSION
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/tb-maint.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translator.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/graph-lock.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/disas/hppa.c
/openbmc/qemu/docs/devel/tcg-icount.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/netduino2.c
/openbmc/qemu/hw/arm/netduinoplus2.c
/openbmc/qemu/hw/arm/olimex-stm32-h405.c
/openbmc/qemu/hw/arm/stm32f100_soc.c
/openbmc/qemu/hw/arm/stm32f205_soc.c
/openbmc/qemu/hw/arm/stm32f405_soc.c
/openbmc/qemu/hw/arm/stm32vldiscovery.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/ioport.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/net/allwinner-sun8i-emac.c
/openbmc/qemu/hw/net/allwinner_emac.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/etraxfs_eth.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/igb.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/mcf_fec.c
/openbmc/qemu/hw/net/mipsnet.c
/openbmc/qemu/hw/net/msf2-emac.c
/openbmc/qemu/hw/net/mv88w8618_eth.c
/openbmc/qemu/hw/net/ne2000-isa.c
/openbmc/qemu/hw/net/ne2000-pci.c
/openbmc/qemu/hw/net/npcm7xx_emc.c
/openbmc/qemu/hw/net/opencores_eth.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/net/rocker/rocker_fp.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/smc91c111.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/net/stellaris_enet.c
/openbmc/qemu/hw/net/sungem.c
/openbmc/qemu/hw/net/sunhme.c
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/net/xen_nic.c
/openbmc/qemu/hw/net/xgmac.c
/openbmc/qemu/hw/net/xilinx_axienet.c
/openbmc/qemu/hw/net/xilinx_ethlite.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_i2c.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/include/block/graph-lock.h
/openbmc/qemu/include/exec/translation-block.h
/openbmc/qemu/include/hw/arm/stm32f100_soc.h
/openbmc/qemu/include/hw/arm/stm32f205_soc.h
/openbmc/qemu/include/hw/arm/stm32f405_soc.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/ide/pci.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/ui/pixman-minimal.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/xtensa/signal.c
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/net/net.c
/openbmc/qemu/qga/commands.c
/openbmc/qemu/scripts/block-coroutine-wrapper.py
/openbmc/qemu/system/balloon.c
/openbmc/qemu/system/vl.c
/openbmc/qemu/system/watchpoint.c
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/arm/tcg/sme_helper.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/ppc/fpu_helper.c
tcg/tcg-cpu.c
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/tcg/loongarch64/tcg-target.c.inc
/openbmc/qemu/tests/avocado/avocado_qemu/__init__.py
/openbmc/qemu/tests/avocado/cpu_queries.py
/openbmc/qemu/tests/avocado/empty_cpu_model.py
/openbmc/qemu/tests/avocado/intel_iommu.py
/openbmc/qemu/tests/avocado/mem-addr-space-check.py
/openbmc/qemu/tests/avocado/multiprocess.py
/openbmc/qemu/tests/avocado/pc_cpu_hotplug_props.py
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/avocado/reverse_debugging.py
/openbmc/qemu/tests/avocado/version.py
/openbmc/qemu/tests/avocado/virtio-gpu.py
/openbmc/qemu/tests/avocado/x86_cpu_model_versions.py
/openbmc/qemu/tests/qemu-iotests/tests/iothreads-stream
/openbmc/qemu/tests/qemu-iotests/tests/iothreads-stream.out
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/ufs-test.c
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/ppc64/vsx_f2i_nan.c
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-bdrv-graph-mod.c
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/dbus.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/spice-app.c
/openbmc/qemu/ui/ui-qmp-cmds.c
/openbmc/qemu/util/filemonitor-inotify.c
/openbmc/qemu/util/range.c
3a4e560114-Nov-2023 Michael Tokarev <mjt@tls.msk.ru>

target/riscv/cpu.h: spelling fix: separatly

Fixes: 40336d5b1d4c "target/riscv: Add HS-mode virtual interrupt and IRQ filtering support."
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Mi

target/riscv/cpu.h: spelling fix: separatly

Fixes: 40336d5b1d4c "target/riscv: Add HS-mode virtual interrupt and IRQ filtering support."
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/openbmc/qemu/.gitlab-ci.d/crossbuilds.yml
/openbmc/qemu/.gitlab-ci.d/windows.yml
/openbmc/qemu/.mailmap
/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/VERSION
/openbmc/qemu/audio/wavaudio.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/block-copy.c
/openbmc/qemu/block/bochs.c
/openbmc/qemu/block/cloop.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-before-write.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/copy-on-read.h
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/dmg.c
/openbmc/qemu/block/filter-compress.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/monitor/block-hmp-cmds.c
/openbmc/qemu/block/parallels-ext.c
/openbmc/qemu/block/parallels.c
/openbmc/qemu/block/parallels.h
/openbmc/qemu/block/preallocate.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-bitmap.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/qed.h
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot-access.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/throttle.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vhdx-log.c
/openbmc/qemu/block/vhdx.c
/openbmc/qemu/block/vhdx.h
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/bsd-user/bsd-mem.h
/openbmc/qemu/bsd-user/freebsd/os-proc.c
/openbmc/qemu/bsd-user/freebsd/os-stat.h
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/configs/devices/ppc-softmmu/default.mak
/openbmc/qemu/configs/targets/loongarch64-linux-user.mak
/openbmc/qemu/configure
/openbmc/qemu/contrib/gitdm/domain-map
/openbmc/qemu/contrib/plugins/Makefile
/openbmc/qemu/contrib/plugins/win32_linker.c
/openbmc/qemu/contrib/vhost-user-gpu/virgl.c
/openbmc/qemu/cpu-common.c
/openbmc/qemu/cpu-target.c
/openbmc/qemu/crypto/rsakey-builtin.c.inc
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/interop/vhost-user.rst
/openbmc/qemu/docs/sphinx/qapidoc.py
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/docs/system/device-emulation.rst
/openbmc/qemu/docs/system/devices/virtio-snd.rst
/openbmc/qemu/docs/system/i386/xen.rst
/openbmc/qemu/dump/dump.c
/openbmc/qemu/gdb-xml/arm-neon.xml
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/host/include/generic/host/atomic128-cas.h
/openbmc/qemu/host/include/generic/host/atomic128-ldst.h
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xen_arm.c
/openbmc/qemu/hw/arm/xlnx-versal.c
/openbmc/qemu/hw/audio/Kconfig
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/meson.build
/openbmc/qemu/hw/audio/trace-events
/openbmc/qemu/hw/audio/virtio-snd-pci.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/char/xen_console.c
/openbmc/qemu/hw/core/cpu-common.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/cxl/cxl-cdat.c
/openbmc/qemu/hw/cxl/cxl-component-utils.c
/openbmc/qemu/hw/cxl/cxl-device-utils.c
/openbmc/qemu/hw/cxl/cxl-events.c
/openbmc/qemu/hw/cxl/cxl-mailbox-utils.c
/openbmc/qemu/hw/cxl/meson.build
/openbmc/qemu/hw/cxl/switch-mailbox-cci.c
/openbmc/qemu/hw/display/Kconfig
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/ati_2d.c
/openbmc/qemu/hw/display/meson.build
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/vhost-user-gpu.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i2c/pmbus_device.c
/openbmc/qemu/hw/i386/kvm/meson.build
/openbmc/qemu/hw/i386/kvm/trace-events
/openbmc/qemu/hw/i386/kvm/xen-stubs.c
/openbmc/qemu/hw/i386/kvm/xen_evtchn.c
/openbmc/qemu/hw/i386/kvm/xen_gnttab.c
/openbmc/qemu/hw/i386/kvm/xen_primary_console.c
/openbmc/qemu/hw/i386/kvm/xen_primary_console.h
/openbmc/qemu/hw/i386/kvm/xen_xenstore.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/xen/xen_platform.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/isa/i82378.c
/openbmc/qemu/hw/mem/cxl_type3.c
/openbmc/qemu/hw/mem/cxl_type3_stubs.c
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/mips/Kconfig
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/igb.c
/openbmc/qemu/hw/net/igb_common.h
/openbmc/qemu/hw/net/igb_core.c
/openbmc/qemu/hw/net/igb_core.h
/openbmc/qemu/hw/net/igbvf.c
/openbmc/qemu/hw/net/meson.build
/openbmc/qemu/hw/net/trace-events
/openbmc/qemu/hw/net/xen_nic.c
/openbmc/qemu/hw/pci-bridge/cxl_downstream.c
/openbmc/qemu/hw/pci-bridge/cxl_root_port.c
/openbmc/qemu/hw/pci-bridge/cxl_upstream.c
/openbmc/qemu/hw/pci-host/Kconfig
/openbmc/qemu/hw/pci-host/articia.c
/openbmc/qemu/hw/pci-host/astro.c
/openbmc/qemu/hw/pci-host/meson.build
/openbmc/qemu/hw/pci-host/pnv_phb4.c
/openbmc/qemu/hw/pci-host/pnv_phb4_pec.c
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/amigaone.c
/openbmc/qemu/hw/ppc/meson.build
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_i2c.c
/openbmc/qemu/hw/ppc/spapr_rtas.c
/openbmc/qemu/hw/rx/rx62n.c
/openbmc/qemu/hw/s390x/s390-pci-vfio.c
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/cadence_sdhci.c
/openbmc/qemu/hw/sd/core.c
/openbmc/qemu/hw/sd/npcm7xx_sdhci.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci-pci.c
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/sensor/Kconfig
/openbmc/qemu/hw/sensor/adm1266.c
/openbmc/qemu/hw/sensor/meson.build
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/hw/xen/xen-backend.c
/openbmc/qemu/hw/xen/xen-bus.c
/openbmc/qemu/hw/xen/xen-legacy-backend.c
/openbmc/qemu/hw/xen/xen_devconfig.c
/openbmc/qemu/hw/xenpv/xen_machine_pv.c
/openbmc/qemu/include/block/block-global-state.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/block_int-global-state.h
/openbmc/qemu/include/block/block_int-io.h
/openbmc/qemu/include/block/blockjob.h
/openbmc/qemu/include/block/blockjob_int.h
/openbmc/qemu/include/block/ufs.h
/openbmc/qemu/include/exec/gdbstub.h
/openbmc/qemu/include/hw/audio/virtio-snd.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/cxl/cxl.h
/openbmc/qemu/include/hw/cxl/cxl_component.h
/openbmc/qemu/include/hw/cxl/cxl_device.h
/openbmc/qemu/include/hw/cxl/cxl_events.h
/openbmc/qemu/include/hw/cxl/cxl_pci.h
/openbmc/qemu/include/hw/hyperv/dynmem-proto.h
/openbmc/qemu/include/hw/i2c/pmbus_device.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/topology.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/pci-bridge/cxl_upstream_port.h
/openbmc/qemu/include/hw/pci-host/articia.h
/openbmc/qemu/include/hw/pci-host/pnv_phb4.h
/openbmc/qemu/include/hw/pci-host/pnv_phb4_regs.h
/openbmc/qemu/include/hw/ppc/pnv_chip.h
/openbmc/qemu/include/hw/ppc/pnv_i2c.h
/openbmc/qemu/include/hw/ppc/pnv_xscom.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/hw/virtio/vhost-backend.h
/openbmc/qemu/include/hw/virtio/vhost-user.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/xen/interface/arch-arm.h
/openbmc/qemu/include/hw/xen/interface/arch-x86/cpuid.h
/openbmc/qemu/include/hw/xen/interface/arch-x86/xen-x86_32.h
/openbmc/qemu/include/hw/xen/interface/arch-x86/xen-x86_64.h
/openbmc/qemu/include/hw/xen/interface/arch-x86/xen.h
/openbmc/qemu/include/hw/xen/interface/event_channel.h
/openbmc/qemu/include/hw/xen/interface/features.h
/openbmc/qemu/include/hw/xen/interface/grant_table.h
/openbmc/qemu/include/hw/xen/interface/hvm/hvm_op.h
/openbmc/qemu/include/hw/xen/interface/hvm/params.h
/openbmc/qemu/include/hw/xen/interface/io/blkif.h
/openbmc/qemu/include/hw/xen/interface/io/console.h
/openbmc/qemu/include/hw/xen/interface/io/fbif.h
/openbmc/qemu/include/hw/xen/interface/io/kbdif.h
/openbmc/qemu/include/hw/xen/interface/io/netif.h
/openbmc/qemu/include/hw/xen/interface/io/protocols.h
/openbmc/qemu/include/hw/xen/interface/io/ring.h
/openbmc/qemu/include/hw/xen/interface/io/usbif.h
/openbmc/qemu/include/hw/xen/interface/io/xenbus.h
/openbmc/qemu/include/hw/xen/interface/io/xs_wire.h
/openbmc/qemu/include/hw/xen/interface/memory.h
/openbmc/qemu/include/hw/xen/interface/physdev.h
/openbmc/qemu/include/hw/xen/interface/sched.h
/openbmc/qemu/include/hw/xen/interface/trace.h
/openbmc/qemu/include/hw/xen/interface/vcpu.h
/openbmc/qemu/include/hw/xen/interface/version.h
/openbmc/qemu/include/hw/xen/interface/xen-compat.h
/openbmc/qemu/include/hw/xen/interface/xen.h
/openbmc/qemu/include/hw/xen/xen-backend.h
/openbmc/qemu/include/hw/xen/xen-bus.h
/openbmc/qemu/include/hw/xen/xen-legacy-backend.h
/openbmc/qemu/include/hw/xen/xen_native.h
/openbmc/qemu/include/qemu/int128.h
/openbmc/qemu/include/qemu/qemu-plugin.h
/openbmc/qemu/include/qom/object.h
/openbmc/qemu/include/sysemu/dump-arch.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/pixman-minimal.h
/openbmc/qemu/include/ui/qemu-pixman.h
/openbmc/qemu/include/ui/rect.h
/openbmc/qemu/io/net-listener.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/ppc/vdso.S
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/pragma.json
/openbmc/qemu/qapi/ui.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object.c
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/scripts/cpu-x86-uarch-abi.py
/openbmc/qemu/scripts/feature_to_c.py
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/qapi/schema.py
/openbmc/qemu/scripts/tracetool/__init__.py
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/qdev-monitor.c
/openbmc/qemu/system/vl.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/tcg/cpu32.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/hflags.c
/openbmc/qemu/target/arm/tcg/mte_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/hppa/cpu-param.h
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/int_helper.c
/openbmc/qemu/target/hppa/machine.c
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/xen-emu.c
cpu.h
/openbmc/qemu/target/s390x/arch_dump.c
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/kvm/stsi-topology.c
/openbmc/qemu/target/s390x/tcg/insn-data.h.inc
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/tests/avocado/acpi-bits.py
/openbmc/qemu/tests/avocado/machine_m68k_nextcube.py
/openbmc/qemu/tests/avocado/machine_s390_ccw_virtio.py
/openbmc/qemu/tests/avocado/mem-addr-space-check.py
/openbmc/qemu/tests/avocado/ppc_amiga.py
/openbmc/qemu/tests/avocado/tcg_plugins.py
/openbmc/qemu/tests/avocado/tesseract_utils.py
/openbmc/qemu/tests/data/acpi/q35/APIC.core-count
/openbmc/qemu/tests/data/acpi/q35/APIC.core-count2
/openbmc/qemu/tests/data/acpi/q35/APIC.thread-count
/openbmc/qemu/tests/data/acpi/q35/APIC.thread-count2
/openbmc/qemu/tests/data/acpi/q35/APIC.type4-count
/openbmc/qemu/tests/data/acpi/q35/DSDT.core-count
/openbmc/qemu/tests/data/acpi/q35/DSDT.core-count2
/openbmc/qemu/tests/data/acpi/q35/DSDT.thread-count
/openbmc/qemu/tests/data/acpi/q35/DSDT.thread-count2
/openbmc/qemu/tests/data/acpi/q35/DSDT.type4-count
/openbmc/qemu/tests/data/acpi/q35/FACP.core-count
/openbmc/qemu/tests/data/acpi/q35/FACP.thread-count
/openbmc/qemu/tests/data/acpi/q35/FACP.thread-count2
/openbmc/qemu/tests/data/acpi/q35/FACP.type4-count
/openbmc/qemu/tests/data/qobject/qdict.txt
/openbmc/qemu/tests/plugin/meson.build
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qtest/adm1266-test.c
/openbmc/qemu/tests/qtest/ahci-test.c
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/max34451-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/gdbstub/registers.py
/openbmc/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/nios2/Makefile.target
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/s390x/Makefile.target
/openbmc/qemu/tests/tcg/s390x/add-logical-with-carry.c
/openbmc/qemu/tests/tcg/s390x/clc.c
/openbmc/qemu/tests/tcg/s390x/laalg.c
/openbmc/qemu/tests/tsan/ignore.tsan
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-bdrv-graph-mod.c
/openbmc/qemu/tests/unit/test-resv-mem.c
/openbmc/qemu/tests/unit/test-smp-parse.c
/openbmc/qemu/tests/unit/test-x86-topo.c
/openbmc/qemu/tests/vm/netbsd
/openbmc/qemu/ui/cocoa.m
/openbmc/qemu/ui/console-vc-stubs.c
/openbmc/qemu/ui/console.c
/openbmc/qemu/ui/dbus-listener.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/ui/qemu-pixman.c
/openbmc/qemu/ui/sdl2.c
/openbmc/qemu/ui/ui-hmp-cmds.c
/openbmc/qemu/ui/ui-qmp-cmds.c
/openbmc/qemu/ui/vnc-stubs.c
3a9d0d7b08-Sep-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

hw/cpu: Call object_class_is_abstract() once in cpu_class_by_name()

Let CPUClass::class_by_name() handlers to return abstract classes,
and filter them once in the public cpu_class_by_name() method.

hw/cpu: Call object_class_is_abstract() once in cpu_class_by_name()

Let CPUClass::class_by_name() handlers to return abstract classes,
and filter them once in the public cpu_class_by_name() method.

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

show more ...

9348028e13-Oct-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target: Move ArchCPUClass definition to 'cpu.h'

The OBJECT_DECLARE_CPU_TYPE() macro forward-declares each
ArchCPUClass type. These forward declarations are sufficient
for code in hw/ to use the QOM

target: Move ArchCPUClass definition to 'cpu.h'

The OBJECT_DECLARE_CPU_TYPE() macro forward-declares each
ArchCPUClass type. These forward declarations are sufficient
for code in hw/ to use the QOM definitions. No need to expose
these structure definitions. Keep each local to their target/
by moving them to the corresponding "cpu.h" header.

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

show more ...


/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/target/alpha/cpu-qom.h
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/avr/cpu-qom.h
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/cris/cpu-qom.h
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/hexagon/cpu-qom.h
/openbmc/qemu/target/hppa/cpu-qom.h
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/i386/cpu-qom.h
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/x86_emu.c
/openbmc/qemu/target/i386/hvf/x86_emu.h
/openbmc/qemu/target/i386/kvm/kvm-cpu.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/loongarch/cpu-qom.h
/openbmc/qemu/target/m68k/cpu-qom.h
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/microblaze/cpu-qom.h
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/mips/cpu-qom.h
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/tcg/msa.decode
/openbmc/qemu/target/mips/tcg/tx79.decode
/openbmc/qemu/target/nios2/cpu-qom.h
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/openrisc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/meson.build
cpu-qom.h
cpu.h
/openbmc/qemu/target/rx/cpu-qom.h
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/s390x/cpu-qom.h
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.h
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/tcg/misc_helper.c
/openbmc/qemu/target/sh4/cpu-qom.h
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sparc/cpu-qom.h
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/tricore/cpu-qom.h
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/xtensa/cpu-qom.h
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/op_helper.c
edf67fb409-Oct-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target/riscv: Use env_archcpu() in [check_]nanbox()

When CPUArchState* is available (here CPURISCVState*), we
can use the fast env_archcpu() macro to get ArchCPU* (here
RISCVCPU*). The QOM cast RISC

target/riscv: Use env_archcpu() in [check_]nanbox()

When CPUArchState* is available (here CPURISCVState*), we
can use the fast env_archcpu() macro to get ArchCPU* (here
RISCVCPU*). The QOM cast RISCV_CPU() macro will be slower
when building with --enable-qom-cast-debug.

Inspired-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20231009110239.66778-3-philmd@linaro.org>

show more ...

27a6e78e06-Oct-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target/riscv: Move TYPE_RISCV_CPU_BASE definition to 'cpu.h'

TYPE_RISCV_CPU_BASE depends on the TARGET_RISCV32/TARGET_RISCV64
definitions which are target specific. Such target specific
definition t

target/riscv: Move TYPE_RISCV_CPU_BASE definition to 'cpu.h'

TYPE_RISCV_CPU_BASE depends on the TARGET_RISCV32/TARGET_RISCV64
definitions which are target specific. Such target specific
definition taints "cpu-qom.h".

Since "cpu-qom.h" must be target agnostic, remove its target
specific definition uses by moving TYPE_RISCV_CPU_BASE to
"target/riscv/cpu.h".

"target/riscv/cpu-qom.h" is now fully target agnostic.
Add a comment clarifying that in the header.

Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231013140116.255-12-philmd@linaro.org>

show more ...

66125f9306-Oct-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target/riscv: Remove CPU_RESOLVING_TYPE from 'cpu-qom.h'

CPU_RESOLVING_TYPE is a per-target definition, and is
irrelevant for other targets. Move it to "cpu.h".

Signed-off-by: Philippe Mathieu-Daud

target/riscv: Remove CPU_RESOLVING_TYPE from 'cpu-qom.h'

CPU_RESOLVING_TYPE is a per-target definition, and is
irrelevant for other targets. Move it to "cpu.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231013140116.255-6-philmd@linaro.org>

show more ...

6ee45fac13-Oct-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

target: Unify QOM style

Enforce the style described by commit 067109a11c ("docs/devel:
mention the spacing requirement for QOM"):

The first declaration of a storage or class structure should
al

target: Unify QOM style

Enforce the style described by commit 067109a11c ("docs/devel:
mention the spacing requirement for QOM"):

The first declaration of a storage or class structure should
always be the parent and leave a visual space between that
declaration and the new code. It is also useful to separate
backing for properties (options driven by the user) and internal
state to make navigation easier.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20231013140116.255-2-philmd@linaro.org>

show more ...


/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/stubs/tcg-stub.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/internal-common.h
/openbmc/qemu/accel/tcg/ldst_atomicity.c.inc
/openbmc/qemu/accel/tcg/monitor.c
/openbmc/qemu/accel/tcg/tcg-accel-ops.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/user-exec-stub.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/parallels-ext.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/vdi.c
/openbmc/qemu/configs/targets/hppa-linux-user.mak
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/index-api.rst
/openbmc/qemu/docs/devel/pci.rst
/openbmc/qemu/docs/system/arm/vexpress.rst
/openbmc/qemu/host/include/loongarch64/host/atomic128-ldst.h
/openbmc/qemu/host/include/loongarch64/host/cpuinfo.h
/openbmc/qemu/host/include/loongarch64/host/load-extract-al16-al8.h
/openbmc/qemu/host/include/loongarch64/host/store-insert-al16.h
/openbmc/qemu/hw/alpha/typhoon.c
/openbmc/qemu/hw/arm/smmu-common.c
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/core/cpu-common.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine-hmp-cmds.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/display/ati.c
/openbmc/qemu/hw/display/ati_2d.c
/openbmc/qemu/hw/display/ati_dbg.c
/openbmc/qemu/hw/display/ati_int.h
/openbmc/qemu/hw/display/ati_regs.h
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/display/virtio-gpu-pci-rutabaga.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/hyperv/Kconfig
/openbmc/qemu/hw/hyperv/hv-balloon-internal.h
/openbmc/qemu/hw/hyperv/hv-balloon-our_range_memslots.c
/openbmc/qemu/hw/hyperv/hv-balloon-our_range_memslots.h
/openbmc/qemu/hw/hyperv/hv-balloon-page_range_tree.c
/openbmc/qemu/hw/hyperv/hv-balloon-page_range_tree.h
/openbmc/qemu/hw/hyperv/hv-balloon-stub.c
/openbmc/qemu/hw/hyperv/hv-balloon.c
/openbmc/qemu/hw/hyperv/meson.build
/openbmc/qemu/hw/hyperv/trace-events
/openbmc/qemu/hw/hyperv/vmbus.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/kvm/xen_evtchn.c
/openbmc/qemu/hw/i386/kvm/xen_gnttab.c
/openbmc/qemu/hw/i386/kvm/xen_xenstore.c
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/pci-host/astro.c
/openbmc/qemu/hw/pci-host/designware.c
/openbmc/qemu/hw/pci-host/dino.c
/openbmc/qemu/hw/pci-host/pnv_phb3.c
/openbmc/qemu/hw/pci-host/pnv_phb4.c
/openbmc/qemu/hw/pci-host/ppce500.c
/openbmc/qemu/hw/pci-host/raven.c
/openbmc/qemu/hw/pci-host/sabre.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/ppc/ppc440_pcix.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_pci_vfio.c
/openbmc/qemu/hw/remote/iommu.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/helpers.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/virtio-iommu-pci.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-pmem.c
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/cputlb.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/exec/tb-flush.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/elf_ops.h
/openbmc/qemu/include/hw/hyperv/dynmem-proto.h
/openbmc/qemu/include/hw/hyperv/hv-balloon.h
/openbmc/qemu/include/hw/mem/memory-device.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/pci/pci_bus.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/virtio/virtio-iommu.h
/openbmc/qemu/include/qemu/range.h
/openbmc/qemu/include/qemu/reserved-region.h
/openbmc/qemu/include/qemu/uuid.h
/openbmc/qemu/include/sysemu/accel-ops.h
/openbmc/qemu/include/sysemu/kvm_xen.h
/openbmc/qemu/include/tcg/tcg-op-common.h
/openbmc/qemu/include/tcg/tcg-opc.h
/openbmc/qemu/include/tcg/tcg-temp-internal.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/linux-user/hppa/cpu_loop.c
/openbmc/qemu/linux-user/hppa/signal.c
/openbmc/qemu/linux-user/hppa/target_elf.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/monitor/monitor.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/system/cpus.c
/openbmc/qemu/system/memory.c
/openbmc/qemu/system/vl.c
/openbmc/qemu/target/alpha/cpu-qom.h
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/tcg/a64.decode
/openbmc/qemu/target/arm/tcg/translate.h
/openbmc/qemu/target/avr/cpu-qom.h
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/cris/cpu-qom.h
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/hppa/cpu-param.h
/openbmc/qemu/target/hppa/cpu-qom.h
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/gdbstub.c
/openbmc/qemu/target/hppa/helper.c
/openbmc/qemu/target/hppa/helper.h
/openbmc/qemu/target/hppa/insns.decode
/openbmc/qemu/target/hppa/int_helper.c
/openbmc/qemu/target/hppa/machine.c
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/hppa/sys_helper.c
/openbmc/qemu/target/hppa/trace-events
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu-qom.h
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/kvm/xen-emu.c
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/m68k/cpu-qom.h
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/microblaze/cpu-qom.h
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/mips/cpu-qom.h
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/ppc/cpu.h
cpu-qom.h
cpu.h
/openbmc/qemu/target/rx/cpu-qom.h
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/s390x/cpu-qom.h
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/sh4/cpu-qom.h
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sparc/cpu-qom.h
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/tricore/cpu-qom.h
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/xtensa/cpu-qom.h
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/loongarch64/tcg-target-con-set.h
/openbmc/qemu/tcg/loongarch64/tcg-target.c.inc
/openbmc/qemu/tcg/loongarch64/tcg-target.h
/openbmc/qemu/tcg/mips/tcg-target.c.inc
/openbmc/qemu/tcg/mips/tcg-target.h
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/riscv/tcg-target.h
/openbmc/qemu/tcg/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.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tcg/tci/tcg-target.h
/openbmc/qemu/tests/data/acpi/virt/DBG2
/openbmc/qemu/tests/data/acpi/virt/SPCR
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-resv-mem.c
/openbmc/qemu/tests/unit/test-seccomp.c
/openbmc/qemu/tests/unit/test-uuid.c
/openbmc/qemu/tests/vm/ubuntu.aarch64
/openbmc/qemu/util/cpuinfo-loongarch.c
/openbmc/qemu/util/filemonitor-inotify.c
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/range.c
/openbmc/qemu/util/reserved-region.c
/openbmc/qemu/util/uuid.c
69b3849b31-Oct-2023 Rob Bradford <rbradford@rivosinc.com>

target/riscv: Add "pmu-mask" property to replace "pmu-num"

Using a mask instead of the number of PMU devices supports the accurate
emulation of platforms that have a discontinuous set of PMU counter

target/riscv: Add "pmu-mask" property to replace "pmu-num"

Using a mask instead of the number of PMU devices supports the accurate
emulation of platforms that have a discontinuous set of PMU counters.

The "pmu-num" property now generates a warning when used by the user on
the command line.

Rather than storing the value for "pmu-num" convert it directly to the
mask if it is specified (overwriting the default "pmu-mask" value)
likewise the value is calculated from the mask if the property value is
obtained.

In the unusual situation that both "pmu-mask" and "pmu-num" are provided
then then the order on the command line determines which takes
precedence (later overwriting earlier.)

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20231031154000.18134-5-rbradford@rivosinc.com>
[Changes by AF
- Fixup ext_zihpm logic after rebase
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

show more ...

1...<<11121314151617181920>>...71